From gambas at ...2524... Fri Aug 1 01:34:24 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 31 Jul 2014 23:34:24 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-3.5.0 Comment #1 on issue 544 by benoit.m... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 The FileView preview task does not write any '\r' character on its standard output, so please try to provide an example of the bug that I can reproduce on my computer. Thanks! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 01:35:24 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 31 Jul 2014 23:35:24 +0000 Subject: [Gambas-user] Issue 543 in gambas: Wrong string literal doesn't handled by IDE in Form files In-Reply-To: <1-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> <0-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version-3.1.1 Version-3.1.0 Comment #2 on issue 543 by benoit.m... at ...626...: Wrong string literal doesn't handled by IDE in Form files http://code.google.com/p/gambas/issues/detail?id=543 I cannot reproduce the bug, so I think it has been fixed, and I suggest that you upgrade your Gambas version. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 07:35:33 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 05:35:33 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <1-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Comment #2 on issue 544 by uAle... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 Hi Benoit, See the attached screenshot, when I put a breakpoint on the read data from the task. Sorry i mixed "\n\r", the order is in the example "\r\n". Attachments: screenshot.png 118 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 10:17:16 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 08:17:16 +0000 Subject: [Gambas-user] Issue 543 in gambas: Wrong string literal doesn't handled by IDE in Form files In-Reply-To: <2-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> <0-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> Comment #3 on issue 543 by MihanEnt... at ...2736...: Wrong string literal doesn't handled by IDE in Form files http://code.google.com/p/gambas/issues/detail?id=543 Ok, thanks for a reply. I'll try newer version (now I'm bound to a Debian Wheezy' package version). Allow me to as a question: to fix this (already fixed) bug in a Debian package, I should search for the reason of bug in the source of IDE, and when contact Debian maintainer, who is involved with gambas package? I'm asking because I'm not quite sure, that I understood the way bugfixes reach package repositiory -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 11:18:06 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 09:18:06 +0000 Subject: [Gambas-user] Issue 543 in gambas: Wrong string literal doesn't handled by IDE in Form files In-Reply-To: <3-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> <0-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-12730224413432431724-gambas=googlecode.com@...2524...> Comment #4 on issue 543 by benoit.m... at ...626...: Wrong string literal doesn't handled by IDE in Form files http://code.google.com/p/gambas/issues/detail?id=543 I don't think you will find anything about your bug. It's usual that you find a bug in an old version that was fixed without having noticed it! So just try a newer version (the latest one if possible) and check that you don't have the bug anymore. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 11:20:47 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 09:20:47 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <2-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Comment #3 on issue 544 by benoit.m... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 Mmm, weird. I think there is a bad side effect somewhere. If you can provide me your project or a similar one so that I can reproduce the bug on my machine, I may understand what happens exactly... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Fri Aug 1 11:31:49 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 01 Aug 2014 11:31:49 +0200 Subject: [Gambas-user] gambas3 printer In-Reply-To: <1406828958.3552.28.camel@...40...> References: <1406828958.3552.28.camel@...40...> Message-ID: <53DB5E85.9040505@...1...> Le 31/07/2014 19:49, Charlie Reinl a ?crit : > Salut Beno?t, > > digging around the gambas3 printer object, I can now say the following: > > - you can not set printer.paper=0, what means set to gambas 'Custom', > you earn a default.paper, in my case A4 > > - changing PaperWidth and/or PaperHeight that will changing also > printer.paper > > - Changing from printer.orientation works well for A4 (my be all > gambas3 supported paper formats), PaperWidth and PaperHeight are > changed, but not for other possible Formats, changed by gambas3 to > 'Custom' with PaperWidth/PaperHeight set. > > That works all well if use printer.Configure, but the troubles are I > want to save this settings for a later use, so the values of the gambas3 > printer object counts for me. > > Thanks for your attention. > This strange behaviour actually comes from the Qt library. I will try to override it so that things become more logical. -- Beno?t Minisini From gambas at ...2524... Fri Aug 1 13:59:11 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 11:59:11 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <6-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Comment #7 on issue 540 by uAle... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 It doesn't work here YET. I get the following error message (revision 6408): 'SmtpSession.Connect' is incorrectly overridden in class 'SslSession'' The connection routine seems to accept different parameter (2 vs 3) then the SmtpSession cone. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 14:04:53 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 12:04:53 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <7-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Comment #8 on issue 540 by uAle... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 Weirdly with a failed authentication, the gbx3 is hanging (100%). The gdb attach to the gbx3 is showing only the following: (gdb) bt #0 0x000000000041525f in STREAM_lof (stream=stream at ...2861...=0x2e0f358, len=len at ...2861...=0x7fff409d9510) at gbx_stream.c:1513 #1 0x000000000042e3a5 in stop_process_after (_object=0x2e0f348) at gbx_c_process.c:328 #2 stop_process (process=0x2e0f348) at gbx_c_process.c:368 #3 0x000000000042e45f in wait_child (process=0x2e0f348) at gbx_c_process.c:780 #4 0x000000000042e47b in callback_child (signum=, data=) at gbx_c_process.c:806 #5 0x00000000004322ad in SIGNAL_raise_callbacks (fd=, type=, data=) at gbx_signal.c:204 #6 0x00007f6fa3567730 in CWatch::read (this=0x2e0a870, fd=61) at CWatch.cpp:145 #7 0x00007f6fa22a987a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007f6fa22f42ae in QSocketNotifier::activated(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #9 0x00007f6fa22b264b in QSocketNotifier::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #10 0x00007f6fa27c6e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #11 0x00007f6fa27cd4a0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #12 0x00007f6fa22954dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #13 0x00007f6fa22c34a8 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #14 0x00007f6fa12d1e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x00007f6fa12d2048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #16 0x00007f6fa12d20ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007f6fa22c27a1 in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #18 0x00007f6fa2868bb6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #19 0x00007f6fa22940af in QEventLoop::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #20 0x00007f6fa22943a5 in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #21 0x00007f6fa2299b79 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #22 0x00007f6fa35450ad in hook_loop () at main.cpp:834 #23 0x000000000040498e in main (argc=1, argv=0x7fff409d9fb8) at gbx.c:434 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 14:10:19 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 12:10:19 +0000 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <8-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Comment #9 on issue 540 by benoit.m... at ...626...: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) http://code.google.com/p/gambas/issues/detail?id=540 #7 fixed in revision #6409. For #8 I don't know. For development code, I suggest that you use the mailing-list instead. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From ualex73 at ...626... Fri Aug 1 14:37:31 2014 From: ualex73 at ...626... (Alexie) Date: Fri, 1 Aug 2014 14:37:31 +0200 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <9-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <8-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <9-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: Hi Benoit, For #8, i think the problem is that during SSL authentication failure, the openssl isn't killed off properly. Just before the kill, it looks fine: me at ...1008...:~$ ps -ef | grep -i open me 3221 3193 0 14:32 pts/23 00:00:00 /usr/bin/openssl s_client -quiet -connect smtp.gmail.com 465 me 3227 23308 0 14:32 pts/22 00:00:00 grep --color=auto -i open After the kill it doesn't: me at ...1008...:~$ ps -ef | grep -i open me 3221 3193 0 14:32 pts/23 00:00:00 [openssl] me 3229 23308 0 14:32 pts/22 00:00:00 grep --color=auto -i open Also the state value is 1, which is running? Regards, Alex 2014-08-01 14:10 GMT+02:00 : > > Comment #9 on issue 540 by benoit.m... at ...626...: gb.net.smtp doesn't work > with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) > http://code.google.com/p/gambas/issues/detail?id=540 > > #7 fixed in revision #6409. For #8 I don't know. > > For development code, I suggest that you use the mailing-list instead. > > -- > You received this message because this project is configured to send all > issue notifications to this address. > You may adjust your notification preferences at: > https://code.google.com/hosting/settings > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Aug 1 14:57:15 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Aug 2014 14:57:15 +0200 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: References: <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <8-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <9-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> Message-ID: <53DB8EAB.5010704@...1...> Le 01/08/2014 14:37, Alexie a ?crit : > Hi Benoit, > > For #8, i think the problem is that during SSL authentication failure, the > openssl isn't killed off properly. > > Just before the kill, it looks fine: > me at ...1008...:~$ ps -ef | grep -i open > me 3221 3193 0 14:32 pts/23 00:00:00 /usr/bin/openssl s_client -quiet > -connect smtp.gmail.com 465 > me 3227 23308 0 14:32 pts/22 00:00:00 grep --color=auto -i open > > After the kill it doesn't: > me at ...1008...:~$ ps -ef | grep -i open > me 3221 3193 0 14:32 pts/23 00:00:00 [openssl] > me 3229 23308 0 14:32 pts/22 00:00:00 grep --color=auto -i open > > Also the state value is 1, which is running? > > Regards, > Alex > Is it better with revision #6410? -- Beno?t Minisini From ualex73 at ...626... Fri Aug 1 15:26:55 2014 From: ualex73 at ...626... (Alexie) Date: Fri, 1 Aug 2014 15:26:55 +0200 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <53DB8EAB.5010704@...1...> References: <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <8-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <9-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <53DB8EAB.5010704@...1...> Message-ID: Hi Benoit, Not, that doesn't seem to solve the issue. I am looking into the SmtpClient code, maybe i can spot something, i will let you know. Regards, Alex 2014-08-01 14:57 GMT+02:00 Beno?t Minisini : > Le 01/08/2014 14:37, Alexie a ?crit : > > Hi Benoit, > > > > For #8, i think the problem is that during SSL authentication failure, > the > > openssl isn't killed off properly. > > > > Just before the kill, it looks fine: > > me at ...1008...:~$ ps -ef | grep -i open > > me 3221 3193 0 14:32 pts/23 00:00:00 /usr/bin/openssl s_client > -quiet > > -connect smtp.gmail.com 465 > > me 3227 23308 0 14:32 pts/22 00:00:00 grep --color=auto -i open > > > > After the kill it doesn't: > > me at ...1008...:~$ ps -ef | grep -i open > > me 3221 3193 0 14:32 pts/23 00:00:00 [openssl] > > me 3229 23308 0 14:32 pts/22 00:00:00 grep --color=auto -i open > > > > Also the state value is 1, which is running? > > > > Regards, > > Alex > > > > Is it better with revision #6410? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Fri Aug 1 21:30:40 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 19:30:40 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <3-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Comment #4 on issue 544 by uAle... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 Ok, found it ! The bug isn't in the FileChooser ... The bug appears when you enable Component gb.web Attached is the example project "Testapp3.tar.gz", which only print "alex" and should print only 1 char for unix end-of-line, but it writes 2 characters (windows style). So i expect it is a bug in gb.web ;-) Attachments: TestApp3.tar.gz 4.9 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 22:13:05 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 20:13:05 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <4-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #5 on issue 544 by benoit.m... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 No, this is not a bug in gb.web, it's the side effect I was talking about. The Task standard output inherits the state of the parent's standard output, which has "Windows" end-of-line set through gb.web. By the way, why do you use gb.web, which is for making CGI script with no GUI, and the FileChooser that needs a GUI? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 22:15:46 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 20:15:46 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <5-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Comment #6 on issue 544 by uAle... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 It is used in the DomotiGa GUI, to encode and decode JSON. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 22:19:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 20:19:37 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <6-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Comment #7 on issue 544 by benoit.m... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 You should extract the JSON class from gb.web for your own use, it will be safer. Until I put that in another component (gb.json?). But one component for just one class... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 22:29:31 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 20:29:31 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <7-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #8 on issue 544 by benoit.m... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 Can you try revision #6412? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 1 22:49:19 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 20:49:19 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <8-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Comment #9 on issue 544 by uAle... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 Yups, revision 6412 works perfect :-) Thanks for the quick fix. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Aug 2 01:06:57 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Aug 2014 23:06:57 +0000 Subject: [Gambas-user] Issue 544 in gambas: Gambas doesn't show images tumbnails with FileChooser In-Reply-To: <9-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> <0-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-7203690705262611703-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #10 on issue 544 by benoit.m... at ...626...: Gambas doesn't show images tumbnails with FileChooser http://code.google.com/p/gambas/issues/detail?id=544 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From ualex73 at ...626... Sat Aug 2 18:26:23 2014 From: ualex73 at ...626... (Alexie) Date: Sat, 2 Aug 2014 18:26:23 +0200 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: References: <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <8-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <9-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <53DB8EAB.5010704@...1...> Message-ID: Hi Benoit, I have tested it with the TRUNK and copying in the "SmtpClient" code into the stable 3.5.3/3.5.4 and it works fine with the stable, but the same code signal-11 on the TRUNK. So it isn't a bug in the new SmtpClient, so best to revert #6410 i think. Regards, Alex 2014-08-01 15:26 GMT+02:00 Alexie : > Hi Benoit, > > Not, that doesn't seem to solve the issue. I am looking into the > SmtpClient code, maybe i can spot something, i will let you know. > > Regards, > Alex > > > 2014-08-01 14:57 GMT+02:00 Beno?t Minisini : > > Le 01/08/2014 14:37, Alexie a ?crit : >> > Hi Benoit, >> > >> > For #8, i think the problem is that during SSL authentication failure, >> the >> > openssl isn't killed off properly. >> > >> > Just before the kill, it looks fine: >> > me at ...1008...:~$ ps -ef | grep -i open >> > me 3221 3193 0 14:32 pts/23 00:00:00 /usr/bin/openssl s_client >> -quiet >> > -connect smtp.gmail.com 465 >> > me 3227 23308 0 14:32 pts/22 00:00:00 grep --color=auto -i open >> > >> > After the kill it doesn't: >> > me at ...1008...:~$ ps -ef | grep -i open >> > me 3221 3193 0 14:32 pts/23 00:00:00 [openssl] >> > me 3229 23308 0 14:32 pts/22 00:00:00 grep --color=auto -i open >> > >> > Also the state value is 1, which is running? >> > >> > Regards, >> > Alex >> > >> >> Is it better with revision #6410? >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From karl.reinl at ...9... Sat Aug 2 19:28:40 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 02 Aug 2014 19:28:40 +0200 Subject: [Gambas-user] problems between 3.5.4 and svn Message-ID: <1407000520.4113.31.camel@...40...> Salut Beno?t, if you open a project saved on svn version with the 3.5.4 one all run (till now) well, but the Shortcut makes the different. The form who has caught the Text = Shortcut(("cancel"), "c") Have to cleaned up by a newly save. But their they lose the Text property. Could that be possible, to save svn developed projects without the Shortcut feature ? (on a svn-Version we have 'Update All Forms' to go back) -- Amicalement Charlie From gambas at ...2524... Sat Aug 2 21:00:19 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 02 Aug 2014 19:00:19 +0000 Subject: [Gambas-user] Issue 545 in gambas: Cannot execute .gambas programs anymore after update to Ubuntu 14.04 Message-ID: <0-6813199134517018827-14827897771961652571-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 545 by keithcla... at ...626...: Cannot execute .gambas programs anymore after update to Ubuntu 14.04 http://code.google.com/p/gambas/issues/detail?id=545 After upgrading to Ubuntu 14.04 I can no longer run any of my .gambas programs. When I try from the command line I get the following: marg at ...2383...:~/Desktop/BW Database$ ./mysqlconnection_V0_1_16.gambas /usr/bin/env: gbr2: No such file or directory Not sure what is wrong here, but I'm assuming it is something to do with the packages in the repository for Ubuntu 14.04? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Aug 2 21:38:55 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 02 Aug 2014 19:38:55 +0000 Subject: [Gambas-user] Issue 546 in gambas: Cannot connect to an existing MySQL database Message-ID: <0-6813199134517018827-12665483459760037288-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 546 by keithcla... at ...626...: Cannot connect to an existing MySQL database http://code.google.com/p/gambas/issues/detail?id=546 When trying to connect to an existing MySQL database I get the following error: Cannot find driver for database: MySQL. DatabaseConnection.Connect.28 I have installed the gambas3-gb-db-mysql 3.3.3~precise1 file through synaptic. This is on Ubuntu 14.04 running Gambas 3.3.3 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Aug 2 21:50:16 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 02 Aug 2014 19:50:16 +0000 Subject: [Gambas-user] Issue 546 in gambas: Cannot connect to an existing MySQL database In-Reply-To: <0-6813199134517018827-12665483459760037288-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12665483459760037288-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12665483459760037288-gambas=googlecode.com@...2524...> Comment #1 on issue 546 by keithcla... at ...626...: Cannot connect to an existing MySQL database http://code.google.com/p/gambas/issues/detail?id=546 This is solved. It seems converting a program from Gambas 2 to Gambas 3 does not enable all options. The MySQL option was not selected. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Aug 2 21:53:06 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 02 Aug 2014 19:53:06 +0000 Subject: [Gambas-user] Issue 547 in gambas: Cannot execute a .gambas program Message-ID: <0-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Linux Dist-Ubuntu Arch-Any Desktop-Any GUI-Unity New issue 547 by keithcla... at ...626...: Cannot execute a .gambas program http://code.google.com/p/gambas/issues/detail?id=547 Ubuntu 14.04 Gambas 3.1.1 I get the following error when trying to run a .gambas program: gbr3: no project file in './mysqlconnection_V0_1_17.gambas' -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Sun Aug 3 02:16:10 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 3 Aug 2014 02:16:10 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6414] gambas/trunk In-Reply-To: References: Message-ID: <20140803001610.GA27726@...2774...> On Sat, 02 Aug 2014, gambas at ...1... wrote: > Revision: 6414 > http://sourceforge.net/p/gambas/code/6414 > Author: gambas > Date: 2014-08-02 22:50:08 +0000 (Sat, 02 Aug 2014) > Log Message: > ----------- > [...] > [GB.FORM] > * NEW: ListContainer has been deprecated. It has design problems. > [...] > Design problems in theory or in the current interface? I liked this thing. Will there be a replacement? I have (visually, not source-wise) looked at the new IDE's "recent projects" listing. It looks as if it was made with something that can replace the ListContainer. I don't know what it is and how difficult it was to write but it seems to have a noticeable latency here, in both drawing (scroll away one entire view quickly) and reaction to hovering with the mouse... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Aug 3 03:23:39 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 03 Aug 2014 03:23:39 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6414] gambas/trunk In-Reply-To: <20140803001610.GA27726@...2774...> References: <20140803001610.GA27726@...2774...> Message-ID: <53DD8F1B.9060701@...1...> Le 03/08/2014 02:16, Tobias Boege a ?crit : > On Sat, 02 Aug 2014, gambas at ...1... wrote: >> Revision: 6414 >> http://sourceforge.net/p/gambas/code/6414 >> Author: gambas >> Date: 2014-08-02 22:50:08 +0000 (Sat, 02 Aug 2014) >> Log Message: >> ----------- >> [...] >> [GB.FORM] >> * NEW: ListContainer has been deprecated. It has design problems. >> [...] >> > > Design problems in theory or in the current interface? I liked this thing. > Will there be a replacement? > > I have (visually, not source-wise) looked at the new IDE's "recent projects" > listing. It looks as if it was made with something that can replace the > ListContainer. I don't know what it is and how difficult it was to write but > it seems to have a noticeable latency here, in both drawing (scroll away one > entire view quickly) and reaction to hovering with the mouse... > > Regards, > Tobi > Mmm. What's the power of your computer? I removed the ListContainer, and used a ScrollView instead with custom control inside. As a ListContainer is a ScrollView with custom control inside too, this should not make a huge difference. But the control that represents a project is drawn with a radial gradient inside, maybe the slowness comes from that? If you want to do some tests, the control is the class named 'ProjectBox'. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Sun Aug 3 19:01:10 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 3 Aug 2014 12:31:10 -0430 Subject: [Gambas-user] for what "Dialog box management"? In-Reply-To: References: Message-ID: > Salut Piccoro, > > the time write your mail, you could also try it. > Checked you get a fine designed, well working form with 2 buttons > well arranged in a HBox, one is [OK] and the other is [Cancel]. > Both with full functionality. Well, actually I had already tried, and given the interesting thing about this is that I asked due i just think that maybe more will be and not only "well designed form", i also thinkg must be by default in 3.6 gambas release From introlinux at ...626... Mon Aug 4 10:36:38 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Mon, 4 Aug 2014 10:36:38 +0200 Subject: [Gambas-user] Just curious Message-ID: Why was the decision to hide the code in hidden folders? Nobody finds it odd open source folder and see nothing or sometimes some loose images? From taboege at ...626... Mon Aug 4 11:48:14 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 4 Aug 2014 11:48:14 +0200 Subject: [Gambas-user] Just curious In-Reply-To: References: Message-ID: <20140804094814.GA958@...2774...> On Mon, 04 Aug 2014, Antonio S??nchez wrote: > Why was the decision to hide the code in hidden folders? > Nobody finds it odd open source folder and see nothing or sometimes some > loose images? Here you have it: [0]. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Mon Aug 4 11:53:38 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 4 Aug 2014 11:53:38 +0200 Subject: [Gambas-user] Just curious In-Reply-To: <20140804094814.GA958@...2774...> References: <20140804094814.GA958@...2774...> Message-ID: <20140804095338.GB958@...2774...> On Mon, 04 Aug 2014, Tobias Boege wrote: > On Mon, 04 Aug 2014, Antonio S??nchez wrote: > > Why was the decision to hide the code in hidden folders? > > Nobody finds it odd open source folder and see nothing or sometimes some > > loose images? > > Here you have it: [0]. > :-) [0] http://sourceforge.net/p/gambas/mailman/message/25810996/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From introlinux at ...626... Mon Aug 4 12:43:52 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Mon, 4 Aug 2014 12:43:52 +0200 Subject: [Gambas-user] Just curious In-Reply-To: <20140804095338.GB958@...2774...> References: <20140804094814.GA958@...2774...> <20140804095338.GB958@...2774...> Message-ID: Interesting. It would be cool to have an option for saving all in the final executable, just in case you lose de code, and a way to recover it :-P. Out of date, I actually hide folders and files on linux with gobohide path in the kernel in the laptop of my son with PicarOS linux distribution. Not like dot files, it is a really hide. In PicarOS you can't see any directory in / except home, and in user directory you can't see any dot file even you clic in "show hidden files" in your file browser (even in console). If you know the path you can do "cd hiddenpath" to get into the directory. 2014-08-04 11:53 GMT+02:00 Tobias Boege : > On Mon, 04 Aug 2014, Tobias Boege wrote: > > On Mon, 04 Aug 2014, Antonio S??nchez wrote: > > > Why was the decision to hide the code in hidden folders? > > > Nobody finds it odd open source folder and see nothing or sometimes > some > > > loose images? > > > > Here you have it: [0]. > > > > :-) > > [0] http://sourceforge.net/p/gambas/mailman/message/25810996/ > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Aug 5 01:57:18 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Aug 2014 23:57:18 +0000 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example Message-ID: <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-Any Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 548 by mckayger... at ...626...: complete code of htttp post example http://code.google.com/p/gambas/issues/detail?id=548 1) Describe the problem. the "http post" example makes request to an url that seems are a php code and the request and response looks like a web service.. but i cant view the php code, some people like me that are not so smart wish the code to see how works.. 5) Explain clearly how to reproduce the bug or the crash. open the http post example and click "edit source" and can seee code for make request, but cannot see code for make responses 6) suggestions a) provide the code of php script to better understand of some non so smart people like me ;-( b) make a gambas script and call directly with curl, by runnig throught the internal http componet server of gambas -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From rmorgan62 at ...626... Tue Aug 5 03:06:06 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 4 Aug 2014 19:06:06 -0600 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: PHP Code is simply a web script and while I have not seen the code, it is of no real value to a Gambas Developer. If you want to write php yes. Gambas no! That fact is it shouldn't make any difference whether the server side is using php, asp, java, html, etc... It only matters that the server responds! To see the response use firefox or chrome developer tools and look at the response. On Mon, Aug 4, 2014 at 5:57 PM, wrote: > Status: New > Owner: ---- > Labels: Version-Any Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any > Desktop-Any GUI-Any > > New issue 548 by mckayger... at ...626...: complete code of htttp post > example > http://code.google.com/p/gambas/issues/detail?id=548 > > 1) Describe the problem. > > the "http post" example makes request to an url that seems are a php code > and the request and response looks like a web service.. > > but i cant view the php code, some people like me that are not so smart > wish the code to see how works.. > > 5) Explain clearly how to reproduce the bug or the crash. > > open the http post example and click "edit source" and can seee code for > make request, but cannot see code for make responses > > 6) suggestions > > a) provide the code of php script to better understand of some non so smart > people like me ;-( > b) make a gambas script and call directly with curl, by runnig throught the > internal http componet server of gambas > > -- > You received this message because this project is configured to send all > issue notifications to this address. > You may adjust your notification preferences at: > https://code.google.com/hosting/settings > > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From mckaygerhard at ...626... Tue Aug 5 21:50:33 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 5 Aug 2014 15:20:33 -0430 Subject: [Gambas-user] requests to gambas cgi scripts issues Message-ID: i try to comunicate a desktop gambas app with a cgi web gabmas app, but seems i do not know how to make the request from the desktop app. i made that code: ================= Dim sCad As String POA = New HttpClient As "POA" sCad = "" sCad = sCad & "
" sCad = sCad & "" sCad = sCad & "" sCad = sCad & "" sCad = sCad & "
" sCad = sCad & "" POA.URL = "http://" & hostcentral & "/serialservicio/SSpeticiones1.webpage" POA.Post("text/html", sCad) ================= but do not work, with a simpel HTML form works perfectly, if i doing in wrong way , please telme how could i send data on request from a desktop gambas apllication to a web gambas aplication (some thing like webservice, jeje) the cgi script runs perfectly: ================= #!/usr/bin/env gbw3 <% USE "gb.vb" Dim printout As String Dim llamada As String Dim p1usuario As String Dim p1clave As String p1usuario = Request.post["p1usuario"] If (String.Comp(p1usuario, "") = 0) Then printout = "-1" Else p1clave = Request.post["p1clave"] printout = "exito: " & p1usuario & " " & p1clave Endif Endif Endif %> <%= printout %> ================= i tested and works with a html form: ===================
=================== Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From rterry at ...1823... Tue Aug 5 23:49:59 2014 From: rterry at ...1823... (richard terry) Date: Wed, 06 Aug 2014 07:49:59 +1000 Subject: [Gambas-user] table view display bug/anomalie Message-ID: <53E15187.4010305@...1823...> Hi Benoit, Don't know if anyone has ever noticed this, but if you have a table view and its contained in a split then if someone resizes the split whilst the table view is being edited, the editing control x.y doesn't move up (or down) when the split is resized and hence is out of alignment with the cell. Regards richard From Gambas at ...1950... Tue Aug 5 23:59:25 2014 From: Gambas at ...1950... (Caveat) Date: Tue, 05 Aug 2014 23:59:25 +0200 Subject: [Gambas-user] requests to gambas cgi scripts issues In-Reply-To: References: Message-ID: <53E153BD.4080605@...1950...> Here's a mail I wrote back in 2011 on calling web services from out of Gambas, perhaps it helps? I just extended the example program I worked up to include all 4 main ways of calling a Web Service. These are: Http GET, Http POST, SOAP 1.1, and SOAP 1.2. One problem I ran into is that Gambas3 seems a little too fussy about the valid content types and will give a runtime error on ones it doesn't like but it seems like they are perfectly valid. I found the trick was to set the content-type as first param on the call to HttpClient.Post() to empty string and 'manually' send a Content-Type header. Be aware that the public Web Service used here can be a little flaky, and does time out now and then (guess it depends how many people are hitting their server at once...). You can find the code on pastebin, nicely formatted, at http://pastebin.com/2gyxGzAP and here's the code in plain text style: ************************************************************************************************ Public Sub Test_Click() Dim http As HttpClient http = New HttpClient As "http" doHttpGet(http) showResult("Http GET", http) http = New HttpClient As "http" doHttpPost(http) showResult("Http POST", http) http = New HttpClient As "http" doSOAP11(http) showResult("SOAP 1.1", http) http = New HttpClient As "http" doSOAP12(http) showResult("SOAP 1.2", http) End Public Sub doHttpGet(http As HttpClient) http.URL = "http://www.webservicex.net/ConvertTemperature.asmx/ConvertTemp?Temperature=100&FromUnit=degreeCelsius&ToUnit=degreeFahrenheit" http.Async = False http.Timeout = 60 http.Get() End Public Sub doHttpPost(http As HttpClient) Dim data As String http.URL = "http://www.webservicex.net/ConvertTemperature.asmx/ConvertTemp" http.Async = False http.Timeout = 60 data = "Temperature=100&FromUnit=degreeCelsius&ToUnit=degreeFahrenheit" Print "Http POST data: " & data http.Post("application/x-www-form-urlencoded", data) End Public Sub doSoap11(http As HttpClient) Dim data, aHeader As String Dim headers As String[] http.URL ="http://www.webservicex.net/ConvertTemperature.asmx" http.Async = False http.Timeout = 60 data = "" & gb.newline & "" & gb.newline & " " & gb.newline & " " & gb.newline & " 100" & gb.newline & " degreeCelsius" & gb.newline & " degreeFahrenheit" & gb.newline & " " & gb.newline & " " & gb.newline & "" Print "Soap 1.1 data: " & data headers = ["Content-Type: text/xml; charset=utf-8", "Content-Length: " & Len(data), "SOAPAction: " & Chr$(34) & "http://www.webserviceX.NET/ConvertTemp" & Chr$(34)] For Each aHeader In headers Print "Sending SOAP 1.1 header: " & aHeader Next http.Post("", data, headers) End Public Sub doSoap12(http As HttpClient) Dim data, aHeader As String Dim headers As String[] http.URL ="http://www.webservicex.net/ConvertTemperature.asmx" http.Async = False http.Timeout = 60 data = "" & gb.newline & "" & gb.newline & " " & gb.newline & " " & gb.newline & " 100" & gb.newline & " degreeCelsius" & gb.newline & " degreeFahrenheit" & gb.newline & " " & gb.newline & " " & gb.newline & "" Print "Soap 1.2 data: " & data headers = ["Content-Type: application/soap+xml; charset=utf-8", "Content-Length: " & Len(data)] For Each aHeader In headers Print "Sending SOAP 1.2 header: " & aHeader Next http.Post("", data, headers) End Public Sub showResult(typeOfCall As String, http As HttpClient) Dim buffer, aHeader As String Print "*** Result for " & typeOfCall & " ***" If http.Status < 0 Then Print "ERROR" Else ' Success - read data If Lof(http) Then Read #http, buffer, Lof(http) Print buffer For Each aHeader In http.Headers Print "Got header: " & aHeader Next End If Print "*** End " & typeOfCall & " ***" End ************************************************************************************************ Results are as follows: *** Result for Http GET *** 212 Got header: HTTP/1.1 200 OK Got header: Cache-Control: private, max-age=0 Got header: Content-Length: 96 Got header: Content-Type: text/xml; charset=utf-8 Got header: Server: Microsoft-IIS/7.0 Got header: X-AspNet-Version: 4.0.30319 Got header: X-Powered-By: ASP.NET Got header: Date: Tue, 21 Jun 2011 14:44:45 GMT *** End Http GET *** Http POST data: Temperature=100&FromUnit=degreeCelsius&ToUnit=degreeFahrenheit *** Result for Http POST *** 212 Got header: HTTP/1.1 200 OK Got header: Cache-Control: private, max-age=0 Got header: Content-Length: 96 Got header: Content-Type: text/xml; charset=utf-8 Got header: Server: Microsoft-IIS/7.0 Got header: X-AspNet-Version: 4.0.30319 Got header: X-Powered-By: ASP.NET Got header: Date: Tue, 21 Jun 2011 14:45:06 GMT *** End Http POST *** Soap 1.1 data: 100 degreeCelsius degreeFahrenheit Sending SOAP 1.1 header: Content-Type: text/xml; charset=utf-8 Sending SOAP 1.1 header: Content-Length: 445 Sending SOAP 1.1 header: SOAPAction: "http://www.webserviceX.NET/ConvertTemp" *** Result for SOAP 1.1 *** 212 Got header: HTTP/1.1 200 OK Got header: Cache-Control: private, max-age=0 Got header: Content-Length: 367 Got header: Content-Type: text/xml; charset=utf-8 Got header: Server: Microsoft-IIS/7.0 Got header: X-AspNet-Version: 4.0.30319 Got header: X-Powered-By: ASP.NET Got header: Date: Tue, 21 Jun 2011 14:45:19 GMT *** End SOAP 1.1 *** Soap 1.2 data: 100 degreeCelsius degreeFahrenheit Sending SOAP 1.2 header: Content-Type: application/soap+xml; charset=utf-8 Sending SOAP 1.2 header: Content-Length: 453 *** Result for SOAP 1.2 *** 212 Got header: HTTP/1.1 200 OK Got header: Cache-Control: private, max-age=0 Got header: Content-Length: 365 Got header: Content-Type: application/soap+xml; charset=utf-8 Got header: Server: Microsoft-IIS/7.0 Got header: X-AspNet-Version: 4.0.30319 Got header: X-Powered-By: ASP.NET Got header: Date: Tue, 21 Jun 2011 14:45:37 GMT *** End SOAP 1.2 *** Hope this helps you to get your Web Service client up and running using whichever protocol suits you best. Regards, Caveat On 05/08/14 21:50, PICCORO McKAY Lenz wrote: > i try to comunicate a desktop gambas app with a cgi web gabmas app, but > seems i do not know how to make the request from the desktop app. > i made that code: > > ================= > Dim sCad As String > POA = New HttpClient As "POA" > > sCad = "" > sCad = sCad & "
method=post enctype=\"application/x-www-form-urlencoded\" >" > sCad = sCad & " />" > sCad = sCad & " />" > sCad = sCad & "" > sCad = sCad & "
" > sCad = sCad & "" > POA.URL = "http://" & hostcentral & > "/serialservicio/SSpeticiones1.webpage" > POA.Post("text/html", sCad) > ================= > > but do not work, > > with a simpel HTML form works perfectly, if i doing in wrong way , please > telme how could i send data on request from a desktop gambas apllication to > a web gambas aplication (some thing like webservice, jeje) > > the cgi script runs perfectly: > > ================= > #!/usr/bin/env gbw3 > <% > USE "gb.vb" > > Dim printout As String > Dim llamada As String > Dim p1usuario As String > Dim p1clave As String > > p1usuario = Request.post["p1usuario"] > If (String.Comp(p1usuario, "") = 0) Then > printout = "-1" > Else > p1clave = Request.post["p1clave"] > printout = "exito: " & p1usuario & " " & p1clave > Endif > Endif > Endif > %> > > <%= printout %> > ================= > > i tested and works with a html form: > > =================== > >
enctype="application/x-www-form-urlencoded" > > > > >
> > =================== > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Wed Aug 6 22:41:09 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 6 Aug 2014 22:41:09 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6414] gambas/trunk In-Reply-To: <53DD8F1B.9060701@...1...> References: <20140803001610.GA27726@...2774...> <53DD8F1B.9060701@...1...> Message-ID: <20140806204108.GA1050@...2774...> On Sun, 03 Aug 2014, Beno?t Minisini wrote: > Le 03/08/2014 02:16, Tobias Boege a ?crit : > > On Sat, 02 Aug 2014, gambas at ...1... wrote: > >> Revision: 6414 > >> http://sourceforge.net/p/gambas/code/6414 > >> Author: gambas > >> Date: 2014-08-02 22:50:08 +0000 (Sat, 02 Aug 2014) > >> Log Message: > >> ----------- > >> [...] > >> [GB.FORM] > >> * NEW: ListContainer has been deprecated. It has design problems. > >> [...] > >> > > > > Design problems in theory or in the current interface? I liked this thing. > > Will there be a replacement? > > > > I have (visually, not source-wise) looked at the new IDE's "recent projects" > > listing. It looks as if it was made with something that can replace the > > ListContainer. I don't know what it is and how difficult it was to write but > > it seems to have a noticeable latency here, in both drawing (scroll away one > > entire view quickly) and reaction to hovering with the mouse... > > > > Regards, > > Tobi > > > > Mmm. What's the power of your computer? > It's an Intel Core i3 550 (2 cores * 2 HT/core, a 3.20 GHz) if your question targets the CPU in action. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Wed Aug 6 22:44:19 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 06 Aug 2014 20:44:19 +0000 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Comment #1 on issue 548 by mckayger... at ...626...: complete code of htttp post example http://code.google.com/p/gambas/issues/detail?id=548 > From: Randall Morgan > PHP Code is simply a web script and while I have not seen > the code, it is of no real value to a Gambas Developer. "simple", "not real value", umm it's clearly that u do not use the behavior of that case example... please if u do not know do not make noise i glad to thanks "Caveat " that in another mail made a good answer about that problem, benoit the problem are that the example confuses novice developers the post example seem that send a xml code to server (similar to webservice) and server response with a xml code well formatted (similar to webservice) its better that example limits to explaint how to post normal form request and html normal responses so do not confused novice developers and made anthore example with the related emulated webservice related -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From mckaygerhard at ...626... Wed Aug 6 22:53:50 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 6 Aug 2014 16:23:50 -0430 Subject: [Gambas-user] requests to gambas cgi scripts issues Message-ID: > > From: Caveat > Here's a mail I wrote back in 2011 on calling web services from out of > Gambas, perhaps it helps? OF course, that code u post me really helps!! many many thanks due in u'r mail i see that: http.Post("application/x-www-form-urlencoded", data) 1)for send post data as a from must be use the "application/x-www-form-urlencoded" that's are also in the wiki documentation but difficulty to read for some spanish users 2) important, seems that if send post data with name:values fields, then the SOAP api's will interpreted as a webservice request... this are marvelous! BUT now another QUESTION u used the async method, that waith until data packets end... so in my program (that are not web or console) i have a form that made calls to a class, and that class have the methods that made the request and get the responses.. how can i get the responses in asynchronously mode? due the response its trapped in _Finished() process that are out of the mothod cycle From taboege at ...626... Wed Aug 6 23:31:46 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 6 Aug 2014 23:31:46 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6414] gambas/trunk In-Reply-To: <20140806204108.GA1050@...2774...> References: <20140803001610.GA27726@...2774...> <53DD8F1B.9060701@...1...> <20140806204108.GA1050@...2774...> Message-ID: <20140806213146.GC1050@...2774...> On Wed, 06 Aug 2014, Tobias Boege wrote: > On Sun, 03 Aug 2014, Beno?t Minisini wrote: > > Le 03/08/2014 02:16, Tobias Boege a ?crit : > > > On Sat, 02 Aug 2014, gambas at ...1... wrote: > > >> Revision: 6414 > > >> http://sourceforge.net/p/gambas/code/6414 > > >> Author: gambas > > >> Date: 2014-08-02 22:50:08 +0000 (Sat, 02 Aug 2014) > > >> Log Message: > > >> ----------- > > >> [...] > > >> [GB.FORM] > > >> * NEW: ListContainer has been deprecated. It has design problems. > > >> [...] > > >> > > > > > > Design problems in theory or in the current interface? I liked this thing. > > > Will there be a replacement? > > > > > > I have (visually, not source-wise) looked at the new IDE's "recent projects" > > > listing. It looks as if it was made with something that can replace the > > > ListContainer. I don't know what it is and how difficult it was to write but > > > it seems to have a noticeable latency here, in both drawing (scroll away one > > > entire view quickly) and reaction to hovering with the mouse... > > > > > > Regards, > > > Tobi > > > I just noticed that the performance on example projects is (very!) good. But this performance falls drastically when I switch to the recently opened projects. This happens both in the IDE "greet" screen and in the actual "Select a project" dialog...? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Wed Aug 6 23:49:00 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 6 Aug 2014 23:49:00 +0200 Subject: [Gambas-user] Make issue tracker mail-accessible? Message-ID: <20140806214900.GD1050@...2774...> Hi whoever is in charge of the googlecode issue tracker, in their wiki[0], they say that it is possible to configure the tracker to accept comments sent via mail. Since I receive the issues via the gambas-user list, I would find it cool to be able to directly reply via mail. Opinions? Regards, Tobi [0] http://code.google.com/p/support/wiki/InboundEmail#Can_I_add_comments_by_email? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From david.hill.m64 at ...626... Thu Aug 7 00:43:02 2014 From: david.hill.m64 at ...626... (DaveOxford1) Date: Wed, 6 Aug 2014 15:43:02 -0700 (PDT) Subject: [Gambas-user] GridView not setting Row & Column on right-click Menu event Message-ID: <1407364982002-47692.post@...3046...> Hi All When right-clicking on a GridView, .Row and .Column are not set to the values for the new cell in the Menu event (as they in the Click event for a left-click). Is this a bug or the intended behaviour? If it /is/ the intended behaviour, how can I ascertain the Row and Column values? Hope someone can help! Dave Gambas 3.5.3, qt4, on crunchbang waldorf. -- View this message in context: http://gambas.8142.n7.nabble.com/GridView-not-setting-Row-Column-on-right-click-Menu-event-tp47692.html Sent from the gambas-user mailing list archive at Nabble.com. From sammy_dadds at ...43... Thu Aug 7 01:49:29 2014 From: sammy_dadds at ...43... (sfdadds) Date: Wed, 6 Aug 2014 16:49:29 -0700 (PDT) Subject: [Gambas-user] MIDI Patterns/Sequencer, ! Looking for interested developers ! Message-ID: <1407368969612-47693.post@...3046...> Hi all. ! Looking for interested developers ! I'm working on a MIDI Pattern/Sequencer in Gambas3 So far it is made up of two projects 1) GConSeq (A console wrapper for ALSA), all commands are sent to GConSeq via STDIN (then sent/scheduled for ALSA) and responses via STDOUT/STDERR 2) GTrac (A GUI for creating/playing the actual MIDI patterns/sequences) supports 16 MIDI tracks wraps the ALSA API in a Gambas3 console application (send commands via a process or tell it to load commands from a file) creates 16 ALSA output ports to be connected to any JACK (QJackCtl) MIDI sound sources creates 1 ALSA sync/timing port for callback events (actually uses the ALSA file descriptor), used for timing and to notify a GUI about the current measure and beat playing tempo is adjustable using a ALSA output queue with tempo settings (no timing loops, ALSA handles this) saves all sessions as XML exports sessions to a SMF (Standard MIDI File) transport playback with looping goto measure etc minimal copy/paste of events (need help with a better design, looks/works ok but need undo/redo) the current implementation v0.1 is pattern based (can be anything) and works good any app can access the ALSA API thru the GConSeq currently working the recording side. able to record MIDI via ALSA with correct time-stamping (needed ALSA input port with time-stamping enabled) working another piano roll for displaying and editing the recorded MIDI events (this piano roll cannot use a gridview since the recorded events in PPQ (pulses per quarter) could be up to 1536 (meaning 1536 time slices in a single quarter note) working another effects display to go along with the recording piano roll Looking for ideas, everything is open to change Will need help setting up a shared development area, GIT or something If interested in the project or source just respond back Thanks, Sam -- View this message in context: http://gambas.8142.n7.nabble.com/MIDI-Patterns-Sequencer-Looking-for-interested-developers-tp47693.html Sent from the gambas-user mailing list archive at Nabble.com. From Gambas at ...1950... Thu Aug 7 08:19:52 2014 From: Gambas at ...1950... (Caveat) Date: Thu, 07 Aug 2014 08:19:52 +0200 Subject: [Gambas-user] requests to gambas cgi scripts issues In-Reply-To: References: Message-ID: <53E31A88.50905@...1950...> how can i get the responses in asynchronously mode? due the response its trapped in _Finished() process that are out of the mothod cycle Depends on where you wrote the code. If the code is in a separate class then you might want to look at declaring and raising events, and having your form create the instance of your class with something like AS "myServiceCaller", then when you get into _Finished(), RAISE an event (e.g. FinishHappened) which can get picked up by your form in a public sub myServiceCaller.FinishHappened() If the code is all in your form, then you can just change something directly on the form as soon as you get a response. Or you could consider making a callback function... Kind regards, Caveat On 06/08/14 22:53, PICCORO McKAY Lenz wrote: >> From: Caveat >> Here's a mail I wrote back in 2011 on calling web services from out of >> Gambas, perhaps it helps? > OF course, that code u post me really helps!! many many thanks > > due in u'r mail i see that: http.Post("application/x-www-form-urlencoded", > data) > > 1)for send post data as a from must be use the > "application/x-www-form-urlencoded" > that's are also in the wiki documentation but difficulty to read for some > spanish users > > 2) important, seems that if send post data with name:values fields, > then the SOAP api's will interpreted as a webservice request... > this are marvelous! > > BUT now another QUESTION > > u used the async method, that waith until data packets end... > so in my program (that are not web or console) i have a form > that made calls to a class, and that class have the methods > that made the request and get the responses.. > > how can i get the responses in asynchronously mode? > due the response its trapped in _Finished() process > that are out of the mothod cycle > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Gambas at ...1950... Thu Aug 7 08:35:34 2014 From: Gambas at ...1950... (Caveat) Date: Thu, 07 Aug 2014 08:35:34 +0200 Subject: [Gambas-user] requests to gambas cgi scripts issues In-Reply-To: <53E31A88.50905@...1950...> References: <53E31A88.50905@...1950...> Message-ID: <53E31E36.9060501@...1950...> Sorry underscore, not dot... my java bad! :-P On 07/08/14 08:19, Caveat wrote: > how can i get the responses in asynchronously mode? > due the response its trapped in _Finished() process > that are out of the mothod cycle > > Depends on where you wrote the code. If the code is in a separate class > then you might want to look at declaring and raising events, and having > your form create the instance of your class with something like AS > "myServiceCaller", then when you get into _Finished(), RAISE an event > (e.g. FinishHappened) which can get picked up by your form in a public > sub myServiceCaller.FinishHappened() > > If the code is all in your form, then you can just change something > directly on the form as soon as you get a response. > > Or you could consider making a callback function... > > Kind regards, > Caveat > > On 06/08/14 22:53, PICCORO McKAY Lenz wrote: >>> From: Caveat >>> Here's a mail I wrote back in 2011 on calling web services from out of >>> Gambas, perhaps it helps? >> OF course, that code u post me really helps!! many many thanks >> >> due in u'r mail i see that: http.Post("application/x-www-form-urlencoded", >> data) >> >> 1)for send post data as a from must be use the >> "application/x-www-form-urlencoded" >> that's are also in the wiki documentation but difficulty to read for some >> spanish users >> >> 2) important, seems that if send post data with name:values fields, >> then the SOAP api's will interpreted as a webservice request... >> this are marvelous! >> >> BUT now another QUESTION >> >> u used the async method, that waith until data packets end... >> so in my program (that are not web or console) i have a form >> that made calls to a class, and that class have the methods >> that made the request and get the responses.. >> >> how can i get the responses in asynchronously mode? >> due the response its trapped in _Finished() process >> that are out of the mothod cycle >> ------------------------------------------------------------------------------ >> Infragistics Professional >> Build stunning WinForms apps today! >> Reboot your WinForms applications with our WinForms controls. >> Build a bridge from your legacy apps to the future. >> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > . > From kevinfishburne at ...1887... Thu Aug 7 08:57:49 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 07 Aug 2014 02:57:49 -0400 Subject: [Gambas-user] MIDI Patterns/Sequencer, ! Looking for interested developers ! In-Reply-To: <1407368969612-47693.post@...3046...> References: <1407368969612-47693.post@...3046...> Message-ID: <53E3236D.8090705@...1887...> On 08/06/2014 07:49 PM, sfdadds wrote: > Hi all. > > ! Looking for interested developers ! > > I'm working on a MIDI Pattern/Sequencer in Gambas3 > > So far it is made up of two projects > > 1) GConSeq (A console wrapper for ALSA), all commands are sent to GConSeq > via STDIN (then sent/scheduled for ALSA) and responses via STDOUT/STDERR > 2) GTrac (A GUI for creating/playing the actual MIDI patterns/sequences) > > supports 16 MIDI tracks > wraps the ALSA API in a Gambas3 console application (send commands via a > process or tell it to load commands from a file) > creates 16 ALSA output ports to be connected to any JACK (QJackCtl) MIDI > sound sources > creates 1 ALSA sync/timing port for callback events (actually uses the > ALSA file descriptor), used for timing and to notify a GUI about the current > measure and beat playing > tempo is adjustable using a ALSA output queue with tempo settings (no > timing loops, ALSA handles this) > saves all sessions as XML > exports sessions to a SMF (Standard MIDI File) > transport playback with looping goto measure etc > minimal copy/paste of events (need help with a better design, looks/works > ok but need undo/redo) > > the current implementation v0.1 is pattern based (can be anything) and > works good > > any app can access the ALSA API thru the GConSeq > > currently working the recording side. able to record MIDI via ALSA with > correct time-stamping > (needed ALSA input port with time-stamping enabled) > working another piano roll for displaying and editing the recorded MIDI > events > (this piano roll cannot use a gridview since the recorded events in PPQ > (pulses per quarter) could be up to 1536 (meaning 1536 time slices in a > single quarter note) > working another effects display to go along with the recording piano roll > > Looking for ideas, everything is open to change > > Will need help setting up a shared development area, GIT or something > > If interested in the project or source just respond back > > Thanks, Sam I used Cakewalk for Windows 3.1 extensively in high school and use LMMS's sequencer now. I'd be interested in testing feature functionality and making interface recommendations for the editor. FluidSynth for loading and rendering Soundfonts would be a good feature, as users could have sound out of the box if a free GM soundfont was included. A fast and intuitive sequencer allowing tracks to be mapped to different Soundfonts (or custom user I/O) would be perfect for composing and listening. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From shanep1967 at ...169... Thu Aug 7 12:00:17 2014 From: shanep1967 at ...169... (Shane) Date: Thu, 07 Aug 2014 20:00:17 +1000 Subject: [Gambas-user] GridView not setting Row & Column on right-click Menu event In-Reply-To: <1407364982002-47692.post@...3046...> References: <1407364982002-47692.post@...3046...> Message-ID: <53E34E31.8050609@...169...> hi Dave i came across this an hour ago myself what i did was Public mX As Integer Public mY As Integer Public Sub GridView1_MouseMove() mX = Mouse.X mY= Mouse.Y End then you can use Public Sub GridView1_Menu() Row = GridView1.RowAt(mY) Col = GridView1.ColumnAt(mX) End hope this helps Shane. On 07/08/14 08:43, DaveOxford1 wrote: > Hi All > > When right-clicking on a GridView, .Row and .Column are not set to the > values for the new cell in the Menu event (as they in the Click event for a > left-click). > > Is this a bug or the intended behaviour? > > If it /is/ the intended behaviour, how can I ascertain the Row and Column > values? > > Hope someone can help! > > Dave > Gambas 3.5.3, qt4, on crunchbang waldorf. > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/GridView-not-setting-Row-Column-on-right-click-Menu-event-tp47692.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Infragistics Professional > Build stunning WinForms apps today! > Reboot your WinForms applications with our WinForms controls. > Build a bridge from your legacy apps to the future. > http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From david.hill.m64 at ...626... Thu Aug 7 16:33:34 2014 From: david.hill.m64 at ...626... (DaveOxford1) Date: Thu, 7 Aug 2014 07:33:34 -0700 (PDT) Subject: [Gambas-user] GridView not setting Row & Column on right-click Menu event In-Reply-To: <53E34E31.8050609@...169...> References: <1407364982002-47692.post@...3046...> <53E34E31.8050609@...169...> Message-ID: <1407422014333-47698.post@...3046...> Many thanks, Shane! I didn't know about RowAt & ColumnAt - very useful. Dave -- View this message in context: http://gambas.8142.n7.nabble.com/GridView-not-setting-Row-Column-on-right-click-Menu-event-tp47692p47698.html Sent from the gambas-user mailing list archive at Nabble.com. From sammy_dadds at ...43... Thu Aug 7 20:34:06 2014 From: sammy_dadds at ...43... (sfdadds) Date: Thu, 7 Aug 2014 11:34:06 -0700 (PDT) Subject: [Gambas-user] MIDI Patterns/Sequencer, ! Looking for interested developers ! In-Reply-To: <53E3236D.8090705@...1887...> References: <1407368969612-47693.post@...3046...> <53E3236D.8090705@...1887...> Message-ID: <1407436446098-47699.post@...3046...> Hi Kevin. Thanks. Need to find out how to get you the projects via email. I have not put it up anywhere yet. Thinking about White Island since Sholzy said I could put it up on his site and when he gets time it would turn into a GIT repo. When I originally started the projects I used the FluidSynth API and changed over to generic ALSA. This way all sound sources (FluidSynth, Rackarack, Yoshmi etc) can be connected up to any track(s) plus ALSA provides an easier API for the sequencer engine. Assuming a good JACK configuation and QSynth (basically the same as any Linux sound app) you can get to all kinds of ALSA sound sources. The application itself provides no sounds sources at all. Just the capability of driving the MIDI data into ALSA. QJackctl or Patchage can then be used to connect each track to a sound source. I have documented the process for v0.1. Some things (effects grid) have already changed and recording from external MIDI device has just started. I use LMMS also along with QTractor, Rosegarden and Ardour. LMMS is the only one that does not like the SMF (Standard MIDI File) exports. It imports fine but LMMS seems to ignore any events for track 10 (drums). I think it is required to used LMMS Bass/Beat for track 10. I'll check back later to see how I can get you the projects. -- View this message in context: http://gambas.8142.n7.nabble.com/MIDI-Patterns-Sequencer-Looking-for-interested-developers-tp47693p47699.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Sat Aug 9 23:46:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 09 Aug 2014 21:46:37 +0000 Subject: [Gambas-user] Issue 545 in gambas: Cannot execute .gambas programs anymore after update to Ubuntu 14.04 In-Reply-To: <0-6813199134517018827-14827897771961652571-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14827897771961652571-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14827897771961652571-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #1 on issue 545 by benoit.m... at ...626...: Cannot execute .gambas programs anymore after update to Ubuntu 14.04 http://code.google.com/p/gambas/issues/detail?id=545 This is a bug on packaging, not on Gambas, I can't do nothing directly. Please report that on the Gambas mailing-list. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Aug 9 23:47:47 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 09 Aug 2014 21:47:47 +0000 Subject: [Gambas-user] Issue 547 in gambas: Cannot execute a .gambas program In-Reply-To: <0-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 on issue 547 by benoit.m... at ...626...: Cannot execute a .gambas program http://code.google.com/p/gambas/issues/detail?id=547 You give no details about what is that program. Please join the *.gambas file. Maybe it is corrupted or it is not a Gambas 3 executable. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Aug 9 23:49:07 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 09 Aug 2014 21:49:07 +0000 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <1-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #2 on issue 548 by benoit.m... at ...626...: complete code of htttp post example http://code.google.com/p/gambas/issues/detail?id=548 A volunteer to write another HTTP POST example? :-) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Aug 9 23:50:07 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 09 Aug 2014 21:50:07 +0000 Subject: [Gambas-user] Issue 546 in gambas: Cannot connect to an existing MySQL database In-Reply-To: <1-6813199134517018827-12665483459760037288-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12665483459760037288-gambas=googlecode.com@...2524...> <0-6813199134517018827-12665483459760037288-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12665483459760037288-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-3.3.0 Comment #2 on issue 546 by benoit.m... at ...626...: Cannot connect to an existing MySQL database http://code.google.com/p/gambas/issues/detail?id=546 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sat Aug 9 23:50:59 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 09 Aug 2014 23:50:59 +0200 Subject: [Gambas-user] Make issue tracker mail-accessible? In-Reply-To: <20140806214900.GD1050@...2774...> References: <20140806214900.GD1050@...2774...> Message-ID: <53E697C3.7000709@...1...> Le 06/08/2014 23:49, Tobias Boege a ?crit : > Hi whoever is in charge of the googlecode issue tracker, > > in their wiki[0], they say that it is possible to configure the tracker to > accept comments sent via mail. Since I receive the issues via the gambas-user > list, I would find it cool to be able to directly reply via mail. Opinions? > > Regards, > Tobi > > [0] http://code.google.com/p/support/wiki/InboundEmail#Can_I_add_comments_by_email? > According to the issue tracker administrator interface, this is only supported if you are a member of the google project. Not very interesting... -- Beno?t Minisini From taboege at ...626... Sat Aug 9 23:52:14 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 9 Aug 2014 23:52:14 +0200 Subject: [Gambas-user] Make issue tracker mail-accessible? In-Reply-To: <53E697C3.7000709@...1...> References: <20140806214900.GD1050@...2774...> <53E697C3.7000709@...1...> Message-ID: <20140809215214.GF1435@...2774...> On Sat, 09 Aug 2014, Beno?t Minisini wrote: > Le 06/08/2014 23:49, Tobias Boege a ?crit : > > Hi whoever is in charge of the googlecode issue tracker, > > > > in their wiki[0], they say that it is possible to configure the tracker to > > accept comments sent via mail. Since I receive the issues via the gambas-user > > list, I would find it cool to be able to directly reply via mail. Opinions? > > > > Regards, > > Tobi > > > > [0] http://code.google.com/p/support/wiki/InboundEmail#Can_I_add_comments_by_email? > > > > According to the issue tracker administrator interface, this is only > supported if you are a member of the google project. Not very interesting... > I agree. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Aug 9 23:57:17 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 09 Aug 2014 23:57:17 +0200 Subject: [Gambas-user] Make issue tracker mail-accessible? In-Reply-To: <20140809215214.GF1435@...2774...> References: <20140806214900.GD1050@...2774...> <53E697C3.7000709@...1...> <20140809215214.GF1435@...2774...> Message-ID: <53E6993D.8030107@...1...> Le 09/08/2014 23:52, Tobias Boege a ?crit : > On Sat, 09 Aug 2014, Beno?t Minisini wrote: >> Le 06/08/2014 23:49, Tobias Boege a ?crit : >>> Hi whoever is in charge of the googlecode issue tracker, >>> >>> in their wiki[0], they say that it is possible to configure the tracker to >>> accept comments sent via mail. Since I receive the issues via the gambas-user >>> list, I would find it cool to be able to directly reply via mail. Opinions? >>> >>> Regards, >>> Tobi >>> >>> [0] http://code.google.com/p/support/wiki/InboundEmail#Can_I_add_comments_by_email? >>> >> >> According to the issue tracker administrator interface, this is only >> supported if you are a member of the google project. Not very interesting... >> > > I agree. > I can add your e-mail to the project member list if you want. But (of course) if must be a google e-mail. -- Beno?t Minisini From taboege at ...626... Sun Aug 10 00:02:35 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 10 Aug 2014 00:02:35 +0200 Subject: [Gambas-user] Make issue tracker mail-accessible? In-Reply-To: <53E6993D.8030107@...1...> References: <20140806214900.GD1050@...2774...> <53E697C3.7000709@...1...> <20140809215214.GF1435@...2774...> <53E6993D.8030107@...1...> Message-ID: <20140809220235.GG1435@...2774...> On Sat, 09 Aug 2014, Beno?t Minisini wrote: > Le 09/08/2014 23:52, Tobias Boege a ?crit : > > On Sat, 09 Aug 2014, Beno?t Minisini wrote: > >> Le 06/08/2014 23:49, Tobias Boege a ?crit : > >>> Hi whoever is in charge of the googlecode issue tracker, > >>> > >>> in their wiki[0], they say that it is possible to configure the tracker to > >>> accept comments sent via mail. Since I receive the issues via the gambas-user > >>> list, I would find it cool to be able to directly reply via mail. Opinions? > >>> > >>> Regards, > >>> Tobi > >>> > >>> [0] http://code.google.com/p/support/wiki/InboundEmail#Can_I_add_comments_by_email? > >>> > >> > >> According to the issue tracker administrator interface, this is only > >> supported if you are a member of the google project. Not very interesting... > >> > > > > I agree. > > > > I can add your e-mail to the project member list if you want. But (of > course) if must be a google e-mail. > Well, that's at least a solution[*] for me. I think taboege at ...626... will suffice? Thanks. Regards, Tobi [*] "Solution" because it was a problem. There were times I wanted to reply to an issue but -- one-track as I am -- only by mail :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Aug 10 00:20:23 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 10 Aug 2014 00:20:23 +0200 Subject: [Gambas-user] Make issue tracker mail-accessible? In-Reply-To: <20140809220235.GG1435@...2774...> References: <20140806214900.GD1050@...2774...> <53E697C3.7000709@...1...> <20140809215214.GF1435@...2774...> <53E6993D.8030107@...1...> <20140809220235.GG1435@...2774...> Message-ID: <53E69EA7.7030708@...1...> Le 10/08/2014 00:02, Tobias Boege a ?crit : >> I can add your e-mail to the project member list if you want. But (of >> course) if must be a google e-mail. >> > > Well, that's at least a solution[*] for me. I think taboege at ...626... will > suffice? Thanks. > > Regards, > Tobi > > [*] "Solution" because it was a problem. There were times I wanted to reply > to an issue but -- one-track as I am -- only by mail :-) > Done. -- Beno?t Minisini From taboege at ...626... Sun Aug 10 00:26:46 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 10 Aug 2014 00:26:46 +0200 Subject: [Gambas-user] TableView.NoKeyboard semantics Message-ID: <20140809222646.GH1435@...2774...> Hi, when we set TableView.NoKeyboard = False, then the ability to select the current cell via arrow keys is disabled (which I verified experimentally and which the docs correctly state, too). This is an unexpected result for me. Shouldn't NoKeyboard = False mean "not no keyboard" which is "keyboard"[*] and should *enable* me to move the current cell via keyboard (arrow keys)? Regards, Tobi [*] At least if we have double negation as it works in German (and formal logic), not as in English where you "can't get no satisfaction" and still be unsatisfied. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sun Aug 10 00:41:14 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 10 Aug 2014 00:41:14 +0200 Subject: [Gambas-user] Make issue tracker mail-accessible? In-Reply-To: <53E69EA7.7030708@...1...> References: <20140806214900.GD1050@...2774...> <53E697C3.7000709@...1...> <20140809215214.GF1435@...2774...> <53E6993D.8030107@...1...> <20140809220235.GG1435@...2774...> <53E69EA7.7030708@...1...> Message-ID: <20140809224114.GJ1435@...2774...> On Sun, 10 Aug 2014, Beno?t Minisini wrote: > Le 10/08/2014 00:02, Tobias Boege a ?crit : > >> I can add your e-mail to the project member list if you want. But (of > >> course) if must be a google e-mail. > >> > > > > Well, that's at least a solution[*] for me. I think taboege at ...626... will > > suffice? Thanks. > > > > Regards, > > Tobi > > > > [*] "Solution" because it was a problem. There were times I wanted to reply > > to an issue but -- one-track as I am -- only by mail :-) > > > > Done. > I guess I have to wait for a new issue to test this. They say I can only reply to notifications sent to me individually, not to the mailing list. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sun Aug 10 00:42:28 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 10 Aug 2014 00:42:28 +0200 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <2-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <2-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: <20140809224228.GK1435@...2774...> On Sat, 09 Aug 2014, gambas at ...2524... wrote: > Updates: > Status: WontFix > > Comment #2 on issue 548 by benoit.m... at ...626...: complete code of htttp > post example > http://code.google.com/p/gambas/issues/detail?id=548 > > A volunteer to write another HTTP POST example? :-) > What do you imagine? I think some normal POST to a CGI script (like ones that come from a simple HTML form) would be enough, no crazy XML-RPC. Maybe we can write a small CGI script in Gambas as an example of how to do that, then add it to gambaswiki.org and write an HTTP POST example to POST to this script. This way we have two examples, can deliver the source code and guarantee that the service is accessible. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Sun Aug 10 18:26:42 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Aug 2014 16:26:42 +0000 Subject: [Gambas-user] Issue 549 in gambas: HttpClient Put Method doesn't work (data is never send) Message-ID: <0-6813199134517018827-3599721762623045650-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 549 by uAle... at ...626...: HttpClient Put Method doesn't work (data is never send) http://code.google.com/p/gambas/issues/detail?id=549 1) Describe the problem. The HttpClient (curl) gives you the option to do a get, post and put. The get and post work fine, but the put doesn't work, because it never sends the data (content-length: 0 also). According to the Gambas docs the following should work: Dim hH As New HttpClient Dim sData As String hH.Url = "http://www.google.com" hH.Put("application/json", sData) Only the sData is *never* used in the Put request, as the CHttpClient.c code also shows in the end. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. Gambas 3.5.4 Ubuntu 14.04LTS 64-bit 3) Provide a little project that reproduces the bug or the crash. Attached, including the tcpdumps. Description: TestApp6.tar - project for reproduction 1-before.pcap - tcpdump before the patch has been applied. Notice NO data and content length is always 0 2-after - tcpdump after the patch has been applied CHttpClient.c - fixed code 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: If you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! ANOTHER NOTE: Don't create an issue if you have a compilation problem on the development version. Send a mail to the mailing-list instead, thanks. Attachments: TestApp6.tar 20.0 KB 1-before.pcap 2.8 KB 2-after.pcap 3.2 KB CHttpClient.c 13.6 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Mon Aug 11 01:24:15 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 11 Aug 2014 01:24:15 +0200 Subject: [Gambas-user] Holidays! Message-ID: <53E7FF1F.8080408@...1...> Hi, I'm leaving Paris and the Internet for a week, until next Monday, 18th. Pending bugs, be patient, I'll be back. -- Beno?t Minisini From introlinux at ...626... Mon Aug 11 11:48:54 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Mon, 11 Aug 2014 11:48:54 +0200 Subject: [Gambas-user] Holidays! In-Reply-To: <53E7FF1F.8080408@...1...> References: <53E7FF1F.8080408@...1...> Message-ID: Have a good time! :-) 2014-08-11 1:24 GMT+02:00 Beno?t Minisini : > Hi, > > I'm leaving Paris and the Internet for a week, until next Monday, 18th. > > Pending bugs, be patient, I'll be back. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Mon Aug 11 17:20:40 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 11 Aug 2014 15:20:40 +0000 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <2-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Comment #3 on issue 548 by mckayger... at ...626...: complete code of htttp post example http://code.google.com/p/gambas/issues/detail?id=548 a) i have a ver very easy example, i'll upload here in two days (i have archived) b) why wont fix, its so easy, only attached the php code in the proyect are enought -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From willy at ...2734... Tue Aug 12 15:09:51 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 12 Aug 2014 15:09:51 +0200 Subject: [Gambas-user] A note for Gambas users on Debian or Raspian wheezy using jessie repository for installation Message-ID: <1407848991.9324.8.camel@...3024...> Hi all, As Gambas 3.5.4 has been made available in jessie repository about a month ago (for both Debian and Raspbian), I have updated the instructions to install it on wheezy using a preferences file. Those who used a preferences file for installing Gambas 3.5.2 from jessie on wheezy will see that upgrading to 3.5.4. will not install the binaries gambas3 and gambas3-gb-pdf (all the rest is updated). To make it work the preferences file needs an update as Gambas 3.5.4 is packaged depending on libpoppler46 instead of libpoppler44. So the entry of libpoppler44 should be changed to: Package: libpoppler46 Pin: release n=jessie Pin-Priority: 1050 Now libpoppler46 needs 2 more depended packages from jessie, so two more entries need to be added to the preferences file. Package: libopenjpeg5 Pin: release n=jessie Pin-Priority: 1050 Package: libtiff5 Pin: release n=jessie Pin-Priority: 1050 Next save the preferences file, do an apt-get update and upgrade and both gambas3 and gambas3-gb-pdf should install. I have updated the instructions in the Gambas wiki accordingly. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...2524... Tue Aug 12 19:23:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 12 Aug 2014 17:23:37 +0000 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <3-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Comment #4 on issue 548 by mckayger... at ...626...: complete code of htttp post example http://code.google.com/p/gambas/issues/detail?id=548 ping? why wont fix? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Aug 12 20:31:52 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 12 Aug 2014 18:31:52 +0000 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <4-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Comment #5 on issue 548 by tabo... at ...626...: complete code of htttp post example http://code.google.com/p/gambas/issues/detail?id=548 Can you get hold of the source code? I cannot[*] and reality is that there are web services you won't get the sources for. If you can for this example, I'll add a link to it in the project description. There is no need to include the PHP (or whatever) source of something in a Gambas project, especially of something that doesn't belong to the Gambas project _at all_. It's as simple as Randall said: the source code of the web service you are calling is of no real value to you as a Gambas developer. It may be in your learning process about how CGI works but this is not the main point of a Gambas example for gb.net.curl. I don't know what Benoit thought when setting the WontFix status but this would be about my rationale. How did Caveat's answer help you anyway? It didn't include source code of the services he called either...? And about a new HTTP POST example: I'm for it; this XMLRPC stuff is not the topic I would immediately present as an HTTP POST example (maybe as a second one). I look forward to your example. Also, my other suggestion [1] on gambas-user seems to be slipped through uncommented. Maybe you read it and tell me what you think. Regards, Tobi [*] I grep'd through their repository and searched through pages that google thought were related. The only thing I can _guess_ is that the script may be somehow similar to the thing developed during the course of this tutorial[0]. [0] http://tldp.org/HOWTO/XML-RPC-HOWTO/ [1] http://sourceforge.net/p/gambas/mailman/message/32699881/ PS: >> PHP Code is simply a web script and while I have not seen >> the code, it is of no real value to a Gambas Developer. > "simple", "not real value", umm it's clearly that u do not use the > behavior of > that >case example... please if u do not know do not make noise I feel a little uncomfortable when a new person impolitely (!) rejects the advise of someone who had been around the project for much longer. (This is my personal opinion only and I cannot accuse you morally on its basis; feel free to ignore this point.) I just hope I'm not making noise too... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Aug 12 21:09:41 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 12 Aug 2014 19:09:41 +0000 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <5-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Comment #6 on issue 548 by mckayger... at ...626...: complete code of htttp post example http://code.google.com/p/gambas/issues/detail?id=548 the bug its about http POST not about webservices if u read said "complete code of http post example" and i said "confuses novice developers" due the actual http post example mixed two things: http-post and xmlrcp! well u make much more noise..! Caveat make good response due explaime what its no relevant and made example caller, that iluminate me the confusion, due i'm not expert on CGI (and i really hate it) and neither webservice things now i try to made examples run more easyle in gambas without need many customizations, but seems are very hard due i'm have a older machine (lenny) with gambas 3.4 only, THAT's why i asked about the wont fix -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From rterry at ...1823... Wed Aug 13 00:13:04 2014 From: rterry at ...1823... (richard terry) Date: Wed, 13 Aug 2014 08:13:04 +1000 Subject: [Gambas-user] Columnview ?bug or functional anomoly Message-ID: <53EA9170.5070604@...1823...> Hi List, Benoit Column view - remains my most unfavorite control for its odd quirky behaviors. Check out this one. If you fill a columnview - then select all items or some items, then clear the columnview then fill again - the original columnview selections are maintained even if the list is different/re-filled Most bizaare! see project attached. REgards richard -------------- next part -------------- A non-text attachment was scrubbed... Name: cvw_not_clearing_selections-0.0.1.tar.gz Type: application/x-gzip Size: 5104 bytes Desc: not available URL: From dosida at ...626... Wed Aug 13 01:55:13 2014 From: dosida at ...626... (Dimitris Anogiatis) Date: Tue, 12 Aug 2014 17:55:13 -0600 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <6-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <5-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <6-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: I'm not sure there is a need for a re-write. Just some comments to explain what the code does. For example on the button_click event you send the parameters for the webservice POST and the actual message you are sending is contained in the sCad string and the message target is set in the URL property (ie P.URL="http://myserver/myphpscript.php). Now if you want to make a normal POST call to a web form you need to change the message sent in sCad; if for example you have 2 fields name and email the message becomes: sCad="name=test1&email=test1 at ...3366...". You also need to change the Post message so that the first parameter changes from "text/xml" to "application/x-www-form-urlencoded" Depending on the site you might or might not get a reply back from the server to the POST if you do then you need to look at the code in the P_Finished event. The second IF block is specific to the Web service data so comment it out but the rest is all you need. I hope this helps (and doesn't confuse you more). On Tue, Aug 12, 2014 at 1:09 PM, wrote: > > Comment #6 on issue 548 by mckayger... at ...626...: complete code of htttp > post example > http://code.google.com/p/gambas/issues/detail?id=548 > > the bug its about http POST not about webservices > > if u read said "complete code of http post example" and i said "confuses > novice developers" due the actual http post example mixed two things: > http-post and xmlrcp! > > well u make much more noise..! Caveat make good response due explaime what > its no relevant and made example caller, that iluminate me the confusion, > due i'm not expert on CGI (and i really hate it) and neither webservice > things > > now i try to made examples run more easyle in gambas without need many > customizations, but seems are very hard due i'm have a older machine > (lenny) with gambas 3.4 only, THAT's why i asked about the wont fix > > -- > You received this message because this project is configured to send all > issue notifications to this address. > You may adjust your notification preferences at: > https://code.google.com/hosting/settings > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From introlinux at ...626... Wed Aug 13 10:40:37 2014 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Wed, 13 Aug 2014 10:40:37 +0200 Subject: [Gambas-user] Transparent PDF Message-ID: Hi, I did "pboxDOC.Picture = pdfdocumento[1].Image.Picture" to load a pdf file in a picturebox, but the background is white and I would need the background of this image was transparent because I'm going to put another image in the background in other picturebox in order to give a preview of the final PDF file. Later, I'll use pdftk to do the work of merging all layers. How could I clean the white color or apply a transparent color to the pboxDOC? Thanks. From ihaywood3 at ...626... Thu Aug 14 01:25:23 2014 From: ihaywood3 at ...626... (Ian Haywood) Date: Thu, 14 Aug 2014 09:25:23 +1000 Subject: [Gambas-user] libraries with svn Message-ID: Richard Terry and I have run into a problem Our project uses one library (and may use more as we hive up the project into logical components) But, it will be in different locations on our systems (mine in /home/ian/easygp/base.gambas, his funnily enough is /home/richard/easygp/base.gambas, or similar), and obviously our third developer (who isn't called "richard" or "ian") will have the same problem. each time one of us updates svn, the .project file is changed to ur setting, thus breaking the package for the other one. Is there a way to exclude changes to the project file from svn updates? (I know this can be done through configuring svn manually, which I will do, but is their an "official" gambas solution?) Ian From willy at ...2734... Thu Aug 14 02:00:04 2014 From: willy at ...2734... (Willy Raets) Date: Thu, 14 Aug 2014 02:00:04 +0200 Subject: [Gambas-user] libraries with svn In-Reply-To: References: Message-ID: <1407974404.1774.11.camel@...3024...> On do, 2014-08-14 at 09:25 +1000, Ian Haywood wrote: > Richard Terry and I have run into a problem > Our project uses one library (and may use more as we hive up the > project into logical components) > But, it will be in different locations on our systems (mine in > /home/ian/easygp/base.gambas, his funnily enough is > /home/richard/easygp/base.gambas, or similar), and obviously our third > developer (who isn't called "richard" or "ian") will have the same > problem. If you make an installation package from the library and install it on both systems, it will install in /usr/bin. Next open your application and change the location of the library to use the library installed in /usr/bin > > each time one of us updates svn, the .project file is changed to ur > setting, thus breaking the package for the other one. Doing above will give same location for all in the .project file and thus an svn update will not break the package. > > Is there a way to exclude changes to the project file from svn > updates? (I know this can be done through configuring svn manually, > which I will do, but is their an "official" gambas solution?) A note from Gambas Wiki (http://gambaswiki.org/wiki/doc/library): ---- How and where to install a library? When you run a project from the IDE, the libraries it uses are located by using their absolute path, as specified in the 'Libraries' tab of the project property dialog. But when you run the project executable, the libraries it uses then must be located in the same directory. If a library is not found, then it is searched in /bin and /usr/bin as last resort. So, contrary to a component, a library must be packaged exactly like a normal program, so that it is installed in a place where all project can find it. --- A Gambas library installed using a installation package made from library in Gambas IDE is according to me the official Gambas solution. Why? The installation wizard will skip menu entries and such and will always install the library package with .gambas extension in /usr/bin. So the installed library will always be found. > > Ian -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...2524... Thu Aug 14 16:45:08 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 14 Aug 2014 14:45:08 +0000 Subject: [Gambas-user] Issue 548 in gambas: complete code of htttp post example In-Reply-To: <6-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> <0-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-34150777776818782-gambas=googlecode.com@...2524...> Comment #7 on issue 548 by mckayger... at ...626...: complete code of htttp post example http://code.google.com/p/gambas/issues/detail?id=548 From: Dimitris Anogiatis > I'm not sure there is a need for a re-write. > Just some comments to explain what the code does. In the client side for made request are easy.. but in the server side novice developer need to tune some things > For example on the button_click event you send the parameters > for the webservice POST and the actual message you are sending > is contained in the sCad string and the message target is set in > the URL property (ie P.URL="http://myserver/myphpscript.php). That what u said are for the case of xmlrcp combined with post exqmple bug the bug focused on a clean post only and single example > Now if you want to make a normal POST call to a web form > you need to change the message sent in sCad; if for example > you have 2 fields name and email the message becomes: > sCad="name=test1&email=test1 at ...3366...". ... > changes from "text/xml" to "application/x-www-form-urlencoded" that's the case for post only example, and the actual example in gambas3 mixed the two things > I hope this helps (and doesn't confuse you more). i'm no more confused now since some mails ago, but in the beginning a lot! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From ea7dfh at ...2382... Fri Aug 15 10:13:56 2014 From: ea7dfh at ...2382... (Jesus) Date: Fri, 15 Aug 2014 10:13:56 +0200 Subject: [Gambas-user] Key events don't work on gb.gtk Message-ID: <53EDC144.7000905@...2382...> Hi everyone I just realized that key events don't work on gb.gtk. Could you please give it a test and confirm it as a bug? Little test program attached. Regards -- Jesus Guardon -------------- next part -------------- A non-text attachment was scrubbed... Name: TestKeyEvents.tar.gz Type: application/gzip Size: 5558 bytes Desc: not available URL: From ea7dfh at ...2382... Fri Aug 15 10:49:19 2014 From: ea7dfh at ...2382... (Jesus) Date: Fri, 15 Aug 2014 10:49:19 +0200 Subject: [Gambas-user] Key events don't work on gb.gtk In-Reply-To: <53EDC144.7000905@...2382...> References: <53EDC144.7000905@...2382...> Message-ID: <53EDC98F.8060202@...2382...> El 15/08/2014 10:13, Jesus escribi?: > Hi everyone > > I just realized that key events don't work on gb.gtk. > > Could you please give it a test and confirm it as a bug? > > Little test program attached. > > Regards > Sorry, forgot to mention I'm using latest developmente version from gambas-team daily PPA. Regards -- Jesus Guardon From shordi at ...626... Fri Aug 15 11:04:39 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 15 Aug 2014 11:04:39 +0200 Subject: [Gambas-user] Sqlite3 Driver changed? Message-ID: Since a lot of time I've been using this code with Sqlite3 databases in order to identify the keys and other information about Sqlite3 tables. dim rs as result rs = rsDatos.Connection.exec("PRAGMA table_info(`" & tabla & "`)") It have been working right from several years. Now It returns a not Available Result with 0 fields Someone knows if something has changed on sqlite3 driver? Thanks in advance Regards From bagoneo at ...69... Fri Aug 15 11:56:38 2014 From: bagoneo at ...69... (Gian) Date: Fri, 15 Aug 2014 02:56:38 -0700 (PDT) Subject: [Gambas-user] Key events don't work on gb.gtk In-Reply-To: <53EDC144.7000905@...2382...> References: <53EDC144.7000905@...2382...> Message-ID: <1408096598589-47729.post@...3046...> In my Gambas 3.5.90 on Ubuntu 14.04 LTS your test works well with gb.gtk, gb.gtk3, gb.gui. Ciao gianluigi -- View this message in context: http://gambas.8142.n7.nabble.com/Key-events-don-t-work-on-gb-gtk-tp47726p47729.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Fri Aug 15 12:15:33 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 15 Aug 2014 12:15:33 +0200 Subject: [Gambas-user] Sqlite3 Driver changed? In-Reply-To: References: Message-ID: <20140815101533.GD846@...2774...> On Fri, 15 Aug 2014, Jorge Carri??n wrote: > Since a lot of time I've been using this code with Sqlite3 databases in > order to identify the keys and other information about Sqlite3 tables. > > dim rs as result > > rs = rsDatos.Connection.exec("PRAGMA table_info(`" & tabla & "`)") > > > It have been working right from several years. > Now It returns a not Available Result with 0 fields > > Someone knows if something has changed on sqlite3 driver? > The answer depends. Quite some things changed in the driver since 2006 apparently -- not so many recently. If you have a look at the commit logs, the last 2 things done in gb.db.sqlite3 were: --8<----------------------------------------------------------------------- r6230 | gambas | 2014-04-05 23:22:43 +0200 (Sat, 05 Apr 2014) | 5 lines [CONFIGURATION] * NEW: Do not use deprecated autoconf macros anymore. * NEW: The version information is now located in the 'version.m4' file in the source root directory. ------------------------------------------------------------------------ r5977 | gambas | 2013-12-03 15:36:19 +0100 (Tue, 03 Dec 2013) | 3 lines [GB.DB.SQLITE3] * BUG: Fix crash due to last commit. --8<------------------------------------------------------------------------ So except for a configuration file change, the last work was in late 2013. But only you know what your last working Gambas version was, so only you can find out what exactly changed... Also, if you didn't do it yet, check the database with the sqlite3 program so that we can rule out a corrupted database as the cause. If your database is OK, it could be a bug. And as always it would help to send a project which shows the behaviour. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From vuott at ...325... Fri Aug 15 12:34:41 2014 From: vuott at ...325... (Ru Vuott) Date: Fri, 15 Aug 2014 11:34:41 +0100 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53EDC144.7000905@...2382...> Message-ID: <1408098881.6221.YahooMailBasic@...3275...> Hello Jesus, I tested it, and I confirm the problem: key events don't work on gb.gtk, nor gb.gtk3. My system: [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QCleanlooks Language=it_IT.UTF-8 Memory=3953M [Libraries] Cairo=libcairo.so.2.11301.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+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 bye vuottt -------------------------------------------- Ven 15/8/14, Jesus ha scritto: Oggetto: [Gambas-user] Key events don't work on gb.gtk A: "mailing list for gambas users" Data: Venerd? 15 agosto 2014, 10:13 Hi everyone I just realized that key events don't work on gb.gtk. Could you please give it a test and confirm it as a bug? Little test program attached. Regards -- Jesus Guardon -----Segue allegato----- ------------------------------------------------------------------------------ -----Segue allegato----- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From shordi at ...626... Fri Aug 15 13:39:40 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 15 Aug 2014 13:39:40 +0200 Subject: [Gambas-user] Sqlite3 Driver changed? In-Reply-To: <20140815101533.GD846@...2774...> References: <20140815101533.GD846@...2774...> Message-ID: Tobi: You're right. Excuse me. I'm using the 3.5.4 version of the stable repository of nemh (now deprecated, I think...). Attached a little proyect showing what I mean. I've testing the database with SqliteMan application and respond ok to the copy-paste pragma instruction. Thanks 2014-08-15 12:15 GMT+02:00 Tobias Boege : > On Fri, 15 Aug 2014, Jorge Carri??n wrote: > > Since a lot of time I've been using this code with Sqlite3 databases in > > order to identify the keys and other information about Sqlite3 tables. > > > > dim rs as result > > > > rs = rsDatos.Connection.exec("PRAGMA table_info(`" & tabla & "`)") > > > > > > It have been working right from several years. > > Now It returns a not Available Result with 0 fields > > > > Someone knows if something has changed on sqlite3 driver? > > > > The answer depends. Quite some things changed in the driver since 2006 > apparently -- not so many recently. If you have a look at the commit logs, > the last 2 things done in gb.db.sqlite3 were: > > --8<----------------------------------------------------------------------- > r6230 | gambas | 2014-04-05 23:22:43 +0200 (Sat, 05 Apr 2014) | 5 lines > > [CONFIGURATION] > * NEW: Do not use deprecated autoconf macros anymore. > * NEW: The version information is now located in the 'version.m4' file in > the source root directory. > > ------------------------------------------------------------------------ > r5977 | gambas | 2013-12-03 15:36:19 +0100 (Tue, 03 Dec 2013) | 3 lines > > [GB.DB.SQLITE3] > * BUG: Fix crash due to last commit. > > --8<------------------------------------------------------------------------ > > So except for a configuration file change, the last work was in late 2013. > But only you know what your last working Gambas version was, so only you > can > find out what exactly changed... > > Also, if you didn't do it yet, check the database with the sqlite3 program > so that we can rule out a corrupted database as the cause. If your database > is OK, it could be a bug. And as always it would help to send a project > which shows the behaviour. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: Sample_Sqlite-0.0.1.tar.gz Type: application/x-gzip Size: 32307 bytes Desc: not available URL: From shordi at ...626... Fri Aug 15 13:47:03 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 15 Aug 2014 13:47:03 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <1408098881.6221.YahooMailBasic@...3275...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> Message-ID: Jesus: In my computer works fine with both libraries qt and gtk. with LinuxMint 17. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QCleanlooks Language=es_ES.UTF-8 Memory=7968M [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+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Hope this help. Regards 2014-08-15 12:34 GMT+02:00 Ru Vuott : > Hello Jesus, > > I tested it, and I confirm the problem: key events don't work on gb.gtk, > nor gb.gtk3. > > My system: > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QCleanlooks > Language=it_IT.UTF-8 > Memory=3953M > [Libraries] > Cairo=libcairo.so.2.11301.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+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > bye > vuottt > > > > > > -------------------------------------------- > Ven 15/8/14, Jesus ha scritto: > > Oggetto: [Gambas-user] Key events don't work on gb.gtk > A: "mailing list for gambas users" > Data: Venerd? 15 agosto 2014, 10:13 > > Hi everyone > > I just realized that key events don't work on gb.gtk. > > Could you please give it a test and confirm it as a bug? > > Little test program attached. > > Regards > -- > Jesus Guardon > > -----Segue allegato----- > > > ------------------------------------------------------------------------------ > > -----Segue allegato----- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ea7dfh at ...2382... Fri Aug 15 15:15:10 2014 From: ea7dfh at ...2382... (Jesus) Date: Fri, 15 Aug 2014 15:15:10 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> Message-ID: <53EE07DE.8060509@...2382...> El 15/08/14 a las #4, Jorge Carri?n escribi?: > Jesus: > In my computer works fine with both libraries qt and gtk. with LinuxMint 17. > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QCleanlooks > Language=es_ES.UTF-8 > Memory=7968M > [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+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Hope this help. > > Regards Yes, the exact same configuration on my laptop, and it works fine also. So if the latest development version key events doesn't work, something has been changed since then. We'll wait until Benoit is back. Thanks for your help. Regards -- Jesus Guardon From mckaygerhard at ...626... Fri Aug 15 16:10:49 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 15 Aug 2014 09:40:49 -0430 Subject: [Gambas-user] Sqlite3 Driver changed? Message-ID: From: Tobias Boege > > On Fri, 15 Aug 2014, Jorge Carri??n wrote: > > Since a lot of time I've been using this code with Sqlite3 databases in > > order to identify the keys and other information about Sqlite3 tables. > > > > dim rs as result > > > > rs = rsDatos.Connection.exec("PRAGMA table_info(`" & tabla & "`)") > > > > > > It have been working right from several years. > > Now It returns a not Available Result with 0 fields Similar problem for me when i retrieve binary data from a table and the data are not an image > r5977 | gambas | 2013-12-03 15:36:19 +0100 (Tue, 03 Dec 2013) | 3 lines > > [GB.DB.SQLITE3] > * BUG: Fix crash due to last commit. > --8<------------------------------------------------------------------------ > Also, if you didn't do it yet, check the database with the sqlite3 program > so that we can rule out a corrupted database as the cause. If your database > is OK, it could be a bug. And as always it would help to send a project > which shows the behaviour. In the past I send a few emails with questions about when i extract from table a picture this stored correctly on filesystem but not when extracted binary data, still persists the problem, to send a bug would have to outline a project that reproduces the problem and this happens sporadically From taboege at ...626... Fri Aug 15 20:11:08 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 15 Aug 2014 20:11:08 +0200 Subject: [Gambas-user] Sqlite3 Driver changed? In-Reply-To: References: <20140815101533.GD846@...2774...> Message-ID: <20140815181108.GE846@...2774...> On Fri, 15 Aug 2014, Jorge Carri??n wrote: > Tobi: > You're right. Excuse me. > I'm using the 3.5.4 version of the stable repository of nemh (now > deprecated, I think...). > Attached a little proyect showing what I mean. > I've testing the database with SqliteMan application and respond ok to the > copy-paste pragma instruction. > Well, a quick and reliable fix may be for you to not use the PRAGMA :-) Turns out that Gambas can execute just this PRAGMA table_info correctly for you from the Table.Fields interface, as shown below. However, gb.db.sqlite3 doesn't seem to get any PRAGMA query right... I'll just continue staring at the sources for a while, maybe I find the cause. So, to access table metadata, namely a good subset of what PRAGMA table_info tells you, you have to do: Dim hTable As Table = hConnection.Tables["test"] Dim hField As Field For Each hField In hTable.Fields Print hField.Name, hField.Type ' etc. Next It does not provide all of the sqlite3-specific information, though... Look at the docs: Table.Fields [0], Field [1]. Regards, Tobi [0] http://gambaswiki.org/wiki/comp/gb.db/table/fields [1] http://gambaswiki.org/wiki/comp/gb.db/field -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sotema at ...626... Fri Aug 15 20:46:19 2014 From: sotema at ...626... (Emanuele Sottocorno) Date: Fri, 15 Aug 2014 20:46:19 +0200 Subject: [Gambas-user] Key events don't work on gb.gtk In-Reply-To: <53EDC144.7000905@...2382...> References: <53EDC144.7000905@...2382...> Message-ID: <53EE557B.8060805@...626...> Il 15/08/2014 10:13, Jesus ha scritto: > Hi everyone > > I just realized that key events don't work on gb.gtk. > > Could you please give it a test and confirm it as a bug? > > Little test program attached. > > Regards > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Works fine here. [System] Gambas=3.5.90 (rev #6416) OperatingSystem=Linux Kernel=3.13.0-33-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=7836M [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+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From epost at ...3323... Fri Aug 15 22:57:36 2014 From: epost at ...3323... (epost at ...3323...) Date: Fri, 15 Aug 2014 22:57:36 +0200 Subject: [Gambas-user] WebFrame gives Sigbart 6 In-Reply-To: References: Message-ID: Attached project fails with Sigbart 6 when clicking 'Find Images' more than once. (Clicking it once and then closing the app gives a Sigbart 11 instead...) *** Error in `WebFrame': double free or corruption (out): 0x0000000001879910 *** ======= Backtrace: ========= /usr/lib/libc.so.6(+0x73f8e)[0x7fc49c2e5f8e] /usr/lib/libc.so.6(+0x7988e)[0x7fc49c2eb88e] /usr/lib/libc.so.6(+0x7a04b)[0x7fc49c2ec04b] /usr/lib/libQtWebKit.so.4(_ZN11QWebElementD1Ev+0xc)[0x7fc492376d6c] /usr/lib64/gambas3/gb.qt4.webkit.so(+0xce6a)[0x7fc49458ee6a] WebFrame[0x40b31e] WebFrame[0x40ba27] WebFrame[0x40bd1d] WebFrame[0x40f5a3] WebFrame[0x42ba05] WebFrame[0x42c6b0] WebFrame[0x40b31e] WebFrame[0x40ba27] WebFrame[0x40bf47] WebFrame[0x40f5a3] WebFrame[0x407dc4] WebFrame[0x437513] WebFrame[0x40a460] WebFrame[0x40ab39] WebFrame[0x41f905] WebFrame[0x42148c] /usr/lib64/gambas3/gb.qt4.so(+0x4b607)[0x7fc49aae0607] /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2da)[0x7fc498da530a] /usr/lib/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x32)[0x7fc4999096c2] /usr/lib/libQtGui.so.4(+0x575be3)[0x7fc49966dbe3] /usr/lib/libQtGui.so.4(+0x576d53)[0x7fc49966ed53] /usr/lib/libQtGui.so.4(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0x6c)[0x7fc49966ee3c] /usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xaca)[0x7fc49930f44a] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8c)[0x7fc4992bff0c] /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x36a)[0x7fc4992c65ca] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x6d)[0x7fc498d9158d] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x153)[0x7fc4992c5dc3] /usr/lib/libQtGui.so.4(+0x23f95b)[0x7fc49933795b] /usr/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x5fc)[0x7fc4993363cc] /usr/lib/libQtGui.so.4(+0x265870)[0x7fc49935d870] /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f)[0x7fc498d9015f] /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x175)[0x7fc498d90455] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x89)[0x7fc498d95719] /usr/lib64/gambas3/gb.qt4.so(+0x3df3d)[0x7fc49aad2f3d] WebFrame[0x4047e9] /usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7fc49c292000] WebFrame[0x4048f0] ======= Memory map: ======== 00400000-00451000 r-xp 00000000 08:02 920936 /usr/bin/gbx3 00651000-0065b000 rw-p 00051000 08:02 920936 /usr/bin/gbx3 0065b000-0065e000 rw-p 00000000 00:00 0 00d19000-01cc2000 rw-p 00000000 00:00 0 [heap] 7fc418000000-7fc418021000 rw-p 00000000 00:00 0 7fc418021000-7fc41c000000 ---p 00000000 00:00 0 7fc41e63b000-7fc41eb03000 rw-p 00000000 00:00 0 7fc41ebd1000-7fc41eeca000 rw-p 00000000 00:00 0 7fc41eeca000-7fc41ef08000 rw-p 00000000 00:00 0 7fc41ef08000-7fc41f010000 rw-p 00000000 00:00 0 7fc41f010000-7fc41f08c000 rw-p 00000000 00:00 0 7fc41f08c000-7fc41f18c000 rw-p 00000000 00:00 0 7fc41f18c000-7fc41f208000 rw-p 00000000 00:00 0 7fc41f208000-7fc41f210000 rw-p 00000000 00:00 0 7fc41f210000-7fc41f24e000 rw-p 00000000 00:00 0 7fc41f24e000-7fc41f44e000 rw-p 00000000 00:00 0 7fc41f44e000-7fc41f48c000 rw-p 00000000 00:00 0 7fc41f48c000-7fc41f78c000 rw-p 00000000 00:00 0 7fc41f78c000-7fc41f7e9000 rw-p 00000000 00:00 0 7fc41f7e9000-7fc41f8f1000 rw-p 00000000 00:00 0 7fc41f8f1000-7fc41f9e9000 rw-p 00000000 00:00 0 7fc41f9e9000-7fc41fae9000 rw-p 00000000 00:00 0 7fc41fae9000-7fc41fb08000 rw-p 00000000 00:00 0 7fc41fb08000-7fc41fc08000 rw-p 00000000 00:00 0 7fc41fc08000-7fc41fc27000 rw-p 00000000 00:00 0 7fc41fc27000-7fc41fd27000 rw-p 00000000 00:00 0 7fc41fd27000-7fc41fda3000 rw-p 00000000 00:00 0 7fc41fda3000-7fc41fea3000 rw-p 00000000 00:00 0 7fc41fea3000-7fc41ff00000 rw-p 00000000 00:00 0 7fc41ff00000-7fc420000000 rw-p 00000000 00:00 0 7fc420000000-7fc420021000 rw-p 00000000 00:00 0 7fc420021000-7fc424000000 ---p 00000000 00:00 0 7fc424000000-7fc424021000 rw-p 00000000 00:00 0 7fc424021000-7fc428000000 ---p 00000000 00:00 0 7fc428000000-7fc428021000 rw-p 00000000 00:00 0 7fc428021000-7fc42c000000 ---p 00000000 00:00 0 7fc42c000000-7fc42c021000 rw-p 00000000 00:00 0 7fc42c021000-7fc430000000 ---p 00000000 00:00 0 7fc430004000-7fc43009f000 rw-p 00000000 00:00 0 7fc43009f000-7fc4300a7000 rw-p 00000000 00:00 0 7fc4300a7000-7fc4300c6000 rw-p 00000000 00:00 0 7fc4300c6000-7fc4301c6000 rw-p 00000000 00:00 0 7fc4301c6000-7fc430280000 rw-p 00000000 00:00 0 7fc430280000-7fc430380000 rw-p 00000000 00:00 0 7fc430380000-7fc43039f000 rw-p 00000000 00:00 0 7fc43039f000-7fc43049f000 rw-p 00000000 00:00 0 7fc43049f000-7fc4304fc000 rw-p 00000000 00:00 0 7fc4304fc000-7fc4305fc000 rw-p 00000000 00:00 0 7fc4305fc000-7fc430697000 rw-p 00000000 00:00 0 7fc430697000-7fc430797000 rw-p 00000000 00:00 0 7fc430797000-7fc4308cd000 rw-p 00000000 00:00 0 7fc430961000-7fc43099f000 rw-p 00000000 00:00 0 7fc43099f000-7fc4309b7000 rw-p 00000000 00:00 0 7fc4309b7000-7fc4309f5000 rw-p 00000000 00:00 0 7fc4309f5000-7fc430af5000 rw-p 00000000 00:00 0 7fc430af5000-7fc430b52000 rw-p 00000000 00:00 0 7fc430b52000-7fc430c52000 rw-p 00000000 00:00 0 7fc430c52000-7fc430d4a000 rw-p 00000000 00:00 0 7fc430d4a000-7fc430e4a000 rw-p 00000000 00:00 0 7fc430e4a000-7fc430e88000 rw-p 00000000 00:00 0 7fc430e88000-7fc430f90000 rw-p 00000000 00:00 0 7fc430f90000-7fc431069000 rw-p 00000000 00:00 0 7fc431069000-7fc431169000 rw-p 00000000 00:00 0 7fc431169000-7fc431181000 r--p 00000000 08:02 1309723 /usr/share/locale/nb/LC_MESSAGES/glib20.mo 7fc431181000-7fc4311bf000 rw-p 00000000 00:00 0 7fc4311bf000-7fc4311c7000 rw-p 00000000 00:00 0 7fc4311c7000-7fc431205000 rw-p 00000000 00:00 0 7fc431205000-7fc431305000 rw-p 00000000 00:00 0 7fc431305000-7fc431381000 rw-p 00000000 00:00 0 7fc431381000-7fc431681000 rw-p 00000000 00:00 0 7fc431681000-7fc431692000 r--p 00000000 08:02 1195541 /usr/share/fonts/Type1/n019023l.pfb 7fc431692000-7fc4316a6000 r--p 00000000 08:02 1195535 /usr/share/fonts/Type1/n019003l.pfb 7fc4316a6000-7fc4316b8000 r--p 00000000 08:02 1195538 /usr/share/fonts/Type1/n019004l.pfb 7fc4316b8000-7fc4316d7000 rw-p 00000000 00:00 0 7fc4316d7000-7fc4316d8000 ---p 00000000 00:00 0 7fc4316d8000-7fc431ed8000 rw-p 00000000 00:00 0 [stack:6105] 7fc431ed8000-7fc431f16000 rw-p 00000000 00:00 0 7fc431f16000-7fc432026000 rw-p 00000000 00:00 0 7fc432026000-7fc432045000 rw-p 00000000 00:00 0 7fc432045000-7fc432046000 ---p 00000000 00:00 0 7fc432046000-7fc43294e000 rw-p 00000000 00:00 0 [stack:6104] 7fc43294e000-7fc43294f000 ---p 00000000 00:00 0 7fc43294f000-7fc43314f000 rw-p 00000000 00:00 0 [stack:6103] 7fc43314f000-7fc43316e000 rw-p 00000000 00:00 0 7fc43316e000-7fc43326e000 rw-p 00000000 00:00 0 7fc43326e000-7fc4333e2000 rw-p 00000000 00:00 0 7fc4333e2000-7fc4333e3000 ---p 00000000 00:00 0 7fc4333e3000-7fc433be3000 rw-p 00000000 00:00 0 [stack:6102] 7fc433be3000-7fc433be8000 r-xp 00000000 08:02 921124 /usr/lib/libnss_dns-2.19.so 7fc433be8000-7fc433de7000 ---p 00005000 08:02 921124 /usr/lib/libnss_dns-2.19.so 7fc433de7000-7fc433de8000 r--p 00004000 08:02 921124 /usr/lib/libnss_dns-2.19.so 7fc433de8000-7fc433de9000 rw-p 00005000 08:02 921124 /usr/lib/libnss_dns-2.19.so 7fc433de9000-7fc433dfd000 r-xp 00000000 08:02 921174 /usr/lib/libresolv-2.19.so 7fc433dfd000-7fc433ffc000 ---p 00014000 08:02 921174 /usr/lib/libresolv-2.19.so 7fc433ffc000-7fc433ffd000 r--p 00013000 08:02 921174 /usr/lib/libresolv-2.19.so 7fc433ffd000-7fc433ffe000 rw-p 00014000 08:02 921174 /usr/lib/libresolv-2.19.so 7fc433ffe000-7fc434000000 rw-p 00000000 00:00 0 7fc434000000-7fc434021000 rw-p 00000000 00:00 0 7fc434021000-7fc438000000 ---p 00000000 00:00 0 7fc438000000-7fc43812c000 rw-p 00000000 00:00 0 7fc43812c000-7fc43c000000 ---p 00000000 00:00 0 7fc43c000000-7fc43c02b000 rw-p 00000000 00:00 0 7fc43c02b000-7fc440000000 ---p 00000000 00:00 0 7fc440006000-7fc44000e000 rw-p 00000000 00:00 0 7fc44000e000-7fc44002d000 rw-p 00000000 00:00 0 7fc44002d000-7fc440135000 rw-p 00000000 00:00 0 7fc440135000-7fc440136000 ---p 00000000 00:00 0 7fc440136000-7fc440936000 rw-p 00000000 00:00 0 [stack:6101] 7fc440936000-7fc440937000 ---p 00000000 00:00 0 7fc440937000-7fc441137000 rw-p 00000000 00:00 0 [stack:6100] 7fc441137000-7fc441537000 rw-p 00000000 00:00 0 7fc441537000-7fc441538000 ---p 00000000 00:00 0 7fc441538000-7fc441d38000 rw-p 00000000 00:00 0 [stack:6099] 7fc441d38000-7fc441e6f000 rw-s 00000000 00:04 5832748 /SYSV00000000 (deleted) 7fc441e6f000-7fc441e7a000 r-xp 00000000 08:02 921125 /usr/lib/libnss_files-2.19.so 7fc441e7a000-7fc442079000 ---p 0000b000 08:02 921125 /usr/lib/libnss_files-2.19.so 7fc442079000-7fc44207a000 r--p 0000a000 08:02 921125 /usr/lib/libnss_files-2.19.so 7fc44207a000-7fc44207b000 rw-p 0000b000 08:02 921125 /usr/lib/libnss_files-2.19.so 7fc44207c000-7fc4420ba000 rw-p 00000000 00:00 0 7fc4420ba000-7fc4420e7000 r-xp 00000000 08:02 1701869 /usr/lib/qt4/plugins/bearer/libqnmbearer.so 7fc4420e7000-7fc4422e6000 ---p 0002d000 08:02 1701869 /usr/lib/qt4/plugins/bearer/libqnmbearer.so 7fc4422e6000-7fc4422e8000 r--p 0002c000 08:02 1701869 /usr/lib/qt4/plugins/bearer/libqnmbearer.so 7fc4422e8000-7fc4422e9000 rw-p 0002e000 08:02 1701869 /usr/lib/qt4/plugins/bearer/libqnmbearer.so 7fc4422e9000-7fc4422f6000 r-xp 00000000 08:02 1701868 /usr/lib/qt4/plugins/bearer/libqgenericbearer.so 7fc4422f6000-7fc4424f5000 ---p 0000d000 08:02 1701868 /usr/lib/qt4/plugins/bearer/libqgenericbearer.so 7fc4424f5000-7fc4424f6000 r--p 0000c000 08:02 1701868 /usr/lib/qt4/plugins/bearer/libqgenericbearer.so 7fc4424f6000-7fc4424f7000 rw-p 0000d000 08:02 1701868 /usr/lib/qt4/plugins/bearer/libqgenericbearer.so 7fc4424f7000-7fc442536000 r-xp 00000000 08:02 1701867 /usr/lib/qt4/plugins/bearer/libqconnmanbearer.so 7fc442536000-7fc442735000 ---p 0003f000 08:02 1701867 /usr/lib/qt4/plugins/bearer/libqconnmanbearer.so 7fc442735000-7fc442737000 r--p 0003e000 08:02 1701867 /usr/lib/qt4/plugins/bearer/libqconnmanbearer.so 7fc442737000-7fc442738000 rw-p 00040000 08:02 1701867 /usr/lib/qt4/plugins/bearer/libqconnmanbearer.so 7fc442738000-7fc442739000 ---p 00000000 00:00 0 7fc442739000-7fc442f39000 rw-p 00000000 00:00 0 [stack:6098] 7fc442f39000-7fc442fef000 r--p 00000000 08:02 1184614 /usr/share/fonts/TTF/DejaVuSans.ttf 7fc442fef000-7fc4439ff000 rw-s 00000000 08:02 523696 /var/tmp/kdecache-jerik/icon-cache.kcache 7fc4439ff000-7fc443a00000 ---p 00000000 00:00 0 7fc443a00000-7fc483a00000 rwxp 00000000 00:00 0 7fc483a00000-7fc483a01000 ---p 00000000 00:00 0 7fc483a01000-7fc483b01000 rw-p 00000000 00:00 0 7fc483b01000-7fc483b02000 ---p 00000000 00:00 0 7fc483b02000-7fc484302000 rw-p 00000000 00:00 0 [stack:6097] 7fc484302000-7fc484306000 r-xp 00000000 08:02 1590674 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc484306000-7fc484505000 ---p 00004000 08:02 1590674 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc484505000-7fc484506000 r--p 00003000 08:02 1590674 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc484506000-7fc484507000 rw-p 00004000 08:02 1590674 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc484507000-7fc484518000 r-xp 00000000 08:02 1590671 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc484518000-7fc484717000 ---p 00011000 08:02 1590671 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc484717000-7fc484718000 r--p 00010000 08:02 1590671 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc484718000-7fc484719000 rw-p 00011000 08:02 1590671 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc484719000-7fc48471d000 rw-p 00000000 00:00 0 7fc48471d000-7fc484772000 r-xp 00000000 08:02 934416 /usr/lib/libwebp.so.5.0.0 7fc484772000-7fc484971000 ---p 00055000 08:02 934416 /usr/lib/libwebp.so.5.0.0 7fc484971000-7fc484972000 r--p 00054000 08:02 934416 /usr/lib/libwebp.so.5.0.0 7fc484972000-7fc484973000 rw-p 00055000 08:02 934416 /usr/lib/libwebp.so.5.0.0 7fc484973000-7fc484979000 rw-p 00000000 00:00 0 7fc484979000-7fc48497d000 r-xp 00000000 08:02 1590699 /usr/lib/kde4/plugins/imageformats/kimg_webp.so 7fc48497d000-7fc484b7c000 ---p 00004000 08:02 1590699 /usr/lib/kde4/plugins/imageformats/kimg_webp.so 7fc484b7c000-7fc484b7d000 r--p 00003000 08:02 1590699 /u -------------- next part -------------- A non-text attachment was scrubbed... Name: WebFrame-0.0.1.tar.gz Type: application/x-gzip Size: 5367 bytes Desc: not available URL: From shordi at ...626... Fri Aug 15 23:40:25 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 15 Aug 2014 23:40:25 +0200 Subject: [Gambas-user] Sqlite3 Driver changed? In-Reply-To: <20140815181108.GE846@...2774...> References: <20140815101533.GD846@...2774...> <20140815181108.GE846@...2774...> Message-ID: Tobi, Thanks for the interest you show. I used the gambas database objects long time ago for that things... but -I don't know why- they are slowest than hell. Most of all in Mysql but in sqlite too... The pragma solution works well (like the Show columns from Table in MySql), very well until... I don't know when. Yesterday I found the error... but it can be happening since long time, I don't know. I'm afraid that I've to return to slow solutions... Regards 2014-08-15 20:11 GMT+02:00 Tobias Boege : > On Fri, 15 Aug 2014, Jorge Carri??n wrote: > > Tobi: > > You're right. Excuse me. > > I'm using the 3.5.4 version of the stable repository of nemh (now > > deprecated, I think...). > > Attached a little proyect showing what I mean. > > I've testing the database with SqliteMan application and respond ok to > the > > copy-paste pragma instruction. > > > > Well, a quick and reliable fix may be for you to not use the PRAGMA :-) > > Turns out that Gambas can execute just this PRAGMA table_info correctly for > you from the Table.Fields interface, as shown below. However, gb.db.sqlite3 > doesn't seem to get any PRAGMA query right... I'll just continue staring at > the sources for a while, maybe I find the cause. > > So, to access table metadata, namely a good subset of what PRAGMA > table_info > tells you, you have to do: > > Dim hTable As Table = hConnection.Tables["test"] > Dim hField As Field > > For Each hField In hTable.Fields > Print hField.Name, hField.Type ' etc. > Next > > It does not provide all of the sqlite3-specific information, though... > > Look at the docs: Table.Fields [0], Field [1]. > > Regards, > Tobi > > [0] http://gambaswiki.org/wiki/comp/gb.db/table/fields > [1] http://gambaswiki.org/wiki/comp/gb.db/field > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ian.roper at ...1974... Sat Aug 16 03:53:29 2014 From: ian.roper at ...1974... (Ian) Date: Sat, 16 Aug 2014 09:53:29 +0800 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> Message-ID: <53EEB999.6020605@...1974...> I have the same version of Linux as Jorge (Linux Mint 17) and key events don't work for me. ? Is there some other tertiary factor involved here? Cheers, Ian Roper. On 15/08/14 19:47, Jorge Carri?n wrote: > Jesus: > In my computer works fine with both libraries qt and gtk. with LinuxMint 17. > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QCleanlooks > Language=es_ES.UTF-8 > Memory=7968M > [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+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Hope this help. > > Regards > > > 2014-08-15 12:34 GMT+02:00 Ru Vuott : > >> Hello Jesus, >> >> I tested it, and I confirm the problem: key events don't work on gb.gtk, >> nor gb.gtk3. >> >> My system: >> [System] >> Gambas=3.5.90 >> OperatingSystem=Linux >> Kernel=3.13.0-24-generic >> Architecture=x86_64 >> Distribution=Linux Mint 17 Qiana >> Desktop=GNOME >> Theme=QCleanlooks >> Language=it_IT.UTF-8 >> Memory=3953M >> [Libraries] >> Cairo=libcairo.so.2.11301.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+3=libgtk-3.so.0.1000.8 >> GTK+=libgtk-x11-2.0.so.0.2400.23 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.44.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> >> >> bye >> vuottt >> >> >> >> >> >> -------------------------------------------- >> Ven 15/8/14, Jesus ha scritto: >> >> Oggetto: [Gambas-user] Key events don't work on gb.gtk >> A: "mailing list for gambas users" >> Data: Venerd? 15 agosto 2014, 10:13 >> >> Hi everyone >> >> I just realized that key events don't work on gb.gtk. >> >> Could you please give it a test and confirm it as a bug? >> >> Little test program attached. >> >> Regards >> -- >> Jesus Guardon >> >> -----Segue allegato----- >> >> >> ------------------------------------------------------------------------------ >> >> -----Segue allegato----- >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From shordi at ...626... Sat Aug 16 07:40:22 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 16 Aug 2014 07:40:22 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53EEB999.6020605@...1974...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> Message-ID: The only thing I've changed is the qt defult theme... Maybe that's involved in it but I think I've saw that Jesus has the same theme than me... Realy don't know. Regards 2014-08-16 3:53 GMT+02:00 Ian : > I have the same version of Linux as Jorge (Linux Mint 17) and key events > don't work for me. ? > Is there some other tertiary factor involved here? > > Cheers, > Ian Roper. > > > On 15/08/14 19:47, Jorge Carri?n wrote: > > Jesus: > > In my computer works fine with both libraries qt and gtk. with LinuxMint > 17. > > > > [System] > > Gambas=3.5.4 > > OperatingSystem=Linux > > Kernel=3.13.0-24-generic > > Architecture=x86_64 > > Distribution=Linux Mint 17 Qiana > > Desktop=GNOME > > Theme=QCleanlooks > > Language=es_ES.UTF-8 > > Memory=7968M > > [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+=libgtk-x11-2.0.so.0.2400.23 > > OpenGL=libGL.so.1.2.0 > > Poppler=libpoppler.so.44.0.0 > > Qt4=libQtCore.so.4.8.6 > > SDL=libSDL-1.2.so.0.11.4 > > > > Hope this help. > > > > Regards > > > > > > 2014-08-15 12:34 GMT+02:00 Ru Vuott : > > > >> Hello Jesus, > >> > >> I tested it, and I confirm the problem: key events don't work on gb.gtk, > >> nor gb.gtk3. > >> > >> My system: > >> [System] > >> Gambas=3.5.90 > >> OperatingSystem=Linux > >> Kernel=3.13.0-24-generic > >> Architecture=x86_64 > >> Distribution=Linux Mint 17 Qiana > >> Desktop=GNOME > >> Theme=QCleanlooks > >> Language=it_IT.UTF-8 > >> Memory=3953M > >> [Libraries] > >> Cairo=libcairo.so.2.11301.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+3=libgtk-3.so.0.1000.8 > >> GTK+=libgtk-x11-2.0.so.0.2400.23 > >> OpenGL=libGL.so.1.2.0 > >> Poppler=libpoppler.so.44.0.0 > >> Qt4=libQtCore.so.4.8.6 > >> SDL=libSDL-1.2.so.0.11.4 > >> > >> > >> bye > >> vuottt > >> > >> > >> > >> > >> > >> -------------------------------------------- > >> Ven 15/8/14, Jesus ha scritto: > >> > >> Oggetto: [Gambas-user] Key events don't work on gb.gtk > >> A: "mailing list for gambas users" > > >> Data: Venerd? 15 agosto 2014, 10:13 > >> > >> Hi everyone > >> > >> I just realized that key events don't work on gb.gtk. > >> > >> Could you please give it a test and confirm it as a bug? > >> > >> Little test program attached. > >> > >> Regards > >> -- > >> Jesus Guardon > >> > >> -----Segue allegato----- > >> > >> > >> > ------------------------------------------------------------------------------ > >> > >> -----Segue allegato----- > >> > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ea7dfh at ...2382... Sat Aug 16 12:50:05 2014 From: ea7dfh at ...2382... (Jesus) Date: Sat, 16 Aug 2014 12:50:05 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> Message-ID: <53EF375D.2070406@...2382...> El 16/08/14 a las #4, Jorge Carri?n escribi?: > The only thing I've changed is the qt defult theme... Maybe that's involved > in it but I think I've saw that Jesus has the same theme than me... > > Realy don't know. > > Regards I is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest trunk code does. So recent changes in trunk are the only thing involved. Regards -- Jesus Guardon From taboege at ...626... Tue Aug 19 21:28:12 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 19 Aug 2014 21:28:12 +0200 Subject: [Gambas-user] [Gambas-devel] Using command line arguments in GUI applications In-Reply-To: <147efa0d7c5.11883dd8243043.6244029065240490411@...3367...> References: <147efa0d7c5.11883dd8243043.6244029065240490411@...3367...> Message-ID: <20140819192812.GA19170@...2774...> On Tue, 19 Aug 2014, Geoffrey De Belie wrote: > Hi, > > After reading the documentation at http://gambasdoc.org/help/comp/gb.args/args/has?v3 I'm not sure how to use command line arguments in Gambas. Can you explain it to me? > > 1) Is it possible to pass command line arguments to my GUI application? If so, how? > 2) How can I define command line arguments (options) like --execute, -e or --replace, -r? > Does the attached project help you? Note that you call the Gambas interpreter to start your Gambas program. The interpreter takes arguments of its own so you have to take the canonical measures (i.e. the sole double dash) to make gbx3 leave your argument to gb.args: $ gbc3 && gbx3 -- --replace ABC in your project directory will compile and call the program. Also, you wrote this message to the gambas-devel mailing list which is for people who contribute to Gambas. To ask Gambas user/usage questions like yours, there is the gambas-user mailing list (which I'm CC'ing now). You will likely get an even quicker response there :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: gui-args-0.0.1.tar.gz Type: application/octet-stream Size: 4807 bytes Desc: not available URL: From rmorgan62 at ...626... Wed Aug 20 22:20:37 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 20 Aug 2014 13:20:37 -0700 Subject: [Gambas-user] Gambas Magazine - Update Message-ID: Hi Folks, First thank you to all who provided comments and feed back on the first issue of Gambas Magazine. Now that I am back in the city I am focused on the next issue of Gambas Magazine which will be released on October 1st. As usually, we are in need of articles of interest to Gambas users and developers. The next issue will focus on Game development with Gambas and will also include follows-ups on the multi-part articles in the last issue. I am in great need of contributors to author articles, proof read, and do technical reviews of articles before publishing, and provide artwork for covers and articles. If you or someone you know would like to contribute, please contact me. Sincerely, Randall - Editor, Gambas Magazine From gambas at ...1... Wed Aug 20 22:45:51 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 20 Aug 2014 22:45:51 +0200 Subject: [Gambas-user] table view display bug/anomalie In-Reply-To: <53E15187.4010305@...1823...> References: <53E15187.4010305@...1823...> Message-ID: <53F508FF.70406@...1...> Le 05/08/2014 23:49, richard terry a ?crit : > Hi Benoit, > > Don't know if anyone has ever noticed this, but if you have a table view > and its contained in a split then if someone resizes the split whilst > the table view is being edited, the editing control x.y doesn't move up > (or down) when the split is resized and hence is out of alignment with > the cell. > > Regards > > richard > It should be fixed in revision #6417. Regards, -- Beno?t Minisini From epost at ...3323... Wed Aug 20 23:19:02 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Wed, 20 Aug 2014 23:19:02 +0200 Subject: [Gambas-user] Fwd: WebFrame gives Sigbart 6 In-Reply-To: References: Message-ID: <53F510C6.5060802@...3323...> Hi Beno?t. I sent this last week - did you manage to have a look at it? Attached project fails with Sigbart 6 when clicking 'Find Images' more than once. (Clicking it once and then closing the app gives a Sigbart 11 instead...) *** Error in `WebFrame': double free or corruption (out): 0x0000000001879910 *** ======= Backtrace: ========= /usr/lib/libc.so.6(+0x73f8e)[0x7fc49c2e5f8e] /usr/lib/libc.so.6(+0x7988e)[0x7fc49c2eb88e] /usr/lib/libc.so.6(+0x7a04b)[0x7fc49c2ec04b] /usr/lib/libQtWebKit.so.4(_ZN11QWebElementD1Ev+0xc)[0x7fc492376d6c] /usr/lib64/gambas3/gb.qt4.webkit.so(+0xce6a)[0x7fc49458ee6a] WebFrame[0x40b31e] WebFrame[0x40ba27] WebFrame[0x40bd1d] WebFrame[0x40f5a3] WebFrame[0x42ba05] WebFrame[0x42c6b0] WebFrame[0x40b31e] WebFrame[0x40ba27] WebFrame[0x40bf47] WebFrame[0x40f5a3] WebFrame[0x407dc4] WebFrame[0x437513] WebFrame[0x40a460] WebFrame[0x40ab39] WebFrame[0x41f905] WebFrame[0x42148c] /usr/lib64/gambas3/gb.qt4.so(+0x4b607)[0x7fc49aae0607] /usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2da)[0x7fc498da530a] /usr/lib/libQtGui.so.4(_ZN15QAbstractButton7clickedEb+0x32)[0x7fc4999096c2] /usr/lib/libQtGui.so.4(+0x575be3)[0x7fc49966dbe3] /usr/lib/libQtGui.so.4(+0x576d53)[0x7fc49966ed53] /usr/lib/libQtGui.so.4(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0x6c)[0x7fc49966ee3c] /usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xaca)[0x7fc49930f44a] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8c)[0x7fc4992bff0c] /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x36a)[0x7fc4992c65ca] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x6d)[0x7fc498d9158d] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x153)[0x7fc4992c5dc3] /usr/lib/libQtGui.so.4(+0x23f95b)[0x7fc49933795b] /usr/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x5fc)[0x7fc4993363cc] /usr/lib/libQtGui.so.4(+0x265870)[0x7fc49935d870] /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f)[0x7fc498d9015f] /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x175)[0x7fc498d90455] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x89)[0x7fc498d95719] /usr/lib64/gambas3/gb.qt4.so(+0x3df3d)[0x7fc49aad2f3d] WebFrame[0x4047e9] /usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7fc49c292000] WebFrame[0x4048f0] ======= Memory map: ======== 00400000-00451000 r-xp 00000000 08:02 920936 /usr/bin/gbx3 00651000-0065b000 rw-p 00051000 08:02 920936 /usr/bin/gbx3 0065b000-0065e000 rw-p 00000000 00:00 0 00d19000-01cc2000 rw-p 00000000 00:00 0 [heap] 7fc418000000-7fc418021000 rw-p 00000000 00:00 0 7fc418021000-7fc41c000000 ---p 00000000 00:00 0 7fc41e63b000-7fc41eb03000 rw-p 00000000 00:00 0 7fc41ebd1000-7fc41eeca000 rw-p 00000000 00:00 0 7fc41eeca000-7fc41ef08000 rw-p 00000000 00:00 0 7fc41ef08000-7fc41f010000 rw-p 00000000 00:00 0 7fc41f010000-7fc41f08c000 rw-p 00000000 00:00 0 7fc41f08c000-7fc41f18c000 rw-p 00000000 00:00 0 7fc41f18c000-7fc41f208000 rw-p 00000000 00:00 0 7fc41f208000-7fc41f210000 rw-p 00000000 00:00 0 7fc41f210000-7fc41f24e000 rw-p 00000000 00:00 0 7fc41f24e000-7fc41f44e000 rw-p 00000000 00:00 0 7fc41f44e000-7fc41f48c000 rw-p 00000000 00:00 0 7fc41f48c000-7fc41f78c000 rw-p 00000000 00:00 0 7fc41f78c000-7fc41f7e9000 rw-p 00000000 00:00 0 7fc41f7e9000-7fc41f8f1000 rw-p 00000000 00:00 0 7fc41f8f1000-7fc41f9e9000 rw-p 00000000 00:00 0 7fc41f9e9000-7fc41fae9000 rw-p 00000000 00:00 0 7fc41fae9000-7fc41fb08000 rw-p 00000000 00:00 0 7fc41fb08000-7fc41fc08000 rw-p 00000000 00:00 0 7fc41fc08000-7fc41fc27000 rw-p 00000000 00:00 0 7fc41fc27000-7fc41fd27000 rw-p 00000000 00:00 0 7fc41fd27000-7fc41fda3000 rw-p 00000000 00:00 0 7fc41fda3000-7fc41fea3000 rw-p 00000000 00:00 0 7fc41fea3000-7fc41ff00000 rw-p 00000000 00:00 0 7fc41ff00000-7fc420000000 rw-p 00000000 00:00 0 7fc420000000-7fc420021000 rw-p 00000000 00:00 0 7fc420021000-7fc424000000 ---p 00000000 00:00 0 7fc424000000-7fc424021000 rw-p 00000000 00:00 0 7fc424021000-7fc428000000 ---p 00000000 00:00 0 7fc428000000-7fc428021000 rw-p 00000000 00:00 0 7fc428021000-7fc42c000000 ---p 00000000 00:00 0 7fc42c000000-7fc42c021000 rw-p 00000000 00:00 0 7fc42c021000-7fc430000000 ---p 00000000 00:00 0 7fc430004000-7fc43009f000 rw-p 00000000 00:00 0 7fc43009f000-7fc4300a7000 rw-p 00000000 00:00 0 7fc4300a7000-7fc4300c6000 rw-p 00000000 00:00 0 7fc4300c6000-7fc4301c6000 rw-p 00000000 00:00 0 7fc4301c6000-7fc430280000 rw-p 00000000 00:00 0 7fc430280000-7fc430380000 rw-p 00000000 00:00 0 7fc430380000-7fc43039f000 rw-p 00000000 00:00 0 7fc43039f000-7fc43049f000 rw-p 00000000 00:00 0 7fc43049f000-7fc4304fc000 rw-p 00000000 00:00 0 7fc4304fc000-7fc4305fc000 rw-p 00000000 00:00 0 7fc4305fc000-7fc430697000 rw-p 00000000 00:00 0 7fc430697000-7fc430797000 rw-p 00000000 00:00 0 7fc430797000-7fc4308cd000 rw-p 00000000 00:00 0 7fc430961000-7fc43099f000 rw-p 00000000 00:00 0 7fc43099f000-7fc4309b7000 rw-p 00000000 00:00 0 7fc4309b7000-7fc4309f5000 rw-p 00000000 00:00 0 7fc4309f5000-7fc430af5000 rw-p 00000000 00:00 0 7fc430af5000-7fc430b52000 rw-p 00000000 00:00 0 7fc430b52000-7fc430c52000 rw-p 00000000 00:00 0 7fc430c52000-7fc430d4a000 rw-p 00000000 00:00 0 7fc430d4a000-7fc430e4a000 rw-p 00000000 00:00 0 7fc430e4a000-7fc430e88000 rw-p 00000000 00:00 0 7fc430e88000-7fc430f90000 rw-p 00000000 00:00 0 7fc430f90000-7fc431069000 rw-p 00000000 00:00 0 7fc431069000-7fc431169000 rw-p 00000000 00:00 0 7fc431169000-7fc431181000 r--p 00000000 08:02 1309723 /usr/share/locale/nb/LC_MESSAGES/glib20.mo 7fc431181000-7fc4311bf000 rw-p 00000000 00:00 0 7fc4311bf000-7fc4311c7000 rw-p 00000000 00:00 0 7fc4311c7000-7fc431205000 rw-p 00000000 00:00 0 7fc431205000-7fc431305000 rw-p 00000000 00:00 0 7fc431305000-7fc431381000 rw-p 00000000 00:00 0 7fc431381000-7fc431681000 rw-p 00000000 00:00 0 7fc431681000-7fc431692000 r--p 00000000 08:02 1195541 /usr/share/fonts/Type1/n019023l.pfb 7fc431692000-7fc4316a6000 r--p 00000000 08:02 1195535 /usr/share/fonts/Type1/n019003l.pfb 7fc4316a6000-7fc4316b8000 r--p 00000000 08:02 1195538 /usr/share/fonts/Type1/n019004l.pfb 7fc4316b8000-7fc4316d7000 rw-p 00000000 00:00 0 7fc4316d7000-7fc4316d8000 ---p 00000000 00:00 0 7fc4316d8000-7fc431ed8000 rw-p 00000000 00:00 0 [stack:6105] 7fc431ed8000-7fc431f16000 rw-p 00000000 00:00 0 7fc431f16000-7fc432026000 rw-p 00000000 00:00 0 7fc432026000-7fc432045000 rw-p 00000000 00:00 0 7fc432045000-7fc432046000 ---p 00000000 00:00 0 7fc432046000-7fc43294e000 rw-p 00000000 00:00 0 [stack:6104] 7fc43294e000-7fc43294f000 ---p 00000000 00:00 0 7fc43294f000-7fc43314f000 rw-p 00000000 00:00 0 [stack:6103] 7fc43314f000-7fc43316e000 rw-p 00000000 00:00 0 7fc43316e000-7fc43326e000 rw-p 00000000 00:00 0 7fc43326e000-7fc4333e2000 rw-p 00000000 00:00 0 7fc4333e2000-7fc4333e3000 ---p 00000000 00:00 0 7fc4333e3000-7fc433be3000 rw-p 00000000 00:00 0 [stack:6102] 7fc433be3000-7fc433be8000 r-xp 00000000 08:02 921124 /usr/lib/libnss_dns-2.19.so 7fc433be8000-7fc433de7000 ---p 00005000 08:02 921124 /usr/lib/libnss_dns-2.19.so 7fc433de7000-7fc433de8000 r--p 00004000 08:02 921124 /usr/lib/libnss_dns-2.19.so 7fc433de8000-7fc433de9000 rw-p 00005000 08:02 921124 /usr/lib/libnss_dns-2.19.so 7fc433de9000-7fc433dfd000 r-xp 00000000 08:02 921174 /usr/lib/libresolv-2.19.so 7fc433dfd000-7fc433ffc000 ---p 00014000 08:02 921174 /usr/lib/libresolv-2.19.so 7fc433ffc000-7fc433ffd000 r--p 00013000 08:02 921174 /usr/lib/libresolv-2.19.so 7fc433ffd000-7fc433ffe000 rw-p 00014000 08:02 921174 /usr/lib/libresolv-2.19.so 7fc433ffe000-7fc434000000 rw-p 00000000 00:00 0 7fc434000000-7fc434021000 rw-p 00000000 00:00 0 7fc434021000-7fc438000000 ---p 00000000 00:00 0 7fc438000000-7fc43812c000 rw-p 00000000 00:00 0 7fc43812c000-7fc43c000000 ---p 00000000 00:00 0 7fc43c000000-7fc43c02b000 rw-p 00000000 00:00 0 7fc43c02b000-7fc440000000 ---p 00000000 00:00 0 7fc440006000-7fc44000e000 rw-p 00000000 00:00 0 7fc44000e000-7fc44002d000 rw-p 00000000 00:00 0 7fc44002d000-7fc440135000 rw-p 00000000 00:00 0 7fc440135000-7fc440136000 ---p 00000000 00:00 0 7fc440136000-7fc440936000 rw-p 00000000 00:00 0 [stack:6101] 7fc440936000-7fc440937000 ---p 00000000 00:00 0 7fc440937000-7fc441137000 rw-p 00000000 00:00 0 [stack:6100] 7fc441137000-7fc441537000 rw-p 00000000 00:00 0 7fc441537000-7fc441538000 ---p 00000000 00:00 0 7fc441538000-7fc441d38000 rw-p 00000000 00:00 0 [stack:6099] 7fc441d38000-7fc441e6f000 rw-s 00000000 00:04 5832748 /SYSV00000000 (deleted) 7fc441e6f000-7fc441e7a000 r-xp 00000000 08:02 921125 /usr/lib/libnss_files-2.19.so 7fc441e7a000-7fc442079000 ---p 0000b000 08:02 921125 /usr/lib/libnss_files-2.19.so 7fc442079000-7fc44207a000 r--p 0000a000 08:02 921125 /usr/lib/libnss_files-2.19.so 7fc44207a000-7fc44207b000 rw-p 0000b000 08:02 921125 /usr/lib/libnss_files-2.19.so 7fc44207c000-7fc4420ba000 rw-p 00000000 00:00 0 7fc4420ba000-7fc4420e7000 r-xp 00000000 08:02 1701869 /usr/lib/qt4/plugins/bearer/libqnmbearer.so 7fc4420e7000-7fc4422e6000 ---p 0002d000 08:02 1701869 /usr/lib/qt4/plugins/bearer/libqnmbearer.so 7fc4422e6000-7fc4422e8000 r--p 0002c000 08:02 1701869 /usr/lib/qt4/plugins/bearer/libqnmbearer.so 7fc4422e8000-7fc4422e9000 rw-p 0002e000 08:02 1701869 /usr/lib/qt4/plugins/bearer/libqnmbearer.so 7fc4422e9000-7fc4422f6000 r-xp 00000000 08:02 1701868 /usr/lib/qt4/plugins/bearer/libqgenericbearer.so 7fc4422f6000-7fc4424f5000 ---p 0000d000 08:02 1701868 /usr/lib/qt4/plugins/bearer/libqgenericbearer.so 7fc4424f5000-7fc4424f6000 r--p 0000c000 08:02 1701868 /usr/lib/qt4/plugins/bearer/libqgenericbearer.so 7fc4424f6000-7fc4424f7000 rw-p 0000d000 08:02 1701868 /usr/lib/qt4/plugins/bearer/libqgenericbearer.so 7fc4424f7000-7fc442536000 r-xp 00000000 08:02 1701867 /usr/lib/qt4/plugins/bearer/libqconnmanbearer.so 7fc442536000-7fc442735000 ---p 0003f000 08:02 1701867 /usr/lib/qt4/plugins/bearer/libqconnmanbearer.so 7fc442735000-7fc442737000 r--p 0003e000 08:02 1701867 /usr/lib/qt4/plugins/bearer/libqconnmanbearer.so 7fc442737000-7fc442738000 rw-p 00040000 08:02 1701867 /usr/lib/qt4/plugins/bearer/libqconnmanbearer.so 7fc442738000-7fc442739000 ---p 00000000 00:00 0 7fc442739000-7fc442f39000 rw-p 00000000 00:00 0 [stack:6098] 7fc442f39000-7fc442fef000 r--p 00000000 08:02 1184614 /usr/share/fonts/TTF/DejaVuSans.ttf 7fc442fef000-7fc4439ff000 rw-s 00000000 08:02 523696 /var/tmp/kdecache-jerik/icon-cache.kcache 7fc4439ff000-7fc443a00000 ---p 00000000 00:00 0 7fc443a00000-7fc483a00000 rwxp 00000000 00:00 0 7fc483a00000-7fc483a01000 ---p 00000000 00:00 0 7fc483a01000-7fc483b01000 rw-p 00000000 00:00 0 7fc483b01000-7fc483b02000 ---p 00000000 00:00 0 7fc483b02000-7fc484302000 rw-p 00000000 00:00 0 [stack:6097] 7fc484302000-7fc484306000 r-xp 00000000 08:02 1590674 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc484306000-7fc484505000 ---p 00004000 08:02 1590674 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc484505000-7fc484506000 r--p 00003000 08:02 1590674 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc484506000-7fc484507000 rw-p 00004000 08:02 1590674 /usr/lib/kde4/plugins/imageformats/kimg_xview.so 7fc484507000-7fc484518000 r-xp 00000000 08:02 1590671 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc484518000-7fc484717000 ---p 00011000 08:02 1590671 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc484717000-7fc484718000 r--p 00010000 08:02 1590671 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc484718000-7fc484719000 rw-p 00011000 08:02 1590671 /usr/lib/kde4/plugins/imageformats/kimg_xcf.so 7fc484719000-7fc48471d000 rw-p 00000000 00:00 0 7fc48471d000-7fc484772000 r-xp 00000000 08:02 934416 /usr/lib/libwebp.so.5.0.0 7fc484772000-7fc484971000 ---p 00055000 08:02 934416 /usr/lib/libwebp.so.5.0.0 7fc484971000-7fc484972000 r--p 00054000 08:02 934416 /usr/lib/libwebp.so.5.0.0 7fc484972000-7fc484973000 rw-p 00055000 08:02 934416 /usr/lib/libwebp.so.5.0.0 7fc484973000-7fc484979000 rw-p 00000000 00:00 0 7fc484979000-7fc48497d000 r-xp 00000000 08:02 1590699 /usr/lib/kde4/plugins/imageformats/kimg_webp.so 7fc48497d000-7fc484b7c000 ---p 00004000 08:02 1590699 /usr/lib/kde4/plugins/imageformats/kimg_webp.so 7fc484b7c000-7fc484b7d000 r--p 00003000 08:02 1590699 /u -------------- next part -------------- A non-text attachment was scrubbed... Name: WebFrame-0.0.1.tar.gz Type: application/x-gzip Size: 5367 bytes Desc: not available URL: From gambas at ...1... Wed Aug 20 23:24:18 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 20 Aug 2014 23:24:18 +0200 Subject: [Gambas-user] IDE: "Entered text echo" not working as expected In-Reply-To: <20140729202708.GI523@...2774...> References: <20140729130732.GE523@...2774...> <53D7FC47.6090907@...1...> <20140729202708.GI523@...2774...> Message-ID: <53F51202.4030003@...1...> Le 29/07/2014 22:27, Tobias Boege a ?crit : > On Tue, 29 Jul 2014, Beno?t Minisini wrote: >> Le 29/07/2014 15:07, Tobias Boege a ?crit : >>> Hi Benoit, >>> >>> my project is a console one and has a prompt, so I tried to toggle the >>> "Entered text echo" button to "on". However, it will only echo when the >>> project is not running. But I wanted to see how a session would look like >>> if I would run the program from command line, without the IDE. >>> >>> Looking at the sources, Debug/FOutput.class, I see that Design.IsRunning >>> being True prevents the input from being sent (I verified this). I don't >>> know what "Design" stands for. Is this behaviour intended? If so, why, >>> and can we change it? >>> >>> Regards, >>> Tobi >>> >> >> The output window is not a terminal. You must use "use a terminal" to >> check how your project run inside a terminal. >> > > No, I don't need a terminal (emulator). I just want to see how it would > look if the user had typed in between my program's messages, so that I > can copy this text and say: "this is how a sample session would look > like". Of course, I could do it from a terminal with no effort but it > should work in the IDE, too. > > All I want is the echo of what the user entered into the box. But it > doesn't show up when the program is running. Only when the program is > not running, I get the echo, which is what I find strange. > > Regards, > Tobi > Fixed in revision #6417. Regards, -- Beno?t Minisini From rterry at ...1823... Thu Aug 21 00:38:51 2014 From: rterry at ...1823... (richard terry) Date: Thu, 21 Aug 2014 08:38:51 +1000 Subject: [Gambas-user] table view display bug/anomalie In-Reply-To: <53F508FF.70406@...1...> References: <53E15187.4010305@...1823...> <53F508FF.70406@...1...> Message-ID: <53F5237B.5030204@...1823...> On 21/08/14 06:45, Beno?t Minisini wrote: > Le 05/08/2014 23:49, richard terry a ?crit : >> Hi Benoit, >> >> Don't know if anyone has ever noticed this, but if you have a table view >> and its contained in a split then if someone resizes the split whilst >> the table view is being edited, the editing control x.y doesn't move up >> (or down) when the split is resized and hence is out of alignment with >> the cell. >> >> Regards >> >> richard >> > It should be fixed in revision #6417. > > Regards, > thanks From taboege at ...626... Thu Aug 21 01:07:28 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 21 Aug 2014 01:07:28 +0200 Subject: [Gambas-user] Using command line arguments in GUI applications In-Reply-To: <53F4D137.80702@...3367...> References: <147efa0d7c5.11883dd8243043.6244029065240490411@...3367...> <20140819192812.GA19170@...2774...> <53F4D137.80702@...3367...> Message-ID: <20140820230728.GB1234@...2774...> On Wed, 20 Aug 2014, Geoffrey De Belie wrote: > > Op 19-08-14 om 21:28 schreef Tobias Boege: > >On Tue, 19 Aug 2014, Geoffrey De Belie wrote: > >>Hi, > >> > >>After reading the documentation at http://gambasdoc.org/help/comp/gb.args/args/has?v3 I'm not sure how to use command line arguments in Gambas. Can you explain it to me? > >> > >>1) Is it possible to pass command line arguments to my GUI application? If so, how? > >>2) How can I define command line arguments (options) like --execute, -e or --replace, -r? > >> > >Does the attached project help you? > > > >Note that you call the Gambas interpreter to start your Gambas program. The > >interpreter takes arguments of its own so you have to take the canonical > >measures (i.e. the sole double dash) to make gbx3 leave your argument to > >gb.args: > > > > $ gbc3 && gbx3 -- --replace ABC > > > >in your project directory will compile and call the program. > > > >Also, you wrote this message to the gambas-devel mailing list which is for > >people who contribute to Gambas. To ask Gambas user/usage questions like > >yours, there is the gambas-user mailing list (which I'm CC'ing now). You > >will likely get an even quicker response there :-) > > > >Regards, > >Tobi > > > Hi, > > Thanks for the project. Just what I needed. One last question: how can I add > the parameter to the --help text? > > I read at http://gambasdoc.org/help/comp/gb.args/args/getinteger?v3 > "_ArgName_ is the name of the option argument used by the --help option." > > Almost what I need, I just don't know how to define an option that takes an > argument, like --replace sometext does. > Args.Get() is for options which accept some data (in string form). There are GetInteger() and GetFloat() which convert the argument to Integer or Float for you. For argument-less options, you have the Has() method. You specify the help text and stuff in the call to Args.Get()/GetInteger()/ GetFloat()/Has(), like so (adapting the project I sent): $sReplace = Args.Get("r", "replace", "Specify the replacement text", "rep") Then $ gbc3 && gbx3 -- --help Usage: gui-args Options: -r --replace Specify the replacement text -V --version Display version -h --help Display this help I first thought it was some non-deterministic black magic which makes the arguments to some method call appear in that help text but if you experiment a bit with gb.args (place Args.Begin(), ..., Args.End() blocks into different sections of your program or look into its source code), you'll see that it is still limited to the traditional idea of action before reaction. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bbruen at ...2308... Thu Aug 21 15:20:19 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 21 Aug 2014 22:50:19 +0930 Subject: [Gambas-user] Using command line arguments in GUI applications In-Reply-To: <20140820230728.GB1234@...2774...> References: <147efa0d7c5.11883dd8243043.6244029065240490411@...3367...> <20140819192812.GA19170@...2774...> <53F4D137.80702@...3367...> <20140820230728.GB1234@...2774...> Message-ID: <20140821225019.8974a8d0d4f9b79ab265cf9a@...2308...> Here's a slightly modified version of Tobi's demo showing most (?) of the features of the Args processor with comments. hth Bruce On Thu, 21 Aug 2014 01:07:28 +0200 Tobias Boege wrote: > On Wed, 20 Aug 2014, Geoffrey De Belie wrote: > > > > Op 19-08-14 om 21:28 schreef Tobias Boege: > > >On Tue, 19 Aug 2014, Geoffrey De Belie wrote: > > >>Hi, > > >> > > >>After reading the documentation at http://gambasdoc.org/help/comp/gb.args/args/has?v3 I'm not sure how to use command line arguments in Gambas. Can you explain it to me? > > >> > > >>1) Is it possible to pass command line arguments to my GUI application? If so, how? > > >>2) How can I define command line arguments (options) like --execute, -e or --replace, -r? > > >> > > >Does the attached project help you? > > > > > >Note that you call the Gambas interpreter to start your Gambas program. The > > >interpreter takes arguments of its own so you have to take the canonical > > >measures (i.e. the sole double dash) to make gbx3 leave your argument to > > >gb.args: > > > > > > $ gbc3 && gbx3 -- --replace ABC > > > > > >in your project directory will compile and call the program. > > > > > >Also, you wrote this message to the gambas-devel mailing list which is for > > >people who contribute to Gambas. To ask Gambas user/usage questions like > > >yours, there is the gambas-user mailing list (which I'm CC'ing now). You > > >will likely get an even quicker response there :-) > > > > > >Regards, > > >Tobi > > > > > Hi, > > > > Thanks for the project. Just what I needed. One last question: how can I add > > the parameter to the --help text? > > > > I read at http://gambasdoc.org/help/comp/gb.args/args/getinteger?v3 > > "_ArgName_ is the name of the option argument used by the --help option." > > > > Almost what I need, I just don't know how to define an option that takes an > > argument, like --replace sometext does. > > > > Args.Get() is for options which accept some data (in string form). There are > GetInteger() and GetFloat() which convert the argument to Integer or Float > for you. For argument-less options, you have the Has() method. > > You specify the help text and stuff in the call to Args.Get()/GetInteger()/ > GetFloat()/Has(), like so (adapting the project I sent): > > $sReplace = Args.Get("r", "replace", "Specify the replacement text", "rep") > > Then > > $ gbc3 && gbx3 -- --help > Usage: gui-args > > Options: > -r --replace Specify the replacement text > -V --version Display version > -h --help Display this help > > I first thought it was some non-deterministic black magic which makes the > arguments to some method call appear in that help text but if you experiment > a bit with gb.args (place Args.Begin(), ..., Args.End() blocks into different > sections of your program or look into its source code), you'll see that it is > still limited to the traditional idea of action before reaction. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: gui-args-0.0.12.tar.gz Type: application/octet-stream Size: 5949 bytes Desc: not available URL: From taboege at ...626... Thu Aug 21 23:33:18 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 21 Aug 2014 23:33:18 +0200 Subject: [Gambas-user] [Gambas-devel] Gambas Magazine - Update In-Reply-To: References: Message-ID: <20140821213318.GC957@...2774...> On Wed, 20 Aug 2014, Randall Morgan wrote: > Hi Folks, > > First thank you to all who provided comments and feed back on the first > issue of Gambas Magazine. Now that I am back in the city I am focused on > the next issue of Gambas Magazine which will be released on October 1st. > As usually, we are in need of articles of interest to Gambas users and > developers. > > The next issue will focus on Game development with Gambas and will also > include follows-ups on the multi-part articles in the last issue. > > I am in great need of contributors to author articles, proof read, and do > technical reviews of articles before publishing, and provide artwork for > covers and articles. If you or someone you know would like to contribute, > please contact me. > I volunteer to proof read. Especially the interesting stuff :-) _Maybe_ I can do something game-related with gb.ncurses but being born in the mid-90s plus not being into games, I need to do serious research to find ideas... I would personally like to put my share of extra emphasis on the artwork part. The last cover featuring a tux and a grid of Gnome (?) feet wasn't quite to the point. I felt like it said: "we're doing some generic Linux stuff here, I guess". (Maybe the feet related to the subtitle "Getting our feet wet" but I instantly associated the Gnome logo.) I'm not artistically trained so all I can say is that it missed something in my view... It would be great if an "official" list of topics would be on the website so that I can spread the word to the German Gambas community. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Aug 21 23:53:49 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 21 Aug 2014 23:53:49 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6414] gambas/trunk In-Reply-To: <20140806213146.GC1050@...2774...> References: <20140803001610.GA27726@...2774...> <53DD8F1B.9060701@...1...> <20140806204108.GA1050@...2774...> <20140806213146.GC1050@...2774...> Message-ID: <53F66A6D.5020305@...1...> Le 06/08/2014 23:31, Tobias Boege a ?crit : > On Wed, 06 Aug 2014, Tobias Boege wrote: >> On Sun, 03 Aug 2014, Beno?t Minisini wrote: >>> Le 03/08/2014 02:16, Tobias Boege a ?crit : >>>> On Sat, 02 Aug 2014, gambas at ...1... wrote: >>>>> Revision: 6414 >>>>> http://sourceforge.net/p/gambas/code/6414 >>>>> Author: gambas >>>>> Date: 2014-08-02 22:50:08 +0000 (Sat, 02 Aug 2014) >>>>> Log Message: >>>>> ----------- >>>>> [...] >>>>> [GB.FORM] >>>>> * NEW: ListContainer has been deprecated. It has design problems. >>>>> [...] >>>>> >>>> >>>> Design problems in theory or in the current interface? I liked this thing. >>>> Will there be a replacement? >>>> >>>> I have (visually, not source-wise) looked at the new IDE's "recent projects" >>>> listing. It looks as if it was made with something that can replace the >>>> ListContainer. I don't know what it is and how difficult it was to write but >>>> it seems to have a noticeable latency here, in both drawing (scroll away one >>>> entire view quickly) and reaction to hovering with the mouse... >>>> >>>> Regards, >>>> Tobi >>>> > > I just noticed that the performance on example projects is (very!) good. But > this performance falls drastically when I switch to the recently opened > projects. This happens both in the IDE "greet" screen and in the actual > "Select a project" dialog...? > > Regards, > Tobi > Do you have the problem yet? If you do, can you use the IDE profiler to see where time is spent? At the moment, I see no reason why the recent project list should be slower than the example list... Regards, -- Beno?t Minisini From taboege at ...626... Fri Aug 22 00:09:55 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 22 Aug 2014 00:09:55 +0200 Subject: [Gambas-user] IDE: "Entered text echo" not working as expected In-Reply-To: <53F51202.4030003@...1...> References: <20140729130732.GE523@...2774...> <53D7FC47.6090907@...1...> <20140729202708.GI523@...2774...> <53F51202.4030003@...1...> Message-ID: <20140821220955.GD957@...2774...> On Wed, 20 Aug 2014, Beno?t Minisini wrote: > Le 29/07/2014 22:27, Tobias Boege a ?crit : > > On Tue, 29 Jul 2014, Beno?t Minisini wrote: > >> Le 29/07/2014 15:07, Tobias Boege a ?crit : > >>> Hi Benoit, > >>> > >>> my project is a console one and has a prompt, so I tried to toggle the > >>> "Entered text echo" button to "on". However, it will only echo when the > >>> project is not running. But I wanted to see how a session would look like > >>> if I would run the program from command line, without the IDE. > >>> > >>> Looking at the sources, Debug/FOutput.class, I see that Design.IsRunning > >>> being True prevents the input from being sent (I verified this). I don't > >>> know what "Design" stands for. Is this behaviour intended? If so, why, > >>> and can we change it? > >>> > >>> Regards, > >>> Tobi > >>> > >> > >> The output window is not a terminal. You must use "use a terminal" to > >> check how your project run inside a terminal. > >> > > > > No, I don't need a terminal (emulator). I just want to see how it would > > look if the user had typed in between my program's messages, so that I > > can copy this text and say: "this is how a sample session would look > > like". Of course, I could do it from a terminal with no effort but it > > should work in the IDE, too. > > > > All I want is the echo of what the user entered into the box. But it > > doesn't show up when the program is running. Only when the program is > > not running, I get the echo, which is what I find strange. > > > > Regards, > > Tobi > > > > Fixed in revision #6417. > Yes, it is! -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Fri Aug 22 00:28:37 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 22 Aug 2014 00:28:37 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6414] gambas/trunk In-Reply-To: <53F66A6D.5020305@...1...> References: <20140803001610.GA27726@...2774...> <53DD8F1B.9060701@...1...> <20140806204108.GA1050@...2774...> <20140806213146.GC1050@...2774...> <53F66A6D.5020305@...1...> Message-ID: <20140821222837.GE957@...2774...> On Thu, 21 Aug 2014, Beno?t Minisini wrote: > Le 06/08/2014 23:31, Tobias Boege a ?crit : > > On Wed, 06 Aug 2014, Tobias Boege wrote: > >> On Sun, 03 Aug 2014, Beno?t Minisini wrote: > >>> Le 03/08/2014 02:16, Tobias Boege a ?crit : > >>>> On Sat, 02 Aug 2014, gambas at ...1... wrote: > >>>>> Revision: 6414 > >>>>> http://sourceforge.net/p/gambas/code/6414 > >>>>> Author: gambas > >>>>> Date: 2014-08-02 22:50:08 +0000 (Sat, 02 Aug 2014) > >>>>> Log Message: > >>>>> ----------- > >>>>> [...] > >>>>> [GB.FORM] > >>>>> * NEW: ListContainer has been deprecated. It has design problems. > >>>>> [...] > >>>>> > >>>> > >>>> Design problems in theory or in the current interface? I liked this thing. > >>>> Will there be a replacement? > >>>> > >>>> I have (visually, not source-wise) looked at the new IDE's "recent projects" > >>>> listing. It looks as if it was made with something that can replace the > >>>> ListContainer. I don't know what it is and how difficult it was to write but > >>>> it seems to have a noticeable latency here, in both drawing (scroll away one > >>>> entire view quickly) and reaction to hovering with the mouse... > >>>> > >>>> Regards, > >>>> Tobi > >>>> > > > > I just noticed that the performance on example projects is (very!) good. But > > this performance falls drastically when I switch to the recently opened > > projects. This happens both in the IDE "greet" screen and in the actual > > "Select a project" dialog...? > > > > Regards, > > Tobi > > > > Do you have the problem yet? If you do, can you use the IDE profiler to > see where time is spent? At the moment, I see no reason why the recent > project list should be slower than the example list... > Wow, this is quite a cool thing. Never used it before since most of my projects nowadays are POCs. >From what I can decipher (full profile attached), ProjectBox.Ellipsize gets most of the time, and there it seems to be that Paint.Font.RichTextHeight() consumes by far most of it. On other very time consuming places I see similar Paint.Font.*RichText*() calls. So it's my Qt libs? If it is of interest (with additions inline): [System] Gambas=3.5.90 (revision #6418) OperatingSystem=Linux Kernel=3.15.8-1-ARCH Architecture=x86_64 Distribution=arch Desktop=? (Trinity 3.5.13) Theme=QWindows Language=en_GB.UTF-8 Memory=3758M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.2 DBus=libdbus-1.so.3.8.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.400.0 GTK+3=libgtk-3.so.0.1200.2 GTK+=libgtk-x11-2.0.so.0.2400.13 GTK+=libgtk-x11-2.0.so.0.2400.24 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.35.0.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3.1.prof.tar.xz Type: application/x-xz Size: 56356 bytes Desc: not available URL: From gambas at ...1... Fri Aug 22 00:53:07 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 22 Aug 2014 00:53:07 +0200 Subject: [Gambas-user] Fwd: WebFrame gives Sigbart 6 In-Reply-To: <53F510C6.5060802@...3323...> References: <53F510C6.5060802@...3323...> Message-ID: <53F67853.5030204@...1...> Le 20/08/2014 23:19, J?rn Erik M?rne a ?crit : > Hi Beno?t. I sent this last week - did you manage to have a look at it? > > Attached project fails with Sigbart 6 when clicking 'Find Images' more > than once. (Clicking it once and then closing the app gives a Sigbart 11 > instead...) > > The bug has been fixed in revision #6419. Regards, -- Beno?t Minisini From gambas at ...1... Fri Aug 22 00:59:08 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 22 Aug 2014 00:59:08 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53EF375D.2070406@...2382...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> Message-ID: <53F679BC.2020600@...1...> Le 16/08/2014 12:50, Jesus a ?crit : > El 16/08/14 a las #4, Jorge Carri?n escribi?: >> The only thing I've changed is the qt defult theme... Maybe that's involved >> in it but I think I've saw that Jesus has the same theme than me... >> >> Realy don't know. >> >> Regards > > I is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest > trunk code does. > > So recent changes in trunk are the only thing involved. > > Regards > It works fine here. Can you provide IDE information about your system where it fails? -- Beno?t Minisini From rmorgan62 at ...626... Fri Aug 22 01:29:06 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 21 Aug 2014 16:29:06 -0700 Subject: [Gambas-user] [Gambas-devel] Gambas Magazine - Update In-Reply-To: <20140821213318.GC957@...2774...> References: <20140821213318.GC957@...2774...> Message-ID: Hi Tobias, I can work up a list of topics for a 12 month period (4 issues). There was an article on Intro to genetic programming in the last issue. I provided many images to my artist who is only an artist (painting, sculpting, etc...) and she did what she could in the limited time she had and did it as a favor. But it wasn't what I was hoping for either. Still, you don't look a gift horse in the mouth... I'll work up themes for each issue and article ideas. However, they will not be exclusive. If other ideas for article come about we can include them into the issue that best fits them. Thanks for you help (again) Randall On Thu, Aug 21, 2014 at 2:33 PM, Tobias Boege wrote: > On Wed, 20 Aug 2014, Randall Morgan wrote: > > Hi Folks, > > > > First thank you to all who provided comments and feed back on the first > > issue of Gambas Magazine. Now that I am back in the city I am focused on > > the next issue of Gambas Magazine which will be released on October 1st. > > As usually, we are in need of articles of interest to Gambas users and > > developers. > > > > The next issue will focus on Game development with Gambas and will also > > include follows-ups on the multi-part articles in the last issue. > > > > I am in great need of contributors to author articles, proof read, and do > > technical reviews of articles before publishing, and provide artwork for > > covers and articles. If you or someone you know would like to contribute, > > please contact me. > > > > I volunteer to proof read. Especially the interesting stuff :-) _Maybe_ I > can do something game-related with gb.ncurses but being born in the mid-90s > plus not being into games, I need to do serious research to find ideas... > > I would personally like to put my share of extra emphasis on the artwork > part. The last cover featuring a tux and a grid of Gnome (?) feet wasn't > quite to the point. I felt like it said: "we're doing some generic Linux > stuff here, I guess". (Maybe the feet related to the subtitle "Getting our > feet wet" but I instantly associated the Gnome logo.) I'm not artistically > trained so all I can say is that it missed something in my view... > > It would be great if an "official" list of topics would be on the website > so that I can spread the word to the German Gambas community. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From rmorgan62 at ...626... Fri Aug 22 03:16:46 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 21 Aug 2014 18:16:46 -0700 Subject: [Gambas-user] [Gambas-devel] Gambas Magazine - Update In-Reply-To: References: <20140821213318.GC957@...2774...> Message-ID: Hi Tobias, I have put up a new page entitled Future Issues http://www.gambasmag.com/future-issues/ on the Gambas Magazine site. This page outlines the themes for the next few issues along with the closing date for submissions and a list of article ideas that match the issue theme. However, any article that matches the theme or is of importance to the Gambas community may be included at the discretion of the editors. Hope this helps Thanks again, Randall On Thu, Aug 21, 2014 at 4:29 PM, Randall Morgan wrote: > Hi Tobias, > > I can work up a list of topics for a 12 month period (4 issues). There was > an article on Intro to genetic programming in the last issue. I provided > many images to my artist who is only an artist (painting, sculpting, > etc...) and she did what she could in the limited time she had and did it > as a favor. But it wasn't what I was hoping for either. Still, you don't > look a gift horse in the mouth... > > I'll work up themes for each issue and article ideas. However, they will > not be exclusive. If other ideas for article come about we can include them > into the issue that best fits them. > > Thanks for you help (again) > > Randall > > > > > On Thu, Aug 21, 2014 at 2:33 PM, Tobias Boege wrote: > >> On Wed, 20 Aug 2014, Randall Morgan wrote: >> > Hi Folks, >> > >> > First thank you to all who provided comments and feed back on the first >> > issue of Gambas Magazine. Now that I am back in the city I am focused on >> > the next issue of Gambas Magazine which will be released on October >> 1st. >> > As usually, we are in need of articles of interest to Gambas users and >> > developers. >> > >> > The next issue will focus on Game development with Gambas and will also >> > include follows-ups on the multi-part articles in the last issue. >> > >> > I am in great need of contributors to author articles, proof read, and >> do >> > technical reviews of articles before publishing, and provide artwork for >> > covers and articles. If you or someone you know would like to >> contribute, >> > please contact me. >> > >> >> I volunteer to proof read. Especially the interesting stuff :-) _Maybe_ I >> can do something game-related with gb.ncurses but being born in the >> mid-90s >> plus not being into games, I need to do serious research to find ideas... >> >> I would personally like to put my share of extra emphasis on the artwork >> part. The last cover featuring a tux and a grid of Gnome (?) feet wasn't >> quite to the point. I felt like it said: "we're doing some generic Linux >> stuff here, I guess". (Maybe the feet related to the subtitle "Getting our >> feet wet" but I instantly associated the Gnome logo.) I'm not artistically >> trained so all I can say is that it missed something in my view... >> >> It would be great if an "official" list of topics would be on the website >> so that I can spread the word to the German Gambas community. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Gambas-devel mailing list >> Gambas-devel at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-devel >> > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From taboege at ...626... Fri Aug 22 03:34:51 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 22 Aug 2014 03:34:51 +0200 Subject: [Gambas-user] [Gambas-devel] Gambas Magazine - Update In-Reply-To: References: <20140821213318.GC957@...2774...> Message-ID: <20140822013451.GG957@...2774...> On Thu, 21 Aug 2014, Randall Morgan wrote: > >> > >> It would be great if an "official" list of topics would be on the website > >> so that I can spread the word to the German Gambas community. > >> > >> Regards, > >> Tobi > >> > > Hi Tobias, > > I have put up a new page entitled Future Issues > http://www.gambasmag.com/future-issues/ on the Gambas Magazine site. This > page outlines the themes for the next few issues along with the closing > date for submissions and a list of article ideas that match the issue > theme. However, any article that matches the theme or is of importance to > the Gambas community may be included at the discretion of the editors. > > Hope this helps > Me too. They have been informed and I hope the long forecast helps some lazy people to get started on something. Let's hope we have enough interesting stuff in gb.data for the 2015-02 issue... :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Fri Aug 22 09:33:15 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 22 Aug 2014 09:33:15 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F679BC.2020600@...1...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> Message-ID: <53F6F23B.30302@...1...> Le 22/08/2014 00:59, Beno?t Minisini a ?crit : > Le 16/08/2014 12:50, Jesus a ?crit : >> El 16/08/14 a las #4, Jorge Carri?n escribi?: >>> The only thing I've changed is the qt defult theme... Maybe that's >>> involved >>> in it but I think I've saw that Jesus has the same theme than me... >>> >>> Realy don't know. >>> >>> Regards >> >> I is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest >> trunk code does. >> >> So recent changes in trunk are the only thing involved. >> >> Regards >> > > It works fine here. Can you provide IDE information about your system > where it fails? > I need that, because in the GTK+ library provided with Ubuntu 14.04, key press events are internally raised twice: one is normal, the other has an undocumented modifier mask set. I don't know if it is related to the GTK+ version, to an Ubuntu specific change, to the X11 input method... So I need to find what the difference is between your system and ours (I mean those where key events are raised as expected). Regards, -- Beno?t Minisini From shordi at ...626... Fri Aug 22 09:41:43 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 22 Aug 2014 09:41:43 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F679BC.2020600@...1...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> Message-ID: Works fine for me! This message was an answer to Jesus Guardon mail about that issue. 2014-08-22 0:59 GMT+02:00 Beno?t Minisini : > Le 16/08/2014 12:50, Jesus a ?crit : > > El 16/08/14 a las #4, Jorge Carri?n escribi?: > >> The only thing I've changed is the qt defult theme... Maybe that's > involved > >> in it but I think I've saw that Jesus has the same theme than me... > >> > >> Realy don't know. > >> > >> Regards > > > > I is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest > > trunk code does. > > > > So recent changes in trunk are the only thing involved. > > > > Regards > > > > It works fine here. Can you provide IDE information about your system > where it fails? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From epost at ...3323... Fri Aug 22 11:35:02 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Fri, 22 Aug 2014 11:35:02 +0200 Subject: [Gambas-user] Fwd: WebFrame gives Sigbart 6 In-Reply-To: <53F67853.5030204@...1...> References: <53F510C6.5060802@...3323...> <53F67853.5030204@...1...> Message-ID: <53F70EC6.2010604@...3323...> Super! Den 22. aug. 2014 00:53, skrev Beno?t Minisini: > Le 20/08/2014 23:19, J?rn Erik M?rne a ?crit : >> Hi Beno?t. I sent this last week - did you manage to have a look at it? >> >> Attached project fails with Sigbart 6 when clicking 'Find Images' more >> than once. (Clicking it once and then closing the app gives a Sigbart 11 >> instead...) >> >> > The bug has been fixed in revision #6419. > > Regards, > From ea7dfh at ...2382... Fri Aug 22 12:21:37 2014 From: ea7dfh at ...2382... (Jesus) Date: Fri, 22 Aug 2014 12:21:37 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F6F23B.30302@...1...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> Message-ID: <53F719B1.8070708@...2382...> El 22/08/14 a las #4, Beno?t Minisini escribi?: > Le 22/08/2014 00:59, Beno?t Minisini a ?crit : >> Le 16/08/2014 12:50, Jesus a ?crit : >>> El 16/08/14 a las #4, Jorge Carri?n escribi?: >>>> The only thing I've changed is the qt defult theme... Maybe that's >>>> involved >>>> in it but I think I've saw that Jesus has the same theme than me... >>>> >>>> Realy don't know. >>>> >>>> Regards >>> >>> It is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest >>> trunk code does. >>> >>> So recent changes in trunk are the only thing involved. >>> >>> Regards >>> >> >> It works fine here. Can you provide IDE information about your system >> where it fails? >> > > I need that, because in the GTK+ library provided with Ubuntu 14.04, key > press events are internally raised twice: one is normal, the other has > an undocumented modifier mask set. > > I don't know if it is related to the GTK+ version, to an Ubuntu specific > change, to the X11 input method... > > So I need to find what the difference is between your system and ours (I > mean those where key events are raised as expected). > > Regards, > Well, sorry for the delay. Here it is: [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=XFCE Theme=QGtk Language=es_ES.UTF-8 Memory=16032M [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+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. I must say that it was firstly tested on an older setup, Mint 14 Cinnamon, IIRC, and results were the same. As I said before, current stable Gambas works as expected (at least in my simple test) but recent changes in trunk don't raise events anymore. I know about GTK being a nightmare upstream, so good luck! Regards -- Jesus Guardon From gambas at ...1... Fri Aug 22 13:18:32 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 22 Aug 2014 13:18:32 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F719B1.8070708@...2382...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> <53F719B1.8070708@...2382...> Message-ID: <53F72708.9070906@...1...> Le 22/08/2014 12:21, Jesus a ?crit : > Well, sorry for the delay. Here it is: > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=XFCE > Theme=QGtk > Language=es_ES.UTF-8 > Memory=16032M > [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+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. > > I must say that it was firstly tested on an older setup, Mint 14 > Cinnamon, IIRC, and results were the same. > > As I said before, current stable Gambas works as expected (at least in > my simple test) but recent changes in trunk don't raise events anymore. > > I know about GTK being a nightmare upstream, so good luck! > > Regards > Can you try the revision #6420? I added a debugging flag, and you will tell me the result: 1) Open your test project. 2) Open the project property dialog. 3) Go to the "environment" tab. 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and set its value to "1". 5) Run the project. 6) Send me the console output. Thanks. -- Beno?t Minisini From sbungay at ...3301... Fri Aug 22 13:22:10 2014 From: sbungay at ...3301... (Stephen) Date: Fri, 22 Aug 2014 07:22:10 -0400 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F719B1.8070708@...2382...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> <53F719B1.8070708@...2382...> Message-ID: <53F727E2.7090001@...3301...> On 08/22/2014 06:21 AM, Jesus wrote: > El 22/08/14 a las #4, Beno?t Minisini escribi?: >> Le 22/08/2014 00:59, Beno?t Minisini a ?crit : >>> Le 16/08/2014 12:50, Jesus a ?crit : >>>> El 16/08/14 a las #4, Jorge Carri?n escribi?: >>>>> The only thing I've changed is the qt defult theme... Maybe that's >>>>> involved >>>>> in it but I think I've saw that Jesus has the same theme than me... >>>>> >>>>> Realy don't know. >>>>> >>>>> Regards >>>> It is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest >>>> trunk code does. >>>> >>>> So recent changes in trunk are the only thing involved. >>>> >>>> Regards >>>> >>> It works fine here. Can you provide IDE information about your system >>> where it fails? >>> >> I need that, because in the GTK+ library provided with Ubuntu 14.04, key >> press events are internally raised twice: one is normal, the other has >> an undocumented modifier mask set. >> >> I don't know if it is related to the GTK+ version, to an Ubuntu specific >> change, to the X11 input method... >> >> So I need to find what the difference is between your system and ours (I >> mean those where key events are raised as expected). >> >> Regards, >> > Well, sorry for the delay. Here it is: > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=XFCE > Theme=QGtk > Language=es_ES.UTF-8 > Memory=16032M > [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+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. > > I must say that it was firstly tested on an older setup, Mint 14 > Cinnamon, IIRC, and results were the same. > > As I said before, current stable Gambas works as expected (at least in > my simple test) but recent changes in trunk don't raise events anymore. > > I know about GTK being a nightmare upstream, so good luck! > > Regards I had this problem as well with 3.5.9 running under F20 using Mate. Only alternative I had was to go back to 3.5.4 where that functionality works as expected. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From ea7dfh at ...2382... Fri Aug 22 14:52:56 2014 From: ea7dfh at ...2382... (Jesus) Date: Fri, 22 Aug 2014 14:52:56 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F72708.9070906@...1...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> <53F719B1.8070708@...2382...> <53F72708.9070906@...1...> Message-ID: <53F73D28.2040100@...2382...> El 22/08/14 a las #4, Beno?t Minisini escribi?: > Can you try the revision #6420? I added a debugging flag, and you will > tell me the result: > > 1) Open your test project. > 2) Open the project property dialog. > 3) Go to the "environment" tab. > 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and > set its value to "1". > 5) Run the project. > 6) Send me the console output. > > Thanks. > I'm afraid there's no output in console, neither in the IDE or running the executable outside the IDE in an actual terminal. jesus at ...3106... ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1 jesus at ...3106... ~/Gambas3/Test $ ./Test.gambas Yeah, I know it doesn't help a lot... Regards -- Jesus Guardon From gambas at ...1... Fri Aug 22 15:04:46 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 22 Aug 2014 15:04:46 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F73D28.2040100@...2382...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> <53F719B1.8070708@...2382...> <53F72708.9070906@...1...> <53F73D28.2040100@...2382...> Message-ID: <53F73FEE.40003@...1...> Le 22/08/2014 14:52, Jesus a ?crit : > El 22/08/14 a las #4, Beno?t Minisini escribi?: >> Can you try the revision #6420? I added a debugging flag, and you will >> tell me the result: >> >> 1) Open your test project. >> 2) Open the project property dialog. >> 3) Go to the "environment" tab. >> 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and >> set its value to "1". >> 5) Run the project. >> 6) Send me the console output. >> >> Thanks. >> > > I'm afraid there's no output in console, neither in the IDE or running > the executable outside the IDE in an actual terminal. > > jesus at ...3106... ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1 > jesus at ...3106... ~/Gambas3/Test $ ./Test.gambas > > Yeah, I know it doesn't help a lot... > > Regards > Check that you use the gb.gtk component, and not gb.qt4... -- Beno?t Minisini From ea7dfh at ...2382... Fri Aug 22 15:57:41 2014 From: ea7dfh at ...2382... (Jesus) Date: Fri, 22 Aug 2014 15:57:41 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F73FEE.40003@...1...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> <53F719B1.8070708@...2382...> <53F72708.9070906@...1...> <53F73D28.2040100@...2382...> <53F73FEE.40003@...1...> Message-ID: <53F74C55.2010707@...2382...> El 22/08/14 a las #4, Beno?t Minisini escribi?: > Le 22/08/2014 14:52, Jesus a ?crit : >> El 22/08/14 a las #4, Beno?t Minisini escribi?: >>> Can you try the revision #6420? I added a debugging flag, and you will >>> tell me the result: >>> >>> 1) Open your test project. >>> 2) Open the project property dialog. >>> 3) Go to the "environment" tab. >>> 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and >>> set its value to "1". >>> 5) Run the project. >>> 6) Send me the console output. >>> >>> Thanks. >>> >> >> I'm afraid there's no output in console, neither in the IDE or running >> the executable outside the IDE in an actual terminal. >> >> jesus at ...3106... ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1 >> jesus at ...3106... ~/Gambas3/Test $ ./Test.gambas >> >> Yeah, I know it doesn't help a lot... >> >> Regards >> > > Check that you use the gb.gtk component, and not gb.qt4... > Silly me! I am using daily ppa from gambas-team just updated today. I thought those changes were present in that compilation, but indeed, still they're not. I think I'll wait until tomorrow's update, cos I'm lazy (I'm on holidays) and don't want to clutter my system compiling the source if not strictly necessary. Regards -- Jesus Guardon From Kris.Wauters at ...2514... Fri Aug 22 16:04:52 2014 From: Kris.Wauters at ...2514... (Wauters, Kris (Antwerpen)) Date: Fri, 22 Aug 2014 16:04:52 +0200 Subject: [Gambas-user] unsubscribe In-Reply-To: References: Message-ID: <168370D075CE7F4EBFEEF36949F895473F23D7C317@...2515...> -----Original Message----- From: gambas-user-request at lists.sourceforge.net [mailto:gambas-user-request at lists.sourceforge.net] Sent: vrijdag 22 augustus 2014 15:58 To: gambas-user at lists.sourceforge.net Subject: Gambas-user Digest, Vol 99, Issue 19 Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-request at lists.sourceforge.net You can reach the person managing the list at gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Re: Fwd: WebFrame gives Sigbart 6 (J?rn Erik M?rne) 2. Re: R: Key events don't work on gb.gtk (Jesus) 3. Re: R: Key events don't work on gb.gtk (Beno?t Minisini) 4. Re: R: Key events don't work on gb.gtk (Stephen) 5. Re: R: Key events don't work on gb.gtk (Jesus) 6. Re: R: Key events don't work on gb.gtk (Beno?t Minisini) 7. Re: R: Key events don't work on gb.gtk (Jesus) ---------------------------------------------------------------------- Message: 1 Date: Fri, 22 Aug 2014 11:35:02 +0200 From: J?rn Erik M?rne Subject: Re: [Gambas-user] Fwd: WebFrame gives Sigbart 6 To: gambas at ...1..., mailing list for gambas users Message-ID: <53F70EC6.2010604 at ...3323...> Content-Type: text/plain; charset=windows-1252; format=flowed Super! Den 22. aug. 2014 00:53, skrev Beno?t Minisini: > Le 20/08/2014 23:19, J?rn Erik M?rne a ?crit : >> Hi Beno?t. I sent this last week - did you manage to have a look at it? >> >> Attached project fails with Sigbart 6 when clicking 'Find Images' more >> than once. (Clicking it once and then closing the app gives a Sigbart 11 >> instead...) >> >> > The bug has been fixed in revision #6419. > > Regards, > ------------------------------ Message: 2 Date: Fri, 22 Aug 2014 12:21:37 +0200 From: Jesus Subject: Re: [Gambas-user] R: Key events don't work on gb.gtk To: gambas-user at lists.sourceforge.net Message-ID: <53F719B1.8070708 at ...2382...> Content-Type: text/plain; charset=utf-8; format=flowed El 22/08/14 a las #4, Beno?t Minisini escribi?: > Le 22/08/2014 00:59, Beno?t Minisini a ?crit : >> Le 16/08/2014 12:50, Jesus a ?crit : >>> El 16/08/14 a las #4, Jorge Carri?n escribi?: >>>> The only thing I've changed is the qt defult theme... Maybe that's >>>> involved >>>> in it but I think I've saw that Jesus has the same theme than me... >>>> >>>> Realy don't know. >>>> >>>> Regards >>> >>> It is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest >>> trunk code does. >>> >>> So recent changes in trunk are the only thing involved. >>> >>> Regards >>> >> >> It works fine here. Can you provide IDE information about your system >> where it fails? >> > > I need that, because in the GTK+ library provided with Ubuntu 14.04, key > press events are internally raised twice: one is normal, the other has > an undocumented modifier mask set. > > I don't know if it is related to the GTK+ version, to an Ubuntu specific > change, to the X11 input method... > > So I need to find what the difference is between your system and ours (I > mean those where key events are raised as expected). > > Regards, > Well, sorry for the delay. Here it is: [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=XFCE Theme=QGtk Language=es_ES.UTF-8 Memory=16032M [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+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. I must say that it was firstly tested on an older setup, Mint 14 Cinnamon, IIRC, and results were the same. As I said before, current stable Gambas works as expected (at least in my simple test) but recent changes in trunk don't raise events anymore. I know about GTK being a nightmare upstream, so good luck! Regards -- Jesus Guardon ------------------------------ Message: 3 Date: Fri, 22 Aug 2014 13:18:32 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] R: Key events don't work on gb.gtk To: mailing list for gambas users Message-ID: <53F72708.9070906 at ...1...> Content-Type: text/plain; charset=utf-8; format=flowed Le 22/08/2014 12:21, Jesus a ?crit : > Well, sorry for the delay. Here it is: > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=XFCE > Theme=QGtk > Language=es_ES.UTF-8 > Memory=16032M > [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+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. > > I must say that it was firstly tested on an older setup, Mint 14 > Cinnamon, IIRC, and results were the same. > > As I said before, current stable Gambas works as expected (at least in > my simple test) but recent changes in trunk don't raise events anymore. > > I know about GTK being a nightmare upstream, so good luck! > > Regards > Can you try the revision #6420? I added a debugging flag, and you will tell me the result: 1) Open your test project. 2) Open the project property dialog. 3) Go to the "environment" tab. 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and set its value to "1". 5) Run the project. 6) Send me the console output. Thanks. -- Beno?t Minisini ------------------------------ Message: 4 Date: Fri, 22 Aug 2014 07:22:10 -0400 From: Stephen Subject: Re: [Gambas-user] R: Key events don't work on gb.gtk To: mailing list for gambas users Message-ID: <53F727E2.7090001 at ...3301...> Content-Type: text/plain; charset=utf-8; format=flowed On 08/22/2014 06:21 AM, Jesus wrote: > El 22/08/14 a las #4, Beno?t Minisini escribi?: >> Le 22/08/2014 00:59, Beno?t Minisini a ?crit : >>> Le 16/08/2014 12:50, Jesus a ?crit : >>>> El 16/08/14 a las #4, Jorge Carri?n escribi?: >>>>> The only thing I've changed is the qt defult theme... Maybe that's >>>>> involved >>>>> in it but I think I've saw that Jesus has the same theme than me... >>>>> >>>>> Realy don't know. >>>>> >>>>> Regards >>>> It is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest >>>> trunk code does. >>>> >>>> So recent changes in trunk are the only thing involved. >>>> >>>> Regards >>>> >>> It works fine here. Can you provide IDE information about your system >>> where it fails? >>> >> I need that, because in the GTK+ library provided with Ubuntu 14.04, key >> press events are internally raised twice: one is normal, the other has >> an undocumented modifier mask set. >> >> I don't know if it is related to the GTK+ version, to an Ubuntu specific >> change, to the X11 input method... >> >> So I need to find what the difference is between your system and ours (I >> mean those where key events are raised as expected). >> >> Regards, >> > Well, sorry for the delay. Here it is: > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=XFCE > Theme=QGtk > Language=es_ES.UTF-8 > Memory=16032M > [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+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. > > I must say that it was firstly tested on an older setup, Mint 14 > Cinnamon, IIRC, and results were the same. > > As I said before, current stable Gambas works as expected (at least in > my simple test) but recent changes in trunk don't raise events anymore. > > I know about GTK being a nightmare upstream, so good luck! > > Regards I had this problem as well with 3.5.9 running under F20 using Mate. Only alternative I had was to go back to 3.5.4 where that functionality works as expected. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems ------------------------------ Message: 5 Date: Fri, 22 Aug 2014 14:52:56 +0200 From: Jesus Subject: Re: [Gambas-user] R: Key events don't work on gb.gtk To: gambas-user at lists.sourceforge.net Message-ID: <53F73D28.2040100 at ...2382...> Content-Type: text/plain; charset=utf-8; format=flowed El 22/08/14 a las #4, Beno?t Minisini escribi?: > Can you try the revision #6420? I added a debugging flag, and you will > tell me the result: > > 1) Open your test project. > 2) Open the project property dialog. > 3) Go to the "environment" tab. > 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and > set its value to "1". > 5) Run the project. > 6) Send me the console output. > > Thanks. > I'm afraid there's no output in console, neither in the IDE or running the executable outside the IDE in an actual terminal. jesus at ...3106... ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1 jesus at ...3106... ~/Gambas3/Test $ ./Test.gambas Yeah, I know it doesn't help a lot... Regards -- Jesus Guardon ------------------------------ Message: 6 Date: Fri, 22 Aug 2014 15:04:46 +0200 From: Beno?t Minisini Subject: Re: [Gambas-user] R: Key events don't work on gb.gtk To: mailing list for gambas users Message-ID: <53F73FEE.40003 at ...1...> Content-Type: text/plain; charset=utf-8; format=flowed Le 22/08/2014 14:52, Jesus a ?crit : > El 22/08/14 a las #4, Beno?t Minisini escribi?: >> Can you try the revision #6420? I added a debugging flag, and you will >> tell me the result: >> >> 1) Open your test project. >> 2) Open the project property dialog. >> 3) Go to the "environment" tab. >> 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and >> set its value to "1". >> 5) Run the project. >> 6) Send me the console output. >> >> Thanks. >> > > I'm afraid there's no output in console, neither in the IDE or running > the executable outside the IDE in an actual terminal. > > jesus at ...3106... ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1 > jesus at ...3106... ~/Gambas3/Test $ ./Test.gambas > > Yeah, I know it doesn't help a lot... > > Regards > Check that you use the gb.gtk component, and not gb.qt4... -- Beno?t Minisini ------------------------------ Message: 7 Date: Fri, 22 Aug 2014 15:57:41 +0200 From: Jesus Subject: Re: [Gambas-user] R: Key events don't work on gb.gtk To: gambas-user at lists.sourceforge.net Message-ID: <53F74C55.2010707 at ...2382...> Content-Type: text/plain; charset=utf-8; format=flowed El 22/08/14 a las #4, Beno?t Minisini escribi?: > Le 22/08/2014 14:52, Jesus a ?crit : >> El 22/08/14 a las #4, Beno?t Minisini escribi?: >>> Can you try the revision #6420? I added a debugging flag, and you will >>> tell me the result: >>> >>> 1) Open your test project. >>> 2) Open the project property dialog. >>> 3) Go to the "environment" tab. >>> 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and >>> set its value to "1". >>> 5) Run the project. >>> 6) Send me the console output. >>> >>> Thanks. >>> >> >> I'm afraid there's no output in console, neither in the IDE or running >> the executable outside the IDE in an actual terminal. >> >> jesus at ...3106... ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1 >> jesus at ...3106... ~/Gambas3/Test $ ./Test.gambas >> >> Yeah, I know it doesn't help a lot... >> >> Regards >> > > Check that you use the gb.gtk component, and not gb.qt4... > Silly me! I am using daily ppa from gambas-team just updated today. I thought those changes were present in that compilation, but indeed, still they're not. I think I'll wait until tomorrow's update, cos I'm lazy (I'm on holidays) and don't want to clutter my system compiling the source if not strictly necessary. Regards -- Jesus Guardon ------------------------------ ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 99, Issue 19 ******************************************* Information in this email and any attachments is confidential and intended solely for the use of the individual(s) to whom it is addressed or otherwise directed. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company. Finally, the recipient should check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. All SGS services are rendered in accordance with the applicable SGS conditions of service available on request and accessible at http://www.sgs.com/en/Terms-and-Conditions.aspx From t.lee.davidson at ...626... Fri Aug 22 16:38:40 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 22 Aug 2014 10:38:40 -0400 Subject: [Gambas-user] unsubscribe In-Reply-To: <168370D075CE7F4EBFEEF36949F895473F23D7C317@...2515...> References: <168370D075CE7F4EBFEEF36949F895473F23D7C317@...2515...> Message-ID: <53F755F0.9010905@...626...> If you are trying to unsubscribe, you will need to follow the directions below that were contained in the original email to you. You sent this message to the gambas-user list. Try visiting the website at: https://lists.sourceforge.net/lists/listinfo/gambas-user Or, send an email with subject or body 'help' to: gambas-user-request at lists.sourceforge.net On 08/22/2014 10:04 AM, Wauters, Kris (Antwerpen) wrote: > -----Original Message----- > From:gambas-user-request at lists.sourceforge.net [mailto:gambas-user-request at lists.sourceforge.net] > Sent: vrijdag 22 augustus 2014 15:58 > To:gambas-user at lists.sourceforge.net > Subject: Gambas-user Digest, Vol 99, Issue 19 > > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-owner at lists.sourceforge.net From gambas.fr at ...626... Fri Aug 22 20:32:19 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 22 Aug 2014 20:32:19 +0200 Subject: [Gambas-user] [Gambas-devel] Gambas Magazine - Update In-Reply-To: <20140822013451.GG957@...2774...> References: <20140821213318.GC957@...2774...> <20140822013451.GG957@...2774...> Message-ID: Hey Randall... The man for game is Kevin Fishburn... He do crazy things with few code... Maybe he can help you Le 22 ao?t 2014 03:37, "Tobias Boege" a ?crit : > On Thu, 21 Aug 2014, Randall Morgan wrote: > > >> > > >> It would be great if an "official" list of topics would be on the > website > > >> so that I can spread the word to the German Gambas community. > > >> > > >> Regards, > > >> Tobi > > >> > > > > Hi Tobias, > > > > I have put up a new page entitled Future Issues > > http://www.gambasmag.com/future-issues/ on the Gambas Magazine site. > This > > page outlines the themes for the next few issues along with the closing > > date for submissions and a list of article ideas that match the issue > > theme. However, any article that matches the theme or is of importance to > > the Gambas community may be included at the discretion of the editors. > > > > Hope this helps > > > > Me too. They have been informed and I hope the long forecast helps some > lazy > people to get started on something. > > Let's hope we have enough interesting stuff in gb.data for the 2015-02 > issue... :-) > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From jussi.lahtinen at ...626... Fri Aug 22 20:42:59 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 22 Aug 2014 21:42:59 +0300 Subject: [Gambas-user] [Gambas-devel] Gambas Magazine - Update In-Reply-To: References: Message-ID: I must say the magazine looks very professional. Nice to see this happening! Jussi On Wed, Aug 20, 2014 at 11:20 PM, Randall Morgan wrote: > Hi Folks, > > First thank you to all who provided comments and feed back on the first > issue of Gambas Magazine. Now that I am back in the city I am focused on > the next issue of Gambas Magazine which will be released on October 1st. > As usually, we are in need of articles of interest to Gambas users and > developers. > > The next issue will focus on Game development with Gambas and will also > include follows-ups on the multi-part articles in the last issue. > > I am in great need of contributors to author articles, proof read, and do > technical reviews of articles before publishing, and provide artwork for > covers and articles. If you or someone you know would like to contribute, > please contact me. > > > Sincerely, > > Randall - Editor, Gambas Magazine > > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > From gambas at ...2524... Fri Aug 22 21:23:29 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 22 Aug 2014 19:23:29 +0000 Subject: [Gambas-user] Issue 550 in gambas: IconView can't right click menu with multiple select Message-ID: <0-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 550 by joshigg... at ...626...: IconView can't right click menu with multiple select https://code.google.com/p/gambas/issues/detail?id=550 1) Describe the problem. An IconView with Mode: Multiple won't allow a menu to be opened without deselecting all but the current item under the mouse. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-30-generic Architecture=x86 Distribution=Ubuntu 14.04 LTS Desktop=? Theme=QGtk Language=en_GB.UTF-8 Memory=1002M [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+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Provide a little project that reproduces the bug or the crash. IconView1.Mode = Select.Multiple Public Sub IconView1_Menu() IconViewRightClickMenu.Popup() End 4) If your project needs a database, try to provide it, or part of it. n/a 5) Explain clearly how to reproduce the bug or the crash. Drag to select a number of items, right click on a item. All but the one under the mouse will be deselected before the menu pops up. Keeping hold of shift whilst clicking does not cause the deselection before the menu pops up. Same behaviour with GTK and Qt. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: If you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! ANOTHER NOTE: Don't create an issue if you have a compilation problem on the development version. Send a mail to the mailing-list instead, thanks. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 22 21:25:20 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 22 Aug 2014 19:25:20 +0000 Subject: [Gambas-user] Issue 550 in gambas: IconView can't right click menu with multiple select In-Reply-To: <0-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> Comment #1 on issue 550 by joshigg... at ...626...: IconView can't right click menu with multiple select https://code.google.com/p/gambas/issues/detail?id=550 * Holding CTRL key does not cause deselection before menu pops up. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Fri Aug 22 22:18:33 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 22 Aug 2014 22:18:33 +0200 Subject: [Gambas-user] Transparent PDF In-Reply-To: References: Message-ID: <53F7A599.3040009@...1...> Le 13/08/2014 10:40, Antonio S?nchez a ?crit : > Hi, > > I did "pboxDOC.Picture = pdfdocumento[1].Image.Picture" to load a pdf file > in a picturebox, but the background is white and I would need the > background of this image was transparent because I'm going to put another > image in the background in other picturebox in order to give a preview of > the final PDF file. > > Later, I'll use pdftk to do the work of merging all layers. > > How could I clean the white color or apply a transparent color to the > pboxDOC? > > > Thanks. I'm not sure it is possible directly. But you can get the Image returned by PdfDocument[].Image, and apply the Transparent() method on it to make the white color transparent (see the documentation). Then you can draw the resulting image on top of your background image, and you should get what you expected. Regards, -- Beno?t Minisini From gambas at ...2524... Fri Aug 22 22:24:21 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 22 Aug 2014 20:24:21 +0000 Subject: [Gambas-user] Issue 549 in gambas: HttpClient Put Method doesn't work (data is never send) In-Reply-To: <0-6813199134517018827-3599721762623045650-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3599721762623045650-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3599721762623045650-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.5.0 Comment #1 on issue 549 by benoit.m... at ...626...: HttpClient Put Method doesn't work (data is never send) https://code.google.com/p/gambas/issues/detail?id=549 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 22 22:25:21 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 22 Aug 2014 20:25:21 +0000 Subject: [Gambas-user] Issue 549 in gambas: HttpClient Put Method doesn't work (data is never send) In-Reply-To: <1-6813199134517018827-3599721762623045650-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3599721762623045650-gambas=googlecode.com@...2524...> <0-6813199134517018827-3599721762623045650-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3599721762623045650-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 549 by benoit.m... at ...626...: HttpClient Put Method doesn't work (data is never send) https://code.google.com/p/gambas/issues/detail?id=549 It should be fixed in revision #6423. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Aug 22 22:28:42 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 22 Aug 2014 20:28:42 +0000 Subject: [Gambas-user] Issue 513 in gambas: Bad display of SwitchButton In-Reply-To: <1-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> <0-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 513 by benoit.m... at ...626...: Bad display of SwitchButton https://code.google.com/p/gambas/issues/detail?id=513 It should be fixed since revision #6414. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jussi.lahtinen at ...626... Fri Aug 22 23:19:34 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 23 Aug 2014 00:19:34 +0300 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F74C55.2010707@...2382...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> <53F719B1.8070708@...2382...> <53F72708.9070906@...1...> <53F73D28.2040100@...2382...> <53F73FEE.40003@...1...> <53F74C55.2010707@...2382...> Message-ID: I can't reproduce this on latest revision. But I haven't install devs for gtk3... so is the problem with gtk2 or gtk3? Both? [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-34-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=3953M [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+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Jussi On Fri, Aug 22, 2014 at 4:57 PM, Jesus wrote: > El 22/08/14 a las #4, Beno?t Minisini escribi?: > > Le 22/08/2014 14:52, Jesus a ?crit : > >> El 22/08/14 a las #4, Beno?t Minisini escribi?: > >>> Can you try the revision #6420? I added a debugging flag, and you will > >>> tell me the result: > >>> > >>> 1) Open your test project. > >>> 2) Open the project property dialog. > >>> 3) Go to the "environment" tab. > >>> 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and > >>> set its value to "1". > >>> 5) Run the project. > >>> 6) Send me the console output. > >>> > >>> Thanks. > >>> > >> > >> I'm afraid there's no output in console, neither in the IDE or running > >> the executable outside the IDE in an actual terminal. > >> > >> jesus at ...3106... ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1 > >> jesus at ...3106... ~/Gambas3/Test $ ./Test.gambas > >> > >> Yeah, I know it doesn't help a lot... > >> > >> Regards > >> > > > > Check that you use the gb.gtk component, and not gb.qt4... > > > > > Silly me! I am using daily ppa from gambas-team just updated today. I > thought those changes were present in that compilation, but indeed, > still they're not. > > I think I'll wait until tomorrow's update, cos I'm lazy (I'm on > holidays) and don't want to clutter my system compiling the source if > not strictly necessary. > > Regards > -- > Jesus Guardon > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Sat Aug 23 01:51:17 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 22 Aug 2014 19:51:17 -0400 Subject: [Gambas-user] Feature suggestion: GAMBAS optional runtime auto-update Message-ID: <53F7D775.1050503@...1887...> In the interest of accessibility to a stable version of the GAMBAS runtime without requiring users to add a PPA or drop to the command line, I think it may be useful to add an "auto-update" feature or equivalent. Currently users have three ways to install GAMBAS: (1) Install from their distro's package manager, (2) add the stable or daily PPA, and (3) compile from source. Users who will be using GAMBAS to program will have no trouble using any of these methods. Users who simply need the runtime to use a GAMBAS application however may require a dead-simple method, as they could in theory be the mythical Grandmother. Another problem is that the specific build of GAMBAS packaged with many distros is outdated or unstable. I can create a GAMBAS application using the stable PPA, create an installation package, distribute it, and users who install it may not be able to run the program because their distro's GAMBAS build is too old. I don't know the best solution to these problems, though I can think of some possibilities: Add an option when creating an installation package to prompt the user to install dependencies from the stable PPA or from source. When the user begins to install the package, a script will be run that prompts them if they'd like to install updated runtime dependencies with the default answer being Yes. Whether the PPA or sources are used depends on the option chosen when building the installation package. Another possibility is to have an option when creating an installation package that includes the runtime dependencies of the dev's build environment. Instead of the package pulling dependencies from the target system's repositories it would simply use the included packages. I know that's not the Linux or GAMBAS way, but it's better than using old GAMBAS packages in the user's repositories that may not work at all. Remember, these solutions are for users that either don't know or don't want to know the "right" way to do things, they just want to run the program. Yet another possibility is to have an option when creating an installation package that would cause the execution of the installed application itself to check the installed runtime dependencies (if any) against the stable PPA's runtime dependencies and prompt the user to update if there is a discrepancy. It could even add the PPA, install the dependencies, then remove the PPA. Solutions requiring the automatic compilation from source would be more difficult, as the target environment would need to be set up with build tools first. Solutions adding a PPA would be easier assuming the target environment's distribution version was supported by the PPA. I don't know how reliable the solution including the developer's runtime dependencies would be. IMHO for GAMBAS to properly dominate the world, installing a GAMBAS program really should be as easy as double-clicking a .deb/.rpm and clicking Next, Next, etc. So, is this a problem worth solving, and if so, what does everything think the best solution would be? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From ian.roper at ...1974... Sat Aug 23 03:23:38 2014 From: ian.roper at ...1974... (Ian) Date: Sat, 23 Aug 2014 09:23:38 +0800 Subject: [Gambas-user] Error with Scrollview and child objects Message-ID: <53F7ED1A.2080505@...1974...> If you populate a scrollview with child checkbox objects where you need to scroll to see them all, as soon as you move the scroll bar the child objects do not respond to events. As soon as you move the scroll bar back to the top, the child objects will then respond. Trying this process with Textbox & ComboBox child controls, you can access the child objects but only by clicking 3 times on the child control to get focus. This is not a click then a double click, it needs to be 3 clicks in quick succession ( Triple click) Example with checkbox and textbox child objects attached. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QGtk Language=en_AU.UTF-8 Memory=7858M [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+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: ScrollViewError.tar.gz Type: application/gzip Size: 5294 bytes Desc: not available URL: From gambas at ...2524... Sat Aug 23 10:12:12 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Aug 2014 08:12:12 +0000 Subject: [Gambas-user] Issue 513 in gambas: Bad display of SwitchButton In-Reply-To: <2-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> <0-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> Comment #3 on issue 513 by ea7... at ...626...: Bad display of SwitchButton https://code.google.com/p/gambas/issues/detail?id=513 Yes, I've noticed this since a few days. Thank you! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From ea7dfh at ...2382... Sat Aug 23 10:07:47 2014 From: ea7dfh at ...2382... (Jesus) Date: Sat, 23 Aug 2014 10:07:47 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F72708.9070906@...1...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> <53F719B1.8070708@...2382...> <53F72708.9070906@...1...> Message-ID: <53F84BD3.90906@...2382...> El 22/08/14 a las #4, Beno?t Minisini escribi?: > Le 22/08/2014 12:21, Jesus a ?crit : >> Well, sorry for the delay. Here it is: >> >> [System] >> Gambas=3.5.90 >> OperatingSystem=Linux >> Kernel=3.13.0-24-generic >> Architecture=x86_64 >> Distribution=Linux Mint 17 Qiana >> Desktop=XFCE >> Theme=QGtk >> Language=es_ES.UTF-8 >> Memory=16032M >> [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+3=libgtk-3.so.0.1000.8 >> GTK+=libgtk-x11-2.0.so.0.2400.23 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.44.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> >> Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. >> >> I must say that it was firstly tested on an older setup, Mint 14 >> Cinnamon, IIRC, and results were the same. >> >> As I said before, current stable Gambas works as expected (at least in >> my simple test) but recent changes in trunk don't raise events anymore. >> >> I know about GTK being a nightmare upstream, so good luck! >> >> Regards >> > > Can you try the revision #6420? I added a debugging flag, and you will > tell me the result: > > 1) Open your test project. > 2) Open the project property dialog. > 3) Go to the "environment" tab. > 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and > set its value to "1". > 5) Run the project. > 6) Send me the console output. > > Thanks. > Hi Beno?t This is the console output after hitting some keys: GDK_KEY_PRESS: keyval = 49 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 50 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 51 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 52 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 53 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 97 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 98 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 99 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 100 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 101 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65457 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65458 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65459 state = 00000010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65505 state = 00000010 is_modifier = 1 GDK_KEY_PRESS: keyval = 65 state = 00000011 is_modifier = 0 GDK_KEY_PRESS: keyval = 83 state = 00000011 is_modifier = 0 GDK_KEY_PRESS: keyval = 68 state = 00000011 is_modifier = 0 GDK_KEY_PRESS: keyval = 65509 state = 00000010 is_modifier = 1 GDK_KEY_PRESS: keyval = 65 state = 00000012 is_modifier = 0 GDK_KEY_PRESS: keyval = 83 state = 00000012 is_modifier = 0 GDK_KEY_PRESS: keyval = 68 state = 00000012 is_modifier = 0 Hope this helps Regards -- Jesus Guardon From gambas at ...1... Sat Aug 23 14:23:43 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 23 Aug 2014 14:23:43 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F84BD3.90906@...2382...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> <53F719B1.8070708@...2382...> <53F72708.9070906@...1...> <53F84BD3.90906@...2382...> Message-ID: <53F887CF.8030202@...1...> Le 23/08/2014 10:07, Jesus a ?crit : > Hi Beno?t > > This is the console output after hitting some keys: > > ... > > Hope this helps > > Regards > Can you try revision #6424 and tell me if the bug is now fixed for you? -- Beno?t Minisini From willy at ...2734... Sat Aug 23 15:22:00 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 23 Aug 2014 15:22:00 +0200 Subject: [Gambas-user] Feature suggestion: GAMBAS optional runtime auto-update In-Reply-To: <53F7D775.1050503@...1887...> References: <53F7D775.1050503@...1887...> Message-ID: <1408800120.2298.25.camel@...3024...> On vr, 2014-08-22 at 19:51 -0400, Kevin Fishburne wrote: > In the interest of accessibility to a stable version of the GAMBAS > runtime without requiring users to add a PPA or drop to the command > line, I think it may be useful to add an "auto-update" feature or > equivalent. > > Currently users have three ways to install GAMBAS: (1) Install from > their distro's package manager, (2) add the stable or daily PPA, and (3) > compile from source. Users who will be using GAMBAS to program will have > no trouble using any of these methods. Users who simply need the runtime > to use a GAMBAS application however may require a dead-simple method, as > they could in theory be the mythical Grandmother. > > Another problem is that the specific build of GAMBAS packaged with many > distros is outdated or unstable. I can create a GAMBAS application using > the stable PPA, create an installation package, distribute it, and users > who install it may not be able to run the program because their distro's > GAMBAS build is too old. I run into the same problems, distributing my applications to simple users is a hell, becuase of outdated Gambas packages in the official repositories. > > I don't know the best solution to these problems, though I can think of > some possibilities: > > Add an option when creating an installation package to prompt the user > to install dependencies from the stable PPA or from source. When the > user begins to install the package, a script will be run that prompts > them if they'd like to install updated runtime dependencies with the > default answer being Yes. Whether the PPA or sources are used depends on > the option chosen when building the installation package. This is a bit of a chicken/egg situation. Example: You build a package in say 3.5.4 and it then should have some way to latest stable PPA. Say you run it on Ubuntu 12.04 running Gambas 3.1.1. Your 3.5.4 package will be aborted because of 3.5 dependency, so even the adding newer PPA wouldn't run!! What would be needed is a Gambas application written in 3.1.x named GambasUpdater for example that simply adds the stable repo to the sources.list and run an apt-get update. After this you should be able to install 3.5.x packages. But now you only tackled Ubuntu and Ubuntu based distro's For Debian the application would need to add jessie repo to sources.list and a Preferences file to make it work. I have been thinking about writing such an application so at least Ubuntu and Debain Gambas 3.5.x packages can be installed, as long as the user first installs the application GambasUpdate. Time constrains have kept me from doing so For other distro's (rpm based ones) I have no clue. But if I know what repos and how to add a repo on fedora, mageia, opensuse and such, it could all be done in one app. User selects distro he is running and next a recent Gambas repo gets added to their system, that is about all that would be needed. > > Another possibility is to have an option when creating an installation > package that includes the runtime dependencies of the dev's build > environment. Instead of the package pulling dependencies from the target > system's repositories it would simply use the included packages. I know > that's not the Linux or GAMBAS way, but it's better than using old > GAMBAS packages in the user's repositories that may not work at all. > Remember, these solutions are for users that either don't know or don't > want to know the "right" way to do things, they just want to run the > program. > > Yet another possibility is to have an option when creating an > installation package that would cause the execution of the installed > application itself to check the installed runtime dependencies (if any) > against the stable PPA's runtime dependencies and prompt the user to > update if there is a discrepancy. It could even add the PPA, install the > dependencies, then remove the PPA. > > Solutions requiring the automatic compilation from source would be more > difficult, as the target environment would need to be set up with build > tools first. Solutions adding a PPA would be easier assuming the target > environment's distribution version was supported by the PPA. I don't > know how reliable the solution including the developer's runtime > dependencies would be. > > IMHO for GAMBAS to properly dominate the world, installing a GAMBAS > program really should be as easy as double-clicking a .deb/.rpm and > clicking Next, Next, etc. So, is this a problem worth solving, and if > so, what does everything think the best solution would be? > I think it is worth solving and the best option would be that we get more recent Gambas versions in the official repositories. The second best option is writing the GambasUpdate application in an older Gambas 3.1, so that this can be installed using the outdated official repositories and next when run update to a non official repo running the latest Gambas. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From lists at ...2828... Sat Aug 23 16:10:29 2014 From: lists at ...2828... (CJ) Date: Sat, 23 Aug 2014 16:10:29 +0200 Subject: [Gambas-user] Gambas Magazine - Update In-Reply-To: Message-ID: <000001cfbedc$015da2b0$0f00a8c0@...2829...> Hi Randall, > First thank you to all who provided comments and feed back on > the first issue of Gambas Magazine. Now that I am back in the city I am > focused on the next issue of Gambas Magazine which will be released on > October 1st. Just wanted to say thanks for a great effort! Gambas Magazine is a great idea and I'm sure it will help expanding Gambas userbase. And Gambas deserves it since it's a great development tool with awesome group of developers behind it! Thanks again and if I come up with something to contribute I will let you know, looking forward to read the upcoming issue! /CJ From olivier.cruilles at ...614... Sat Aug 23 16:13:00 2014 From: olivier.cruilles at ...614... (Olivier Cruilles) Date: Sat, 23 Aug 2014 10:13:00 -0400 Subject: [Gambas-user] Swap$ bug on Gambas3 latest svn Message-ID: <805AB24F-A360-4DD4-8B09-C5692CBC54B6@...614...> Hi Benoit, As discussed by e-mail there is 3 weeks, could you look at this bug or not because I not able to use this command Swap$ and try if it's much faster than my actual method with mid$. For memory, I talk about to serialize/deserialize Netflow UDP flow. Maybe if you have time to fix the Profiler too when Task are used in a Gambas program Thank you in advance Cordialement, Olivier Cruilles From gambas at ...1... Sat Aug 23 17:10:33 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 23 Aug 2014 17:10:33 +0200 Subject: [Gambas-user] Swap$ bug on Gambas3 latest svn In-Reply-To: <805AB24F-A360-4DD4-8B09-C5692CBC54B6@...614...> References: <805AB24F-A360-4DD4-8B09-C5692CBC54B6@...614...> Message-ID: <53F8AEE9.5000308@...1...> Le 23/08/2014 16:13, Olivier Cruilles a ?crit : > Hi Benoit, > > As discussed by e-mail there is 3 weeks, could you look at this bug or not because I not able to use this command Swap$ and try if it's much faster than my actual method with mid$. > > For memory, I talk about to serialize/deserialize Netflow UDP flow. > > Maybe if you have time to fix the Profiler too when Task are used in a Gambas program > > Thank you in advance > > > Cordialement, > > Olivier Cruilles > Everything should be fixed in revision #6426. Regards, -- Beno?t Minisini From willy at ...2734... Sat Aug 23 17:41:09 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 23 Aug 2014 17:41:09 +0200 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: References: <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <8-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <9-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <53DB8EAB.5010704@...1...> Message-ID: <1408808469.2298.33.camel@...3024...> On za, 2014-08-02 at 18:26 +0200, Alexie wrote: > Hi Benoit, > > I have tested it with the TRUNK and copying in the "SmtpClient" code into > the stable 3.5.3/3.5.4 and it works fine with the stable, but the same code > signal-11 on the TRUNK. So it isn't a bug in the new SmtpClient, so best to > revert #6410 i think. > > Regards, > Alex I had some trouble with gb.smtp as well. The user authentication never worked (Tested on Gambas 3.4.x and 3.5.x) Today I run an application on Gambas 3.5.90 - rev.#4616 Well the user authentication works out of the box. So, I am hoping that the new gb.smtp component will be back ported to Gambas 3.5 series (as that seems to be no problem according to above post). Is there any change this will happen? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...1... Sat Aug 23 18:07:52 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 23 Aug 2014 18:07:52 +0200 Subject: [Gambas-user] Issue 540 in gambas: gb.net.smtp doesn't work with e.g. smtp.gmail.com, responses aren't handled properly (timing issue) In-Reply-To: <1408808469.2298.33.camel@...3024...> References: <0-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <8-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <9-6813199134517018827-3680697526139984952-gambas=googlecode.com@...2524...> <53DB8EAB.5010704@...1...> <1408808469.2298.33.camel@...3024...> Message-ID: <53F8BC58.80509@...1...> Le 23/08/2014 17:41, Willy Raets a ?crit : > On za, 2014-08-02 at 18:26 +0200, Alexie wrote: >> Hi Benoit, >> >> I have tested it with the TRUNK and copying in the "SmtpClient" code into >> the stable 3.5.3/3.5.4 and it works fine with the stable, but the same code >> signal-11 on the TRUNK. So it isn't a bug in the new SmtpClient, so best to >> revert #6410 i think. >> >> Regards, >> Alex > > I had some trouble with gb.smtp as well. > The user authentication never worked (Tested on Gambas 3.4.x and 3.5.x) > > Today I run an application on Gambas 3.5.90 - rev.#4616 > Well the user authentication works out of the box. > > So, I am hoping that the new gb.smtp component will be back ported to > Gambas 3.5 series (as that seems to be no problem according to above > post). > > Is there any change this will happen? > No, it is actually a big change, not a simple bugfix. I will try to release 3.6 version not too late, but I didn't event start to program the new feature I wanted to add to it. Maybe I will postpone it to 3.7, so that 3.6 is released sooner. Regards, -- Beno?t Minisini From gambas at ...1... Sat Aug 23 20:46:29 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 23 Aug 2014 20:46:29 +0200 Subject: [Gambas-user] TableView.NoKeyboard semantics In-Reply-To: <20140809222646.GH1435@...2774...> References: <20140809222646.GH1435@...2774...> Message-ID: <53F8E185.8090906@...1...> Le 10/08/2014 00:26, Tobias Boege a ?crit : > Hi, > > when we set TableView.NoKeyboard = False, then the ability to select the > current cell via arrow keys is disabled (which I verified experimentally > and which the docs correctly state, too). > > This is an unexpected result for me. Shouldn't NoKeyboard = False mean > "not no keyboard" which is "keyboard"[*] and should *enable* me to move > the current cell via keyboard (arrow keys)? > > Regards, > Tobi > > [*] At least if we have double negation as it works in German (and formal > logic), not as in English where you "can't get no satisfaction" and > still be unsatisfied. > Do you have an example? For me, TableView.NoKeyboard works as expected: it is FALSE by default, and if set to TRUE, the TableView does not handle keyboard events. -- Beno?t Minisini From gambas at ...1... Sat Aug 23 20:51:48 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 23 Aug 2014 20:51:48 +0200 Subject: [Gambas-user] libraries with svn In-Reply-To: References: Message-ID: <53F8E2C4.9060100@...1...> Le 14/08/2014 01:25, Ian Haywood a ?crit : > Richard Terry and I have run into a problem > Our project uses one library (and may use more as we hive up the > project into logical components) > But, it will be in different locations on our systems (mine in > /home/ian/easygp/base.gambas, his funnily enough is > /home/richard/easygp/base.gambas, or similar), and obviously our third > developer (who isn't called "richard" or "ian") will have the same > problem. > > each time one of us updates svn, the .project file is changed to ur > setting, thus breaking the package for the other one. > > Is there a way to exclude changes to the project file from svn > updates? (I know this can be done through configuring svn manually, > which I will do, but is their an "official" gambas solution?) > > Ian > It should have been fixed since revision #6289. Does it work for you? -- Beno?t Minisini From rmorgan62 at ...626... Sat Aug 23 21:50:27 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sat, 23 Aug 2014 12:50:27 -0700 Subject: [Gambas-user] Gambas Magazine - Update In-Reply-To: <000001cfbedc$015da2b0$0f00a8c0@...2829...> References: <000001cfbedc$015da2b0$0f00a8c0@...2829...> Message-ID: CJ, Thanks! And thanks to all those who have helped and continue to help! Like I said, you don't need to be an expert to write an article or to help. You only have to be willing. I can find translators and proof readers and we will all get better as we progress forward. The magazine is very short on content. So even short simple content is helpful. Also, I have columns that I would like to run regularly that need someone to write them. The Gambas News column simple needs someone to keep up with important news on the forum and changes to Gambas that impact the Gambas users, and report them in the column. This requires time that I could be doing other projects for the magazine. So if you can read and write or do graphics, there is a way to participate in the magazine and become published or listed as a contributor. Again, thanks to all who have helped and continue to help! Randall On Sat, Aug 23, 2014 at 7:10 AM, CJ wrote: > Hi Randall, > > > First thank you to all who provided comments and feed back on > > the first issue of Gambas Magazine. Now that I am back in the city I am > > focused on the next issue of Gambas Magazine which will be released on > > October 1st. > > Just wanted to say thanks for a great effort! Gambas Magazine is a great > idea and I'm sure it will help expanding Gambas userbase. > > And Gambas deserves it since it's a great development tool with awesome > group of developers behind it! > > Thanks again and if I come up with something to contribute I will let > you know, looking forward to read the upcoming issue! > > /CJ > > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From olivier.cruilles at ...614... Sat Aug 23 21:31:03 2014 From: olivier.cruilles at ...614... (Olivier Cruilles) Date: Sat, 23 Aug 2014 15:31:03 -0400 Subject: [Gambas-user] Swap$ bug on Gambas3 latest svn In-Reply-To: <53F8AEE9.5000308@...1...> References: <805AB24F-A360-4DD4-8B09-C5692CBC54B6@...614...> <53F8AEE9.5000308@...1...> Message-ID: Benoit, For me it does not works, but maybe I don't use it correctly ? Old line (work as well) ==> ' StructV5.version = Short@(Mid$(FlowData, IndexHeader + 1, 1) & Mid$(FlowData, IndexHeader, 1)) ' As Short Line 188 >>> StructV5.version = Short@(Swap$(Mid$(FlowData, IndexHeader, 2), "0")) ' As Short The error that occur: 2014-08-23 15:23:27.128 [(CTaskFlow 0x9d01a5c)] Error: Type mismatch:wanted Integer, got String instead Where: CTaskFlow.NetflowSock_Analyse.188 2014-08-23 15:23:27.130 [(CTaskFlow 0x9d60ca4)] Error: Type mismatch:wanted Integer, got String instead Where: CTaskFlow.NetflowSock_Analyse.188 Cordialement, Olivier Cruilles EMail: olivier.cruilles at ...614... Portable: +01 514 431 2960 Le 23 ao?t 2014 ? 11:10, Beno?t Minisini a ?crit : > Le 23/08/2014 16:13, Olivier Cruilles a ?crit : >> Hi Benoit, >> >> As discussed by e-mail there is 3 weeks, could you look at this bug or not because I not able to use this command Swap$ and try if it's much faster than my actual method with mid$. >> >> For memory, I talk about to serialize/deserialize Netflow UDP flow. >> >> Maybe if you have time to fix the Profiler too when Task are used in a Gambas program >> >> Thank you in advance >> >> >> Cordialement, >> >> Olivier Cruilles >> > > Everything should be fixed in revision #6426. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Sun Aug 24 00:05:38 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 24 Aug 2014 00:05:38 +0200 Subject: [Gambas-user] TableView.NoKeyboard semantics In-Reply-To: <53F8E185.8090906@...1...> References: <20140809222646.GH1435@...2774...> <53F8E185.8090906@...1...> Message-ID: <20140823220538.GA822@...2774...> On Sat, 23 Aug 2014, Beno?t Minisini wrote: > Le 10/08/2014 00:26, Tobias Boege a ?crit : > > Hi, > > > > when we set TableView.NoKeyboard = False, then the ability to select the > > current cell via arrow keys is disabled (which I verified experimentally > > and which the docs correctly state, too). > > > > This is an unexpected result for me. Shouldn't NoKeyboard = False mean > > "not no keyboard" which is "keyboard"[*] and should *enable* me to move > > the current cell via keyboard (arrow keys)? > > > > Regards, > > Tobi > > > > [*] At least if we have double negation as it works in German (and formal > > logic), not as in English where you "can't get no satisfaction" and > > still be unsatisfied. > > > > Do you have an example? For me, TableView.NoKeyboard works as expected: > it is FALSE by default, and if set to TRUE, the TableView does not > handle keyboard events. > Yes, you are right. Maybe I was confused... -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From ea7dfh at ...2382... Sun Aug 24 15:01:37 2014 From: ea7dfh at ...2382... (Jesus) Date: Sun, 24 Aug 2014 15:01:37 +0200 Subject: [Gambas-user] R: Key events don't work on gb.gtk In-Reply-To: <53F887CF.8030202@...1...> References: <53EDC144.7000905@...2382...> <1408098881.6221.YahooMailBasic@...3275...> <53EEB999.6020605@...1974...> <53EF375D.2070406@...2382...> <53F679BC.2020600@...1...> <53F6F23B.30302@...1...> <53F719B1.8070708@...2382...> <53F72708.9070906@...1...> <53F84BD3.90906@...2382...> <53F887CF.8030202@...1...> Message-ID: <53F9E231.6000005@...2382...> El 23/08/14 a las #4, Beno?t Minisini escribi?: > Le 23/08/2014 10:07, Jesus a ?crit : > >> Hi Beno?t >> >> This is the console output after hitting some keys: >> > > ... >> >> Hope this helps >> >> Regards >> > > Can you try revision #6424 and tell me if the bug is now fixed for you? > It works fine now. Thanks once again! Regards -- Jesus Guardon From gambas at ...2524... Sun Aug 24 15:05:33 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 24 Aug 2014 13:05:33 +0000 Subject: [Gambas-user] Issue 551 in gambas: IsInteger does not match Cint capabilities Message-ID: <0-6813199134517018827-13266637173627296466-gambas=googlecode.com@...2524...> Status: New Owner: gambas... at ...626... Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 551 by gambas... at ...626...: IsInteger does not match Cint capabilities https://code.google.com/p/gambas/issues/detail?id=551 1) Describe the problem. For example : if IsInteger("75 ") then Cint("75 ") Will Fail 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.16.1-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE4 Theme=Oxygen Language=fr_FR.UTF-8 Memory=3862M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.400.0 GTK+3=libgtk-3.so.0.1200.2 GTK+=libgtk-x11-2.0.so.0.2400.24 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Aug 24 15:12:24 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 24 Aug 2014 13:12:24 +0000 Subject: [Gambas-user] Issue 551 in gambas: IsInteger does not match Cint capabilities In-Reply-To: <0-6813199134517018827-13266637173627296466-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13266637173627296466-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13266637173627296466-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-3.5.0 Comment #1 on issue 551 by benoit.m... at ...626...: IsInteger does not match Cint capabilities https://code.google.com/p/gambas/issues/detail?id=551 IsInteger() is the counterpart of Val(), not CInt(). Maybe I should warn about that explicitly in the documentation? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From kevinfishburne at ...1887... Sun Aug 24 21:12:53 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 24 Aug 2014 15:12:53 -0400 Subject: [Gambas-user] Feature suggestion: GAMBAS optional runtime auto-update In-Reply-To: <1408800120.2298.25.camel@...3024...> References: <53F7D775.1050503@...1887...> <1408800120.2298.25.camel@...3024...> Message-ID: <53FA3935.2040507@...1887...> On 08/23/2014 09:22 AM, Willy Raets wrote: > On vr, 2014-08-22 at 19:51 -0400, Kevin Fishburne wrote: >> In the interest of accessibility to a stable version of the GAMBAS >> runtime without requiring users to add a PPA or drop to the command >> line, I think it may be useful to add an "auto-update" feature or >> equivalent. >> >> Currently users have three ways to install GAMBAS: (1) Install from >> their distro's package manager, (2) add the stable or daily PPA, and (3) >> compile from source. Users who will be using GAMBAS to program will have >> no trouble using any of these methods. Users who simply need the runtime >> to use a GAMBAS application however may require a dead-simple method, as >> they could in theory be the mythical Grandmother. >> >> Another problem is that the specific build of GAMBAS packaged with many >> distros is outdated or unstable. I can create a GAMBAS application using >> the stable PPA, create an installation package, distribute it, and users >> who install it may not be able to run the program because their distro's >> GAMBAS build is too old. > I run into the same problems, distributing my applications to simple > users is a hell, becuase of outdated Gambas packages in the official > repositories. > >> I don't know the best solution to these problems, though I can think of >> some possibilities: >> >> Add an option when creating an installation package to prompt the user >> to install dependencies from the stable PPA or from source. When the >> user begins to install the package, a script will be run that prompts >> them if they'd like to install updated runtime dependencies with the >> default answer being Yes. Whether the PPA or sources are used depends on >> the option chosen when building the installation package. > This is a bit of a chicken/egg situation. > Example: > You build a package in say 3.5.4 and it then should have some way to > latest stable PPA. > > Say you run it on Ubuntu 12.04 running Gambas 3.1.1. > Your 3.5.4 package will be aborted because of 3.5 dependency, so even > the adding newer PPA wouldn't run!! > > What would be needed is a Gambas application written in 3.1.x named > GambasUpdater for example that simply adds the stable repo to the > sources.list and run an apt-get update. > > After this you should be able to install 3.5.x packages. > But now you only tackled Ubuntu and Ubuntu based distro's > > For Debian the application would need to add jessie repo to sources.list > and a Preferences file to make it work. > > I have been thinking about writing such an application so at least > Ubuntu and Debain Gambas 3.5.x packages can be installed, as long as the > user first installs the application GambasUpdate. Time constrains have > kept me from doing so > > For other distro's (rpm based ones) I have no clue. > But if I know what repos and how to add a repo on fedora, mageia, > opensuse and such, it could all be done in one app. > > User selects distro he is running and next a recent Gambas repo gets > added to their system, that is about all that would be needed. That is an interesting solution, although that assumes GAMBAS is already installed on a user's system. My suggestion was to have the GAMBAS Installation Package (Project, Make, Installation Package) procedure, which will already be targeting a specific distribution, add a script to the .deb files to optionally add the PPA and update the repositories so the updated dependencies will be installed instead of the stock distro packages. I don't know much about the Debian package structure, but surely it supports running pre/post scripts? The user would open the .deb, click the Install button, a script would be run to add the PPA, update the package list, then the .deb would install normally but with access to the updated PPA dependencies. The only thing the user may be required to do is enter their password and press Enter on the PPA prompt, and we may be able to suppress the latter. >> Another possibility is to have an option when creating an installation >> package that includes the runtime dependencies of the dev's build >> environment. Instead of the package pulling dependencies from the target >> system's repositories it would simply use the included packages. I know >> that's not the Linux or GAMBAS way, but it's better than using old >> GAMBAS packages in the user's repositories that may not work at all. >> Remember, these solutions are for users that either don't know or don't >> want to know the "right" way to do things, they just want to run the >> program. >> >> Yet another possibility is to have an option when creating an >> installation package that would cause the execution of the installed >> application itself to check the installed runtime dependencies (if any) >> against the stable PPA's runtime dependencies and prompt the user to >> update if there is a discrepancy. It could even add the PPA, install the >> dependencies, then remove the PPA. >> >> Solutions requiring the automatic compilation from source would be more >> difficult, as the target environment would need to be set up with build >> tools first. Solutions adding a PPA would be easier assuming the target >> environment's distribution version was supported by the PPA. I don't >> know how reliable the solution including the developer's runtime >> dependencies would be. >> >> IMHO for GAMBAS to properly dominate the world, installing a GAMBAS >> program really should be as easy as double-clicking a .deb/.rpm and >> clicking Next, Next, etc. So, is this a problem worth solving, and if >> so, what does everything think the best solution would be? >> > I think it is worth solving and the best option would be that we get > more recent Gambas versions in the official repositories. While that's the "proper" solution, based on the past it seems to be an elusive goal. From what I've seen, the repository maintainers seem to operate on a different time scale than normal people. > The second best option is writing the GambasUpdate application in an > older Gambas 3.1, so that this can be installed using the outdated > official repositories and next when run update to a non official repo > running the latest Gambas. > I like this idea, however its Achilles' heel is that the user needs GAMBAS to update GAMBAS (chicken and egg as you mentioned). Is there a way to have GAMBAS placed into a single .deb or .rpm package? The user could simply download and execute a single file to have the latest stable build, no PPA fiddling necessary. Whatever script is used to generate the PPA .debs could run an additional script to place GAMBAS into a single .deb, allowing the user to (1) install GAMBAS in a familiar way (download then open) and (2) run a GAMBAS application in a familiar way (download then open). I plan on releasing a game in the next couple of months on Steam and GOG (made with GAMBAS, obviously), so its functionality in this respect is about to be tested by fire. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From taboege at ...626... Sun Aug 24 21:38:33 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 24 Aug 2014 21:38:33 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6414] gambas/trunk In-Reply-To: <20140803001610.GA27726@...2774...> References: <20140803001610.GA27726@...2774...> Message-ID: <20140824193833.GA788@...2774...> On Sun, 03 Aug 2014, Tobias Boege wrote: > On Sat, 02 Aug 2014, gambas at ...1... wrote: > > Revision: 6414 > > http://sourceforge.net/p/gambas/code/6414 > > Author: gambas > > Date: 2014-08-02 22:50:08 +0000 (Sat, 02 Aug 2014) > > Log Message: > > ----------- > > [...] > > [GB.FORM] > > * NEW: ListContainer has been deprecated. It has design problems. > > [...] > > > > Design problems in theory or in the current interface? I liked this thing. > Will there be a replacement? > > I have (visually, not source-wise) looked at the new IDE's "recent projects" > listing. It looks as if it was made with something that can replace the > ListContainer. I don't know what it is and how difficult it was to write but > it seems to have a noticeable latency here, in both drawing (scroll away one > entire view quickly) and reaction to hovering with the mouse... > With the recent commit: > Revision: 6425 > http://sourceforge.net/p/gambas/code/6425 > Author: gambas > Date: 2014-08-23 14:54:10 +0000 (Sat, 23 Aug 2014) > Log Message: > ----------- > [DEVELOPMENT ENVIRONMENT] > * OPT: Optimize project box control drawing routine. it is fast! Thanks. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From willy at ...2734... Sun Aug 24 22:36:40 2014 From: willy at ...2734... (Willy Raets) Date: Sun, 24 Aug 2014 22:36:40 +0200 Subject: [Gambas-user] Feature suggestion: GAMBAS optional runtime auto-update In-Reply-To: <53FA3935.2040507@...1887...> References: <53F7D775.1050503@...1887...> <1408800120.2298.25.camel@...3024...> <53FA3935.2040507@...1887...> Message-ID: <1408912600.2309.9.camel@...3024...> On zo, 2014-08-24 at 15:12 -0400, Kevin Fishburne wrote: > On 08/23/2014 09:22 AM, Willy Raets wrote: > > On vr, 2014-08-22 at 19:51 -0400, Kevin Fishburne wrote: > >> In the interest of accessibility to a stable version of the GAMBAS > >> runtime without requiring users to add a PPA or drop to the command > >> line, I think it may be useful to add an "auto-update" feature or > >> equivalent. > >> > >> Currently users have three ways to install GAMBAS: (1) Install from > >> their distro's package manager, (2) add the stable or daily PPA, and (3) > >> compile from source. Users who will be using GAMBAS to program will have > >> no trouble using any of these methods. Users who simply need the runtime > >> to use a GAMBAS application however may require a dead-simple method, as > >> they could in theory be the mythical Grandmother. > >> > >> Another problem is that the specific build of GAMBAS packaged with many > >> distros is outdated or unstable. I can create a GAMBAS application using > >> the stable PPA, create an installation package, distribute it, and users > >> who install it may not be able to run the program because their distro's > >> GAMBAS build is too old. > > I run into the same problems, distributing my applications to simple > > users is a hell, becuase of outdated Gambas packages in the official > > repositories. > > > >> I don't know the best solution to these problems, though I can think of > >> some possibilities: > >> > >> Add an option when creating an installation package to prompt the user > >> to install dependencies from the stable PPA or from source. When the > >> user begins to install the package, a script will be run that prompts > >> them if they'd like to install updated runtime dependencies with the > >> default answer being Yes. Whether the PPA or sources are used depends on > >> the option chosen when building the installation package. > > This is a bit of a chicken/egg situation. > > Example: > > You build a package in say 3.5.4 and it then should have some way to > > latest stable PPA. > > > > Say you run it on Ubuntu 12.04 running Gambas 3.1.1. > > Your 3.5.4 package will be aborted because of 3.5 dependency, so even > > the adding newer PPA wouldn't run!! > > > > What would be needed is a Gambas application written in 3.1.x named > > GambasUpdater for example that simply adds the stable repo to the > > sources.list and run an apt-get update. > > > > After this you should be able to install 3.5.x packages. > > But now you only tackled Ubuntu and Ubuntu based distro's > > > > For Debian the application would need to add jessie repo to sources.list > > and a Preferences file to make it work. > > > > I have been thinking about writing such an application so at least > > Ubuntu and Debain Gambas 3.5.x packages can be installed, as long as the > > user first installs the application GambasUpdate. Time constrains have > > kept me from doing so > > > > For other distro's (rpm based ones) I have no clue. > > But if I know what repos and how to add a repo on fedora, mageia, > > opensuse and such, it could all be done in one app. > > > > User selects distro he is running and next a recent Gambas repo gets > > added to their system, that is about all that would be needed. > > That is an interesting solution, although that assumes GAMBAS is already 1. installed on a user's system. > My suggestion was to have the GAMBAS > Installation Package (Project, Make, Installation Package) procedure, > which will already be targeting a specific distribution, add a script to > the .deb files to optionally add the PPA and update the repositories so > the updated dependencies will be installed instead of the stock distro > packages. I don't know much about the Debian package structure, but > surely it supports running pre/post scripts? I wonder if when the package installer detects a dependency on Gambas 3.5, but no repo is available, it will abort the install. So I wonder if pre install scripts would be even run?! > The user would open the > .deb, click the Install button, a script would be run to add the PPA, > update the package list, then the .deb would install normally but with > access to the updated PPA dependencies. The only thing the user may be > required to do is enter their password and press Enter on the PPA > prompt, and we may be able to suppress the latter. > > >> Another possibility is to have an option when creating an installation > >> package that includes the runtime dependencies of the dev's build > >> environment. Instead of the package pulling dependencies from the target > >> system's repositories it would simply use the included packages. I know > >> that's not the Linux or GAMBAS way, but it's better than using old > >> GAMBAS packages in the user's repositories that may not work at all. > >> Remember, these solutions are for users that either don't know or don't > >> want to know the "right" way to do things, they just want to run the > >> program. > >> > >> Yet another possibility is to have an option when creating an > >> installation package that would cause the execution of the installed > >> application itself to check the installed runtime dependencies (if any) > >> against the stable PPA's runtime dependencies and prompt the user to > >> update if there is a discrepancy. It could even add the PPA, install the > >> dependencies, then remove the PPA. > >> > >> Solutions requiring the automatic compilation from source would be more > >> difficult, as the target environment would need to be set up with build > >> tools first. Solutions adding a PPA would be easier assuming the target > >> environment's distribution version was supported by the PPA. I don't > >> know how reliable the solution including the developer's runtime > >> dependencies would be. > >> > >> IMHO for GAMBAS to properly dominate the world, installing a GAMBAS > >> program really should be as easy as double-clicking a .deb/.rpm and > >> clicking Next, Next, etc. So, is this a problem worth solving, and if > >> so, what does everything think the best solution would be? > >> > > I think it is worth solving and the best option would be that we get > > more recent Gambas versions in the official repositories. > > While that's the "proper" solution, based on the past it seems to be an > elusive goal. From what I've seen, the repository maintainers seem to > operate on a different time scale than normal people. > > > The second best option is writing the GambasUpdate application in an > > older Gambas 3.1, so that this can be installed using the outdated > > official repositories and next when run update to a non official repo > > running the latest Gambas. > > > > I like this idea, however its Achilles' heel is that the user needs > GAMBAS to update GAMBAS (chicken and egg as you mentioned). So maybe we need a GambasUpdater written in C++. No Gambas needed. This could be a good solution as C++ should be available in all distro repositories. And it would have to be a one click install of the C++ GambasUpdater. But I'm no C++ developer. > Is there a > way to have GAMBAS placed into a single .deb or .rpm package? None that I am aware of. > The user > could simply download and execute a single file to have the latest > stable build, no PPA fiddling necessary. Whatever script is used to > generate the PPA .debs could run an additional script to place GAMBAS > into a single .deb, allowing the user to (1) install GAMBAS in a > familiar way (download then open) and (2) run a GAMBAS application in a > familiar way (download then open). > > I plan on releasing a game in the next couple of months on Steam and GOG > (made with GAMBAS, obviously), so its functionality in this respect is > about to be tested by fire. > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From mr_jotaerre at ...67... Mon Aug 25 01:20:59 2014 From: mr_jotaerre at ...67... (Hamilton Junior) Date: Sun, 24 Aug 2014 20:20:59 -0300 Subject: [Gambas-user] Need help! (Pedido de ajuda) Message-ID: Good night. I need to create a RSS reader program in Gambas. Explaning: i need to create a database with the news of the last 15 days, and put it on a database. The RSS readline is exactly i need. How can I access a RSS server, download the news and put it inside a database? Well, if anyone could help me just access and fill a listview with the readline is the first step for my program. Boa noite, Eu preciso criar um leitor de RSS em gambas. Explico: eu preciso criar um banco de dados com not?cias dos ?ltimos 15 dias e grav?-los em um banco de dados. A forma como um RSS ? apresentado ? ideal para meu trabalho. O que eu preciso ? acessar esse servidor e baixar as not?cias pra gravar em banco de dados. Se algu?m puder me ajudar apenas a conectar, o resto fica f?cil. Obrigado!!! _________________________________________________________Hamilton. From ualex73 at ...626... Mon Aug 25 07:21:37 2014 From: ualex73 at ...626... (Alexie) Date: Mon, 25 Aug 2014 07:21:37 +0200 Subject: [Gambas-user] Feature suggestion: GAMBAS optional runtime auto-update In-Reply-To: <1408912600.2309.9.camel@...3024...> References: <53F7D775.1050503@...1887...> <1408800120.2298.25.camel@...3024...> <53FA3935.2040507@...1887...> <1408912600.2309.9.camel@...3024...> Message-ID: To jump in the auto-update, but now from application side ... Does anybody has written a Gambas project, which can auto-update itself from a website (e.g. download gz/tar or git/svn) and restart itself? 2014-08-24 22:36 GMT+02:00 Willy Raets : > On zo, 2014-08-24 at 15:12 -0400, Kevin Fishburne wrote: > > On 08/23/2014 09:22 AM, Willy Raets wrote: > > > On vr, 2014-08-22 at 19:51 -0400, Kevin Fishburne wrote: > > >> In the interest of accessibility to a stable version of the GAMBAS > > >> runtime without requiring users to add a PPA or drop to the command > > >> line, I think it may be useful to add an "auto-update" feature or > > >> equivalent. > > >> > > >> Currently users have three ways to install GAMBAS: (1) Install from > > >> their distro's package manager, (2) add the stable or daily PPA, and > (3) > > >> compile from source. Users who will be using GAMBAS to program will > have > > >> no trouble using any of these methods. Users who simply need the > runtime > > >> to use a GAMBAS application however may require a dead-simple method, > as > > >> they could in theory be the mythical Grandmother. > > >> > > >> Another problem is that the specific build of GAMBAS packaged with > many > > >> distros is outdated or unstable. I can create a GAMBAS application > using > > >> the stable PPA, create an installation package, distribute it, and > users > > >> who install it may not be able to run the program because their > distro's > > >> GAMBAS build is too old. > > > I run into the same problems, distributing my applications to simple > > > users is a hell, becuase of outdated Gambas packages in the official > > > repositories. > > > > > >> I don't know the best solution to these problems, though I can think > of > > >> some possibilities: > > >> > > >> Add an option when creating an installation package to prompt the user > > >> to install dependencies from the stable PPA or from source. When the > > >> user begins to install the package, a script will be run that prompts > > >> them if they'd like to install updated runtime dependencies with the > > >> default answer being Yes. Whether the PPA or sources are used depends > on > > >> the option chosen when building the installation package. > > > This is a bit of a chicken/egg situation. > > > Example: > > > You build a package in say 3.5.4 and it then should have some way to > > > latest stable PPA. > > > > > > Say you run it on Ubuntu 12.04 running Gambas 3.1.1. > > > Your 3.5.4 package will be aborted because of 3.5 dependency, so even > > > the adding newer PPA wouldn't run!! > > > > > > What would be needed is a Gambas application written in 3.1.x named > > > GambasUpdater for example that simply adds the stable repo to the > > > sources.list and run an apt-get update. > > > > > > After this you should be able to install 3.5.x packages. > > > But now you only tackled Ubuntu and Ubuntu based distro's > > > > > > For Debian the application would need to add jessie repo to > sources.list > > > and a Preferences file to make it work. > > > > > > I have been thinking about writing such an application so at least > > > Ubuntu and Debain Gambas 3.5.x packages can be installed, as long as > the > > > user first installs the application GambasUpdate. Time constrains have > > > kept me from doing so > > > > > > For other distro's (rpm based ones) I have no clue. > > > But if I know what repos and how to add a repo on fedora, mageia, > > > opensuse and such, it could all be done in one app. > > > > > > User selects distro he is running and next a recent Gambas repo gets > > > added to their system, that is about all that would be needed. > > > > That is an interesting solution, although that assumes GAMBAS is already > 1. installed on a user's system. > > My suggestion was to have the GAMBAS > > Installation Package (Project, Make, Installation Package) procedure, > > which will already be targeting a specific distribution, add a script to > > the .deb files to optionally add the PPA and update the repositories so > > the updated dependencies will be installed instead of the stock distro > > packages. I don't know much about the Debian package structure, but > > surely it supports running pre/post scripts? > > I wonder if when the package installer detects a dependency on Gambas > 3.5, but no repo is available, it will abort the install. So I wonder if > pre install scripts would be even run?! > > > The user would open the > > .deb, click the Install button, a script would be run to add the PPA, > > update the package list, then the .deb would install normally but with > > access to the updated PPA dependencies. The only thing the user may be > > required to do is enter their password and press Enter on the PPA > > prompt, and we may be able to suppress the latter. > > > > >> Another possibility is to have an option when creating an installation > > >> package that includes the runtime dependencies of the dev's build > > >> environment. Instead of the package pulling dependencies from the > target > > >> system's repositories it would simply use the included packages. I > know > > >> that's not the Linux or GAMBAS way, but it's better than using old > > >> GAMBAS packages in the user's repositories that may not work at all. > > >> Remember, these solutions are for users that either don't know or > don't > > >> want to know the "right" way to do things, they just want to run the > > >> program. > > >> > > >> Yet another possibility is to have an option when creating an > > >> installation package that would cause the execution of the installed > > >> application itself to check the installed runtime dependencies (if > any) > > >> against the stable PPA's runtime dependencies and prompt the user to > > >> update if there is a discrepancy. It could even add the PPA, install > the > > >> dependencies, then remove the PPA. > > >> > > >> Solutions requiring the automatic compilation from source would be > more > > >> difficult, as the target environment would need to be set up with > build > > >> tools first. Solutions adding a PPA would be easier assuming the > target > > >> environment's distribution version was supported by the PPA. I don't > > >> know how reliable the solution including the developer's runtime > > >> dependencies would be. > > >> > > >> IMHO for GAMBAS to properly dominate the world, installing a GAMBAS > > >> program really should be as easy as double-clicking a .deb/.rpm and > > >> clicking Next, Next, etc. So, is this a problem worth solving, and if > > >> so, what does everything think the best solution would be? > > >> > > > I think it is worth solving and the best option would be that we get > > > more recent Gambas versions in the official repositories. > > > > While that's the "proper" solution, based on the past it seems to be an > > elusive goal. From what I've seen, the repository maintainers seem to > > operate on a different time scale than normal people. > > > > > The second best option is writing the GambasUpdate application in an > > > older Gambas 3.1, so that this can be installed using the outdated > > > official repositories and next when run update to a non official repo > > > running the latest Gambas. > > > > > > > I like this idea, however its Achilles' heel is that the user needs > > GAMBAS to update GAMBAS (chicken and egg as you mentioned). > > So maybe we need a GambasUpdater written in C++. No Gambas needed. > > This could be a good solution as C++ should be available in all distro > repositories. And it would have to be a one click install of the C++ > GambasUpdater. > > But I'm no C++ developer. > > > > Is there a > > way to have GAMBAS placed into a single .deb or .rpm package? > > None that I am aware of. > > > The user > > could simply download and execute a single file to have the latest > > stable build, no PPA fiddling necessary. Whatever script is used to > > generate the PPA .debs could run an additional script to place GAMBAS > > into a single .deb, allowing the user to (1) install GAMBAS in a > > familiar way (download then open) and (2) run a GAMBAS application in a > > familiar way (download then open). > > > > I plan on releasing a game in the next couple of months on Steam and GOG > > (made with GAMBAS, obviously), so its functionality in this respect is > > about to be tested by fire. > > > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jusabejusabe at ...626... Mon Aug 25 09:34:56 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Mon, 25 Aug 2014 09:34:56 +0200 Subject: [Gambas-user] Feature suggestion: GAMBAS optional runtime auto-update In-Reply-To: References: <53F7D775.1050503@...1887...> <1408800120.2298.25.camel@...3024...> <53FA3935.2040507@...1887...> <1408912600.2309.9.camel@...3024...> Message-ID: Alexie: "Does anybody has written a Gambas project, which can auto-update itself from a website (e.g. download gz/tar or git/svn) and restart itself?" What I've done is a class that reads information from a web page on the internet. This website contains information about the program version and download location. The class compares the version of the program that is running and there is a web page showing a message if you need to upgrade and where the upgrade link source code: http://jsbsan.blogspot.com.es/2011/10/updaterayo-nueva-clase-up-poder-buscar.html example web page: http://seguimientodeapuestas.blogspot.com.es/2014/05/turbopdf.html Best regards Julio 2014-08-25 7:21 GMT+02:00 Alexie : > To jump in the auto-update, but now from application side ... Does anybody > has written a Gambas project, which can auto-update itself from a website > (e.g. download gz/tar or git/svn) and restart itself? > > > > > 2014-08-24 22:36 GMT+02:00 Willy Raets : > > > On zo, 2014-08-24 at 15:12 -0400, Kevin Fishburne wrote: > > > On 08/23/2014 09:22 AM, Willy Raets wrote: > > > > On vr, 2014-08-22 at 19:51 -0400, Kevin Fishburne wrote: > > > >> In the interest of accessibility to a stable version of the GAMBAS > > > >> runtime without requiring users to add a PPA or drop to the command > > > >> line, I think it may be useful to add an "auto-update" feature or > > > >> equivalent. > > > >> > > > >> Currently users have three ways to install GAMBAS: (1) Install from > > > >> their distro's package manager, (2) add the stable or daily PPA, and > > (3) > > > >> compile from source. Users who will be using GAMBAS to program will > > have > > > >> no trouble using any of these methods. Users who simply need the > > runtime > > > >> to use a GAMBAS application however may require a dead-simple > method, > > as > > > >> they could in theory be the mythical Grandmother. > > > >> > > > >> Another problem is that the specific build of GAMBAS packaged with > > many > > > >> distros is outdated or unstable. I can create a GAMBAS application > > using > > > >> the stable PPA, create an installation package, distribute it, and > > users > > > >> who install it may not be able to run the program because their > > distro's > > > >> GAMBAS build is too old. > > > > I run into the same problems, distributing my applications to simple > > > > users is a hell, becuase of outdated Gambas packages in the official > > > > repositories. > > > > > > > >> I don't know the best solution to these problems, though I can think > > of > > > >> some possibilities: > > > >> > > > >> Add an option when creating an installation package to prompt the > user > > > >> to install dependencies from the stable PPA or from source. When the > > > >> user begins to install the package, a script will be run that > prompts > > > >> them if they'd like to install updated runtime dependencies with the > > > >> default answer being Yes. Whether the PPA or sources are used > depends > > on > > > >> the option chosen when building the installation package. > > > > This is a bit of a chicken/egg situation. > > > > Example: > > > > You build a package in say 3.5.4 and it then should have some way to > > > > latest stable PPA. > > > > > > > > Say you run it on Ubuntu 12.04 running Gambas 3.1.1. > > > > Your 3.5.4 package will be aborted because of 3.5 dependency, so even > > > > the adding newer PPA wouldn't run!! > > > > > > > > What would be needed is a Gambas application written in 3.1.x named > > > > GambasUpdater for example that simply adds the stable repo to the > > > > sources.list and run an apt-get update. > > > > > > > > After this you should be able to install 3.5.x packages. > > > > But now you only tackled Ubuntu and Ubuntu based distro's > > > > > > > > For Debian the application would need to add jessie repo to > > sources.list > > > > and a Preferences file to make it work. > > > > > > > > I have been thinking about writing such an application so at least > > > > Ubuntu and Debain Gambas 3.5.x packages can be installed, as long as > > the > > > > user first installs the application GambasUpdate. Time constrains > have > > > > kept me from doing so > > > > > > > > For other distro's (rpm based ones) I have no clue. > > > > But if I know what repos and how to add a repo on fedora, mageia, > > > > opensuse and such, it could all be done in one app. > > > > > > > > User selects distro he is running and next a recent Gambas repo gets > > > > added to their system, that is about all that would be needed. > > > > > > That is an interesting solution, although that assumes GAMBAS is > already > > 1. installed on a user's system. > > > My suggestion was to have the GAMBAS > > > Installation Package (Project, Make, Installation Package) procedure, > > > which will already be targeting a specific distribution, add a script > to > > > the .deb files to optionally add the PPA and update the repositories so > > > the updated dependencies will be installed instead of the stock distro > > > packages. I don't know much about the Debian package structure, but > > > surely it supports running pre/post scripts? > > > > I wonder if when the package installer detects a dependency on Gambas > > 3.5, but no repo is available, it will abort the install. So I wonder if > > pre install scripts would be even run?! > > > > > The user would open the > > > .deb, click the Install button, a script would be run to add the PPA, > > > update the package list, then the .deb would install normally but with > > > access to the updated PPA dependencies. The only thing the user may be > > > required to do is enter their password and press Enter on the PPA > > > prompt, and we may be able to suppress the latter. > > > > > > >> Another possibility is to have an option when creating an > installation > > > >> package that includes the runtime dependencies of the dev's build > > > >> environment. Instead of the package pulling dependencies from the > > target > > > >> system's repositories it would simply use the included packages. I > > know > > > >> that's not the Linux or GAMBAS way, but it's better than using old > > > >> GAMBAS packages in the user's repositories that may not work at all. > > > >> Remember, these solutions are for users that either don't know or > > don't > > > >> want to know the "right" way to do things, they just want to run the > > > >> program. > > > >> > > > >> Yet another possibility is to have an option when creating an > > > >> installation package that would cause the execution of the installed > > > >> application itself to check the installed runtime dependencies (if > > any) > > > >> against the stable PPA's runtime dependencies and prompt the user to > > > >> update if there is a discrepancy. It could even add the PPA, install > > the > > > >> dependencies, then remove the PPA. > > > >> > > > >> Solutions requiring the automatic compilation from source would be > > more > > > >> difficult, as the target environment would need to be set up with > > build > > > >> tools first. Solutions adding a PPA would be easier assuming the > > target > > > >> environment's distribution version was supported by the PPA. I don't > > > >> know how reliable the solution including the developer's runtime > > > >> dependencies would be. > > > >> > > > >> IMHO for GAMBAS to properly dominate the world, installing a GAMBAS > > > >> program really should be as easy as double-clicking a .deb/.rpm and > > > >> clicking Next, Next, etc. So, is this a problem worth solving, and > if > > > >> so, what does everything think the best solution would be? > > > >> > > > > I think it is worth solving and the best option would be that we get > > > > more recent Gambas versions in the official repositories. > > > > > > While that's the "proper" solution, based on the past it seems to be an > > > elusive goal. From what I've seen, the repository maintainers seem to > > > operate on a different time scale than normal people. > > > > > > > The second best option is writing the GambasUpdate application in an > > > > older Gambas 3.1, so that this can be installed using the outdated > > > > official repositories and next when run update to a non official repo > > > > running the latest Gambas. > > > > > > > > > > I like this idea, however its Achilles' heel is that the user needs > > > GAMBAS to update GAMBAS (chicken and egg as you mentioned). > > > > So maybe we need a GambasUpdater written in C++. No Gambas needed. > > > > This could be a good solution as C++ should be available in all distro > > repositories. And it would have to be a one click install of the C++ > > GambasUpdater. > > > > But I'm no C++ developer. > > > > > > > Is there a > > > way to have GAMBAS placed into a single .deb or .rpm package? > > > > None that I am aware of. > > > > > The user > > > could simply download and execute a single file to have the latest > > > stable build, no PPA fiddling necessary. Whatever script is used to > > > generate the PPA .debs could run an additional script to place GAMBAS > > > into a single .deb, allowing the user to (1) install GAMBAS in a > > > familiar way (download then open) and (2) run a GAMBAS application in a > > > familiar way (download then open). > > > > > > I plan on releasing a game in the next couple of months on Steam and > GOG > > > (made with GAMBAS, obviously), so its functionality in this respect is > > > about to be tested by fire. > > > > > > > -- > > Kind regards, > > > > Willy (aka gbWilly) > > > > http://gambasshowcase.org/ > > http://howtogambas.org > > http://gambos.org > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Slashdot TV. > > Video for Nerds. Stuff that matters. > > http://tv.slashdot.org/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dquinter at ...626... Mon Aug 25 14:52:44 2014 From: dquinter at ...626... (Daniel Quintero) Date: Mon, 25 Aug 2014 07:52:44 -0500 Subject: [Gambas-user] Gambas Magazine - Update In-Reply-To: References: Message-ID: Hi Randall? As an idea, can I translate some of the articles to spanish? Regards. *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Wed, Aug 20, 2014 at 3:20 PM, Randall Morgan wrote: > Hi Folks, > > First thank you to all who provided comments and feed back on the first > issue of Gambas Magazine. Now that I am back in the city I am focused on > the next issue of Gambas Magazine which will be released on October 1st. > As usually, we are in need of articles of interest to Gambas users and > developers. > > The next issue will focus on Game development with Gambas and will also > include follows-ups on the multi-part articles in the last issue. > > I am in great need of contributors to author articles, proof read, and do > technical reviews of articles before publishing, and provide artwork for > covers and articles. If you or someone you know would like to contribute, > please contact me. > > > Sincerely, > > Randall - Editor, Gambas Magazine > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jusabejusabe at ...626... Mon Aug 25 22:28:29 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Mon, 25 Aug 2014 22:28:29 +0200 Subject: [Gambas-user] Add new command to: Copy directories recursively Message-ID: Hi, could you add a new order within gambas3 to copy directories recursively. Something like this: PUBLIC SUB copia_dir(path_origen AS String , path_destino AS String , OPTIONAL tipo as String ) DIM arDir AS string [] DIM arFile AS string [] DIM nombredir, nombrefile AS String IF NOT tipo then tipo="*" IF NOT Exist (path_destino) THEN MKDIR path_destino ENDIF arfile = Dir (path_origen, tipo, gb. file ) 'extraemos los ficheros FOR EACH nombrefile IN arfile 'los copiamos COPY path_origen &/ nombrefile TO path_destino &/ nombrefile NEXT ardir = Dir (path_origen, "*", gb. Directory) FOR EACH nombredir IN arDir 'extraemos los subdirectorios copia_dir(path_origen &/ nombredir, path_destino &/ nombredir) 'usamos la recursividad NEXT END Regards From gambas at ...1... Mon Aug 25 22:40:51 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 25 Aug 2014 22:40:51 +0200 Subject: [Gambas-user] Add new command to: Copy directories recursively In-Reply-To: References: Message-ID: <53FB9F53.6040701@...1...> Le 25/08/2014 22:28, Julio Sanchez a ?crit : > Hi, could you add a new order within gambas3 to copy directories > recursively. > > Something like this: > > PUBLIC SUB > copia_dir(path_origen AS > String > , path_destino AS > String > , OPTIONAL > tipo as > String > ) > > DIM arDir AS > string > [] > DIM arFile AS > string > [] > DIM nombredir, nombrefile AS > String > > > IF NOT > tipo then > tipo="*" > IF NOT > Exist > (path_destino) THEN > > MKDIR path_destino > ENDIF > arfile = Dir (path_origen, tipo, gb. > file ) 'extraemos los ficheros > FOR EACH > nombrefile IN > arfile 'los copiamos > COPY path_origen &/ > nombrefile TO path_destino &/ > nombrefile > NEXT > ardir = Dir (path_origen, "*", gb. > Directory) > FOR EACH > nombredir IN > arDir 'extraemos los subdirectorios > copia_dir(path_origen &/ nombredir, path_destino &/ nombredir) 'usamos > la recursividad > NEXT > END > > > Regards Your mail is not very readable... But anyway, what for? Why don't you call the "cp" command with SHELL or EXEC? -- Beno?t Minisini From taboege at ...626... Mon Aug 25 23:04:37 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 25 Aug 2014 23:04:37 +0200 Subject: [Gambas-user] Add new command to: Copy directories recursively In-Reply-To: References: Message-ID: <20140825210437.GC790@...2774...> On Mon, 25 Aug 2014, Julio Sanchez wrote: > Hi, could you add a new order within gambas3 to copy directories > recursively. > > Something like this: > > PUBLIC SUB > copia_dir(path_origen AS > String > , path_destino AS > String > , OPTIONAL > tipo as > String > ) > > DIM arDir AS > string > [] > DIM arFile AS > string > [] > DIM nombredir, nombrefile AS > String > > > IF NOT > tipo then > tipo="*" > IF NOT > Exist > (path_destino) THEN > > MKDIR path_destino > ENDIF > arfile = Dir (path_origen, tipo, gb. > file ) 'extraemos los ficheros > FOR EACH > nombrefile IN > arfile 'los copiamos > COPY path_origen &/ > nombrefile TO path_destino &/ > nombrefile > NEXT > ardir = Dir (path_origen, "*", gb. > Directory) > FOR EACH > nombredir IN > arDir 'extraemos los subdirectorios > copia_dir(path_origen &/ nombredir, path_destino &/ nombredir) 'usamos > la recursividad > NEXT > END > For the other people who can't read the above HTML-like mail, try to pipe it through "sed ':a;$!N;s/\n\?<[^>]*>//;ta;P;D'". There are only a few places to fix up manually then: --8<------------------------------------------------------------------------ PUBLIC SUB copia_dir(path_origen AS String, path_destino AS String, OPTIONAL tipo as String) DIM arDir AS string[] DIM arFile AS string[] DIM nombredir, nombrefile AS String IF NOT tipo then tipo="*" IF NOT Exist(path_destino) THEN MKDIR path_destino ENDIF arfile = Dir (path_origen, tipo, gb.file ) 'extraemos los ficheros FOR EACH nombrefile IN arfile 'los copiamos COPY path_origen &/ nombrefile TO path_destino &/ nombrefile NEXT ardir = Dir (path_origen, "*", gb.Directory) FOR EACH nombredir IN arDir 'extraemos los subdirectorios copia_dir(path_origen &/ nombredir, path_destino &/ nombredir) 'usamos la recursividad NEXT END --8<------------------------------------------------------------------------ I'm not a fan of adding a new instruction for something that can be done in just a few lines once and for all. Here is my version[0], even a little shorter (plus it can copy single files, too): --8<------------------------------------------------------------------------ Public Sub CopyDir(sSrc As String, sDst As String) Dim sRel As String If IsDir(sSrc) Then Mkdir sDst For Each sRel In Dir(sSrc) CopyDir(sSrc &/ sRel, sDst &/ sRel) Next Else Copy sSrc To sDst Endif End --8<------------------------------------------------------------------------ And then there is also "cp -r" at your disposal. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mrrichardwallace at ...43... Mon Aug 25 23:46:37 2014 From: mrrichardwallace at ...43... (mrrichardwallace at ...43...) Date: Mon, 25 Aug 2014 23:46:37 +0200 Subject: [Gambas-user] from: Mrrichardwallace Message-ID: <53F6689E0184029D@...3369...> (added by postmaster@...3370...) Greetings http://skorpioairsoft.hu/bear.php?ynhkhmbkar3101ths mrrichardwallace at ...43... From bbruen at ...2308... Tue Aug 26 02:01:57 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 26 Aug 2014 09:31:57 +0930 Subject: [Gambas-user] Add new command to: Copy directories recursively In-Reply-To: References: Message-ID: <20140826093157.07f64d94ed3aec52d11eea62@...2308...> On Mon, 25 Aug 2014 22:28:29 +0200 Julio Sanchez wrote: > Hi, could you add a new order within gambas3 to copy directories > recursively. > (snippped) Here's my version, slightly different to Tobi's. I find that it is better to provide an array of all the paths in the source tree and then iterate through it as you have more control over what is and is not copied. For example, in the following code I ignore all the svn control files. ' Gambas module file ''' This module provides some generalised methods for handling files. Export Public Function MoveFile(source As String, dest As String, Optional overwrite As Boolean = False) As Boolean '' Move a file specified by the source path to the dest dir. If overwrite is specified and is true '' then an existing file of the same name in the dest dir will be overwritten (read deleted and replaced). Dim sourcedir As String Dim sourcefile As String sourcefile = File.Name(source) sourcedir = File.Dir(source) If sourcedir = dest Then Error.Raise("Source and destination directories are the same") 'First check if file exists If Exist(source) Then 'Now check if copyto directory exists If Not (Exist(dest)) Then Mkdir dest Endif 'Now check if file exists If Exist(dest &/ sourcefile) Then If overwrite Then Kill dest &/ sourcefile Else Error.Raise("File already exists in destination dir") Endif Endif Move source To dest &/ sourcefile Else Error.Raise("Source file for move does not exist") Endif Return True Catch Print Subst$("Err (&2) occurred at &4 : &1.", Error.Text, Error.Code, Error.Backtrace.Join("\n"), Error.Where) Return False End Public Function CopyFile(source As String, dest As String, Optional overwrite As Boolean = False) As Boolean '' Copies a file specified by the source path to the dest dir Dim sourcedir As String Dim sourcefile As String sourcefile = File.Name(source) sourcedir = File.Dir(source) If sourcedir = dest Then Error.Raise("Source and destination directories are the same") 'First check if file exists If Exist(source) Then 'Now check if copyto directory exists If Not (Exist(dest)) Then Mkdir dest Endif 'Now check if file exists If Exist(dest &/ sourcefile) Then If overwrite Then Kill dest &/ sourcefile Else Error.Raise("File already exists in destination dir") Endif Endif Copy source To dest &/ sourcefile Else Error.Raise("Source file for copy does not exist") Endif Return True Catch Print Subst$("Err (&2) occurred at &4 : &1.", Error.Text, Error.Code, Error.Backtrace.Join("\n"), Error.Where) Return False End Public Function RecDir(root As String, rootext As String, pattern As String, filter As Integer) As String[] Dim wkrtn As New String[] Dim sdirs As New String[] Dim sd As String Dim item As String wkrtn = Dir(root &/ rootext, pattern, filter) sdirs = Dir(root &/ rootext, "*", gb.Directory) For Each sd In sdirs If sd = ".svn" Then Continue ' ignore subversion dirs For Each item In (RecDir(root &/ rootext, sd, pattern, filter)) wkrtn.Add(sd &/ item) Next Next Return wkrtn.Sort() Catch Error Subst("&1\nERR: &2 (&3)\n&4\n&1\n", String$(40, "-"), Error.Text, Error.Code, Error.Backtrace.Join("\n")) Error sd, root, rootext, pattern, filter End hth -- B Bruen From Gambas at ...1950... Tue Aug 26 08:21:37 2014 From: Gambas at ...1950... (Caveat) Date: Tue, 26 Aug 2014 08:21:37 +0200 Subject: [Gambas-user] Add new command to: Copy directories recursively In-Reply-To: <20140825210437.GC790@...2774...> References: <20140825210437.GC790@...2774...> Message-ID: <53FC2771.6040500@...1950...> Hello List Although there is always "cp -r", it makes for a very unportable program if you depend on calling external programs. Better to build it in to the language if it's generally and genuinely useful, or to make a callable function in some public repository of Gambas code, so people don't need to reinvent the wheel every time they need a recursive copy. Kind regards, Caveat On 25/08/14 23:04, Tobias Boege wrote: > On Mon, 25 Aug 2014, Julio Sanchez wrote: >> Hi, could you add a new order within gambas3 to copy directories >> recursively. >> >> Something like this: >> >> PUBLIC SUB >> copia_dir(path_origen AS >> String >> , path_destino AS >> String >> , OPTIONAL >> tipo as >> String >> ) >> >> DIM arDir AS >> string >> [] >> DIM arFile AS >> string >> [] >> DIM nombredir, nombrefile AS >> String >> >> >> IF NOT >> tipo then >> tipo="*" >> IF NOT >> Exist >> (path_destino) THEN >> >> MKDIR path_destino >> ENDIF >> arfile = Dir (path_origen, tipo, gb. >> file ) 'extraemos los ficheros >> FOR EACH >> nombrefile IN >> arfile 'los copiamos >> COPY path_origen &/ >> nombrefile TO path_destino &/ >> nombrefile >> NEXT >> ardir = Dir (path_origen, "*", gb. >> Directory) >> FOR EACH >> nombredir IN >> arDir 'extraemos los subdirectorios >> copia_dir(path_origen &/ nombredir, path_destino &/ nombredir) 'usamos >> la recursividad >> NEXT >> END >> > For the other people who can't read the above HTML-like mail, try to pipe > it through "sed ':a;$!N;s/\n\?<[^>]*>//;ta;P;D'". There are only a few > places to fix up manually then: > > --8<------------------------------------------------------------------------ > PUBLIC SUB copia_dir(path_origen AS String, path_destino AS String, OPTIONAL tipo as String) > > DIM arDir AS string[] > DIM arFile AS string[] > DIM nombredir, nombrefile AS String > > IF NOT tipo then tipo="*" > IF NOT Exist(path_destino) THEN > MKDIR path_destino > ENDIF > arfile = Dir (path_origen, tipo, gb.file ) 'extraemos los ficheros > FOR EACH nombrefile IN arfile 'los copiamos > COPY path_origen &/ nombrefile TO path_destino &/ nombrefile > NEXT > ardir = Dir (path_origen, "*", gb.Directory) > FOR EACH nombredir IN arDir 'extraemos los subdirectorios > copia_dir(path_origen &/ nombredir, path_destino &/ nombredir) 'usamos la recursividad > NEXT > END > --8<------------------------------------------------------------------------ > > I'm not a fan of adding a new instruction for something that can be done in > just a few lines once and for all. Here is my version[0], even a little > shorter (plus it can copy single files, too): > > --8<------------------------------------------------------------------------ > Public Sub CopyDir(sSrc As String, sDst As String) > Dim sRel As String > > If IsDir(sSrc) Then > Mkdir sDst > For Each sRel In Dir(sSrc) > CopyDir(sSrc &/ sRel, sDst &/ sRel) > Next > Else > Copy sSrc To sDst > Endif > End > --8<------------------------------------------------------------------------ > > And then there is also "cp -r" at your disposal. > > Regards, > Tobi > From jusabejusabe at ...626... Tue Aug 26 09:10:35 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 26 Aug 2014 09:10:35 +0200 Subject: [Gambas-user] Add new command to: Copy directories recursively In-Reply-To: <53FC2771.6040500@...1950...> References: <20140825210437.GC790@...2774...> <53FC2771.6040500@...1950...> Message-ID: Caveat: Yes, that's the idea Regards 2014-08-26 8:21 GMT+02:00 Caveat : > Hello List > > Although there is always "cp -r", it makes for a very unportable program > if you depend on calling external programs. Better to build it in to > the language if it's generally and genuinely useful, or to make a > callable function in some public repository of Gambas code, so people > don't need to reinvent the wheel every time they need a recursive copy. > > Kind regards, > Caveat > > On 25/08/14 23:04, Tobias Boege wrote: > > On Mon, 25 Aug 2014, Julio Sanchez wrote: > >> Hi, could you add a new order within gambas3 to copy directories > >> recursively. > >> > >> Something like this: > >> > >> PUBLIC SUB > >> copia_dir(path_origen AS > >> String > >> , path_destino AS > >> String > >> , OPTIONAL > >> tipo as > >> String > >> ) > >> > >> DIM arDir AS > >> string > >> [] > >> DIM arFile AS > >> string > >> [] > >> DIM nombredir, nombrefile AS > >> String > >> > >> > >> IF NOT > >> tipo then > >> tipo="*" > >> IF NOT > >> Exist > >> (path_destino) THEN > >> > >> MKDIR path_destino > >> ENDIF > >> arfile = Dir (path_origen, > tipo, gb. > >> file ) 'extraemos los > ficheros > >> FOR EACH > >> nombrefile IN > >> arfile 'los copiamos > >> COPY path_origen &/ > >> nombrefile TO path_destino &/ > >> nombrefile > >> NEXT > >> ardir = Dir (path_origen, "*", > gb. > >> Directory) > >> FOR EACH > >> nombredir IN > >> arDir 'extraemos los > subdirectorios > >> copia_dir(path_origen &/ nombredir, path_destino &/ nombredir) > 'usamos > >> la recursividad > >> NEXT > >> END > >> > > For the other people who can't read the above HTML-like mail, try to pipe > > it through "sed ':a;$!N;s/\n\?<[^>]*>//;ta;P;D'". There are only a few > > places to fix up manually then: > > > > > --8<------------------------------------------------------------------------ > > PUBLIC SUB copia_dir(path_origen AS String, path_destino AS String, > OPTIONAL tipo as String) > > > > DIM arDir AS string[] > > DIM arFile AS string[] > > DIM nombredir, nombrefile AS String > > > > IF NOT tipo then tipo="*" > > IF NOT Exist(path_destino) THEN > > MKDIR path_destino > > ENDIF > > arfile = Dir (path_origen, tipo, gb.file ) 'extraemos los ficheros > > FOR EACH nombrefile IN arfile 'los copiamos > > COPY path_origen &/ nombrefile TO path_destino &/ nombrefile > > NEXT > > ardir = Dir (path_origen, "*", gb.Directory) > > FOR EACH nombredir IN arDir 'extraemos los subdirectorios > > copia_dir(path_origen &/ nombredir, path_destino &/ nombredir) > 'usamos la recursividad > > NEXT > > END > > > --8<------------------------------------------------------------------------ > > > > I'm not a fan of adding a new instruction for something that can be done > in > > just a few lines once and for all. Here is my version[0], even a little > > shorter (plus it can copy single files, too): > > > > > --8<------------------------------------------------------------------------ > > Public Sub CopyDir(sSrc As String, sDst As String) > > Dim sRel As String > > > > If IsDir(sSrc) Then > > Mkdir sDst > > For Each sRel In Dir(sSrc) > > CopyDir(sSrc &/ sRel, sDst &/ sRel) > > Next > > Else > > Copy sSrc To sDst > > Endif > > End > > > --8<------------------------------------------------------------------------ > > > > And then there is also "cp -r" at your disposal. > > > > Regards, > > Tobi > > > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Aug 26 09:38:29 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 26 Aug 2014 09:38:29 +0200 Subject: [Gambas-user] Add new command to: Copy directories recursively In-Reply-To: <53FC2771.6040500@...1950...> References: <20140825210437.GC790@...2774...> <53FC2771.6040500@...1950...> Message-ID: <53FC3975.5090204@...1...> Le 26/08/2014 08:21, Caveat a ?crit : > Hello List > > Although there is always "cp -r", it makes for a very unportable program > if you depend on calling external programs. Better to build it in to > the language if it's generally and genuinely useful, or to make a > callable function in some public repository of Gambas code, so people > don't need to reinvent the wheel every time they need a recursive copy. > > Kind regards, > Caveat > If your system does not have a "cp -r" available, then you are running Windows, and Gambas is not available on Windows (unless Nigel Gerrard comes back and finish its work). -- Beno?t Minisini From gambas.fr at ...626... Tue Aug 26 10:35:54 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 26 Aug 2014 10:35:54 +0200 Subject: [Gambas-user] Add new command to: Copy directories recursively In-Reply-To: References: <20140825210437.GC790@...2774...> <53FC2771.6040500@...1950...> Message-ID: But gambas can't copy from a device to a different one Le 26 ao?t 2014 09:11, "Julio Sanchez" a ?crit : > Caveat: > > Yes, that's the idea > > > Regards > > > > 2014-08-26 8:21 GMT+02:00 Caveat : > > > Hello List > > > > Although there is always "cp -r", it makes for a very unportable program > > if you depend on calling external programs. Better to build it in to > > the language if it's generally and genuinely useful, or to make a > > callable function in some public repository of Gambas code, so people > > don't need to reinvent the wheel every time they need a recursive copy. > > > > Kind regards, > > Caveat > > > > On 25/08/14 23:04, Tobias Boege wrote: > > > On Mon, 25 Aug 2014, Julio Sanchez wrote: > > >> Hi, could you add a new order within gambas3 to copy directories > > >> recursively. > > >> > > >> Something like this: > > >> > > >> PUBLIC SUB > > >> copia_dir(path_origen AS > > >> String > > >> , path_destino AS > > >> String > > >> , OPTIONAL > > >> tipo as > > >> String > > >> ) > > >> > > >> DIM arDir AS > > >> string > > >> [] > > >> DIM arFile AS > > >> string > > >> [] > > >> DIM nombredir, nombrefile AS > > >> String > > >> > > >> > > >> IF NOT > > >> tipo then > > >> tipo="*" > > >> IF NOT > > >> Exist > > >> (path_destino) THEN > > >> > > >> MKDIR path_destino > > >> ENDIF > > >> arfile = Dir (path_origen, > > tipo, gb. > > >> file ) 'extraemos los > > ficheros > > >> FOR EACH > > >> nombrefile IN > > >> arfile 'los copiamos > > >> COPY path_origen &/ > > >> nombrefile TO path_destino &/ > > >> nombrefile > > >> NEXT > > >> ardir = Dir (path_origen, "*", > > gb. > > >> Directory) > > >> FOR EACH > > >> nombredir IN > > >> arDir 'extraemos los > > subdirectorios > > >> copia_dir(path_origen &/ nombredir, path_destino &/ > nombredir) > > 'usamos > > >> la recursividad > > >> NEXT > > >> END > > >> > > > For the other people who can't read the above HTML-like mail, try to > pipe > > > it through "sed ':a;$!N;s/\n\?<[^>]*>//;ta;P;D'". There are only a few > > > places to fix up manually then: > > > > > > > > > --8<------------------------------------------------------------------------ > > > PUBLIC SUB copia_dir(path_origen AS String, path_destino AS String, > > OPTIONAL tipo as String) > > > > > > DIM arDir AS string[] > > > DIM arFile AS string[] > > > DIM nombredir, nombrefile AS String > > > > > > IF NOT tipo then tipo="*" > > > IF NOT Exist(path_destino) THEN > > > MKDIR path_destino > > > ENDIF > > > arfile = Dir (path_origen, tipo, gb.file ) 'extraemos los ficheros > > > FOR EACH nombrefile IN arfile 'los copiamos > > > COPY path_origen &/ nombrefile TO path_destino &/ nombrefile > > > NEXT > > > ardir = Dir (path_origen, "*", gb.Directory) > > > FOR EACH nombredir IN arDir 'extraemos los subdirectorios > > > copia_dir(path_origen &/ nombredir, path_destino &/ nombredir) > > 'usamos la recursividad > > > NEXT > > > END > > > > > > --8<------------------------------------------------------------------------ > > > > > > I'm not a fan of adding a new instruction for something that can be > done > > in > > > just a few lines once and for all. Here is my version[0], even a little > > > shorter (plus it can copy single files, too): > > > > > > > > > --8<------------------------------------------------------------------------ > > > Public Sub CopyDir(sSrc As String, sDst As String) > > > Dim sRel As String > > > > > > If IsDir(sSrc) Then > > > Mkdir sDst > > > For Each sRel In Dir(sSrc) > > > CopyDir(sSrc &/ sRel, sDst &/ sRel) > > > Next > > > Else > > > Copy sSrc To sDst > > > Endif > > > End > > > > > > --8<------------------------------------------------------------------------ > > > > > > And then there is also "cp -r" at your disposal. > > > > > > Regards, > > > Tobi > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Slashdot TV. > > Video for Nerds. Stuff that matters. > > http://tv.slashdot.org/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Aug 26 11:28:21 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 26 Aug 2014 09:28:21 +0000 Subject: [Gambas-user] Issue 552 in gambas: httpclient in async mode timeout not working Message-ID: <0-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 552 by r... at ...1740...: httpclient in async mode timeout not working https://code.google.com/p/gambas/issues/detail?id=552 1) Describe the problem. Using httpclient to connect to a non-existing or down url in async mode, it never quits, or at least the TimeOut is ignored not working. If you try to close it (because of program close) the handle stays active with status 6 (connecting) 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.13.0-34-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7953M [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+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Provide a little project that reproduces the bug or the crash. Attached. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. Start example project, make sure ip is not reachable, notice it doesn't stop or give error after timeout of 3 seconds. Also while closing the window, and calling hInit.Stop doesn't stop httpclient request (status 6) 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: If you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! ANOTHER NOTE: Don't create an issue if you have a compilation problem on the development version. Send a mail to the mailing-list instead, thanks. Attachments: HttpClose-0.0.1.tar.gz 5.0 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jscops at ...11... Tue Aug 26 16:59:38 2014 From: jscops at ...11... (Jack) Date: Tue, 26 Aug 2014 16:59:38 +0200 Subject: [Gambas-user] New demo In-Reply-To: References: <20140821213318.GC957@...2774...> Message-ID: <53FCA0DA.50300@...11...> Bonjour ? tous, I continue exploring and learning SDL component. My new demo will show you how to rotate color and how to make a pendulum with Gambas. http://www.gambasforge.org/code-123-road.html -- Cordialement Jack From gambas at ...2524... Tue Aug 26 18:49:53 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 26 Aug 2014 16:49:53 +0000 Subject: [Gambas-user] Issue 553 in gambas: Listbox doesn't show selected items properly Message-ID: <0-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 553 by jussi.la... at ...626...: Listbox doesn't show selected items properly https://code.google.com/p/gambas/issues/detail?id=553 1) Describe the problem. When Listbox is in multiple select mode, it will select multiple items, but graphically only one item is selected. This happens with both GTK+ and Qt4. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-34-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=3953M [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+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Provide a little project that reproduces the bug or the crash. Attached. 5) Explain clearly how to reproduce the bug or the crash. Run the project, used SHIFT and mouse to select multiple items from the ListBox. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Tue Aug 26 19:22:41 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Aug 2014 19:22:41 +0200 Subject: [Gambas-user] Image.Load() from gb.image.io defective? Message-ID: <20140826172241.GF790@...2774...> Hi Benoit, there seems to be a problem with gb.image.io (?) when using Image.Load(): Image.Load(Application.Path &/ ".icon.png") throws "Not enough arguments". I saw this happening in the SDL project Jack just sent to the list (Subject: "New Demo") and the same error is thrown when Window.Screenshot() is used, so I suspect it has something to do with the Image constructor? No problem with gb.qt4 AFAICS. Project attached. I have just reconf-all'd, etc. the latest trunk. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: sdl-image-load-bug-0.0.1.tar.gz Type: application/octet-stream Size: 3811 bytes Desc: not available URL: From gambas at ...1... Tue Aug 26 20:41:51 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 26 Aug 2014 20:41:51 +0200 Subject: [Gambas-user] Image.Load() from gb.image.io defective? In-Reply-To: <20140826172241.GF790@...2774...> References: <20140826172241.GF790@...2774...> Message-ID: <53FCD4EF.7020701@...1...> Le 26/08/2014 19:22, Tobias Boege a ?crit : > Hi Benoit, > > there seems to be a problem with gb.image.io (?) when using Image.Load(): > > Image.Load(Application.Path &/ ".icon.png") > > throws "Not enough arguments". I saw this happening in the SDL project Jack > just sent to the list (Subject: "New Demo") and the same error is thrown > when Window.Screenshot() is used, so I suspect it has something to do with > the Image constructor? No problem with gb.qt4 AFAICS. Project attached. > > I have just reconf-all'd, etc. the latest trunk. > > Regards, > Tobi > No problem there... Strange! -- Beno?t Minisini From gambas at ...2524... Tue Aug 26 20:55:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 26 Aug 2014 18:55:37 +0000 Subject: [Gambas-user] Issue 552 in gambas: httpclient in async mode timeout not working In-Reply-To: <0-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.5.0 Comment #1 on issue 552 by benoit.m... at ...626...: httpclient in async mode timeout not working https://code.google.com/p/gambas/issues/detail?id=552 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Aug 26 20:56:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 26 Aug 2014 18:56:37 +0000 Subject: [Gambas-user] Issue 552 in gambas: httpclient in async mode timeout not working In-Reply-To: <1-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> <0-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 552 by benoit.m... at ...626...: httpclient in async mode timeout not working https://code.google.com/p/gambas/issues/detail?id=552 Fixed in revision #6429. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Aug 26 20:57:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 26 Aug 2014 18:57:37 +0000 Subject: [Gambas-user] Issue 553 in gambas: Listbox doesn't show selected items properly In-Reply-To: <0-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> Comment #1 on issue 553 by benoit.m... at ...626...: Listbox doesn't show selected items properly https://code.google.com/p/gambas/issues/detail?id=553 Where is the project? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Aug 26 20:58:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 26 Aug 2014 18:58:37 +0000 Subject: [Gambas-user] Issue 553 in gambas: Listbox doesn't show selected items properly In-Reply-To: <1-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> <0-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> Comment #2 on issue 553 by jussi.la... at ...626...: Listbox doesn't show selected items properly https://code.google.com/p/gambas/issues/detail?id=553 Damn, apparently I forgot it. Here. Attachments: ListBoxBug-0.0.1.tar.gz 3.9 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jscops at ...11... Tue Aug 26 21:00:46 2014 From: jscops at ...11... (Jack) Date: Tue, 26 Aug 2014 21:00:46 +0200 Subject: [Gambas-user] Image.Load() from gb.image.io defective? In-Reply-To: <53FCD4EF.7020701@...1...> References: <20140826172241.GF790@...2774...> <53FCD4EF.7020701@...1...> Message-ID: <53FCD95E.5010103@...11...> Le 26/08/2014 20:41, Beno?t Minisini a ?crit : > Le 26/08/2014 19:22, Tobias Boege a ?crit : >> Hi Benoit, >> >> there seems to be a problem with gb.image.io (?) when using Image.Load(): >> >> Image.Load(Application.Path &/ ".icon.png") >> >> throws "Not enough arguments". I saw this happening in the SDL project Jack >> just sent to the list (Subject: "New Demo") and the same error is thrown >> when Window.Screenshot() is used, so I suspect it has something to do with >> the Image constructor? No problem with gb.qt4 AFAICS. Project attached. >> >> I have just reconf-all'd, etc. the latest trunk. >> >> Regards, >> Tobi >> > > No problem there... Strange! > Hi Tobias, what is your version of Gambas ? You must have the development version because this program uses the latest features. -- Cordialement Jack From jscops at ...11... Tue Aug 26 21:12:18 2014 From: jscops at ...11... (Jack) Date: Tue, 26 Aug 2014 21:12:18 +0200 Subject: [Gambas-user] Image.Load() from gb.image.io defective? In-Reply-To: <20140826172241.GF790@...2774...> References: <20140826172241.GF790@...2774...> Message-ID: <53FCDC12.6060700@...11...> Le 26/08/2014 19:22, Tobias Boege a ?crit : > Hi Benoit, > > there seems to be a problem with gb.image.io (?) when using Image.Load(): > > Image.Load(Application.Path &/ ".icon.png") > > throws "Not enough arguments". I saw this happening in the SDL project Jack > just sent to the list (Subject: "New Demo") and the same error is thrown > when Window.Screenshot() is used, so I suspect it has something to do with > the Image constructor? No problem with gb.qt4 AFAICS. Project attached. > > I have just reconf-all'd, etc. the latest trunk. I looked at your code you should do like this: Dim hWnd As New Window Dim img As Image Image.Load (Application.Path & / ".icon.png") Img = HWnd.Screenshot() img = img.Copy (0, 0, Img.width, Img.height) -- Cordialement Jack From taboege at ...626... Tue Aug 26 21:11:35 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Aug 2014 21:11:35 +0200 Subject: [Gambas-user] Image.Load() from gb.image.io defective? In-Reply-To: <53FCD95E.5010103@...11...> References: <20140826172241.GF790@...2774...> <53FCD4EF.7020701@...1...> <53FCD95E.5010103@...11...> Message-ID: <20140826191135.GH790@...2774...> On Tue, 26 Aug 2014, Jack wrote: > Le 26/08/2014 20:41, Beno?t Minisini a ?crit : > > Le 26/08/2014 19:22, Tobias Boege a ?crit : > >> Hi Benoit, > >> > >> there seems to be a problem with gb.image.io (?) when using Image.Load(): > >> > >> Image.Load(Application.Path &/ ".icon.png") > >> > >> throws "Not enough arguments". I saw this happening in the SDL project Jack > >> just sent to the list (Subject: "New Demo") and the same error is thrown > >> when Window.Screenshot() is used, so I suspect it has something to do with > >> the Image constructor? No problem with gb.qt4 AFAICS. Project attached. > >> > >> I have just reconf-all'd, etc. the latest trunk. > >> > >> Regards, > >> Tobi > >> > > > > No problem there... Strange! > > > Hi Tobias, > > what is your version of Gambas ? You must have the development version > because this program uses the latest features. > As I said above, it is the latest trunk. I ran gdb on gbx3 to see from where it gets to _exit() and the path is really strange. I will try to recompile the source tree with "make -j1" instead of "-j5"... -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Aug 26 21:17:22 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Aug 2014 21:17:22 +0200 Subject: [Gambas-user] Image.Load() from gb.image.io defective? In-Reply-To: <53FCDC12.6060700@...11...> References: <20140826172241.GF790@...2774...> <53FCDC12.6060700@...11...> Message-ID: <20140826191722.GI790@...2774...> On Tue, 26 Aug 2014, Jack wrote: > Le 26/08/2014 19:22, Tobias Boege a ?crit : > > Hi Benoit, > > > > there seems to be a problem with gb.image.io (?) when using Image.Load(): > > > > Image.Load(Application.Path &/ ".icon.png") > > > > throws "Not enough arguments". I saw this happening in the SDL project Jack > > just sent to the list (Subject: "New Demo") and the same error is thrown > > when Window.Screenshot() is used, so I suspect it has something to do with > > the Image constructor? No problem with gb.qt4 AFAICS. Project attached. > > > > I have just reconf-all'd, etc. the latest trunk. > > I looked at your code > you should do like this: > > Dim hWnd As New Window > Dim img As Image > Image.Load (Application.Path & / ".icon.png") > Img = HWnd.Screenshot() > img = img.Copy (0, 0, Img.width, Img.height) > Do you get the point of my mail? As soon as the interpreter reaches the Image.Load() line, it crashes with an error message "Not enought arguments". This is an anomaly and has nothing to do with properly copying images. In fact, the program doesn't even run until the hWnd.Screenshot() line. I included it to show that the problem with the spurious "Not enough arguments" error also occurs with the Screenshot() method, and not only with Image.Load(). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jscops at ...11... Tue Aug 26 21:33:26 2014 From: jscops at ...11... (Jack) Date: Tue, 26 Aug 2014 21:33:26 +0200 Subject: [Gambas-user] Image.Load() from gb.image.io defective? In-Reply-To: <20140826191722.GI790@...2774...> References: <20140826172241.GF790@...2774...> <53FCDC12.6060700@...11...> <20140826191722.GI790@...2774...> Message-ID: <53FCE106.2090600@...11...> Le 26/08/2014 21:17, Tobias Boege a ?crit : > On Tue, 26 Aug 2014, Jack wrote: >> Le 26/08/2014 19:22, Tobias Boege a ?crit : >>> Hi Benoit, >>> >>> there seems to be a problem with gb.image.io (?) when using Image.Load(): >>> >>> Image.Load(Application.Path &/ ".icon.png") >>> >>> throws "Not enough arguments". I saw this happening in the SDL project Jack >>> just sent to the list (Subject: "New Demo") and the same error is thrown >>> when Window.Screenshot() is used, so I suspect it has something to do with >>> the Image constructor? No problem with gb.qt4 AFAICS. Project attached. >>> >>> I have just reconf-all'd, etc. the latest trunk. >> >> I looked at your code >> you should do like this: >> >> Dim hWnd As New Window >> Dim img As Image >> Image.Load (Application.Path & / ".icon.png") >> Img = HWnd.Screenshot() >> img = img.Copy (0, 0, Img.width, Img.height) >> > > Do you get the point of my mail? > > As soon as the interpreter reaches the Image.Load() line, it crashes with > an error message "Not enought arguments". This is an anomaly and has > nothing to do with properly copying images. > > In fact, the program doesn't even run until the hWnd.Screenshot() line. I > included it to show that the problem with the spurious "Not enough > arguments" error also occurs with the Screenshot() method, and not only > with Image.Load(). > > Regards, > Tobi > excuse me Tobias but I do not speak a very good English. I do not understand your problem because with the development version r6389 I do not have this error with your code. -- Cordialement Jack From taboege at ...626... Tue Aug 26 21:47:04 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Aug 2014 21:47:04 +0200 Subject: [Gambas-user] Image.Load() from gb.image.io defective? In-Reply-To: <53FCE106.2090600@...11...> References: <20140826172241.GF790@...2774...> <53FCDC12.6060700@...11...> <20140826191722.GI790@...2774...> <53FCE106.2090600@...11...> Message-ID: <20140826194704.GJ790@...2774...> On Tue, 26 Aug 2014, Jack wrote: > Le 26/08/2014 21:17, Tobias Boege a ?crit : > > On Tue, 26 Aug 2014, Jack wrote: > >> Le 26/08/2014 19:22, Tobias Boege a ?crit : > >>> Hi Benoit, > >>> > >>> there seems to be a problem with gb.image.io (?) when using Image.Load(): > >>> > >>> Image.Load(Application.Path &/ ".icon.png") > >>> > >>> throws "Not enough arguments". I saw this happening in the SDL project Jack > >>> just sent to the list (Subject: "New Demo") and the same error is thrown > >>> when Window.Screenshot() is used, so I suspect it has something to do with > >>> the Image constructor? No problem with gb.qt4 AFAICS. Project attached. > >>> > >>> I have just reconf-all'd, etc. the latest trunk. > >> > >> I looked at your code > >> you should do like this: > >> > >> Dim hWnd As New Window > >> Dim img As Image > >> Image.Load (Application.Path & / ".icon.png") > >> Img = HWnd.Screenshot() > >> img = img.Copy (0, 0, Img.width, Img.height) > >> > > > > Do you get the point of my mail? > > > > As soon as the interpreter reaches the Image.Load() line, it crashes with > > an error message "Not enought arguments". This is an anomaly and has > > nothing to do with properly copying images. > > > > In fact, the program doesn't even run until the hWnd.Screenshot() line. I > > included it to show that the problem with the spurious "Not enough > > arguments" error also occurs with the Screenshot() method, and not only > > with Image.Load(). > > > > Regards, > > Tobi > > > > > excuse me Tobias but I do not speak a very good English. > I do not understand your problem because with the development version > r6389 I do not have this error with your code. > Yes, and this is the problem. I am using #6428 as most likely Benoit does. And I get the error (even with -O0 and single-job make'ing) and both of you do not... It's very strange. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Aug 26 22:03:40 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Aug 2014 22:03:40 +0200 Subject: [Gambas-user] Image.Load() from gb.image.io defective? In-Reply-To: <53FCD4EF.7020701@...1...> References: <20140826172241.GF790@...2774...> <53FCD4EF.7020701@...1...> Message-ID: <20140826200340.GK790@...2774...> On Tue, 26 Aug 2014, Beno?t Minisini wrote: > Le 26/08/2014 19:22, Tobias Boege a ?crit : > > Hi Benoit, > > > > there seems to be a problem with gb.image.io (?) when using Image.Load(): > > > > Image.Load(Application.Path &/ ".icon.png") > > > > throws "Not enough arguments". I saw this happening in the SDL project Jack > > just sent to the list (Subject: "New Demo") and the same error is thrown > > when Window.Screenshot() is used, so I suspect it has something to do with > > the Image constructor? No problem with gb.qt4 AFAICS. Project attached. > > > > I have just reconf-all'd, etc. the latest trunk. > > > > Regards, > > Tobi > > > > No problem there... Strange! > I'm so sorry. I had a custom patch applied to gb.sdl's Cimage.cpp which interfered with image creation of gb.image.io. No problem in the official Gambas! Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at ...626... Wed Aug 27 00:15:09 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 27 Aug 2014 01:15:09 +0300 Subject: [Gambas-user] Pictures on buttons doesn't work correctly anymore Message-ID: Something went wrong between revision 6426 and 6429. Or at least my previously working code stopped to work. See attachment. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-34-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=3953M [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+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: PicBug-0.0.1.tar.gz Type: application/x-gzip Size: 4219 bytes Desc: not available URL: From gambas at ...1... Wed Aug 27 13:01:33 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 27 Aug 2014 13:01:33 +0200 Subject: [Gambas-user] Pictures on buttons doesn't work correctly anymore In-Reply-To: References: Message-ID: <53FDBA8D.8010803@...1...> Le 27/08/2014 00:15, Jussi Lahtinen a ?crit : > Something went wrong between revision 6426 and 6429. Or at least my > previously working code stopped to work. See attachment. > > [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.13.0-34-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.1 LTS > Desktop=XFCE > Theme=QGtk > Language=en_US.UTF-8 > Memory=3953M > [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+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > Jussi > Picture do not support transparent color. It's just that Color.Transparent was a fully transparent white, and is now a fully transparent black (for sanity reason: fully transparent black is 0 in memory, whereas fully transparent white is &H00FFFFFF&). Regards, -- Beno?t Minisini From gambas at ...1... Wed Aug 27 15:05:55 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 27 Aug 2014 15:05:55 +0200 Subject: [Gambas-user] Gambas and image pixel format management Message-ID: <53FDD7B3.2060309@...1...> Hi, I have written a little article on Gambas image pixel format management: http://gambaswiki.org/wiki/doc/imageconv If you read it, tell me what you think and if you have questions. @Randall: Feel free to use this article for your magazine, and don't hesitate to give suggestions or enhancements. Regards, -- Beno?t Minisini From abbat.81 at ...787... Wed Aug 27 15:09:19 2014 From: abbat.81 at ...787... (abbat81) Date: Wed, 27 Aug 2014 06:09:19 -0700 (PDT) Subject: [Gambas-user] DrawingArea to Picture or Image Message-ID: <1409144959753-47850.post@...3046...> Hi, I tried to use BarCode Example to make a picture or image with barcode. But I can't do it Can you help me? Thanks. Public Sub Button1_Click() Dim hPicture As New Picture(DrawingArea1.W, DrawingArea1.H) PictureBox1.Picture = hPicture End -- View this message in context: http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Wed Aug 27 15:38:49 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 27 Aug 2014 16:38:49 +0300 Subject: [Gambas-user] Pictures on buttons doesn't work correctly anymore In-Reply-To: <53FDBA8D.8010803@...1...> References: <53FDBA8D.8010803@...1...> Message-ID: > Picture do not support transparent color. It's just that > Color.Transparent was a fully transparent white, and is now a fully > transparent black (for sanity reason: fully transparent black is 0 in > memory, whereas fully transparent white is &H00FFFFFF&). > This is really strange, since the code has worked for years! I guess I can just set the background color to same as button background color... Jussi From taboege at ...626... Wed Aug 27 15:38:27 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 27 Aug 2014 15:38:27 +0200 Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: <1409144959753-47850.post@...3046...> References: <1409144959753-47850.post@...3046...> Message-ID: <20140827133827.GA1260@...2774...> On Wed, 27 Aug 2014, abbat81 wrote: > Hi, > > I tried to use BarCode Example to make a picture or image with barcode. > But I can't do it > > Can you help me? > >From all the questions which occur regularly on this list, I think this one is my favourite. Look at the archives: [0]. There is also confirmation from Benoit[1] that the suggested method is a Good One(TM). Sadly the thread is broken up into two parts in the archives. Regards, Tobi [0] http://sourceforge.net/p/gambas/mailman/message/32083180/ [1] http://sourceforge.net/p/gambas/mailman/message/32083562/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at ...626... Wed Aug 27 15:58:05 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 27 Aug 2014 16:58:05 +0300 Subject: [Gambas-user] Pictures on buttons doesn't work correctly anymore In-Reply-To: References: <53FDBA8D.8010803@...1...> Message-ID: ... except I lose the highlighting when mouse cursor is on the button. Looks unresponsive. I don't understand the issue. Since I can use Draw.Picture(MyTransparentPic, 0, 0) to draw transparent pictures correctly on other pictures, but not on button faces. What is the difference? Jussi On Wed, Aug 27, 2014 at 4:38 PM, Jussi Lahtinen wrote: > > Picture do not support transparent color. It's just that >> Color.Transparent was a fully transparent white, and is now a fully >> transparent black (for sanity reason: fully transparent black is 0 in >> memory, whereas fully transparent white is &H00FFFFFF&). >> > > This is really strange, since the code has worked for years! > I guess I can just set the background color to same as button background > color... > > > Jussi > > From abbat.81 at ...787... Wed Aug 27 16:07:18 2014 From: abbat.81 at ...787... (abbat81) Date: Wed, 27 Aug 2014 07:07:18 -0700 (PDT) Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: <20140827133827.GA1260@...2774...> References: <1409144959753-47850.post@...3046...> <20140827133827.GA1260@...2774...> Message-ID: <1409148438942-47854.post@...3046...> Thank you Tobi, But I could not understand it. Can you tell what to add to BarCode Example to reprint drawingarea image/picture to PictureBox1? Thaks in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47854.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Wed Aug 27 16:35:58 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 27 Aug 2014 16:35:58 +0200 Subject: [Gambas-user] Pictures on buttons doesn't work correctly anymore In-Reply-To: References: <53FDBA8D.8010803@...1...> <53FDE77E.1010605@...1...> Message-ID: <53FDECCE.90503@...1...> Le 27/08/2014 16:26, Jussi Lahtinen a ?crit : > > You are not drawing on button face! You are drawing inside a picture > that you have filling with Color.Transparent. > > > OK, understood. > > Picture are always opaque, but can have a mask. Then we are talking > about "transparent" picture, but they are not really transparent. > > > OK, this was my confusion. Also picture property name makes this > confusion, property "transparent" should be "mask"... unless in future > they will serve same purpose. > > > By filling the opaque picture with Color.Transparent, you are > actually filling it with the opaque color represented by the three > lower bytes of Color.Transparent, which was FFFFFF (white) before > and now is 000000 (black). > > So you were just putting a white image with a black circle inside > before, and now with a black image with a black circle inside. > > > OK, I understand now. Is there way to define the mask for picture via > Gambas? Example to use certain color as mask? > If you want to forge your own button picture, don't use a Picture! Just use an Image, and transform it into a Picture the later possible, i.e. when you want to assign the image to the button. Dim hImage As Image hImage = new Image(...) Paint.Begin(hImage) ' Or Draw.Begin() for the old deprecated API ... Paint.End MyButton.Picture = hImage.Picture Regards, -- Beno?t Minisini From taboege at ...626... Wed Aug 27 16:43:00 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 27 Aug 2014 16:43:00 +0200 Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: <1409148438942-47854.post@...3046...> References: <1409144959753-47850.post@...3046...> <20140827133827.GA1260@...2774...> <1409148438942-47854.post@...3046...> Message-ID: <20140827144300.GB1260@...2774...> On Wed, 27 Aug 2014, abbat81 wrote: > Thank you Tobi, > > But I could not understand it. > > Can you tell what to add to BarCode Example to reprint drawingarea > image/picture to PictureBox1? > This example is really messy (e.g. it assumes the drawing device is large enough to contain the barcode which it prints by scaling the arguments it was giving with seemingly arbitrary constants). If I had an afternoon to spend learning about barcodes and what widths and heights they can assume I would do it -- but I haven't. Sorry, you are on your own here (or at least not on me). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at ...626... Wed Aug 27 16:49:48 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 27 Aug 2014 17:49:48 +0300 Subject: [Gambas-user] Pictures on buttons doesn't work correctly anymore In-Reply-To: <53FDECCE.90503@...1...> References: <53FDBA8D.8010803@...1...> <53FDE77E.1010605@...1...> <53FDECCE.90503@...1...> Message-ID: OK, that solved the problem! The mask is correct again... despite of the fact it shouldn't be in the first place! Thanks! Jussi On Wed, Aug 27, 2014 at 5:35 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 27/08/2014 16:26, Jussi Lahtinen a ?crit : > > >> You are not drawing on button face! You are drawing inside a picture >> that you have filling with Color.Transparent. >> >> >> OK, understood. >> >> Picture are always opaque, but can have a mask. Then we are talking >> about "transparent" picture, but they are not really transparent. >> >> >> OK, this was my confusion. Also picture property name makes this >> confusion, property "transparent" should be "mask"... unless in future >> they will serve same purpose. >> >> >> By filling the opaque picture with Color.Transparent, you are >> actually filling it with the opaque color represented by the three >> lower bytes of Color.Transparent, which was FFFFFF (white) before >> and now is 000000 (black). >> >> So you were just putting a white image with a black circle inside >> before, and now with a black image with a black circle inside. >> >> >> OK, I understand now. Is there way to define the mask for picture via >> Gambas? Example to use certain color as mask? >> >> > If you want to forge your own button picture, don't use a Picture! Just > use an Image, and transform it into a Picture the later possible, i.e. when > you want to assign the image to the button. > > Dim hImage As Image > > hImage = new Image(...) > Paint.Begin(hImage) ' Or Draw.Begin() for the old deprecated API > ... > Paint.End > > MyButton.Picture = hImage.Picture > > Regards, > > -- > Beno?t Minisini > From jussi.lahtinen at ...626... Wed Aug 27 16:55:45 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 27 Aug 2014 17:55:45 +0300 Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: <1409148438942-47854.post@...3046...> References: <1409144959753-47850.post@...3046...> <20140827133827.GA1260@...2774...> <1409148438942-47854.post@...3046...> Message-ID: I think just change this: 'Draw.Begin(DrawingArea1) Draw.Clear modCrBcode.PrintBarcode(txtBarcode.Text, Val(txtPosX.text), Val(txtPosY.text), Val(txtHeight.text), Val(txtWidth.text), True) 'Draw.End() To: Draw.Begin(PictureBox1) Draw.Clear modCrBcode.PrintBarcode(txtBarcode.Text, Val(txtPosX.text), Val(txtPosY.text), Val(txtHeight.text), Val(txtWidth.text), True) Draw.End() Jussi On Wed, Aug 27, 2014 at 5:07 PM, abbat81 wrote: > Thank you Tobi, > > But I could not understand it. > > Can you tell what to add to BarCode Example to reprint drawingarea > image/picture to PictureBox1? > > Thaks in advance. > > > > > > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47854.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From laborde at ...3371... Wed Aug 27 18:19:55 2014 From: laborde at ...3371... (=?ISO-8859-1?Q?Joan_Luc=EC_Lab=F2rda?=) Date: Wed, 27 Aug 2014 18:19:55 +0200 Subject: [Gambas-user] gambas autoconf fails Message-ID: <53FE052B.3060704@...3371...> Hi all Being using Fedora 19, i try to install Gambas 3.5.4 from the sources then i need to run autoconf and that fail with these errors : [joanluc at ...3372... main]$ autoconf /usr/bin/m4:aclocal.m4:1187: cannot open `m4/libtool.m4': No such file or directory /usr/bin/m4:aclocal.m4:1188: cannot open `m4/ltdl.m4': No such file or directory /usr/bin/m4:aclocal.m4:1189: cannot open `m4/ltoptions.m4': No such file or directory /usr/bin/m4:aclocal.m4:1190: cannot open `m4/ltsugar.m4': No such file or directory /usr/bin/m4:aclocal.m4:1191: cannot open `m4/ltversion.m4': No such file or directory /usr/bin/m4:aclocal.m4:1192: cannot open `m4/lt~obsolete.m4': No such file or directory autom4te: /usr/bin/m4 failed with exit status: 1 It seems these files are not in the tar.bz2 source i just have downloaded. Do you know where i could find them ? -- Jean-Luc LABORDE laborde at ...3371... Service Informatique CRPP 05.5684.3013 Correspondant Formation From taboege at ...626... Wed Aug 27 18:54:01 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 27 Aug 2014 18:54:01 +0200 Subject: [Gambas-user] gambas autoconf fails In-Reply-To: <53FE052B.3060704@...3371...> References: <53FE052B.3060704@...3371...> Message-ID: <20140827165401.GC1260@...2774...> On Wed, 27 Aug 2014, Joan Luc? Lab?rda wrote: > Hi all > > Being using Fedora 19, i try to install Gambas 3.5.4 from the sources > then i need to run autoconf and that fail with these errors : > > [joanluc at ...3372... main]$ autoconf > /usr/bin/m4:aclocal.m4:1187: cannot open `m4/libtool.m4': No such > file or directory > /usr/bin/m4:aclocal.m4:1188: cannot open `m4/ltdl.m4': No such file > or directory > /usr/bin/m4:aclocal.m4:1189: cannot open `m4/ltoptions.m4': No such > file or directory > /usr/bin/m4:aclocal.m4:1190: cannot open `m4/ltsugar.m4': No such > file or directory > /usr/bin/m4:aclocal.m4:1191: cannot open `m4/ltversion.m4': No such > file or directory > /usr/bin/m4:aclocal.m4:1192: cannot open `m4/lt~obsolete.m4': No > such file or directory > autom4te: /usr/bin/m4 failed with exit status: 1 > > It seems these files are not in the tar.bz2 source i just have > downloaded. Do you know where i could find them ? > They are in the m4 directory in the project root. However, you shouldn't need to know that. Just follow the procedure advised in the online docs[0]: $ # Go to the project root directory $ ./reconf-all && ./configure && make $ # Get root, whatever way you do that on Fedora... # make install Regards, Tobi [0] http://gambaswiki.org/wiki/install -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From kevinfishburne at ...1887... Wed Aug 27 20:50:16 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 27 Aug 2014 14:50:16 -0400 Subject: [Gambas-user] Gambas and image pixel format management In-Reply-To: <53FDD7B3.2060309@...1...> References: <53FDD7B3.2060309@...1...> Message-ID: <53FE2868.1090000@...1887...> On 08/27/2014 09:05 AM, Beno?t Minisini wrote: > Hi, > > I have written a little article on Gambas image pixel format management: > > http://gambaswiki.org/wiki/doc/imageconv > > If you read it, tell me what you think and if you have questions. > > @Randall: Feel free to use this article for your magazine, and don't > hesitate to give suggestions or enhancements. > > Regards, > Well written and easy to understand; nice job. Only one grammatical error that I can find. The phrase " so maybe there could be faster" should be "so maybe they could be faster". Documentation like this is extremely useful...the more the better. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From ron at ...1740... Wed Aug 27 20:34:47 2014 From: ron at ...1740... (Ron) Date: Wed, 27 Aug 2014 20:34:47 +0200 Subject: [Gambas-user] Issue 552 in gambas: httpclient in async mode timeout not working In-Reply-To: <2-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> <1-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> <2-6813199134517018827-10164080143988926679-gambas=googlecode.com@...2524...> Message-ID: Benoit, Tested it just now, and got this after the configured timeout (3 secs in this case) 2014/08/27 20:31:44 [Plugin] RaZberry Z-Wave, Instance #1 enabled. 2014/08/27 20:31:44 [RaZberry] RaZberry Z-Wave initializing. 2014/08/27 20:31:47 [RaZberry] ERROR: Operation Timeout (-1028). So looks fine to me, thanks! Backport possible? Code change is very minimal... Regards, Rob, 2014-08-26 20:56 GMT+02:00 : > Updates: > Status: Fixed > > Comment #2 on issue 552 by benoit.m... at ...626...: httpclient in async mode > timeout not working > https://code.google.com/p/gambas/issues/detail?id=552 > > Fixed in revision #6429. > > -- > You received this message because this project is configured to send all > issue notifications to this address. > You may adjust your notification preferences at: > https://code.google.com/hosting/settings > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Aug 28 01:11:47 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 28 Aug 2014 01:11:47 +0200 Subject: [Gambas-user] GridView not setting Row & Column on right-click Menu event In-Reply-To: <1407364982002-47692.post@...3046...> References: <1407364982002-47692.post@...3046...> Message-ID: <53FE65B3.3090101@...1...> Le 07/08/2014 00:43, DaveOxford1 a ?crit : > Hi All > > When right-clicking on a GridView, .Row and .Column are not set to the > values for the new cell in the Menu event (as they in the Click event for a > left-click). > > Is this a bug or the intended behaviour? > > If it /is/ the intended behaviour, how can I ascertain the Row and Column > values? > > Hope someone can help! > > Dave > Gambas 3.5.3, qt4, on crunchbang waldorf. > It is actually the intended behaviour: the current cell is changed only when clicking with the left button. Maybe it should be configurable, I don't know... Anyway, you can use the solutions provided in the other answers to your post. Regards, -- Beno?t Minisini From gambas at ...2524... Thu Aug 28 02:16:44 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 28 Aug 2014 00:16:44 +0000 Subject: [Gambas-user] Issue 550 in gambas: IconView can't right click menu with multiple select In-Reply-To: <1-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> <0-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version-TRUNK Version-3.5.0 Comment #2 on issue 550 by benoit.m... at ...626...: IconView can't right click menu with multiple select https://code.google.com/p/gambas/issues/detail?id=550 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Aug 28 02:17:44 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 28 Aug 2014 00:17:44 +0000 Subject: [Gambas-user] Issue 550 in gambas: IconView can't right click menu with multiple select In-Reply-To: <2-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> <0-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> Comment #3 on issue 550 by benoit.m... at ...626...: IconView can't right click menu with multiple select https://code.google.com/p/gambas/issues/detail?id=550 Fixed in revision #6432. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Aug 28 02:42:30 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 28 Aug 2014 00:42:30 +0000 Subject: [Gambas-user] Issue 553 in gambas: Listbox doesn't show selected items properly In-Reply-To: <2-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> <0-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-2199914328063831035-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version-TRUNK Version-3.5.0 Comment #3 on issue 553 by benoit.m... at ...626...: Listbox doesn't show selected items properly https://code.google.com/p/gambas/issues/detail?id=553 Fixed in revision #6433. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Aug 28 02:43:30 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 28 Aug 2014 00:43:30 +0000 Subject: [Gambas-user] Issue 550 in gambas: IconView can't right click menu with multiple select In-Reply-To: <3-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> <0-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-11676158684362461305-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 550 by benoit.m... at ...626...: IconView can't right click menu with multiple select https://code.google.com/p/gambas/issues/detail?id=550 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Aug 28 02:45:01 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 28 Aug 2014 00:45:01 +0000 Subject: [Gambas-user] Issue 253 in gambas: GTK++ toolkit only In-Reply-To: <15-6813199134517018827-16987846535652209861-gambas=googlecode.com@...2524...> References: <15-6813199134517018827-16987846535652209861-gambas=googlecode.com@...2524...> <0-6813199134517018827-16987846535652209861-gambas=googlecode.com@...2524...> Message-ID: <16-6813199134517018827-16987846535652209861-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #16 on issue 253 by benoit.m... at ...626...: GTK++ toolkit only https://code.google.com/p/gambas/issues/detail?id=253 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Aug 28 02:46:01 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 28 Aug 2014 00:46:01 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <11-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <11-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <12-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Updates: Labels: Type-Bug Comment #12 on issue 537 by benoit.m... at ...626...: (Exec - for Read Write As "Process") Don't work https://code.google.com/p/gambas/issues/detail?id=537 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From abbat.81 at ...787... Thu Aug 28 12:48:26 2014 From: abbat.81 at ...787... (abbat81) Date: Thu, 28 Aug 2014 03:48:26 -0700 (PDT) Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: References: <1409144959753-47850.post@...3046...> <20140827133827.GA1260@...2774...> <1409148438942-47854.post@...3046...> Message-ID: <1409222906208-47874.post@...3046...> Hi Jussi, Draw.Begin(PictureBox1) -> Not a printable object Draw.Begin(PictureBox1.Picture) -> Null Object Any idea? Thanks for reply. -- View this message in context: http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47874.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Thu Aug 28 13:55:01 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 28 Aug 2014 14:55:01 +0300 Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: <1409222906208-47874.post@...3046...> References: <1409144959753-47850.post@...3046...> <20140827133827.GA1260@...2774...> <1409148438942-47854.post@...3046...> <1409222906208-47874.post@...3046...> Message-ID: It seems picture of PictureBox doesn't like to be drew on. Not sure why, but we have DrawingArea for that purpose... Anyway, here is proper way (this didn't work?): Dim tmp As New Picture(DrawingArea1.Width, DrawingArea1.Height) If Not bPrinter Then Draw.Begin(tmp) Draw.Clear modCrBcode.PrintBarcode(txtBarcode.Text, Val(txtPosX.text), Val(txtPosY.text), Val(txtHeight.text), Val(txtWidth.text), True) Draw.End() PictureBox1.Picture = tmp ... If you want the barcode also into drawingarea add this: Draw.Picture(tmp, 0, 0) Jussi On Thu, Aug 28, 2014 at 1:48 PM, abbat81 wrote: > Hi Jussi, > > Draw.Begin(PictureBox1) -> Not a printable object > > Draw.Begin(PictureBox1.Picture) -> Null Object > > > > Any idea? > > Thanks for reply. > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47874.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Aug 28 14:42:23 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 28 Aug 2014 14:42:23 +0200 Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: References: <1409144959753-47850.post@...3046...> <20140827133827.GA1260@...2774...> <1409148438942-47854.post@...3046...> <1409222906208-47874.post@...3046...> Message-ID: <53FF23AF.6070501@...1...> Le 28/08/2014 13:55, Jussi Lahtinen a ?crit : > It seems picture of PictureBox doesn't like to be drew on. Not sure why, The Picture property is NULL by default: it just owns a reference to a Picture object you must create by yourself! -- Beno?t Minisini From jussi.lahtinen at ...626... Thu Aug 28 16:38:53 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 28 Aug 2014 17:38:53 +0300 Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: <53FF23AF.6070501@...1...> References: <1409144959753-47850.post@...3046...> <20140827133827.GA1260@...2774...> <1409148438942-47854.post@...3046...> <1409222906208-47874.post@...3046...> <53FF23AF.6070501@...1...> Message-ID: > > It seems picture of PictureBox doesn't like to be drew on. Not sure why, > > The Picture property is NULL by default: it just owns a reference to a > Picture object you must create by yourself! > I noticed that and it wasn't the problem. This was the code I tried: PictureBox1.Picture = New Picture(DrawingArea1.Width, DrawingArea1.Height) Draw.Begin(PictureBox1.Picture) The problems was apparent memory corruption, ie the picture was a mess (or it became a mess when window was moved). See attachment. Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: Barcode_mangled-3.5.90.tar.gz Type: application/x-gzip Size: 11945 bytes Desc: not available URL: From gambas.fr at ...626... Thu Aug 28 17:31:20 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 28 Aug 2014 17:31:20 +0200 Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: References: <1409144959753-47850.post@...3046...> <20140827133827.GA1260@...2774...> <1409148438942-47854.post@...3046...> <1409222906208-47874.post@...3046...> <53FF23AF.6070501@...1...> Message-ID: Because you must to set explicitelly the background color. Picture =new picture(w,h,gb.transparent) Le 28 ao?t 2014 16:40, "Jussi Lahtinen" a ?crit : > > > It seems picture of PictureBox doesn't like to be drew on. Not sure > why, > > > > The Picture property is NULL by default: it just owns a reference to a > > Picture object you must create by yourself! > > > > I noticed that and it wasn't the problem. This was the code I tried: > > PictureBox1.Picture = New Picture(DrawingArea1.Width, DrawingArea1.Height) > Draw.Begin(PictureBox1.Picture) > > The problems was apparent memory corruption, ie the picture was a mess (or > it became a mess when window was moved). See attachment. > > > Jussi > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From jussi.lahtinen at ...626... Thu Aug 28 18:30:39 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 28 Aug 2014 19:30:39 +0300 Subject: [Gambas-user] DrawingArea to Picture or Image In-Reply-To: References: <1409144959753-47850.post@...3046...> <20140827133827.GA1260@...2774...> <1409148438942-47854.post@...3046...> <1409222906208-47874.post@...3046...> <53FF23AF.6070501@...1...> Message-ID: > Because you must to set explicitelly the background color. > > Picture =new picture(w,h,gb.transparent) > Ummm... no. There argument is boolean type for mask, and it doesn't change the issue. Even if you do it correctly; PictureBox1.Picture.Fill(Color.White) , it doesn't fix the limitation Benoit described. Jussi From kevinfishburne at ...1887... Thu Aug 28 21:53:56 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 28 Aug 2014 15:53:56 -0400 Subject: [Gambas-user] accessing "embedded" project files from Shell command Message-ID: <53FF88D4.9050101@...1887...> When you store data files in the project directory and compile the program those files are contained within the resulting .gambas executable. From within the program they can be accessed as though they were in the current directory. Is it possible to access (read only) those files using a command executed by Shell? For example: Shell "cat ./FileInProject" I'm making a very simple SoundFont previewer that calls fluidsynth with the passed SoundFont and a MIDI file embedded in the project/executable. I could load the embedded file then write it to the user's /tmp directory and pass that to fluidsynth, but won't if I don't have to. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Thu Aug 28 22:01:28 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 28 Aug 2014 22:01:28 +0200 Subject: [Gambas-user] accessing "embedded" project files from Shell command In-Reply-To: <53FF88D4.9050101@...1887...> References: <53FF88D4.9050101@...1887...> Message-ID: <53FF8A98.9020201@...1...> Le 28/08/2014 21:53, Kevin Fishburne a ?crit : > When you store data files in the project directory and compile the > program those files are contained within the resulting .gambas > executable. From within the program they can be accessed as though they > were in the current directory. Is it possible to access (read only) > those files using a command executed by Shell? For example: > > Shell "cat ./FileInProject" > > I'm making a very simple SoundFont previewer that calls fluidsynth with > the passed SoundFont and a MIDI file embedded in the project/executable. > > I could load the embedded file then write it to the user's /tmp > directory and pass that to fluidsynth, but won't if I don't have to. > No, but you can pass them to your shell command through a pipe, for example. Or if you don't care with performance, you can extract the file from the *.gambas executable with the 'gba3' command: $ gba3 -x | mycommand Or: $ gba3 -x > tmpfile $ mycommand tmpfile Regards, -- Beno?t Minisini From taboege at ...626... Thu Aug 28 22:14:20 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 28 Aug 2014 22:14:20 +0200 Subject: [Gambas-user] accessing "embedded" project files from Shell command In-Reply-To: <53FF88D4.9050101@...1887...> References: <53FF88D4.9050101@...1887...> Message-ID: <20140828201420.GB927@...2774...> On Thu, 28 Aug 2014, Kevin Fishburne wrote: > When you store data files in the project directory and compile the > program those files are contained within the resulting .gambas > executable. From within the program they can be accessed as though they > were in the current directory. Is it possible to access (read only) > those files using a command executed by Shell? For example: > > Shell "cat ./FileInProject" > > I'm making a very simple SoundFont previewer that calls fluidsynth with > the passed SoundFont and a MIDI file embedded in the project/executable. > > I could load the embedded file then write it to the user's /tmp > directory and pass that to fluidsynth, but won't if I don't have to. > No, the file is compiled into the .gambas archive. When your Gambas code executes, the interpreter takes care of those relative paths and maps them to the correct places in the (mmap'd?) archive file. An external shell can't do that. If there is some data you normally need during execution, it might be better to provide an installation packages which puts these files to /usr/share. But otherwise you can "unpack" the archive once your program starts up by recursively copying the "." directory (or any subdirectory of that) from inside the Gambas process. We had a thread around here yesterday or so which shows how to copy directories recursively. Then refer to the files using the temporary location you unpacked them to. Regards, Tobi PS: Or what Benoit said... BTW: is the .gambas file in a Gambas-specific archive format? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Aug 28 22:34:50 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 28 Aug 2014 22:34:50 +0200 Subject: [Gambas-user] accessing "embedded" project files from Shell command In-Reply-To: <20140828201420.GB927@...2774...> References: <53FF88D4.9050101@...1887...> <20140828201420.GB927@...2774...> Message-ID: <53FF926A.8020302@...1...> Le 28/08/2014 22:14, Tobias Boege a ?crit : > PS: Or what Benoit said... BTW: is the .gambas file in a Gambas-specific > archive format? > Yes. Why? -- Beno?t Minisini From taboege at ...626... Thu Aug 28 22:40:53 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 28 Aug 2014 22:40:53 +0200 Subject: [Gambas-user] accessing "embedded" project files from Shell command In-Reply-To: <53FF926A.8020302@...1...> References: <53FF88D4.9050101@...1887...> <20140828201420.GB927@...2774...> <53FF926A.8020302@...1...> Message-ID: <20140828204053.GC927@...2774...> On Thu, 28 Aug 2014, Beno?t Minisini wrote: > Le 28/08/2014 22:14, Tobias Boege a ?crit : > > PS: Or what Benoit said... BTW: is the .gambas file in a Gambas-specific > > archive format? > > > > Yes. Why? > I thought about a way to unpack the archive. gba3 -x didn't come to my mind. Before I came up with the recursive copy from inside the process, I wondered if we could just strip away the shebang and use tar or something to extract it. I don't need it to be a standard format if that's why you asked. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From kevinfishburne at ...1887... Fri Aug 29 03:11:01 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 28 Aug 2014 21:11:01 -0400 Subject: [Gambas-user] accessing "embedded" project files from Shell command In-Reply-To: <20140828201420.GB927@...2774...> References: <53FF88D4.9050101@...1887...> <20140828201420.GB927@...2774...> Message-ID: <53FFD325.6070101@...1887...> On 08/28/2014 04:14 PM, Tobias Boege wrote: > On Thu, 28 Aug 2014, Kevin Fishburne wrote: >> When you store data files in the project directory and compile the >> program those files are contained within the resulting .gambas >> executable. From within the program they can be accessed as though they >> were in the current directory. Is it possible to access (read only) >> those files using a command executed by Shell? For example: >> >> Shell "cat ./FileInProject" >> >> I'm making a very simple SoundFont previewer that calls fluidsynth with >> the passed SoundFont and a MIDI file embedded in the project/executable. >> >> I could load the embedded file then write it to the user's /tmp >> directory and pass that to fluidsynth, but won't if I don't have to. >> > No, the file is compiled into the .gambas archive. When your Gambas code > executes, the interpreter takes care of those relative paths and maps > them to the correct places in the (mmap'd?) archive file. An external > shell can't do that. > > If there is some data you normally need during execution, it might be > better to provide an installation packages which puts these files to > /usr/share. > > But otherwise you can "unpack" the archive once your program starts up > by recursively copying the "." directory (or any subdirectory of that) > from inside the Gambas process. We had a thread around here yesterday > or so which shows how to copy directories recursively. Then refer to the > files using the temporary location you unpacked them to. > > Regards, > Tobi > > PS: Or what Benoit said... BTW: is the .gambas file in a Gambas-specific > archive format? > Thanks Beno?t and Tobias. This made it simple enough: Try Copy "Preview.mid" To "/tmp/Preview.mid" ' Set command string. Command = "fluidsynth -apulseaudio -i -n \"" & Application.Args[1] & "\" /tmp/Preview.mid" ' Play sample MIDI file using passed SoundFont. Shell Command Wait I attached the insanely simple program in the event anyone would find it useful. Just associate .sf2 files with the GAMBAS executable and you can double-click a SoundFont in your file manager to hear a preview. It uses PulseAudio and fluidsynth, so adjust as necessary. The general idea is to make the organization of SoundFonts easier by allowing the use of your distro's file manager. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: SF2Preview.tar.gz Type: application/gzip Size: 5690 bytes Desc: not available URL: From t.lee.davidson at ...626... Sun Aug 31 08:06:11 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 31 Aug 2014 02:06:11 -0400 Subject: [Gambas-user] Editing shortcut keys and valueboxes Message-ID: <5402BB53.9010108@...626...> Hi, I am wondering ... is it by design that the edit shortcut keys (Ctrl-x, Ctrl-c, and Ctrl-v) do not work with ValueBoxes whereas the editing options in the right-click menu (at least for the number type) do? The other value types have copy & paste issues even with the right-click menu as any selection is undone when the right-click occurs. Lee (Gambas v3.5.4) From willy at ...2734... Sun Aug 31 13:54:47 2014 From: willy at ...2734... (Willy Raets) Date: Sun, 31 Aug 2014 13:54:47 +0200 Subject: [Gambas-user] Bug: Mageia packages made by IDE do not install application icon in distro menu Message-ID: <1409486087.3303.8.camel@...3024...> Hi all, Lee (also on this mailinglist) did some testing of an application of mine. He reported that when installing the rpm he had script errors. The application did install and had a menu entry, but no icon was present for the entry. When I run the .deb files on Mint icon are properly made for the distro menu entry. So the problem seems to be in the mageia package as made by the IDE. This is what Lee reported back to me: ------------------------------------- Running `rpm -Uvh earthshipcalc-1.0.91-1mga.noarch.rpm` as root gave me: Preparing... ################################# [100%] Updating / installing... 1:earthshipcalc-1.0.91-1mga ################################# [ 50%] /var/tmp/rpm-tmp.p7FUo4: line 1: fg: no job control warning: %post(earthshipcalc-1.0.91-1mga.noarch) scriptlet failed, exit status 1 Cleaning up / removing... 2:earthshipcalc-1.0.90-1mga ################################# [100%] /var/tmp/rpm-tmp.lWAIDV: line 1: fg: no job control warning: %postun(earthshipcalc-1.0.90-1mga.noarch) scriptlet failed, exit status 1 Version 1.0.90 was given a menu spot in Development->Tools. Version 1.0.91 occupies a menu entry in Sciences which is appropriate. But, it still does not display its own custom icon. I tried to find the icon with `locate Earthship` as root. I got the following lines at the top of the result: /%{_iconsdir}/EarthshipCalc.png /%{_liconsdir}/EarthshipCalc.png /%{_miconsdir}/EarthshipCalc.png And indeed, those directories (and the icon) are there in the system root directory. It seems something in the install script/process is not replacing those dynamic placeholders with their correct local values. ------------------------------------- Some info on Lee his system: - Architecture: i686 - Kernel: Linux - Kernel release: 3.10.50-desktop-1.mga3 - Distribution: Mageia 3 - Distro Code name: thornicroft - X Window Manager: KWin - Desktop: KDE - Gambas3 version: 3.5.4 Maybe Lee can add more info to this bug report. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From jusabejusabe at ...626... Sun Aug 31 14:09:10 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 31 Aug 2014 14:09:10 +0200 Subject: [Gambas-user] Add new option in the menu of the project tree: Open File Manager Message-ID: Request for improvement: It would be possible to add to the project tree menu, a new option to directly open the directory where this hosted the file, directory or directly to the project folder, using the file manager (Dolphin, Nautilus, PCMan File Manager, Rox-Filer). It would be very useful for managing traditionally files (copy, paste, delete multiple files in the project), and not go one on one. greetings Julio From gambas at ...1... Sun Aug 31 14:10:22 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 31 Aug 2014 14:10:22 +0200 Subject: [Gambas-user] Bug: Mageia packages made by IDE do not install application icon in distro menu In-Reply-To: <1409486087.3303.8.camel@...3024...> References: <1409486087.3303.8.camel@...3024...> Message-ID: <540310AE.5020304@...1...> Le 31/08/2014 13:54, Willy Raets a ?crit : > Hi all, > > Lee (also on this mailinglist) did some testing of an application of > mine. > He reported that when installing the rpm he had script errors. > The application did install and had a menu entry, but no icon was > present for the entry. > > When I run the .deb files on Mint icon are properly made for the distro > menu entry. > > So the problem seems to be in the mageia package as made by the IDE. > > This is what Lee reported back to me: > > ------------------------------------- > Running `rpm -Uvh earthshipcalc-1.0.91-1mga.noarch.rpm` as root gave me: > > Preparing... ################################# > [100%] > Updating / installing... > 1:earthshipcalc-1.0.91-1mga > ################################# > [ 50%] > /var/tmp/rpm-tmp.p7FUo4: line 1: fg: no job control > warning: %post(earthshipcalc-1.0.91-1mga.noarch) scriptlet failed, exit > status 1 > Cleaning up / removing... > 2:earthshipcalc-1.0.90-1mga > ################################# > [100%] > /var/tmp/rpm-tmp.lWAIDV: line 1: fg: no job control > warning: %postun(earthshipcalc-1.0.90-1mga.noarch) scriptlet failed, > exit status 1 > > > Version 1.0.90 was given a menu spot in Development->Tools. Version > 1.0.91 occupies a menu entry in Sciences which is appropriate. But, it > still does not display its own custom icon. > > I tried to find the icon with `locate Earthship` as root. I got the > following lines at the top of the result: > /%{_iconsdir}/EarthshipCalc.png > /%{_liconsdir}/EarthshipCalc.png > /%{_miconsdir}/EarthshipCalc.png > > And indeed, those directories (and the icon) are there in the system > root directory. It seems something in the install script/process is not > replacing those dynamic placeholders with their correct local values. > ------------------------------------- > > Some info on Lee his system: > > - Architecture: i686 > - Kernel: Linux > - Kernel release: 3.10.50-desktop-1.mga3 > - Distribution: Mageia 3 > - Distro Code name: thornicroft > - X Window Manager: KWin > - Desktop: KDE > - Gambas3 version: 3.5.4 > > Maybe Lee can add more info to this bug report. > > Is it possible to have: - The package you tried to install and that failed. - A mageia package that installs one application with its icons and that works. Thanks! -- Beno?t Minisini From gambas at ...1... Sun Aug 31 16:03:26 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 31 Aug 2014 16:03:26 +0200 Subject: [Gambas-user] Add new option in the menu of the project tree: Open File Manager In-Reply-To: References: Message-ID: <54032B2E.1040409@...1...> Le 31/08/2014 14:09, Julio Sanchez a ?crit : > Request for improvement: > > It would be possible to add to the project tree menu, a new option to > directly open the directory where this hosted the file, directory or > directly to the project folder, using the file manager (Dolphin, Nautilus, > PCMan File Manager, Rox-Filer). > > It would be very useful for managing traditionally files (copy, paste, > delete multiple files in the project), and not go one on one. > > greetings > > Julio Added in revision #6440. Regards, -- Beno?t Minisini From willy at ...2734... Sun Aug 31 17:25:30 2014 From: willy at ...2734... (Willy Raets) Date: Sun, 31 Aug 2014 17:25:30 +0200 Subject: [Gambas-user] How to disable a select number of Tabs in a TabStrip? Message-ID: <1409498730.3303.52.camel@...3024...> Hi all, With TabStrip1.Enabled = True all tabs are disabled and that makes sense. I on the other hand, would like to disable only a few select tabs on a TabStrip. I've tried several options, had a look at the wiki on TabStrip and searched the mailing list, but nothing came up. So what is the proper method of achieving this? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From taboege at ...626... Sun Aug 31 17:28:03 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 31 Aug 2014 17:28:03 +0200 Subject: [Gambas-user] How to disable a select number of Tabs in a TabStrip? In-Reply-To: <1409498730.3303.52.camel@...3024...> References: <1409498730.3303.52.camel@...3024...> Message-ID: <20140831152802.GA670@...2774...> On Sun, 31 Aug 2014, Willy Raets wrote: > Hi all, > > With TabStrip1.Enabled = True all tabs are disabled and that makes > sense. > I on the other hand, would like to disable only a few select tabs on a > TabStrip. I've tried several options, had a look at the wiki on TabStrip > and searched the mailing list, but nothing came up. > > So what is the proper method of achieving this? > TabStrip[iIndex].Enabled = False. The array accessors are often overlooked in the docs. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From willy at ...2734... Sun Aug 31 17:55:45 2014 From: willy at ...2734... (Willy Raets) Date: Sun, 31 Aug 2014 17:55:45 +0200 Subject: [Gambas-user] How to disable a select number of Tabs in a TabStrip? In-Reply-To: <20140831152802.GA670@...2774...> References: <1409498730.3303.52.camel@...3024...> <20140831152802.GA670@...2774...> Message-ID: <1409500545.3303.53.camel@...3024...> On zo, 2014-08-31 at 17:28 +0200, Tobias Boege wrote: > On Sun, 31 Aug 2014, Willy Raets wrote: > > Hi all, > > > > With TabStrip1.Enabled = True all tabs are disabled and that makes > > sense. > > I on the other hand, would like to disable only a few select tabs on a > > TabStrip. I've tried several options, had a look at the wiki on TabStrip > > and searched the mailing list, but nothing came up. > > > > So what is the proper method of achieving this? > > > > TabStrip[iIndex].Enabled = False. > > The array accessors are often overlooked in the docs. Yes they are, I could have know this :) Thanks, > > Regards, > Tobi > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From t.lee.davidson at ...626... Sun Aug 31 18:51:38 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 31 Aug 2014 12:51:38 -0400 Subject: [Gambas-user] Bug: Mageia packages made by IDE do not install application icon in distro menu In-Reply-To: <540310AE.5020304@...1...> References: <1409486087.3303.8.camel@...3024...> <540310AE.5020304@...1...> Message-ID: <5403529A.8080603@...626...> I have attached a simple application package that properly installs the icon to /usr/share/icons and also properly displays the icon in the menu entry. On a side note: This project is related to a message I just recently sent to the list about the editing shortcut keys and valueboxes. I am unsure if that message made it to the list. Lee On 08/31/2014 08:10 AM, Beno?t Minisini wrote: > Is it possible to have: > > - The package you tried to install and that failed. > > - A mageia package that installs one application with its icons and that > works. > > Thanks! > > -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: editshortcuts-0.0.1-1mga.noarch.rpm Type: application/x-rpm Size: 10695 bytes Desc: not available URL: