From jussi.lahtinen at gmail.com Sun Jul 1 21:44:19 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 1 Jul 2018 22:44:19 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: OK, now it should be fine for testing the implemented features. However there is crash. See attachment. Jussi On Sat, Jun 30, 2018 at 2:00 AM, Jussi Lahtinen wrote: > Lol, I guess I was bit too tired writing that! > I'll make new test after 48h or so. > > > Jussi > > > On Friday, June 29, 2018, Beno?t Minisini wrote: > >> Le 29/06/2018 ? 03:10, Jussi Lahtinen a ?crit : >> >>> If I comment out byref test, then JIT crashes leaving nothing to the >>> gb.c. Not very helpful... anyway attached. Maybe you have some clever way >>> to debug this. >>> >>> >> The clever way is named 'gdb'. >> >> I forgot to say that structures and static arrays are not yet implemented >> too! It makes crash the JIT translator. >> >> -- >> Beno?t Minisini >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.49.tar.gz Type: application/gzip Size: 25966 bytes Desc: not available URL: From g4mba5 at gmail.com Sun Jul 1 21:59:24 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 1 Jul 2018 21:59:24 +0200 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: Le 01/07/2018 ? 21:44, Jussi Lahtinen a ?crit?: > OK, now it should be fine for testing the implemented features. However > there is crash. > See attachment. > > > Jussi > I'm currently fixing them. There are a lot, as your code intentionnaly implements a lot of corner cases! Regards, -- Beno?t Minisini From gambas.fr at gmail.com Mon Jul 2 12:08:05 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Mon, 2 Jul 2018 12:08:05 +0200 Subject: [Gambas-user] User Digest, Vol 9, Issue 117 Additional files for Reading/Writing In-Reply-To: References: Message-ID: Take a look at the gb.setting component code Le ven. 29 juin 2018 16:17, CD a ?crit : > thank you, but I thought about the solution "settings", > I think it does not fit well. > > This application is for Gambas developers, is a utility. > > in the app I want to do: > sString = Split (File.load (sfile), "\ n") > I get my file in a sString[] Array (a hundred) > > but I want the user of the app, a developer so, > can access the file to modify it, > according to certain rules, of course. > I even wrote help for the operation > > if the Directory and/or file are not present, > I create the directory, I copy the file, > then the user can edit it, > and after the app can read it again ... > if the user refuses, I use the default file. > > The file is not temporary, once installed and modified, the app uses it > every time. > in fact I'm looking for the best location to do that. > something like : /home/User/.config/gambas3/MonAppli/MonFichier.ext > is not academic? > > regards > > Le vendredi 29 juin 2018 ? 14:37 +0200, > user-request at lists.gambas-basic.org a ?crit : > > Send User mailing list submissions to > > user at lists.gambas-basic.org > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.gambas-basic.org/listinfo/user > > or, via email, send a message with subject or body 'help' to > > user-request at lists.gambas-basic.org > > > You can reach the person managing the list at > > user-owner at lists.gambas-basic.org > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of User digest..." > > > Today's Topics: > > > 1. Re: Additional files for Reading/Writing (Gianluigi) > > 2. Re: can stored a OPENED connection object in a colletion? > > (PICCORO McKAY Lenz) > > 3. Re: print does not output if the var is FALSE, how to > > override? (PICCORO McKAY Lenz) > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From claude.dessere at orange.fr Mon Jul 2 14:17:41 2018 From: claude.dessere at orange.fr (CD) Date: Mon, 02 Jul 2018 14:17:41 +0200 Subject: [Gambas-user] Additional files In-Reply-To: <754594395d104cba4c57f60972a835d36758a888.camel@orange.fr> References: <754594395d104cba4c57f60972a835d36758a888.camel@orange.fr> Message-ID: Hello, in the Installation Package generator, in step 8: Additional files, I do not understand this sentence: "The additional files must be located in the current Project folder, corresponding to the project's .hidden directory on the disk" does that mean "The additional files must be located in the current Project folder, at the same level as the .hidden directory" or something else? In any case what I see, through the tests that I have done is that 1) To make the packages the extra files must be in the .hidden directory 2) to debug the code and for the executable they must be in the project directory. notwithstanding the fact that "file copy -> source of errors ..." did I understand well? -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Jul 2 19:46:58 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 2 Jul 2018 19:46:58 +0200 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: Le 01/07/2018 ? 21:59, Beno?t Minisini a ?crit?: > Le 01/07/2018 ? 21:44, Jussi Lahtinen a ?crit?: >> OK, now it should be fine for testing the implemented features. >> However there is crash. >> See attachment. >> >> >> Jussi >> > > I'm currently fixing them. There are a lot, as your code intentionnaly > implements a lot of corner cases! > > Regards, > OK, the last commit fix most of the bugs. There is still some memory leaks, but your tester project runs apparently accurately now. -- Beno?t Minisini From g4mba5 at gmail.com Mon Jul 2 20:10:50 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 2 Jul 2018 20:10:50 +0200 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: <23aeed88-bda8-a02a-1516-674ea83521af@gmail.com> Le 02/07/2018 ? 19:46, Beno?t Minisini a ?crit?: > Le 01/07/2018 ? 21:59, Beno?t Minisini a ?crit?: >> Le 01/07/2018 ? 21:44, Jussi Lahtinen a ?crit?: >>> OK, now it should be fine for testing the implemented features. >>> However there is crash. >>> See attachment. >>> >>> >>> Jussi >>> >> >> I'm currently fixing them. There are a lot, as your code intentionnaly >> implements a lot of corner cases! >> >> Regards, >> > > OK, the last commit fix most of the bugs. There is still some memory > leaks, but your tester project runs apparently accurately now. > Beware that it takes 50s to translate your code on my system, unless you disable optimizations by defining `GB_JIT_CFLAGS="-O0"`. Regards, -- Beno?t Minisini From jussi.lahtinen at gmail.com Tue Jul 3 01:21:11 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 3 Jul 2018 02:21:11 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: <23aeed88-bda8-a02a-1516-674ea83521af@gmail.com> References: <23aeed88-bda8-a02a-1516-674ea83521af@gmail.com> Message-ID: Could there be option for caching the compiled code? IE way to disable usage of absolute addresses? Jussi On Mon, Jul 2, 2018 at 9:10 PM, Beno?t Minisini wrote: > Le 02/07/2018 ? 19:46, Beno?t Minisini a ?crit : > >> Le 01/07/2018 ? 21:59, Beno?t Minisini a ?crit : >> >>> Le 01/07/2018 ? 21:44, Jussi Lahtinen a ?crit : >>> >>>> OK, now it should be fine for testing the implemented features. However >>>> there is crash. >>>> See attachment. >>>> >>>> >>>> Jussi >>>> >>>> >>> I'm currently fixing them. There are a lot, as your code intentionnaly >>> implements a lot of corner cases! >>> >>> Regards, >>> >>> >> OK, the last commit fix most of the bugs. There is still some memory >> leaks, but your tester project runs apparently accurately now. >> >> > Beware that it takes 50s to translate your code on my system, unless you > disable optimizations by defining `GB_JIT_CFLAGS="-O0"`. > > Regards, > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Tue Jul 3 14:54:30 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 3 Jul 2018 08:54:30 -0400 Subject: [Gambas-user] Status of oficial debian packages at debian.org are bad Message-ID: Due are of my interest i send regulary reports and patches to debian, but i received that from a oficial mantainer https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867348#31 Seems the oficial Gambas package in debian will have problems or not be to be more, due are "too complicated" ??????? INCREDIBLE! "too complicated" more thatn the debian mantainer process ???? Yeah! If in Debian the maintainer agrees to sponsor my work all this will be done directly in Debian, but I doubt very much that this will happen. So i now will provide debian packages ONLY OF WORKING gambas in Venenux open suse build service due the two reasons: 1) oficial debian packages have some degree of "abandonware" 2) the most closes are the winbuntu packages that are not so well fit with debian My packages will follow that simple rules: - i not will make daily builds, its a waste of time if there-s people already tested those, but i will make guides of how to build for each specific debian base, of course i will take care of my stupid writing.. and use spell check and translators to re-checks the texts - i will only packages most working release, by example currently 3.9 are betterrather thant 3.11 that have important fixeds pending - i will not make compatibility step with any other packages and follow the gambas packagin scheme with the debian made already Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Tue Jul 3 21:52:32 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 3 Jul 2018 22:52:32 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: I have multiple crashes in my big project. I will not send the source, but I will isolate the problem code. However I think I wait until the memory leaks are fixed, since it seems the crashes are not easily tracked right now. The error occurs somewhere much earlier, than what appears to cause the crash. Jussi On Mon, Jul 2, 2018 at 8:46 PM, Beno?t Minisini wrote: > Le 01/07/2018 ? 21:59, Beno?t Minisini a ?crit : > >> Le 01/07/2018 ? 21:44, Jussi Lahtinen a ?crit : >> >>> OK, now it should be fine for testing the implemented features. However >>> there is crash. >>> See attachment. >>> >>> >>> Jussi >>> >>> >> I'm currently fixing them. There are a lot, as your code intentionnaly >> implements a lot of corner cases! >> >> Regards, >> >> > OK, the last commit fix most of the bugs. There is still some memory > leaks, but your tester project runs apparently accurately now. > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Tue Jul 3 22:26:55 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 3 Jul 2018 22:26:55 +0200 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: Le 03/07/2018 ? 21:52, Jussi Lahtinen a ?crit?: > I have multiple crashes in my big project. I will not send the source, > but I will isolate the problem code. > However I think I wait until the memory leaks are fixed, since it seems > the crashes are not easily tracked right now. The error occurs somewhere > much earlier, than what appears to cause the crash. > > > Jussi > The memory leaks I talked previously were fixed. To track the crash, run Gambas with valgrind: $ cd /my/project $ GB_JIT_DEBUG=1 GB_JIT_CFLAGS="-O0 -g" valgrind --tool=memcheck --num-callers=50 gbx3 Regards, -- Beno?t Minisini From mckaygerhard at gmail.com Tue Jul 3 23:59:15 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 3 Jul 2018 17:59:15 -0400 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) Message-ID: i already made my db pool emulation in rudimentary efforts.. my class already inherits from collection, but now i wnats to overrides the exec method of each stored connection, how to made it i attach the project Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: dbcollection-0.0.1.tar.gz Type: application/gzip Size: 13683 bytes Desc: not available URL: From jussi.lahtinen at gmail.com Wed Jul 4 00:04:39 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Jul 2018 01:04:39 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: I was in impression that I got unfreed stuff with latest revision, but I was wrong. I'm still unable to figure out what crashes the JIT in the big project. gdb gives me this: Program received signal SIGSEGV, Segmentation fault. JIT_load_class (class=class at entry=0x8af89200000009) at jit.c:474 474 if (class->ready || class->in_load) (gdb) bt #0 0x00007fffefd55c11 in JIT_load_class (class=class at entry =0x8af89200000009) at jit.c:474 #1 0x00007fffefd55e18 in get_type (n=, n at entry=-3) at jit_body.c:314 #2 0x00007fffefd594bc in JIT_translate_body (code=2819) at jit_body.c:1109 #3 0x00007fffefd594bc in JIT_translate_body (func=func at entry=0x8b6668, ind=ind at entry=4) at jit_body.c:2991 #4 0x00007fffefd55a74 in JIT_translate (index=4, func=0x8b6668) at jit.c:298 #5 0x00007fffefd55a74 in JIT_translate (name=, from=from at entry=0x4711fd "") at jit.c:431 #6 0x00007fffefd49a71 in Jit_Translate (_object=, _param=0x7ffff64d41e0) at main.c:35 #7 0x000000000046169d in EXEC_native () at gbx_exec.c:1355 #8 0x0000000000460550 in EXEC_native_check (defined=1 '\001') at gbx_exec.c:1152 #9 0x000000000045425a in EXEC_loop () at gbx_exec_loop.c:1160 #10 0x000000000045f9a4 in EXEC_function_loop () at gbx_exec.c:913 #11 0x000000000045f8cf in EXEC_function_real () at gbx_exec.c:900 #12 0x0000000000462524 in EXEC_public_desc (class=0x69afc8, object=0x0, desc=0x8a72b8, nparam=1) at gbx_exec.c:1598 #13 0x000000000042adc0 in GB_Call (_func=0x692ad0 <_jit_compile_func>, nparam=1, release=0) at gbx_api.c:1105 #14 0x0000000000406348 in JIT_compile (arch=0x0) at gbx_jit.c:116 I compiled the interpreter without optimizations, but still there are missing values. Meanwhile I did some poking with the GambasTester and I find new crash. See the attachment. The class does include "..." argument, but not in the function, which is compiled with JIT. These are the problem lines: Fast Static Public Sub _call() As String Return "Called" End Jussi On Tue, Jul 3, 2018 at 11:26 PM, Beno?t Minisini wrote: > Le 03/07/2018 ? 21:52, Jussi Lahtinen a ?crit : > >> I have multiple crashes in my big project. I will not send the source, >> but I will isolate the problem code. >> However I think I wait until the memory leaks are fixed, since it seems >> the crashes are not easily tracked right now. The error occurs somewhere >> much earlier, than what appears to cause the crash. >> >> >> Jussi >> >> > The memory leaks I talked previously were fixed. > > To track the crash, run Gambas with valgrind: > > $ cd /my/project > $ GB_JIT_DEBUG=1 GB_JIT_CFLAGS="-O0 -g" valgrind --tool=memcheck > --num-callers=50 gbx3 > > Regards, > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.49.tar.gz Type: application/gzip Size: 26033 bytes Desc: not available URL: From jussi.lahtinen at gmail.com Wed Jul 4 00:08:41 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Jul 2018 01:08:41 +0300 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: Create new class that inherits connection. Do the overriding there and use the new class instead of the connection class. Jussi On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz wrote: > i already made my db pool emulation in rudimentary efforts.. > > my class already inherits from collection, but now i wnats to overrides > the exec method of each stored connection, how to made it > > i attach the project > > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tmorehen at ajm-software.com Wed Jul 4 00:28:22 2018 From: tmorehen at ajm-software.com (Tony Morehen) Date: Tue, 3 Jul 2018 18:28:22 -0400 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: In one of my programs, I have two functions that use the Fast prefix. When the first function is called, the "wanted String[], got float" is raised.? Everything works fine when Fast is removed.? Here are the two functions: Fast Public Function WordWrap(text As String, $WordWrap As Boolean, $LineWidth As Float) As String[] ? Dim result As New String[] ? Dim txt As String ? Dim tmp As String[] = Split(text, "\n") ? If Not $WordWrap Then Return tmp ? For Each txt In tmp ??? result.Insert(SplitLine(txt, $LineWidth)) ? Next ? Return result End Fast Private Function SplitLine(txt As String, $LineWidth As Float) As String[] ? Dim Lines As New String[] ? Dim CurrWord As String ? Dim i As Integer ? If txt = "" Then txt = " " ? Do Until Paint.TextSize(txt).Width / Paint.ResolutionX < $LineWidth ??? i = String.Len(txt) + 1 ??? Do ????? Dec i ????? CurrWord = String.Left(txt, i) ??? Loop Until Paint.TextSize(CurrWord).Width / Paint.ResolutionX < $LineWidth ??? For i = String.Len(CurrWord) To 1 Step -1 ????? Select Case String.Mid(CurrWord, i, 1) ??????? Case " ", ";", ",", "\t", ":" ????????? Break ????? End Select ??? Next ??? If i > 1 Then ????? CurrWord = String.Left(CurrWord, i) ??? Endif ??? Lines.Add(CurrWord) ??? txt = String.Mid(txt, String.Len(CurrWord) + 1) ? Loop ? If String.Len(txt) > 0 Then Lines.Add(txt) ? Return Lines End Function Fast doesn't make much of a difference on small to medium-sized files, but seems to make a difference on large files, though I haven't run any tests. On 2018-06-28 06:41 PM, Beno?t Minisini wrote: > Hi, > > Here is a few news about the new just-in-compiler... > > 1) Almost everything is supported, and seem to work. Bigger test are > needed now. > > 2) The following are not implemented, and may never be implemented for > different reasons: > > - Functions with a variable number of arguments. > > - Arguments passed by reference with ByRef. > > - Functions used as extern callbacks. > > 3) Extern functions calls are optimized: they are directly called from > the JIT code. But this has not been tested yet! > > 4) Not all mathematical functions are correctly implemented yet. > > 5) clang may be supported instead of gcc. This is something to test > before finding a way to dynamically detect which compiler to use. > > 6) I introduced a new keyword, UNSAFE. You use it with the FAST keyword. > > When a function is declared "FAST UNSAFE", then it is just-in-time > compiled, but all the safety checks are removed (null object, division > by zero, out of array bounds...). > > It allows you to speed up the code a little bit, when you are sure it > won't do illegal things. > > And if it does anyway, you will have memory corruption and/or > segmentation fault. > > Of course, the keyword can be used at the class level. > > Enjoy! > From g4mba5 at gmail.com Wed Jul 4 00:48:37 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 4 Jul 2018 00:48:37 +0200 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: <019cb11e-a50b-fa6f-adf3-46699a2a84fe@gmail.com> Le 04/07/2018 ? 00:28, Tony Morehen a ?crit?: > In one of my programs, I have two functions that use the Fast prefix. > > When the first function is called, the "wanted String[], got float" is > raised.? Everything works fine when Fast is removed.? Here are the two > functions: > > Fast Public Function WordWrap(text As String, $WordWrap As Boolean, > $LineWidth As Float) As String[] > ... Please post a source project archive. > > Fast doesn't make much of a difference on small to medium-sized files, > but seems to make a difference on large files, though I haven't run any > tests. > The effect of Fast is not related to the size of your files, but on the kind of operations done. You won't gain anyhting in string processing for example. Regards, -- Beno?t Minisini From richard.h.terry at gmail.com Wed Jul 4 03:53:59 2018 From: richard.h.terry at gmail.com (Richard Terry) Date: Wed, 4 Jul 2018 11:53:59 +1000 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist Message-ID: Hi List, I've not found a solution to not being able to access my postgres database with gambas 3.11, so I need to be able to downgrade to say 3.8.4 or 3.9 or therabouts which I know runs. I've even tried installing mint on a new machine and the same problem - an error message when I try and log on 'connection is not static'. I wonder if any kind soul could explain to me how to downgrade to an earlier version. Richard From g4mba5 at gmail.com Wed Jul 4 04:03:15 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 4 Jul 2018 04:03:15 +0200 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: Message-ID: <59a93574-651a-c156-f26a-b46746c68309@gmail.com> Le 04/07/2018 ? 03:53, Richard Terry a ?crit?: > Hi List, > > I've not found a solution to not being able to access my postgres > database with gambas 3.11, so I need to be able to downgrade to say > 3.8.4 or 3.9 or therabouts which I know runs. > > I've even tried installing mint on a new machine and the same problem - > an error message when I try and log on 'connection is not static'. > > I wonder if any kind soul could explain to me how to downgrade to an > earlier version. > > Richard > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > Can you tell the exact error message you get, and on which line of code? Anyway, you can compile and install whatever version of Gambas 3 you want, provided it is the only one version of Gambas 3 installed on your system. Regards, -- Beno?t Minisini From t.lee.davidson at gmail.com Wed Jul 4 14:02:24 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 4 Jul 2018 08:02:24 -0400 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: Message-ID: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> On 07/03/2018 09:53 PM, Richard Terry wrote: > I wonder if any kind soul could explain to me how to downgrade to an earlier?version. Depending on which distro you are using, there may be various repositories hosting different versions. With openSUSE for example, the main repository has v3.9.2, the "Education" repo has v3.10.0, and the "home:munix9" repo has v3.11.3. You can remove the version you have currently installed and install the version you want from the relevant repo. -- Lee From mckaygerhard at gmail.com Wed Jul 4 14:33:00 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 08:33:00 -0400 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: 2018-07-03 18:08 GMT-04:00 Jussi Lahtinen : > Create new class that inherits connection. Do the overriding there and use > the new class instead of the connection class. > GRRRRR dgod damn ok ok but then i need to do two inherits in cascade!!! conection->connection2-> and then collection->myclass and in my clkass using the new connection.. seems too many classes 9.9u there-s some way to avoid that? > > > Jussi > > On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> wrote: > >> i already made my db pool emulation in rudimentary efforts.. >> >> my class already inherits from collection, but now i wnats to overrides >> the exec method of each stored connection, how to made it >> >> i attach the project >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 4 14:59:33 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 08:59:33 -0400 Subject: [Gambas-user] Q) Again how to downgrade to earlier gambas version - continued postgres problems In-Reply-To: <4cdc7f8e-582c-87d2-ff7a-70c260121c61@gmail.com> References: <4cdc7f8e-582c-87d2-ff7a-70c260121c61@gmail.com> Message-ID: This bug are same as http://gambaswiki.org/bugtracker/edit?object=BUG. 1331&from=L21haW4- Gambas 3.9 does not have that problem mentiuoned by richad, since the cited commits, some DB modules has problems since the commits https://gitlab.com/gambas/gambas/commit/aa67ba1309bde70e8b528be833ba06a8d124cbd1 and https://gitlab.com/gambas/gambas/commit/e07ac2e4f2588f62bb55aa2b8351a08a810c1586 some databases connection does not work By example some connection to postgres works for me but others not! and connectins to ODBC does also not work at all Gambas only connects to mysql that means connects to scholar used, mayor DBMS uses scalar grade such like sybase SAP, Oracle and Postgresql please please fix the bug Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-03 18:43 GMT-04:00 Beno?t Minisini : > Le 04/07/2018 ? 00:30, richard terry a ?crit : > >> Hi List, >> >> I've not found a solution to not being able to access my postgres >> database with gambas 3.11, so I need to be able to downgrade to say 3.8.4 >> or 3.9 or therabouts which I know runs. >> >> I've even tried installing mint on a new machine and the same problem - >> an error message when I try and log on 'connection is not static'. >> >> I wonder if any kind soul could explain to me how to downgrade to an >> earlier version. >> >> >> Thanks >> >> >> Richard >> >> >> > This mailing-list is deprecated. Please use the new mailing-list at > https://lists.gambas-basic.org/listinfo/user > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 4 15:01:57 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 09:01:57 -0400 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> Message-ID: I think this bug are same as http://gambaswiki.org/bugtrack er/edit?object=BUG.1331&from=L21haW4- Gambas 3.9 does not have that problem mentioned by richard, since the cited commits, some DB modules has problems since the commits https://gitlab.com/gambas/gambas/commit/aa67ba1309bde70e8b528be833ba06 a8d124cbd1 and https://gitlab.com/gambas/gambas/commit/ e07ac2e4f2588f62bb55aa2b8351a08a810c1586 some databases connection does not work By example some connection to postgres works for me but others not! and connectins to ODBC does also not work at all Gambas only connects to mysql that means connects to scholar used, mayor DBMS uses scalar grade such like sybase SAP, Oracle and Postgresql please please fix the bug for 3.11 Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-04 8:02 GMT-04:00 T Lee Davidson : > On 07/03/2018 09:53 PM, Richard Terry wrote: > > I wonder if any kind soul could explain to me how to downgrade to an > earlier version. > > Depending on which distro you are using, there may be various repositories > hosting different versions. With openSUSE for > example, the main repository has v3.9.2, the "Education" repo has v3.10.0, > and the "home:munix9" repo has v3.11.3. > > You can remove the version you have currently installed and install the > version you want from the relevant repo. > > > -- > Lee > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Jul 4 15:44:51 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 4 Jul 2018 15:44:51 +0200 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> Message-ID: <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Le 04/07/2018 ? 15:01, PICCORO McKAY Lenz a ?crit?: > I think this bug are same as > http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- > > > Gambas 3.9 does not have that problem mentioned by richard, since the > cited commits, some DB modules has problems since the commits > https://gitlab.com/gambas/gambas/commit/aa67ba1309bde70e8b528be833ba06a8d124cbd1 > > and > https://gitlab.com/gambas/gambas/commit/e07ac2e4f2588f62bb55aa2b8351a08a810c1586 > > some databases connection does not work > > By example some connection to postgres works for me but others not! and > connectins to ODBC does also not work at all > > Gambas only connects to mysql that means connects to scholar used, mayor > DBMS uses scalar grade such like sybase SAP, Oracle and Postgresql > > please please fix the bug for 3.11 > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > I have no problem with postgresql, mysql or sqlite. Can you connect to those databases from the IDE? -- Beno?t Minisini From mckaygerhard at gmail.com Wed Jul 4 16:06:34 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 10:06:34 -0400 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Message-ID: using postgres 8.4 yes, from ide, with 3.11, using ODBC agains postgres or sybase yes, but cannot make any quiery due resultset returned are null Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-04 9:44 GMT-04:00 Beno?t Minisini : > Le 04/07/2018 ? 15:01, PICCORO McKAY Lenz a ?crit : > >> I think this bug are same as http://gambaswiki.org/bugtrack >> er/edit?object=BUG.1331&from=L21haW4- > ker/edit?object=BUG.1331&from=L21haW4-> >> >> Gambas 3.9 does not have that problem mentioned by richard, since the >> cited commits, some DB modules has problems since the commits >> https://gitlab.com/gambas/gambas/commit/aa67ba1309bde70e8b52 >> 8be833ba06a8d124cbd1 > bas/commit/aa67ba1309bde70e8b528be833ba06a8d124cbd1> and >> https://gitlab.com/gambas/gambas/commit/e07ac2e4f2588f62bb55 >> aa2b8351a08a810c1586 > bas/commit/e07ac2e4f2588f62bb55aa2b8351a08a810c1586> some databases >> connection does not work >> >> By example some connection to postgres works for me but others not! and >> connectins to ODBC does also not work at all >> >> Gambas only connects to mysql that means connects to scholar used, mayor >> DBMS uses scalar grade such like sybase SAP, Oracle and Postgresql >> >> please please fix the bug for 3.11 >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> > I have no problem with postgresql, mysql or sqlite. > > Can you connect to those databases from the IDE? > > -- > Beno?t Minisini > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Jul 4 16:06:49 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Jul 2018 17:06:49 +0300 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: AFAIK that is only way to override anything. What is the downside? It's really short code and there isn't practical limit for number of classes. Jussi On Wed, Jul 4, 2018 at 3:33 PM, PICCORO McKAY Lenz wrote: > 2018-07-03 18:08 GMT-04:00 Jussi Lahtinen : > >> Create new class that inherits connection. Do the overriding there and >> use the new class instead of the connection class. >> > GRRRRR dgod damn ok ok but then i need to do two inherits in cascade!!! > conection->connection2-> and then collection->myclass and in my clkass > using the new connection.. seems too many classes 9.9u > > there-s some way to avoid that? > > > >> >> >> Jussi >> >> On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz < >> mckaygerhard at gmail.com> wrote: >> >>> i already made my db pool emulation in rudimentary efforts.. >>> >>> my class already inherits from collection, but now i wnats to overrides >>> the exec method of each stored connection, how to made it >>> >>> i attach the project >>> >>> >>> >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 4 16:15:03 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 10:15:03 -0400 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: 2018-07-04 10:06 GMT-04:00 Jussi Lahtinen : > What is the downside? It's really short code and there isn't practical > limit for number of classes. > No, the problem it's that code resulted will be too complicated to newbie! i try to make very understable to new users and most simple as possible the file tree of the proyect in the suggested behaviour, i will need make new tree with main clases and parent clases.. must be like MVC now! will not look so simple well thanks any way jussi, now i know that are the only way! > > > Jussi > > > On Wed, Jul 4, 2018 at 3:33 PM, PICCORO McKAY Lenz > wrote: > >> 2018-07-03 18:08 GMT-04:00 Jussi Lahtinen : >> >>> Create new class that inherits connection. Do the overriding there and >>> use the new class instead of the connection class. >>> >> GRRRRR dgod damn ok ok but then i need to do two inherits in cascade!!! >> conection->connection2-> and then collection->myclass and in my clkass >> using the new connection.. seems too many classes 9.9u >> >> there-s some way to avoid that? >> >> >> >>> >>> >>> Jussi >>> >>> On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz < >>> mckaygerhard at gmail.com> wrote: >>> >>>> i already made my db pool emulation in rudimentary efforts.. >>>> >>>> my class already inherits from collection, but now i wnats to overrides >>>> the exec method of each stored connection, how to made it >>>> >>>> i attach the project >>>> >>>> >>>> >>>> Lenz McKAY Gerardo (PICCORO) >>>> http://qgqlochekone.blogspot.com >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Jul 4 16:16:34 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 4 Jul 2018 16:16:34 +0200 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Message-ID: Le 04/07/2018 ? 16:06, PICCORO McKAY Lenz a ?crit?: > using postgres 8.4 yes, from ide, with 3.11, using ODBC agains postgres > or sybase yes, but cannot make any quiery due resultset returned are null > > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > Strange, I don't have any problem like that... -- Beno?t Minisini From jussi.lahtinen at gmail.com Wed Jul 4 16:17:38 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Jul 2018 17:17:38 +0300 Subject: [Gambas-user] Q) Again how to downgrade to earlier gambas version - continued postgres problems In-Reply-To: References: <4cdc7f8e-582c-87d2-ff7a-70c260121c61@gmail.com> Message-ID: I sent this to the author of the gb.odbc component (zxMarce see bug # 1331). Jussi On Wed, Jul 4, 2018 at 3:59 PM, PICCORO McKAY Lenz wrote: > This bug are same as http://gambaswiki.org/bugtracker/edit?object=BUG. > 1331&from=L21haW4- > > Gambas 3.9 does not have that problem mentiuoned by richad, since the cited > commits, some DB modules has problems since the commits > https://gitlab.com/gambas/gambas/commit/aa67ba1309bde70e8b528be833ba06 > a8d124cbd1 > and > https://gitlab.com/gambas/gambas/commit/e07ac2e4f2588f62bb55aa2b8351a0 > 8a810c1586 > 8a810c1586> > some databases connection does not work > > By example some connection to postgres works for me but others not! and > connectins to ODBC does also not work at all > > Gambas only connects to mysql that means connects to scholar used, mayor > DBMS uses scalar grade such like sybase SAP, Oracle and Postgresql > > please please fix the bug > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2018-07-03 18:43 GMT-04:00 Beno?t Minisini : > > > Le 04/07/2018 ? 00:30, richard terry a ?crit : > > > >> Hi List, > >> > >> I've not found a solution to not being able to access my postgres > >> database with gambas 3.11, so I need to be able to downgrade to say > 3.8.4 > >> or 3.9 or therabouts which I know runs. > >> > >> I've even tried installing mint on a new machine and the same problem - > >> an error message when I try and log on 'connection is not static'. > >> > >> I wonder if any kind soul could explain to me how to downgrade to an > >> earlier version. > >> > >> > >> Thanks > >> > >> > >> Richard > >> > >> > >> > > This mailing-list is deprecated. Please use the new mailing-list at > > https://lists.gambas-basic.org/listinfo/user > > > > Regards, > > > > -- > > Beno?t Minisini > > > > > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Jul 4 16:22:09 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Jul 2018 17:22:09 +0300 Subject: [Gambas-user] Q) Again how to downgrade to earlier gambas version - continued postgres problems In-Reply-To: References: Message-ID: Downgrading should be done just like with any package in Linux. Remove current package and install the wanted. Or did you compile Gambas yourself? In that case I will give you different instructions. Jussi On Wed, Jul 4, 2018 at 1:30 AM, richard terry wrote: > Hi List, > > I've not found a solution to not being able to access my postgres database > with gambas 3.11, so I need to be able to downgrade to say 3.8.4 or 3.9 or > therabouts which I know runs. > > I've even tried installing mint on a new machine and the same problem - an > error message when I try and log on 'connection is not static'. > > I wonder if any kind soul could explain to me how to downgrade to an > earlier version. > > > Thanks > > > Richard > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Jul 4 16:24:51 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Jul 2018 17:24:51 +0300 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: You don't need to make any inheritance tree, just one additional class, which is separated from the other classes. Jussi On Wed, Jul 4, 2018 at 5:15 PM, PICCORO McKAY Lenz wrote: > 2018-07-04 10:06 GMT-04:00 Jussi Lahtinen : > >> What is the downside? It's really short code and there isn't practical >> limit for number of classes. >> > No, the problem it's that code resulted will be too complicated to newbie! > > i try to make very understable to new users and most simple as possible > the file tree of the proyect > > in the suggested behaviour, i will need make new tree with main clases and > parent clases.. must be like MVC now! will not look so simple > > well thanks any way jussi, now i know that are the only way! > > > >> >> >> Jussi >> > > >> >> On Wed, Jul 4, 2018 at 3:33 PM, PICCORO McKAY Lenz < >> mckaygerhard at gmail.com> wrote: >> >>> 2018-07-03 18:08 GMT-04:00 Jussi Lahtinen : >>> >>>> Create new class that inherits connection. Do the overriding there and >>>> use the new class instead of the connection class. >>>> >>> GRRRRR dgod damn ok ok but then i need to do two inherits in cascade!!! >>> conection->connection2-> and then collection->myclass and in my clkass >>> using the new connection.. seems too many classes 9.9u >>> >>> there-s some way to avoid that? >>> >>> >>> >>>> >>>> >>>> Jussi >>>> >>>> On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz < >>>> mckaygerhard at gmail.com> wrote: >>>> >>>>> i already made my db pool emulation in rudimentary efforts.. >>>>> >>>>> my class already inherits from collection, but now i wnats to >>>>> overrides the exec method of each stored connection, how to made it >>>>> >>>>> i attach the project >>>>> >>>>> >>>>> >>>>> Lenz McKAY Gerardo (PICCORO) >>>>> http://qgqlochekone.blogspot.com >>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 4 16:30:51 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 10:30:51 -0400 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: 2018-07-04 10:24 GMT-04:00 Jussi Lahtinen : > You don't need to make any inheritance tree, just one additional class, > which is separated from the other classes. > yeah that's the problem more clases.. more files... more complicated i'm making right now.. > > > Jussi > > On Wed, Jul 4, 2018 at 5:15 PM, PICCORO McKAY Lenz > wrote: > >> 2018-07-04 10:06 GMT-04:00 Jussi Lahtinen : >> >>> What is the downside? It's really short code and there isn't practical >>> limit for number of classes. >>> >> No, the problem it's that code resulted will be too complicated to newbie! >> >> i try to make very understable to new users and most simple as possible >> the file tree of the proyect >> >> in the suggested behaviour, i will need make new tree with main clases >> and parent clases.. must be like MVC now! will not look so simple >> >> well thanks any way jussi, now i know that are the only way! >> >> >> >>> >>> >>> Jussi >>> >> >> >>> >>> On Wed, Jul 4, 2018 at 3:33 PM, PICCORO McKAY Lenz < >>> mckaygerhard at gmail.com> wrote: >>> >>>> 2018-07-03 18:08 GMT-04:00 Jussi Lahtinen : >>>> >>>>> Create new class that inherits connection. Do the overriding there and >>>>> use the new class instead of the connection class. >>>>> >>>> GRRRRR dgod damn ok ok but then i need to do two inherits in >>>> cascade!!! conection->connection2-> and then collection->myclass and in my >>>> clkass using the new connection.. seems too many classes 9.9u >>>> >>>> there-s some way to avoid that? >>>> >>>> >>>> >>>>> >>>>> >>>>> Jussi >>>>> >>>>> On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz < >>>>> mckaygerhard at gmail.com> wrote: >>>>> >>>>>> i already made my db pool emulation in rudimentary efforts.. >>>>>> >>>>>> my class already inherits from collection, but now i wnats to >>>>>> overrides the exec method of each stored connection, how to made it >>>>>> >>>>>> i attach the project >>>>>> >>>>>> >>>>>> >>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>> http://qgqlochekone.blogspot.com >>>>>> >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>>> >>>>>> >>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 4 16:32:31 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 10:32:31 -0400 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Message-ID: in the bugtracker there's a picture do you see it? at http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-04 10:16 GMT-04:00 Beno?t Minisini : > Le 04/07/2018 ? 16:06, PICCORO McKAY Lenz a ?crit : > >> using postgres 8.4 yes, from ide, with 3.11, using ODBC agains postgres >> or sybase yes, but cannot make any quiery due resultset returned are null >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> > Strange, I don't have any problem like that... > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 4 16:37:21 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 10:37:21 -0400 Subject: [Gambas-user] can make a class with "_" at the begginig of? Message-ID: there/s any notation or i mean there's any consecuense if i used that? i created and seems work! but i not have such info related about naming convention of them in the wiki Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 4 16:41:06 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 10:41:06 -0400 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: i done but i do not work, how to property override the exce? the code at gambas source are in C so override the exec must be like? Private Function _exec(query as String) As Resulset ' how to obtain the current db object? Try super.Open ' i must retun a resul set, but then i onvike the super here? return super.exec(query) End it's that code right? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-04 10:30 GMT-04:00 PICCORO McKAY Lenz : > > 2018-07-04 10:24 GMT-04:00 Jussi Lahtinen : > >> You don't need to make any inheritance tree, just one additional class, >> which is separated from the other classes. >> > yeah that's the problem more clases.. more files... more complicated > > i'm making right now.. > > >> >> >> Jussi >> >> On Wed, Jul 4, 2018 at 5:15 PM, PICCORO McKAY Lenz < >> mckaygerhard at gmail.com> wrote: >> >>> 2018-07-04 10:06 GMT-04:00 Jussi Lahtinen : >>> >>>> What is the downside? It's really short code and there isn't practical >>>> limit for number of classes. >>>> >>> No, the problem it's that code resulted will be too complicated to >>> newbie! >>> >>> i try to make very understable to new users and most simple as possible >>> the file tree of the proyect >>> >>> in the suggested behaviour, i will need make new tree with main clases >>> and parent clases.. must be like MVC now! will not look so simple >>> >>> well thanks any way jussi, now i know that are the only way! >>> >>> >>> >>>> >>>> >>>> Jussi >>>> >>> >>> >>>> >>>> On Wed, Jul 4, 2018 at 3:33 PM, PICCORO McKAY Lenz < >>>> mckaygerhard at gmail.com> wrote: >>>> >>>>> 2018-07-03 18:08 GMT-04:00 Jussi Lahtinen : >>>>> >>>>>> Create new class that inherits connection. Do the overriding there >>>>>> and use the new class instead of the connection class. >>>>>> >>>>> GRRRRR dgod damn ok ok but then i need to do two inherits in >>>>> cascade!!! conection->connection2-> and then collection->myclass and in my >>>>> clkass using the new connection.. seems too many classes 9.9u >>>>> >>>>> there-s some way to avoid that? >>>>> >>>>> >>>>> >>>>>> >>>>>> >>>>>> Jussi >>>>>> >>>>>> On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz < >>>>>> mckaygerhard at gmail.com> wrote: >>>>>> >>>>>>> i already made my db pool emulation in rudimentary efforts.. >>>>>>> >>>>>>> my class already inherits from collection, but now i wnats to >>>>>>> overrides the exec method of each stored connection, how to made it >>>>>>> >>>>>>> i attach the project >>>>>>> >>>>>>> >>>>>>> >>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>> http://qgqlochekone.blogspot.com >>>>>>> >>>>>>> >>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>> ]---- >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>>> >>>>>> >>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Jul 4 16:43:40 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 4 Jul 2018 16:43:40 +0200 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Message-ID: Le 04/07/2018 ? 16:32, PICCORO McKAY Lenz a ?crit?: > in the bugtracker there's a picture do you see it? at > http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > We are talking about postgresql, not ODBC. -- Beno?t Minisini From jussi.lahtinen at gmail.com Wed Jul 4 16:48:01 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Jul 2018 17:48:01 +0300 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: Do you get any error messages? I'm not familiar with the component, so I may not be able to help. Jussi On Wed, Jul 4, 2018 at 5:41 PM, PICCORO McKAY Lenz wrote: > i done but i do not work, how to property override the exce? > > the code at gambas source are in C so override the exec must be like? > > Private Function _exec(query as String) As Resulset > > ' how to obtain the current db object? > Try super.Open > ' i must retun a resul set, but then i onvike the super here? > return super.exec(query) > > End > > it's that code right? > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2018-07-04 10:30 GMT-04:00 PICCORO McKAY Lenz : > >> >> 2018-07-04 10:24 GMT-04:00 Jussi Lahtinen : >> >>> You don't need to make any inheritance tree, just one additional class, >>> which is separated from the other classes. >>> >> yeah that's the problem more clases.. more files... more complicated >> >> i'm making right now.. >> >> >>> >>> >>> Jussi >>> >>> On Wed, Jul 4, 2018 at 5:15 PM, PICCORO McKAY Lenz < >>> mckaygerhard at gmail.com> wrote: >>> >>>> 2018-07-04 10:06 GMT-04:00 Jussi Lahtinen : >>>> >>>>> What is the downside? It's really short code and there isn't practical >>>>> limit for number of classes. >>>>> >>>> No, the problem it's that code resulted will be too complicated to >>>> newbie! >>>> >>>> i try to make very understable to new users and most simple as possible >>>> the file tree of the proyect >>>> >>>> in the suggested behaviour, i will need make new tree with main clases >>>> and parent clases.. must be like MVC now! will not look so simple >>>> >>>> well thanks any way jussi, now i know that are the only way! >>>> >>>> >>>> >>>>> >>>>> >>>>> Jussi >>>>> >>>> >>>> >>>>> >>>>> On Wed, Jul 4, 2018 at 3:33 PM, PICCORO McKAY Lenz < >>>>> mckaygerhard at gmail.com> wrote: >>>>> >>>>>> 2018-07-03 18:08 GMT-04:00 Jussi Lahtinen : >>>>>> >>>>>>> Create new class that inherits connection. Do the overriding there >>>>>>> and use the new class instead of the connection class. >>>>>>> >>>>>> GRRRRR dgod damn ok ok but then i need to do two inherits in >>>>>> cascade!!! conection->connection2-> and then collection->myclass and in my >>>>>> clkass using the new connection.. seems too many classes 9.9u >>>>>> >>>>>> there-s some way to avoid that? >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>> >>>>>>> Jussi >>>>>>> >>>>>>> On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz < >>>>>>> mckaygerhard at gmail.com> wrote: >>>>>>> >>>>>>>> i already made my db pool emulation in rudimentary efforts.. >>>>>>>> >>>>>>>> my class already inherits from collection, but now i wnats to >>>>>>>> overrides the exec method of each stored connection, how to made it >>>>>>>> >>>>>>>> i attach the project >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Lenz McKAY Gerardo (PICCORO) >>>>>>>> http://qgqlochekone.blogspot.com >>>>>>>> >>>>>>>> >>>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>>> ]---- >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>> ]---- >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>>> >>>>>> >>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 4 16:59:16 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 10:59:16 -0400 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Message-ID: i taking about that with postgres using direct connection or odbc give same problem since that commits.. before that commits everithing was working! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-04 10:43 GMT-04:00 Beno?t Minisini : > Le 04/07/2018 ? 16:32, PICCORO McKAY Lenz a ?crit : > >> in the bugtracker there's a picture do you see it? at >> http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- < >> http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4-> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> > We are talking about postgresql, not ODBC. > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Jul 4 17:28:08 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 4 Jul 2018 17:28:08 +0200 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Message-ID: Le 04/07/2018 ? 16:59, PICCORO McKAY Lenz a ?crit?: > i taking about that with postgres using direct connection or odbc give > same problem since that commits.. before that commits everithing was > working! > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > I use a postgresql database daily for my job, and I don't have any problem with my database connections and requests. With local Postgresql databases, distant MySQL databases and sqlite databases. What is the console output of your program when running it by setting the environment variable 'GB_DB_DEBUG' to '1'? -- Beno?t Minisini From mckaygerhard at gmail.com Wed Jul 4 18:09:36 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 12:09:36 -0400 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Message-ID: seems not so much using odbc with postgres got> gb.db.odbc.GetConnectedDBName: desc->name: NULL. using odbc with sybase got> gb.db.odbc.GetConnectedDBName: desc->name: NULL. gb.db.odbc.do_query: res 0xbfe8c2c4, dbc handle 0x8680eac, query 'select 'pepe' as ba' gb.db.odbc: Cannot do GetRecordCount() Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-04 11:28 GMT-04:00 Beno?t Minisini : > Le 04/07/2018 ? 16:59, PICCORO McKAY Lenz a ?crit : >> >> i taking about that with postgres using direct connection or odbc give >> same problem since that commits.. before that commits everithing was >> working! >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> > > I use a postgresql database daily for my job, and I don't have any problem > with my database connections and requests. With local Postgresql databases, > distant MySQL databases and sqlite databases. > > What is the console output of your program when running it by setting the > environment variable 'GB_DB_DEBUG' to '1'? > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From chrisml at deganius.de Wed Jul 4 18:16:41 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 4 Jul 2018 18:16:41 +0200 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist In-Reply-To: References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Message-ID: <3fc7e4af-35ba-f1e3-62c1-f5fde9e1088a@deganius.de> Am 04.07.2018 um 17:28 schrieb Beno?t Minisini: > I use a postgresql database daily for my job, and I don't have any > problem with my database connections and requests. With local Postgresql > databases, distant MySQL databases and sqlite databases. Same here. With Gambas 3.9 and 3.11 under Debian and Ubuntu. No problem at all. But I always use native connections (gb.db.postgresql, gb.db.mysql) never ODBC. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From kicking177 at gmail.com Wed Jul 4 19:41:35 2018 From: kicking177 at gmail.com (KKing) Date: Wed, 4 Jul 2018 18:41:35 +0100 Subject: [Gambas-user] Status of oficial debian packages at debian.org, are bad Message-ID: Any chance someone could translate that into (very) plain English please? My main concern is if it is suggesting newer versions of Gambas will not be available in the official Debian repositories. I have some clients who will only allow installations on their infrastructure from the official repos. K. From mckaygerhard at gmail.com Wed Jul 4 19:55:17 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 13:55:17 -0400 Subject: [Gambas-user] Status of oficial debian packages at debian.org, are bad In-Reply-To: References: Message-ID: the debian message are clear: gambas will be possible to remove from testing and unstable that means in the future there's no package of gambas... so i report to debian and also i made a specific debian repository following as most possible debian policy 2018-07-04 13:41 GMT-04:00 KKing : > Any chance someone could translate that into (very) plain English please? > > My main concern is if it is suggesting newer versions of Gambas will not be > available in the official Debian repositories. I have some clients who will > only allow installations on their infrastructure from the official repos. > > K. > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Wed Jul 4 21:13:16 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 15:13:16 -0400 Subject: [Gambas-user] emulated empty settings collection get a crash when write it Message-ID: In the past I was told to emulate the "null" and I did it based on the json class, but now I have the following problem I have my own Settings class but when I try to write, I get an error and a crash because some keys instead of getting the string I get a reference (as emulated in the json class) Of course the settings clas at write does not xpect to have any null key value, so that's the problem how can overrite the process to do not get a crash? or how to write those null keys into a empty string? i got at console that poutput: gb.settings: warning: unable to save settings: /home/general/Devel/gambasex/excore/exdatabase.conf: Settings.Save.204 Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted Object, got Pointer instead that due emulated null value based on json class of gambas Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From jussi.lahtinen at gmail.com Wed Jul 4 22:28:31 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 4 Jul 2018 23:28:31 +0300 Subject: [Gambas-user] emulated empty settings collection get a crash when write it In-Reply-To: References: Message-ID: Please show the code, which gives that error (it's error, not crash?). Jussi On Wed, Jul 4, 2018 at 10:13 PM, PICCORO McKAY Lenz wrote: > In the past I was told to emulate the "null" and I did it based on the > json class, but now I have the following problem > > I have my own Settings class but when I try to write, I get an error > and a crash because some keys instead of getting the string I get a > reference (as emulated in the json class) > > Of course the settings clas at write does not xpect to have any null > key value, so that's the problem > > how can overrite the process to do not get a crash? > or how to write those null keys into a empty string? > > i got at console that poutput: > > gb.settings: warning: unable to save settings: > /home/general/Devel/gambasex/excore/exdatabase.conf: Settings.Save.204 > Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted > Object, got Pointer instead > > that due emulated null value based on json class of gambas > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From taboege at gmail.com Wed Jul 4 22:46:15 2018 From: taboege at gmail.com (Tobias Boege) Date: Wed, 4 Jul 2018 22:46:15 +0200 Subject: [Gambas-user] emulated empty settings collection get a crash when write it In-Reply-To: References: Message-ID: <20180704204615.GB1010@highrise.localdomain> On Wed, 04 Jul 2018, PICCORO McKAY Lenz wrote: > In the past I was told to emulate the "null" and I did it based on the > json class, but now I have the following problem > > I have my own Settings class but when I try to write, I get an error > and a crash because some keys instead of getting the string I get a > reference (as emulated in the json class) > > Of course the settings clas at write does not xpect to have any null > key value, so that's the problem > > how can overrite the process to do not get a crash? > or how to write those null keys into a empty string? > > i got at console that poutput: > > gb.settings: warning: unable to save settings: > /home/general/Devel/gambasex/excore/exdatabase.conf: Settings.Save.204 > Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted > Object, got Pointer instead > > that due emulated null value based on json class of gambas > Interesting, I get a segfault in addition: $ cat a.gbs3 #!/usr/bin/env gbs3 Use "gb.settings" Public Sub Main() Dim p As Pointer = VarPtr(p) Settings["x"] = p Settings.Save End $ ./a.gbs3 Settings.Save.204: Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted Object, got Pointer instead Settings.Save.204 MMain.Main.9 Segmentation fault Besides this crash (which really shouldn't happen), you have to understand how the JSON.Null is implemented. Even if the crash didn't happen your code wouldn't work. This is the definition of JSON.Null which you supposedly copied into your thing: Property {Null} As Variant Private $vNull As Variant Public Sub _init() $vNull = VarPtr($vNull) End Private Function Null_Read() As Variant Return $vNull End JSON.Null is a "unique" value obtained as the pointer to the contents of some static variable during the loading of the JSON class. When you restart your program, you will get a different pointer. You can't store JSON.Null in a settings file because the next process reading it won't recognise that it was JSON.Null. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at gmail.com Wed Jul 4 22:51:25 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 16:51:25 -0400 Subject: [Gambas-user] emulated empty settings collection get a crash when write it In-Reply-To: References: Message-ID: well in gambas 3.11 got a crash in gambas << 3.10 got only warning code: Export Inherits Collection Property Read {Null} As Variant '' emulacion de null para que una lib collecion lo admita Private $vNull As Variant '' variable null emulada para que sea aceptada en una colleccion Public Sub _init() $vNull = VarPtr($vNull) cf = New Excfg End Private Function Null_Read() As Variant Return $vNull End ' sobreescritura de get, put y next par admitir null Public Sub _get(Key As String) As Variant Dim vVal As Variant vVal = Super[Key] If TypeOf(vVal) = gb.Pointer And If vVal = me.Null Then vVal = Null Return vVal End Public Sub _put(Value As Variant, Key As String) If IsNull(Value) Then Value = me.Null Super[Key] = Value End Public Sub _next() As Variant Super._next() If Not Enum.Stopped Then Return _get(Me.Key) End Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-04 16:28 GMT-04:00 Jussi Lahtinen : > Please show the code, which gives that error (it's error, not crash?). > > > Jussi > > On Wed, Jul 4, 2018 at 10:13 PM, PICCORO McKAY Lenz > wrote: >> >> In the past I was told to emulate the "null" and I did it based on the >> json class, but now I have the following problem >> >> I have my own Settings class but when I try to write, I get an error >> and a crash because some keys instead of getting the string I get a >> reference (as emulated in the json class) >> >> Of course the settings clas at write does not xpect to have any null >> key value, so that's the problem >> >> how can overrite the process to do not get a crash? >> or how to write those null keys into a empty string? >> >> i got at console that poutput: >> >> gb.settings: warning: unable to save settings: >> /home/general/Devel/gambasex/excore/exdatabase.conf: Settings.Save.204 >> Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted >> Object, got Pointer instead >> >> that due emulated null value based on json class of gambas >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Wed Jul 4 22:53:20 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 4 Jul 2018 16:53:20 -0400 Subject: [Gambas-user] emulated empty settings collection get a crash when write it In-Reply-To: <20180704204615.GB1010@highrise.localdomain> References: <20180704204615.GB1010@highrise.localdomain> Message-ID: Tibiqa of course i understan the problem.. that's why i want to override the write process to detect when got null and change to empty string at writing again i parse the current code> Export Inherits Collection Property Read {Null} As Variant '' emulacion de null para que una lib collecion lo admita Private $vNull As Variant '' variable null emulada para que sea aceptada en una colleccion Public Sub _init() $vNull = VarPtr($vNull) cf = New Excfg End Private Function Null_Read() As Variant Return $vNull End ' sobreescritura de get, put y next par admitir null Public Sub _get(Key As String) As Variant Dim vVal As Variant vVal = Super[Key] If TypeOf(vVal) = gb.Pointer And If vVal = me.Null Then vVal = Null Return vVal End Public Sub _put(Value As Variant, Key As String) If IsNull(Value) Then Value = me.Null Super[Key] = Value End Public Sub _next() As Variant Super._next() If Not Enum.Stopped Then Return _get(Me.Key) End Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-04 16:46 GMT-04:00 Tobias Boege : > On Wed, 04 Jul 2018, PICCORO McKAY Lenz wrote: >> In the past I was told to emulate the "null" and I did it based on the >> json class, but now I have the following problem >> >> I have my own Settings class but when I try to write, I get an error >> and a crash because some keys instead of getting the string I get a >> reference (as emulated in the json class) >> >> Of course the settings clas at write does not xpect to have any null >> key value, so that's the problem >> >> how can overrite the process to do not get a crash? >> or how to write those null keys into a empty string? >> >> i got at console that poutput: >> >> gb.settings: warning: unable to save settings: >> /home/general/Devel/gambasex/excore/exdatabase.conf: Settings.Save.204 >> Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted >> Object, got Pointer instead >> >> that due emulated null value based on json class of gambas >> > > Interesting, I get a segfault in addition: > > $ cat a.gbs3 > #!/usr/bin/env gbs3 > > Use "gb.settings" > > Public Sub Main() > Dim p As Pointer = VarPtr(p) > > Settings["x"] = p > Settings.Save > End > $ ./a.gbs3 > Settings.Save.204: Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted Object, got Pointer instead > Settings.Save.204 MMain.Main.9 > Segmentation fault > > Besides this crash (which really shouldn't happen), you have to > understand how the JSON.Null is implemented. Even if the crash > didn't happen your code wouldn't work. This is the definition of > JSON.Null which you supposedly copied into your thing: > > Property {Null} As Variant > Private $vNull As Variant > > Public Sub _init() > $vNull = VarPtr($vNull) > End > > Private Function Null_Read() As Variant > Return $vNull > End > > JSON.Null is a "unique" value obtained as the pointer to the contents > of some static variable during the loading of the JSON class. When > you restart your program, you will get a different pointer. You can't > store JSON.Null in a settings file because the next process reading it > won't recognise that it was JSON.Null. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From richard.h.terry at gmail.com Thu Jul 5 06:44:52 2018 From: richard.h.terry at gmail.com (Richard Terry) Date: Thu, 5 Jul 2018 14:44:52 +1000 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist - Solved? In-Reply-To: <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> Message-ID: <93356713-d092-50c1-7d43-e3e760ac12a7@gmail.com> Hi Benoit, I think I've found the problem and its in our code. We don't use the Gambas3 data connector, we wrote our own code to set up the connection back in 2008 when we started writing EasyGP, at least Ian did this part I took a look at it today and now the error message makes sense. Part of the code in our subroutine was: $hconn = New Connection ...... bla bla lots of code inbetween.....doing lots of things backend_pid = PQbackendPID(Connection.Handle)? [which now generates the message "Connection.Handle is not static"] I'm guessing this was a typo and should have read backend_pid = PQbackendPID($hconn.Handle) Its running now with this change and logs on ok, so hopefully this is all it was. Strange it worked for all those years, maybe something was 'tightened up' after version 3.9 Regards Richard On 04/07/18 23:44, Beno?t Minisini wrote: > Le 04/07/2018 ? 15:01, PICCORO McKAY Lenz a ?crit?: >> I think this bug are same as >> http://gambaswiki.org/bugtracker/edit?object=BUG.1331&from=L21haW4- >> >> >> Gambas 3.9 does not have that problem mentioned by richard, since the >> cited commits, some DB modules has problems since the commits >> https://gitlab.com/gambas/gambas/commit/aa67ba1309bde70e8b528be833ba06a8d124cbd1 >> >> and >> https://gitlab.com/gambas/gambas/commit/e07ac2e4f2588f62bb55aa2b8351a08a810c1586 >> >> some databases connection does not work >> >> By example some connection to postgres works for me but others not! >> and connectins to ODBC does also not work at all >> >> Gambas only connects to mysql that means connects to scholar used, >> mayor DBMS uses scalar grade such like sybase SAP, Oracle and Postgresql >> >> please please fix the bug for 3.11 >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> > > I have no problem with postgresql, mysql or sqlite. > > Can you connect to those databases from the IDE? > From g4mba5 at gmail.com Thu Jul 5 06:57:48 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 5 Jul 2018 06:57:48 +0200 Subject: [Gambas-user] Help with downgrading to lower version of gambas - postgres problems persist - Solved? In-Reply-To: <93356713-d092-50c1-7d43-e3e760ac12a7@gmail.com> References: <2d44b77c-7d1a-1517-7db7-f12687f0917d@gmail.com> <51b807bf-f5ee-c0e0-cc58-e796f35e9aa2@gmail.com> <93356713-d092-50c1-7d43-e3e760ac12a7@gmail.com> Message-ID: Le 05/07/2018 ? 06:44, Richard Terry a ?crit?: > Hi Benoit, > > I think I've found the problem and its in our code. > > We don't use the Gambas3 data connector, we wrote our own code to set up > the connection back in 2008 when we started writing EasyGP, at least Ian > did this part > > I took a look at it today and now the error message makes sense. > > Part of the code in our subroutine was: > > $hconn = New Connection > ...... bla bla lots of code inbetween.....doing lots of things > backend_pid = PQbackendPID(Connection.Handle)? [which now generates the > message "Connection.Handle is not static"] > > I'm guessing this was a typo and should have read backend_pid = > PQbackendPID($hconn.Handle) > > Its running now with this change and logs on ok, so hopefully this is > all it was. Strange it worked for all those years, maybe something was > 'tightened up' after version 3.9 > > Regards > > Richard > > Now you tell, I think there was a bug fix about that. Should search into the changelog to be sure. It worked because it called DB.Handle instead, which returns the handle of the "current" connection, usually the first one opened. Regards, -- Beno?t Minisini From g4mba5 at gmail.com Thu Jul 5 07:20:47 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 5 Jul 2018 07:20:47 +0200 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: Le 04/07/2018 ? 00:04, Jussi Lahtinen a ?crit?: > I was in impression that I got unfreed stuff with latest revision, but I > was wrong. > I'm still unable to figure out what crashes the JIT in the big project. > Hi, With commit https://gitlab.com/gambas/gambas/commit/d3c93a05e4a15f65bc02024dc52ed941bc567659, I can run your project without any crash and any error now. You can use 'clang' instead of 'gcc' by defining 'GB_JIT_CC=clang' too. 'clang' is between 2x and 5x faster to compile, but at the moment it fails on one test at line 492. A non-yet solved problem with huge integer constants. Regards, -- Beno?t Minisini From chrisml at deganius.de Thu Jul 5 15:44:18 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 5 Jul 2018 15:44:18 +0200 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: <78ba4427-e2ec-38e2-c1d6-f832b24636d5@deganius.de> Am 03.07.2018 um 23:59 schrieb PICCORO McKAY Lenz: > i already made my db pool emulation in rudimentary efforts.. I just saw the code. There is a caveat here. If you define connections in a collection you have to access them like so: Dim dbobj As New Dbex dbobj["conex2"].Exec ... This is annoying (and not very elegant) if you have to use a lot of connections in your program, because you always have to write sth like "conex2" by hand. If you do not use too much databases (say, up to 50) you could do it better using a static class with connections as properties, like in the example class I attached. Then you do not need to dim any connection and you can do sth simple like Dbs.Conex1.Exec(sQuery) Dbs.Conex2.Exec(sQuery) anywhere in your program without the need to Dim it. Also every connection exists just one time and lives as long as your program runs, this is very cool as it avoids the creation of multiple similar connections to the same db which can easily lead to deadlocks. Alles Gute Christof Thalhofer -- [x] nail here for new monitor -------------- next part -------------- A non-text attachment was scrubbed... Name: Dbs.class Type: application/x-java Size: 1707 bytes Desc: not available URL: From jussi.lahtinen at gmail.com Fri Jul 6 02:33:07 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Fri, 6 Jul 2018 03:33:07 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: Excellent work! However, I think there are some bugs still to be squished. Here is one. See attached project. Jussi On Thu, Jul 5, 2018 at 8:20 AM, Beno?t Minisini wrote: > Le 04/07/2018 ? 00:04, Jussi Lahtinen a ?crit : > >> I was in impression that I got unfreed stuff with latest revision, but I >> was wrong. >> I'm still unable to figure out what crashes the JIT in the big project. >> >> > Hi, > > With commit https://gitlab.com/gambas/gambas/commit/d3c93a05e4a15f65bc02 > 024dc52ed941bc567659, I can run your project without any crash and any > error now. > > You can use 'clang' instead of 'gcc' by defining 'GB_JIT_CC=clang' too. > 'clang' is between 2x and 5x faster to compile, but at the moment it fails > on one test at line 492. A non-yet solved problem with huge integer > constants. > > > Regards, > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NewJITtest-0.0.2.tar.gz Type: application/gzip Size: 11443 bytes Desc: not available URL: From jussi.lahtinen at gmail.com Fri Jul 6 02:36:31 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Fri, 6 Jul 2018 03:36:31 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: Note that the function pointer is given to the collection, not the function value! IE it is invalid code, which causes the crash. Jussi On Fri, Jul 6, 2018 at 3:33 AM, Jussi Lahtinen wrote: > Excellent work! > However, I think there are some bugs still to be squished. Here is one. > See attached project. > > > Jussi > > On Thu, Jul 5, 2018 at 8:20 AM, Beno?t Minisini wrote: > >> Le 04/07/2018 ? 00:04, Jussi Lahtinen a ?crit : >> >>> I was in impression that I got unfreed stuff with latest revision, but I >>> was wrong. >>> I'm still unable to figure out what crashes the JIT in the big project. >>> >>> >> Hi, >> >> With commit https://gitlab.com/gambas/gambas/commit/d3c93a05e4a15f65bc02 >> 024dc52ed941bc567659, I can run your project without any crash and any >> error now. >> >> You can use 'clang' instead of 'gcc' by defining 'GB_JIT_CC=clang' too. >> 'clang' is between 2x and 5x faster to compile, but at the moment it fails >> on one test at line 492. A non-yet solved problem with huge integer >> constants. >> >> >> Regards, >> >> -- >> Beno?t Minisini >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Fri Jul 6 03:29:49 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Fri, 6 Jul 2018 04:29:49 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: OK, here is something more serious. Crash with valid code. See the attachment. Also I think I find bug from the GNU compiler. Jussi On Fri, Jul 6, 2018 at 3:36 AM, Jussi Lahtinen wrote: > Note that the function pointer is given to the collection, not the > function value! IE it is invalid code, which causes the crash. > > > Jussi > > On Fri, Jul 6, 2018 at 3:33 AM, Jussi Lahtinen > wrote: > >> Excellent work! >> However, I think there are some bugs still to be squished. Here is one. >> See attached project. >> >> >> Jussi >> >> On Thu, Jul 5, 2018 at 8:20 AM, Beno?t Minisini wrote: >> >>> Le 04/07/2018 ? 00:04, Jussi Lahtinen a ?crit : >>> >>>> I was in impression that I got unfreed stuff with latest revision, but >>>> I was wrong. >>>> I'm still unable to figure out what crashes the JIT in the big project. >>>> >>>> >>> Hi, >>> >>> With commit https://gitlab.com/gambas/gambas/commit/d3c93a05e4a15f65bc02 >>> 024dc52ed941bc567659, I can run your project without any crash and any >>> error now. >>> >>> You can use 'clang' instead of 'gcc' by defining 'GB_JIT_CC=clang' too. >>> 'clang' is between 2x and 5x faster to compile, but at the moment it fails >>> on one test at line 492. A non-yet solved problem with huge integer >>> constants. >>> >>> >>> Regards, >>> >>> -- >>> Beno?t Minisini >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NewJITtest-3.tar.gz Type: application/gzip Size: 11688 bytes Desc: not available URL: From jussi.lahtinen at gmail.com Fri Jul 6 03:42:23 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Fri, 6 Jul 2018 04:42:23 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: Oh, the last project (NewJITtest-3) need to be ran in order to cause the crash. IE compiling alone does not crash anything. Jussi On Fri, Jul 6, 2018 at 4:29 AM, Jussi Lahtinen wrote: > OK, here is something more serious. Crash with valid code. See the > attachment. > Also I think I find bug from the GNU compiler. > > > Jussi > > On Fri, Jul 6, 2018 at 3:36 AM, Jussi Lahtinen > wrote: > >> Note that the function pointer is given to the collection, not the >> function value! IE it is invalid code, which causes the crash. >> >> >> Jussi >> >> On Fri, Jul 6, 2018 at 3:33 AM, Jussi Lahtinen >> wrote: >> >>> Excellent work! >>> However, I think there are some bugs still to be squished. Here is one. >>> See attached project. >>> >>> >>> Jussi >>> >>> On Thu, Jul 5, 2018 at 8:20 AM, Beno?t Minisini >>> wrote: >>> >>>> Le 04/07/2018 ? 00:04, Jussi Lahtinen a ?crit : >>>> >>>>> I was in impression that I got unfreed stuff with latest revision, but >>>>> I was wrong. >>>>> I'm still unable to figure out what crashes the JIT in the big project. >>>>> >>>>> >>>> Hi, >>>> >>>> With commit https://gitlab.com/gambas/gamb >>>> as/commit/d3c93a05e4a15f65bc02024dc52ed941bc567659, I can run your >>>> project without any crash and any error now. >>>> >>>> You can use 'clang' instead of 'gcc' by defining 'GB_JIT_CC=clang' too. >>>> 'clang' is between 2x and 5x faster to compile, but at the moment it fails >>>> on one test at line 492. A non-yet solved problem with huge integer >>>> constants. >>>> >>>> >>>> Regards, >>>> >>>> -- >>>> Beno?t Minisini >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Fri Jul 6 13:35:02 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 6 Jul 2018 13:35:02 +0200 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: <78ba4427-e2ec-38e2-c1d6-f832b24636d5@deganius.de> References: <78ba4427-e2ec-38e2-c1d6-f832b24636d5@deganius.de> Message-ID: <89c158e1-3378-e166-d5ba-d035e6dde0cd@deganius.de> Am 05.07.2018 um 15:44 schrieb Christof Thalhofer: > Then you do not need to dim any connection and you can do sth simple like > > Dbs.Conex1.Exec(sQuery) > > Dbs.Conex2.Exec(sQuery) Sorry, I saw an error in the class file. In Function Connex2_Read() $Connex1 = Factory(... should be $Connex2 = Factory(... I did not test the methods, is is an example to show the idea. Alles Gute Christof Thalhofer -- [x] nail here for new monitor From mckaygerhard at gmail.com Fri Jul 6 16:24:52 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 6 Jul 2018 10:24:52 -0400 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: <78ba4427-e2ec-38e2-c1d6-f832b24636d5@deganius.de> References: <78ba4427-e2ec-38e2-c1d6-f832b24636d5@deganius.de> Message-ID: 2018-07-05 9:44 GMT-04:00 Christof Thalhofer : > This is annoying (and not very elegant) if you have to use a lot of > connections in your program, because you always have to write sth like > "conex2" by hand. i want something like the DB connection naming service by oracle in Java! https://docs.oracle.com/cd/B28359_01/java.111/b31224/urls.htm#BEIDHCBA Of course less complicated! using statics names and developer just need to modify parameters, no code modifications need! but i like your idea, i can set a "Conex" property that choose a db name from the AllDbs pool, and have a factory that loop over the configuration file i'll try to do something with your class and report feedback later > > If you do not use too much databases (say, up to 50) you could do it > better using a static class with connections as properties, like in the > example class I attached. > > Then you do not need to dim any connection and you can do sth simple like > > Dbs.Conex1.Exec(sQuery) > > Dbs.Conex2.Exec(sQuery) > > anywhere in your program without the need to Dim it. > > Also every connection exists just one time and lives as long as your > program runs, this is very cool as it avoids the creation of multiple > similar connections to the same db which can easily lead to deadlocks. > > > Alles Gute > > Christof Thalhofer > > -- > [x] nail here for new monitor > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From chrisml at deganius.de Fri Jul 6 18:34:14 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 6 Jul 2018 18:34:14 +0200 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: <78ba4427-e2ec-38e2-c1d6-f832b24636d5@deganius.de> Message-ID: Am 06.07.2018 um 16:24 schrieb PICCORO McKAY Lenz: > but i like your idea, This is the way I organize all db connections in my different projects. Is is very easy because when I do programming I can write "Dbs." and at that point all possible connections with descriptions pop up in the IDE. The second thing is, that a connection is always unique so that all things that are executed within that connection are serialized. The only thing you must be aware of is the following: If you start a sql transaction in one part of your program with such a connection and execute other db stuff in other parts of your program with the same connection in parallel this also is inside this one sql transaction. If you do a rollback all stuff is gone. This needs some discipline as a programmer. But this is always the case with sql transactions ... Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From mckaygerhard at gmail.com Fri Jul 6 20:06:34 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 6 Jul 2018 14:06:34 -0400 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: <78ba4427-e2ec-38e2-c1d6-f832b24636d5@deganius.de> Message-ID: 2018-07-06 12:34 GMT-04:00 Christof Thalhofer : > This is the way I organize all db connections in my different projects. > Is is very easy because when I do programming I can write that's the problem the "I" . > If you start a sql transaction in one part of your program with such a > connection and execute other db stuff in other parts of your program > with the same connection in parallel this also is inside this one sql > transaction. that's why i need a profile emaulation connections like oracle naming scheme does! > > If you do a rollback all stuff is gone. > > This needs some discipline as a programmer. But this is always the case > with sql transactions ... > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Fri Jul 6 20:12:58 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 6 Jul 2018 14:12:58 -0400 Subject: [Gambas-user] can i specify a path to my modules or libs please how? In-Reply-To: <20180417194621.GH926@highrise.localdomain> References: <20180417162404.GG926@highrise.localdomain> <20180417194621.GH926@highrise.localdomain> Message-ID: i dont see documentation about the Component.Load in the wiki about paths! if i specify Component.Load("../../thevendor/mylib:0.0.1") will search two directoryes up from > $XDG_DATA_HOME/gambas3/lib/ ?? 2018-04-17 15:46 GMT-04:00 Tobias Boege : > program. The most dynamic you get is using > > Component.Load(":/:") > > For example if you have a library "testlib" with version 0.0 and > vendor "tboege", there will be a corresponding file > > $XDG_DATA_HOME/gambas3/lib/tboege/testlib:0.0.gambas > > and you can load it at runtime with: > > Component.Load(":tboege/testlib:0.0") > > This loads the library into your Gambas process. Note that since the > compiler didn't know that you will load this library, you can't use > class names exported by it directly in your main project. Either forward- > declare them or look it up using Class.Load(). > > The only requirement to this method is that the library is compiled > into a .gambas file and installed in the appropriate search directory. > > [ There is a comment in the source code that says you can also place > the libraries inside the project directory without a vendor. Those will > be found too. This is apparently for backwards compatibility and isn't > "dynamic" anyway, I think. ] in that case of "inside the project" will work if i use "../../" ? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > -------------------------------------------------- > > This is the Gambas Mailing List: > https://lists.gambas-basic.org/listinfo/user > > Search the list: > https://lists.gambas-basic.org/cgi-bin/search.cgi > > Hosted by https://www.hostsharing.net From mckaygerhard at gmail.com Fri Jul 6 20:16:47 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 6 Jul 2018 14:16:47 -0400 Subject: [Gambas-user] how its search logic of Class.Load and Component.Load ? please! Message-ID: about the Component.Load("name") or Class.Load("") if i specify Component.Load("../../thevendor/mylib:0.0.1") will search two directoryes up from > $XDG_DATA_HOME/gambas3/lib/ ???? ?? of if my library are in case of "inside the project" will work if i use "../../" ? from the library? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at gmail.com Fri Jul 6 21:40:11 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 6 Jul 2018 15:40:11 -0400 Subject: [Gambas-user] how to detect if a class has a .text property? In-Reply-To: <7cb1f0d2364228d203a255a6c0504e1c@tiscali.it> References: <54bc7e19ef8d550be7a36592df645e51@tiscali.it> <7cb1f0d2364228d203a255a6c0504e1c@tiscali.it> Message-ID: dont work, said: Unkown symbol "symbols" it's a control! i must detect first if the object its a control! how to do? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-06-27 19:09 GMT-04:00 : > Why do not you try them ? :-) > > Il 27.06.2018 21:24 PICCORO McKAY Lenz ha scritto: > > 2018-06-27 14:51 GMT-04:00 : >> >> cl = Class.Load("Button") > > umm i assumed that cl it's equal to my already passed object a argument > right? > > >> >> >> For Each s In cl.Symbols >> Print s >> Next > > so then one of thos will print "Text" i guess? > > >> >> + + + + + + + + + >> vuott >> >> Il 27.06.2018 19:25 PICCORO McKAY Lenz ha scritto: >> >> in the following code i want to detect independent of the type if the ref >> obj has a input text field and are empty.. >> >> how can i do that? >> >> Public Function required(objinput As Variant) As Variant >> >> If TypeOf(objinput) = gb.String Then >> If Comp(objinput, "", gb.IgnoreCase) = 0 Then >> Return "is empty" >> Endif >> Endif >> >> If TypeOf(objinput) = gb.Class Then >> If Comp(objinput.Text, "", gb.IgnoreCase) = 0 Then ' >> Return "is empty" >> Endif >> Endif >> >> Return "is not empty? could not detect any input text" >> end >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> >> >> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >> SCOPRI DI PIU? http://tisca.li/MailHPMobile >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > > Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. > Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! > SCOPRI DI PIU? http://tisca.li/MailHPMobile > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From criguada at gmail.com Fri Jul 6 21:41:46 2018 From: criguada at gmail.com (Cristiano Guadagnino) Date: Fri, 6 Jul 2018 21:41:46 +0200 Subject: [Gambas-user] segfault in gambas Message-ID: Hi all, yesterday I tried to use Gambas after a few weeks without use, only to discover that it would not start due to a segmentation fault. I am using openSUSE Tumbleweed 64bit. The strange thing is that it segfaults on my laptop (Thinkpad T440) while on my desktop, which has the same OS, it does not crash. I was already tempted to try the new 3.11 release (the official Tumb?eweed repo only has 3.10), so I took the plunge and configured the Gambas repository by munix9 and updated all gambas packages to 3.11. Unfortunately, Gambas still crashes :-( Here is what I see when launching Gambas: cristiano at xmper8q3 [~]$ gambas3 libpng warning: iCCP: known incorrect sRGB profile libpng warning: iCCP: known incorrect sRGB profile Errore di segmentazione (core dump creato) Sorry for the messages in italian. Here is a report of some of the crashes (the first three are with gambas 3.10, the others are gambas 3.11): cristiano at xmper8q3 [~]$ dmesg|grep segfault [ 3693.378157] gbr3[2659]: segfault at 563e000000a0 ip 00007f2b89d3f4d5 sp 00007ffd1c145700 error 4 in libQt5Gui.so.5.11.1[7f2b89c0b000+565000] [ 3737.160215] gbr3[5041]: segfault at 560a000000a0 ip 00007f887f3ee4d5 sp 00007ffe7285fb90 error 4 in libQt5Gui.so.5.11.1[7f887f2ba000+565000] [ 5161.148151] gbr3[19032]: segfault at 5629000000a0 ip 00007fa2958744d5 sp 00007fff4a76bf70 error 4 in libQt5Gui.so.5.11.1[7fa295740000+565000] [11810.611630] gbr3[20944]: segfault at 55a6000000a0 ip 00007f81cfc004d5 sp 00007ffc8b73af80 error 4 in libQt5Gui.so.5.11.1[7f81cfacc000+565000] [11830.979328] gbr3[21129]: segfault at 5619000000a0 ip 00007f41a371d4d5 sp 00007ffcccd10190 error 4 in libQt5Gui.so.5.11.1[7f41a35e9000+565000] [11839.618559] gbr3[21228]: segfault at 55e6000000a0 ip 00007f1ba3ba24d5 sp 00007ffeb39a9e00 error 4 in libQt5Gui.so.5.11.1[7f1ba3a6e000+565000] [11889.286212] gbr3[21636]: segfault at 5582000000a0 ip 00007f830fb684d5 sp 00007ffc4f6f00b0 error 4 in libQt5Gui.so.5.11.1[7f830fa34000+565000] What could be causing this? Another question: while updating to 3.11 I noticed that these packages are missing in the new release: - gambas3-gb-geom - gambas3-gb-gui - gambas3-gb-maps - gambas3-script Is it correct? Or should they be present? Thank you in advance. Cris -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Fri Jul 6 21:46:02 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Fri, 6 Jul 2018 22:46:02 +0300 Subject: [Gambas-user] how to detect if a class has a .text property? In-Reply-To: References: <54bc7e19ef8d550be7a36592df645e51@tiscali.it> <7cb1f0d2364228d203a255a6c0504e1c@tiscali.it> Message-ID: You haven't declared the "cl" as class, as Vuott advice you to do, Jussi On Fri, Jul 6, 2018 at 10:40 PM, PICCORO McKAY Lenz wrote: > dont work, said: Unkown symbol "symbols" > > it's a control! i must detect first if the object its a control! how to do? > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-06-27 19:09 GMT-04:00 : > > Why do not you try them ? :-) > > > > Il 27.06.2018 21:24 PICCORO McKAY Lenz ha scritto: > > > > 2018-06-27 14:51 GMT-04:00 : > >> > >> cl = Class.Load("Button") > > > > umm i assumed that cl it's equal to my already passed object a argument > > right? > > > > > >> > >> > >> For Each s In cl.Symbols > >> Print s > >> Next > > > > so then one of thos will print "Text" i guess? > > > > > >> > >> + + + + + + + + + > >> vuott > >> > >> Il 27.06.2018 19:25 PICCORO McKAY Lenz ha scritto: > >> > >> in the following code i want to detect independent of the type if the > ref > >> obj has a input text field and are empty.. > >> > >> how can i do that? > >> > >> Public Function required(objinput As Variant) As Variant > >> > >> If TypeOf(objinput) = gb.String Then > >> If Comp(objinput, "", gb.IgnoreCase) = 0 Then > >> Return "is empty" > >> Endif > >> Endif > >> > >> If TypeOf(objinput) = gb.Class Then > >> If Comp(objinput.Text, "", gb.IgnoreCase) = 0 Then ' > >> Return "is empty" > >> Endif > >> Endif > >> > >> Return "is not empty? could not detect any input text" > >> end > >> > >> > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> > >> > >> > >> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. > >> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! > >> SCOPRI DI PIU? http://tisca.li/MailHPMobile > >> > >> > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > > > > > > > > Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. > > Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! > > SCOPRI DI PIU? http://tisca.li/MailHPMobile > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Fri Jul 6 22:00:03 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Fri, 6 Jul 2018 22:00:03 +0200 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: <78ba4427-e2ec-38e2-c1d6-f832b24636d5@deganius.de> Message-ID: Am 06.07.2018 um 20:06 schrieb PICCORO McKAY Lenz: > 2018-07-06 12:34 GMT-04:00 Christof Thalhofer : >> This is the way I organize all db connections in my different projects. >> Is is very easy because when I do programming I can write > that's the problem the "I" . Why? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From mckaygerhard at gmail.com Fri Jul 6 22:05:19 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 6 Jul 2018 16:05:19 -0400 Subject: [Gambas-user] how to detect if a class has a .text property? In-Reply-To: References: <54bc7e19ef8d550be7a36592df645e51@tiscali.it> <7cb1f0d2364228d203a255a6c0504e1c@tiscali.it> Message-ID: but i already have a object parsed from another .. its nonsense if i cannot applied to a control or autodetect a control! or well how to detect if a already passed control from another calss to a module that checks if a text are empty? on their respoective Text symbol if there any ? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-06 15:46 GMT-04:00 Jussi Lahtinen : > You haven't declared the "cl" as class, as Vuott advice you to do, > > > Jussi > > On Fri, Jul 6, 2018 at 10:40 PM, PICCORO McKAY Lenz > wrote: >> >> dont work, said: Unkown symbol "symbols" >> >> it's a control! i must detect first if the object its a control! how to >> do? >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2018-06-27 19:09 GMT-04:00 : >> > Why do not you try them ? :-) >> > >> > Il 27.06.2018 21:24 PICCORO McKAY Lenz ha scritto: >> > >> > 2018-06-27 14:51 GMT-04:00 : >> >> >> >> cl = Class.Load("Button") >> > >> > umm i assumed that cl it's equal to my already passed object a argument >> > right? >> > >> > >> >> >> >> >> >> For Each s In cl.Symbols >> >> Print s >> >> Next >> > >> > so then one of thos will print "Text" i guess? >> > >> > >> >> >> >> + + + + + + + + + >> >> vuott >> >> >> >> Il 27.06.2018 19:25 PICCORO McKAY Lenz ha scritto: >> >> >> >> in the following code i want to detect independent of the type if the >> >> ref >> >> obj has a input text field and are empty.. >> >> >> >> how can i do that? >> >> >> >> Public Function required(objinput As Variant) As Variant >> >> >> >> If TypeOf(objinput) = gb.String Then >> >> If Comp(objinput, "", gb.IgnoreCase) = 0 Then >> >> Return "is empty" >> >> Endif >> >> Endif >> >> >> >> If TypeOf(objinput) = gb.Class Then >> >> If Comp(objinput.Text, "", gb.IgnoreCase) = 0 Then ' >> >> Return "is empty" >> >> Endif >> >> Endif >> >> >> >> Return "is not empty? could not detect any input text" >> >> end >> >> >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> >> http://qgqlochekone.blogspot.com >> >> >> >> >> >> >> >> >> >> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >> >> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >> >> SCOPRI DI PIU? http://tisca.li/MailHPMobile >> >> >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> ]---- >> >> >> > >> > >> > >> > Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >> > Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >> > SCOPRI DI PIU? http://tisca.li/MailHPMobile >> > >> > >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From jussi.lahtinen at gmail.com Fri Jul 6 22:17:45 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Fri, 6 Jul 2018 23:17:45 +0300 Subject: [Gambas-user] how to detect if a class has a .text property? In-Reply-To: References: <54bc7e19ef8d550be7a36592df645e51@tiscali.it> <7cb1f0d2364228d203a255a6c0504e1c@tiscali.it> Message-ID: It doesn't make any difference whether it is control or not. Controls are objects. The code Vuott already showed will work. The symbol "symbols" is in the class class, not in the object. If you want to return class of an object, you do it this way: Dim cl As Class Dim s As String cl = Object.Class(hYourObject) For Each s In cl.Symbols Print s Next Jussi On Fri, Jul 6, 2018 at 11:05 PM, PICCORO McKAY Lenz wrote: > but i already have a object parsed from another .. its nonsense if i > cannot applied to a control or autodetect a control! > > or well how to detect if a already passed control from another calss > to a module that checks if a text are empty? on their respoective > Text symbol if there any ? > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-06 15:46 GMT-04:00 Jussi Lahtinen : > > You haven't declared the "cl" as class, as Vuott advice you to do, > > > > > > Jussi > > > > On Fri, Jul 6, 2018 at 10:40 PM, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> > > wrote: > >> > >> dont work, said: Unkown symbol "symbols" > >> > >> it's a control! i must detect first if the object its a control! how to > >> do? > >> > >> > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> > >> 2018-06-27 19:09 GMT-04:00 : > >> > Why do not you try them ? :-) > >> > > >> > Il 27.06.2018 21:24 PICCORO McKAY Lenz ha scritto: > >> > > >> > 2018-06-27 14:51 GMT-04:00 : > >> >> > >> >> cl = Class.Load("Button") > >> > > >> > umm i assumed that cl it's equal to my already passed object a > argument > >> > right? > >> > > >> > > >> >> > >> >> > >> >> For Each s In cl.Symbols > >> >> Print s > >> >> Next > >> > > >> > so then one of thos will print "Text" i guess? > >> > > >> > > >> >> > >> >> + + + + + + + + + > >> >> vuott > >> >> > >> >> Il 27.06.2018 19:25 PICCORO McKAY Lenz ha scritto: > >> >> > >> >> in the following code i want to detect independent of the type if the > >> >> ref > >> >> obj has a input text field and are empty.. > >> >> > >> >> how can i do that? > >> >> > >> >> Public Function required(objinput As Variant) As Variant > >> >> > >> >> If TypeOf(objinput) = gb.String Then > >> >> If Comp(objinput, "", gb.IgnoreCase) = 0 Then > >> >> Return "is empty" > >> >> Endif > >> >> Endif > >> >> > >> >> If TypeOf(objinput) = gb.Class Then > >> >> If Comp(objinput.Text, "", gb.IgnoreCase) = 0 Then ' > >> >> Return "is empty" > >> >> Endif > >> >> Endif > >> >> > >> >> Return "is not empty? could not detect any input text" > >> >> end > >> >> > >> >> > >> >> Lenz McKAY Gerardo (PICCORO) > >> >> http://qgqlochekone.blogspot.com > >> >> > >> >> > >> >> > >> >> > >> >> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per > sempre. > >> >> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! > >> >> SCOPRI DI PIU? http://tisca.li/MailHPMobile > >> >> > >> >> > >> >> > >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > >> >> ]---- > >> >> > >> > > >> > > >> > > >> > Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per > sempre. > >> > Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! > >> > SCOPRI DI PIU? http://tisca.li/MailHPMobile > >> > > >> > > >> > > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Fri Jul 6 22:38:14 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 6 Jul 2018 16:38:14 -0400 Subject: [Gambas-user] how to detect if a class has a .text property? In-Reply-To: References: <54bc7e19ef8d550be7a36592df645e51@tiscali.it> <7cb1f0d2364228d203a255a6c0504e1c@tiscali.it> Message-ID: thanks, now works, maybe in the wiki we need those little pieces of code! but quite strange, after coupe of hours today trying machine said "cannot start out of memory" at the gambas ide! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-06 16:17 GMT-04:00 Jussi Lahtinen : > It doesn't make any difference whether it is control or not. Controls are > objects. The code Vuott already showed will work. The symbol "symbols" is in > the class class, not in the object. > If you want to return class of an object, you do it this way: > > Dim cl As Class > Dim s As String > > cl = Object.Class(hYourObject) > > For Each s In cl.Symbols > Print s > Next > > > > Jussi > > On Fri, Jul 6, 2018 at 11:05 PM, PICCORO McKAY Lenz > wrote: >> >> but i already have a object parsed from another .. its nonsense if i >> cannot applied to a control or autodetect a control! >> >> or well how to detect if a already passed control from another calss >> to a module that checks if a text are empty? on their respoective >> Text symbol if there any ? >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2018-07-06 15:46 GMT-04:00 Jussi Lahtinen : >> > You haven't declared the "cl" as class, as Vuott advice you to do, >> > >> > >> > Jussi >> > >> > On Fri, Jul 6, 2018 at 10:40 PM, PICCORO McKAY Lenz >> > >> > wrote: >> >> >> >> dont work, said: Unkown symbol "symbols" >> >> >> >> it's a control! i must detect first if the object its a control! how to >> >> do? >> >> >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> >> http://qgqlochekone.blogspot.com >> >> >> >> >> >> 2018-06-27 19:09 GMT-04:00 : >> >> > Why do not you try them ? :-) >> >> > >> >> > Il 27.06.2018 21:24 PICCORO McKAY Lenz ha scritto: >> >> > >> >> > 2018-06-27 14:51 GMT-04:00 : >> >> >> >> >> >> cl = Class.Load("Button") >> >> > >> >> > umm i assumed that cl it's equal to my already passed object a >> >> > argument >> >> > right? >> >> > >> >> > >> >> >> >> >> >> >> >> >> For Each s In cl.Symbols >> >> >> Print s >> >> >> Next >> >> > >> >> > so then one of thos will print "Text" i guess? >> >> > >> >> > >> >> >> >> >> >> + + + + + + + + + >> >> >> vuott >> >> >> >> >> >> Il 27.06.2018 19:25 PICCORO McKAY Lenz ha scritto: >> >> >> >> >> >> in the following code i want to detect independent of the type if >> >> >> the >> >> >> ref >> >> >> obj has a input text field and are empty.. >> >> >> >> >> >> how can i do that? >> >> >> >> >> >> Public Function required(objinput As Variant) As Variant >> >> >> >> >> >> If TypeOf(objinput) = gb.String Then >> >> >> If Comp(objinput, "", gb.IgnoreCase) = 0 Then >> >> >> Return "is empty" >> >> >> Endif >> >> >> Endif >> >> >> >> >> >> If TypeOf(objinput) = gb.Class Then >> >> >> If Comp(objinput.Text, "", gb.IgnoreCase) = 0 Then ' >> >> >> Return "is empty" >> >> >> Endif >> >> >> Endif >> >> >> >> >> >> Return "is not empty? could not detect any input text" >> >> >> end >> >> >> >> >> >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> >> >> http://qgqlochekone.blogspot.com >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per >> >> >> sempre. >> >> >> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >> >> >> SCOPRI DI PIU? http://tisca.li/MailHPMobile >> >> >> >> >> >> >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> >> ]---- >> >> >> >> >> > >> >> > >> >> > >> >> > Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per >> >> > sempre. >> >> > Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >> >> > SCOPRI DI PIU? http://tisca.li/MailHPMobile >> >> > >> >> > >> >> > >> >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> > ]---- >> >> > >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> ]---- >> > >> > >> > >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From g4mba5 at gmail.com Sat Jul 7 00:08:39 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 7 Jul 2018 00:08:39 +0200 Subject: [Gambas-user] segfault in gambas In-Reply-To: References: Message-ID: Le 06/07/2018 ? 21:41, Cristiano Guadagnino a ?crit?: > Hi all, > yesterday I tried to use Gambas after a few weeks without use, only to > discover that it would not start due to a segmentation fault. > I am using openSUSE Tumbleweed 64bit. The strange thing is that it > segfaults on my laptop (Thinkpad T440) while on my desktop, which has > the same OS, it does not crash. > > I was already tempted to try the new 3.11 release (the official > Tumb?eweed repo only has 3.10), so I took the plunge and configured the > Gambas repository by munix9 and updated all gambas packages to 3.11. > Unfortunately, Gambas still crashes :-( > > Here is what I see when launching Gambas: > > cristiano at xmper8q3 [~]$ gambas3 > libpng warning: iCCP: known incorrect sRGB profile > libpng warning: iCCP: known incorrect sRGB profile > Errore di segmentazione (core dump creato) > > Sorry for the messages in italian. > > Here is a report of some of the crashes (the first three are with gambas > 3.10, the others are gambas 3.11): > > cristiano at xmper8q3 [~]$ dmesg|grep segfault > [ 3693.378157] gbr3[2659]: segfault at 563e000000a0 ip 00007f2b89d3f4d5 sp 00007ffd1c145700 error 4 in libQt5Gui.so.5.11.1[7f2b89c0b000+565000] > [ 3737.160215] gbr3[5041]: segfault at 560a000000a0 ip 00007f887f3ee4d5 sp 00007ffe7285fb90 error 4 in libQt5Gui.so.5.11.1[7f887f2ba000+565000] > [ 5161.148151] gbr3[19032]: segfault at 5629000000a0 ip 00007fa2958744d5 sp 00007fff4a76bf70 error 4 in libQt5Gui.so.5.11.1[7fa295740000+565000] > [11810.611630] gbr3[20944]: segfault at 55a6000000a0 ip 00007f81cfc004d5 sp 00007ffc8b73af80 error 4 in libQt5Gui.so.5.11.1[7f81cfacc000+565000] > [11830.979328] gbr3[21129]: segfault at 5619000000a0 ip 00007f41a371d4d5 sp 00007ffcccd10190 error 4 in libQt5Gui.so.5.11.1[7f41a35e9000+565000] > [11839.618559] gbr3[21228]: segfault at 55e6000000a0 ip 00007f1ba3ba24d5 sp 00007ffeb39a9e00 error 4 in libQt5Gui.so.5.11.1[7f1ba3a6e000+565000] > [11889.286212] gbr3[21636]: segfault at 5582000000a0 ip 00007f830fb684d5 sp 00007ffc4f6f00b0 error 4 in libQt5Gui.so.5.11.1[7f830fa34000+565000] > > What could be causing this? > > Another question: while updating to 3.11 I noticed that these packages > are missing in the new release: > - gambas3-gb-geom > - gambas3-gb-gui > - gambas3-gb-maps > - gambas3-script > > Is it correct? Or should they be present? > > Thank you in advance. > Cris > To get some useful information about the crash, you have to follow what is explained on the web site: 1) Compile Gambas with debugging information enabled. 2) Run the IDE from the command-line with gdb until it crashes. 3) Print the stack backtrage and send it. Regards, -- Beno?t Minisini From t.lee.davidson at gmail.com Sat Jul 7 15:28:28 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sat, 7 Jul 2018 09:28:28 -0400 Subject: [Gambas-user] segfault in gambas In-Reply-To: References: Message-ID: <5decd231-654d-31c1-b101-f9b7139fd34c@gmail.com> On 07/06/2018 03:41 PM, Cristiano Guadagnino wrote: > Hi all, > yesterday I tried to use Gambas after a few weeks without use, only to discover that it would not start due to a segmentation fault. > I am using openSUSE Tumbleweed 64bit. The strange thing is that it segfaults on my laptop (Thinkpad T440) while on my desktop, > which has the same OS, it does not crash. > > I was already tempted to try the new 3.11 release (the official Tumb?eweed repo only has 3.10), so I took the plunge and > configured the Gambas repository by munix9 and updated all gambas packages to 3.11. > Unfortunately, Gambas still crashes :-( > [snip] > > Here is a report of some of the crashes (the first three are with gambas 3.10, the others are gambas 3.11): > > cristiano at xmper8q3 [~]$ dmesg|grep segfault > [ 3693.378157] gbr3[2659]: segfault at 563e000000a0 ip 00007f2b89d3f4d5 sp 00007ffd1c145700 error 4 in libQt5Gui.so.5.11.1[7f2b89c0b000+565000] > [ 3737.160215] gbr3[5041]: segfault at 560a000000a0 ip 00007f887f3ee4d5 sp 00007ffe7285fb90 error 4 in libQt5Gui.so.5.11.1[7f887f2ba000+565000] > [ 5161.148151] gbr3[19032]: segfault at 5629000000a0 ip 00007fa2958744d5 sp 00007fff4a76bf70 error 4 in libQt5Gui.so.5.11.1[7fa295740000+565000] > [11810.611630] gbr3[20944]: segfault at 55a6000000a0 ip 00007f81cfc004d5 sp 00007ffc8b73af80 error 4 in libQt5Gui.so.5.11.1[7f81cfacc000+565000] > [11830.979328] gbr3[21129]: segfault at 5619000000a0 ip 00007f41a371d4d5 sp 00007ffcccd10190 error 4 in libQt5Gui.so.5.11.1[7f41a35e9000+565000] > [11839.618559] gbr3[21228]: segfault at 55e6000000a0 ip 00007f1ba3ba24d5 sp 00007ffeb39a9e00 error 4 in libQt5Gui.so.5.11.1[7f1ba3a6e000+565000] > [11889.286212] gbr3[21636]: segfault at 5582000000a0 ip 00007f830fb684d5 sp 00007ffc4f6f00b0 error 4 in libQt5Gui.so.5.11.1[7f830fa34000+565000] > > What could be causing this? It is difficult to tell especially since two different machines with the same OS behave differently. Perhaps check the relative versions of libQt5Gui? On openSUSE Leap 42.3, `locate libQt5Gui.so` gives: /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Gui.so.5 /usr/lib64/libQt5Gui.so.5.6 /usr/lib64/libQt5Gui.so.5.6.2 I have no problem with Gambas3 v3.11.90 from the home:munix9:unstable repo. > > Another question: while updating to 3.11 I noticed that these packages are missing in the new release: > - gambas3-gb-geom > - gambas3-gb-gui > - gambas3-gb-maps > - gambas3-script > > Is it correct? Or should they be present? > I cannot give you a definitive answer on this. According to what's available in the repos (Main Repository, Education, & munix9[:unstable]), it appears that: 1. gambas3-gb-geom & gambas3-gb-maps were dropped after v3.10, and they are not listed at http://gambaswiki.org/wiki/comp; 2. gambas3-scripter apparently replaced gambas3-script; and 3. even though gambas3-gb-gui is not specifically available in the repos, it is listed as a component on the wiki and is available in the IDE Project Properties dialog. Interestingly, all five of the components marked as "Deprecated" on the wiki are still available even in v3.11. -- Lee From g4mba5 at gmail.com Sun Jul 8 08:29:14 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 8 Jul 2018 08:29:14 +0200 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: <9094d73b-c039-43d7-7e24-1fd2f974ad54@gmail.com> Le 06/07/2018 ? 03:42, Jussi Lahtinen a ?crit?: > Oh, the last project (NewJITtest-3) need to be ran in order to cause the > crash. IE compiling alone does not crash anything. > > > Jussi > It should be fixed in the last commit. Note that compiling has nothing to do with JIT. JIT compiling is done at runtime, and then you can get a crash in the JIT compiler, or in the code generated by the JIT compiler. You know that by setting GB_JIT_DEBUG=1. Then you can see if the crash occurs during the JIT code generation or after. Regards, -- Beno?t Minisini From g4mba5 at gmail.com Sun Jul 8 08:32:42 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 8 Jul 2018 08:32:42 +0200 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: Message-ID: <4bb689d5-ce94-9aa7-94e1-5a23a7dba8a4@gmail.com> Le 06/07/2018 ? 03:29, Jussi Lahtinen a ?crit?: > Also I think I find bug from the GNU compiler. > Mmm... I would be surprised. I have found a weird behaviour of gcc: if I tell gcc that the interpreter function that throws errors never returns (the syntax is '__attribute__((noreturn))', then gcc becomes mad and 10x slower to compile the JIT code. But I'm not sure that gcc would recognize that as a bug if I report it. Regards, -- Beno?t Minisini From g4mba5 at gmail.com Sun Jul 8 08:35:48 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 8 Jul 2018 08:35:48 +0200 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: <23aeed88-bda8-a02a-1516-674ea83521af@gmail.com> Message-ID: <02f01a75-a7af-acca-2095-b1bb04e3501b@gmail.com> Le 03/07/2018 ? 01:21, Jussi Lahtinen a ?crit?: > Could there be option for caching the compiled code? IE way to disable > usage of absolute addresses? > > > Jussi > It's a big job, because I have to write relocatable C code. A solution would be generating pre-processed C-code, with all absolute addresses replaced by text markups, that would be in turn replaced by the real absolute addresses at runtime. The code would have to be recompiled each time, but as it would have been preprocessed, the compilation should be a bit faster. But I'm not sure the difference will be noticeable, as most of the time is taken by the gcc optimization pass. Regards, -- Beno?t Minisini From hans at gambas-buch.de Sun Jul 8 10:02:29 2018 From: hans at gambas-buch.de (Hans Lehmann) Date: Sun, 8 Jul 2018 10:02:29 +0200 Subject: [Gambas-user] Error in the FileProperties control Message-ID: <0c6eed12-fe0d-7cb9-4dd3-4dbe4597f7ef@gambas-buch.de> Hello, when I pass a directory to a FileProperties control, the type 'Directory' is displayed. If I change to an image (via FileChoser), then the type is changed to 'Image' and additionally a preview of the image is offered. After switching to a simple text file, the relevant properties are displayed correctly - only the type remains on 'Image'. I think that's a mistake. With kind regards Hans gambas-book.net From taboege at gmail.com Sun Jul 8 14:03:22 2018 From: taboege at gmail.com (Tobias Boege) Date: Sun, 8 Jul 2018 14:03:22 +0200 Subject: [Gambas-user] HTTPS on Gambas websites Message-ID: <20180708120322.GL1010@highrise.localdomain> Hi, could someone with reign over the servers and domains get a certificate (Let's Encrypt [1] is very easy and free of charge) for the Wiki and Bugtracker? My browser always warns me when I enter something into an field on a site without https [ and I think the Gambas websites are the only ones where it has to do that; it makes a bad impression IMHO. ] Regards, Tobi [1] https://letsencrypt.org/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at gmail.com Sun Jul 8 15:03:54 2018 From: taboege at gmail.com (Tobias Boege) Date: Sun, 8 Jul 2018 15:03:54 +0200 Subject: [Gambas-user] Translating native error messages Message-ID: <20180708130353.GM1010@highrise.localdomain> Hi Benoit, I saw some mixed-language error messages in output from someone recently. (I run in an English locale, so I never noticed.) I think they come from code like this: Error.Raise(Subst$(("Something went wrong: &1"), Error.Text)) where the translated string is translated in the Gambas project this code comes from, but the Error.Text is a low-level interpreter or native component error message, which is not translated. I don't know gettext, so my first question is: can't we translate these native pieces just like we translate Gambas projects? Is it "just" a matter of doing translation work and inserting some macros in the sources? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From hans at gambas-buch.de Sun Jul 8 19:33:46 2018 From: hans at gambas-buch.de (Hans Lehmann) Date: Sun, 8 Jul 2018 19:33:46 +0200 Subject: [Gambas-user] FileProperties.Data Message-ID: <29c1233f-2b4a-37d4-ff8b-c56fe41538cb@gambas-buch.de> Hello. I have great difficulty understanding how the FileProperties.Data property interacts with the FileProperties.Data() event. Can anyone try to bring light into the darkness with an example or with appropriate source code? With kind regards Hans From g4mba5 at gmail.com Mon Jul 9 07:18:53 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 9 Jul 2018 07:18:53 +0200 Subject: [Gambas-user] Holidays Message-ID: <4aa31ef9-4cd7-a4f9-93b5-cdd69ed70237@gmail.com> Hi Gambas people, I will be in holidays from now until July, 14th. I'm doing a spiritual retreat, so I will be (of course) completely offline. You will need a bit of patience. :-) Have a nice day! -- Beno?t Minisini From chrisml at deganius.de Mon Jul 9 12:38:08 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 9 Jul 2018 12:38:08 +0200 Subject: [Gambas-user] Holidays In-Reply-To: <4aa31ef9-4cd7-a4f9-93b5-cdd69ed70237@gmail.com> References: <4aa31ef9-4cd7-a4f9-93b5-cdd69ed70237@gmail.com> Message-ID: <4ae9b8f4-17cd-f2d7-c8db-5a3c9c44c589@deganius.de> Am 09.07.2018 um 07:18 schrieb Beno?t Minisini: > Hi Gambas people, > > I will be in holidays from now until July, 14th. I'm doing a spiritual > retreat, so I will be (of course) completely offline. > > You will need a bit of patience. :-) > > Have a nice day! Happy holidays! :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From shordi at gmail.com Mon Jul 9 13:11:33 2018 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Mon, 9 Jul 2018 13:11:33 +0200 Subject: [Gambas-user] Holidays In-Reply-To: <4aa31ef9-4cd7-a4f9-93b5-cdd69ed70237@gmail.com> References: <4aa31ef9-4cd7-a4f9-93b5-cdd69ed70237@gmail.com> Message-ID: Enjoy! 2018-07-09 7:18 GMT+02:00 Beno?t Minisini : > Hi Gambas people, > > I will be in holidays from now until July, 14th. I'm doing a spiritual > retreat, so I will be (of course) completely offline. > > You will need a bit of patience. :-) > > Have a nice day! > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Mon Jul 9 15:02:56 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 9 Jul 2018 09:02:56 -0400 Subject: [Gambas-user] Holidays In-Reply-To: References: <4aa31ef9-4cd7-a4f9-93b5-cdd69ed70237@gmail.com> Message-ID: AHHH NOOO WHAT WE WILL DOO NOWWWW! ah it's not forever! just until july 14th! oky cach it! go ahead happy holidays then! XD XD XD Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-09 7:11 GMT-04:00 Jorge Carri?n : > Enjoy! > > 2018-07-09 7:18 GMT+02:00 Beno?t Minisini : >> >> Hi Gambas people, >> >> I will be in holidays from now until July, 14th. I'm doing a spiritual >> retreat, so I will be (of course) completely offline. >> >> You will need a bit of patience. :-) >> >> Have a nice day! >> >> -- >> Beno?t Minisini >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Mon Jul 9 15:04:53 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 9 Jul 2018 09:04:53 -0400 Subject: [Gambas-user] Translating native error messages In-Reply-To: <20180708130353.GM1010@highrise.localdomain> References: <20180708130353.GM1010@highrise.localdomain> Message-ID: umm i dont know but if its low level and languaje related i think not possible! i mean it's not part of the gambas package ? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-08 9:03 GMT-04:00 Tobias Boege : > Hi Benoit, > > I saw some mixed-language error messages in output from someone recently. > (I run in an English locale, so I never noticed.) I think they come from > code like this: > > Error.Raise(Subst$(("Something went wrong: &1"), Error.Text)) > > where the translated string is translated in the Gambas project this > code comes from, but the Error.Text is a low-level interpreter or native > component error message, which is not translated. > > I don't know gettext, so my first question is: can't we translate these > native pieces just like we translate Gambas projects? Is it "just" a > matter of doing translation work and inserting some macros in the sources? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Mon Jul 9 15:08:28 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 9 Jul 2018 09:08:28 -0400 Subject: [Gambas-user] HTTPS on Gambas websites In-Reply-To: <20180708120322.GL1010@highrise.localdomain> References: <20180708120322.GL1010@highrise.localdomain> Message-ID: in any case! its a good idea ! i dont care about the "firefox warning" ... but i also note that https request are a bit slower .. specially for my 14k BAM connection Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-08 8:03 GMT-04:00 Tobias Boege : > Hi, > > could someone with reign over the servers and domains get a certificate > (Let's Encrypt [1] is very easy and free of charge) for the Wiki and > Bugtracker? My browser always warns me when I enter something into an > field on a site without https [ and I think the > Gambas websites are the only ones where it has to do that; it makes a > bad impression IMHO. ] > > Regards, > Tobi > > [1] https://letsencrypt.org/ > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From t.lee.davidson at gmail.com Mon Jul 9 18:55:24 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 9 Jul 2018 12:55:24 -0400 Subject: [Gambas-user] FileProperties.Data In-Reply-To: <29c1233f-2b4a-37d4-ff8b-c56fe41538cb@gambas-buch.de> References: <29c1233f-2b4a-37d4-ff8b-c56fe41538cb@gambas-buch.de> Message-ID: <84b7f347-7811-7aa1-739c-a0ad0ead3d01@gmail.com> The FileProperties.Data property is a virtual object that is created by, and apparently only by, the FileProperties.Data() event handler when the FileProperties.Path is set. If there is no FileProperties.Data() event handler in your code, the Data property is unavailable. The following FMain.class code is based on a FMain.form with a FileProperties control, a CheckBox, and a Button. [code] ' Gambas class file Public Sub Form_Open() CheckBox1.Value = True 'We start with default behaviour of the FileProperties dialog Button1_Click() 'Set FileProperties.Path End Public Sub Button1_Click() FileProperties1.Path = "/usr/share/icons/hicolor/64x64/apps/firefox.png" 'With the Data Event commented, trying to access the Data property causes a "Data property unavailable" error Print "Data Type: " & FileProperties1.Data.Type End ' Public Sub FileProperties1_Data() ' ' Print "Entered Data Event" ' ' If CheckBox1.Value = True Then 'We want default behaviour of the FileProperties dialog ' Stop Event 'See http://gambaswiki.org/wiki/comp/gb.form/fileproperties/.data ' Return 'So we do not set the Data properties ' Endif ' ' FileProperties1.Data.Type = "Custom Image" ' FileProperties1.Data.Icon = Picture.Load("/usr/share/icons/hicolor/64x64/apps/firefox.png") ' ' End [/code] After uncommenting the FileProperties1_Data() event handler, you can uncheck the CheckBox and click the Button to see how the behaviour changed. Also notice that the FileProperties.Data() event is raised every time FileProperties.Path is set. -- Lee On 07/08/2018 01:33 PM, Hans Lehmann wrote: > Hello. > > I have great difficulty understanding how the FileProperties.Data property interacts with the FileProperties.Data() event. Can > anyone try to bring light into the darkness with an example or with appropriate source code? > > With kind regards > > Hans > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Tue Jul 10 17:10:27 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 10 Jul 2018 11:10:27 -0400 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: i see teh observer in the wiki, if i made a observer of any connection? can cach the exec before ? override it? see the code at gambas source are in C so override the exec must be like this? Private Function _exec(query as String) As Resulset ' how to obtain the current db object? Try super.Open ' i must retun a resul set, but then i onvike the super here? return super.exec(query) End so then, it's that code right? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-04 10:06 GMT-04:00 Jussi Lahtinen : > AFAIK that is only way to override anything. > What is the downside? It's really short code and there isn't practical limit > for number of classes. > > > Jussi > > On Wed, Jul 4, 2018 at 3:33 PM, PICCORO McKAY Lenz > wrote: >> >> 2018-07-03 18:08 GMT-04:00 Jussi Lahtinen : >>> >>> Create new class that inherits connection. Do the overriding there and >>> use the new class instead of the connection class. >> >> GRRRRR dgod damn ok ok but then i need to do two inherits in cascade!!! >> conection->connection2-> and then collection->myclass and in my clkass using >> the new connection.. seems too many classes 9.9u >> >> there-s some way to avoid that? >> >> >>> >>> >>> >>> Jussi >>> >>> On Wed, Jul 4, 2018 at 12:59 AM, PICCORO McKAY Lenz >>> wrote: >>>> >>>> i already made my db pool emulation in rudimentary efforts.. >>>> >>>> my class already inherits from collection, but now i wnats to overrides >>>> the exec method of each stored connection, how to made it >>>> >>>> i attach the project >>>> >>>> >>>> >>>> Lenz McKAY Gerardo (PICCORO) >>>> http://qgqlochekone.blogspot.com >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>> >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Tue Jul 10 20:18:22 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 10 Jul 2018 14:18:22 -0400 Subject: [Gambas-user] how to detect if class.load was susessfully? Message-ID: i want to make compile time code that check if a particular class are inside by class.load("name") that it's possible also for modules? how? due seems same code does not work for me! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From taboege at gmail.com Tue Jul 10 20:20:52 2018 From: taboege at gmail.com (Tobias Boege) Date: Tue, 10 Jul 2018 20:20:52 +0200 Subject: [Gambas-user] how to override Exec if already inherist from colection (conection pool emulation) In-Reply-To: References: Message-ID: <20180710182052.GS1010@highrise.localdomain> On Tue, 10 Jul 2018, PICCORO McKAY Lenz wrote: > i see teh observer in the wiki, if i made a observer of any > connection? can cach the exec before ? override it? > > see the code at gambas source are in C so override the exec must be like this? > > Private Function _exec(query as String) As Resulset > ' how to obtain the current db object? > Try super.Open > ' i must retun a resul set, but then i onvike the super here? > return super.exec(query) > End > > so then, it's that code right? Observers catch events only, not method calls. An observer wouldn't see anything related to Connection.Exec. There is no need to prefix the method name with an underscore for overriding and Resulset isn't a known class, you meant Result. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at gmail.com Tue Jul 10 23:49:36 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 10 Jul 2018 17:49:36 -0400 Subject: [Gambas-user] ide does not permit use lib at root of proyect!!? Message-ID: i have read enought the wiki.. why the IDE does not allow me to search the library at the root of the proyect? i have already compiled and put the produced gambas executable in proyecto root.. ide only allow me to use the lib from the installed versions in home gambas config path or system gamba path! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Wed Jul 11 07:58:01 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 11 Jul 2018 07:58:01 +0200 Subject: [Gambas-user] ide does not permit use lib at root of proyect!!? In-Reply-To: References: Message-ID: Am 10.07.2018 um 23:49 schrieb PICCORO McKAY Lenz: > i have read enought the wiki.. > > why the IDE does not allow me to search the library at the root of the > proyect? Because a library *by design* is a container for objects and methods that can be used *from different projects* and therefore has to be at a predictable place in the filesystem! So that projects in other places of the filesystem can find it. The root of any project is not a predictable place. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From shordi at gmail.com Wed Jul 11 09:19:50 2018 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 11 Jul 2018 09:19:50 +0200 Subject: [Gambas-user] What does this means? (gbx3:4314 dbind-WARNING) Message-ID: A project of mine, who is working fine since 2010, send this output to gambas console when is launched: "(gbx3:4314): dbind-WARNING **: 09:15:57.038: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." What does it means? I haven't a clue... Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From hans at gambas-buch.de Wed Jul 11 10:02:49 2018 From: hans at gambas-buch.de (Hans Lehmann) Date: Wed, 11 Jul 2018 10:02:49 +0200 Subject: [Gambas-user] Error FileChooser? Message-ID: <87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de> Hello, if you select a file in FileChooser (FileChooser.Multi = False), you can also select the entry 'Copy' in the context menu. But since there is no menu entry 'Paste' and the ClipBoard is empty, I consider this menu entry an error. Has anyone gained other experience and can help me? With kind regards Hans gambas-book.net From mckaygerhard at gmail.com Wed Jul 11 14:27:27 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 11 Jul 2018 08:27:27 -0400 Subject: [Gambas-user] ide does not permit use lib at root of proyect!!? In-Reply-To: References: Message-ID: but in the gambaswiki doc library said that for backguard compatibility the first order are "/.gambas" and the fourth are //:.gambas currently what its a example of that "project extra archive" also the VERSION file only works for me in gambas before 3.5 release! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-11 1:58 GMT-04:00 Christof Thalhofer : > Am 10.07.2018 um 23:49 schrieb PICCORO McKAY Lenz: > > i have read enought the wiki.. > > > > why the IDE does not allow me to search the library at the root of the > > proyect? > > Because a library *by design* is a container for objects and methods > that can be used *from different projects* and therefore has to be at a > predictable place in the filesystem! So that projects in other places of > the filesystem can find it. > > The root of any project is not a predictable place. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 11 14:31:13 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 11 Jul 2018 08:31:13 -0400 Subject: [Gambas-user] What does this means? (gbx3:4314 dbind-WARNING) In-Reply-To: References: Message-ID: the OS was uopdated? for sure! next time if something are working dont upgrade.. if the gambas was updated and your project maybe tray gain access for some desktop properties that interact with the system files! since some time now there's a policy access in linux "desktop" like stupid maycosoft OS does Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-11 3:19 GMT-04:00 Jorge Carri?n : > A project of mine, who is working fine since 2010, send this output to > gambas console when is launched: > > "(gbx3:4314): dbind-WARNING **: 09:15:57.038: Couldn't register with > accessibility bus: Did not receive a reply. Possible causes include: the > remote application did not send a reply, the message bus security policy > blocked the reply, the reply > timeout expired, or the network connection was broken." > > What does it means? > > I haven't a clue... > > Best Regards > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Wed Jul 11 16:07:46 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 11 Jul 2018 16:07:46 +0200 Subject: [Gambas-user] ide does not permit use lib at root of proyect!!? In-Reply-To: References: Message-ID: <64e5c212-2d90-0328-3a34-35c4bd4413fc@deganius.de> Am 11.07.2018 um 14:27 schrieb PICCORO McKAY Lenz: > but in the gambaswiki doc library said > > that for backguard compatibility > the first order are "/.gambas" I assume ... ... this is the first place, the interpreter searches for (for backward compatibility, so that older executables don't break with a newer interpreter). But the IDE (the library form in the project definition form) does not support this, because the old place for libs is obsolete. I do not understand, why this is so important for you. I am using quite a lot of libraries, but for me it was only half an hour's work to change all my projects for the new behaviour of the IDE. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From t.lee.davidson at gmail.com Wed Jul 11 16:10:13 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 11 Jul 2018 10:10:13 -0400 Subject: [Gambas-user] Error FileChooser? In-Reply-To: <87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de> References: <87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de> Message-ID: <1bb39b00-3e83-f176-240a-9cac11295c37@gmail.com> Are you sure the Clipboard is empty? I used Copy from the context menu for two different files displayed by FileChooser, and they were both copied to the Clipboard. -- Lee On 07/11/2018 04:02 AM, Hans Lehmann wrote: > Hello, > > if you select a file in FileChooser (FileChooser.Multi = False), you can also select the entry 'Copy' in the context menu. But > since there is no menu entry 'Paste' and the ClipBoard is empty, I consider this menu entry an error. Has anyone gained other > experience and can help me? > > With kind regards > > Hans > gambas-book.net > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Wed Jul 11 16:56:46 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 11 Jul 2018 10:56:46 -0400 Subject: [Gambas-user] ide does not permit use lib at root of proyect!!? In-Reply-To: <64e5c212-2d90-0328-3a34-35c4bd4413fc@deganius.de> References: <64e5c212-2d90-0328-3a34-35c4bd4413fc@deganius.de> Message-ID: i dont whan to depend! to a linux system specific path that's the problem! i cannot make dinamyc loading and neither load from the current project! too unflexible! at the gambaswiki still said: and the fourth are //:.gambas in that there's no "backguard compatibility" or notes about loading! can somebody explain that point! what version of gambas IDE can load from current project directory! "half an hours" are too much respect one day manpowers! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-11 10:07 GMT-04:00 Christof Thalhofer : > Am 11.07.2018 um 14:27 schrieb PICCORO McKAY Lenz: > > > but in the gambaswiki doc library said > > > > that for backguard compatibility > > the first order are "/.gambas" > > I assume ... > > ... this is the first place, the interpreter searches for (for backward > compatibility, so that older executables don't break with a newer > interpreter). > > But the IDE (the library form in the project definition form) does not > support this, because the old place for libs is obsolete. > > I do not understand, why this is so important for you. I am using quite > a lot of libraries, but for me it was only half an hour's work to change > all my projects for the new behaviour of the IDE. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 11 16:57:21 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 11 Jul 2018 10:57:21 -0400 Subject: [Gambas-user] Error FileChooser? In-Reply-To: <1bb39b00-3e83-f176-240a-9cac11295c37@gmail.com> References: <87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de> <1bb39b00-3e83-f176-240a-9cac11295c37@gmail.com> Message-ID: in some versions of LXDE or openbox does not work! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-11 10:10 GMT-04:00 T Lee Davidson : > Are you sure the Clipboard is empty? > > I used Copy from the context menu for two different files displayed by > FileChooser, and they were both copied to the Clipboard. > > > -- > Lee > > > On 07/11/2018 04:02 AM, Hans Lehmann wrote: > > Hello, > > > > if you select a file in FileChooser (FileChooser.Multi = False), you can > also select the entry 'Copy' in the context menu. But > > since there is no menu entry 'Paste' and the ClipBoard is empty, I > consider this menu entry an error. Has anyone gained other > > experience and can help me? > > > > With kind regards > > > > Hans > > gambas-book.net > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 11 17:00:18 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 11 Jul 2018 11:00:18 -0400 Subject: [Gambas-user] Error FileChooser? In-Reply-To: References: <87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de> <1bb39b00-3e83-f176-240a-9cac11295c37@gmail.com> Message-ID: also in some cases failed when i have loaded a clipboard manager, do you have some clipboard manager loaded? by example parcellite was for bug in some version that large object corrupted the data, Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-11 10:57 GMT-04:00 PICCORO McKAY Lenz : > in some versions of LXDE or openbox does not work! > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2018-07-11 10:10 GMT-04:00 T Lee Davidson : > >> Are you sure the Clipboard is empty? >> >> I used Copy from the context menu for two different files displayed by >> FileChooser, and they were both copied to the Clipboard. >> >> >> -- >> Lee >> >> >> On 07/11/2018 04:02 AM, Hans Lehmann wrote: >> > Hello, >> > >> > if you select a file in FileChooser (FileChooser.Multi = False), you >> can also select the entry 'Copy' in the context menu. But >> > since there is no menu entry 'Paste' and the ClipBoard is empty, I >> consider this menu entry an error. Has anyone gained other >> > experience and can help me? >> > >> > With kind regards >> > >> > Hans >> > gambas-book.net >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> ]---- >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tmorehen at ajm-software.com Wed Jul 11 17:03:26 2018 From: tmorehen at ajm-software.com (Tony Morehen) Date: Wed, 11 Jul 2018 11:03:26 -0400 Subject: [Gambas-user] Error FileChooser? In-Reply-To: <87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de> References: <87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de> Message-ID: <2f11ef19-9f3f-02b2-60aa-7ee7d83498cd@ajmconsulting.ca> On 2018-07-11 04:02 AM, Hans Lehmann wrote: > Hello, > > if you select a file in FileChooser (FileChooser.Multi = False), you can > also select the entry 'Copy' in the context menu. But since there is no > menu entry 'Paste' and the ClipBoard is empty, I consider this menu > entry an error. Has anyone gained other experience and can help me? > > With kind regards > > Hans > gambas-book.net > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From tmorehen at ajm-software.com Wed Jul 11 17:15:33 2018 From: tmorehen at ajm-software.com (Tony Morehen) Date: Wed, 11 Jul 2018 11:15:33 -0400 Subject: [Gambas-user] Error FileChooser? In-Reply-To: <87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de> References: <87a1d761-56f8-b28e-5a48-2065d918c217@gambas-buch.de> Message-ID: <03262980-ab63-5682-4ba3-6bf0f78da5de@ajm-software.com> Sorry for the blank post.? Here's what's what I forgot: I don't know what you are using to check the contents of the clipboard but FileChooser does copy a list of file path and names to the clipboard using the mime type "text/uri-list".? Perhaps what you are using only recognizes "text/plain"? text/uri-list is a string with a line for each selected file in the format "file://" & URLQuote(path) & CRLF If the DirList (left panel) has the focus, the current directory is the sole content of the list, again in the above format. Multi=False has no impact other than to limit the number of selected files to one. Copy is straightforward, which, I assume, is why it's included in the standard FileChooser menu.? Paste, however, is much more complex and is best handled by the overall program.? ie FileChooser doesn't even understand the difference between a simple copy and paste or cut and paste On 2018-07-11 04:02 AM, Hans Lehmann wrote: > Hello, > > if you select a file in FileChooser (FileChooser.Multi = False), you > can also select the entry 'Copy' in the context menu. But since there > is no menu entry 'Paste' and the ClipBoard is empty, I consider this > menu entry an error. Has anyone gained other experience and can help me? > > With kind regards > > Hans > gambas-book.net > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From criguada at gmail.com Thu Jul 12 11:26:10 2018 From: criguada at gmail.com (Cristiano Guadagnino) Date: Thu, 12 Jul 2018 11:26:10 +0200 Subject: [Gambas-user] segfault in gambas In-Reply-To: References: Message-ID: Hi Benoit, you can find the backtracke here: https://gist.github.com/Cris70/76d6ef51100695104816439780dd9c34 I did not compile gambas myself: I installed from the munix9:unstable repo with all the debuginfo and debugsource packages. I hope it's good enough, but if it isn't so please let me know. Thank you in advance! Cris -- Inviato dal mio smartphone Il sab 7 lug 2018, 00:09 Beno?t Minisini ha scritto: > Le 06/07/2018 ? 21:41, Cristiano Guadagnino a ?crit : > > Hi all, > > yesterday I tried to use Gambas after a few weeks without use, only to > > discover that it would not start due to a segmentation fault. > > I am using openSUSE Tumbleweed 64bit. The strange thing is that it > > segfaults on my laptop (Thinkpad T440) while on my desktop, which has > > the same OS, it does not crash. > > > > I was already tempted to try the new 3.11 release (the official > > Tumb?eweed repo only has 3.10), so I took the plunge and configured the > > Gambas repository by munix9 and updated all gambas packages to 3.11. > > Unfortunately, Gambas still crashes :-( > > > > Here is what I see when launching Gambas: > > > > cristiano at xmper8q3 [~]$ gambas3 > > libpng warning: iCCP: known incorrect sRGB profile > > libpng warning: iCCP: known incorrect sRGB profile > > Errore di segmentazione (core dump creato) > > > > Sorry for the messages in italian. > > > > Here is a report of some of the crashes (the first three are with gambas > > 3.10, the others are gambas 3.11): > > > > cristiano at xmper8q3 [~]$ dmesg|grep segfault > > [ 3693.378157] gbr3[2659]: segfault at 563e000000a0 ip 00007f2b89d3f4d5 > sp 00007ffd1c145700 error 4 in libQt5Gui.so.5.11.1[7f2b89c0b000+565000] > > [ 3737.160215] gbr3[5041]: segfault at 560a000000a0 ip 00007f887f3ee4d5 > sp 00007ffe7285fb90 error 4 in libQt5Gui.so.5.11.1[7f887f2ba000+565000] > > [ 5161.148151] gbr3[19032]: segfault at 5629000000a0 ip 00007fa2958744d5 > sp 00007fff4a76bf70 error 4 in libQt5Gui.so.5.11.1[7fa295740000+565000] > > [11810.611630] gbr3[20944]: segfault at 55a6000000a0 ip 00007f81cfc004d5 > sp 00007ffc8b73af80 error 4 in libQt5Gui.so.5.11.1[7f81cfacc000+565000] > > [11830.979328] gbr3[21129]: segfault at 5619000000a0 ip 00007f41a371d4d5 > sp 00007ffcccd10190 error 4 in libQt5Gui.so.5.11.1[7f41a35e9000+565000] > > [11839.618559] gbr3[21228]: segfault at 55e6000000a0 ip 00007f1ba3ba24d5 > sp 00007ffeb39a9e00 error 4 in libQt5Gui.so.5.11.1[7f1ba3a6e000+565000] > > [11889.286212] gbr3[21636]: segfault at 5582000000a0 ip 00007f830fb684d5 > sp 00007ffc4f6f00b0 error 4 in libQt5Gui.so.5.11.1[7f830fa34000+565000] > > > > What could be causing this? > > > > Another question: while updating to 3.11 I noticed that these packages > > are missing in the new release: > > - gambas3-gb-geom > > - gambas3-gb-gui > > - gambas3-gb-maps > > - gambas3-script > > > > Is it correct? Or should they be present? > > > > Thank you in advance. > > Cris > > > > To get some useful information about the crash, you have to follow what > is explained on the web site: > > 1) Compile Gambas with debugging information enabled. > > 2) Run the IDE from the command-line with gdb until it crashes. > > 3) Print the stack backtrage and send it. > > Regards, > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Thu Jul 12 23:26:40 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 12 Jul 2018 17:26:40 -0400 Subject: [Gambas-user] oibject serialization, how to do? Message-ID: any example of how can i do serialization? by example to send data via GET/POST curl and receive it? and also using JSON? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Fri Jul 13 17:25:22 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 13 Jul 2018 11:25:22 -0400 Subject: [Gambas-user] oibject serialization, how to do? In-Reply-To: <31220c31-d3e4-5d23-190e-a8e0e7937dce@gambas-buch.de> References: <31220c31-d3e4-5d23-190e-a8e0e7937dce@gambas-buch.de> Message-ID: 2018-07-13 2:27 GMT-04:00 Hans Lehmann : > Look here: > > https://www.gambas-buch.de/doku.php?id=k24:k24.6:k24.6.9:start > > Hans > interesting, a simple example for make a json encoding.. but a client-server example will be helpfully in any case as link from hans and wiki said seems the Json implementation on gambas are serializated? *are the json implementaion on gambas serialized? i review the json code in gambas and it writes to a stream! that implicated serialized?* -------------- next part -------------- An HTML attachment was scrubbed... URL: From buster6seven at gmail.com Sat Jul 14 09:29:30 2018 From: buster6seven at gmail.com (Shane) Date: Sat, 14 Jul 2018 17:29:30 +1000 Subject: [Gambas-user] Tab's In-Reply-To: <1531547841.32170.72.camel@Scenic.local> References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> Message-ID: Yep got that but i want to this while in my program not the ide so in my program i want to press enter and it would act like i was pressing the tab key hope this make scene thanks for your help regrades Shane. On 14/07/18 15:57, Karl Reinl wrote: > Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane: >> how can I enter a value in a component and then press enter and have my >> program tab into the next component in the tab order? >> >> >> cheers Shane. >> > Salut Shane, > > on a form, choose the property window and open the second Tab (think its > called hierarchy) From bill-lancaster at brackenwood.one Sat Jul 14 10:18:11 2018 From: bill-lancaster at brackenwood.one (Bill) Date: Sat, 14 Jul 2018 09:18:11 +0100 Subject: [Gambas-user] Tab's In-Reply-To: References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> Message-ID: <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> I use the Activate event and the LostFocus so that either the 'enter' key or the tab key moves to the next control after the contents of the text box has been checked Bill On 14/07/18 08:29, Shane wrote: > Yep got that > > but i want to this while in my program not the ide > > so in my program i want to press enter and it would act like i was > pressing the tab key > > hope this make scene > > thanks for your help > > regrades Shane. > > > On 14/07/18 15:57, Karl Reinl wrote: >> Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane: >>> how can I enter a value in a component and then press enter and have my >>> program tab into the next component in the tab order? >>> >>> >>> cheers Shane. >>> >> Salut Shane, >> >> on a form, choose the property window and open the second Tab (think its >> called hierarchy) > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From adamnt42 at gmail.com Sat Jul 14 15:54:51 2018 From: adamnt42 at gmail.com (Adam Ant) Date: Sat, 14 Jul 2018 23:24:51 +0930 Subject: [Gambas-user] Tab's In-Reply-To: <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> Message-ID: As far as I remember, you will need to use the KeyRelease event, something along the lines of: Public Sub MyControl_KeyRelease(???) If Key = Key.Return then MyControl.Next.Activate ' or MyControl.Next.SetFocus or something like that. It's been a year or so.... This IIRC works for most controls, maybe not gridview and posibly checkbox? hth Bruce On Sat, Jul 14, 2018 at 5:48 PM, Bill wrote: > I use the Activate event and the LostFocus so that either the 'enter' key > or the tab key moves to the next control after the contents of the text box > has been checked > > Bill > > > > On 14/07/18 08:29, Shane wrote: > >> Yep got that >> >> but i want to this while in my program not the ide >> >> so in my program i want to press enter and it would act like i was >> pressing the tab key >> >> hope this make scene >> >> thanks for your help >> >> regrades Shane. >> >> >> On 14/07/18 15:57, Karl Reinl wrote: >> >>> Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane: >>> >>>> how can I enter a value in a component and then press enter and have my >>>> program tab into the next component in the tab order? >>>> >>>> >>>> cheers Shane. >>>> >>>> Salut Shane, >>> >>> on a form, choose the property window and open the second Tab (think its >>> called hierarchy) >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Sat Jul 14 21:53:11 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sat, 14 Jul 2018 21:53:11 +0200 Subject: [Gambas-user] Printing colors in PDF Message-ID: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> Currently I try to make up a simple printing into PDF for a program. It would be fine if I could print colored squares, but from a first trial I only got grays: Paint.FillRect(randLinks, randOben, 1000, 1000, Color.Red) Any hint what might go wrong? This is on my laptop, and the only printer driver installed is for a grayscale laser printer, but printing into a file (PDF) shouldn't be affected by this, should it? Thanks for your ideas! Rolf From bagonergi at gmail.com Sat Jul 14 23:01:14 2018 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 14 Jul 2018 23:01:14 +0200 Subject: [Gambas-user] Printing colors in PDF In-Reply-To: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> References: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> Message-ID: This code work to me. Public Sub Button1_Click() With Printer1 'If you insert configure you can see the printer configuration :-) '.Configure .Orientation = 0 .Paper = 2 .Resolution = Desktop.Resolution ' Output in tmp folder .OutputFile = "/tmp/print_test.pdf" .Print End With End Public Sub Printer1_Draw() Paint.FillRect(20, 30, 700, 1000, Color.Red) End Regards Gianluigi 2018-07-14 21:53 GMT+02:00 Rolf-Werner Eilert : > Currently I try to make up a simple printing into PDF for a program. It > would be fine if I could print colored squares, but from a first trial I > only got grays: > > Paint.FillRect(randLinks, randOben, 1000, 1000, Color.Red) > > Any hint what might go wrong? This is on my laptop, and the only printer > driver installed is for a grayscale laser printer, but printing into a file > (PDF) shouldn't be affected by this, should it? > > Thanks for your ideas! > > Rolf > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Sat Jul 14 23:12:27 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sat, 14 Jul 2018 23:12:27 +0200 Subject: [Gambas-user] Printing colors in PDF In-Reply-To: References: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> Message-ID: <1967124f-b4fb-9636-7339-7de82bcab37f@osnanet.de> Thanks Gianluigi, this is basically what I have here. No clue to what might prevent it to print a coloured PDF. (Of course, I posted only one line, the rest is a bit more elaborated than in your example, but no real difference) Regards Rolf Am 14.07.2018 um 23:01 schrieb Gianluigi: > This code work to me. > > Public Sub Button1_Click() > > ? With Printer1 > ??? 'If you insert configure you can see the printer configuration :-) > ??? '.Configure > ??? .Orientation = 0 > ??? .Paper = 2 > ??? .Resolution = Desktop.Resolution > ??? ' Output in tmp folder > ??? .OutputFile = "/tmp/print_test.pdf" > ??? .Print > ? End With > > End > > Public Sub Printer1_Draw() > > ? Paint.FillRect(20, 30, 700, 1000, Color.Red) > > End > > Regards > Gianluigi > > 2018-07-14 21:53 GMT+02:00 Rolf-Werner Eilert >: > > Currently I try to make up a simple printing into PDF for a > program. It would be fine if I could print colored squares, but > from a first trial I only got grays: > > Paint.FillRect(randLinks, randOben, 1000, 1000, Color.Red) > > Any hint what might go wrong? This is on my laptop, and the only > printer driver installed is for a grayscale laser printer, but > printing into a file (PDF) shouldn't be affected by this, should it? > > Thanks for your ideas! > > Rolf > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Sat Jul 14 23:34:02 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sat, 14 Jul 2018 23:34:02 +0200 Subject: [Gambas-user] Printing colors in PDF In-Reply-To: References: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> Message-ID: I found something: When I leave out .Configure like you did, and define everything including the PDF file, then it prints colors. Strange though... Rolf Am 14.07.2018 um 23:01 schrieb Gianluigi: > This code work to me. > > Public Sub Button1_Click() > > ? With Printer1 > ??? 'If you insert configure you can see the printer configuration :-) > ??? '.Configure > ??? .Orientation = 0 > ??? .Paper = 2 > ??? .Resolution = Desktop.Resolution > ??? ' Output in tmp folder > ??? .OutputFile = "/tmp/print_test.pdf" > ??? .Print > ? End With > > End > > Public Sub Printer1_Draw() > > ? Paint.FillRect(20, 30, 700, 1000, Color.Red) > > End > > Regards > Gianluigi > > 2018-07-14 21:53 GMT+02:00 Rolf-Werner Eilert >: > > Currently I try to make up a simple printing into PDF for a > program. It would be fine if I could print colored squares, but > from a first trial I only got grays: > > Paint.FillRect(randLinks, randOben, 1000, 1000, Color.Red) > > Any hint what might go wrong? This is on my laptop, and the only > printer driver installed is for a grayscale laser printer, but > printing into a file (PDF) shouldn't be affected by this, should it? > > Thanks for your ideas! > > Rolf > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sat Jul 14 23:46:18 2018 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 14 Jul 2018 23:46:18 +0200 Subject: [Gambas-user] Printing colors in PDF In-Reply-To: References: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> Message-ID: It's not strange, if your printer is configured forgray scale printing... Leaving out configure, you get the default configuration. Regards Gianluigi 2018-07-14 23:34 GMT+02:00 Rolf-Werner Eilert : > I found something: When I leave out .Configure like you did, and define > everything including the PDF file, then it prints colors. > > Strange though... > > Rolf > > > > Am 14.07.2018 um 23:01 schrieb Gianluigi: > > This code work to me. > > Public Sub Button1_Click() > > With Printer1 > 'If you insert configure you can see the printer configuration :-) > '.Configure > .Orientation = 0 > .Paper = 2 > .Resolution = Desktop.Resolution > ' Output in tmp folder > .OutputFile = "/tmp/print_test.pdf" > .Print > End With > > End > > Public Sub Printer1_Draw() > > Paint.FillRect(20, 30, 700, 1000, Color.Red) > > End > > Regards > Gianluigi > > 2018-07-14 21:53 GMT+02:00 Rolf-Werner Eilert : > >> Currently I try to make up a simple printing into PDF for a program. It >> would be fine if I could print colored squares, but from a first trial I >> only got grays: >> >> Paint.FillRect(randLinks, randOben, 1000, 1000, Color.Red) >> >> Any hint what might go wrong? This is on my laptop, and the only printer >> driver installed is for a grayscale laser printer, but printing into a file >> (PDF) shouldn't be affected by this, should it? >> >> Thanks for your ideas! >> >> Rolf >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Sat Jul 14 23:49:05 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sat, 14 Jul 2018 23:49:05 +0200 Subject: [Gambas-user] Strange error message Message-ID: <78a30089-2a59-97a7-73e6-48985d05929b@osnanet.de> In the IDE, I get QXcbConnection: XCB error: 3 (BadWindow), sequence: 757, resource id: 52444602, major code: 40 (TranslateCoords), minor code: 0 What's happening here? :) I just saw my laptop crashing, i. e. the GUI didn't react anymore, then the machine ran into shutdown itself. Maybe it had nothing to do with this, maybe it had? Regards Rolf From rwe-sse at osnanet.de Sat Jul 14 23:53:27 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sat, 14 Jul 2018 23:53:27 +0200 Subject: [Gambas-user] Printing colors in PDF In-Reply-To: References: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> Message-ID: <59d00239-85fc-e0bd-a761-5a67a09c73ec@osnanet.de> Hm. I find it strange because when printing into a file, there should be no driver for a specific printer involved. But ".configure" perhaps is not resetting everything to default but leaves a few settings from the printer previously chosen. Regards Rolf Am 14.07.2018 um 23:46 schrieb Gianluigi: > It's not strange, if your printer is configured forgray scale printing... > Leaving out configure, you get the default configuration. > > Regards > Gianluigi > > 2018-07-14 23:34 GMT+02:00 Rolf-Werner Eilert >: > > I found something: When I leave out .Configure like you did, and > define everything including the PDF file, then it prints colors. > > Strange though... > > Rolf > > > > Am 14.07.2018 um 23:01 schrieb Gianluigi: >> This code work to me. >> >> Public Sub Button1_Click() >> >> ? With Printer1 >> ??? 'If you insert configure you can see the printer >> configuration :-) >> ??? '.Configure >> ??? .Orientation = 0 >> ??? .Paper = 2 >> ??? .Resolution = Desktop.Resolution >> ??? ' Output in tmp folder >> ??? .OutputFile = "/tmp/print_test.pdf" >> ??? .Print >> ? End With >> >> End >> >> Public Sub Printer1_Draw() >> >> ? Paint.FillRect(20, 30, 700, 1000, Color.Red) >> >> End >> >> Regards >> Gianluigi >> >> 2018-07-14 21:53 GMT+02:00 Rolf-Werner Eilert > >: >> >> Currently I try to make up a simple printing into PDF for a >> program. It would be fine if I could print colored squares, >> but from a first trial I only got grays: >> >> Paint.FillRect(randLinks, randOben, 1000, 1000, Color.Red) >> >> Any hint what might go wrong? This is on my laptop, and the >> only printer driver installed is for a grayscale laser >> printer, but printing into a file (PDF) shouldn't be affected >> by this, should it? >> >> Thanks for your ideas! >> >> Rolf >> >> >> >> ----[ Gambas mailing-list is hosted by >> https://www.hostsharing.net ]---- >> >> >> >> >> ----[ Gambas mailing-list is hosted byhttps://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Jul 15 00:00:56 2018 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 15 Jul 2018 00:00:56 +0200 Subject: [Gambas-user] Printing colors in PDF In-Reply-To: <59d00239-85fc-e0bd-a761-5a67a09c73ec@osnanet.de> References: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> <59d00239-85fc-e0bd-a761-5a67a09c73ec@osnanet.de> Message-ID: Configure opens the configuration window and printing is based on the configuration given by the user. But now I'm going to sleep. Goodnight Gianluigi 2018-07-14 23:53 GMT+02:00 Rolf-Werner Eilert : > Hm. I find it strange because when printing into a file, there should be > no driver for a specific printer involved. But ".configure" perhaps is not > resetting everything to default but leaves a few settings from the printer > previously chosen. > > Regards > > Rolf > > > > Am 14.07.2018 um 23:46 schrieb Gianluigi: > > It's not strange, if your printer is configured forgray scale printing... > Leaving out configure, you get the default configuration. > > Regards > Gianluigi > > 2018-07-14 23:34 GMT+02:00 Rolf-Werner Eilert : > >> I found something: When I leave out .Configure like you did, and define >> everything including the PDF file, then it prints colors. >> >> Strange though... >> >> Rolf >> >> >> >> Am 14.07.2018 um 23:01 schrieb Gianluigi: >> >> This code work to me. >> >> Public Sub Button1_Click() >> >> With Printer1 >> 'If you insert configure you can see the printer configuration :-) >> '.Configure >> .Orientation = 0 >> .Paper = 2 >> .Resolution = Desktop.Resolution >> ' Output in tmp folder >> .OutputFile = "/tmp/print_test.pdf" >> .Print >> End With >> >> End >> >> Public Sub Printer1_Draw() >> >> Paint.FillRect(20, 30, 700, 1000, Color.Red) >> >> End >> >> Regards >> Gianluigi >> >> 2018-07-14 21:53 GMT+02:00 Rolf-Werner Eilert : >> >>> Currently I try to make up a simple printing into PDF for a program. It >>> would be fine if I could print colored squares, but from a first trial I >>> only got grays: >>> >>> Paint.FillRect(randLinks, randOben, 1000, 1000, Color.Red) >>> >>> Any hint what might go wrong? This is on my laptop, and the only printer >>> driver installed is for a grayscale laser printer, but printing into a file >>> (PDF) shouldn't be affected by this, should it? >>> >>> Thanks for your ideas! >>> >>> Rolf >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From buster6seven at gmail.com Sun Jul 15 02:23:16 2018 From: buster6seven at gmail.com (Shane) Date: Sun, 15 Jul 2018 10:23:16 +1000 Subject: [Gambas-user] Tab's In-Reply-To: References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> Message-ID: <4d65d967-5a07-cc0d-5918-722e54955684@gmail.com> gave this a try and its not working my code if key.code = key["ENTER"] then my sent key.code = 65293 and the value for key["ENTER"] = 65421 i tried this with if key.code = key.enter and got the same result whats going on ? cheers Shane. On 14/07/18 23:54, Adam Ant wrote: > As far as I remember, you will need to use the KeyRelease event, > something along the lines of: > > Public Sub MyControl_KeyRelease(???) > > ? If Key = Key.Return then > ???? MyControl.Next.Activate ' or MyControl.Next.SetFocus > > or something like that. It's been a year or so.... > This IIRC works for most controls, maybe not gridview and posibly > checkbox? > > hth > Bruce > > > On Sat, Jul 14, 2018 at 5:48 PM, Bill > wrote: > > I use the Activate event and the LostFocus so that either the > 'enter' key or the tab key moves to the next control after the > contents of the text box has been checked > > Bill > > > > On 14/07/18 08:29, Shane wrote: > > Yep got that > > but i want to this while in my program not the ide > > so in my program i want to press enter and it would act like i > was pressing the tab key > > hope this make scene > > thanks for your help > > regrades Shane. > > > On 14/07/18 15:57, Karl Reinl wrote: > > Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane: > > how can I enter a value in a component and then press > enter and have my > program tab into the next component in the tab order? > > > cheers Shane. > > Salut Shane, > > on a form, choose the property window and open the second > Tab (think its > called hierarchy) > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Sun Jul 15 08:37:18 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sun, 15 Jul 2018 08:37:18 +0200 Subject: [Gambas-user] Printing colors in PDF In-Reply-To: References: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> <59d00239-85fc-e0bd-a761-5a67a09c73ec@osnanet.de> Message-ID: Thats the reason why I've done my own configuration dialog for reports Le dim. 15 juil. 2018 00:02, Gianluigi a ?crit : > Configure opens the configuration window and printing is based on the > configuration given by the user. > But now I'm going to sleep. > Goodnight > > Gianluigi > > > 2018-07-14 23:53 GMT+02:00 Rolf-Werner Eilert : > >> Hm. I find it strange because when printing into a file, there should be >> no driver for a specific printer involved. But ".configure" perhaps is not >> resetting everything to default but leaves a few settings from the printer >> previously chosen. >> >> Regards >> >> Rolf >> >> >> >> Am 14.07.2018 um 23:46 schrieb Gianluigi: >> >> It's not strange, if your printer is configured forgray scale printing... >> Leaving out configure, you get the default configuration. >> >> Regards >> Gianluigi >> >> 2018-07-14 23:34 GMT+02:00 Rolf-Werner Eilert : >> >>> I found something: When I leave out .Configure like you did, and define >>> everything including the PDF file, then it prints colors. >>> >>> Strange though... >>> >>> Rolf >>> >>> >>> >>> Am 14.07.2018 um 23:01 schrieb Gianluigi: >>> >>> This code work to me. >>> >>> Public Sub Button1_Click() >>> >>> With Printer1 >>> 'If you insert configure you can see the printer configuration :-) >>> '.Configure >>> .Orientation = 0 >>> .Paper = 2 >>> .Resolution = Desktop.Resolution >>> ' Output in tmp folder >>> .OutputFile = "/tmp/print_test.pdf" >>> .Print >>> End With >>> >>> End >>> >>> Public Sub Printer1_Draw() >>> >>> Paint.FillRect(20, 30, 700, 1000, Color.Red) >>> >>> End >>> >>> Regards >>> Gianluigi >>> >>> 2018-07-14 21:53 GMT+02:00 Rolf-Werner Eilert : >>> >>>> Currently I try to make up a simple printing into PDF for a program. It >>>> would be fine if I could print colored squares, but from a first trial I >>>> only got grays: >>>> >>>> Paint.FillRect(randLinks, randOben, 1000, 1000, Color.Red) >>>> >>>> Any hint what might go wrong? This is on my laptop, and the only >>>> printer driver installed is for a grayscale laser printer, but printing >>>> into a file (PDF) shouldn't be affected by this, should it? >>>> >>>> Thanks for your ideas! >>>> >>>> Rolf >>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Jul 15 09:18:02 2018 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 15 Jul 2018 09:18:02 +0200 Subject: [Gambas-user] Tab's In-Reply-To: <4d65d967-5a07-cc0d-5918-722e54955684@gmail.com> References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> <4d65d967-5a07-cc0d-5918-722e54955684@gmail.com> Message-ID: And if You use Key.Return? Regards Gianluigi 2018-07-15 2:23 GMT+02:00 Shane : > gave this a try and its not working > > my code > > if key.code = key["ENTER"] then > > my sent key.code = 65293 and the value for key["ENTER"] = 65421 > > i tried this with if key.code = key.enter and got the same result whats > going on ? > > cheers Shane. > > On 14/07/18 23:54, Adam Ant wrote: > > As far as I remember, you will need to use the KeyRelease event, something > along the lines of: > > Public Sub MyControl_KeyRelease(???) > > If Key = Key.Return then > MyControl.Next.Activate ' or MyControl.Next.SetFocus > > or something like that. It's been a year or so.... > This IIRC works for most controls, maybe not gridview and posibly checkbox? > > hth > Bruce > > > On Sat, Jul 14, 2018 at 5:48 PM, Bill > wrote: > >> I use the Activate event and the LostFocus so that either the 'enter' key >> or the tab key moves to the next control after the contents of the text box >> has been checked >> >> Bill >> >> >> >> On 14/07/18 08:29, Shane wrote: >> >>> Yep got that >>> >>> but i want to this while in my program not the ide >>> >>> so in my program i want to press enter and it would act like i was >>> pressing the tab key >>> >>> hope this make scene >>> >>> thanks for your help >>> >>> regrades Shane. >>> >>> >>> On 14/07/18 15:57, Karl Reinl wrote: >>> >>>> Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane: >>>> >>>>> how can I enter a value in a component and then press enter and have my >>>>> program tab into the next component in the tab order? >>>>> >>>>> >>>>> cheers Shane. >>>>> >>>>> Salut Shane, >>>> >>>> on a form, choose the property window and open the second Tab (think its >>>> called hierarchy) >>>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Sun Jul 15 10:55:22 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sun, 15 Jul 2018 10:55:22 +0200 Subject: [Gambas-user] Printing colors in PDF In-Reply-To: References: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> <59d00239-85fc-e0bd-a761-5a67a09c73ec@osnanet.de> Message-ID: <7b9581fa-18d2-8c10-cd9f-0bea4031fdf4@osnanet.de> That was the thought I had before I went to sleep :) There is even a dialog I made for organizing, so I could extend it to somewhat more useful. Regards Rolf Am 15.07.2018 um 08:37 schrieb Fabien Bodard: > Thats the reason why I've done my own configuration dialog for reports > > Le dim. 15 juil. 2018 00:02, Gianluigi > a ?crit?: > > Configure opens the configuration window and printing is based on > the configuration given by the user. > But now I'm going to sleep. > Goodnight > > Gianluigi > > > 2018-07-14 23:53 GMT+02:00 Rolf-Werner Eilert >: > > Hm. I find it strange because when printing into a file, there > should be no driver for a specific printer involved. But > ".configure" perhaps is not resetting everything to default > but leaves a few settings from the printer previously chosen. > > Regards > > Rolf > > > > Am 14.07.2018 um 23:46 schrieb Gianluigi: >> It's not strange, if your printer is configured forgray scale >> printing... >> Leaving out configure, you get the default configuration. >> >> Regards >> Gianluigi >> >> 2018-07-14 23:34 GMT+02:00 Rolf-Werner Eilert >> >: >> >> I found something: When I leave out .Configure like you >> did, and define everything including the PDF file, then >> it prints colors. >> >> Strange though... >> >> Rolf >> >> >> >> Am 14.07.2018 um 23:01 schrieb Gianluigi: >>> This code work to me. >>> >>> Public Sub Button1_Click() >>> >>> ? With Printer1 >>> ??? 'If you insert configure you can see the printer >>> configuration :-) >>> ??? '.Configure >>> ??? .Orientation = 0 >>> ??? .Paper = 2 >>> ??? .Resolution = Desktop.Resolution >>> ??? ' Output in tmp folder >>> ??? .OutputFile = "/tmp/print_test.pdf" >>> ??? .Print >>> ? End With >>> >>> End >>> >>> Public Sub Printer1_Draw() >>> >>> ? Paint.FillRect(20, 30, 700, 1000, Color.Red) >>> >>> End >>> >>> Regards >>> Gianluigi >>> >>> 2018-07-14 21:53 GMT+02:00 Rolf-Werner Eilert >>> >: >>> >>> Currently I try to make up a simple printing into >>> PDF for a program. It would be fine if I could print >>> colored squares, but from a first trial I only got >>> grays: >>> >>> Paint.FillRect(randLinks, randOben, 1000, 1000, >>> Color.Red) >>> >>> Any hint what might go wrong? This is on my laptop, >>> and the only printer driver installed is for a >>> grayscale laser printer, but printing into a file >>> (PDF) shouldn't be affected by this, should it? >>> >>> Thanks for your ideas! >>> >>> Rolf >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by >>> https://www.hostsharing.net ]---- >>> >>> >>> >>> >>> ----[ Gambas mailing-list is hosted byhttps://www.hostsharing.net ]---- >> >> >> >> ----[ Gambas mailing-list is hosted by >> https://www.hostsharing.net ]---- >> >> >> >> >> ----[ Gambas mailing-list is hosted byhttps://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Sun Jul 15 10:56:21 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sun, 15 Jul 2018 10:56:21 +0200 Subject: [Gambas-user] Printing colors in PDF In-Reply-To: References: <6e592afc-b0b4-17de-39b1-b04e1453d70e@osnanet.de> <59d00239-85fc-e0bd-a761-5a67a09c73ec@osnanet.de> Message-ID: Good morning Gianluigi, I will make my own configuration dialog for the printing here. Will fit better anyway. Regards Rolf Am 15.07.2018 um 00:00 schrieb Gianluigi: > Configure opens the configuration window and printing is based on the > configuration given by the user. > But now I'm going to sleep. > Goodnight > > Gianluigi > > > 2018-07-14 23:53 GMT+02:00 Rolf-Werner Eilert >: > > Hm. I find it strange because when printing into a file, there > should be no driver for a specific printer involved. But > ".configure" perhaps is not resetting everything to default but > leaves a few settings from the printer previously chosen. > > Regards > > Rolf > > > > Am 14.07.2018 um 23:46 schrieb Gianluigi: >> It's not strange, if your printer is configured forgray scale >> printing... >> Leaving out configure, you get the default configuration. >> >> Regards >> Gianluigi >> >> 2018-07-14 23:34 GMT+02:00 Rolf-Werner Eilert > >: >> >> I found something: When I leave out .Configure like you did, >> and define everything including the PDF file, then it prints >> colors. >> >> Strange though... >> >> Rolf >> >> >> >> Am 14.07.2018 um 23:01 schrieb Gianluigi: >>> This code work to me. >>> >>> Public Sub Button1_Click() >>> >>> ? With Printer1 >>> ??? 'If you insert configure you can see the printer >>> configuration :-) >>> ??? '.Configure >>> ??? .Orientation = 0 >>> ??? .Paper = 2 >>> ??? .Resolution = Desktop.Resolution >>> ??? ' Output in tmp folder >>> ??? .OutputFile = "/tmp/print_test.pdf" >>> ??? .Print >>> ? End With >>> >>> End >>> >>> Public Sub Printer1_Draw() >>> >>> ? Paint.FillRect(20, 30, 700, 1000, Color.Red) >>> >>> End >>> >>> Regards >>> Gianluigi >>> >>> 2018-07-14 21:53 GMT+02:00 Rolf-Werner Eilert >>> >: >>> >>> Currently I try to make up a simple printing into PDF >>> for a program. It would be fine if I could print colored >>> squares, but from a first trial I only got grays: >>> >>> Paint.FillRect(randLinks, randOben, 1000, 1000, Color.Red) >>> >>> Any hint what might go wrong? This is on my laptop, and >>> the only printer driver installed is for a grayscale >>> laser printer, but printing into a file (PDF) shouldn't >>> be affected by this, should it? >>> >>> Thanks for your ideas! >>> >>> Rolf >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by >>> https://www.hostsharing.net ]---- >>> >>> >>> >>> >>> ----[ Gambas mailing-list is hosted byhttps://www.hostsharing.net ]---- >> >> >> >> ----[ Gambas mailing-list is hosted by >> https://www.hostsharing.net ]---- >> >> >> >> >> ----[ Gambas mailing-list is hosted byhttps://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Jul 15 14:03:43 2018 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 15 Jul 2018 14:03:43 +0200 Subject: [Gambas-user] Tab's In-Reply-To: References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> <4d65d967-5a07-cc0d-5918-722e54955684@gmail.com> Message-ID: I try to explain myself better: You need to activate the gb.desktop component, and then type: Public Sub Form_KeyPress() ' Or Key_Release() If Key.code = Key.Return Then Desktop.SendKeys("[Tab]") Endif End Regards Gianluigi 2018-07-15 9:18 GMT+02:00 Gianluigi : > And if You use Key.Return? > > Regards > Gianluigi > > 2018-07-15 2:23 GMT+02:00 Shane : > >> gave this a try and its not working >> >> my code >> >> if key.code = key["ENTER"] then >> >> my sent key.code = 65293 and the value for key["ENTER"] = 65421 >> >> i tried this with if key.code = key.enter and got the same result whats >> going on ? >> >> cheers Shane. >> >> On 14/07/18 23:54, Adam Ant wrote: >> >> As far as I remember, you will need to use the KeyRelease event, >> something along the lines of: >> >> Public Sub MyControl_KeyRelease(???) >> >> If Key = Key.Return then >> MyControl.Next.Activate ' or MyControl.Next.SetFocus >> >> or something like that. It's been a year or so.... >> This IIRC works for most controls, maybe not gridview and posibly >> checkbox? >> >> hth >> Bruce >> >> >> On Sat, Jul 14, 2018 at 5:48 PM, Bill >> wrote: >> >>> I use the Activate event and the LostFocus so that either the 'enter' >>> key or the tab key moves to the next control after the contents of the text >>> box has been checked >>> >>> Bill >>> >>> >>> >>> On 14/07/18 08:29, Shane wrote: >>> >>>> Yep got that >>>> >>>> but i want to this while in my program not the ide >>>> >>>> so in my program i want to press enter and it would act like i was >>>> pressing the tab key >>>> >>>> hope this make scene >>>> >>>> thanks for your help >>>> >>>> regrades Shane. >>>> >>>> >>>> On 14/07/18 15:57, Karl Reinl wrote: >>>> >>>>> Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane: >>>>> >>>>>> how can I enter a value in a component and then press enter and have >>>>>> my >>>>>> program tab into the next component in the tab order? >>>>>> >>>>>> >>>>>> cheers Shane. >>>>>> >>>>>> Salut Shane, >>>>> >>>>> on a form, choose the property window and open the second Tab (think >>>>> its >>>>> called hierarchy) >>>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Sun Jul 15 15:37:53 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sun, 15 Jul 2018 09:37:53 -0400 Subject: [Gambas-user] Tab's In-Reply-To: <4d65d967-5a07-cc0d-5918-722e54955684@gmail.com> References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> <4d65d967-5a07-cc0d-5918-722e54955684@gmail.com> Message-ID: <568929ae-010b-4f57-7078-2a07d2922fa7@gmail.com> The constant value for Key["ENTER"] (same as Key.Enter) should be 16777221. (http://gambaswiki.org/wiki/comp/gb.qt4/key/enter) And, the value for Key.Return should be 16777220. (http://gambaswiki.org/wiki/comp/gb.qt4/key/return) The "ENTER" key is the one on the numeric keypad. The "RETURN" key is in the alpha section. -- Lee On 07/14/2018 08:23 PM, Shane wrote: > gave this a try and its not working > > my code > > if key.code = key["ENTER"] then > > my sent key.code = 65293 and the value for key["ENTER"] = 65421 > > i tried this with if key.code = key.enter and got the same result whats going on ? > > cheers Shane. > > > On 14/07/18 23:54, Adam Ant wrote: >> As far as I remember, you will need to use the KeyRelease event, something along the lines of: >> >> Public Sub MyControl_KeyRelease(???) >> >> ? If Key = Key.Return then >> ???? MyControl.Next.Activate ' or MyControl.Next.SetFocus >> ? >> or something like that. It's been a year or so.... >> This IIRC works for most controls, maybe not gridview and posibly checkbox? >> >> hth >> Bruce >> >> >> On Sat, Jul 14, 2018 at 5:48 PM, Bill > wrote: >> >> I use the Activate event and the LostFocus so that either the 'enter' key or the tab key moves to the next control after >> the contents of the text box has been checked >> >> Bill >> >> >> >> On 14/07/18 08:29, Shane wrote: >> >> Yep got that >> >> but i want to this while in my program not the ide >> >> so in my program i want to press enter and it would act like i was pressing the tab key >> >> hope this make scene >> >> thanks for your help >> >> regrades Shane. >> >> >> On 14/07/18 15:57, Karl Reinl wrote: >> >> Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane: >> >> how can I enter a value in a component and then press enter and have my >> program tab into the next component in the tab order? >> >> >> cheers Shane. >> >> Salut Shane, >> >> on a form, choose the property window and open the second Tab (think its >> called hierarchy) >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From gambas.fr at gmail.com Sun Jul 15 16:15:08 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sun, 15 Jul 2018 16:15:08 +0200 Subject: [Gambas-user] Tab's In-Reply-To: <568929ae-010b-4f57-7078-2a07d2922fa7@gmail.com> References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> <4d65d967-5a07-cc0d-5918-722e54955684@gmail.com> <568929ae-010b-4f57-7078-2a07d2922fa7@gmail.com> Message-ID: This is how I'm doing this Le dim. 15 juil. 2018 ? 15:38, T Lee Davidson a ?crit : > The constant value for Key["ENTER"] (same as Key.Enter) should be 16777221. > (http://gambaswiki.org/wiki/comp/gb.qt4/key/enter) > > And, the value for Key.Return should be 16777220. > (http://gambaswiki.org/wiki/comp/gb.qt4/key/return) > > The "ENTER" key is the one on the numeric keypad. The "RETURN" key is in > the alpha section. > > > -- > Lee > > > On 07/14/2018 08:23 PM, Shane wrote: > > gave this a try and its not working > > > > my code > > > > if key.code = key["ENTER"] then > > > > my sent key.code = 65293 and the value for key["ENTER"] = 65421 > > > > i tried this with if key.code = key.enter and got the same result whats > going on ? > > > > cheers Shane. > > > > > > On 14/07/18 23:54, Adam Ant wrote: > >> As far as I remember, you will need to use the KeyRelease event, > something along the lines of: > >> > >> Public Sub MyControl_KeyRelease(???) > >> > >> If Key = Key.Return then > >> MyControl.Next.Activate ' or MyControl.Next.SetFocus > >> > >> or something like that. It's been a year or so.... > >> This IIRC works for most controls, maybe not gridview and posibly > checkbox? > >> > >> hth > >> Bruce > >> > >> > >> On Sat, Jul 14, 2018 at 5:48 PM, Bill > wrote: > >> > >> I use the Activate event and the LostFocus so that either the > 'enter' key or the tab key moves to the next control after > >> the contents of the text box has been checked > >> > >> Bill > >> > >> > >> > >> On 14/07/18 08:29, Shane wrote: > >> > >> Yep got that > >> > >> but i want to this while in my program not the ide > >> > >> so in my program i want to press enter and it would act like i > was pressing the tab key > >> > >> hope this make scene > >> > >> thanks for your help > >> > >> regrades Shane. > >> > >> > >> On 14/07/18 15:57, Karl Reinl wrote: > >> > >> Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane: > >> > >> how can I enter a value in a component and then press > enter and have my > >> program tab into the next component in the tab order? > >> > >> > >> cheers Shane. > >> > >> Salut Shane, > >> > >> on a form, choose the property window and open the second > Tab (think its > >> called hierarchy) > >> > >> > >> > >> ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > >> > >> > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > >> > >> > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: demotab-0.0.1.tar.gz Type: application/gzip Size: 11339 bytes Desc: not available URL: From bagonergi at gmail.com Sun Jul 15 19:28:55 2018 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 15 Jul 2018 19:28:55 +0200 Subject: [Gambas-user] Tab's In-Reply-To: References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> <4d65d967-5a07-cc0d-5918-722e54955684@gmail.com> <568929ae-010b-4f57-7078-2a07d2922fa7@gmail.com> Message-ID: Hi Fabien, fine code, I vote this :-) Regards Gianluigi 2018-07-15 16:15 GMT+02:00 Fabien Bodard : > This is how I'm doing this > > Le dim. 15 juil. 2018 ? 15:38, T Lee Davidson > a ?crit : > >> The constant value for Key["ENTER"] (same as Key.Enter) should be >> 16777221. >> (http://gambaswiki.org/wiki/comp/gb.qt4/key/enter) >> >> And, the value for Key.Return should be 16777220. >> (http://gambaswiki.org/wiki/comp/gb.qt4/key/return) >> >> The "ENTER" key is the one on the numeric keypad. The "RETURN" key is in >> the alpha section. >> >> >> -- >> Lee >> >> >> On 07/14/2018 08:23 PM, Shane wrote: >> > gave this a try and its not working >> > >> > my code >> > >> > if key.code = key["ENTER"] then >> > >> > my sent key.code = 65293 and the value for key["ENTER"] = 65421 >> > >> > i tried this with if key.code = key.enter and got the same result whats >> going on ? >> > >> > cheers Shane. >> > >> > >> > On 14/07/18 23:54, Adam Ant wrote: >> >> As far as I remember, you will need to use the KeyRelease event, >> something along the lines of: >> >> >> >> Public Sub MyControl_KeyRelease(???) >> >> >> >> If Key = Key.Return then >> >> MyControl.Next.Activate ' or MyControl.Next.SetFocus >> >> >> >> or something like that. It's been a year or so.... >> >> This IIRC works for most controls, maybe not gridview and posibly >> checkbox? >> >> >> >> hth >> >> Bruce >> >> >> >> >> >> On Sat, Jul 14, 2018 at 5:48 PM, Bill > > wrote: >> >> >> >> I use the Activate event and the LostFocus so that either the >> 'enter' key or the tab key moves to the next control after >> >> the contents of the text box has been checked >> >> >> >> Bill >> >> >> >> >> >> >> >> On 14/07/18 08:29, Shane wrote: >> >> >> >> Yep got that >> >> >> >> but i want to this while in my program not the ide >> >> >> >> so in my program i want to press enter and it would act like i >> was pressing the tab key >> >> >> >> hope this make scene >> >> >> >> thanks for your help >> >> >> >> regrades Shane. >> >> >> >> >> >> On 14/07/18 15:57, Karl Reinl wrote: >> >> >> >> Am Samstag, den 14.07.2018, 14:33 +1000 schrieb Shane: >> >> >> >> how can I enter a value in a component and then press >> enter and have my >> >> program tab into the next component in the tab order? >> >> >> >> >> >> cheers Shane. >> >> >> >> Salut Shane, >> >> >> >> on a form, choose the property window and open the second >> Tab (think its >> >> called hierarchy) >> >> >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by >> https://www.hostsharing.net ]---- >> >> >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> ]---- >> >> >> >> >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> ]---- >> > >> > >> > >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> ]---- >> > >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > -- > Fabien Bodard > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Sun Jul 15 23:14:15 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 15 Jul 2018 23:14:15 +0200 Subject: [Gambas-user] Error in the FileProperties control In-Reply-To: <0c6eed12-fe0d-7cb9-4dd3-4dbe4597f7ef@gambas-buch.de> References: <0c6eed12-fe0d-7cb9-4dd3-4dbe4597f7ef@gambas-buch.de> Message-ID: Le 08/07/2018 ? 10:02, Hans Lehmann a ?crit?: > Hello, > > when I pass a directory to a FileProperties control, the type > 'Directory' is displayed. If I change to an image (via FileChoser), then > the type is changed to 'Image' and additionally a preview of the image > is offered. After switching to a simple text file, the relevant > properties are displayed correctly - only the type remains on 'Image'. I > think that's a mistake. > > With kind regards > > Hans > gambas-book.net > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > Please check the last development version commit. If you still have a problem, please post a full project that reproduces it. Regards, -- Beno?t Minisini From jussi.lahtinen at gmail.com Mon Jul 16 01:43:14 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 16 Jul 2018 02:43:14 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: <9094d73b-c039-43d7-7e24-1fd2f974ad54@gmail.com> References: <9094d73b-c039-43d7-7e24-1fd2f974ad54@gmail.com> Message-ID: Yes, I meant that the JIT compilation/generation of the code does not crash, but execution of the code from JIT crashes. Jussi On Sunday, July 8, 2018, Beno?t Minisini wrote: > Le 06/07/2018 ? 03:42, Jussi Lahtinen a ?crit : > >> Oh, the last project (NewJITtest-3) need to be ran in order to cause the >> crash. IE compiling alone does not crash anything. >> >> >> Jussi >> >> > It should be fixed in the last commit. > > Note that compiling has nothing to do with JIT. > > JIT compiling is done at runtime, and then you can get a crash in the JIT > compiler, or in the code generated by the JIT compiler. > > You know that by setting GB_JIT_DEBUG=1. Then you can see if the crash > occurs during the JIT code generation or after. > > Regards, > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Mon Jul 16 01:45:44 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 16 Jul 2018 02:45:44 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: <4bb689d5-ce94-9aa7-94e1-5a23a7dba8a4@gmail.com> References: <4bb689d5-ce94-9aa7-94e1-5a23a7dba8a4@gmail.com> Message-ID: I think it was my mistake. I will test it and Gambas more after couple weeks. Jussi On Sunday, July 8, 2018, Beno?t Minisini wrote: > Le 06/07/2018 ? 03:29, Jussi Lahtinen a ?crit : > >> Also I think I find bug from the GNU compiler. >> >> > Mmm... I would be surprised. > > I have found a weird behaviour of gcc: if I tell gcc that the interpreter > function that throws errors never returns (the syntax is > '__attribute__((noreturn))', then gcc becomes mad and 10x slower to compile > the JIT code. > > But I'm not sure that gcc would recognize that as a bug if I report it. > > Regards, > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Mon Jul 16 01:48:52 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Mon, 16 Jul 2018 02:48:52 +0300 Subject: [Gambas-user] News about the new just-in-time compiler In-Reply-To: References: <4bb689d5-ce94-9aa7-94e1-5a23a7dba8a4@gmail.com> Message-ID: Almost forgot... I think the slowdown of the gcc would be worth to report. I mean what is the harm? Jussi On Monday, July 16, 2018, Jussi Lahtinen wrote: > I think it was my mistake. I will test it and Gambas more after couple > weeks. > > Jussi > > > On Sunday, July 8, 2018, Beno?t Minisini wrote: > >> Le 06/07/2018 ? 03:29, Jussi Lahtinen a ?crit : >> >>> Also I think I find bug from the GNU compiler. >>> >>> >> Mmm... I would be surprised. >> >> I have found a weird behaviour of gcc: if I tell gcc that the interpreter >> function that throws errors never returns (the syntax is >> '__attribute__((noreturn))', then gcc becomes mad and 10x slower to compile >> the JIT code. >> >> But I'm not sure that gcc would recognize that as a bug if I report it. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From moviga at mykolab.ch Mon Jul 16 11:56:41 2018 From: moviga at mykolab.ch (Moviga Technologies) Date: Mon, 16 Jul 2018 11:56:41 +0200 Subject: [Gambas-user] Set component's default color _Property Message-ID: <6a198f866e71342b3cb646c42b330844@mykolab.ch> Question #1: How should I correctly set the color property? The only example I found in the wiki was Color1{Color}=-1 Trying to set the HEX value, but to no avail: Public Const _Properties As String = "*,Text,Border,Color1{Color}=&HDFDFDF&,Color2{Color}=&H9F9F9F&" Question #2: When I've changed or added some property (like Color1 above), or the component image, the change is normally not reflected in the form designer. If i restart Gambas, or use the reload project button, it will often times not help either. But after some time, it just happens that the form designer catches up. It has been like this for years, but now I'm asking why :) What mechanism causes the form designer to reload the proper values? From mckaygerhard at gmail.com Mon Jul 16 16:30:39 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 16 Jul 2018 10:30:39 -0400 Subject: [Gambas-user] oibject serialization, how to do? In-Reply-To: References: <31220c31-d3e4-5d23-190e-a8e0e7937dce@gambas-buch.de> Message-ID: any that can help in serialization on gambas? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-13 11:25 GMT-04:00 PICCORO McKAY Lenz : > 2018-07-13 2:27 GMT-04:00 Hans Lehmann : > >> Look here: >> >> https://www.gambas-buch.de/doku.php?id=k24:k24.6:k24.6.9:start >> >> Hans >> > > interesting, a simple example for make a json encoding.. but a > client-server example will be helpfully > > in any case as link from hans and wiki said seems the Json implementation > on gambas are serializated? > > > *are the json implementaion on gambas serialized? i review the json code > in gambas and it writes to a stream! that implicated serialized?* > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Jul 16 18:18:29 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 16 Jul 2018 18:18:29 +0200 Subject: [Gambas-user] Translating native error messages In-Reply-To: <20180708130353.GM1010@highrise.localdomain> References: <20180708130353.GM1010@highrise.localdomain> Message-ID: Le 08/07/2018 ? 15:03, Tobias Boege a ?crit?: > Hi Benoit, > > I saw some mixed-language error messages in output from someone recently. > (I run in an English locale, so I never noticed.) I think they come from > code like this: > > Error.Raise(Subst$(("Something went wrong: &1"), Error.Text)) > > where the translated string is translated in the Gambas project this > code comes from, but the Error.Text is a low-level interpreter or native > component error message, which is not translated. > > I don't know gettext, so my first question is: can't we translate these > native pieces just like we translate Gambas projects? Is it "just" a > matter of doing translation work and inserting some macros in the sources? > > Regards, > Tobi > The problem is that error messages coming from underlying libraries may be anything. We can just imagine a translation system for error messages defined in the Gambas source code, as it is already done for the interpreter and the compiler (browsing the source code as it is already done in the MErrorMessage.Main function of the IDE source code). Regards, -- Beno?t Minisini From g4mba5 at gmail.com Mon Jul 16 18:20:03 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 16 Jul 2018 18:20:03 +0200 Subject: [Gambas-user] how to detect if class.load was susessfully? In-Reply-To: References: Message-ID: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> Le 10/07/2018 ? 20:18, PICCORO McKAY Lenz a ?crit?: > i want to make compile time code that check if a particular class are > inside by class.load("name") > > that it's possible also for modules? how? due seems same code does not > work for me! > > > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > Please rewrite that in English. -- Beno?t Minisini From g4mba5 at gmail.com Mon Jul 16 18:22:05 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 16 Jul 2018 18:22:05 +0200 Subject: [Gambas-user] What does this means? (gbx3:4314 dbind-WARNING) In-Reply-To: References: Message-ID: Le 11/07/2018 ? 09:19, Jorge Carri?n a ?crit?: > A project of mine, who is working fine since 2010, send this output to > gambas console when is launched: > > "(gbx3:4314): dbind-WARNING **: 09:15:57.038: Couldn't register with > accessibility bus: Did not receive a reply. Possible causes include: the > remote application did not send a reply, the message bus security policy > blocked the reply, the reply > ?timeout expired, or the network connection was broken." > > What does it means? > > I haven't a clue... > > Best Regards > It's obviusly a message coming from an underlying library outside of the Gambas scope, related to accessibility. I can't say more than what it is said in the warning message. On Ubuntu, I have warnings too when I use gb.qt4 instead of gb.qt5. Regards, -- Beno?t Minisini From mckaygerhard at gmail.com Mon Jul 16 18:53:49 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 16 Jul 2018 12:53:49 -0400 Subject: [Gambas-user] how to detect if class.load was susessfully? In-Reply-To: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> References: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> Message-ID: ok i try to explain in other words: After compiling and having the executable, how do I make my runtime program detect or determine if a "pepe" module event a class was included or is part of the executable, similar to how it does class.load? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-16 12:20 GMT-04:00 Beno?t Minisini : > Le 10/07/2018 ? 20:18, PICCORO McKAY Lenz a ?crit : >> >> i want to make compile time code that check if a particular class are >> inside by class.load("name") >> >> that it's possible also for modules? how? due seems same code does not >> work for me! >> >> >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > Please rewrite that in English. > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From g4mba5 at gmail.com Mon Jul 16 18:59:06 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 16 Jul 2018 18:59:06 +0200 Subject: [Gambas-user] how to detect if class.load was susessfully? In-Reply-To: References: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> Message-ID: Le 16/07/2018 ? 18:53, PICCORO McKAY Lenz a ?crit?: > ok i try to explain in other words: > > After compiling and having the executable, how do I make my runtime > program detect or determine if a "pepe" module event a class was > included or is part of the executable, similar to how it does > class.load? > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > With or without loading the class? -- Beno?t Minisini From mckaygerhard at gmail.com Mon Jul 16 19:02:59 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 16 Jul 2018 13:02:59 -0400 Subject: [Gambas-user] how to detect if class.load was susessfully? In-Reply-To: References: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> Message-ID: no no i mean loaded a module like does with class, i see in the wiki class.load and in the source of the json and web componentes that but seems the usage are only related to the class type if a module its a static class i can made algo class.load("modulename") ? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-16 12:59 GMT-04:00 Beno?t Minisini : > Le 16/07/2018 ? 18:53, PICCORO McKAY Lenz a ?crit : >> >> ok i try to explain in other words: >> >> After compiling and having the executable, how do I make my runtime >> program detect or determine if a "pepe" module event a class was >> included or is part of the executable, similar to how it does >> class.load? >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> > > With or without loading the class? > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From g4mba5 at gmail.com Mon Jul 16 19:06:03 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 16 Jul 2018 19:06:03 +0200 Subject: [Gambas-user] how to detect if class.load was susessfully? In-Reply-To: References: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> Message-ID: <27b4a724-8ba1-bab0-b5b2-dca4ac586102@gmail.com> Le 16/07/2018 ? 19:02, PICCORO McKAY Lenz a ?crit?: > no no i mean loaded a module like does with class, i see in the wiki > class.load and in the source of the json and web componentes that but > seems the usage are only related to the class type > > if a module its a static class i can made algo class.load("modulename") ? > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > A module *is* a class. -- Beno?t Minisini From mckaygerhard at gmail.com Mon Jul 16 19:15:10 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 16 Jul 2018 13:15:10 -0400 Subject: [Gambas-user] how to detect if class.load was susessfully? In-Reply-To: <27b4a724-8ba1-bab0-b5b2-dca4ac586102@gmail.com> References: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> <27b4a724-8ba1-bab0-b5b2-dca4ac586102@gmail.com> Message-ID: i can check at runtime if "that" module exist or not compiled into the executable? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-16 13:06 GMT-04:00 Beno?t Minisini : > Le 16/07/2018 ? 19:02, PICCORO McKAY Lenz a ?crit : >> >> no no i mean loaded a module like does with class, i see in the wiki >> class.load and in the source of the json and web componentes that but >> seems the usage are only related to the class type >> >> if a module its a static class i can made algo class.load("modulename") ? >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> > > A module *is* a class. > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From chrisml at deganius.de Mon Jul 16 21:16:41 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 16 Jul 2018 21:16:41 +0200 Subject: [Gambas-user] oibject serialization, how to do? In-Reply-To: References: <31220c31-d3e4-5d23-190e-a8e0e7937dce@gambas-buch.de> Message-ID: <78e29723-28b6-54a2-f2b0-1e9271462800@deganius.de> Am 16.07.2018 um 16:30 schrieb PICCORO McKAY Lenz: > any that can help in serialization on gambas? I am doing serialization of classes that I call "Models". These classes inherit a class called CModel, which defines the interfaces for serialization. A Model contains only read/write properties of types like string, integer, float and boolean, which can be serialized easily via JSON. The serialization goes like that: In CModel.class there are these two functions: ---------------------------------------------------------------- ' Gambas class file '' Creates a JSon string containing the properties and content '' of the model. '' Symbol names beginning with "_" are excluded. Public Function GetModelAsJson() As String Dim symname As String Dim col As New JSONCollection Dim Value As Variant For Each symname In Object.Class(Me).Symbols If Not $NotSyms.Exist(symname) Then If Left(symname, 1) <> "_" Then Try Value = Object.GetProperty(Me, symname) If IsNull(Value) Then col.Add(JSON.Null, symname) Else col.Add(Value, symname) Endif Endif Endif Next Return JSON.Encode(col) End ' The reverse function. Fill the model from a JSON string: Public Function FillModelFromJson(Value As String) Dim col As JSONCollection Dim Element As Variant col = JSON.Decode(value, True) For Each Element In col Object.SetProperty(Me, col.Key, Element) Next End ---------------------------------------------------------------- A model looks like that (ModelTest.class): ---------------------------------------------------------------- ' Gambas class file Inherits CModel ' -------------------------- Strings Property MyName As String Private $MyName As String ' -------------------------- Integers Property MyInt As Integer Private $MyInt As Integer Private Function MyName_Read() As String Return $MyName End Private Sub MyName_Write(Value As String) $MyName = Value End Private Function MyInt_Read() As Integer Return $MyInt End Private Sub MyInt_Write(Value As Integer) $MyInt = Value End ---------------------------------------------------------------- And can be used like so: ---------------------------------------------------------------- Dim Model1 as New ModelTest Dim Model2 as ModelTest Dim sJson as String With Model1 .MyName = "Piccoro" .MyInt = 888 End With 'serialize sJson = Model1.GetModelAsJson() Model2 = New ModelTest Model2.FillModelFromJson(sJson) 'Now Model2 is a identical copy of Model1 ---------------------------------------------------------------- Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From chrisml at deganius.de Mon Jul 16 21:21:04 2018 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 16 Jul 2018 21:21:04 +0200 Subject: [Gambas-user] oibject serialization, how to do? In-Reply-To: <78e29723-28b6-54a2-f2b0-1e9271462800@deganius.de> References: <31220c31-d3e4-5d23-190e-a8e0e7937dce@gambas-buch.de> <78e29723-28b6-54a2-f2b0-1e9271462800@deganius.de> Message-ID: <7b5a36d8-8c4c-2df4-49b3-0c50f2957711@deganius.de> Grmbl, I forgot something in CModel: Am 16.07.2018 um 21:16 schrieb Christof Thalhofer: > In CModel.class there are these two functions: > > ---------------------------------------------------------------- > > ' Gambas class file Private $NotSyms As String[] = ["GetModelAsJson", "FillModelFromJson"] > '' Creates a JSon string containing the properties and content > '' of the model. > '' Symbol names beginning with "_" are excluded. > > Public Function GetModelAsJson() As String > > Dim symname As String > Dim col As New JSONCollection > Dim Value As Variant > > For Each symname In Object.Class(Me).Symbols > If Not $NotSyms.Exist(symname) Then > If Left(symname, 1) <> "_" Then > Try Value = Object.GetProperty(Me, symname) > If IsNull(Value) Then > col.Add(JSON.Null, symname) > Else > col.Add(Value, symname) > Endif > Endif > Endif > Next > > Return JSON.Encode(col) ... Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From g4mba5 at gmail.com Mon Jul 16 21:26:32 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 16 Jul 2018 21:26:32 +0200 Subject: [Gambas-user] how to detect if class.load was susessfully? In-Reply-To: References: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> <27b4a724-8ba1-bab0-b5b2-dca4ac586102@gmail.com> Message-ID: <1d299c6f-b537-78c9-9bb0-2e0d9e2d2f16@gmail.com> Le 16/07/2018 ? 19:15, PICCORO McKAY Lenz a ?crit?: > i can check at runtime if "that" module exist or not compiled into the > executable? > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > If you check the existence of a class just to load it, then you can just call Class.Load(). Otherwise, you can use the Class.Stat() method from the gb.util component. It will fail if a class name cannot be loaded, without trying to actually load it. Or you can check the existence of the local path ".gambas/CLASSNAME", but then you depend on the structure of the executable archive. Beware that all that won't work if your class/module is not located in the main project but in a library or in a component. Regards, -- Beno?t Minisini From mckaygerhard at gmail.com Mon Jul 16 21:28:50 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 16 Jul 2018 15:28:50 -0400 Subject: [Gambas-user] oibject serialization, how to do? In-Reply-To: <7b5a36d8-8c4c-2df4-49b3-0c50f2957711@deganius.de> References: <31220c31-d3e4-5d23-190e-a8e0e7937dce@gambas-buch.de> <78e29723-28b6-54a2-f2b0-1e9271462800@deganius.de> <7b5a36d8-8c4c-2df4-49b3-0c50f2957711@deganius.de> Message-ID: 2018-07-16 15:21 GMT-04:00 Christof Thalhofer : > Grmbl, I forgot something in CModel: yeah i was reading: "there's something here that i need?" > Private $NotSyms As String[] = ["GetModelAsJson", "FillModelFromJson"] GREAT EXAMPLE THANKS! good trick using json class ka ka ka > >> '' Creates a JSon string containing the properties and content >> '' of the model. >> '' Symbol names beginning with "_" are excluded. >> >> Public Function GetModelAsJson() As String >> >> Dim symname As String >> Dim col As New JSONCollection >> Dim Value As Variant >> >> For Each symname In Object.Class(Me).Symbols >> If Not $NotSyms.Exist(symname) Then >> If Left(symname, 1) <> "_" Then >> Try Value = Object.GetProperty(Me, symname) >> If IsNull(Value) Then >> col.Add(JSON.Null, symname) >> Else >> col.Add(Value, symname) >> Endif >> Endif >> Endif >> Next >> >> Return JSON.Encode(col) > > ... > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Mon Jul 16 21:43:01 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 16 Jul 2018 15:43:01 -0400 Subject: [Gambas-user] how to detect if class.load was susessfully? In-Reply-To: <1d299c6f-b537-78c9-9bb0-2e0d9e2d2f16@gmail.com> References: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> <27b4a724-8ba1-bab0-b5b2-dca4ac586102@gmail.com> <1d299c6f-b537-78c9-9bb0-2e0d9e2d2f16@gmail.com> Message-ID: 2018-07-16 15:26 GMT-04:00 Beno?t Minisini : > Otherwise, you can use the Class.Stat() method from the gb.util component. > It will fail if a class name cannot be loaded, without trying to actually > load it. in wiki can see examples of stat but not from class.stast(), this will need a real path ? > > Or you can check the existence of the local path ".gambas/CLASSNAME", but > then you depend on the structure of the executable archive. > > Beware that all that won't work if your class/module is not located in the > main project but in a library or in a component. works if a library do this ? i mean a library check their own class/modules ? > > Regards, > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Mon Jul 16 22:46:49 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 16 Jul 2018 16:46:49 -0400 Subject: [Gambas-user] how to detect if class.load was susessfully? In-Reply-To: References: <1be8aacd-7888-ab03-4f09-77cd2248a8b1@gmail.com> <27b4a724-8ba1-bab0-b5b2-dca4ac586102@gmail.com> <1d299c6f-b537-78c9-9bb0-2e0d9e2d2f16@gmail.com> Message-ID: i ask for a example due i do Class.stat() and does give me "unknow symbol" abouot stat! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-16 15:43 GMT-04:00 PICCORO McKAY Lenz : > 2018-07-16 15:26 GMT-04:00 Beno?t Minisini : >> Otherwise, you can use the Class.Stat() method from the gb.util component. >> It will fail if a class name cannot be loaded, without trying to actually >> load it. > in wiki can see examples of stat but not from class.stast(), this will > need a real path ? > > >> >> Or you can check the existence of the local path ".gambas/CLASSNAME", but >> then you depend on the structure of the executable archive. >> >> Beware that all that won't work if your class/module is not located in the >> main project but in a library or in a component. > > works if a library do this ? i mean a library check their own class/modules ? > > >> >> Regards, >> >> >> -- >> Beno?t Minisini >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From buster6seven at gmail.com Mon Jul 16 23:03:48 2018 From: buster6seven at gmail.com (Shane) Date: Tue, 17 Jul 2018 07:03:48 +1000 Subject: [Gambas-user] Tab's In-Reply-To: References: <78f56801-ba94-b565-39e3-44249a3fabe4@gmail.com> <1531547841.32170.72.camel@Scenic.local> <6e215215-957b-2e93-8649-fbb3391978a7@brackenwood.one> <4d65d967-5a07-cc0d-5918-722e54955684@gmail.com> <568929ae-010b-4f57-7078-2a07d2922fa7@gmail.com> Message-ID: <1d5a9f42-533a-8d08-e2b3-44ff47667f89@gmail.com> Thanks everyone i was away for a bit looks like i was using the wrong key doh. On 16/07/18 03:28, Gianluigi wrote: > Hi Fabien, > fine code, I vote this :-) > > Regards > Gianluigi > > 2018-07-15 16:15 GMT+02:00 Fabien Bodard >: > > This is how I'm doing this > > Le?dim. 15 juil. 2018 ??15:38, T Lee Davidson > > a ?crit?: > > The constant value for Key["ENTER"] (same as Key.Enter) should > be 16777221. > (http://gambaswiki.org/wiki/comp/gb.qt4/key/enter > ) > > And, the value for Key.Return should be 16777220. > (http://gambaswiki.org/wiki/comp/gb.qt4/key/return > ) > > The "ENTER" key is the one on the numeric keypad. The "RETURN" > key is in the alpha section. > > > -- > Lee > > > On 07/14/2018 08:23 PM, Shane wrote: > > gave this a try and its not working > > > > my code > > > > if key.code = key["ENTER"] then > > > > my sent key.code = 65293 and the value for key["ENTER"] = 65421 > > > > i tried this with if key.code = key.enter and got the same > result whats going on ? > > > > cheers Shane. > > > > > > On 14/07/18 23:54, Adam Ant wrote: > >> As far as I remember, you will need to use the KeyRelease > event, something along the lines of: > >> > >> Public Sub MyControl_KeyRelease(???) > >> > >> ? If Key = Key.Return then > >> ???? MyControl.Next.Activate ' or MyControl.Next.SetFocus > >> > >> or something like that. It's been a year or so.... > >> This IIRC works for most controls, maybe not gridview and > posibly checkbox? > >> > >> hth > >> Bruce > >> > >> > >> On Sat, Jul 14, 2018 at 5:48 PM, Bill > >> wrote: > >> > >>? ? ?I use the Activate event and the LostFocus so that > either the 'enter' key or the tab key moves to the next > control after > >>? ? ?the contents of the text box has been checked > >> > >>? ? ?Bill > >> > >> > >> > >>? ? ?On 14/07/18 08:29, Shane wrote: > >> > >>? ? ? ? ?Yep got that > >> > >>? ? ? ? ?but i want to this while in my program not the ide > >> > >>? ? ? ? ?so in my program i want to press enter and it would > act like i was pressing the tab key > >> > >>? ? ? ? ?hope this make scene > >> > >>? ? ? ? ?thanks for your help > >> > >>? ? ? ? ?regrades Shane. > >> > >> > >>? ? ? ? ?On 14/07/18 15:57, Karl Reinl wrote: > >> > >>? ? ? ? ? ? ?Am Samstag, den 14.07.2018, 14:33 +1000 schrieb > Shane: > >> > >>? ? ? ? ? ? ? ? ?how can I enter a value in a component and > then press enter and have my > >>? ? ? ? ? ? ? ? ?program tab into the next component in the > tab order? > >> > >> > >>? ? ? ? ? ? ? ? ?cheers Shane. > >> > >>? ? ? ? ? ? ?Salut Shane, > >> > >>? ? ? ? ? ? ?on a form, choose the property window and open > the second Tab (think its > >>? ? ? ? ? ? ?called hierarchy) > >> > >> > >> > >>? ? ? ? ?----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > >> > >> > >> > >>? ? ?----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > >> > >> > >> > >> > >> ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > > > > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > -- > Fabien Bodard > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Mon Jul 16 23:40:26 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 16 Jul 2018 17:40:26 -0400 Subject: [Gambas-user] any way to set variable macros like C, ? Message-ID: i want to set dinamycally installation path when user compile from sources by command line.. by example set Dim confdir = INSTALLDIR + "/etc/" but at the source class file, where "INSTALLDIR are the macro variable from compile time any way to do this? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas.fr at gmail.com Tue Jul 17 06:50:02 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 17 Jul 2018 06:50:02 +0200 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: You have Application.Dir for that no ? Le lun. 16 juil. 2018 23:41, PICCORO McKAY Lenz a ?crit : > i want to set dinamycally installation path when user compile from > sources by command line.. > > by example set Dim confdir = INSTALLDIR + "/etc/" but at the source > class file, where "INSTALLDIR are the macro variable from compile time > > any way to do this? > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Tue Jul 17 14:14:03 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 17 Jul 2018 08:14:03 -0400 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: 2018-07-17 0:50 GMT-04:00 Fabien Bodard : > You have Application.Dir for that no ? its' not only about directories, and application.dir are so limited to that only path i expant that example now: i need a PREFIX not a PATH that's why i ask! in other way, as example i need a alternate name for lauch executable etc! > > Le lun. 16 juil. 2018 23:41, PICCORO McKAY Lenz a > ?crit : >> >> i want to set dinamycally installation path when user compile from >> sources by command line.. >> >> by example set Dim confdir = INSTALLDIR + "/etc/" but at the source >> class file, where "INSTALLDIR are the macro variable from compile time >> >> any way to do this? >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From ujlain at gmail.com Tue Jul 17 14:36:25 2018 From: ujlain at gmail.com (Vinode Singh Ujlain) Date: Tue, 17 Jul 2018 18:06:25 +0530 Subject: [Gambas-user] Need help with packaging application for distribution Message-ID: <3957a71d-3d7d-faf2-c827-4197f889bf70@gmail.com> Dear Beno?t, 1. Need your help. I finished a project using Gambas 3.11.2.? I made a installation package for Linux Mint 18.2 (being my development machine), it works fine. However package for Red-hat/Fedora (RPM) gets made but doesn't install and it says following dependencies are missing :- Requires: gambas3-runtime >= 3.11,gambas3-runtime < 3.99.0,gambas3-gb-image >= 3.11,gambas3-gb-image < 3.99.0,gambas3-gb-form >= 3.11,gambas3-gb-form < 3.99.0,gambas3-gb-db >= 3.11,gambas3-gb-db < 3.99.0,gambas3-gb-db-sqlite3 >= 3.11,gambas3-gb-db-sqlite3 < 3.99.0,gambas3-gb-settings >= 3.11,gambas3-gb-settings < 3.99.0,gambas3-gb-util-web >= 3.11,gambas3-gb-util-web < 3.99.0 2. *Is there anyway to include these libraries/binaries etc .. in a single package?* I need to install the package on 25 standalone alone (not connected to Internet for security reasons) and going around installing Gambas on all machines is not a feasible solution. Warm regards, Vinode Singh Ujlain? | Mumbai (India) ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From moviga at mykolab.ch Tue Jul 17 14:43:52 2018 From: moviga at mykolab.ch (Moviga Technologies) Date: Tue, 17 Jul 2018 14:43:52 +0200 Subject: [Gambas-user] Set component's default color _Property In-Reply-To: <6a198f866e71342b3cb646c42b330844@mykolab.ch> References: <6a198f866e71342b3cb646c42b330844@mykolab.ch> Message-ID: <268f9de26af2d5f34787fea04296bf26@mykolab.ch> No one? Den 2018-07-16 11:56, skrev Moviga Technologies via User: > Question #1: > > How should I correctly set the color property? > The only example I found in the wiki was Color1{Color}=-1 > Trying to set the HEX value, but to no avail: > > Public Const _Properties As String = "*,Text,Border,Color1{Color}=&HDFDFDF&,Color2{Color}=&H9F9F9F&" > > Question #2: > > When I've changed or added some property (like Color1 above), or the component image, the change is normally not reflected in the form designer. > If i restart Gambas, or use the reload project button, it will often times not help either. But after some time, it just happens that the form designer catches up. > It has been like this for years, but now I'm asking why :) What mechanism causes the form designer to reload the proper values? > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Tue Jul 17 14:59:20 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 17 Jul 2018 08:59:20 -0400 Subject: [Gambas-user] Set component's default color _Property In-Reply-To: <268f9de26af2d5f34787fea04296bf26@mykolab.ch> References: <6a198f866e71342b3cb646c42b330844@mykolab.ch> <268f9de26af2d5f34787fea04296bf26@mykolab.ch> Message-ID: about the question 2, do you tested with older vesions of gambas? i have similar behaviour that does not happened with 3.1 version Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-17 8:43 GMT-04:00 Moviga Technologies via User : > No one? > > Den 2018-07-16 11:56, skrev Moviga Technologies via User: > > Question #1: > > How should I correctly set the color property? > The only example I found in the wiki was Color1{Color}=-1 > Trying to set the HEX value, but to no avail: > > Public Const _Properties As String = > "*,Text,Border,Color1{Color}=&HDFDFDF&,Color2{Color}=&H9F9F9F&" > > Question #2: > > When I've changed or added some property (like Color1 above), or the > component image, the change is normally not reflected in the form designer. > If i restart Gambas, or use the reload project button, it will often times > not help either. But after some time, it just happens that the form designer > catches up. > It has been like this for years, but now I'm asking why :) What mechanism > causes the form designer to reload the proper values? > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Tue Jul 17 15:03:38 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 17 Jul 2018 09:03:38 -0400 Subject: [Gambas-user] Need help with packaging application for distribution In-Reply-To: <3957a71d-3d7d-faf2-c827-4197f889bf70@gmail.com> References: <3957a71d-3d7d-faf2-c827-4197f889bf70@gmail.com> Message-ID: this kind of questions are like guindows world.. common from a windo-like linux THE ANWERS IS EASY, make a local repository in your machine laptop or one your USB drive.. if not have neither a router, use aptitude/apt, clean the cache (earase by aptitude/apt or manually files in /var/lib/cache/apt/files/*deb) , reinstall the cited packages (and obviously will download depends) go to the /var/lib/cache/apt/files, take all the .deb files and put on your USB drive, then go to each machine and run "dpkg -i *.deb" from the location where put the .deb files on your USB drive if you have a local network, generate the Packages files and install a http webserver and with the single router connect all the machines in a local network, install from the machine ip where generated the packages that already are exposed using the http webserver, see "make debian local repository" in san-google if you use more debian and les win-mint see that due force usage of more console solutions 2018-07-17 8:36 GMT-04:00 Vinode Singh Ujlain : > Dear Beno?t, > > 1. Need your help. I finished a project using Gambas 3.11.2. I made a > installation package for Linux Mint 18.2 (being my development machine), it > works fine. However package for Red-hat/Fedora (RPM) gets made but doesn't > install and it says following dependencies are missing :- > > Requires: gambas3-runtime >= 3.11,gambas3-runtime < 3.99.0,gambas3-gb-image >>= 3.11,gambas3-gb-image < 3.99.0,gambas3-gb-form >= 3.11,gambas3-gb-form < > 3.99.0,gambas3-gb-db >= 3.11,gambas3-gb-db < 3.99.0,gambas3-gb-db-sqlite3 >= > 3.11,gambas3-gb-db-sqlite3 < 3.99.0,gambas3-gb-settings >= > 3.11,gambas3-gb-settings < 3.99.0,gambas3-gb-util-web >= > 3.11,gambas3-gb-util-web < 3.99.0 > > 2. Is there anyway to include these libraries/binaries etc .. in a single > package? I need to install the package on 25 standalone alone (not connected > to Internet for security reasons) and going around installing Gambas on all > machines is not a feasible solution. > > Warm regards, > Vinode Singh Ujlain | Mumbai (India) > ________________________________ > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From g4mba5 at gmail.com Tue Jul 17 15:08:04 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 17 Jul 2018 15:08:04 +0200 Subject: [Gambas-user] HTTPS on Gambas websites In-Reply-To: <20180708120322.GL1010@highrise.localdomain> References: <20180708120322.GL1010@highrise.localdomain> Message-ID: <0ca91879-186f-eeca-eaa9-64fdf38dec5a@gmail.com> Le 08/07/2018 ? 14:03, Tobias Boege a ?crit?: > Hi, > > could someone with reign over the servers and domains get a certificate > (Let's Encrypt [1] is very easy and free of charge) for the Wiki and > Bugtracker? My browser always warns me when I enter something into an > field on a site without https [ and I think the > Gambas websites are the only ones where it has to do that; it makes a > bad impression IMHO. ] > > Regards, > Tobi > > [1] https://letsencrypt.org/ > These sites are hosted by the company where I work, but the guys who deal with the servers do not want to spend time dealing with Let's Encrypt. And I never had he time to look at that myself... :-/ -- Beno?t Minisini From mckaygerhard at gmail.com Tue Jul 17 15:14:43 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 17 Jul 2018 09:14:43 -0400 Subject: [Gambas-user] HTTPS on Gambas websites In-Reply-To: <0ca91879-186f-eeca-eaa9-64fdf38dec5a@gmail.com> References: <20180708120322.GL1010@highrise.localdomain> <0ca91879-186f-eeca-eaa9-64fdf38dec5a@gmail.com> Message-ID: 2018-07-17 9:08 GMT-04:00 Beno?t Minisini : >> >> [1] https://letsencrypt.org/ >> > These sites are hosted by the company where I work, but the guys who deal > with the servers do not want to spend time dealing with Let's Encrypt. > And I never had he time to look at that myself... :-/ well it's not a real problem.. seems firefox has a way to make a exception about that and http vs https are more light and faster (obviously) for slow connections ( i use slow connections) maybe someone can help with "let's encrypt" and pass necesary directions to gambas team.. > > -- > Beno?t Minisini > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From taboege at gmail.com Tue Jul 17 15:33:11 2018 From: taboege at gmail.com (Tobias Boege) Date: Tue, 17 Jul 2018 15:33:11 +0200 Subject: [Gambas-user] Need help with packaging application for distribution In-Reply-To: <3957a71d-3d7d-faf2-c827-4197f889bf70@gmail.com> References: <3957a71d-3d7d-faf2-c827-4197f889bf70@gmail.com> Message-ID: <20180717133311.GA19415@highrise.localdomain> On Tue, 17 Jul 2018, Vinode Singh Ujlain wrote: > Dear Beno?t, > I'm Tobias, but maybe that's enough. > 1. Need your help. I finished a project using Gambas 3.11.2.? I made a > installation package for Linux Mint 18.2 (being my development machine), it > works fine. However package for Red-hat/Fedora (RPM) gets made but doesn't > install and it says following dependencies are missing :- > > Requires: gambas3-runtime >= 3.11,gambas3-runtime < 3.99.0,gambas3-gb-image > >= 3.11,gambas3-gb-image < 3.99.0,gambas3-gb-form >= 3.11,gambas3-gb-form < > 3.99.0,gambas3-gb-db >= 3.11,gambas3-gb-db < 3.99.0,gambas3-gb-db-sqlite3 >= > 3.11,gambas3-gb-db-sqlite3 < 3.99.0,gambas3-gb-settings >= > 3.11,gambas3-gb-settings < 3.99.0,gambas3-gb-util-web >= > 3.11,gambas3-gb-util-web < 3.99.0 > I'm not a Fedora user, so take this with a grain of salt: A web search indicates that Fedora is still on Gambas 3.10, so you can't satisfy the version requirements. > 2. *Is there anyway to include these libraries/binaries etc .. in a single > package?* I need to install the package on 25 standalone alone (not > connected to Internet for security reasons) and going around installing > Gambas on all machines is not a feasible solution. > Probably not. I bet that not many package formats support multiple packages in one. Apparently .deb doesn't, which seems to be relevant for you. Of course, you shouldn't ship the contents of multiple packages combined into one new, large, conflicting package either. (Remember: if you pull in gb.db.sqlite3, you probably want to pull in sqlite3, too, and next week all of QT5 and X11.) In any case, I'm pretty sure I went through half a dozen Gambas (and more) installs of an entire computer lab on the order of 20 computers in high school, and this is not a question of feasibility. If you install gambas3, the package manager will take care of resolving all the dependencies for you, so I don't see where the huge timesink might be. In fact, that task should be fairly common to search for solutions online. I remember that I used a local package cache server back then. This way, you download the Gambas packages once, verify them, of course, put them on the cache server and let your non-internet-connected clients use that cache in your local network instead of the official repositories to install Gambas. And I'm sure there are a dozen other ways to do that. However, the Gambas IDE doesn't know how to do any of that for you. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From g4mba5 at gmail.com Tue Jul 17 15:50:22 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 17 Jul 2018 15:50:22 +0200 Subject: [Gambas-user] segfault in gambas In-Reply-To: References: Message-ID: <1b51d7c9-94cf-f02a-3079-992e9327cf78@gmail.com> Le 12/07/2018 ? 11:26, Cristiano Guadagnino a ?crit?: > Hi Benoit, > you can find the backtracke here: > > https://gist.github.com/Cris70/76d6ef51100695104816439780dd9c34 > > I did not compile gambas myself: I installed from the munix9:unstable > repo with all the debuginfo and debugsource packages. > > I hope it's good enough, but if it isn't so please let me know. > > Thank you in advance! > > Cris > It's a crash inside the QT5 library, so there is apparently something weird on your system. Do you have Gambas QT4 packages? If so, can you install them, and run the IDE with them? That way: $ GB_GUI=gb.qt4 gambas3 -- Beno?t Minisini From taboege at gmail.com Tue Jul 17 15:59:39 2018 From: taboege at gmail.com (Tobias Boege) Date: Tue, 17 Jul 2018 15:59:39 +0200 Subject: [Gambas-user] HTTPS on Gambas websites In-Reply-To: References: <20180708120322.GL1010@highrise.localdomain> <0ca91879-186f-eeca-eaa9-64fdf38dec5a@gmail.com> Message-ID: <20180717135939.GB19415@highrise.localdomain> On Tue, 17 Jul 2018, PICCORO McKAY Lenz wrote: > 2018-07-17 9:08 GMT-04:00 Beno?t Minisini : > >> > >> [1] https://letsencrypt.org/ > >> > > These sites are hosted by the company where I work, but the guys who deal > > with the servers do not want to spend time dealing with Let's Encrypt. > > And I never had he time to look at that myself... :-/ > > well it's not a real problem.. seems firefox has a way to make a > exception about that > Having to see the warning is not the problem. It's that it's justified, even if it's "just" the Gambas wiki and bugtracker. > and http vs https are more light and faster (obviously) for slow > connections ( i use slow connections) > Then don't use https. > maybe someone can help with "let's encrypt" and pass necesary > directions to gambas team.. > For starters, I use the acme.sh script [1] to update the certificate periodically. [ FWIW, Let's Encrypt recommends a python script named certbot [2] but it would OOM consistently on a tiny VPS of mine when it tried to update itself, so I looked for something else. ] However, I'm just a hobbyist. There are probably people here who have a better view of these things. I see that gambaswiki.org responds as thttpd which doesn't have https support at all. So I see now why your colleagues don't really want to dig into that topic :-) Regards, Tobi [1] https://github.com/Neilpang/acme.sh [2] https://certbot.eff.org/docs/install.html -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From g4mba5 at gmail.com Tue Jul 17 16:22:00 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 17 Jul 2018 16:22:00 +0200 Subject: [Gambas-user] HTTPS on Gambas websites In-Reply-To: <20180717135939.GB19415@highrise.localdomain> References: <20180708120322.GL1010@highrise.localdomain> <0ca91879-186f-eeca-eaa9-64fdf38dec5a@gmail.com> <20180717135939.GB19415@highrise.localdomain> Message-ID: Le 17/07/2018 ? 15:59, Tobias Boege a ?crit?: > I see that gambaswiki.org responds as thttpd which doesn't have https > support at all. So I see now why your colleagues don't really want > to dig into that topic :-) > > Regards, > Tobi > You actually don't request thttpd directly, there is a reverse-proxy that manages https certificates, and communicates with the servers through http. But they only manage https certificates for the company, not for gambaswiki.org. Regards, -- Beno?t Minisini From mckaygerhard at gmail.com Tue Jul 17 16:27:17 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 17 Jul 2018 10:27:17 -0400 Subject: [Gambas-user] Need help with packaging application for distribution In-Reply-To: <20180717133311.GA19415@highrise.localdomain> References: <3957a71d-3d7d-faf2-c827-4197f889bf70@gmail.com> <20180717133311.GA19415@highrise.localdomain> Message-ID: no package manager dont will solve that, due always for distributions the gambas version will are lower rather thant the used in developer machine the example i posted was for debian, redhat/fedora has also a cache place too, must use the yum manpages for that! other way are using a complete single package (a package "gambas3" that handles all the gambas modules and runtime, and your package), but of course this makes those machines uncompatible with any package management apart of you at updates Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-17 9:33 GMT-04:00 Tobias Boege : > On Tue, 17 Jul 2018, Vinode Singh Ujlain wrote: >> Dear Beno?t, >> > > I'm Tobias, but maybe that's enough. > >> 1. Need your help. I finished a project using Gambas 3.11.2. I made a >> installation package for Linux Mint 18.2 (being my development machine), it >> works fine. However package for Red-hat/Fedora (RPM) gets made but doesn't >> install and it says following dependencies are missing :- >> >> Requires: gambas3-runtime >= 3.11,gambas3-runtime < 3.99.0,gambas3-gb-image >> >= 3.11,gambas3-gb-image < 3.99.0,gambas3-gb-form >= 3.11,gambas3-gb-form < >> 3.99.0,gambas3-gb-db >= 3.11,gambas3-gb-db < 3.99.0,gambas3-gb-db-sqlite3 >= >> 3.11,gambas3-gb-db-sqlite3 < 3.99.0,gambas3-gb-settings >= >> 3.11,gambas3-gb-settings < 3.99.0,gambas3-gb-util-web >= >> 3.11,gambas3-gb-util-web < 3.99.0 >> > > I'm not a Fedora user, so take this with a grain of salt: A web search > indicates that Fedora is still on Gambas 3.10, so you can't satisfy the > version requirements. > >> 2. *Is there anyway to include these libraries/binaries etc .. in a single >> package?* I need to install the package on 25 standalone alone (not >> connected to Internet for security reasons) and going around installing >> Gambas on all machines is not a feasible solution. >> > > Probably not. I bet that not many package formats support multiple packages > in one. Apparently .deb doesn't, which seems to be relevant for you. > Of course, you shouldn't ship the contents of multiple packages combined > into one new, large, conflicting package either. (Remember: if you pull in > gb.db.sqlite3, you probably want to pull in sqlite3, too, and next week > all of QT5 and X11.) > > In any case, I'm pretty sure I went through half a dozen Gambas (and more) > installs of an entire computer lab on the order of 20 computers in high > school, and this is not a question of feasibility. If you install gambas3, > the package manager will take care of resolving all the dependencies for you, > so I don't see where the huge timesink might be. In fact, that task should be > fairly common to search for solutions online. I remember that I used a local > package cache server back then. This way, you download the Gambas packages > once, verify them, of course, put them on the cache server and let your > non-internet-connected clients use that cache in your local network instead > of the official repositories to install Gambas. > > And I'm sure there are a dozen other ways to do that. However, the Gambas IDE > doesn't know how to do any of that for you. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Tue Jul 17 16:29:28 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 17 Jul 2018 10:29:28 -0400 Subject: [Gambas-user] segfault in gambas In-Reply-To: <1b51d7c9-94cf-f02a-3079-992e9327cf78@gmail.com> References: <1b51d7c9-94cf-f02a-3079-992e9327cf78@gmail.com> Message-ID: 2018-07-17 9:50 GMT-04:00 Beno?t Minisini : > Do you have Gambas QT4 packages? If so, can you install them, and run the > IDE with them? That way: > > $ GB_GUI=gb.qt4 gambas3 hi just for curios i try to do that with both qt4 and qt5 installed and got a crash due "confutions" on qtwebkit.. its better uninstall qt5 webkit before use qt4 environment > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From g4mba5 at gmail.com Tue Jul 17 17:36:36 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 17 Jul 2018 17:36:36 +0200 Subject: [Gambas-user] segfault in gambas In-Reply-To: References: <1b51d7c9-94cf-f02a-3079-992e9327cf78@gmail.com> Message-ID: <9b67f27b-8185-b114-9b8b-740be6e4bf67@gmail.com> Le 17/07/2018 ? 16:29, PICCORO McKAY Lenz a ?crit?: >> $ GB_GUI=gb.qt4 gambas3 > hi just for curios i try to do that with both qt4 and qt5 installed > and got a crash due "confutions" on qtwebkit.. > It means that your installation is broken somewhere. It works perfectly on my system. -- Beno?t Minisini From mckaygerhard at gmail.com Tue Jul 17 18:40:58 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 17 Jul 2018 12:40:58 -0400 Subject: [Gambas-user] segfault in gambas In-Reply-To: <9b67f27b-8185-b114-9b8b-740be6e4bf67@gmail.com> References: <1b51d7c9-94cf-f02a-3079-992e9327cf78@gmail.com> <9b67f27b-8185-b114-9b8b-740be6e4bf67@gmail.com> Message-ID: i used only the pckages directly from debian but was tried with winbuntu and just happened same only if i have both qt4+webkit and qt5+webkit for right isntall i must uninstall a wekkit and specify as you pointed GB_GUI=gb.qt4 gambas3 (with webkit qt5 uninstalled) or GB_GUI=gb.qt5 gambas3 (with qt5 webkit uninstalled) i not tested agains the ppa 3.11 or daily packages due i not have anymore that virtual machine Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-17 11:36 GMT-04:00 Beno?t Minisini : > Le 17/07/2018 ? 16:29, PICCORO McKAY Lenz a ?crit : >>> >>> $ GB_GUI=gb.qt4 gambas3 >> >> hi just for curios i try to do that with both qt4 and qt5 installed >> and got a crash due "confutions" on qtwebkit.. >> > > It means that your installation is broken somewhere. It works perfectly on > my system. > > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Tue Jul 17 18:41:41 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 17 Jul 2018 12:41:41 -0400 Subject: [Gambas-user] segfault in gambas In-Reply-To: References: <1b51d7c9-94cf-f02a-3079-992e9327cf78@gmail.com> <9b67f27b-8185-b114-9b8b-740be6e4bf67@gmail.com> Message-ID: sorry in last line i means GB_GUI=gb.qt5 gambas3 (with qt4 webkit uninstalled) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-17 12:40 GMT-04:00 PICCORO McKAY Lenz : > i used only the pckages directly from debian but was tried with > winbuntu and just happened same > > only if i have both qt4+webkit and qt5+webkit > > for right isntall i must uninstall a wekkit and specify as you pointed > > GB_GUI=gb.qt4 gambas3 (with webkit qt5 uninstalled) > > or > > GB_GUI=gb.qt5 gambas3 (with qt5 webkit uninstalled) > > i not tested agains the ppa 3.11 or daily packages due i not have > anymore that virtual machine > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-17 11:36 GMT-04:00 Beno?t Minisini : >> Le 17/07/2018 ? 16:29, PICCORO McKAY Lenz a ?crit : >>>> >>>> $ GB_GUI=gb.qt4 gambas3 >>> >>> hi just for curios i try to do that with both qt4 and qt5 installed >>> and got a crash due "confutions" on qtwebkit.. >>> >> >> It means that your installation is broken somewhere. It works perfectly on >> my system. >> >> >> -- >> Beno?t Minisini >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From vuott at tiscali.it Tue Jul 17 18:54:09 2018 From: vuott at tiscali.it (vuott at tiscali.it) Date: Tue, 17 Jul 2018 18:54:09 +0200 Subject: [Gambas-user] =?utf-8?q?to_make_transparent_shown_by_MapViewer?= =?utf-8?q?=3F?= Message-ID: Hello, is it possible to make transparent (by setting different levels of transparency) the geographic image (the map) shown by MapViewer? bye vuott Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! SCOPRI DI PIU? http://tisca.li/myopen -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 17 20:47:50 2018 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 17 Jul 2018 20:47:50 +0200 Subject: [Gambas-user] to make transparent shown by MapViewer? In-Reply-To: References: Message-ID: If you go to gb.map > Tests > Form1 you can add this line to the code of Form_Open: $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) I hope it will be useful Ciao Gianluigi 2018-07-17 18:54 GMT+02:00 : > Hello, > is it possible to make transparent (by setting different levels of > transparency) the geographic image (the map) shown by MapViewer? > bye > vuott > > > > Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. > Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! > SCOPRI DI PIU? http://tisca.li/myopen > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Tue Jul 17 20:50:21 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 17 Jul 2018 20:50:21 +0200 Subject: [Gambas-user] Set component's default color _Property In-Reply-To: <6a198f866e71342b3cb646c42b330844@mykolab.ch> References: <6a198f866e71342b3cb646c42b330844@mykolab.ch> Message-ID: Le 16/07/2018 ? 11:56, Moviga Technologies via User a ?crit?: > Question #1: > > How should I correctly set the color property? > The only example I found in the wiki was Color1{Color}=-1 > Trying to set the HEX value, but to no avail: > > Public Const _Properties As String = > "*,Text,Border,Color1{Color}=&HDFDFDF&,Color2{Color}=&H9F9F9F&" The default value must be in decimal, but this can be easily change in the IDE. > > Question #2: > > When I've changed or added some property (like Color1 above), or the > component image, the change is normally not reflected in the form designer. It's normal, the IDE does not know how to draw your custom controls. As for the property value, you just have to be sure that the default value defined in the _Properties string reflects the default value actually defined in the code. Otherwise the form designer will fail to handle the property correctly. -- Beno?t Minisini From mckaygerhard at gmail.com Tue Jul 17 22:27:37 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 17 Jul 2018 16:27:37 -0400 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: cannot be done that? its' not only about directories, and application.dir are so limited to a absolute path i expant that example now: i need a PREFIX not a PATH that's why i ask! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-17 8:14 GMT-04:00 PICCORO McKAY Lenz : > 2018-07-17 0:50 GMT-04:00 Fabien Bodard : >> You have Application.Dir for that no ? > its' not only about directories, and application.dir are so limited to > that only path > > i expant that example now: i need a PREFIX not a PATH that's why i ask! > > in other way, as example i need a alternate name for lauch executable etc! > >> >> Le lun. 16 juil. 2018 23:41, PICCORO McKAY Lenz a >> ?crit : >>> >>> i want to set dinamycally installation path when user compile from >>> sources by command line.. >>> >>> by example set Dim confdir = INSTALLDIR + "/etc/" but at the source >>> class file, where "INSTALLDIR are the macro variable from compile time >>> >>> any way to do this? >>> >>> >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> From bagonergi at gmail.com Tue Jul 17 23:26:49 2018 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 17 Jul 2018 23:26:49 +0200 Subject: [Gambas-user] to make transparent shown by MapViewer? In-Reply-To: References: Message-ID: Excuse vuott, I had not understood the question. I believe that this is not possible at present. I hope Fabien will deny me :-) Regards Gianluigi 2018-07-17 20:47 GMT+02:00 Gianluigi : > If you go to gb.map > Tests > Form1 you can add this line to the code of > Form_Open: > $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) > > I hope it will be useful > > Ciao > Gianluigi > > 2018-07-17 18:54 GMT+02:00 : > >> Hello, >> is it possible to make transparent (by setting different levels of >> transparency) the geographic image (the map) shown by MapViewer? >> bye >> vuott >> >> >> >> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >> SCOPRI DI PIU? http://tisca.li/myopen >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From moviga at mykolab.ch Wed Jul 18 11:03:46 2018 From: moviga at mykolab.ch (Moviga Technologies) Date: Wed, 18 Jul 2018 11:03:46 +0200 Subject: [Gambas-user] Set component's default color _Property In-Reply-To: References: <6a198f866e71342b3cb646c42b330844@mykolab.ch> Message-ID: <9a7e947961b3abaa48d370270d35fbd2@mykolab.ch> Den 2018-07-17 20:50, skrev Beno?t Minisini: > Le 16/07/2018 ? 11:56, Moviga Technologies via User a ?crit : > >> Question #1: >> >> How should I correctly set the color property? >> The only example I found in the wiki was Color1{Color}=-1 >> Trying to set the HEX value, but to no avail: >> >> Public Const _Properties As String = >> "*,Text,Border,Color1{Color}=&HDFDFDF&,Color2{Color}=&H9F9F9F&" > > The default value must be in decimal, but this can be easily change in > the IDE. > >> Question #2: >> >> When I've changed or added some property (like Color1 above), or the >> component image, the change is normally not reflected in the form >> designer. > > It's normal, the IDE does not know how to draw your custom controls. > > As for the property value, you just have to be sure that the default > value defined in the _Properties string reflects the default value > actually defined in the code. Otherwise the form designer will fail to > handle the property correctly. Thank you! > ... this can be easily change in the IDE. I suppose you mean that you can make the change in the IDE. Not that there is an already existing option for it? I know that it will not draw it, so your second assumption was the correct one. This is the string I've got now, but it is not reflected in the designer (yet), even though I've reloaded and restarted Gambas. Public Const _Properties As String = "*,Text,Border,Color1{Color}=14671839,Color2{Color}=262119327" From gambas.fr at gmail.com Wed Jul 18 16:43:14 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Wed, 18 Jul 2018 16:43:14 +0200 Subject: [Gambas-user] to make transparent shown by MapViewer? In-Reply-To: References: Message-ID: Le mar. 17 juil. 2018 ? 23:27, Gianluigi a ?crit : > Excuse vuott, > I had not understood the question. > I believe that this is not possible at present. > I hope Fabien will deny me :-) > kakaka :-D yes i deny you :) MapView.Map["MyLayer"].Opacity = 0 to 1 > > Regards > Gianluigi > > 2018-07-17 20:47 GMT+02:00 Gianluigi : > >> If you go to gb.map > Tests > Form1 you can add this line to the code of >> Form_Open: >> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) >> >> I hope it will be useful >> >> Ciao >> Gianluigi >> >> 2018-07-17 18:54 GMT+02:00 : >> >>> Hello, >>> is it possible to make transparent (by setting different levels of >>> transparency) the geographic image (the map) shown by MapViewer? >>> bye >>> vuott >>> >>> >>> >>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >>> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >>> SCOPRI DI PIU? http://tisca.li/myopen >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Wed Jul 18 16:44:48 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Wed, 18 Jul 2018 16:44:48 +0200 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: Can be more precise ? (in good english please) Le mar. 17 juil. 2018 ? 22:28, PICCORO McKAY Lenz a ?crit : > cannot be done that? its' not only about directories, and > application.dir are so limited to a absolute path > > i expant that example now: i need a PREFIX not a PATH that's why i ask! > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-17 8:14 GMT-04:00 PICCORO McKAY Lenz : > > 2018-07-17 0:50 GMT-04:00 Fabien Bodard : > >> You have Application.Dir for that no ? > > its' not only about directories, and application.dir are so limited to > > that only path > > > > i expant that example now: i need a PREFIX not a PATH that's why i ask! > > > > in other way, as example i need a alternate name for lauch executable > etc! > > > >> > >> Le lun. 16 juil. 2018 23:41, PICCORO McKAY Lenz > a > >> ?crit : > >>> > >>> i want to set dinamycally installation path when user compile from > >>> sources by command line.. > >>> > >>> by example set Dim confdir = INSTALLDIR + "/etc/" but at the source > >>> class file, where "INSTALLDIR are the macro variable from compile time > >>> > >>> any way to do this? > >>> > >>> > >>> Lenz McKAY Gerardo (PICCORO) > >>> http://qgqlochekone.blogspot.com > >>> > >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > >> > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Wed Jul 18 17:53:44 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 18 Jul 2018 11:53:44 -0400 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: too dificult to undesrtand? like Makefiles does when parsing a variable to C sources i want to by example set PREFIX and then sources at compile time uses in each directory path Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-18 10:44 GMT-04:00 Fabien Bodard : > Can be more precise ? (in good english please) > > Le mar. 17 juil. 2018 ? 22:28, PICCORO McKAY Lenz a > ?crit : >> >> cannot be done that? its' not only about directories, and >> application.dir are so limited to a absolute path >> >> i expant that example now: i need a PREFIX not a PATH that's why i ask! >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2018-07-17 8:14 GMT-04:00 PICCORO McKAY Lenz : >> > 2018-07-17 0:50 GMT-04:00 Fabien Bodard : >> >> You have Application.Dir for that no ? >> > its' not only about directories, and application.dir are so limited to >> > that only path >> > >> > i expant that example now: i need a PREFIX not a PATH that's why i ask! >> > >> > in other way, as example i need a alternate name for lauch executable >> > etc! >> > >> >> >> >> Le lun. 16 juil. 2018 23:41, PICCORO McKAY Lenz >> >> a >> >> ?crit : >> >>> >> >>> i want to set dinamycally installation path when user compile from >> >>> sources by command line.. >> >>> >> >>> by example set Dim confdir = INSTALLDIR + "/etc/" but at the source >> >>> class file, where "INSTALLDIR are the macro variable from compile time >> >>> >> >>> any way to do this? >> >>> >> >>> >> >>> Lenz McKAY Gerardo (PICCORO) >> >>> http://qgqlochekone.blogspot.com >> >>> >> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >>> ]---- >> >> >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> ]---- >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > -- > Fabien Bodard > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From vuott at tiscali.it Wed Jul 18 18:00:15 2018 From: vuott at tiscali.it (vuott at tiscali.it) Date: Wed, 18 Jul 2018 18:00:15 +0200 Subject: [Gambas-user] =?utf-8?q?to_make_transparent_shown_by_MapViewer?= =?utf-8?q?=3F?= In-Reply-To: References: Message-ID: Hello Fabien, with your code map colors simply have the tendency to become grey, but not "transparent". bye vuott Il 18.07.2018 16:43 Fabien Bodard ha scritto: > Le mar. 17 juil. 2018 ? 23:27, Gianluigi a ?crit : > >> Excuse vuott, >> I had not understood the question. >> I believe that this is not possible at present. >> I hope Fabien will deny me :-) > > kakaka :-D > yes i deny you :) > MapView.Map["MyLayer"].Opacity = 0 to 1 > >> Regards >> Gianluigi >> >> 2018-07-17 20:47 GMT+02:00 Gianluigi : >> >>> If you go to gb.map > Tests > Form1 you can add this line to the code of Form_Open: >>> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) >>> >>> I hope it will be useful >>> >>> Ciao >>> Gianluigi >>> >>> 2018-07-17 18:54 GMT+02:00 : >>> >>>> Hello, >>>> is it possible to make transparent (by setting different levels of transparency) the geographic image (the map) shown by MapViewer? >>>> bye >>>> vuott >>>> >>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3EUR al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10EUR di credito omaggio! >>>> SCOPRI DI PIU' http://tisca.li/myopen [1] >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [2] ]---- >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [5] ]---- > > -- > > Fabien Bodard Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! SCOPRI DI PIU? http://tisca.li/myopen -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Jul 18 18:13:44 2018 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 18 Jul 2018 18:13:44 +0200 Subject: [Gambas-user] to make transparent shown by MapViewer? In-Reply-To: References: Message-ID: :-D Hi Fabien, I attach project that only works at startup. You can take a look Thank you for your attention Regards Gianluigi 2018-07-18 18:00 GMT+02:00 : > Hello Fabien, > with your code map colors simply have the tendency to become grey, but not > "transparent". > bye > vuott > > Il 18.07.2018 16:43 Fabien Bodard ha scritto: > > > Le mar. 17 juil. 2018 ? 23:27, Gianluigi a ?crit : > >> Excuse vuott, >> I had not understood the question. >> I believe that this is not possible at present. >> I hope Fabien will deny me :-) >> > kakaka :-D > yes i deny you :) > MapView.Map["MyLayer"].Opacity = 0 to 1 > > >> >> Regards >> Gianluigi >> >> 2018-07-17 20:47 GMT+02:00 Gianluigi : >> >>> If you go to gb.map > Tests > Form1 you can add this line to the code of >>> Form_Open: >>> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) >>> >>> I hope it will be useful >>> >>> Ciao >>> Gianluigi >>> >>> 2018-07-17 18:54 GMT+02:00 : >>> >>>> Hello, >>>> is it possible to make transparent (by setting different levels of >>>> transparency) the geographic image (the map) shown by MapViewer? >>>> bye >>>> vuott >>>> >>>> >>>> >>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >>>> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >>>> SCOPRI DI PIU? http://tisca.li/myopen >>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > -- > Fabien Bodard > > > > > Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. > Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! > SCOPRI DI PIU? http://tisca.li/myopen > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MapTransparentTest-0.0.1.tar.gz Type: application/gzip Size: 11900 bytes Desc: not available URL: From gambas.fr at gmail.com Wed Jul 18 18:38:41 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Wed, 18 Jul 2018 18:38:41 +0200 Subject: [Gambas-user] to make transparent shown by MapViewer? In-Reply-To: References: Message-ID: And if you set alloweffect to false ? Le mer. 18 juil. 2018 18:14, Gianluigi a ?crit : > :-D Hi Fabien, > > I attach project that only works at startup. > You can take a look > Thank you for your attention > > Regards > Gianluigi > > 2018-07-18 18:00 GMT+02:00 : > >> Hello Fabien, >> with your code map colors simply have the tendency to become grey, but >> not "transparent". >> bye >> vuott >> >> Il 18.07.2018 16:43 Fabien Bodard ha scritto: >> >> >> Le mar. 17 juil. 2018 ? 23:27, Gianluigi a ?crit : >> >>> Excuse vuott, >>> I had not understood the question. >>> I believe that this is not possible at present. >>> I hope Fabien will deny me :-) >>> >> kakaka :-D >> yes i deny you :) >> MapView.Map["MyLayer"].Opacity = 0 to 1 >> >> >>> >>> Regards >>> Gianluigi >>> >>> 2018-07-17 20:47 GMT+02:00 Gianluigi : >>> >>>> If you go to gb.map > Tests > Form1 you can add this line to the code >>>> of Form_Open: >>>> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) >>>> >>>> I hope it will be useful >>>> >>>> Ciao >>>> Gianluigi >>>> >>>> 2018-07-17 18:54 GMT+02:00 : >>>> >>>>> Hello, >>>>> is it possible to make transparent (by setting different levels of >>>>> transparency) the geographic image (the map) shown by MapViewer? >>>>> bye >>>>> vuott >>>>> >>>>> >>>>> >>>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per >>>>> sempre. Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >>>>> SCOPRI DI PIU? http://tisca.li/myopen >>>>> >>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> -- >> Fabien Bodard >> >> >> >> >> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >> SCOPRI DI PIU? http://tisca.li/myopen >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Jul 18 19:03:24 2018 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 18 Jul 2018 19:03:24 +0200 Subject: [Gambas-user] to make transparent shown by MapViewer? In-Reply-To: References: Message-ID: It still doesn't work even if I set alloweffect to false Regards Gianluigi [System] Gambas=3.11.90 3c84b78 (master) OperatingSystem=Linux Kernel=4.15.0-23-generic Architecture=x86_64 Distribution=Ubuntu 18.04 LTS Desktop=UBUNTU:GNOME Theme=Gtk Language=it_IT.UTF-8 Memory=15969M [Libraries] Cairo=libcairo.so.2.11510.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1401.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.73.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.9.5 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/etc/xdg/autostart/nautilus-autostart.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=2142 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SHELL_SESSION_MODE=ubuntu GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge HOME=/home/ IM_CONFIG_PHASE=2 LANG=it_IT.UTF-8 LOGNAME= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/home/ QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=qt5ct SESSION_MANAGER=local/:@/tmp/.ICE-unix/1239,unix/:/tmp/.ICE-unix/1239 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1342 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=1 XAUTHORITY=/run/user/1000/gdm/Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg XDG_CURRENT_DESKTOP=ubuntu:GNOME XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 XMODIFIERS=@im=ibus 2018-07-18 18:38 GMT+02:00 Fabien Bodard : > And if you set alloweffect to false ? > > Le mer. 18 juil. 2018 18:14, Gianluigi a ?crit : > >> :-D Hi Fabien, >> >> I attach project that only works at startup. >> You can take a look >> Thank you for your attention >> >> Regards >> Gianluigi >> >> 2018-07-18 18:00 GMT+02:00 : >> >>> Hello Fabien, >>> with your code map colors simply have the tendency to become grey, but >>> not "transparent". >>> bye >>> vuott >>> >>> Il 18.07.2018 16:43 Fabien Bodard ha scritto: >>> >>> >>> Le mar. 17 juil. 2018 ? 23:27, Gianluigi a ?crit : >>> >>>> Excuse vuott, >>>> I had not understood the question. >>>> I believe that this is not possible at present. >>>> I hope Fabien will deny me :-) >>>> >>> kakaka :-D >>> yes i deny you :) >>> MapView.Map["MyLayer"].Opacity = 0 to 1 >>> >>> >>>> >>>> Regards >>>> Gianluigi >>>> >>>> 2018-07-17 20:47 GMT+02:00 Gianluigi : >>>> >>>>> If you go to gb.map > Tests > Form1 you can add this line to the code >>>>> of Form_Open: >>>>> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) >>>>> >>>>> I hope it will be useful >>>>> >>>>> Ciao >>>>> Gianluigi >>>>> >>>>> 2018-07-17 18:54 GMT+02:00 : >>>>> >>>>>> Hello, >>>>>> is it possible to make transparent (by setting different levels of >>>>>> transparency) the geographic image (the map) shown by MapViewer? >>>>>> bye >>>>>> vuott >>>>>> >>>>>> >>>>>> >>>>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per >>>>>> sempre. Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >>>>>> SCOPRI DI PIU? http://tisca.li/myopen >>>>>> >>>>>> >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>>> >>>>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>> >>> >>> -- >>> Fabien Bodard >>> >>> >>> >>> >>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >>> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >>> SCOPRI DI PIU? http://tisca.li/myopen >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.aaron.rose at gmail.com Wed Jul 18 23:09:57 2018 From: john.aaron.rose at gmail.com (John Rose) Date: Wed, 18 Jul 2018 22:09:57 +0100 Subject: [Gambas-user] Apps Message-ID: I used to put my Gambas developed apps on a particular website. However, I've now lost its URL. Does anyone know the URL of such a site? I have a number of Gambas apps. I've just changed my iRecorder app (which uses the get_iplayer command line program) to operate better. This app is a GUI to record BBC TV & radio programmes. At the moment I just create? a .deb as I use Ubuntu mainly. I have a number of other Gambas apps e.g. Enigma cyphering, Bombe simulation, Lorenz cyphering, Colossus simulation, Stream Recording. All my apps are free of charge. If anyone's interested, post to the user list: though I only look at the daily digest. From vuott at tiscali.it Thu Jul 19 00:44:49 2018 From: vuott at tiscali.it (vuott at tiscali.it) Date: Thu, 19 Jul 2018 00:44:49 +0200 Subject: [Gambas-user] =?utf-8?q?to_make_transparent_shown_by_MapViewer?= =?utf-8?q?=3F?= In-Reply-To: References: Message-ID: uhmmm ...excuse me, a little inter-question: is it possible destroy a " Tile " ? regards vuott Il 18.07.2018 19:03 Gianluigi ha scritto: > It still doesn't work even if I set alloweffect to false > Regards > Gianluigi > [System] > Gambas=3.11.90 3c84b78 (master) > OperatingSystem=Linux > Kernel=4.15.0-23-generic > Architecture=x86_64 > Distribution=Ubuntu 18.04 LTS > Desktop=UBUNTU:GNOME > Theme=Gtk > Language=it_IT.UTF-8 > Memory=15969M > > [Libraries] > Cairo=libcairo.so.2.11510.0 > DBus=libdbus-1.so.3.19.4 > GStreamer=libgstreamer-1.0.so.0.1401.0 > GTK+2=libgtk-x11-2.0.so.0.2400.32 > GTK+3=libgtk-3.so.0.2200.30 > OpenGL=libGL.so.1.0.0 > Poppler=libpoppler.so.73.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.9.5 > SDL=libSDL-1.2.so.0.11.4 > SQLite=libsqlite3.so.0.8.6 > > [Environment] > CLUTTER_IM_MODULE=xim > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus > DESKTOP_SESSION=ubuntu > DISPLAY=:0 > GB_GUI=gb.qt4 > GDMSESSION=ubuntu > GIO_LAUNCHED_DESKTOP_FILE=/etc/xdg/autostart/nautilus-autostart.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=2142 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_SHELL_SESSION_MODE=ubuntu > GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 > GTK_IM_MODULE=ibus > GTK_MODULES=gail:atk-bridge > HOME=/home/ > IM_CONFIG_PHASE=2 > LANG=it_IT.UTF-8 > LOGNAME= > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > PWD=/home/ > QT4_IM_MODULE=xim > QT_ACCESSIBILITY=1 > QT_IM_MODULE=ibus > QT_QPA_PLATFORMTHEME=qt5ct > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1239,unix/:/tmp/.ICE-unix/1239 > SHELL=/bin/bash > SHLVL=0 > SSH_AGENT_PID=1342 > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > USER= > USERNAME= > WINDOWPATH=1 > XAUTHORITY=/run/user/1000/gdm/Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg > XDG_CURRENT_DESKTOP=ubuntu:GNOME > XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop > XDG_MENU_PREFIX=gnome- > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SESSION_DESKTOP=ubuntu > XDG_SESSION_ID=1 > XDG_SESSION_TYPE=x11 > XDG_VTNR=1 > XMODIFIERS=@im=ibus > > 2018-07-18 18:38 GMT+02:00 Fabien Bodard : > >> And if you set alloweffect to false ? >> >> Le mer. 18 juil. 2018 18:14, Gianluigi a ?crit : >> >>> :-D Hi Fabien, >>> >>> I attach project that only works at startup. >>> You can take a look >>> Thank you for your attention >>> >>> Regards >>> Gianluigi >>> >>> 2018-07-18 18:00 GMT+02:00 : >>> >>>> Hello Fabien, >>>> with your code map colors simply have the tendency to become grey, but not "transparent". >>>> bye >>>> vuott >>>> >>>> Il 18.07.2018 16:43 Fabien Bodard ha scritto: >>>> >>>>> Le mar. 17 juil. 2018 ? 23:27, Gianluigi a ?crit : >>>>> >>>>>> Excuse vuott, >>>>>> I had not understood the question. >>>>>> I believe that this is not possible at present. >>>>>> I hope Fabien will deny me :-) >>>>> >>>>> kakaka :-D >>>>> yes i deny you :) >>>>> MapView.Map["MyLayer"].Opacity = 0 to 1 >>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>>> 2018-07-17 20:47 GMT+02:00 Gianluigi : >>>>>> >>>>>>> If you go to gb.map > Tests > Form1 you can add this line to the code of Form_Open: >>>>>>> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) >>>>>>> >>>>>>> I hope it will be useful >>>>>>> >>>>>>> Ciao >>>>>>> Gianluigi >>>>>>> >>>>>>> 2018-07-17 18:54 GMT+02:00 : >>>>>>> >>>>>>>> Hello, >>>>>>>> is it possible to make transparent (by setting different levels of transparency) the geographic image (the map) shown by MapViewer? >>>>>>>> bye >>>>>>>> vuott >>>>>>>> >>>>>>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3EUR al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10EUR di credito omaggio! >>>>>>>> SCOPRI DI PIU' http://tisca.li/myopen [1] >>>>>>>> >>>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [2] ]---- >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [5] ]---- >>>>> >>>>> -- >>>>> >>>>> Fabien Bodard >>>> >>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3EUR al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10EUR di credito omaggio! >>>> SCOPRI DI PIU' http://tisca.li/myopen [7] >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [8] ]---- >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [10] ]---- >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [12] ]---- Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! SCOPRI DI PIU? http://tisca.li/myopen -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Thu Jul 19 09:42:25 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 09:42:25 +0200 Subject: [Gambas-user] to make transparent shown by MapViewer? In-Reply-To: References: Message-ID: Le jeu. 19 juil. 2018 00:45, a ?crit : > uhmmm ...excuse me, a little inter-question: > is it possible destroy a " Tile " ? > regards > I dont remember if i have implemented that... i need to see vuott > > Il 18.07.2018 19:03 Gianluigi ha scritto: > > It still doesn't work even if I set alloweffect to false > Regards > Gianluigi > [System] > Gambas=3.11.90 3c84b78 (master) > OperatingSystem=Linux > Kernel=4.15.0-23-generic > Architecture=x86_64 > Distribution=Ubuntu 18.04 LTS > Desktop=UBUNTU:GNOME > Theme=Gtk > Language=it_IT.UTF-8 > Memory=15969M > > [Libraries] > Cairo=libcairo.so.2.11510.0 > DBus=libdbus-1.so.3.19.4 > GStreamer=libgstreamer-1.0.so.0.1401.0 > GTK+2=libgtk-x11-2.0.so.0.2400.32 > GTK+3=libgtk-3.so.0.2200.30 > OpenGL=libGL.so.1.0.0 > Poppler=libpoppler.so.73.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.9.5 > SDL=libSDL-1.2.so.0.11.4 > SQLite=libsqlite3.so.0.8.6 > > [Environment] > CLUTTER_IM_MODULE=xim > DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus > DESKTOP_SESSION=ubuntu > DISPLAY=:0 > GB_GUI=gb.qt4 > GDMSESSION=ubuntu > GIO_LAUNCHED_DESKTOP_FILE=/etc/xdg/autostart/nautilus-autostart.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=2142 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_SHELL_SESSION_MODE=ubuntu > GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 > GTK_IM_MODULE=ibus > GTK_MODULES=gail:atk-bridge > HOME=/home/ > IM_CONFIG_PHASE=2 > LANG=it_IT.UTF-8 > LOGNAME= > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > PWD=/home/ > QT4_IM_MODULE=xim > QT_ACCESSIBILITY=1 > QT_IM_MODULE=ibus > QT_QPA_PLATFORMTHEME=qt5ct > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1239,unix/:/tmp/.ICE-unix/1239 > SHELL=/bin/bash > SHLVL=0 > SSH_AGENT_PID=1342 > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > USER= > USERNAME= > WINDOWPATH=1 > XAUTHORITY=/run/user/1000/gdm/Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg > XDG_CURRENT_DESKTOP=ubuntu:GNOME > > XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop > XDG_MENU_PREFIX=gnome- > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SESSION_DESKTOP=ubuntu > XDG_SESSION_ID=1 > XDG_SESSION_TYPE=x11 > XDG_VTNR=1 > XMODIFIERS=@im=ibus > > 2018-07-18 18:38 GMT+02:00 Fabien Bodard : > >> And if you set alloweffect to false ? >> >> Le mer. 18 juil. 2018 18:14, Gianluigi a ?crit : >> >>> :-D Hi Fabien, >>> >>> I attach project that only works at startup. >>> You can take a look >>> Thank you for your attention >>> >>> Regards >>> Gianluigi >>> >>> 2018-07-18 18:00 GMT+02:00 : >>> >>>> Hello Fabien, >>>> with your code map colors simply have the tendency to become grey, but >>>> not "transparent". >>>> bye >>>> vuott >>>> >>>> Il 18.07.2018 16:43 Fabien Bodard ha scritto: >>>> >>>> >>>> Le mar. 17 juil. 2018 ? 23:27, Gianluigi a >>>> ?crit : >>>> >>>>> Excuse vuott, >>>>> I had not understood the question. >>>>> I believe that this is not possible at present. >>>>> I hope Fabien will deny me :-) >>>>> >>>> kakaka :-D >>>> yes i deny you :) >>>> MapView.Map["MyLayer"].Opacity = 0 to 1 >>>> >>>> >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> 2018-07-17 20:47 GMT+02:00 Gianluigi : >>>>> >>>>>> If you go to gb.map > Tests > Form1 you can add this line to the code >>>>>> of Form_Open: >>>>>> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) >>>>>> >>>>>> I hope it will be useful >>>>>> >>>>>> Ciao >>>>>> Gianluigi >>>>>> >>>>>> 2018-07-17 18:54 GMT+02:00 : >>>>>> >>>>>>> Hello, >>>>>>> is it possible to make transparent (by setting different levels of >>>>>>> transparency) the geographic image (the map) shown by MapViewer? >>>>>>> bye >>>>>>> vuott >>>>>>> >>>>>>> >>>>>>> >>>>>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per >>>>>>> sempre. Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >>>>>>> SCOPRI DI PIU? http://tisca.li/myopen >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>> ]---- >>>>>>> >>>>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>> >>>> >>>> -- >>>> Fabien Bodard >>>> >>>> >>>> >>>> >>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >>>> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >>>> SCOPRI DI PIU? http://tisca.li/myopen >>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > > Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. > Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! > SCOPRI DI PIU? http://tisca.li/myopen > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Thu Jul 19 09:51:10 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 09:51:10 +0200 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: Le mer. 18 juil. 2018 17:54, PICCORO McKAY Lenz a ?crit : > too dificult to undesrtand? like Makefiles does when parsing a > variable to C sources > > i want to by example set PREFIX and then sources at compile time uses > in each directory path > ..i understand the way but not the need. Why do you want to use a hard coded path ? My query to Beno?t was more for an inline macro definition... like C. But for your problem i dont seen the need Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-18 10:44 GMT-04:00 Fabien Bodard : > > Can be more precise ? (in good english please) > > > > Le mar. 17 juil. 2018 ? 22:28, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> a > > ?crit : > >> > >> cannot be done that? its' not only about directories, and > >> application.dir are so limited to a absolute path > >> > >> i expant that example now: i need a PREFIX not a PATH that's why i ask! > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> > >> 2018-07-17 8:14 GMT-04:00 PICCORO McKAY Lenz : > >> > 2018-07-17 0:50 GMT-04:00 Fabien Bodard : > >> >> You have Application.Dir for that no ? > >> > its' not only about directories, and application.dir are so limited to > >> > that only path > >> > > >> > i expant that example now: i need a PREFIX not a PATH that's why i > ask! > >> > > >> > in other way, as example i need a alternate name for lauch executable > >> > etc! > >> > > >> >> > >> >> Le lun. 16 juil. 2018 23:41, PICCORO McKAY Lenz > >> >> a > >> >> ?crit : > >> >>> > >> >>> i want to set dinamycally installation path when user compile from > >> >>> sources by command line.. > >> >>> > >> >>> by example set Dim confdir = INSTALLDIR + "/etc/" but at the source > >> >>> class file, where "INSTALLDIR are the macro variable from compile > time > >> >>> > >> >>> any way to do this? > >> >>> > >> >>> > >> >>> Lenz McKAY Gerardo (PICCORO) > >> >>> http://qgqlochekone.blogspot.com > >> >>> > >> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > >> >>> ]---- > >> >> > >> >> > >> >> > >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > >> >> ]---- > >> >> > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > > > -- > > Fabien Bodard > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Thu Jul 19 09:55:54 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 09:55:54 +0200 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: Why dont you use global variable or if you need an external definition an envirronment variable ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Thu Jul 19 13:42:38 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 19 Jul 2018 07:42:38 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: I don't know what particular site that may have been. But, there is the Gambas Farm which is accessed within the IDE. -- Lee On 07/18/2018 05:09 PM, John Rose wrote: > I used to put my Gambas developed apps on a particular website. However, I've now lost its URL. Does anyone know the URL of such > a site? > > I have a number of Gambas apps. I've just changed my iRecorder app (which uses the get_iplayer command line program) to operate > better. This app is a GUI to record BBC TV & radio programmes. At the moment I just create? a .deb as I use Ubuntu mainly. > > I have a number of other Gambas apps e.g. Enigma cyphering, Bombe simulation, Lorenz cyphering, Colossus simulation, Stream > Recording. All my apps are free of charge. If anyone's interested, post to the user list: though I only look at the daily digest. > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Thu Jul 19 14:26:41 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 19 Jul 2018 08:26:41 -0400 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: umm interesting using environment variable. but unusefully you guys dont think about the bussines.. no all my programs are "free software" so i put hardcoded "things" close to the clients .. due it's a client request! it's a too complex concep that are only available (until now) in JAVA EE i hope that's enought to clarify the need by me! and now any way to make those that you said? maybe a inline macro definition may help me too! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-19 3:55 GMT-04:00 Fabien Bodard : > Why dont you use global variable or if you need an external definition an > envirronment variable ? > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Thu Jul 19 14:36:08 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 19 Jul 2018 08:36:08 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: well the gambas farm are too basic and rudimentary, i mean: are a great idea but from the point of view of a novice that search for something are too basic, tags/words dont reflects the targets programs and a only way to access are using the IDE.. I believe or imagine that the "gambas" farm wanted to be like the mozilla extensions repository, but for example I have about 4 versions of the farm repair shop exposed as if they were 4 different programs when they are the same in different versions... that are not so bad, the bad are the rudimentary search engine, of course we dont develop a "google engine" but are not so usefully, due if i not under IDE i dont find nothing,.. that point compared to php'or visual are very limited, i open any web search pagen and sear for "php async mail" and found at leas one way to do under lavarel o codeigniter.. in gambas i must waith until someone answer my question in mail list so due that reasons i understand the way taken by John Rose on those dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in particular situations.. also i remenber that in nomadays examples comes offline, now if i are in a remote place and network are too low, it's a pain Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-19 7:42 GMT-04:00 T Lee Davidson : > I don't know what particular site that may have been. But, there is the Gambas Farm which is accessed within the IDE. > > -- > Lee > > > On 07/18/2018 05:09 PM, John Rose wrote: >> I used to put my Gambas developed apps on a particular website. However, I've now lost its URL. Does anyone know the URL of such >> a site? >> >> I have a number of Gambas apps. I've just changed my iRecorder app (which uses the get_iplayer command line program) to operate >> better. This app is a GUI to record BBC TV & radio programmes. At the moment I just create a .deb as I use Ubuntu mainly. >> >> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe simulation, Lorenz cyphering, Colossus simulation, Stream >> Recording. All my apps are free of charge. If anyone's interested, post to the user list: though I only look at the daily digest. >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From t.lee.davidson at gmail.com Thu Jul 19 14:44:26 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 19 Jul 2018 08:44:26 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: So you don't like the Gambas Farm. Do you have a better suggestion for John's query? -- Lee On 07/19/2018 08:36 AM, PICCORO McKAY Lenz wrote: > well the gambas farm are too basic and rudimentary, i mean: are a > great idea but from the point of view of a novice that search for > something are too basic, tags/words dont reflects the targets programs > and a only way to access are using the IDE.. > > I believe or imagine that the "gambas" farm wanted to be like the > mozilla extensions repository, but for example I have about 4 versions > of the farm repair shop exposed as if they were 4 different programs > when they are the same in different versions... > > that are not so bad, the bad are the rudimentary search engine, of > course we dont develop a "google engine" but are not so usefully, due > if i not under IDE i dont find nothing,.. > > that point compared to php'or visual are very limited, i open any web > search pagen and sear for "php async mail" and found at leas one way > to do under lavarel o codeigniter.. in gambas i must waith until > someone answer my question in mail list > > so due that reasons i understand the way taken by John Rose on those > dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in > particular situations.. > > also i remenber that in nomadays examples comes offline, now if i are > in a remote place and network are too low, it's a pain > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >> I don't know what particular site that may have been. But, there is the Gambas Farm which is accessed within the IDE. >> >> -- >> Lee >> >> >> On 07/18/2018 05:09 PM, John Rose wrote: >>> I used to put my Gambas developed apps on a particular website. However, I've now lost its URL. Does anyone know the URL of such >>> a site? >>> >>> I have a number of Gambas apps. I've just changed my iRecorder app (which uses the get_iplayer command line program) to operate >>> better. This app is a GUI to record BBC TV & radio programmes. At the moment I just create a .deb as I use Ubuntu mainly. >>> >>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe simulation, Lorenz cyphering, Colossus simulation, Stream >>> Recording. All my apps are free of charge. If anyone's interested, post to the user list: though I only look at the daily digest. >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From gambas.fr at gmail.com Thu Jul 19 14:44:27 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 14:44:27 +0200 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: You can imagine an external way to hardcode a string. For example Set a line like that : Public Path as string '$PATH Then make the compilation via a script that replace '$PATH by ="/mypath" So the var is filled by the value And the comment way allow you to devellop without alert Use this var to getthepath. Another way will be a function that return a value PUBLIC FUNCTION GetPath () Return '$PATH End The same way For use Open glob.getpath () &/ file Le jeu. 19 juil. 2018 14:27, PICCORO McKAY Lenz a ?crit : > umm interesting using environment variable. but unusefully > > you guys dont think about the bussines.. no all my programs are "free > software" so i put hardcoded "things" close to the clients .. due it's > a client request! > > it's a too complex concep that are only available (until now) in JAVA EE > > i hope that's enought to clarify the need by me! > > and now any way to make those that you said? maybe a inline macro > definition may help me too! > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-19 3:55 GMT-04:00 Fabien Bodard : > > Why dont you use global variable or if you need an external definition an > > envirronment variable ? > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Thu Jul 19 14:50:54 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 14:50:54 +0200 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: John ... is it a an english language site ? Le jeu. 19 juil. 2018 14:45, T Lee Davidson a ?crit : > So you don't like the Gambas Farm. Do you have a better suggestion for > John's query? > > > -- > Lee > > > On 07/19/2018 08:36 AM, PICCORO McKAY Lenz wrote: > > well the gambas farm are too basic and rudimentary, i mean: are a > > great idea but from the point of view of a novice that search for > > something are too basic, tags/words dont reflects the targets programs > > and a only way to access are using the IDE.. > > > > I believe or imagine that the "gambas" farm wanted to be like the > > mozilla extensions repository, but for example I have about 4 versions > > of the farm repair shop exposed as if they were 4 different programs > > when they are the same in different versions... > > > > that are not so bad, the bad are the rudimentary search engine, of > > course we dont develop a "google engine" but are not so usefully, due > > if i not under IDE i dont find nothing,.. > > > > that point compared to php'or visual are very limited, i open any web > > search pagen and sear for "php async mail" and found at leas one way > > to do under lavarel o codeigniter.. in gambas i must waith until > > someone answer my question in mail list > > > > so due that reasons i understand the way taken by John Rose on those > > dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in > > particular situations.. > > > > also i remenber that in nomadays examples comes offline, now if i are > > in a remote place and network are too low, it's a pain > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > > > 2018-07-19 7:42 GMT-04:00 T Lee Davidson : > >> I don't know what particular site that may have been. But, there is the > Gambas Farm which is accessed within the IDE. > >> > >> -- > >> Lee > >> > >> > >> On 07/18/2018 05:09 PM, John Rose wrote: > >>> I used to put my Gambas developed apps on a particular website. > However, I've now lost its URL. Does anyone know the URL of such > >>> a site? > >>> > >>> I have a number of Gambas apps. I've just changed my iRecorder app > (which uses the get_iplayer command line program) to operate > >>> better. This app is a GUI to record BBC TV & radio programmes. At the > moment I just create a .deb as I use Ubuntu mainly. > >>> > >>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe > simulation, Lorenz cyphering, Colossus simulation, Stream > >>> Recording. All my apps are free of charge. If anyone's interested, > post to the user list: though I only look at the daily digest. > >>> > >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Thu Jul 19 14:54:11 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 19 Jul 2018 08:54:11 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: John ask for a missing url not for a gambas farm change, will be little hard for him to find, i recomment to sear at the old wiki traces and web archive, and TAKE CARE OF THE LANGUAGE SITE! if are not english my comment was related to your comment that said "why do you not put in the farm" and i answered some of the many of the many reasons in my case i put in my repositories (on gitlab of course, go away from github je je) for the gambas farm, i recomend use group gitlab, i can make a parallel structure and porposed the schemes to gambas developer group, TAKE CARE THAT GITLAB SUPPORT SUBGROUPS not only groups reinventing the wehll alway are bad idea, so using the gitlab structure are the best way! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-19 8:44 GMT-04:00 T Lee Davidson : > So you don't like the Gambas Farm. Do you have a better suggestion for John's query? > > > -- > Lee > > > On 07/19/2018 08:36 AM, PICCORO McKAY Lenz wrote: >> well the gambas farm are too basic and rudimentary, i mean: are a >> great idea but from the point of view of a novice that search for >> something are too basic, tags/words dont reflects the targets programs >> and a only way to access are using the IDE.. >> >> I believe or imagine that the "gambas" farm wanted to be like the >> mozilla extensions repository, but for example I have about 4 versions >> of the farm repair shop exposed as if they were 4 different programs >> when they are the same in different versions... >> >> that are not so bad, the bad are the rudimentary search engine, of >> course we dont develop a "google engine" but are not so usefully, due >> if i not under IDE i dont find nothing,.. >> >> that point compared to php'or visual are very limited, i open any web >> search pagen and sear for "php async mail" and found at leas one way >> to do under lavarel o codeigniter.. in gambas i must waith until >> someone answer my question in mail list >> >> so due that reasons i understand the way taken by John Rose on those >> dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in >> particular situations.. >> >> also i remenber that in nomadays examples comes offline, now if i are >> in a remote place and network are too low, it's a pain >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >>> I don't know what particular site that may have been. But, there is the Gambas Farm which is accessed within the IDE. >>> >>> -- >>> Lee >>> >>> >>> On 07/18/2018 05:09 PM, John Rose wrote: >>>> I used to put my Gambas developed apps on a particular website. However, I've now lost its URL. Does anyone know the URL of such >>>> a site? >>>> >>>> I have a number of Gambas apps. I've just changed my iRecorder app (which uses the get_iplayer command line program) to operate >>>> better. This app is a GUI to record BBC TV & radio programmes. At the moment I just create a .deb as I use Ubuntu mainly. >>>> >>>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe simulation, Lorenz cyphering, Colossus simulation, Stream >>>> Recording. All my apps are free of charge. If anyone's interested, post to the user list: though I only look at the daily digest. >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Thu Jul 19 15:05:21 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 19 Jul 2018 09:05:21 -0400 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: O.o errr ok valid idea umm i dont know why i don like me! you said that via "sed" (by example) change the commented string by the hardcoded path right? i feel something that said to me "are valid but dont seems very valid" i felling now like Niels Bohr i can explain why i dont like me Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-19 8:44 GMT-04:00 Fabien Bodard : > You can imagine an external way to hardcode a string. > > For example > > Set a line like that : > > Public Path as string '$PATH > > > Then make the compilation via a script that replace '$PATH by ="/mypath" > > So the var is filled by the value > > And the comment way allow you to devellop without alert > > Use this var to getthepath. > > Another way will be a function that return a value > > PUBLIC FUNCTION GetPath () > > Return '$PATH > > End > > The same way > > For use > > Open glob.getpath () &/ file > > > > > > Le jeu. 19 juil. 2018 14:27, PICCORO McKAY Lenz a > ?crit : >> >> umm interesting using environment variable. but unusefully >> >> you guys dont think about the bussines.. no all my programs are "free >> software" so i put hardcoded "things" close to the clients .. due it's >> a client request! >> >> it's a too complex concep that are only available (until now) in JAVA EE >> >> i hope that's enought to clarify the need by me! >> >> and now any way to make those that you said? maybe a inline macro >> definition may help me too! >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2018-07-19 3:55 GMT-04:00 Fabien Bodard : >> > Why dont you use global variable or if you need an external definition >> > an >> > envirronment variable ? >> > >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From gambas.fr at gmail.com Thu Jul 19 15:09:53 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 15:09:53 +0200 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: I say when you don't have keys ... use a hammer... are we linux hackers or not ? Le jeu. 19 juil. 2018 15:06, PICCORO McKAY Lenz a ?crit : > O.o > > errr ok valid idea umm i dont know why i don like me! you said that > via "sed" (by example) change the commented string by the hardcoded > path right? i feel something that said to me "are valid but dont seems > very valid" > > i felling now like Niels Bohr i can explain why i dont like me > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-19 8:44 GMT-04:00 Fabien Bodard : > > You can imagine an external way to hardcode a string. > > > > For example > > > > Set a line like that : > > > > Public Path as string '$PATH > > > > > > Then make the compilation via a script that replace '$PATH by ="/mypath" > > > > So the var is filled by the value > > > > And the comment way allow you to devellop without alert > > > > Use this var to getthepath. > > > > Another way will be a function that return a value > > > > PUBLIC FUNCTION GetPath () > > > > Return '$PATH > > > > End > > > > The same way > > > > For use > > > > Open glob.getpath () &/ file > > > > > > > > > > > > Le jeu. 19 juil. 2018 14:27, PICCORO McKAY Lenz > a > > ?crit : > >> > >> umm interesting using environment variable. but unusefully > >> > >> you guys dont think about the bussines.. no all my programs are "free > >> software" so i put hardcoded "things" close to the clients .. due it's > >> a client request! > >> > >> it's a too complex concep that are only available (until now) in JAVA EE > >> > >> i hope that's enought to clarify the need by me! > >> > >> and now any way to make those that you said? maybe a inline macro > >> definition may help me too! > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> > >> 2018-07-19 3:55 GMT-04:00 Fabien Bodard : > >> > Why dont you use global variable or if you need an external definition > >> > an > >> > envirronment variable ? > >> > > >> > > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Thu Jul 19 15:12:57 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 19 Jul 2018 09:12:57 -0400 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: yeah yeah i got your point! in conclusion right not it's not possible and i must use bash scripts, thanks Fabien Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-19 9:09 GMT-04:00 Fabien Bodard : > I say when you don't have keys ... use a hammer... are we linux hackers or > not ? > > Le jeu. 19 juil. 2018 15:06, PICCORO McKAY Lenz a > ?crit : >> >> O.o >> >> errr ok valid idea umm i dont know why i don like me! you said that >> via "sed" (by example) change the commented string by the hardcoded >> path right? i feel something that said to me "are valid but dont seems >> very valid" >> >> i felling now like Niels Bohr i can explain why i dont like me >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2018-07-19 8:44 GMT-04:00 Fabien Bodard : >> > You can imagine an external way to hardcode a string. >> > >> > For example >> > >> > Set a line like that : >> > >> > Public Path as string '$PATH >> > >> > >> > Then make the compilation via a script that replace '$PATH by ="/mypath" >> > >> > So the var is filled by the value >> > >> > And the comment way allow you to devellop without alert >> > >> > Use this var to getthepath. >> > >> > Another way will be a function that return a value >> > >> > PUBLIC FUNCTION GetPath () >> > >> > Return '$PATH >> > >> > End >> > >> > The same way >> > >> > For use >> > >> > Open glob.getpath () &/ file >> > >> > >> > >> > >> > >> > Le jeu. 19 juil. 2018 14:27, PICCORO McKAY Lenz >> > a >> > ?crit : >> >> >> >> umm interesting using environment variable. but unusefully >> >> >> >> you guys dont think about the bussines.. no all my programs are "free >> >> software" so i put hardcoded "things" close to the clients .. due it's >> >> a client request! >> >> >> >> it's a too complex concep that are only available (until now) in JAVA >> >> EE >> >> >> >> i hope that's enought to clarify the need by me! >> >> >> >> and now any way to make those that you said? maybe a inline macro >> >> definition may help me too! >> >> Lenz McKAY Gerardo (PICCORO) >> >> http://qgqlochekone.blogspot.com >> >> >> >> >> >> 2018-07-19 3:55 GMT-04:00 Fabien Bodard : >> >> > Why dont you use global variable or if you need an external >> >> > definition >> >> > an >> >> > envirronment variable ? >> >> > >> >> > >> >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> > ]---- >> >> > >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> ]---- >> > >> > >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From gambas.fr at gmail.com Thu Jul 19 15:20:41 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 15:20:41 +0200 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: Don't forget that the file must be outputed as a new file for not pollute the original one Le jeu. 19 juil. 2018 15:14, PICCORO McKAY Lenz a ?crit : > yeah yeah i got your point! in conclusion right not it's not possible > and i must use bash scripts, thanks Fabien > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-19 9:09 GMT-04:00 Fabien Bodard : > > I say when you don't have keys ... use a hammer... are we linux hackers > or > > not ? > > > > Le jeu. 19 juil. 2018 15:06, PICCORO McKAY Lenz > a > > ?crit : > >> > >> O.o > >> > >> errr ok valid idea umm i dont know why i don like me! you said that > >> via "sed" (by example) change the commented string by the hardcoded > >> path right? i feel something that said to me "are valid but dont seems > >> very valid" > >> > >> i felling now like Niels Bohr i can explain why i dont like me > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> > >> 2018-07-19 8:44 GMT-04:00 Fabien Bodard : > >> > You can imagine an external way to hardcode a string. > >> > > >> > For example > >> > > >> > Set a line like that : > >> > > >> > Public Path as string '$PATH > >> > > >> > > >> > Then make the compilation via a script that replace '$PATH by > ="/mypath" > >> > > >> > So the var is filled by the value > >> > > >> > And the comment way allow you to devellop without alert > >> > > >> > Use this var to getthepath. > >> > > >> > Another way will be a function that return a value > >> > > >> > PUBLIC FUNCTION GetPath () > >> > > >> > Return '$PATH > >> > > >> > End > >> > > >> > The same way > >> > > >> > For use > >> > > >> > Open glob.getpath () &/ file > >> > > >> > > >> > > >> > > >> > > >> > Le jeu. 19 juil. 2018 14:27, PICCORO McKAY Lenz < > mckaygerhard at gmail.com> > >> > a > >> > ?crit : > >> >> > >> >> umm interesting using environment variable. but unusefully > >> >> > >> >> you guys dont think about the bussines.. no all my programs are "free > >> >> software" so i put hardcoded "things" close to the clients .. due > it's > >> >> a client request! > >> >> > >> >> it's a too complex concep that are only available (until now) in JAVA > >> >> EE > >> >> > >> >> i hope that's enought to clarify the need by me! > >> >> > >> >> and now any way to make those that you said? maybe a inline macro > >> >> definition may help me too! > >> >> Lenz McKAY Gerardo (PICCORO) > >> >> http://qgqlochekone.blogspot.com > >> >> > >> >> > >> >> 2018-07-19 3:55 GMT-04:00 Fabien Bodard : > >> >> > Why dont you use global variable or if you need an external > >> >> > definition > >> >> > an > >> >> > envirronment variable ? > >> >> > > >> >> > > >> >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > >> >> > ]---- > >> >> > > >> >> > >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > >> >> ]---- > >> > > >> > > >> > > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Thu Jul 19 16:06:18 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 19 Jul 2018 10:06:18 -0400 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: 2018-07-19 9:20 GMT-04:00 Fabien Bodard : > Don't forget that the file must be outputed as a new file for not pollute > the original one god! DAMN! > > Le jeu. 19 juil. 2018 15:14, PICCORO McKAY Lenz a > ?crit : >> >> yeah yeah i got your point! in conclusion right not it's not possible >> and i must use bash scripts, thanks Fabien >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2018-07-19 9:09 GMT-04:00 Fabien Bodard : >> > I say when you don't have keys ... use a hammer... are we linux hackers >> > or >> > not ? >> > >> > Le jeu. 19 juil. 2018 15:06, PICCORO McKAY Lenz >> > a >> > ?crit : >> >> >> >> O.o >> >> >> >> errr ok valid idea umm i dont know why i don like me! you said that >> >> via "sed" (by example) change the commented string by the hardcoded >> >> path right? i feel something that said to me "are valid but dont seems >> >> very valid" >> >> >> >> i felling now like Niels Bohr i can explain why i dont like me >> >> Lenz McKAY Gerardo (PICCORO) >> >> http://qgqlochekone.blogspot.com >> >> >> >> >> >> 2018-07-19 8:44 GMT-04:00 Fabien Bodard : >> >> > You can imagine an external way to hardcode a string. >> >> > >> >> > For example >> >> > >> >> > Set a line like that : >> >> > >> >> > Public Path as string '$PATH >> >> > >> >> > >> >> > Then make the compilation via a script that replace '$PATH by >> >> > ="/mypath" >> >> > >> >> > So the var is filled by the value >> >> > >> >> > And the comment way allow you to devellop without alert >> >> > >> >> > Use this var to getthepath. >> >> > >> >> > Another way will be a function that return a value >> >> > >> >> > PUBLIC FUNCTION GetPath () >> >> > >> >> > Return '$PATH >> >> > >> >> > End >> >> > >> >> > The same way >> >> > >> >> > For use >> >> > >> >> > Open glob.getpath () &/ file >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > Le jeu. 19 juil. 2018 14:27, PICCORO McKAY Lenz >> >> > >> >> > a >> >> > ?crit : >> >> >> >> >> >> umm interesting using environment variable. but unusefully >> >> >> >> >> >> you guys dont think about the bussines.. no all my programs are >> >> >> "free >> >> >> software" so i put hardcoded "things" close to the clients .. due >> >> >> it's >> >> >> a client request! >> >> >> >> >> >> it's a too complex concep that are only available (until now) in >> >> >> JAVA >> >> >> EE >> >> >> >> >> >> i hope that's enought to clarify the need by me! >> >> >> >> >> >> and now any way to make those that you said? maybe a inline macro >> >> >> definition may help me too! >> >> >> Lenz McKAY Gerardo (PICCORO) >> >> >> http://qgqlochekone.blogspot.com >> >> >> >> >> >> >> >> >> 2018-07-19 3:55 GMT-04:00 Fabien Bodard : >> >> >> > Why dont you use global variable or if you need an external >> >> >> > definition >> >> >> > an >> >> >> > envirronment variable ? >> >> >> > >> >> >> > >> >> >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> >> > ]---- >> >> >> > >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> >> ]---- >> >> > >> >> > >> >> > >> >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> > ]---- >> >> > >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> ]---- >> > >> > >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From gambas.fr at gmail.com Thu Jul 19 16:23:36 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 16:23:36 +0200 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: You Le jeu. 19 juil. 2018 16:07, PICCORO McKAY Lenz a ?crit : > 2018-07-19 9:20 GMT-04:00 Fabien Bodard : > > Don't forget that the file must be outputed as a new file for not pollute > > the original one > > god! DAMN! > You must act like gb scripter do. Your compiler must make a copy of the complete project dir in a temp path Then parse all the sources files to replace the values Then compile the temps project And output the compiled bin where you want. ( gbc + gba) Its matter of 20 line in a beautiful gambas script. ? So with your script you can say then ./mycompscript path='/usr/bin/Maurice' out=myprog.gambas ~/picoro/projects/myprog -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambasml at junkheaven.com Thu Jul 19 16:00:52 2018 From: gambasml at junkheaven.com (Ernest Wilson) Date: Thu, 19 Jul 2018 09:00:52 -0500 Subject: [Gambas-user] DataSource Sort Problem Message-ID: Hello, I'm using Gambas 3.11.2 and have an error with the Sort property of the DataSource. The DataSource on my Form connects to an SQLite Table consisting of fields "ProcessID" and "ProcessTitle". The records are displayed in a DataBrowser which functions properly. I would like to have records displayed in order by the "ProcessTitle" field, so I have used the following code to initialize the DataSource when opening the Form: ? With DataSource1 ??? .Connection = Connection5 ??? .Table = "Processes" ??? .Sort = "ProcessTitle" ? End With The sort works properly when records are displayed, however, an error dialog displaying the message "Invalid value" is presented before the form opens. Clicking the OK response to the error dialog allows the window to open and everything functions normally. If I comment out the line with .Sort = "ProcessTitle", the error does not occur, but of course, there is no sort. Any ideas about how to fix this, will be much appreciated. -- Regards, Ernest Wilson From g4mba5 at gmail.com Thu Jul 19 16:39:46 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 19 Jul 2018 16:39:46 +0200 Subject: [Gambas-user] DataSource Sort Problem In-Reply-To: References: Message-ID: Le 19/07/2018 ? 16:00, Ernest Wilson a ?crit?: > Hello, > > I'm using Gambas 3.11.2 and have an error with the Sort property of the > DataSource. > > The DataSource on my Form connects to an SQLite Table consisting of > fields "ProcessID" and "ProcessTitle". The records are displayed in a > DataBrowser which functions properly. > > I would like to have records displayed in order by the "ProcessTitle" > field, so I have used the following code to initialize the DataSource > when opening the Form: > > ? With DataSource1 > ??? .Connection = Connection5 > ??? .Table = "Processes" > ??? .Sort = "ProcessTitle" > ? End With > > The sort works properly when records are displayed, however, an error > dialog displaying the message "Invalid value" is presented before the > form opens. Clicking the OK response to the error dialog allows the > window to open and everything functions normally. > > If I comment out the line with .Sort = "ProcessTitle", the error does > not occur, but of course, there is no sort. > > Any ideas about how to fix this, will be much appreciated. > If you can provide a little project (with a little database) that reproduces the bug, it would be great. -- Beno?t Minisini From mckaygerhard at gmail.com Thu Jul 19 17:03:56 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 19 Jul 2018 11:03:56 -0400 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: umm seems whe are reinventing the "cmake" wheel.. sound too much complicated for a single need! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-19 10:23 GMT-04:00 Fabien Bodard : > You > > Le jeu. 19 juil. 2018 16:07, PICCORO McKAY Lenz > a ?crit : > >> 2018-07-19 9:20 GMT-04:00 Fabien Bodard : >> > Don't forget that the file must be outputed as a new file for not >> pollute >> > the original one >> >> god! DAMN! >> > You must act like gb scripter do. > > Your compiler must make a copy of the complete project dir in a temp path > > Then parse all the sources files to replace the values > > Then compile the temps project > And output the compiled bin where you want. ( gbc + gba) > > Its matter of 20 line in a beautiful gambas script. > > [image: ?] > > So with your script you can say then > > ./mycompscript path='/usr/bin/Maurice' out=myprog.gambas > ~/picoro/projects/myprog > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Thu Jul 19 17:31:04 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 17:31:04 +0200 Subject: [Gambas-user] any way to set variable macros like C, ? In-Reply-To: References: Message-ID: Well if 20 line is too hard... then write the path by hand Le jeu. 19 juil. 2018 17:04, PICCORO McKAY Lenz a ?crit : > umm seems whe are reinventing the "cmake" wheel.. sound too much > complicated for a single need! > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2018-07-19 10:23 GMT-04:00 Fabien Bodard : > >> You >> >> Le jeu. 19 juil. 2018 16:07, PICCORO McKAY Lenz >> a ?crit : >> >>> 2018-07-19 9:20 GMT-04:00 Fabien Bodard : >>> > Don't forget that the file must be outputed as a new file for not >>> pollute >>> > the original one >>> >>> god! DAMN! >>> >> You must act like gb scripter do. >> >> Your compiler must make a copy of the complete project dir in a temp path >> >> Then parse all the sources files to replace the values >> >> Then compile the temps project >> And output the compiled bin where you want. ( gbc + gba) >> >> Its matter of 20 line in a beautiful gambas script. >> >> ? >> >> So with your script you can say then >> >> ./mycompscript path='/usr/bin/Maurice' out=myprog.gambas >> ~/picoro/projects/myprog >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vuott at tiscali.it Thu Jul 19 18:17:59 2018 From: vuott at tiscali.it (vuott at tiscali.it) Date: Thu, 19 Jul 2018 18:17:59 +0200 Subject: [Gambas-user] =?utf-8?q?to_make_transparent_shown_by_MapViewer?= =?utf-8?q?=3F?= In-Reply-To: References: Message-ID: <52a8253081b1c2a9e0c2e6051a3a34af@tiscali.it> It seems like a kind of array. An "ad hoc" method would be necessary to eliminate an element of that Tile-array. Regards vuott Il 19.07.2018 09:42 Fabien Bodard ha scritto: > Le jeu. 19 juil. 2018 00:45, a ?crit : > >> uhmmm ...excuse me, a little inter-question: >> is it possible destroy a " Tile " ? >> regards > > I dont remember if i have implemented that... i need to see > >> vuott >> >> Il 18.07.2018 19:03 Gianluigi ha scritto: >> >>> It still doesn't work even if I set alloweffect to false >>> Regards >>> Gianluigi >>> [System] >>> Gambas=3.11.90 3c84b78 (master) >>> OperatingSystem=Linux >>> Kernel=4.15.0-23-generic >>> Architecture=x86_64 >>> Distribution=Ubuntu 18.04 LTS >>> Desktop=UBUNTU:GNOME >>> Theme=Gtk >>> Language=it_IT.UTF-8 >>> Memory=15969M >>> >>> [Libraries] >>> Cairo=libcairo.so.2.11510.0 >>> DBus=libdbus-1.so.3.19.4 >>> GStreamer=libgstreamer-1.0.so.0.1401.0 >>> GTK+2=libgtk-x11-2.0.so.0.2400.32 >>> GTK+3=libgtk-3.so.0.2200.30 >>> OpenGL=libGL.so.1.0.0 >>> Poppler=libpoppler.so.73.0.0 >>> QT4=libQtCore.so.4.8.7 >>> QT5=libQt5Core.so.5.9.5 >>> SDL=libSDL-1.2.so.0.11.4 >>> SQLite=libsqlite3.so.0.8.6 >>> >>> [Environment] >>> CLUTTER_IM_MODULE=xim >>> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus >>> DESKTOP_SESSION=ubuntu >>> DISPLAY=:0 >>> GB_GUI=gb.qt4 >>> GDMSESSION=ubuntu >>> GIO_LAUNCHED_DESKTOP_FILE=/etc/xdg/autostart/nautilus-autostart.desktop >>> GIO_LAUNCHED_DESKTOP_FILE_PID=2142 >>> GNOME_DESKTOP_SESSION_ID=this-is-deprecated >>> GNOME_SHELL_SESSION_MODE=ubuntu >>> GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 >>> GTK_IM_MODULE=ibus >>> GTK_MODULES=gail:atk-bridge >>> HOME=/home/ >>> IM_CONFIG_PHASE=2 >>> LANG=it_IT.UTF-8 >>> LOGNAME= >>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin >>> PWD=/home/ >>> QT4_IM_MODULE=xim >>> QT_ACCESSIBILITY=1 >>> QT_IM_MODULE=ibus >>> QT_QPA_PLATFORMTHEME=qt5ct >>> SESSION_MANAGER=local/:@/tmp/.ICE-unix/1239,unix/:/tmp/.ICE-unix/1239 >>> SHELL=/bin/bash >>> SHLVL=0 >>> SSH_AGENT_PID=1342 >>> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh >>> TEXTDOMAIN=im-config >>> TEXTDOMAINDIR=/usr/share/locale/ >>> TZ=:/etc/localtime >>> USER= >>> USERNAME= >>> WINDOWPATH=1 >>> XAUTHORITY=/run/user/1000/gdm/Xauthority >>> XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg >>> XDG_CURRENT_DESKTOP=ubuntu:GNOME >>> XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop >>> XDG_MENU_PREFIX=gnome- >>> XDG_RUNTIME_DIR=/run/user/1000 >>> XDG_SEAT=seat0 >>> XDG_SESSION_DESKTOP=ubuntu >>> XDG_SESSION_ID=1 >>> XDG_SESSION_TYPE=x11 >>> XDG_VTNR=1 >>> XMODIFIERS=@im=ibus >>> >>> 2018-07-18 18:38 GMT+02:00 Fabien Bodard : >>> >>>> And if you set alloweffect to false ? >>>> >>>> Le mer. 18 juil. 2018 18:14, Gianluigi a ?crit : >>>> >>>>> :-D Hi Fabien, >>>>> >>>>> I attach project that only works at startup. >>>>> You can take a look >>>>> Thank you for your attention >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> 2018-07-18 18:00 GMT+02:00 : >>>>> >>>>>> Hello Fabien, >>>>>> with your code map colors simply have the tendency to become grey, but not "transparent". >>>>>> bye >>>>>> vuott >>>>>> >>>>>> Il 18.07.2018 16:43 Fabien Bodard ha scritto: >>>>>> >>>>>>> Le mar. 17 juil. 2018 ? 23:27, Gianluigi a ?crit : >>>>>>> >>>>>>>> Excuse vuott, >>>>>>>> I had not understood the question. >>>>>>>> I believe that this is not possible at present. >>>>>>>> I hope Fabien will deny me :-) >>>>>>> >>>>>>> kakaka :-D >>>>>>> yes i deny you :) >>>>>>> MapView.Map["MyLayer"].Opacity = 0 to 1 >>>>>>> >>>>>>>> Regards >>>>>>>> Gianluigi >>>>>>>> >>>>>>>> 2018-07-17 20:47 GMT+02:00 Gianluigi : >>>>>>>> >>>>>>>>> If you go to gb.map > Tests > Form1 you can add this line to the code of Form_Open: >>>>>>>>> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) >>>>>>>>> >>>>>>>>> I hope it will be useful >>>>>>>>> >>>>>>>>> Ciao >>>>>>>>> Gianluigi >>>>>>>>> >>>>>>>>> 2018-07-17 18:54 GMT+02:00 : >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> is it possible to make transparent (by setting different levels of transparency) the geographic image (the map) shown by MapViewer? >>>>>>>>>> bye >>>>>>>>>> vuott >>>>>>>>>> >>>>>>>>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3EUR al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10EUR di credito omaggio! >>>>>>>>>> SCOPRI DI PIU' http://tisca.li/myopen [1] >>>>>>>>>> >>>>>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [2] ]---- >>>>>>>> >>>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [5] ]---- >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Fabien Bodard >>>>>> >>>>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3EUR al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10EUR di credito omaggio! >>>>>> SCOPRI DI PIU' http://tisca.li/myopen [7] >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [8] ]---- >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [10] ]---- >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [12] ]---- >> >> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3EUR al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10EUR di credito omaggio! >> SCOPRI DI PIU' http://tisca.li/myopen [14] >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net [15] ]---- Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! SCOPRI DI PIU? http://tisca.li/myopen -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Thu Jul 19 18:22:49 2018 From: gambas.fr at gmail.com (Fabien Bodard) Date: Thu, 19 Jul 2018 18:22:49 +0200 Subject: [Gambas-user] to make transparent shown by MapViewer? In-Reply-To: <52a8253081b1c2a9e0c2e6051a3a34af@tiscali.it> References: <52a8253081b1c2a9e0c2e6051a3a34af@tiscali.it> Message-ID: I will do it this evening Le jeu. 19 juil. 2018 18:19, a ?crit : > It seems like a kind of array. > An "ad hoc" method would be necessary to eliminate an element of that > Tile-array. > > Regards > vuott > > Il 19.07.2018 09:42 Fabien Bodard ha scritto: > > > > Le jeu. 19 juil. 2018 00:45, a ?crit : > >> uhmmm ...excuse me, a little inter-question: >> is it possible destroy a " Tile " ? >> regards >> > I dont remember if i have implemented that... i need to see > >> vuott >> >> Il 18.07.2018 19:03 Gianluigi ha scritto: >> >> It still doesn't work even if I set alloweffect to false >> Regards >> Gianluigi >> [System] >> Gambas=3.11.90 3c84b78 (master) >> OperatingSystem=Linux >> Kernel=4.15.0-23-generic >> Architecture=x86_64 >> Distribution=Ubuntu 18.04 LTS >> Desktop=UBUNTU:GNOME >> Theme=Gtk >> Language=it_IT.UTF-8 >> Memory=15969M >> >> [Libraries] >> Cairo=libcairo.so.2.11510.0 >> DBus=libdbus-1.so.3.19.4 >> GStreamer=libgstreamer-1.0.so.0.1401.0 >> GTK+2=libgtk-x11-2.0.so.0.2400.32 >> GTK+3=libgtk-3.so.0.2200.30 >> OpenGL=libGL.so.1.0.0 >> Poppler=libpoppler.so.73.0.0 >> QT4=libQtCore.so.4.8.7 >> QT5=libQt5Core.so.5.9.5 >> SDL=libSDL-1.2.so.0.11.4 >> SQLite=libsqlite3.so.0.8.6 >> >> [Environment] >> CLUTTER_IM_MODULE=xim >> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus >> DESKTOP_SESSION=ubuntu >> DISPLAY=:0 >> GB_GUI=gb.qt4 >> GDMSESSION=ubuntu >> GIO_LAUNCHED_DESKTOP_FILE=/etc/xdg/autostart/nautilus-autostart.desktop >> GIO_LAUNCHED_DESKTOP_FILE_PID=2142 >> GNOME_DESKTOP_SESSION_ID=this-is-deprecated >> GNOME_SHELL_SESSION_MODE=ubuntu >> GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 >> GTK_IM_MODULE=ibus >> GTK_MODULES=gail:atk-bridge >> HOME=/home/ >> IM_CONFIG_PHASE=2 >> LANG=it_IT.UTF-8 >> LOGNAME= >> >> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin >> PWD=/home/ >> QT4_IM_MODULE=xim >> QT_ACCESSIBILITY=1 >> QT_IM_MODULE=ibus >> QT_QPA_PLATFORMTHEME=qt5ct >> SESSION_MANAGER=local/:@/tmp/.ICE-unix/1239,unix/:/tmp/.ICE-unix/1239 >> SHELL=/bin/bash >> SHLVL=0 >> SSH_AGENT_PID=1342 >> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh >> TEXTDOMAIN=im-config >> TEXTDOMAINDIR=/usr/share/locale/ >> TZ=:/etc/localtime >> USER= >> USERNAME= >> WINDOWPATH=1 >> XAUTHORITY=/run/user/1000/gdm/Xauthority >> XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg >> XDG_CURRENT_DESKTOP=ubuntu:GNOME >> >> XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop >> XDG_MENU_PREFIX=gnome- >> XDG_RUNTIME_DIR=/run/user/1000 >> XDG_SEAT=seat0 >> XDG_SESSION_DESKTOP=ubuntu >> XDG_SESSION_ID=1 >> XDG_SESSION_TYPE=x11 >> XDG_VTNR=1 >> XMODIFIERS=@im=ibus >> >> 2018-07-18 18:38 GMT+02:00 Fabien Bodard : >> >>> And if you set alloweffect to false ? >>> >>> Le mer. 18 juil. 2018 18:14, Gianluigi a ?crit : >>> >>>> :-D Hi Fabien, >>>> >>>> I attach project that only works at startup. >>>> You can take a look >>>> Thank you for your attention >>>> >>>> Regards >>>> Gianluigi >>>> >>>> 2018-07-18 18:00 GMT+02:00 : >>>> >>>>> Hello Fabien, >>>>> with your code map colors simply have the tendency to become grey, but >>>>> not "transparent". >>>>> bye >>>>> vuott >>>>> >>>>> Il 18.07.2018 16:43 Fabien Bodard ha scritto: >>>>> >>>>> >>>>> Le mar. 17 juil. 2018 ? 23:27, Gianluigi a >>>>> ?crit : >>>>> >>>>>> Excuse vuott, >>>>>> I had not understood the question. >>>>>> I believe that this is not possible at present. >>>>>> I hope Fabien will deny me :-) >>>>>> >>>>> kakaka :-D >>>>> yes i deny you :) >>>>> MapView.Map["MyLayer"].Opacity = 0 to 1 >>>>> >>>>> >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>>> 2018-07-17 20:47 GMT+02:00 Gianluigi : >>>>>> >>>>>>> If you go to gb.map > Tests > Form1 you can add this line to the >>>>>>> code of Form_Open: >>>>>>> $Map!MyShape!zone1.FillColor = Color.SetAlpha(Color.Green, 150) >>>>>>> >>>>>>> I hope it will be useful >>>>>>> >>>>>>> Ciao >>>>>>> Gianluigi >>>>>>> >>>>>>> 2018-07-17 18:54 GMT+02:00 : >>>>>>> >>>>>>>> Hello, >>>>>>>> is it possible to make transparent (by setting different levels of >>>>>>>> transparency) the geographic image (the map) shown by MapViewer? >>>>>>>> bye >>>>>>>> vuott >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per >>>>>>>> sempre. Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >>>>>>>> SCOPRI DI PIU? http://tisca.li/myopen >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>>> ]---- >>>>>>>> >>>>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>> >>>>> >>>>> -- >>>>> Fabien Bodard >>>>> >>>>> >>>>> >>>>> >>>>> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per >>>>> sempre. Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >>>>> SCOPRI DI PIU? http://tisca.li/myopen >>>>> >>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. >> Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! >> SCOPRI DI PIU? http://tisca.li/myopen >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > Con MyOpen hai Giga, SMS e i minuti che vuoi da 3? al mese, per sempre. > Cambi gratis quando e come vuoi e in pi? hai 10? di credito omaggio! > SCOPRI DI PIU? http://tisca.li/myopen > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shordi at gmail.com Thu Jul 19 18:27:41 2018 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 19 Jul 2018 18:27:41 +0200 Subject: [Gambas-user] Can't access Gambas Farm's projects Message-ID: I can't download nor install the Gambas Farm projects. Some issue about checksum... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: farm error.png Type: image/png Size: 231872 bytes Desc: not available URL: From criguada at gmail.com Thu Jul 19 20:19:28 2018 From: criguada at gmail.com (Cristiano Guadagnino) Date: Thu, 19 Jul 2018 20:19:28 +0200 Subject: [Gambas-user] segfault in gambas In-Reply-To: <1b51d7c9-94cf-f02a-3079-992e9327cf78@gmail.com> References: <1b51d7c9-94cf-f02a-3079-992e9327cf78@gmail.com> Message-ID: Hi Benoit, after yesterday's Tumbleweed updates it works again. Thank you Cris On Tue, Jul 17, 2018 at 3:51 PM Beno?t Minisini wrote: > Le 12/07/2018 ? 11:26, Cristiano Guadagnino a ?crit : > > Hi Benoit, > > you can find the backtracke here: > > > > https://gist.github.com/Cris70/76d6ef51100695104816439780dd9c34 > > > > I did not compile gambas myself: I installed from the munix9:unstable > > repo with all the debuginfo and debugsource packages. > > > > I hope it's good enough, but if it isn't so please let me know. > > > > Thank you in advance! > > > > Cris > > > > It's a crash inside the QT5 library, so there is apparently something > weird on your system. > > Do you have Gambas QT4 packages? If so, can you install them, and run > the IDE with them? That way: > > $ GB_GUI=gb.qt4 gambas3 > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambasml at junkheaven.com Fri Jul 20 15:04:45 2018 From: gambasml at junkheaven.com (Ernest Wilson) Date: Fri, 20 Jul 2018 08:04:45 -0500 Subject: [Gambas-user] DataSource Sort Problem In-Reply-To: <8f894afc-d7b4-c1fb-ef15-1e928c64c3db@junkheaven.com> References: <8f894afc-d7b4-c1fb-ef15-1e928c64c3db@junkheaven.com> Message-ID: <46ef378a-532a-bf74-4d35-f730b1f7ead2@junkheaven.com> I have attached a sample project that demonstrates the problem. The project I am developing has some additional fields in the table, including a boolean field that indicates the tax status of the process record (True is taxable, False in not taxable). The boolean field is represented on the Form by a DataCheckbox. As I was building the test project, I realized that the code in my previous email works correctly if the DataCheckbox is removed from the Form. Regards, Ernest Wilson On 07/19/2018 09:39 AM, Beno?t Minisini wrote: > Le 19/07/2018 ? 16:00, Ernest Wilson a ?crit?: >> Hello, >> >> I'm using Gambas 3.11.2 and have an error with the Sort property of >> the DataSource. >> >> The DataSource on my Form connects to an SQLite Table consisting of >> fields "ProcessID" and "ProcessTitle". The records are displayed in a >> DataBrowser which functions properly. >> >> I would like to have records displayed in order by the "ProcessTitle" >> field, so I have used the following code to initialize the DataSource >> when opening the Form: >> >> ?? With DataSource1 >> ???? .Connection = Connection5 >> ???? .Table = "Processes" >> ???? .Sort = "ProcessTitle" >> ?? End With >> >> The sort works properly when records are displayed, however, an error >> dialog displaying the message "Invalid value" is presented before the >> form opens. Clicking the OK response to the error dialog allows the >> window to open and everything functions normally. >> >> If I comment out the line with .Sort = "ProcessTitle", the error does >> not occur, but of course, there is no sort. >> >> Any ideas about how to fix this, will be much appreciated. >> > > If you can provide a little project (with a little database) that > reproduces the bug, it would be great. > -------------- next part -------------- A non-text attachment was scrubbed... Name: Data_Sort_Test.zip Type: application/zip Size: 23370 bytes Desc: not available URL: From t.lee.davidson at gmail.com Fri Jul 20 17:28:20 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 20 Jul 2018 11:28:20 -0400 Subject: [Gambas-user] DataSource Sort Problem In-Reply-To: <46ef378a-532a-bf74-4d35-f730b1f7ead2@junkheaven.com> References: <8f894afc-d7b4-c1fb-ef15-1e928c64c3db@junkheaven.com> <46ef378a-532a-bf74-4d35-f730b1f7ead2@junkheaven.com> Message-ID: <63e8b0e7-8151-626d-bb23-1afbbc0c4452@gmail.com> Try setting the DataSource1.Sort field *after* the DataCheckBox1.Field is set (at line 45) instead of at line 30. -- Lee On 07/20/2018 09:04 AM, Ernest Wilson wrote: > I have attached a sample project that demonstrates the problem. > > The project I am developing has some additional fields in the table, > including a boolean field that indicates the tax status of the process > record (True is taxable, False in not taxable). The boolean field is > represented on the Form by a DataCheckbox. > > As I was building the test project, I realized that the code in my > previous email works correctly if the DataCheckbox is removed from the Form. > > Regards, > Ernest Wilson > > On 07/19/2018 09:39 AM, Beno?t Minisini wrote: >> Le 19/07/2018 ? 16:00, Ernest Wilson a ?crit?: >>> Hello, >>> >>> I'm using Gambas 3.11.2 and have an error with the Sort property of the DataSource. >>> >>> The DataSource on my Form connects to an SQLite Table consisting of fields "ProcessID" and "ProcessTitle". The records are >>> displayed in a DataBrowser which functions properly. >>> >>> I would like to have records displayed in order by the "ProcessTitle" field, so I have used the following code to initialize >>> the DataSource when opening the Form: >>> >>> ?? With DataSource1 >>> ???? .Connection = Connection5 >>> ???? .Table = "Processes" >>> ???? .Sort = "ProcessTitle" >>> ?? End With >>> >>> The sort works properly when records are displayed, however, an error dialog displaying the message "Invalid value" is >>> presented before the form opens. Clicking the OK response to the error dialog allows the window to open and everything >>> functions normally. >>> >>> If I comment out the line with .Sort = "ProcessTitle", the error does not occur, but of course, there is no sort. >>> >>> Any ideas about how to fix this, will be much appreciated. >>> >> >> If you can provide a little project (with a little database) that reproduces the bug, it would be great. >> > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From t.lee.davidson at gmail.com Fri Jul 20 17:30:06 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 20 Jul 2018 11:30:06 -0400 Subject: [Gambas-user] Can't access Gambas Farm's projects In-Reply-To: References: Message-ID: Probably not much help, but I have no problem downloading that project with Gambas v3.11.90 -- Lee On 07/19/2018 12:27 PM, Jorge Carri?n wrote: > I can't download nor install the Gambas Farm projects. Some issue about checksum... > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From t.lee.davidson at gmail.com Fri Jul 20 17:48:48 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 20 Jul 2018 11:48:48 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: Actually, John asked for the URL of "such a site", meaning, in English, a site of the similar functionality of acting as a user-contributed repository for Gambas (or other) developed applications. And, I did not say, "why do you not put in the farm". I merely pointed out that the Gambas Software Farm is available as "such a site." Criticizing the Farm without suggesting alternatives is not constructive. So, do you have any suggestions for John? -- Lee On 07/19/2018 08:54 AM, PICCORO McKAY Lenz wrote: > John ask for a missing url not for a gambas farm change, will be > little hard for him to find, i recomment to sear at the old wiki > traces and web archive, and TAKE CARE OF THE LANGUAGE SITE! if are not > english > > my comment was related to your comment that said "why do you not put > in the farm" and i answered some of the many of the many reasons > > in my case i put in my repositories (on gitlab of course, go away from > github je je) > > > for the gambas farm, i recomend use group gitlab, i can make a > parallel structure and porposed the schemes to gambas developer group, > TAKE CARE THAT GITLAB SUPPORT SUBGROUPS not only groups > > > reinventing the wehll alway are bad idea, so using the gitlab > structure are the best way! > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-19 8:44 GMT-04:00 T Lee Davidson : >> So you don't like the Gambas Farm. Do you have a better suggestion for John's query? >> >> >> -- >> Lee >> >> >> On 07/19/2018 08:36 AM, PICCORO McKAY Lenz wrote: >>> well the gambas farm are too basic and rudimentary, i mean: are a >>> great idea but from the point of view of a novice that search for >>> something are too basic, tags/words dont reflects the targets programs >>> and a only way to access are using the IDE.. >>> >>> I believe or imagine that the "gambas" farm wanted to be like the >>> mozilla extensions repository, but for example I have about 4 versions >>> of the farm repair shop exposed as if they were 4 different programs >>> when they are the same in different versions... >>> >>> that are not so bad, the bad are the rudimentary search engine, of >>> course we dont develop a "google engine" but are not so usefully, due >>> if i not under IDE i dont find nothing,.. >>> >>> that point compared to php'or visual are very limited, i open any web >>> search pagen and sear for "php async mail" and found at leas one way >>> to do under lavarel o codeigniter.. in gambas i must waith until >>> someone answer my question in mail list >>> >>> so due that reasons i understand the way taken by John Rose on those >>> dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in >>> particular situations.. >>> >>> also i remenber that in nomadays examples comes offline, now if i are >>> in a remote place and network are too low, it's a pain >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> >>> 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >>>> I don't know what particular site that may have been. But, there is the Gambas Farm which is accessed within the IDE. >>>> >>>> -- >>>> Lee >>>> >>>> >>>> On 07/18/2018 05:09 PM, John Rose wrote: >>>>> I used to put my Gambas developed apps on a particular website. However, I've now lost its URL. Does anyone know the URL of such >>>>> a site? >>>>> >>>>> I have a number of Gambas apps. I've just changed my iRecorder app (which uses the get_iplayer command line program) to operate >>>>> better. This app is a GUI to record BBC TV & radio programmes. At the moment I just create a .deb as I use Ubuntu mainly. >>>>> >>>>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe simulation, Lorenz cyphering, Colossus simulation, Stream >>>>> Recording. All my apps are free of charge. If anyone's interested, post to the user list: though I only look at the daily digest. >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Fri Jul 20 17:54:05 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 20 Jul 2018 11:54:05 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: 2018-07-20 11:48 GMT-04:00 T Lee Davidson : > Actually, John asked for the URL of "such a site", meaning, in English, a site of the similar functionality of acting as a > user-contributed repository for Gambas (or other) developed applications. And, I did not say, "why do you not put in the farm". > I merely pointed out that the Gambas Software Farm is available as "such a site." > > Criticizing the Farm without suggesting alternatives is not constructive. > > So, do you have any suggestions for John? do you read carefully prevously email? i cited again if not: John ask for a missing url not for a gambas farm change, will be little hard for him to find, i recomment to sear at the old wiki traces and web archive, and TAKE CARE OF THE LANGUAGE SITE! if are not english that's was part of my reponse > > > -- > Lee > > > On 07/19/2018 08:54 AM, PICCORO McKAY Lenz wrote: >> John ask for a missing url not for a gambas farm change, will be >> little hard for him to find, i recomment to sear at the old wiki >> traces and web archive, and TAKE CARE OF THE LANGUAGE SITE! if are not >> english >> >> my comment was related to your comment that said "why do you not put >> in the farm" and i answered some of the many of the many reasons >> >> in my case i put in my repositories (on gitlab of course, go away from >> github je je) >> >> >> for the gambas farm, i recomend use group gitlab, i can make a >> parallel structure and porposed the schemes to gambas developer group, >> TAKE CARE THAT GITLAB SUPPORT SUBGROUPS not only groups >> >> >> reinventing the wehll alway are bad idea, so using the gitlab >> structure are the best way! >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2018-07-19 8:44 GMT-04:00 T Lee Davidson : >>> So you don't like the Gambas Farm. Do you have a better suggestion for John's query? >>> >>> >>> -- >>> Lee >>> >>> >>> On 07/19/2018 08:36 AM, PICCORO McKAY Lenz wrote: >>>> well the gambas farm are too basic and rudimentary, i mean: are a >>>> great idea but from the point of view of a novice that search for >>>> something are too basic, tags/words dont reflects the targets programs >>>> and a only way to access are using the IDE.. >>>> >>>> I believe or imagine that the "gambas" farm wanted to be like the >>>> mozilla extensions repository, but for example I have about 4 versions >>>> of the farm repair shop exposed as if they were 4 different programs >>>> when they are the same in different versions... >>>> >>>> that are not so bad, the bad are the rudimentary search engine, of >>>> course we dont develop a "google engine" but are not so usefully, due >>>> if i not under IDE i dont find nothing,.. >>>> >>>> that point compared to php'or visual are very limited, i open any web >>>> search pagen and sear for "php async mail" and found at leas one way >>>> to do under lavarel o codeigniter.. in gambas i must waith until >>>> someone answer my question in mail list >>>> >>>> so due that reasons i understand the way taken by John Rose on those >>>> dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in >>>> particular situations.. >>>> >>>> also i remenber that in nomadays examples comes offline, now if i are >>>> in a remote place and network are too low, it's a pain >>>> Lenz McKAY Gerardo (PICCORO) >>>> http://qgqlochekone.blogspot.com >>>> >>>> >>>> 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >>>>> I don't know what particular site that may have been. But, there is the Gambas Farm which is accessed within the IDE. >>>>> >>>>> -- >>>>> Lee >>>>> >>>>> >>>>> On 07/18/2018 05:09 PM, John Rose wrote: >>>>>> I used to put my Gambas developed apps on a particular website. However, I've now lost its URL. Does anyone know the URL of such >>>>>> a site? >>>>>> >>>>>> I have a number of Gambas apps. I've just changed my iRecorder app (which uses the get_iplayer command line program) to operate >>>>>> better. This app is a GUI to record BBC TV & radio programmes. At the moment I just create a .deb as I use Ubuntu mainly. >>>>>> >>>>>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe simulation, Lorenz cyphering, Colossus simulation, Stream >>>>>> Recording. All my apps are free of charge. If anyone's interested, post to the user list: though I only look at the daily digest. >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From mckaygerhard at gmail.com Fri Jul 20 17:55:30 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 20 Jul 2018 11:55:30 -0400 Subject: [Gambas-user] Can't access Gambas Farm's projects In-Reply-To: References: Message-ID: i already have similar problem but ramdownlly, and 3.11.90 are not stable so i dont think appplied for Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-20 11:30 GMT-04:00 T Lee Davidson : > Probably not much help, but I have no problem downloading that project with Gambas v3.11.90 > > > -- > Lee > > > On 07/19/2018 12:27 PM, Jorge Carri?n wrote: >> I can't download nor install the Gambas Farm projects. Some issue about checksum... >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From t.lee.davidson at gmail.com Fri Jul 20 18:02:39 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 20 Jul 2018 12:02:39 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: <756912ed-6ec8-e8d1-deb1-4df06d622d15@gmail.com> You're saying that, "i recomment to sear at the old wiki traces and web archive, and TAKE CARE OF THE LANGUAGE SITE! if are not english" is a suggested alternative from you? If so, then perhaps you could rewrite it in comprehensible English so that it can be both more readily recognized as a suggestion and understood. -- Lee On 07/20/2018 11:54 AM, PICCORO McKAY Lenz wrote: > 2018-07-20 11:48 GMT-04:00 T Lee Davidson : >> Actually, John asked for the URL of "such a site", meaning, in English, a site of the similar functionality of acting as a >> user-contributed repository for Gambas (or other) developed applications. And, I did not say, "why do you not put in the farm". >> I merely pointed out that the Gambas Software Farm is available as "such a site." >> >> Criticizing the Farm without suggesting alternatives is not constructive. >> >> So, do you have any suggestions for John? > > do you read carefully prevously email? i cited again if not: > > John ask for a missing url not for a gambas farm change, will be > little hard for him to find, i recomment to sear at the old wiki > traces and web archive, and TAKE CARE OF THE LANGUAGE SITE! if are not > english > > that's was part of my reponse > >> >> >> -- >> Lee >> >> >> On 07/19/2018 08:54 AM, PICCORO McKAY Lenz wrote: >>> John ask for a missing url not for a gambas farm change, will be >>> little hard for him to find, i recomment to sear at the old wiki >>> traces and web archive, and TAKE CARE OF THE LANGUAGE SITE! if are not >>> english >>> >>> my comment was related to your comment that said "why do you not put >>> in the farm" and i answered some of the many of the many reasons >>> >>> in my case i put in my repositories (on gitlab of course, go away from >>> github je je) >>> >>> >>> for the gambas farm, i recomend use group gitlab, i can make a >>> parallel structure and porposed the schemes to gambas developer group, >>> TAKE CARE THAT GITLAB SUPPORT SUBGROUPS not only groups >>> >>> >>> reinventing the wehll alway are bad idea, so using the gitlab >>> structure are the best way! >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> >>> 2018-07-19 8:44 GMT-04:00 T Lee Davidson : >>>> So you don't like the Gambas Farm. Do you have a better suggestion for John's query? >>>> >>>> >>>> -- >>>> Lee >>>> >>>> >>>> On 07/19/2018 08:36 AM, PICCORO McKAY Lenz wrote: >>>>> well the gambas farm are too basic and rudimentary, i mean: are a >>>>> great idea but from the point of view of a novice that search for >>>>> something are too basic, tags/words dont reflects the targets programs >>>>> and a only way to access are using the IDE.. >>>>> >>>>> I believe or imagine that the "gambas" farm wanted to be like the >>>>> mozilla extensions repository, but for example I have about 4 versions >>>>> of the farm repair shop exposed as if they were 4 different programs >>>>> when they are the same in different versions... >>>>> >>>>> that are not so bad, the bad are the rudimentary search engine, of >>>>> course we dont develop a "google engine" but are not so usefully, due >>>>> if i not under IDE i dont find nothing,.. >>>>> >>>>> that point compared to php'or visual are very limited, i open any web >>>>> search pagen and sear for "php async mail" and found at leas one way >>>>> to do under lavarel o codeigniter.. in gambas i must waith until >>>>> someone answer my question in mail list >>>>> >>>>> so due that reasons i understand the way taken by John Rose on those >>>>> dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in >>>>> particular situations.. >>>>> >>>>> also i remenber that in nomadays examples comes offline, now if i are >>>>> in a remote place and network are too low, it's a pain >>>>> Lenz McKAY Gerardo (PICCORO) >>>>> http://qgqlochekone.blogspot.com >>>>> >>>>> >>>>> 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >>>>>> I don't know what particular site that may have been. But, there is the Gambas Farm which is accessed within the IDE. >>>>>> >>>>>> -- >>>>>> Lee >>>>>> >>>>>> >>>>>> On 07/18/2018 05:09 PM, John Rose wrote: >>>>>>> I used to put my Gambas developed apps on a particular website. However, I've now lost its URL. Does anyone know the URL of such >>>>>>> a site? >>>>>>> >>>>>>> I have a number of Gambas apps. I've just changed my iRecorder app (which uses the get_iplayer command line program) to operate >>>>>>> better. This app is a GUI to record BBC TV & radio programmes. At the moment I just create a .deb as I use Ubuntu mainly. >>>>>>> >>>>>>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe simulation, Lorenz cyphering, Colossus simulation, Stream >>>>>>> Recording. All my apps are free of charge. If anyone's interested, post to the user list: though I only look at the daily digest. >>>>>>> >>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From jussi.lahtinen at gmail.com Fri Jul 20 23:09:47 2018 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sat, 21 Jul 2018 00:09:47 +0300 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: The problem of you not finding programs from Gambas farm may just be due your challenges with spelling. Jussi On Thursday, July 19, 2018, PICCORO McKAY Lenz wrote: > well the gambas farm are too basic and rudimentary, i mean: are a > great idea but from the point of view of a novice that search for > something are too basic, tags/words dont reflects the targets programs > and a only way to access are using the IDE.. > > I believe or imagine that the "gambas" farm wanted to be like the > mozilla extensions repository, but for example I have about 4 versions > of the farm repair shop exposed as if they were 4 different programs > when they are the same in different versions... > > that are not so bad, the bad are the rudimentary search engine, of > course we dont develop a "google engine" but are not so usefully, due > if i not under IDE i dont find nothing,.. > > that point compared to php'or visual are very limited, i open any web > search pagen and sear for "php async mail" and found at leas one way > to do under lavarel o codeigniter.. in gambas i must waith until > someone answer my question in mail list > > so due that reasons i understand the way taken by John Rose on those > dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in > particular situations.. > > also i remenber that in nomadays examples comes offline, now if i are > in a remote place and network are too low, it's a pain > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > 2018-07-19 7:42 GMT-04:00 T Lee Davidson : > > I don't know what particular site that may have been. But, there is the > Gambas Farm which is accessed within the IDE. > > > > -- > > Lee > > > > > > On 07/18/2018 05:09 PM, John Rose wrote: > >> I used to put my Gambas developed apps on a particular website. > However, I've now lost its URL. Does anyone know the URL of such > >> a site? > >> > >> I have a number of Gambas apps. I've just changed my iRecorder app > (which uses the get_iplayer command line program) to operate > >> better. This app is a GUI to record BBC TV & radio programmes. At the > moment I just create a .deb as I use Ubuntu mainly. > >> > >> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe > simulation, Lorenz cyphering, Colossus simulation, Stream > >> Recording. All my apps are free of charge. If anyone's interested, post > to the user list: though I only look at the daily digest. > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambasml at junkheaven.com Fri Jul 20 22:31:07 2018 From: gambasml at junkheaven.com (Ernest Wilson) Date: Fri, 20 Jul 2018 15:31:07 -0500 Subject: [Gambas-user] DataSource Sort Problem In-Reply-To: <63e8b0e7-8151-626d-bb23-1afbbc0c4452@gmail.com> References: <8f894afc-d7b4-c1fb-ef15-1e928c64c3db@junkheaven.com> <46ef378a-532a-bf74-4d35-f730b1f7ead2@junkheaven.com> <63e8b0e7-8151-626d-bb23-1afbbc0c4452@gmail.com> Message-ID: <6917ce85-ee74-fa40-a950-1aea63b7b08b@junkheaven.com> Thanks, that works.? Any idea why I need to set the sort of the DataSource after mapping the data controls to data fields, instead of setting the sort before? -- Ernest Wilson On 07/20/2018 10:28 AM, T Lee Davidson wrote: > Try setting the DataSource1.Sort field *after* the DataCheckBox1.Field is set (at line 45) instead of at line 30. > > From mckaygerhard at gmail.com Fri Jul 20 23:38:13 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 20 Jul 2018 17:38:13 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: 2018-07-20 17:09 GMT-04:00 Jussi Lahtinen : > The problem of you not finding programs from Gambas farm may just be due > your challenges with spelling. maybe, or maybe the amount of forums have better search engines for peopkle like me or those that no have any knowledge of english > > > Jussi > > > On Thursday, July 19, 2018, PICCORO McKAY Lenz > wrote: >> >> well the gambas farm are too basic and rudimentary, i mean: are a >> great idea but from the point of view of a novice that search for >> something are too basic, tags/words dont reflects the targets programs >> and a only way to access are using the IDE.. >> >> I believe or imagine that the "gambas" farm wanted to be like the >> mozilla extensions repository, but for example I have about 4 versions >> of the farm repair shop exposed as if they were 4 different programs >> when they are the same in different versions... >> >> that are not so bad, the bad are the rudimentary search engine, of >> course we dont develop a "google engine" but are not so usefully, due >> if i not under IDE i dont find nothing,.. >> >> that point compared to php'or visual are very limited, i open any web >> search pagen and sear for "php async mail" and found at leas one way >> to do under lavarel o codeigniter.. in gambas i must waith until >> someone answer my question in mail list >> >> so due that reasons i understand the way taken by John Rose on those >> dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in >> particular situations.. >> >> also i remenber that in nomadays examples comes offline, now if i are >> in a remote place and network are too low, it's a pain >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >> > I don't know what particular site that may have been. But, there is the >> > Gambas Farm which is accessed within the IDE. >> > >> > -- >> > Lee >> > >> > >> > On 07/18/2018 05:09 PM, John Rose wrote: >> >> I used to put my Gambas developed apps on a particular website. >> >> However, I've now lost its URL. Does anyone know the URL of such >> >> a site? >> >> >> >> I have a number of Gambas apps. I've just changed my iRecorder app >> >> (which uses the get_iplayer command line program) to operate >> >> better. This app is a GUI to record BBC TV & radio programmes. At the >> >> moment I just create a .deb as I use Ubuntu mainly. >> >> >> >> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe >> >> simulation, Lorenz cyphering, Colossus simulation, Stream >> >> Recording. All my apps are free of charge. If anyone's interested, post >> >> to the user list: though I only look at the daily digest. >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> >> ]---- >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From patrik at trixon.se Sat Jul 21 11:25:18 2018 From: patrik at trixon.se (=?UTF-8?Q?Patrik_Karlstr=C3=B6m?=) Date: Sat, 21 Jul 2018 11:25:18 +0200 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: Could it be http://gambasshowcase.org you are thinking of? It's off line now but the wayback machine takes you there. https://web.archive.org/web/20160322073103/http://gambasshowcase.org/index.php?page=start /Patrik Den ons 18 juli 2018 kl 23:11 skrev John Rose : > I used to put my Gambas developed apps on a particular website. However, > I've now lost its URL. Does anyone know the URL of such a site? > > I have a number of Gambas apps. I've just changed my iRecorder app > (which uses the get_iplayer command line program) to operate better. > This app is a GUI to record BBC TV & radio programmes. At the moment I > just create a .deb as I use Ubuntu mainly. > > I have a number of other Gambas apps e.g. Enigma cyphering, Bombe > simulation, Lorenz cyphering, Colossus simulation, Stream Recording. All > my apps are free of charge. If anyone's interested, post to the user > list: though I only look at the daily digest. > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Sat Jul 21 12:26:13 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sat, 21 Jul 2018 12:26:13 +0200 Subject: [Gambas-user] Apps In-Reply-To: References: Message-ID: <3d7ebcad-c46e-bc36-be31-5366a6902763@osnanet.de> Piccoro, As far as I understand, the Gambas Farm such as the rest of the project is open source. So you are invited to improve it. For someone with your programming abilities it should be a matter of a relaxed afternoon to contribute a better kind of search ;) Regards Rolf Am 20.07.2018 um 23:38 schrieb PICCORO McKAY Lenz: > 2018-07-20 17:09 GMT-04:00 Jussi Lahtinen : >> The problem of you not finding programs from Gambas farm may just be due >> your challenges with spelling. > maybe, or maybe the amount of forums have better search engines for > peopkle like me or those that no have any knowledge of english > >> >> Jussi >> >> >> On Thursday, July 19, 2018, PICCORO McKAY Lenz >> wrote: >>> well the gambas farm are too basic and rudimentary, i mean: are a >>> great idea but from the point of view of a novice that search for >>> something are too basic, tags/words dont reflects the targets programs >>> and a only way to access are using the IDE.. >>> >>> I believe or imagine that the "gambas" farm wanted to be like the >>> mozilla extensions repository, but for example I have about 4 versions >>> of the farm repair shop exposed as if they were 4 different programs >>> when they are the same in different versions... >>> >>> that are not so bad, the bad are the rudimentary search engine, of >>> course we dont develop a "google engine" but are not so usefully, due >>> if i not under IDE i dont find nothing,.. >>> >>> that point compared to php'or visual are very limited, i open any web >>> search pagen and sear for "php async mail" and found at leas one way >>> to do under lavarel o codeigniter.. in gambas i must waith until >>> someone answer my question in mail list >>> >>> so due that reasons i understand the way taken by John Rose on those >>> dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in >>> particular situations.. >>> >>> also i remenber that in nomadays examples comes offline, now if i are >>> in a remote place and network are too low, it's a pain >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> >>> 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >>>> I don't know what particular site that may have been. But, there is the >>>> Gambas Farm which is accessed within the IDE. >>>> >>>> -- >>>> Lee >>>> >>>> >>>> On 07/18/2018 05:09 PM, John Rose wrote: >>>>> I used to put my Gambas developed apps on a particular website. >>>>> However, I've now lost its URL. Does anyone know the URL of such >>>>> a site? >>>>> >>>>> I have a number of Gambas apps. I've just changed my iRecorder app >>>>> (which uses the get_iplayer command line program) to operate >>>>> better. This app is a GUI to record BBC TV & radio programmes. At the >>>>> moment I just create a .deb as I use Ubuntu mainly. >>>>> >>>>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe >>>>> simulation, Lorenz cyphering, Colossus simulation, Stream >>>>> Recording. All my apps are free of charge. If anyone's interested, post >>>>> to the user list: though I only look at the daily digest. >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > From bagonergi at gmail.com Sat Jul 21 13:21:07 2018 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 21 Jul 2018 13:21:07 +0200 Subject: [Gambas-user] Apps In-Reply-To: <3d7ebcad-c46e-bc36-be31-5366a6902763@osnanet.de> References: <3d7ebcad-c46e-bc36-be31-5366a6902763@osnanet.de> Message-ID: I.M.H.O., it is not the fault of the knowledge of English or the search engine. If I set a filter to ask which programs use a given component, it is normal for the engine to search for programs with that component activated. It is not the engine's fault if the program does not actually use the component. The publisher is the culprit. Regards Gianluigi 2018-07-21 12:26 GMT+02:00 Rolf-Werner Eilert : > Piccoro, > > As far as I understand, the Gambas Farm such as the rest of the project is > open source. So you are invited to improve it. For someone with your > programming abilities it should be a matter of a relaxed afternoon to > contribute a better kind of search ;) > > Regards > > Rolf > > > Am 20.07.2018 um 23:38 schrieb PICCORO McKAY Lenz: > >> 2018-07-20 17:09 GMT-04:00 Jussi Lahtinen : >> >>> The problem of you not finding programs from Gambas farm may just be due >>> your challenges with spelling. >>> >> maybe, or maybe the amount of forums have better search engines for >> peopkle like me or those that no have any knowledge of english >> >> >>> Jussi >>> >>> >>> On Thursday, July 19, 2018, PICCORO McKAY Lenz >>> wrote: >>> >>>> well the gambas farm are too basic and rudimentary, i mean: are a >>>> great idea but from the point of view of a novice that search for >>>> something are too basic, tags/words dont reflects the targets programs >>>> and a only way to access are using the IDE.. >>>> >>>> I believe or imagine that the "gambas" farm wanted to be like the >>>> mozilla extensions repository, but for example I have about 4 versions >>>> of the farm repair shop exposed as if they were 4 different programs >>>> when they are the same in different versions... >>>> >>>> that are not so bad, the bad are the rudimentary search engine, of >>>> course we dont develop a "google engine" but are not so usefully, due >>>> if i not under IDE i dont find nothing,.. >>>> >>>> that point compared to php'or visual are very limited, i open any web >>>> search pagen and sear for "php async mail" and found at leas one way >>>> to do under lavarel o codeigniter.. in gambas i must waith until >>>> someone answer my question in mail list >>>> >>>> so due that reasons i understand the way taken by John Rose on those >>>> dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in >>>> particular situations.. >>>> >>>> also i remenber that in nomadays examples comes offline, now if i are >>>> in a remote place and network are too low, it's a pain >>>> Lenz McKAY Gerardo (PICCORO) >>>> http://qgqlochekone.blogspot.com >>>> >>>> >>>> 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >>>> >>>>> I don't know what particular site that may have been. But, there is the >>>>> Gambas Farm which is accessed within the IDE. >>>>> >>>>> -- >>>>> Lee >>>>> >>>>> >>>>> On 07/18/2018 05:09 PM, John Rose wrote: >>>>> >>>>>> I used to put my Gambas developed apps on a particular website. >>>>>> However, I've now lost its URL. Does anyone know the URL of such >>>>>> a site? >>>>>> >>>>>> I have a number of Gambas apps. I've just changed my iRecorder app >>>>>> (which uses the get_iplayer command line program) to operate >>>>>> better. This app is a GUI to record BBC TV & radio programmes. At the >>>>>> moment I just create a .deb as I use Ubuntu mainly. >>>>>> >>>>>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe >>>>>> simulation, Lorenz cyphering, Colossus simulation, Stream >>>>>> Recording. All my apps are free of charge. If anyone's interested, >>>>>> post >>>>>> to the user list: though I only look at the daily digest. >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Sat Jul 21 14:27:38 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 21 Jul 2018 14:27:38 +0200 Subject: [Gambas-user] GitLab.com maintenance Message-ID: <753b9d58-9c30-bfd6-d56a-2d0aafd14fb8@gmail.com> Hi, Beware that GitLab is migrating to the Google Cloud Platform, and will be unavailable from 13:00 UTC (in half an hour) until... it returns. Regards, -- Beno?t Minisini From g4mba5 at gmail.com Sat Jul 21 16:51:24 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 21 Jul 2018 16:51:24 +0200 Subject: [Gambas-user] DataSource Sort Problem In-Reply-To: References: Message-ID: Le 19/07/2018 ? 16:00, Ernest Wilson a ?crit?: > Hello, > > I'm using Gambas 3.11.2 and have an error with the Sort property of the > DataSource. > > The DataSource on my Form connects to an SQLite Table consisting of > fields "ProcessID" and "ProcessTitle". The records are displayed in a > DataBrowser which functions properly. > > I would like to have records displayed in order by the "ProcessTitle" > field, so I have used the following code to initialize the DataSource > when opening the Form: > > ? With DataSource1 > ??? .Connection = Connection5 > ??? .Table = "Processes" > ??? .Sort = "ProcessTitle" > ? End With > > The sort works properly when records are displayed, however, an error > dialog displaying the message "Invalid value" is presented before the > form opens. Clicking the OK response to the error dialog allows the > window to open and everything functions normally. > > If I comment out the line with .Sort = "ProcessTitle", the error does > not occur, but of course, there is no sort. > > Any ideas about how to fix this, will be much appreciated. > It's fixed in commit https://gitlab.com/gambas/gambas/commit/a36359b1900114fb4cc671da136f6fd3ed8796c7. Regards, -- Beno?t Minisini From claude.dessere at orange.fr Sun Jul 22 21:15:45 2018 From: claude.dessere at orange.fr (CD) Date: Sun, 22 Jul 2018 21:15:45 +0200 Subject: [Gambas-user] Shell or DesktopFile.RunExec() Message-ID: <8e29b699d7d655f8ccd849d1f28dd9dbbf7dddc9.camel@orange.fr> Hello, I need to run a program from another program. I first used "Shell": sArgs = Shell$(sArgument1) & " " & Shell$(sArgument2) hdlProcess = Shell "MyProg " & sArgs everything is working properly and I find in the MyProg code, Args.Count = 3: Args[0] is equal to Application.Name Args[1] is equal to sArgument1 Args[2] is equal to sArgument2 If I'm using DesktopFile.RunExec() : sArgs = Shell $ (sArgument1) & "" & Shell $ (sArgument2) hdlProcess = DesktopFile.RunExec ("MyProg", sArgs) there a difference Args.Count = 2 Args[0] is equal to Application.Name Args[1] is equal to sArgument1 & "" & sArgument2 Which command should I prefer? Shell or DesktopFile.RunExec () Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From claude.dessere at orange.fr Sun Jul 22 21:17:17 2018 From: claude.dessere at orange.fr (CD) Date: Sun, 22 Jul 2018 21:17:17 +0200 Subject: [Gambas-user] Shell or DesktopFile.RunExec() Message-ID: Hello, I need to run a program from another program. I first used "Shell": sArgs = Shell$(sArgument1) & " " & Shell$(sArgument2) hdlProcess = Shell "MyProg " & sArgs everything is working properly and I find in the MyProg code, Args.Count = 3: Args[0] is equal to Application.Name Args[1] is equal to sArgument1 Args[2] is equal to sArgument2 If I'm using DesktopFile.RunExec() : sArgs = Shell $ (sArgument1) & "" & Shell $ (sArgument2) hdlProcess = DesktopFile.RunExec ("MyProg", sArgs) there a difference Args.Count = 2 Args[0] is equal to Application.Name Args[1] is equal to sArgument1 & "" & sArgument2 Which command should I prefer? Shell or DesktopFile.RunExec () Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Mon Jul 23 14:55:56 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 23 Jul 2018 08:55:56 -0400 Subject: [Gambas-user] Shell or DesktopFile.RunExec() In-Reply-To: References: Message-ID: well i guess desktoip file its to support the desktop entry's so it's normal that args[1] will be the command that the desktop file wil have in the "exec" line and no more while in shell each args are well defined... if not it's a bug in desktop file.. but i guess not! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-22 15:17 GMT-04:00 CD : > Hello, > I need to run a program from another program. > I first used "Shell": > > sArgs = Shell$(sArgument1) & " " & Shell$(sArgument2) > hdlProcess = Shell "MyProg " & sArgs > > everything is working properly and I find in the MyProg code, > Args.Count = 3: > Args[0] is equal to Application.Name > Args[1] is equal to sArgument1 > Args[2] is equal to sArgument2 > > If I'm using DesktopFile.RunExec() : > sArgs = Shell $ (sArgument1) & "" & Shell $ (sArgument2) > hdlProcess = DesktopFile.RunExec ("MyProg", sArgs) > there a difference > Args.Count = 2 > Args[0] is equal to Application.Name > Args[1] is equal to sArgument1 & "" & sArgument2 > > Which command should I prefer? > Shell or DesktopFile.RunExec () > > Regards > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Mon Jul 23 15:06:21 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 23 Jul 2018 09:06:21 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: <3d7ebcad-c46e-bc36-be31-5366a6902763@osnanet.de> Message-ID: in any cae use a gitlab sub.group its best solution event reinventing the whell... Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-21 7:21 GMT-04:00 Gianluigi : > I.M.H.O., it is not the fault of the knowledge of English or the search > engine. > If I set a filter to ask which programs use a given component, it is normal > for the engine to search for programs with that component activated. > It is not the engine's fault if the program does not actually use the > component. > The publisher is the culprit. > > Regards > Gianluigi > > > 2018-07-21 12:26 GMT+02:00 Rolf-Werner Eilert : >> >> Piccoro, >> >> As far as I understand, the Gambas Farm such as the rest of the project is >> open source. So you are invited to improve it. For someone with your >> programming abilities it should be a matter of a relaxed afternoon to >> contribute a better kind of search ;) >> >> Regards >> >> Rolf >> >> >> Am 20.07.2018 um 23:38 schrieb PICCORO McKAY Lenz: >>> >>> 2018-07-20 17:09 GMT-04:00 Jussi Lahtinen : >>>> >>>> The problem of you not finding programs from Gambas farm may just be due >>>> your challenges with spelling. >>> >>> maybe, or maybe the amount of forums have better search engines for >>> peopkle like me or those that no have any knowledge of english >>> >>>> >>>> Jussi >>>> >>>> >>>> On Thursday, July 19, 2018, PICCORO McKAY Lenz >>>> wrote: >>>>> >>>>> well the gambas farm are too basic and rudimentary, i mean: are a >>>>> great idea but from the point of view of a novice that search for >>>>> something are too basic, tags/words dont reflects the targets programs >>>>> and a only way to access are using the IDE.. >>>>> >>>>> I believe or imagine that the "gambas" farm wanted to be like the >>>>> mozilla extensions repository, but for example I have about 4 versions >>>>> of the farm repair shop exposed as if they were 4 different programs >>>>> when they are the same in different versions... >>>>> >>>>> that are not so bad, the bad are the rudimentary search engine, of >>>>> course we dont develop a "google engine" but are not so usefully, due >>>>> if i not under IDE i dont find nothing,.. >>>>> >>>>> that point compared to php'or visual are very limited, i open any web >>>>> search pagen and sear for "php async mail" and found at leas one way >>>>> to do under lavarel o codeigniter.. in gambas i must waith until >>>>> someone answer my question in mail list >>>>> >>>>> so due that reasons i understand the way taken by John Rose on those >>>>> dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in >>>>> particular situations.. >>>>> >>>>> also i remenber that in nomadays examples comes offline, now if i are >>>>> in a remote place and network are too low, it's a pain >>>>> Lenz McKAY Gerardo (PICCORO) >>>>> http://qgqlochekone.blogspot.com >>>>> >>>>> >>>>> 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >>>>>> >>>>>> I don't know what particular site that may have been. But, there is >>>>>> the >>>>>> Gambas Farm which is accessed within the IDE. >>>>>> >>>>>> -- >>>>>> Lee >>>>>> >>>>>> >>>>>> On 07/18/2018 05:09 PM, John Rose wrote: >>>>>>> >>>>>>> I used to put my Gambas developed apps on a particular website. >>>>>>> However, I've now lost its URL. Does anyone know the URL of such >>>>>>> a site? >>>>>>> >>>>>>> I have a number of Gambas apps. I've just changed my iRecorder app >>>>>>> (which uses the get_iplayer command line program) to operate >>>>>>> better. This app is a GUI to record BBC TV & radio programmes. At the >>>>>>> moment I just create a .deb as I use Ubuntu mainly. >>>>>>> >>>>>>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe >>>>>>> simulation, Lorenz cyphering, Colossus simulation, Stream >>>>>>> Recording. All my apps are free of charge. If anyone's interested, >>>>>>> post >>>>>>> to the user list: though I only look at the daily digest. >>>>>>> >>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>> ]---- >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From mckaygerhard at gmail.com Mon Jul 23 15:07:41 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Mon, 23 Jul 2018 09:07:41 -0400 Subject: [Gambas-user] Apps In-Reply-To: References: <3d7ebcad-c46e-bc36-be31-5366a6902763@osnanet.de> Message-ID: 2018-07-21 7:21 GMT-04:00 Gianluigi : > I.M.H.O., it is not the fault of the knowledge of English or the search > engine. > If I set a filter to ask which programs use a given component, it is normal > for the engine to search for programs with that component activated. > It is not the engine's fault if the program does not actually use the > component. > The publisher is the culprit. in gitlab there's a mayor amount of project that not have a README or description.. but engine find due earch into the code i repeat why reinventing the wheel! > > Regards > Gianluigi > > > 2018-07-21 12:26 GMT+02:00 Rolf-Werner Eilert : >> >> Piccoro, >> >> As far as I understand, the Gambas Farm such as the rest of the project is >> open source. So you are invited to improve it. For someone with your >> programming abilities it should be a matter of a relaxed afternoon to >> contribute a better kind of search ;) >> >> Regards >> >> Rolf >> >> >> Am 20.07.2018 um 23:38 schrieb PICCORO McKAY Lenz: >>> >>> 2018-07-20 17:09 GMT-04:00 Jussi Lahtinen : >>>> >>>> The problem of you not finding programs from Gambas farm may just be due >>>> your challenges with spelling. >>> >>> maybe, or maybe the amount of forums have better search engines for >>> peopkle like me or those that no have any knowledge of english >>> >>>> >>>> Jussi >>>> >>>> >>>> On Thursday, July 19, 2018, PICCORO McKAY Lenz >>>> wrote: >>>>> >>>>> well the gambas farm are too basic and rudimentary, i mean: are a >>>>> great idea but from the point of view of a novice that search for >>>>> something are too basic, tags/words dont reflects the targets programs >>>>> and a only way to access are using the IDE.. >>>>> >>>>> I believe or imagine that the "gambas" farm wanted to be like the >>>>> mozilla extensions repository, but for example I have about 4 versions >>>>> of the farm repair shop exposed as if they were 4 different programs >>>>> when they are the same in different versions... >>>>> >>>>> that are not so bad, the bad are the rudimentary search engine, of >>>>> course we dont develop a "google engine" but are not so usefully, due >>>>> if i not under IDE i dont find nothing,.. >>>>> >>>>> that point compared to php'or visual are very limited, i open any web >>>>> search pagen and sear for "php async mail" and found at leas one way >>>>> to do under lavarel o codeigniter.. in gambas i must waith until >>>>> someone answer my question in mail list >>>>> >>>>> so due that reasons i understand the way taken by John Rose on those >>>>> dais, due THEIR PROGRAMS ARE TOO ESPECIFIC and very usefully in >>>>> particular situations.. >>>>> >>>>> also i remenber that in nomadays examples comes offline, now if i are >>>>> in a remote place and network are too low, it's a pain >>>>> Lenz McKAY Gerardo (PICCORO) >>>>> http://qgqlochekone.blogspot.com >>>>> >>>>> >>>>> 2018-07-19 7:42 GMT-04:00 T Lee Davidson : >>>>>> >>>>>> I don't know what particular site that may have been. But, there is >>>>>> the >>>>>> Gambas Farm which is accessed within the IDE. >>>>>> >>>>>> -- >>>>>> Lee >>>>>> >>>>>> >>>>>> On 07/18/2018 05:09 PM, John Rose wrote: >>>>>>> >>>>>>> I used to put my Gambas developed apps on a particular website. >>>>>>> However, I've now lost its URL. Does anyone know the URL of such >>>>>>> a site? >>>>>>> >>>>>>> I have a number of Gambas apps. I've just changed my iRecorder app >>>>>>> (which uses the get_iplayer command line program) to operate >>>>>>> better. This app is a GUI to record BBC TV & radio programmes. At the >>>>>>> moment I just create a .deb as I use Ubuntu mainly. >>>>>>> >>>>>>> I have a number of other Gambas apps e.g. Enigma cyphering, Bombe >>>>>>> simulation, Lorenz cyphering, Colossus simulation, Stream >>>>>>> Recording. All my apps are free of charge. If anyone's interested, >>>>>>> post >>>>>>> to the user list: though I only look at the daily digest. >>>>>>> >>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>> ]---- >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From t.lee.davidson at gmail.com Mon Jul 23 20:19:27 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 23 Jul 2018 14:19:27 -0400 Subject: [Gambas-user] Shell or DesktopFile.RunExec() In-Reply-To: References: Message-ID: The DesktopFile class and, hence, its RunExec static method is, according to the wiki, specifically to provide for launching of ".desktop" files. So, I would say that SHELL should be preferred, or EXEC if you do not need the capabilities of the system shell (http://gambaswiki.org/wiki/doc/shellexec). -- Lee On 07/22/2018 03:17 PM, CD wrote: > Hello, > I need to run a program from another program. > I first used "Shell": > > sArgs = Shell$(sArgument1) & " " & Shell$(sArgument2) > hdlProcess = Shell "MyProg " & sArgs > > everything is working properly and I find in the MyProg code, > Args.Count = 3: > Args[0] is equal to Application.Name > Args[1] is equal to sArgument1 > Args[2] is equal to sArgument2 > > If I'm using DesktopFile.RunExec() : > sArgs = Shell $ (sArgument1) & "" & Shell $ (sArgument2) > hdlProcess = DesktopFile.RunExec ("MyProg", sArgs) > there a difference > Args.Count = 2 > Args[0] is equal to Application.Name > Args[1] is equal to sArgument1 & "" & sArgument2 > > Which command should I prefer? > Shell or DesktopFile.RunExec () > > Regards > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From kicking177 at gmail.com Tue Jul 24 21:05:30 2018 From: kicking177 at gmail.com (KKing) Date: Tue, 24 Jul 2018 20:05:30 +0100 Subject: [Gambas-user] Building XML document examples Message-ID: <4b26f348-d369-ed23-94df-eb257630f334@gmail.com> Can anyone point me to some documentation, examples or tutorials on creating small XML documents with attributes. I found some snippets relating to reading an existing xml, whereas I want to create one and save out to file K. From bm.530502 at gmail.com Tue Jul 24 22:31:32 2018 From: bm.530502 at gmail.com (Ingo) Date: Tue, 24 Jul 2018 22:31:32 +0200 Subject: [Gambas-user] Building XML document examples In-Reply-To: <4b26f348-d369-ed23-94df-eb257630f334@gmail.com> References: <4b26f348-d369-ed23-94df-eb257630f334@gmail.com> Message-ID: Am 24.07.2018 um 21:05 schrieb KKing: > Can anyone point me to some documentation, examples or tutorials on > creating small XML documents with attributes. I found some snippets > relating to reading an existing xml, whereas I want to create one and > save out to file > > K. > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- Hi King, take a look at the english version of the german Gambas-Buch - https://gambas-buch.de/dwen/doku.php?id=k27:start. Maybe that helps. Greatings Ingo From bm.530502 at gmail.com Tue Jul 24 22:39:10 2018 From: bm.530502 at gmail.com (Ingo) Date: Tue, 24 Jul 2018 22:39:10 +0200 Subject: [Gambas-user] Strange behavior in project-properties Message-ID: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> Hello together, today I found a strange thing within the project-properties under the used components. All components are selected and I can not deselect them. What happens ? Regards Ingo [System] Gambas=3.11.2 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86 Distribution=Linux Mint 17.3 Rosa Desktop=MATE Theme=Windows Language=de_DE.UTF-8 Memory=3926M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-unydv8G9ie,guid=525c2c67dad71e48b6a087185b5789dd DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GNOME_KEYRING_CONTROL=/run/user/1000/keyring-GQlDUx GNOME_KEYRING_PID=2127 GPG_AGENT_INFO=/run/user/1000/keyring-GQlDUx/gpg:0:1 GTK_OVERLAY_SCROLLING=0 HOME= LANG=de_DE.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=de_DE.UTF-8 MDM_XSERVER_LOCATION=local PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/2203,unix/:/tmp/.ICE-unix/2203 SHELL=/bin/bash SSH_AGENT_PID=2331 SSH_AUTH_SOCK=/run/user/1000/keyring-GQlDUx/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=aa274b7a671aedab5cc0b16f58c417e5-1532463580.460660-62957671 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=8 -------------- next part -------------- A non-text attachment was scrubbed... Name: projekteigenschaften_m.png Type: image/png Size: 101151 bytes Desc: not available URL: From taboege at gmail.com Tue Jul 24 22:48:58 2018 From: taboege at gmail.com (Tobias Boege) Date: Tue, 24 Jul 2018 22:48:58 +0200 Subject: [Gambas-user] Strange behavior in project-properties In-Reply-To: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> References: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> Message-ID: <20180724204858.GH19415@highrise.localdomain> On Tue, 24 Jul 2018, Ingo wrote: > Hello together, > > today I found a strange thing within the project-properties under the used > components. > All components are selected and I can not deselect them. > > What happens ? > I remember this issue. I think I reported it a long while ago [1], then it was fixed for some time but then reappeared. That is to say, yes, I'm having the same problem for quite a while too. The widget should actually be fully functional: you can select and deselect components, but you don't get /visual/ feedback. Regards, Tobi [1] https://lists.gambas-basic.org/pipermail/user/2015-June/053101.html -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From g4mba5 at gmail.com Tue Jul 24 23:50:07 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 24 Jul 2018 23:50:07 +0200 Subject: [Gambas-user] Strange behavior in project-properties In-Reply-To: <20180724204858.GH19415@highrise.localdomain> References: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> <20180724204858.GH19415@highrise.localdomain> Message-ID: <5e4eceea-96fe-fda7-1860-be61adbf9243@gmail.com> Le 24/07/2018 ? 22:48, Tobias Boege a ?crit?: > On Tue, 24 Jul 2018, Ingo wrote: >> Hello together, >> >> today I found a strange thing within the project-properties under the used >> components. >> All components are selected and I can not deselect them. >> >> What happens ? >> > > I remember this issue. I think I reported it a long while ago [1], > then it was fixed for some time but then reappeared. That is to say, > yes, I'm having the same problem for quite a while too. The widget > should actually be fully functional: you can select and deselect > components, but you don't get /visual/ feedback. > > Regards, > Tobi > > [1] https://lists.gambas-basic.org/pipermail/user/2015-June/053101.html > It's a problem with the widget theme. -- Beno?t Minisini From mckaygerhard at gmail.com Wed Jul 25 14:15:59 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Wed, 25 Jul 2018 08:15:59 -0400 Subject: [Gambas-user] Strange behavior in project-properties In-Reply-To: <5e4eceea-96fe-fda7-1860-be61adbf9243@gmail.com> References: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> <20180724204858.GH19415@highrise.localdomain> <5e4eceea-96fe-fda7-1860-be61adbf9243@gmail.com> Message-ID: the qt4 theme must be defined, a gtk component qt integration must be installed, cairo, bonobo, pango and gtk packages must be present and installed not only qt4, also the qt4 theme must be defined seems this only happened if you are under a gtk2 desktop with qt4 installed in used by the IDE if the ide uses qt5 seems does not happened Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-24 17:50 GMT-04:00 Beno?t Minisini : > Le 24/07/2018 ? 22:48, Tobias Boege a ?crit : >> >> On Tue, 24 Jul 2018, Ingo wrote: >>> >>> Hello together, >>> >>> today I found a strange thing within the project-properties under the >>> used >>> components. >>> All components are selected and I can not deselect them. >>> >>> What happens ? >>> >> >> I remember this issue. I think I reported it a long while ago [1], >> then it was fixed for some time but then reappeared. That is to say, >> yes, I'm having the same problem for quite a while too. The widget >> should actually be fully functional: you can select and deselect >> components, but you don't get /visual/ feedback. >> >> Regards, >> Tobi >> >> [1] https://lists.gambas-basic.org/pipermail/user/2015-June/053101.html >> > > It's a problem with the widget theme. > > -- > Beno?t Minisini > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From taboege at gmail.com Wed Jul 25 15:13:20 2018 From: taboege at gmail.com (Tobias Boege) Date: Wed, 25 Jul 2018 15:13:20 +0200 Subject: [Gambas-user] Strange behavior in project-properties In-Reply-To: References: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> <20180724204858.GH19415@highrise.localdomain> <5e4eceea-96fe-fda7-1860-be61adbf9243@gmail.com> Message-ID: <20180725131320.GI19415@highrise.localdomain> On Wed, 25 Jul 2018, PICCORO McKAY Lenz wrote: > the qt4 theme must be defined, a gtk component qt integration must be > installed, cairo, bonobo, pango and gtk packages must be present and > installed not only qt4, also the qt4 theme must be defined > > seems this only happened if you are under a gtk2 desktop with qt4 > installed in used by the IDE > > if the ide uses qt5 seems does not happened I can confirm this, at least the last sentence. My desktop is not based on GTK2 and I'm willing to bet that it's very different from Ingo's, but I have GTK{2,3} and QT{3,4,5} installed. Anyway, indeed I remember the IDE started in QT5 by default for some time. Maybe that was when I registered the issue as fixed, and later it switched back to default to QT4 on my system for some reason. If the cure would be to meddle with themes and the fragile GTK integration on my desktop, I'd rather it stays only mildly inconvenient as it is :-) Thanks for the hint! Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at gmail.com Wed Jul 25 15:37:18 2018 From: taboege at gmail.com (Tobias Boege) Date: Wed, 25 Jul 2018 15:37:18 +0200 Subject: [Gambas-user] Strange behavior in project-properties In-Reply-To: <5e4eceea-96fe-fda7-1860-be61adbf9243@gmail.com> References: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> <20180724204858.GH19415@highrise.localdomain> <5e4eceea-96fe-fda7-1860-be61adbf9243@gmail.com> Message-ID: <20180725133718.GJ19415@highrise.localdomain> On Tue, 24 Jul 2018, Beno?t Minisini wrote: > Le 24/07/2018 ? 22:48, Tobias Boege a ?crit?: > > On Tue, 24 Jul 2018, Ingo wrote: > > > Hello together, > > > > > > today I found a strange thing within the project-properties under the used > > > components. > > > All components are selected and I can not deselect them. > > > > > > What happens ? > > > > > > > I remember this issue. I think I reported it a long while ago [1], > > then it was fixed for some time but then reappeared. That is to say, > > yes, I'm having the same problem for quite a while too. The widget > > should actually be fully functional: you can select and deselect > > components, but you don't get /visual/ feedback. > > > > Regards, > > Tobi > > > > [1] https://lists.gambas-basic.org/pipermail/user/2015-June/053101.html > > > > It's a problem with the widget theme. > I don't really understand this. I see that there is code commented out in the IDE's FComponentChooser for setting the correct checkbox picture but I can't find who's in charge of updating the pictures now. That would be where my widget theme fails, right? BTW, I plagiarised the component chooser while writing the patch dialogs. Those still use the picture method. Should they be changed, too? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at gmail.com Wed Jul 25 17:17:02 2018 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 25 Jul 2018 17:17:02 +0200 Subject: [Gambas-user] Strange behavior in project-properties In-Reply-To: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> References: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> Message-ID: You can try to install QT Configuration: sudo apt install qt4-qtconfig launch it with: qtconfig Setting in Apparence tab on Cleanlooks and in Fonts > Style: Regular Regards Gianluigi 2018-07-24 22:39 GMT+02:00 Ingo : > Hello together, > > today I found a strange thing within the project-properties under the used > components. > All components are selected and I can not deselect them. > > What happens ? > > Regards > Ingo > > [System] > Gambas=3.11.2 > OperatingSystem=Linux > Kernel=3.19.0-32-generic > Architecture=x86 > Distribution=Linux Mint 17.3 Rosa > Desktop=MATE > Theme=Windows > Language=de_DE.UTF-8 > Memory=3926M > > [Libraries] > Cairo=libcairo.so.2.11400.6 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+2=libgtk-x11-2.0.so.0.2400.23 > GTK+3=libgtk-3.so.0.1000.8 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > QT4=libQtCore.so.4.8.6 > QT5=libQt5Core.so.5.2.1 > SDL=libSDL-1.2.so.0.11.4 > SQLite=libsqlite3.so.0.8.6 > > [Environment] > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-unydv8G9ie, > guid=525c2c67dad71e48b6a087185b5789dd > DEFAULTS_PATH=/usr/share/gconf/mate.default.path > DESKTOP_SESSION=mate > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GDMSESSION=mate > GDM_XSERVER_LOCATION=local > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-GQlDUx > GNOME_KEYRING_PID=2127 > GPG_AGENT_INFO=/run/user/1000/keyring-GQlDUx/gpg:0:1 > GTK_OVERLAY_SCROLLING=0 > HOME= > LANG=de_DE.UTF-8 > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path > MATE_DESKTOP_SESSION_ID=this-is-deprecated > MDMSESSION=mate > MDM_LANG=de_DE.UTF-8 > MDM_XSERVER_LOCATION=local > PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/ > usr/bin:/sbin:/bin:/usr/games:/usr/local/games > PWD= > SESSION_MANAGER=local/:@/tmp/.ICE-unix/2203,unix/< > hostname>:/tmp/.ICE-unix/2203 > SHELL=/bin/bash > SSH_AGENT_PID=2331 > SSH_AUTH_SOCK=/run/user/1000/keyring-GQlDUx/ssh > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > USER= > USERNAME= > WINDOWPATH=8 > XAUTHORITY=/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg > XDG_CURRENT_DESKTOP=MATE > XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/: > /usr/share/mdm/ > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SESSION_COOKIE=aa274b7a671aedab5cc0b16f58c417e5- > 1532463580.460660-62957671 > XDG_SESSION_DESKTOP=mate > XDG_SESSION_ID=c1 > XDG_VTNR=8 > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bm.530502 at gmail.com Wed Jul 25 20:11:50 2018 From: bm.530502 at gmail.com (Ingo) Date: Wed, 25 Jul 2018 20:11:50 +0200 Subject: [Gambas-user] Strange behavior in project-properties In-Reply-To: References: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> Message-ID: <1ebb2d6b-8559-30d3-5e4d-8e2e631290da@gmail.com> Am 25.07.2018 um 17:17 schrieb Gianluigi: > You can try to install QT Configuration: > sudo apt install qt4-qtconfig > launch it with: > qtconfig > Setting in Apparence tab on Cleanlooks and in Fonts > Style: Regular > > Regards > Gianluigi > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- Thanks all for your support. The Qt-Configuration is one of first the tools which will be installed on a new computer ;-) because to prevent the GTK-Errors in the gambas-console. With the settings recommended by Gianluigi everything works as expected. Thank you again. Ingo -------------- next part -------------- An HTML attachment was scrubbed... URL: From pinozollo at gmail.com Thu Jul 26 16:22:14 2018 From: pinozollo at gmail.com (Pino Zollo) Date: Thu, 26 Jul 2018 10:22:14 -0400 Subject: [Gambas-user] Posgresql 10 on Mint 19 Message-ID: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> I have installed all dev packages of posgresql 10 on my new Mint 19 but way to get it from ./configure -C . What do I miss ? Help please ! Pino From olivier.cruilles at yahoo.fr Thu Jul 26 17:46:04 2018 From: olivier.cruilles at yahoo.fr (Yahoo) Date: Thu, 26 Jul 2018 11:46:04 -0400 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> Message-ID: Hello, Could you provide us the log file of your compilation and your system informations to be able to help you please ? Olivier Cruilles Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com) a ?crit: I have installed all dev packages of posgresql 10 on my new Mint 19 but way to get it from ./configure -C . What do I miss ? Help please ! Pino ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Thu Jul 26 19:35:06 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 26 Jul 2018 13:35:06 -0400 Subject: [Gambas-user] Strange behavior in project-properties In-Reply-To: <1ebb2d6b-8559-30d3-5e4d-8e2e631290da@gmail.com> References: <9d011c0f-9bfe-9acf-a40b-2ffa254faf62@gmail.com> <1ebb2d6b-8559-30d3-5e4d-8e2e631290da@gmail.com> Message-ID: can be made without qt4-config by editing the trolltech configuration file, but that qt4-config does nothing if the bonobo, gtk, cairo and pixbuf package are not complety installed Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-25 14:11 GMT-04:00 Ingo : > Am 25.07.2018 um 17:17 schrieb Gianluigi: > > You can try to install QT Configuration: > sudo apt install qt4-qtconfig > launch it with: > qtconfig > Setting in Apparence tab on Cleanlooks and in Fonts > Style: Regular > > Regards > Gianluigi > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > Thanks all for your support. > The Qt-Configuration is one of first the tools which will be installed on > a new computer ;-) because to prevent the GTK-Errors in the gambas-console. > > With the settings recommended by Gianluigi everything works as expected. > > Thank you again. > Ingo > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pinozollo at gmail.com Thu Jul 26 21:36:28 2018 From: pinozollo at gmail.com (Pino Zollo) Date: Thu, 26 Jul 2018 15:36:28 -0400 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> Message-ID: <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> pino at Mint19:~/src/gambas-3.11.3$ ./configure -C | grep postgresql* configure: WARNING: This library may be located inside the system C library configure: WARNING: This library may be located inside the system C library === configuring in gb.db.postgresql (/home/pino/src/gambas-3.11.3/gb.db.postgresql) checking for gb.db.postgresql headers... (cached) no checking for gb.db.postgresql libraries... (cached) /usr/lib/x86_64-linux-gnu/ configure: WARNING: gb.db.postgresql is disabled || gb.db.postgresql is disabled The installed postgresql packages are: postgresql-10:amd64 postgresql-10-debversion:amd64 postgresql:all postgresql-all:all postgresql-client-10:amd64 postgresql-client:all postgresql-client-common:all postgresql-common:all postgresql-plperl-10:amd64 postgresql-plpython-10:amd64 postgresql-plpython3-10:amd64 postgresql-pltcl-10:amd64 postgresql-server-dev-10:amd64 postgresql-server-dev-all:all El 26/07/18 a las 11:46, Yahoo escribi?: > Hello, > > Could you provide us the log file of your compilation and your system > informations to be able to help you please ? > > > Olivier Cruilles > > Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com > ) a ?crit: > >> I have installed all dev packages of posgresql 10 on my new Mint 19 but >> >> way to get it from ./configure -C . >> >> What do I miss ? >> >> Help please ! >> >> Pino >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From kicking177 at gmail.com Thu Jul 26 22:07:11 2018 From: kicking177 at gmail.com (KKing) Date: Thu, 26 Jul 2018 21:07:11 +0100 Subject: [Gambas-user] Building XML document examples Message-ID: <1573a505-8e38-7225-9377-b70165a61d21@gmail.com> << take a look at the english version of the german Gambas-Buch - https://gambas-buch.de/dwen/doku.php?id=k27:start. >> Yes that helped. I hope it's trivial but following the examples I would like the content to be like: ??? ??? ??? Arno ??? ??? Adler BUT it is being saved like: ??? ??? ??? ??? ??? Arno ??? ??? ??? ??? ??? ??? Adler ??? ??? ?- - - - - - From olivier.cruilles at yahoo.fr Thu Jul 26 22:08:51 2018 From: olivier.cruilles at yahoo.fr (Yahoo) Date: Thu, 26 Jul 2018 16:08:51 -0400 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> Message-ID: As I can see on Gambas Web Site, the module gb.db.postgresql need?libpq.so library to be compiled: http://gambaswiki.org/wiki/install On Linux Mint 19: libpq-dev/bionic-updates,now 10.4-0ubuntu0.18.04 i386 ?[install?] ? header files for libpq5 (PostgreSQL library) Try: apt install libpq-dev After that, try to recompile Gambas sources. Olivier Cruilles Le July 26, 2018 ? 15:36:32, Pino Zollo (pinozollo at gmail.com) a ?crit: pino at Mint19:~/src/gambas-3.11.3$ ./configure -C | grep postgresql* configure: WARNING: This library may be located inside the system C library configure: WARNING: This library may be located inside the system C library === configuring in gb.db.postgresql (/home/pino/src/gambas-3.11.3/gb.db.postgresql) checking for gb.db.postgresql headers... (cached) no checking for gb.db.postgresql libraries... (cached) /usr/lib/x86_64-linux-gnu/ configure: WARNING: gb.db.postgresql is disabled || gb.db.postgresql is disabled The installed postgresql packages are: postgresql-10:amd64 postgresql-10-debversion:amd64 postgresql:all postgresql-all:all postgresql-client-10:amd64 postgresql-client:all postgresql-client-common:all postgresql-common:all postgresql-plperl-10:amd64 postgresql-plpython-10:amd64 postgresql-plpython3-10:amd64 postgresql-pltcl-10:amd64 postgresql-server-dev-10:amd64 postgresql-server-dev-all:all El 26/07/18 a las 11:46, Yahoo escribi?: Hello, Could you provide us the log file of your compilation and your system informations to be able to help you please ? Olivier Cruilles Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com) a ?crit: I have installed all dev packages of posgresql 10 on my new Mint 19 but way to get it from ./configure -C . What do I miss ? Help please ! Pino ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From pinozollo at gmail.com Thu Jul 26 22:19:19 2018 From: pinozollo at gmail.com (Pino Zollo) Date: Thu, 26 Jul 2018 16:19:19 -0400 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> Message-ID: <5b4e296c-8d12-9528-6450-2888ee00d688@gmail.com> Olivier, libpq-dev and libpq5 were already installed... I did not compile yet... I just do ./configure -C which returns with WARNING: gb.db.postgresql is disabled .... I just need postgresql for my? projects :-( salud Pino El 26/07/18 a las 16:08, Yahoo escribi?: > As I can see on Gambas Web Site, the module gb.db.postgresql > need?libpq.so library to be compiled: > > http://gambaswiki.org/wiki/install > > > On Linux Mint 19: > > libpq-dev/bionic-updates,now 10.4-0ubuntu0.18.04 i386 ?[install?] > ? header files for libpq5 (PostgreSQL library) > > > Try: apt install libpq-dev > > After that, try to recompile Gambas sources. > > Olivier Cruilles > > Le July 26, 2018 ? 15:36:32, Pino Zollo (pinozollo at gmail.com > ) a ?crit: > >> pino at Mint19:~/src/gambas-3.11.3$ ./configure -C | grep postgresql* >> configure: WARNING: This library may be located inside the system C >> library >> configure: WARNING: This library may be located inside the system C >> library >> === configuring in gb.db.postgresql >> (/home/pino/src/gambas-3.11.3/gb.db.postgresql) >> checking for gb.db.postgresql headers... (cached) no >> checking for gb.db.postgresql libraries... (cached) >> /usr/lib/x86_64-linux-gnu/ >> configure: WARNING: gb.db.postgresql is disabled >> || gb.db.postgresql is disabled >> >> >> The installed postgresql packages are: >> >> postgresql-10:amd64 >> postgresql-10-debversion:amd64 >> postgresql:all >> postgresql-all:all >> postgresql-client-10:amd64 >> postgresql-client:all >> postgresql-client-common:all >> postgresql-common:all >> postgresql-plperl-10:amd64 >> postgresql-plpython-10:amd64 >> postgresql-plpython3-10:amd64 >> postgresql-pltcl-10:amd64 >> postgresql-server-dev-10:amd64 >> postgresql-server-dev-all:all >> >> >> El 26/07/18 a las 11:46, Yahoo escribi?: >>> Hello, >>> >>> Could you provide us the log file of your compilation and your >>> system informations to be able to help you please ? >>> >>> >>> Olivier Cruilles >>> >>> Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com >>> ) a ?crit: >>> >>>> I have installed all dev packages of posgresql 10 on my new Mint 19 but >>>> >>>> way to get it from ./configure -C . >>>> >>>> What do I miss ? >>>> >>>> Help please ! >>>> >>>> Pino >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From olivier.cruilles at yahoo.fr Thu Jul 26 22:33:11 2018 From: olivier.cruilles at yahoo.fr (Yahoo) Date: Thu, 26 Jul 2018 16:33:11 -0400 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: <5b4e296c-8d12-9528-6450-2888ee00d688@gmail.com> References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> <5b4e296c-8d12-9528-6450-2888ee00d688@gmail.com> Message-ID: The procedure to compile Gambas from Sources is like that: ./reconf-all ./configure -C make sudo make install Didi you do all these steps, overall the first one ? Olivier Cruilles Le July 26, 2018 ? 16:19:24, Pino Zollo (pinozollo at gmail.com) a ?crit: Olivier, libpq-dev and libpq5 were already installed... I did not compile yet... I just do ./configure -C which returns with WARNING: gb.db.postgresql is disabled .... I just need postgresql for my? projects :-( salud Pino El 26/07/18 a las 16:08, Yahoo escribi?: As I can see on Gambas Web Site, the module gb.db.postgresql need?libpq.so library to be compiled: http://gambaswiki.org/wiki/install On Linux Mint 19: libpq-dev/bionic-updates,now 10.4-0ubuntu0.18.04 i386 ?[install?] ? header files for libpq5 (PostgreSQL library) Try: apt install libpq-dev After that, try to recompile Gambas sources. Olivier Cruilles Le July 26, 2018 ? 15:36:32, Pino Zollo (pinozollo at gmail.com) a ?crit: pino at Mint19:~/src/gambas-3.11.3$ ./configure -C | grep postgresql* configure: WARNING: This library may be located inside the system C library configure: WARNING: This library may be located inside the system C library === configuring in gb.db.postgresql (/home/pino/src/gambas-3.11.3/gb.db.postgresql) checking for gb.db.postgresql headers... (cached) no checking for gb.db.postgresql libraries... (cached) /usr/lib/x86_64-linux-gnu/ configure: WARNING: gb.db.postgresql is disabled || gb.db.postgresql is disabled The installed postgresql packages are: postgresql-10:amd64 postgresql-10-debversion:amd64 postgresql:all postgresql-all:all postgresql-client-10:amd64 postgresql-client:all postgresql-client-common:all postgresql-common:all postgresql-plperl-10:amd64 postgresql-plpython-10:amd64 postgresql-plpython3-10:amd64 postgresql-pltcl-10:amd64 postgresql-server-dev-10:amd64 postgresql-server-dev-all:all El 26/07/18 a las 11:46, Yahoo escribi?: Hello, Could you provide us the log file of your compilation and your system informations to be able to help you please ? Olivier Cruilles Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com) a ?crit: I have installed all dev packages of posgresql 10 on my new Mint 19 but way to get it from ./configure -C . What do I miss ? Help please ! Pino ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Thu Jul 26 23:15:50 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Thu, 26 Jul 2018 17:15:50 -0400 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> <5b4e296c-8d12-9528-6450-2888ee00d688@gmail.com> Message-ID: please, don waste time, you can do that : cd to the gb.db.postgresql ./reconf-all ./configure -C this will only generate log and output for the posrtgtres only related, and can analize by you the error do this (that generates less output that can analize and paste here) i think the problem its the relation between any other existing "postgresql-server-dev" pacakge, or independent files that search.. or maybe the win-mint based distro Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-26 16:33 GMT-04:00 Yahoo via User : > The procedure to compile Gambas from Sources is like that: > > ./reconf-all > > ./configure -C > > make > > sudo make install > > > Didi you do all these steps, overall the first one ? > > > Olivier Cruilles > > Le July 26, 2018 ? 16:19:24, Pino Zollo (pinozollo at gmail.com) a ?crit: > > Olivier, > > libpq-dev and libpq5 were already installed... > > I did not compile yet... I just do ./configure -C which returns with WARNING: > gb.db.postgresql is disabled .... > > I just need postgresql for my projects :-( > salud > Pino > El 26/07/18 a las 16:08, Yahoo escribi?: > > As I can see on Gambas Web Site, the module gb.db.postgresql need libpq.so > library to be compiled: > > http://gambaswiki.org/wiki/install > > > On Linux Mint 19: > > libpq-dev/bionic-updates,now 10.4-0ubuntu0.18.04 i386 [install?] > header files for libpq5 (PostgreSQL library) > > > Try: apt install libpq-dev > > After that, try to recompile Gambas sources. > > Olivier Cruilles > > Le July 26, 2018 ? 15:36:32, Pino Zollo (pinozollo at gmail.com) a ?crit: > > pino at Mint19:~/src/gambas-3.11.3$ ./configure -C | grep postgresql* > configure: WARNING: This library may be located inside the system C library > configure: WARNING: This library may be located inside the system C library > === configuring in gb.db.postgresql (/home/pino/src/gambas-3.11.3/ > gb.db.postgresql) > checking for gb.db.postgresql headers... (cached) no > checking for gb.db.postgresql libraries... (cached) > /usr/lib/x86_64-linux-gnu/ > configure: WARNING: gb.db.postgresql is disabled > || gb.db.postgresql is disabled > > > The installed postgresql packages are: > > postgresql-10:amd64 > postgresql-10-debversion:amd64 > postgresql:all > postgresql-all:all > postgresql-client-10:amd64 > postgresql-client:all > postgresql-client-common:all > postgresql-common:all > postgresql-plperl-10:amd64 > postgresql-plpython-10:amd64 > postgresql-plpython3-10:amd64 > postgresql-pltcl-10:amd64 > postgresql-server-dev-10:amd64 > postgresql-server-dev-all:all > > El 26/07/18 a las 11:46, Yahoo escribi?: > > Hello, > > Could you provide us the log file of your compilation and your system > informations to be able to help you please ? > > > Olivier Cruilles > > Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com) a ?crit: > > I have installed all dev packages of posgresql 10 on my new Mint 19 but > > way to get it from ./configure -C . > > What do I miss ? > > Help please ! > > Pino > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Jul 26 23:20:33 2018 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 26 Jul 2018 23:20:33 +0200 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> <5b4e296c-8d12-9528-6450-2888ee00d688@gmail.com> Message-ID: To my knowledge on Mint 19 the library is postgresql-server-dev-10, but if Pino has installed Gambas from PPA can not compile. Regards Gianluigi 2018-07-26 23:15 GMT+02:00 PICCORO McKAY Lenz : > please, don waste time, you can do that : > > cd to the gb.db.postgresql > > ./reconf-all > > ./configure -C > > this will only generate log and output for the posrtgtres only related, > and can analize by you the error > do this (that generates less output that can analize and paste here) > > i think the problem its the relation between any other existing > "postgresql-server-dev" pacakge, > or independent files that search.. or maybe the win-mint based distro > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2018-07-26 16:33 GMT-04:00 Yahoo via User : > >> The procedure to compile Gambas from Sources is like that: >> >> ./reconf-all >> >> ./configure -C >> >> make >> >> sudo make install >> >> >> Didi you do all these steps, overall the first one ? >> >> >> Olivier Cruilles >> >> Le July 26, 2018 ? 16:19:24, Pino Zollo (pinozollo at gmail.com) a ?crit: >> >> Olivier, >> >> libpq-dev and libpq5 were already installed... >> >> I did not compile yet... I just do ./configure -C which returns with WARNING: >> gb.db.postgresql is disabled .... >> >> I just need postgresql for my projects :-( >> salud >> Pino >> El 26/07/18 a las 16:08, Yahoo escribi?: >> >> As I can see on Gambas Web Site, the module gb.db.postgresql need libpq.so >> library to be compiled: >> >> http://gambaswiki.org/wiki/install >> >> >> On Linux Mint 19: >> >> libpq-dev/bionic-updates,now 10.4-0ubuntu0.18.04 i386 [install?] >> header files for libpq5 (PostgreSQL library) >> >> >> Try: apt install libpq-dev >> >> After that, try to recompile Gambas sources. >> >> Olivier Cruilles >> >> Le July 26, 2018 ? 15:36:32, Pino Zollo (pinozollo at gmail.com) a ?crit: >> >> pino at Mint19:~/src/gambas-3.11.3$ ./configure -C | grep postgresql* >> configure: WARNING: This library may be located inside the system C >> library >> configure: WARNING: This library may be located inside the system C >> library >> === configuring in gb.db.postgresql (/home/pino/src/gambas-3.11.3/ >> gb.db.postgresql) >> checking for gb.db.postgresql headers... (cached) no >> checking for gb.db.postgresql libraries... (cached) >> /usr/lib/x86_64-linux-gnu/ >> configure: WARNING: gb.db.postgresql is disabled >> || gb.db.postgresql is disabled >> >> >> The installed postgresql packages are: >> >> postgresql-10:amd64 >> postgresql-10-debversion:amd64 >> postgresql:all >> postgresql-all:all >> postgresql-client-10:amd64 >> postgresql-client:all >> postgresql-client-common:all >> postgresql-common:all >> postgresql-plperl-10:amd64 >> postgresql-plpython-10:amd64 >> postgresql-plpython3-10:amd64 >> postgresql-pltcl-10:amd64 >> postgresql-server-dev-10:amd64 >> postgresql-server-dev-all:all >> >> El 26/07/18 a las 11:46, Yahoo escribi?: >> >> Hello, >> >> Could you provide us the log file of your compilation and your system >> informations to be able to help you please ? >> >> >> Olivier Cruilles >> >> Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com) a ?crit: >> >> I have installed all dev packages of posgresql 10 on my new Mint 19 but >> >> way to get it from ./configure -C . >> >> What do I miss ? >> >> Help please ! >> >> Pino >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pinozollo at gmail.com Thu Jul 26 23:33:40 2018 From: pinozollo at gmail.com (Pino Zollo) Date: Thu, 26 Jul 2018 17:33:40 -0400 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> <5b4e296c-8d12-9528-6450-2888ee00d688@gmail.com> Message-ID: Il 26/07/2018 17:15, PICCORO McKAY Lenz ha scritto: > please, don waste time, you can do that : > > cd to the gb.db.postgresql > > ./reconf-all There is no reconf-all into gb.db.postgresql > > ./configure -C Done: here is the output: --------------------------------------------------------------------- configure: loading cache config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... (cached) yes checking build system type... (cached) x86_64-pc-linux-gnu checking host system type... (cached) x86_64-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) gcc -E checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86_64 checking for unistd.h... (cached) yes checking how to run the C preprocessor... gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for fstatat... (cached) yes checking for C library... -lc checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for monotonic clock... (cached) yes checking for library containing clock_gettime... (cached) none required checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking CFLAGS for gcc -flto... (cached) -flto checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/x86_64-linux-gnu-ld checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... (cached) func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... (cached) func_convert_file_noop checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for dlltool... (cached) dlltool checking how to associate runtime and link libraries... (cached) printf %s\n checking for ar... (cached) ar checking for archiver @FILE support... (cached) @ checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for sysroot... no checking for a working dd... (cached) /bin/dd checking how to truncate binary pipes... (cached) /bin/dd bs=4096 count=1 checking for mt... (cached) mt checking if mt is a manifest tool... (cached) no checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... (cached) -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_configure: loading cache config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... (cached) yes checking build system type... (cached) x86_64-pc-linux-gnu checking host system type... (cached) x86_64-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) gcc -E checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86_64 checking for unistd.h... (cached) yes checking how to run the C preprocessor... gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for fstatat... (cached) yes checking for C library... -lc checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for monotonic clock... (cached) yes checking for library containing clock_gettime... (cached) none required checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking CFLAGS for gcc -flto... (cached) -flto checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/x86_64-linux-gnu-ld checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... (cached) func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... (cached) func_convert_file_noop checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for dlltool... (cached) dlltool checking how to associate runtime and link libraries... (cached) printf %s\n checking for ar... (cached) ar checking for archiver @FILE support... (cached) @ checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for sysroot... no checking for a working dd... (cached) /bin/dd checking how to truncate binary pipes... (cached) /bin/dd bs=4096 count=1 checking for mt... (cached) mt checking if mt is a manifest tool... (cached) no checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... (cached) -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes./reconf-all checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/x86_64-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... (cached) -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.postgresql headers... (cached) /usr/include/postgresql/ /usr/include/postgresql/10/server/ /usr/include/postgresql/10/server/catalog/ checking for gb.db.postgresql libraries... (cached) /usr/lib/x86_64-linux-gnu/ checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commandsx86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes./reconf-all checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/x86_64-linux-gnu-ld -m elf_x86_64 checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... (cached) -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.postgresql headers... (cached) /usr/include/postgresql/ /usr/include/postgresql/10/server/ /usr/include/postgresql/10/server/catalog/ checking for gb.db.postgresql libraries... (cached) /usr/lib/x86_64-linux-gnu/ checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands ------------------------------------------------------------------------------------------- there are not errors, I? guess... > > this will only generate log and output for the posrtgtres only > related, and can analize by you the error > do this (that generates less output that can analize and paste here) > > i think the problem its the relation between any other existing > "postgresql-server-dev" pacakge, > or independent files that search.. or maybe the win-mint based distro > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2018-07-26 16:33 GMT-04:00 Yahoo via User >: > > The procedure to compile Gambas from Sources is like that: > > ./reconf-all > > ./configure -C > > make > > sudo make install > > > Didi you do all these steps, overall the first one ? > > > Olivier Cruilles > > Le July 26, 2018 ? 16:19:24, Pino Zollo (pinozollo at gmail.com > ) a ?crit: > >> Olivier, >> >> libpq-dev and libpq5 were already installed... >> >> I did not compile yet... I just do ./configure -C which returns >> with WARNING: gb.db.postgresql is disabled .... >> >> I just need postgresql for my projects :-( >> >> salud >> Pino >> El 26/07/18 a las 16:08, Yahoo escribi?: >>> As I can see on Gambas Web Site, the module gb.db.postgresql >>> need libpq.so library to be compiled: >>> >>> http://gambaswiki.org/wiki/install >>> >>> >>> >>> On Linux Mint 19: >>> >>> libpq-dev/bionic-updates,now 10.4-0ubuntu0.18.04 i386 ?[install?] >>> ? header files for libpq5 (PostgreSQL library) >>> >>> >>> Try: apt install libpq-dev >>> >>> After that, try to recompile Gambas sources. >>> >>> Olivier Cruilles >>> >>> Le July 26, 2018 ? 15:36:32, Pino Zollo (pinozollo at gmail.com >>> ) a ?crit: >>> >>>> pino at Mint19:~/src/gambas-3.11.3$ >>>> ./configure -C | >>>> grep postgresql* >>>> configure: WARNING: This library may be located inside the >>>> system C library >>>> configure: WARNING: This library may be located inside the >>>> system C library >>>> === configuring in gb.db.postgresql >>>> (/home/pino/src/gambas-3.11.3/gb.db.postgresql) >>>> checking for gb.db.postgresql headers... (cached) no >>>> checking for gb.db.postgresql libraries... (cached) >>>> /usr/lib/x86_64-linux-gnu/ >>>> configure: WARNING: gb.db.postgresql is disabled >>>> || gb.db.postgresql is disabled >>>> >>>> >>>> The installed postgresql packages are: >>>> >>>> postgresql-10:amd64 >>>> postgresql-10-debversion:amd64 >>>> postgresql:all >>>> postgresql-all:all >>>> postgresql-client-10:amd64 >>>> postgresql-client:all >>>> postgresql-client-common:all >>>> postgresql-common:all >>>> postgresql-plperl-10:amd64 >>>> postgresql-plpython-10:amd64 >>>> postgresql-plpython3-10:amd64 >>>> postgresql-pltcl-10:amd64 >>>> postgresql-server-dev-10:amd64 >>>> postgresql-server-dev-all:all >>>> >>>> >>>> El 26/07/18 a las 11:46, Yahoo escribi?: >>>>> Hello, >>>>> >>>>> Could you provide us the log file of your compilation and your >>>>> system informations to be able to help you please ? >>>>> >>>>> >>>>> Olivier Cruilles >>>>> >>>>> Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com >>>>> ) a ?crit: >>>>> >>>>>> I have installed all dev packages of posgresql 10 on my new >>>>>> Mint 19 but >>>>>> >>>>>> way to get it from ./configure -C . >>>>>> >>>>>> What do I miss ? >>>>>> >>>>>> Help please ! >>>>>> >>>>>> Pino >>>>>> >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by >>>>>> https://www.hostsharing.net ]---- >>>> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Jul 27 00:03:40 2018 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 27 Jul 2018 00:03:40 +0200 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> <5b4e296c-8d12-9528-6450-2888ee00d688@gmail.com> Message-ID: Sorry I didn't read the first posts. If Pino follows the compilation procedure for Ubuntu 18.04 as by Tip [0] it should work well as he can read here [1]. Note: Uninstall first Regards Gianluigi [0] http://gambaswiki.org/wiki/install/ubuntu#t6 [1] http://www.gambas-it.org/smf/index.php?topic=6424.msg44075#msg44075 2018-07-26 23:20 GMT+02:00 Gianluigi : > To my knowledge on Mint 19 the library is postgresql-server-dev-10, but if > Pino has installed Gambas from PPA can not compile. > > Regards > Gianluigi > > > 2018-07-26 23:15 GMT+02:00 PICCORO McKAY Lenz : > >> please, don waste time, you can do that : >> >> cd to the gb.db.postgresql >> >> ./reconf-all >> >> ./configure -C >> >> this will only generate log and output for the posrtgtres only related, >> and can analize by you the error >> do this (that generates less output that can analize and paste here) >> >> i think the problem its the relation between any other existing >> "postgresql-server-dev" pacakge, >> or independent files that search.. or maybe the win-mint based distro >> >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2018-07-26 16:33 GMT-04:00 Yahoo via User : >> >>> The procedure to compile Gambas from Sources is like that: >>> >>> ./reconf-all >>> >>> ./configure -C >>> >>> make >>> >>> sudo make install >>> >>> >>> Didi you do all these steps, overall the first one ? >>> >>> >>> Olivier Cruilles >>> >>> Le July 26, 2018 ? 16:19:24, Pino Zollo (pinozollo at gmail.com) a ?crit: >>> >>> Olivier, >>> >>> libpq-dev and libpq5 were already installed... >>> >>> I did not compile yet... I just do ./configure -C which returns with WARNING: >>> gb.db.postgresql is disabled .... >>> >>> I just need postgresql for my projects :-( >>> salud >>> Pino >>> El 26/07/18 a las 16:08, Yahoo escribi?: >>> >>> As I can see on Gambas Web Site, the module gb.db.postgresql need libpq.so >>> library to be compiled: >>> >>> http://gambaswiki.org/wiki/install >>> >>> >>> On Linux Mint 19: >>> >>> libpq-dev/bionic-updates,now 10.4-0ubuntu0.18.04 i386 [install?] >>> header files for libpq5 (PostgreSQL library) >>> >>> >>> Try: apt install libpq-dev >>> >>> After that, try to recompile Gambas sources. >>> >>> Olivier Cruilles >>> >>> Le July 26, 2018 ? 15:36:32, Pino Zollo (pinozollo at gmail.com) a ?crit: >>> >>> pino at Mint19:~/src/gambas-3.11.3$ ./configure -C | grep postgresql* >>> configure: WARNING: This library may be located inside the system C >>> library >>> configure: WARNING: This library may be located inside the system C >>> library >>> === configuring in gb.db.postgresql (/home/pino/src/gambas-3.11.3/ >>> gb.db.postgresql) >>> checking for gb.db.postgresql headers... (cached) no >>> checking for gb.db.postgresql libraries... (cached) >>> /usr/lib/x86_64-linux-gnu/ >>> configure: WARNING: gb.db.postgresql is disabled >>> || gb.db.postgresql is disabled >>> >>> >>> The installed postgresql packages are: >>> >>> postgresql-10:amd64 >>> postgresql-10-debversion:amd64 >>> postgresql:all >>> postgresql-all:all >>> postgresql-client-10:amd64 >>> postgresql-client:all >>> postgresql-client-common:all >>> postgresql-common:all >>> postgresql-plperl-10:amd64 >>> postgresql-plpython-10:amd64 >>> postgresql-plpython3-10:amd64 >>> postgresql-pltcl-10:amd64 >>> postgresql-server-dev-10:amd64 >>> postgresql-server-dev-all:all >>> >>> El 26/07/18 a las 11:46, Yahoo escribi?: >>> >>> Hello, >>> >>> Could you provide us the log file of your compilation and your system >>> informations to be able to help you please ? >>> >>> >>> Olivier Cruilles >>> >>> Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com) a ?crit: >>> >>> I have installed all dev packages of posgresql 10 on my new Mint 19 but >>> >>> way to get it from ./configure -C . >>> >>> What do I miss ? >>> >>> Help please ! >>> >>> Pino >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Fri Jul 27 14:04:43 2018 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 27 Jul 2018 14:04:43 +0200 Subject: [Gambas-user] Holidays again Message-ID: <6d19bfda-7f64-e2ac-b812-935964c94452@gmail.com> Hi, I leave Paris again until next week, and won't read my mails until my return. Best regards, -- Beno?t Minisini From mckaygerhard at gmail.com Fri Jul 27 14:24:16 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 27 Jul 2018 08:24:16 -0400 Subject: [Gambas-user] Posgresql 10 on Mint 19 In-Reply-To: References: <7d1f658c-5fe8-9966-50a0-81bc23a4c074@gmail.com> <37167626-e3fe-934f-cf51-4b20eb23a935@gmail.com> <5b4e296c-8d12-9528-6450-2888ee00d688@gmail.com> Message-ID: in conclusion a winbuntu problem as always.. there's no errors in the configure output.. as all can see it Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-26 18:03 GMT-04:00 Gianluigi : > Sorry I didn't read the first posts. > If Pino follows the compilation procedure for Ubuntu 18.04 as by Tip [0] > it should work well as he can read here [1]. > Note: Uninstall first > Regards > Gianluigi > [0] http://gambaswiki.org/wiki/install/ubuntu#t6 > [1] http://www.gambas-it.org/smf/index.php?topic=6424.msg44075#msg44075 > > > 2018-07-26 23:20 GMT+02:00 Gianluigi : > >> To my knowledge on Mint 19 the library is postgresql-server-dev-10, but >> if Pino has installed Gambas from PPA can not compile. >> >> Regards >> Gianluigi >> >> >> 2018-07-26 23:15 GMT+02:00 PICCORO McKAY Lenz : >> >>> please, don waste time, you can do that : >>> >>> cd to the gb.db.postgresql >>> >>> ./reconf-all >>> >>> ./configure -C >>> >>> this will only generate log and output for the posrtgtres only related, >>> and can analize by you the error >>> do this (that generates less output that can analize and paste here) >>> >>> i think the problem its the relation between any other existing >>> "postgresql-server-dev" pacakge, >>> or independent files that search.. or maybe the win-mint based distro >>> >>> >>> Lenz McKAY Gerardo (PICCORO) >>> http://qgqlochekone.blogspot.com >>> >>> 2018-07-26 16:33 GMT-04:00 Yahoo via User : >>> >>>> The procedure to compile Gambas from Sources is like that: >>>> >>>> ./reconf-all >>>> >>>> ./configure -C >>>> >>>> make >>>> >>>> sudo make install >>>> >>>> >>>> Didi you do all these steps, overall the first one ? >>>> >>>> >>>> Olivier Cruilles >>>> >>>> Le July 26, 2018 ? 16:19:24, Pino Zollo (pinozollo at gmail.com) a ?crit: >>>> >>>> Olivier, >>>> >>>> libpq-dev and libpq5 were already installed... >>>> >>>> I did not compile yet... I just do ./configure -C which returns with WARNING: >>>> gb.db.postgresql is disabled .... >>>> >>>> I just need postgresql for my projects :-( >>>> salud >>>> Pino >>>> El 26/07/18 a las 16:08, Yahoo escribi?: >>>> >>>> As I can see on Gambas Web Site, the module gb.db.postgresql need libpq.so >>>> library to be compiled: >>>> >>>> http://gambaswiki.org/wiki/install >>>> >>>> >>>> On Linux Mint 19: >>>> >>>> libpq-dev/bionic-updates,now 10.4-0ubuntu0.18.04 i386 [install?] >>>> header files for libpq5 (PostgreSQL library) >>>> >>>> >>>> Try: apt install libpq-dev >>>> >>>> After that, try to recompile Gambas sources. >>>> >>>> Olivier Cruilles >>>> >>>> Le July 26, 2018 ? 15:36:32, Pino Zollo (pinozollo at gmail.com) a ?crit: >>>> >>>> pino at Mint19:~/src/gambas-3.11.3$ ./configure -C | grep postgresql* >>>> configure: WARNING: This library may be located inside the system C >>>> library >>>> configure: WARNING: This library may be located inside the system C >>>> library >>>> === configuring in gb.db.postgresql (/home/pino/src/gambas-3.11.3/ >>>> gb.db.postgresql) >>>> checking for gb.db.postgresql headers... (cached) no >>>> checking for gb.db.postgresql libraries... (cached) >>>> /usr/lib/x86_64-linux-gnu/ >>>> configure: WARNING: gb.db.postgresql is disabled >>>> || gb.db.postgresql is disabled >>>> >>>> >>>> The installed postgresql packages are: >>>> >>>> postgresql-10:amd64 >>>> postgresql-10-debversion:amd64 >>>> postgresql:all >>>> postgresql-all:all >>>> postgresql-client-10:amd64 >>>> postgresql-client:all >>>> postgresql-client-common:all >>>> postgresql-common:all >>>> postgresql-plperl-10:amd64 >>>> postgresql-plpython-10:amd64 >>>> postgresql-plpython3-10:amd64 >>>> postgresql-pltcl-10:amd64 >>>> postgresql-server-dev-10:amd64 >>>> postgresql-server-dev-all:all >>>> >>>> El 26/07/18 a las 11:46, Yahoo escribi?: >>>> >>>> Hello, >>>> >>>> Could you provide us the log file of your compilation and your system >>>> informations to be able to help you please ? >>>> >>>> >>>> Olivier Cruilles >>>> >>>> Le July 26, 2018 ? 10:23:05, Pino Zollo (pinozollo at gmail.com) a ?crit: >>>> >>>> I have installed all dev packages of posgresql 10 on my new Mint 19 but >>>> >>>> way to get it from ./configure -C . >>>> >>>> What do I miss ? >>>> >>>> Help please ! >>>> >>>> Pino >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >>>> >>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >>> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mckaygerhard at gmail.com Fri Jul 27 14:43:01 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Fri, 27 Jul 2018 08:43:01 -0400 Subject: [Gambas-user] Holidays again In-Reply-To: <6d19bfda-7f64-e2ac-b812-935964c94452@gmail.com> References: <6d19bfda-7f64-e2ac-b812-935964c94452@gmail.com> Message-ID: Please come back soon! we need you! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2018-07-27 8:04 GMT-04:00 Beno?t Minisini : > Hi, > > I leave Paris again until next week, and won't read my mails until my > return. > > Best regards, > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kicking177 at gmail.com Sat Jul 28 11:33:47 2018 From: kicking177 at gmail.com (KKing) Date: Sat, 28 Jul 2018 10:33:47 +0100 Subject: [Gambas-user] File.Save and create a symlink Message-ID: From within Gambas can I create a file via FIle.Save and then create a symlink off it? K. From rwe-sse at osnanet.de Sat Jul 28 12:21:20 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sat, 28 Jul 2018 12:21:20 +0200 Subject: [Gambas-user] File.Save and create a symlink In-Reply-To: References: Message-ID: After saving the file, I would shell out - see Shell or Exec. Regards Rolf Am 28.07.2018 um 11:33 schrieb KKing: > From within Gambas can I create a file via FIle.Save and then create a > symlink off it? > > K. > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > From taboege at gmail.com Sat Jul 28 13:04:46 2018 From: taboege at gmail.com (Tobias Boege) Date: Sat, 28 Jul 2018 13:04:46 +0200 Subject: [Gambas-user] File.Save and create a symlink In-Reply-To: References: Message-ID: <20180728110446.GA17634@highrise.localdomain> On Sat, 28 Jul 2018, KKing wrote: > From within Gambas can I create a file via FIle.Save and then create a > symlink off it? > It's the aptly named LINK instruction [1]. [1] http://gambaswiki.org/wiki/lang/link -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rwe-sse at osnanet.de Sun Jul 29 00:15:45 2018 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sun, 29 Jul 2018 00:15:45 +0200 Subject: [Gambas-user] File.Save and create a symlink In-Reply-To: <20180728110446.GA17634@highrise.localdomain> References: <20180728110446.GA17634@highrise.localdomain> Message-ID: <67129f0e-8709-e3d3-ae71-788198304b7c@osnanet.de> Am 28.07.2018 um 13:04 schrieb Tobias Boege: > On Sat, 28 Jul 2018, KKing wrote: >> From within Gambas can I create a file via FIle.Save and then create a >> symlink off it? >> > It's the aptly named LINK instruction [1]. > > [1] http://gambaswiki.org/wiki/lang/link > Wow, didn't realize there is already an instruction for it in Gambas :) Regards Rolf From kicking177 at gmail.com Sun Jul 29 14:49:25 2018 From: kicking177 at gmail.com (KKing) Date: Sun, 29 Jul 2018 13:49:25 +0100 Subject: [Gambas-user] File.Save and create a symlink Message-ID: <9aa5a1dd-97a6-2aef-123a-2e64b4bd6789@gmail.com> many thanks << Am 28.07.2018 um 13:04 schrieb Tobias Boege: > > [1]http://gambaswiki.org/wiki/lang/link > >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From bkv at mailbox.org Sun Jul 29 17:44:10 2018 From: bkv at mailbox.org (bkv at mailbox.org) Date: Sun, 29 Jul 2018 17:44:10 +0200 (CEST) Subject: [Gambas-user] Moving from OpenSuse to Mint Message-ID: <1512367262.17333.1532879050578@office.mailbox.org> Hi I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. Best regards, Bj?rn -------------- next part -------------- An HTML attachment was scrubbed... URL: From taboege at gmail.com Sun Jul 29 17:54:33 2018 From: taboege at gmail.com (Tobias Boege) Date: Sun, 29 Jul 2018 17:54:33 +0200 Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: <1512367262.17333.1532879050578@office.mailbox.org> References: <1512367262.17333.1532879050578@office.mailbox.org> Message-ID: <20180729155433.GC17634@highrise.localdomain> On Sun, 29 Jul 2018, bkv at mailbox.org wrote: > Hi > > I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. > > I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. > > The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. > > The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. > > I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. > > Best regards, > > Bj?rn Which components are used by your project? You can determine that by looking at the hidden ".project" file in your project directory. You want all lines starting with "Component=". You can also run the project from a terminal via: $ cd /your/project/dir $ gbc3 -ga $ gbx3 Then the interpreter should print any error that happens and avoid GUI elements which you might overlook or which might glitch to be unreadable in certain environments. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at gmail.com Sun Jul 29 17:55:07 2018 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 29 Jul 2018 17:55:07 +0200 Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: <1512367262.17333.1532879050578@office.mailbox.org> References: <1512367262.17333.1532879050578@office.mailbox.org> Message-ID: 2018-07-29 17:44 GMT+02:00 : > Hi > > I developed an application on my OpenSuse (KDE) machine. Now I decided to > move it to a machine with Linux Mint (Mate desktop) installed. > > I installed Gambas on the Mint machine and copied my project from the > OpenSuse machine to the Mint machine. > > The Gambas developement environment seems to work on my Mint machine, I > can create a new project with a form and run the project to display the > form. > > The problem comes when I want to run (in developement environment) the > project I copied from OpenSuse. It seems to quit right after I press the > Run-button. I cannot trace it and I see no error messages. > > I know this is not much information, but I may find some more if I get an > hint on where to look. I would be glad to have some help on moving my > project to the new machine. > > Best regards, > > Bj?rn > > You can post the System information from menu ---> ? (help) > System information..., copy and paste here. Regards Gianluigi > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bkv at mailbox.org Sun Jul 29 18:05:35 2018 From: bkv at mailbox.org (bkv at mailbox.org) Date: Sun, 29 Jul 2018 18:05:35 +0200 (CEST) Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: References: <1512367262.17333.1532879050578@office.mailbox.org> Message-ID: <366958078.19646.1532880337375@office.mailbox.org> Thanks, here it is: [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.13.0-26-generic Architecture=x86_64 Distribution=Linux Mint 18.3 Sylvia Desktop=MATE Theme=Gtk Language=nb_NO.UTF-8 Memory=7839M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.803.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_BACKEND=x11 COMPIZ_CONFIG_PROFILE=mate DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-UIvKRbV3Zh,guid=2d0a260ab82f7d471c465e8d5b5de4fb DBUS_STARTER_ADDRESS=unix:abstract=/tmp/dbus-UIvKRbV3Zh,guid=2d0a260ab82f7d471c465e8d5b5de4fb DBUS_STARTER_BUS_TYPE=session DEFAULTS_PATH=/usr/share/gconf/mate.default.path DERBY_HOME=/usr/lib/jvm/java-8-oracle/db DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt5 GDMSESSION=mate GDM_LANG=nb GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=0 HOME= IM_CONFIG_PHASE=1 J2REDIR=/usr/lib/jvm/java-8-oracle/jre J2SDKDIR=/usr/lib/jvm/java-8-oracle JAVA_HOME=/usr/lib/jvm/java-8-oracle LANG=nb_NO.UTF-8 LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated PATH=/bin:/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin PWD= QT_ACCESSIBILITY=1 QT_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1323,unix/:/tmp/.ICE-unix/1323 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=1456 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 > On July 29, 2018 at 5:55 PM Gianluigi wrote: > > > > 2018-07-29 17:44 GMT+02:00 : > > > > > > Hi > > > > I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. > > > > I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. > > > > The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. > > > > The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. > > > > I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. > > > > Best regards, > > > > Bj?rn > > > > > > > > You can post the System information from menu ---> ? (help) > System information..., copy and paste here. > > Regards > Gianluigi > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Sun Jul 29 18:05:47 2018 From: bagonergi at gmail.com (Gianluigi) Date: Sun, 29 Jul 2018 18:05:47 +0200 Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: <20180729155433.GC17634@highrise.localdomain> References: <1512367262.17333.1532879050578@office.mailbox.org> <20180729155433.GC17634@highrise.localdomain> Message-ID: 2018-07-29 17:54 GMT+02:00 Tobias Boege : > On Sun, 29 Jul 2018, bkv at mailbox.org wrote: > > Hi > > > > I developed an application on my OpenSuse (KDE) machine. Now I decided > to move it to a machine with Linux Mint (Mate desktop) installed. > > > > I installed Gambas on the Mint machine and copied my project from the > OpenSuse machine to the Mint machine. > > > > The Gambas developement environment seems to work on my Mint machine, I > can create a new project with a form and run the project to display the > form. > > > > The problem comes when I want to run (in developement environment) the > project I copied from OpenSuse. It seems to quit right after I press the > Run-button. I cannot trace it and I see no error messages. > > > > I know this is not much information, but I may find some more if I get > an hint on where to look. I would be glad to have some help on moving my > project to the new machine. > > > > Best regards, > > > > Bj?rn > > Which components are used by your project? You can determine that > by looking at the hidden ".project" file in your project directory. > You want all lines starting with "Component=". > > You can also run the project from a terminal via: > > $ cd /your/project/dir > $ gbc3 -ga > $ gbx3 > > Then the interpreter should print any error that happens and avoid > GUI elements which you might overlook or which might glitch to be > unreadable in certain environments. > > Regards, > Tobi > > Sorry Tobias I answered, a moment before I saw your answer. As the Latins used to say "Ubi major minor cessat" :-D Regards Gianluigi > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bkv at mailbox.org Sun Jul 29 18:42:48 2018 From: bkv at mailbox.org (bkv at mailbox.org) Date: Sun, 29 Jul 2018 18:42:48 +0200 (CEST) Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: <20180729155433.GC17634@highrise.localdomain> References: <1512367262.17333.1532879050578@office.mailbox.org> <20180729155433.GC17634@highrise.localdomain> Message-ID: <1719584772.19835.1532882568948@office.mailbox.org> Thanks Tobi, missed your reply at first. These are the components: Component=gb.image Component=gb.gui Component=gb.form Component=gb.chart Component=gb.db Component=gb.db.form I tried the commands you listed. gbc3 -ga gave "OK", but gbx3 printed nothing. Regards, Bj?rn > On July 29, 2018 at 5:54 PM Tobias Boege wrote: > > > On Sun, 29 Jul 2018, bkv at mailbox.org wrote: > > Hi > > > > I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. > > > > I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. > > > > The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. > > > > The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. > > > > I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. > > > > Best regards, > > > > Bj?rn > > Which components are used by your project? You can determine that > by looking at the hidden ".project" file in your project directory. > You want all lines starting with "Component=". > > You can also run the project from a terminal via: > > $ cd /your/project/dir > $ gbc3 -ga > $ gbx3 > > Then the interpreter should print any error that happens and avoid > GUI elements which you might overlook or which might glitch to be > unreadable in certain environments. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk From olivier.cruilles at yahoo.fr Sun Jul 29 20:08:49 2018 From: olivier.cruilles at yahoo.fr (Linus) Date: Sun, 29 Jul 2018 14:08:49 -0400 Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: <1719584772.19835.1532882568948@office.mailbox.org> References: <1512367262.17333.1532879050578@office.mailbox.org> <20180729155433.GC17634@highrise.localdomain> <1719584772.19835.1532882568948@office.mailbox.org> Message-ID: Hi, Maybe you have already checked but does it the same version of Gambas from Suse to Linux Mint. A minimum is the same version or greater on Linux Mint, not minus. 2nd point, open your projec tin Linux Mint IDE, Menu Project -> CleanUp, Menu Project -> Compile All. Sometime, when you copy a project from a Distribution to another, it?s good to CleanUp compiled files and regenerate them in the new IDE. I hope it will help you. Olivier Cruilles > Le 29 juil. 2018 ? 12:42, bkv at mailbox.org a ?crit : > > Thanks Tobi, missed your reply at first. These are the components: > Component=gb.image > Component=gb.gui > Component=gb.form > Component=gb.chart > Component=gb.db > Component=gb.db.form > > > I tried the commands you listed. gbc3 -ga gave "OK", but gbx3 printed nothing. > Regards, > Bj?rn > >> On July 29, 2018 at 5:54 PM Tobias Boege wrote: >> >> >> On Sun, 29 Jul 2018, bkv at mailbox.org wrote: >>> Hi >>> >>> I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. >>> >>> I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. >>> >>> The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. >>> >>> The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. >>> >>> I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. >>> >>> Best regards, >>> >>> Bj?rn >> >> Which components are used by your project? You can determine that >> by looking at the hidden ".project" file in your project directory. >> You want all lines starting with "Component=". >> >> You can also run the project from a terminal via: >> >> $ cd /your/project/dir >> $ gbc3 -ga >> $ gbx3 >> >> Then the interpreter should print any error that happens and avoid >> GUI elements which you might overlook or which might glitch to be >> unreadable in certain environments. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From bkv at mailbox.org Sun Jul 29 20:14:51 2018 From: bkv at mailbox.org (bkv at mailbox.org) Date: Sun, 29 Jul 2018 20:14:51 +0200 (CEST) Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: <20180729155433.GC17634@highrise.localdomain> References: <1512367262.17333.1532879050578@office.mailbox.org> <20180729155433.GC17634@highrise.localdomain> Message-ID: <1990237689.20194.1532888091660@office.mailbox.org> I noticed one more thing: I installed Gambas from the repositories on the Mint machine and got 3.8.4, on the OpenSuse machine I have 3.9.2. I added the gambas ppa repository, and I now have Gambas 3.11.2 on the mint machine. I still cannot run my program, but I got a couple of messages: (Ladelogg:9003): GLib-GObject-WARNING **: invalid (NULL) pointer instance (Ladelogg:9003): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed > On July 29, 2018 at 5:54 PM Tobias Boege wrote: > > > On Sun, 29 Jul 2018, bkv at mailbox.org wrote: > > Hi > > > > I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. > > > > I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. > > > > The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. > > > > The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. > > > > I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. > > > > Best regards, > > > > Bj?rn > > Which components are used by your project? You can determine that > by looking at the hidden ".project" file in your project directory. > You want all lines starting with "Component=". > > You can also run the project from a terminal via: > > $ cd /your/project/dir > $ gbc3 -ga > $ gbx3 > > Then the interpreter should print any error that happens and avoid > GUI elements which you might overlook or which might glitch to be > unreadable in certain environments. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bkv at mailbox.org Sun Jul 29 20:26:39 2018 From: bkv at mailbox.org (bkv at mailbox.org) Date: Sun, 29 Jul 2018 20:26:39 +0200 (CEST) Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: References: <1512367262.17333.1532879050578@office.mailbox.org> <20180729155433.GC17634@highrise.localdomain> <1719584772.19835.1532882568948@office.mailbox.org> Message-ID: <1364346868.20242.1532888800300@office.mailbox.org> Hi I went to Debug -> GUI Component and selected QT4. I can now run the program in the Gambas developement environment. But I guess it would be better not to use QT4 on Mint, but rather the GUI system used by mint itself. How can I achieve that? -Bj?rn > On July 29, 2018 at 8:08 PM Linus wrote: > > > Hi, > > Maybe you have already checked but does it the same version of Gambas from Suse to Linux Mint. > A minimum is the same version or greater on Linux Mint, not minus. > > 2nd point, open your projec tin Linux Mint IDE, Menu Project -> CleanUp, Menu Project -> Compile All. > Sometime, when you copy a project from a Distribution to another, it?s good to CleanUp compiled files and regenerate them in the new IDE. > > I hope it will help you. > > Olivier Cruilles > > > Le 29 juil. 2018 ? 12:42, bkv at mailbox.org a ?crit : > > > > Thanks Tobi, missed your reply at first. These are the components: > > Component=gb.image > > Component=gb.gui > > Component=gb.form > > Component=gb.chart > > Component=gb.db > > Component=gb.db.form > > > > > > I tried the commands you listed. gbc3 -ga gave "OK", but gbx3 printed nothing. > > Regards, > > Bj?rn > > > >> On July 29, 2018 at 5:54 PM Tobias Boege wrote: > >> > >> > >> On Sun, 29 Jul 2018, bkv at mailbox.org wrote: > >>> Hi > >>> > >>> I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. > >>> > >>> I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. > >>> > >>> The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. > >>> > >>> The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. > >>> > >>> I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. > >>> > >>> Best regards, > >>> > >>> Bj?rn > >> > >> Which components are used by your project? You can determine that > >> by looking at the hidden ".project" file in your project directory. > >> You want all lines starting with "Component=". > >> > >> You can also run the project from a terminal via: > >> > >> $ cd /your/project/dir > >> $ gbc3 -ga > >> $ gbx3 > >> > >> Then the interpreter should print any error that happens and avoid > >> GUI elements which you might overlook or which might glitch to be > >> unreadable in certain environments. > >> > >> Regards, > >> Tobi > >> > >> -- > >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From olivier.cruilles at yahoo.fr Sun Jul 29 20:41:08 2018 From: olivier.cruilles at yahoo.fr (Linus) Date: Sun, 29 Jul 2018 14:41:08 -0400 Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: <1364346868.20242.1532888800300@office.mailbox.org> References: <1512367262.17333.1532879050578@office.mailbox.org> <20180729155433.GC17634@highrise.localdomain> <1719584772.19835.1532882568948@office.mailbox.org> <1364346868.20242.1532888800300@office.mailbox.org> Message-ID: <21D38109-B5B9-47B3-9BD3-DC3155ED8650@yahoo.fr> Did you follow the procedure to cleanup you project in the IDE ? Did it change something or nothing at all ? Olivier Cruilles > Le 29 juil. 2018 ? 14:26, bkv at mailbox.org a ?crit : > > Hi > I went to Debug -> GUI Component and selected QT4. I can now run the program in the Gambas developement environment. > > But I guess it would be better not to use QT4 on Mint, but rather the GUI system used by mint itself. How can I achieve that? > > -Bj?rn > > >> On July 29, 2018 at 8:08 PM Linus wrote: >> >> >> Hi, >> >> Maybe you have already checked but does it the same version of Gambas from Suse to Linux Mint. >> A minimum is the same version or greater on Linux Mint, not minus. >> >> 2nd point, open your projec tin Linux Mint IDE, Menu Project -> CleanUp, Menu Project -> Compile All. >> Sometime, when you copy a project from a Distribution to another, it?s good to CleanUp compiled files and regenerate them in the new IDE. >> >> I hope it will help you. >> >> Olivier Cruilles >> >>> Le 29 juil. 2018 ? 12:42, bkv at mailbox.org a ?crit : >>> >>> Thanks Tobi, missed your reply at first. These are the components: >>> Component=gb.image >>> Component=gb.gui >>> Component=gb.form >>> Component=gb.chart >>> Component=gb.db >>> Component=gb.db.form >>> >>> >>> I tried the commands you listed. gbc3 -ga gave "OK", but gbx3 printed nothing. >>> Regards, >>> Bj?rn >>> >>>> On July 29, 2018 at 5:54 PM Tobias Boege wrote: >>>> >>>> >>>> On Sun, 29 Jul 2018, bkv at mailbox.org wrote: >>>>> Hi >>>>> >>>>> I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. >>>>> >>>>> I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. >>>>> >>>>> The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. >>>>> >>>>> The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. >>>>> >>>>> I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. >>>>> >>>>> Best regards, >>>>> >>>>> Bj?rn >>>> >>>> Which components are used by your project? You can determine that >>>> by looking at the hidden ".project" file in your project directory. >>>> You want all lines starting with "Component=". >>>> >>>> You can also run the project from a terminal via: >>>> >>>> $ cd /your/project/dir >>>> $ gbc3 -ga >>>> $ gbx3 >>>> >>>> Then the interpreter should print any error that happens and avoid >>>> GUI elements which you might overlook or which might glitch to be >>>> unreadable in certain environments. >>>> >>>> Regards, >>>> Tobi >>>> >>>> -- >>>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> From t.lee.davidson at gmail.com Mon Jul 30 18:36:36 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 30 Jul 2018 12:36:36 -0400 Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: <1364346868.20242.1532888800300@office.mailbox.org> References: <1512367262.17333.1532879050578@office.mailbox.org> <20180729155433.GC17634@highrise.localdomain> <1719584772.19835.1532882568948@office.mailbox.org> <1364346868.20242.1532888800300@office.mailbox.org> Message-ID: I notice in your System Information that the GB_GUI environment variable is set to gb.qt5 ("GB_GUI=gb.qt5"). Perhaps try setting that to one of the GTK components (ie. gb.gtk or gb.gtk3). Or, just unset it at the command line (`unset GB_GUI`). -- Lee On 07/29/2018 02:26 PM, bkv at mailbox.org wrote: > Hi > I went to Debug -> GUI Component and selected QT4. I can now run the program in the Gambas developement environment. > > But I guess it would be better not to use QT4 on Mint, but rather the GUI system used by mint itself. How can I achieve that? > > -Bj?rn > > >> On July 29, 2018 at 8:08 PM Linus wrote: >> >> >> Hi, >> >> Maybe you have already checked but does it the same version of Gambas from Suse to Linux Mint. >> A minimum is the same version or greater on Linux Mint, not minus. >> >> 2nd point, open your projec tin Linux Mint IDE, Menu Project -> CleanUp, Menu Project -> Compile All. >> Sometime, when you copy a project from a Distribution to another, it?s good to CleanUp compiled files and regenerate them in the new IDE. >> >> I hope it will help you. >> >> Olivier Cruilles >> >>> Le 29 juil. 2018 ? 12:42, bkv at mailbox.org a ?crit : >>> >>> Thanks Tobi, missed your reply at first. These are the components: >>> Component=gb.image >>> Component=gb.gui >>> Component=gb.form >>> Component=gb.chart >>> Component=gb.db >>> Component=gb.db.form >>> >>> >>> I tried the commands you listed. gbc3 -ga gave "OK", but gbx3 printed nothing. >>> Regards, >>> Bj?rn >>> >>>> On July 29, 2018 at 5:54 PM Tobias Boege wrote: >>>> >>>> >>>> On Sun, 29 Jul 2018, bkv at mailbox.org wrote: >>>>> Hi >>>>> >>>>> I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. >>>>> >>>>> I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. >>>>> >>>>> The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. >>>>> >>>>> The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. >>>>> >>>>> I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. >>>>> >>>>> Best regards, >>>>> >>>>> Bj?rn >>>> >>>> Which components are used by your project? You can determine that >>>> by looking at the hidden ".project" file in your project directory. >>>> You want all lines starting with "Component=". >>>> >>>> You can also run the project from a terminal via: >>>> >>>> $ cd /your/project/dir >>>> $ gbc3 -ga >>>> $ gbx3 >>>> >>>> Then the interpreter should print any error that happens and avoid >>>> GUI elements which you might overlook or which might glitch to be >>>> unreadable in certain environments. >>>> >>>> Regards, >>>> Tobi >>>> >>>> -- >>>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From bkv at mailbox.org Mon Jul 30 22:20:28 2018 From: bkv at mailbox.org (bkv at mailbox.org) Date: Mon, 30 Jul 2018 22:20:28 +0200 (CEST) Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: References: <1512367262.17333.1532879050578@office.mailbox.org> <20180729155433.GC17634@highrise.localdomain> <1719584772.19835.1532882568948@office.mailbox.org> <1364346868.20242.1532888800300@office.mailbox.org> Message-ID: <360099322.6561.1532982029194@office.mailbox.org> Hi I can only make it run with GB_GUI=gb.qt4. That is in the Gambas developement environment. If I try to make an exeutable adn run it I get these messages: (Ladelogg:3815): GLib-GObject-WARNING **: invalid (NULL) pointer instance (Ladelogg:3815): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed I have attached my project. I am glad inf someone would take a loHi I can only make it run with GB_GUI=gb.qt4. That is in the Gambas developement environment. If I try to make an exeutable adn run it I get these messages: (Ladelogg:3815): GLib-GObject-WARNING **: invalid (NULL) pointer instance (Ladelogg:3815): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed I have attached my project. I am glad inf someone would take a look. -Bj?rn > On July 30, 2018 at 6:36 PM T Lee Davidson wrote: > > > I notice in your System Information that the GB_GUI environment variable is set to gb.qt5 ("GB_GUI=gb.qt5"). Perhaps try setting > that to one of the GTK components (ie. gb.gtk or gb.gtk3). Or, just unset it at the command line (`unset GB_GUI`). > > > -- > Lee > > > On 07/29/2018 02:26 PM, bkv at mailbox.org wrote: > > Hi > > I went to Debug -> GUI Component and selected QT4. I can now run the program in the Gambas developement environment. > > > > But I guess it would be better not to use QT4 on Mint, but rather the GUI system used by mint itself. How can I achieve that? > > > > -Bj?rn > > > > > >> On July 29, 2018 at 8:08 PM Linus wrote: > >> > >> > >> Hi, > >> > >> Maybe you have already checked but does it the same version of Gambas from Suse to Linux Mint. > >> A minimum is the same version or greater on Linux Mint, not minus. > >> > >> 2nd point, open your projec tin Linux Mint IDE, Menu Project -> CleanUp, Menu Project -> Compile All. > >> Sometime, when you copy a project from a Distribution to another, it?s good to CleanUp compiled files and regenerate them in the new IDE. > >> > >> I hope it will help you. > >> > >> Olivier Cruilles > >> > >>> Le 29 juil. 2018 ? 12:42, bkv at mailbox.org a ?crit : > >>> > >>> Thanks Tobi, missed your reply at first. These are the components: > >>> Component=gb.image > >>> Component=gb.gui > >>> Component=gb.form > >>> Component=gb.chart > >>> Component=gb.db > >>> Component=gb.db.form > >>> > >>> > >>> I tried the commands you listed. gbc3 -ga gave "OK", but gbx3 printed nothing. > >>> Regards, > >>> Bj?rn > >>> > >>>> On July 29, 2018 at 5:54 PM Tobias Boege wrote: > >>>> > >>>> > >>>> On Sun, 29 Jul 2018, bkv at mailbox.org wrote: > >>>>> Hi > >>>>> > >>>>> I developed an application on my OpenSuse (KDE) machine. Now I decided to move it to a machine with Linux Mint (Mate desktop) installed. > >>>>> > >>>>> I installed Gambas on the Mint machine and copied my project from the OpenSuse machine to the Mint machine. > >>>>> > >>>>> The Gambas developement environment seems to work on my Mint machine, I can create a new project with a form and run the project to display the form. > >>>>> > >>>>> The problem comes when I want to run (in developement environment) the project I copied from OpenSuse. It seems to quit right after I press the Run-button. I cannot trace it and I see no error messages. > >>>>> > >>>>> I know this is not much information, but I may find some more if I get an hint on where to look. I would be glad to have some help on moving my project to the new machine. > >>>>> > >>>>> Best regards, > >>>>> > >>>>> Bj?rn > >>>> > >>>> Which components are used by your project? You can determine that > >>>> by looking at the hidden ".project" file in your project directory. > >>>> You want all lines starting with "Component=". > >>>> > >>>> You can also run the project from a terminal via: > >>>> > >>>> $ cd /your/project/dir > >>>> $ gbc3 -ga > >>>> $ gbx3 > >>>> > >>>> Then the interpreter should print any error that happens and avoid > >>>> GUI elements which you might overlook or which might glitch to be > >>>> unreadable in certain environments. > >>>> > >>>> Regards, > >>>> Tobi > >>>> > >>>> -- > >>>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk > >>> > >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > >> > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- A non-text attachment was scrubbed... Name: Ladelogg.tar.bz2 Type: application/x-bzip Size: 28436 bytes Desc: not available URL: From t.lee.davidson at gmail.com Tue Jul 31 16:55:00 2018 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Tue, 31 Jul 2018 10:55:00 -0400 Subject: [Gambas-user] Moving from OpenSuse to Mint In-Reply-To: <360099322.6561.1532982029194@office.mailbox.org> References: <1512367262.17333.1532879050578@office.mailbox.org> <20180729155433.GC17634@highrise.localdomain> <1719584772.19835.1532882568948@office.mailbox.org> <1364346868.20242.1532888800300@office.mailbox.org> <360099322.6561.1532982029194@office.mailbox.org> Message-ID: It runs fine on my openSUSE system with either of the Qt components manually selected in the IDE. It will not run with either of the GTK components. And, I get NO error messages when running an executable from the command line. [System] Gambas=3.11.90 584a7b6ba (master) OperatingSystem=Linux Kernel=4.4.140-62-default Architecture=x86_64 Distribution=openSUSE Leap 42.3 Desktop=KDE5 Theme=QtCurve Language=en_US.UTF-8 Memory=3951M [Libraries] Cairo=/usr/lib64/libcairo.so.2.11502.0 Curl=/usr/lib64/libcurl.so.4.3.0 DBus=/lib64/libdbus-1.so.3.8.14 GStreamer=/usr/lib64/libgstreamer-0.10.so.0.30.0 GStreamer=/usr/lib64/libgstreamer-1.0.so.0.803.0 GTK+2=/usr/lib64/libgtk-x11-2.0.so.0.2400.31 GTK+3=/usr/lib64/libgtk-3.so.0.2000.10 OpenGL=/usr/lib64/libGL.so.1.2.0 Poppler=/usr/lib64/libpoppler.so.60.0.0 QT4=/usr/lib64/libQtCore.so.4.8.7 QT5=/usr/lib64/libQt5Core.so.5.6.2 SDL=/usr/lib64/libSDL-1.2.so.0.11.4 SQLite=/usr/lib64/libsqlite3.so.0.8.6 [Environment] [snip] GB_GUI=gb.qt5 [snip] GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0 GTK_IM_MODULE=cedilla GTK_MODULES=canberra-gtk-module [snip] KDE_FULL_SESSION=true KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 [snip] QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_IM_MODULE=xim QT_IM_SWITCHER=imsw-multi QT_SYSTEM_DIR=/usr/share/desktop-data [snip] ___ Lee On 07/30/2018 04:20 PM, bkv at mailbox.org wrote: > Hi > I can only make it run with GB_GUI=gb.qt4. That is in the Gambas developement environment. > If I try to make an exeutable adn run it I get these messages: > > (Ladelogg:3815): GLib-GObject-WARNING **: invalid (NULL) pointer instance > (Ladelogg:3815): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed > > I have attached my project. I am glad inf someone would take a loHi > I can only make it run with GB_GUI=gb.qt4. That is in the Gambas developement environment. > If I try to make an exeutable adn run it I get these messages: > > (Ladelogg:3815): GLib-GObject-WARNING **: invalid (NULL) pointer instance > (Ladelogg:3815): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed > > I have attached my project. I am glad inf someone would take a look. > > > -Bj?rn > > > >> On July 30, 2018 at 6:36 PM T Lee Davidson wrote: >> >> >> I notice in your System Information that the GB_GUI environment variable is set to gb.qt5 ("GB_GUI=gb.qt5"). Perhaps try setting >> that to one of the GTK components (ie. gb.gtk or gb.gtk3). Or, just unset it at the command line (`unset GB_GUI`). >> >> >> -- >> Lee >> >> >> On 07/29/2018 02:26 PM, bkv at mailbox.org wrote: >>> Hi >>> I went to Debug -> GUI Component and selected QT4. I can now run the program in the Gambas developement environment. >>> >>> But I guess it would be better not to use QT4 on Mint, but rather the GUI system used by mint itself. How can I achieve that? >>> >>> -Bj?rn >>> >>> [snip] From mckaygerhard at gmail.com Tue Jul 31 23:15:55 2018 From: mckaygerhard at gmail.com (PICCORO McKAY Lenz) Date: Tue, 31 Jul 2018 17:15:55 -0400 Subject: [Gambas-user] help with inherits using serial port Message-ID: hello, today I have another case, I want to implement inheritance to the common code with the serial port printing. What I want to do is to have the procedures to open, close and write to the serial port in one class, and two others that inherit these functions, then one of the inheritors writes "A" to the port while the other writes "B" to the port but the writing functions should be called the same... i attached project with minimal comments hope someone will help with this! the firts problem its that i received "'canot write "stream are closed" why? the second problem its that i cannot got any stream event when i do not have stream errors Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: prueba-printer-manager-0.0.1.tar.gz Type: application/gzip Size: 13187 bytes Desc: not available URL: