From eilert-sprachen at ...221... Wed Oct 1 10:42:34 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 01 Oct 2008 10:42:34 +0200 Subject: [Gambas-user] Bad string conversion etc. Message-ID: <48E337FA.4020402@...221...> Still trying to convert a Gambas1 app to Gambas2. Basically, it begins to run. However, there are strange error message at some points, and I do not understand what causes them. 1. This line po = links.Find(wert[8], gb.Language) results in "Bad string conversion". Strange to me, as I do not see any conversion here. 2. Here "Maske" is a tabstrip. First it is checked that it has enough tabs. Then the "current" tab is set. IF CInt(wert[0]) > Maske.Count THEN Maske.Count = CInt(wert[0]) Maske.Index = CInt(wert[0] - 1) Gambas will stop at the second line complaining "Type mismatch: wanted Number got String instead". Well, wert[0] at this time contains the string "1". This is a string with a number, and CInt should convert it to a numeric value, shouldn't it? (I tested to leave out the "- 1", this resulted in "Bad index" for the tabstrip!) Rather confused Rolf From gambas at ...1... Wed Oct 1 14:45:33 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 1 Oct 2008 14:45:33 +0200 Subject: [Gambas-user] Bad string conversion etc. In-Reply-To: <48E337FA.4020402@...221...> References: <48E337FA.4020402@...221...> Message-ID: <200810011445.33385.gambas@...1...> On mercredi 01 octobre 2008, Rolf-Werner Eilert wrote: > Still trying to convert a Gambas1 app to Gambas2. Basically, it begins > to run. However, there are strange error message at some points, and I > do not understand what causes them. > > 1. This line > > po = links.Find(wert[8], gb.Language) > > results in "Bad string conversion". Strange to me, as I do not see any > conversion here. By using gb.language, you force a locale-aware comparison of the strings inside links. This locale-aware string comparison is implemented by first converting the strings into 32 bits Unicode, and that conversion apparently fails. What does the links array contain? > > 2. Here "Maske" is a tabstrip. First it is checked that it has enough > tabs. Then the "current" tab is set. > > IF CInt(wert[0]) > Maske.Count THEN Maske.Count = CInt(wert[0]) > Maske.Index = CInt(wert[0] - 1) > > Gambas will stop at the second line complaining "Type mismatch: wanted > Number got String instead". > > Well, wert[0] at this time contains the string "1". This is a string > with a number, and CInt should convert it to a numeric value, shouldn't > it? (I tested to leave out the "- 1", this resulted in "Bad index" for > the tabstrip!) This is a little bug in addition optimization. Anyway, if you want to do arithmetic, do it on numbers, not on strings: Maske.Index = CInt(wert[0]) - 1 Regards, -- Benoit Minisini From eilert-sprachen at ...221... Wed Oct 1 15:42:52 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 01 Oct 2008 15:42:52 +0200 Subject: [Gambas-user] Bad string conversion etc. In-Reply-To: <200810011445.33385.gambas@...1...> References: <48E337FA.4020402@...221...> <200810011445.33385.gambas@...1...> Message-ID: <48E37E5C.6050004@...221...> Benoit Minisini schrieb: > On mercredi 01 octobre 2008, Rolf-Werner Eilert wrote: >> Still trying to convert a Gambas1 app to Gambas2. Basically, it begins >> to run. However, there are strange error message at some points, and I >> do not understand what causes them. >> >> 1. This line >> >> po = links.Find(wert[8], gb.Language) >> >> results in "Bad string conversion". Strange to me, as I do not see any >> conversion here. > > By using gb.language, you force a locale-aware comparison of the strings > inside links. This locale-aware string comparison is implemented by first > converting the strings into 32 bits Unicode, and that conversion apparently > fails. What does the links array contain? It contains a list of field names or "variable" names from a database. You are right, if I leave gb.Language away, the thing works just fine. BUT: If I use gb.Text, it works too. And in the help I find that gb.Language isn't mentioned at all - is there a deeper reason for this to be left out for the find method? This brings me to a new question that just arose: When running the program, I found that the list of persons' names wasn't sorted anymore or not sorted correctly. So I started to play with the three options for .Sort() and to compare them to the list in the original app running under Gambas1. You know, we got Umlauts in German, so UTF-8 plays a role. And there are people with accents in their names like in French or the name begins with a non-capital letter. Under Gambas1, when I used Sort(gb.Lang) everything was sorted just the way I would expect it from what is usual in a German office environment, for instance: - ? is treated like ue, ? like oe, ? like ae, - ? like ss - and the sort is not case sensitive i. e. de = De When I use gb.Language now, the name "de Witt" is hidden at the end of the list, ? is treated like they do in Swedish (at the end of all u...s, i. e. "M?ller" is set after "Munk" and not before it) etc. The options gb.Text and gb.Binary aren't useful here, either. What is the reason for this? >> 2. Here "Maske" is a tabstrip. First it is checked that it has enough >> tabs. Then the "current" tab is set. >> >> IF CInt(wert[0]) > Maske.Count THEN Maske.Count = CInt(wert[0]) >> Maske.Index = CInt(wert[0] - 1) >> >> Gambas will stop at the second line complaining "Type mismatch: wanted >> Number got String instead". >> >> Well, wert[0] at this time contains the string "1". This is a string >> with a number, and CInt should convert it to a numeric value, shouldn't >> it? (I tested to leave out the "- 1", this resulted in "Bad index" for >> the tabstrip!) > > This is a little bug in addition optimization. Anyway, if you want to do > arithmetic, do it on numbers, not on strings: > > Maske.Index = CInt(wert[0]) - 1 > > Regards, > Yes :-) I think this was a little bug in my brain, although one might come up with "the interpreter should understand this". After all, Gambas1 did. But you shouldn't be able to mix up a numeric value with a string expression, so the error message here seems more correct to me. Regards Rolf From leo_senpao at ...1541... Wed Oct 1 22:57:51 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Thu, 2 Oct 2008 04:57:51 +0800 (SGT) Subject: [Gambas-user] Ask About Table View Message-ID: <208401.71995.qm@...1985...> Hello all... I have a problem in table view programming. As we know, we can edit table view by using an edit method. When I use this method, it take me to a cell in a table view. The problem is, when I press an ENTER I want to change setfocus to a textbox (suppose that I have 2 components in a form. They are table view and textbox). But, the fact, when I press an ENTER, the cursor moves to other cell in a table view. How can I change my setfocus to a textbox by pressing an ENTER key on my keyboard?? If it's not possible, please give me some suggestion how to change a setfocus to textbox?? And also, I wonder when I use an edit method like this: tableview1.edit(list), I always get an error message. The message is "NULL OBJECT". Actually, I have declared a "list" as a String[]. And I also give a value to this variable. But.. I always get that message. So, my question is: How can I use this kind of edit method?? Please help me.... I really need the answer immediately.... Thank you..... ___________________________________________________________________________ Bergabunglah dengan orang-orang yang berwawasan, di di bidang Anda! Kunjungi Yahoo! Answers saat ini juga di http://id.answers.yahoo.com/ From rospolosco at ...152... Thu Oct 2 00:19:30 2008 From: rospolosco at ...152... (Stefano Palmeri) Date: Thu, 2 Oct 2008 00:19:30 +0200 Subject: [Gambas-user] Ask About Table View In-Reply-To: <208401.71995.qm@...1985...> References: <208401.71995.qm@...1985...> Message-ID: <200810020019.31020.rospolosco@...152...> Il mercoled? 1 ottobre 2008 22:57:51 Leo Sendra ha scritto: > Hello all... I have a problem in table view programming. > > As we know, we can edit table view by using an edit method. When I use this > method, it take me to a cell in a table view. The > problem is, when I press an ENTER I want to change setfocus to a > textbox (suppose that I have 2 components in a form. They are table > view and textbox). But, the fact, when I press an ENTER, the cursor > moves to other cell in a table view. How can I change my setfocus to a > textbox by pressing an ENTER key on my keyboard?? If it's not possible, > please give me some suggestion how to change a setfocus to textbox?? > > And > also, I wonder when I use an edit method like this: > tableview1.edit(list), I always get an error message. The message is > "NULL OBJECT". > Actually, I have declared a "list" as a String[]. And > I also give a value to this variable. But.. I always get that message. > So, my question is: How can I use this kind of edit method?? > > Please help me.... I really need the answer immediately.... Thank you..... > > 1st question: PUBLIC SUB TableView1_KeyPress() IF Key.Code = Key.Return THEN TextBox1.SetFocus IF Key.Code = Key.Enter THEN TextBox1.SetFocus END Bye > > ___________________________________________________________________________ > Bergabunglah dengan orang-orang yang berwawasan, di di bidang Anda! > Kunjungi Yahoo! Answers saat ini juga di http://id.answers.yahoo.com/ > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From shordi at ...626... Thu Oct 2 10:26:54 2008 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Thu, 2 Oct 2008 10:26:54 +0200 Subject: [Gambas-user] Accesin database events Message-ID: This is a image of the application. I don't know if it is enough clear. Perhaps I don't undestand very well the philosophy of gamba's bounded controls... Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: examplegambas.png Type: image/png Size: 66585 bytes Desc: not available URL: From gambas at ...1... Thu Oct 2 11:27:51 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Oct 2008 11:27:51 +0200 Subject: [Gambas-user] Accesin database events In-Reply-To: References: Message-ID: <200810021127.51492.gambas@...1...> On jeudi 02 octobre 2008, Jorge Carri?n wrote: > This is a image of the application. I don't know if it is enough clear. > Perhaps I don't undestand very well the philosophy of gamba's bounded > controls... > Thanks It should work as you expect. But there is a requirement: the primary key of inner DataSources tables must include the primary key of the outer DataSource. Can you check that? -- Benoit Minisini From gambas at ...1... Fri Oct 3 09:07:19 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Oct 2008 09:07:19 +0200 Subject: [Gambas-user] Bugs in gb.net.curl Message-ID: <200810030907.19956.gambas@...1...> Hi, In revision #1623, I started to fix the gb.net.curl component, which has many problems. I'd want to release Gambas 2.9 with a fixed gb.net.curl component, so if people using FtpClient or HttpClient could test their program with this revision, and report any problem, it would be cool! Regards, -- Benoit Minisini From ron at ...1740... Fri Oct 3 09:42:03 2008 From: ron at ...1740... (Ron) Date: Fri, 03 Oct 2008 09:42:03 +0200 Subject: [Gambas-user] Gambas for netbooks (was Re: bug signal #11 when using gb.net.curl) In-Reply-To: <200810030918.44705.gambas@...1...> References: <48E5C3A3.9060605@...1740...> <200810030905.10752.gambas@...1...> <48E5C5A1.80903@...1740...> <200810030918.44705.gambas@...1...> Message-ID: <48E5CCCB.5080509@...1740...> Benoit Minisini schreef: > On vendredi 03 octobre 2008, you wrote: > >> Benoit Minisini schreef: >> >>> On vendredi 03 octobre 2008, you wrote: >>> >>>> Benoit, >>>> >>>> did you receive my example project and did you manage to reproduce my >>>> signal 11 problem with it? >>>> >>>> Or do you need any more info? >>>> >>>> Been developing my application for the last days, it's again rock solid >>>> when I leave out that specific httpclient code (other almost similar >>>> code works fine btw) >>>> >>>> Thanks, >>>> Ron. >>>> >>> I have just sent you the result of my long work! :-) >>> >> What a coincidence ;-) >> >> A side note; >> I have bought an Asus EeePC 1000H this week, installed Ubuntu eee and >> Gambas2 and they run great on it, and my application looks very nice. >> Developing Forms can be done, but due to the lower resolution requires a >> bit of scrolling, but writeing code, and testing works very nice. >> The Gambas IDE and compiled programs are running fast! >> >> So Gambas2 is Atom N270 cpu approved ;-) >> >> Will compile lastest rev, and let you know. >> >> Regards, >> Ron_2nd >> > > Cool! What is the screen resolution? If you have suggestions on how to make > the interface of IDE better on these small computers, tell (on the > mailing-list, maybe other people use Gambas on them). > > Regards, > > Benoit and others, That was exactly what I wanted to suggest, maybe provide a mode/button to clear out unwanted graphical element in GUI design mode so you make better use of the smaller resolution. On my Asus EeePC it is 1024x600 (i think most of the netbooks use this) Have to see which elements I use most, but maybe display a list of the elements in setup somewhere where you can simple check or uncheck them. Or, implement an auto-hide mode, when you scroll to the lefthandside of the GUI editor the list of modules and forms appear, after selecting, it dissapears again, same for righthand properties window, and debug/console window... just a thought, have to see if this is workable. Mine has a 160Gb harddrive, so plenty of room to install a multiboot environment (I have Windows XP, and Ubuntu eee with Gambas 2.9 now) The Windows license came with it, Asus reports that there is also a Linux version (cheaper), but couldn't find it in the Netherlands. Unlike other eeepc's this one has an almost full size keyboard (95% i think) Regards, Ron_2nd From gael.lehech at ...626... Fri Oct 3 10:51:58 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Fri, 3 Oct 2008 10:51:58 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component Message-ID: Hi, I need to receive data from a device with serial port with 19200 bauds 8 bits data Even parity 2 stop bits settings, but I get only 7 bits of my data. I check with serlook and data received is correct : 10 00 00 F0, with gambas I receive 10 00 00 70 I check the change log of the component but didn't see any problem with parity setting. I use version 2.0.0 of gambas2 (I know it's old but with my slackware 11 I can't get newer version to compile). It 's a very annoying problem because I can't change the serial settings of my device :-( kind regards Ga?l From ron at ...1740... Fri Oct 3 18:12:00 2008 From: ron at ...1740... (Ron) Date: Fri, 03 Oct 2008 18:12:00 +0200 Subject: [Gambas-user] Bleh Message-ID: <48E64450.6040700@...1740...> Have sent several mails in last days to this list, they simple don't show up. I hate that, waste of time. From gambas at ...1... Fri Oct 3 18:20:59 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Oct 2008 18:20:59 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <48E64450.6040700@...1740...> References: <48E64450.6040700@...1740...> Message-ID: <200810031821.00250.gambas@...1...> On vendredi 03 octobre 2008, Ron wrote: > Have sent several mails in last days to this list, they simple don't > show up. > I hate that, waste of time. > I have a similar problem, but with the sourceforge commits mailing-list. Some commits are never emitted. Sourceforge infrastructure is not very reliable. -- Benoit Minisini From david_villalobos_c at ...43... Fri Oct 3 18:27:25 2008 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Fri, 3 Oct 2008 09:27:25 -0700 (PDT) Subject: [Gambas-user] Bleh Message-ID: <714005.81663.qm@...1656...> Maybe we should find another host? Regards -- David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas users Sent: Friday, October 3, 2008 10:20:59 AM Subject: Re: [Gambas-user] Bleh On vendredi 03 octobre 2008, Ron wrote: > Have sent several mails in last days to this list, they simple don't > show up. > I hate that, waste of time. > I have a similar problem, but with the sourceforge commits mailing-list. Some commits are never emitted. Sourceforge infrastructure is not very reliable. -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From rospolosco at ...152... Fri Oct 3 18:30:57 2008 From: rospolosco at ...152... (Stefano Palmeri) Date: Fri, 3 Oct 2008 18:30:57 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <48E64450.6040700@...1740...> References: <48E64450.6040700@...1740...> Message-ID: <200810031830.57348.rospolosco@...152...> Il venerd? 3 ottobre 2008 18:12:00 Ron ha scritto: > Have sent several mails in last days to this list, they simple don't > show up. > I hate that, waste of time. > > Oh, well (or not). I thought it was just me. I lost a couple of mails last week. Bye, Stefano > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From klaine8 at ...626... Fri Oct 3 20:37:14 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 3 Oct 2008 21:37:14 +0300 Subject: [Gambas-user] Bleh In-Reply-To: <200810031830.57348.rospolosco@...152...> References: <48E64450.6040700@...1740...> <200810031830.57348.rospolosco@...152...> Message-ID: <61452b690810031137t1c036a1ep57a7d27220e8ee18@...627...> On Fri, Oct 3, 2008 at 7:30 PM, Stefano Palmeri wrote: > Il venerd? 3 ottobre 2008 18:12:00 Ron ha scritto: > > Have sent several mails in last days to this list, they simple don't > > show up. > > I hate that, waste of time. > > > > > > Oh, well (or not). I thought it was just me. > I lost a couple of mails last week. > > I have also lost many mails (about 6) to the list. Not lately because I understood that I have to figure out this Gambas myself instead of asking stupid questions :-) I suggest that another mailing list should be set up with an another provider. They are not expensive - I can pay for that. I already have an hosting package which include mailing list service. It's a big provider with lot's of space and bandwidth (servage). I could set up a list by tomorrow if wanted. Also I could offer service to exchange Gambas-programs from that site. Gambasforge would be great if it worked. I can not get any gz as correct they are always corrupted. This was situation a couple of weeks ago - have not tried lately. Also a net forum could be set up. Many people are not comfortable with mailing lists - they prefer forums. Naturally such are forum would be worth nothing if Benoit would not visit it. Let me know. Best Regards Kari Laine From klaine8 at ...626... Fri Oct 3 20:49:30 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 3 Oct 2008 21:49:30 +0300 Subject: [Gambas-user] Bleh In-Reply-To: <61452b690810031137t1c036a1ep57a7d27220e8ee18@...627...> References: <48E64450.6040700@...1740...> <200810031830.57348.rospolosco@...152...> <61452b690810031137t1c036a1ep57a7d27220e8ee18@...627...> Message-ID: <61452b690810031149p320041f2se8bee48e76ff8b01@...627...> On Fri, Oct 3, 2008 at 9:37 PM, Kari Laine wrote: > On Fri, Oct 3, 2008 at 7:30 PM, Stefano Palmeri wrote: > >> Il venerd? 3 ottobre 2008 18:12:00 Ron ha scritto: >> > Have sent several mails in last days to this list, they simple don't >> > show up. >> > I hate that, waste of time. >> > >> > >> >> Oh, well (or not). I thought it was just me. >> I lost a couple of mails last week. >> >> > I have also lost many mails (about 6) to the list. Not lately because I > understood that I have to figure out this Gambas myself instead of asking > stupid questions :-) > > I suggest that another mailing list should be set up with an another > provider. They are not expensive - I can pay for that. I already have an > hosting package which include mailing list service. It's a big provider with > lot's of space and bandwidth (servage). I could set up a list by tomorrow if > wanted. Also I could offer service to exchange Gambas-programs from that > site. Gambasforge would be great if it worked. I can not get any gz as > correct they are always corrupted. This was situation a couple of weeks ago > - have not tried lately. > > Also a net forum could be set up. Many people are not comfortable with > mailing lists - they prefer forums. Naturally such are forum would be worth > nothing if Benoit would not visit it. > > Sorry to get back to you again but had a look my servage hosting. The "mailing list" is more like customer mailing list. It's managed manually. It is not like typical mailing list. Anyway my offer stands if we can find a good mailing list hoster - I am prepared to pay the bills. It probably shouldn't be more than about 100euros/year. Best Regards Kari Laine From gambas at ...1... Fri Oct 3 21:11:08 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Oct 2008 21:11:08 +0200 Subject: [Gambas-user] test Message-ID: <200810032111.08134.gambas@...1...> -- Benoit Minisini From gambas at ...1... Fri Oct 3 21:17:41 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Oct 2008 21:17:41 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: References: Message-ID: <200810032117.41492.gambas@...1...> On vendredi 03 octobre 2008, Ga?l Le Hec'H wrote: > Hi, > I need to receive data from a device with serial port with 19200 bauds 8 > bits data Even parity 2 stop bits settings, but I get only 7 bits of my > data. > I check with serlook and data received is correct : 10 00 00 F0, with > gambas I receive 10 00 00 70 > I check the change log of the component but didn't see any problem with > parity setting. > I use version 2.0.0 of gambas2 (I know it's old but with my slackware 11 I > can't get newer version to compile). > It 's a very annoying problem because I can't change the serial settings of > my device :-( > kind regards > > Ga?l I fixed that I have fixed the problem in revision #1624, and it would be cool if you could compile the latest version of Gambas to check that. Why can't you compile a recent version of Gambas on slackware 11? -- Benoit Minisini From gambas at ...1... Fri Oct 3 21:21:30 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Oct 2008 21:21:30 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: <200810032117.41492.gambas@...1...> References: <200810032117.41492.gambas@...1...> Message-ID: <200810032121.30396.gambas@...1...> On vendredi 03 octobre 2008, Benoit Minisini wrote: > On vendredi 03 octobre 2008, Ga?l Le Hec'H wrote: > > Hi, > > I need to receive data from a device with serial port with 19200 bauds 8 > > bits data Even parity 2 stop bits settings, but I get only 7 bits of my > > data. > > I check with serlook and data received is correct : 10 00 00 F0, with > > gambas I receive 10 00 00 70 > > I check the change log of the component but didn't see any problem with > > parity setting. > > I use version 2.0.0 of gambas2 (I know it's old but with my slackware 11 > > I can't get newer version to compile). > > It 's a very annoying problem because I can't change the serial settings > > of my device :-( > > kind regards > > > > Ga?l > > I fixed that I have fixed the problem in revision #1624, and it would be ---> I think... -- Benoit Minisini From joshiggins at ...1601... Fri Oct 3 22:22:57 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Fri, 3 Oct 2008 21:22:57 +0100 Subject: [Gambas-user] Making a taskbar with Gambas 3 In-Reply-To: <200809300037.13031.gambas@...1...> References: <200809300037.13031.gambas@...1...> Message-ID: <4247f5440810031322q2787fb1q691fc4bec2450379@...627...> wow! features are implemented soo quickly... thank you Beniot!!! On Mon, Sep 29, 2008 at 11:37 PM, Benoit Minisini < gambas at ...1...> wrote: > This is possible now, thanks to the changes in the gb.desktop component > from > revision #1617. > > 1) The DesktopWindow class now allows to change the Minimized, Maximized, > FullScreen, Sticky state of a top-level window. > > 2) The new DesktopWatcher class allows to watch the following things: > - Active window change. > - Current virtual desktop change. > - Virtual desktop name change. > - Number of virtual desktops change. > - Desktop width/height change. > - Window more/resize change. > - Window name (title) change. > - Window icon change. > - Window state change. > > Not everything is finished and engraved in the marble, but all these > features > are enough to implement a taskbar, a pager, and to manage virtual desktops. > > The only thing that is missing is something to make a system tray. > > With that last thing, you will be able to make a full desktop environment > entirely in Gambas, except the window manager. Such a beast is something > complex, so at the moment using an already existing and reliable one is a > better solution. > > Enjoy it! > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From joshiggins at ...1601... Fri Oct 3 22:23:34 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Fri, 3 Oct 2008 21:23:34 +0100 Subject: [Gambas-user] Making a taskbar with Gambas 3 In-Reply-To: <4247f5440810031322q2787fb1q691fc4bec2450379@...627...> References: <200809300037.13031.gambas@...1...> <4247f5440810031322q2787fb1q691fc4bec2450379@...627...> Message-ID: <4247f5440810031323t5d50b4c1t2c6debfc6711c5e5@...627...> I mean Benoit :-) On Fri, Oct 3, 2008 at 9:22 PM, Joshua Higgins wrote: > wow! features are implemented soo quickly... thank you Beniot!!! > > On Mon, Sep 29, 2008 at 11:37 PM, Benoit Minisini < > gambas at ...1...> wrote: > >> This is possible now, thanks to the changes in the gb.desktop component >> from >> revision #1617. >> >> 1) The DesktopWindow class now allows to change the Minimized, Maximized, >> FullScreen, Sticky state of a top-level window. >> >> 2) The new DesktopWatcher class allows to watch the following things: >> - Active window change. >> - Current virtual desktop change. >> - Virtual desktop name change. >> - Number of virtual desktops change. >> - Desktop width/height change. >> - Window more/resize change. >> - Window name (title) change. >> - Window icon change. >> - Window state change. >> >> Not everything is finished and engraved in the marble, but all these >> features >> are enough to implement a taskbar, a pager, and to manage virtual >> desktops. >> >> The only thing that is missing is something to make a system tray. >> >> With that last thing, you will be able to make a full desktop environment >> entirely in Gambas, except the window manager. Such a beast is something >> complex, so at the moment using an already existing and reliable one is a >> better solution. >> >> Enjoy it! >> >> -- >> Benoit Minisini >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > joshua higgins > >>>>>>------ > -- joshua higgins >>>>>>------ From joshiggins at ...1601... Fri Oct 3 23:01:06 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Fri, 3 Oct 2008 22:01:06 +0100 Subject: [Gambas-user] Ask About Table View In-Reply-To: <200810020019.31020.rospolosco@...152...> References: <208401.71995.qm@...1985...> <200810020019.31020.rospolosco@...152...> Message-ID: <4247f5440810031401o7b354a29s35ac91952a2a29cd@...627...> 2nd Question: declare as NEW String[] On Wed, Oct 1, 2008 at 11:19 PM, Stefano Palmeri wrote: > Il mercoled? 1 ottobre 2008 22:57:51 Leo Sendra ha scritto: > > Hello all... I have a problem in table view programming. > > > > As we know, we can edit table view by using an edit method. When I use > this > > method, it take me to a cell in a table view. The > > problem is, when I press an ENTER I want to change setfocus to a > > textbox (suppose that I have 2 components in a form. They are table > > view and textbox). But, the fact, when I press an ENTER, the cursor > > moves to other cell in a table view. How can I change my setfocus to a > > textbox by pressing an ENTER key on my keyboard?? If it's not possible, > > please give me some suggestion how to change a setfocus to textbox?? > > > > And > > also, I wonder when I use an edit method like this: > > tableview1.edit(list), I always get an error message. The message is > > "NULL OBJECT". > > Actually, I have declared a "list" as a String[]. And > > I also give a value to this variable. But.. I always get that message. > > So, my question is: How can I use this kind of edit method?? > > > > Please help me.... I really need the answer immediately.... Thank > you..... > > > > > 1st question: > > PUBLIC SUB TableView1_KeyPress() > > IF Key.Code = Key.Return THEN TextBox1.SetFocus > IF Key.Code = Key.Enter THEN TextBox1.SetFocus > > END > > Bye > > > > > > ___________________________________________________________________________ > > Bergabunglah dengan orang-orang yang berwawasan, di di bidang Anda! > > Kunjungi Yahoo! Answers saat ini juga di http://id.answers.yahoo.com/ > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & > win > > great prizes Grand prize is a trip for two to an Open Source event > anywhere > > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From joshiggins at ...1601... Fri Oct 3 23:31:37 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Fri, 3 Oct 2008 22:31:37 +0100 Subject: [Gambas-user] Making a taskbar with Gambas 3 In-Reply-To: <4247f5440810031323t5d50b4c1t2c6debfc6711c5e5@...627...> References: <200809300037.13031.gambas@...1...> <4247f5440810031322q2787fb1q691fc4bec2450379@...627...> <4247f5440810031323t5d50b4c1t2c6debfc6711c5e5@...627...> Message-ID: <4247f5440810031431x862b357gbefdad81c8e42325@...627...> I just have 1 problem: I havent used events before. Is there a tutorial on these? I've read through the wiki pages on events declaration etc, but its no clearer to me. On Fri, Oct 3, 2008 at 9:23 PM, Joshua Higgins wrote: > I mean Benoit :-) > > > On Fri, Oct 3, 2008 at 9:22 PM, Joshua Higgins wrote: > >> wow! features are implemented soo quickly... thank you Beniot!!! >> >> On Mon, Sep 29, 2008 at 11:37 PM, Benoit Minisini < >> gambas at ...1...> wrote: >> >>> This is possible now, thanks to the changes in the gb.desktop component >>> from >>> revision #1617. >>> >>> 1) The DesktopWindow class now allows to change the Minimized, Maximized, >>> FullScreen, Sticky state of a top-level window. >>> >>> 2) The new DesktopWatcher class allows to watch the following things: >>> - Active window change. >>> - Current virtual desktop change. >>> - Virtual desktop name change. >>> - Number of virtual desktops change. >>> - Desktop width/height change. >>> - Window more/resize change. >>> - Window name (title) change. >>> - Window icon change. >>> - Window state change. >>> >>> Not everything is finished and engraved in the marble, but all these >>> features >>> are enough to implement a taskbar, a pager, and to manage virtual >>> desktops. >>> >>> The only thing that is missing is something to make a system tray. >>> >>> With that last thing, you will be able to make a full desktop environment >>> entirely in Gambas, except the window manager. Such a beast is something >>> complex, so at the moment using an already existing and reliable one is a >>> better solution. >>> >>> Enjoy it! >>> >>> -- >>> Benoit Minisini >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> >> >> -- >> joshua higgins >> >>>>>>------ >> > > > > -- > joshua higgins > >>>>>>------ > -- joshua higgins >>>>>>------ From steven at ...1652... Sat Oct 4 14:02:38 2008 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 04 Oct 2008 14:02:38 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <61452b690810031149p320041f2se8bee48e76ff8b01@...627...> References: <48E64450.6040700@...1740...> <200810031830.57348.rospolosco@...152...> <61452b690810031137t1c036a1ep57a7d27220e8ee18@...627...> <61452b690810031149p320041f2se8bee48e76ff8b01@...627...> Message-ID: <1223121758.4033.148.camel@...1936...> I will host it for free if you want me to. Dedicated Server is in paris. Just which list software would you like ? I use Exim mail server with Qpop for mail at the moment. Steven Le vendredi 03 octobre 2008 ? 21:49 +0300, Kari Laine a ?crit : > On Fri, Oct 3, 2008 at 9:37 PM, Kari Laine wrote: > > > On Fri, Oct 3, 2008 at 7:30 PM, Stefano Palmeri wrote: > > > >> Il venerd? 3 ottobre 2008 18:12:00 Ron ha scritto: > >> > Have sent several mails in last days to this list, they simple don't > >> > show up. > >> > I hate that, waste of time. > >> > > >> > > >> > >> Oh, well (or not). I thought it was just me. > >> I lost a couple of mails last week. > >> > >> > > I have also lost many mails (about 6) to the list. Not lately because I > > understood that I have to figure out this Gambas myself instead of asking > > stupid questions :-) > > > > I suggest that another mailing list should be set up with an another > > provider. They are not expensive - I can pay for that. I already have an > > hosting package which include mailing list service. It's a big provider with > > lot's of space and bandwidth (servage). I could set up a list by tomorrow if > > wanted. Also I could offer service to exchange Gambas-programs from that > > site. Gambasforge would be great if it worked. I can not get any gz as > > correct they are always corrupted. This was situation a couple of weeks ago > > - have not tried lately. > > > > Also a net forum could be set up. Many people are not comfortable with > > mailing lists - they prefer forums. Naturally such are forum would be worth > > nothing if Benoit would not visit it. > > > > > Sorry to get back to you again but had a look my servage hosting. The > "mailing list" is more like customer mailing list. It's managed manually. It > is not like typical mailing list. Anyway my offer stands if we can find a > good mailing list hoster - I am prepared to pay the bills. It probably > shouldn't be more than about 100euros/year. > > Best Regards > Kari Laine > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From klaine8 at ...626... Sat Oct 4 16:22:37 2008 From: klaine8 at ...626... (Kari Laine) Date: Sat, 4 Oct 2008 17:22:37 +0300 Subject: [Gambas-user] Bleh In-Reply-To: <1223121758.4033.148.camel@...1936...> References: <48E64450.6040700@...1740...> <200810031830.57348.rospolosco@...152...> <61452b690810031137t1c036a1ep57a7d27220e8ee18@...627...> <61452b690810031149p320041f2se8bee48e76ff8b01@...627...> <1223121758.4033.148.camel@...1936...> Message-ID: <61452b690810040722l74ba6e7dueccb15cb4192eabc@...627...> On Sat, Oct 4, 2008 at 3:02 PM, Steven Lobbezoo wrote: > I will host it for free if you want me to. > Dedicated Server is in paris. > Just to make sure everyone understood. I was not asking money for to host it. I meant that if we find a good provider I am ready to pay for it instead that Benoit should have to pay for it. This offer still stands. Also if there is interest to have a web-forum for Gambas then let me know I can put it up if needed. Best Regards Kari Laine From ronstk at ...239... Sat Oct 4 16:37:32 2008 From: ronstk at ...239... (Ron_1st) Date: Sat, 4 Oct 2008 16:37:32 +0200 Subject: [Gambas-user] Ask About Table View In-Reply-To: <4247f5440810031401o7b354a29s35ac91952a2a29cd@...627...> References: <208401.71995.qm@...1985...> <200810020019.31020.rospolosco@...152...> <4247f5440810031401o7b354a29s35ac91952a2a29cd@...627...> Message-ID: <200810041637.33338.ronstk@...239...> What are you talking about????? On Friday 03 October 2008, Joshua Higgins wrote: > 2nd Question: declare as NEW String[] > > > On Wed, Oct 1, 2008 at 11:19 PM, Stefano Palmeri wrote: > > > Il mercoled? 1 ottobre 2008 22:57:51 Leo Sendra ha scritto: > > > Hello all... I have a problem in table view programming. > > > > > > As we know, we can edit table view by using an edit method. When I use > > this > > > method, it take me to a cell in a table view. The > > > problem is, when I press an ENTER I want to change setfocus to a > > > textbox (suppose that I have 2 components in a form. They are table > > > view and textbox). But, the fact, when I press an ENTER, the cursor > > > moves to other cell in a table view. How can I change my setfocus to a > > > textbox by pressing an ENTER key on my keyboard?? If it's not possible, > > > please give me some suggestion how to change a setfocus to textbox?? > > > > > > And > > > also, I wonder when I use an edit method like this: > > > tableview1.edit(list), I always get an error message. The message is > > > "NULL OBJECT". > > > Actually, I have declared a "list" as a String[]. And > > > I also give a value to this variable. But.. I always get that message. > > > So, my question is: How can I use this kind of edit method?? > > > > > > Please help me.... I really need the answer immediately.... Thank > > you..... > > > > > > > > 1st question: > > > > PUBLIC SUB TableView1_KeyPress() > > > > IF Key.Code = Key.Return THEN TextBox1.SetFocus > > IF Key.Code = Key.Enter THEN TextBox1.SetFocus > > > > END > > > > Bye > > > > > > > > > > ___________________________________________________________________________ > > > Bergabunglah dengan orang-orang yang berwawasan, di di bidang Anda! > > > Kunjungi Yahoo! Answers saat ini juga di http://id.answers.yahoo.com/ > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge Build the coolest Linux based applications with Moblin SDK & > > win > > > great prizes Grand prize is a trip for two to an Open Source event > > anywhere > > > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > Best regards Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From ronstk at ...239... Sat Oct 4 17:01:25 2008 From: ronstk at ...239... (Ron_1st) Date: Sat, 4 Oct 2008 17:01:25 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <61452b690810040722l74ba6e7dueccb15cb4192eabc@...627...> References: <48E64450.6040700@...1740...> <1223121758.4033.148.camel@...1936...> <61452b690810040722l74ba6e7dueccb15cb4192eabc@...627...> Message-ID: <200810041701.26134.ronstk@...239...> On Saturday 04 October 2008, Kari Laine wrote: > On Sat, Oct 4, 2008 at 3:02 PM, Steven Lobbezoo wrote: > > > I will host it for free if you want me to. > > Dedicated Server is in paris. > > > > Just to make sure everyone understood. I was not asking money for to host > it. I meant that if we find a good provider I am ready to pay for it instead > that Benoit should have to pay for it. This offer still stands. > > Also if there is interest to have a web-forum for Gambas then let me know I > can put it up if needed. > > Best Regards > Kari Laine In fact it already exists. It is able to import even the current mailist into the forum. Benoit did add even changes to the gambas homesite to cooperate with the gambasrad site. Was a nice struggle to follow how Gareth and Benoit got the things at best posible interacting and get a similair look and feel. Gareth did a lot of work on it to try also to forward posts in the forum to the mailist so Benoit could use sf as his main lookup address. Just to see this go to http://www.gambasrad.org It supports Forum, Documentation, Software and more If we start to use it Gareth may willing to restart synchronisation with the maillist again. Best regards Ron_1st From gambas at ...1... Sat Oct 4 17:39:43 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 17:39:43 +0200 Subject: [Gambas-user] Getting events from a modal showed modal In-Reply-To: <48DBF4F2.7030107@...1909...> References: <48DBF4F2.7030107@...1909...> Message-ID: <200810041739.43648.gambas@...1...> Wow. I get this mail ten days after it was sent to the mailing-list! On jeudi 25 septembre 2008, Doriano Blengino wrote: > Hi, > > I send the project about raising GetPage event. > > Look at FMain.class:26; the only way I found to get getPage event is to > instantiate fmPreview.obs from Fmain. > I tried to create it inside the fmPreview.setup() method, and attach it > to blah blah blah; this is why in FMain:21 fmPreview.setup() is called > with a parameter "ME". > > fmPreview.obs is disposed in fmPreview.form_close(). > > > Benoit, > > I have some problems with rendering fonts in preview - they are > imprecise, and some manipulation comes from practical tries, without a > right knowledge. All the things are a little messy, but if you quickly > see something wrong, any advice is appreciated. > The biggest problem is to calculate the true width of a printed text, > when this text is not actually printed on the true printer surface, but > on a scaled-down surface (a DrawingArea). > > Thanks in advance for your interest, if you care. > > Best regards, > Doriano Blengino Font width is not accurate at small sizes on screen, because of font hinting (on screen). If you want more information about that: http://www.antigrain.com/research/font_rasterization/index.html As font hinting problem seems to be less important with higher font sizes, I suggest the following: When you want to know the dimension of a text at small sizes (let's say when size <= 48), always calculate it at 48 point size, and divide the result by the ratio between 48 and the real font size. What do you think about that? -- Benoit Minisini From gambas at ...1... Sat Oct 4 17:54:44 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 17:54:44 +0200 Subject: [Gambas-user] Getting events from a modal showed modal In-Reply-To: <200810041739.43648.gambas@...1...> References: <48DBF4F2.7030107@...1909...> <200810041739.43648.gambas@...1...> Message-ID: <200810041754.44594.gambas@...1...> On samedi 04 octobre 2008, Benoit Minisini wrote: > Wow. I get this mail ten days after it was sent to the mailing-list! > > On jeudi 25 septembre 2008, Doriano Blengino wrote: > > Hi, > > > > I send the project about raising GetPage event. > > > > Look at FMain.class:26; the only way I found to get getPage event is to > > instantiate fmPreview.obs from Fmain. > > I tried to create it inside the fmPreview.setup() method, and attach it > > to blah blah blah; this is why in FMain:21 fmPreview.setup() is called > > with a parameter "ME". > > > > fmPreview.obs is disposed in fmPreview.form_close(). > > > > > > Benoit, > > > > I have some problems with rendering fonts in preview - they are > > imprecise, and some manipulation comes from practical tries, without a > > right knowledge. All the things are a little messy, but if you quickly > > see something wrong, any advice is appreciated. > > The biggest problem is to calculate the true width of a printed text, > > when this text is not actually printed on the true printer surface, but > > on a scaled-down surface (a DrawingArea). > > > > Thanks in advance for your interest, if you care. > > > > Best regards, > > Doriano Blengino > > Font width is not accurate at small sizes on screen, because of font > hinting (on screen). > > If you want more information about that: > > http://www.antigrain.com/research/font_rasterization/index.html > > As font hinting problem seems to be less important with higher font sizes, > I suggest the following: > > When you want to know the dimension of a text at small sizes (let's say > when size <= 48), always calculate it at 48 point size, and divide the > result by the ratio between 48 and the real font size. > > What do you think about that? But beware that displaying text yet uses the font hinting, so you may have some visual glitch between text drawn by different calls to Draw.Text(). Regards, -- Benoit Minisini From lordheavym at ...626... Sat Oct 4 18:05:06 2008 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 4 Oct 2008 18:05:06 +0200 Subject: [Gambas-user] svn failed to download In-Reply-To: <200809260801.46355.rterry@...1946...> References: <200809260801.46355.rterry@...1946...> Message-ID: <200810041805.07229.lordheavym@...626...> Le vendredi 26 septembre 2008 00:01:46 richard terry, vous avez ?crit : > Attempted to update to check the cursor problem in the eidtor: > > A trunk/examples/examples/Video/MyWebCam/Form1.class > svn: REPORT request failed on '/svnroot/gambas/!svn/vcc/default' > svn: REPORT of '/svnroot/gambas/!svn/vcc/default': Could not read > chunk delimiter: Connection reset by peer (https://gambas.svn.so > urceforge.net) > ==> ERROR: Build Failed. > > Regards > > > Richard > sourceforge svn server is borked :-/ Regards, From gambas at ...1... Sat Oct 4 18:34:20 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 18:34:20 +0200 Subject: [Gambas-user] Shortcuts in hidden menus will not work In-Reply-To: <200809262203.05058.patrik@...1982...> References: <200809262203.05058.patrik@...1982...> Message-ID: <200810041834.20538.gambas@...1...> On vendredi 26 septembre 2008, Patrik Karlsson wrote: > Hi, Im making a program where I can toggle the menus visibility via CTRL+M. > The shortcuts in the menues does not work if the menus are not visible. I > have solved this by making a popup menu, but is there nother way? > AFAIK, there is not concept of hidden menu in QT. So hiding a menu really internally destroys it, and so the shortcut. > Also, is there a quicker way to toggle the menu bar in one single command? > Now I am hiding/showing the top most menues one at a time. > Good idea. It is just a matter of adding a method to the Window class. I will note that on the TODO list for Gambas 3. Regards, -- Benoit Minisini From gambas at ...1... Sat Oct 4 18:35:44 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 18:35:44 +0200 Subject: [Gambas-user] Get specific focus of tab In-Reply-To: <8d424b9e0809261330q50d6ed4eu1736c8fed483c728@...627...> References: <8d424b9e0809261330q50d6ed4eu1736c8fed483c728@...627...> Message-ID: <200810041835.44455.gambas@...1...> On vendredi 26 septembre 2008, Kris Douglas wrote: > Hello, i'm new to Gambas, using it for some basic apps. > > I was wondering how you get the focus of a specific tab on the tab > container control. The only focus i can seem to apply is of the > control itself, rather than individual tabs. > > Thanks, > Kris Douglas > Softdel Limited Hosting Services > Web: www.softdel.net > Mail: kris at ...1986... > > Company No. 6135915 > Registered in England and Wales > Mmm. You can't do that directly I think, unless maybe by doing TabStrip.SetFocus() and setting the TabStrip.Index property? -- Benoit Minisini From gambas at ...1... Sat Oct 4 18:36:19 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 18:36:19 +0200 Subject: [Gambas-user] Shortcuts in hidden menus will not work In-Reply-To: <200809270026.03766.patrik@...1982...> References: <200809270026.03766.patrik@...1982...> Message-ID: <200810041836.19518.gambas@...1...> On samedi 27 septembre 2008, Patrik Karlsson wrote: > Hi, Im making a program where I can toggle the menus visibility via CTRL+M. > The shortcuts in the menues does not work if the menus are not visible. I > have solved this by making a popup menu, but is there another way? > > Also, is there a quicker way to toggle the menu bar in one single command? > Now I am hiding/showing the top most menues one at a time. > See my asnwer above. -- Benoit Minisini From patrik at ...1982... Sat Oct 4 18:58:01 2008 From: patrik at ...1982... (Patrik Karlsson) Date: Sat, 4 Oct 2008 18:58:01 +0200 Subject: [Gambas-user] Restore fullscreen mode at Form_Open fails In-Reply-To: <200809270018.06553.gambas@...1...> References: <200809262248.38967.patrik@...1982...> <200809270014.21568.gambas@...1...> <200809270018.06553.gambas@...1...> Message-ID: <200810041858.02047.patrik@...1982...> Den Saturday 27 September 2008 00:18:06 skrev Benoit Minisini: > > > Is there a better way to do this without the extra timer? > As a workaround, I think you can set it in the constructor (_new) instead > of Form_Open. It should work. Thank you, it worked just fine, and it's much cleaner without my timer! From gambas at ...1... Sat Oct 4 20:31:09 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 20:31:09 +0200 Subject: [Gambas-user] IDE bug: Click on text > cursor wrong position In-Reply-To: <200809281053.59243.rterry@...1946...> References: <200809281053.59243.rterry@...1946...> Message-ID: <200810042031.09435.gambas@...1...> On dimanche 28 septembre 2008, richard terry wrote: > Version 1603. > > Much improved, however one problem. > > ONe cannot click at the start of the line, which can make copy and paste > difficult. > > > Regards > > Richard > Is it better with the last revision? -- Benoit Minisini From lordheavym at ...626... Sat Oct 4 21:28:04 2008 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 4 Oct 2008 21:28:04 +0200 Subject: [Gambas-user] How to wait until form is closed In-Reply-To: <36009.81.245.216.72.1222700781.squirrel@...1810...> References: <36009.81.245.216.72.1222700781.squirrel@...1810...> Message-ID: <200810042128.05085.lordheavym@...626...> Le lundi 29 septembre 2008 17:06:21 wig, vous avez ?crit : > I made two forms in the IDE. > > I want the form Test2 only to appear after the form Test1 is closed. > > Can I let the program wait for the first Form to be closed? > > PUBLIC SUB Main() > > FormTest1.Show() > ' wait till FormTest1 is closed ? > FormTest2.Show() > > ... Put FormTest2.Show() in FormTest1 close event ? Regards, From lordheavym at ...626... Sat Oct 4 22:10:42 2008 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 4 Oct 2008 22:10:42 +0200 Subject: [Gambas-user] Need help understanding svn In-Reply-To: <200810010738.02559.rterry@...1946...> References: <200810010738.02559.rterry@...1946...> Message-ID: <200810042210.43022.lordheavym@...626...> Le mardi 30 septembre 2008 23:38:02 richard terry, vous avez ?crit : > I wondered how to interpret this as my svn won't update. > > svn: Aborting commit: '/home/richard/coding/gambas2/trunk/.settings' > remains in conflict > > Regards > > Richard > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I guess because the file .setting in your directory and the .setting file in the svn got difference that can't be automaticly merge. Regards, From doriano.blengino at ...1909... Wed Oct 1 12:11:53 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Wed, 01 Oct 2008 12:11:53 +0200 Subject: [Gambas-user] Bad string conversion etc. In-Reply-To: <48E337FA.4020402@...221...> References: <48E337FA.4020402@...221...> Message-ID: <48E34CE9.6060406@...1909...> Rolf-Werner Eilert ha scritto: > Still trying to convert a Gambas1 app to Gambas2. Basically, it begins > to run. However, there are strange error message at some points, and I > do not understand what causes them. > > IF CInt(wert[0]) > Maske.Count THEN Maske.Count = CInt(wert[0]) > Maske.Index = CInt(wert[0] - 1) > > Gambas will stop at the second line complaining "Type mismatch: wanted > Number got String instead". > > Well, wert[0] at this time contains the string "1". This is a string > with a number, and CInt should convert it to a numeric value, shouldn't > it? (I tested to leave out the "- 1", this resulted in "Bad index" for > the tabstrip!) > I would write: Maske.Index = CInt(wert[0]) - 1 but it is said that "gambas has automatic type conversion": I can't understand it fully, because it seems to me that your example should work, and also could (should?) work the following: Maske.Index = wert[0] - 1 To let this last line work, gambas should understand that the whole expression to the right of the "=" should be an integer, and convert the wert[0] string to an integer; and this is the same case as your first temptative. Regards, Doriano Blengino From eilert-sprachen at ...221... Wed Oct 1 12:34:35 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 01 Oct 2008 12:34:35 +0200 Subject: [Gambas-user] Bad string conversion etc. In-Reply-To: <48E34CE9.6060406@...1909...> References: <48E337FA.4020402@...221...> <48E34CE9.6060406@...1909...> Message-ID: <48E3523B.1020106@...221...> Doriano Blengino schrieb: > Rolf-Werner Eilert ha scritto: >> Maske.Index = CInt(wert[0] - 1) >> > I would write: > > Maske.Index = CInt(wert[0]) - 1 Aaaargh - ok :-) You're right. This way it runs flawlessly of course. > Maske.Index = wert[0] - 1 > > > To let this last line work, gambas should understand that the whole > expression to the right of the "=" should be an integer, and convert the No, it doesn't, same error message. Anyway, it does run as above, now I just don't understand why it went in Gambas1 as it was actually wrong... Thank you! Rolf From gambas at ...1... Sat Oct 4 22:17:41 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 22:17:41 +0200 Subject: [Gambas-user] Need help understanding svn In-Reply-To: <200810010738.02559.rterry@...1946...> References: <200810010738.02559.rterry@...1946...> Message-ID: <200810042217.41670.gambas@...1...> On mardi 30 septembre 2008, richard terry wrote: > I wondered how to interpret this as my svn won't update. > > svn: Aborting commit: '/home/richard/coding/gambas2/trunk/.settings' > remains in conflict > > Regards > > Richard > Did you read the 'how to deal with subversion' page in the gambas wiki? -- Benoit Minisini From gambas at ...1... Sat Oct 4 22:17:41 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 22:17:41 +0200 Subject: [Gambas-user] Need help understanding svn In-Reply-To: <200810010738.02559.rterry@...1946...> References: <200810010738.02559.rterry@...1946...> Message-ID: <200810042217.41670.gambas@...1...> On mardi 30 septembre 2008, richard terry wrote: > I wondered how to interpret this as my svn won't update. > > svn: Aborting commit: '/home/richard/coding/gambas2/trunk/.settings' > remains in conflict > > Regards > > Richard > Did you read the 'how to deal with subversion' page in the gambas wiki? -- Benoit Minisini From simonart.dominique at ...11... Wed Oct 1 14:23:54 2008 From: simonart.dominique at ...11... (Simonart Dominique) Date: Wed, 01 Oct 2008 14:23:54 +0200 Subject: [Gambas-user] Bad string conversion etc. In-Reply-To: <48E337FA.4020402@...221...> References: <48E337FA.4020402@...221...> Message-ID: <48E36BDA.8020002@...11...> Hi, Rolf-Werner Eilert a ?crit : > 2. Here "Maske" is a tabstrip. First it is checked that it has enough > tabs. Then the "current" tab is set. > > IF CInt(wert[0]) > Maske.Count THEN Maske.Count = CInt(wert[0]) > Maske.Index = CInt(wert[0] - 1) > > Gambas will stop at the second line complaining "Type mismatch: wanted > Number got String instead". > > Well, wert[0] at this time contains the string "1". This is a string > with a number, and CInt should convert it to a numeric value, shouldn't > it? (I tested to leave out the "- 1", this resulted in "Bad index" for > the tabstrip!) I'm far to be expert with Gambas but here I think I understand the cause of your problem. In this instruction, Gambas try to evaluate first the expression between parenthesis, and it find a (string - number) expression, which is bad. I would rather write Maske.Index = CInt(wert[0]) - 1 I think that the second experience fails because wert[0] is bigger than the acceptable max index value Dominique Simonart From Karl.Reinl at ...9... Sat Oct 4 22:45:52 2008 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 04 Oct 2008 22:45:52 +0200 Subject: [Gambas-user] important messages from the past Message-ID: <1223153152.6411.1.camel@...40...> Salut, I do not know! But today seems to be a special day for gambas to be. Very many important messages from the past. -- Amicalment Charlie From m0e.lnx at ...626... Thu Oct 2 03:32:51 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Wed, 1 Oct 2008 20:31:51 -0501 Subject: [Gambas-user] stack overflow error on gambas2 svn rev 1620 Message-ID: <1f1e8c1b0810011832w273da6er862a5fb9b481aa55@...627...> Since rev 1601 or so, I've been getting this stack overflow error Here is the output from the terminal ERROR: #3: Stack overflow 0: ? 1: FOutput.Insert.55 2: Design.Insert.809 3: Design.Process_Error.100 4: FOutput.Insert.55 5: Design.Insert.809 6: Design.Process_Error.100 7: FOutput.Insert.55 8: Design.Insert.809 9: Design.Process_Error.100 10: FOutput.Insert.55 11: Design.Insert.809 12: Design.Process_Error.100 13: FOutput.Insert.55 14: Design.Insert.809 15: Design.Process_Error.100 16: FOutput.Insert.55 17: Design.Insert.809 18: Design.Process_Error.100 19: FOutput.Insert.55 20: Design.Insert.809 21: Design.Process_Error.100 22: FOutput.Insert.55 23: Design.Insert.809 24: Design.Process_Error.100 25: FOutput.Insert.55 26: Design.Insert.809 27: Design.Process_Error.100 28: FOutput.Insert.55 29: Design.Insert.809 30: Design.Process_Error.100 31: FOutput.Insert.55 32: Design.Insert.809 33: Design.Process_Error.100 34: FOutput.Insert.55 35: Design.Insert.809 36: Design.Process_Error.100 37: FOutput.Insert.55 38: Design.Insert.809 39: Design.Process_Error.100 40: FOutput.Insert.55 41: Design.Insert.809 42: Design.Process_Error.100 43: FOutput.Insert.55 44: Design.Insert.809 45: Design.Process_Error.100 46: FOutput.Insert.55 47: Design.Insert.809 48: Design.Process_Error.100 49: FOutput.Insert.55 50: Design.Insert.809 51: Design.Process_Error.100 52: FOutput.Insert.55 53: Design.Insert.809 54: Design.Process_Error.100 55: FOutput.Insert.55 56: Design.Insert.809 57: Design.Process_Error.100 58: FOutput.Insert.55 59: Design.Insert.809 60: Design.Process_Error.100 61: FOutput.Insert.55 62: Design.Insert.809 63: Design.Process_Error.100 64: FOutput.Insert.55 65: Design.Insert.809 66: Design.Process_Error.100 67: FOutput.Insert.55 68: Design.Insert.809 69: Design.Process_Error.100 70: FOutput.Insert.55 71: Design.Insert.809 72: Design.Process_Error.100 73: FOutput.Insert.55 74: Design.Insert.809 75: Design.Process_Error.100 76: FOutput.Insert.55 77: Design.Insert.809 78: Design.Process_Error.100 79: FOutput.Insert.55 80: Design.Insert.809 81: Design.Process_Error.100 82: FOutput.Insert.55 83: Design.Insert.809 84: Design.Process_Error.100 85: FOutput.Insert.55 86: Design.Insert.809 87: Design.Process_Error.100 88: FOutput.Insert.55 89: Design.Insert.809 90: Design.Process_Error.100 91: FOutput.Insert.55 92: Design.Insert.809 93: Design.Process_Error.100 94: FOutput.Insert.55 95: Design.Insert.809 96: Design.Process_Error.100 97: FOutput.Insert.55 98: Design.Insert.809 99: Design.Process_Error.100 100: FOutput.Insert.55 101: Design.Insert.809 102: Design.Process_Error.100 103: FOutput.Insert.55 104: Design.Insert.809 105: Design.Process_Error.100 106: FOutput.Insert.55 107: Design.Insert.809 108: Design.Process_Error.100 109: FOutput.Insert.55 110: Design.Insert.809 111: Design.Process_Error.100 112: FOutput.Insert.55 113: Design.Insert.809 114: Design.Process_Error.100 115: FOutput.Insert.55 116: Design.Insert.809 117: Design.Process_Error.100 118: FOutput.Insert.55 119: Design.Insert.809 120: Design.Process_Error.100 121: FOutput.Insert.55 122: Design.Insert.809 123: Design.Process_Error.100 124: FOutput.Insert.55 125: Design.Insert.809 126: Design.Process_Error.100 127: FOutput.Insert.55 128: Design.Insert.809 129: Design.Process_Error.100 130: FOutput.Insert.55 131: Design.Insert.809 132: Design.Process_Error.100 The error is not really consistent, but as far as I can tell, it happens during the following course of events My application is kind of like a wizard, first step allows you to switch the system language. So, when the user selects a language listed in a lisbox, click next, the forms are destroyed, and then re-created with the new system.language setting And that's when all of this happens I'd like to know if this is something wrong in my code or is it a bug in the gambas code? From doriano.blengino at ...1909... Thu Oct 2 08:25:37 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Thu, 02 Oct 2008 08:25:37 +0200 Subject: [Gambas-user] Ask About Table View In-Reply-To: <200810020019.31020.rospolosco@...152...> References: <208401.71995.qm@...1985...> <200810020019.31020.rospolosco@...152...> Message-ID: <48E46961.9060709@...1909...> Stefano Palmeri ha scritto: > Il mercoled? 1 ottobre 2008 22:57:51 Leo Sendra ha scritto: > >> Hello all... I have a problem in table view programming. >> >> As we know, we can edit table view by using an edit method. When I use this >> method, it take me to a cell in a table view. The >> problem is, when I press an ENTER I want to change setfocus to a >> textbox (suppose that I have 2 components in a form. They are table >> view and textbox). But, the fact, when I press an ENTER, the cursor >> moves to other cell in a table view. How can I change my setfocus to a >> textbox by pressing an ENTER key on my keyboard?? If it's not possible, >> please give me some suggestion how to change a setfocus to textbox?? >> >> And >> also, I wonder when I use an edit method like this: >> tableview1.edit(list), I always get an error message. The message is >> "NULL OBJECT". >> Actually, I have declared a "list" as a String[]. And >> I also give a value to this variable. But.. I always get that message. >> So, my question is: How can I use this kind of edit method?? >> >> Please help me.... I really need the answer immediately.... Thank you..... >> >> >> > 1st question: > > PUBLIC SUB TableView1_KeyPress() > > IF Key.Code = Key.Return THEN TextBox1.SetFocus > IF Key.Code = Key.Enter THEN TextBox1.SetFocus > > END > Stefano, I think this example will not work while the tableview is in edit mode. I had the same problem just a few days ago. A TableView in edit mode does not raise keypress events because it is not focused; a textbox has the focus instead, and nobody knows it ID to attach an observer to it and get keypresses. After thinking a lot, I have these ideas: 1) Perhaps a form_keypress event is raised, even if the tableview is in edit mode. Must try, but I seem to remember that it does not work (but it is easy and fast to try). 2) A hidden menu item, having "Enter" as its shortcut, will always work and get fired. As there are two different keys to catch (Return and Enter), then two different hidden menu items must be created. 3) This semi-hidden textbox, which tableview uses to enter edit mode, should be child of the main form. One can try to "FOR EACH" the form and obtain a handle to the hidden textbox, then attach an observer to it and... blah blah blah. 4) May be the simplest and more correct. After the user presses enter in tableview while edit is active, a "save data" event is fired. Store that data, abort edit mode and do textbox1.setfocus(). About the second question, I have no idea; probably it is a bug in gambas. If it is so, then the only solution is to create a normal "true" combobox, position it over the tableview in the right place, setfocus it, and hide it when it looses focus. A lot of work. Regards, Doriano Blengino From gambas at ...1... Sat Oct 4 23:05:22 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 23:05:22 +0200 Subject: [Gambas-user] stack overflow error on gambas2 svn rev 1620 In-Reply-To: <1f1e8c1b0810011832w273da6er862a5fb9b481aa55@...627...> References: <1f1e8c1b0810011832w273da6er862a5fb9b481aa55@...627...> Message-ID: <200810042305.22419.gambas@...1...> On jeudi 02 octobre 2008, M0E Lnx wrote: > Since rev 1601 or so, I've been getting this stack overflow error > > Here is the output from the terminal > > ERROR: #3: Stack overflow > 0: ? > 1: FOutput.Insert.55 > 2: Design.Insert.809 > 3: Design.Process_Error.100 > 4: FOutput.Insert.55 > 5: Design.Insert.809 > 6: Design.Process_Error.100 > 7: FOutput.Insert.55 > 8: Design.Insert.809 > 9: Design.Process_Error.100 > 10: FOutput.Insert.55 > 11: Design.Insert.809 > 12: Design.Process_Error.100 > 13: FOutput.Insert.55 > 14: Design.Insert.809 > 15: Design.Process_Error.100 > 16: FOutput.Insert.55 > 17: Design.Insert.809 > 18: Design.Process_Error.100 > 19: FOutput.Insert.55 > 20: Design.Insert.809 > 21: Design.Process_Error.100 > 22: FOutput.Insert.55 > 23: Design.Insert.809 > 24: Design.Process_Error.100 > 25: FOutput.Insert.55 > 26: Design.Insert.809 > 27: Design.Process_Error.100 > 28: FOutput.Insert.55 > 29: Design.Insert.809 > 30: Design.Process_Error.100 > 31: FOutput.Insert.55 > 32: Design.Insert.809 > 33: Design.Process_Error.100 > 34: FOutput.Insert.55 > 35: Design.Insert.809 > 36: Design.Process_Error.100 > 37: FOutput.Insert.55 > 38: Design.Insert.809 > 39: Design.Process_Error.100 > 40: FOutput.Insert.55 > 41: Design.Insert.809 > 42: Design.Process_Error.100 > 43: FOutput.Insert.55 > 44: Design.Insert.809 > 45: Design.Process_Error.100 > 46: FOutput.Insert.55 > 47: Design.Insert.809 > 48: Design.Process_Error.100 > 49: FOutput.Insert.55 > 50: Design.Insert.809 > 51: Design.Process_Error.100 > 52: FOutput.Insert.55 > 53: Design.Insert.809 > 54: Design.Process_Error.100 > 55: FOutput.Insert.55 > 56: Design.Insert.809 > 57: Design.Process_Error.100 > 58: FOutput.Insert.55 > 59: Design.Insert.809 > 60: Design.Process_Error.100 > 61: FOutput.Insert.55 > 62: Design.Insert.809 > 63: Design.Process_Error.100 > 64: FOutput.Insert.55 > 65: Design.Insert.809 > 66: Design.Process_Error.100 > 67: FOutput.Insert.55 > 68: Design.Insert.809 > 69: Design.Process_Error.100 > 70: FOutput.Insert.55 > 71: Design.Insert.809 > 72: Design.Process_Error.100 > 73: FOutput.Insert.55 > 74: Design.Insert.809 > 75: Design.Process_Error.100 > 76: FOutput.Insert.55 > 77: Design.Insert.809 > 78: Design.Process_Error.100 > 79: FOutput.Insert.55 > 80: Design.Insert.809 > 81: Design.Process_Error.100 > 82: FOutput.Insert.55 > 83: Design.Insert.809 > 84: Design.Process_Error.100 > 85: FOutput.Insert.55 > 86: Design.Insert.809 > 87: Design.Process_Error.100 > 88: FOutput.Insert.55 > 89: Design.Insert.809 > 90: Design.Process_Error.100 > 91: FOutput.Insert.55 > 92: Design.Insert.809 > 93: Design.Process_Error.100 > 94: FOutput.Insert.55 > 95: Design.Insert.809 > 96: Design.Process_Error.100 > 97: FOutput.Insert.55 > 98: Design.Insert.809 > 99: Design.Process_Error.100 > 100: FOutput.Insert.55 > 101: Design.Insert.809 > 102: Design.Process_Error.100 > 103: FOutput.Insert.55 > 104: Design.Insert.809 > 105: Design.Process_Error.100 > 106: FOutput.Insert.55 > 107: Design.Insert.809 > 108: Design.Process_Error.100 > 109: FOutput.Insert.55 > 110: Design.Insert.809 > 111: Design.Process_Error.100 > 112: FOutput.Insert.55 > 113: Design.Insert.809 > 114: Design.Process_Error.100 > 115: FOutput.Insert.55 > 116: Design.Insert.809 > 117: Design.Process_Error.100 > 118: FOutput.Insert.55 > 119: Design.Insert.809 > 120: Design.Process_Error.100 > 121: FOutput.Insert.55 > 122: Design.Insert.809 > 123: Design.Process_Error.100 > 124: FOutput.Insert.55 > 125: Design.Insert.809 > 126: Design.Process_Error.100 > 127: FOutput.Insert.55 > 128: Design.Insert.809 > 129: Design.Process_Error.100 > 130: FOutput.Insert.55 > 131: Design.Insert.809 > 132: Design.Process_Error.100 > > > The error is not really consistent, but as far as I can tell, it > happens during the following course of events > My application is kind of like a wizard, first step allows you to > switch the system language. > > So, when the user selects a language listed in a lisbox, click next, > the forms are destroyed, and then re-created with the new > system.language setting > And that's when all of this happens > > I'd like to know if this is something wrong in my code or is it a bug > in the gambas code? > It was a bug. I have just fixed it in revision 1629. Regards, -- Benoit Minisini From leo_senpao at ...1541... Thu Oct 2 11:45:32 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Thu, 2 Oct 2008 17:45:32 +0800 (SGT) Subject: [Gambas-user] Ask About Table View Message-ID: <877381.53243.qm@...1988...> >1st question: >PUBLIC SUB TableView1_KeyPress() >IF Key.Code = Key.Return THEN TextBox1.SetFocus >IF Key.Code = Key.Enter THEN TextBox1.SetFocus >END It doesn't work since I have used an edit method when I open a form... PUBLIC SUB Form_Open() TableView1.edit END Any Idea??? ___________________________________________________________________________ Dapatkan alamat Email baru Anda! Dapatkan nama yang selalu Anda inginkan sebelum diambil orang lain! http://mail.promotions.yahoo.com/newdomains/id/ From eilert-sprachen at ...221... Thu Oct 2 15:37:55 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 02 Oct 2008 15:37:55 +0200 Subject: [Gambas-user] Problem with Sort In-Reply-To: <48E37E5C.6050004@...221...> References: <48E337FA.4020402@...221...> <200810011445.33385.gambas@...1...> <48E37E5C.6050004@...221...> Message-ID: <48E4CEB3.5030305@...221...> Just FYI, Benoit, and as kind of an answer to my previous mail: I wrote a little bubble sort (if stringA > stringB...) to sort the list for myself, and it sorts just the same (wrong) way the .Sort(gb.Language) does. Strange, as in Gambas1 .Sort(gb.Lang) was more intelligent :-) Any explanation for this? Regards Rolf From webbox.uk at ...626... Fri Oct 3 11:30:50 2008 From: webbox.uk at ...626... (Kris Douglas) Date: Fri, 3 Oct 2008 10:30:50 +0100 Subject: [Gambas-user] Gambas for netbooks (was Re: bug signal #11 when using gb.net.curl) In-Reply-To: <48E5CCCB.5080509@...1740...> References: <48E5C3A3.9060605@...1740...> <200810030905.10752.gambas@...1...> <48E5C5A1.80903@...1740...> <200810030918.44705.gambas@...1...> <48E5CCCB.5080509@...1740...> Message-ID: <8d424b9e0810030230gc0e0df0g94a898f43301bf4d@...627...> On Fri, Oct 3, 2008 at 08:42, Ron wrote: > Benoit Minisini schreef: >> On vendredi 03 octobre 2008, you wrote: >> >>> Benoit Minisini schreef: >>> >>>> On vendredi 03 octobre 2008, you wrote: >>>> >>>>> Benoit, >>>>> >>>>> did you receive my example project and did you manage to reproduce my >>>>> signal 11 problem with it? >>>>> >>>>> Or do you need any more info? >>>>> >>>>> Been developing my application for the last days, it's again rock solid >>>>> when I leave out that specific httpclient code (other almost similar >>>>> code works fine btw) >>>>> >>>>> Thanks, >>>>> Ron. >>>>> >>>> I have just sent you the result of my long work! :-) >>>> >>> What a coincidence ;-) >>> >>> A side note; >>> I have bought an Asus EeePC 1000H this week, installed Ubuntu eee and >>> Gambas2 and they run great on it, and my application looks very nice. >>> Developing Forms can be done, but due to the lower resolution requires a >>> bit of scrolling, but writeing code, and testing works very nice. >>> The Gambas IDE and compiled programs are running fast! >>> >>> So Gambas2 is Atom N270 cpu approved ;-) >>> >>> Will compile lastest rev, and let you know. >>> >>> Regards, >>> Ron_2nd >>> >> >> Cool! What is the screen resolution? If you have suggestions on how to make >> the interface of IDE better on these small computers, tell (on the >> mailing-list, maybe other people use Gambas on them). >> >> Regards, >> >> > Benoit and others, > > That was exactly what I wanted to suggest, maybe provide a mode/button > to clear out unwanted graphical element in GUI design mode so > you make better use of the smaller resolution. On my Asus EeePC it is > 1024x600 (i think most of the netbooks use this) > > Have to see which elements I use most, but maybe display a list of the > elements in setup somewhere where you can simple check or uncheck them. > Or, implement an auto-hide mode, when you scroll to the lefthandside of > the GUI editor the list of modules and forms appear, after selecting, it > dissapears again, same for righthand properties window, and > debug/console window... just a thought, have to see if this is workable. > > Mine has a 160Gb harddrive, so plenty of room to install a multiboot > environment (I have Windows XP, and Ubuntu eee with Gambas 2.9 now) > The Windows license came with it, Asus reports that there is also a > Linux version (cheaper), but couldn't find it in the Netherlands. > Unlike other eeepc's this one has an almost full size keyboard (95% i think) > > Regards, > Ron_2nd > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > That's a good idea, I do all of my programming on an Acer Aspire one, and it can be quite a task to navigate through the IDE, the width is perfectly fine, but the height is too much for the 1024x600 screen to cope with. -- Kris Douglas Softdel Limited Hosting Services Web: www.softdel.net Mail: kris at ...1986... Company No. 6135915 Registered in England and Wales From ron at ...1740... Fri Oct 3 16:31:47 2008 From: ron at ...1740... (Ron) Date: Fri, 03 Oct 2008 16:31:47 +0200 Subject: [Gambas-user] Children disable question Message-ID: <48E62CD3.3050805@...1740...> Hi, say I have a Form with alot of frames on it with buttons etc. in them. I want to enable only 2 frames and the buttons inside them at some point. When I first disable all, and then try to enable just the 2 frames, it doesn't work, they all stay disabled. Have I shoot myself in the foot, by using ME.Children, or should it work? DIM oObject as Object FOR EACH oObject IN ME.Children oObject.Enabled = FALSE NEXT FOR EACH oObject IN frameStream.Children oObject.Enabled = TRUE NEXT FOR EACH oObject IN frameDevice.Children oObject.Enabled = TRUE NEXT Gambas 2.9 using gb.qt Regards, Ron_2nd. From ron at ...1740... Fri Oct 3 18:42:58 2008 From: ron at ...1740... (Ron) Date: Fri, 03 Oct 2008 18:42:58 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <200810031830.57348.rospolosco@...152...> References: <48E64450.6040700@...1740...> <200810031830.57348.rospolosco@...152...> Message-ID: <48E64B92.8080203@...1740...> Stefano Palmeri schreef: > Il venerd? 3 ottobre 2008 18:12:00 Ron ha scritto: > >> Have sent several mails in last days to this list, they simple don't >> show up. >> I hate that, waste of time. >> >> >> > > Oh, well (or not). I thought it was just me. > I lost a couple of mails last week. > > Bye, > > Stefano > > Funny enough (or not) these are coming through just fine... So I just paste my previous question in it ;-) say I have a Form with alot of frames on it with buttons etc. in them. I want to enable only 2 frames and the buttons inside them at some point. When I first disable all, and then try to enable just the 2 frames, it doesn't work, they all stay disabled. Have I shoot myself in the foot, by using ME.Children, or should it work? DIM oObject as Object FOR EACH oObject IN ME.Children oObject.Enabled = FALSE NEXT FOR EACH oObject IN frameStream.Children oObject.Enabled = TRUE NEXT FOR EACH oObject IN frameDevice.Children oObject.Enabled = TRUE NEXT Gambas 2.9 using gb.qt Thanks. Regards, Ron_2nd. From ron at ...1740... Fri Oct 3 18:49:09 2008 From: ron at ...1740... (Ron) Date: Fri, 03 Oct 2008 18:49:09 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <200810031821.00250.gambas@...1...> References: <48E64450.6040700@...1740...> <200810031821.00250.gambas@...1...> Message-ID: <48E64D05.1030507@...1740...> Benoit Minisini schreef: > On vendredi 03 octobre 2008, Ron wrote: > >> Have sent several mails in last days to this list, they simple don't >> show up. >> I hate that, waste of time. >> >> > > I have a similar problem, but with the sourceforge commits mailing-list. Some > commits are never emitted. Sourceforge infrastructure is not very reliable. > > Maybe there infra can't cope with the vast amount of advertisements they post on the project pages nowadays. Regards, Ron_2nd From gambas at ...1... Fri Oct 3 19:23:55 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Oct 2008 19:23:55 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: References: Message-ID: <200810031923.55102.gambas@...1...> On vendredi 03 octobre 2008, Ga?l Le Hec'H wrote: > Hi, > I need to receive data from a device with serial port with 19200 bauds 8 > bits data Even parity 2 stop bits settings, but I get only 7 bits of my > data. > I check with serlook and data received is correct : 10 00 00 F0, with > gambas I receive 10 00 00 70 > I check the change log of the component but didn't see any problem with > parity setting. > I use version 2.0.0 of gambas2 (I know it's old but with my slackware 11 I > can't get newer version to compile). > It 's a very annoying problem because I can't change the serial settings of > my device :-( > kind regards > > Ga?l I fixed that I have fixed the problem in revision #1624, and it would be cool if you could compile the latest version of Gambas to check that. Why can't you compile a recent version of Gambas on slackware 11? -- Benoit Minisini From gambas at ...1... Fri Oct 3 20:17:57 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Oct 2008 20:17:57 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component Message-ID: <200810032017.57474.gambas@...1...> On vendredi 03 octobre 2008, Ga?l Le Hec'H wrote: > Hi, > I need to receive data from a device with serial port with 19200 bauds 8 > bits data Even parity 2 stop bits settings, but I get only 7 bits of my > data. > I check with serlook and data received is correct : 10 00 00 F0, with > gambas I receive 10 00 00 70 > I check the change log of the component but didn't see any problem with > parity setting. > I use version 2.0.0 of gambas2 (I know it's old but with my slackware 11 I > can't get newer version to compile). > It 's a very annoying problem because I can't change the serial settings of > my device :-( > kind regards > > Ga?l I fixed that I have fixed the problem in revision #1624, and it would be cool if you could compile the latest version of Gambas to check that. Why can't you compile a recent version of Gambas on slackware 11? -- Benoit Minisini From gambas at ...1... Fri Oct 3 22:02:46 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Oct 2008 22:02:46 +0200 Subject: [Gambas-user] Leaving Sourceforge ? (Was: bleh) Message-ID: <200810032202.46043.gambas@...1...> I have nothing against Sourceforge. They provide their service for free, and without them Gambas wouldn't really exist. But when: - Their mailing-lists start to delay or lose mails ; - The subversion server is down ; - They revamp their site so that it is slower than the old one It is boring... I'm not sure if it is possible to extract the subversion history from their servers, and the mailing-lists contents. Losing the mailing-lists history is not really serious, but the subversion history is a problem. As for the forum, I don't want to replace the mailing-list by a forum, because this is the better way for me to work. And if a user is not able to subscribe to a mailing-list to report a problem, I'm afraid he won't be able to describe it in a useful way! Regards, -- Benoit Minisini From shordi at ...626... Fri Oct 3 22:39:32 2008 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Fri, 3 Oct 2008 22:39:32 +0200 Subject: [Gambas-user] Accesing database events Message-ID: Oh! I'm Sorry, but I don't control the database enough for doing that. But there is no problem for me: In the while I've been investigating about the "unbound" controls (gridview, combobox, etc.) and I've make a couple of functions that gives me more flexibility and control over the controls of the form in standarized an easy way. Now I can get some things that I missed of old VB (example: A combobox that stores a field of another table and shows two or more fields of the second table etc.) I think that, at this moment, it is enough for me. Gambas is a great tool, and the job of Benoit in the list is wonderful. After 20 years fighting against the multinationals corporations, is a little pleasure to put names an voices to the authors of the tools that you use. Thanks Benoit. >Benoit Minisini wrote: >It should work as you expect. >But there is a requirement: the primary key of inner DataSources tables must >include the primary key of the outer DataSource. Can you check that? >-- >Benoit Minisini From gambas at ...1... Sun Oct 5 00:19:39 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 5 Oct 2008 00:19:39 +0200 Subject: [Gambas-user] Gambas for netbooks (was Re: bug signal #11 when using gb.net.curl) In-Reply-To: <8d424b9e0810030230gc0e0df0g94a898f43301bf4d@...627...> References: <48E5C3A3.9060605@...1740...> <48E5CCCB.5080509@...1740...> <8d424b9e0810030230gc0e0df0g94a898f43301bf4d@...627...> Message-ID: <200810050019.39512.gambas@...1...> On vendredi 03 octobre 2008, Kris Douglas wrote: > > That's a good idea, I do all of my programming on an Acer Aspire one, > and it can be quite a task to navigate through the IDE, the width is > perfectly fine, but the height is too much for the 1024x600 screen to > cope with. Can both Ron and you provide some screenshots that depicts the problem you have? -- Benoit Minisini From gambas at ...1... Sun Oct 5 00:23:17 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 5 Oct 2008 00:23:17 +0200 Subject: [Gambas-user] Children disable question In-Reply-To: <48E62CD3.3050805@...1740...> References: <48E62CD3.3050805@...1740...> Message-ID: <200810050023.17094.gambas@...1...> On vendredi 03 octobre 2008, Ron wrote: > Hi, > > say I have a Form with alot of frames on it with buttons etc. in them. > > I want to enable only 2 frames and the buttons inside them at some point. > When I first disable all, and then try to enable just the 2 frames, it > doesn't work, they all stay disabled. > > Have I shoot myself in the foot, by using ME.Children, or should it work? > > DIM oObject as Object > > FOR EACH oObject IN ME.Children > oObject.Enabled = FALSE > NEXT > FOR EACH oObject IN frameStream.Children > oObject.Enabled = TRUE > NEXT > FOR EACH oObject IN frameDevice.Children > oObject.Enabled = TRUE > NEXT > > Gambas 2.9 using gb.qt > > Regards, > Ron_2nd. > A control is really enabled only if all its ancestor are enabled. Check that! -- Benoit Minisini From gambas at ...1... Sat Oct 4 15:07:04 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 15:07:04 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <1223121758.4033.148.camel@...1936...> References: <48E64450.6040700@...1740...> <61452b690810031149p320041f2se8bee48e76ff8b01@...627...> <1223121758.4033.148.camel@...1936...> Message-ID: <200810041507.04657.gambas@...1...> On samedi 04 octobre 2008, Steven Lobbezoo wrote: > I will host it for free if you want me to. > Dedicated Server is in paris. > > Just which list software would you like ? > > I use Exim mail server with Qpop for mail at > the moment. > > Steven > Can you give more details? Can you implement the same feature as "mailman", the software used by sourceforge, or use it directly? Can you handle a mailing-list with more then 500 people on it without problems? -- Benoit Minisini From ron at ...1740... Sat Oct 4 15:29:01 2008 From: ron at ...1740... (Ron) Date: Sat, 04 Oct 2008 15:29:01 +0200 Subject: [Gambas-user] ME.Children disable question Message-ID: <48E76F9D.2030401@...1740...> Hi, Third time I try to get this message on the list, so hopefully it gets through now.. Say I have a Form with alot of frames on it with buttons etc. in them. I want to enable only 2 frames and the buttons inside them at some point. (disable most of the gui) When I first disable all, and then try to enable just the 2 frames, it doesn't work, they all stay disabled. Have I shoot myself in the foot, by using ME.Children, or should it work? DIM oObject as Object FOR EACH oObject IN ME.Children oObject.Enabled = FALSE NEXT FOR EACH oObject IN frameStream.Children oObject.Enabled = TRUE NEXT FOR EACH oObject IN frameDevice.Children oObject.Enabled = TRUE NEXT Gambas 2.9 using gb.qt Regards, Ron_2nd. From gambas at ...1... Sat Oct 4 16:33:04 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 16:33:04 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <61452b690810040722l74ba6e7dueccb15cb4192eabc@...627...> References: <48E64450.6040700@...1740...> <1223121758.4033.148.camel@...1936...> <61452b690810040722l74ba6e7dueccb15cb4192eabc@...627...> Message-ID: <200810041633.04283.gambas@...1...> On samedi 04 octobre 2008, Kari Laine wrote: > On Sat, Oct 4, 2008 at 3:02 PM, Steven Lobbezoo wrote: > > I will host it for free if you want me to. > > Dedicated Server is in paris. > > Just to make sure everyone understood. I was not asking money for to host > it. I meant that if we find a good provider I am ready to pay for it > instead that Benoit should have to pay for it. This offer still stands. Thanks for that. > > Also if there is interest to have a web-forum for Gambas then let me know I > can put it up if needed. > > Best Regards > Kari Laine There are already some forums on Gambas. Look at them and ask their maintainers first. And another problem with hosting "official" things outside of sourceforge is finding and paying a domain name. Regards, -- Benoit Minisini From gambas at ...1... Sat Oct 4 17:18:04 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 17:18:04 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <200810041701.26134.ronstk@...239...> References: <48E64450.6040700@...1740...> <61452b690810040722l74ba6e7dueccb15cb4192eabc@...627...> <200810041701.26134.ronstk@...239...> Message-ID: <200810041718.04418.gambas@...1...> On samedi 04 octobre 2008, Ron_1st wrote: > On Saturday 04 October 2008, Kari Laine wrote: > > On Sat, Oct 4, 2008 at 3:02 PM, Steven Lobbezoo wrote: > > > I will host it for free if you want me to. > > > Dedicated Server is in paris. > > > > Just to make sure everyone understood. I was not asking money for to host > > it. I meant that if we find a good provider I am ready to pay for it > > instead that Benoit should have to pay for it. This offer still stands. > > > > Also if there is interest to have a web-forum for Gambas then let me know > > I can put it up if needed. > > > > Best Regards > > Kari Laine > > In fact it already exists. It is able to import even the current mailist > into the forum. Benoit did add even changes to the gambas homesite to > cooperate with the gambasrad site. Was a nice struggle to follow how Gareth > and Benoit got the things at best posible interacting and get a similair > look and feel. > > Gareth did a lot of work on it to try also to forward posts in the forum to > the mailist so Benoit could use sf as his main lookup address. > > Just to see this go to http://www.gambasrad.org > > It supports Forum, Documentation, Software and more > > If we start to use it Gareth may willing to restart synchronisation with > the maillist again. > > > Best regards > Ron_1st > The only problem I have with Gareth site is its slowness and complexity (it is based on Zope/Plone). I just need a subversion server and some mailing-lists for development. A bug tracker would be cool, but not if it is slow as the gambasrad.org's one. Regards, -- Benoit Minisini From patrik at ...1982... Sat Oct 4 19:02:26 2008 From: patrik at ...1982... (Patrik Karlsson) Date: Sat, 4 Oct 2008 19:02:26 +0200 Subject: [Gambas-user] Shortcuts in hidden menus will not work In-Reply-To: <200810041834.20538.gambas@...1...> References: <200809262203.05058.patrik@...1982...> <200810041834.20538.gambas@...1...> Message-ID: <200810041902.26348.patrik@...1982...> Den Saturday 04 October 2008 18:34:20 skrev Benoit Minisini: > AFAIK, there is not concept of hidden menu in QT. So hiding a menu really > internally destroys it, and so the shortcut. > > > Also, is there a quicker way to toggle the menu bar in one single > > command? Now I am hiding/showing the top most menues one at a time. > > Good idea. It is just a matter of adding a method to the Window class. I > will note that on the TODO list for Gambas 3. Ok, thanks, and sorry for the double posting the mail list server is so... :) From gambas at ...1... Sun Oct 5 01:37:34 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 5 Oct 2008 01:37:34 +0200 Subject: [Gambas-user] Problem with Sort In-Reply-To: <48E4CEB3.5030305@...221...> References: <48E337FA.4020402@...221...> <48E37E5C.6050004@...221...> <48E4CEB3.5030305@...221...> Message-ID: <200810050137.34073.gambas@...1...> On jeudi 02 octobre 2008, Rolf-Werner Eilert wrote: > Just FYI, Benoit, and as kind of an answer to my previous mail: > > I wrote a little bubble sort (if stringA > stringB...) to sort the list > for myself, and it sorts just the same (wrong) way the > .Sort(gb.Language) does. > > Strange, as in Gambas1 .Sort(gb.Lang) was more intelligent :-) > > Any explanation for this? > > Regards > > Rolf > The sorting bug has been finally fixed in revision 1630. Regards, -- Benoit Minisini From lordheavym at ...626... Sat Oct 4 22:10:42 2008 From: lordheavym at ...626... (Laurent Carlier) Date: Sat, 4 Oct 2008 22:10:42 +0200 Subject: [Gambas-user] Need help understanding svn In-Reply-To: <200810010738.02559.rterry@...1946...> References: <200810010738.02559.rterry@...1946...> Message-ID: <200810042210.43022.lordheavym@...626...> Le mardi 30 septembre 2008 23:38:02 richard terry, vous avez ?crit : > I wondered how to interpret this as my svn won't update. > > svn: Aborting commit: '/home/richard/coding/gambas2/trunk/.settings' > remains in conflict > > Regards > > Richard > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I guess because the file .setting in your directory and the .setting file in the svn got difference that can't be automaticly merge. Regards, From ronstk at ...239... Sun Oct 5 03:22:20 2008 From: ronstk at ...239... (Ron_1st) Date: Sun, 5 Oct 2008 03:22:20 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <200810041718.04418.gambas@...1...> References: <48E64450.6040700@...1740...> <200810041701.26134.ronstk@...239...> <200810041718.04418.gambas@...1...> Message-ID: <200810050322.20538.ronstk@...239...> On Saturday 04 October 2008, Benoit Minisini wrote: > On samedi 04 octobre 2008, Ron_1st wrote: > > On Saturday 04 October 2008, Kari Laine wrote: > > > On Sat, Oct 4, 2008 at 3:02 PM, Steven Lobbezoo > wrote: > > > > I will host it for free if you want me to. > > > > Dedicated Server is in paris. > > > > > > Just to make sure everyone understood. I was not asking money for to host > > > it. I meant that if we find a good provider I am ready to pay for it > > > instead that Benoit should have to pay for it. This offer still stands. > > > > > > Also if there is interest to have a web-forum for Gambas then let me know > > > I can put it up if needed. > > > > > > Best Regards > > > Kari Laine > > > > In fact it already exists. It is able to import even the current mailist > > into the forum. Benoit did add even changes to the gambas homesite to > > cooperate with the gambasrad site. Was a nice struggle to follow how Gareth > > and Benoit got the things at best posible interacting and get a similair > > look and feel. > > > > Gareth did a lot of work on it to try also to forward posts in the forum to > > the mailist so Benoit could use sf as his main lookup address. > > > > Just to see this go to http://www.gambasrad.org > > > > It supports Forum, Documentation, Software and more > > > > If we start to use it Gareth may willing to restart synchronisation with > > the maillist again. > > > > > > Best regards > > Ron_1st > > > > The only problem I have with Gareth site is its slowness and complexity (it is > based on Zope/Plone). compared to other I agree but slow is less bad as unreliable going sf Just got 41 mails from sf some 5 days old. > > I just need a subversion server and some mailing-lists for development. A bug > tracker would be cool, but not if it is slow as the gambasrad.org's one. > > Regards, > I have seen some did switch from sf to berlios at http://www.berlios.de/ For the smplayer project i.e. Summary at http://developer.berlios.de/projects/smplayer/ Home at http://smplayer.berlios.de/index.php?tr_lang=en Forum at http://smplayer.berlios.de/forums/index.php?tr_lang=en Downloads at http://smplayer.berlios.de/downloads.php?tr_lang=en tracker at http://sourceforge.net/tracker/?group_id=185512&atid=913573 svn at http://developer.berlios.de/docman/display_doc.php?docid=394&group_id=2 Best regards Ron_1st From ronstk at ...239... Sun Oct 5 03:37:37 2008 From: ronstk at ...239... (Ron_1st) Date: Sun, 5 Oct 2008 03:37:37 +0200 Subject: [Gambas-user] important messages from the past In-Reply-To: <1223153152.6411.1.camel@...40...> References: <1223153152.6411.1.camel@...40...> Message-ID: <200810050337.37863.ronstk@...239...> On Saturday 04 October 2008, Charlie Reinl wrote: > Salut, > > I do not know! > But today seems to be a special day for gambas to be. > Very many important messages from the past. Yeeesss Got just 41 mails and a batch of 10 oldest are Sept 26 Best regards Ron_1st From ariefbayu at ...626... Sun Oct 5 04:15:07 2008 From: ariefbayu at ...626... (Arief Bayu Purwanto) Date: Sun, 5 Oct 2008 09:15:07 +0700 Subject: [Gambas-user] Bleh In-Reply-To: <200810041633.04283.gambas@...1...> References: <48E64450.6040700@...1740...> <1223121758.4033.148.camel@...1936...> <61452b690810040722l74ba6e7dueccb15cb4192eabc@...627...> <200810041633.04283.gambas@...1...> Message-ID: <976ad9050810041915o3f31929dr5088d3dba20bff7c@...627...> On 10/4/08, Benoit Minisini wrote: > > And another problem with hosting "official" things outside of sourceforge > is > finding and paying a domain name. You can use google groups for that. I have a mailing list on google groups that sent average 35K mail a month without too much hick up. -- Arief Bayu Purwanto About : http://about.freelancer.web.id/ Blog : http://bayu.freelancer.web.id/ From leo_senpao at ...1541... Sun Oct 5 06:56:21 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Sun, 5 Oct 2008 12:56:21 +0800 (SGT) Subject: [Gambas-user] Ask About Table View Message-ID: <355436.69178.qm@...1989...> @Doriano Blengino Thank you very much for your second solution... It solves my problem :D >2) A hidden menu item, having "Enter" as its shortcut, will always work >and get fired. As there are two different keys to catch (Return and >Enter), then two different hidden menu items must be created. ___________________________________________________________________________ Yahoo! sekarang memiliki alamat Email baru. Dapatkan nama yang selalu Anda inginkan di domain baru @ymail dan @rocketmail. Cepat sebelum diambil orang lain! http://mail.promotions.yahoo.com/newdomains/id/ From rospolosco at ...152... Sun Oct 5 12:37:14 2008 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 5 Oct 2008 12:37:14 +0200 Subject: [Gambas-user] ME.Children disable question In-Reply-To: <48E76F9D.2030401@...1740...> References: <48E76F9D.2030401@...1740...> Message-ID: <200810051237.14946.rospolosco@...152...> Il sabato 4 ottobre 2008 15:29:01 Ron ha scritto: > Hi, > > Third time I try to get this message on the list, so hopefully it gets > through now.. > > Say I have a Form with alot of frames on it with buttons etc. in them. > > I want to enable only 2 frames and the buttons inside them at some > point. (disable most of the gui) > When I first disable all, and then try to enable just the 2 frames, it > doesn't work, they all stay disabled. > > Have I shoot myself in the foot, by using ME.Children, or should it work? > > DIM oObject as Object > > FOR EACH oObject IN ME.Children > oObject.Enabled = FALSE > NEXT Here, you have to enable the frameStream control, before its children. frameStream.enabled =TRUE > FOR EACH oObject IN frameStream.Children > oObject.Enabled = TRUE > NEXT > FOR EACH oObject IN frameDevice.Children > oObject.Enabled = TRUE > NEXT > > Gambas 2.9 using gb.qt > > Regards, > Ron_2nd. Bye, Stefano > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From doriano.blengino at ...1909... Sun Oct 5 13:09:58 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 05 Oct 2008 13:09:58 +0200 Subject: [Gambas-user] Getting events from a modal showed modal In-Reply-To: <200810041754.44594.gambas@...1...> References: <48DBF4F2.7030107@...1909...> <200810041739.43648.gambas@...1...> <200810041754.44594.gambas@...1...> Message-ID: <48E8A086.6010203@...1909...> Benoit Minisini ha scritto: > On samedi 04 octobre 2008, Benoit Minisini wrote: > >> Wow. I get this mail ten days after it was sent to the mailing-list! >> >> On jeudi 25 septembre 2008, Doriano Blengino wrote: >> >>> I have some problems with rendering fonts in preview - they are >>> imprecise, and some manipulation comes from practical tries, without a >>> >> Font width is not accurate at small sizes on screen, because of font >> hinting (on screen). >> When you want to know the dimension of a text at small sizes (let's say >> when size <= 48), always calculate it at 48 point size, and divide the >> result by the ratio between 48 and the real font size. >> >> What do you think about that? >> Well, I focused my problem better. The whole thing must, and actually does, "think" in real world coordinates. When calculations are done to position two texts side by side, one must know the width of the left-sided text to put the right-sided text in place. draw.TextWidth() must be called in real-word coordinates, and it returns correct values. When previewing, the text on the screen, because oh hinting, gets more or less widened or narrowed. This improves readability, but the proportionality is lost. The only possible thing is to disable hinting directly (not possible at this time), or indirectly (by drawing on a off-screen surface and then scaling the picture down). In either cases, one can not have both readability and proportionality. I could add a checkbox to toggle the two modes... in the non-hinting mode, anti-aliasing could help. This could be done by creating a Drawing area as big as the paper sheet (*much* memory...) and then scale the whole page, or by creating a single off-screen image for every text to print (and destroy the image just after). Anyway, the answer to the question about using a 48 points font to do calculations, is: "use the true size of the font, because that font, with that size, will be rendered on paper". You didn't reply to the question about instantiating observers to catch the GetPage events. It is not so important though. Thank you, and best regards. Doriano Blengino From gambas at ...1... Sun Oct 5 13:47:40 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 5 Oct 2008 13:47:40 +0200 Subject: [Gambas-user] About sourceforge mailing-list problems Message-ID: <200810051347.40309.gambas@...1...> Hi, I just found a page where you can be aware of problems on Sourceforge: Go to http://sourceforge.net/community/forum/ And then click on "Site Status". They said the were more than 50000 mails blocked, and they solved that yesterday. This is the reason why all these old posts arrive now. This is not the first time they have this problem. Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 5 13:47:40 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 5 Oct 2008 13:47:40 +0200 Subject: [Gambas-user] About sourceforge mailing-list problems Message-ID: <200810051347.40309.gambas@...1...> Hi, I just found a page where you can be aware of problems on Sourceforge: Go to http://sourceforge.net/community/forum/ And then click on "Site Status". They said the were more than 50000 mails blocked, and they solved that yesterday. This is the reason why all these old posts arrive now. This is not the first time they have this problem. Regards, -- Benoit Minisini From ron at ...1740... Sun Oct 5 20:27:17 2008 From: ron at ...1740... (Ron) Date: Sun, 05 Oct 2008 20:27:17 +0200 Subject: [Gambas-user] ME.Children disable question In-Reply-To: <200810051237.14946.rospolosco@...152...> References: <48E76F9D.2030401@...1740...> <200810051237.14946.rospolosco@...152...> Message-ID: <48E90705.4020607@...1740...> Stefano Palmeri wrote: > Il sabato 4 ottobre 2008 15:29:01 Ron ha scritto: >> Hi, >> >> Third time I try to get this message on the list, so hopefully it gets >> through now.. >> >> Say I have a Form with alot of frames on it with buttons etc. in them. >> >> I want to enable only 2 frames and the buttons inside them at some >> point. (disable most of the gui) >> When I first disable all, and then try to enable just the 2 frames, it >> doesn't work, they all stay disabled. >> >> Have I shoot myself in the foot, by using ME.Children, or should it work? >> >> DIM oObject as Object >> >> FOR EACH oObject IN ME.Children >> oObject.Enabled = FALSE >> NEXT > > Here, you have to enable the frameStream control, before its > children. > > frameStream.enabled =TRUE > >> FOR EACH oObject IN frameStream.Children >> oObject.Enabled = TRUE >> NEXT >> FOR EACH oObject IN frameDevice.Children >> oObject.Enabled = TRUE >> NEXT >> >> Gambas 2.9 using gb.qt >> >> Regards, >> Ron_2nd. > > Bye, > > Stefano > Stefano and Benoit thanks for the pointer, didn't thought about the need to enable the parents first. Works ok now. Regards, Ron_2nd From patrik at ...1982... Sun Oct 5 21:12:31 2008 From: patrik at ...1982... (Patrik Karlsson) Date: Sun, 5 Oct 2008 21:12:31 +0200 Subject: [Gambas-user] Request: Remove background image from web site Message-ID: <200810052112.32269.patrik@...1982...> IMHO it is some what hard to read the text when the background changes from dark to white, on every line. How about a small logo at the top? From gael.lehech at ...626... Sun Oct 5 22:21:23 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Sun, 5 Oct 2008 22:21:23 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: <200810032017.57474.gambas@...1...> References: <200810032017.57474.gambas@...1...> Message-ID: I'll give a try tomorrow. 2008/10/3 Benoit Minisini > On vendredi 03 octobre 2008, Ga?l Le Hec'H wrote: > > Hi, > > I need to receive data from a device with serial port with 19200 bauds 8 > > bits data Even parity 2 stop bits settings, but I get only 7 bits of my > > data. > > I check with serlook and data received is correct : 10 00 00 F0, with > > gambas I receive 10 00 00 70 > > I check the change log of the component but didn't see any problem with > > parity setting. > > I use version 2.0.0 of gambas2 (I know it's old but with my slackware 11 > I > > can't get newer version to compile). > > It 's a very annoying problem because I can't change the serial settings > of > > my device :-( > > kind regards > > > > Ga?l > > I fixed that I have fixed the problem in revision #1624, and it would be > cool > if you could compile the latest version of Gambas to check that. > > Why can't you compile a recent version of Gambas on slackware 11? > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jbskaggs at ...1871... Sun Oct 5 23:35:36 2008 From: jbskaggs at ...1871... (jbskaggs) Date: Sun, 5 Oct 2008 14:35:36 -0700 (PDT) Subject: [Gambas-user] 2.8.2 for Ubuntu amd64 Message-ID: <19829401.post@...1379...> When is a Gambas 2.8.2 Ubuntu package for ubuntu 8.04 amd 64 going to become available? Right now 2.5 is highest. JB -- View this message in context: http://www.nabble.com/2.8.2-for-Ubuntu-amd64-tp19829401p19829401.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Mon Oct 6 00:10:32 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 6 Oct 2008 00:10:32 +0200 Subject: [Gambas-user] Request: Remove background image from web site In-Reply-To: <200810052112.32269.patrik@...1982...> References: <200810052112.32269.patrik@...1982...> Message-ID: <200810060010.32672.gambas@...1...> On dimanche 05 octobre 2008, Patrik Karlsson wrote: > IMHO it is some what hard to read the text when the background changes from > dark to white, on every line. How about a small logo at the top? > I made the background image lighter. Is it better for you? -- Benoit Minisini From eilert-sprachen at ...221... Mon Oct 6 08:45:24 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 06 Oct 2008 08:45:24 +0200 Subject: [Gambas-user] Problem with Sort In-Reply-To: <200810050137.34073.gambas@...1...> References: <48E337FA.4020402@...221...> <48E37E5C.6050004@...221...> <48E4CEB3.5030305@...221...> <200810050137.34073.gambas@...1...> Message-ID: <48E9B404.1090200@...221...> Benoit Minisini schrieb: > On jeudi 02 octobre 2008, Rolf-Werner Eilert wrote: >> Just FYI, Benoit, and as kind of an answer to my previous mail: >> >> I wrote a little bubble sort (if stringA > stringB...) to sort the list >> for myself, and it sorts just the same (wrong) way the >> .Sort(gb.Language) does. >> >> Strange, as in Gambas1 .Sort(gb.Lang) was more intelligent :-) >> >> Any explanation for this? >> >> Regards >> >> Rolf >> > > The sorting bug has been finally fixed in revision 1630. > > Regards, > Good to know it was a bug and not me :-) But what does 1630 tell me - will this affect Gambas3 or Gambas2 in a next release? Regards Rolf From steven at ...1652... Mon Oct 6 10:46:49 2008 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 06 Oct 2008 10:46:49 +0200 Subject: [Gambas-user] Bleh In-Reply-To: <200810041507.04657.gambas@...1...> References: <48E64450.6040700@...1740...> <61452b690810031149p320041f2se8bee48e76ff8b01@...627...> <1223121758.4033.148.camel@...1936...> <200810041507.04657.gambas@...1...> Message-ID: <1223282809.3734.126.camel@...1936...> Mailman is no problem, I can install it, if you want me to. I'm handling peaks of about 100 msg's a minute now, so the list is no problem at all. I'll look into mailman, install it and come back here to give You acces for testing. Just give me a few days (very busy at te moment ;-) ) Steven Le samedi 04 octobre 2008 ? 15:07 +0200, Benoit Minisini a ?crit : > On samedi 04 octobre 2008, Steven Lobbezoo wrote: > > I will host it for free if you want me to. > > Dedicated Server is in paris. > > > > Just which list software would you like ? > > > > I use Exim mail server with Qpop for mail at > > the moment. > > > > Steven > > > > Can you give more details? > > Can you implement the same feature as "mailman", the software used by > sourceforge, or use it directly? > > Can you handle a mailing-list with more then 500 people on it without > problems? > From gambas at ...1... Mon Oct 6 11:20:38 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 6 Oct 2008 11:20:38 +0200 Subject: [Gambas-user] Problem with Sort In-Reply-To: <48E9B404.1090200@...221...> References: <48E337FA.4020402@...221...> <200810050137.34073.gambas@...1...> <48E9B404.1090200@...221...> Message-ID: <200810061120.38872.gambas@...1...> On lundi 06 octobre 2008, Rolf-Werner Eilert wrote: > Benoit Minisini schrieb: > > On jeudi 02 octobre 2008, Rolf-Werner Eilert wrote: > >> Just FYI, Benoit, and as kind of an answer to my previous mail: > >> > >> I wrote a little bubble sort (if stringA > stringB...) to sort the list > >> for myself, and it sorts just the same (wrong) way the > >> .Sort(gb.Language) does. > >> > >> Strange, as in Gambas1 .Sort(gb.Lang) was more intelligent :-) > >> > >> Any explanation for this? > >> > >> Regards > >> > >> Rolf > > > > The sorting bug has been finally fixed in revision 1630. > > > > Regards, > > Good to know it was a bug and not me :-) > > But what does 1630 tell me - will this affect Gambas3 or Gambas2 in a > next release? > > Regards > > Rolf > Both of course. The revision #1630 is for Gambas 2. The fix for Gambas 3 is in the revision #1632. Regards, -- Benoit Minisini From gael.lehech at ...626... Mon Oct 6 14:08:12 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Mon, 6 Oct 2008 14:08:12 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: References: <200810032017.57474.gambas@...1...> Message-ID: now I remember ;-) make[5]: entrant dans le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o In file included from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/codecvt.h:475, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/locale_facets.h:1533, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_ios.h:44, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:51, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostream:45, from /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/iterator:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51, from /usr/lib/qt-3.3.8b/include/qmap.h:49, from /usr/lib/qt-3.3.8b/include/qmime.h:46, from /usr/lib/qt-3.3.8b/include/qevent.h:48, from /usr/lib/qt-3.3.8b/include/qobject.h:48, from /usr/lib/qt-3.3.8b/include/qwidget.h:46, from ../gb.qt.h:29, from main.h:27, from main.cpp:36: /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486-slackware-linux/bits/codecvt_specializations.h: In member function `virtual std::codecvt_base::result std::codecvt<_InternT, _ExternT, std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, _ExternT*&) const': /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486-slackware-linux/bits/codecvt_specializations.h:359: error: no matching function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*, char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)' make[5]: *** [main.lo] Erreur 1 make[5]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? make[4]: *** [all-recursive] Erreur 1 make[4]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src ? make[3]: *** [all-recursive] Erreur 1 make[3]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt ? make[2]: *** [all] Erreur 2 make[2]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt ? make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0 ? make: *** [all] Erreur 2 i upgraded qt 3.3.6 to 3.3.8 but for gcc :-(( 2008/10/5 Ga?l Le Hec'H > I'll give a try tomorrow. > > 2008/10/3 Benoit Minisini > > On vendredi 03 octobre 2008, Ga?l Le Hec'H wrote: >> > Hi, >> > I need to receive data from a device with serial port with 19200 bauds 8 >> > bits data Even parity 2 stop bits settings, but I get only 7 bits of my >> > data. >> > I check with serlook and data received is correct : 10 00 00 F0, with >> > gambas I receive 10 00 00 70 >> > I check the change log of the component but didn't see any problem with >> > parity setting. >> > I use version 2.0.0 of gambas2 (I know it's old but with my slackware 11 >> I >> > can't get newer version to compile). >> > It 's a very annoying problem because I can't change the serial settings >> of >> > my device :-( >> > kind regards >> > >> > Ga?l >> >> I fixed that I have fixed the problem in revision #1624, and it would be >> cool >> if you could compile the latest version of Gambas to check that. >> >> Why can't you compile a recent version of Gambas on slackware 11? >> >> -- >> Benoit Minisini >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From joshiggins at ...1601... Mon Oct 6 14:21:31 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 6 Oct 2008 13:21:31 +0100 Subject: [Gambas-user] gambas3 compile problem In-Reply-To: <61452b690809271157o62c07bfcu4ac05ebd9a823160@...627...> References: <4247f5440809271149u122336den8314a62e1d37125@...627...> <61452b690809271157o62c07bfcu4ac05ebd9a823160@...627...> Message-ID: <4247f5440810060521i726fb593h72fa88ce85c4419f@...627...> Yes I know but DF shows its wasnt full On Sat, Sep 27, 2008 at 7:57 PM, Kari Laine wrote: > On Sat, Sep 27, 2008 at 9:49 PM, Joshua Higgins > wrote: > > > hello all, > > > > trying to compile gambas3 here, following instructions off website to the > > letter (running Ubuntu Hardy on 32bit). I type ./reconf-all and get this: > > > > root at ...1984...:/home/development/gambas3/trunk# ./reconf-all/usr/bin/m4: > > > > > > > configure.ac:6: ERROR: copying inserted file: No space left on device > > > It says here NO SPACE LEFT ON DEVICE !! > your disk is full :-) > > > Best Regards > Kari Laine > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From gambas at ...1... Mon Oct 6 14:23:16 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 6 Oct 2008 14:23:16 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: References: <200810032017.57474.gambas@...1...> Message-ID: <200810061423.16760.gambas@...1...> On lundi 06 octobre 2008, Ga?l Le Hec'H wrote: > now I remember ;-) > > make[5]: entrant dans le r?pertoire ? > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > -I/usr/lib/qt-3.3.8b/include/ > -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe > -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o > main.lo main.cpp; \ > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f > ".deps/main.Tpo"; exit 1; fi > ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT > -I../../share -I../../src/share -pipe -Wall -fno-exceptions > -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT main.lo > -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o > In file included from > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ >codecvt.h:475, from > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ >locale_facets.h:1533, from > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ >basic_ios.h:44, from > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:5 >1, from > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostre >am:45, from > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/itera >tor:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51, > from /usr/lib/qt-3.3.8b/include/qmap.h:49, > from /usr/lib/qt-3.3.8b/include/qmime.h:46, > from /usr/lib/qt-3.3.8b/include/qevent.h:48, > from /usr/lib/qt-3.3.8b/include/qobject.h:48, > from /usr/lib/qt-3.3.8b/include/qwidget.h:46, > from ../gb.qt.h:29, > from main.h:27, > from main.cpp:36: > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- >slackware-linux/bits/codecvt_specializations.h: In member function `virtual > std::codecvt_base::result std::codecvt<_InternT, _ExternT, > std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, > _ExternT*&) const': > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- >slackware-linux/bits/codecvt_specializations.h:359: error: no matching > function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*, > char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)' > make[5]: *** [main.lo] Erreur 1 > make[5]: quittant le r?pertoire ? > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > make[4]: *** [all-recursive] Erreur 1 > make[4]: quittant le r?pertoire ? > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src ? > make[3]: *** [all-recursive] Erreur 1 > make[3]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt ? > make[2]: *** [all] Erreur 2 > make[2]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt ? > make[1]: *** [all-recursive] Erreur 1 > make[1]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0 ? > make: *** [all] Erreur 2 > > i upgraded qt 3.3.6 to 3.3.8 but for gcc :-(( > > 2008/10/5 Ga?l Le Hec'H > You can just compile the gb.net component and install it. To do that, just do the ./reconf && ./configure && make && make install inside the gb.net directory. All gambas components are actually 'independent' source packages, so you can compile each of them independently. I put independent between quotes because this is not totally true, as I used symbolic links to share files between components. But as soon as the entire source package is installed, this is true. Regards, -- Benoit Minisini From gael.lehech at ...626... Mon Oct 6 16:37:20 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Mon, 6 Oct 2008 16:37:20 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: <200810061423.16760.gambas@...1...> References: <200810032017.57474.gambas@...1...> <200810061423.16760.gambas@...1...> Message-ID: I made the modification directly line 402 of tools.c because the 2.0.0 version didn't worked with gb.net from svn :-(( impossible to open serial port error #5. The parity works now perfectly thanks Benoit. 2008/10/6 Benoit Minisini > On lundi 06 octobre 2008, Ga?l Le Hec'H wrote: > > now I remember ;-) > > > > make[5]: entrant dans le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ > > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ > > -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe > > -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os > > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o > > main.lo main.cpp; \ > > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f > > ".deps/main.Tpo"; exit 1; fi > > ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT > > -I../../share -I../../src/share -pipe -Wall -fno-exceptions > > -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT > main.lo > > -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o > > In file included from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >codecvt.h:475, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >locale_facets.h:1533, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >basic_ios.h:44, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:5 > >1, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostre > >am:45, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/itera > >tor:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51, > > from /usr/lib/qt-3.3.8b/include/qmap.h:49, > > from /usr/lib/qt-3.3.8b/include/qmime.h:46, > > from /usr/lib/qt-3.3.8b/include/qevent.h:48, > > from /usr/lib/qt-3.3.8b/include/qobject.h:48, > > from /usr/lib/qt-3.3.8b/include/qwidget.h:46, > > from ../gb.qt.h:29, > > from main.h:27, > > from main.cpp:36: > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h: In member function > `virtual > > std::codecvt_base::result std::codecvt<_InternT, _ExternT, > > std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, > > _ExternT*&) const': > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h:359: error: no matching > > function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*, > > char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)' > > make[5]: *** [main.lo] Erreur 1 > > make[5]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > make[4]: *** [all-recursive] Erreur 1 > > make[4]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src ? > > make[3]: *** [all-recursive] Erreur 1 > > make[3]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[2]: *** [all] Erreur 2 > > make[2]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[1]: *** [all-recursive] Erreur 1 > > make[1]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0 ? > > make: *** [all] Erreur 2 > > > > i upgraded qt 3.3.6 to 3.3.8 but for gcc :-(( > > > > 2008/10/5 Ga?l Le Hec'H > > > > You can just compile the gb.net component and install it. To do that, just > do > the ./reconf && ./configure && make && make install inside the gb.net > directory. > > All gambas components are actually 'independent' source packages, so you > can > compile each of them independently. I put independent between quotes > because > this is not totally true, as I used symbolic links to share files between > components. But as soon as the entire source package is installed, this is > true. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rolf.frogs at ...221... Mon Oct 6 16:26:12 2008 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Mon, 6 Oct 2008 16:26:12 +0200 Subject: [Gambas-user] gambas3 compile problem In-Reply-To: <4247f5440810060521i726fb593h72fa88ce85c4419f@...627...> References: <4247f5440809271149u122336den8314a62e1d37125@...627...> <61452b690809271157o62c07bfcu4ac05ebd9a823160@...627...> <4247f5440810060521i726fb593h72fa88ce85c4419f@...627...> Message-ID: <200810061626.16511.rolf.frogs@...221...> Hi Joshua, > Yes I know but DF shows its wasnt full > > > It says here NO SPACE LEFT ON DEVICE !! > > your disk is full :-) Even if df says there is space left, you can run out of inodes, especially if you have a large amount of small files or, you use UNIONFS. Hope that helps (to understand) Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From gambas at ...1... Mon Oct 6 17:05:17 2008 From: gambas at ...1... (Benoit Minisini) Date: Mon, 6 Oct 2008 17:05:17 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: References: <200810032017.57474.gambas@...1...> <200810061423.16760.gambas@...1...> Message-ID: <200810061705.17786.gambas@...1...> On lundi 06 octobre 2008, Ga?l Le Hec'H wrote: > I made the modification directly line 402 of tools.c because the 2.0.0 > version didn't worked with gb.net from svn :-(( impossible to open serial > port error #5. > The parity works now perfectly thanks Benoit. > You are right, I said rubbish. I forgot that I didn't just fix the bug, but did some clean-up and modified the interpreter too. So you cannot just compile gb.net. Anyway, I'm happy to know that the bug is fixed. I cannot test anything related to the serial port myself. Regards, -- Benoit Minisini From gael.lehech at ...626... Mon Oct 6 16:37:20 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Mon, 6 Oct 2008 16:37:20 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: <200810061423.16760.gambas@...1...> References: <200810032017.57474.gambas@...1...> <200810061423.16760.gambas@...1...> Message-ID: I made the modification directly line 402 of tools.c because the 2.0.0 version didn't worked with gb.net from svn :-(( impossible to open serial port error #5. The parity works now perfectly thanks Benoit. 2008/10/6 Benoit Minisini > On lundi 06 octobre 2008, Ga?l Le Hec'H wrote: > > now I remember ;-) > > > > make[5]: entrant dans le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ > > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ > > -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe > > -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os > > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o > > main.lo main.cpp; \ > > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f > > ".deps/main.Tpo"; exit 1; fi > > ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT > > -I../../share -I../../src/share -pipe -Wall -fno-exceptions > > -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT > main.lo > > -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o > > In file included from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >codecvt.h:475, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >locale_facets.h:1533, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >basic_ios.h:44, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:5 > >1, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostre > >am:45, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/itera > >tor:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51, > > from /usr/lib/qt-3.3.8b/include/qmap.h:49, > > from /usr/lib/qt-3.3.8b/include/qmime.h:46, > > from /usr/lib/qt-3.3.8b/include/qevent.h:48, > > from /usr/lib/qt-3.3.8b/include/qobject.h:48, > > from /usr/lib/qt-3.3.8b/include/qwidget.h:46, > > from ../gb.qt.h:29, > > from main.h:27, > > from main.cpp:36: > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h: In member function > `virtual > > std::codecvt_base::result std::codecvt<_InternT, _ExternT, > > std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, > > _ExternT*&) const': > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h:359: error: no matching > > function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*, > > char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)' > > make[5]: *** [main.lo] Erreur 1 > > make[5]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > make[4]: *** [all-recursive] Erreur 1 > > make[4]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src ? > > make[3]: *** [all-recursive] Erreur 1 > > make[3]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[2]: *** [all] Erreur 2 > > make[2]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[1]: *** [all-recursive] Erreur 1 > > make[1]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0 ? > > make: *** [all] Erreur 2 > > > > i upgraded qt 3.3.6 to 3.3.8 but for gcc :-(( > > > > 2008/10/5 Ga?l Le Hec'H > > > > You can just compile the gb.net component and install it. To do that, just > do > the ./reconf && ./configure && make && make install inside the gb.net > directory. > > All gambas components are actually 'independent' source packages, so you > can > compile each of them independently. I put independent between quotes > because > this is not totally true, as I used symbolic links to share files between > components. But as soon as the entire source package is installed, this is > true. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gael.lehech at ...626... Mon Oct 6 16:37:20 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Mon, 6 Oct 2008 16:37:20 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: <200810061423.16760.gambas@...1...> References: <200810032017.57474.gambas@...1...> <200810061423.16760.gambas@...1...> Message-ID: I made the modification directly line 402 of tools.c because the 2.0.0 version didn't worked with gb.net from svn :-(( impossible to open serial port error #5. The parity works now perfectly thanks Benoit. 2008/10/6 Benoit Minisini > On lundi 06 octobre 2008, Ga?l Le Hec'H wrote: > > now I remember ;-) > > > > make[5]: entrant dans le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ > > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ > > -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe > > -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os > > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o > > main.lo main.cpp; \ > > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f > > ".deps/main.Tpo"; exit 1; fi > > ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT > > -I../../share -I../../src/share -pipe -Wall -fno-exceptions > > -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT > main.lo > > -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o > > In file included from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >codecvt.h:475, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >locale_facets.h:1533, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >basic_ios.h:44, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:5 > >1, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostre > >am:45, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/itera > >tor:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51, > > from /usr/lib/qt-3.3.8b/include/qmap.h:49, > > from /usr/lib/qt-3.3.8b/include/qmime.h:46, > > from /usr/lib/qt-3.3.8b/include/qevent.h:48, > > from /usr/lib/qt-3.3.8b/include/qobject.h:48, > > from /usr/lib/qt-3.3.8b/include/qwidget.h:46, > > from ../gb.qt.h:29, > > from main.h:27, > > from main.cpp:36: > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h: In member function > `virtual > > std::codecvt_base::result std::codecvt<_InternT, _ExternT, > > std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, > > _ExternT*&) const': > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h:359: error: no matching > > function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*, > > char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)' > > make[5]: *** [main.lo] Erreur 1 > > make[5]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > make[4]: *** [all-recursive] Erreur 1 > > make[4]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src ? > > make[3]: *** [all-recursive] Erreur 1 > > make[3]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[2]: *** [all] Erreur 2 > > make[2]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[1]: *** [all-recursive] Erreur 1 > > make[1]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0 ? > > make: *** [all] Erreur 2 > > > > i upgraded qt 3.3.6 to 3.3.8 but for gcc :-(( > > > > 2008/10/5 Ga?l Le Hec'H > > > > You can just compile the gb.net component and install it. To do that, just > do > the ./reconf && ./configure && make && make install inside the gb.net > directory. > > All gambas components are actually 'independent' source packages, so you > can > compile each of them independently. I put independent between quotes > because > this is not totally true, as I used symbolic links to share files between > components. But as soon as the entire source package is installed, this is > true. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gael.lehech at ...626... Mon Oct 6 16:37:20 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Mon, 6 Oct 2008 16:37:20 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: <200810061423.16760.gambas@...1...> References: <200810032017.57474.gambas@...1...> <200810061423.16760.gambas@...1...> Message-ID: I made the modification directly line 402 of tools.c because the 2.0.0 version didn't worked with gb.net from svn :-(( impossible to open serial port error #5. The parity works now perfectly thanks Benoit. 2008/10/6 Benoit Minisini > On lundi 06 octobre 2008, Ga?l Le Hec'H wrote: > > now I remember ;-) > > > > make[5]: entrant dans le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ > > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ > > -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe > > -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os > > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o > > main.lo main.cpp; \ > > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f > > ".deps/main.Tpo"; exit 1; fi > > ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT > > -I../../share -I../../src/share -pipe -Wall -fno-exceptions > > -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT > main.lo > > -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o > > In file included from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >codecvt.h:475, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >locale_facets.h:1533, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >basic_ios.h:44, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:5 > >1, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostre > >am:45, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/itera > >tor:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51, > > from /usr/lib/qt-3.3.8b/include/qmap.h:49, > > from /usr/lib/qt-3.3.8b/include/qmime.h:46, > > from /usr/lib/qt-3.3.8b/include/qevent.h:48, > > from /usr/lib/qt-3.3.8b/include/qobject.h:48, > > from /usr/lib/qt-3.3.8b/include/qwidget.h:46, > > from ../gb.qt.h:29, > > from main.h:27, > > from main.cpp:36: > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h: In member function > `virtual > > std::codecvt_base::result std::codecvt<_InternT, _ExternT, > > std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, > > _ExternT*&) const': > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h:359: error: no matching > > function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*, > > char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)' > > make[5]: *** [main.lo] Erreur 1 > > make[5]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > make[4]: *** [all-recursive] Erreur 1 > > make[4]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src ? > > make[3]: *** [all-recursive] Erreur 1 > > make[3]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[2]: *** [all] Erreur 2 > > make[2]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[1]: *** [all-recursive] Erreur 1 > > make[1]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0 ? > > make: *** [all] Erreur 2 > > > > i upgraded qt 3.3.6 to 3.3.8 but for gcc :-(( > > > > 2008/10/5 Ga?l Le Hec'H > > > > You can just compile the gb.net component and install it. To do that, just > do > the ./reconf && ./configure && make && make install inside the gb.net > directory. > > All gambas components are actually 'independent' source packages, so you > can > compile each of them independently. I put independent between quotes > because > this is not totally true, as I used symbolic links to share files between > components. But as soon as the entire source package is installed, this is > true. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gael.lehech at ...626... Mon Oct 6 16:37:20 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Mon, 6 Oct 2008 16:37:20 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: <200810061423.16760.gambas@...1...> References: <200810032017.57474.gambas@...1...> <200810061423.16760.gambas@...1...> Message-ID: I made the modification directly line 402 of tools.c because the 2.0.0 version didn't worked with gb.net from svn :-(( impossible to open serial port error #5. The parity works now perfectly thanks Benoit. 2008/10/6 Benoit Minisini > On lundi 06 octobre 2008, Ga?l Le Hec'H wrote: > > now I remember ;-) > > > > make[5]: entrant dans le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ > > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ > > -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe > > -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os > > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o > > main.lo main.cpp; \ > > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f > > ".deps/main.Tpo"; exit 1; fi > > ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT > > -I../../share -I../../src/share -pipe -Wall -fno-exceptions > > -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT > main.lo > > -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o > > In file included from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >codecvt.h:475, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >locale_facets.h:1533, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >basic_ios.h:44, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:5 > >1, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostre > >am:45, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/itera > >tor:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51, > > from /usr/lib/qt-3.3.8b/include/qmap.h:49, > > from /usr/lib/qt-3.3.8b/include/qmime.h:46, > > from /usr/lib/qt-3.3.8b/include/qevent.h:48, > > from /usr/lib/qt-3.3.8b/include/qobject.h:48, > > from /usr/lib/qt-3.3.8b/include/qwidget.h:46, > > from ../gb.qt.h:29, > > from main.h:27, > > from main.cpp:36: > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h: In member function > `virtual > > std::codecvt_base::result std::codecvt<_InternT, _ExternT, > > std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, > > _ExternT*&) const': > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h:359: error: no matching > > function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*, > > char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)' > > make[5]: *** [main.lo] Erreur 1 > > make[5]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > make[4]: *** [all-recursive] Erreur 1 > > make[4]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src ? > > make[3]: *** [all-recursive] Erreur 1 > > make[3]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[2]: *** [all] Erreur 2 > > make[2]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[1]: *** [all-recursive] Erreur 1 > > make[1]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0 ? > > make: *** [all] Erreur 2 > > > > i upgraded qt 3.3.6 to 3.3.8 but for gcc :-(( > > > > 2008/10/5 Ga?l Le Hec'H > > > > You can just compile the gb.net component and install it. To do that, just > do > the ./reconf && ./configure && make && make install inside the gb.net > directory. > > All gambas components are actually 'independent' source packages, so you > can > compile each of them independently. I put independent between quotes > because > this is not totally true, as I used symbolic links to share files between > components. But as soon as the entire source package is installed, this is > true. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gael.lehech at ...626... Mon Oct 6 16:37:20 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Mon, 6 Oct 2008 16:37:20 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: <200810061423.16760.gambas@...1...> References: <200810032017.57474.gambas@...1...> <200810061423.16760.gambas@...1...> Message-ID: I made the modification directly line 402 of tools.c because the 2.0.0 version didn't worked with gb.net from svn :-(( impossible to open serial port error #5. The parity works now perfectly thanks Benoit. 2008/10/6 Benoit Minisini > On lundi 06 octobre 2008, Ga?l Le Hec'H wrote: > > now I remember ;-) > > > > make[5]: entrant dans le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ > > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ > > -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe > > -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os > > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o > > main.lo main.cpp; \ > > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f > > ".deps/main.Tpo"; exit 1; fi > > ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT > > -I../../share -I../../src/share -pipe -Wall -fno-exceptions > > -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT > main.lo > > -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o > > In file included from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >codecvt.h:475, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >locale_facets.h:1533, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >basic_ios.h:44, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:5 > >1, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostre > >am:45, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/itera > >tor:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51, > > from /usr/lib/qt-3.3.8b/include/qmap.h:49, > > from /usr/lib/qt-3.3.8b/include/qmime.h:46, > > from /usr/lib/qt-3.3.8b/include/qevent.h:48, > > from /usr/lib/qt-3.3.8b/include/qobject.h:48, > > from /usr/lib/qt-3.3.8b/include/qwidget.h:46, > > from ../gb.qt.h:29, > > from main.h:27, > > from main.cpp:36: > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h: In member function > `virtual > > std::codecvt_base::result std::codecvt<_InternT, _ExternT, > > std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, > > _ExternT*&) const': > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h:359: error: no matching > > function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*, > > char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)' > > make[5]: *** [main.lo] Erreur 1 > > make[5]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > make[4]: *** [all-recursive] Erreur 1 > > make[4]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src ? > > make[3]: *** [all-recursive] Erreur 1 > > make[3]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[2]: *** [all] Erreur 2 > > make[2]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[1]: *** [all-recursive] Erreur 1 > > make[1]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0 ? > > make: *** [all] Erreur 2 > > > > i upgraded qt 3.3.6 to 3.3.8 but for gcc :-(( > > > > 2008/10/5 Ga?l Le Hec'H > > > > You can just compile the gb.net component and install it. To do that, just > do > the ./reconf && ./configure && make && make install inside the gb.net > directory. > > All gambas components are actually 'independent' source packages, so you > can > compile each of them independently. I put independent between quotes > because > this is not totally true, as I used symbolic links to share files between > components. But as soon as the entire source package is installed, this is > true. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joshiggins at ...1601... Mon Oct 6 22:15:39 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 6 Oct 2008 21:15:39 +0100 Subject: [Gambas-user] gambas3 compile problem In-Reply-To: <200810061626.16511.rolf.frogs@...221...> References: <4247f5440809271149u122336den8314a62e1d37125@...627...> <61452b690809271157o62c07bfcu4ac05ebd9a823160@...627...> <4247f5440810060521i726fb593h72fa88ce85c4419f@...627...> <200810061626.16511.rolf.frogs@...221...> Message-ID: <4247f5440810061315p149080b6o7027cba4d7ea928b@...627...> A ha, i forgot about inodes... ran into this problem before whilst messing with quotas. Thanks for the info. On Mon, Oct 6, 2008 at 3:26 PM, Rolf Schmidt wrote: > Hi Joshua, > > > Yes I know but DF shows its wasnt full > > > > > It says here NO SPACE LEFT ON DEVICE !! > > > your disk is full :-) > > Even if df says there is space left, you can run out of inodes, especially > if > you have a large amount of small files or, you use UNIONFS. > > Hope that helps (to understand) > Rolf > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- joshua higgins >>>>>>------ From patrik at ...1982... Mon Oct 6 22:18:55 2008 From: patrik at ...1982... (Patrik Karlsson) Date: Mon, 6 Oct 2008 22:18:55 +0200 Subject: [Gambas-user] Request: Remove background image from web site In-Reply-To: <200810060010.32672.gambas@...1...> References: <200810052112.32269.patrik@...1982...> <200810060010.32672.gambas@...1...> Message-ID: <200810062218.55582.patrik@...1982...> Den Monday 06 October 2008 00:10:32 skrev Benoit Minisini: > On dimanche 05 octobre 2008, Patrik Karlsson wrote: > > IMHO it is some what hard to read the text when the background changes > > from dark to white, on every line. How about a small logo at the top? > > I made the background image lighter. Is it better for you? It is hard to say, it is still the switching of contrasts. From joshiggins at ...1601... Mon Oct 6 22:15:39 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 6 Oct 2008 21:15:39 +0100 Subject: [Gambas-user] gambas3 compile problem In-Reply-To: <200810061626.16511.rolf.frogs@...221...> References: <4247f5440809271149u122336den8314a62e1d37125@...627...> <61452b690809271157o62c07bfcu4ac05ebd9a823160@...627...> <4247f5440810060521i726fb593h72fa88ce85c4419f@...627...> <200810061626.16511.rolf.frogs@...221...> Message-ID: <4247f5440810061315p149080b6o7027cba4d7ea928b@...627...> A ha, i forgot about inodes... ran into this problem before whilst messing with quotas. Thanks for the info. On Mon, Oct 6, 2008 at 3:26 PM, Rolf Schmidt wrote: > Hi Joshua, > > > Yes I know but DF shows its wasnt full > > > > > It says here NO SPACE LEFT ON DEVICE !! > > > your disk is full :-) > > Even if df says there is space left, you can run out of inodes, especially > if > you have a large amount of small files or, you use UNIONFS. > > Hope that helps (to understand) > Rolf > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- joshua higgins >>>>>>------ From joshiggins at ...1601... Mon Oct 6 22:15:39 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 6 Oct 2008 21:15:39 +0100 Subject: [Gambas-user] gambas3 compile problem In-Reply-To: <200810061626.16511.rolf.frogs@...221...> References: <4247f5440809271149u122336den8314a62e1d37125@...627...> <61452b690809271157o62c07bfcu4ac05ebd9a823160@...627...> <4247f5440810060521i726fb593h72fa88ce85c4419f@...627...> <200810061626.16511.rolf.frogs@...221...> Message-ID: <4247f5440810061315p149080b6o7027cba4d7ea928b@...627...> A ha, i forgot about inodes... ran into this problem before whilst messing with quotas. Thanks for the info. On Mon, Oct 6, 2008 at 3:26 PM, Rolf Schmidt wrote: > Hi Joshua, > > > Yes I know but DF shows its wasnt full > > > > > It says here NO SPACE LEFT ON DEVICE !! > > > your disk is full :-) > > Even if df says there is space left, you can run out of inodes, especially > if > you have a large amount of small files or, you use UNIONFS. > > Hope that helps (to understand) > Rolf > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- joshua higgins >>>>>>------ From joshiggins at ...1601... Mon Oct 6 22:15:39 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 6 Oct 2008 21:15:39 +0100 Subject: [Gambas-user] gambas3 compile problem In-Reply-To: <200810061626.16511.rolf.frogs@...221...> References: <4247f5440809271149u122336den8314a62e1d37125@...627...> <61452b690809271157o62c07bfcu4ac05ebd9a823160@...627...> <4247f5440810060521i726fb593h72fa88ce85c4419f@...627...> <200810061626.16511.rolf.frogs@...221...> Message-ID: <4247f5440810061315p149080b6o7027cba4d7ea928b@...627...> A ha, i forgot about inodes... ran into this problem before whilst messing with quotas. Thanks for the info. On Mon, Oct 6, 2008 at 3:26 PM, Rolf Schmidt wrote: > Hi Joshua, > > > Yes I know but DF shows its wasnt full > > > > > It says here NO SPACE LEFT ON DEVICE !! > > > your disk is full :-) > > Even if df says there is space left, you can run out of inodes, especially > if > you have a large amount of small files or, you use UNIONFS. > > Hope that helps (to understand) > Rolf > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- joshua higgins >>>>>>------ From gael.lehech at ...626... Mon Oct 6 16:37:20 2008 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Mon, 6 Oct 2008 16:37:20 +0200 Subject: [Gambas-user] Pb with Even parity on SerialPort component In-Reply-To: <200810061423.16760.gambas@...1...> References: <200810032017.57474.gambas@...1...> <200810061423.16760.gambas@...1...> Message-ID: I made the modification directly line 402 of tools.c because the 2.0.0 version didn't worked with gb.net from svn :-(( impossible to open serial port error #5. The parity works now perfectly thanks Benoit. 2008/10/6 Benoit Minisini > On lundi 06 octobre 2008, Ga?l Le Hec'H wrote: > > now I remember ;-) > > > > make[5]: entrant dans le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > if /bin/sh ../../libtool --tag=CXX --mode=compile ccache g++ > > -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ > > -I/usr/X11R6/include -D_REENTRANT -I../../share -I../../src/share -pipe > > -Wall -fno-exceptions -Wno-unused-value -fsigned-char -g -Os > > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o > > main.lo main.cpp; \ > > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f > > ".deps/main.Tpo"; exit 1; fi > > ccache g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11/include/ > > -I/usr/lib/qt-3.3.8b/include/ -I/usr/X11R6/include -D_REENTRANT > > -I../../share -I../../src/share -pipe -Wall -fno-exceptions > > -Wno-unused-value -fsigned-char -g -Os -fno-omit-frame-pointer -MT > main.lo > > -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o > > In file included from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >codecvt.h:475, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >locale_facets.h:1533, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/bits/ > >basic_ios.h:44, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ios:5 > >1, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/ostre > >am:45, from > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/itera > >tor:71, from /usr/lib/qt-3.3.8b/include/qvaluelist.h:51, > > from /usr/lib/qt-3.3.8b/include/qmap.h:49, > > from /usr/lib/qt-3.3.8b/include/qmime.h:46, > > from /usr/lib/qt-3.3.8b/include/qevent.h:48, > > from /usr/lib/qt-3.3.8b/include/qobject.h:48, > > from /usr/lib/qt-3.3.8b/include/qwidget.h:46, > > from ../gb.qt.h:29, > > from main.h:27, > > from main.cpp:36: > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h: In member function > `virtual > > std::codecvt_base::result std::codecvt<_InternT, _ExternT, > > std::__enc_traits>::do_unshift(std::__enc_traits&, _ExternT*, _ExternT*, > > _ExternT*&) const': > > > /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../include/c++/3.4.6/i486- > >slackware-linux/bits/codecvt_specializations.h:359: error: no matching > > function for call to `__iconv_adaptor(size_t (&)(void*, char**, size_t*, > > char**, size_t*), void* const&, intptr_t&, intptr_t&, char**&, size_t*&)' > > make[5]: *** [main.lo] Erreur 1 > > make[5]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src/ext ? > > make[4]: *** [all-recursive] Erreur 1 > > make[4]: quittant le r?pertoire ? > > /home/trunk/gambas/2.0/trunk/2.0/gb.qt/src ? > > make[3]: *** [all-recursive] Erreur 1 > > make[3]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[2]: *** [all] Erreur 2 > > make[2]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0/gb.qt > ? > > make[1]: *** [all-recursive] Erreur 1 > > make[1]: quittant le r?pertoire ? /home/trunk/gambas/2.0/trunk/2.0 ? > > make: *** [all] Erreur 2 > > > > i upgraded qt 3.3.6 to 3.3.8 but for gcc :-(( > > > > 2008/10/5 Ga?l Le Hec'H > > > > You can just compile the gb.net component and install it. To do that, just > do > the ./reconf && ./configure && make && make install inside the gb.net > directory. > > All gambas components are actually 'independent' source packages, so you > can > compile each of them independently. I put independent between quotes > because > this is not totally true, as I used symbolic links to share files between > components. But as soon as the entire source package is installed, this is > true. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mj.tararo at ...626... Tue Oct 7 00:16:02 2008 From: mj.tararo at ...626... (mj) Date: Tue, 7 Oct 2008 11:16:02 +1300 Subject: [Gambas-user] Mac Os X installation Message-ID: <3F0B9449-F817-4E7A-83A5-1EF5D5C0F92D@...626...> Can Gambas be installed on Mac OS X 10.4.11?. I been wanting to install it on my laptop powerBook G4. I dowloaded Gambas 2-2.8.2.tar.bz2 and before i could do anything i read this "Gambas should compile. Anyway, it will crash because of bugs in endianness management. I need an ssh access to a PowerPC computer to fix that! " Is there anything i can do from my side?? From gambas at ...1... Tue Oct 7 01:11:17 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Oct 2008 01:11:17 +0200 Subject: [Gambas-user] Mac Os X installation In-Reply-To: <3F0B9449-F817-4E7A-83A5-1EF5D5C0F92D@...626...> References: <3F0B9449-F817-4E7A-83A5-1EF5D5C0F92D@...626...> Message-ID: <200810070111.17185.gambas@...1...> On mardi 07 octobre 2008, mj wrote: > Can Gambas be installed on Mac OS X 10.4.11?. I been wanting to > install it on my laptop powerBook G4. I dowloaded Gambas > 2-2.8.2.tar.bz2 and before i could do anything i read this > > "Gambas should compile. Anyway, it will crash because of bugs in > endianness management. I need an ssh access to a PowerPC computer to > fix that! " > > Is there anything i can do from my side?? > Providing me a permanent or almost permanent ssh access to a PowerPc Mac, with gambas compiled on it, and subversion client installed! Otherwise, I can't debug. Another solution would be asking valgrind authors to implement little endian emulation. Regards, -- Benoit Minisini From joshiggins at ...1601... Mon Oct 6 22:15:39 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 6 Oct 2008 21:15:39 +0100 Subject: [Gambas-user] gambas3 compile problem In-Reply-To: <200810061626.16511.rolf.frogs@...221...> References: <4247f5440809271149u122336den8314a62e1d37125@...627...> <61452b690809271157o62c07bfcu4ac05ebd9a823160@...627...> <4247f5440810060521i726fb593h72fa88ce85c4419f@...627...> <200810061626.16511.rolf.frogs@...221...> Message-ID: <4247f5440810061315p149080b6o7027cba4d7ea928b@...627...> A ha, i forgot about inodes... ran into this problem before whilst messing with quotas. Thanks for the info. On Mon, Oct 6, 2008 at 3:26 PM, Rolf Schmidt wrote: > Hi Joshua, > > > Yes I know but DF shows its wasnt full > > > > > It says here NO SPACE LEFT ON DEVICE !! > > > your disk is full :-) > > Even if df says there is space left, you can run out of inodes, especially > if > you have a large amount of small files or, you use UNIONFS. > > Hope that helps (to understand) > Rolf > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- joshua higgins >>>>>>------ From joshiggins at ...1601... Mon Oct 6 22:15:39 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 6 Oct 2008 21:15:39 +0100 Subject: [Gambas-user] gambas3 compile problem In-Reply-To: <200810061626.16511.rolf.frogs@...221...> References: <4247f5440809271149u122336den8314a62e1d37125@...627...> <61452b690809271157o62c07bfcu4ac05ebd9a823160@...627...> <4247f5440810060521i726fb593h72fa88ce85c4419f@...627...> <200810061626.16511.rolf.frogs@...221...> Message-ID: <4247f5440810061315p149080b6o7027cba4d7ea928b@...627...> A ha, i forgot about inodes... ran into this problem before whilst messing with quotas. Thanks for the info. On Mon, Oct 6, 2008 at 3:26 PM, Rolf Schmidt wrote: > Hi Joshua, > > > Yes I know but DF shows its wasnt full > > > > > It says here NO SPACE LEFT ON DEVICE !! > > > your disk is full :-) > > Even if df says there is space left, you can run out of inodes, especially > if > you have a large amount of small files or, you use UNIONFS. > > Hope that helps (to understand) > Rolf > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- joshua higgins >>>>>>------ From nando_f at ...951... Tue Oct 7 10:04:58 2008 From: nando_f at ...951... (nando) Date: Tue, 7 Oct 2008 04:04:58 -0400 Subject: [Gambas-user] How to lock a file In-Reply-To: <200809262351.57539.gambas@...1...> References: <48340400.5060302@...1740...> <20080926011650.M23549@...951...> <48DD4F24.3040403@...1228...> <200809262351.57539.gambas@...1...> Message-ID: <20081007080238.M50354@...951...> In some applications, I create a folder as a lock. The existance of the folder indicates 'locked' It works very well and is used through Samba to share the lock on both the linux and windows side. -Fernando ---------- Original Message ----------- From: Benoit Minisini To: mailing list for gambas users Sent: Fri, 26 Sep 2008 23:51:57 +0200 Subject: Re: [Gambas-user] How to lock a file > On vendredi 26 septembre 2008, Almanova Sistemi wrote: > > I need to lock the file to avoid writing by another user in multiuser > > environment > > > > Sorry for that, the documentation is completely false. But who wrote it? :-) > > The LOCK instruction does not lock a specific stream not a stream, but instead > use a specific path to create a global system lock. > > You use it this way: > > DIM hFile AS File > > TRY hFile = LOCK "~/lock" > IF ERROR THEN > PRINT "Already locked by something else!" > ELSE > PRINT "Got locked!" > ... > UNLOCK hFile > ENDIF > > Do not rely on the lock file contents. It is truncated to zero byte when the > lock is acquired. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From eilert-sprachen at ...221... Tue Oct 7 10:47:02 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 07 Oct 2008 10:47:02 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <20081007080238.M50354@...951...> References: <48340400.5060302@...1740...> <20080926011650.M23549@...951...> <48DD4F24.3040403@...1228...> <200809262351.57539.gambas@...1...> <20081007080238.M50354@...951...> Message-ID: <48EB2206.4050105@...221...> For my apps in Gambas, I use lockfiles, not folders, to lock a certain file. Experience told me that "sometimes" when two users/processes want to access the same file, these may overlap. So I added an identification method and a time delay in case of locks. This is what it looks like (kinda prototyped): WHILE Exist(theLockFile) THEN OPEN theLockFile FOR READ ... LINE INPUT firstLine CLOSE ... IF firstLine = myOwnName THEN 'old lock file from myself: KILL theLockFile 'may be deleted, then proceed ELSE 'lock file from someone else: WAIT one second WEND 'now first of all, write my own lockfile 'then begin reading the file I want 'finally delete lockfile This is how this looks in practice: WHILE Exist(pfad &/ "klassenbuch.block") OPEN pfad &/ "klassenbuch.block" FOR READ AS #dtnr LINE INPUT #dtnr, t$ CLOSE #dtnr IF t$ = system.User THEN KILL pfad &/ "klassenbuch.block" ELSE WAIT 1 END IF WEND OPEN pfad &/ "klassenbuch.block" FOR WRITE CREATE DIRECT AS #dtnr PRINT #dtnr, system.User CLOSE #dtnr OPEN karteiVerz &/ jg &/ "klassenbuch" FOR READ AS #dtnr and so on. While I am writing this email, I find that this has one big drawback: If the lock file was made by someone else and that app crashed, my program will wait forever for the lockfile to disappear. So one should add a counter, e. g. 5 seconds, to stop waiting. Regards Rolf nando schrieb: > In some applications, I create a folder as a lock. > The existance of the folder indicates 'locked' > It works very well and is used through Samba to share > the lock on both the linux and windows side. > -Fernando > > > ---------- Original Message ----------- > From: Benoit Minisini > To: mailing list for gambas users > Sent: Fri, 26 Sep 2008 23:51:57 +0200 > Subject: Re: [Gambas-user] How to lock a file > >> On vendredi 26 septembre 2008, Almanova Sistemi wrote: >>> I need to lock the file to avoid writing by another user in multiuser >>> environment >>> >> Sorry for that, the documentation is completely false. But who wrote it? :-) >> >> The LOCK instruction does not lock a specific stream not a stream, but instead >> use a specific path to create a global system lock. >> >> You use it this way: >> >> DIM hFile AS File >> >> TRY hFile = LOCK "~/lock" >> IF ERROR THEN >> PRINT "Already locked by something else!" >> ELSE >> PRINT "Got locked!" >> ... >> UNLOCK hFile >> ENDIF >> >> Do not rely on the lock file contents. It is truncated to zero byte when the >> lock is acquired. >> >> Regards, >> >> -- >> Benoit Minisini >> From gambas at ...1... Tue Oct 7 11:19:24 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Oct 2008 11:19:24 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <48EB2206.4050105@...221...> References: <48340400.5060302@...1740...> <20081007080238.M50354@...951...> <48EB2206.4050105@...221...> Message-ID: <200810071119.24753.gambas@...1...> On mardi 07 octobre 2008, Rolf-Werner Eilert wrote: > For my apps in Gambas, I use lockfiles, not folders, to lock a certain > file. Experience told me that "sometimes" when two users/processes want > to access the same file, these may overlap. So I added an identification > method and a time delay in case of locks. This is what it looks like > (kinda prototyped): > > WHILE Exist(theLockFile) THEN > > OPEN theLockFile FOR READ ... > LINE INPUT firstLine > CLOSE ... > > IF firstLine = myOwnName THEN 'old lock file from myself: > KILL theLockFile 'may be deleted, then proceed > > ELSE 'lock file from someone else: > WAIT one second > > WEND > > 'now first of all, write my own lockfile > 'then begin reading the file I want > 'finally delete lockfile > > This is how this looks in practice: > > WHILE Exist(pfad &/ "klassenbuch.block") > OPEN pfad &/ "klassenbuch.block" FOR READ AS #dtnr > LINE INPUT #dtnr, t$ > CLOSE #dtnr > IF t$ = system.User THEN > KILL pfad &/ "klassenbuch.block" > ELSE > WAIT 1 > END IF > WEND > > > OPEN pfad &/ "klassenbuch.block" FOR WRITE CREATE DIRECT AS #dtnr > PRINT #dtnr, system.User > CLOSE #dtnr > > OPEN karteiVerz &/ jg &/ "klassenbuch" FOR READ AS #dtnr > > and so on. While I am writing this email, I find that this has one big > drawback: If the lock file was made by someone else and that app > crashed, my program will wait forever for the lockfile to disappear. So > one should add a counter, e. g. 5 seconds, to stop waiting. > > Regards > > Rolf > So, use the LOCK instruction to create a system-wide mutually exclusive code section! -- Benoit Minisini From gambas at ...1... Tue Oct 7 11:19:24 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Oct 2008 11:19:24 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <48EB2206.4050105@...221...> References: <48340400.5060302@...1740...> <20081007080238.M50354@...951...> <48EB2206.4050105@...221...> Message-ID: <200810071119.24753.gambas@...1...> On mardi 07 octobre 2008, Rolf-Werner Eilert wrote: > For my apps in Gambas, I use lockfiles, not folders, to lock a certain > file. Experience told me that "sometimes" when two users/processes want > to access the same file, these may overlap. So I added an identification > method and a time delay in case of locks. This is what it looks like > (kinda prototyped): > > WHILE Exist(theLockFile) THEN > > OPEN theLockFile FOR READ ... > LINE INPUT firstLine > CLOSE ... > > IF firstLine = myOwnName THEN 'old lock file from myself: > KILL theLockFile 'may be deleted, then proceed > > ELSE 'lock file from someone else: > WAIT one second > > WEND > > 'now first of all, write my own lockfile > 'then begin reading the file I want > 'finally delete lockfile > > This is how this looks in practice: > > WHILE Exist(pfad &/ "klassenbuch.block") > OPEN pfad &/ "klassenbuch.block" FOR READ AS #dtnr > LINE INPUT #dtnr, t$ > CLOSE #dtnr > IF t$ = system.User THEN > KILL pfad &/ "klassenbuch.block" > ELSE > WAIT 1 > END IF > WEND > > > OPEN pfad &/ "klassenbuch.block" FOR WRITE CREATE DIRECT AS #dtnr > PRINT #dtnr, system.User > CLOSE #dtnr > > OPEN karteiVerz &/ jg &/ "klassenbuch" FOR READ AS #dtnr > > and so on. While I am writing this email, I find that this has one big > drawback: If the lock file was made by someone else and that app > crashed, my program will wait forever for the lockfile to disappear. So > one should add a counter, e. g. 5 seconds, to stop waiting. > > Regards > > Rolf > So, use the LOCK instruction to create a system-wide mutually exclusive code section! -- Benoit Minisini From leo_senpao at ...1541... Tue Oct 7 12:55:20 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Tue, 7 Oct 2008 18:55:20 +0800 (SGT) Subject: [Gambas-user] Cell in tableview Message-ID: <387932.353.qm@...1990...> Hello all.... How to hide or disable a cell in tableview? So we can't see or edit that cell. Just a few cells... Not all cells... Thank you.... ___________________________________________________________________________ Dapatkan alamat Email baru Anda! Dapatkan nama yang selalu Anda inginkan sebelum diambil orang lain! http://mail.promotions.yahoo.com/newdomains/id/ From gambas at ...1... Tue Oct 7 13:07:34 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Oct 2008 13:07:34 +0200 Subject: [Gambas-user] Cell in tableview In-Reply-To: <387932.353.qm@...1990...> References: <387932.353.qm@...1990...> Message-ID: <200810071307.34953.gambas@...1...> On mardi 07 octobre 2008, Leo Sendra wrote: > Hello all.... > > How to hide or disable a cell in tableview? > So we can't see or edit that cell. Just a few cells... Not all cells... > > Thank you.... > To prevent editing, just don't call the Edit() method in the Click event. Otherwise, you can't hide or disable a cell, as cells are not objects. Regards, -- Benoit Minisini From wspinto at ...1405... Tue Oct 7 13:42:05 2008 From: wspinto at ...1405... (Wellington de Souza Pinto) Date: Tue, 07 Oct 2008 08:42:05 -0300 Subject: [Gambas-user] Need Help in cretion of control In-Reply-To: References: Message-ID: <1223379725.48eb4b0d44ba8@...1540...> Hi Benoit!!! Any ideia because my MaskComboEdit ComboBox_KeyPress() not show the formated characters? I'm using gb3 in kubuntu 7.04. Reguards, ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! -------------- next part -------------- A non-text attachment was scrubbed... Name: MaskEdit-2_99_tar.gz Type: application/x-gzip-compressed Size: 15251 bytes Desc: not available URL: From nando_f at ...951... Tue Oct 7 16:19:23 2008 From: nando_f at ...951... (nando) Date: Tue, 7 Oct 2008 10:19:23 -0400 Subject: [Gambas-user] How to lock a file In-Reply-To: <48EB2206.4050105@...221...> References: <48340400.5060302@...1740...> <20080926011650.M23549@...951...> <48DD4F24.3040403@...1228...> <200809262351.57539.gambas@...1...> <20081007080238.M50354@...951...> <48EB2206.4050105@...221...> Message-ID: <20081007134952.M80276@...951...> There is a problem with your method. Between the execution of the KILL and the CREATION of the file, multitasking happens and another task could create the file just before the original thread executed the CREATE. In different words, if the first thread lost the CPU just after the KILL command due to multitasking and a second thread began the WHILE condition, the WHILE would not execute because the WHILE condition fails and then the file is CREATED with the user of the second thread. Then, multitasking happens and the second thread loses the CPU and the first thread continues and it will then create the file destroying the second threads information. Anything could happen in a multitasking environment. I use directories because folder creation is a one-step process there isn't time between the two steps for another task to steal the lock in betweem code statements. An example is something like... 'create lock, this can be in a SUB with tje folder name passed in counter=100 '100 loops of 0.1 sec = 10 seconds max to try lock flag = FALSE WHILE flag = FALSE TRY MKDIR "lock-folder-name" IF ERROR THEN 'it failed flag=TRUE error.clear WAIT 0.1 dec counter if counter<=0 then 'you could say the the lock took too long 'you could allow a user choice to retry or blindly continue. break 'we will assume something is locked too long endif else flag=FALSE endif wend 'unlock, this can be a SUB too TRY RMDKR "lock-folder-name" error.clear You don't need to know who has the lock because only a successful lock leads to code writing some important information for the thread that successfully locked. The unlock must follow very shortly thereafter to release the lock and cannot hog the lock. -Fernando ---------- Original Message ----------- From: Rolf-Werner Eilert To: nando_f at ...951..., mailing list for gambas users Sent: Tue, 07 Oct 2008 10:47:02 +0200 Subject: Re: [Gambas-user] How to lock a file > For my apps in Gambas, I use lockfiles, not folders, to lock a certain > file. Experience told me that "sometimes" when two users/processes want > to access the same file, these may overlap. So I added an identification > method and a time delay in case of locks. This is what it looks like > (kinda prototyped): > > WHILE Exist(theLockFile) THEN > > OPEN theLockFile FOR READ ... > LINE INPUT firstLine > CLOSE ... > > IF firstLine = myOwnName THEN 'old lock file from myself: > KILL theLockFile 'may be deleted, then proceed > > ELSE 'lock file from someone else: > WAIT one second > > WEND > > 'now first of all, write my own lockfile > 'then begin reading the file I want > 'finally delete lockfile > > This is how this looks in practice: > > WHILE Exist(pfad &/ "klassenbuch.block") > OPEN pfad &/ "klassenbuch.block" FOR READ AS #dtnr > LINE INPUT #dtnr, t$ > CLOSE #dtnr > IF t$ = system.User THEN > KILL pfad &/ "klassenbuch.block" > ELSE > WAIT 1 > END IF > WEND > > OPEN pfad &/ "klassenbuch.block" FOR WRITE CREATE DIRECT AS #dtnr > PRINT #dtnr, system.User > CLOSE #dtnr > > OPEN karteiVerz &/ jg &/ "klassenbuch" FOR READ AS #dtnr > > and so on. While I am writing this email, I find that this has one big > drawback: If the lock file was made by someone else and that app > crashed, my program will wait forever for the lockfile to disappear. So > one should add a counter, e. g. 5 seconds, to stop waiting. > > Regards > > Rolf > > nando schrieb: > > In some applications, I create a folder as a lock. > > The existance of the folder indicates 'locked' > > It works very well and is used through Samba to share > > the lock on both the linux and windows side. > > -Fernando > > > > > > ---------- Original Message ----------- > > From: Benoit Minisini > > To: mailing list for gambas users > > Sent: Fri, 26 Sep 2008 23:51:57 +0200 > > Subject: Re: [Gambas-user] How to lock a file > > > >> On vendredi 26 septembre 2008, Almanova Sistemi wrote: > >>> I need to lock the file to avoid writing by another user in multiuser > >>> environment > >>> > >> Sorry for that, the documentation is completely false. But who wrote it? :-) > >> > >> The LOCK instruction does not lock a specific stream not a stream, but instead > >> use a specific path to create a global system lock. > >> > >> You use it this way: > >> > >> DIM hFile AS File > >> > >> TRY hFile = LOCK "~/lock" > >> IF ERROR THEN > >> PRINT "Already locked by something else!" > >> ELSE > >> PRINT "Got locked!" > >> ... > >> UNLOCK hFile > >> ENDIF > >> > >> Do not rely on the lock file contents. It is truncated to zero byte when the > >> lock is acquired. > >> > >> Regards, > >> > >> -- > >> Benoit Minisini > >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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... Tue Oct 7 16:51:21 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Oct 2008 16:51:21 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <20081007134952.M80276@...951...> References: <48340400.5060302@...1740...> <48EB2206.4050105@...221...> <20081007134952.M80276@...951...> Message-ID: <200810071651.21481.gambas@...1...> On mardi 07 octobre 2008, nando wrote: > There is a problem with your method. > Between the execution of the KILL and the CREATION of the file, > multitasking happens and another task could create the file just before > the original thread executed the CREATE. > > In different words, if the first thread lost the CPU just after the KILL > command due to multitasking and a second thread began the WHILE condition, > the WHILE would not execute because the WHILE condition fails and > then the file is CREATED with the user of the second thread. > Then, multitasking happens and the second thread loses the CPU and the > first thread continues and it will then create the file destroying the > second threads information. Anything could happen in a multitasking > environment. > > I use directories because folder creation is a one-step process there isn't > time between the two steps for > another task to steal the lock in betweem code statements. > An example is something like... > > 'create lock, this can be in a SUB with tje folder name passed in > > counter=100 '100 loops of 0.1 sec = 10 seconds max to try lock > flag = FALSE > WHILE flag = FALSE > TRY MKDIR "lock-folder-name" > IF ERROR THEN 'it failed > flag=TRUE > error.clear > WAIT 0.1 > dec counter > if counter<=0 then > 'you could say the the lock took too long > 'you could allow a user choice to retry or blindly continue. > break 'we will assume something is locked too long > endif > else > flag=FALSE > endif > wend > > > 'unlock, this can be a SUB too > TRY RMDKR "lock-folder-name" > error.clear > > You don't need to know who has the lock because only a successful lock > leads to code writing some important information for the thread that > successfully locked. The unlock must follow very shortly thereafter to > release the lock and cannot hog the lock. > > -Fernando > Or better method: use the LOCK / UNLOCK instruction! -- Benoit Minisini From eilert-sprachen at ...221... Tue Oct 7 17:30:52 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 07 Oct 2008 17:30:52 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <20081007134952.M80276@...951...> References: <48340400.5060302@...1740...> <20080926011650.M23549@...951...> <48DD4F24.3040403@...1228...> <200809262351.57539.gambas@...1...> <20081007080238.M50354@...951...> <48EB2206.4050105@...221...> <20081007134952.M80276@...951...> Message-ID: <48EB80AC.80708@...221...> nando schrieb: > There is a problem with your method. Not only one :-) > Between the execution of the KILL and the CREATION of the file, > multitasking happens and another task could create the file just before > the original thread executed the CREATE. Ah - yes. But never happend yet. > > In different words, if the first thread lost the CPU just after the KILL command > due to multitasking and a second thread began the WHILE condition, > the WHILE would not execute because the WHILE condition fails and > then the file is CREATED with the user of the second thread. Ok, yes, but only if system load is so high that there is really some timespan between them. But might happen one day, you're right. > Then, multitasking happens and the second thread loses the CPU and the first > thread continues and it will then create the file destroying the second > threads information. Anything could happen in a multitasking environment. > > I use directories because folder creation is a one-step process there isn't time between > the two steps for > another task to steal the lock in betweem code statements. > An example is something like... > > 'create lock, this can be in a SUB with tje folder name passed in > > counter=100 '100 loops of 0.1 sec = 10 seconds max to try lock > flag = FALSE > WHILE flag = FALSE > TRY MKDIR "lock-folder-name" > IF ERROR THEN 'it failed > flag=TRUE > error.clear > WAIT 0.1 > dec counter > if counter<=0 then > 'you could say the the lock took too long > 'you could allow a user choice to retry or blindly continue. > break 'we will assume something is locked too long > endif > else > flag=FALSE > endif > wend > > > 'unlock, this can be a SUB too > TRY RMDKR "lock-folder-name" > error.clear > > You don't need to know who has the lock because only a successful lock > leads to code writing some important information for the thread that successfully > locked. The unlock must follow very shortly thereafter to release the lock > and cannot hog the lock. Ok, but instead of using TRY MKDIR why couldn't one use TRY OPEN ...? Regards Rolf > > -Fernando > > > ---------- Original Message ----------- > From: Rolf-Werner Eilert > To: nando_f at ...951..., mailing list for gambas users > > Sent: Tue, 07 Oct 2008 10:47:02 +0200 > Subject: Re: [Gambas-user] How to lock a file > >> For my apps in Gambas, I use lockfiles, not folders, to lock a certain >> file. Experience told me that "sometimes" when two users/processes want >> to access the same file, these may overlap. So I added an identification >> method and a time delay in case of locks. This is what it looks like >> (kinda prototyped): >> >> WHILE Exist(theLockFile) THEN >> >> OPEN theLockFile FOR READ ... >> LINE INPUT firstLine >> CLOSE ... >> >> IF firstLine = myOwnName THEN 'old lock file from myself: >> KILL theLockFile 'may be deleted, then proceed >> >> ELSE 'lock file from someone else: >> WAIT one second >> >> WEND >> >> 'now first of all, write my own lockfile >> 'then begin reading the file I want >> 'finally delete lockfile >> >> This is how this looks in practice: >> >> WHILE Exist(pfad &/ "klassenbuch.block") >> OPEN pfad &/ "klassenbuch.block" FOR READ AS #dtnr >> LINE INPUT #dtnr, t$ >> CLOSE #dtnr >> IF t$ = system.User THEN >> KILL pfad &/ "klassenbuch.block" >> ELSE >> WAIT 1 >> END IF >> WEND >> >> OPEN pfad &/ "klassenbuch.block" FOR WRITE CREATE DIRECT AS #dtnr >> PRINT #dtnr, system.User >> CLOSE #dtnr >> >> OPEN karteiVerz &/ jg &/ "klassenbuch" FOR READ AS #dtnr >> >> and so on. While I am writing this email, I find that this has one big >> drawback: If the lock file was made by someone else and that app >> crashed, my program will wait forever for the lockfile to disappear. So >> one should add a counter, e. g. 5 seconds, to stop waiting. >> >> Regards >> >> Rolf >> >> nando schrieb: >>> In some applications, I create a folder as a lock. >>> The existance of the folder indicates 'locked' >>> It works very well and is used through Samba to share >>> the lock on both the linux and windows side. >>> -Fernando >>> >>> >>> ---------- Original Message ----------- >>> From: Benoit Minisini >>> To: mailing list for gambas users >>> Sent: Fri, 26 Sep 2008 23:51:57 +0200 >>> Subject: Re: [Gambas-user] How to lock a file >>> >>>> On vendredi 26 septembre 2008, Almanova Sistemi wrote: >>>>> I need to lock the file to avoid writing by another user in multiuser >>>>> environment >>>>> >>>> Sorry for that, the documentation is completely false. But who wrote it? :-) >>>> >>>> The LOCK instruction does not lock a specific stream not a stream, but instead >>>> use a specific path to create a global system lock. >>>> >>>> You use it this way: >>>> >>>> DIM hFile AS File >>>> >>>> TRY hFile = LOCK "~/lock" >>>> IF ERROR THEN >>>> PRINT "Already locked by something else!" >>>> ELSE >>>> PRINT "Got locked!" >>>> ... >>>> UNLOCK hFile >>>> ENDIF >>>> >>>> Do not rely on the lock file contents. It is truncated to zero byte when the >>>> lock is acquired. >>>> >>>> Regards, >>>> >>>> -- >>>> Benoit Minisini >>>> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Tue Oct 7 17:25:56 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 07 Oct 2008 17:25:56 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <200810071651.21481.gambas@...1...> References: <48340400.5060302@...1740...> <48EB2206.4050105@...221...> <20081007134952.M80276@...951...> <200810071651.21481.gambas@...1...> Message-ID: <48EB7F84.5020408@...221...> Benoit Minisini schrieb: > On mardi 07 octobre 2008, nando wrote: >> There is a problem with your method. >> Between the execution of the KILL and the CREATION of the file, >> multitasking happens and another task could create the file just before >> the original thread executed the CREATE. >> >> In different words, if the first thread lost the CPU just after the KILL >> command due to multitasking and a second thread began the WHILE condition, >> the WHILE would not execute because the WHILE condition fails and >> then the file is CREATED with the user of the second thread. >> Then, multitasking happens and the second thread loses the CPU and the >> first thread continues and it will then create the file destroying the >> second threads information. Anything could happen in a multitasking >> environment. >> >> I use directories because folder creation is a one-step process there isn't >> time between the two steps for >> another task to steal the lock in betweem code statements. >> An example is something like... >> >> 'create lock, this can be in a SUB with tje folder name passed in >> >> counter=100 '100 loops of 0.1 sec = 10 seconds max to try lock >> flag = FALSE >> WHILE flag = FALSE >> TRY MKDIR "lock-folder-name" >> IF ERROR THEN 'it failed >> flag=TRUE >> error.clear >> WAIT 0.1 >> dec counter >> if counter<=0 then >> 'you could say the the lock took too long >> 'you could allow a user choice to retry or blindly continue. >> break 'we will assume something is locked too long >> endif >> else >> flag=FALSE >> endif >> wend >> >> >> 'unlock, this can be a SUB too >> TRY RMDKR "lock-folder-name" >> error.clear >> >> You don't need to know who has the lock because only a successful lock >> leads to code writing some important information for the thread that >> successfully locked. The unlock must follow very shortly thereafter to >> release the lock and cannot hog the lock. >> >> -Fernando >> > > Or better method: use the LOCK / UNLOCK instruction! > Yes Benoit, we know, but this is hobby :-) just having fun with an own algorithm... But I've got a question about LOCK. I didn't know it existed. A long time ago when I started with Linux, I learned that Linux doesn't have a file locking mechanism. Isn't that true anymore? Never heard or read about it in all these years. After all, a lot of programs still use lock files, and for instance there is a discussion about Firefox 3 not running correctly on terminal servers because it's got a new file locking method which blocks more than 1 users. Having a first glance at the description of LOCK, there is one thing which leaves at least a small pain in the neck: You have to open the stream before being able to try a lock. That leaves the impression that without checking the lock, you can read/write the file anyway. Two questions: Is this LOCK just a flag? (Which I can obey or not just like I feel) Or does it really prevent any other access (or at least writing into the file)? And what happens if my program "forgets" Unlocking it? Will the file stay locked (file system wide - until reboot) or will the Lock end automagically when I close the file or when the process ends that opened the stream? (Maybe it would be nice to insert such information into the help, too) Regards Rolf From gambas at ...1... Tue Oct 7 17:58:07 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Oct 2008 17:58:07 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <48EB7F84.5020408@...221...> References: <48340400.5060302@...1740...> <200810071651.21481.gambas@...1...> <48EB7F84.5020408@...221...> Message-ID: <200810071758.07848.gambas@...1...> On mardi 07 octobre 2008, Rolf-Werner Eilert wrote: > Benoit Minisini schrieb: > > On mardi 07 octobre 2008, nando wrote: > >> There is a problem with your method. > >> Between the execution of the KILL and the CREATION of the file, > >> multitasking happens and another task could create the file just before > >> the original thread executed the CREATE. > >> > >> In different words, if the first thread lost the CPU just after the KILL > >> command due to multitasking and a second thread began the WHILE > >> condition, the WHILE would not execute because the WHILE condition fails > >> and then the file is CREATED with the user of the second thread. > >> Then, multitasking happens and the second thread loses the CPU and the > >> first thread continues and it will then create the file destroying the > >> second threads information. Anything could happen in a multitasking > >> environment. > >> > >> I use directories because folder creation is a one-step process there > >> isn't time between the two steps for > >> another task to steal the lock in betweem code statements. > >> An example is something like... > >> > >> 'create lock, this can be in a SUB with tje folder name passed in > >> > >> counter=100 '100 loops of 0.1 sec = 10 seconds max to try lock > >> flag = FALSE > >> WHILE flag = FALSE > >> TRY MKDIR "lock-folder-name" > >> IF ERROR THEN 'it failed > >> flag=TRUE > >> error.clear > >> WAIT 0.1 > >> dec counter > >> if counter<=0 then > >> 'you could say the the lock took too long > >> 'you could allow a user choice to retry or blindly continue. > >> break 'we will assume something is locked too long > >> endif > >> else > >> flag=FALSE > >> endif > >> wend > >> > >> > >> 'unlock, this can be a SUB too > >> TRY RMDKR "lock-folder-name" > >> error.clear > >> > >> You don't need to know who has the lock because only a successful lock > >> leads to code writing some important information for the thread that > >> successfully locked. The unlock must follow very shortly thereafter to > >> release the lock and cannot hog the lock. > >> > >> -Fernando > > > > Or better method: use the LOCK / UNLOCK instruction! > > Yes Benoit, we know, but this is hobby :-) just having fun with an own > algorithm... > > > But I've got a question about LOCK. I didn't know it existed. A long > time ago when I started with Linux, I learned that Linux doesn't have a > file locking mechanism. Isn't that true anymore? Never heard or read > about it in all these years. > > After all, a lot of programs still use lock files, and for instance > there is a discussion about Firefox 3 not running correctly on terminal > servers because it's got a new file locking method which blocks more > than 1 users. > > Having a first glance at the description of LOCK, there is one thing > which leaves at least a small pain in the neck: You have to open the > stream before being able to try a lock. That leaves the impression that > without checking the lock, you can read/write the file anyway. Two > questions: > > Is this LOCK just a flag? (Which I can obey or not just like I feel) Or > does it really prevent any other access (or at least writing into the > file)? > > And what happens if my program "forgets" Unlocking it? Will the file > stay locked (file system wide - until reboot) or will the Lock end > automagically when I close the file or when the process ends that opened > the stream? > > (Maybe it would be nice to insert such information into the help, too) > > Regards > > Rolf > The documentation you read is false and out of date. Look at the updated documentation in the wiki. I cannot say more than what I already wrote there: LOCK uses a file to create a system-wide global lock. Without using a file, it couldn't be system-wide. It actually uses the lockf() POSIX file lock routine to lock the file so that only one process at a time can acquire the lock. The contents of the underlying file is not important. But do not write in it, as acquiring the lock automatically voids the file! LOCK returns a Stream object that you use to UNLOCK the file. And halting the process automatically releases the lock - Important feature! I hope I have shown that LOCK is useful :-) Regards, -- Benoit Minisini From m0e.lnx at ...626... Tue Oct 7 20:18:32 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Tue, 7 Oct 2008 13:18:32 -0500 Subject: [Gambas-user] Feature request for Message() Message-ID: <1f1e8c1b0810071118u7e2c80f7yaa6f1111b8c12acd@...627...> I'd like to see a way to modify the message's title when using the Message() function to display a message. Maybe it should default to the project title as it does now, but offer an option to change it From m0e.lnx at ...626... Tue Oct 7 21:32:25 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Tue, 7 Oct 2008 14:32:25 -0500 Subject: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event Message-ID: <1f1e8c1b0810071232o2862b8e3gcdb4e6ef21412cb3@...627...> I have a really long list in a lisbox. I'd like to make it so when I press "s" on the keyboard, it jumps to the first item whose text starts with an "s" or any other letter for that matter. Can someone suggest a way to do this? From gambas at ...1... Tue Oct 7 23:53:03 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Oct 2008 23:53:03 +0200 Subject: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event In-Reply-To: <1f1e8c1b0810071232o2862b8e3gcdb4e6ef21412cb3@...627...> References: <1f1e8c1b0810071232o2862b8e3gcdb4e6ef21412cb3@...627...> Message-ID: <200810072353.03902.gambas@...1...> On mardi 07 octobre 2008, M0E Lnx wrote: > I have a really long list in a lisbox. I'd like to make it so when I > press "s" on the keyboard, it jumps to the first item whose text > starts with an "s" or any other letter for that matter. > > Can someone suggest a way to do this? > Yes, Qt does that by default, but not GTK+. Again, I need to implement that feature in the gb.gtk component. Regards, -- Benoit Minisini From leo_senpao at ...1541... Wed Oct 8 05:14:20 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Wed, 8 Oct 2008 11:14:20 +0800 (SGT) Subject: [Gambas-user] Ask About Focus of object Message-ID: <310481.8756.qm@...1991...> As we know, we can move a focus to another object by using tab button and down/up arrow button. By using enabled property (change the value to false), we can disable a focusing to a object. I want to disable focus to a object but I don't want this object has been disabled (enabled = true). For example, there is an object. This object's enabled property is true. But, I can't use a tab button or down/up arrow button to get focus on it. Is it possible? If yes, how can I do it??? Thanks ___________________________________________________________________________ Nama baru untuk Anda! Dapatkan nama yang selalu Anda inginkan di domain baru @ymail dan @rocketmail. Cepat sebelum diambil orang lain! http://mail.promotions.yahoo.com/newdomains/id/ From doriano.blengino at ...1909... Wed Oct 8 07:19:24 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Wed, 08 Oct 2008 07:19:24 +0200 Subject: [Gambas-user] Ask About Focus of object In-Reply-To: <310481.8756.qm@...1991...> References: <310481.8756.qm@...1991...> Message-ID: <48EC42DC.1090902@...1909...> Leo Sendra ha scritto: > As we know, we can move a focus to another object by using tab button and down/up arrow button. > By using enabled property (change the value to false), we can disable a focusing to a object. > I want to disable focus to a object but I don't want this object has been disabled (enabled = true). > > For example, there is an object. This object's enabled property is true. But, I can't use a tab button or down/up arrow button to get focus on it. > Is it possible? If yes, how can I do it??? > Sometimes I use the GotFocus event of the object I don't want to get focused ("public sub ManipulatedControl_GotFocus"). In this event I set the focus to another control (othercontrol.Setocus). For very simple situations it does smoothly. This method is indeed a hack: if you click this "manipulated" control, it won't get focus; if you tab-travel forward and back, one of the two directions won't work; so you have to use global variables to keep trace of the current status, if you want more complete control over the focus. Cheers, Doriano From doriano.blengino at ...1909... Wed Oct 8 07:40:03 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Wed, 08 Oct 2008 07:40:03 +0200 Subject: [Gambas-user] How to know if a deletion from database succeded? Message-ID: <48EC47B3.40601@...1909...> In my program I have to delete some records from a table (to rewrite them just after). If I issue something like: res = db.Exec("delete from lotti where tcaus=2 and numfat=25") how can I know that the deletion has been executed without errors? Has the "res" variable any meaning after a deletion, or a error is raised in case of unsuccessful deletion? Thanks. From eilert-sprachen at ...221... Wed Oct 8 11:45:31 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 08 Oct 2008 11:45:31 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <200810071758.07848.gambas@...1...> References: <48340400.5060302@...1740...> <200810071651.21481.gambas@...1...> <48EB7F84.5020408@...221...> <200810071758.07848.gambas@...1...> Message-ID: <48EC813B.7040307@...221...> Benoit Minisini schrieb: > On mardi 07 octobre 2008, Rolf-Werner Eilert wrote: >> Benoit Minisini schrieb: >>> On mardi 07 octobre 2008, nando wrote: >>>> There is a problem with your method. >>>> Between the execution of the KILL and the CREATION of the file, >>>> multitasking happens and another task could create the file just before >>>> the original thread executed the CREATE. >>>> >>>> In different words, if the first thread lost the CPU just after the KILL >>>> command due to multitasking and a second thread began the WHILE >>>> condition, the WHILE would not execute because the WHILE condition fails >>>> and then the file is CREATED with the user of the second thread. >>>> Then, multitasking happens and the second thread loses the CPU and the >>>> first thread continues and it will then create the file destroying the >>>> second threads information. Anything could happen in a multitasking >>>> environment. >>>> >>>> I use directories because folder creation is a one-step process there >>>> isn't time between the two steps for >>>> another task to steal the lock in betweem code statements. >>>> An example is something like... >>>> >>>> 'create lock, this can be in a SUB with tje folder name passed in >>>> >>>> counter=100 '100 loops of 0.1 sec = 10 seconds max to try lock >>>> flag = FALSE >>>> WHILE flag = FALSE >>>> TRY MKDIR "lock-folder-name" >>>> IF ERROR THEN 'it failed >>>> flag=TRUE >>>> error.clear >>>> WAIT 0.1 >>>> dec counter >>>> if counter<=0 then >>>> 'you could say the the lock took too long >>>> 'you could allow a user choice to retry or blindly continue. >>>> break 'we will assume something is locked too long >>>> endif >>>> else >>>> flag=FALSE >>>> endif >>>> wend >>>> >>>> >>>> 'unlock, this can be a SUB too >>>> TRY RMDKR "lock-folder-name" >>>> error.clear >>>> >>>> You don't need to know who has the lock because only a successful lock >>>> leads to code writing some important information for the thread that >>>> successfully locked. The unlock must follow very shortly thereafter to >>>> release the lock and cannot hog the lock. >>>> >>>> -Fernando >>> Or better method: use the LOCK / UNLOCK instruction! >> Yes Benoit, we know, but this is hobby :-) just having fun with an own >> algorithm... >> >> >> But I've got a question about LOCK. I didn't know it existed. A long >> time ago when I started with Linux, I learned that Linux doesn't have a >> file locking mechanism. Isn't that true anymore? Never heard or read >> about it in all these years. >> >> After all, a lot of programs still use lock files, and for instance >> there is a discussion about Firefox 3 not running correctly on terminal >> servers because it's got a new file locking method which blocks more >> than 1 users. >> >> Having a first glance at the description of LOCK, there is one thing >> which leaves at least a small pain in the neck: You have to open the >> stream before being able to try a lock. That leaves the impression that >> without checking the lock, you can read/write the file anyway. Two >> questions: >> >> Is this LOCK just a flag? (Which I can obey or not just like I feel) Or >> does it really prevent any other access (or at least writing into the >> file)? >> >> And what happens if my program "forgets" Unlocking it? Will the file >> stay locked (file system wide - until reboot) or will the Lock end >> automagically when I close the file or when the process ends that opened >> the stream? >> >> (Maybe it would be nice to insert such information into the help, too) >> >> Regards >> >> Rolf >> Thank you Benoit for your answer! Now I tried around with it a bit and tested the example from the Wiki, and there are some questions left: > > The documentation you read is false and out of date. Look at the updated > documentation in the wiki. > > I cannot say more than what I already wrote there: > > LOCK uses a file to create a system-wide global lock. Without using a file, it > couldn't be system-wide. Alright, but it doesn't delete the lock-file with UNLOCK, and the lock-file has standard rights rw-r--r-- (644), so no other user than the one who has created it should be able to delete it. Up to now, I just tested it on my own account with a file from my own, but I would be surprised if this mechanism made an exception from such basic rules here. DIM hLock AS Stream ' Try to acquire the lock TRY hLock = LOCK "~/my-lock" IF ERROR THEN PRINT "Locked is already acquired. Try again later." RETURN ENDIF ' File is locked, you can do the job now! ... ' Do not forget to release the lock UNLOCK hLock The most important question here is: What file does this lock-file lock (or: what file does it refer to)? But then: > > It actually uses the lockf() POSIX file lock routine to lock the file so that > only one process at a time can acquire the lock. Browsing through the descriptions of lockf() and fcntl() in the internet I found there are two different ways of implementation: mandatory and advisory. From my first tests here I assume that you chose advisory, is that correct? This would mean, your implementation doesn't refer to a specific file but can be just set or unset as it is used from time to time by the specific Gambas application, but it doesn't have any effect on other apps accessing the locked file. Am I right here? > > The contents of the underlying file is not important. But do not write in it, > as acquiring the lock automatically voids the file! > > LOCK returns a Stream object that you use to UNLOCK the file. > > And halting the process automatically releases the lock - Important feature! But the lock-file doesn't disappear nor are its rights changed - so how is it unlocked? > > I hope I have shown that LOCK is useful :-) Oh yes, I never doubted that, but I have to know how it works to be able to use it properly :-) Regards Rolf From m0e.lnx at ...626... Wed Oct 8 14:43:26 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Wed, 8 Oct 2008 07:43:26 -0500 Subject: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event In-Reply-To: <200810072353.03902.gambas@...1...> References: <1f1e8c1b0810071232o2862b8e3gcdb4e6ef21412cb3@...627...> <200810072353.03902.gambas@...1...> Message-ID: <1f1e8c1b0810080543y20409fabmf49d5e73573f7e7a@...627...> is there a way to code it in my key_release event? On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini wrote: > On mardi 07 octobre 2008, M0E Lnx wrote: >> I have a really long list in a lisbox. I'd like to make it so when I >> press "s" on the keyboard, it jumps to the first item whose text >> starts with an "s" or any other letter for that matter. >> >> Can someone suggest a way to do this? >> > > Yes, Qt does that by default, but not GTK+. Again, I need to implement that > feature in the gb.gtk component. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From doriano.blengino at ...1909... Wed Oct 8 13:34:05 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Wed, 08 Oct 2008 13:34:05 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <48EC813B.7040307@...221...> References: <48340400.5060302@...1740...> <200810071651.21481.gambas@...1...> <48EB7F84.5020408@...221...> <200810071758.07848.gambas@...1...> <48EC813B.7040307@...221...> Message-ID: <48EC9AAD.6070306@...1909...> Rolf-Werner Eilert ha scritto: > > Alright, but it doesn't delete the lock-file with UNLOCK, and the > lock-file has standard rights rw-r--r-- (644), so no other user than the > one who has created it should be able to delete it. Up to now, I just > tested it on my own account with a file from my own, but I would be > surprised if this mechanism made an exception from such basic rules here. > Be aware - to delete a file you don't need permission to write to it; you need permission to write the directory where the file resides... cheers, Doriano From eilert-sprachen at ...221... Wed Oct 8 16:56:29 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 08 Oct 2008 16:56:29 +0200 Subject: [Gambas-user] What's wrong here? (Drawing an image) Message-ID: <48ECCA1D.8030802@...221...> Hi folks, I'm slightly confused - this was ok in Gambas1, but in Gambas2 it doesn't want to run. Here is an excerpt: DIM bild AS NEW image bild.Load(datei$) breite = bild.Width What I get here is "0", but no error. I checked it and even changed the file from BMP to PNG to see if it was a matter of file format, but I always get 0. What's wrong with this code now? I need the image's width to stretch it... Thanks for all hints. Rolf From eilert-sprachen at ...221... Wed Oct 8 17:31:45 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 08 Oct 2008 17:31:45 +0200 Subject: [Gambas-user] How to lock a file In-Reply-To: <48EC9AAD.6070306@...1909...> References: <48340400.5060302@...1740...> <200810071651.21481.gambas@...1...> <48EB7F84.5020408@...221...> <200810071758.07848.gambas@...1...> <48EC813B.7040307@...221...> <48EC9AAD.6070306@...1909...> Message-ID: <48ECD261.3020809@...221...> Doriano Blengino schrieb: > Rolf-Werner Eilert ha scritto: >> Alright, but it doesn't delete the lock-file with UNLOCK, and the >> lock-file has standard rights rw-r--r-- (644), so no other user than the >> one who has created it should be able to delete it. Up to now, I just >> tested it on my own account with a file from my own, but I would be >> surprised if this mechanism made an exception from such basic rules here. >> > Be aware - to delete a file you don't need permission to write to it; > you need permission to write the directory where the file resides... > > cheers, > Doriano > Oooops - yes :-) Of course, that would mean, the next process of another user could delete it and set a lock-file with this user's rights. I tend to forget this... Thank you Rolf From eilert-sprachen at ...221... Wed Oct 8 17:33:47 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 08 Oct 2008 17:33:47 +0200 Subject: [Gambas-user] Where is Font.Resolution? Message-ID: <48ECD2DB.5050203@...221...> Another question: In Gambas1, there was Font.Resolution. I used it for scaling things. In Gambas2, it doesn't exist anymore. Is there a replacement? Regards Rolf From klaine8 at ...626... Wed Oct 8 18:30:08 2008 From: klaine8 at ...626... (Kari Laine) Date: Wed, 8 Oct 2008 19:30:08 +0300 Subject: [Gambas-user] gb.db Message-ID: <61452b690810080930w4f9cd73bif66bf37d62ba4412@...627...> Hi, I am writing a test program and I am little stuck with the big fields in gb.db. Could someone tell me please? what type I define to use the following MySQL fields? VARCHAR(*M*), VARBINARY(*M*) *L* + 1 bytes if column values require 0 ? 255 bytes, *L* + 2 bytes if values may require more than 255 bytes TINYBLOB, TINYTEXT *L* + 1 bytes, where *L* < 28 BLOB, TEXT *L* + 2 bytes, where *L* < 216 MEDIUMBLOB, MEDIUMTEXT *L* + 3 bytes, where *L* < 224 LONGBLOB, LONGTEXT *L* + 4 bytes, where *L* < 232 Best Regards Kari Laine From david_villalobos_c at ...43... Wed Oct 8 18:45:43 2008 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Wed, 8 Oct 2008 09:45:43 -0700 (PDT) Subject: [Gambas-user] gb.db Message-ID: <322879.32460.qm@...1782...> Hi, maybe use gb.db.mysql. Regards -- David ----- Original Message ---- From: Kari Laine To: mailing list for gambas users Sent: Wednesday, October 8, 2008 10:30:08 AM Subject: [Gambas-user] gb.db Hi, I am writing a test program and I am little stuck with the big fields in gb.db. Could someone tell me please? what type I define to use the following MySQL fields? VARCHAR(*M*), VARBINARY(*M*) *L* + 1 bytes if column values require 0 ? 255 bytes, *L* + 2 bytes if values may require more than 255 bytes TINYBLOB, TINYTEXT *L* + 1 bytes, where *L* < 28 BLOB, TEXT *L* + 2 bytes, where *L* < 216 MEDIUMBLOB, MEDIUMTEXT *L* + 3 bytes, where *L* < 224 LONGBLOB, LONGTEXT *L* + 4 bytes, where *L* < 232 Best Regards Kari Laine ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From david_villalobos_c at ...43... Wed Oct 8 19:01:04 2008 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Wed, 8 Oct 2008 10:01:04 -0700 (PDT) Subject: [Gambas-user] Autocomplete Message-ID: <83465.41309.qm@...1782...> Hi, Benoit, how did you implement the autocomplete feature? Any idea? Regards. -- David From gambas at ...1... Wed Oct 8 19:27:53 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Oct 2008 19:27:53 +0200 Subject: [Gambas-user] What's wrong here? (Drawing an image) In-Reply-To: <48ECCA1D.8030802@...221...> References: <48ECCA1D.8030802@...221...> Message-ID: <200810081927.53803.gambas@...1...> On mercredi 08 octobre 2008, Rolf-Werner Eilert wrote: > Hi folks, > > I'm slightly confused - this was ok in Gambas1, but in Gambas2 it > doesn't want to run. Here is an excerpt: > > DIM bild AS NEW image > > bild.Load(datei$) > > breite = bild.Width > > What I get here is "0", but no error. I checked it and even changed the > file from BMP to PNG to see if it was a matter of file format, but I > always get 0. > > What's wrong with this code now? > > I need the image's width to stretch it... > > Thanks for all hints. > > Rolf > Load() is now a static method that returns the loaded image. You must do: bild = Image.Load(datei$) Regards, -- Benoit Minisini From gambas at ...1... Wed Oct 8 19:30:41 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Oct 2008 19:30:41 +0200 Subject: [Gambas-user] gb.db In-Reply-To: <61452b690810080930w4f9cd73bif66bf37d62ba4412@...627...> References: <61452b690810080930w4f9cd73bif66bf37d62ba4412@...627...> Message-ID: <200810081930.41259.gambas@...1...> On mercredi 08 octobre 2008, Kari Laine wrote: > Hi, > > I am writing a test program and I am little stuck with the big fields in > gb.db. Could someone tell me please? > > what type I define to use the following MySQL fields? > > VARCHAR(*M*), VARBINARY(*M*) *L* + 1 bytes if column values require 0 ? 255 > bytes, *L* + 2 bytes if values may require more than 255 bytes > TINYBLOB, TINYTEXT *L* + 1 bytes, where *L* < 28 BLOB, TEXT *L* + 2 bytes, > where *L* < 216 > MEDIUMBLOB, MEDIUMTEXT *L* + 3 bytes, where *L* < 224 > LONGBLOB, LONGTEXT *L* + 4 bytes, where *L* < 232 > > > > Best Regards > Kari Laine There is a document about that on the wiki named "database datatype mapping". Regards, -- Benoit Minisini From gambas at ...1... Wed Oct 8 19:36:19 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Oct 2008 19:36:19 +0200 Subject: [Gambas-user] Where is Font.Resolution? In-Reply-To: <48ECD2DB.5050203@...221...> References: <48ECD2DB.5050203@...221...> Message-ID: <200810081936.19988.gambas@...1...> On mercredi 08 octobre 2008, Rolf-Werner Eilert wrote: > Another question: > > In Gambas1, there was Font.Resolution. I used it for scaling things. In > Gambas2, it doesn't exist anymore. > > Is there a replacement? > > Regards > > Rolf > Desktop.Resolution (more logical name) -- Benoit Minisini From gambas at ...1... Wed Oct 8 19:36:52 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Oct 2008 19:36:52 +0200 Subject: [Gambas-user] Autocomplete In-Reply-To: <83465.41309.qm@...1782...> References: <83465.41309.qm@...1782...> Message-ID: <200810081936.52531.gambas@...1...> On mercredi 08 octobre 2008, David Villalobos Cambronero wrote: > Hi, Benoit, how did you implement the autocomplete feature? > > Any idea? > > Regards. > > > -- > David > Maybe you could ask a less general question? Otherwise I can answer "elbow grease" :-) -- Benoit Minisini From david_villalobos_c at ...43... Wed Oct 8 19:51:45 2008 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Wed, 8 Oct 2008 10:51:45 -0700 (PDT) Subject: [Gambas-user] Autocomplete Message-ID: <919578.28246.qm@...1670...> Ok, I'll try. I got an Editor to hinglight MySQL Keywords, but I want that when the user types INS shows a box with some words like INSERT, just as Gambas does. In Gambas if you write PRI then appears a box with PRIVATE and some other Gambas Keywords. That is what I want to do. Hope I was clear enough. Regards -- David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas users Sent: Wednesday, October 8, 2008 11:36:52 AM Subject: Re: [Gambas-user] Autocomplete On mercredi 08 octobre 2008, David Villalobos Cambronero wrote: > Hi, Benoit, how did you implement the autocomplete feature? > > Any idea? > > Regards. > > > -- > David > Maybe you could ask a less general question? Otherwise I can answer "elbow grease" :-) -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Oct 8 20:00:35 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Oct 2008 20:00:35 +0200 Subject: [Gambas-user] Autocomplete In-Reply-To: <919578.28246.qm@...1670...> References: <919578.28246.qm@...1670...> Message-ID: <200810082000.35363.gambas@...1...> On mercredi 08 octobre 2008, David Villalobos Cambronero wrote: > Ok, I'll try. > > I got an Editor to hinglight MySQL Keywords, but I want that when the user > types INS shows a box with some words like INSERT, just as Gambas does. > > In Gambas if you write PRI then appears a box with PRIVATE and some other > Gambas Keywords. That is what I want to do. > > Hope I was clear enough. > > Regards > > > -- > David > I mainly display a ListView on top of the Editor control. Editor has methods to know where the cursor is so that you can move the ListView just under it. You can look in the IDE source code to have the details. But it is complex, as it supports different auto-completions: class symbols, event handlers, keywords, identifiers, special methods. Regards, -- Benoit Minisini From jbskaggs at ...1871... Wed Oct 8 20:50:59 2008 From: jbskaggs at ...1871... (jbskaggs) Date: Wed, 8 Oct 2008 11:50:59 -0700 (PDT) Subject: [Gambas-user] Semi noob question for Best way to do something. Message-ID: <19885070.post@...1379...> I have written an app in gambas that is generating a little bit of interest in the linux world. But I have two features I wish to add, that I am not sure how to implement in Gambas. My app is a writer's app. As such I would like to have a way to have my app be able to upload and download posts to and from a secure forum. Ie the prog would upload a text, then download comments on the text, and upload replies etc. the second feature I would like to add is a mapmaker. And then be able to export the graphical maps to a pdf file. I have written the mapmaker before in windows under gml but I am not sure how to do so using gambas. Basically just having a background layer that the user can then choose and add small graphics or text on top then export the total. Maybe if someone could point me in the right direction? JB -- View this message in context: http://www.nabble.com/Semi-noob-question-for-Best-way-to-do-something.-tp19885070p19885070.html Sent from the gambas-user mailing list archive at Nabble.com. From doriano.blengino at ...1909... Thu Oct 9 08:17:15 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Thu, 09 Oct 2008 08:17:15 +0200 Subject: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event In-Reply-To: <1f1e8c1b0810080543y20409fabmf49d5e73573f7e7a@...627...> References: <1f1e8c1b0810071232o2862b8e3gcdb4e6ef21412cb3@...627...> <200810072353.03902.gambas@...1...> <1f1e8c1b0810080543y20409fabmf49d5e73573f7e7a@...627...> Message-ID: <48EDA1EB.2040302@...1909...> M0E Lnx ha scritto: > is there a way to code it in my key_release event? > > On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini > wrote: > >> On mardi 07 octobre 2008, M0E Lnx wrote: >> >>> I have a really long list in a lisbox. I'd like to make it so when I >>> press "s" on the keyboard, it jumps to the first item whose text >>> starts with an "s" or any other letter for that matter. >>> >>> Can someone suggest a way to do this? >>> >>> >> Yes, Qt does that by default, but not GTK+. Again, I need to implement that >> feature in the gb.gtk component. >> >> I don't know if the KeyRelease event is the right one to use (it seems strange to me: why wait for a key release to do something? Normally things happen as soon as a key is pressed...), but surely KeyPress can work. In the KeyPress event of the listbox, start to search for the next item beginning with the letter, with wrap; then move the index. In pseudocode: sub xxx_keypress() dim scan as integer if key.text > "z" or key.text < " " then return ' this key is not "searchable" scan = last.index do inc scan if scan >= last.count then scan=0 ' wrap to the top again if scan=last.index then return ' went where we started off: didn't find another item if last[scan].text like key.text & "*" then ' found another last.index = scan return loop end sub I did not test this snippet but the general idea should work. May be some adjustment is needed... May be this is slow... Regards, Doriano From eilert-sprachen at ...221... Thu Oct 9 09:05:49 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 09 Oct 2008 09:05:49 +0200 Subject: [Gambas-user] What's wrong here? (Drawing an image) In-Reply-To: <200810081927.53803.gambas@...1...> References: <48ECCA1D.8030802@...221...> <200810081927.53803.gambas@...1...> Message-ID: <48EDAD4D.5090705@...221...> Benoit Minisini schrieb: > On mercredi 08 octobre 2008, Rolf-Werner Eilert wrote: >> Hi folks, >> >> I'm slightly confused - this was ok in Gambas1, but in Gambas2 it >> doesn't want to run. Here is an excerpt: >> >> DIM bild AS NEW image >> >> bild.Load(datei$) >> >> breite = bild.Width >> >> What I get here is "0", but no error. I checked it and even changed the >> file from BMP to PNG to see if it was a matter of file format, but I >> always get 0. >> >> What's wrong with this code now? >> >> I need the image's width to stretch it... >> >> Thanks for all hints. >> >> Rolf >> > > Load() is now a static method that returns the loaded image. You must do: > > bild = Image.Load(datei$) > > Regards, > Aaah - that does it. Thank you! Regards Rolf From eilert-sprachen at ...221... Thu Oct 9 09:21:46 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 09 Oct 2008 09:21:46 +0200 Subject: [Gambas-user] Where is Font.Resolution? In-Reply-To: <200810081936.19988.gambas@...1...> References: <48ECD2DB.5050203@...221...> <200810081936.19988.gambas@...1...> Message-ID: <48EDB10A.9080102@...221...> Benoit Minisini schrieb: > On mercredi 08 octobre 2008, Rolf-Werner Eilert wrote: >> Another question: >> >> In Gambas1, there was Font.Resolution. I used it for scaling things. In >> Gambas2, it doesn't exist anymore. >> >> Is there a replacement? >> >> Regards >> >> Rolf >> > > Desktop.Resolution (more logical name) > Are you sure this was the same? Font.Resolution had a completely different description: -------------- STATIC PROPERTY Resolution AS Integer Returns or sets the resolution used for transforming font size from points to screen pixel sizes. By default, font size is based on a 96 DPI resolution. Gambas use this property so that a given font size will always display the same whatever the real screen resolution is. -------------- In the printing engine I programmed in Gambas1, the only chance to get pictures/images (such as firm logo etc.) printed correctly was to compute a graphical ratio like this: 'before starting to print, get graphical ratio grafikRatio = Desktop.Resolution / Font.Resolution 'then start printing, and when it's an image, 'compute the printing ratio for it and calculate 'the stretching values in percent (as they are given 'in the printing form) bild = image.Load(datei$) druckRatio = Printer.Resolution / Desktop.Resolution * grafikRatio breite = bild.Width hoehe = bild.Height breite = (breite / 100 * prozent) * druckRatio hoehe = (hoehe / 100 * prozent) * druckRatio Draw.Image(bild.Stretch(breite, hoehe), x1, y1) Don't ask me about details, it's been a long time ago, but it used to run this way and had cost me a lot of brain pain at that time to develop :-) I vaguely remember that otherwise the images turned out way too small or too large. Now fyi, in Gambas2 I just replaced Font.Resolution by "96", and it runs as expected. The basic question now is, what does printing have to do with desktop resolution, and is there an easier way to achieve this in Gambas2? Regards Rolf From eilert-sprachen at ...221... Thu Oct 9 12:18:23 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 09 Oct 2008 12:18:23 +0200 Subject: [Gambas-user] Treeview: MoveParent? Message-ID: <48EDDA6F.7090704@...221...> Hi, Just realized that treeview.Item/Current.MoveParent doesn't exist anymore in Gambas2. Is there any replacement? Thanks for your help! Rolf From gambas at ...1... Thu Oct 9 12:57:53 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 9 Oct 2008 12:57:53 +0200 Subject: [Gambas-user] Where is Font.Resolution? In-Reply-To: <48EDB10A.9080102@...221...> References: <48ECD2DB.5050203@...221...> <200810081936.19988.gambas@...1...> <48EDB10A.9080102@...221...> Message-ID: <200810091257.53543.gambas@...1...> On jeudi 09 octobre 2008, Rolf-Werner Eilert wrote: > Benoit Minisini schrieb: > > On mercredi 08 octobre 2008, Rolf-Werner Eilert wrote: > >> Another question: > >> > >> In Gambas1, there was Font.Resolution. I used it for scaling things. In > >> Gambas2, it doesn't exist anymore. > >> > >> Is there a replacement? > >> > >> Regards > >> > >> Rolf > > > > Desktop.Resolution (more logical name) > > Are you sure this was the same? Font.Resolution had a completely > different description: > > -------------- > STATIC PROPERTY Resolution AS Integer > > > Returns or sets the resolution used for transforming font size from > points to screen pixel sizes. By default, font size is based on a 96 DPI > resolution. > Gambas use this property so that a given font size will always display > the same whatever the real screen resolution is. > > > -------------- > > In the printing engine I programmed in Gambas1, the only chance to get > pictures/images (such as firm logo etc.) printed correctly was to > compute a graphical ratio like this: > > 'before starting to print, get graphical ratio > > grafikRatio = Desktop.Resolution / Font.Resolution > > 'then start printing, and when it's an image, > 'compute the printing ratio for it and calculate > 'the stretching values in percent (as they are given > 'in the printing form) > > bild = image.Load(datei$) > druckRatio = Printer.Resolution / Desktop.Resolution * grafikRatio > breite = bild.Width > hoehe = bild.Height > breite = (breite / 100 * prozent) * druckRatio > hoehe = (hoehe / 100 * prozent) * druckRatio > Draw.Image(bild.Stretch(breite, hoehe), x1, y1) > > Don't ask me about details, it's been a long time ago, but it used to > run this way and had cost me a lot of brain pain at that time to develop > > :-) I vaguely remember that otherwise the images turned out way too > > small or too large. > > Now fyi, in Gambas2 I just replaced Font.Resolution by "96", and it runs > as expected. The basic question now is, what does printing have to do > with desktop resolution, and is there an easier way to achieve this in > Gambas2? > > Regards > > Rolf > Forget Font.Resolution. If you are drawing on screen, the font resolution is Desktop.Resolution, and if you are drawing on printer, the font resolution is Printer.Resolution. And remember that: - You are drawing with pixels. - Resolution is a number of pixels per inch. - Font height is in point, which is 1/72th of an inch. (in Postscript. It is actually an approximation. Love english units :-) ) Your way of drawing a picture is correct, but you can do faster in Gambas2, because you can stretch and draw in one shot with the Draw.Image() method. No need to stretch first, then draw. Regards, -- Benoit Minisini From david_villalobos_c at ...43... Thu Oct 9 14:18:26 2008 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Thu, 9 Oct 2008 05:18:26 -0700 (PDT) Subject: [Gambas-user] Autocomplete Message-ID: <803845.42338.qm@...1655...> Hi, many thanks... It really helps Regards -- David ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas users Sent: Wednesday, October 8, 2008 12:00:35 PM Subject: Re: [Gambas-user] Autocomplete On mercredi 08 octobre 2008, David Villalobos Cambronero wrote: > Ok, I'll try. > > I got an Editor to hinglight MySQL Keywords, but I want that when the user > types INS shows a box with some words like INSERT, just as Gambas does. > > In Gambas if you write PRI then appears a box with PRIVATE and some other > Gambas Keywords. That is what I want to do. > > Hope I was clear enough. > > Regards > > > -- > David > I mainly display a ListView on top of the Editor control. Editor has methods to know where the cursor is so that you can move the ListView just under it. You can look in the IDE source code to have the details. But it is complex, as it supports different auto-completions: class symbols, event handlers, keywords, identifiers, special methods. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Oct 9 14:06:27 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 9 Oct 2008 14:06:27 +0200 Subject: [Gambas-user] Semi noob question for Best way to do something. In-Reply-To: <19885070.post@...1379...> References: <19885070.post@...1379...> Message-ID: <200810091406.27275.gambas@...1...> On mercredi 08 octobre 2008, jbskaggs wrote: > I have written an app in gambas that is generating a little bit of interest > in the linux world. But I have two features I wish to add, that I am not > sure how to implement in Gambas. > > My app is a writer's app. As such I would like to have a way to have my > app be able to upload and download posts to and from a secure forum. Ie > the prog would upload a text, then download comments on the text, and > upload replies etc. You can use gb.net.curl, but I don't know how. Or you can use 'wget', provided that you know how to post the form contents. 'wget' has many options that allows you to use it like a browser. Regards, -- Benoit Minisini From gambas at ...1... Thu Oct 9 14:11:37 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 9 Oct 2008 14:11:37 +0200 Subject: [Gambas-user] Treeview: MoveParent? In-Reply-To: <48EDDA6F.7090704@...221...> References: <48EDDA6F.7090704@...221...> Message-ID: <200810091411.38034.gambas@...1...> On jeudi 09 octobre 2008, Rolf-Werner Eilert wrote: > Hi, > > Just realized that treeview.Item/Current.MoveParent doesn't exist > anymore in Gambas2. > > Is there any replacement? > > Thanks for your help! > > Rolf > TreeView.MoveParent() -- Benoit Minisini From m0e.lnx at ...626... Thu Oct 9 14:57:35 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Thu, 9 Oct 2008 07:57:35 -0500 Subject: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event In-Reply-To: <48EDA1EB.2040302@...1909...> References: <1f1e8c1b0810071232o2862b8e3gcdb4e6ef21412cb3@...627...> <200810072353.03902.gambas@...1...> <1f1e8c1b0810080543y20409fabmf49d5e73573f7e7a@...627...> <48EDA1EB.2040302@...1909...> Message-ID: <1f1e8c1b0810090557j3b5d659iba8f687f886863bf@...627...> I can see in my head how this *should* work... but I tried it in my project and it doesn't On Thu, Oct 9, 2008 at 1:17 AM, Doriano Blengino wrote: > M0E Lnx ha scritto: >> is there a way to code it in my key_release event? >> >> On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini >> wrote: >> >>> On mardi 07 octobre 2008, M0E Lnx wrote: >>> >>>> I have a really long list in a lisbox. I'd like to make it so when I >>>> press "s" on the keyboard, it jumps to the first item whose text >>>> starts with an "s" or any other letter for that matter. >>>> >>>> Can someone suggest a way to do this? >>>> >>>> >>> Yes, Qt does that by default, but not GTK+. Again, I need to implement that >>> feature in the gb.gtk component. >>> >>> > I don't know if the KeyRelease event is the right one to use (it seems > strange to me: why wait for a key release to do something? Normally > things happen as soon as a key is pressed...), but surely KeyPress can work. > > In the KeyPress event of the listbox, start to search for the next item > beginning with the letter, with wrap; then move the index. > In pseudocode: > > sub xxx_keypress() > dim scan as integer > > if key.text > "z" or key.text < " " then return ' this key is > not "searchable" > > scan = last.index > do > inc scan > if scan >= last.count then scan=0 ' wrap to the top again > if scan=last.index then return ' went where we started off: > didn't find another item > if last[scan].text like key.text & "*" then > ' found another > last.index = scan > return > loop > end sub > > I did not test this snippet but the general idea should work. May be > some adjustment is needed... > May be this is slow... > > Regards, > Doriano > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From m0e.lnx at ...626... Thu Oct 9 15:25:46 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Thu, 9 Oct 2008 08:25:46 -0500 Subject: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event In-Reply-To: <1f1e8c1b0810090557j3b5d659iba8f687f886863bf@...627...> References: <1f1e8c1b0810071232o2862b8e3gcdb4e6ef21412cb3@...627...> <200810072353.03902.gambas@...1...> <1f1e8c1b0810080543y20409fabmf49d5e73573f7e7a@...627...> <48EDA1EB.2040302@...1909...> <1f1e8c1b0810090557j3b5d659iba8f687f886863bf@...627...> Message-ID: <1f1e8c1b0810090625k158095d1sba1b263281efc158@...627...> Modified it and this time it does work PUBLIC SUB lbTmZone_KeyPress() DIM i AS Integer IF Key.text > "z" OR Key.text < " " THEN RETURN ' not searchable i = lbTmZone.Index DO INC i IF i >= lbTmZone.Count THEN i = 0 'back to top IF i = lbTmZone.Index THEN RETURN ' no other match found IF lbTmZone[i].text LIKE Key.Text & "*" THEN lbTmZone.Index = i RETURN END IF LOOP Thanks On Thu, Oct 9, 2008 at 7:57 AM, M0E Lnx wrote: > I can see in my head how this *should* work... but I tried it in my > project and it doesn't > > > On Thu, Oct 9, 2008 at 1:17 AM, Doriano Blengino > wrote: >> M0E Lnx ha scritto: >>> is there a way to code it in my key_release event? >>> >>> On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini >>> wrote: >>> >>>> On mardi 07 octobre 2008, M0E Lnx wrote: >>>> >>>>> I have a really long list in a lisbox. I'd like to make it so when I >>>>> press "s" on the keyboard, it jumps to the first item whose text >>>>> starts with an "s" or any other letter for that matter. >>>>> >>>>> Can someone suggest a way to do this? >>>>> >>>>> >>>> Yes, Qt does that by default, but not GTK+. Again, I need to implement that >>>> feature in the gb.gtk component. >>>> >>>> >> I don't know if the KeyRelease event is the right one to use (it seems >> strange to me: why wait for a key release to do something? Normally >> things happen as soon as a key is pressed...), but surely KeyPress can work. >> >> In the KeyPress event of the listbox, start to search for the next item >> beginning with the letter, with wrap; then move the index. >> In pseudocode: >> >> sub xxx_keypress() >> dim scan as integer >> >> if key.text > "z" or key.text < " " then return ' this key is >> not "searchable" >> >> scan = last.index >> do >> inc scan >> if scan >= last.count then scan=0 ' wrap to the top again >> if scan=last.index then return ' went where we started off: >> didn't find another item >> if last[scan].text like key.text & "*" then >> ' found another >> last.index = scan >> return >> loop >> end sub >> >> I did not test this snippet but the general idea should work. May be >> some adjustment is needed... >> May be this is slow... >> >> Regards, >> Doriano >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From ron at ...1740... Thu Oct 9 14:05:45 2008 From: ron at ...1740... (Ron) Date: Thu, 09 Oct 2008 14:05:45 +0200 Subject: [Gambas-user] Bug: Signal 11 with xml component Message-ID: <48EDF399.4020906@...1740...> Hi, in an attempt to get the attached project working, I got to the point where i can reproduce an signal #11. by simply running it and clicking the check button. If I comment the last print statement and uncomment the rest of the parsenode routine, I keep getting an error with 'invalid object' on the marked line. I know this code works on other installs (other user), but can't get it working on mine. Maybe an incompatibility with my libxml install ? (libxml2.so.2.6.27) My final goal with this small project is a proof of concept for an Gmail email notifier routine with my gambas program. http://forevergeek.com/geek_resources/gmail_rss_feed.php If anyone has working code for that already, you know how to reach me ;-) Debian 4.0etch3, Gambas 2.9 (svn today) Thanks. Regards, Ron_2nd -------------- next part -------------- A non-text attachment was scrubbed... Name: GMailFeed-0.0.3.tar.gz Type: application/gzip Size: 9501 bytes Desc: not available URL: From doriano.blengino at ...1909... Thu Oct 9 21:21:48 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Thu, 09 Oct 2008 21:21:48 +0200 Subject: [Gambas-user] Adding keyboard shortcuts to listbox_keyrelease event In-Reply-To: <1f1e8c1b0810090625k158095d1sba1b263281efc158@...627...> References: <1f1e8c1b0810071232o2862b8e3gcdb4e6ef21412cb3@...627...> <200810072353.03902.gambas@...1...> <1f1e8c1b0810080543y20409fabmf49d5e73573f7e7a@...627...> <48EDA1EB.2040302@...1909...> <1f1e8c1b0810090557j3b5d659iba8f687f886863bf@...627...> <1f1e8c1b0810090625k158095d1sba1b263281efc158@...627...> Message-ID: <48EE59CC.7090204@...1909...> M0E Lnx ha scritto: > Modified it and this time it does work > > PUBLIC SUB lbTmZone_KeyPress() > > DIM i AS Integer > > > IF Key.text > "z" OR Key.text < " " THEN RETURN ' not searchable > > i = lbTmZone.Index > DO > INC i > IF i >= lbTmZone.Count THEN i = 0 'back to top > IF i = lbTmZone.Index THEN RETURN ' no other match found > IF lbTmZone[i].text LIKE Key.Text & "*" THEN > lbTmZone.Index = i > RETURN > END IF > LOOP > There are two differences from the previous code; one is the "END IF" I forgot to write; the other is the use of lbTmZone instead of "LAST". If using LAST does not work, then it is a bug in gambas. I think that LAST should be always used, when possible. Anyway, happy that you succeded - cheers, Doriano > Thanks > > > On Thu, Oct 9, 2008 at 7:57 AM, M0E Lnx wrote: > >> I can see in my head how this *should* work... but I tried it in my >> project and it doesn't >> >> >> On Thu, Oct 9, 2008 at 1:17 AM, Doriano Blengino >> wrote: >> >>> M0E Lnx ha scritto: >>> >>>> is there a way to code it in my key_release event? >>>> >>>> On Tue, Oct 7, 2008 at 4:53 PM, Benoit Minisini >>>> wrote: >>>> >>>> >>>>> On mardi 07 octobre 2008, M0E Lnx wrote: >>>>> >>>>> >>>>>> I have a really long list in a lisbox. I'd like to make it so when I >>>>>> press "s" on the keyboard, it jumps to the first item whose text >>>>>> starts with an "s" or any other letter for that matter. >>>>>> >>>>>> Can someone suggest a way to do this? >>>>>> >>>>>> >>>>>> >>>>> Yes, Qt does that by default, but not GTK+. Again, I need to implement that >>>>> feature in the gb.gtk component. >>>>> >>>>> >>>>> >>> I don't know if the KeyRelease event is the right one to use (it seems >>> strange to me: why wait for a key release to do something? Normally >>> things happen as soon as a key is pressed...), but surely KeyPress can work. >>> >>> In the KeyPress event of the listbox, start to search for the next item >>> beginning with the letter, with wrap; then move the index. >>> In pseudocode: >>> >>> sub xxx_keypress() >>> dim scan as integer >>> >>> if key.text > "z" or key.text < " " then return ' this key is >>> not "searchable" >>> >>> scan = last.index >>> do >>> inc scan >>> if scan >= last.count then scan=0 ' wrap to the top again >>> if scan=last.index then return ' went where we started off: >>> didn't find another item >>> if last[scan].text like key.text & "*" then >>> ' found another >>> last.index = scan >>> return >>> loop >>> end sub >>> >>> I did not test this snippet but the general idea should work. May be >>> some adjustment is needed... >>> May be this is slow... >>> >>> Regards, >>> Doriano >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >>> Build the coolest Linux based applications with Moblin SDK & win great prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From klaine8 at ...626... Fri Oct 10 01:05:57 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 10 Oct 2008 02:05:57 +0300 Subject: [Gambas-user] Help with SHELL and EXEC Message-ID: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> Hi, could someone please post an example how to use SHELL and EXEC so that WRITE is used to write information to external program's input? I would be very great full. I have tried now four hours and can't get it working. Best Regards Kari Laine From lordheavym at ...626... Fri Oct 10 01:15:11 2008 From: lordheavym at ...626... (Laurent Carlier) Date: Fri, 10 Oct 2008 01:15:11 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> Message-ID: <200810100115.11990.lordheavym@...626...> Le vendredi 10 octobre 2008 01:05:57 Kari Laine, vous avez ?crit : > Hi, > > could someone please post an example how to use SHELL and EXEC so that > WRITE is used to write information to external program's input? > > I would be very great full. I have tried now four hours and can't get it > working. > > Best Regards > Kari Laine DIM myProc AS Process ... myProc = SHELL "mycommand" FOR WRITE ... PRINT #myProc,"Send this to mycommand input" see http://64.128.110.55/help/lang/shell http://64.128.110.55/help/lang/print?v3 http://64.128.110.55/help/comp/gb/process?v3 Regards, From ron at ...1740... Fri Oct 10 12:09:41 2008 From: ron at ...1740... (Ron) Date: Fri, 10 Oct 2008 12:09:41 +0200 Subject: [Gambas-user] gb.xml questions Message-ID: <48EF29E5.3030907@...1740...> Hi, Im trying to read the rss from gmail: it looks like this: --- Gmail - Inbox for ron at ...1740... New messages in your Gmail Inbox 1 2008-10-10T09:56:10Z DomotiGa: Test e-mail If you read this, e-mail support is working! - Powered by DomotiGa V0.0.121 2008-10-10T09:37:03Z 2008-10-10T09:37:03Z tag:gmail.google.com,2004:1283070543924118109 domotiga domotiga at ...1992... --- gb.xml and XmlReader doesn't grok these ^ :1: parser error : Document is empty ://mail.google.com/mail?account_id=bla%40bla.nl&message_id=21ce61dc98 ^ :1: parser error : Document is empty 43924118109 --- Can someone please fix this, or if google is misusing the rss specs, add support for this? Gambas 2.9 svn yesterday Thanks. Regards, Ron_2nd From gambas at ...1... Fri Oct 10 12:25:36 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Oct 2008 12:25:36 +0200 Subject: [Gambas-user] gb.xml questions In-Reply-To: <48EF29E5.3030907@...1740...> References: <48EF29E5.3030907@...1740...> Message-ID: <200810101225.36552.gambas@...1...> On vendredi 10 octobre 2008, Ron wrote: > Hi, > > Im trying to read the rss from gmail: > it looks like this: > --- > > > Gmail - Inbox for ron at ...1740... > New messages in your Gmail Inbox > 1 > /> 2008-10-10T09:56:10Z > > DomotiGa: Test e-mail > If you read this, e-mail support is working! - Powered by > DomotiGa V0.0.121 > href="http://mail.google.com/mail?account_id=bla%40bla.nl&message_id=21 >ce61dc985d425d&view=conv&extsrc=atom" type="text/html" /> > 2008-10-10T09:37:03Z > 2008-10-10T09:37:03Z > tag:gmail.google.com,2004:1283070543924118109 > > domotiga > domotiga at ...1992... > > > > --- > gb.xml and XmlReader doesn't grok these lines, it's aborts after the :// is this correct behaviour? > also during parsing it dumps this to console, so I guess debugging > message print are still enabled in the component. > The rest of the fields and doc is parsed 100% ok. > --- > > :6: parser error : AttValue: ' expected > > > ^ > > :1: parser error : Document is empty > ://mail.google.com/mail?account_id=bla%40bla.nl&message_id=21ce61dc98 > > ^ > > :1: parser error : Document is empty > > 43924118109 > --- > > Can someone please fix this, or if google is misusing the rss specs, add > support for this? > > Gambas 2.9 svn yesterday > Thanks. > > Regards, > Ron_2nd > I'm currently busy with my job, but when I have time, I will look at it. Regards, -- Benoit Minisini From ron at ...1740... Fri Oct 10 12:09:41 2008 From: ron at ...1740... (Ron) Date: Fri, 10 Oct 2008 12:09:41 +0200 Subject: [Gambas-user] gb.xml questions Message-ID: <48EF29E5.3030907@...1740...> Hi, Im trying to read the rss from gmail: it looks like this: --- Gmail - Inbox for ron at ...1740... New messages in your Gmail Inbox 1 2008-10-10T09:56:10Z DomotiGa: Test e-mail If you read this, e-mail support is working! - Powered by DomotiGa V0.0.121 2008-10-10T09:37:03Z 2008-10-10T09:37:03Z tag:gmail.google.com,2004:1283070543924118109 domotiga domotiga at ...1992... --- gb.xml and XmlReader doesn't grok these ^ :1: parser error : Document is empty ://mail.google.com/mail?account_id=bla%40bla.nl&message_id=21ce61dc98 ^ :1: parser error : Document is empty 43924118109 --- Can someone please fix this, or if google is misusing the rss specs, add support for this? Gambas 2.9 svn yesterday Thanks. Regards, Ron_2nd From klaine8 at ...626... Fri Oct 10 12:52:03 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 10 Oct 2008 13:52:03 +0300 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <200810100115.11990.lordheavym@...626...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810100115.11990.lordheavym@...626...> Message-ID: <61452b690810100352k370e1d57sc178a5f4ad7dd93f@...627...> On Fri, Oct 10, 2008 at 2:15 AM, Laurent Carlier wrote: > Le vendredi 10 octobre 2008 01:05:57 Kari Laine, vous avez ?crit : > > Hi, > > > > could someone please post an example how to use SHELL and EXEC so that > > WRITE is used to write information to external program's input? > > > > I would be very great full. I have tried now four hours and can't get it > > working. > > > > Best Regards > > Kari Laine > > DIM myProc AS Process > ... > myProc = SHELL "mycommand" FOR WRITE > ... > PRINT #myProc,"Send this to mycommand input" > > see http://64.128.110.55/help/lang/shell > http://64.128.110.55/help/lang/print?v3 > http://64.128.110.55/help/comp/gb/process?v3 > > Thanks Laurent, I can not still make it work. An example with both input and output redirection would be highly appreciated. Best Regards Kari Laine From gambas at ...1... Fri Oct 10 13:09:33 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Oct 2008 13:09:33 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <61452b690810100352k370e1d57sc178a5f4ad7dd93f@...627...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810100115.11990.lordheavym@...626...> <61452b690810100352k370e1d57sc178a5f4ad7dd93f@...627...> Message-ID: <200810101309.34025.gambas@...1...> On vendredi 10 octobre 2008, Kari Laine wrote: > On Fri, Oct 10, 2008 at 2:15 AM, Laurent Carlier wrote: > > Le vendredi 10 octobre 2008 01:05:57 Kari Laine, vous avez ?crit : > > > Hi, > > > > > > could someone please post an example how to use SHELL and EXEC so that > > > WRITE is used to write information to external program's input? > > > > > > I would be very great full. I have tried now four hours and can't get > > > it working. > > > > > > Best Regards > > > Kari Laine > > > > DIM myProc AS Process > > ... > > myProc = SHELL "mycommand" FOR WRITE > > ... > > PRINT #myProc,"Send this to mycommand input" > > > > see http://64.128.110.55/help/lang/shell > > http://64.128.110.55/help/lang/print?v3 > > http://64.128.110.55/help/comp/gb/process?v3 > > > > Thanks Laurent, > > I can not still make it work. An example with both input and output > redirection would be highly appreciated. > > Best Regards > Kari Laine Did you look at the "Console" example? -- Benoit Minisini From klaine8 at ...626... Fri Oct 10 12:52:03 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 10 Oct 2008 13:52:03 +0300 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <200810100115.11990.lordheavym@...626...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810100115.11990.lordheavym@...626...> Message-ID: <61452b690810100352k370e1d57sc178a5f4ad7dd93f@...627...> On Fri, Oct 10, 2008 at 2:15 AM, Laurent Carlier wrote: > Le vendredi 10 octobre 2008 01:05:57 Kari Laine, vous avez ?crit : > > Hi, > > > > could someone please post an example how to use SHELL and EXEC so that > > WRITE is used to write information to external program's input? > > > > I would be very great full. I have tried now four hours and can't get it > > working. > > > > Best Regards > > Kari Laine > > DIM myProc AS Process > ... > myProc = SHELL "mycommand" FOR WRITE > ... > PRINT #myProc,"Send this to mycommand input" > > see http://64.128.110.55/help/lang/shell > http://64.128.110.55/help/lang/print?v3 > http://64.128.110.55/help/comp/gb/process?v3 > > Thanks Laurent, I can not still make it work. An example with both input and output redirection would be highly appreciated. Best Regards Kari Laine From ron at ...1740... Fri Oct 10 12:09:41 2008 From: ron at ...1740... (Ron) Date: Fri, 10 Oct 2008 12:09:41 +0200 Subject: [Gambas-user] gb.xml questions Message-ID: <48EF29E5.3030907@...1740...> Hi, Im trying to read the rss from gmail: it looks like this: --- Gmail - Inbox for ron at ...1740... New messages in your Gmail Inbox 1 2008-10-10T09:56:10Z DomotiGa: Test e-mail If you read this, e-mail support is working! - Powered by DomotiGa V0.0.121 2008-10-10T09:37:03Z 2008-10-10T09:37:03Z tag:gmail.google.com,2004:1283070543924118109 domotiga domotiga at ...1992... --- gb.xml and XmlReader doesn't grok these ^ :1: parser error : Document is empty ://mail.google.com/mail?account_id=bla%40bla.nl&message_id=21ce61dc98 ^ :1: parser error : Document is empty 43924118109 --- Can someone please fix this, or if google is misusing the rss specs, add support for this? Gambas 2.9 svn yesterday Thanks. Regards, Ron_2nd From klaine8 at ...626... Fri Oct 10 14:50:38 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 10 Oct 2008 15:50:38 +0300 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <200810101309.34025.gambas@...1...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810100115.11990.lordheavym@...626...> <61452b690810100352k370e1d57sc178a5f4ad7dd93f@...627...> <200810101309.34025.gambas@...1...> Message-ID: <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> On Fri, Oct 10, 2008 at 2:09 PM, Benoit Minisini < gambas at ...1...> wrote: > On vendredi 10 octobre 2008, Kari Laine wrote: > > Did you look at the "Console" example? > > Hi, thanks had a look it at now. I am trying to use genisoimage. Problem I think is that it exists straight away after shell is executed so that it is not round when I try to write (print) to process handle. What I would need in my program is that I start genisoimage to output certain iso-file image and then I write the file names to it's standard input. This is what I dont't get working. I really don't know what the problem is. on command line this works ls |xargs genisoimage -o testi.iso Best Regards Kari Laine From doriano.blengino at ...1909... Fri Oct 10 15:23:26 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Fri, 10 Oct 2008 15:23:26 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810100115.11990.lordheavym@...626...> <61452b690810100352k370e1d57sc178a5f4ad7dd93f@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> Message-ID: <48EF574E.7080600@...1909...> Kari Laine ha scritto: > I am trying to use genisoimage. Problem I think is that it exists straight > away after shell is executed so that it is not round when I try to write > (print) to process handle. > What I would need in my program is that I start genisoimage to output > certain iso-file image and then I write the file names to it's standard > input. This is what I dont't get working. > > I really don't know what the problem is. > > on command line this works > > ls |xargs genisoimage -o testi.iso > The command line you describe takes all the output from ls and passes it as a single command line to "genisoimage -o test.iso". In other words, if your current directory contains: file1 file2 file3 then your command line results in: genisoimage -o testi.iso file1 file2 file3 To do the same thing in gambas, you must construct a string from the file you want, then pass it to SHELL, but without opening that process for input or output. Or, may be, you want to get its output to see how it went, like: SHELL "genisoimage blah blah blah" TO whathappened taResult.text = whathappened Regards From ron at ...1740... Fri Oct 10 16:35:38 2008 From: ron at ...1740... (Ron) Date: Fri, 10 Oct 2008 16:35:38 +0200 Subject: [Gambas-user] gb.xml questions In-Reply-To: <200810101225.36552.gambas@...1...> References: <48EF29E5.3030907@...1740...> <200810101225.36552.gambas@...1...> Message-ID: <48EF683A.5000504@...1740...> Benoit Minisini schreef: > On vendredi 10 octobre 2008, Ron wrote: > >> Hi, >> >> Im trying to read the rss from gmail: >> it looks like this: >> --- >> >> >> Gmail - Inbox for ron at ...1740... >> New messages in your Gmail Inbox >> 1 >> > /> 2008-10-10T09:56:10Z >> >> DomotiGa: Test e-mail >> If you read this, e-mail support is working! - Powered by >> DomotiGa V0.0.121 >> > href="http://mail.google.com/mail?account_id=bla%40bla.nl&message_id=21 >> ce61dc985d425d&view=conv&extsrc=atom" type="text/html" /> >> 2008-10-10T09:37:03Z >> 2008-10-10T09:37:03Z >> tag:gmail.google.com,2004:1283070543924118109 >> >> domotiga >> domotiga at ...1992... >> >> >> >> --- >> gb.xml and XmlReader doesn't grok these > lines, it's aborts after the :// is this correct behaviour? >> also during parsing it dumps this to console, so I guess debugging >> message print are still enabled in the component. >> The rest of the fields and doc is parsed 100% ok. >> --- >> >> :6: parser error : AttValue: ' expected >> >> >> ^ >> >> :1: parser error : Document is empty >> ://mail.google.com/mail?account_id=bla%40bla.nl&message_id=21ce61dc98 >> >> ^ >> >> :1: parser error : Document is empty >> >> 43924118109 >> --- >> >> Can someone please fix this, or if google is misusing the rss specs, add >> support for this? >> >> Gambas 2.9 svn yesterday >> Thanks. >> >> Regards, >> Ron_2nd >> >> > > I'm currently busy with my job, but when I have time, I will look at it. > > Regards, > Benoit, I have found the problem, so you can use your sparse free time for something else ;-) I have noticed the first http:// occured around +/- 256 chars, then I have noticed the code I copied and pasted was not working ok. Didn't notice it at first because the debug print output was ok (because of the ; which concatinated the string), but in the string which was sent to the parsefeed routine, cr/lfs where inserted... It was: READ #LAST, sXml, -256 Changed it to: READ #LAST, sXml, Lof(LAST) Now it works ok. Some code I have used is from this page http://gambasdoc.org/help/lang/shell? Wrongly thinking that reading with read -256 is the same as Lof(LAST) My small test project is attached... the main bulk of the code is coming from xmlviewer from gambasforge.net Change user and password to your gmail account in the code and run. Regards, Ron_2nd -------------- next part -------------- A non-text attachment was scrubbed... Name: xmlviewer-0.0.10.tar.gz Type: application/gzip Size: 9541 bytes Desc: not available URL: From ronstk at ...239... Fri Oct 10 16:35:54 2008 From: ronstk at ...239... (Ron_1st) Date: Fri, 10 Oct 2008 16:35:54 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> Message-ID: <200810101635.54495.ronstk@...239...> On Friday 10 October 2008, Kari Laine wrote: > On Fri, Oct 10, 2008 at 2:09 PM, Benoit Minisini < > gambas at ...1...> wrote: > > > On vendredi 10 octobre 2008, Kari Laine wrote: > > > > Did you look at the "Console" example? > > > > Hi, thanks had a look it at now. > > I am trying to use genisoimage. Problem I think is that it exists straight > away after shell is executed so that it is not round when I try to write > (print) to process handle. > What I would need in my program is that I start genisoimage to output > certain iso-file image and then I write the file names to it's standard > input. This is what I dont't get working. > > I really don't know what the problem is. > > on command line this works > > ls |xargs genisoimage -o testi.iso > This is a more ore less multi 'commands' line. You should use the whole line in one command. DIM myProc AS Process myProc = SHELL "(ls | xargs genisoimage -o testi.iso )" FOR WRITE the parenthesis groups the command to one main block See man bash command grouping. Best regards Ron_1st From klaine8 at ...626... Fri Oct 10 19:21:21 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 10 Oct 2008 20:21:21 +0300 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <200810101635.54495.ronstk@...239...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> <200810101635.54495.ronstk@...239...> Message-ID: <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> Thank you all for instructions. Key point is that I did not understand how the OS-shell handles arguments. I cannot pass all the arguments to shell because they outnumber the limit which I think is something round 32000. I am writing a backup program and /var/spool/news directory (leafnode) is giving me problems. I will try to find alternate solution to it, which is I think to pass directory paths instead file names to genisoimage. To do that I have to calculate each possible directory path for it's size. And only add it if the total image stays in CD or DVD limit. Thanks Again Best Regards Kari Laine From ron at ...1740... Fri Oct 10 19:46:56 2008 From: ron at ...1740... (Ron) Date: Fri, 10 Oct 2008 19:46:56 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> <200810101635.54495.ronstk@...239...> <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> Message-ID: <48EF9510.5030908@...1740...> Kari Laine schreef: > Thank you all for instructions. Key point is that I did not understand how > the OS-shell handles arguments. > I cannot pass all the arguments to shell because they outnumber the limit > which I think is something round 32000. > I am writing a backup program and /var/spool/news directory (leafnode) is > giving me problems. I will try to find alternate > solution to it, which is I think to pass directory paths instead file names > to genisoimage. To do that I have to calculate each possible directory path > for it's size. And only add it if the total image stays in CD or DVD limit. > > Thanks Again > > Best Regards > Kari Laine > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Maybe you can write your command and args to a file from within your gambas program to create a script file and execute that script? Regards, Ron_2nd From m0e.lnx at ...626... Fri Oct 10 20:39:22 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 10 Oct 2008 13:39:22 -0500 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48EF9510.5030908@...1740...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> <200810101635.54495.ronstk@...239...> <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> <48EF9510.5030908@...1740...> Message-ID: <1f1e8c1b0810101139q78d53c1bx2f653634ecdba7b1@...627...> How about just making a string of the files you want to put in the iso and parse that string to the genisoimage dim sArgs as string SHELL "ls " & /path/to/your/files to sArgs SHELL "cd " & /path/to/your/files " & "; genisoimage -o test.iso " & trim(sArgs) wait END On Fri, Oct 10, 2008 at 12:46 PM, Ron wrote: > Kari Laine schreef: >> Thank you all for instructions. Key point is that I did not understand how >> the OS-shell handles arguments. >> I cannot pass all the arguments to shell because they outnumber the limit >> which I think is something round 32000. >> I am writing a backup program and /var/spool/news directory (leafnode) is >> giving me problems. I will try to find alternate >> solution to it, which is I think to pass directory paths instead file names >> to genisoimage. To do that I have to calculate each possible directory path >> for it's size. And only add it if the total image stays in CD or DVD limit. >> >> Thanks Again >> >> Best Regards >> Kari Laine >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > Maybe you can write your command and args to a file from within your > gambas program to create a script file and execute that script? > > Regards, > Ron_2nd > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jbskaggs at ...1871... Sat Oct 11 05:35:23 2008 From: jbskaggs at ...1871... (jbskaggs) Date: Fri, 10 Oct 2008 20:35:23 -0700 (PDT) Subject: [Gambas-user] embed OpenOffice Message-ID: <19929257.post@...1379...> I have looked at the embedder example. I have looked at every post on this forum on finding the title of the new window. I cannot figure it out and get it to work. Could somebody have pity and show me how to get the title of the window when I shell to Openoffice and how to give it to the embedder? JB -- View this message in context: http://www.nabble.com/embed-OpenOffice-tp19929257p19929257.html Sent from the gambas-user mailing list archive at Nabble.com. From jbskaggs at ...1871... Sat Oct 11 05:36:51 2008 From: jbskaggs at ...1871... (jbskaggs) Date: Fri, 10 Oct 2008 20:36:51 -0700 (PDT) Subject: [Gambas-user] Wordwrap in Textedit Message-ID: <19929263.post@...1379...> Is there a way to have word wrap in textedit? JB -- View this message in context: http://www.nabble.com/Wordwrap-in-Textedit-tp19929263p19929263.html Sent from the gambas-user mailing list archive at Nabble.com. From doriano.blengino at ...1909... Sat Oct 11 08:47:58 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 11 Oct 2008 08:47:58 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> <200810101635.54495.ronstk@...239...> <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> Message-ID: <48F04C1E.20907@...1909...> Kari Laine ha scritto: > Thank you all for instructions. Key point is that I did not understand how > the OS-shell handles arguments. > I cannot pass all the arguments to shell because they outnumber the limit > which I think is something round 32000. > I am writing a backup program and /var/spool/news directory (leafnode) is > giving me problems. I will try to find alternate > solution to it, which is I think to pass directory paths instead file names > to genisoimage. To do that I have to calculate each possible directory path > for it's size. And only add it if the total image stays in CD or DVD limit. > > Thanks Again > > Best Regards > Kari Laine > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From the man page of genisoimage: -path-list file A file containing a list of pathspec directories and filenames to be added to the ISO9660 filesystem. This list of pathspecs are processed .... So, a shell command like: cd /var/spool/news; ls >filelist; genisoimage -o img.iso -path-list filelist should do. BTW - if it is a backup, how about to compress files before burning them? A 'tar' command can also create multivolume archives, just in case... Cheers, Doriano From linuxos at ...1896... Sat Oct 11 11:02:08 2008 From: linuxos at ...1896... (Olivier Cruilles) Date: Sat, 11 Oct 2008 11:02:08 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F04C1E.20907@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> <200810101635.54495.ronstk@...239...> <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> <48F04C1E.20907@...1909...> Message-ID: <2563ED0B-2E58-4E48-9F97-6D9254F773C8@...1896...> Hello, Maybe sommethink like that, cd /var/spool/news; tar cf - ./* | gzip -c > files.tar.gz ; echo "files.tar.gz" > filelist ; genisoimage -o img.iso -path-list filelist But if the name of the 'files.tar.gz' doesn't change, you can do it before this command one thing. Olivier. Le 11 oct. 08 ? 08:47, Doriano Blengino a ?crit : > Kari Laine ha scritto: >> Thank you all for instructions. Key point is that I did not >> understand how >> the OS-shell handles arguments. >> I cannot pass all the arguments to shell because they outnumber the >> limit >> which I think is something round 32000. >> I am writing a backup program and /var/spool/news directory >> (leafnode) is >> giving me problems. I will try to find alternate >> solution to it, which is I think to pass directory paths instead >> file names >> to genisoimage. To do that I have to calculate each possible >> directory path >> for it's size. And only add it if the total image stays in CD or >> DVD limit. >> >> Thanks Again >> >> Best Regards >> Kari Laine >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip for two to an Open Source event anywhere in >> the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From the man page of genisoimage: > > -path-list file > A file containing a list of pathspec directories > and filenames to be > added to the ISO9660 filesystem. This list of > pathspecs are processed > .... > > So, a shell command like: > > cd /var/spool/news; ls >filelist; genisoimage -o img.iso -path-list > filelist > > should do. > > BTW - if it is a backup, how about to compress files before burning > them? > A 'tar' command can also create multivolume archives, just in case... > > Cheers, > Doriano > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Olivier Cruilles Mail: linuxos at ...1896... From linuxos at ...1896... Sat Oct 11 11:02:08 2008 From: linuxos at ...1896... (Olivier Cruilles) Date: Sat, 11 Oct 2008 11:02:08 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F04C1E.20907@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> <200810101635.54495.ronstk@...239...> <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> <48F04C1E.20907@...1909...> Message-ID: <2563ED0B-2E58-4E48-9F97-6D9254F773C8@...1896...> Hello, Maybe sommethink like that, cd /var/spool/news; tar cf - ./* | gzip -c > files.tar.gz ; echo "files.tar.gz" > filelist ; genisoimage -o img.iso -path-list filelist But if the name of the 'files.tar.gz' doesn't change, you can do it before this command one thing. Olivier. Le 11 oct. 08 ? 08:47, Doriano Blengino a ?crit : > Kari Laine ha scritto: >> Thank you all for instructions. Key point is that I did not >> understand how >> the OS-shell handles arguments. >> I cannot pass all the arguments to shell because they outnumber the >> limit >> which I think is something round 32000. >> I am writing a backup program and /var/spool/news directory >> (leafnode) is >> giving me problems. I will try to find alternate >> solution to it, which is I think to pass directory paths instead >> file names >> to genisoimage. To do that I have to calculate each possible >> directory path >> for it's size. And only add it if the total image stays in CD or >> DVD limit. >> >> Thanks Again >> >> Best Regards >> Kari Laine >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip for two to an Open Source event anywhere in >> the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > From the man page of genisoimage: > > -path-list file > A file containing a list of pathspec directories > and filenames to be > added to the ISO9660 filesystem. This list of > pathspecs are processed > .... > > So, a shell command like: > > cd /var/spool/news; ls >filelist; genisoimage -o img.iso -path-list > filelist > > should do. > > BTW - if it is a backup, how about to compress files before burning > them? > A 'tar' command can also create multivolume archives, just in case... > > Cheers, > Doriano > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Olivier Cruilles Mail: linuxos at ...1896... From charles at ...1784... Sat Oct 11 14:18:10 2008 From: charles at ...1784... (charlesg) Date: Sat, 11 Oct 2008 05:18:10 -0700 (PDT) Subject: [Gambas-user] LostFocus event under Qt Message-ID: <19932130.post@...1379...> Hi, '-------------------------- PUBLIC SUB Button1_Click() PRINT "you clicked button" END PUBLIC SUB TextBox1_LostFocus() PRINT "textbox loses focus" END '------------------------- click on button while textbox has focus. Under GTK both lines print. Under QT LostFocus event is not triggered. Is this right? rgds -- View this message in context: http://www.nabble.com/LostFocus-event-under-Qt-tp19932130p19932130.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Oct 11 15:10:20 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 11 Oct 2008 15:10:20 +0200 Subject: [Gambas-user] LostFocus event under Qt In-Reply-To: <19932130.post@...1379...> References: <19932130.post@...1379...> Message-ID: <200810111510.20442.gambas@...1...> On samedi 11 octobre 2008, charlesg wrote: > Hi, > '-------------------------- > PUBLIC SUB Button1_Click() > PRINT "you clicked button" > END > > PUBLIC SUB TextBox1_LostFocus() > PRINT "textbox loses focus" > END > '------------------------- > click on button while textbox has focus. > Under GTK both lines print. > Under QT LostFocus event is not triggered. > > Is this right? > > rgds It is possible, as QT and GTK+ do not have the same focus rules. Clicking on a button on QT apparently does not take focus. Regards, -- Benoit Minisini From shordi at ...626... Sat Oct 11 18:55:30 2008 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Sat, 11 Oct 2008 18:55:30 +0200 Subject: [Gambas-user] Accesing workspace's Tabs Message-ID: How can I access to workspace' tabs? I've a form with a workspace that I fill with wrkspc.add(window) function. But the active tab is the last I've added and I want the first tab I've add as the active tab when the user open de form. I'tried things like wrksp.children[0].setfocus and so, but doesn't work. How is the correct sintaxis? Thanks Jorge From gambas at ...1... Sat Oct 11 19:04:05 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 11 Oct 2008 19:04:05 +0200 Subject: [Gambas-user] Accesing workspace's Tabs In-Reply-To: References: Message-ID: <200810111904.05235.gambas@...1...> On samedi 11 octobre 2008, Jorge Carri?n wrote: > How can I access to workspace' tabs? > I've a form with a workspace that I fill with wrkspc.add(window) function. > But the active tab is the last I've added and I want the first tab I've add > as the active tab when the user open de form. > I'tried things like wrksp.children[0].setfocus and so, but doesn't work. > How is the correct sintaxis? > Thanks > Jorge Workspace.ActiveWindow = The window you want to see. -- Benoit Minisini From doriano.blengino at ...1909... Sat Oct 11 20:48:52 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 11 Oct 2008 20:48:52 +0200 Subject: [Gambas-user] embed OpenOffice In-Reply-To: <19929257.post@...1379...> References: <19929257.post@...1379...> Message-ID: <48F0F514.30300@...1909...> jbskaggs ha scritto: > I have looked at the embedder example. I have looked at every post on this > forum on finding the title of the new window. > > I cannot figure it out and get it to work. > > Could somebody have pity and show me how to get the title of the window when > I shell to Openoffice and how to give it to the embedder? > > JB > You can use xwininfo to look at window information. "xlsclients -al" shows many informations about windows. On my PC I did this test after launching openoffice: doriano at ...1993...:/root$ xlsclients -la Window 0x1c00005: Machine: doripc Name: mrxvt Icon Name: mrxvt Command: mrxvt -xft -xftfm FreeMono -xftsz 11 -vb -geometry 90x30 Instance/Class: mrxvt/XTerm Window 0x120000a: Machine: doripc Name: kicker Command: kicker Instance/Class: kicker/Kicker Window 0x400001: Machine: doripc Name: Mozilla-Thunderbird Icon Name: icedove-bin Command: icedove-bin Instance/Class: icedove-bin/Icedove-bin Window 0x1a00001: '' Command: /bin/sh /usr/lib/openoffice/program/soffice Now I see that the window 0x1a00001 is the window I am interested in, so I issue: doripc:~# xprop -id 0x1a00001 WM_COMMAND(STRING) = { "/bin/sh", "/usr/lib/openoffice/program/soffice" } WM_CLIENT_LEADER(WINDOW): window id # 0x1a00001 _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 3979416247 ...just to discover that that window seems not to have a name... So, while a common method to find a window was Desktop.find() (look at previous messages in this list), this time may be that doesn't work. Perhaps you can 'SHELL "xlsclients -la" TO sXls', and then parse sXls to find out the window ID. Desktop.Find() can be used to get all the windows, but then don't know how to get more information. One way could be to execute a find, then launch openoffice, then do a find again to see what window has been added... Hope this could help. Doriano. From gambas at ...1... Sat Oct 11 20:49:09 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 11 Oct 2008 20:49:09 +0200 Subject: [Gambas-user] embed OpenOffice In-Reply-To: <48F0F514.30300@...1909...> References: <19929257.post@...1379...> <48F0F514.30300@...1909...> Message-ID: <200810112049.09729.gambas@...1...> On samedi 11 octobre 2008, Doriano Blengino wrote: > jbskaggs ha scritto: > > I have looked at the embedder example. I have looked at every post on > > this forum on finding the title of the new window. > > > > I cannot figure it out and get it to work. > > > > Could somebody have pity and show me how to get the title of the window > > when I shell to Openoffice and how to give it to the embedder? > > > > JB > > You can use xwininfo to look at window information. "xlsclients -al" > shows many informations about windows. > > On my PC I did this test after launching openoffice: > > doriano at ...1993...:/root$ xlsclients -la > Window 0x1c00005: > Machine: doripc > Name: mrxvt > Icon Name: mrxvt > Command: mrxvt -xft -xftfm FreeMono -xftsz 11 -vb -geometry 90x30 > Instance/Class: mrxvt/XTerm > Window 0x120000a: > Machine: doripc > Name: kicker > Command: kicker > Instance/Class: kicker/Kicker > Window 0x400001: > Machine: doripc > Name: Mozilla-Thunderbird > Icon Name: icedove-bin > Command: icedove-bin > Instance/Class: icedove-bin/Icedove-bin > Window 0x1a00001: > '' Command: /bin/sh /usr/lib/openoffice/program/soffice > > > Now I see that the window 0x1a00001 is the window I am interested in, so > I issue: > > doripc:~# xprop -id 0x1a00001 > WM_COMMAND(STRING) = { "/bin/sh", "/usr/lib/openoffice/program/soffice" } > WM_CLIENT_LEADER(WINDOW): window id # 0x1a00001 > _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 3979416247 > > ...just to discover that that window seems not to have a name... > > So, while a common method to find a window was Desktop.find() (look at > previous messages in this list), this time may be that doesn't work. > Perhaps you can 'SHELL "xlsclients -la" TO sXls', and then parse sXls to > find out the window ID. Desktop.Find() can be used to get all the windows, > but then don't know how to get more information. One way could be to > execute a find, then launch openoffice, then do a find again to see what > window has been added... > > Hope this could help. > > Doriano. > > You have to look at the "window class": $ xprop ... WM_CLASS(STRING) = "VCLSalFrame.DocumentWindow", "OpenOffice.org 2.4" ... Desktop.Find can look for a specific window class with its second argument. I don't know if it works in that case, because apparently the OpenOffice window has two classes! Regards, -- Benoit Minisini From klaine8 at ...626... Sat Oct 11 21:58:51 2008 From: klaine8 at ...626... (Kari Laine) Date: Sat, 11 Oct 2008 22:58:51 +0300 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <2563ED0B-2E58-4E48-9F97-6D9254F773C8@...1896...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> <200810101635.54495.ronstk@...239...> <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> <48F04C1E.20907@...1909...> <2563ED0B-2E58-4E48-9F97-6D9254F773C8@...1896...> Message-ID: <61452b690810111258j71502ee7r373ebcca4023a168@...627...> On Sat, Oct 11, 2008 at 12:02 PM, Olivier Cruilles wrote: > Hello, > > Maybe sommethink like that, > > cd /var/spool/news; tar cf - ./* | gzip -c > files.tar.gz ; echo > "files.tar.gz" > filelist ; genisoimage -o img.iso -path-list filelist > > But if the name of the 'files.tar.gz' doesn't change, you can do it > before this command one thing. > > Yep that's about the way I am going to do it - thanks. I got interested this writing process input thing. I can read process output without problem. Although it seems that reading of the stdout will start only when process ends. I made a little filter program in C and a gambas project to try to use it but I can not get the wrriting work so that when written the filter would return something to gambas-project. This got to do something that same program cannot both write and read to process - or what? Well here they are if someone is also interested to test. I would be very great full for any advice how to write to certain process. program1.c ------------------- #include int main() { int character; int lask; printf("program started\n"); character = getc(stdin); while(character != EOF) { //printf("%d",character); putc(character,stdout); character = getc(stdin); } } ---------------------- Gambas ---------------------- ' Gambas class file PUBLIC nProcess AS Process PUBLIC sOutput AS String PUBLIC SUB Button1_Click() nProcess = EXEC ["/home/kari/gb_shell/program1"] FOR READ WRITE AS "Contents" END PUBLIC SUB Contents_Read() DIM sLine AS String READ #LAST, sLine, -256 PRINT sLine sOutput &= sLine END PUBLIC SUB Contents_Kill() PRINT "somebody killed me!" END PUBLIC SUB Button2_Click() WRITE #nProcess, "Input to process stdin" END ----------------------------- Best Regards Kari Laine From glassnig at ...1994... Sat Oct 11 21:31:56 2008 From: glassnig at ...1994... (Georg Lassnig) Date: Sat, 11 Oct 2008 21:31:56 +0200 Subject: [Gambas-user] PictureBox background Message-ID: <200810112131.56285.glassnig@...1994...> Dear Community! I have a queston about the PictureBox. Is it possible to make the PictureBox background transparent? To Benoit Minisini Or is it planed in the future to implemend for the the PictureBox? Regards Georg Lassnig Sorry for my bad english! From gambas at ...1... Sat Oct 11 22:05:38 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 11 Oct 2008 22:05:38 +0200 Subject: [Gambas-user] PictureBox background In-Reply-To: <200810112131.56285.glassnig@...1994...> References: <200810112131.56285.glassnig@...1994...> Message-ID: <200810112205.38459.gambas@...1...> On samedi 11 octobre 2008, Georg Lassnig wrote: > Dear Community! > > I have a queston about the PictureBox. > > Is it possible to make the PictureBox background transparent? > > To Benoit Minisini > Or is it planed in the future to implemend for the the PictureBox? > > Regards > Georg Lassnig > > Sorry for my bad english! Controls cannot be transparent. Maybe it could change with QT4 in the future. Regards, -- Benoit Minisini From glassnig at ...1994... Sat Oct 11 22:12:26 2008 From: glassnig at ...1994... (Georg Lassnig) Date: Sat, 11 Oct 2008 22:12:26 +0200 Subject: [Gambas-user] PictureBox background In-Reply-To: <200810112205.38459.gambas@...1...> References: <200810112131.56285.glassnig@...1994...> <200810112205.38459.gambas@...1...> Message-ID: <200810112212.26271.glassnig@...1994...> Am Samstag 11. Oktober 2008 22:05:38 schrieb Benoit Minisini: > On samedi 11 octobre 2008, Georg Lassnig wrote: > > Dear Community! > > > > I have a queston about the PictureBox. > > > > Is it possible to make the PictureBox background transparent? > > > > To Benoit Minisini > > Or is it planed in the future to implemend for the the PictureBox? > > > > Regards > > Georg Lassnig > > > > Sorry for my bad english! > > Controls cannot be transparent. Maybe it could change with QT4 in the > future. > > Regards, Thank you for the quick response. Nice weekend to all. Regards Georg Lassnig From doriano.blengino at ...1909... Sun Oct 12 09:23:39 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 12 Oct 2008 09:23:39 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <61452b690810111258j71502ee7r373ebcca4023a168@...627...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> <200810101635.54495.ronstk@...239...> <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> <48F04C1E.20907@...1909...> <2563ED0B-2E58-4E48-9F97-6D9254F773C8@...1896...> <61452b690810111258j71502ee7r373ebcca4023a168@...627...> Message-ID: <48F1A5FB.90406@...1909...> Kari Laine ha scritto: > > I got interested this writing process input thing. I can read process output > without problem. Although it seems that reading of the stdout will start > only when process ends. I made a little filter program in C and a gambas > project to try to use it but I can not get the wrriting work so that when > written the filter would return something to gambas-project. This got to do > something that same program cannot both write and read to process - or what? > Well here they are if someone is also interested to test. I would be very > great full for any advice how to write to certain process. > If you look carefully at the docs about EXEC: [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] you'll notice that you can't specify both READ & WRITE --------^ I have also a big book about Linux programming and, when I first read that book, I was wondered because it said that you can't open a pipe both for reading and for writing. Doing such things is a completely different matter, it said. Still I think that it should be possible with the right calls but, don't knowing what gambas does behind the scenes, the only thing I can say now, is that the syntax explanation does not permit that. But gambas happily lets you specify both READ & WRITE... Then, reading more carefully, I noticed that the docs say: "if you specify INPUT & OUTPUT instead of READ & WRITE, then the process is executed inside a virtual terminal". Remembering that that book was talking, if I well remember, about virtual terminals to be necessary to do such things, I tried in gambas. And it works! I attach the project, which uses "tr" as filter. Run it, then click ToggleButton1; in the gambas console you will see what the program sends to tr, and in the textarea you will see what tr replies back to the program. Cheers. -------------- next part -------------- A non-text attachment was scrubbed... Name: doublepipe-0.0.1.tar.gz Type: application/x-tgz Size: 7966 bytes Desc: not available URL: From gambas at ...1... Sun Oct 12 11:38:12 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 11:38:12 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F1A5FB.90406@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <61452b690810111258j71502ee7r373ebcca4023a168@...627...> <48F1A5FB.90406@...1909...> Message-ID: <200810121138.12934.gambas@...1...> On dimanche 12 octobre 2008, Doriano Blengino wrote: > Kari Laine ha scritto: > > I got interested this writing process input thing. I can read process > > output without problem. Although it seems that reading of the stdout will > > start only when process ends. I made a little filter program in C and a > > gambas project to try to use it but I can not get the wrriting work so > > that when written the filter would return something to gambas-project. > > This got to do something that same program cannot both write and read to > > process - or what? Well here they are if someone is also interested to > > test. I would be very great full for any advice how to write to certain > > process. > > If you look carefully at the docs about EXEC: > > [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | > *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] > > you'll notice that you can't specify both READ & WRITE --------^ > > I have also a big book about Linux programming and, when I first read > that book, I was wondered because it said that you can't open a pipe > both for reading and for writing. Doing such things is a completely > different matter, it said. > Still I think that it should be possible with the right calls but, don't > knowing what gambas does behind the scenes, the only thing I can say > now, is that the syntax explanation does not permit that. But gambas > happily lets you specify both READ & WRITE... Guess what: Gambas internally uses -two- pipes. One for reading the process output, and another for writing to it. Of course only one pipe is used if you specify only READ or WRITE. > > Then, reading more carefully, I noticed that the docs say: "if you > specify INPUT & OUTPUT instead of READ & WRITE, then the process is > executed inside a virtual terminal". Remembering that that book was > talking, if I well remember, about virtual terminals to be necessary to > do such things, I tried in gambas. And it works! I'm happy to know that. :-) This feature is needed, because many command-line tools need to be run inside a terminal to be really useful. Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 12 11:38:12 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 11:38:12 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F1A5FB.90406@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <61452b690810111258j71502ee7r373ebcca4023a168@...627...> <48F1A5FB.90406@...1909...> Message-ID: <200810121138.12934.gambas@...1...> On dimanche 12 octobre 2008, Doriano Blengino wrote: > Kari Laine ha scritto: > > I got interested this writing process input thing. I can read process > > output without problem. Although it seems that reading of the stdout will > > start only when process ends. I made a little filter program in C and a > > gambas project to try to use it but I can not get the wrriting work so > > that when written the filter would return something to gambas-project. > > This got to do something that same program cannot both write and read to > > process - or what? Well here they are if someone is also interested to > > test. I would be very great full for any advice how to write to certain > > process. > > If you look carefully at the docs about EXEC: > > [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | > *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] > > you'll notice that you can't specify both READ & WRITE --------^ > > I have also a big book about Linux programming and, when I first read > that book, I was wondered because it said that you can't open a pipe > both for reading and for writing. Doing such things is a completely > different matter, it said. > Still I think that it should be possible with the right calls but, don't > knowing what gambas does behind the scenes, the only thing I can say > now, is that the syntax explanation does not permit that. But gambas > happily lets you specify both READ & WRITE... Guess what: Gambas internally uses -two- pipes. One for reading the process output, and another for writing to it. Of course only one pipe is used if you specify only READ or WRITE. > > Then, reading more carefully, I noticed that the docs say: "if you > specify INPUT & OUTPUT instead of READ & WRITE, then the process is > executed inside a virtual terminal". Remembering that that book was > talking, if I well remember, about virtual terminals to be necessary to > do such things, I tried in gambas. And it works! I'm happy to know that. :-) This feature is needed, because many command-line tools need to be run inside a terminal to be really useful. Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 12 11:38:12 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 11:38:12 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F1A5FB.90406@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <61452b690810111258j71502ee7r373ebcca4023a168@...627...> <48F1A5FB.90406@...1909...> Message-ID: <200810121138.12934.gambas@...1...> On dimanche 12 octobre 2008, Doriano Blengino wrote: > Kari Laine ha scritto: > > I got interested this writing process input thing. I can read process > > output without problem. Although it seems that reading of the stdout will > > start only when process ends. I made a little filter program in C and a > > gambas project to try to use it but I can not get the wrriting work so > > that when written the filter would return something to gambas-project. > > This got to do something that same program cannot both write and read to > > process - or what? Well here they are if someone is also interested to > > test. I would be very great full for any advice how to write to certain > > process. > > If you look carefully at the docs about EXEC: > > [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | > *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] > > you'll notice that you can't specify both READ & WRITE --------^ > > I have also a big book about Linux programming and, when I first read > that book, I was wondered because it said that you can't open a pipe > both for reading and for writing. Doing such things is a completely > different matter, it said. > Still I think that it should be possible with the right calls but, don't > knowing what gambas does behind the scenes, the only thing I can say > now, is that the syntax explanation does not permit that. But gambas > happily lets you specify both READ & WRITE... Guess what: Gambas internally uses -two- pipes. One for reading the process output, and another for writing to it. Of course only one pipe is used if you specify only READ or WRITE. > > Then, reading more carefully, I noticed that the docs say: "if you > specify INPUT & OUTPUT instead of READ & WRITE, then the process is > executed inside a virtual terminal". Remembering that that book was > talking, if I well remember, about virtual terminals to be necessary to > do such things, I tried in gambas. And it works! I'm happy to know that. :-) This feature is needed, because many command-line tools need to be run inside a terminal to be really useful. Regards, -- Benoit Minisini From doriano.blengino at ...1909... Sun Oct 12 12:16:35 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 12 Oct 2008 12:16:35 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <200810121138.12934.gambas@...1...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <61452b690810111258j71502ee7r373ebcca4023a168@...627...> <48F1A5FB.90406@...1909...> <200810121138.12934.gambas@...1...> Message-ID: <48F1CE83.1020407@...1909...> Benoit Minisini ha scritto: > On dimanche 12 octobre 2008, Doriano Blengino wrote: > >> Kari Laine ha scritto: >> >> If you look carefully at the docs about EXEC: >> >> [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | >> *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] >> >> you'll notice that you can't specify both READ & WRITE --------^ >> > Guess what: Gambas internally uses -two- pipes. One for reading the process > output, and another for writing to it. Of course only one pipe is used if you > specify only READ or WRITE. > What I can say is, if you specify READ & WRITE, it simply doesn't work. If you specify INPUT & OUTPUT, it works. If you specify READ & OUTPUT or INPUT & WRITE, don't know. I don't want to go into details because I don't know them - but I think that specifying INPUT and/or OUTPUT, then a different approach is taken (right: documentation says the process is run inside a virtual terminal). But normally a user thinks "I just want to run a filter - why should I need a virtual terminal?" So what he gets is the thing fails, as happened to Kari. I only tried INPUT & OUTPUT because I loosely remembered what that book was saying. I think in the docs a retouch should be done, because (am I right?) they make you think that you can not specify a couple of keywords but only one at a time (one among READ, INPUT, WRITE, OUTPUT). Sum this up with the fact that you have to use a virtual terminal to be able to read and write concurrently to another process, and you'll end up to think that specifying both READ and WRITE can not work... >> Then, reading more carefully, I noticed that the docs say: "if you >> specify INPUT & OUTPUT instead of READ & WRITE, then the process is >> executed inside a virtual terminal". Remembering that that book was >> talking, if I well remember, about virtual terminals to be necessary to >> do such things, I tried in gambas. And it works! >> > > I'm happy to know that. :-) > :-) I am happy too... this is a very powerful feature. I remember that the Afterstep window manager used this double pipe to implement applets. So simple... you could write window manager applets in bash. And in gambas this could be used to carry out heavy works by external programs (sorts, image manipulation and many more...). Regards, Doriano From gambas at ...1... Sun Oct 12 13:09:52 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 13:09:52 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F1CE83.1020407@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810121138.12934.gambas@...1...> <48F1CE83.1020407@...1909...> Message-ID: <200810121309.52358.gambas@...1...> On dimanche 12 octobre 2008, Doriano Blengino wrote: > Benoit Minisini ha scritto: > > On dimanche 12 octobre 2008, Doriano Blengino wrote: > >> Kari Laine ha scritto: > >> > >> If you look carefully at the docs about EXEC: > >> > >> [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | > >> *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] > >> > >> you'll notice that you can't specify both READ & WRITE --------^ > > > > Guess what: Gambas internally uses -two- pipes. One for reading the > > process output, and another for writing to it. Of course only one pipe is > > used if you specify only READ or WRITE. > > What I can say is, if you specify READ & WRITE, it simply doesn't work. > If you specify INPUT & OUTPUT, it works. > If you specify READ & OUTPUT or INPUT & WRITE, don't know. > I don't want to go into details because I don't know them - but I think > that specifying INPUT and/or OUTPUT, then a different approach is taken > (right: documentation says the process is run inside a virtual > terminal). But normally a user thinks "I just want to run a filter - why > should I need a virtual terminal?" So what he gets is the thing fails, > as happened to Kari. > I only tried INPUT & OUTPUT because I loosely remembered what that book > was saying. > > I think in the docs a retouch should be done, because (am I right?) they > make you think that you can not specify a couple of keywords but only > one at a time (one among READ, INPUT, WRITE, OUTPUT). Sum this up with > the fact that you have to use a virtual terminal to be able to read and > write concurrently to another process, and you'll end up to think that > specifying both READ and WRITE can not work... > > >> Then, reading more carefully, I noticed that the docs say: "if you > >> specify INPUT & OUTPUT instead of READ & WRITE, then the process is > >> executed inside a virtual terminal". Remembering that that book was > >> talking, if I well remember, about virtual terminals to be necessary to > >> do such things, I tried in gambas. And it works! > > > > I'm happy to know that. :-) > > > :-) I am happy too... this is a very powerful feature. I remember that > > the Afterstep window manager used this double pipe to implement applets. > So simple... you could write window manager applets in bash. And in > gambas this could be used to carry out heavy works by external programs > (sorts, image manipulation and many more...). > > Regards, > Doriano > Some processes need to be run in a virtual terminal, but most of them don't, and you should not have problems with them. So please be give more details (i.e. some source code!) when you say that they "just don't work". Note that processes that don't need virtual terminals, can be run with them without problems. But you are adding a useless heavy layer then! Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 12 13:09:52 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 13:09:52 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F1CE83.1020407@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810121138.12934.gambas@...1...> <48F1CE83.1020407@...1909...> Message-ID: <200810121309.52358.gambas@...1...> On dimanche 12 octobre 2008, Doriano Blengino wrote: > Benoit Minisini ha scritto: > > On dimanche 12 octobre 2008, Doriano Blengino wrote: > >> Kari Laine ha scritto: > >> > >> If you look carefully at the docs about EXEC: > >> > >> [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | > >> *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] > >> > >> you'll notice that you can't specify both READ & WRITE --------^ > > > > Guess what: Gambas internally uses -two- pipes. One for reading the > > process output, and another for writing to it. Of course only one pipe is > > used if you specify only READ or WRITE. > > What I can say is, if you specify READ & WRITE, it simply doesn't work. > If you specify INPUT & OUTPUT, it works. > If you specify READ & OUTPUT or INPUT & WRITE, don't know. > I don't want to go into details because I don't know them - but I think > that specifying INPUT and/or OUTPUT, then a different approach is taken > (right: documentation says the process is run inside a virtual > terminal). But normally a user thinks "I just want to run a filter - why > should I need a virtual terminal?" So what he gets is the thing fails, > as happened to Kari. > I only tried INPUT & OUTPUT because I loosely remembered what that book > was saying. > > I think in the docs a retouch should be done, because (am I right?) they > make you think that you can not specify a couple of keywords but only > one at a time (one among READ, INPUT, WRITE, OUTPUT). Sum this up with > the fact that you have to use a virtual terminal to be able to read and > write concurrently to another process, and you'll end up to think that > specifying both READ and WRITE can not work... > > >> Then, reading more carefully, I noticed that the docs say: "if you > >> specify INPUT & OUTPUT instead of READ & WRITE, then the process is > >> executed inside a virtual terminal". Remembering that that book was > >> talking, if I well remember, about virtual terminals to be necessary to > >> do such things, I tried in gambas. And it works! > > > > I'm happy to know that. :-) > > > :-) I am happy too... this is a very powerful feature. I remember that > > the Afterstep window manager used this double pipe to implement applets. > So simple... you could write window manager applets in bash. And in > gambas this could be used to carry out heavy works by external programs > (sorts, image manipulation and many more...). > > Regards, > Doriano > Some processes need to be run in a virtual terminal, but most of them don't, and you should not have problems with them. So please be give more details (i.e. some source code!) when you say that they "just don't work". Note that processes that don't need virtual terminals, can be run with them without problems. But you are adding a useless heavy layer then! Regards, -- Benoit Minisini From ihaywood at ...1979... Sun Oct 12 13:19:36 2008 From: ihaywood at ...1979... (Ian Haywood) Date: Sun, 12 Oct 2008 22:19:36 +1100 Subject: [Gambas-user] Form_Close() In-Reply-To: <48F1A5FB.90406@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <61452b690810111258j71502ee7r373ebcca4023a168@...627...> <48F1A5FB.90406@...1909...> Message-ID: <200810122219.37058.ihaywood@...1979...> This is a simple question but I have struggled to find an answer in the docs. I am trying to run a procedure when the main application window is closed (via the window manager) Form_Close () doesn't work, are there any other procedure names to use? Thanks, Ian From gambas at ...1... Sun Oct 12 13:09:52 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 13:09:52 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F1CE83.1020407@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810121138.12934.gambas@...1...> <48F1CE83.1020407@...1909...> Message-ID: <200810121309.52358.gambas@...1...> On dimanche 12 octobre 2008, Doriano Blengino wrote: > Benoit Minisini ha scritto: > > On dimanche 12 octobre 2008, Doriano Blengino wrote: > >> Kari Laine ha scritto: > >> > >> If you look carefully at the docs about EXEC: > >> > >> [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | > >> *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] > >> > >> you'll notice that you can't specify both READ & WRITE --------^ > > > > Guess what: Gambas internally uses -two- pipes. One for reading the > > process output, and another for writing to it. Of course only one pipe is > > used if you specify only READ or WRITE. > > What I can say is, if you specify READ & WRITE, it simply doesn't work. > If you specify INPUT & OUTPUT, it works. > If you specify READ & OUTPUT or INPUT & WRITE, don't know. > I don't want to go into details because I don't know them - but I think > that specifying INPUT and/or OUTPUT, then a different approach is taken > (right: documentation says the process is run inside a virtual > terminal). But normally a user thinks "I just want to run a filter - why > should I need a virtual terminal?" So what he gets is the thing fails, > as happened to Kari. > I only tried INPUT & OUTPUT because I loosely remembered what that book > was saying. > > I think in the docs a retouch should be done, because (am I right?) they > make you think that you can not specify a couple of keywords but only > one at a time (one among READ, INPUT, WRITE, OUTPUT). Sum this up with > the fact that you have to use a virtual terminal to be able to read and > write concurrently to another process, and you'll end up to think that > specifying both READ and WRITE can not work... > > >> Then, reading more carefully, I noticed that the docs say: "if you > >> specify INPUT & OUTPUT instead of READ & WRITE, then the process is > >> executed inside a virtual terminal". Remembering that that book was > >> talking, if I well remember, about virtual terminals to be necessary to > >> do such things, I tried in gambas. And it works! > > > > I'm happy to know that. :-) > > > :-) I am happy too... this is a very powerful feature. I remember that > > the Afterstep window manager used this double pipe to implement applets. > So simple... you could write window manager applets in bash. And in > gambas this could be used to carry out heavy works by external programs > (sorts, image manipulation and many more...). > > Regards, > Doriano > Some processes need to be run in a virtual terminal, but most of them don't, and you should not have problems with them. So please be give more details (i.e. some source code!) when you say that they "just don't work". Note that processes that don't need virtual terminals, can be run with them without problems. But you are adding a useless heavy layer then! Regards, -- Benoit Minisini From klaine8 at ...626... Sun Oct 12 12:29:48 2008 From: klaine8 at ...626... (Kari Laine) Date: Sun, 12 Oct 2008 13:29:48 +0300 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F1A5FB.90406@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810101309.34025.gambas@...1...> <61452b690810100550l3d03111bg6a354c97e0961fc@...627...> <200810101635.54495.ronstk@...239...> <61452b690810101021x55a03b84y879a74d96ba1d346@...627...> <48F04C1E.20907@...1909...> <2563ED0B-2E58-4E48-9F97-6D9254F773C8@...1896...> <61452b690810111258j71502ee7r373ebcca4023a168@...627...> <48F1A5FB.90406@...1909...> Message-ID: <61452b690810120329g4cf1afadsb241c4b1f6a8d616@...627...> > I attach the project, which uses "tr" as filter. > Run it, then click ToggleButton1; in the gambas console you will see what > the program sends to tr, and in the textarea you will see what tr replies > back to the program. > > Cheers. > > Thank You very much! Best Regards Kari Laine From doriano.blengino at ...1909... Sun Oct 12 13:50:29 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 12 Oct 2008 13:50:29 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <200810121309.52358.gambas@...1...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810121138.12934.gambas@...1...> <48F1CE83.1020407@...1909...> <200810121309.52358.gambas@...1...> Message-ID: <48F1E485.60502@...1909...> Benoit Minisini ha scritto: May be I am wrong... but it seems to me that you are sometimes critic when replying to me. I know, I am more critic than the average users on this list, so we are paired... > On dimanche 12 octobre 2008, Doriano Blengino wrote: >> Benoit Minisini ha scritto: >>> On dimanche 12 octobre 2008, Doriano Blengino wrote: >>>> Kari Laine ha scritto: >>>> >>>> If you look carefully at the docs about EXEC: >>>> >>>> [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | >>>> *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] >>>> >>>> you'll notice that you can't specify both READ & WRITE --------^ This syntax says you can not specify a couple of words. May be this could be better: Form1: [Process=] EXEC Command [ WAIT ] [FOR {READ | WRITE}] [AS Name] Form2: [Process=] EXEC Command [ WAIT ] [ FOR {INPUT | OUTPUT | {INPUT OUTPUT}}] [AS Name] This takes in account that specifying READ & WRITE does not work, if that will be verified. > > Some processes need to be run in a virtual terminal, but most of them don't, > and you should not have problems with them. Don't know anything about that, anyway, I think /usr/bin/tr should be one of those which don't need a terminal, being a 'true' filter. > > So please be give more details (i.e. some source code!) when you say that > they "just don't work". I sended the project two messages ago, and you replied to it; probably you didn't notice the source code attached. I send it again; run it; click on the togglebutton, look both at the textarea and the gambas console. Then stop it, change "INPUT OUTPUT" to "READ WRITE", and run it again. That will tell you who is wrong. I may be wrong, because of my old 2.0.0 version that, by the way, runs smoothlessly and I am in love with... :-) > Note that processes that don't need virtual terminals, can be run with them > without problems. But you are adding a useless heavy layer then! I have so many books around I can't find that book I was talking about (and it was a *big* one! :->), but I am pretty sure that it was describing this argument. I am not sure, and I would like to read again, but I can remember that it is not so simple to get both stdin & stdout from another process. Tell me what your tests say to you - this is very interesting because I did not try if that book was true or not. Regards, and happy coding, Doriano -------------- next part -------------- A non-text attachment was scrubbed... Name: doublepipe-0.0.1.tar.gz Type: application/x-tgz Size: 7966 bytes Desc: not available URL: From gambas at ...1... Sun Oct 12 14:23:57 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 14:23:57 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F1E485.60502@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810121309.52358.gambas@...1...> <48F1E485.60502@...1909...> Message-ID: <200810121423.57380.gambas@...1...> On dimanche 12 octobre 2008, Doriano Blengino wrote: > Benoit Minisini ha scritto: > > May be I am wrong... but it seems to me that you are sometimes critic > when replying to me. I know, I am more critic than the average users on > this list, so we are paired... > Don't worry, I'm not "critic" at all. It just that talking by e-mail often looks like as if people are always critic. And english is not my primary language, so I often just fill my answers with information only! > > On dimanche 12 octobre 2008, Doriano Blengino wrote: > >> Benoit Minisini ha scritto: > >>> On dimanche 12 octobre 2008, Doriano Blengino wrote: > >>>> Kari Laine ha scritto: > >>>> > >>>> If you look carefully at the docs about EXEC: > >>>> > >>>> [ _Process_ *=* ] *EXEC* _Command_ [ *WAIT* ] [ *FOR* { { *READ* | > >>>> *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS* _Name_ ] > >>>> > >>>> you'll notice that you can't specify both READ & WRITE --------^ > > This syntax says you can not specify a couple of words. May be this > could be better: > > Form1: > [Process=] EXEC Command [ WAIT ] [FOR {READ | WRITE}] [AS Name] > Form2: > [Process=] EXEC Command [ WAIT ] [ FOR {INPUT | OUTPUT | {INPUT > OUTPUT}}] [AS Name] > > This takes in account that specifying READ & WRITE does not work, if > that will be verified. > > > Some processes need to be run in a virtual terminal, but most of them > > don't, and you should not have problems with them. > > Don't know anything about that, anyway, I think /usr/bin/tr should be > one of those which don't need a terminal, being a 'true' filter. > > > So please be give more details (i.e. some source code!) when you say that > > they "just don't work". > > I sended the project two messages ago, and you replied to it; probably > you didn't notice the source code attached. Probably I forgot it between all the e-mails I try to deal with! > I send it again; run it; click on the togglebutton, look both at the > textarea and the gambas console. > Then stop it, change "INPUT OUTPUT" to "READ WRITE", and run it again. > That will tell you who is wrong. I may be wrong, because of my old 2.0.0 > version that, by the way, runs smoothlessly and I am in love with... :-) > > > Note that processes that don't need virtual terminals, can be run with > > them without problems. But you are adding a useless heavy layer then! > > I have so many books around I can't find that book I was talking about > (and it was a *big* one! :->), but I am pretty sure that it was > describing this argument. I am not sure, and I would like to read again, > but I can remember that it is not so simple to get both stdin & stdout > from another process. Indeed. You can look at the source code if you dare. :-) It is in the gbx_c_process.c file. > > Tell me what your tests say to you - this is very interesting because I > did not try if that book was true or not. > > Regards, and happy coding, > Doriano I will look at it. Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 12 15:31:34 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 15:31:34 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <48F1E485.60502@...1909...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810121309.52358.gambas@...1...> <48F1E485.60502@...1909...> Message-ID: <200810121531.34213.gambas@...1...> On dimanche 12 octobre 2008, Doriano Blengino wrote: > > Tell me what your tests say to you - this is very interesting because I > did not try if that book was true or not. > Strange behaviours. If I replace INPUT OUTPUT by READ WRITE, the process does not write to its standard output anymore. But if I replace the "tr" program by "cat", then READ WRITE works as expected. So there is something different in "tr" that prevents him to work with the READ WRITE options. Moreover, sometimes the first write to the "tr" process fails (with a bad file descriptor error message). All that needs some investigation... Regards, -- Benoit Minisini From klaine8 at ...626... Sun Oct 12 16:00:36 2008 From: klaine8 at ...626... (Kari Laine) Date: Sun, 12 Oct 2008 17:00:36 +0300 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <200810121531.34213.gambas@...1...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810121309.52358.gambas@...1...> <48F1E485.60502@...1909...> <200810121531.34213.gambas@...1...> Message-ID: <61452b690810120700n1855e0a5v6e132f13aaf74c58@...627...> On Sun, Oct 12, 2008 at 4:31 PM, Benoit Minisini < gambas at ...1...> wrote: > On dimanche 12 octobre 2008, Doriano Blengino wrote: > > > > Tell me what your tests say to you - this is very interesting because I > > did not try if that book was true or not. > > > > Strange behaviours. > > If I replace INPUT OUTPUT by READ WRITE, the process does not write to its > standard output anymore. > > But if I replace the "tr" program by "cat", then READ WRITE works as > expected. > > So there is something different in "tr" that prevents him to work with the > READ WRITE options. > > Moreover, sometimes the first write to the "tr" process fails (with a bad > file > descriptor error message). > > All that needs some investigation... > > To test whether either WRITE or OUTPUT works without READ or INPUT I made a little filter which stores it input to output file. Here is the filter ------- #include int main() { int character; int lask; FILE *nHandle; printf("program started\n"); nHandle=fopen("/home/kari/output.txt","w"); character = getc(stdin); while(character != EOF) { //printf("%d",character); fputc(character,nHandle); character = getc(stdin); } close(nHandle); } ------------------------- Then I start process like this nProcess = EXEC ["/home/kari/dblpipe/a.out"] FOR WRITE I also tried OUTPUT instead of WRITE Then I have a button with code PUBLIC SUB Button1_Click() WRITE #nProcess, "heippa" & Chr(10) END I also tried PRINT instead of WRITE and with or without Chr(10). I can't get it working - nothing ends up in output.txt file. It could be a question of buffering somewhere but I don't know. Hopefully this process handling thing can be fixed (or not if it is a feature of Linux) because this would be great way to integrate to other programs. Every programming language has concept of stdin and stdout as far as I know. Thank you for all the help so far. Best Regards Kari Laine From gambas at ...1... Sun Oct 12 16:15:50 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 16:15:50 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <61452b690810120700n1855e0a5v6e132f13aaf74c58@...627...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <200810121531.34213.gambas@...1...> <61452b690810120700n1855e0a5v6e132f13aaf74c58@...627...> Message-ID: <200810121615.50685.gambas@...1...> On dimanche 12 octobre 2008, Kari Laine wrote: > On Sun, Oct 12, 2008 at 4:31 PM, Benoit Minisini < > > gambas at ...1...> wrote: > > On dimanche 12 octobre 2008, Doriano Blengino wrote: > > > Tell me what your tests say to you - this is very interesting because I > > > did not try if that book was true or not. > > > > Strange behaviours. > > > > If I replace INPUT OUTPUT by READ WRITE, the process does not write to > > its standard output anymore. > > > > But if I replace the "tr" program by "cat", then READ WRITE works as > > expected. > > > > So there is something different in "tr" that prevents him to work with > > the READ WRITE options. > > > > Moreover, sometimes the first write to the "tr" process fails (with a bad > > file > > descriptor error message). > > > > All that needs some investigation... > > > > To test whether either WRITE or OUTPUT works without READ or INPUT I made > > a > > little filter which stores it input to output file. > Here is the filter > ------- > #include > > int main() > { > int character; > int lask; > FILE *nHandle; > > printf("program started\n"); > nHandle=fopen("/home/kari/output.txt","w"); > > character = getc(stdin); > > > while(character != EOF) > { > //printf("%d",character); > fputc(character,nHandle); --> adds 'fflush(stdout);' there. > character = getc(stdin); > } > > close(nHandle); > > } > ------------------------- FILE, stdin and stdout are buffered streams managed by the C library on top of the read()/write() system calls. If you don't use fflush(), then Gambas will not see anything until: - A newline is written, in most cases (for example, a buffer on a terminal output). - The buffer is full (usually 4096 bytes). The condition of automatic output buffer flush can be configured in the C library with the setvbuf() function If I remember. Gambas has the equivalent: - If you open a file with READ/WRITE, you will use unbuffered streams, i.e. the read()/write() system calls directly. - If you open a file with INPUT/OUTPUT, you will use buffered streams, i.e. the FILE structure and the fXXXX() functions of the C library. Then, you must use the FLUSH instruction to ensure that buffered writes are sent to the write() system call. But the way file are buffered is not yet configurable. Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 12 16:27:14 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 12 Oct 2008 16:27:14 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <200810121531.34213.gambas@...1...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <48F1E485.60502@...1909...> <200810121531.34213.gambas@...1...> Message-ID: <200810121627.15030.gambas@...1...> On dimanche 12 octobre 2008, Benoit Minisini wrote: > On dimanche 12 octobre 2008, Doriano Blengino wrote: > > Tell me what your tests say to you - this is very interesting because I > > did not try if that book was true or not. > > Strange behaviours. > > If I replace INPUT OUTPUT by READ WRITE, the process does not write to its > standard output anymore. > > But if I replace the "tr" program by "cat", then READ WRITE works as > expected. > > So there is something different in "tr" that prevents him to work with the > READ WRITE options. > > Moreover, sometimes the first write to the "tr" process fails (with a bad > file descriptor error message). > > All that needs some investigation... > > Regards, OK, I think I have understoood. The behaviour is normal (except the 'bad file descriptor' error message). Try that in a shell: $ cat | tr "a-z" "A-Z" > tr.out This is an equivalent of what you tried to do in your program. Some things are sent to the input of "tr" line by line, and the output is put somewhere (inside a file in that case). I looked inside the source code of tr, and this tool uses buffered output. So: - If the output of 'tr' is a terminal (this is the case when you use INPUT OUTPUT in Gambas), then 'tr' output is automatically flushed at each end of line. - Otherwise, output is flushed when the buffer is full, i.e. when 'tr' has 4096 bytes to write. You see that in the shell command above. While you have not entered at least 4096 bytes, nothing is write in the tr.out file. I hope I was clear! Regards, -- Benoit Minisini From doriano.blengino at ...1909... Sun Oct 12 18:18:34 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sun, 12 Oct 2008 18:18:34 +0200 Subject: [Gambas-user] Help with SHELL and EXEC In-Reply-To: <200810121627.15030.gambas@...1...> References: <61452b690810091605i1eb87e6sa0e44f1df36c625b@...627...> <48F1E485.60502@...1909...> <200810121531.34213.gambas@...1...> <200810121627.15030.gambas@...1...> Message-ID: <48F2235A.3070609@...1909...> Benoit Minisini ha scritto: > > OK, I think I have understoood. The behaviour is normal (except the 'bad file > descriptor' error message). > > Try that in a shell: > > $ cat | tr "a-z" "A-Z" > tr.out > > This is an equivalent of what you tried to do in your program. Some things are > sent to the input of "tr" line by line, and the output is put somewhere > (inside a file in that case). > > I looked inside the source code of tr, and this tool uses buffered output. > > So: > - If the output of 'tr' is a terminal (this is the case when you use INPUT > OUTPUT in Gambas), then 'tr' output is automatically flushed at each end of > line. > - Otherwise, output is flushed when the buffer is full, i.e. when 'tr' has > 4096 bytes to write. > > You see that in the shell command above. While you have not entered at least > 4096 bytes, nothing is write in the tr.out file. > > I hope I was clear! > > Regards, > Yes, things seem to be so. I tried the project again, but writing 1024, or 256, or 128 bytes at a time. It seems that the buffer is 1024 bytes: when writing chunks of 1024 bytes, the reply is instantaneous; when writing 256 bytes, it takes 4 writes before tr replies; when writing 128 bytes, it takes eight writes. So, the buffer is 1024 bytes (on my system). I also added a button to close the stream at will. After writing a single byte, and nothing seen in the textArea, a "close #nProcess" makes the buffer flushes in textarea, and the tr program finishes. So, the last info to Kari is: don't forget to close the stream, and all works as expected (except the bad file descriptor, you say). Regards. From ron at ...1740... Sun Oct 12 20:38:37 2008 From: ron at ...1740... (Ron) Date: Sun, 12 Oct 2008 20:38:37 +0200 Subject: [Gambas-user] Accesing workspace's Tabs In-Reply-To: <200810111904.05235.gambas@...1...> References: <200810111904.05235.gambas@...1...> Message-ID: <48F2442D.5040702@...1740...> Benoit Minisini wrote: > On samedi 11 octobre 2008, Jorge Carri?n wrote: > >> How can I access to workspace' tabs? >> I've a form with a workspace that I fill with wrkspc.add(window) function. >> But the active tab is the last I've added and I want the first tab I've add >> as the active tab when the user open de form. >> I'tried things like wrksp.children[0].setfocus and so, but doesn't work. >> How is the correct sintaxis? >> Thanks >> Jorge >> > > Workspace.ActiveWindow = The window you want to see. > > I use this routine in my app, if a workspace is not already created it will be, if it is, it activates it ' load a page onto the workspace, or give already loaded page focus. PUBLIC SUB OpenPage(hForm AS Form) wrkMain.Add(hForm) wrkMain.ActiveWindow = hForm END Regards, Ron_2nd From jbskaggs at ...1871... Mon Oct 13 23:52:56 2008 From: jbskaggs at ...1871... (jbskaggs) Date: Mon, 13 Oct 2008 14:52:56 -0700 (PDT) Subject: [Gambas-user] Html versus RTF format in TextEdit Message-ID: <19963633.post@...1379...> In Gambas 2.5 I could not get .rtf files from Abi or Openoffice to load into Textedit properly. But TextEdit loads HTML very nicely. Am I to assume that for rich text editing we are to use to HTML/XML format and not the *.rtf format generated by word processors? If Textedit can properly read and parse *.rtf how do I set textedit to do this? Because for now it displays all the style settings etc as text. For th time being I am using the html/xml format, but RTF would seem a better option. Thoughts anyone? JB -- View this message in context: http://www.nabble.com/Html-versus-RTF-format-in-TextEdit-tp19963633p19963633.html Sent from the gambas-user mailing list archive at Nabble.com. From jbskaggs at ...1871... Tue Oct 14 01:32:04 2008 From: jbskaggs at ...1871... (jbskaggs) Date: Mon, 13 Oct 2008 16:32:04 -0700 (PDT) Subject: [Gambas-user] embed OpenOffice In-Reply-To: <200810112049.09729.gambas@...1...> References: <19929257.post@...1379...> <48F0F514.30300@...1909...> <200810112049.09729.gambas@...1...> Message-ID: <19964766.post@...1379...> I can get Abiword to embed. Openoffice is still giving me a fit. I got it to embed once but could not duplicate it. Is it possible that OpenOffice specifically did their window names like this to keep people from embedding it? Or at least difficult. I have tried searching by both window classes by the strings open, office, text, etc by the window id All I ever get is a out of bounds error here is my code: (which works great with Abiword) PUBLIC SUB Presence_Embed(windowTitle AS String) DIM key AS Pointer[] DIM i AS Integer WAIT 3.0 key = Desktop.Find(windowTitle) i = key[0] Embedder1.Embed(i) Embedder1.SetFocus Embedder1.Visible = TRUE END PUBLIC SUB Form_Open() DIM iWindowInfoArray AS Integer SHELL "ooffice -writer " & Quote.Shell(FChandScn.htmlpath) ' $MplayerProc = EXEC ["/usr/bin/vlc", "-I", "rc"] FOR INPUT OUTPUT AS '"$mplayerproc" 'starts vlc command line in a process ' PRINT #$mplayerproc, "add /home/lee/nip.avi" 'adds a sample movie 'TO the playlist AND starts it Presence_Embed("text") <<<<<<<<<<<<<<<<<<<<<<<<<< this is where I tried the various strings to search by END Thanks JB Benoit Minisini wrote: > > On samedi 11 octobre 2008, Doriano Blengino wrote: >> jbskaggs ha scritto: >> > I have looked at the embedder example. I have looked at every post on >> > this forum on finding the title of the new window. >> > >> > I cannot figure it out and get it to work. >> > >> > Could somebody have pity and show me how to get the title of the window >> > when I shell to Openoffice and how to give it to the embedder? >> > >> > JB >> >> You can use xwininfo to look at window information. "xlsclients -al" >> shows many informations about windows. >> >> On my PC I did this test after launching openoffice: >> >> doriano at ...1993...:/root$ xlsclients -la >> Window 0x1c00005: >> Machine: doripc >> Name: mrxvt >> Icon Name: mrxvt >> Command: mrxvt -xft -xftfm FreeMono -xftsz 11 -vb -geometry 90x30 >> Instance/Class: mrxvt/XTerm >> Window 0x120000a: >> Machine: doripc >> Name: kicker >> Command: kicker >> Instance/Class: kicker/Kicker >> Window 0x400001: >> Machine: doripc >> Name: Mozilla-Thunderbird >> Icon Name: icedove-bin >> Command: icedove-bin >> Instance/Class: icedove-bin/Icedove-bin >> Window 0x1a00001: >> '' Command: /bin/sh /usr/lib/openoffice/program/soffice >> >> >> Now I see that the window 0x1a00001 is the window I am interested in, so >> I issue: >> >> doripc:~# xprop -id 0x1a00001 >> WM_COMMAND(STRING) = { "/bin/sh", "/usr/lib/openoffice/program/soffice" } >> WM_CLIENT_LEADER(WINDOW): window id # 0x1a00001 >> _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 3979416247 >> >> ...just to discover that that window seems not to have a name... >> >> So, while a common method to find a window was Desktop.find() (look at >> previous messages in this list), this time may be that doesn't work. >> Perhaps you can 'SHELL "xlsclients -la" TO sXls', and then parse sXls to >> find out the window ID. Desktop.Find() can be used to get all the >> windows, >> but then don't know how to get more information. One way could be to >> execute a find, then launch openoffice, then do a find again to see what >> window has been added... >> >> Hope this could help. >> >> Doriano. >> >> > > You have to look at the "window class": > > $ xprop > > ... > WM_CLASS(STRING) = "VCLSalFrame.DocumentWindow", "OpenOffice.org 2.4" > ... > > Desktop.Find can look for a specific window class with its second > argument. I > don't know if it works in that case, because apparently the OpenOffice > window > has two classes! > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://www.nabble.com/embed-OpenOffice-tp19929257p19964766.html Sent from the gambas-user mailing list archive at Nabble.com. From jbskaggs at ...1871... Tue Oct 14 01:32:45 2008 From: jbskaggs at ...1871... (jbskaggs) Date: Mon, 13 Oct 2008 16:32:45 -0700 (PDT) Subject: [Gambas-user] embed OpenOffice Message-ID: <19964766.post@...1379...> I can get Abiword to embed. Openoffice is still giving me a fit. I got it to embed once but could not duplicate it. Is it possible that OpenOffice specifically did their window names like this to keep people from embedding it? Or at least difficult. I have tried searching by both window classes by the strings open, office, text, etc by the window id All I ever get is a out of bounds error here is my code: (which works great with Abiword) PUBLIC SUB Presence_Embed(windowTitle AS String) DIM key AS Pointer[] DIM i AS Integer WAIT 3.0 key = Desktop.Find(windowTitle) i = key[0] Embedder1.Embed(i) Embedder1.SetFocus Embedder1.Visible = TRUE END PUBLIC SUB Form_Open() DIM iWindowInfoArray AS Integer SHELL "ooffice -writer " & Quote.Shell(FChandScn.htmlpath) Presence_Embed("text") <<<<<<<<<<<<<<<<<<<<<<<<<< this is where I tried the various strings to search by END Thanks JB Benoit Minisini wrote: > > On samedi 11 octobre 2008, Doriano Blengino wrote: >> jbskaggs ha scritto: >> > I have looked at the embedder example. I have looked at every post on >> > this forum on finding the title of the new window. >> > >> > I cannot figure it out and get it to work. >> > >> > Could somebody have pity and show me how to get the title of the window >> > when I shell to Openoffice and how to give it to the embedder? >> > >> > JB >> >> You can use xwininfo to look at window information. "xlsclients -al" >> shows many informations about windows. >> >> On my PC I did this test after launching openoffice: >> >> doriano at ...1993...:/root$ xlsclients -la >> Window 0x1c00005: >> Machine: doripc >> Name: mrxvt >> Icon Name: mrxvt >> Command: mrxvt -xft -xftfm FreeMono -xftsz 11 -vb -geometry 90x30 >> Instance/Class: mrxvt/XTerm >> Window 0x120000a: >> Machine: doripc >> Name: kicker >> Command: kicker >> Instance/Class: kicker/Kicker >> Window 0x400001: >> Machine: doripc >> Name: Mozilla-Thunderbird >> Icon Name: icedove-bin >> Command: icedove-bin >> Instance/Class: icedove-bin/Icedove-bin >> Window 0x1a00001: >> '' Command: /bin/sh /usr/lib/openoffice/program/soffice >> >> >> Now I see that the window 0x1a00001 is the window I am interested in, so >> I issue: >> >> doripc:~# xprop -id 0x1a00001 >> WM_COMMAND(STRING) = { "/bin/sh", "/usr/lib/openoffice/program/soffice" } >> WM_CLIENT_LEADER(WINDOW): window id # 0x1a00001 >> _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 3979416247 >> >> ...just to discover that that window seems not to have a name... >> >> So, while a common method to find a window was Desktop.find() (look at >> previous messages in this list), this time may be that doesn't work. >> Perhaps you can 'SHELL "xlsclients -la" TO sXls', and then parse sXls to >> find out the window ID. Desktop.Find() can be used to get all the >> windows, >> but then don't know how to get more information. One way could be to >> execute a find, then launch openoffice, then do a find again to see what >> window has been added... >> >> Hope this could help. >> >> Doriano. >> >> > > You have to look at the "window class": > > $ xprop > > ... > WM_CLASS(STRING) = "VCLSalFrame.DocumentWindow", "OpenOffice.org 2.4" > ... > > Desktop.Find can look for a specific window class with its second > argument. I > don't know if it works in that case, because apparently the OpenOffice > window > has two classes! > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://www.nabble.com/embed-OpenOffice-tp19929257p19964766.html Sent from the gambas-user mailing list archive at Nabble.com. From jbskaggs at ...1871... Tue Oct 14 02:13:58 2008 From: jbskaggs at ...1871... (jbskaggs) Date: Mon, 13 Oct 2008 17:13:58 -0700 (PDT) Subject: [Gambas-user] embed OpenOffice In-Reply-To: <19964766.post@...1379...> References: <19929257.post@...1379...> <48F0F514.30300@...1909...> <200810112049.09729.gambas@...1...> <19964766.post@...1379...> Message-ID: <19965155.post@...1379...> Okay I have both Abiword and Openoffice embedding properly. The issue was a missing space at the end of the window name. Anyway now both of the applications while running as embedded features do not respond to the mouse properly. You have multi click or rick click and cancel to get the curser on either program to move to the new location and the scrollbars do not respond to the mouse. Is that normal for embedded objects? JB jbskaggs wrote: > > I can get Abiword to embed. Openoffice is still giving me a fit. I got > it to embed once but could not duplicate it. Is it possible that > OpenOffice specifically did their window names like this to keep people > from embedding it? Or at least difficult. > > I have tried searching by both window classes > by the strings open, office, text, etc > by the window id > All I ever get is a out of bounds error > > here is my code: (which works great with Abiword) > > PUBLIC SUB Presence_Embed(windowTitle AS String) > DIM key AS Pointer[] > DIM i AS Integer > WAIT 3.0 > key = Desktop.Find(windowTitle) > i = key[0] > Embedder1.Embed(i) > Embedder1.SetFocus > Embedder1.Visible = TRUE > END > > PUBLIC SUB Form_Open() > > DIM iWindowInfoArray AS Integer > SHELL "ooffice -writer " & Quote.Shell(FChandScn.htmlpath) > Presence_Embed("text") <<<<<<<<<<<<<<<<<<<<<<<<<< this is where I tried > the various strings to search by > > END > > Thanks > JB > > > > Benoit Minisini wrote: >> >> On samedi 11 octobre 2008, Doriano Blengino wrote: >>> jbskaggs ha scritto: >>> > I have looked at the embedder example. I have looked at every post on >>> > this forum on finding the title of the new window. >>> > >>> > I cannot figure it out and get it to work. >>> > >>> > Could somebody have pity and show me how to get the title of the >>> window >>> > when I shell to Openoffice and how to give it to the embedder? >>> > >>> > JB >>> >>> You can use xwininfo to look at window information. "xlsclients -al" >>> shows many informations about windows. >>> >>> On my PC I did this test after launching openoffice: >>> >>> doriano at ...1993...:/root$ xlsclients -la >>> Window 0x1c00005: >>> Machine: doripc >>> Name: mrxvt >>> Icon Name: mrxvt >>> Command: mrxvt -xft -xftfm FreeMono -xftsz 11 -vb -geometry 90x30 >>> Instance/Class: mrxvt/XTerm >>> Window 0x120000a: >>> Machine: doripc >>> Name: kicker >>> Command: kicker >>> Instance/Class: kicker/Kicker >>> Window 0x400001: >>> Machine: doripc >>> Name: Mozilla-Thunderbird >>> Icon Name: icedove-bin >>> Command: icedove-bin >>> Instance/Class: icedove-bin/Icedove-bin >>> Window 0x1a00001: >>> '' Command: /bin/sh /usr/lib/openoffice/program/soffice >>> >>> >>> Now I see that the window 0x1a00001 is the window I am interested in, so >>> I issue: >>> >>> doripc:~# xprop -id 0x1a00001 >>> WM_COMMAND(STRING) = { "/bin/sh", "/usr/lib/openoffice/program/soffice" >>> } >>> WM_CLIENT_LEADER(WINDOW): window id # 0x1a00001 >>> _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 3979416247 >>> >>> ...just to discover that that window seems not to have a name... >>> >>> So, while a common method to find a window was Desktop.find() (look at >>> previous messages in this list), this time may be that doesn't work. >>> Perhaps you can 'SHELL "xlsclients -la" TO sXls', and then parse sXls to >>> find out the window ID. Desktop.Find() can be used to get all the >>> windows, >>> but then don't know how to get more information. One way could be to >>> execute a find, then launch openoffice, then do a find again to see what >>> window has been added... >>> >>> Hope this could help. >>> >>> Doriano. >>> >>> >> >> You have to look at the "window class": >> >> $ xprop >> >> ... >> WM_CLASS(STRING) = "VCLSalFrame.DocumentWindow", "OpenOffice.org 2.4" >> ... >> >> Desktop.Find can look for a specific window class with its second >> argument. I >> don't know if it works in that case, because apparently the OpenOffice >> window >> has two classes! >> >> Regards, >> >> -- >> Benoit Minisini >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > -- View this message in context: http://www.nabble.com/embed-OpenOffice-tp19929257p19965155.html Sent from the gambas-user mailing list archive at Nabble.com. From rterry at ...1946... Tue Oct 14 03:00:36 2008 From: rterry at ...1946... (richard terry) Date: Tue, 14 Oct 2008 12:00:36 +1100 Subject: [Gambas-user] Html versus RTF format in TextEdit In-Reply-To: <19963633.post@...1379...> References: <19963633.post@...1379...> Message-ID: <200810141200.36557.rterry@...1946...> On Tuesday 14 October 2008 08:52:56 jbskaggs wrote: > In Gambas 2.5 I could not get .rtf files from Abi or Openoffice to load > into Textedit properly. But TextEdit loads HTML very nicely. > > Am I to assume that for rich text editing we are to use to HTML/XML format > and not the *.rtf format generated by word processors? > > If Textedit can properly read and parse *.rtf how do I set textedit to do > this? > > Because for now it displays all the style settings etc as text. > > For th time being I am using the html/xml format, but RTF would seem a > better option. > > Thoughts anyone? > > JB TextEdit can only do html, unless of course you convert the .rtf to html on the fly yourself. As a rudimentary word processor it works quite well using html, I use it extensively in my program, and just save my letters etc as html, which has the added advantage I can use the khtml (konqueror) control to re-display them. The only annoyance I find is that one has to use ctrl-enter to get a new line without a

character, but I've successfully been able to embed pictures and save everything back to postres. Regards Richard From gambas at ...1938... Tue Oct 14 15:09:06 2008 From: gambas at ...1938... (gambas at ...1938...) Date: Tue, 14 Oct 2008 15:09:06 +0200 Subject: [Gambas-user] settings.read() Message-ID: <200810141509.06444.gambas@...1938...> Dear List, I want to read a settings file, which is not located in the standard directory (User.Home &/ ".config/gambas" &/ Application.Name & ".conf"). Is "Seetings.Read" the right solution for this purpose? When yes, can anybody give me an example in form of a code snipplet, please? TIA Stevie From almanova at ...1228... Tue Oct 14 16:28:33 2008 From: almanova at ...1228... (Almanova Sistemi) Date: Tue, 14 Oct 2008 16:28:33 +0200 Subject: [Gambas-user] Table view In-Reply-To: <200810141200.36557.rterry@...1946...> References: <19963633.post@...1379...> <200810141200.36557.rterry@...1946...> Message-ID: <48F4AC91.10801@...1228...> hello, how I can resize the height of a row of a table-view during run time ? Thank's Massimo. From rospolosco at ...152... Tue Oct 14 17:26:58 2008 From: rospolosco at ...152... (Stefano Palmeri) Date: Tue, 14 Oct 2008 17:26:58 +0200 Subject: [Gambas-user] Table view In-Reply-To: <48F4AC91.10801@...1228...> References: <19963633.post@...1379...> <200810141200.36557.rterry@...1946...> <48F4AC91.10801@...1228...> Message-ID: <200810141726.59209.rospolosco@...152...> Il marted? 14 ottobre 2008 16:28:33 Almanova Sistemi ha scritto: > hello, > > how I can resize the height of a row of a table-view during run time ? > > Thank's > i.e.: TableView1.Rows.Height = 2000 Ciao, Stefano > > Massimo. > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From klaine8 at ...626... Tue Oct 14 17:27:31 2008 From: klaine8 at ...626... (Kari Laine) Date: Tue, 14 Oct 2008 18:27:31 +0300 Subject: [Gambas-user] gb.crypt ? Message-ID: <61452b690810140827p5b8e1bd9g3da71625c152e11a@...627...> Hi, could someone please send a little example how to use gb.crypt's MD5 to calculate checksum for a file? Best Regards Kari Laine From rospolosco at ...152... Tue Oct 14 17:47:49 2008 From: rospolosco at ...152... (Stefano Palmeri) Date: Tue, 14 Oct 2008 17:47:49 +0200 Subject: [Gambas-user] gb.crypt ? In-Reply-To: <61452b690810140827p5b8e1bd9g3da71625c152e11a@...627...> References: <61452b690810140827p5b8e1bd9g3da71625c152e11a@...627...> Message-ID: <200810141747.49262.rospolosco@...152...> Il marted? 14 ottobre 2008 17:27:31 Kari Laine ha scritto: > Hi, > > could someone please send a little example how to use gb.crypt's MD5 to > calculate checksum for a file? > > > Best Regards > Kari Laine Reading the Gambas help, I don't think this is gb.c goal. -------------------------- gb.crypt This component allows you to crypt a password and to compare crypted passwords by using the DES or MD5 algoritm implemented in the GNU libc library. -------------------------- but I may be wrong. Use SHELL: DIM smd5checksum AS String SHELL "md5sum " & path_to_file & " | cut -f1 -d ' ' " TO smd5checksum Ciao, Stefano > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From klaine8 at ...626... Tue Oct 14 17:58:53 2008 From: klaine8 at ...626... (Kari Laine) Date: Tue, 14 Oct 2008 18:58:53 +0300 Subject: [Gambas-user] gb.crypt ? In-Reply-To: <200810141747.49262.rospolosco@...152...> References: <61452b690810140827p5b8e1bd9g3da71625c152e11a@...627...> <200810141747.49262.rospolosco@...152...> Message-ID: <61452b690810140858p78a60de4gbc1fa31c496680c0@...627...> On Tue, Oct 14, 2008 at 6:47 PM, Stefano Palmeri wrote: > Il marted? 14 ottobre 2008 17:27:31 Kari Laine ha scritto: > > Hi, > > > > could someone please send a little example how to use gb.crypt's MD5 to > > calculate checksum for a file? > > > > > > Best Regards > > Kari Laine > > > Reading the Gambas help, I don't think this is gb.c goal. > > -------------------------- > gb.crypt > This component allows you to crypt a password and to compare crypted > passwords > by using the DES or MD5 algoritm implemented in the GNU libc library. > -------------------------- > > but I may be wrong. Use SHELL: > > DIM smd5checksum AS String > > SHELL "md5sum " & path_to_file & " | cut -f1 -d ' ' " TO smd5checksum > > Ciao, > > Stefano > Hi Stefano, thanks. Should have looked the docs.... Best Regards Kari Laine From almanova at ...1228... Tue Oct 14 19:41:09 2008 From: almanova at ...1228... (Almanova Sistemi) Date: Tue, 14 Oct 2008 19:41:09 +0200 Subject: [Gambas-user] Table view In-Reply-To: <200810141726.59209.rospolosco@...152...> References: <19963633.post@...1379...> <200810141200.36557.rterry@...1946...> <48F4AC91.10801@...1228...> <200810141726.59209.rospolosco@...152...> Message-ID: <48F4D9B5.7030102@...1228...> Stefano Palmeri ha scritto: > Il marted? 14 ottobre 2008 16:28:33 Almanova Sistemi ha scritto: > >> hello, >> >> how I can resize the height of a row of a table-view during run time ? >> >> Thank's >> >> > > i.e.: > > TableView1.Rows.Height = 2000 > > Ciao, > > Stefano > > >> Massimo. >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Ok, I have tried with your instuction during TableView_Data event and I get a "Stack Overflow" messages. Why? Regards, Massimo. From gambas at ...1938... Tue Oct 14 20:36:27 2008 From: gambas at ...1938... (gambas at ...1938...) Date: Tue, 14 Oct 2008 20:36:27 +0200 Subject: [Gambas-user] Test! Sorry! Message-ID: <200810142036.27526.gambas@...1938...> Hi List! Today I sent a Mail to this list with topic "settings.read()", but it was bounced, because "UNTRUSTED bli bla blub" :-( ....so this is a test! Are there other people around, having the same probs? Sorry again for pollution! Stevie From m0e.lnx at ...626... Tue Oct 14 20:36:43 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Tue, 14 Oct 2008 13:36:43 -0500 Subject: [Gambas-user] How to nest a checkbox into a gridview's field Message-ID: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> Here is what I'd like to do... Not sure how to do it or if it is possible at all I want to have an object like a gridview or tableview where I can have at least 3 columns Column1 will have a checkbox (boolean) value Column2 will have a string value (could be a textlabel or just the field's .text value) Column3 will have an interger value (could also use string... not necessarily interger) The idea is to create a list of items... say file names to copy to some location This window would copy all the files that have the checkbox set to TRUE on column1 I know the gridview and tableview are not container objects, so I can't create a checkbox into either one of them Does anyone have any idea how this could be done? From m0e.lnx at ...626... Tue Oct 14 20:49:15 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Tue, 14 Oct 2008 13:49:15 -0500 Subject: [Gambas-user] Test! Sorry! In-Reply-To: <200810142036.27526.gambas@...1938...> References: <200810142036.27526.gambas@...1938...> Message-ID: <1f1e8c1b0810141149i7eede06dj4730de26986ca92c@...627...> not me On Tue, Oct 14, 2008 at 1:36 PM, wrote: > Hi List! > > Today I sent a Mail to this list with topic "settings.read()", but it was > bounced, because "UNTRUSTED bli bla blub" :-( ....so this is a test! > Are there other people around, having the same probs? > > Sorry again for pollution! > Stevie > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Tue Oct 14 21:03:00 2008 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Tue, 14 Oct 2008 21:03:00 +0200 Subject: [Gambas-user] Accesing workspace's tabs Message-ID: > Ron_2nd wrote: > use this routine in my app, if a workspace is not already created it > will be, if it is, it activates it > > ' load a page onto the workspace, or give already loaded page focus. > PUBLIC SUB OpenPage(hForm AS Form) > > wrkMain.Add(hForm) > wrkMain.ActiveWindow = hForm > > END > > Regards, > Ron_2nd I think than when you Add a workspace it becomes the ActiveWindow by default. So if in you function hForm already exists it should duplicate the tabstrip. Ins't it? Perhaps the right code should be something like this: PUBLIC SUB OpenPage(hForm AS Form) TRY wrkMain.Activewindows= hForm If error then WrkMain.Add(hForm) END Isn't it? Thanks for your answer. Jorge From doriano.blengino at ...1909... Tue Oct 14 22:18:38 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Tue, 14 Oct 2008 22:18:38 +0200 Subject: [Gambas-user] Table view In-Reply-To: <48F4D9B5.7030102@...1228...> References: <19963633.post@...1379...> <200810141200.36557.rterry@...1946...> <48F4AC91.10801@...1228...> <200810141726.59209.rospolosco@...152...> <48F4D9B5.7030102@...1228...> Message-ID: <48F4FE9E.5090605@...1909...> Almanova Sistemi ha scritto: > Stefano Palmeri ha scritto: > >> TableView1.Rows.Height = 2000 >> > Ok, > I have tried with your instuction during TableView_Data event and I get > a "Stack Overflow" messages. > > Why? > ...because, apparently, changing the height of a row makes the tableview think it needs data again, so it fires a data event, which changes height, wich fires data event, which... ...fills up the stack. One way to avoid this is to use a lock variable: private dontreenter as boolean public sub TableView_data(...) if dontreenter then return dontreenter = true ... ... dontreenter = false end sub Take care to reset dontreenter in every occasion you exit the xxx_data() event handler. Have fun with the stack... Ciao, Doriano From doriano.blengino at ...1909... Tue Oct 14 22:26:29 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Tue, 14 Oct 2008 22:26:29 +0200 Subject: [Gambas-user] Table view In-Reply-To: <48F4FE9E.5090605@...1909...> References: <19963633.post@...1379...> <200810141200.36557.rterry@...1946...> <48F4AC91.10801@...1228...> <200810141726.59209.rospolosco@...152...> <48F4D9B5.7030102@...1228...> <48F4FE9E.5090605@...1909...> Message-ID: <48F50075.3050703@...1909...> Doriano Blengino ha scritto: > Almanova Sistemi ha scritto: > >> Stefano Palmeri ha scritto: >> >> >>> TableView1.Rows.Height = 2000 >>> >>> >> Ok, >> I have tried with your instuction during TableView_Data event and I get >> a "Stack Overflow" messages. >> >> Why? >> >> > ...because, apparently, changing the height of a row makes the tableview > think it needs data again, so it fires a data event, which changes > height, wich fires data event, which... ...fills up the stack. > Just forgot the simplest solution - why should you change the height in the data() handler? Do it somewhere else... the stack will be less funny, but surely something else will make you smile :->> From klaine8 at ...626... Tue Oct 14 23:30:55 2008 From: klaine8 at ...626... (Kari Laine) Date: Wed, 15 Oct 2008 00:30:55 +0300 Subject: [Gambas-user] I think I found a bug in gambas Message-ID: <61452b690810141430u7ff9b6d4mecc128026ae8c9e6@...627...> Hi, I am making a backup program and I stumbled on vierd file names. genisoimage don't like them and when I started to make a cleanup routine with Gambas it also don't like them. This is bit difficult to describe. First the error I get when trying to search "gen.zip" in console window is "This application has raised an unexpected error and must abort" "[32] Bad string conversion. FOutput.Search 302" The routine to print file-names to console window is this. ------------------ PUBLIC SUB Button3_Click() DIM sDir2 AS String DIM sFile2 AS String sDir2 = "/home/kari/backup_work/cdroot/mnt/sde1/backup_kokeilu/kari14/vb_samples2/" FOR EACH sFile2 IN Dir(sDir2, "*") PRINT sFile2 NEXT END ---------------- Sorry this is long. Contents of console window when searching causes error is: 12-20-24.07.01_H??ng-Men_setup.zip 12-50-25.08.01_Progressbar.zip 20-21-05.02.01_Mathe.zip 15-44-16.08.02_CheckSum.bas 11-37-16.03.01_Server.zip 14-23-15.10.00_RC.zip 18-59-13.05.01_Skin.dll 13-30-04.09.01_GetRes.zip terminkalender.zip 09-20-11.10.02_DAO-DS-Navigation.zip 14-14-14.03.01_ButRot.zip 21-40-18.07.01_zipstudio.zip 00-51-24.01.02_BubbleWindow.zip 15-53-10.10.00_Desktopschutz.zip 14-27-22.07.01_ScannerVB.ZIP 16-27-19.12.00_Shape_Klick_Regions.zip 12-16-21.06.01_Skin.zip 19-05-14.06.02_BPPTest - Bitte Testen.zip 14-54-22.08.02_ST DISK WIZARD.zip 20-26-01.01.02_WINTIMER.ZIP 21-26-12.10.02_Autorunrepair.zip 23-35-30.11.02_DJ Player1.0.zip 23-04-04.04.01_Cache_IE5_l?schen.zip 22-31-17.01.03_icon-progressbar.zip 16-02-12.11.01_cpb.zip 14-43-18.06.02_APIs_f??r_ComboBox_+_ListBox.zip 18-38-28.05.02_SaeulenDiagramm-ActiveVB.zip 21-54-01.11.02_Properties2.zip 13-59-03.08.01_Url_Datenbank.zip 08-06-08.01.02_EMail_mit_Anhang_ShellExecute.zip 16-01-02.08.02_Virtuelle Desktops - Update 3.zip 21-46-02.11.00_Ser_nr.rtf 21-54-17.11.02_StartIt.zip 11-06-25.06.01_Babylon.zip 03-15-17.07.01_ADO_Beipiel.zip 21-55-10.06.01_CacheDeleter.zip 16-47-23.10.01_Zahlenratespiel.zip 16-29-27.11.00_Executes_in_Ressourcen.zip 14-16-05.01.02_Euro.zip 18-32-20.02.01_ExApiViewerText.zip 18-09-17.12.01_Highlighting.zip 06-48-21.11.01_MathML.zip 09-53-10.04.01_Galgenmann.zip 23-01-12.09.01_Transparente_Picbox.zip 17-05-11.11.02_beispiel.zip 11-31-19.08.02_implementation.zip 16-04-10.10.02_BenutzerMen??.zip 23-04-04.04.01_Cache_IE5_l??schen.zip 23-11-22.06.01_Verschl??sselung.zip 21-09-30.12.00_Systemmen??_des_Fensters_erweitern.zip 22-49-04.09.01_SMS_V01.zip 10-17-21.08.02_createmenu.zip 20-14-09.09.01_W??rfel.zip 16-06-08.02.01_Ascii.zip 22-37-17.06.02_VB ZeilenZ??hler.zip 18-05-26.09.02_WindowsApplication1.zip 11-53-03.02.03_PrintCheckBoxes.zip 17-34-27.05.01_Archiv.zip 16-48-05.03.01_Schneiden_sich_2_Linien.zip 19-30-05.10.02_wsksock.bas 16-58-20.12.00_clsRegFunctions.zip 20-28-02.08.01_r??tsel.zip 13-17-03.08.01_download.zip 15-50-18.10.00_mtgd.zip 16-12-14.12.01_Data1.zip 14-43-21.06.02_SendMB.zip 17-11-12.11.00_Progressbar_Update.zip 14-07-28.09.01_App.zip 20-47-08.12.01_Form1.zip 10-28-01.06.01_AlphaBlend.zip 19-56-13.07.01_Bios_Auslesen.ace 14-13-16.07.01_The_IP_Finder.zip 18-17-14.05.01_FileSearch.ZIP 19-49-29.06.01_alphablending.zip 13-28-10.12.02_Crypto+x.zip 12-51-25.12.02_MeinBackup.zip 20-42-02.11.01_ie_toolband_hinzuf??gen.zip 23-32-11.02.02_NetzwerktestServer.zip 18-32-26.04.02_Rc_HTML-Request.zip 16-48-06.10.01_DOS_BOX_auslesen.zip 13-11-18.01.01_Portscanner.zip 14-17-29.04.01_IPauslesen.zip 00-36-22.09.02_FormParser.zip 15-32-31.10.00_Coder.zip 04-58-01.02.02_EventTest.zip 22-19-19.06.01_Testen_ob_man_Online_ist.zip 14-11-08.07.02_Aufloesung und Wiedeholfrequenz aendern.zip 17-08-06.11.02_Credits.zip 17-48-08.08.02_TeleInfo.zip 17-54-23.09.01_Kanzer_&_Pr??sidenten.zip 09-15-14.09.01_VBDocuHilfe.txt 14-49-25.10.01_LSRegistry.zip 14-41-20.01.01_basMidiWave.bas 00-59-01.11.01_Shutdown.zip 16-26-02.11.02_stcd.zip 18-31-11.07.01_ActiveString.msi 11-56-06.06.01_Pop3check.zip 00-14-08.11.01_WinFrac.zip 16-42-22.01.02_ClassenArray.zip 17-47-16.09.01_FeiertageArbeitstage.ZIP 11-46-29.09.02_ST DISK WIZARD XP.zip 16-04-03.10.01_DeBeckerAudioPlayer.zip 20-11-01.02.01_Pythagoras.zip 11-43-16.01.02_ListBoxFilter.zip 12-23-11.10.00_chgFileTime.zip 17-07-10.10.01_System at ...1995... 15-23-26.09.01_APIPopupControl.zip 11-56-08.11.02_Paramqry.zip 16-58-29.10.01_WinXP.zip 20-20-07.12.01_Laden_von_Strings.zip 14-22-26.12.01_W??hrungs-Profi.zip 14-50-22.12.01_Schickes_Fade_IN_Fade_Out_Beispiel.zip 14-49-24.03.01_pong.zip 14-06-18.06.02_backup_maker.zip 14-43-14.11.01_mod_Setup.zip 20-41-04.05.01_HTML-Bild.zip 01-00-04.08.01_registry.zip 22-45-15.12.01_GetTextLength.zip 14-26-13.05.01_Worzel.zip 20-14-09.09.01_W?rfel.zip 13-05-27.03.01_FlexGrid_-_Eingabe_erlauben.zip 19-49-31.05.01_Pictureviewer1.2.zip 12-59-07.01.01_Dateinamen_k?rzen.zip 14-14-28.04.01_Kryptanalyse_von_Crypt.doc 12-14-20.09.01_vbreg.zip 16-15-07.12.01_modID3Tag.zip 16-02-14.12.02_laufschrift.zip 19-22-02.02.01_Media3.zip 14-07-03.11.01_Nw.zip 12-31-15.11.02_MP3-Player.zip 15-15-18.04.02_PLock.zip 14-55-16.10.01_netstat_api.zip 15-21-29.10.00_FileTime.zip 20-48-17.07.01_BobDemo.zip 18-41-11.01.01_Zufall.zip 09-51-05.09.02_Access97DBPasswort.zip 18-16-07.06.02_Player.zip 22-59-24.07.02_designstudie.zip 12-52-08.09.01_Bw_Learntool.zip 00-05-20.11.00_DeTager.zip 19-11-16.06.02_Snake.zip 11-51-14.08.01_ImageComboBeispiel.zip 12-16-07.07.01_msgBalloon.zip 17-23-13.01.03_Numerologie v2.zip 12-22-29.11.02_Pfad?berpr?fung durch ShellExecute.zip 20-14-03.01.01_video1.0.zip 18-17-24.08.01_Snake.zip 14-45-05.03.02_Pi1.zip 13-05-25.12.00_Ostersonntag.zip 17-10-30.09.01_prim.frm 10-26-16.09.02_smartpad.zip 19-51-31.05.01_Textverarbeitung.zip 15-46-15.09.02_Shell ausf?ren und umleiten.zip 18-42-21.12.01_Zeitmaschine.zip 18-07-02.02.02_Gro??e_Potenzen_errechen.zip 17-59-14.11.00_MSHFLEXGRID.zip 13-39-16.11.02_DJ Player1.0.zip 20-10-15.10.01_Formblending.zip 19-23-31.10.02_bspSinus.zip 15-39-28.09.01_PortScanner.zip 19-30-20.09.01_stpic.zip 04-15-28.08.01_chat.zip 19-35-25.12.01_MoveLine.zip 22-18-27.10.01_CD-Rom-Laufwerks_Namen_finden.zip 09-26-21.10.01_ExeFileView.zip 17-13-14.08.01_urlman.zip 17-46-14.11.01_Taschenrechner.zip 23-13-20.01.02_ADO_Adress_Demo.zip 14-56-14.10.02_clsAllAround2.zip 22-32-17.01.01_Cixxv10.zip 20-20-02.11.00_Base64.zip 18-36-13.03.01_Update_Spiel.zip 13-14-21.10.02_Komma2Punkt.zip 12-35-07.07.01_patch.zip 12-12-29.06.01_DragDropRezise.zip 17-02-07.02.01_Admin??bersetzung.zip 16-16-02.11.01_Freier_Platz_auf_Laufwerk.zip 16-16-22.07.02_Locus Express.zip 18-05-05.10.01_KlasseCollection.zip 19-21-29.08.01_MCIMultimedia.zip 14-01-20.07.01_webcams.zip 22-17-31.07.01_oflutv.zip 12-52-24.01.01_code437.ZIP 03-09-12.07.01_VBControlExtender.zip 17-35-13.10.01_Always_Stay_Connected.zip 16-56-27.07.01_ScreenShot_und_echtzeitcapturing.zip 01-06-20.10.01_Button_Command_Trial.zip 16-49-20.01.03_yCompare.zip 20-38-13.09.01_MP3-Player.zip 22-46-01.10.01_mp3player.ZIP 20-40-26.07.01_compiler_development.zip 22-05-25.10.02_Cartoon-Gallery.zip 20-13-21.11.00_FastBmp.zip 22-46-22.10.01_ADO_Dateneingaben_1_1.zip 11-41-09.11.01_FrameScrolling.zip 12-08-31.03.01_zipdll.zip 23-09-04.08.01_Bitmap_converter.zip 21-45-23.09.02_SQL Problem.zip 16-14-05.02.01_Index_QuickSort.zip 13-27-01.05.01_kalender.frm 11-49-27.05.02_Ownerdrawn_Listbox.zip 20-07-14.11.01_archive.zip 20-09-23.06.01_RegAccess.zip 20-41-28.12.00_Farbregler.zip 21-23-16.11.02_Listview.zip 22-54-17.11.00_rename.zip 15-36-28.01.01_avb-xp.zip 00-12-05.01.03_DisableTaskMgrXP.zip 19-29-27.10.02_createhtml.zip 00-21-17.03.01_MalenPerfect.zip 12-00-12.12.02_Men??s zur Laufzeit erstellen.zip 16-23-25.01.02_FlexUpdate.zip 10-00-01.02.03_PrintRotText.zip 14-42-26.03.01_Dateien_verschicken.zip 17-40-05.02.01_plotter.zip 22-00-29.12.02_Graph.ZIP 19-59-11.07.02_Nussknacker.zip 13-29-28.12.00_download.zip 20-32-05.06.02_DeaktiviertTextBild.zip 20-06-22.10.02_DruckenMitZeilenumbruch.zip 09-16-29.11.01_Ultra.zip 21-22-20.10.02_PictureCompare.zip 15-02-01.02.03_ObjektCheck.bas 14-55-20.03.01_hirc.ocx 11-43-15.08.01_Registry.zip 17-28-09.09.02_inet_post.zip 22-16-20.10.01_ImgForm.zip 18-34-23.10.01_MeinProb_L?s2.zip 00-51-23.10.02_Timer.zip 21-04-15.08.01_TastaturF?rMaus.zip 14-22-04.06.02_Die goldene 8.zip 20-58-15.07.02_menustat.zip 13-25-20.08.02_ScrollDC.zip 20-40-19.08.01_ArcusTangens.zip 20-35-13.09.01_CD-Brain.zip 20-18-21.02.01_ICQPAGER.zip 17-02-07.02.01_Admin?bersetzung.zip 20-56-26.10.00_TXTModifier.zip 15-49-03.11.01_CoolerText.zip 01-42-10.09.01_Telefon.zip 20-53-24.10.00_Random-Dateien.zip 11-47-24.06.02_Dateien per Winsock ??bertragen.zip 18-52-31.05.01_Auto_Update_2.zip 22-43-22.06.01_Abst??rzen_Code.zip 15-50-03.11.01_EinfacheAnimation.zip 17-28-14.12.01_List1.zip 23-37-15.09.02_PageSetup.zip 11-57-07.10.01_Schnee2.zip 16-58-27.12.00_DirectDraw-Beispiel.zip 03-49-20.10.01_Control_IT_mit_Netzwerkcapturing_MUST_SEE.zip 20-45-22.09.02_SuperLink.zip 14-51-14.10.00_MessageBox.zip 18-18-10.09.01_slider.zip 20-07-26.03.01_Horse.zip 16-59-23.11.01_M3U_Maker.zip 14-03-19.10.01_ADO_Dateneingaben.zip 22-43-22.06.01_Abst?rzen_Code.zip 02-00-17.02.02_DIB_Demo_Update.zip 15-19-05.07.01_Netzwerkchat_nix_mehr.zip 23-36-15.09.01_RegFile.zip 20-06-01.07.01_KompakteSchnelleUmrissErkennung.zip 12-32-15.01.02_fprim.zip 14-38-25.11.00_CommonDialogs.zip 13-49-05.09.01_VB_Encrypt.zip 22-34-02.09.01_TextBoxLine.zip 08-30-19.12.00_slider.zip 15-09-20.12.02_HTML-View_UpdateDREI.zip 23-40-19.06.01_MultimediaTimer.zip 13-38-05.01.02_DezRomAc.zip 07-55-22.01.01_ad.zip 16-40-13.10.01_Form1.frm 16-00-11.12.00_UHR.zip 16-20-28.08.01_wave.ZIP 15-08-19.12.02_PopupMenu.zip 12-38-08.01.02_Binary_lesen_schreiben.zip 18-36-25.01.01_Excel_Kennwort-Entferner.xla 13-47-08.02.02_Counter.zip 14-05-12.06.02_Addieren.zip 15-46-15.09.02_Shell ausf??ren und umleiten.zip 14-09-05.05.01_Mercury2_Entschl?sselung.zip 19-34-27.10.02_DirPrint.zip 19-06-15.07.02_Nussknacker2.zip 22-18-20.08.02_fileguard.zip 14-37-22.10.00_K?rperberechnung.zip 19-57-07.07.01_RegAcc6.bas 15-12-28.04.01_listview.zip 22-51-30.05.01_OcxReg2.0.zip 14-37-22.10.00_Winsock_Ersatz.zip 12-16-01.11.01_Seq.zip 21-21-12.01.01_COMDemo.zip 11-21-08.02.02_Viewer.zip 20-03-12.01.02_BSE-Mail.zip 21-42-31.07.01_FormInPicBox.zip 19-09-24.10.02_TabControlDemo.zip 22-17-16.10.02_Zahlenraetsel.zip 20-07-12.12.02_System?bersicht.zip 22-35-25.09.02_LVwPUpMn.zip 19-56-24.12.00_MP3.zip 14-50-14.06.02_Ratespiel.zip 19-48-21.05.01_Startmenue.zip 13-52-14.10.01_Stadtsim_Sourcecode.zip 13-49-16.05.01_mediappt.zip 16-20-25.11.00_BitLogik.zip 15-42-08.09.01_Ascii.zip lhttsged.exe 20-36-16.11.01_GetBMPSize.zip 21-51-13.07.02_coloform.zip 17-29-20.07.02_PrintRevolvedText.zip 13-10-11.06.01_ser_port_vba.zip 09-33-19.04.01_Textpad.zip 22-54-02.09.01_dxanimatedgif.zip 20-48-20.06.01_RelativePaths.zip 13-01-30.09.01_BG_Kacheln.zip 21-15-15.02.02_Morsen2.zip 20-16-04.09.01_ProgressBar.zip 14-37-22.10.00_K??rperberechnung.zip 18-10-02.10.01_bitspersecond.zip 11-59-10.01.02_W?rterbuch.zip 10-10-17.04.01_RoemToArab.ZIP 17-18-15.05.01_Fl??chen_f??llen_und_ausz??hlen.zip 12-55-10.02.01_Works.zip 21-28-27.12.00_chat.zip 14-54-02.02.03_FTP-Up_Download.zip 21-48-02.06.01_Scriptgen.zip 18-21-08.01.02_prjVerknuepfung.zip 11-09-17.08.01_Registry.zip 16-06-06.05.01_Crypto2000.msi 20-40-07.09.01_TransferPic_Beta2.zip 09-25-21.10.01_usrProgress.zip 22-47-08.11.01_Koordinatensystem.zip 17-34-02.07.01_Musik_DB.zip 20-40-03.06.01_PopUp.zip 22-04-16.10.01_Zeit_pr??fen.zip 22-21-15.12.00_Rechner.zip 17-37-24.01.02_TrayClock.zip 10-10-10.10.01_GetFliessTexZeilen.zip 23-54-08.01.01_WavHeader.zip 10-43-13.10.02_sidelogo.zip 10-39-18.03.01_ActiveX-Kontextmen??-Registrator.zip 22-12-27.07.01_registry.zip 19-24-04.02.02_Read_n_Write_me.zip 17-47-24.08.01_Key_Viewer.zip 14-54-26.04.01_RundesForm.zip 15-55-17.05.01_P2P.zip 19-09-12.01.03_Funktionsplotter MDI _neu.zip 22-24-10.09.01_playme.zip 20-52-13.07.01_SYSinfo.zip 10-57-14.09.01_DatenMaster.zip 22-01-24.04.02_wmc.frm 12-19-19.03.01_Url.zip 19-23-05.02.01_WilliSuch.zip 01-09-25.12.02_Namen Einf?gen.zip 12-20-30.09.02_Notify Icon.zip 12-53-10.02.01_Dias_Anzeigen.zip 15-08-30.12.00_BitLogik_Functions.zip 15-16-02.08.02_Maus?bung.zip 17-47-30.04.01_Active_Skins.zip 19-52-11.03.01_AnimGif2.zip 00-31-03.10.01_InternetPasswort.zip 16-25-14.10.01_Verschl??sselung.zip 18-50-06.11.02_AutoCapstart.zip 11-59-10.01.02_W??rterbuch.zip 10-36-27.06.01_BoxleitnerAlex.zip 13-41-04.08.02_SuFaC HP.zip 16-00-21.08.01_DBerstellen.zip 15-06-26.06.01_ToolTip.zip 18-50-18.05.01_calculator.zip 15-04-03.11.00_PC-Bench.zip 13-44-17.10.02_Musik&Videobox.zip 19-03-10.11.01_Winamp_steuern.zip 12-16-15.06.01_WZTREEVW.zip 14-37-19.07.01_TheBigScreenFreeware.zip 08-36-03.09.02_ADO-pl-sql-Demo.zip 16-03-29.10.00_Fleck_Secure.zip 17-48-24.08.01_Stundenplan.zip 21-40-10.02.02_HideShowApp.zip 12-26-08.04.01_CDm.ocx 22-48-03.07.01_Peek_n_Poke.zip 19-22-17.12.00_ReadPix.zip 18-56-15.10.01_DBdat.zip 12-50-27.08.01_eDITOR.zip 11-59-25.07.02_blanco_about.zip 12-51-15.02.02_Timer.zip 20-15-30.06.02_Desktopreiniger.zip 12-36-30.06.01_DirectMusic.zip 10-21-16.12.01_vbMemory.zip 14-33-24.01.03_konvert.zip 14-27-20.07.02_schlie??en_verboten2.zip 12-08-15.06.02_Bidbetrachter.zip 14-58-25.12.02_Bildschirmschoner.zip 23-44-23.06.02_Pic2Html.zip 19-13-26.07.01_VB6_Projekt_in_VB5.zip 22-43-22.08.01_seriell-comport.zip 12-26-30.07.02_Robotersteuerung.zip 16-09-14.01.02_AddTextToFile.zip 17-58-08.11.02_Verkn?pfungen erstellen.zip 21-12-16.08.02_navi-no-graphs.zip 13-55-23.01.txt 21-21-03.10.01_HTaskHider.zip 22-46-03.12.00_GetBMPdata.zip 16-48-12.06.01_txt_2_ansi_2_hex.zip 15-28-22.05.01_Form1.zip 16-53-01.06.01_Hand.ani 12-59-17.02.02_FORUMPOST.zip 14-23-11.10.02_FrameAsContainer.zip 15-01-22.06.01_Resizer.zip 02-09-01.05.01_Men?.ocx 18-57-04.09.01_powertool.zip 19-04-05.10.02_RCM.zip 09-52-08.05.01_sql-editor.zip 17-27-07.06.02_SaeulenDiagrammV1.1-ActiveVB.zip 14-46-26.08.01_Sysinfo.zip 16-53-04.05.01_mercury2.zip 16-54-03.10.01_Prim.zip 09-02-12.03.02_modPcxReader.zip 19-49-27.10.02_Wandler32.zip 15-34-24.01.01_bps.zip 20-45-05.01.02_Chat.zip 15-45-13.04.01_Task_Control.zip 13-44-02.08.02_VB_Fehler.zip 18-58-17.12.00_MCI-API_Demo.zip 19-28-08.01.02_prjSterne.zip 00-31-23.12.02_WindowsLonghorn Theme.zip 18-34-23.10.01_MeinProb_L??s2.zip 18-02-13.02.02_RGB2html.zip 04-03-08.07.02_BWGradientOCX.zip 10-59-30.05.01_BrowseForPicture.zip 13-07-06.08.01_feiertage.ZIP 16-11-25.12.00_MP3.zip 21-30-29.11.02_Ovale Fenster.zip 12-36-06.08.01_BMP2JPG.zip 21-05-01.10.01_vb.net_beispiele.zip 23-30-11.02.02_NetztestClient.zip 14-01-22.02.01_commander.zip 09-02-10.11.01_TomPlayer.zip 00-01-16.06.02_PopUpMenu_mit_Bitmaps.zip 13-35-24.03.01_Verknupfung_erstellen.zip 12-57-07.01.01_DateiOperationen.zip 14-31-21.06.01_CpuT.txt 22-47-23.02.01_Heronrechner.zip 10-36-07.01.03_DialerFuck.zip 12-00-15.09.01_Df?-Status.zip 18-23-14.09.02_listboxsuche.zip 07-59-04.11.01_hotkey.zip 20-39-01.06.02_Maus??bung.zip 02-42-06.03.01_DDE-Demo.zip 19-32-05.09.01_bilderkennung.zip 23-22-15.01.01_DezHexBin.zip 02-34-26.02.01_Spiel.zip 10-32-24.12.00_countdays.zip 00-27-19.10.02_mail-suche.zip 13-58-18.11.00_Ping.zip 20-08-14.02.01_Web-Browser.zip 11-11-21.07.01_Lpt_anst.zip 20-39-13.09.01_Zinsen.zip 22-53-15.07.02_SelectRect.zip 11-33-22.01.03_OS-ermitteln?ber WMI.zip 14-50-13.04.01_FBG.zip 14-06-09.07.02_Fenster_klau.zip 22-32-05.05.01_FunFade.zip 10-39-18.03.01_ActiveX-Kontextmen?-Registrator.zip 17-03-28.08.01_ApiViewer2001_105.zip 20-39-09.11.01_WorkArea.zip 10-42-09.01.03_Projekt_extrakt.zip 13-17-12.11.01_SoundGenDTMF.zip 22-33-05.07.01_HideMousePointer.zip 08-32-27.01.02_3DSchrift.zip 23-20-19.06.01_Imagekiller.zip 11-28-18.04.01_APIViewerPlus.zip 23-30-18.07.01_ie_cleaner_me.zip 22-06-07.01.03_Image Combo.zip 11-59-12.10.02_VBS u. JS Skriptblocker by BlaBlaSoft.zip 21-34-12.01.03_Numerologie.zip 15-22-10.06.01_I-Net_TV.zip 19-51-31.01.02_Morsen.zip 16-41-22.10.01_Projekt1.vbp 21-45-26.10.02_Properties.zip 22-36-09.04.01_RegAcces.bas 12-33-24.09.01_Zahlensysteme.zip 03-13-31.08.01_taschenlampe.zip 19-56-19.03.01_Dateien_verschicken.zip 22-04-16.10.01_Zeit_pr?fen.zip 17-04-17.01.03_Di?trechenknecht.zip 11-52-10.01.03_TextOverWrite.zip 16-26-15.03.01_Uhr.zip 15-29-16.09.01_bitspersecond.zip 13-20-07.04.01_editor.zip 21-56-14.07.02_RGB-Farbenboy.zip 11-31-31.03.01_IPTransmitter.zip 10-48-11.10.01_FlexData.zip 14-52-03.01.02_Gesendete_&_Empfangene_Bytes_unter_win2k.zip 16-41-09.11.02_Objekte Bewegen.zip 07-38-01.04.01_CDm.ocx 13-22-19.12.00_Heron-Verfahren.zip 23-54-01.01.02_SimpleDDE.zip 20-36-23.04.02_Handy-Modem.zip 18-24-05.12.01_sinus.zip 22-37-17.06.02_VB ZeilenZ?hler.zip 17-04-17.01.03_Di??trechenknecht.zip 17-17-28.01.02_MWB_Source.zip 20-59-07.12.01_Toolbox.zip 18-44-29.01.03_Casino11.zip 15-22-12.04.01_FormelBerechnung.zip 02-43-01.02.02_winsock.zip 22-21-24.12.02_Setup.zip 17-05-10.11.01_ColorProgressBar.zip 16-51-26.01.03_Drive Cleaner 2003(re.1.0).zip 22-52-16.05.01_HTTP_SERVER.zip 14-01-10.06.01_CodePro.zip 00-03-29.04.01_Crypt7Ctl.ocx 12-43-31.08.01_IshootTHEsheriff.zip 20-55-06.11.00_Progs_Manipulieren.ZIP 05-14-12.07.01_diagramm.bas 22-31-04.11.00_MyComp.zip 09-29-08.02.01_Mathe_Meister.zip 00-37-18.06.01_SearchPlus.zip 10-41-30.12.01_UhrOCX.zip 20-09-07.07.01_BACKUP.ZIP 15-55-24.12.02_Analoge Uhr.zip 20-07-10.12.02_Auftragsverwaltung.zip 19-01-28.01.02_RegAcc6.bas 23-05-13.03.02_DosControl.zip 11-44-17.06.02_frmDeziConverter.zip 19-52-05.11.02_Autorun-Manager.zip 13-22-19.12.00_Intervallschachtelung.zip 14-43-17.12.00_SelfRead.zip 01-32-03.07.02_ListX.zip 00-57-03.02.03_KFBook.zip 15-24-14.01.03_ColumnSwitch_Flexgrid.zip 15-01-18.08.02_Musikplayer.zip 13-49-09.09.01_Rotierener_W??rfel.zip 20-32-19.11.02_csxmlr1b.zip 13-51-12.06.02_SourceViewerKonverter.zip 12-59-21.08.01_out_MP3_OCX.zip 20-50-13.07.01_GetCDSpeed.zip 13-13-10.11.02_ST Renamer.zip 17-51-07.11.00_nibbles.zip 20-00-08.06.02_ToolTipMehrzeilig.zip 11-48-29.01.02_Control_IT_NetzwerkVideoDesktopCapture.zip 17-54-23.09.01_Kanzer_&_Pr?sidenten.zip 18-39-09.11.01_shutdown.zip 08-01-19.07.01_zipstudio.zip 19-40-27.08.01_ChatClient.zip 00-20-20.10.00_vbSendMail.zip 19-41-09.11.00_RainbowProgressBar_OCX.zip 10-50-14.09.01_add_start_up.zip 11-20-15.06.02_Schliesen_verboten.zip 20-19-19.08.01_GetWinkel.zip 13-39-14.06.02_Usercontroll.zip 12-38-07.06.02_Berichtdesigner.zip 19-26-11.01.txt 13-35-26.08.01_msg4u.zip 15-43-20.11.00_desktopform.zip 02-31-26.02.01_Bruchrechnung_II.zip 23-48-30.12.00_Feuerwerk2001.zip 22-10-30.12.02_CodeStrukturierer.zip 22-32-29.01.02_Button-Caption_durch_Textfeld_?ndern.zip 09-38-13.05.01_portscanner.zip 11-32-08.04.01_WordStartenVB.zip 17-41-20.10.00_Schafe_Source_Code.zip 18-15-16.11.01_BildEntlangKreisbahnBewegen.zip 19-46-20.10.01_WinXP.zip 15-04-16.06.01_AlphaBlendV2.zip 22-31-20.06.01_E-Secure_1.1.rar 22-02-07.02.01_chat.zip 16-25-01.03.01_Avanti2.zip 13-08-18.01.01_Iconcreater_f?r_Ordner.zip 20-54-10.05.01_RLC.zip 19-37-26.04.01_PSW_-_FastLink.zip 14-12-03.12.01_Windows_XP_Libary.zip 18-20-20.11.01_Real_3D.zip 10-09-31.01.02_FlexgridListe.zip 20-51-11.12.01_Screenshot_-_Jpg.zip 15-27-20.09.01_ini-dateien.zip 01-15-25.12.02_PaintPicture vs BitBlt.zip 19-47-17.09.02_MSHTest.zip 23-20-09.11.01_Blend.zip 17-46-23.07.01_AlphaText.zip 12-48-18.08.01_ProgressBar.zip 22-56-15.09.02_PageSetup.zip 10-03-31.08.01_cpuvb.zip 14-29-20.11.01_tastencodes.zip 14-51-09.07.01_ADO_Beispiel.zip 17-35-24.07.01_Hangman.zip 18-34-10.12.00_MirrBitm.zip 13-58-07.07.01_patch95.zip 20-07-01.02.01_Primzahlen.zip 12-48-09.06.01_BitLogik_dll.zip 20-07-11.09.02_Tbat.zip 14-26-05.02.02_rabatt.zip 17-57-05.10.01_wecker.zip 16-05-26.03.01_holz.zip 19-20-16.04.01_DirectoryLink.zip 08-57-21.02.01_Verzeichnisdialog.zip 13-44-30.12.00_MessageEncoder.zip 02-03-03.09.02_frageengine.zip 11-27-16.10.02_Moorball.zip 21-45-31.01.01_gleichungen2.zip 21-28-14.05.01_AutoUpdate.zip 20-39-01.06.02_Maus?bung.zip 13-39-10.04.01_FutureWinTuning.zip 14-27-13.02.02_kalender.zip 10-57-17.04.01_RegAll.zip 13-58-09.12.01_CleanUp.zip 14-18-30.12.01_rtfzeilen.zip 21-23-03.04.01_Programme_29.zip 09-48-21.11.01_FormelS.zip 14-01-04.07.01_ScreenSaver.zip 21-35-10.06.01_DanAmp_II.zip 12-58-09.12.02_Helfer Panel.zip 22-42-05.01.02_FormResult.zip 00-23-20.11.00_Equalizer.zip 15-28-22.01.03_Alarm 2003.zip 00-39-22.12.00_Feuerwerk2.zip 20-42-02.11.01_ie_toolband_hinzuf?gen.zip 14-29-17.01.02_BezierPolynom.zip 14-29-08.07.01_Button.zip 01-30-14.09.02_EnvironErsatz.zip 16-38-14.04.01_Scanner.zip 09-49-24.03.01_speichern.zip 16-02-17.08.01_Willkommen.zip 21-06-01.06.01_Resize.zip 11-08-21.10.02_planer.zip 23-59-02.02.03_ClickCounterPHP.zip 12-48-22.11.01_Fehlerberichterstattung.zip 11-34-20.06.01_Code.zip 12-16-24.07.01_MasterMind.zip 22-02-16.04.01_Demo_BrowseFolder.zip 19-00-07.11.02_EXE mit Parameter starten.zip 13-35-17.06.01_code.zip 19-40-05.09.02_BLM.zip 08-20-19.12.00_numberled.zip 22-57-16.06.01_Bild_Drehen.zip 11-34-21.09.01_Netris.zip 16-31-26.09.02_DB_Komprimieren.zip 17-33-31.12.00_Foldermaker.zip 14-26-27.11.02_comctl32.zip 13-59-14.09.01_Stretsh.zip 05-42-12.12.00_Scroll_II.zip 18-43-17.09.01_Pong.zip 02-04-29.05.01_CPU-Ocx.zip 14-42-14.08.01_Links_in_Combo.zip 17-28-07.08.02_PreWatch.zip 18-57-08.04.01_amaPS.zip 10-05-04.08.02_Pathbrws.zip 14-44-09.10.01_detect_edges_jpeg.zip 15-16-02.08.02_Maus??bung.zip 14-43-13.09.02_DiskSpace Watcher.zip 20-46-25.03.01_The_IP_Finder.zip 21-46-16.02.01_MoorhuhnMG.zip 12-08-22.01.03_Useranmeldung 1.1.zip 19-52-30.11.00_Paint.zip 21-41-16.04.01_Text_Seek.zip 20-49-20.09.01_Lotto.zip 14-38-25.07.01_ResizeMod.zip 22-40-28.04.01_Crypto.zip 13-11-10.05.01_Toolbar.zip 18-56-09.11.02_proxy.zip 17-19-24.08.01_SB_0001.zip 23-00-21.09.01_windowTool.zip 12-25-15.02.02_Tooltips.zip 19-40-14.12.00_BugFix.zip 11-56-23.07.01_Resize.zip 17-17-24.04.01_Netzwerkchat.zip 21-15-20.11.01_Termin-W??chter.zip 09-23-01.08.02_kachelmann.zip 20-49-18.12.00_Progressbar.zip 12-21-15.06.01_E-Secure.rar 06-39-05.01.02_FadenkreuzBl??dsinn.zip 15-49-06.10.01_vokabeln.zip 16-55-02.07.01_portscanner.zip 13-38-11.02.02_Trans.zip 02-11-02.09.01_Kalender_v01.zip 17-58-08.11.02_Verkn??pfungen erstellen.zip 00-34-27.12.01_formatwitz.zip 12-07-15.06.02_Malen.zip 17-32-17.12.02_console2.zip 12-41-05.01.01_Kalender.zip 13-13-14.05.01_Picture_from_internet_in_picturebox.zip 09-15-07.02.01_Shoot_the_Smily.zip 20-53-08.10.02_PictureSlider.zip 14-44-15.01.03_clsRegistry.zip 16-51-09.12.00_Patcher.zip 20-03-14.04.02_tictactoeq.zip 00-42-28.02.01_MidiOut.zip 18-14-21.10.02_axgrid-2.2.zip 20-23-16.08.01_MiniAccess.zip 09-53-22.05.01_Des.zip 16-58-09.11.02_CD-Player.zip 16-13-12.01.02_AddTextToFile.zip 11-38-26.11.00_Winsock_Demos.zip 21-33-20.03.01_BitBlt.zip 09-53-06.10.02_RESSound.zip 12-45-25.08.01_EasyADOAccesCTL.zip 15-52-07.10.01_Formereignisse_(minimieren,_schlie??en,_...)_abfangen.zip 16-07-06.01.01_Foldermaker.txt 01-04-25.12.02_Editor Dunkle Schatten.zip 13-58-12.06.01_Kryptanalyse_von_E-Secure.doc 20-54-28.08.01_nordwind.rar 16-37-24.08.01_Zinsrechner.zip 11-54-03.06.01_Siteloader.zip Zip-DLL.exe 21-58-05.09.01_shelllinkheader.zip 19-40-25.01.01_vb_editor.zip 16-38-30.03.01_Textbox.zip 11-52-26.06.01_ADO_Beispiel.zip 14-47-20.05.01_keyinfo.zip 18-59-01.02.01_binom.zip 10-40-04.01.01_Screen2File.zip 21-06-01.12.01_BitsPerSecond_20.zip 22-37-07.02.01_ImageCombo_Demo.zip 09-34-08.06.01_Volterra.zip 12-43-21.01.01_DateDemo.ZIP 14-09-06.05.01_cdfs.zip 22-53-14.06.01_Schnittpunkte_2er_Objekte_ermitteln.zip 16-58-14.10.02_Winzap.zip 01-06-11.08.02_WahrgTst.zip 15-49-01.08.02_Virtuelle Desktops - Update 2.zip 17-32-10.08.02_cdburnin.zip 16-46-25.04.01_ShortCuts.zip 09-41-17.07.01_textpad.zip 02-52-05.07.01_Zeileauslesen.zip 20-31-18.10.00_ICQPAGER.zip 13-12-31.12.02_patch_template.zip 19-10-17.06.01_runningtasks.zip 11-39-05.05.01_Vergleich.zip 01-47-12.01.02_Dynamische_IPs.zip 21-33-20.01.01_GradientColorPicker.zip 14-37-19.07.01_Api.zip 00-44-08.05.01_systemkontroller.zip 15-43-17.09.01_Hpass.zip 01-01-02.06.01_AutoUpdater3.zip 18-07-05.10.01_KlassePolymorphie.zip 21-54-01.12.01_SysJoke.zip 20-24-08.01.02_simplecolorpicker.zip 22-22-15.08.02_Cmos_1.txt 14-52-01.08.01_ScriptITBeta01.zip 21-52-01.06.02_SQ_SUBRAND_Encryprion.zip 12-59-07.01.01_Dateinamen_k??rzen.zip 19-44-26.04.01_DruckBeispiel.frm 14-04-25.06.01_XML_Labor.zip 21-37-18.12.01_Matgeino.zip 22-06-18.12.01_Adressbook.zip 17-14-24.04.01_Passwort.zip 22-11-31.07.01_oflu_hex.zip 19-08-26.02.01_Eurorechner.zip 18-47-24.03.01_DocumentChangeEreignisDOT.zip 09-27-26.05.01_WebcamAPI.zip 14-27-27.11.00_keylogger.zip 00-10-27.01.01_frmGraphicButton.zip 20-48-03.03.01_RegAccess.zip 20-09-21.06.01_browser.zip 22-55-02.06.02_WinRunner.zip 21-46-17.03.01_NetSender.zip 02-17-05.08.01_schnelle_blowfish_verschl?sselung.zip 20-29-02.10.01_bildversch.zip 16-00-22.06.01_Crypt7_1.zip 22-48-28.02.01_TextmarkenInWord.zip 19-10-16.04.01_RegAcces.bas 15-29-18.12.00_FireWork.zip 11-16-30.07.01_VBRecentFiles.zip 12-22-10.06.01_GetDirSize.zip 10-33-03.12.00_LVDrucken.ZIP 19-14-14.06.02_MHC32.zip 22-01-11.04.01_RegAcces.bas 19-26-27.10.02_ScanFile.zip 12-03-20.07.01_AdminRechte.zip 12-20-24.07.01_H?ng-Men_setup.zip 19-13-25.11.01_Projekt1.zip 16-48-28.10.02_MultiLineAtRuntime.zip 11-45-14.09.01_zip_dll.zip 12-58-10.09.02_Krypt_DeKrypt.zip 13-56-24.08.01_Granatenwerfer.zip 13-36-04.11.00_crypt.zip 19-14-01.01.02_Euro.zip 19-24-05.08.01_Textfeld_auf_Zahleneingabe_begrenzen.zip 21-27-28.10.01_Urlmanager.zip 19-23-03.06.02_FensterInfo.zip 16-41-12.06.01_wotabe.zip 21-19-16.05.01_Siteloader.zip 14-55-02.12.02_Fakturix Projekt.zip 12-25-23.06.01_TxtFiles.zip 23-26-10.08.01_ColectionDemo.zip 23-23-16.07.01_DanAmp3LIGHT.zip 17-37-16.01.03_kpsplittquellcode.zip 22-17-03.12.00_Proxy.zip 17-27-30.01.02_NoFlicker.zip spchapi.exe 22-50-23.02.01_Mago.zip 14-19-08.10.01_southparkshooter.zip 19-20-05.11.01_Windows_Shutdown_3.0.zip 10-48-08.10.01_spaceshooter.zip 17-10-25.01.02_ListViewPrint.zip 11-52-22.07.02_Rechtschreibung_DE.zip 19-34-12.10.02_browser quelltext.zip 21-11-30.05.02_TrieviewHTML.zip 16-52-02.06.01_hotkeys.zip 14-40-29.11.01_excel_ole.zip 20-00-21.10.02_Screen Taker.zip 01-22-27.12.01_RcRaCks_POP3_Professional_XP.zip 07-52-27.11.02_PairingSystem.zip 18-43-15.01.02_generator.zip 14-58-15.11.00_MehTasGleErk.zip 13-30-05.12.01_DBAnalyzer11.zip 14-13-10.01.01_Berechnung_der_Dateigr??sse.zip 13-00-25.12.00_WebcamSaver.zip 21-31-08.08.02_morsen2_update_by_blanetworks.zip 14-49-23.05.01_aot.zip 16-42-13.10.01_TagColoring_T019.zip 11-08-11.09.01_ParaFile.zip 19-14-05.09.01_STarchiveVB.zip 21-54-23.07.02_buttons_und_beispiel.zip 21-31-05.01.03_Windows Borderless.zip 22-02-14.03.02_Codieren_Decodieren.zip 12-28-07.01.02_EMail_mit_Anhang_ShellExecute.zip 21-31-07.02.01_VB6_BugFix.zip 11-11-13.12.02_FlexCombo.zip 21-35-07.02.01_DLL_Depends.zip 12-00-15.09.01_Df??-Status.zip 21-37-25.10.01_MoveLine.zip 15-18-18.08.01_PlugIn.zip 12-07-08.09.01_netutility.rar 14-09-03.11.01_Mediacenter.zip 23-46-12.01.02_Identd.zip 21-25-28.08.01_Text_Finder.zip 21-43-07.01.02_Transprarenzfrage.zip 17-29-22.10.01_VBRegistry.zip 11-07-02.12.02_BruteForce.zip 11-47-27.04.01_setOEM.zip 23-52-21.10.01_DrehKnopf.zip 11-46-30.01.01_BefehlszeilenArgumente.zip 20-52-29.06.02_NetControl.zip 18-20-11.01.02_textbox.zip 14-11-15.10.00_VB5_BugFix.zip 12-10-20.04.01_ICQ_Messenger.zip 12-12-02.01.03_HTML-View2003.zip 14-44-13.10.00_maex.zip 22-50-17.03.01_PaintDC.zip 19-19-23.08.01_Online_Counter.zip 17-09-05.01.01_Undo_Redo.zip 14-23-10.10.02_Http.zip 17-45-06.01.02_FormResult2.zip 12-59-22.01.02_mousekm.zip 21-46-02.11.01_halbtransparente_form.zip 16-32-08.09.01_RKUtil_OCX.zip 15-35-28.12.00_Chat-Updated.zip 17-59-30.04.01_Mindstorms.zip 15-45-02.06.01_crypt_api.zip 09-43-29.01.02_Skins.zip 17-47-14.01.03_ADO_SoftLock.zip 08-47-17.11.02_pcat.zip 13-42-26.01.01_converte.bas 17-42-09.04.01_Screenshotmaster.zip 15-10-13.11.01_mywecker.zip 19-33-09.10.02_PictureSliderBSP.zip 23-34-09.11.01_Textsuche.zip 11-29-21.05.01_dbcompare.zip 16-38-19.10.00_Schafshund2sn.zip 22-24-26.09.02_DirectInput.zip 00-29-08.07.02_BrightnessContrast.zip 12-57-31.10.01_Eurorechner.zip 08-17-09.09.01_my_calcator.zip 11-04-23.05.01_Programm.zip 22-21-21.05.01_Caption.zip 19-38-05.11.01_Dreieck.zip 10-52-04.07.02_Mandelbrotmenge.zip 15-44-26.09.01_Flat.zip 17-17-13.08.01_DLLGraphicSystem.zip 02-17-05.08.01_schnelle_blowfish_verschl??sselung.zip 15-12-31.01.01_Korrigierteufel.zip 10-21-19.05.01_IRC.zip 22-37-21.09.01_INI-Files.zip 19-12-05.01.01_TastenCodes.txt 17-18-09.09.01_netutility3_code.zip 16-44-23.07.01_address360.zip 18-05-11.04.01_API-Viewer2001.zip 14-01-30.09.01_Listbox-Suche.zip 14-49-06.12.01_Netzwerkumgebung_browsen.zip 02-38-02.06.02_KG - BLOCKER MX.zip 12-20-21.07.01_MOszilo.zip 15-52-07.10.01_Formereignisse_(minimieren,_schlie?en,_...)_abfangen.zip 11-09-08.09.02_FritzAB.zip 15-55-20.09.01_Taschenrechner.zip 14-45-19.11.00_txtBild.zip 20-20-19.11.01_eva32commonctl.zip 15-47-30.01.02_clsSatz.cls 21-01-18.01.02_Test.zip 13-08-18.01.01_Iconcreater_f??r_Ordner.zip 20-08-26.11.01_SpzialKlassen.zip 23-17-31.03.01_AutostartManagerV1.zip 16-25-14.10.01_Verschl?sselung.zip 20-35-30.09.02_bot.zip 22-01-03.11.01_accessini.zip 19-27-09.02.02_Adressbuch.zip 18-08-06.07.01_ScreenSaver.zip 14-42-14.11.01_SaveArray.zip 17-36-07.05.01_MSGArchiv.ZIP 16-58-07.09.01_Mathematik.zip 20-02-14.07.01_GetCDSpeed_Sourcecode.zip 12-20-06.05.01_Local_and_Remote_Shutdown.zip 02-14-30.04.02_main.cpp 08-22-20.09.02_PWD-Recover.zip 21-51-04.06.01_Agenda_Download.zip 19-41-02.04.01_WFS.zip 12-47-25.04.01_NT_tasks_auslesen.zip 14-02-09.06.02_Threads unter VB.zip 17-18-05.02.02_Proxy.zip 15-54-04.11.00_STcpu.zip 15-36-02.01.01_wsksock.zip 13-27-16.08.01_Rechter_Men?eintrag.zip 08-20-19.11.01_Win_Shutdown_3.5.zip 23-12-24.08.01_Fernwarungstool.rar 19-11-21.09.02_WinAMP Frontend.zip 20-52-11.09.02_BraintrainXXL.ZIP 15-38-27.12.01_GraphPad.zip 19-42-15.05.01_MP3_Encoder.zip 11-58-09.10.01_Schneecool.zip 17-39-03.05.01_ShellDialoge.ocx 20-50-15.05.01_AVPhone.zip 13-30-18.12.00_peimex.zip 21-40-06.06.01_regedit.ocx 14-13-16.05.01_resavi.zip 22-24-24.11.01_Formblending.zip 03-10-17.05.01_FFfA_u_UmrissAlgo_f_Array.zip 16-28-16.09.01_lista.zip 16-45-15.10.02_For_DoEvents_Next_Demo.zip 17-27-30.12.01_BmpConv.zip 05-09-12.07.01_Schwaunzvichal_Source.zip 14-54-23.05.01_Nachrichten.zip 13-38-27.02.01_dirlist.ZIP 09-08-05.09.01_Widerstand.zip 22-24-05.05.01_Vb-Tip5.zip 19-53-20.07.01_address.zip 20-46-23.07.01_Sidebar.zip 16-14-28.11.01_qmixer.zip 01-13-05.08.01_blw-cbc.zip 09-15-15.08.01_Rundll_Funktionen.zip 18-39-21.12.01_activevb.zip 14-30-09.11.02_formular_ohne_rand_bewegen.zip 14-30-22.08.02_MySQL.zip 12-56-08.06.01_Soundex.zip 15-17-06.02.02_HoraWin.zip 20-42-11.04.01_Pager.zip 13-39-12.07.02_bild_in_sw.zip 00-06-24.07.01_Fernwarungstool.rar 18-45-05.07.02_IPs.zip 23-49-13.12.02_picMenu_Edited.zip 20-09-12.01.02_Source.zip 15-07-05.04.02_AT.zip 20-16-30.09.01_System at ...1996... 14-50-18.04.01_etf.zip 21-09-30.12.00_Systemmen?_des_Fensters_erweitern.zip 01-09-25.12.02_Namen Einf??gen.zip 15-41-26.03.01_klAdressdb.zip 21-41-02.09.02_GetExeSize.zip 17-49-24.08.01_Zeitanzeige.zip 11-29-02.08.02_DosControl.zip 16-01-19.12.00_Portscanner.zip 10-11-28.01.02_ListView_Print_Class.zip 21-19-24.10.02_mman.zip 11-48-04.06.01_AutoComplete.zip 08-39-16.10.02_CopyPaste.zip 23-26-31.07.01_SetParent.zip 14-00-24.08.01_FatMan.zip 23-33-20.01.03_OLEServerClient.zip 06-03-14.07.01_FileSearch.ZIP 14-13-16.11.00_AnimGif.zip 23-04-20.08.01_SourceBook_Outfit.zip 14-29-10.11.02_HKW.zip 20-12-11.01.02_Millimeter.zip 22-32-29.01.02_Button-Caption_durch_Textfeld_??ndern.zip 18-55-04.12.01_AnalogUhr.zip 10-33-12.02.02_Mailbox.zip 16-41-23.01.02_Webbrowser_Demo.zip 14-16-19.01.03_Wieso Weichcoden.ZIP 19-41-20.01.02_Lupe.zip 14-45-10.01.02_FullUsername_ermitteln.zip 00-27-19.06.01_IconBar.zip 11-23-14.07.01_TMResize.bas 15-39-23.10.02_ListView_Print_Class_Update.zip 12-22-02.10.01_Icon_im_Task_aber_keine_Titelleiste.zip 19-38-27.10.02_DiskFull.zip 11-32-01.10.02_Computer herunterfahren.zip 00-45-13.02.02_ScriptControlBSP.zip 20-05-01.11.02_ToolTipText.zip 11-27-27.04.01_Paintit.zip 17-27-24.10.02_BatchTest.zip 12-05-08.07.02_DownloadHTTPviaWininet.zip 12-07-27.05.01_K??rperberechnungen.zip 14-34-19.12.02_ADO_Textbausteine.zip 20-36-26.11.02_Zipfiles.zip 22-45-26.09.02_airbrush-beispiel.zip 20-23-13.03.01_Rsline32.zip 14-22-22.06.02_Portscanner_MultiSokets.zip 16-32-10.11.02_HardcodeUmwandler.zip 16-45-28.10.02_Dancing Desktop.zip 02-44-01.01.01_Cryptor.zip 18-34-16.01.01_WinSecurity.zip 20-37-13.09.01_Edit.zip 15-15-09.09.01_screenshot.zip 18-05-03.11.00_RainbowP.zip 00-39-15.08.01_Get4.zip 08-50-08.10.01_DatenMaster.zip 17-49-24.09.01_mini.zip 23-03-22.07.01_ScrollDemo.zip 19-23-07.01.03_Funktionsplotter MDI.zip 12-52-10.02.01_GeometrieMaster.zip 21-11-16.11.02_ListViewColor.zip 11-33-13.10.02_Textdatenbank.zip 12-22-29.11.02_Pfad??berpr??fung durch ShellExecute.zip 20-35-10.06.01_my_Browser.zip 10-35-18.11.00_Infothek.ZIP 06-51-07.10.01_BMPtoJPG.zip 13-55-17.08.01_MP3_Player.zip 18-28-06.12.01_WindowsShutdown4.1.zip 20-40-13.10.01_welcomeVB.net.zip 20-40-02.12.01_ProgressBar.zip 08-57-18.06.02_WriteEventLog.zip 14-42-15.11.01_LSFile.zip 14-43-29.07.02_CopyFileMitAnzeige.zip 11-35-27.08.01_Webbrowser.zip 14-05-12.09.01_LANet.zip 14-32-13.10.00_maes.zip 22-17-02.09.02_Sweeter.zip 14-00-10.08.01_ProgressSlider4-1.zip 12-59-13.12.01_Ampel.zip 10-30-25.09.01_peimex.zip 00-58-16.02.02_Sprach_PlugIn.zip 20-03-03.01.02_ReleaseCapture.zip 20-49-15.05.01_ircc.zip 21-21-29.09.01_DatenMaster.zip 17-39-22.07.02_AntiHardCode.zip 14-13-10.01.01_Berechnung_der_Dateigr?sse.zip 21-56-26.05.01_Explorerpfad.zip 22-45-01.10.01_mrslander.ZIP 14-08-25.06.01_Formular-Inhalt_scrollen.zip 17-33-13.09.01_zippen_mit_zlib_dll.zip 15-21-15.10.00_Avp_chat.zip 14-12-27.07.01_screenshot.zip 01-00-13.10.01_microproxy.zip 17-36-09.05.01_Rgb2Hex.zip 04-15-28.08.01_de_chat.zip 14-43-18.06.02_APIs_f?r_ComboBox_+_ListBox.zip 16-27-07.10.01_computername.zip 14-40-12.02.02_Form_herausschneiden.zip 17-49-24.08.01_Webbrowser.zip 13-02-27.07.01_ADDYs_V2.zip 14-47-28.10.00_Anti-Blink-DEMO.zip 09-44-09.05.01_auto_control_resizer.zip 17-44-24.08.01_Image_tut_laufen.zip 16-58-09.03.01_WindowsInfo.zip 20-31-04.07.02_RegionFromControls.zip 15-06-18.09.01_button_control.zip 22-03-16.06.01_ntdienst.zip 19-35-27.07.01_TextEncryption.zip 15-03-08.07.01_ButtonSrc.zip 17-16-01.07.02_IPBox.zip 09-55-28.02.01_filelist.ZIP 19-21-07.08.02_Mastermind.zip 21-32-07.01.01_Fensterregionen.zip 21-17-21.10.01_cs_chat.zip 16-30-13.11.00_pix2list.zip 09-26-08.06.01_Crypting.zip 14-39-08.07.02_ADO_Adressbook.zip 06-39-20.03.01_zoom.zip 11-23-30.09.01_Beta_1.6.zip 23-46-20.09.01_InDokMP3.zip 22-22-26.10.02_Moorhuhnmanager.zip 19-26-13.11.00_BMPzuICO.zip 15-38-02.09.01_ClientServer.zip 16-02-02.01.02_DataGridAutomSpaltengroesse.zip 16-28-19.12.01_Euro_W??hrungsRechner.zip 23-05-24.09.02_VPN Tool.zip 10-27-29.01.02_W2000NS.zip 20-24-27.05.02_clsSearch.cls 16-22-27.10.00_WIN_32_API.zip 16-33-14.08.01_proxy.zip 20-24-14.03.02_Die_T?rme_von_Hanoi.zip 23-07-24.11.01_MoorhuhnCloneBeta2.zip 00-49-31.12.01_C4U_Miniclient_1b.zip 19-23-30.10.01_System at ...1997... 16-52-18.09.02_Homepage-Service-2.zip 18-36-20.02.01_Bruchdarstellung.zip 18-05-19.10.02_ExtractIcon.zip 17-01-03.08.01_MoveInList.zip 15-16-30.11.01_clsBase64.cls 13-33-14.05.02_Memory.zip 12-00-27.07.01_Haften.zip 12-00-12.12.02_Men?s zur Laufzeit erstellen.zip 12-39-12.11.00_Calculator.vbp 06-56-26.09.02_schredder.zip 11-23-07.06.01_RGBSplit.zip 19-15-11.08.01_Html_Server.zip 18-21-19.06.01_CpuT.zip 01-00-25.08.01_MP3_Player.zip 18-14-06.10.01_Aktive_Fenster_aufzeichnen_logger.zip 22-35-11.02.02_Lotto.zip 22-38-31.07.02_box_luder.zip 15-49-03.10.00_BMP_zu_JPG.zip 21-58-03.01.03_vernam.zip 13-20-07.12.02_MsAgent.zip 23-11-22.06.01_Verschl?sselung.zip 22-47-06.01.02_prjSegmentDownload.zip 16-30-23.03.02_Linie_dreht_sich_im_Kreis.zip 11-10-20.11.01_Histogramm.zip 16-58-06.02.02_Notizen.zip 02-29-06.02.01_Chatmeister.zip 22-44-06.01.02_FormInPicture.zip 11-44-30.07.01_ScannerVB.ZIP 15-04-07.06.02_RichTextBox_Demo.zip 16-26-19.12.00_PathBrower.zip 16-49-21.06.01_disconnector.zip 19-09-05.01.02_DragNDrop.zip 17-09-17.10.00_Formdarg.zip 22-07-11.09.02_GetNotifyPos.zip 13-52-11.10.02_scriptblock.zip 18-05-18.11.00_LaufSchrift.zip 13-50-30.07.01_DataBase.zip 12-17-07.07.01_Screensaver_fuer_Windows2.zip 16-34-14.06.02_ColorRTF.zip 15-45-28.01.01_filecutter-zerteilt-dateien.zip 12-40-10.02.01_In_eine_PictureBox_schreiben.zip 23-33-07.09.01_Pi.zip 17-51-23.10.01_Ratespiel.zip 14-21-03.10.00_Farbauswahl.zip 09-13-11.11.02_CapsNumScroll.zip 16-33-21.11.00_ComDlg.zip 18-30-13.12.01_SaveToFile.zip 12-07-27.05.01_K?rperberechnungen.zip 14-55-08.05.01_AnalogUhr.zip 07-48-19.07.01_XML.zip 16-12-14.12.02_Maus.zip 20-07-12.12.02_System??bersicht.zip 17-27-21.01.03_Useranmeldung.zip 12-48-13.02.02_patamp.zip 02-59-01.09.01_VBWorkshop.zip 11-47-24.06.02_Dateien per Winsock ?bertragen.zip 10-13-15.01.02_Tip_0128_Neu_als_Klasse.zip 00-34-17.05.01_HTML_Link.ctl 22-24-12.07.01_PicPreview.zip 16-50-29.07.01_Picture.zip 23-16-03.08.01_mp3Header.zip 16-27-27.10.00_wininfo.zip 18-39-20.01.02_kpd_callapi.zip 17-18-15.05.01_Fl?chen_f?llen_und_ausz?hlen.zip 16-59-22.12.02_LB Tabs.zip 16-39-02.09.01_systray.zip 15-24-13.01.03_ShowPicture.zip 15-32-03.01.02_bytesauslesen.zip 21-06-01.08.01_CamaradesCamChecker.zip 18-33-11.03.01_gif.zip 14-09-05.05.01_Mercury2_Entschl??sselung.zip 21-15-20.11.01_Termin-W?chter.zip 01-09-29.08.01_Class_BilderDrehen.zip 15-15-06.09.01_Form-Farbverlauf.zip 19-12-23.04.01_JJsDES.zip 14-57-26.10.01_Numerisch.zip 18-18-18.12.01_Einlesen_und_speichern.zip 21-41-05.11.00_vbsyntaxhighlighting.zip 11-38-07.10.01_schnee_loesung.zip 16-16-28.01.01_kennwort-generator.zip 05-49-05.01.02_SetTimer.zip 02-41-08.06.01_Hangman.zip 19-44-19.01.03_Drive Cleaner 2003.zip 14-05-14.11.01_AdminDB.bas 21-19-21.07.02_SetVolume.zip 20-12-26.03.01_Spielesammlung.zip 18-59-22.12.02_Editbox.zip 19-50-28.01.01_Weltzeit.ZIP 14-03-13.04.01_DanAmpSetup.zip 09-07-06.12.02_PrintEntwicklung.zip 21-04-15.08.01_TastaturF??rMaus.zip 12-25-09.07.01_Io.zip 23-06-07.04.01_Nibbles.zip 18-39-20.02.01_Color_Pcker.zip 15-52-14.05.01_Passwort.zip 17-11-03.09.01_Spiel.zip 23-40-20.08.01_avbplgblt.zip 16-53-30.09.01_bild.zip 18-21-05.07.01_SMS_PDU.zip 11-58-26.06.02_SetDefaultPrinter.zip 08-42-10.11.02_AutoCapStart.zip 12-49-29.09.02_img_array_animation.zip 02-09-01.05.01_Men??.ocx 16-28-19.12.01_Euro_W?hrungsRechner.zip 14-56-11.10.00_kryptwrite.zip 18-04-08.12.01_modFeiertage.zip 19-43-27.10.02_renamer.zip 21-46-28.07.02_Virtuelle Desktops - Update1.zip 17-18-08.08.02_WasnDas.zip 02-01-13.12.01_Ampel1.zip 20-51-16.03.01_Picture_Viewer.zip 17-34-22.07.01_systeminformation.zip 15-23-01.11.00_Arbeitsbereich_Form.zip 12-36-31.10.00_crypt.zip 18-56-17.12.00_Common-Dialog_Modul.zip 02-33-30.07.01_DataBase.zip 19-57-13.03.01_HTML.zip 03-14-05.09.01_ShellLink.zip 14-46-17.11.00_Frame3D.zip 13-13-24.10.00_PKZIP25_Commandline.zip 22-53-03.10.01_dPReCon_source.zip 08-22-12.10.01_Klasse_als_WinSock_Ersatz.zip 18-22-27.11.00_vbsyntax.zip 20-02-06.11.01_setup1.zip 00-22-28.08.01_MultiAuswahl_Deleting.zip 20-36-28.08.01_WON-Server.zip 04-44-12.07.01_OneInstance.zip 20-28-02.08.01_r?tsel.zip 15-09-07.03.01_SinTest.zip 20-22-08.09.01_iconcode.zip 21-18-21.02.01_Video.zip 13-49-09.09.01_Rotierener_W?rfel.zip 20-16-17.08.01_prim.zip 22-35-07.08.02_simsala.zip 16-37-13.07.01_Access_Konverter.zip 13-22-01.05.01_ex_mp3.ace 08-43-07.09.01_my_calcator.zip 09-57-11.02.02_Rc4.zip 15-06-18.02.01_Pseudo_Paint.Zip 01-01-06.05.01_Black_and_White_Editor_2.zip 19-48-15.11.00_vbogl.zip 23-34-06.01.02_ColorSelector.zip 16-00-31.12.02_Stack.zip 10-01-06.11.01_HTTP_HEAD.zip 20-01-12.09.02_Bilder Drucken.zip 10-26-12.04.01_iptransmitter2.zip 20-24-14.03.02_Die_T??rme_von_Hanoi.zip 23-39-11.06.02_GrafikTransparent.zip 13-45-23.09.01_Andocken.zip 14-57-21.10.02_clsIcons.cls 02-20-28.05.01_Kleine_2D_Bilderkennung.zip 20-52-27.05.01_Video_Reader_1.04.zip 15-51-14.12.01_DataReportMitSQL.zip 18-31-11.02.02_Testi.zip 21-36-01.01.02_Euro2.zip 22-49-03.12.00_TextFileSeek.zip 18-33-23.07.02_db1.zip 20-40-21.11.01_DragDropText.zip 21-12-24.11.01_Hypotenusensatz.zip 21-32-26.11.02_Credits2.zip 18-26-23.01.03_Mouse_Capture.zip 10-26-27.06.01_ADO_2_1_Bsp.zip 13-50-01.09.01_iconcode.zip 17-53-13.10.01_IE_History.zip 14-21-15.10.00_RegSvr32.zip 22-51-09.07.01_SMS-Switch.zip 00-12-17.11.00_eddie.zip 17-13-06.02.02_Proxy.zip 18-20-03.10.01_UniversalSoldier.zip 21-16-27.09.01_DeBeckerAudioPlayer.zip 14-42-11.06.02_SiliconViewer.zip 11-34-02.08.02_Kurven.zip 08-03-10.07.01_Suchen.zip 15-24-09.10.01_Bewegungsfilter_jpeg.zip 12-51-06.09.01_Check2Instanz.zip 18-51-11.10.01_webcow.zip 08-25-19.12.00_meter.zip 21-01-25.01.02_Bilder_drehen.zip 21-56-06.10.02_VBExplorer.zip 06-39-05.01.02_FadenkreuzBl?dsinn.zip 23-24-30.10.02_ToolTipText.zip 18-28-21.12.01_Spiel.zip 11-31-16.05.01_CubeCrypt2001.zip 11-33-22.01.03_OS-ermitteln??ber WMI.zip 13-42-15.05.01_programm_fernsteuern.zip 13-33-16.08.02_Editor.zip 20-35-14.04.01_CPU_Test.zip 18-28-11.12.01_mausrecord.zip 14-05-13.10.00_Speichern_von_Optionen_usw.zip 20-35-01.11.02_ToolTipText2.zip 14-31-25.11.00_PictureboxAlleFormate.zip 04-20-30.08.01_RcRaCks_CompactOCX.zip 21-41-24.09.01_DeBecker_AudioPlayer.zip 14-00-06.12.00_Client_Server.zip 13-06-28.09.02_StatusBarPanel.zip 15-49-02.12.00_Tennis.zip 17-55-12.05.02_MnE_3.51.zip 18-07-02.02.02_Gro?e_Potenzen_errechen.zip 20-51-01.07.02_RegOcx.zip 21-52-29.11.02_(nicht) ganz einfach.zip 17-58-03.08.01_Paswort_Spion.zip 16-04-10.10.02_BenutzerMen?.zip 15-57-18.11.02_clsSystemShutDown.cls 14-51-23.01.01_Gesendetebytes2000.zip 14-27-11.06.01_Win32api.zip 20-30-26.06.02_Polygonberechnung.zip 15-28-17.06.02_KreuzTab.zip 23-40-20.09.01_Regcontrol.zip 16-21-14.10.01_Mp3.zip 18-41-22.11.01_setup.iss.txt 20-10-26.03.01_SEA.zip 23-33-27.08.01_Chat.zip 11-03-19.07.02_Threads.zip 18-31-02.12.00_Polygon.zip 13-27-16.08.01_Rechter_Men??eintrag.zip 14-27-20.07.02_schlie?en_verboten2.zip 19-50-19.04.01_RegAcces.bas 20-25-12.02.01_WordDruck.zip 15-18-30.10.01_Gms.zip 18-41-13.03.01_CDR.zip 16-12-08.05.01_Horner.zip 12-24-30.01.01_RTFSpec15.zip 11-59-02.07.02_LoadResource_WinInet.zip 10-07-20.10.01_TreeviewDB.zip 14-13-28.12.02_TwipsTest.zip 14-22-26.12.01_W?hrungs-Profi.zip 23-32-29.08.01_VB_SPIEL.zip 17-56-22.08.01_3DEffekte.zip 10-21-06.12.02_ODBC.zip 20-44-29.01.01_Nuetzliche-Module.zip 12-16-02.12.01_Portmodul.zip 00-35-25.01.02_BubbleWindow.zip 18-36-06.11.02_NumberBox.zip 16-50-05.11.00_sprites.zip 14-47-06.12.01_Festplatte_browsen.zip 19-28-05.10.01_flackern.zip 15-21-20.07.01_FlexPrint.zip Best Regards Kari Laine From gambas at ...1... Wed Oct 15 00:36:10 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Oct 2008 00:36:10 +0200 Subject: [Gambas-user] settings.read() In-Reply-To: <200810141509.06444.gambas@...1938...> References: <200810141509.06444.gambas@...1938...> Message-ID: <200810150036.11059.gambas@...1...> On mardi 14 octobre 2008, gambas at ...1938... wrote: > Dear List, > > I want to read a settings file, which is not located in the standard > directory (User.Home &/ ".config/gambas" &/ Application.Name & ".conf"). > Is "Seetings.Read" the right solution for this purpose? When yes, can > anybody give me an example in form of a code snipplet, please? > > TIA > Stevie > You can specify the path of the settings in the Settings constructor. DIM hMySettings = NEW Settings("/path/to/my/settings.conf") Regards, -- Benoit Minisini From gambas at ...1... Wed Oct 15 00:37:17 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Oct 2008 00:37:17 +0200 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> Message-ID: <200810150037.17612.gambas@...1...> On mardi 14 octobre 2008, M0E Lnx wrote: > Here is what I'd like to do... Not sure how to do it or if it is possible > at all > > I want to have an object like a gridview or tableview where I can have > at least 3 columns > > Column1 will have a checkbox (boolean) value > Column2 will have a string value (could be a textlabel or just the > field's .text value) > Column3 will have an interger value (could also use string... not > necessarily interger) > > The idea is to create a list of items... say file names to copy to some > location > > This window would copy all the files that have the checkbox set to > TRUE on column1 > > I know the gridview and tableview are not container objects, so I > can't create a checkbox into either one of them > > Does anyone have any idea how this could be done? > For checkboxes, I use two pictures and the mouse events. Regards, -- Benoit Minisini From ron at ...1740... Tue Oct 14 23:32:06 2008 From: ron at ...1740... (Ron) Date: Tue, 14 Oct 2008 23:32:06 +0200 Subject: [Gambas-user] Accesing workspace's tabs In-Reply-To: References: Message-ID: <48F50FD6.1020706@...1740...> Jorge Carrio'n wrote: >> Ron_2nd wrote: >> use this routine in my app, if a workspace is not already created it >> will be, if it is, it activates it >> >> ' load a page onto the workspace, or give already loaded page focus. >> PUBLIC SUB OpenPage(hForm AS Form) >> >> wrkMain.Add(hForm) >> wrkMain.ActiveWindow = hForm >> >> END >> >> Regards, >> Ron_2nd >> > > I think than when you Add a workspace it becomes the ActiveWindow by default. > So if in you function hForm already exists it should duplicate the > tabstrip. Ins't it? > Perhaps the right code should be something like this: > > PUBLIC SUB OpenPage(hForm AS Form) > > TRY wrkMain.Activewindows= hForm > If error then WrkMain.Add(hForm) > > END > > Isn't it? > > Thanks for your answer. > > Jorge > > Try to add it if it's already there doesn't result in duplicates, I use it all the time in my prog it works ok this way. The try and error code looks more clean, but is more code ;-) regards, Ron_2nd. From klaine8 at ...626... Wed Oct 15 14:42:09 2008 From: klaine8 at ...626... (Kari Laine) Date: Wed, 15 Oct 2008 15:42:09 +0300 Subject: [Gambas-user] Possible bug in Gambas Message-ID: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> Hi, This a resend because it did not turn up on the list yesterday. I am making a backup program and I stumbled on problematic file names. genisoimage don't like them and when I started to make a cleanup routine with Gambas it also don't like them. This is bit difficult to describe. First the error I get when trying to search "gen.zip" in console window is "This application has raised an unexpected error and must abort" "[32] Bad string conversion. FOutput.Search 302" The routine to print file-names to console window is this. ------------------ PUBLIC SUB Button3_Click() DIM sDir2 AS String DIM sFile2 AS String sDir2 = "/home/kari/backup_work/cdroot/mnt/sde1/backup_kokeilu/kari14/vb_samples2/" FOR EACH sFile2 IN Dir(sDir2, "*") PRINT sFile2 NEXT END ---------------- Sorry this is long. Contents of console window when searching causes error is: 12-20-24.07.01_H??ng-Men_setup.zip 12-50-25.08.01_Progressbar.zip 20-21-05.02.01_Mathe.zip 15-44-16.08.02_CheckSum.bas 11-37-16.03.01_Server.zip 14-23-15.10.00_RC.zip 18-59-13.05.01_Skin.dll 13-30-04.09.01_GetRes.zip terminkalender.zip 09-20-11.10.02_DAO-DS-Navigation.zip 14-14-14.03.01_ButRot.zip 21-40-18.07.01_zipstudio.zip 00-51-24.01.02_BubbleWindow.zip Best Regards Kari Laine From m0e.lnx at ...626... Wed Oct 15 14:36:31 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Wed, 15 Oct 2008 07:36:31 -0500 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <200810150037.17612.gambas@...1...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> <200810150037.17612.gambas@...1...> Message-ID: <1f1e8c1b0810150536xab1831s24d6e034466d209a@...627...> But can you put this in a gridview? On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini wrote: > On mardi 14 octobre 2008, M0E Lnx wrote: >> Here is what I'd like to do... Not sure how to do it or if it is possible >> at all >> >> I want to have an object like a gridview or tableview where I can have >> at least 3 columns >> >> Column1 will have a checkbox (boolean) value >> Column2 will have a string value (could be a textlabel or just the >> field's .text value) >> Column3 will have an interger value (could also use string... not >> necessarily interger) >> >> The idea is to create a list of items... say file names to copy to some >> location >> >> This window would copy all the files that have the checkbox set to >> TRUE on column1 >> >> I know the gridview and tableview are not container objects, so I >> can't create a checkbox into either one of them >> >> Does anyone have any idea how this could be done? >> > > For checkboxes, I use two pictures and the mouse events. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ronstk at ...239... Wed Oct 15 16:15:04 2008 From: ronstk at ...239... (Ron_1st) Date: Wed, 15 Oct 2008 16:15:04 +0200 Subject: [Gambas-user] Possible bug in Gambas In-Reply-To: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> References: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> Message-ID: <200810151615.04822.ronstk@...239...> On Wednesday 15 October 2008, Kari Laine wrote: > Hi, > > This a resend because it did not turn up on the list yesterday. > > > I am making a backup program and I stumbled on problematic file names. > genisoimage don't like them and when I started to make a cleanup routine > with Gambas it also don't like them. > This is bit difficult to describe. First the error I get when trying to > search "gen.zip" in console window is > > "This application has raised an unexpected error and must abort" > "[32] Bad string conversion. FOutput.Search 302" > > > The routine to print file-names to console window is this. > ------------------ > PUBLIC SUB Button3_Click() > DIM sDir2 AS String > DIM sFile2 AS String > sDir2 = > "/home/kari/backup_work/cdroot/mnt/sde1/backup_kokeilu/kari14/vb_samples2/" > FOR EACH sFile2 IN Dir(sDir2, "*") > PRINT sFile2 > NEXT > END > > ---------------- > > Sorry this is long. > Contents of console window when searching causes error is: > > 12-20-24.07.01_H??ng-Men_setup.zip What should stand on the ??, (welche buchstaben?) You are reading a windows disk/mount and this is mount as iso8159(-15) character set this is wrong for bare gambas. you need characterset conversion like utf8 to get the correct text or mount the windows disk as utf8 when posible. In short, you have a characterset conversion problem. > 12-50-25.08.01_Progressbar.zip > 20-21-05.02.01_Mathe.zip > 15-44-16.08.02_CheckSum.bas > 11-37-16.03.01_Server.zip > 14-23-15.10.00_RC.zip > 18-59-13.05.01_Skin.dll > 13-30-04.09.01_GetRes.zip > terminkalender.zip > 09-20-11.10.02_DAO-DS-Navigation.zip > 14-14-14.03.01_ButRot.zip > 21-40-18.07.01_zipstudio.zip > 00-51-24.01.02_BubbleWindow.zip > > > > Best Regards > Kari Laine > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Best Regards Ron_1st From klaine8 at ...626... Wed Oct 15 17:06:21 2008 From: klaine8 at ...626... (Kari Laine) Date: Wed, 15 Oct 2008 18:06:21 +0300 Subject: [Gambas-user] Possible bug in Gambas In-Reply-To: <200810151615.04822.ronstk@...239...> References: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> <200810151615.04822.ronstk@...239...> Message-ID: <61452b690810150806v4b678fd6r7c2ca385245471fd@...627...> On Wed, Oct 15, 2008 at 5:15 PM, Ron_1st wrote: > > What should stand on the ??, (welche buchstaben?) My german is almost nonexistent. Those files were collected years back when archiving usenet for good VB6 examples. > > > You are reading a windows disk/mount and this is mount as iso8159(-15) > character set > this is wrong for bare gambas. > you need characterset conversion like utf8 to get the correct text > or mount the windows disk as utf8 when posible. > > In short, you have a characterset conversion problem. > > Hi Ron_1st, Yep I know but shouldn't Gambas cope with it more nicely than just crash :-) Those files ended up in Linux-filesystem by me copying them from Windows NTFS-partition mounted without specifying charset. As a brute force method I now made a filter which renames files to 7-bit ascii. I would not want to do this but really don't understand what else I could do. I would like to support all locales with genisoimage. I don't really understand how different locales work in Gambas. What functions are able to handle UTF-8 in Gambas? Any good web-sites where I could start learning things? If I understand right those names are illegal in my locale because for example ls|wc complains. Any help highly appreciated Best Regards Kari Laine From rospolosco at ...152... Wed Oct 15 17:39:30 2008 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 15 Oct 2008 17:39:30 +0200 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <1f1e8c1b0810150536xab1831s24d6e034466d209a@...627...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> <200810150037.17612.gambas@...1...> <1f1e8c1b0810150536xab1831s24d6e034466d209a@...627...> Message-ID: <200810151739.30446.rospolosco@...152...> Il mercoled? 15 ottobre 2008 14:36:31 M0E Lnx ha scritto: > But can you put this in a gridview? > > > On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini > > wrote: > > On mardi 14 octobre 2008, M0E Lnx wrote: > >> Here is what I'd like to do... Not sure how to do it or if it is > >> possible at all > >> > >> I want to have an object like a gridview or tableview where I can have > >> at least 3 columns > >> > >> Column1 will have a checkbox (boolean) value > >> Column2 will have a string value (could be a textlabel or just the > >> field's .text value) > >> Column3 will have an interger value (could also use string... not > >> necessarily interger) > >> > >> The idea is to create a list of items... say file names to copy to some > >> location > >> > >> This window would copy all the files that have the checkbox set to > >> TRUE on column1 > >> > >> I know the gridview and tableview are not container objects, so I > >> can't create a checkbox into either one of them > >> > >> Does anyone have any idea how this could be done? > > > > For checkboxes, I use two pictures and the mouse events. > > > > Regards, > > > > -- > > Benoit Minisini > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & > > win great prizes Grand prize is a trip for two to an Open Source event > > anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1938... Wed Oct 15 18:00:15 2008 From: gambas at ...1938... (gambas at ...1938...) Date: Wed, 15 Oct 2008 18:00:15 +0200 Subject: [Gambas-user] settings.read() In-Reply-To: <200810150036.11059.gambas@...1...> References: <200810141509.06444.gambas@...1938...> <200810150036.11059.gambas@...1...> Message-ID: <200810151800.15156.gambas@...1938...> Am Mittwoch, 15. Oktober 2008 00:36:10 schrieb Benoit Minisini: > On mardi 14 octobre 2008, gambas at ...1938... wrote: > > Dear List, > > > > I want to read a settings file, which is not located in the standard > > directory (User.Home &/ ".config/gambas" &/ Application.Name & ".conf"). > > Is "Seetings.Read" the right solution for this purpose? When yes, can > > anybody give me an example in form of a code snipplet, please? > > > > TIA > > Stevie > > You can specify the path of the settings in the Settings constructor. > > DIM hMySettings = NEW Settings("/path/to/my/settings.conf") > > Regards, Thanks for your help! :-) I got it working, but I think, this info has to be part of the wiki and/or the docu. Same with format of the parsed config file. Values in string format has to be in dopple quotes, like this: Key = "Value" BTW: Settings() is a really cool function, saved me 40 lines of my own code in perl, respectively a perl module! :-)))) Erhm....what's about improving the docs??? *cover&hide* :-) Greetz Stevie From rospolosco at ...152... Wed Oct 15 17:58:31 2008 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 15 Oct 2008 17:58:31 +0200 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <1f1e8c1b0810150536xab1831s24d6e034466d209a@...627...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> <200810150037.17612.gambas@...1...> <1f1e8c1b0810150536xab1831s24d6e034466d209a@...627...> Message-ID: <200810151758.32100.rospolosco@...152...> Il mercoled? 15 ottobre 2008 14:36:31 M0E Lnx ha scritto: > But can you put this in a gridview? > Attached a little example. > > On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini > > wrote: > > On mardi 14 octobre 2008, M0E Lnx wrote: > >> Here is what I'd like to do... Not sure how to do it or if it is > >> possible at all > >> > >> I want to have an object like a gridview or tableview where I can have > >> at least 3 columns > >> > >> Column1 will have a checkbox (boolean) value > >> Column2 will have a string value (could be a textlabel or just the > >> field's .text value) > >> Column3 will have an interger value (could also use string... not > >> necessarily interger) > >> > >> The idea is to create a list of items... say file names to copy to some > >> location > >> > >> This window would copy all the files that have the checkbox set to > >> TRUE on column1 > >> > >> I know the gridview and tableview are not container objects, so I > >> can't create a checkbox into either one of them > >> > >> Does anyone have any idea how this could be done? > > > > For checkboxes, I use two pictures and the mouse events. > > > > Regards, > > > > -- > > Benoit Minisini > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge Build the coolest Linux based applications with Moblin SDK & > > win great prizes Grand prize is a trip for two to an Open Source event > > anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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: gridexample-image-0.0.1.tar.gz Type: application/x-tgz Size: 8188 bytes Desc: not available URL: From wdahn at ...1000... Wed Oct 15 17:57:40 2008 From: wdahn at ...1000... (Werner) Date: Wed, 15 Oct 2008 23:57:40 +0800 Subject: [Gambas-user] Possible bug in Gambas In-Reply-To: <61452b690810150806v4b678fd6r7c2ca385245471fd@...627...> References: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> <200810151615.04822.ronstk@...239...> <61452b690810150806v4b678fd6r7c2ca385245471fd@...627...> Message-ID: <48F612F4.1040205@...1000...> Kari Laine wrote: > On Wed, Oct 15, 2008 at 5:15 PM, Ron_1st wrote: > > >> What should stand on the ??, (welche buchstaben?) >> > > My german is almost nonexistent. Those files were collected years back when > archiving usenet for good VB6 examples. > > > >> You are reading a windows disk/mount and this is mount as iso8159(-15) >> character set >> this is wrong for bare gambas. >> you need characterset conversion like utf8 to get the correct text >> or mount the windows disk as utf8 when posible. >> >> In short, you have a characterset conversion problem. >> >> Hi Ron_1st, >> > > Yep I know but shouldn't Gambas cope with it more nicely than just crash :-) > > Those files ended up in Linux-filesystem by me copying them from Windows > NTFS-partition mounted without specifying charset. > As a brute force method I now made a filter which renames files to 7-bit > ascii. I would not want to do this but really don't understand what else I > could do. > I would like to support all locales with genisoimage. I don't really > understand how different locales work in Gambas. What functions are able to > handle UTF-8 in Gambas? > Any good web-sites where I could start learning things? > > If I understand right those names are illegal in my locale because for > example ls|wc complains. > > Any help highly appreciated > > Best Regards > Kari Laine > They stand for umlauts ? ? ? from what I deduct from the file names. Best Regards Werner From m0e.lnx at ...626... Wed Oct 15 19:25:26 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Wed, 15 Oct 2008 12:25:26 -0500 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <200810151758.32100.rospolosco@...152...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> <200810150037.17612.gambas@...1...> <1f1e8c1b0810150536xab1831s24d6e034466d209a@...627...> <200810151758.32100.rospolosco@...152...> Message-ID: <1f1e8c1b0810151025w53f344ccw1a9d18f0c1dc0a95@...627...> Maybe another gb.gtk bug here, but the picture is not changing when I click on your example project here. I guess what I really mean is I'd like to have the hability to use the grid as a container for other objects such as checkboxes and comboboxes. On Wed, Oct 15, 2008 at 10:58 AM, Stefano Palmeri wrote: > Il mercoled? 15 ottobre 2008 14:36:31 M0E Lnx ha scritto: >> But can you put this in a gridview? >> > > Attached a little example. > > > >> >> On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini >> >> wrote: >> > On mardi 14 octobre 2008, M0E Lnx wrote: >> >> Here is what I'd like to do... Not sure how to do it or if it is >> >> possible at all >> >> >> >> I want to have an object like a gridview or tableview where I can have >> >> at least 3 columns >> >> >> >> Column1 will have a checkbox (boolean) value >> >> Column2 will have a string value (could be a textlabel or just the >> >> field's .text value) >> >> Column3 will have an interger value (could also use string... not >> >> necessarily interger) >> >> >> >> The idea is to create a list of items... say file names to copy to some >> >> location >> >> >> >> This window would copy all the files that have the checkbox set to >> >> TRUE on column1 >> >> >> >> I know the gridview and tableview are not container objects, so I >> >> can't create a checkbox into either one of them >> >> >> >> Does anyone have any idea how this could be done? >> > >> > For checkboxes, I use two pictures and the mouse events. >> > >> > Regards, >> > >> > -- >> > Benoit Minisini >> > >> > ------------------------------------------------------------------------- >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >> > challenge Build the coolest Linux based applications with Moblin SDK & >> > win great prizes Grand prize is a trip for two to an Open Source event >> > anywhere in the world >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From m0e.lnx at ...626... Wed Oct 15 19:25:26 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Wed, 15 Oct 2008 12:25:26 -0500 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <200810151758.32100.rospolosco@...152...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> <200810150037.17612.gambas@...1...> <1f1e8c1b0810150536xab1831s24d6e034466d209a@...627...> <200810151758.32100.rospolosco@...152...> Message-ID: <1f1e8c1b0810151025w53f344ccw1a9d18f0c1dc0a95@...627...> Maybe another gb.gtk bug here, but the picture is not changing when I click on your example project here. I guess what I really mean is I'd like to have the hability to use the grid as a container for other objects such as checkboxes and comboboxes. On Wed, Oct 15, 2008 at 10:58 AM, Stefano Palmeri wrote: > Il mercoled? 15 ottobre 2008 14:36:31 M0E Lnx ha scritto: >> But can you put this in a gridview? >> > > Attached a little example. > > > >> >> On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini >> >> wrote: >> > On mardi 14 octobre 2008, M0E Lnx wrote: >> >> Here is what I'd like to do... Not sure how to do it or if it is >> >> possible at all >> >> >> >> I want to have an object like a gridview or tableview where I can have >> >> at least 3 columns >> >> >> >> Column1 will have a checkbox (boolean) value >> >> Column2 will have a string value (could be a textlabel or just the >> >> field's .text value) >> >> Column3 will have an interger value (could also use string... not >> >> necessarily interger) >> >> >> >> The idea is to create a list of items... say file names to copy to some >> >> location >> >> >> >> This window would copy all the files that have the checkbox set to >> >> TRUE on column1 >> >> >> >> I know the gridview and tableview are not container objects, so I >> >> can't create a checkbox into either one of them >> >> >> >> Does anyone have any idea how this could be done? >> > >> > For checkboxes, I use two pictures and the mouse events. >> > >> > Regards, >> > >> > -- >> > Benoit Minisini >> > >> > ------------------------------------------------------------------------- >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >> > challenge Build the coolest Linux based applications with Moblin SDK & >> > win great prizes Grand prize is a trip for two to an Open Source event >> > anywhere in the world >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From klaine8 at ...626... Wed Oct 15 20:02:30 2008 From: klaine8 at ...626... (Kari Laine) Date: Wed, 15 Oct 2008 21:02:30 +0300 Subject: [Gambas-user] Possible bug in Gambas In-Reply-To: <48F612F4.1040205@...1000...> References: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> <200810151615.04822.ronstk@...239...> <61452b690810150806v4b678fd6r7c2ca385245471fd@...627...> <48F612F4.1040205@...1000...> Message-ID: <61452b690810151102i61814c65pba6351c92e93fbb9@...627...> On Wed, Oct 15, 2008 at 6:57 PM, Werner wrote: > Kari Laine wrote: > > On Wed, Oct 15, 2008 at 5:15 PM, Ron_1st wrote: > > > > > >> What should stand on the ??, (welche buchstaben?) > >> > > > They stand for umlauts ? ? ? from what I deduct from the file names. > > Best Regards > Werner > Hi Werner, thanks for pointing that out. But I am not sure whether they are even that anymore after being in Windows-environment and copied over to ext3 utf-8 filesystem. The true identity of the letters might have been lost even before. Some of them show up as boxes in Gambas console-window. How can I check what characters the file name consist in Linux-environment? Probably view with hex-editor the directory entry - don't know how to do this... Because I use UTF-8 those umlauts (if they were intact) should show without problem? My locale (I am Finland so it should be FI something but I prefer english-language on computers) LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= I really must learn this UTF-8 thing. Best Regards Kari Laine From joshiggins at ...1601... Wed Oct 15 20:14:36 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Wed, 15 Oct 2008 19:14:36 +0100 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <1f1e8c1b0810151025w53f344ccw1a9d18f0c1dc0a95@...627...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> <200810150037.17612.gambas@...1...> <1f1e8c1b0810150536xab1831s24d6e034466d209a@...627...> <200810151758.32100.rospolosco@...152...> <1f1e8c1b0810151025w53f344ccw1a9d18f0c1dc0a95@...627...> Message-ID: <4247f5440810151114v7a558397v56a07345e094267a@...627...> To Stefano: your example raises a signal 11 for me so I can't check whether it works (Gambas 2.5). On Wed, Oct 15, 2008 at 6:25 PM, M0E Lnx wrote: > Maybe another gb.gtk bug here, but the picture is not changing when I > click on your example project here. > > I guess what I really mean is I'd like to have the hability to use the > grid as a container for other objects such as checkboxes and > comboboxes. > > > > > On Wed, Oct 15, 2008 at 10:58 AM, Stefano Palmeri > wrote: > > Il mercoled? 15 ottobre 2008 14:36:31 M0E Lnx ha scritto: > >> But can you put this in a gridview? > >> > > > > Attached a little example. > > > > > > > >> > >> On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini > >> > >> wrote: > >> > On mardi 14 octobre 2008, M0E Lnx wrote: > >> >> Here is what I'd like to do... Not sure how to do it or if it is > >> >> possible at all > >> >> > >> >> I want to have an object like a gridview or tableview where I can > have > >> >> at least 3 columns > >> >> > >> >> Column1 will have a checkbox (boolean) value > >> >> Column2 will have a string value (could be a textlabel or just the > >> >> field's .text value) > >> >> Column3 will have an interger value (could also use string... not > >> >> necessarily interger) > >> >> > >> >> The idea is to create a list of items... say file names to copy to > some > >> >> location > >> >> > >> >> This window would copy all the files that have the checkbox set to > >> >> TRUE on column1 > >> >> > >> >> I know the gridview and tableview are not container objects, so I > >> >> can't create a checkbox into either one of them > >> >> > >> >> Does anyone have any idea how this could be done? > >> > > >> > For checkboxes, I use two pictures and the mouse events. > >> > > >> > Regards, > >> > > >> > -- > >> > Benoit Minisini > >> > > >> > > ------------------------------------------------------------------------- > >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > >> > challenge Build the coolest Linux based applications with Moblin SDK & > >> > win great prizes Grand prize is a trip for two to an Open Source event > >> > anywhere in the world > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > ------------------------------------------------------------------------- > >> This SF.Net email is sponsored by the Moblin Your Move Developer's > >> challenge Build the coolest Linux based applications with Moblin SDK & > win > >> great prizes Grand prize is a trip for two to an Open Source event > anywhere > >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From m0e.lnx at ...626... Wed Oct 15 19:25:26 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Wed, 15 Oct 2008 12:25:26 -0500 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <200810151758.32100.rospolosco@...152...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> <200810150037.17612.gambas@...1...> <1f1e8c1b0810150536xab1831s24d6e034466d209a@...627...> <200810151758.32100.rospolosco@...152...> Message-ID: <1f1e8c1b0810151025w53f344ccw1a9d18f0c1dc0a95@...627...> Maybe another gb.gtk bug here, but the picture is not changing when I click on your example project here. I guess what I really mean is I'd like to have the hability to use the grid as a container for other objects such as checkboxes and comboboxes. On Wed, Oct 15, 2008 at 10:58 AM, Stefano Palmeri wrote: > Il mercoled? 15 ottobre 2008 14:36:31 M0E Lnx ha scritto: >> But can you put this in a gridview? >> > > Attached a little example. > > > >> >> On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini >> >> wrote: >> > On mardi 14 octobre 2008, M0E Lnx wrote: >> >> Here is what I'd like to do... Not sure how to do it or if it is >> >> possible at all >> >> >> >> I want to have an object like a gridview or tableview where I can have >> >> at least 3 columns >> >> >> >> Column1 will have a checkbox (boolean) value >> >> Column2 will have a string value (could be a textlabel or just the >> >> field's .text value) >> >> Column3 will have an interger value (could also use string... not >> >> necessarily interger) >> >> >> >> The idea is to create a list of items... say file names to copy to some >> >> location >> >> >> >> This window would copy all the files that have the checkbox set to >> >> TRUE on column1 >> >> >> >> I know the gridview and tableview are not container objects, so I >> >> can't create a checkbox into either one of them >> >> >> >> Does anyone have any idea how this could be done? >> > >> > For checkboxes, I use two pictures and the mouse events. >> > >> > Regards, >> > >> > -- >> > Benoit Minisini >> > >> > ------------------------------------------------------------------------- >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >> > challenge Build the coolest Linux based applications with Moblin SDK & >> > win great prizes Grand prize is a trip for two to an Open Source event >> > anywhere in the world >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge Build the coolest Linux based applications with Moblin SDK & win >> great prizes Grand prize is a trip for two to an Open Source event anywhere >> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Wed Oct 15 20:55:10 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Oct 2008 20:55:10 +0200 Subject: [Gambas-user] settings.read() In-Reply-To: <200810151800.15156.gambas@...1938...> References: <200810141509.06444.gambas@...1938...> <200810150036.11059.gambas@...1...> <200810151800.15156.gambas@...1938...> Message-ID: <200810152055.10674.gambas@...1...> On mercredi 15 octobre 2008, gambas at ...1938... wrote: > Am Mittwoch, 15. Oktober 2008 00:36:10 schrieb Benoit Minisini: > > On mardi 14 octobre 2008, gambas at ...1938... wrote: > > > Dear List, > > > > > > I want to read a settings file, which is not located in the standard > > > directory (User.Home &/ ".config/gambas" &/ Application.Name & > > > ".conf"). Is "Seetings.Read" the right solution for this purpose? When > > > yes, can anybody give me an example in form of a code snipplet, please? > > > > > > TIA > > > Stevie > > > > You can specify the path of the settings in the Settings constructor. > > > > DIM hMySettings = NEW Settings("/path/to/my/settings.conf") > > > > Regards, > > Thanks for your help! :-) > > I got it working, but I think, this info has to be part of the wiki and/or > the docu. This is documented in the wiki. > Same with format of the parsed config file. Values in string > format has to be in dopple quotes, like this: > Key = "Value" The format is not documented because it can change. The rule is accessing settings file only with the Settings class. Regards, -- Benoit Minisini From gambas at ...1... Thu Oct 16 01:02:55 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 16 Oct 2008 01:02:55 +0200 Subject: [Gambas-user] About gb.xml component Message-ID: <200810160102.55267.gambas@...1...> Hi, The management of XML nodes in the gb.xml component was incorrect, so I started to fix it in revision #1641. So if Ron, (and others trying to use that component) can test it again with their application, and tell me the result, it would be cool. If I succeed in fixing gb.xml, maybe I will be able to finally release Gambas 2.9! Regards, -- Benoit Minisini From ronstk at ...239... Thu Oct 16 03:19:38 2008 From: ronstk at ...239... (Ron_1st) Date: Thu, 16 Oct 2008 03:19:38 +0200 Subject: [Gambas-user] Possible bug in Gambas In-Reply-To: <61452b690810150806v4b678fd6r7c2ca385245471fd@...627...> References: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> <200810151615.04822.ronstk@...239...> <61452b690810150806v4b678fd6r7c2ca385245471fd@...627...> Message-ID: <200810160319.38752.ronstk@...239...> On Wednesday 15 October 2008, Kari Laine wrote: > On Wed, Oct 15, 2008 at 5:15 PM, Ron_1st wrote: > > > > > What should stand on the ??, (welche buchstaben?) > > My german is almost nonexistent. Those files were collected years back when > archiving usenet for good VB6 examples. > > > > > > > > You are reading a windows disk/mount and this is mount as iso8159(-15) > > character set > > this is wrong for bare gambas. > > you need characterset conversion like utf8 to get the correct text > > or mount the windows disk as utf8 when posible. > > > > In short, you have a characterset conversion problem. > > > > Hi Ron_1st, > > Yep I know but shouldn't Gambas cope with it more nicely than just crash :-) > Sorry, I did oversee the crash line. I did see the specific language problem that toke my attention. > Those files ended up in Linux-filesystem by me copying them from Windows > NTFS-partition mounted without specifying charset. > As a brute force method I now made a filter which renames files to 7-bit > ascii. I would not want to do this but really don't understand what else I > could do. copy the bad named files to a save place and check working of the program. > I would like to support all locales with genisoimage. I don't really > understand how different locales work in Gambas. What functions are able to > handle UTF-8 in Gambas? The Desktop class and String class has character set handling/conversion. > Any good web-sites where I could start learning things? I did read a lot of info on http://unicode.org/ and http://www.cl.cam.ac.uk/~mgk25/unicode.html > > If I understand right those names are illegal in my locale because for > example ls|wc complains. > My locale tells # locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" > Any help highly appreciated > > Best Regards > Kari Laine > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Best regards Ron_1st From ronstk at ...239... Thu Oct 16 03:40:35 2008 From: ronstk at ...239... (Ron_1st) Date: Thu, 16 Oct 2008 03:40:35 +0200 Subject: [Gambas-user] Possible bug in Gambas In-Reply-To: <61452b690810151102i61814c65pba6351c92e93fbb9@...627...> References: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> <48F612F4.1040205@...1000...> <61452b690810151102i61814c65pba6351c92e93fbb9@...627...> Message-ID: <200810160340.35404.ronstk@...239...> On Wednesday 15 October 2008, Kari Laine wrote: > On Wed, Oct 15, 2008 at 6:57 PM, Werner wrote: > > > Kari Laine wrote: > > > On Wed, Oct 15, 2008 at 5:15 PM, Ron_1st wrote: > > > > > > > > >> What should stand on the ??, (welche buchstaben?) > > >> > > > > > They stand for umlauts ? ? ? from what I deduct from the file names. > > > > Best Regards > > Werner > > > Hi Werner, > > thanks for pointing that out. But I am not sure whether they are even that > anymore after being in Windows-environment and copied over to ext3 utf-8 > filesystem. The true identity of the letters might have been lost even > before. Some of them show up as boxes in Gambas console-window. How can I > check what characters the file name consist in Linux-environment? Probably > view with hex-editor the directory entry - don't know how to do this... > > Because I use UTF-8 those umlauts (if they were intact) should show without > problem? They should. I did see in the list the umlaut characters in the filenames so I asume the filenames with boxes has been on FAT before the file was put on NTFS. Also it can be the newsreader wasn't able to handle UTF8 at grabbing the news. > > My locale (I am Finland so it should be FI something but I prefer > english-language on computers) > LANG=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL= > Looks OK to me. :) > > I really must learn this UTF-8 thing. Don't try to hard. It are the others that misbehave the character set Seen webservers telling UTF8 and page iso8159-1 or -15 and reverse. > > Best Regards > Kari Laine > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Also in the list of filenames some does not ave a leading date. Are they realy whitout date else I asume in the filename there is a character that does trigger a CR. Maybe that is the trouble for ls, wc and gambas with those. Best regards Ron_1st From doriano.blengino at ...1909... Thu Oct 16 08:38:06 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Thu, 16 Oct 2008 08:38:06 +0200 Subject: [Gambas-user] Possible bug in Gambas In-Reply-To: <200810160340.35404.ronstk@...239...> References: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> <48F612F4.1040205@...1000...> <61452b690810151102i61814c65pba6351c92e93fbb9@...627...> <200810160340.35404.ronstk@...239...> Message-ID: <48F6E14E.6050404@...1909...> Ron_1st ha scritto: > On Wednesday 15 October 2008, Kari Laine wrote: > >> On Wed, Oct 15, 2008 at 6:57 PM, Werner wrote: >> >> >>> Kari Laine wrote: >>> >>>> On Wed, Oct 15, 2008 at 5:15 PM, Ron_1st wrote: >>>> >>>> >>>> >>>>> What should stand on the ??, (welche buchstaben?) >>>>> >>>>> >>> They stand for umlauts ? ? ? from what I deduct from the file names. >>> You could try a batch rename for all file names. Try this command line: echo -n "See 123 ????.??#" |tr -c [:alnum:]" ." -; echo In my italian keyboard I have the ???, you will have other glyphs. If this could help, then a for a in *; do mv "$a" "$(echo -n "$a" |tr -c [:alnum:]' .' -)"; done should remove all those unwanted/erroneous chars. You can add other glyphs to be maintained, inside the quotes after [:alnum]. I think that, if "ls |wc" complains, then gambas is legitimate to complain too: of course by raising a catchable error. Cheers. From ronstk at ...239... Thu Oct 16 08:47:46 2008 From: ronstk at ...239... (Ron_1st) Date: Thu, 16 Oct 2008 08:47:46 +0200 Subject: [Gambas-user] Possible bug in Gambas In-Reply-To: <48F6E14E.6050404@...1909...> References: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> <200810160340.35404.ronstk@...239...> <48F6E14E.6050404@...1909...> Message-ID: <200810160847.46995.ronstk@...239...> On Thursday 16 October 2008, Doriano Blengino wrote: > Ron_1st ha scritto: > > On Wednesday 15 October 2008, Kari Laine wrote: > > > >> On Wed, Oct 15, 2008 at 6:57 PM, Werner wrote: > >> > >> > >>> Kari Laine wrote: > >>> > >>>> On Wed, Oct 15, 2008 at 5:15 PM, Ron_1st wrote: > >>>> > >>>> > >>>> > >>>>> What should stand on the ??, (welche buchstaben?) > >>>>> > >>>>> > >>> They stand for umlauts ? ? ? from what I deduct from the file names. > >>> > You could try a batch rename for all file names. Try this command line: > > echo -n "See 123 ????.??#" |tr -c [:alnum:]" ." -; echo That is not posible. There are 2 unknown letters that should be replaced by one? Second German is not the native language of Kari when I understood right, so it is unknown how to rename '14-43-18.06.02_APIs_f??r_ComboBox_+_ListBox.zip' Only german speaking persoon know that it must be ...APIs_f?r_ComboBox... or ...APIs_fuer_ComboBox... > > In my italian keyboard I have the ???, you will have other glyphs. If > this could help, then a > > for a in *; do mv "$a" "$(echo -n "$a" |tr -c [:alnum:]' .' -)"; done > > should remove all those unwanted/erroneous chars. You can add other > glyphs to be maintained, inside the quotes after [:alnum]. > > I think that, if "ls |wc" complains, then gambas is legitimate to > complain too: of course by raising a catchable error. > That's me idea too. > Cheers. > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Best regards Ron_1st From rospolosco at ...152... Thu Oct 16 09:38:59 2008 From: rospolosco at ...152... (Stefano Palmeri) Date: Thu, 16 Oct 2008 09:38:59 +0200 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <4247f5440810151114v7a558397v56a07345e094267a@...627...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> <1f1e8c1b0810151025w53f344ccw1a9d18f0c1dc0a95@...627...> <4247f5440810151114v7a558397v56a07345e094267a@...627...> Message-ID: <200810160939.00181.rospolosco@...152...> Il mercoled? 15 ottobre 2008 20:14:36 Joshua Higgins ha scritto: > To Stefano: your example raises a signal 11 for me so I can't check whether > it works (Gambas 2.5). > I'm using Gambas 2.8.2, under KDE (so it uses gb.qt, I suppose). Here it works. Bye, Stefano > On Wed, Oct 15, 2008 at 6:25 PM, M0E Lnx wrote: > > Maybe another gb.gtk bug here, but the picture is not changing when I > > click on your example project here. > > > > I guess what I really mean is I'd like to have the hability to use the > > grid as a container for other objects such as checkboxes and > > comboboxes. > > > > > > > > > > On Wed, Oct 15, 2008 at 10:58 AM, Stefano Palmeri > > > > wrote: > > > Il mercoled? 15 ottobre 2008 14:36:31 M0E Lnx ha scritto: > > >> But can you put this in a gridview? > > > > > > Attached a little example. > > > > > >> On Tue, Oct 14, 2008 at 5:37 PM, Benoit Minisini > > >> > > >> wrote: > > >> > On mardi 14 octobre 2008, M0E Lnx wrote: > > >> >> Here is what I'd like to do... Not sure how to do it or if it is > > >> >> possible at all > > >> >> > > >> >> I want to have an object like a gridview or tableview where I can > > > > have > > > > >> >> at least 3 columns > > >> >> > > >> >> Column1 will have a checkbox (boolean) value > > >> >> Column2 will have a string value (could be a textlabel or just the > > >> >> field's .text value) > > >> >> Column3 will have an interger value (could also use string... not > > >> >> necessarily interger) > > >> >> > > >> >> The idea is to create a list of items... say file names to copy to > > > > some > > > > >> >> location > > >> >> > > >> >> This window would copy all the files that have the checkbox set to > > >> >> TRUE on column1 > > >> >> > > >> >> I know the gridview and tableview are not container objects, so I > > >> >> can't create a checkbox into either one of them > > >> >> > > >> >> Does anyone have any idea how this could be done? > > >> > > > >> > For checkboxes, I use two pictures and the mouse events. > > >> > > > >> > Regards, > > >> > > > >> > -- > > >> > Benoit Minisini > > > > ------------------------------------------------------------------------- > > > > >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > > >> > challenge Build the coolest Linux based applications with Moblin SDK > > >> > & win great prizes Grand prize is a trip for two to an Open Source > > >> > event anywhere in the world > > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > >> > _______________________________________________ > > >> > Gambas-user mailing list > > >> > Gambas-user at lists.sourceforge.net > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > > > > >> This SF.Net email is sponsored by the Moblin Your Move Developer's > > >> challenge Build the coolest Linux based applications with Moblin SDK & > > > > win > > > > >> great prizes Grand prize is a trip for two to an Open Source event > > > > anywhere > > > > >> in the world > > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > >> _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ----------------------------------------------------------------------- > > >-- This SF.Net email is sponsored by the Moblin Your Move Developer's > > > > challenge > > > > > Build the coolest Linux based applications with Moblin SDK & win great > > > > prizes > > > > > Grand prize is a trip for two to an Open Source event anywhere in the > > > > world > > > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From ron at ...1740... Thu Oct 16 10:28:23 2008 From: ron at ...1740... (Ron) Date: Thu, 16 Oct 2008 10:28:23 +0200 Subject: [Gambas-user] About gb.xml component In-Reply-To: <200810160102.55267.gambas@...1...> References: <200810160102.55267.gambas@...1...> Message-ID: <48F6FB27.9040802@...1740...> Benoit Minisini wrote: > Hi, > > The management of XML nodes in the gb.xml component was incorrect, so I > started to fix it in revision #1641. > > So if Ron, (and others trying to use that component) can test it again with > their application, and tell me the result, it would be cool. > > If I succeed in fixing gb.xml, maybe I will be able to finally release Gambas > 2.9! > Updated my svn and rebuild. Yes, finally the beanizer.org xml newsfeed reader is working for me! I thought my copying and pasting messed it up... but turned out to be a bug... What about these console messages when it tries to display an image to display inside the textedit object: QTextImage: no mimesource for http://c.fsdn.com/fm/screenshots/52493_thumb.jpg Is it possible to disable these msgs, or how to implement this feature in textedit? It's no biggy, I can strip out the tags for the time being I guess... All my other xml related programs still work ok, so that very nice! Thanks for fixing... Debian 4.0etch3, Ubuntu-eee, gb.qt, Gambas 2.9 svn 1641 Regards, Ron_2nd From ron at ...1740... Thu Oct 16 13:15:15 2008 From: ron at ...1740... (Ron) Date: Thu, 16 Oct 2008 13:15:15 +0200 Subject: [Gambas-user] String to Form Message-ID: <48F72243.1050700@...1740...> Silly thing I can't get my grip on, even after some coffee ;) I want to make the form to load on my workspace user configurable. So I have a cmbbox with all available Forms to load. I have a routine to place a form on the workspace, it expects a Form as param. and I have cmbForms.Text = "FControl" for example. How can I tell gambas it should use the string as a form name to open? It's now complaining about getting a string in instead of an Object. Often the small things take most of the time ;) Regards, Ron_2nd. From gambas at ...1... Thu Oct 16 13:23:28 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 16 Oct 2008 13:23:28 +0200 Subject: [Gambas-user] String to Form In-Reply-To: <48F72243.1050700@...1740...> References: <48F72243.1050700@...1740...> Message-ID: <200810161323.28476.gambas@...1...> On jeudi 16 octobre 2008, Ron wrote: > Silly thing I can't get my grip on, even after some coffee ;) > > I want to make the form to load on my workspace user configurable. > > So I have a cmbbox with all available Forms to load. > > I have a routine to place a form on the workspace, it expects a Form as > param. > and I have cmbForms.Text = "FControl" for example. > > How can I tell gambas it should use the string as a form name to open? > > It's now complaining about getting a string in instead of an Object. > > Often the small things take most of the time ;) > > Regards, > Ron_2nd. > hForm = Object.New("FormName") Regards, -- Benoit Minisini From gambas at ...1... Thu Oct 16 13:26:17 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 16 Oct 2008 13:26:17 +0200 Subject: [Gambas-user] How to nest a checkbox into a gridview's field In-Reply-To: <1f1e8c1b0810151025w53f344ccw1a9d18f0c1dc0a95@...627...> References: <1f1e8c1b0810141136w8c7f414o9c10338ad3d4ac34@...627...> <200810151758.32100.rospolosco@...152...> <1f1e8c1b0810151025w53f344ccw1a9d18f0c1dc0a95@...627...> Message-ID: <200810161326.17402.gambas@...1...> On mercredi 15 octobre 2008, M0E Lnx wrote: > Maybe another gb.gtk bug here, but the picture is not changing when I > click on your example project here. > It's a bug: the cell is not refreshed. Just call the Refresh() method on the GridView cell as a temporary workaround. Regards, -- Benoit Minisini From ron at ...1740... Thu Oct 16 14:08:28 2008 From: ron at ...1740... (Ron) Date: Thu, 16 Oct 2008 14:08:28 +0200 Subject: [Gambas-user] String to Form In-Reply-To: <200810161323.28476.gambas@...1...> References: <48F72243.1050700@...1740...> <200810161323.28476.gambas@...1...> Message-ID: <48F72EBC.2060908@...1740...> Benoit Minisini wrote: > On jeudi 16 octobre 2008, Ron wrote: > >> Silly thing I can't get my grip on, even after some coffee ;) >> >> I want to make the form to load on my workspace user configurable. >> >> So I have a cmbbox with all available Forms to load. >> >> I have a routine to place a form on the workspace, it expects a Form as >> param. >> and I have cmbForms.Text = "FControl" for example. >> >> How can I tell gambas it should use the string as a form name to open? >> >> It's now complaining about getting a string in instead of an Object. >> >> Often the small things take most of the time ;) >> >> Regards, >> Ron_2nd. >> >> > > hForm = Object.New("FormName") > > Regards, > That was it, thanks! From almanova at ...1228... Thu Oct 16 16:20:16 2008 From: almanova at ...1228... (Almanova Sistemi) Date: Thu, 16 Oct 2008 16:20:16 +0200 Subject: [Gambas-user] Text formatting in TextArea In-Reply-To: <48F50075.3050703@...1909...> References: <19963633.post@...1379...> <200810141200.36557.rterry@...1946...> <48F4AC91.10801@...1228...> <200810141726.59209.rospolosco@...152...> <48F4D9B5.7030102@...1228...> <48F4FE9E.5090605@...1909...> <48F50075.3050703@...1909...> Message-ID: <48F74DA0.2010805@...1228...> Hello, in first tank's to Doriano Blengino and Stefano Palmeri for suggestion about TableView. I have followed the second suggestion from Doriano Blengino. Now I have a new problem: I need to modify part of text in TextArea. E.g.: I have a text like "bla bla bla ..." and I nedd to have "bla *bla* bla..." or "bla _bla_ bla ..." and so on. Ok, how I can do this? Regard's. Massimo From klaine8 at ...626... Thu Oct 16 17:35:32 2008 From: klaine8 at ...626... (Kari Laine) Date: Thu, 16 Oct 2008 18:35:32 +0300 Subject: [Gambas-user] Possible bug in Gambas In-Reply-To: <200810160847.46995.ronstk@...239...> References: <61452b690810150542nb60f0b2k84d5fb87da654ba0@...627...> <200810160340.35404.ronstk@...239...> <48F6E14E.6050404@...1909...> <200810160847.46995.ronstk@...239...> Message-ID: <61452b690810160835q16b4e76ak3fdea083378dfa82@...627...> On Thu, Oct 16, 2008 at 9:47 AM, Ron_1st wrote: > On Thursday 16 October 2008, Doriano Blengino wrote: > > Ron_1st ha scritto: > > > On Wednesday 15 October 2008, Kari Laine wrote: > > > > > >> On Wed, Oct 15, 2008 at 6:57 PM, Werner wrote: > > >> > > >> > > >>> Kari Laine wrote: > > >>> > > >>>> On Wed, Oct 15, 2008 at 5:15 PM, Ron_1st wrote: > > >>>> > > >>>> > > >>>> > > >>>>> What should stand on the ??, (welche buchstaben?) > > >>>>> > > >>>>> > > >>> They stand for umlauts ? ? ? from what I deduct from the file names. > > >>> > > You could try a batch rename for all file names. Try this command line: > > > > echo -n "See 123 ????.??#" |tr -c [:alnum:]" ." -; echo > > That is not posible. There are 2 unknown letters that should be replaced by > one? > Second German is not the native language of Kari when I understood right, > so it is unknown how to rename > '14-43-18.06.02_APIs_f??r_ComboBox_+_ListBox.zip' > Only german speaking persoon know that it must be ...APIs_f?r_ComboBox... > or > ...APIs_fuer_ComboBox... > > > > > In my italian keyboard I have the ???, you will have other glyphs. If > > this could help, then a > > > > for a in *; do mv "$a" "$(echo -n "$a" |tr -c [:alnum:]' .' -)"; done > > > > should remove all those unwanted/erroneous chars. You can add other > > glyphs to be maintained, inside the quotes after [:alnum]. > > > > I think that, if "ls |wc" complains, then gambas is legitimate to > > complain too: of course by raising a catchable error. > > > > That's me idea too. > > Thanks for help, I solved the problem with a routine which renames files to legal ones in work directory just before genisoimage makes the image. I don't change the original names because I think it would be big no-no to mess with user's file names. Best Regards Kari Laine From leo_senpao at ...1541... Thu Oct 16 17:31:55 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Thu, 16 Oct 2008 23:31:55 +0800 (SGT) Subject: [Gambas-user] Ask Clearing all tableview contents Message-ID: <833841.19300.qm@...1991...> Hello all, I have a problem in clearing all tableview contents. I have already use clear method, like this: tableview1.clear But, not all rows in tableview1 are cleared. Just a few of them are cleared. How to empty a tableview?? Coba Yahoo! Messenger baru From gambas at ...1... Thu Oct 16 18:04:59 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 16 Oct 2008 18:04:59 +0200 Subject: [Gambas-user] About gb.xml component In-Reply-To: <48F6FB27.9040802@...1740...> References: <200810160102.55267.gambas@...1...> <48F6FB27.9040802@...1740...> Message-ID: <200810161804.59709.gambas@...1...> On jeudi 16 octobre 2008, Ron wrote: > Benoit Minisini wrote: > > Hi, > > > > The management of XML nodes in the gb.xml component was incorrect, so I > > started to fix it in revision #1641. > > > > So if Ron, (and others trying to use that component) can test it again > > with their application, and tell me the result, it would be cool. > > > > If I succeed in fixing gb.xml, maybe I will be able to finally release > > Gambas 2.9! > > Updated my svn and rebuild. > > Yes, finally the beanizer.org xml newsfeed reader is working for me! > I thought my copying and pasting messed it up... but turned out to be a > bug... > > What about these console messages when it tries to display an image to > display inside the textedit object: > QTextImage: no mimesource for > http://c.fsdn.com/fm/screenshots/52493_thumb.jpg > Is it possible to disable these msgs, or how to implement this feature > in textedit? > It's no biggy, I can strip out the tags for the time being I > guess... > > All my other xml related programs still work ok, so that very nice! > Thanks for fixing... > > Debian 4.0etch3, Ubuntu-eee, gb.qt, Gambas 2.9 svn 1641 > > Regards, > Ron_2nd > Images in TextEdit are not supported by Gambas, even if you can insert them as the Qt widget supports them. But then he prints this warning as he don't know how to get the image data. And I don't think these warning can be removed. Regards, -- Benoit Minisini From jbskaggs at ...1871... Thu Oct 16 19:58:19 2008 From: jbskaggs at ...1871... (jbskaggs) Date: Thu, 16 Oct 2008 10:58:19 -0700 (PDT) Subject: [Gambas-user] Strange error in Embedder Message-ID: <20016035.post@...1379...> Okay I have an embedder working to embed Open Office- But a couple of users of the program get this error: Wanted Pointer [] got integer I cannot duplicate this on my system and my other users don't get this error. Here is the code: PUBLIC SUB Presence_Embed(windowTitle AS String) DIM key AS Pointer[] DIM i AS Integer WAIT 3.5 '<<

some text

anohter text

I have searched on the web but I don't have found any solution. How I can do this? Thank's Massimo From nando_f at ...951... Mon Oct 20 17:23:07 2008 From: nando_f at ...951... (nando) Date: Mon, 20 Oct 2008 11:23:07 -0400 Subject: [Gambas-user] Binary compare of files? In-Reply-To: <61452b690810190940j371bc2acv426cf1c116094d2c@...627...> References: <61452b690810162149m41e6775eq6d9c0d0fe381b5c4@...627...> <48F82E2C.6090400@...1909...> <200810171003.45974.rospolosco@...152...> <20081019035512.M41308@...951...> <61452b690810190940j371bc2acv426cf1c116094d2c@...627...> Message-ID: <20081020150213.M71224@...951...> The code was shown in an earlier email where something like: loop read string A from file 1 read string B from file 2 see if they're the same or not end loop An md5 or sha for 1T is quite the time consumer, especially if you're trying to compare snapshots. My personal preference is RAID1 and once fully sync'd, then fail and remove the drive. It's as good as it can be. Then add a different drive and resync it. ---------- Original Message ----------- From: "Kari Laine" To: nando_f at ...951..., "mailing list for gambas users" Sent: Sun, 19 Oct 2008 19:40:45 +0300 Subject: Re: [Gambas-user] Binary compare of files? > On Sun, Oct 19, 2008 at 7:02 AM, nando wrote: > > > You want to use the code below, > > Hi nando, > > Ok what code you mean? > > > but use a large block size > > like 8192 or 32768. It doesn't have to be a perfect binary size. > > I suggest not to use SHA or MD5 because if you're reading in > > the files to compute SHA or MD5, you might as well forget > > wasting the time to compute and simply compare the strings. > > It will be faster. Plus MD5 is a one-way digest and it is > > possible to get one identical answer digesting two different > > strings - although highly unlikely. SHA and MD5 are candidates > > for scenario where the two files cannot be compared directly, so > > the copy is digested and compared with a copy of the SHA or MD5. > > > > > > > Thanks for comment. I am at the moment testing in practice how well MD5SUM > and SHA512SUM distributes fingerprints. I have had problems with the testing > so it is taking time. At the moment I try to checksum 1000GB of files and > see if I get any collisions. As I told before I cannot compare the files > itself because I have many hard disks which contains backups, which are not > connected to machine all the time. So I must use some kind of checksumming. > I was also thinking that I could take little snapshots of files into the > database and use that in addition to checksums. The whole idea of this > project is to move backups from hard disks to DVDs to be able to reuse the > harddisks. Also idea is to have a database to know what I have and where. > Also there is lot of duplication in disks I dont't want same data backed up > many times on DVDs. By the way does anyone have an idea how long lived a dvd > is? > > Best Regards > Kari Laine > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From nando_f at ...951... Mon Oct 20 17:50:59 2008 From: nando_f at ...951... (nando) Date: Mon, 20 Oct 2008 11:50:59 -0400 Subject: [Gambas-user] sending command to stdin In-Reply-To: <4247f5440810190315m799cbbfr5b46d846a78435a8@...627...> References: <4247f5440810190315m799cbbfr5b46d846a78435a8@...627...> Message-ID: <20081020154956.M92030@...951...> Seems to me you want to use -s -i options with Fs then your gambas will send commands using TCP port 9800. ---------- Original Message ----------- From: "Joshua Higgins" To: "mailing list for gambas users" Sent: Sun, 19 Oct 2008 11:15:33 +0100 Subject: [Gambas-user] sending command to stdin > Hello, > > I'm writing a frontend to Fluidsynth. Once fluidsynth is started is accepts > commands through stdin. How would I go about sending commands (e.g. "prog 1 > 000-001" ) to its stdin. > > p.s. I can't seem to access gambasdoc.org from here. Any one else? > > -- > joshua higgins > >>>>>>------ > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From joshiggins at ...1601... Mon Oct 20 20:58:02 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 20 Oct 2008 19:58:02 +0100 Subject: [Gambas-user] sending command to stdin In-Reply-To: <20081020154956.M92030@...951...> References: <4247f5440810190315m799cbbfr5b46d846a78435a8@...627...> <20081020154956.M92030@...951...> Message-ID: <4247f5440810201158h313f02aw306fd5efc5447d2d@...627...> Yes but I also want to be able to read output from fluidsynth such as from the command channels, so at the moment i'm using SHELL "fluidsynth" FOR INPUT OUTPUT. Is it possible to read output over TCP? On Mon, Oct 20, 2008 at 4:50 PM, nando wrote: > Seems to me you want to use -s -i options with Fs > then your gambas will send commands using TCP port 9800. > > > ---------- Original Message ----------- > From: "Joshua Higgins" > To: "mailing list for gambas users" > Sent: Sun, 19 Oct 2008 11:15:33 +0100 > Subject: [Gambas-user] sending command to stdin > > > Hello, > > > > I'm writing a frontend to Fluidsynth. Once fluidsynth is started is > accepts > > commands through stdin. How would I go about sending commands (e.g. "prog > 1 > > 000-001" ) to its stdin. > > > > p.s. I can't seem to access gambasdoc.org from here. Any one else? > > > > -- > > joshua higgins > > >>>>>>------ > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- joshua higgins >>>>>>------ From joshiggins at ...1601... Mon Oct 20 22:22:04 2008 From: joshiggins at ...1601... (Joshua Higgins) Date: Mon, 20 Oct 2008 21:22:04 +0100 Subject: [Gambas-user] strange process print error Message-ID: <4247f5440810201322s53e9f9ecs93a305b649dab8c6@...627...> Hello, I'm getting a very strange error in my program. here is an excerpt: >>> START CODE PUBLIC SUB Button1_Click() fluidsynthproc = SHELL "fluidsynth -a jack" FOR INPUT OUTPUT END PUBLIC SUB Button2_Click() PRINT #fluidsynthproc, TextBox1.Text END >>> END CODE This looks okay. But for some reason I cannot print the lowercase letter p to the fluidsynthproc. Any reason / workaround for this? -- joshua higgins >>>>>>------ From nando_f at ...951... Tue Oct 21 00:27:20 2008 From: nando_f at ...951... (nando) Date: Mon, 20 Oct 2008 18:27:20 -0400 Subject: [Gambas-user] sending command to stdin In-Reply-To: <4247f5440810201158h313f02aw306fd5efc5447d2d@...627...> References: <4247f5440810190315m799cbbfr5b46d846a78435a8@...627...> <20081020154956.M92030@...951...> <4247f5440810201158h313f02aw306fd5efc5447d2d@...627...> Message-ID: <20081020222553.M71428@...951...> I suggest use the TCP control in Gambas to talk to it. When the port is open, anything you send to the port, it gets. Anything it sends out, you get through the port ---------- Original Message ----------- From: "Joshua Higgins" To: nando_f at ...951..., "mailing list for gambas users" Sent: Mon, 20 Oct 2008 19:58:02 +0100 Subject: Re: [Gambas-user] sending command to stdin > Yes but I also want to be able to read output from fluidsynth such as from > the command channels, so at the moment i'm using > SHELL "fluidsynth" FOR INPUT OUTPUT. Is it possible to read output over TCP? > > On Mon, Oct 20, 2008 at 4:50 PM, nando wrote: > > > Seems to me you want to use -s -i options with Fs > > then your gambas will send commands using TCP port 9800. > > > > > > ---------- Original Message ----------- > > From: "Joshua Higgins" > > To: "mailing list for gambas users" > > Sent: Sun, 19 Oct 2008 11:15:33 +0100 > > Subject: [Gambas-user] sending command to stdin > > > > > Hello, > > > > > > I'm writing a frontend to Fluidsynth. Once fluidsynth is started is > > accepts > > > commands through stdin. How would I go about sending commands (e.g. "prog > > 1 > > > 000-001" ) to its stdin. > > > > > > p.s. I can't seem to access gambasdoc.org from here. Any one else? > > > > > > -- > > > joshua higgins > > > >>>>>>------ > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > > Grand prize is a trip for two to an Open Source event anywhere in the > > world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------- End of Original Message ------- > > > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > joshua higgins > >>>>>>------ > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From doriano.blengino at ...1909... Tue Oct 21 08:20:50 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Tue, 21 Oct 2008 08:20:50 +0200 Subject: [Gambas-user] Stickers In-Reply-To: <48FC7FCF.8050904@...1228...> References: <61452b690810162149m41e6775eq6d9c0d0fe381b5c4@...627...> <48F8D6BB.30403@...1228...> <200810191717.52364.rterry@...1946...> <48FC7FCF.8050904@...1228...> Message-ID: <48FD74C2.2030807@...1909...> Almanova Sistemi ha scritto: > Hi All, > > I try to write an application for print some stickers and I need to format the text in vaious mode (undelined, bold, italics) various color as alignment. > > I tried with TextArea, Editor and TextEdit but I have not received a satisfactory result. > The only way to format a text is to use TextEdit but it give me a problem when I write text and when I print it. > > When I write a text and I need to press enter key I must press + for avoid a blank line undere the current line. > > When I try to print the text inside a TextEdit (I use Draw.RichText(hTextEdit.Text)) and the text contain a
the printed first part of the text is overwritten by the seconf paert. > I obtain the same result if I use something like >

some text

>

anohter text

> What I would do instead is to use no richtext at all. May be I am wrong, but I think richedit+html is targeted to something different than labelling, even if richtexts are so handy. With draw.text() you can print bold text, underline and so on by setting draw.font properties, and you can place text on paper with great precision. It depends a lot on what you are doing - for example: these stickers have a fixed format (template) or they vary a lot? The more they are "fixed" format, the more a simple draw.text() is good. Regards, Doriano From peter.talken at ...1879... Tue Oct 21 12:23:50 2008 From: peter.talken at ...1879... (Peter Landgren) Date: Tue, 21 Oct 2008 12:23:50 +0200 Subject: [Gambas-user] Conflict while compiling GAMBAS Message-ID: <200810211223.57411.peter.talken@...1879...> Hi, Tried to compile and install GAMBAS 2 and 3 from svn rev 1642 using Mandriva 2009.0: During ./reconf-all I get a number of: configure.ac:5: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached ./configure -C results in: ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.odbc - gb.db.postgresql - gb.qte ************************************************************ which seems to be OK with what I have installed. make results in: a working ganbas2 and 3. However, if I include ODBC there is a conflict with wine. During make I get: make[4]: Entering directory `/home/progdev/SVN- projekt/gambas2/2.0/gb.db.odbc/src' ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /bin/sh ../libtool --tag=CC ? --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. - I/usr/local/include/wine/windows/ ? -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 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? mkdir .libs ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include/wine/windows/ -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 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? In file included from /usr/local/include/wine/windows/sql.h:28, ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?from main.c:39: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /usr/local/include/wine/windows/sqltypes.h:224: fel: expected specifier- qualifier-list before "DWORD" ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? In file included from main.c:39: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? /usr/local/include/wine/windows/sql.h:494: fel: expected "=", ",", ";", "asm" or "__attribute__" before "SQLAllocConnect" ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? followed by many similar lines. Did not have this conflict earlier with Mandriva 2008.1 and wine. /Peter From leo_senpao at ...1541... Wed Oct 22 10:46:27 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Wed, 22 Oct 2008 16:46:27 +0800 (SGT) Subject: [Gambas-user] Ask about Ubuntu 8.10 and Gambas Message-ID: <106263.22532.qm@...1989...> Hello all, I want to migrate my Ubuntu 8.04 to Ubuntu 8.10 which will be released in the end of October. But, I have a work to do with Gambas and must be completed next month. I want to know, Does Gambas run well in Ubuntu 8.10? If it does, I will migrate to this new version ones and install a Gambas 2.8 on it (I use Gambas 2.7 so far) :) Thanks... ___________________________________________________________________________ Yahoo! sekarang memiliki alamat Email baru. Dapatkan nama yang selalu Anda inginkan di domain baru @ymail dan @rocketmail. Cepat sebelum diambil orang lain! http://mail.promotions.yahoo.com/newdomains/id/ From rwatts32 at ...401... Wed Oct 22 14:11:41 2008 From: rwatts32 at ...401... (rwatts32 at ...401...) Date: Wed, 22 Oct 2008 8:11:41 -0400 Subject: [Gambas-user] Ask about Ubuntu 8.10 and Gambas Message-ID: <28030419.1154431224677501382.JavaMail.root@...2002...> Leo: I run Gambas 2.5 on the beta version of Ubuntu 8.10. I don't get that intensively into Gambas, but it works for what I need. My suggestion though is to go ahead and stick with Ubuntu 8.04 till after your project is completed. This will give Ubuntu time to fix any more errors that might come out after the official release of Ubuntu 8.10 and also give you a chance to complete the project in an environment that you know works. Essentially... If it ain't broke don't fix it. -Ricky ---- Leo Sendra wrote: > Hello all, I want to migrate my Ubuntu 8.04 to Ubuntu 8.10 which will be released in the end of October. > But, I have a work to do with Gambas and must be completed next month. > > I want to know, Does Gambas run well in Ubuntu 8.10? > If it does, I will migrate to this new version ones and install a Gambas 2.8 on it (I use Gambas 2.7 so far) :) > > Thanks... > > > > ___________________________________________________________________________ > Yahoo! sekarang memiliki alamat Email baru. > Dapatkan nama yang selalu Anda inginkan di domain baru @ymail dan @rocketmail. > Cepat sebelum diambil orang lain! > http://mail.promotions.yahoo.com/newdomains/id/ > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From vitaf at ...1977... Wed Oct 22 17:20:19 2008 From: vitaf at ...1977... (vitaf at ...1977...) Date: Wed, 22 Oct 2008 19:20:19 +0400 Subject: [Gambas-user] error memory corruption: 0x08223b30 Message-ID: <20081022192019.k61r75kulck0sok4@...1998...> Hello! At performance of a mentioned below code there is an error: *** glibc detected *** webcam1: malloc (): memory corruption: 0x08223b30 ***! (OR error #11) How it to correct, where I am mistaken? File. Save ("/tmp/picrvka", sBuf) Picture. Flush PictureBox1.Picture = Picture. Load ("/tmp/picrvka") PictureBox1.Refresh All code is resulted more low. ' Gambas class file PRIVATE hWebcam AS VideoDevice PRIVATE OnSet AS Boolean PRIVATE Fps AS Date PRIVATE nFps AS Integer PUBLIC SUB Form_Open() TRY MKDIR (System.Home & "/.gambas-webcam") END PUBLIC SUB Button1_Click() DIM num AS Integer DIM Buf AS String IF hWebCam THEN Button1.Caption = ("Capture") TxtDevice.Enabled = TRUE hWebCam = NULL Tmr.Enabled = FALSE RETURN END IF TRY hWebCam = NEW VideoDevice(TxtDevice.Text) IF ERROR THEN Message.Error(("Unable to open video device")) RETURN END IF hWebCam.Source = hWebCam.TV + hWebCam.PAL Button1.Caption = ("Stop") TxtDevice.Enabled = FALSE OnSet = TRUE WAIT 0.001 OnSet = FALSE Tmr.Delay = 30 Tmr.Enabled = TRUE ME.Caption = hWebCam.Features.Name Fps = Now() nFps = 0 END PUBLIC SUB Tmr_Timer() DIM T1 AS Date DIM sBuf AS String Tmr.Enabled = FALSE TRY FLUSH #hWebCam TRY READ #hWebCam, sBuf, Lof(hWebCam) IF NOT ERROR THEN 'IF ERROR THEN ' Message.Error(("???? ???????")) ' RETURN 'END IF '2 '??????? 3 File.Save("/tmp/picrvka", sBuf) Picture.Flush PictureBox1.Picture = Picture.Load("/tmp/picrvka") PictureBox1.Refresh 'KILL "/tmp/picrvka" '????? ??????? 3 ' 4 nFps = nFps + 1 T1 = Now() - Fps IF Second(T1) >= 1 THEN ME.Caption = hWebCam.Features.Name & " (" & nFps & " fps)" Fps = Now() nFps = 0 END IF END IF Tmr.Enabled = TRUE END PUBLIC SUB Form_Close() Tmr.Enabled = FALSE hWebCam = NULL END Vitaly. From gambas at ...1... Wed Oct 22 17:28:53 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 22 Oct 2008 17:28:53 +0200 Subject: [Gambas-user] error memory corruption: 0x08223b30 In-Reply-To: <20081022192019.k61r75kulck0sok4@...1998...> References: <20081022192019.k61r75kulck0sok4@...1998...> Message-ID: <200810221728.53090.gambas@...1...> On mercredi 22 octobre 2008, vitaf at ...1977... wrote: > Hello! > > At performance of a mentioned below code there is an error: > > *** glibc detected *** webcam1: malloc (): memory corruption: > 0x08223b30 ***! > > (OR error #11) > > How it to correct, where I am mistaken? > > File. Save ("/tmp/picrvka", sBuf) > > Picture. Flush > > PictureBox1.Picture = Picture. Load ("/tmp/picrvka") > > PictureBox1.Refresh > > All code is resulted more low. > > ' Gambas class file > PRIVATE hWebcam AS VideoDevice > PRIVATE OnSet AS Boolean > PRIVATE Fps AS Date > PRIVATE nFps AS Integer > > PUBLIC SUB Form_Open() > TRY MKDIR (System.Home & "/.gambas-webcam") > END > > PUBLIC SUB Button1_Click() > > DIM num AS Integer > DIM Buf AS String > > IF hWebCam THEN > Button1.Caption = ("Capture") > TxtDevice.Enabled = TRUE > hWebCam = NULL > Tmr.Enabled = FALSE > RETURN > END IF > > TRY hWebCam = NEW VideoDevice(TxtDevice.Text) > IF ERROR THEN > Message.Error(("Unable to open video device")) > RETURN > END IF > hWebCam.Source = hWebCam.TV + hWebCam.PAL > > Button1.Caption = ("Stop") > TxtDevice.Enabled = FALSE > OnSet = TRUE > > WAIT 0.001 > OnSet = FALSE > Tmr.Delay = 30 > Tmr.Enabled = TRUE > ME.Caption = hWebCam.Features.Name > Fps = Now() > nFps = 0 > > END > > PUBLIC SUB Tmr_Timer() > > DIM T1 AS Date > DIM sBuf AS String > > Tmr.Enabled = FALSE > TRY FLUSH #hWebCam > TRY READ #hWebCam, sBuf, Lof(hWebCam) > IF NOT ERROR THEN > > 'IF ERROR THEN > ' Message.Error(("???? ???????")) > ' RETURN > 'END IF > > '2 > > '??????? 3 > File.Save("/tmp/picrvka", sBuf) > Picture.Flush > PictureBox1.Picture = Picture.Load("/tmp/picrvka") > PictureBox1.Refresh > 'KILL "/tmp/picrvka" > '????? ??????? 3 > > ' 4 > > nFps = nFps + 1 > T1 = Now() - Fps > IF Second(T1) >= 1 THEN > ME.Caption = hWebCam.Features.Name & " (" & nFps & " fps)" > Fps = Now() > nFps = 0 > END IF > END IF > Tmr.Enabled = TRUE > > END > > PUBLIC SUB Form_Close() > > Tmr.Enabled = FALSE > hWebCam = NULL > > END > > Vitaly. Can you send your project as an archive? ("make source archive" menu in the IDE) And please tell which version of Gambas you use. Regards, -- Benoit Minisini From gambas at ...1938... Wed Oct 22 21:06:11 2008 From: gambas at ...1938... (gambas at ...1938...) Date: Wed, 22 Oct 2008 21:06:11 +0200 Subject: [Gambas-user] J4I :-) Message-ID: <200810222106.12020.gambas@...1938...> Hi Benoit (and also the list) Wrote an API for a non-public-interesting system and now I have happing hacking the system with my own API! ...never thought, that Gambas is even such a good tool, for developing console- or system-processes. Gambas rocks!! ...it's (almost ;-) ) better than "6" :-) Keep up the good work!! ...and THANKS!!!! Greetz Stevie From admin at ...1080... Wed Oct 22 21:16:15 2008 From: admin at ...1080... (admin at ...1080...) Date: Wed, 22 Oct 2008 21:16:15 +0200 Subject: [Gambas-user] gb.db autoincrement ? In-Reply-To: References: Message-ID: <48FF7BFF.5020507@...1080...> Hi Doriano As the description says, the last_inserted_id() is during the same connection reserved for the client. I would recommend to use a stored procedure. Indeed, why not delegate the SQL thing to the server. The first time it seems to be expensive, but it is not so. I would be helpful if necessary. Regards, Werner(007) gambas-user-request at lists.sourceforge.net schrieb: Message: 4 Date: Mon, 20 Oct 2008 09:54:18 +0200 From: Doriano Blengino Subject: Re: [Gambas-user] gb.db autoincrement ? To: mailing list for gambas users Message-ID: <48FC392A.7020400 at ...1909...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Doriano Blengino ha scritto: > > admin at ...1080... ha scritto: > > > >> >> But in case you are using mySQL there is the function LAST_INSERT_ID (), >> >> see: >> >> http://dev.mysql.com/doc/refman/5.1/en/information-functions.html#function_last-insert-id. >> >> >> >> >> > > About the Last_insert_ID(), I read about this function, but it seems it > > is not implemented in gambas. > > May be I can import it using "EXTERNAL sub (...) ..."; or perhaps is > > more simple to do a query, once a lock is in place. > > > I correct myself - probably I doesn't need to be implemented in gambas, because one can use it in a simple sql request. I will try it: db.exec("insert data in master table 'invoices'") lastinserted=db.exec("select last_insert_id() as last") Perhaps locks are still needed (or this last_insert_id() is "cached" in the client library? It would be good...) Thanks for your information, and cheers, Doriano From doriano.blengino at ...1909... Thu Oct 23 07:49:38 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Thu, 23 Oct 2008 07:49:38 +0200 Subject: [Gambas-user] gb.db autoincrement ? In-Reply-To: <48FF7BFF.5020507@...1080...> References: <48FF7BFF.5020507@...1080...> Message-ID: <49001072.4050802@...1909...> admin at ...1080... ha scritto: > Hi Doriano > > As the description says, the last_inserted_id() is during the same > connection reserved for the client. > I would recommend to use a stored procedure. Indeed, why not delegate > the SQL thing to the server. > The first time it seems to be expensive, but it is not so. I would be > helpful if necessary. > > Regards, Werner(007) > This would be cool. I never used stored procedures, even if I read about them. So my problem (and other's, I suppose) is: 1: Create a master record with unique ID and several other fields in table "invoices" 2: Obtain the inserted ID 3: Add one or more (sometimes a lot) slave records, each carrying the obtained ID, and other fields. I think a stored procedure wants all its parameters in a single call, or it is not so? If you can help, I will be happy - thanks. Doriano. >>> admin at ...1080... ha scritto: >>> >>> >> >> >>>>> But in case you are using mySQL there is the function LAST_INSERT_ID (), >>>>> see: >>>>> http://dev.mysql.com/doc/refman/5.1/en/information-functions.html#function_last-insert-id. >>>>> >>> >>> >>> > db.exec("insert data in master table 'invoices'") > lastinserted=db.exec("select last_insert_id() as last") > > Perhaps locks are still needed (or this last_insert_id() is "cached" in > the client library? It would be good...) > From rterry at ...1946... Fri Oct 24 22:56:40 2008 From: rterry at ...1946... (richard terry) Date: Sat, 25 Oct 2008 07:56:40 +1100 Subject: [Gambas-user] Draw Editor Dosn't Draw Circle AnyMore Message-ID: <200810250756.40669.rterry@...1946...> Just noticed my app stopped being able to draw circles, so I checked the draw editor and it dosn't either, but the square still works ?why ?any ideas Regards Richard From gambas at ...1... Fri Oct 24 01:10:03 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Oct 2008 01:10:03 +0200 Subject: [Gambas-user] Draw Editor Dosn't Draw Circle AnyMore In-Reply-To: <200810250756.40669.rterry@...1946...> References: <200810250756.40669.rterry@...1946...> Message-ID: <200810240110.03302.gambas@...1...> On vendredi 24 octobre 2008, richard terry wrote: > Just noticed my app stopped being able to draw circles, so I checked the > draw editor and it dosn't either, but the square still works ?why ?any > ideas > > Regards > > Richard > Can you give more details please? -- Benoit Minisini From gambas at ...1... Fri Oct 24 01:11:25 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Oct 2008 01:11:25 +0200 Subject: [Gambas-user] Moving items in a ListView In-Reply-To: <7FFF362038271F42A765BEF934C12AB803D841F2@...2001...> References: <7FFF362038271F42A765BEF934C12AB803D841F2@...2001...> Message-ID: <200810240111.25639.gambas@...1...> On vendredi 17 octobre 2008, dfuchs at ...2000... wrote: > I would like to allow the user to move items in a ListView (up, down, to > the beginning, to the end) by buttons. The Enabled properties of the > buttons are set by a private method UpdateButtons each time the > selection of the ListView changes (according to the position of the > selected item in the view). This works all right. Moving an item to the > top seems to be very simple and works properly, too: > > > > PUBLIC SUB btnTop_Click() > > lvwList.Current.MoveFirst > > lvwList.Current.Selected = TRUE > > UpdateButtons > > END > > > > Trying to move an item to the end of the view causes a runtime error: > > > > PUBLIC SUB cBottom_Click() > > lvwList.Current.MoveLast > > lvwList.Current.Selected = TRUE > > UpdateButtons > > END > > > > On executing this, I always get a runtime error, either "Unknown item > '...'" with a key that doesn't make sense and is apparently taken from > some other data of my application by a mistake in memory allocation, or > just an uncommented error #11. This is my first problem. > > > > The second one: Moving an item one position upwards should work, in my > opinion, using the follwing button event handler: > > > > PUBLIC SUB btnUp_Click() > > lvwList.MoveCurrent > > lvwList.MovePrevious > > lvwList.Current.MoveBefore(cList.Item.Key) > > lvwList.Current.Selected = TRUE > > UpdateButtons > > END > > > > This shows no effect, however. On debugging, I have found out, that the > ListView.MovePrevious method does nothing. It returns FALSE, but the > internal cursor is not moved. > > > > Where could be the mistakes? And what is the difference between > ListView.MovePrevious and ListView.MoveAbove? The latter doesn't work > either, but I don't understand the difference. > > > > I use Gambas 2.0.0, downloaded as a Debian binary from the official > source mentioned at the Gambas web site. > Can you try a more recent version of Gambas? The better being the latest one. These bugs may have been fixed! Regards, -- Benoit Minisini From gambas at ...1... Fri Oct 24 01:11:58 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Oct 2008 01:11:58 +0200 Subject: [Gambas-user] Ask Clearing all tableview contents In-Reply-To: <833841.19300.qm@...1991...> References: <833841.19300.qm@...1991...> Message-ID: <200810240111.58288.gambas@...1...> On jeudi 16 octobre 2008, Leo Sendra wrote: > Hello all, I have a problem in clearing all tableview contents. > > I have already use clear method, like this: tableview1.clear > But, not all rows in tableview1 are cleared. > Just a few of them are cleared. > How to empty a tableview?? > Do you use the Data event to fill the data? -- Benoit Minisini From gambas at ...1... Fri Oct 24 01:19:39 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Oct 2008 01:19:39 +0200 Subject: [Gambas-user] embed OpenOffice In-Reply-To: <19965155.post@...1379...> References: <19929257.post@...1379...> <19964766.post@...1379...> <19965155.post@...1379...> Message-ID: <200810240119.39969.gambas@...1...> On mardi 14 octobre 2008, jbskaggs wrote: > Okay I have both Abiword and Openoffice embedding properly. The issue was a > missing space at the end of the window name. > > Anyway now both of the applications while running as embedded features do > not respond to the mouse properly. You have multi click or rick click and > cancel to get the curser on either program to move to the new location and > the scrollbars do not respond to the mouse. > > Is that normal for embedded objects? > > JB > Normally this is not normal, but embedding real applications is officially supported only if the embedded application supports the "XEMBED" protocol. This protocol defines some special X11 messages exchanged between the embedder and the embedded application so that cursor focus is correctly handled, among other things. Regards, -- Benoit Minisini From gambas at ...1... Fri Oct 24 01:21:36 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Oct 2008 01:21:36 +0200 Subject: [Gambas-user] How to know if a deletion from database succeded? In-Reply-To: <48EC47B3.40601@...1909...> References: <48EC47B3.40601@...1909...> Message-ID: <200810240121.36160.gambas@...1...> On mercredi 08 octobre 2008, Doriano Blengino wrote: > In my program I have to delete some records from a table (to rewrite > them just after). > If I issue something like: > > res = db.Exec("delete from lotti where tcaus=2 and numfat=25") > > how can I know that the deletion has been executed without errors? Has > the "res" variable any meaning after a deletion, or a error is raised in > case of unsuccessful deletion? > > Thanks. > You know that the deletion was ok if you don't get any error. Of course, that is true only if the underlying database client library effectively returns an error if the delete request fails! Regards, -- Benoit Minisini From rterry at ...1946... Sat Oct 25 01:24:30 2008 From: rterry at ...1946... (richard terry) Date: Sat, 25 Oct 2008 10:24:30 +1100 Subject: [Gambas-user] Draw Editor Dosn't Draw Circle AnyMore In-Reply-To: <200810240110.03302.gambas@...1...> References: <200810250756.40669.rterry@...1946...> <200810240110.03302.gambas@...1...> Message-ID: <200810251024.30163.rterry@...1946...> On Fri, 24 Oct 2008 10:10:03 am Benoit Minisini wrote: > On vendredi 24 octobre 2008, richard terry wrote: > > Just noticed my app stopped being able to draw circles, so I checked the > > draw editor and it dosn't either, but the square still works ?why ?any > > ideas > > > > Regards > > > > Richard > > Can you give more details please? If build I think 1647. If you edit a picture, and use the say draw a square button, you can draw the square over the picture. If you use the circle tool, the cursor seems to draw the circle, but no circle ends up on the picture. The picture shows a square drawn, and a screen dump whilst I'm drawing a circle with the mouse. However as soon as I release the mouse, there is no circle left on the picture, unlike the square which is left as you can see above. Remember that this dump is taken whilst holdiing the mouse down and the circle disappears (ie is not drawn) once the mouose is released Regards Richard Regards Richard -------------- next part -------------- A non-text attachment was scrubbed... Name: no_circle.png Type: image/png Size: 24248 bytes Desc: not available URL: From m0e.lnx at ...626... Fri Oct 24 20:33:13 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 24 Oct 2008 13:33:13 -0500 Subject: [Gambas-user] Another Embedder + gb.gtk bug Message-ID: <1f1e8c1b0810241133n55c62f0cl821ca66f92c3ade8@...627...> The embedder object has another problem in gb.gtk I'm using gambas2 (SVN Revision 1640) Here is how I'm using it I have a treeview and an embedder. When I double-click the treeview, the selected application embeds to the right of the treeview But I'm trying to detect if the embedder is busy before embedding a new application, I thought about using the Embedder.client property like this PUBLIC SUB Treeview1_click() IF Embedder1.client then Embedder1.Discard END This results in a signal 11 error on the gambas IDE and my application crashes. Works ok when using gb.qt though From klaine8 at ...626... Fri Oct 24 21:10:54 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 24 Oct 2008 22:10:54 +0300 Subject: [Gambas-user] MD5SUM collisions Message-ID: <61452b690810241210o63555bdes293bfd95c79a12ec@...627...> Hi, referring to discussion few days back I have now tested md5sum with 540388 files and got NO collisions - I think. Method I used was to calculate md5sum and sha512sum for all those files. then I asked from database distinct total values for both fields and they come up with the same number. In my thinking if there would have been collisions with md5sum then numbers should have differed. Problem is that if md5sum and sha512sum would have collisions with the same file - but I think that's quite unlikely - is it? I make my backup program to take a file identified by sha512sum and size. I am not going to run compare for all the files because that would take a month with my machine. Calculating the checksums took about a week because there were total 1240333 files. So lot of duplicates which is exactly why I want to make the program copy files only once. Best Regards Kari Laine From sourceforge-raindog2 at ...94... Fri Oct 24 21:41:29 2008 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 24 Oct 2008 15:41:29 -0400 Subject: [Gambas-user] MD5SUM collisions In-Reply-To: <61452b690810241210o63555bdes293bfd95c79a12ec@...627...> References: <61452b690810241210o63555bdes293bfd95c79a12ec@...627...> Message-ID: <200810241541.29456.sourceforge-raindog2@...94...> On Friday 24 October 2008 15:10, Kari Laine wrote: > referring to discussion few days back I have now tested md5sum with > 540388 files and got NO collisions - I think. Method I used was to > calculate md5sum and sha512sum for all those files. I really think that the problem with md5sum collisions is relevant to security concerns, but not data integrity concerns. In a security context, you have to say "It would have taken a hacker at least an hour to fake the md5sum on this file", but when you're just trying to prove a copy of a file you've just made is the same as the original, you can say "There is a 1 in 340,000,000,000,000,000,000,000,000,000,000,000,000 chance that these two files with the same md5sum might be actually different. With odds like that, I'll take my chances." Like you, I'm using md5sums as a method of backup verification, not a password hash or the basis for encryption. I think it's fine. Rob From doriano.blengino at ...1909... Sat Oct 25 08:58:11 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 25 Oct 2008 08:58:11 +0200 Subject: [Gambas-user] MD5SUM collisions In-Reply-To: <61452b690810241210o63555bdes293bfd95c79a12ec@...627...> References: <61452b690810241210o63555bdes293bfd95c79a12ec@...627...> Message-ID: <4902C383.2050004@...1909...> Kari Laine ha scritto: > Hi, > > referring to discussion few days back I have now tested md5sum with 540388 > files and got NO collisions - I think. Method I used was to calculate md5sum > and sha512sum for all those files. > then I asked from database distinct total values for both fields and they > come up with the same number. In my thinking if there would have been > collisions with md5sum then numbers should have differed. > Problem is that if md5sum and sha512sum would have collisions with the same > file - but I think that's quite unlikely - is it? > Recursive problem: The chance md5sum tells two files are identical when they are not, is very low. The chance sha512sum tells two files are identical when they are not, is very low. The chance both md5sum and sha512sum, applied on the same set of files, fail... could be roughly the product of the two chances above. If there is a good mathematician on this list, he/she could be more precise. > I make my backup program to take a file identified by sha512sum and size. I > am not going to run compare for all the files because that would take a > month with my machine. Calculating the checksums took about a week because > there were total 1240333 files. So lot of duplicates which is exactly why I > want to make the program copy files only once. > Just to speak about it - you could make a list of the files ordered by size, then scan the list from top to bottom and compare two files only if they have the same size. This should not take too much time. I wonder if simple unix tool can do that: who knows if /usr/bin/sort can sort a text file of over a million lines? Or a database can be used, and then "select order by size"... But this is to play - I think md5sum is enough. Perhaps you know Rapidshare, or other file-hosting sites like Filemojo and many other. They host an incredible high number of files. If a user uploads illegal material, they "ban" that file, and remember it, so the user can not upload the same file under a different name. They do that using some checksumming method, so I guess that that method is good for distinguish among many billions (or more?) files. Same is for Emule, Edonkey, Bittorrent, and so on. What identifies uniquely a file is its checksum (don't remember the exact method). May be that, if you go to www.emule.com, you can find more informations about this. Happy data crunching - and let your CPU cool down a bit... :-) Cheers, Doriano From doriano.blengino at ...1909... Sat Oct 25 09:21:14 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 25 Oct 2008 09:21:14 +0200 Subject: [Gambas-user] MD5SUM collisions In-Reply-To: <200810241541.29456.sourceforge-raindog2@...94...> References: <61452b690810241210o63555bdes293bfd95c79a12ec@...627...> <200810241541.29456.sourceforge-raindog2@...94...> Message-ID: <4902C8EA.7080300@...1909...> Rob ha scritto: > On Friday 24 October 2008 15:10, Kari Laine wrote: > >> referring to discussion few days back I have now tested md5sum with >> 540388 files and got NO collisions - I think. Method I used was to >> calculate md5sum and sha512sum for all those files. >> > > I really think that the problem with md5sum collisions is relevant to > security concerns, but not data integrity concerns. In a security > context, you have to say "It would have taken a hacker at least an hour to > fake the md5sum on this file", but when you're just trying to prove a copy > of a file you've just made is the same as the original, you can say "There > is a 1 in 340,000,000,000,000,000,000,000,000,000,000,000,000 chance that > these two files with the same md5sum might be actually different. With > odds like that, I'll take my chances." > You are so right! But for anyone who cares, this is a simple example about this concept. Take a simple file which contains "1234", in hex 0x31, 0x32, 0x33, 0x34. Now suppose a hacker wants the "2" become a "5", but the file should keep the same checksum. The difficulty is about the checksum method. One method often used is xor, obtained by xor'ing together all the values. So, "1" xor "2" xor "3" xor "4" gives 4 (hex 0x04). If the hacker puts "5" instead of "2", the checksum becomes 3, but he wanted 4. So he computes 3 xor 4, obtains 7, and xors this with any of the other bytes. He chooses the last, "4", and makes it "3" ("4" xor 7 gives "3"). So, its file now is "1533", with checksum 4. Simple, no? This works because the xor method is so simple, and is commutative like addition or multiplication. But choose a simple method without commutative property, like: bChk=0 for each bByte in file bChk = bChk xor bByte bChk +=1 ' <- only difference next Know, who can say what is the procedure to get the checksum right again, after changing "2" to "5"? By simply deleting the commutative property of xor, we made the hacker's job harder. This explanation is a stupid thing, but may be someone finds it interesting - cheers. From almanova at ...1228... Sat Oct 25 16:37:28 2008 From: almanova at ...1228... (Almanova Sistemi) Date: Sat, 25 Oct 2008 16:37:28 +0200 Subject: [Gambas-user] Stickers In-Reply-To: <48FD74C2.2030807@...1909...> References: <61452b690810162149m41e6775eq6d9c0d0fe381b5c4@...627...> <48F8D6BB.30403@...1228...> <200810191717.52364.rterry@...1946...> <48FC7FCF.8050904@...1228...> <48FD74C2.2030807@...1909...> Message-ID: <49032F28.9010001@...1228...> Doriano Blengino ha scritto: > Almanova Sistemi ha scritto: > >> Hi All, >> >> I try to write an application for print some stickers and I need to format the text in vaious mode (undelined, bold, italics) various color as alignment. >> >> I tried with TextArea, Editor and TextEdit but I have not received a satisfactory result. >> The only way to format a text is to use TextEdit but it give me a problem when I write text and when I print it. >> >> When I write a text and I need to press enter key I must press + for avoid a blank line undere the current line. >> >> When I try to print the text inside a TextEdit (I use Draw.RichText(hTextEdit.Text)) and the text contain a
the printed first part of the text is overwritten by the seconf paert. >> I obtain the same result if I use something like >>

some text

>>

anohter text

>> >> > What I would do instead is to use no richtext at all. May be I am wrong, > but I think richedit+html is targeted to something different than > labelling, even if richtexts are so handy. With draw.text() you can > print bold text, underline and so on by setting draw.font properties, > and you can place text on paper with great precision. It depends a lot > on what you are doing - for example: these stickers have a fixed format > (template) or they vary a lot? The more they are "fixed" format, the > more a simple draw.text() is good. > > Regards, > Doriano > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Thank,s Doriano, my stickers don't have a fixed format and I need to see what I do print, so I use a TextEdit for see the labeo on the screen and i doing a parser for parsing html text and put it on the paper. Is a good idea? Massimo From ronstk at ...239... Sat Oct 25 17:29:05 2008 From: ronstk at ...239... (Ron_1st) Date: Sat, 25 Oct 2008 17:29:05 +0200 Subject: [Gambas-user] MD5SUM collisions In-Reply-To: <61452b690810241210o63555bdes293bfd95c79a12ec@...627...> References: <61452b690810241210o63555bdes293bfd95c79a12ec@...627...> Message-ID: <200810251729.06188.ronstk@...239...> On Friday 24 October 2008, Kari Laine wrote: > Hi, > > referring to discussion few days back I have now tested md5sum with 540388 > files and got NO collisions - I think. Method I used was to calculate md5sum > and sha512sum for all those files. > then I asked from database distinct total values for both fields and they > come up with the same number. In my thinking if there would have been > collisions with md5sum then numbers should have differed. > Problem is that if md5sum and sha512sum would have collisions with the same > file - but I think that's quite unlikely - is it? I can't imagine that will happen, you are right in my opinion. > > I make my backup program to take a file identified by sha512sum and size. I > am not going to run compare for all the files because that would take a > month with my machine. Calculating the checksums took about a week because > there were total 1240333 files. So lot of duplicates which is exactly why I > want to make the program copy files only once. > > Best Regards > Kari Laine Nice to hear the result. So the theory story is now proven by your test. Did you see a big difference between the used time for md5 and sha methods? Anyway happy cleaning up your archive and backing up the remaining part. Best regards Ron_1st From doriano.blengino at ...1909... Sat Oct 25 19:25:16 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 25 Oct 2008 19:25:16 +0200 Subject: [Gambas-user] Stickers In-Reply-To: <49032F28.9010001@...1228...> References: <61452b690810162149m41e6775eq6d9c0d0fe381b5c4@...627...> <48F8D6BB.30403@...1228...> <200810191717.52364.rterry@...1946...> <48FC7FCF.8050904@...1228...> <48FD74C2.2030807@...1909...> <49032F28.9010001@...1228...> Message-ID: <4903567C.9090507@...1909...> Almanova Sistemi ha scritto: > Doriano Blengino ha scritto: > >> Almanova Sistemi ha scritto: >> >> >>> Hi All, >>> >>> I try to write an application for print some stickers and I need to format the text in vaious mode (undelined, bold, italics) various color as alignment. >>> >> What I would do instead is to use no richtext at all. May be I am wrong, >> but I think richedit+html is targeted to something different than >> labelling, even if richtexts are so handy. With draw.text() you can >> print bold text, underline and so on by setting draw.font properties, >> and you can place text on paper with great precision. It depends a lot >> on what you are doing - for example: these stickers have a fixed format >> (template) or they vary a lot? The more they are "fixed" format, the >> more a simple draw.text() is good. >> > my stickers don't have a fixed format and I need to see what I do print, > so I use a TextEdit for see the labeo on the screen and i doing a parser > for parsing html text and put it on the paper. > > Is a good idea? > Try this project - it lets you to design text & lines/rectangles, preview them on screen, and print. You should modify the program to meet your needs, but I think it is a good starting point. Regards, Doriano -------------- next part -------------- A non-text attachment was scrubbed... Name: PrintDesigner-0.0.21.tar.gz Type: application/x-tgz Size: 76429 bytes Desc: not available URL: From doriano.blengino at ...1909... Sat Oct 25 21:00:12 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Sat, 25 Oct 2008 21:00:12 +0200 Subject: [Gambas-user] Compiler does not complain? Message-ID: <49036CBC.5040908@...1909...> If I write: IF gvPlugins[i, 0] = "" THEN ... where gvPlugins is a GridView, the compiler accept what seems to me an error. The interpreter then executes without errors, and the test is always true. What had to be written should: IF gvPlugins[i, 0].text = "" THEN ... I think the compiler should catch this nonsense - or am I missing something? Regards. From gambas at ...1... Sun Oct 26 00:38:25 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 26 Oct 2008 00:38:25 +0200 Subject: [Gambas-user] Compiler does not complain? In-Reply-To: <49036CBC.5040908@...1909...> References: <49036CBC.5040908@...1909...> Message-ID: <200810260038.25694.gambas@...1...> On samedi 25 octobre 2008, Doriano Blengino wrote: > If I write: > > IF gvPlugins[i, 0] = "" THEN > ... > > where gvPlugins is a GridView, the compiler accept what seems to me an > error. > The interpreter then executes without errors, and the test is always true. > What had to be written should: > > IF gvPlugins[i, 0].text = "" THEN > ... > > I think the compiler should catch this nonsense - or am I missing > something? > > Regards. > It is a nonsense, but as "" and NULL are the same thing in Gambas, the comparison takes sense. Regards, -- Benoit Minisini From leo_senpao at ...1541... Sun Oct 26 03:17:44 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Sun, 26 Oct 2008 10:17:44 +0800 (SGT) Subject: [Gambas-user] Ask about cell's tableview and drag-drop Message-ID: <471927.99964.qm@...2003...> I have already seen an example about a drag and drop an object in Gambas. So, is it possible to apply a drag and drop to a cell in tableview? Thanks... ___________________________________________________________________________ Dapatkan nama yang Anda sukai! Sekarang Anda dapat memiliki email di @ymail.com dan @rocketmail.com. http://mail.promotions.yahoo.com/newdomains/id/ From leo_senpao at ...1541... Sun Oct 26 03:20:09 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Sun, 26 Oct 2008 10:20:09 +0800 (SGT) Subject: [Gambas-user] Ask Clearing all tableview contents Message-ID: <935767.44549.qm@...2004...> On jeudi 16 octobre 2008, Leo Sendra wrote: >> Hello all, I have a problem in clearing all tableview contents. >> > >I have already use clear method, like this: tableview1.clear > >But, not all rows in tableview1 are cleared. > >Just a few of them are cleared. > >How to empty a tableview?? >> >Do you use the Data event to fill the data? >-- >Benoit Minisini Yes... I use data event to fill the data. So, how do I clear my tableview???? Thanks.. ___________________________________________________________________________ Yahoo! sekarang memiliki alamat Email baru. Dapatkan nama yang selalu Anda inginkan di domain baru @ymail dan @rocketmail. Cepat sebelum diambil orang lain! http://mail.promotions.yahoo.com/newdomains/id/ From leo_senpao at ...1541... Sun Oct 26 06:29:05 2008 From: leo_senpao at ...1541... (Leo Sendra) Date: Sun, 26 Oct 2008 13:29:05 +0800 (SGT) Subject: [Gambas-user] Ask abot tab-focus Message-ID: <255569.21277.qm@...2003...> Hello all, as we know we can move the focus to other object by using up arrow and down arrow. I have a tableview with mode = single. When the last row in tableview is selected and then if I press a down arrow once again, it will move the focus to other object. How can I disabled the arrow function? So, when I press a down arrow (without make other object become into disable), the focus doesn't move to other object. It still stay the focus in tableview. Thanks... ___________________________________________________________________________ Dapatkan nama yang Anda sukai! Sekarang Anda dapat memiliki email di @ymail.com dan @rocketmail.com. http://mail.promotions.yahoo.com/newdomains/id/ From gambas at ...1... Sun Oct 26 10:26:28 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 26 Oct 2008 11:26:28 +0200 Subject: [Gambas-user] Ask Clearing all tableview contents In-Reply-To: <935767.44549.qm@...2004...> References: <935767.44549.qm@...2004...> Message-ID: <200810261026.28707.gambas@...1...> On dimanche 26 octobre 2008, Leo Sendra wrote: > On jeudi 16 octobre 2008, Leo Sendra wrote: > >> Hello all, I have a problem in clearing all tableview contents. > >> > > >I have already use clear method, like this: tableview1.clear > > >But, not all rows in tableview1 are cleared. > > >Just a few of them are cleared. > > >How to empty a tableview?? > > > >Do you use the Data event to fill the data? > > > >-- > >Benoit Minisini > > Yes... I use data event to fill the data. So, how do I clear my > tableview???? > > Thanks.. > The Clear() method only clears cells that were explicitely set. Cells fills by the Data event must be clear by not setting cell data in the Data event. Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 26 10:26:28 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 26 Oct 2008 11:26:28 +0200 Subject: [Gambas-user] Ask Clearing all tableview contents In-Reply-To: <935767.44549.qm@...2004...> References: <935767.44549.qm@...2004...> Message-ID: <200810261026.28707.gambas@...1...> On dimanche 26 octobre 2008, Leo Sendra wrote: > On jeudi 16 octobre 2008, Leo Sendra wrote: > >> Hello all, I have a problem in clearing all tableview contents. > >> > > >I have already use clear method, like this: tableview1.clear > > >But, not all rows in tableview1 are cleared. > > >Just a few of them are cleared. > > >How to empty a tableview?? > > > >Do you use the Data event to fill the data? > > > >-- > >Benoit Minisini > > Yes... I use data event to fill the data. So, how do I clear my > tableview???? > > Thanks.. > The Clear() method only clears cells that were explicitely set. Cells fills by the Data event must be clear by not setting cell data in the Data event. Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 26 10:26:28 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 26 Oct 2008 11:26:28 +0200 Subject: [Gambas-user] Ask Clearing all tableview contents In-Reply-To: <935767.44549.qm@...2004...> References: <935767.44549.qm@...2004...> Message-ID: <200810261026.28707.gambas@...1...> On dimanche 26 octobre 2008, Leo Sendra wrote: > On jeudi 16 octobre 2008, Leo Sendra wrote: > >> Hello all, I have a problem in clearing all tableview contents. > >> > > >I have already use clear method, like this: tableview1.clear > > >But, not all rows in tableview1 are cleared. > > >Just a few of them are cleared. > > >How to empty a tableview?? > > > >Do you use the Data event to fill the data? > > > >-- > >Benoit Minisini > > Yes... I use data event to fill the data. So, how do I clear my > tableview???? > > Thanks.. > The Clear() method only clears cells that were explicitely set. Cells fills by the Data event must be clear by not setting cell data in the Data event. Regards, -- Benoit Minisini From gambas at ...1... Sun Oct 26 10:26:28 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 26 Oct 2008 11:26:28 +0200 Subject: [Gambas-user] Ask Clearing all tableview contents In-Reply-To: <935767.44549.qm@...2004...> References: <935767.44549.qm@...2004...> Message-ID: <200810261026.28707.gambas@...1...> On dimanche 26 octobre 2008, Leo Sendra wrote: > On jeudi 16 octobre 2008, Leo Sendra wrote: > >> Hello all, I have a problem in clearing all tableview contents. > >> > > >I have already use clear method, like this: tableview1.clear > > >But, not all rows in tableview1 are cleared. > > >Just a few of them are cleared. > > >How to empty a tableview?? > > > >Do you use the Data event to fill the data? > > > >-- > >Benoit Minisini > > Yes... I use data event to fill the data. So, how do I clear my > tableview???? > > Thanks.. > The Clear() method only clears cells that were explicitely set. Cells fills by the Data event must be clear by not setting cell data in the Data event. Regards, -- Benoit Minisini From klaine8 at ...626... Sun Oct 26 19:17:25 2008 From: klaine8 at ...626... (Kari Laine) Date: Sun, 26 Oct 2008 20:17:25 +0200 Subject: [Gambas-user] MD5SUM collisions In-Reply-To: <200810251729.06188.ronstk@...239...> References: <61452b690810241210o63555bdes293bfd95c79a12ec@...627...> <200810251729.06188.ronstk@...239...> Message-ID: <61452b690810261117g57d93099yd2bb3e554598f589@...627...> On Sat, Oct 25, 2008 at 5:29 PM, Ron_1st wrote: > On Friday 24 October 2008, Kari Laine wrote: > > Hi, > > > > > > > Nice to hear the result. So the theory story is now proven by your test. > Did you see a big difference between the used time for md5 and sha methods? Hi, I can't tell the times because I did not register them - pity... The total process was very slow - I almost run out of patience :-) Best Regards Kari From sbungay at ...981... Mon Oct 27 04:03:28 2008 From: sbungay at ...981... (Stephen Bungay) Date: Sun, 26 Oct 2008 23:03:28 -0400 Subject: [Gambas-user] Snap to grid toggle.... Message-ID: <49052F80.7040409@...981...> Where is the setting to toggle the grid-snap? I've been poking around looking for it (tools->preferences, project->preferences and looking for a grid snap button on the toolbar (there is a "display grid" toggle)) and can't seem to find a grid-snap toggle. I even looked through the email archive where I've found three messages referring to the subject dated may 25th 2008, one from Benoit saying it can be toggled. I just KNOW its going to be something stupidly simple that I'm missing or not seeing. From m0e.lnx at ...626... Mon Oct 27 13:36:37 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Mon, 27 Oct 2008 07:36:37 -0500 Subject: [Gambas-user] Another Embedder + gb.gtk bug In-Reply-To: <1f1e8c1b0810241133n55c62f0cl821ca66f92c3ade8@...627...> References: <1f1e8c1b0810241133n55c62f0cl821ca66f92c3ade8@...627...> Message-ID: <1f1e8c1b0810270536n2529a8b0ud61f8198b8396dc@...627...> Anyone else seen this? On Fri, Oct 24, 2008 at 1:33 PM, M0E Lnx wrote: > The embedder object has another problem in gb.gtk > > I'm using gambas2 (SVN Revision 1640) > > Here is how I'm using it > > I have a treeview and an embedder. When I double-click the treeview, > the selected application embeds to the right of the treeview > > But I'm trying to detect if the embedder is busy before embedding a > new application, I thought about using the Embedder.client property > like this > > PUBLIC SUB Treeview1_click() > IF Embedder1.client then Embedder1.Discard > END > > This results in a signal 11 error on the gambas IDE and my application crashes. > > Works ok when using gb.qt though > From ron at ...1740... Mon Oct 27 17:21:30 2008 From: ron at ...1740... (Ron) Date: Mon, 27 Oct 2008 17:21:30 +0100 Subject: [Gambas-user] stderr output via exec Message-ID: <4905EA8A.3020500@...1740...> Hi, small question., I remember something similar in a thread some time ago, but couldn't find it. I can't catch the stderr output from the hcitool command into a string. This doesn't work: EXEC ["hcitool", "rssi", sAddress, "2>&1"] TO sStrength When I create this shell script called btgetrssi.sh : -- #!/bin/sh hcitool rssi $1 2>&1 -- And execute it like so: EXEC ["bin/btgetrssi.sh", sAddress] TO sStrength All is ok, but I rather don't want to use external scripts and I don't want to use a background exec, because I have to run it a few times with different addresses not async... Thanks for any pointers! Regards, Ron_2nd From Mike at ...680... Mon Oct 27 18:43:56 2008 From: Mike at ...680... (Mike Keehan) Date: Mon, 27 Oct 2008 17:43:56 +0000 Subject: [Gambas-user] stderr output via exec In-Reply-To: <4905EA8A.3020500@...1740...> References: <4905EA8A.3020500@...1740...> Message-ID: <4905FDDC.70007@...680...> Try using SHELL instead of EXEC. Mike. Ron wrote: > Hi, > > small question., I remember something similar in a thread some time ago, > but couldn't find it. > > I can't catch the stderr output from the hcitool command into a string. > > This doesn't work: > EXEC ["hcitool", "rssi", sAddress, "2>&1"] TO sStrength > > When I create this shell script called btgetrssi.sh : > -- > #!/bin/sh > hcitool rssi $1 2>&1 > -- > And execute it like so: > EXEC ["bin/btgetrssi.sh", sAddress] TO sStrength > All is ok, but I rather don't want to use external scripts and I don't > want to use a background exec, because I have to run it a few times with > different addresses not async... > > Thanks for any pointers! > > Regards, > Ron_2nd > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From gambas at ...1... Tue Oct 28 01:22:44 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 28 Oct 2008 02:22:44 +0200 Subject: [Gambas-user] Another Embedder + gb.gtk bug In-Reply-To: <1f1e8c1b0810241133n55c62f0cl821ca66f92c3ade8@...627...> References: <1f1e8c1b0810241133n55c62f0cl821ca66f92c3ade8@...627...> Message-ID: <200810280122.44085.gambas@...1...> On vendredi 24 octobre 2008, M0E Lnx wrote: > The embedder object has another problem in gb.gtk > > I'm using gambas2 (SVN Revision 1640) > > Here is how I'm using it > > I have a treeview and an embedder. When I double-click the treeview, > the selected application embeds to the right of the treeview > > But I'm trying to detect if the embedder is busy before embedding a > new application, I thought about using the Embedder.client property > like this > > PUBLIC SUB Treeview1_click() > IF Embedder1.client then Embedder1.Discard > END > > This results in a signal 11 error on the gambas IDE and my application > crashes. > > Works ok when using gb.qt though > Your problem should be fixed in revision #1653. I have a problem yet with gb.qt: it crashes at exit when something has been embedded. Funny that you didn't have any problem. Regards, -- Benoit Minisini From gambas at ...1... Tue Oct 28 01:23:41 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 28 Oct 2008 02:23:41 +0200 Subject: [Gambas-user] strange process print error In-Reply-To: <4247f5440810201322s53e9f9ecs93a305b649dab8c6@...627...> References: <4247f5440810201322s53e9f9ecs93a305b649dab8c6@...627...> Message-ID: <200810280123.41611.gambas@...1...> On lundi 20 octobre 2008, Joshua Higgins wrote: > Hello, > > I'm getting a very strange error in my program. here is an excerpt: > >>> START CODE > > PUBLIC SUB Button1_Click() > fluidsynthproc = SHELL "fluidsynth -a jack" FOR INPUT OUTPUT > END > > PUBLIC SUB Button2_Click() > PRINT #fluidsynthproc, TextBox1.Text > END > > >>> END CODE > > This looks okay. But for some reason I cannot print the lowercase letter p > to the fluidsynthproc. Any reason / workaround for this? No reason. Are you sure that the problem is not somewhere else? -- Benoit Minisini From rterry at ...1946... Wed Oct 29 04:20:52 2008 From: rterry at ...1946... (richard terry) Date: Wed, 29 Oct 2008 14:20:52 +1100 Subject: [Gambas-user] Draw Editor Dosn't Draw Circle AnyMore Message-ID: <200810291420.52830.rterry@...1946...> Hi, Benoit, I wondered if you have verified this is a bug - still not working on 1653. Regards Richard From doriano.blengino at ...1909... Tue Oct 28 07:18:43 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Tue, 28 Oct 2008 07:18:43 +0100 Subject: [Gambas-user] stderr output via exec In-Reply-To: <4905FDDC.70007@...680...> References: <4905EA8A.3020500@...1740...> <4905FDDC.70007@...680...> Message-ID: <4906AEC3.2090909@...1909...> Mike Keehan ha scritto: > Try using SHELL instead of EXEC. > > Mike. > > > Ron wrote: > >> Hi, >> >> small question., I remember something similar in a thread some time ago, >> but couldn't find it. >> >> I can't catch the stderr output from the hcitool command into a string. >> >> This doesn't work: >> EXEC ["hcitool", "rssi", sAddress, "2>&1"] TO sStrength >> >> When I create this shell script called btgetrssi.sh : >> -- >> #!/bin/sh >> hcitool rssi $1 2>&1 >> Yes, the "2>&1" is a sh construct, not a unix one. Using EXEC [ ... "2>&1"] simply passes that "strange" argument to hcitool. Use SHELL "hcitool ... 2>&1" or, more complicated but faster, an "EXEC ... WAIT for READ" and the Error() event (but I don't know if it works together the WAIT keyword). Cheers, Doriano From ron at ...1740... Tue Oct 28 08:53:13 2008 From: ron at ...1740... (Ron) Date: Tue, 28 Oct 2008 08:53:13 +0100 Subject: [Gambas-user] stderr output via exec In-Reply-To: <4906AEC3.2090909@...1909...> References: <4905EA8A.3020500@...1740...> <4905FDDC.70007@...680...> <4906AEC3.2090909@...1909...> Message-ID: <4906C4E9.9060409@...1740...> Doriano Blengino schreef: > Mike Keehan ha scritto: > >> Try using SHELL instead of EXEC. >> >> Mike. >> >> >> Ron wrote: >> >> >>> Hi, >>> >>> small question., I remember something similar in a thread some time ago, >>> but couldn't find it. >>> >>> I can't catch the stderr output from the hcitool command into a string. >>> >>> This doesn't work: >>> EXEC ["hcitool", "rssi", sAddress, "2>&1"] TO sStrength >>> >>> When I create this shell script called btgetrssi.sh : >>> -- >>> #!/bin/sh >>> hcitool rssi $1 2>&1 >>> >>> > Yes, the "2>&1" is a sh construct, not a unix one. Using EXEC [ ... > "2>&1"] simply passes that "strange" argument to hcitool. > Use SHELL "hcitool ... 2>&1" or, more complicated but faster, an "EXEC > ... WAIT for READ" and the Error() event (but I don't know if it works > together the WAIT keyword). > > > Yes SHELL works, I tried it before but then other params where preventing to let it work right I guess. Thanks! Regards, Ron_2nd From m0e.lnx at ...626... Tue Oct 28 13:48:41 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Tue, 28 Oct 2008 07:48:41 -0500 Subject: [Gambas-user] Another Embedder + gb.gtk bug In-Reply-To: <200810280122.44085.gambas@...1...> References: <1f1e8c1b0810241133n55c62f0cl821ca66f92c3ade8@...627...> <200810280122.44085.gambas@...1...> Message-ID: <1f1e8c1b0810280548r3cc0f379q7601851ac8d42a04@...627...> I do not... as a matter of fact, it works perfectly on gb.qt for me (or at least I think it does) At exit, the embedder applications are killed. It does not crash. I did notice in gb.qt that using the Discard method on the embedder doesn't really kill the embedded application, rather it just shoots it out and X windows decorates it. Not sure that's how it should be.... I was looking for a way to kill the embedde application. On Mon, Oct 27, 2008 at 7:22 PM, Benoit Minisini wrote: > On vendredi 24 octobre 2008, M0E Lnx wrote: >> The embedder object has another problem in gb.gtk >> >> I'm using gambas2 (SVN Revision 1640) >> >> Here is how I'm using it >> >> I have a treeview and an embedder. When I double-click the treeview, >> the selected application embeds to the right of the treeview >> >> But I'm trying to detect if the embedder is busy before embedding a >> new application, I thought about using the Embedder.client property >> like this >> >> PUBLIC SUB Treeview1_click() >> IF Embedder1.client then Embedder1.Discard >> END >> >> This results in a signal 11 error on the gambas IDE and my application >> crashes. >> >> Works ok when using gb.qt though >> > > Your problem should be fixed in revision #1653. > > I have a problem yet with gb.qt: it crashes at exit when something has been > embedded. Funny that you didn't have any problem. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Oct 28 14:46:48 2008 From: gambas at ...1... (Benoit Minisini) Date: Tue, 28 Oct 2008 15:46:48 +0200 Subject: [Gambas-user] Another Embedder + gb.gtk bug In-Reply-To: <1f1e8c1b0810280548r3cc0f379q7601851ac8d42a04@...627...> References: <1f1e8c1b0810241133n55c62f0cl821ca66f92c3ade8@...627...> <200810280122.44085.gambas@...1...> <1f1e8c1b0810280548r3cc0f379q7601851ac8d42a04@...627...> Message-ID: <200810281446.48859.gambas@...1...> On mardi 28 octobre 2008, M0E Lnx wrote: > I do not... as a matter of fact, it works perfectly on gb.qt for me > (or at least I think it does) > > At exit, the embedder applications are killed. It does not crash. > > I did notice in gb.qt that using the Discard method on the embedder > doesn't really kill the embedded application, rather it just shoots it > out and X windows decorates it. > Not sure that's how it should be.... I was looking for a way to kill > the embedde application. > > Discard() must do the contrary of Embed(), so it does not kill the embedded application. To kill it, you need its process id. Regards, -- Benoit Minisini From m0e.lnx at ...626... Tue Oct 28 16:19:09 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Tue, 28 Oct 2008 10:19:09 -0500 Subject: [Gambas-user] Another Embedder + gb.gtk bug In-Reply-To: <200810281446.48859.gambas@...1...> References: <1f1e8c1b0810241133n55c62f0cl821ca66f92c3ade8@...627...> <200810280122.44085.gambas@...1...> <1f1e8c1b0810280548r3cc0f379q7601851ac8d42a04@...627...> <200810281446.48859.gambas@...1...> Message-ID: <1f1e8c1b0810280819i77797904m4e9590c5083c763c@...627...> Fair enough I'm building a new svn snapshot now to continue testing the gb.gtk issue THanks On Tue, Oct 28, 2008 at 8:46 AM, Benoit Minisini wrote: > On mardi 28 octobre 2008, M0E Lnx wrote: >> I do not... as a matter of fact, it works perfectly on gb.qt for me >> (or at least I think it does) >> >> At exit, the embedder applications are killed. It does not crash. >> >> I did notice in gb.qt that using the Discard method on the embedder >> doesn't really kill the embedded application, rather it just shoots it >> out and X windows decorates it. >> Not sure that's how it should be.... I was looking for a way to kill >> the embedde application. >> >> > > Discard() must do the contrary of Embed(), so it does not kill the embedded > application. To kill it, you need its process id. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Oct 30 12:10:28 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Oct 2008 13:10:28 +0200 Subject: [Gambas-user] Draw Editor Dosn't Draw Circle AnyMore In-Reply-To: <200810251024.30163.rterry@...1946...> References: <200810250756.40669.rterry@...1946...> <200810240110.03302.gambas@...1...> <200810251024.30163.rterry@...1946...> Message-ID: <200810301210.28068.gambas@...1...> On samedi 25 octobre 2008, richard terry wrote: > On Fri, 24 Oct 2008 10:10:03 am Benoit Minisini wrote: > > On vendredi 24 octobre 2008, richard terry wrote: > > > Just noticed my app stopped being able to draw circles, so I checked > > > the draw editor and it dosn't either, but the square still works ?why > > > ?any ideas > > > > > > Regards > > > > > > Richard > > > > Can you give more details please? > > If build I think 1647. > > If you edit a picture, and use the say draw a square button, you can draw > the square over the picture. If you use the circle tool, the cursor seems > to draw the circle, but no circle ends up on the picture. > > The picture shows a square drawn, and a screen dump whilst I'm drawing a > circle with the mouse. However as soon as I release the mouse, there is no > circle left on the picture, unlike the square which is left as you can see > above. Remember that this dump is taken whilst holdiing the mouse down and > the circle disappears (ie is not drawn) once the mouose is released > > > Regards Richard > > > Regards > > > Richard I cannot reproduce your bug, both with Gambas 2 and Gambas 3. Each time I wanted to draw a circle, I had the circle drawn as expected. Someone else having this problem ? -- Benoit Minisini From gambas at ...1... Thu Oct 30 15:30:30 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Oct 2008 16:30:30 +0200 Subject: [Gambas-user] Release of Gambas 2.9 Message-ID: <200810301530.30410.gambas@...1...> Hi, Finally, two months after the release of Gambas 2.8, here is a new version. The main changes are: * The code editor can now use any font. Consequently, you will be able to use chinese and other non western languages in your code, and Liang Wei should be happy. * The IDE creates packages inside their own directories. * A "paste special" feature has been implemented. You can paste text as plain text, HTML, as a quoted string, as a comment, as PRINT instructions. * Gambas Server Pages allows you to create web pages dynamically. See the old mail about that in the mailing-list for more information, or the documentation page on the wiki. * Deleted forms now become immediately invalid. This may produce new errors in your old code ('Invalid object'). * The networking components were fixed. But not all bugs were erased for sure. There are many other fixes, so go there to see the full changelog: http://gambas.sf.net/changelog2.html. Regards, -- Benoit Minisini From m0e.lnx at ...626... Thu Oct 30 16:46:37 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Thu, 30 Oct 2008 10:46:37 -0500 Subject: [Gambas-user] Shipping translations for my project Message-ID: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> I'm working on this project and I'm offering translations. My question now is... where do I put the translations so my program can get to them? Is there a GNU Standard for this anyone knows of? And what is the best way of listing the offered translations withoug having to hard code a list? From gambas at ...1... Thu Oct 30 16:59:15 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Oct 2008 17:59:15 +0200 Subject: [Gambas-user] Shipping translations for my project In-Reply-To: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> References: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> Message-ID: <200810301659.15782.gambas@...1...> On jeudi 30 octobre 2008, M0E Lnx wrote: > I'm working on this project and I'm offering translations. > My question now is... where do I put the translations so my program > can get to them? > > Is there a GNU Standard for this anyone knows of? > > And what is the best way of listing the offered translations withoug > having to hard code a list? > Everything is automatic: just do the translation from the IDE. Regards, -- Benoit Minisini From m0e.lnx at ...626... Thu Oct 30 18:27:48 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Thu, 30 Oct 2008 12:27:48 -0500 Subject: [Gambas-user] Shipping translations for my project In-Reply-To: <200810301659.15782.gambas@...1...> References: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> <200810301659.15782.gambas@...1...> Message-ID: <1f1e8c1b0810301027x76c4a335y4708165f11b9a003@...627...> I've got the translations... but what do I do with them? If it is all automatic, how can I offer the end user the choice of languages? On Thu, Oct 30, 2008 at 10:59 AM, Benoit Minisini wrote: > On jeudi 30 octobre 2008, M0E Lnx wrote: >> I'm working on this project and I'm offering translations. >> My question now is... where do I put the translations so my program >> can get to them? >> >> Is there a GNU Standard for this anyone knows of? >> >> And what is the best way of listing the offered translations withoug >> having to hard code a list? >> > > Everything is automatic: just do the translation from the IDE. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Oct 30 18:46:48 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Oct 2008 19:46:48 +0200 Subject: [Gambas-user] Shipping translations for my project In-Reply-To: <1f1e8c1b0810301027x76c4a335y4708165f11b9a003@...627...> References: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> <200810301659.15782.gambas@...1...> <1f1e8c1b0810301027x76c4a335y4708165f11b9a003@...627...> Message-ID: <200810301846.48966.gambas@...1...> On jeudi 30 octobre 2008, M0E Lnx wrote: > I've got the translations... but what do I do with them? > > If it is all automatic, how can I offer the end user the choice of > languages? > On Unix, the user sets its language with the LANG environmental variable. If you want to do that inside your program, just set the System.Language property with the requested language code (for example, "fr_FR" for french in France). Regards, -- Benoit Minisini From m0e.lnx at ...626... Thu Oct 30 18:55:19 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Thu, 30 Oct 2008 12:55:19 -0500 Subject: [Gambas-user] Shipping translations for my project In-Reply-To: <200810301846.48966.gambas@...1...> References: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> <200810301659.15782.gambas@...1...> <1f1e8c1b0810301027x76c4a335y4708165f11b9a003@...627...> <200810301846.48966.gambas@...1...> Message-ID: <1f1e8c1b0810301055k24e65f58q97eadb6d17b06fb@...627...> Right... I understand that.. But settings System.Language = "ft_FR" will only translate my application to French if a French translation is available ..... correct? And there lies my question... I want to list the translations available for my application... (I have only 3 at the moment, but there will be more) The user should see these in a listbox and pick one.... but where do I get the values for the listbox (without having to hardcode a list there) On Thu, Oct 30, 2008 at 12:46 PM, Benoit Minisini wrote: > On jeudi 30 octobre 2008, M0E Lnx wrote: >> I've got the translations... but what do I do with them? >> >> If it is all automatic, how can I offer the end user the choice of >> languages? >> > > On Unix, the user sets its language with the LANG environmental variable. > > If you want to do that inside your program, just set the System.Language > property with the requested language code (for example, "fr_FR" for french in > France). > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Oct 30 19:03:54 2008 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Oct 2008 20:03:54 +0200 Subject: [Gambas-user] Shipping translations for my project In-Reply-To: <1f1e8c1b0810301055k24e65f58q97eadb6d17b06fb@...627...> References: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> <200810301846.48966.gambas@...1...> <1f1e8c1b0810301055k24e65f58q97eadb6d17b06fb@...627...> Message-ID: <200810301903.54856.gambas@...1...> On jeudi 30 octobre 2008, M0E Lnx wrote: > Right... I understand that.. > But settings System.Language = "ft_FR" will only translate my > application to French if a French translation is available ..... > correct? > > And there lies my question... I want to list the translations > available for my application... (I have only 3 at the moment, but > there will be more) > The user should see these in a listbox and pick one.... but where do I > get the values for the listbox (without having to hardcode a list > there) > There is nothing at the moment, except doing: Dir(".lang", "*.mo") -- Benoit Minisini From m0e.lnx at ...626... Thu Oct 30 19:07:57 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Thu, 30 Oct 2008 13:07:57 -0500 Subject: [Gambas-user] Shipping translations for my project In-Reply-To: <200810301903.54856.gambas@...1...> References: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> <200810301846.48966.gambas@...1...> <1f1e8c1b0810301055k24e65f58q97eadb6d17b06fb@...627...> <200810301903.54856.gambas@...1...> Message-ID: <1f1e8c1b0810301107i2c5975cek9e3f13ff56f5347f@...627...> And that's what I'm doing at the moment. But that only works when the application is ran inside the IDE if I run it outside the IDE, then it doesn't list the languages not even when ran from the same directory that contains .lang suggestions? On Thu, Oct 30, 2008 at 1:03 PM, Benoit Minisini wrote: > On jeudi 30 octobre 2008, M0E Lnx wrote: >> Right... I understand that.. >> But settings System.Language = "ft_FR" will only translate my >> application to French if a French translation is available ..... >> correct? >> >> And there lies my question... I want to list the translations >> available for my application... (I have only 3 at the moment, but >> there will be more) >> The user should see these in a listbox and pick one.... but where do I >> get the values for the listbox (without having to hardcode a list >> there) >> > > There is nothing at the moment, except doing: Dir(".lang", "*.mo") > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From klaine8 at ...626... Thu Oct 30 21:24:30 2008 From: klaine8 at ...626... (Kari Laine) Date: Thu, 30 Oct 2008 22:24:30 +0200 Subject: [Gambas-user] Please help with directory problem Message-ID: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> Hi All, still making my homebrew backup-program. Now I have tried to get a simple thing to work for something like 5 hours. Following is a test routine which does not work. It's idea is to create directory structure given in variable SHak inside directory given by variable crtdir. Any ideas why it does not work? I remember seeing something in help about directories in Gambas but I think that should not affect absolute paths... PUBLIC SUB Button2_Click() DIM sHak AS String DIM haks AS NEW String[300] DIM hak2 AS String DIM crtdir AS String sHak = "/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool/main/g/gimp/" crtdir = "/home/kari/backup_work/cdroot/" haks = Split(sHak, "/") FOR EACH hak2 IN haks crtdir = crtdir &/ hak2 PRINT crtdir SHELL "mkdir " & crtdir 'PRINT hak2 'PRINT crtdir NEXT END Best Regards Kari Laine From m0e.lnx at ...626... Thu Oct 30 21:34:46 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Thu, 30 Oct 2008 15:34:46 -0500 Subject: [Gambas-user] Please help with directory problem In-Reply-To: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> Message-ID: <1f1e8c1b0810301334p1cf55d9chc2007ca9973c4471@...627...> You could try defining a integer variable to keep track of your array Here is your code with a slight modification... not tested... but try it PUBLIC SUB Button2_Click() DIM sHak AS String DIM haks AS NEW String[300] DIM hak2 AS String DIM crtdir AS String DIM i as Integer sHak = "/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool/main/g/gimp/" crtdir = "/home/kari/backup_work/cdroot/" haks = Split(sHak, "/") ' FOR EACH hak2 IN haks FOR i = 0 to Haks.Count - 1 ' crtdir = crtdir &/ hak2 crtdir = crtdir &/ haks[i] PRINT crtdir SHELL "mkdir " & crtdir 'PRINT hak2 'PRINT crtdir NEXT END See if that works On Thu, Oct 30, 2008 at 3:24 PM, Kari Laine wrote: > Hi All, > > still making my homebrew backup-program. Now I have tried to get a simple > thing to work for something like 5 hours. Following is a test routine which > does not work. It's idea is to create directory structure given in variable > SHak inside directory given by variable crtdir. Any ideas why it does not > work? I remember seeing something in help about directories in Gambas but I > think that should not affect absolute paths... > > > > PUBLIC SUB Button2_Click() > > > DIM sHak AS String > DIM haks AS NEW String[300] > DIM hak2 AS String > DIM crtdir AS String > sHak = "/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool/main/g/gimp/" > crtdir = "/home/kari/backup_work/cdroot/" > haks = Split(sHak, "/") > FOR EACH hak2 IN haks > > > crtdir = crtdir &/ hak2 > PRINT crtdir > SHELL "mkdir " & crtdir > 'PRINT hak2 > 'PRINT crtdir > NEXT > END > > > > Best Regards > Kari Laine > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rterry at ...1946... Fri Oct 31 22:49:59 2008 From: rterry at ...1946... (richard terry) Date: Sat, 1 Nov 2008 08:49:59 +1100 Subject: [Gambas-user] Draw Editor Dosn't Draw Circle AnyMore In-Reply-To: <200810301210.28068.gambas@...1...> References: <200810250756.40669.rterry@...1946...> <200810251024.30163.rterry@...1946...> <200810301210.28068.gambas@...1...> Message-ID: <200811010849.59774.rterry@...1946...> On Thu, 30 Oct 2008 10:10:28 pm Benoit Minisini wrote: > On samedi 25 octobre 2008, richard terry wrote: > > On Fri, 24 Oct 2008 10:10:03 am Benoit Minisini wrote: > > > On vendredi 24 octobre 2008, richard terry wrote: > > > > Just noticed my app stopped being able to draw circles, so I checked > > > > the draw editor and it dosn't either, but the square still works > > > > ?why ?any ideas > > > > > > > > Regards > > > > > > > > Richard > > > > > > Can you give more details please? > > > > If build I think 1647. > > > > If you edit a picture, and use the say draw a square button, you can > > draw the square over the picture. If you use the circle tool, the cursor > > seems to draw the circle, but no circle ends up on the picture. > > > > The picture shows a square drawn, and a screen dump whilst I'm drawing a > > circle with the mouse. However as soon as I release the mouse, there is > > no circle left on the picture, unlike the square which is left as you can > > see above. Remember that this dump is taken whilst holdiing the mouse > > down and the circle disappears (ie is not drawn) once the mouose is > > released > > > > > > Regards Richard > > > > > > Regards > > > > > > Richard > > I cannot reproduce your bug, both with Gambas 2 and Gambas 3. Each time I > wanted to draw a circle, I had the circle drawn as expected. > > Someone else having this problem ? Would there be any libraries or something that this is dependant on. I tested it again with 1663, same thing - square draws, but not the circle. Richard From markus.schatten at ...2005... Thu Oct 30 22:59:58 2008 From: markus.schatten at ...2005... (Markus Schatten) Date: Thu, 30 Oct 2008 22:59:58 +0100 Subject: [Gambas-user] Regular expressions In-Reply-To: <1f1e8c1b0810301334p1cf55d9chc2007ca9973c4471@...627...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <1f1e8c1b0810301334p1cf55d9chc2007ca9973c4471@...627...> Message-ID: <200810302259.58812.markus.schatten@...2005...> Hello group members, I'm a newbee to Gambas and I have a little problem. I would like to use the pcre Regexp class, but I seem not to be able to find any examples of how to instantiate a new object nor how to use such objects. Is there any documentation/tutorial/example? If not could please someone post a short example on how to use it? Best regards, -- Markus Schatten, MSc Faculty of Organization and Informatics Vara?din, Croatia http://www.foi.hr From sourceforge-raindog2 at ...94... Thu Oct 30 23:32:09 2008 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 30 Oct 2008 18:32:09 -0400 Subject: [Gambas-user] Regular expressions In-Reply-To: <200810302259.58812.markus.schatten@...2005...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <1f1e8c1b0810301334p1cf55d9chc2007ca9973c4471@...627...> <200810302259.58812.markus.schatten@...2005...> Message-ID: <200810301832.10066.sourceforge-raindog2@...94...> On Thursday 30 October 2008 17:59, Markus Schatten wrote: > I'm a newbee to Gambas and I have a little problem. I would like to use > the pcre Regexp class, but I seem not to be able to find any examples of > how to instantiate a new object nor how to use such objects. Is there > any documentation/tutorial/example? If not could please someone post a > short example on how to use it? Yeah, I updated the wiki a few weeks ago with some documentation. See if it's what you need and tell me if it isn't. http://gambasdoc.org/help/comp/gb.pcre Here is the page about instantiation, to which I just added a brief example: http://gambasdoc.org/help/comp/gb.pcre/regexp/_new Rob From gambas at ...1... Fri Oct 31 00:04:17 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 31 Oct 2008 01:04:17 +0200 Subject: [Gambas-user] Please help with directory problem In-Reply-To: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> Message-ID: <200810310004.17364.gambas@...1...> On jeudi 30 octobre 2008, Kari Laine wrote: > Hi All, > > still making my homebrew backup-program. Now I have tried to get a simple > thing to work for something like 5 hours. Following is a test routine which > does not work. It's idea is to create directory structure given in variable > SHak inside directory given by variable crtdir. Any ideas why it does not > work? I remember seeing something in help about directories in Gambas but I > think that should not affect absolute paths... > > > > PUBLIC SUB Button2_Click() > > > DIM sHak AS String > DIM haks AS NEW String[300] > DIM hak2 AS String > DIM crtdir AS String > sHak = "/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool/main/g/gimp/" > crtdir = "/home/kari/backup_work/cdroot/" > haks = Split(sHak, "/") > FOR EACH hak2 IN haks > > > crtdir = crtdir &/ hak2 > PRINT crtdir > SHELL "mkdir " & crtdir . /|\ | WAIT ? -------------------------' -- Benoit Minisini From eilert-sprachen at ...221... Fri Oct 31 08:50:53 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 31 Oct 2008 08:50:53 +0100 Subject: [Gambas-user] Word Wrap in GridView or TableView Message-ID: <490AB8DD.5080803@...221...> Hi, The Re. says it all: Is there an automatic word-wrapping (line wrap) in GridView or TableView? Or could this be done by code (inserting LF for instance)? If so, the line height for that cell should be increased properly, could one find the necessary data, and does this work? Thanks for your hints! Rolf From eilert-sprachen at ...221... Fri Oct 31 09:06:31 2008 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 31 Oct 2008 09:06:31 +0100 Subject: [Gambas-user] Release of Gambas 2.9 In-Reply-To: <200810301530.30410.gambas@...1...> References: <200810301530.30410.gambas@...1...> Message-ID: <490ABC87.3040409@...221...> Benoit Minisini schrieb: > Hi, > > Finally, two months after the release of Gambas 2.8, here is a new version. > > The main changes are: > > * The code editor can now use any font. Consequently, you will be able to use > chinese and other non western languages in your code, and Liang Wei should be > happy. > > * The IDE creates packages inside their own directories. > > * A "paste special" feature has been implemented. You can paste text as plain > text, HTML, as a quoted string, as a comment, as PRINT instructions. > > * Gambas Server Pages allows you to create web pages dynamically. See the old > mail about that in the mailing-list for more information, or the > documentation page on the wiki. > > * Deleted forms now become immediately invalid. This may produce new errors in > your old code ('Invalid object'). > > * The networking components were fixed. But not all bugs were erased for sure. > > There are many other fixes, so go there to see the full changelog: > http://gambas.sf.net/changelog2.html. > > Regards, > Absolutely terrific, Benoit, Gambas is awesome! Meanwhile I could get used to the non-MDI interface of Gambas 2 and really love working with it, although there is still a lot of new stuff over Gambas 1 to be found for me :-) For example, I just stumbled over the fact that TableView now has an editable cell method and this seems to be the only difference to GridView now. C'est genial! It would make my own efforts to implement editing a cell obsolete. But then I didn't find a way to wrap text in a cell... well, that's another mail. Regards Rolf From doriano.blengino at ...1909... Fri Oct 31 09:34:51 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Fri, 31 Oct 2008 09:34:51 +0100 Subject: [Gambas-user] Please help with directory problem In-Reply-To: <200810310004.17364.gambas@...1...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <200810310004.17364.gambas@...1...> Message-ID: <490AC32B.90700@...1909...> Benoit Minisini ha scritto: > On jeudi 30 octobre 2008, Kari Laine wrote: > >> >> crtdir = crtdir &/ hak2 >> PRINT crtdir >> SHELL "mkdir " & crtdir >> > . > /|\ > | > WAIT ? -------------------------' > > Beatiful ascii art, Benoit. Bravo! :-)) (not joking...) When I read about Kari's problem, I cannot figure out why it couldn't work. Now I understand too... Regards, Doriano. From ron at ...1740... Fri Oct 31 10:57:54 2008 From: ron at ...1740... (Ron) Date: Fri, 31 Oct 2008 10:57:54 +0100 Subject: [Gambas-user] Shipping translations for my project In-Reply-To: <1f1e8c1b0810301107i2c5975cek9e3f13ff56f5347f@...627...> References: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> <200810301846.48966.gambas@...1...> <1f1e8c1b0810301055k24e65f58q97eadb6d17b06fb@...627...> <200810301903.54856.gambas@...1...> <1f1e8c1b0810301107i2c5975cek9e3f13ff56f5347f@...627...> Message-ID: <490AD6A2.7080601@...1740...> M0E Lnx schreef: > And that's what I'm doing at the moment. > But that only works when the application is ran inside the IDE > > if I run it outside the IDE, then it doesn't list the languages not > even when ran from the same directory that contains .lang > > suggestions? > > > On Thu, Oct 30, 2008 at 1:03 PM, Benoit Minisini > wrote: > >> On jeudi 30 octobre 2008, M0E Lnx wrote: >> >>> Right... I understand that.. >>> But settings System.Language = "ft_FR" will only translate my >>> application to French if a French translation is available ..... >>> correct? >>> >>> And there lies my question... I want to list the translations >>> available for my application... (I have only 3 at the moment, but >>> there will be more) >>> The user should see these in a listbox and pick one.... but where do I >>> get the values for the listbox (without having to hardcode a list >>> there) >>> >>> >> There is nothing at the moment, except doing: Dir(".lang", "*.mo") >> >> -- >> Benoit Minisini >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > I have hardcode this, the available translations for my project are known, so why not implement it like this, and the add a language to the code when I have made a new one. Main.sLanguage holds locale from settings ' set language and run application PUBLIC FUNCTION Main() AS Boolean ' load program settings Main.GetConfig() ' set language System.Language = Main.sLanguage ' open main form FMain.Show() END Change settings form: SELECT CASE Main.sLanguage CASE "en_US.UTF-8" cmbLanguage.Text = "English" pbLanguage.Picture = Picture["icons/en.png"] CASE "nl_NL.UTF-8" cmbLanguage.Text = "Dutch" pbLanguage.Picture = Picture["icons/nl.png"] END SELECT SELECT CASE cmbLanguage.Text CASE "English" Main.sLanguage = "en_US.UTF-8" pbLanguage.Picture = Picture["icons/en.png"] CASE "Dutch" Main.sLanguage = "nl_NL.UTF-8" pbLanguage.Picture = Picture["icons/nl.png"] END SELECT Not the best way maybe, but it seems to work ok. Apart from this problem, the user should have the correct locale installed otherwise he will get this error in console (ide only) when he choose a language in my app: WARNING: cannot switch to language 'nl_NL.UTF-8'. Did you install the corresponding locale? He needs to do apt-get install language-pack-nl-base first then. I have no idea how to catch this (apart from documenting it) Regards, Ron_2nd From gambas at ...1... Fri Oct 31 12:47:20 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 31 Oct 2008 13:47:20 +0200 Subject: [Gambas-user] Shipping translations for my project In-Reply-To: <1f1e8c1b0810301107i2c5975cek9e3f13ff56f5347f@...627...> References: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> <200810301903.54856.gambas@...1...> <1f1e8c1b0810301107i2c5975cek9e3f13ff56f5347f@...627...> Message-ID: <200810311247.20725.gambas@...1...> On jeudi 30 octobre 2008, M0E Lnx wrote: > And that's what I'm doing at the moment. > But that only works when the application is ran inside the IDE > > if I run it outside the IDE, then it doesn't list the languages not > even when ran from the same directory that contains .lang > > suggestions? > Mmm. This is an old bug in Dir() when browsing an executable. -- Benoit Minisini From klaine8 at ...626... Fri Oct 31 13:52:50 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 31 Oct 2008 14:52:50 +0200 Subject: [Gambas-user] Please help with directory problem In-Reply-To: <490AC32B.90700@...1909...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <200810310004.17364.gambas@...1...> <490AC32B.90700@...1909...> Message-ID: <61452b690810310552v10b3dcd0icf882207a767add6@...627...> Thanks Benoit ! From m0e.lnx at ...626... Fri Oct 31 13:54:59 2008 From: m0e.lnx at ...626... (M0E Lnx) Date: Fri, 31 Oct 2008 07:54:59 -0500 Subject: [Gambas-user] Shipping translations for my project In-Reply-To: <200810311247.20725.gambas@...1...> References: <1f1e8c1b0810300846r7b23c351na802bb6630a4be7c@...627...> <200810301903.54856.gambas@...1...> <1f1e8c1b0810301107i2c5975cek9e3f13ff56f5347f@...627...> <200810311247.20725.gambas@...1...> Message-ID: <1f1e8c1b0810310554h3a9203aarfa2bbf84c34bc1a1@...627...> The code I'm using now is somewhat similar, except, I'm using a columnview, and storing the LANGUAGE CODE as the key for each entry and the LANGUAGE NAME as the .text property for each entry. I foud it's easier to do it this way than it is to keep up with 2 arrays of the same thing, I just use what gambas already has. So when you select an item in the columnview, you can easily get it's LANG CODE by getting the selection's key. But beniot is right... It seems to me that the resulting binary should be able to rdir(.lang) On Fri, Oct 31, 2008 at 6:47 AM, Benoit Minisini wrote: > On jeudi 30 octobre 2008, M0E Lnx wrote: >> And that's what I'm doing at the moment. >> But that only works when the application is ran inside the IDE >> >> if I run it outside the IDE, then it doesn't list the languages not >> even when ran from the same directory that contains .lang >> >> suggestions? >> > > Mmm. This is an old bug in Dir() when browsing an executable. > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Oct 31 13:57:37 2008 From: gambas at ...1... (Benoit Minisini) Date: Fri, 31 Oct 2008 14:57:37 +0200 Subject: [Gambas-user] Please help with directory problem In-Reply-To: <61452b690810310552v10b3dcd0icf882207a767add6@...627...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <490AC32B.90700@...1909...> <61452b690810310552v10b3dcd0icf882207a767add6@...627...> Message-ID: <200810311357.37388.gambas@...1...> On vendredi 31 octobre 2008, Kari Laine wrote: > Thanks Benoit ! I often forget the WAIT keyword after a SHELL or EXEC command, so now I think this syntax was not a really good idea. I should have used the opposite syntax, i.e. a keyword like "BACKGROUND" or "DO NOT WAIT"! -- Benoit Minisini From markus.schatten at ...2005... Fri Oct 31 17:09:21 2008 From: markus.schatten at ...2005... (Markus Schatten) Date: Fri, 31 Oct 2008 17:09:21 +0100 Subject: [Gambas-user] Regular expressions In-Reply-To: <200810301832.10066.sourceforge-raindog2@...94...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <200810302259.58812.markus.schatten@...2005...> <200810301832.10066.sourceforge-raindog2@...94...> Message-ID: <200810311709.21263.markus.schatten@...2005...> On Thursday 30 October 2008 23:32:09 Rob wrote: > On Thursday 30 October 2008 17:59, Markus Schatten wrote: > > I'm a newbee to Gambas and I have a little problem. I would like to use > > the pcre Regexp class, but I seem not to be able to find any examples of > > how to instantiate a new object nor how to use such objects. Is there > > any documentation/tutorial/example? If not could please someone post a > > short example on how to use it? > > Yeah, I updated the wiki a few weeks ago with some documentation. See if > it's what you need and tell me if it isn't. > > http://gambasdoc.org/help/comp/gb.pcre > > Here is the page about instantiation, to which I just added a brief > example: > > http://gambasdoc.org/help/comp/gb.pcre/regexp/_new > Thanks a lot for the links, they were very helpfull. Is there a way to use a regex for looping through all matches? Something like scan(....) in a for each loop or findall in python-re? I was able to figure out that the Text property holds the first match, Submatches is an array of given submatches (in parenthesis) and Offset holds the index if the first match. There seem to be no other properties defined... Best regards, -- Markus Schatten, MSc Faculty of Organization and Informatics Vara?din, Croatia http://www.foi.hr From doriano.blengino at ...1909... Fri Oct 31 18:28:24 2008 From: doriano.blengino at ...1909... (Doriano Blengino) Date: Fri, 31 Oct 2008 18:28:24 +0100 Subject: [Gambas-user] Please help with directory problem In-Reply-To: <200810311357.37388.gambas@...1...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <490AC32B.90700@...1909...> <61452b690810310552v10b3dcd0icf882207a767add6@...627...> <200810311357.37388.gambas@...1...> Message-ID: <490B4038.6050103@...1909...> Benoit Minisini ha scritto: > On vendredi 31 octobre 2008, Kari Laine wrote: > >> Thanks Benoit ! >> > > I often forget the WAIT keyword after a SHELL or EXEC command, so now I think > this syntax was not a really good idea. > > I should have used the opposite syntax, i.e. a keyword like "BACKGROUND" > or "DO NOT WAIT"! > Mmm, I thought the same for SHELL; some old basic and perhaps VB had this instruction (or it was SYSTEM?), which waited for the command completion (perhaps because there was not the background feature). For EXEC, the way it is now seems to me more appropriate in a unix environment. To change things would break compatibility with old sources... Regards, Doriano From klaine8 at ...626... Fri Oct 31 22:52:51 2008 From: klaine8 at ...626... (Kari Laine) Date: Fri, 31 Oct 2008 23:52:51 +0200 Subject: [Gambas-user] Please help with directory problem In-Reply-To: <200810311357.37388.gambas@...1...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <490AC32B.90700@...1909...> <61452b690810310552v10b3dcd0icf882207a767add6@...627...> <200810311357.37388.gambas@...1...> Message-ID: <61452b690810311452k4f138726v1364bece5d279206@...627...> On Fri, Oct 31, 2008 at 2:57 PM, Benoit Minisini < gambas at ...1...> wrote: > On vendredi 31 octobre 2008, Kari Laine wrote: > > Thanks Benoit ! > > I often forget the WAIT keyword after a SHELL or EXEC command, so now I > think > this syntax was not a really good idea. > > I should have used the opposite syntax, i.e. a keyword like "BACKGROUND" > or "DO NOT WAIT"! > > Hi, I still have a problem. The routine is now following PUBLIC SUB makedirs(sHak AS String) DIM haks AS NEW String[300] DIM hak2 AS String DIM crtdir AS String crtdir = "/home/kari/backup_work/cdroot/" haks = Split(sHak, "/") FOR EACH hak2 IN haks IF hak2 = "" THEN CONTINUE crtdir = crtdir &/ hak2 'SHELL "mkdir " & crtdir 'TRY MKDIR crtdir SHELL "mkdir " & crtdir WAIT 'PRINT crtdir NEXT END ---------------------------------- and I get output --------------------------------- mkdir: cannot create directory `/home/kari/backup_work/cdroot/home': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool/main': File exists [NOTE HERE THAT MAIN EXISTS] mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool/main/o': File exists /home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool/main/o/openal/openal_0.0.8-1.diff.gz 936003467 4651712512 mkdir: cannot create directory `/home/kari/backup_work/cdroot/home': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool': File exists mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool/main': No such file or directory [NOTE HERE THAT IT SAYS MAIN DOES NOT EXIST - SO IT GOT SOMEHOW DELETED ????] mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool/main/o': No such file or directory mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ ftp.fi.debian.org/debian/pool/main/o/openal'/home/kari/ulkoiset/sdi1/debian_src/ftp.fi.debian.org/debian/pool/main/o/openal/openal_0.0.8.orig.tar.gz 936009662 4651712512 : No such file or directory I will run more tests but I am pretty much lost with this problem. Best Regards Kari Laine From sourceforge-raindog2 at ...94... Fri Oct 31 22:40:03 2008 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 31 Oct 2008 17:40:03 -0400 Subject: [Gambas-user] Regular expressions In-Reply-To: <200810311709.21263.markus.schatten@...2005...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <200810301832.10066.sourceforge-raindog2@...94...> <200810311709.21263.markus.schatten@...2005...> Message-ID: <200810311740.03468.sourceforge-raindog2@...94...> On Friday 31 October 2008 12:09, Markus Schatten wrote: > Thanks a lot for the links, they were very helpfull. Is there a way to > use a regex for looping through all matches? Something like scan(....) > in a for each loop or findall in python-re? I was able to figure out > that the Text property holds the first match, Submatches is an array of > given submatches (in parenthesis) and Offset holds the index if the > first match. There seem to be no other properties defined... I haven't created a method to do this yet because pcre doesn't include such a mechanism natively, but it's certainly possible. Here's some pseudo-code, which should at least compile. I had to add the extra 'and subj <> ""' test because at least in my copy of gb.pcre, there's a bug where if you pass it an empty string it throws an error as if you passed it a null string. I'm building the latest Gambas now to see if Benoit fixed that when he fixed the rest of my bad code in 2.7.0. ;) function FindAll(subj as string, pattern as string) as String[] dim re as Regexp dim matches as new String[] re = new Regexp(subj, pattern) do while re.offset >= 0 and subj <> "" matches.push(re.text) if len(subj) > len(re.text) then subj = mid(subj, re.offset + len(re.text) + 1) else subj = "" end if if subj <> "" then re.exec(subj) loop return matches end Rob From klaine8 at ...626... Fri Oct 31 23:15:27 2008 From: klaine8 at ...626... (Kari Laine) Date: Sat, 1 Nov 2008 00:15:27 +0200 Subject: [Gambas-user] Please help with directory problem In-Reply-To: <61452b690810311452k4f138726v1364bece5d279206@...627...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <490AC32B.90700@...1909...> <61452b690810310552v10b3dcd0icf882207a767add6@...627...> <200810311357.37388.gambas@...1...> <61452b690810311452k4f138726v1364bece5d279206@...627...> Message-ID: <61452b690810311515l68a4fe65s639643a3be860d2e@...627...> On Fri, Oct 31, 2008 at 11:52 PM, Kari Laine wrote: > On Fri, Oct 31, 2008 at 2:57 PM, Benoit Minisini < > gambas at ...1...> wrote: > >> On vendredi 31 octobre 2008, Kari Laine wrote: >> > Thanks Benoit ! >> >> I often forget the WAIT keyword after a SHELL or EXEC command, so now I >> think >> this syntax was not a really good idea. >> >> I should have used the opposite syntax, i.e. a keyword like "BACKGROUND" >> or "DO NOT WAIT"! >> >> > Hi, > > I still have a problem. > The routine is now following > > PUBLIC SUB makedirs(sHak AS String) > DIM haks AS NEW String[300] > DIM hak2 AS String > DIM crtdir AS String > > crtdir = "/home/kari/backup_work/cdroot/" > haks = Split(sHak, "/") > FOR EACH hak2 IN haks > IF hak2 = "" THEN CONTINUE > > crtdir = crtdir &/ hak2 > 'SHELL "mkdir " & crtdir > 'TRY MKDIR crtdir > SHELL "mkdir " & crtdir WAIT > > 'PRINT crtdir > NEXT > > END > > ---------------------------------- > > and I get output > > --------------------------------- > mkdir: cannot create directory `/home/kari/backup_work/cdroot/home': File > exists > mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari': > File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src': File > exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool/main': File exists > [NOTE HERE THAT MAIN EXISTS] > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool/main/o': File exists > /home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool/main/o/openal/openal_0.0.8-1.diff.gz > 936003467 4651712512 > > mkdir: cannot create directory `/home/kari/backup_work/cdroot/home': File > exists > mkdir: cannot create directory `/home/kari/backup_work/cdroot/home/kari': > File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src': File > exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool': File exists > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool/main': No such file or directory > [NOTE HERE THAT IT SAYS MAIN DOES NOT EXIST - SO IT GOT SOMEHOW DELETED > ????] > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool/main/o': No such file or directory > mkdir: cannot create directory > `/home/kari/backup_work/cdroot/home/kari/ulkoiset/sdi1/debian_src/ > ftp.fi.debian.org/debian/pool/main/o/openal'/home/kari/ulkoiset/sdi1/debian_src/ftp.fi.debian.org/debian/pool/main/o/openal/openal_0.0.8.orig.tar.gz > 936009662 4651712512 > : No such file or directory > > > > I will run more tests but I am pretty much lost with this problem. > > Don't waste you time with just yet. I have a theory what is going on. I had command line SHELL "rm -rf /home/kari/backup_work/cdroot" In the program. Notice NO WAIT . Little later the copying of a new DVD contents began. Copying was going nicely to directory /home/kari/backup_work/cdroot - OOPS! Now then the shell "rm ... " got ready and took the whole directory away.... I am pretty sure it is this. I will post later if not. I think an addition to Gambas manual should be that you normally need to use WAIT :-) Thanks to Benoit pointing this out! Best Regards Kari Laine From markus.schatten at ...2005... Fri Oct 31 23:36:58 2008 From: markus.schatten at ...2005... (Markus Schatten) Date: Fri, 31 Oct 2008 23:36:58 +0100 Subject: [Gambas-user] Regular expressions In-Reply-To: <200810311740.03468.sourceforge-raindog2@...94...> References: <61452b690810301324t29ef04f9h27ef9e6a46d028f5@...627...> <200810311709.21263.markus.schatten@...2005...> <200810311740.03468.sourceforge-raindog2@...94...> Message-ID: <200810312336.58787.markus.schatten@...2005...> On Friday 31 October 2008 22:40:03 Rob wrote: > function FindAll(subj as string, pattern as string) as String[] > ????????dim re as Regexp > ????????dim matches as new String[] > ????????re = new Regexp(subj, pattern) > ????????do while re.offset >= 0 and subj <> "" > ????????????????matches.push(re.text) > ????????????????if len(subj) > len(re.text) then > ????????????????????????subj = mid(subj, re.offset + len(re.text) + 1) > ????????????????else > ????????????????????????subj = ""??????? > ????????????????end if > ????????????????if subj <> "" then re.exec(subj) > ????????loop > ????????return matches > end Thanks a lot Rob, this was exactly what I was looking for! Best regards -- Markus Schatten, MSc Faculty of Organization and Informatics Vara?din, Croatia http://www.foi.hr