From sourceforge-raindog2 at ...19... Thu Aug 7 15:02:49 2003 From: sourceforge-raindog2 at ...19... (Rob) Date: Thu, 7 Aug 2003 09:02:49 -0400 Subject: [Gambas-devel] hardcoded paths in gbi Message-ID: <200308070902.49211.sourceforge-raindog2@...19...> I'm trying to get my Gambas packages accepted by Mandrake for inclusion in contribs. They don't like the way I have separate source RPM's for Gambas itself and the IDE. They suggested I build the C/C++ parts, install them into my RPM temporary directory, set my PATH appropriately, and then build the Gambas parts. Following their suggestions I finally got as far as building the IDE and other parts written in Gambas, but gbi fails with "Cannot read symbolic link /usr/bin/gbx". Looking at gbi.c, that error message (and the check for file /usr/bin/gbx) is hardcoded. This means unless gbx has been installed into /usr/bin you can't generate info files. Removing that error() call causes gbi to segfault without producing any output. Is there a way to make gbi work without needing gbx to be installed in a particular place? Maybe adding a "--use-gbx" or "-g" flag to specify an alternate path? Are there other things that will break if gb* isn't installed into /usr/bin that I haven't thought of yet? I noticed that the #! line at the beginning of the compiled Gambas archives is correctly set to /usr/bin/gbx -x even though I compiled them using a gbx that was in my RPM/tmp/gambas-0.63-build/usr/bin directory, so in some cases hardcoding is good ;) Rob From gambas at ...20... Sat Aug 9 17:17:17 2003 From: gambas at ...20... (Benoit Minisini) Date: Sat, 9 Aug 2003 17:17:17 +0200 Subject: [Gambas-devel] Component programming documentation Message-ID: <200308091717.17877.gambas@...20...> Hi gambas developers, of future gambas developers - I hope :-) I have just finish writing the "How to write components" chapter in the Wiki. I invite every interested people to read it, to ask me every question, to comment it directly on the pages, to tell me if there are mistakes, especially in English. Maybe I should add to this documentation a "How to..." section to answer questions like : "How to write a class like Windows that returns an enumeration of objects ?" or "How to write a container class ?". In the other hand, current components are good examples for you ! I'm waiting for your comments, Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...20... Mon Aug 11 15:00:50 2003 From: gambas at ...20... (Benoit Minisini) Date: Mon, 11 Aug 2003 15:00:50 +0200 Subject: [Gambas-devel] About Gambas future Message-ID: <200308111500.50816.gambas@...20...> Hello, I added a new chapter in the Gambas Wiki, "The future of Gambas". Go there: you will find different topics that I invite you to comment and enrich. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Tue Aug 12 22:22:58 2003 From: danielcampos at ...45... (Daniel Campos) Date: 12 Aug 2003 22:22:58 +0200 Subject: [Gambas-devel] About components Message-ID: <1060719778.2269.6.camel@...49...> Hi! I've been reading documentation about components, and playing a little, and finally I created a little component... but there was a thing that I could not see at documentation and was a little "hell" for me. When starting Gambas-IDE, I found my new component on the list, but each time I tried to use it, the IDE crashed saying that It could not find a file, in my computer "/usr/lib/info/gb.mycomponent.info", finally, looking at the other "info" files, I could create this file by hand, but it was not intuitive at all. Is there any documentation about the format and use of this file that i didn't see? or it is planned to be documented? Thanks Well, I'm going on Hollydays, there will be a few weeks without spanish translations :) Be happy -- Daniel Campos From gambas at ...20... Tue Aug 12 23:30:56 2003 From: gambas at ...20... (Benoit Minisini) Date: Tue, 12 Aug 2003 23:30:56 +0200 Subject: [Gambas-devel] About components In-Reply-To: <1060719778.2269.6.camel@...49...> References: <1060719778.2269.6.camel@...49...> Message-ID: <200308122330.56189.gambas@...20...> Le Mardi 12 Ao?t 2003 22:22, Daniel Campos a ?crit : > Hi! > > I've been reading documentation about components, and playing > a little, and finally I created a little component... but there > was a thing that I could not see at documentation and was a > little "hell" for me. When starting Gambas-IDE, I found my new > component on the list, but each time I tried to use it, the IDE > crashed saying that It could not find a file, in my computer > "/usr/lib/info/gb.mycomponent.info", finally, looking at the > other "info" files, I could create this file by hand, but it > was not intuitive at all. Is there any documentation about the > format and use of this file that i didn't see? or it is planned > to be documented? > > Thanks > > Well, I'm going on Hollydays, there will be a few weeks > without spanish translations :) > > Be happy The *.info file is generated automatically by the gbi program. This is done when you do "make install". Once your component share library is in the good directory, simply type as root : $ gbi -a Regards, -- Benoit Minisini mailto:gambas at ...1... From wizardmansite at ...7... Wed Aug 13 03:02:27 2003 From: wizardmansite at ...7... (Trax) Date: Tue, 12 Aug 2003 18:02:27 -0700 (PDT) Subject: [Gambas-devel] Socket Component In-Reply-To: <00cf01c3551d$cc79e920$000a0a0a@...46...> Message-ID: <20030813010227.30412.qmail@...50...> Just wondering... I do not work so I put all my time into programming... My ultimate goal is to make a Role Playing Game in gambas.. With sound.. Another possibilty is would it be possible to make it internet playable with gambas? It will be a 2-D tile based game? What are the limits? I really want to be able to contribute to the Gambas Community.. Of course it will take a lot of time for me to do this task! But I really wanna do it... I got thousands of Midi,Wav, and RPG type of Graphic files. Gambas Looks Good To Me! I know lots and lots of Microsoft Visual Basic and I have been looking at gambas and see how they kinda cross over each other... But gambas is better.. Caus I am the Free Software type! So what I am saying here is YES my game will be free for all who wanna play! --- Nigel Gerrard wrote: > Benoit, > > I have been looking at a Socket component for Gambas > for several weeks now..trying to fit it in between > my day job which is still fairly hectic at the > moment. > > Attached is a work in progress component ( with a > basic server and client test program) which might be > useful for some of the discussion that has been > going on. There are several problems with it at the > moment...especially around the server side using a > timer for polling. There is also an issue with a > warning message being displayed about 'allocations > not being freed' - I believe it is probably due to > NEW adding to the symbol list. > > Feedback will be useful on whether this can be used > to move forward...I guess ultimately we are likely > to want to use .NET (dotGNU and/or MONO...but I > can't get my head around them at the moment.) > > > Nigel > > ATTACHMENT part 2 application/octet-stream name=Socket.tar.gz > ATTACHMENT part 3 application/octet-stream name=Client.tar.gz > ATTACHMENT part 4 application/octet-stream name=Server.tar.gz __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From sourceforge-raindog2 at ...19... Wed Aug 13 03:43:29 2003 From: sourceforge-raindog2 at ...19... (Rob) Date: Tue, 12 Aug 2003 21:43:29 -0400 Subject: [Gambas-devel] Socket Component In-Reply-To: <20030813010227.30412.qmail@...50...> References: <20030813010227.30412.qmail@...50...> Message-ID: <200308122143.29470.sourceforge-raindog2@...19...> On Tuesday 12 August 2003 21:02, Trax wrote: > Just wondering... I do not work so I put all my time > into programming... My ultimate goal is to make a Role > Playing Game in gambas.. With sound.. Another You currently have a couple of options for doing that, from running an existing sound app with no user interface and pumping a stream of PCM to it constantly to just shelling out to some command line player for events. If your app isn't that sound intensive I'd go with the latter for now and plan to reimplement it later once SDL gets made into a component. > possibilty is would it be possible to make it internet > playable with gambas? You might be able to implement something like that now using some crafty combination of shells out to netcat (nc) and some backend server program you'll have to write in some other language like perl or python, but again, people are working on socket components already and it won't be too long. > It will be a 2-D tile based > game? What are the limits? I really want to be able to There really are no limits as long as you're clever ;) Feel free to grab my Gambas implementation of robotfindskitten (which is so simple it's not called a game but a "zen simulation") off of my website, http://www.kudla.org so you can get the basic idea of how to do a tile based game using just labels on a blank form, then start looking into Image and Picture and DrawingArea objects and embellish from there.... and if you're planning on doing some REALLY BIG maps, don't feel you have to throw the whole thing onto a Scrollview or make a gigantic drawing area, but instead draw just the visible part of your map and the visible players with each move or redraw. Rob From danielcampos at ...45... Wed Aug 13 13:50:48 2003 From: danielcampos at ...45... (Daniel Campos) Date: 13 Aug 2003 13:50:48 +0200 Subject: [Gambas-devel] Re : Socket components Message-ID: <1060775448.1997.27.camel@...49...> Hi! First of all : Thanks, Beno?t, for the "info" files information. Well, now i'm beggining to create a Socket component for Gambas. My idea (I'll work on it at September, cause tomorrow i'm going on Hollydays) is to create a complete "networking" component with the following classes: (RoadMap version 0.0.1) networing | +- DnsClient : a class to convert form names to IPs and viceversa | +- SockClient : A client for TCP, UDP and UNIX sockets | +- SockServer : A server wich accepts multiple connections (TCP/UNIX sockets) | +- FtpClient : A client to simplify connections with ftp servers All these Classes will be multithreated in order to make the work as comfortable as possible. The next step will be : | +- SerialPort : A class to communicate via RS-232/422/485 interfaces | and may be... +- UsbPort? : communications via USB cable As at work my main "know-how" is to communicate with another computers and dispositives, I must announce that I will work hard on this component to have a powerful "gambas-network". The first week of September at least there will be a functional DnsClient, and at the end of September a full-featured "client Socket" and the first step of a socket server. Anybody interested in joinning that project, please feel free to send me comments and ideas. (I anybody wants to send me any source code, please do it at my personal address danielcampos at ...47..., as a receive Gambas-devel as a "daily-digest", and I can't extract attachments correctly). Remember that I can't reply until september! First documentation: Class : DnsClient Properties : *RemoteHostName --> String (for instance "www.yahoo.es"), writeable if Status=0 *RemoteHostIP --> String (for instance "62.81.0.1"), writeable if status=0 *Status (read-only) --> 0 inactive, 1 resolving... Methods : *GetHostName --> Sets ReomteHostName using current RemoteHostIP (if failed RemoteHostName="") *GetHostIP --> Sets RemoeHostIP using current RemoteHostName (if failed RemoteHostIP="") *Stop --> Stops current proccess (if any) Events : *HostResolved (bSuccess as Boolean) --> When proccess finished, TRUE on Success, FALSE if request falied Thanks! -- Daniel Campos From karl.reinl at ...16... Fri Aug 15 22:23:59 2003 From: karl.reinl at ...16... (Charlie) Date: Fri, 15 Aug 2003 22:23:59 +0200 Subject: [Gambas-devel] gambas compiling Message-ID: <3F3D415F.1040000@...16...> Salut Rob and all others whos writing scripts, since gambas deals with KDE and Databases, I type for every new version, a very long ./configure string (without pgsql and kde ) for my SuSE 7.2. So I had the idea to make it with a short script. Reading all the compiling problems in the list, and the dement from Radoslav Dejanovic' to have runtime Version. I thought it would be nice to run a script where you can say yes or no to the most importent options, or better who detect if KDE is on the box and in which version and which Database - engine could be compiled, and in case if an error occured during configure, make or make install the output are written to a file. This could be send to the list. First I thought to write a gambas - program, but what's about first installation or broken installations. Using perl (without any knowleg on my part) I thing would be a good choice, because of string parsing. This kind of 'Installation' we also can call it 'Setup' ,where the user has to have some knowleg, or has to have interact, is not new for people who moves from Windows to Linux, I think. amicalement Charlie From elentirmo at ...51... Wed Aug 20 20:13:30 2003 From: elentirmo at ...51... (Marco Bauer) Date: Wed, 20 Aug 2003 20:13:30 +0200 Subject: [Gambas-devel] Added functionality to the Translation Dialog Message-ID: <200308202013.30525.elentirmo@...51...> Hi, I've made some changes to the FTranslate.class and FTranslate.form to show the number of translations per language (see screenshot and diff-files). Please take a look and tell me if you like it, maybe it could be included into the next release. Gruss Marco -------------- next part -------------- A non-text attachment was scrubbed... Name: FTranslate.png Type: image/png Size: 21484 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FTranslate.form.diff Type: text/x-diff Size: 599 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FTranslate.class.diff Type: text/x-diff Size: 3985 bytes Desc: not available URL: From elentirmo at ...51... Fri Aug 22 08:57:09 2003 From: elentirmo at ...51... (Marco Bauer) Date: Fri, 22 Aug 2003 08:57:09 +0200 Subject: [Gambas-devel] Added functionality to the Translation Dialog In-Reply-To: <200308202013.30525.elentirmo@...51...> References: <200308202013.30525.elentirmo@...51...> Message-ID: <200308220857.09519.elentirmo@...51...> Did I mention that this code concerns gambas version 0.63? Also I have some errata for the code send in my last mail. Sorry for the inconvenience. Concerning the changes I made, I encountered a strange problem: sLang = Project.Config.ReadString("/Language", System.Language) PRINT System.Language; " "; sLang The above lines give the following output: de_DE at ...52... ar_TN What's wrong? I did spend quite some time to figure this out but I have no clue. The same line in the unchanged FTransalte.class gives the right output: de_DE at ...52... de Does anybody have an idea what's wrong? Marco Am Mittwoch, 20. August 2003 20:13 schrieb Marco Bauer: > Hi, > > I've made some changes to the FTranslate.class and FTranslate.form to show > the number of translations per language (see screenshot and diff-files). > Please take a look and tell me if you like it, maybe it could be included > into the next release. > > Gruss > Marco -------------- next part -------------- # Gambas Form File 1.0 { FTranslate Form Move(72,102,729,559) Text = ("Translate project") Border = Window.Fixed { Label1 Label Move(8,8,184,24) Text = ("Translation language [Translations] :") } { cmbLang ComboBox Move(192,8,304,24) Text = (" ") ReadOnly = True Sorted = True } { btnSave Button Move(8,40,24,24) ToolTip = ("Save translation") Text = ("") Picture = Picture["img/16/save-all.png"] Border = False } { btnUndo Button Move(32,40,24,24) ToolTip = ("Reload translation") Text = ("") Picture = Picture["img/16/undo.png"] Border = False } { btnDelete Button Move(56,40,24,24) ToolTip = ("Delete translation") Text = ("") Picture = Picture["img/16/delete.png"] Border = False } { btnOpen Button Move(80,40,24,24) ToolTip = ("Duplicate a translation") Text = ("") Picture = Picture["img/16/copy.png"] Border = False } { btnExport Button Move(104,40,24,24) ToolTip = ("Export a translation") Text = ("") Picture = Picture["img/16/save.png"] Border = False } { btnImport Button Move(128,40,24,24) ToolTip = ("Import a translation") Text = ("") Picture = Picture["img/16/open-file.png"] Border = False } { btnVerify Button Move(152,40,24,24) ToolTip = ("Verify the translation") Text = ("") Picture = Picture["img/16/watch.png"] Border = False } { txtFind TextBox Move(192,40,256,24) Text = ("") } { btnFind Button Move(456,40,24,24) ToolTip = ("Find a string in translation") Text = ("") Picture = Picture["img/16/find.png"] Border = False } { cvwTranslate ColumnView Move(8,72,712,232) Sorted = True Resizable = False ScrollBar = Scroll.Vertical } { Label2 Label Move(8,312,408,24) Text = ("Untranslated string") } { txtOrig TextArea Move(8,336,712,72) Text = ("") ReadOnly = True Wrap = True } { Label3 Label Move(8,416,136,24) Text = ("Translation") } { btnDoNotTranslate Button Move(648,416,24,24) ToolTip = ("This string must not be translated") Text = ("") Picture = Picture["img/16/warning.png"] Border = False } { btnCopy Button Move(672,416,24,24) ToolTip = ("Copy untranslated string") Text = ("") Picture = Picture["img/16/down-b.png"] Border = False } { btnClear Button Move(696,416,24,24) ToolTip = ("Clear this translation") Text = ("") Picture = Picture["img/16/kill.png"] Border = False } { txtTranslate TextArea Move(8,440,712,72) Text = ("") Wrap = True } { lblInfo Label Move(8,528,240,24) Text = ("") } { btnOK Button Move(616,528,104,24) Text = ("&Close") } } -------------- next part -------------- A non-text attachment was scrubbed... Name: FTranslate.class Type: application/x-java Size: 13924 bytes Desc: not available URL: From gambas at ...20... Sat Aug 23 20:49:22 2003 From: gambas at ...20... (Benoit Minisini) Date: Sat, 23 Aug 2003 20:49:22 +0200 Subject: [Gambas-devel] Added functionality to the Translation Dialog In-Reply-To: <200308220857.09519.elentirmo@...51...> References: <200308202013.30525.elentirmo@...51...> <200308220857.09519.elentirmo@...51...> Message-ID: <200308232049.22085.gambas@...20...> Le Vendredi 22 Ao?t 2003 08:57, Marco Bauer a ?crit : > Did I mention that this code concerns gambas version 0.63? > Also I have some errata for the code send in my last mail. > Sorry for the inconvenience. No problem, this is a good idea. I will make changes in this dialog to show the languages that have no translations yet too. When I do that, I will add your changes. > > Concerning the changes I made, I encountered a strange problem: > > sLang = Project.Config.ReadString("/Language", System.Language) > PRINT System.Language; " "; sLang > > The above lines give the following output: > > de_DE at ...52... ar_TN > > What's wrong? I did spend quite some time to figure this out but I have no > clue. The same line in the unchanged FTransalte.class gives the right > output: > > de_DE at ...52... de > > Does anybody have an idea what's wrong? > This config string is just the last language displayed in the combo-box of the translation dialog. It has nothing to do with the system language ! :-) > Marco > -- Benoit Minisini mailto:gambas at ...1... From gambas at ...20... Sat Aug 23 20:45:54 2003 From: gambas at ...20... (Benoit Minisini) Date: Sat, 23 Aug 2003 20:45:54 +0200 Subject: [Gambas-devel] Re : Socket components In-Reply-To: <1060775448.1997.27.camel@...49...> References: <1060775448.1997.27.camel@...49...> Message-ID: <200308232045.54498.gambas@...20...> Le Mercredi 13 Ao?t 2003 13:50, Daniel Campos a ?crit : > Hi! > > First of all : Thanks, Beno?t, for the "info" files > information. > > Well, now i'm beggining to create a Socket > component for Gambas. My idea (I'll work on > it at September, cause tomorrow i'm going on > Hollydays) is to create a complete "networking" component > with the following classes: > > (RoadMap version 0.0.1) > > networing > > +- DnsClient : a class to convert form names to IPs and viceversa > > +- SockClient : A client for TCP, UDP and UNIX sockets > > +- SockServer : A server wich accepts multiple connections (TCP/UNIX > sockets) > > +- FtpClient : A client to simplify connections with ftp servers > > All these Classes will be multithreated in order to make the > work as comfortable as possible. Alas you CAN'T do multithreading, because the interpreter can't support it. More precisely, you cannot raise a gambas event into a thread. It is the reason why for me the network component is TWO components : one for the client, one for server. The client can have all you describe, and the server will implement the single-threading socket watching loop ! > > The next step will be : > > > +- SerialPort : A class to communicate via RS-232/422/485 interfaces > > > and may be... > > +- UsbPort? : communications via USB cable Why not ? I have no skill about that. > > > As at work my main "know-how" is to communicate with another computers > and dispositives, I must announce that I will work hard on this > component to have a powerful "gambas-network". > > The first week of September at least there will be a functional > DnsClient, and at the end of September a full-featured "client Socket" > and the first step of a socket server. So please separate the server stuff from the client stuff. It is really two different things. In general, when you are a client, you just send things and wait for the response. You need to manage connections only when you are a server. > > Anybody interested in joinning that project, please feel free to send > me comments and ideas. (I anybody wants to send me any source code, > please do it at my personal address danielcampos at ...47..., as a > receive Gambas-devel as a "daily-digest", and I can't extract > attachments correctly). Remember that I can't reply until september! > > First documentation: > > Class : DnsClient > > Properties : > > *RemoteHostName --> String (for instance "www.yahoo.es"), writeable if > Status=0 > *RemoteHostIP --> String (for instance "62.81.0.1"), writeable if > status=0 > *Status (read-only) --> 0 inactive, 1 resolving... > > Methods : > > *GetHostName --> Sets ReomteHostName using current RemoteHostIP (if > failed RemoteHostName="") > *GetHostIP --> Sets RemoeHostIP using current RemoteHostName (if failed > RemoteHostIP="") > *Stop --> Stops current proccess (if any) > > Events : > > *HostResolved (bSuccess as Boolean) --> When proccess finished, TRUE on > Success, FALSE if request falied > > > > Thanks! If you can, do like I did with EXEC : a synchronous and an asynchronous mode for the client talk. It will be simpler for the user who just want a address resolution in one line of code. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Thu Aug 28 04:17:42 2003 From: danielcampos at ...45... (Daniel Campos) Date: 28 Aug 2003 04:17:42 +0200 Subject: [Gambas-devel] First step for networking component Message-ID: <1062037062.3340.13.camel@...49...> Hi! Well, i've finished the first little step for the networking component. As threading is not a simple thing into Gambas (as Beno?t remarked in his previous message), I'll work first in the "not-threated" part of this component (DnsClient, socket Client, server...) and after all of this is finished, there will be a work about asynchronous methods... This little first work is a DNS client, this is the implementation: Class: DnsClient Properties: HostName --> you can get/set the host name HostIP --> you can get/set the host IP Methods: GetHostName -->Gets the Host name from the IP stored in "HostIP" and sets the name into "HostName", or "" if failed GetHostIP -->Sets the Host IP from the name stored in "HostName" and sets the IP into "HostIP", or "" if failed Regards, -- Daniel Campos (NOTE : tested on gambas-0.63 I think it will work OK with 0.64a) net_0_0_1 --> source code of the component (I think MakeFile is OK), to be placed at "lib" folder of gambas sources DnsTest.tar.gz --> a sample of use for Gambas -------------- next part -------------- A non-text attachment was scrubbed... Name: net_0_0_1.tar.gz Type: application/x-compressed-tar Size: 5532 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DnsTest.tar.gz Type: application/x-compressed-tar Size: 762 bytes Desc: not available URL: From leo.barnhoorn at ...53... Fri Aug 29 06:02:44 2003 From: leo.barnhoorn at ...53... (Leo Barnhoorn) Date: Thu, 28 Aug 2003 21:02:44 -0700 Subject: [Gambas-devel] First step for networking component In-Reply-To: <1062037062.3340.13.camel@...49...> References: <1062037062.3340.13.camel@...49...> Message-ID: <200308282102.44994.leo.barnhoorn@...53...> Hallo Daniel Campos, > net_0_0_1 --> source code of the component (I think MakeFile is OK), > to be placed at "lib" folder of gambas sources This is the problem i get: Creating the library info files... /opt/gambas/bin/gbi: error while loading shared libraries: libqt-mt.so: cannot open shared object file: No such file or directory make[2]: *** [install-exec-local] Error 127 make[2]: Leaving directory `/root/gambas-0.63' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/root/gambas-0.63' make: *** [install-recursive] Error 1 How can i solve this problem. Thanks Regards, Leo Barnhoorn. On Wednesday 27 August 2003 19:17, Daniel Campos wrote: > Hi! > > Well, i've finished the first little step for the > networking component. As threading is not a simple > thing into Gambas (as Beno?t remarked in his > previous message), I'll work first in the "not-threated" > part of this component (DnsClient, socket Client, server...) > and after all of this is finished, there will be a work about > asynchronous methods... > > This little first work is a DNS client, this is the > implementation: > > Class: > > DnsClient > > > Properties: > > HostName --> you can get/set the host name > HostIP --> you can get/set the host IP > > Methods: > > GetHostName -->Gets the Host name from the IP stored in "HostIP" > and sets the name into "HostName", or "" if failed > > GetHostIP -->Sets the Host IP from the name stored in "HostName" > and sets the IP into "HostIP", or "" if failed > > > Regards, From karl.reinl at ...16... Thu Aug 28 22:37:25 2003 From: karl.reinl at ...16... (Charlie) Date: Thu, 28 Aug 2003 22:37:25 +0200 Subject: [Gambas-devel] First step for networking component References: <1062037062.3340.13.camel@...49...> Message-ID: <3F4E6805.7010705@...16...> Daniel Campos schrieb: >Hi! > > Well, i've finished the first little step for the >networking component. As threading is not a simple >thing into Gambas (as Beno?t remarked in his >previous message), I'll work first in the "not-threated" >part of this component (DnsClient, socket Client, server...) >and after all of this is finished, there will be a work about >asynchronous methods... > >This little first work is a DNS client, this is the >implementation: > > > Salut Daniel, I placed it in "lib" folder of gambas sources and NOW. What ?????? Nothing happend. I think that was not all, to place it !!!! Amicalement Charlie From leo.barnhoorn at ...53... Fri Aug 29 09:17:30 2003 From: leo.barnhoorn at ...53... (Leo Barnhoorn) Date: Fri, 29 Aug 2003 00:17:30 -0700 Subject: [Gambas-devel] First step for networking component In-Reply-To: <1062037062.3340.13.camel@...49...> References: <1062037062.3340.13.camel@...49...> Message-ID: <200308290017.31026.leo.barnhoorn@...53...> Hallo Daniel, On Wednesday 27 August 2003 19:17, Daniel Campos wrote: > Hi! > > Well, i've finished the first little step for the > networking component. As threading is not a simple > thing into Gambas (as Beno?t remarked in his > previous message), I'll work first in the "not-threated" > part of this component (DnsClient, socket Client, server...) > and after all of this is finished, there will be a work about > asynchronous methods... > > This little first work is a DNS client, this is the > implementation: The problem i had, after trying to install your networking library in solved. Creating the library info files... /opt/gambas/bin/gbi: error while loading shared libraries: libqt-mt.so: cannot open shared object file: No such file or directory make[2]: *** [install-exec-local] Error 127 make[2]: Leaving directory `/root/gambas-0.63' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/root/gambas-0.63' make: *** [install-recursive] Error 1 The LD_LIBRARY_PATH was deleted, so i exported a new LD_LIBRARY_PATH and no problems anymore. The creating of the library info files is working again. Regards, Leo Barnhoorn. From leo.barnhoorn at ...53... Sat Aug 30 10:43:37 2003 From: leo.barnhoorn at ...53... (Leo Barnhoorn) Date: Sat, 30 Aug 2003 01:43:37 -0700 Subject: [Gambas-devel] Error Gambas-065 In-Reply-To: <200308091717.17877.gambas@...20...> References: <200308091717.17877.gambas@...20...> Message-ID: <200308300143.37577.leo.barnhoorn@...53...> Hallo Benoit, I have the following Error: ERROR: #27: Cannot load component '/opt/gambas/lib/lib.gb.qt.la': invalid module handle Everything is going well, starting Gambas selecting a project and at the moment that i go to the menu Project - Properties, still no problem at the moment that i leave the property window. The project is not running any more i get the ERROR #27 I have running SuSE 8.2 Regards, Leo Barnhoorn. From gambas at ...20... Sat Aug 30 10:51:12 2003 From: gambas at ...20... (Benoit Minisini) Date: Sat, 30 Aug 2003 10:51:12 +0200 Subject: [Gambas-devel] Error Gambas-065 In-Reply-To: <200308300143.37577.leo.barnhoorn@...53...> References: <200308091717.17877.gambas@...20...> <200308300143.37577.leo.barnhoorn@...53...> Message-ID: <200308301051.12790.gambas@...20...> Le Samedi 30 Ao?t 2003 10:43, Leo Barnhoorn a ?crit : > Hallo Benoit, > > I have the following Error: > > ERROR: #27: Cannot load component '/opt/gambas/lib/lib.gb.qt.la': invalid > module handle > > Everything is going well, starting Gambas selecting a project and at the > moment that i go to the menu Project - Properties, still no problem at the > moment that i leave the property window. The project is not running any > more i get the ERROR #27 > > I have running SuSE 8.2 > > Regards, > > Leo Barnhoorn. > This is a bug ! I'm currently trying to fix it... I will post a patch as soon as possible... -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Sat Aug 30 20:59:51 2003 From: danielcampos at ...45... (Daniel Campos) Date: 30 Aug 2003 20:59:51 +0200 Subject: [Gambas-devel] Networking 0.0.2 Message-ID: <1062269990.23016.7.camel@...49...> Hi! I've "released" version 0.0.2 of the networking component. As I saw some problems on people trying to compile it, I've written a little README in order to help people who wants to compile and test this component. Now, it implements the first part of the Client-Socket, so you can now connect, send and receive data to Socket servers (TCP). Unpacking this file, you'll find a "networking" folder. Into it, there's a folder called "DOC" with two files: -README : help for compiling -An HTML documentation about CDnsClient and CClientSocket to work with them. If somebody who knows more than me about "MakeFiles", wants to send me any correction or idea, I would be very pleased. Current MakeFile is a modification of "Example" component makefile, and may be it has more stuff than necessary. A better translation to English of the HTML doc would be also neccesary. Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: net_0_0_2.tar.gz Type: application/x-compressed-tar Size: 9619 bytes Desc: not available URL: From Gambasfr at ...4... Thu Aug 28 23:16:50 2003 From: Gambasfr at ...4... (Fabien BODARD) Date: Thu, 28 Aug 2003 23:16:50 +0200 Subject: [Gambas-devel] First step for networking component In-Reply-To: <3F4E6805.7010705@...16...> References: <1062037062.3340.13.camel@...49...> <3F4E6805.7010705@...16...> Message-ID: <200308282316.50449.Gambasfr@...4...> Le Jeudi 28 Ao?t 2003 22:37, Charlie a ?crit : > Daniel Campos schrieb: > >Hi! > > > > Well, i've finished the first little step for the > >networking component. As threading is not a simple > >thing into Gambas (as Beno?t remarked in his > >previous message), I'll work first in the "not-threated" > >part of this component (DnsClient, socket Client, server...) > >and after all of this is finished, there will be a work about > >asynchronous methods... > > > >This little first work is a DNS client, this is the > >implementation: > > Salut Daniel, > > I placed it in "lib" folder of gambas sources and NOW. > > What ?????? > > Nothing happend. > > I think that was not all, to place it !!!! > > Amicalement > Charlie > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel Salut Daniel et Charlie You must to edit the component file in Gambas-0.64a/src/lib This give the slot for use the new component ! Fabien