From willy at ...732... Fri Oct 10 16:22:55 2014 From: willy at ...732... (Willy Raets) Date: Fri, 10 Oct 2014 16:22:55 +0200 Subject: [Gambas-devel] Revision log Message-ID: <1412950975.3301.32.camel@...735...> Hi all, Is there any way to correct a revision log after submitting to Subversion, in case you made a mistake? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From willy at ...732... Fri Oct 10 16:36:34 2014 From: willy at ...732... (Willy Raets) Date: Fri, 10 Oct 2014 16:36:34 +0200 Subject: [Gambas-devel] A note on the MakeWebSite project In-Reply-To: <1411575465.3390.4.camel@...735...> References: <1411431617.5486.12.camel@...735...> <5422E601.8060504@...1...> <1411575465.3390.4.camel@...735...> Message-ID: <1412951794.3301.34.camel@...735...> On wo, 2014-09-24 at 18:17 +0200, Willy Raets wrote: > On wo, 2014-09-24 at 17:40 +0200, Beno?t Minisini wrote: > > Le 23/09/2014 02:20, Willy Raets a ?crit : > > > I did a complete Dutch translation of the MakeWebSite project and > > > committed it. > > > > > > I guess if a Dutch flag and some code changes where done, Gambas main > > > site can be viewed in Dutch as well :) > > > > > > Attached a Dutch flag, if you might look for one. > > > > > > > > > > I updated the project with your new translation. I didn't use your flag, > > because it was not the same size and inner gradient as the others. > > I've seen your update. Thanks > > > > Note that most of the web site is actually pages from the wiki, which > > are usually not translated. > > I've seen that to. I'll try to translate some of ones directly linked to > the main page menu into Dutch, but I won't manage (time wise) to > translate the whole wiki:) > I also noticed some small translation errors in MakeWebSite project that > I will correct a.s.p. I have done these small corrections to the Dutch translation a while ago but I haven't seen them reflected on the website. Guess someone needs to do something to see the corrections... -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From ea7dfh at ...731... Wed Oct 15 01:21:32 2014 From: ea7dfh at ...731... (Jesus) Date: Wed, 15 Oct 2014 01:21:32 +0200 Subject: [Gambas-devel] Some labels couldn't be translated Message-ID: <543DAFFC.6050804@...731...> Hi devs! My name is Jesus, and recently I decided to give my little help to Gambas, by translating the IDE into Spanish (es_ES) and continue doing so with the examples, etc. I haven't much time, but always wanted to do so in reward for the good times using Gambas since 2006. Many thanks to all of you who contributed in any way to this wonderful project. Let me explain some issues I'm having: I'm trying to translate *all* texts in IDE to Spanish, so far so good, but I've found that there is a strange behaviour in FMenu, whose labels are not translatable (at least, these don't appear in the translation tool). Could it be a bug when there is a number of nested containers? Also, I wonder if Beno?t doesn't mind if I make translatable the captions in the ToolBox (FToolBox.class, line 24) BTW, sorry for posting in the wrong list minutes ago... Best regards -- Jesus Guardon From gambas at ...1... Wed Oct 15 01:34:04 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 15 Oct 2014 01:34:04 +0200 Subject: [Gambas-devel] Some labels couldn't be translated In-Reply-To: <543DAFFC.6050804@...731...> References: <543DAFFC.6050804@...731...> Message-ID: <543DB2EC.6060403@...1...> Le 15/10/2014 01:21, Jesus a ?crit : > Hi devs! > > My name is Jesus, and recently I decided to give my little help to > Gambas, by translating the IDE into Spanish (es_ES) and continue doing > so with the examples, etc. I haven't much time, but always wanted to do > so in reward for the good times using Gambas since 2006. > > Many thanks to all of you who contributed in any way to this wonderful > project. > > Let me explain some issues I'm having: > > I'm trying to translate *all* texts in IDE to Spanish, so far so good, > but I've found that there is a strange behaviour in FMenu, whose labels > are not translatable (at least, these don't appear in the translation > tool). Could it be a bug when there is a number of nested containers? These labels must not be translated, they are property names. > > Also, I wonder if Beno?t doesn't mind if I make translatable the > captions in the ToolBox (FToolBox.class, line 24) They are not translatable at the moment. You must not modify this line, as these strings are constant located in the components. To make toolbox titles translatable, another array must be added that would be dedicated to store the translated version of these strings. I will do that in the next version. Regards, -- Beno?t Minisini From ron at ...572... Sat Oct 25 14:42:28 2014 From: ron at ...572... (Ron) Date: Sat, 25 Oct 2014 14:42:28 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 Message-ID: How can I tweak the balloon backcolor? In Gambas 3.5.4 it was readable (darker orange), in gambas 3.6 it's not so easy to read, see attachment. Ubuntu 14.04 Regards, Ron. -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2014-10-25 14:40:07.png Type: image/png Size: 2883 bytes Desc: not available URL: From taboege at ...176... Sat Oct 25 14:47:56 2014 From: taboege at ...176... (Tobias Boege) Date: Sat, 25 Oct 2014 14:47:56 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: References: Message-ID: <20141025124756.GA538@...693...> On Sat, 25 Oct 2014, Ron wrote: > How can I tweak the balloon backcolor? > > In Gambas 3.5.4 it was readable (darker orange), in gambas 3.6 it's > not so easy to read, see attachment. > It's in comp/src/gb.form/.src/Balloon/FBallon.class. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Oct 25 15:11:55 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 15:11:55 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: References: Message-ID: <544BA19B.5090808@...1...> Le 25/10/2014 14:42, Ron a ?crit : > How can I tweak the balloon backcolor? > > In Gambas 3.5.4 it was readable (darker orange), in gambas 3.6 it's > not so easy to read, see attachment. > > Ubuntu 14.04 > > Regards, > Ron. > The balloon colors are defined from the system tooltip default colors (Color.TooltipForeground and Color.TooltipBackground). Check the value of these two properties first, to see if they are correctly detected (it depends on the GUI toolkit you are using). Regards, -- Beno?t Minisini From ron at ...572... Sat Oct 25 15:19:56 2014 From: ron at ...572... (Ron) Date: Sat, 25 Oct 2014 15:19:56 +0200 Subject: [Gambas-devel] LCDlabel not visible in design mode Message-ID: If you have a LCDLabel or Label (and maybe others) on your form, without default text it's not visible at all in form editor until you hover over it... By design, nothing we can do? Gambas 3.6.0 Ubuntu 14.04 Regards, Ron. From ron at ...572... Sat Oct 25 15:27:04 2014 From: ron at ...572... (Ron) Date: Sat, 25 Oct 2014 15:27:04 +0200 Subject: [Gambas-devel] LCDlabel not visible in design mode In-Reply-To: References: Message-ID: I set LCDLabel.Text to 0 to see it for now. LCDLabel has a property .Text and .Value, the last one doesn't show in Properties list in IDE? Regards, Rno. 2014-10-25 15:19 GMT+02:00 Ron : > If you have a LCDLabel or Label (and maybe others) on your form, > without default text it's not visible at all in form editor until you > hover over it... > > By design, nothing we can do? > > Gambas 3.6.0 > Ubuntu 14.04 > > Regards, > Ron. From gambas at ...1... Sat Oct 25 15:36:19 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 15:36:19 +0200 Subject: [Gambas-devel] LCDlabel not visible in design mode In-Reply-To: References: Message-ID: <544BA753.8020406@...1...> Le 25/10/2014 15:19, Ron a ?crit : > If you have a LCDLabel or Label (and maybe others) on your form, > without default text it's not visible at all in form editor until you > hover over it... > > By design, nothing we can do? > > Gambas 3.6.0 > Ubuntu 14.04 > > Regards, > Ron. > It's right for LCDLabel, but not for Label. Please provide me a project having a Label with no default text being not visible. Regards, -- Beno?t Minisini From gambas at ...1... Sat Oct 25 15:38:17 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 15:38:17 +0200 Subject: [Gambas-devel] LCDlabel not visible in design mode In-Reply-To: References: Message-ID: <544BA7C9.8020306@...1...> Le 25/10/2014 15:27, Ron a ?crit : > I set LCDLabel.Text to 0 to see it for now. > > LCDLabel has a property .Text and .Value, the last one doesn't show in > Properties list in IDE? > > Regards, > Rno. > No, because the Value property is just a helper for writing: LCDLabel.Value = Value instead of: LCDLabel.Text = CStr(Value) Regards, -- Beno?t Minisini From ron at ...572... Sat Oct 25 16:32:34 2014 From: ron at ...572... (Ron) Date: Sat, 25 Oct 2014 16:32:34 +0200 Subject: [Gambas-devel] LCDlabel not visible in design mode In-Reply-To: <544BA7C9.8020306@...1...> References: <544BA7C9.8020306@...1...> Message-ID: I understand, although most of the controls had/have either Text or Value. Do all/more controls have this now, or just LCDLabel? I can't find the invisible Label, the ones I see are fine, so it's not an issue. Thanks. Ron. 2014-10-25 15:38 GMT+02:00 Beno?t Minisini : > Le 25/10/2014 15:27, Ron a ?crit : >> I set LCDLabel.Text to 0 to see it for now. >> >> LCDLabel has a property .Text and .Value, the last one doesn't show in >> Properties list in IDE? >> >> Regards, >> Rno. >> > > No, because the Value property is just a helper for writing: > > LCDLabel.Value = Value > > instead of: > > LCDLabel.Text = CStr(Value) > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From ron at ...572... Sat Oct 25 16:35:37 2014 From: ron at ...572... (Ron) Date: Sat, 25 Oct 2014 16:35:37 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: <544BA19B.5090808@...1...> References: <544BA19B.5090808@...1...> Message-ID: If I place these in my form: Print Hex(Color.TooltipBackground) Print Hex(Color.TooltipForeground) It shows: FFFFDC (the light yellow) DEDEDE (grey) It does this on both Gambas 3.5.4 and 3.6.0. So the darker orange color which was fine (see attachment) from Gambas 3.5.4 is defined somewhere else, or is a bug you fixed. How can I find the color my Ubuntu uses? I'm on stock 14.04.1 Ron. 2014-10-25 15:11 GMT+02:00 Beno?t Minisini : > Le 25/10/2014 14:42, Ron a ?crit : >> How can I tweak the balloon backcolor? >> >> In Gambas 3.5.4 it was readable (darker orange), in gambas 3.6 it's >> not so easy to read, see attachment. >> >> Ubuntu 14.04 >> >> Regards, >> Ron. >> > > The balloon colors are defined from the system tooltip default colors > (Color.TooltipForeground and Color.TooltipBackground). > > Check the value of these two properties first, to see if they are > correctly detected (it depends on the GUI toolkit you are using). > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2014-10-25 16:22:11.png Type: image/png Size: 3963 bytes Desc: not available URL: From gambas at ...1... Sat Oct 25 17:51:48 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 25 Oct 2014 17:51:48 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> Message-ID: <544BC714.6020704@...1...> Le 25/10/2014 17:00, Ron a ?crit : > Gambas project uses qt.4 > > It got even worse, when looking where to find the settings, I went to > Ubuntu's Appearance -> the Themes combo was empty (no selected entry) > When I selected Ambiance (default) I changed the looks slightly.. see > attachment... ;-) LOL > Where do I check the real system colors? > > The color of 'tooltips' in Gambas (like when you hover over a control > in Form editor) are completely different, they have white font on > black background, which is fine. > Should they be the same, it's confusing. > > Other than this I'm very happy with Gambas 3.6, it looks great. > And I just deleted a lot of local workarounds from our project > (XmlRpc, SmtpClient, Filechooser) > > Regards, > Ron. > Could you not send the mails to me *and* the mailing-list, because then the stupid Thunderbird then answers to you only, no idea why. And it's useless as I am already on the mailing-list. Thanks. -- Beno?t Minisini From taboege at ...176... Sat Oct 25 17:54:59 2014 From: taboege at ...176... (Tobias Boege) Date: Sat, 25 Oct 2014 17:54:59 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: <544BC714.6020704@...1...> References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> <544BC714.6020704@...1...> Message-ID: <20141025155459.GB538@...693...> On Sat, 25 Oct 2014, Beno??t Minisini wrote: > Le 25/10/2014 17:00, Ron a ??crit : > > Gambas project uses qt.4 > > > > It got even worse, when looking where to find the settings, I went to > > Ubuntu's Appearance -> the Themes combo was empty (no selected entry) > > When I selected Ambiance (default) I changed the looks slightly.. see > > attachment... ;-) LOL > > Where do I check the real system colors? > > > > The color of 'tooltips' in Gambas (like when you hover over a control > > in Form editor) are completely different, they have white font on > > black background, which is fine. > > Should they be the same, it's confusing. > > > > Other than this I'm very happy with Gambas 3.6, it looks great. > > And I just deleted a lot of local workarounds from our project > > (XmlRpc, SmtpClient, Filechooser) > > > > Regards, > > Ron. > > > > Could you not send the mails to me *and* the mailing-list, because then > the stupid Thunderbird then answers to you only, no idea why. And it's > useless as I am already on the mailing-list. > I also noticed that my mutt (I mean my mail client ;-)) has your address *and* the mailing list's, both, copied to the recipients field when I reply to one of your messages (and this happens only on your's). I didn't pay much attention to this and always remove your address manually but now it comes to speak... Maybe there is something special is your mail headers? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Oct 25 18:15:32 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 18:15:32 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: <20141025155459.GB538@...693...> References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> <544BC714.6020704@...1...> <20141025155459.GB538@...693...> Message-ID: <544BCCA4.1070209@...1...> Le 25/10/2014 17:54, Tobias Boege a ?crit : > > I also noticed that my mutt (I mean my mail client ;-)) has your address > *and* the mailing list's, both, copied to the recipients field when I > reply to one of your messages (and this happens only on your's). I didn't > pay much attention to this and always remove your address manually but now > it comes to speak... Maybe there is something special is your mail headers? > > Regards, > Tobi > You mean my mails? -- Beno?t Minisini From taboege at ...176... Sat Oct 25 18:23:03 2014 From: taboege at ...176... (Tobias Boege) Date: Sat, 25 Oct 2014 18:23:03 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: <544BCCA4.1070209@...1...> References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> <544BC714.6020704@...1...> <20141025155459.GB538@...693...> <544BCCA4.1070209@...1...> Message-ID: <20141025162303.GC538@...693...> On Sat, 25 Oct 2014, Beno?t Minisini wrote: > Le 25/10/2014 17:54, Tobias Boege a ?crit : > > > > I also noticed that my mutt (I mean my mail client ;-)) has your address > > *and* the mailing list's, both, copied to the recipients field when I > > reply to one of your messages (and this happens only on your's). I didn't > > pay much attention to this and always remove your address manually but now > > it comes to speak... Maybe there is something special is your mail headers? > > > > Regards, > > Tobi > > > > You mean my mails? > Yes, and I think I found it: the mails from Ron or from me had this Reply-To field: Reply-To: mailing list for gambas developers whereas yours is Reply-To: gambas at ...1..., mailing list for gambas developers So when a mail client wants to reply, it would put your gambas at ...570... address into the recipients, in addition to the mailing list. If somebody doesn't manually remove your address, you receive it twice. Maybe you can find out who adds your personal address to this field (Thunderbird or maybe SF?). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Oct 25 19:35:21 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Oct 2014 19:35:21 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: <20141025162303.GC538@...693...> References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> <544BC714.6020704@...1...> <20141025155459.GB538@...693...> <544BCCA4.1070209@...1...> <20141025162303.GC538@...693...> Message-ID: <544BDF59.4040702@...1...> Le 25/10/2014 18:23, Tobias Boege a ?crit : > On Sat, 25 Oct 2014, Beno?t Minisini wrote: >> Le 25/10/2014 17:54, Tobias Boege a ?crit : >>> >>> I also noticed that my mutt (I mean my mail client ;-)) has your address >>> *and* the mailing list's, both, copied to the recipients field when I >>> reply to one of your messages (and this happens only on your's). I didn't >>> pay much attention to this and always remove your address manually but now >>> it comes to speak... Maybe there is something special is your mail headers? >>> >>> Regards, >>> Tobi >>> >> >> You mean my mails? >> > > Yes, and I think I found it: the mails from Ron or from me had this Reply-To > field: > > Reply-To: mailing list for gambas developers > > whereas yours is > > Reply-To: gambas at ...1..., mailing list for gambas developers > > So when a mail client wants to reply, it would put your gambas at ...570... address > into the recipients, in addition to the mailing list. If somebody doesn't > manually remove your address, you receive it twice. Maybe you can find out > who adds your personal address to this field (Thunderbird or maybe SF?). > > Regards, > Tobi > Is it better now? -- Beno?t Minisini From taboege at ...176... Sat Oct 25 19:35:09 2014 From: taboege at ...176... (Tobias Boege) Date: Sat, 25 Oct 2014 19:35:09 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: <544BDF59.4040702@...1...> References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> <544BC714.6020704@...1...> <20141025155459.GB538@...693...> <544BCCA4.1070209@...1...> <20141025162303.GC538@...693...> <544BDF59.4040702@...1...> Message-ID: <20141025173509.GD538@...693...> On Sat, 25 Oct 2014, Beno?t Minisini wrote: > Le 25/10/2014 18:23, Tobias Boege a ?crit : > > On Sat, 25 Oct 2014, Beno?t Minisini wrote: > >> Le 25/10/2014 17:54, Tobias Boege a ?crit : > >>> > >>> I also noticed that my mutt (I mean my mail client ;-)) has your address > >>> *and* the mailing list's, both, copied to the recipients field when I > >>> reply to one of your messages (and this happens only on your's). I didn't > >>> pay much attention to this and always remove your address manually but now > >>> it comes to speak... Maybe there is something special is your mail headers? > >>> > >>> Regards, > >>> Tobi > >>> > >> > >> You mean my mails? > >> > > > > Yes, and I think I found it: the mails from Ron or from me had this Reply-To > > field: > > > > Reply-To: mailing list for gambas developers > > > > whereas yours is > > > > Reply-To: gambas at ...1..., mailing list for gambas developers > > > > So when a mail client wants to reply, it would put your gambas at ...570... address > > into the recipients, in addition to the mailing list. If somebody doesn't > > manually remove your address, you receive it twice. Maybe you can find out > > who adds your personal address to this field (Thunderbird or maybe SF?). > > > > Regards, > > Tobi > > > > Is it better now? > Yes :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From ron at ...572... Sat Oct 25 20:35:37 2014 From: ron at ...572... (Ron) Date: Sat, 25 Oct 2014 20:35:37 +0200 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: <20141025173509.GD538@...693...> References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> <544BC714.6020704@...1...> <20141025155459.GB538@...693...> <544BCCA4.1070209@...1...> <20141025162303.GC538@...693...> <544BDF59.4040702@...1...> <20141025173509.GD538@...693...> Message-ID: When I do a g-mail reply I have two gambas-dev addresses.. (removed one not to harass Beno?t) But back to my story, what about the colors :-) Ron. 2014-10-25 19:35 GMT+02:00 Tobias Boege : > On Sat, 25 Oct 2014, Beno?t Minisini wrote: >> Le 25/10/2014 18:23, Tobias Boege a ?crit : >> > On Sat, 25 Oct 2014, Beno?t Minisini wrote: >> >> Le 25/10/2014 17:54, Tobias Boege a ?crit : >> >>> >> >>> I also noticed that my mutt (I mean my mail client ;-)) has your address >> >>> *and* the mailing list's, both, copied to the recipients field when I >> >>> reply to one of your messages (and this happens only on your's). I didn't >> >>> pay much attention to this and always remove your address manually but now >> >>> it comes to speak... Maybe there is something special is your mail headers? >> >>> >> >>> Regards, >> >>> Tobi >> >>> >> >> >> >> You mean my mails? >> >> >> > >> > Yes, and I think I found it: the mails from Ron or from me had this Reply-To >> > field: >> > >> > Reply-To: mailing list for gambas developers >> > >> > whereas yours is >> > >> > Reply-To: gambas at ...1..., mailing list for gambas developers >> > >> > So when a mail client wants to reply, it would put your gambas at ...736..... address >> > into the recipients, in addition to the mailing list. If somebody doesn't >> > manually remove your address, you receive it twice. Maybe you can find out >> > who adds your personal address to this field (Thunderbird or maybe SF?). >> > >> > Regards, >> > Tobi >> > >> >> Is it better now? >> > > Yes :-) > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From taboege at ...176... Sun Oct 26 09:53:25 2014 From: taboege at ...176... (Tobias Boege) Date: Sun, 26 Oct 2014 09:53:25 +0100 Subject: [Gambas-devel] [Gambas-devel-svn] SF.net SVN: gambas:[6578] gambas/trunk In-Reply-To: References: Message-ID: <20141026085325.GD761@...693...> On Sun, 26 Oct 2014, gambas at ...1... wrote: > [GB.FORM] > * NEW: Completion is a new class to implement automatic completion on an > already existing TextBox. Keep in mind that the Trie class in gb.data can do completion of an arbitrary prefix P of length M among N strings in time O(M) where the naive approach of searching the strings for the longest common prefix containing P (like in two nested For loops) would be O(N*M). The Trie scales even better if your prefixes become finer-grained over time (like if a human is typing a specific word), then you can incorporate a new letter in quasi-constant time. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...176... Sun Oct 26 10:22:10 2014 From: gambas.fr at ...176... (Fabien Bodard) Date: Sun, 26 Oct 2014 10:22:10 +0100 Subject: [Gambas-devel] [Gambas-devel-svn] SF.net SVN: gambas:[6578] gambas/trunk In-Reply-To: <20141026085325.GD761@...693...> References: <20141026085325.GD761@...693...> Message-ID: This application has raised an unexpected error and must abort. [11] Unknown symbol 'FontOf' in class 'Style'. TabPanel.TextFont_Read.537 Ouch i've a BUG here !! I'm unable to start the ide 2014-10-26 9:53 GMT+01:00 Tobias Boege : > On Sun, 26 Oct 2014, gambas at ...1... wrote: >> [GB.FORM] >> * NEW: Completion is a new class to implement automatic completion on an >> already existing TextBox. > > Keep in mind that the Trie class in gb.data can do completion of an > arbitrary prefix P of length M among N strings in time O(M) where > the naive approach of searching the strings for the longest common > prefix containing P (like in two nested For loops) would be O(N*M). > > The Trie scales even better if your prefixes become finer-grained > over time (like if a human is typing a specific word), then you can > incorporate a new letter in quasi-constant time. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -- Fabien Bodard From gambas.fr at ...176... Sun Oct 26 11:08:24 2014 From: gambas.fr at ...176... (Fabien Bodard) Date: Sun, 26 Oct 2014 11:08:24 +0100 Subject: [Gambas-devel] [Gambas-devel-svn] SF.net SVN: gambas:[6578] gambas/trunk In-Reply-To: References: <20141026085325.GD761@...693...> Message-ID: well : GB_DESC StyleDesc[] = { GB_DECLARE("Style", 0), GB_VIRTUAL_CLASS(), GB_STATIC_PROPERTY_READ("ScrollbarSize", "i", Style_ScrollbarSize), GB_STATIC_PROPERTY_READ("ScrollbarSpacing", "i", Style_ScrollbarSpacing), GB_STATIC_PROPERTY_READ("FrameWidth", "i", Style_FrameWidth), GB_STATIC_PROPERTY_READ("TextBoxFrameWidth", "i", Style_FrameWidth), GB_STATIC_PROPERTY_READ("BoxFrameWidth", "i", Style_BoxFrameWidth), GB_STATIC_PROPERTY_READ("BoxFrameHeight", "i", Style_BoxFrameWidth), GB_STATIC_PROPERTY_READ("Name", "s", Style_Name), GB_STATIC_METHOD("PaintArrow", NULL, Style_PaintArrow, "(X)i(Y)i(Width)i(Height)i(Type)i[(Flag)i]"), GB_STATIC_METHOD("PaintCheck", NULL, Style_PaintCheck, "(X)i(Y)i(Width)i(Height)i(Value)i[(Flag)i]"), GB_STATIC_METHOD("PaintOption", NULL, Style_PaintOption, "(X)i(Y)i(Width)i(Height)i(Value)b[(Flag)i]"), GB_STATIC_METHOD("PaintSeparator", NULL, Style_PaintSeparator, "(X)i(Y)i(Width)i(Height)i[(Vertical)b(Flag)i]"), GB_STATIC_METHOD("PaintButton", NULL, Style_PaintButton, "(X)i(Y)i(Width)i(Height)i(Value)b[(Flag)i(Flat)b]"), GB_STATIC_METHOD("PaintPanel", NULL, Style_PaintPanel, "(X)i(Y)i(Width)i(Height)i(Border)i[(Flag)i]"), GB_STATIC_METHOD("PaintHandle", NULL, Style_PaintHandle, "(X)i(Y)i(Width)i(Height)i[(Vertical)b(Flag)i]"), GB_STATIC_METHOD("PaintBox", NULL, Style_PaintBox, "(X)i(Y)i(Width)i(Height)i[(Flag)i(Color)i]"), GB_CONSTANT("Normal", "i", GB_DRAW_STATE_NORMAL), GB_CONSTANT("Disabled", "i", GB_DRAW_STATE_DISABLED), GB_CONSTANT("HasFocus", "i", GB_DRAW_STATE_FOCUS), GB_CONSTANT("Hovered", "i", GB_DRAW_STATE_HOVER), GB_CONSTANT("Active", "i", GB_DRAW_STATE_ACTIVE), GB_STATIC_METHOD("StateOf", "i", Style_StateOf, "(Control)Control;"), GB_STATIC_METHOD("BackgroundOf", "i", Style_BackgroundOf, "(Control)Control;"), GB_STATIC_METHOD("ForegroundOf", "i", Style_ForegroundOf, "(Control)Control;"), --------->//GB_STATIC_METHOD("FontOf", "Font", Style_FontOf, "(Control)Control;"), <------- COMMENTED ????? GB_END_DECLARE }; And it exist only on gb.qt4 !! I ve correct it by just set in TabPanel.class Private Function TextFont_Read() As Font Return $hTabBar.Font End 2014-10-26 10:22 GMT+01:00 Fabien Bodard : > This application has raised an unexpected > error and must abort. > > [11] Unknown symbol 'FontOf' in class 'Style'. > TabPanel.TextFont_Read.537 > > > Ouch i've a BUG here !! I'm unable to start the ide > > 2014-10-26 9:53 GMT+01:00 Tobias Boege : >> On Sun, 26 Oct 2014, gambas at ...1... wrote: >>> [GB.FORM] >>> * NEW: Completion is a new class to implement automatic completion on an >>> already existing TextBox. >> >> Keep in mind that the Trie class in gb.data can do completion of an >> arbitrary prefix P of length M among N strings in time O(M) where >> the naive approach of searching the strings for the longest common >> prefix containing P (like in two nested For loops) would be O(N*M). >> >> The Trie scales even better if your prefixes become finer-grained >> over time (like if a human is typing a specific word), then you can >> incorporate a new letter in quasi-constant time. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-devel mailing list >> Gambas-devel at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-devel > > > > -- > Fabien Bodard -- Fabien Bodard From gambas.fr at ...176... Sun Oct 26 11:53:29 2014 From: gambas.fr at ...176... (Fabien Bodard) Date: Sun, 26 Oct 2014 11:53:29 +0100 Subject: [Gambas-devel] Please Benoit i want this !! Message-ID: Private Function GetDiffArray(Array1 As Integer[], Array2 As Integer[]) As Integer[] Dim aRet As New Integer[] Dim i As Integer For Each i In Array2 If Array1.Exist(i) Then Continue aRet.Add(i) Next Return aRet End Is it possible to add this in a native way : MyArray1.Diff(MyArray2) as array ? For example in a string it will give Destination to do : [Dest1, Dest2, Dest3, Dest4] Destination Done [Dest1, Dest3] Dest remain : [Dest2, Dest4] I use this to manage a doc cache. In the view i have for example Doc10 to Doc 16 showed. If i scroll then the doclist change ... so i have to remove a part of the doc from the cache and then charge another one. Regards, Fabien -- Fabien Bodard From ron at ...572... Sun Oct 26 13:33:09 2014 From: ron at ...572... (Ron) Date: Sun, 26 Oct 2014 13:33:09 +0100 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> <544BC714.6020704@...1...> <20141025155459.GB538@...693...> <544BCCA4.1070209@...1...> <20141025162303.GC538@...693...> <544BDF59.4040702@...1...> <20141025173509.GD538@...693...> Message-ID: Some more info comp/src/gb.form/.src/Balloon/FBallon.class in open_form debug hex(Color.TooltipForeground) gives FBalloon.Form_Open.428: FFFFFF which is white, not readable on yellow background. Changed the systems Color.TooltipForeground to black with : gnome-color-chooser It's ok now, no idea what was wrong. Perhaps gambas should choose two opposite colors if the fetched ones are to close to each other. Like it did in Gambas 3.5? Regards, Ron. From gambas at ...1... Sun Oct 26 13:48:28 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 26 Oct 2014 13:48:28 +0100 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> <544BC714.6020704@...1...> <20141025155459.GB538@...693...> <544BCCA4.1070209@...1...> <20141025162303.GC538@...693...> <544BDF59.4040702@...1...> <20141025173509.GD538@...693...> Message-ID: <544CED9C.6010803@...1...> Le 26/10/2014 13:33, Ron a ?crit : > Some more info > > comp/src/gb.form/.src/Balloon/FBallon.class > in open_form > > debug hex(Color.TooltipForeground) > > gives > FBalloon.Form_Open.428: FFFFFF > > which is white, not readable on yellow background. > > Changed the systems Color.TooltipForeground to black with : > gnome-color-chooser > > It's ok now, no idea what was wrong. > Perhaps gambas should choose two opposite colors if the fetched ones > are to close to each other. > Like it did in Gambas 3.5? > > Regards, > Ron. > It's logical to use the system tooltip colors for a tooltip balloon. And normally they should be readable! -- Beno?t Minisini From ron at ...572... Sun Oct 26 13:55:52 2014 From: ron at ...572... (Ron) Date: Sun, 26 Oct 2014 13:55:52 +0100 Subject: [Gambas-devel] Balloon backcolor Gambas 3.6 In-Reply-To: <544CED9C.6010803@...1...> References: <544BA19B.5090808@...1...> <544BB68C.5000705@...1...> <544BC714.6020704@...1...> <20141025155459.GB538@...693...> <544BCCA4.1070209@...1...> <20141025162303.GC538@...693...> <544BDF59.4040702@...1...> <20141025173509.GD538@...693...> <544CED9C.6010803@...1...> Message-ID: I know I'm not the only one with this problem..that's why. And my setup is just using a normal Ubuntu 14.04 (although upgraded from older versions) Regards, Ron. 2014-10-26 13:48 GMT+01:00 Beno?t Minisini : > Le 26/10/2014 13:33, Ron a ?crit : >> Some more info >> >> comp/src/gb.form/.src/Balloon/FBallon.class >> in open_form >> >> debug hex(Color.TooltipForeground) >> >> gives >> FBalloon.Form_Open.428: FFFFFF >> >> which is white, not readable on yellow background. >> >> Changed the systems Color.TooltipForeground to black with : >> gnome-color-chooser >> >> It's ok now, no idea what was wrong. >> Perhaps gambas should choose two opposite colors if the fetched ones >> are to close to each other. >> Like it did in Gambas 3.5? >> >> Regards, >> Ron. >> > > It's logical to use the system tooltip colors for a tooltip balloon. And > normally they should be readable! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel From ron at ...572... Sun Oct 26 14:37:55 2014 From: ron at ...572... (Ron) Date: Sun, 26 Oct 2014 14:37:55 +0100 Subject: [Gambas-devel] gb.IgnoreCase bug? Message-ID: Public Sub Main() Dim sMode As String = "Server" Print InStr(sMode, "server", gb.IgnoreCase) Print InStr(sMode, "Server", gb.IgnoreCase) End 0 1 Gambas 3.6.0 Regards, Ron. From ron at ...572... Sun Oct 26 14:45:42 2014 From: ron at ...572... (Ron) Date: Sun, 26 Oct 2014 14:45:42 +0100 Subject: [Gambas-devel] gb.IgnoreCase bug? In-Reply-To: References: Message-ID: Nevermind.. got it.. 2014-10-26 14:37 GMT+01:00 Ron : > Public Sub Main() > > Dim sMode As String = "Server" > > Print InStr(sMode, "server", gb.IgnoreCase) > Print InStr(sMode, "Server", gb.IgnoreCase) > > End > > 0 > 1 > > Gambas 3.6.0 > > Regards, > Ron. From gambas at ...1... Sun Oct 26 14:46:54 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 26 Oct 2014 14:46:54 +0100 Subject: [Gambas-devel] gb.IgnoreCase bug? In-Reply-To: References: Message-ID: <544CFB4E.4090704@...1...> Le 26/10/2014 14:37, Ron a ?crit : > Public Sub Main() > > Dim sMode As String = "Server" > > Print InStr(sMode, "server", gb.IgnoreCase) > Print InStr(sMode, "Server", gb.IgnoreCase) > > End > > 0 > 1 > > Gambas 3.6.0 > > Regards, > Ron. > Read the doc. :-) -- Beno?t Minisini From ron at ...572... Sun Oct 26 14:49:38 2014 From: ron at ...572... (Ron) Date: Sun, 26 Oct 2014 14:49:38 +0100 Subject: [Gambas-devel] gb.IgnoreCase bug? In-Reply-To: <544CFB4E.4090704@...1...> References: <544CFB4E.4090704@...1...> Message-ID: Mandatory to also specify a start if you use comparison ;-) But that's not in the doc in these words... 2014-10-26 14:46 GMT+01:00 Beno?t Minisini : > Le 26/10/2014 14:37, Ron a ?crit : >> Public Sub Main() >> >> Dim sMode As String = "Server" >> >> Print InStr(sMode, "server", gb.IgnoreCase) >> Print InStr(sMode, "Server", gb.IgnoreCase) >> >> End >> >> 0 >> 1 >> >> Gambas 3.6.0 >> >> Regards, >> Ron. >> > > Read the doc. :-) > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel