From gambas at ...1... Sun Apr 1 12:41:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 01 Apr 2012 12:41:35 +0200 Subject: [Gambas-user] Gambas 3.1 will be released in a few days Message-ID: <4F7830DF.5050803@...1...> Hi, I will release Gambas 3.1 in a few days. There were many last minute fixes in the IDE packager. So you are welcome, translator, if you want to update your Gambas translations before the release! Regards, -- Beno?t Minisini From gambas at ...2524... Sun Apr 1 14:11:44 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 01 Apr 2012 12:11:44 +0000 Subject: [Gambas-user] Issue 226 in gambas: SIGSEGV handler overwritten (for too long) In-Reply-To: <6-6813199134517018827-4454751669946384029-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-4454751669946384029-gambas=googlecode.com@...2524...> <0-6813199134517018827-4454751669946384029-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-4454751669946384029-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Type-Bug Type-Enhancement Comment #7 on issue 226 by benoit.m... at ...626...: SIGSEGV handler overwritten (for too long) http://code.google.com/p/gambas/issues/detail?id=226 (No comment was entered for this change.) From gambas at ...2524... Sun Apr 1 14:17:45 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 01 Apr 2012 12:17:45 +0000 Subject: [Gambas-user] Issue 227 in gambas: Problem with Drawingarea.... In-Reply-To: <0-6813199134517018827-4847384134784034062-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4847384134784034062-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4847384134784034062-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 227 by benoit.m... at ...626...: Problem with Drawingarea.... http://code.google.com/p/gambas/issues/detail?id=227 (No comment was entered for this change.) From gambas at ...2524... Sun Apr 1 14:21:45 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 01 Apr 2012 12:21:45 +0000 Subject: [Gambas-user] Issue 212 in gambas: Gambas3 is generating packages with dependencies gambas2 In-Reply-To: <4-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> <0-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #5 on issue 212 by benoit.m... at ...626...: Gambas3 is generating packages with dependencies gambas2 http://code.google.com/p/gambas/issues/detail?id=212 (No comment was entered for this change.) From gambas at ...2524... Sun Apr 1 20:42:28 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 01 Apr 2012 18:42:28 +0000 Subject: [Gambas-user] Issue 227 in gambas: Problem with Drawingarea.... In-Reply-To: <1-6813199134517018827-4847384134784034062-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4847384134784034062-gambas=googlecode.com@...2524...> <0-6813199134517018827-4847384134784034062-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4847384134784034062-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 227 by benoit.m... at ...626...: Problem with Drawingarea.... http://code.google.com/p/gambas/issues/detail?id=227 It should be fixed in revision #4591. From sundar_ima at ...251... Mon Apr 2 03:05:37 2012 From: sundar_ima at ...251... (sundar j) Date: 2 Apr 2012 01:05:37 -0000 Subject: [Gambas-user] =?utf-8?q?Load_hidden_file_to_variable=3F?= Message-ID: <1333209811.S.4477.36467.H.Tkp1c3NpIExhaHRpbmVuAFJlOiBbR2FtYmFzLXVzZXJdIExvYWQgaGlkZGVuIGZpbGUgdG8gdmFyaWFibGU_.RU.rfs222, rfs222, 457, 806.f4-234-219.old.1333328737.19848@...2802...> Ok. Ifound out the issue where it is. It seems to be associated with file extension. The file i want to load does not have any extension. So I created the same file with ".txt" extension inside the same hidden directory to see the result. This time it loaded fine and did not have an issue. However my problem remain same as gambas could not find the file without extension. How do I overcome this? From: Jussi Lahtinen <jussi.lahtinen at ...626...> Sent: Sat, 31 Mar 2012 21:33:31 To: sundar_ima at ...251..., mailing list for gambas users <gambas-user at lists.sourceforge.net> Subject: Re: [Gambas-user] Load hidden file to variable? Why it doesn't work? It cannot find the file? Or does it give you error message? Jussi On Sat, Mar 31, 2012 at 18:36, sundar j <sundar_ima at ...251...> wrote: I need to load file to a variable which is residing in side a hidden folder. So i tried to load it like If Exist("~/.applicationtempfile/.hiddendir/file") = True Then search = File.Load("~/.applicationtempfile/.hiddendir/file") ... rest of coding ... However obove code does not work. Any help??? ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From nando_f at ...951... Mon Apr 2 10:39:09 2012 From: nando_f at ...951... (nando) Date: Mon, 2 Apr 2012 03:39:09 -0500 Subject: [Gambas-user] Load hidden file to variable? In-Reply-To: <1333209811.S.4477.36467.H.Tkp1c3NpIExhaHRpbmVuAFJlOiBbR2FtYmFzLXVzZXJdIExvYWQgaGlkZGVuIGZpbGUgdG8gdmFyaWFibGU_.RU.rfs222, rfs222, 457, 806.f4-234-219.old.1333328737.19848@...2802...> References: <1333209811.S.4477.36467.H.Tkp1c3NpIExhaHRpbmVuAFJlOiBbR2FtYmFzLXVzZXJdIExvYWQgaGlkZGVuIGZpbGUgdG8gdmFyaWFibGU_.RU.rfs222, rfs222, 457, 806.f4-234-219.old.1333328737.19848@...2802...> Message-ID: <20120402081601.M88641@...951...> A hidden file IS hidden by default from normal views. So, the result appears to be correct. (Benoit: maybe a flag is needed for hidden files in call?) Nevertheless, LOAD ought to work with hidden files too. (Are your permissions correct) Files extensions and associations are a windoze thing and don't matter in Linux. ...and it shouldn't make a difference either what the extension is. Make sure your filename without an extension doesn't have a trailing dot because it can make things tricky and work funny to the human point of view. (especially coming from windoze world) So, in Linux: ~/.applicationtempfile/.hiddendir/file is not the same as ~/.applicationtempfile/.hiddendir/file. <==notice the trailing dot but in some versions of windoze/DOS, the two are the same file. It is especially true if you think the dot starts an extension (windoze) or if you understand the dot is just another character in the filename (Linux) Also, filenames and directories can be have spaces in their name. So 'Hello .' is a valid filename or directory name and 'Hello . ' is valid too and ' ' is also valid too so is ' ' (45 spaces, all spaces) How about this: (I'm doing this from memory..so it may be a little off on syntax) TRY search = File.Load("~/.applicationtempfile/.hiddendir/file") 'and on the next line, print the error produced PRINT Error. <===put something from Error. statement to describe the exact error. -Fernando ---------- Original Message ----------- From: "sundar j" To: "Jussi Lahtinen " Cc: mailing list for gambas users Sent: 2 Apr 2012 01:05:37 -0000 Subject: Re: [Gambas-user] Load hidden file to variable? > Ok. Ifound out the issue where it is. It seems to be associated with file > extension. The file i want to load does not have any extension. So I created the > same file with ".txt" extension inside the same hidden directory to see the > result. This time it loaded fine and did not have an issue. However my problem > remain same as gambas could not find the file without extension. How do I > overcome this? > > From: Jussi Lahtinen <jussi.lahtinen at ...626...> > Sent: Sat, 31 Mar 2012 21:33:31 > To: sundar_ima at ...251..., mailing list for gambas users <gambas-user at lists.sourceforge.net> > Subject: Re: [Gambas-user] Load hidden file to variable? > Why it doesn't work? It cannot find the file? Or does it give you error message? > > Jussi > > On Sat, Mar 31, 2012 at 18:36, sundar j <sundar_ima at ...251...> wrote: > > I need to load file to a variable which is residing in side a hidden folder. So > i tried to load it like > > If Exist("~/.applicationtempfile/.hiddendir/file") = True Then > > search = File.Load("~/.applicationtempfile/.hiddendir/file") > > ... > > rest of coding > > ... > > However obove code does not work. Any help??? > > ------------------------------------------------------------------------------ > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas at ...1... Mon Apr 2 11:38:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 02 Apr 2012 11:38:19 +0200 Subject: [Gambas-user] Load hidden file to variable? In-Reply-To: <4f78fb8c.e9d9320a.14a4.ffffa91eSMTPIN_ADDED@...2392...> References: <4f78fb8c.e9d9320a.14a4.ffffa91eSMTPIN_ADDED@...2392...> Message-ID: <4F79738B.4080505@...1...> Le 02/04/2012 03:05, sundar j a ?crit : > > Ok. Ifound out the issue where it is. It seems to be associated with file extension. The file i want to load does not have any extension. So I created the same file with ".txt" extension inside the same hidden directory to see the result. This time it loaded fine and did not have an issue. However my problem remain same as gambas could not find the file without extension. How do I overcome this? > Sorry, but Exist("~/.applicationtempfile/.hiddendir/file") perfectly works on my machine, whatever the file and directories names are. Check the file access rights ! Regards, -- Beno?t Minisini From gambas at ...2524... Mon Apr 2 14:19:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 02 Apr 2012 12:19:52 +0000 Subject: [Gambas-user] Issue 228 in gambas: Connection.Handle to get Pointer to underlying db->handle. Message-ID: <0-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 228 by ihaywo... at ...626...: Connection.Handle to get Pointer to underlying db->handle. http://code.google.com/p/gambas/issues/detail?id=228 1) Describe the problem. I would like to use some postgres-specific features that aren't part of the current DB interface. I can do this through EXTERN but I need the reference to the PGConn * structure that eh gambas driver has already created. I include a patch to create a Connection.Handle read-only property which provides a Gambas Pointer, allowing the necessary functionality. I have tested it with postgre, my rationale for putting it here is it could be useful with other database types also. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4591 Operating system: Linux Distribution: Debian squeeze Architecture: x86_64 GUI component: QT4 Desktop used: Gnome Attachments: conn.handle.patch 782 bytes From jussi.lahtinen at ...626... Mon Apr 2 15:06:42 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 2 Apr 2012 16:06:42 +0300 Subject: [Gambas-user] Gambas 3.1 will be released in a few days In-Reply-To: <4F7830DF.5050803@...1...> References: <4F7830DF.5050803@...1...> Message-ID: Revision 4591 seems to have bug. ? Date(2484515) 16/05/2002 00:00:00 ? "" & Date(2484515) 05/16/2002 Jussi 2012/4/1 Beno?t Minisini > Hi, > > I will release Gambas 3.1 in a few days. There were many last minute > fixes in the IDE packager. > > So you are welcome, translator, if you want to update your Gambas > translations before the release! > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sundar_ima at ...251... Mon Apr 2 17:47:53 2012 From: sundar_ima at ...251... (sundar j) Date: 2 Apr 2012 15:47:53 -0000 Subject: [Gambas-user] =?utf-8?q?Load_hidden_file_to_variable=3F?= Message-ID: <1333362366.S.5494.21734.H.Tm5hbmRvAFJlOiBbR2FtYmFzLXVzZXJdIExvYWQgaGlkZGVuIGZpbGUgdG8gdmFyaWFibGU, .RU.rfs222, rfs222, 802, 354.f4-235-213.old.1333381673.4016@...2802...> Print Error is False for both if statement and file.load function. I have checked file permission and it is root. I think file permission is not an issue here since it does not even detect file. Also i have tested the same with other file (root permission) and it works perfectly. Again i need not have to edit the file. From: "nando" <nando_f at ...951...> Sent: Mon, 02 Apr 2012 15:56:06 To: sundar_ima at ...251..., mailing list for gambas users <gambas-user at lists.sourceforge.net> Subject: Re: [Gambas-user] Load hidden file to variable? A hidden file IS hidden by default from normal views. So, the result appears to be correct. (Benoit: maybe a flag is needed for hidden files in call?) Nevertheless, LOAD ought to work with hidden files too. (Are your permissions correct) Files extensions and associations are a windoze thing and don't matter in Linux. ...and it shouldn't make a difference either what the extension is. Make sure your filename without an extension doesn't have a trailing dot because it can make things tricky and work funny to the human point of view. (especially coming from windoze world) So, in Linux: ~/.applicationtempfile/.hiddendir/file  is not the same as ~/.applicationtempfile/.hiddendir/file.   <==notice the trailing dot but in some versions of windoze/DOS, the two are the same file. It is especially true if you think the dot starts an extension (windoze) or if you understand the dot is just another character in the filename (Linux) Also, filenames and directories can be have spaces in their name. So  'Hello .'  is a valid filename or directory name and 'Hello . ' is valid too and ' ' is also valid too so is '                                             '  (45 spaces, all spaces) How about this: (I'm doing this from memory..so it may be a little off on syntax) TRY search = File.Load("~/.applicationtempfile/.hiddendir/file") 'and on the next line, print the error produced PRINT Error.  <===put something from Error. statement to describe the exact error. -Fernando ---------- Original Message ----------- From: "sundar j" <sundar_ima at ...251...> To: "Jussi Lahtinen " <jussi.lahtinen at ...626...> Cc: mailing list for gambas users  <gambas-user at lists.sourceforge.net> Sent: 2 Apr 2012 01:05:37 -0000 Subject: Re: [Gambas-user] Load hidden file to variable? > Ok. Ifound out the issue where it is. It seems to be associated with file > extension. The file i want to load does not have any extension. So I created the > same file with ".txt" extension inside the same hidden directory to see the > result. This time it loaded fine and did not have an issue. However my problem > remain same as gambas could not find the file without extension. How do I > overcome this? > > From: Jussi Lahtinen &lt;jussi.lahtinen at ...626...&gt; > Sent: Sat, 31 Mar 2012 21:33:31 > To: sundar_ima at ...251..., mailing list for gambas users &lt;');">gambas-user at lists.sourceforge.net>; > Subject: Re: [Gambas-user] Load hidden file to variable? > Why it doesn't work? It cannot find the file? Or does it give you error message? > > Jussi > > On Sat, Mar 31, 2012 at 18:36, sundar j &lt;');">sundar_ima at ...251...>; wrote: > > I need to load file to a variable which is residing in side a hidden folder. So > i tried to load it like > > If Exist("~/.applicationtempfile/.hiddendir/file") = True Then > > search = File.Load("~/.applicationtempfile/.hiddendir/file") > > ... > > rest of coding > > ... > > However obove code does not work. Any help??? > > ------------------------------------------------------------------------------ > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From tobiasboege01 at ...1601... Mon Apr 2 17:56:34 2012 From: tobiasboege01 at ...1601... (tobi) Date: Mon, 2 Apr 2012 17:56:34 +0200 Subject: [Gambas-user] Load hidden file to variable? In-Reply-To: <4f79ca5d.07882a0a.4205.32beSMTPIN_ADDED@...2392...> References: <4f79ca5d.07882a0a.4205.32beSMTPIN_ADDED@...2392...> Message-ID: <20120402155634.GF577@...2774...> On Mon, 02 Apr 2012, sundar j wrote: > Print Error is False for both if statement and file.load function. I have checked file permission and it is root. I think file permission is not an issue here since it does not even detect file. Also i have tested the same with other file (root permission) and it works perfectly. Again i need not have to edit the file. > wow, mail citation gets weird now. could we quickly recall? to clarify things to me, too... this all works as expected (gives True): Print Exist("~/....") Print Access("~/....", gb.Read) and Print File.Load("~/....") insistently fails? regards, tobi From gambas at ...1... Mon Apr 2 19:15:45 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 02 Apr 2012 19:15:45 +0200 Subject: [Gambas-user] Gambas 3.1 will be released in a few days In-Reply-To: References: <4F7830DF.5050803@...1...> Message-ID: <4F79DEC1.2040909@...1...> Le 02/04/2012 15:06, Jussi Lahtinen a ?crit : > Revision 4591 seems to have bug. > > ? Date(2484515) > 16/05/2002 00:00:00 > > ? ""& Date(2484515) > 05/16/2002 > > Jussi > No, it's normal: ? Date(2484515) <=> ? Str(Date(2484515)) whereas ? "" & Date(2484515) <=> ? Str("" & CStr(Date(2484515))) -- Beno?t Minisini From gambas at ...2524... Mon Apr 2 19:22:34 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 02 Apr 2012 17:22:34 +0000 Subject: [Gambas-user] Issue 228 in gambas: Connection.Handle to get Pointer to underlying db->handle. In-Reply-To: <0-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> Updates: Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement Comment #1 on issue 228 by benoit.m... at ...626...: Connection.Handle to get Pointer to underlying db->handle. http://code.google.com/p/gambas/issues/detail?id=228 (No comment was entered for this change.) From jussi.lahtinen at ...626... Mon Apr 2 19:25:29 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 2 Apr 2012 20:25:29 +0300 Subject: [Gambas-user] Gambas 3.1 will be released in a few days In-Reply-To: <4F79DEC1.2040909@...1...> References: <4F7830DF.5050803@...1...> <4F79DEC1.2040909@...1...> Message-ID: OK, so it comes from PRINT. Jussi 2012/4/2 Beno?t Minisini > Le 02/04/2012 15:06, Jussi Lahtinen a ?crit : > > Revision 4591 seems to have bug. > > > > ? Date(2484515) > > 16/05/2002 00:00:00 > > > > ? ""& Date(2484515) > > 05/16/2002 > > > > Jussi > > > > No, it's normal: > > ? Date(2484515) > <=> ? Str(Date(2484515)) > > whereas > > ? "" & Date(2484515) > <=> ? Str("" & CStr(Date(2484515))) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Mon Apr 2 19:26:37 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 02 Apr 2012 17:26:37 +0000 Subject: [Gambas-user] Issue 228 in gambas: Connection.Handle to get Pointer to underlying db->handle. In-Reply-To: <1-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> <0-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #2 on issue 228 by benoit.m... at ...626...: Connection.Handle to get Pointer to underlying db->handle. http://code.google.com/p/gambas/issues/detail?id=228 (No comment was entered for this change.) From gambas at ...2524... Mon Apr 2 20:34:48 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 02 Apr 2012 18:34:48 +0000 Subject: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories Message-ID: <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 229 by sebi... at ...626...: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 When creating and autotools installable package for a component, the makefile uses as a prefix. So if a component must be installed at it's actually installed at and instead of From emil.lenngren at ...626... Mon Apr 2 22:17:44 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 2 Apr 2012 22:17:44 +0200 Subject: [Gambas-user] Gambas 3.1 will be released in a few days In-Reply-To: References: <4F7830DF.5050803@...1...> <4F79DEC1.2040909@...1...> Message-ID: Yeah, as I said before, the string conversion is a bit non-trivial. If you do a simple CStr( ... ) conversion, or an implicit one, you get one result. When you use the Str( ... ) conversion (which also Print uses), you get a completely different representation ... I think the reason that there are two different conversion methods is that the implicit conversion should be fast and simple, while the Str conversion should be localized and return a more human-friendly string. 2012/4/2 Jussi Lahtinen > OK, so it comes from PRINT. > > Jussi > > > > 2012/4/2 Beno?t Minisini > > > Le 02/04/2012 15:06, Jussi Lahtinen a ?crit : > > > Revision 4591 seems to have bug. > > > > > > ? Date(2484515) > > > 16/05/2002 00:00:00 > > > > > > ? ""& Date(2484515) > > > 05/16/2002 > > > > > > Jussi > > > > > > > No, it's normal: > > > > ? Date(2484515) > > <=> ? Str(Date(2484515)) > > > > whereas > > > > ? "" & Date(2484515) > > <=> ? Str("" & CStr(Date(2484515))) > > > > -- > > Beno?t Minisini > > > > > > > ------------------------------------------------------------------------------ > > This SF email is sponsosred by: > > Try Windows Azure free for 90 days Click Here > > http://p.sf.net/sfu/sfd2d-msazure > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1823... Tue Apr 3 00:21:59 2012 From: rterry at ...1823... (richard terry) Date: Tue, 3 Apr 2012 08:21:59 +1000 Subject: [Gambas-user] Webbrowser and login to sites Message-ID: <201204030821.59633.rterry@...1823...> Hi List, I've noticed that when I put the webbrowser into my project that sites which need a login I can't access. The login dialog pops up ok, but the password/username don't seem to get passed to the site, Any one tried this or knows a solution. Regards Richard From gambas at ...1... Tue Apr 3 00:51:27 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 03 Apr 2012 00:51:27 +0200 Subject: [Gambas-user] Webbrowser and login to sites In-Reply-To: <201204030821.59633.rterry@...1823...> References: <201204030821.59633.rterry@...1823...> Message-ID: <4F7A2D6F.70707@...1...> Le 03/04/2012 00:21, richard terry a ?crit : > Hi List, > > I've noticed that when I put the webbrowser into my project that sites which > need a login I can't access. > > The login dialog pops up ok, but the password/username don't seem to get > passed to the site, > > Any one tried this or knows a solution. > > Regards > > Richard > Look at how the WebBrowser example does! -- Beno?t Minisini From rterry at ...1823... Tue Apr 3 01:18:59 2012 From: rterry at ...1823... (richard terry) Date: Tue, 3 Apr 2012 09:18:59 +1000 Subject: [Gambas-user] Webbrowser and login to sites In-Reply-To: <4F7A2D6F.70707@...1...> References: <201204030821.59633.rterry@...1823...> <4F7A2D6F.70707@...1...> Message-ID: <201204030918.59205.rterry@...1823...> On Tuesday 03 April 2012 08:51:27 Beno?t Minisini wrote: > Le 03/04/2012 00:21, richard terry a ?crit : > > Hi List, > > > > I've noticed that when I put the webbrowser into my project that sites > > which need a login I can't access. > > > > The login dialog pops up ok, but the password/username don't seem to get > > passed to the site, > > > > Any one tried this or knows a solution. > > > > Regards > > > > Richard > > Look at how the WebBrowser example does! > thanks, will do From gambas at ...2524... Tue Apr 3 02:22:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 03 Apr 2012 00:22:52 +0000 Subject: [Gambas-user] Issue 228 in gambas: Connection.Handle to get Pointer to underlying db->handle. In-Reply-To: <2-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> <0-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1297206483144752000-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 228 by benoit.m... at ...626...: Connection.Handle to get Pointer to underlying db->handle. http://code.google.com/p/gambas/issues/detail?id=228 Done in revision #4592. From gambas at ...2524... Tue Apr 3 03:04:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 03 Apr 2012 01:04:22 +0000 Subject: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories In-Reply-To: <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 229 by benoit.m... at ...626...: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 Apparently this is done explicitly in the Makefile.am file (by using the $(prefix) variable), but I don't know why. Only Laurent Carlier could say why he did that. From gambas at ...2524... Tue Apr 3 10:39:23 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 03 Apr 2012 08:39:23 +0000 Subject: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories In-Reply-To: <1-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Comment #2 on issue 229 by adamn... at ...626...: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 Is this similar/related to issue #143? From joem at ...2671... Tue Apr 3 11:09:10 2012 From: joem at ...2671... (jm) Date: Tue, 03 Apr 2012 10:09:10 +0100 Subject: [Gambas-user] About Visual Studio Express In-Reply-To: <4F7306D3.6010201@...626...> References: <4F7306D3.6010201@...626...> Message-ID: <1333444150.1816.39.camel@...2672...> On Wed, 2012-03-28 at 15:40 +0300, Demosthenes Koptsis wrote: > These days i started to test Visual Studio Express 2010 to compare it > with Gambas3. > > Does anyone have any experience with VB Studio Express ? > > Are there any characteristics that may be we wanted to see in Gambas3 ? > > Thank you ! I don't do VB, but here is one feature I would sorely appreciate. [This may be too much to ask.] I do 'frenzied' amounts of Gambas programming when on a roll, and keep hitting one brick wall often. The most common problem is knowing what objects are what and their properties and methods in an easy way that doesn't interfere with 'frenzied' programming and debugging flow. Take something like the object "Application.Path" which you might find in code. When I double click Application, it highlights that part of the text. When I then right click, I get a pop up menu to insert a break point, cut, paste, copy, etc. All nice. What I also want is an "info" menu option added to the pop up menu. The info menu will open a sub menu with first item titled help. If I click help, it launches a web browser of choice and a html file that documents that object. The remaining items in the sub menu is all the properties and methods of "Application" object can be set to, and if I click on any of those I get help on each of those sub properties. If I highlight the "Path" in "Application.Path", and then right click, the info menu should change context to pull out help files relating to Path. The closest I can get to at the moment is to type "Application." and as soon I enter the "." a pop up displays all the properties and methods which allows one to guess the parameters of "Application" and effectively in an indirect way obtain limited help on "Application" object. The same scheme of info menu can be extended for all the other objects such as TextBox1.Text etc. The info menu will discover the object type that has been selected and populate the sub menus with all the correct values so that help can be obtained instantly on any object and property or method. In my opinion it will help a lot with rapid programming and debugging flow. #### aside ### As an aside, HTML documentation is becoming a lot easier to manage. If the HTML file is opened with konqueror, then install kompiz as well for editing the HTML file. After installing kompiz, right clicking a document in konqueror brings up a menu with option "Open With >". Clicking that opens a sub menu that lists kompiz. Click on the kompiz and hey presto, the HTML file is now opened for WYSIWYG editing! The edited files can be saved. So the next time you press for HTML based help through the info method, you got the most up to date help file that you personally updated with code fragments and helpful notes. Developers can contribute their personal help files back to the project. It would be good to offer the option to keep a duplicate copy of html directory as a personal html directory that does not get over written when new versions of gambas are installed. ______________________________________________________________________________ This message has been checked for viruses and spam by Corpex using the ArmourPlate Anti Virus and Anti Spam Scanning Service. To find out more and see our email archiving service see http://www.armourplate.com or call Corpex on UK 0845 050 1898. From gambas at ...2524... Tue Apr 3 11:24:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 03 Apr 2012 09:24:46 +0000 Subject: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories In-Reply-To: <2-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Comment #3 on issue 229 by sebi... at ...626...: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 I think it is. The diff2 tries to fix the problem, but the creator deleted both the prefix and DESTDIR variables. One at least must be used, as the ideal situation is where the user can change the location when executing make prefix=/my/path install. In this case, I think the prefix variable should still be used, but set to an empty string, so the default path get's fixed and the option to change the prefix is left intact. From bbruen at ...2308... Tue Apr 3 13:02:27 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 03 Apr 2012 20:32:27 +0930 Subject: [Gambas-user] About Visual Studio Express In-Reply-To: <1333444150.1816.39.camel@...2672...> References: <4F7306D3.6010201@...626...> <1333444150.1816.39.camel@...2672...> Message-ID: <1333450947.6337.6.camel@...2688...> On Tue, 2012-04-03 at 10:09 +0100, jm wrote: > On Wed, 2012-03-28 at 15:40 +0300, Demosthenes Koptsis wrote: > > These days i started to test Visual Studio Express 2010 to compare it > > with Gambas3. > > > > Does anyone have any experience with VB Studio Express ? > > > > Are there any characteristics that may be we wanted to see in Gambas3 ? > > > > Thank you ! > > I don't do VB, but here is one feature I would sorely appreciate. > > [This may be too much to ask.] > > I do 'frenzied' amounts of Gambas programming when on a roll, and keep > hitting one brick wall often. > > The most common problem is knowing what objects are what and their > properties and methods in an easy way that doesn't interfere with > 'frenzied' programming and debugging flow. > > Take something like the object "Application.Path" which you might find > in code. > > When I double click Application, it highlights that part of the text. > When I then right click, I get a pop up menu to insert a break point, > cut, paste, copy, etc. All nice. What I also want is an "info" menu > option added to the pop up menu. > Try double clicking on Application and then hitting F2 ( or even just click the cursor somewhere in "Application" and hit F2). If you really want it on the context menu, try "Find Definition". > The info menu will open a sub menu with first item titled help. > If I click help, it launches a web browser of choice and a html file > that documents that object. > The remaining items in the sub menu is all the properties and methods of > "Application" object can be set to, and if I click on any of those I get > help on each of those sub properties. > > If I highlight the "Path" in "Application.Path", and then right click, > the info menu should change context to pull out help files > relating to Path. > Not really sure what you mean by "help files relating to Path." but if the cursor is positioned in the Path part of "Application.Path", then F2 (or the context menu "Find Definition") brings up the help on Application.Path for me OK. > The closest I can get to at the moment is to type "Application." > and as soon I enter the "." a pop up displays all the properties and > methods which allows one to guess the parameters of "Application" > and effectively in an indirect way obtain limited help on "Application" > object. > > The same scheme of info menu can be extended for all the other objects > such as TextBox1.Text etc. The info menu will discover the object type > that has been selected and populate the sub menus with all the > correct values so that help can be obtained instantly on any object > and property or method. > > In my opinion it will help a lot with rapid programming and debugging > flow. > > #### aside ### > > As an aside, HTML documentation is becoming a lot easier to manage. > If the HTML file is opened with konqueror, then install kompiz as well > for editing the HTML file. After installing kompiz, right clicking a > document in konqueror brings up a menu with option > "Open With >". Clicking that opens a sub menu that lists kompiz. Click > on the kompiz and hey presto, the HTML file is now opened for WYSIWYG > editing! > > The edited files can be saved. So the next time you press for HTML based > help through the info method, you got the most up to date help file that > you personally updated with code fragments and helpful notes. > Developers can contribute their personal help files back to the project. > > It would be good to offer the option to keep a duplicate copy of html > directory as a personal html directory that does not get over written > when new versions of gambas are installed. On this, I have no idea. Cheers Bruce From gambas at ...2524... Tue Apr 3 13:19:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 03 Apr 2012 11:19:38 +0000 Subject: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories In-Reply-To: <3-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Comment #4 on issue 229 by adamn... at ...626...: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 Good! If you have gone though the history of 143, you'll see that I wasn't too sure of diff2 as, like Benoit, I couldn't really understand what Laurent was trying to do. So it is left in abeyance. I am a bit busy at the moment (gb2->gb3 migration, new house, new job, blah blah, etc) and I don't really have the time in the next couple of days (or possibly weeks) to devote any time to this. But if you have any suggested changes re diff2, I'd appreciate the input so that that one could be "put to bed". Further conversations should probably best be put on the mail forum. cheers Bruce From sebikul at ...626... Tue Apr 3 13:23:19 2012 From: sebikul at ...626... (Sebi) Date: Tue, 3 Apr 2012 11:23:19 +0000 Subject: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories In-Reply-To: <4-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> <4-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Message-ID: <1411957256-1333452201-cardhu_decombobulator_blackberry.rim.net-852168088-@...2799...> No problem, I will try to make a patch based on the diff2 file. I won't have time until tomorrow noon, but I will definitely do it. Thanks for your help -----Original Message----- From: gambas at ...2524... Date: Tue, 03 Apr 2012 11:19:38 To: Reply-To: codesite-noreply at ...2027..., mailing list for gambas users Subject: Re: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories Comment #4 on issue 229 by adamn... at ...626...: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 Good! If you have gone though the history of 143, you'll see that I wasn't too sure of diff2 as, like Benoit, I couldn't really understand what Laurent was trying to do. So it is left in abeyance. I am a bit busy at the moment (gb2->gb3 migration, new house, new job, blah blah, etc) and I don't really have the time in the next couple of days (or possibly weeks) to devote any time to this. But if you have any suggested changes re diff2, I'd appreciate the input so that that one could be "put to bed". Further conversations should probably best be put on the mail forum. cheers Bruce ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From joem at ...2671... Tue Apr 3 15:24:13 2012 From: joem at ...2671... (jm) Date: Tue, 03 Apr 2012 14:24:13 +0100 Subject: [Gambas-user] About Visual Studio Express In-Reply-To: <1333450947.6337.6.camel@...2688...> References: <4F7306D3.6010201@...626...> <1333444150.1816.39.camel@...2672...> <1333450947.6337.6.camel@...2688...> Message-ID: <1333459453.6913.7.camel@...2672...> On Tue, 2012-04-03 at 20:32 +0930, Bruce Bruen wrote: > On Tue, 2012-04-03 at 10:09 +0100, jm wrote: > > On Wed, 2012-03-28 at 15:40 +0300, Demosthenes Koptsis wrote: > > > These days i started to test Visual Studio Express 2010 to compare it > > > with Gambas3. > > > > > > Does anyone have any experience with VB Studio Express ? > > > > > > Are there any characteristics that may be we wanted to see in Gambas3 ? > > > > > > Thank you ! > > > > I don't do VB, but here is one feature I would sorely appreciate. > > > > [This may be too much to ask.] > > > > I do 'frenzied' amounts of Gambas programming when on a roll, and keep > > hitting one brick wall often. > > > > The most common problem is knowing what objects are what and their > > properties and methods in an easy way that doesn't interfere with > > 'frenzied' programming and debugging flow. > > > > Take something like the object "Application.Path" which you might find > > in code. > > > > When I double click Application, it highlights that part of the text. > > When I then right click, I get a pop up menu to insert a break point, > > cut, paste, copy, etc. All nice. What I also want is an "info" menu > > option added to the pop up menu. > > > > Try double clicking on Application and then hitting F2 That seems to work 100% with gambas 3. Thanks - that is all I needed to go programming at screaming speeds! :-) ______________________________________________________________________________ This message has been checked for viruses and spam by Corpex using the ArmourPlate Anti Virus and Anti Spam Scanning Service. To find out more and see our email archiving service see http://www.armourplate.com or call Corpex on UK 0845 050 1898. From joe1962 at ...626... Tue Apr 3 15:31:29 2012 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 3 Apr 2012 09:31:29 -0400 Subject: [Gambas-user] Create an application with root/sudo previlege In-Reply-To: <33522274.post@...1379...> References: <33522274.post@...1379...> Message-ID: On 3/21/12, sundar_ima wrote: > > I am creating an application which calls bash scripts many time with > sudo/root privilege. Though i can execute bash script with either kdesu or > gksu, it asks password many times. Instead it would be nice if any one help > me on opening an application with sudo/root access. I have searched in > google and found only this link on the subject > http://old.nabble.com/Re%3A-Gambas-app-run-as-root-p29871170.html > http://old.nabble.com/Re%3A-Gambas-app-run-as-root-p29871170.html . However > when i tried (last example by Joe1962) the example, i got an error in > "Global.root = TRUE" line. In AutoIT adding a line "#include Admin" will > solve the problem. > -- Sorry, the example was not the whole app. You need a Global class with variable named "root" and defined as boolean. It was used to know when the app was already running as root. I cannot be more clear, or send the whole code right now because I just lost most of my stuff due to a hard drive failure. regards, Joe1962 From demosthenesk at ...626... Tue Apr 3 20:21:24 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Tue, 03 Apr 2012 21:21:24 +0300 Subject: [Gambas-user] About Visual Studio Express In-Reply-To: <1333450947.6337.6.camel@...2688...> References: <4F7306D3.6010201@...626...> <1333444150.1816.39.camel@...2672...> <1333450947.6337.6.camel@...2688...> Message-ID: <4F7B3FA4.3070106@...626...> On 04/03/2012 02:02 PM, Bruce Bruen wrote: > It would be good to offer the option to keep a duplicate copy of html > directory as a personal html directory that does not get over written > when new versions of gambas are installed. About this in the past i proposed a feature for Gambas help system to be similar with PHP documentation. There (PHP Docs) users can add comments and examples of code at every page after origianal description of a function, command, etc... With this way personal comments can be public and full of examples. Even thought this is not a VB feature it is worth to mention it here. From willy at ...2734... Wed Apr 4 00:44:54 2012 From: willy at ...2734... (Willy Raets) Date: Wed, 04 Apr 2012 00:44:54 +0200 Subject: [Gambas-user] How to download a file? In-Reply-To: <33544764.post@...1379...> References: <33544764.post@...1379...> Message-ID: <1333493094.2460.27.camel@...2735...> Try this: Dim sSourcePath, sCopyPath As String sSourcePath = "http://mydomain/test" sCopyPath = User.Home & "/Test" If Not(Exist(sCopyPath) Then MKDIR sCopyPath Endif sCopyPath = sCopyPath & "/test" If Exist(sCopyPath) Then KILL sCopyPath Endif DownloadFile(sSourcePath) PUBLIC SUB DownloadFile(sURL AS String) hGetFileClient.URL = sURL hGetFileClient.TimeOut = 5 hGetFileClient.Async = TRUE hGetFileClient.Get(User.Home & "/Test/test") END PUBLIC SUB hGetFileClient_Error() hGetFileClient.Stop() END PUBLIC SUB hGetFileClient_Finished() hGetFileClient.Stop() END On ma, 2012-03-26 at 14:25 -0700, abbat wrote: > I have a file on: > www.mydomain.com/test > > I tried : > > > sSourcePath = "http://mydomain" > sCopyPath = User.Home & "/Test/" > Copy sSourcePath & "test" To sCopyPath & "test" > > but "File or Directory does not exist" > > How to download a file? > Thanks From willy at ...2734... Wed Apr 4 01:49:44 2012 From: willy at ...2734... (Willy Raets) Date: Wed, 04 Apr 2012 01:49:44 +0200 Subject: [Gambas-user] How to download a file? In-Reply-To: <1333493094.2460.27.camel@...2735...> References: <33544764.post@...1379...> <1333493094.2460.27.camel@...2735...> Message-ID: <1333496984.2460.29.camel@...2735...> On wo, 2012-04-04 at 00:44 +0200, Willy Raets wrote: > Try this: > > Dim sSourcePath, sCopyPath As String > sSourcePath = "http://mydomain/test" > sCopyPath = User.Home & "/Test" > If Not(Exist(sCopyPath) Then > MKDIR sCopyPath > Endif > sCopyPath = sCopyPath & "/test" > If Exist(sCopyPath) Then > KILL sCopyPath > Endif > DownloadFile(sSourcePath) > Forgot one line of code that needs to go here: PUBLIC hGetFileClient AS NEW HttpClient AS "hGetFileClient" > PUBLIC SUB DownloadFile(sURL AS String) > > hGetFileClient.URL = sURL > hGetFileClient.TimeOut = 5 > hGetFileClient.Async = TRUE > hGetFileClient.Get(User.Home & "/Test/test") > > END > > PUBLIC SUB hGetFileClient_Error() > > hGetFileClient.Stop() > > END > > PUBLIC SUB hGetFileClient_Finished() > > hGetFileClient.Stop() > > END > > > > On ma, 2012-03-26 at 14:25 -0700, abbat wrote: > > I have a file on: > > www.mydomain.com/test > > > > I tried : > > > > > > sSourcePath = "http://mydomain" > > sCopyPath = User.Home & "/Test/" > > Copy sSourcePath & "test" To sCopyPath & "test" > > > > but "File or Directory does not exist" > > > > How to download a file? > > Thanks > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From willy at ...2734... Wed Apr 4 01:53:14 2012 From: willy at ...2734... (Willy Raets) Date: Wed, 04 Apr 2012 01:53:14 +0200 Subject: [Gambas-user] How to download a file? In-Reply-To: <1333496984.2460.29.camel@...2735...> References: <33544764.post@...1379...> <1333493094.2460.27.camel@...2735...> <1333496984.2460.29.camel@...2735...> Message-ID: <1333497194.2460.31.camel@...2735...> Oh..and you need components: - gb.net - gb.net.curl to make it work... Good luck, Willy On wo, 2012-04-04 at 01:49 +0200, Willy Raets wrote: > On wo, 2012-04-04 at 00:44 +0200, Willy Raets wrote: > > Try this: > > > > Dim sSourcePath, sCopyPath As String > > sSourcePath = "http://mydomain/test" > > sCopyPath = User.Home & "/Test" > > If Not(Exist(sCopyPath) Then > > MKDIR sCopyPath > > Endif > > sCopyPath = sCopyPath & "/test" > > If Exist(sCopyPath) Then > > KILL sCopyPath > > Endif > > DownloadFile(sSourcePath) > > > > Forgot one line of code that needs to go here: > > PUBLIC hGetFileClient AS NEW HttpClient AS "hGetFileClient" > > > PUBLIC SUB DownloadFile(sURL AS String) > > > > hGetFileClient.URL = sURL > > hGetFileClient.TimeOut = 5 > > hGetFileClient.Async = TRUE > > hGetFileClient.Get(User.Home & "/Test/test") > > > > END > > > > PUBLIC SUB hGetFileClient_Error() > > > > hGetFileClient.Stop() > > > > END > > > > PUBLIC SUB hGetFileClient_Finished() > > > > hGetFileClient.Stop() > > > > END > > > > > > > > On ma, 2012-03-26 at 14:25 -0700, abbat wrote: > > > I have a file on: > > > www.mydomain.com/test > > > > > > I tried : > > > > > > > > > sSourcePath = "http://mydomain" > > > sCopyPath = User.Home & "/Test/" > > > Copy sSourcePath & "test" To sCopyPath & "test" > > > > > > but "File or Directory does not exist" > > > > > > How to download a file? > > > Thanks > > > > > > > > ------------------------------------------------------------------------------ > > Better than sec? Nothing is better than sec when it comes to > > monitoring Big Data applications. Try Boundary one-second > > resolution app monitoring today. Free. > > http://p.sf.net/sfu/Boundary-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From willy at ...2734... Wed Apr 4 02:05:31 2012 From: willy at ...2734... (Willy Raets) Date: Wed, 04 Apr 2012 02:05:31 +0200 Subject: [Gambas-user] How to download a file? In-Reply-To: <1333497194.2460.31.camel@...2735...> References: <33544764.post@...1379...> <1333493094.2460.27.camel@...2735...> <1333496984.2460.29.camel@...2735...> <1333497194.2460.31.camel@...2735...> Message-ID: <1333497931.2460.40.camel@...2735...> On wo, 2012-04-04 at 01:53 +0200, Willy Raets wrote: > Oh..and you need components: > - gb.net > - gb.net.curl > to make it work... > > Good luck, > > Willy > > On wo, 2012-04-04 at 01:49 +0200, Willy Raets wrote: > > On wo, 2012-04-04 at 00:44 +0200, Willy Raets wrote: > > > Try this: > > > > > > Dim sSourcePath, sCopyPath As String > > > sSourcePath = "http://mydomain/test" Looking at your original post again the file is not located at http://mydomain/test but at http://www.mydomain.com/test So sSourcePath should be: sSourcePath = "http://www.mydomain.com/test" > > > sCopyPath = User.Home & "/Test" > > > If Not(Exist(sCopyPath) Then > > > MKDIR sCopyPath > > > Endif > > > sCopyPath = sCopyPath & "/test" > > > If Exist(sCopyPath) Then > > > KILL sCopyPath > > > Endif Instead of: > > > DownloadFile(sSourcePath) You could do: DownloadFile (sSourcePath, SCopyPath) > > > > Forgot one line of code that needs to go here: > > > > PUBLIC hGetFileClient AS NEW HttpClient AS "hGetFileClient" > > You then need to change this > > > PUBLIC SUB DownloadFile(sURL AS String) to this: PUBLIC SUB DownloadFile(sUrl As String, sLocPath As String) > > > > > > hGetFileClient.URL = sURL > > > hGetFileClient.TimeOut = 5 > > > hGetFileClient.Async = TRUE And change this > > > hGetFileClient.Get(User.Home & "/Test/test") to this: hGetFileClient.Get(sLocPath) > > > > > > END > > > > > > PUBLIC SUB hGetFileClient_Error() > > > > > > hGetFileClient.Stop() > > > > > > END > > > > > > PUBLIC SUB hGetFileClient_Finished() > > > > > > hGetFileClient.Stop() > > > > > > END > > > > > > > > > > > > On ma, 2012-03-26 at 14:25 -0700, abbat wrote: > > > > I have a file on: > > > > www.mydomain.com/test > > > > > > > > I tried : > > > > > > > > > > > > sSourcePath = "http://mydomain" > > > > sCopyPath = User.Home & "/Test/" > > > > Copy sSourcePath & "test" To sCopyPath & "test" > > > > > > > > but "File or Directory does not exist" > > > > > > > > How to download a file? > > > > Thanks Hope you get the idea :-) From lordheavym at ...626... Wed Apr 4 08:59:59 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Wed, 04 Apr 2012 08:59:59 +0200 Subject: [Gambas-user] Archlinux package creation In-Reply-To: References: Message-ID: <2644117.QeZEBjuXyQ@...2592...> > Hi. I'm having trouble creating an Archlinux installation package. It > seems to create it successfully, but when i check the destination > folder it's empty and there is no PKGBUILD file. Can somebody > reproduce this? > > Thanks! > Can you post a project that reproduce the issue ? Can you post the log of the package building process ? The first step is to fill an issue on the bug tracker https://code.google.com/p/gambas/wiki/Help?tm=3 Currently i cannot reproduce this bug, but i'm on the way to add some new features (extra dependencies and extra files support) ++ From gambas at ...2524... Wed Apr 4 15:53:47 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Apr 2012 13:53:47 +0000 Subject: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories In-Reply-To: <4-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Comment #5 on issue 229 by Lordhea... at ...626...: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 Please test rev4594 From gambas at ...2524... Wed Apr 4 15:57:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Apr 2012 13:57:52 +0000 Subject: [Gambas-user] Issue 143 in gambas: Changes for automake for GB3 In-Reply-To: <2-6813199134517018827-588645384737477774-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-588645384737477774-gambas=googlecode.com@...2524...> <0-6813199134517018827-588645384737477774-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-588645384737477774-gambas=googlecode.com@...2524...> Comment #3 on issue 143 by Lordhea... at ...626...: Changes for automake for GB3 http://code.google.com/p/gambas/issues/detail?id=143 Please test rev4594 From gambas at ...2524... Wed Apr 4 20:32:21 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Apr 2012 18:32:21 +0000 Subject: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK Message-ID: <0-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 230 by ea7... at ...626...: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 1) Describe the problem. Saving a file via Dialog.SaveFile using gb.gtk produces a malformed file name when there are spaces in the file name. It seems it's encoding the spaces as if it was an url '%20'. When using gb.qt4 all goes well. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK 3,1 Revision: r4594 Operating system: Linux Distribution: Debian Squeeze Architecture: Linux debian 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686 GNU/Linux GUI component: GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. Run this simple code switching between components qt4 / gtk. : Public Sub Form_Open() Dim pPrinter As New Printer 'test vars Dim var1 As String = "name with" Dim var2 As String = "spaces" Dialog.Title = "File target" Dialog.Path = "/tmp/" & "A file " & var1 & " " & var2 ' Dialog.Path = Subst$("/tmp/A file &1 &2", var1, var2) 'using subst doesn't help either Dialog.Filter = ["*.pdf", "Portable Document Format"] If Dialog.SaveFile() Then Return pPrinter.OutputFile = Dialog.Path Print Dialog.Path 'test console output pPrinter.Print End 4) If your project needs a database, try to provide it, or part of it. n/a 5) Explain clearly how to reproduce the bug or the crash. Run previous code From gambas at ...2524... Wed Apr 4 22:17:51 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Apr 2012 20:17:51 +0000 Subject: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories In-Reply-To: <5-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Comment #6 on issue 229 by sebi... at ...626...: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 Works as expected. Issue #143 can be closed too. Thanks!! From sebikul at ...626... Wed Apr 4 22:37:23 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 4 Apr 2012 17:37:23 -0300 Subject: [Gambas-user] Archlinux package creation In-Reply-To: <2644117.QeZEBjuXyQ@...2592...> References: <2644117.QeZEBjuXyQ@...2592...> Message-ID: On Wed, Apr 4, 2012 at 3:59 AM, Laurent Carlier wrote: >> Hi. I'm having trouble creating an Archlinux installation package. It >> seems to create it successfully, but when i check the destination >> folder it's empty and there is no PKGBUILD file. Can somebody >> reproduce this? >> >> Thanks! >> > > Can you post a project that reproduce the issue ? > Can you post the log of the package building process ? > > The first step is to fill an issue on the bug tracker https://code.google.com/p/gambas/wiki/Help?tm=3 > > Currently i cannot reproduce this bug, but i'm on the way to add some new features (extra dependencies and extra files support) > > ++ > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user This issue is not project specific. If you take a look at the Packager.module line #1547(rev 4594) [0] you should see the command: RunCommand("cp " & String.LCase$($sName) & "-" & $sVersion & "-1*.tar.* " & Path &/ "", sBuildDir) If you execute it (ergo, try to build a package) on a path containing at least 1 space character, it will fail to copy the built files. The and variables should be escaped using Shell$(VAR) for it to work without failing. Other variables should also be escaped to avoid issues. Thanks! [0] http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/app/src/gambas3/.src/Packager/Package.module?revision=4594&view=markup&pathrev=4594#l1547 From gambas at ...2524... Thu Apr 5 00:55:01 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Apr 2012 22:55:01 +0000 Subject: [Gambas-user] Issue 143 in gambas: Changes for automake for GB3 In-Reply-To: <3-6813199134517018827-588645384737477774-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-588645384737477774-gambas=googlecode.com@...2524...> <0-6813199134517018827-588645384737477774-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-588645384737477774-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 143 by benoit.m... at ...626...: Changes for automake for GB3 http://code.google.com/p/gambas/issues/detail?id=143 Fixed in revision #4594. From gambas at ...1... Thu Apr 5 00:58:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 05 Apr 2012 00:58:35 +0200 Subject: [Gambas-user] Archlinux package creation In-Reply-To: References: <2644117.QeZEBjuXyQ@...2592...> Message-ID: <4F7CD21B.4070800@...1...> Le 04/04/2012 22:37, Sebastian Kulesz a ?crit : > On Wed, Apr 4, 2012 at 3:59 AM, Laurent Carlier > wrote: >>> Hi. I'm having trouble creating an Archlinux installation package. It >>> seems to create it successfully, but when i check the destination >>> folder it's empty and there is no PKGBUILD file. Can somebody >>> reproduce this? >>> >>> Thanks! >>> >> >> Can you post a project that reproduce the issue ? >> Can you post the log of the package building process ? >> >> The first step is to fill an issue on the bug tracker > https://code.google.com/p/gambas/wiki/Help?tm=3 >> >> Currently i cannot reproduce this bug, but i'm on the way to add some new > features (extra dependencies and extra files support) >> >> ++ > > This issue is not project specific. If you take a look at the > Packager.module line #1547(rev 4594) [0] you should see the command: > > RunCommand("cp "& String.LCase$($sName)& "-"& $sVersion& "-1*.tar.* "& > Path&/ "", sBuildDir) > > If you execute it (ergo, try to build a package) on a path containing at > least 1 space character, it will fail to copy the built files. The > and variables should be escaped using Shell$(VAR) > for it to work without failing. Other variables should also be escaped to > avoid issues. > > Thanks! > > OK. It should be fixed in revision #4595. Regards, -- Beno?t Minisini From gambas at ...2524... Thu Apr 5 00:59:05 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Apr 2012 22:59:05 +0000 Subject: [Gambas-user] Issue 229 in gambas: Creating an installable package for a component with autotools uses wrong directories In-Reply-To: <6-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> <0-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-16569230666984723446-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #7 on issue 229 by benoit.m... at ...626...: Creating an installable package for a component with autotools uses wrong directories http://code.google.com/p/gambas/issues/detail?id=229 (No comment was entered for this change.) From gambas at ...1... Thu Apr 5 00:59:40 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 05 Apr 2012 00:59:40 +0200 Subject: [Gambas-user] adding functions to gb.db.postgresql In-Reply-To: <4F7449F0.7020606@...1...> References: <4F7449F0.7020606@...1...> Message-ID: <4F7CD25C.9020204@...1...> Le 29/03/2012 13:39, Beno?t Minisini a ?crit : > Le 29/03/2012 04:58, Ian Haywood a ?crit : >> This is not so much a feature request as a question on how to get >> started. >> >> There are two functions of the underlying postgres C interface that I >> would like to expose to Gambas: >> PQnotifies() [which returns postgres notification events], and >> PQsocket () which returns >> the FD of the socket the library is using to communicate with the >> server, (my plan is to monitor it >> using the 'Open "."& fd For Read Watch' trick introduced in #4134) >> >> I'm happy to do the C programming and submit a patch, what I'm unclear >> on is how to extend >> the Gambas bindings, it's clear from looking at the code that the >> database components are all "drivers" for a fixed common API, >> problem is this feature (notifications) is very specific to >> postgresql, I don't know if it's possible to add >> a couple of "extra" methods to gb.db.postgresql >> >> thanks >> >> Ia Haywood >> > > I suggest that you try to use libpq directly with EXTERN declarations, > because this is really a specific postgresql feature. > > Regards, > Connection.Handle property added in revision #4592. Regards, -- Beno?t Minisini From gambas at ...2524... Thu Apr 5 01:04:09 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Apr 2012 23:04:09 +0000 Subject: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK In-Reply-To: <0-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #1 on issue 230 by benoit.m... at ...626...: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 (No comment was entered for this change.) From gambas at ...2524... Thu Apr 5 02:24:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 05 Apr 2012 00:24:10 +0000 Subject: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK In-Reply-To: <1-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> <0-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #2 on issue 230 by benoit.m... at ...626...: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 I actually just get a warning from GTK+, but the path returned by Dialog.Path is correct. Which version of GTK+ do you use? From gambas at ...2524... Thu Apr 5 12:42:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 05 Apr 2012 10:42:46 +0000 Subject: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK In-Reply-To: <2-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> <0-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Comment #3 on issue 230 by ea7... at ...626...: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 Well, version of GTK+ is: jesus at ...57...:~$ pkg-config --modversion gtk+-2.0 2.20.1 The path returned by Dialog.Path is correct and it seems so in console output, but not the generated filename itself. See attached screenshot. Moreover, the complete path (the file name) isn't shown in the dialog textbox, so one must to write in manually. regards Attachments: Captura de pantalla 2012-04-05 a las 12.36.21.png 110 KB From dr.diesel at ...626... Thu Apr 5 14:27:04 2012 From: dr.diesel at ...626... (Dr.Diesel) Date: Thu, 5 Apr 2012 05:27:04 -0700 (PDT) Subject: [Gambas-user] Trouble compiling gb.net SVN 4597 Message-ID: <33569670.post@...1379...> This could be a Fedora 17 issue, as Fedora 16 compiles fine. I'm happy to email entire output of below if necessary. I know code tags don't work, but you get the idea! Thanks [code] autoreconf: configure.ac: adding subdirectory gb.net to autoreconf autoreconf: Entering directory `gb.net' autoreconf: configure.ac: not using aclocal autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Autoheader autoreconf: configure.ac: not using Automake autoreconf: Leaving directory `gb.net' autoreconf: configure.ac: adding subdirectory gb.net.curl to autoreconf autoreconf: Entering directory `gb.net.curl' autoreconf: Leaving directory `gb.net.curl' autoreconf: configure.ac: adding subdirectory gb.net.smtp to autoreconf autoreconf: Entering directory `gb.net.smtp' autoreconf: Leaving directory `gb.net.smtp' [/code] [code] 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 === configuring in gb.net (/home/andy/trunk/gb.net) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. === configuring in gb.net.curl (/home/andy/trunk/gb.net.curl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. === configuring in gb.net.smtp (/home/andy/trunk/gb.net.smtp) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. === configuring in gb.pcre (/home/andy/trunk/gb.pcre) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. === configuring in gb.sdl (/home/andy/trunk/gb.sdl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. === configuring in gb.sdl.sound (/home/andy/trunk/gb.sdl.sound) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /bin/install -c [/code] [code] Making all in gb.net make[2]: Entering directory `/home/andy/trunk/gb.net' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/home/andy/trunk/gb.net' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andy/trunk' make: *** [all] Error 2 [andy at ...2809... trunk]$ [/code] [code] Complete! [root at ...2809... andy]# rpm -qa|grep curl libcurl-7.24.0-1.fc17.i686 python-pycurl-7.19.0-10.fc17.x86_64 libcurl-devel-7.24.0-1.fc17.x86_64 curl-7.24.0-1.fc17.x86_64 libcurl-7.24.0-1.fc17.x86_64 libcurl-devel-7.24.0-1.fc17.i686 [root at ...2809... andy]# [/code] -- View this message in context: http://old.nabble.com/Trouble-compiling-gb.net-SVN-4597-tp33569670p33569670.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Thu Apr 5 14:33:15 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 05 Apr 2012 14:33:15 +0200 Subject: [Gambas-user] Trouble compiling gb.net SVN 4597 In-Reply-To: <33569670.post@...1379...> References: <33569670.post@...1379...> Message-ID: <4F7D910B.50008@...1...> Le 05/04/2012 14:27, Dr.Diesel a ?crit : > > This could be a Fedora 17 issue, as Fedora 16 compiles fine. I'm happy to > email entire output of below if necessary. > > I know code tags don't work, but you get the idea! > > Thanks > > [code] > autoreconf: configure.ac: adding subdirectory gb.net to autoreconf > autoreconf: Entering directory `gb.net' > autoreconf: configure.ac: not using aclocal > autoreconf: configure.ac: not using Libtool > autoreconf: configure.ac: not using Autoheader > autoreconf: configure.ac: not using Automake > autoreconf: Leaving directory `gb.net' > autoreconf: configure.ac: adding subdirectory gb.net.curl to autoreconf > autoreconf: Entering directory `gb.net.curl' > autoreconf: Leaving directory `gb.net.curl' > autoreconf: configure.ac: adding subdirectory gb.net.smtp to autoreconf > autoreconf: Entering directory `gb.net.smtp' > autoreconf: Leaving directory `gb.net.smtp' > [/code] > > [code] > 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 > === configuring in gb.net (/home/andy/trunk/gb.net) > configure: running /bin/sh ./configure --disable-option-checking > '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. > === configuring in gb.net.curl (/home/andy/trunk/gb.net.curl) > configure: running /bin/sh ./configure --disable-option-checking > '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. > === configuring in gb.net.smtp (/home/andy/trunk/gb.net.smtp) > configure: running /bin/sh ./configure --disable-option-checking > '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. > === configuring in gb.pcre (/home/andy/trunk/gb.pcre) > configure: running /bin/sh ./configure --disable-option-checking > '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. > === configuring in gb.sdl (/home/andy/trunk/gb.sdl) > configure: running /bin/sh ./configure --disable-option-checking > '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. > === configuring in gb.sdl.sound (/home/andy/trunk/gb.sdl.sound) > configure: running /bin/sh ./configure --disable-option-checking > '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. > checking for a BSD-compatible install... /bin/install -c > [/code] > > [code] > Making all in gb.net > make[2]: Entering directory `/home/andy/trunk/gb.net' > make[2]: *** No rule to make target `all'. Stop. > make[2]: Leaving directory `/home/andy/trunk/gb.net' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/andy/trunk' > make: *** [all] Error 2 > [andy at ...2809... trunk]$ > [/code] > > [code] > Complete! > [root at ...2809... andy]# rpm -qa|grep curl > libcurl-7.24.0-1.fc17.i686 > python-pycurl-7.19.0-10.fc17.x86_64 > libcurl-devel-7.24.0-1.fc17.x86_64 > curl-7.24.0-1.fc17.x86_64 > libcurl-7.24.0-1.fc17.x86_64 > libcurl-devel-7.24.0-1.fc17.i686 > [root at ...2809... andy]# > [/code] > > I need the full output of the configure and make process. And note that gb.net does not use libcurl. Regards, -- Beno?t Minisini From gambas at ...2524... Thu Apr 5 19:59:27 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 05 Apr 2012 17:59:27 +0000 Subject: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK In-Reply-To: <3-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> <0-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #4 on issue 230 by benoit.m... at ...626...: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 So the problem is in Printer.OutputFile, not in the Dialog class! From gambas at ...2524... Thu Apr 5 20:08:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 05 Apr 2012 18:08:40 +0000 Subject: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK In-Reply-To: <4-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> <0-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Comment #5 on issue 230 by ea7... at ...626...: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 I dont't know. But it is something that doesn't happen when using gb.qt4. That's why I thought it has something to do with Dialog class. Anyway, I'm sorry if I made a mistake, hope it will help to solve the bug. Thanks From gambas at ...2524... Thu Apr 5 23:37:04 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 05 Apr 2012 21:37:04 +0000 Subject: [Gambas-user] Issue 230 in gambas: Dialog.Savefile replaces spaces in gb.GTK In-Reply-To: <5-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> <0-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-3542280862566002118-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #6 on issue 230 by benoit.m... at ...626...: Dialog.Savefile replaces spaces in gb.GTK http://code.google.com/p/gambas/issues/detail?id=230 Fixed in revision #4600. From ronald at ...2810... Fri Apr 6 03:17:52 2012 From: ronald at ...2810... (ronald at ...2810...) Date: Thu, 5 Apr 2012 21:17:52 -0400 Subject: [Gambas-user] Problem with row count in mysql Message-ID: <7ca280c4dd3f2dc036719ea78692f199.squirrel@...2810...> I am having trouble getting a row count using mysql. Here is some sample code I have used. All else works and I can connect to the database and table. There are 4 rows in the Table called Addresses. Running this program shows iData and 'a' as having 0 rows. Please advise. Thank you Ron Example code: ' Gambas class file STATIC PUBLIC a AS Integer PUBLIC SUB Form_Open() ME.Center ME.Height = 315 $hConn = NEW Connection END PRIVATE $hConn AS Connection PUBLIC SUB btnConnect_Click() DIM sName AS String DIM hTable AS Table DIM iData AS Result TRY $hConn.Close '$hConn = NEW Connection sName = "AddressBook" WITH $hConn .Type = "mysql" .Host = "localhost" .Login = "root" .Password = "charlie12" .Name = "" END WITH 'IF chkCreate.Value THEN $hConn.Open IF NOT $hConn.Databases.Exist(sName) THEN $hConn.Databases.Add(sName) ENDIF $hConn.Close $hConn.Name = sName $hConn.Open TextLabel1.text = "AddressBook Opened for Addresses" IF NOT $hConn.Tables.Exist("Addresses") THEN hTable = $hConn.Tables.Add("Addresses") hTable.Fields.Add("id", db.Long) hTable.Fields.Add("First_Name", db.String) 'hTable.Fields.Add("Mi", gb.String) 'hTable.Fields.Add("Last_Name", gb.String) 'hTable.Fields.Add("Address1", gb.String) 'hTable.Fields.Add("Address2", gb.String) 'hTable.Fields.Add("City", gb.String) 'hTable.Fields.Add("State", gb.String) 'hTable.Fields.Add("Zip_Code", gb.String) 'hTable.Fields.Add("Home_Phone", gb.String) 'hTable.Fields.Add("Cell_Phone", gb.String) 'hTable.Fields.Add("Email_Address", gb.String) hTable.PrimaryKey = ["id"] hTable.Update ELSE ENDIF $hConn.Exec("use AddressBook;") iData = $hConn.Exec("select count(*) from Addresses;") PRINT iData a = iData PRINT a END PUBLIC SUB btnClose_Click() $hConn.Close TextLabel1.Text = "AddressBook Closed" WAIT 4.0 ME.Close END PUBLIC SUB btnAddSddress_Click() ME.Height = 770 END PUBLIC SUB btnSave_Click() DIM rdata AS Result txtRequest.Text = "insert into Addresses values('" & a & "','" & txtFirstName.Text & "');" '& "(" & "'" & a & "'," & "'" & txtFirstName.Text & "');" rdata = $hConn.Exec(txtRequest.Text) INC a PRINT a END PRINT idata a = iData PRINT a END From nando_f at ...951... Fri Apr 6 06:08:32 2012 From: nando_f at ...951... (nando) Date: Thu, 5 Apr 2012 23:08:32 -0500 Subject: [Gambas-user] Problem with row count in mysql In-Reply-To: <7ca280c4dd3f2dc036719ea78692f199.squirrel@...2810...> References: <7ca280c4dd3f2dc036719ea78692f199.squirrel@...2810...> Message-ID: <20120406034304.M59865@...951...> My two cents worth: I see a few problems: 1) There is an erroneous END just above PRINT iData near the end of your example or something is out of order(?) 2) iData is a Result data type and not an INTEGER...and iData doesn't have the row counts but iData.count is an INTEGER 3) Internally MySQL has two different types of ROW counts depending on: [a] the number of rows resulting by a SELECT or SHOW command. [b] the number of rows affected by a INSERT, UPDATE, REPLACE or DELETE command. Programs must: First do the command (SELECT, INSERT..whatever...) - Then- Do another separate command to get the rows resulting or affected by the type of command performed (type [a] or [b]) To help in understanding what is happening visit: http://dev.mysql.com/doc/refman/5.1/en/mysql-affected-rows.html http://dev.mysql.com/doc/refman/5.1/en/information-functions.html (look at 'found-rows' and 'row-count' functions) Try this: PRINT iData.count 'should report correctly for SELECT and SHOW I don't recall right now about getting the affected rows from INSERT, DELETE, REPLACE commands. -Fernando ---------- Original Message ----------- From: ronald at ...2810... To: gambas-user at lists.sourceforge.net Sent: Thu, 5 Apr 2012 21:17:52 -0400 Subject: [Gambas-user] Problem with row count in mysql > I am having trouble getting a row count using mysql. Here is some sample > code I have used. All else works and I can connect to the database and > table. > There are 4 rows in the Table called Addresses. Running this program > shows iData and 'a' as having 0 rows. Please advise. > > Thank you > Ron > > Example code: > > ' Gambas class file > STATIC PUBLIC a AS Integer > > PUBLIC SUB Form_Open() > > ME.Center > ME.Height = 315 > $hConn = NEW Connection > > END > > PRIVATE $hConn AS Connection > > PUBLIC SUB btnConnect_Click() > > DIM sName AS String > DIM hTable AS Table > DIM iData AS Result > > TRY $hConn.Close > '$hConn = NEW Connection > > sName = "AddressBook" > > WITH $hConn > .Type = "mysql" > .Host = "localhost" > .Login = "root" > .Password = "charlie12" > .Name = "" > END WITH > > 'IF chkCreate.Value THEN > > $hConn.Open > IF NOT $hConn.Databases.Exist(sName) THEN > $hConn.Databases.Add(sName) > ENDIF > $hConn.Close > > $hConn.Name = sName > $hConn.Open > TextLabel1.text = "AddressBook Opened for Addresses" > > IF NOT $hConn.Tables.Exist("Addresses") THEN > hTable = $hConn.Tables.Add("Addresses") > > hTable.Fields.Add("id", db.Long) > hTable.Fields.Add("First_Name", db.String) > 'hTable.Fields.Add("Mi", gb.String) > 'hTable.Fields.Add("Last_Name", gb.String) > 'hTable.Fields.Add("Address1", gb.String) > 'hTable.Fields.Add("Address2", gb.String) > 'hTable.Fields.Add("City", gb.String) > 'hTable.Fields.Add("State", gb.String) > 'hTable.Fields.Add("Zip_Code", gb.String) > 'hTable.Fields.Add("Home_Phone", gb.String) > 'hTable.Fields.Add("Cell_Phone", gb.String) > 'hTable.Fields.Add("Email_Address", gb.String) > > hTable.PrimaryKey = ["id"] > > hTable.Update > ELSE > > ENDIF > > $hConn.Exec("use AddressBook;") > iData = $hConn.Exec("select count(*) from Addresses;") > > PRINT iData > a = iData > PRINT a > > END > > PUBLIC SUB btnClose_Click() > > $hConn.Close > TextLabel1.Text = "AddressBook Closed" > WAIT 4.0 > ME.Close > > END > > PUBLIC SUB btnAddSddress_Click() > > ME.Height = 770 > > END > > PUBLIC SUB btnSave_Click() > DIM rdata AS Result > txtRequest.Text = "insert into Addresses values('" & a & "','" & > txtFirstName.Text & "');" '& "(" & "'" & a & "'," & "'" & > txtFirstName.Text & "');" > rdata = $hConn.Exec(txtRequest.Text) > INC a > PRINT a > > END > > PRINT idata > a = iData > PRINT a > > END > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From ian.roper at ...1974... Fri Apr 6 06:21:04 2012 From: ian.roper at ...1974... (Ian Roper) Date: Fri, 06 Apr 2012 12:21:04 +0800 Subject: [Gambas-user] Problem with row count in mysql In-Reply-To: <7ca280c4dd3f2dc036719ea78692f199.squirrel@...2810...> References: <7ca280c4dd3f2dc036719ea78692f199.squirrel@...2810...> Message-ID: <1333686064.3760.10.camel@...2506...> On Thu, 2012-04-05 at 21:17 -0400, ronald at ...2810... wrote: Your problem is with your SQL Query I Think ? $hConn.Exec("use AddressBook;") iData = $hConn.Exec("select count(*) AS RecCount from Addresses") PRINT iData!RecCount Does this work ? Cheers, Ian Roper - Perth Western Australia From bill-lancaster at ...2231... Fri Apr 6 09:26:59 2012 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Fri, 6 Apr 2012 00:26:59 -0700 (PDT) Subject: [Gambas-user] can't find ide-db-manager In-Reply-To: References: <33544846.post@...1379...> Message-ID: <33599553.post@...1379...> re missing DB manager Thanks Fabien Yes, thats where I looked first. If I recall it used to be under the "?" menu. Anyway, since rebuilding Gambas3 and moving to KDE its not there. Have since found a way around the problem so don't need it, Bill -- View this message in context: http://old.nabble.com/can%27t-find-ide-db-manager-tp33544846p33599553.html Sent from the gambas-user mailing list archive at Nabble.com. From lordheavym at ...626... Fri Apr 6 10:49:57 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Fri, 06 Apr 2012 10:49:57 +0200 Subject: [Gambas-user] Archlinux package creation In-Reply-To: References: Message-ID: <1516806.9fyUeDhyzG@...2592...> > Hi. I'm having trouble creating an Archlinux installation package. It > seems to create it successfully, but when i check the destination > folder it's empty and there is no PKGBUILD file. Can somebody > reproduce this? > > Thanks! > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Everything should be availabale and pretty bug free in rev4601; extra files and extra dependencies support. Feel free to test! From gambas at ...1... Fri Apr 6 15:13:39 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 06 Apr 2012 15:13:39 +0200 Subject: [Gambas-user] Archlinux package creation In-Reply-To: <1516806.9fyUeDhyzG@...2592...> References: <1516806.9fyUeDhyzG@...2592...> Message-ID: <4F7EEC03.7040900@...1...> Le 06/04/2012 10:49, Laurent Carlier a ?crit : > > Everything should be availabale and pretty bug free in rev4601; extra files and extra dependencies support. > > Feel free to test! > > I fixed the ArchLinux extra file support in revision #4602, because the internal extra files list format has changed, and now supports both files and directories. Laurent : can you just check that I did not make a mistake? I can't test ArchLinux packager on Ubuntu as it does not provide the 'makepkg' executable. Regards, -- Beno?t Minisini From lordheavym at ...626... Fri Apr 6 16:04:26 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Fri, 06 Apr 2012 16:04:26 +0200 Subject: [Gambas-user] Archlinux package creation In-Reply-To: <4F7EEC03.7040900@...1...> References: <1516806.9fyUeDhyzG@...2592...> <4F7EEC03.7040900@...1...> Message-ID: <11700543.ENIpROdoJD@...2592...> > Le 06/04/2012 10:49, Laurent Carlier a ?crit : > > > > Everything should be availabale and pretty bug free in rev4601; extra files and extra dependencies support. > > > > Feel free to test! > > > > > > I fixed the ArchLinux extra file support in revision #4602, because the > internal extra files list format has changed, and now supports both > files and directories. > > Laurent : can you just check that I did not make a mistake? I can't test > ArchLinux packager on Ubuntu as it does not provide the 'makepkg' > executable. > > Regards, > > * Found a typo (will fix it). * AFAIK install -d blabla/bloblo then install -p toto blabla/toto can be replaced with install -Dp path-to/toto blabla/bloblo/toto. Perhaps i'm wrong, but just tested and it seem to work. Regards, From dr.diesel at ...626... Fri Apr 6 18:23:00 2012 From: dr.diesel at ...626... (Dr.Diesel) Date: Fri, 6 Apr 2012 09:23:00 -0700 (PDT) Subject: [Gambas-user] Trouble compiling gb.net SVN 4597 In-Reply-To: <4F7D910B.50008@...1...> References: <33569670.post@...1379...> <4F7D910B.50008@...1...> Message-ID: <33639059.post@...1379...> Email sent, thank you. Beno?t Minisini wrote: > > > I need the full output of the configure and make process. And note that > gb.net does not use libcurl. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Trouble-compiling-gb.net-SVN-4597-tp33569670p33639059.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Fri Apr 6 18:23:28 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 06 Apr 2012 18:23:28 +0200 Subject: [Gambas-user] Archlinux package creation In-Reply-To: <11700543.ENIpROdoJD@...2592...> References: <1516806.9fyUeDhyzG@...2592...> <4F7EEC03.7040900@...1...> <11700543.ENIpROdoJD@...2592...> Message-ID: <4F7F1880.2020207@...1...> Le 06/04/2012 16:04, Laurent Carlier a ?crit : > > * Found a typo (will fix it). > > * AFAIK install -d blabla/bloblo then install -p toto blabla/toto can be replaced with > install -Dp path-to/toto blabla/bloblo/toto. Perhaps i'm wrong, but just tested and it seem to work. > Yes, but "install -p" cannot install a directory recursively, so I did "install -d" in all cases to install the parent directory, and then "install -p" (for a simple file) or "cp -R" (for a directory). -- Beno?t Minisini From willy at ...2734... Sat Apr 7 01:11:14 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 07 Apr 2012 01:11:14 +0200 Subject: [Gambas-user] How to make Class file to Library for use in other Gambas applications In-Reply-To: <1330122838.2884.32.camel@...2735...> References: <1329869015.2330.57.camel@...2735...> <1329873730.3474.30.camel@...2688...> <1329916348.2358.11.camel@...2735...> <1329935688.2358.77.camel@...2735...> <1329959907.2358.98.camel@...2735...> <1329960717.2358.102.camel@...2735...> <1329963241.2358.106.camel@...2735...> <1330122333.2884.29.camel@...2735...> <1330122838.2884.32.camel@...2735...> Message-ID: <1333753874.2914.8.camel@...2735...> Posted this a while ago and I am still stuck Anyone out there has got something sensible to say about what I wrote below. Did I go wrong somewhere? Is there a correct in Gambas2 to distribute a Gambas2 component along with the Gambas2 application that uses it? I followed all instructions in Documentation, did I miss out on something? Thanks, Willy On vr, 2012-02-24 at 23:33 +0100, Willy Raets wrote: > > I installed the component and use it in one of my Gambas 2 projects now. > > When testing in IDE all works great. > > Next I make an installation package of the application. > > > > When installing it on my system it complains that a dependency is > > missing (my own component which is installed on my system!!!). > > "Dependency is not satisfiable: gambas2-SysInfo (>= -1.90.1)" > > > > But how can the dependency be missing when I installed the component > > prior to the application? > > > > What I noticed with the name of the component during packaging is this > > Name: gambas2-esb-SysInfo-0.0.1 > > In Project/Properties - Tab components is shows as SysInfo > > In dependencies it asks for gambas2-SysInfo > > > > Where did the esb go too? Might that be causing the problem? > > And where does this strange version dependency come from (>= -1.90.1)??? > > > > Both component and application are an Ubuntu package made with Gambas > > 2.22 on Ubuntu 10.10. > > > > Any ideas? > > And I just noticed that in the Ubuntu software center the component is amongst the gambas2 components but named esb-sysinfo while dependency asks for gambas2-SysInfo (two quite different names!!) > > Really hope someone can help on this one.. > > Thanks, > > Willy > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ian.roper at ...1974... Sat Apr 7 03:11:36 2012 From: ian.roper at ...1974... (Ian Roper) Date: Sat, 07 Apr 2012 09:11:36 +0800 Subject: [Gambas-user] Adding an example application to the Gambas web site - access issue. In-Reply-To: <4F7EEC03.7040900@...1...> References: <1516806.9fyUeDhyzG@...2592...> <4F7EEC03.7040900@...1...> Message-ID: <1333761096.2173.47.camel@...2506...> Greetings, I tried to add and example Gambas example application to the web site. Following the below instructions. ======================================================================= So you have to enter the following URL into your browser: http://gambasdoc.org/help/app/mygreatsoftware The wiki tells you that the page is not available. Then you click on the Create link. To fill the page contents, just open an already existing application page in editing mode, and use it as a template. Once done, just click on the Save button. That's all! ======================================================================== You get challenged for user name and password when you click on the 'create' link. Regards, Ian Roper - Perth - Western Australia. From john.aaron.rose at ...626... Sat Apr 7 18:10:28 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sat, 07 Apr 2012 17:10:28 +0100 Subject: [Gambas-user] Gambas for Android Message-ID: <1333815028.2223.6.camel@...2811...> I seem to remember Benoit implying (in a posting in March) that he might consider porting Gambas to Android. There is Basic4android allowing dev under Windows. However, it does not work under Wine: I've tried versions 1.3, 1.4 & 1.5.1. The main thing stopping me using it is it doesn't display the code for existing projects when opening them - rather a big naughty! It does work under Windows XP guesting in VirtualBox but it's a pain re installing & testing on Android devices whether linked by USB or Bluetooth. Its IDE is poor compared to that of Gambas. Has anybody heard any more re porting Gambas to Android? From support at ...2529... Sat Apr 7 19:51:22 2012 From: support at ...2529... (John Spikowski) Date: Sat, 07 Apr 2012 10:51:22 -0700 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1333815028.2223.6.camel@...2811...> References: <1333815028.2223.6.camel@...2811...> Message-ID: <1333821082.2410.5.camel@...1833...> On Sat, 2012-04-07 at 17:10 +0100, John Rose wrote: > Has anybody heard any more re porting Gambas to Android? The ScriptBasic project recently ported ScriptBasic to Android Linux (native) using the NDK. You can run ScriptBasic from a terminal application. To run SB on a nonrooted device, you need to install scriba in the /data/data/jackpal.androidterm (terminal app I use) You can change the scriba to executable in that directory only. This directory also has R/W privileges. -------------- next part -------------- A non-text attachment was scrubbed... Name: scriba_android.zip Type: application/zip Size: 164534 bytes Desc: not available URL: From tobiasboege01 at ...1601... Sat Apr 7 20:06:45 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 7 Apr 2012 20:06:45 +0200 Subject: [Gambas-user] Excluding components from build process Message-ID: <20120407180645.GA581@...2774...> Hi, I know a pretty bunch of components that I don't intend to compile on my system (because I don't want my box to satisfy their dependencies). May it be possible to explicitly exclude them from the reconf-all, configure, make process? I know that despite the make part this is a quite rare task but nevertheless a pain on my machine. I'm not very familiar with those autoconf and friends and seriously: The files they generate are unreadable, at least to me. I don't want to steal someone's time (the dictionary says, the correct idiom would be something with monkeys?) explaining me what goes on but a yes/no/look at the stuff answer. Regards, Tobi From Karl.Reinl at ...2345... Sat Apr 7 22:59:55 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 07 Apr 2012 22:59:55 +0200 Subject: [Gambas-user] Excluding components from build process In-Reply-To: <20120407180645.GA581@...2774...> References: <20120407180645.GA581@...2774...> Message-ID: <1333832395.3482.7.camel@...40...> Am Samstag, den 07.04.2012, 20:06 +0200 schrieb tobi: > Hi, > > I know a pretty bunch of components that I don't intend to compile on my system (because I don't > want my box to satisfy their dependencies). May it be possible to explicitly exclude them from > the reconf-all, configure, make process? I know that despite the make part this is a quite rare > task but nevertheless a pain on my machine. > I'm not very familiar with those autoconf and friends and seriously: The files they generate are > unreadable, at least to me. > I don't want to steal someone's time (the dictionary says, the correct idiom would be something > with monkeys?) explaining me what goes on but a yes/no/look at the stuff answer. > > Regards, > Tobi > ----------------------8<------------------------------- Salut Tobi, you can disable them , instead of ./configure -C do a ./configure -C --disable-pdf --disable-net --disable-gsl -- Amicalement Charlie From tobiasboege01 at ...1601... Sat Apr 7 23:21:39 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 7 Apr 2012 23:21:39 +0200 Subject: [Gambas-user] Excluding components from build process In-Reply-To: <1333832395.3482.7.camel@...40...> References: <20120407180645.GA581@...2774...> <1333832395.3482.7.camel@...40...> Message-ID: <20120407212139.GE581@...2774...> On Sat, 07 Apr 2012, Charlie Reinl wrote: > Am Samstag, den 07.04.2012, 20:06 +0200 schrieb tobi: > > Hi, > > > > I know a pretty bunch of components that I don't intend to compile on my system (because I don't > > want my box to satisfy their dependencies). May it be possible to explicitly exclude them from > > the reconf-all, configure, make process? I know that despite the make part this is a quite rare > > task but nevertheless a pain on my machine. > > I'm not very familiar with those autoconf and friends and seriously: The files they generate are > > unreadable, at least to me. > > I don't want to steal someone's time (the dictionary says, the correct idiom would be something > > with monkeys?) explaining me what goes on but a yes/no/look at the stuff answer. > > > > Regards, > > Tobi > > > ----------------------8<------------------------------- > Salut Tobi, > > you can disable them , instead of ./configure -C > > do a ./configure -C --disable-pdf --disable-net --disable-gsl > > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Great! That's pretty easy, I should have invested a minute or two to study its options... However, I can't find that in the INSTALL file. It's certainly not _that_ important... Regards, Tobi From Karl.Reinl at ...2345... Sat Apr 7 23:39:15 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 07 Apr 2012 23:39:15 +0200 Subject: [Gambas-user] Excluding components from build process In-Reply-To: <20120407212139.GE581@...2774...> References: <20120407180645.GA581@...2774...> <1333832395.3482.7.camel@...40...> <20120407212139.GE581@...2774...> Message-ID: <1333834755.6033.3.camel@...40...> Am Samstag, den 07.04.2012, 23:21 +0200 schrieb tobi: > On Sat, 07 Apr 2012, Charlie Reinl wrote: > > Am Samstag, den 07.04.2012, 20:06 +0200 schrieb tobi: > > > Hi, > > > > > > I know a pretty bunch of components that I don't intend to compile on my system (because I don't > > > want my box to satisfy their dependencies). May it be possible to explicitly exclude them from > > > the reconf-all, configure, make process? I know that despite the make part this is a quite rare > > > task but nevertheless a pain on my machine. > > > I'm not very familiar with those autoconf and friends and seriously: The files they generate are > > > unreadable, at least to me. > > > I don't want to steal someone's time (the dictionary says, the correct idiom would be something > > > with monkeys?) explaining me what goes on but a yes/no/look at the stuff answer. > > > > > > Regards, > > > Tobi > > > > > ----------------------8<------------------------------- > > Salut Tobi, > > > > you can disable them , instead of ./configure -C > > > > do a ./configure -C --disable-pdf --disable-net --disable-gsl > > > > -- > > Amicalement > > Charlie > > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Great! > That's pretty easy, I should have invested a minute or two to study its options... However, I can't > find that in the INSTALL file. It's certainly not _that_ important... > > Regards, > Tobi > ---------------8><---------------------------- Salut Tobi, if disabled, the component does no more exists for make and later. -- Amicalement Charlie From lordheavym at ...626... Sat Apr 7 23:55:40 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 07 Apr 2012 23:55:40 +0200 Subject: [Gambas-user] Excluding components from build process In-Reply-To: <20120407212139.GE581@...2774...> References: <20120407180645.GA581@...2774...> <1333832395.3482.7.camel@...40...> <20120407212139.GE581@...2774...> Message-ID: <3074590.zZSedxDEn3@...2592...> > On Sat, 07 Apr 2012, Charlie Reinl wrote: > > Am Samstag, den 07.04.2012, 20:06 +0200 schrieb tobi: > > > Hi, > > > > > > I know a pretty bunch of components that I don't intend to compile on my system (because I don't > > > want my box to satisfy their dependencies). May it be possible to explicitly exclude them from > > > the reconf-all, configure, make process? I know that despite the make part this is a quite rare > > > task but nevertheless a pain on my machine. > > > I'm not very familiar with those autoconf and friends and seriously: The files they generate are > > > unreadable, at least to me. > > > I don't want to steal someone's time (the dictionary says, the correct idiom would be something > > > with monkeys?) explaining me what goes on but a yes/no/look at the stuff answer. > > > > > > Regards, > > > Tobi > > > > > ----------------------8<------------------------------- > > Salut Tobi, > > > > you can disable them , instead of ./configure -C > > > > do a ./configure -C --disable-pdf --disable-net --disable-gsl > > > > Great! > That's pretty easy, I should have invested a minute or two to study its options... However, I can't > find that in the INSTALL file. It's certainly not _that_ important... > > Regards, > Tobi > You can find this with ./configure --help ++ From sundar_ima at ...251... Sun Apr 8 08:08:23 2012 From: sundar_ima at ...251... (sundar j) Date: 8 Apr 2012 06:08:23 -0000 Subject: [Gambas-user] =?utf-8?q?Load_hidden_file_to_variable=3F?= Message-ID: <1333382280.S.3031.11436.H.TnRvYmkAUmU6IFtHYW1iYXMtdXNlcl0gTG9hZCBoaWRkZW4gZmlsZSB0byB2YXJpYWJsZT8_.RU.rfs222, rfs222, 336, 880.f4-235-253.old.1333865303.8638@...2802...> Thanks (tobi) for the help. Now i solved the problem. The is not related to gambas. String manipulation was incorrect in my program which resulted the error to look like the "subject". Also i understood the power of print for debugging / tracking errors. From: tobi <tobiasboege01 at ...1601...> Sent: Mon, 02 Apr 2012 21:28:00 To: sundar_ima at ...251..., mailing list for gambas users <gambas-user at lists.sourceforge.net> Subject: Re: [Gambas-user] Load hidden file to variable? On Mon, 02 Apr 2012, sundar j wrote: > Print Error is False for both if statement and file.load function. I have checked file permission and it is root. I think file permission is not an issue here since it does not even detect file. Also i have tested the same with other file (root permission) and it works perfectly. Again i need not have to edit the file. > wow, mail citation gets weird now. could we quickly recall? to clarify things to me, too... this all works as expected (gives True): Print Exist("~/....") Print Access("~/....", gb.Read) and Print File.Load("~/....") insistently fails? regards, tobi From gambas at ...1... Sun Apr 8 15:25:10 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 08 Apr 2012 15:25:10 +0200 Subject: [Gambas-user] Release of Gambas 3.1 Message-ID: <4F8191B6.8060307@...1...> Hi, This new release fixes more than 150 bugs and adds more than 120 new features. All Gambas 3.x versions will be backward-compatible, i.e. a program written in Gambas 3.0 version will be able to run unchanged with any Gambas 3.x version. But the contrary is false: a program written with a specific Gambas 3.x version will not run with an older version. Beware that this is taken into account by the IDE packager only since Gambas 3.1! To get the details, go the website and read the Release Notes! Enjoy it! P.S. I don't understand why Ubuntu only provides Gambas 2 and not Gambas 3 binary packages. Anyone has any idea about that? -- Beno?t Minisini From sebikul at ...626... Sun Apr 8 16:59:41 2012 From: sebikul at ...626... (Sebi) Date: Sun, 8 Apr 2012 14:59:41 +0000 Subject: [Gambas-user] Release of Gambas 3.1 In-Reply-To: <4F8191B6.8060307@...1...> References: <4F8191B6.8060307@...1...> Message-ID: <1815115519-1333897178-cardhu_decombobulator_blackberry.rim.net-1804572658-@...2799...> Thanks a lot!!!! To be able to provide gambas3 packages on ubuntu you need to talk to a MOTU(masters of the universe) tu submit the packages and find a maintainer. The work is already done, as gambas3 has been already debianized (it has a ppa). If you need any help please ask! -----Original Message----- From: Beno?t Minisini Date: Sun, 08 Apr 2012 15:25:10 To: mailing list for gambas users Reply-To: mailing list for gambas users Subject: [Gambas-user] Release of Gambas 3.1 Hi, This new release fixes more than 150 bugs and adds more than 120 new features. All Gambas 3.x versions will be backward-compatible, i.e. a program written in Gambas 3.0 version will be able to run unchanged with any Gambas 3.x version. But the contrary is false: a program written with a specific Gambas 3.x version will not run with an older version. Beware that this is taken into account by the IDE packager only since Gambas 3.1! To get the details, go the website and read the Release Notes! Enjoy it! P.S. I don't understand why Ubuntu only provides Gambas 2 and not Gambas 3 binary packages. Anyone has any idea about that? -- Beno?t Minisini ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From demosthenesk at ...626... Sun Apr 8 17:15:03 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 08 Apr 2012 18:15:03 +0300 Subject: [Gambas-user] Gambas3 & andLinux on WinXP Message-ID: <4F81AB77.9080702@...626...> i make some test with andLinux which is a ubuntu 9.04 installed in windows xp. i try to compile gambas3 to andLinux with purpose to run Gambas3 in WindowsXP if i can. i dont know if anyone else tried something similar. so... i get compilation errors as libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CNet.lo -MD -MP -MF .deps/CNet.Tpo -c CNet.c -fPIC -DPIC -o .libs/CNet.o CNet.c:65: error: 'CURLAUTH_DIGEST_IE' undeclared here (not in a function) CNet.c:146: error: 'CURLE_SSL_CRL_BADFILE' undeclared here (not in a function) CNet.c:147: error: 'CURLE_SSL_ISSUER_ERROR' undeclared here (not in a function) make[4]: *** [CNet.lo] Error 1 make[4]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0' make: *** [all] Error 2 is this due andlinux, windowsxp or a bug to curl Thanks in advanced. From lordheavym at ...626... Sun Apr 8 17:41:43 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 08 Apr 2012 17:41:43 +0200 Subject: [Gambas-user] Release of Gambas 3.1 In-Reply-To: <4F8191B6.8060307@...1...> References: <4F8191B6.8060307@...1...> Message-ID: <3311160.pTmjzGShS8@...2592...> > Hi, > > This new release fixes more than 150 bugs and adds more than 120 new > features. > > All Gambas 3.x versions will be backward-compatible, i.e. a program > written in Gambas 3.0 version will be able to run unchanged with any > Gambas 3.x version. But the contrary is false: a program written with a > specific Gambas 3.x version will not run with an older version. > > Beware that this is taken into account by the IDE packager only since > Gambas 3.1! > > To get the details, go the website and read the Release Notes! > > Enjoy it! > > P.S. I don't understand why Ubuntu only provides Gambas 2 and not Gambas > 3 binary packages. Anyone has any idea about that? > > Also a new gambas2 minor release would be nice, there is some compilation fixes available in the repo. Regards, From gambas at ...1... Sun Apr 8 17:49:20 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 08 Apr 2012 17:49:20 +0200 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <4F81AB77.9080702@...626...> References: <4F81AB77.9080702@...626...> Message-ID: <4F81B380.5040507@...1...> Le 08/04/2012 17:15, Demosthenes Koptsis a ?crit : > i make some test with andLinux which is a ubuntu 9.04 installed in > windows xp. > > i try to compile gambas3 to andLinux with purpose to run Gambas3 in > WindowsXP if i can. > > i dont know if anyone else tried something similar. > > so... > > i get compilation errors as > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CNet.lo > -MD -MP -MF .deps/CNet.Tpo -c CNet.c -fPIC -DPIC -o .libs/CNet.o > CNet.c:65: error: 'CURLAUTH_DIGEST_IE' undeclared here (not in a function) > CNet.c:146: error: 'CURLE_SSL_CRL_BADFILE' undeclared here (not in a > function) > CNet.c:147: error: 'CURLE_SSL_ISSUER_ERROR' undeclared here (not in a > function) > make[4]: *** [CNet.lo] Error 1 > make[4]: Leaving directory > `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0' > make: *** [all] Error 2 > > > is this due andlinux, windowsxp or a bug to curl > > Thanks in advanced. > > I think you need a more recent curl library. -- Beno?t Minisini From gambas at ...1... Sun Apr 8 17:50:26 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 08 Apr 2012 17:50:26 +0200 Subject: [Gambas-user] Release of Gambas 3.1 In-Reply-To: <3311160.pTmjzGShS8@...2592...> References: <4F8191B6.8060307@...1...> <3311160.pTmjzGShS8@...2592...> Message-ID: <4F81B3C2.5020302@...1...> Le 08/04/2012 17:41, Laurent Carlier a ?crit : >> Hi, >> >> This new release fixes more than 150 bugs and adds more than 120 new >> features. >> >> All Gambas 3.x versions will be backward-compatible, i.e. a program >> written in Gambas 3.0 version will be able to run unchanged with any >> Gambas 3.x version. But the contrary is false: a program written with a >> specific Gambas 3.x version will not run with an older version. >> >> Beware that this is taken into account by the IDE packager only since >> Gambas 3.1! >> >> To get the details, go the website and read the Release Notes! >> >> Enjoy it! >> >> P.S. I don't understand why Ubuntu only provides Gambas 2 and not Gambas >> 3 binary packages. Anyone has any idea about that? >> >> > > Also a new gambas2 minor release would be nice, there is some compilation fixes available in the repo. > > Regards, > Well, I need a old distribution with KDE3, or maybe Trinity can be installed on Ubuntu... I will check. -- Beno?t Minisini From demosthenesk at ...626... Sun Apr 8 17:55:29 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 08 Apr 2012 18:55:29 +0300 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <4F81B380.5040507@...1...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> Message-ID: <4F81B4F1.5030201@...626...> ???? 8/4/2012 18:49, ?/? Beno?t Minisini ??????: > Le 08/04/2012 17:15, Demosthenes Koptsis a ?crit : >> i make some test with andLinux which is a ubuntu 9.04 installed in >> windows xp. >> >> i try to compile gambas3 to andLinux with purpose to run Gambas3 in >> WindowsXP if i can. >> >> i dont know if anyone else tried something similar. >> >> so... >> >> i get compilation errors as >> >> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall >> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CNet.lo >> -MD -MP -MF .deps/CNet.Tpo -c CNet.c -fPIC -DPIC -o .libs/CNet.o >> CNet.c:65: error: 'CURLAUTH_DIGEST_IE' undeclared here (not in a function) >> CNet.c:146: error: 'CURLE_SSL_CRL_BADFILE' undeclared here (not in a >> function) >> CNet.c:147: error: 'CURLE_SSL_ISSUER_ERROR' undeclared here (not in a >> function) >> make[4]: *** [CNet.lo] Error 1 >> make[4]: Leaving directory >> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl/src' >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory >> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory >> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0' >> make: *** [all] Error 2 >> >> >> is this due andlinux, windowsxp or a bug to curl >> >> Thanks in advanced. >> >> > I think you need a more recent curl library. > andLinux is a ubuntu 9.04. i know it is ancient but there is no other way to run native linux apps in windows. also i dont know if i can get a recent curl library, may be only as tarball and ./configure, make, make install it. i will see what i can do. Thanks Benoit. From lordheavym at ...626... Sun Apr 8 18:15:46 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 08 Apr 2012 18:15:46 +0200 Subject: [Gambas-user] Release of Gambas 3.1 In-Reply-To: <4F81B3C2.5020302@...1...> References: <4F8191B6.8060307@...1...> <3311160.pTmjzGShS8@...2592...> <4F81B3C2.5020302@...1...> Message-ID: <2132069.1q6GJpqp85@...2592...> > Le 08/04/2012 17:41, Laurent Carlier a ?crit : > >> Hi, > >> > >> This new release fixes more than 150 bugs and adds more than 120 new > >> features. > >> > >> All Gambas 3.x versions will be backward-compatible, i.e. a program > >> written in Gambas 3.0 version will be able to run unchanged with any > >> Gambas 3.x version. But the contrary is false: a program written with a > >> specific Gambas 3.x version will not run with an older version. > >> > >> Beware that this is taken into account by the IDE packager only since > >> Gambas 3.1! > >> > >> To get the details, go the website and read the Release Notes! > >> > >> Enjoy it! > >> > >> P.S. I don't understand why Ubuntu only provides Gambas 2 and not Gambas > >> 3 binary packages. Anyone has any idea about that? > >> > >> > > > > Also a new gambas2 minor release would be nice, there is some compilation fixes available in the repo. > > > > Regards, > > > > Well, I need a old distribution with KDE3, or maybe Trinity can be > installed on Ubuntu... I will check. > > You can try Archlinux (but without trinity) :-) Fixes are here and afaik already commited (just rebuilt it yesterday). https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/gambas2 ++ From demosthenesk at ...626... Sun Apr 8 18:54:24 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 08 Apr 2012 19:54:24 +0300 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <4F81B380.5040507@...1...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> Message-ID: <4F81C2C0.5070204@...626...> On 04/08/2012 06:49 PM, Beno?t Minisini wrote: > Le 08/04/2012 17:15, Demosthenes Koptsis a ?crit : >> i make some test with andLinux which is a ubuntu 9.04 installed in >> windows xp. >> >> i try to compile gambas3 to andLinux with purpose to run Gambas3 in >> WindowsXP if i can. >> >> i dont know if anyone else tried something similar. >> >> so... >> >> i get compilation errors as >> >> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -pipe -Wall >> -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CNet.lo >> -MD -MP -MF .deps/CNet.Tpo -c CNet.c -fPIC -DPIC -o .libs/CNet.o >> CNet.c:65: error: 'CURLAUTH_DIGEST_IE' undeclared here (not in a function) >> CNet.c:146: error: 'CURLE_SSL_CRL_BADFILE' undeclared here (not in a >> function) >> CNet.c:147: error: 'CURLE_SSL_ISSUER_ERROR' undeclared here (not in a >> function) >> make[4]: *** [CNet.lo] Error 1 >> make[4]: Leaving directory >> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl/src' >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory >> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory >> `/mnt/win/andLinux/Gambas3/gambas3-3.1.0/gb.net.curl' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/mnt/win/andLinux/Gambas3/gambas3-3.1.0' >> make: *** [all] Error 2 >> >> >> is this due andlinux, windowsxp or a bug to curl >> >> Thanks in advanced. >> >> > I think you need a more recent curl library. > ok i fix the issue with curl but other libraries like sdl, glew have the same problem and i cant update them. From demosthenesk at ...626... Sun Apr 8 20:38:24 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 08 Apr 2012 21:38:24 +0300 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <4F81B380.5040507@...1...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> Message-ID: <4F81DB20.2090303@...626...> ok andLinux is not working for me. But i found something else. i can run Xming to conect to a remote X server and run gui applications. with this way i can have Gambas3 as SaaS. i can have a server with gambas3 and a host there gambas3 appplications. users can run these apps with Xming. From mohareve at ...626... Sun Apr 8 20:46:00 2012 From: mohareve at ...626... (M. Cs.) Date: Sun, 8 Apr 2012 20:46:00 +0200 Subject: [Gambas-user] Form with multiple charts Message-ID: Hi I managed to draw two pie-charts on a form, with two separate DrawingAreas. My problem is that it I can do it only with single instance of DIM mychart AS Chart I can use it for two different drawings on two areas, but when I draw a third one on a third drawing area I cannot change it's type. It hasn't sense at all: - I cannot define two different mycharts like Dim mychart1 AS Chart DIM mychart2 AS Chart Because it rises error division by zero. >From my part it would be logical to have different charts for different drawing areas. Since it is nearly 0% documented I need some help: mychart.Count = 2 (IS THIS THE NUMBER OF VALUES?) mychart[0].Values = [0.8,0.2] (WHAT REPRESENTS [0]?) mychart.Headers.Values = [("Identical"), ("Different")] mychart.Legend.Visible = True mychart.Legend.Position = 1 (HOW COULD I PUT LEGEND BELOW THE CHART?) mychart.Style = ChartType.Pie mychart.Width = DrawingArea1.W mychart.Height = DrawingArea1.H Draw.begin(DrawingArea1) mychart.Draw Draw.end AND why does it work if I would continue this code with mychart.Count = 3 mychart[0].Values = [0.3, 0.2, 0.5] mychart.Headers.Values = [("Identical"), ("Different"), ("Other")] mychart.Legend.Visible = True mychart.Legend.Position = 1 mychart.Style = ChartType.Pie mychart.Width = DrawingArea2.W mychart.Height = DrawingArea2.H Draw.begin(DrawingArea2) mychart.Draw Draw.end I'm confused. Csaba From demosthenesk at ...626... Sun Apr 8 21:20:48 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 08 Apr 2012 22:20:48 +0300 Subject: [Gambas-user] Gambas3 & Xming In-Reply-To: <4F81DB20.2090303@...626...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81DB20.2090303@...626...> Message-ID: <4F81E510.7060402@...626...> here are some screenshots http://www.mediafire.com/i/?ehralxdlqxj30ju http://www.mediafire.com/i/?r40web2l14o93ny http://www.mediafire.com/i/?s9a7bykyrbufwib gambas3 on windows 7 via xming. Gambas3 is running on Linux Mint Debian Edition on server side From willy at ...2734... Sun Apr 8 21:49:39 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 08 Apr 2012 21:49:39 +0200 Subject: [Gambas-user] Gambas3 & Xming In-Reply-To: <4F81E510.7060402@...626...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81DB20.2090303@...626...> <4F81E510.7060402@...626...> Message-ID: <1333914579.2055.13.camel@...2735...> On zo, 2012-04-08 at 22:20 +0300, Demosthenes Koptsis wrote: > here are some screenshots > > http://www.mediafire.com/i/?ehralxdlqxj30ju > > http://www.mediafire.com/i/?r40web2l14o93ny > > http://www.mediafire.com/i/?s9a7bykyrbufwib > > gambas3 on windows 7 via xming. > > Gambas3 is running on Linux Mint Debian Edition on server side > Hi Demosthenes, This opens up a world of possibilities in slowly introducing Linux and Gambas at my work (Windows environment and Iwould love to slowly change that) I suppose Xming is used as a thin client for the x-window server on Linux Mint Debian. Happen to have a short overview on how you set this up on both Windows as Linux Mint Debian side? Great going, Willy From vuott at ...325... Sun Apr 8 23:38:11 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 8 Apr 2012 22:38:11 +0100 (BST) Subject: [Gambas-user] Setting at zero more byte in a file by "Byte[]" Message-ID: <1333921091.91200.YahooMailClassic@...2789...> Hello, I'ld like to set at zero more subsequent byte (e.g. the FIRST four) in a file, using that code: *** Public Sub Button1_Click() Dim aFl As File Dim buff As New Byte[4] Dim b As Byte aFl = Open "/tmp/my_file" For Write For Each b In buff b = 0 Next Write #aFl, buff As Byte[] aFl.Close End *** But I obtain a "strange" result. In fact if I control the result of file by an exad. editor, I see the byte are: 41 02 04 00 00 00 00 ...... I have three "strange" byte (41 02 04) end 'then' the four zero ! If I want to set at zero five byte, those three exad. number will be: 41 02 05 .... It seems it memorized and wrote the array pointer instead of its contents (the four zero) ! Isn't it ? Vuott From tobiasboege01 at ...1601... Mon Apr 9 00:08:50 2012 From: tobiasboege01 at ...1601... (tobi) Date: Mon, 9 Apr 2012 00:08:50 +0200 Subject: [Gambas-user] Setting at zero more byte in a file by "Byte[]" In-Reply-To: <1333921091.91200.YahooMailClassic@...2789...> References: <1333921091.91200.YahooMailClassic@...2789...> Message-ID: <20120408220850.GM582@...2774...> On Sun, 08 Apr 2012, Ru Vuott wrote: > Hello, > > I'ld like to set at zero more subsequent byte (e.g. the FIRST four) in a file, using that code: > > *** > Public Sub Button1_Click() > > Dim aFl As File > Dim buff As New Byte[4] > Dim b As Byte > > aFl = Open "/tmp/my_file" For Write > > For Each b In buff > b = 0 > Next > > Write #aFl, buff As Byte[] > > aFl.Close > > End > *** > > But I obtain a "strange" result. In fact if I control the result of file by an exad. editor, I see the byte are: > > 41 02 04 00 00 00 00 ...... > > I have three "strange" byte (41 02 04) end 'then' the four zero ! > If I want to set at zero five byte, those three exad. number will be: 41 02 05 .... It seems it memorized and wrote the array pointer instead of its contents (the four zero) ! > > Isn't it ? > > Vuott > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user If you Write #File, aArr As Array then Gambas has to be able to aArr = Read #File As Array the data back. To do so, the type of array and its size must be available and thus are written before the actual data. You may want to use the Write #File, "\x00\x00\x00\x00", 4 syntax. Haven't tried but should work. Regards, Tobi From emil.lenngren at ...626... Mon Apr 9 00:17:15 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 9 Apr 2012 00:17:15 +0200 Subject: [Gambas-user] Setting at zero more byte in a file by "Byte[]" In-Reply-To: <1333921091.91200.YahooMailClassic@...2789...> References: <1333921091.91200.YahooMailClassic@...2789...> Message-ID: When you write For Each b In buff b = 0 Next you get a copy of each byte in the variable 'b', not a reference. Instead, you can do something like this: For i = 0 To 3 buff[i] = 0 Next /Emil 2012/4/8 Ru Vuott > Hello, > > I'ld like to set at zero more subsequent byte (e.g. the FIRST four) in a > file, using that code: > > *** > Public Sub Button1_Click() > > Dim aFl As File > Dim buff As New Byte[4] > Dim b As Byte > > aFl = Open "/tmp/my_file" For Write > > For Each b In buff > b = 0 > Next > > Write #aFl, buff As Byte[] > > aFl.Close > > End > *** > > But I obtain a "strange" result. In fact if I control the result of file > by an exad. editor, I see the byte are: > > 41 02 04 00 00 00 00 ...... > > I have three "strange" byte (41 02 04) end 'then' the four zero ! > If I want to set at zero five byte, those three exad. number will be: 41 > 02 05 .... It seems it memorized and wrote the array pointer instead of its > contents (the four zero) ! > > Isn't it ? > > Vuott > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Mon Apr 9 02:28:00 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 9 Apr 2012 01:28:00 +0100 (BST) Subject: [Gambas-user] Setting at zero more byte in a file by "Byte[]" In-Reply-To: Message-ID: <1333931280.50403.YahooMailClassic@...2691...> Hello Emil, no, it's no good, because I obtain 41 02 04 00 00 00 00 ..... again. Minisini's solution is that right. --> buff.Write(stream) But thank you. Bye Vuottttttttttt From sourceforge-raindog2 at ...94... Mon Apr 9 03:24:00 2012 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 08 Apr 2012 21:24:00 -0400 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1333821082.2410.5.camel@...1833...> References: <1333815028.2223.6.camel@...2811...> <1333821082.2410.5.camel@...1833...> Message-ID: <4F823A30.6000100@...94...> On 04/07/2012 01:51 PM, John Spikowski wrote: > On Sat, 2012-04-07 at 17:10 +0100, John Rose wrote: >> Has anybody heard any more re porting Gambas to Android? > The ScriptBasic project recently ported ScriptBasic to Android Linux There's also BASIC+SQL, also GPL, installable from the Market.. er, Google Play: https://play.google.com/store/apps/details?id=com.rfo.basic&hl=en http://laughton.com/basic/ I haven't done much with it because I'm comfortable with Java for Android development, but it seems to work, it's another option for BASIC devotees, it seems to be implemented in Java (no NDK) and apparently will allow you to build stand-alone APKs of your programs which you can offer through the Market. No GUI designer, as far as I know, but I don't think any other free Android BASIC has one yet either. (There are a number of commercial VB clones for Android, but I don't think any of them have gotten traction yet... if someone like Real Software did one, maybe it'd happen.) Rob From sourceforge-raindog2 at ...94... Mon Apr 9 03:39:05 2012 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 08 Apr 2012 21:39:05 -0400 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <4F81B4F1.5030201@...626...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81B4F1.5030201@...626...> Message-ID: <4F823DB9.1020805@...94...> On 04/08/2012 11:55 AM, Demosthenes Koptsis wrote: > andLinux is a ubuntu 9.04. > i know it is ancient but there is no other way to run native linux apps > in windows. andLinux is based on coLinux, which is still developed today. Besides coLinux itself, there are a number of other projects based on coLinux that use Ubuntu like andLinux did. SpeedLinux is one of them, and is apparently based on your choice of Ubuntu version: 9.04, 11.10 or (alpha) 12.04. Give it a try, maybe? http://sourceforge.net/projects/freetzlinux/ Rob From support at ...2529... Mon Apr 9 03:47:25 2012 From: support at ...2529... (John Spikowski) Date: Sun, 08 Apr 2012 18:47:25 -0700 Subject: [Gambas-user] Gambas for Android In-Reply-To: <4F823A30.6000100@...94...> References: <1333815028.2223.6.camel@...2811...> <1333821082.2410.5.camel@...1833...> <4F823A30.6000100@...94...> Message-ID: <1333936045.2918.5.camel@...1833...> On Sun, 2012-04-08 at 21:24 -0400, Rob Kudla wrote: > On 04/07/2012 01:51 PM, John Spikowski wrote: > > On Sat, 2012-04-07 at 17:10 +0100, John Rose wrote: > >> Has anybody heard any more re porting Gambas to Android? > > The ScriptBasic project recently ported ScriptBasic to Android Linux > > There's also BASIC+SQL, also GPL, installable from the Market.. er, > Google Play: > > https://play.google.com/store/apps/details?id=com.rfo.basic&hl=en > > http://laughton.com/basic/ > > I haven't done much with it because I'm comfortable with Java for > Android development, but it seems to work, it's another option for BASIC > devotees, it seems to be implemented in Java (no NDK) and apparently > will allow you to build stand-alone APKs of your programs which you can > offer through the Market. > > No GUI designer, as far as I know, but I don't think any other free > Android BASIC has one yet either. (There are a number of commercial VB > clones for Android, but I don't think any of them have gotten traction > yet... if someone like Real Software did one, maybe it'd happen.) > > Rob The ScriptBasic dev team is packaging the interpreter in a Term.apk file to make it installable without all the Android Linux tricks just to run it native. Any feedback your willing to provide with this early beta would be appreciated. Please don't use the Gambas list to reply and either send me an e-mail to support at ...2529... or join the ScriptBasic forum at http://www.scriptbasic.org/forum . From sourceforge-raindog2 at ...94... Mon Apr 9 04:04:06 2012 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 08 Apr 2012 22:04:06 -0400 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1333936045.2918.5.camel@...1833...> References: <1333815028.2223.6.camel@...2811...> <1333821082.2410.5.camel@...1833...> <4F823A30.6000100@...94...> <1333936045.2918.5.camel@...1833...> Message-ID: <4F824396.7070008@...94...> On 04/08/2012 09:47 PM, John Spikowski wrote: > The ScriptBasic dev team is packaging the interpreter in a Term.apk file > to make it installable without all the Android Linux tricks just to run > it native. Any feedback your willing to provide with this early beta As I said, I'm comfortable using Java for Android development, and I prefer to avoid NDK (which is why it's unlikely I'd use Gambas on Android either). I'd be using BASIC+SQL if I used anything, since it's not NDK. I have no relationship to its developers except as a very casual user. Good luck with your Android port of ScriptBasic. Rob From support at ...2529... Mon Apr 9 07:55:21 2012 From: support at ...2529... (John Spikowski) Date: Sun, 08 Apr 2012 22:55:21 -0700 Subject: [Gambas-user] Gambas for Android In-Reply-To: <4F824396.7070008@...94...> References: <1333815028.2223.6.camel@...2811...> <1333821082.2410.5.camel@...1833...> <4F823A30.6000100@...94...> <1333936045.2918.5.camel@...1833...> <4F824396.7070008@...94...> Message-ID: <1333950921.2918.11.camel@...1833...> On Sun, 2012-04-08 at 22:04 -0400, Rob Kudla wrote: > On 04/08/2012 09:47 PM, John Spikowski wrote: > > The ScriptBasic dev team is packaging the interpreter in a Term.apk file > > to make it installable without all the Android Linux tricks just to run > > it native. Any feedback your willing to provide with this early beta > > As I said, I'm comfortable using Java for Android development, and I > prefer to avoid NDK (which is why it's unlikely I'd use Gambas on > Android either). I'd be using BASIC+SQL if I used anything, since it's > not NDK. I have no relationship to its developers except as a very > casual user. > > Good luck with your Android port of ScriptBasic. > > Rob As it turns out, ScriptBasic for Android Linux should compile native without the NDK. Nothing other then standard headers are being used from the NDK without needing any support from the Android framework API. > The results show that native C applications can be up to 30 times as fast as an identical algorithm running in Dalvik VM. Java applications can become a speed-up of up to 10 times if utilizing JNI. > From john.aaron.rose at ...626... Mon Apr 9 08:12:39 2012 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 09 Apr 2012 07:12:39 +0100 Subject: [Gambas-user] Gambas for Android Message-ID: <1333951959.2364.18.camel@...2811...> Thanks for peoples' replies. It's interesting that the Basic dev apps do not yet seem to include GUI Designers. IMO they are an essential for any worthwhile Android RAD. My starter posting on this topic was misleading in that it implied that I wanted Gambas to dev apps on Android which would run on Android. That's one possibility. However, it seems likely to me that this would require purchase of a high spec Android tablet to make dev not painful. That's why I brought up Basic4android, as that allows dev on a desktop (using the Android emulator / B4aBridge apk to link to an Android device). Its Basic language & IDE is not up to Gambas' quality not to mention its linking to Android devices for testing. From kevinfishburne at ...1887... Mon Apr 9 08:58:51 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 09 Apr 2012 02:58:51 -0400 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1333951959.2364.18.camel@...2811...> References: <1333951959.2364.18.camel@...2811...> Message-ID: <4F8288AB.9010305@...1887...> On 04/09/2012 02:12 AM, John Rose wrote: > Thanks for peoples' replies. It's interesting that the Basic dev apps do > not yet seem to include GUI Designers. IMO they are an essential for any > worthwhile Android RAD. > > My starter posting on this topic was misleading in that it implied that > I wanted Gambas to dev apps on Android which would run on Android. > That's one possibility. However, it seems likely to me that this would > require purchase of a high spec Android tablet to make dev not painful. > > That's why I brought up Basic4android, as that allows dev on a desktop > (using the Android emulator / B4aBridge apk to link to an Android > device). Its Basic language& IDE is not up to Gambas' quality not to > mention its linking to Android devices for testing. > Ideally GAMBAS would be on all common OS and hardware with all component libraries working. Hardware's slowly coming closer to a semblance of interoperability, but it's not there yet. To get GAMBAS to work on Android/iOS would require some engineering and it would probably get banned from distribution through Apple's App Store for some ridiculous licensing reason or general discontent with its power as a creation tool. The "End" goal should be to get GAMBAS working on every platform. Total dominance. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From demosthenesk at ...626... Mon Apr 9 11:09:44 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 09 Apr 2012 12:09:44 +0300 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <4F823DB9.1020805@...94...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81B4F1.5030201@...626...> <4F823DB9.1020805@...94...> Message-ID: <4F82A758.1060508@...626...> On 04/09/2012 04:39 AM, Rob Kudla wrote: > On 04/08/2012 11:55 AM, Demosthenes Koptsis wrote: >> andLinux is a ubuntu 9.04. >> i know it is ancient but there is no other way to run native linux apps >> in windows. > andLinux is based on coLinux, which is still developed today. Besides > coLinux itself, there are a number of other projects based on coLinux > that use Ubuntu like andLinux did. SpeedLinux is one of them, and is > apparently based on your choice of Ubuntu version: 9.04, 11.10 or > (alpha) 12.04. Give it a try, maybe? > > http://sourceforge.net/projects/freetzlinux/ > > Rob > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Thanks Rob i will try SpeedLinux to see if i can run Gambas3 there. :) From demosthenesk at ...626... Mon Apr 9 11:21:28 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 09 Apr 2012 12:21:28 +0300 Subject: [Gambas-user] Gambas3 & Xming In-Reply-To: <1333914579.2055.13.camel@...2735...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81DB20.2090303@...626...> <4F81E510.7060402@...626...> <1333914579.2055.13.camel@...2735...> Message-ID: <4F82AA18.8070204@...626...> On 04/08/2012 10:49 PM, Willy Raets wrote: > On zo, 2012-04-08 at 22:20 +0300, Demosthenes Koptsis wrote: >> here are some screenshots >> >> http://www.mediafire.com/i/?ehralxdlqxj30ju >> >> http://www.mediafire.com/i/?r40web2l14o93ny >> >> http://www.mediafire.com/i/?s9a7bykyrbufwib >> >> gambas3 on windows 7 via xming. >> >> Gambas3 is running on Linux Mint Debian Edition on server side >> > Hi Demosthenes, > > This opens up a world of possibilities in slowly introducing Linux and > Gambas at my work (Windows environment and Iwould love to slowly change > that) > > I suppose Xming is used as a thin client for the x-window server on > Linux Mint Debian. > > Happen to have a short overview on how you set this up on both Windows > as Linux Mint Debian side? > > Great going, > > Willy > > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user It is very very simple to work with Xming. 1) You need a pc with a Linux distro installed as usual. For example i have a desktop pc running Linux Mint. You can have any distro you like. This pc must run X server to work with Xming. 2) On any Windows machine, for example i tested from my laptop with Win7 Home Premium you install Xming see these pages for more details http://sourceforge.net/projects/xming/ http://www.straightrunning.com/XmingNotes/ 3) Finally you can run XLaunch an application of Xming package which connects you with the Linux Machine via ip 192.168.0.1 or domain my.domain.com You fill the name of application you like to run. For example gambas3, gimp, blender etc It is good to fill font size to 96-110 because the default value is little small and you launch your app remotely from the server. Note the application runs to the server and see the server file system not laptop's one. So you have access to files of a user account. With this way you can have a linux server with X ruunning and sell Linux SaaS to Windows clients who they have accounts as linux users to server! It is very simple and very clever! For me who i love Basic and Visual more i wanted a cross platform vb for linux and windows. But i did not find a free one except RealBasic which is expensive for me. With Xming i can run Gambas3 or any linux app i want to any Windows machine !!! Happy coding Gambas3 for windows from now on!!! From demosthenesk at ...626... Mon Apr 9 11:35:32 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 09 Apr 2012 12:35:32 +0300 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <4F823DB9.1020805@...94...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81B4F1.5030201@...626...> <4F823DB9.1020805@...94...> Message-ID: <4F82AD64.6050903@...626...> On 04/09/2012 04:39 AM, Rob Kudla wrote: > On 04/08/2012 11:55 AM, Demosthenes Koptsis wrote: >> andLinux is a ubuntu 9.04. >> i know it is ancient but there is no other way to run native linux apps >> in windows. > andLinux is based on coLinux, which is still developed today. Besides > coLinux itself, there are a number of other projects based on coLinux > that use Ubuntu like andLinux did. SpeedLinux is one of them, and is > apparently based on your choice of Ubuntu version: 9.04, 11.10 or > (alpha) 12.04. Give it a try, maybe? > > http://sourceforge.net/projects/freetzlinux/ > > Rob > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user well i see speedlinux. it is a customized colinux. Unfortunatly i am waiting the 64bit version of colinux and until then i cant use it, speedlinux or andLinux or colinux. Xming seems to work more austere with a real linux enviroment than using a *.vdi file. Also it has the feature to use it for SaaS remotely. SpeedLinux is a good choice but for the future for me. From rmorgan62 at ...626... Mon Apr 9 12:09:54 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 9 Apr 2012 03:09:54 -0700 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <4F82AD64.6050903@...626...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81B4F1.5030201@...626...> <4F823DB9.1020805@...94...> <4F82AD64.6050903@...626...> Message-ID: I've used virtualbox from Sun Micro for my Windows Vista and 7 laptops to run Linux. Makes it simple and takes up only a little more space. On Mon, Apr 9, 2012 at 2:35 AM, Demosthenes Koptsis wrote: > On 04/09/2012 04:39 AM, Rob Kudla wrote: > > On 04/08/2012 11:55 AM, Demosthenes Koptsis wrote: > >> andLinux is a ubuntu 9.04. > >> i know it is ancient but there is no other way to run native linux apps > >> in windows. > > andLinux is based on coLinux, which is still developed today. Besides > > coLinux itself, there are a number of other projects based on coLinux > > that use Ubuntu like andLinux did. SpeedLinux is one of them, and is > > apparently based on your choice of Ubuntu version: 9.04, 11.10 or > > (alpha) 12.04. Give it a try, maybe? > > > > http://sourceforge.net/projects/freetzlinux/ > > > > Rob > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > well i see speedlinux. > > it is a customized colinux. Unfortunatly i am waiting the 64bit version > of colinux and until then i cant use it, speedlinux or andLinux or colinux. > > Xming seems to work more austere with a real linux enviroment than using > a *.vdi file. > > Also it has the feature to use it for SaaS remotely. > > SpeedLinux is a good choice but for the future for me. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From demosthenesk at ...626... Mon Apr 9 12:14:03 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 09 Apr 2012 13:14:03 +0300 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81B4F1.5030201@...626...> <4F823DB9.1020805@...94...> <4F82AD64.6050903@...626...> Message-ID: <4F82B66B.6050406@...626...> Yes there is also the virtualbox solution. On 04/09/2012 01:09 PM, Randall Morgan wrote: > I've used virtualbox from Sun Micro for my Windows Vista and 7 laptops to > run Linux. Makes it simple and takes up only a little more space. > > On Mon, Apr 9, 2012 at 2:35 AM, Demosthenes Koptsis > wrote: > >> On 04/09/2012 04:39 AM, Rob Kudla wrote: >>> On 04/08/2012 11:55 AM, Demosthenes Koptsis wrote: >>>> andLinux is a ubuntu 9.04. >>>> i know it is ancient but there is no other way to run native linux apps >>>> in windows. >>> andLinux is based on coLinux, which is still developed today. Besides >>> coLinux itself, there are a number of other projects based on coLinux >>> that use Ubuntu like andLinux did. SpeedLinux is one of them, and is >>> apparently based on your choice of Ubuntu version: 9.04, 11.10 or >>> (alpha) 12.04. Give it a try, maybe? >>> >>> http://sourceforge.net/projects/freetzlinux/ >>> >>> Rob >>> >>> >> ------------------------------------------------------------------------------ >>> For Developers, A Lot Can Happen In A Second. >>> Boundary is the first to Know...and Tell You. >>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >>> http://p.sf.net/sfu/Boundary-d2dvs2 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> well i see speedlinux. >> >> it is a customized colinux. Unfortunatly i am waiting the 64bit version >> of colinux and until then i cant use it, speedlinux or andLinux or colinux. >> >> Xming seems to work more austere with a real linux enviroment than using >> a *.vdi file. >> >> Also it has the feature to use it for SaaS remotely. >> >> SpeedLinux is a good choice but for the future for me. >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From sourceforge-raindog2 at ...94... Mon Apr 9 20:24:02 2012 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 09 Apr 2012 14:24:02 -0400 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1333951959.2364.18.camel@...2811...> References: <1333951959.2364.18.camel@...2811...> Message-ID: <4F832942.50605@...94...> On 04/09/2012 02:12 AM, John Rose wrote: > My starter posting on this topic was misleading in that it implied that > I wanted Gambas to dev apps on Android which would run on Android. > That's one possibility. However, it seems likely to me that this would > require purchase of a high spec Android tablet to make dev not painful. I agree. Being able to write code in BASIC+SQL on my phone is a neat trick, but that's all it is... a trick. Even on my tablet, it's not really a viable development environment, and probably wouldn't be even if it had a GUI designer. I've done bug fixing on clients' web apps and maintained their databases from my phone and tablet, but wouldn't want to spend all day coding on either of them. If I end up ever doing BASIC+SQL work for some reason, I'll be sshing to my phone from my laptop to write the code, or possibly writing the code on my laptop and using Dropbox or sftp to push it up. What might be a nice solution would be a transpiler that would take Gambas object code and compile it into Dalvik (Android JVM) bytecode. When RMS suggested something similar for Gambas in general some years ago, I thought it was a dumb idea, but in this case, it makes a lot of sense to me. I wouldn't have any idea where to begin, and even if I did, how to handle GUI toolkit translation issues, how to make apps that look like Android apps (with gesture and multitouch support) instead of desktop apps jammed onto a tiny screen, etc. I don't think any of the commercial options (such as Basic4Android) has addressed many of those issues either, because they're not going to be easy to deal with. Desktop and touch-based apps are fundamentally different (even if Microsoft and Ubuntu would like to pretend otherwise). Games might be an exception to this rule, but generally speaking, creating an IDE that allows full-featured mobile and desktop apps to be created from the same source is a really tall order. Rob From ihaywood at ...1979... Tue Apr 10 02:51:32 2012 From: ihaywood at ...1979... (Ian Haywood) Date: Tue, 10 Apr 2012 10:51:32 +1000 Subject: [Gambas-user] Release of Gambas 3.1 In-Reply-To: <4F8191B6.8060307@...1...> References: <4F8191B6.8060307@...1...> Message-ID: On Sun, Apr 8, 2012 at 11:25 PM, Beno?t Minisini wrote: > P.S. I don't understand why Ubuntu only provides Gambas 2 and not Gambas > 3 binary packages. Anyone has any idea about that? Ubuntu take their packages from debian which is still on gambas2. I have submitted gambas3 packages to the debian devs and this is slowly winding its way through their system. The advantage is this will also get gambas3 into Linux Mint and a whole bunch of other distros too. Ian From gambas.fr at ...626... Tue Apr 10 09:31:17 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 10 Apr 2012 09:31:17 +0200 Subject: [Gambas-user] Why this copy don't work ? Message-ID: Hi Benoit, Is this a bug ? I can get this code working neither that : Dim hCtrl as Control = Panel1 Panel1 inherit Control, no ? -- Fabien Bodard From gambas.fr at ...626... Tue Apr 10 09:32:24 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 10 Apr 2012 09:32:24 +0200 Subject: [Gambas-user] Why this copy don't work ? In-Reply-To: References: Message-ID: 2012/4/10 Fabien Bodard : > Hi Benoit, > > Is this a bug ? I can get this code working > > neither that : > > Dim hCtrl as Control = Panel1 > > > ?Panel1 inherit Control, no ? > -- > Fabien Bodard I forgot the attachement :) -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: copy-0.0.1.tar.gz Type: application/x-gzip Size: 5034 bytes Desc: not available URL: From joem at ...2671... Tue Apr 10 12:07:26 2012 From: joem at ...2671... (jm) Date: Tue, 10 Apr 2012 11:07:26 +0100 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1333951959.2364.18.camel@...2811...> References: <1333951959.2364.18.camel@...2811...> Message-ID: <1334052446.30128.8.camel@...2672...> On Mon, 2012-04-09 at 07:12 +0100, John Rose wrote: > Thanks for peoples' replies. It's interesting that the Basic dev apps do > not yet seem to include GUI Designers. IMO they are an essential for any > worthwhile Android RAD. > > My starter posting on this topic was misleading in that it implied that > I wanted Gambas to dev apps on Android which would run on Android. > That's one possibility. However, it seems likely to me that this would > require purchase of a high spec Android tablet to make dev not painful. > > That's why I brought up Basic4android, as that allows dev on a desktop > (using the Android emulator / B4aBridge apk to link to an Android > device). Its Basic language & IDE is not up to Gambas' quality not to > mention its linking to Android devices for testing. What about a virtual machine running on Android and then from Android, ssh -X into it? (I believe Ubuntu 12.04 will do something very close to that.) No work for gambas developers + 100% compatibility with all the other stuff such as sqlite3 that would run on the virtual machine. Most high end Androids are going dual core, and soon quad core so not much in the way of a roadblock for the future. The bulk of the work is to pull everything together by Android developers so that this can happen on their platform. ______________________________________________________________________________ This message has been checked for viruses and spam by Corpex using the ArmourPlate Anti Virus and Anti Spam Scanning Service. To find out more and see our email archiving service see http://www.armourplate.com or call Corpex on UK 0845 050 1898. From demosthenesk at ...626... Tue Apr 10 13:31:29 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Tue, 10 Apr 2012 14:31:29 +0300 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1334052446.30128.8.camel@...2672...> References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> Message-ID: <4F841A11.30704@...626...> ???? 10/4/2012 13:07, ?/? jm ??????: > On Mon, 2012-04-09 at 07:12 +0100, John Rose wrote: >> Thanks for peoples' replies. It's interesting that the Basic dev apps do >> not yet seem to include GUI Designers. IMO they are an essential for any >> worthwhile Android RAD. >> >> My starter posting on this topic was misleading in that it implied that >> I wanted Gambas to dev apps on Android which would run on Android. >> That's one possibility. However, it seems likely to me that this would >> require purchase of a high spec Android tablet to make dev not painful. >> >> That's why I brought up Basic4android, as that allows dev on a desktop >> (using the Android emulator / B4aBridge apk to link to an Android >> device). Its Basic language& IDE is not up to Gambas' quality not to >> mention its linking to Android devices for testing. > What about a virtual machine running on Android and then from Android, > ssh -X into it? (I believe Ubuntu 12.04 will do something very close > to that.) > > No work for gambas developers + 100% compatibility with all the other > stuff such as sqlite3 that would run on the virtual machine. > Most high end Androids are going dual core, and soon quad core so not > much in the way of a roadblock for the future. > > The bulk of the work is to pull everything together by Android > developers so that this can happen on their platform. > > ______________________________________________________________________________ > This message has been checked for viruses and spam by Corpex using > the ArmourPlate Anti Virus and Anti Spam Scanning Service. > To find out more and see our email archiving service see > http://www.armourplate.com or call Corpex on UK 0845 050 1898. > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user The ssh -X solution it seems similar to Xming use for windows. The only problem to this is that running the gambas3 app remotely via X the application has access to server's filesystem. If user want to do work with files on android machine it has do have a network drive like windows to have access to server's files. From steve at ...2812... Tue Apr 10 16:15:16 2012 From: steve at ...2812... (Steve) Date: Tue, 10 Apr 2012 15:15:16 +0100 (GMT Daylight Time) Subject: [Gambas-user] Release of Gambas 3.1 References: <4F8191B6.8060307@...1...> Message-ID: <4F844074.000009.07768@...2813...> Which is the distro of least resistance ? Also what needed for purely a server install. -------Original Message------- From: Ian Haywood Date: 10/04/2012 01:51:55 To: mailing list for gambas users Subject: Re: [Gambas-user] Release of Gambas 3.1 On Sun, Apr 8, 2012 at 11:25 PM, Beno?t Minisini wrote: > P.S. I don't understand why Ubuntu only provides Gambas 2 and not Gambas > 3 binary packages. Anyone has any idea about that? Ubuntu take their packages from debian which is still on gambas2. I have submitted gambas3 packages to the debian devs and this is slowly winding its way through their system. The advantage is this will also get gambas3 into Linux Mint and a whole bunch of other distros too. Ian ----------------------------------------------------------------------------- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From joem at ...2671... Tue Apr 10 16:19:34 2012 From: joem at ...2671... (jm) Date: Tue, 10 Apr 2012 15:19:34 +0100 Subject: [Gambas-user] Gambas for Android In-Reply-To: <4F841A11.30704@...626...> References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> Message-ID: <1334067574.31696.11.camel@...2672...> On Tue, 2012-04-10 at 14:31 +0300, Demosthenes Koptsis wrote: > ???? 10/4/2012 13:07, ?/? jm ??????: > > On Mon, 2012-04-09 at 07:12 +0100, John Rose wrote: > >> Thanks for peoples' replies. It's interesting that the Basic dev apps do > >> not yet seem to include GUI Designers. IMO they are an essential for any > >> worthwhile Android RAD. > >> > >> My starter posting on this topic was misleading in that it implied that > >> I wanted Gambas to dev apps on Android which would run on Android. > >> That's one possibility. However, it seems likely to me that this would > >> require purchase of a high spec Android tablet to make dev not painful. > >> > >> That's why I brought up Basic4android, as that allows dev on a desktop > >> (using the Android emulator / B4aBridge apk to link to an Android > >> device). Its Basic language& IDE is not up to Gambas' quality not to > >> mention its linking to Android devices for testing. > > What about a virtual machine running on Android and then from Android, > > ssh -X into it? (I believe Ubuntu 12.04 will do something very close > > to that.) > > > > No work for gambas developers + 100% compatibility with all the other > > stuff such as sqlite3 that would run on the virtual machine. > > Most high end Androids are going dual core, and soon quad core so not > > much in the way of a roadblock for the future. > > > > The bulk of the work is to pull everything together by Android > > developers so that this can happen on their platform. > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > The ssh -X solution it seems similar to Xming use for windows. > > The only problem to this is that running the gambas3 app remotely via X > the application has access to server's filesystem. > If user want to do work with files on android machine it has do have a > network drive like windows to have access to server's files. "network drive like windows" presumably means mount a network drive so that it is accessible to Gambas. That should be easy e.g. in Ubuntu click nautilus > file > connect to server and you got ssh, ftp, and many other types of connectivity which can be set up as mounted network drives that Gambas can then access to transfer files. It should be able to access the Android host if the host is running ssh (or ftp or anything else supported by nautilus). If the real internet is connected, then it can access remote hosts in the same way as it accesses local hosts. Luckily no Gambas programs need to be ritually sacrificed on the alter of change to make all this happen. ______________________________________________________________________________ This message has been checked for viruses and spam by Corpex using the ArmourPlate Anti Virus and Anti Spam Scanning Service. To find out more and see our email archiving service see http://www.armourplate.com or call Corpex on UK 0845 050 1898. From mohareve at ...626... Tue Apr 10 19:38:24 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 10 Apr 2012 19:38:24 +0200 Subject: [Gambas-user] Gambas 3.1 boogey Message-ID: I have a Gridview gV and the corresponding Data event handler: Public Sub gv_Data(x As Integer, y As Integer) ' Fills the GridView with the query results Dim i As Integer Dim szine As String If ((x Mod 2) = 0) Then szine = &E5E5E5& Else szine = &FFFFFF& Endif Select Case y Case 0 gV.Data.Text = Keress.Name(x) gV.Data.BackGround = szine Case 1 gV.Data.Text = Keress.Volm(x) gV.Data.BackGround = szine Case 2 gV.Data.Text = Keress.Road(x) gV.Data.BackGround = szine Case 3 gV.Data.Text = Keress.Size(x) gV.Data.BackGround = szine Case 4 gV.Data.Text = Keress.When(x) gV.Data.BackGround = szine End Select End I didn't change anything but the program exits with Null object error for gV.Data.Text, while Keress.Name(x) etc. are returned correctly. Csaba From gambas at ...1... Tue Apr 10 20:06:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 10 Apr 2012 20:06:12 +0200 Subject: [Gambas-user] Gambas 3.1 boogey In-Reply-To: References: Message-ID: <4F847694.8050605@...1...> Le 10/04/2012 19:38, M. Cs. a ?crit : > I have a Gridview gV and the corresponding Data event handler: > > Public Sub gv_Data(x As Integer, y As Integer) ' Fills the GridView > with the query results > Dim i As Integer > Dim szine As String > If ((x Mod 2) = 0) Then > szine =&E5E5E5& > Else > szine =&FFFFFF& > Endif > > Select Case y > Case 0 > gV.Data.Text = Keress.Name(x) > gV.Data.BackGround = szine > Case 1 > gV.Data.Text = Keress.Volm(x) > gV.Data.BackGround = szine > Case 2 > gV.Data.Text = Keress.Road(x) > gV.Data.BackGround = szine > Case 3 > gV.Data.Text = Keress.Size(x) > gV.Data.BackGround = szine > Case 4 > gV.Data.Text = Keress.When(x) > gV.Data.BackGround = szine > > End Select > > End > > I didn't change anything but the program exits with Null object error > for gV.Data.Text, while Keress.Name(x) etc. are returned correctly. > > Csaba > Do you have a project that reproduces the bug? There are GridView controls everywhere in the Gambas IDE and they do not crash AFAIK, so it may be a subtle bug! -- Beno?t Minisini From demosthenesk at ...626... Wed Apr 11 01:05:24 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 11 Apr 2012 02:05:24 +0300 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1334067574.31696.11.camel@...2672...> References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> Message-ID: <4F84BCB4.5010103@...626...> ???? 10/4/2012 17:19, ?/? jm ??????: > On Tue, 2012-04-10 at 14:31 +0300, Demosthenes Koptsis wrote: >> ???? 10/4/2012 13:07, ?/? jm ??????: >>> On Mon, 2012-04-09 at 07:12 +0100, John Rose wrote: >>>> Thanks for peoples' replies. It's interesting that the Basic dev apps do >>>> not yet seem to include GUI Designers. IMO they are an essential for any >>>> worthwhile Android RAD. >>>> >>>> My starter posting on this topic was misleading in that it implied that >>>> I wanted Gambas to dev apps on Android which would run on Android. >>>> That's one possibility. However, it seems likely to me that this would >>>> require purchase of a high spec Android tablet to make dev not painful. >>>> >>>> That's why I brought up Basic4android, as that allows dev on a desktop >>>> (using the Android emulator / B4aBridge apk to link to an Android >>>> device). Its Basic language& IDE is not up to Gambas' quality not to >>>> mention its linking to Android devices for testing. >>> What about a virtual machine running on Android and then from Android, >>> ssh -X into it? (I believe Ubuntu 12.04 will do something very close >>> to that.) >>> >>> No work for gambas developers + 100% compatibility with all the other >>> stuff such as sqlite3 that would run on the virtual machine. >>> Most high end Androids are going dual core, and soon quad core so not >>> much in the way of a roadblock for the future. >>> >>> The bulk of the work is to pull everything together by Android >>> developers so that this can happen on their platform. >>> >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> The ssh -X solution it seems similar to Xming use for windows. >> >> The only problem to this is that running the gambas3 app remotely via X >> the application has access to server's filesystem. >> If user want to do work with files on android machine it has do have a >> network drive like windows to have access to server's files. > "network drive like windows" presumably means mount a network drive > so that it is accessible to Gambas. > > That should be easy e.g. in Ubuntu click > nautilus> file> connect to server and you got > ssh, ftp, and many other types of connectivity which can > be set up as mounted network drives that Gambas can then > access to transfer files. > > It should be able to access the Android host if the host > is running ssh (or ftp or anything else supported by nautilus). If the > real internet is connected, then it can access remote hosts > in the same way as it accesses local hosts. > Luckily no Gambas programs need to be ritually sacrificed on the alter > of change to make all this happen. > > > ______________________________________________________________________________ > This message has been checked for viruses and spam by Corpex using > the ArmourPlate Anti Virus and Anti Spam Scanning Service. > To find out more and see our email archiving service see > http://www.armourplate.com or call Corpex on UK 0845 050 1898. > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Yes it is easy to setup such a service. You need a linux server with gambas You need a user account on server with gambas You access the gambas app via ssh and X server form windows, android whatever. If you need to work with files from android, windows etc you tranfer them to a network mounted folder/drive and gambas access them in user's home folder. For windows to map a drive is easy, via ftp or sshfs for windows. For android i dont know if there are apps for such things, i dont have any android yet. i am waiting the pc version of adroid to test it in virtualbox. Until then i cant say something more. From ihaywood at ...1979... Wed Apr 11 02:13:45 2012 From: ihaywood at ...1979... (Ian Haywood) Date: Wed, 11 Apr 2012 10:13:45 +1000 Subject: [Gambas-user] Release of Gambas 3.1 In-Reply-To: <4F844074.000009.07768@...2813...> References: <4F8191B6.8060307@...1...> <4F844074.000009.07768@...2813...> Message-ID: On Wed, Apr 11, 2012 at 12:15 AM, Steve wrote: > > Which is the distro of least resistance ? arch. It will even let you install directly from gambas svn. however it is a lot more unstable: the debian guys do gain something from their conservatism. > Also what needed for purely a server install. AFAICT gambas3-runtime, plus whatever non-GUI components your program needs. From john.aaron.rose at ...626... Wed Apr 11 07:55:40 2012 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 11 Apr 2012 06:55:40 +0100 Subject: [Gambas-user] Gambas for Android Message-ID: <1334123740.4400.32.camel@...2811...> I really like Rob Kudla's transpiler idea of being able to generate Dalvik bytecode from Gambas object code (.gambas?). A digression: Bluestacks looks like a useful piece of software: this currently allows running an Android app under Windows and is soon to be extended to Mac. This sounds useful in conjunction with running Basic4android under Windows (i.e. as a Guest OS in Virtualbox). So if a .apk can be 'converted' to run under Windows... I guess that Gambas would also need components for the typical extra hardware in an Android device e.g. GPS, accelerometer. From support at ...2529... Wed Apr 11 08:16:16 2012 From: support at ...2529... (John Spikowski) Date: Tue, 10 Apr 2012 23:16:16 -0700 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1334123740.4400.32.camel@...2811...> References: <1334123740.4400.32.camel@...2811...> Message-ID: <1334124976.4703.23.camel@...1833...> On Wed, 2012-04-11 at 06:55 +0100, John Rose wrote: > I really like Rob Kudla's transpiler idea of being able to generate > Dalvik bytecode from Gambas object code (.gambas?). > > A digression: Bluestacks looks like a useful piece of software: this > currently allows running an Android app under Windows and is soon to be > extended to Mac. This sounds useful in conjunction with running > Basic4android under Windows (i.e. as a Guest OS in Virtualbox). So if > a .apk can be 'converted' to run under Windows... > > I guess that Gambas would also need components for the typical extra > hardware in an Android device e.g. GPS, accelerometer. This sounds grand but wouldn't it be prudent to get the Gambas console mode interpreter working on Android Linux native first? I think a GUI version of Gambas on Android is unrealistic at this time. Wait until Ubuntu release their ARM mobile Linux. From afroehlke at ...784... Wed Apr 11 08:09:53 2012 From: afroehlke at ...784... (=?iso-8859-1?Q?Andreas_Fr=F6hlke?=) Date: Wed, 11 Apr 2012 08:09:53 +0200 Subject: [Gambas-user] (no subject) Message-ID: <8D42310D957CFB46AA11921A711D4D16058932D2EA@...1899...> Hello, we read in a forum, that gambas3 searches in 2 pathes for gambas libraries. Is there a way to add pathes or edit them? If not, is gambas3 searching recursively, so we can put our library in a subfolder? Regards Andreas Fr?hlke From phpete48 at ...626... Wed Apr 11 14:14:17 2012 From: phpete48 at ...626... (pete b.) Date: Wed, 11 Apr 2012 08:14:17 -0400 Subject: [Gambas-user] (no subject) Message-ID: Hi all, I'm trying to run slcreator (a slide show creator) and it requires gambas. I tried to build gambas but it did not configure correctly. So, then I ran 'yum install gambas'. Next, I ran the following: [root at ...2814... slcreator]# ./slcreator ERROR: ld.so: object 'libqt-mt.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: #27: Cannot load component '/usr/lib/gambas/lib.gb.qt.so': /usr/lib/gambas/lib.gb.qt.so: cannot open shared object file: No such file or directory [root at ...2814... slcreator]# ls /usr/lib/gambas lib.gb.component What would be a prudent next step? thanks, pete. From rmorgan62 at ...626... Wed Apr 11 14:32:22 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 11 Apr 2012 05:32:22 -0700 Subject: [Gambas-user] (no subject) In-Reply-To: References: Message-ID: Looks like you may not have all the dependencies installed. Try installing or re-installing qt3. On Wed, Apr 11, 2012 at 5:14 AM, pete b. wrote: > Hi all, > > I'm trying to run slcreator (a slide show creator) and it requires gambas. > I tried to build gambas but it did not configure correctly. > So, then I ran 'yum install gambas'. Next, I ran the following: > [root at ...2814... slcreator]# ./slcreator > ERROR: ld.so: object 'libqt-mt.so.3' from LD_PRELOAD cannot be preloaded: > ignored. > ERROR: #27: Cannot load component '/usr/lib/gambas/lib.gb.qt.so': > /usr/lib/gambas/lib.gb.qt.so: cannot open shared object file: No such file > or directory > > [root at ...2814... slcreator]# ls /usr/lib/gambas > lib.gb.component > > What would be a prudent next step? > > thanks, > pete. > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From willy at ...2734... Thu Apr 12 01:22:29 2012 From: willy at ...2734... (Willy Raets) Date: Thu, 12 Apr 2012 01:22:29 +0200 Subject: [Gambas-user] Gambas 3.1 and Exec (Bug or NOT?) Message-ID: <1334186549.2173.10.camel@...2735...> Hello all, I have this library that worked fine using Gambas 3.0 I have upgraded to Gambas 3.1 (PPA Kendek) Since then the library doesn't function anymore. Problem seems to be Exec. I Gambas 3.0 when using Exec and the command is not on the PC that is no problem. Is use Exec to output to a string and then test the length of the string If length is zero the command is not present. But with Gambas 3.1 it is a problem as application won't run it "Cannnot run child process: Cannot exec program: Success in SysInfo 11" Project attached. First test is kwin, so if you have kwin on your system I expect the application to work. I don't have kwin that is why it fails I guess Is this meant to be or is this a bug? [System] OperatingSystem=Linux Kernel=2.6.35-32-generic Architecture=i686 Memory=2051620 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.10" Desktop=Gnome [Gambas 2] Version=2.24.0 Path=/usr/bin/gbx2 [Gambas 3] Version=3.1.0 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.0 GTK+=libgtk-x11-2.0.so.0.2200.0 -------------- next part -------------- A non-text attachment was scrubbed... Name: ProblemWithExec-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5214 bytes Desc: not available URL: From gambas at ...1... Thu Apr 12 01:54:29 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 12 Apr 2012 01:54:29 +0200 Subject: [Gambas-user] Gambas 3.1 and Exec (Bug or NOT?) In-Reply-To: <1334186549.2173.10.camel@...2735...> References: <1334186549.2173.10.camel@...2735...> Message-ID: <4F8619B5.6070504@...1...> Le 12/04/2012 01:22, Willy Raets a ?crit : > Hello all, > > I have this library that worked fine using Gambas 3.0 > I have upgraded to Gambas 3.1 (PPA Kendek) > > Since then the library doesn't function anymore. > > Problem seems to be Exec. > I Gambas 3.0 when using Exec and the command is not on the PC that is no > problem. > Is use Exec to output to a string and then test the length of the string > If length is zero the command is not present. > > But with Gambas 3.1 it is a problem as application won't run it > "Cannnot run child process: Cannot exec program: Success in SysInfo 11" > > Project attached. > First test is kwin, so if you have kwin on your system I expect the > application to work. I don't have kwin that is why it fails I guess > > Is this meant to be or is this a bug? > > [System] > OperatingSystem=Linux > Kernel=2.6.35-32-generic > Architecture=i686 > Memory=2051620 kB > DistributionVendor=Ubuntu > DistributionRelease="Ubuntu 10.10" > Desktop=Gnome > > [Gambas 2] > Version=2.24.0 > Path=/usr/bin/gbx2 > > [Gambas 3] > Version=3.1.0 > Path=/usr/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.7.0 > GTK+=libgtk-x11-2.0.so.0.2200.0 > > The bug was in Gambas 3.0. Now, in Gambas 3.1, if you try to run a program that does not exist, you get an error. Normally you should get that error message: "Cannot run child process: cannot exec program: Resource temporarily unavailable in SysInfo:11" I don't really understand why you get "Success" instead. Regards, -- Beno?t Minisini From gambas at ...2524... Thu Apr 12 12:30:09 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 12 Apr 2012 10:30:09 +0000 Subject: [Gambas-user] Issue 231 in gambas: Possible to build Gambas3 against GTK? Message-ID: <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 231 by ronmcina... at ...370...: Possible to build Gambas3 against GTK? http://code.google.com/p/gambas/issues/detail?id=231 Not a problem with Gambas3 but a request. There is a known issue with Nvidia cards and QT4 (for me it manifests itself with problems editing text and screen redraw). I spotted that it is possible to build Gambas apps as either QT4 or GTK so I was wondering if it is possible to build the Gambas executable itself against GTK. As I said its not a Gambas problem but I would like to try it as it may well fix what is a fairly annoying effect for me. Thanks for any help you can give. Ron McInally From eilert-sprachen at ...221... Thu Apr 12 12:41:41 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 12 Apr 2012 12:41:41 +0200 Subject: [Gambas-user] Issue 231 in gambas: Possible to build Gambas3 against GTK? In-Reply-To: <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> Message-ID: <4F86B165.70305@...221...> Not an answer but a question: I've got Gambas3 on my laptop which has ATI graphics. Under KDE 4 I experienced problems like it doesn't draw in a DrawingArea, under LxDE (GTK) it runs without problems. Do you think this is a related bug? Regards Rolf Am 12.04.2012 12:30, schrieb gambas at ...2524...: > Status: New > Owner: ---- > Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any > Desktop-Any GUI-Any > > New issue 231 by ronmcina... at ...370...: Possible to build Gambas3 against > GTK? > http://code.google.com/p/gambas/issues/detail?id=231 > > Not a problem with Gambas3 but a request. There is a known issue with > Nvidia cards and QT4 (for me it manifests itself with problems editing text > and screen redraw). I spotted that it is possible to build Gambas apps as > either QT4 or GTK so I was wondering if it is possible to build the Gambas > executable itself against GTK. As I said its not a Gambas problem but I > would like to try it as it may well fix what is a fairly annoying effect > for me. > > Thanks for any help you can give. > Ron McInally > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1823... Thu Apr 12 12:55:10 2012 From: rterry at ...1823... (richard terry) Date: Thu, 12 Apr 2012 20:55:10 +1000 Subject: [Gambas-user] Issue 231 in gambas: Possible to build Gambas3 against GTK? In-Reply-To: <4F86B165.70305@...221...> References: <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> <4F86B165.70305@...221...> Message-ID: <201204122055.10623.rterry@...1823...> On Thursday 12 April 2012 20:41:41 Rolf-Werner Eilert wrote: > Not an answer but a question: I've got Gambas3 on my laptop which has > ATI graphics. Under KDE 4 I experienced problems like it doesn't draw in > a DrawingArea, under LxDE (GTK) it runs without problems. Do you think > this is a related bug? Not an answer but another observation. I've got gambas3 running on 2 laptops (one kubuntu 9, one kubuntu 12) and 6 desktops at work (kubuntu 10 or 11). My Nvidia laptops draw all the graphics fine. Machines with intel on board have problems - sometimes the popup lists or columnview have an outline but the contents of the lists not visible - one can arrow up/down, select a line and I know the content is there because my code will verify it. I've looked till I'm blue in the face trying to find a solution. Dosnt appear to be a .raise problem. Anyone else noticed this sort of stuff? richard > > Regards > > Rolf > > Am 12.04.2012 12:30, schrieb gambas at ...2524...: > > Status: New > > Owner: ---- > > Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any > > Desktop-Any GUI-Any > > > > New issue 231 by ronmcina... at ...370...: Possible to build Gambas3 > > against GTK? > > http://code.google.com/p/gambas/issues/detail?id=231 > > > > Not a problem with Gambas3 but a request. There is a known issue with > > Nvidia cards and QT4 (for me it manifests itself with problems editing > > text and screen redraw). I spotted that it is possible to build Gambas > > apps as either QT4 or GTK so I was wondering if it is possible to build > > the Gambas executable itself against GTK. As I said its not a Gambas > > problem but I would like to try it as it may well fix what is a fairly > > annoying effect for me. > > > > Thanks for any help you can give. > > Ron McInally > > > > > > ------------------------------------------------------------------------- > >----- For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > --------------------------------------------------------------------------- > --- For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Thu Apr 12 12:58:45 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 12 Apr 2012 12:58:45 +0200 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81B4F1.5030201@...626...> <4F823DB9.1020805@...94...> <4F82AD64.6050903@...626...> Message-ID: <4F86B565.7030200@...221...> Am 09.04.2012 12:09, schrieb Randall Morgan: > I've used virtualbox from Sun Micro for my Windows Vista and 7 laptops to > run Linux. Makes it simple and takes up only a little more space. > Though it's slightly off-topic here :-) I don't hesitate to ask back here. In our environment in the firm with Win7 only running on one machine in the account office for the accounting programs and the rest running on a Linux server with LTSP and thin clients, it would be quite useful to have one of the Gambas programs for the Win7 machine. Now I have to write programs for Win and Linux if I want access to data on the server from both places. So I tried to use Virtual Box as a thin client, and it runs quite nice, but then it pauses (and seems to wait for something) every two minutes or so. This pausing lasts for 15 - 50 seconds, so the solution proved unusable. In my case, a virtual machine as a thin client is not the only way. There is a samba drive on the Linux server which serves the Windows, so I could as well start a whole Linux in Virtual Box and access that drive to fetch the data, but the terminal server is surely the more efficient way. So, all I would like to know is if you have an idea what could cause these pauses as I haven't found anything about it. Regards Rolf From gambas at ...2524... Thu Apr 12 13:34:39 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 12 Apr 2012 11:34:39 +0000 Subject: [Gambas-user] Issue 232 in gambas: GB3.1 Can't add a new directory to source Message-ID: <0-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 232 by sot... at ...626...: GB3.1 Can't add a new directory to source http://code.google.com/p/gambas/issues/detail?id=232 1) Describe the problem. Right clicking on Project Tree and selecting New Directory I got the error: "This application has raise an unexpected error and must abort" On project reopen the newly created directory appears into the project tree. The same error happens on 3 different PCs 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=3.2.0-23-generic Architecture=x86_64 Memory=1007160 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu precise (development branch)" Desktop=Gnome [Gambas 3] Version=3.1.0 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 3) Provide a little project that reproduces the bug or the crash. NA 4) If your project needs a database, try to provide it, or part of it. NA Attachments: Screenshot from 2012-04-12 13:23:20.png 26.0 KB From gambas at ...2524... Thu Apr 12 13:37:00 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 12 Apr 2012 11:37:00 +0000 Subject: [Gambas-user] Issue 232 in gambas: GB3.1 Can't add a new directory to source In-Reply-To: <0-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> Comment #1 on issue 232 by sot... at ...626...: GB3.1 Can't add a new directory to source http://code.google.com/p/gambas/issues/detail?id=232 Forgot to mention: this only happens if I try to add a dir to .src Adding a dir to any other Directory (Data...) works fine From bbruen at ...2308... Thu Apr 12 13:36:57 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Thu, 12 Apr 2012 21:06:57 +0930 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <4F86B565.7030200@...221...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81B4F1.5030201@...626...> <4F823DB9.1020805@...94...> <4F82AD64.6050903@...626...> <4F86B565.7030200@...221...> Message-ID: <1334230617.10514.25.camel@...2688...> On Thu, 2012-04-12 at 12:58 +0200, Rolf-Werner Eilert wrote: > Am 09.04.2012 12:09, schrieb Randall Morgan: > > I've used virtualbox from Sun Micro for my Windows Vista and 7 laptops to > > run Linux. Makes it simple and takes up only a little more space. > > > > Though it's slightly off-topic here :-) I don't hesitate to ask back > here. In our environment in the firm with Win7 only running on one > machine in the account office for the accounting programs and the rest > running on a Linux server with LTSP and thin clients, it would be quite > useful to have one of the Gambas programs for the Win7 machine. Now I > have to write programs for Win and Linux if I want access to data on the > server from both places. > > So I tried to use Virtual Box as a thin client, and it runs quite nice, > but then it pauses (and seems to wait for something) every two minutes > or so. This pausing lasts for 15 - 50 seconds, so the solution proved > unusable. > Rolf, I know a fair bit about running it the other way around (hereafter OWA), i.e. using VBox to host a windows OS on a Linux base, but not much about hosting a Linux OS on a Windows base. But here goes. The first things I would look at are: 1) Is the VBox "Linux OS system drive (aka /)" local to the Windows machine or is it on the LAN? I have seen something similar when I was running a set of alternate distros in VBox where their disk images were on a NFS server. I couldn't understand why, now and then, "disk contention" seemed to occur. 2) Another OWA issue seems to be the virtlan0 network connection (or whatever it's called). This seems to be an ongoing issue with VBox. It, in my opinion contends too much with the real network I/F's and low level things like arp. Unfortunately, I have not found a really solid solution and usually resort to killing the virtlan0 IF. (Your mileage may vary.) 3) Make sure that the virtual machine has absolutely no swap. In other words it should be able to run without any swap contention (otherwise you have it swapping into/outof it's "pretend" memory, then into/outof the hosting memory/swap and then, dog forbid, in and out of Microsoft's memory mismanagement system. ... In fact, this is where I would really be looking. Make sure that the VBox is grabbing the maximum possible (I'll rephrase that, the MAXIMUM POSSIBLE) memory space on the host machine. If the users complain that they cant VOIP their being-friend or can't google/face-tube/ubook etc while the accounting system batches are being posted then that is a problem that only they can solve. ... > In my case, a virtual machine as a thin client is not the only way. > There is a samba drive on the Linux server which serves the Windows, so > I could as well start a whole Linux in Virtual Box and access that drive > to fetch the data, but the terminal server is surely the more efficient way. > > So, all I would like to know is if you have an idea what could cause > these pauses as I haven't found anything about it. > > Regards > > Rolf > hth Bruce From rmorgan62 at ...626... Thu Apr 12 16:11:00 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 12 Apr 2012 07:11:00 -0700 Subject: [Gambas-user] Gambas3 & andLinux on WinXP In-Reply-To: <1334230617.10514.25.camel@...2688...> References: <4F81AB77.9080702@...626...> <4F81B380.5040507@...1...> <4F81B4F1.5030201@...626...> <4F823DB9.1020805@...94...> <4F82AD64.6050903@...626...> <4F86B565.7030200@...221...> <1334230617.10514.25.camel@...2688...> Message-ID: I too use vbox mostly on linux hosts but I also run it on my laptop and one Windows XP desktop. The Laptop is Windows Vista. The only time I have had an issue with it running slowly was when I used to much memory. Make sure you have sufficient memory for both OS's. I've got 3gb and still run vista as host and ubuntu 10 as guest on vbox. However, it is not as fast as on my 64gb machine using Ubuntu 11 host and WIndows ( XP, Vista, 7) guests. Here there is no noticeable difference between running these OSs directly on the hardware. I'd be looking at memory and memory management first then check out other possible issues. On Thu, Apr 12, 2012 at 4:36 AM, Bruce Bruen wrote: > On Thu, 2012-04-12 at 12:58 +0200, Rolf-Werner Eilert wrote: > > Am 09.04.2012 12:09, schrieb Randall Morgan: > > > I've used virtualbox from Sun Micro for my Windows Vista and 7 laptops > to > > > run Linux. Makes it simple and takes up only a little more space. > > > > > > > Though it's slightly off-topic here :-) I don't hesitate to ask back > > here. In our environment in the firm with Win7 only running on one > > machine in the account office for the accounting programs and the rest > > running on a Linux server with LTSP and thin clients, it would be quite > > useful to have one of the Gambas programs for the Win7 machine. Now I > > have to write programs for Win and Linux if I want access to data on the > > server from both places. > > > > So I tried to use Virtual Box as a thin client, and it runs quite nice, > > but then it pauses (and seems to wait for something) every two minutes > > or so. This pausing lasts for 15 - 50 seconds, so the solution proved > > unusable. > > > Rolf, > I know a fair bit about running it the other way around (hereafter OWA), > i.e. using VBox to host a windows OS on a Linux base, but not much about > hosting a Linux OS on a Windows base. But here goes. > The first things I would look at are: > 1) Is the VBox "Linux OS system drive (aka /)" local to the Windows > machine or is it on the LAN? I have seen something similar when I was > running a set of alternate distros in VBox where their disk images were > on a NFS server. I couldn't understand why, now and then, "disk > contention" seemed to occur. > 2) Another OWA issue seems to be the virtlan0 network connection (or > whatever it's called). This seems to be an ongoing issue with VBox. > It, in my opinion contends too much with the real network I/F's and low > level things like arp. Unfortunately, I have not found a really solid > solution and usually resort to killing the virtlan0 IF. (Your mileage > may vary.) > 3) Make sure that the virtual machine has absolutely no swap. In other > words it should be able to run without any swap contention (otherwise > you have it swapping into/outof it's "pretend" memory, then into/outof > the hosting memory/swap and then, dog forbid, in and out of Microsoft's > memory mismanagement system. > > > ... > > In fact, this is where I would really be looking. Make sure that the > VBox is grabbing the maximum possible (I'll rephrase that, the MAXIMUM > POSSIBLE) memory space on the host machine. If the users complain that > they cant VOIP their being-friend or can't google/face-tube/ubook etc > while the accounting system batches are being posted then that is a > problem that only they can solve. > > ... > > > > In my case, a virtual machine as a thin client is not the only way. > > There is a samba drive on the Linux server which serves the Windows, so > > I could as well start a whole Linux in Virtual Box and access that drive > > to fetch the data, but the terminal server is surely the more efficient > way. > > > > So, all I would like to know is if you have an idea what could cause > > these pauses as I haven't found anything about it. > > > > Regards > > > > Rolf > > > > hth > Bruce > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From mohareve at ...626... Thu Apr 12 19:17:09 2012 From: mohareve at ...626... (M. Cs.) Date: Thu, 12 Apr 2012 19:17:09 +0200 Subject: [Gambas-user] GridView visual errors Message-ID: The error 1 is present upon program startup, until I fill the gridview with some values, That 0 is bothering me. It wasn't present in Gambas 3.0 The error 2 is always present: this is also a gridview with: Expand-True Header-Both Mode-Multiple ScrollBar-Vertical Inside a VBox with properties: Expand-True Spacing-True Any ideas? Csaba -------------- next part -------------- A non-text attachment was scrubbed... Name: error1.jpeg Type: image/jpeg Size: 67230 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error2.jpeg Type: image/jpeg Size: 78082 bytes Desc: not available URL: From gambas at ...1... Thu Apr 12 20:21:13 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 12 Apr 2012 20:21:13 +0200 Subject: [Gambas-user] GridView visual errors In-Reply-To: References: Message-ID: <4F871D19.4030305@...1...> Le 12/04/2012 19:17, M. Cs. a ?crit : > The error 1 is present upon program startup, until I fill the gridview > with some values, That 0 is bothering me. It wasn't present in Gambas > 3.0 > > The error 2 is always present: this is also a gridview with: > Expand-True > Header-Both > Mode-Multiple > ScrollBar-Vertical > Inside a VBox with properties: > Expand-True > Spacing-True > > Any ideas? > > Csaba > > Artifacts fixed in revision #4618. Regards, -- Beno?t Minisini From rterry at ...1823... Fri Apr 13 06:09:32 2012 From: rterry at ...1823... (richard terry) Date: Fri, 13 Apr 2012 14:09:32 +1000 Subject: [Gambas-user] Latest SVN gambas exe won't run Message-ID: <201204131409.32650.rterry@...1823...> version ending in 17 I think, see the picture. -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas_startup_bug.png Type: image/png Size: 25910 bytes Desc: not available URL: From rterry at ...1823... Fri Apr 13 06:11:13 2012 From: rterry at ...1823... (richard terry) Date: Fri, 13 Apr 2012 14:11:13 +1000 Subject: [Gambas-user] Latest SVN gambas exe won't run In-Reply-To: <201204131409.32650.rterry@...1823...> References: <201204131409.32650.rterry@...1823...> Message-ID: <201204131411.13193.rterry@...1823...> On Friday 13 April 2012 14:09:32 richard terry wrote: > version ending in 17 I think, see the picture. > ACtually it was 4619 richard -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas_startup_bug.png Type: image/png Size: 25910 bytes Desc: not available URL: From Karl.Reinl at ...2345... Fri Apr 13 10:32:34 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 13 Apr 2012 10:32:34 +0200 Subject: [Gambas-user] Issue 231 in gambas: Possible to build Gambas3 against GTK? In-Reply-To: <201204122055.10623.rterry@...1823...> References: <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> <4F86B165.70305@...221...> <201204122055.10623.rterry@...1823...> Message-ID: <1334305954.2341.4.camel@...40...> Am Donnerstag, den 12.04.2012, 20:55 +1000 schrieb richard terry: > On Thursday 12 April 2012 20:41:41 Rolf-Werner Eilert wrote: > > Not an answer but a question: I've got Gambas3 on my laptop which has > > ATI graphics. Under KDE 4 I experienced problems like it doesn't draw in > > a DrawingArea, under LxDE (GTK) it runs without problems. Do you think > > this is a related bug? > > Not an answer but another observation. > > I've got gambas3 running on 2 laptops (one kubuntu 9, one kubuntu 12) and 6 > desktops at work (kubuntu 10 or 11). > > My Nvidia laptops draw all the graphics fine. > > Machines with intel on board have problems - sometimes the popup lists or > columnview have an outline but the contents of the lists not visible - one can > arrow up/down, select a line and I know the content is there because my code > will verify it. I've looked till I'm blue in the face trying to find a > solution. Dosnt appear to be a .raise problem. > > Anyone else noticed this sort of stuff? > > richard -------------------------8<----------------------------------------------- Salut Richard, read here about Ubuntu and intel 8xx chips https://wiki.ubuntu.com/X/Bugs/Lucidi8xxFreezes perhaps that concerns also your problem -- Amicalement Charlie From bbruen at ...2308... Fri Apr 13 10:47:56 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Fri, 13 Apr 2012 18:17:56 +0930 Subject: [Gambas-user] Can't see array contents in the debugger any more? Message-ID: <1334306876.10514.28.camel@...2688...> Some days ago I updated to rev4607, since then I can't see the contents of arrays in the debugger. It displays the array class instead. Any input please? regards Bruce From gambas at ...1... Fri Apr 13 14:56:56 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 13 Apr 2012 14:56:56 +0200 Subject: [Gambas-user] Latest SVN gambas exe won't run In-Reply-To: <201204131411.13193.rterry@...1823...> References: <201204131409.32650.rterry@...1823...> <201204131411.13193.rterry@...1823...> Message-ID: <4F882298.1030004@...1...> Le 13/04/2012 06:11, richard terry a ?crit : > On Friday 13 April 2012 14:09:32 richard terry wrote: >> version ending in 17 I think, see the picture. >> > ACtually it was 4619 > > richard > Fixed in revision #4620. Regards, -- Beno?t Minisini From willy at ...2734... Fri Apr 13 18:05:49 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 13 Apr 2012 18:05:49 +0200 Subject: [Gambas-user] Gambas 3.1 and Exec (Bug or NOT?) In-Reply-To: <4F8619B5.6070504@...1...> References: <1334186549.2173.10.camel@...2735...> <4F8619B5.6070504@...1...> Message-ID: <1334333149.2343.4.camel@...2735...> > The bug was in Gambas 3.0. Now, in Gambas 3.1, if you try to run a > program that does not exist, you get an error. > > Normally you should get that error message: > > "Cannot run child process: cannot exec program: Resource temporarily > unavailable in SysInfo:11" > > I don't really understand why you get "Success" instead. > > Regards, > Hi, Okay, so instead of executing command to a string and testing for length of returned string, I now use Try Exec[] to string and that seems to the job. But now on closing the application gbx3 is not closed. Some process seems to prevent the application from correctly closing. The form closed but that's all. Project attached [System] OperatingSystem=Linux Kernel=2.6.35-32-generic Architecture=i686 Memory=2051620 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.10" Desktop=Gnome [Gambas 2] Version=2.24.0 Path=/usr/bin/gbx2 [Gambas 3] Version=3.1.0 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.0 GTK+=libgtk-x11-2.0.so.0.2200.0 -------------- next part -------------- A non-text attachment was scrubbed... Name: ProblemWithExec-0.0.2.tar.gz Type: application/x-compressed-tar Size: 5334 bytes Desc: not available URL: From sebikul at ...626... Fri Apr 13 18:21:59 2012 From: sebikul at ...626... (Sebi) Date: Fri, 13 Apr 2012 16:21:59 +0000 Subject: [Gambas-user] Gambas 3.1 and Exec (Bug or NOT?) In-Reply-To: <1334333149.2343.4.camel@...2735...> References: <1334186549.2173.10.camel@...2735...> <4F8619B5.6070504@...1...> <1334333149.2343.4.camel@...2735...> Message-ID: <908408051-1334334121-cardhu_decombobulator_blackberry.rim.net-302998019-@...2799...> Hi! If the only thing you want to do is test if a given binary is present on any of the $PATH folders, you can use the CheckProgram function used on the Prooject.module file of the IDE source code. It returns false if present, true if missing. Hope it helps! -----Original Message----- From: Willy Raets Date: Fri, 13 Apr 2012 18:05:49 To: Beno?t Minisini Reply-To: willy at ...2734..., mailing list for gambas users Cc: mailing list for gambas users Subject: Re: [Gambas-user] Gambas 3.1 and Exec (Bug or NOT?) > The bug was in Gambas 3.0. Now, in Gambas 3.1, if you try to run a > program that does not exist, you get an error. > > Normally you should get that error message: > > "Cannot run child process: cannot exec program: Resource temporarily > unavailable in SysInfo:11" > > I don't really understand why you get "Success" instead. > > Regards, > Hi, Okay, so instead of executing command to a string and testing for length of returned string, I now use Try Exec[] to string and that seems to the job. But now on closing the application gbx3 is not closed. Some process seems to prevent the application from correctly closing. The form closed but that's all. Project attached [System] OperatingSystem=Linux Kernel=2.6.35-32-generic Architecture=i686 Memory=2051620 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.10" Desktop=Gnome [Gambas 2] Version=2.24.0 Path=/usr/bin/gbx2 [Gambas 3] Version=3.1.0 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.0 GTK+=libgtk-x11-2.0.so.0.2200.0 From willy at ...2734... Fri Apr 13 19:11:39 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 13 Apr 2012 19:11:39 +0200 Subject: [Gambas-user] Gambas 3.1 and Exec (Bug or NOT?) In-Reply-To: <908408051-1334334121-cardhu_decombobulator_blackberry.rim.net-302998019-@...2799...> References: <1334186549.2173.10.camel@...2735...> <4F8619B5.6070504@...1...> <1334333149.2343.4.camel@...2735...> <908408051-1334334121-cardhu_decombobulator_blackberry.rim.net-302998019-@...2799...> Message-ID: <1334337099.5314.8.camel@...2735...> Sebi, I'm afraid I need to go a little further than just testing for their presence, I want to extract some information out of those commands that are present. The added source code (see previous mail) is part of the code of a bigger library/component I'm building to extract all kind of information from a system (like window manager, desktop, memory and so on). Need this for my distributed applications to determine what they are running on for trouble shooting the applications. Making it into a library/component so other Gambas developers can benefit from it as well. And that all worked fine in both Gambas 2 and Gambas 3.0 (as I am writing it for both Gambas version). Problems started with Gambas 3.1, but according to Benoit the 3.0 implementation was the buggy one (so I guess the Gambas 2 implementation is buggy as well) So I have recoded it to now work with Gambas 3.1 using TRY and it does. But now another problem occurs. Seems that some sub process doesn't kill. Thanks anyway On vr, 2012-04-13 at 16:21 +0000, Sebi wrote: > Hi! If the only thing you want to do is test if a given binary is present on any of the $PATH folders, you can use the CheckProgram function used on the Prooject.module file of the IDE source code. > > It returns false if present, true if missing. > Hope it helps! > -----Original Message----- > From: Willy Raets > Date: Fri, 13 Apr 2012 18:05:49 > To: Beno?t Minisini > Reply-To: willy at ...2734..., > mailing list for gambas users > Cc: mailing list for gambas users > Subject: Re: [Gambas-user] Gambas 3.1 and Exec (Bug or NOT?) > > > > The bug was in Gambas 3.0. Now, in Gambas 3.1, if you try to run a > > program that does not exist, you get an error. > > > > Normally you should get that error message: > > > > "Cannot run child process: cannot exec program: Resource temporarily > > unavailable in SysInfo:11" > > > > I don't really understand why you get "Success" instead. > > > > Regards, > > > > Hi, > > Okay, so instead of executing command to a string and testing for length > of returned string, I now use Try Exec[] to string and that seems to the > job. > > But now on closing the application gbx3 is not closed. > Some process seems to prevent the application from correctly closing. > The form closed but that's all. > > Project attached > > [System] > OperatingSystem=Linux > Kernel=2.6.35-32-generic > Architecture=i686 > Memory=2051620 kB > DistributionVendor=Ubuntu > DistributionRelease="Ubuntu 10.10" > Desktop=Gnome > > [Gambas 2] > Version=2.24.0 > Path=/usr/bin/gbx2 > > [Gambas 3] > Version=3.1.0 > Path=/usr/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.7.0 > GTK+=libgtk-x11-2.0.so.0.2200.0 > > > > -- Met vriendelijke groeten/ With kind regards, Willy Raets, Voorzitter/chairman, Earthship Belgium vzw. Nederlandse website: http://www.earthshipbelgium.be/nl.html English Website: http://www.earthshipbelgium.be/en.html From sundar_ima at ...251... Sat Apr 14 06:33:01 2012 From: sundar_ima at ...251... (sundar j) Date: 14 Apr 2012 04:33:01 -0000 Subject: [Gambas-user] =?utf-8?q?Use_public_variable_from_one_module_to_ot?= =?utf-8?q?her=3F?= Message-ID: <20120414043301.29533.qmail@...2815...> Hi, In my application i need to use many functions which are lengthy. So i have created modules for each function but i have difficulties in getting public variable from one module to other module. Right now what i do is that create temp file and write dynamic variable in to it so that it is accessible to all modules. Is there any way that i can use variable directly instead of creating temp files? From sourceforge-raindog2 at ...94... Sat Apr 14 07:04:48 2012 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sat, 14 Apr 2012 01:04:48 -0400 Subject: [Gambas-user] Use public variable from one module to other? In-Reply-To: <20120414043301.29533.qmail@...2815...> References: <20120414043301.29533.qmail@...2815...> Message-ID: <4F890570.9080402@...94...> On 04/14/2012 12:33 AM, sundar j wrote: > getting public variable from one module to other module. Right now what > i do is that create temp file and write dynamic variable in to it so > that it is accessible to all modules. Is there any way that i can use > variable directly instead of creating temp files? Create a module called something like "PublicVar", put all your public variables in it, and refer to them as PublicVar.VariableName everywhere? That's gotta be easier than writing files to disk. Rob From gambas at ...1... Sat Apr 14 11:01:45 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Apr 2012 11:01:45 +0200 Subject: [Gambas-user] Can't see array contents in the debugger any more? In-Reply-To: <1334306876.10514.28.camel@...2688...> References: <1334306876.10514.28.camel@...2688...> Message-ID: <4F893CF9.2030808@...1...> Le 13/04/2012 10:47, Bruce Bruen a ?crit : > Some days ago I updated to rev4607, since then I can't see the contents > of arrays in the debugger. It displays the array class instead. > > Any input please? > > regards > Bruce > It works there. Did you click on the magnifier icon in the watch window? Do you have a screenshot of what you see? -- Beno?t Minisini From gambas at ...2524... Sat Apr 14 11:21:00 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 09:21:00 +0000 Subject: [Gambas-user] Issue 232 in gambas: GB3.1 Can't add a new directory to source In-Reply-To: <1-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> <0-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.1.0 Comment #2 on issue 232 by benoit.m... at ...626...: GB3.1 Can't add a new directory to source http://code.google.com/p/gambas/issues/detail?id=232 (No comment was entered for this change.) From gambas at ...2524... Sat Apr 14 11:22:43 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 09:22:43 +0000 Subject: [Gambas-user] Issue 231 in gambas: Possible to build Gambas3 against GTK? In-Reply-To: <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> Comment #1 on issue 231 by benoit.m... at ...626...: Possible to build Gambas3 against GTK? http://code.google.com/p/gambas/issues/detail?id=231 I have a Nvidia card too, I use KDE & Qt, and I have no problem. Can you give some details? From gambas at ...2524... Sat Apr 14 12:21:36 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 10:21:36 +0000 Subject: [Gambas-user] Issue 232 in gambas: GB3.1 Can't add a new directory to source In-Reply-To: <2-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> <0-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-5981074063724446765-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 232 by benoit.m... at ...626...: GB3.1 Can't add a new directory to source http://code.google.com/p/gambas/issues/detail?id=232 Fixed in revision #4624. From gambas at ...2524... Sat Apr 14 12:23:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 10:23:13 +0000 Subject: [Gambas-user] Issue 60 in gambas: combobox shows blank lines before first item (GTK+) In-Reply-To: <2-6813199134517018827-474982564160783116-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-474982564160783116-gambas=googlecode.com@...2524...> <0-6813199134517018827-474982564160783116-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-474982564160783116-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 60 by benoit.m... at ...626...: combobox shows blank lines before first item (GTK+) http://code.google.com/p/gambas/issues/detail?id=60 No news from one year, closing the issue. From gambas at ...2524... Sat Apr 14 12:24:53 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 10:24:53 +0000 Subject: [Gambas-user] Issue 47 in gambas: Make code pretty tool button clears breakpoints In-Reply-To: <3-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> <0-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> Updates: Labels: -Priority-Medium Priority-Low Comment #4 on issue 47 by benoit.m... at ...626...: Make code pretty tool button clears breakpoints http://code.google.com/p/gambas/issues/detail?id=47 (No comment was entered for this change.) From willy at ...2734... Sat Apr 14 14:20:34 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 14 Apr 2012 14:20:34 +0200 Subject: [Gambas-user] Gambas 3.1 and using TRY EXEC[] doesn't close application properly (Bug or NOT?) In-Reply-To: <1334333149.2343.4.camel@...2735...> References: <1334186549.2173.10.camel@...2735...> <4F8619B5.6070504@...1...> <1334333149.2343.4.camel@...2735...> Message-ID: <1334406034.2050.11.camel@...2735...> On vr, 2012-04-13 at 18:05 +0200, Willy Raets wrote: > Hi, > > Okay, so instead of executing command to a string and testing for length > of returned string, I now use Try Exec[] to string and that seems to the > job. > > But now on closing the application gbx3 is not closed. > Some process seems to prevent the application from correctly closing. > The form closed but that's all. > > Project attached > Could anyone confirm that running the added application (using TRY EXEC[]) is not closing properly and keeps some sub processes active (thus not closing gbx3). Cause I'm stuck here... Is it just on my system, is it something in the code I do wrong or is it a bug in Gambas3? Reattached application source package -------------- next part -------------- A non-text attachment was scrubbed... Name: ProblemWithExec-0.0.3.tar.gz Type: application/x-compressed-tar Size: 5510 bytes Desc: not available URL: From gambas at ...1... Sat Apr 14 15:10:25 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Apr 2012 15:10:25 +0200 Subject: [Gambas-user] Gambas 3.1 and using TRY EXEC[] doesn't close application properly (Bug or NOT?) In-Reply-To: <1334406034.2050.11.camel@...2735...> References: <1334186549.2173.10.camel@...2735...> <4F8619B5.6070504@...1...> <1334333149.2343.4.camel@...2735...> <1334406034.2050.11.camel@...2735...> Message-ID: <4F897741.4080804@...1...> Le 14/04/2012 14:20, Willy Raets a ?crit : > On vr, 2012-04-13 at 18:05 +0200, Willy Raets wrote: >> Hi, >> >> Okay, so instead of executing command to a string and testing for length >> of returned string, I now use Try Exec[] to string and that seems to the >> job. >> >> But now on closing the application gbx3 is not closed. >> Some process seems to prevent the application from correctly closing. >> The form closed but that's all. >> >> Project attached >> > Could anyone confirm that running the added application (using TRY > EXEC[]) is not closing properly and keeps some sub processes active > (thus not closing gbx3). Cause I'm stuck here... > > Is it just on my system, is it something in the code I do wrong or is it > a bug in Gambas3? > > Reattached application source package > No problem there, but as your program flow depends on the installed applications, it is meaningless. Can you tell us which lines of your program are executed on your own system? -- Beno?t Minisini From willy at ...2734... Sat Apr 14 15:58:09 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 14 Apr 2012 15:58:09 +0200 Subject: [Gambas-user] Gambas 3.1 and Exec (Bug or NOT?) In-Reply-To: <4F8619B5.6070504@...1...> References: <1334186549.2173.10.camel@...2735...> <4F8619B5.6070504@...1...> Message-ID: <1334411889.2050.24.camel@...2735...> On do, 2012-04-12 at 01:54 +0200, Beno?t Minisini wrote: > The bug was in Gambas 3.0. Now, in Gambas 3.1, if you try to run a > program that does not exist, you get an error. If the bug is in Gambas 3.0 it is also in Gambas 2 because I used the exact same code for both Gambas 2 and 3.0 (without the TRY and checking for length of returned string -> as no errors are generated) Now I'm stuck with two different approaches as TRY in Gambas 2.x and 3.0 will NOT generate an error and thus returns me the wrong information. So the 2.x and 3.0 code will not work for 3.1 The 3.1 code will not work for 2.x and 3.0 I loved the fact that both versions used exactly the same code. Makes maintaining them a lot easier. But that is in the past now :-( I actually preferred the fact that, even if a command was not present, no error was generated when running it. It simply returned me an empty string when using EXEC, which is great for testing if a command is present or not using the LEN() function. For now my whole project is on a complete hold because of this, as TRY seems to open processes in 3.1 that do not get closed when closing the application (see other posts) :-( From gambas at ...2524... Sat Apr 14 16:17:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 14:17:38 +0000 Subject: [Gambas-user] Issue 231 in gambas: Possible to build Gambas3 against GTK? In-Reply-To: <1-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> Comment #2 on issue 231 by ronmcina... at ...370...: Possible to build Gambas3 against GTK? http://code.google.com/p/gambas/issues/detail?id=231 The problem was exhibiting itself on Ubuntu (10.04 onwards) with the proprietary Nvidia driver installed on a HP Laptop (driving an external monitor). For example cutting and pasting would result in the screen not being redrawn properly until scrolling up then down when the text would be corrected. However I've moved away from Ubuntu to Mint MDE and it would appear that the problem has gone away (admittedly I've only tried it for about 20 minutes but before it was very easy to reproduce). So for now I suggest that you close the issue down and if it reoccurs then I'll do more investigation and raise it again with a lot more info. Incidentally Mint is based on Debian and I initially tried using the Debian build instructions to rebuild 3.1.0 and encountered problems - I'll raise a new issue to cover it. From gambas.fr at ...626... Sat Apr 14 16:32:11 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 14 Apr 2012 16:32:11 +0200 Subject: [Gambas-user] Issue 231 in gambas: Possible to build Gambas3 against GTK? In-Reply-To: <2-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> <1-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> <2-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> Message-ID: just an observation, if I remember correctly, missing only the editor for the IDE to work with gtk. -- Fabien Bodard From willy at ...2734... Sat Apr 14 16:34:51 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 14 Apr 2012 16:34:51 +0200 Subject: [Gambas-user] Gambas 3.1 and using TRY EXEC[] doesn't close application properly (Bug or NOT?) In-Reply-To: <4F897741.4080804@...1...> References: <1334186549.2173.10.camel@...2735...> <4F8619B5.6070504@...1...> <1334333149.2343.4.camel@...2735...> <1334406034.2050.11.camel@...2735...> <4F897741.4080804@...1...> Message-ID: <1334414091.2050.50.camel@...2735...> On za, 2012-04-14 at 15:10 +0200, Beno?t Minisini wrote: > No problem there, but as your program flow depends on the installed > applications, it is meaningless. > > Can you tell us which lines of your program are executed on your own system? > You must be on kwin and KDE that all goes well without problem. First test and no TRY generated any error. Seems that if it does sub process does not close My information is retrieved by the second test Try Exec ["x-window-manager", "--version"] To sWinMan So Try Exec ["kwin", "--version"] To sWinMan will generate an error. And I guess this process is not closed correctly Just make first TRY test something NOT on your system like: Try Exec ["openbox", "--version"] To sWinMan Send you a mail with code in different order using openbox as first test. That should do the job in replicating the problem. Simply copy/paste into the project replacing original code in the routine Static Public Sub ReadDesktopInfo() in SysInfo class Thanks, Willy From willy at ...2734... Sat Apr 14 16:54:28 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 14 Apr 2012 16:54:28 +0200 Subject: [Gambas-user] Gambas 3.1 and using TRY EXEC[] doesn't close application properly (Bug or NOT?) In-Reply-To: <1334414091.2050.50.camel@...2735...> References: <1334186549.2173.10.camel@...2735...> <4F8619B5.6070504@...1...> <1334333149.2343.4.camel@...2735...> <1334406034.2050.11.camel@...2735...> <4F897741.4080804@...1...> <1334414091.2050.50.camel@...2735...> Message-ID: <1334415268.2050.53.camel@...2735...> On za, 2012-04-14 at 16:34 +0200, Willy Raets wrote: > Send you a mail with code in different order using openbox as first > test. That should do the job in replicating the problem. > Simply copy/paste into the project replacing original code in the > routine Static Public Sub ReadDesktopInfo() in SysInfo class New source archive attached (version 0.0.4). Don't want to make life any harder that needed for you :-) In there: First test -> openbox second test -> x-window-manager Should run smoothly, but not close properly To be tested on a system with NO openbox and LDXE on it. -------------- next part -------------- A non-text attachment was scrubbed... Name: ProblemWithExec-0.0.4.tar.gz Type: application/x-compressed-tar Size: 5328 bytes Desc: not available URL: From gambas at ...2524... Sat Apr 14 18:23:36 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 16:23:36 +0000 Subject: [Gambas-user] Issue 233 in gambas: Ubuntu Specific Installation Instructions Message-ID: <0-6813199134517018827-9004538607631979990-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 233 by ronmcina... at ...370...: Ubuntu Specific Installation Instructions http://code.google.com/p/gambas/issues/detail?id=233 1) Describe the problem. Need to add libgsl10-dev to Ubuntu Specific Installation Instructions for 3.1.0. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.1.0 Operating system: Linux Distribution: Ubuntu 3) Provide a little project that reproduces the bug or the crash. n/a 4) If your project needs a database, try to provide it, or part of it. n/a 5) Explain clearly how to reproduce the bug or the crash. n/a From gambas at ...2524... Sat Apr 14 19:14:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 17:14:14 +0000 Subject: [Gambas-user] Issue 234 in gambas: Debian specific installation instructions are out of date Message-ID: <0-6813199134517018827-4211259350196713241-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 234 by ronmcina... at ...370...: Debian specific installation instructions are out of date http://code.google.com/p/gambas/issues/detail?id=234 1) Describe the problem. Debian specific installation instructions are out of date. I believe that this report applies to Debian 6 but was actually identified under Mint MDE (built on Debian). 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.1.0 Operating system: Linux Distribution: Mint (probably applies to Debian) Architecture: x86 Note that I successfully built Gambas 3.1.0 using the Ubuntu Precise instructions (+ gsl dev lib) under Mint and I strongly suspect that these would also apply to Debian 6. As a suggestion perhaps the installation instructions could be moved to the Gamabas wiki allowing Gambas users to keep the specific installations up to date (which would take some work off of you). Only a suggestion but if you do decide to do that then I'd be happy to help (easily said when I've never edited a wiki entry in my life ;-) ). Ron McInally From gambas at ...2524... Sat Apr 14 19:30:20 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 17:30:20 +0000 Subject: [Gambas-user] Issue 233 in gambas: Ubuntu Specific Installation Instructions In-Reply-To: <0-6813199134517018827-9004538607631979990-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9004538607631979990-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9004538607631979990-gambas=googlecode.com@...2524...> Comment #1 on issue 233 by gambas... at ...626...: Ubuntu Specific Installation Instructions http://code.google.com/p/gambas/issues/detail?id=233 done From gambas at ...2524... Sat Apr 14 22:13:29 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 20:13:29 +0000 Subject: [Gambas-user] Issue 181 in gambas: Crash with certain menu caption. In-Reply-To: <7-6813199134517018827-9691118861731232159-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-9691118861731232159-gambas=googlecode.com@...2524...> <0-6813199134517018827-9691118861731232159-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-9691118861731232159-gambas=googlecode.com@...2524...> Comment #8 on issue 181 by jussi.la... at ...626...: Crash with certain menu caption. http://code.google.com/p/gambas/issues/detail?id=181 This bug is fixed, at least from r4624 (very probably even earlier)! From gambas at ...2524... Sat Apr 14 22:27:44 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 20:27:44 +0000 Subject: [Gambas-user] Issue 235 in gambas: The IDE should support the creation of gambas scripts Message-ID: <0-6813199134517018827-5961537298582123825-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 235 by sebi... at ...626...: The IDE should support the creation of gambas scripts http://code.google.com/p/gambas/issues/detail?id=235 Right now, only projects can be created using the IDE. To create a script, one must use an external editor. If gambas3-script is present, an option to create a single file should be given to the user. Support for code completition should be added, as the file structure of a script is different than the one of a class/module. From gambas at ...2524... Sun Apr 15 00:31:29 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 22:31:29 +0000 Subject: [Gambas-user] Issue 181 in gambas: Crash with certain menu caption. In-Reply-To: <8-6813199134517018827-9691118861731232159-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-9691118861731232159-gambas=googlecode.com@...2524...> <0-6813199134517018827-9691118861731232159-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-9691118861731232159-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #9 on issue 181 by benoit.m... at ...626...: Crash with certain menu caption. http://code.google.com/p/gambas/issues/detail?id=181 OK, closing the issue! From gambas at ...2524... Sun Apr 15 00:33:09 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 22:33:09 +0000 Subject: [Gambas-user] Issue 235 in gambas: The IDE should support the creation of gambas scripts In-Reply-To: <0-6813199134517018827-5961537298582123825-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5961537298582123825-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5961537298582123825-gambas=googlecode.com@...2524...> Updates: Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement Comment #1 on issue 235 by benoit.m... at ...626...: The IDE should support the creation of gambas scripts http://code.google.com/p/gambas/issues/detail?id=235 (No comment was entered for this change.) From gambas at ...2524... Sun Apr 15 00:34:49 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 22:34:49 +0000 Subject: [Gambas-user] Issue 235 in gambas: The IDE should support the creation of gambas scripts In-Reply-To: <1-6813199134517018827-5961537298582123825-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-5961537298582123825-gambas=googlecode.com@...2524...> <0-6813199134517018827-5961537298582123825-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-5961537298582123825-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #2 on issue 235 by benoit.m... at ...626...: The IDE should support the creation of gambas scripts http://code.google.com/p/gambas/issues/detail?id=235 (No comment was entered for this change.) From gambas at ...2524... Sun Apr 15 00:36:29 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 14 Apr 2012 22:36:29 +0000 Subject: [Gambas-user] Issue 233 in gambas: Ubuntu Specific Installation Instructions In-Reply-To: <1-6813199134517018827-9004538607631979990-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9004538607631979990-gambas=googlecode.com@...2524...> <0-6813199134517018827-9004538607631979990-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9004538607631979990-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #2 on issue 233 by benoit.m... at ...626...: Ubuntu Specific Installation Instructions http://code.google.com/p/gambas/issues/detail?id=233 (No comment was entered for this change.) From gambas at ...1... Sun Apr 15 01:36:29 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 15 Apr 2012 01:36:29 +0200 Subject: [Gambas-user] Gambas 3.1 and using TRY EXEC[] doesn't close application properly (Bug or NOT?) In-Reply-To: <1334415268.2050.53.camel@...2735...> References: <1334186549.2173.10.camel@...2735...> <4F8619B5.6070504@...1...> <1334333149.2343.4.camel@...2735...> <1334406034.2050.11.camel@...2735...> <4F897741.4080804@...1...> <1334414091.2050.50.camel@...2735...> <1334415268.2050.53.camel@...2735...> Message-ID: <4F8A09FD.6070509@...1...> Le 14/04/2012 16:54, Willy Raets a ?crit : > On za, 2012-04-14 at 16:34 +0200, Willy Raets wrote: >> Send you a mail with code in different order using openbox as first >> test. That should do the job in replicating the problem. >> Simply copy/paste into the project replacing original code in the >> routine Static Public Sub ReadDesktopInfo() in SysInfo class > > New source archive attached (version 0.0.4). Don't want to make life any > harder that needed for you :-) > In there: > First test -> openbox > second test -> x-window-manager > > Should run smoothly, but not close properly > To be tested on a system with NO openbox and LDXE on it. > This helped! The bug is fixed in revision #4628. -- Beno?t Minisini From gambas at ...2524... Sun Apr 15 08:25:49 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 15 Apr 2012 06:25:49 +0000 Subject: [Gambas-user] Issue 236 in gambas: gb.net.curl fails to connect using https Message-ID: <0-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 236 by sebi... at ...626...: gb.net.curl fails to connect using https http://code.google.com/p/gambas/issues/detail?id=236 When using the gb.net.curl component to fetch a page using ssl (https) curl raises an unknown error. If AnyHttpClientInstance.Debug = True, the following is printed to stdout: (used the HTTPGet example to test the bug) Example using https://lwn.net * Connection #0 seems to be dead! * Closing connection #0 * About to connect() to lwn.net port 443 (#0) * Trying 72.51.34.34... * Connected to lwn.net (72.51.34.34) port 443 (#0) * Connected to lwn.net (72.51.34.34) port 443 (#0) * SSL: couldn't create a context: error:140A90A1:lib(20):func(169):reason(161) * Closing connection #0 If you execute curl from a terminal (e.g curl -v https://lwn.net) it completes without an error IMHO, it has to do with certificate validation, but that's all I could find System: Archlinux Version: 3.1 Output of : curl 7.25.0 (i686-pc-linux-gnu) libcurl/7.25.0 OpenSSL/1.0.1 zlib/1.2.6 libssh2/1.4.0 Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP From gambas at ...2524... Sun Apr 15 17:02:02 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 15 Apr 2012 15:02:02 +0000 Subject: [Gambas-user] Issue 231 in gambas: Possible to build Gambas3 against GTK? In-Reply-To: <2-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> <0-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-220904824905963553-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #3 on issue 231 by benoit.m... at ...626...: Possible to build Gambas3 against GTK? http://code.google.com/p/gambas/issues/detail?id=231 If by Gambas3 you mean its IDE, it is not possible to use it with GTK+, because the source code editor has not been ported to GTK+ yet (this is a big job). From gambas at ...2524... Sun Apr 15 17:05:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 15 Apr 2012 15:05:15 +0000 Subject: [Gambas-user] Issue 236 in gambas: gb.net.curl fails to connect using https In-Reply-To: <0-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 236 by benoit.m... at ...626...: gb.net.curl fails to connect using https http://code.google.com/p/gambas/issues/detail?id=236 Mmm. It works there with curl 7.21 on Ubuntu 11.10. curl 7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp rtsp smtp smtps telnet tftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz So you should wait until I use a more recent distribution that have the same curl version as yours. Then I will be able to look at the problem... From gambas at ...1... Sun Apr 15 18:35:59 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 15 Apr 2012 18:35:59 +0200 Subject: [Gambas-user] Gambas 3.1.1 Message-ID: <4F8AF8EF.2030206@...1...> Hi, I have just uploaded a tarball of gambas 3.1.1. It includes all fixes of annoying bugs of Gambas 3.1.0 that were recently reported. http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.1.1.tar.bz2/download If some people could test it before I make an official release, it would be cool! Thanks in advance. Regards, -- Beno?t Minisini From mohareve at ...626... Sun Apr 15 19:45:55 2012 From: mohareve at ...626... (M. Cs.) Date: Sun, 15 Apr 2012 19:45:55 +0200 Subject: [Gambas-user] How can I flush the image cache? Message-ID: It happens that I change the pictures of a TreeView items during runtime. When I clear the TreeView and repopulate, the pictures remains the same, although I did changed the source image used to be display. After the restart of the program, the proper new picture is shown. Is there a way for update during runtime? Csaba From mohareve at ...626... Sun Apr 15 19:53:45 2012 From: mohareve at ...626... (M. Cs.) Date: Sun, 15 Apr 2012 19:53:45 +0200 Subject: [Gambas-user] How can I flush the image cache? In-Reply-To: References: Message-ID: OK. I solved it with using Picture.Load(myimage) instead of Picture[myimage]. Like in this example: fView.Add(x, x, Picture.Load(myimage), 0).EnsureVisible Is this the correct way? Csaba 2012/4/15, M. Cs. : > It happens that I change the pictures of a TreeView items during > runtime. When I clear the TreeView and repopulate, the pictures > remains the same, although I did changed the source image used to be > display. After the restart of the program, the proper new picture is > shown. > Is there a way for update during runtime? > > Csaba > From sundar_ima at ...251... Sun Apr 15 20:02:53 2012 From: sundar_ima at ...251... (sundar j) Date: 15 Apr 2012 18:02:53 -0000 Subject: [Gambas-user] =?utf-8?q?Function/code_for_close_icon=3F?= Message-ID: <20120415180253.4604.qmail@...2816...> Is there any way that we can write function/code for close icon (top right corner of the window). When my program run it creates temp files which needs to be cleared when user click on this icon. Any help? From tobiasboege01 at ...1601... Sun Apr 15 20:04:42 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sun, 15 Apr 2012 20:04:42 +0200 Subject: [Gambas-user] Function/code for close icon? In-Reply-To: <20120415180253.4604.qmail@...2816...> References: <20120415180253.4604.qmail@...2816...> Message-ID: <20120415180442.GR593@...2774...> On Sun, 15 Apr 2012, sundar j wrote: > Is there any way that we can write function/code for close icon (top right corner of the window). When my program run it creates temp files which needs to be cleared when user click on this icon. Any help? > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user For this purpose, you have the Window_Close() event. Regards, Tobi From sundar_ima at ...251... Sun Apr 15 20:10:23 2012 From: sundar_ima at ...251... (sundar j) Date: 15 Apr 2012 18:10:23 -0000 Subject: [Gambas-user] =?utf-8?q?Function/code_for_close_icon=3F?= Message-ID: <1334513186.S.3178.10225.H.TnRvYmkAUmU6IFtHYW1iYXMtdXNlcl0gRnVuY3Rpb24vY29kZSBmb3IgY2xvc2UgaWNvbj8_.RU.rfs224, rfs224, 952, 851.f4-235-230.old.1334513422.21405@...2802...> Oh. That was the quickest response i have ever recieved. Thanks for the help. From: tobi <tobiasboege01 at ...1601...> Sent: Sun, 15 Apr 2012 23:36:26 To: sundar_ima at ...251..., mailing list for gambas users <gambas-user at lists.sourceforge.net> Subject: Re: [Gambas-user] Function/code for close icon? On Sun, 15 Apr 2012, sundar j wrote: > Is there any way that we can write function/code for close icon (top right corner of the window). When my program run it creates temp files which needs to be cleared when user click on this icon. Any help? > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user For this purpose, you have the Window_Close() event. Regards, Tobi From gambas at ...2524... Sun Apr 15 20:50:47 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 15 Apr 2012 18:50:47 +0000 Subject: [Gambas-user] Issue 236 in gambas: gb.net.curl fails to connect using https In-Reply-To: <1-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> <0-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Comment #2 on issue 236 by sebi... at ...626...: gb.net.curl fails to connect using https http://code.google.com/p/gambas/issues/detail?id=236 I tried to fix this problem by using permutations of old curl and openssl versions, including yours (curl 7.21.6 and openssl 1.0.0e), but with no success. It must be a problem with my system, the only thing is that when I use curl from the command line it works as expected. I'm not sure what is causing this bug. From gambas.fr at ...626... Sun Apr 15 21:46:41 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 15 Apr 2012 21:46:41 +0200 Subject: [Gambas-user] How can I flush the image cache? In-Reply-To: References: Message-ID: 2012/4/15 M. Cs. : > OK. I solved it with using Picture.Load(myimage) instead of Picture[myimage]. > > Like in this example: > fView.Add(x, x, Picture.Load(myimage), 0).EnsureVisible this way you not use the cache ... yes it's correct > Is this the correct way? > > Csaba > > 2012/4/15, M. Cs. : >> It happens that I change the pictures of a TreeView items during >> runtime. When I clear the TreeView and repopulate, the pictures >> remains the same, although I did changed the source image used to be >> display. After the restart of the program, the proper new picture is >> shown. >> Is there a way for update during runtime? >> >> Csaba >> > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Mon Apr 16 00:20:04 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 16 Apr 2012 00:20:04 +0200 Subject: [Gambas-user] How can I flush the image cache? In-Reply-To: References: Message-ID: <4F8B4994.5040101@...1...> Le 15/04/2012 19:45, M. Cs. a ?crit : > It happens that I change the pictures of a TreeView items during > runtime. When I clear the TreeView and repopulate, the pictures > remains the same, although I did changed the source image used to be > display. After the restart of the program, the proper new picture is > shown. > Is there a way for update during runtime? > > Csaba > Do you have a little example that shows this problem, even if you solved it? Thanks in advance. -- Beno?t Minisini From support at ...2529... Mon Apr 16 05:50:13 2012 From: support at ...2529... (John Spikowski) Date: Sun, 15 Apr 2012 20:50:13 -0700 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1334124976.4703.23.camel@...1833...> References: <1334123740.4400.32.camel@...2811...> <1334124976.4703.23.camel@...1833...> Message-ID: <1334548213.2322.2.camel@...1833...> On Tue, 2012-04-10 at 23:16 -0700, John Spikowski wrote: > On Wed, 2012-04-11 at 06:55 +0100, John Rose wrote: > > I really like Rob Kudla's transpiler idea of being able to generate > > Dalvik bytecode from Gambas object code (.gambas?). > > > > A digression: Bluestacks looks like a useful piece of software: this > > currently allows running an Android app under Windows and is soon to be > > extended to Mac. This sounds useful in conjunction with running > > Basic4android under Windows (i.e. as a Guest OS in Virtualbox). So if > > a .apk can be 'converted' to run under Windows... > > > > I guess that Gambas would also need components for the typical extra > > hardware in an Android device e.g. GPS, accelerometer. > > This sounds grand but wouldn't it be prudent to get the Gambas console > mode interpreter working on Android Linux native first? I think a GUI > version of Gambas on Android is unrealistic at this time. Wait until > Ubuntu release their ARM mobile Linux. For those with dual core mobile devices, Gambas on Android has a good chance of running. http://www.ubuntu.com/devices/android From eilert-sprachen at ...221... Mon Apr 16 09:10:31 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 16 Apr 2012 09:10:31 +0200 Subject: [Gambas-user] Screen positions vary with resolution Message-ID: <4F8BC5E7.6040703@...221...> This is Gambas 2, a very old project of mine and yet a program that runs continuously on my desktop. Last week, I got a new monitor with a wider resolution, and now there is something going wrong. The program shows an overview of the rooms in the school with LTSP terminals, which one is switched on and where someone has logged in. When I programmed it, I used some frames to have an optical marking for the rooms. Then I used labels to display the numbers of the terminals and colors for their status. The form is fixed. The frames are of a fixed size. All sizes are in pixels, aren't they? Then I define the labels, for instance like this: FOR i = 0 TO 26 ll = NEW Label(Form1) lbl.Add(ll) lbl[i].Text = CStr(i) lbl[i].BackColor = color.White lbl[i].Width = 40 lbl[i].Height = 20 lbl[i].Alignment = align.Center lbl[i].Font.Size = 11 lbl[i].Font.Bold = TRUE SELECT CASE i CASE 0 lbl[i].Visible = FALSE CASE 1, 3, 5, 7, 9, 11, 13 lbl[i].X = 160 lbl[i].Y = 20 + (i * 14) CASE 2, 4, 6, 8, 10, 12, 14 lbl[i].X = 220 lbl[i].Y = 20 + ((i - 1) * 14) CASE 15, 17, 19, 21, 23, 25 lbl[i].X = 10 lbl[i].Y = 15 + ((i - 13) * 15) CASE 16, 18, 20, 22, 24, 26 lbl[i].X = 70 lbl[i].Y = 15 + ((i - 14) * 15) END SELECT NEXT So all positions should be fixed. But with the higher screen resolution, the labels land on wrong positions. The frames appear as if they were slightly wider and higher now, and the labels land too much on the left and too high. Before, I had 1280x1024, now it's 1600x1200. Any explanation for this? I try to add a screenshot, hope the mailer doesn't reject it. Regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas4.png Type: image/png Size: 22519 bytes Desc: not available URL: From mohareve at ...626... Mon Apr 16 12:36:27 2012 From: mohareve at ...626... (M. Cs.) Date: Mon, 16 Apr 2012 12:36:27 +0200 Subject: [Gambas-user] How can I flush the image cache? In-Reply-To: <4F8B4994.5040101@...1...> References: <4F8B4994.5040101@...1...> Message-ID: There you are! It requires Imagemagick to be installed. There are possible downsides of the Picture.Load(mypicture): - If the image mypicture is broken or 0 sized, the program will fail to load, and crash. - The 'convert' of Imagemagick sometimes creates broken thumbnails, so I had to build in a size check with Stat(mypicture).Size. Csaba -------------- next part -------------- A non-text attachment was scrubbed... Name: ImageFlush-0.0.1.tar.gz Type: application/x-gzip Size: 7141 bytes Desc: not available URL: From gambas at ...1... Mon Apr 16 12:57:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 16 Apr 2012 12:57:31 +0200 Subject: [Gambas-user] How can I flush the image cache? In-Reply-To: References: <4F8B4994.5040101@...1...> Message-ID: <4F8BFB1B.1060809@...1...> Le 16/04/2012 12:36, M. Cs. a ?crit : > There you are! > It requires Imagemagick to be installed. > There are possible downsides of the Picture.Load(mypicture): > - If the image mypicture is broken or 0 sized, the program will fail > to load, and crash. > - The 'convert' of Imagemagick sometimes creates broken thumbnails, so > I had to build in a size check with Stat(mypicture).Size. > > Csaba > OK I see. So the behaviour is normal: Picture[] is really an image cache that loads a specific path once. To flush it entirely, you must call Picture.Flush() (hard to guess, isn't it?). Or you can assign a specific key: Picture[path] = ... And yes, Picture.Load() will raise an error if it cannot load an image. But it should not crash the interpreter. Regards, -- Beno?t Minisini From gambas at ...1... Mon Apr 16 13:05:27 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 16 Apr 2012 13:05:27 +0200 Subject: [Gambas-user] Screen positions vary with resolution In-Reply-To: <4F8BC5E7.6040703@...221...> References: <4F8BC5E7.6040703@...221...> Message-ID: <4F8BFCF7.1010209@...1...> Le 16/04/2012 09:10, Rolf-Werner Eilert a ?crit : > This is Gambas 2, a very old project of mine and yet a program that runs > continuously on my desktop. Last week, I got a new monitor with a wider > resolution, and now there is something going wrong. > > The program shows an overview of the rooms in the school with LTSP > terminals, which one is switched on and where someone has logged in. > > When I programmed it, I used some frames to have an optical marking for > the rooms. Then I used labels to display the numbers of the terminals > and colors for their status. > > The form is fixed. The frames are of a fixed size. All sizes are in > pixels, aren't they? Then I define the labels, for instance like this: > > FOR i = 0 TO 26 > ll = NEW Label(Form1) > lbl.Add(ll) > lbl[i].Text = CStr(i) > lbl[i].BackColor = color.White > lbl[i].Width = 40 > lbl[i].Height = 20 > lbl[i].Alignment = align.Center > lbl[i].Font.Size = 11 > lbl[i].Font.Bold = TRUE > SELECT CASE i > CASE 0 > lbl[i].Visible = FALSE > CASE 1, 3, 5, 7, 9, 11, 13 > lbl[i].X = 160 > lbl[i].Y = 20 + (i * 14) > CASE 2, 4, 6, 8, 10, 12, 14 > lbl[i].X = 220 > lbl[i].Y = 20 + ((i - 1) * 14) > CASE 15, 17, 19, 21, 23, 25 > lbl[i].X = 10 > lbl[i].Y = 15 + ((i - 13) * 15) > CASE 16, 18, 20, 22, 24, 26 > lbl[i].X = 70 > lbl[i].Y = 15 + ((i - 14) * 15) > END SELECT > NEXT > > So all positions should be fixed. But with the higher screen resolution, > the labels land on wrong positions. The frames appear as if they were > slightly wider and higher now, and the labels land too much on the left > and too high. Before, I had 1280x1024, now it's 1600x1200. > > Any explanation for this? I try to add a screenshot, hope the mailer > doesn't reject it. > > Regards > > Rolf > By default all controls have a relative position and size (except the one you create manually) that are proportional to the Desktop.Scale property. I.e. they use the MoveScaled() method and not the Move() method. Either set the (Scaled) form property to FALSE or do not use absolute positions when creating your controls. Regards, -- Beno?t Minisini From gambas at ...1... Mon Apr 16 13:06:26 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 16 Apr 2012 13:06:26 +0200 Subject: [Gambas-user] Adding an example application to the Gambas web site - access issue. In-Reply-To: <1333761096.2173.47.camel@...2506...> References: <1516806.9fyUeDhyzG@...2592...> <4F7EEC03.7040900@...1...> <1333761096.2173.47.camel@...2506...> Message-ID: <4F8BFD32.8020707@...1...> Le 07/04/2012 03:11, Ian Roper a ?crit : > Greetings, > I tried to add and example Gambas example application to the web site. > > Following the below instructions. > ======================================================================= > So you have to enter the following URL into your browser: > > http://gambasdoc.org/help/app/mygreatsoftware > > The wiki tells you that the page is not available. Then you click on the > Create link. > > To fill the page contents, just open an already existing application > page in editing mode, and use it as a template. Once done, just click on > the Save button. That's all! > ======================================================================== > > You get challenged for user name and password when you click on the > 'create' link. > > Regards, > Ian Roper - Perth - Western Australia. > Tell me the password you want, and I will grant you a write access to the wiki. Regards, -- Beno?t Minisini From gambas at ...2524... Mon Apr 16 16:21:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 16 Apr 2012 14:21:38 +0000 Subject: [Gambas-user] Issue 237 in gambas: Grey DrawingArea on Form_Open Message-ID: <0-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 237 by matteo.pasotti: Grey DrawingArea on Form_Open http://code.google.com/p/gambas/issues/detail?id=237 1) Describe the problem. Drawing a picture into a DrawingArea during a Form_Open event leave the DrawingArea grey. I'm using the Draw.* methods. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.1.0 and 3.1.1 Operating system: Linux Distribution: Mageia Architecture: x86 and x86_64 GUI component: QT4 Desktop used: KDE 3) Provide a little project that reproduces the bug or the crash. I'm not able to provide - at the moment - a little project, but the bug can be observed using yaflight (gambas project sources available at http://sourceforge.net/projects/yaflight/files/latest/download). 5) Explain clearly how to reproduce the bug or the crash. Start the application and see the bug. After the main form opens, the drawing area should contain an aircraft picture but the drawingarea is grey. Iconifying and restoring the main window makes the picture visible again. This problem don't appears using gambas3-3.0.0. From sourceforge-raindog2 at ...94... Mon Apr 16 17:57:49 2012 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 16 Apr 2012 11:57:49 -0400 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1334124976.4703.23.camel@...1833...> References: <1334123740.4400.32.camel@...2811...> <1334124976.4703.23.camel@...1833...> Message-ID: <4F8C417D.6070601@...94...> On 04/11/2012 02:16 AM, John Spikowski wrote: > This sounds grand but wouldn't it be prudent to get the Gambas console > mode interpreter working on Android Linux native first? I think a GUI > version of Gambas on Android is unrealistic at this time. Wait until > Ubuntu release their ARM mobile Linux. I couldn't tell which part of John Rose's post you were replying to, but if it was about the transpiler concept, the whole idea there is that you wouldn't need a Gambas interpreter on Android because the Gambas bytecode would be transpiled to Java/Dalvik bytecode. But that would be a lot of work for Benoit, before the components even come into play, and no one else could realistically do it because it would break with any change to the Gambas bytecode. (I think I've been using the term "transpiler" incorrectly too, because apparently that refers to a program that compiles source code from language A into source code for language B, e.g. Google Web Toolkit that takes Java source and outputs Javascript source. I don't know what the correct term for my idea is -- perhaps it would be "dumb idea" -- but if you google transpiler "object code", most of the top 10 hits come from various crossposts of this mailing list thread.) Ubuntu for Android appeals to me, and I may try it on my own tablet. But having my clients or potential users install a second OS that runs in parallel doesn't strike me as enough to claim I'm doing Android development. I wouldn't base a product on it unless there were really no other way to do it. Rob From eilert-sprachen at ...221... Mon Apr 16 18:23:15 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 16 Apr 2012 18:23:15 +0200 Subject: [Gambas-user] Screen positions vary with resolution In-Reply-To: <4F8BFCF7.1010209@...1...> References: <4F8BC5E7.6040703@...221...> <4F8BFCF7.1010209@...1...> Message-ID: <4F8C4773.8050800@...221...> Am 16.04.2012 13:05, schrieb Beno?t Minisini: > Le 16/04/2012 09:10, Rolf-Werner Eilert a ?crit : >> This is Gambas 2, a very old project of mine and yet a program that runs >> continuously on my desktop. Last week, I got a new monitor with a wider >> resolution, and now there is something going wrong. >> >> The program shows an overview of the rooms in the school with LTSP >> terminals, which one is switched on and where someone has logged in. >> >> When I programmed it, I used some frames to have an optical marking for >> the rooms. Then I used labels to display the numbers of the terminals >> and colors for their status. >> >> The form is fixed. The frames are of a fixed size. All sizes are in >> pixels, aren't they? Then I define the labels, for instance like this: >> >> FOR i = 0 TO 26 >> ll = NEW Label(Form1) >> lbl.Add(ll) >> lbl[i].Text = CStr(i) >> lbl[i].BackColor = color.White >> lbl[i].Width = 40 >> lbl[i].Height = 20 >> lbl[i].Alignment = align.Center >> lbl[i].Font.Size = 11 >> lbl[i].Font.Bold = TRUE >> SELECT CASE i >> CASE 0 >> lbl[i].Visible = FALSE >> CASE 1, 3, 5, 7, 9, 11, 13 >> lbl[i].X = 160 >> lbl[i].Y = 20 + (i * 14) >> CASE 2, 4, 6, 8, 10, 12, 14 >> lbl[i].X = 220 >> lbl[i].Y = 20 + ((i - 1) * 14) >> CASE 15, 17, 19, 21, 23, 25 >> lbl[i].X = 10 >> lbl[i].Y = 15 + ((i - 13) * 15) >> CASE 16, 18, 20, 22, 24, 26 >> lbl[i].X = 70 >> lbl[i].Y = 15 + ((i - 14) * 15) >> END SELECT >> NEXT >> >> So all positions should be fixed. But with the higher screen resolution, >> the labels land on wrong positions. The frames appear as if they were >> slightly wider and higher now, and the labels land too much on the left >> and too high. Before, I had 1280x1024, now it's 1600x1200. >> >> Any explanation for this? I try to add a screenshot, hope the mailer >> doesn't reject it. >> >> Regards >> >> Rolf >> > > By default all controls have a relative position and size (except the > one you create manually) that are proportional to the Desktop.Scale > property. I.e. they use the MoveScaled() method and not the Move() method. > > Either set the (Scaled) form property to FALSE or do not use absolute > positions when creating your controls. > > Regards, > Thank you Benoit, I tried to set it to FALSE, but it didn't help. So I simply changed all positions by hand so it looks nicer now. Regards Rolf From jussi.lahtinen at ...626... Mon Apr 16 18:30:59 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 16 Apr 2012 19:30:59 +0300 Subject: [Gambas-user] InStr and gb.Case Message-ID: http://gambasdoc.org/help/lang/instr?v3 With this: If InStr(sTmp, "test",, gb.Case) = 0 Then I get error " Unexpected ','. ", argument is optional so I don't expect this. With this: If InStr(sTmp, "test", 0, gb.Case) = 0 Then I get error " Unknown symbol 'Case' in class 'gb'. ", it doesn't seem to exist in Gambas 3, but how I then do case-insensitive comparison? Jussi From gambas at ...1... Mon Apr 16 18:38:30 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 16 Apr 2012 18:38:30 +0200 Subject: [Gambas-user] InStr and gb.Case In-Reply-To: References: Message-ID: <4F8C4B06.8080406@...1...> Le 16/04/2012 18:30, Jussi Lahtinen a ?crit : > http://gambasdoc.org/help/lang/instr?v3 > > With this: > If InStr(sTmp, "test",, gb.Case) = 0 Then > > I get error " Unexpected ','. ", argument is optional so I don't expect > this. > > > With this: > If InStr(sTmp, "test", 0, gb.Case) = 0 Then > > I get error " Unknown symbol 'Case' in class 'gb'. ", it doesn't seem to > exist in Gambas 3, but how I then do case-insensitive comparison? > > > Jussi Documentation fixed in the wiki! :-) -- Beno?t Minisini From emil.lenngren at ...626... Mon Apr 16 18:54:46 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 16 Apr 2012 18:54:46 +0200 Subject: [Gambas-user] InStr and gb.Case In-Reply-To: <4F8C4B06.8080406@...1...> References: <4F8C4B06.8080406@...1...> Message-ID: If InStr was a normal function written in Gambas, InStr(sTmp, "test",, gb.IgnoreCase) should work. But the native functions don't really follow any rules :) In the interpreter: The parameters are passed without any checks for data types or number of parameters. Such things are handled by the functions themselves. In the compiler: Native functions are not handled the same way as user functions. Each native function simply have a min-parameters and a max-parameters value. No type-checking is done either. That's why many native functions accept any data type (no Variants here) and do different things depending on that, for example TypeOf and Str$. 2012/4/16 Beno?t Minisini > Le 16/04/2012 18:30, Jussi Lahtinen a ?crit : > > http://gambasdoc.org/help/lang/instr?v3 > > > > With this: > > If InStr(sTmp, "test",, gb.Case) = 0 Then > > > > I get error " Unexpected ','. ", argument is optional so I don't expect > > this. > > > > > > With this: > > If InStr(sTmp, "test", 0, gb.Case) = 0 Then > > > > I get error " Unknown symbol 'Case' in class 'gb'. ", it doesn't seem to > > exist in Gambas 3, but how I then do case-insensitive comparison? > > > > > > Jussi > > Documentation fixed in the wiki! :-) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Mon Apr 16 19:10:28 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 16 Apr 2012 20:10:28 +0300 Subject: [Gambas-user] InStr and gb.Case In-Reply-To: <4F8C4B06.8080406@...1...> References: <4F8C4B06.8080406@...1...> Message-ID: OK, thanks! And thanks to Emil also. Odd that I run into this not until now! Jussi 2012/4/16 Beno?t Minisini > Le 16/04/2012 18:30, Jussi Lahtinen a ?crit : > > http://gambasdoc.org/help/lang/instr?v3 > > > > With this: > > If InStr(sTmp, "test",, gb.Case) = 0 Then > > > > I get error " Unexpected ','. ", argument is optional so I don't expect > > this. > > > > > > With this: > > If InStr(sTmp, "test", 0, gb.Case) = 0 Then > > > > I get error " Unknown symbol 'Case' in class 'gb'. ", it doesn't seem to > > exist in Gambas 3, but how I then do case-insensitive comparison? > > > > > > Jussi > > Documentation fixed in the wiki! :-) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Tue Apr 17 08:36:55 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 17 Apr 2012 08:36:55 +0200 Subject: [Gambas-user] Screen positions vary with resolution In-Reply-To: <4F8BFCF7.1010209@...1...> References: <4F8BC5E7.6040703@...221...> <4F8BFCF7.1010209@...1...> Message-ID: <4F8D0F87.7040300@...221...> Am 16.04.2012 13:05, schrieb Beno?t Minisini: > Le 16/04/2012 09:10, Rolf-Werner Eilert a ?crit : >> This is Gambas 2, a very old project of mine and yet a program that runs >> continuously on my desktop. Last week, I got a new monitor with a wider >> resolution, and now there is something going wrong. >> >> The program shows an overview of the rooms in the school with LTSP >> terminals, which one is switched on and where someone has logged in. >> >> When I programmed it, I used some frames to have an optical marking for >> the rooms. Then I used labels to display the numbers of the terminals >> and colors for their status. >> >> The form is fixed. The frames are of a fixed size. All sizes are in >> pixels, aren't they? Then I define the labels, for instance like this: >> >> FOR i = 0 TO 26 >> ll = NEW Label(Form1) >> lbl.Add(ll) >> lbl[i].Text = CStr(i) >> lbl[i].BackColor = color.White >> lbl[i].Width = 40 >> lbl[i].Height = 20 >> lbl[i].Alignment = align.Center >> lbl[i].Font.Size = 11 >> lbl[i].Font.Bold = TRUE >> SELECT CASE i >> CASE 0 >> lbl[i].Visible = FALSE >> CASE 1, 3, 5, 7, 9, 11, 13 >> lbl[i].X = 160 >> lbl[i].Y = 20 + (i * 14) >> CASE 2, 4, 6, 8, 10, 12, 14 >> lbl[i].X = 220 >> lbl[i].Y = 20 + ((i - 1) * 14) >> CASE 15, 17, 19, 21, 23, 25 >> lbl[i].X = 10 >> lbl[i].Y = 15 + ((i - 13) * 15) >> CASE 16, 18, 20, 22, 24, 26 >> lbl[i].X = 70 >> lbl[i].Y = 15 + ((i - 14) * 15) >> END SELECT >> NEXT >> >> So all positions should be fixed. But with the higher screen resolution, >> the labels land on wrong positions. The frames appear as if they were >> slightly wider and higher now, and the labels land too much on the left >> and too high. Before, I had 1280x1024, now it's 1600x1200. >> >> Any explanation for this? I try to add a screenshot, hope the mailer >> doesn't reject it. >> >> Regards >> >> Rolf >> > > By default all controls have a relative position and size (except the > one you create manually) that are proportional to the Desktop.Scale > property. I.e. they use the MoveScaled() method and not the Move() method. > > Either set the (Scaled) form property to FALSE or do not use absolute > positions when creating your controls. > > Regards, > Good morning Benoit, After thinking this over and trying around a bit this morning, I guess I finally understood (sometimes I'm somewhat slow :-) ) With the higher resolution the fonts are enlarged to keep everything comfortable and readable. Then all elements in the form are enlarged by the same factor to keep the form about the same real-world size it had before. My labels, however, still refer to actual XY screen pixels. I looked into another project this morning and found the same thing: forms have been enlarged, fonts are wider, but not every graphic element can follow (e. g. there is a photo shown, and it scales too small as the frame is shown wider now). Trying to set this form's (Scaled) to FALSE didn't help, everything stays large. Do you have any idea what else I could try to keep everything as large as it was created for SXGA? On the other hand, I don't mind forms adapting to screen resolution, but then I will need to somehow read their scaling factor (for such things as the photo for instance). Is there any function for it? Thanks for your help. Regards Rolf From gambas at ...2524... Tue Apr 17 10:51:35 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 17 Apr 2012 08:51:35 +0000 Subject: [Gambas-user] Issue 238 in gambas: tableview.SelectAll doesn't seem to work Message-ID: <0-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 238 by adamn... at ...626...: tableview.SelectAll doesn't seem to work http://code.google.com/p/gambas/issues/detail?id=238 1) Describe the problem. Using SelectAll on a tableview in code only seems to select the first row 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4607 Operating system: Linux Distribution: other Architecture: x86 GUI component: QT4 / GTK+ Desktop used: Openbox (LXDE) 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Review the sample, run the sample, observe the output. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Attachments: tvwselall-0.0.1.tar.gz 4.9 KB From sundar_ima at ...251... Tue Apr 17 12:33:47 2012 From: sundar_ima at ...251... (sundar j) Date: 17 Apr 2012 10:33:47 -0000 Subject: [Gambas-user] =?utf-8?q?=5BFeature_Request=5D_Offline_Documentati?= =?utf-8?q?on?= Message-ID: <20120417103347.6080.qmail@...2817...> Is it possible to make online documentation to include in standard installation and make it available from help/F1. It would be nice if examples also included in the offline documentation. From gambas at ...2524... Tue Apr 17 14:18:05 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 17 Apr 2012 12:18:05 +0000 Subject: [Gambas-user] Issue 212 in gambas: Gambas3 is generating packages with dependencies gambas2 In-Reply-To: <5-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> <0-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> Comment #6 on issue 212 by flynetin... at ...626...: Gambas3 is generating packages with dependencies gambas2 http://code.google.com/p/gambas/issues/detail?id=212 Solved From gambas at ...2524... Tue Apr 17 14:20:20 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 17 Apr 2012 12:20:20 +0000 Subject: [Gambas-user] Issue 74 in gambas: printer error with gb.report and gb.qt In-Reply-To: <17-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> References: <17-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> <0-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Message-ID: <18-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Comment #18 on issue 74 by flynetin... at ...626...: printer error with gb.report and gb.qt http://code.google.com/p/gambas/issues/detail?id=74 solved From gambas at ...2524... Tue Apr 17 14:30:11 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 17 Apr 2012 12:30:11 +0000 Subject: [Gambas-user] Issue 239 in gambas: Hide columns in tableview Message-ID: <0-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 239 by flynetin... at ...626...: Hide columns in tableview http://code.google.com/p/gambas/issues/detail?id=239 1) In previous versions of gambas3 when a tableview wanted to hide a column was enough to set the width to 0. In the last version, columns appear anyway and i not find way to hide them. It is a mistake or some new feature? thanks 2) Version: TRUNK 3.1.1 Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: QT4 / GTK+ Desktop used: Gnome From abbat.81 at ...787... Tue Apr 17 15:16:25 2012 From: abbat.81 at ...787... (abbat) Date: Tue, 17 Apr 2012 06:16:25 -0700 (PDT) Subject: [Gambas-user] How to download a file? In-Reply-To: References: <33544764.post@...1379...> Message-ID: <33701587.post@...1379...> And how to save the sBuffer to file? What if file is *.png *.rar *.gambas etc? Emil Lenngren wrote: > > See here: http://gambasdoc.org/help/comp/gb.net.curl/httpclient?v3 > > 2012/3/26 abbat > >> >> I have a file on: >> www.mydomain.com/test >> >> I tried : >> >> >> sSourcePath = "http://mydomain" >> sCopyPath = User.Home & "/Test/" >> Copy sSourcePath & "test" To sCopyPath & "test" >> >> but "File or Directory does not exist" >> >> How to download a file? >> Thanks >> -- >> View this message in context: >> http://old.nabble.com/How-to-download-a-file--tp33544764p33544764.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/How-to-download-a-file--tp33544764p33701587.html Sent from the gambas-user mailing list archive at Nabble.com. From abbat.81 at ...787... Tue Apr 17 15:24:29 2012 From: abbat.81 at ...787... (abbat) Date: Tue, 17 Apr 2012 06:24:29 -0700 (PDT) Subject: [Gambas-user] How to download a file? In-Reply-To: <1333493094.2460.27.camel@...2735...> References: <33544764.post@...1379...> <1333493094.2460.27.camel@...2735...> Message-ID: <33701637.post@...1379...> Hi Willy, thanks for your patient On string: hGetFileClient.Get(User.Home & "/Test/test") I get error message: "Wanted String[] got string instead" Thanks Willy Raets wrote: > > Try this: > > Dim sSourcePath, sCopyPath As String > sSourcePath = "http://mydomain/test" > sCopyPath = User.Home & "/Test" > If Not(Exist(sCopyPath) Then > MKDIR sCopyPath > Endif > sCopyPath = sCopyPath & "/test" > If Exist(sCopyPath) Then > KILL sCopyPath > Endif > DownloadFile(sSourcePath) > > > PUBLIC SUB DownloadFile(sURL AS String) > > hGetFileClient.URL = sURL > hGetFileClient.TimeOut = 5 > hGetFileClient.Async = TRUE > hGetFileClient.Get(User.Home & "/Test/test") > > END > > PUBLIC SUB hGetFileClient_Error() > > hGetFileClient.Stop() > > END > > PUBLIC SUB hGetFileClient_Finished() > > hGetFileClient.Stop() > > END > > > > On ma, 2012-03-26 at 14:25 -0700, abbat wrote: >> I have a file on: >> www.mydomain.com/test >> >> I tried : >> >> >> sSourcePath = "http://mydomain" >> sCopyPath = User.Home & "/Test/" >> Copy sSourcePath & "test" To sCopyPath & "test" >> >> but "File or Directory does not exist" >> >> How to download a file? >> Thanks > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/How-to-download-a-file--tp33544764p33701637.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Tue Apr 17 15:57:11 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 17 Apr 2012 15:57:11 +0200 Subject: [Gambas-user] How to download a file? In-Reply-To: <33701637.post@...1379...> References: <33544764.post@...1379...> <1333493094.2460.27.camel@...2735...> <33701637.post@...1379...> Message-ID: dim hGetfileCliet as new httpclient hGetFileClient.Async = false hGetFileClient.Url = "http:// ..." hGetFileClient.Get([""],myfilepath) 2012/4/17 abbat : > > Hi Willy, thanks for your patientnt > > On string: > > hGetFileClient.Get(User.Home & "/Test/test") > > I get error message: > "Wanted String[] got string instead" > > Thanks > > > Willy Raets wrote: >> >> Try this: >> >> Dim sSourcePath, sCopyPath As String >> sSourcePath = "http://mydomain/test" >> sCopyPath = User.Home & "/Test" >> If Not(Exist(sCopyPath) Then >> ? ?MKDIR sCopyPath >> Endif >> sCopyPath = sCopyPath & "/test" >> If Exist(sCopyPath) Then >> ? ?KILL sCopyPath >> Endif >> DownloadFile(sSourcePath) >> >> >> PUBLIC SUB DownloadFile(sURL AS String) >> >> ? hGetFileClient.URL = sURL >> ? hGetFileClient.TimeOut = 5 >> ? hGetFileClient.Async = TRUE >> ? hGetFileClient.Get(User.Home & "/Test/test") >> >> END >> >> PUBLIC SUB hGetFileClient_Error() >> >> ? hGetFileClient.Stop() >> >> END >> >> PUBLIC SUB hGetFileClient_Finished() >> >> ? hGetFileClient.Stop() >> >> END >> >> >> >> On ma, 2012-03-26 at 14:25 -0700, abbat wrote: >>> I have a file on: >>> www.mydomain.com/test >>> >>> I tried : >>> >>> >>> sSourcePath = "http://mydomain" >>> sCopyPath = User.Home & "/Test/" >>> Copy sSourcePath & "test" To sCopyPath & "test" >>> >>> but "File or Directory does not exist" >>> >>> How to download a file? >>> Thanks >> >> >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > -- > View this message in context: http://old.nabble.com/How-to-download-a-file--tp33544764p33701637.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From mohareve at ...626... Tue Apr 17 17:13:29 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 17 Apr 2012 17:13:29 +0200 Subject: [Gambas-user] Translation interface errors Message-ID: Hi! I'm spending quite a lot of time with repairing the translations for my program. It is translated into several languages, and there is a constant, annoying error: - I use to export the translations into myapp-xx-ver.po - the translating person translates the strings using a text editor (Kate, Gedit...). It is looking for a string "" which represents the place of the strings to be translated. - I get back the translation and in Translation GUI I do import the translated file. - The GUI tells me how many strings have been picked up. - Usually I am getting back full translation, however, the Translation GUI is telling me N strings aren't translated. When I open the .po file I can clearly find the translation. Why does T-GUI make such errors? Sometimes in the .po file I can find the following string: #, fuzzy It is quite exhausting! Any suggestions? Csaba From gambas at ...2524... Tue Apr 17 19:31:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 17 Apr 2012 17:31:14 +0000 Subject: [Gambas-user] Issue 212 in gambas: Gambas3 is generating packages with dependencies gambas2 In-Reply-To: <6-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> <0-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-17266133497799151102-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #7 on issue 212 by benoit.m... at ...626...: Gambas3 is generating packages with dependencies gambas2 http://code.google.com/p/gambas/issues/detail?id=212 Ok! From gambas at ...2524... Tue Apr 17 19:32:54 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 17 Apr 2012 17:32:54 +0000 Subject: [Gambas-user] Issue 74 in gambas: printer error with gb.report and gb.qt In-Reply-To: <18-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> References: <18-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> <0-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Message-ID: <19-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #19 on issue 74 by benoit.m... at ...626...: printer error with gb.report and gb.qt http://code.google.com/p/gambas/issues/detail?id=74 Ok! From mohareve at ...626... Tue Apr 17 19:35:49 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 17 Apr 2012 19:35:49 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <20120417103347.6080.qmail@...2817...> References: <20120417103347.6080.qmail@...2817...> Message-ID: I agree with you. If would be nice to have a package gambas3-gb-help, as an option. Csaba 2012/4/17, sundar j : > Is it possible to make online documentation to include in standard > installation and make it available from help/F1. It would be nice if > examples also included in the offline documentation. > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Apr 17 19:41:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 17 Apr 2012 19:41:12 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: References: Message-ID: <4F8DAB38.7050405@...1...> Le 17/04/2012 17:13, M. Cs. a ?crit : > Hi! > I'm spending quite a lot of time with repairing the translations for > my program. It is translated into several languages, and there is a > constant, annoying error: > - I use to export the translations into myapp-xx-ver.po > - the translating person translates the strings using a text editor > (Kate, Gedit...). It is looking for a string "" which represents the > place of the strings to be translated. > - I get back the translation and in Translation GUI I do import the > translated file. > - The GUI tells me how many strings have been picked up. > - Usually I am getting back full translation, however, the Translation > GUI is telling me N strings aren't translated. When I open the .po > file I can clearly find the translation. > > Why does T-GUI make such errors? > Sometimes in the .po file I can find the following string: > #, fuzzy > > It is quite exhausting! > Any suggestions? > > Csaba > You should translate your project directly from the IDE. The translations marked as "fuzzy" are not imported. Because, among other things, translations are marked as "fuzzy" when they are not definitive. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Tue Apr 17 20:32:24 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 17 Apr 2012 21:32:24 +0300 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <20120417103347.6080.qmail@...2817...> Message-ID: Also agreed, sometimes it takes a while to get help info from online, I would like it to be immediate. Jussi On Tue, Apr 17, 2012 at 20:35, M. Cs. wrote: > I agree with you. If would be nice to have a package gambas3-gb-help, > as an option. > > Csaba > > 2012/4/17, sundar j : > > Is it possible to make online documentation to include in standard > > installation and make it available from help/F1. It would be nice if > > examples also included in the offline documentation. > > > ------------------------------------------------------------------------------ > > Better than sec? Nothing is better than sec when it comes to > > monitoring Big Data applications. Try Boundary one-second > > resolution app monitoring today. Free. > > http://p.sf.net/sfu/Boundary-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...2734... Tue Apr 17 20:39:18 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 17 Apr 2012 20:39:18 +0200 Subject: [Gambas-user] How to download a file? In-Reply-To: References: <33544764.post@...1379...> <1333493094.2460.27.camel@...2735...> <33701637.post@...1379...> Message-ID: <1334687958.2131.2.camel@...2735...> On di, 2012-04-17 at 15:57 +0200, Fabien Bodard wrote: > dim hGetfileCliet as new httpclient > > hGetFileClient.Async = false > > hGetFileClient.Url = "http:// ..." > > hGetFileClient.Get([""],myfilepath) > > > 2012/4/17 abbat : > > > > Hi Willy, thanks for your patientnt > > > > On string: > > > > hGetFileClient.Get(User.Home & "/Test/test") > > > > I get error message: > > "Wanted String[] got string instead" > > That is probably because you are on Gambas3 and this code I use in one of my Gambas2 applications. Looks like a String array is required in Gambas 3. And Fabian gave an answer on how to use that. From willy at ...2734... Tue Apr 17 21:00:43 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 17 Apr 2012 21:00:43 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: <4F8DAB38.7050405@...1...> References: <4F8DAB38.7050405@...1...> Message-ID: <1334689243.2131.15.camel@...2735...> On di, 2012-04-17 at 19:41 +0200, Beno?t Minisini wrote: > Le 17/04/2012 17:13, M. Cs. a ?crit : > > > > You should translate your project directly from the IDE. > > The translations marked as "fuzzy" are not imported. Because, among > other things, translations are marked as "fuzzy" when they are not > definitive. > > Regards, > I have application in multi languages and used to send people the text files to translate and import them. It was not a pleasant way of translating (from the exported files) for translators and I had likewise issues on import. So now I copy paste all into a .odt with some screenshots so they know what it is about and when translation returns I copy paste the translations into the IDE. But that is a lot extra work. Problem is that the people translating are NO programmers and don't have Gambas IDE. Several of them don't even have linux. Just people that happen to be willing to translate because they know the language. Some clever way of exporting what needs to be translated in a user friendly format for translators and a manner to import the translations done by others would be very welcome and save loads of time. The current export is not something you can send to people to do translating in. It confuses them and loads of mistakes are made this way. From willy at ...2734... Tue Apr 17 21:04:46 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 17 Apr 2012 21:04:46 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <20120417103347.6080.qmail@...2817...> Message-ID: <1334689486.2131.17.camel@...2735...> And another agreed here as I am not always online when coding. On di, 2012-04-17 at 21:32 +0300, Jussi Lahtinen wrote: > Also agreed, > sometimes it takes a while to get help info from online, I would like it to > be immediate. > > Jussi > > > > On Tue, Apr 17, 2012 at 20:35, M. Cs. wrote: > > > I agree with you. If would be nice to have a package gambas3-gb-help, > > as an option. > > > > Csaba > > > > 2012/4/17, sundar j : > > > Is it possible to make online documentation to include in standard > > > installation and make it available from help/F1. It would be nice if > > > examples also included in the offline documentation. > > > > > ------------------------------------------------------------------------------ From mohareve at ...626... Tue Apr 17 21:18:38 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 17 Apr 2012 21:18:38 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: <4F8DAB38.7050405@...1...> References: <4F8DAB38.7050405@...1...> Message-ID: It is sometimes hardly viable: I have a Russian translator who doesn't use Linux at all, but likes my project and helps me. The German translation is also being done with a Windows user person. So when I have 30-40 new strings/release multiplied by number of languages... I think Gambas needs some more efficient tool. Think about modifications, please! I don't know how it works under the hood, and I also don't understand why do we need the first line of records like: #: Archs.class:543 WhereIsIt.class:96 msgid "Inserting the records into database..." msgstr "Wprowadzanie rekord?w do bazy danych..." Probably for getting ideas where this string belongs to. I'm not very good in Gambas, but an expert in data mining, so I don't think there could not be a better way of storing the translations. Probably it works now as: 1. Get the sysyem language 2. Read in the file .po with that language and fill in the strings on the GUI(the first line of the translation's record. This is all great, but the translation's interpreter doesn't recognizes its own product. Namely: I use the .po files exported with Gambas IDE. Then these files are slightly modified (nothing deleted, but rather added characters into empty strings), and afterwards the same IDE won't recognize the same file. It has to be a bug. So I don't think the real solution would be sticking to the Gambas IDE. Is that part of IDE written in Gambas? Maybe I would take a look why does it make such errors. Csaba 2012/4/17, Beno?t Minisini : > Le 17/04/2012 17:13, M. Cs. a ?crit : >> Hi! >> I'm spending quite a lot of time with repairing the translations for >> my program. It is translated into several languages, and there is a >> constant, annoying error: >> - I use to export the translations into myapp-xx-ver.po >> - the translating person translates the strings using a text editor >> (Kate, Gedit...). It is looking for a string "" which represents the >> place of the strings to be translated. >> - I get back the translation and in Translation GUI I do import the >> translated file. >> - The GUI tells me how many strings have been picked up. >> - Usually I am getting back full translation, however, the Translation >> GUI is telling me N strings aren't translated. When I open the .po >> file I can clearly find the translation. >> >> Why does T-GUI make such errors? >> Sometimes in the .po file I can find the following string: >> #, fuzzy >> >> It is quite exhausting! >> Any suggestions? >> >> Csaba >> > > You should translate your project directly from the IDE. > > The translations marked as "fuzzy" are not imported. Because, among > other things, translations are marked as "fuzzy" when they are not > definitive. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mohareve at ...626... Tue Apr 17 21:19:15 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 17 Apr 2012 21:19:15 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: References: <4F8DAB38.7050405@...1...> Message-ID: excuse me for doubled post. 2012/4/17, M. Cs. : > It is sometimes hardly viable: I have a Russian translator who doesn't > use Linux at all, but likes my project and helps me. The German > translation is also being done with a Windows user person. So when I > have 30-40 new strings/release multiplied by number of languages... > I think Gambas needs some more efficient tool. Think about > modifications, please! I don't know how it works under the hood, and I > also don't understand why do we need the first line of records like: > > #: Archs.class:543 WhereIsIt.class:96 > msgid "Inserting the records into database..." > msgstr "Wprowadzanie rekord?w do bazy danych..." > > > Probably for getting ideas where this string belongs to. I'm not very > good in Gambas, but an expert in data mining, so I don't think there > could not be a better way of storing the translations. Probably it > works now as: > 1. Get the sysyem language > 2. Read in the file .po with that language and fill in the strings on > the GUI(the first line of the translation's record. > This is all great, but the translation's interpreter doesn't > recognizes its own product. Namely: I use the .po files exported with > Gambas IDE. Then these files are slightly modified (nothing deleted, > but rather added characters into empty strings), and afterwards the > same IDE won't recognize the same file. It has to be a bug. So I don't > think the real solution would be sticking to the Gambas IDE. Is that > part of IDE written in Gambas? Maybe I would take a look why does it > make such errors. > > Csaba > > > 2012/4/17, Beno?t Minisini : >> Le 17/04/2012 17:13, M. Cs. a ?crit : >>> Hi! >>> I'm spending quite a lot of time with repairing the translations for >>> my program. It is translated into several languages, and there is a >>> constant, annoying error: >>> - I use to export the translations into myapp-xx-ver.po >>> - the translating person translates the strings using a text editor >>> (Kate, Gedit...). It is looking for a string "" which represents the >>> place of the strings to be translated. >>> - I get back the translation and in Translation GUI I do import the >>> translated file. >>> - The GUI tells me how many strings have been picked up. >>> - Usually I am getting back full translation, however, the Translation >>> GUI is telling me N strings aren't translated. When I open the .po >>> file I can clearly find the translation. >>> >>> Why does T-GUI make such errors? >>> Sometimes in the .po file I can find the following string: >>> #, fuzzy >>> >>> It is quite exhausting! >>> Any suggestions? >>> >>> Csaba >>> >> >> You should translate your project directly from the IDE. >> >> The translations marked as "fuzzy" are not imported. Because, among >> other things, translations are marked as "fuzzy" when they are not >> definitive. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From mohareve at ...626... Tue Apr 17 21:20:19 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 17 Apr 2012 21:20:19 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: References: <4F8DAB38.7050405@...1...> Message-ID: Oops, it was Willy, not me :-) 2012/4/17, M. Cs. : > excuse me for doubled post. > > 2012/4/17, M. Cs. : >> It is sometimes hardly viable: I have a Russian translator who doesn't >> use Linux at all, but likes my project and helps me. The German >> translation is also being done with a Windows user person. So when I >> have 30-40 new strings/release multiplied by number of languages... >> I think Gambas needs some more efficient tool. Think about >> modifications, please! I don't know how it works under the hood, and I >> also don't understand why do we need the first line of records like: >> >> #: Archs.class:543 WhereIsIt.class:96 >> msgid "Inserting the records into database..." >> msgstr "Wprowadzanie rekord?w do bazy danych..." >> >> >> Probably for getting ideas where this string belongs to. I'm not very >> good in Gambas, but an expert in data mining, so I don't think there >> could not be a better way of storing the translations. Probably it >> works now as: >> 1. Get the sysyem language >> 2. Read in the file .po with that language and fill in the strings on >> the GUI(the first line of the translation's record. >> This is all great, but the translation's interpreter doesn't >> recognizes its own product. Namely: I use the .po files exported with >> Gambas IDE. Then these files are slightly modified (nothing deleted, >> but rather added characters into empty strings), and afterwards the >> same IDE won't recognize the same file. It has to be a bug. So I don't >> think the real solution would be sticking to the Gambas IDE. Is that >> part of IDE written in Gambas? Maybe I would take a look why does it >> make such errors. >> >> Csaba >> >> >> 2012/4/17, Beno?t Minisini : >>> Le 17/04/2012 17:13, M. Cs. a ?crit : >>>> Hi! >>>> I'm spending quite a lot of time with repairing the translations for >>>> my program. It is translated into several languages, and there is a >>>> constant, annoying error: >>>> - I use to export the translations into myapp-xx-ver.po >>>> - the translating person translates the strings using a text editor >>>> (Kate, Gedit...). It is looking for a string "" which represents the >>>> place of the strings to be translated. >>>> - I get back the translation and in Translation GUI I do import the >>>> translated file. >>>> - The GUI tells me how many strings have been picked up. >>>> - Usually I am getting back full translation, however, the Translation >>>> GUI is telling me N strings aren't translated. When I open the .po >>>> file I can clearly find the translation. >>>> >>>> Why does T-GUI make such errors? >>>> Sometimes in the .po file I can find the following string: >>>> #, fuzzy >>>> >>>> It is quite exhausting! >>>> Any suggestions? >>>> >>>> Csaba >>>> >>> >>> You should translate your project directly from the IDE. >>> >>> The translations marked as "fuzzy" are not imported. Because, among >>> other things, translations are marked as "fuzzy" when they are not >>> definitive. >>> >>> Regards, >>> >>> -- >>> Beno?t Minisini >>> >>> ------------------------------------------------------------------------------ >>> Better than sec? Nothing is better than sec when it comes to >>> monitoring Big Data applications. Try Boundary one-second >>> resolution app monitoring today. Free. >>> http://p.sf.net/sfu/Boundary-dev2dev >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> > From gambas at ...1... Tue Apr 17 21:22:25 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 17 Apr 2012 21:22:25 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <1334689486.2131.17.camel@...2735...> References: <20120417103347.6080.qmail@...2817...> <1334689486.2131.17.camel@...2735...> Message-ID: <4F8DC2F1.8000203@...1...> Le 17/04/2012 21:04, Willy Raets a ?crit : > And another agreed here as I am not always online when coding. > > On di, 2012-04-17 at 21:32 +0300, Jussi Lahtinen wrote: >> Also agreed, >> sometimes it takes a while to get help info from online, I would like it to >> be immediate. >> >> Jussi >> >> >> >> On Tue, Apr 17, 2012 at 20:35, M. Cs. wrote: >> >>> I agree with you. If would be nice to have a package gambas3-gb-help, >>> as an option. >>> >>> Csaba >>> >>> 2012/4/17, sundar j: >>>> Is it possible to make online documentation to include in standard >>>> installation and make it available from help/F1. It would be nice if >>>> examples also included in the offline documentation. >>>> >>> ------------------------------------------------------------------------------ > I removed the offline documentation in Gambas 3 because I don't have the time to deal with it anymore. -- Beno?t Minisini From gambas at ...1... Tue Apr 17 21:23:11 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 17 Apr 2012 21:23:11 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: <1334689243.2131.15.camel@...2735...> References: <4F8DAB38.7050405@...1...> <1334689243.2131.15.camel@...2735...> Message-ID: <4F8DC31F.9040203@...1...> Le 17/04/2012 21:00, Willy Raets a ?crit : > On di, 2012-04-17 at 19:41 +0200, Beno?t Minisini wrote: >> Le 17/04/2012 17:13, M. Cs. a ?crit : >>> >> >> You should translate your project directly from the IDE. >> >> The translations marked as "fuzzy" are not imported. Because, among >> other things, translations are marked as "fuzzy" when they are not >> definitive. >> >> Regards, >> > I have application in multi languages and used to send people the text > files to translate and import them. > > It was not a pleasant way of translating (from the exported files) for > translators and I had likewise issues on import. > > So now I copy paste all into a .odt with some screenshots so they know > what it is about and when translation returns I copy paste the > translations into the IDE. But that is a lot extra work. > > Problem is that the people translating are NO programmers and don't have > Gambas IDE. Several of them don't even have linux. > Just people that happen to be willing to translate because they know the > language. > > Some clever way of exporting what needs to be translated in a user > friendly format for translators and a manner to import the translations > done by others would be very welcome and save loads of time. > The current export is not something you can send to people to do > translating in. It confuses them and loads of mistakes are made this > way. > The current export is the standard GNU translation file format. What other format do you suggest? -- Beno?t Minisini From mohareve at ...626... Tue Apr 17 21:31:41 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 17 Apr 2012 21:31:41 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: <4F8DC31F.9040203@...1...> References: <4F8DAB38.7050405@...1...> <1334689243.2131.15.camel@...2735...> <4F8DC31F.9040203@...1...> Message-ID: I think the problem isn't with the standard itself, but rather with the GUI, which makes error during file import. Csaba 2012/4/17, Beno?t Minisini : > Le 17/04/2012 21:00, Willy Raets a ?crit : >> On di, 2012-04-17 at 19:41 +0200, Beno?t Minisini wrote: >>> Le 17/04/2012 17:13, M. Cs. a ?crit : >>>> >>> >>> You should translate your project directly from the IDE. >>> >>> The translations marked as "fuzzy" are not imported. Because, among >>> other things, translations are marked as "fuzzy" when they are not >>> definitive. >>> >>> Regards, >>> >> I have application in multi languages and used to send people the text >> files to translate and import them. >> >> It was not a pleasant way of translating (from the exported files) for >> translators and I had likewise issues on import. >> >> So now I copy paste all into a .odt with some screenshots so they know >> what it is about and when translation returns I copy paste the >> translations into the IDE. But that is a lot extra work. >> >> Problem is that the people translating are NO programmers and don't have >> Gambas IDE. Several of them don't even have linux. >> Just people that happen to be willing to translate because they know the >> language. >> >> Some clever way of exporting what needs to be translated in a user >> friendly format for translators and a manner to import the translations >> done by others would be very welcome and save loads of time. >> The current export is not something you can send to people to do >> translating in. It confuses them and loads of mistakes are made this >> way. >> > > The current export is the standard GNU translation file format. What > other format do you suggest? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ea7dfh at ...2382... Tue Apr 17 21:09:44 2012 From: ea7dfh at ...2382... (Jesus) Date: Tue, 17 Apr 2012 21:09:44 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <1334689486.2131.17.camel@...2735...> References: <20120417103347.6080.qmail@...2817...> <1334689486.2131.17.camel@...2735...> Message-ID: <4F8DBFF8.1080008@...2382...> One more joining the request! Thanks -- Jesus El 17/04/12 21:04, Willy Raets escribi?: > And another agreed here as I am not always online when coding. > > On di, 2012-04-17 at 21:32 +0300, Jussi Lahtinen wrote: >> Also agreed, >> sometimes it takes a while to get help info from online, I would like it to >> be immediate. >> >> Jussi >> >> >> >> On Tue, Apr 17, 2012 at 20:35, M. Cs. wrote: >> >>> I agree with you. If would be nice to have a package gambas3-gb-help, >>> as an option. >>> >>> Csaba >>> >>> 2012/4/17, sundar j: >>>> Is it possible to make online documentation to include in standard >>>> installation and make it available from help/F1. It would be nice if >>>> examples also included in the offline documentation. >>>> From mohareve at ...626... Tue Apr 17 21:38:15 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 17 Apr 2012 21:38:15 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: References: <4F8DAB38.7050405@...1...> <1334689243.2131.15.camel@...2735...> <4F8DC31F.9040203@...1...> Message-ID: Or at least tell me how can I obtain a .po file which will work as expected. Let say I have a freeze of new features or strings in a release: how will those #fuzzy -es disappear? Csaba 2012/4/17, M. Cs. : > I think the problem isn't with the standard itself, but rather with > the GUI, which makes error during file import. > > Csaba > > 2012/4/17, Beno?t Minisini : >> Le 17/04/2012 21:00, Willy Raets a ?crit : >>> On di, 2012-04-17 at 19:41 +0200, Beno?t Minisini wrote: >>>> Le 17/04/2012 17:13, M. Cs. a ?crit : >>>>> >>>> >>>> You should translate your project directly from the IDE. >>>> >>>> The translations marked as "fuzzy" are not imported. Because, among >>>> other things, translations are marked as "fuzzy" when they are not >>>> definitive. >>>> >>>> Regards, >>>> >>> I have application in multi languages and used to send people the text >>> files to translate and import them. >>> >>> It was not a pleasant way of translating (from the exported files) for >>> translators and I had likewise issues on import. >>> >>> So now I copy paste all into a .odt with some screenshots so they know >>> what it is about and when translation returns I copy paste the >>> translations into the IDE. But that is a lot extra work. >>> >>> Problem is that the people translating are NO programmers and don't have >>> Gambas IDE. Several of them don't even have linux. >>> Just people that happen to be willing to translate because they know the >>> language. >>> >>> Some clever way of exporting what needs to be translated in a user >>> friendly format for translators and a manner to import the translations >>> done by others would be very welcome and save loads of time. >>> The current export is not something you can send to people to do >>> translating in. It confuses them and loads of mistakes are made this >>> way. >>> >> >> The current export is the standard GNU translation file format. What >> other format do you suggest? >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From jussi.lahtinen at ...626... Tue Apr 17 21:40:00 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 17 Apr 2012 22:40:00 +0300 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <4F8DC2F1.8000203@...1...> References: <20120417103347.6080.qmail@...2817...> <1334689486.2131.17.camel@...2735...> <4F8DC2F1.8000203@...1...> Message-ID: > I removed the offline documentation in Gambas 3 because I don't have the > time to deal with it anymore. > Maybe I didn't get this right... Couldn't it be possible for IDE to just download all the documentation html pages and then use local folder as source for the help browser? Jussi From ea7dfh at ...2382... Tue Apr 17 21:42:33 2012 From: ea7dfh at ...2382... (Jesus) Date: Tue, 17 Apr 2012 21:42:33 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: References: <4F8DAB38.7050405@...1...> <1334689243.2131.15.camel@...2735...> <4F8DC31F.9040203@...1...> Message-ID: <4F8DC7A9.6030502@...2382...> El 17/04/12 21:31, M. Cs. escribi?: > I think the problem isn't with the standard itself, but rather with > the GUI, which makes error during file import. > > Csaba I'm shooting with my eyes closed, but could be it something related to line endings? Someone said that translators were using windows to do the task, and windows introduces \r\n. Regards > > 2012/4/17, Beno?t Minisini: >> Le 17/04/2012 21:00, Willy Raets a ?crit : >>> On di, 2012-04-17 at 19:41 +0200, Beno?t Minisini wrote: >>>> Le 17/04/2012 17:13, M. Cs. a ?crit : >>>>> >>>> >>>> You should translate your project directly from the IDE. >>>> >>>> The translations marked as "fuzzy" are not imported. Because, among >>>> other things, translations are marked as "fuzzy" when they are not >>>> definitive. >>>> >>>> Regards, >>>> >>> I have application in multi languages and used to send people the text >>> files to translate and import them. >>> >>> It was not a pleasant way of translating (from the exported files) for >>> translators and I had likewise issues on import. >>> >>> So now I copy paste all into a .odt with some screenshots so they know >>> what it is about and when translation returns I copy paste the >>> translations into the IDE. But that is a lot extra work. >>> >>> Problem is that the people translating are NO programmers and don't have >>> Gambas IDE. Several of them don't even have linux. >>> Just people that happen to be willing to translate because they know the >>> language. >>> >>> Some clever way of exporting what needs to be translated in a user >>> friendly format for translators and a manner to import the translations >>> done by others would be very welcome and save loads of time. >>> The current export is not something you can send to people to do >>> translating in. It confuses them and loads of mistakes are made this >>> way. >>> >> >> The current export is the standard GNU translation file format. What >> other format do you suggest? >> >> -- >> Beno?t Minisini >> -- Jesus Guardon From jussi.lahtinen at ...626... Tue Apr 17 21:42:32 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 17 Apr 2012 22:42:32 +0300 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <20120417103347.6080.qmail@...2817...> <1334689486.2131.17.camel@...2735...> <4F8DC2F1.8000203@...1...> Message-ID: Oh, not just IDE but also manually download them as tar ball, etc. Jussi On Tue, Apr 17, 2012 at 22:40, Jussi Lahtinen wrote: > > I removed the offline documentation in Gambas 3 because I don't have the >> time to deal with it anymore. >> > > Maybe I didn't get this right... > Couldn't it be possible for IDE to just download all the documentation > html pages and then use local folder as source for the help browser? > > Jussi > From mohareve at ...626... Tue Apr 17 21:43:06 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 17 Apr 2012 21:43:06 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <4F8DBFF8.1080008@...2382...> References: <20120417103347.6080.qmail@...2817...> <1334689486.2131.17.camel@...2735...> <4F8DBFF8.1080008@...2382...> Message-ID: If the documentation is done in html, you could make a compressed offline version of its current state, like a compressed copy of the entire website. But I guess it is also made with Gambas :-) Csaba 2012/4/17, Jesus : > One more joining the request! > > Thanks > > -- > Jesus > > El 17/04/12 21:04, Willy Raets escribi?: >> And another agreed here as I am not always online when coding. >> >> On di, 2012-04-17 at 21:32 +0300, Jussi Lahtinen wrote: >>> Also agreed, >>> sometimes it takes a while to get help info from online, I would like it >>> to >>> be immediate. >>> >>> Jussi >>> >>> >>> >>> On Tue, Apr 17, 2012 at 20:35, M. Cs. wrote: >>> >>>> I agree with you. If would be nice to have a package gambas3-gb-help, >>>> as an option. >>>> >>>> Csaba >>>> >>>> 2012/4/17, sundar j: >>>>> Is it possible to make online documentation to include in standard >>>>> installation and make it available from help/F1. It would be nice if >>>>> examples also included in the offline documentation. >>>>> > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...2734... Tue Apr 17 21:44:49 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 17 Apr 2012 21:44:49 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: References: <4F8DAB38.7050405@...1...> Message-ID: <1334691889.2131.32.camel@...2735...> On di, 2012-04-17 at 21:20 +0200, M. Cs. wrote: > Oops, it was Willy, not me :-) :-) > > 2012/4/17, M. Cs. : > > excuse me for doubled post. > > > > 2012/4/17, M. Cs. : > >> It is sometimes hardly viable: I have a Russian translator who doesn't > >> use Linux at all, but likes my project and helps me. The German > >> translation is also being done with a Windows user person. So when I > >> have 30-40 new strings/release multiplied by number of languages... I get your problem there as I face the same. I have some people too who like the project and translate for me (currently into 6 languages) even when they are running Windows and never see my application run :-) And every release is a struggle with the translations. I started of with the .po files as well, but that is a real hell for those doing the translations. There has to be a better way of doing this. I have been thinking about some form of a web based .po editor where you can select the application and language you want to translate. The .po file gets read onto the page with original language strings to be translated and fields to fill in translation. Upon saving they fill the empty strings in the .po file. This way no matter what OS, everybody is able to translate. And people can even correct wrongly translated strings if they want. All I would need to do is make sure the .po files are there and kept up to date and import them before every new release. But I have no idea where to begin and how to set this up. But it would be great to have some central public space where all Gambas developers could place their applications up for translation in this manner. Suggestion are welcome... From gambas at ...1... Tue Apr 17 21:57:14 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 17 Apr 2012 21:57:14 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: References: <4F8DAB38.7050405@...1...> Message-ID: <4F8DCB1A.7080600@...1...> Le 17/04/2012 21:18, M. Cs. a ?crit : > It is sometimes hardly viable: I have a Russian translator who doesn't > use Linux at all, but likes my project and helps me. The German > translation is also being done with a Windows user person. So when I > have 30-40 new strings/release multiplied by number of languages... > I think Gambas needs some more efficient tool. Think about > modifications, please! I don't know how it works under the hood, and I > also don't understand why do we need the first line of records like: > > #: Archs.class:543 WhereIsIt.class:96 > msgid "Inserting the records into database..." > msgstr "Wprowadzanie rekord?w do bazy danych..." > > > Probably for getting ideas where this string belongs to. I'm not very > good in Gambas, but an expert in data mining, so I don't think there > could not be a better way of storing the translations. Probably it > works now as: > 1. Get the sysyem language > 2. Read in the file .po with that language and fill in the strings on > the GUI(the first line of the translation's record. > This is all great, but the translation's interpreter doesn't > recognizes its own product. Namely: I use the .po files exported with > Gambas IDE. Then these files are slightly modified (nothing deleted, > but rather added characters into empty strings), and afterwards the > same IDE won't recognize the same file. It has to be a bug. So I don't > think the real solution would be sticking to the Gambas IDE. Is that > part of IDE written in Gambas? Maybe I would take a look why does it > make such errors. > > Csaba > The Gambas IDE just uses the standard GNU translation system. All you are talking about is a GNU thing, not a Gambas one. If you want to know the details, it's there: http://www.gnu.org/software/gettext/manual/gettext.html I don't know what you are modifying in the *.po file that prevents it from working afterwards. Maybe if you give some details I could see. The more efficient tool needed by Gambas exists. This is the IDE translation window, that one should use to translate a project. A lot of people have already translated the Gambas IDE and just sent me the *.po file. AFAIK, I didn't have any problem when importing them. If I remember, some of the *.po files were done with the IDE, and some were edited manually. Regards, -- Beno?t Minisini From gambas at ...1... Tue Apr 17 22:00:27 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 17 Apr 2012 22:00:27 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: <1334691889.2131.32.camel@...2735...> References: <4F8DAB38.7050405@...1...> <1334691889.2131.32.camel@...2735...> Message-ID: <4F8DCBDB.1000707@...1...> Le 17/04/2012 21:44, Willy Raets a ?crit : > > I get your problem there as I face the same. I have some people too who > like the project and translate for me (currently into 6 languages) even > when they are running Windows and never see my application run :-) > > And every release is a struggle with the translations. I started of with > the .po files as well, but that is a real hell for those doing the > translations. There has to be a better way of doing this. > > I have been thinking about some form of a web based .po editor where you > can select the application and language you want to translate. > The .po file gets read onto the page with original language strings to > be translated and fields to fill in translation. Upon saving they fill > the empty strings in the .po file. This way no matter what OS, everybody > is able to translate. And people can even correct wrongly translated > strings if they want. > > All I would need to do is make sure the .po files are there and kept up > to date and import them before every new release. > > But I have no idea where to begin and how to set this up. But it would > be great to have some central public space where all Gambas developers > could place their applications up for translation in this manner. > > Suggestion are welcome... > I think Ubuntu has something like that. Note that a Gambas project includes all its translation. They cannot be provided separately (at the moment). Regards, -- Beno?t Minisini From willy at ...2734... Tue Apr 17 22:01:39 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 17 Apr 2012 22:01:39 +0200 Subject: [Gambas-user] Translation interface errors In-Reply-To: <4F8DC31F.9040203@...1...> References: <4F8DAB38.7050405@...1...> <1334689243.2131.15.camel@...2735...> <4F8DC31F.9040203@...1...> Message-ID: <1334692899.2131.44.camel@...2735...> > The current export is the standard GNU translation file format. What > other format do you suggest? > Hi Beno?t, Don't get me wrong. I don't think the format is wrong or the solution needs to be found Gambas. It is just not suited to let translators do their translations in as mistakes are very easily made, a quote is forgotten of those kind of things and translators don't always understand the format and how to correctly place it all. And when done on a Windows machine the files need to be tripled checked before importing, because of Windows adding stuff. So in all is is a painfully long job this way. I don't think Gambas IDE is the place where a solution needs to be found as for translations we need to think from the point of view of the translator and for some platform independent solution, that doesn't have to be part of Gambas itself, but provides support to Gambas developers that want to go international with their application. Such a platform could even be used for the internationalisation of Gambas itself. But the .po file would be the central point of transfer and I'm okay with its format and understand how it works. In another post I wrote a suggestion, but that would be more something of a Gambas translators web platform kind of a solution thing I suppose. Could something like that be set up using Gambas, as I know you are doing webhosting using Gambas. I have no clue where to start and if a provider would support it and so on. Willy From eilert-sprachen at ...221... Wed Apr 18 08:30:53 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 18 Apr 2012 08:30:53 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <20120417103347.6080.qmail@...2817...> <1334689486.2131.17.camel@...2735...> <4F8DBFF8.1080008@...2382...> Message-ID: <4F8E5F9D.1060606@...221...> Oh yes, and it requires a webserver to handle this, I guess. But maybe it is possible to let Gambas do this work in the background while the IDE is running? Anyway, I join in to the request (well, actually I already asked for it some months ago). Let me think this over. There are half-ready html pages similar to php, there is css, all that stuff is sent to the interpreter written in Gambas, and it gives the server a complete page that is sent to the user. So everything happens on the server, right? Now, would it be possible to write a script that simply calls each page once to be processed on the server and saves it in a compressed form in some directory structure. So the user's Gambas has a fallback option (if not online or if online not desired) and unpacks and simply displays these pages. Rolf Am 17.04.2012 21:43, schrieb M. Cs.: > If the documentation is done in html, you could make a compressed > offline version of its current state, like a compressed copy of the > entire website. But I guess it is also made with Gambas :-) > > Csaba > > 2012/4/17, Jesus: >> One more joining the request! >> >> Thanks >> >> -- >> Jesus >> >> El 17/04/12 21:04, Willy Raets escribi?: >>> And another agreed here as I am not always online when coding. >>> >>> On di, 2012-04-17 at 21:32 +0300, Jussi Lahtinen wrote: >>>> Also agreed, >>>> sometimes it takes a while to get help info from online, I would like it >>>> to >>>> be immediate. >>>> >>>> Jussi >>>> >>>> >>>> >>>> On Tue, Apr 17, 2012 at 20:35, M. Cs. wrote: >>>> >>>>> I agree with you. If would be nice to have a package gambas3-gb-help, >>>>> as an option. >>>>> >>>>> Csaba >>>>> >>>>> 2012/4/17, sundar j: >>>>>> Is it possible to make online documentation to include in standard >>>>>> installation and make it available from help/F1. It would be nice if >>>>>> examples also included in the offline documentation. >>>>>> >> >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1823... Wed Apr 18 08:33:39 2012 From: rterry at ...1823... (richard terry) Date: Wed, 18 Apr 2012 16:33:39 +1000 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <4F8E5F9D.1060606@...221...> References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> Message-ID: <201204181633.39772.rterry@...1823...> On Wednesday 18 April 2012 16:30:53 Rolf-Werner Eilert wrote: Would be great for me - I can't get proper internet at home - no adsl and am in a wireless deadspot. richard > Oh yes, and it requires a webserver to handle this, I guess. But maybe > it is possible to let Gambas do this work in the background while the > IDE is running? > > Anyway, I join in to the request (well, actually I already asked for it > some months ago). > > Let me think this over. There are half-ready html pages similar to php, > there is css, all that stuff is sent to the interpreter written in > Gambas, and it gives the server a complete page that is sent to the > user. So everything happens on the server, right? > > Now, would it be possible to write a script that simply calls each page > once to be processed on the server and saves it in a compressed form in > some directory structure. So the user's Gambas has a fallback option (if > not online or if online not desired) and unpacks and simply displays > these pages. > > Rolf > > Am 17.04.2012 21:43, schrieb M. Cs.: > > If the documentation is done in html, you could make a compressed > > offline version of its current state, like a compressed copy of the > > entire website. But I guess it is also made with Gambas :-) > > > > Csaba > > > > 2012/4/17, Jesus: > >> One more joining the request! > >> > >> Thanks > >> > >> -- > >> Jesus > >> > >> El 17/04/12 21:04, Willy Raets escribi?: > >>> And another agreed here as I am not always online when coding. > >>> > >>> On di, 2012-04-17 at 21:32 +0300, Jussi Lahtinen wrote: > >>>> Also agreed, > >>>> sometimes it takes a while to get help info from online, I would like > >>>> it to > >>>> be immediate. > >>>> > >>>> Jussi > >>>> > >>>> On Tue, Apr 17, 2012 at 20:35, M. Cs. wrote: > >>>>> I agree with you. If would be nice to have a package gambas3-gb-help, > >>>>> as an option. > >>>>> > >>>>> Csaba > >>>>> > >>>>> 2012/4/17, sundar j: > >>>>>> Is it possible to make online documentation to include in standard > >>>>>> installation and make it available from help/F1. It would be nice if > >>>>>> examples also included in the offline documentation. > >> > >> ------------------------------------------------------------------------ > >>------ Better than sec? Nothing is better than sec when it comes to > >> monitoring Big Data applications. Try Boundary one-second > >> resolution app monitoring today. Free. > >> http://p.sf.net/sfu/Boundary-dev2dev > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > >----- Better than sec? Nothing is better than sec when it comes to > > monitoring Big Data applications. Try Boundary one-second > > resolution app monitoring today. Free. > > http://p.sf.net/sfu/Boundary-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > --------------------------------------------------------------------------- > --- Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From steve at ...2812... Wed Apr 18 09:15:34 2012 From: steve at ...2812... (Steve) Date: Wed, 18 Apr 2012 08:15:34 +0100 (GMT Daylight Time) Subject: [Gambas-user] [Gambasforge-users] ubuntu gambas forge References: <4F8AB6E5.00000B.10908@...2813...> Message-ID: <4F8E6A16.000005.13148@...2813...> Fabien, Can we check I have this correct ? I have /home/Steve/gambas3-3.1.1 gambas source code into which I have moved from gambasforge/components gb.HTML and gb.pkimage making /home/Steve/gambas3-3.1.1/gb.HTML gb.pkimage etc Steve -------Original Message------- From: Fabien Bodard Date: 04/15/12 14:22:48 To: Steve Subject: Re: [Gambasforge-users] ubuntu gambas forge 2012/4/15 Steve : > > I'm trying to take a look at gambasforge to try and do a web app. Ive > installed gambas 3.1 on an ubuntu desktop laptop. > > > > I'm missing gb.HTML and presumed I need to compile this. compiling fails > with link: missing operand after ../decomp > > > > Pointers please > > > > Steve > > ----------------------------------------------------------------------------- > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambasforge-users mailing list > Gambasforge-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambasforge-users in fact you need to put the directory in the gambas tree, then ./reconf, ./configure, make , make install -- Fabien Bodard From demosthenesk at ...626... Wed Apr 18 10:33:21 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 18 Apr 2012 11:33:21 +0300 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <201204181633.39772.rterry@...1823...> References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> Message-ID: <4F8E7C51.2070500@...626...> i try to download the docs with wget -kvrc --*html-extension *http://gambasdoc.org/help?v3 i think with this way we can have convert php files to html and have offline documentation. if all are good i can send the tarball to put it to download section. Another option is to setup a cron job to server to produce automatic the tarball. From ihaywood at ...1979... Wed Apr 18 14:20:23 2012 From: ihaywood at ...1979... (Ian Haywood) Date: Wed, 18 Apr 2012 22:20:23 +1000 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <4F8E7C51.2070500@...626...> References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> Message-ID: On Wed, Apr 18, 2012 at 6:33 PM, Demosthenes Koptsis wrote: > i try to download the docs with > > wget -kvrc --*html-extension *http://gambasdoc.org/help?v3 > > i think with this way we can have convert php files to html and have > offline documentation. > > if all are good i can send the tarball to put it to download section. this problem has irritated me for some time, as I am often developing on my laptop with no Internet access. A related question I have had is "how hard would it be to implement HTTP in Gambas". The answer is....not very. I enclose a small HTTP server that pretends to be a proxy running on port 8080 but actually serves up the Gambas help from the local hard drive. Obviously you will need to download the docs as per the wget command above, and also set the variable basePath in MMain.module to your directory where this download is Also the downloaded files have a back bar across the top which is annoying when reading the help in the IDE: to get rid of this you can do find -type f -exec sed -i -e '/lang30/d' \{} \; in that directory to strip it out in the files. In doing it I uncovered an interesting problem. in the HTTP protocol the client sends a blank line (i.e. ) to signal the end of the request. I expected Gambas' LINE INPUT to return an empty string when this happens (which it does do when reading an equivalent text file on disk) as a hack my client watches for the "User-Agent" line as uses that to signal to start sending the data, which breaks the protocol, but Gambas doesn't seem to mind. Ian -------------- next part -------------- A non-text attachment was scrubbed... Name: doc-server-0.0.1.tar.gz Type: application/x-gzip Size: 6407 bytes Desc: not available URL: From math.maes at ...626... Wed Apr 18 15:02:34 2012 From: math.maes at ...626... (Mathias Maes) Date: Wed, 18 Apr 2012 15:02:34 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> Message-ID: Why would you need a webserver to download files from a webserver? Just simply download them, and show them in the IDE like theyre showed now. Would be much easier. 2012/4/18 Ian Haywood > On Wed, Apr 18, 2012 at 6:33 PM, Demosthenes Koptsis > wrote: > > i try to download the docs with > > > > wget -kvrc --*html-extension *http://gambasdoc.org/help?v3 > > > > i think with this way we can have convert php files to html and have > > offline documentation. > > > > if all are good i can send the tarball to put it to download section. > this problem has irritated me for some time, as I am often developing > on my laptop > with no Internet access. > > A related question I have had is "how hard would it be to implement > HTTP in Gambas". > The answer is....not very. > > I enclose a small HTTP server that pretends to be a proxy running on > port 8080 but actually serves > up the Gambas help from the local hard drive. > Obviously you will need to download the docs as per the wget command > above, and > also set the variable basePath in MMain.module to your directory where > this download is > > Also the downloaded files have a back bar across the top which is > annoying when reading > the help in the IDE: to get rid of this you can do > > find -type f -exec sed -i -e '/lang30/d' \{} \; > > in that directory to strip it out in the files. > > In doing it I uncovered an interesting problem. in the HTTP protocol > the client sends a blank line > (i.e. ) to signal the end of the request. > I expected Gambas' LINE INPUT to return an empty string when this > happens (which it does do when reading an > equivalent text file on disk) > > as a hack my client watches for the "User-Agent" line as uses that to > signal to start sending the data, which breaks the protocol, > but Gambas doesn't seem to mind. > > Ian > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ihaywood at ...1979... Wed Apr 18 15:20:55 2012 From: ihaywood at ...1979... (Ian Haywood) Date: Wed, 18 Apr 2012 23:20:55 +1000 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> Message-ID: <4F8EBFB7.9040705@...1979...> On 18/04/12 23:02, Mathias Maes wrote: > Why would you need a webserver to download files from a webserver? > Just simply download them, and show them in the IDE like theyre showed now. > Would be much easier. Indeed, but the IDE itself will not read help files from a local hard drive directly, it must be tricked into thinking it is talking to gambasdoc.org Ian From john.aaron.rose at ...626... Wed Apr 18 16:30:58 2012 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 18 Apr 2012 15:30:58 +0100 Subject: [Gambas-user] Message number precedes its message on digest Message-ID: <1334759458.4778.3.camel@...2811...> on the Wine-Users Mailing List digest, each message is preceded by the message number (as shown at the start of the digest). Could that be added to the GambasUsers Mailing List digest? PS I use the digest, as otherwise I tend to be inundated with emails relating to individual message. I want to continue using the digest. From jochen at ...2818... Wed Apr 18 16:20:44 2012 From: jochen at ...2818... (jochen) Date: Wed, 18 Apr 2012 16:20:44 +0200 (CEST) Subject: [Gambas-user] I need no more information's of using gambas Message-ID: <1404059930.253930.1334758844059.JavaMail.open-xchange@...2819...> jochen tenholt From gambas.fr at ...626... Wed Apr 18 18:27:37 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 18 Apr 2012 18:27:37 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <4F8E7C51.2070500@...626...> References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> Message-ID: 2012/4/18 Demosthenes Koptsis : > i try to download the docs with > > wget -kvrc --*html-extension *http://gambasdoc.org/help?v3 > > i think with this way we can have convert php files to html and have > offline documentation. php ... it's a gambas cgi ! > > if all are good i can send the tarball to put it to download section. > > Another option is to setup a cron job to server to produce automatic the > tarball. > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Wed Apr 18 18:45:50 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 18 Apr 2012 18:45:50 +0200 Subject: [Gambas-user] I need no more information's of using gambas In-Reply-To: <1404059930.253930.1334758844059.JavaMail.open-xchange@...2819...> References: <1404059930.253930.1334758844059.JavaMail.open-xchange@...2819...> Message-ID: 2012/4/18 jochen : > jochen tenholt > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user .... ? -- Fabien Bodard From gambas at ...1... Wed Apr 18 19:03:01 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 18 Apr 2012 19:03:01 +0200 Subject: [Gambas-user] Message number precedes its message on digest In-Reply-To: <1334759458.4778.3.camel@...2811...> References: <1334759458.4778.3.camel@...2811...> Message-ID: <4F8EF3C5.4090004@...1...> Le 18/04/2012 16:30, John Rose a ?crit : > on the Wine-Users Mailing List digest, each message is preceded by the > message number (as shown at the start of the digest). Could that be > added to the GambasUsers Mailing List digest? > PS I use the digest, as otherwise I tend to be inundated with emails > relating to individual message. I want to continue using the digest. > The mailing-list is managed by Sourceforge mailman. I searched the mailman administrative interface, and I didn't find anything related to your request. But I don't know mailman, so maybe I didn't see it. If someone knows well mailman, maybe he could help us? -- Beno?t Minisini From rmorgan62 at ...626... Wed Apr 18 19:07:04 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 18 Apr 2012 10:07:04 -0700 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> Message-ID: I too often develop on my laptop with no internet access. And it is very frustrating when you have no documentation to refer to. Writing a python crawler to extract the docs from the website and put it into either local html or pdf files shouldn't be too difficult. we just need an IDE hook to view the desired format. On Wed, Apr 18, 2012 at 9:27 AM, Fabien Bodard wrote: > 2012/4/18 Demosthenes Koptsis : > > i try to download the docs with > > > > wget -kvrc --*html-extension *http://gambasdoc.org/help?v3 > > > > i think with this way we can have convert php files to html and have > > offline documentation. > php ... it's a gambas cgi ! > > > > > if all are good i can send the tarball to put it to download section. > > > > Another option is to setup a cron job to server to produce automatic the > > tarball. > > > > > > > ------------------------------------------------------------------------------ > > Better than sec? Nothing is better than sec when it comes to > > monitoring Big Data applications. Try Boundary one-second > > resolution app monitoring today. Free. > > http://p.sf.net/sfu/Boundary-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From rmorgan62 at ...626... Wed Apr 18 19:08:37 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 18 Apr 2012 10:08:37 -0700 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> Message-ID: Oh, I solved my offline document use with HTTtrack and simply copied the site to my local hard drive. On Wed, Apr 18, 2012 at 10:07 AM, Randall Morgan wrote: > I too often develop on my laptop with no internet access. And it is > very frustrating when you have no documentation to refer to. > > Writing a python crawler to extract the docs from the website and put it > into either local html or pdf files shouldn't be too difficult. we just > need an IDE hook to view the desired format. > > > > On Wed, Apr 18, 2012 at 9:27 AM, Fabien Bodard wrote: > >> 2012/4/18 Demosthenes Koptsis : >> > i try to download the docs with >> > >> > wget -kvrc --*html-extension *http://gambasdoc.org/help?v3 >> > >> > i think with this way we can have convert php files to html and have >> > offline documentation. >> php ... it's a gambas cgi ! >> >> > >> > if all are good i can send the tarball to put it to download section. >> > >> > Another option is to setup a cron job to server to produce automatic the >> > tarball. >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Better than sec? Nothing is better than sec when it comes to >> > monitoring Big Data applications. Try Boundary one-second >> > resolution app monitoring today. Free. >> > http://p.sf.net/sfu/Boundary-dev2dev >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...2524... Thu Apr 19 00:02:49 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 18 Apr 2012 22:02:49 +0000 Subject: [Gambas-user] Issue 236 in gambas: gb.net.curl fails to connect using https In-Reply-To: <2-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> <0-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Comment #3 on issue 236 by sebi... at ...626...: gb.net.curl fails to connect using https http://code.google.com/p/gambas/issues/detail?id=236 I now know for sure this is an error in openssl. I will try to figure out exactly why this is happening. Source: http://curl.haxx.se/mail/lib-2008-02/0164.html From gambas at ...2524... Thu Apr 19 01:10:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 18 Apr 2012 23:10:40 +0000 Subject: [Gambas-user] Issue 240 in gambas: CheckBox Tristate View on Runtime Message-ID: <0-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 240 by kmanja... at ...626...: CheckBox Tristate View on Runtime http://code.google.com/p/gambas/issues/detail?id=240 1) Describe the problem. The tristate CheckBox control image during project runtime is not changing into the shaded ticked box when "None" state is selected, instead it is shown empty as in "False" state. The problem does not seem to exist on the Designer window. When the Value property of the control is set to None it is shown correctly on the Designer form as a shaded ticked box 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=3.3.2 Architecture=i686 Memory=4069316 kB DistributionVendor=slackware DistributionRelease=Slackware 13.37.0 Desktop=Xfce [Gambas 3] Version=3.0.0 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.0 GTK+=libgtk-x11-2.0.so.0.2400.4 3) Provide a little project that reproduces the bug or the crash. N/A 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. 1. Create an empty form 2. Drag and Drop a CheckBox control to the form 3. Change the control "Tristate" property to "True" 4. Change the control "Value" property to "None" - You should be able to see on the Designer window the shaded checked box as expected... 5. "Run" the project and cycle through the CheckBox states by clicking on it 6. The "None" state is visually identical to the "False" state during runtime. i.e. "None" state does not show up as a shaded checked box. From eilert-sprachen at ...221... Thu Apr 19 08:09:16 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 19 Apr 2012 08:09:16 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> Message-ID: <4F8FAC0C.3080701@...221...> Could you explain this a bit more in detail? Thanks Rolf Am 18.04.2012 19:08, schrieb Randall Morgan: > Oh, I solved my offline document use with HTTtrack and simply copied the > site to my local hard drive. > > > On Wed, Apr 18, 2012 at 10:07 AM, Randall Morganwrote: > >> I too often develop on my laptop with no internet access. And it is >> very frustrating when you have no documentation to refer to. >> >> Writing a python crawler to extract the docs from the website and put it >> into either local html or pdf files shouldn't be too difficult. we just >> need an IDE hook to view the desired format. >> >> >> >> On Wed, Apr 18, 2012 at 9:27 AM, Fabien Bodardwrote: >> >>> 2012/4/18 Demosthenes Koptsis: >>>> i try to download the docs with >>>> >>>> wget -kvrc --*html-extension *http://gambasdoc.org/help?v3 >>>> >>>> i think with this way we can have convert php files to html and have >>>> offline documentation. >>> php ... it's a gambas cgi ! >>> >>>> >>>> if all are good i can send the tarball to put it to download section. >>>> >>>> Another option is to setup a cron job to server to produce automatic the >>>> tarball. >>>> >>>> >>>> >>> ------------------------------------------------------------------------------ >>>> Better than sec? Nothing is better than sec when it comes to >>>> monitoring Big Data applications. Try Boundary one-second >>>> resolution app monitoring today. Free. >>>> http://p.sf.net/sfu/Boundary-dev2dev >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> -- >>> Fabien Bodard >>> >>> >>> ------------------------------------------------------------------------------ >>> Better than sec? Nothing is better than sec when it comes to >>> monitoring Big Data applications. Try Boundary one-second >>> resolution app monitoring today. Free. >>> http://p.sf.net/sfu/Boundary-dev2dev >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> >> >> -- >> If you ask me if it can be done. The answer is YES, it can always be done. >> The correct questions however are... What will it cost, and how long will >> it take? >> > > > From support at ...2529... Thu Apr 19 08:24:28 2012 From: support at ...2529... (John Spikowski) Date: Wed, 18 Apr 2012 23:24:28 -0700 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <4F8FAC0C.3080701@...221...> References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> <4F8FAC0C.3080701@...221...> Message-ID: <1334816668.2275.61.camel@...1833...> On Thu, 2012-04-19 at 08:09 +0200, Rolf-Werner Eilert wrote: > Could you explain this a bit more in detail? > > Thanks > Rolf > > Am 18.04.2012 19:08, schrieb Randall Morgan: > > Oh, I solved my offline document use with HTTtrack and simply copied the > > site to my local hard drive. > > > > > > On Wed, Apr 18, 2012 at 10:07 AM, Randall Morganwrote: > > > >> I too often develop on my laptop with no internet access. And it is > >> very frustrating when you have no documentation to refer to. > >> > >> Writing a python crawler to extract the docs from the website and put it > >> into either local html or pdf files shouldn't be too difficult. we just > >> need an IDE hook to view the desired format. Can't you use the Gambas browser control and view the HTML/image files on the local hard disk? You don't need a web server for that. As long as your internal links use relative paths, it should work just fine. From demosthenesk at ...626... Thu Apr 19 11:29:05 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Thu, 19 Apr 2012 12:29:05 +0300 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <1334816668.2275.61.camel@...1833...> References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> <4F8FAC0C.3080701@...221...> <1334816668.2275.61.camel@...1833...> Message-ID: <4F8FDAE1.6090803@...626...> On 04/19/2012 09:24 AM, John Spikowski wrote: > On Thu, 2012-04-19 at 08:09 +0200, Rolf-Werner Eilert wrote: >> Could you explain this a bit more in detail? >> >> Thanks >> Rolf >> >> Am 18.04.2012 19:08, schrieb Randall Morgan: >>> Oh, I solved my offline document use with HTTtrack and simply copied the >>> site to my local hard drive. >>> >>> >>> On Wed, Apr 18, 2012 at 10:07 AM, Randall Morganwrote: >>> >>>> I too often develop on my laptop with no internet access. And it is >>>> very frustrating when you have no documentation to refer to. >>>> >>>> Writing a python crawler to extract the docs from the website and put it >>>> into either local html or pdf files shouldn't be too difficult. we just >>>> need an IDE hook to view the desired format. > Can't you use the Gambas browser control and view the HTML/image files > on the local hard disk? You don't need a web server for that. As long as > your internal links use relative paths, it should work just fine. > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user The wget command i wrote and every web copier like httptrack convert the links on every page to local relative links. So if you open the main index.html page locally all links are converted to local files you downloaded. From afroehlke at ...784... Thu Apr 19 15:51:54 2012 From: afroehlke at ...784... (=?iso-8859-1?Q?Andreas_Fr=F6hlke?=) Date: Thu, 19 Apr 2012 15:51:54 +0200 Subject: [Gambas-user] gambas3 library pathes Message-ID: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> Hello, we read in a forum, that gambas3 searches in 2 pathes for gambas libraries. Is there a way to add pathes or edit them? If not, is gambas3 searching recursively, so we can put our library in a subfolder? Regards Andreas Fr?hlke From rmorgan62 at ...626... Thu Apr 19 17:18:19 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 19 Apr 2012 08:18:19 -0700 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <4F8FDAE1.6090803@...626...> References: <20120417103347.6080.qmail@...2817...> <4F8E5F9D.1060606@...221...> <201204181633.39772.rterry@...1823...> <4F8E7C51.2070500@...626...> <4F8FAC0C.3080701@...221...> <1334816668.2275.61.camel@...1833...> <4F8FDAE1.6090803@...626...> Message-ID: HTTtrack can be used to download the docs from the web. As Demosthenes explained it simply copies the site to a local directory and modifies all links so they work locally. What is needed in the IDE is code to check at startup for a web connection and if it exists, use the online version. If it doesn't use the local version. Or you could give the user a configuration setting in the IDE to switch back and forth. I haven't checked but if the web pages contain a publishing date or version number one could use that to check for the latest version of the site. Again, you could also simply give the user a menu item in the IDE to download newer pages from the site. I don't have time at this moment to pursue this. In fact my work on the gsl component has stalled due to work demands. But I am trying to stay up to date by reading the posts here when I can. This is a feature that is truly needed in the IDE. I think a system could be developed that would minimize the efforts on both the documentation writers and Benoit if the system simply used the web content. Perhaps on the first run the program could ask if you want to download docs from the web. Visual Studio does this... On Thu, Apr 19, 2012 at 2:29 AM, Demosthenes Koptsis wrote: > On 04/19/2012 09:24 AM, John Spikowski wrote: > > On Thu, 2012-04-19 at 08:09 +0200, Rolf-Werner Eilert wrote: > >> Could you explain this a bit more in detail? > >> > >> Thanks > >> Rolf > >> > >> Am 18.04.2012 19:08, schrieb Randall Morgan: > >>> Oh, I solved my offline document use with HTTtrack and simply copied > the > >>> site to my local hard drive. > >>> > >>> > >>> On Wed, Apr 18, 2012 at 10:07 AM, Randall Morgan >wrote: > >>> > >>>> I too often develop on my laptop with no internet access. And it is > >>>> very frustrating when you have no documentation to refer to. > >>>> > >>>> Writing a python crawler to extract the docs from the website and put > it > >>>> into either local html or pdf files shouldn't be too difficult. we > just > >>>> need an IDE hook to view the desired format. > > Can't you use the Gambas browser control and view the HTML/image files > > on the local hard disk? You don't need a web server for that. As long as > > your internal links use relative paths, it should work just fine. > > > > > > > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > The wget command i wrote and every web copier like httptrack convert the > links on every page to local relative links. > So if you open the main index.html page locally all links are converted > to local files you downloaded. > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From sholzy2010 at ...43... Thu Apr 19 17:56:59 2012 From: sholzy2010 at ...43... (No Way) Date: Thu, 19 Apr 2012 08:56:59 -0700 (PDT) Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: Message-ID: <1334851019.66907.YahooMailClassic@...2821...> I have already created an "off line" documentation package 2 months ago. This was no small task as there are over 600 folders and over 9000 files for just the English version. You also need to change where the links point to, all 20000 of them. I posted on my forum about this back in February if anyone is interested. http://whiteislandsoftware.com/forum/index.php?page=topicview&id=g3-general%2Fgambas-3-offline-help#post_3952 From rmorgan62 at ...626... Thu Apr 19 18:01:49 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 19 Apr 2012 09:01:49 -0700 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: <1334851019.66907.YahooMailClassic@...2821...> References: <1334851019.66907.YahooMailClassic@...2821...> Message-ID: HTTtrack will change the links for you and download all the images and sample code if told to do so... But the size of the site is very large. It would be nice if it was compressed locally but I have a large hard drive so I didn't do that. It does take a long time to download the site even with a high speed connection. On Thu, Apr 19, 2012 at 8:56 AM, No Way wrote: > I have already created an "off line" documentation package 2 months ago. > This was no small task as there are over 600 folders and over 9000 files > for just the English version. You also need to change where the links point > to, all 20000 of them. > > I posted on my forum about this back in February if anyone is interested. > http://whiteislandsoftware.com/forum/index.php?page=topicview&id=g3-general%2Fgambas-3-offline-help#post_3952 > > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From trat50 at ...67... Thu Apr 19 19:01:46 2012 From: trat50 at ...67... (trat50) Date: Thu, 19 Apr 2012 10:01:46 -0700 (PDT) Subject: [Gambas-user] Grab command Message-ID: <33715676.post@...1379...> I would like some help the syntax of the Grab command. I want to save a DrawingArea as a png or jpg file. Would someone please post a short example. Thank you. -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33715676.html Sent from the gambas-user mailing list archive at Nabble.com. From rmorgan62 at ...626... Thu Apr 19 19:43:25 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 19 Apr 2012 10:43:25 -0700 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <1334851019.66907.YahooMailClassic@...2821...> Message-ID: Couldn't this be done simply running a simple web server as localhost on an unused port and downloading the site using a site copier like HTTtrack for the local version. Then simply allowing user to choose online or offline documentation via a menu item that simply choose the real domain or localhost: ? Sounds like it would be rather simple to implement as a starting point for off line docs. The user could then choose to update the local docs with a site copier or one could be written in Gambas or python to allow the docs to be updated. That would mean there would be no overhead for the documentation developers and only a onetime development effort for the local server. Just thinking out loud here.... On Thu, Apr 19, 2012 at 9:01 AM, Randall Morgan wrote: > HTTtrack will change the links for you and download all the images and > sample code if told to do so... But the size of the site is very large. It > would be nice if it was compressed locally but I have a large hard drive so > I didn't do that. It does take a long time to download the site even with a > high speed connection. > > > On Thu, Apr 19, 2012 at 8:56 AM, No Way wrote: > >> I have already created an "off line" documentation package 2 months ago. >> This was no small task as there are over 600 folders and over 9000 files >> for just the English version. You also need to change where the links point >> to, all 20000 of them. >> >> I posted on my forum about this back in February if anyone is interested. >> http://whiteislandsoftware.com/forum/index.php?page=topicview&id=g3-general%2Fgambas-3-offline-help#post_3952 >> >> >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From steve at ...2812... Thu Apr 19 23:06:46 2012 From: steve at ...2812... (Steve) Date: Thu, 19 Apr 2012 22:06:46 +0100 (GMT Daylight Time) Subject: [Gambas-user] Documentation Message-ID: <4F907E65.000009.05448@...2813...> Are there any docs to help.... To try out gambasforge example How to setup a gambas cgi webserver Steve From trat50 at ...67... Thu Apr 19 23:38:30 2012 From: trat50 at ...67... (trat50) Date: Thu, 19 Apr 2012 14:38:30 -0700 (PDT) Subject: [Gambas-user] Grab command In-Reply-To: <33715676.post@...1379...> References: <33715676.post@...1379...> Message-ID: <33717170.post@...1379...> Here is what I tried: PUBLIC SUB ToggleButton1_Click() 'The SAVE CALENDAR button DIM HolyCal AS NEW Picture Sky.Grab().Image.Save("HolyCal.jpg") The DrawingArea named "Sky" is saved... ...but the bottom of the picture (that is too tall for the monitor) is blacked out. http://old.nabble.com/file/p33717170/HolyCal.jpg -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33717170.html Sent from the gambas-user mailing list archive at Nabble.com. From trat50 at ...67... Fri Apr 20 01:54:01 2012 From: trat50 at ...67... (trat50) Date: Thu, 19 Apr 2012 16:54:01 -0700 (PDT) Subject: [Gambas-user] Grab command In-Reply-To: <33717170.post@...1379...> References: <33715676.post@...1379...> <33717170.post@...1379...> Message-ID: <33717699.post@...1379...> I found this older post that deals with the same problem... ...this sounds like it would work - but how does one do this? Is this just a matter of copying the DrawingArea to a PictureBox? (Bj?rn R?der - are you still here?) Bj?rn R?der wrote: > > Hello everyone! > > I found the solution for my problem. I use a Picturebox instead of a > Drawingarea and synchronize it with the internal picture that I'm > drawing to (as drawing device). It gives me the same functionality with > only little more work. > > Regards, > Bj?rn > > > Bj?rn R?der schrieb: >> Hello everyone! >> >> I am experiencing problems when I am trying to save a Drawingarea to a >> file. I have loaded a scanned picture inside the Drawingarea. The >> Drawingarea itself is placed inside a Scrollview. >> When the area of the image is greater than the scrollview, >> only the visible part of the screen is saved correctly. >> >> Regards, >> Bj?rn >> ------------------------------------------------------------------------------ > -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33717699.html Sent from the gambas-user mailing list archive at Nabble.com. From abbat.81 at ...787... Fri Apr 20 12:13:56 2012 From: abbat.81 at ...787... (abbat) Date: Fri, 20 Apr 2012 03:13:56 -0700 (PDT) Subject: [Gambas-user] How to "Me.Close" with "Shell" or "Exec"? Message-ID: <33719245.post@...1379...> Hi, Public Sub Form_Open() Dim a As String = 4 Dim b As String = 4 If a > b Then Else 'Shell "ls" Exec ["ls"] Me.Close Endif End How to "Me.Close" Thanks -- View this message in context: http://old.nabble.com/How-to-%22Me.Close%22-with-%22Shell%22-or-%22Exec%22--tp33719245p33719245.html Sent from the gambas-user mailing list archive at Nabble.com. From adamnt42 at ...626... Fri Apr 20 12:53:11 2012 From: adamnt42 at ...626... (GMail) Date: Fri, 20 Apr 2012 20:23:11 +0930 Subject: [Gambas-user] How to "Me.Close" with "Shell" or "Exec"? In-Reply-To: <33719245.post@...1379...> References: <33719245.post@...1379...> Message-ID: <1334919191.17291.21.camel@...2688...> On Fri, 2012-04-20 at 03:13 -0700, abbat wrote: > Hi, > > Public Sub Form_Open() > Dim a As String = 4 > Dim b As String = 4 > > If a > b Then > > Else > 'Shell "ls" > Exec ["ls"] > Me.Close > Endif > End > > How to "Me.Close" > > Thanks > Removing irrelevant code, I get Public Sub Form_Open() If True then Exec ["ls"] Me.Close EndIf End or better Public Sub Form_Open() Exec ["ls"] Me.Close End both of which seem to execute perfectly well (i.e. as expected) here. Please explain your problem again. cheers Bruce From abbat.81 at ...787... Fri Apr 20 13:06:05 2012 From: abbat.81 at ...787... (abbat) Date: Fri, 20 Apr 2012 04:06:05 -0700 (PDT) Subject: [Gambas-user] How to "Me.Close" with "Shell" or "Exec"? In-Reply-To: <1334919191.17291.21.camel@...2688...> References: <33719245.post@...1379...> <1334919191.17291.21.camel@...2688...> Message-ID: <33719872.post@...1379...> It does not CLOSE. Just try F5 If True then Exec ["ls"] Me.Close EndIf DOES NOT CLOSE (you have to push "stop" button), AND: If True then 'Exec ["ls"] Me.Close EndIf WORKS GMail-79 wrote: > > On Fri, 2012-04-20 at 03:13 -0700, abbat wrote: >> Hi, >> >> Public Sub Form_Open() >> Dim a As String = 4 >> Dim b As String = 4 >> >> If a > b Then >> >> Else >> 'Shell "ls" >> Exec ["ls"] >> Me.Close >> Endif >> End >> >> How to "Me.Close" >> >> Thanks >> > Removing irrelevant code, I get > > Public Sub Form_Open() > > If True then > Exec ["ls"] > Me.Close > EndIf > > End > > or better > > Public Sub Form_Open() > > Exec ["ls"] > Me.Close > > End > > both of which seem to execute perfectly well (i.e. as expected) here. > > Please explain your problem again. > > cheers > Bruce > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/How-to-%22Me.Close%22-with-%22Shell%22-or-%22Exec%22--tp33719245p33719872.html Sent from the gambas-user mailing list archive at Nabble.com. From mohareve at ...626... Fri Apr 20 13:15:12 2012 From: mohareve at ...626... (M. Cs.) Date: Fri, 20 Apr 2012 13:15:12 +0200 Subject: [Gambas-user] How to "Me.Close" with "Shell" or "Exec"? In-Reply-To: <33719872.post@...1379...> References: <33719245.post@...1379...> <1334919191.17291.21.camel@...2688...> <33719872.post@...1379...> Message-ID: What about Quit instead Me.Close? 2012/4/20, abbat : > > It does not CLOSE. > Just try F5 > > If True then > Exec ["ls"] > Me.Close > EndIf > > DOES NOT CLOSE (you have to push "stop" button), AND: > > If True then > 'Exec ["ls"] > Me.Close > EndIf > > WORKS > > > > > GMail-79 wrote: >> >> On Fri, 2012-04-20 at 03:13 -0700, abbat wrote: >>> Hi, >>> >>> Public Sub Form_Open() >>> Dim a As String = 4 >>> Dim b As String = 4 >>> >>> If a > b Then >>> >>> Else >>> 'Shell "ls" >>> Exec ["ls"] >>> Me.Close >>> Endif >>> End >>> >>> How to "Me.Close" >>> >>> Thanks >>> >> Removing irrelevant code, I get >> >> Public Sub Form_Open() >> >> If True then >> Exec ["ls"] >> Me.Close >> EndIf >> >> End >> >> or better >> >> Public Sub Form_Open() >> >> Exec ["ls"] >> Me.Close >> >> End >> >> both of which seem to execute perfectly well (i.e. as expected) here. >> >> Please explain your problem again. >> >> cheers >> Bruce >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > -- > View this message in context: > http://old.nabble.com/How-to-%22Me.Close%22-with-%22Shell%22-or-%22Exec%22--tp33719245p33719872.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From abbat.81 at ...787... Fri Apr 20 13:23:21 2012 From: abbat.81 at ...787... (abbat) Date: Fri, 20 Apr 2012 04:23:21 -0700 (PDT) Subject: [Gambas-user] How to "Me.Close" with "Shell" or "Exec"? In-Reply-To: References: <33719245.post@...1379...> <1334919191.17291.21.camel@...2688...> <33719872.post@...1379...> Message-ID: <33719937.post@...1379...> Thank you very very very much )) Now it works as i need. minthaka wrote: > > What about Quit instead Me.Close? > > 2012/4/20, abbat : >> >> It does not CLOSE. >> Just try F5 >> >> If True then >> Exec ["ls"] >> Me.Close >> EndIf >> >> DOES NOT CLOSE (you have to push "stop" button), AND: >> >> If True then >> 'Exec ["ls"] >> Me.Close >> EndIf >> >> WORKS >> >> >> >> >> GMail-79 wrote: >>> >>> On Fri, 2012-04-20 at 03:13 -0700, abbat wrote: >>>> Hi, >>>> >>>> Public Sub Form_Open() >>>> Dim a As String = 4 >>>> Dim b As String = 4 >>>> >>>> If a > b Then >>>> >>>> Else >>>> 'Shell "ls" >>>> Exec ["ls"] >>>> Me.Close >>>> Endif >>>> End >>>> >>>> How to "Me.Close" >>>> >>>> Thanks >>>> >>> Removing irrelevant code, I get >>> >>> Public Sub Form_Open() >>> >>> If True then >>> Exec ["ls"] >>> Me.Close >>> EndIf >>> >>> End >>> >>> or better >>> >>> Public Sub Form_Open() >>> >>> Exec ["ls"] >>> Me.Close >>> >>> End >>> >>> both of which seem to execute perfectly well (i.e. as expected) here. >>> >>> Please explain your problem again. >>> >>> cheers >>> Bruce >>> >>> >>> ------------------------------------------------------------------------------ >>> For Developers, A Lot Can Happen In A Second. >>> Boundary is the first to Know...and Tell You. >>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >>> http://p.sf.net/sfu/Boundary-d2dvs2 >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/How-to-%22Me.Close%22-with-%22Shell%22-or-%22Exec%22--tp33719245p33719872.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/How-to-%22Me.Close%22-with-%22Shell%22-or-%22Exec%22--tp33719245p33719937.html Sent from the gambas-user mailing list archive at Nabble.com. From ea7dfh at ...2382... Fri Apr 20 13:58:21 2012 From: ea7dfh at ...2382... (Jesus) Date: Fri, 20 Apr 2012 13:58:21 +0200 Subject: [Gambas-user] Version mismatch Message-ID: <4F914F5D.2050201@...2382...> Hi Beno?t Recently you have created a new tag 3.1.1, but it seems it's not reflected in the version string returned by the runtime nor in the IDE. Did I miss something? Regards -- Jesus Guardon From tobiasboege01 at ...1601... Fri Apr 20 17:01:59 2012 From: tobiasboege01 at ...1601... (tobi) Date: Fri, 20 Apr 2012 17:01:59 +0200 Subject: [Gambas-user] Grab command In-Reply-To: <33715676.post@...1379...> References: <33715676.post@...1379...> Message-ID: <20120420150159.GA584@...2774...> On Thu, 19 Apr 2012, trat50 wrote: > > I would like some help the syntax of the Grab command. > I want to save a DrawingArea as a png or jpg file. > Would someone please post a short example. Thank you. > -- > View this message in context: http://old.nabble.com/Grab-command-tp33715676p33715676.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user If you are talking about GB2, you can do: DrawingArea.Grab().Save(Path, [Quality]) However, in GB3, the Grab method is entirely different. Refer to http://www.gambasdoc.org/help/comp/gb.qt4/control/grab?v3 Regards, Tobi From tobiasboege01 at ...1601... Fri Apr 20 17:07:20 2012 From: tobiasboege01 at ...1601... (tobi) Date: Fri, 20 Apr 2012 17:07:20 +0200 Subject: [Gambas-user] How to "Me.Close" with "Shell" or "Exec"? In-Reply-To: <33719937.post@...1379...> References: <33719245.post@...1379...> <1334919191.17291.21.camel@...2688...> <33719872.post@...1379...> <33719937.post@...1379...> Message-ID: <20120420150720.GB584@...2774...> On Fri, 20 Apr 2012, abbat wrote: > > Thank you very very very much )) > Now it works as i need. > > > > minthaka wrote: > > > > What about Quit instead Me.Close? > > > > 2012/4/20, abbat : > >> > >> It does not CLOSE. > >> Just try F5 > >> > >> If True then > >> Exec ["ls"] > >> Me.Close > >> EndIf > >> > >> DOES NOT CLOSE (you have to push "stop" button), AND: > >> > >> If True then > >> 'Exec ["ls"] > >> Me.Close > >> EndIf > >> > >> WORKS > >> > >> > >> > >> > >> GMail-79 wrote: > >>> > >>> On Fri, 2012-04-20 at 03:13 -0700, abbat wrote: > >>>> Hi, > >>>> > >>>> Public Sub Form_Open() > >>>> Dim a As String = 4 > >>>> Dim b As String = 4 > >>>> > >>>> If a > b Then > >>>> > >>>> Else > >>>> 'Shell "ls" > >>>> Exec ["ls"] > >>>> Me.Close > >>>> Endif > >>>> End > >>>> > >>>> How to "Me.Close" > >>>> > >>>> Thanks > >>>> > >>> Removing irrelevant code, I get > >>> > >>> Public Sub Form_Open() > >>> > >>> If True then > >>> Exec ["ls"] > >>> Me.Close > >>> EndIf > >>> > >>> End > >>> > >>> or better > >>> > >>> Public Sub Form_Open() > >>> > >>> Exec ["ls"] > >>> Me.Close > >>> > >>> End > >>> > >>> both of which seem to execute perfectly well (i.e. as expected) here. > >>> > >>> Please explain your problem again. > >>> > >>> cheers > >>> Bruce > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> For Developers, A Lot Can Happen In A Second. > >>> Boundary is the first to Know...and Tell You. > >>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > >>> http://p.sf.net/sfu/Boundary-d2dvs2 > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >>> > >> > >> -- > >> View this message in context: > >> http://old.nabble.com/How-to-%22Me.Close%22-with-%22Shell%22-or-%22Exec%22--tp33719245p33719872.html > >> Sent from the gambas-user mailing list archive at Nabble.com. > >> > >> > >> ------------------------------------------------------------------------------ > >> For Developers, A Lot Can Happen In A Second. > >> Boundary is the first to Know...and Tell You. > >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > >> http://p.sf.net/sfu/Boundary-d2dvs2 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > View this message in context: http://old.nabble.com/How-to-%22Me.Close%22-with-%22Shell%22-or-%22Exec%22--tp33719245p33719937.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user One remark: According to http://www.gambasdoc.org/help/lang/quit you are strongly advised to not call Quit in a GUI application. From willy at ...2734... Fri Apr 20 17:18:41 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 20 Apr 2012 17:18:41 +0200 Subject: [Gambas-user] How to "Me.Close" with "Shell" or "Exec"? In-Reply-To: <20120420150720.GB584@...2774...> References: <33719245.post@...1379...> <1334919191.17291.21.camel@...2688...> <33719872.post@...1379...> <33719937.post@...1379...> <20120420150720.GB584@...2774...> Message-ID: <1334935121.2444.9.camel@...2735...> On vr, 2012-04-20 at 17:07 +0200, tobi wrote: > > > 2012/4/20, abbat : > > >> > > >> It does not CLOSE. > > >> Just try F5 > > >> > > >> If True then > > >> Exec ["ls"] > > >> Me.Close > > >> EndIf > > >> > > >> DOES NOT CLOSE (you have to push "stop" button), AND: > > >> > > >> If True then > > >> 'Exec ["ls"] > > >> Me.Close > > >> EndIf > > >> > > >> WORKS > > >> What version of Gambas are you on? 3.1 Because I had likewise problems with TRY Exec not closing correctly and they are fixed a revision, post 3.1. Fix will be in upcoming 3.1.1 release. Your problem might be caused by the same bug if your are on Gambas 3.1. I did not have this problem in Gambas 3.0 though. > > One remark: According to http://www.gambasdoc.org/help/lang/quit you are strongly advised to not > call Quit in a GUI application. I used quit as a work around as well for now until 3.1.1 gets released. Willy From trat50 at ...67... Fri Apr 20 17:28:53 2012 From: trat50 at ...67... (trat50) Date: Fri, 20 Apr 2012 08:28:53 -0700 (PDT) Subject: [Gambas-user] Grab command In-Reply-To: <20120420150159.GA584@...2774...> References: <33715676.post@...1379...> <20120420150159.GA584@...2774...> Message-ID: <33721340.post@...1379...> Hi Tobi, I just tried that - but it still blacks out anything not visible on the computer monitor. tobi-15 wrote: > > On Thu, 19 Apr 2012, trat50 wrote: >> >> I would like some help the syntax of the Grab command. >> I want to save a DrawingArea as a png or jpg file. >> Would someone please post a short example. Thank you. >> -- >> View this message in context: >> http://old.nabble.com/Grab-command-tp33715676p33715676.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > If you are talking about GB2, you can do: > > DrawingArea.Grab().Save(Path, [Quality]) > > However, in GB3, the Grab method is entirely different. Refer to > http://www.gambasdoc.org/help/comp/gb.qt4/control/grab?v3 > > Regards, > Tobi > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33721340.html Sent from the gambas-user mailing list archive at Nabble.com. From willy at ...2734... Fri Apr 20 17:34:16 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 20 Apr 2012 17:34:16 +0200 Subject: [Gambas-user] [Feature Request] Offline Documentation In-Reply-To: References: <1334851019.66907.YahooMailClassic@...2821...> Message-ID: <1334936056.2444.18.camel@...2735...> On do, 2012-04-19 at 10:43 -0700, Randall Morgan wrote: > Couldn't this be done simply running a simple web server as localhost on an > unused port and downloading the site using a site copier like HTTtrack for > the local version. Then simply allowing user to choose online or offline > documentation via a menu item that simply choose the real domain or > localhost: ? > > Sounds like it would be rather simple to implement as a starting point for > off line docs. The user could then choose to update the local docs with a > site copier or one could be written in Gambas or python to allow the docs > to be updated. That would mean there would be no overhead for the > documentation developers and only a onetime development effort for the > local server. > > Just thinking out loud here.... I very much like your loud thoughts here :-) They way you explain it, it should indeed no be that hard to implement it into Gambas. All it takes is some manner to tell the IDE where to find the local files. And if downloading the documentation would be part of the IDE, it would know where the files are and it could even determine what files to use on the state of being online or offline. And when online some version check to update local files would be off importance. Good to know about the existence of HHTPtrack. At least now I can download the documentation without much trouble and use my local webserver to publish it:-) Willy From willy at ...2734... Fri Apr 20 17:37:44 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 20 Apr 2012 17:37:44 +0200 Subject: [Gambas-user] Documentation In-Reply-To: <4F907E65.000009.05448@...2813...> References: <4F907E65.000009.05448@...2813...> Message-ID: <1334936264.2444.20.camel@...2735...> On do, 2012-04-19 at 22:06 +0100, Steve wrote: > Are there any docs to help.... > > > > To try out gambasforge example > > How to setup a gambas cgi webserver > > > > Steve All I could find is this: http://gambasdoc.org/help/doc/serverpage?view I would love to find some good example on how to set it up all Willy From willy at ...2734... Fri Apr 20 17:43:26 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 20 Apr 2012 17:43:26 +0200 Subject: [Gambas-user] gambas3 library pathes In-Reply-To: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> References: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> Message-ID: <1334936606.2444.26.camel@...2735...> On do, 2012-04-19 at 15:51 +0200, Andreas Fr?hlke wrote: > Hello, > > we read in a forum, that gambas3 searches in 2 pathes for gambas libraries. Is there a way to add pathes or edit them? If not, is gambas3 searching recursively, so we can put our library in a subfolder? > Hi Andreas, To use a Gambas3 library in a Gambas3 project you need to put an executable (example: mylib.gambas) in the main project folder. Open project and the go to menu Project -> Properties -> Tab: Libraries -> button: Add... Browse to your project folder and select the library. After this you can use it in your project. I don't know if Gambas allows to place the Gambas library in a subfolder. Never tried it. Willy From tobiasboege01 at ...1601... Fri Apr 20 17:46:34 2012 From: tobiasboege01 at ...1601... (tobi) Date: Fri, 20 Apr 2012 17:46:34 +0200 Subject: [Gambas-user] Grab command In-Reply-To: <33721340.post@...1379...> References: <33715676.post@...1379...> <20120420150159.GA584@...2774...> <33721340.post@...1379...> Message-ID: <20120420154634.GC584@...2774...> On Fri, 20 Apr 2012, trat50 wrote: > > Hi Tobi, I just tried that - but it still blacks out anything not visible on > the computer monitor. > > > tobi-15 wrote: > > > > If you are talking about GB2, you can do: > > > > DrawingArea.Grab().Save(Path, [Quality]) > > > > However, in GB3, the Grab method is entirely different. Refer to > > http://www.gambasdoc.org/help/comp/gb.qt4/control/grab?v3 > > > > Regards, > > Tobi > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > View this message in context: http://old.nabble.com/Grab-command-tp33715676p33721340.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I assume that you are using GB2? I can't help you with that aspect of the routine, I don't want to bother myself with downloading the GB2 source tree just to look up how Control.Grab() works, there are people around here that can tell you from memory if you are patient ;) (In fact, I haven't read the other mails you sent before replying to your first one, sorry) A suggestion: It is often better to draw on a Picture object and put that into a DrawingArea for display only, as I never found a way to get the "internal Picture that is used by the DrawingArea" mentioned in the docs. (Perhaps I just didn't look at the right places or something, but if you can, you could go this way) Regards, Tobi From tobiasboege01 at ...1601... Fri Apr 20 17:52:04 2012 From: tobiasboege01 at ...1601... (tobi) Date: Fri, 20 Apr 2012 17:52:04 +0200 Subject: [Gambas-user] Documentation In-Reply-To: <1334936264.2444.20.camel@...2735...> References: <4F907E65.000009.05448@...2813...> <1334936264.2444.20.camel@...2735...> Message-ID: <20120420155204.GD584@...2774...> On Fri, 20 Apr 2012, Willy Raets wrote: > On do, 2012-04-19 at 22:06 +0100, Steve wrote: > > Are there any docs to help.... > > > > > > > > To try out gambasforge example > > > > How to setup a gambas cgi webserver > > > > > > > > Steve > > All I could find is this: > > http://gambasdoc.org/help/doc/serverpage?view > > I would love to find some good example on how to set it up all > > Willy > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I think, I already answered such a question and it was mainly about: We have a German paper on that topic (apache2 with gambas cgi on debian, if I remember correctly). If it is of any use for someone, I could try to locate it? From willy at ...2734... Fri Apr 20 18:04:49 2012 From: willy at ...2734... (Willy Raets) Date: Fri, 20 Apr 2012 18:04:49 +0200 Subject: [Gambas-user] Documentation In-Reply-To: <20120420155204.GD584@...2774...> References: <4F907E65.000009.05448@...2813...> <1334936264.2444.20.camel@...2735...> <20120420155204.GD584@...2774...> Message-ID: <1334937889.2444.28.camel@...2735...> On vr, 2012-04-20 at 17:52 +0200, tobi wrote: > I think, I already answered such a question and it was mainly about: We have a German paper on that > topic (apache2 with gambas cgi on debian, if I remember correctly). If it is of any use for someone, > I could try to locate it? I would love to see that paper. No problem if t would be in German. Willy From gambas at ...1... Fri Apr 20 18:21:31 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 20 Apr 2012 18:21:31 +0200 Subject: [Gambas-user] gambas3 library pathes In-Reply-To: <1334936606.2444.26.camel@...2735...> References: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> <1334936606.2444.26.camel@...2735...> Message-ID: <4F918D0B.4060709@...1...> Le 20/04/2012 17:43, Willy Raets a ?crit : > On do, 2012-04-19 at 15:51 +0200, Andreas Fr?hlke wrote: >> Hello, >> >> we read in a forum, that gambas3 searches in 2 pathes for gambas libraries. Is there a way to add pathes or edit them? If not, is gambas3 searching recursively, so we can put our library in a subfolder? >> > Hi Andreas, > > To use a Gambas3 library in a Gambas3 project you need to put an > executable (example: mylib.gambas) in the main project folder. > > Open project and the go to menu > Project -> Properties -> Tab: Libraries -> button: Add... > > Browse to your project folder and select the library. > After this you can use it in your project. > > I don't know if Gambas allows to place the Gambas library in a > subfolder. Never tried it. > > Willy > Aaarg... No! At runtime, a library must be put in the same directory as the project executable. *Not* and *never* inside the project source directory. At design time, (inside the IDE project property dialog), you must specify where the library is exactly, just to allow the IDE to load the symbol descriptions from it. Regards, -- Beno?t Minisini From steve at ...2812... Fri Apr 20 20:22:36 2012 From: steve at ...2812... (Steve) Date: Fri, 20 Apr 2012 19:22:36 +0100 (GMT Daylight Time) Subject: [Gambas-user] Documentation References: <4F907E65.000009.05448@...2813...> <1334936264.2444.20.camel@...2735...> <20120420155204.GD584@...2774...> Message-ID: <4F91A96C.00000E.04764@...2813...> Please -------Original Message------- From: tobi Date: 20/04/2012 16:55:03 To: willy at ...2734...; mailing list for gambas users Subject: Re: [Gambas-user] Documentation On Fri, 20 Apr 2012, Willy Raets wrote: > On do, 2012-04-19 at 22:06 +0100, Steve wrote: > > Are there any docs to help.... > > > > > > > > To try out gambasforge example > > > > How to setup a gambas cgi webserver > > > > > > > > Steve > > All I could find is this: > > http://gambasdoc.org/help/doc/serverpage?view > > I would love to find some good example on how to set it up all > > Willy > > > ----------------------------------------------------------------------------- > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I think, I already answered such a question and it was mainly about: We have a German paper on that topic (apache2 with gambas cgi on debian, if I remember correctly). If it is of any use for someone, I could try to locate it? ----------------------------------------------------------------------------- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From tobiasboege01 at ...1601... Fri Apr 20 20:34:30 2012 From: tobiasboege01 at ...1601... (tobi) Date: Fri, 20 Apr 2012 20:34:30 +0200 Subject: [Gambas-user] Documentation In-Reply-To: <4F91A96C.00000E.04764@...2813...> References: <4F907E65.000009.05448@...2813...> <1334936264.2444.20.camel@...2735...> <20120420155204.GD584@...2774...> <4F91A96C.00000E.04764@...2813...> Message-ID: <20120420183430.GG584@...2774...> On Fri, 20 Apr 2012, Steve wrote: > > Please > > I think, I already answered such a question and it was mainly about: We have > a German paper on that > > topic (apache2 with gambas cgi on debian, if I remember correctly). If it is > of any use for someone, > > I could try to locate it? > > > > ----------------------------------------------------------------------------- > > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user O.k., now I know why I sent the archive directly to Ron last time: It's approx. 1.2MiB in size and - reasonably - the mailinglist is tuned down to attachments of 512KiB. For I don't want to bother some moderator nor take up more space than required, you get another email. For those also seeking for the paper, I will push Hans to put it on http://www.gambas-buch.de/. Regards, Tobi From gambas at ...1... Fri Apr 20 22:17:07 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 20 Apr 2012 22:17:07 +0200 Subject: [Gambas-user] Version mismatch In-Reply-To: <4F914F5D.2050201@...2382...> References: <4F914F5D.2050201@...2382...> Message-ID: <4F91C443.3000409@...1...> Le 20/04/2012 13:58, Jesus a ?crit : > Hi Beno?t > > Recently you have created a new tag 3.1.1, but it seems it's not > reflected in the version string returned by the runtime nor in the IDE. > > Did I miss something? > > Regards Fixed in revision #4642. -- Beno?t Minisini From trat50 at ...67... Sat Apr 21 02:37:03 2012 From: trat50 at ...67... (trat50) Date: Fri, 20 Apr 2012 17:37:03 -0700 (PDT) Subject: [Gambas-user] Grab command In-Reply-To: <20120420154634.GC584@...2774...> References: <33715676.post@...1379...> <20120420150159.GA584@...2774...> <33721340.post@...1379...> <20120420154634.GC584@...2774...> Message-ID: <33723445.post@...1379...> Thanks Tobi, Yes you are correct - this is on Gambas2. I'll have to try that on a PictureBox. Initially I had everything for this app on a PictureBox, but I didn't know how to draw on those. I'll see what I can find in the texts, or maybe someone will chime in. tobi-15 wrote: > > On Fri, 20 Apr 2012, trat50 wrote: >> >> Hi Tobi, I just tried that - but it still blacks out anything not visible >> on >> the computer monitor. >> >> >> tobi-15 wrote: >> > >> > If you are talking about GB2, you can do: >> > >> > DrawingArea.Grab().Save(Path, [Quality]) >> > >> > However, in GB3, the Grab method is entirely different. Refer to >> > http://www.gambasdoc.org/help/comp/gb.qt4/control/grab?v3 >> > >> > Regards, >> > Tobi >> > >> > >> ------------------------------------------------------------------------------ >> > For Developers, A Lot Can Happen In A Second. >> > Boundary is the first to Know...and Tell You. >> > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> > http://p.sf.net/sfu/Boundary-d2dvs2 >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/Grab-command-tp33715676p33721340.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > I assume that you are using GB2? I can't help you with that aspect of the > routine, I don't want to > bother myself with downloading the GB2 source tree just to look up how > Control.Grab() works, there > are people around here that can tell you from memory if you are patient ;) > (In fact, I haven't read the other mails you sent before replying to your > first one, sorry) > > A suggestion: It is often better to draw on a Picture object and put that > into a DrawingArea for > display only, as I never found a way to get the "internal Picture that is > used by the DrawingArea" > mentioned in the docs. (Perhaps I just didn't look at the right places or > something, but if you can, > you could go this way) > > Regards, > Tobi > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33723445.html Sent from the gambas-user mailing list archive at Nabble.com. From willy at ...2734... Sat Apr 21 04:17:54 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 21 Apr 2012 04:17:54 +0200 Subject: [Gambas-user] gambas3 library pathes In-Reply-To: <4F918D0B.4060709@...1...> References: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> <1334936606.2444.26.camel@...2735...> <4F918D0B.4060709@...1...> Message-ID: <1334974674.2444.64.camel@...2735...> On vr, 2012-04-20 at 18:21 +0200, Beno?t Minisini wrote: > Le 20/04/2012 17:43, Willy Raets a ?crit : > > To use a Gambas3 library in a Gambas3 project you need to put an > > executable (example: mylib.gambas) in the main project folder. > > Aaarg... No! > > At runtime, a library must be put in the same directory as the project > executable. *Not* and *never* inside the project source directory. This explains a lot to me, thanks. Is this documented anywhere, because I can't find it. > > At design time, (inside the IDE project property dialog), you must > specify where the library is exactly, just to allow the IDE to load the > symbol descriptions from it. This is how I did it at design time. And it worked (at design time only when using debug-> run). It was based on an answer I got from this list: --quote question of me mailing list 22-02-2012-- > Now I read somewhere you need to make a gambas executable and place it > in the project folder of the project you want to use it. > > So I made an executable named it SysInfo.gambas > Placed it in the project folder of a project where I need the library > and then I get stuck. --quote answer on mailing list 22-02-2012-- That is for gambas3. For gambas2 (from memory) you just need to.... --end quotes-- I couldn't and still can't find documentation on how to use and distribute a library written in Gambas. Willy From support at ...2529... Sat Apr 21 04:32:16 2012 From: support at ...2529... (John Spikowski) Date: Fri, 20 Apr 2012 19:32:16 -0700 Subject: [Gambas-user] gambas3 library pathes In-Reply-To: <1334974674.2444.64.camel@...2735...> References: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> <1334936606.2444.26.camel@...2735...> <4F918D0B.4060709@...1...> <1334974674.2444.64.camel@...2735...> Message-ID: <1334975536.2313.3.camel@...1833...> On Sat, 2012-04-21 at 04:17 +0200, Willy Raets wrote: > I couldn't and still can't find documentation on how to use and > distribute a library written in Gambas. > > Willy It would be great if Gambas developed applications could be made available without the user of the application having to become a Gambas expert. From willy at ...2734... Sat Apr 21 06:36:38 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 21 Apr 2012 06:36:38 +0200 Subject: [Gambas-user] gambas3 library pathes In-Reply-To: <1334975536.2313.3.camel@...1833...> References: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> <1334936606.2444.26.camel@...2735...> <4F918D0B.4060709@...1...> <1334974674.2444.64.camel@...2735...> <1334975536.2313.3.camel@...1833...> Message-ID: <1334982998.2444.91.camel@...2735...> On vr, 2012-04-20 at 19:32 -0700, John Spikowski wrote: > On Sat, 2012-04-21 at 04:17 +0200, Willy Raets wrote: > > > I couldn't and still can't find documentation on how to use and > > distribute a library written in Gambas. > > > > Willy > > It would be great if Gambas developed applications could be made > available without the user of the application having to become a Gambas > expert. > That is exactly the trouble. I would like to distribute a Gambas3 application to end users. The application uses a library built in Gambas3. How do I package so all works for the end user upon install. I have tried all kinds of ways, looked all over the net and came up with nothing. I've been on this for months now starting of with a component later trying it as a library :-( Having a library works great for me as a developer, no problem. But that is where it ends on my PC and not where I want it on the end user PC, who has no IDE and is no developer. Even when I put the gambas executable being the library in /usr/bin. When I package an application that uses this library (with this path) that runs fine in debug run, and install it on the same system it won't install because it can't find the depended library!!(excuse me but that library is right there in the /usr/bin and never moved at all!!) Tried it as a component and installing the component on the system for development gives no problem. Using it on the development system in applications I develop, no sweat. But then try distributing the application using the component. Another hell I haven't managed to get through. Packaging the component, installing it on the target PC and then installing the application that requires the component always end up the installation not being able to install because the required component (that is already installed on the system) can't be found !!! Dependencies...dependencies...all installed on the system but never to be found by the installation mechanism somehow or I am completely misunderstanding the whole mechanism because of a lack of descent documentation on the matter. A simple 'how to' with some general steps would probably do the trick... From gambas at ...2524... Sat Apr 21 11:14:24 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 09:14:24 +0000 Subject: [Gambas-user] Issue 240 in gambas: CheckBox Tristate View on Runtime In-Reply-To: <0-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Comment #1 on issue 240 by kmanja... at ...626...: CheckBox Tristate View on Runtime http://code.google.com/p/gambas/issues/detail?id=240 PROBLEM SOLVED On, Project -> Properties... -> Environment -> Environment variables Insert: Variable = GB_GUI Value = gb.qt4 The solution was available on the GameOfLife example Gambas Game source code. From gambas at ...2524... Sat Apr 21 15:17:01 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 13:17:01 +0000 Subject: [Gambas-user] Issue 237 in gambas: Grey DrawingArea on Form_Open In-Reply-To: <0-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 237 by benoit.m... at ...626...: Grey DrawingArea on Form_Open http://code.google.com/p/gambas/issues/detail?id=237 I have no idea what your program does and what to do to reproduce the bug. Please give more details! From gambas at ...2524... Sat Apr 21 15:44:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 13:44:38 +0000 Subject: [Gambas-user] Issue 238 in gambas: tableview.SelectAll doesn't seem to work In-Reply-To: <0-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 238 by benoit.m... at ...626...: tableview.SelectAll doesn't seem to work http://code.google.com/p/gambas/issues/detail?id=238 (No comment was entered for this change.) From gambas at ...2524... Sat Apr 21 15:46:28 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 13:46:28 +0000 Subject: [Gambas-user] Issue 238 in gambas: tableview.SelectAll doesn't seem to work In-Reply-To: <1-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> <0-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 238 by benoit.m... at ...626...: tableview.SelectAll doesn't seem to work http://code.google.com/p/gambas/issues/detail?id=238 Fixed in revision #4650. From gambas at ...2524... Sat Apr 21 15:48:39 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 13:48:39 +0000 Subject: [Gambas-user] Issue 239 in gambas: Hide columns in tableview In-Reply-To: <0-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 239 by benoit.m... at ...626...: Hide columns in tableview http://code.google.com/p/gambas/issues/detail?id=239 You can set the width of a column to zero. But the minimum width keeps being 1 pixel, which should make the column not visible except its right border grid. From gambas at ...2524... Sat Apr 21 15:51:30 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 13:51:30 +0000 Subject: [Gambas-user] Issue 240 in gambas: CheckBox Tristate View on Runtime In-Reply-To: <1-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> <0-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #2 on issue 240 by benoit.m... at ...626...: CheckBox Tristate View on Runtime http://code.google.com/p/gambas/issues/detail?id=240 Not really, as you changed the GUI component. I guess that you used gb.gtk indirectly (this is the default with XFCE), and that it may be a problem in the GTK+ widget theme. So can you try other GTK+ widget themes, remove the "GB_GUI=gb.qt4" environment variable, and see if the tristate check box is correctly drawn? Thanks in advance. From vuott at ...325... Sat Apr 21 15:39:51 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 21 Apr 2012 14:39:51 +0100 (BST) Subject: [Gambas-user] svn: Failed to add directory.... Message-ID: <1335015591.86493.YahooMailClassic@...2748...> Hello, today I was updating my Gambas 3 and I received an error notice: $ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ U trunk/app/other/MakeWebSite/gambas.sourceforge.net/home.html U trunk/app/other/MakeWebSite/.src/MMain.module U trunk/app/other/MakeWebSite/.settings U trunk/app/src/gambas3/.lang/.pot U trunk/app/src/gambas3/.src/Component/CComponent.class svn: Failed to add directory 'trunk/gb.xml': an unversioned directory of the same name already exists ???? It's first time I receive tihis notice ! What do I have to do ? Regrds Vuotttt From gambas at ...2524... Sat Apr 21 15:53:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 13:53:10 +0000 Subject: [Gambas-user] Issue 240 in gambas: CheckBox Tristate View on Runtime In-Reply-To: <2-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> <0-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #3 on issue 240 by benoit.m... at ...626...: CheckBox Tristate View on Runtime http://code.google.com/p/gambas/issues/detail?id=240 (No comment was entered for this change.) From gambas at ...2524... Sat Apr 21 15:54:50 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 13:54:50 +0000 Subject: [Gambas-user] Issue 239 in gambas: Hide columns in tableview In-Reply-To: <1-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> <0-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #2 on issue 239 by benoit.m... at ...626...: Hide columns in tableview http://code.google.com/p/gambas/issues/detail?id=239 (No comment was entered for this change.) From gambas at ...2524... Sat Apr 21 15:56:30 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 13:56:30 +0000 Subject: [Gambas-user] Issue 237 in gambas: Grey DrawingArea on Form_Open In-Reply-To: <1-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> <0-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #2 on issue 237 by benoit.m... at ...626...: Grey DrawingArea on Form_Open http://code.google.com/p/gambas/issues/detail?id=237 ...anyway I got the same bug with the GameOfLife example. From gambas at ...2524... Sat Apr 21 16:05:07 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 14:05:07 +0000 Subject: [Gambas-user] Issue 237 in gambas: Grey DrawingArea on Form_Open In-Reply-To: <2-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> <0-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #3 on issue 237 by benoit.m... at ...626...: Grey DrawingArea on Form_Open http://code.google.com/p/gambas/issues/detail?id=237 It should be fixed in revision #4651. Can you confirm? From tobiasboege01 at ...1601... Sat Apr 21 18:02:29 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 21 Apr 2012 18:02:29 +0200 Subject: [Gambas-user] Grab command In-Reply-To: <33723445.post@...1379...> References: <33715676.post@...1379...> <20120420150159.GA584@...2774...> <33721340.post@...1379...> <20120420154634.GC584@...2774...> <33723445.post@...1379...> Message-ID: <20120421160229.GB581@...2774...> On Fri, 20 Apr 2012, trat50 wrote: > > Thanks Tobi, Yes you are correct - this is on Gambas2. > I'll have to try that on a PictureBox. Initially I had everything for this > app on a PictureBox, but I didn't know how to draw on those. I'll see what > I can find in the texts, or maybe someone will chime in. > > > tobi-15 wrote: > > > > On Fri, 20 Apr 2012, trat50 wrote: > >> > >> Hi Tobi, I just tried that - but it still blacks out anything not visible > >> on > >> the computer monitor. > >> > >> > >> tobi-15 wrote: > >> > > >> > If you are talking about GB2, you can do: > >> > > >> > DrawingArea.Grab().Save(Path, [Quality]) > >> > > >> > However, in GB3, the Grab method is entirely different. Refer to > >> > http://www.gambasdoc.org/help/comp/gb.qt4/control/grab?v3 > >> > > >> > Regards, > >> > Tobi > >> > > >> > > >> ------------------------------------------------------------------------------ > >> > For Developers, A Lot Can Happen In A Second. > >> > Boundary is the first to Know...and Tell You. > >> > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > >> > http://p.sf.net/sfu/Boundary-d2dvs2 > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://old.nabble.com/Grab-command-tp33715676p33721340.html > >> Sent from the gambas-user mailing list archive at Nabble.com. > >> > >> > >> ------------------------------------------------------------------------------ > >> For Developers, A Lot Can Happen In A Second. > >> Boundary is the first to Know...and Tell You. > >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > >> http://p.sf.net/sfu/Boundary-d2dvs2 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > I assume that you are using GB2? I can't help you with that aspect of the > > routine, I don't want to > > bother myself with downloading the GB2 source tree just to look up how > > Control.Grab() works, there > > are people around here that can tell you from memory if you are patient ;) > > (In fact, I haven't read the other mails you sent before replying to your > > first one, sorry) > > > > A suggestion: It is often better to draw on a Picture object and put that > > into a DrawingArea for > > display only, as I never found a way to get the "internal Picture that is > > used by the DrawingArea" > > mentioned in the docs. (Perhaps I just didn't look at the right places or > > something, but if you can, > > you could go this way) > > > > Regards, > > Tobi > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > View this message in context: http://old.nabble.com/Grab-command-tp33715676p33723445.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user It's quite easy to draw on a DrawingArea. You have to take the DrawgingArea as a drawing device: Draw.Begin(DrawingArea) Draw.Picture(myPicture) Draw.End() (typed from scratch, no warranty, but it should be close to these lines) From gambas at ...2524... Sat Apr 21 20:02:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 18:02:46 +0000 Subject: [Gambas-user] Issue 236 in gambas: gb.net.curl fails to connect using https In-Reply-To: <3-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> <0-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #4 on issue 236 by benoit.m... at ...626...: gb.net.curl fails to connect using https http://code.google.com/p/gambas/issues/detail?id=236 (No comment was entered for this change.) From Karl.Reinl at ...2345... Sat Apr 21 21:16:08 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 21 Apr 2012 21:16:08 +0200 Subject: [Gambas-user] svn: Failed to add directory.... In-Reply-To: <1335015591.86493.YahooMailClassic@...2748...> References: <1335015591.86493.YahooMailClassic@...2748...> Message-ID: <1335035768.3651.19.camel@...40...> Am Samstag, den 21.04.2012, 14:39 +0100 schrieb Ru Vuott: > Hello, > > today I was updating my Gambas 3 and I received an error notice: > > $ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ > U trunk/app/other/MakeWebSite/gambas.sourceforge.net/home.html > U trunk/app/other/MakeWebSite/.src/MMain.module > U trunk/app/other/MakeWebSite/.settings > U trunk/app/src/gambas3/.lang/.pot > U trunk/app/src/gambas3/.src/Component/CComponent.class > svn: Failed to add directory 'trunk/gb.xml': an unversioned directory of the same name already exists > > > ???? It's first time I receive tihis notice ! > > What do I have to do ? > > Regrds > Vuotttt Salut, just delete the gb.xml directory. There is no risk for you in any case. If it was wrong to delete it, svn will replace it with the old files, if it was ok it will replace it with the new files. If everything work at the end ... I don't know if you use XML then every thing should work. -- Amicalement Charlie From karl.reinl at ...9... Sat Apr 21 21:34:55 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 21 Apr 2012 21:34:55 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml Message-ID: <1335036895.3651.32.camel@...40...> Salut Beno?t, the new gb.xml broke my project which used before gb.xml and gb.xml.xslt. As I can see, you wrote a gambas component also called gb.xml, which replaced the old. Now I struggle at xml.FromString() where xml is a XmlDocument, while you forgot FromString, hope ther are not others. -- Amicalement Charlie From tobiasboege01 at ...1601... Sat Apr 21 21:35:49 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 21 Apr 2012 21:35:49 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1335036895.3651.32.camel@...40...> References: <1335036895.3651.32.camel@...40...> Message-ID: <20120421193549.GG581@...2774...> On Sat, 21 Apr 2012, Karl Reinl wrote: > Salut Beno?t, > > the new gb.xml broke my project which used before gb.xml and > gb.xml.xslt. > As I can see, you wrote a gambas component also called gb.xml, which > replaced the old. > Now I struggle at xml.FromString() where xml is a XmlDocument, while you > forgot FromString, hope ther are not others. > > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user If I am correct, the component gb.libxml is what you used before and kept for compatibility. From Karl.Reinl at ...2345... Sat Apr 21 22:05:37 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 21 Apr 2012 22:05:37 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <20120421193549.GG581@...2774...> References: <1335036895.3651.32.camel@...40...> <20120421193549.GG581@...2774...> Message-ID: <1335038737.3651.46.camel@...40...> Am Samstag, den 21.04.2012, 21:35 +0200 schrieb tobi: > On Sat, 21 Apr 2012, Karl Reinl wrote: > > Salut Beno?t, > > > > the new gb.xml broke my project which used before gb.xml and > > gb.xml.xslt. > > As I can see, you wrote a gambas component also called gb.xml, which > > replaced the old. > > Now I struggle at xml.FromString() where xml is a XmlDocument, while you > > forgot FromString, hope ther are not others. > > > > -- > > Amicalement > > Charlie > > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > If I am correct, the component gb.libxml is what you used before and kept for compatibility. Salut, no, sorry for that, Iv to investigate that, and it is not xml.FromString(). No, Tobi I always used gb.xml and gb.xml.xslt. I used it in gambas1 and gambas2 and gambas3. In gambas3, yesterday at about 03:01:49 with Revision: 4640 gb.libxml came up by replacing gb.xml for making place to gb.xml 22h later. -- Amicalement Charlie From adrien.prokopowicz at ...626... Sat Apr 21 21:19:36 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 21 Apr 2012 21:19:36 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1335036895.3651.32.camel@...40...> References: <1335036895.3651.32.camel@...40...> Message-ID: <1461566.rCgUqLg8vq@...2822...> Le samedi 21 avril 2012 21:34:55 Karl Reinl a ?crit : > Salut Beno?t, > > the new gb.xml broke my project which used before gb.xml and > gb.xml.xslt. > As I can see, you wrote a gambas component also called gb.xml, which > replaced the old. > Now I struggle at xml.FromString() where xml is a XmlDocument, while you > forgot FromString, hope ther are not others. Hi Karl, I don't really understand your problem with XmlDocument.FromString(). Could you be more precise please ? Have you got an error message ? From tobiasboege01 at ...1601... Sat Apr 21 22:18:32 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sat, 21 Apr 2012 22:18:32 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1335038737.3651.46.camel@...40...> References: <1335036895.3651.32.camel@...40...> <20120421193549.GG581@...2774...> <1335038737.3651.46.camel@...40...> Message-ID: <20120421201832.GH581@...2774...> On Sat, 21 Apr 2012, Charlie Reinl wrote: > Am Samstag, den 21.04.2012, 21:35 +0200 schrieb tobi: > > On Sat, 21 Apr 2012, Karl Reinl wrote: > > > Salut Beno?t, > > > > > > the new gb.xml broke my project which used before gb.xml and > > > gb.xml.xslt. > > > As I can see, you wrote a gambas component also called gb.xml, which > > > replaced the old. > > > Now I struggle at xml.FromString() where xml is a XmlDocument, while you > > > forgot FromString, hope ther are not others. > > > > > > -- > > > Amicalement > > > Charlie > > > > > > > > > ------------------------------------------------------------------------------ > > > For Developers, A Lot Can Happen In A Second. > > > Boundary is the first to Know...and Tell You. > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > If I am correct, the component gb.libxml is what you used before and kept for compatibility. > > Salut, > > no, sorry for that, Iv to investigate that, and it is not > xml.FromString(). > > No, Tobi I always used gb.xml and gb.xml.xslt. I used it in gambas1 and > gambas2 and gambas3. > In gambas3, yesterday at about 03:01:49 with Revision: 4640 gb.libxml > came up by replacing gb.xml for making place to gb.xml 22h later. > > > > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I can clearly see in gb.libxml/src/CXMLDocument.c that there is a FromString() routine. I personally never used that component and I'm sorry if I'm mistaken or misunderstood you. (As for gb.libxml.xslt and gb.libxml.rpc they seem to be removed, as indicated by the revision logs). Regards, Tobi From Karl.Reinl at ...2345... Sat Apr 21 22:48:09 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 21 Apr 2012 22:48:09 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <20120421201832.GH581@...2774...> References: <1335036895.3651.32.camel@...40...> <20120421193549.GG581@...2774...> <1335038737.3651.46.camel@...40...> <20120421201832.GH581@...2774...> Message-ID: <1335041289.3651.66.camel@...40...> Am Samstag, den 21.04.2012, 22:18 +0200 schrieb tobi: > On Sat, 21 Apr 2012, Charlie Reinl wrote: > > Am Samstag, den 21.04.2012, 21:35 +0200 schrieb tobi: > > > On Sat, 21 Apr 2012, Karl Reinl wrote: > > > > Salut Beno?t, > > > > > > > > the new gb.xml broke my project which used before gb.xml and > > > > gb.xml.xslt. > > > > As I can see, you wrote a gambas component also called gb.xml, which > > > > replaced the old. > > > > Now I struggle at xml.FromString() where xml is a XmlDocument, while you > > > > forgot FromString, hope ther are not others. > > > > > > > > -- > > > > Amicalement > > > > Charlie > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > For Developers, A Lot Can Happen In A Second. > > > > Boundary is the first to Know...and Tell You. > > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > If I am correct, the component gb.libxml is what you used before and kept for compatibility. > > > > Salut, > > > > no, sorry for that, Iv to investigate that, and it is not > > xml.FromString(). > > > > No, Tobi I always used gb.xml and gb.xml.xslt. I used it in gambas1 and > > gambas2 and gambas3. > > In gambas3, yesterday at about 03:01:49 with Revision: 4640 gb.libxml > > came up by replacing gb.xml for making place to gb.xml 22h later. > > > > > > > > -- > > Amicalement > > Charlie > > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > I can clearly see in gb.libxml/src/CXMLDocument.c that there is a FromString() routine. > I personally never used that component and I'm sorry if I'm mistaken or misunderstood you. > (As for gb.libxml.xslt and gb.libxml.rpc they seem to be removed, as indicated by the revision > logs). > > Regards, > Tobi > Salut Tobi ,Adrien, @Tobi as I said, in last posting, it is NOT FromString(). The Error message resumed say "bad formed XML-Document" and that raises at FromString(). Now I have to find out who made/have the parse error the new gb.xml or the old gb.xml. A saw the new one deals with DTD (maybe to strict), I haven't, so that's could be reason. @Adrien : j'ai cri? trop vite / I screamed too fast -- Amicalement Charlie From vuott at ...325... Sat Apr 21 23:07:43 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 21 Apr 2012 22:07:43 +0100 (BST) Subject: [Gambas-user] svn: Failed to add directory.... In-Reply-To: <1335035768.3651.19.camel@...40...> Message-ID: <1335042463.63049.YahooMailClassic@...2789...> Hello, I eliminated gb.xml folder; then I launched $ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ and it was OK. Thanks Vuotttt --- Sab 21/4/12, Charlie Reinl ha scritto: > Da: Charlie Reinl > Oggetto: Re: [Gambas-user] svn: Failed to add directory.... > A: "mailing list for gambas users" > Data: Sabato 21 Aprile 2012, 21:16 > Am Samstag, den 21.04.2012, 14:39 > +0100 schrieb Ru Vuott: > > Hello, > > > > today I was updating my Gambas 3 and I received an > error notice: > > > > $ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ > > U? ? > trunk/app/other/MakeWebSite/gambas.sourceforge.net/home.html > > U? ? > trunk/app/other/MakeWebSite/.src/MMain.module > > U? ? trunk/app/other/MakeWebSite/.settings > > U? ? trunk/app/src/gambas3/.lang/.pot > > U? ? > trunk/app/src/gambas3/.src/Component/CComponent.class > > svn: Failed to add directory 'trunk/gb.xml': an > unversioned directory of the same name already exists > > > > > > ????? It's first time I receive tihis notice ! > > > > What do I have to do ? > > > > Regrds > > Vuotttt > > Salut, > > just delete the gb.xml directory. > There is no risk for you in any case. > If it was wrong to delete it, svn will replace it with the > old files, if > it was ok it will replace it with the new files. > > If everything work at the end ... I don't know if you use > XML then every > thing should work. > > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it > FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Sat Apr 21 23:18:27 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 21 Apr 2012 23:18:27 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1461566.rCgUqLg8vq@...2822...> References: <1335036895.3651.32.camel@...40...> <1461566.rCgUqLg8vq@...2822...> Message-ID: <1335043107.3651.82.camel@...40...> Am Samstag, den 21.04.2012, 21:19 +0200 schrieb Adrien Prokopowicz: > Le samedi 21 avril 2012 21:34:55 Karl Reinl a ?crit : > > Salut Beno?t, > > > > the new gb.xml broke my project which used before gb.xml and > > gb.xml.xslt. > > As I can see, you wrote a gambas component also called gb.xml, which > > replaced the old. > > Now I struggle at xml.FromString() where xml is a XmlDocument, while you > > forgot FromString, hope ther are not others. > > Hi Karl, > > I don't really understand your problem with XmlDocument.FromString(). Could > you be more precise please ? > > Have you got an error message ? Salut, I found out, the new parser have problems with special chars. Try it with the attached xml. Dim Xml as New XmlDocument Xml.FromString("path to 'US-presidents-3.xml'") raise an error on special chars, or my box turne crazy. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: US-presidents-3.xml Type: application/xml Size: 5170 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Sat Apr 21 23:47:48 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 21 Apr 2012 23:47:48 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1335043107.3651.82.camel@...40...> References: <1335036895.3651.32.camel@...40...> <1461566.rCgUqLg8vq@...2822...> <1335043107.3651.82.camel@...40...> Message-ID: <51349070.iRY7U0rMYJ@...2823...> Le samedi 21 avril 2012 23:18:27 Charlie Reinl a ?crit : > Am Samstag, den 21.04.2012, 21:19 +0200 schrieb Adrien Prokopowicz: > > Le samedi 21 avril 2012 21:34:55 Karl Reinl a ?crit : > > > Salut Beno?t, > > > > > > the new gb.xml broke my project which used before gb.xml and > > > gb.xml.xslt. > > > As I can see, you wrote a gambas component also called gb.xml, which > > > replaced the old. > > > Now I struggle at xml.FromString() where xml is a XmlDocument, while you > > > forgot FromString, hope ther are not others. > > > > Hi Karl, > > > > I don't really understand your problem with XmlDocument.FromString(). > > Could > > you be more precise please ? > > > > Have you got an error message ? > > Salut, > > I found out, the new parser have problems with special chars. > > Try it with the attached xml. > > Dim Xml as New XmlDocument > Xml.FromString("path to 'US-presidents-3.xml'") > > raise an error on special chars, or my box turne crazy. Problems should be solved in revision #4652. From Karl.Reinl at ...2345... Sat Apr 21 23:54:55 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 21 Apr 2012 23:54:55 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <51349070.iRY7U0rMYJ@...2823...> References: <1335036895.3651.32.camel@...40...> <1461566.rCgUqLg8vq@...2822...> <1335043107.3651.82.camel@...40...> <51349070.iRY7U0rMYJ@...2823...> Message-ID: <1335045295.3651.84.camel@...40...> Am Samstag, den 21.04.2012, 23:47 +0200 schrieb Adrien Prokopowicz: > Le samedi 21 avril 2012 23:18:27 Charlie Reinl a ?crit : > > Am Samstag, den 21.04.2012, 21:19 +0200 schrieb Adrien Prokopowicz: > > > Le samedi 21 avril 2012 21:34:55 Karl Reinl a ?crit : > > > > Salut Beno?t, > > > > > > > > the new gb.xml broke my project which used before gb.xml and > > > > gb.xml.xslt. > > > > As I can see, you wrote a gambas component also called gb.xml, which > > > > replaced the old. > > > > Now I struggle at xml.FromString() where xml is a XmlDocument, while you > > > > forgot FromString, hope ther are not others. > > > > > > Hi Karl, > > > > > > I don't really understand your problem with XmlDocument.FromString(). > > > Could > > > you be more precise please ? > > > > > > Have you got an error message ? > > > > Salut, > > > > I found out, the new parser have problems with special chars. > > > > Try it with the attached xml. > > > > Dim Xml as New XmlDocument > > Xml.FromString("path to 'US-presidents-3.xml'") > > > > raise an error on special chars, or my box turne crazy. > > Problems should be solved in revision #4652. --------------------------8<----------------------------- Salut Adrien, dit you solve only the underline = _ or also other special chars like .- etc ? -- Amicalement Charlie From bbruen at ...2308... Sun Apr 22 00:20:54 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 22 Apr 2012 07:50:54 +0930 Subject: [Gambas-user] Rev 4651 compile error with gb.xml Message-ID: <1335046854.5751.4.camel@...2688...> reconfig-all completed OK configure -C completed OK make went well until the xml components ... Making all in gb.libxml make[2]: Entering directory `/home/bb/trunk/gb.libxml' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.libxml' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.libxml/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c -o main.lo main.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o mv -f .deps/main.Tpo .deps/main.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CXMLNode.lo -MD -MP -MF .deps/CXMLNode.Tpo -c -o CXMLNode.lo CXMLNode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CXMLNode.lo -MD -MP -MF .deps/CXMLNode.Tpo -c CXMLNode.c -fPIC -DPIC -o .libs/CXMLNode.o mv -f .deps/CXMLNode.Tpo .deps/CXMLNode.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CXMLReader.lo -MD -MP -MF .deps/CXMLReader.Tpo -c -o CXMLReader.lo CXMLReader.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CXMLReader.lo -MD -MP -MF .deps/CXMLReader.Tpo -c CXMLReader.c -fPIC -DPIC -o .libs/CXMLReader.o mv -f .deps/CXMLReader.Tpo .deps/CXMLReader.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CXMLWriter.lo -MD -MP -MF .deps/CXMLWriter.Tpo -c -o CXMLWriter.lo CXMLWriter.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CXMLWriter.lo -MD -MP -MF .deps/CXMLWriter.Tpo -c CXMLWriter.c -fPIC -DPIC -o .libs/CXMLWriter.o mv -f .deps/CXMLWriter.Tpo .deps/CXMLWriter.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CXMLDocument.lo -MD -MP -MF .deps/CXMLDocument.Tpo -c -o CXMLDocument.lo CXMLDocument.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -MT CXMLDocument.lo -MD -MP -MF .deps/CXMLDocument.Tpo -c CXMLDocument.c -fPIC -DPIC -o .libs/CXMLDocument.o mv -f .deps/CXMLDocument.Tpo .deps/CXMLDocument.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -module -o gb.libxml.la -rpath /usr/local/lib/gambas3 main.lo CXMLNode.lo CXMLReader.lo CXMLWriter.lo CXMLDocument.lo -lxml2 libtool: link: gcc -shared .libs/main.o .libs/CXMLNode.o .libs/CXMLReader.o .libs/CXMLWriter.o .libs/CXMLDocument.o /usr/lib/libxml2.so -ldl -lz -lm -Wl,-soname -Wl,gb.libxml.so.0 -o .libs/gb.libxml.so.0.0.0 libtool: link: (cd ".libs" && rm -f "gb.libxml.so.0" && ln -s "gb.libxml.so.0.0.0" "gb.libxml.so.0") libtool: link: (cd ".libs" && rm -f "gb.libxml.so" && ln -s "gb.libxml.so.0.0.0" "gb.libxml.so") libtool: link: ( cd ".libs" && rm -f "gb.libxml.la" && ln -s "../gb.libxml.la" "gb.libxml.la" ) make[4]: Leaving directory `/home/bb/trunk/gb.libxml/src' make[4]: Entering directory `/home/bb/trunk/gb.libxml' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/bb/trunk/gb.libxml' make[3]: Leaving directory `/home/bb/trunk/gb.libxml' make[2]: Leaving directory `/home/bb/trunk/gb.libxml' Making all in gb.xml make[2]: Entering directory `/home/bb/trunk/gb.xml' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.xml' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.xml/src' Making all in . make[5]: Entering directory `/home/bb/trunk/gb.xml/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -Wall -fexceptions -pedantic -Wextra -Woverloaded-virtual -Wfloat-equal -Wno-write-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wshadow -Wredundant-decls -Wdouble-promotion -Winit-self -Wswitch-default -Wswitch-enum -Wundef -Wlogical-op -Winline -Wno-missing-field-initializers -Wno-unused-parameter -g -ggdb -std=c ++0x -MT gb_xml_la-main.lo -MD -MP -MF .deps/gb_xml_la-main.Tpo -c -o gb_xml_la-main.lo `test -f 'main.cpp' || echo './'`main.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Wall -fexceptions -pedantic -Wextra -Woverloaded-virtual -Wfloat-equal -Wno-write-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wshadow -Wredundant-decls -Wdouble-promotion -Winit-self -Wswitch-default -Wswitch-enum -Wundef -Wlogical-op -Winline -Wno-missing-field-initializers -Wno-unused-parameter -g -ggdb -std=c ++0x -MT gb_xml_la-main.lo -MD -MP -MF .deps/gb_xml_la-main.Tpo -c main.cpp -fPIC -DPIC -o .libs/gb_xml_la-main.o cc1plus: error: unrecognized command line option "-Wdouble-promotion" make[5]: *** [gb_xml_la-main.lo] Error 1 make[5]: Leaving directory `/home/bb/trunk/gb.xml/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/bb/trunk/gb.xml/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/bb/trunk/gb.xml' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/bb/trunk/gb.xml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bb/trunk' make: *** [all] Error 2 From adrien.prokopowicz at ...626... Sun Apr 22 00:32:46 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 22 Apr 2012 00:32:46 +0200 Subject: [Gambas-user] Rev 4651 compile error with gb.xml In-Reply-To: <1335046854.5751.4.camel@...2688...> References: <1335046854.5751.4.camel@...2688...> Message-ID: <1446047.EyrYGrB2Kj@...2823...> Le dimanche 22 avril 2012 07:50:54 Bruce Bruen a ?crit : > reconfig-all completed OK > configure -C completed OK > make went well until the xml components ... > > Making all in gb.libxml > make[2]: Entering directory `/home/bb/trunk/gb.libxml' > make all-recursive > make[3]: Entering directory `/home/bb/trunk/gb.libxml' > Making all in src > make[4]: Entering directory `/home/bb/trunk/gb.libxml/src' > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -Os -MT main.lo -MD -MP > -MF .deps/main.Tpo -c -o main.lo main.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC > -o .libs/main.o > mv -f .deps/main.Tpo .deps/main.Plo > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -Os -MT CXMLNode.lo -MD -MP > -MF .deps/CXMLNode.Tpo -c -o CXMLNode.lo CXMLNode.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -MT CXMLNode.lo -MD -MP -MF .deps/CXMLNode.Tpo -c CXMLNode.c -fPIC > -DPIC -o .libs/CXMLNode.o > mv -f .deps/CXMLNode.Tpo .deps/CXMLNode.Plo > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -Os -MT CXMLReader.lo -MD -MP > -MF .deps/CXMLReader.Tpo -c -o CXMLReader.lo CXMLReader.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -MT CXMLReader.lo -MD -MP -MF .deps/CXMLReader.Tpo -c CXMLReader.c > -fPIC -DPIC -o .libs/CXMLReader.o > mv -f .deps/CXMLReader.Tpo .deps/CXMLReader.Plo > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -Os -MT CXMLWriter.lo -MD -MP > -MF .deps/CXMLWriter.Tpo -c -o CXMLWriter.lo CXMLWriter.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -MT CXMLWriter.lo -MD -MP -MF .deps/CXMLWriter.Tpo -c CXMLWriter.c > -fPIC -DPIC -o .libs/CXMLWriter.o > mv -f .deps/CXMLWriter.Tpo .deps/CXMLWriter.Plo > /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. > -I.. -I/usr/include/libxml2 -pipe -Wall -Wno-unused-value > -fsigned-char -fvisibility=hidden -g -Os -MT CXMLDocument.lo -MD -MP > -MF .deps/CXMLDocument.Tpo -c -o CXMLDocument.lo CXMLDocument.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -MT CXMLDocument.lo -MD -MP -MF .deps/CXMLDocument.Tpo -c CXMLDocument.c > -fPIC -DPIC -o .libs/CXMLDocument.o > mv -f .deps/CXMLDocument.Tpo .deps/CXMLDocument.Plo > /bin/sh ../libtool --tag=CC --mode=link gcc -pipe -Wall > -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -module > -o gb.libxml.la -rpath /usr/local/lib/gambas3 main.lo CXMLNode.lo > CXMLReader.lo CXMLWriter.lo CXMLDocument.lo -lxml2 > libtool: link: gcc > -shared .libs/main.o .libs/CXMLNode.o .libs/CXMLReader.o .libs/CXMLWriter.o > .libs/CXMLDocument.o /usr/lib/libxml2.so -ldl -lz -lm -Wl,-soname > -Wl,gb.libxml.so.0 -o .libs/gb.libxml.so.0.0.0 libtool: link: (cd ".libs" > && rm -f "gb.libxml.so.0" && ln -s > "gb.libxml.so.0.0.0" "gb.libxml.so.0") > libtool: link: (cd ".libs" && rm -f "gb.libxml.so" && ln -s > "gb.libxml.so.0.0.0" "gb.libxml.so") > libtool: link: ( cd ".libs" && rm -f "gb.libxml.la" && ln -s > "../gb.libxml.la" "gb.libxml.la" ) > make[4]: Leaving directory `/home/bb/trunk/gb.libxml/src' > make[4]: Entering directory `/home/bb/trunk/gb.libxml' > make[4]: Nothing to be done for `all-am'. > make[4]: Leaving directory `/home/bb/trunk/gb.libxml' > make[3]: Leaving directory `/home/bb/trunk/gb.libxml' > make[2]: Leaving directory `/home/bb/trunk/gb.libxml' > Making all in gb.xml > make[2]: Entering directory `/home/bb/trunk/gb.xml' > make all-recursive > make[3]: Entering directory `/home/bb/trunk/gb.xml' > Making all in src > make[4]: Entering directory `/home/bb/trunk/gb.xml/src' > Making all in . > make[5]: Entering directory `/home/bb/trunk/gb.xml/src' > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I.. -Wall -fexceptions -pedantic -Wextra -Woverloaded-virtual > -Wfloat-equal -Wno-write-strings -Wpointer-arith -Wcast-qual > -Wcast-align -Wconversion -Wshadow -Wredundant-decls -Wdouble-promotion > -Winit-self -Wswitch-default -Wswitch-enum -Wundef -Wlogical-op -Winline > -Wno-missing-field-initializers -Wno-unused-parameter -g -ggdb -std=c > ++0x -MT gb_xml_la-main.lo -MD -MP -MF .deps/gb_xml_la-main.Tpo -c -o > gb_xml_la-main.lo `test -f 'main.cpp' || echo './'`main.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Wall -fexceptions > -pedantic -Wextra -Woverloaded-virtual -Wfloat-equal -Wno-write-strings > -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wshadow > -Wredundant-decls -Wdouble-promotion -Winit-self -Wswitch-default > -Wswitch-enum -Wundef -Wlogical-op -Winline > -Wno-missing-field-initializers -Wno-unused-parameter -g -ggdb -std=c > ++0x -MT gb_xml_la-main.lo -MD -MP -MF .deps/gb_xml_la-main.Tpo -c > main.cpp -fPIC -DPIC -o .libs/gb_xml_la-main.o > cc1plus: error: unrecognized command line option "-Wdouble-promotion" > make[5]: *** [gb_xml_la-main.lo] Error 1 > make[5]: Leaving directory `/home/bb/trunk/gb.xml/src' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/bb/trunk/gb.xml/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/bb/trunk/gb.xml' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/bb/trunk/gb.xml' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/bb/trunk' > make: *** [all] Error 2 > > > > ---------------------------------------------------------------------------- > -- For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Does it work with the revision #4653 ? From adamnt42 at ...626... Sun Apr 22 01:05:25 2012 From: adamnt42 at ...626... (GMail) Date: Sun, 22 Apr 2012 08:35:25 +0930 Subject: [Gambas-user] Rev 4651 compile error with gb.xml In-Reply-To: <1446047.EyrYGrB2Kj@...2823...> References: <1335046854.5751.4.camel@...2688...> <1446047.EyrYGrB2Kj@...2823...> Message-ID: <1335049525.5751.5.camel@...2688...> On Sun, 2012-04-22 at 00:32 +0200, Adrien Prokopowicz wrote: > > Does it work with the revision #4653 ? > Yes, make completes OK now. Thanks Adrien From gambas at ...2524... Sun Apr 22 01:26:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 23:26:10 +0000 Subject: [Gambas-user] Issue 238 in gambas: tableview.SelectAll doesn't seem to work In-Reply-To: <2-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> <0-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-16351393157842145338-gambas=googlecode.com@...2524...> Comment #3 on issue 238 by adamn... at ...626...: tableview.SelectAll doesn't seem to work http://code.google.com/p/gambas/issues/detail?id=238 All good now, thanks Benoit From gambas at ...2524... Sun Apr 22 01:38:36 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Apr 2012 23:38:36 +0000 Subject: [Gambas-user] Issue 236 in gambas: gb.net.curl fails to connect using https In-Reply-To: <4-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> <0-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-8936813113906303062-gambas=googlecode.com@...2524...> Comment #5 on issue 236 by sebi... at ...626...: gb.net.curl fails to connect using https http://code.google.com/p/gambas/issues/detail?id=236 Okay, I found the reason. It seems that openssl's function SSL_library_init() needs to be called somewhere before the execution of the https request[0] to load the available ciphers . "Reason 161 is "Library has no ciphers" returned from SSL_CTX_new." [0] More info: [0] https://bugs.php.net/bug.php?id=35160 openssl docs: http://www.openssl.org/docs/ssl/SSL_library_init.html http://www.php.net/manual/en/ref.openssl.php#58581 I'm not sure if this should be done on the gb.net.curl component or libcurl directly. I'm not even sure why this even happened. I hope this helps. If I need to build some package again please let me know. From gambas at ...1... Sun Apr 22 02:00:56 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 22 Apr 2012 02:00:56 +0200 Subject: [Gambas-user] Rev 4651 compile error with gb.xml In-Reply-To: <1446047.EyrYGrB2Kj@...2823...> References: <1335046854.5751.4.camel@...2688...> <1446047.EyrYGrB2Kj@...2823...> Message-ID: <4F934A38.4090203@...1...> Le 22/04/2012 00:32, Adrien Prokopowicz a ?crit : > Le dimanche 22 avril 2012 07:50:54 Bruce Bruen a ?crit : >> ... >> cc1plus: error: unrecognized command line option "-Wdouble-promotion" >> ... Adrien, you should remove all specific compilation flags in the Makefile.am file. Why did you put them? -- Beno?t Minisini From gambas at ...1... Sun Apr 22 02:04:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 22 Apr 2012 02:04:31 +0200 Subject: [Gambas-user] New XML component Message-ID: <4F934B0F.4090502@...1...> Hi, Adrien Prokopowicz has rewrote the XML component, the old one being renamed as gb.libxml. Sorry for the surprise! Please report any problem or incompatibility. I am not a user of XML, I know the basic things only, so Adrien is the guy who will fix the problem and help you. :-) Regards, -- Beno?t Minisini From adrien.prokopowicz at ...626... Sun Apr 22 02:11:40 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 22 Apr 2012 02:11:40 +0200 Subject: [Gambas-user] Rev 4651 compile error with gb.xml In-Reply-To: <4F934A38.4090203@...1...> References: <1335046854.5751.4.camel@...2688...> <1446047.EyrYGrB2Kj@...2823...> <4F934A38.4090203@...1...> Message-ID: <2110280.LikFxbEMV8@...2823...> Le dimanche 22 avril 2012 02:00:56 Beno?t Minisini a ?crit : > Le 22/04/2012 00:32, Adrien Prokopowicz a ?crit : > > Le dimanche 22 avril 2012 07:50:54 Bruce Bruen a ?crit : > >> ... > >> > >> cc1plus: error: unrecognized command line option "-Wdouble-promotion" > >> > >> ... > > Adrien, you should remove all specific compilation flags in the > Makefile.am file. Why did you put them? I've already removed them in the rev #4653. I just forgot to remove them. From adrien.prokopowicz at ...626... Sun Apr 22 04:56:53 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 22 Apr 2012 04:56:53 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1335045295.3651.84.camel@...40...> References: <1335036895.3651.32.camel@...40...> <51349070.iRY7U0rMYJ@...2823...> <1335045295.3651.84.camel@...40...> Message-ID: <1930473.LikBFxSfvP@...2823...> Le samedi 21 avril 2012 23:54:55 Charlie Reinl a ?crit : > Am Samstag, den 21.04.2012, 23:47 +0200 schrieb Adrien Prokopowicz: > > Le samedi 21 avril 2012 23:18:27 Charlie Reinl a ?crit : > > > Am Samstag, den 21.04.2012, 21:19 +0200 schrieb Adrien Prokopowicz: > > > > Le samedi 21 avril 2012 21:34:55 Karl Reinl a ?crit : > > > > > Salut Beno?t, > > > > > > > > > > the new gb.xml broke my project which used before gb.xml and > > > > > gb.xml.xslt. > > > > > As I can see, you wrote a gambas component also called gb.xml, which > > > > > replaced the old. > > > > > Now I struggle at xml.FromString() where xml is a XmlDocument, while > > > > > you > > > > > forgot FromString, hope ther are not others. > > > > > > > > Hi Karl, > > > > > > > > I don't really understand your problem with XmlDocument.FromString(). > > > > Could > > > > you be more precise please ? > > > > > > > > Have you got an error message ? > > > > > > Salut, > > > > > > I found out, the new parser have problems with special chars. > > > > > > Try it with the attached xml. > > > > > > Dim Xml as New XmlDocument > > > > > > Xml.FromString("path to 'US-presidents-3.xml'") > > > > > > raise an error on special chars, or my box turne crazy. > > > > Problems should be solved in revision #4652. > > --------------------------8<----------------------------- > Salut Adrien, > > dit you solve only the underline = _ or also other special chars like .- > etc ? Since the revision #4654, all special chars are supported (including the UTF-8 ones). From sebikul at ...626... Sun Apr 22 05:12:53 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Sun, 22 Apr 2012 00:12:53 -0300 Subject: [Gambas-user] New XML component In-Reply-To: <4F934B0F.4090502@...1...> References: <4F934B0F.4090502@...1...> Message-ID: Hi! I have added most of the missing pages for the gb.xml and gb.xml.html documentation. I noticed that most of them where not even created. To the ones that seemed most relevant and important to the end user, I added some information. To the rest (i.e. constants, obvious properties or methods, etc.) I created empty pages for two reasons. The first one is that the reader can now see the type of the required input/parameters and returned data of constants, methods and properties. The second one, is that if, for example, a method or a property of a class is not documented (the page does not exist) it makes it hard to read the full list of symbols as relative wiki url's are shown. IMHO, this should be done to every symbol for the reasons explained above. Names would still be shown in italics, but if an user without a wiki account clicks on it, show the same data as a blank page would. On Sat, Apr 21, 2012 at 9:04 PM, Beno?t Minisini wrote: > Hi, > > Adrien Prokopowicz has rewrote the XML component, the old one being > renamed as gb.libxml. Sorry for the surprise! > > Please report any problem or incompatibility. I am not a user of XML, I > know the basic things only, so Adrien is the guy who will fix the > problem and help you. :-) > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From trat50 at ...67... Sun Apr 22 08:37:44 2012 From: trat50 at ...67... (trat50) Date: Sat, 21 Apr 2012 23:37:44 -0700 (PDT) Subject: [Gambas-user] Grab command In-Reply-To: <20120421160229.GB581@...2774...> References: <33715676.post@...1379...> <20120420150159.GA584@...2774...> <33721340.post@...1379...> <20120420154634.GC584@...2774...> <33723445.post@...1379...> <20120421160229.GB581@...2774...> Message-ID: <33727690.post@...1379...> But Tobi, I have been drawing just fine on a DrawingArea. The DrawingArea named "Sky" is the picture posted above... I switched from a PictureBox to a DrawingArea because I couldn't draw on a PictureBox. Now I am back to the original problem... how to draw on a PictureBox. When I attempt to draw on PictureBox, I get error message: "not a drawable object". It sounds like I should be able to draw on a PictureBox - but I must be doing it wrong. tobi-15 wrote: > > It's quite easy to draw on a DrawingArea. You have to take the > DrawgingArea as a drawing device: > > Draw.Begin(DrawingArea) > Draw.Picture(myPicture) > Draw.End() > > (typed from scratch, no warranty, but it should be close to these lines) > > ------------------------------------------------------------------------------ > -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33727690.html Sent from the gambas-user mailing list archive at Nabble.com. From rterry at ...1823... Sun Apr 22 10:43:04 2012 From: rterry at ...1823... (rterry at ...1823...) Date: Sun, 22 Apr 2012 18:13:04 +0930 Subject: [Gambas-user] Newish IDE feature - annoying ++ in practice Message-ID: Hi Benoit, Some time relatively recently the behaviour of the IDE changed when a program bug is encountered. Previously the program stopped, and the error flashed up. Now when the program stops, a new split is created momentarily with the error showing in that split. I find this very very difficult as I always split the screen into two panels when programming. By the time ones attention is drawn to the new split, it has often disappeared, and also, it is so tiny when one already has two panes for the code that the error message often can't be read. Would there by any way of re-considering this. There is not much to complain about with the gambas IDE, this si probably the first thing in its entire history that I've found immensely frustrating. What to others think? There's been no comment about this change on the list. regards richard From gambas at ...1... Sun Apr 22 11:08:47 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 22 Apr 2012 11:08:47 +0200 Subject: [Gambas-user] Newish IDE feature - annoying ++ in practice In-Reply-To: References: Message-ID: <4F93CA9F.5020807@...1...> Le 22/04/2012 10:43, rterry at ...1823... a ?crit : > > Hi Benoit, > > Some time relatively recently the behaviour of the IDE changed when a > program bug is encountered. > > Previously the program stopped, and the error flashed up. > > Now when the program stops, a new split is created momentarily with > the error showing in that split. > > I find this very very difficult as I always split the screen into two > panels when programming. > > By the time ones attention is drawn to the new split, it has often > disappeared, and also, it is so tiny when one already has two panes > for the code that the error message often can't be read. > > Would there by any way of re-considering this. > > There is not much to complain about with the gambas IDE, this si > probably the first thing in its entire history that I've found > immensely frustrating. > > What to others think? There's been no comment about this change on the > list. > > regards > > richard > I don't understand what you are talking about. Can you make some screenshots ? Thanks! -- Beno?t Minisini From Gambas at ...1950... Sun Apr 22 11:42:20 2012 From: Gambas at ...1950... (Caveat) Date: Sun, 22 Apr 2012 11:42:20 +0200 Subject: [Gambas-user] New XML component In-Reply-To: References: <4F934B0F.4090502@...1...> Message-ID: <1335087740.11395.795.camel@...2150...> It's not working for me. I have a project that builds an internal model of an xml file. the project is working fine with gb.libxml but doesn't work with gb.xml and gb.xml.xslt. The xml I am trying to parse is the following: Belgian Waffles $5.95 two of our famous Belgian Waffles with plenty of real maple syrup 650 Strawberry Belgian Waffles $7.95 light Belgian waffles covered with strawberries and whipped cream 900 Berry-Berry Belgian Waffles $8.95 light Belgian waffles covered with an assortment of fresh berries and whipped cream 900 French Toast $4.50 thick slices made from our homemade sourdough bread 600 Homestyle Breakfast $6.95 two eggs, bacon or sausage, toast, and our ever-popular hash browns 950 The project is attached. I'll also carry on looking for why it's not working... Regards, Caveat On Sun, 2012-04-22 at 00:12 -0300, Sebastian Kulesz wrote: > Hi! I have added most of the missing pages for the gb.xml and > gb.xml.html documentation. I noticed that most of them where not even > created. To the ones that seemed most relevant and important to the > end user, I added some information. To the rest (i.e. constants, > obvious properties or methods, etc.) I created empty pages for two > reasons. The first one is that the reader can now see the type of the > required input/parameters and returned data of constants, methods and > properties. The second one, is that if, for example, a method or a > property of a class is not documented (the page does not exist) it > makes it hard to read the full list of symbols as relative wiki url's > are shown. > > IMHO, this should be done to every symbol for the reasons explained > above. Names would still be shown in italics, but if an user without a > wiki account clicks on it, show the same data as a blank page would. > > > On Sat, Apr 21, 2012 at 9:04 PM, Beno?t Minisini > wrote: > > Hi, > > > > Adrien Prokopowicz has rewrote the XML component, the old one being > > renamed as gb.libxml. Sorry for the surprise! > > > > Please report any problem or incompatibility. I am not a user of XML, I > > know the basic things only, so Adrien is the guy who will fix the > > problem and help you. :-) > > > > Regards, > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: XMLEditor-0.0.1.tar.gz Type: application/x-compressed-tar Size: 16375 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Sun Apr 22 12:40:18 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 22 Apr 2012 12:40:18 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <1335087740.11395.795.camel@...2150...> References: <4F934B0F.4090502@...1...> <1335087740.11395.795.camel@...2150...> Message-ID: <5077588.ylNsTzZtrI@...2823...> Le dimanche 22 avril 2012 11:42:20 Caveat a ?crit : > It's not working for me. > > I have a project that builds an internal model of an xml file. the > project is working fine with gb.libxml but doesn't work with gb.xml and > gb.xml.xslt. > > The xml I am trying to parse is the following: > > > > > > Belgian Waffles > $5.95 > two of our famous Belgian Waffles with plenty of real > maple syrup > 650 > > > Strawberry Belgian Waffles > $7.95 > light Belgian waffles covered with strawberries and > whipped cream > 900 > > > Berry-Berry Belgian Waffles > $8.95 > light Belgian waffles covered with an assortment of fresh > berries and whipped cream > 900 > > > French Toast > $4.50 > thick slices made from our homemade sourdough > bread > 600 > > > Homestyle Breakfast > $6.95 > two eggs, bacon or sausage, toast, and our ever-popular > hash browns > 950 > > > > The project is attached. > > I'll also carry on looking for why it's not working... > > Regards, > Caveat > > On Sun, 2012-04-22 at 00:12 -0300, Sebastian Kulesz wrote: > > Hi! I have added most of the missing pages for the gb.xml and > > gb.xml.html documentation. I noticed that most of them where not even > > created. To the ones that seemed most relevant and important to the > > end user, I added some information. To the rest (i.e. constants, > > obvious properties or methods, etc.) I created empty pages for two > > reasons. The first one is that the reader can now see the type of the > > required input/parameters and returned data of constants, methods and > > properties. The second one, is that if, for example, a method or a > > property of a class is not documented (the page does not exist) it > > makes it hard to read the full list of symbols as relative wiki url's > > are shown. > > > > IMHO, this should be done to every symbol for the reasons explained > > above. Names would still be shown in italics, but if an user without a > > wiki account clicks on it, show the same data as a blank page would. > > > > > > On Sat, Apr 21, 2012 at 9:04 PM, Beno?t Minisini > > > > wrote: > > > Hi, > > > > > > Adrien Prokopowicz has rewrote the XML component, the old one being > > > renamed as gb.libxml. Sorry for the surprise! > > > > > > Please report any problem or incompatibility. I am not a user of XML, I > > > know the basic things only, so Adrien is the guy who will fix the > > > problem and help you. :-) > > > > > > Regards, > > > > > > -- > > > Beno?t Minisini > > > > > > ------------------------------------------------------------------------ > > > ------ For Developers, A Lot Can Happen In A Second. > > > Boundary is the first to Know...and Tell You. > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -------------------------------------------------------------------------- > > ---- For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user The problem should be solved for absolute paths in the revision #4655. From adrien.prokopowicz at ...626... Sun Apr 22 12:57:52 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 22 Apr 2012 12:57:52 +0200 Subject: [Gambas-user] Relative paths in a component Message-ID: <2275629.zNj6IG3roR@...2823...> Hi Beno?t, In gb.xml, in XmlReader, i'm loading a file through the Open instruction : Public Sub Open(path As String) Dim fichier As File fichier = Open path For Input Me.InputStream = fichier End But when path is a relative path, it refers to the project of the component, not to the user's project. So the interpreter doesn't find the file, and raises an error. How can I make relative paths referring to the good file ? From tobiasboege01 at ...1601... Sun Apr 22 13:07:00 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sun, 22 Apr 2012 13:07:00 +0200 Subject: [Gambas-user] Grab command In-Reply-To: <33727690.post@...1379...> References: <33715676.post@...1379...> <20120420150159.GA584@...2774...> <33721340.post@...1379...> <20120420154634.GC584@...2774...> <33723445.post@...1379...> <20120421160229.GB581@...2774...> <33727690.post@...1379...> Message-ID: <20120422110659.GB586@...2774...> On Sat, 21 Apr 2012, trat50 wrote: > > But Tobi, I have been drawing just fine on a DrawingArea. > The DrawingArea named "Sky" is the picture posted above... > > I switched from a PictureBox to a DrawingArea because I couldn't draw on a > PictureBox. > Now I am back to the original problem... how to draw on a PictureBox. > > When I attempt to draw on PictureBox, I get error message: "not a drawable > object". > It sounds like I should be able to draw on a PictureBox - but I must be > doing it wrong. > > > tobi-15 wrote: > > > > It's quite easy to draw on a DrawingArea. You have to take the > > DrawgingArea as a drawing device: > > > > Draw.Begin(DrawingArea) > > Draw.Picture(myPicture) > > Draw.End() > > > > (typed from scratch, no warranty, but it should be close to these lines) > > > > ------------------------------------------------------------------------------ > > > > -- > View this message in context: http://old.nabble.com/Grab-command-tp33715676p33727690.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user You don't need to draw on a PictureBox. Just draw on a Picture object and then place that drawn Picture in the PictureBox: Draw.Begin(myPicture) ... Draw.End() myPictureBox.Picture = myPicture From Gambas at ...1950... Sun Apr 22 13:39:15 2012 From: Gambas at ...1950... (Caveat) Date: Sun, 22 Apr 2012 13:39:15 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <5077588.ylNsTzZtrI@...2823...> References: <4F934B0F.4090502@...1...> <1335087740.11395.795.camel@...2150...> <5077588.ylNsTzZtrI@...2823...> Message-ID: <1335094755.11395.799.camel@...2150...> Still not working with rev 4655. Did you get a chance to test using the project I sent? It's quite clear that it works with gb.libxml but not with gb.xml. I wish this change had been introduced in a more careful manner, perhaps providing "gb.newxml" that we could transition to over time instead of just breaking existing projects. Regards, Caveat On Sun, 2012-04-22 at 12:40 +0200, Adrien Prokopowicz wrote: > Le dimanche 22 avril 2012 11:42:20 Caveat a ?crit : > > It's not working for me. > > > > I have a project that builds an internal model of an xml file. the > > project is working fine with gb.libxml but doesn't work with gb.xml and > > gb.xml.xslt. > > > > The xml I am trying to parse is the following: > > > > > > > > > > > > Belgian Waffles > > $5.95 > > two of our famous Belgian Waffles with plenty of real > > maple syrup > > 650 > > > > > > Strawberry Belgian Waffles > > $7.95 > > light Belgian waffles covered with strawberries and > > whipped cream > > 900 > > > > > > Berry-Berry Belgian Waffles > > $8.95 > > light Belgian waffles covered with an assortment of fresh > > berries and whipped cream > > 900 > > > > > > French Toast > > $4.50 > > thick slices made from our homemade sourdough > > bread > > 600 > > > > > > Homestyle Breakfast > > $6.95 > > two eggs, bacon or sausage, toast, and our ever-popular > > hash browns > > 950 > > > > > > > > The project is attached. > > > > I'll also carry on looking for why it's not working... > > > > Regards, > > Caveat > > > > On Sun, 2012-04-22 at 00:12 -0300, Sebastian Kulesz wrote: > > > Hi! I have added most of the missing pages for the gb.xml and > > > gb.xml.html documentation. I noticed that most of them where not even > > > created. To the ones that seemed most relevant and important to the > > > end user, I added some information. To the rest (i.e. constants, > > > obvious properties or methods, etc.) I created empty pages for two > > > reasons. The first one is that the reader can now see the type of the > > > required input/parameters and returned data of constants, methods and > > > properties. The second one, is that if, for example, a method or a > > > property of a class is not documented (the page does not exist) it > > > makes it hard to read the full list of symbols as relative wiki url's > > > are shown. > > > > > > IMHO, this should be done to every symbol for the reasons explained > > > above. Names would still be shown in italics, but if an user without a > > > wiki account clicks on it, show the same data as a blank page would. > > > > > > > > > On Sat, Apr 21, 2012 at 9:04 PM, Beno?t Minisini > > > > > > wrote: > > > > Hi, > > > > > > > > Adrien Prokopowicz has rewrote the XML component, the old one being > > > > renamed as gb.libxml. Sorry for the surprise! > > > > > > > > Please report any problem or incompatibility. I am not a user of XML, I > > > > know the basic things only, so Adrien is the guy who will fix the > > > > problem and help you. :-) > > > > > > > > Regards, > > > > > > > > -- > > > > Beno?t Minisini > > > > > > > > ------------------------------------------------------------------------ > > > > ------ For Developers, A Lot Can Happen In A Second. > > > > Boundary is the first to Know...and Tell You. > > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -------------------------------------------------------------------------- > > > ---- For Developers, A Lot Can Happen In A Second. > > > Boundary is the first to Know...and Tell You. > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > The problem should be solved for absolute paths in the revision #4655. From gambas.fr at ...626... Sun Apr 22 13:40:54 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 22 Apr 2012 13:40:54 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <1335094755.11395.799.camel@...2150...> References: <4F934B0F.4090502@...1...> <1335087740.11395.795.camel@...2150...> <5077588.ylNsTzZtrI@...2823...> <1335094755.11395.799.camel@...2150...> Message-ID: 2012/4/22 Caveat : > Still not working with rev 4655. > > Did you get a chance to test using the project I sent? ?It's quite clear > that it works with gb.libxml but not with gb.xml. > > I wish this change had been introduced in a more careful manner, perhaps > providing "gb.newxml" that we could transition to over time instead of > just breaking existing projects. in fact it's a bug in the interpreter ... we can't access the file in the projet > > Regards, > Caveat > > On Sun, 2012-04-22 at 12:40 +0200, Adrien Prokopowicz wrote: >> Le dimanche 22 avril 2012 11:42:20 Caveat a ?crit : >> > It's not working for me. >> > >> > I have a project that builds an internal model of an xml file. ?the >> > project is working fine with gb.libxml but doesn't work with gb.xml and >> > gb.xml.xslt. >> > >> > The xml I am trying to parse is the following: >> > >> > >> > >> > >> > ? ? >> > ? ? ? ? ? ? Belgian Waffles >> > ? ? ? ? ? ? $5.95 >> > ? ? ? ? ? ? two of our famous Belgian Waffles with plenty of real >> > maple syrup >> > ? ? ? ? ? ? 650 >> > ? ? >> > ? ? >> > ? ? ? ? ? ? Strawberry Belgian Waffles >> > ? ? ? ? ? ? $7.95 >> > ? ? ? ? ? ? light Belgian waffles covered with strawberries and >> > whipped cream >> > ? ? ? ? ? ? 900 >> > ? ? >> > ? ? >> > ? ? ? ? ? ? Berry-Berry Belgian Waffles >> > ? ? ? ? ? ? $8.95 >> > ? ? ? ? ? ? light Belgian waffles covered with an assortment of fresh >> > berries and whipped cream >> > ? ? ? ? ? ? 900 >> > ? ? >> > ? ? >> > ? ? ? ? ? ? French Toast >> > ? ? ? ? ? ? $4.50 >> > ? ? ? ? ? ? thick slices made from our homemade sourdough >> > bread >> > ? ? ? ? ? ? 600 >> > ? ? >> > ? ? >> > ? ? ? ? ? ? Homestyle Breakfast >> > ? ? ? ? ? ? $6.95 >> > ? ? ? ? ? ? two eggs, bacon or sausage, toast, and our ever-popular >> > hash browns >> > ? ? ? ? ? ? 950 >> > ? ? >> > >> > >> > The project is attached. >> > >> > I'll also carry on looking for why it's not working... >> > >> > Regards, >> > Caveat >> > >> > On Sun, 2012-04-22 at 00:12 -0300, Sebastian Kulesz wrote: >> > > Hi! I have added most of the missing pages for the gb.xml and >> > > gb.xml.html documentation. I noticed that most of them where not even >> > > created. To the ones that seemed most relevant and important to the >> > > end user, I added some ?information. To the rest (i.e. constants, >> > > obvious properties or methods, etc.) I created empty pages for two >> > > reasons. The first one is that the reader can now see the type of the >> > > required input/parameters and returned data of constants, methods and >> > > properties. The second one, is that if, for example, a method or a >> > > property of a class is not documented (the page does not exist) it >> > > makes it hard to read the full list of symbols as relative wiki url's >> > > are shown. >> > > >> > > IMHO, this should be done to every symbol for the reasons explained >> > > above. Names would still be shown in italics, but if an user without a >> > > wiki account clicks on it, show the same data as a blank page would. >> > > >> > > >> > > On Sat, Apr 21, 2012 at 9:04 PM, Beno?t Minisini >> > > >> > > wrote: >> > > > Hi, >> > > > >> > > > Adrien Prokopowicz has rewrote the XML component, the old one being >> > > > renamed as gb.libxml. Sorry for the surprise! >> > > > >> > > > Please report any problem or incompatibility. I am not a user of XML, I >> > > > know the basic things only, so Adrien is the guy who will fix the >> > > > problem and help you. :-) >> > > > >> > > > Regards, >> > > > >> > > > -- >> > > > Beno?t Minisini >> > > > >> > > > ------------------------------------------------------------------------ >> > > > ------ For Developers, A Lot Can Happen In A Second. >> > > > Boundary is the first to Know...and Tell You. >> > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> > > > http://p.sf.net/sfu/Boundary-d2dvs2 >> > > > _______________________________________________ >> > > > Gambas-user mailing list >> > > > Gambas-user at lists.sourceforge.net >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> > > -------------------------------------------------------------------------- >> > > ---- For Developers, A Lot Can Happen In A Second. >> > > Boundary is the first to Know...and Tell You. >> > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> > > http://p.sf.net/sfu/Boundary-d2dvs2 >> > > _______________________________________________ >> > > Gambas-user mailing list >> > > Gambas-user at lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> The problem should be solved for absolute paths in the revision #4655. > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From Gambas at ...1950... Sun Apr 22 13:51:22 2012 From: Gambas at ...1950... (Caveat) Date: Sun, 22 Apr 2012 13:51:22 +0200 Subject: [Gambas-user] New XML component In-Reply-To: References: <4F934B0F.4090502@...1...> <1335087740.11395.795.camel@...2150...> <5077588.ylNsTzZtrI@...2823...> <1335094755.11395.799.camel@...2150...> Message-ID: <1335095482.11395.801.camel@...2150...> If I put the xml file in the same dir as the project and reference it in a relative way, then it works perfectly (as expected) using gb.libxml. Using gb.xml I get an error "File or directory does not exist". Regards, Caveat On Sun, 2012-04-22 at 13:40 +0200, Fabien Bodard wrote: > 2012/4/22 Caveat : > > Still not working with rev 4655. > > > > Did you get a chance to test using the project I sent? It's quite clear > > that it works with gb.libxml but not with gb.xml. > > > > I wish this change had been introduced in a more careful manner, perhaps > > providing "gb.newxml" that we could transition to over time instead of > > just breaking existing projects. > in fact it's a bug in the interpreter ... we can't access the file in the projet > > > > Regards, > > Caveat > > > > On Sun, 2012-04-22 at 12:40 +0200, Adrien Prokopowicz wrote: > >> Le dimanche 22 avril 2012 11:42:20 Caveat a ?crit : > >> > It's not working for me. > >> > > >> > I have a project that builds an internal model of an xml file. the > >> > project is working fine with gb.libxml but doesn't work with gb.xml and > >> > gb.xml.xslt. > >> > > >> > The xml I am trying to parse is the following: > >> > > >> > > >> > > >> > > >> > > >> > Belgian Waffles > >> > $5.95 > >> > two of our famous Belgian Waffles with plenty of real > >> > maple syrup > >> > 650 > >> > > >> > > >> > Strawberry Belgian Waffles > >> > $7.95 > >> > light Belgian waffles covered with strawberries and > >> > whipped cream > >> > 900 > >> > > >> > > >> > Berry-Berry Belgian Waffles > >> > $8.95 > >> > light Belgian waffles covered with an assortment of fresh > >> > berries and whipped cream > >> > 900 > >> > > >> > > >> > French Toast > >> > $4.50 > >> > thick slices made from our homemade sourdough > >> > bread > >> > 600 > >> > > >> > > >> > Homestyle Breakfast > >> > $6.95 > >> > two eggs, bacon or sausage, toast, and our ever-popular > >> > hash browns > >> > 950 > >> > > >> > > >> > > >> > The project is attached. > >> > > >> > I'll also carry on looking for why it's not working... > >> > > >> > Regards, > >> > Caveat > >> > > >> > On Sun, 2012-04-22 at 00:12 -0300, Sebastian Kulesz wrote: > >> > > Hi! I have added most of the missing pages for the gb.xml and > >> > > gb.xml.html documentation. I noticed that most of them where not even > >> > > created. To the ones that seemed most relevant and important to the > >> > > end user, I added some information. To the rest (i.e. constants, > >> > > obvious properties or methods, etc.) I created empty pages for two > >> > > reasons. The first one is that the reader can now see the type of the > >> > > required input/parameters and returned data of constants, methods and > >> > > properties. The second one, is that if, for example, a method or a > >> > > property of a class is not documented (the page does not exist) it > >> > > makes it hard to read the full list of symbols as relative wiki url's > >> > > are shown. > >> > > > >> > > IMHO, this should be done to every symbol for the reasons explained > >> > > above. Names would still be shown in italics, but if an user without a > >> > > wiki account clicks on it, show the same data as a blank page would. > >> > > > >> > > > >> > > On Sat, Apr 21, 2012 at 9:04 PM, Beno?t Minisini > >> > > > >> > > wrote: > >> > > > Hi, > >> > > > > >> > > > Adrien Prokopowicz has rewrote the XML component, the old one being > >> > > > renamed as gb.libxml. Sorry for the surprise! > >> > > > > >> > > > Please report any problem or incompatibility. I am not a user of XML, I > >> > > > know the basic things only, so Adrien is the guy who will fix the > >> > > > problem and help you. :-) > >> > > > > >> > > > Regards, > >> > > > > >> > > > -- > >> > > > Beno?t Minisini > >> > > > > >> > > > ------------------------------------------------------------------------ > >> > > > ------ For Developers, A Lot Can Happen In A Second. > >> > > > Boundary is the first to Know...and Tell You. > >> > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > >> > > > http://p.sf.net/sfu/Boundary-d2dvs2 > >> > > > _______________________________________________ > >> > > > Gambas-user mailing list > >> > > > Gambas-user at lists.sourceforge.net > >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > >> > > -------------------------------------------------------------------------- > >> > > ---- For Developers, A Lot Can Happen In A Second. > >> > > Boundary is the first to Know...and Tell You. > >> > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > >> > > http://p.sf.net/sfu/Boundary-d2dvs2 > >> > > _______________________________________________ > >> > > Gambas-user mailing list > >> > > Gambas-user at lists.sourceforge.net > >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> The problem should be solved for absolute paths in the revision #4655. > > > > > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From gambas.fr at ...626... Sun Apr 22 13:53:48 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 22 Apr 2012 13:53:48 +0200 Subject: [Gambas-user] Relative paths in a component In-Reply-To: <2275629.zNj6IG3roR@...2823...> References: <2275629.zNj6IG3roR@...2823...> Message-ID: 2012/4/22 Adrien Prokopowicz : > Hi Beno?t, > > In gb.xml, in XmlReader, i'm loading a file through the Open instruction : > > Public Sub Open(path As String) > > ?Dim fichier As File > > ?fichier = Open path For Input > ?Me.InputStream = fichier > > End > > But when path is a relative path, it refers to the project of the component, > not to the user's project. So the interpreter doesn't find the file, and raises > an error. > > How can I make relative paths referring to the good file ? > a solution will be to add a magic path... in open funtion relative: project:/file.xml so open "project:/file.xml" for read will open the main project file this tool must work with all file tools such as exist -- Fabien Bodard From gambas at ...2524... Sun Apr 22 16:06:45 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 22 Apr 2012 14:06:45 +0000 Subject: [Gambas-user] Issue 237 in gambas: Grey DrawingArea on Form_Open In-Reply-To: <3-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> <0-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Comment #4 on issue 237 by matteo.pasotti: Grey DrawingArea on Form_Open http://code.google.com/p/gambas/issues/detail?id=237 I confirm that in revision #4651 the bug is fixed. Thank you! From gambas at ...1... Sun Apr 22 17:48:28 2012 From: gambas at ...1... (Benoit Minisini) Date: Sun, 22 Apr 2012 17:48:28 +0200 Subject: [Gambas-user] Relative paths in a component In-Reply-To: References: <2275629.zNj6IG3roR@...2823...> Message-ID: I'm not at home but I answer anyway... This magic path already exists. :-) Just add "../" before the relative path. Public Sub Open(Path As String) Dim fichier As File If Left(Path) <> "/" then Path = ".." &/ Path ... 2012/4/22 Fabien Bodard > 2012/4/22 Adrien Prokopowicz : > > Hi Beno?t, > > > > In gb.xml, in XmlReader, i'm loading a file through the Open instruction > : > > > > Public Sub Open(path As String) > > > > Dim fichier As File > > > > fichier = Open path For Input > > Me.InputStream = fichier > > > > End > > > > But when path is a relative path, it refers to the project of the > component, > > not to the user's project. So the interpreter doesn't find the file, and > raises > > an error. > > > > How can I make relative paths referring to the good file ? > > > > a solution will be to add a magic path... in open funtion > relative: > project:/file.xml > > > so > > open "project:/file.xml" for read > > will open the main project file > > this tool must work with all file tools such as exist > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Benoit Minisini From adrien.prokopowicz at ...626... Sun Apr 22 18:02:09 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 22 Apr 2012 18:02:09 +0200 Subject: [Gambas-user] Relative paths in a component In-Reply-To: References: <2275629.zNj6IG3roR@...2823...> Message-ID: <5156062.C45ovW8MoD@...2823...> Le dimanche 22 avril 2012 17:48:28 Benoit Minisini a ?crit : > If Left(Path) <> "/" then Path = ".." &/ Path Great, thanks. :) From adrien.prokopowicz at ...626... Sun Apr 22 18:07:51 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 22 Apr 2012 18:07:51 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <1335095482.11395.801.camel@...2150...> References: <4F934B0F.4090502@...1...> <1335095482.11395.801.camel@...2150...> Message-ID: <8293810.1rOsoh7iFU@...2823...> Le dimanche 22 avril 2012 13:51:22 Caveat a ?crit : > If I put the xml file in the same dir as the project and reference it in > a relative way, then it works perfectly (as expected) using gb.libxml. > Using gb.xml I get an error "File or directory does not exist". > > Regards, > Caveat > > On Sun, 2012-04-22 at 13:40 +0200, Fabien Bodard wrote: > > 2012/4/22 Caveat : > > > Still not working with rev 4655. > > > > > > Did you get a chance to test using the project I sent? It's quite clear > > > that it works with gb.libxml but not with gb.xml. > > > > > > I wish this change had been introduced in a more careful manner, perhaps > > > providing "gb.newxml" that we could transition to over time instead of > > > just breaking existing projects. > > > > in fact it's a bug in the interpreter ... we can't access the file in the > > projet> > > > Regards, > > > Caveat > > > > > > On Sun, 2012-04-22 at 12:40 +0200, Adrien Prokopowicz wrote: > > >> Le dimanche 22 avril 2012 11:42:20 Caveat a ?crit : > > >> > It's not working for me. > > >> > > > >> > I have a project that builds an internal model of an xml file. the > > >> > project is working fine with gb.libxml but doesn't work with gb.xml > > >> > and > > >> > gb.xml.xslt. > > >> > > > >> > The xml I am trying to parse is the following: > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > Belgian Waffles > > >> > $5.95 > > >> > two of our famous Belgian Waffles with > > >> > plenty of real > > >> > > > >> > maple syrup > > >> > > > >> > 650 > > >> > > > >> > > > >> > > > >> > > > >> > Strawberry Belgian Waffles > > >> > $7.95 > > >> > light Belgian waffles covered with > > >> > strawberries and > > >> > > > >> > whipped cream > > >> > > > >> > 900 > > >> > > > >> > > > >> > > > >> > > > >> > Berry-Berry Belgian Waffles > > >> > $8.95 > > >> > light Belgian waffles covered with an > > >> > assortment of fresh > > >> > > > >> > berries and whipped cream > > >> > > > >> > 900 > > >> > > > >> > > > >> > > > >> > > > >> > French Toast > > >> > $4.50 > > >> > thick slices made from our homemade > > >> > sourdough > > >> > > > >> > bread > > >> > > > >> > 600 > > >> > > > >> > > > >> > > > >> > > > >> > Homestyle Breakfast > > >> > $6.95 > > >> > two eggs, bacon or sausage, toast, and our > > >> > ever-popular > > >> > > > >> > hash browns > > >> > > > >> > 950 > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > The project is attached. > > >> > > > >> > I'll also carry on looking for why it's not working... > > >> > > > >> > Regards, > > >> > Caveat > > >> > > > >> > On Sun, 2012-04-22 at 00:12 -0300, Sebastian Kulesz wrote: > > >> > > Hi! I have added most of the missing pages for the gb.xml and > > >> > > gb.xml.html documentation. I noticed that most of them where not > > >> > > even > > >> > > created. To the ones that seemed most relevant and important to the > > >> > > end user, I added some information. To the rest (i.e. constants, > > >> > > obvious properties or methods, etc.) I created empty pages for two > > >> > > reasons. The first one is that the reader can now see the type of > > >> > > the > > >> > > required input/parameters and returned data of constants, methods > > >> > > and > > >> > > properties. The second one, is that if, for example, a method or a > > >> > > property of a class is not documented (the page does not exist) it > > >> > > makes it hard to read the full list of symbols as relative wiki > > >> > > url's > > >> > > are shown. > > >> > > > > >> > > IMHO, this should be done to every symbol for the reasons explained > > >> > > above. Names would still be shown in italics, but if an user > > >> > > without a > > >> > > wiki account clicks on it, show the same data as a blank page > > >> > > would. > > >> > > > > >> > > > > >> > > On Sat, Apr 21, 2012 at 9:04 PM, Beno?t Minisini > > >> > > > > >> > > wrote: > > >> > > > Hi, > > >> > > > > > >> > > > Adrien Prokopowicz has rewrote the XML component, the old one > > >> > > > being > > >> > > > renamed as gb.libxml. Sorry for the surprise! > > >> > > > > > >> > > > Please report any problem or incompatibility. I am not a user of > > >> > > > XML, I > > >> > > > know the basic things only, so Adrien is the guy who will fix the > > >> > > > problem and help you. :-) > > >> > > > > > >> > > > Regards, > > >> > > > > > >> > > > -- > > >> > > > Beno?t Minisini > > >> > > > > > >> > > > ----------------------------------------------------------------- > > >> > > > ------- > > >> > > > ------ For Developers, A Lot Can Happen In A Second. > > >> > > > Boundary is the first to Know...and Tell You. > > >> > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > >> > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > >> > > > _______________________________________________ > > >> > > > Gambas-user mailing list > > >> > > > Gambas-user at lists.sourceforge.net > > >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > > >> > > ------------------------------------------------------------------- > > >> > > ------- > > >> > > ---- For Developers, A Lot Can Happen In A Second. > > >> > > Boundary is the first to Know...and Tell You. > > >> > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > >> > > http://p.sf.net/sfu/Boundary-d2dvs2 > > >> > > _______________________________________________ > > >> > > Gambas-user mailing list > > >> > > Gambas-user at lists.sourceforge.net > > >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > >> The problem should be solved for absolute paths in the revision #4655. > > > > > > ------------------------------------------------------------------------ > > > ------ For Developers, A Lot Can Happen In A Second. > > > Boundary is the first to Know...and Tell You. > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ---------------------------------------------------------------------------- > -- For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Does it work with the revision #4656 ? From trat50 at ...67... Sun Apr 22 19:06:46 2012 From: trat50 at ...67... (trat50) Date: Sun, 22 Apr 2012 10:06:46 -0700 (PDT) Subject: [Gambas-user] Grab command Message-ID: <33729337.post@...1379...> OK Tobi, IT WORKS! :jumping: I will write a few lines of code after breakfast for anyone else trying to do this. tobi-15 wrote: > > _______________________________________________ > You don't need to draw on a PictureBox. Just draw on a Picture object and > then place that drawn > Picture in the PictureBox: > > Draw.Begin(myPicture) > ... > Draw.End() > myPictureBox.Picture = myPicture > _______________________________________________ > -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33729337.html Sent from the gambas-user mailing list archive at Nabble.com. From trat50 at ...67... Sun Apr 22 19:03:56 2012 From: trat50 at ...67... (trat50) Date: Sun, 22 Apr 2012 10:03:56 -0700 (PDT) Subject: [Gambas-user] Grab command In-Reply-To: <20120422110659.GB586@...2774...> References: <33715676.post@...1379...> <20120420150159.GA584@...2774...> <33721340.post@...1379...> <20120420154634.GC584@...2774...> <33723445.post@...1379...> <20120421160229.GB581@...2774...> <33727690.post@...1379...> <20120422110659.GB586@...2774...> Message-ID: <33729337.post@...1379...> OK Tobi, IT WORKS! :jumping: I will write a few lines of code after breakfast for anyone else trying to do this. I will take a few minutes to show how it tobi-15 wrote: > > On Sat, 21 Apr 2012, trat50 wrote: >> >> But Tobi, I have been drawing just fine on a DrawingArea. >> The DrawingArea named "Sky" is the picture posted above... >> >> I switched from a PictureBox to a DrawingArea because I couldn't draw on >> a >> PictureBox. >> Now I am back to the original problem... how to draw on a PictureBox. >> >> When I attempt to draw on PictureBox, I get error message: "not a >> drawable >> object". >> It sounds like I should be able to draw on a PictureBox - but I must be >> doing it wrong. >> >> >> tobi-15 wrote: >> > >> > It's quite easy to draw on a DrawingArea. You have to take the >> > DrawgingArea as a drawing device: >> > >> > Draw.Begin(DrawingArea) >> > Draw.Picture(myPicture) >> > Draw.End() >> > >> > (typed from scratch, no warranty, but it should be close to these >> lines) >> > >> > >> ------------------------------------------------------------------------------ >> > >> >> -- >> View this message in context: >> http://old.nabble.com/Grab-command-tp33715676p33727690.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > You don't need to draw on a PictureBox. Just draw on a Picture object and > then place that drawn > Picture in the PictureBox: > > Draw.Begin(myPicture) > ... > Draw.End() > myPictureBox.Picture = myPicture > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33729337.html Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...2345... Sun Apr 22 19:45:07 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 22 Apr 2012 19:45:07 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1461566.rCgUqLg8vq@...2822...> References: <1335036895.3651.32.camel@...40...> <1461566.rCgUqLg8vq@...2822...> Message-ID: <1335116707.3298.30.camel@...40...> Salut Adrien, Dim Xml as New XmlDocument Xml.FromString("path to 'US-presidents-3.xml'") that works now. Ran actually rev.4656 But loading xml2file.xslt like that Dim Xsl as New XmlDocument Xsl.FromString("path to 'xml2file.xslt'") raise an error . next file which will be loaded is xml2macro.xslt both will pass by a Outfile = XSLT.Transform(Xml, Xsl) Hope that's useful for getting further -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: xml2file.xslt Type: application/xslt+xml Size: 541 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xml2macro.xslt Type: application/xslt+xml Size: 2716 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: US-presidents-3.xml Type: application/xml Size: 5170 bytes Desc: not available URL: From gambas.fr at ...626... Sun Apr 22 18:21:13 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 22 Apr 2012 18:21:13 +0200 Subject: [Gambas-user] Relative paths in a component In-Reply-To: <5156062.C45ovW8MoD@...2823...> References: <2275629.zNj6IG3roR@...2823...> <5156062.C45ovW8MoD@...2823...> Message-ID: 2012/4/22 Adrien Prokopowicz : > Le dimanche 22 avril 2012 17:48:28 Benoit Minisini a ?crit : >> If Left(Path) <> "/" then Path = ".." &/ Path > > Great, thanks. :) > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user so simple :-/ ... as always -- Fabien Bodard From adrien.prokopowicz at ...626... Sun Apr 22 20:52:36 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 22 Apr 2012 20:52:36 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1335116707.3298.30.camel@...40...> References: <1335036895.3651.32.camel@...40...> <1461566.rCgUqLg8vq@...2822...> <1335116707.3298.30.camel@...40...> Message-ID: <4109259.3PiFTf5afE@...2823...> Le dimanche 22 avril 2012 19:45:07 Charlie Reinl a ?crit : > Salut Adrien, > > Dim Xml as New XmlDocument > Xml.FromString("path to 'US-presidents-3.xml'") > > that works now. Ran actually rev.4656 > > But loading xml2file.xslt like that > > Dim Xsl as New XmlDocument > Xsl.FromString("path to 'xml2file.xslt'") > > raise an error . > > next file which will be loaded is xml2macro.xslt > > both will pass by a > Outfile = XSLT.Transform(Xml, Xsl) > > Hope that's useful for getting further Solved in rev #4657. From Karl.Reinl at ...2345... Sun Apr 22 23:39:27 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 22 Apr 2012 23:39:27 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <4109259.3PiFTf5afE@...2823...> References: <1335036895.3651.32.camel@...40...> <1461566.rCgUqLg8vq@...2822...> <1335116707.3298.30.camel@...40...> <4109259.3PiFTf5afE@...2823...> Message-ID: <1335130767.3298.106.camel@...40...> Salut Adrien, works better since rev #4657. but I get a signal 6 at the seconde Out = XSLT.Transform(Xml, Xsl) here I attached a demo where you can see it. This (the FromXML_old is the working version before you changes) is the original sub I use. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: newXML-0.0.1.tar.gz Type: application/x-compressed-tar Size: 8171 bytes Desc: not available URL: From Gambas at ...1950... Sun Apr 22 23:48:51 2012 From: Gambas at ...1950... (Caveat) Date: Sun, 22 Apr 2012 23:48:51 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <8293810.1rOsoh7iFU@...2823...> References: <4F934B0F.4090502@...1...> <1335095482.11395.801.camel@...2150...> <8293810.1rOsoh7iFU@...2823...> Message-ID: <1335131331.11395.807.camel@...2150...> Nope, rev 4656 is not working with relative path (saved the xml as simple.xml in the project dir and referred to it as "simple.xml")... now it just fails silently giving wrong results, no error message any more. With absolute path is the same as before, still not working, silent failure with wrong results. Are you able to run my project? Will save us (errm ME) a lot of time if you just run that! First try it using gb.libxml to see what it *should* do, then try it with gb.xml until you get the same result... no? Regards, Caveat On Sun, 2012-04-22 at 18:07 +0200, Adrien Prokopowicz wrote: > Le dimanche 22 avril 2012 13:51:22 Caveat a ?crit : > > If I put the xml file in the same dir as the project and reference it in > > a relative way, then it works perfectly (as expected) using gb.libxml. > > Using gb.xml I get an error "File or directory does not exist". > > > > Regards, > > Caveat > > > > On Sun, 2012-04-22 at 13:40 +0200, Fabien Bodard wrote: > > > 2012/4/22 Caveat : > > > > Still not working with rev 4655. > > > > > > > > Did you get a chance to test using the project I sent? It's quite clear > > > > that it works with gb.libxml but not with gb.xml. > > > > > > > > I wish this change had been introduced in a more careful manner, perhaps > > > > providing "gb.newxml" that we could transition to over time instead of > > > > just breaking existing projects. > > > > > > in fact it's a bug in the interpreter ... we can't access the file in the > > > projet> > > > > Regards, > > > > Caveat > > > > > > > > On Sun, 2012-04-22 at 12:40 +0200, Adrien Prokopowicz wrote: > > > >> Le dimanche 22 avril 2012 11:42:20 Caveat a ?crit : > > > >> > It's not working for me. > > > >> > > > > >> > I have a project that builds an internal model of an xml file. the > > > >> > project is working fine with gb.libxml but doesn't work with gb.xml > > > >> > and > > > >> > gb.xml.xslt. > > > >> > > > > >> > The xml I am trying to parse is the following: > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > Belgian Waffles > > > >> > $5.95 > > > >> > two of our famous Belgian Waffles with > > > >> > plenty of real > > > >> > > > > >> > maple syrup > > > >> > > > > >> > 650 > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > Strawberry Belgian Waffles > > > >> > $7.95 > > > >> > light Belgian waffles covered with > > > >> > strawberries and > > > >> > > > > >> > whipped cream > > > >> > > > > >> > 900 > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > Berry-Berry Belgian Waffles > > > >> > $8.95 > > > >> > light Belgian waffles covered with an > > > >> > assortment of fresh > > > >> > > > > >> > berries and whipped cream > > > >> > > > > >> > 900 > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > French Toast > > > >> > $4.50 > > > >> > thick slices made from our homemade > > > >> > sourdough > > > >> > > > > >> > bread > > > >> > > > > >> > 600 > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > Homestyle Breakfast > > > >> > $6.95 > > > >> > two eggs, bacon or sausage, toast, and our > > > >> > ever-popular > > > >> > > > > >> > hash browns > > > >> > > > > >> > 950 > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > The project is attached. > > > >> > > > > >> > I'll also carry on looking for why it's not working... > > > >> > > > > >> > Regards, > > > >> > Caveat > > > >> > > > > >> > On Sun, 2012-04-22 at 00:12 -0300, Sebastian Kulesz wrote: > > > >> > > Hi! I have added most of the missing pages for the gb.xml and > > > >> > > gb.xml.html documentation. I noticed that most of them where not > > > >> > > even > > > >> > > created. To the ones that seemed most relevant and important to the > > > >> > > end user, I added some information. To the rest (i.e. constants, > > > >> > > obvious properties or methods, etc.) I created empty pages for two > > > >> > > reasons. The first one is that the reader can now see the type of > > > >> > > the > > > >> > > required input/parameters and returned data of constants, methods > > > >> > > and > > > >> > > properties. The second one, is that if, for example, a method or a > > > >> > > property of a class is not documented (the page does not exist) it > > > >> > > makes it hard to read the full list of symbols as relative wiki > > > >> > > url's > > > >> > > are shown. > > > >> > > > > > >> > > IMHO, this should be done to every symbol for the reasons explained > > > >> > > above. Names would still be shown in italics, but if an user > > > >> > > without a > > > >> > > wiki account clicks on it, show the same data as a blank page > > > >> > > would. > > > >> > > > > > >> > > > > > >> > > On Sat, Apr 21, 2012 at 9:04 PM, Beno?t Minisini > > > >> > > > > > >> > > wrote: > > > >> > > > Hi, > > > >> > > > > > > >> > > > Adrien Prokopowicz has rewrote the XML component, the old one > > > >> > > > being > > > >> > > > renamed as gb.libxml. Sorry for the surprise! > > > >> > > > > > > >> > > > Please report any problem or incompatibility. I am not a user of > > > >> > > > XML, I > > > >> > > > know the basic things only, so Adrien is the guy who will fix the > > > >> > > > problem and help you. :-) > > > >> > > > > > > >> > > > Regards, > > > >> > > > > > > >> > > > -- > > > >> > > > Beno?t Minisini > > > >> > > > > > > >> > > > ----------------------------------------------------------------- > > > >> > > > ------- > > > >> > > > ------ For Developers, A Lot Can Happen In A Second. > > > >> > > > Boundary is the first to Know...and Tell You. > > > >> > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > >> > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > >> > > > _______________________________________________ > > > >> > > > Gambas-user mailing list > > > >> > > > Gambas-user at lists.sourceforge.net > > > >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> > > > > > >> > > ------------------------------------------------------------------- > > > >> > > ------- > > > >> > > ---- For Developers, A Lot Can Happen In A Second. > > > >> > > Boundary is the first to Know...and Tell You. > > > >> > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > >> > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > >> > > _______________________________________________ > > > >> > > Gambas-user mailing list > > > >> > > Gambas-user at lists.sourceforge.net > > > >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> > > > >> The problem should be solved for absolute paths in the revision #4655. > > > > > > > > ------------------------------------------------------------------------ > > > > ------ For Developers, A Lot Can Happen In A Second. > > > > Boundary is the first to Know...and Tell You. > > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ---------------------------------------------------------------------------- > > -- For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Does it work with the revision #4656 ? From trat50 at ...67... Sun Apr 22 23:53:49 2012 From: trat50 at ...67... (trat50) Date: Sun, 22 Apr 2012 14:53:49 -0700 (PDT) Subject: [Gambas-user] Grab command In-Reply-To: <33729337.post@...1379...> References: <33715676.post@...1379...> <20120420150159.GA584@...2774...> <33721340.post@...1379...> <20120420154634.GC584@...2774...> <33723445.post@...1379...> <20120421160229.GB581@...2774...> <33727690.post@...1379...> <20120422110659.GB586@...2774...> <33729337.post@...1379...> Message-ID: <33730377.post@...1379...> How to prevent part of an image from getting blacked out if it extends off the edge of the screen: Here's how I synchronized Sky (a displayed PictureBox) with Sky1 (an undisplayed Picture): This allows DRAWING ON and SAVING - using the undisplayed Drawing, while seeing the results in the PictureBox. This interface uses a PictureBox instead of a DrawingArea to display the generated calendar: http://old.nabble.com/file/p33730377/Interface.jpg The PictureBox "Sky" is displaying a scaled down copy of the calendar we just made. ' This is from Fmain.class ' Gambas class file PUBLIC Calendar AS Picture 'This is the base calendar picture we load in. PUBLIC Sky1 AS Picture 'This is the undisplayed picture that we will draw on. PUBLIC monimage AS String 'The file name of the picture "Calendar" loads in. PUBLIC SUB Form_Open() monimage = "Cala1.png" 'This is a generic calendar that is loaded & displayed at start up. Calendar = Picture[monimage] 'This loads our generic startup calendar into "Calendar". Sky1 = Picture(Calendar) 'This loads our generic startup calendar into the undisplayed picture "Sky1", ' and MUST be included or Sky1 is a "Null object" and can't be drawn to. Render() END PUBLIC SUB Render() 'This SUB will display our base calendar and draw the month title. DIM MonthName AS String Draw.Begin(Sky1) Draw.Picture(Calendar, 0, 0, 1099, 849) MonthName = Textbox1.text 'This is the month title the user types in. Draw.Font.Bold = TRUE 'This stuff modifies the text displayed for the month title. Draw.Font.Size = 60 Draw.ForeColor = 33000000010 Draw.Text(MonthName, 30, 0, 1040, 90, 3) 'This draws the month title onto "Sky1". 'Drawing coordinates = xy to xy = 30,0 to 1040,90 'and the number '3' centers our month title text. Draw.End Sky.Picture = Sky1 'This copies "Sky1" (the undisplayed picture) into "Sky" (the PictureBox). END PUBLIC SUB ToggleButton1_Click() 'This SUB monitors the SAVE CALENDAR button DIM HolyCal AS NEW Picture IF ToggleButton1.Value = TRUE TextLabel4.Enabled = TRUE 'Displays text telling 'where to enter a month title'. TextBox2.Enabled = TRUE 'Displays Textbox to enter a month title into. ELSE IF ToggleButton1.Value = FALSE TextLabel4.Enabled = FALSE 'Hides text telling 'where to enter a month title'. TextBox2.Enabled = FALSE 'Hides Textbox to enter a month title into. ENDIF Sky1.Save("HolyCal.jpg") 'This saves the displayed calendar as a JPG file. 'Sky.Grab().Save("HolyCal.jpg") <~~~...or you can do this if you want to save a REALLY SMALL calendar. END -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33730377.html Sent from the gambas-user mailing list archive at Nabble.com. From Gambas at ...1950... Mon Apr 23 00:22:30 2012 From: Gambas at ...1950... (Caveat) Date: Mon, 23 Apr 2012 00:22:30 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <1335131331.11395.807.camel@...2150...> References: <4F934B0F.4090502@...1...> <1335095482.11395.801.camel@...2150...> <8293810.1rOsoh7iFU@...2823...> <1335131331.11395.807.camel@...2150...> Message-ID: <1335133350.11395.825.camel@...2150...> Note that there are 3 possibilities in my project to test XML stuff. Depending on what you set as the startup class, you can either try converting XML to a treeview, viewing the XML in a dynamically-built GUI or running a test suite which also applies changes to the XML once it's in the internal model. So the Form AllPurposeXMLEditor, the Form XMLToTreeView or the Module Test can be set as the startup class. If you need the Heroes.xml file for testing, it's still out there on pastebin at http://pastebin.com/aR11N5uc and the wireless network xml is also available at http://pastebin.com/4DGwdzYD None of the 3 programs I have provided in the project work with the new gb.xml! Did you do *any* testing on the new gb.xml before committing it? The fact it can't even open a simple XML file AND fails reading simple XML from a String seems to indicate that very little testing went on... Regards, Caveat On Sun, 2012-04-22 at 23:48 +0200, Caveat wrote: > Nope, rev 4656 is not working with relative path (saved the xml as > simple.xml in the project dir and referred to it as "simple.xml")... now > it just fails silently giving wrong results, no error message any more. > > With absolute path is the same as before, still not working, silent > failure with wrong results. > > Are you able to run my project? Will save us (errm ME) a lot of time if > you just run that! First try it using gb.libxml to see what it *should* > do, then try it with gb.xml until you get the same result... no? > > Regards, > Caveat > > On Sun, 2012-04-22 at 18:07 +0200, Adrien Prokopowicz wrote: > > Le dimanche 22 avril 2012 13:51:22 Caveat a ?crit : > > > If I put the xml file in the same dir as the project and reference it in > > > a relative way, then it works perfectly (as expected) using gb.libxml. > > > Using gb.xml I get an error "File or directory does not exist". > > > > > > Regards, > > > Caveat > > > > > > On Sun, 2012-04-22 at 13:40 +0200, Fabien Bodard wrote: > > > > 2012/4/22 Caveat : > > > > > Still not working with rev 4655. > > > > > > > > > > Did you get a chance to test using the project I sent? It's quite clear > > > > > that it works with gb.libxml but not with gb.xml. > > > > > > > > > > I wish this change had been introduced in a more careful manner, perhaps > > > > > providing "gb.newxml" that we could transition to over time instead of > > > > > just breaking existing projects. > > > > > > > > in fact it's a bug in the interpreter ... we can't access the file in the > > > > projet> > > > > > Regards, > > > > > Caveat > > > > > > > > > > On Sun, 2012-04-22 at 12:40 +0200, Adrien Prokopowicz wrote: > > > > >> Le dimanche 22 avril 2012 11:42:20 Caveat a ?crit : > > > > >> > It's not working for me. > > > > >> > > > > > >> > I have a project that builds an internal model of an xml file. the > > > > >> > project is working fine with gb.libxml but doesn't work with gb.xml > > > > >> > and > > > > >> > gb.xml.xslt. > > > > >> > > > > > >> > The xml I am trying to parse is the following: > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > Belgian Waffles > > > > >> > $5.95 > > > > >> > two of our famous Belgian Waffles with > > > > >> > plenty of real > > > > >> > > > > > >> > maple syrup > > > > >> > > > > > >> > 650 > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > Strawberry Belgian Waffles > > > > >> > $7.95 > > > > >> > light Belgian waffles covered with > > > > >> > strawberries and > > > > >> > > > > > >> > whipped cream > > > > >> > > > > > >> > 900 > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > Berry-Berry Belgian Waffles > > > > >> > $8.95 > > > > >> > light Belgian waffles covered with an > > > > >> > assortment of fresh > > > > >> > > > > > >> > berries and whipped cream > > > > >> > > > > > >> > 900 > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > French Toast > > > > >> > $4.50 > > > > >> > thick slices made from our homemade > > > > >> > sourdough > > > > >> > > > > > >> > bread > > > > >> > > > > > >> > 600 > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > Homestyle Breakfast > > > > >> > $6.95 > > > > >> > two eggs, bacon or sausage, toast, and our > > > > >> > ever-popular > > > > >> > > > > > >> > hash browns > > > > >> > > > > > >> > 950 > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > The project is attached. > > > > >> > > > > > >> > I'll also carry on looking for why it's not working... > > > > >> > > > > > >> > Regards, > > > > >> > Caveat > > > > >> > > > > > >> > On Sun, 2012-04-22 at 00:12 -0300, Sebastian Kulesz wrote: > > > > >> > > Hi! I have added most of the missing pages for the gb.xml and > > > > >> > > gb.xml.html documentation. I noticed that most of them where not > > > > >> > > even > > > > >> > > created. To the ones that seemed most relevant and important to the > > > > >> > > end user, I added some information. To the rest (i.e. constants, > > > > >> > > obvious properties or methods, etc.) I created empty pages for two > > > > >> > > reasons. The first one is that the reader can now see the type of > > > > >> > > the > > > > >> > > required input/parameters and returned data of constants, methods > > > > >> > > and > > > > >> > > properties. The second one, is that if, for example, a method or a > > > > >> > > property of a class is not documented (the page does not exist) it > > > > >> > > makes it hard to read the full list of symbols as relative wiki > > > > >> > > url's > > > > >> > > are shown. > > > > >> > > > > > > >> > > IMHO, this should be done to every symbol for the reasons explained > > > > >> > > above. Names would still be shown in italics, but if an user > > > > >> > > without a > > > > >> > > wiki account clicks on it, show the same data as a blank page > > > > >> > > would. > > > > >> > > > > > > >> > > > > > > >> > > On Sat, Apr 21, 2012 at 9:04 PM, Beno?t Minisini > > > > >> > > > > > > >> > > wrote: > > > > >> > > > Hi, > > > > >> > > > > > > > >> > > > Adrien Prokopowicz has rewrote the XML component, the old one > > > > >> > > > being > > > > >> > > > renamed as gb.libxml. Sorry for the surprise! > > > > >> > > > > > > > >> > > > Please report any problem or incompatibility. I am not a user of > > > > >> > > > XML, I > > > > >> > > > know the basic things only, so Adrien is the guy who will fix the > > > > >> > > > problem and help you. :-) > > > > >> > > > > > > > >> > > > Regards, > > > > >> > > > > > > > >> > > > -- > > > > >> > > > Beno?t Minisini > > > > >> > > > > > > > >> > > > ----------------------------------------------------------------- > > > > >> > > > ------- > > > > >> > > > ------ For Developers, A Lot Can Happen In A Second. > > > > >> > > > Boundary is the first to Know...and Tell You. > > > > >> > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > > >> > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > >> > > > _______________________________________________ > > > > >> > > > Gambas-user mailing list > > > > >> > > > Gambas-user at lists.sourceforge.net > > > > >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > >> > > > > > > >> > > ------------------------------------------------------------------- > > > > >> > > ------- > > > > >> > > ---- For Developers, A Lot Can Happen In A Second. > > > > >> > > Boundary is the first to Know...and Tell You. > > > > >> > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > > >> > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > >> > > _______________________________________________ > > > > >> > > Gambas-user mailing list > > > > >> > > Gambas-user at lists.sourceforge.net > > > > >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > >> > > > > >> The problem should be solved for absolute paths in the revision #4655. > > > > > > > > > > ------------------------------------------------------------------------ > > > > > ------ For Developers, A Lot Can Happen In A Second. > > > > > Boundary is the first to Know...and Tell You. > > > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ---------------------------------------------------------------------------- > > > -- For Developers, A Lot Can Happen In A Second. > > > Boundary is the first to Know...and Tell You. > > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > > http://p.sf.net/sfu/Boundary-d2dvs2 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > Does it work with the revision #4656 ? > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From adrien.prokopowicz at ...626... Mon Apr 23 00:39:03 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 23 Apr 2012 00:39:03 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1335130767.3298.106.camel@...40...> References: <1335036895.3651.32.camel@...40...> <4109259.3PiFTf5afE@...2823...> <1335130767.3298.106.camel@...40...> Message-ID: <4364380.AoT6Yvi1qO@...2823...> Le dimanche 22 avril 2012 23:39:27 Charlie Reinl a ?crit : > Salut Adrien, > > works better since rev #4657. > > but I get a signal 6 at the seconde Out = XSLT.Transform(Xml, Xsl) > > here I attached a demo where you can see it. > > This (the FromXML_old is the working version before you changes) is the > original sub I use. You got this signal because the resulting document of XSLT.Transform(Xml, Xsl) was empty, and hadn't any root element. I solved the problem in the rev #4659, but you should check if your resulting documents are all valid, in all cases, otherwise the parser may crash and/or return an empty document. From gambas at ...2524... Mon Apr 23 00:48:30 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 22 Apr 2012 22:48:30 +0000 Subject: [Gambas-user] Issue 240 in gambas: CheckBox Tristate View on Runtime In-Reply-To: <3-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> <0-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Comment #4 on issue 240 by kmanja... at ...626...: CheckBox Tristate View on Runtime http://code.google.com/p/gambas/issues/detail?id=240 I did try using various Xfce-XX based GTK+ widget themes defined under "/usr/share/themes/" on my ~/.gtkrc-2.0 but that didn't seem to solve the problem either. From Gambas at ...1950... Mon Apr 23 01:14:25 2012 From: Gambas at ...1950... (Caveat) Date: Mon, 23 Apr 2012 01:14:25 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <4364380.AoT6Yvi1qO@...2823...> References: <1335036895.3651.32.camel@...40...> <4109259.3PiFTf5afE@...2823...> <1335130767.3298.106.camel@...40...> <4364380.AoT6Yvi1qO@...2823...> Message-ID: <1335136465.11395.839.camel@...2150...> I'm now on 4659... URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5 Revision: 4659 Node Kind: directory Schedule: normal Last Changed Author: prokopy Last Changed Rev: 4659 Last Changed Date: 2012-04-23 00:29:42 +0200 (Mon, 23 Apr 2012) I don't follow what's the problem here. I still get an error specifically pointing to FromString... Error when trying create a reader from String: 20101120123rubber duck20101120123sponge: Unknown symbol 'FromString' in class 'XmlReader' @ XMLParserToModel.parseInputString.60 ================================================= Is FromString available in the new gb.xml or not? ================================================= Regards, Caveat On Mon, 2012-04-23 at 00:39 +0200, Adrien Prokopowicz wrote: > Le dimanche 22 avril 2012 23:39:27 Charlie Reinl a ?crit : > > Salut Adrien, > > > > works better since rev #4657. > > > > but I get a signal 6 at the seconde Out = XSLT.Transform(Xml, Xsl) > > > > here I attached a demo where you can see it. > > > > This (the FromXML_old is the working version before you changes) is the > > original sub I use. > > You got this signal because the resulting document of XSLT.Transform(Xml, Xsl) > was empty, and hadn't any root element. > > I solved the problem in the rev #4659, but you should check if your resulting > documents are all valid, in all cases, otherwise the parser may crash and/or > return an empty document. > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Mon Apr 23 11:02:44 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 23 Apr 2012 09:02:44 +0000 Subject: [Gambas-user] Issue 237 in gambas: Grey DrawingArea on Form_Open In-Reply-To: <4-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> <0-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-4192523636098092866-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 237 by benoit.m... at ...626...: Grey DrawingArea on Form_Open http://code.google.com/p/gambas/issues/detail?id=237 (No comment was entered for this change.) From gambas at ...1... Mon Apr 23 11:07:49 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 23 Apr 2012 11:07:49 +0200 Subject: [Gambas-user] Grab command In-Reply-To: <33715676.post@...1379...> References: <33715676.post@...1379...> Message-ID: <4F951BE5.9080704@...1...> Le 19/04/2012 19:01, trat50 a ?crit : > > I would like some help the syntax of the Grab command. > I want to save a DrawingArea as a png or jpg file. > Would someone please post a short example. Thank you. The Grab() method is reliable only when grabing the entire desktop. If you grab a control, X-Window may or may not return what you see on the screen. Normally, if the control window is not covered, you get it. But... 1) If you use a composited desktop, I don't know what happens then. 2) Moreover, QT4 and GTK+ now do not use one window by control anymore, so they internally emulate the old behaivour. But I don't know how (maybe by maintaining a big image buffer for each top-level window, or by redrawing the control inside a picture). So, personnally, I suggest never using the Grab() method on a control. I may remove it in the future. -- Beno?t Minisini From gambas at ...1... Mon Apr 23 11:09:30 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 23 Apr 2012 11:09:30 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <1335133350.11395.825.camel@...2150...> References: <4F934B0F.4090502@...1...> <1335095482.11395.801.camel@...2150...> <8293810.1rOsoh7iFU@...2823...> <1335131331.11395.807.camel@...2150...> <1335133350.11395.825.camel@...2150...> Message-ID: <4F951C4A.1010708@...1...> Le 23/04/2012 00:22, Caveat a ?crit : > Note that there are 3 possibilities in my project to test XML stuff. > Depending on what you set as the startup class, you can either try > converting XML to a treeview, viewing the XML in a dynamically-built GUI > or running a test suite which also applies changes to the XML once it's > in the internal model. > > So the Form AllPurposeXMLEditor, the Form XMLToTreeView or the Module > Test can be set as the startup class. > > If you need the Heroes.xml file for testing, it's still out there on > pastebin at http://pastebin.com/aR11N5uc and the wireless network xml is > also available at http://pastebin.com/4DGwdzYD > > None of the 3 programs I have provided in the project work with the new > gb.xml! > > Did you do *any* testing on the new gb.xml before committing it? The > fact it can't even open a simple XML file AND fails reading simple XML > from a String seems to indicate that very little testing went on... > > Regards, > Caveat > This is the reason why the code was committed on the *development* version. To get some return from testers. But how could we know who really use gb.xml without doing that? :-) -- Beno?t Minisini From gambas.fr at ...626... Mon Apr 23 11:16:54 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 23 Apr 2012 11:16:54 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <4F951C4A.1010708@...1...> References: <4F934B0F.4090502@...1...> <1335095482.11395.801.camel@...2150...> <8293810.1rOsoh7iFU@...2823...> <1335131331.11395.807.camel@...2150...> <1335133350.11395.825.camel@...2150...> <4F951C4A.1010708@...1...> Message-ID: Le 23 avril 2012 11:09, Beno?t Minisini a ?crit : > Le 23/04/2012 00:22, Caveat a ?crit : >> Note that there are 3 possibilities in my project to test XML stuff. >> Depending on what you set as the startup class, you can either try >> converting XML to a treeview, viewing the XML in a dynamically-built GUI >> or running a test suite which also applies changes to the XML once it's >> in the internal model. >> >> So the Form AllPurposeXMLEditor, the Form XMLToTreeView or the Module >> Test can be set as the startup class. >> >> If you need the Heroes.xml file for testing, it's still out there on >> pastebin at http://pastebin.com/aR11N5uc and the wireless network xml is >> also available at http://pastebin.com/4DGwdzYD >> >> None of the 3 programs I have provided in the project work with the new >> gb.xml! >> >> Did you do *any* testing on the new gb.xml before committing it? ?The >> fact it can't even open a simple XML file AND fails reading simple XML >> from a String seems to indicate that very little testing went on... >> >> Regards, >> Caveat >> > > This is the reason why the code was committed on the *development* > version. To get some return from testers. But how could we know who > really use gb.xml without doing that? :-) > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user And it's difficult to test all the limits of a component without users -- Fabien Bodard From Gambas at ...1950... Mon Apr 23 12:05:13 2012 From: Gambas at ...1950... (Caveat) Date: Mon, 23 Apr 2012 12:05:13 +0200 Subject: [Gambas-user] New XML component In-Reply-To: References: <4F934B0F.4090502@...1...> <1335095482.11395.801.camel@...2150...> <8293810.1rOsoh7iFU@...2823...> <1335131331.11395.807.camel@...2150...> <1335133350.11395.825.camel@...2150...> <4F951C4A.1010708@...1...> Message-ID: <1335175513.11395.845.camel@...2150...> Benoit and Fabien, you're both right of course. Sorry, I was a little frustrated by how broken gb.xml now appears to be. The project I've sent does allow you guys to get some serious testing in and I'm here should you have any questions about the project and the code. There are plenty of simple xml examples out on the web, the beauty of my project is that it *should* be generic enough to read pretty much any of those xml examples either from file or from string and doesn't have to be told about specific tags... Regards, Caveat On Mon, 2012-04-23 at 11:16 +0200, Fabien Bodard wrote: > Le 23 avril 2012 11:09, Beno?t Minisini a ?crit : > > Le 23/04/2012 00:22, Caveat a ?crit : > >> Note that there are 3 possibilities in my project to test XML stuff. > >> Depending on what you set as the startup class, you can either try > >> converting XML to a treeview, viewing the XML in a dynamically-built GUI > >> or running a test suite which also applies changes to the XML once it's > >> in the internal model. > >> > >> So the Form AllPurposeXMLEditor, the Form XMLToTreeView or the Module > >> Test can be set as the startup class. > >> > >> If you need the Heroes.xml file for testing, it's still out there on > >> pastebin at http://pastebin.com/aR11N5uc and the wireless network xml is > >> also available at http://pastebin.com/4DGwdzYD > >> > >> None of the 3 programs I have provided in the project work with the new > >> gb.xml! > >> > >> Did you do *any* testing on the new gb.xml before committing it? The > >> fact it can't even open a simple XML file AND fails reading simple XML > >> from a String seems to indicate that very little testing went on... > >> > >> Regards, > >> Caveat > >> > > > > This is the reason why the code was committed on the *development* > > version. To get some return from testers. But how could we know who > > really use gb.xml without doing that? :-) > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > For Developers, A Lot Can Happen In A Second. > > Boundary is the first to Know...and Tell You. > > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > > http://p.sf.net/sfu/Boundary-d2dvs2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > And it's difficult to test all the limits of a component without users > From gambas at ...1... Mon Apr 23 13:58:57 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 23 Apr 2012 13:58:57 +0200 Subject: [Gambas-user] gambas3 library pathes In-Reply-To: <1334982998.2444.91.camel@...2735...> References: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> <1334936606.2444.26.camel@...2735...> <4F918D0B.4060709@...1...> <1334974674.2444.64.camel@...2735...> <1334975536.2313.3.camel@...1833...> <1334982998.2444.91.camel@...2735...> Message-ID: <4F954401.7050107@...1...> Le 21/04/2012 06:36, Willy Raets a ?crit : > On vr, 2012-04-20 at 19:32 -0700, John Spikowski wrote: >> On Sat, 2012-04-21 at 04:17 +0200, Willy Raets wrote: >> >>> I couldn't and still can't find documentation on how to use and >>> distribute a library written in Gambas. >>> >>> Willy >> >> It would be great if Gambas developed applications could be made >> available without the user of the application having to become a Gambas >> expert. >> > That is exactly the trouble. > > I would like to distribute a Gambas3 application to end users. The > application uses a library built in Gambas3. > > How do I package so all works for the end user upon install. > I have tried all kinds of ways, looked all over the net and came up with > nothing. I've been on this for months now starting of with a component > later trying it as a library :-( > > Having a library works great for me as a developer, no problem. But that > is where it ends on my PC and not where I want it on the end user PC, > who has no IDE and is no developer. > > Even when I put the gambas executable being the library in /usr/bin. > When I package an application that uses this library (with this path) > that runs fine in debug run, and install it on the same system it won't > install because it can't find the depended library!!(excuse me but that > library is right there in the /usr/bin and never moved at all!!) > > Tried it as a component and installing the component on the system for > development gives no problem. Using it on the development system in > applications I develop, no sweat. But then try distributing the > application using the component. Another hell I haven't managed to get > through. > > Packaging the component, installing it on the target PC and then > installing the application that requires the component always end up the > installation not being able to install because the required component > (that is already installed on the system) can't be found !!! > > Dependencies...dependencies...all installed on the system but never to > be found by the installation mechanism somehow or I am completely > misunderstanding the whole mechanism because of a lack of descent > documentation on the matter. A simple 'how to' with some general steps > would probably do the trick... > > Hi, I wrote a little page about libraries on the wiki to explain how to use them. But I don't understand why it does not work for you. Libraries are really searched in: 1) The directory that contains the current project executable. 2) /usr/bin 3) /bin So if you install your library in /usr/bin like any other executable, every project should be able to find and use it. I will check that as soon as possible anyway. But if you can give me more details and/or some projects that will reproduce your problem on my machine, you are welcome! Regards, -- Beno?t Minisini From gambas at ...2524... Mon Apr 23 17:04:02 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 23 Apr 2012 15:04:02 +0000 Subject: [Gambas-user] Issue 241 in gambas: Potential problem with DataCombo Message-ID: <0-6813199134517018827-11111228267299557828-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 241 by ron.mcin... at ...626...: Potential problem with DataCombo http://code.google.com/p/gambas/issues/detail?id=241 1) Describe the problem. Trying to use the DataCombo control to provide a drop down list. There is a main table with a field "Type" and another table containing the primary key "Type" (which I believe is correct but I may be totally wrong). The DataCombo will not drop down and any text typed in the control is not saved when updating. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: 3.1.1 (but also present in 3.1.0) Operating system: Linux Distribution: Mint (Debian based) Architecture: x86 GUI component: Default Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. Included (code will also recreate the DB if it is deleted/lost). 5) Explain clearly how to reproduce the bug or the crash. Extract, run, select a record and and try the combo. As I said at the start this may just be a case of me misunderstanding how this is used and in that case please accept my apologies (although I would appreciate a steer on what I'm doing wrong ;-) ). Regards Ron McInally Attachments: DBCombo.tar.gz 10.5 KB From Karl.Reinl at ...2345... Mon Apr 23 18:47:10 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 23 Apr 2012 18:47:10 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <4364380.AoT6Yvi1qO@...2823...> References: <1335036895.3651.32.camel@...40...> <4109259.3PiFTf5afE@...2823...> <1335130767.3298.106.camel@...40...> <4364380.AoT6Yvi1qO@...2823...> Message-ID: <1335199630.3246.11.camel@...40...> Am Montag, den 23.04.2012, 00:39 +0200 schrieb Adrien Prokopowicz: > Le dimanche 22 avril 2012 23:39:27 Charlie Reinl a ?crit : > > Salut Adrien, > > > > works better since rev #4657. > > > > but I get a signal 6 at the seconde Out = XSLT.Transform(Xml, Xsl) > > > > here I attached a demo where you can see it. > > > > This (the FromXML_old is the working version before you changes) is the > > original sub I use. > > You got this signal because the resulting document of XSLT.Transform(Xml, Xsl) > was empty, and hadn't any root element. > > I solved the problem in the rev #4659, but you should check if your resulting > documents are all valid, in all cases, otherwise the parser may crash and/or > return an empty document. Salut Adrien, the attached test.tar.gz is the same project newXML as yesterday I only activated the FromXML_old branch. And I packed also the 2 temporary files, to show you the output. I used gambas 3.1 r4638 for. What I understood till now, whether the new gb.xml is stricter then the old one and my 2 xlst are not well done xlst-files or your XLST.Transform does not working right yet. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tar.gz Type: application/x-compressed-tar Size: 10157 bytes Desc: not available URL: From willy at ...2734... Mon Apr 23 21:47:19 2012 From: willy at ...2734... (Willy Raets) Date: Mon, 23 Apr 2012 21:47:19 +0200 Subject: [Gambas-user] gambas3 library pathes In-Reply-To: <4F954401.7050107@...1...> References: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> <1334936606.2444.26.camel@...2735...> <4F918D0B.4060709@...1...> <1334974674.2444.64.camel@...2735...> <1334975536.2313.3.camel@...1833...> <1334982998.2444.91.camel@...2735...> <4F954401.7050107@...1...> Message-ID: <1335210439.2074.11.camel@...2735...> On ma, 2012-04-23 at 13:58 +0200, Beno?t Minisini wrote: > Hi, > > I wrote a little page about libraries on the wiki to explain how to use > them. > > But I don't understand why it does not work for you. Libraries are > really searched in: > > 1) The directory that contains the current project executable. > 2) /usr/bin > 3) /bin > > So if you install your library in /usr/bin like any other executable, > every project should be able to find and use it. > > I will check that as soon as possible anyway. But if you can give me > more details and/or some projects that will reproduce your problem on my > machine, you are welcome! > > Regards, Hi Beno?t, I made a small example you can check. Library is called "MyLib". The application using the library is called "TestLibApp" I am looking at this for distribution to end user reasons. So I made an installation package of the library (attached -> Ubuntu package) and installed it. It installed into /usr/bin (see screenshot-00.png) I then opened TestLibApp in IDE and had the library point to /usr/bin/MyLib.gambas (see screenshot-01.png) Next I did a debug->run in IDE and all works just fine. I then make an installation package for end user (attached -> Ubuntu package) and installed it. It complains about not finding depended library MyLib (see screenshot-02.png), although the library is in /usr/bin!! Also provided source of both library and test application. Hope this helps... Willy [System] OperatingSystem=Linux Kernel=2.6.35-32-generic Architecture=i686 Memory=2051620 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.10" Desktop=Gnome [Gambas 2] Version=2.24.0 Path=/usr/bin/gbx2 [Gambas 3] Version=3.1.1 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.0 GTK+=libgtk-x11-2.0.so.0.2200.0 -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-00.png Type: image/png Size: 25276 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-01.png Type: image/png Size: 41913 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-02.png Type: image/png Size: 57329 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: mylib_0.0-1_all.deb Type: application/x-deb Size: 7624 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MyLib-0.0.1.tar.gz Type: application/x-compressed-tar Size: 10097 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: testlibapp_0.0.1-1_all.deb Type: application/x-deb Size: 8156 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestLibApp-0.0.1.tar.gz Type: application/x-compressed-tar Size: 11241 bytes Desc: not available URL: From dr_infoblock at ...67... Tue Apr 24 00:02:53 2012 From: dr_infoblock at ...67... (Dr Infoblock) Date: Mon, 23 Apr 2012 22:02:53 +0000 Subject: [Gambas-user] gambas3 on slackware Message-ID: Don't work on Slackware 13.37 x86_64. Compiles fine, but freeze when try to open. From willy at ...2734... Mon Apr 23 22:23:01 2012 From: willy at ...2734... (Willy Raets) Date: Mon, 23 Apr 2012 22:23:01 +0200 Subject: [Gambas-user] gambas3 library pathes In-Reply-To: <4F954401.7050107@...1...> References: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> <1334936606.2444.26.camel@...2735...> <4F918D0B.4060709@...1...> <1334974674.2444.64.camel@...2735...> <1334975536.2313.3.camel@...1833...> <1334982998.2444.91.camel@...2735...> <4F954401.7050107@...1...> Message-ID: <1335212581.2074.28.camel@...2735...> On ma, 2012-04-23 at 13:58 +0200, Beno?t Minisini wrote: > I wrote a little page about libraries on the wiki to explain how to use > them. Thanks for that, very clear and exactly the way I understood it. It works fine as long as using it in IDE. Distribution seems to be the key problem. And I do not mean distributing to another Gambas developer but to a end user with no littel or no idea on how linux works. So double click the package, provide password and install (like on Debian or Ubuntu). Because when setting Component/Library to Yes (in Project properties) and making an executable for use you can use it just fine from IDE. But when trying to make a installation package of the library (with Component/Library set to Yes) for distribution to end user it becomes a component upon install instead of a library. So I set Component/Library back to No (in Project properties) to make a installation package which installs just fine into /usr/bin (where all my gambas built applications get installed) and can be used during development in IDE as well, if pointing to it in Project -> properties -> Tab Libraries. But then upon distributing an application that uses it library cn not be found and application doesn't install (see other post for details, screens and source) Ideal situation would be that if an application uses a Gambas library it gets packaged along with the application as a dependency. So that only one package would be enough for end users to install the application. Don't know if that is possible as I have no know how on packaging possibilities. Is something like that possible? Because that would make life a hell lot of easier on distribution. Willy From dr_infoblock at ...67... Tue Apr 24 01:30:24 2012 From: dr_infoblock at ...67... (Dr Infoblock) Date: Mon, 23 Apr 2012 23:30:24 +0000 Subject: [Gambas-user] Gambas3 on Slackware Message-ID: Sorry about incorrect error report, but Gamas 3.1.1 take ages to open on Slackware 13.37 x86_64. From bbruen at ...2308... Tue Apr 24 01:45:18 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 24 Apr 2012 09:15:18 +0930 Subject: [Gambas-user] Gambas3 on Slackware In-Reply-To: References: Message-ID: <1335224718.5751.9.camel@...2688...> On Mon, 2012-04-23 at 23:30 +0000, Dr Infoblock wrote: > Sorry about incorrect error report, but Gamas 3.1.1 take ages to open on Slackware 13.37 x86_64. > I had this symptom some months ago. I finally found that it was caused in my case by a bunch of configured but non-existent printers. From memory, I did raise it as an issue and Benoit explained it as something to do with internal aspects of qt4, qt4 initialisation goes searching for configured printers and waits for them to respond ... or something like that. Your situation may be completely different, but I just thought I'd mention my experience. Bruce From gambas at ...2524... Tue Apr 24 07:12:54 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Apr 2012 05:12:54 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM Message-ID: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 See: http://www.raspberrypi.org/forum/projects-and-collaboration-general/gambas/page-3/#p68904 From gambas at ...2524... Tue Apr 24 08:47:35 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Apr 2012 06:47:35 +0000 Subject: [Gambas-user] Issue 239 in gambas: Hide columns in tableview In-Reply-To: <2-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> <0-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Comment #3 on issue 239 by goria... at ...626...: Hide columns in tableview http://code.google.com/p/gambas/issues/detail?id=239 You're right, setting the width to 1 pixel makes the column invisible except of the right border. The same thing to rows, if you set the height to 1 pixel, the row dissapers, except of the bottom border. But if you have many rows you want to hide, setting there height to 1 pixel, it results in a big gray block (for each row a 1 pixel high gray border). So I think, its not a solution setting the height or width to 1 pixel. From charles at ...1784... Tue Apr 24 09:21:26 2012 From: charles at ...1784... (charlesg) Date: Tue, 24 Apr 2012 00:21:26 -0700 (PDT) Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <33737928.post@...1379...> gambas-4 wrote: > > Status: New > New issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM > It's early days (you're lucky if you can actually get hold of a Raspberry Pi) but I think a Pi with functional Gambas would have an enormous effect on the perception and acceptance of Gambas. The planned route to programming with the Pi is by using Python. The lack of integrated application gui in Python makes Gambas a much easier option. As has been the case through the history of personal computing, kids (of all ages) will cut their teeth writing games. Python does not lend itself to this. Gambas does. -- View this message in context: http://old.nabble.com/Issue-242-in-gambas%3A-Gamba-forms-fail-on-Debian-ARM-tp33737503p33737928.html Sent from the gambas-user mailing list archive at Nabble.com. From bbruen at ...2308... Sat Apr 14 11:58:30 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sat, 14 Apr 2012 19:28:30 +0930 Subject: [Gambas-user] Can't see array contents in the debugger any more? In-Reply-To: <1334306876.10514.28.camel@...2688...> References: <1334306876.10514.28.camel@...2688...> Message-ID: <1334397510.10514.40.camel@...2688...> On Fri, 2012-04-13 at 18:17 +0930, Bruce Bruen wrote: > Some days ago I updated to rev4607, since then I can't see the contents > of arrays in the debugger. It displays the array class instead. > > Any input please? > > regards > Bruce > Beno?t, (Sorry about the out of line reply. I accidentally deleted your mail.) Here is a screen shot of what I get when I try to look at the statelist array. Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: desktop 2_049.png Type: image/png Size: 309142 bytes Desc: not available URL: From gambas at ...1... Tue Apr 24 14:15:29 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 24 Apr 2012 14:15:29 +0200 Subject: [Gambas-user] Can't see array contents in the debugger any more? In-Reply-To: <1334397510.10514.40.camel@...2688...> References: <1334306876.10514.28.camel@...2688...> <1334397510.10514.40.camel@...2688...> Message-ID: <4F969961.5070301@...1...> Le 14/04/2012 11:58, Bruce Bruen a ?crit : > On Fri, 2012-04-13 at 18:17 +0930, Bruce Bruen wrote: >> Some days ago I updated to rev4607, since then I can't see the contents >> of arrays in the debugger. It displays the array class instead. >> >> Any input please? >> >> regards >> Bruce >> > Beno?t, > (Sorry about the out of line reply. I accidentally deleted your mail.) > > Here is a screen shot of what I get when I try to look at the statelist > array. > > > Bruce > And if you click on the lamp icon in the debugger watch window? -- Beno?t Minisini From gambas at ...2524... Tue Apr 24 14:23:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Apr 2012 12:23:13 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-2.24.0 Comment #1 on issue 242 by benoit.m... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 Alas I don't have any ARM architecture where I could debug Gambas. You can help by: 1) Compiling Gambas from sources on the Raspberry. 2) Providing gdb stacktraces. 3) Running program with valgrind and sending the output. And I strongly suggest using Gambas 3 and not Gambas 2 anymore. By the way, someone wrote a big program with Gambas 2 on an embedded ARM architecture, but with no GUI at all. So there is some hope! From charles at ...1784... Tue Apr 24 15:14:52 2012 From: charles at ...1784... (charlesg) Date: Tue, 24 Apr 2012 06:14:52 -0700 (PDT) Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <1-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <1-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <33739442.post@...1379...> gambas-4 wrote: > > Alas I don't have any ARM architecture where I could debug Gambas. > Hmm... 256Mb RAM. I guess that might be a killer. -- View this message in context: http://old.nabble.com/Issue-242-in-gambas%3A-Gamba-forms-fail-on-Debian-ARM-tp33737503p33739442.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Tue Apr 24 17:49:26 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Apr 2012 15:49:26 +0000 Subject: [Gambas-user] Issue 243 in gambas: (WHISH) Allow to set header color in gridview Message-ID: <0-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 243 by Kokok... at ...626...: (WHISH) Allow to set header color in gridview http://code.google.com/p/gambas/issues/detail?id=243 The header of new gridview component cannot be changed, it seems that it is based on default style background color. This made impossible to use a bright theme and have a dark grid, because, even if the background and the foreground color of cell contents can be changed, the header would have bright text over bright header. Version: 3.1.1 Operating system: Linux Distribution: Archlinux Architecture: x86 GUI component: QT4 Desktop used: KDE From gambas at ...2524... Tue Apr 24 17:52:49 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Apr 2012 15:52:49 +0000 Subject: [Gambas-user] Issue 244 in gambas: Several qt components ignores color.foreground property Message-ID: <0-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 244 by Kokok... at ...626...: Several qt components ignores color.foreground property http://code.google.com/p/gambas/issues/detail?id=244 I found that at least treeview and fileview components ignores the foreground color property. i can successfully change the background color, but the font color seems to be picked always from qt style settings. Version: 3.1.1 Operating system: Linux Distribution: ArchLinux Architecture: x86 GUI component: QT4 (GTK works!) Desktop used: KDE To reproduce, just create qt graphical project with a treeview, the problem appears right from the ide if you try to change foreground treeview property. From gambas at ...2524... Tue Apr 24 17:56:21 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Apr 2012 15:56:21 +0000 Subject: [Gambas-user] Issue 245 in gambas: Wrong behaviour in desktop.w and screen.w on dual head? Message-ID: <0-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 245 by Kokok... at ...626...: Wrong behaviour in desktop.w and screen.w on dual head? http://code.google.com/p/gambas/issues/detail?id=245 I've a dual head configuration, desktop is spanned over two screen placed in horizontal. If i'm not wrong, in past gambas releases, either desktop.w or screen.w reported the total size of the available space. Now i just get 1280 (but my total desktop width is 1280*2) Version: 3.1.1 Operating system: Linux Distribution: Archlinux Architecture: x86 GUI component: QT4 Desktop used: KDE From gambas at ...2524... Tue Apr 24 18:15:17 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Apr 2012 16:15:17 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <1-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Comment #2 on issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 Ok, I'll look into it. I have a weird gdb issue however: user at ...2825...:~/tmp$ gbr2 hello.gambas Hello user at ...2825...:~/tmp$ gdb gbr2 GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later ... Reading symbols from /usr/bin/gbr2...(no debugging symbols found)...done. (gdb) run hello.gambas Starting program: /usr/bin/gbr2 hello.gambas [Thread debugging using libthread_db enabled] ERROR: #45: File or directory does not exist Program exited with code 01. So, i cannot debug gbr2 in the normal way. I get an error message from gbr2 which does not occur when invoked from the commandline outside gdb??? Any hints? This works ok on i386. Note that you can run arm programs with qemu without buying hardware: http://www.cnx-software.com/2011/10/18/raspberry-pi-emulator-in-ubuntu-with-qemu/ From gambas at ...2524... Tue Apr 24 18:40:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Apr 2012 16:40:13 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <2-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Priority-Medium Priority-Low Comment #3 on issue 242 by benoit.m... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 I will try to do the QEMU stuff, but I don't have a lot of time. gbr2 is not an executable, it is a symbolic link to gbx2. To do the debugging, you need to go the the project source directory and run the interpreter there. $ cd $ gdb gbx2 Look at the "reporting a problem" on the website. From gambas at ...2524... Tue Apr 24 18:53:50 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Apr 2012 16:53:50 +0000 Subject: [Gambas-user] Issue 241 in gambas: Potential problem with DataCombo In-Reply-To: <0-6813199134517018827-11111228267299557828-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11111228267299557828-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11111228267299557828-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 241 by benoit.m... at ...626...: Potential problem with DataCombo http://code.google.com/p/gambas/issues/detail?id=241 A DataCombo allows to link a main table and a "list" table through a common primary key field. In another words, the list table must have an integer primary key and a text field. The main table must have an integer field having the same name as the list table primary key. Then the DataCombo will be able to display the list table text field instead of just the integer value of the primary key. Look at the 'Database' example. Its FTest form uses a DataCombo. From kevinfishburne at ...1887... Tue Apr 24 20:36:49 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 24 Apr 2012 14:36:49 -0400 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <33737928.post@...1379...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <33737928.post@...1379...> Message-ID: <4F96F2C1.2020008@...1887...> On 04/24/2012 03:21 AM, charlesg wrote: > > gambas-4 wrote: >> Status: New >> New issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM >> > It's early days (you're lucky if you can actually get hold of a Raspberry > Pi) but I think a Pi with functional Gambas would have an enormous effect on > the perception and acceptance of Gambas. > > The planned route to programming with the Pi is by using Python. The lack of > integrated application gui in Python makes Gambas a much easier option. As > has been the case through the history of personal computing, kids (of all > ages) will cut their teeth writing games. Python does not lend itself to > this. Gambas does. I like that idea (I'm writing a game with GAMBAS). The RAM issue you subsequently mentioned might not be an issue, depending on gb3 and the distro's memory footprints. There are distros out there that use very little RAM. I just tested gb3's memory consumption with the world generator for my game it it uses about 70 MB of RAM just to load the project. While functionality might be limited on the Pi, it should be possible and would have the added benefit of teaching memory management. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From charles at ...1784... Wed Apr 25 08:13:54 2012 From: charles at ...1784... (charlesg) Date: Tue, 24 Apr 2012 23:13:54 -0700 (PDT) Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <4F96F2C1.2020008@...1887...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <33737928.post@...1379...> <4F96F2C1.2020008@...1887...> Message-ID: <33744502.post@...1379...> kevinfishburne wrote: > > I just tested gb3's memory consumption with the world > generator for my game it it uses about 70 MB of RAM just to load the > project. > Gambas apps may not consume RAM but I seem to remember that Gambas itself will not compile an app if the m/c does not have 384Mb. It's some time though since I tried to compile with 256Mb and failed. Memory management? :-DThe first money I ever made from computing was using an spreadsheet (Supercalc 1) under CP/M. OS, app and my spreadsheet all sat in 64Kbytes! -- View this message in context: http://old.nabble.com/Issue-242-in-gambas%3A-Gamba-forms-fail-on-Debian-ARM-tp33737503p33744502.html Sent from the gambas-user mailing list archive at Nabble.com. From bbruen at ...2308... Wed Apr 25 10:27:14 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Wed, 25 Apr 2012 17:57:14 +0930 Subject: [Gambas-user] Can't see array contents in the debugger any more? In-Reply-To: <4F969961.5070301@...1...> References: <1334306876.10514.28.camel@...2688...> <1334397510.10514.40.camel@...2688...> <4F969961.5070301@...1...> Message-ID: <1335342434.5751.22.camel@...2688...> On Tue, 2012-04-24 at 14:15 +0200, Beno?t Minisini wrote: > Le 14/04/2012 11:58, Bruce Bruen a ?crit : > > On Fri, 2012-04-13 at 18:17 +0930, Bruce Bruen wrote: > >> Some days ago I updated to rev4607, since then I can't see the contents > >> of arrays in the debugger. It displays the array class instead. > >> > >> Any input please? > >> > >> regards > >> Bruce > >> > > Beno?t, > > (Sorry about the out of line reply. I accidentally deleted your mail.) > > > > Here is a screen shot of what I get when I try to look at the statelist > > array. > > > > > > Bruce > > > > And if you click on the lamp icon in the debugger watch window? > Well, as of 4653 this problem has gone away. Magic?? To answer your question, what I got was a very skinny (thin? emaciated? narrow?) row underneath the Bounds row (about 1mm high) that was selectable but didn't actually show anything. I think I'll just go with the flow and leave this one up to the gremlins. cheers Bruce From gambas.fr at ...626... Wed Apr 25 10:51:04 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 25 Apr 2012 10:51:04 +0200 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <33744502.post@...1379...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <33737928.post@...1379...> <4F96F2C1.2020008@...1887...> <33744502.post@...1379...> Message-ID: 2012/4/25 charlesg : > > > kevinfishburne wrote: >> >> ?I just tested gb3's memory consumption with the world >> generator for my game it it uses about 70 MB of RAM just to load the >> project. >> > > Gambas apps may not consume RAM but I seem to remember that Gambas itself > will not compile an app if the m/c does not have 384Mb. It's some time > though since I tried to compile with 256Mb and failed. > > Memory management? ?:-DThe first money I ever made from computing was using > an spreadsheet (Supercalc 1) under CP/M. OS, app and my spreadsheet all sat > in 64Kbytes! > -- > View this message in context: http://old.nabble.com/Issue-242-in-gambas%3A-Gamba-forms-fail-on-Debian-ARM-tp33737503p33744502.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Gambas must be present in project Raspberry. Our goal is the same, give the new computer user, the desire to develop. I am ready to conduct the necessary tests ... but how to get one of these machines, or the test may be effected via a virtual machine? -- . Fabien Bodard From gambas at ...1... Wed Apr 25 10:57:41 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 25 Apr 2012 10:57:41 +0200 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <33737928.post@...1379...> <4F96F2C1.2020008@...1887...> <33744502.post@...1379...> Message-ID: <4F97BC85.2020600@...1...> Le 25/04/2012 10:51, Fabien Bodard a ?crit : > 2012/4/25 charlesg: >> >> >> kevinfishburne wrote: >>> >>> I just tested gb3's memory consumption with the world >>> generator for my game it it uses about 70 MB of RAM just to load the >>> project. >>> >> >> Gambas apps may not consume RAM but I seem to remember that Gambas itself >> will not compile an app if the m/c does not have 384Mb. It's some time >> though since I tried to compile with 256Mb and failed. >> >> Memory management? :-DThe first money I ever made from computing was using >> an spreadsheet (Supercalc 1) under CP/M. OS, app and my spreadsheet all sat >> in 64Kbytes! >> -- >> View this message in context: http://old.nabble.com/Issue-242-in-gambas%3A-Gamba-forms-fail-on-Debian-ARM-tp33737503p33744502.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > Gambas must be present in project Raspberry. Our goal is the same, > give the new computer user, the desire to develop. > > I am ready to conduct the necessary tests ... but how to get one of > these machines, or the test may be effected via a virtual machine? > > -- . > Fabien Bodard > Yes, with QEMU. Everything is explained on the net, just follow the link provided in the issue tracker. The problem I have is that Raspberry provides an image disk with not enough free space on it (less than 300Mb) to install all the needed development packages. I don't know how to take their image disk and add free space to it, I even don't know if it is possible. -- Beno?t Minisini From gambas at ...1... Wed Apr 25 11:03:16 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 25 Apr 2012 11:03:16 +0200 Subject: [Gambas-user] Can't see array contents in the debugger any more? In-Reply-To: <1335342434.5751.22.camel@...2688...> References: <1334306876.10514.28.camel@...2688...> <1334397510.10514.40.camel@...2688...> <4F969961.5070301@...1...> <1335342434.5751.22.camel@...2688...> Message-ID: <4F97BDD4.4050203@...1...> Le 25/04/2012 10:27, Bruce Bruen a ?crit : >> And if you click on the lamp icon in the debugger watch window? >> > Well, as of 4653 this problem has gone away. Magic?? > > To answer your question, what I got was a very skinny (thin? emaciated? > narrow?) row underneath the Bounds row (about 1mm high) that was > selectable but didn't actually show anything. > > I think I'll just go with the flow and leave this one up to the > gremlins. > > cheers > Bruce > Mmm. Strange... Nothing was changed in the IDE debugger since the one that allows to switch between array / collection contents and properties. -- Beno?t Minisini From gambas at ...1... Wed Apr 25 11:04:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 25 Apr 2012 11:04:58 +0200 Subject: [Gambas-user] Screen positions vary with resolution In-Reply-To: <4F8D0F87.7040300@...221...> References: <4F8BC5E7.6040703@...221...> <4F8BFCF7.1010209@...1...> <4F8D0F87.7040300@...221...> Message-ID: <4F97BE3A.4010705@...1...> Le 17/04/2012 08:36, Rolf-Werner Eilert a ?crit : > > Good morning Benoit, > > After thinking this over and trying around a bit this morning, I guess I > finally understood (sometimes I'm somewhat slow :-) ) > > With the higher resolution the fonts are enlarged to keep everything > comfortable and readable. Then all elements in the form are enlarged by > the same factor to keep the form about the same real-world size it had > before. My labels, however, still refer to actual XY screen pixels. > > I looked into another project this morning and found the same thing: > forms have been enlarged, fonts are wider, but not every graphic element > can follow (e. g. there is a photo shown, and it scales too small as the > frame is shown wider now). > > Trying to set this form's (Scaled) to FALSE didn't help, everything > stays large. Do you have any idea what else I could try to keep > everything as large as it was created for SXGA? > > On the other hand, I don't mind forms adapting to screen resolution, but > then I will need to somehow read their scaling factor (for such things > as the photo for instance). Is there any function for it? > > Thanks for your help. > > Regards > > Rolf > You must use MoveScale() and ResizeScaled() when creating controls manually, instead of Move() and Resize(). These functions just multiply their arguments by the scale factor (which is Desktop.Scale). Regards, -- Beno?t Minisini From gambas at ...2524... Wed Apr 25 11:08:36 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 09:08:36 +0000 Subject: [Gambas-user] Issue 244 in gambas: Several qt components ignores color.foreground property In-Reply-To: <0-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 244 by benoit.m... at ...626...: Several qt components ignores color.foreground property http://code.google.com/p/gambas/issues/detail?id=244 (No comment was entered for this change.) From gambas at ...2524... Wed Apr 25 11:10:37 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 09:10:37 +0000 Subject: [Gambas-user] Issue 244 in gambas: Several qt components ignores color.foreground property In-Reply-To: <1-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> <0-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Comment #2 on issue 244 by benoit.m... at ...626...: Several qt components ignores color.foreground property http://code.google.com/p/gambas/issues/detail?id=244 I agree for the TreeView, but not for the FileView. I can successfully change the FileView foreground color. Note that the FileView relies on the IconView control, which is not the Qt native one, but has been remade entirely in Gambas. From gambas.fr at ...626... Wed Apr 25 11:08:27 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 25 Apr 2012 11:08:27 +0200 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <4F97BC85.2020600@...1...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <33737928.post@...1379...> <4F96F2C1.2020008@...1887...> <33744502.post@...1379...> <4F97BC85.2020600@...1...> Message-ID: Le 25 avril 2012 10:57, Beno?t Minisini a ?crit : > Le 25/04/2012 10:51, Fabien Bodard a ?crit : >> 2012/4/25 charlesg: >>> >>> >>> kevinfishburne wrote: >>>> >>>> ? I just tested gb3's memory consumption with the world >>>> generator for my game it it uses about 70 MB of RAM just to load the >>>> project. >>>> >>> >>> Gambas apps may not consume RAM but I seem to remember that Gambas itself >>> will not compile an app if the m/c does not have 384Mb. It's some time >>> though since I tried to compile with 256Mb and failed. >>> >>> Memory management? ?:-DThe first money I ever made from computing was using >>> an spreadsheet (Supercalc 1) under CP/M. OS, app and my spreadsheet all sat >>> in 64Kbytes! >>> -- >>> View this message in context: http://old.nabble.com/Issue-242-in-gambas%3A-Gamba-forms-fail-on-Debian-ARM-tp33737503p33744502.html >>> Sent from the gambas-user mailing list archive at Nabble.com. >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> Gambas must be present in ?project Raspberry. Our goal is the same, >> give the new computer user, the desire to develop. >> >> I am ready to conduct the necessary tests ... but how to get one of >> these machines, or the test may be effected via a virtual machine? >> >> -- . >> Fabien Bodard >> > > Yes, with QEMU. Everything is explained on the net, just follow the link > provided in the issue tracker. > > The problem I have is that Raspberry provides an image disk with not > enough free space on it (less than 300Mb) to install all the needed > development packages. I don't know how to take their image disk and add > free space to it, I even don't know if it is possible. > > -- > Beno?t Minisini By removing py not needed paquage ? From gambas at ...2524... Wed Apr 25 11:29:21 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 09:29:21 +0000 Subject: [Gambas-user] Issue 245 in gambas: Wrong behaviour in desktop.w and screen.w on dual head? In-Reply-To: <0-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 245 by benoit.m... at ...626...: Wrong behaviour in desktop.w and screen.w on dual head? http://code.google.com/p/gambas/issues/detail?id=245 Do you know if there is a way for a guy that has only one screen to simulate a dual-head configuration? From gambas at ...2524... Wed Apr 25 11:43:24 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 09:43:24 +0000 Subject: [Gambas-user] Issue 243 in gambas: (WHISH) Allow to set header color in gridview In-Reply-To: <0-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version -Type-Bug -Priority-Medium Version-TRUNK Type-Enhancement Priority-Low Comment #1 on issue 243 by benoit.m... at ...626...: (WHISH) Allow to set header color in gridview http://code.google.com/p/gambas/issues/detail?id=243 Are the header visible with revision #4671? From adrien.prokopowicz at ...626... Wed Apr 25 02:06:02 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 25 Apr 2012 02:06:02 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <1335175513.11395.845.camel@...2150...> References: <4F934B0F.4090502@...1...> <1335175513.11395.845.camel@...2150...> Message-ID: <2291623.uAunn64K6R@...2823...> Le lundi 23 avril 2012 12:05:13 Caveat a ?crit : > Benoit and Fabien, you're both right of course. > > Sorry, I was a little frustrated by how broken gb.xml now appears to be. > > The project I've sent does allow you guys to get some serious testing in > and I'm here should you have any questions about the project and the > code. > > There are plenty of simple xml examples out on the web, the beauty of my > project is that it *should* be generic enough to read pretty much any of > those xml examples either from file or from string and doesn't have to > be told about specific tags... > > Regards, > Caveat > With the revision #4669, your projects (the 3 forms i tested) work perfectly on my side, with the Heroes.xml file. I just had to make a little modification, i think that was why the reader appeared broken (in XmlParserToModel:171, and :200) : If reader.Node.Type = XmlReaderNodeType.EndElement This didn't work because reader.Node.Type never returns EndElement. It is logical : EndElement is a State (the reader state) and reader.Node.Type is a node type. So you should use the reader.State property instead : If reader.State = XmlReaderNodeType.EndElement (Yes, the XmlReaderNodeType class should be renamed, but I can't, for compatibility reasons ... ) Regards, Adrien. From gambas at ...2524... Wed Apr 25 11:52:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 09:52:46 +0000 Subject: [Gambas-user] Issue 245 in gambas: Wrong behaviour in desktop.w and screen.w on dual head? In-Reply-To: <1-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> <0-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Comment #2 on issue 245 by benoit.m... at ...626...: Wrong behaviour in desktop.w and screen.w on dual head? http://code.google.com/p/gambas/issues/detail?id=245 I think now you should use the Screen and Screens classes. Screens.Count gives you the number of screens, and Screens[] returns a Screen object that allows you to get its geometry. Logically, there is no global available space, as two screens can have different sizes, and can be layout in many different ways. From gambas at ...2524... Wed Apr 25 12:03:48 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 10:03:48 +0000 Subject: [Gambas-user] Issue 245 in gambas: Wrong behaviour in desktop.w and screen.w on dual head? In-Reply-To: <2-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> <0-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Comment #3 on issue 245 by Kokok... at ...626...: Wrong behaviour in desktop.w and screen.w on dual head? http://code.google.com/p/gambas/issues/detail?id=245 Oh wow, i totally missed the screens class, i think i can manage to get the same info as before with it, but i'm pretty sure the generic screen.w worked in the past. If you want, tomorrow i can test an older gambas version (maybe 3.0), that (if i remember well) worked that way. Thanks. From charles at ...1784... Wed Apr 25 12:04:18 2012 From: charles at ...1784... (charlesg) Date: Wed, 25 Apr 2012 03:04:18 -0700 (PDT) Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <33737928.post@...1379...> <4F96F2C1.2020008@...1887...> <33744502.post@...1379...> Message-ID: <33745482.post@...1379...> Fabien Bodard-4 wrote: > > but how to get one of these machines? > I have emailed Raspberry Pi to see if they have any development kits. Standing in RS Components or Premier Farnell queue would I fear take forever. -- View this message in context: http://old.nabble.com/Issue-242-in-gambas%3A-Gamba-forms-fail-on-Debian-ARM-tp33737503p33745482.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Wed Apr 25 12:09:50 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 10:09:50 +0000 Subject: [Gambas-user] Issue 244 in gambas: Several qt components ignores color.foreground property In-Reply-To: <2-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> <0-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Comment #3 on issue 244 by Kokok... at ...626...: Several qt components ignores color.foreground property http://code.google.com/p/gambas/issues/detail?id=244 Well, i'm sure i cannot change fileview foreground color, even from the ide it doesn't. And i've to add listbox to the list. Attached you can see what is happening here, i tried with a qtcurve and with an oxygen style to be sure. Attachments: foreground.png 132 KB From gambas at ...2524... Wed Apr 25 12:12:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 10:12:10 +0000 Subject: [Gambas-user] Issue 243 in gambas: (WHISH) Allow to set header color in gridview In-Reply-To: <1-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> <0-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> Comment #2 on issue 243 by Kokok... at ...626...: (WHISH) Allow to set header color in gridview http://code.google.com/p/gambas/issues/detail?id=243 i wrote very bad, my fault, it is not the header to be not visible, but the text over it. I'll compile and try #4671 by tomorrow, thanks. From gambas at ...2524... Wed Apr 25 12:17:42 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 10:17:42 +0000 Subject: [Gambas-user] Issue 244 in gambas: Several qt components ignores color.foreground property In-Reply-To: <3-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> <0-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Comment #4 on issue 244 by benoit.m... at ...626...: Several qt components ignores color.foreground property http://code.google.com/p/gambas/issues/detail?id=244 Sorry, I forgot the detailed FileView view mode. Actually two Qt widgets do not work: Q3ListView and Q3ListBox, and so the Gambas controls based on them: ListBox, TreeView, ColumnView, ListView. From adrien.prokopowicz at ...626... Wed Apr 25 12:57:46 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 25 Apr 2012 12:57:46 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1335199630.3246.11.camel@...40...> References: <1335036895.3651.32.camel@...40...> <4364380.AoT6Yvi1qO@...2823...> <1335199630.3246.11.camel@...40...> Message-ID: <3274112.G1FAvfUK4y@...2823...> Le lundi 23 avril 2012 18:47:10 Charlie Reinl a ?crit : > Am Montag, den 23.04.2012, 00:39 +0200 schrieb Adrien Prokopowicz: > > Le dimanche 22 avril 2012 23:39:27 Charlie Reinl a ?crit : > > > Salut Adrien, > > > > > > works better since rev #4657. > > > > > > but I get a signal 6 at the seconde Out = XSLT.Transform(Xml, Xsl) > > > > > > here I attached a demo where you can see it. > > > > > > This (the FromXML_old is the working version before you changes) is the > > > original sub I use. > > > > You got this signal because the resulting document of XSLT.Transform(Xml, > > Xsl) was empty, and hadn't any root element. > > > > I solved the problem in the rev #4659, but you should check if your > > resulting documents are all valid, in all cases, otherwise the parser may > > crash and/or return an empty document. > > Salut Adrien, > > the attached test.tar.gz is the same project newXML as yesterday I only > activated the FromXML_old branch. > And I packed also the 2 temporary files, to show you the output. > I used gambas 3.1 r4638 for. > > What I understood till now, whether the new gb.xml is stricter then the > old one and my 2 xlst are not well done xlst-files or your > XLST.Transform does not working right yet. Yes, the new xslt.Transform is stricter that the old one, as the output document is parsed into memory via the XmlDocument parser, so it must be XML- valid. When I look at the temporary document, for me it is not an XML file, just because there isn't any root element. The W3C validator (validator.w3.org) and my parser (that shows errors in console since rev #4672) says the same thing as me. So, you'll have to add a root element (like ) to your stylesheets, for the output document to be valid, and do not raise errors when parsing. Moreover, you should put your text datas into CDATAs section, if you don't want to be annoyed by the special characters (like < > etc...). From adrien.prokopowicz at ...626... Wed Apr 25 13:00:23 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 25 Apr 2012 13:00:23 +0200 Subject: [Gambas-user] rev. 4651 and new gb.xml In-Reply-To: <1335136465.11395.839.camel@...2150...> References: <1335036895.3651.32.camel@...40...> <4364380.AoT6Yvi1qO@...2823...> <1335136465.11395.839.camel@...2150...> Message-ID: <3581223.DlF5XfRdUq@...2823...> Le lundi 23 avril 2012 01:14:25 Caveat a ?crit : > I'm now on 4659... > > ================================================= > Is FromString available in the new gb.xml or not? > ================================================= > Yes it is, since the rev #4673. From adrien.prokopowicz at ...626... Wed Apr 25 02:06:02 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 25 Apr 2012 02:06:02 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <1335175513.11395.845.camel@...2150...> References: <4F934B0F.4090502@...1...> <1335175513.11395.845.camel@...2150...> Message-ID: <2291623.uAunn64K6R@...2823...> Le lundi 23 avril 2012 12:05:13 Caveat a ?crit : > Benoit and Fabien, you're both right of course. > > Sorry, I was a little frustrated by how broken gb.xml now appears to be. > > The project I've sent does allow you guys to get some serious testing in > and I'm here should you have any questions about the project and the > code. > > There are plenty of simple xml examples out on the web, the beauty of my > project is that it *should* be generic enough to read pretty much any of > those xml examples either from file or from string and doesn't have to > be told about specific tags... > > Regards, > Caveat > With the revision #4669, your projects (the 3 forms i tested) work perfectly on my side, with the Heroes.xml file. I just had to make a little modification, i think that was why the reader appeared broken (in XmlParserToModel:171, and :200) : If reader.Node.Type = XmlReaderNodeType.EndElement This didn't work because reader.Node.Type never returns EndElement. It is logical : EndElement is a State (the reader state) and reader.Node.Type is a node type. So you should use the reader.State property instead : If reader.State = XmlReaderNodeType.EndElement (Yes, the XmlReaderNodeType class should be renamed, but I can't, for compatibility reasons ... ) Regards, Adrien. From gambas at ...2524... Wed Apr 25 13:21:25 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 11:21:25 +0000 Subject: [Gambas-user] Issue 244 in gambas: Several qt components ignores color.foreground property In-Reply-To: <4-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> <0-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Comment #5 on issue 244 by pierre.g... at ...626...: Several qt components ignores color.foreground property http://code.google.com/p/gambas/issues/detail?id=244 Fixed in revision #4674. From gambas at ...2524... Wed Apr 25 13:22:25 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 11:22:25 +0000 Subject: [Gambas-user] Issue 244 in gambas: Several qt components ignores color.foreground property In-Reply-To: <5-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> <0-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-4302279906058490165-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #6 on issue 244 by benoit.m... at ...626...: Several qt components ignores color.foreground property http://code.google.com/p/gambas/issues/detail?id=244 Fixed in revision #4674. From karl.reinl at ...9... Wed Apr 25 13:56:24 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 25 Apr 2012 13:56:24 +0200 Subject: [Gambas-user] PhotoTouch example Message-ID: <1335354984.2280.8.camel@...40...> Salut, this is destined to the author of PhotoTouch. Please test you project with a new user and nothing (no camera) attached to the computer. Because like that it crashes. Thanks -- Amicalement Charlie From gambas at ...1... Wed Apr 25 15:40:11 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 25 Apr 2012 15:40:11 +0200 Subject: [Gambas-user] PhotoTouch example In-Reply-To: <1335354984.2280.8.camel@...40...> References: <1335354984.2280.8.camel@...40...> Message-ID: <4F97FEBB.6020905@...1...> Le 25/04/2012 13:56, Karl Reinl a ?crit : > Salut, > > this is destined to the author of PhotoTouch. > > Please test you project with a new user and nothing (no camera) attached > to the computer. Because like that it crashes. > > Thanks > > Do you have more details ? -- Beno?t Minisini From ron at ...1740... Wed Apr 25 15:53:17 2012 From: ron at ...1740... (Ron) Date: Wed, 25 Apr 2012 15:53:17 +0200 Subject: [Gambas-user] PhotoTouch example In-Reply-To: <4F97FEBB.6020905@...1...> References: <1335354984.2280.8.camel@...40...> <4F97FEBB.6020905@...1...> Message-ID: <4F9801CD.1060407@...1740...> On 25-4-2012 15:40, Beno?t Minisini wrote: > Le 25/04/2012 13:56, Karl Reinl a ?crit : >> Salut, >> >> this is destined to the author of PhotoTouch. >> >> Please test you project with a new user and nothing (no camera) attached >> to the computer. Because like that it crashes. >> >> Thanks >> >> > Do you have more details ? > Don't know what the other persons error is, but here it says upon start. Null object in FMain:879 line is: ivwImage[$iIndex].EnsureVisible If I comment it, it runs as far as I can see. This is on a new svn compile (trunk) on Ubuntu 12.04 Regards_2nd, Ron. From gambas at ...1... Wed Apr 25 16:49:21 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 25 Apr 2012 16:49:21 +0200 Subject: [Gambas-user] PhotoTouch example In-Reply-To: <4F9801CD.1060407@...1740...> References: <1335354984.2280.8.camel@...40...> <4F97FEBB.6020905@...1...> <4F9801CD.1060407@...1740...> Message-ID: <4F980EF1.1050203@...1...> Le 25/04/2012 15:53, Ron a ?crit : > On 25-4-2012 15:40, Beno?t Minisini wrote: >> Le 25/04/2012 13:56, Karl Reinl a ?crit : >>> Salut, >>> >>> this is destined to the author of PhotoTouch. >>> >>> Please test you project with a new user and nothing (no camera) attached >>> to the computer. Because like that it crashes. >>> >>> Thanks >>> >>> >> Do you have more details ? >> > Don't know what the other persons error is, but here it says upon start. > > Null object in FMain:879 > > line is: ivwImage[$iIndex].EnsureVisible > > If I comment it, it runs as far as I can see. > > This is on a new svn compile (trunk) on Ubuntu 12.04 > > Regards_2nd, > Ron. > OK, fixed in revision #4675. Regards, -- Beno?t Minisini From dquinter at ...626... Wed Apr 25 18:58:57 2012 From: dquinter at ...626... (Daniel Quintero) Date: Wed, 25 Apr 2012 11:58:57 -0500 Subject: [Gambas-user] Regular Expressions :: Error with gb.pcre component Message-ID: Hello, I have an error in this line of code when I use the \s constant in the pattern: re = New Regexp(sText, "]*)>") If I use "]*)>" (Without the \s) I have no error. The error occurs when I press the F5 function key to execute the program. This is the error text: This application has raised an unexpected error and must abort. [11] Unknown symbol 'Editor' in class 'FForm'. Project.CompileError.2072 And this is the complete code: Public Sub Button1_Click() Dim re As Regexp Dim sText As String = TextArea1.Text Dim matches As New String[] Dim i As Integer ' Error with de \s constant in the pattern re = New Regexp(sText, "]*)>") Do While re.offset >= 0 And sText <> "" matches.push(re.text) If Len(sText) > Len(re.text) Then sText = Mid(sText, re.offset + Len(re.text) + 1) Else sText = "" End If If sText <> "" Then re.exec(sText) Loop For i = 0 To matches.Max Print matches[i] Next End I have attached the project to more clarity. Thanks. *_________________________* *Lic. Daniel Quintero Rojas* http://www.dquinter.com.mx http://futbol.dquinter.com.mx http://twitter.com/#!/dquinteror *?Saludos desde M?xico!________** * -------------- next part -------------- A non-text attachment was scrubbed... Name: RegularExpressions.tar.gz Type: application/x-gzip Size: 5343 bytes Desc: not available URL: From gambas at ...1... Wed Apr 25 19:35:05 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 25 Apr 2012 19:35:05 +0200 Subject: [Gambas-user] Regular Expressions :: Error with gb.pcre component In-Reply-To: References: Message-ID: <4F9835C9.9040101@...1...> Le 25/04/2012 18:58, Daniel Quintero a ?crit : > Hello, I have an error in this line of code when I use the \s constant > in the pattern: > > re = New Regexp(sText, "]*)>") > > If I use "]*)>" (Without the \s) I have no error. > > The error occurs when I press the F5 function key to execute the program. > > This is the error text: > > This application has raised an unexpected > error and must abort. > > [11] Unknown symbol 'Editor' in class 'FForm'. > Project.CompileError.2072 > > > And this is the complete code: > > > Public Sub Button1_Click() > Dim re As Regexp > Dim sText As String = TextArea1.Text > Dim matches As New String[] > Dim i As Integer > > ' Error with de \s constant in the pattern > re = New Regexp(sText, "]*)>") > Do While re.offset>= 0 And sText<> "" > matches.push(re.text) > If Len(sText)> Len(re.text) Then > sText = Mid(sText, re.offset + Len(re.text) + 1) > Else > sText = "" > End If > If sText<> "" Then re.exec(sText) > Loop > > For i = 0 To matches.Max > Print matches[i] > Next > > End > > I have attached the project to more clarity. > > Thanks. > > *_________________________* > *Lic. Daniel Quintero Rojas* > http://www.dquinter.com.mx > http://futbol.dquinter.com.mx > http://twitter.com/#!/dquinteror > > *?Saludos desde M?xico!________** > > * > This is a bug in the compiler and in your code. Do you use the last revision? If not, just fix your regular expression by quoting the '\' with another '\' (because '\' is both the quoting character in Gambas string and in regular expressions!) Regards, -- Beno?t Minisini From gambas at ...1... Wed Apr 25 19:38:13 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 25 Apr 2012 19:38:13 +0200 Subject: [Gambas-user] Fwd: I must take a break In-Reply-To: References: Message-ID: <4F983685.4050509@...1...> -------- Message original -------- Sujet: I must take a break Date : Wed, 25 Apr 2012 17:31:00 +0200 De : Dag-Jarle Johansen Pour : gambas at ...1... hi all of you! as programming all kind of stuff has bin my favourite over 35 years (besides playing e-guitar, sailing, all sort of that things norwegians do when they are fit, travel -enough). in a long time of my adult life I have worked very hard; I have sold computers, repaired them (abaut 6000), and programmed on unix, linux and windows - not the big ones, but for me as almost soloplayer it was sometimes a lot to do. the language I learned to love most is - gambas but as I went from argentina to norway again, to take care of my old father, my linux-HD broke, and a little later the whole PC. and where do I ave the backups? in argentna the real course is - every human is getting older; I am 54, but I am certain, that I worked twice as much as a normal worker. and now come the results - I can hardly keep the mouse in my hand, however I try to sleep it hurts. I will just warn a little :) - dont you extend it too long - take care of your body -you will need it later. (I am not a vegetarian, I love beer, a good wine, a good meal, the other sex..) I will be back - start from the ground, I suppose but for the moment - take care of myself. * so after this very short intrudoction -how do I get out of the mailing list?* its just too much for me at the moment keep on ging guys, this ist the best stuff ever many regards from Dag-Jarle PS. I am pprod of you From dquinter at ...626... Wed Apr 25 19:49:34 2012 From: dquinter at ...626... (Daniel Quintero) Date: Wed, 25 Apr 2012 12:49:34 -0500 Subject: [Gambas-user] Regular Expressions :: Error with gb.pcre component In-Reply-To: <4F9835C9.9040101@...1...> References: <4F9835C9.9040101@...1...> Message-ID: Mmm, I updated my Gambas 3.1 last week, I don't know exactly what revision is, but is recent. Ok, I will fix my code. Thanks. *_________________________* *Lic. Daniel Quintero Rojas* http://www.dquinter.com.mx http://futbol.dquinter.com.mx http://twitter.com/#!/dquinteror *?Saludos desde M?xico!________** * 2012/4/25 Beno?t Minisini > Le 25/04/2012 18:58, Daniel Quintero a ?crit : > > Hello, I have an error in this line of code when I use the \s > constant > > in the pattern: > > > > re = New Regexp(sText, "]*)>") > > > > If I use "]*)>" (Without the \s) I have no error. > > > > The error occurs when I press the F5 function key to execute the > program. > > > > This is the error text: > > > > This application has raised an unexpected > > error and must abort. > > > > [11] Unknown symbol 'Editor' in class 'FForm'. > > Project.CompileError.2072 > > > > > > And this is the complete code: > > > > > > Public Sub Button1_Click() > > Dim re As Regexp > > Dim sText As String = TextArea1.Text > > Dim matches As New String[] > > Dim i As Integer > > > > ' Error with de \s constant in the pattern > > re = New Regexp(sText, "]*)>") > > Do While re.offset>= 0 And sText<> "" > > matches.push(re.text) > > If Len(sText)> Len(re.text) Then > > sText = Mid(sText, re.offset + Len(re.text) + 1) > > Else > > sText = "" > > End If > > If sText<> "" Then re.exec(sText) > > Loop > > > > For i = 0 To matches.Max > > Print matches[i] > > Next > > > > End > > > > I have attached the project to more clarity. > > > > Thanks. > > > > *_________________________* > > *Lic. Daniel Quintero Rojas* > > http://www.dquinter.com.mx > > http://futbol.dquinter.com.mx > > http://twitter.com/#!/dquinteror > > > > *?Saludos desde M?xico!________** > > > > * > > > > This is a bug in the compiler and in your code. > > Do you use the last revision? If not, just fix your regular expression > by quoting the '\' with another '\' (because '\' is both the quoting > character in Gambas string and in regular expressions!) > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tobiasboege01 at ...1601... Wed Apr 25 20:24:50 2012 From: tobiasboege01 at ...1601... (tobi) Date: Wed, 25 Apr 2012 20:24:50 +0200 Subject: [Gambas-user] Regexp based highlighting Message-ID: <20120425182450.GH580@...2774...> Hi, it's some time since I last used the Highlight class together with the gb.qt4.ext Editor and I personally found it quite painful in the beginning. I hope, I did nothing wrong when I constructed a large Editor_Highlight() handler? However, my question is about a Regexp based Highlighting. Does it already exists? A sample I can provide for that, is vim. I think about implementing that (at least) when I extend the gb.ncurses component to TextBoxes and stuff (what the ncurses forms library provides), it may be of help in the GUI world, too, I'm almost sure. Remarks? (From Beno?t perhaps? I saw that there exist several Highlight* classes that do the job for quite some languages, so I _suppose_ that there's no such automatism?) Regards, Tobi From adrien.prokopowicz at ...626... Wed Apr 25 20:33:06 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 25 Apr 2012 20:33:06 +0200 Subject: [Gambas-user] Bug with Format(GB.MediumTime) Message-ID: <7258681.EaVuTBgLEY@...2823...> Hi, I use the Format() function, to make dates and times consistent, whatever the locale I use. Bun I have a problem in French with the gb.MediumTime constant, here is what it returns : ?Format(Now, GB.ShortTime) 20:26 ?Format(Now, GB.MediumTime) 08:26 With an english locale, i get 08:26 PM (that I want), shouldn't it be 20:26 in French ? Regards, Adrien. From gambas at ...1... Wed Apr 25 20:48:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 25 Apr 2012 20:48:32 +0200 Subject: [Gambas-user] Bug with Format(GB.MediumTime) In-Reply-To: <7258681.EaVuTBgLEY@...2823...> References: <7258681.EaVuTBgLEY@...2823...> Message-ID: <4F984700.6090204@...1...> Le 25/04/2012 20:33, Adrien Prokopowicz a ?crit : > Hi, > > I use the Format() function, to make dates and times consistent, whatever the > locale I use. > > Bun I have a problem in French with the gb.MediumTime constant, here is what > it returns : > > ?Format(Now, GB.ShortTime) > 20:26 > > ?Format(Now, GB.MediumTime) > 08:26 > > With an english locale, i get 08:26 PM (that I want), shouldn't it be 20:26 in > French ? > > Regards, > Adrien. > Fixed in revision #4677. Regards, -- Beno?t Minisini From gambas at ...1... Wed Apr 25 20:51:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 25 Apr 2012 20:51:32 +0200 Subject: [Gambas-user] Regexp based highlighting In-Reply-To: <20120425182450.GH580@...2774...> References: <20120425182450.GH580@...2774...> Message-ID: <4F9847B4.1000305@...1...> Le 25/04/2012 20:24, tobi a ?crit : > Hi, > > it's some time since I last used the Highlight class together with the gb.qt4.ext Editor and I > personally found it quite painful in the beginning. I hope, I did nothing wrong when I constructed a > large Editor_Highlight() handler? > However, my question is about a Regexp based Highlighting. Does it already exists? In Gambas ? No. > A sample I can > provide for that, is vim. I think about implementing that (at least) when I extend the gb.ncurses > component to TextBoxes and stuff (what the ncurses forms library provides), it may be of help in the > GUI world, too, I'm almost sure. Good idea. > Remarks? (From Beno?t perhaps? I saw that there exist several Highlight* classes that do the job for > quite some languages, so I _suppose_ that there's no such automatism?) > > Regards, > Tobi > -- Beno?t Minisini From Karl.Reinl at ...2345... Wed Apr 25 21:05:30 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 25 Apr 2012 21:05:30 +0200 Subject: [Gambas-user] PhotoTouch example In-Reply-To: <4F97FEBB.6020905@...1...> References: <1335354984.2280.8.camel@...40...> <4F97FEBB.6020905@...1...> Message-ID: <1335380730.2884.1.camel@...40...> Am Mittwoch, den 25.04.2012, 15:40 +0200 schrieb Beno?t Minisini: > Le 25/04/2012 13:56, Karl Reinl a ?crit : > > Salut, > > > > this is destined to the author of PhotoTouch. > > > > Please test you project with a new user and nothing (no camera) attached > > to the computer. Because like that it crashes. > > > > Thanks > > > > > > Do you have more details ? > Salut Beno?t, till now everything works fine about I found in rev 4676. -- Amicalement Charlie From gambas at ...2524... Wed Apr 25 21:20:23 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 19:20:23 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <3-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Comment #4 on issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 I'm getting somewhere, the call stack fails at an infinite call to pow(): (gdb) where^M #0 *pow (x=10, y=-1) at gbx_math.c:250^M #1 0x0002a504 in *pow (x=10, y=-1) at gbx_math.c:250^M #2 0x0002a504 in *pow (x=10, y=-1) at gbx_math.c:250^M #3 0x0002a504 in *pow (x=10, y=-1) at gbx_math.c:250^M #4 0x0002a504 in *pow (x=10, y=-1) at gbx_math.c:250^M #5 0x00036ad0 in read_float (option=, ^M str=, len=, ^M value=) at gbx_number.c:290^M #6 NUMBER_from_string (option=, ^M str=, len=, ^M value=) at gbx_number.c:387^M #7 0x0001dc58 in CLASS_load_without_init (class=)^M at gbx_class_load.c:1047^M #8 0x00032938 in load_exported_class (arch=)^M at gbx_archive.c:138^M #9 0x000438dc in COMPONENT_load (comp=0x6ba14) at gbx_component.c:266^M #10 0x00043d38 in COMPONENT_load_all () at gbx_component.c:127^M #11 0x00023cb0 in PROJECT_load () at gbx_project.c:465^M #12 0x00035794 in init (file=0x50651 ".") at gbx.c:112^M #13 0x00035e10 in main (argc=1, argv=) at gbx.c:336^ Note that the debugger shows your own version of powl() (gbx_math.c:250) with long doubles although read_float calls pow() and not powl() !!! Also config.h seems to lie about powl and modfl because when I change the definition the compiler complains about redefinition, so they are probably gcc builtin. Another issue is that on amd64 long floats are 16 bytes, on i386 they are 12 bytes and on arm they are 8 bytes. Somehow the problem seams related to the usage of long double. When I remove the definition of eg powl in your gbx_math.c than modules fail to load so I assume they are really used under the hood? I'll test some more. I did find a bug in gbx_math.c: your definition of #ifndef HAVE_MODFL long double modfl(long double x, long double *iptr) { double val; return modf((double)x, &val); *iptr = val; } #endif You assign *iptr after the return! I think it should be: #ifndef HAVE_MODFL long double modfl(long double x, long double *iptr) { double val; double retval= modf((double)x, &val); *iptr = val; return retval; } #endif From Gambas at ...1950... Wed Apr 25 21:23:24 2012 From: Gambas at ...1950... (Caveat) Date: Wed, 25 Apr 2012 21:23:24 +0200 Subject: [Gambas-user] New XML component In-Reply-To: <2291623.uAunn64K6R@...2823...> References: <4F934B0F.4090502@...1...> <1335175513.11395.845.camel@...2150...> <2291623.uAunn64K6R@...2823...> Message-ID: <1335381804.3142.423.camel@...2150...> Thanks Adrien! Your change has inspired me to go through and re-check the logic of my XMLParserToModel class and I have made a few changes to tighten up on checking the reader.Node for NULL and to implement the change you suggested (check state of the reader for EndElement instead of checking for a Node with type EndElement (which the old gb.xml used to return)). Both the generic XML Editor and the generic XML To TreeView Forms are working fine now. I have also successfully run the test suite which tests making changes to XML based on tags and values etc. (the module named Test in the project I sent earlier)... see results below: *************** Provide some sample XML as a String *************** inputString = 20101120123rubber duck20101120124s ponge *************** Now parse the XML ********************************* parserToModel.parseInputString(inputString) *************** Get the model out of the parserToModel object and ask it to represent itself as XML *************** parserToModel.getModel().toXMLString("") 20101120123 rubber duck 20101120124 sponge ******************************************************************************************************************* *************** Read the original Heroes input XML (See http://pastebin.com/aR11N5uc) *************** parserToModel.parseInputFile(User.home &/ "Heroes.xml") *************** Look at the original XML we have in our internal data model *************** parserToModel.getModel().toXMLString("") Claire Bennet Hayden Panettiere Rapid cellular regeneration Hiro Nakamura Masi Oka Space-time manipulation: teleportation & time travel Gabriel Sylar Zachary Quinto Understand how things work and multiple other abilities acquired Graham Graham Bell Being silly Bill Bill Odie Being very silly Tim Tim Brook Taylor Being very very silly ******************************************************************************************* *************** All existing Text Entities in /all_characters/characters/heroe/name with current value "Claire Bennet" will be updated to "Banana Pudding" *************** rewriter.updateTextByPath("/all_characters/characters/heroe/name", "Claire Bennet", "Banana Pudding") *************** All existing Text Entities in /all_characters/characters/villain/played_by will be updated to "Someone evil" regardless of the current content rewriter.updateTextByPath("/all_characters/characters/villain/played_by", NULL, "Someone evil") *************** All Text Entities with the value "Being silly" get updated to "Being a complete donut brain" rewriter.updateTextByValue("Being silly", "Being a complete donut brain") *************** Change the value of the attribute named "id" to "h1" on all Entities having an Attribute named "name" with a value of "Claire Bennet" rewriter.changeAttribute("/all_characters/characters/heroe", "name", "Claire Bennet", "id", "h1") *************** Change the value of the attribute named "id" to "h2" on all Entities having an Attribute named "name" with a value of "Hiro Nakamura" rewriter.changeAttribute("/all_characters/characters/heroe", "name", "Hiro Nakamura", "id", "h2") *************** First correct a fault in the XML (Attribute called "name" has an erroneous space at the front of the value) *************** So this will change the value of the Attribute named "name" to "Gabriel Sylar" on all Entities having an Attribute named "name" with a value of " Gabriel Sylar" (note the leading space) rewriter.changeAttribute("/all_characters/characters/villain", "name", " Gabriel Sylar", "name", "Gabriel Sylar") *************** Now continue updating the ids *************** Write out the new XML from the changed internal data model (See http://pastebin.com/T0S96xiS) rewriter.writeXML(User.home &/ "dev" &/ "NewHeroes.xml", TRUE, "UTF-8") *************** Look at the new XML from the changed internal data model *************** parserToModel.getModel().toXMLString("") Banana Pudding Hayden Panettiere Rapid cellular regeneration Hiro Nakamura Masi Oka Space-time manipulation: teleportation & time travel Gabriel Sylar Someone evil Understand how things work and multiple other abilities acquired Graham Graham Bell Being a complete donut brain Bill Bill Odie Being very silly Tim Tim Brook Taylor Being very very silly **************************************************************************************** *************** Read the original wireless-network input XML (See http://pastebin.com/4DGwdzYD) *************** parserToModel.parseInputFile(User.home &/ "/dev/xml/wireless-network.xml") *************** Look at the original XML we have in our internal data model *************** parserToModel.getModel().toXMLString("") Probe Response 54.000000 29 None AMX 00:02:E3:45:C1:F8 Lite-OnCom 9 2442 1 2447 5 ******************************************************************************************* Get the Attribute " type " from the path wireless-network infrastructure **************************************************************************************** Thanks for taking the time to look into the problems. Kind regards, Caveat On Wed, 2012-04-25 at 02:06 +0200, Adrien Prokopowicz wrote: > Le lundi 23 avril 2012 12:05:13 Caveat a ?crit : > > Benoit and Fabien, you're both right of course. > > > > Sorry, I was a little frustrated by how broken gb.xml now appears to be. > > > > The project I've sent does allow you guys to get some serious testing in > > and I'm here should you have any questions about the project and the > > code. > > > > There are plenty of simple xml examples out on the web, the beauty of my > > project is that it *should* be generic enough to read pretty much any of > > those xml examples either from file or from string and doesn't have to > > be told about specific tags... > > > > Regards, > > Caveat > > > > With the revision #4669, your projects (the 3 forms i tested) work perfectly > on my side, with the Heroes.xml file. > I just had to make a little modification, i think that was why the reader > appeared broken (in XmlParserToModel:171, and :200) : > > If reader.Node.Type = XmlReaderNodeType.EndElement > > This didn't work because reader.Node.Type never returns EndElement. It is > logical : EndElement is a State (the reader state) and reader.Node.Type is a > node type. So you should use the reader.State property instead : > > If reader.State = XmlReaderNodeType.EndElement > > (Yes, the XmlReaderNodeType class should be renamed, but I can't, for > compatibility reasons ... ) > > Regards, > Adrien. From gambas at ...2524... Wed Apr 25 21:44:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 19:44:13 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <4-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Comment #5 on issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 Eureka: user at ...2825...:/media/data/user/gamba/gambas3-3.1.1$ gcc testpow.c user at ...2825...:/media/data/user/gamba/gambas3-3.1.1$ ./a.out 8 segmentation fault user at ...2825...:/media/data/user/gamba/gambas3-3.1.1$ cat testpow.c #include #include long double powl(long double x, long double y) { return pow(x, y); } int main() { long double i= -5; printf("%d\n", sizeof(i)); for (; i<=5; i++) printf("%g\n", (double)10*pow(10,i)); } ==== So defining a version of powl causes the segfault! What happens under the hood is that the symbol powl is replaced by pow by the compiler. So the powl(long double,long double) is mapped to pow(double,double). Your powl() definition turns into double pow(double x, double y) { return pow(x, y); } A recursive funtion which eats up the stack until it segfaults. I'm now recompiling with a patched config.h: /* Define if you have modfl function. */ /* #undef HAVE_MODFL */ #define HAVE_MODFL 1 /* Define if you have powl function. */ /* #undef HAVE_POWL */ #define HAVE_POWL 1 I'm not sure about the (best) fix. Suggestions? From gambas at ...2524... Wed Apr 25 21:53:57 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 19:53:57 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <5-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Comment #6 on issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 Removing the powl() definitin results in the IDE loading a load of files and it ends in: Breakpoint 2, CLASS_load_without_init (class=0x10ec6c) at gbx_class_load.c:887 887 { $65 = 0x10ba74 "Workspace" Breakpoint 2, CLASS_load_without_init (class=0x108c7c) at gbx_class_load.c:887 887 { $66 = 0x108d14 ">Highlight" Breakpoint 2, CLASS_load_without_init (class=0x11ffbc) at gbx_class_load.c:887 887 { $67 = 0x120054 "CReportBrush" ERROR: #2: Cannot load class 'CReportBrush': Unable to load class file Program exited with code 01. ====== Any hint about the cause? The diagnostic is very terse From gambas at ...2524... Wed Apr 25 22:10:23 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Apr 2012 20:10:23 +0000 Subject: [Gambas-user] Issue 239 in gambas: Hide columns in tableview In-Reply-To: <3-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> <0-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Comment #4 on issue 239 by flynetin... at ...626...: Hide columns in tableview http://code.google.com/p/gambas/issues/detail?id=239 In my version of ubuntu 11.04. the tableview is not working properly. Attached project with tableview. When you run, the columns that should be hidden or displayed 1px width, appear with width of about 50px. Please check this Attachments: tablas-pj.tar.gz 5.7 KB From bbruen at ...2308... Wed Apr 25 23:11:30 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Thu, 26 Apr 2012 06:41:30 +0930 Subject: [Gambas-user] Custom controls based on radiobutton question Message-ID: <1335388290.4610.0.camel@...2688...> I am trying to create a customised radiobutton control. The problem I have is this. The native radiobutton control behaves according to the specification in that if more than one exists in the same parent then they automatically effect a mutually exclusive true value. In other words, setting one to true makes all the others false. However, in my custom control the immediate parent is a panel, so the grouping and "mutex?" doesn't appear to be achievable. What I probably need is a way to make the "invisible" mutex property upwardly promotable. Any ideas? Bruce From gambas at ...1... Thu Apr 26 04:31:39 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 26 Apr 2012 04:31:39 +0200 Subject: [Gambas-user] Gambas 3 on Raspberry Pi Message-ID: <4F98B38B.5070708@...1...> At least the interpreter and the compiler compile correctly (with only one strange warning). I will try to continue on compiling Gambas, but the QEMU ARM emulator is very slow, so it takes hours. -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: raspberrypi.png Type: image/png Size: 7035 bytes Desc: not available URL: From gambas at ...2524... Thu Apr 26 06:09:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 26 Apr 2012 04:09:52 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <6-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Comment #7 on issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 gamba3 runs after a recompile and install. I restored the config.h and I'm now doing a recompile with gbx_match.c changed to: ... #ifndef __arm__ #ifndef HAVE_POWL long double powl(long double x, long double y) { return pow((double) x, (double) y); } #endif #ifndef HAVE_MODFL long double modfl(long double x, long double *iptr) { double val; double retval= modf((double)x, &val); *iptr = val; return retval; } #endif #endif ... From gambas at ...2524... Thu Apr 26 06:17:56 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 26 Apr 2012 04:17:56 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <7-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Comment #8 on issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 gamba3 runs after a recompile and install. I restored the config.h and I'm now doing a recompile with the critical gbx_math.c definitions changed to: ... #ifndef __arm__ #ifndef HAVE_POWL long double powl(long double x, long double y) { return pow((double) x, (double) y); } #endif #ifndef HAVE_MODFL long double modfl(long double x, long double *iptr) { double val; double retval= modf((double)x, &val); *iptr = val; return retval; } #endif #endif ... From charles at ...1784... Thu Apr 26 08:02:52 2012 From: charles at ...1784... (charlesg) Date: Wed, 25 Apr 2012 23:02:52 -0700 (PDT) Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <33745482.post@...1379...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <33737928.post@...1379...> <4F96F2C1.2020008@...1887...> <33744502.post@...1379...> <33745482.post@...1379...> Message-ID: <33751106.post@...1379...> charlesg wrote: > > I have emailed Raspberry Pi to see if they have any development kits. > I have received a very polite reply from Eben Upton telling me to join the queue! Thinking about it, I suspect the ex-Director of Computer Science, St John's College, Cambridge would probably develop a nervous tic at the mention of anything that smells of BASIC.:-( -- View this message in context: http://old.nabble.com/Issue-242-in-gambas%3A-Gamba-forms-fail-on-Debian-ARM-tp33737503p33751106.html Sent from the gambas-user mailing list archive at Nabble.com. From Gambas at ...1950... Thu Apr 26 09:04:01 2012 From: Gambas at ...1950... (Caveat) Date: Thu, 26 Apr 2012 09:04:01 +0200 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <33751106.post@...1379...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <33737928.post@...1379...> <4F96F2C1.2020008@...1887...> <33744502.post@...1379...> <33745482.post@...1379...> <33751106.post@...1379...> Message-ID: <1335423841.3142.941.camel@...2150...> I have a Raspberry Pi on order... but no idea yet how long before it will be fulfilled. Once it arrives, of course one of my first tasks will be to try out Gambas on it :-D Are you one of the lucky few who actually has one Benoit? Anyone else on the list with one already? Regards, Caveat On Wed, 2012-04-25 at 23:02 -0700, charlesg wrote: > > charlesg wrote: > > > > I have emailed Raspberry Pi to see if they have any development kits. > > > > I have received a very polite reply from Eben Upton telling me to join the > queue! > > Thinking about it, I suspect the ex-Director of Computer Science, St John's > College, Cambridge would probably develop a nervous tic at the mention of > anything that smells of BASIC.:-( From girardhenri at ...67... Thu Apr 26 09:06:16 2012 From: girardhenri at ...67... (Girard Henri) Date: Thu, 26 Apr 2012 09:06:16 +0200 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <33751106.post@...1379...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <33737928.post@...1379...> <4F96F2C1.2020008@...1887...> <33744502.post@...1379...> <33745482.post@...1379...> <33751106.post@...1379...> Message-ID: Old daemons keep fermly ! Le 26/04/2012 08:02, charlesg a ?crit : > > charlesg wrote: >> I have emailed Raspberry Pi to see if they have any development kits. >> > I have received a very polite reply from Eben Upton telling me to join the > queue! > > Thinking about it, I suspect the ex-Director of Computer Science, St John's > College, Cambridge would probably develop a nervous tic at the mention of > anything that smells of BASIC.:-( From gambas at ...2524... Thu Apr 26 13:46:17 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 26 Apr 2012 11:46:17 +0000 Subject: [Gambas-user] Issue 245 in gambas: Wrong behaviour in desktop.w and screen.w on dual head? In-Reply-To: <3-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> <0-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Comment #4 on issue 245 by Kokok... at ...626...: Wrong behaviour in desktop.w and screen.w on dual head? http://code.google.com/p/gambas/issues/detail?id=245 I ended up in using the following code, it seems to mimic the previous desktop.h and desktop.w behaviour. However, it could fail in some uncommon layout setup, where the screens are misaligned. Public Function DektopWTotal() As Integer Dim S As Screen Dim VeryLeft As Integer = 99999 Dim VeryRight As Integer = -1 For Each s In Screens If s.AvailableX < VeryLeft Then VeryLeft = s.AvailableX If s.AvailableX + s.AvailableWidth > VeryRight Then VeryRight = s.AvailableX + s.AvailableWidth Next Return VeryRight - Veryleft End Public Function DektopHTotal() As Integer Dim S As Screen Dim VeryTop As Integer = 99999 Dim VeryBottom As Integer = -1 For Each s In Screens If s.AvailableY < VeryTop Then VeryTop = s.Availabley If s.AvailableY + s.AvailableHeight > VeryBottom Then VeryBottom = s.AvailableY + s.AvailableHeight Next Return VeryBottom - VeryTop End From gambas at ...2524... Thu Apr 26 16:02:20 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 26 Apr 2012 14:02:20 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <8-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Comment #9 on issue 242 by benoit.m... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 I'm currently trying to compile Gambas 3 with QEMU, but it takes hours and hours. I have removed all "long double" functions, as they are not used anymore in Gambas 3. So there is no need anymore to patch 'gbx_math.h' and 'gbx_math.c'. I had one some strange warning during the compilation of the interpreter, but I don't know why yet. I don't have it with gcc 4.6 on x86. From jussi.lahtinen at ...626... Thu Apr 26 16:08:43 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 26 Apr 2012 17:08:43 +0300 Subject: [Gambas-user] Gambas 3 on Raspberry Pi In-Reply-To: <4F98B38B.5070708@...1...> References: <4F98B38B.5070708@...1...> Message-ID: Opens interesting opportunities... good work! Jussi 2012/4/26 Beno?t Minisini > At least the interpreter and the compiler compile correctly (with only one > strange warning). > > I will try to continue on compiling Gambas, but the QEMU ARM emulator is > very slow, so it takes hours. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Thu Apr 26 18:02:17 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 26 Apr 2012 18:02:17 +0200 Subject: [Gambas-user] Gambas 3 runs on Raspberry Pi Message-ID: <4F997189.3020708@...1...> Hi, The Raspberry system was emulated through QEMU. Compilation takes hours. X11 Display was forwarded to the host machine. Everything is sluggish. But it works, and it's cool. :-) If you want to try, use the very last development version. Regards, -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: raspberrypi1.png Type: image/png Size: 240591 bytes Desc: not available URL: From gambas at ...2524... Thu Apr 26 18:05:05 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 26 Apr 2012 16:05:05 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <9-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #10 on issue 242 by benoit.m... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 I finally succeeded in running the Gambas 3 IDE on a Raspberry Pi QEMU emulator. So I don't think I will fix Gambas 2. Now something that could be interesting to develop is the availability to run the IDE on a x86 and debug a program running on a Raspberry Pi... From ron at ...1740... Thu Apr 26 18:36:11 2012 From: ron at ...1740... (Ron) Date: Thu, 26 Apr 2012 18:36:11 +0200 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <10-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <9-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <10-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: Gambas2 already runned on ARM before, so it doesn't seem to be much work to get it running or am I mistaken? Regards, Ron_2nd Op 26 apr. 2012 18:05 schreef het volgende: > Updates: > Status: WontFix > > Comment #10 on issue 242 by benoit.m... at ...626...: Gamba forms fail on > Debian ARM > http://code.google.com/p/gambas/issues/detail?id=242 > > I finally succeeded in running the Gambas 3 IDE on a Raspberry Pi QEMU > emulator. > > So I don't think I will fix Gambas 2. > > Now something that could be interesting to develop is the availability to > run the IDE on a x86 and debug a program running on a Raspberry Pi... > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Thu Apr 26 18:54:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 26 Apr 2012 16:54:16 +0000 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <10-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Comment #11 on issue 242 by tvijlbr... at ...626...: Gamba forms fail on Debian ARM http://code.google.com/p/gambas/issues/detail?id=242 Yes, compiling takes a while. Ok, removing the long double functions will solve the ARM issue in an elegant and efficient way. I consider the issue closed now. Gamba3 works ok on my ARM platform. Thanks for your efforts! Op 26 apr. 2012 16:02 schreef het volgende: From gambas at ...1... Thu Apr 26 18:54:25 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 26 Apr 2012 18:54:25 +0200 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <9-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <10-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> Message-ID: <4F997DC1.8050704@...1...> Le 26/04/2012 18:36, Ron a ?crit : > Gambas2 already runned on ARM before, so it doesn't seem to be much work to > get it running or am I mistaken? > I will try to compile it, but that needs some backport from Gambas 3 to remove the use of "long double", and I don't have the time now to deep into it. Regards, -- Beno?t Minisini From ron at ...1740... Thu Apr 26 20:24:15 2012 From: ron at ...1740... (Ron) Date: Thu, 26 Apr 2012 20:24:15 +0200 Subject: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM In-Reply-To: <4F997DC1.8050704@...1...> References: <0-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <9-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <10-6813199134517018827-17209943890137932842-gambas=googlecode.com@...2524...> <4F997DC1.8050704@...1...> Message-ID: I have some users of my project asking if it will run on RaspberryPi already. It's the ultimate home automation 'server' so I can understand their eager to get it running. In the mean time I continue porting my software to Gambas3, but please put it somewhere on your to do list. Thanks. Regards, Ron_2nd. Op 26 apr. 2012 18:54 schreef "Beno?t Minisini" < gambas at ...1...> het volgende: > Le 26/04/2012 18:36, Ron a ?crit : > > Gambas2 already runned on ARM before, so it doesn't seem to be much work > to > > get it running or am I mistaken? > > > > I will try to compile it, but that needs some backport from Gambas 3 to > remove the use of "long double", and I don't have the time now to deep > into it. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Apr 26 23:38:19 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 26 Apr 2012 23:38:19 +0200 Subject: [Gambas-user] Gambas 3 runs on Raspberry Pi In-Reply-To: <4F997189.3020708@...1...> References: <4F997189.3020708@...1...> Message-ID: Le 26 avril 2012 18:02, Beno?t Minisini a ?crit : > Hi, > > The Raspberry system was emulated through QEMU. Compilation takes hours. > X11 Display was forwarded to the host machine. Everything is sluggish. > > But it works, and it's cool. :-) > > If you want to try, use the very last development version. > > Regards, > > Really, Really good news :) > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Fabien Bodard From gambas at ...1... Fri Apr 27 04:39:05 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 27 Apr 2012 04:39:05 +0200 Subject: [Gambas-user] gambas3 library pathes In-Reply-To: <1335382297.2164.9.camel@...2735...> References: <8D42310D957CFB46AA11921A711D4D16058B8F0849@...1899...> <1334936606.2444.26.camel@...2735...> <4F918D0B.4060709@...1...> <1334974674.2444.64.camel@...2735...> <1334975536.2313.3.camel@...1833...> <1334982998.2444.91.camel@...2735...> <4F954401.7050107@...1...> <1335212581.2074.28.camel@...2735...> <4F95CA36.6080000@...1...> <1335228421.2074.39.camel@...2735...> <4F9848A7.6090700@...1...> <1335382297.2164.9.camel@...2735...> Message-ID: <4F9A06C9.9030301@...1...> Le 25/04/2012 21:31, Willy Raets a ?crit : > On wo, 2012-04-25 at 20:55 +0200, Beno?t Minisini wrote: >> dpkg -i testlibapp_0.0.1-1_all.deb > > Hi Beno?t, > > Tried it with little success. Still complains about mylib not being > installed. see attached screenshot. > Does it work on your distribution. I attached the Ubuntu packages so you > can try yourself (if on Ubuntu based distro). Already send source in > other mail. > > Thanks, > > Willy Hi, I finally succeeded in understanding what happens on Debian/Ubuntu. First there was a bug of mine which included the version number inside the package name when defining dependencies. Bad idea... Now it is fixed. But now comes how Debian compares version number (I will call that "Debian cretinism" now). In the Gambas packager, you can name your package with the major & minor version number (MyLib-0.0) or with the major, the minor and the release number (MyLib-0.0.1). The first one is the default. Debian adds its own debian release number by default which is "1" and a minus sign just before. So your library is named "mylib-0.0-1". The dependency keeps the three version number: "mylib > 0.0.0, mylib << 0.0.90". Note that Gambas assumes that all release between 0 and 90 are compatible - Which is stupid too and I will change that. But when comparing "0.0-1" with "0.0.0", Debian compares the "." with the "-", and decides that "0.0-1" < "0.0.0" (or "0.0-1" > "0.0.90") ! Arrgh ! At the moment, you can solve that by checking "Insert release number in package version" when generating the MyLib package. In the future (soon), I will remove this option, and always use the entire version for package numbers. I hope I was clear enough (it's very late). Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Fri Apr 27 05:08:20 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 26 Apr 2012 23:08:20 -0400 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition Message-ID: <4F9A0DA4.8050001@...1887...> I'm using the latest build and have this code: If Zoom.Adjustment * 0.5 >= Zoom.Maximum Then Zoom.Adjustment = Zoom.Adjustment * 0.5 Endif Zoom.Adjustment and Zoom.Maximum are both singles. Zoom.Adjustment is 1 and Zoom.Maximum is 0.5. The expression with these values returns False, which is blowing my mind. The same, untouched code worked fine before my recompile this evening. Any insight into WTF is going on here? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Fri Apr 27 05:17:20 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 27 Apr 2012 05:17:20 +0200 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition In-Reply-To: <4F9A0DA4.8050001@...1887...> References: <4F9A0DA4.8050001@...1887...> Message-ID: <4F9A0FC0.5080500@...1...> Le 27/04/2012 05:08, Kevin Fishburne a ?crit : > I'm using the latest build and have this code: > > If Zoom.Adjustment * 0.5>= Zoom.Maximum Then > Zoom.Adjustment = Zoom.Adjustment * 0.5 > Endif > > Zoom.Adjustment and Zoom.Maximum are both singles. Zoom.Adjustment is 1 > and Zoom.Maximum is 0.5. The expression with these values returns False, > which is blowing my mind. The same, untouched code worked fine before my > recompile this evening. Any insight into WTF is going on here? > ?CSingle(1) * 0.5 - CSingle(0.5) -1,1102230246252E-16 0.5 is a Float, so CSingle(1) * 0.5 is a Float before doing the comparison. You must write CSingle(0.5) to get a Single "0.5", and not a Float "0.5". AFAIK 0.5 should be the same as a Float or as a Single (1*2^-1) (a Gambas bug?), but anyway you must use CSingle for the other cases. Regards, -- Beno?t Minisini From gambas at ...2524... Fri Apr 27 10:06:17 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 27 Apr 2012 08:06:17 +0000 Subject: [Gambas-user] Issue 243 in gambas: (WHISH) Allow to set header color in gridview In-Reply-To: <2-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> <0-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> Comment #3 on issue 243 by Kokok... at ...626...: (WHISH) Allow to set header color in gridview http://code.google.com/p/gambas/issues/detail?id=243 Sorry for the late, yesterday my connection was so bad it was unable to get the latest svn revision. I checked now, it works fine, thanks From mohareve at ...626... Fri Apr 27 12:24:50 2012 From: mohareve at ...626... (M. Cs.) Date: Fri, 27 Apr 2012 12:24:50 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE Message-ID: I've installed Precise KDE today and also Gambas3 3.1.1 from Kendek's PPA. The problem is, when I start to type a code into IDE editor, there's a dislocation of cursor. The cursor is actually 1 place to the right instead of the right position. So It is difficult to use it. Any ideas? From gambas at ...1... Fri Apr 27 12:36:39 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 27 Apr 2012 12:36:39 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE In-Reply-To: References: Message-ID: <4F9A76B7.70005@...1...> Le 27/04/2012 12:24, M. Cs. a ?crit : > I've installed Precise KDE today and also Gambas3 3.1.1 from Kendek's PPA. > The problem is, when I start to type a code into IDE editor, there's a > dislocation of cursor. The cursor is actually 1 place to the right > instead of the right position. So It is difficult to use it. > > Any ideas? > No. Please provide a screenshot, and try to change the font. Regards, -- Beno?t Minisini From mohareve at ...626... Fri Apr 27 12:48:18 2012 From: mohareve at ...626... (M. Cs.) Date: Fri, 27 Apr 2012 12:48:18 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE In-Reply-To: <4F9A76B7.70005@...1...> References: <4F9A76B7.70005@...1...> Message-ID: Thanks! Changing the font from Monospace to Ubuntu solved the thing. Csaba 2012/4/27, Beno?t Minisini : > Le 27/04/2012 12:24, M. Cs. a ?crit : >> I've installed Precise KDE today and also Gambas3 3.1.1 from Kendek's >> PPA. >> The problem is, when I start to type a code into IDE editor, there's a >> dislocation of cursor. The cursor is actually 1 place to the right >> instead of the right position. So It is difficult to use it. >> >> Any ideas? >> > > No. Please provide a screenshot, and try to change the font. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Fri Apr 27 15:30:39 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 27 Apr 2012 13:30:39 +0000 Subject: [Gambas-user] Issue 240 in gambas: CheckBox Tristate View on Runtime In-Reply-To: <4-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> <0-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Comment #5 on issue 240 by benoit.m... at ...626...: CheckBox Tristate View on Runtime http://code.google.com/p/gambas/issues/detail?id=240 Here is two screenshots of the three states of tristate checkboxes displayed by a Gambas program using gb.gtk. The first one uses Ambiance theme, the seconde one Clearlooks. What I see seems perfectly normal. Attachments: tristate.png 3.0 KB tristate2.png 2.2 KB From gambas at ...2524... Fri Apr 27 15:31:39 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 27 Apr 2012 13:31:39 +0000 Subject: [Gambas-user] Issue 243 in gambas: (WHISH) Allow to set header color in gridview In-Reply-To: <3-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> <0-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-7338867300235049154-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 243 by benoit.m... at ...626...: (WHISH) Allow to set header color in gridview http://code.google.com/p/gambas/issues/detail?id=243 (No comment was entered for this change.) From gambas at ...2524... Fri Apr 27 15:34:02 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 27 Apr 2012 13:34:02 +0000 Subject: [Gambas-user] Issue 245 in gambas: Wrong behaviour in desktop.w and screen.w on dual head? In-Reply-To: <4-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> <0-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-16154325685900664624-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #5 on issue 245 by benoit.m... at ...626...: Wrong behaviour in desktop.w and screen.w on dual head? http://code.google.com/p/gambas/issues/detail?id=245 You should use the Rect class and its Union() method. It's easier with it. From gambas at ...2524... Fri Apr 27 15:37:33 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 27 Apr 2012 13:37:33 +0000 Subject: [Gambas-user] Issue 239 in gambas: Hide columns in tableview In-Reply-To: <4-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> <0-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 239 by benoit.m... at ...626...: Hide columns in tableview http://code.google.com/p/gambas/issues/detail?id=239 This is because you set the column width before the column title. When setting the column title, the column width is adjusted to the title width. Just do the contrary: set the column title, and then the column width. From gambas at ...2524... Fri Apr 27 15:58:09 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 27 Apr 2012 13:58:09 +0000 Subject: [Gambas-user] Issue 239 in gambas: Hide columns in tableview In-Reply-To: <5-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> <0-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-11195556639968624019-gambas=googlecode.com@...2524...> Comment #6 on issue 239 by flynetin... at ...626...: Hide columns in tableview http://code.google.com/p/gambas/issues/detail?id=239 What disoriented me is that in previous versions worked fine that way. I'll have to correct the order in all programs. Thanks From gambas at ...2524... Fri Apr 27 16:06:03 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 27 Apr 2012 14:06:03 +0000 Subject: [Gambas-user] Issue 240 in gambas: CheckBox Tristate View on Runtime In-Reply-To: <5-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> <0-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Comment #6 on issue 240 by kmanja... at ...626...: CheckBox Tristate View on Runtime http://code.google.com/p/gambas/issues/detail?id=240 That's proof enough for me there's something wrong on my end and it's not related to Gambas. I will continue using the Qt Widget for the time being until I get around fixing it. Btw, thanks again for taking the time to look into this and please feel free to close this issue report... Regards, Analekto From lknetpl at ...626... Fri Apr 27 20:17:02 2012 From: lknetpl at ...626... (l k) Date: Fri, 27 Apr 2012 20:17:02 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE In-Reply-To: References: Message-ID: I have a feeling that this problem affects only Ubuntu. I changed the font in the editor to FreeMono, and helped. In Fedora 16 I did not have this problem. Regards, LeszekK moonsterbike.com 2012/4/27, M. Cs. : > I've installed Precise KDE today and also Gambas3 3.1.1 from Kendek's PPA. > The problem is, when I start to type a code into IDE editor, there's a > dislocation of cursor. The cursor is actually 1 place to the right > instead of the right position. So It is difficult to use it. > > Any ideas? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Serdecznie pozdrawiam, Leszek Kubiszewski From jussi.lahtinen at ...626... Fri Apr 27 20:44:08 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 27 Apr 2012 21:44:08 +0300 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition In-Reply-To: <4F9A0FC0.5080500@...1...> References: <4F9A0DA4.8050001@...1887...> <4F9A0FC0.5080500@...1...> Message-ID: If Sin(0.5) ^ 2 + Cos(0.5) ^ 2 <> 1 Then Print "This shouldn't be seen, but it is." Endif ? format((Sin(0.5) ^ 2 + Cos(0.5) ^ 2),"#.########################") 1 What is going on? Jussi 2012/4/27 Beno?t Minisini > Le 27/04/2012 05:08, Kevin Fishburne a ?crit : > > I'm using the latest build and have this code: > > > > If Zoom.Adjustment * 0.5>= Zoom.Maximum Then > > Zoom.Adjustment = Zoom.Adjustment * 0.5 > > Endif > > > > Zoom.Adjustment and Zoom.Maximum are both singles. Zoom.Adjustment is 1 > > and Zoom.Maximum is 0.5. The expression with these values returns False, > > which is blowing my mind. The same, untouched code worked fine before my > > recompile this evening. Any insight into WTF is going on here? > > > > ?CSingle(1) * 0.5 - CSingle(0.5) > -1,1102230246252E-16 > > 0.5 is a Float, so CSingle(1) * 0.5 is a Float before doing the comparison. > > You must write CSingle(0.5) to get a Single "0.5", and not a Float "0.5". > > AFAIK 0.5 should be the same as a Float or as a Single (1*2^-1) (a > Gambas bug?), but anyway you must use CSingle for the other cases. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nando_f at ...951... Fri Apr 27 21:35:03 2012 From: nando_f at ...951... (nando) Date: Fri, 27 Apr 2012 15:35:03 -0400 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition In-Reply-To: References: <4F9A0DA4.8050001@...1887...> <4F9A0FC0.5080500@...1...> Message-ID: <20120427193141.M30847@...951...> Notice that -1,1102230246252E-16 is -0.00000000000000011102230246252 which can be viewed as 'zero' in certain circumstances. If I may suggest.. Use an INT to control your zoom levels then work the trig from that. The INT for zoom would be your primary data. Using floats can be very messy over many calculations. -Nando ---------- Original Message ----------- From: Jussi Lahtinen To: mailing list for gambas users Sent: Fri, 27 Apr 2012 21:44:08 +0300 Subject: Re: [Gambas-user] gb3: incorrect solution to If...Then condition > If Sin(0.5) ^ 2 + Cos(0.5) ^ 2 <> 1 Then > Print "This shouldn't be seen, but it is." > Endif > > ? format((Sin(0.5) ^ 2 + Cos(0.5) ^ 2),"#.########################") > 1 > > What is going on? > > Jussi > > 2012/4/27 Beno?t Minisini > > > Le 27/04/2012 05:08, Kevin Fishburne a ?crit : > > > I'm using the latest build and have this code: > > > > > > If Zoom.Adjustment * 0.5>= Zoom.Maximum Then > > > Zoom.Adjustment = Zoom.Adjustment * 0.5 > > > Endif > > > > > > Zoom.Adjustment and Zoom.Maximum are both singles. Zoom.Adjustment is 1 > > > and Zoom.Maximum is 0.5. The expression with these values returns False, > > > which is blowing my mind. The same, untouched code worked fine before my > > > recompile this evening. Any insight into WTF is going on here? > > > > > > > ?CSingle(1) * 0.5 - CSingle(0.5) > > -1,1102230246252E-16 > > > > 0.5 is a Float, so CSingle(1) * 0.5 is a Float before doing the comparison. > > > > You must write CSingle(0.5) to get a Single "0.5", and not a Float "0.5". > > > > AFAIK 0.5 should be the same as a Float or as a Single (1*2^-1) (a > > Gambas bug?), but anyway you must use CSingle for the other cases. > > > > Regards, > > > > -- > > Beno?t Minisini > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From mohareve at ...626... Fri Apr 27 21:52:21 2012 From: mohareve at ...626... (M. Cs.) Date: Fri, 27 Apr 2012 21:52:21 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE In-Reply-To: References: Message-ID: Maybe it does. Although I marked this problem as solved after changing the font, the problem also persist with the new font selection too. Kendek, the packager for Ubuntu's PPA also confirmed that since v. 3.0 he did encounter several times this problem. Now I use to change the font's size and this solves the problem temporary. Csaba 2012/4/27, l k : > I have a feeling that this problem affects only Ubuntu. I changed the > font in the editor to FreeMono, and helped. In Fedora 16 I did not > have this problem. > > Regards, > LeszekK > > moonsterbike.com > > 2012/4/27, M. Cs. : >> I've installed Precise KDE today and also Gambas3 3.1.1 from Kendek's >> PPA. >> The problem is, when I start to type a code into IDE editor, there's a >> dislocation of cursor. The cursor is actually 1 place to the right >> instead of the right position. So It is difficult to use it. >> >> Any ideas? >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > -- > Serdecznie pozdrawiam, > > Leszek Kubiszewski > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Apr 28 00:01:10 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Apr 2012 00:01:10 +0200 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition In-Reply-To: References: <4F9A0DA4.8050001@...1887...> <4F9A0FC0.5080500@...1...> Message-ID: <4F9B1726.6060009@...1...> Le 27/04/2012 20:44, Jussi Lahtinen a ?crit : > If Sin(0.5) ^ 2 + Cos(0.5) ^ 2<> 1 Then > Print "This shouldn't be seen, but it is." > Endif > > > ? format((Sin(0.5) ^ 2 + Cos(0.5) ^ 2),"#.########################") > 1 > > What is going on? > > > Jussi > It's very strange actually. There is optimization in the "^" operator. If the power is an integer between -4 and +4, standard multiplication and division are used instead of the pow() mathematical function. In other words, Sin(0.5) ^ 2 = Sin(0.5) * Sin(0.5). If you want to force the use of the pow() function, write 'Sin(0.5) ^ 2.0'. And then comes the strangeness: Sin(0.5) * Sin(0.5) does not return the same value as Sin(0.5) ^ 2.0 ! And Sin(0.5) ^ 2.0 + Cos(0.5) ^ 2.0 does return 1.0. But not Sin(0.5)*Sin(0.5) + Cos(0.5)*Cos(0.5), which should be more accurate! If someone has an explanation... -- Beno?t Minisini From gambas at ...1... Sat Apr 28 00:02:06 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Apr 2012 00:02:06 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE In-Reply-To: References: Message-ID: <4F9B175E.6010608@...1...> Le 27/04/2012 21:52, M. Cs. a ?crit : > Maybe it does. Although I marked this problem as solved after changing > the font, the problem also persist with the new font selection too. > Kendek, the packager for Ubuntu's PPA also confirmed that since v. 3.0 > he did encounter several times this problem. Now I use to change the > font's size and this solves the problem temporary. > > Csaba > I have just upgraded to Ubuntu 12.04, I'm going to check... -- Beno?t Minisini From gambas at ...1... Sat Apr 28 00:05:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Apr 2012 00:05:12 +0200 Subject: [Gambas-user] Weird bug in Gambas 3.1.1 IDE In-Reply-To: <4F9B175E.6010608@...1...> References: <4F9B175E.6010608@...1...> Message-ID: <4F9B1818.7090004@...1...> Le 28/04/2012 00:02, Beno?t Minisini a ?crit : > Le 27/04/2012 21:52, M. Cs. a ?crit : >> Maybe it does. Although I marked this problem as solved after changing >> the font, the problem also persist with the new font selection too. >> Kendek, the packager for Ubuntu's PPA also confirmed that since v. 3.0 >> he did encounter several times this problem. Now I use to change the >> font's size and this solves the problem temporary. >> >> Csaba >> > > I have just upgraded to Ubuntu 12.04, I'm going to check... > No problem at all. Can you give me: - A font that has the problem, but that is not "Monospace" (which is not a true font, but a shortcut to another font). - The size of the font. - The resolution of the X11 server, as returned by "xdpyinfo | grep resolution" Thanks in advance. -- Beno?t Minisini From willy at ...2734... Sat Apr 28 00:51:23 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 28 Apr 2012 00:51:23 +0200 Subject: [Gambas-user] Making installation package from IDE for Slackware fails In-Reply-To: <4F9B1726.6060009@...1...> References: <4F9A0DA4.8050001@...1887...> <4F9A0FC0.5080500@...1...> <4F9B1726.6060009@...1...> Message-ID: <1335567083.5735.5.camel@...2735...> Hi all, I just tried making installation packages in Gambas3 of one of my applications. All packages but Slackware are made correctly. Slackware fails. See attached screenshot for details Willy [System] OperatingSystem=Linux Kernel=2.6.32-41-generic Architecture=i686 Memory=1017160 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome [Gambas 2] Version=2.22.0 Path=/usr/bin/gbx2 [Gambas 3] Version=3.1.90 - revision 4684 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 -------------- next part -------------- A non-text attachment was scrubbed... Name: PackageSlackware.png Type: image/png Size: 17024 bytes Desc: not available URL: From jussi.lahtinen at ...626... Sat Apr 28 01:24:12 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 28 Apr 2012 02:24:12 +0300 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition In-Reply-To: <4F9B1726.6060009@...1...> References: <4F9A0DA4.8050001@...1887...> <4F9A0FC0.5080500@...1...> <4F9B1726.6060009@...1...> Message-ID: At least the problem is unrelated to sin and cos... ? format(0.47942553860420300027 ^ 2 - 0.22984884706593014129,"#.######################") - .0000000000000012212453 ? format(0.47942553860420300027 ^ 2.0 - 0.22984884706593014129 ,"#.######################") - .0000000000000011379786 Jussi 2012/4/28 Beno?t Minisini > Le 27/04/2012 20:44, Jussi Lahtinen a ?crit : > > If Sin(0.5) ^ 2 + Cos(0.5) ^ 2<> 1 Then > > Print "This shouldn't be seen, but it is." > > Endif > > > > > > ? format((Sin(0.5) ^ 2 + Cos(0.5) ^ 2),"#.########################") > > 1 > > > > What is going on? > > > > > > Jussi > > > > It's very strange actually. > > There is optimization in the "^" operator. If the power is an integer > between -4 and +4, standard multiplication and division are used instead > of the pow() mathematical function. > > In other words, Sin(0.5) ^ 2 = Sin(0.5) * Sin(0.5). > > If you want to force the use of the pow() function, write 'Sin(0.5) ^ 2.0'. > > And then comes the strangeness: Sin(0.5) * Sin(0.5) does not return the > same value as Sin(0.5) ^ 2.0 ! And Sin(0.5) ^ 2.0 + Cos(0.5) ^ 2.0 does > return 1.0. But not Sin(0.5)*Sin(0.5) + Cos(0.5)*Cos(0.5), which should > be more accurate! > > If someone has an explanation... > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Apr 28 04:52:26 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Apr 2012 04:52:26 +0200 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition In-Reply-To: References: <4F9A0DA4.8050001@...1887...> <4F9A0FC0.5080500@...1...> <4F9B1726.6060009@...1...> Message-ID: <4F9B5B6A.1010404@...1...> Le 28/04/2012 01:24, Jussi Lahtinen a ?crit : > At least the problem is unrelated to sin and cos... > > ? format(0.47942553860420300027 ^ 2 - > 0.22984884706593014129,"#.######################") > - .0000000000000012212453 > > ? format(0.47942553860420300027 ^ 2.0 - 0.22984884706593014129 > ,"#.######################") > - .0000000000000011379786 > > > Jussi > > Hi, OK, I found the bug. The gambas floating point parser incorrectly took into account the leading zero decimal digits. In other words 2.0 was computed as 20 * 10 ^ -1, 2.00 as 200 * 10 ^ -2. Now it is just 2. Consequently, now 2.0 - 2 = 0, and cos(0.5) ^ 2.0 - cos(0.5) ^ 2 = 0. But cos(0.5) ^ 2 + sin(0.5) ^ 2 keeps being not exactly 1.0. Because the gambas algorithm is not the same as the libc algorithm. In gambas 0.5 is computed as 5 * 10 ^ -1, which does not give the exact binary representation of 2 ^ -1. I will investigate... -- Beno?t Minisini From charles at ...1784... Sat Apr 28 08:58:07 2012 From: charles at ...1784... (charlesg) Date: Fri, 27 Apr 2012 23:58:07 -0700 (PDT) Subject: [Gambas-user] Gambas 3 runs on Raspberry Pi In-Reply-To: <4F997189.3020708@...1...> References: <4F997189.3020708@...1...> Message-ID: <33762965.post@...1379...> Beno?t Minisini wrote: > > But it works, and it's cool. :-) > I sent Raspberry Pi the screendump and had the following reply from Eben Upton: "Oh, very cool. We'll try to help you guys jump the queue for some units when we get the next batch in." Fingers crossed. -- View this message in context: http://old.nabble.com/Gambas-3-runs-on-Raspberry-Pi-tp33754003p33762965.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Apr 28 15:26:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Apr 2012 15:26:19 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 Message-ID: <4F9BEFFB.9090007@...1...> Hi, I'm continue in fixing problems in library and component packaging. Here are the last news... Since revision #4687, there is now a project type option in the project properties dialog, which allows to make the difference between a normal project, a library and a component. What are the differences between the three types? 1) LIBRARY - There is a library/component properties dialog. - No icon is packaged. - No menu entry is defined in the package. - The package name is "projectname-X.Y.Z" where "X.Y.Z" is the version. - The vendor can be added as a prefix optionally. - The package has dependencies on other components and libraries checked in the project properties dialog. 2) COMPONENT - There is a library/component properties dialog. - No icon is packaged. - No menu entry is defined in the package. - If the project has control icons, they are packaged. - The package name is "gambas-vendor-projectname-X.Y.Z" where "X.Y.Z" is the version. - The vendor prefix is mandatory, it is "gb" by default. - The package has no dependencies on other components and libraries. This is supposed to be managed directly by the IDE. Components are a special beast that should be included directly in Gambas sources. 3) NORMAL PROJECT - There is no library/component properties dialog. - The "make executable" dialog can create a desktop shortcut automatically. - The packager has an icon and a menu entry. - The package name is "ProjectName-X.Y.Z" where "X.Y.Z" is the version. - The vendor can be added as a prefix optionally. - The package has dependencies on other components and libraries checked in the project properties dialog. Please try it and give your remarks! Regards, -- Beno?t Minisini From willy at ...2734... Sat Apr 28 15:38:32 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 28 Apr 2012 15:38:32 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9BEFFB.9090007@...1...> References: <4F9BEFFB.9090007@...1...> Message-ID: <1335620312.2396.7.camel@...2735...> On za, 2012-04-28 at 15:26 +0200, Beno?t Minisini wrote: > Hi, > > I'm continue in fixing problems in library and component packaging. Here > are the last news... > > Since revision #4687, there is now a project type option in the project > properties dialog, which allows to make the difference between a normal > project, a library and a component. > Great going, I'm looking forward to a test run this evening. > What are the differences between the three types? > > 1) LIBRARY > > - There is a library/component properties dialog. > - No icon is packaged. > - No menu entry is defined in the package. > - The package name is "projectname-X.Y.Z" where "X.Y.Z" is the version. > - The vendor can be added as a prefix optionally. > - The package has dependencies on other components and libraries checked > in the project properties dialog. > > 2) COMPONENT > > - There is a library/component properties dialog. > - No icon is packaged. > - No menu entry is defined in the package. > - If the project has control icons, they are packaged. > - The package name is "gambas-vendor-projectname-X.Y.Z" where "X.Y.Z" is > the version. > - The vendor prefix is mandatory, it is "gb" by default. > - The package has no dependencies on other components and libraries. > This is supposed to be managed directly by the IDE. Components are a > special beast that should be included directly in Gambas sources. > > 3) NORMAL PROJECT > > - There is no library/component properties dialog. > - The "make executable" dialog can create a desktop shortcut automatically. > - The packager has an icon and a menu entry. > - The package name is "ProjectName-X.Y.Z" where "X.Y.Z" is the version. > - The vendor can be added as a prefix optionally. > - The package has dependencies on other components and libraries checked > in the project properties dialog. > > Please try it and give your remarks! > Clearly explained and I'll get back to you later. Many thanks as I can use this very well. This really boosts up possibilities being able to decently distribute libraries. Willy From gambas at ...1... Sat Apr 28 17:11:47 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Apr 2012 17:11:47 +0200 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition In-Reply-To: <4F9B5B6A.1010404@...1...> References: <4F9A0DA4.8050001@...1887...> <4F9A0FC0.5080500@...1...> <4F9B1726.6060009@...1...> <4F9B5B6A.1010404@...1...> Message-ID: <4F9C08B3.2000605@...1...> Le 28/04/2012 04:52, Beno?t Minisini a ?crit : > Le 28/04/2012 01:24, Jussi Lahtinen a ?crit : >> At least the problem is unrelated to sin and cos... >> >> ? format(0.47942553860420300027 ^ 2 - >> 0.22984884706593014129,"#.######################") >> - .0000000000000012212453 >> >> ? format(0.47942553860420300027 ^ 2.0 - 0.22984884706593014129 >> ,"#.######################") >> - .0000000000000011379786 >> >> >> Jussi >> >> > > Hi, > > OK, I found the bug. > > The gambas floating point parser incorrectly took into account the > leading zero decimal digits. > > In other words 2.0 was computed as 20 * 10 ^ -1, 2.00 as 200 * 10 ^ -2. > Now it is just 2. > > Consequently, now 2.0 - 2 = 0, and cos(0.5) ^ 2.0 - cos(0.5) ^ 2 = 0. > > But cos(0.5) ^ 2 + sin(0.5) ^ 2 keeps being not exactly 1.0. Because the > gambas algorithm is not the same as the libc algorithm. In gambas 0.5 is > computed as 5 * 10 ^ -1, which does not give the exact binary > representation of 2 ^ -1. > > I will investigate... > Hi, Precision bugs should be fixed now since revision #4688. ?cos(0.5)^2+sin(0.5)^2 1 ?0.5 - 1/2 0 Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Apr 28 18:14:42 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 28 Apr 2012 19:14:42 +0300 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition In-Reply-To: <4F9C08B3.2000605@...1...> References: <4F9A0DA4.8050001@...1887...> <4F9A0FC0.5080500@...1...> <4F9B1726.6060009@...1...> <4F9B5B6A.1010404@...1...> <4F9C08B3.2000605@...1...> Message-ID: Everything seems to work now! Jussi On Sat, Apr 28, 2012 at 18:11, Beno?t Minisini wrote: > Le 28/04/2012 04:52, Beno?t Minisini a ?crit : > > Le 28/04/2012 01:24, Jussi Lahtinen a ?crit : > >> At least the problem is unrelated to sin and cos... > >> > >> ? format(0.47942553860420300027 ^ 2 - > >> 0.22984884706593014129,"#.######################") > >> - .0000000000000012212453 > >> > >> ? format(0.47942553860420300027 ^ 2.0 - 0.22984884706593014129 > >> ,"#.######################") > >> - .0000000000000011379786 > >> > >> > >> Jussi > >> > >> > > > > Hi, > > > > OK, I found the bug. > > > > The gambas floating point parser incorrectly took into account the > > leading zero decimal digits. > > > > In other words 2.0 was computed as 20 * 10 ^ -1, 2.00 as 200 * 10 ^ -2. > > Now it is just 2. > > > > Consequently, now 2.0 - 2 = 0, and cos(0.5) ^ 2.0 - cos(0.5) ^ 2 = 0. > > > > But cos(0.5) ^ 2 + sin(0.5) ^ 2 keeps being not exactly 1.0. Because the > > gambas algorithm is not the same as the libc algorithm. In gambas 0.5 is > > computed as 5 * 10 ^ -1, which does not give the exact binary > > representation of 2 ^ -1. > > > > I will investigate... > > > > Hi, > > Precision bugs should be fixed now since revision #4688. > > ?cos(0.5)^2+sin(0.5)^2 > 1 > > ?0.5 - 1/2 > 0 > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...2734... Sun Apr 29 00:14:12 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 29 Apr 2012 00:14:12 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9BEFFB.9090007@...1...> References: <4F9BEFFB.9090007@...1...> Message-ID: <1335651252.2158.11.camel@...2735...> On za, 2012-04-28 at 15:26 +0200, Beno?t Minisini wrote: > Please try it and give your remarks! > Tested with revision 4688 Quite an improvement. Library packages just fine. Upon installation Ubuntu recognizes it as a library (see screenshot library). Application depending on library gives a strange message in Ubuntu Software Center, but does install (see screenshot before and after) Some small bug in packaging? Great work...thanks, Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: AppUsingLibrary-after.png Type: image/png Size: 38760 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: AppUsingLibrary-before.png Type: image/png Size: 51975 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Library.png Type: image/png Size: 27724 bytes Desc: not available URL: From willy at ...2734... Sun Apr 29 01:01:37 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 29 Apr 2012 01:01:37 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9BEFFB.9090007@...1...> References: <4F9BEFFB.9090007@...1...> Message-ID: <1335654097.2158.13.camel@...2735...> On za, 2012-04-28 at 15:26 +0200, Beno?t Minisini wrote: > > What are the differences between the three types? > > 1) LIBRARY > > - There is a library/component properties dialog. > - No icon is packaged. > - No menu entry is defined in the package. > - The package name is "projectname-X.Y.Z" where "X.Y.Z" is the version. > - The vendor can be added as a prefix optionally. > - The package has dependencies on other components and libraries checked > in the project properties dialog. > > 2) COMPONENT > > - There is a library/component properties dialog. > - No icon is packaged. > - No menu entry is defined in the package. > - If the project has control icons, they are packaged. > - The package name is "gambas-vendor-projectname-X.Y.Z" where "X.Y.Z" is > the version. > - The vendor prefix is mandatory, it is "gb" by default. > - The package has no dependencies on other components and libraries. > This is supposed to be managed directly by the IDE. Components are a > special beast that should be included directly in Gambas sources. > > 3) NORMAL PROJECT > > - There is no library/component properties dialog. > - The "make executable" dialog can create a desktop shortcut automatically. > - The packager has an icon and a menu entry. > - The package name is "ProjectName-X.Y.Z" where "X.Y.Z" is the version. > - The vendor can be added as a prefix optionally. > - The package has dependencies on other components and libraries checked > in the project properties dialog. > Added some screenshots I made in revision 4688 when making a library. Useful addition to explanation above... Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-Library properties.png Type: image/png Size: 23357 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-Project eigenschappen - SysInfo.png Type: image/png Size: 35769 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-SysInfo 0.3.4 - Gambas 3.png Type: image/png Size: 94223 bytes Desc: not available URL: From gambas at ...1... Sun Apr 29 01:09:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 29 Apr 2012 01:09:35 +0200 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <1335651252.2158.11.camel@...2735...> References: <4F9BEFFB.9090007@...1...> <1335651252.2158.11.camel@...2735...> Message-ID: <4F9C78AF.4020403@...1...> Le 29/04/2012 00:14, Willy Raets a ?crit : > On za, 2012-04-28 at 15:26 +0200, Beno?t Minisini wrote: >> Please try it and give your remarks! >> > Tested with revision 4688 > > Quite an improvement. > Library packages just fine. > Upon installation Ubuntu recognizes it as a library (see screenshot > library). > > Application depending on library gives a strange message in Ubuntu > Software Center, but does install (see screenshot before and after) > Some small bug in packaging? > > Great work...thanks, > > Willy > Can you give me the messages you get when installing your packages with "apt-get install" and not with the Ubuntu Software Center (which often crashes on my machine)? -- Beno?t Minisini From gambas at ...2524... Sun Apr 29 01:10:50 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Apr 2012 23:10:50 +0000 Subject: [Gambas-user] Issue 240 in gambas: CheckBox Tristate View on Runtime In-Reply-To: <6-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> <0-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-2023930720315611839-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #7 on issue 240 by benoit.m... at ...626...: CheckBox Tristate View on Runtime http://code.google.com/p/gambas/issues/detail?id=240 (No comment was entered for this change.) From gambas at ...2524... Sun Apr 29 02:24:41 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 29 Apr 2012 00:24:41 +0000 Subject: [Gambas-user] Issue 152 in gambas: Minor bug with help texts. In-Reply-To: <5-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> <0-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #6 on issue 152 by benoit.m... at ...626...: Minor bug with help texts. http://code.google.com/p/gambas/issues/detail?id=152 Finally fixed in revision #4689. From gambas at ...2524... Sun Apr 29 02:29:11 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 29 Apr 2012 00:29:11 +0000 Subject: [Gambas-user] Issue 123 in gambas: GUI dependencies in library projects not exposing any gui dependency In-Reply-To: <10-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> <0-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #11 on issue 123 by benoit.m... at ...626...: GUI dependencies in library projects not exposing any gui dependency http://code.google.com/p/gambas/issues/detail?id=123 I consider the problem to be fixed. If this is not the case, please open a new issue and explain why! From gambas at ...2524... Sun Apr 29 03:50:59 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 29 Apr 2012 01:50:59 +0000 Subject: [Gambas-user] Issue 123 in gambas: GUI dependencies in library projects not exposing any gui dependency In-Reply-To: <11-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> References: <11-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> <0-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> Message-ID: <12-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> Comment #12 on issue 123 by adamn... at ...626...: GUI dependencies in library projects not exposing any gui dependency http://code.google.com/p/gambas/issues/detail?id=123 Hi Benoit, I have re-run all the tests from the original posting and as at 4688 everything seems to work properly now. Thanks Bruce From bbruen at ...2308... Sun Apr 29 06:45:56 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 29 Apr 2012 14:15:56 +0930 Subject: [Gambas-user] About library and component packaging in Gambas 3 In-Reply-To: <4F9BEFFB.9090007@...1...> References: <4F9BEFFB.9090007@...1...> Message-ID: <1335674756.31931.33.camel@...2688...> Hi Benoit, A few comments inline... regards Bruce On Sat, 2012-04-28 at 15:26 +0200, Beno?t Minisini wrote: > Hi, > > I'm continue in fixing problems in library and component packaging. Here > are the last news... > > Since revision #4687, there is now a project type option in the project > properties dialog, which allows to make the difference between a normal > project, a library and a component. > > What are the differences between the three types? > > 1) LIBRARY SUGGESTION: Libraries should not need to have a startup class. At the moment I "must" include a dummy module to prevent any test-harness code leaking into the user environment (which could cause damage if the library were to be run as a normal gambas executable.) At the moment the IDE will not let a library be made into an executable or packaged unless it has a startup class. It would be preferable that projects defined as libraries would not execute via the runtime, that way test harness code could be left in place. Currently I have to check that the coders have left the startup class pointing to the following:- ' Gambas module file ' Null module to provide a fake startup point Public Sub Main() Error "Please do not run this as a program. It is a gambas library." End > > - There is a library/component properties dialog. > - No icon is packaged. Not sure about this as far as the autotools packager is concerned. The icon.png is certainly in the gzip file (but is this because autotools is a "source" level package?) > - No menu entry is defined in the package. > - The package name is "projectname-X.Y.Z" where "X.Y.Z" is the version. > - The vendor can be added as a prefix optionally. Are there any pros and cons here? > - The package has dependencies on other components and libraries checked > in the project properties dialog. This is unclear. I was under the assumption that the Project Properties dialog Components and Libraries tabs indicated the items that are needed when running the library within the IDE (i.e. in test mode) and the Component Properties dialog defined the dependencies for the library when it runs as a library i.e. in another application (whether that application is running in the IDE or via gbx3). We use a few "private" libraries to develop and test the libraries we distribute to users and the approach I have been using is to include them in the "Project Properties" dialog but not the "Component Properties" dialog. (Again, this relates back to including test harness code in the library and perhaps Issue 123.) Could you clarify please. Further, it is unclear what the "Extra Dependencies" step in the RPM based packagers is for? Perhaps a little note in the header, similar to the "Extra files" step. > > 2) COMPONENT > > - There is a library/component properties dialog. > - No icon is packaged. > - No menu entry is defined in the package. > - If the project has control icons, they are packaged. > - The package name is "gambas-vendor-projectname-X.Y.Z" where "X.Y.Z" is > the version. > - The vendor prefix is mandatory, it is "gb" by default. > - The package has no dependencies on other components and libraries. > This is supposed to be managed directly by the IDE. Components are a > special beast that should be included directly in Gambas sources. Again,this last bit is unclear. We use some custom control components in our product. Some of which have dependencies on native gb components, e.g. gb.db and at least one of which is dependent on another home grown component (i.e. our "phDataControls" component is dependent on both gb.db and our "phBaseControls" component. This has worked fine until now. I haven't checked this yet but does it mean that from 4687 on, that this will no longer work? > > 3) NORMAL PROJECT > > - There is no library/component properties dialog. > - The "make executable" dialog can create a desktop shortcut automatically. > - The packager has an icon and a menu entry. > - The package name is "ProjectName-X.Y.Z" where "X.Y.Z" is the version. > - The vendor can be added as a prefix optionally. > - The package has dependencies on other components and libraries checked > in the project properties dialog. > > Please try it and give your remarks! > > Regards, > I have checked the autotools packaging (which is how we have hitherto been distributing our product to end users) and it works fine. I tried using the Mandriva and Fedora RPM based packaging, which allowed me to create proper looking distribution packages, but ... When I tested the installation locally I run into the following problem. There is a dependency requirement on "gambas-runtime" version 3.blahblah ... This makes sense except that there is no "gambas-runtime" for my home made system, I build and install from the source archive. Also, this is how we have set it (gambas) up on all the client's machines. Is there a way to remove this dependency from being included in the RPM package build? regards Bruce From ian.roper at ...1974... Sun Apr 29 09:17:57 2012 From: ian.roper at ...1974... (Ian Roper) Date: Sun, 29 Apr 2012 15:17:57 +0800 Subject: [Gambas-user] CheckBox Group property for created Checkbox Message-ID: <1335683877.6570.20.camel@...2506...> Greetings all, If you create a new checkbox as a child of an existing control.... Dim MyCheckbox as Checkbox Checkbox = New checkbox(MyScrollView) as "MyCheckboxName" & Str(RecordId) Checkbox.Group = "MyCheckBoxGroup" is not valid. The Group property is not visible in the list of available properties. In the GUI it is available for a normal checkbox control. My objective is to load a scrollview with a child checkbox for each record of a data table - this all works fine. I wanted to raise an event and then take some action if any of the checkboxes is clicked >From the "Tip Of the Day #12 ( Gambas 3.1.1 ) with the example given for a button control this should work. Private Sub MyCheckBoxGroup_Click() {do stuff} End I tried to do this with a button as an additional test and there is no Group Property either when you create in this way. Am I doing this the wrong way ? ======================================== [System] OperatingSystem=Linux Kernel=3.2.0-24-generic Architecture=i686 Memory=2057364 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04 LTS" Desktop=Gnome [Gambas 2] Version=2.23.1 Path=/usr/bin/gbx2 [Gambas 3] Version=3.1.90 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 =========================================== Revision is pretty recent - update by SVN around once a week so Rev-4668 25/04/2012 minimum. Regards, Ian Roper Perth - Western Australia. From gambas at ...1... Sun Apr 29 11:58:33 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 29 Apr 2012 11:58:33 +0200 Subject: [Gambas-user] CheckBox Group property for created Checkbox In-Reply-To: <1335683877.6570.20.camel@...2506...> References: <1335683877.6570.20.camel@...2506...> Message-ID: <4F9D10C9.3090409@...1...> Le 29/04/2012 09:17, Ian Roper a ?crit : > Greetings all, > > If you create a new checkbox as a child of an existing control.... > > Dim MyCheckbox as Checkbox > > Checkbox = New checkbox(MyScrollView) as "MyCheckboxName"& > Str(RecordId) '"MyCheckboxName" & Str(RecordId)' is actually the Group property, not the control name. The control name is the Name property. Regards, -- Beno?t Minisini From john.aaron.rose at ...626... Sun Apr 29 12:48:07 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 29 Apr 2012 11:48:07 +0100 Subject: [Gambas-user] Gambas for Android Message-ID: <1335696487.2559.11.camel@...2811...> Basic4android now working properly (i.e. bug fixed that prevented code being shown for existing project) under wine 1.5.2. I'll post further (if people say they're interested) when I finish (though I haven't yet started) the project that I have in mind. From john.aaron.rose at ...626... Sun Apr 29 12:48:54 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 29 Apr 2012 11:48:54 +0100 Subject: [Gambas-user] RaspberryPi Message-ID: <1335696534.2559.12.camel@...2811...> I've been looking at RaspberryPi. Personally, I don't want to use Fedora. So installing Debian for Armel on the RaspberryPi looks good, as current Ubuntu for Arm (apparently have to use 9.04 or earlier) supposedly does not support this processor. So I presume that dev of a Gambas3 app could be done on (e.g.) Ubuntu 10.04 or 12.04 with creation of an installation package for Debian. Would the created .deb install OK on the RaspberryPi computer? PS I believe that Benoit posted some messages about running Gambas on an Arm device, but I'm unclear if they apply to the above situation. From tobiasboege01 at ...1601... Sun Apr 29 12:47:45 2012 From: tobiasboege01 at ...1601... (tobi) Date: Sun, 29 Apr 2012 12:47:45 +0200 Subject: [Gambas-user] Using qsort with Objects Message-ID: <20120429104745.GD578@...2774...> Hi, I want to sort an Array of Arrays as Variant[][] that may contain different datatypes in each member of an array but the arrays are all homogenous (think of a Database, it's not the actual subject but the same idea). That's what I thought of: - Write a class that Inherits Variant[] (that will act as the Array containing Variant[], so I could also Inherits Object[]?) - Create a Sort() method for that class that takes an integer N for the member to sort by (Variant[][N]) (When Inherits Object[], I get error messages on incorrectly overriding Object[].Sort(). The parameter?) - Call qsort(Super.Data, Super.Count, SizeOf(gb.Pointer), MyCompare) -- _Right?_ - MyCompare consequently takes two Pointers. How may I treat them as being references to Variant[]? Any casts possible? After that, it would be easy to use TypeOf(Variant[][N]) and call a datatype-specific routine to compare the two values. I tried to Private Sub MyCompare(V1 As Variant[], V2 As Variant[]) and got a Segfault after one line of wrong results when, in MyCompare, Print V1[0], V1[1] which are valid. Regards, Tobi From vuott at ...325... Sun Apr 29 13:48:50 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 29 Apr 2012 12:48:50 +0100 (BST) Subject: [Gambas-user] Impossible enlarging a column in gridview... ? Message-ID: <1335700130.77065.YahooMailClassic@...2748...> Hello, from our italian Gambas forum (www.gambas-it.org/smf/) someone points out thet GridView has a problem: if you create a grid and set it for example to 4 columns; then during the execution of the program see it so that it increases the number of columns. Resizing the column 4 will see that you can not 'shrink but only enlarge. I add an example. Regardsss Vuott -------------- next part -------------- A non-text attachment was scrubbed... Name: GridViewTest-0.0.11.tar.gz Type: application/x-gzip Size: 5466 bytes Desc: not available URL: From jussi.lahtinen at ...626... Sun Apr 29 14:39:09 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 29 Apr 2012 15:39:09 +0300 Subject: [Gambas-user] Issue 152 in gambas: Minor bug with help texts. In-Reply-To: <6-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> <5-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> <6-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Message-ID: Confirmed, thanks! Jussi On Sun, Apr 29, 2012 at 03:24, wrote: > Updates: > Status: Fixed > > Comment #6 on issue 152 by benoit.m... at ...626...: Minor bug with help > texts. > http://code.google.com/p/gambas/issues/detail?id=152 > > Finally fixed in revision #4689. > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lknetpl at ...626... Sun Apr 29 17:15:16 2012 From: lknetpl at ...626... (l k) Date: Sun, 29 Apr 2012 17:15:16 +0200 Subject: [Gambas-user] XML problem Message-ID: Hi, I have a problem with read the value of the xml file. With this data: I do not know how to read value. With this data: I have no problem with that. Can anyone give me some advices how to solve this? From adrien.prokopowicz at ...626... Sun Apr 29 17:26:36 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 29 Apr 2012 17:26:36 +0200 Subject: [Gambas-user] XML problem In-Reply-To: References: Message-ID: <2187297.XW6cQHREM1@...2823...> Le dimanche 29 avril 2012 17:15:16 l k a ?crit : > Hi, I have a problem with read the value of the xml file. With this data: > > I do not know how to read value. > > With this data: > I have no problem with that. > Can anyone give me some advices how to solve this? > > ---------------------------------------------------------------------------- > -- Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi, Can you be more precise please ? Have you got any error message or can we have the code you're using ? From lknetpl at ...626... Sun Apr 29 18:00:11 2012 From: lknetpl at ...626... (LeszekK) Date: Sun, 29 Apr 2012 18:00:11 +0200 Subject: [Gambas-user] XML problem In-Reply-To: <2187297.XW6cQHREM1@...2823...> References: <2187297.XW6cQHREM1@...2823...> Message-ID: xml_r = New XmlReader Dialog.OpenFile Try xml_r.Open(Dialog.Path) Repeat If xml_r.Eof Then Break xml_r.Read() ListBox1.Add(xml_r.Node.Name) ListBox1.Add(xml_r.Node.Value) Wait 0.1 Until xml_r.Eof xml_r.Close The code works correctly, but does not read the values ??of these lines: . 2012/4/29, Adrien Prokopowicz : > Le dimanche 29 avril 2012 17:15:16 l k a ?crit : >> Hi, I have a problem with read the value of the xml file. With this data: >> >> I do not know how to read value. >> >> With this data: >> I have no problem with that. >> Can anyone give me some advices how to solve this? >> >> ---------------------------------------------------------------------------- >> -- Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > Hi, > > Can you be more precise please ? Have you got any error message or can we > have > the code you're using ? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Serdecznie pozdrawiam, Leszek Kubiszewski From adrien.prokopowicz at ...626... Sun Apr 29 18:14:13 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sun, 29 Apr 2012 18:14:13 +0200 Subject: [Gambas-user] XML problem In-Reply-To: References: <2187297.XW6cQHREM1@...2823...> Message-ID: <2502528.uBPGYthvNh@...2823...> Le dimanche 29 avril 2012 18:00:11 LeszekK a ?crit : > xml_r = New XmlReader > Dialog.OpenFile > > Try xml_r.Open(Dialog.Path) > > Repeat > If xml_r.Eof Then Break > xml_r.Read() > ListBox1.Add(xml_r.Node.Name) > ListBox1.Add(xml_r.Node.Value) > Wait 0.1 > Until xml_r.Eof > > xml_r.Close > > The code works correctly, but does not read the values ??of these lines: > . > > 2012/4/29, Adrien Prokopowicz : > > Le dimanche 29 avril 2012 17:15:16 l k a ?crit : > >> Hi, I have a problem with read the value of the xml file. With this data: > >> > >> I do not know how to read value. > >> > >> With this data: > >> I have no problem with that. > >> Can anyone give me some advices how to solve this? > >> > >> ------------------------------------------------------------------------- > >> --- -- Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > Hi, > > > > Can you be more precise please ? Have you got any error message or can we > > have > > the code you're using ? > > > > -------------------------------------------------------------------------- > > ---- Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user That's because XmlReader.Node.Value does not return the value of XML attributes. If you know the names of the attributes (here "lat" and "lon"), you can do this : xml_r = New XmlReader Dialog.OpenFile Try xml_r.Open(Dialog.Path) Repeat If xml_r.Eof Then Break xml_r.Read() ListBox1.Add(xml_r.Node.Name) ListBox1.Add(xml_r.Node.Value) If xml_r.Node.Attributes["lat"] Then ListBox1.Add(xml_r.Node.Attributes["lat"]) If xml_r.Node.Attributes["lon"] Then ListBox1.Add(xml_r.Node.Attributes["lon"]) Wait 0.1 Until xml_r.Eof xml_r.Close From lknetpl at ...626... Sun Apr 29 18:52:03 2012 From: lknetpl at ...626... (LeszekK) Date: Sun, 29 Apr 2012 18:52:03 +0200 Subject: [Gambas-user] XML problem In-Reply-To: <2502528.uBPGYthvNh@...2823...> References: <2187297.XW6cQHREM1@...2823...> <2502528.uBPGYthvNh@...2823...> Message-ID: Your code not work. This code work: For Each xml_r.Node.Attributes If xml_r.Node.Name = "lat" Then ListBox1.Add("lat: " & xml_r.Node.Value) If xml_r.Node.Name = "lon" Then ListBox1.Add("lon: " & xml_r.Node.Value) Next Thanks for your help and guidance. 2012/4/29 Adrien Prokopowicz : > Le dimanche 29 avril 2012 18:00:11 LeszekK a ?crit : >> xml_r = New XmlReader >> ? ?Dialog.OpenFile >> >> ? ?Try xml_r.Open(Dialog.Path) >> >> ? ?Repeat >> ? ? ?If xml_r.Eof Then Break >> ? ? ?xml_r.Read() >> ? ? ?ListBox1.Add(xml_r.Node.Name) >> ? ? ?ListBox1.Add(xml_r.Node.Value) >> ? ? ?Wait 0.1 >> ? ?Until xml_r.Eof >> >> ? ?xml_r.Close >> >> The code works correctly, but does not read the values of these lines: >> . >> >> 2012/4/29, Adrien Prokopowicz : >> > Le dimanche 29 avril 2012 17:15:16 l k a ?crit : >> >> Hi, I have a problem with read the value of the xml file. With this data: >> >> >> >> I do not know how to read value. >> >> >> >> With this data: >> >> I have no problem with that. >> >> Can anyone give me some advices how to solve this? >> >> >> >> ------------------------------------------------------------------------- >> >> --- -- Live Security Virtual Conference >> >> Exclusive live event will cover all the ways today's security and >> >> threat landscape has changed and how IT managers can respond. Discussions >> >> will include endpoint security, mobile security and the latest in malware >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> > Hi, >> > >> > Can you be more precise please ? Have you got any error message or can we >> > have >> > the code you're using ? >> > >> > -------------------------------------------------------------------------- >> > ---- Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. Discussions >> > will include endpoint security, mobile security and the latest in malware >> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > That's because XmlReader.Node.Value does not return the value of XML > attributes. > If you know the names of the attributes (here "lat" and "lon"), you can do > this : > > xml_r = New XmlReader > ? Dialog.OpenFile > > ? Try xml_r.Open(Dialog.Path) > > ? Repeat > ? ? If xml_r.Eof Then Break > ? ? xml_r.Read() > ? ? ListBox1.Add(xml_r.Node.Name) > ? ? ListBox1.Add(xml_r.Node.Value) > ? ? ? ?If xml_r.Node.Attributes["lat"] Then > ListBox1.Add(xml_r.Node.Attributes["lat"]) > If xml_r.Node.Attributes["lon"] Then > ListBox1.Add(xml_r.Node.Attributes["lon"]) > ? ? Wait 0.1 > ? Until xml_r.Eof > > ? xml_r.Close > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Serdecznie pozdrawiam, Leszek Kubiszewski From kevinfishburne at ...1887... Mon Apr 30 02:07:59 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 29 Apr 2012 20:07:59 -0400 Subject: [Gambas-user] gb3: incorrect solution to If...Then condition In-Reply-To: References: <4F9A0DA4.8050001@...1887...> <4F9A0FC0.5080500@...1...> <4F9B1726.6060009@...1...> Message-ID: <4F9DD7DF.1040708@...1887...> On 04/27/2012 07:24 PM, Jussi Lahtinen wrote: > At least the problem is unrelated to sin and cos... > > ? format(0.47942553860420300027 ^ 2 - > 0.22984884706593014129,"#.######################") > - .0000000000000012212453 > > ? format(0.47942553860420300027 ^ 2.0 - 0.22984884706593014129 > ,"#.######################") > - .0000000000000011379786 > > > Jussi > > > > > > 2012/4/28 Beno?t Minisini > >> Le 27/04/2012 20:44, Jussi Lahtinen a ?crit : >>> If Sin(0.5) ^ 2 + Cos(0.5) ^ 2<> 1 Then >>> Print "This shouldn't be seen, but it is." >>> Endif >>> >>> >>> ? format((Sin(0.5) ^ 2 + Cos(0.5) ^ 2),"#.########################") >>> 1 >>> >>> What is going on? >>> >>> >>> Jussi >>> >> It's very strange actually. >> >> There is optimization in the "^" operator. If the power is an integer >> between -4 and +4, standard multiplication and division are used instead >> of the pow() mathematical function. >> >> In other words, Sin(0.5) ^ 2 = Sin(0.5) * Sin(0.5). >> >> If you want to force the use of the pow() function, write 'Sin(0.5) ^ 2.0'. >> >> And then comes the strangeness: Sin(0.5) * Sin(0.5) does not return the >> same value as Sin(0.5) ^ 2.0 ! And Sin(0.5) ^ 2.0 + Cos(0.5) ^ 2.0 does >> return 1.0. But not Sin(0.5)*Sin(0.5) + Cos(0.5)*Cos(0.5), which should >> be more accurate! >> >> If someone has an explanation... What would I do without you guys to humiliate me into wisdom? If I could beat floating point math with a stick I'd have enough kindling for a long winter. I used this code instead and the math is happy: Case Key["-"] ' Zoom in. Zoom.Adjustment = Zoom.Adjustment / 2 If Zoom.Adjustment >= Zoom.Maximum Then Zoom.Adjustment = Zoom.Maximum Case Key["="] ' Zoom out. Zoom.Adjustment = Zoom.Adjustment * 2 If Zoom.Adjustment <= Zoom.Minimum Then Zoom.Adjustment = Zoom.Minimum Thanks. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Mon Apr 30 02:07:51 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 30 Apr 2012 02:07:51 +0200 Subject: [Gambas-user] Gambas & GStreamer Message-ID: <4F9DD7D7.2080109@...1...> Hi, I have started a new multimedia component based on GStreamer in revision #4693. It is far from being complete, but you can use it to play, pause, seek any audio or video media handled by GStreamer. Here is a little test program used for testing the component. Enjoy, and feel free to comment and give ideas! -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: TestGStreamer-0.0.1.tar.gz Type: application/x-gzip Size: 5871 bytes Desc: not available URL: From gambas.fr at ...626... Mon Apr 30 12:39:45 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 30 Apr 2012 12:39:45 +0200 Subject: [Gambas-user] Gambas & GStreamer In-Reply-To: <4F9DD7D7.2080109@...1...> References: <4F9DD7D7.2080109@...1...> Message-ID: trop fort :-) A quand le bureau gambas ;-) Really impressive ! (simple) From gambas at ...1... Mon Apr 30 12:47:33 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 30 Apr 2012 12:47:33 +0200 Subject: [Gambas-user] Gambas & GStreamer In-Reply-To: References: <4F9DD7D7.2080109@...1...> Message-ID: <4F9E6DC5.7070008@...1...> Le 30/04/2012 12:39, Fabien Bodard a ?crit : > trop fort :-) > > A quand le bureau gambas ;-) > > > Really impressive ! (simple) Here is an updated test project. -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: TestGStreamer-0.0.2.tar.gz Type: application/x-gzip Size: 6034 bytes Desc: not available URL: From bbruen at ...2308... Mon Apr 30 13:18:31 2012 From: bbruen at ...2308... (Bruce Bruen) Date: Mon, 30 Apr 2012 20:48:31 +0930 Subject: [Gambas-user] Two problems, might be local Message-ID: <1335784711.24263.13.camel@...2688...> Since today I have had the following happen - see the screenshot. 1) The first time I try to "Make Executable" in the IDE I get that blue balloon. 2) Also, as soon as a change is made to a code line that pops up the "mini" help, then strange things occur. For example, if I type "App" then the help popup appears as it should but then the busy cursor appears and never goes away, (as if Dec Application.Busy never happens in the IDE?) But! I can keep doing things, in fact anything (so far) but actually run the app from the IDE. You can see the busy cursor in the screenshot. I am asking because I am fairly sure that we have a local qt4 problem that I haven't been able to convince the qt folks of: It is seen as - "symbol lookup error: /usr/lib/libQtSql.so.4: undefined symbol: _ZN14QObjectPrivateD2Ev" on a gambas program exit, whether or not we are using the qt4 GUI or gtk. But has anyone else seen these? regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: desktop 2_003.png Type: image/png Size: 23483 bytes Desc: not available URL: From gambas at ...1... Mon Apr 30 13:34:06 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 30 Apr 2012 13:34:06 +0200 Subject: [Gambas-user] Two problems, might be local In-Reply-To: <1335784711.24263.13.camel@...2688...> References: <1335784711.24263.13.camel@...2688...> Message-ID: <4F9E78AE.8080709@...1...> Le 30/04/2012 13:18, Bruce Bruen a ?crit : > Since today I have had the following happen - see the screenshot. > > 1) The first time I try to "Make Executable" in the IDE I get that blue > balloon. > Fixed in revision #4698. > 2) Also, as soon as a change is made to a code line that pops up the > "mini" help, then strange things occur. For example, if I type "App" > then the help popup appears as it should but then the busy cursor > appears and never goes away, (as if Dec Application.Busy never happens > in the IDE?) But! I can keep doing things, in fact anything (so far) but > actually run the app from the IDE. You can see the busy cursor in the > screenshot. > > I am asking because I am fairly sure that we have a local qt4 problem > that I haven't been able to convince the qt folks of: > > It is seen as - > "symbol lookup error: /usr/lib/libQtSql.so.4: undefined symbol: > _ZN14QObjectPrivateD2Ev" > on a gambas program exit, whether or not we are using the qt4 GUI or > gtk. > > But has anyone else seen these? No. Moreover, Gambas does not use libQtSql at all. Regards, -- Beno?t Minisini From zuidemach at ...626... Mon Apr 30 14:19:35 2012 From: zuidemach at ...626... (Roel Zuidema) Date: Mon, 30 Apr 2012 14:19:35 +0200 Subject: [Gambas-user] send e-mail out of gambas Message-ID: Hello I just started working with Gambas. I managed to write out of different text documents an html-document. I would like to send this html-document as an html-e-mail to different e-mailadresses. Could someone give me a hint, how to write a mail-function? Thanks, Roel *When I open the html-document in a browser and then copy-paste it into my gmail-editor the html-code is being changed. I want to avoid that. From gambas.fr at ...626... Mon Apr 30 14:29:51 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 30 Apr 2012 14:29:51 +0200 Subject: [Gambas-user] Gambas & GStreamer In-Reply-To: <4F9E6DC5.7070008@...1...> References: <4F9DD7D7.2080109@...1...> <4F9E6DC5.7070008@...1...> Message-ID: Le 30 avril 2012 12:47, Beno?t Minisini a ?crit : > Le 30/04/2012 12:39, Fabien Bodard a ?crit : > > trop fort :-) >> >> A quand le bureau gambas ;-) >> >> >> Really impressive ! (simple) >> > > Here is an updated test project. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > pipeline cb_pad_added: Codec/Demuxer FMain.Media_State.61: 2 FMain.Media_Message.55: oggdemux0 Erreur interne de flux de donn?es. FMain.Media_State.61: 3 FMain.Media_End.68: FMain.Media_State.61: 4 it don't open the file -- Fabien Bodard From gambas.fr at ...626... Mon Apr 30 14:35:51 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 30 Apr 2012 14:35:51 +0200 Subject: [Gambas-user] Gambas & GStreamer In-Reply-To: References: <4F9DD7D7.2080109@...1...> <4F9E6DC5.7070008@...1...> Message-ID: is there a way to list media or codecs for source,demuxer, etc ? From gambas.fr at ...626... Mon Apr 30 14:43:11 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 30 Apr 2012 14:43:11 +0200 Subject: [Gambas-user] send e-mail out of gambas In-Reply-To: References: Message-ID: #!/usr/bin/env gbs3 ' Gambas module file USE "gb.db", "gb.net.smtp" Private hcon As New Connection Private hTim as Timer Public Sub Main() Application.Daemon = True hTim = new timer as "Timer1" hTim.Delay = 60000 hTim.Start End Public sub Timer1_Timer() Dim hsmtp As Smtpclient Dim hResMails As Result Dim s As String 'print "coucou" 'return 'D?finir la connection hcon.type = "mysql" hCon.host = "localhost" hcon.login = "*****" hCon.password = "***" hcon.name = "MyDB" hResMails = db.exec("SELECT * FROM emails") For Each hResMails hsmtp = New SmtpClient hsmtp.Host = "mail.toile-libre.org" hsmtp.User = "gf_info at ...2827..." hsmtp.Password = "***" hsmtp.Port = 587 hsmtp.From = hsmtp.User For Each s In Split(hResMails!to) hsmtp.To.Add(s) Next For Each s In Split(hResMails!cc) hsmtp.Cc.Add(s) Next For Each s In Split(hResMails!bcc) hsmtp.bcc.Add(s) Next hsmtp.Subject = iif(hResMails!sujet, hResMails!sujet, "nosubject") hsmtp.Add(hResMails!message, "text/plain") if hResMails!message_html Then hsmtp.Add(hResMails!message_html, "text/html") hsmtp.Send() Next If hResMails.count = 0 Then Return hResMails.MoveLast() db.Exec("DELETE FROM emails WHERE id<=&1", hResMails!id) Catch Shell "echo " & Error.Backtrace.Join("\n") & Error.Text & Error.Where & " >> mailerror.log" End This is a script deamon i wrote for the gambasforge, that send db stored mail every 1 minute to all the site users. (i use bcc for that) From zuidemach at ...626... Mon Apr 30 14:51:49 2012 From: zuidemach at ...626... (Roel Zuidema) Date: Mon, 30 Apr 2012 14:51:49 +0200 Subject: [Gambas-user] send e-mail out of gambas In-Reply-To: References: Message-ID: Thanks a lot. On Mon, Apr 30, 2012 at 2:43 PM, Fabien Bodard wrote: > #!/usr/bin/env gbs3 > ' Gambas module file > > USE "gb.db", "gb.net.smtp" > > Private hcon As New Connection > Private hTim as Timer > Public Sub Main() > Application.Daemon = True > hTim = new timer as "Timer1" > hTim.Delay = 60000 > hTim.Start > End > > Public sub Timer1_Timer() > Dim hsmtp As Smtpclient > Dim hResMails As Result > Dim s As String > 'print "coucou" > 'return > 'D?finir la connection > hcon.type = "mysql" > hCon.host = "localhost" > hcon.login = "*****" > hCon.password = "***" > hcon.name = "MyDB" > > hResMails = db.exec("SELECT * FROM emails") > > For Each hResMails > hsmtp = New SmtpClient > hsmtp.Host = "mail.toile-libre.org" > hsmtp.User = "gf_info at ...2827..." > hsmtp.Password = "***" > hsmtp.Port = 587 > hsmtp.From = hsmtp.User > For Each s In Split(hResMails!to) > hsmtp.To.Add(s) > Next > For Each s In Split(hResMails!cc) > hsmtp.Cc.Add(s) > Next > For Each s In Split(hResMails!bcc) > hsmtp.bcc.Add(s) > Next > hsmtp.Subject = iif(hResMails!sujet, hResMails!sujet, "nosubject") > hsmtp.Add(hResMails!message, "text/plain") > if hResMails!message_html Then hsmtp.Add(hResMails!message_html, > "text/html") > hsmtp.Send() > Next > If hResMails.count = 0 Then Return > hResMails.MoveLast() > db.Exec("DELETE FROM emails WHERE id<=&1", hResMails!id) > > Catch > Shell "echo " & Error.Backtrace.Join("\n") & Error.Text & Error.Where & > " >> mailerror.log" > > End > > > This is a script deamon i wrote for the gambasforge, that send db stored > mail every 1 minute to all the site users. (i use bcc for that) > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Apr 30 19:48:16 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 30 Apr 2012 19:48:16 +0200 Subject: [Gambas-user] Gambas & GStreamer In-Reply-To: References: <4F9DD7D7.2080109@...1...> <4F9E6DC5.7070008@...1...> Message-ID: <4F9ED060.4060205@...1...> Le 30/04/2012 14:35, Fabien Bodard a ?crit : > is there a way to list media or codecs for source,demuxer, etc ? Apparently 'gst-inspect' does that. Actually I don't really know: I have started to read the GStreamer documentation for the first time two days ago... -- Beno?t Minisini From gambas.fr at ...626... Mon Apr 30 21:36:32 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 30 Apr 2012 21:36:32 +0200 Subject: [Gambas-user] Gambas & GStreamer In-Reply-To: <4F9ED060.4060205@...1...> References: <4F9DD7D7.2080109@...1...> <4F9E6DC5.7070008@...1...> <4F9ED060.4060205@...1...> Message-ID: 2012/4/30 Beno?t Minisini > Le 30/04/2012 14:35, Fabien Bodard a ?crit : > > is there a way to list media or codecs for source,demuxer, etc ? > > Apparently 'gst-inspect' does that. Actually I don't really know: I have > started to read the GStreamer documentation for the first time two days > ago... > > good luck > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From Karl.Reinl at ...2345... Mon Apr 30 21:40:39 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 30 Apr 2012 21:40:39 +0200 Subject: [Gambas-user] send a link with gambas Message-ID: <1335814840.2853.38.camel@...40...> Salut, does anybody have the knowledge how to read out the current visited page in firefox (open tab). What I want is a small app, - when starts opens a window with a textbox - when firefox ran at this moment, copys the current URI into this textbox (if not textbox leave empty) Now the user can add some text and/or push 'send' or 'abord'. Pushing 'send' the textbox.text is send to a fix email-address. For sending the email everything needed is in a conf-file. Any idea for the uri? -- Amicalement Charlie From mohareve at ...626... Mon Apr 30 21:49:33 2012 From: mohareve at ...626... (M. Cs.) Date: Mon, 30 Apr 2012 21:49:33 +0200 Subject: [Gambas-user] Gambas & GStreamer In-Reply-To: References: <4F9DD7D7.2080109@...1...> <4F9E6DC5.7070008@...1...> <4F9ED060.4060205@...1...> Message-ID: Does this all means that sdl and sdl-sound components will be finally replaced with a better backend? 2012/4/30, Fabien Bodard : > 2012/4/30 Beno?t Minisini > >> Le 30/04/2012 14:35, Fabien Bodard a ?crit : >> > is there a way to list media or codecs for source,demuxer, etc ? >> >> Apparently 'gst-inspect' does that. Actually I don't really know: I have >> started to read the GStreamer documentation for the first time two days >> ago... >> >> > good luck > > >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > Fabien Bodard > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Apr 30 23:01:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 30 Apr 2012 23:01:58 +0200 Subject: [Gambas-user] Gambas & GStreamer In-Reply-To: References: <4F9DD7D7.2080109@...1...> <4F9E6DC5.7070008@...1...> <4F9ED060.4060205@...1...> Message-ID: <4F9EFDC6.8040803@...1...> Le 30/04/2012 21:49, M. Cs. a ?crit : > Does this all means that sdl and sdl-sound components will be finally > replaced with a better backend? > I don't know. They are not backends, but completely different systems. The question : can we used GStreamer with SDL (without gb.sdl.sound)? Theoritically yes, but GStreamer seems to need a glib event loop, but it's not sure yet, and gb.sdl implements its own event loop. So I don't know if both are compatible. The future will have the answer. -- Beno?t Minisini