From eddy_betun at ...43... Wed Oct 1 08:11:23 2003 From: eddy_betun at ...43... (Stefanus Eddy) Date: Tue, 30 Sep 2003 23:11:23 -0700 (PDT) Subject: [Gambas-user] gambas project In-Reply-To: Message-ID: <20031001061123.86953.qmail@...275...> Dear Benoit, It is good to hear that you fix Gambas for RH9 and put on Gambas web site before you go to canada. Thanks so much, I am appreciated about your good project. i hope you enjoy your traveling and work in canada. but where i can find gambas examples program???, in MS VB we can find in http://www.vbcode.com , how about gambas???? Regards, eddy __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From sourceforge-raindog2 at ...94... Wed Oct 1 14:10:30 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 1 Oct 2003 08:10:30 -0400 Subject: [Gambas-user] gambas project In-Reply-To: <20031001061123.86953.qmail@...275...> References: <20031001061123.86953.qmail@...275...> Message-ID: <200310010810.30062.sourceforge-raindog2@...94...> On Wednesday 01 October 2003 02:11, Stefanus Eddy wrote: > but where i can find gambas examples program???, in MS > VB we can find in http://www.vbcode.com , how about > gambas???? In addition to the examples that come with Gambas, theeasygambasdoku.de and the section of the Gambas wiki based upon it have a good deal of example code. Of course VB is about 10 years older than gambas so there are more resources out there for it... right now, anyway ;) Rob From sourceforge-raindog2 at ...94... Wed Oct 1 21:30:56 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 1 Oct 2003 15:30:56 -0400 Subject: [Gambas-user] please don't take away the cancelling events thing :) In-Reply-To: <200309200924.30522.gambas@...2...> References: <200309192325.13127.gambas@...2...> <200309200924.30522.gambas@...2...> Message-ID: <200310011530.56935.sourceforge-raindog2@...94...> On Saturday 20 September 2003 03:24, Benoit Minisini wrote: > I forgot to write in the ChangeLog that to cancel a keyboard > event, you must type Key.Cancel = TRUE and not return TRUE > anymore. > I think I will drop the feature of returning something from an > event handler. At the moment, only keyboard events were > concerned. I'm currently editing a project written by someone at a client site, and they do something like the following: PUBLIC reallyclose AS Integer ... PUBLIC FUNCTION Form_Close() as Boolean if reallyclose < 1 then return true END PUBLIC FUNCTION QuitButton_Click() try myprocess.kill reallyclose = 1 ME.Close end In this way, they can disable QuitButton while a CD burn process completes, and the user is unable to accidentally close the app even with the normal close widget. (Obviously they could still kill the process from a shell or something but their operators don't know how to do that, generally.) It works well as written. Will you at least have a LAST.Cancel type of replacement if you decide to do away with the FUNCTION...as Boolean method of cancelling events? (Of course, that would be inconsistent with the Key.Cancel and Mouse.Cancel methods you're describing...) Maybe a new keyword CANCEL is what you're looking for... can't get much clearer than that, can you? Rob From gambas at ...2... Wed Oct 1 21:44:16 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 1 Oct 2003 21:44:16 +0200 Subject: [Gambas-user] please don't take away the cancelling events thing :) In-Reply-To: <200310011530.56935.sourceforge-raindog2@...94...> References: <200309192325.13127.gambas@...2...> <200309200924.30522.gambas@...2...> <200310011530.56935.sourceforge-raindog2@...94...> Message-ID: <200310012144.17063.gambas@...2...> Le Mercredi 1 Octobre 2003 21:30, Rob a ?crit : > On Saturday 20 September 2003 03:24, Benoit Minisini wrote: > > I forgot to write in the ChangeLog that to cancel a keyboard > > event, you must type Key.Cancel = TRUE and not return TRUE > > anymore. > > I think I will drop the feature of returning something from an > > event handler. At the moment, only keyboard events were > > concerned. > > I'm currently editing a project written by someone at a client > site, and they do something like the following: > > PUBLIC reallyclose AS Integer > ... > PUBLIC FUNCTION Form_Close() as Boolean > if reallyclose < 1 then return true > END > > PUBLIC FUNCTION QuitButton_Click() > try myprocess.kill > reallyclose = 1 > ME.Close > end > > In this way, they can disable QuitButton while a CD burn process > completes, and the user is unable to accidentally close the app > even with the normal close widget. (Obviously they could still > kill the process from a shell or something but their operators > don't know how to do that, generally.) It works well as > written. > > Will you at least have a LAST.Cancel type of replacement if you > decide to do away with the FUNCTION...as Boolean method of > cancelling events? (Of course, that would be inconsistent with > the Key.Cancel and Mouse.Cancel methods you're describing...) > > Maybe a new keyword CANCEL is what you're looking for... can't > get much clearer than that, can you? > > Rob > You are right. So there are two solutions : 1) Make a Form.Cancel property to cancel Form_Close events, like Mouse.Cancel and Key.Cancel. 2) Make a new keyword (a new syntactic sugar) named CANCEL EVENT. Hmmmm.... I like the second solution, as it is clearer to read in the code - Canceling an event is an important thing. I will see what I can do, surely when I will be back from Canada ! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed Oct 1 21:57:33 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 1 Oct 2003 21:57:33 +0200 Subject: [Gambas-user] The SDL component (for Ahmad, and other people) Message-ID: <200310012155.33527.gambas@...2...> The SDL component is an "alpha version" of a component that will let you use the power of the SDL library. At the moment, you can only play sounds with it. And a lot of things are missing in the implementation ! How can it be used ? First, you have a static class named Music that let you play music. Music.Load(FileName AS String) tells the component which music file you want to play. Supported formats are WAV, OGG and MP3. Then call Music.Play() to play the music, Music.Pause() to pause the music, Music.Play() to resume it, and Music.Stop() to stop it. To play a sound, you must instanciate the 'Sound' class. DIM MySound AS Sound DIM MySoundFile AS String mySound = NEW Sound(MySoundFile) MySoundFile contains the path to the sound file. Then, you can play it with mySound.Play(). When you call mySound.Play(), the played sound is affected to a Channel object, which is returned by the Play() method. DIM hChannel AS Channel hChannel = MySound.Play() Then, with a reference to the channel, you can pause the sound with hChannel.Pause(), resume it with hChannel.Play() and stop it with hChannel.Stop(). A same Sound object can be played twice (or more) on two different channels. If you want to play a Sound in loop, specify the number of loops as a parameter to the Play method. Specify -1 if you want an endless loop. hChannel = MySound.Play(6) ' Play six times ! Of course, all this interface is subject to any change. But I think the principle of Sound and Channel classes will stay. Regards, -- Benoit Minisini mailto:gambas at ...1... From nferraz at ...184... Thu Oct 2 00:16:18 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 01 Oct 2003 19:16:18 -0300 Subject: [Gambas-user] please don't take away the cancelling events thing :) In-Reply-To: <200310011530.56935.sourceforge-raindog2@...94...> References: <200309192325.13127.gambas@...2...> <200309200924.30522.gambas@...2...> <200310011530.56935.sourceforge-raindog2@...94...> Message-ID: <3F7B5232.6040007@...184...> Rob wrote: >>I forgot to write in the ChangeLog that to cancel a keyboard >>event, you must type Key.Cancel = TRUE and not return TRUE >>anymore. >>I think I will drop the feature of returning something from an >>event handler. At the moment, only keyboard events were >>concerned. > > Maybe a new keyword CANCEL is what you're looking for... can't > get much clearer than that, can you? I liked the new OO-approach, but... is it really necessary? I mean, it's a big departure from the VB style. I'd rather keep the RETURN FALSE feature. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From sourceforge-raindog2 at ...94... Thu Oct 2 00:45:44 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 1 Oct 2003 18:45:44 -0400 Subject: [Gambas-user] please don't take away the cancelling events thing :) In-Reply-To: <3F7B5232.6040007@...184...> References: <200309192325.13127.gambas@...2...> <200310011530.56935.sourceforge-raindog2@...94...> <3F7B5232.6040007@...184...> Message-ID: <200310011845.44232.sourceforge-raindog2@...94...> On Wednesday 01 October 2003 18:16, Nelson Ferraz wrote: > I liked the new OO-approach, but... is it really necessary? I > mean, it's a big departure from the VB style. > I'd rather keep the RETURN FALSE feature. Since the VB style of cancelling events (which is only available in a few event handlers) is to set a ByRef argument called Cancel to true, we're going to be departing from VB style no matter how we do it. I have to admit that RETURN TRUE to cancel an event makes a lot of sense to me now that I know about it (though if the IDE automagically created event subs as functions so I didn't have to manually edit each one, it'd help) but making it more obvious to new users (the "CANCEL EVENT" syntactic sugar) is a good idea, I think. Rob From ledominic at ...43... Thu Oct 2 19:05:31 2003 From: ledominic at ...43... (Dominico) Date: Thu, 2 Oct 2003 10:05:31 -0700 (PDT) Subject: [Gambas-user] please help Message-ID: <20031002170531.33926.qmail@...276...> Anyone please help sending me some sample code. I have created the GUI for my application in Gambas. However, I am having a very hard time in coding the objects on my GUI due to the limited language documentation. For instance, I use listbox and textarea objects on my form. And I don't know how to create the classes for the objects. I did search around on Gambas website including the wiki-encyclopaedia and still couldn't find the info. I need. I would like to know how to create the function or sub for adding the items into the listbox or textarea. Plus other methods such as removing items..etc..Gambas online-help doesn't have examples on how to create the Methods of objects. It has just only the syntax for object method creation which is impossible for me to get my objects to work. All I need is a small example on each of the object methods. I did go through all the project examples that came with Gambas and found some useful things for my application but that was it. If someone has code examples of object methods, Could you please email them to me. My email address is blumonde at bigfoot . com. Thanks so much. I would also like to know if it is possible for Gambas to do Bit Masking ? For example can we do something like "Indextoname = 0xFFFFFF" ? Setting a fixed size of a variable and store it to a database field. How do we code it in Gambas. Please advise. Thanks again. Best regards, Dominic --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search -------------- next part -------------- An HTML attachment was scrubbed... URL: From pchapman at ...129... Thu Oct 2 19:57:04 2003 From: pchapman at ...129... (Philip A. Chapman) Date: 02 Oct 2003 12:57:04 -0500 Subject: [Gambas-user] Disabled controls still react to events Message-ID: <1065117424.25449.16.camel@...130...> Everyone, I've been away from the list for a little while. I finally got the time to download the latest version of Gambas (0.70b). I have a problem that I need help with. I do not know if it is a problem with my understanding of the qt library, or a bug. When I try to disable a button while a long running process is running the button does indeed ignore the click event. However, after the long running process has finished, any click events on the disabled button is processed. To see what I mean, create a form with a button called btnProgress and a Progress bar named pbrMyProgress. Copy the following code into the form's code module. Run the program. Click on the button. While the button is disabled and the progress bar is running, click on the button a second time. After the progress bar finishes the first round, it will restart as the second click event is processed. Also, I am still having trouble with code windows not wanting to close. When I click the window close button on the window manager's form decoration, the window flashes, but does not close. I thought this was fixed a while back? If you need machine specific info for this problem, let me know. PRIVATE CONST PROGRESS_MAX AS Integer = 10000 ' ---------------------------------------------------------------------- ' - Counts from 1 to PROGRESS_MAX and lets the progress bar show an - ' - indication of how far in the count the program has gotten. - ' ---------------------------------------------------------------------- PUBLIC SUB btnProgress_Click() DIM iCount AS Integer ' Disable the UI while we work ME.Mouse = Mouse.Wait btnProgress.Enabled = FALSE WAIT ' Allow the components to redraw as disabled ' Do our "Work" FOR iCount = 1 TO PROGRESS_MAX pbrMyProgress.Value = CFloat(iCount) / PROGRESS_MAX NEXT ' iCount ' Re-enable the UI btnProgress.Enabled = TRUE ME.Mouse = Mouse.Arrow END -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- 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 pchapman at ...129... Thu Oct 2 20:20:36 2003 From: pchapman at ...129... (Philip A. Chapman) Date: 02 Oct 2003 13:20:36 -0500 Subject: [Gambas-user] Disabled controls still react to events In-Reply-To: <1065117424.25449.16.camel@...130...> References: <1065117424.25449.16.camel@...130...> Message-ID: <1065118835.25449.24.camel@...130...> Everyone, After writing the email, I had an idea. I put a WAIT statement in my code before the btnProcess.Enabled = TRUE. This worked as the click event was then processed before the button was re-enabled. In many languages, long running work would be done in a seperate thread and the GUI notified when the work was done. It does not appear that there is any threading support in Gambas. Am I right? Also, I haven't had any bright ideas to fix the window will not close issue yet. Thanks, On Thu, 2003-10-02 at 12:57, Philip A. Chapman wrote: > Everyone, > > I've been away from the list for a little while. I finally got the time > to download the latest version of Gambas (0.70b). I have a problem that > I need help with. I do not know if it is a problem with my > understanding of the qt library, or a bug. When I try to disable a > button while a long running process is running the button does indeed > ignore the click event. However, after the long running process has > finished, any click events on the disabled button is processed. > > To see what I mean, create a form with a button called btnProgress and a > Progress bar named pbrMyProgress. Copy the following code into the > form's code module. Run the program. Click on the button. While the > button is disabled and the progress bar is running, click on the button > a second time. After the progress bar finishes the first round, it will > restart as the second click event is processed. > > Also, I am still having trouble with code windows not wanting to close. > When I click the window close button on the window manager's form > decoration, the window flashes, but does not close. I thought this was > fixed a while back? If you need machine specific info for this problem, > let me know. > > > PRIVATE CONST PROGRESS_MAX AS Integer = 10000 > > ' ---------------------------------------------------------------------- > ' - Counts from 1 to PROGRESS_MAX and lets the progress bar show an - > ' - indication of how far in the count the program has gotten. - > ' ---------------------------------------------------------------------- > PUBLIC SUB btnProgress_Click() > > DIM iCount AS Integer > > ' Disable the UI while we work > ME.Mouse = Mouse.Wait > btnProgress.Enabled = FALSE > WAIT ' Allow the components to redraw as disabled > > ' Do our "Work" > FOR iCount = 1 TO PROGRESS_MAX > pbrMyProgress.Value = CFloat(iCount) / PROGRESS_MAX > NEXT ' iCount > > ' Re-enable the UI > btnProgress.Enabled = TRUE > ME.Mouse = Mouse.Arrow > > END > > -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- 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 Gambasfr at ...11... Thu Oct 2 21:04:06 2003 From: Gambasfr at ...11... (Fabien BODARD) Date: Thu, 2 Oct 2003 21:04:06 +0200 Subject: [Gambas-user] Problem with event parameters... In-Reply-To: <200309282236.19440.elentirmo@...20...> References: <200309282206.45020.Gambasfr@...11...> <200309282236.19440.elentirmo@...20...> Message-ID: <200310022104.06404.Gambasfr@...11...> Le Dimanche 28 Septembre 2003 22:36, Marco Bauer a ?crit : > Hi Fabien, > > I originally wrote this program under gambas 0.65a and since then (gambas > 0.70a) the handling of mouse-events has changed (I don't know if I > mentioned it in my first mail concerning gcollider, but you can rotate the > view by pressing the left mouse button in the main window and move it > around). Attached to this mail you find the tar-ball for the changed > gcollider source which should work under gambas 0.70a -- it certanly worked > for me. > > Have fun. > Marco > > Am Sonntag, 28. September 2003 22:06 schrieb Fabien BODARD: > > Hi Benoit > > > > I've trying to test the gcollider, it's really pretty and work fine with > > gambas-0.65a... but no with gambas-0.70a... a BUG in gambas ?... benoit? > > > > gambas say for all event : > > > > too many parameter.. so i try to use the event menu in editing form to > > see what it put in the editor for key_press : > > > > Form_MouseMove() and not Form_MouseMove(X AS Integer, Y AS Integer, > > Button AS Integer) > > > > I think there is a little big problem here no ? > > > > ;-) > > > > ++ Hi all I think there is a problem with the CPU charge. I've the same problem with my bomberman, gambas use all (or near) the cpu time. Is that normal ? Fabien From danielcampos at ...277... Thu Oct 2 23:34:00 2003 From: danielcampos at ...277... (daniel) Date: 02 Oct 2003 23:34:00 +0200 Subject: [Gambas-user] Problem with event parameters... In-Reply-To: <200310022104.06404.Gambasfr@...11...> References: <200309282206.45020.Gambasfr@...11...> <200309282236.19440.elentirmo@...20...> <200310022104.06404.Gambasfr@...11...> Message-ID: <1065130440.2901.8.camel@...278...> Hi all > > I think there is a problem with the CPU charge. I've the same problem with my > bomberman, gambas use all (or near) the cpu time. > > Is that normal ? > > Fabien It is normal in any language (Gambas, VB, even C or C++) : Event loop --> large proccess --> next event loop (CPU 0%) (CPU 100%) (CPU 0%) You can "emulate" this effect using Visual Basic: Public sub Do_Anything() Do While (True) Loop End Sub If you compile and execute this code using VB, you can see a 100% of CPU usage, even, in some cases, other tasks that needs to scan some resources like RS-232, can fail due to this silly program. The first solution (in VB) seems to be: Public sub Do_Anythig() Do While (True) DoEvents Loop End Sub But it really does not work! The solution in use is: Public sub Do_Anythig() Do While (True) Sleep(1) ' Calling to API DoEvents Loop End Sub In Gambas you can use a similar way : use Wait(1) which sleeps proccess for a milisecond, so CPU usage will be near of zero! This problem is matter of Operating System, not Gambas... Regards, Daniel Campos El jue, 02-10-2003 a las 21:04, Fabien BODARD escribi?: > Le Dimanche 28 Septembre 2003 22:36, Marco Bauer a ?crit : > > Hi Fabien, > > > > I originally wrote this program under gambas 0.65a and since then (gambas > > 0.70a) the handling of mouse-events has changed (I don't know if I > > mentioned it in my first mail concerning gcollider, but you can rotate the > > view by pressing the left mouse button in the main window and move it > > around). Attached to this mail you find the tar-ball for the changed > > gcollider source which should work under gambas 0.70a -- it certanly worked > > for me. > > > > Have fun. > > Marco > > > > Am Sonntag, 28. September 2003 22:06 schrieb Fabien BODARD: > > > Hi Benoit > > > > > > I've trying to test the gcollider, it's really pretty and work fine with > > > gambas-0.65a... but no with gambas-0.70a... a BUG in gambas ?... benoit? > > > > > > gambas say for all event : > > > > > > too many parameter.. so i try to use the event menu in editing form to > > > see what it put in the editor for key_press : > > > > > > Form_MouseMove() and not Form_MouseMove(X AS Integer, Y AS Integer, > > > Button AS Integer) > > > > > > I think there is a little big problem here no ? > > > > > > ;-) > > > > > > ++ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Fri Oct 3 00:49:55 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 2 Oct 2003 18:49:55 -0400 Subject: [Gambas-user] Disabled controls still react to events In-Reply-To: <1065118835.25449.24.camel@...130...> References: <1065117424.25449.16.camel@...130...> <1065118835.25449.24.camel@...130...> Message-ID: <200310021849.55739.sourceforge-raindog2@...94...> On Thursday 02 October 2003 14:20, Philip A. Chapman wrote: > In many languages, long running work would be done in a > seperate thread and the GUI notified when the work was done. > It does not appear that there is any threading support in > Gambas. Am I right? That is correct, though my most common use of Gambas to date has been a GUI front end for multiple background processes, which (despite the lack of internal threads) works fine. Rob From gambas at ...2... Fri Oct 3 09:05:20 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 3 Oct 2003 09:05:20 +0200 Subject: [Gambas-user] Problem with event parameters... In-Reply-To: <1065130440.2901.8.camel@...278...> References: <200309282206.45020.Gambasfr@...11...> <200310022104.06404.Gambasfr@...11...> <1065130440.2901.8.camel@...278...> Message-ID: <200310030905.20129.gambas@...2...> Le Jeudi 2 Octobre 2003 23:34, daniel a ?crit : > Hi all > > > I think there is a problem with the CPU charge. I've the same problem > > with my bomberman, gambas use all (or near) the cpu time. > > > > Is that normal ? > > > > Fabien > > It is normal in any language (Gambas, VB, even C or C++) : > > Event loop --> large proccess --> next event loop > > (CPU 0%) (CPU 100%) (CPU 0%) > > You can "emulate" this effect using Visual Basic: > > > Public sub Do_Anything() > > Do While (True) > Loop > End Sub > > If you compile and execute this code using VB, you can > see a 100% of CPU usage, even, in some cases, other > tasks that needs to scan some resources like RS-232, > can fail due to this silly program. > > The first solution (in VB) seems to be: > > Public sub Do_Anythig() > > Do While (True) > DoEvents > Loop > > End Sub > > But it really does not work! > > The solution in use is: > > Public sub Do_Anythig() > > Do While (True) > Sleep(1) ' Calling to API > DoEvents > Loop > > End Sub > > > In Gambas you can use a similar way : use Wait(1) which sleeps > proccess for a milisecond, so CPU usage will be near of zero! > > This problem is matter of Operating System, not Gambas... > > > Regards, > > Daniel Campos > > El jue, 02-10-2003 a las 21:04, Fabien BODARD escribi?: > > Le Dimanche 28 Septembre 2003 22:36, Marco Bauer a ?crit : > > > Hi Fabien, > > > > > > I originally wrote this program under gambas 0.65a and since then > > > (gambas 0.70a) the handling of mouse-events has changed (I don't know > > > if I mentioned it in my first mail concerning gcollider, but you can > > > rotate the view by pressing the left mouse button in the main window > > > and move it around). Attached to this mail you find the tar-ball for > > > the changed gcollider source which should work under gambas 0.70a -- it > > > certanly worked for me. > > > > > > Have fun. > > > Marco > > > > > > Am Sonntag, 28. September 2003 22:06 schrieb Fabien BODARD: > > > > Hi Benoit > > > > > > > > I've trying to test the gcollider, it's really pretty and work fine > > > > with gambas-0.65a... but no with gambas-0.70a... a BUG in gambas ?... > > > > benoit? > > > > > > > > gambas say for all event : > > > > > > > > too many parameter.. so i try to use the event menu in editing form > > > > to see what it put in the editor for key_press : > > > > > > > > Form_MouseMove() and not Form_MouseMove(X AS Integer, Y AS Integer, > > > > Button AS Integer) > > > > > > > > I think there is a little big problem here no ? > > > > > > > > ;-) > > > > > > > > ++ > > In fact, Bomberman drawing loop must call Draw.End once, because each time Draw.End is called, the entire window pixmap cache is refreshed, and it takes time ! Try to ensure that all the Picture objects you use to draw the game have the "Pixmap" type. Tell me the result ! Regards, -- Benoit Minisini mailto:gambas at ...1... From elentirmo at ...20... Fri Oct 3 13:12:34 2003 From: elentirmo at ...20... (Marco Bauer) Date: Fri, 03 Oct 2003 13:12:34 +0200 Subject: [Gambas-user] EXEC problem Message-ID: <200310031312.34358.elentirmo@...20...> Hi everyone, I wanted my gambas program to communicate with a console program by executing it with EXEC [ "program" ] FOR READ WRITE as MyProcess. The program starts allright but the Process_Write event is never called even if there should be some output. Is there something I can do about it or is not every program able to raise the Write event? Gruss Marco From sourceforge-raindog2 at ...94... Fri Oct 3 15:18:31 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 3 Oct 2003 09:18:31 -0400 Subject: [Gambas-user] EXEC problem In-Reply-To: <200310031312.34358.elentirmo@...20...> References: <200310031312.34358.elentirmo@...20...> Message-ID: <200310030918.31979.sourceforge-raindog2@...94...> On Friday 03 October 2003 07:12, Marco Bauer wrote: > I wanted my gambas program to communicate with a console > program by executing it with EXEC [ "program" ] FOR READ WRITE > as MyProcess. The program starts allright but the > Process_Write event is never called even if there should be > some output. Is there something I can do about it or is not > every program able to raise the Write event? I don't know if this is the problem, but you may need to either declare a Process_Error handler (to grab standard error as well) or include "2>&1" in your EXEC program call at the end. Also, if you're using WAIT anywhere in the rest of your program while the process is running, you may miss output (at least, that's happened to me.) I meant to report it as a bug but I found some workaround I've now forgotten about. Rob From mephisto75 at ...20... Fri Oct 3 17:10:17 2003 From: mephisto75 at ...20... (mephisto75 at ...20...) Date: Fri, 3 Oct 2003 17:10:17 +0200 Subject: [Gambas-user] Problem with Mouse Button Message-ID: <200310031510.h93FAHQ15361@...224...> I wanted to try out if Drag 'n Drop can be done but I found out if you press the mouse button and move the mouse from one component to the other the the status of the mouse button gets lost. So, every component seems to handel the mouse events on it's own. wouldn't it be better to make the mouse status for example if the mouse button is pressed global. Would be easier to implement drag and drop in gambas projects. the mouse position should stay as it is but the mouse button status should become global for a project and every component. Or are there any reasons why this is a bad idea ? ______________________________________________________________________________ Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2 Kostenlos downloaden: http://screensaver.web.de/?mc=021110: From m4t0x at ...2... Sun Oct 5 00:47:23 2003 From: m4t0x at ...2... (math) Date: Sun, 05 Oct 2003 00:47:23 +0200 Subject: [Gambas-user] I have a probleme whith my prog ! Message-ID: <3F7F4DFB.3010408@...2...> I don't undersant what it's happen ! Maybe structure ! I give source file, It's a Morpions prog in Gambas. Thanks you !! ++ -------------- next part -------------- A non-text attachment was scrubbed... Name: Morpions.tar.gz Type: application/gzip Size: 50469 bytes Desc: not available URL: From joachimp at ...67... Sun Oct 5 10:43:08 2003 From: joachimp at ...67... (Joachim Persson) Date: Sun, 05 Oct 2003 10:43:08 +0200 Subject: [Gambas-user] RPM for RedHat users? Message-ID: Hello all! I waited patiently till the problems with 0.70 was solved (so I thought) till I downloaded and tried to install 0.70b, but this didn't work either. It configured ok but make didn't work. I'm on my MS box right now so I can't remember what went wrong. My question is; Do we have a RedHat user experienced enough to help the rest of us making RPMs? If not, does anybody have a list of links to all the RPMs needed to compile 0.70b? I have 0.65a installed without any problems... Regards, Joachim Persson _________________________________________________________________ Hitta r?tt p? n?tet med MSN S?k http://search.msn.se/ From bernard.pre at ...62... Sun Oct 5 11:03:41 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Sun, 5 Oct 2003 11:03:41 +0200 Subject: [Gambas-user] RPM for RedHat users? In-Reply-To: Message-ID: Hi Joachim, You must upgrade QT to compile gambas 0.70b in redhat 9.0 Bernard -----Message d'origine----- De : gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net]De la part de Joachim Persson Envoy? : dimanche 5 octobre 2003 10:43 ? : gambas-user at lists.sourceforge.net Objet : [Gambas-user] RPM for RedHat users? Hello all! I waited patiently till the problems with 0.70 was solved (so I thought) till I downloaded and tried to install 0.70b, but this didn't work either. It configured ok but make didn't work. I'm on my MS box right now so I can't remember what went wrong. My question is; Do we have a RedHat user experienced enough to help the rest of us making RPMs? If not, does anybody have a list of links to all the RPMs needed to compile 0.70b? I have 0.65a installed without any problems... Regards, Joachim Persson _________________________________________________________________ Hitta r?tt p? n?tet med MSN S?k http://search.msn.se/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From samuel.derous at ...27... Sun Oct 5 18:23:04 2003 From: samuel.derous at ...27... (Samuel Derous) Date: Sun, 5 Oct 2003 18:23:04 +0200 Subject: [Gambas-user] Need a little help please Message-ID: <200310051823.04825.samuel.derous@...27...> Hi there, Need some help... with a project for a little article... I want to create a little databaselike program... So, when I for example have two textboxes with information I want to write them away to a record... After I have written one, I want to write another one, in the same file, how can I do that without having the file being overwritten. In VB6.0 I would do: Open "myfile.dat" for random as #1 len = len(myrecord) ... put #1, lof(1)/len(myrecord)+1, myrecord ... Can anybody help me? Thanks in advance... From rizky at ...225... Mon Oct 6 07:04:56 2003 From: rizky at ...225... (Rizky Tahara Shita) Date: Mon, 6 Oct 2003 12:04:56 +0700 Subject: [Gambas-user] Regex In-Reply-To: References: Message-ID: <200310061204.56945.rizky@...225...> how do i executing regular expression in gambas ? for example; a user input something in textarea, a regex in a textbox and when the user klik on a button the result will apear in textarea2... i don't know how to make that regex should work... can any body help ? From joachimp at ...67... Mon Oct 6 09:28:06 2003 From: joachimp at ...67... (Joachim Persson) Date: Mon, 06 Oct 2003 09:28:06 +0200 Subject: [Gambas-user] RPM for RedHat users? Message-ID: I already upgraded my QT, since it was required for 0.65a too... I can reinstall them again ofcourse, and there was a lot of RPMs, I didn't took all of them tho... Exactly wich ones do you need? The following command is ok in order to upgrade? This is what I belive I did last time, using only -U didn' t work... rpm -ivh --nodeps --force QT-whateverlib.rpm Regards, Joachim Persson _________________________________________________________________ Hitta r?tt p? n?tet med MSN S?k http://search.msn.se/ From rizky at ...225... Tue Oct 7 04:56:08 2003 From: rizky at ...225... (Rizky Tahara Shita) Date: Tue, 7 Oct 2003 09:56:08 +0700 Subject: [Gambas-user] Translate In-Reply-To: References: Message-ID: <200310070956.08915.rizky@...225...> hi, I'm in a project to build a mysql front end with gambas just like the gambas database manager, but it will look more come to mysql-front in windows version. may be if successfull, i post to this mailing list too... now, it's time to make the multiple query.. but i don't know how the algortihm of it... i look for code(s) that doing some thing like that.. and i have it from phpmyadmin here are the code: ''''''START CODING'''''''' FUNCTION PMA_splitSqlFile(&$ret, $sql, $release) { $sql = Trim($sql); $sql_len = strlen($sql); $char = ''; $string_start = ''; $in_string = FALSE; $time0 = Time(); FOR ($i = 0; $i < $sql_len; ++$i) { $char = $sql[$i]; // We are IN a String, check FOR NOT escaped END of strings except FOR // backquotes that can't be escaped IF ($in_string) { FOR (;;) { $i = strpos($sql, $string_start, $i); // No END of String found -> add the current substring TO the // returned Array IF (!$i) { $ret[] = $sql; RETURN TRUE; } // Backquotes OR no backslashes before quotes: it's indeed the // END of the String -> EXIT the LOOP ELSE IF ($string_start == '`' || $sql[$i-1] != '\\') { $string_start = ''; $in_string = FALSE; BREAK; } // one OR more Backslashes before the presumed END of String... ELSE { // ... first checks FOR escaped backslashes $j = 2; $escaped_backslash = FALSE; WHILE ($i-$j > 0 && $sql[$i-$j] == '\\') { $escaped_backslash = !$escaped_backslash; $j++; } // ... if escaped backslashes: it's really the end of the // String -> EXIT the LOOP IF ($escaped_backslash) { $string_start = ''; $in_string = FALSE; BREAK; } // ... else LOOP ELSE { $i++; } } // END IF...elseif...else } // END FOR } // END IF (IN String) // We are NOT IN a String, first check FOR delimiter... ELSE IF ($char == ';') { // IF delimiter found, add the parsed part TO the returned Array $ret[] = substr($sql, 0, $i); $sql = LTrim(substr($sql, Min($i + 1, $sql_len))); $sql_len = strlen($sql); IF ($sql_len) { $i = -1; } ELSE { // The submited statement(s) end(s) here RETURN TRUE; } } // END ELSE IF (IS delimiter) // ... then check FOR start of a String,... ELSE IF (($char == '"') || ($char == '\'') || ($char == '`')) { $in_string = TRUE; $string_start = $char; } // END ELSE IF (IS start of String) // ... for start of a comment (AND remove this comment IF found)... ELSE IF ($char == '#' || ($char == ' ' && $i > 1 && $sql[$i-2] . $sql[$i-1] == '--')) { // starting position of the comment depends on the comment type $start_of_comment = (($sql[$i] == '#') ? $i : $i-2); // IF no "\n" exits IN the remaining String, checks FOR "\r" // (Mac eol style) $end_of_comment = (strpos(' ' . $sql, "\012", $i+2)) ? strpos(' ' . $sql, "\012", $i+2) : strpos(' ' . $sql, "\015", $i+2); IF (!$end_of_comment) { // no eol found after '#', add the parsed part to the returned // Array IF required AND EXIT IF ($start_of_comment > 0) { $ret[] = Trim(substr($sql, 0, $start_of_comment)); } RETURN TRUE; } ELSE { $sql = substr($sql, 0, $start_of_comment) . ltrim(substr($sql, $end_of_comment)); $sql_len = strlen($sql); $i--; } // END IF...else } // END ELSE IF (IS comment) // ... and FINALLY disactivate the "/*!...*/" syntax IF MySQL < 3.22.07 ELSE IF ($release < 32270 && ($char == '!' && $i > 1 && $sql[$i-2] . $sql[$i-1] == '/*')) { $sql[$i] = ' '; } // END ELSE IF // loic1: send a fake header EACH 30 sec. to bypass browser timeout $time1 = Time(); IF ($time1 >= $time0 + 30) { $time0 = $time1; header('X-pmaPing: Pong'); } // END IF } // END FOR // add any rest TO the returned Array IF (!empty($sql) && ereg('[^[:space:]]+', $sql)) { $ret[] = $sql; } RETURN TRUE; } // END of the 'PMA_splitSqlFile()' function '''''''''' END OF CODING '''''''''''''''''' please someone help me to translate that code to gambas... your help is a big help that i need... thank you regards, tahara From ronstk at ...239... Tue Oct 7 08:15:57 2003 From: ronstk at ...239... (ron) Date: Tue, 7 Oct 2003 08:15:57 +0200 Subject: [Gambas-user] BUG: IDE crash Message-ID: <200310070815.57583.ronstk@...239...> Hallo Benoit, Thanks for fixing the gridview bug. I had a trial project in /opt/gambas/share/examples/mp3bnk and I found it not good anymore. To clean up I deleted this directory and now I cant use 'Open Project'. Gambas quits simply and say's nothing. In the case of Gambas I did open a trerminal and start gambas from there. I got the message: FSupSelector.?.0: #45: File or directory does not exist: /opt/gamb...../mp3bnk I belive the best thing to do is always start programs from a terminal. KDE sucks by not giving a error mesage. I have it with some other installed programs to, The wait icon apears and nothing happens. After deep searching I found it was trying to start a program and the file was gone away. -------- Ron From ronstk at ...239... Tue Oct 7 14:00:13 2003 From: ronstk at ...239... (ron) Date: Tue, 7 Oct 2003 14:00:13 +0200 Subject: [Gambas-user] MySQL frontbegin (tahara) In-Reply-To: References: Message-ID: <200310071400.13363.ronstk@...239...> Hi, I am building a graphical interface to make the query's. I did it already in PHP but the IE interface is to slow and to much info to transfer between the webserver and the browser and also the widgets are difficult to make in DHTML. In VB I did start it also and that was much better. Now I am building it with Gambas and the main goal is to make the query, not the database management self. Maybe a run for the result of the query wil be included. It can build the query now for 1...n tables and with JOIN for the tables. The group by methods are not implemented yet as in my web based version are. This is as graphical pane. The fields to use and conditions on the field are in a grid with realtime updated select boxes and a TextArea showing realtime the selections as SQL query. Adding the backticks if you want or not and checking if tablenames must be used. Works with or without alias on field and table names. Takes a lot of type work to do it by hand and this updates simple the whole SQL line if you change a field to use. I wil give it to Benoit to add as example or to include in his database manager as tool when it is in a publishing state arrived. For your question. Do you want to decode the SQL line or split a long SQL line in seperate part each on his own a query? In that case a split(sqlline,";") can do the job if there are no ';' in the WHERE conditions. For the first answer try to see it as a string seperated by key words. SELECT FROM WHERE GROUP BY ORDER BY You can Split this by SQL keywords taking the last part each time i.e. pos=instr(sqlstring," ORDER BY") sOrder=mid(sqlstring,pos+1) arrOrder=split(sOrder,",") sqlstring=left(sqlstring,pos-1) Repeat this for the other uppercase key's above. Create arrays with a split function on the lastpart and apropiate delimiters, mostly commas to get the basic construction. You have now arrays with elements from the ORDER BY parts. Here you can detect the sort order by split on space, if more than 1 in the array you have ASC or DESC or somting wrong in it. You must check this of course. Syntax check on parts are easy to do this way instead of scanning the whole line char by char in a basic loop. The section between FROM and WHERE is the most difficult one if there are JOIN in it but this can be done the same way. My web based is working this way. It is working with JScript, DHTML (and a M$ ActiveX Data Control from IE) , PHP and MySQL on a windows machine but needs IE to use and not the latest security fixes. > hi, > I'm in a project to build a mysql front end with gambas > just like the gambas database manager, but it will look more come to > mysql-front in windows version. may be if successfull, i post to this > mailing list too... > > now, it's time to make the multiple query.. but i don't know how the > algortihm of it... i look for code(s) that doing some thing like that.. and > i have it from phpmyadmin > > here are the code: > > ''''''START CODING'''''''' > > > FUNCTION PMA_splitSqlFile(&$ret, $sql, $release) > { > $sql = Trim($sql); > $sql_len = strlen($sql); > $char = ''; > $string_start = ''; > $in_string = FALSE; > $time0 = Time(); > > FOR ($i = 0; $i < $sql_len; ++$i) { > $char = $sql[$i]; > > // We are IN a String, check FOR NOT escaped END of strings > except FOR > // backquotes that can't be escaped > IF ($in_string) { > FOR (;;) { > $i = strpos($sql, $string_start, $i); > // No END of String found -> add the current substring > TO the > // returned Array > IF (!$i) { > $ret[] = $sql; > RETURN TRUE; > } > // Backquotes OR no backslashes before quotes: it's > indeed the > // END of the String -> EXIT the LOOP > ELSE IF ($string_start == '`' || $sql[$i-1] != '\\') { > $string_start = ''; > $in_string = FALSE; > BREAK; > } > // one OR more Backslashes before the presumed END of > String... > ELSE { > // ... first checks FOR escaped backslashes > $j = 2; > $escaped_backslash = FALSE; > WHILE ($i-$j > 0 && $sql[$i-$j] == '\\') { > $escaped_backslash = !$escaped_backslash; > $j++; > } > // ... if escaped backslashes: it's really the end > of the > // String -> EXIT the LOOP > IF ($escaped_backslash) { > $string_start = ''; > $in_string = FALSE; > BREAK; > } > // ... else LOOP > ELSE { > $i++; > } > } // END IF...elseif...else > } // END FOR > } // END IF (IN String) > > // We are NOT IN a String, first check FOR delimiter... > ELSE IF ($char == ';') { > // IF delimiter found, add the parsed part TO the returned > Array > $ret[] = substr($sql, 0, $i); > $sql = LTrim(substr($sql, Min($i + 1, $sql_len))); > $sql_len = strlen($sql); > IF ($sql_len) { > $i = -1; > } ELSE { > // The submited statement(s) end(s) here > RETURN TRUE; > } > } // END ELSE IF (IS delimiter) > > // ... then check FOR start of a String,... > ELSE IF (($char == '"') || ($char == '\'') || ($char == '`')) { > $in_string = TRUE; > $string_start = $char; > } // END ELSE IF (IS start of String) > > // ... for start of a comment (AND remove this comment IF > found)... > ELSE IF ($char == '#' > > || ($char == ' ' && $i > 1 && $sql[$i-2] . $sql[$i-1] > || == > > '--')) { > // starting position of the comment depends on the comment > type > $start_of_comment = (($sql[$i] == '#') ? $i : $i-2); > // IF no "\n" exits IN the remaining String, checks FOR > "\r" // (Mac eol style) > $end_of_comment = (strpos(' ' . $sql, "\012", $i+2)) > ? strpos(' ' . $sql, "\012", $i+2) > > : strpos(' ' . $sql, "\015", $i+2); > > IF (!$end_of_comment) { > // no eol found after '#', add the parsed part to the > returned > // Array IF required AND EXIT > IF ($start_of_comment > 0) { > $ret[] = Trim(substr($sql, 0, > $start_of_comment)); } > RETURN TRUE; > } ELSE { > $sql = substr($sql, 0, $start_of_comment) > . ltrim(substr($sql, $end_of_comment)); > $sql_len = strlen($sql); > $i--; > } // END IF...else > } // END ELSE IF (IS comment) > > // ... and FINALLY disactivate the "/*!...*/" syntax IF MySQL < > 3.22.07 > ELSE IF ($release < 32270 > && ($char == '!' && $i > 1 && $sql[$i-2] . $sql[$i-1] > == '/*')) { > $sql[$i] = ' '; > } // END ELSE IF > > // loic1: send a fake header EACH 30 sec. to bypass browser > timeout > $time1 = Time(); > IF ($time1 >= $time0 + 30) { > $time0 = $time1; > header('X-pmaPing: Pong'); > } // END IF > } // END FOR > > // add any rest TO the returned Array > IF (!empty($sql) && ereg('[^[:space:]]+', $sql)) { > $ret[] = $sql; > } > > RETURN TRUE; > } // END of the 'PMA_splitSqlFile()' function > > > > '''''''''' END OF CODING '''''''''''''''''' > > please someone help me to translate that code to gambas... > your help is a big help that i need... > thank you > > regards, > > > tahara > > > > > --__--__-- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest From ronstk at ...239... Wed Oct 8 01:05:04 2003 From: ronstk at ...239... (ron) Date: Wed, 8 Oct 2003 01:05:04 +0200 Subject: [Gambas-user] BUG: IDE crash In-Reply-To: <6835381.1065518905766.JavaMail.www@...279...> References: <6835381.1065518905766.JavaMail.www@...279...> Message-ID: <200310080105.04925.ronstk@...239...> Hi Fabien, Thanks for your responce, I did it by making the missing directory, but the stuf in the .gambas/gambas.conf has nothing about 'SelOpen' Another problem is the font in the blue bars and on page 1 the textbox to enter the filename. I switched from 15" to 18" 1024 to 1280px and I can't read it now. Increase of size is 20% but the font looks less then 50% of the size before. This problem is in Gambas IDE also for the class/form/module names. I could solve it by edit by hand the .qtrc file. There is a font for default use for the widgets but that works only if the programmer does not give a font and size on the widgets. Also if the programmer choose a font it is not always at the users site available. The buttons on the Toolbox has the same problem with the font. BTW I am still working with v0.70. > hi Ron > I'm sorry it's an other bug on my selector... humm > just go in the .gambas directory and open the ...conf file . > Next delete the info between comma after 'SelOpen', it will run good now. > And i'm trying to correct all my bugs (or near) in this afternoon. And send > my work in this mailgroup. Fabien Bodard From madman001 at ...17... Wed Oct 8 13:38:23 2003 From: madman001 at ...17... (Dennis Hildebrandt) Date: Wed, 08 Oct 2003 13:38:23 +0200 Subject: [Gambas-user] Problems installing gambas 0.70b Message-ID: <3F83F72F.6040509@...17...> Hi there, Im just compiling Gambas 0.70b, and everything seems to be fine. But now, I want to Install it, and it crashes with errors: At first the lib-qt-mt.so could not be found, so I put the path of qt-library into the ld.so.conf. But now, I've got another Problem: Installation crashes with this message: Making symbolic links in /usr/bin... Installing the development environment... Compiling Util... OK Compiling gambas... OK Compiling gambas-database-manager... OK Creating the library info files... /opt/gambas/lib/info/gb.qt.ext.info /opt/gambas/lib/info/gb.info make[2]: *** [install-exec-local] Speicherzugriffsfehler make[2]: Verlassen des Verzeichnisses ?/home/madman/gambas-0.70b? make[1]: *** [install-am] Fehler 2 make[1]: Verlassen des Verzeichnisses ?/home/madman/gambas-0.70b? make: *** [install-recursive] Fehler 1 What went wrong? Can anyone help me? My system: Suse 8.1 kernel 2.4.21 From madman001 at ...17... Wed Oct 8 14:10:31 2003 From: madman001 at ...17... (Dennis Hildebrandt) Date: Wed, 08 Oct 2003 14:10:31 +0200 Subject: [Gambas-user] Problems installing gambas 0.70b Message-ID: <3F83FEB7.3030207@...17...> Hi there, Im just compiling Gambas 0.70b, and everything seems to be fine. But now, I want to Install it, and it crashes with errors: At first the lib-qt-mt.so could not be found, so I put the path of qt-library into the ld.so.conf. But now, I've got another Problem: Installation crashes with this message: Making symbolic links in /usr/bin... Installing the development environment... Compiling Util... OK Compiling gambas... OK Compiling gambas-database-manager... OK Creating the library info files... /opt/gambas/lib/info/gb.qt.ext.info /opt/gambas/lib/info/gb.info make[2]: *** [install-exec-local] Speicherzugriffsfehler make[2]: Verlassen des Verzeichnisses ?/home/madman/gambas-0.70b? make[1]: *** [install-am] Fehler 2 make[1]: Verlassen des Verzeichnisses ?/home/madman/gambas-0.70b? make: *** [install-recursive] Fehler 1 What went wrong? Can anyone help me? My system: Suse 8.1 kernel 2.4.21 From heinpol at ...5... Wed Oct 8 18:52:57 2003 From: heinpol at ...5... (nn) Date: 08 Oct 2003 18:52:57 +0200 Subject: [Gambas-user] Re: Regex Message-ID: <1065631977.2787.10.camel@...280...> Hi Rizky Tahara Shita It's a very interesting Question! On the first view it sounds trivial, but I think it's not. If I understand you correct, you want strings and integers, etc, to be executed as part of the running programm-code. For example, something like that: TextBox2.Text = ExecuteString (TextBox1.Text & MyVariable & "something else") I saw something like ExecuteString some years ago, used in a formula, function parser for Analysis, but I don't remeber the source of information, sorry. With such a Function it would be possible to develop self-modifying-code. The next step could be learning-code or evolutionary optimizing-code ans so on ... very interesting stuff :)) Probably someone of the more smart guys on this list are able to show us how to do something like that with Gambas. For a very primitive solution, you might use "select Case", compare your regex-string with the available functions and executed it with this function. Recommended only if You are using just a few functions. regs Juergen From Gambasfr at ...11... Wed Oct 8 19:49:19 2003 From: Gambasfr at ...11... (Fabien Bodard) Date: Wed, 8 Oct 2003 19:49:19 +0200 Subject: [Gambas-user] BUG: IDE crash In-Reply-To: <200310080105.04925.ronstk@...239...> References: <6835381.1065518905766.JavaMail.www@...279...> <200310080105.04925.ronstk@...239...> Message-ID: <200310081949.19605.Gambasfr@...11...> Le Mercredi 8 Octobre 2003 01:05, ron a ?crit : > Hi Fabien, > > Thanks for your responce, I did it by making the missing directory, but the > stuf in the .gambas/gambas.conf has nothing about 'SelOpen' > > Another problem is the font in the blue bars and on page 1 the textbox to > enter the filename. I switched from 15" to 18" 1024 to 1280px and I can't > read it now. Increase of size is 20% but the font looks less then 50% of > the size before. This problem is in Gambas IDE also for the > class/form/module names. > I could solve it by edit by hand the .qtrc file. There is a font for > default use for the widgets but that works only if the programmer does not > give a font and size on the widgets. Also if the programmer choose a font > it is not always at the users site available. The buttons on the Toolbox > has the same problem with the font. > > BTW I am still working with v0.70. > > > hi Ron > > I'm sorry it's an other bug on my selector... humm > > just go in the .gambas directory and open the ...conf file . > > Next delete the info between comma after 'SelOpen', it will run good now. > > And i'm trying to correct all my bugs (or near) in this afternoon. And > > send my work in this mailgroup. Fabien Bodard > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user hi Ron I've just worked on the FSelector part and not on the other part of the IDE. So for the font, i don't know how resolve the problem.... Benoit ? Now, i'm trying to implement the kpart component.... And, i'll correct my FSupSelector. Fabien Bodard Thank, for your report ! From eddy_betun at ...43... Thu Oct 9 05:55:10 2003 From: eddy_betun at ...43... (Stefanus Eddy) Date: Wed, 8 Oct 2003 20:55:10 -0700 (PDT) Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #377 In-Reply-To: Message-ID: <20031009035510.81195.qmail@...281...> hi all, i'm newbie in gambas can some one give me example project already running in gambas?????. example: input, save , deleted and report Thanks in advance, regards, eddy ----- can anyone help me, --- gambas-user-request at lists.sourceforge.net wrote: > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, > visit > > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body > 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Gambas-user digest..." > > > Today's Topics: > > 1. Re: BUG: IDE crash (ron) > 2. Problems installing gambas 0.70b (Dennis > Hildebrandt) > 3. Problems installing gambas 0.70b (Dennis > Hildebrandt) > 4. Re: Regex (nn) > 5. Re: BUG: IDE crash (Fabien Bodard) > > --__--__-- > > Message: 1 > From: ron > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] BUG: IDE crash > Date: Wed, 8 Oct 2003 01:05:04 +0200 > Reply-To: gambas-user at lists.sourceforge.net > > Hi Fabien, > > Thanks for your responce, I did it by making the > missing directory, but the > stuf in the .gambas/gambas.conf has nothing about > 'SelOpen' > > Another problem is the font in the blue bars and on > page 1 the textbox to > enter the filename. I switched from 15" to 18" 1024 > to 1280px and I can't > read it now. Increase of size is 20% but the font > looks less then 50% of the > size before. This problem is in Gambas IDE also for > the class/form/module > names. > I could solve it by edit by hand the .qtrc file. > There is a font for default > use for the widgets but that works only if the > programmer does not give a > font and size on the widgets. Also if the programmer > choose a font it is not > always at the users site available. The buttons on > the Toolbox has the same > problem with the font. > > BTW I am still working with v0.70. > > > hi Ron > > I'm sorry it's an other bug on my selector... > humm > > just go in the .gambas directory and open the > ...conf file . > > Next delete the info between comma after > 'SelOpen', it will run good now. > > And i'm trying to correct all my bugs (or near) in > this afternoon. And send > > my work in this mailgroup. Fabien Bodard > > > > --__--__-- > > Message: 2 > Date: Wed, 08 Oct 2003 13:38:23 +0200 > From: Dennis Hildebrandt > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] Problems installing gambas > 0.70b > Reply-To: gambas-user at lists.sourceforge.net > > Hi there, > > Im just compiling Gambas 0.70b, and everything seems > to be fine. But > now, I want to Install it, and it crashes with > errors: > > At first the lib-qt-mt.so could not be found, so I > put the path of > qt-library into the ld.so.conf. But now, I've got > another Problem: > Installation crashes with this message: > > Making symbolic links in /usr/bin... > > Installing the development environment... > Compiling Util... > OK > Compiling gambas... > OK > Compiling gambas-database-manager... > OK > > Creating the library info files... > /opt/gambas/lib/info/gb.qt.ext.info > /opt/gambas/lib/info/gb.info > make[2]: *** [install-exec-local] > Speicherzugriffsfehler > make[2]: Verlassen des Verzeichnisses > ?/home/madman/gambas-0.70b? > make[1]: *** [install-am] Fehler 2 > make[1]: Verlassen des Verzeichnisses > ?/home/madman/gambas-0.70b? > make: *** [install-recursive] Fehler 1 > > What went wrong? > Can anyone help me? > > My system: > > Suse 8.1 > kernel 2.4.21 > > > > --__--__-- > > Message: 3 > Date: Wed, 08 Oct 2003 14:10:31 +0200 > From: Dennis Hildebrandt > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] Problems installing gambas > 0.70b > Reply-To: gambas-user at lists.sourceforge.net > > Hi there, > > Im just compiling Gambas 0.70b, and everything seems > to be fine. But > now, I want to Install it, and it crashes with > errors: > > At first the lib-qt-mt.so could not be found, so I > put the path of > qt-library into the ld.so.conf. But now, I've got > another Problem: > Installation crashes with this message: > > Making symbolic links in /usr/bin... > > Installing the development environment... > Compiling Util... > OK > Compiling gambas... > OK > Compiling gambas-database-manager... > OK > > Creating the library info files... > /opt/gambas/lib/info/gb.qt.ext.info > /opt/gambas/lib/info/gb.info > make[2]: *** [install-exec-local] > Speicherzugriffsfehler > make[2]: Verlassen des Verzeichnisses > ?/home/madman/gambas-0.70b? > make[1]: *** [install-am] Fehler 2 > make[1]: Verlassen des Verzeichnisses > ?/home/madman/gambas-0.70b? > make: *** [install-recursive] Fehler 1 > > What went wrong? > Can anyone help me? > > My system: > > Suse 8.1 > kernel 2.4.21 > > > > > --__--__-- > > Message: 4 > From: nn > To: gambas-user at lists.sourceforge.net > Organization: > Date: 08 Oct 2003 18:52:57 +0200 > Subject: [Gambas-user] Re: Regex > Reply-To: gambas-user at lists.sourceforge.net > > > Hi Rizky Tahara Shita > > It's a very interesting Question! > On the first view it sounds trivial, but I think > it's not. > If I understand you correct, you want strings > and integers, etc, to be executed as part of the > running programm-code. > For example, something like that: > > TextBox2.Text = ExecuteString (TextBox1.Text & > MyVariable & "something > else") > > I saw something like ExecuteString some years ago, > used > in a formula, function parser for Analysis, but I > don't remeber > the source of information, sorry. > > With such a Function it would be possible to develop > self-modifying-code. The next step could be > learning-code > or evolutionary optimizing-code ans so on > ... very interesting stuff :)) > > Probably someone of the more smart guys on this list > are able > to show us how to do something like that with > Gambas. > > For a very primitive solution, you might use "select > Case", > compare your regex-string with the available > functions and > executed it with this function. Recommended only if > You are > using just a few functions. > > regs Juergen > > > > > > > --__--__-- > > Message: 5 > From: Fabien Bodard > Organization: Gambas Family > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] BUG: IDE crash > Date: Wed, 8 Oct 2003 19:49:19 +0200 > Reply-To: gambas-user at lists.sourceforge.net > > Le Mercredi 8 Octobre 2003 01:05, ron a =E9crit : > > Hi Fabien, > > > > Thanks for your responce, I did it by making the > missing directory, but t= > he > > stuf in the .gambas/gambas.conf has nothing about > 'SelOpen' > > > > Another problem is the font in the blue bars and > on page 1 the textbox to > > enter the filename. I switched from 15" to 18" > 1024 to 1280px and I can't > > read it now. Increase of size is 20% but the font > looks less then 50% of > > the size before. This problem is in Gambas IDE > also for the > > class/form/module names. > > I could solve it by edit by hand the .qtrc file. > There is a font for > > default use for the widgets but that works only if > the programmer does not > > give a font and size on the widgets. Also if the > programmer choose a font > > it is not always at the users site available. The > buttons on the Toolbox > > has the same problem with the font. > > > > BTW I am still working with v0.70. > > > > > hi Ron > > > I'm sorry it's an other bug on my selector... > humm > > > just go in the .gambas directory and open the > ...conf file . > > > Next delete the info between comma after > 'SelOpen', it will run good no= > w. > > > And i'm trying to correct all my bugs (or near) > in this afternoon. And > > > send my work in this mailgroup. Fabien Bodard > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > hi Ron > > I've just worked on the FSelector part and not on > the other part of the ID= > E. > So for the font, i don't know how resolve the > problem.... Benoit ? > > Now, i'm trying to implement the kpart component.... > And, i'll correct my=20 > =46SupSelector. > > =46abien Bodard > > Thank, for your report ! > > > > --__--__-- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From danielcampos at ...282... Fri Oct 10 20:14:40 2003 From: danielcampos at ...282... (Daniel Campos) Date: 10 Oct 2003 20:14:40 +0200 Subject: [Gambas-user] Netwoking 0.0.10 Message-ID: <1065809680.4119.7.camel@...278...> Hi All! This is the first version of networking component I send to Gambas-User list. Previous versions were only on devel list a they were pre-alpha. I would like to send it to gambas-user to allow more people to test it and begin to report bugs and ideas. In this package you will find information to compile and use it, documentation (yes, alpha) and some examples to learn its use. This version includes the first step of a serial port class. It is very simple now, but you can test it with your modem using "S1" example at DOC/examples (remember to use parity "N" unless you have a special (and expensive ) modem with even parity). You'll be able to send some simple commands like 'ATZ' or make it call a number (for instance ATD3453453453453, I hope this number does not really exists: ) Warning: If you were using previous versions, remember to update your ".info" files! Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: net_0_0_10.tar.gz Type: application/x-compressed-tar Size: 88738 bytes Desc: not available URL: From fatalslash at ...67... Mon Oct 13 16:47:06 2003 From: fatalslash at ...67... (Mohammed Riyaz) Date: Mon, 13 Oct 2003 20:17:06 +0530 Subject: [Gambas-user] reallocation error using gambas .70b Message-ID: hello everybody, I encountered the following problem while installing gambas .70b . I run RH 9.0 i did not have any compiling problems. but when i try to run gambas i get the following error. [root at ...283... gambas-0.70b]# gambas /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so: undefined symbol: _ZNSs4_Rep11_S_terminalE The requirement sez i need qt 3.1 and looks like the req is satisfied. [root at ...283... gambas-0.70b]# rpm -q qt qt-3.1.1-6 I did see this question posted by some other user on the mailing list archive but the question was unanswered. -riyaz _________________________________________________________________ The hottest things. The coolest deals. http://www.msn.co.in/Shopping/ Get them online! From eng_ak at ...200... Mon Oct 13 17:00:12 2003 From: eng_ak at ...200... (Ahmad Kamal) Date: Mon, 13 Oct 2003 17:00:12 +0200 Subject: [Gambas-user] reallocation error using gambas .70b In-Reply-To: References: Message-ID: <3F8ABDFC.7090701@...200...> I have it too, any solution? Mohammed Riyaz wrote: > hello everybody, > > I encountered the following problem while installing gambas .70b . > I run RH 9.0 i did not have any compiling problems. > > but when i try to run gambas i get the following error. > > [root at ...283... gambas-0.70b]# gambas > /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so: > undefined symbol: _ZNSs4_Rep11_S_terminalE > > The requirement sez i need qt 3.1 and looks like the req is satisfied. > > [root at ...283... gambas-0.70b]# rpm -q qt > qt-3.1.1-6 > > I did see this question posted by some other user on the mailing list > archive but the question was unanswered. > > -riyaz > > _________________________________________________________________ > The hottest things. The coolest deals. http://www.msn.co.in/Shopping/ > Get them online! > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From pchapman at ...129... Mon Oct 13 19:53:57 2003 From: pchapman at ...129... (Philip A. Chapman) Date: 13 Oct 2003 12:53:57 -0500 Subject: [Gambas-user] reallocation error using gambas .70b In-Reply-To: <3F8ABDFC.7090701@...200...> References: <3F8ABDFC.7090701@...200...> Message-ID: <1066067637.3640.8.camel@...130...> Everyone, As documented on the Gambas website, you must upgrade KDE: http://gambas.sourceforge.net/important.html I recommend using the port of apt-get for redhat pointed to a rawhide mirror. That has been the easiest way I have found to make sure that all the dependencies are met. Thanks, On Mon, 2003-10-13 at 10:00, Ahmad Kamal wrote: > I have it too, any solution? > > Mohammed Riyaz wrote: > > hello everybody, > > > > I encountered the following problem while installing gambas .70b . > > I run RH 9.0 i did not have any compiling problems. > > > > but when i try to run gambas i get the following error. > > > > [root at ...283... gambas-0.70b]# gambas > > /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so: > > undefined symbol: _ZNSs4_Rep11_S_terminalE > > > > The requirement sez i need qt 3.1 and looks like the req is satisfied. > > > > [root at ...283... gambas-0.70b]# rpm -q qt > > qt-3.1.1-6 > > > > I did see this question posted by some other user on the mailing list > > archive but the question was unanswered. > > > > -riyaz > > > > _________________________________________________________________ > > The hottest things. The coolest deals. http://www.msn.co.in/Shopping/ > > Get them online! > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > 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: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- 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 danielcampos at ...282... Mon Oct 13 20:46:09 2003 From: danielcampos at ...282... (Daniel Campos) Date: 13 Oct 2003 20:46:09 +0200 Subject: [Gambas-user] Networking 0.0.11 Message-ID: <1066070768.5813.5.camel@...278...> Hi! Here's 0.0.11 release of Networking component. Now CSerialPort can handle common serial port signals (DTR,CTS,CD, etc). Fabien : good job, it is stable enough to be a 0.0.1 version :)! I'm very proud looking how this networking component can help Gambas developement! Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: net_0_0_11.tar.gz Type: application/x-compressed-tar Size: 90620 bytes Desc: not available URL: From ronstk at ...239... Tue Oct 14 09:31:09 2003 From: ronstk at ...239... (ron) Date: Tue, 14 Oct 2003 09:31:09 +0200 Subject: [Gambas-user] Mouse event problem Message-ID: <200310140931.09111.ronstk@...239...> Hi Beboit, I have a listbox with multi select enabled. When I select some items and click with the right mouse button for the popup Menu then the mark state for the item where the mouse is over reverse. The function I want to use is to select some items in the listbox and then on the popup menu make a selection what to do with them. According the KDE Standards at http://developer.kde.org/documentation/standards/kde/style/mouse/index.html Right Button: If the clicked object is marked, it does not change any of the marks. If the clicked object is not marked, the object is marked and any other objects are unmarked. Then a popup menu (RMB-menu) appears where the user has clicked. The RMB-menu contains the most important actions available for the marked object(s). When I am right they are talking here in the situation of multi selection. Konqueror as filemanager works this way. As described it should mark but no unmark the item, as it does now, and unmark the other marked if the item is not marked, as it does not. Is this posible a small bug? It's now difficult to use the popup menu for me. ------- grts Ron From edward_cjhsu at ...253... Thu Oct 16 11:39:34 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Thu, 16 Oct 2003 05:39:34 -0400 (EDT) Subject: [Gambas-user] RedHat 9.0 Users In-Reply-To: <1066070768.5813.5.camel@...278...> Message-ID: <20031016093934.32628.qmail@...270...> Dear RedHat 9.0 users, Yes, the Redhat 9.0 set qt-3.1.1-6 in the system, but that one is no good at all for Gambas. Please upgrade it to 3.1.2 or over then you will have no problems at all. Cheers. Regards, Edward ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From danielcampos at ...282... Thu Oct 16 17:29:36 2003 From: danielcampos at ...282... (Daniel Campos) Date: 16 Oct 2003 17:29:36 +0200 Subject: [Gambas-user] Networking 0.0.12 Message-ID: <1066318176.2243.23.camel@...278...> Hello: Here's a new release of networking component: --> I've finished Serial Port class interface, and i've also improved ClientSocket class: --> Previous versions could handle a maximun size of 1024 bytes when receiving data, now , memory is allocated dinamically in the range 1-65536 bytes, so bigger packets can be received at once. This is valid also for serial port method "GetData" --> Documentation and examples updated Next step will be finish ServerSocket class, and then, a 0.1.0 version, in which I will make no more changes except bug fixes, as I think all basic networking tasks are covered with this component. I have to work now on XML component, and after that, more networking component work. By the way, Beno?t , I don't want to be famous :), but I would like to have a place in "Hall of Fame" as Networking (and may be XML) programmer as i'd like to let people contact with me to talk about these components. If you want a brief description of me: --> Daniel Campos Fern?ndez, 29 years old. --> Spain, living at Madrid, but I hate big towns. --> I began "BASIC" programming with a ZX-81 (yes, Spectrum didn't exists at this time), when I was 9 years old. Then my brother bought a MSX from sony, in which I began to learn Assembler (Z-80). My first PC was a gift from my parents, a PC-1512 from Amstrad (512Kb, 8086 cpu, what a montster!). I began to learn C and C++ (a compiler from Borland in two 5 1/4 disks, that I had to switch continuosly as PC had no hard drive) --> Currently i'm a programmer working with C, C++, Visual Basic, Linux, Windows, FreePascal, Delphi, C# and all the stuff that costumers can imagine. --> Main characteristic : I love imagine how could I make work complex things in languages that, like Visual Basic, are supposed to be poor and simple. I love my girlfriend, Montse, too. Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: net_0_0_12.tar.gz Type: application/x-compressed-tar Size: 92333 bytes Desc: not available URL: From gambas at ...2... Sat Oct 18 11:57:02 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 18 Oct 2003 11:57:02 +0200 Subject: [Gambas-user] Networking 0.0.12 In-Reply-To: <1066318176.2243.23.camel@...278...> References: <1066318176.2243.23.camel@...278...> Message-ID: <200310181157.02127.gambas@...2...> Le Jeudi 16 Octobre 2003 17:29, Daniel Campos a ?crit : > Hello: > > Here's a new release of networking component: > > --> I've finished Serial Port class interface, and i've also improved > ClientSocket class: > > --> Previous versions could handle a maximun size of 1024 bytes > when receiving data, now , memory is allocated dinamically in the > range 1-65536 bytes, so bigger packets can be received at once. > This is valid also for serial port method "GetData" > > --> Documentation and examples updated > > Next step will be finish ServerSocket class, and then, a 0.1.0 version, > in which I will make no more changes except bug fixes, as I think > all basic networking tasks are covered with this component. I have > to work now on XML component, and after that, more networking component > work. > > By the way, Beno?t , I don't want to be famous :), but I would like > to have a place in "Hall of Fame" as Networking (and may be XML) > programmer as i'd like to let people contact with me to talk about > these components. If you want a brief description of me: > > --> Daniel Campos Fern?ndez, 29 years old. > --> Spain, living at Madrid, but I hate big towns. > --> I began "BASIC" programming with a ZX-81 (yes, Spectrum didn't > exists at this time), when I was 9 years old. Then my brother bought a > MSX from sony, in which I began to learn Assembler (Z-80). My first PC > was a gift from my parents, a PC-1512 from Amstrad (512Kb, 8086 cpu, > what a montster!). I began to learn C and C++ (a compiler from Borland > in two 5 1/4 disks, that I had to switch continuosly as PC had no hard > drive) > --> Currently i'm a programmer working with C, C++, Visual Basic, Linux, > Windows, FreePascal, Delphi, C# and all the stuff that costumers can > imagine. > --> Main characteristic : I love imagine how could I make work complex > things in languages that, like Visual Basic, are supposed to be poor and > simple. I love my girlfriend, Montse, too. > > > Regards, Hi, Daniel. I feel ashamed, because I didn't look at your code seriously yet. I can spend very few time on Gambas at the moment... Of course you will have an big entry in the hall of fame. I just wanted to look your code more deeply. I just want to suggest you other names for some constants, methods and property, and, more important, I must check that you used the GB.Watch() API correctly so that you let the event loop do all the watching process. I mean: that you called blocking system calls like accept() cleverly so that the event loop can do its job. Best regards, -- Benoit Minisini mailto:gambas at ...1... From nferraz at ...184... Sat Oct 18 17:41:00 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sat, 18 Oct 2003 12:41:00 -0300 Subject: [Gambas-user] Article Message-ID: <3F915F0C.5070309@...184...> Hi All, Some weeks ago, Rob and I have started writing an article about Gambas: http://www.binara.com/gambas-wiki/bin/view/Gambas/ArticleDevX I think the article is almost finished, although we still have to improve some parts, including the conclusion. I think it would be interesting to mention some of the new features that are expected for the next releases: * A Network component * A SDL component * An object persistence system * A report designer * A Perl-like regular expression component I'm writing to ask for the current status of each component, (planning, alpha, beta, or stable) and a small description of their goals, strenghts and weaknesses. Then, I think we could wrap up the article and send it to the press. :) -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From kannan62k at ...43... Sat Oct 18 18:26:43 2003 From: kannan62k at ...43... (Kannan Ramasamy) Date: Sat, 18 Oct 2003 09:26:43 -0700 (PDT) Subject: [Gambas-user] NextStep - Object Database Message-ID: <20031018162643.58772.qmail@...175...> Hi Benoit and the Elite Team, My friend recently gave me a copy of an Object Database called "Cache" from Intersystems, address : www.intersystems.com This product integrates well with VB and even generates code and front end given to VB and Java. A linux version is also available and I personally would like to see this great product wrapped by the Elite Team. Im starting on couple of projects and negotiating with the Clients on deploying in Linux. Please update me on "Fundation" which came up sometime back. The above product is a free download and agrees in revenue sharing during deployment. can this be done in the case of Gambas as well Regards and keep up the good work, Hoping to meet u guys in person in the near future, R S Kannan __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From fj.cruz at ...179... Fri Oct 17 22:32:09 2003 From: fj.cruz at ...179... (F.J. Cruz) Date: Fri, 17 Oct 2003 22:32:09 +0200 Subject: [Gambas-user] Networking 0.0.12 In-Reply-To: <1066318176.2243.23.camel@...278...> References: <1066318176.2243.23.camel@...278...> Message-ID: <200310172232.09238.fj.cruz@...179...> El Jueves, 16 de Octubre de 2003 17:29, Daniel Campos escribi?: > Hello: > > Here's a new release of networking component: > > --> I've finished Serial Port class interface, and i've also improved > ClientSocket class: > > --> Previous versions could handle a maximun size of 1024 bytes > when receiving data, now , memory is allocated dinamically in the > range 1-65536 bytes, so bigger packets can be received at once. > This is valid also for serial port method "GetData" > > --> Documentation and examples updated > > Next step will be finish ServerSocket class, and then, a 0.1.0 version, > in which I will make no more changes except bug fixes, as I think > all basic networking tasks are covered with this component. I have > to work now on XML component, and after that, more networking component > work. > > By the way, Beno?t , I don't want to be famous :), but I would like > to have a place in "Hall of Fame" as Networking (and may be XML) > programmer as i'd like to let people contact with me to talk about > these components. If you want a brief description of me: > > --> Daniel Campos Fern?ndez, 29 years old. > --> Spain, living at Madrid, but I hate big towns. > --> I began "BASIC" programming with a ZX-81 (yes, Spectrum didn't > exists at this time), when I was 9 years old. Then my brother bought a > MSX from sony, in which I began to learn Assembler (Z-80). My first PC > was a gift from my parents, a PC-1512 from Amstrad (512Kb, 8086 cpu, > what a montster!). I began to learn C and C++ (a compiler from Borland > in two 5 1/4 disks, that I had to switch continuosly as PC had no hard > drive) > --> Currently i'm a programmer working with C, C++, Visual Basic, Linux, > Windows, FreePascal, Delphi, C# and all the stuff that costumers can > imagine. > --> Main characteristic : I love imagine how could I make work complex > things in languages that, like Visual Basic, are supposed to be poor and > simple. I love my girlfriend, Montse, too. > > > Regards, Fine work Daniel, keep in this way. Enhorabuena por tu trabajo Daniel, creo que tienes un puesto merecido en el hall de la fama. -- .-. /v\ L I N U X // \\ > S p a i n < /( )\ > Linux user #188524 < ^^-^^ > Linux machine #83532 < From danielcampos at ...277... Mon Oct 20 19:43:51 2003 From: danielcampos at ...277... (daniel) Date: 20 Oct 2003 19:43:51 +0200 Subject: [Gambas-user] Networking 0.0.12 In-Reply-To: <200310181157.02127.gambas@...2...> References: <1066318176.2243.23.camel@...278...> <200310181157.02127.gambas@...2...> Message-ID: <1066671810.2243.4.camel@...278...> > > Hi, Daniel. > > I feel ashamed, because I didn't look at your code seriously yet. I can spend > very few time on Gambas at the moment... Well, don't worry, days are too short, that's what I always think. However you'll have some extra days as I'm now 'stopped' with a terrible flu. :) > > Of course you will have an big entry in the hall of fame. I just wanted to > look your code more deeply. > > I just want to suggest you other names for some constants, methods and > property, and, more important, I must check that you used the GB.Watch() API > correctly so that you let the event loop do all the watching process. I mean: > that you called blocking system calls like accept() cleverly so that the > event loop can do its job. OK! Regards, Daniel Campos From danielcampos at ...277... Mon Oct 20 19:56:52 2003 From: danielcampos at ...277... (daniel) Date: 20 Oct 2003 19:56:52 +0200 Subject: [Gambas-user] Networking 0.0.12 In-Reply-To: <200310172232.09238.fj.cruz@...179...> References: <1066318176.2243.23.camel@...278...> <200310172232.09238.fj.cruz@...179...> Message-ID: <1066671896.2262.0.camel@...278...> > > > Fine work Daniel, keep in this way. > > Enhorabuena por tu trabajo Daniel, creo que tienes un puesto merecido en el > hall de la fama. Gracias, es agradable ver a un paisano en la lista! Saludos, Daniel Campos From m4t0x at ...2... Tue Oct 21 01:36:55 2003 From: m4t0x at ...2... (math) Date: Tue, 21 Oct 2003 01:36:55 +0200 Subject: [Gambas-user] Networking 0.0.12 In-Reply-To: <200310172232.09238.fj.cruz@...179...> References: <1066318176.2243.23.camel@...278...> <200310172232.09238.fj.cruz@...179...> Message-ID: <3F947197.10702@...2...> F.J. Cruz wrote: >El Jueves, 16 de Octubre de 2003 17:29, Daniel Campos escribi?: > > >>Hello: >> >> Here's a new release of networking component: >> >>--> I've finished Serial Port class interface, and i've also improved >>ClientSocket class: >> >>--> Previous versions could handle a maximun size of 1024 bytes >>when receiving data, now , memory is allocated dinamically in the >>range 1-65536 bytes, so bigger packets can be received at once. >>This is valid also for serial port method "GetData" >> >>--> Documentation and examples updated >> >> Next step will be finish ServerSocket class, and then, a 0.1.0 version, >>in which I will make no more changes except bug fixes, as I think >>all basic networking tasks are covered with this component. I have >>to work now on XML component, and after that, more networking component >>work. >> >>By the way, Beno?t , I don't want to be famous :), but I would like >>to have a place in "Hall of Fame" as Networking (and may be XML) >>programmer as i'd like to let people contact with me to talk about >>these components. If you want a brief description of me: >> >>--> Daniel Campos Fern?ndez, 29 years old. >>--> Spain, living at Madrid, but I hate big towns. >>--> I began "BASIC" programming with a ZX-81 (yes, Spectrum didn't >>exists at this time), when I was 9 years old. Then my brother bought a >>MSX from sony, in which I began to learn Assembler (Z-80). My first PC >>was a gift from my parents, a PC-1512 from Amstrad (512Kb, 8086 cpu, >>what a montster!). I began to learn C and C++ (a compiler from Borland >>in two 5 1/4 disks, that I had to switch continuosly as PC had no hard >>drive) >>--> Currently i'm a programmer working with C, C++, Visual Basic, Linux, >>Windows, FreePascal, Delphi, C# and all the stuff that costumers can >>imagine. >>--> Main characteristic : I love imagine how could I make work complex >>things in languages that, like Visual Basic, are supposed to be poor and >>simple. I love my girlfriend, Montse, too. >> >> >>Regards, >> >> > > >Fine work Daniel, keep in this way. > >Enhorabuena por tu trabajo Daniel, creo que tienes un puesto merecido en el >hall de la fama. > > > Where did you found it ? i read all the web site and i don't fond it ! Thx ! ++ From danielcampos at ...277... Mon Oct 20 23:31:41 2003 From: danielcampos at ...277... (daniel) Date: Mon, 20 Oct 2003 23:31:41 +0200 Subject: [Gambas-user] Article In-Reply-To: <3F915F0C.5070309@...184...> References: <3F915F0C.5070309@...184...> Message-ID: <1066685501.2216.24.camel@...278...> El s?b, 18-10-2003 a las 17:41, Nelson Ferraz escribi?: > Hi All, > > Some weeks ago, Rob and I have started writing an article about Gambas: > > http://www.binara.com/gambas-wiki/bin/view/Gambas/ArticleDevX > > I think the article is almost finished, although we still have to > improve some parts, including the conclusion. > > I think it would be interesting to mention some of the new features that > are expected for the next releases: > > * A Network component > * A SDL component > * An object persistence system > * A report designer > * A Perl-like regular expression component Well, about network component, it is stable enough to be called 'beta' version, all least all the functionallity it has now: - DNS client (well not really dns, it can access to hosts file, NIS,etc, which is matter of operating system). It can work both in synchronous and asynchronous mode, using threads. I put a little document about threading in gambas at networking component source code. - Socket Client : to start a TCP or UNIX socket connection. - Socket Server : to serve on TCP or (UNIX, not yet) sockets. - Datagram Client/Server : UDP sockets - SerialPort : a class to manage serial devices (RS-232, etc...) This version is closed here. For future versions: First, lets speak about two ideas, in which I was thinking, but that I won't implement, at least for a lot of time: - Ethernet socket : low level-socket... it is useful to create sniffers, and things like this, but I don't want to spend time creating so specific stuff. - USB handler : I don't have a clear idea about USB interfaces, may be in the future i'll learn more about that. There are serial controlers for USB, something like RS-232 on a USB, I have to explore it the future, it is very useful to communicate with commercial devices... - Next step, will be a XML component (parser, reader, writer...). It will be a different component that networking, based on libxml2, I have some stuff written already, but it is nothing really useful (pre-alpha), but networking and gbxml will be used together in lot of cases: => Once XML is finished, I'm planning to create a HTTP client into networking, at least for GET and POST methods, so, joining XML with HTTP, Gambas users will have the base to call XML-RPC servers... => Next step, XML-RPC client as a component, user will not need to create all stuff to manage connections with remote servers. => In that point Gambas will be useful, not noly to create RPC-XML clients, but to create stand-alone servers (we already have a socket server in networking), and cgi-servers (gambas can read standard input and write in standard output) => Next, XML-RPC server. => Next ... => SOAP, quite similar to XML-RPC, but has a lot of work, it's very complex => Persistence, serialization? Regards, Daniel Campos > > I'm writing to ask for the current status of each component, (planning, > alpha, beta, or stable) and a small description of their goals, > strenghts and weaknesses. > > Then, I think we could wrap up the article and send it to the press. :) From girardhenri at ...67... Tue Oct 21 05:30:29 2003 From: girardhenri at ...67... (Henri Girard) Date: Tue, 21 Oct 2003 05:30:29 +0200 Subject: [Gambas-user] Article References: <3F915F0C.5070309@...184...> <1066685501.2216.24.camel@...278...> Message-ID: Hi guis :) I am re "looking" at gambas... Thanks again for all your improvments .. (I should be unscribed but the web didn't work !! lol) So I am supporting your efforts since few months that what convinced me to look back to it !! Cheers HG ----- Original Message ----- From: "daniel" To: Sent: Monday, October 20, 2003 11:31 PM Subject: Re: [Gambas-user] Article El s?b, 18-10-2003 a las 17:41, Nelson Ferraz escribi?: > Hi All, > > Some weeks ago, Rob and I have started writing an article about Gambas: > > http://www.binara.com/gambas-wiki/bin/view/Gambas/ArticleDevX > > I think the article is almost finished, although we still have to > improve some parts, including the conclusion. > > I think it would be interesting to mention some of the new features that > are expected for the next releases: > > * A Network component > * A SDL component > * An object persistence system > * A report designer > * A Perl-like regular expression component Well, about network component, it is stable enough to be called 'beta' version, all least all the functionallity it has now: - DNS client (well not really dns, it can access to hosts file, NIS,etc, which is matter of operating system). It can work both in synchronous and asynchronous mode, using threads. I put a little document about threading in gambas at networking component source code. - Socket Client : to start a TCP or UNIX socket connection. - Socket Server : to serve on TCP or (UNIX, not yet) sockets. - Datagram Client/Server : UDP sockets - SerialPort : a class to manage serial devices (RS-232, etc...) This version is closed here. For future versions: First, lets speak about two ideas, in which I was thinking, but that I won't implement, at least for a lot of time: - Ethernet socket : low level-socket... it is useful to create sniffers, and things like this, but I don't want to spend time creating so specific stuff. - USB handler : I don't have a clear idea about USB interfaces, may be in the future i'll learn more about that. There are serial controlers for USB, something like RS-232 on a USB, I have to explore it the future, it is very useful to communicate with commercial devices... - Next step, will be a XML component (parser, reader, writer...). It will be a different component that networking, based on libxml2, I have some stuff written already, but it is nothing really useful (pre-alpha), but networking and gbxml will be used together in lot of cases: => Once XML is finished, I'm planning to create a HTTP client into networking, at least for GET and POST methods, so, joining XML with HTTP, Gambas users will have the base to call XML-RPC servers... => Next step, XML-RPC client as a component, user will not need to create all stuff to manage connections with remote servers. => In that point Gambas will be useful, not noly to create RPC-XML clients, but to create stand-alone servers (we already have a socket server in networking), and cgi-servers (gambas can read standard input and write in standard output) => Next, XML-RPC server. => Next ... => SOAP, quite similar to XML-RPC, but has a lot of work, it's very complex => Persistence, serialization? Regards, Daniel Campos > > I'm writing to ask for the current status of each component, (planning, > alpha, beta, or stable) and a small description of their goals, > strenghts and weaknesses. > > Then, I think we could wrap up the article and send it to the press. :) ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From lcliff at ...284... Tue Oct 21 11:57:18 2003 From: lcliff at ...284... (Luke Cliff) Date: Tue, 21 Oct 2003 19:57:18 +1000 Subject: [Gambas-user] First Post, Hello. Message-ID: <3F9502FE.8030408@...284...> Hello Gambas, and Gambas programmers, I thought I should write instead of just lurking here, I love what's happening with gambas, I really enjoy watching developments, that I understand.. The first question I would like to ask, is a very general question to the languages translations, and a general behavior in language programming ethsetics... Would a french translation be of actual english translation, or of the french languages structure in translation from say english... ie. In english I write... If This_1 AND That AND NOT This_2 then..... would a French translation be This_1 AND That AND NOT This_2 if.... Regards Luke From nferraz at ...184... Tue Oct 21 19:21:26 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Tue, 21 Oct 2003 15:21:26 -0200 Subject: [Gambas-user] Article In-Reply-To: <1066685501.2216.24.camel@...278...> References: <3F915F0C.5070309@...184...> <1066685501.2216.24.camel@...278...> Message-ID: <3F956B16.8020601@...184...> daniel wrote: > Well, about network component, it is stable enough to be called 'beta' > version, all least all the functionallity it has now: Thanks for the feedback! (I think we could write an brand new article about the SDL component! Let me know if you're interested... :)) -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From danielcampos at ...277... Mon Oct 20 19:47:34 2003 From: danielcampos at ...277... (daniel) Date: 20 Oct 2003 19:47:34 +0200 Subject: [Gambas-user] Networking 0.0.12 In-Reply-To: <200310172232.09238.fj.cruz@...179...> References: <1066318176.2243.23.camel@...278...> <200310172232.09238.fj.cruz@...179...> Message-ID: <1066671896.2262.0.camel@...278...> > > > Fine work Daniel, keep in this way. > > Enhorabuena por tu trabajo Daniel, creo que tienes un puesto merecido en el > hall de la fama. Gracias, es agradable ver a un paisano en la lista! Saludos, Daniel Campos From nferraz at ...184... Tue Oct 21 19:28:30 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Tue, 21 Oct 2003 15:28:30 -0200 Subject: [Gambas-user] First Post, Hello. In-Reply-To: <3F9502FE.8030408@...284...> References: <3F9502FE.8030408@...284...> Message-ID: <3F956CBE.1040701@...184...> Luke Cliff wrote: > Would a french translation be of actual english translation, or of the > french languages structure in translation from say english... > ie. In english I write... > If This_1 AND That AND NOT This_2 then..... > > would a French translation be > This_1 AND That AND NOT This_2 if.... I understand that the translation shouldn't affect the programming language, only the development environment and, in some cases, error messages. Otherwise we'd end up with several incompatible languages! (Even though they'd share the same bytecode... but I still think it wouldn't be a good idea) Anyway, we could copy a feature from Perl and implement source filters, which translate the source code before it is parsed. Then, we could do something like this: USE French; This AND That AND NOT This if... This is an incredibly useful feature in Perl. Right now, there are some modules that implement Perl6 behavior in Perl5, so we can program in Perl6 before the language is released. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From danielcampos at ...282... Wed Oct 22 09:23:56 2003 From: danielcampos at ...282... (danielcampos at ...282...) Date: Wed, 22 Oct 2003 09:23:56 CEST Subject: [Gambas-user] Article Message-ID: > Well, about network component, it is stable enough to be called 'beta' >> version, all least all the functionallity it has now: > >Thanks for the feedback! > >(I think we could write an brand new article about the SDL >component! >Let me know if you're interested... :)) > >-- >[]s Well, I'm interested in SDL, but the problem is that I don't know very much about it. I played a little with SDL a time ago, but I was only a game for me. However, I would like to remark some things about multimedia, Linux and Gambas: 1) Sound in Linux is a very obscure world. There are al least two kind of kernel drivers (OSS, Alsa), there are lot of sound servers (Arts and ESound are the most known), lot of mixers, etc. May be SDL is good option to enable sound on Gambas, but we should be sure it is compatible with, at least the more common sound subsystems in Linux (I really mean, Linux, FreeBSD, etc), and I don't kwnow if it is true at this moment. About Linux sound problems, for instance, I usually play DVDs with Xine (unencrypted, of course :), and some days sound goes OK, some days I have to stop Arts first... randomly, may be sound is still an unstable world on Linux (or may be it is problem of Mandrake and RedHat, I'm not sure) 2) Midi : lot of PCI cards has still a bad midi support on Linux, however there are emultators, like timidity, that "parses" midi into wav, that are quite useful to play midis on not supported cards, Gambas sound developers should care about this fact to let more people use Gambas-midi programs. 3) SDL graphics (that's the part I know) is a very low-level implementation, you can just create surfaces (rectangles), no way to draw polygons, circles, etc, directly. May be a Gambas implementation should support at least the more common primitives. By other said, SDL windows seems to be always "stand-alone" windows, may be it would be necessary to implement SDL like a component you can just put in your window, like a button or a picture box, but I don't if it is possible. 4) There's another interesting library, DirectFB (www.directfb.org) which provides a framebuffer and hardware acceleration without X servers. It would be very interesting in order to let people program with Gambas in little devices (few memory, few resources) which can't handle a full X server. There's also a GTK-DirectFB implementation, so a GTK component would be very useful in both worlds (X-DirectFB) 5) May be OpenGL (Mesa) is also a point to be implemented in Gambas, it would be nice a 3D studio made with Gambas. Well, that's all by the moment,I hope it helps Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From eddy_betun at ...43... Wed Oct 22 08:50:23 2003 From: eddy_betun at ...43... (Stefanus Eddy) Date: Tue, 21 Oct 2003 23:50:23 -0700 (PDT) Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #385 - 3 msgs In-Reply-To: Message-ID: <20031022065023.45678.qmail@...285...> dear all, i'm very interest about Visual basic translator to Gambas source code, where i can download Vb2Gb software???. and why i can't download all attachment from this mailinglist???. have any idea???? thanks advance regards, eddy --- gambas-user-request at lists.sourceforge.net wrote: > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, > visit > > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body > 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it > is more specific > than "Re: Contents of Gambas-user digest..." > > > Today's Topics: > > 1. Re: Article (Henri Girard) > 2. First Post, Hello. (Luke Cliff) > 3. Re: Article (Nelson Ferraz) > > --__--__-- > > Message: 1 > From: "Henri Girard" > To: > Subject: Re: [Gambas-user] Article > Date: Tue, 21 Oct 2003 05:30:29 +0200 > Reply-To: gambas-user at lists.sourceforge.net > > Hi guis :) > I am re "looking" at gambas... > Thanks again for all your improvments .. > (I should be unscribed but the web didn't work !! > lol) > So I am supporting your efforts since few months > that what convinced me to > look back to it !! > Cheers > HG > ----- Original Message ----- > From: "daniel" > To: > Sent: Monday, October 20, 2003 11:31 PM > Subject: Re: [Gambas-user] Article > > > El s??b, 18-10-2003 a las 17:41, Nelson Ferraz > escribi??: > > Hi All, > > > > Some weeks ago, Rob and I have started writing an > article about Gambas: > > > > > > End of Gambas-user Digest __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From eddy_betun at ...43... Wed Oct 22 09:41:38 2003 From: eddy_betun at ...43... (Stefanus Eddy) Date: Wed, 22 Oct 2003 00:41:38 -0700 (PDT) Subject: [Gambas-user] Vb converter to gambas Message-ID: <20031022074138.12701.qmail@...281...> hello all, can someone help me????. where i can download VB2GB software????? thanks advance regards, eddy __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com From nferraz at ...184... Wed Oct 22 13:45:12 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 22 Oct 2003 09:45:12 -0200 Subject: [Gambas-user] Article In-Reply-To: References: Message-ID: <3F966DC8.7070304@...184...> danielcampos at ...282... wrote: >>Well, about network component, it is stable enough to be called 'beta' >> >>>version, all least all the functionallity it has now: >> >>Thanks for the feedback! >> >>(I think we could write an brand new article about the SDL >component! >>Let me know if you're interested... :)) > > Well, I'm interested in SDL, but the problem is that I > don't know very much about it. I played a little with SDL > a time ago, but I was only a game for me. Oh, what I really wanted to say was an article about the NETWORK component. But thanks for the remarks regarding SDL! I'll upload these to the wiki so we can continue working on it. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Wed Oct 22 13:41:11 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 22 Oct 2003 09:41:11 -0200 Subject: [Gambas-user] Vb converter to gambas In-Reply-To: <20031022074138.12701.qmail@...281...> References: <20031022074138.12701.qmail@...281...> Message-ID: <3F966CD7.3080408@...184...> Stefanus Eddy wrote: > hello all, > > can someone help me????. where i can download VB2GB > software????? You'll find the first release here: http://www.binara.com/gambas-wiki/pub/Gambas/HowDoIConvertVbProjects/vb2gb.tgz It will split VB .frm files into Gambas .form and .class files. The .form should work without changes, but you'll have to adapt the .class code manually. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Wed Oct 22 13:45:12 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 22 Oct 2003 09:45:12 -0200 Subject: [Gambas-user] Article In-Reply-To: References: Message-ID: <3F966DC8.7070304@...184...> danielcampos at ...282... wrote: >>Well, about network component, it is stable enough to be called 'beta' >> >>>version, all least all the functionallity it has now: >> >>Thanks for the feedback! >> >>(I think we could write an brand new article about the SDL >component! >>Let me know if you're interested... :)) > > Well, I'm interested in SDL, but the problem is that I > don't know very much about it. I played a little with SDL > a time ago, but I was only a game for me. Oh, what I really wanted to say was an article about the NETWORK component. But thanks for the remarks regarding SDL! I'll upload these to the wiki so we can continue working on it. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Wed Oct 22 13:57:49 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 22 Oct 2003 09:57:49 -0200 Subject: [Gambas-user] Article In-Reply-To: <1066685501.2216.24.camel@...278...> References: <3F915F0C.5070309@...184...> <1066685501.2216.24.camel@...278...> Message-ID: <3F9670BD.3050206@...184...> daniel wrote: > Well, about network component, it is stable enough to be called 'beta' Okay, I've added the following: -- According to Daniel Campos, creator of the Network component, it is stable enough to be called 'beta' version, and already provides some interesting functionality: * DNS/NIS Client * Socket Client : to start a TCP or UNIX socket connection. * Socket Server : to serve on TCP or (UNIX, not yet) sockets. * Datagram Client/Server : UDP sockets * SerialPort : a class to manage serial devices (RS-232, etc...) -- I'd like to hear from the other components authors a small report describing the current status (planning, alpha, beta, stable), and features. * A Network component (okay) * A SDL component * An object persistence system * A report designer * A Perl-like regular expression component -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Wed Oct 22 13:41:11 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 22 Oct 2003 09:41:11 -0200 Subject: [Gambas-user] Vb converter to gambas In-Reply-To: <20031022074138.12701.qmail@...281...> References: <20031022074138.12701.qmail@...281...> Message-ID: <3F966CD7.3080408@...184...> Stefanus Eddy wrote: > hello all, > > can someone help me????. where i can download VB2GB > software????? You'll find the first release here: http://www.binara.com/gambas-wiki/pub/Gambas/HowDoIConvertVbProjects/vb2gb.tgz It will split VB .frm files into Gambas .form and .class files. The .form should work without changes, but you'll have to adapt the .class code manually. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Wed Oct 22 13:41:11 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 22 Oct 2003 09:41:11 -0200 Subject: [Gambas-user] Vb converter to gambas In-Reply-To: <20031022074138.12701.qmail@...281...> References: <20031022074138.12701.qmail@...281...> Message-ID: <3F966CD7.3080408@...184...> Stefanus Eddy wrote: > hello all, > > can someone help me????. where i can download VB2GB > software????? You'll find the first release here: http://www.binara.com/gambas-wiki/pub/Gambas/HowDoIConvertVbProjects/vb2gb.tgz It will split VB .frm files into Gambas .form and .class files. The .form should work without changes, but you'll have to adapt the .class code manually. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Wed Oct 22 13:57:49 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Wed, 22 Oct 2003 09:57:49 -0200 Subject: [Gambas-user] Article In-Reply-To: <1066685501.2216.24.camel@...278...> References: <3F915F0C.5070309@...184...> <1066685501.2216.24.camel@...278...> Message-ID: <3F9670BD.3050206@...184...> daniel wrote: > Well, about network component, it is stable enough to be called 'beta' Okay, I've added the following: -- According to Daniel Campos, creator of the Network component, it is stable enough to be called 'beta' version, and already provides some interesting functionality: * DNS/NIS Client * Socket Client : to start a TCP or UNIX socket connection. * Socket Server : to serve on TCP or (UNIX, not yet) sockets. * Datagram Client/Server : UDP sockets * SerialPort : a class to manage serial devices (RS-232, etc...) -- I'd like to hear from the other components authors a small report describing the current status (planning, alpha, beta, stable), and features. * A Network component (okay) * A SDL component * An object persistence system * A report designer * A Perl-like regular expression component -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From ronstk at ...239... Wed Oct 22 20:27:15 2003 From: ronstk at ...239... (ron) Date: Wed, 22 Oct 2003 20:27:15 +0200 Subject: [Gambas-user] Bug: TableView Message-ID: <200310222027.15924.ronstk@...239...> Hallo Benoit, I am afraid I have found a small bug. In my code I use a TableView and position the row and column numbers before update a datacell. Sometimes the cell stays the same but the data in it is updated by next subroutine. PRIVATE SUB ArgumentChanged(txt AS String) tblarr[currow][curcol] = txt GridView1[currow,curcol].Text = txt WITH tableview1 'next is reactivate datacell if currow and/or curcol do not change .MoveTo(-1,0) .MoveTo(currow,curcol) .Data.Text = txt ' .Refresh END WITH END The Gridview shows me the data arives correct but I must use MoveTo(-1,0) to set the current cell address on a different place before I can update the cell. It looks to me that if the row or column only let one write to the cell and then invalidates the cell addres for futher access. The both MoveTo() should not be here or at least only the second is needed. When I use the .Refresh it works but also flickers the whole TableView. ---------- Grts Ron From Gambasfr at ...11... Wed Oct 22 19:51:33 2003 From: Gambasfr at ...11... (Fabien Bodard) Date: Wed, 22 Oct 2003 19:51:33 +0200 Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #385 - 3 msgs In-Reply-To: <20031022065023.45678.qmail@...285...> References: <20031022065023.45678.qmail@...285...> Message-ID: <200310221951.33303.Gambasfr@...11...> Le Mercredi 22 Octobre 2003 08:50, Stefanus Eddy a ?crit : > dear all, >[...] > and why i can't download all attachment from this > mailinglist???. have any idea???? > > > thanks advance > > > regards, > > > > eddy hi Yes i can say why you can't download attachement ... in the mailinglist option turn the option 'Set Digest Mode' to off. Fabien Bodard From danielcampos at ...282... Thu Oct 23 20:45:28 2003 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 23 Oct 2003 20:45:28 +0200 Subject: [Gambas-user] Network article Message-ID: <1066934728.2782.2.camel@...278...> Hi! Here's a little article which tries to explain the motivations and structure on network component. When I'll have some more time, I'll try to write a tutorial about network component use, but by now I have to finish it! :) Regards, -- Daniel Campos -------------- next part -------------- Network and XML --------------- The future, al least for the next years, is based in networks and standards. Even big companies that always tried to hide all its internal file formats, have changed partially its mind, and now it seems they have discovered the fire, talking about XML, SOAP, RPC, and things like this, that probably, could be usual stuff today if they were put some effort and money on them in the past. Think that... ------------- No one can imagine isolated devices today : you have to extract data from them, know what's happening even if you are in the other side of the world. Devices are made by different manufacturers, and costumers think it's not their matter to make them compatible. So, companies need standars to share information. Companies need to control its money, information is power and a chance to grow and earn new money. Companies trust in the support of big hardware and software companies. So... ------- New back-office systems provided by main companies, are based on known standards, mainly : data bases (SQL), http servers like Apache, XML, RPC and SOAP. If big companies acts in that way, medium and small companies will do the same...or die. XML, RPC and SOAP ----------------- When somebody is learning XML, the first idea is "what an stupid thing". Well, XML seems to be only tags and random data you put in a file. And XML is really that. The power of XML is that is an international standard, and that can be easily used by people and computers. Lots of people can learn it, not just programmers, create an implementation, write a XML document with a text editor, and lot of libraries and other software will help them to share their documents, or translate it to HTML or PDF beautiful reports. And HTTP is just a protocol, there are lots of them. Protocols are what languages are for people, if two of more people know one language, they can share information. But the birth of Arpanet and the grow of Internet made this protocol quite popular: it is used to receive web pages, images, files, commercial data and all the stuff you can imagine from servers that are placed all around this world. So, almost all network hardware and software (routers, firewalls, end-user computers, servers...) is ready to manage this protocol. Think it twice: If you use HTTP to send and receive your information, you don't need to worry about the physical ubication of your target : all the hardware in the hole world, a big net of subnets, will carry the information without asking you any question, just press the right button (well, usually the left button of mouse) , and let the big machine work. Here's where we find XML-RPC and SOAP. They are protocols to allow computers to talk between them. Using this protocol, they can do more than sharing some documents: one computer can send orders to other computer to perform some task, and then the second computer will return the result of the action. You can find this into your computer : some programs call to libraries and other programs to perform its work. The only new thing in XML-RPC and SOAP, is that now, conversations are not only into your computer, but between computers. But this is a big thing. The idea is not new at all, but now, it is based on network and data format standards: To carry the information HTTP, to write orders, questions and answers, XML. The end of this is that today, it is quite easy for programmers and even for some users, to write programs that will be connected with other programs running in other computers, in different parts of the world. And the other important point, is that, you don't need to have a defined hardware-software platform, they are standards : you can both buy hardware and software from many different providers. You can buy what you need : low price? high performance? scalability?, just look, compare, and buy or even use freely the best thing for you. Gambas must be there -------------------- Gambas needs to implement standars, and I'd say more : Linux needs Gambas. Gambas is a BASIC language interpreter. BASIC is an easy language, anybody can learn a little, and start making little programs and scripts. A lot of programmers started learning BASIC when they were children, may be on 8-bits CPUs. A lot of people working in different sections of different companies, knows at least a little of BASIC language. They are not programmers at all, but they have what they need as they can write macros to help them on his work with little and medium data bases, spread-sheets and text documents. They know how to create a formulary, write and read data from tables, share some information sending it by mail... By other side, there are tons of web depelopers, too busy to learn about pointers and memory management, they have to write HTML, create beautiful pictures, administrate servers, deal with hackers and many other things. They need a simple language to create CGI's. There are things like PHP or Perl, but there's one called ASP which is not more than BASIC mixed with HTML, so they know BASIC. So, the conclusion is that lots of people are waiting for BASIC to migrate to Linux. What can we do here? We are in the middle of the road : we have a simple and well-designed GUI (not very much projects can say that), we have the interpreter, and we have lots of libraries written in C or C++ waiting to help us, may be the biggest API that any operating system has ever known. To cross to the other side we need only to implement that standars that will allow programmers and users to connect to the information they need. Network component is a piece in that target: Let's open the door that will give us the rest of the world. Network component ----------------- It is not really a component, it will be implemented in (al least) two components: "networking" and "gbxml". "Networking" is the base of all: Currently the web is based on TCP/IP protocols. We can say that the IP part of this protocol is matter of operating system, we have to care about "TCP/" part. To implement all stuff we have the following classes: *DnsClient : is a class to convert host names (like "gambas.sourceforge.net"), which are understood by humans to IP addresses (like 192.168.0.1) which are the real names for computers. It can perform its work using operating systems resources: DNS, NIS, hosts file,NMB lookup, LDAP, etc... *ClientSocket : to share information with servers, we need to stablish a TCP connection. This class can do that, and send and receive data in "raw" format. *ServerSocket : sometimes we'll be the servers, and we need to let clients connect with us. This is the class to do it using TCP/IP. *Datagram and Datapacket : some internet tasks, like transfering multimedia streaming data, do not work fine if they use a connection, so they usually use UDP, a more "primitive" way of transfering data, with no flow control. Datagram class is intended to create both UDP clients and servers. *UNIX sockets : sometimes we don't need to connect with other computers, but with other programs in the same computer. Using TCP for this is not efficient, and you waste a limited resource as TCP ports are. Unix sockets are local sockets implemented by the operating system to "emulate" TCP sockets into the computer ( oh, well, this is not a technical conference, I simply try to give an idea, you know? ), and data sharing using this method is quite fast and inexpensive. Both ClientSocket and ServerSocket can also stablish unix-socket connections. (ServerSocket with Unix socket is not yet implemented) *HTTPClient : by using ClientSocket and ServerSocket you'll receive only raw data, that you have to manage and verify. This client allows you to connect with HTTP servers (like Apache, yes), managing all HTTP protocol, you have just to care about the document (or object, as DOM people like to say) you receive. (HTTPClient is not yet implemented) *SerialPort : Now let's speak about the rest of computing world. Not all devices, specially designed for industrial or commerce tasks have an ethernet connection. May be 70% of them have RS-232, RS-485, or RS-422 serial ports. And programmers often have to stract or send information to them, and then compute the information and convert it to data to be placed in a database, web pages, and so on. So, there's also a class called "SerialPort" to allow send and receive data using a serial port. "GBXML" are the tools to connect with the world: (GBXML is not yet implemented) * There will be at least two different pure-XML classes: - A tree based class : it saves all XML information in memory, which makes work with XML very easy, you can move to any part of the document, and modify it easily, and using very few time. - An XMLReader class, more conventional : it just reads pieces of XML document from a file, without keeping it in memory. May be it is more slow, but when you have a big document, a tree based model can use all your memory resources, even hanging the computer. - May be a SAX based XML class : it is useful to parse documents while you are receiving it from a stream. (it is useful for other things, too) * There will be XML-RPC client class : it will allow you to call remote RPC-servers and receive data just as if you were calling methods from your own program, or at least in a quite similar way. Nothing about TCP/IP or XML, just Integers, Strings, Arrays... * There must be also a XML-RPC server, for two reasons : the first, to "decrypt" incoming information from client in XML format to data types, and second, to allow create stand-alone servers without the need of "monsters" like Apache. In the future there will be work on SOAP front. The idea of SOAP is quite similar to XML-RPC, it is also based on XML and HTTP, but with SOAP you can perform very complex tasks, it is powerful, but by the other side is quite complex. From danielcampos at ...282... Sat Oct 25 22:52:03 2003 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 25 Oct 2003 22:52:03 +0200 Subject: [Gambas-user] networking 0.0.13 Message-ID: <1067115122.2589.5.camel@...278...> Hi! Here's 0.0.13 release of networking component. ClientSocket now uses internally a DnsClient object to translate Host Name to IP, asynchronously, so, you will be stopped no more while ClientSocket was performing this operation. Now "SocketError" event returns an error code to allow you know what has been the problem. There's a new event "HostFound", that raises when host name has been successfully translated to IP, providing a more interactive interface. Remember to update you projects if you were using this class, as this little changes can make your program fail if you do not adapt it. Documentation and G1 example have been updated to reflect these changes. Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: net_0_0_13.tar.gz Type: application/x-compressed-tar Size: 96614 bytes Desc: not available URL: From optimus at ...286... Thu Oct 23 20:09:52 2003 From: optimus at ...286... (optimus) Date: Fri, 24 Oct 2003 02:09:52 +0800 Subject: [Gambas-user] Article In-Reply-To: References: Message-ID: <200310240209.52642.optimus@...286...> On Wednesday 22 October 2003 8:23 pm, danielcampos at ...282... wrote: > 1) Sound in Linux is a very obscure world. There are al least > two kind of kernel drivers (OSS, Alsa), there are lot of > sound servers (Arts and ESound are the most known), lot of > mixers, etc. May be SDL is good option to enable sound on Gambas, > but we should be sure it is compatible with, at least the more > common sound subsystems in Linux (I really mean, Linux, FreeBSD, etc), > and I don't kwnow if it is true at this moment. About Linux sound problems, > for instance, I usually play DVDs with Xine (unencrypted, of course :), and > some days sound goes OK, some days I have to stop Arts first... randomly, > may be sound is still an unstable world on Linux (or may be it is problem > of Mandrake and RedHat, I'm not sure) OSS is going to be deprecated in kernel 2.6. 2.6 will offer full support for ALSA. Sound has a very definite roadmap in Linux, as opposed to graphics. Preemptible kernel patches have been incorporated in 2.5, laying the groundwork for the development of a real-time OS framework for sound. jackit and LADSPA are two of these efforts that seems to point the way to the future of audio in Linux. > 2) Midi : lot of PCI cards has still a bad midi support on Linux, > however there are emultators, like timidity, that "parses" midi > into wav, that are quite useful to play midis on not supported cards, > Gambas sound developers should care about this fact to let more people use > Gambas-midi programs. Device detection and configuration are more mature in 2.6. This could help improve support for PCI MIDI devices on Linux. http://www.kniggit.net/wwol26.html I'd love to see a Gambas program with more functionality than Cakewalk Audio Pro ;-). If only I know how to program (sigh...) optimus From gambas at ...2... Sun Oct 26 11:00:02 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 26 Oct 2003 11:00:02 +0100 Subject: [Gambas-user] Article In-Reply-To: <200310240209.52642.optimus@...286...> References: <200310240209.52642.optimus@...286...> Message-ID: <200310261100.02597.gambas@...2...> Le Jeudi 23 Octobre 2003 20:09, optimus a ?crit : > On Wednesday 22 October 2003 8:23 pm, danielcampos at ...282... wrote: > > 2) Midi : lot of PCI cards has still a bad midi support on Linux, > > however there are emultators, like timidity, that "parses" midi > > into wav, that are quite useful to play midis on not supported cards, > > Gambas sound developers should care about this fact to let more people > > use Gambas-midi programs. > > Device detection and configuration are more mature in 2.6. This could help > improve support for PCI MIDI devices on Linux. > http://www.kniggit.net/wwol26.html > > I'd love to see a Gambas program with more functionality than Cakewalk > Audio Pro ;-). If only I know how to program (sigh...) > I wrote a MIDI sequencer on my ATARI ST (8MHz and floppy disk) with GFA-Basic and a 68000 assembler routine to dispatch MIDI events. So I know how to program that, but I have no time ! To do that with Gambas you must first write a component that : 1) Dispatches MIDI events and play sound tracks - With 1GHz processors, I think assembly is not necessary anymore, even if 1MHz on a Motorola is better than 1MHz on a Intel. 2) Implements a control that display midi events and sounds like Cakewalk does. For quickness reason... You can do it partly in Gambas too... I don't know if we can freely use the TrueType fonts that draw part symbols. Then you can code during two years :-) A big deal, isn't it ? Any volunteer ? Regards, -- Benoit Minisini mailto:gambas at ...1... From nferraz at ...184... Sun Oct 26 15:03:53 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 26 Oct 2003 12:03:53 -0200 Subject: [Gambas-user] Network article In-Reply-To: <1066934728.2782.2.camel@...278...> References: <1066934728.2782.2.camel@...278...> Message-ID: <3F9BD449.6080207@...184...> Daniel Campos wrote: > Hi! > > Here's a little article which tries to explain the motivations > and structure on network component. Great! I uploaded it here: http://www.binara.com/gambas-wiki/bin/view/Gambas/ArticleNetworkComponent -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Sun Oct 26 15:03:53 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 26 Oct 2003 12:03:53 -0200 Subject: [Gambas-user] Network article In-Reply-To: <1066934728.2782.2.camel@...278...> References: <1066934728.2782.2.camel@...278...> Message-ID: <3F9BD449.6080207@...184...> Daniel Campos wrote: > Hi! > > Here's a little article which tries to explain the motivations > and structure on network component. Great! I uploaded it here: http://www.binara.com/gambas-wiki/bin/view/Gambas/ArticleNetworkComponent -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Sun Oct 26 15:03:53 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 26 Oct 2003 12:03:53 -0200 Subject: [Gambas-user] Network article In-Reply-To: <1066934728.2782.2.camel@...278...> References: <1066934728.2782.2.camel@...278...> Message-ID: <3F9BD449.6080207@...184...> Daniel Campos wrote: > Hi! > > Here's a little article which tries to explain the motivations > and structure on network component. Great! I uploaded it here: http://www.binara.com/gambas-wiki/bin/view/Gambas/ArticleNetworkComponent -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From sourceforge-raindog2 at ...94... Sun Oct 26 16:52:26 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 26 Oct 2003 11:52:26 -0400 Subject: [Gambas-user] mandrake 9.1 and 9.2 packages of 0.70b Message-ID: <200310261052.26653.sourceforge-raindog2@...94...> I finally got my RPM's quasi-sane again in my effort to make them both Benoit-friendly and Mandrake contrib-friendly in their file structure. (Still a couple snags but I'm a lot closer now.) I also have no more 9.0 development boxes to play on, so I'm building for 9.1 and 9.2 now. Please let me know if there are any problems. http://www.kudla.org/index.php?wl_mode=more&wl_eid=37 Rob From sourceforge-raindog2 at ...94... Sun Oct 26 21:42:33 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 26 Oct 2003 16:42:33 -0400 Subject: [Gambas-user] mandrake packages... oops In-Reply-To: <200310261052.26653.sourceforge-raindog2@...94...> References: <200310261052.26653.sourceforge-raindog2@...94...> Message-ID: <200310261542.33383.sourceforge-raindog2@...94...> The help browser doesn't quite work in the RPM's I posted... it's looking in the wrong place for the help files. Working on it now. Rob From danielcampos at ...282... Mon Oct 27 11:58:43 2003 From: danielcampos at ...282... (danielcampos at ...282...) Date: Mon, 27 Oct 2003 11:58:43 CET Subject: [Gambas-user] mandrake 9.1 and 9.2 packages of 0.70b Message-ID: Hi Rob: I think there's a problem with new RPM's of 0.70 version. I've downloaded it. I run Gambas-GUI, and I created a new project, all was going fine until I tried to create a new formulary. The program crashed: Warning: cannot find /usr/lib/gambas-0.70b/lib/info/gb.info Warning: cannot find /usr/lib/gambas-0.70b/lib/info/gb.networking.info Warning: cannot find /usr/lib/gambas-0.70b/lib/info/gb.qt.info SetProperty: Form.X: CControl.?.0: Not an object SetProperty: Form.Y: CControl.?.0: Not an object SetProperty: Form.Width: CControl.?.0: Not an object SetProperty: Form.Height: CControl.?.0: Not an object SetProperty: Form.Visible: CControl.?.0: Not an object SetProperty: Form.Tag: CControl.?.0: Not an object CControl.?.0: #12: Not an object I've seen that, in your RPMS, "lib" and "info" folders are different, program expects to find "info" into "lib", so the solution I found was: cp /usr/lib/gambas-0.70b/info /usr/lib/gambas-0.70b/lib/ -rf And after that, all was OK. I hope it helps Regards, Daniel Campos (By the way, to add a beta package for "networking" component, you should just create an rpm containing the libraries, *.component and *.info files needed by this component, that's the thing we were talking a few days ago) ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From sourceforge-raindog2 at ...94... Mon Oct 27 14:38:11 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 27 Oct 2003 09:38:11 -0400 Subject: [Gambas-user] mandrake 9.1 and 9.2 packages of 0.70b In-Reply-To: References: Message-ID: <200310270838.11726.sourceforge-raindog2@...94...> On Monday 27 October 2003 09:58, danielcampos at ...282... wrote: > I think there's a problem with new RPM's of 0.70 version. There was more than one problem, actually. I spent much of last night bashing away at the rpm's and this morning I expect to release much better ones. Rob From sourceforge-raindog2 at ...94... Mon Oct 27 14:58:07 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 27 Oct 2003 09:58:07 -0400 Subject: [Gambas-user] fixed mandrake 9.1 and 9.2 packages of 0.70b In-Reply-To: <200310261052.26653.sourceforge-raindog2@...94...> References: <200310261052.26653.sourceforge-raindog2@...94...> Message-ID: <200310270858.07245.sourceforge-raindog2@...94...> I fixed a lot of problems with the new RPM's and posted them again. http://www.kudla.org/index.php?wl_mode=more&wl_eid=37 Unless someone finds a serious problem with these in the next day, I'm going to submit them to Mandrake contrib, I think. Rob From jenkdewaele2 at ...43... Tue Oct 28 21:13:34 2003 From: jenkdewaele2 at ...43... (Johan en Katrien Dewaele) Date: Tue, 28 Oct 2003 12:13:34 -0800 (PST) Subject: [Gambas-user] make problem Message-ID: <20031028201334.44099.qmail@...288...> Hi, I'm trying to build gambas 0.70 on my Debian testing/unstable pc but I get following error when trying to make - entering directory 'exec' : [di okt 28][18:07:58]root at ...287...:gambas-0.70# make make all-recursive make[1]: Entering directory `/usr/local/gambas/gambas-0.70' Making all in libltdl make[2]: Entering directory `/usr/local/gambas/gambas-0.70/libltdl' make[2]: Niets te doen voor `all'. make[2]: Leaving directory `/usr/local/gambas/gambas-0.70/libltdl' Making all in src make[2]: Entering directory `/usr/local/gambas/gambas-0.70/src' Making all in share make[3]: Entering directory `/usr/local/gambas/gambas-0.70/src/share' make[3]: Niets te doen voor `all'. make[3]: Leaving directory `/usr/local/gambas/gambas-0.70/src/share' Making all in comp make[3]: Entering directory `/usr/local/gambas/gambas-0.70/src/comp' make[3]: Niets te doen voor `all'. make[3]: Leaving directory `/usr/local/gambas/gambas-0.70/src/comp' make[3]: Niets te doen voor `all'. make[3]: Leaving directory `/usr/local/gambas/gambas-0.70/src/comp' Making all in exec make[3]: Entering directory `/usr/local/gambas/gambas-0.70/src/exec' /bin/sh ../../libtool --mode=link gcc-3.2 -g -O2 -pipe -Wall -g -O0 -o lib.gb.la -rpath /opt/gambas/lib common.lo error.lo alloc.lo array.lo stack.lo buffer.lo replace.lo list.lo hash.lo table.lo type.lo value.lo subst.lo exec.lo exec_loop.lo exec_push.lo exec_enum.lo exec_pop.lo pcode.lo trace.lo class_init.lo class.lo class_native.lo class_load.lo event.lo file.lo stream.lo stream_direct.lo stream_buffer.lo stream_memory.lo stream_arch.lo project.lo library.lo subr.lo su br_file.lo subr_string.lo subr_conv.lo subr_time.lo subr_misc.lo mathext.lo subr _math.lo subr_test.lo gambas_api.lo local.lo regexp.lo archive.lo watch.lo eval. lo compare.lo Number.lo Object.lo String.lo Variant.lo Date.lo Array.lo CClass.l o CCollection.lo CError.lo CGambas.lo CFile.lo CApp.lo CArray.lo CProcess.lo class_info.lo -lm -Lno -lintl ../../libltdl/libltdlc.la ../../libtool: line 1: cd: no: No such file or directory libtool: link: cannot determine absolute directory name of `no' make[3]: *** [lib.gb.la] Fout 1 make[3]: Leaving directory `/usr/local/gambas/gambas-0.70/src/exec' make[2]: *** [all-recursive] Fout 1 make[2]: Leaving directory `/usr/local/gambas/gambas-0.70/src' make[1]: *** [all-recursive] Fout 1 make[1]: Leaving directory `/usr/local/gambas/gambas-0.70' make: *** [all-recursive-am] Fout 2 [di okt 28][18:08:06]root at ...287...:gambas-0.70# I guess I'm missing some library : lib.gb.la ? I can't figure out where to find it. What bothers me also is the '-rpath /opt/gambas/lib' switch when compiling : I don't have this directory on my system. Should I change the path in the different Makefiles ? Please excuse me if I'm asking trivial questions - I appreciate any hint. TIA Johan __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ From gambas at ...2... Tue Oct 28 21:28:34 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 28 Oct 2003 21:28:34 +0100 Subject: [Gambas-user] make problem In-Reply-To: <20031028201334.44099.qmail@...288...> References: <20031028201334.44099.qmail@...288...> Message-ID: <200310282128.34363.gambas@...2...> Le Mardi 28 Octobre 2003 21:13, Johan en Katrien Dewaele a ?crit : > Hi, > > I'm trying to build gambas 0.70 on my Debian > testing/unstable pc but I get following error when > trying to make - entering directory 'exec' : > Could you try the 0.70b instead ? -- Benoit Minisini mailto:gambas at ...1...