From bill-lancaster at ...2231... Wed Jun 1 23:50:22 2016 From: bill-lancaster at ...2231... (bill-lancaster at ...2231...) Date: Thu, 2 Jun 2016 00:50:22 +0300 Subject: [SPAM] ☠ amazing! Message-ID: <00003dfba7bf$e7b6e90e$795f2ecb$@lineone.net> Hey, You won't believe what I've just read, this is so amazing, read more at Good wishes, bill-lancaster at ...2231... From mckaygerhard at ...626... Thu Jun 2 20:22:12 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 2 Jun 2016 14:22:12 -0400 Subject: [Gambas-user] how to raise error to main sub or starter point Message-ID: i have a form and two functions Form_Open() that have a sql query and a catch as: Catch Debug ("ERROR-> [ " & Error.Where & " " & Error.Code & " " & Error.Text & " ] ") Message.Error("ERROR send a mail: ->
[
" & DConv(Error.Text) & "
" & DConv(Error.Where) & "
]") QUIT and the other fuction "login()" have also sql and a catch how can i raise the error inside "login" to the main "Form_Open" ? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Thu Jun 2 21:03:05 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 2 Jun 2016 15:03:05 -0400 Subject: [Gambas-user] showmodal vs show Message-ID: i can understand at all! what the difference? i want to pass the control to other form, i have mainform and loginform and i want pass control from loginfrom to mainform but discarting all the memory of the loginform Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Thu Jun 2 21:05:17 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 2 Jun 2016 21:05:17 +0200 Subject: [Gambas-user] showmodal vs show In-Reply-To: References: Message-ID: <5750836D.40001@...1...> Le 02/06/2016 21:03, PICCORO McKAY Lenz a ?crit : > i can understand at all! > > what the difference? > Wikipedia is your friend. https://en.wikipedia.org/wiki/Modal_window -- Beno?t Minisini From willy at ...3474... Thu Jun 2 22:49:31 2016 From: willy at ...3474... (willy at ...3474...) Date: Thu, 02 Jun 2016 22:49:31 +0200 Subject: [Gambas-user] showmodal vs show In-Reply-To: References: Message-ID: On 2016-06-02 21:03, PICCORO McKAY Lenz wrote: > i can understand at all! > > what the difference? > > i want to pass the control to other form, i have mainform and loginform > and > i want pass control from loginfrom to mainform but discarting all the > memory of the loginform I attached a small project that might help you. It shows a login form (as modal) and after providing username and password opend Main form and shows you credentials provided in login form. I hope this is what you need. Enjoy, gbWilly -------------- next part -------------- A non-text attachment was scrubbed... Name: Login-0.0.1.tar.gz Type: application/x-gzip Size: 12115 bytes Desc: not available URL: From mckaygerhard at ...626... Thu Jun 2 23:01:30 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 2 Jun 2016 17:01:30 -0400 Subject: [Gambas-user] showmodal vs show In-Reply-To: References: Message-ID: thanks benoit and willy wikipedia info in spanish dont have that.. and thanks for the small project willy now i understand PD: i asked for parse error to the form or module that invokes.. in another mail.. please help me with! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-06-02 16:49 GMT-04:00 : > On 2016-06-02 21:03, PICCORO McKAY Lenz wrote: > >> i can understand at all! >> >> what the difference? >> >> i want to pass the control to other form, i have mainform and loginform >> and >> i want pass control from loginfrom to mainform but discarting all the >> memory of the loginform >> > > I attached a small project that might help you. > It shows a login form (as modal) and after providing username and password > opend Main form and shows you credentials provided in login form. > > I hope this is what you need. > > Enjoy, > > gbWilly From author.ilmi at ...626... Sat Jun 4 14:54:29 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 4 Jun 2016 19:54:29 +0700 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: <5749101a.6a5c320a.503fe.256eSMTPIN_ADDED_BROKEN@...2392...> Message-ID: you can extract project into /tmp directory (attach project) On Sat, May 28, 2016 at 3:50 PM, Jorge Carri?n wrote: > It will be intersting take a look to your database structure... > > Regards > > 2016-05-28 5:24 GMT+02:00 : > > > http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- > > > > Comment #10 by Zainudin AHMAD: > > > > >> maybe you could try to purge everything related to Gambas on your > > system, and do a full recompilation from scratch > > > > I have doing complete removal from synaptic and install gambas from PPA. > > > > in this system I used gambas only from PPA, and I still get this issue. > > > > Sys Info : > > > > [System] > > Gambas=3.8.4 > > OperatingSystem=Linux > > Kernel=3.2.0-69-generic > > Architecture=x86 > > Distribution=Ubuntu 12.04.5 LTS > > Desktop=LXDE > > Theme=Oxygen > > Language=en_US.UTF-8 > > Memory=494M > > > > [Libraries] > > Cairo=libcairo.so.0.0.0 > > 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.1.0 > > GTK+2=libgtk-x11-2.0.so.0.2400.10 > > GTK+3=libgtk-3.so.0.400.2 > > OpenGL=libGL.so.173.14.39 > > OpenGL=libGL.so.96.43.23 > > Poppler=libpoppler.so.19.0.0 > > QT4=libQtCore.so.4.8.1 > > SDL=libSDL-1.2.so.0.11.3 > > > > [Environment] > > > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-MLCzWvSLAH,guid=e9fbdfa8c29a55ad62fb5b2d00000041 > > DEFAULTS_PATH=/usr/share/gconf/LXDE.default.path > > DESKTOP_SESSION=LXDE > > DISPLAY=:0 > > GB_GUI=gb.qt4 > > GDMSESSION=LXDE > > GNOME_KEYRING_CONTROL=/tmp/keyring-27ibEk > > GNOME_KEYRING_PID=1698 > > GPG_AGENT_INFO=/tmp/gpg-7kMMn6/S.gpg-agent:1752:1 > > GTK_MODULES=canberra-gtk-module:canberra-gtk-module > > HOME= > > LANG=en_US.UTF-8 > > LANGUAGE=en_US:en > > LC_ADDRESS=en_US.UTF-8 > > LC_IDENTIFICATION=en_US.UTF-8 > > LC_MEASUREMENT=en_US.UTF-8 > > LC_MONETARY=en_US.UTF-8 > > LC_NAME=en_US.UTF-8 > > LC_NUMERIC=en_US.UTF-8 > > LC_PAPER=en_US.UTF-8 > > LC_TELEPHONE=en_US.UTF-8 > > LC_TIME=en_US.UTF-8 > > LIBOVERLAY_SCROLLBAR=0 > > LOGNAME= > > MANDATORY_PATH=/usr/share/gconf/LXDE.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=1751 > > SSH_AUTH_SOCK=/tmp/ssh-ZMKoIXgT1709/agent.1709 > > TZ=:/etc/localtime > > UBUNTU_MENUPROXY=libappmenu.so > > USER= > > XAUTHORITY=/.Xauthority > > XDG_CONFIG_DIRS=/etc/xdg/xdg-LXDE:/etc/xdg > > XDG_CONFIG_HOME=/.config > > XDG_CURRENT_DESKTOP=LXDE > > > > > XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/ > > XDG_MENU_PREFIX=lxde- > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > > > > > XDG_SESSION_COOKIE=c87a744d1d6f8f10324c61480000000a-1464403096.168554-1750800897 > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > _LXSESSION_PID=1709 > > > > > > > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > traffic > > patterns at an interface-level. Reveals which users, apps, and protocols > > are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > planning reports. > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > 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: test-db-primarykey-0.0.1.tar.gz Type: application/x-gzip Size: 5617 bytes Desc: not available URL: From author.ilmi at ...626... Sat Jun 4 15:14:27 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 4 Jun 2016 20:14:27 +0700 Subject: [Gambas-user] [Ask] How to use Runtime Library Search Path ? Message-ID: Hi Friends How to use Runtime Library Search Path(attach pic) ? I have doing that this still don't know how to use it Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: runtime-lib.png Type: image/png Size: 27387 bytes Desc: not available URL: From gambas at ...1... Sat Jun 4 15:16:36 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 4 Jun 2016 15:16:36 +0200 Subject: [Gambas-user] [Ask] How to use Runtime Library Search Path ? In-Reply-To: References: Message-ID: <5752D4B4.1030603@...1...> Le 04/06/2016 15:14, zainudin ahmad a ?crit : > Hi Friends > > How to use Runtime Library Search Path(attach pic) ? > > I have doing that this still don't know how to use it > > Regards > You normally should have no use of that. What do you need? -- Beno?t Minisini From author.ilmi at ...626... Sun Jun 5 01:51:18 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Sun, 5 Jun 2016 06:51:18 +0700 Subject: [Gambas-user] [Ask] How to use Runtime Library Search Path ? In-Reply-To: <5752D4B4.1030603@...1...> References: <5752D4B4.1030603@...1...> Message-ID: if it can use, I will use it. when develop apps or libs I should switch between my stable version(use gambas stable version) and development version(always use gambas development version) example : (stable) myapp.gambas -> still use gambas3.8.4 (only fix bug) (dev) myapp.gambas -> use gambas4 dev (fix bug and new feature) (stable) myapp.gambas -> still use gambas3.9.0 (only fix bug) (dev) myapp.gambas -> use gambas4 dev (fix bug and new feature) .... (stable) myapp2.gambas -> still use gambas4.1.1 (only fix bug) (dev) myapp2.gambas -> use gambas4 dev (fix bug and new feature) .... if the new stable has release the old stable one not support for bug fix (depends on the condition). I put the binary file in one directory. example, dir sturcture (for binary file) stable version : stable-myprj1 >> bin (app-a.gambas, app-b.gambas, libmy-date.0.0.gambas, libmy-word.0.0.gambas, ...) stable-myprj2 >> bin (app-a.gambas, app-b.gambas, libmy-date.0.0.gambas, libmy-word.0.0.gambas, ...) development version : dev-myprj >> bin (app-a.gambas, app-b.gambas, libmy-date:0.0.gambas, libmy-word:0.0.gambas, ...) I mean the switch is the link file point to dir blabla. with old library management I don't have any problem, but with the new library management I must switch between them. # the problem is if I will run in a same time the stable app and dev app, always switch, switch and switch. # save in home/user/... is not portable, if Runtime library search path feature can use, I hope it's can doing something like this: stucture dir : myprj >> bin >> vendor(libmy-a:0.0.gambas, ...) myprj >> apps (source code : myapp-a, myapp-b) I can set the dir path for myapp-a : ../bin/vendor ----- I like in some part/rule in a new library management like libs name now have number version, and the name "vendor/libblabla" . etc On Sat, Jun 4, 2016 at 8:16 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 04/06/2016 15:14, zainudin ahmad a ?crit : > > Hi Friends > > > > How to use Runtime Library Search Path(attach pic) ? > > > > I have doing that this still don't know how to use it > > > > Regards > > > > You normally should have no use of that. What do you need? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From author.ilmi at ...626... Sun Jun 5 01:56:28 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Sun, 5 Jun 2016 06:56:28 +0700 Subject: [Gambas-user] [Ask] How to use Runtime Library Search Path ? In-Reply-To: References: <5752D4B4.1030603@...1...> Message-ID: >> I like in some part/rule in .... like -> likes :) thanks On Sun, Jun 5, 2016 at 6:51 AM, zainudin ahmad wrote: > > if it can use, I will use it. > > when develop apps or libs I should switch between my stable version(use > gambas stable version) and development version(always use gambas > development version) > > example : > > (stable) myapp.gambas -> still use gambas3.8.4 (only fix bug) > (dev) myapp.gambas -> use gambas4 dev (fix bug and new feature) > (stable) myapp.gambas -> still use gambas3.9.0 (only fix bug) > (dev) myapp.gambas -> use gambas4 dev (fix bug and new feature) > .... > (stable) myapp2.gambas -> still use gambas4.1.1 (only fix bug) > (dev) myapp2.gambas -> use gambas4 dev (fix bug and new feature) > .... > > if the new stable has release the old stable one not support for bug fix > (depends on the condition). > I put the binary file in one directory. example, dir sturcture (for binary > file) > > stable version : stable-myprj1 >> bin (app-a.gambas, > app-b.gambas, libmy-date.0.0.gambas, libmy-word.0.0.gambas, ...) > stable-myprj2 >> bin (app-a.gambas, > app-b.gambas, libmy-date.0.0.gambas, libmy-word.0.0.gambas, ...) > development version : dev-myprj >> bin (app-a.gambas, app-b.gambas, > libmy-date:0.0.gambas, libmy-word:0.0.gambas, ...) > > I mean the switch is the link file point to dir blabla. > > with old library management I don't have any problem, but with the new > library management I must switch between them. > > # the problem is if I will run in a same time the stable app and dev app, > always switch, switch and switch. > > # save in home/user/... is not portable, if Runtime library search path > feature can use, I hope it's can doing something like this: > > stucture dir : > myprj >> bin >> vendor(libmy-a:0.0.gambas, ...) > myprj >> apps (source code : myapp-a, myapp-b) > > I can set the dir path for myapp-a : ../bin/vendor > > ----- > > I like in some part/rule in a new library management like libs name now > have number version, and the name "vendor/libblabla" . etc > > > > > > > On Sat, Jun 4, 2016 at 8:16 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 04/06/2016 15:14, zainudin ahmad a ?crit : >> > Hi Friends >> > >> > How to use Runtime Library Search Path(attach pic) ? >> > >> > I have doing that this still don't know how to use it >> > >> > Regards >> > >> >> You normally should have no use of that. What do you need? >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and >> traffic >> patterns at an interface-level. Reveals which users, apps, and protocols >> are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning reports. >> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From author.ilmi at ...626... Sun Jun 5 02:10:14 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Sun, 5 Jun 2016 07:10:14 +0700 Subject: [Gambas-user] [Ask] How to use Runtime Library Search Path ? In-Reply-To: References: <5752D4B4.1030603@...1...> Message-ID: >> like -> likes I like in some part/rule in .... (no wrong) Sorry for my English, still bad. On Sun, Jun 5, 2016 at 6:56 AM, zainudin ahmad wrote: > >> I like in some part/rule in .... > like -> likes > :) > > thanks > > On Sun, Jun 5, 2016 at 6:51 AM, zainudin ahmad > wrote: > >> >> if it can use, I will use it. >> >> when develop apps or libs I should switch between my stable version(use >> gambas stable version) and development version(always use gambas >> development version) >> >> example : >> >> (stable) myapp.gambas -> still use gambas3.8.4 (only fix bug) >> (dev) myapp.gambas -> use gambas4 dev (fix bug and new feature) >> (stable) myapp.gambas -> still use gambas3.9.0 (only fix bug) >> (dev) myapp.gambas -> use gambas4 dev (fix bug and new feature) >> .... >> (stable) myapp2.gambas -> still use gambas4.1.1 (only fix bug) >> (dev) myapp2.gambas -> use gambas4 dev (fix bug and new feature) >> .... >> >> if the new stable has release the old stable one not support for bug fix >> (depends on the condition). >> I put the binary file in one directory. example, dir sturcture (for >> binary file) >> >> stable version : stable-myprj1 >> bin (app-a.gambas, >> app-b.gambas, libmy-date.0.0.gambas, libmy-word.0.0.gambas, ...) >> stable-myprj2 >> bin (app-a.gambas, >> app-b.gambas, libmy-date.0.0.gambas, libmy-word.0.0.gambas, ...) >> development version : dev-myprj >> bin (app-a.gambas, app-b.gambas, >> libmy-date:0.0.gambas, libmy-word:0.0.gambas, ...) >> >> I mean the switch is the link file point to dir blabla. >> >> with old library management I don't have any problem, but with the new >> library management I must switch between them. >> >> # the problem is if I will run in a same time the stable app and dev app, >> always switch, switch and switch. >> >> # save in home/user/... is not portable, if Runtime library search path >> feature can use, I hope it's can doing something like this: >> >> stucture dir : >> myprj >> bin >> vendor(libmy-a:0.0.gambas, ...) >> myprj >> apps (source code : myapp-a, myapp-b) >> >> I can set the dir path for myapp-a : ../bin/vendor >> >> ----- >> >> I like in some part/rule in a new library management like libs name now >> have number version, and the name "vendor/libblabla" . etc >> >> >> >> >> >> >> On Sat, Jun 4, 2016 at 8:16 PM, Beno?t Minisini < >> gambas at ...1...> wrote: >> >>> Le 04/06/2016 15:14, zainudin ahmad a ?crit : >>> > Hi Friends >>> > >>> > How to use Runtime Library Search Path(attach pic) ? >>> > >>> > I have doing that this still don't know how to use it >>> > >>> > Regards >>> > >>> >>> You normally should have no use of that. What do you need? >>> >>> -- >>> Beno?t Minisini >>> >>> >>> ------------------------------------------------------------------------------ >>> What NetFlow Analyzer can do for you? Monitors network bandwidth and >>> traffic >>> patterns at an interface-level. Reveals which users, apps, and protocols >>> are >>> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >>> J-Flow, sFlow and other flows. Make informed decisions using capacity >>> planning reports. >>> https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > From shordi at ...626... Sun Jun 5 11:16:01 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 5 Jun 2016 11:16:01 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: <5749101a.6a5c320a.503fe.256eSMTPIN_ADDED_BROKEN@...2392...> Message-ID: Ok. I think that the problem is in the definition of the test table. If you try to update a row in your table you got an error about primary key. Try to add a "without rowid" in creation of table, like this: CREATE TABLE "test2" ( "id" INT4 NOT NULL , "id2" INT4 NOT NULL , "fruit" TEXT, PRIMARY KEY ("id","id2") ) without rowid This prevents the feature of automated creation of primari index autoincremental in all tables of sqlite and le yor constrain created compound primary key to be the only primary key. updates should works now. Why in gambas the result of an erroneus update is an addition of record, I can't imagine... Regards 2016-06-04 14:54 GMT+02:00 zainudin ahmad : > you can extract project into /tmp directory (attach project) > > On Sat, May 28, 2016 at 3:50 PM, Jorge Carri?n wrote: > > > It will be intersting take a look to your database structure... > > > > Regards > > > > 2016-05-28 5:24 GMT+02:00 : > > > > > http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- > > > > > > Comment #10 by Zainudin AHMAD: > > > > > > >> maybe you could try to purge everything related to Gambas on your > > > system, and do a full recompilation from scratch > > > > > > I have doing complete removal from synaptic and install gambas from > PPA. > > > > > > in this system I used gambas only from PPA, and I still get this issue. > > > > > > Sys Info : > > > > > > [System] > > > Gambas=3.8.4 > > > OperatingSystem=Linux > > > Kernel=3.2.0-69-generic > > > Architecture=x86 > > > Distribution=Ubuntu 12.04.5 LTS > > > Desktop=LXDE > > > Theme=Oxygen > > > Language=en_US.UTF-8 > > > Memory=494M > > > > > > [Libraries] > > > Cairo=libcairo.so.0.0.0 > > > 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.1.0 > > > GTK+2=libgtk-x11-2.0.so.0.2400.10 > > > GTK+3=libgtk-3.so.0.400.2 > > > OpenGL=libGL.so.173.14.39 > > > OpenGL=libGL.so.96.43.23 > > > Poppler=libpoppler.so.19.0.0 > > > QT4=libQtCore.so.4.8.1 > > > SDL=libSDL-1.2.so.0.11.3 > > > > > > [Environment] > > > > > > > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-MLCzWvSLAH,guid=e9fbdfa8c29a55ad62fb5b2d00000041 > > > DEFAULTS_PATH=/usr/share/gconf/LXDE.default.path > > > DESKTOP_SESSION=LXDE > > > DISPLAY=:0 > > > GB_GUI=gb.qt4 > > > GDMSESSION=LXDE > > > GNOME_KEYRING_CONTROL=/tmp/keyring-27ibEk > > > GNOME_KEYRING_PID=1698 > > > GPG_AGENT_INFO=/tmp/gpg-7kMMn6/S.gpg-agent:1752:1 > > > GTK_MODULES=canberra-gtk-module:canberra-gtk-module > > > HOME= > > > LANG=en_US.UTF-8 > > > LANGUAGE=en_US:en > > > LC_ADDRESS=en_US.UTF-8 > > > LC_IDENTIFICATION=en_US.UTF-8 > > > LC_MEASUREMENT=en_US.UTF-8 > > > LC_MONETARY=en_US.UTF-8 > > > LC_NAME=en_US.UTF-8 > > > LC_NUMERIC=en_US.UTF-8 > > > LC_PAPER=en_US.UTF-8 > > > LC_TELEPHONE=en_US.UTF-8 > > > LC_TIME=en_US.UTF-8 > > > LIBOVERLAY_SCROLLBAR=0 > > > LOGNAME= > > > MANDATORY_PATH=/usr/share/gconf/LXDE.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=1751 > > > SSH_AUTH_SOCK=/tmp/ssh-ZMKoIXgT1709/agent.1709 > > > TZ=:/etc/localtime > > > UBUNTU_MENUPROXY=libappmenu.so > > > USER= > > > XAUTHORITY=/.Xauthority > > > XDG_CONFIG_DIRS=/etc/xdg/xdg-LXDE:/etc/xdg > > > XDG_CONFIG_HOME=/.config > > > XDG_CURRENT_DESKTOP=LXDE > > > > > > > > > XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/ > > > XDG_MENU_PREFIX=lxde- > > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > > > > > > > > > XDG_SESSION_COOKIE=c87a744d1d6f8f10324c61480000000a-1464403096.168554-1750800897 > > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > > _LXSESSION_PID=1709 > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > > traffic > > > patterns at an interface-level. Reveals which users, apps, and > protocols > > > are > > > consuming the most bandwidth. Provides multi-vendor support for > NetFlow, > > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > > planning reports. > > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > traffic > > patterns at an interface-level. Reveals which users, apps, and protocols > > are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > planning reports. > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From author.ilmi at ...626... Sun Jun 5 12:01:02 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Sun, 5 Jun 2016 17:01:02 +0700 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: <5749101a.6a5c320a.503fe.256eSMTPIN_ADDED_BROKEN@...2392...> Message-ID: The result (still only one field for Primary Key) : gb.db.sqlite3: 0x958f33c: PRAGMA table_info('test2') Primary Key : id2 gb.db.sqlite3: 0x958f33c: SELECT "id2" FROM "test2" ORDER BY "id2" LIMIT 256 gb.db.sqlite3: 0x958f33c: SELECT * FROM "test2" ORDER BY "id2" LIMIT 256 I think I should try with a new linux distro. Thanks. On Sun, Jun 5, 2016 at 4:16 PM, Jorge Carri?n wrote: > Ok. I think that the problem is in the definition of the test table. > If you try to update a row in your table you got an error about primary > key. > > Try to add a "without rowid" in creation of table, like this: > > CREATE TABLE "test2" ( "id" INT4 NOT NULL , "id2" INT4 NOT NULL , "fruit" > TEXT, PRIMARY KEY ("id","id2") ) without rowid > > This prevents the feature of automated creation of primari index > autoincremental in all tables of sqlite and le yor constrain created > compound primary key to be the only primary key. > > updates should works now. > > Why in gambas the result of an erroneus update is an addition of record, I > can't imagine... > > Regards > > > 2016-06-04 14:54 GMT+02:00 zainudin ahmad : > > > you can extract project into /tmp directory (attach project) > > > > On Sat, May 28, 2016 at 3:50 PM, Jorge Carri?n wrote: > > > > > It will be intersting take a look to your database structure... > > > > > > Regards > > > > > > 2016-05-28 5:24 GMT+02:00 : > > > > > > > http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- > > > > > > > > Comment #10 by Zainudin AHMAD: > > > > > > > > >> maybe you could try to purge everything related to Gambas on your > > > > system, and do a full recompilation from scratch > > > > > > > > I have doing complete removal from synaptic and install gambas from > > PPA. > > > > > > > > in this system I used gambas only from PPA, and I still get this > issue. > > > > > > > > Sys Info : > > > > > > > > [System] > > > > Gambas=3.8.4 > > > > OperatingSystem=Linux > > > > Kernel=3.2.0-69-generic > > > > Architecture=x86 > > > > Distribution=Ubuntu 12.04.5 LTS > > > > Desktop=LXDE > > > > Theme=Oxygen > > > > Language=en_US.UTF-8 > > > > Memory=494M > > > > > > > > [Libraries] > > > > Cairo=libcairo.so.0.0.0 > > > > 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.1.0 > > > > GTK+2=libgtk-x11-2.0.so.0.2400.10 > > > > GTK+3=libgtk-3.so.0.400.2 > > > > OpenGL=libGL.so.173.14.39 > > > > OpenGL=libGL.so.96.43.23 > > > > Poppler=libpoppler.so.19.0.0 > > > > QT4=libQtCore.so.4.8.1 > > > > SDL=libSDL-1.2.so.0.11.3 > > > > > > > > [Environment] > > > > > > > > > > > > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-MLCzWvSLAH,guid=e9fbdfa8c29a55ad62fb5b2d00000041 > > > > DEFAULTS_PATH=/usr/share/gconf/LXDE.default.path > > > > DESKTOP_SESSION=LXDE > > > > DISPLAY=:0 > > > > GB_GUI=gb.qt4 > > > > GDMSESSION=LXDE > > > > GNOME_KEYRING_CONTROL=/tmp/keyring-27ibEk > > > > GNOME_KEYRING_PID=1698 > > > > GPG_AGENT_INFO=/tmp/gpg-7kMMn6/S.gpg-agent:1752:1 > > > > GTK_MODULES=canberra-gtk-module:canberra-gtk-module > > > > HOME= > > > > LANG=en_US.UTF-8 > > > > LANGUAGE=en_US:en > > > > LC_ADDRESS=en_US.UTF-8 > > > > LC_IDENTIFICATION=en_US.UTF-8 > > > > LC_MEASUREMENT=en_US.UTF-8 > > > > LC_MONETARY=en_US.UTF-8 > > > > LC_NAME=en_US.UTF-8 > > > > LC_NUMERIC=en_US.UTF-8 > > > > LC_PAPER=en_US.UTF-8 > > > > LC_TELEPHONE=en_US.UTF-8 > > > > LC_TIME=en_US.UTF-8 > > > > LIBOVERLAY_SCROLLBAR=0 > > > > LOGNAME= > > > > MANDATORY_PATH=/usr/share/gconf/LXDE.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=1751 > > > > SSH_AUTH_SOCK=/tmp/ssh-ZMKoIXgT1709/agent.1709 > > > > TZ=:/etc/localtime > > > > UBUNTU_MENUPROXY=libappmenu.so > > > > USER= > > > > XAUTHORITY=/.Xauthority > > > > XDG_CONFIG_DIRS=/etc/xdg/xdg-LXDE:/etc/xdg > > > > XDG_CONFIG_HOME=/.config > > > > XDG_CURRENT_DESKTOP=LXDE > > > > > > > > > > > > > > XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/ > > > > XDG_MENU_PREFIX=lxde- > > > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > > > > > > > > > > > > > > XDG_SESSION_COOKIE=c87a744d1d6f8f10324c61480000000a-1464403096.168554-1750800897 > > > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > > > > _LXSESSION_PID=1709 > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > > > traffic > > > > patterns at an interface-level. Reveals which users, apps, and > > protocols > > > > are > > > > consuming the most bandwidth. Provides multi-vendor support for > > NetFlow, > > > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > > > planning reports. > > > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > > traffic > > > patterns at an interface-level. Reveals which users, apps, and > protocols > > > are > > > consuming the most bandwidth. Provides multi-vendor support for > NetFlow, > > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > > planning reports. > > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > traffic > > patterns at an interface-level. Reveals which users, apps, and protocols > > are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > planning reports. > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From author.ilmi at ...626... Sun Jun 5 12:10:48 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Sun, 5 Jun 2016 17:10:48 +0700 Subject: [Gambas-user] method $load , any wiki for explain it ? Message-ID: $load is used , there is any other method has declared and wiki for explain it ? From t.lee.davidson at ...626... Sun Jun 5 18:00:32 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 5 Jun 2016 12:00:32 -0400 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: References: Message-ID: <57544CA0.8020709@...626...> On 06/05/2016 06:10 AM, zainudin ahmad wrote: > $load is used , there is any other method has declared and wiki for explain > it ? Is this what you are looking for? http://gambaswiki.org/wiki/comp/gb/file/load -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From author.ilmi at ...626... Sun Jun 5 22:55:31 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 6 Jun 2016 03:55:31 +0700 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: <57544CA0.8020709@...626...> References: <57544CA0.8020709@...626...> Message-ID: > Is this what you are looking for? No doing : $ gbc3 -v /tmp/test the project contain Main form (without any code). I get the result : ------------------------------------------------------------------------ Compiling Main.class... Inherits Form Private Sub {$load}() << (what I mean) With Me .MoveScaled(0,0,64,64) End With End Adding class Form Unused Exported Switching class Form to Used CLASS Main CLASS INHERITS Form Static size : 0 octets Dynamic size : 0 octets Private Procedure $load() Compiling @init()... 0000 : 1000 RETURN (0) Compiling @new()... 0000 : B802 PUSH FUNCTION $load 0001 : 1C00 CALL (0) 0002 : 1A01 DROP (1) 0003 : 1000 RETURN (0) Compiling $load()... 0000 : 1500 PUSH ME 0001 : 0E00 POP CTRL 0 0002 : 0100 PUSH LOCAL 0 0003 : 0400 0000 PUSH UNKNOWN MoveScaled 0005 : F000 PUSH QUICK 0 0006 : F000 PUSH QUICK 0 0007 : F040 PUSH QUICK 64 0008 : F040 PUSH QUICK 64 0009 : 1C04 CALL (4) 0010 : 1A01 DROP (1) 0011 : 1002 RETURN (2) 0 local(s) 1 control(s) 6 stack OK On Sun, Jun 5, 2016 at 11:00 PM, T Lee Davidson wrote: > On 06/05/2016 06:10 AM, zainudin ahmad wrote: > > $load is used , there is any other method has declared and wiki for > explain > > it ? > > Is this what you are looking for? > http://gambaswiki.org/wiki/comp/gb/file/load > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sun Jun 5 23:10:17 2016 From: taboege at ...626... (Tobias Boege) Date: Sun, 5 Jun 2016 23:10:17 +0200 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: References: <57544CA0.8020709@...626...> Message-ID: <20160605211017.GB15712@...3600...> On Mon, 06 Jun 2016, zainudin ahmad wrote: > > Is this what you are looking for? > > No > > doing : $ gbc3 -v /tmp/test > > the project contain Main form (without any code). I get the result : > > ------------------------------------------------------------------------ > Compiling Main.class... > Inherits Form > > > Private Sub {$load}() << (what I mean) > > With Me > .MoveScaled(0,0,64,64) > End With > > End > > Adding class Form Unused Exported > > Switching class Form to Used > CLASS Main > CLASS INHERITS Form > > Static size : 0 octets > Dynamic size : 0 octets > > Private Procedure $load() > > Compiling @init()... > > 0000 : 1000 RETURN (0) > > Compiling @new()... > > 0000 : B802 PUSH FUNCTION $load > 0001 : 1C00 CALL (0) > 0002 : 1A01 DROP (1) > 0003 : 1000 RETURN (0) > > Compiling $load()... > > 0000 : 1500 PUSH ME > 0001 : 0E00 POP CTRL 0 > 0002 : 0100 PUSH LOCAL 0 > 0003 : 0400 0000 PUSH UNKNOWN MoveScaled > 0005 : F000 PUSH QUICK 0 > 0006 : F000 PUSH QUICK 0 > 0007 : F040 PUSH QUICK 64 > 0008 : F040 PUSH QUICK 64 > 0009 : 1C04 CALL (4) > 0010 : 1A01 DROP (1) > 0011 : 1002 RETURN (2) > > 0 local(s) 1 control(s) 6 stack > > OK > This is a (very) hidden method added by the compiler when it processes Form files. As you can see, it is automatically called first thing in the constructor and is responsible for creating and initialising all the controls inside the form and setting the form's properties. It basically applies all the things you did in the IDE's graphical form editor. I doubt it is documented anywhere, but the function name is hardcoded into the compiler. I also don't know off the top of my head if there are other hidden functions like this. In any case, you should be fine if you follow a sensible naming scheme :^) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From t.lee.davidson at ...626... Sun Jun 5 23:26:29 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 5 Jun 2016 17:26:29 -0400 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: References: <57544CA0.8020709@...626...> Message-ID: <57549905.9030509@...626...> On 06/05/2016 04:55 PM, zainudin ahmad wrote: > the project contain Main form (without any code). I get the result : > > ------------------------------------------------------------------------ > Compiling Main.class... > Inherits Form > > > Private Sub {$load}() << (what I mean) > > With Me > .MoveScaled(0,0,64,64) > End With > > End > [snip] > > On Sun, Jun 5, 2016 at 11:00 PM, T Lee Davidson > wrote: > >> On 06/05/2016 06:10 AM, zainudin ahmad wrote: >>> $load is used , there is any other method has declared and wiki for >> explain >>> it ? >> >> Is this what you are looking for? >> http://gambaswiki.org/wiki/comp/gb/file/load >> I am really confused as to what you are attempting. You say the Main form has no code, but then you show code for a private subroutine named "$load" which, as far as I know, does not exist in Gambas. And, if you are creating a graphical application with the IDE, there should be no need to include the "Inherits Form" statement. It appears as though you may be trying to create a (graphical) form from a non-graphical command line application. But, that is difficult to determine without seeing your code. If you could attach a small project file so we can better see what you are trying to do, it might help. In the meantime, perhaps what you need is the Form_Open event handler: Public Sub Form_Open() With Me .MoveScaled(0,0,64,64) End With End If applicable, see the examples at: http://gambaswiki.org/wiki/comp/gb.qt4/form -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Mon Jun 6 03:47:56 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 6 Jun 2016 03:47:56 +0200 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: References: Message-ID: <5754D64C.6080900@...1...> Le 05/06/2016 12:10, zainudin ahmad a ?crit : > $load is used , there is any other method has declared and wiki for explain > it ? $load() is the undocumented method of a form that is called by the _new() method to create its contents. It is undocumented because it's an implementation detail that can change for any reason. Regards, -- Beno?t Minisini From vuott at ...325... Mon Jun 6 11:04:01 2016 From: vuott at ...325... (Ru Vuott) Date: Mon, 6 Jun 2016 09:04:01 +0000 (UTC) Subject: [Gambas-user] Feature that returns text shown in console. References: <942356915.8882885.1465203841681.JavaMail.yahoo.ref@...3424...> Message-ID: <942356915.8882885.1465203841681.JavaMail.yahoo@...3424...> Hello Beno?t, in Gambas IDE the "Open contents..." button is able to capture text, shown in console, and to save it in a text file. I'ld like to ask if you can implement a new feature, as method or property (of Application ? or of System ?) that returns - as String - the text shown by console. I say something like this (...simply an example): BlaBla.GetTextfromConsole As String Regards vuott From author.ilmi at ...626... Mon Jun 6 18:50:20 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 6 Jun 2016 23:50:20 +0700 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: <20160605211017.GB15712@...3600...> References: <57544CA0.8020709@...626...> <20160605211017.GB15712@...3600...> Message-ID: > This is a (very) hidden method added by ... a good explanation, thanks. > In any case, you should be fine if you follow a sensible naming scheme :^) Private $sAddress as String ($ -> private variable class, s -> String, Address -> Variable Name) Private $lOad as Long ($ -> private variable class, l -> Long, Oad -> Variable Name) :) On Mon, Jun 6, 2016 at 4:10 AM, Tobias Boege wrote: > On Mon, 06 Jun 2016, zainudin ahmad wrote: > > > Is this what you are looking for? > > > > No > > > > doing : $ gbc3 -v /tmp/test > > > > the project contain Main form (without any code). I get the result : > > > > ------------------------------------------------------------------------ > > Compiling Main.class... > > Inherits Form > > > > > > Private Sub {$load}() << (what I mean) > > > > With Me > > .MoveScaled(0,0,64,64) > > End With > > > > End > > > > Adding class Form Unused Exported > > > > Switching class Form to Used > > CLASS Main > > CLASS INHERITS Form > > > > Static size : 0 octets > > Dynamic size : 0 octets > > > > Private Procedure $load() > > > > Compiling @init()... > > > > 0000 : 1000 RETURN (0) > > > > Compiling @new()... > > > > 0000 : B802 PUSH FUNCTION $load > > 0001 : 1C00 CALL (0) > > 0002 : 1A01 DROP (1) > > 0003 : 1000 RETURN (0) > > > > Compiling $load()... > > > > 0000 : 1500 PUSH ME > > 0001 : 0E00 POP CTRL 0 > > 0002 : 0100 PUSH LOCAL 0 > > 0003 : 0400 0000 PUSH UNKNOWN MoveScaled > > 0005 : F000 PUSH QUICK 0 > > 0006 : F000 PUSH QUICK 0 > > 0007 : F040 PUSH QUICK 64 > > 0008 : F040 PUSH QUICK 64 > > 0009 : 1C04 CALL (4) > > 0010 : 1A01 DROP (1) > > 0011 : 1002 RETURN (2) > > > > 0 local(s) 1 control(s) 6 stack > > > > OK > > > > This is a (very) hidden method added by the compiler when it processes > Form files. As you can see, it is automatically called first thing in the > constructor and is responsible for creating and initialising all the > controls inside the form and setting the form's properties. It basically > applies all the things you did in the IDE's graphical form editor. > > I doubt it is documented anywhere, but the function name is hardcoded into > the compiler. I also don't know off the top of my head if there are other > hidden functions like this. In any case, you should be fine if you follow > a sensible naming scheme :^) > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From author.ilmi at ...626... Mon Jun 6 18:51:13 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 6 Jun 2016 23:51:13 +0700 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: <5754D64C.6080900@...1...> References: <5754D64C.6080900@...1...> Message-ID: Ok, its clear now. Thanks On Mon, Jun 6, 2016 at 8:47 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 05/06/2016 12:10, zainudin ahmad a ?crit : > > $load is used , there is any other method has declared and wiki for > explain > > it ? > > $load() is the undocumented method of a form that is called by the > _new() method to create its contents. > > It is undocumented because it's an implementation detail that can change > for any reason. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From author.ilmi at ...626... Mon Jun 6 19:05:33 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Tue, 7 Jun 2016 00:05:33 +0700 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: <57549905.9030509@...626...> References: <57544CA0.8020709@...626...> <57549905.9030509@...626...> Message-ID: I have declare , Private $lOad as Long <-- only one in class FMain (attach project) when I will run project, I get "$Load already declared" (attach pic) in where I have declared the other $Load ? in terminal, doing: gbc3 -v /[pathprojectdir] (example : gbc3 -v /home/user/MyProject) you can get the answer (its show the "Gambas binary code") On Mon, Jun 6, 2016 at 4:26 AM, T Lee Davidson wrote: > On 06/05/2016 04:55 PM, zainudin ahmad wrote: > > the project contain Main form (without any code). I get the result : > > > > ------------------------------------------------------------------------ > > Compiling Main.class... > > Inherits Form > > > > > > Private Sub {$load}() << (what I mean) > > > > With Me > > .MoveScaled(0,0,64,64) > > End With > > > > End > > > > [snip] > > > > > On Sun, Jun 5, 2016 at 11:00 PM, T Lee Davidson < > t.lee.davidson at ...626...> > > wrote: > > > >> On 06/05/2016 06:10 AM, zainudin ahmad wrote: > >>> $load is used , there is any other method has declared and wiki for > >> explain > >>> it ? > >> > >> Is this what you are looking for? > >> http://gambaswiki.org/wiki/comp/gb/file/load > >> > > I am really confused as to what you are attempting. You say the Main form > has no code, but then you show code for a private > subroutine named "$load" which, as far as I know, does not exist in Gambas. > > And, if you are creating a graphical application with the IDE, there > should be no need to include the "Inherits Form" statement. > It appears as though you may be trying to create a (graphical) form from a > non-graphical command line application. But, that is > difficult to determine without seeing your code. > > If you could attach a small project file so we can better see what you are > trying to do, it might help. > > In the meantime, perhaps what you need is the Form_Open event handler: > > Public Sub Form_Open() > > With Me > .MoveScaled(0,0,64,64) > End With > > End > > If applicable, see the examples at: > http://gambaswiki.org/wiki/comp/gb.qt4/form > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > 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: test-$load-0.0.1.tar.gz Type: application/x-gzip Size: 11320 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-1.png Type: image/png Size: 44161 bytes Desc: not available URL: From gambas at ...1... Mon Jun 6 19:15:00 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 6 Jun 2016 19:15:00 +0200 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: References: <57544CA0.8020709@...626...> <57549905.9030509@...626...> Message-ID: <5755AF94.6070008@...1...> Le 06/06/2016 19:05, zainudin ahmad a ?crit : > I have declare , Private $lOad as Long <-- only one in class FMain (attach > project) > when I will run project, I get "$Load already declared" (attach pic) > Yes, the "$load" name is not a good one for that reason. I will change it. -- Beno?t Minisini From gambas at ...1... Tue Jun 7 02:08:30 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 7 Jun 2016 02:08:30 +0200 Subject: [Gambas-user] method $load , any wiki for explain it ? In-Reply-To: <5755AF94.6070008@...1...> References: <57544CA0.8020709@...626...> <57549905.9030509@...626...> <5755AF94.6070008@...1...> Message-ID: <5756107E.5050604@...1...> Le 06/06/2016 19:15, Beno?t Minisini a ?crit : > Le 06/06/2016 19:05, zainudin ahmad a ?crit : >> I have declare , Private $lOad as Long <-- only one in class FMain >> (attach >> project) >> when I will run project, I get "$Load already declared" (attach pic) >> > > Yes, the "$load" name is not a good one for that reason. I will change it. > Done in revision #7797. -- Beno?t Minisini From bugtracker at ...3416... Tue Jun 7 02:18:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Jun 2016 00:18:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- Comment #11 by Beno?t MINISINI: I have just tried again with the project you posted on the mailing-list, and it works as expected. What is your sqlite version? From bugtracker at ...3416... Tue Jun 7 05:16:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Jun 2016 03:16:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- Comment #12 by Zainudin AHMAD: sqlite3 -version -> 3.7.9 2011-11-01 00:52:41 c7c6050ef060877ebe77b41d959e9df13f8c9b5e select sqlite_version() -> 3.7.9 I think, I am used 3.7.9 version. (attach pic) From bugtracker at ...3416... Tue Jun 7 05:17:09 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Jun 2016 03:17:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- Zainudin AHMAD added an attachment: pic-sqliteversion.png From bugtracker at ...3416... Tue Jun 7 05:19:09 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Jun 2016 03:19:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- Comment #13 by Zainudin AHMAD: Resolve Using Sqlite 3.13.0 (compiled from source), resolve the problem. (attach pic) now its work as expected in my system. Thanks. From bugtracker at ...3416... Tue Jun 7 05:19:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Jun 2016 03:19:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- Zainudin AHMAD added an attachment: pic-3.13.0.png From bugtracker at ...3416... Tue Jun 7 05:20:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Jun 2016 03:20:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- Comment #14 by Zainudin AHMAD: Using gambas 3.1.1 and sqlite 3.13.0 still run expected (attach pic) so, carefull if any someone using gambas 3.7.1 and up version + official ubuntu 12.04 sqlite version it is recomended to upgrade sqlite version using new version. From bugtracker at ...3416... Tue Jun 7 05:20:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Jun 2016 03:20:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- Zainudin AHMAD added an attachment: pic gb 3.1.1.png From bugtracker at ...3416... Tue Jun 7 05:23:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 07 Jun 2016 03:23:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- Comment #15 by Zainudin AHMAD: I have replied before, but wrong send (to bugtracker at ...3416...) From bagonergi at ...626... Wed Jun 8 15:25:22 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 8 Jun 2016 15:25:22 +0200 Subject: [Gambas-user] Feature that returns text shown in console. Message-ID: Ru Vuott asks me to re send his message erroneously seen as spam. This is the message: Hello Beno?t, in Gambas IDE the "Open contents..." button is able to capture text, shown in console, and to save it in a text file. I'ld like to ask if you can implement a new feature, as method or property (of Application? or of System?) that returns - as String - the text shown by console. I say something like this (...simply an example): BlaBla.GetTextfromConsole As String Regards vuott From gambas at ...1... Wed Jun 8 15:32:46 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 8 Jun 2016 15:32:46 +0200 Subject: [Gambas-user] Feature that returns text shown in console. In-Reply-To: References: Message-ID: <57581E7E.4080806@...1...> Le 08/06/2016 15:25, Gianluigi a ?crit : > Ru Vuott asks me to re send his message erroneously seen as spam. > This is the message: > > Hello Beno?t, > > in Gambas IDE the "Open contents..." button is able to capture text, shown > in console, and to save it in a text file. > I'ld like to ask if you can implement a new feature, as method or property > (of Application? or of System?) that returns - as String - the text shown > by console. > I say something like this (...simply an example): > > BlaBla.GetTextfromConsole As String > > Regards > vuott It's not possible. A process has no idea of what is done with what is sent to its standard output or standard error output. -- Beno?t Minisini From bugtracker at ...3416... Wed Jun 8 21:17:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 08 Jun 2016 19:17:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #926: want to edit a record, it's change the other record In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.926&from=L21haW4- Comment #16 by Beno?t MINISINI: It is still possible that this is a bug in the Gambas sqlite3 component, because he has to workaround the sqlite API that does not fit Gambas needs. Anyway, I mark the bug as "upstream" until I find something new. Beno?t MINISINI changed the state of the bug to: Upstream. From bugtracker at ...3416... Wed Jun 8 21:19:03 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 08 Jun 2016 19:19:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #946: MaskBox bug In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.946&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From adamnt42 at ...626... Thu Jun 9 00:31:23 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 9 Jun 2016 08:01:23 +0930 Subject: [Gambas-user] Feature that returns text shown in console. In-Reply-To: <57581E7E.4080806@...1...> References: <57581E7E.4080806@...1...> Message-ID: <20160609080123.1b815f548f1aa7c0e3736fbd@...626...> On Wed, 8 Jun 2016 15:32:46 +0200 Beno?t Minisini wrote: > Le 08/06/2016 15:25, Gianluigi a ?crit : > > Ru Vuott asks me to re send his message erroneously seen as spam. > > This is the message: > > > > Hello Beno?t, > > > > in Gambas IDE the "Open contents..." button is able to capture text, shown > > in console, and to save it in a text file. > > I'ld like to ask if you can implement a new feature, as method or property > > (of Application? or of System?) that returns - as String - the text shown > > by console. > > I say something like this (...simply an example): > > > > BlaBla.GetTextfromConsole As String > > > > Regards > > vuott > > It's not possible. A process has no idea of what is done with what is > sent to its standard output or standard error output. > > -- > Beno?t Minisini > I had a similar issue recently. There is a way to achieve this currently by using the Output To and Error To commands, and then simply read the file produced. regards Bruce -- B Bruen From bugtracker at ...3416... Thu Jun 9 20:00:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 09 Jun 2016 18:00:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #950: Can't compile gb.jit with 3.5.0 version, segmentation fault and gb.xml.rpc not found In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.950&from=L21haW4- Comment #8 by Frigo 2010: Have the scenario now tested with various Gambas and LLVM versions, It is definitely on the ARM LLVM versions! So Close Frigo 2010 changed the state of the bug to: Working. From emil.lenngren at ...626... Thu Jun 9 21:44:04 2016 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 9 Jun 2016 21:44:04 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #950: Can't compile gb.jit with 3.5.0 version, segmentation fault and gb.xml.rpc not found In-Reply-To: <5759af35.9e0f370a.b141b.7fe0SMTPIN_ADDED_BROKEN@...2392...> References: <5759af35.9e0f370a.b141b.7fe0SMTPIN_ADDED_BROKEN@...2392...> Message-ID: I actually never tried the jit on arm, only on x86(_64). LLVM is supposed to be cross-platform but I guess there are differences that need to be taken care of. 2016-06-09 20:00 GMT+02:00 : > http://gambaswiki.org/bugtracker/edit?object=BUG.950&from=L21haW4- > > Comment #8 by Frigo 2010: > > Have the scenario now tested with various Gambas and LLVM versions, > It is definitely on the ARM LLVM versions! > So Close > > Frigo 2010 changed the state of the bug to: Working. > > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Fri Jun 10 08:52:47 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 10 Jun 2016 08:52:47 +0200 Subject: [Gambas-user] What the... Help doesn't show help texts Message-ID: <575A63BF.5000702@...221...> This morning, the IDE help texts don't show up anymore. When I type a command, the help texts appear in the small window. But when I press F1, I can see the tree on the left, but no text on the right. There is a short blink of the waiting circle thing appearing, then it stays white. It seems, however, to be white-on-white: Mouse cursor changes to text cursor over the right-hand side, there seems to be text. Has anyone had this problem before? Regards Rolf From eilert-sprachen at ...221... Fri Jun 10 08:57:48 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 10 Jun 2016 08:57:48 +0200 Subject: [Gambas-user] What the... Help doesn't show help texts In-Reply-To: <575A63BF.5000702@...221...> References: <575A63BF.5000702@...221...> Message-ID: <575A64EC.2090203@...221...> Am 10.06.2016 08:52, schrieb Rolf-Werner Eilert: > This morning, the IDE help texts don't show up anymore. > > When I type a command, the help texts appear in the small window. But > when I press F1, I can see the tree on the left, but no text on the > right. There is a short blink of the waiting circle thing appearing, > then it stays white. > > It seems, however, to be white-on-white: Mouse cursor changes to text > cursor over the right-hand side, there seems to be text. > > Has anyone had this problem before? > > Regards > Rolf > > Now, a few minutes later, even the small help doesn't show most of the text. The only thing I can see are the headings. Rolf From shordi at ...626... Fri Jun 10 09:00:48 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 10 Jun 2016 09:00:48 +0200 Subject: [Gambas-user] What the... Help doesn't show help texts In-Reply-To: <575A63BF.5000702@...221...> References: <575A63BF.5000702@...221...> Message-ID: Same problem here... 2016-06-10 8:52 GMT+02:00 Rolf-Werner Eilert : > This morning, the IDE help texts don't show up anymore. > > When I type a command, the help texts appear in the small window. But > when I press F1, I can see the tree on the left, but no text on the > right. There is a short blink of the waiting circle thing appearing, > then it stays white. > > It seems, however, to be white-on-white: Mouse cursor changes to text > cursor over the right-hand side, there seems to be text. > > Has anyone had this problem before? > > Regards > Rolf > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Fri Jun 10 09:02:53 2016 From: taboege at ...626... (Tobias Boege) Date: Fri, 10 Jun 2016 09:02:53 +0200 Subject: [Gambas-user] What the... Help doesn't show help texts In-Reply-To: <575A64EC.2090203@...221...> References: <575A63BF.5000702@...221...> <575A64EC.2090203@...221...> Message-ID: <20160610070253.GA731@...3600...> On Fri, 10 Jun 2016, Rolf-Werner Eilert wrote: > > Am 10.06.2016 08:52, schrieb Rolf-Werner Eilert: > > This morning, the IDE help texts don't show up anymore. > > > > When I type a command, the help texts appear in the small window. But > > when I press F1, I can see the tree on the left, but no text on the > > right. There is a short blink of the waiting circle thing appearing, > > then it stays white. > > > > It seems, however, to be white-on-white: Mouse cursor changes to text > > cursor over the right-hand side, there seems to be text. > > > > Has anyone had this problem before? > > > > Regards > > Rolf > > > > > > Now, a few minutes later, even the small help doesn't show most of the > text. The only thing I can see are the headings. > > Rolf > The whole wiki doesn't seem to work. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From eilert-sprachen at ...221... Fri Jun 10 09:43:38 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 10 Jun 2016 09:43:38 +0200 Subject: [Gambas-user] What the... Help doesn't show help texts In-Reply-To: <20160610070253.GA731@...3600...> References: <575A63BF.5000702@...221...> <575A64EC.2090203@...221...> <20160610070253.GA731@...3600...> Message-ID: <575A6FAA.3070104@...221...> Am 10.06.2016 09:02, schrieb Tobias Boege: > On Fri, 10 Jun 2016, Rolf-Werner Eilert wrote: >> Am 10.06.2016 08:52, schrieb Rolf-Werner Eilert: >>> This morning, the IDE help texts don't show up anymore. >>> >>> When I type a command, the help texts appear in the small window. But >>> when I press F1, I can see the tree on the left, but no text on the >>> right. There is a short blink of the waiting circle thing appearing, >>> then it stays white. >>> >>> It seems, however, to be white-on-white: Mouse cursor changes to text >>> cursor over the right-hand side, there seems to be text. >>> >>> Has anyone had this problem before? >>> >>> Regards >>> Rolf >>> >>> >> Now, a few minutes later, even the small help doesn't show most of the >> text. The only thing I can see are the headings. >> >> Rolf >> > The whole wiki doesn't seem to work. > > Regards, > Tobi > Ah yes, the website shows blank text. Is anyone working on it? Rolf From gambas at ...1... Fri Jun 10 10:02:44 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 10 Jun 2016 10:02:44 +0200 Subject: [Gambas-user] What the... Help doesn't show help texts In-Reply-To: References: <575A63BF.5000702@...221...> Message-ID: <575A7424.4030200@...1...> Le 10/06/2016 09:00, Jorge Carri?n a ?crit : > Same problem here... > > Server disk full! I'm currently removing things... -- Beno?t Minisini From shordi at ...626... Sat Jun 11 11:54:53 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 11 Jun 2016 11:54:53 +0200 Subject: [Gambas-user] Inheritance issue... or visibility issue... or something I think Message-ID: I think that I miss something here. I have a control A inherits usercontainer. It has a property, let's say a connection called Conexion I have another control B inherits, let's say a listbox. It has a Private $conexion as connection variable. in Sub _new() or B, I code this $conexion = me.Parent.Conexion and get a "wanted variant get function" error. If I stop de execution on that line an double-click on me.parent an I can see the Conexion property without problems. But If I code instead: Dim o as object o=me.parent $conexion=o.Conexion Then it works. I have doing something wrong... but, what? See the attached project if I did not been clear enough. Best Regards. -------------- next part -------------- A non-text attachment was scrubbed... Name: test-0.0.1.tar.gz Type: application/x-gzip Size: 11831 bytes Desc: not available URL: From gambas at ...1... Sat Jun 11 13:22:23 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 11 Jun 2016 13:22:23 +0200 Subject: [Gambas-user] Inheritance issue... or visibility issue... or something I think In-Reply-To: References: Message-ID: <575BF46F.3020001@...1...> Le 11/06/2016 11:54, Jorge Carri?n a ?crit : > I think that I miss something here. > > I have a control A inherits usercontainer. It has a property, let's say a > connection called Conexion > > I have another control B inherits, let's say a listbox. It has a Private > $conexion as connection variable. > > in Sub _new() or B, I code this > > $conexion = me.Parent.Conexion > > and get a "wanted variant get function" error. > If I stop de execution on that line an double-click on me.parent an I can > see the Conexion property without problems. > > But If I code instead: > > Dim o as object > o=me.parent > $conexion=o.Conexion > > Then it works. I have doing something wrong... but, what? > See the attached project if I did not been clear enough. > > Best Regards. > Me.Parent is a Container, so it does not know the 'Conexion' property. To be able to access the 'Conexion' property, you must assign Me.Parent to either: 1) A variable whose datatype knows the Conexion property: A, or any class that inherits A. 2) An Object variable. 3) A Variant variable. If you use 2) and 3), then the property access is resolved at each call, which is slow. If you use 1), the property access is resolved once (the first time it is used), and each successive access is fast. Maybe it should be explained in the "Gambas object model" wiki page. Regards, -- Beno?t Minisini From taboege at ...626... Sat Jun 11 17:27:42 2016 From: taboege at ...626... (Tobias Boege) Date: Sat, 11 Jun 2016 17:27:42 +0200 Subject: [Gambas-user] Closing Process input stream Message-ID: <20160611152742.GA13851@...3600...> Hi, I just tried to feed a Python script to Gimp from within a Gambas project. It didn't really work out that easily because Gimp wants to read the script from standard input (AFAIK it does not recognise a path to the script file). So I have to File.Load the script and Print it to the Gimp process. To signal that the script is complete, I have to close the Gimp process input stream. The only way I can do this is via Close #hGimp but this line also closes the output stream so that I can't get status reports from my script. Have I overlooked something? I remember hitting the same problem in the past with other programs. It would surely be useful to be able to only close the input stream of a child process. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From shordi at ...626... Sat Jun 11 17:55:23 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 11 Jun 2016 17:55:23 +0200 Subject: [Gambas-user] Inheritance issue... or visibility issue... or something I think In-Reply-To: <575BF46F.3020001@...1...> References: <575BF46F.3020001@...1...> Message-ID: Understood. Thanks Beno?t. Best Regards. 2016-06-11 13:22 GMT+02:00 Beno?t Minisini : > Le 11/06/2016 11:54, Jorge Carri?n a ?crit : > > I think that I miss something here. > > > > I have a control A inherits usercontainer. It has a property, let's say a > > connection called Conexion > > > > I have another control B inherits, let's say a listbox. It has a Private > > $conexion as connection variable. > > > > in Sub _new() or B, I code this > > > > $conexion = me.Parent.Conexion > > > > and get a "wanted variant get function" error. > > If I stop de execution on that line an double-click on me.parent an I can > > see the Conexion property without problems. > > > > But If I code instead: > > > > Dim o as object > > o=me.parent > > $conexion=o.Conexion > > > > Then it works. I have doing something wrong... but, what? > > See the attached project if I did not been clear enough. > > > > Best Regards. > > > > Me.Parent is a Container, so it does not know the 'Conexion' property. > > To be able to access the 'Conexion' property, you must assign Me.Parent > to either: > > 1) A variable whose datatype knows the Conexion property: A, or any > class that inherits A. > > 2) An Object variable. > > 3) A Variant variable. > > If you use 2) and 3), then the property access is resolved at each call, > which is slow. > > If you use 1), the property access is resolved once (the first time it > is used), and each successive access is fast. > > Maybe it should be explained in the "Gambas object model" wiki page. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Jun 11 19:20:08 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Jun 2016 19:20:08 +0200 Subject: [Gambas-user] Closing Process input stream In-Reply-To: <20160611152742.GA13851@...3600...> References: <20160611152742.GA13851@...3600...> Message-ID: Can you send the both script ? Le 11 juin 2016 17:29, "Tobias Boege" a ?crit : > Hi, > > I just tried to feed a Python script to Gimp from within a Gambas project. > It didn't really work out that easily because Gimp wants to read the script > from standard input (AFAIK it does not recognise a path to the script > file). > So I have to File.Load the script and Print it to the Gimp process. To > signal that the script is complete, I have to close the Gimp process input > stream. The only way I can do this is via > > Close #hGimp > > but this line also closes the output stream so that I can't get status > reports from my script. > > Have I overlooked something? I remember hitting the same problem in the > past > with other programs. It would surely be useful to be able to only close the > input stream of a child process. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sat Jun 11 19:46:37 2016 From: taboege at ...626... (Tobias Boege) Date: Sat, 11 Jun 2016 19:46:37 +0200 Subject: [Gambas-user] Closing Process input stream In-Reply-To: References: <20160611152742.GA13851@...3600...> Message-ID: <20160611174637.GB13851@...3600...> On Sat, 11 Jun 2016, Fabien Bodard wrote: > Le 11 juin 2016 17:29, "Tobias Boege" a ?crit : > > > Hi, > > > > I just tried to feed a Python script to Gimp from within a Gambas project. > > It didn't really work out that easily because Gimp wants to read the script > > from standard input (AFAIK it does not recognise a path to the script > > file). > > So I have to File.Load the script and Print it to the Gimp process. To > > signal that the script is complete, I have to close the Gimp process input > > stream. The only way I can do this is via > > > > Close #hGimp > > > > but this line also closes the output stream so that I can't get status > > reports from my script. > > > > Have I overlooked something? I remember hitting the same problem in the > > past > > with other programs. It would surely be useful to be able to only close the > > input stream of a child process. > > > Can you send the both script ? I can't but I see that closing the process stream actually *is* only closing the child's input stream and that a little example script works fine. The error must be in my convoluted scripts. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From buster6seven at ...626... Sun Jun 12 09:55:56 2016 From: buster6seven at ...626... (Shane) Date: Sun, 12 Jun 2016 17:55:56 +1000 Subject: [Gambas-user] picturebox Message-ID: <575D158C.1090807@...626...> I'm trying to display part of an Image in a picture box is this possible i seem to rember something about no mem to mem copy available ? From bagonergi at ...626... Sun Jun 12 14:18:16 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 12 Jun 2016 14:18:16 +0200 Subject: [Gambas-user] picturebox In-Reply-To: <575D158C.1090807@...626...> References: <575D158C.1090807@...626...> Message-ID: Looking for this? http://gambaswiki.org/wiki/comp/gb.image/image/copy 2016-06-12 9:55 GMT+02:00 Shane : > I'm trying to display part of an Image in a picture box is this possible i > seem to rember something about no mem to mem copy available ? > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From buster6seven at ...626... Mon Jun 13 04:32:23 2016 From: buster6seven at ...626... (Shane) Date: Mon, 13 Jun 2016 12:32:23 +1000 Subject: [Gambas-user] picturebox In-Reply-To: References: <575D158C.1090807@...626...> Message-ID: <575E1B37.5080107@...626...> I tried that but I get the error Image is read only mypicbox.picture.image = myimage.copy(x,y,width,height) On 12/06/16 22:18, Gianluigi wrote: > Looking for this? > http://gambaswiki.org/wiki/comp/gb.image/image/copy > > 2016-06-12 9:55 GMT+02:00 Shane : > >> I'm trying to display part of an Image in a picture box is this possible i >> seem to rember something about no mem to mem copy available ? >> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and >> traffic >> patterns at an interface-level. Reveals which users, apps, and protocols >> are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Mon Jun 13 09:04:08 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 13 Jun 2016 09:04:08 +0200 Subject: [Gambas-user] picturebox In-Reply-To: <575E1B37.5080107@...626...> References: <575D158C.1090807@...626...> <575E1B37.5080107@...626...> Message-ID: PictureBox1.Picture = MyImage.Copy(X, Y, W, H).Picture 2016-06-13 4:32 GMT+02:00 Shane : > I tried that but I get the error Image is read only > mypicbox.picture.image = myimage.copy(x,y,width,height) > > On 12/06/16 22:18, Gianluigi wrote: > > Looking for this? > > http://gambaswiki.org/wiki/comp/gb.image/image/copy > > > > 2016-06-12 9:55 GMT+02:00 Shane : > > > >> I'm trying to display part of an Image in a picture box is this > possible i > >> seem to rember something about no mem to mem copy available ? > >> > >> > >> > ------------------------------------------------------------------------------ > >> What NetFlow Analyzer can do for you? Monitors network bandwidth and > >> traffic > >> patterns at an interface-level. Reveals which users, apps, and protocols > >> are > >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, > >> J-Flow, sFlow and other flows. Make informed decisions using capacity > >> planning reports. > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > > patterns at an interface-level. Reveals which users, apps, and protocols > are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > planning reports. > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Jun 13 09:29:25 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 13 Jun 2016 09:29:25 +0200 Subject: [Gambas-user] Closing Process input stream In-Reply-To: <20160611152742.GA13851@...3600...> References: <20160611152742.GA13851@...3600...> Message-ID: <575E60D5.2070905@...1...> Le 11/06/2016 17:27, Tobias Boege a ?crit : > Hi, > > I just tried to feed a Python script to Gimp from within a Gambas project. > It didn't really work out that easily because Gimp wants to read the script > from standard input (AFAIK it does not recognise a path to the script file). > So I have to File.Load the script and Print it to the Gimp process. To > signal that the script is complete, I have to close the Gimp process input > stream. The only way I can do this is via > > Close #hGimp > > but this line also closes the output stream so that I can't get status > reports from my script. > Mmm, no: closing a process stream only closes the process input stream. It does not close the process output stream. See 'gbx_stream_process.c' at line 55: static int stream_close(STREAM *stream) { if (FDW >= 0) { if (close(FDW) < 0) return TRUE; FDW = -1; } return FALSE; } The process output stream is closed only when the process dies for any reason. Do you say that because you don't catch the entire process output from Gambas? -- Beno?t Minisini From buster6seven at ...626... Mon Jun 13 11:26:21 2016 From: buster6seven at ...626... (Buster Seven) Date: Mon, 13 Jun 2016 19:26:21 +1000 Subject: [Gambas-user] picturebox In-Reply-To: References: <575D158C.1090807@...626...> <575E1B37.5080107@...626...> Message-ID: Thanks Gianluigi On Mon, Jun 13, 2016 at 5:04 PM, Gianluigi wrote: > PictureBox1.Picture = MyImage.Copy(X, Y, W, H).Picture > > 2016-06-13 4:32 GMT+02:00 Shane : > > > I tried that but I get the error Image is read only > > mypicbox.picture.image = myimage.copy(x,y,width,height) > > > > On 12/06/16 22:18, Gianluigi wrote: > > > Looking for this? > > > http://gambaswiki.org/wiki/comp/gb.image/image/copy > > > > > > 2016-06-12 9:55 GMT+02:00 Shane : > > > > > >> I'm trying to display part of an Image in a picture box is this > > possible i > > >> seem to rember something about no mem to mem copy available ? > > >> > > >> > > >> > > > ------------------------------------------------------------------------------ > > >> What NetFlow Analyzer can do for you? Monitors network bandwidth and > > >> traffic > > >> patterns at an interface-level. Reveals which users, apps, and > protocols > > >> are > > >> consuming the most bandwidth. Provides multi-vendor support for > NetFlow, > > >> J-Flow, sFlow and other flows. Make informed decisions using capacity > > >> planning reports. > > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > >> _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > > > > ------------------------------------------------------------------------------ > > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > traffic > > > patterns at an interface-level. Reveals which users, apps, and > protocols > > are > > > consuming the most bandwidth. Provides multi-vendor support for > NetFlow, > > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > > planning reports. > > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > traffic > > patterns at an interface-level. Reveals which users, apps, and protocols > > are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > planning reports. > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...3474... Mon Jun 13 16:45:41 2016 From: willy at ...3474... (willy at ...3474...) Date: Mon, 13 Jun 2016 16:45:41 +0200 Subject: [Gambas-user] Conditional edit of a database table Message-ID: <75698de77e2e7872aeb6c4c13a65f31b@...3474...> Hi all, I have been editing tables successfully using something like: rResult = hConn.Edit("error", "id=&1", iId) This comes in handy when wanting to edit a record with a certain id and works just fine for simple cases. But I have a table where the fields id and company (in table error) together form the primary key. My question: Is it possible to edit a record based on these two requirements using db.edit function? Something like below doesn't seem to work: rResult = hConn.Edit("error", "id=&1 AND company=&2", iId, sCompany) and documentation (http://gambaswiki.org/wiki/comp/gb.db/db/edit) isn't really helpful. Thanks, gbWilly From ihaywood3 at ...626... Tue Jun 14 13:21:53 2016 From: ihaywood3 at ...626... (Ian Haywood) Date: Tue, 14 Jun 2016 21:21:53 +1000 Subject: [Gambas-user] qt5 In-Reply-To: <57261C9D.5020607@...1...> References: <1462107717557-56109.post@...3046...> <57260E50.3060201@...1...> <1462111284583-56111.post@...3046...> <57261C9D.5020607@...1...> Message-ID: On Mon, May 2, 2016 at 1:11 AM, Beno?t Minisini wrote: > Le 01/05/2016 16:01, Charlie a ?crit : >> Thanks for the reply Beno?t. Ubuntu 16.04 has Gambas 3.8.4 which I also use >> on Linux Mint 17.3 Cinnamon. >> Here is the Gambas Farm error I get. >> gambas1.png >> Here are the 'System information' details for both operating systems. >> mint17.txt >> ubuntu16.txt >> Note that for future editions the English is 'System information' not >> 'System information*s*'. >> > > So I guess that (again) Debian/Ubuntu Gambas packages were made > incorrectly... I confess I've given up trying to find a 'correct' solution that covers all cases. The problem quite complicated. Gambas looks for Qt4 and Qt5. If both are found, Qt4 is loaded. However, Debian does not have WebKit for Qt4 (it was taken out because they couldn't keep it secure, and wanted to concentrate on Qt5-WebKit, I believe) Consequently, the IDE and many other problems will crash (because they load Qt4 but then can't find WebKit). So, I tried making it a Conflicts: if you try to install the IDE, it tries to remove Qt4. which causes more problems as noted above. The other option is to patch Gambas on Debian so it preferentially loads Qt5 (a bit of work). That will get the IDE working, but many other programs won't run (because Qt5 doesn't quite have the stability of Qt4, at least last time I checked) Sadly, my recommendation to all (our) users has been stick to Mint/Ubuntu and the PPAs for now. Ian From dosida at ...626... Tue Jun 14 20:54:48 2016 From: dosida at ...626... (Dimitris Anogiatis) Date: Tue, 14 Jun 2016 12:54:48 -0600 Subject: [Gambas-user] qt5 In-Reply-To: References: <1462107717557-56109.post@...3046...> <57260E50.3060201@...1...> <1462111284583-56111.post@...3046...> <57261C9D.5020607@...1...> Message-ID: Are the qt4 webkit and qt5 webkit too different that we can't use a symlink for qt4's webkit to point to qt5's webkit? That way we could (theoretically) bridge the gap temporarily until qt5 becomes more stable. Ian, what are your thoughts on that? I mean I know its hacky but could it possibly work? Dimitris On Tue, Jun 14, 2016 at 5:21 AM, Ian Haywood wrote: > On Mon, May 2, 2016 at 1:11 AM, Beno?t Minisini > wrote: > > Le 01/05/2016 16:01, Charlie a ?crit : > >> Thanks for the reply Beno?t. Ubuntu 16.04 has Gambas 3.8.4 which I also > use > >> on Linux Mint 17.3 Cinnamon. > >> Here is the Gambas Farm error I get. > >> gambas1.png > >> Here are the 'System information' details for both operating systems. > >> mint17.txt > >> ubuntu16.txt > > >> Note that for future editions the English is 'System information' not > >> 'System information*s*'. > >> > > > > So I guess that (again) Debian/Ubuntu Gambas packages were made > > incorrectly... > I confess I've given up trying to find a 'correct' solution that > covers all cases. > > The problem quite complicated. Gambas looks for Qt4 and Qt5. If both are > found, > Qt4 is loaded. > However, Debian does not have WebKit for Qt4 (it was taken out because > they couldn't keep it secure, and wanted to concentrate on Qt5-WebKit, > I believe) > Consequently, the IDE and many other problems will crash (because they > load Qt4 but then can't find WebKit). > > So, I tried making it a Conflicts: if you try to install the IDE, it > tries to remove Qt4. which causes more problems as noted above. > > The other option is to patch Gambas on Debian so it preferentially > loads Qt5 (a bit of work). That will get the IDE working, but many > other programs won't run > (because Qt5 doesn't quite have the stability of Qt4, at least last > time I checked) > > Sadly, my recommendation to all (our) users has been stick to > Mint/Ubuntu and the PPAs for now. > > Ian > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Jun 14 21:40:56 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 14 Jun 2016 21:40:56 +0200 Subject: [Gambas-user] qt5 In-Reply-To: References: <1462107717557-56109.post@...3046...> <57260E50.3060201@...1...> <1462111284583-56111.post@...3046...> <57261C9D.5020607@...1...> Message-ID: <57605DC8.80307@...1...> Le 14/06/2016 13:21, Ian Haywood a ?crit : > > The problem quite complicated. Gambas looks for Qt4 and Qt5. If both are found, > Qt4 is loaded. No, if Qt5 and Qt4 are present, Qt5 is used. The choice between both is implemented in the gb.gui.qt component. So if you have ideas about how to enhance the algorithm, tell me! -- Beno?t Minisini From bagonergi at ...626... Wed Jun 15 21:15:20 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 15 Jun 2016 21:15:20 +0200 Subject: [Gambas-user] Arguments in Project properties Message-ID: Hi all, I do not understand how I can write Arguments in Project>Properties>Arguments in rev.7799. Regards Gianluigi From adamnt42 at ...626... Thu Jun 16 00:42:39 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 16 Jun 2016 08:12:39 +0930 Subject: [Gambas-user] Arguments in Project properties In-Reply-To: References: Message-ID: <20160616081239.5017467dff93a12aa289d63e@...626...> On Wed, 15 Jun 2016 21:15:20 +0200 Gianluigi wrote: > Hi all, > I do not understand how I can write Arguments in > Project>Properties>Arguments in rev.7799. > Regards > Gianluigi The Project>Properties>Arguments tab lets you set "command line arguments" that are passed to the executable when the project is run within the IDE, i.e. in "debug" mode. So, if your project needs an argument, say "p" for some processing reason then you can set that argument in this tab. When the project (say "myproj") is run in the IDE then, it is as if you entered myproj.gambas -p on the command line. To create arguments for this reason, simply type the argument in the bottom line of this tab and click the "+" button on the bottom right (it's one of these new "list editor" controls). The other buttons are reasonably straightforward. To create arguments that require some parameter, say you have implemented a logger that requires a file - controlled by a "-L path" argument, then simply type the "L " on the bottom line and click "+". hth Bruce -- B Bruen From author.ilmi at ...626... Thu Jun 16 07:34:07 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Thu, 16 Jun 2016 12:34:07 +0700 Subject: [Gambas-user] Arguments in Project properties In-Reply-To: References: Message-ID: that is a new feature, for easy to collect variation of options attach example & pic On Thu, Jun 16, 2016 at 2:15 AM, Gianluigi wrote: > Hi all, > I do not understand how I can write Arguments in > Project>Properties>Arguments in rev.7799. > Regards > Gianluigi > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports. > http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381 > _______________________________________________ > 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: test-IDE-ArgumentFeature-0.0.1.tar.gz Type: application/x-gzip Size: 11413 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-2.png Type: image/png Size: 69680 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic-1.png Type: image/png Size: 66717 bytes Desc: not available URL: From ihaywood3 at ...626... Thu Jun 16 10:32:40 2016 From: ihaywood3 at ...626... (Ian Haywood) Date: Thu, 16 Jun 2016 18:32:40 +1000 Subject: [Gambas-user] qt5 In-Reply-To: <57605DC8.80307@...1...> References: <1462107717557-56109.post@...3046...> <57260E50.3060201@...1...> <1462111284583-56111.post@...3046...> <57261C9D.5020607@...1...> <57605DC8.80307@...1...> Message-ID: On Wed, Jun 15, 2016 at 5:40 AM, Beno?t Minisini wrote: > Le 14/06/2016 13:21, Ian Haywood a ?crit : >> >> The problem quite complicated. Gambas looks for Qt4 and Qt5. If both are found, >> Qt4 is loaded. > > No, if Qt5 and Qt4 are present, Qt5 is used. > > The choice between both is implemented in the gb.gui.qt component. So if > you have ideas about how to enhance the algorithm, tell me! >From the 3.8.4 sources: main/lib/gui.qt/main.c I interperse my "translation", tell me where I'm wrong 59 if (use == USE_NOTHING) so GB_GUI hasn't been set 60 { 61 use = USE_GB_QT4; try Qt4 63 env = getenv("KDE_FULL_SESSION"); 64 65 if (env && !strcmp(env, "true")) 66 { 67 env = getenv("KDE_SESSION_VERSION"); 68 if (env) 69 { 70 if (strcmp(env, "4") == 0) 71 use = USE_GB_QT4; 72 else if (strcmp(env, "5") == 0) 73 use = USE_GB_QT5; 74 } 75 } 76 } look for some KDE variables (which won't be set at all on non-KDE systems) 78 switch (use) 79 { 80 case USE_GB_QT4: comp = "gb.qt4"; break; 81 case USE_GB_QT5: comp = "gb.qt5"; break; 82 default: comp = "gb.qt5"; break; 83 } turn setting constant into a string (remember we have set to "USE_GB_QT4" above so "gb.qt4" will always be selected here) 85 if (GB.Component.Load(comp)) try the first one 86 { 87 comp2 = use == USE_GB_QT5 ? "gb.qt4" : "gb.qt5"; that didn't work, try the other 89 if (GB.Component.Load(comp2)) 90 { fail if that doesn't work either. 91 fprintf(stderr, "gb.gui.qt: error: unable to find any QT component\n"); 92 exit(1); 93 } my patch is very, very simple: line 61 becomes "use = USE_GB_QT5;", and so Qt5 is loaded first. Ian From ihaywood3 at ...626... Thu Jun 16 10:36:19 2016 From: ihaywood3 at ...626... (Ian Haywood) Date: Thu, 16 Jun 2016 18:36:19 +1000 Subject: [Gambas-user] qt5 In-Reply-To: References: <1462107717557-56109.post@...3046...> <57260E50.3060201@...1...> <1462111284583-56111.post@...3046...> <57261C9D.5020607@...1...> Message-ID: On Wed, Jun 15, 2016 at 4:54 AM, Dimitris Anogiatis wrote: > Are the qt4 webkit and qt5 webkit too different that we can't use a symlink > for qt4's webkit to point to qt5's webkit? no they are too different: qt5 webkit won't load with Qt4. > That way we could (theoretically) bridge the gap temporarily until qt5 > becomes more stable. Qt5 is pretty stable. The only real problem AFAICT is TextEdit isn't available in Qt5 in 3.8.4 This means you can't have TextEdit and WebKit in the same program at the same time. This issue is fixed in svn I believe. Ian From gambas at ...1... Thu Jun 16 11:22:16 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 16 Jun 2016 11:22:16 +0200 Subject: [Gambas-user] qt5 In-Reply-To: References: <1462107717557-56109.post@...3046...> <57260E50.3060201@...1...> <1462111284583-56111.post@...3046...> <57261C9D.5020607@...1...> <57605DC8.80307@...1...> Message-ID: <57626FC8.4020905@...1...> Le 16/06/2016 10:32, Ian Haywood a ?crit : > On Wed, Jun 15, 2016 at 5:40 AM, Beno?t Minisini > wrote: >> Le 14/06/2016 13:21, Ian Haywood a ?crit : >>> >>> The problem quite complicated. Gambas looks for Qt4 and Qt5. If both are found, >>> Qt4 is loaded. >> >> No, if Qt5 and Qt4 are present, Qt5 is used. >> >> The choice between both is implemented in the gb.gui.qt component. So if >> you have ideas about how to enhance the algorithm, tell me! > From the 3.8.4 sources: main/lib/gui.qt/main.c > I interperse my "translation", tell me where I'm wrong No, you are right. My bad... But putting gb.qt5 instead does not logically solve the problem, as we could imagine a distribution that provides qt4, qt4 webkit, qt5 and not qt5 webkit (as now webkit as been dropped by qt5)... Weird. I must think a little about it... -- Beno?t Minisini From ihaywood3 at ...626... Thu Jun 16 12:23:50 2016 From: ihaywood3 at ...626... (Ian Haywood) Date: Thu, 16 Jun 2016 20:23:50 +1000 Subject: [Gambas-user] qt5 In-Reply-To: <57626FC8.4020905@...1...> References: <1462107717557-56109.post@...3046...> <57260E50.3060201@...1...> <1462111284583-56111.post@...3046...> <57261C9D.5020607@...1...> <57605DC8.80307@...1...> <57626FC8.4020905@...1...> Message-ID: On Thu, Jun 16, 2016 at 7:22 PM, Beno?t Minisini wrote: > But putting gb.qt5 instead does not logically solve the problem, as we > could imagine a distribution that provides qt4, qt4 webkit, qt5 and not > qt5 webkit (as now webkit as been dropped by qt5)... Weird. That's a problem. Will Qt5 have a HTML display widget of any sort? Ian From gambas at ...1... Thu Jun 16 12:30:58 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 16 Jun 2016 12:30:58 +0200 Subject: [Gambas-user] qt5 In-Reply-To: References: <1462107717557-56109.post@...3046...> <57260E50.3060201@...1...> <1462111284583-56111.post@...3046...> <57261C9D.5020607@...1...> <57605DC8.80307@...1...> <57626FC8.4020905@...1...> Message-ID: <57627FE2.4000303@...1...> Le 16/06/2016 12:23, Ian Haywood a ?crit : > On Thu, Jun 16, 2016 at 7:22 PM, Beno?t Minisini > wrote: > >> But putting gb.qt5 instead does not logically solve the problem, as we >> could imagine a distribution that provides qt4, qt4 webkit, qt5 and not >> qt5 webkit (as now webkit as been dropped by qt5)... Weird. > That's a problem. Will Qt5 have a HTML display widget of any sort? > > Ian > They replaced WebKit by Chromium, with a new component (names WebEngine) that has less features than the old one, which is a problem. I plan to make a gb.qt5.chromium (or gb.qt5.webengine) to implement it. But I prefer to wait for Qt to finish implementing their new component so that not too many features are lost. Regards, -- Beno?t Minisini From bagonergi at ...626... Thu Jun 16 14:57:05 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 16 Jun 2016 14:57:05 +0200 Subject: [Gambas-user] Arguments in Project properties In-Reply-To: References: Message-ID: Hello friends, thank you very much, I did not realize that the Arguments page was a ListEditor and I expected that the ?+? button worked as in previous versions. A further thank you for your interesting informations. Regards Gianluigi 2016-06-16 7:34 GMT+02:00 zainudin ahmad : > that is a new feature, for easy to collect variation of options > attach example & pic > > On Thu, Jun 16, 2016 at 2:15 AM, Gianluigi wrote: > > > Hi all, > > I do not understand how I can write Arguments in > > Project>Properties>Arguments in rev.7799. > > Regards > > Gianluigi > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > traffic > > patterns at an interface-level. Reveals which users, apps, and protocols > > are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > planning > > reports. > > http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports. > http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bugtracker at ...3416... Thu Jun 16 16:12:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Jun 2016 14:12:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #951: TableView: After some errors "Click" is not accessible anymore Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.951&from=L21haW4- C THAL reported a new bug. Summary ------- TableView: After some errors "Click" is not accessible anymore Type : Bug Priority : Medium Gambas version : 3.8 Product : QT4 component Description ----------- In TableView: If within the Click event an error is raised, after a couple of clicks, "Click" is not handled anymore. I'll upload an small project. To reproduce: Start the project and click inside the TableView. For each click the TableView raises an error. For each error in there is also an QT error thrown, it can be seen in the debug console: FMain.TableView1_Click.50: Click QSpiAccessible::accessibleEvent not handled: "2" obj: QMessageBox(0x157c280) "" FIXME: handle dialog start. FIXME: handle dialog end. If you close the error message with [Esc] and click and close a couple of times, TableView1 becomes unaccesible (usually after tree or four click-close-cycles), it does not recognize click anymore. Another strange effect: If TableView1 is inaccessible, and if you alter the height of a row with the mouse, the cursor of the mouse changes to SplitV, but does not reset to normal if hovered inside TableView1. System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.2.0-38-generic Architecture=x86_64 Distribution=Ubuntu 14.04.4 LTS Desktop=XFCE Theme=Gtk Language=de_DE.UTF-8 Memory=7684M [Libraries] Cairo=libcairo.so.0.0.0 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-uWi0Q80ZXU DEFAULTS_PATH=/usr/share/gconf/xfce.default.path DESKTOP_SESSION=xfce DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xfce GDM_LANG=de_DE GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GNOME_KEYRING_CONTROL=/run/user/1000/keyring-evW5xS GNOME_KEYRING_PID= GPG_AGENT_INFO=/run/user/1000/keyring-evW5xS/gpg:0:1 GTK_MODULES=canberra-gtk-module:canberra-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=de_DE.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/xfce.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=xfce SESSIONTYPE= SESSION_MANAGER=local/:@/tmp/.ICE-unix/2895,unix/:/tmp/.ICE-unix/2895 SHELL=/usr/bin/zsh SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-evW5xS/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=startxfce4 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1959 USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for--vEUrXA/database XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xfce:/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_ID=c1 XDG_VTNR=7 From bugtracker at ...3416... Thu Jun 16 16:12:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Jun 2016 14:12:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #951: TableView: After some errors "Click" is not accessible anymore In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.951&from=L21haW4- C THAL added an attachment: table-view-inaccessible-0.0.2.tar.gz From bugtracker at ...3416... Thu Jun 16 16:16:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 16 Jun 2016 14:16:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #951: TableView: After some errors "Click" is not accessible anymore In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.951&from=L21haW4- Comment #1 by C THAL: This strange effect unfortunately does not only occur when errors are raised, but also, when a form is created and shown within the Click event, but more seldom. That makes it really annoying. From willy at ...3474... Thu Jun 16 21:10:24 2016 From: willy at ...3474... (willy at ...3474...) Date: Thu, 16 Jun 2016 21:10:24 +0200 Subject: [Gambas-user] Conditional edit of a database table In-Reply-To: <75698de77e2e7872aeb6c4c13a65f31b@...3474...> References: <75698de77e2e7872aeb6c4c13a65f31b@...3474...> Message-ID: <37ecfbfbfc50ae4622f19113a53b007f@...3474...> On 2016-06-13 16:45, willy at ...3474... wrote: > Hi all, > > I have been editing tables successfully using something like: > > rResult = hConn.Edit("error", "id=&1", iId) > > This comes in handy when wanting to edit a record with a certain id and > works just fine for simple cases. > But I have a table where the fields id and company (in table error) > together form the primary key. > > My question: Is it possible to edit a record based on these two > requirements using db.edit function? > > Something like below doesn't seem to work: > > rResult = hConn.Edit("error", "id=&1 AND company=&2", iId, sCompany) > > and documentation (http://gambaswiki.org/wiki/comp/gb.db/db/edit) isn't > really helpful. > > Thanks, > > gbWilly Anyone a sensible answer? gbWilly From gambas at ...1... Thu Jun 16 22:05:29 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 16 Jun 2016 22:05:29 +0200 Subject: [Gambas-user] Conditional edit of a database table In-Reply-To: <37ecfbfbfc50ae4622f19113a53b007f@...3474...> References: <75698de77e2e7872aeb6c4c13a65f31b@...3474...> <37ecfbfbfc50ae4622f19113a53b007f@...3474...> Message-ID: <57630689.2080408@...1...> Le 16/06/2016 21:10, willy at ...3474... a ?crit : > On 2016-06-13 16:45, willy at ...3474... wrote: >> Hi all, >> >> I have been editing tables successfully using something like: >> >> rResult = hConn.Edit("error", "id=&1", iId) >> >> This comes in handy when wanting to edit a record with a certain id and >> works just fine for simple cases. >> But I have a table where the fields id and company (in table error) >> together form the primary key. >> >> My question: Is it possible to edit a record based on these two >> requirements using db.edit function? >> >> Something like below doesn't seem to work: >> >> rResult = hConn.Edit("error", "id=&1 AND company=&2", iId, sCompany) >> >> and documentation (http://gambaswiki.org/wiki/comp/gb.db/db/edit) isn't >> really helpful. >> >> Thanks, >> >> gbWilly > > Anyone a sensible answer? > > gbWilly > It should work. Please post a project with the code that does not work as expected. Regards, -- Beno?t Minisini From willy at ...3474... Thu Jun 16 22:45:23 2016 From: willy at ...3474... (willy at ...3474...) Date: Thu, 16 Jun 2016 22:45:23 +0200 Subject: [Gambas-user] Conditional edit of a database table In-Reply-To: <57630689.2080408@...1...> References: <75698de77e2e7872aeb6c4c13a65f31b@...3474...> <37ecfbfbfc50ae4622f19113a53b007f@...3474...> <57630689.2080408@...1...> Message-ID: <498e6aef5a68e206fda4f40c61e385ae@...3474...> On 2016-06-16 22:05, Beno?t Minisini wrote: > Le 16/06/2016 21:10, willy at ...3474... a ?crit : >> On 2016-06-13 16:45, willy at ...3474... wrote: >>> Hi all, >>> >>> I have been editing tables successfully using something like: >>> >>> rResult = hConn.Edit("error", "id=&1", iId) >>> >>> This comes in handy when wanting to edit a record with a certain id >>> and >>> works just fine for simple cases. >>> But I have a table where the fields id and company (in table error) >>> together form the primary key. >>> >>> My question: Is it possible to edit a record based on these two >>> requirements using db.edit function? >>> >>> Something like below doesn't seem to work: >>> >>> rResult = hConn.Edit("error", "id=&1 AND company=&2", iId, sCompany) >>> >>> and documentation (http://gambaswiki.org/wiki/comp/gb.db/db/edit) >>> isn't >>> really helpful. >>> >>> Thanks, >>> >>> gbWilly >> >> Anyone a sensible answer? >> >> gbWilly >> > > It should work. Please post a project with the code that does not work > as expected. > > Regards, Well, as usual it is part of a bigger application. So, I'll try to make a small example and post it when ready. Thanks for the response, gbWilly From bagonergi at ...626... Fri Jun 17 09:00:20 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 17 Jun 2016 09:00:20 +0200 Subject: [Gambas-user] Unable to contact Gambas Buch Message-ID: Inability to contact www.gambas-buch.de :-( Regards Gianluigi From taboege at ...626... Fri Jun 17 09:06:44 2016 From: taboege at ...626... (Tobias Boege) Date: Fri, 17 Jun 2016 09:06:44 +0200 Subject: [Gambas-user] Unable to contact Gambas Buch In-Reply-To: References: Message-ID: <20160617070644.GA706@...3600...> On Fri, 17 Jun 2016, Gianluigi wrote: > Inability to contact www.gambas-buch.de :-( > Yes, Hans is doing an (intensive) software upgrade. Two days ago he said he couldn't name a date yet for when the site goes back online. Yesterday came the note that he is 90% done. In any case, the book is not gone. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at ...626... Fri Jun 17 09:16:56 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 17 Jun 2016 09:16:56 +0200 Subject: [Gambas-user] Unable to contact Gambas Buch In-Reply-To: <20160617070644.GA706@...3600...> References: <20160617070644.GA706@...3600...> Message-ID: Hello Tobi, Thanks for the clarification. Perhaps the software update also includes the English translation? :-D Regards Gianluigi 2016-06-17 9:06 GMT+02:00 Tobias Boege : > On Fri, 17 Jun 2016, Gianluigi wrote: > > Inability to contact www.gambas-buch.de :-( > > > > Yes, Hans is doing an (intensive) software upgrade. Two days ago he said he > couldn't name a date yet for when the site goes back online. Yesterday came > the note that he is 90% done. In any case, the book is not gone. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports. http://sdm.link/zohomanageengine > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dosida at ...626... Sat Jun 18 01:10:50 2016 From: dosida at ...626... (Dimitris Anogiatis) Date: Fri, 17 Jun 2016 17:10:50 -0600 Subject: [Gambas-user] Support for new Packaging systems (Snappy and Flatpak) Message-ID: Hey guys, This is by no means urgent, I'm just asking mainly out of curiosity. There's been a lot of talk lately about new packaging systems mainly Snappy (from Canonical - http://snapcraft.io/) and Flatpak (from Red-Hat/Fedora but I also think they GNOME Foundation is behind them too - http://flatpak.org/). New features like application isolation and transactional updates, packaged dependencies etc etc. Is there any thought that Gambas will use those packaging systems in future versions? Is there any practical reason for getting Gambas and/or Gambas created software to be packaged with the new systems, or are we sticking with the already available solutions? Chime in everyone Thanks Dimitris From buster6seven at ...626... Sat Jun 18 02:54:31 2016 From: buster6seven at ...626... (Shane) Date: Sat, 18 Jun 2016 10:54:31 +1000 Subject: [Gambas-user] Conditional edit of a database table In-Reply-To: <498e6aef5a68e206fda4f40c61e385ae@...3474...> References: <75698de77e2e7872aeb6c4c13a65f31b@...3474...> <37ecfbfbfc50ae4622f19113a53b007f@...3474...> <57630689.2080408@...1...> <498e6aef5a68e206fda4f40c61e385ae@...3474...> Message-ID: <57649BC7.9030605@...626...> Are you looking for something like hConn.Find("clients", "firstname LIKE &1 OR lastname LIKE &1 OR phone like &1 OR street_name LIKE &1 OR suburb LIKE &1", "%" & s & "%") except with AND'S On 17/06/16 06:45, willy at ...3474... wrote: > On 2016-06-16 22:05, Beno?t Minisini wrote: >> Le 16/06/2016 21:10, willy at ...3474... a ?crit : >>> On 2016-06-13 16:45, willy at ...3474... wrote: >>>> Hi all, >>>> >>>> I have been editing tables successfully using something like: >>>> >>>> rResult = hConn.Edit("error", "id=&1", iId) >>>> >>>> This comes in handy when wanting to edit a record with a certain id >>>> and >>>> works just fine for simple cases. >>>> But I have a table where the fields id and company (in table error) >>>> together form the primary key. >>>> >>>> My question: Is it possible to edit a record based on these two >>>> requirements using db.edit function? >>>> >>>> Something like below doesn't seem to work: >>>> >>>> rResult = hConn.Edit("error", "id=&1 AND company=&2", iId, sCompany) >>>> >>>> and documentation (http://gambaswiki.org/wiki/comp/gb.db/db/edit) >>>> isn't >>>> really helpful. >>>> >>>> Thanks, >>>> >>>> gbWilly >>> Anyone a sensible answer? >>> >>> gbWilly >>> >> It should work. Please post a project with the code that does not work >> as expected. >> >> Regards, > Well, as usual it is part of a bigger application. > So, I'll try to make a small example and post it when ready. > > Thanks for the response, > > gbWilly > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports. http://sdm.link/zohomanageengine > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Jun 18 17:32:56 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 18 Jun 2016 17:32:56 +0200 Subject: [Gambas-user] Support for new Packaging systems (Snappy and Flatpak) In-Reply-To: References: Message-ID: <576569A8.606@...1...> Le 18/06/2016 01:10, Dimitris Anogiatis a ?crit : > Hey guys, > > This is by no means urgent, I'm just asking mainly out of curiosity. > > There's been a lot of talk lately about new packaging systems mainly Snappy > (from Canonical - http://snapcraft.io/) and Flatpak (from Red-Hat/Fedora > but I also think they GNOME Foundation is behind them too - > http://flatpak.org/). > > New features like application isolation and transactional updates, packaged > dependencies etc etc. > > Is there any thought that Gambas will use those packaging systems in future > versions? > > Is there any practical reason for getting Gambas and/or Gambas created > software to be packaged > with the new systems, or are we sticking with the already available > solutions? > > Chime in everyone > > Thanks > Dimitris AFAIK, these beasts are isolated applications that can share part of their libraries as soon as someone make a "bundle" for them. In other words, app A and app B are provided with all their dependencies like on Windows, except that: - They are isolated in containers. - If, for example, both A and B use GTK+, they can share the GTK+ libraries through a GTK bundle. So it is a matter of finding someone who can make a Gambas snap/flatpak: - based on nothing, with every libraries in the package. - using both GTK+ and QT bundles, so that it shares them with the other package. - using only GTK+ or QT. So you have to make two Gambas snap/flatpak. - For other libraries, I don't think it's worth sharing them. Except if you have already a bundle for them. For example SDL, or GStreamer, and so on. It must be evaluated case by case. Any volunteer? -- Beno?t Minisini From sebikul at ...626... Sat Jun 18 19:52:32 2016 From: sebikul at ...626... (Sebastian Kulesz) Date: Sat, 18 Jun 2016 17:52:32 +0000 Subject: [Gambas-user] Support for new Packaging systems (Snappy and Flatpak) In-Reply-To: <576569A8.606@...1...> References: <576569A8.606@...1...> Message-ID: I will try to build a framework for building Gambas projects in the next few weeks. I don't make any promises though! :) On Sat, Jun 18, 2016, 12:35 Beno?t Minisini wrote: > Le 18/06/2016 01:10, Dimitris Anogiatis a ?crit : > > Hey guys, > > > > This is by no means urgent, I'm just asking mainly out of curiosity. > > > > There's been a lot of talk lately about new packaging systems mainly > Snappy > > (from Canonical - http://snapcraft.io/) and Flatpak (from Red-Hat/Fedora > > but I also think they GNOME Foundation is behind them too - > > http://flatpak.org/). > > > > New features like application isolation and transactional updates, > packaged > > dependencies etc etc. > > > > Is there any thought that Gambas will use those packaging systems in > future > > versions? > > > > Is there any practical reason for getting Gambas and/or Gambas created > > software to be packaged > > with the new systems, or are we sticking with the already available > > solutions? > > > > Chime in everyone > > > > Thanks > > Dimitris > > AFAIK, these beasts are isolated applications that can share part of > their libraries as soon as someone make a "bundle" for them. > > In other words, app A and app B are provided with all their dependencies > like on Windows, except that: > - They are isolated in containers. > - If, for example, both A and B use GTK+, they can share the GTK+ > libraries through a GTK bundle. > > So it is a matter of finding someone who can make a Gambas snap/flatpak: > > - based on nothing, with every libraries in the package. > > - using both GTK+ and QT bundles, so that it shares them with the other > package. > > - using only GTK+ or QT. So you have to make two Gambas snap/flatpak. > > - For other libraries, I don't think it's worth sharing them. Except if > you have already a bundle for them. For example SDL, or GStreamer, and > so on. It must be evaluated case by case. > > Any volunteer? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports. http://sdm.link/zohomanageengine > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Jun 18 20:02:27 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 18 Jun 2016 20:02:27 +0200 Subject: [Gambas-user] Support for new Packaging systems (Snappy and Flatpak) In-Reply-To: References: <576569A8.606@...1...> Message-ID: <57658CB3.3050306@...1...> Le 18/06/2016 19:52, Sebastian Kulesz a ?crit : > I will try to build a framework for building Gambas projects in the next > few weeks. I don't make any promises though! :) > It's more building a Gambas snap/flatpak package first I think. -- Beno?t Minisini From ujlain at ...626... Sun Jun 19 12:57:39 2016 From: ujlain at ...626... (Vinode Singh Ujlain) Date: Sun, 19 Jun 2016 16:27:39 +0530 Subject: [Gambas-user] SQLite - in memory DB Message-ID: <57667AA3.1020903@...626...> Public conH As New Connection conH.Type = "sqlite3" conH.name = ":memory:" Try conH.Open() If Error Then Print "Unable to open database \n Error :"; Error.Text .... .... Error I am getting is :- /Unable to open database // //Error : Unable to locate database `:memory:` in ``/ conH.name = Null /'does work but that is creating a temp database in /tmp folder and marginally slower/ I request opinion on following :- (a) How to create "in memory" Sqlite DB so that the operations can be done expeditiously. (b) Further how to attach using GAMBAS an existing file based Sqlite and how to shift one table from this to in-memory DB ? regards Vinode Singh From willy at ...3474... Sun Jun 19 13:21:37 2016 From: willy at ...3474... (willy at ...3474...) Date: Sun, 19 Jun 2016 13:21:37 +0200 Subject: [Gambas-user] Conditional edit of a database table In-Reply-To: <57649BC7.9030605@...626...> References: <75698de77e2e7872aeb6c4c13a65f31b@...3474...> <37ecfbfbfc50ae4622f19113a53b007f@...3474...> <57630689.2080408@...1...> <498e6aef5a68e206fda4f40c61e385ae@...3474...> <57649BC7.9030605@...626...> Message-ID: <735e038d99ab57c7b3f0c63a659b77fa@...3474...> On 2016-06-18 02:54, Shane wrote: > Are you looking for something like > hConn.Find("clients", "firstname LIKE &1 OR lastname LIKE &1 OR phone > like &1 OR street_name LIKE &1 OR suburb LIKE &1", "%" & s & "%") > except with AND'S No, not looking for like queries just a simple: rResult = hConn.Edit("error", "id=&1 AND company=&2", iId, sCompany) gbWilly From bugtracker at ...3416... Sun Jun 19 20:59:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 19 Jun 2016 18:59:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Comment #8 by Beno?t MINISINI: Fixed in revision #7801. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sun Jun 19 21:14:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 19 Jun 2016 19:14:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #951: TableView: After some errors "Click" is not accessible anymore In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.951&from=L21haW4- Comment #2 by Beno?t MINISINI: The bug is in the Control.Hovered property... Beno?t MINISINI changed the state of the bug to: Accepted. From vuott at ...325... Mon Jun 20 00:04:07 2016 From: vuott at ...325... (Ru Vuott) Date: Sun, 19 Jun 2016 22:04:07 +0000 (UTC) Subject: [Gambas-user] ERROR with rev. 7801 References: <1324419824.9891342.1466373847843.JavaMail.yahoo.ref@...3424...> Message-ID: <1324419824.9891342.1466373847843.JavaMail.yahoo@...3424...> Hello, updating with rev. 7801, I obtain this error: gmenu.cpp: In member function 'void gMenu::update()': gmenu.cpp:290:27: warning: 'GtkWidget* gtk_image_menu_item_new()' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:72): Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] menu = (GtkMenuItem *)gtk_image_menu_item_new(); ^ gmenu.cpp:290:51: warning: 'GtkWidget* gtk_image_menu_item_new()' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:72): Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] menu = (GtkMenuItem *)gtk_image_menu_item_new(); ^ gmenu.cpp:418:5: warning: 'void gtk_image_menu_item_set_image(GtkImageMenuItem*, GtkWidget*)' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:86) [-Wdeprecated-declarations] gtk_image_menu_item_set_image((GtkImageMenuItem *)menu, check); ^ gmenu.cpp:418:66: warning: 'void gtk_image_menu_item_set_image(GtkImageMenuItem*, GtkWidget*)' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:86) [-Wdeprecated-declarations] gtk_image_menu_item_set_image((GtkImageMenuItem *)menu, check); ^ gmenu.cpp:425:5: warning: 'void gtk_image_menu_item_set_image(GtkImageMenuItem*, GtkWidget*)' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:86) [-Wdeprecated-declarations] gtk_image_menu_item_set_image((GtkImageMenuItem *)menu, image); ^ gmenu.cpp:425:66: warning: 'void gtk_image_menu_item_set_image(GtkImageMenuItem*, GtkWidget*)' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:86) [-Wdeprecated-declarations] gtk_image_menu_item_set_image((GtkImageMenuItem *)menu, image); ^ make[4]: *** [gb_gtk3_la-gmenu.lo] Errore 1 make[4]: uscita dalla directory "/home/vuott/trunk/gb.gtk3/src" make[3]: *** [all-recursive] Errore 1 make[3]: uscita dalla directory "/home/vuott/trunk/gb.gtk3" make[2]: *** [all] Errore 2 make[2]: uscita dalla directory "/home/vuott/trunk/gb.gtk3" make[1]: *** [all-recursive] Errore 1 make[1]: uscita dalla directory "/home/vuott/trunk" make: *** [all] Errore 2 Regards From author.ilmi at ...626... Mon Jun 20 01:08:21 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 20 Jun 2016 06:08:21 +0700 Subject: [Gambas-user] Conditional edit of a database table In-Reply-To: <735e038d99ab57c7b3f0c63a659b77fa@...3474...> References: <75698de77e2e7872aeb6c4c13a65f31b@...3474...> <37ecfbfbfc50ae4622f19113a53b007f@...3474...> <57630689.2080408@...1...> <498e6aef5a68e206fda4f40c61e385ae@...3474...> <57649BC7.9030605@...626...> <735e038d99ab57c7b3f0c63a659b77fa@...3474...> Message-ID: It's work as expected with sqlite. attach project - extract into /tmp dir - run On Sun, Jun 19, 2016 at 6:21 PM, wrote: > On 2016-06-18 02:54, Shane wrote: > > Are you looking for something like > > hConn.Find("clients", "firstname LIKE &1 OR lastname LIKE &1 OR phone > > like &1 OR street_name LIKE &1 OR suburb LIKE &1", "%" & s & "%") > > except with AND'S > > No, not looking for like queries just a simple: > rResult = hConn.Edit("error", "id=&1 AND company=&2", iId, sCompany) > > gbWilly > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports. http://sdm.link/zohomanageengine > _______________________________________________ > 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: test-db-2Pk.tar.gz Type: application/x-gzip Size: 12062 bytes Desc: not available URL: From author.ilmi at ...626... Mon Jun 20 01:17:36 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Mon, 20 Jun 2016 06:17:36 +0700 Subject: [Gambas-user] SQLite - in memory DB In-Reply-To: <57667AA3.1020903@...626...> References: <57667AA3.1020903@...626...> Message-ID: I can't use it too (attach pic), it's bug ? (attach project) On Sun, Jun 19, 2016 at 5:57 PM, Vinode Singh Ujlain wrote: > Public conH As New Connection > conH.Type = "sqlite3" > conH.name = ":memory:" > Try conH.Open() > If Error Then > Print "Unable to open database \n Error :"; Error.Text > .... > .... > > Error I am getting is :- > /Unable to open database // > //Error : Unable to locate database `:memory:` in ``/ > > conH.name = Null /'does work but that is creating a temp database in > /tmp folder and marginally slower/ > > I request opinion on following :- > (a) How to create "in memory" Sqlite DB so that the operations can be > done expeditiously. > (b) Further how to attach using GAMBAS an existing file based Sqlite and > how to shift one table from this to in-memory DB ? > > regards > Vinode Singh > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports. http://sdm.link/zohomanageengine > _______________________________________________ > 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: 17993 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test-db-sqlite-memory-0.0.1.tar.gz Type: application/x-gzip Size: 11435 bytes Desc: not available URL: From gambas at ...1... Mon Jun 20 02:25:18 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 20 Jun 2016 02:25:18 +0200 Subject: [Gambas-user] SQLite - in memory DB In-Reply-To: References: <57667AA3.1020903@...626...> Message-ID: <576737EE.5070809@...1...> Le 20/06/2016 01:17, zainudin ahmad a ?crit : > I can't use it too (attach pic), it's bug ? (attach project) > > On Sun, Jun 19, 2016 at 5:57 PM, Vinode Singh Ujlain > wrote: > >> Public conH As New Connection >> conH.Type = "sqlite3" >> conH.name = ":memory:" >> Try conH.Open() >> If Error Then >> Print "Unable to open database \n Error :"; Error.Text >> .... >> .... >> >> Error I am getting is :- >> /Unable to open database // >> //Error : Unable to locate database `:memory:` in ``/ >> >> conH.name = Null /'does work but that is creating a temp database in >> /tmp folder and marginally slower/ >> >> I request opinion on following :- >> (a) How to create "in memory" Sqlite DB so that the operations can be >> done expeditiously. >> (b) Further how to attach using GAMBAS an existing file based Sqlite and >> how to shift one table from this to in-memory DB ? >> >> regards >> Vinode Singh >> To use a database memory, you have to use a null name. http://gambaswiki.org/wiki/comp/gb.db/connection Regards, -- Beno?t Minisini From adamnt42 at ...626... Mon Jun 20 04:07:50 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 20 Jun 2016 11:37:50 +0930 Subject: [Gambas-user] SQLite - in memory DB In-Reply-To: <576737EE.5070809@...1...> References: <57667AA3.1020903@...626...> <576737EE.5070809@...1...> Message-ID: <20160620113750.b293c7f5df8ed9b9175f9d93@...626...> On Mon, 20 Jun 2016 02:25:18 +0200 Beno?t Minisini wrote: > Le 20/06/2016 01:17, zainudin ahmad a ?crit : > > I can't use it too (attach pic), it's bug ? (attach project) > > > > On Sun, Jun 19, 2016 at 5:57 PM, Vinode Singh Ujlain > > wrote: > > > >> Public conH As New Connection > >> conH.Type = "sqlite3" > >> conH.name = ":memory:" > >> Try conH.Open() > >> If Error Then > >> Print "Unable to open database \n Error :"; Error.Text > >> .... > >> .... > >> > >> Error I am getting is :- > >> /Unable to open database // > >> //Error : Unable to locate database `:memory:` in ``/ > >> > >> conH.name = Null /'does work but that is creating a temp database in > >> /tmp folder and marginally slower/ > >> > >> I request opinion on following :- > >> (a) How to create "in memory" Sqlite DB so that the operations can be > >> done expeditiously. > >> (b) Further how to attach using GAMBAS an existing file based Sqlite and > >> how to shift one table from this to in-memory DB ? > >> > >> regards > >> Vinode Singh > >> > > To use a database memory, you have to use a null name. > > http://gambaswiki.org/wiki/comp/gb.db/connection > > Regards, > > -- > Beno?t Minisini > hmm, that contradicts with http://gambaswiki.org/wiki/comp/gb.db/connection/name -- B Bruen From gambas at ...1... Mon Jun 20 10:36:35 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 20 Jun 2016 10:36:35 +0200 Subject: [Gambas-user] SQLite - in memory DB In-Reply-To: <20160620113750.b293c7f5df8ed9b9175f9d93@...626...> References: <57667AA3.1020903@...626...> <576737EE.5070809@...1...> <20160620113750.b293c7f5df8ed9b9175f9d93@...626...> Message-ID: <5767AB13.6050708@...1...> Le 20/06/2016 04:07, adamnt42 at ...626... a ?crit : > > hmm, that contradicts with http://gambaswiki.org/wiki/comp/gb.db/connection/name > > Huh, this is a bug in the documentation. :-/ I fix that... -- Beno?t Minisini From author.ilmi at ...626... Tue Jun 21 02:04:11 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Tue, 21 Jun 2016 07:04:11 +0700 Subject: [Gambas-user] [Ask] How to use Runtime Library Search Path ? In-Reply-To: References: <5752D4B4.1030603@...1...> Message-ID: On Sun, Jun 5, 2016 at 6:51 AM, zainudin ahmad wrote: > > with old library management I don't have any problem, but with the new > library management I must switch between them. > > # the problem is if I will run in a same time the stable app and dev app, > always switch, switch and switch. > > # save in home/user/... is not portable, if Runtime library search path > feature can use, I hope it's can doing something like this: > well , I think I can resolve my problem. playing with environtment variable (still in my mind but I am sure very possible to implement that). so , at the moment I don't need that feature thanks From bugtracker at ...3416... Tue Jun 21 03:09:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 21 Jun 2016 01:09:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #951: TableView: After some errors "Click" is not accessible anymore In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.951&from=L21haW4- Comment #3 by Beno?t MINISINI: It should be fixed in revision #7803. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Tue Jun 21 23:12:39 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 21 Jun 2016 21:12:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #915: [5] Too many arguments. FMain.FMain.0 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.915&from=L21haW4- Comment #5 by Beno?t MINISINI: It should be fixed with revision #7804. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Jun 22 19:17:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 22 Jun 2016 17:17:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #952: Pixelated Icons Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.952&from=L21haW4- Mufeed ALI reported a new bug. Summary ------- Pixelated Icons Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Hi, I'm making an application. So, I put a good quality icon for it 1024x1024 resolution. In other IDEs, that would be gorgeous. BUT in Gambas, after I packaged it as a '.deb' file and tried installing it, I ended up getting an extremely ugly, pixelated icon in place of the Hi-res icon i had put. Maybe its not a bug and I'm missing something somewhere. So, please help me. Thanks, Mufeed System information ------------------ Ubuntu 16.04 Unity 7.4 GTK+ App. From bugtracker at ...3416... Wed Jun 22 19:43:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 22 Jun 2016 17:43:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Comment #9 by Mufeed ALI: Now in revision 7804, same issue. :( Mufeed ALI changed the state of the bug to: Opened. From bugtracker at ...3416... Wed Jun 22 19:57:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 22 Jun 2016 17:57:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #953: Stock Icons Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.953&from=L21haW4- Mufeed ALI reported a new bug. Summary ------- Stock Icons Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Hi, I face an issue. The stock icons do not change with the icon theme. If this is not a bug, is there any way to make it change? Thanks Mufeed Ali. From tercoide at ...67... Thu Jun 23 00:32:41 2016 From: tercoide at ...67... (martin p cristia) Date: Wed, 22 Jun 2016 19:32:41 -0300 Subject: [Gambas-user] Aquaris M10 Ubuntu Edition In-Reply-To: References: Message-ID: Is there a chance Gambas3 working on these? -- Saludos Ing. Martin P Cristia From bugtracker at ...3416... Thu Jun 23 02:00:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 00:00:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Comment #10 by Beno?t MINISINI: Please provide your system information. And can you try to change your widget theme to see if it makes them visible? From bugtracker at ...3416... Thu Jun 23 02:00:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 00:00:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Thu Jun 23 02:03:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 00:03:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #952: Pixelated Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.952&from=L21haW4- Comment #1 by Beno?t MINISINI: Apparently, the IDE debian packager creates a 32x32 version of the project icon to be used as package icon. No idea why, but I guess this was required by debian packages? From bugtracker at ...3416... Thu Jun 23 02:04:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 00:04:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #952: Pixelated Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.952&from=L21haW4- Comment #2 by Beno?t MINISINI: Anyway, 1024x1024 pixels for a project icon is a bit huge for me, isn't it? From bugtracker at ...3416... Thu Jun 23 02:11:14 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 00:11:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #952: Pixelated Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.952&from=L21haW4- Comment #3 by Beno?t MINISINI: Here is the reason why the debian menu icon is limited to 32x32: https://www.debian.org/doc/packaging-manuals/menu.html/ch3.html#s3.7 From bugtracker at ...3416... Thu Jun 23 02:13:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 00:13:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #953: Stock Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.953&from=L21haW4- Comment #1 by Beno?t MINISINI: Please provide system information, by using the corresponding menu in the IDE. Then please provide a project that shows the problem, or explain exactly which theme you want to use, how you change them, and what happens exactly on the resulting icons displayed by Gambas. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Thu Jun 23 02:24:21 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 23 Jun 2016 02:24:21 +0200 Subject: [Gambas-user] Aquaris M10 Ubuntu Edition In-Reply-To: References: Message-ID: <576B2C35.1050504@...1...> Le 23/06/2016 00:32, martin p cristia a ?crit : > > Is there a chance Gambas3 working on these? > No idea what Aquaris M10 is. And if it is Ubuntu, why would not Gambas work on it? -- Beno?t Minisini From jussi.lahtinen at ...626... Thu Jun 23 02:27:20 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 23 Jun 2016 03:27:20 +0300 Subject: [Gambas-user] Fwd: Couple small things with latest revision In-Reply-To: References: Message-ID: Hi! See the attached project. In module mTest at line 1679 begins test loop, which fails randomly on my system (information at the end of the mail). I use "hProcess.Wait" and this used to work, but now I need to add also "Wait". Is that correct behavior? If I understand the documentation correctly, then it is not. http://gambaswiki.org/wiki/comp/gb/process/wait Also I'm missing old terminal feature to turn "debug" outputs as links to the source code! Is it possible to re-implement it to this new terminal? Thanks! Jussi [System] Gambas=3.8.90 r7800 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=7984M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-RSVUS5bhXO,guid=263224ddb63dfd64e6c4d6ec576143ba DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=18695 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-d87rhV GPG_AGENT_INFO=/run/user/1000/keyring-d87rhV/gpg:0:1 GTK_IM_MODULE=xim HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1634,unix/:/tmp/.ICE-unix/1634 SHELL=/bin/bash SSH_AGENT_PID=1700 SSH_AUTH_SOCK=/run/user/1000/keyring-d87rhV/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1465992121.666174-677161343 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@im=none -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.49.tar.gz Type: application/x-gzip Size: 18003 bytes Desc: not available URL: From gambas at ...1... Thu Jun 23 02:35:02 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 23 Jun 2016 02:35:02 +0200 Subject: [Gambas-user] Fwd: Couple small things with latest revision In-Reply-To: References: Message-ID: <576B2EB6.5040605@...1...> Le 23/06/2016 02:27, Jussi Lahtinen a ?crit : > Hi! > See the attached project. In module mTest at line 1679 begins test loop, > which fails randomly on my system (information at the end of the mail). > > I use "hProcess.Wait" and this used to work, but now I need to add also > "Wait". > Is that correct behavior? You means that hProcess.Wait() does nothing? No, it's not normal. It should do the same thing as the WAIT keyword, i.e. wait for the process termination. > If I understand the documentation correctly, then it is not. > http://gambaswiki.org/wiki/comp/gb/process/wait > > Also I'm missing old terminal feature to turn "debug" outputs as links to > the source code! > Is it possible to re-implement it to this new terminal? It's difficult now, because the new terminal is a control on its own, and so has no support for interpreting and highlighting its contents. If I find solution, I will tell. Regards, -- Beno?t Minisini From gambas at ...1... Thu Jun 23 02:47:23 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 23 Jun 2016 02:47:23 +0200 Subject: [Gambas-user] Fwd: Couple small things with latest revision In-Reply-To: <576B2EB6.5040605@...1...> References: <576B2EB6.5040605@...1...> Message-ID: <576B319B.7020409@...1...> Le 23/06/2016 02:35, Beno?t Minisini a ?crit : > Le 23/06/2016 02:27, Jussi Lahtinen a ?crit : >> Hi! >> See the attached project. In module mTest at line 1679 begins test loop, >> which fails randomly on my system (information at the end of the mail). >> >> I use "hProcess.Wait" and this used to work, but now I need to add also >> "Wait". >> Is that correct behavior? > > You means that hProcess.Wait() does nothing? No, it's not normal. It > should do the same thing as the WAIT keyword, i.e. wait for the process > termination. > >> If I understand the documentation correctly, then it is not. >> http://gambaswiki.org/wiki/comp/gb/process/wait >> >> Also I'm missing old terminal feature to turn "debug" outputs as links to >> the source code! >> Is it possible to re-implement it to this new terminal? > > It's difficult now, because the new terminal is a control on its own, > and so has no support for interpreting and highlighting its contents. If > I find solution, I will tell. > > Regards, > I ran your project, and got "test passed". Was it expected? -- Beno?t Minisini From author.ilmi at ...626... Thu Jun 23 02:50:36 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Thu, 23 Jun 2016 07:50:36 +0700 Subject: [Gambas-user] [ASK] New management library Message-ID: this is normal ? 1) I can run my App(need library) from every where, but the library still in ~/.local/share/gambas3/lib/{vendor-name}/ directory for example : app.gambas need libmy-math:0.0.gambas, I put app.gambas in /usr/bin directory and library libmy-math:0.0.gambas still in ~/.local/share/gambas3/lib/{vendor-name}/ directory. and I can run app.gambas. 2) I can run my App(need library) from every where with library put in a same directory. for example : app.gambas need libmy-math:0.0.gambas, I put app.gambas and libmy-math:0.0.gambas in directory /usr/lib/{vedor-name}. and I can run app.gambas. try in /tmp (still run) /usr/bin (still run) /usr/local/bin (still run) From jussi.lahtinen at ...626... Thu Jun 23 03:00:51 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 23 Jun 2016 04:00:51 +0300 Subject: [Gambas-user] Fwd: Couple small things with latest revision In-Reply-To: <576B319B.7020409@...1...> References: <576B2EB6.5040605@...1...> <576B319B.7020409@...1...> Message-ID: The test does not pass on my system. The variable sTest remains empty, unless I add the "Wait 0.1" lines. Actually now when I retest this, it has got worse. Now it fails randomly even with the wait lines. Jussi On Thu, Jun 23, 2016 at 3:47 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 23/06/2016 02:35, Beno?t Minisini a ?crit : > > Le 23/06/2016 02:27, Jussi Lahtinen a ?crit : > >> Hi! > >> See the attached project. In module mTest at line 1679 begins test loop, > >> which fails randomly on my system (information at the end of the mail). > >> > >> I use "hProcess.Wait" and this used to work, but now I need to add also > >> "Wait". > >> Is that correct behavior? > > > > You means that hProcess.Wait() does nothing? No, it's not normal. It > > should do the same thing as the WAIT keyword, i.e. wait for the process > > termination. > > > >> If I understand the documentation correctly, then it is not. > >> http://gambaswiki.org/wiki/comp/gb/process/wait > >> > >> Also I'm missing old terminal feature to turn "debug" outputs as links > to > >> the source code! > >> Is it possible to re-implement it to this new terminal? > > > > It's difficult now, because the new terminal is a control on its own, > > and so has no support for interpreting and highlighting its contents. If > > I find solution, I will tell. > > > > Regards, > > > > I ran your project, and got "test passed". Was it expected? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Jun 23 03:04:20 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 23 Jun 2016 04:04:20 +0300 Subject: [Gambas-user] Fwd: Couple small things with latest revision In-Reply-To: References: <576B2EB6.5040605@...1...> <576B319B.7020409@...1...> Message-ID: Sorry little correction. The test are run 100 times and some of them always fail without the wait lines. So, not every execution, but always some of the 100 runs. Jussi On Thu, Jun 23, 2016 at 4:00 AM, Jussi Lahtinen wrote: > The test does not pass on my system. > The variable sTest remains empty, unless I add the "Wait 0.1" lines. > > Actually now when I retest this, it has got worse. Now it fails randomly > even with the wait lines. > > > Jussi > > > On Thu, Jun 23, 2016 at 3:47 AM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 23/06/2016 02:35, Beno?t Minisini a ?crit : >> > Le 23/06/2016 02:27, Jussi Lahtinen a ?crit : >> >> Hi! >> >> See the attached project. In module mTest at line 1679 begins test >> loop, >> >> which fails randomly on my system (information at the end of the mail). >> >> >> >> I use "hProcess.Wait" and this used to work, but now I need to add also >> >> "Wait". >> >> Is that correct behavior? >> > >> > You means that hProcess.Wait() does nothing? No, it's not normal. It >> > should do the same thing as the WAIT keyword, i.e. wait for the process >> > termination. >> > >> >> If I understand the documentation correctly, then it is not. >> >> http://gambaswiki.org/wiki/comp/gb/process/wait >> >> >> >> Also I'm missing old terminal feature to turn "debug" outputs as links >> to >> >> the source code! >> >> Is it possible to re-implement it to this new terminal? >> > >> > It's difficult now, because the new terminal is a control on its own, >> > and so has no support for interpreting and highlighting its contents. If >> > I find solution, I will tell. >> > >> > Regards, >> > >> >> I ran your project, and got "test passed". Was it expected? >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >> present their vision of the future. This family event has something for >> everyone, including kids. Get more information and register today. >> http://sdm.link/attshape >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From bugtracker at ...3416... Thu Jun 23 03:11:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 01:11:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #953: Stock Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.953&from=L21haW4- Comment #2 by Mufeed ALI: Well, its rather too easy to re-produce. Just put a toolbutton, then set its icon as any stock icon. Then, change the Icon theme. You will see that the icons do not change in accordance with the Icon theme. From bugtracker at ...3416... Thu Jun 23 03:13:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 01:13:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #952: Pixelated Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.952&from=L21haW4- Comment #4 by Mufeed ALI: Ok, i manually re-packaged the app with the desired icon following this tutorial: http://news.softpedia.com/news/How-to-Repack-Deb-Files-on-Debian-and-Ubuntu-404930.shtml Now, its ok. But it should have been easier. From bugtracker at ...3416... Thu Jun 23 03:26:24 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 01:26:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #952: Pixelated Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.952&from=L21haW4- Comment #5 by Beno?t MINISINI: What did you do exactly? You replaced the icon? From bugtracker at ...3416... Thu Jun 23 03:27:14 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 01:27:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #953: Stock Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.953&from=L21haW4- Comment #3 by Beno?t MINISINI: The Gambas controls do not react to theme changes immediately. You have to restart the application. From tercoide at ...67... Thu Jun 23 03:30:50 2016 From: tercoide at ...67... (martin p cristia) Date: Wed, 22 Jun 2016 22:30:50 -0300 Subject: [Gambas-user] Aquaris M10 Ubuntu Edition In-Reply-To: References: Message-ID: Because is a tablet, I guess. Runs on: CPU MediaTek Quad Core MT8163A up to 1,5 GHz GPU MediaTek Mali-T720 MP2 up to 600 MHz https://www.bq.com/uk/aquaris-m10-ubuntu-edition?utm_source=web_bq&utm_medium=banner&utm_campaign=m10-ubuntu-sale-bq/ Le 23/06/2016 00:32, martin p cristia a ?crit : >> Is there a chance Gambas3 working on these? >> > No idea what Aquaris M10 is. And if it is Ubuntu, why would not Gambas > work on it? > -- Saludos Ing. Martin P Cristia From bugtracker at ...3416... Thu Jun 23 03:33:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 01:33:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #16 by Beno?t MINISINI: I have just installed Kubuntu 16.04, with Qt 5.5.1, and everything compiles correctly. I don't know if Qt 5.6 is provided for Ubuntu... Beno?t MINISINI changed the state of the bug to: Upstream. From gambas at ...1... Thu Jun 23 03:52:38 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 23 Jun 2016 03:52:38 +0200 Subject: [Gambas-user] Aquaris M10 Ubuntu Edition In-Reply-To: References: Message-ID: <576B40E6.20607@...1...> Le 23/06/2016 03:30, martin p cristia a ?crit : > Because is a tablet, I guess. Runs on: > > CPU > MediaTek Quad Core MT8163A up to 1,5 GHz > GPU > MediaTek Mali-T720 MP2 up to 600 MHz > > > https://www.bq.com/uk/aquaris-m10-ubuntu-edition?utm_source=web_bq&utm_medium=banner&utm_campaign=m10-ubuntu-sale-bq/ > There are Ubuntu ARM packages, so it should work. And if it does not, it's a bug. The only known problem is the JIT component based on LLVM on ARM that does not work correctly. As this component is optional, you should be able to run Gambas on ARM. If not, just report! -- Beno?t Minisini From buster6seven at ...626... Thu Jun 23 03:57:56 2016 From: buster6seven at ...626... (Shane) Date: Thu, 23 Jun 2016 11:57:56 +1000 Subject: [Gambas-user] paint to report Message-ID: <576B4224.7020407@...626...> How do I Paint Text directly to a report From adamnt42 at ...626... Thu Jun 23 05:04:25 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 23 Jun 2016 12:34:25 +0930 Subject: [Gambas-user] Gambas custom controls : renaming the exported class Message-ID: <20160623123425.caaef1b7348bc4b642251665@...626...> Well this is a bit obscure but for me it's a big pain. When developing a custom gambas control I quite often include a test form inside that project. That form is used extensively during development of the custom control (i.e. even before I package and deploy the control in client projects, and sometimes even later when issues arise...) Now, here's the problem. If I have given the control a "development" name and I later want to give it a more meaningful name, the entire custom control project collapses because the renamed class does not exist in the test form. An example might illuminate. I am working on a "lightweight" version of the native DirChooser control - in essence, I want to get rid of much of the extended functionality of the native control and just be able to display a directory tree, no file view, no added vitamins etc. So, I copied the native source and have expunged much of the features I do not need. The goal is to just display a directory tree in a side bar, so I need to get rid of the extra features and just show the tree. It's a bit like the IDE project tree sidebar but even simpler. So developmentally, I (like the fool I am) renamed the "target" control class as XDirChooser. Now I want to rename that class "LWDirChooser" (for Light Weight) so it will appear in the IDE quite visibly. But having done that, the test form is now invalid and the component wont compile.... grrr. To work around this I need to edit the test.form file and change the XDirChooser to a LWDirChooser, then it all works. But it is a right royal PITA! This bug is raised in the spirit of your comment at the end of the "How to develop Program Components in Gambas" page: Conclusion I try to find the easiest way of making components with the IDE. It is not perfect yet, but if you have any comment, question or problem, please use the mailing-list! -- B Bruen From gambas at ...1... Thu Jun 23 09:12:51 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 23 Jun 2016 09:12:51 +0200 Subject: [Gambas-user] Gambas custom controls : renaming the exported class In-Reply-To: <20160623123425.caaef1b7348bc4b642251665@...626...> References: <20160623123425.caaef1b7348bc4b642251665@...626...> Message-ID: <576B8BF3.8060901@...1...> Le 23/06/2016 05:04, adamnt42 at ...626... a ?crit : > Well this is a bit obscure but for me it's a big pain. > > When developing a custom gambas control I quite often include a test > form inside that project. That form is used extensively during > development of the custom control (i.e. even before I package and > deploy the control in client projects, and sometimes even later when > issues arise...) Now, here's the problem. If I have given the > control a "development" name and I later want to give it a more > meaningful name, the entire custom control project collapses because > the renamed class does not exist in the test form. > > An example might illuminate. I am working on a "lightweight" version > of the native DirChooser control - in essence, I want to get rid of > much of the extended functionality of the native control and just be > able to display a directory tree, no file view, no added vitamins > etc. So, I copied the native source and have expunged much of the > features I do not need. The goal is to just display a directory tree > in a side bar, so I need to get rid of the extra features and just > show the tree. It's a bit like the IDE project tree sidebar but even > simpler. > > So developmentally, I (like the fool I am) renamed the "target" > control class as XDirChooser. Now I want to rename that class > "LWDirChooser" (for Light Weight) so it will appear in the IDE quite > visibly. But having done that, the test form is now invalid and the > component wont compile.... grrr. To work around this I need to edit > the test.form file and change the XDirChooser to a LWDirChooser, then > it all works. > > But it is a right royal PITA! > > This bug is raised in the spirit of your comment at the end of the > "How to develop Program Components in Gambas" page: Conclusion > > I try to find the easiest way of making components with the IDE. It > is not perfect yet, but if you have any comment, question or problem, > please use the mailing-list! > I didn't think about that. It's because I usually directly use the final name of the control, and so my test forms are always valid. The problem is more general anyway, as if you rename any class in your project, other classes will continue to use the old name, and will fail at compilation or execution time. You have to rename the class by hand everywhere, and in the forms you cannot do that if it was not already opened before you renamed the class. I will try to implement an automatic renaming of form classes. It may slow down the renaming process, but I think I have no choice... -- Beno?t Minisini From bugtracker at ...3416... Thu Jun 23 12:34:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 10:34:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #953: Stock Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.953&from=L21haW4- Comment #4 by Mufeed ALI: Tried. Actually, I've relaunched the app infinite times. I'm not talking about GTK or QT Theme. JUST THE ICON THEMES. From bugtracker at ...3416... Thu Jun 23 12:36:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 10:36:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #952: Pixelated Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.952&from=L21haW4- Comment #6 by Mufeed ALI: Added the '.png' icon into the pixmaps folder, then edited the '.desktop' file and linked it to the new icon file. From bugtracker at ...3416... Thu Jun 23 12:43:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 10:43:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Comment #11 by Mufeed ALI: Umm. nothing works. Some stuff I noticed: 1. There is no Gtk Warnings. 2. In my current theme (Numix), for apps that have a working checkbox, there is a grey check-mark when NOT checked and a red one when checked. 3. The Checked property does actually work. That is, in code. But it is not visible to the user. 4. Setting it to Toggle changes nothing. System Info (Now): Ubuntu 16.04 amd64 Gambas 3.9 TRUNK #7804 Unity 7.4. From bugtracker at ...3416... Thu Jun 23 12:43:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 10:43:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Mufeed ALI changed the state of the bug to: Opened. From bugtracker at ...3416... Thu Jun 23 12:43:40 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 10:43:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #953: Stock Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.953&from=L21haW4- Mufeed ALI changed the state of the bug to: Opened. From bugtracker at ...3416... Thu Jun 23 14:04:42 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 12:04:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #954: GLib-GObject Error Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.954&from=L21haW4- Mufeed ALI reported a new bug. Summary ------- GLib-GObject Error Type : Bug Priority : Medium Gambas version : Unknown Product : GUI components Description ----------- Hi, Sometimes when I close my application, gbx crashes and the console error shows: GLib-GObject:ERROR:/build/glib2.0-7IO_Yw/glib2.0-2.48.1/./gobject/gsignal.c:668:handler_unref_R: assertion failed: (hlist != NULL) I'm guessing this is either an issue with Gambas runtime or an issue with Glib. If the error is with Gambas, please fix it. Thank you. From bugtracker at ...3416... Thu Jun 23 14:35:13 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 12:35:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #954: GLib-GObject Error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.954&from=L21haW4- Comment #1 by Beno?t MINISINI: Can you send your project? From bugtracker at ...3416... Thu Jun 23 14:36:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 12:36:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #953: Stock Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.953&from=L21haW4- Comment #5 by Beno?t MINISINI: OK. You didn't tell, so I asked. From bugtracker at ...3416... Thu Jun 23 17:35:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 15:35:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #953: Stock Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.953&from=L21haW4- Comment #6 by Mufeed ALI: Ok sorry. From bugtracker at ...3416... Thu Jun 23 17:36:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 15:36:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #954: GLib-GObject Error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.954&from=L21haW4- Comment #2 by Mufeed ALI: Its on the software farm. Under Education. Its called 'define'. From bugtracker at ...3416... Thu Jun 23 17:42:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 15:42:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #954: GLib-GObject Error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.954&from=L21haW4- Mufeed ALI added an attachment: define-3.9.13.tar.gz From bugtracker at ...3416... Thu Jun 23 19:00:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 17:00:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #952: Pixelated Icons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.952&from=L21haW4- Mufeed ALI changed the state of the bug to: Invalid. From bugtracker at ...3416... Thu Jun 23 22:39:54 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 20:39:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #954: GLib-GObject Error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.954&from=L21haW4- Comment #3 by Mufeed ALI: The file attached above is the current state of the app. From bugtracker at ...3416... Fri Jun 24 00:07:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 22:07:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #955: Glade Import Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.955&from=L21haW4- Mufeed ALI reported a new bug. Summary ------- Glade Import Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : GTK+3 component Description ----------- Hi, I've gotten used to Glade and Python. Mostly just Glade. Python isn't my kind of thing really. So, I have several '.ui' files ready from my old work. Is there any way to import them to gambas, instead of re-making the entire UI? If no, would you please add this feature in a future release? Thanks. From bugtracker at ...3416... Fri Jun 24 01:06:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 23:06:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Comment #12 by Beno?t MINISINI: I just tried with Ubuntu 16.04, amd 64, the last revision and the Numix GTK+ theme: Both checkmarks and radio buttons are visible in menus as expected. The only difference is that I tried from KDE, not from Unity, which is not installed. From bugtracker at ...3416... Fri Jun 24 01:10:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 23 Jun 2016 23:10:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #954: GLib-GObject Error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.954&from=L21haW4- Comment #4 by Beno?t MINISINI: I have no warning message at all. As you didn't provide your system information, I supposed it was the same as in bug #948, so I tried with Numix widget theme. Are you sure that you have a clean Ubuntu install? Did you install any backported package, or compile something relative to GTK+ or the widget themes? From bugtracker at ...3416... Fri Jun 24 12:06:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 24 Jun 2016 10:06:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #954: GLib-GObject Error In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.954&from=L21haW4- Comment #5 by Mufeed ALI: Um.. It doesn't always happen. Just rarely. I have a clean Ubuntu install but with Gambas, kubuntu-desktop and xubuntu-desktop. From bugtracker at ...3416... Fri Jun 24 12:10:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 24 Jun 2016 10:10:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Comment #13 by Mufeed ALI: Hm... Then I guess it is an issue with Unity's global menu system. Well, the QT version does not face this issue. I'll try in XFCE. Could you make sure you're checking this in GTK3 and not GTK2? Thanks From bugtracker at ...3416... Fri Jun 24 12:58:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 24 Jun 2016 10:58:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Comment #14 by Beno?t MINISINI: I tried with both GTK+2 and GTK+3. I will check with global menu and Unity as soon as possible. But if you don't see the check marks in the global menu, then the problem should be in the global menu Dbus communication, not in the Gambas GTK+ component, as the global menu is not drawn by the Gambas process. From bugtracker at ...3416... Fri Jun 24 15:07:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 24 Jun 2016 13:07:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Comment #15 by Mufeed ALI: Checked with Gambas 3.9 Trunk, GTK+3 and no global menu. Running the app as root disabled the global menu feature for that instance of the app. But still no checkmark. I'll try again in XFCE once I get home and tell you the results. From bugtracker at ...3416... Fri Jun 24 19:31:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 24 Jun 2016 17:31:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #948: Checks in menu not appearing. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.948&from=L21haW4- Comment #16 by Mufeed ALI: It works in XFCE. Its an upstream issue then. There is some issue with the Global Menu system used in Unity that is causing the check-marks to not appear. So, its over. // Mufeed ALI changed the state of the bug to: Upstream. From bagonergi at ...626... Fri Jun 24 21:30:44 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 24 Jun 2016 21:30:44 +0200 Subject: [Gambas-user] Clean new console by code Message-ID: How can I clean console by code in rev. 7804? Print Chr$(12); - Write Chr(12) - Desktop.SendKeys("{[Control_L]l}") do not work. Regards Gianluigi From lewis at ...3412... Fri Jun 24 22:37:59 2016 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 24 Jun 2016 15:37:59 -0500 Subject: [Gambas-user] Clean new console by code In-Reply-To: References: Message-ID: <576D9A27.6040403@...3412...> Desktop.SendKeys("clear/n") On 06/24/2016 02:30 PM, Gianluigi wrote: > How can I clean console by code in rev. 7804? > Print Chr$(12); - Write Chr(12) - Desktop.SendKeys("{[Control_L]l}") do not > work. > > Regards > Gianluigi > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Sat Jun 25 02:04:35 2016 From: vuott at ...325... (Ru Vuott) Date: Sat, 25 Jun 2016 00:04:35 +0000 (UTC) Subject: [Gambas-user] Clean new console by code References: <1138087711.1882215.1466813075595.JavaMail.yahoo.ref@...3424...> Message-ID: <1138087711.1882215.1466813075595.JavaMail.yahoo@...3424...> I suggest: Public Sub Form_Open() Print "testo qualsiasi" End Public Sub Button1_Click() ' We hide the Form to assign the focus to the console: Me.Hide End Public Sub Form_Hide() Wait 0.1 Desktop.SendKeys("{[Control_L]l}") Me.Raise End -------------------------------------------- Ven 24/6/16, Lewis Balentine ha scritto: Oggetto: Re: [Gambas-user] Clean new console by code A: "mailing list for gambas users" Data: Venerd? 24 giugno 2016, 22:37 Desktop.SendKeys("clear/n") On 06/24/2016 02:30 PM, Gianluigi wrote: > How can I clean console by code in rev. 7804? > Print Chr$(12); - Write Chr(12) - Desktop.SendKeys("{[Control_L]l}") do not > work. > > Regards > Gianluigi > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Sat Jun 25 14:51:28 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 25 Jun 2016 14:51:28 +0200 Subject: [Gambas-user] Clean new console by code In-Reply-To: <576D9A27.6040403@...3412...> References: <576D9A27.6040403@...3412...> Message-ID: Hi Lewis, thank you for the answer. Unfortunately it does not work. Regards Gianluigi 2016-06-24 22:37 GMT+02:00 Lewis Balentine : > Desktop.SendKeys("clear/n") > > On 06/24/2016 02:30 PM, Gianluigi wrote: > > How can I clean console by code in rev. 7804? > > Print Chr$(12); - Write Chr(12) - Desktop.SendKeys("{[Control_L]l}") do > not > > work. > > > > Regards > > Gianluigi > > > ------------------------------------------------------------------------------ > > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > > present their vision of the future. This family event has something for > > everyone, including kids. Get more information and register today. > > http://sdm.link/attshape > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Sat Jun 25 14:52:53 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 25 Jun 2016 14:52:53 +0200 Subject: [Gambas-user] Clean new console by code In-Reply-To: <1138087711.1882215.1466813075595.JavaMail.yahoo@...3424...> References: <1138087711.1882215.1466813075595.JavaMail.yahoo.ref@...3424...> <1138087711.1882215.1466813075595.JavaMail.yahoo@...3424...> Message-ID: Hi Vuott, thank you for the answer. It deletes only on the second click and the window does not appear that remains behind the IDE. Changing your code as follows, it deletes immediately, but the window remains behind the IDE. Public Sub Button1_Click() ' We hide the Form to assign the focus to the console: Me.Visible = False Desktop.SendKeys("{[Control_L]l}") Wait 0.1 Me.Visible = True End Regards Gianluigi 2016-06-25 2:04 GMT+02:00 Ru Vuott : > I suggest: > > > Public Sub Form_Open() > > Print "testo qualsiasi" > > End > > > Public Sub Button1_Click() > > ' We hide the Form to assign the focus to the console: > Me.Hide > > End > > > Public Sub Form_Hide() > > Wait 0.1 > > Desktop.SendKeys("{[Control_L]l}") > > Me.Raise > > End > > > > > -------------------------------------------- > Ven 24/6/16, Lewis Balentine ha scritto: > > Oggetto: Re: [Gambas-user] Clean new console by code > A: "mailing list for gambas users" > Data: Venerd? 24 giugno 2016, 22:37 > > Desktop.SendKeys("clear/n") > > On 06/24/2016 02:30 PM, Gianluigi wrote: > > How can I clean console by code in rev. 7804? > > Print Chr$(12); - Write Chr(12) - > Desktop.SendKeys("{[Control_L]l}") do not > > work. > > > > Regards > > Gianluigi > > > > ------------------------------------------------------------------------------ > > Attend Shape: An AT&T Tech Expo July 15-16. Meet us > at AT&T Park in San > > Francisco, CA to explore cutting-edge tech and listen > to tech luminaries > > present their vision of the future. This family event > has something for > > everyone, including kids. Get more information and > register today. > > http://sdm.link/attshape > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at > AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to > tech luminaries > present their vision of the future. This family event has > something for > everyone, including kids. Get more information and register > today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Jun 25 15:48:21 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 25 Jun 2016 15:48:21 +0200 Subject: [Gambas-user] Clean new console by code In-Reply-To: References: <1138087711.1882215.1466813075595.JavaMail.yahoo.ref@...3424...> <1138087711.1882215.1466813075595.JavaMail.yahoo@...3424...> Message-ID: <576E8BA5.60704@...1...> Le 25/06/2016 14:52, Gianluigi a ?crit : > Hi Vuott, > thank you for the answer. > It deletes only on the second click and the window does not appear that > remains behind the IDE. > Changing your code as follows, it deletes immediately, but the window > remains behind the IDE. > You should never use Desktop.SendKeys(). Besides being a dirty hack, it will be impossible to do that with coming Wayland. To clear a console, you must print the according VT100 sequences. Of course, it assumes that your terminal is VT100 compatible, but as soon as you don't use your code on true old terminals, it should be ok. The sequence is "\e[2J". Regards, -- Beno?t Minisini From bagonergi at ...626... Sat Jun 25 16:06:35 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 25 Jun 2016 16:06:35 +0200 Subject: [Gambas-user] Clean new console by code In-Reply-To: <576E8BA5.60704@...1...> References: <1138087711.1882215.1466813075595.JavaMail.yahoo.ref@...3424...> <1138087711.1882215.1466813075595.JavaMail.yahoo@...3424...> <576E8BA5.60704@...1...> Message-ID: Hi Benoit, perfect, it works. Therefore Print "\e[2J" replaces Print Chr$(12); Thank you very much. Gianluigi 2016-06-25 15:48 GMT+02:00 Beno?t Minisini : > Le 25/06/2016 14:52, Gianluigi a ?crit : > > Hi Vuott, > > thank you for the answer. > > It deletes only on the second click and the window does not appear that > > remains behind the IDE. > > Changing your code as follows, it deletes immediately, but the window > > remains behind the IDE. > > > > You should never use Desktop.SendKeys(). Besides being a dirty hack, it > will be impossible to do that with coming Wayland. > > To clear a console, you must print the according VT100 sequences. Of > course, it assumes that your terminal is VT100 compatible, but as soon > as you don't use your code on true old terminals, it should be ok. > > The sequence is "\e[2J". > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ea7dfh at ...2382... Sat Jun 25 20:59:18 2016 From: ea7dfh at ...2382... (Jesus Guardon) Date: Sat, 25 Jun 2016 20:59:18 +0200 Subject: [Gambas-user] About Gambas Farm Message-ID: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> Hi all Recently at the Spanish Forum gambas-es.org, we have had a vibrant debate about the gambas Farm and its features. On behalf of our Community, I'd like to forward some of the questions that deserve some discussion, in our opinion. Questions like "What's the actual purpose of the farm?", "Should we expect future changes on the farm?", "Are we making a proper use of the farm?", etc. are arising out of different points of view. In addition to these questions, some of us think that the Farm interface should be enhanced in terms of usability, such as implementing a score system and a comments system. I know it already has a download/installation counter, but it may or may not be relevant enough for the author. Also, a short comment from the users or other developers, may help to the main dev to debug his application. One of the most strongly discussed aspects is the convenience of a management or supervision of the published material, looking for a minimum of quality. It should serve as an example of some feature, it should be written using the recommended rules, variable names in english, have relevant english comments and good style, not to mention correct indentation. While some of us think that the Farm should be open to whatever type of script, snippet or whole applications, others think that only a selected set of them should be published after a proper quality filter. If bad code is published massively, it will affect the gambas reputation in the near future. We think about Gambas Farm as a showcase of good programming practices and as a teaching tool, therefore it should be enforced a minimum quality level. What do you guys think about all these questions? We would like to open a friendly debate about it. Best regards, Jes?s From bugtracker at ...3416... Sun Jun 26 06:21:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 26 Jun 2016 04:21:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #956: openSuse gambas bug: gbx3: unable to find startup file Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.956&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- openSuse gambas bug: gbx3: unable to find startup file Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- The following bug has been opened in openSuse. This is an openSuse bug, not a Gambas bug. However, doing a Gambas reinstall from source (3.9.0) does not fix the problem. Gambas has 3 symlinks in /usr/bin. make install does not delete those links before trying to create new ones. Therefore, the old links, including the one in error remain. Recommend deleting the old links during make install to clean up any old errors. Suse BUG report: Gambas doesn't start anymore after upgrade opensuse 13.1 / 64 bit / KDE 4.11.5/gambas 3.5.4-3.1 Repository: OpenSUSE / Education. /usr/bin/gambas3 gbx3: unable to find startup file This bug is still in effect in Tumbleweed and gambas 3.8.4. I did a zypper up and it broke my gambas installation. Trying to run gambas by typing gambas3 in a terminal window generates the same error message: gbx3: unable to find startup file. The problem: In the openSuse installation, gambas3 is a symlink to gbx3. When installing from source, gambas3 is a symlink to gambas3.gambas. Again in openSuse, executing gambas3.gambas opens the gambas development environment. There may also be menu issues. I have 2 gambas desktop files in my /usr/share/applications folder. The exec line in gambas3.desktop links to gambas3.gambas and works fine. The other, gambas.desktop, links to gambas3 and is broken. I don't know which is openSuse's. Even ignoring the bug, gambas3.desktop is the better file. Solution: correct the gambas3 symlink to gambas3.gambas. From lewis at ...3412... Sun Jun 26 07:01:16 2016 From: lewis at ...3412... (Lewis Balentine) Date: Sun, 26 Jun 2016 00:01:16 -0500 Subject: [Gambas-user] CDocumentation.ImplementAndNeed.1138 In-Reply-To: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> References: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> Message-ID: <576F619C.8000404@...3412...> I am testing Linux Mint 18 Beta. It comes with Gambas version of 3.8.4 I tried to run my KWPVR program project (which I admit is somewhat dated). I got a strange error in the IDE: "CDocumentation.ImplementAndNeed.1138" At this point I am only trying to determine if this is a Mint 18 or Gambas error. From lewis at ...3412... Sun Jun 26 07:57:19 2016 From: lewis at ...3412... (Lewis Balentine) Date: Sun, 26 Jun 2016 00:57:19 -0500 Subject: [Gambas-user] CDocumentation.ImplementAndNeed.1138 In-Reply-To: <576F619C.8000404@...3412...> References: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> <576F619C.8000404@...3412...> Message-ID: <576F6EBF.5040005@...3412...> http://blog.linuxmint.com/?p=3038#comment-130897 Several errors with Gambas3 version 3.8.4 as installed by Linux Mint 18 Beta Synaptics Package Manager. Note that I am running Gambas3 version 3.8.4 on Linux Mint 17 without these errors. It does load and run but specific projects will not, which means this is going to be a bear to trace down the problems. I just happen to have a program that I use to record OTA (Over The Air) TV programs (I am too cheap to pay for cable). When I try to load this project I get lots of errors. The first of these are the missing modules: gb.qt4 and gb.qt4.ext Well gambas3 has some new modules gb.qt5 and gb.qt5.ext Problem is I can not get to the point of changing the required modules because I get another error in the IDE: ?CDocumentation.ImplementAndNeed.1138? This seems to be tied to a Gababas3 problem with the Offline Help system that was reported back in April: http://comments.gmane.org/gmane.comp.lang.gambas.user/36870 On 06/26/2016 12:01 AM, Lewis Balentine wrote: > I am testing Linux Mint 18 Beta. > It comes with Gambas version of 3.8.4 > I tried to run my KWPVR program project (which I admit is somewhat > dated). > I got a strange error in the IDE: "CDocumentation.ImplementAndNeed.1138" > At this point I am only trying to determine if this is a Mint 18 or > Gambas error. From lewis at ...3412... Sun Jun 26 08:43:37 2016 From: lewis at ...3412... (Lewis Balentine) Date: Sun, 26 Jun 2016 01:43:37 -0500 Subject: [Gambas-user] CDocumentation.ImplementAndNeed.1138 (solved) In-Reply-To: <576F6EBF.5040005@...3412...> References: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> <576F619C.8000404@...3412...> <576F6EBF.5040005@...3412...> Message-ID: <576F7999.5050505@...3412...> Got round the problem by going into preferences and turning offline help on. On 06/26/2016 12:57 AM, Lewis Balentine wrote: > http://blog.linuxmint.com/?p=3038#comment-130897 > Several errors with Gambas3 version 3.8.4 as installed by Linux Mint 18 > Beta Synaptics Package Manager. > Note that I am running Gambas3 version 3.8.4 on Linux Mint 17 without > these errors. > > It does load and run but specific projects will not, which means this is > going to be a bear to trace down the problems. I just happen to have a > program that I use to record OTA (Over The Air) TV programs (I am too > cheap to pay for cable). When I try to load this project I get lots of > errors. The first of these are the missing modules: gb.qt4 and gb.qt4.ext > > Well gambas3 has some new modules gb.qt5 and gb.qt5.ext > Problem is I can not get to the point of changing the required modules > because I get another error in the IDE: > ?CDocumentation.ImplementAndNeed.1138? > > This seems to be tied to a Gababas3 problem with the Offline Help system > that was reported back in April: > http://comments.gmane.org/gmane.comp.lang.gambas.user/36870 > > On 06/26/2016 12:01 AM, Lewis Balentine wrote: >> I am testing Linux Mint 18 Beta. >> It comes with Gambas version of 3.8.4 >> I tried to run my KWPVR program project (which I admit is somewhat >> dated). >> I got a strange error in the IDE: "CDocumentation.ImplementAndNeed.1138" >> At this point I am only trying to determine if this is a Mint 18 or >> Gambas error. > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Jun 26 12:40:41 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 26 Jun 2016 12:40:41 +0200 Subject: [Gambas-user] About Gambas Farm In-Reply-To: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> References: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> Message-ID: <576FB129.6050408@...1...> Le 25/06/2016 20:59, Jesus Guardon a ?crit : > Hi all > > Recently at the Spanish Forum gambas-es.org, we have had a vibrant > debate about the gambas Farm and its features. On behalf of our > Community, I'd like to forward some of the questions that deserve some > discussion, in our opinion. > > Questions like "What's the actual purpose of the farm?", "Should we > expect future changes on the farm?", "Are we making a proper use of the > farm?", etc. are arising out of different points of view. > > In addition to these questions, some of us think that the Farm interface > should be enhanced in terms of usability, such as implementing a score > system and a comments system. I know it already has a > download/installation counter, but it may or may not be relevant enough > for the author. Also, a short comment from the users or other > developers, may help to the main dev to debug his application. I agree for the comment system. But I disagree for the notation system which I found actually useless and removed. > > One of the most strongly discussed aspects is the convenience of a > management or supervision of the published material, looking for a > minimum of quality. It should serve as an example of some feature, it > should be written using the recommended rules, variable names in > english, have relevant english comments and good style, not to mention > correct indentation. As this cannot be done automatically, maybe a special "quality" tag could be added? Or a quality score? Or quality flags? It will tell people that the program follows the quality rules. > > While some of us think that the Farm should be open to whatever type of > script, snippet or whole applications, others think that only a selected > set of them should be published after a proper quality filter. If bad > code is published massively, it will affect the gambas reputation in the > near future. I'm against filtering, except malwares. I think quality tag (or notes) + number of downloads should be enough for people to detect bad code. > We think about Gambas Farm as a showcase of good > programming practices and as a teaching tool, therefore it should be > enforced a minimum quality level. > > What do you guys think about all these questions? We would like to open > a friendly debate about it. > The farm server and farm clients need enhancements for sure. It's a matter of time, mainly for the farm client. If somebody can help for enhancing it, he is welcome : the source code is in the IDE! Regards, -- Beno?t Minisini From ea7dfh at ...2382... Sun Jun 26 13:24:27 2016 From: ea7dfh at ...2382... (Jesus Guardon) Date: Sun, 26 Jun 2016 13:24:27 +0200 Subject: [Gambas-user] CDocumentation.ImplementAndNeed.1138 In-Reply-To: <576F619C.8000404@...3412...> References: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> <576F619C.8000404@...3412...> Message-ID: <1495168c-e624-ab47-d6b6-6c4825d79757@...2382...> Hi, Lewis As this is a threaded list, please, don't hijack the previous thread by hitting 'Reply' while still reading a thread. That's the case with my thread 'About Gambas Farm' because your post appear as a reply to it, but having changed the title. If you want to create a new thread, please, use the 'New post' or whatever says your mail client. Hope your understanding, and for sure, no aggro intended. Best regards, Jes?s El 26/6/16 a las 7:01, Lewis Balentine escribi?: > I am testing Linux Mint 18 Beta. > It comes with Gambas version of 3.8.4 > I tried to run my KWPVR program project (which I admit is somewhat dated). > I got a strange error in the IDE: "CDocumentation.ImplementAndNeed.1138" > At this point I am only trying to determine if this is a Mint 18 or > Gambas error. From t.lee.davidson at ...626... Sun Jun 26 14:08:32 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 26 Jun 2016 08:08:32 -0400 Subject: [Gambas-user] CDocumentation.ImplementAndNeed.1138 In-Reply-To: <1495168c-e624-ab47-d6b6-6c4825d79757@...2382...> References: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> <576F619C.8000404@...3412...> <1495168c-e624-ab47-d6b6-6c4825d79757@...2382...> Message-ID: <576FC5C0.1060806@...626...> On 06/26/2016 07:24 AM, Jesus Guardon wrote: > Hi, Lewis > > As this is a threaded list, please, don't hijack the previous thread by > hitting 'Reply' while still reading a thread. That's the case with my > thread 'About Gambas Farm' because your post appear as a reply to it, > but having changed the title. > > If you want to create a new thread, please, use the 'New post' or > whatever says your mail client. If using Thunderbird, it's: right-click on mailing list address in header and select "Compose Message To". -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From ea7dfh at ...2382... Sun Jun 26 19:37:43 2016 From: ea7dfh at ...2382... (Jesus Guardon) Date: Sun, 26 Jun 2016 19:37:43 +0200 Subject: [Gambas-user] About Gambas Farm In-Reply-To: <576FB129.6050408@...1...> References: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> <576FB129.6050408@...1...> Message-ID: <11c82e64-5c00-cfa7-727b-4e8834f6991f@...2382...> Hi, Beno?t et all El 26/6/16 a las 12:40, Beno?t Minisini escribi?: > Le 25/06/2016 20:59, Jesus Guardon a ?crit : [...] >> the Farm interface >> should be enhanced in terms of usability, such as implementing a score >> system and a comments system. > > I agree for the comment system. But I disagree for the notation system > which I found actually useless and removed. > Good to know you like a comment system. >> [...]supervision of the published material, looking for a >> minimum of quality. [...] > > As this cannot be done automatically, maybe a special "quality" tag > could be added? Or a quality score? Or quality flags? It will tell > people that the program follows the quality rules. > Yes, please. Perhaps a combination of some of them, explained further down. >> [...]only a selected >> set of them should be published after a proper quality filter. If bad >> code is published massively, it will affect the gambas reputation in the >> near future. > > I'm against filtering, except malwares. I think quality tag (or notes) + > number of downloads should be enough for people to detect bad code. I'm with you, except that if nothing is done in a timely manner, the Farm will become a nightmare. We need to prevent abusing, i.e. converting the public Farm in a private repository for someone and maintain the quality level to a minimum, as said before. I think the following aspects should be evaluated and shown somewhat next to the program name: * Naming conventions has been used * Object names and comments are in English * Good style of writing and organization of project * Usefulness of code or application * Usability and graphic design ...to name a few, but still waiting for the feedback from list members. Perhaps a combination of tags that adds in for a number representing a scale or level of quality... > > The farm server and farm clients need enhancements for sure. It's a > matter of time, mainly for the farm client. If somebody can help for > enhancing it, he is welcome : the source code is in the IDE! That's the main reason we use free software, of course, we will try to help the best we can. Regards, Jesus (on behalf of gambas-es.org) From fmfdario at ...626... Mon Jun 27 01:03:03 2016 From: fmfdario at ...626... (Francisco Martinez) Date: Mon, 27 Jun 2016 01:03:03 +0200 Subject: [Gambas-user] About Gambas Farm In-Reply-To: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> References: <09bff329-f1e7-59b8-6b8a-f308518b4b55@...2382...> Message-ID: <57705F27.1070202@...626...> Hi!. In the Linux software manager we can see more than one picture, showing how is the application. It may be of interest to have this feature. Regards Shell From adamnt42 at ...626... Tue Jun 28 11:42:05 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Tue, 28 Jun 2016 19:12:05 +0930 Subject: [Gambas-user] An upside down color chart? Message-ID: <20160628191205.629c865736ba3557b4b6d2d3@...626...> Can anyone help me with this. I am looking for a "reversed" color chart image. I'll explain.. pic1 attached shows the generally accepted version of a color chart - which generally I have absolutely no problemo with. (Its the one from the IDE image editor.) What this shows in HSV terms is hue on the horizontal axis and saturation on the vertical axis, the value figure is set by the slider on the right. Fine, but what I need today is a chart with hue horizontally, value vertically and saturation on the slider. I can do the figgering to build the control but I cannot find - anywhere on the the interwebs and beyond - a picture of the colors represented on those axes. !!! Any clues gratefully accepted. tia Bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_004.png Type: image/png Size: 15895 bytes Desc: not available URL: From bagonergi at ...626... Tue Jun 28 18:43:03 2016 From: bagonergi at ...626... (Gianluigi) Date: Tue, 28 Jun 2016 18:43:03 +0200 Subject: [Gambas-user] Strange behavior of the console. Message-ID: I attach project that before create and recreate and order an matrix cleans the console. If you enlarge the console area in order to view the entire matrix you can control the correct functioning. If the area is reduced so as to cover part of the matrix you obtain a strange behavior. Same goes with terminal emulator. Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: DynamicMatrix-0.0.1.tar.gz Type: application/x-gzip Size: 12656 bytes Desc: not available URL: From taboege at ...626... Tue Jun 28 19:10:42 2016 From: taboege at ...626... (Tobias Boege) Date: Tue, 28 Jun 2016 19:10:42 +0200 Subject: [Gambas-user] An upside down color chart? In-Reply-To: <20160628191205.629c865736ba3557b4b6d2d3@...626...> References: <20160628191205.629c865736ba3557b4b6d2d3@...626...> Message-ID: <20160628171042.GA516@...3600...> On Tue, 28 Jun 2016, adamnt42 at ...626... wrote: > Can anyone help me with this. I am looking for a "reversed" color chart image. I'll explain.. > pic1 attached shows the generally accepted version of a color chart - which generally I have absolutely no problemo with. (Its the one from the IDE image editor.) > What this shows in HSV terms is hue on the horizontal axis and saturation on the vertical axis, the value figure is set by the slider on the right. Fine, but what I need today is a chart with hue horizontally, value vertically and saturation on the slider. > I can do the figgering to build the control but I cannot find - anywhere on the the interwebs and beyond - a picture of the colors represented on those axes. !!! > > Any clues gratefully accepted. > Then upload whatever picture your control yields. It will become *the* reference chart for the HVS color space in no time. (I don't know what you expect as an answer here. Should I try to write such a control, too, and see if our pictures match?) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bugtracker at ...3416... Tue Jun 28 21:35:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 28 Jun 2016 19:35:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Charlie REINL reported a new bug. Summary ------- _free in a form Type : Bug Priority : High Gambas version : 3.8.90 (TRUNK) Product : QT4 component Description ----------- Public Sub _free() End Comes from the past (project was first developed with gambas1). Now with gambas 3.8.90 r7804 it crashes (didn't one month ago) System information ------------------ [System] Gambas=3.8.90 r7804 OperatingSystem=Linux Kernel=3.2.0-101-generic Architecture=x86 Distribution=Ubuntu 14.04.4 LTS Desktop=UNITY Theme=Cleanlooks Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-tYVlic0nyR DEFAULTS_PATH=/usr/share/gconf/gnome-fallback.default.path DESKTOP_SESSION=gnome-fallback DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=gnome-fallback GDM_LANG=de_DE GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/Gambas III.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=5369 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-kQ4zrf GNOME_KEYRING_PID=3286 GPG_AGENT_INFO=/run/user/1000/keyring-kQ4zrf/gpg:0:1 GTK_MODULES=canberra-gtk-module:overlay-scrollbar:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=de_DE.UTF-8 LANGUAGE=de_DE:en LC_MESSAGES=de_DE.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/gnome-fallback.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_NO_GLIB=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=gnome-fallback SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/3723,unix/:/tmp/.ICE-unix/3723 SHELL=/bin/bash SHLVL=0 SPEECHD_PORT=7560 SSH_AUTH_SOCK=/run/user/1000/keyring-kQ4zrf/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UBUNTU_MENUPROXY=0 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/3288 USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for--SkjQk5/database XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-fallback:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/gnome-fallback:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_MENU_PREFIX=gnome-flashback- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_ID=c2 XDG_VTNR=7_free From bugtracker at ...3416... Tue Jun 28 21:35:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 28 Jun 2016 19:35:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Charlie REINL added an attachment: Bildschirmfoto vom 2016-06-28 21:27:28.png From bugtracker at ...3416... Tue Jun 28 23:19:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 28 Jun 2016 21:19:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #1 by Charlie REINL: no more sure, that it comes from _free, but going back to Gambas=3.8.90 r7802, no more problems, no more #11 From bugtracker at ...3416... Tue Jun 28 23:40:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 28 Jun 2016 21:40:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #2 by Charlie REINL: it comes with the workaround on Gambas=3.8.90 r7803 [GB.QT4] * BUG: Workadounr Enter & Leave events QT madness. [GB.QT5] * BUG: Workadounr Enter & Leave events QT madness. From adamnt42 at ...626... Wed Jun 29 00:37:22 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 29 Jun 2016 08:07:22 +0930 Subject: [Gambas-user] An upside down color chart? In-Reply-To: <20160628171042.GA516@...3600...> References: <20160628191205.629c865736ba3557b4b6d2d3@...626...> <20160628171042.GA516@...3600...> Message-ID: <20160629080722.e6c953d196cebc6bb3f1e47e@...626...> On Tue, 28 Jun 2016 19:10:42 +0200 Tobias Boege wrote: > On Tue, 28 Jun 2016, adamnt42 at ...626... wrote: > > Can anyone help me with this. I am looking for a "reversed" color chart image. I'll explain.. > > pic1 attached shows the generally accepted version of a color chart - which generally I have absolutely no problemo with. (Its the one from the IDE image editor.) > > What this shows in HSV terms is hue on the horizontal axis and saturation on the vertical axis, the value figure is set by the slider on the right. Fine, but what I need today is a chart with hue horizontally, value vertically and saturation on the slider. > > I can do the figgering to build the control but I cannot find - anywhere on the the interwebs and beyond - a picture of the colors represented on those axes. !!! > > > > Any clues gratefully accepted. > > > > Then upload whatever picture your control yields. It will become *the* > reference chart for the HVS color space in no time. > > (I don't know what you expect as an answer here. Should I try to write > such a control, too, and see if our pictures match?) > > Regards, > Tobi > Ah, a lot more research and I have found what I am looking for (attached as hslchart1.png). Its called an HSL chart and I got it from http://www.gamutvision.com/docs/gamutvision_equations.html which is quite an interesting page if you are into that sort of mathematical nightmare. :-) In fact what I am after is a modified view of this chart, mainly the bottom half chopped and hammered so that the left side is the yellow tones and the right side is the red tones. I have mocked up what I am going to be using as hslchart2.png - so I doubt that it would either become a standard for HSV (or HVS) or that it would be the same as you would produce. cheers Bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: hslchart1.png Type: image/png Size: 15647 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hslchart2.png Type: image/png Size: 6264 bytes Desc: not available URL: From tercoide at ...67... Wed Jun 29 00:50:46 2016 From: tercoide at ...67... (martin p cristia) Date: Tue, 28 Jun 2016 19:50:46 -0300 Subject: [Gambas-user] Got CDocumentation.ImplementAndNeed.1138 on startup, fresh install. In-Reply-To: References: Message-ID: Hi: On a fresh install, I got the same error message as Lewis reported a few emails before but the workaround (turn on offline help) didn't worked. The box shows up when loading a program. After closing the box, my program loads, but don't run. All the QT4 components are gone (Project/Properties/Components) [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86_64 Distribution=Ubuntu 16.04 LTS Desktop=GNOME Theme=Gtk Language=es_ES.UTF-8 Memory=5843M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.801.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.49.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-EdOAfqbk6z DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=ubuntu GDM_LANG=es_AR GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=3244 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=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:/snap/bin PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session 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/1153 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_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 herberthguzman at ...626... Wed Jun 29 06:17:58 2016 From: herberthguzman at ...626... (herberth guzman) Date: Tue, 28 Jun 2016 22:17:58 -0600 Subject: [Gambas-user] gbTerminal Message-ID: Thanks Benoit for Gambas3 Thanks Fabien for gb.form.terminal I created a form_terminal(lxterminal, qterminal) uploaded the project (gbTerminal) to gambasfarm The only thing I did was customize what Fabien developed. Regards Herberth Guzm?n From herberthguzman at ...626... Wed Jun 29 06:18:59 2016 From: herberthguzman at ...626... (herberth guzman) Date: Tue, 28 Jun 2016 22:18:59 -0600 Subject: [Gambas-user] gbTerminal Message-ID: Thanks Benoit for Gambas3 Thanks Fabien for gb.form.terminal I created a form_terminal(lxterminal, qterminal) uploaded the project (gbTerminal) to gambasfarm The only thing I did was customize what Fabien developed. gbTerminal is a terminal emulator based on VT-100 for the Lightweight Desktop Environment (Innova Desktop). A few feature: ? Split terminals (horizontally and vertically). ? It can contain multiple terminal sessions. ? Multiple tabs. ? Customizable shortcuts. ? Various themes. ? Blinking text supported. ? Mouse support. Regards Herberth Guzm?n From bagonergi at ...626... Wed Jun 29 11:35:58 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 29 Jun 2016 11:35:58 +0200 Subject: [Gambas-user] Strange behavior of the console. In-Reply-To: References: Message-ID: Perhaps so it is easier to explain. At the end turn the mouse wheel. Same with the Console. Regards Gianluigi 2016-06-28 18:43 GMT+02:00 Gianluigi : > I attach project that before create and recreate and order an matrix > cleans the console. > If you enlarge the console area in order to view the entire matrix you can > control the correct functioning. > If the area is reduced so as to cover part of the matrix you obtain a > strange behavior. > Same goes with terminal emulator. > > Regards > Gianluigi > -------------- next part -------------- A non-text attachment was scrubbed... Name: ConsoleTest-0.0.1.tar.gz Type: application/x-gzip Size: 11386 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata del 2016-06-29 11-32-05.png Type: image/png Size: 33085 bytes Desc: not available URL: From antonio.j.teixeira at ...626... Wed Jun 29 12:51:24 2016 From: antonio.j.teixeira at ...626... (Antonio Teixeira) Date: Wed, 29 Jun 2016 11:51:24 +0100 Subject: [Gambas-user] HTML font backcolor Message-ID: Hello everyone, Is there a way so I can change the backcolor of text in a textlabel? In a sentence I need to change the backcolor of some words. Is that possible? Thanks in advance. ?Best regards? Ant?nio Teixeira From gambas at ...1... Wed Jun 29 13:46:21 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 29 Jun 2016 13:46:21 +0200 Subject: [Gambas-user] HTML font backcolor In-Reply-To: References: Message-ID: <5773B50D.3060807@...1...> Le 29/06/2016 12:51, Antonio Teixeira a ?crit : > Hello everyone, > > Is there a way so I can change the backcolor of text in a textlabel? > In a sentence I need to change the backcolor of some words. Is that > possible? > Thanks in advance. > > ?Best regards? > > Ant?nio Teixeira I'm afraid it's not possible for standard code. But as QT rich text understands more HTML than GTK+, you can try something like my text Regards, -- Beno?t Minisini From antonio.j.teixeira at ...626... Wed Jun 29 13:54:26 2016 From: antonio.j.teixeira at ...626... (Antonio Teixeira) Date: Wed, 29 Jun 2016 12:54:26 +0100 Subject: [Gambas-user] Fwd: HTML font backcolor In-Reply-To: References: Message-ID: Hello everyone, Is there a way so I can change the backcolor of text in a textlabel? In a sentence I need to change the backcolor of some words. Is that possible? ?Sorry but in the last email I forgot to say that I am using Gambas2 (2.24).? Thanks in advance. ?Best regards? Ant?nio Teixeira From antonio.j.teixeira at ...626... Wed Jun 29 13:58:49 2016 From: antonio.j.teixeira at ...626... (Antonio Teixeira) Date: Wed, 29 Jun 2016 12:58:49 +0100 Subject: [Gambas-user] HTML font backcolor Message-ID: Thank for your answer Benoit. I am using gambas 2 running on raspberries but I am trying to migrate all project to gambas 3 because I found that gambas 3 and qt4 solve my problem. ?Best regards Ant?nio Teixeira From tercoide at ...67... Wed Jun 29 15:56:27 2016 From: tercoide at ...67... (martin p cristia) Date: Wed, 29 Jun 2016 10:56:27 -0300 Subject: [Gambas-user] Gambas-user Digest, Vol 121, Issue 29 In-Reply-To: References: Message-ID: Update: After uninstall from Ubuntu Software, and reinstall from the PPA, this showed at startup: "Some components are missing: gb.qt5, gb.qt5.opengl, gb.qt5.webkit" So, tilted qt4 components (now present) and program run OK El 29/06/16 a las 06:36, gambas-user-request at lists.sourceforge.net escribi?: > Got CDocumentation.ImplementAndNeed.1138 on startup, fresh > install. (martin p cristia) -- Saludos Ing. Martin P Cristia From bagonergi at ...626... Wed Jun 29 18:24:31 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 29 Jun 2016 18:24:31 +0200 Subject: [Gambas-user] Clean new console by code In-Reply-To: <576E8BA5.60704@...1...> References: <1138087711.1882215.1466813075595.JavaMail.yahoo.ref@...3424...> <1138087711.1882215.1466813075595.JavaMail.yahoo@...3424...> <576E8BA5.60704@...1...> Message-ID: Hi Benoit, unfortunately *Print "\e[2J";* does not work as *Clear button* console. He simply deletes the only visible part. How can I get the same behavior of Clear button console (also for the terminal)? Regards Gianluigi 2016-06-25 15:48 GMT+02:00 Beno?t Minisini : > Le 25/06/2016 14:52, Gianluigi a ?crit : > > Hi Vuott, > > thank you for the answer. > > It deletes only on the second click and the window does not appear that > > remains behind the IDE. > > Changing your code as follows, it deletes immediately, but the window > > remains behind the IDE. > > > > You should never use Desktop.SendKeys(). Besides being a dirty hack, it > will be impossible to do that with coming Wayland. > > To clear a console, you must print the according VT100 sequences. Of > course, it assumes that your terminal is VT100 compatible, but as soon > as you don't use your code on true old terminals, it should be ok. > > The sequence is "\e[2J". > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Jun 29 20:26:07 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 29 Jun 2016 20:26:07 +0200 Subject: [Gambas-user] gbTerminal In-Reply-To: References: Message-ID: Le 29 juin 2016 06:20, "herberth guzman" a ?crit : > > Thanks Benoit for Gambas3 > Thanks Fabien for gb.form.terminal The terminal idea is from me but most of the code is from Beno?t. > I created a form_terminal(lxterminal, qterminal) > uploaded the project (gbTerminal) to gambasfarm > The only thing I did was customize what Fabien developed. > > Regards > > Herberth Guzm?n > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Thu Jun 30 10:29:38 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 08:29:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Gianfranco COSTAMAGNA reported a new bug. Summary ------- gambas3 build failure with openssl 1.1 Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Hi, gambas3 is currently failing to build with the upcoming openssl 1.1 I removed the affected lines on files gb.openssl/src/c_cipher.c gb.openssl/src/c_digest.c and I got it build. Basically the issue is that now CTX is an opaque structure, so you need to use openssl getters to access it. here you should have a log https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828307 and the API changes explanation. thanks! Gianfranco From bugtracker at ...3416... Thu Jun 30 10:31:54 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 08:31:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #959: gambas3 build failure with openssl 1.1 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.959&from=L21haW4- Gianfranco COSTAMAGNA reported a new bug. Summary ------- gambas3 build failure with openssl 1.1 Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Gambas3 is currently FTBFS with openssl 1.1, because of some API changes (CTX is now a private structure, so you need to use the getters that openssl provides to access its members) More details and build logs are available here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828307 thanks! I did some comment of functions, and seems that only two places needs patching: gb.openssl/src/c_digest.c gb.openssl/src/c_cipher.c thanks Gianfranco From d4t4full at ...626... Thu Jun 30 12:17:40 2016 From: d4t4full at ...626... (zxMarce) Date: Thu, 30 Jun 2016 03:17:40 -0700 (MST) Subject: [Gambas-user] Serial Port issues and events. Message-ID: <1467281860706-56614.post@...3046...> Hi there. Using Gambas 3.8.4 from PPA on Ubuntu 14.04 x64. I'm having issues with serial ports. I have a USB to 4 RS232C hub adapter. It is working on a virtual Windows machine, reading and writing as it is supposed to do. The connected device (using one port only) is a Magnetic Card Encoder that uses binary data (i.e: not always printable ASCII) to be told what to do. Using the mobo's built-in RS232 port as well as a PCIe 4xRS232 card yield the same results, so the ports do not seem to be at fault here. My program tries to guess if the encoder is present at the specified port by sending the byte sequence 0x02-0xF8-0x31-0x03, which is an invalid command for the device. The device should respond with 0x02-0x15-0x03. All data comm blocks are surrounded by STX (0x02) and ETX (0x03) bytes. The problems I am having are two: 1- I can't have Gambas trigger the READ event for the port, thus I call it by hand. 2- I can't figure out how to get the data from the encoder into a string without missing bytes. My code is encapsulated in a class. Declarations: Instancing and setting the port up: Then, I send TEST_TX and expect for either TEST_RX or a timeout: Finally, this next is the problem code. It does not fire as expected when data arrives, and when I call it by hand in the IF above, if I try to READ #m_tty As String it chops off the leading 0x02 byte, and I could not figure out how to READ #m_tty As Byte[] or As Object (I get a null error; nothing on the message.error text, and no OK button on it either): A breakpoint in the "sgmnt = Read #m_tty As Object" line show that the value of "dLen" is three, which is OK. But when I try to READ As String, the leading 0x02 is missing from the string, leaving only 0x15-0x03. When this is later compared to TEST_RX in Test(), the comparison obviously fails. Hope someone can help me out. I guess my heavy VB6 background is interfering but can't really see how. TIA, zxMarce. -- View this message in context: http://gambas.8142.n7.nabble.com/Serial-Port-issues-and-events-tp56614.html Sent from the gambas-user mailing list archive at Nabble.com. From ualex73 at ...626... Thu Jun 30 13:42:02 2016 From: ualex73 at ...626... (Alexie) Date: Thu, 30 Jun 2016 13:42:02 +0200 Subject: [Gambas-user] Serial Port issues and events. In-Reply-To: <1467281860706-56614.post@...3046...> References: <1467281860706-56614.post@...3046...> Message-ID: Do you have a better/working example? Using multiple serialport works fine in Gambas (we use it in DomotiGa). You can read byte for byte, or read it into an array (latter one i recommend). Then you just loop through the array until you find STX/ETX characters ;-) 2016-06-30 12:17 GMT+02:00 zxMarce : > Hi there. Using Gambas 3.8.4 from PPA on Ubuntu 14.04 x64. > > I'm having issues with serial ports. I have a USB to 4 RS232C hub adapter. > It is working on a virtual Windows machine, reading and writing as it is > supposed to do. The connected device (using one port only) is a Magnetic > Card Encoder that uses binary data (i.e: not always printable ASCII) to be > told what to do. Using the mobo's built-in RS232 port as well as a PCIe > 4xRS232 card yield the same results, so the ports do not seem to be at > fault > here. > > My program tries to guess if the encoder is present at the specified port > by > sending the byte sequence 0x02-0xF8-0x31-0x03, which is an invalid command > for the device. The device should respond with 0x02-0x15-0x03. > > All data comm blocks are surrounded by STX (0x02) and ETX (0x03) bytes. > > The problems I am having are two: > > 1- I can't have Gambas trigger the READ event for the port, thus I call it > by hand. > 2- I can't figure out how to get the data from the encoder into a string > without missing bytes. > > My code is encapsulated in a class. Declarations: > > > > Instancing and setting the port up: > > > > Then, I send TEST_TX and expect for either TEST_RX or a timeout: > > > > Finally, this next is the problem code. It does not fire as expected when > data arrives, and when I call it by hand in the IF above, if I try to READ > #m_tty As String it chops off the leading 0x02 byte, and I could not figure > out how to READ #m_tty As Byte[] or As Object (I get a null error; nothing > on the message.error text, and no OK button on it either): > > > > A breakpoint in the "sgmnt = Read #m_tty As Object" line show that the > value > of "dLen" is three, which is OK. But when I try to READ As String, the > leading 0x02 is missing from the string, leaving only 0x15-0x03. When this > is later compared to TEST_RX in Test(), the comparison obviously fails. > > Hope someone can help me out. I guess my heavy VB6 background is > interfering > but can't really see how. > > TIA, > zxMarce. > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Serial-Port-issues-and-events-tp56614.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From d4t4full at ...626... Thu Jun 30 15:51:41 2016 From: d4t4full at ...626... (ML) Date: Thu, 30 Jun 2016 10:51:41 -0300 Subject: [Gambas-user] Serial Port issues and events. In-Reply-To: References: <1467281860706-56614.post@...3046...> Message-ID: <577523ED.2090007@...626...> Alexie, Not really. This is my first attempt at a binary-exchange over serial in Gambas. Can't also find out the old G3 examples that might have existed about this and my web searches were unsuccessful. So, if you could point me to some example code to read a Byte[], I'll be grateful. My attempts to read to a Byte[] failed with SEGFAULT, or errors with no text. On the other hand, I just realized -again, happened to me in the past and I forgot it did- that the list does not send text inside RAW tags... The code can be seen only on Nabble's site, so I'm reinserting it here. Please excuse my notation; I know it's not Gambas standard. It's what I used for eons on QB45, VB3, VB4, VB5 VB6 and even .Net for my day to day work; (really) old habits die hard. Declarations: Private Const TEST_TX As String = "?1" '0x02-0xF8-0x31-0x03 - Nabble's RAW TEXT tags removed some data from the string Private Const TEST_RX As String = "" '0x02-0x15-0x03 - Nabble's RAW TEXT tags removed some data from the string Private m_tty As SerialPort Private m_rxBuff As String = Null Instancing and setting the port up: 'Instance serial port and set properties m_tty = New SerialPort As "myTty" 'This should call myTty_Read() when there is data to read from the port, but it does not seem to trigger. Wonder why. m_tty.PortName = "/dev/" & m_port m_tty.Speed = m_speed Select Case m_parity Case "No/Space" m_tty.Parity = SerialPort.None Case "Even" m_tty.Parity = SerialPort.Even Case "Odd" m_tty.Parity = SerialPort.Odd End Select m_tty.DataBits = m_bits m_tty.StopBits = m_stop 'Encoder use hardware handshake (RTS/CTS) m_tty.FlowControl = SerialPort.Hardware 'Try opening the port m_tty.Open() m_tty.Blocking = False m_tty.DTR = True Then, I send TEST_TX and expect for either TEST_RX or a timeout: Public Function Test() As Boolean Dim tOut As Date = DateAdd(Now, gb.Second, 2) 'Reset RX Buffer, send test command and check for timeout/response m_tty.Drop 'Kill remaining send data m_tty.Begin() 'Start buffering Write #m_tty, TEST_TX 'Add to send buffer m_rxBuff = Null 'Kill RX buffer m_tty.Send() 'Send buffer While (Now < tOut) And (m_rxBuff <> TEST_RX) Sleep 0.1 'This IF below should not be needed, but myTty_Read() never fires otherwise! If m_tty.InputBufferSize > 0 Then myTty_Read() Endif Wend Finally Return (m_rxBuff = TEST_RX) Catch Message.Error("Error '" & Error.Text & "' occurred in " & Error.Where) End Finally, this next is the problem code. It does not fire as expected when data arrives, and when I call it by hand in the IF above, if I try to READ #m_tty As String it chops off the leading 0x02 byte, and I could not figure out how to READ #m_tty As Byte[] or As Object (I get a null error; nothing on the message.error text, and no OK button on it either): Public Sub myTty_Read() Dim dLen As Integer = m_tty.InputBufferSize Dim sgmnt As Byte[] 'String = Null 'This here is my desperate attempt to read As String or As Object... 'Data should be available in the serial port buffer 'sgmnt = Read #m_tty As String 'm_rxBuff &= sgmnt sgmnt = Read #m_tty As Object m_rxBuff &= sgmnt.ToString Debug "Rx: (" & CStr(dLen) & ") " & sgmnt Catch 'This is triggered when reading As Object or As Byte[]. But the text is NULL and has no OK button! Message.Error("Error '" & Error.Text & "' occurred in " & Error.Where) End A breakpoint in the "sgmnt = Read #m_tty As ..." line show that the value of "dLen" is three, which is OK. But when I try to READ As String, the leading 0x02 is missing from the string, leaving only 0x15-0x03 (quick tooltip shows the string to be "\x15\x03"). When this is later compared to TEST_RX in Test(), the comparison obviously fails. TIA, zxMarce. From bugtracker at ...3416... Thu Jun 30 16:07:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 14:07:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #959: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.959&from=L21haW4- Gianfranco COSTAMAGNA changed the state of the bug to: Duplicate. From bugtracker at ...3416... Thu Jun 30 16:18:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 14:18:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Tobias BOEGE changed the state of the bug to: Accepted. From nando_f at ...951... Thu Jun 30 16:34:37 2016 From: nando_f at ...951... (nando_f at ...951...) Date: Thu, 30 Jun 2016 10:34:37 -0400 Subject: [Gambas-user] Serial Port issues and events. In-Reply-To: <577523ED.2090007@...626...> References: <1467281860706-56614.post@...3046...> <577523ED.2090007@...626...> Message-ID: <20160630143027.M29168@...951...> I've done extensive work with the serial port for a dozen years with 100% success 24 hour operation. Sometimes people get mixed up with "0x02" thinking it's binary. That is 4 characters ascii. I prefer to use chr(2) to create a 1 length string binary 2. If you're going to use byte[] array then byte[0] = 2 is the equivalent. Using escape (like HTML encoding) is the incorrect thinking -Fernando -- Open WebMail Project (http://openwebmail.org) ---------- Original Message ----------- From: ML To: gambas-user at lists.sourceforge.net Sent: Thu, 30 Jun 2016 10:51:41 -0300 Subject: Re: [Gambas-user] Serial Port issues and events. > Alexie, > > Not really. This is my first attempt at a binary-exchange over serial in > Gambas. Can't also find out the old G3 examples that might have existed > about this and my web searches were unsuccessful. > So, if you could point me to some example code to read a Byte[], I'll be > grateful. My attempts to read to a Byte[] failed with SEGFAULT, or > errors with no text. > > On the other hand, I just realized -again, happened to me in the past > and I forgot it did- that the list does not send text inside RAW tags... > The code can be seen only on Nabble's site, so I'm reinserting it here. > Please excuse my notation; I know it's not Gambas standard. It's what I > used for eons on QB45, VB3, VB4, VB5 VB6 and even .Net for my day to day > work; (really) old habits die hard. > > Declarations: > > Private Const TEST_TX As String = "?1" '0x02-0xF8-0x31-0x03 - > Nabble's RAW TEXT tags removed some data from the string > Private Const TEST_RX As String = "" '0x02-0x15-0x03 - Nabble's RAW > TEXT tags removed some data from the string > Private m_tty As SerialPort > Private m_rxBuff As String = Null > > Instancing and setting the port up: > > 'Instance serial port and set properties > m_tty = New SerialPort As "myTty" 'This should call myTty_Read() > when there is data to read from the port, but it does not seem to > trigger. Wonder why. > m_tty.PortName = "/dev/" & m_port > m_tty.Speed = m_speed > Select Case m_parity > Case "No/Space" > m_tty.Parity = SerialPort.None > Case "Even" > m_tty.Parity = SerialPort.Even > Case "Odd" > m_tty.Parity = SerialPort.Odd > End Select > m_tty.DataBits = m_bits > m_tty.StopBits = m_stop > > 'Encoder use hardware handshake (RTS/CTS) > m_tty.FlowControl = SerialPort.Hardware > > 'Try opening the port > m_tty.Open() > m_tty.Blocking = False > m_tty.DTR = True > > Then, I send TEST_TX and expect for either TEST_RX or a timeout: > > Public Function Test() As Boolean > > Dim tOut As Date = DateAdd(Now, gb.Second, 2) > > 'Reset RX Buffer, send test command and check for timeout/response > m_tty.Drop 'Kill remaining send data > m_tty.Begin() 'Start buffering > Write #m_tty, TEST_TX 'Add to send buffer > m_rxBuff = Null 'Kill RX buffer > m_tty.Send() 'Send buffer > > While (Now < tOut) And (m_rxBuff <> TEST_RX) > Sleep 0.1 > 'This IF below should not be needed, but myTty_Read() never fires > otherwise! > If m_tty.InputBufferSize > 0 Then > myTty_Read() > Endif > Wend > > Finally > Return (m_rxBuff = TEST_RX) > > Catch > Message.Error("Error '" & Error.Text & "' occurred in " & Error.Where) > > End > > Finally, this next is the problem code. It does not fire as expected > when data arrives, and when I call it by hand in the IF above, if I try > to READ #m_tty As String it chops off the leading 0x02 byte, and I could > not figure out how to READ #m_tty As Byte[] or As Object (I get a null > error; nothing on the message.error text, and no OK button on it either): > > Public Sub myTty_Read() > > Dim dLen As Integer = m_tty.InputBufferSize > Dim sgmnt As Byte[] 'String = Null 'This here is my desperate > attempt to read As String or As Object... > > 'Data should be available in the serial port buffer > 'sgmnt = Read #m_tty As String > 'm_rxBuff &= sgmnt > sgmnt = Read #m_tty As Object > m_rxBuff &= sgmnt.ToString > Debug "Rx: (" & CStr(dLen) & ") " & sgmnt > > Catch > 'This is triggered when reading As Object or As Byte[]. But the > text is NULL and has no OK button! > Message.Error("Error '" & Error.Text & "' occurred in " & Error.Where) > > End > > A breakpoint in the "sgmnt = Read #m_tty As ..." line show that the > value of "dLen" is three, which is OK. But when I try to READ As String, > the leading 0x02 is missing from the string, leaving only 0x15-0x03 > (quick tooltip shows the string to be "\x15\x03"). When this is later > compared to TEST_RX in Test(), the comparison obviously fails. > > TIA, > zxMarce. > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From d4t4full at ...626... Thu Jun 30 17:44:41 2016 From: d4t4full at ...626... (ML) Date: Thu, 30 Jun 2016 12:44:41 -0300 Subject: [Gambas-user] Serial Port issues and events. In-Reply-To: <20160630143027.M29168@...951...> References: <1467281860706-56614.post@...3046...> <577523ED.2090007@...626...> <20160630143027.M29168@...951...> Message-ID: <57753E69.2080105@...626...> Fernando, I know what you mean. In my case I just wanted to show in the examples which bytes come and go through the port. I do know 0x02 (&H2 for Gambas) is a single byte with value 2. I'm not transmitting "0-x-0-2" over the wire as 4 bytes, I'm just transmitting a string whose first character has ASCII value 0x02. I have also been coding for years (started with QB45 in the nineties, and before that with ZX-81 and ZXSpectrum in BASIC and even Assembler). I have coded several countries' Fiscal Printer interfaces for my company (all of them RS232C). But all this I did on Mr Gates' in-operating systems and IDEs. I do not know, though, the basics of RS232 I/O on Gambas3, methinks: I do not know -for example- what is wrong in my code that makes serial xxx_READ events not trigger. I also do not know how to write/read proper binary-as-string (or even bynary-as-byte[]) to/from RS232. My particular issue with the program: When the .InputBufferSize is not zero, it shows 3, which is correct (I'm expecting three bytes or chars, with values 0x02-0x15-0x03). Immediately afterwards, when I READ these bytes into a string (the only working thing so far), the first byte (0x02) is chopped off and the LEN of the resulting string is 2. I wonder: How come? There were three bytes in the buffer and I get a two byte string! I think Gambas is treating the 0x02 as a string-lenght indicator, and fills the string with the rest of the buffer, therefore fetching 2 characters (this seems backed because the string gets the 0x15 and 0x03 bytes as its contents). But I need all three bytes. My not-so-wild-guess (which agrees with your advise) is that I must use Byte[] and not String to read these blocks. Problem is twofold: 1- (BAD) Cannot get the _READ event to trigger 2- (WORSE) Cannot figure out how to make Gambas return a Byte[] with the buffer contents. Any pointers or working examples in those directions WILL help. Hope I explained myself better now. Regards, zxMarce. On 2016-06-30 11:34, nando_f at ...951... wrote: > I've done extensive work with the serial port for a dozen years > with 100% success 24 hour operation. > > Sometimes people get mixed up with "0x02" thinking it's binary. > That is 4 characters ascii. > I prefer to use chr(2) to create a 1 length string binary 2. > If you're going to use byte[] array > then byte[0] = 2 is the equivalent. > Using escape (like HTML encoding) is the incorrect thinking > -Fernando > > -- > Open WebMail Project (http://openwebmail.org) > > > ---------- Original Message ----------- > From: ML > To: gambas-user at lists.sourceforge.net > Sent: Thu, 30 Jun 2016 10:51:41 -0300 > Subject: Re: [Gambas-user] Serial Port issues and events. > >> Alexie, >> >> Not really. This is my first attempt at a binary-exchange over serial in >> Gambas. Can't also find out the old G3 examples that might have existed >> about this and my web searches were unsuccessful. >> So, if you could point me to some example code to read a Byte[], I'll be >> grateful. My attempts to read to a Byte[] failed with SEGFAULT, or >> errors with no text. >> >> On the other hand, I just realized -again, happened to me in the past >> and I forgot it did- that the list does not send text inside RAW tags... >> The code can be seen only on Nabble's site, so I'm reinserting it here. >> Please excuse my notation; I know it's not Gambas standard. It's what I >> used for eons on QB45, VB3, VB4, VB5 VB6 and even .Net for my day to day >> work; (really) old habits die hard. >> >> Declarations: >> >> Private Const TEST_TX As String = "?1" '0x02-0xF8-0x31-0x03 - >> Nabble's RAW TEXT tags removed some data from the string >> Private Const TEST_RX As String = "" '0x02-0x15-0x03 - Nabble's RAW >> TEXT tags removed some data from the string >> Private m_tty As SerialPort >> Private m_rxBuff As String = Null >> >> Instancing and setting the port up: >> >> 'Instance serial port and set properties >> m_tty = New SerialPort As "myTty" 'This should call myTty_Read() >> when there is data to read from the port, but it does not seem to >> trigger. Wonder why. >> m_tty.PortName = "/dev/" & m_port >> m_tty.Speed = m_speed >> Select Case m_parity >> Case "No/Space" >> m_tty.Parity = SerialPort.None >> Case "Even" >> m_tty.Parity = SerialPort.Even >> Case "Odd" >> m_tty.Parity = SerialPort.Odd >> End Select >> m_tty.DataBits = m_bits >> m_tty.StopBits = m_stop >> >> 'Encoder use hardware handshake (RTS/CTS) >> m_tty.FlowControl = SerialPort.Hardware >> >> 'Try opening the port >> m_tty.Open() >> m_tty.Blocking = False >> m_tty.DTR = True >> >> Then, I send TEST_TX and expect for either TEST_RX or a timeout: >> >> Public Function Test() As Boolean >> >> Dim tOut As Date = DateAdd(Now, gb.Second, 2) >> >> 'Reset RX Buffer, send test command and check for timeout/response >> m_tty.Drop 'Kill remaining send data >> m_tty.Begin() 'Start buffering >> Write #m_tty, TEST_TX 'Add to send buffer >> m_rxBuff = Null 'Kill RX buffer >> m_tty.Send() 'Send buffer >> >> While (Now < tOut) And (m_rxBuff <> TEST_RX) >> Sleep 0.1 >> 'This IF below should not be needed, but myTty_Read() never fires >> otherwise! >> If m_tty.InputBufferSize > 0 Then >> myTty_Read() >> Endif >> Wend >> >> Finally >> Return (m_rxBuff = TEST_RX) >> >> Catch >> Message.Error("Error '" & Error.Text & "' occurred in " & Error.Where) >> >> End >> >> Finally, this next is the problem code. It does not fire as expected >> when data arrives, and when I call it by hand in the IF above, if I try >> to READ #m_tty As String it chops off the leading 0x02 byte, and I could >> not figure out how to READ #m_tty As Byte[] or As Object (I get a null >> error; nothing on the message.error text, and no OK button on it either): >> >> Public Sub myTty_Read() >> >> Dim dLen As Integer = m_tty.InputBufferSize >> Dim sgmnt As Byte[] 'String = Null 'This here is my desperate >> attempt to read As String or As Object... >> >> 'Data should be available in the serial port buffer >> 'sgmnt = Read #m_tty As String >> 'm_rxBuff &= sgmnt >> sgmnt = Read #m_tty As Object >> m_rxBuff &= sgmnt.ToString >> Debug "Rx: (" & CStr(dLen) & ") " & sgmnt >> >> Catch >> 'This is triggered when reading As Object or As Byte[]. But the >> text is NULL and has no OK button! >> Message.Error("Error '" & Error.Text & "' occurred in " & Error.Where) >> >> End >> >> A breakpoint in the "sgmnt = Read #m_tty As ..." line show that the >> value of "dLen" is three, which is OK. But when I try to READ As String, >> the leading 0x02 is missing from the string, leaving only 0x15-0x03 >> (quick tooltip shows the string to be "\x15\x03"). When this is later >> compared to TEST_RX in Test(), the comparison obviously fails. >> >> TIA, >> zxMarce. >> >> ------------------------------------------------------------------------------ >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >> present their vision of the future. This family event has something for >> everyone, including kids. Get more information and register today. >> http://sdm.link/attshape >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Thu Jun 30 18:08:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 16:08:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Tobias BOEGE changed the state of the bug to: Working. From bugtracker at ...3416... Thu Jun 30 18:09:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 16:09:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Comment #1 by Tobias BOEGE: Thanks for the report. I need your assistance with this because I have only stable openssl available. Could you try to compile the latest revision #7806 and tell me if it works? By "works" I mean compiles and runs the attached project with the expected output. From bugtracker at ...3416... Thu Jun 30 18:10:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 16:10:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Tobias BOEGE added an attachment: test_openssl-0.0.2.tar.gz From ualex73 at ...626... Thu Jun 30 18:22:18 2016 From: ualex73 at ...626... (Alexie) Date: Thu, 30 Jun 2016 18:22:18 +0200 Subject: [Gambas-user] Serial Port issues and events. In-Reply-To: <57753E69.2080105@...626...> References: <1467281860706-56614.post@...3046...> <577523ED.2090007@...626...> <20160630143027.M29168@...951...> <57753E69.2080105@...626...> Message-ID: To read into an array, do something like: Public Sub SerialPort_Read() Dim aData As New Byte[] Dim iLen As Integer iLen = Lof(Last) aData.Resize(iLen) Try aData.Read(Last, 0, iLen) End 2016-06-30 17:44 GMT+02:00 ML : > Fernando, > > I know what you mean. In my case I just wanted to show in the examples > which bytes come and go through the port. > I do know 0x02 (&H2 for Gambas) is a single byte with value 2. I'm not > transmitting "0-x-0-2" over the wire as 4 bytes, I'm just transmitting a > string whose first character has ASCII value 0x02. > > I have also been coding for years (started with QB45 in the nineties, > and before that with ZX-81 and ZXSpectrum in BASIC and even Assembler). > I have coded several countries' Fiscal Printer interfaces for my company > (all of them RS232C). But all this I did on Mr Gates' in-operating > systems and IDEs. > > I do not know, though, the basics of RS232 I/O on Gambas3, methinks: > I do not know -for example- what is wrong in my code that makes serial > xxx_READ events not trigger. > I also do not know how to write/read proper binary-as-string (or even > bynary-as-byte[]) to/from RS232. > > My particular issue with the program: > When the .InputBufferSize is not zero, it shows 3, which is correct (I'm > expecting three bytes or chars, with values 0x02-0x15-0x03). > Immediately afterwards, when I READ these bytes into a string (the only > working thing so far), the first byte (0x02) is chopped off and the LEN > of the resulting string is 2. > I wonder: How come? There were three bytes in the buffer and I get a two > byte string! > I think Gambas is treating the 0x02 as a string-lenght indicator, and > fills the string with the rest of the buffer, therefore fetching 2 > characters (this seems backed because the string gets the 0x15 and 0x03 > bytes as its contents). But I need all three bytes. > My not-so-wild-guess (which agrees with your advise) is that I must use > Byte[] and not String to read these blocks. Problem is twofold: > 1- (BAD) Cannot get the _READ event to trigger > 2- (WORSE) Cannot figure out how to make Gambas return a Byte[] with the > buffer contents. > > Any pointers or working examples in those directions WILL help. Hope I > explained myself better now. > > Regards, > zxMarce. > > On 2016-06-30 11:34, nando_f at ...951... wrote: > > I've done extensive work with the serial port for a dozen years > > with 100% success 24 hour operation. > > > > Sometimes people get mixed up with "0x02" thinking it's binary. > > That is 4 characters ascii. > > I prefer to use chr(2) to create a 1 length string binary 2. > > If you're going to use byte[] array > > then byte[0] = 2 is the equivalent. > > Using escape (like HTML encoding) is the incorrect thinking > > -Fernando > > > > -- > > Open WebMail Project (http://openwebmail.org) > > > > > > ---------- Original Message ----------- > > From: ML > > To: gambas-user at lists.sourceforge.net > > Sent: Thu, 30 Jun 2016 10:51:41 -0300 > > Subject: Re: [Gambas-user] Serial Port issues and events. > > > >> Alexie, > >> > >> Not really. This is my first attempt at a binary-exchange over serial in > >> Gambas. Can't also find out the old G3 examples that might have existed > >> about this and my web searches were unsuccessful. > >> So, if you could point me to some example code to read a Byte[], I'll be > >> grateful. My attempts to read to a Byte[] failed with SEGFAULT, or > >> errors with no text. > >> > >> On the other hand, I just realized -again, happened to me in the past > >> and I forgot it did- that the list does not send text inside RAW tags... > >> The code can be seen only on Nabble's site, so I'm reinserting it here. > >> Please excuse my notation; I know it's not Gambas standard. It's what I > >> used for eons on QB45, VB3, VB4, VB5 VB6 and even .Net for my day to day > >> work; (really) old habits die hard. > >> > >> Declarations: > >> > >> Private Const TEST_TX As String = " ?1 " '0x02-0xF8-0x31-0x03 - > >> Nabble's RAW TEXT tags removed some data from the string > >> Private Const TEST_RX As String = " " '0x02-0x15-0x03 - Nabble's RAW > >> TEXT tags removed some data from the string > >> Private m_tty As SerialPort > >> Private m_rxBuff As String = Null > >> > >> Instancing and setting the port up: > >> > >> 'Instance serial port and set properties > >> m_tty = New SerialPort As "myTty" 'This should call myTty_Read() > >> when there is data to read from the port, but it does not seem to > >> trigger. Wonder why. > >> m_tty.PortName = "/dev/" & m_port > >> m_tty.Speed = m_speed > >> Select Case m_parity > >> Case "No/Space" > >> m_tty.Parity = SerialPort.None > >> Case "Even" > >> m_tty.Parity = SerialPort.Even > >> Case "Odd" > >> m_tty.Parity = SerialPort.Odd > >> End Select > >> m_tty.DataBits = m_bits > >> m_tty.StopBits = m_stop > >> > >> 'Encoder use hardware handshake (RTS/CTS) > >> m_tty.FlowControl = SerialPort.Hardware > >> > >> 'Try opening the port > >> m_tty.Open() > >> m_tty.Blocking = False > >> m_tty.DTR = True > >> > >> Then, I send TEST_TX and expect for either TEST_RX or a timeout: > >> > >> Public Function Test() As Boolean > >> > >> Dim tOut As Date = DateAdd(Now, gb.Second, 2) > >> > >> 'Reset RX Buffer, send test command and check for timeout/response > >> m_tty.Drop 'Kill remaining send data > >> m_tty.Begin() 'Start buffering > >> Write #m_tty, TEST_TX 'Add to send buffer > >> m_rxBuff = Null 'Kill RX buffer > >> m_tty.Send() 'Send buffer > >> > >> While (Now < tOut) And (m_rxBuff <> TEST_RX) > >> Sleep 0.1 > >> 'This IF below should not be needed, but myTty_Read() never fires > >> otherwise! > >> If m_tty.InputBufferSize > 0 Then > >> myTty_Read() > >> Endif > >> Wend > >> > >> Finally > >> Return (m_rxBuff = TEST_RX) > >> > >> Catch > >> Message.Error("Error '" & Error.Text & "' occurred in " & > Error.Where) > >> > >> End > >> > >> Finally, this next is the problem code. It does not fire as expected > >> when data arrives, and when I call it by hand in the IF above, if I try > >> to READ #m_tty As String it chops off the leading 0x02 byte, and I could > >> not figure out how to READ #m_tty As Byte[] or As Object (I get a null > >> error; nothing on the message.error text, and no OK button on it > either): > >> > >> Public Sub myTty_Read() > >> > >> Dim dLen As Integer = m_tty.InputBufferSize > >> Dim sgmnt As Byte[] 'String = Null 'This here is my desperate > >> attempt to read As String or As Object... > >> > >> 'Data should be available in the serial port buffer > >> 'sgmnt = Read #m_tty As String > >> 'm_rxBuff &= sgmnt > >> sgmnt = Read #m_tty As Object > >> m_rxBuff &= sgmnt.ToString > >> Debug "Rx: (" & CStr(dLen) & ") " & sgmnt > >> > >> Catch > >> 'This is triggered when reading As Object or As Byte[]. But the > >> text is NULL and has no OK button! > >> Message.Error("Error '" & Error.Text & "' occurred in " & > Error.Where) > >> > >> End > >> > >> A breakpoint in the "sgmnt = Read #m_tty As ..." line show that the > >> value of "dLen" is three, which is OK. But when I try to READ As String, > >> the leading 0x02 is missing from the string, leaving only 0x15-0x03 > >> (quick tooltip shows the string to be "\x15\x03"). When this is later > >> compared to TEST_RX in Test(), the comparison obviously fails. > >> > >> TIA, > >> zxMarce. > >> > >> > ------------------------------------------------------------------------------ > >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries > >> present their vision of the future. This family event has something for > >> everyone, including kids. Get more information and register today. > >> http://sdm.link/attshape > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------- End of Original Message ------- > > > > > > > ------------------------------------------------------------------------------ > > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > > present their vision of the future. This family event has something for > > everyone, including kids. Get more information and register today. > > http://sdm.link/attshape > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Jun 30 19:02:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 17:02:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Comment #2 by Gianfranco COSTAMAGNA: E_BUILDFAILURE: c_digest.c: In function 'DigestMethod_Hash': c_digest.c:138:13: error: storage size of 'ctx' isn't known EVP_MD_CTX ctx; From bugtracker at ...3416... Thu Jun 30 19:07:13 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 17:07:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Gianfranco COSTAMAGNA added an attachment: Screenshot from 2016-06-30 19-06-44.png From bugtracker at ...3416... Thu Jun 30 19:08:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 17:08:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Comment #3 by Gianfranco COSTAMAGNA: I commented the ctx on c_digest.c, opened the test project, clicked on "play" button and the attached image is the result. Note: I'm using 3.8.4 with the patch on your commit (applies cleanly) From herberthguzman at ...626... Thu Jun 30 19:08:39 2016 From: herberthguzman at ...626... (herberth guzman) Date: Thu, 30 Jun 2016 11:08:39 -0600 Subject: [Gambas-user] gbTerminal Message-ID: > > Thanks Benoit for Gambas3 > Thanks Fabien for gb.form.terminal > Thanks Benoit and Fabien for gb.form.terminal >The terminal idea is from me but most of the code is from Beno?t. I did not know Fabien. Benoit, thank you for gb.form.terminal and congratulations to Gambas3 development team, excellent team, excellent work. > I created a form_terminal(lxterminal, qterminal) > uploaded the project (gbTerminal) to gambasfarm > The only thing I did was customize what Fabien developed. > > Regards > > Herberth Guzm?n From bugtracker at ...3416... Thu Jun 30 19:37:35 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 30 Jun 2016 17:37:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Comment #4 by Tobias BOEGE: I suppose that the c_digest.c file has a wrong version (if you use some automatic build system, does it maybe revert patches to match their known checksums?) because c_digest.c line 138 contains a comment, not a declaration of EVP_MD_CTX. The previous version had that declaration in line 138. I removed all non-pointers to EVP_* structures in my commit (just double-checked). If you look at https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.openssl/src/c_digest.c, line 200 you see that the 'ctx' variable in DigestMethod_Hash is now a pointer to EVP_MD_CTX. >Note: I'm using 3.8.4 with the patch on your commit That shouldn't be a problem. Apparently gb.openssl wasn't touched since 2014. From charlie at ...2793... Thu Jun 30 20:19:18 2016 From: charlie at ...2793... (Charlie) Date: Thu, 30 Jun 2016 11:19:18 -0700 (MST) Subject: [Gambas-user] Is this a bug Message-ID: <1467310758090-56630.post@...3046...> I have tried this using gb.gui/gb.gtk3/gb.qt4 and it fails, is this a bug? Public Sub Button1_Click() SpinBox1.Enabled = False 'O.K. SpinBar1.Enabled = False 'Doesn't work End -- View this message in context: http://gambas.8142.n7.nabble.com/Is-this-a-bug-tp56630.html Sent from the gambas-user mailing list archive at Nabble.com.