Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread nando
I found out that reading one by one is a slow process, I found out that reading all Lof will in a rare instance _READ will not fire when only 1 byte arrives immediately after. I find it works correctly 100% when I read Lof()-1 and rely on _Read to fire again. for the one remaining and the new one

Re: [Gambas-user] Need a Ubuntu/Linux teacher

2009-12-05 Thread Kadaitcha Man
2009/12/5 John : > I can make a Windows box sing. I tend to agree with Emil, lots of searching and reading on google is advised, but temper it with your own knowledge - some of the stuff out there is just downright wrong. I was a Windows developer and have decades of experience with it. I learned

Re: [Gambas-user] Directories?

2009-12-05 Thread Kadaitcha Man
2009/12/4 Dave Merriman : > I've got some text files that I need to read into an array (I  *really* > wish Gambas had an easy way to embed array data _in_ the program, like > the old "data 4, 17, 32, 88..." of BASIC days) It does have such a feature. It all depends on how many more ways than one

[Gambas-user] MySQL access example

2009-12-05 Thread Keith Clark
Does anyone have an example program that I can take a look at that accesses a remote MySQL database? Keith -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud

Re: [Gambas-user] Problem with tableview when in edit mode

2009-12-05 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Don't take me wrong. Sometimes it seems to me that you don't read the >> whole message before replying, and sometimes it seems to me that the >> real problem is not in evidence (english language plays a role in >> this...). You say that you just added a Click event ha

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Benoît Minisini
> Benoit, > Just to let you know, for your information only. > My serial port applicationS that have been running 24 hours for 4 years on > over 150 computers works much better when pull out All less 1 byte each > _Read event as opposed to. I didn't understand the last sentence. Do you read bytes

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread nando
Benoit, Just to let you know, for your information only. My serial port applicationS that have been running 24 hours for 4 years on over 150 computers works much better when pull out All less 1 byte each _Read event as opposed to. I've found out that sometimes, rarely, _Read didn't fire and this w

Re: [Gambas-user] Problem with tableview when in edit mode

2009-12-05 Thread Benoît Minisini
> > Don't take me wrong. Sometimes it seems to me that you don't read the > whole message before replying, and sometimes it seems to me that the > real problem is not in evidence (english language plays a role in > this...). You say that you just added a Click event handler to get the > program wo

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Benoît Minisini
> > > > Benoit, > > > > runned valgrind tool for a while. > > > > And I got a rather strange winner, I got 3 milion calls of _add_char in > > gb_error.c > > > > Some debug code hanging around or something like that? > > > > See attached valgrind file. > > > > Regards, > > Ron_2nd. > > The reason i

Re: [Gambas-user] Problem with tableview when in edit mode

2009-12-05 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Benoît Minisini ha scritto: >> Benoît Minisini ha scritto: >>> >>> >>> When in the tableview (in edit mode) I press an arrow key, the cursor >>> slips on every possible cell in the request direction, until it finds >>> the end of the tabl

Re: [Gambas-user] tab

2009-12-05 Thread Fabien Bodard
2009/12/5 yuhej : > > Hi, > > Is there any option to hide some of the tabs of a tab control? For different > users I wish to show different information (depending on their right) but I > don't know if I may make invisible or not enabled some of the tabs. > TabStrip1[0].Visible = FALSE orTabSt

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Benoît Minisini
> Benoît Minisini schreef: > >> Benoît Minisini schreef: > >>> It should be ok with revision #2456! > >>> > >>> If it really works, can you check that changing the flow control > >>> between None and something else actually has an effect on CPU > >>> consumption? > >> > >> Benoît, > >> > >> no segf

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Jean-Yves F. Barbier
Ron a écrit : ... > runned valgrind tool for a while. > > And I got a rather strange winner, I got 3 milion calls of _add_char in > gb_error.c > > Some debug code hanging around or something like that? > > See attached valgrind file. May be that's a source for what I noticed (Debian sid, XP2

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Ron
Benoît Minisini schreef: >> Benoît Minisini schreef: >> >>> It should be ok with revision #2456! >>> >>> If it really works, can you check that changing the flow control between >>> None and something else actually has an effect on CPU consumption? >>> >> Benoît, >> >> no segfaults, but

[Gambas-user] tab

2009-12-05 Thread yuhej
Hi, Is there any option to hide some of the tabs of a tab control? For different users I wish to show different information (depending on their right) but I don't know if I may make invisible or not enabled some of the tabs. Another quesion: can I change the order of the tabs (in design time)?

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Benoît Minisini
> Benoît Minisini schreef: > > It should be ok with revision #2456! > > > > If it really works, can you check that changing the flow control between > > None and something else actually has an effect on CPU consumption? > > Benoît, > > no segfaults, but the system load when running my project wit

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Ron
Benoît Minisini schreef: > It should be ok with revision #2456! > > If it really works, can you check that changing the flow control between None > and something else actually has an effect on CPU consumption? > > Benoît, no segfaults, but the system load when running my project with the patch

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Benoît Minisini
It should be ok with revision #2456! If it really works, can you check that changing the flow control between None and something else actually has an effect on CPU consumption? -- Benoît Minisini -- Join us December 9,

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Ron
Benoît Minisini schreef: >>Benoit, >>Here is the output of valgrind as requested. I hope it helps. >>Regards, >>Tony.. >>$ valgrind --tool=memcheck --num-callers=50 gbx2 >>==2404== Memcheck, a memory error detector >>==2404== Copyright (C) 2002-2009, and GNU GPL'd, by Ju

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-05 Thread Benoît Minisini
>Benoit, >Here is the output of valgrind as requested. I hope it helps. >Regards, >Tony.. >$ valgrind --tool=memcheck --num-callers=50 gbx2 >==2404== Memcheck, a memory error detector >==2404== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. >==2404==

Re: [Gambas-user] Need a Ubuntu/Linux teacher

2009-12-05 Thread Emil Tchekov
On Saturday 05 December 2009 13:39:43 John wrote: > Hi All >I am new to Linux. I am using Ubuntu 9.10. > What I am looking for is a kind person to help me off line with Linux > and Ubuntu. > No I do not intend to use this list as my Linux learning aid. > Other than this one message I will n

Re: [Gambas-user] Translated project in Gambas

2009-12-05 Thread Alessandro Rinaldi
That's what I needed :) Thank you very much! -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch.

[Gambas-user] Need a Ubuntu/Linux teacher

2009-12-05 Thread John
Hi All I am new to Linux. I am using Ubuntu 9.10. What I am looking for is a kind person to help me off line with Linux and Ubuntu. No I do not intend to use this list as my Linux learning aid. Other than this one message I will never ask this list for this type of help again. Yes I could j

Re: [Gambas-user] SDL component documentation

2009-12-05 Thread Fabien Bodard
gb.sdl is incomplete ... in fact Laurent have begin to redraw all the gb.sdl lib by using OpenGl... but ... still incomplete ... i think the lack of users on this lib mess his enthusiasm (sorry for my english) Maybe if there is more user to test his work on gb3 he will purchase his work.. :/