From danielcampos at ...45... Wed Jun 2 19:08:13 2004 From: danielcampos at ...45... (Daniel Campos) Date: Wed, 02 Jun 2004 19:08:13 +0200 Subject: [Gambas-devel] Strange bug... Message-ID: <1086196093.3666.3.camel@...102...> Hi Benoit: Did you notice the extrange appearance of the Gambas mascot under Gnome? It's Window is visible! Regards, -- Daniel Campos (I don't know when GTK+ component will be available but I'm gonna discover all QT bugs before :-))) -------------- next part -------------- A non-text attachment was scrubbed... Name: shot.png Type: image/png Size: 62322 bytes Desc: not available URL: From gambas at ...1... Wed Jun 2 21:04:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Jun 2004 21:04:48 +0200 Subject: [Gambas-devel] Strange bug... In-Reply-To: <1086196093.3666.3.camel@...102...> References: <1086196093.3666.3.camel@...102...> Message-ID: <200406022104.49410.gambas@...1...> On Wednesday 02 June 2004 19:08, Daniel Campos wrote: > Hi Benoit: > > Did you notice the extrange appearance of the Gambas mascot under Gnome? > It's Window is visible! > > > Regards, Metacity is right, and kwin is false. The border of the mascot window was set to 'Fixed'. Try to set it to 'None', and the border disappears in both environments. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Thu Jun 3 18:40:05 2004 From: danielcampos at ...45... (Daniel Campos) Date: Thu, 03 Jun 2004 18:40:05 +0200 Subject: [Gambas-devel] Bug : QT component Message-ID: <1086280805.2337.5.camel@...102...> Hi Benoit: I was testing menus with GTK+, and I was looking how QT works when executing menu.Delete. Look the example I send: 1) I start the button and press 'Detruir' -> OK, error message 'NULL object' 2) i start the button 'Crear' --> Menu and submenus created. Then I press one time 'Destruir' --> OK, menu destroyed --> Then I press four or five times 'Destruir' again --> Segmentation fault By other side, If I perform a loop For Each X in Form.Children, Menus are not reflected as form children. Is this normal? Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tar.gz Type: application/x-compressed-tar Size: 3483 bytes Desc: not available URL: From danielcampos at ...45... Thu Jun 3 18:58:45 2004 From: danielcampos at ...45... (Daniel Campos) Date: Thu, 03 Jun 2004 18:58:45 +0200 Subject: [Gambas-devel] Another extrange thing Message-ID: <1086281924.2442.10.camel@...102...> Hi: Create a Form with two buttons, and add the following code: PRIVATE P AS Menu PRIVATE Q AS Menu PUBLIC SUB Button1_Click() DIM R AS Menu P=NEW Menu(ME) Q=NEW Menu(P) R=NEW Menu(Q) P.Text="ONE" Q.Text="TWO" R.Text="THREE" END PUBLIC SUB Button2_Click() Message.Info(P.Children.Count) P.Children.Clear Message.Info(P.Children.Count) END First, press the 'Button1' a Menu is created: --------------------- | One | | | | | Two - three | --------------------- Note that 'Two' has a child. Then press 'Button2', the sequence is "one child" - clearing - "one child", I think it should report just "0 children' But now try that code, in which 'Q' is a local variable: PUBLIC SUB Button1_Click() DIM Q AS Menu DIM R AS Menu P=NEW Menu(ME) Q=NEW Menu(P) R=NEW Menu(Q) P.Text="ONE" Q.Text="TWO" R.Text="THREE" END PUBLIC SUB Button2_Click() Message.Info(P.Children.Count) P.Children.Clear Message.Info(P.Children.Count) END press 'Button1', then press 'Button2', the sequence is "one child" - clearing - "0 children". This is too confusing... Why you add a reference to a local variable, but you change the children count in both cases? I suppose you add a reference because the menu is a child of another control,but 'children' count is different! And what happened with 'R' in both cases? Regards, -- Daniel Campos From gambas at ...1... Thu Jun 3 23:14:02 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Jun 2004 23:14:02 +0200 Subject: [Gambas-devel] Bug : QT component In-Reply-To: <1086280805.2337.5.camel@...102...> References: <1086280805.2337.5.camel@...102...> Message-ID: <200406032314.03427.gambas@...1...> On Thursday 03 June 2004 18:40, Daniel Campos wrote: > Hi Benoit: > > > I was testing menus with GTK+, and I was looking how QT works > when executing menu.Delete. > > Look the example I send: > > 1) I start the button and press 'Detruir' -> OK, error message 'NULL > object' > > 2) i start the button 'Crear' --> Menu and submenus created. Then I > press one time 'Destruir' --> OK, menu destroyed --> Then I press > four or five times 'Destruir' again --> Segmentation fault > There is a bug in the menu delete process. I think it does not free all it should free. For example, if you add "P = NULL" after "P.Delete", everything works correctly. I will try to fix it - the CMenu.cpp code is very complicated! > > By other side, If I perform a loop For Each X in Form.Children, Menus > are not reflected as form children. Is this normal? Yes, menus are in Form.Menus. > > Regards, Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jun 3 23:15:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Jun 2004 23:15:36 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <1086281924.2442.10.camel@...102...> References: <1086281924.2442.10.camel@...102...> Message-ID: <200406032315.36650.gambas@...1...> On Thursday 03 June 2004 18:58, Daniel Campos wrote: > Hi: > > Create a Form with two buttons, and add the following code: > > PRIVATE P AS Menu > PRIVATE Q AS Menu > > PUBLIC SUB Button1_Click() > > DIM R AS Menu > > P=NEW Menu(ME) > Q=NEW Menu(P) > R=NEW Menu(Q) > P.Text="ONE" > Q.Text="TWO" > R.Text="THREE" > > END > > PUBLIC SUB Button2_Click() > > Message.Info(P.Children.Count) > P.Children.Clear > Message.Info(P.Children.Count) > > END > > First, press the 'Button1' a Menu is created: > > --------------------- > > | One | > | > | Two - three | > > --------------------- > > Note that 'Two' has a child. Then press 'Button2', the sequence is > "one child" - clearing - "one child", I think it should report > just "0 children' > > > But now try that code, in which 'Q' is a local variable: > > PUBLIC SUB Button1_Click() > > DIM Q AS Menu > DIM R AS Menu > > P=NEW Menu(ME) > Q=NEW Menu(P) > R=NEW Menu(Q) > P.Text="ONE" > Q.Text="TWO" > R.Text="THREE" > > END > > PUBLIC SUB Button2_Click() > > Message.Info(P.Children.Count) > P.Children.Clear > Message.Info(P.Children.Count) > > END > > press 'Button1', then press 'Button2', the sequence is > "one child" - clearing - "0 children". > > This is too confusing... Why you add a reference to a local variable, > but you change the children count in both cases? > > I suppose you add a reference because the menu is a child of another > control,but 'children' count is different! > > And what happened with 'R' in both cases? > > Regards, Hmmm... Very strange, I must admit :-) I think this is the same problem as before, because P.Children.Clear do many deletes. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Fri Jun 4 00:22:59 2004 From: danielcampos at ...45... (Daniel Campos) Date: Fri, 04 Jun 2004 00:22:59 +0200 Subject: [Gambas-devel] Bug : QT component Message-ID: <1086301379.14792.5.camel@...102...> >works correctly. I will try to fix it - the CMenu.cpp code is very >complicated! > Yes I noticed there are lots of lines in the QT CMenu.cpp file. I was surprised as usually QT is known to have a simpler or better interface than GTK+... Well, if somebody wants to have fast performance for an "only-menus" application written in Gambas will be able to do it with GTK+ in the future:-))) > >Yes, menus are in Form.Menus. > OK, I found it! Regards, -- Daniel Campos From gambas at ...1... Fri Jun 4 20:40:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 Jun 2004 20:40:00 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <1086281924.2442.10.camel@...102...> References: <1086281924.2442.10.camel@...102...> Message-ID: <200406042040.00703.gambas@...1...> Hi, Daniel, I joined two patch files: can you try them and tell me if the two menu bugs you noticed have effectively disappeared ? Thanks in advance! Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: CMenu.cpp Type: text/x-c++src Size: 19384 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CMenu.h Type: text/x-chdr Size: 2493 bytes Desc: not available URL: From daniel.campos at ...103... Sat Jun 5 00:28:10 2004 From: daniel.campos at ...103... (Daniel) Date: Sat, 05 Jun 2004 00:28:10 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <200406042040.00703.gambas@...1...> References: <1086281924.2442.10.camel@...102...> <200406042040.00703.gambas@...1...> Message-ID: <1086388090.4586.7.camel@...102...> OK, it works! Just 3 questions more... There are two properties that have not effect in 'root menus', that is, menus that are children of a Window: - Picture : these menus have no picture, but I can do Menu.Picture=(a picture), and that menu seems to really have a picture (I can read the property) - Checked : these menus do not show the 'check', and if I try to do Menu.Checked=TRUE, when I read the property it always says 'FALSE' And the questions are: 1) Why these menus have no picture and can not be checked? 2) If it is not possible or desiderable(why not?), why picture property is stored, but 'checked' has no effect? 3) Why these root menus, and menus which have children do not fire the 'clicked' event? Regards, Daniel Campos El vie, 04-06-2004 a las 20:40, Benoit Minisini escribi?: > Hi, Daniel, > > I joined two patch files: can you try them and tell me if the two menu bugs > you noticed have effectively disappeared ? > > Thanks in advance! > > Regards, From gambas at ...1... Sat Jun 5 00:49:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Jun 2004 00:49:15 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <1086388090.4586.7.camel@...102...> References: <1086281924.2442.10.camel@...102...> <200406042040.00703.gambas@...1...> <1086388090.4586.7.camel@...102...> Message-ID: <200406050049.15205.gambas@...1...> On Saturday 05 June 2004 00:28, Daniel wrote: > OK, it works! Cool. > > Just 3 questions more... There are two properties that have not effect > in 'root menus', that is, menus that are children of a Window: > > - Picture : these menus have no picture, but I can do Menu.Picture=(a > picture), and that menu seems to really have a picture (I can read the > property) > > - Checked : these menus do not show the 'check', and if I try to do > Menu.Checked=TRUE, when I read the property it always says 'FALSE' > > > And the questions are: > > 1) Why these menus have no picture and can not be checked? Because of QT: the menu class hides all the specific Qt management of menus. In a few words: QT has only a QPopupMenu class that you fills with separators and entries, that are not widgets! To have the same simple semantic as VB, a gambas menu object becomes a true QT QPopupMenu widget only when it gets children. Otherwise, it is just an item inserted in its parent, which can be a QPopupMenu, or the menubar of the window. And the window menu bar is a QMenuBar widget that don't display the pictures associated with its entries. So... > > 2) If it is not possible or desiderable(why not?), why picture property > is stored, but 'checked' has no effect? Checked has no effect because QMenuBar do not use it. > > 3) Why these root menus, and menus which have children do not fire the > 'clicked' event? Because of QT. QPopupMenu and QMenuBar raise a signal when one if its child is clicked, except if it is another poupmenu. And QMenuBar raises the signal, but the gambas don't catch it. I didn't do that because I don't like entries in the window menu bar that are not real menus. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Sat Jun 5 00:53:40 2004 From: danielcampos at ...45... (Daniel Campos) Date: Sat, 05 Jun 2004 00:53:40 +0200 Subject: [Gambas-devel] About GB_VARIANT_VALUE Message-ID: <1086389620.4700.2.camel@...102...> Hi again: Now I'm beginning to write the 'Delete' method for controls and trying to free all properly, as you know 'tag' property is stored in: GB_VARIANT_VALUE tag; How can I free that? is GB.Free() OK or should I use any other function? Regards, -- Daniel Campos From gambas at ...1... Sat Jun 5 00:55:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Jun 2004 00:55:15 +0200 Subject: [Gambas-devel] About GB_VARIANT_VALUE In-Reply-To: <1086389620.4700.2.camel@...102...> References: <1086389620.4700.2.camel@...102...> Message-ID: <200406050055.15396.gambas@...1...> On Saturday 05 June 2004 00:53, Daniel Campos wrote: > Hi again: > > Now I'm beginning to write the 'Delete' method for controls and > trying to free all properly, as you know 'tag' property is > stored in: > > GB_VARIANT_VALUE tag; > > How can I free that? is GB.Free() OK or should I use any other > function? > > Regards, GB.StoreVariant(NULL, &tag); I suggest you read the CWidget.cpp QT component source file. Everything is done after receiving a 'destroy' signal. I think you should have an equivalent signal in GTK+, and that you just have to copy and adapt the code from the QT component. Regards, -- Benoit Minisini mailto:gambas at ...1... From grahame at ...132... Sat Jun 5 01:13:25 2004 From: grahame at ...132... (Grahame White) Date: Sat, 5 Jun 2004 00:13:25 +0100 Subject: [Gambas-devel] Odd bug Message-ID: <200406050013.25747.grahame@...132...> Could someone try this and see if they get the same results. Run the attached project and do the following : 1) click help->rules 2) click next 3) click next 4) click back I've altered my code so that the heading displays the height of the FRules form. What I'm seeing here is that the height of the form after step 2 is 536, after step 3 the height is 520 and after step 4 the value is 536 but the actual height of the form as it appears on the screen is 520. Grahame -------------- next part -------------- A non-text attachment was scrubbed... Name: solitaire-0.9.4.tar.gz Type: application/x-tgz Size: 12807 bytes Desc: not available URL: From daniel.campos at ...103... Sat Jun 5 14:17:51 2004 From: daniel.campos at ...103... (Daniel) Date: Sat, 05 Jun 2004 14:17:51 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <200406050049.15205.gambas@...1...> References: <1086281924.2442.10.camel@...102...> <200406042040.00703.gambas@...1...> <1086388090.4586.7.camel@...102...> <200406050049.15205.gambas@...1...> Message-ID: <1086437870.3232.2.camel@...102...> I'm afraid but there's another problem with menus: 'Delete' event never raises, nor using "menu.delete" nor killing the parent window or menu. (using both old CMenu files and the fixed new you sent me) Regards, Daniel Campos El s?b, 05-06-2004 a las 00:49, Benoit Minisini escribi?: > On Saturday 05 June 2004 00:28, Daniel wrote: > > OK, it works! > > Cool. > > > > > Just 3 questions more... There are two properties that have not effect > > in 'root menus', that is, menus that are children of a Window: > > > > - Picture : these menus have no picture, but I can do Menu.Picture=(a > > picture), and that menu seems to really have a picture (I can read the > > property) > > > > - Checked : these menus do not show the 'check', and if I try to do > > Menu.Checked=TRUE, when I read the property it always says 'FALSE' > > > > > > And the questions are: > > > > 1) Why these menus have no picture and can not be checked? > > Because of QT: the menu class hides all the specific Qt management of menus. > > In a few words: QT has only a QPopupMenu class that you fills with separators > and entries, that are not widgets! > > To have the same simple semantic as VB, a gambas menu object becomes a true QT > QPopupMenu widget only when it gets children. Otherwise, it is just an item > inserted in its parent, which can be a QPopupMenu, or the menubar of the > window. > > And the window menu bar is a QMenuBar widget that don't display the pictures > associated with its entries. So... > > > > > 2) If it is not possible or desiderable(why not?), why picture property > > is stored, but 'checked' has no effect? > > Checked has no effect because QMenuBar do not use it. > > > > > 3) Why these root menus, and menus which have children do not fire the > > 'clicked' event? > > Because of QT. QPopupMenu and QMenuBar raise a signal when one if its child is > clicked, except if it is another poupmenu. And QMenuBar raises the signal, > but the gambas don't catch it. I didn't do that because I don't like entries > in the window menu bar that are not real menus. > > Regards, From gambas at ...1... Sat Jun 5 22:28:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Jun 2004 22:28:42 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <1086437870.3232.2.camel@...102...> References: <1086281924.2442.10.camel@...102...> <200406050049.15205.gambas@...1...> <1086437870.3232.2.camel@...102...> Message-ID: <200406052228.42125.gambas@...1...> On Saturday 05 June 2004 14:17, Daniel wrote: > I'm afraid but there's another problem with menus: > > 'Delete' event never raises, nor using "menu.delete" nor > killing the parent window or menu. > > (using both old CMenu files and the fixed new you sent me) > > Regards, > > Daniel Campos > Hmm... Logical :-) The event is not used in the source code !! I think I will remove this event for controls and menus, as it can easily make the application crashes. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...45... Sat Jun 5 23:18:58 2004 From: danielcampos at ...45... (Daniel Campos) Date: Sat, 05 Jun 2004 23:18:58 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <200406052228.42125.gambas@...1...> References: <1086281924.2442.10.camel@...102...> <200406050049.15205.gambas@...1...> <1086437870.3232.2.camel@...102...> <200406052228.42125.gambas@...1...> Message-ID: <1086470338.3218.7.camel@...102...> El s?b, 05-06-2004 a las 22:28, Benoit Minisini escribi?: > On Saturday 05 June 2004 14:17, Daniel wrote: > > I'm afraid but there's another problem with menus: > > > > 'Delete' event never raises, nor using "menu.delete" nor > > killing the parent window or menu. > > > > (using both old CMenu files and the fixed new you sent me) > > > > Regards, > > > > Daniel Campos > > > > Hmm... Logical :-) > > The event is not used in the source code !! > > I think I will remove this event for controls and menus, as it can easily make > the application crashes. > Yes, '.Delete' is complex and a headache for programmers (both component and gambas programmers) Then, I will not implement this in GTK+... except for windows? I think Nobody needs that as 'Close' already exists,It can be cancelled and the object already exists, I think better removing it also for windows, don't you? By the way, each time I try to graphically design a form using GTK+, gambas IDE crashes telling lots of error like this: ... Error: Form.Text = "GTK+ TEST" SetProperty: Form.Border: CControl.SetProperty.348: Null object Error: Form.Border = Window.Fixed SetProperty: Form.Width: CControl.SetProperty.348: Null object SetProperty: Form.Height: CControl.SetProperty.348: Null object SetProperty: Form.X: CControl.SetProperty.348: Null object SetProperty: Form.Y: CControl.SetProperty.348: Null object SetProperty: Form.Width: CControl.SetProperty.348: Null object SetProperty: Form.Height: CControl.SetProperty.348: Null object SetProperty: Form.X: CControl.SetProperty.348: Null object SetProperty: Form.Y: CControl.SetProperty.348: Null object ... I think the Gambas IDE does not recognize GTK component as graphical component, or something like that, but I can't find it... What can I do? Regards Daniel Campos -- Daniel Campos From gambas at ...1... Sun Jun 6 10:00:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 6 Jun 2004 10:00:45 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <1086470338.3218.7.camel@...102...> References: <1086281924.2442.10.camel@...102...> <200406052228.42125.gambas@...1...> <1086470338.3218.7.camel@...102...> Message-ID: <200406061000.45819.gambas@...1...> On Saturday 05 June 2004 23:18, Daniel Campos wrote: > El s?b, 05-06-2004 a las 22:28, Benoit Minisini escribi?: > > On Saturday 05 June 2004 14:17, Daniel wrote: > > > I'm afraid but there's another problem with menus: > > > > > > 'Delete' event never raises, nor using "menu.delete" nor > > > killing the parent window or menu. > > > > > > (using both old CMenu files and the fixed new you sent me) > > > > > > Regards, > > > > > > Daniel Campos > > > > Hmm... Logical :-) > > > > The event is not used in the source code !! > > > > I think I will remove this event for controls and menus, as it can easily > > make the application crashes. > > Yes, '.Delete' is complex and a headache for programmers (both component > and gambas programmers) Then, I will not implement > this in GTK+... except for windows? I think Nobody needs that > as 'Close' already exists,It can be cancelled and the object already > exists, I think better removing it also for windows, don't you? 1.. 2.. 3.. Removed! > > By the way, each time I try to graphically design a form using GTK+, > gambas IDE crashes telling lots of error like this: > > ... > Error: Form.Text = "GTK+ TEST" > SetProperty: Form.Border: CControl.SetProperty.348: Null object > Error: Form.Border = Window.Fixed > SetProperty: Form.Width: CControl.SetProperty.348: Null object > SetProperty: Form.Height: CControl.SetProperty.348: Null object > SetProperty: Form.X: CControl.SetProperty.348: Null object > SetProperty: Form.Y: CControl.SetProperty.348: Null object > SetProperty: Form.Width: CControl.SetProperty.348: Null object > SetProperty: Form.Height: CControl.SetProperty.348: Null object > SetProperty: Form.X: CControl.SetProperty.348: Null object > SetProperty: Form.Y: CControl.SetProperty.348: Null object > ... > > I think the Gambas IDE does not recognize GTK component as graphical > component, or something like that, but I can't find it... What can I do? Mmm... It should work. Send me your gtk component, and I will see what I missed in the IDE. > > > Regards > > Daniel Campos Regards, -- Benoit Minisini mailto:gambas at ...1... From abidoo.too at ...4... Sat Jun 5 22:39:00 2004 From: abidoo.too at ...4... (Fabien Bodard) Date: Sat, 5 Jun 2004 22:39:00 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <200406052228.42125.gambas@...1...> References: <1086281924.2442.10.camel@...102...> <1086437870.3232.2.camel@...102...> <200406052228.42125.gambas@...1...> Message-ID: <200406052239.00807.abidoo.too@...4...> Le samedi 5 Juin 2004 22:28, Benoit Minisini a ?crit : > On Saturday 05 June 2004 14:17, Daniel wrote: > > I'm afraid but there's another problem with menus: > > > > 'Delete' event never raises, nor using "menu.delete" nor > > killing the parent window or menu. > > > > (using both old CMenu files and the fixed new you sent me) > > > > Regards, > > > > Daniel Campos > > Hmm... Logical :-) > > The event is not used in the source code !! > > I think I will remove this event for controls and menus, as it can easily > make the application crashes. > > Regards, and about the hide event ? Since 5 or 6 month i try to do a quick explorer based on menu... but if i scan all my directories, i think it take too many ressources. So i i've a hide event i can dynamiquely (hem) delete the child menu ! or all the menu when the upper parent is closed. I've trying do add this feature myself, but it crash. Mabe, you can do that. It will be more usefull than the delete event. Salutation, Fabien Bodard From danielcampos at ...45... Sun Jun 13 01:50:32 2004 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 13 Jun 2004 01:50:32 +0200 Subject: [Gambas-devel] New net-curl version Message-ID: <1087084232.10582.11.camel@...102...> Hi: Here's a new version of the net.curl component : 0.4.0 ----- * HttpClient : some code improvements so now it is faster,smaller and wastes less memory. * Added 'FtpClient' class. -> Remember this component is still ALPHA software -> FtpClient provides just two methods: Get (which allows also to retrieve a file listing for a directory) and Put. -> This version works with curl 7.11.0, I do not know if it can work with previous versions, and I will remove current support for previous versions when I include new features, as I have not time enough to test it with 7.10.8, 7.10.7 , etc, and manage the big bugs existing in these versions in the curl_multi interface, however, if anybody wants to do that, feel free to do it, this is free software:-) -> I have not examples yet :-( P.D: Beno?t: since I applied the patch in the Gambas IDE to allow GTK work, I can not insert any of the network controls in a form, as each time I try to save the project I receive the message 'Type Mismatch, wanted string, got integer instead' -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: curl.tar.bz2 Type: application/x-bzip Size: 11452 bytes Desc: not available URL: -------------- next part -------------- 0.4.0 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93b) * HttpClient : some code improvements so now it is faster,smaller and wastes less memory. * Added 'FtpClient' class. 0.3.1 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93) * Added two new properties to Socket class. They are read/write, the first is called 'Port'. if value is zero (Net.Local), connection will try to stablish a Local socket, else a TCP connection will be stablished. The second, 'HostOrPath' can be a Host or a local path. * Socket constructor has now no parameters. * Conect method has now two optional parameters. The first can override 'HostOrPath' property, and the second overrides 'Port' property 0.3.0 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93) * Added code to let the IDE show icons for all net classes. * Removed lots of code to make the component lighter and faster. 0.2.3 (net - STABLE / curl - ALPHA - compiles on Gambas 0.90) * Fixed a bug in UdpClient : segmentation fault when reading or writing data * Fixed a bug in UDPServerClient example : trying to use CLOSE when UdpClient is not active * defined before to allow compile on FreeBSD 0.2.2 (ALPHA - compiles on Gambas 0.81) * 'NetCode' and 'AdvancedCode' classes changed to 'Net' * Proxy properties from 'HttpClient' has been added into a new class called 'Proxy' * 'ReturnCode' and 'ReturnString' properties are now called 'Code' and 'Reason' * This version should compile now using libcurl 7.10.3, 7.10.4, 7.10.5, 7.10.6, 7.10.7, 7.10.8 and 7.11.0 * now is after in all files to allow compile it on FreeBSD 0.2.1 (ALPHA - compiles on Gambas 0.81) * Examples Updated * New HttpClient interface defined * 'AdvancedCode' class provides constants for 'Net.Advanced' component 0.2.0 (ALPHA - compiles on Gambas 0.80) * Examples updated * Modifications in configuration scripts to detect libcurl * 'NetCode' provide the constants needed to work with all network classes * 'Net advanced' includes not : CHttpClient, and will include other classes using libcurl * 'Net' includes now : Socket, SerialPort,ServerSocket,UdpSocket,DnsClient and NetCode, that is, basic networking stuff * 'Net' component splitted it two components: 'Net' and 'Advanced net' 0.1.4 (STABLE - Gambas 0.80) BM - Changes to allow the component compile on systems without MSG_NOSIGNAL flag 0.1.3 (Gambas 0.74) BM - 20 Dec 2003 - Let component compile with gcc 2.95 0.1.2 * Added HTTP proxy support for 'HttpClient' class 0.1.1 (Gambas 0.73) * Corrected bug in 'HttpClient' class that didn't convert correctly document query to HTTP codification * Added support for Solaris 0.1.0 * Added 'HttpClient.Local' constant as sinonym of 'HttpClient.Unix' * Changed 'HttpClient.Inet' constant to 'HttpClient.Internet' 0.1.0pre7 * Using sys/un.h instead of linux/un.h in 'Socket' and 'ServerSocket' classes * Added option 'SO_REUSEADDR' to socket in 'ServerSocket' class * 'ServerSocket' example fixed * Documentation fixed 0.1.0pre6 * Memory allocation bug fixed in 'Socket' class * Memory allocation bug fixed in 'SerialPort' class * Lots of internal code reorganization * Some memory optimizations in 'Socket' and 'ServerSocket' * UDPServerClient example fixed * ServerSocket example fixed 0.1.0pre5 * Constant names changed in all classes to be more simple * Parameters in methods and events does not include its type as a prefix now * 'ConnectUnix' and 'ConnectSocket' methods merged in one method : 'Connect' * 'ServerSocket' 'SocketType' property changed to 'Type' * 'ConnectionRequest' event in 'ServerSocket' changed to 'Connection' * 'Accept' method from 'ServerSocket' does not take any parameter now * 'HostFound' events from 'Socket' and 'HttpClient' changed to 'Found' * Datagram class now inherits from '.Stream' * Removed 'DataPacket' class * New properties 'SourceHost', 'SourcePort', 'TargetHost', 'TargetPort' in 'Datagram' class * New method 'Peek' in 'Datagram' class * Removed methods 'Stop','Receive' and 'Send' from 'Datagram' class * 'Start' method from 'Datagram' Changed to 'Bind' * 'Datagram' class changed its name to 'UdpSocket' * Documentation updated * Examples updated 0.1.0pre4 * Removed Close() method from 'Socket' and 'SerialPort' classes, translated to standard stream methods * 'LookingHostIP' constant in 'Socket' and 'HttpClient' classes, changed to 'LookingUpHostIP' * Examples updated * Documentation updated 0.1.0pre3 * 'Accept' method from 'ServerSocket' changed its way to act. Now it returns a new 'Socket' and accpets an optional Event Handler * Old method 'Receive' from HttpClient, splitted in two new methods : 'Receive' and 'Peek' * Now 'Socket' class inherits from '.Stream' * Now 'SerialPort' class inherits from 'Stream' * Removed 'Send' and 'Receive' methods from 'Socket' * Removed 'Send' and 'Receive' methods from 'SerialPort' * Added 'Peek' method to 'Socket' * Adaptations from generic stream methods to 'Socket' characteristics * Adaptations from generic stream methods to 'SerialPort' characteristics * Documentation updated * Examples updated 0.1.0pre2 * Added 0.0.17 = 0.1.0pre1 to CHANGELOG file * 'SocketError' event from Socket and Datagram now is called 'Error' * 'Error' codes are now negative values in Status property * 'Error' events from classes which support it, now takes zero parameters * References to class names removed from 'GB.Error()' messages * Class 'ClientSocket' changed its name to 'Socket' * 'RemoteHostIP' and 'LocalHostIP' properties from 'Socket' class changed its name to 'RemoteHost' and 'LocalHost' * Constants from ServerSocket changed its name "TypeTCP"->"iNet", "TypeUnix"->"Unix" * 'DataAvailable' event changed its name to 'Read' in all classes which supports it. * 'Wait' method from ServerSocket changed to 'Pause' * 'Path' property from 'Socket' class now returns IP:Port when connected using TCP sockets. * 'CloseSocket' method from 'Socket' class changed to 'Close' * 'Socket' Class has a new constructor. You can both use no parameters, or pass a string as parameter, which can be : 'HostName:Port' or 'HostIP:Port' for TCP connections, or 'Absolute_Path' for Unix connections. * 'ServerSocket' Class has a new constructor. You can both use no parameters, or pass a string and a number as parameter, which can be : ':Port' for TCP connections, or 'Absolute_Path' for Unix connections. * 'Datagram' Class has a new constructor. You can both use no parameters, or pass an integer as Port value to start its work. * 'MaxConn' parameter from 'Listen' method if ServerSocket class now is optional. * 'SendData' and 'ReceiveData' changed to 'Send' and 'Receive' in all classes containing that methods. 0.0.17 = 0.1.0pre1 * Removed prefix 'Is' in constats beginning with that prefix. * 'GetData' method changed its name to 'ReceiveData' is some classes * 'Connected' event from 'ClientSocket' changed its name to 'Connect'. * Examples updated. * HttpClient class finished. * HttpClient documentation added. 0.0.16 * Added CHANGELOG file. * Changed component name from 'networking' to 'net'. * Changed 'sData' property from DataPacket to 'Data'. * Documentation updated for DataPacket class. * Changed example names. * Constant names and values have changed in ClientSocket, some new constants have been added. * ConnectSocket and ConnectUnix methods from ClientSocket have changed, now they not return any value, as error codes are managed by "SocketError" event. * Documentation updated for ClientSocket class. * Example "ClientSocket" updated. * DnsClient has two new constants. * Documentation updated for DnsClient class. * Some ServerSocket constants have changed its name. * New Constants added to ServerSocket. * A new static property 'UnixMaxPath' added to ServerSocket. * ServerSocket 'Listen' method does not return any value now. * ServerSocket example updated. * Documentation updated for ServerSocket class. * Datagram class has new constants. * Datagram 'Start' method does not return any value now. * Datagram 'SocketError' event implemented. * Documentation updated for Datagram class. * Example "UDPServerClient" updated. * SerialPort 'GetData' method now is called 'ReceiveData'. * Added constants to SerialPort class. * Documentation updated for SerialPort class. * SerialPort Example updated. From danielcampos at ...45... Sun Jun 13 18:58:14 2004 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 13 Jun 2004 18:58:14 +0200 Subject: [Gambas-devel] A new,new version from gb.net.curl Message-ID: <1087145894.13277.4.camel@...102...> Ummh, two releases in 12 hours! Well, this is important as I've added a new base class ("Curl"). Both HttpClient and FtpClient now inherits from "Curl" so they share a lot of code (there's much more work to do in that sense). The future Telnet class will also share all that stuff. The new component uses less disk space and memory when loaded. Source code is lighter too. Regards, -- Daniel Campos -------------- next part -------------- 0.4.1 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93b) * Added a new class 'Curl', that is the base for therest of classes in this component * Now HttpClient and FtpClient inherits from 'Curl', so they share a lot of code 0.4.0 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93b) * HttpClient : some code improvements so now it is faster,smaller and wastes less memory. * Added 'FtpClient' class. 0.3.1 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93) * Added two new properties to Socket class. They are read/write, the first is called 'Port'. if value is zero (Net.Local), connection will try to stablish a Local socket, else a TCP connection will be stablished. The second, 'HostOrPath' can be a Host or a local path. * Socket constructor has now no parameters. * Conect method has now two optional parameters. The first can override 'HostOrPath' property, and the second overrides 'Port' property 0.3.0 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93) * Added code to let the IDE show icons for all net classes. * Removed lots of code to make the component lighter and faster. 0.2.3 (net - STABLE / curl - ALPHA - compiles on Gambas 0.90) * Fixed a bug in UdpClient : segmentation fault when reading or writing data * Fixed a bug in UDPServerClient example : trying to use CLOSE when UdpClient is not active * defined before to allow compile on FreeBSD 0.2.2 (ALPHA - compiles on Gambas 0.81) * 'NetCode' and 'AdvancedCode' classes changed to 'Net' * Proxy properties from 'HttpClient' has been added into a new class called 'Proxy' * 'ReturnCode' and 'ReturnString' properties are now called 'Code' and 'Reason' * This version should compile now using libcurl 7.10.3, 7.10.4, 7.10.5, 7.10.6, 7.10.7, 7.10.8 and 7.11.0 * now is after in all files to allow compile it on FreeBSD 0.2.1 (ALPHA - compiles on Gambas 0.81) * Examples Updated * New HttpClient interface defined * 'AdvancedCode' class provides constants for 'Net.Advanced' component 0.2.0 (ALPHA - compiles on Gambas 0.80) * Examples updated * Modifications in configuration scripts to detect libcurl * 'NetCode' provide the constants needed to work with all network classes * 'Net advanced' includes not : CHttpClient, and will include other classes using libcurl * 'Net' includes now : Socket, SerialPort,ServerSocket,UdpSocket,DnsClient and NetCode, that is, basic networking stuff * 'Net' component splitted it two components: 'Net' and 'Advanced net' 0.1.4 (STABLE - Gambas 0.80) BM - Changes to allow the component compile on systems without MSG_NOSIGNAL flag 0.1.3 (Gambas 0.74) BM - 20 Dec 2003 - Let component compile with gcc 2.95 0.1.2 * Added HTTP proxy support for 'HttpClient' class 0.1.1 (Gambas 0.73) * Corrected bug in 'HttpClient' class that didn't convert correctly document query to HTTP codification * Added support for Solaris 0.1.0 * Added 'HttpClient.Local' constant as sinonym of 'HttpClient.Unix' * Changed 'HttpClient.Inet' constant to 'HttpClient.Internet' 0.1.0pre7 * Using sys/un.h instead of linux/un.h in 'Socket' and 'ServerSocket' classes * Added option 'SO_REUSEADDR' to socket in 'ServerSocket' class * 'ServerSocket' example fixed * Documentation fixed 0.1.0pre6 * Memory allocation bug fixed in 'Socket' class * Memory allocation bug fixed in 'SerialPort' class * Lots of internal code reorganization * Some memory optimizations in 'Socket' and 'ServerSocket' * UDPServerClient example fixed * ServerSocket example fixed 0.1.0pre5 * Constant names changed in all classes to be more simple * Parameters in methods and events does not include its type as a prefix now * 'ConnectUnix' and 'ConnectSocket' methods merged in one method : 'Connect' * 'ServerSocket' 'SocketType' property changed to 'Type' * 'ConnectionRequest' event in 'ServerSocket' changed to 'Connection' * 'Accept' method from 'ServerSocket' does not take any parameter now * 'HostFound' events from 'Socket' and 'HttpClient' changed to 'Found' * Datagram class now inherits from '.Stream' * Removed 'DataPacket' class * New properties 'SourceHost', 'SourcePort', 'TargetHost', 'TargetPort' in 'Datagram' class * New method 'Peek' in 'Datagram' class * Removed methods 'Stop','Receive' and 'Send' from 'Datagram' class * 'Start' method from 'Datagram' Changed to 'Bind' * 'Datagram' class changed its name to 'UdpSocket' * Documentation updated * Examples updated 0.1.0pre4 * Removed Close() method from 'Socket' and 'SerialPort' classes, translated to standard stream methods * 'LookingHostIP' constant in 'Socket' and 'HttpClient' classes, changed to 'LookingUpHostIP' * Examples updated * Documentation updated 0.1.0pre3 * 'Accept' method from 'ServerSocket' changed its way to act. Now it returns a new 'Socket' and accpets an optional Event Handler * Old method 'Receive' from HttpClient, splitted in two new methods : 'Receive' and 'Peek' * Now 'Socket' class inherits from '.Stream' * Now 'SerialPort' class inherits from 'Stream' * Removed 'Send' and 'Receive' methods from 'Socket' * Removed 'Send' and 'Receive' methods from 'SerialPort' * Added 'Peek' method to 'Socket' * Adaptations from generic stream methods to 'Socket' characteristics * Adaptations from generic stream methods to 'SerialPort' characteristics * Documentation updated * Examples updated 0.1.0pre2 * Added 0.0.17 = 0.1.0pre1 to CHANGELOG file * 'SocketError' event from Socket and Datagram now is called 'Error' * 'Error' codes are now negative values in Status property * 'Error' events from classes which support it, now takes zero parameters * References to class names removed from 'GB.Error()' messages * Class 'ClientSocket' changed its name to 'Socket' * 'RemoteHostIP' and 'LocalHostIP' properties from 'Socket' class changed its name to 'RemoteHost' and 'LocalHost' * Constants from ServerSocket changed its name "TypeTCP"->"iNet", "TypeUnix"->"Unix" * 'DataAvailable' event changed its name to 'Read' in all classes which supports it. * 'Wait' method from ServerSocket changed to 'Pause' * 'Path' property from 'Socket' class now returns IP:Port when connected using TCP sockets. * 'CloseSocket' method from 'Socket' class changed to 'Close' * 'Socket' Class has a new constructor. You can both use no parameters, or pass a string as parameter, which can be : 'HostName:Port' or 'HostIP:Port' for TCP connections, or 'Absolute_Path' for Unix connections. * 'ServerSocket' Class has a new constructor. You can both use no parameters, or pass a string and a number as parameter, which can be : ':Port' for TCP connections, or 'Absolute_Path' for Unix connections. * 'Datagram' Class has a new constructor. You can both use no parameters, or pass an integer as Port value to start its work. * 'MaxConn' parameter from 'Listen' method if ServerSocket class now is optional. * 'SendData' and 'ReceiveData' changed to 'Send' and 'Receive' in all classes containing that methods. 0.0.17 = 0.1.0pre1 * Removed prefix 'Is' in constats beginning with that prefix. * 'GetData' method changed its name to 'ReceiveData' is some classes * 'Connected' event from 'ClientSocket' changed its name to 'Connect'. * Examples updated. * HttpClient class finished. * HttpClient documentation added. 0.0.16 * Added CHANGELOG file. * Changed component name from 'networking' to 'net'. * Changed 'sData' property from DataPacket to 'Data'. * Documentation updated for DataPacket class. * Changed example names. * Constant names and values have changed in ClientSocket, some new constants have been added. * ConnectSocket and ConnectUnix methods from ClientSocket have changed, now they not return any value, as error codes are managed by "SocketError" event. * Documentation updated for ClientSocket class. * Example "ClientSocket" updated. * DnsClient has two new constants. * Documentation updated for DnsClient class. * Some ServerSocket constants have changed its name. * New Constants added to ServerSocket. * A new static property 'UnixMaxPath' added to ServerSocket. * ServerSocket 'Listen' method does not return any value now. * ServerSocket example updated. * Documentation updated for ServerSocket class. * Datagram class has new constants. * Datagram 'Start' method does not return any value now. * Datagram 'SocketError' event implemented. * Documentation updated for Datagram class. * Example "UDPServerClient" updated. * SerialPort 'GetData' method now is called 'ReceiveData'. * Added constants to SerialPort class. * Documentation updated for SerialPort class. * SerialPort Example updated. -------------- next part -------------- A non-text attachment was scrubbed... Name: curl.tar.bz2 Type: application/x-bzip Size: 11832 bytes Desc: not available URL: From gambas at ...1... Mon Jun 14 23:13:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 14 Jun 2004 23:13:08 +0200 Subject: [Gambas-devel] Another extrange thing In-Reply-To: <200406052239.00807.abidoo.too@...4...> References: <1086281924.2442.10.camel@...102...> <200406052228.42125.gambas@...1...> <200406052239.00807.abidoo.too@...4...> Message-ID: <200406142313.08391.gambas@...1...> On Saturday 05 June 2004 22:39, Fabien Bodard wrote: > Le samedi 5 Juin 2004 22:28, Benoit Minisini a ?crit : > > On Saturday 05 June 2004 14:17, Daniel wrote: > > > I'm afraid but there's another problem with menus: > > > > > > 'Delete' event never raises, nor using "menu.delete" nor > > > killing the parent window or menu. > > > > > > (using both old CMenu files and the fixed new you sent me) > > > > > > Regards, > > > > > > Daniel Campos > > > > Hmm... Logical :-) > > > > The event is not used in the source code !! > > > > I think I will remove this event for controls and menus, as it can easily > > make the application crashes. > > > > Regards, > > and about the hide event ? > > Since 5 or 6 month i try to do a quick explorer based on menu... but if i > scan all my directories, i think it take too many ressources. So i i've a > hide event i can dynamiquely (hem) delete the child menu ! or all the menu > when the upper parent is closed. > > I've trying do add this feature myself, but it crash. Mabe, you can do > that. It will be more usefull than the delete event. > > Salutation, > Fabien Bodard > > I think I can't make a hide event with QT. But I don't understand why the Show event is not sufficient... -- Benoit Minisini mailto:gambas at ...1... From jredrejo at ...133... Tue Jun 15 16:30:02 2004 From: jredrejo at ...133... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Tue, 15 Jun 2004 14:30:02 +0000 Subject: [Gambas-devel] New debian packages for gambas Message-ID: <1087309801.3247.62.camel@...134...> I have prepared new packages for Debian based on the actual Sarge and Sid flavours of debian. The previous one were useful only if you were using Debian woody. To use them with apt it is necessary to add the line deb http://www.linex.org/sources/debian sarge linex to the file /etc/apt/sources.list I have prepared the following packages: gambas gambas-doc gambas-mysql gambas-postgresql gambas-doc includes the help and examples gambas-mysql and gambas-postgresql include the gambas part to use those databases. So, apt-get update apt-get install gambas-doc gambas-mysql gambas-postgresql will install the whole stuff If you find any problem, please tell it to me. Regards. From jm at ...119... Tue Jun 15 14:39:18 2004 From: jm at ...119... (Jean-Michel POURE) Date: Tue, 15 Jun 2004 14:39:18 +0200 Subject: [Gambas-devel] New debian packages for gambas In-Reply-To: <1087309801.3247.62.camel@...134...> References: <1087309801.3247.62.camel@...134...> Message-ID: <200406151439.18685.jm@...119...> Le mardi 15 Juin 2004 16:30, Jos? L. Redrejo Rodr?guez a ?crit : > I have prepared new packages for Debian based on the actual Sarge and > Sid flavours of debian When do you think Gambas will enter Debian SID? Cheers, Jean-Michel From sourceforge-raindog2 at ...19... Tue Jun 15 16:10:14 2004 From: sourceforge-raindog2 at ...19... (Rob) Date: Tue, 15 Jun 2004 10:10:14 -0400 Subject: [Gambas-devel] mandrake packages need help Message-ID: <200406151010.14492.sourceforge-raindog2@...19...> OK, I decided to stop trying to build these 0.93b packages after the 20th attempt (actually 21st, as I reran it to tee the output to a file.) The packages get built, and some projects will execute including the IDE, but trying to load a project in the IDE results in a simple dialog saying just "Cannot open project file /path/to/file: Not an object". This also applies to any new project you attempt to create.... it appears to create the directory and then produce the above error message. I can't help but think this is somehow related to what I had to do to get gbx to run at all in 0.93b... + perl -pi -e 's|lib/gambas||' src/comp/gbi.c + perl -pi -e 's|lib/gambas||' src/exec/gbx_project.c Without the above lines, regardless of the arguments to the configure script, gambas looks for the component files in the /usr/lib/gambas/lib/gambas directory. Symlinks didn't seem to help this at all. The configure command I'm presently using looks like this: + ./configure i686-mandrake-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info This is simply what's generated by the standard %configure RPM directive. The "%make" directive just runs "make" by itself. I have to jump through these hoops because (a) gambas needs to be installed to the locations described below for rpmlint to pass it and for Mandrake to accept it, and (b) all mandrake packages must be entirely buildable without superuser privileges, and unattended. This means make install puts them under a temporary directory for RPM to grab, and only when they're later installed by the superuser do they end up in their "real" locations. - All executables for the user to run need to be in /usr/bin. Other executables (like the library executables that go with gambas-gui) seem to be okay in /usr/lib/gambas. - All libraries must be under /usr/lib; previously I had been putting them in /usr/lib/gambas-$VERSION but now they're just going into /usr/lib/gambas. In particular, they do not belong in /usr/lib/gambas/lib/gambas :) - All documentation must be under /usr/share/doc/packagename-$VERSION. I have been making symlinks back to /usr/lib/gambas so that the help system can find them. - All include files must be under /usr/include/gambas. - Libraries, include files and executables cannot be in the same package. It doesn't matter if all the libraries are only used by the one app, they have to be separated for Mandrake's scheme. This has worked fine for me up to gambas 0.92, but with 0.93 I have had no end of problems trying to make it work. I've made all kinds of symlinks back and forth to no avail. Attached are my spec file and the output of the build process. If anyone has more experience with building gambas than i do, please let me know if I'm doing anything obviously wrong. Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas.build.log.gz Type: application/x-gzip Size: 86700 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-gui.spec.gz Type: application/x-gzip Size: 1766 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas.spec.gz Type: application/x-gzip Size: 1907 bytes Desc: not available URL: From dries at ...87... Tue Jun 15 16:41:23 2004 From: dries at ...87... (Dries Verachtert) Date: Tue, 15 Jun 2004 16:41:23 +0200 Subject: [Gambas-devel] mandrake packages need help In-Reply-To: <200406151010.14492.sourceforge-raindog2@...19...> References: <200406151010.14492.sourceforge-raindog2@...19...> Message-ID: <200406151641.23241.dries@...87...> Hello Rob, I can't find an error but maybe you can find it with comparing your spec file for mandrake with my spec file for fedora core ? You can find the spec file and the patch file in attach. kind regards, Dries Verachtert -------------- next part -------------- A non-text attachment was scrubbed... Name: dont-make-links.patch Type: text/x-diff Size: 1942 bytes Desc: not available URL: -------------- next part -------------- # $Id: gambas.spec 1187 2004-06-04 10:09:07Z dries $ # Authority: dries # Screenshot: http://gambas.sourceforge.net/2003-06-25.png # ScreenshotURL: http://gambas.sourceforge.net/screenshots.html %define real_version 0.93b Summary: Free development environment based on a basic interpreter with object extensions Name: gambas Version: 0.93 Release: 0.b License: GPL Group: Development/Tools URL: http://gambas.sourceforge.net/ Packager: Dries Verachtert Vendor: Dries Apt/Yum Repository http://dries.ulyssis.org/ayo/ Source: http://gambas.sourceforge.net/gambas-%{real_version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root # Patch0: makefiles-destdir.patch.bz2 Patch0: dont-make-links.patch BuildRequires: kdelibs-devel, libjpeg-devel, automake, autoconf, gcc, make, qt-devel, SDL-devel, mysql-devel, postgresql-devel, XFree86-devel, zlib-devel, glibc-headers, sqlite-devel, gcc-c++ #Requires: qt, zlib, XFree86, sqlite, SDL, libjpeg %description Gambas is a free development environment based on a Basic interpreter with object extensions, like Visual Basic?? (but it is NOT a clone !).With Gambas, you can quickly design your program GUI, access MySQL or PostgreSQL databases, pilot KDE applications with DCOP, translate your program into many languages, create network applications easily, and so on... %prep %setup -n gambas-%{real_version} %patch -p1 %build rm -f $(find . -type f | egrep "Makefile$") $(find . -type f | egrep "Makefile.in$") ./reconf || echo reconf gives a warning but lets continue anyway # (cd libltdl/;../reconf || echo reconf gives a warning but lets continue anyway) %configure \ --datadir="%{_datadir}/gambas" \ --enable-intl \ --enable-conv \ --enable-qt \ --enable-kde \ --enable-net \ --enable-curl \ --enable-postgresql \ --enable-mysql \ --enable-sqlite \ --enable-sdl \ --enable-vb %{__make} %{?_smp_mflags} %install %{__rm} -rf "${RPM_BUILD_ROOT}" export PATH=%{buildroot}/usr/bin:$PATH # {__make} bindir=$RPM_BUILD_ROOT/usr/bin includedir=$RPM_BUILD_ROOT/usr/include libdir=$RPM_BUILD_ROOT/usr/lib datadir=$RPM_BUILD_ROOT/usr/share/gambas install-strip %makeinstall # \ # datadir="%{buildroot}/usr/share/gambas" %post /sbin/ldconfig 2>/dev/null %postun /sbin/ldconfig 2>/dev/null %package help Summary: The help files for gambas Group: Development/Libraries Requires: %{name} = %{version} %description help The gambas-help package contains all the help files for gambas. %package examples Summary: The examples for gambas Group: Development/Libraries Requires: %{name} = %{version} %description examples The gambas-examples package contains some examples for gambas. %files %defattr(-, root, root, 0755) %doc README AUTHORS COPYING INSTALL NEWS README README.REDHAT TODO %{_libdir}/gambas/*.so.* %{_libdir}/gambas/lib.gb*.component # %{_libdir}/info %{_bindir}/gambas %{_bindir}/gbc %{_bindir}/gba %{_bindir}/gbi %{_bindir}/gbx %{_bindir}/gambas-database-manager %{_bindir}/Util %{_includedir}/gambas.h %exclude %{_libdir}/gambas/lib.*.la %{_libdir}/gambas/lib.*.so %files help %defattr(-,root,root,0755) %dir %{_datadir}/gambas/ %{_datadir}/gambas/help %files examples %defattr(-,root,root,0755) %dir %{_datadir}/gambas/ %{_datadir}/gambas/examples %changelog * Fri Jun 4 2004 Dries Verachtert 0.93-0.b - update to 0.93a * Sun Apr 18 2004 Dries Verachtert 0.92a-1 - update to version 0.92a * Mon Mar 22 2004 Dries Verachtert 0.91-1 - update to version 0.91 * Thu Feb 26 2004 Dries Verachtert 0.90-1 - update to version 0.90 * Tue Feb 25 2004 Dries Verachtert 0.84a-1 - update to version 0.84a - subpackages: help and examples * Tue Jan 27 2004 Dries Verachtert 0.82-1 - update to version 0.82 * Sun Dec 21 2003 Dries Verachtert 0.74-1 - first fully packaged version with buildroot (patched most of the Makefile.am files) - new version 0.74 * Sun Dec 7 2003 Dries Verachtert 0.73-1 - first packaging for Fedora Core 1 From jredrejo at ...133... Tue Jun 15 17:07:58 2004 From: jredrejo at ...133... (=?ISO-8859-1?B?Sm9z6SBMLiBSZWRyZWpv?=) Date: Tue, 15 Jun 2004 17:07:58 +0200 Subject: [Gambas-devel] New debian packages for gambas In-Reply-To: <200406151439.18685.jm@...119...> References: <1087309801.3247.62.camel@...134...> <200406151439.18685.jm@...119...> Message-ID: <1087312078.40cf10ce3a9f7@...135...> Mensaje citado por Jean-Michel POURE : > Le mardi 15 Juin 2004 16:30, Jos?? L. Redrejo Rodr??guez a ??crit : > > I have prepared new packages for Debian based on the actual Sarge and > > Sid flavours of debian > > When do you think Gambas will enter Debian SID? > Cheers, Jean-Michel > I am afraid that I am not an official debian mantainer. I work for the LinEx project in Spain (www.linex.org), based on Debian, but not directly to Debian. These packages are in our own repository. If want gambas in Debian we should make a Request for Packaging in their official servers. I am just beginning now the process of becoming a Debian developper, but it will take some months. So, if you want it in Debian soon, you should do that request. Regards. ------------------------------------------------- Mensaje enviado desde JuntaExtremadura.net Utilizando software libre, IMP From grahame at ...132... Tue Jun 15 23:35:06 2004 From: grahame at ...132... (Grahame White) Date: Tue, 15 Jun 2004 22:35:06 +0100 Subject: [Gambas-devel] New debian packages for gambas In-Reply-To: <1087312078.40cf10ce3a9f7@...135...> References: <1087309801.3247.62.camel@...134...> <200406151439.18685.jm@...119...> <1087312078.40cf10ce3a9f7@...135...> Message-ID: <200406152235.07081.grahame@...132...> On Tuesday 15 June 2004 16:07, Jos? L. Redrejo wrote: > Mensaje citado por Jean-Michel POURE : > > Le mardi 15 Juin 2004 16:30, Jos?? L. Redrejo Rodr??guez a ??crit : > > > I have prepared new packages for Debian based on the actual Sarge > > > and Sid flavours of debian > > > > When do you think Gambas will enter Debian SID? > > Cheers, Jean-Michel > > I am afraid that I am not an official debian mantainer. I work for the > LinEx project in Spain (www.linex.org), based on Debian, but not > directly to Debian. These packages are in our own repository. If want > gambas in Debian we should make a Request for Packaging in their > official servers. > > I am just beginning now the process of becoming a Debian developper, but > it will take some months. So, if you want it in Debian soon, you should > do that request. Someone already has, and there is even an ITP on gambas too, last time I looked though it was 150-odd days since the ITP. Grahame From danielcampos at ...45... Sat Jun 19 10:55:27 2004 From: danielcampos at ...45... (Daniel Campos) Date: Sat, 19 Jun 2004 10:55:27 +0200 Subject: [Gambas-devel] Curl component / Net 0.4.2 Message-ID: <1087635327.4041.27.camel@...102...> This is the version of the curl component for the next gambas version. Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: curl.tar.bz2 Type: application/x-bzip Size: 11194 bytes Desc: not available URL: -------------- next part -------------- 0.4.2 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93b) * FtpClient external interface stabilized. * Finished 'Curl' class code, and code sharing between 'HttpClient' and 'FtpClient'. 0.4.1 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93b) * Added a new class 'Curl', that is the base for the rest of classes in this component * Now HttpClient and FtpClient inherits from 'Curl', so they share a lot of code 0.4.0 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93b) * HttpClient : some code improvements so now it is faster,smaller and wastes less memory. * Added 'FtpClient' class. 0.3.1 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93) * Added two new properties to Socket class. They are read/write, the first is called 'Port'. if value is zero (Net.Local), connection will try to stablish a Local socket, else a TCP connection will be stablished. The second, 'HostOrPath' can be a Host or a local path. * Socket constructor has now no parameters. * Conect method has now two optional parameters. The first can override 'HostOrPath' property, and the second overrides 'Port' property 0.3.0 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93) * Added code to let the IDE show icons for all net classes. * Removed lots of code to make the component lighter and faster. 0.2.3 (net - STABLE / curl - ALPHA - compiles on Gambas 0.90) * Fixed a bug in UdpClient : segmentation fault when reading or writing data * Fixed a bug in UDPServerClient example : trying to use CLOSE when UdpClient is not active * defined before to allow compile on FreeBSD 0.2.2 (ALPHA - compiles on Gambas 0.81) * 'NetCode' and 'AdvancedCode' classes changed to 'Net' * Proxy properties from 'HttpClient' has been added into a new class called 'Proxy' * 'ReturnCode' and 'ReturnString' properties are now called 'Code' and 'Reason' * This version should compile now using libcurl 7.10.3, 7.10.4, 7.10.5, 7.10.6, 7.10.7, 7.10.8 and 7.11.0 * now is after in all files to allow compile it on FreeBSD 0.2.1 (ALPHA - compiles on Gambas 0.81) * Examples Updated * New HttpClient interface defined * 'AdvancedCode' class provides constants for 'Net.Advanced' component 0.2.0 (ALPHA - compiles on Gambas 0.80) * Examples updated * Modifications in configuration scripts to detect libcurl * 'NetCode' provide the constants needed to work with all network classes * 'Net advanced' includes not : CHttpClient, and will include other classes using libcurl * 'Net' includes now : Socket, SerialPort,ServerSocket,UdpSocket,DnsClient and NetCode, that is, basic networking stuff * 'Net' component splitted it two components: 'Net' and 'Advanced net' 0.1.4 (STABLE - Gambas 0.80) BM - Changes to allow the component compile on systems without MSG_NOSIGNAL flag 0.1.3 (Gambas 0.74) BM - 20 Dec 2003 - Let component compile with gcc 2.95 0.1.2 * Added HTTP proxy support for 'HttpClient' class 0.1.1 (Gambas 0.73) * Corrected bug in 'HttpClient' class that didn't convert correctly document query to HTTP codification * Added support for Solaris 0.1.0 * Added 'HttpClient.Local' constant as sinonym of 'HttpClient.Unix' * Changed 'HttpClient.Inet' constant to 'HttpClient.Internet' 0.1.0pre7 * Using sys/un.h instead of linux/un.h in 'Socket' and 'ServerSocket' classes * Added option 'SO_REUSEADDR' to socket in 'ServerSocket' class * 'ServerSocket' example fixed * Documentation fixed 0.1.0pre6 * Memory allocation bug fixed in 'Socket' class * Memory allocation bug fixed in 'SerialPort' class * Lots of internal code reorganization * Some memory optimizations in 'Socket' and 'ServerSocket' * UDPServerClient example fixed * ServerSocket example fixed 0.1.0pre5 * Constant names changed in all classes to be more simple * Parameters in methods and events does not include its type as a prefix now * 'ConnectUnix' and 'ConnectSocket' methods merged in one method : 'Connect' * 'ServerSocket' 'SocketType' property changed to 'Type' * 'ConnectionRequest' event in 'ServerSocket' changed to 'Connection' * 'Accept' method from 'ServerSocket' does not take any parameter now * 'HostFound' events from 'Socket' and 'HttpClient' changed to 'Found' * Datagram class now inherits from '.Stream' * Removed 'DataPacket' class * New properties 'SourceHost', 'SourcePort', 'TargetHost', 'TargetPort' in 'Datagram' class * New method 'Peek' in 'Datagram' class * Removed methods 'Stop','Receive' and 'Send' from 'Datagram' class * 'Start' method from 'Datagram' Changed to 'Bind' * 'Datagram' class changed its name to 'UdpSocket' * Documentation updated * Examples updated 0.1.0pre4 * Removed Close() method from 'Socket' and 'SerialPort' classes, translated to standard stream methods * 'LookingHostIP' constant in 'Socket' and 'HttpClient' classes, changed to 'LookingUpHostIP' * Examples updated * Documentation updated 0.1.0pre3 * 'Accept' method from 'ServerSocket' changed its way to act. Now it returns a new 'Socket' and accpets an optional Event Handler * Old method 'Receive' from HttpClient, splitted in two new methods : 'Receive' and 'Peek' * Now 'Socket' class inherits from '.Stream' * Now 'SerialPort' class inherits from 'Stream' * Removed 'Send' and 'Receive' methods from 'Socket' * Removed 'Send' and 'Receive' methods from 'SerialPort' * Added 'Peek' method to 'Socket' * Adaptations from generic stream methods to 'Socket' characteristics * Adaptations from generic stream methods to 'SerialPort' characteristics * Documentation updated * Examples updated 0.1.0pre2 * Added 0.0.17 = 0.1.0pre1 to CHANGELOG file * 'SocketError' event from Socket and Datagram now is called 'Error' * 'Error' codes are now negative values in Status property * 'Error' events from classes which support it, now takes zero parameters * References to class names removed from 'GB.Error()' messages * Class 'ClientSocket' changed its name to 'Socket' * 'RemoteHostIP' and 'LocalHostIP' properties from 'Socket' class changed its name to 'RemoteHost' and 'LocalHost' * Constants from ServerSocket changed its name "TypeTCP"->"iNet", "TypeUnix"->"Unix" * 'DataAvailable' event changed its name to 'Read' in all classes which supports it. * 'Wait' method from ServerSocket changed to 'Pause' * 'Path' property from 'Socket' class now returns IP:Port when connected using TCP sockets. * 'CloseSocket' method from 'Socket' class changed to 'Close' * 'Socket' Class has a new constructor. You can both use no parameters, or pass a string as parameter, which can be : 'HostName:Port' or 'HostIP:Port' for TCP connections, or 'Absolute_Path' for Unix connections. * 'ServerSocket' Class has a new constructor. You can both use no parameters, or pass a string and a number as parameter, which can be : ':Port' for TCP connections, or 'Absolute_Path' for Unix connections. * 'Datagram' Class has a new constructor. You can both use no parameters, or pass an integer as Port value to start its work. * 'MaxConn' parameter from 'Listen' method if ServerSocket class now is optional. * 'SendData' and 'ReceiveData' changed to 'Send' and 'Receive' in all classes containing that methods. 0.0.17 = 0.1.0pre1 * Removed prefix 'Is' in constats beginning with that prefix. * 'GetData' method changed its name to 'ReceiveData' is some classes * 'Connected' event from 'ClientSocket' changed its name to 'Connect'. * Examples updated. * HttpClient class finished. * HttpClient documentation added. 0.0.16 * Added CHANGELOG file. * Changed component name from 'networking' to 'net'. * Changed 'sData' property from DataPacket to 'Data'. * Documentation updated for DataPacket class. * Changed example names. * Constant names and values have changed in ClientSocket, some new constants have been added. * ConnectSocket and ConnectUnix methods from ClientSocket have changed, now they not return any value, as error codes are managed by "SocketError" event. * Documentation updated for ClientSocket class. * Example "ClientSocket" updated. * DnsClient has two new constants. * Documentation updated for DnsClient class. * Some ServerSocket constants have changed its name. * New Constants added to ServerSocket. * A new static property 'UnixMaxPath' added to ServerSocket. * ServerSocket 'Listen' method does not return any value now. * ServerSocket example updated. * Documentation updated for ServerSocket class. * Datagram class has new constants. * Datagram 'Start' method does not return any value now. * Datagram 'SocketError' event implemented. * Documentation updated for Datagram class. * Example "UDPServerClient" updated. * SerialPort 'GetData' method now is called 'ReceiveData'. * Added constants to SerialPort class. * Documentation updated for SerialPort class. * SerialPort Example updated. From danielcampos at ...45... Tue Jun 22 23:51:45 2004 From: danielcampos at ...45... (Daniel Campos) Date: Tue, 22 Jun 2004 23:51:45 +0200 Subject: [Gambas-devel] Spanish translation / Documentation Message-ID: <1087941105.7873.3.camel@...102...> Hi: Here's spanish translation for Gambas-0.94. Benoit could you start gambas in spanish? The properties page of the project has a text too wide for current label width, RPM wizard too. Rob: Could you update the "net" and "net.curl" classes? There has been some changes in their interfaces, so I can not document them properly until the wiki update. Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-es-0.94.po Type: text/x-po Size: 60813 bytes Desc: not available URL: From frankberg at ...136... Sun Jun 27 13:32:49 2004 From: frankberg at ...136... (Frank Berg) Date: Sun, 27 Jun 2004 13:32:49 +0200 Subject: [Gambas-devel] Problem mit Componenten References: <4072D1A5.3090003@...78...> Message-ID: <004401c45c3a$7bd769f0$0200a8c0@...137...> Hallo Georg, hier ist Frank aus Flensburg Ich sehe du bist fit in Gambas und scheinst aus Deutschlands zu sein. vielleicht magst du mir helfen? ich habe ein Problem mit dem erstellen einer Komponente Hintergrund: ich m?chte etwas f?r Packet Radio schreiben, also f?r den Bereich Amateurfunk. Dazu ben?tige ich Zugriff auf die AX25 routinen. Nach viel lesen komme ich zu der ?berzeugung mit gambas geht das nicht. ich muss erstmal eine componente als bindeglied schreiben. zum Problem ich hab also die instruktionen durchgelesen, die files (roh ohne weiteren c code) erstellt und im verzeichnis scr/lib/ax25 abgelegt. aber beim kompilieren werden diese nicht mitkompiliert(er schimpft niht das nichts drin ist..). im forum habe ich eine demo gesehen, eine komponente CDROM.. auch die hab ich in das verzeichnis gelegt (scr/lib/cdrom) und auch die wird ignoriert. die rechte auf allen installierten files liegt auf 501 f?r user und 501 f?r gruppe.. meine erstellten files stehen auf frank und users mit vollen rechten.. keine ?nderung.. was mache ich falsch??? ich danke im voraus f?r deine antwort.. frank From linus at ...2... Sun Jun 27 14:01:25 2004 From: linus at ...2... (Nigel Gerrard) Date: Sun, 27 Jun 2004 13:01:25 +0100 Subject: [Gambas-devel] Database Updates Message-ID: <1088337619.23734.7.camel@...128...> Benoit, Here are the files I have updated. I'm afraid I am too close to the code to think of a way around the conditional tests within the field_index etc. My thoughts are: should functionality be sacrificed for performance. Regards Nigel -------------- next part -------------- A non-text attachment was scrubbed... Name: db_changes.tar.bz2 Type: application/x-bzip Size: 33295 bytes Desc: not available URL: From danielcampos at ...45... Sun Jun 27 14:20:02 2004 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 27 Jun 2004 14:20:02 +0200 Subject: [Gambas-devel] Curl 0.4.3 (fixed) Message-ID: <1088338802.7290.2.camel@...102...> OK : I've found the problem, It could happen in both HttpClient and FtpClient when changing user name or password, if there was a previous connection. Here's curl 0.4.3 and CHANGELOG updated Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: curl.tar.bz2 Type: application/x-bzip Size: 12392 bytes Desc: not available URL: -------------- next part -------------- 0.4.3 (net - STABLE / curl - ALPHA - compiles on Gambas 0.94) * Fixed a "segmentation fault", when changing user name or password in both HttpClient and FtpClient 0.4.2 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93b) * FtpClient external interface stabilized. * Finished 'Curl' class code, and code sharing between 'HttpClient' and 'FtpClient'. 0.4.1 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93b) * Added a new class 'Curl', that is the base for the rest of classes in this component * Now HttpClient and FtpClient inherits from 'Curl', so they share a lot of code 0.4.0 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93b) * HttpClient : some code improvements so now it is faster,smaller and wastes less memory. * Added 'FtpClient' class. 0.3.1 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93) * Added two new properties to Socket class. They are read/write, the first is called 'Port'. if value is zero (Net.Local), connection will try to stablish a Local socket, else a TCP connection will be stablished. The second, 'HostOrPath' can be a Host or a local path. * Socket constructor has now no parameters. * Conect method has now two optional parameters. The first can override 'HostOrPath' property, and the second overrides 'Port' property 0.3.0 (net - STABLE / curl - ALPHA - compiles on Gambas 0.93) * Added code to let the IDE show icons for all net classes. * Removed lots of code to make the component lighter and faster. 0.2.3 (net - STABLE / curl - ALPHA - compiles on Gambas 0.90) * Fixed a bug in UdpClient : segmentation fault when reading or writing data * Fixed a bug in UDPServerClient example : trying to use CLOSE when UdpClient is not active * defined before to allow compile on FreeBSD 0.2.2 (ALPHA - compiles on Gambas 0.81) * 'NetCode' and 'AdvancedCode' classes changed to 'Net' * Proxy properties from 'HttpClient' has been added into a new class called 'Proxy' * 'ReturnCode' and 'ReturnString' properties are now called 'Code' and 'Reason' * This version should compile now using libcurl 7.10.3, 7.10.4, 7.10.5, 7.10.6, 7.10.7, 7.10.8 and 7.11.0 * now is after in all files to allow compile it on FreeBSD 0.2.1 (ALPHA - compiles on Gambas 0.81) * Examples Updated * New HttpClient interface defined * 'AdvancedCode' class provides constants for 'Net.Advanced' component 0.2.0 (ALPHA - compiles on Gambas 0.80) * Examples updated * Modifications in configuration scripts to detect libcurl * 'NetCode' provide the constants needed to work with all network classes * 'Net advanced' includes not : CHttpClient, and will include other classes using libcurl * 'Net' includes now : Socket, SerialPort,ServerSocket,UdpSocket,DnsClient and NetCode, that is, basic networking stuff * 'Net' component splitted it two components: 'Net' and 'Advanced net' 0.1.4 (STABLE - Gambas 0.80) BM - Changes to allow the component compile on systems without MSG_NOSIGNAL flag 0.1.3 (Gambas 0.74) BM - 20 Dec 2003 - Let component compile with gcc 2.95 0.1.2 * Added HTTP proxy support for 'HttpClient' class 0.1.1 (Gambas 0.73) * Corrected bug in 'HttpClient' class that didn't convert correctly document query to HTTP codification * Added support for Solaris 0.1.0 * Added 'HttpClient.Local' constant as sinonym of 'HttpClient.Unix' * Changed 'HttpClient.Inet' constant to 'HttpClient.Internet' 0.1.0pre7 * Using sys/un.h instead of linux/un.h in 'Socket' and 'ServerSocket' classes * Added option 'SO_REUSEADDR' to socket in 'ServerSocket' class * 'ServerSocket' example fixed * Documentation fixed 0.1.0pre6 * Memory allocation bug fixed in 'Socket' class * Memory allocation bug fixed in 'SerialPort' class * Lots of internal code reorganization * Some memory optimizations in 'Socket' and 'ServerSocket' * UDPServerClient example fixed * ServerSocket example fixed 0.1.0pre5 * Constant names changed in all classes to be more simple * Parameters in methods and events does not include its type as a prefix now * 'ConnectUnix' and 'ConnectSocket' methods merged in one method : 'Connect' * 'ServerSocket' 'SocketType' property changed to 'Type' * 'ConnectionRequest' event in 'ServerSocket' changed to 'Connection' * 'Accept' method from 'ServerSocket' does not take any parameter now * 'HostFound' events from 'Socket' and 'HttpClient' changed to 'Found' * Datagram class now inherits from '.Stream' * Removed 'DataPacket' class * New properties 'SourceHost', 'SourcePort', 'TargetHost', 'TargetPort' in 'Datagram' class * New method 'Peek' in 'Datagram' class * Removed methods 'Stop','Receive' and 'Send' from 'Datagram' class * 'Start' method from 'Datagram' Changed to 'Bind' * 'Datagram' class changed its name to 'UdpSocket' * Documentation updated * Examples updated 0.1.0pre4 * Removed Close() method from 'Socket' and 'SerialPort' classes, translated to standard stream methods * 'LookingHostIP' constant in 'Socket' and 'HttpClient' classes, changed to 'LookingUpHostIP' * Examples updated * Documentation updated 0.1.0pre3 * 'Accept' method from 'ServerSocket' changed its way to act. Now it returns a new 'Socket' and accpets an optional Event Handler * Old method 'Receive' from HttpClient, splitted in two new methods : 'Receive' and 'Peek' * Now 'Socket' class inherits from '.Stream' * Now 'SerialPort' class inherits from 'Stream' * Removed 'Send' and 'Receive' methods from 'Socket' * Removed 'Send' and 'Receive' methods from 'SerialPort' * Added 'Peek' method to 'Socket' * Adaptations from generic stream methods to 'Socket' characteristics * Adaptations from generic stream methods to 'SerialPort' characteristics * Documentation updated * Examples updated 0.1.0pre2 * Added 0.0.17 = 0.1.0pre1 to CHANGELOG file * 'SocketError' event from Socket and Datagram now is called 'Error' * 'Error' codes are now negative values in Status property * 'Error' events from classes which support it, now takes zero parameters * References to class names removed from 'GB.Error()' messages * Class 'ClientSocket' changed its name to 'Socket' * 'RemoteHostIP' and 'LocalHostIP' properties from 'Socket' class changed its name to 'RemoteHost' and 'LocalHost' * Constants from ServerSocket changed its name "TypeTCP"->"iNet", "TypeUnix"->"Unix" * 'DataAvailable' event changed its name to 'Read' in all classes which supports it. * 'Wait' method from ServerSocket changed to 'Pause' * 'Path' property from 'Socket' class now returns IP:Port when connected using TCP sockets. * 'CloseSocket' method from 'Socket' class changed to 'Close' * 'Socket' Class has a new constructor. You can both use no parameters, or pass a string as parameter, which can be : 'HostName:Port' or 'HostIP:Port' for TCP connections, or 'Absolute_Path' for Unix connections. * 'ServerSocket' Class has a new constructor. You can both use no parameters, or pass a string and a number as parameter, which can be : ':Port' for TCP connections, or 'Absolute_Path' for Unix connections. * 'Datagram' Class has a new constructor. You can both use no parameters, or pass an integer as Port value to start its work. * 'MaxConn' parameter from 'Listen' method if ServerSocket class now is optional. * 'SendData' and 'ReceiveData' changed to 'Send' and 'Receive' in all classes containing that methods. 0.0.17 = 0.1.0pre1 * Removed prefix 'Is' in constats beginning with that prefix. * 'GetData' method changed its name to 'ReceiveData' is some classes * 'Connected' event from 'ClientSocket' changed its name to 'Connect'. * Examples updated. * HttpClient class finished. * HttpClient documentation added. 0.0.16 * Added CHANGELOG file. * Changed component name from 'networking' to 'net'. * Changed 'sData' property from DataPacket to 'Data'. * Documentation updated for DataPacket class. * Changed example names. * Constant names and values have changed in ClientSocket, some new constants have been added. * ConnectSocket and ConnectUnix methods from ClientSocket have changed, now they not return any value, as error codes are managed by "SocketError" event. * Documentation updated for ClientSocket class. * Example "ClientSocket" updated. * DnsClient has two new constants. * Documentation updated for DnsClient class. * Some ServerSocket constants have changed its name. * New Constants added to ServerSocket. * A new static property 'UnixMaxPath' added to ServerSocket. * ServerSocket 'Listen' method does not return any value now. * ServerSocket example updated. * Documentation updated for ServerSocket class. * Datagram class has new constants. * Datagram 'Start' method does not return any value now. * Datagram 'SocketError' event implemented. * Documentation updated for Datagram class. * Example "UDPServerClient" updated. * SerialPort 'GetData' method now is called 'ReceiveData'. * Added constants to SerialPort class. * Documentation updated for SerialPort class. * SerialPort Example updated. From danielcampos at ...45... Sun Jun 27 21:53:55 2004 From: danielcampos at ...45... (Daniel Campos) Date: Sun, 27 Jun 2004 21:53:55 +0200 Subject: [Gambas-devel] Bug in spanish translation Message-ID: <1088366035.4386.1.camel@...102...> Hi Beno?t: I've found another string which can not be correctly displayed in the spanish version, I send you a screenshoot Regards, -- Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: tr2.png Type: image/png Size: 32129 bytes Desc: not available URL: From gambas at ...1... Mon Jun 28 13:44:18 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 28 Jun 2004 13:44:18 +0200 Subject: [Gambas-devel] Database Updates In-Reply-To: <1088337619.23734.7.camel@...128...> References: <1088337619.23734.7.camel@...128...> Message-ID: <200406281344.18712.gambas@...1...> On Sunday 27 June 2004 14:01, Nigel Gerrard wrote: > Benoit, > > Here are the files I have updated. I'm afraid I am too close to the > code to think of a way around the conditional tests within the > field_index etc. My thoughts are: should functionality be sacrificed > for performance. > > Regards > > Nigel Hi, Nigel. There is a problem: the sqlite driver does not compile anymore! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Jun 28 13:44:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 28 Jun 2004 13:44:28 +0200 Subject: [Gambas-devel] Bug in spanish translation In-Reply-To: <1088366035.4386.1.camel@...102...> References: <1088366035.4386.1.camel@...102...> Message-ID: <200406281344.28329.gambas@...1...> On Sunday 27 June 2004 21:53, Daniel Campos wrote: > Hi Beno?t: > > > I've found another string which can not be correctly displayed in the > spanish version, I send you a screenshoot > > Regards, OK. -- Benoit Minisini mailto:gambas at ...1... From linus at ...2... Mon Jun 28 20:59:29 2004 From: linus at ...2... (Nigel Gerrard) Date: Mon, 28 Jun 2004 19:59:29 +0100 Subject: [Gambas-devel] Database Updates In-Reply-To: <200406281344.18712.gambas@...1...> References: <1088337619.23734.7.camel@...128...> <200406281344.18712.gambas@...1...> Message-ID: <1088449167.10076.2.camel@...128...> Benoit, Everything compiles ok for me. Here is a tar of my complete db structure. Perhaps I have missed one of the changed files in the sqlite driver. Please try comparing with what I have here. Nigel On Mon, 2004-06-28 at 12:44, Benoit Minisini wrote: > On Sunday 27 June 2004 14:01, Nigel Gerrard wrote: > > Benoit, > > > > Here are the files I have updated. I'm afraid I am too close to the > > code to think of a way around the conditional tests within the > > field_index etc. My thoughts are: should functionality be sacrificed > > for performance. > > > > Regards > > > > Nigel > > Hi, Nigel. > > There is a problem: the sqlite driver does not compile anymore! -------------- next part -------------- A non-text attachment was scrubbed... Name: NigelsDatabase.tar.bz2 Type: application/x-bzip Size: 54093 bytes Desc: not available URL: