From gareth at ...1689... Tue May 1 00:43:12 2007 From: gareth at ...1689... (Gareth Bult) Date: Mon, 30 Apr 2007 22:43:12 +0000 Subject: [Gambas-user] Gridview delete row In-Reply-To: <200704302358.16636.gambas@...1...> References: <200704302350.10100.steven@...1652...> Message-ID: <1177972992.21082.55.camel@...1690...> Mmm, Problem with that is the best place to store your info is in a result set .. trouble is, they're read only ... (!) Gareth. On Mon, 2007-04-30 at 23:58 +0200, Benoit Minisini wrote: > On lundi 30 avril 2007, Steven Lobbezoo wrote: > > Hi, > > > > Maybe a stupid question, but : > > What's the best and simplest way to remove a row from a grid. > > I could move all rows above the selected one, and then delete the last one > > by setting the count one less, but that seems complicated. > > > > If someone knows a better solution ?? > > Thanks, > > Steven > > > > This is a method to implement. Something like GridView.Row[XXX].Delete() > > At the moment, the better way is to not store anything in the GridView, to > always use the Data event, and to store the GridView data in its own > structure that you can manipulate as you like. > > Regards, > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689..., MSN:garethbult at ...67... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Tue May 1 01:07:57 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 1 May 2007 00:07:57 +0100 Subject: [Gambas-user] More on properties ... In-Reply-To: <200704292358.35204.gambas@...1...> References: <1177870492.19882.6.camel@...1690...> Message-ID: <1177974477.21082.79.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-Test.png Type: image/png Size: 48033 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-4.png Type: image/png Size: 822 bytes Desc: not available URL: From easuter at ...626... Tue May 1 02:30:15 2007 From: easuter at ...626... (easuter) Date: Mon, 30 Apr 2007 17:30:15 -0700 (PDT) Subject: [Gambas-user] Writing (or Printing) data to a process Message-ID: <10262959.post@...1379...> Hi there! I'm a relatively novice gambas user, but I'm learning fast ;) I'm running Gambas2 1.9.47 My problem is a s follows: I need to be able to send a string to a virtual terminal created by the following EXEC: DIM hProc AS Process EXEC [ "command", "-args"] FOR INPUT OUTPUT AS "hProc" PRINT #hProc, TextBox1.Text However, when I run my app the IDE spits out this error: Null Object and then jumps onto the PRINT line. What am I missing here? I can't find examples of writing data to a process in the gambas docs, only reading from a process is there. Thanks in advance! Eug?ne -- View this message in context: http://www.nabble.com/Writing-%28or-Printing%29-data-to-a-process-tf3672829.html#a10262959 Sent from the gambas-user mailing list archive at Nabble.com. From wdahn at ...1000... Tue May 1 04:28:03 2007 From: wdahn at ...1000... (Werner) Date: Tue, 01 May 2007 10:28:03 +0800 Subject: [Gambas-user] Writing (or Printing) data to a process In-Reply-To: <10262959.post@...1379...> References: <10262959.post@...1379...> Message-ID: <4636A5B3.2030205@...1000...> easuter wrote: > Hi there! > > I'm a relatively novice gambas user, but I'm learning fast ;) > I'm running Gambas2 1.9.47 > > My problem is a s follows: I need to be able to send a string to a virtual > terminal created by the following EXEC: > > DIM hProc AS Process > > EXEC [ "command", "-args"] FOR INPUT OUTPUT AS "hProc" > > PRINT #hProc, TextBox1.Text > > However, when I run my app the IDE spits out this error: > > Null Object > > and then jumps onto the PRINT line. > > What am I missing here? > I can't find examples of writing data to a process in the gambas docs, only > reading from a process is there. > > Thanks in advance! > > Eug?ne > I have done something similar recently to control the Videolan video player/transcoder/streamer. Here is a code snippet: '---------------------------------------------- PRIVATE $vlc AS Process 'note: this is a global variable PUBLIC SUB Form_Open() ... $vlc = EXEC ["vlc", "-I", "rc", "--video-x=0", "--video-y=0"] FOR INPUT OUTPUT AS "$vlc" ... END PUBLIC SUB $vlc_Read() 'reading from the $vlc process DIM s AS String DIM sa AS String[] WHILE Lof($vlc) > 0 READ #$vlc, s, Lof($vlc) s = Replace$(s, "\r", "") 'kick out carriage returns sa = Split(s, "\n") FOR EACH s IN sa PRINT s NEXT WEND END '------------------------------------- Example: if I want to send a command to the application I just do PRINT #$vlc,"playlist" and $vlc_Read will receive the playlist. Regards Werner From timothy.marshal-nichols at ...247... Tue May 1 09:21:40 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Tue, 1 May 2007 08:21:40 +0100 Subject: [Gambas-user] Gridview delete row In-Reply-To: <200704302350.10100.steven@...1652...> Message-ID: <000001c78bc1$5e662550$6401a8c0@...1587...> > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user- > bounces at lists.sourceforge.net] On Behalf Of Steven Lobbezoo > Sent: Monday, 30 April 2007 10:50 PM > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] Gridview delete row > > Hi, > > Maybe a stupid question, but : > What's the best and simplest way to remove a row from a grid. > I could move all rows above the selected one, and then delete the last one > by > setting the count one less, but that seems complicated. > > If someone knows a better solution ?? > Thanks, > Steven > In fact the code is not that complex. This would remove the current selected row: ' Remove the selected item from the GridView PUBLIC SUB ButtonRemove_Click() DIM r, c AS Integer ' Make sure we have something in the grid to remove IF GridViewItems.Rows.Count = 0 THEN RETURN FOR r = GridViewItems.Row TO GridViewItems.Rows.Count - 2 FOR c = 0 TO GridViewItems.Columns.Count - 1 GridViewItems[r, c].Picture = GridViewItems[r + 1, c].Picture GridViewItems[r, c].Text = GridViewItems[r + 1, c].Text NEXT NEXT GridViewItems.Rows.Count = GridViewItems.Rows.Count - 1 ' Somtimes you need to set the height if you have an picture ' in the GridView ' GridViewItems.Rows.Height = 32 END You, of course, would need the name to your GridView. You can use the same general idea and have buttons to move rows up and down in a GridView: ' Move selected GridView item up PUBLIC SUB ButtonUp_Click() DIM r, c AS Integer DIM tempText AS String DIM tempPicture AS Picture r = GridViewItems.Row IF GridViewItems.Rows.Count = 0 OR r = 0 THEN RETURN FOR c = 0 TO GridViewItems.Columns.Count - 1 tempText = GridViewItems[r - 1, c].Text tempPicture = GridViewItems[r - 1, c].Picture GridViewItems[r - 1, c].Text = GridViewItems[r, c].Text GridViewItems[r - 1, c].Picture = GridViewItems[r, c].Picture GridViewItems[r, c].Text = tempText GridViewItems[r, c].Picture = tempPicture NEXT GridViewItems.Row = r - 1 END ' Move selected GridView item down PUBLIC SUB ButtonDown_Click() DIM r, c AS Integer DIM tempText AS String DIM tempPicture AS Picture r = GridViewItems.Row IF GridViewItems.Rows.Count = 0 OR r = (GridViewItems.Rows.Count - 1) THEN RETURN FOR c = 0 TO GridViewItems.Columns.Count - 1 tempText = GridViewItems[r + 1, c].Text tempPicture = GridViewItems[r + 1, c].Picture GridViewItems[r + 1, c].Text = GridViewItems[r, c].Text GridViewItems[r + 1, c].Picture = GridViewItems[r, c].Picture GridViewItems[r, c].Text = tempText GridViewItems[r, c].Picture = tempPicture NEXT GridViewItems.Row = r + 1 END Thanks 8-{)} Timothy Marshal-Nichols From gareth at ...1689... Tue May 1 10:07:24 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 1 May 2007 09:07:24 +0100 Subject: [Gambas-user] Gridview delete row In-Reply-To: <000001c78bc1$5e662550$6401a8c0@...1587...> References: <000001c78bc1$5e662550$6401a8c0@...1587...> Message-ID: <1178006844.23780.13.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-4.png Type: image/png Size: 822 bytes Desc: not available URL: From steven at ...1652... Tue May 1 10:35:00 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Tue, 1 May 2007 10:35:00 +0200 Subject: [Gambas-user] Gridview delete row In-Reply-To: <1177972992.21082.55.camel@...1690...> References: <200704302350.10100.steven@...1652...> <1177972992.21082.55.camel@...1690...> Message-ID: <200705011035.00438.steven@...1652...> My grid has only up to 50 rows, so i did the following : DIM r AS Integer WITH GridView1 FOR r = .Row TO .Rows.Count - 2 GridView1[r, 0].Text = GridView1[r + 1, 0].Text GridView1[r, 1].Text = GridView1[r + 1, 1].Text GridView1[r, 2].Text = GridView1[r + 1, 2].Text GridView1[r, 3].Text = GridView1[r + 1, 3].Text GridView1[r, 4].Text = GridView1[r + 1, 4].Text GridView1[r, 5].Text = GridView1[r + 1, 5].Text NEXT .Rows.Count = .Rows.Count - 1 END WITH Works just fine. Steven Le mardi 1 mai 2007 00:43, Gareth Bult a ?crit?: > Mmm, > > Problem with that is the best place to store your info is in a result > set .. trouble is, they're read only ... (!) > > Gareth. > > On Mon, 2007-04-30 at 23:58 +0200, Benoit Minisini wrote: > > On lundi 30 avril 2007, Steven Lobbezoo wrote: > > > Hi, > > > > > > Maybe a stupid question, but : > > > What's the best and simplest way to remove a row from a grid. > > > I could move all rows above the selected one, and then delete the last > > > one by setting the count one less, but that seems complicated. > > > > > > If someone knows a better solution ?? > > > Thanks, > > > Steven > > > > This is a method to implement. Something like GridView.Row[XXX].Delete() > > > > At the moment, the better way is to not store anything in the GridView, > > to always use the Data event, and to store the GridView data in its own > > structure that you can manipulate as you like. > > > > Regards, From easuter at ...626... Tue May 1 12:50:49 2007 From: easuter at ...626... (easuter) Date: Tue, 1 May 2007 03:50:49 -0700 (PDT) Subject: [Gambas-user] Writing (or Printing) data to a process In-Reply-To: <4636A5B3.2030205@...1000...> References: <10262959.post@...1379...> <4636A5B3.2030205@...1000...> Message-ID: <10267346.post@...1379...> Werner-9 wrote: > > > I have done something similar recently to control the Videolan video > player/transcoder/streamer. Here is a code snippet: > '---------------------------------------------- > > PRIVATE $vlc AS Process 'note: this is a global variable > > > PUBLIC SUB Form_Open() > ... > $vlc = EXEC ["vlc", "-I", "rc", "--video-x=0", "--video-y=0"] FOR INPUT > OUTPUT AS "$vlc" > ... > END > > > PUBLIC SUB $vlc_Read() 'reading from the $vlc process > DIM s AS String > DIM sa AS String[] > > WHILE Lof($vlc) > 0 > READ #$vlc, s, Lof($vlc) > s = Replace$(s, "\r", "") 'kick out carriage returns > sa = Split(s, "\n") > FOR EACH s IN sa > PRINT s > NEXT > WEND > END > > '------------------------------------- > > Example: if I want to send a command to the application I just do > > PRINT #$vlc,"playlist" > > and $vlc_Read will receive the playlist. > > Regards > Werner > > Thanks so much! I made a few small changes and it worked perfectly :D FWIW, I'm attempting to write a simple frontend to "su" and so far it seems to be working ok. I have the subroutines that do all the "dirty work" in a separate module and the form opening executes the command, and the ok button writes out the password. It still needs work, but the basics are in place: http://clientes.netvisao.pt/alynnsut/VSu.png snip: -------------------------------------------------- PUBLIC SUB RunCmd() $hSu = EXEC ["su", "-c", sCommand] FOR INPUT OUTPUT AS "$hSu" END PUBLIC SUB $hSu_Read() DIM sInputString AS String WHILE NOT Eof($hSu) READ #$hSu, sInputString, Lof($hSu) WEND 'PRINT sInputString END ----------------------- PUBLIC SUB OkBtn_Click() PRINT #MGlobal.$hSu, PwTxtBox.Text END -------------------------- I will mention you in the AUTHORS notice ;) Thanks again for your help! -- View this message in context: http://www.nabble.com/Writing-%28or-Printing%29-data-to-a-process-tf3672829.html#a10267346 Sent from the gambas-user mailing list archive at Nabble.com. From gareth at ...1689... Tue May 1 13:08:33 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 1 May 2007 12:08:33 +0100 Subject: [Gambas-user] Language features (protected) Message-ID: <1178017713.23780.26.camel@...1690...> Hi, There doesn't seem to be an equivalent declaration to "protected" ... Is there any way to make properties visible to subclasses without making them public ? tia Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Tue May 1 13:35:26 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 1 May 2007 12:35:26 +0100 Subject: [Gambas-user] More language bits .. Message-ID: <1178019326.23780.31.camel@...1690...> Hi, I'm came across a requirement to do a; RETURN RAISE Save( x,y,z ) And found it wouldn't compile .. yet; DIM ret AS Boolean ret = RAISE Save( x,y,z ) RETURN ret Works fine ... Is there a nifty trick here / am I doing something wrong, or is this a feature ? (I see similar limits with the use of NEW .. ?) Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas.fr at ...626... Tue May 1 14:33:38 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 1 May 2007 14:33:38 +0200 Subject: [Gambas-user] Language features (protected) In-Reply-To: <1178017713.23780.26.camel@...1690...> References: <1178017713.23780.26.camel@...1690...> Message-ID: <6324a42a0705010533vb36414fjdc83e07045fae811@...627...> yes you set them public but theire name contain an underscore. PUBLIC _myproperty as .. so the IDE will ignore them Fabien Bodard 2007/5/1, Gareth Bult : > > Hi, > > There doesn't seem to be an equivalent declaration to "protected" ... > > Is there any way to make properties visible to subclasses without making > them public ? > > tia > Gareth. > > -- > Gareth Bult, Encryptec Limited > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > Email: gareth at ...1689... > Statements made are at all times subject to Encryptec's Terms and > Conditions of Business, which are available upon request. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Tue May 1 14:41:44 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 1 May 2007 14:41:44 +0200 Subject: [Gambas-user] More on properties ... In-Reply-To: <1177974477.21082.79.camel@...1690...> References: <200704292358.35204.gambas@...1...> <1177974477.21082.79.camel@...1690...> Message-ID: <6324a42a0705010541u2d5e993o19e4bcc7024a555a@...627...> hargg did you want to share this piece of code ?.... i will reduce my time on coding a lot :) Fabien PS: it remember me the multiple component on vb too About this ... Benoit ?, is there a way to store a private component in other place than the gb compiler place . I mean in the user space. Does the ide will manage it. Have you thinked about the components namespace ? (i know the problem of classe inheritance but at term it will be some confict on class names) 2007/5/1, Gareth Bult : > > > I'm eager to see your DBGridEdit! > > > Ok, you said it ... ;-) > > This is a working screenshot .. bar the ability to render the component > in design mode (and other IDE tweaks that would be nice) it's ready to > be played with ... > > > > I have FMain, with a tabstrip, and onto that tabstrip I've dropped a > DBConnection and a DBGridEdit .. and I have the following code ... > > PUBLIC SUB Form_Open() > > grid.Open > > END > > The rest is set into the component's design time properties .. Cool eh! > > Features (as shown); > > o Changes are "marked" until you "commit" the table > o Row deletions are in red (toolbar button or "Del") with a red cross > icon > o Row insertions are marked with a "+" Icon > o rows with changes are marked with the scissors icon > o actual changes are marked as red on white > o different fields have different editor types, current textedit, combo > or textarea (checkbox coming soon) > o cursor keys give spreadsheet effect. enter or space or double click > gives appropriate editor > o buttons shown are "defaults" and auto-linked to the editor > o properties include fields containing columns to display, titles, > column widths etc > o properties also include appropriate SELECT,DELETE,UPDATE and INSERT > commands > o sample shows an edit session of my DNS zone file (which supplies live > DNS via Bind9 + DLZ patches > o note that in-line changes (add/edit/delete) do not require complete > refreshes, hence the in-line markup > o save or cancel commits or rolls back changes clearing all on-screen > markup > > And I even included the odd comment ... :) > > Todo; > > o Additional buttons "Filter","Sort ASC", "Sort DESC" > o Byline in the toolbar showing the current record count > o Property to turn the toolbar on/off > o A little work on better combo box management re; list contents > o Some other properties, for example the right hand column is always > resized (if possible) to the max for the window, this may not always be > desirable > o Some documentation, a download and a couple of sample apps > > :) > > Gareth. > > > On Sun, 2007-04-29 at 23:58 +0200, Benoit Minisini wrote: > > > On dimanche 29 avril 2007, Gareth Bult wrote: > > > Ok, > > > > > > What I'm doing for now is to have a string property in my DBGridEdit > > > called "DBConnection". > > > This is the "name" of a component type "DBConnection", which I use to > > > "wrap" a raw "Connection". > > > Logic: "Connections" do not type things timeouts and disconnects, > which > > > are common, esp. over the Internet. > > > > > > I have a method called Exec; > > > > > > PUBLIC SUB Exec(cmd AS String) AS Result > > > > > > RETURN $conn.Exec(cmd) > > > > > > CATCH > > > Connect() > > > RETURN $conn.Exec(cmd) > > > END > > > > > > Where Connect is; > > > > > > PRIVATE SUB Connect() > > > > > > WITH $conn > > > > > > .host = $host > > > .type = $type > > > .user = $user > > > .Password = $pass > > > > > > END WITH > > > > > > TRY $conn.Close > > > $conn.Open > > > > > > END > > > > > > This transparently handles reconnection in the event that a connection > > > has timed out .. which catches / fixes 99% of all my sql errors :-) > > > > > > Effectively I have a DBGridEdit component that subclasses my GridEdit > > > component, but includes a connection and sql statements .. so I can > > > pretty much get 98% of my code into DBGridEdit's property boxes at > > > design time .. so effectively I plonk a DBGridEdit onto a tab strip, > set > > > myDBGridEdit.Criteria to the "where" component of a query, then do > > > myDBGridEdit.Open and I'm off. > > > > > > The GridEdit handles all keystrokes etc etc nicely .. and the > DBGridEdit > > > tracks changes, handles the editor and writes stuff back to the DB > > > transparently. > > > > > > Reduces many days (or even weeks) of coding to (literally) minutes for > > > anything that needs to edit a DB on a grid. > > > > > > I've also included an integral button bar .. indeed I've been trying > to > > > write a component that will allow me to mimick "Navicat"'s DB editor, > > > but with a more modern feel .. hopefully it will make a rather nice > drop > > > in replacement for the Gambas Database manager's data editor ... :-) > > > > > > Anyway, another day or two so and I should have something to show > > > off ... ;-) > > > (but it would be really nice to get the extensions in place to handle > > > user/gambas-written components "fully" .. there are LOTS of historical > > > components knocking around from Kylix days that would be easy to > > > re-implement in Gambas .. I've already re-written an SMTP server > module > > > which is archiving all my incoming email into an SQL db... currently ~ > > > 10,000 emails without a crash :-)) > > > > > > Gareth. > > > > > > > I'm eager to see your DBGridEdit! > > > > -- > Gareth Bult, Encryptec Limited > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > Email: gareth at ...1689..., MSN:garethbult at ...67... > > Statements made are at all times subject to Encryptec's Terms and > Conditions of Business, which are available upon request. > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From gareth at ...1689... Tue May 1 14:51:47 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 1 May 2007 12:51:47 +0000 Subject: [Gambas-user] More on properties ... In-Reply-To: <6324a42a0705010541u2d5e993o19e4bcc7024a555a@...627...> References: <200704292358.35204.gambas@...1...> Message-ID: <1178023907.23780.44.camel@...1690...> Just tidying .. will release later today ... On Tue, 2007-05-01 at 14:41 +0200, Fabien Bodard wrote: > hargg did you want to share this piece of code ?.... i will reduce my time > on coding a lot :) > > Fabien > > PS: it remember me the multiple component on vb too > > About this ... Benoit ?, > is there a way to store a private component in other place than the gb > compiler place . I mean in the user space. Does the ide will manage it. Have > you thinked about the components namespace ? (i know the problem of classe > inheritance but at term it will be some confict on class names) > > > 2007/5/1, Gareth Bult : > > > > > I'm eager to see your DBGridEdit! > > > > > > Ok, you said it ... ;-) > > > > This is a working screenshot .. bar the ability to render the component > > in design mode (and other IDE tweaks that would be nice) it's ready to > > be played with ... > > > > > > > > I have FMain, with a tabstrip, and onto that tabstrip I've dropped a > > DBConnection and a DBGridEdit .. and I have the following code ... > > > > PUBLIC SUB Form_Open() > > > > grid.Open > > > > END > > > > The rest is set into the component's design time properties .. Cool eh! > > > > Features (as shown); > > > > o Changes are "marked" until you "commit" the table > > o Row deletions are in red (toolbar button or "Del") with a red cross > > icon > > o Row insertions are marked with a "+" Icon > > o rows with changes are marked with the scissors icon > > o actual changes are marked as red on white > > o different fields have different editor types, current textedit, combo > > or textarea (checkbox coming soon) > > o cursor keys give spreadsheet effect. enter or space or double click > > gives appropriate editor > > o buttons shown are "defaults" and auto-linked to the editor > > o properties include fields containing columns to display, titles, > > column widths etc > > o properties also include appropriate SELECT,DELETE,UPDATE and INSERT > > commands > > o sample shows an edit session of my DNS zone file (which supplies live > > DNS via Bind9 + DLZ patches > > o note that in-line changes (add/edit/delete) do not require complete > > refreshes, hence the in-line markup > > o save or cancel commits or rolls back changes clearing all on-screen > > markup > > > > And I even included the odd comment ... :) > > > > Todo; > > > > o Additional buttons "Filter","Sort ASC", "Sort DESC" > > o Byline in the toolbar showing the current record count > > o Property to turn the toolbar on/off > > o A little work on better combo box management re; list contents > > o Some other properties, for example the right hand column is always > > resized (if possible) to the max for the window, this may not always be > > desirable > > o Some documentation, a download and a couple of sample apps > > > > :) > > > > Gareth. > > > > > > On Sun, 2007-04-29 at 23:58 +0200, Benoit Minisini wrote: > > > > > On dimanche 29 avril 2007, Gareth Bult wrote: > > > > Ok, > > > > > > > > What I'm doing for now is to have a string property in my DBGridEdit > > > > called "DBConnection". > > > > This is the "name" of a component type "DBConnection", which I use to > > > > "wrap" a raw "Connection". > > > > Logic: "Connections" do not type things timeouts and disconnects, > > which > > > > are common, esp. over the Internet. > > > > > > > > I have a method called Exec; > > > > > > > > PUBLIC SUB Exec(cmd AS String) AS Result > > > > > > > > RETURN $conn.Exec(cmd) > > > > > > > > CATCH > > > > Connect() > > > > RETURN $conn.Exec(cmd) > > > > END > > > > > > > > Where Connect is; > > > > > > > > PRIVATE SUB Connect() > > > > > > > > WITH $conn > > > > > > > > .host = $host > > > > .type = $type > > > > .user = $user > > > > .Password = $pass > > > > > > > > END WITH > > > > > > > > TRY $conn.Close > > > > $conn.Open > > > > > > > > END > > > > > > > > This transparently handles reconnection in the event that a connection > > > > has timed out .. which catches / fixes 99% of all my sql errors :-) > > > > > > > > Effectively I have a DBGridEdit component that subclasses my GridEdit > > > > component, but includes a connection and sql statements .. so I can > > > > pretty much get 98% of my code into DBGridEdit's property boxes at > > > > design time .. so effectively I plonk a DBGridEdit onto a tab strip, > > set > > > > myDBGridEdit.Criteria to the "where" component of a query, then do > > > > myDBGridEdit.Open and I'm off. > > > > > > > > The GridEdit handles all keystrokes etc etc nicely .. and the > > DBGridEdit > > > > tracks changes, handles the editor and writes stuff back to the DB > > > > transparently. > > > > > > > > Reduces many days (or even weeks) of coding to (literally) minutes for > > > > anything that needs to edit a DB on a grid. > > > > > > > > I've also included an integral button bar .. indeed I've been trying > > to > > > > write a component that will allow me to mimick "Navicat"'s DB editor, > > > > but with a more modern feel .. hopefully it will make a rather nice > > drop > > > > in replacement for the Gambas Database manager's data editor ... :-) > > > > > > > > Anyway, another day or two so and I should have something to show > > > > off ... ;-) > > > > (but it would be really nice to get the extensions in place to handle > > > > user/gambas-written components "fully" .. there are LOTS of historical > > > > components knocking around from Kylix days that would be easy to > > > > re-implement in Gambas .. I've already re-written an SMTP server > > module > > > > which is archiving all my incoming email into an SQL db... currently ~ > > > > 10,000 emails without a crash :-)) > > > > > > > > Gareth. > > > > > > > > > > I'm eager to see your DBGridEdit! > > > > > > > -- > > Gareth Bult, Encryptec Limited > > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > > Email: gareth at ...1689..., MSN:garethbult at ...67... > > > > Statements made are at all times subject to Encryptec's Terms and > > Conditions of Business, which are available upon request. > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Tue May 1 15:39:47 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 1 May 2007 14:39:47 +0100 Subject: [Gambas-user] Language features (protected) In-Reply-To: <6324a42a0705010533vb36414fjdc83e07045fae811@...627...> References: <1178017713.23780.26.camel@...1690...> Message-ID: <1178026787.23780.51.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From gambas at ...1... Tue May 1 16:42:25 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 May 2007 16:42:25 +0200 Subject: [Gambas-user] More on properties ... In-Reply-To: <6324a42a0705010541u2d5e993o19e4bcc7024a555a@...627...> References: <200704292358.35204.gambas@...1...> <1177974477.21082.79.camel@...1690...> <6324a42a0705010541u2d5e993o19e4bcc7024a555a@...627...> Message-ID: <200705011642.25712.gambas@...1...> On mardi 1 mai 2007, Fabien Bodard wrote: > hargg did you want to share this piece of code ?.... i will reduce my time > on coding a lot :) > > Fabien > > PS: it remember me the multiple component on vb too > > About this ... Benoit ?, > is there a way to store a private component in other place than the gb > compiler place . > I mean in the user space. Does the ide will manage it. If your project is a component, when you make the executable, you have a check-box in the dialog box to install the component in the user home directory. Check it for installing the component, uncheck it for removing it. > Have you thinked about the components namespace ? (i know the problem of > classe inheritance but at term it will be some confict on class names) All exported symbols of a component and all exported symbols of the project share the same namespace. A conflict, i.e. the same class name in two components , or in a component and in the project makes the last loaded class inherits and override the first one. To Gareth: If you want to put your component in the Gambas source code, tell me. I will check first that all exported symbols are named correctly, and that I like the interface of the component :-) Regards, -- Benoit Minisini From gambas at ...1... Tue May 1 16:43:12 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 May 2007 16:43:12 +0200 Subject: [Gambas-user] Language features (protected) In-Reply-To: <1178026787.23780.51.camel@...1690...> References: <1178017713.23780.26.camel@...1690...> <1178026787.23780.51.camel@...1690...> Message-ID: <200705011643.12668.gambas@...1...> On mardi 1 mai 2007, Gareth Bult wrote: > Ah, many thanks ... :-) > Note that this is not really "protected". The symbol remains public. But the final user won't see it. -- Benoit Minisini From gareth at ...1689... Tue May 1 20:00:21 2007 From: gareth at ...1689... (Gareth Bult) Date: Tue, 1 May 2007 19:00:21 +0100 Subject: [Gambas-user] Gambas GridEditor 0.1 Message-ID: <1178042421.23780.64.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-4.png Type: image/png Size: 822 bytes Desc: not available URL: From timothy.marshal-nichols at ...247... Wed May 2 08:23:20 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Wed, 2 May 2007 07:23:20 +0100 Subject: [Gambas-user] Gridview delete row In-Reply-To: <1178006844.23780.13.camel@...1690...> Message-ID: <000001c78c82$65e7b6b0$6401a8c0@...1587...> > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user- > bounces at lists.sourceforge.net] On Behalf Of Gareth Bult > Sent: Tuesday, 01 May 2007 09:07 AM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Gridview delete row > > Mmm, > > I'd be interested if you have ant timings on this .. I can see for a > table of 10 items it's not a problem, however 10,000 items might get > interesting ... > > Spare a thought for those of us developing programs for use on > multi-user servers ... ;-) > Wow, 10,000 items in a Grid or Table. Some might think this is impressive. But in fact it is an example of a rubbish user interface design. If you are likely to have this many items in a grid then forget about update speeds. You are on totally the wrong track. Think about your poor user trying to find the information they want lost in a sea of irrelevant items. You need to look again at your user interface and find a better way of presenting your data to the user. Thanks 8-{)} Timothy Marshal-Nichols From gareth at ...1689... Wed May 2 09:28:19 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 08:28:19 +0100 Subject: [Gambas-user] Gridview delete row In-Reply-To: <000001c78c82$65e7b6b0$6401a8c0@...1587...> References: <000001c78c82$65e7b6b0$6401a8c0@...1587...> Message-ID: <1178090899.1368.5.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From gareth at ...1689... Wed May 2 12:52:56 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 11:52:56 +0100 Subject: [Gambas-user] Object borders ... Message-ID: <1178103176.1368.22.camel@...1690...> Hi, Can someone tell me how border colours are controlled ? I seem to have an issue where after changing the contents of a grid cell, the border colour of the grid (and other boxes such as text entry) is set to the colour I used when setting the grid cell. (I'm using grid.Data.BackColor=xxx) Indeed it seems to change the border colour for *all* objects in the application (??) .. but I have no border colour property anywhere (?) Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Wed May 2 14:47:27 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 13:47:27 +0100 Subject: [Gambas-user] GridView ColumnResize Message-ID: <1178110047.1368.27.camel@...1690...> Hi, I'm trying to use this event but I'm missing a trick somewhere. When you click on a column separator an event is generated .. and while you keep the mouse button pressed and move the mouse, events keep being generated ... what I need to know is when the resize finishes and the user lets go of the mouse .. I'm not getting an MouseUP event .. is there something else I can watch for ? tia Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Wed May 2 15:47:39 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 May 2007 15:47:39 +0200 Subject: [Gambas-user] GridView ColumnResize In-Reply-To: <1178110047.1368.27.camel@...1690...> References: <1178110047.1368.27.camel@...1690...> Message-ID: <200705021547.39240.gambas@...1...> On mercredi 2 mai 2007, Gareth Bult wrote: > Hi, > > I'm trying to use this event but I'm missing a trick somewhere. > > When you click on a column separator an event is generated .. and while > you keep the mouse button pressed and move the mouse, events keep being > generated ... what I need to know is when the resize finishes and the > user lets go of the mouse .. I'm not getting an MouseUP event .. is > there something else I can watch for ? > > tia > Gareth. What do you need to know exactly? Did you look at the TableView source code in the gb.form component? This is an editable GridView, and what you need was surely implemented in it. Regards, -- Benoit Minisini From gambas at ...1... Wed May 2 15:48:03 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 May 2007 15:48:03 +0200 Subject: [Gambas-user] Object borders ... In-Reply-To: <1178103176.1368.22.camel@...1690...> References: <1178103176.1368.22.camel@...1690...> Message-ID: <200705021548.04043.gambas@...1...> On mercredi 2 mai 2007, Gareth Bult wrote: > Hi, > > Can someone tell me how border colours are controlled ? > > I seem to have an issue where after changing the contents of a grid > cell, the border colour of the grid (and other boxes such as text entry) > is set to the colour I used when setting the grid cell. > (I'm using grid.Data.BackColor=xxx) > > Indeed it seems to change the border colour for *all* objects in the > application (??) > .. but I have no border colour property anywhere (?) > > Gareth. Not very clear... Do you have some code? -- Benoit Minisini From gareth at ...1689... Wed May 2 16:10:51 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 15:10:51 +0100 Subject: [Gambas-user] GridView ColumnResize In-Reply-To: <200705021547.39240.gambas@...1...> References: <1178110047.1368.27.camel@...1690...> Message-ID: <1178115051.1368.37.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From gareth at ...1689... Wed May 2 16:27:29 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 15:27:29 +0100 Subject: [Gambas-user] Object borders ... In-Reply-To: <200705021548.04043.gambas@...1...> References: <1178103176.1368.22.camel@...1690...> Message-ID: <1178116049.1368.41.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: after.jpg Type: image/jpeg Size: 6418 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: before.jpg Type: image/jpeg Size: 7654 bytes Desc: not available URL: From gambas at ...1... Wed May 2 16:41:59 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 May 2007 16:41:59 +0200 Subject: [Gambas-user] Object borders ... In-Reply-To: <1178116049.1368.41.camel@...1690...> References: <1178103176.1368.22.camel@...1690...> <1178116049.1368.41.camel@...1690...> Message-ID: <200705021641.59853.gambas@...1...> On mercredi 2 mai 2007, Gareth Bult wrote: > Ok, > > Really easy to reproduce .. (1.9.48) > > New project, Qt, Form, call it test. > Drop a grid on. > Add event handler; > > PUBLIC SUB grid_Click() > > grid.X = 4 > grid.Y = 4 > grid.W = grid.Parent.ClientW - 8 > grid.H = grid.Parent.ClientH - 8 > > END > > F5 > I see a "fine" or "silver" border by default. > Click on the grid. > Redraw includes a thicker "light blue" line - which I don't expect ! > > Screen clips attached ... > > Gareth. > Mmm... It seems to be a bug in the drawing style. Which style do you use? -- Benoit Minisini From gareth at ...1689... Wed May 2 16:47:05 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 15:47:05 +0100 Subject: [Gambas-user] Object borders ... In-Reply-To: <200705021641.59853.gambas@...1...> References: <1178103176.1368.22.camel@...1690...> Message-ID: <1178117225.1368.44.camel@...1690...> Ok, you've got me there ... The example below was a completely clean test starting Gambas from scratch .. and was the entirety of the code .. All grid and properties were Gambas defaults ... (what's a drawing style?) Gareth. On Wed, 2007-05-02 at 16:41 +0200, Benoit Minisini wrote: > On mercredi 2 mai 2007, Gareth Bult wrote: > > Ok, > > > > Really easy to reproduce .. (1.9.48) > > > > New project, Qt, Form, call it test. > > Drop a grid on. > > Add event handler; > > > > PUBLIC SUB grid_Click() > > > > grid.X = 4 > > grid.Y = 4 > > grid.W = grid.Parent.ClientW - 8 > > grid.H = grid.Parent.ClientH - 8 > > > > END > > > > F5 > > I see a "fine" or "silver" border by default. > > Click on the grid. > > Redraw includes a thicker "light blue" line - which I don't expect ! > > > > Screen clips attached ... > > > > Gareth. > > > > Mmm... It seems to be a bug in the drawing style. Which style do you use? > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Wed May 2 16:52:58 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 15:52:58 +0100 Subject: [Gambas-user] GridView ColumnResize In-Reply-To: <200705021547.39240.gambas@...1...> References: <1178110047.1368.27.camel@...1690...> Message-ID: <1178117578.1368.47.camel@...1690...> Ok, still got problems with header resizing. It appears I *mostly* get a resize event after the mouse has been released, but not *always*. As the column width is only set *after* the mouse is released, I can't redraw the contents based on the ColumnResize event. (is there another event activated by a column resize that I should be linking to for redraws?) Gareth. On Wed, 2007-05-02 at 15:47 +0200, Benoit Minisini wrote: > On mercredi 2 mai 2007, Gareth Bult wrote: > > Hi, > > > > I'm trying to use this event but I'm missing a trick somewhere. > > > > When you click on a column separator an event is generated .. and while > > you keep the mouse button pressed and move the mouse, events keep being > > generated ... what I need to know is when the resize finishes and the > > user lets go of the mouse .. I'm not getting an MouseUP event .. is > > there something else I can watch for ? > > > > tia > > Gareth. > > What do you need to know exactly? > > Did you look at the TableView source code in the gb.form component? This is an > editable GridView, and what you need was surely implemented in it. > > Regards, > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Wed May 2 17:08:43 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 May 2007 17:08:43 +0200 Subject: [Gambas-user] Object borders ... In-Reply-To: <1178117225.1368.44.camel@...1690...> References: <1178103176.1368.22.camel@...1690...> <1178117225.1368.44.camel@...1690...> Message-ID: <200705021708.43678.gambas@...1...> On mercredi 2 mai 2007, Gareth Bult wrote: > Ok, you've got me there ... > > The example below was a completely clean test starting Gambas from > scratch .. and was the entirety of the code .. > All grid and properties were Gambas defaults ... > > (what's a drawing style?) > > Gareth. > I'm talking about what you choose in the KDE control panel. A style is the way widgets are rendered to the screen. Concretely it is (in KDE) a C++ class stored in a shared library that implements the drawing of all widgets you see on the screen. Try to change the style in the KDE control panel, and see if you have the drawing artifacts yet. Regards, -- Benoit Minisini From gambas at ...1... Wed May 2 17:11:37 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 May 2007 17:11:37 +0200 Subject: [Gambas-user] GridView ColumnResize In-Reply-To: <1178117578.1368.47.camel@...1690...> References: <1178110047.1368.27.camel@...1690...> <1178117578.1368.47.camel@...1690...> Message-ID: <200705021711.37840.gambas@...1...> On mercredi 2 mai 2007, Gareth Bult wrote: > Ok, still got problems with header resizing. > > It appears I *mostly* get a resize event after the mouse has been > released, but not *always*. > > As the column width is only set *after* the mouse is released, I can't > redraw the contents based on the ColumnResize event. > > (is there another event activated by a column resize that I should be > linking to for redraws?) > > Gareth. > ColumnResize and HeaderResize are just events that tells you that a column or a header has been resized, or is being resized. Don't expect more for this version. And I don't think you can safely draw headers anyway. Unless you rewrite a GridView from scratch in Gambas - I think it is possible, by using a GridView without headers, and by creating your own headers with labels, or what you want. Regards, -- Benoit Minisini From gareth at ...1689... Wed May 2 17:18:01 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 16:18:01 +0100 Subject: [Gambas-user] Object borders ... In-Reply-To: <200705021708.43678.gambas@...1...> References: <1178103176.1368.22.camel@...1690...> Message-ID: <1178119081.1368.53.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From gareth at ...1689... Wed May 2 17:20:16 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 16:20:16 +0100 Subject: [Gambas-user] GridView ColumnResize In-Reply-To: <200705021711.37840.gambas@...1...> References: <1178110047.1368.27.camel@...1690...> Message-ID: <1178119216.1368.57.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-4.png Type: image/png Size: 822 bytes Desc: not available URL: From gareth at ...1689... Wed May 2 17:46:34 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 16:46:34 +0100 Subject: [Gambas-user] Object borders ... In-Reply-To: <200705021708.43678.gambas@...1...> References: <1178103176.1368.22.camel@...1690...> Message-ID: <1178120794.1368.61.camel@...1690...> Ok, I've loaded Kcontrol which tells me that I'm using "Plastik" ... Tried a couple of other "looks", nothing else is nearly as "nice" .. that said other "styles" don't show the same issue. Don't really know enough about KDE to know whether having a display issue with certain skins is "acceptable" ?? Gareth. On Wed, 2007-05-02 at 17:08 +0200, Benoit Minisini wrote: > On mercredi 2 mai 2007, Gareth Bult wrote: > > Ok, you've got me there ... > > > > The example below was a completely clean test starting Gambas from > > scratch .. and was the entirety of the code .. > > All grid and properties were Gambas defaults ... > > > > (what's a drawing style?) > > > > Gareth. > > > > I'm talking about what you choose in the KDE control panel. A style is the way > widgets are rendered to the screen. Concretely it is (in KDE) a C++ class > stored in a shared library that implements the drawing of all widgets you see > on the screen. Try to change the style in the KDE control panel, and see if > you have the drawing artifacts yet. > > Regards, > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Wed May 2 18:59:37 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 May 2007 18:59:37 +0200 Subject: [Gambas-user] Object borders ... In-Reply-To: <1178120794.1368.61.camel@...1690...> References: <1178103176.1368.22.camel@...1690...> <1178120794.1368.61.camel@...1690...> Message-ID: <200705021859.37535.gambas@...1...> On mercredi 2 mai 2007, Gareth Bult wrote: > Ok, > > I've loaded Kcontrol which tells me that I'm using "Plastik" ... > > Tried a couple of other "looks", nothing else is nearly as "nice" .. > that said other "styles" don't show the same issue. > > Don't really know enough about KDE to know whether having a display > issue with certain skins is "acceptable" ?? > > Gareth. > No, but I don't have the artifacts with Plastik and KDE 3.5.6. Which version of KDE is installed on your system? -- Benoit Minisini From gareth at ...1689... Wed May 2 19:36:02 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 2 May 2007 18:36:02 +0100 Subject: [Gambas-user] Object borders ... In-Reply-To: <200705021859.37535.gambas@...1...> References: <1178103176.1368.22.camel@...1690...> Message-ID: <1178127362.1368.63.camel@...1690...> Urm, control panel says 3.5.6 ... On Wed, 2007-05-02 at 18:59 +0200, Benoit Minisini wrote: > On mercredi 2 mai 2007, Gareth Bult wrote: > > Ok, > > > > I've loaded Kcontrol which tells me that I'm using "Plastik" ... > > > > Tried a couple of other "looks", nothing else is nearly as "nice" .. > > that said other "styles" don't show the same issue. > > > > Don't really know enough about KDE to know whether having a display > > issue with certain skins is "acceptable" ?? > > > > Gareth. > > > > No, but I don't have the artifacts with Plastik and KDE 3.5.6. Which version > of KDE is installed on your system? > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From steven at ...1652... Wed May 2 22:25:25 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Wed, 2 May 2007 22:25:25 +0200 Subject: [Gambas-user] Drop on Toolbutton Message-ID: <200705022225.26064.steven@...1652...> Hi, I have a problem with a drop on a toolbutton, I do : PUBLIC SUB THed_Drop() ' first look if it's there allready, if so : refuse IF TB1.Text = Drag.Source.Name THEN RETURN IF TB2.Text = Drag.Source.Name THEN RETURN IF TB3.Text = Drag.Source.Name THEN RETURN IF TB4.Text = Drag.Source.Name THEN RETURN LAST.Picture = Drag.Data.Picture LAST.Text = Drag.Source.Name END The drop takes place, I see the image and text (that I put in name, since the text property does not exist), but i cannot read it. Al TBx.Text are empty. Is this a bug ? Steven From gambas at ...1... Wed May 2 23:48:49 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 May 2007 23:48:49 +0200 Subject: [Gambas-user] Drop on Toolbutton In-Reply-To: <200705022225.26064.steven@...1652...> References: <200705022225.26064.steven@...1652...> Message-ID: <200705022348.49732.gambas@...1...> On mercredi 2 mai 2007, Steven Lobbezoo wrote: > Hi, > > I have a problem with a drop on a toolbutton, I do : > > PUBLIC SUB THed_Drop() > ' first look if it's there allready, if so : refuse > IF TB1.Text = Drag.Source.Name THEN RETURN > IF TB2.Text = Drag.Source.Name THEN RETURN > IF TB3.Text = Drag.Source.Name THEN RETURN > IF TB4.Text = Drag.Source.Name THEN RETURN > LAST.Picture = Drag.Data.Picture > LAST.Text = Drag.Source.Name > END > > The drop takes place, I see the image and text (that I put in name, since > the text property does not exist), but i cannot read it. Al TBx.Text are > empty. > > Is this a bug ? > > Steven > What is the value of Drag.Source.Name? (print it at the beginning of THed_Drop). And there is no text property in Drag.Data because the dragged data is exchanged with the same X11 protocol than the clipboard data, and at the moment Gambas can put only one mime type in it. Regards, -- Benoit Minisini From easuter at ...626... Thu May 3 00:07:57 2007 From: easuter at ...626... (easuter) Date: Wed, 2 May 2007 15:07:57 -0700 (PDT) Subject: [Gambas-user] Writing (or Printing) data to a process In-Reply-To: <4636A5B3.2030205@...1000...> References: <10262959.post@...1379...> <4636A5B3.2030205@...1000...> Message-ID: <10295775.post@...1379...> By the way, how would the syntax have to be while using Gambas 1.0.17 to be able to run it in a virtual terminal like I was doing for gambas2? Using the same exec command as I did in gambas2 gives me a "Syntax error" in Gambas 1.0.17 -- View this message in context: http://www.nabble.com/Writing-%28or-Printing%29-data-to-a-process-tf3672829.html#a10295775 Sent from the gambas-user mailing list archive at Nabble.com. From steven at ...1652... Thu May 3 05:49:09 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Thu, 3 May 2007 05:49:09 +0200 Subject: [Gambas-user] Drop on Toolbutton In-Reply-To: <200705022348.49732.gambas@...1...> References: <200705022225.26064.steven@...1652...> <200705022348.49732.gambas@...1...> Message-ID: <200705030549.09529.steven@...1652...> Got it ! Thanks, Steven Le mercredi 2 mai 2007 23:48, Benoit Minisini a ?crit?: > On mercredi 2 mai 2007, Steven Lobbezoo wrote: > > Hi, > > > > I have a problem with a drop on a toolbutton, I do : > > > > PUBLIC SUB THed_Drop() > > ' first look if it's there allready, if so : refuse > > IF TB1.Text = Drag.Source.Name THEN RETURN > > IF TB2.Text = Drag.Source.Name THEN RETURN > > IF TB3.Text = Drag.Source.Name THEN RETURN > > IF TB4.Text = Drag.Source.Name THEN RETURN > > LAST.Picture = Drag.Data.Picture > > LAST.Text = Drag.Source.Name > > END > > > > The drop takes place, I see the image and text (that I put in name, since > > the text property does not exist), but i cannot read it. Al TBx.Text are > > empty. > > > > Is this a bug ? > > > > Steven > > What is the value of Drag.Source.Name? (print it at the beginning of > THed_Drop). > > And there is no text property in Drag.Data because the dragged data is > exchanged with the same X11 protocol than the clipboard data, and at the > moment Gambas can put only one mime type in it. > > Regards, From gareth at ...1689... Thu May 3 11:35:36 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 3 May 2007 10:35:36 +0100 Subject: [Gambas-user] Re; Grid / Double Click Message-ID: <1178184936.11885.2.camel@...1690...> Hi, A double click on a grid header raises a DblClick() .. is this last intended ? If so, is there an easy way of determining whether the user double clicked on the header or on a cell ? tia Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From leonardo at ...1237... Thu May 3 15:17:52 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 03 May 2007 15:17:52 +0200 Subject: [Gambas-user] Compilation under Sabayon Linux 3.3 Message-ID: <4639E100.3060407@...1237...> Hi everybody. Some days ago I installed Sabayon Linux 3.3 (a Gentoo based distro) on my laptop. After the installation I tried to compile Gambas but I have a problem. Even all the dependencies are satisfied (configure and make don't raise any error), when I try to install the files with make install (as root, of course), the installation halts during the process of the Corba component saying that it didn't find a file. So I tried to compile only the gb.corba component but the result is the same: ---------------------------- Creating the information files for gb.corba component... make[3]: /usr/local/bin/gbi2: Command not found make[3]: *** [install-data-hook] Error 127 make[3]: Leaving directory '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' make[2]: *** [install-data-am] Error 2 make[2]: Leaving directory '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' make[1]: *** [install-am] Error 2 make[1]: Leaving directory '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' make: *** [install-recursive] Error 1 --------------------------- It seems that it tries to look for gbi2 file but isn't this file created by Gambas? So how can it find it is it is still to be created? -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From gareth at ...1689... Thu May 3 15:31:03 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 3 May 2007 14:31:03 +0100 Subject: [Gambas-user] Unexpected error / abort Message-ID: <1178199063.11885.13.camel@...1690...> Hi, I've noticed than when using "Gambas" written components I can't copy / paste them .. indeed when I try to select, then Ctrl-C, I get; This application has raised an unexpected error and must abort. [6] Type mismatch: wanted Interger, got Null instead. FForm.CopySelection.1298 Is there something I should be doing in terms of my [gambas] component or is this an issue with the IDE? Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From leonardo at ...1237... Thu May 3 15:31:12 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Thu, 03 May 2007 15:31:12 +0200 Subject: [Gambas-user] Compilation under Sabayon Linux 3.3 In-Reply-To: <4639E100.3060407@...1237...> References: <4639E100.3060407@...1237...> Message-ID: <4639E420.5090707@...1237...> Leonardo Miliani ha scritto: > Hi everybody. > Some days ago I installed Sabayon Linux 3.3 (a Gentoo based distro) on > my laptop. > > After the installation I tried to compile Gambas but I have a problem. > Even all the dependencies are satisfied (configure and make don't raise > any error), when I try to install the files with make install (as root, > of course), the installation halts during the process of the Corba > component saying that it didn't find a file. So I tried to compile only > the gb.corba component but the result is the same: > > ---------------------------- > Creating the information files for gb.corba component... > make[3]: /usr/local/bin/gbi2: Command not found > make[3]: *** [install-data-hook] Error 127 > make[3]: Leaving directory > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' > make[2]: *** [install-data-am] Error 2 > make[2]: Leaving directory > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' > make: *** [install-recursive] Error 1 > --------------------------- > > It seems that it tries to look for gbi2 file but isn't this file created > by Gambas? So how can it find it is it is still to be created? > Upgrade: I've checked the make process and it seems that it doesn't start it! ------------------------- make all-recursive make[1]: Entering directory '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba' Makin all in src make[2]: Entering directory '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' make[2]: Nothing to be done for 'all' make[2]: Leaving directory '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' make[2]: Entering directory '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba' make[2]: Leaving directory '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' make[1]: Leaving directory '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48/gb.corba/src' --------------------------- But during the configuration, I don't get any error message... And I've installed omniORB and orbit on my sistem. Which are the dependencies of gb.corba component? -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From gambas at ...1... Thu May 3 21:25:48 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 May 2007 21:25:48 +0200 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <1178199063.11885.13.camel@...1690...> References: <1178199063.11885.13.camel@...1690...> Message-ID: <200705032125.48646.gambas@...1...> On jeudi 3 mai 2007, Gareth Bult wrote: > Hi, > > I've noticed than when using "Gambas" written components I can't copy / > paste them .. indeed when I try to select, then Ctrl-C, I get; > > > This application has raised an unexpected error and must abort. > [6] Type mismatch: wanted Interger, got Null instead. > FForm.CopySelection.1298 > > > Is there something I should be doing in terms of my [gambas] component > or is this an issue with the IDE? > > Gareth. The line number of the error is not for the last trunk version, but it seems that your control lacks for the X and Y property. But I'm not sure: can you give me the error message with the last revision? -- Benoit Minisini From gambas at ...1... Thu May 3 21:27:07 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 May 2007 21:27:07 +0200 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <1178184936.11885.2.camel@...1690...> References: <1178184936.11885.2.camel@...1690...> Message-ID: <200705032127.07238.gambas@...1...> On jeudi 3 mai 2007, Gareth Bult wrote: > Hi, > > A double click on a grid header raises a DblClick() .. is this last > intended ? > > If so, is there an easy way of determining whether the user double > clicked on the header or on a cell ? > > tia > Gareth. No, there is no way at the moment. And yes, it is intended: the DblClick event is the same for all controls, you get it each time you double click inside the control, except on the scroll bars if the control is a view with scroll bars. Regards, -- Benoit Minisini From gareth at ...1689... Thu May 3 21:36:36 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 3 May 2007 20:36:36 +0100 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <200705032125.48646.gambas@...1...> References: <1178199063.11885.13.camel@...1690...> Message-ID: <1178220996.16019.3.camel@...1690...> Hi, Yes, you got it in one! I had the property string set to ="Type,Field,Field ..." ... i.e. I wasn't including "*" and I'd not explicitly mentioned X,Y,W,H ... It's now working fine ... tvm Gareth. On Thu, 2007-05-03 at 21:25 +0200, Benoit Minisini wrote: > On jeudi 3 mai 2007, Gareth Bult wrote: > > Hi, > > > > I've noticed than when using "Gambas" written components I can't copy / > > paste them .. indeed when I try to select, then Ctrl-C, I get; > > > > > > This application has raised an unexpected error and must abort. > > [6] Type mismatch: wanted Interger, got Null instead. > > FForm.CopySelection.1298 > > > > > > Is there something I should be doing in terms of my [gambas] component > > or is this an issue with the IDE? > > > > Gareth. > > The line number of the error is not for the last trunk version, but it seems > that your control lacks for the X and Y property. > > But I'm not sure: can you give me the error message with the last revision? > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Thu May 3 21:41:50 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 3 May 2007 20:41:50 +0100 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <200705032127.07238.gambas@...1...> References: <1178184936.11885.2.camel@...1690...> Message-ID: <1178221310.16019.9.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-6.png Type: image/png Size: 796 bytes Desc: not available URL: From gambas at ...1... Thu May 3 21:45:52 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 May 2007 21:45:52 +0200 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <1178220996.16019.3.camel@...1690...> References: <1178199063.11885.13.camel@...1690...> <1178220996.16019.3.camel@...1690...> Message-ID: <200705032145.52603.gambas@...1...> On jeudi 3 mai 2007, Gareth Bult wrote: > Hi, > > Yes, you got it in one! > > I had the property string set to ="Type,Field,Field ..." ... > i.e. I wasn't including "*" and I'd not explicitly mentioned X,Y,W,H ... > > It's now working fine ... > > tvm > Gareth. > The '*' is sufficient, it means "gets all the properties of the parent class", so that you don't have to explicitely mention them. Regards, -- Benoit Minisini From gareth at ...1689... Thu May 3 21:51:19 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 3 May 2007 20:51:19 +0100 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <200705032145.52603.gambas@...1...> References: <1178199063.11885.13.camel@...1690...> Message-ID: <1178221879.16019.12.camel@...1690...> Yes, I'd figured .. I was using this for the DBConnection type and as it was non-graphics, didn't really want all the associated methods ... I'd "like" to present it in the same way you present a timer .. don't suppose there's a neat way of doing this for a Gambas component ? Gareth. On Thu, 2007-05-03 at 21:45 +0200, Benoit Minisini wrote: > On jeudi 3 mai 2007, Gareth Bult wrote: > > Hi, > > > > Yes, you got it in one! > > > > I had the property string set to ="Type,Field,Field ..." ... > > i.e. I wasn't including "*" and I'd not explicitly mentioned X,Y,W,H ... > > > > It's now working fine ... > > > > tvm > > Gareth. > > > > The '*' is sufficient, it means "gets all the properties of the parent class", > so that you don't have to explicitely mention them. > > Regards, > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Thu May 3 21:58:30 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 May 2007 21:58:30 +0200 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <1178221879.16019.12.camel@...1690...> References: <1178199063.11885.13.camel@...1690...> <1178221879.16019.12.camel@...1690...> Message-ID: <200705032158.30706.gambas@...1...> On jeudi 3 mai 2007, Gareth Bult wrote: > Yes, I'd figured .. I was using this for the DBConnection type and as it > was non-graphics, didn't really want all the associated methods ... > > I'd "like" to present it in the same way you present a timer .. don't > suppose there's a neat way of doing this for a Gambas component ? > > Gareth. > You can, by specifying "Virtual" instead of "Control" in the "Provides" tab in the project property dialog. Another point: if you don't want an inherited property in _Properties, you can prefix its name with a minus sign. Silly example: PUBLIC CONST _Properties AS String = "*,-Background,-Foreground" Regards, -- Benoit Minisini From gambas at ...1... Thu May 3 21:59:10 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 May 2007 21:59:10 +0200 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <1178221879.16019.12.camel@...1690...> References: <1178199063.11885.13.camel@...1690...> <1178221879.16019.12.camel@...1690...> Message-ID: <200705032159.10725.gambas@...1...> On jeudi 3 mai 2007, Gareth Bult wrote: > Yes, I'd figured .. I was using this for the DBConnection type and as it > was non-graphics, didn't really want all the associated methods ... > > I'd "like" to present it in the same way you present a timer .. don't > suppose there's a neat way of doing this for a Gambas component ? > > Gareth. > If you have other mails about your component, I think you should go to the developer mailing-list, as it is more a subject for this list. Regards, -- Benoit Minisini From gareth at ...1689... Thu May 3 22:24:18 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 3 May 2007 21:24:18 +0100 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <200705032158.30706.gambas@...1...> References: <1178199063.11885.13.camel@...1690...> Message-ID: <1178223858.16019.15.camel@...1690...> Ok, Now I've done it ... I changed the control to virtual .. Made an exec .. Loaded in my main application ... Now it failes with "Not Enough Arguments" before getting to any lines of code .. Reverting to a previous version of the component doesn't help ... Any ideas ? Gareth. On Thu, 2007-05-03 at 21:58 +0200, Benoit Minisini wrote: > On jeudi 3 mai 2007, Gareth Bult wrote: > > Yes, I'd figured .. I was using this for the DBConnection type and as it > > was non-graphics, didn't really want all the associated methods ... > > > > I'd "like" to present it in the same way you present a timer .. don't > > suppose there's a neat way of doing this for a Gambas component ? > > > > Gareth. > > > > You can, by specifying "Virtual" instead of "Control" in the "Provides" tab in > the project property dialog. > > Another point: if you don't want an inherited property in _Properties, you can > prefix its name with a minus sign. > > Silly example: > > PUBLIC CONST _Properties AS String = "*,-Background,-Foreground" > > Regards, > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Thu May 3 22:24:47 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 3 May 2007 21:24:47 +0100 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <200705032159.10725.gambas@...1...> References: <1178199063.11885.13.camel@...1690...> Message-ID: <1178223887.16019.17.camel@...1690...> Ok, sure .. I'm not on that list .. will subscribe ... On Thu, 2007-05-03 at 21:59 +0200, Benoit Minisini wrote: > On jeudi 3 mai 2007, Gareth Bult wrote: > > Yes, I'd figured .. I was using this for the DBConnection type and as it > > was non-graphics, didn't really want all the associated methods ... > > > > I'd "like" to present it in the same way you present a timer .. don't > > suppose there's a neat way of doing this for a Gambas component ? > > > > Gareth. > > > > If you have other mails about your component, I think you should go to the > developer mailing-list, as it is more a subject for this list. > > Regards, > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gerrya at ...67... Fri May 4 04:47:28 2007 From: gerrya at ...67... (Gerry Armstrong) Date: Fri, 4 May 2007 00:47:28 -0200 Subject: [Gambas-user] Syntax error confusion Message-ID: Guys,I am new to Gambas but have been impressed with its ease of use... although it has frustrated me due to my lack of knowledge of the language itself. I am having a problem with appending data to a file, I adjusted an example program to suite my needs but for some reason I am getting a syntax error in the line near the end of the code "hFile = OPEN "/home/gerry/smdr.txt" FOR WRITE APPEND" and I can't understand why. Please see the full code below. The object here is simply to append the data captured from the stream to a text file as well as to display it on the screen. Any advise as to why i get this error or even a better way of doing this is welcome!PRIVATE CurProtocol AS IntegerPUBLIC SUB Form_Open() CurProtocol=0ENDPUBLIC SUB MySock_Ready() '*********************************** ' When connection process has finished ' successfully, "Connected" event will raise '*********************************** Timer1.Enabled=FALSE Label3.Text="Connected to remote host " & MySock.Path Label3.Text=Label3.Text & " - Using local address : " & MySock.LocalHost & ":" & MySock.LocalPort ME.Enabled=TRUE Set_Interface(TRUE)ENDPUBLIC SUB MySock_Closed() '******************************************** ' this event will raise when foreing host ' closes the socket by any reason '******************************************** Label3.Caption="Connection Closed by forieng host." ME.Enabled=TRUE Set_Interface (FALSE) ENDPUBLIC SUB MySock_Found() '******************************************** ' this event will raise when forieng host ' name has been translated to IP '******************************************** Label3.Caption="Host Found. Connecting..." ENDPUBLIC SUB MySock_Read() '**************************************** ' When some data arrives from the remote ' part of the socket, "DataAvailable" event ' is raised '**************************************** DIM S AS String IF MySock.Status=Net.Connected THEN READ #MySock,S,Lof(MySock) TextArea1.Text=TextArea1.Text & S Save_Data(S) END IF ENDPUBLIC SUB MySock_Error() '********************************** ' this is the function to ' handle Errors when trying ' to read or write to the socket '********************************** SELECT CASE MySock.Status CASE Net.CannotCreateSocket label3.Text="The system does not allow to create a socket" CASE Net.HostNotFound label3.Text="Host not Found" CASE Net.ConnectionRefused label3.Text="Unable to Connect. Connection Refused" CASE Net.CannotRead label3.Text="Error Reading Data" CASE Net.CannotWrite label3.Text="Error Writing Data" END SELECT Set_Interface (FALSE)ENDPRIVATE SUB Set_Interface(bState AS Boolean) '**************************************** ' An auxiliar method to enable/disable ' controls in the formulary , when ' connection is stablished or closed '**************************************** Button1.Enabled=NOT bState TextBox1.Enabled=NOT bState TextBox2.Enabled=NOT bState 'CmbProtocol.Enabled=NOT bState 'Label5.Enabled=NOT bState Button2.Enabled=bState Timer1.Enabled=bState 'TextArea1.Enabled=bState 'Button3.Enabled=bState 'TextArea2.Enabled=bState IF bState=TRUE THEN TextArea1.Text="" ENDPUBLIC SUB Button1_Click() '****************************************** ' To connect to remote host we call to ' connectsocket method, passing Host Name ' and port as arguments '****************************************** DIM RetVal AS Integer Button1.Enabled=FALSE ' Stablishing a TCP connection. ' Here we use Host and ' Port properties, we could also ' do directly MySock.Connect(TextBox1.Text,VAL(TextBox2.Text)) MySock.Host=TextBox1.Text MySock.Port=Val(TextBox2.Text) MySock.Connect()ENDPUBLIC SUB Timer1_Timer() '*************************** ' timeout trying to connect '*************************** ME.Enabled=TRUE Timer1.Enabled=FALSE IF MySock.Status<>Net.Connected THEN CLOSE MySock Set_Interface (FALSE) Label3.Text="Timeout trying to stablish connection" END IFENDPUBLIC SUB Button2_Click() '********************************** ' Here we close the connection ' to remote host '********************************** CLOSE MySock Set_Interface(FALSE) Label3.Text="Connection closed by user"ENDPUBLIC SUB Form_Close() '********************* ' Close possible Stablished connections '********************* IF MySock.Status>0 THEN CLOSE #MySockENDPUBLIC SUB Save_Data(S AS String) DIM hFile AS File hFile = OPEN "/home/gerry/smdr.txt" FOR WRITE APPEND WRITE #hFile, SENDGerry Life is for LIVING! _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE From vince.scott at ...770... Fri May 4 06:22:27 2007 From: vince.scott at ...770... (Vince Scott) Date: Thu, 3 May 2007 23:22:27 -0500 Subject: [Gambas-user] BUG??? Message-ID: Hi All, This is the message we are getting when running gambas2 Stock._get.239: Cannot find: flag Project.RefreshBreakpointPicture.3380: #13: Null object received an error processing data from the DCOP server! The examples runs and executable created on another machine runs fine.but the Gambas IDE will not load??? This running on OS version is : SUSE Linux Enterprise Desktop 10 (i586) VERSION = 10 Any help appreciated. Vince Scott From ronstk at ...239... Fri May 4 06:46:02 2007 From: ronstk at ...239... (ron) Date: Fri, 4 May 2007 06:46:02 +0200 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <1178221310.16019.9.camel@...1690...> References: <1178184936.11885.2.camel@...1690...> <1178221310.16019.9.camel@...1690...> Message-ID: <200705040646.02527.ronstk@...239...> On Thursday 03 May 2007 21:41, Gareth Bult wrote: > Mmm, > > If you can't determine what the user double clicked on, the event it > seems is of limited use ... :( > Yes that idea looks true, but... > I did a bit of work on the issue I had with being able to display sort > arrows on the grid header .. I have something "workable" but it's not > overly pretty. > The GridView is a great tool but it is missing a few "finishing > touches". > > Is there a way forward on this, I'm afraid I'm not sufficiently familiar > with Qt or Gambas' workings to know whether this is a Qr or Gambas > limitation ? > > I did have a look at the Qt3 docs .. would Qt4 make any difference ? > > Gareth. When every thing is correct you can use the mouse.x and mouse.y position. For the column, grid or table view you have row height and column widths Some calculation with this you can find the cell coordinates where the click did happen and take the need actions. I did this in the past on a grid view to find the cell (row/column) The only thing that was not possible was if the first visible row was not the first row of the real rows. i.e. scrolled in 100 rows and the first visible row is row number 25. I did ask in the past for a property to be able to get the first visible row in the grid. (VB does have this property) Ron From gareth at ...1689... Fri May 4 10:11:22 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 4 May 2007 09:11:22 +0100 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <200705040646.02527.ronstk@...239...> References: <1178184936.11885.2.camel@...1690...> Message-ID: <1178266282.23039.4.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-6.png Type: image/png Size: 796 bytes Desc: not available URL: From ronstk at ...239... Fri May 4 11:03:18 2007 From: ronstk at ...239... (ron) Date: Fri, 4 May 2007 11:03:18 +0200 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <1178266282.23039.4.camel@...1690...> References: <1178184936.11885.2.camel@...1690...> <1178266282.23039.4.camel@...1690...> Message-ID: <200705041103.18397.ronstk@...239...> On Friday 04 May 2007 10:11, Gareth Bult wrote: > Yup, this is the issue I have .. it can be made to work "mostly" .. > > However, writing applications that work "mostly" doesn't really do it > for me ... :( > > My solution for now is to use a keyboard event rather than a double > click ... > If anyone has a working calculation I'm all ears ... :) > > Gareth. > This routine checks if the mouse x/y is above a cell and not in the space below/right of it ' waiting for updated gambas, function is add on my request PUBLIC FUNCTION hGrid at ...1692...(x AS Integer, Y AS Integer) AS Boolean ' returns true if out range DIM gx, gy AS Integer DIM gc, gr AS Integer gx = 0 gy = 0 gc = 0 gr = 0 WITH hGrid gx = .Columns[0].Width WHILE x > gx INC gc IF gc > (.Columns.Count - 1) THEN RETURN TRUE gx += .Columns[gc].Width WEND gy = .rows[0].Height WHILE y > gy INC gr IF gr > (.rows.Count - 1) THEN RETURN TRUE gy += .rows[gr].Height WEND .Column = gc .Row = gr END WITH END As mentioned the GridVie.Find is implement and here as private subroutine 'hGrid at ...1692...' hFrid is the handle for the GridView control. The calculation is here done. In fact I set the .Row and .Column properties so after a call the return boolean tells you if it is a valid hit or not. When valid the GridView.Row and GridView.Column are set correct. ----------------- Here I did use the service grdFields is the name of the GridView and the hGrid handle of it GridCtrlHide routine did hide the overlay controls for editing. GridCtrlShow routine shows the appropriate control for the .Row The Gridview is used with on the row the value/properties of a field in database table. Every row has his own control as textbox/listbox/combobox/checkbox Every column is the representation of a field. The result is transformed to a MySQL query Code is never been clean up of remarks etc.(shame to me) PUBLIC SUB grdFields_MouseDown() 'PRINT "grdFields_MouseDown:"; grdFields.Row; "/"; grdFields.Column 'PRINT mouse.X 'if ctrl then save value if editing IF ctrTBX.Visible THEN ctrTBXSave GridCtrlHide 'and go to new position ' IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN ' GridCtrlShow(grdFields.Row, grdFields.Column) END PUBLIC SUB grdFields_MouseMove() IF mouse.Left THEN 'PRINT "grdFields_MouseMove" 'check in gridcell IF ME.grdFields at ...1692...(mouse.X, mouse.Y) THEN RETURN ' IF ME.grdFields.Find(mouse.X, mouse.Y) THEN RETURN grd.CtrlHide Drag.Icon = picture["img/16/gambas.png"] drag(grdFields, MIME_TYPE_GRID) END IF END PUBLIC SUB grdFields_MouseUp() DIM vVal AS Variant 'PRINT "grdFields_MouseUp"; grdFields.Row; "/"; grdFields.Column GridCtrlHide IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN IF grdFields.row = grd.GRDVIS THEN ' row/column for write data in grid grdFields.Tag = [grdFields.Row, grdFields.Column] vVal = IIf(UCase(grdFields[grdFields.Row, grdFields.Column].Text) = "YES", "No", "Yes") GridWrite(vVal) ELSE GridCtrlShow(grdFields.Row, grdFields.Column) ENDIF END ----- Ron From gareth at ...1689... Fri May 4 11:25:56 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 4 May 2007 10:25:56 +0100 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <200705041103.18397.ronstk@...239...> References: <1178184936.11885.2.camel@...1690...> Message-ID: <1178270756.23039.10.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From ronstk at ...239... Fri May 4 11:44:54 2007 From: ronstk at ...239... (ron) Date: Fri, 4 May 2007 11:44:54 +0200 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <1178270756.23039.10.camel@...1690...> References: <1178184936.11885.2.camel@...1690...> <1178270756.23039.10.camel@...1690...> Message-ID: <200705041144.54359.ronstk@...239...> On Friday 04 May 2007 11:25, Gareth Bult wrote: > Hi, > > Thanks for that .. one problem I have however .. when you click (or > double click) on a header , it doesn't generate an Mouse event. > ... it only generates an event if you're over the grid ... > > However, playing with mouse clicks has I think led to a solution. > > A double click on a header generates a DblClick. > A double click on a cell generates both DblClick and MOUSE events (!) > > A single click on a cell generates a Mouse Down + Mouse UP. > A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing > the second "DOWN" becomes the DblClick) > > So, if I don't get associated mouse commands, it must be a double click > on a header ... :-) > > Now to code it ... :) > > Gareth. > It is long ago but the click on the header sets the column property as far I know. You see it visual the text is bold for the column. For the normal click you can see also the row in bold. This was the case with TableView. How after the changes to the new XxxxView every thing is working is unknow. :( Can't test it. After the change from SuSE to Kubuntu I'm not able to install gambas anymore. I was so tiered of the many times I did try so I give up. Still i'm interested in/about gambas and follow the maillist. Found in the last half year many of the problems I had with gambas occurred also at other users so I was not crazy after all. Ron From gareth at ...1689... Fri May 4 11:55:48 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 4 May 2007 10:55:48 +0100 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <1178270756.23039.10.camel@...1690...> References: <1178184936.11885.2.camel@...1690...> Message-ID: <1178272548.23039.18.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From gareth at ...1689... Fri May 4 12:00:56 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 4 May 2007 11:00:56 +0100 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <200705041144.54359.ronstk@...239...> References: <1178184936.11885.2.camel@...1690...> Message-ID: <1178272856.23039.23.camel@...1690...> Mmm, I'm an Ubuntu user so I have to compile from source .. (but this is not a major problem) If you want to get 1.9.48 running on the latest Ubuntu release (7.04) all you need to do is; a. Download Gambas source b. Do; apt-get install libbz2-dev libgnorba-dev omniorb4 libfbclient1 libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl3-dev libgtkglext1-dev libqt3-mt-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev build-essential libbonobo2-dev libcos4-dev libomniorb4-dev firebird2-dev librsvg2-dev libpoppler-qt-dev libpoppler-qt4-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libartsc0-dev libesd0-dev libesd-alsa0 libdirectfb-dev libaa1-dev c. Unpack the source an follow the instructions (make / make install) It should compile cleanly and install in /usr/local/bin ... I would "guess" that this will work ok KUbuntu too .. but I've not tried it .. (I run the apt-get and "make" in a script on many machines, works every time .. also worked for .47 ..) hth Gareth. On Fri, 2007-05-04 at 11:44 +0200, ron wrote: > On Friday 04 May 2007 11:25, Gareth Bult wrote: > > Hi, > > > > Thanks for that .. one problem I have however .. when you click (or > > double click) on a header , it doesn't generate an Mouse event. > > ... it only generates an event if you're over the grid ... > > > > However, playing with mouse clicks has I think led to a solution. > > > > A double click on a header generates a DblClick. > > A double click on a cell generates both DblClick and MOUSE events (!) > > > > A single click on a cell generates a Mouse Down + Mouse UP. > > A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing > > the second "DOWN" becomes the DblClick) > > > > So, if I don't get associated mouse commands, it must be a double click > > on a header ... :-) > > > > Now to code it ... :) > > > > Gareth. > > > > It is long ago but the click on the header sets the column property as far I know. > You see it visual the text is bold for the column. > For the normal click you can see also the row in bold. > This was the case with TableView. > How after the changes to the new XxxxView every thing is working is unknow. :( > > Can't test it. After the change from SuSE to Kubuntu I'm not able to install > gambas anymore. I was so tiered of the many times I did try so I give up. > Still i'm interested in/about gambas and follow the maillist. > Found in the last half year many of the problems I had with gambas occurred > also at other users so I was not crazy after all. > > Ron > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Fri May 4 18:52:10 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 May 2007 18:52:10 +0200 Subject: [Gambas-user] BUG??? In-Reply-To: References: Message-ID: <200705041852.10140.gambas@...1...> On vendredi 4 mai 2007, Vince Scott wrote: > Hi All, > > This is the message we are getting when running gambas2 > > Stock._get.239: Cannot find: flag > > Project.RefreshBreakpointPicture.3380: #13: Null object > > received an error processing data from the DCOP server! > > The examples runs and executable created on another machine runs fine.but > the Gambas IDE will not load??? > > This running on > > OS version is : > > SUSE Linux Enterprise Desktop 10 (i586) > > VERSION = 10 > > Any help appreciated. > > Vince Scott > Which version of Gambas do you use? -- Benoit Minisini From gambas at ...1... Fri May 4 18:57:30 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 May 2007 18:57:30 +0200 Subject: [Gambas-user] Compilation under Sabayon Linux 3.3 In-Reply-To: <4639E420.5090707@...1237...> References: <4639E100.3060407@...1237...> <4639E420.5090707@...1237...> Message-ID: <200705041857.30184.gambas@...1...> On jeudi 3 mai 2007, Leonardo Miliani wrote: > Leonardo Miliani ha scritto: > > Hi everybody. > > Some days ago I installed Sabayon Linux 3.3 (a Gentoo based distro) on > > my laptop. > > > > After the installation I tried to compile Gambas but I have a problem. > > Even all the dependencies are satisfied (configure and make don't raise > > any error), when I try to install the files with make install (as root, > > of course), the installation halts during the process of the Corba > > component saying that it didn't find a file. So I tried to compile only > > the gb.corba component but the result is the same: > > > > ---------------------------- > > Creating the information files for gb.corba component... > > make[3]: /usr/local/bin/gbi2: Command not found > > make[3]: *** [install-data-hook] Error 127 > > make[3]: Leaving directory > > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9. > >48/gb.corba/src' make[2]: *** [install-data-am] Error 2 > > make[2]: Leaving directory > > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9. > >48/gb.corba/src' make[1]: *** [install-am] Error 2 > > make[1]: Leaving directory > > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9. > >48/gb.corba/src' make: *** [install-recursive] Error 1 > > --------------------------- > > > > It seems that it tries to look for gbi2 file but isn't this file created > > by Gambas? So how can it find it is it is still to be created? > > Upgrade: > I've checked the make process and it seems that it doesn't start it! > > ------------------------- > make all-recursive > make[1]: Entering directory > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48 >/gb.corba' Makin all in src > make[2]: Entering directory > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48 >/gb.corba/src' make[2]: Nothing to be done for 'all' > make[2]: Leaving directory > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48 >/gb.corba/src' make[2]: Entering directory > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48 >/gb.corba' make[2]: Leaving directory > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48 >/gb.corba/src' make[1]: Leaving directory > '/home/sabayonuser/Documenti/Software/Programmazione/Gambas2/gambas2-1.9.48 >/gb.corba/src' --------------------------- > > > But during the configuration, I don't get any error message... > And I've installed omniORB and orbit on my sistem. > Which are the dependencies of gb.corba component? You must send the complete output of configuration and compilation command, as explained on the web site. Maybe there is something wrong that you didn't notice. Regards, -- Benoit Minisini From gambas at ...1... Fri May 4 18:56:40 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 May 2007 18:56:40 +0200 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <1178272856.23039.23.camel@...1690...> References: <1178184936.11885.2.camel@...1690...> <1178272856.23039.23.camel@...1690...> Message-ID: <200705041856.40445.gambas@...1...> On vendredi 4 mai 2007, Gareth Bult wrote: > Mmm, > > I'm an Ubuntu user so I have to compile from source .. (but this is not > a major problem) > If you want to get 1.9.48 running on the latest Ubuntu release (7.04) > all you need to do is; > > a. Download Gambas source > b. Do; > > apt-get install libbz2-dev libgnorba-dev omniorb4 libfbclient1 > libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev > libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl3-dev libgtkglext1-dev > libqt3-mt-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev > libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev build-essential > libbonobo2-dev libcos4-dev libomniorb4-dev firebird2-dev librsvg2-dev > libpoppler-qt-dev libpoppler-qt4-dev libpoppler-dev libpoppler-glib-dev > libasound2-dev libartsc0-dev libesd0-dev libesd-alsa0 libdirectfb-dev > libaa1-dev > > c. Unpack the source an follow the instructions (make / make install) > > It should compile cleanly and install in /usr/local/bin ... > I would "guess" that this will work ok KUbuntu too .. but I've not tried > it .. > > (I run the apt-get and "make" in a script on many machines, works every > time .. also worked for .47 ..) > > hth > Gareth. > Maybe I should make some pages on the wiki to explain how to compile Gambas for each distribution specifically... -- Benoit Minisini From gambas at ...1... Fri May 4 18:55:17 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 May 2007 18:55:17 +0200 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <1178270756.23039.10.camel@...1690...> References: <1178184936.11885.2.camel@...1690...> <1178270756.23039.10.camel@...1690...> Message-ID: <200705041855.17657.gambas@...1...> On vendredi 4 mai 2007, Gareth Bult wrote: > Hi, > > Thanks for that .. one problem I have however .. when you click (or > double click) on a header , it doesn't generate an Mouse event. > ... it only generates an event if you're over the grid ... > > However, playing with mouse clicks has I think led to a solution. > > A double click on a header generates a DblClick. Actually this is a bug. You should see the DblClick event only on cells. Be careful, this may be fixed in the future! -- Benoit Minisini From gambas at ...1... Fri May 4 18:51:37 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 May 2007 18:51:37 +0200 Subject: [Gambas-user] Syntax error confusion In-Reply-To: References: Message-ID: <200705041851.37280.gambas@...1...> On vendredi 4 mai 2007, Gerry Armstrong wrote: > Guys,I am new to Gambas but have been impressed with its ease of use... > although it has frustrated me due to my lack of knowledge of the language > itself. I am having a problem with appending data to a file, I adjusted an > example program to suite my needs but for some reason I am getting a syntax > error in the line near the end of the code "hFile = OPEN > "/home/gerry/smdr.txt" FOR WRITE APPEND" and I can't understand why. Please > see the full code below. The object here is simply to append the data > captured from the stream to a text file as well as to display it on the > screen. Any advise as to why i get this error or even a better way of doing > this is welcome!PRIVATE CurProtocol AS IntegerPUBLIC SUB Form_Open() > CurProtocol=0ENDPUBLIC SUB MySock_Ready() > '*********************************** ' When connection process has > finished ' successfully, "Connected" event will raise > '*********************************** Timer1.Enabled=FALSE > Label3.Text="Connected to remote host " & MySock.Path > Label3.Text=Label3.Text & " - Using local address : " & MySock.LocalHost & > ":" & MySock.LocalPort ME.Enabled=TRUE Set_Interface(TRUE)ENDPUBLIC SUB > MySock_Closed() '******************************************** ' this > event will raise when foreing host ' closes the socket by any reason > '******************************************** Label3.Caption="Connection > Closed by forieng host." ME.Enabled=TRUE Set_Interface (FALSE) ENDPUBLIC > SUB MySock_Found() '******************************************** ' this > event will raise when forieng host ' name has been translated to IP > '******************************************** Label3.Caption="Host Found. > Connecting..." ENDPUBLIC SUB MySock_Read() > '**************************************** ' When some data arrives from > the remote ' part of the socket, "DataAvailable" event ' is raised > '**************************************** DIM S AS String IF > MySock.Status=Net.Connected THEN READ #MySock,S,Lof(My Sock) > TextArea1.Text=TextArea1.Text & S Save_Data(S) END IF ENDPUBLIC SUB > MySock_Error() '********************************** ' this is the function > to ' handle Errors when trying ' to read or write to the socket > '********************************** SELECT CASE MySock.Status CASE > Net.CannotCreateSocket label3.Text="The system does not allow to > create a socket" CASE Net.HostNotFound label3.Text="Host not Found" > CASE Net.ConnectionRefused label3.Text="Unable to Connect. > Connection Refused" CASE Net.CannotRead label3.Text="Error Reading > Data" CASE Net.CannotWrite label3.Text="Error Writing Data" END > SELECT Set_Interface (FALSE)ENDPRIVATE SUB Set_Interface(bState AS > Boolean) '**************************************** ' An auxiliar method > to enable/disable ' controls in the formulary , when ' connection is > stablished or closed '**************************************** > Button1.Enabled=NOT bState TextBox1.Enabled=NOT bState > TextBox2.Enabled=NOT bState 'CmbProtocol.Enabled=NOT bState > 'Label5.Enabled=NOT bState Button2.Enabled=bState Timer1.Enabled=bState > 'TextArea1.Enabled=bState 'Button3.Enabled=bState > 'TextArea2.Enabled=bState IF bState=TRUE THEN TextArea1.Text="" ENDPUBLIC > SUB Button1_Click() '****************************************** ' To > connect to remote host we call to ' connectsocket method, passing Host > Name ' and port as arguments '****************************************** > DIM RetVal AS Integer Button1.Enabled=FALSE ' Stablishing a TCP > connection. ' Here we use Host and ' Port properties, we could > also ' do directly MySock.Connect(TextBox1.Text,VAL(TextBox2.Text)) > MySock.Host=TextBox1.Text MySock.Port=Val(TextBox2.Text) > MySock.Connect()ENDPUBLIC SUB Timer1_Timer() '*************************** > ' timeout trying to connect '*************************** ME.Enabled=TRUE > Timer1.Enabled=FALSE IF MySock.Status<>Net.Connected TH EN CLOSE MySock > Set_Interface (FALSE) Label3.Text="Timeout trying to stablish > connection" END IFENDPUBLIC SUB Button2_Click() > '********************************** ' Here we close the connection ' to > remote host '********************************** CLOSE MySock > Set_Interface(FALSE) Label3.Text="Connection closed by user"ENDPUBLIC SUB > Form_Close() '********************* ' Close possible Stablished > connections '********************* IF MySock.Status>0 THEN CLOSE > #MySockENDPUBLIC SUB Save_Data(S AS String) DIM hFile AS File hFile = > OPEN "/home/gerry/smdr.txt" FOR WRITE APPEND WRITE #hFile, SENDGerry > Where are the newlines? It is unreadable... -- Benoit Minisini From ronstk at ...239... Fri May 4 20:28:25 2007 From: ronstk at ...239... (ron) Date: Fri, 4 May 2007 20:28:25 +0200 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <200705041856.40445.gambas@...1...> References: <1178184936.11885.2.camel@...1690...> <1178272856.23039.23.camel@...1690...> <200705041856.40445.gambas@...1...> Message-ID: <200705042028.25224.ronstk@...239...> On Friday 04 May 2007 18:56, Benoit Minisini wrote: > On vendredi 4 mai 2007, Gareth Bult wrote: > > Mmm, > > > > I'm an Ubuntu user so I have to compile from source .. (but this is not > > a major problem) > > If you want to get 1.9.48 running on the latest Ubuntu release (7.04) > > all you need to do is; > > > > a. Download Gambas source > > b. Do; > > > > apt-get install libbz2-dev libgnorba-dev omniorb4 libfbclient1 > > libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev > > libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl3-dev libgtkglext1-dev > > libqt3-mt-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev > > libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev build-essential > > libbonobo2-dev libcos4-dev libomniorb4-dev firebird2-dev librsvg2-dev > > libpoppler-qt-dev libpoppler-qt4-dev libpoppler-dev libpoppler-glib-dev > > libasound2-dev libartsc0-dev libesd0-dev libesd-alsa0 libdirectfb-dev > > libaa1-dev > > > > c. Unpack the source an follow the instructions (make / make install) > > > > It should compile cleanly and install in /usr/local/bin ... > > I would "guess" that this will work ok KUbuntu too .. but I've not tried > > it .. > > > > (I run the apt-get and "make" in a script on many machines, works every > > time .. also worked for .47 ..) > > > > hth > > Gareth. > > > > Maybe I should make some pages on the wiki to explain how to compile Gambas > for each distribution specifically... > I got the problems after switching from SuSE to Kubuntu. I had to drop SuSE while the support for 9.2 was broken/dropped on opensuse. Kubuntu works nice but as some people found not out of box for gambas :( Getting the source with svn or download is not direct the problem. What is difficult is what developer packages exactly are need. For i.e. curl it is easy to look for something as xxx-curl-dev.xxx For pdf you do try something as pdf-dev but it must be poppler-dev. Any note about the first dependend -dev and place where to find if not in the distribution could help many people. Because it is now long time ago I did try I can't remember exact what did not work. As far I remember the ./configure was OK but told me it could not fine mysql despite it did exists and the make for the remainder in enabled state returned some errors about missing -dev parts for packages that were OK???? I did get already a long list as above for apt-get and that was solving a lot. The list here is however a lot bigger. > libasound2-dev libartsc0-dev libesd0-dev libesd-alsa0 libdirectfb-dev > libaa1-dev These for instance are new for me. I can't place a link why (gnome esd support?) Look a bit more and one of the sdl does start me to think there was also a problem of missing something. I do believe the compile is not the difficult part: get the source unpack it ./configure -C make make install The nasty part is when there are errors, how to solve them. The missing developer files and for what name to look. And here maybe there are difference in naming by distributions. Greets from Holland Ron P.S. For the gb.pdf we need the libpoppler-dev, and it is this as basic need If libpoppler-dev uses as i.e. libc6-dev etc is nice to know but I wish at least the basic libpoppler-dev mentioned. A guide how to read the developer file to find the other in needed. I can imagine a part of it but really new people starting, linux, C and gambas can have many problems with it. We all are not so good as Benoit :( Ron From gambas at ...1... Fri May 4 21:05:19 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 May 2007 21:05:19 +0200 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution Message-ID: <200705042105.20335.gambas@...1...> Hi, I have created new pages on the wiki (http://gambasdoc.org/help/install), where anybody will be able to explain how to compile & install Gambas on its own Linux distribution. These pages can be used too for distribution specific notes. I took the explanation of Gareth Bult for Ubuntu 7.04 and put it there. I created a page for Mandriva too, but it is void at the moment. I will fill it if I have time. Feel free to create the pages for your own distribution. Users having problem to install Gambas will thank you for the whole eternity for your help. Regards, -- Benoit Minisini From gambas at ...1... Fri May 4 22:10:50 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 May 2007 22:10:50 +0200 Subject: [Gambas-user] Keypress events; Solved! In-Reply-To: <1177524194.20656.22.camel@...1690...> References: <1177507732.20656.5.camel@...1690...> <1177524194.20656.22.camel@...1690...> Message-ID: <200705042210.50973.gambas@...1...> On mercredi 25 avril 2007, Gareth Bult wrote: > Ok, > > Maybe it's my poor understanding (?) but my code is now working. > > This works; > > PUBLIC SUB myobj_Keypress() > > $grid.MoveTo(0,0) > STOP EVENT > > END > > ... and this does not ... > > PUBLIC SUB myobj_Keypress() > > STOP EVENT > $grid.MoveTo(0,0) > > END > > It's now fixed, but I'm curios as to why "STOP EVENT" only works if it's > the last statement executed in the handler (?!) > > Gareth. > This bug is fixed in the last revision. Regards, -- Benoit Minisini From gareth at ...1689... Sat May 5 01:46:47 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 5 May 2007 00:46:47 +0100 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <200705041855.17657.gambas@...1...> References: <1178184936.11885.2.camel@...1690...> Message-ID: <1178322407.23039.65.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From gareth at ...1689... Sat May 5 01:51:38 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 4 May 2007 23:51:38 +0000 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <200705041856.40445.gambas@...1...> References: <1178184936.11885.2.camel@...1690...> Message-ID: <1178322698.23039.70.camel@...1690...> Sure, Worth also considering that Ubuntu are probably only packaging 1.x because 1.9.x is marked as "unstable". If you were to release what you have as "V2", it would probably get packaged and released pretty quickly. A number of packages that "should" be in the Ubuntu live repositories (Gambas 1.9.48 for example) are not there for this reason. ... So users are left on V1 simply for the sake of semantics ... IMHO, there's enough in 1.9.48 and it's sufficiently stable to be a release version. (well .. if you take out some of the packages like Gtk ... (!)) Gareth. On Fri, 2007-05-04 at 18:56 +0200, Benoit Minisini wrote: > On vendredi 4 mai 2007, Gareth Bult wrote: > > Mmm, > > > > I'm an Ubuntu user so I have to compile from source .. (but this is not > > a major problem) > > If you want to get 1.9.48 running on the latest Ubuntu release (7.04) > > all you need to do is; > > > > a. Download Gambas source > > b. Do; > > > > apt-get install libbz2-dev libgnorba-dev omniorb4 libfbclient1 > > libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev > > libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl3-dev libgtkglext1-dev > > libqt3-mt-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev > > libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev build-essential > > libbonobo2-dev libcos4-dev libomniorb4-dev firebird2-dev librsvg2-dev > > libpoppler-qt-dev libpoppler-qt4-dev libpoppler-dev libpoppler-glib-dev > > libasound2-dev libartsc0-dev libesd0-dev libesd-alsa0 libdirectfb-dev > > libaa1-dev > > > > c. Unpack the source an follow the instructions (make / make install) > > > > It should compile cleanly and install in /usr/local/bin ... > > I would "guess" that this will work ok KUbuntu too .. but I've not tried > > it .. > > > > (I run the apt-get and "make" in a script on many machines, works every > > time .. also worked for .47 ..) > > > > hth > > Gareth. > > > > Maybe I should make some pages on the wiki to explain how to compile Gambas > for each distribution specifically... > -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Sat May 5 01:53:27 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 5 May 2007 00:53:27 +0100 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <200705042105.20335.gambas@...1...> References: <200705042105.20335.gambas@...1...> Message-ID: <1178322808.23039.73.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-4.png Type: image/png Size: 822 bytes Desc: not available URL: From gareth at ...1689... Sat May 5 01:54:29 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 5 May 2007 00:54:29 +0100 Subject: [Gambas-user] Keypress events; Solved! In-Reply-To: <200705042210.50973.gambas@...1...> References: <1177507732.20656.5.camel@...1690...> Message-ID: <1178322869.23039.76.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From gambas at ...1... Sat May 5 11:20:33 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 May 2007 11:20:33 +0200 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <1178322407.23039.65.camel@...1690...> References: <1178184936.11885.2.camel@...1690...> <1178322407.23039.65.camel@...1690...> Message-ID: <200705051120.33217.gambas@...1...> On samedi 5 mai 2007, Gareth Bult wrote: > Well, so long as the event behaviour doesn't change for cells, it's not > a problem. > I do this; > > PRIVATE $doubleclick_pending AS Boolean; > > PUBLIC SUB grid_MouseDown() > $doubleclick_pending = FALSE > END > > PUBLIC SUB grid_DblClick() > $doubleclick_pending = TRUE > END > > PUBLIC SUB grid_MouseUp() > IF $doubleclick_pending THEN activate_editor() > $doubleclick_pending = FALSE ' because on a double click we get 2 x > MouseUP's > END > > (no "mouse" events if header is clicked, just the DblClick) > > :) > It seems logical that Qt sends two MouseUp event for one double click event. -- Benoit Minisini From gambas at ...1... Sat May 5 11:26:50 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 May 2007 11:26:50 +0200 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <1178322808.23039.73.camel@...1690...> References: <200705042105.20335.gambas@...1...> <1178322808.23039.73.camel@...1690...> Message-ID: <200705051126.50218.gambas@...1...> On samedi 5 mai 2007, Gareth Bult wrote: > .. how about a page for additional components ? > > http://encryptec.net/software/gambas-grideditor > > ;-) > No problem, you can do it yourself if you want: do you have a wiki account? -- Benoit Minisini From gambas at ...1... Sat May 5 11:36:36 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 May 2007 11:36:36 +0200 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <1178223858.16019.15.camel@...1690...> References: <1178199063.11885.13.camel@...1690...> <1178223858.16019.15.camel@...1690...> Message-ID: <200705051136.36679.gambas@...1...> On jeudi 3 mai 2007, Gareth Bult wrote: > Ok, > > Now I've done it ... > > I changed the control to virtual .. > Made an exec .. > Loaded in my main application ... > > Now it failes with "Not Enough Arguments" before getting to any lines of > code .. > > Reverting to a previous version of the component doesn't help ... > > Any ideas ? > > Gareth. > Can you send me the version of your component that raises this error? Another point: I suggest you study the code of DataView and DataTable controls in gb.db.form. The DataView is like your GridEditor, except that it has less features, and is not editable. In DataTable, you will find how I buffer the database data so that I don't have to read the entire SELECT from a request that returns thousand records. This way, I can view a table with 1000000 records through Internet without any problem. The only requirement is that the table must have primary keys. Maybe you could have used this control and extend it to write your GridEditor. This way, you would have got this buffer feature automatically. I think it could be a good idea to merge your developmement into gb.db.form. Regards, -- Benoit Minisini From gareth at ...1689... Sat May 5 15:29:02 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 5 May 2007 14:29:02 +0100 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <200705051126.50218.gambas@...1...> References: <200705042105.20335.gambas@...1...> Message-ID: <1178371742.23039.90.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From gareth at ...1689... Sat May 5 15:56:57 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 5 May 2007 14:56:57 +0100 Subject: [Gambas-user] Unexpected error / abort In-Reply-To: <200705051136.36679.gambas@...1...> References: <1178199063.11885.13.camel@...1690...> Message-ID: <1178373417.23039.121.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-4.png Type: image/png Size: 822 bytes Desc: not available URL: From ronstk at ...239... Sat May 5 19:31:56 2007 From: ronstk at ...239... (ron) Date: Sat, 5 May 2007 19:31:56 +0200 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <200705042105.20335.gambas@...1...> References: <200705042105.20335.gambas@...1...> Message-ID: <200705051931.57191.ronstk@...239...> On Friday 04 May 2007 21:05, Benoit Minisini wrote: > Hi, > > I have created new pages on the wiki (http://gambasdoc.org/help/install), > where anybody will be able to explain how to compile & install Gambas on its > own Linux distribution. > > These pages can be used too for distribution specific notes. > > I took the explanation of Gareth Bult for Ubuntu 7.04 and put it there. I > created a page for Mandriva too, but it is void at the moment. I will fill it > if I have time. > > Feel free to create the pages for your own distribution. Users having problem > to install Gambas will thank you for the whole eternity for your help. > > Regards, > Just a small part of my retry (could not resists) After apt-get the list Gareth Bult provided I did: ron at ...1693...:~/src/gambas2-1.9.48$ ./reconf /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal Not sutre what to do with his and followed with: ron at ...1693...:~/src/gambas2-1.9.48$ ./configure -C > conf1.ron .... lot of test etc configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands ********************************** THESE COMPONENTS ARE DISABLED: - gb.qt.kde - gb.qte ********************************** So good sofar, but the gb.qt.kde is need. from src/gambas2-1.9.48/gb.qt.kde/config.log configure:21829: checking for QT meta-object compiler result: /usr/bin/ configure:21933: checking for QT component headers result: /usr/include/qt3/ configure:22041: checking for QT component libraries result: /usr/lib/ configure:22210: checking for KDE 3.x component headers result: no configure:22318: checking for KDE 3.x component libraries result: no configure:22448: WARNING: *** KDE 3.x component is disabled creating ./config.status Using adept from the kubuntu distribution and som logic I decided i need kdelibs4-dev root at ...1693...:/home/ron/src/gambas2-1.9.48/gb.qt.kde# apt-get install kdelibs4-dev ... Get:1 http://nl.archive.ubuntu.com edgy/main libarts1-dev 1.5.4-0ubuntu1 [1200kB] Get:2 http://security.ubuntu.com edgy-security/main kdelibs4-dev 4:3.5.5-0ubuntu3.4 [1344kB] ... Setting up libarts1-dev (1.5.4-0ubuntu1) ... Setting up kdelibs4-dev (3.5.5-0ubuntu3.4) ... ron at ...1693...:~/src/gambas2-1.9.48$ ./reconf ron at ...1693...:~/src/gambas2-1.9.48$ ./configure -C > conf1.ron config.status: executing depfiles commands ********************************** THESE COMPONENTS ARE DISABLED: - gb.qte ********************************** Looks much better now, gb.qte is a special for QT embeded wich I do not have/want. root at ...1693...:/home/ron/src/gambas2-1.9.48# make mumble mumble, something is working hard :) ... make[2]: Leaving directory `/media/hdb4/dsk_all/home/ron/src/gambas2-1.9.48' make[1]: Leaving directory `/media/hdb4/dsk_all/home/ron/src/gambas2-1.9.48' root at ...1693...:/home/ron/src/gambas2-1.9.48# ??? looks good :) root at ...1693...:/home/ron/src/gambas2-1.9.48# make install All was fine. :) Stupid me, as root (just for the records) root at ...1693...:/home/ron/src/gambas2-1.9.48# gambas2 X Error: BadDevice, invalid or uninitialized input device 156 (known from wacom driver, OK) X Error: BadDevice, invalid or uninitialized input device 156 In popup window This application has raised an unexpected error and must abort. [13] Null object. Project.RefreshBreakpointPicture.3380 Changed to user ron ron at ...1693...:/home/ron/src/gambas2-1.9.48# gambas2 Bingo: thank you Gareth. The full working log about the process is in the archive file. Also the logic to determine kdelibs4-dev specific instead of the more logical kdebase-devel. kdebase-bin and kdebase-data should allready be installed by requirements of Kubuntu. libarts1-dev is a requirement of kdelibs4-dev and not in the list from Gareth Conclusion: For kubuntu the list of Gareth is OK Add only a "apt-get install kdelibs4-dev" for 'normal' dependency to install the really need headers for kde (this works for me ATM) or Add only a "apt-get install kdebase-dev" for 'super' dependency to install the full developer programs and all headers for kde. kdebase-bin and kdebase-data should allready be installed on kubuntu by requirements of kubuntu. libarts1-dev is a requirement of kdelibs4-dev and not in the list from Gareth Maybe Gareth can have a look to simple merge or make 2 new sets I'm less professional for management of this ----------- Happy Ron. -------------- next part -------------- A non-text attachment was scrubbed... Name: kubuntu-install-gambas.txt.tar.gz Type: application/x-tgz Size: 5469 bytes Desc: not available URL: From gareth at ...1689... Sun May 6 01:54:57 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 5 May 2007 23:54:57 +0000 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <200705051931.57191.ronstk@...239...> References: <200705042105.20335.gambas@...1...> Message-ID: <1178409297.23039.133.camel@...1690...> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-4.png Type: image/png Size: 822 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-3.png Type: image/png Size: 819 bytes Desc: not available URL: From gambas at ...1... Sun May 6 10:10:24 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 6 May 2007 10:10:24 +0200 Subject: [Gambas-user] IDE enhancements (was Re: Unexpected error / abort) In-Reply-To: <1178373417.23039.121.camel@...1690...> References: <1178199063.11885.13.camel@...1690...> <1178373417.23039.121.camel@...1690...> Message-ID: <200705061010.24381.gambas@...1...> On samedi 5 mai 2007, Gareth Bult wrote: > Hi, > > I've not tested whether this is just my existing application, or whether > it's just setting a component as "virtual" that causes a problem. > .. I will check, but on the same lines, how do I set an icon to > represent the control (as with the timer) ? > > >Another point: I suggest you study the code of DataView and DataTable > > controls in gb.db.form. > > Ok, will do ... > > > The DataView is like your GridEditor, except that it has less features, > > and is not editable. > > Yeeeessssss.... sort of ... ;-) > > > In DataTable, you will find how I buffer the database data so that I > > don't have to read the entire SELECT from a request that returns thousand > > records. This way, I can view a table with 1000000 records through > > Internet without any problem. The only requirement is that the table must > > have primary keys. > > Sure, I have this requirement too for the component. > > > Maybe you could have used this control and extend it to write your > > GridEditor. This way, you would have got this buffer feature > > automatically. > > At the moment the Control simply uses sqlExec and a result set. > It could be modified to use anything that provides "First" and "Moveto" > methods and "Count" / "Field" properties ... > > > I think it could be a good idea to merge your developmement into > > gb.db.form. > > Sure, although it would be nice to get a few of the IDE changes in first > (?) Actually most of your requested changes are planned for the next version of Gambas after the 2.0. > > Specifically the bits I'm looking for are; > > a. Property pull-down lists, an option to fill a pull-down from a list of > component names within the current project of a certain type > > b. The ability > for a component to provide the rendering code for itself > > c. Also (!) the > ability to re-load a component without restarting the IDE would be nice .. > :) > > Things I'd like to do with these changes; > > a. The component has an sqlSelect property. From this string I'd like to be > able to pull in a field list so for the "Fields" property, the user gets to > pick from the available fields, rather than entering the names free-form. > The database manager will be merge with the IDE. This way, the property sheet will be able to access the database connection defined by the user and will allow him to choose its tables and fields. Maybe virtual connection controls won't be necessary. They will be defined directly in the database manager part of the IDE. > b. If I can render the DBGridEditor at design time, then I can also render > the DBConnection, which means I can get live data into the grid. This often > helps when it comes to picking which fields to display and how wide to make > the default field widths. If the database manager is merged, then the IDE will use all database components, and so will be able to render them automatically. > It also means users could drop their own buttons > onto the tool bar. I don't see what you mean there. > > c. It should be possible to pick a database from a list for the > DBConnection component. > OK. > These were all features that were available under Delphi/Kylix .. whereas I > prefer the Gambas language and object orientation, the Delphi user > interface and IDE was way ahead of it's time and there are many > enhancements we could pump into the Gambas IDE. > > I'm currently developing an in-house management application so the > component will develop alongside this. My other target is to write a DB > shell with full MySQL 5.0 support to replace "Navicat" .. so one of the > next features will be an optional "filter" button which will provide a > drop-down panel between the buttons and grid onto which I can overlay a > filtering / selection mechanism to allow end-users to work with a filtered > subset of the available data. > > Gareth. > So, be patient :-) Regards, -- Benoit Minisini From alan at ...1281... Sun May 6 16:23:46 2007 From: alan at ...1281... (alan) Date: Sun, 06 May 2007 15:23:46 +0100 Subject: [Gambas-user] How to compile & install Gambas on a Mandriva Message-ID: <463DE4F2.90808@...1281...> I have compiled and installed Gambas2-1.9.48 on Mandrive 2007.0 with the following error list from the configure:- ************************************************************ configure: WARNING: *** MySQL driver is disabled configure: WARNING: *** SQLite 2 driver is disabled configure: WARNING: *** SVG loader for GTK+ is disabled configure: WARNING: *** QT OpenGL component is disabled configure: WARNING: *** QT/Embedded component is disabled configure: WARNING: *** openGL is disabled configure: WARNING: *** Ldap component is disabled - gb.db.mysql - gb.db.sqlite2 - gb.gtk.svg - gb.ldap - gb.opengl - gb.qte ************************************************************ I can understand and do without MySQL and SQLite2 (SQLite3 does work) but I do need Postgresql which the configure process correctly identifies, however when I try to load a postgres database in the Database example all I get is a message saying that postgres drivers are not present(Iget the same message for MySQL & Firebird and if I try Gambas-1.0.17). The postgres 8.2.3 database is up and can be seen by Access,OO & PGAdmin etc why not by gambas2? Ihave also tried to compile 1.9.48 on Mandriva 2007.1 . The configure error out with the following:- configure: WARNING: *** bzlib2 compression is disabled configure: WARNING: *** MySQL driver is disabled configure: WARNING: *** ODBC driver is disabled configure: WARNING: *** SQLite 2 driver is disabled configure: WARNING: *** SQLite 3 driver is disabled configure: WARNING: *** firebird driver is disabled configure: WARNING: *** SVG loader for GTK+ is disabled configure: WARNING: *** Poppler PDF library is disabled configure: WARNING: *** Advanced networking component is disabled configure: WARNING: *** Perl Compatible Regular Expression component is disabled configure: error: QT moc compiler not found. Try --with-moc option. configure: error: /bin/sh './configure' failed for gb.qt appending configuration tag "F77" to libtool checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for QT meta-object compiler... no ___________________________________________________________________ ___________________________________________________________________ libpvm [pid2170] /tmp/pvmd.0: No such file or directory libpvm [pid2170] /tmp/pvmd.0: No such file or directory libpvm [pid2170] /tmp/pvmd.0: No such file or directory make: *** pvmd not responding (PvmSysErr). Stop. libpvm [pid2170] /tmp/pvmd.0: No such file or directory From wdahn at ...1000... Sun May 6 17:05:02 2007 From: wdahn at ...1000... (Werner) Date: Sun, 06 May 2007 23:05:02 +0800 Subject: [Gambas-user] Images Message-ID: <463DEE9E.9050008@...1000...> Hello, trying to achieve a few Hypercard-style visual effects I had a closer look at the Image class and noticed quite a few methods that sound very interesting and seem to be in Gambas 1.4.8 (?) but not in the docs. Examples: Blur, Charcoal, Desaturate, Despeckle, Implode, Intensity, Oilpaint, Solarize, Wave. Are they implemented? Thanks Werner Dahn From wdahn at ...1000... Sun May 6 17:10:33 2007 From: wdahn at ...1000... (Werner) Date: Sun, 06 May 2007 23:10:33 +0800 Subject: [Gambas-user] Images In-Reply-To: <463DEE9E.9050008@...1000...> References: <463DEE9E.9050008@...1000...> Message-ID: <463DEFE9.8060109@...1000...> Werner wrote: > Hello, > > trying to achieve a few Hypercard-style visual effects I had a closer > look at the Image class and noticed quite a few methods that sound very > interesting and seem to be in Gambas 1.4.8 (?) but not in the docs. > Examples: Blur, Charcoal, Desaturate, Despeckle, Implode, Intensity, > Oilpaint, Solarize, Wave. > > Are they implemented? > > Thanks > Werner Dahn > > Sorry I meant Gambas 1.9.48 of course From lordheavym at ...626... Sun May 6 17:12:01 2007 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 6 May 2007 17:12:01 +0200 Subject: [Gambas-user] Images In-Reply-To: <463DEE9E.9050008@...1000...> References: <463DEE9E.9050008@...1000...> Message-ID: <200705061712.15496.lordheavym@...626...> On Sunday 06 May 2007 17:05:02 Werner wrote: > Hello, > > trying to achieve a few Hypercard-style visual effects I had a closer > look at the Image class and noticed quite a few methods that sound very > interesting and seem to be in Gambas 1.4.8 (?) but not in the docs. > Examples: Blur, Charcoal, Desaturate, Despeckle, Implode, Intensity, > Oilpaint, Solarize, Wave. > > Are they implemented? > > Thanks > Werner Dahn > You must take a look at the gb.image component. http://64.128.110.55/help/comp/gb.image Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From wdahn at ...1000... Sun May 6 17:41:12 2007 From: wdahn at ...1000... (Werner) Date: Sun, 06 May 2007 23:41:12 +0800 Subject: [Gambas-user] Images In-Reply-To: <200705061712.15496.lordheavym@...626...> References: <463DEE9E.9050008@...1000...> <200705061712.15496.lordheavym@...626...> Message-ID: <463DF718.4050801@...1000...> Laurent Carlier wrote: > On Sunday 06 May 2007 17:05:02 Werner wrote: > >> Hello, >> >> trying to achieve a few Hypercard-style visual effects I had a closer >> look at the Image class and noticed quite a few methods that sound very >> interesting and seem to be in Gambas 1.4.8 (?) but not in the docs. >> Examples: Blur, Charcoal, Desaturate, Despeckle, Implode, Intensity, >> Oilpaint, Solarize, Wave. >> >> Are they implemented? >> >> Thanks >> Werner Dahn >> >> > > You must take a look at the gb.image component. > > http://64.128.110.55/help/comp/gb.image > > Regards, > > Thanks. The documentation stubs are there but no content. It is difficult for me to figure out how this works. Even using the typing hints in the IDE didn't tell me much. Is this a Gambas invention or is closely related to some other package that I could look up? Regards Werner From gambas at ...1... Sun May 6 19:27:59 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 6 May 2007 19:27:59 +0200 Subject: [Gambas-user] How to compile & install Gambas on a Mandriva In-Reply-To: <463DE4F2.90808@...1281...> References: <463DE4F2.90808@...1281...> Message-ID: <200705061927.59241.gambas@...1...> On dimanche 6 mai 2007, alan wrote: > I have compiled and installed Gambas2-1.9.48 on Mandrive 2007.0 with the > following error list from the configure:- > > ************************************************************ > > configure: WARNING: *** MySQL driver is disabled > configure: WARNING: *** SQLite 2 driver is disabled > configure: WARNING: *** SVG loader for GTK+ is disabled > configure: WARNING: *** QT OpenGL component is disabled > configure: WARNING: *** QT/Embedded component is disabled > configure: WARNING: *** openGL is disabled > configure: WARNING: *** Ldap component is disabled > > - gb.db.mysql > - gb.db.sqlite2 > - gb.gtk.svg > - gb.ldap > - gb.opengl > - gb.qte > > ************************************************************ > > I can understand and do without MySQL and SQLite2 (SQLite3 does work) > but I do need > Postgresql which the configure process correctly identifies, however > when I try to load a > postgres database in the Database example all I get is a message saying > that postgres drivers are not present(Iget the same message for MySQL & > Firebird and if I try Gambas-1.0.17). The postgres 8.2.3 database is up > and can be seen by Access,OO & PGAdmin etc why not by gambas2? > > > Ihave also tried to compile 1.9.48 on Mandriva 2007.1 . The configure > error out with the following:- > > configure: WARNING: *** bzlib2 compression is disabled > configure: WARNING: *** MySQL driver is disabled > configure: WARNING: *** ODBC driver is disabled > configure: WARNING: *** SQLite 2 driver is disabled > configure: WARNING: *** SQLite 3 driver is disabled > configure: WARNING: *** firebird driver is disabled > configure: WARNING: *** SVG loader for GTK+ is disabled > configure: WARNING: *** Poppler PDF library is disabled > configure: WARNING: *** Advanced networking component is disabled > configure: WARNING: *** Perl Compatible Regular Expression component is > disabled > configure: error: QT moc compiler not found. Try --with-moc option. > configure: error: /bin/sh './configure' failed for gb.qt > appending configuration tag "F77" to libtool > checking for X... libraries , headers > checking for gethostbyname... yes > checking for connect... yes > checking for remove... yes > checking for shmat... yes > checking for IceConnectionNumber in -lICE... yes > checking for XOpenDisplay in -lX11... yes > checking for XShmAttach in -lXext... yes > checking for QT meta-object compiler... no > ___________________________________________________________________ > ___________________________________________________________________ > > libpvm [pid2170] /tmp/pvmd.0: No such file or directory > libpvm [pid2170] /tmp/pvmd.0: No such file or directory > libpvm [pid2170] /tmp/pvmd.0: No such file or directory > make: *** pvmd not responding (PvmSysErr). Stop. > libpvm [pid2170] /tmp/pvmd.0: No such file or directory > You must install the development packages. I will make a "how to compile and install Gambas on Mandriva" page on the wiki soon. Regards, -- Benoit Minisini From gambas at ...1... Sun May 6 19:30:46 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 6 May 2007 19:30:46 +0200 Subject: [Gambas-user] Images In-Reply-To: <463DF718.4050801@...1000...> References: <463DEE9E.9050008@...1000...> <200705061712.15496.lordheavym@...626...> <463DF718.4050801@...1000...> Message-ID: <200705061930.46215.gambas@...1...> On dimanche 6 mai 2007, Werner wrote: > Laurent Carlier wrote: > > On Sunday 06 May 2007 17:05:02 Werner wrote: > >> Hello, > >> > >> trying to achieve a few Hypercard-style visual effects I had a closer > >> look at the Image class and noticed quite a few methods that sound very > >> interesting and seem to be in Gambas 1.4.8 (?) but not in the docs. > >> Examples: Blur, Charcoal, Desaturate, Despeckle, Implode, Intensity, > >> Oilpaint, Solarize, Wave. > >> > >> Are they implemented? > >> > >> Thanks > >> Werner Dahn > > > > You must take a look at the gb.image component. > > > > http://64.128.110.55/help/comp/gb.image > > > > Regards, > > Thanks. The documentation stubs are there but no content. It is > difficult for me to figure out how this works. > Even using the typing hints in the IDE didn't tell me much. Is this a > Gambas invention or is closely related to some other package that I > could look up? > > Regards > Werner > This component is based on image manipulation routines of the KDE libraries that come from the ImageMagick library. See: http://en.wikipedia.org/wiki/ImageMagick I often don't know what is the effect of all routines and their arguments, but there is a documentation on the ImageMagick web site. But I didn't have the time to fully read it and document the component on the wiki. Regards, -- Benoit Minisini From gareth at ...1689... Mon May 7 00:09:24 2007 From: gareth at ...1689... (Gareth Bult) Date: Sun, 6 May 2007 23:09:24 +0100 Subject: [Gambas-user] IDE enhancements (was Re: Unexpected error / abort) In-Reply-To: <200705061010.24381.gambas@...1...> References: <1178199063.11885.13.camel@...1690...> Message-ID: <1178489364.24687.2.camel@...1690...> Ok .. If the code is merged, this will solve problems re; the DBGridEditor .. however it will post all the same problems when I come to develop more components ... (!) In the meantime, could you outline how I would add my component to the source tree such that the IDE would pick it up .. (and what I would need to do to have the IDE call my rendering code ?) Gareth. On Sun, 2007-05-06 at 10:10 +0200, Benoit Minisini wrote: > On samedi 5 mai 2007, Gareth Bult wrote: > > Hi, > > > > I've not tested whether this is just my existing application, or whether > > it's just setting a component as "virtual" that causes a problem. > > .. I will check, but on the same lines, how do I set an icon to > > represent the control (as with the timer) ? > > > > >Another point: I suggest you study the code of DataView and DataTable > > > > controls in gb.db.form. > > > > Ok, will do ... > > > > > The DataView is like your GridEditor, except that it has less features, > > > and is not editable. > > > > Yeeeessssss.... sort of ... ;-) > > > > > In DataTable, you will find how I buffer the database data so that I > > > don't have to read the entire SELECT from a request that returns thousand > > > records. This way, I can view a table with 1000000 records through > > > Internet without any problem. The only requirement is that the table must > > > have primary keys. > > > > Sure, I have this requirement too for the component. > > > > > Maybe you could have used this control and extend it to write your > > > GridEditor. This way, you would have got this buffer feature > > > automatically. > > > > At the moment the Control simply uses sqlExec and a result set. > > It could be modified to use anything that provides "First" and "Moveto" > > methods and "Count" / "Field" properties ... > > > > > I think it could be a good idea to merge your developmement into > > > gb.db.form. > > > > Sure, although it would be nice to get a few of the IDE changes in first > > (?) > > Actually most of your requested changes are planned for the next version of > Gambas after the 2.0. > > > > > Specifically the bits I'm looking for are; > > > > a. Property pull-down lists, an option to fill a pull-down from a list of > > component names within the current project of a certain type > > > > b. The ability > > for a component to provide the rendering code for itself > > > > c. Also (!) the > > ability to re-load a component without restarting the IDE would be nice .. > > :) > > > > Things I'd like to do with these changes; > > > > a. The component has an sqlSelect property. From this string I'd like to be > > able to pull in a field list so for the "Fields" property, the user gets to > > pick from the available fields, rather than entering the names free-form. > > > > The database manager will be merge with the IDE. This way, the property sheet > will be able to access the database connection defined by the user and will > allow him to choose its tables and fields. > > Maybe virtual connection controls won't be necessary. They will be defined > directly in the database manager part of the IDE. > > > b. If I can render the DBGridEditor at design time, then I can also render > > the DBConnection, which means I can get live data into the grid. This often > > helps when it comes to picking which fields to display and how wide to make > > the default field widths. > > If the database manager is merged, then the IDE will use all database > components, and so will be able to render them automatically. > > > It also means users could drop their own buttons > > onto the tool bar. > > I don't see what you mean there. > > > > > c. It should be possible to pick a database from a list for the > > DBConnection component. > > > > OK. > > > These were all features that were available under Delphi/Kylix .. whereas I > > prefer the Gambas language and object orientation, the Delphi user > > interface and IDE was way ahead of it's time and there are many > > enhancements we could pump into the Gambas IDE. > > > > I'm currently developing an in-house management application so the > > component will develop alongside this. My other target is to write a DB > > shell with full MySQL 5.0 support to replace "Navicat" .. so one of the > > next features will be an optional "filter" button which will provide a > > drop-down panel between the buttons and grid onto which I can overlay a > > filtering / selection mechanism to allow end-users to work with a filtered > > subset of the available data. > > > > Gareth. > > > > So, be patient :-) > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From wdahn at ...1000... Mon May 7 04:46:37 2007 From: wdahn at ...1000... (Werner) Date: Mon, 07 May 2007 10:46:37 +0800 Subject: [Gambas-user] Images In-Reply-To: <200705061930.46215.gambas@...1...> References: <463DEE9E.9050008@...1000...> <200705061712.15496.lordheavym@...626...> <463DF718.4050801@...1000...> <200705061930.46215.gambas@...1...> Message-ID: <463E930D.2070706@...1000...> Benoit Minisini wrote: > On dimanche 6 mai 2007, Werner wrote: > >> Laurent Carlier wrote: >> >>> On Sunday 06 May 2007 17:05:02 Werner wrote: >>> >>>> Hello, >>>> >>>> trying to achieve a few Hypercard-style visual effects I had a closer >>>> look at the Image class and noticed quite a few methods that sound very >>>> interesting and seem to be in Gambas 1.4.8 (?) but not in the docs. >>>> Examples: Blur, Charcoal, Desaturate, Despeckle, Implode, Intensity, >>>> Oilpaint, Solarize, Wave. >>>> >>>> Are they implemented? >>>> >>>> Thanks >>>> Werner Dahn >>>> >>> You must take a look at the gb.image component. >>> >>> http://64.128.110.55/help/comp/gb.image >>> >>> Regards, >>> >> Thanks. The documentation stubs are there but no content. It is >> difficult for me to figure out how this works. >> Even using the typing hints in the IDE didn't tell me much. Is this a >> Gambas invention or is closely related to some other package that I >> could look up? >> >> Regards >> Werner >> >> > > This component is based on image manipulation routines of the KDE libraries > that come from the ImageMagick library. > > See: http://en.wikipedia.org/wiki/ImageMagick > > I often don't know what is the effect of all routines and their arguments, but > there is a documentation on the ImageMagick web site. But I didn't have the > time to fully read it and document the component on the wiki. > > Regards, > > Thanks! You are planting ideas in my head :) Oh and there's xmorph Yippie Werner From sbungay at ...981... Mon May 7 04:46:20 2007 From: sbungay at ...981... (sbungay) Date: Sun, 06 May 2007 22:46:20 -0400 Subject: [Gambas-user] Interprocess communication.... Message-ID: <463E92FC.7020603@...981...> There is a need to have GAMBAS applications talk to and control KDE applications (Konqueror in this case), and DCOP seems to be the only way to do this. Having looked through the email archives I see a few references to DCOP from long ago (2005) and a couple of recent ones, but nothing really useful. Questions: 1. (a) Can GAMBAS use DCOP to talk to Kde Applications? (b) If so How? 2. (a) Is DCOP the only path to take? (b) If not then what is/are the alternative(s)? Steve. From jredrejo at ...626... Mon May 7 09:33:47 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Mon, 7 May 2007 07:33:47 +0000 Subject: [Gambas-user] Interprocess communication.... In-Reply-To: <463E92FC.7020603@...981...> References: <463E92FC.7020603@...981...> Message-ID: <8eb28a500705070033n2c10b902yface15380d890706@...627...> 2007/5/7, sbungay : > There is a need to have GAMBAS applications talk to and control KDE > applications (Konqueror in this case), and DCOP seems to be the only way > to do this. Having looked through the email archives I see a few > references to DCOP from long ago (2005) and a couple of recent ones, but > nothing really useful. > > Questions: > 1. (a) Can GAMBAS use DCOP to talk to Kde Applications? > (b) If so How? > > 2. (a) Is DCOP the only path to take? > (b) If not then what is/are the alternative(s)? > The alternative should be dbus. It's the standard for the freedesktop initiative. A gambas2-gb-dbus component would be great, but I'm sure it is not an easy task. Regards. From gambas.fr at ...626... Mon May 7 11:35:28 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 7 May 2007 11:35:28 +0200 Subject: [Gambas-user] Interprocess communication.... In-Reply-To: <8eb28a500705070033n2c10b902yface15380d890706@...627...> References: <463E92FC.7020603@...981...> <8eb28a500705070033n2c10b902yface15380d890706@...627...> Message-ID: <6324a42a0705070235u5d4a34f7v41fe37e78b367238@...627...> some test have been done by Laurent Carlier... 2007/5/7, Jos? Luis Redrejo : > > 2007/5/7, sbungay : > > There is a need to have GAMBAS applications talk to and control KDE > > applications (Konqueror in this case), and DCOP seems to be the only way > > to do this. Having looked through the email archives I see a few > > references to DCOP from long ago (2005) and a couple of recent ones, but > > nothing really useful. > > > > Questions: > > 1. (a) Can GAMBAS use DCOP to talk to Kde Applications? > > (b) If so How? > > > > 2. (a) Is DCOP the only path to take? > > (b) If not then what is/are the alternative(s)? > > > > The alternative should be dbus. It's the standard for the freedesktop > initiative. A gambas2-gb-dbus component would be great, but I'm sure > it is not an easy task. > Regards. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From david_villalobos_c at ...43... Mon May 7 14:36:55 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 7 May 2007 05:36:55 -0700 (PDT) Subject: [Gambas-user] Re; Grid / Double Click Message-ID: <123424.79273.qm@...1672...> Hi all, I think the problem about compilation is not in the processs, it is so easy, (./configure, make, make install) I think the problem is that most of us don't know all the package dependences, so we can't install those ones. For example, I installed Cambas 1.9.25 by rpm on Mandriva 2007 (thanks to Rob Kudla) but if try to compile I can't because of the dependences. We need (at least me) a complete list of package dependences, AND the path where they are supposed to be ----- Original Message ---- From: Benoit Minisini To: mailing list for gambas users Sent: Friday, May 4, 2007 10:56:40 AM Subject: Re: [Gambas-user] Re; Grid / Double Click Maybe I should make some pages on the wiki to explain how to compile Gambas for each distribution specifically... -- Benoit Minisini ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 From sbungay at ...981... Mon May 7 14:52:10 2007 From: sbungay at ...981... (sbungay) Date: Mon, 07 May 2007 08:52:10 -0400 Subject: [Gambas-user] Interprocess communication.... In-Reply-To: <6324a42a0705070235u5d4a34f7v41fe37e78b367238@...627...> References: <463E92FC.7020603@...981...> <8eb28a500705070033n2c10b902yface15380d890706@...627...> <6324a42a0705070235u5d4a34f7v41fe37e78b367238@...627...> Message-ID: <463F20FA.1070103@...981...> Thanks for the replies guys. Since sending that email I have been playing around with command-line dcop and I can control the application from bash so using the shell command should work. Process_read can capture the output DCOP sends to stdout, this can then be parsed to locate the instance of konqueror I want to use. Konqueror also has a KIOSK mode (about to start playing with that now), so when I embed it into a frame on a form it should look nice and clean. So I'll answer question #1. 1. (a) Can GAMBAS use DCOP to talk to Kde Applications? (b) If so How? (a) Yes, but not directly. You use the SHELL to get at applications through DCOP (KDE only). Use process_read to capture the output from DCOP. (b) For example; shell "dcop" Would return a list of all running applications that use dcop for their interprocess communication. Lets say it returns the following; konqueror-4400 kmix kookiejar So there is one running instance of Konqueror, for this example lets assume that this is the one we want to use.. Issue another shell command; shell "dcop konqueror-4400 konqueror-mainwindow#1 openURL http://www.google.com" And Konqueror will go to google. This is EXACTLY what is desired. :) Likewise if we send it a fully qualified filename it will process and display the file (PNG, text, SWF, etc). OF course it has to have the plug-ins to handle movies, sound, and the like. Sooooo... dcop konqueror-4400 konqueror-mainwindow#1 openURL /home/username/Graphics/How\ software\ patents\ work.wmv will play the movie in Konqueror.. so long as it has a plug-in to handle the wmv. For any of you out there who used to use the Commodore Amiga and AREXX, this is similar to using the REXX port of an app to send it commands. Fabien Bodard wrote: > some test have been done by Laurent Carlier... > > 2007/5/7, Jos? Luis Redrejo : > >>2007/5/7, sbungay : >> >>> There is a need to have GAMBAS applications talk to and control KDE >>>applications (Konqueror in this case), and DCOP seems to be the only way >>>to do this. Having looked through the email archives I see a few >>>references to DCOP from long ago (2005) and a couple of recent ones, but >>>nothing really useful. >>> >>>Questions: >>>1. (a) Can GAMBAS use DCOP to talk to Kde Applications? >>> (b) If so How? >>> >>>2. (a) Is DCOP the only path to take? >>> (b) If not then what is/are the alternative(s)? >>> >> >>The alternative should be dbus. It's the standard for the freedesktop >>initiative. A gambas2-gb-dbus component would be great, but I'm sure >>it is not an easy task. >>Regards. >> >>------------------------------------------------------------------------- >>This SF.net email is sponsored by DB2 Express >>Download DB2 Express C - the FREE version of DB2 express and take >>control of your XML. No limits. Just data. Click to get it now. >>http://sourceforge.net/powerbar/db2/ >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From alan at ...1281... Mon May 7 16:35:03 2007 From: alan at ...1281... (alan) Date: Mon, 07 May 2007 15:35:03 +0100 Subject: [Gambas-user] How to compile & install Gambas on a, Mandriva Message-ID: <463F3917.7030200@...1281...> On dimanche 6 mai 2007, alan wrote: > > I have compiled and installed Gambas2-1.9.48 on Mandrive 2007.0 with the > > following error list from the configure:- > > > > ************************************************************ > > > > configure: WARNING: *** MySQL driver is disabled > > configure: WARNING: *** SQLite 2 driver is disabled > > configure: WARNING: *** SVG loader for GTK+ is disabled > > configure: WARNING: *** QT OpenGL component is disabled > > configure: WARNING: *** QT/Embedded component is disabled > > configure: WARNING: *** openGL is disabled > > configure: WARNING: *** Ldap component is disabled > > > > - gb.db.mysql > > - gb.db.sqlite2 > > - gb.gtk.svg > > - gb.ldap > > - gb.opengl > > - gb.qte > > > > ************************************************************ > > > > I can understand and do without MySQL and SQLite2 (SQLite3 does work) > > but I do need > > Postgresql which the configure process correctly identifies, however > > when I try to load a > > postgres database in the Database example all I get is a message saying > > that postgres drivers are not present(Iget the same message for MySQL & > > Firebird and if I try Gambas-1.0.17). The postgres 8.2.3 database is up > > and can be seen by Access,OO & PGAdmin etc why not by gambas2? > > > > > > Ihave also tried to compile 1.9.48 on Mandriva 2007.1 . The configure > > error out with the following:- > > > > configure: WARNING: *** bzlib2 compression is disabled > > configure: WARNING: *** MySQL driver is disabled > > configure: WARNING: *** ODBC driver is disabled > > configure: WARNING: *** SQLite 2 driver is disabled > > configure: WARNING: *** SQLite 3 driver is disabled > > configure: WARNING: *** firebird driver is disabled > > configure: WARNING: *** SVG loader for GTK+ is disabled > > configure: WARNING: *** Poppler PDF library is disabled > > configure: WARNING: *** Advanced networking component is disabled > > configure: WARNING: *** Perl Compatible Regular Expression component is > > disabled > > configure: error: QT moc compiler not found. Try --with-moc option. > > configure: error: /bin/sh './configure' failed for gb.qt > > appending configuration tag "F77" to libtool > > checking for X... libraries , headers > > checking for gethostbyname... yes > > checking for connect... yes > > checking for remove... yes > > checking for shmat... yes > > checking for IceConnectionNumber in -lICE... yes > > checking for XOpenDisplay in -lX11... yes > > checking for XShmAttach in -lXext... yes > > checking for QT meta-object compiler... no > > ___________________________________________________________________ > > ___________________________________________________________________ > > > > libpvm [pid2170] /tmp/pvmd.0: No such file or directory > > libpvm [pid2170] /tmp/pvmd.0: No such file or directory > > libpvm [pid2170] /tmp/pvmd.0: No such file or directory > > make: *** pvmd not responding (PvmSysErr). Stop. > > libpvm [pid2170] /tmp/pvmd.0: No such file or directory > > > You must install the development packages. I will make a "how to compile and install Gambas on Mandriva" page on the wiki soon. Regards, -- Benoit Minisini I look forward to seeing the wiki., however I could not load Postgresql from the mandriva mirrors. I had to compile from the source so that I suspect that the missing files are probably there but in the wrong place. regards Alan Bromley From gambas at ...1... Mon May 7 17:28:53 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 May 2007 17:28:53 +0200 Subject: [Gambas-user] Interprocess communication.... In-Reply-To: <463F20FA.1070103@...981...> References: <463E92FC.7020603@...981...> <6324a42a0705070235u5d4a34f7v41fe37e78b367238@...627...> <463F20FA.1070103@...981...> Message-ID: <200705071728.53700.gambas@...1...> On lundi 7 mai 2007, sbungay wrote: > Thanks for the replies guys. > Since sending that email I have been playing around with command-line > dcop and I can control the application from bash so using the shell > command should work. Process_read can capture the output DCOP sends to > stdout, this can then be parsed to locate the instance of konqueror I > want to use. Konqueror also has a KIOSK mode (about to start playing > with that now), so when I embed it into a frame on a form it should look > nice and clean. > So I'll answer question #1. > > 1. (a) Can GAMBAS use DCOP to talk to Kde Applications? > (b) If so How? > > (a) Yes, but not directly. You use the SHELL > to get at applications through DCOP (KDE only). Use process_read > to capture the output from DCOP. > > (b) For example; > > shell "dcop" > > Would return a list of all running applications that use dcop for > their interprocess communication. Lets say it returns the following; > > konqueror-4400 > kmix > kookiejar > > So there is one running instance of Konqueror, for this example lets > assume that this is the one we want to use.. Issue another shell command; > > shell "dcop konqueror-4400 konqueror-mainwindow#1 openURL > http://www.google.com" > > And Konqueror will go to google. This is EXACTLY what is desired. :) > > Likewise if we send it a fully qualified filename it will process and > display the file (PNG, text, SWF, etc). OF course it has to have the > plug-ins to handle movies, sound, and the like. Sooooo... > > dcop konqueror-4400 konqueror-mainwindow#1 openURL > /home/username/Graphics/How\ software\ patents\ work.wmv > > will play the movie in Konqueror.. so long as it has a plug-in to > handle the wmv. > > For any of you out there who used to use the Commodore Amiga and > AREXX, this is similar to using the REXX port of an app to send it > commands. > Or you can use the gb.qt.kde component. You have two automation examples provided with Gambas: one that changes the KDE desktop background periodically, and another that displays a little window with a button and a popup menu that allows you to browse the functions in a C source code file edited with Kate. Look at the source code! Regards, -- Benoit Minisini From ronstk at ...239... Mon May 7 18:31:53 2007 From: ronstk at ...239... (ron) Date: Mon, 7 May 2007 18:31:53 +0200 Subject: [Gambas-user] Re; Grid / Double Click In-Reply-To: <123424.79273.qm@...1672...> References: <123424.79273.qm@...1672...> Message-ID: <200705071831.53786.ronstk@...239...> On Monday 07 May 2007 14:36, David Villalobos Cambronero wrote: > Hi all, > I think the problem about compilation is not in the processs, it is so easy, (./configure, make, make install) I think the problem is that most of us don't know all the package dependences, so we can't install those ones. hmmm: the doc say's " './configure -C' , 'make' and 'make install' " But general spoken this is true. > > For example, I installed Cambas 1.9.25 by rpm on Mandriva 2007 (thanks to Rob Kudla) but if try to compile I can't because of the dependences. > > We need (at least me) a complete list of package dependences, AND the path where they are supposed to be > > ----- Original Message ---- > From: Benoit Minisini > To: mailing list for gambas users > Sent: Friday, May 4, 2007 10:56:40 AM > Subject: Re: [Gambas-user] Re; Grid / Double Click > > Maybe I should make some pages on the wiki to explain how to compile Gambas > for each distribution specifically... > goto to http://gambas.sourceforge.net/ <-- select "in menu left" 'Wiki Encyclopaedia' http://gambasdoc.org/help <-- select "Documents" 'HowTo...' http://gambasdoc.org/help/howto <-- select "C" 'How To Compile Gambas' http://gambasdoc.org/help/howto/compile <-- select "How To Compile Gambas" 'README' http://gambasdoc.org/help/readme It is a bit puzzle to find it but the 'readme' is a small overview you and I did ask a few days back. However it shows the binairy libs, not the *-dev packages. Below the table there is with exclamation symbol a note: **And do not forget to install all related development packages!** For most the names are common but -dev added and version number. A bad point is there are some distributions changing the original name the developer has given to there project. For other you need the website of the developer team (i.e curl). Second the developers a defined layout of intall point, documentation and configuration. (K)Ubuntu has renamed the CUPS default user:group to something else resulting in CUPS can't open a error_log file due permissions. Also not following 100% debian rules. SuSE dropt the documentation in /usr/doc/packages/package-name and in the doc are links to /usr/doc/package-name, you see what (can) goes wrong. In very old gambas documentation there was in the past a page with required version numbers for the libXYZ-dev but I can't find it anymore. :( This was a problem for me with libcurl-7.1xy in the past. The curl component was developed with the last version, not available on SuSE9.1 at that time. I did compile it myself but the result was incompatible with SuSE9.1-Yast. Some little configuration differences done by SuSE. It,s not always easy to do it perfect, and make everyone happy. My 2 cents, Ron From ronstk at ...239... Mon May 7 18:33:41 2007 From: ronstk at ...239... (ron) Date: Mon, 7 May 2007 18:33:41 +0200 Subject: [Gambas-user] Images In-Reply-To: <463E930D.2070706@...1000...> References: <463DEE9E.9050008@...1000...> <200705061930.46215.gambas@...1...> <463E930D.2070706@...1000...> Message-ID: <200705071833.41359.ronstk@...239...> On Monday 07 May 2007 04:46, Werner wrote: > Thanks! You are planting ideas in my head :) Oh and there's xmorph Yippie > > Werner > Intention to make a xmorph component for gambas ? :) Ron From gareth at ...1689... Mon May 7 18:41:35 2007 From: gareth at ...1689... (Gareth Bult) Date: Mon, 7 May 2007 17:41:35 +0100 Subject: [Gambas-user] Re; ICMP Message-ID: <1178556095.15387.5.camel@...1690...> Hi, I saw someone query ICMP functionality earlier .. is there a neat solution to this ? (an ICMP component?) Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From steven at ...1652... Mon May 7 21:06:46 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 7 May 2007 21:06:46 +0200 Subject: [Gambas-user] report control Message-ID: <200705072106.46755.steven@...1652...> Hi, I'm trying (again) to use the report control. So, I included the component in the project, and for a starter, copied the 2 forms from the test-app to my project. This generates a lot of errors, so i allso included the "MRTools" module. Now I get an error there : DIM hTSP AS NEW TSizeParse TSizeParse is not defined. It is, however in the component. What am i doing wrong ? Steven From steven at ...1652... Mon May 7 21:39:03 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 7 May 2007 21:39:03 +0200 Subject: [Gambas-user] report control In-Reply-To: <200705072106.46755.steven@...1652...> References: <200705072106.46755.steven@...1652...> Message-ID: <200705072139.03675.steven@...1652...> I tried to copy the 2 classes needed into my project, that works well (Units and TSizeParse) Steven Le lundi 7 mai 2007 21:06, Steven Lobbezoo a ?crit?: > Hi, > > I'm trying (again) to use the report control. > So, I included the component in the project, > and for a starter, copied the 2 forms from the test-app to my project. > This generates a lot of errors, so i allso included the "MRTools" module. > > Now I get an error there : DIM hTSP AS NEW TSizeParse > TSizeParse is not defined. > It is, however in the component. > > What am i doing wrong ? > > Steven > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rolf.frogs at ...221... Tue May 8 09:55:55 2007 From: rolf.frogs at ...221... (rolf) Date: Tue, 8 May 2007 09:55:55 +0200 Subject: [Gambas-user] Compiling under Debian (Lenny) was: Re: Grid / Double Click In-Reply-To: <200705071831.53786.ronstk@...239...> References: <123424.79273.qm@...1672...> <200705071831.53786.ronstk@...239...> Message-ID: <200705080955.55836.rolf.frogs@...221...> Hi all, > > I think the problem about compilation is not in the processs, it is > > so easy, (./configure, make, make install) I think the problem is that > > most of us don't know all the package dependences, so we can't install > > those ones. > > hmmm: the doc say's " './configure -C' , 'make' and 'make install' " > But general spoken this is true. > > > For example, I installed Gambas 1.9.25 by rpm on Mandriva 2007 > > (thanks to Rob Kudla) but if try to compile I can't because of the > > dependences. > > > > We need (at least me) a complete list of package dependences, AND the > > path where they are supposed to be > > > > > > Maybe I should make some pages on the wiki to explain how to compile > > Gambas for each distribution specifically... It might be enough to give a better list of libs to install before compiling. > Gambas' http://gambasdoc.org/help/howto/compile <-- select "How To Compile > Gambas" 'README' http://gambasdoc.org/help/readme The table in the README (about the needed dev. libs) is not complete! > It is a bit puzzle to find it but the 'readme' is a small overview you and > I did ask a few days back. However it shows the binairy libs, not the *-dev > packages. > > Below the table there is with exclamation symbol a note: > **And do not forget to install all related development packages!** This info is more confusing then helping, because you need allways the developer versions when compiling. (In Debian they usually also install the compiled versions to work with later.) > For most the names are common but -dev added and version number. > A bad point is there are some distributions changing the original name the > developer has given to there project. > For other you need the website of the developer team (i.e curl). > > Second the developers a defined layout of intall point, documentation and > configuration. (K)Ubuntu has renamed the CUPS default user:group to > something else resulting in CUPS can't open a error_log file due > permissions. Also not following 100% debian rules. SuSE dropt the > documentation in /usr/doc/packages/package-name and in the doc are links to > /usr/doc/package-name, you see what (can) goes wrong. > > In very old gambas documentation there was in the past a page with required > version numbers for the libXYZ-dev but I can't find it anymore. :( > This was a problem for me with libcurl-7.1xy in the past. > The curl component was developed with the last version, not available on > SuSE9.1 at that time. I did compile it myself but the result was > incompatible with SuSE9.1-Yast. Some little configuration differences done > by SuSE. My 2 cent: I compiled Gambas 1.9.48 under Debian testing (Lenny) and can't figure out, which libs are required for odbc and mysql - (I don't care because I use PostgreSQL). After the call of "configure -C" I get the message that the module gb.gte is disabled - no further info found about this module and the required libs - Gambas works fine. I wrote down all libs and progs I installed (except for gtk and firebird, which I didn't need). So, if someone (hello Benoit) may expand the list (for mysql, odbc, firefox and gtk) I can post it. Fine regards Rolf From dcamposf at ...626... Tue May 8 11:00:44 2007 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 8 May 2007 11:00:44 +0200 Subject: [Gambas-user] Compiling under Debian (Lenny) was: Re: Grid / Double Click In-Reply-To: <200705080955.55836.rolf.frogs@...221...> References: <123424.79273.qm@...1672...> <200705071831.53786.ronstk@...239...> <200705080955.55836.rolf.frogs@...221...> Message-ID: <7259b5ae0705080200kce0f6f8r68d17727b462a0b4@...627...> List of build dependencies in the Debian Package: postgresql-dev, libmysqlclient15-dev | libmysqlclient-dev, libbz2-dev, libqt3-compat-headers, libqt3-mt-dev, libcurl3-dev, libsdl-mixer1.2-dev, libsqlite0-dev, libxml2-dev, libxslt1-dev, kdelibs4-dev, libssl-dev, zlib1g-dev, unixodbc-dev, libsqlite3-dev, libgtk2.0-dev, libxt-dev, pkg-config, mesa-common-dev, libsdl-sound1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libsdl-gfx1.2-dev, libsdl-ttf2.0-dev, libpcre3-dev, libsdl1.2-dev, libjpeg62-dev, libpng12-dev Regards Daniel Campos 2007/5/8, rolf : > Hi all, > > > > I think the problem about compilation is not in the processs, it is > > > so easy, (./configure, make, make install) I think the problem is that > > > most of us don't know all the package dependences, so we can't install > > > those ones. > > > > hmmm: the doc say's " './configure -C' , 'make' and 'make install' " > > But general spoken this is true. > > > > > For example, I installed Gambas 1.9.25 by rpm on Mandriva 2007 > > > (thanks to Rob Kudla) but if try to compile I can't because of the > > > dependences. > > > > > > We need (at least me) a complete list of package dependences, AND the > > > path where they are supposed to be > > > > > > > > > Maybe I should make some pages on the wiki to explain how to compile > > > Gambas for each distribution specifically... > > It might be enough to give a better list of libs to install before compiling. > > > Gambas' http://gambasdoc.org/help/howto/compile <-- select "How To Compile > > Gambas" 'README' http://gambasdoc.org/help/readme > > The table in the README (about the needed dev. libs) is not complete! > > > It is a bit puzzle to find it but the 'readme' is a small overview you and > > I did ask a few days back. However it shows the binairy libs, not the *-dev > > packages. > > > > Below the table there is with exclamation symbol a note: > > **And do not forget to install all related development packages!** > > This info is more confusing then helping, because you need allways the > developer versions when compiling. (In Debian they usually also install the > compiled versions to work with later.) > > > For most the names are common but -dev added and version number. > > A bad point is there are some distributions changing the original name the > > developer has given to there project. > > For other you need the website of the developer team (i.e curl). > > > > Second the developers a defined layout of intall point, documentation and > > configuration. (K)Ubuntu has renamed the CUPS default user:group to > > something else resulting in CUPS can't open a error_log file due > > permissions. Also not following 100% debian rules. SuSE dropt the > > documentation in /usr/doc/packages/package-name and in the doc are links to > > /usr/doc/package-name, you see what (can) goes wrong. > > > > In very old gambas documentation there was in the past a page with required > > version numbers for the libXYZ-dev but I can't find it anymore. :( > > This was a problem for me with libcurl-7.1xy in the past. > > The curl component was developed with the last version, not available on > > SuSE9.1 at that time. I did compile it myself but the result was > > incompatible with SuSE9.1-Yast. Some little configuration differences done > > by SuSE. > > My 2 cent: > I compiled Gambas 1.9.48 under Debian testing (Lenny) and can't figure out, > which libs are required for odbc and mysql - (I don't care because I use > PostgreSQL). After the call of "configure -C" I get the message that the > module gb.gte is disabled - no further info found about this module and the > required libs - Gambas works fine. > I wrote down all libs and progs I installed (except for gtk and firebird, > which I didn't need). So, if someone (hello Benoit) may expand the list (for > mysql, odbc, firefox and gtk) I can post it. > > Fine regards > Rolf > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue May 8 11:06:47 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 8 May 2007 11:06:47 +0200 Subject: [Gambas-user] Compiling under Debian (Lenny) was: Re: Grid / Double Click In-Reply-To: <200705080955.55836.rolf.frogs@...221...> References: <123424.79273.qm@...1672...> <200705071831.53786.ronstk@...239...> <200705080955.55836.rolf.frogs@...221...> Message-ID: <200705081106.47886.gambas@...1...> On mardi 8 mai 2007, rolf wrote: > Hi all, > > > > I think the problem about compilation is not in the processs, it is > > > so easy, (./configure, make, make install) I think the problem is that > > > most of us don't know all the package dependences, so we can't install > > > those ones. > > > > hmmm: the doc say's " './configure -C' , 'make' and 'make install' " > > But general spoken this is true. > > > > > For example, I installed Gambas 1.9.25 by rpm on Mandriva 2007 > > > (thanks to Rob Kudla) but if try to compile I can't because of the > > > dependences. > > > > > > We need (at least me) a complete list of package dependences, AND > > > the path where they are supposed to be > > > > > > > > > Maybe I should make some pages on the wiki to explain how to compile > > > Gambas for each distribution specifically... > > It might be enough to give a better list of libs to install before > compiling. > > > Gambas' http://gambasdoc.org/help/howto/compile <-- select "How To > > Compile Gambas" 'README' http://gambasdoc.org/help/readme > > The table in the README (about the needed dev. libs) is not complete! > > > It is a bit puzzle to find it but the 'readme' is a small overview you > > and I did ask a few days back. However it shows the binairy libs, not the > > *-dev packages. > > > > Below the table there is with exclamation symbol a note: > > **And do not forget to install all related development packages!** > > This info is more confusing then helping, because you need allways the > developer versions when compiling. (In Debian they usually also install the > compiled versions to work with later.) > > > For most the names are common but -dev added and version number. > > A bad point is there are some distributions changing the original name > > the developer has given to there project. > > For other you need the website of the developer team (i.e curl). > > > > Second the developers a defined layout of intall point, documentation and > > configuration. (K)Ubuntu has renamed the CUPS default user:group to > > something else resulting in CUPS can't open a error_log file due > > permissions. Also not following 100% debian rules. SuSE dropt the > > documentation in /usr/doc/packages/package-name and in the doc are links > > to /usr/doc/package-name, you see what (can) goes wrong. > > > > In very old gambas documentation there was in the past a page with > > required version numbers for the libXYZ-dev but I can't find it anymore. > > :( This was a problem for me with libcurl-7.1xy in the past. > > The curl component was developed with the last version, not available on > > SuSE9.1 at that time. I did compile it myself but the result was > > incompatible with SuSE9.1-Yast. Some little configuration differences > > done by SuSE. > > My 2 cent: > I compiled Gambas 1.9.48 under Debian testing (Lenny) and can't figure out, > which libs are required for odbc and mysql - (I don't care because I use > PostgreSQL). After the call of "configure -C" I get the message that the > module gb.gte is disabled - no further info found about this module and the > required libs - Gambas works fine. > I wrote down all libs and progs I installed (except for gtk and firebird, > which I didn't need). So, if someone (hello Benoit) may expand the list > (for mysql, odbc, firefox and gtk) I can post it. > > Fine regards > Rolf > I have finished the compilation & installation page for Mandriva on the wiki. Maybe some Debian user could start the Debian page? The qte component needs QT/Embedded. On Mandriva, this component is not packaged, so it will always be disabled. Finding a package from a library file name is easy on Mandriva from their control center. This is the reason why I listed all *.so needed libraries. I don't know if and how it is possible on other distributions. Regards, -- Benoit Minisini From jredrejo at ...626... Tue May 8 11:16:53 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Tue, 8 May 2007 09:16:53 +0000 Subject: [Gambas-user] Compiling under Debian (Lenny) was: Re: Grid / Double Click In-Reply-To: <200705081106.47886.gambas@...1...> References: <123424.79273.qm@...1672...> <200705071831.53786.ronstk@...239...> <200705080955.55836.rolf.frogs@...221...> <200705081106.47886.gambas@...1...> Message-ID: <8eb28a500705080216g3da53364od5b934227582f250@...627...> Anyway, for Debian, the complete description of the libraries needed and the packages generated is a public information available at http://packages.debian.org/unstable/source/gambas2 as any other package in Debian. Regards. 2007/5/8, Benoit Minisini : > On mardi 8 mai 2007, rolf wrote: > > Hi all, > > > > > > I think the problem about compilation is not in the processs, it is > > > > so easy, (./configure, make, make install) I think the problem is that > > > > most of us don't know all the package dependences, so we can't install > > > > those ones. > > > > > > hmmm: the doc say's " './configure -C' , 'make' and 'make install' " > > > But general spoken this is true. > > > > > > > For example, I installed Gambas 1.9.25 by rpm on Mandriva 2007 > > > > (thanks to Rob Kudla) but if try to compile I can't because of the > > > > dependences. > > > > > > > > We need (at least me) a complete list of package dependences, AND > > > > the path where they are supposed to be > > > > > > > > > > > > Maybe I should make some pages on the wiki to explain how to compile > > > > Gambas for each distribution specifically... > > > > It might be enough to give a better list of libs to install before > > compiling. > > > > > Gambas' http://gambasdoc.org/help/howto/compile <-- select "How To > > > Compile Gambas" 'README' http://gambasdoc.org/help/readme > > > > The table in the README (about the needed dev. libs) is not complete! > > > > > It is a bit puzzle to find it but the 'readme' is a small overview you > > > and I did ask a few days back. However it shows the binairy libs, not the > > > *-dev packages. > > > > > > Below the table there is with exclamation symbol a note: > > > **And do not forget to install all related development packages!** > > > > This info is more confusing then helping, because you need allways the > > developer versions when compiling. (In Debian they usually also install the > > compiled versions to work with later.) > > > > > For most the names are common but -dev added and version number. > > > A bad point is there are some distributions changing the original name > > > the developer has given to there project. > > > For other you need the website of the developer team (i.e curl). > > > > > > Second the developers a defined layout of intall point, documentation and > > > configuration. (K)Ubuntu has renamed the CUPS default user:group to > > > something else resulting in CUPS can't open a error_log file due > > > permissions. Also not following 100% debian rules. SuSE dropt the > > > documentation in /usr/doc/packages/package-name and in the doc are links > > > to /usr/doc/package-name, you see what (can) goes wrong. > > > > > > In very old gambas documentation there was in the past a page with > > > required version numbers for the libXYZ-dev but I can't find it anymore. > > > :( This was a problem for me with libcurl-7.1xy in the past. > > > The curl component was developed with the last version, not available on > > > SuSE9.1 at that time. I did compile it myself but the result was > > > incompatible with SuSE9.1-Yast. Some little configuration differences > > > done by SuSE. > > > > My 2 cent: > > I compiled Gambas 1.9.48 under Debian testing (Lenny) and can't figure out, > > which libs are required for odbc and mysql - (I don't care because I use > > PostgreSQL). After the call of "configure -C" I get the message that the > > module gb.gte is disabled - no further info found about this module and the > > required libs - Gambas works fine. > > I wrote down all libs and progs I installed (except for gtk and firebird, > > which I didn't need). So, if someone (hello Benoit) may expand the list > > (for mysql, odbc, firefox and gtk) I can post it. > > > > Fine regards > > Rolf > > > > I have finished the compilation & installation page for Mandriva on the wiki. > Maybe some Debian user could start the Debian page? > > The qte component needs QT/Embedded. On Mandriva, this component is not > packaged, so it will always be disabled. > > Finding a package from a library file name is easy on Mandriva from their > control center. This is the reason why I listed all *.so needed libraries. > > I don't know if and how it is possible on other distributions. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rolf.frogs at ...221... Tue May 8 15:11:03 2007 From: rolf.frogs at ...221... (rolf) Date: Tue, 8 May 2007 15:11:03 +0200 Subject: [Gambas-user] Compiling under Debian (Lenny) was: Re: Grid / Double Click In-Reply-To: <7259b5ae0705080200kce0f6f8r68d17727b462a0b4@...627...> References: <123424.79273.qm@...1672...> <200705080955.55836.rolf.frogs@...221...> <7259b5ae0705080200kce0f6f8r68d17727b462a0b4@...627...> Message-ID: <200705081511.03833.rolf.frogs@...221...> Hello Daniel > List of build dependencies in the Debian Package: > > postgresql-dev, libmysqlclient15-dev | libmysqlclient-dev, libbz2-dev, > libqt3-compat-headers, libqt3-mt-dev, libcurl3-dev, > libsdl-mixer1.2-dev, libsqlite0-dev, libxml2-dev, libxslt1-dev, > kdelibs4-dev, libssl-dev, zlib1g-dev, unixodbc-dev, libsqlite3-dev, > libgtk2.0-dev, libxt-dev, pkg-config, mesa-common-dev, > libsdl-sound1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, > libsdl-gfx1.2-dev, libsdl-ttf2.0-dev, libpcre3-dev, libsdl1.2-dev, > libjpeg62-dev, libpng12-dev Could you (or Benoit) put this list on the wiki perhaps also the hint from "Jos? Luis Redrejo" (next in thread). This might help others too. Thanks and fine regard Rolf From steven at ...1652... Tue May 8 23:38:32 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Tue, 8 May 2007 23:38:32 +0200 Subject: [Gambas-user] gb.report Message-ID: <200705082338.32361.steven@...1652...> Hi, Is there a way to force a pagebreak ? Kind regards, Steven From gambas.fr at ...626... Tue May 8 23:56:02 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 8 May 2007 23:56:02 +0200 Subject: [Gambas-user] gb.report In-Reply-To: <200705082338.32361.steven@...1652...> References: <200705082338.32361.steven@...1652...> Message-ID: <6324a42a0705081456j11958fbewb47bcb77f734b1a5@...627...> Hi, Steven What you are talking about is named ReportSection and is not done yet... i will begin that tomarow i'm currently on the adding of the scaled value (in percentage) for width, height, padding, spacing) I've already done the autoresize mode, today, that permit to grow the container or object in function of their content. But i need to stop here and wait for a Benoit correcting on inheritance. Regards, Fabien Bodard 2007/5/8, Steven Lobbezoo : > > Hi, > > Is there a way to force a pagebreak ? > > Kind regards, > Steven > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From steven at ...1652... Wed May 9 00:10:19 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Wed, 9 May 2007 00:10:19 +0200 Subject: [Gambas-user] gb.report In-Reply-To: <6324a42a0705081456j11958fbewb47bcb77f734b1a5@...627...> References: <200705082338.32361.steven@...1652...> <6324a42a0705081456j11958fbewb47bcb77f734b1a5@...627...> Message-ID: <200705090010.19827.steven@...1652...> Hi Fabien, I'll wait a bit ;-) than. Since I still did not find the time to learn OO, i'm afraid I cannot be of any assistance. Regards, Steven Le mardi 8 mai 2007 23:56, Fabien Bodard a ?crit?: > Hi, Steven > > What you are talking about is named ReportSection and is not done yet... i > will begin that tomarow > > i'm currently on the adding of the scaled value (in percentage) for width, > height, padding, spacing) > > I've already done the autoresize mode, today, that permit to grow the > container or object in function of their content. > > But i need to stop here and wait for a Benoit correcting on inheritance. > > Regards, > Fabien Bodard > > 2007/5/8, Steven Lobbezoo : > > Hi, > > > > Is there a way to force a pagebreak ? > > > > Kind regards, > > Steven > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gareth at ...1689... Wed May 9 15:22:55 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 9 May 2007 14:22:55 +0100 (BST) Subject: [Gambas-user] Strings and Network input ... Message-ID: <29483827.381178716975584.JavaMail.root@...1694...> Hi, I'm currently developing an IMAP4 client component and I seem to have run into a problem. I'm using _Read on a Socket object when data comes in, then I'm doing; $socket.EndOfLine = "\r\n" LINE INPUT #$socket,buffer Process(buffer) Now I understand this to mean that Process() will only get called with "complete" lines. i.e. lines that were terminated by a CRLF. If I issue a SEARCH command against my IMAP server, I get a variable length string, and for a large folder I'm expecting a string of length 41140 to come through. However (!) Process is being called TWICE, the first time with a string of length 41116 and the second of 24. So it "looks like" LINE INPUT is running out of buffer space and silently splitting the string in two ... (????) I'd rather not have to code CRLF detection for READ .. is this a bug, something fixable, or am I missing something ? tia Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas.fr at ...626... Wed May 9 17:13:30 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 9 May 2007 17:13:30 +0200 Subject: [Gambas-user] gb.report In-Reply-To: <200705090010.19827.steven@...1652...> References: <200705082338.32361.steven@...1652...> <6324a42a0705081456j11958fbewb47bcb77f734b1a5@...627...> <200705090010.19827.steven@...1652...> Message-ID: <6324a42a0705090813v4d367452n60b6d847276e8d77@...627...> the better assistance, is already to test ! And return the inpress, the bugs, etc 2007/5/9, Steven Lobbezoo : > > Hi Fabien, > > I'll wait a bit ;-) than. > Since I still did not find the time to learn OO, i'm afraid I cannot be of > any > assistance. > > Regards, > Steven > > > Le mardi 8 mai 2007 23:56, Fabien Bodard a ?crit: > > Hi, Steven > > > > What you are talking about is named ReportSection and is not done yet... > i > > will begin that tomarow > > > > i'm currently on the adding of the scaled value (in percentage) for > width, > > height, padding, spacing) > > > > I've already done the autoresize mode, today, that permit to grow the > > container or object in function of their content. > > > > But i need to stop here and wait for a Benoit correcting on inheritance. > > > > Regards, > > Fabien Bodard > > > > 2007/5/8, Steven Lobbezoo : > > > Hi, > > > > > > Is there a way to force a pagebreak ? > > > > > > Kind regards, > > > Steven > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From steven at ...1652... Wed May 9 17:45:22 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Wed, 9 May 2007 17:45:22 +0200 Subject: [Gambas-user] gb.report In-Reply-To: <6324a42a0705090813v4d367452n60b6d847276e8d77@...627...> References: <200705082338.32361.steven@...1652...> <200705090010.19827.steven@...1652...> <6324a42a0705090813v4d367452n60b6d847276e8d77@...627...> Message-ID: <200705091745.22387.steven@...1652...> OK, 1. As far as it works now, it's great ! I'm using gb.reports for several reports in my app, all works fine. 2. I reported allready : I had to copy the Units and TSizeParse classes as well as the MR module into my app to get it working. 3. If you write a second report, the drawing area has to be cleaned from program, or there's nothing written. This could be auto ? 4. I cannot get the zoom to work properly in my app. I've set : PUBLIC PageCount AS Integer = 0 PUBLIC ResolutionAffichage AS Float = Desktop.Resolution PUBLIC ReportZoom AS Float = 1 PUBLIC ReportResolution AS Float = Desktop.Resolution in the MRTools module, that helps to print and view allright, but zoom stlll does not work. Kindest regards, Steven Le mercredi 9 mai 2007 17:13, Fabien Bodard a ?crit?: > the better assistance, is already to test ! And return the inpress, the > bugs, etc > > 2007/5/9, Steven Lobbezoo : > > Hi Fabien, > > > > I'll wait a bit ;-) than. > > Since I still did not find the time to learn OO, i'm afraid I cannot be > > of any > > assistance. > > > > Regards, > > Steven > > > > Le mardi 8 mai 2007 23:56, Fabien Bodard a ?crit: > > > Hi, Steven > > > > > > What you are talking about is named ReportSection and is not done > > > yet... > > > > i > > > > > will begin that tomarow > > > > > > i'm currently on the adding of the scaled value (in percentage) for > > > > width, > > > > > height, padding, spacing) > > > > > > I've already done the autoresize mode, today, that permit to grow the > > > container or object in function of their content. > > > > > > But i need to stop here and wait for a Benoit correcting on > > > inheritance. > > > > > > Regards, > > > Fabien Bodard > > > > > > 2007/5/8, Steven Lobbezoo : > > > > Hi, > > > > > > > > Is there a way to force a pagebreak ? > > > > > > > > Kind regards, > > > > Steven > > > > ------------------------------------------------------------------------- > > > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From nando_f at ...951... Wed May 9 17:54:19 2007 From: nando_f at ...951... (nando) Date: Wed, 9 May 2007 11:54:19 -0400 Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <29483827.381178716975584.JavaMail.root@...1694...> References: <29483827.381178716975584.JavaMail.root@...1694...> Message-ID: <20070509154840.M90525@...1382...> I experienced a similar problem where I expected it to read up to a delimiter, but it turns out that LINE INPUT could read up to the end of the complete buffer because the whole line wasn't received yet, so it was a partial read...sometimes requiring two or even three reads. The data sent through the socket from another machine may take quite some time, so multiple read attempts will be required. I used _read for the socket and I appended what was received to a global receive string. Then I can find the delimiter at anytime independent of the read process. I added a 'time-out' timer to expect a delimiter within a certain period of time..so then the whole thing won't get hung-up because the imap server is too slow or went off-line(etc). This gives a huge amount of control. ---------- Original Message ----------- From: Gareth Bult To: Gambas User Mailing List Sent: Wed, 9 May 2007 14:22:55 +0100 (BST) Subject: [Gambas-user] Strings and Network input ... > Hi, > > I'm currently developing an IMAP4 client component and I seem to have run into a > problem. > > I'm using _Read on a Socket object when data comes in, then I'm doing; > > $socket.EndOfLine = "\r\n" > LINE INPUT #$socket,buffer > Process(buffer) > > Now I understand this to mean that Process() will only get called with > "complete" lines. > i.e. lines that were terminated by a CRLF. > > If I issue a SEARCH command against my IMAP server, I get a variable length > string, and for a large folder I'm expecting a string of length 41140 to come > through. However (!) Process is being called TWICE, the first time with a string > of length 41116 and the second of 24. > > So it "looks like" LINE INPUT is running out of buffer space and silently > splitting the string in two ... (????) > > I'd rather not have to code CRLF detection for READ .. is this a bug, something > fixable, or am I missing something ? > > tia > Gareth. > > -- > Gareth Bult, Encryptec Limited > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > Email: gareth at ...1689... > > Statements made are at all times subject to Encryptec's Terms and Conditions of > Business, which are available upon request. > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gael.lehech at ...626... Wed May 9 17:56:17 2007 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Wed, 9 May 2007 17:56:17 +0200 Subject: [Gambas-user] pb with socket on version after 326 of svn ? Message-ID: Hi, My application don't work anymore since I upgraded to version 351 and higher of svn. It works perfectly with version 326. I Tried the ClientSocket with ServerSocket example and they don't work too with 351 but work with 326. I get this error message when I click on the send button of ClientSocket : [42] System error. Succ?s FrmMain.Button3_Click.185 Mutex destroy failure: P?riph?rique ou ressource occup? am I alone with pb ? From gareth at ...1689... Wed May 9 18:14:22 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 9 May 2007 17:14:22 +0100 (BST) Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <20070509154840.M90525@...1382...> Message-ID: <26130400.501178727262959.JavaMail.root@...1694...> Mmm, This however does increase the complexity of the application and the amount of work being done in Gambas. (which I'm guessing *will* slow it down, although to what extent I don't know) The main aim of the application is to provide a graphical IMAP sync tool .. which will typically load the machine in question right up to the hilt .. so performance will be an issue. Point is, assuming what you say is right, "LINE INPUT" is unsafe, unless there's an undocumented method of seeing whether the returned string was actually terminated by an and of line sequence .. you can never use LINE INPUT and be sure you actually have a line (!) .. Gareth. ----- Original Message ----- From: "nando" To: "mailing list for gambas users" Sent: Wednesday, May 9, 2007 4:54:19 PM (GMT) Europe/London Subject: Re: [Gambas-user] Strings and Network input ... I experienced a similar problem where I expected it to read up to a delimiter, but it turns out that LINE INPUT could read up to the end of the complete buffer because the whole line wasn't received yet, so it was a partial read...sometimes requiring two or even three reads. The data sent through the socket from another machine may take quite some time, so multiple read attempts will be required. I used _read for the socket and I appended what was received to a global receive string. Then I can find the delimiter at anytime independent of the read process. I added a 'time-out' timer to expect a delimiter within a certain period of time..so then the whole thing won't get hung-up because the imap server is too slow or went off-line(etc). This gives a huge amount of control. ---------- Original Message ----------- From: Gareth Bult To: Gambas User Mailing List Sent: Wed, 9 May 2007 14:22:55 +0100 (BST) Subject: [Gambas-user] Strings and Network input ... > Hi, > > I'm currently developing an IMAP4 client component and I seem to have run into a > problem. > > I'm using _Read on a Socket object when data comes in, then I'm doing; > > $socket.EndOfLine = "\r\n" > LINE INPUT #$socket,buffer > Process(buffer) > > Now I understand this to mean that Process() will only get called with > "complete" lines. > i.e. lines that were terminated by a CRLF. > > If I issue a SEARCH command against my IMAP server, I get a variable length > string, and for a large folder I'm expecting a string of length 41140 to come > through. However (!) Process is being called TWICE, the first time with a string > of length 41116 and the second of 24. > > So it "looks like" LINE INPUT is running out of buffer space and silently > splitting the string in two ... (????) > > I'd rather not have to code CRLF detection for READ .. is this a bug, something > fixable, or am I missing something ? > > tia > Gareth. > > -- > Gareth Bult, Encryptec Limited > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > Email: gareth at ...1689... > > Statements made are at all times subject to Encryptec's Terms and Conditions of > Business, which are available upon request. > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From nando_f at ...951... Wed May 9 19:20:48 2007 From: nando_f at ...951... (nando) Date: Wed, 9 May 2007 13:20:48 -0400 Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <26130400.501178727262959.JavaMail.root@...1694...> References: <20070509154840.M90525@...1382...> <26130400.501178727262959.JavaMail.root@...1694...> Message-ID: <20070509170251.M45572@...951...> Actually, the complexity increase isn't really too much more. 1) have a public var for the receive buffer (string) 2) use _read for the socket to continuously append to that string 3) use INSTR to look for \n\r. IF it finds it, remove the string and use it. -Fernando ---------- Original Message ----------- From: Gareth Bult To: nando f , mailing list for gambas users Sent: Wed, 9 May 2007 17:14:22 +0100 (BST) Subject: Re: [Gambas-user] Strings and Network input ... > Mmm, > > This however does increase the complexity of the application and the amount of > work being done in Gambas. > (which I'm guessing *will* slow it down, although to what extent I don't know) > > The main aim of the application is to provide a graphical IMAP sync tool .. > which will typically load the machine in question right up to the hilt .. so > performance will be an issue. > > Point is, assuming what you say is right, "LINE INPUT" is unsafe, unless there's > an undocumented method of seeing whether the returned string was actually > terminated by an and of line sequence .. you can never use LINE INPUT and be > sure you actually have a line (!) .. Gareth. > > ----- Original Message ----- > From: "nando" > To: "mailing list for gambas users" > Sent: Wednesday, May 9, 2007 4:54:19 PM (GMT) Europe/London > Subject: Re: [Gambas-user] Strings and Network input ... > > I experienced a similar problem where I expected it to read up to a delimiter, > but it turns out that LINE INPUT could read up to the end of the complete buffer > because the whole line wasn't received yet, so it was a partial read...sometimes > requiring two or even three reads. The data sent through the socket from another > machine may take quite some time, so multiple read attempts will be required. > I used _read for the socket and I appended what was received to a global receive > string. Then I can find the delimiter at anytime independent of the read > process. I added a 'time-out' timer to expect a delimiter within a certain > period of time..so then the whole thing won't get hung-up because the imap > server is too slow or went off-line(etc). This gives a huge amount of control. > > ---------- Original Message ----------- > From: Gareth Bult > To: Gambas User Mailing List > Sent: Wed, 9 May 2007 14:22:55 +0100 (BST) > Subject: [Gambas-user] Strings and Network input ... > > > Hi, > > > > I'm currently developing an IMAP4 client component and I seem to have run into a > > problem. > > > > I'm using _Read on a Socket object when data comes in, then I'm doing; > > > > $socket.EndOfLine = "\r\n" > > LINE INPUT #$socket,buffer > > Process(buffer) > > > > Now I understand this to mean that Process() will only get called with > > "complete" lines. > > i.e. lines that were terminated by a CRLF. > > > > If I issue a SEARCH command against my IMAP server, I get a variable length > > string, and for a large folder I'm expecting a string of length 41140 to come > > through. However (!) Process is being called TWICE, the first time with a string > > of length 41116 and the second of 24. > > > > So it "looks like" LINE INPUT is running out of buffer space and silently > > splitting the string in two ... (????) > > > > I'd rather not have to code CRLF detection for READ .. is this a bug, something > > fixable, or am I missing something ? > > > > tia > > Gareth. > > > > -- > > Gareth Bult, Encryptec Limited > > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > > Email: gareth at ...1689... > > > > Statements made are at all times subject to Encryptec's Terms and Conditions of > > Business, which are available upon request. > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > Gareth Bult, Encryptec Limited > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > Email: gareth at ...1689... > > Statements made are at all times subject to Encryptec's Terms and Conditions of > Business, which are available upon request. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas at ...1... Wed May 9 21:21:38 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 May 2007 21:21:38 +0200 Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <20070509170251.M45572@...951...> References: <20070509154840.M90525@...1382...> <26130400.501178727262959.JavaMail.root@...1694...> <20070509170251.M45572@...951...> Message-ID: <200705092121.38320.gambas@...1...> On mercredi 9 mai 2007, nando wrote: > Actually, the complexity increase isn't really too much more. > > 1) have a public var for the receive buffer (string) > 2) use _read for the socket to continuously append to that string > 3) use INSTR to look for \n\r. IF it finds it, remove the string and use > it. -Fernando > > Yes, LINE INPUT is only safe when you use file streams. When you use "character" streams, i.e. sockets or process output, you cannot read as much data as you want. In that case, LINE INPUT takes the end of the buffer as an end of line, so you cannot know if you really read a full line, or just a part of it because the buffer is void - if the socket didn't receive the data yet, for example. A solution could be having blocking input/output, but then your LINE INPUT may wait for the data until a timeout occurs (for a socket) or forever (for a void pipe). And this can lead to other problems. So at the moment, I don't know how to make the situation better. If someone has some idea about the semantic of LINE INPUT and other stream functions, he is welcome! Regards, -- Benoit Minisini From dcamposf at ...626... Wed May 9 22:14:54 2007 From: dcamposf at ...626... (Daniel Campos) Date: Wed, 9 May 2007 22:14:54 +0200 Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <200705092121.38320.gambas@...1...> References: <20070509154840.M90525@...1382...> <26130400.501178727262959.JavaMail.root@...1694...> <20070509170251.M45572@...951...> <200705092121.38320.gambas@...1...> Message-ID: <7259b5ae0705091314r7a3aad3awa5cf16707cc816dc@...627...> Hi: I don't know why changing anything... when you read from a socket you don't know when the other part will send the complete message, so the programmer has to care about this, discard incomplete messages and so on, that's life: you're not reading data from your own safe hard disk, the communication may fail in any moment, and any programmer should care about that or things will become wrong in its program. The programs which just block until they receive a complete message, use to just hang forever if something fails, like the old Netscape Navigator for Linux: without threading it waited for DNS query sometimes forever providing a distressing interface. Anyway you can use the Peek() method in the _read event to read the data without extracting it from the socket buffer, that is, without creating any Gambas String buffer if you don't want to, until you find a Chr(0), Chr(13) or whatever using Instr() for example, It's not so difficult. Daniel 2007/5/9, Benoit Minisini : > On mercredi 9 mai 2007, nando wrote: > > Actually, the complexity increase isn't really too much more. > > > > 1) have a public var for the receive buffer (string) > > 2) use _read for the socket to continuously append to that string > > 3) use INSTR to look for \n\r. IF it finds it, remove the string and use > > it. -Fernando > > > > > > Yes, LINE INPUT is only safe when you use file streams. When you > use "character" streams, i.e. sockets or process output, you cannot read as > much data as you want. > > In that case, LINE INPUT takes the end of the buffer as an end of line, so you > cannot know if you really read a full line, or just a part of it because the > buffer is void - if the socket didn't receive the data yet, for example. > > A solution could be having blocking input/output, but then your LINE INPUT may > wait for the data until a timeout occurs (for a socket) or forever (for a > void pipe). And this can lead to other problems. > > So at the moment, I don't know how to make the situation better. If someone > has some idea about the semantic of LINE INPUT and other stream functions, he > is welcome! > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu May 10 00:01:52 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 10 May 2007 00:01:52 +0200 Subject: [Gambas-user] pb with socket on version after 326 of svn ? In-Reply-To: References: Message-ID: <200705100001.52346.gambas@...1...> On mercredi 9 mai 2007, Ga?l Le Hec'H wrote: > Hi, > My application don't work anymore since I upgraded to version 351 and > higher of svn. It works perfectly with version 326. > I Tried the ClientSocket with ServerSocket example and they don't work too > with 351 but work with 326. I get this error message when I click on the > send button of ClientSocket : > [42] System error. Succ?s > FrmMain.Button3_Click.185 > > Mutex destroy failure: P?riph?rique ou ressource occup? > > am I alone with pb ? It should be fixed in the revision 365. Regards, -- Benoit Minisini From gambas.fr at ...626... Thu May 10 00:14:57 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 10 May 2007 00:14:57 +0200 Subject: [Gambas-user] gb.report In-Reply-To: <200705091745.22387.steven@...1652...> References: <200705082338.32361.steven@...1652...> <200705090010.19827.steven@...1652...> <6324a42a0705090813v4d367452n60b6d847276e8d77@...627...> <200705091745.22387.steven@...1652...> Message-ID: <6324a42a0705091514t36e8f460ya175339537f3f1d6@...627...> i think you really nee my example to understand hos you are complicated the things :) so i send you an example that make a demo of report cloner, and the autoresize mode. And in bonus a viewer a little bit commented Now really it begin to be easy. Regards, Fabien Bodard 2007/5/9, Steven Lobbezoo : > > OK, > > 1. As far as it works now, it's great ! I'm using gb.reports for several > reports in my app, all works fine. > 2. I reported allready : I had to copy the Units and TSizeParse classes as > well as the MR module into my app to get it working. > 3. If you write a second report, the drawing area has to be cleaned from > program, or there's nothing written. This could be auto ? > 4. I cannot get the zoom to work properly in my app. I've set : > PUBLIC PageCount AS Integer = 0 > PUBLIC ResolutionAffichage AS Float = Desktop.Resolution > PUBLIC ReportZoom AS Float = 1 > PUBLIC ReportResolution AS Float = Desktop.Resolution > in the MRTools module, that helps to print and view allright, but zoom > stlll > does not work. > > Kindest regards, > Steven > > > > Le mercredi 9 mai 2007 17:13, Fabien Bodard a ?crit: > > the better assistance, is already to test ! And return the inpress, the > > bugs, etc > > > > 2007/5/9, Steven Lobbezoo : > > > Hi Fabien, > > > > > > I'll wait a bit ;-) than. > > > Since I still did not find the time to learn OO, i'm afraid I cannot > be > > > of any > > > assistance. > > > > > > Regards, > > > Steven > > > > > > Le mardi 8 mai 2007 23:56, Fabien Bodard a ?crit: > > > > Hi, Steven > > > > > > > > What you are talking about is named ReportSection and is not done > > > > yet... > > > > > > i > > > > > > > will begin that tomarow > > > > > > > > i'm currently on the adding of the scaled value (in percentage) for > > > > > > width, > > > > > > > height, padding, spacing) > > > > > > > > I've already done the autoresize mode, today, that permit to grow > the > > > > container or object in function of their content. > > > > > > > > But i need to stop here and wait for a Benoit correcting on > > > > inheritance. > > > > > > > > Regards, > > > > Fabien Bodard > > > > > > > > 2007/5/8, Steven Lobbezoo : > > > > > Hi, > > > > > > > > > > Is there a way to force a pagebreak ? > > > > > > > > > > Kind regards, > > > > > Steven > > > > > > > ------------------------------------------------------------------------- > > > > > > > > This SF.net email is sponsored by DB2 Express > > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > > control of your XML. No limits. Just data. Click to get it now. > > > > > http://sourceforge.net/powerbar/db2/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------- > > > > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu May 10 00:22:07 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 10 May 2007 00:22:07 +0200 Subject: [Gambas-user] gb.report In-Reply-To: <6324a42a0705091514t36e8f460ya175339537f3f1d6@...627...> References: <200705082338.32361.steven@...1652...> <200705090010.19827.steven@...1652...> <6324a42a0705090813v4d367452n60b6d847276e8d77@...627...> <200705091745.22387.steven@...1652...> <6324a42a0705091514t36e8f460ya175339537f3f1d6@...627...> Message-ID: <6324a42a0705091522j1e6879f6v8e60dcd034d6684a@...627...> oups ... 2007/5/10, Fabien Bodard : > > i think you really nee my example to understand hos you are complicated > the things :) > > so i send you an example that make a demo of report cloner, and the > autoresize mode. > > And in bonus a viewer a little bit commented > > Now really it begin to be easy. > > > > > Regards, > Fabien Bodard > > 2007/5/9, Steven Lobbezoo : > > > > OK, > > > > 1. As far as it works now, it's great ! I'm using gb.reports for several > > reports in my app, all works fine. > > 2. I reported allready : I had to copy the Units and TSizeParse classes > > as > > well as the MR module into my app to get it working. > > 3. If you write a second report, the drawing area has to be cleaned from > > > > program, or there's nothing written. This could be auto ? > > 4. I cannot get the zoom to work properly in my app. I've set : > > PUBLIC PageCount AS Integer = 0 > > PUBLIC ResolutionAffichage AS Float = Desktop.Resolution > > PUBLIC ReportZoom AS Float = 1 > > PUBLIC ReportResolution AS Float = Desktop.Resolution > > in the MRTools module, that helps to print and view allright, but zoom > > stlll > > does not work. > > > > Kindest regards, > > Steven > > > > > > > > Le mercredi 9 mai 2007 17:13, Fabien Bodard a ?crit: > > > the better assistance, is already to test ! And return the inpress, > > the > > > bugs, etc > > > > > > 2007/5/9, Steven Lobbezoo < steven at ...1652...>: > > > > Hi Fabien, > > > > > > > > I'll wait a bit ;-) than. > > > > Since I still did not find the time to learn OO, i'm afraid I cannot > > be > > > > of any > > > > assistance. > > > > > > > > Regards, > > > > Steven > > > > > > > > Le mardi 8 mai 2007 23:56, Fabien Bodard a ?crit: > > > > > Hi, Steven > > > > > > > > > > What you are talking about is named ReportSection and is not done > > > > > yet... > > > > > > > > i > > > > > > > > > will begin that tomarow > > > > > > > > > > i'm currently on the adding of the scaled value (in percentage) > > for > > > > > > > > width, > > > > > > > > > height, padding, spacing) > > > > > > > > > > I've already done the autoresize mode, today, that permit to grow > > the > > > > > container or object in function of their content. > > > > > > > > > > But i need to stop here and wait for a Benoit correcting on > > > > > inheritance. > > > > > > > > > > Regards, > > > > > Fabien Bodard > > > > > > > > > > 2007/5/8, Steven Lobbezoo : > > > > > > Hi, > > > > > > > > > > > > Is there a way to force a pagebreak ? > > > > > > > > > > > > Kind regards, > > > > > > Steven > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > > > This SF.net email is sponsored by DB2 Express > > > > > > Download DB2 Express C - the FREE version of DB2 express and > > take > > > > > > control of your XML. No limits. Just data. Click to get it now. > > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > > This SF.net email is sponsored by DB2 Express > > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > > control of your XML. No limits. Just data. Click to get it now. > > > > > http://sourceforge.net/powerbar/db2/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: TestReport-0.0.1.tar.gz Type: application/x-gzip Size: 7848 bytes Desc: not available URL: From gambas.fr at ...626... Thu May 10 00:25:26 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 10 May 2007 00:25:26 +0200 Subject: [Gambas-user] gb.report In-Reply-To: <6324a42a0705091522j1e6879f6v8e60dcd034d6684a@...627...> References: <200705082338.32361.steven@...1652...> <200705090010.19827.steven@...1652...> <6324a42a0705090813v4d367452n60b6d847276e8d77@...627...> <200705091745.22387.steven@...1652...> <6324a42a0705091514t36e8f460ya175339537f3f1d6@...627...> <6324a42a0705091522j1e6879f6v8e60dcd034d6684a@...627...> Message-ID: <6324a42a0705091525i6bfbd4dbt5e3c3ee5e142df26@...627...> to get the born date ... comment the line with a percentage (not really finished yet) 2007/5/10, Fabien Bodard : > > oups ... > > 2007/5/10, Fabien Bodard : > > > > i think you really nee my example to understand hos you are complicated > > the things :) > > > > so i send you an example that make a demo of report cloner, and the > > autoresize mode. > > > > And in bonus a viewer a little bit commented > > > > Now really it begin to be easy. > > > > > > > > > > Regards, > > Fabien Bodard > > > > 2007/5/9, Steven Lobbezoo < steven at ...1652...>: > > > > > > OK, > > > > > > 1. As far as it works now, it's great ! I'm using gb.reports for > > > several > > > reports in my app, all works fine. > > > 2. I reported allready : I had to copy the Units and TSizeParse > > > classes as > > > well as the MR module into my app to get it working. > > > 3. If you write a second report, the drawing area has to be cleaned > > > from > > > program, or there's nothing written. This could be auto ? > > > 4. I cannot get the zoom to work properly in my app. I've set : > > > PUBLIC PageCount AS Integer = 0 > > > PUBLIC ResolutionAffichage AS Float = Desktop.Resolution > > > PUBLIC ReportZoom AS Float = 1 > > > PUBLIC ReportResolution AS Float = Desktop.Resolution > > > in the MRTools module, that helps to print and view allright, but zoom > > > stlll > > > does not work. > > > > > > Kindest regards, > > > Steven > > > > > > > > > > > > Le mercredi 9 mai 2007 17:13, Fabien Bodard a ?crit: > > > > the better assistance, is already to test ! And return the inpress, > > > the > > > > bugs, etc > > > > > > > > 2007/5/9, Steven Lobbezoo < steven at ...1652...>: > > > > > Hi Fabien, > > > > > > > > > > I'll wait a bit ;-) than. > > > > > Since I still did not find the time to learn OO, i'm afraid I > > > cannot be > > > > > of any > > > > > assistance. > > > > > > > > > > Regards, > > > > > Steven > > > > > > > > > > Le mardi 8 mai 2007 23:56, Fabien Bodard a ?crit: > > > > > > Hi, Steven > > > > > > > > > > > > What you are talking about is named ReportSection and is not > > > done > > > > > > yet... > > > > > > > > > > i > > > > > > > > > > > will begin that tomarow > > > > > > > > > > > > i'm currently on the adding of the scaled value (in percentage) > > > for > > > > > > > > > > width, > > > > > > > > > > > height, padding, spacing) > > > > > > > > > > > > I've already done the autoresize mode, today, that permit to > > > grow the > > > > > > container or object in function of their content. > > > > > > > > > > > > But i need to stop here and wait for a Benoit correcting on > > > > > > inheritance. > > > > > > > > > > > > Regards, > > > > > > Fabien Bodard > > > > > > > > > > > > 2007/5/8, Steven Lobbezoo : > > > > > > > Hi, > > > > > > > > > > > > > > Is there a way to force a pagebreak ? > > > > > > > > > > > > > > Kind regards, > > > > > > > Steven > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > > > > > This SF.net email is sponsored by DB2 Express > > > > > > > Download DB2 Express C - the FREE version of DB2 express and > > > take > > > > > > > control of your XML. No limits. Just data. Click to get it > > > now. > > > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > > _______________________________________________ > > > > > > > Gambas-user mailing list > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > > > > This SF.net email is sponsored by DB2 Express > > > > > > Download DB2 Express C - the FREE version of DB2 express and > > > take > > > > > > control of your XML. No limits. Just data. Click to get it now. > > > > > > http://sourceforge.net/powerbar/db2/ > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by DB2 Express > > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > > control of your XML. No limits. Just data. Click to get it now. > > > > > http://sourceforge.net/powerbar/db2/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > From timothy.marshal-nichols at ...247... Thu May 10 09:10:54 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Thu, 10 May 2007 08:10:54 +0100 Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <7259b5ae0705091314r7a3aad3awa5cf16707cc816dc@...627...> Message-ID: <000001c792d2$5df5dd50$6401a8c0@...1587...> I agree with Daniel. I would just suggest that a version of Daniel/Benoit's comments are added to the help for LINE INPUT as the help does not highlight this problem. Thanks 8-{)} Timothy Marshal-Nichols > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user- > bounces at lists.sourceforge.net] On Behalf Of Daniel Campos > Sent: Wednesday, 09 May 2007 09:15 PM > To: mailing list for gambas users > Cc: nando_f at ...951... > Subject: Re: [Gambas-user] Strings and Network input ... > > Hi: > > I don't know why changing anything... when you read from a socket you > don't know when the other part will send the complete message, so the > programmer has to care about this, discard incomplete messages and so > on, that's life: you're not reading data from your own safe hard disk, > the communication may fail in any moment, and any programmer should > care about that or things will become wrong in its program. > > The programs which just block until they receive a complete message, > use to just hang forever if something fails, like the old Netscape > Navigator for Linux: without threading it waited for DNS query > sometimes forever providing a distressing interface. > > Anyway you can use the Peek() method in the _read event to read the > data without extracting it from the socket buffer, that is, without > creating any Gambas String buffer if you don't want to, until you find > a Chr(0), Chr(13) or whatever using Instr() for example, It's not so > difficult. > > Daniel > > > 2007/5/9, Benoit Minisini : > > On mercredi 9 mai 2007, nando wrote: > > > Actually, the complexity increase isn't really too much more. > > > > > > 1) have a public var for the receive buffer (string) > > > 2) use _read for the socket to continuously append to that string > > > 3) use INSTR to look for \n\r. IF it finds it, remove the string and > use > > > it. -Fernando > > > > > > > > > > Yes, LINE INPUT is only safe when you use file streams. When you > > use "character" streams, i.e. sockets or process output, you cannot read > as > > much data as you want. > > > > In that case, LINE INPUT takes the end of the buffer as an end of line, > so you > > cannot know if you really read a full line, or just a part of it because > the > > buffer is void - if the socket didn't receive the data yet, for example. > > > > A solution could be having blocking input/output, but then your LINE > INPUT may > > wait for the data until a timeout occurs (for a socket) or forever (for > a > > void pipe). And this can lead to other problems. > > > > So at the moment, I don't know how to make the situation better. If > someone > > has some idea about the semantic of LINE INPUT and other stream > functions, he > > is welcome! > > > > Regards, > > > > -- > > Benoit Minisini From gael.lehech at ...626... Thu May 10 09:37:37 2007 From: gael.lehech at ...626... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec'H?=) Date: Thu, 10 May 2007 09:37:37 +0200 Subject: [Gambas-user] pb with socket on version after 326 of svn ? In-Reply-To: <200705100001.52346.gambas@...1...> References: <200705100001.52346.gambas@...1...> Message-ID: it works ! thanks benoit 2007/5/10, Benoit Minisini : > > On mercredi 9 mai 2007, Ga?l Le Hec'H wrote: > > Hi, > > My application don't work anymore since I upgraded to version 351 and > > higher of svn. It works perfectly with version 326. > > I Tried the ClientSocket with ServerSocket example and they don't work > too > > with 351 but work with 326. I get this error message when I click on the > > send button of ClientSocket : > > [42] System error. Succ?s > > FrmMain.Button3_Click.185 > > > > Mutex destroy failure: P?riph?rique ou ressource occup? > > > > am I alone with pb ? > > It should be fixed in the revision 365. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gareth at ...1689... Thu May 10 10:23:20 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 10 May 2007 09:23:20 +0100 (BST) Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <200705092121.38320.gambas@...1...> Message-ID: <7702450.811178785400399.JavaMail.root@...1694...> Urm, One (easy) answer would be to have a flag that's set if the LINE INPUT returns with a complete line. If last (n) characters == EndOfLine then Complete = TRUE, else Complete = FALSE. This was my solution, I've subclassed the socket (imapdsocket) and written my own line input routine that does this. (albeit it may be a bottleneck written in Gambas as opposed to C) Gareth. ----- Original Message ----- From: "Benoit Minisini" To: "nando f" , "mailing list for gambas users" Sent: Wednesday, May 9, 2007 8:21:38 PM (GMT) Europe/London Subject: Re: [Gambas-user] Strings and Network input ... On mercredi 9 mai 2007, nando wrote: > Actually, the complexity increase isn't really too much more. > > 1) have a public var for the receive buffer (string) > 2) use _read for the socket to continuously append to that string > 3) use INSTR to look for \n\r. IF it finds it, remove the string and use > it. -Fernando > > Yes, LINE INPUT is only safe when you use file streams. When you use "character" streams, i.e. sockets or process output, you cannot read as much data as you want. In that case, LINE INPUT takes the end of the buffer as an end of line, so you cannot know if you really read a full line, or just a part of it because the buffer is void - if the socket didn't receive the data yet, for example. A solution could be having blocking input/output, but then your LINE INPUT may wait for the data until a timeout occurs (for a socket) or forever (for a void pipe). And this can lead to other problems. So at the moment, I don't know how to make the situation better. If someone has some idea about the semantic of LINE INPUT and other stream functions, he is welcome! Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Thu May 10 17:46:18 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 10 May 2007 16:46:18 +0100 (BST) Subject: [Gambas-user] Bug ? Message-ID: <8467590.1051178811978736.JavaMail.root@...1694...> Hi, I think I may have found a bug in the IDE .. 1.9.48 ... 1: DIM dict AS Collection 2: dict = NEW Collection 3: dict["Bad News"] = "a key with a space in it!" 4: print dict["Bad News"] Then set a breakpoint to #4 and run. Go to "Watch" and watch dict Double click on dict to see the contents The box that appears displays "Deleted in the key and Non terminated string in the value column .. But then if you trace one line on it prints the correct result. i.e. debug box can't handle collections that use spaces in their key ... :) Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From handriolijr at ...626... Thu May 10 18:51:32 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Thu, 10 May 2007 13:51:32 -0300 Subject: [Gambas-user] Socket listen... how? Message-ID: Hi there, i've being working with sockets, because i have a application of a Call Center PABX system that uses port 1024 to talk. Well, i can't read what it's sayng. Anyone who works with it may help me? i can open my system for web help... please.. anyone contact me by my mail: hamilton at ...1695... i need a special attention in this case! Please!!! Regards Hamilton From Brazil! From gambas at ...1... Fri May 11 11:30:41 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 May 2007 11:30:41 +0200 Subject: [Gambas-user] Bug ? In-Reply-To: <8467590.1051178811978736.JavaMail.root@...1694...> References: <8467590.1051178811978736.JavaMail.root@...1694...> Message-ID: <200705111130.41229.gambas@...1...> On jeudi 10 mai 2007, Gareth Bult wrote: > Hi, > > I think I may have found a bug in the IDE .. 1.9.48 ... > > 1: DIM dict AS Collection > 2: dict = NEW Collection > 3: dict["Bad News"] = "a key with a space in it!" > 4: print dict["Bad News"] > > Then set a breakpoint to #4 and run. > Go to "Watch" and watch dict > Double click on dict to see the contents > The box that appears displays "Deleted in the key and Non terminated string > in the value column .. But then if you trace one line on it prints the > correct result. > > i.e. debug box can't handle collections that use spaces in their key ... > > :) > > Gareth. It should be fixed now. -- Benoit Minisini From gareth at ...1689... Fri May 11 11:36:49 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 11 May 2007 10:36:49 +0100 (BST) Subject: [Gambas-user] Bug ? In-Reply-To: <200705111130.41229.gambas@...1...> Message-ID: <13010531.1301178876209037.JavaMail.root@...1694...> :) For those of us not brave enough to use CVS/SVN, when should we expect .49 to come out ? Gareth. ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Friday, May 11, 2007 10:30:41 AM (GMT) Europe/London Subject: Re: [Gambas-user] Bug ? On jeudi 10 mai 2007, Gareth Bult wrote: > Hi, > > I think I may have found a bug in the IDE .. 1.9.48 ... > > 1: DIM dict AS Collection > 2: dict = NEW Collection > 3: dict["Bad News"] = "a key with a space in it!" > 4: print dict["Bad News"] > > Then set a breakpoint to #4 and run. > Go to "Watch" and watch dict > Double click on dict to see the contents > The box that appears displays "Deleted in the key and Non terminated string > in the value column .. But then if you trace one line on it prints the > correct result. > > i.e. debug box can't handle collections that use spaces in their key ... > > :) > > Gareth. It should be fixed now. -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Fri May 11 11:48:26 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 May 2007 11:48:26 +0200 Subject: [Gambas-user] Bug ? In-Reply-To: <13010531.1301178876209037.JavaMail.root@...1694...> References: <13010531.1301178876209037.JavaMail.root@...1694...> Message-ID: <200705111148.26899.gambas@...1...> On vendredi 11 mai 2007, Gareth Bult wrote: > :) > > For those of us not brave enough to use CVS/SVN, when should we expect .49 > to come out ? > > Gareth. > I don't know, next week I think. Regards, -- Benoit Minisini From gareth at ...1689... Fri May 11 12:05:01 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 11 May 2007 11:05:01 +0100 (BST) Subject: [Gambas-user] Bug ? In-Reply-To: <200705111148.26899.gambas@...1...> Message-ID: <11351030.1331178877901893.JavaMail.root@...1694...> :) ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Friday, May 11, 2007 10:48:26 AM (GMT) Europe/London Subject: Re: [Gambas-user] Bug ? On vendredi 11 mai 2007, Gareth Bult wrote: > :) > > For those of us not brave enough to use CVS/SVN, when should we expect .49 > to come out ? > > Gareth. > I don't know, next week I think. Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gareth at ...1689... Fri May 11 14:38:15 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 11 May 2007 13:38:15 +0100 (BST) Subject: [Gambas-user] Bug ? Message-ID: <24010558.1401178887095119.JavaMail.root@...1694...> Hi, If you do a; $socket = NEW Socket Then stop the debugger on the next line and enter $socket into watch, then double click on the socket, it will show a box with the socket's properties. If you scroll this box down the program will stop unexpectedly with a signal 11. 1.9.48 Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Fri May 11 17:57:18 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 May 2007 17:57:18 +0200 Subject: [Gambas-user] Bug ? In-Reply-To: <24010558.1401178887095119.JavaMail.root@...1694...> References: <24010558.1401178887095119.JavaMail.root@...1694...> Message-ID: <200705111757.18251.gambas@...1...> On vendredi 11 mai 2007, Gareth Bult wrote: > Hi, > > If you do a; > > $socket = NEW Socket > Then stop the debugger on the next line and enter $socket into watch, then > double click on the socket, it will show a box with the socket's > properties. If you scroll this box down the program will stop unexpectedly > with a signal 11. > > 1.9.48 > > Gareth. gb.net objects seem to not be correctly initialized, and so accessing properties inherited from the Stream class just after having creating the object crashes the interpreter. I will investigate more... -- Benoit Minisini From gambas at ...1... Fri May 11 18:11:29 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 11 May 2007 18:11:29 +0200 Subject: [Gambas-user] Bug ? In-Reply-To: <24010558.1401178887095119.JavaMail.root@...1694...> References: <24010558.1401178887095119.JavaMail.root@...1694...> Message-ID: <200705111811.29362.gambas@...1...> On vendredi 11 mai 2007, Gareth Bult wrote: > Hi, > > If you do a; > > $socket = NEW Socket > Then stop the debugger on the next line and enter $socket into watch, then > double click on the socket, it will show a box with the socket's > properties. If you scroll this box down the program will stop unexpectedly > with a signal 11. > > 1.9.48 > > Gareth. I fixed the problem by making the interpreter stream management routines more robust. Now you get an error instead of a crash. Regards, -- Benoit Minisini From steven at ...1652... Fri May 11 23:35:24 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Fri, 11 May 2007 23:35:24 +0200 Subject: [Gambas-user] Coding problem / bug ? Message-ID: <200705112335.24336.steven@...1652...> Hi, I do the following : Tmp3 = Mid$(Tag[1], 1, Len(Tag[1]) - 2) IF Tres.Fields[Tmp3].Type = db.Blob THEN ' we have one ! Tmp2 = Tres[Tmp3] On the IF statement I get an error : Unknown field : file_name01 When I look into the vars I get : Tag[1] : file_name01 TMP3 : file_name Which exactly what I want. If look into : Tres.Fields[Tmp3].Type I get 9 <- exactly correct ! So all is in order Tres (Result) is there, tyhe field is there, the vars are filled ... But still this error. As if Gambas uses Tag[1] where i write Tmp3 in the IF statement. Thanks, Steven From gambas at ...1... Sat May 12 01:41:32 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 12 May 2007 01:41:32 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705112335.24336.steven@...1652...> References: <200705112335.24336.steven@...1652...> Message-ID: <200705120141.32491.gambas@...1...> On vendredi 11 mai 2007, Steven Lobbezoo wrote: > Hi, > > I do the following : > Tmp3 = Mid$(Tag[1], 1, Len(Tag[1]) - 2) > IF Tres.Fields[Tmp3].Type = db.Blob THEN ' we have one ! > Tmp2 = Tres[Tmp3] > > On the IF statement I get an error : > Unknown field : file_name01 > > When I look into the vars I get : > Tag[1] : file_name01 > TMP3 : file_name > Which exactly what I want. > If look into : Tres.Fields[Tmp3].Type > I get 9 <- exactly correct ! > > So all is in order Tres (Result) is there, tyhe field is there, the vars > are filled ... But still this error. As if Gambas uses Tag[1] where i write > Tmp3 in the IF statement. > > Thanks, > Steven > Which version of Gambas do you use? -- Benoit Minisini From steven at ...1652... Sat May 12 13:13:24 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 12 May 2007 13:13:24 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705120141.32491.gambas@...1...> References: <200705112335.24336.steven@...1652...> <200705120141.32491.gambas@...1...> Message-ID: <200705121313.24588.steven@...1652...> 1.9.49 downloaded for 2 days from the trunk Steven Le samedi 12 mai 2007 01:41, Benoit Minisini a ?crit?: > On vendredi 11 mai 2007, Steven Lobbezoo wrote: > > Hi, > > > > I do the following : > > Tmp3 = Mid$(Tag[1], 1, Len(Tag[1]) - 2) > > IF Tres.Fields[Tmp3].Type = db.Blob THEN ' we have one ! > > Tmp2 = Tres[Tmp3] > > > > On the IF statement I get an error : > > Unknown field : file_name01 > > > > When I look into the vars I get : > > Tag[1] : file_name01 > > TMP3 : file_name > > Which exactly what I want. > > If look into : Tres.Fields[Tmp3].Type > > I get 9 <- exactly correct ! > > > > So all is in order Tres (Result) is there, tyhe field is there, the vars > > are filled ... But still this error. As if Gambas uses Tag[1] where i > > write Tmp3 in the IF statement. > > > > Thanks, > > Steven > > Which version of Gambas do you use? From steven at ...1652... Sat May 12 13:48:16 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 12 May 2007 13:48:16 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705121313.24588.steven@...1652...> References: <200705112335.24336.steven@...1652...> <200705120141.32491.gambas@...1...> <200705121313.24588.steven@...1652...> Message-ID: <200705121348.16206.steven@...1652...> I tried the gdb, it just gives the same result , here are the last lines : inflating: /home/steven/1975481637/content.xml inflating: /home/steven/1975481637/styles.xml extracting: /home/steven/1975481637/meta.xml inflating: /home/steven/1975481637/Thumbnails/thumbnail.png inflating: /home/steven/1975481637/settings.xml inflating: /home/steven/1975481637/META-INF/manifest.xml OOffice.DoPhotos.232: Unknown field: file_name01 WARNING: circular references detected FormPrintSelect (1) FormHouseList (1) FormHouse (1) FMain (1) kparts: WARNING: StatusBarExtension::removeStatusBarItem. Widget not found : [Nu ll pointer] Mutex destroy failure: P?riph?rique ou ressource occup? Program exited with code 01. (gdb) Quit Does not help (me, that is) very much. Steven Le samedi 12 mai 2007 13:13, Steven Lobbezoo a ?crit?: > 1.9.49 downloaded for 2 days from the trunk > Steven > > Le samedi 12 mai 2007 01:41, Benoit Minisini a ?crit?: > > On vendredi 11 mai 2007, Steven Lobbezoo wrote: > > > Hi, > > > > > > I do the following : > > > Tmp3 = Mid$(Tag[1], 1, Len(Tag[1]) - 2) > > > IF Tres.Fields[Tmp3].Type = db.Blob THEN ' we have one ! > > > Tmp2 = Tres[Tmp3] > > > > > > On the IF statement I get an error : > > > Unknown field : file_name01 > > > > > > When I look into the vars I get : > > > Tag[1] : file_name01 > > > TMP3 : file_name > > > Which exactly what I want. > > > If look into : Tres.Fields[Tmp3].Type > > > I get 9 <- exactly correct ! > > > > > > So all is in order Tres (Result) is there, tyhe field is there, the > > > vars are filled ... But still this error. As if Gambas uses Tag[1] > > > where i write Tmp3 in the IF statement. > > > > > > Thanks, > > > Steven > > > > Which version of Gambas do you use? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat May 12 13:52:37 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 12 May 2007 13:52:37 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705121313.24588.steven@...1652...> References: <200705112335.24336.steven@...1652...> <200705120141.32491.gambas@...1...> <200705121313.24588.steven@...1652...> Message-ID: <200705121352.38063.gambas@...1...> On samedi 12 mai 2007, Steven Lobbezoo wrote: > 1.9.49 downloaded for 2 days from the trunk > Steven > Can you send me more code? The full code of the module/form/class should be sufficient. Regards, -- Benoit Minisini From steven at ...1652... Sat May 12 13:57:53 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 12 May 2007 13:57:53 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705121352.38063.gambas@...1...> References: <200705112335.24336.steven@...1652...> <200705121313.24588.steven@...1652...> <200705121352.38063.gambas@...1...> Message-ID: <200705121357.53645.steven@...1652...> You got it , the module is in the attachement. It's on line 232 in DoPhotos Steven ps: I changed the var name into Tmp_fld (just a stupid try-out), but that changes nothing. Le samedi 12 mai 2007 13:52, Benoit Minisini a ?crit?: > On samedi 12 mai 2007, Steven Lobbezoo wrote: > > 1.9.49 downloaded for 2 days from the trunk > > Steven > > Can you send me more code? The full code of the module/form/class should be > sufficient. > > Regards, -------------- next part -------------- ' Gambas module file ' Here we handle all xfers to and from open office files ' we have to do unzip, replace and zip into a new file ' we have to replace text items and images ' we have to insert images (replace really) ' the structure of an Oofile (unzipped) is analysed and data is transferred ' the tags are of the form {{TagType:String}} ' where Tagtype = 'db:' use DbFieldType ' 'cu:' Currency ' 'im:' Image ' 'tb:' Use translate table ' 'fo:' Formule (use + - / etc. for numeric database fields, all Mysql expressions are ok) ' 'ft:' Formatted text (nl etc !) ' 'li:' Litteral (program variable) ' ' The Mtranslate table is as followes : ' FieldName (VarChar) = Name of the query field ' FieldVal (VarChar) = Value of the field to translate ' Replacement (VarChar) = What to print (can be one of the above enumerated types, or just a value) ' ' ' We call this as OOInsert( Input file name, Output filename, SQl query string, Images string array) -> returns TRUE or FALSE ' if OFile is empty, the IFile will be written over (if I can !) ' ' Attention on the string Images : its format is as follows : ' [0]: ftp command for connection or file name like in ' "ftp ftp://root:pliplaplo at ...1696..." ' or "localfile" & ' [1]: The location of the files as in ' "/home/steven/photos" ' or "/home/steven/{fieldname1}/test/{fieldname2}" where the vars {filednamex} are database field names ' from the query ' If a field in the databse, targeted for an image is a blob, we consider thats a transfert direct, ' otherwise, we will try to read the images from the location specified above, extenxded with the field contents ' as a file name ' ' All the other parms are in the document. ' In case of an image it's in the image-name field (so, you have to put in a 'dummy' image) ' ' Attention : we presume someone opened a database db publicly ' ' now we do it RsA AS Result ' the result of the databse quiry (if there are more records, you'll have more forms filles) MYes AS String = "Oui" MNo AS String = "Non" sData AS String ' The input string of the XML file (the whole file) FNam AS String ' The name of the temporary (work) file MyDir AS String ' The working directory name OSql AS String ' The original Quiry asked for LImages AS String[] ' The command line for image transferts PhotoNum AS Integer ' last photo number used, in case of multi photos PUBLIC FUNCTION OOInsert(IFile AS String, OPTIONAL OFile AS String, Sql AS String, OPTIONAL Images AS String[]) AS Integer DIM ZipCmd AS String DIM Ctr AS Integer ' Main function, called from the outside ' IFile is the input openoffice text file name, OFile is the output target filename wanted ' here we do the main tasks, we will devide afterwards ' we presume that someone opened a database db RsA = db.Exec(Sql) IF NOT RsA.available THEN message.Error(" There must be something wrong in your SQL statement:\n" & Sql & "\nor your database is not open\nOr there is data missing (photos ?)", "ok") RETURN FALSE END IF IF NOT Access(IFile, gb.READ) THEN message.Error(" There must be something wrong in your Filename:\n" & IFile & "\nI cannot read it", "ok") RETURN FALSE END IF OSql = Sql ' save me, you never know ! ' first we will save the images command (if there is any) IF Images THEN LImages = Images END IF IF NOT OFile THEN OFile = IFile END IF FOR EACH RsA ' so we have our tools, lets try it ' we use unzip, since it knows how to handle directory structures RANDOMIZE FNam = Str(CInt(Rnd(100000000, 2000000000))) MyDir = USER.Home & "/" & FNam MKDIR MyDir ZipCmd = "unzip -d " & MyDir & " " & IFile ' lets do the unzip SHELL ZipCmd WAIT ' we have the structure unpacked now ' we have the following files to consider : ' content.xml = main content (text) with the tags ' ./Pictures directory with the images ' We start to read the content into a string sData = File.Load(MyDir & "/content.xml") sData = DoLine(sData) ' this is where the work is done File.Save(MyDir & "/content.xml", sData) ' that main file is updated, we presume allso that all interesting photos are replaced in the Pictures directory ' and now we re-compress all into an odt (zip) file SHELL "cd " & MyDir & ";zip -r " & FNam & ".odt *" WAIT ' ok, he's there now, lets move um and delete the working directory IF Ctr = 0 THEN SHELL "cp " & MYDir & "/" & FNam & ".odt " & OFile WAIT ELSE SHELL "cp " & MYDir & "/" & FNam & "_" & Str(Ctr) & ".odt " & OFile WAIT END IF SHELL "rm -rf " & MyDir ' we don't wait for this to end Ctr = Ctr + 1 NEXT RETURN TRUE 'CATCH ' Message.Error(Error.Text) ' SHELL "rm -rf " & MyDir ' try to clean up at least ' RETURN FALSE END PRIVATE FUNCTION DoLine(sData AS String) AS String DIM s, e AS Integer DIM Tmp AS String DIM Tag AS String[] ' we do the replace/find data Tmp = sData s = InStr(Tmp, "{{") WHILE s > 0 e = InStr(Tmp, "}}", s) Tag = Split(Mid(Tmp, s + 2, e - s - 2), ":") Tmp = Mid(Tmp, 1, s - 1) & DoField(Tag) & Mid(Tmp, e + 2) s = InStr(Tmp, "{{") WEND RETURN Tmp END PRIVATE FUNCTION DoField(Tag AS String[]) AS String DIM Rstr AS String ' the return string DIM tmp AS String DIM RsX AS Result DIM TTag AS String[] ' we have the field to translate in tag, lets analyse it ' 0 is the command, 1 the value Rstr = "--" ' just vin case, to avaoid null's comming out SELECT Tag[0] CASE "db" ' we take the field from the database, and try to print it as nice as possible SELECT RsA.Fields[Tag[1]].Type CASE db.Boolean IF RsA[Tag[1]] THEN Rstr = MYes ELSE Rstr = MNo END IF CASE db.integer TRY Rstr = Format$(RsA[Tag[1]], "(#.#)") CASE db.float TRY Rstr = Format$(RsA[Tag[1]], "($,#)") CASE db.date TRY Rstr = Format$(RsA[Tag[1]], "d mmm yyyy") CASE db.string Rstr = XMLCor(RsA[Tag[1]]) CASE db.serial Rstr = Str(RsA[Tag[1]]) CASE ELSE ' suppose this can be a blob or a string, w'll handle it as strings Rstr = XMLCor(RsA[Tag[1]]) END SELECT CASE "cu" ' currency "($,#.###)" TRY Rstr = Format$(Str(RsA[Tag[1]]), "($,#.###)") CASE "ft" ' formatted text Rstr = XMLCor(RsA[Tag[1]]) CASE "im" ' image DoPhotos(Tag) ' this is for the sequence number (2 pos) Rstr = Tag[1] CASE "li" ' Literal program variable Rstr = XMLCor(Eval(Tag[1])) ' message.Info(Mglobal.U_AgenNom) CASE "tb" ' translate table ' we read the table with Tag and value as the two keys RsX = db.Exec("Select * from MTranslate where FieldName = '" & Tag[1] & "' AND FieldVal = '" & Str(RsA[Tag[1]]) & "'") IF RsX.Available THEN RStr = XMLCor(Conv(RsX!Replacement, "ISO-8859-1", "UTF-8")) IF InStr(Rstr, ":") THEN RStr = DoField(Split(RStr, ":")) ' we go deeeeep here, lets take the risc ! END IF ELSE RStr = " " END IF CASE "fo" ' we have to calculate something ' we have a string with + - / * etc in it and field names ' we adapt the first query, to add this calculation (field names must be ok !) ' we presume that the first query is like 'Select blablabla' Tmp = "Select ( " & Replace$(Tag[1], "'", "'") & " ) as tmpnam2334, " & Mid(Osql, 7) TRY RsX = db.Exec(Tmp) IF RsX.available THEN Rstr = XMLCor(RsX!tmpnam2334) ELSE RStr = "" END IF CASE ELSE ' we just try to give back the field (like string) after translation for xml Rstr = XMLCor(RsA[Tag[1]]) END SELECT RETURN Rstr END PRIVATE SUB DoPhotos(Tag AS String[]) ' the problem is that there are more then one per document / record ' we will just do it as replacing existing images in their directory, without changing the xml ' the images in the xml files are as : href="Pictures/100000000000019D000001DC284D3F35.jpg" DIM s, e, b AS Integer DIM Tmp, Tmp2, FtpCom AS String DIM Tag2 AS String[] DIM hResultField AS ResultField DIM Tres AS Result DIM Tmp_fld AS String PhotoNum = PhotoNum + 1 Tmp = sData s = InStr(Tmp, "{{" & Tag[0] & ":" & Tag[1] & "}}") s = InStr(Tmp, "href=\"Pictures/", s) e = InStr(Tmp, " ", s) - 1 Tag2 = Split(Mid(Tmp, s + 15, e - s - 15), ".") ' we donnot change the text, we just move the picture in place ' the filename is in Tag[1] ' we read the photos table directly here Tres = db.Exec("Select * from Photos where prop_num = " & RsA!id & " AND sequence = " & PhotoNum) ' ATTENTION ! we might have to change the file extension (png, gif, ...) Tmp_fld = Mid$(Tag[1], 1, Len(Tag[1]) - 2) IF Tres.Fields[Tmp_fld].Type = db.Blob THEN ' we have one direct ( a jpg, we will make) Tmp2 = Tres[Tmp_fld] ' write the photo to local file File.Save("'" & MyDir & "/Pictures/" & Tag2[0] & "." & Tag2[1] & "'", Tmp2) ELSE 'we have a filename ' we will have to call a public user module, that gives us the full filename and ' it has to indicate if it's local or via ftp (with user and keys and so on) IF LImages THEN ' we start with construction the file path IF LImages[1] THEN Tmp2 = LImages[1] ' the directory s = InStr(Tmp2, "{") IF s THEN ' we have some replace to do WHILE s > 0 e = InStr(Tmp2, "}") Tmp2 = Mid(Tmp2, 1, s - 1) & RsA[Mid(Tmp2, s + 1, e - s - 1)] & Mid(Tmp2, e + 1) s = InStr(Tmp2, "{") WEND END IF Tmp2 = Tmp2 & "/" & Tres[Tmp_fld] ELSE Tmp2 = Tmp_fld END IF ' now we have the real file name in Tmp2 ' we go and do the move IF InStr(LImages[0], "ftp") > 0 THEN ' we have to construct a ftp command FtpCom = LImages[0] & Tmp2 & "' -o '" & MyDir & "/Pictures/" & Tag2[0] & "." & Tag2[1] & "'" SHELL FtpCom WAIT ' message.Info(FtpCom) ELSE ' it's a local file SHELL "cp -fp '" & Tmp2 & "' '" & MyDir & "/Pictures/" & Tag2[0] & "." & Tag2[1] & "'" END IF END IF END IF RETURN END PRIVATE FUNCTION XMLCor(Inp AS String) AS String DIM tmp AS String 'scan a string and prepare it for use with XML Tmp = Replace$(Inp, "'", "'") ' Apostrophes (') are NOT allowed Tmp = Replace$(Inp, "\"", """) ' Double quotes neither Tmp = Replace$(Tmp, Chr$(9), " ") ' Horizontal tabs Tmp = Replace$(Tmp, Chr$(10), " ") ' Line feeds Tmp = Replace$(Tmp, Chr$(13), "") ' No carriage returns RETURN Tmp END From gambas at ...1... Sat May 12 14:00:32 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 12 May 2007 14:00:32 +0200 Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <7702450.811178785400399.JavaMail.root@...1694...> References: <7702450.811178785400399.JavaMail.root@...1694...> Message-ID: <200705121400.32631.gambas@...1...> On jeudi 10 mai 2007, Gareth Bult wrote: > Urm, > > One (easy) answer would be to have a flag that's set if the LINE INPUT > returns with a complete line. If last (n) characters == EndOfLine then > Complete = TRUE, else Complete = FALSE. > > This was my solution, I've subclassed the socket (imapdsocket) and written > my own line input routine that does this. (albeit it may be a bottleneck > written in Gambas as opposed to C) > > Gareth. > I added a EndOfFile property in the Stream class that tells you if LINE INPUT has reached the end of file (EndOfFile = TRUE) or has read an end of line (EndOfFile = FALSE). If you could try it... Regards, -- Benoit Minisini From steven at ...1652... Sat May 12 14:03:35 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 12 May 2007 14:03:35 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705121352.38063.gambas@...1...> References: <200705112335.24336.steven@...1652...> <200705121313.24588.steven@...1652...> <200705121352.38063.gambas@...1...> Message-ID: <200705121403.35118.steven@...1652...> Sorry, forgot the form, here it is Le samedi 12 mai 2007 13:52, Benoit Minisini a ?crit?: > On samedi 12 mai 2007, Steven Lobbezoo wrote: > > 1.9.49 downloaded for 2 days from the trunk > > Steven > > Can you send me more code? The full code of the module/form/class should be > sufficient. > > Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: FormPrintSelect.class Type: application/x-java Size: 6578 bytes Desc: not available URL: -------------- next part -------------- # Gambas Form File 1.0 { Form Form MoveScaled(0,0,54,32) 'Move(0,0,378,224) Background = &HFFFFBF& Text = ("") Border = Window.None { Panel2 Panel MoveScaled(0,0,54,32) 'Move(0,0,378,224) Background = &HC0C000& Border = Border.Raised { Panel1 Panel MoveScaled(0.4286,0.4286,53,31) 'Move(3,3,371,217) Background = &HFFFFBF& Foreground = &H000080& Border = Border.Etched { fbon CheckBox MoveScaled(2,5,2,3) 'Move(14,35,14,21) Font = Font["8"] Text = ("") } { fbq SpinBox MoveScaled(6,5,5,3) 'Move(42,35,35,21) Font = Font["8"] MinValue = 1 } { TextLabel1 TextLabel MoveScaled(13,5,9,3) 'Move(91,35,63,21) Font = Font["8"] Text = ("Fiche bien") } { vvq SpinBox MoveScaled(6,9,5,3) 'Move(42,63,35,21) Font = Font["8"] MinValue = 1 } { TextLabel2 TextLabel MoveScaled(13,9,12,3) 'Move(91,63,84,21) Font = Font["8"] Text = ("Vitrine Vertical") } { vvon CheckBox MoveScaled(2,9,2,3) 'Move(14,63,14,21) Font = Font["8"] Text = ("CheckBox1") } { vhq SpinBox MoveScaled(6,13,5,3) 'Move(42,91,35,21) Font = Font["8"] MinValue = 1 } { TextLabel3 TextLabel MoveScaled(13,13,13,3) 'Move(91,91,91,21) Font = Font["8"] Text = ("Vitrine Horizontal") } { vhon CheckBox MoveScaled(2,13,2,3) 'Move(14,91,14,21) Font = Font["8"] Text = ("CheckBox1") } { psq SpinBox MoveScaled(6,17,5,3) 'Move(42,119,35,21) Font = Font["8"] MinValue = 1 } { TextLabel4 TextLabel MoveScaled(13,17,17,3) 'Move(91,119,119,21) Font = Font["8"] Text = ("Photos suppl??mentaires") } { pson CheckBox MoveScaled(2,17,2,3) 'Move(14,119,14,21) Font = Font["8"] Text = ("CheckBox1") } { fiq SpinBox MoveScaled(6,21,5,3) 'Move(42,147,35,21) Font = Font["8"] MinValue = 1 } { TextLabel5 TextLabel MoveScaled(13,21,11,3) 'Move(91,147,77,21) Font = Font["8"] Text = ("Fiche interne") } { fion CheckBox MoveScaled(2,21,2,3) 'Move(14,147,14,21) Font = Font["8"] Text = ("CheckBox1") } { impron CheckBox MoveScaled(37,5,2,3) 'Move(259,35,14,21) Text = ("CheckBox5") Value = CheckBox.True } { TextLabel6 TextLabel MoveScaled(41,5,7,3) 'Move(287,35,49,21) Font = Font["8"] Text = ("Imprimer") } { TextLabel7 TextLabel MoveScaled(41,9,6,3) 'Move(287,63,42,21) Font = Font["8"] Text = ("Ouvrir") } { TextLabel8 TextLabel MoveScaled(41,13,10,3) 'Move(287,91,70,21) Font = Font["8"] Text = ("PDF -> E-mail") } { ouvron CheckBox MoveScaled(37,9,2,3) 'Move(259,63,14,21) Text = ("CheckBox5") } { mailon CheckBox MoveScaled(37,13,2,3) 'Move(259,91,14,21) Text = ("CheckBox5") } { Button6 Button MoveScaled(40,26,11,3) 'Move(280,182,77,21) Background = &HDEBA28& Foreground = &HFFFFBF& ToolTip = ("Imprimer / Voir\nune fiche maison") Text = ("Imprimer") } { Close Button MoveScaled(25,26,13,3) 'Move(175,182,91,21) Background = &H800000& Foreground = &HFFFFBF& ToolTip = ("Appuyer pour \nfermer cette\nfen??tre") Text = ("Arreter") } { Separator1 Separator MoveScaled(1,3,51,2) 'Move(7,21,357,14) } { TextLabel9 TextLabel MoveScaled(1,1,51,2) 'Move(7,7,357,14) Font = Font["Bold,10"] Text = ("Selection de vos imprim??es") Alignment = Align.Center } { saveon CheckBox MoveScaled(37,17,2,3) 'Move(259,119,14,21) Text = ("CheckBox5") } { TextLabel10 TextLabel MoveScaled(41,17,9,3) 'Move(287,119,63,21) Font = Font["8"] Text = ("Saufgarder") } { status TextLabel MoveScaled(2,26,21,3) 'Move(14,182,147,21) Foreground = &H000080& Text = ("Choisi vos imprim??es") Alignment = Align.BottomLeft Border = Border.Etched } } } } From ronstk at ...239... Sat May 12 15:11:23 2007 From: ronstk at ...239... (ron) Date: Sat, 12 May 2007 15:11:23 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705121357.53645.steven@...1652...> References: <200705112335.24336.steven@...1652...> <200705121352.38063.gambas@...1...> <200705121357.53645.steven@...1652...> Message-ID: <200705121511.23847.ronstk@...239...> On Saturday 12 May 2007 13:57, Steven Lobbezoo wrote: > PRIVATE FUNCTION DoLine(sData AS String) AS String > DIM s, e AS Integer > DIM Tmp AS String > DIM Tag AS String[] > > ? ' we do the replace/find data > ? Tmp = sData > ? s = InStr(Tmp, "{{") > ? WHILE s > 0 > ? ? e = InStr(Tmp, "}}", s) > ? ? Tag = Split(Mid(Tmp, s + 2, e - s - 2), ":") > ? ? Tmp = Mid(Tmp, 1, s - 1) & DoField(Tag) & Mid(Tmp, e + 2) > ? ? s = InStr(Tmp, "{{") > ? WEND > ? RETURN Tmp > END > Just a idea, the Tag is a reserved word. May be this is the circular reference ? It would be nice if that warning could show what it found as circular reference. Got it also several times. Ron From gareth at ...1689... Sat May 12 15:38:36 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 12 May 2007 14:38:36 +0100 (BST) Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <200705121400.32631.gambas@...1...> Message-ID: <3812675.1581178977116384.JavaMail.root@...1694...> Urm, will do, just as soon as I can download .49 .. ;-) ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Saturday, May 12, 2007 1:00:32 PM (GMT) Europe/London Subject: Re: [Gambas-user] Strings and Network input ... On jeudi 10 mai 2007, Gareth Bult wrote: > Urm, > > One (easy) answer would be to have a flag that's set if the LINE INPUT > returns with a complete line. If last (n) characters == EndOfLine then > Complete = TRUE, else Complete = FALSE. > > This was my solution, I've subclassed the socket (imapdsocket) and written > my own line input routine that does this. (albeit it may be a bottleneck > written in Gambas as opposed to C) > > Gareth. > I added a EndOfFile property in the Stream class that tells you if LINE INPUT has reached the end of file (EndOfFile = TRUE) or has read an end of line (EndOfFile = FALSE). If you could try it... Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From steven at ...1652... Sat May 12 15:47:36 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 12 May 2007 15:47:36 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705121511.23847.ronstk@...239...> References: <200705112335.24336.steven@...1652...> <200705121357.53645.steven@...1652...> <200705121511.23847.ronstk@...239...> Message-ID: <200705121547.36708.steven@...1652...> I changed Tag into Tage (not reserved). This does not change anything ! Le samedi 12 mai 2007 15:11, ron a ?crit?: > On Saturday 12 May 2007 13:57, Steven Lobbezoo wrote: > > PRIVATE FUNCTION DoLine(sData AS String) AS String > > DIM s, e AS Integer > > DIM Tmp AS String > > DIM Tag AS String[] > > > > ? ' we do the replace/find data > > ? Tmp = sData > > ? s = InStr(Tmp, "{{") > > ? WHILE s > 0 > > ? ? e = InStr(Tmp, "}}", s) > > ? ? Tag = Split(Mid(Tmp, s + 2, e - s - 2), ":") > > ? ? Tmp = Mid(Tmp, 1, s - 1) & DoField(Tag) & Mid(Tmp, e + 2) > > ? ? s = InStr(Tmp, "{{") > > ? WEND > > ? RETURN Tmp > > END > > Just a idea, the Tag is a reserved word. > May be this is the circular reference ? > > It would be nice if that warning could show what it > found as circular reference. Got it also several times. > > > Ron > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From leonardo at ...1237... Sat May 12 16:01:31 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Sat, 12 May 2007 16:01:31 +0200 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <200705042105.20335.gambas@...1...> References: <200705042105.20335.gambas@...1...> Message-ID: <4645C8BB.1080604@...1237...> Benoit Minisini ha scritto: > Hi, > > I have created new pages on the wiki (http://gambasdoc.org/help/install), > where anybody will be able to explain how to compile & install Gambas on its > own Linux distribution. > > These pages can be used too for distribution specific notes. > > I took the explanation of Gareth Bult for Ubuntu 7.04 and put it there. I > created a page for Mandriva too, but it is void at the moment. I will fill it > if I have time. > > Feel free to create the pages for your own distribution. Users having problem > to install Gambas will thank you for the whole eternity for your help. > > Regards, > In my looong way to find a new a more specific Linux distro for my needs Im' trying in these days Ubuntu 7.04 on my laptop. As ever, I try to see if Gambas IDE can run on every distro I try. With Ubuntu I get this error both when I launch it by console or when I launch a program by Gambas IDE: --------------------------- X Error: BadDevice, invalid or uninitialized input device 169 Major Opcode: 145 Minor Opcode: 3 Resource ID: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 169 Major Opcode: 145 Minor Opcode: 3 Resource ID: 0x0 Failed to open device ---------------------------- I get this message several times.. Does someone has an idea about it? Thanks in advance. P.S.: my laptop is based on Intel Centrino with Pentium M 1.8 GHz, 1 GB RAM, integrated graphic chip i915, and Ubuntu 7.04 uses Gnome 2.18. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From gambas.fr at ...626... Sat May 12 16:04:00 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 12 May 2007 16:04:00 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705121547.36708.steven@...1652...> References: <200705112335.24336.steven@...1652...> <200705121357.53645.steven@...1652...> <200705121511.23847.ronstk@...239...> <200705121547.36708.steven@...1652...> Message-ID: <6324a42a0705120704s2a1678afh5b29499041569f9@...627...> tag is not a reserved word ... it's a property on some components widget. at same you can use reserved words by puting them between {}. Fabien 2007/5/12, Steven Lobbezoo : > > I changed Tag into Tage (not reserved). This does not change anything ! > > > Le samedi 12 mai 2007 15:11, ron a ?crit: > > On Saturday 12 May 2007 13:57, Steven Lobbezoo wrote: > > > PRIVATE FUNCTION DoLine(sData AS String) AS String > > > DIM s, e AS Integer > > > DIM Tmp AS String > > > DIM Tag AS String[] > > > > > > ' we do the replace/find data > > > Tmp = sData > > > s = InStr(Tmp, "{{") > > > WHILE s > 0 > > > e = InStr(Tmp, "}}", s) > > > Tag = Split(Mid(Tmp, s + 2, e - s - 2), ":") > > > Tmp = Mid(Tmp, 1, s - 1) & DoField(Tag) & Mid(Tmp, e + 2) > > > s = InStr(Tmp, "{{") > > > WEND > > > RETURN Tmp > > > END > > > > Just a idea, the Tag is a reserved word. > > May be this is the circular reference ? > > > > It would be nice if that warning could show what it > > found as circular reference. Got it also several times. > > > > > > Ron > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gareth at ...1689... Sat May 12 16:12:17 2007 From: gareth at ...1689... (Gareth Bult) Date: Sat, 12 May 2007 15:12:17 +0100 (BST) Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <4645C8BB.1080604@...1237...> Message-ID: <10726399.1611178979137935.JavaMail.root@...1694...> Urm, this is "normal" for version #1 on Ubuntu .. it doesn't seem to cause any problems (??) If you launch from the menus (Applications -> Programming -> Gambas) you won't see the error ... ;-) Gareth. ----- Original Message ----- From: "Leonardo Miliani" To: "mailing list for gambas users" Sent: Saturday, May 12, 2007 3:01:31 PM (GMT) Europe/London Subject: Re: [Gambas-user] How to compile & install Gambas on a specific distribution Benoit Minisini ha scritto: > Hi, > > I have created new pages on the wiki (http://gambasdoc.org/help/install), > where anybody will be able to explain how to compile & install Gambas on its > own Linux distribution. > > These pages can be used too for distribution specific notes. > > I took the explanation of Gareth Bult for Ubuntu 7.04 and put it there. I > created a page for Mandriva too, but it is void at the moment. I will fill it > if I have time. > > Feel free to create the pages for your own distribution. Users having problem > to install Gambas will thank you for the whole eternity for your help. > > Regards, > In my looong way to find a new a more specific Linux distro for my needs Im' trying in these days Ubuntu 7.04 on my laptop. As ever, I try to see if Gambas IDE can run on every distro I try. With Ubuntu I get this error both when I launch it by console or when I launch a program by Gambas IDE: --------------------------- X Error: BadDevice, invalid or uninitialized input device 169 Major Opcode: 145 Minor Opcode: 3 Resource ID: 0x0 Failed to open device X Error: BadDevice, invalid or uninitialized input device 169 Major Opcode: 145 Minor Opcode: 3 Resource ID: 0x0 Failed to open device ---------------------------- I get this message several times.. Does someone has an idea about it? Thanks in advance. P.S.: my laptop is based on Intel Centrino with Pentium M 1.8 GHz, 1 GB RAM, integrated graphic chip i915, and Ubuntu 7.04 uses Gnome 2.18. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From cperrin88 at ...467... Sat May 12 16:15:11 2007 From: cperrin88 at ...467... (Christopher) Date: Sat, 12 May 2007 16:15:11 +0200 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <4645C8BB.1080604@...1237...> References: <200705042105.20335.gambas@...1...> <4645C8BB.1080604@...1237...> Message-ID: <4645CBEF.8040907@...467...> Leonardo Miliani schrieb: > Benoit Minisini ha scritto: > > > In my looong way to find a new a more specific Linux distro for my needs > Im' trying in these days Ubuntu 7.04 on my laptop. > As ever, I try to see if Gambas IDE can run on every distro I try. > With Ubuntu I get this error both when I launch it by console or when I > launch a program by Gambas IDE: > > --------------------------- > X Error: BadDevice, invalid or uninitialized input device 169 > Major Opcode: 145 > Minor Opcode: 3 > Resource ID: 0x0 > Failed to open device > X Error: BadDevice, invalid or uninitialized input device 169 > Major Opcode: 145 > Minor Opcode: 3 > Resource ID: 0x0 > Failed to open device > ---------------------------- > > I get this message several times.. > Does someone has an idea about it? > Thanks in advance. > > P.S.: > my laptop is based on Intel Centrino with Pentium M 1.8 GHz, 1 GB RAM, > integrated graphic chip i915, and Ubuntu 7.04 uses Gnome 2.18. > > I know that error. It's because Ubuntu always installs functions for a Wacom tablet. You have to comment out (place # in front of those lines) the lines that mention anything "wacom" related in your xorg.conf. Don't forget the Endsection etc.. From leonardo at ...1237... Sat May 12 16:34:48 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Sat, 12 May 2007 16:34:48 +0200 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <4645C8BB.1080604@...1237...> References: <200705042105.20335.gambas@...1...> <4645C8BB.1080604@...1237...> Message-ID: <4645D088.9050704@...1237...> Leonardo Miliani ha scritto: > Benoit Minisini ha scritto: >> Hi, >> >> I have created new pages on the wiki (http://gambasdoc.org/help/install), >> where anybody will be able to explain how to compile & install Gambas on its >> own Linux distribution. >> >> These pages can be used too for distribution specific notes. >> >> I took the explanation of Gareth Bult for Ubuntu 7.04 and put it there. I >> created a page for Mandriva too, but it is void at the moment. I will fill it >> if I have time. >> >> Feel free to create the pages for your own distribution. Users having problem >> to install Gambas will thank you for the whole eternity for your help. >> >> Regards, >> > > In my looong way to find a new a more specific Linux distro for my needs > Im' trying in these days Ubuntu 7.04 on my laptop. > As ever, I try to see if Gambas IDE can run on every distro I try. > With Ubuntu I get this error both when I launch it by console or when I > launch a program by Gambas IDE: > > --------------------------- > X Error: BadDevice, invalid or uninitialized input device 169 > Major Opcode: 145 > Minor Opcode: 3 > Resource ID: 0x0 > Failed to open device > X Error: BadDevice, invalid or uninitialized input device 169 > Major Opcode: 145 > Minor Opcode: 3 > Resource ID: 0x0 > Failed to open device > ---------------------------- > > I get this message several times.. > Does someone has an idea about it? > Thanks in advance. > > P.S.: > my laptop is based on Intel Centrino with Pentium M 1.8 GHz, 1 GB RAM, > integrated graphic chip i915, and Ubuntu 7.04 uses Gnome 2.18. > Solved :-) I post the solution for those who have Ubuntu like me and get that error opening GUI applications fron console. You must edit the /etc/X11/xorg.conf file (as root) and comment (put the '#' at the beginning) all the lines of all the sections regarding the "wacom" device". You can try to follow this guide (it's in italian but you can translate it using Google or similars :-)): http://www.debianitalia.org/modules/wfsection/article.php?articleid=129 -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From leonardo at ...1237... Sat May 12 16:36:52 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Sat, 12 May 2007 16:36:52 +0200 Subject: [Gambas-user] How to compile & install Gambas on a specific distribution In-Reply-To: <4645CBEF.8040907@...467...> References: <200705042105.20335.gambas@...1...> <4645C8BB.1080604@...1237...> <4645CBEF.8040907@...467...> Message-ID: <4645D104.6070308@...1237...> Christopher ha scritto: > Leonardo Miliani schrieb: >> Benoit Minisini ha scritto: >> >> >> In my looong way to find a new a more specific Linux distro for my needs >> Im' trying in these days Ubuntu 7.04 on my laptop. >> As ever, I try to see if Gambas IDE can run on every distro I try. >> With Ubuntu I get this error both when I launch it by console or when I >> launch a program by Gambas IDE: >> >> --------------------------- >> X Error: BadDevice, invalid or uninitialized input device 169 >> Major Opcode: 145 >> Minor Opcode: 3 >> Resource ID: 0x0 >> Failed to open device >> X Error: BadDevice, invalid or uninitialized input device 169 >> Major Opcode: 145 >> Minor Opcode: 3 >> Resource ID: 0x0 >> Failed to open device >> ---------------------------- >> >> I get this message several times.. >> Does someone has an idea about it? >> Thanks in advance. >> >> P.S.: >> my laptop is based on Intel Centrino with Pentium M 1.8 GHz, 1 GB RAM, >> integrated graphic chip i915, and Ubuntu 7.04 uses Gnome 2.18. >> >> > I know that error. It's because Ubuntu always installs functions for a > Wacom tablet. You have to comment out (place # in front of those lines) > the lines that mention anything "wacom" related in your xorg.conf. Don't > forget the Endsection etc.. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Yes. This was the solution that I find by myself :-) Thank a lot for everyone :-) -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From steven at ...1652... Sat May 12 16:58:29 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 12 May 2007 16:58:29 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <6324a42a0705120704s2a1678afh5b29499041569f9@...627...> References: <200705112335.24336.steven@...1652...> <200705121547.36708.steven@...1652...> <6324a42a0705120704s2a1678afh5b29499041569f9@...627...> Message-ID: <200705121658.29289.steven@...1652...> Right, I thougt so ;-) I just downloaded the latest trunk and installed it. Problem remains the same. Steven Le samedi 12 mai 2007 16:04, Fabien Bodard a ?crit?: > tag is not a reserved word ... it's a property on some components widget. > > at same you can use reserved words by puting them between {}. > > Fabien > > 2007/5/12, Steven Lobbezoo : > > I changed Tag into Tage (not reserved). This does not change anything ! > > > > Le samedi 12 mai 2007 15:11, ron a ?crit: > > > On Saturday 12 May 2007 13:57, Steven Lobbezoo wrote: > > > > PRIVATE FUNCTION DoLine(sData AS String) AS String > > > > DIM s, e AS Integer > > > > DIM Tmp AS String > > > > DIM Tag AS String[] > > > > > > > > ' we do the replace/find data > > > > Tmp = sData > > > > s = InStr(Tmp, "{{") > > > > WHILE s > 0 > > > > e = InStr(Tmp, "}}", s) > > > > Tag = Split(Mid(Tmp, s + 2, e - s - 2), ":") > > > > Tmp = Mid(Tmp, 1, s - 1) & DoField(Tag) & Mid(Tmp, e + 2) > > > > s = InStr(Tmp, "{{") > > > > WEND > > > > RETURN Tmp > > > > END > > > > > > Just a idea, the Tag is a reserved word. > > > May be this is the circular reference ? > > > > > > It would be nice if that warning could show what it > > > found as circular reference. Got it also several times. > > > > > > > > > Ron > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat May 12 21:50:17 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 12 May 2007 21:50:17 +0200 Subject: [Gambas-user] Strings and Network input ... In-Reply-To: <3812675.1581178977116384.JavaMail.root@...1694...> References: <3812675.1581178977116384.JavaMail.root@...1694...> Message-ID: <200705122150.17676.gambas@...1...> On samedi 12 mai 2007, Gareth Bult wrote: > Urm, will do, just as soon as I can download .49 .. ;-) > To download the last revision of the development version, you just have to do somewhere: $ svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/2.0/trunk/ $ cd trunk $ ./configure -C $ make ... and so on. Then, you just have to do: $ svn update In the trunk directory to just update your copy of Gambas to the latest version. Regards, -- Benoit Minisini From gambas at ...1... Sat May 12 22:43:59 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 12 May 2007 22:43:59 +0200 Subject: [Gambas-user] use /dev/port In-Reply-To: <680502.53470.qm@...1654...> References: <680502.53470.qm@...1654...> Message-ID: <200705122243.59545.gambas@...1...> On lundi 30 avril 2007, Nopan Pirsa wrote: > hi all.. > i want to ask how to write /dev/port and /dev/lp0 in gambas? > thanks > > Sorry for the late answer... You should look in the wiki, at: http://gambasdoc.org/help/howto/parport Regards, -- Benoit Minisini From gambas at ...1... Sat May 12 23:01:10 2007 From: gambas at ...1... (Benoit Minisini) Date: Sat, 12 May 2007 23:01:10 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705121403.35118.steven@...1652...> References: <200705112335.24336.steven@...1652...> <200705121352.38063.gambas@...1...> <200705121403.35118.steven@...1652...> Message-ID: <200705122301.10154.gambas@...1...> On samedi 12 mai 2007, Steven Lobbezoo wrote: > Sorry, forgot the form, here it is > > Le samedi 12 mai 2007 13:52, Benoit Minisini a ?crit?: > > On samedi 12 mai 2007, Steven Lobbezoo wrote: > > > 1.9.49 downloaded for 2 days from the trunk > > > Steven > > > > Can you send me more code? The full code of the module/form/class should > > be sufficient. > > > > Regards, I found the bug, it is located in the code that handles such pseudo-collections like Result.Fields. But other are concerned: Table.Fields, Table.Indexes... Now I have to fix it... :-) -- Benoit Minisini From steven at ...1652... Sat May 12 23:28:19 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sat, 12 May 2007 23:28:19 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705122301.10154.gambas@...1...> References: <200705112335.24336.steven@...1652...> <200705121403.35118.steven@...1652...> <200705122301.10154.gambas@...1...> Message-ID: <200705122328.19613.steven@...1652...> Great, So .... fix it :-) Steven Le samedi 12 mai 2007 23:01, Benoit Minisini a ?crit?: > On samedi 12 mai 2007, Steven Lobbezoo wrote: > > Sorry, forgot the form, here it is > > > > Le samedi 12 mai 2007 13:52, Benoit Minisini a ?crit?: > > > On samedi 12 mai 2007, Steven Lobbezoo wrote: > > > > 1.9.49 downloaded for 2 days from the trunk > > > > Steven > > > > > > Can you send me more code? The full code of the module/form/class > > > should be sufficient. > > > > > > Regards, > > I found the bug, it is located in the code that handles such > pseudo-collections like Result.Fields. But other are concerned: > Table.Fields, Table.Indexes... > > Now I have to fix it... :-) From gambas at ...1... Sun May 13 00:11:36 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 13 May 2007 00:11:36 +0200 Subject: [Gambas-user] Coding problem / bug ? In-Reply-To: <200705122328.19613.steven@...1652...> References: <200705112335.24336.steven@...1652...> <200705122301.10154.gambas@...1...> <200705122328.19613.steven@...1652...> Message-ID: <200705130011.37226.gambas@...1...> On samedi 12 mai 2007, Steven Lobbezoo wrote: > Great, > > So .... fix it :-) > > Steven > Done! -- Benoit Minisini From eilert-sprachen at ...221... Mon May 14 12:21:43 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 14 May 2007 12:21:43 +0200 Subject: [Gambas-user] Compiling issues on Suse 10.2 Message-ID: <46483837.2040403@...221...> Hi folks, just finished installing a brand new Suse 10.2 and found it doesn't compile Gambas anymore, neither of the current versions. On my Suse 10.1 at home, there's no problem with any version. Does anyone here spontaneously know the reason, or do you need the compiling messages? (It's on another machine than this one, so I'd have to copy/paste from one to the other - no idea how to handle this, that's why I ask first :-) ) Thanks for all ideas Regards Rolf From steven at ...1652... Mon May 14 13:31:51 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 14 May 2007 13:31:51 +0200 Subject: [Gambas-user] Compiling issues on Suse 10.2 In-Reply-To: <46483837.2040403@...221...> References: <46483837.2040403@...221...> Message-ID: <200705141331.51313.steven@...1652...> Hi, I've OpenSuse 10.2 No problem att all compiling. You must be missing some libs. If you send the output of make, i'll have a look. Steven Le lundi 14 mai 2007 12:21, Rolf-Werner Eilert a ?crit?: > Hi folks, > > just finished installing a brand new Suse 10.2 and found it doesn't > compile Gambas anymore, neither of the current versions. > > On my Suse 10.1 at home, there's no problem with any version. > > Does anyone here spontaneously know the reason, or do you need the > compiling messages? (It's on another machine than this one, so I'd have > to copy/paste from one to the other - no idea how to handle this, that's > why I ask first :-) ) > > Thanks for all ideas > > Regards > > Rolf > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From vince.scott at ...770... Mon May 14 14:08:44 2007 From: vince.scott at ...770... (Vince Scott) Date: Mon, 14 May 2007 07:08:44 -0500 Subject: [Gambas-user] Compiling issues on Suse 10.2 In-Reply-To: <200705141331.51313.steven@...1652...> Message-ID: Steven, What kind of message are you getting? I installed on SLED 10 and everything compiled fine but the IDE wouldn't load because of a missing image file, but all the executables ran fine. I had to modify a line code and recompiled to get it to come IDE to come up. Vince -----Original Message----- From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf Of Steven Lobbezoo Sent: Monday, May 14, 2007 6:32 AM To: info at ...394...; mailing list for gambas users Subject: Re: [Gambas-user] Compiling issues on Suse 10.2 Hi, I've OpenSuse 10.2 No problem att all compiling. You must be missing some libs. If you send the output of make, i'll have a look. Steven Le lundi 14 mai 2007 12:21, Rolf-Werner Eilert a ?crit?: > Hi folks, > > just finished installing a brand new Suse 10.2 and found it doesn't > compile Gambas anymore, neither of the current versions. > > On my Suse 10.1 at home, there's no problem with any version. > > Does anyone here spontaneously know the reason, or do you need the > compiling messages? (It's on another machine than this one, so I'd have > to copy/paste from one to the other - no idea how to handle this, that's > why I ask first :-) ) > > Thanks for all ideas > > Regards > > Rolf > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From david_villalobos_c at ...43... Mon May 14 14:20:49 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Mon, 14 May 2007 05:20:49 -0700 (PDT) Subject: [Gambas-user] Gambas on 64-bits PC Message-ID: <202774.12910.qm@...1656...> Hi all, Does somebody know if I can compile Gambas in 64-bits PC?? Regards David ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/ From steven at ...1652... Mon May 14 14:28:05 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 14 May 2007 14:28:05 +0200 Subject: [Gambas-user] Compiling issues on Suse 10.2 In-Reply-To: References: Message-ID: <200705141428.05973.steven@...1652...> Vince, I donnot get an error at all. It just compiles and runs without a hitch. It's Rolf-werner who got a problem ;-) Steven Le lundi 14 mai 2007 14:08, Vince Scott a ?crit?: > Steven, > > What kind of message are you getting? I installed on SLED 10 and everything > compiled fine but the IDE wouldn't load because of a missing image file, > but all the executables ran fine. I had to modify a line code and > recompiled to get it to come IDE to come up. > > Vince > > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf Of Steven > Lobbezoo > Sent: Monday, May 14, 2007 6:32 AM > To: info at ...394...; mailing list for gambas users > Subject: Re: [Gambas-user] Compiling issues on Suse 10.2 > > Hi, > > I've OpenSuse 10.2 > No problem att all compiling. You must be missing some libs. > If you send the output of make, i'll have a look. > > Steven > > Le lundi 14 mai 2007 12:21, Rolf-Werner Eilert a ?crit?: > > Hi folks, > > > > just finished installing a brand new Suse 10.2 and found it doesn't > > compile Gambas anymore, neither of the current versions. > > > > On my Suse 10.1 at home, there's no problem with any version. > > > > Does anyone here spontaneously know the reason, or do you need the > > compiling messages? (It's on another machine than this one, so I'd have > > to copy/paste from one to the other - no idea how to handle this, that's > > why I ask first :-) ) > > > > Thanks for all ideas > > > > Regards > > > > Rolf > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jredrejo at ...626... Mon May 14 14:45:57 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Mon, 14 May 2007 12:45:57 +0000 Subject: [Gambas-user] Gambas on 64-bits PC In-Reply-To: <202774.12910.qm@...1656...> References: <202774.12910.qm@...1656...> Message-ID: <8eb28a500705140545v22bdf997l1489e8f19e23ed13@...627...> You can compile it, but it won't work. Further explanation at http://sourceforge.net/mailarchive/message.php?msg_name=200704190812.45041.gambas%40users.sourceforge.net Regards Jos? L. 2007/5/14, David Villalobos Cambronero : > > Hi all, > > Does somebody know if I can compile Gambas in 64-bits PC?? > > Regards David > > > > > > ____________________________________________________________________________________Ready > for the edge of your seat? > Check out tonight's top picks on Yahoo! TV. > http://tv.yahoo.com/ > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From steven at ...1652... Mon May 14 15:18:47 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 14 May 2007 15:18:47 +0200 Subject: [Gambas-user] Re; Grid In-Reply-To: <1178272548.23039.18.camel@...1690...> References: <1178184936.11885.2.camel@...1690...> <1178272548.23039.18.camel@...1690...> Message-ID: <200705141518.47440.steven@...1652...> Hi Gareth, I'm toying around a bit with your dbgrid. It looks just fine, but I have one major problem. I've tables with references to other tables. I want the user to see an other column in the refrenced table, but after he selects some value there (works ok) i want to do the update on the original table with the reference value. Can this be done with your grid? Steven Le vendredi 4 mai 2007 11:55, Gareth Bult a ?crit?: > Ok, incorporated into the component - seems to work fine .. :) > New release at http://encryptec.net/software/gambas-grideditor > > I now have tiered chaining working based on "change" events .. > i.e. (n) tables linked in a master-slave hierarchy where the slave(s) > auto-update when someone changes rows on the master .. > (screen shot on the page) > > Gareth. > > On Fri, 2007-05-04 at 10:25 +0100, Gareth Bult wrote: > > Hi, > > > > Thanks for that .. one problem I have however .. when you click (or > > double click) on a header , it doesn't generate an Mouse event. > > ... it only generates an event if you're over the grid ... > > > > However, playing with mouse clicks has I think led to a solution. > > > > A double click on a header generates a DblClick. > > A double click on a cell generates both DblClick and MOUSE events (!) > > > > A single click on a cell generates a Mouse Down + Mouse UP. > > A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing > > the second "DOWN" becomes the DblClick) > > > > So, if I don't get associated mouse commands, it must be a double click > > on a header ... :-) > > > > Now to code it ... :) > > > > Gareth. > > > > On Fri, 2007-05-04 at 11:03 +0200, ron wrote: > > > On Friday 04 May 2007 10:11, Gareth Bult wrote: > > > > Yup, this is the issue I have .. it can be made to work "mostly" .. > > > > > > > > However, writing applications that work "mostly" doesn't really do it > > > > for me ... :( > > > > > > > > My solution for now is to use a keyboard event rather than a double > > > > click ... > > > > If anyone has a working calculation I'm all ears ... :) > > > > > > > > Gareth. > > > > > > This routine checks if the mouse x/y is above a cell and not in the > > > space below/right of it > > > > > > ' waiting for updated gambas, function is add on my request > > > PUBLIC FUNCTION hGrid at ...1692...(x AS Integer, Y AS Integer) AS Boolean > > > ' returns true if out range > > > DIM gx, gy AS Integer > > > DIM gc, gr AS Integer > > > gx = 0 > > > gy = 0 > > > gc = 0 > > > gr = 0 > > > WITH hGrid > > > gx = .Columns[0].Width > > > WHILE x > gx > > > INC gc > > > IF gc > (.Columns.Count - 1) THEN RETURN TRUE > > > gx += .Columns[gc].Width > > > WEND > > > gy = .rows[0].Height > > > WHILE y > gy > > > INC gr > > > IF gr > (.rows.Count - 1) THEN RETURN TRUE > > > gy += .rows[gr].Height > > > WEND > > > .Column = gc > > > .Row = gr > > > END WITH > > > END > > > > > > > > > As mentioned the GridVie.Find is implement and here as private > > > subroutine 'hGrid at ...1692...' hFrid is the handle for the GridView control. > > > > > > The calculation is here done. > > > In fact I set the .Row and .Column properties so after a call the > > > return boolean tells you if it is a valid hit or not. > > > When valid the GridView.Row and GridView.Column are set correct. > > > > > > ----------------- > > > > > > Here I did use the service > > > grdFields is the name of the GridView and the hGrid handle of it > > > GridCtrlHide routine did hide the overlay controls for editing. > > > GridCtrlShow routine shows the appropriate control for the .Row > > > > > > The Gridview is used with on the row the value/properties of a field in > > > database table. Every row has his own control as > > > textbox/listbox/combobox/checkbox Every column is the representation of > > > a field. > > > The result is transformed to a MySQL query > > > Code is never been clean up of remarks etc.(shame to me) > > > > > > > > > PUBLIC SUB grdFields_MouseDown() > > > 'PRINT "grdFields_MouseDown:"; grdFields.Row; "/"; grdFields.Column > > > 'PRINT mouse.X > > > > > > 'if ctrl then save value if editing > > > IF ctrTBX.Visible THEN ctrTBXSave > > > GridCtrlHide > > > > > > 'and go to new position > > > ' IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > ' GridCtrlShow(grdFields.Row, grdFields.Column) > > > END > > > > > > PUBLIC SUB grdFields_MouseMove() > > > IF mouse.Left THEN > > > 'PRINT "grdFields_MouseMove" > > > > > > 'check in gridcell > > > IF ME.grdFields at ...1692...(mouse.X, mouse.Y) THEN RETURN > > > ' IF ME.grdFields.Find(mouse.X, mouse.Y) THEN RETURN > > > grd.CtrlHide > > > Drag.Icon = picture["img/16/gambas.png"] > > > drag(grdFields, MIME_TYPE_GRID) > > > END IF > > > END > > > > > > PUBLIC SUB grdFields_MouseUp() > > > DIM vVal AS Variant > > > 'PRINT "grdFields_MouseUp"; grdFields.Row; "/"; grdFields.Column > > > > > > GridCtrlHide > > > > > > IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > > > IF grdFields.row = grd.GRDVIS THEN > > > ' row/column for write data in grid > > > grdFields.Tag = [grdFields.Row, grdFields.Column] > > > vVal = IIf(UCase(grdFields[grdFields.Row, grdFields.Column].Text) = > > > "YES", "No", "Yes") GridWrite(vVal) > > > ELSE > > > GridCtrlShow(grdFields.Row, grdFields.Column) > > > ENDIF > > > > > > END > > > > > > ----- > > > > > > Ron > > > > > > > > > ----------------------------------------------------------------------- > > >-- This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Mon May 14 16:11:17 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 14 May 2007 16:11:17 +0200 Subject: [Gambas-user] Compiling issues on Suse 10.2 In-Reply-To: References: Message-ID: <46486E05.1050707@...221...> Vince Scott schrieb: > Steven, > > What kind of message are you getting? I installed on SLED 10 and everything > compiled fine but the IDE wouldn't load because of a missing image file, but > all the executables ran fine. I had to modify a line code and recompiled to > get it to come IDE to come up. > > Vince > > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net > [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf Of Steven > Lobbezoo > Sent: Monday, May 14, 2007 6:32 AM > To: info at ...394...; mailing list for gambas users > Subject: Re: [Gambas-user] Compiling issues on Suse 10.2 > > Hi, > > I've OpenSuse 10.2 > No problem att all compiling. You must be missing some libs. > If you send the output of make, i'll have a look. > > Steven > > > Le lundi 14 mai 2007 12:21, Rolf-Werner Eilert a ?crit : >> Hi folks, >> >> just finished installing a brand new Suse 10.2 and found it doesn't >> compile Gambas anymore, neither of the current versions. >> >> On my Suse 10.1 at home, there's no problem with any version. >> >> Does anyone here spontaneously know the reason, or do you need the >> compiling messages? (It's on another machine than this one, so I'd have >> to copy/paste from one to the other - no idea how to handle this, that's >> why I ask first :-) ) >> >> Thanks for all ideas >> >> Regards >> >> Rolf >> Alright, here you are. This is ./configure and the rest of the make stuff. Can you recognise anything from it? Thanks Rolf server3:/home/tester/Downloads/Gambas/gambas-1.0.17 # ./configure checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for wait3 that fills in rusage... yes checking for getcwd... yes checking for gettimeofday... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtod... yes checking for strtol... yes checking for sysinfo... yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for a sed that does not truncate output... /usr/bin/sed checking for ld used by gcc... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for main in -lm... yes checking for main in -lz... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for external internationalization library headers... /usr/include/ checking for external internationalization library libraries... no configure: WARNING: *** external internationalization library is disabled checking for external charset conversion library headers... /usr/include/ checking for external charset conversion library libraries... no configure: WARNING: *** external charset conversion library is disabled checking for external gettext library headers... checking for external gettext library libraries... no configure: WARNING: *** external gettext library is disabled checking for QT component headers... /usr/lib/qt3/include/ checking for QT component libraries... /usr/lib/qt3/lib/ checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for QT meta-object compiler... /usr/bin/ checking for KDE 3.x component headers... /opt/kde3/include/ checking for KDE 3.x component libraries... /opt/kde3/lib/ checking for Networking component headers... checking for Networking component libraries... checking for Advanced networking component headers... /usr/include/curl/ checking for Advanced networking component libraries... /usr/lib/ checking for PostgreSQL driver headers... no checking for PostgreSQL driver libraries... no configure: WARNING: *** PostgreSQL driver is disabled checking for MySQL driver headers... no checking for MySQL driver libraries... no configure: WARNING: *** MySQL driver is disabled checking for SQLite driver headers... no checking for SQLite driver libraries... no configure: WARNING: *** SQLite driver is disabled checking for SDL component headers... no checking for SDL component libraries... no configure: WARNING: *** SDL component is disabled checking for Visual Basic compatibility component headers... checking for Visual Basic compatibility component libraries... checking for zlib compression headers... /usr/include/ checking for zlib compression libraries... /usr/lib/ checking for bzlib2 compression headers... /usr/include/ checking for bzlib2 compression libraries... /usr/lib/ checking for XML parser component headers... /usr/include/libxml2/ checking for XML parser component libraries... /usr/lib/ checking for XSLT/XML parser component headers... /usr/include/ checking for XSLT/XML parser component libraries... /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/share/Makefile config.status: creating src/comp/Makefile config.status: creating src/exec/Makefile config.status: creating src/lib/Makefile config.status: creating src/lib/debug/Makefile config.status: creating src/lib/eval/Makefile config.status: creating src/lib/qt/Makefile config.status: creating src/lib/qt/editor/Makefile config.status: creating src/lib/qt/ext/Makefile config.status: creating src/lib/qt/kde/Makefile config.status: creating src/lib/qt/kde/html/Makefile config.status: creating src/lib/db/Makefile config.status: creating src/lib/db/mysql/Makefile config.status: creating src/lib/db/postgresql/Makefile config.status: creating src/lib/db/sqlite/Makefile config.status: creating src/lib/sdl/Makefile config.status: creating src/lib/net/Makefile config.status: creating src/lib/net/curl/Makefile config.status: creating src/lib/vb/Makefile config.status: creating src/lib/compress/Makefile config.status: creating src/lib/compress/zlib/Makefile config.status: creating src/lib/compress/bzlib2/Makefile config.status: creating src/lib/xml/Makefile config.status: creating src/lib/xml/libxml/Makefile config.status: creating src/lib/xml/libxml/xslt/Makefile config.status: creating src/lib/xml/libxml/rpc/Makefile config.status: creating config.h config.status: executing depfiles commands configure: configuring in libltdl configure: running /bin/sh './configure' --prefix=/opt/gambas --enable-ltdl-convenience --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for an ANSI C-conforming const... yes checking for inline... inline checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking which extension is used for loadable modules... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib /usr/X11R6/lib /usr/X11R6/lib/Xaw3d /usr/X11R6/lib /usr/lib/Xaw3d /usr/i386-suse-linux/lib /usr/local/lib /opt/kde3/lib /opt/gnome/lib include /etc/ld.so.conf.d/*.conf checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen in -ldl... yes checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/dl.h usability... no checking sys/dl.h presence... no checking for sys/dl.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_value.lo -MD -MP -MF ".deps/gbx_value.Tpo" -c -o gbx_value.lo gbx_value.c; \ then mv -f ".deps/gbx_value.Tpo" ".deps/gbx_value.Plo"; else rm -f ".deps/gbx_value.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_value.lo -MD -MP -MF .deps/gbx_value.Tpo -c gbx_value.c -fPIC -DPIC -o .libs/gbx_value.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subst.lo -MD -MP -MF ".deps/gbx_subst.Tpo" -c -o gbx_subst.lo gbx_subst.c; \ then mv -f ".deps/gbx_subst.Tpo" ".deps/gbx_subst.Plo"; else rm -f ".deps/gbx_subst.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subst.lo -MD -MP -MF .deps/gbx_subst.Tpo -c gbx_subst.c -fPIC -DPIC -o .libs/gbx_subst.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec.lo -MD -MP -MF ".deps/gbx_exec.Tpo" -c -o gbx_exec.lo gbx_exec.c; \ then mv -f ".deps/gbx_exec.Tpo" ".deps/gbx_exec.Plo"; else rm -f ".deps/gbx_exec.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec.lo -MD -MP -MF .deps/gbx_exec.Tpo -c gbx_exec.c -fPIC -DPIC -o .libs/gbx_exec.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_push.lo -MD -MP -MF ".deps/gbx_exec_push.Tpo" -c -o gbx_exec_push.lo gbx_exec_push.c; \ then mv -f ".deps/gbx_exec_push.Tpo" ".deps/gbx_exec_push.Plo"; else rm -f ".deps/gbx_exec_push.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_push.lo -MD -MP -MF .deps/gbx_exec_push.Tpo -c gbx_exec_push.c -fPIC -DPIC -o .libs/gbx_exec_push.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_enum.lo -MD -MP -MF ".deps/gbx_exec_enum.Tpo" -c -o gbx_exec_enum.lo gbx_exec_enum.c; \ then mv -f ".deps/gbx_exec_enum.Tpo" ".deps/gbx_exec_enum.Plo"; else rm -f ".deps/gbx_exec_enum.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_enum.lo -MD -MP -MF .deps/gbx_exec_enum.Tpo -c gbx_exec_enum.c -fPIC -DPIC -o .libs/gbx_exec_enum.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_pop.lo -MD -MP -MF ".deps/gbx_exec_pop.Tpo" -c -o gbx_exec_pop.lo gbx_exec_pop.c; \ then mv -f ".deps/gbx_exec_pop.Tpo" ".deps/gbx_exec_pop.Plo"; else rm -f ".deps/gbx_exec_pop.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_pop.lo -MD -MP -MF .deps/gbx_exec_pop.Tpo -c gbx_exec_pop.c -fPIC -DPIC -o .libs/gbx_exec_pop.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_loop.lo -MD -MP -MF ".deps/gbx_exec_loop.Tpo" -c -o gbx_exec_loop.lo gbx_exec_loop.c; \ then mv -f ".deps/gbx_exec_loop.Tpo" ".deps/gbx_exec_loop.Plo"; else rm -f ".deps/gbx_exec_loop.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_loop.lo -MD -MP -MF .deps/gbx_exec_loop.Tpo -c gbx_exec_loop.c -fPIC -DPIC -o .libs/gbx_exec_loop.o gbx_exec_loop.c: In function 'EXEC_loop': gbx_exec_loop.c:1100: warning: 'val' may be used uninitialized in this function gbx_exec_loop.c:1099: warning: 'inc' may be used uninitialized in this function gbx_exec_loop.c:1098: warning: 'end' may be used uninitialized in this function gbx_exec_loop.c:974: warning: 'val' may be used uninitialized in this function gbx_exec_loop.c:441: warning: 'ind' may be used uninitialized in this function if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_pcode.lo -MD -MP -MF ".deps/gbx_pcode.Tpo" -c -o gbx_pcode.lo gbx_pcode.c; \ then mv -f ".deps/gbx_pcode.Tpo" ".deps/gbx_pcode.Plo"; else rm -f ".deps/gbx_pcode.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_pcode.lo -MD -MP -MF .deps/gbx_pcode.Tpo -c gbx_pcode.c -fPIC -DPIC -o .libs/gbx_pcode.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_trace.lo -MD -MP -MF ".deps/gbx_trace.Tpo" -c -o gbx_trace.lo gbx_trace.c; \ then mv -f ".deps/gbx_trace.Tpo" ".deps/gbx_trace.Plo"; else rm -f ".deps/gbx_trace.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_trace.lo -MD -MP -MF .deps/gbx_trace.Tpo -c gbx_trace.c -fPIC -DPIC -o .libs/gbx_trace.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_init.lo -MD -MP -MF ".deps/gbx_class_init.Tpo" -c -o gbx_class_init.lo gbx_class_init.c; \ then mv -f ".deps/gbx_class_init.Tpo" ".deps/gbx_class_init.Plo"; else rm -f ".deps/gbx_class_init.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_init.lo -MD -MP -MF .deps/gbx_class_init.Tpo -c gbx_class_init.c -fPIC -DPIC -o .libs/gbx_class_init.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class.lo -MD -MP -MF ".deps/gbx_class.Tpo" -c -o gbx_class.lo gbx_class.c; \ then mv -f ".deps/gbx_class.Tpo" ".deps/gbx_class.Plo"; else rm -f ".deps/gbx_class.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class.lo -MD -MP -MF .deps/gbx_class.Tpo -c gbx_class.c -fPIC -DPIC -o .libs/gbx_class.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_native.lo -MD -MP -MF ".deps/gbx_class_native.Tpo" -c -o gbx_class_native.lo gbx_class_native.c; \ then mv -f ".deps/gbx_class_native.Tpo" ".deps/gbx_class_native.Plo"; else rm -f ".deps/gbx_class_native.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_native.lo -MD -MP -MF .deps/gbx_class_native.Tpo -c gbx_class_native.c -fPIC -DPIC -o .libs/gbx_class_native.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_load.lo -MD -MP -MF ".deps/gbx_class_load.Tpo" -c -o gbx_class_load.lo gbx_class_load.c; \ then mv -f ".deps/gbx_class_load.Tpo" ".deps/gbx_class_load.Plo"; else rm -f ".deps/gbx_class_load.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_load.lo -MD -MP -MF .deps/gbx_class_load.Tpo -c gbx_class_load.c -fPIC -DPIC -o .libs/gbx_class_load.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_event.lo -MD -MP -MF ".deps/gbx_event.Tpo" -c -o gbx_event.lo gbx_event.c; \ then mv -f ".deps/gbx_event.Tpo" ".deps/gbx_event.Plo"; else rm -f ".deps/gbx_event.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_event.lo -MD -MP -MF .deps/gbx_event.Tpo -c gbx_event.c -fPIC -DPIC -o .libs/gbx_event.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_file.lo -MD -MP -MF ".deps/gb_file.Tpo" -c -o gb_file.lo gb_file.c; \ then mv -f ".deps/gb_file.Tpo" ".deps/gb_file.Plo"; else rm -f ".deps/gb_file.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_file.lo -MD -MP -MF .deps/gb_file.Tpo -c gb_file.c -fPIC -DPIC -o .libs/gb_file.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream.lo -MD -MP -MF ".deps/gbx_stream.Tpo" -c -o gbx_stream.lo gbx_stream.c; \ then mv -f ".deps/gbx_stream.Tpo" ".deps/gbx_stream.Plo"; else rm -f ".deps/gbx_stream.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream.lo -MD -MP -MF .deps/gbx_stream.Tpo -c gbx_stream.c -fPIC -DPIC -o .libs/gbx_stream.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_direct.lo -MD -MP -MF ".deps/gbx_stream_direct.Tpo" -c -o gbx_stream_direct.lo gbx_stream_direct.c; \ then mv -f ".deps/gbx_stream_direct.Tpo" ".deps/gbx_stream_direct.Plo"; else rm -f ".deps/gbx_stream_direct.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_direct.lo -MD -MP -MF .deps/gbx_stream_direct.Tpo -c gbx_stream_direct.c -fPIC -DPIC -o .libs/gbx_stream_direct.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_buffer.lo -MD -MP -MF ".deps/gbx_stream_buffer.Tpo" -c -o gbx_stream_buffer.lo gbx_stream_buffer.c; \ then mv -f ".deps/gbx_stream_buffer.Tpo" ".deps/gbx_stream_buffer.Plo"; else rm -f ".deps/gbx_stream_buffer.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_buffer.lo -MD -MP -MF .deps/gbx_stream_buffer.Tpo -c gbx_stream_buffer.c -fPIC -DPIC -o .libs/gbx_stream_buffer.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_memory.lo -MD -MP -MF ".deps/gbx_stream_memory.Tpo" -c -o gbx_stream_memory.lo gbx_stream_memory.c; \ then mv -f ".deps/gbx_stream_memory.Tpo" ".deps/gbx_stream_memory.Plo"; else rm -f ".deps/gbx_stream_memory.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_memory.lo -MD -MP -MF .deps/gbx_stream_memory.Tpo -c gbx_stream_memory.c -fPIC -DPIC -o .libs/gbx_stream_memory.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_arch.lo -MD -MP -MF ".deps/gbx_stream_arch.Tpo" -c -o gbx_stream_arch.lo gbx_stream_arch.c; \ then mv -f ".deps/gbx_stream_arch.Tpo" ".deps/gbx_stream_arch.Plo"; else rm -f ".deps/gbx_stream_arch.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_arch.lo -MD -MP -MF .deps/gbx_stream_arch.Tpo -c gbx_stream_arch.c -fPIC -DPIC -o .libs/gbx_stream_arch.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_process.lo -MD -MP -MF ".deps/gbx_stream_process.Tpo" -c -o gbx_stream_process.lo gbx_stream_process.c; \ then mv -f ".deps/gbx_stream_process.Tpo" ".deps/gbx_stream_process.Plo"; else rm -f ".deps/gbx_stream_process.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_process.lo -MD -MP -MF .deps/gbx_stream_process.Tpo -c gbx_stream_process.c -fPIC -DPIC -o .libs/gbx_stream_process.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_project.lo -MD -MP -MF ".deps/gbx_project.Tpo" -c -o gbx_project.lo gbx_project.c; \ then mv -f ".deps/gbx_project.Tpo" ".deps/gbx_project.Plo"; else rm -f ".deps/gbx_project.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_project.lo -MD -MP -MF .deps/gbx_project.Tpo -c gbx_project.c -fPIC -DPIC -o .libs/gbx_project.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_library.lo -MD -MP -MF ".deps/gbx_library.Tpo" -c -o gbx_library.lo gbx_library.c; \ then mv -f ".deps/gbx_library.Tpo" ".deps/gbx_library.Plo"; else rm -f ".deps/gbx_library.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_library.lo -MD -MP -MF .deps/gbx_library.Tpo -c gbx_library.c -fPIC -DPIC -o .libs/gbx_library.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr.lo -MD -MP -MF ".deps/gbx_subr.Tpo" -c -o gbx_subr.lo gbx_subr.c; \ then mv -f ".deps/gbx_subr.Tpo" ".deps/gbx_subr.Plo"; else rm -f ".deps/gbx_subr.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr.lo -MD -MP -MF .deps/gbx_subr.Tpo -c gbx_subr.c -fPIC -DPIC -o .libs/gbx_subr.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_file.lo -MD -MP -MF ".deps/gbx_subr_file.Tpo" -c -o gbx_subr_file.lo gbx_subr_file.c; \ then mv -f ".deps/gbx_subr_file.Tpo" ".deps/gbx_subr_file.Plo"; else rm -f ".deps/gbx_subr_file.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_file.lo -MD -MP -MF .deps/gbx_subr_file.Tpo -c gbx_subr_file.c -fPIC -DPIC -o .libs/gbx_subr_file.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_string.lo -MD -MP -MF ".deps/gbx_subr_string.Tpo" -c -o gbx_subr_string.lo gbx_subr_string.c; \ then mv -f ".deps/gbx_subr_string.Tpo" ".deps/gbx_subr_string.Plo"; else rm -f ".deps/gbx_subr_string.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_string.lo -MD -MP -MF .deps/gbx_subr_string.Tpo -c gbx_subr_string.c -fPIC -DPIC -o .libs/gbx_subr_string.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_conv.lo -MD -MP -MF ".deps/gbx_subr_conv.Tpo" -c -o gbx_subr_conv.lo gbx_subr_conv.c; \ then mv -f ".deps/gbx_subr_conv.Tpo" ".deps/gbx_subr_conv.Plo"; else rm -f ".deps/gbx_subr_conv.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_conv.lo -MD -MP -MF .deps/gbx_subr_conv.Tpo -c gbx_subr_conv.c -fPIC -DPIC -o .libs/gbx_subr_conv.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_time.lo -MD -MP -MF ".deps/gbx_subr_time.Tpo" -c -o gbx_subr_time.lo gbx_subr_time.c; \ then mv -f ".deps/gbx_subr_time.Tpo" ".deps/gbx_subr_time.Plo"; else rm -f ".deps/gbx_subr_time.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_time.lo -MD -MP -MF .deps/gbx_subr_time.Tpo -c gbx_subr_time.c -fPIC -DPIC -o .libs/gbx_subr_time.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_misc.lo -MD -MP -MF ".deps/gbx_subr_misc.Tpo" -c -o gbx_subr_misc.lo gbx_subr_misc.c; \ then mv -f ".deps/gbx_subr_misc.Tpo" ".deps/gbx_subr_misc.Plo"; else rm -f ".deps/gbx_subr_misc.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_misc.lo -MD -MP -MF .deps/gbx_subr_misc.Tpo -c gbx_subr_misc.c -fPIC -DPIC -o .libs/gbx_subr_misc.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_math.lo -MD -MP -MF ".deps/gbx_math.Tpo" -c -o gbx_math.lo gbx_math.c; \ then mv -f ".deps/gbx_math.Tpo" ".deps/gbx_math.Plo"; else rm -f ".deps/gbx_math.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_math.lo -MD -MP -MF .deps/gbx_math.Tpo -c gbx_math.c -fPIC -DPIC -o .libs/gbx_math.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_math.lo -MD -MP -MF ".deps/gbx_subr_math.Tpo" -c -o gbx_subr_math.lo gbx_subr_math.c; \ then mv -f ".deps/gbx_subr_math.Tpo" ".deps/gbx_subr_math.Plo"; else rm -f ".deps/gbx_subr_math.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_math.lo -MD -MP -MF .deps/gbx_subr_math.Tpo -c gbx_subr_math.c -fPIC -DPIC -o .libs/gbx_subr_math.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_test.lo -MD -MP -MF ".deps/gbx_subr_test.Tpo" -c -o gbx_subr_test.lo gbx_subr_test.c; \ then mv -f ".deps/gbx_subr_test.Tpo" ".deps/gbx_subr_test.Plo"; else rm -f ".deps/gbx_subr_test.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_test.lo -MD -MP -MF .deps/gbx_subr_test.Tpo -c gbx_subr_test.c -fPIC -DPIC -o .libs/gbx_subr_test.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_api.lo -MD -MP -MF ".deps/gbx_api.Tpo" -c -o gbx_api.lo gbx_api.c; \ then mv -f ".deps/gbx_api.Tpo" ".deps/gbx_api.Plo"; else rm -f ".deps/gbx_api.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_api.lo -MD -MP -MF .deps/gbx_api.Tpo -c gbx_api.c -fPIC -DPIC -o .libs/gbx_api.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_local.lo -MD -MP -MF ".deps/gbx_local.Tpo" -c -o gbx_local.lo gbx_local.c; \ then mv -f ".deps/gbx_local.Tpo" ".deps/gbx_local.Plo"; else rm -f ".deps/gbx_local.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_local.lo -MD -MP -MF .deps/gbx_local.Tpo -c gbx_local.c -fPIC -DPIC -o .libs/gbx_local.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_regexp.lo -MD -MP -MF ".deps/gbx_regexp.Tpo" -c -o gbx_regexp.lo gbx_regexp.c; \ then mv -f ".deps/gbx_regexp.Tpo" ".deps/gbx_regexp.Plo"; else rm -f ".deps/gbx_regexp.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_regexp.lo -MD -MP -MF .deps/gbx_regexp.Tpo -c gbx_regexp.c -fPIC -DPIC -o .libs/gbx_regexp.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_archive.lo -MD -MP -MF ".deps/gbx_archive.Tpo" -c -o gbx_archive.lo gbx_archive.c; \ then mv -f ".deps/gbx_archive.Tpo" ".deps/gbx_archive.Plo"; else rm -f ".deps/gbx_archive.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_archive.lo -MD -MP -MF .deps/gbx_archive.Tpo -c gbx_archive.c -fPIC -DPIC -o .libs/gbx_archive.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_watch.lo -MD -MP -MF ".deps/gbx_watch.Tpo" -c -o gbx_watch.lo gbx_watch.c; \ then mv -f ".deps/gbx_watch.Tpo" ".deps/gbx_watch.Plo"; else rm -f ".deps/gbx_watch.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_watch.lo -MD -MP -MF .deps/gbx_watch.Tpo -c gbx_watch.c -fPIC -DPIC -o .libs/gbx_watch.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_eval.lo -MD -MP -MF ".deps/gbx_eval.Tpo" -c -o gbx_eval.lo gbx_eval.c; \ then mv -f ".deps/gbx_eval.Tpo" ".deps/gbx_eval.Plo"; else rm -f ".deps/gbx_eval.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_eval.lo -MD -MP -MF .deps/gbx_eval.Tpo -c gbx_eval.c -fPIC -DPIC -o .libs/gbx_eval.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_compare.lo -MD -MP -MF ".deps/gbx_compare.Tpo" -c -o gbx_compare.lo gbx_compare.c; \ then mv -f ".deps/gbx_compare.Tpo" ".deps/gbx_compare.Plo"; else rm -f ".deps/gbx_compare.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_compare.lo -MD -MP -MF .deps/gbx_compare.Tpo -c gbx_compare.c -fPIC -DPIC -o .libs/gbx_compare.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_number.lo -MD -MP -MF ".deps/gbx_number.Tpo" -c -o gbx_number.lo gbx_number.c; \ then mv -f ".deps/gbx_number.Tpo" ".deps/gbx_number.Plo"; else rm -f ".deps/gbx_number.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_number.lo -MD -MP -MF .deps/gbx_number.Tpo -c gbx_number.c -fPIC -DPIC -o .libs/gbx_number.o gbx_number.c: In function 'NUMBER_from_string': gbx_number.c:223: warning: 'dval' may be used uninitialized in this function gbx_number.c:222: warning: 'val' may be used uninitialized in this function if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_object.lo -MD -MP -MF ".deps/gbx_object.Tpo" -c -o gbx_object.lo gbx_object.c; \ then mv -f ".deps/gbx_object.Tpo" ".deps/gbx_object.Plo"; else rm -f ".deps/gbx_object.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_object.lo -MD -MP -MF .deps/gbx_object.Tpo -c gbx_object.c -fPIC -DPIC -o .libs/gbx_object.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_string.lo -MD -MP -MF ".deps/gbx_string.Tpo" -c -o gbx_string.lo gbx_string.c; \ then mv -f ".deps/gbx_string.Tpo" ".deps/gbx_string.Plo"; else rm -f ".deps/gbx_string.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_string.lo -MD -MP -MF .deps/gbx_string.Tpo -c gbx_string.c -fPIC -DPIC -o .libs/gbx_string.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_variant.lo -MD -MP -MF ".deps/gbx_variant.Tpo" -c -o gbx_variant.lo gbx_variant.c; \ then mv -f ".deps/gbx_variant.Tpo" ".deps/gbx_variant.Plo"; else rm -f ".deps/gbx_variant.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_variant.lo -MD -MP -MF .deps/gbx_variant.Tpo -c gbx_variant.c -fPIC -DPIC -o .libs/gbx_variant.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_date.lo -MD -MP -MF ".deps/gbx_date.Tpo" -c -o gbx_date.lo gbx_date.c; \ then mv -f ".deps/gbx_date.Tpo" ".deps/gbx_date.Plo"; else rm -f ".deps/gbx_date.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_date.lo -MD -MP -MF .deps/gbx_date.Tpo -c gbx_date.c -fPIC -DPIC -o .libs/gbx_date.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_array.lo -MD -MP -MF ".deps/gbx_array.Tpo" -c -o gbx_array.lo gbx_array.c; \ then mv -f ".deps/gbx_array.Tpo" ".deps/gbx_array.Plo"; else rm -f ".deps/gbx_array.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_array.lo -MD -MP -MF .deps/gbx_array.Tpo -c gbx_array.c -fPIC -DPIC -o .libs/gbx_array.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_class.lo -MD -MP -MF ".deps/gbx_c_class.Tpo" -c -o gbx_c_class.lo gbx_c_class.c; \ then mv -f ".deps/gbx_c_class.Tpo" ".deps/gbx_c_class.Plo"; else rm -f ".deps/gbx_c_class.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_class.lo -MD -MP -MF .deps/gbx_c_class.Tpo -c gbx_c_class.c -fPIC -DPIC -o .libs/gbx_c_class.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_collection.lo -MD -MP -MF ".deps/gbx_c_collection.Tpo" -c -o gbx_c_collection.lo gbx_c_collection.c; \ then mv -f ".deps/gbx_c_collection.Tpo" ".deps/gbx_c_collection.Plo"; else rm -f ".deps/gbx_c_collection.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_collection.lo -MD -MP -MF .deps/gbx_c_collection.Tpo -c gbx_c_collection.c -fPIC -DPIC -o .libs/gbx_c_collection.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_error.lo -MD -MP -MF ".deps/gbx_c_error.Tpo" -c -o gbx_c_error.lo gbx_c_error.c; \ then mv -f ".deps/gbx_c_error.Tpo" ".deps/gbx_c_error.Plo"; else rm -f ".deps/gbx_c_error.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_error.lo -MD -MP -MF .deps/gbx_c_error.Tpo -c gbx_c_error.c -fPIC -DPIC -o .libs/gbx_c_error.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_gambas.lo -MD -MP -MF ".deps/gbx_c_gambas.Tpo" -c -o gbx_c_gambas.lo gbx_c_gambas.c; \ then mv -f ".deps/gbx_c_gambas.Tpo" ".deps/gbx_c_gambas.Plo"; else rm -f ".deps/gbx_c_gambas.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_gambas.lo -MD -MP -MF .deps/gbx_c_gambas.Tpo -c gbx_c_gambas.c -fPIC -DPIC -o .libs/gbx_c_gambas.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_file.lo -MD -MP -MF ".deps/gbx_c_file.Tpo" -c -o gbx_c_file.lo gbx_c_file.c; \ then mv -f ".deps/gbx_c_file.Tpo" ".deps/gbx_c_file.Plo"; else rm -f ".deps/gbx_c_file.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_file.lo -MD -MP -MF .deps/gbx_c_file.Tpo -c gbx_c_file.c -fPIC -DPIC -o .libs/gbx_c_file.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_application.lo -MD -MP -MF ".deps/gbx_c_application.Tpo" -c -o gbx_c_application.lo gbx_c_application.c; \ then mv -f ".deps/gbx_c_application.Tpo" ".deps/gbx_c_application.Plo"; else rm -f ".deps/gbx_c_application.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_application.lo -MD -MP -MF .deps/gbx_c_application.Tpo -c gbx_c_application.c -fPIC -DPIC -o .libs/gbx_c_application.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_array.lo -MD -MP -MF ".deps/gbx_c_array.Tpo" -c -o gbx_c_array.lo gbx_c_array.c; \ then mv -f ".deps/gbx_c_array.Tpo" ".deps/gbx_c_array.Plo"; else rm -f ".deps/gbx_c_array.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_array.lo -MD -MP -MF .deps/gbx_c_array.Tpo -c gbx_c_array.c -fPIC -DPIC -o .libs/gbx_c_array.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_process.lo -MD -MP -MF ".deps/gbx_c_process.Tpo" -c -o gbx_c_process.lo gbx_c_process.c; \ then mv -f ".deps/gbx_c_process.Tpo" ".deps/gbx_c_process.Plo"; else rm -f ".deps/gbx_c_process.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_process.lo -MD -MP -MF .deps/gbx_c_process.Tpo -c gbx_c_process.c -fPIC -DPIC -o .libs/gbx_c_process.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_subcollection.lo -MD -MP -MF ".deps/gbx_c_subcollection.Tpo" -c -o gbx_c_subcollection.lo gbx_c_subcollection.c; \ then mv -f ".deps/gbx_c_subcollection.Tpo" ".deps/gbx_c_subcollection.Plo"; else rm -f ".deps/gbx_c_subcollection.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_subcollection.lo -MD -MP -MF .deps/gbx_c_subcollection.Tpo -c gbx_c_subcollection.c -fPIC -DPIC -o .libs/gbx_c_subcollection.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_string.lo -MD -MP -MF ".deps/gbx_c_string.Tpo" -c -o gbx_c_string.lo gbx_c_string.c; \ then mv -f ".deps/gbx_c_string.Tpo" ".deps/gbx_c_string.Plo"; else rm -f ".deps/gbx_c_string.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_string.lo -MD -MP -MF .deps/gbx_c_string.Tpo -c gbx_c_string.c -fPIC -DPIC -o .libs/gbx_c_string.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_settings.lo -MD -MP -MF ".deps/gbx_c_settings.Tpo" -c -o gbx_c_settings.lo gbx_c_settings.c; \ then mv -f ".deps/gbx_c_settings.Tpo" ".deps/gbx_c_settings.Plo"; else rm -f ".deps/gbx_c_settings.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_settings.lo -MD -MP -MF .deps/gbx_c_settings.Tpo -c gbx_c_settings.c -fPIC -DPIC -o .libs/gbx_c_settings.o if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_info.lo -MD -MP -MF ".deps/gbx_class_info.Tpo" -c -o gbx_class_info.lo gbx_class_info.c; \ then mv -f ".deps/gbx_class_info.Tpo" ".deps/gbx_class_info.Plo"; else rm -f ".deps/gbx_class_info.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_info.lo -MD -MP -MF .deps/gbx_class_info.Tpo -c gbx_class_info.c -fPIC -DPIC -o .libs/gbx_class_info.o /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.la -rpath /opt/gambas/lib/gambas -no-undefined gb_common.lo gb_error.lo gb_alloc.lo gb_array.lo gbx_stack.lo gb_buffer.lo gbx_replace.lo gbx_list.lo gbx_hash.lo gb_table.lo gbx_type.lo gbx_value.lo gbx_subst.lo gbx_exec.lo gbx_exec_push.lo gbx_exec_enum.lo gbx_exec_pop.lo gbx_exec_loop.lo gbx_pcode.lo gbx_trace.lo gbx_class_init.lo gbx_class.lo gbx_class_native.lo gbx_class_load.lo gbx_event.lo gb_file.lo gbx_stream.lo gbx_stream_direct.lo gbx_stream_buffer.lo gbx_stream_memory.lo gbx_stream_arch.lo gbx_stream_process.lo gbx_project.lo gbx_library.lo gbx_subr.lo gbx_subr_file.lo gbx_subr_string.lo gbx_subr_conv.lo gbx_subr_time.lo gbx_subr_misc.lo gbx_math.lo gbx_subr_math.lo gbx_subr_test.lo gbx_api.lo gbx_local.lo gbx_regexp.lo gbx_archive.lo gbx_watch.lo gbx_eval.lo gbx_compare.lo gbx_number.lo gbx_object.lo gbx_string.lo gbx_variant.lo gbx_date.lo gbx_array.lo gbx_c_class.lo gbx_c_collection.lo gbx_c_error.lo gbx_c_gambas.lo gbx_c_file.lo gbx_c_application.lo gbx_c_array.lo gbx_c_process.lo gbx_c_subcollection.lo gbx_c_string.lo gbx_c_settings.lo gbx_class_info.lo -lm ../../libltdl/libltdlc.la gcc -shared .libs/gb_common.o .libs/gb_error.o .libs/gb_alloc.o .libs/gb_array.o .libs/gbx_stack.o .libs/gb_buffer.o .libs/gbx_replace.o .libs/gbx_list.o .libs/gbx_hash.o .libs/gb_table.o .libs/gbx_type.o .libs/gbx_value.o .libs/gbx_subst.o .libs/gbx_exec.o .libs/gbx_exec_push.o .libs/gbx_exec_enum.o .libs/gbx_exec_pop.o .libs/gbx_exec_loop.o .libs/gbx_pcode.o .libs/gbx_trace.o .libs/gbx_class_init.o .libs/gbx_class.o .libs/gbx_class_native.o .libs/gbx_class_load.o .libs/gbx_event.o .libs/gb_file.o .libs/gbx_stream.o .libs/gbx_stream_direct.o .libs/gbx_stream_buffer.o .libs/gbx_stream_memory.o .libs/gbx_stream_arch.o .libs/gbx_stream_process.o .libs/gbx_project.o .libs/gbx_library.o .libs/gbx_subr.o .libs/gbx_subr_file.o .libs/gbx_subr_string.o .libs/gbx_subr_conv.o .libs/gbx_subr_time.o .libs/gbx_subr_misc.o .libs/gbx_math.o .libs/gbx_subr_math.o .libs/gbx_subr_test.o .libs/gbx_api.o .libs/gbx_local.o .libs/gbx_regexp.o .libs/gbx_archive.o .libs/gbx_watch.o .libs/gbx_eval.o .libs/gbx_compare.o .libs/gbx_number.o .libs/gbx_object.o .libs/gbx_string.o .libs/gbx_variant.o .libs/gbx_date.o .libs/gbx_array.o .libs/gbx_c_class.o .libs/gbx_c_collection.o .libs/gbx_c_error.o .libs/gbx_c_gambas.o .libs/gbx_c_file.o .libs/gbx_c_application.o .libs/gbx_c_array.o .libs/gbx_c_process.o .libs/gbx_c_subcollection.o .libs/gbx_c_string.o .libs/gbx_c_settings.o .libs/gbx_class_info.o -Wl,--whole-archive ../../libltdl/.libs/libltdlc.a -Wl,--no-whole-archive -lm -ldl -Wl,-soname -Wl,lib.gb.so.0 -o .libs/lib.gb.so.0.0.0 (cd .libs && rm -f lib.gb.so.0 && ln -s lib.gb.so.0.0.0 lib.gb.so.0) (cd .libs && rm -f lib.gb.so && ln -s lib.gb.so.0.0.0 lib.gb.so) creating lib.gb.la (cd .libs && rm -f lib.gb.la && ln -s ../lib.gb.la lib.gb.la) if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gb_common.o -MD -MP -MF ".deps/gbx-gb_common.Tpo" -c -o gbx-gb_common.o `test -f 'gb_common.c' || echo './'`gb_common.c; \ then mv -f ".deps/gbx-gb_common.Tpo" ".deps/gbx-gb_common.Po"; else rm -f ".deps/gbx-gb_common.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gb_error.o -MD -MP -MF ".deps/gbx-gb_error.Tpo" -c -o gbx-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c; \ then mv -f ".deps/gbx-gb_error.Tpo" ".deps/gbx-gb_error.Po"; else rm -f ".deps/gbx-gb_error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gb_alloc.o -MD -MP -MF ".deps/gbx-gb_alloc.Tpo" -c -o gbx-gb_alloc.o `test -f 'gb_alloc.c' || echo './'`gb_alloc.c; \ then mv -f ".deps/gbx-gb_alloc.Tpo" ".deps/gbx-gb_alloc.Po"; else rm -f ".deps/gbx-gb_alloc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gb_array.o -MD -MP -MF ".deps/gbx-gb_array.Tpo" -c -o gbx-gb_array.o `test -f 'gb_array.c' || echo './'`gb_array.c; \ then mv -f ".deps/gbx-gb_array.Tpo" ".deps/gbx-gb_array.Po"; else rm -f ".deps/gbx-gb_array.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_stack.o -MD -MP -MF ".deps/gbx-gbx_stack.Tpo" -c -o gbx-gbx_stack.o `test -f 'gbx_stack.c' || echo './'`gbx_stack.c; \ then mv -f ".deps/gbx-gbx_stack.Tpo" ".deps/gbx-gbx_stack.Po"; else rm -f ".deps/gbx-gbx_stack.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gb_buffer.o -MD -MP -MF ".deps/gbx-gb_buffer.Tpo" -c -o gbx-gb_buffer.o `test -f 'gb_buffer.c' || echo './'`gb_buffer.c; \ then mv -f ".deps/gbx-gb_buffer.Tpo" ".deps/gbx-gb_buffer.Po"; else rm -f ".deps/gbx-gb_buffer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_replace.o -MD -MP -MF ".deps/gbx-gbx_replace.Tpo" -c -o gbx-gbx_replace.o `test -f 'gbx_replace.c' || echo './'`gbx_replace.c; \ then mv -f ".deps/gbx-gbx_replace.Tpo" ".deps/gbx-gbx_replace.Po"; else rm -f ".deps/gbx-gbx_replace.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_list.o -MD -MP -MF ".deps/gbx-gbx_list.Tpo" -c -o gbx-gbx_list.o `test -f 'gbx_list.c' || echo './'`gbx_list.c; \ then mv -f ".deps/gbx-gbx_list.Tpo" ".deps/gbx-gbx_list.Po"; else rm -f ".deps/gbx-gbx_list.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_hash.o -MD -MP -MF ".deps/gbx-gbx_hash.Tpo" -c -o gbx-gbx_hash.o `test -f 'gbx_hash.c' || echo './'`gbx_hash.c; \ then mv -f ".deps/gbx-gbx_hash.Tpo" ".deps/gbx-gbx_hash.Po"; else rm -f ".deps/gbx-gbx_hash.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gb_table.o -MD -MP -MF ".deps/gbx-gb_table.Tpo" -c -o gbx-gb_table.o `test -f 'gb_table.c' || echo './'`gb_table.c; \ then mv -f ".deps/gbx-gb_table.Tpo" ".deps/gbx-gb_table.Po"; else rm -f ".deps/gbx-gb_table.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_type.o -MD -MP -MF ".deps/gbx-gbx_type.Tpo" -c -o gbx-gbx_type.o `test -f 'gbx_type.c' || echo './'`gbx_type.c; \ then mv -f ".deps/gbx-gbx_type.Tpo" ".deps/gbx-gbx_type.Po"; else rm -f ".deps/gbx-gbx_type.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_value.o -MD -MP -MF ".deps/gbx-gbx_value.Tpo" -c -o gbx-gbx_value.o `test -f 'gbx_value.c' || echo './'`gbx_value.c; \ then mv -f ".deps/gbx-gbx_value.Tpo" ".deps/gbx-gbx_value.Po"; else rm -f ".deps/gbx-gbx_value.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_subst.o -MD -MP -MF ".deps/gbx-gbx_subst.Tpo" -c -o gbx-gbx_subst.o `test -f 'gbx_subst.c' || echo './'`gbx_subst.c; \ then mv -f ".deps/gbx-gbx_subst.Tpo" ".deps/gbx-gbx_subst.Po"; else rm -f ".deps/gbx-gbx_subst.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_exec.o -MD -MP -MF ".deps/gbx-gbx_exec.Tpo" -c -o gbx-gbx_exec.o `test -f 'gbx_exec.c' || echo './'`gbx_exec.c; \ then mv -f ".deps/gbx-gbx_exec.Tpo" ".deps/gbx-gbx_exec.Po"; else rm -f ".deps/gbx-gbx_exec.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_exec_push.o -MD -MP -MF ".deps/gbx-gbx_exec_push.Tpo" -c -o gbx-gbx_exec_push.o `test -f 'gbx_exec_push.c' || echo './'`gbx_exec_push.c; \ then mv -f ".deps/gbx-gbx_exec_push.Tpo" ".deps/gbx-gbx_exec_push.Po"; else rm -f ".deps/gbx-gbx_exec_push.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_exec_enum.o -MD -MP -MF ".deps/gbx-gbx_exec_enum.Tpo" -c -o gbx-gbx_exec_enum.o `test -f 'gbx_exec_enum.c' || echo './'`gbx_exec_enum.c; \ then mv -f ".deps/gbx-gbx_exec_enum.Tpo" ".deps/gbx-gbx_exec_enum.Po"; else rm -f ".deps/gbx-gbx_exec_enum.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_exec_pop.o -MD -MP -MF ".deps/gbx-gbx_exec_pop.Tpo" -c -o gbx-gbx_exec_pop.o `test -f 'gbx_exec_pop.c' || echo './'`gbx_exec_pop.c; \ then mv -f ".deps/gbx-gbx_exec_pop.Tpo" ".deps/gbx-gbx_exec_pop.Po"; else rm -f ".deps/gbx-gbx_exec_pop.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_exec_loop.o -MD -MP -MF ".deps/gbx-gbx_exec_loop.Tpo" -c -o gbx-gbx_exec_loop.o `test -f 'gbx_exec_loop.c' || echo './'`gbx_exec_loop.c; \ then mv -f ".deps/gbx-gbx_exec_loop.Tpo" ".deps/gbx-gbx_exec_loop.Po"; else rm -f ".deps/gbx-gbx_exec_loop.Tpo"; exit 1; fi gbx_exec_loop.c: In function ???EXEC_loop???: gbx_exec_loop.c:1100: warning: ???val??? may be used uninitialized in this function gbx_exec_loop.c:1099: warning: ???inc??? may be used uninitialized in this function gbx_exec_loop.c:1098: warning: ???end??? may be used uninitialized in this function gbx_exec_loop.c:974: warning: ???val??? may be used uninitialized in this function gbx_exec_loop.c:441: warning: ???ind??? may be used uninitialized in this function if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_pcode.o -MD -MP -MF ".deps/gbx-gbx_pcode.Tpo" -c -o gbx-gbx_pcode.o `test -f 'gbx_pcode.c' || echo './'`gbx_pcode.c; \ then mv -f ".deps/gbx-gbx_pcode.Tpo" ".deps/gbx-gbx_pcode.Po"; else rm -f ".deps/gbx-gbx_pcode.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_trace.o -MD -MP -MF ".deps/gbx-gbx_trace.Tpo" -c -o gbx-gbx_trace.o `test -f 'gbx_trace.c' || echo './'`gbx_trace.c; \ then mv -f ".deps/gbx-gbx_trace.Tpo" ".deps/gbx-gbx_trace.Po"; else rm -f ".deps/gbx-gbx_trace.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_class_init.o -MD -MP -MF ".deps/gbx-gbx_class_init.Tpo" -c -o gbx-gbx_class_init.o `test -f 'gbx_class_init.c' || echo './'`gbx_class_init.c; \ then mv -f ".deps/gbx-gbx_class_init.Tpo" ".deps/gbx-gbx_class_init.Po"; else rm -f ".deps/gbx-gbx_class_init.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_class.o -MD -MP -MF ".deps/gbx-gbx_class.Tpo" -c -o gbx-gbx_class.o `test -f 'gbx_class.c' || echo './'`gbx_class.c; \ then mv -f ".deps/gbx-gbx_class.Tpo" ".deps/gbx-gbx_class.Po"; else rm -f ".deps/gbx-gbx_class.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_class_native.o -MD -MP -MF ".deps/gbx-gbx_class_native.Tpo" -c -o gbx-gbx_class_native.o `test -f 'gbx_class_native.c' || echo './'`gbx_class_native.c; \ then mv -f ".deps/gbx-gbx_class_native.Tpo" ".deps/gbx-gbx_class_native.Po"; else rm -f ".deps/gbx-gbx_class_native.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_class_load.o -MD -MP -MF ".deps/gbx-gbx_class_load.Tpo" -c -o gbx-gbx_class_load.o `test -f 'gbx_class_load.c' || echo './'`gbx_class_load.c; \ then mv -f ".deps/gbx-gbx_class_load.Tpo" ".deps/gbx-gbx_class_load.Po"; else rm -f ".deps/gbx-gbx_class_load.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_event.o -MD -MP -MF ".deps/gbx-gbx_event.Tpo" -c -o gbx-gbx_event.o `test -f 'gbx_event.c' || echo './'`gbx_event.c; \ then mv -f ".deps/gbx-gbx_event.Tpo" ".deps/gbx-gbx_event.Po"; else rm -f ".deps/gbx-gbx_event.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gb_file.o -MD -MP -MF ".deps/gbx-gb_file.Tpo" -c -o gbx-gb_file.o `test -f 'gb_file.c' || echo './'`gb_file.c; \ then mv -f ".deps/gbx-gb_file.Tpo" ".deps/gbx-gb_file.Po"; else rm -f ".deps/gbx-gb_file.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_stream.o -MD -MP -MF ".deps/gbx-gbx_stream.Tpo" -c -o gbx-gbx_stream.o `test -f 'gbx_stream.c' || echo './'`gbx_stream.c; \ then mv -f ".deps/gbx-gbx_stream.Tpo" ".deps/gbx-gbx_stream.Po"; else rm -f ".deps/gbx-gbx_stream.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_stream_direct.o -MD -MP -MF ".deps/gbx-gbx_stream_direct.Tpo" -c -o gbx-gbx_stream_direct.o `test -f 'gbx_stream_direct.c' || echo './'`gbx_stream_direct.c; \ then mv -f ".deps/gbx-gbx_stream_direct.Tpo" ".deps/gbx-gbx_stream_direct.Po"; else rm -f ".deps/gbx-gbx_stream_direct.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_stream_buffer.o -MD -MP -MF ".deps/gbx-gbx_stream_buffer.Tpo" -c -o gbx-gbx_stream_buffer.o `test -f 'gbx_stream_buffer.c' || echo './'`gbx_stream_buffer.c; \ then mv -f ".deps/gbx-gbx_stream_buffer.Tpo" ".deps/gbx-gbx_stream_buffer.Po"; else rm -f ".deps/gbx-gbx_stream_buffer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_stream_memory.o -MD -MP -MF ".deps/gbx-gbx_stream_memory.Tpo" -c -o gbx-gbx_stream_memory.o `test -f 'gbx_stream_memory.c' || echo './'`gbx_stream_memory.c; \ then mv -f ".deps/gbx-gbx_stream_memory.Tpo" ".deps/gbx-gbx_stream_memory.Po"; else rm -f ".deps/gbx-gbx_stream_memory.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_stream_arch.o -MD -MP -MF ".deps/gbx-gbx_stream_arch.Tpo" -c -o gbx-gbx_stream_arch.o `test -f 'gbx_stream_arch.c' || echo './'`gbx_stream_arch.c; \ then mv -f ".deps/gbx-gbx_stream_arch.Tpo" ".deps/gbx-gbx_stream_arch.Po"; else rm -f ".deps/gbx-gbx_stream_arch.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_stream_process.o -MD -MP -MF ".deps/gbx-gbx_stream_process.Tpo" -c -o gbx-gbx_stream_process.o `test -f 'gbx_stream_process.c' || echo './'`gbx_stream_process.c; \ then mv -f ".deps/gbx-gbx_stream_process.Tpo" ".deps/gbx-gbx_stream_process.Po"; else rm -f ".deps/gbx-gbx_stream_process.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_project.o -MD -MP -MF ".deps/gbx-gbx_project.Tpo" -c -o gbx-gbx_project.o `test -f 'gbx_project.c' || echo './'`gbx_project.c; \ then mv -f ".deps/gbx-gbx_project.Tpo" ".deps/gbx-gbx_project.Po"; else rm -f ".deps/gbx-gbx_project.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_library.o -MD -MP -MF ".deps/gbx-gbx_library.Tpo" -c -o gbx-gbx_library.o `test -f 'gbx_library.c' || echo './'`gbx_library.c; \ then mv -f ".deps/gbx-gbx_library.Tpo" ".deps/gbx-gbx_library.Po"; else rm -f ".deps/gbx-gbx_library.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_subr.o -MD -MP -MF ".deps/gbx-gbx_subr.Tpo" -c -o gbx-gbx_subr.o `test -f 'gbx_subr.c' || echo './'`gbx_subr.c; \ then mv -f ".deps/gbx-gbx_subr.Tpo" ".deps/gbx-gbx_subr.Po"; else rm -f ".deps/gbx-gbx_subr.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_subr_file.o -MD -MP -MF ".deps/gbx-gbx_subr_file.Tpo" -c -o gbx-gbx_subr_file.o `test -f 'gbx_subr_file.c' || echo './'`gbx_subr_file.c; \ then mv -f ".deps/gbx-gbx_subr_file.Tpo" ".deps/gbx-gbx_subr_file.Po"; else rm -f ".deps/gbx-gbx_subr_file.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_subr_string.o -MD -MP -MF ".deps/gbx-gbx_subr_string.Tpo" -c -o gbx-gbx_subr_string.o `test -f 'gbx_subr_string.c' || echo './'`gbx_subr_string.c; \ then mv -f ".deps/gbx-gbx_subr_string.Tpo" ".deps/gbx-gbx_subr_string.Po"; else rm -f ".deps/gbx-gbx_subr_string.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_subr_conv.o -MD -MP -MF ".deps/gbx-gbx_subr_conv.Tpo" -c -o gbx-gbx_subr_conv.o `test -f 'gbx_subr_conv.c' || echo './'`gbx_subr_conv.c; \ then mv -f ".deps/gbx-gbx_subr_conv.Tpo" ".deps/gbx-gbx_subr_conv.Po"; else rm -f ".deps/gbx-gbx_subr_conv.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_subr_time.o -MD -MP -MF ".deps/gbx-gbx_subr_time.Tpo" -c -o gbx-gbx_subr_time.o `test -f 'gbx_subr_time.c' || echo './'`gbx_subr_time.c; \ then mv -f ".deps/gbx-gbx_subr_time.Tpo" ".deps/gbx-gbx_subr_time.Po"; else rm -f ".deps/gbx-gbx_subr_time.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_subr_misc.o -MD -MP -MF ".deps/gbx-gbx_subr_misc.Tpo" -c -o gbx-gbx_subr_misc.o `test -f 'gbx_subr_misc.c' || echo './'`gbx_subr_misc.c; \ then mv -f ".deps/gbx-gbx_subr_misc.Tpo" ".deps/gbx-gbx_subr_misc.Po"; else rm -f ".deps/gbx-gbx_subr_misc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_math.o -MD -MP -MF ".deps/gbx-gbx_math.Tpo" -c -o gbx-gbx_math.o `test -f 'gbx_math.c' || echo './'`gbx_math.c; \ then mv -f ".deps/gbx-gbx_math.Tpo" ".deps/gbx-gbx_math.Po"; else rm -f ".deps/gbx-gbx_math.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_subr_math.o -MD -MP -MF ".deps/gbx-gbx_subr_math.Tpo" -c -o gbx-gbx_subr_math.o `test -f 'gbx_subr_math.c' || echo './'`gbx_subr_math.c; \ then mv -f ".deps/gbx-gbx_subr_math.Tpo" ".deps/gbx-gbx_subr_math.Po"; else rm -f ".deps/gbx-gbx_subr_math.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_subr_test.o -MD -MP -MF ".deps/gbx-gbx_subr_test.Tpo" -c -o gbx-gbx_subr_test.o `test -f 'gbx_subr_test.c' || echo './'`gbx_subr_test.c; \ then mv -f ".deps/gbx-gbx_subr_test.Tpo" ".deps/gbx-gbx_subr_test.Po"; else rm -f ".deps/gbx-gbx_subr_test.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_api.o -MD -MP -MF ".deps/gbx-gbx_api.Tpo" -c -o gbx-gbx_api.o `test -f 'gbx_api.c' || echo './'`gbx_api.c; \ then mv -f ".deps/gbx-gbx_api.Tpo" ".deps/gbx-gbx_api.Po"; else rm -f ".deps/gbx-gbx_api.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_local.o -MD -MP -MF ".deps/gbx-gbx_local.Tpo" -c -o gbx-gbx_local.o `test -f 'gbx_local.c' || echo './'`gbx_local.c; \ then mv -f ".deps/gbx-gbx_local.Tpo" ".deps/gbx-gbx_local.Po"; else rm -f ".deps/gbx-gbx_local.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_regexp.o -MD -MP -MF ".deps/gbx-gbx_regexp.Tpo" -c -o gbx-gbx_regexp.o `test -f 'gbx_regexp.c' || echo './'`gbx_regexp.c; \ then mv -f ".deps/gbx-gbx_regexp.Tpo" ".deps/gbx-gbx_regexp.Po"; else rm -f ".deps/gbx-gbx_regexp.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_archive.o -MD -MP -MF ".deps/gbx-gbx_archive.Tpo" -c -o gbx-gbx_archive.o `test -f 'gbx_archive.c' || echo './'`gbx_archive.c; \ then mv -f ".deps/gbx-gbx_archive.Tpo" ".deps/gbx-gbx_archive.Po"; else rm -f ".deps/gbx-gbx_archive.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_watch.o -MD -MP -MF ".deps/gbx-gbx_watch.Tpo" -c -o gbx-gbx_watch.o `test -f 'gbx_watch.c' || echo './'`gbx_watch.c; \ then mv -f ".deps/gbx-gbx_watch.Tpo" ".deps/gbx-gbx_watch.Po"; else rm -f ".deps/gbx-gbx_watch.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_eval.o -MD -MP -MF ".deps/gbx-gbx_eval.Tpo" -c -o gbx-gbx_eval.o `test -f 'gbx_eval.c' || echo './'`gbx_eval.c; \ then mv -f ".deps/gbx-gbx_eval.Tpo" ".deps/gbx-gbx_eval.Po"; else rm -f ".deps/gbx-gbx_eval.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_compare.o -MD -MP -MF ".deps/gbx-gbx_compare.Tpo" -c -o gbx-gbx_compare.o `test -f 'gbx_compare.c' || echo './'`gbx_compare.c; \ then mv -f ".deps/gbx-gbx_compare.Tpo" ".deps/gbx-gbx_compare.Po"; else rm -f ".deps/gbx-gbx_compare.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx.o -MD -MP -MF ".deps/gbx-gbx.Tpo" -c -o gbx-gbx.o `test -f 'gbx.c' || echo './'`gbx.c; \ then mv -f ".deps/gbx-gbx.Tpo" ".deps/gbx-gbx.Po"; else rm -f ".deps/gbx-gbx.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_number.o -MD -MP -MF ".deps/gbx-gbx_number.Tpo" -c -o gbx-gbx_number.o `test -f 'gbx_number.c' || echo './'`gbx_number.c; \ then mv -f ".deps/gbx-gbx_number.Tpo" ".deps/gbx-gbx_number.Po"; else rm -f ".deps/gbx-gbx_number.Tpo"; exit 1; fi gbx_number.c: In function ???NUMBER_from_string???: gbx_number.c:223: warning: ???dval??? may be used uninitialized in this function gbx_number.c:222: warning: ???val??? may be used uninitialized in this function if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_object.o -MD -MP -MF ".deps/gbx-gbx_object.Tpo" -c -o gbx-gbx_object.o `test -f 'gbx_object.c' || echo './'`gbx_object.c; \ then mv -f ".deps/gbx-gbx_object.Tpo" ".deps/gbx-gbx_object.Po"; else rm -f ".deps/gbx-gbx_object.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_string.o -MD -MP -MF ".deps/gbx-gbx_string.Tpo" -c -o gbx-gbx_string.o `test -f 'gbx_string.c' || echo './'`gbx_string.c; \ then mv -f ".deps/gbx-gbx_string.Tpo" ".deps/gbx-gbx_string.Po"; else rm -f ".deps/gbx-gbx_string.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_variant.o -MD -MP -MF ".deps/gbx-gbx_variant.Tpo" -c -o gbx-gbx_variant.o `test -f 'gbx_variant.c' || echo './'`gbx_variant.c; \ then mv -f ".deps/gbx-gbx_variant.Tpo" ".deps/gbx-gbx_variant.Po"; else rm -f ".deps/gbx-gbx_variant.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_date.o -MD -MP -MF ".deps/gbx-gbx_date.Tpo" -c -o gbx-gbx_date.o `test -f 'gbx_date.c' || echo './'`gbx_date.c; \ then mv -f ".deps/gbx-gbx_date.Tpo" ".deps/gbx-gbx_date.Po"; else rm -f ".deps/gbx-gbx_date.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_array.o -MD -MP -MF ".deps/gbx-gbx_array.Tpo" -c -o gbx-gbx_array.o `test -f 'gbx_array.c' || echo './'`gbx_array.c; \ then mv -f ".deps/gbx-gbx_array.Tpo" ".deps/gbx-gbx_array.Po"; else rm -f ".deps/gbx-gbx_array.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_class.o -MD -MP -MF ".deps/gbx-gbx_c_class.Tpo" -c -o gbx-gbx_c_class.o `test -f 'gbx_c_class.c' || echo './'`gbx_c_class.c; \ then mv -f ".deps/gbx-gbx_c_class.Tpo" ".deps/gbx-gbx_c_class.Po"; else rm -f ".deps/gbx-gbx_c_class.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_collection.o -MD -MP -MF ".deps/gbx-gbx_c_collection.Tpo" -c -o gbx-gbx_c_collection.o `test -f 'gbx_c_collection.c' || echo './'`gbx_c_collection.c; \ then mv -f ".deps/gbx-gbx_c_collection.Tpo" ".deps/gbx-gbx_c_collection.Po"; else rm -f ".deps/gbx-gbx_c_collection.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_error.o -MD -MP -MF ".deps/gbx-gbx_c_error.Tpo" -c -o gbx-gbx_c_error.o `test -f 'gbx_c_error.c' || echo './'`gbx_c_error.c; \ then mv -f ".deps/gbx-gbx_c_error.Tpo" ".deps/gbx-gbx_c_error.Po"; else rm -f ".deps/gbx-gbx_c_error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_gambas.o -MD -MP -MF ".deps/gbx-gbx_c_gambas.Tpo" -c -o gbx-gbx_c_gambas.o `test -f 'gbx_c_gambas.c' || echo './'`gbx_c_gambas.c; \ then mv -f ".deps/gbx-gbx_c_gambas.Tpo" ".deps/gbx-gbx_c_gambas.Po"; else rm -f ".deps/gbx-gbx_c_gambas.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_file.o -MD -MP -MF ".deps/gbx-gbx_c_file.Tpo" -c -o gbx-gbx_c_file.o `test -f 'gbx_c_file.c' || echo './'`gbx_c_file.c; \ then mv -f ".deps/gbx-gbx_c_file.Tpo" ".deps/gbx-gbx_c_file.Po"; else rm -f ".deps/gbx-gbx_c_file.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_application.o -MD -MP -MF ".deps/gbx-gbx_c_application.Tpo" -c -o gbx-gbx_c_application.o `test -f 'gbx_c_application.c' || echo './'`gbx_c_application.c; \ then mv -f ".deps/gbx-gbx_c_application.Tpo" ".deps/gbx-gbx_c_application.Po"; else rm -f ".deps/gbx-gbx_c_application.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_array.o -MD -MP -MF ".deps/gbx-gbx_c_array.Tpo" -c -o gbx-gbx_c_array.o `test -f 'gbx_c_array.c' || echo './'`gbx_c_array.c; \ then mv -f ".deps/gbx-gbx_c_array.Tpo" ".deps/gbx-gbx_c_array.Po"; else rm -f ".deps/gbx-gbx_c_array.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_process.o -MD -MP -MF ".deps/gbx-gbx_c_process.Tpo" -c -o gbx-gbx_c_process.o `test -f 'gbx_c_process.c' || echo './'`gbx_c_process.c; \ then mv -f ".deps/gbx-gbx_c_process.Tpo" ".deps/gbx-gbx_c_process.Po"; else rm -f ".deps/gbx-gbx_c_process.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_subcollection.o -MD -MP -MF ".deps/gbx-gbx_c_subcollection.Tpo" -c -o gbx-gbx_c_subcollection.o `test -f 'gbx_c_subcollection.c' || echo './'`gbx_c_subcollection.c; \ then mv -f ".deps/gbx-gbx_c_subcollection.Tpo" ".deps/gbx-gbx_c_subcollection.Po"; else rm -f ".deps/gbx-gbx_c_subcollection.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_string.o -MD -MP -MF ".deps/gbx-gbx_c_string.Tpo" -c -o gbx-gbx_c_string.o `test -f 'gbx_c_string.c' || echo './'`gbx_c_string.c; \ then mv -f ".deps/gbx-gbx_c_string.Tpo" ".deps/gbx-gbx_c_string.Po"; else rm -f ".deps/gbx-gbx_c_string.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx-gbx_c_settings.o -MD -MP -MF ".deps/gbx-gbx_c_settings.Tpo" -c -o gbx-gbx_c_settings.o `test -f 'gbx_c_settings.c' || echo './'`gbx_c_settings.c; \ then mv -f ".deps/gbx-gbx_c_settings.Tpo" ".deps/gbx-gbx_c_settings.Po"; else rm -f ".deps/gbx-gbx_c_settings.Tpo"; exit 1; fi /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gbx gbx-gb_common.o gbx-gb_error.o gbx-gb_alloc.o gbx-gb_array.o gbx-gbx_stack.o gbx-gb_buffer.o gbx-gbx_replace.o gbx-gbx_list.o gbx-gbx_hash.o gbx-gb_table.o gbx-gbx_type.o gbx-gbx_value.o gbx-gbx_subst.o gbx-gbx_exec.o gbx-gbx_exec_push.o gbx-gbx_exec_enum.o gbx-gbx_exec_pop.o gbx-gbx_exec_loop.o gbx-gbx_pcode.o gbx-gbx_trace.o gbx-gbx_class_init.o gbx-gbx_class.o gbx-gbx_class_native.o gbx-gbx_class_load.o gbx-gbx_event.o gbx-gb_file.o gbx-gbx_stream.o gbx-gbx_stream_direct.o gbx-gbx_stream_buffer.o gbx-gbx_stream_memory.o gbx-gbx_stream_arch.o gbx-gbx_stream_process.o gbx-gbx_project.o gbx-gbx_library.o gbx-gbx_subr.o gbx-gbx_subr_file.o gbx-gbx_subr_string.o gbx-gbx_subr_conv.o gbx-gbx_subr_time.o gbx-gbx_subr_misc.o gbx-gbx_math.o gbx-gbx_subr_math.o gbx-gbx_subr_test.o gbx-gbx_api.o gbx-gbx_local.o gbx-gbx_regexp.o gbx-gbx_archive.o gbx-gbx_watch.o gbx-gbx_eval.o gbx-gbx_compare.o gbx-gbx.o gbx-gbx_number.o gbx-gbx_object.o gbx-gbx_string.o gbx-gbx_variant.o gbx-gbx_date.o gbx-gbx_array.o gbx-gbx_c_class.o gbx-gbx_c_collection.o gbx-gbx_c_error.o gbx-gbx_c_gambas.o gbx-gbx_c_file.o gbx-gbx_c_application.o gbx-gbx_c_array.o gbx-gbx_c_process.o gbx-gbx_c_subcollection.o gbx-gbx_c_string.o gbx-gbx_c_settings.o -lm ../../libltdl/libltdlc.la gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gbx gbx-gb_common.o gbx-gb_error.o gbx-gb_alloc.o gbx-gb_array.o gbx-gbx_stack.o gbx-gb_buffer.o gbx-gbx_replace.o gbx-gbx_list.o gbx-gbx_hash.o gbx-gb_table.o gbx-gbx_type.o gbx-gbx_value.o gbx-gbx_subst.o gbx-gbx_exec.o gbx-gbx_exec_push.o gbx-gbx_exec_enum.o gbx-gbx_exec_pop.o gbx-gbx_exec_loop.o gbx-gbx_pcode.o gbx-gbx_trace.o gbx-gbx_class_init.o gbx-gbx_class.o gbx-gbx_class_native.o gbx-gbx_class_load.o gbx-gbx_event.o gbx-gb_file.o gbx-gbx_stream.o gbx-gbx_stream_direct.o gbx-gbx_stream_buffer.o gbx-gbx_stream_memory.o gbx-gbx_stream_arch.o gbx-gbx_stream_process.o gbx-gbx_project.o gbx-gbx_library.o gbx-gbx_subr.o gbx-gbx_subr_file.o gbx-gbx_subr_string.o gbx-gbx_subr_conv.o gbx-gbx_subr_time.o gbx-gbx_subr_misc.o gbx-gbx_math.o gbx-gbx_subr_math.o gbx-gbx_subr_test.o gbx-gbx_api.o gbx-gbx_local.o gbx-gbx_regexp.o gbx-gbx_archive.o gbx-gbx_watch.o gbx-gbx_eval.o gbx-gbx_compare.o gbx-gbx.o gbx-gbx_number.o gbx-gbx_object.o gbx-gbx_string.o gbx-gbx_variant.o gbx-gbx_date.o gbx-gbx_array.o gbx-gbx_c_class.o gbx-gbx_c_collection.o gbx-gbx_c_error.o gbx-gbx_c_gambas.o gbx-gbx_c_file.o gbx-gbx_c_application.o gbx-gbx_c_array.o gbx-gbx_c_process.o gbx-gbx_c_subcollection.o gbx-gbx_c_string.o gbx-gbx_c_settings.o -lm ../../libltdl/.libs/libltdlc.a -ldl make[3]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/exec' Making all in lib make[3]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib' Making all in debug make[4]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/debug' if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CDebug.lo -MD -MP -MF ".deps/CDebug.Tpo" -c -o CDebug.lo CDebug.c; \ then mv -f ".deps/CDebug.Tpo" ".deps/CDebug.Plo"; else rm -f ".deps/CDebug.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CDebug.lo -MD -MP -MF .deps/CDebug.Tpo -c CDebug.c -fPIC -DPIC -o .libs/CDebug.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o /bin/sh ../../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.debug.la -rpath /opt/gambas/lib/gambas -no-undefined CDebug.lo main.lo gcc -shared .libs/CDebug.o .libs/main.o -Wl,-soname -Wl,lib.gb.debug.so.0 -o .libs/lib.gb.debug.so.0.0.0 (cd .libs && rm -f lib.gb.debug.so.0 && ln -s lib.gb.debug.so.0.0.0 lib.gb.debug.so.0) (cd .libs && rm -f lib.gb.debug.so && ln -s lib.gb.debug.so.0.0.0 lib.gb.debug.so) creating lib.gb.debug.la (cd .libs && rm -f lib.gb.debug.la && ln -s ../lib.gb.debug.la lib.gb.debug.la) make[4]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/debug' Making all in eval make[4]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/eval' if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_error.lo -MD -MP -MF ".deps/gb_error.Tpo" -c -o gb_error.lo gb_error.c; \ then mv -f ".deps/gb_error.Tpo" ".deps/gb_error.Plo"; else rm -f ".deps/gb_error.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_error.lo -MD -MP -MF .deps/gb_error.Tpo -c gb_error.c -fPIC -DPIC -o .libs/gb_error.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_array.lo -MD -MP -MF ".deps/gb_array.Tpo" -c -o gb_array.lo gb_array.c; \ then mv -f ".deps/gb_array.Tpo" ".deps/gb_array.Plo"; else rm -f ".deps/gb_array.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_array.lo -MD -MP -MF .deps/gb_array.Tpo -c gb_array.c -fPIC -DPIC -o .libs/gb_array.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_table.lo -MD -MP -MF ".deps/gb_table.Tpo" -c -o gb_table.lo gb_table.c; \ then mv -f ".deps/gb_table.Tpo" ".deps/gb_table.Plo"; else rm -f ".deps/gb_table.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_table.lo -MD -MP -MF .deps/gb_table.Tpo -c gb_table.c -fPIC -DPIC -o .libs/gb_table.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_code.lo -MD -MP -MF ".deps/eval_code.Tpo" -c -o eval_code.lo eval_code.c; \ then mv -f ".deps/eval_code.Tpo" ".deps/eval_code.Plo"; else rm -f ".deps/eval_code.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_code.lo -MD -MP -MF .deps/eval_code.Tpo -c eval_code.c -fPIC -DPIC -o .libs/eval_code.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_read.lo -MD -MP -MF ".deps/eval_read.Tpo" -c -o eval_read.lo eval_read.c; \ then mv -f ".deps/eval_read.Tpo" ".deps/eval_read.Plo"; else rm -f ".deps/eval_read.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_read.lo -MD -MP -MF .deps/eval_read.Tpo -c eval_read.c -fPIC -DPIC -o .libs/eval_read.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_reserved.lo -MD -MP -MF ".deps/eval_reserved.Tpo" -c -o eval_reserved.lo eval_reserved.c; \ then mv -f ".deps/eval_reserved.Tpo" ".deps/eval_reserved.Plo"; else rm -f ".deps/eval_reserved.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_reserved.lo -MD -MP -MF .deps/eval_reserved.Tpo -c eval_reserved.c -fPIC -DPIC -o .libs/eval_reserved.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_trans.lo -MD -MP -MF ".deps/eval_trans.Tpo" -c -o eval_trans.lo eval_trans.c; \ then mv -f ".deps/eval_trans.Tpo" ".deps/eval_trans.Plo"; else rm -f ".deps/eval_trans.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_trans.lo -MD -MP -MF .deps/eval_trans.Tpo -c eval_trans.c -fPIC -DPIC -o .libs/eval_trans.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_trans_expr.lo -MD -MP -MF ".deps/eval_trans_expr.Tpo" -c -o eval_trans_expr.lo eval_trans_expr.c; \ then mv -f ".deps/eval_trans_expr.Tpo" ".deps/eval_trans_expr.Plo"; else rm -f ".deps/eval_trans_expr.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_trans_expr.lo -MD -MP -MF .deps/eval_trans_expr.Tpo -c eval_trans_expr.c -fPIC -DPIC -o .libs/eval_trans_expr.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_trans_tree.lo -MD -MP -MF ".deps/eval_trans_tree.Tpo" -c -o eval_trans_tree.lo eval_trans_tree.c; \ then mv -f ".deps/eval_trans_tree.Tpo" ".deps/eval_trans_tree.Plo"; else rm -f ".deps/eval_trans_tree.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval_trans_tree.lo -MD -MP -MF .deps/eval_trans_tree.Tpo -c eval_trans_tree.c -fPIC -DPIC -o .libs/eval_trans_tree.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval.lo -MD -MP -MF ".deps/eval.Tpo" -c -o eval.lo eval.c; \ then mv -f ".deps/eval.Tpo" ".deps/eval.Plo"; else rm -f ".deps/eval.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT eval.lo -MD -MP -MF .deps/eval.Tpo -c eval.c -fPIC -DPIC -o .libs/eval.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CExpression.lo -MD -MP -MF ".deps/CExpression.Tpo" -c -o CExpression.lo CExpression.c; \ then mv -f ".deps/CExpression.Tpo" ".deps/CExpression.Plo"; else rm -f ".deps/CExpression.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CExpression.lo -MD -MP -MF .deps/CExpression.Tpo -c CExpression.c -fPIC -DPIC -o .libs/CExpression.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -I../../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o /bin/sh ../../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.eval.la -rpath /opt/gambas/lib/gambas -no-undefined gb_error.lo gb_array.lo gb_table.lo eval_code.lo eval_read.lo eval_reserved.lo eval_trans.lo eval_trans_expr.lo eval_trans_tree.lo eval.lo CExpression.lo main.lo gcc -shared .libs/gb_error.o .libs/gb_array.o .libs/gb_table.o .libs/eval_code.o .libs/eval_read.o .libs/eval_reserved.o .libs/eval_trans.o .libs/eval_trans_expr.o .libs/eval_trans_tree.o .libs/eval.o .libs/CExpression.o .libs/main.o -Wl,-soname -Wl,lib.gb.eval.so.0 -o .libs/lib.gb.eval.so.0.0.0 (cd .libs && rm -f lib.gb.eval.so.0 && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so.0) (cd .libs && rm -f lib.gb.eval.so && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so) creating lib.gb.eval.la (cd .libs && rm -f lib.gb.eval.la && ln -s ../lib.gb.eval.la lib.gb.eval.la) make[4]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/eval' Making all in db make[4]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/db' make[5]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/db' if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CConnection.lo -MD -MP -MF ".deps/CConnection.Tpo" -c -o CConnection.lo CConnection.c; \ then mv -f ".deps/CConnection.Tpo" ".deps/CConnection.Plo"; else rm -f ".deps/CConnection.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CConnection.lo -MD -MP -MF .deps/CConnection.Tpo -c CConnection.c -fPIC -DPIC -o .libs/CConnection.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CDatabase.lo -MD -MP -MF ".deps/CDatabase.Tpo" -c -o CDatabase.lo CDatabase.c; \ then mv -f ".deps/CDatabase.Tpo" ".deps/CDatabase.Plo"; else rm -f ".deps/CDatabase.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CDatabase.lo -MD -MP -MF .deps/CDatabase.Tpo -c CDatabase.c -fPIC -DPIC -o .libs/CDatabase.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CUser.lo -MD -MP -MF ".deps/CUser.Tpo" -c -o CUser.lo CUser.c; \ then mv -f ".deps/CUser.Tpo" ".deps/CUser.Plo"; else rm -f ".deps/CUser.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CUser.lo -MD -MP -MF .deps/CUser.Tpo -c CUser.c -fPIC -DPIC -o .libs/CUser.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CTable.lo -MD -MP -MF ".deps/CTable.Tpo" -c -o CTable.lo CTable.c; \ then mv -f ".deps/CTable.Tpo" ".deps/CTable.Plo"; else rm -f ".deps/CTable.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CTable.lo -MD -MP -MF .deps/CTable.Tpo -c CTable.c -fPIC -DPIC -o .libs/CTable.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CField.lo -MD -MP -MF ".deps/CField.Tpo" -c -o CField.lo CField.c; \ then mv -f ".deps/CField.Tpo" ".deps/CField.Plo"; else rm -f ".deps/CField.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CField.lo -MD -MP -MF .deps/CField.Tpo -c CField.c -fPIC -DPIC -o .libs/CField.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CIndex.lo -MD -MP -MF ".deps/CIndex.Tpo" -c -o CIndex.lo CIndex.c; \ then mv -f ".deps/CIndex.Tpo" ".deps/CIndex.Plo"; else rm -f ".deps/CIndex.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CIndex.lo -MD -MP -MF .deps/CIndex.Tpo -c CIndex.c -fPIC -DPIC -o .libs/CIndex.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CResult.lo -MD -MP -MF ".deps/CResult.Tpo" -c -o CResult.lo CResult.c; \ then mv -f ".deps/CResult.Tpo" ".deps/CResult.Plo"; else rm -f ".deps/CResult.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CResult.lo -MD -MP -MF .deps/CResult.Tpo -c CResult.c -fPIC -DPIC -o .libs/CResult.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CResultField.lo -MD -MP -MF ".deps/CResultField.Tpo" -c -o CResultField.lo CResultField.c; \ then mv -f ".deps/CResultField.Tpo" ".deps/CResultField.Plo"; else rm -f ".deps/CResultField.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CResultField.lo -MD -MP -MF .deps/CResultField.Tpo -c CResultField.c -fPIC -DPIC -o .libs/CResultField.o /bin/sh ../../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.db.la -rpath /opt/gambas/lib/gambas -no-undefined main.lo CConnection.lo CDatabase.lo CUser.lo CTable.lo CField.lo CIndex.lo CResult.lo CResultField.lo -lc gcc -shared .libs/main.o .libs/CConnection.o .libs/CDatabase.o .libs/CUser.o .libs/CTable.o .libs/CField.o .libs/CIndex.o .libs/CResult.o .libs/CResultField.o -lc -Wl,-soname -Wl,lib.gb.db.so.0 -o .libs/lib.gb.db.so.0.0.0 (cd .libs && rm -f lib.gb.db.so.0 && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so.0) (cd .libs && rm -f lib.gb.db.so && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so) creating lib.gb.db.la (cd .libs && rm -f lib.gb.db.la && ln -s ../lib.gb.db.la lib.gb.db.la) make[5]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/db' make[4]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/db' Making all in compress make[4]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/compress' Making all in zlib make[5]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/compress/zlib' if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o main.c: In function 'c_String': main.c:134: warning: pointer targets in passing argument 3 of 'compress2' differ in signedness main.c: In function 'u_String': main.c:173: warning: pointer targets in passing argument 3 of 'uncompress' differ in signedness /bin/sh ../../../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.compress.zlib.la -rpath /opt/gambas/lib/gambas main.lo -lc -lz gcc -shared .libs/main.o -lc -lz -Wl,-soname -Wl,lib.gb.compress.zlib.so.0 -o .libs/lib.gb.compress.zlib.so.0.0.0 (cd .libs && rm -f lib.gb.compress.zlib.so.0 && ln -s lib.gb.compress.zlib.so.0.0.0 lib.gb.compress.zlib.so.0) (cd .libs && rm -f lib.gb.compress.zlib.so && ln -s lib.gb.compress.zlib.so.0.0.0 lib.gb.compress.zlib.so) creating lib.gb.compress.zlib.la (cd .libs && rm -f lib.gb.compress.zlib.la && ln -s ../lib.gb.compress.zlib.la lib.gb.compress.zlib.la) make[5]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/compress/zlib' Making all in bzlib2 make[5]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/compress/bzlib2' if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o /bin/sh ../../../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.compress.bzlib2.la -rpath /opt/gambas/lib/gambas main.lo -lc -lbz2 gcc -shared .libs/main.o -lc -lbz2 -Wl,-soname -Wl,lib.gb.compress.bzlib2.so.0 -o .libs/lib.gb.compress.bzlib2.so.0.0.0 (cd .libs && rm -f lib.gb.compress.bzlib2.so.0 && ln -s lib.gb.compress.bzlib2.so.0.0.0 lib.gb.compress.bzlib2.so.0) (cd .libs && rm -f lib.gb.compress.bzlib2.so && ln -s lib.gb.compress.bzlib2.so.0.0.0 lib.gb.compress.bzlib2.so) creating lib.gb.compress.bzlib2.la (cd .libs && rm -f lib.gb.compress.bzlib2.la && ln -s ../lib.gb.compress.bzlib2.la lib.gb.compress.bzlib2.la) make[5]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/compress/bzlib2' make[5]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/compress' if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CCompress.lo -MD -MP -MF ".deps/CCompress.Tpo" -c -o CCompress.lo CCompress.c; \ then mv -f ".deps/CCompress.Tpo" ".deps/CCompress.Plo"; else rm -f ".deps/CCompress.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CCompress.lo -MD -MP -MF .deps/CCompress.Tpo -c CCompress.c -fPIC -DPIC -o .libs/CCompress.o if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CUncompress.lo -MD -MP -MF ".deps/CUncompress.Tpo" -c -o CUncompress.lo CUncompress.c; \ then mv -f ".deps/CUncompress.Tpo" ".deps/CUncompress.Plo"; else rm -f ".deps/CUncompress.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CUncompress.lo -MD -MP -MF .deps/CUncompress.Tpo -c CUncompress.c -fPIC -DPIC -o .libs/CUncompress.o CUncompress.c: In function 'CUNCOPMPRESS_String': CUncompress.c:86: warning: pointer targets in passing argument 2 of '(_object)->driver->Uncompress.String' differ in signedness /bin/sh ../../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.compress.la -rpath /opt/gambas/lib/gambas -no-undefined main.lo CCompress.lo CUncompress.lo gcc -shared .libs/main.o .libs/CCompress.o .libs/CUncompress.o -Wl,-soname -Wl,lib.gb.compress.so.0 -o .libs/lib.gb.compress.so.0.0.0 (cd .libs && rm -f lib.gb.compress.so.0 && ln -s lib.gb.compress.so.0.0.0 lib.gb.compress.so.0) (cd .libs && rm -f lib.gb.compress.so && ln -s lib.gb.compress.so.0.0.0 lib.gb.compress.so) creating lib.gb.compress.la (cd .libs && rm -f lib.gb.compress.la && ln -s ../lib.gb.compress.la lib.gb.compress.la) make[5]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/compress' make[4]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/compress' Making all in xml make[4]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml' Making all in libxml make[5]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml/libxml' Making all in xslt make[6]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml/libxml/xslt' if /bin/sh ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o if /bin/sh ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXSLT.lo -MD -MP -MF ".deps/CXSLT.Tpo" -c -o CXSLT.lo CXSLT.c; \ then mv -f ".deps/CXSLT.Tpo" ".deps/CXSLT.Plo"; else rm -f ".deps/CXSLT.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXSLT.lo -MD -MP -MF .deps/CXSLT.Tpo -c CXSLT.c -fPIC -DPIC -o .libs/CXSLT.o /bin/sh ../../../../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.xml.libxml.xslt.la -rpath /opt/gambas/lib/gambas -no-undefined main.lo CXSLT.lo -lc -lpthread -lxml2 -lm -lc -lpthread -lxml2 -lm -lxslt gcc -shared .libs/main.o .libs/CXSLT.o -lc -lpthread /usr/lib/libxml2.so -lm /usr/lib/libxslt.so -L/usr/lib -Wl,-soname -Wl,lib.gb.xml.libxml.xslt.so.0 -o .libs/lib.gb.xml.libxml.xslt.so.0.0.0 (cd .libs && rm -f lib.gb.xml.libxml.xslt.so.0 && ln -s lib.gb.xml.libxml.xslt.so.0.0.0 lib.gb.xml.libxml.xslt.so.0) (cd .libs && rm -f lib.gb.xml.libxml.xslt.so && ln -s lib.gb.xml.libxml.xslt.so.0.0.0 lib.gb.xml.libxml.xslt.so) creating lib.gb.xml.libxml.xslt.la (cd .libs && rm -f lib.gb.xml.libxml.xslt.la && ln -s ../lib.gb.xml.libxml.xslt.la lib.gb.xml.libxml.xslt.la) make[6]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml/libxml/xslt' Making all in rpc make[6]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml/libxml/rpc' if /bin/sh ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o if /bin/sh ../../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXmlRpc.lo -MD -MP -MF ".deps/CXmlRpc.Tpo" -c -o CXmlRpc.lo CXmlRpc.c; \ then mv -f ".deps/CXmlRpc.Tpo" ".deps/CXmlRpc.Plo"; else rm -f ".deps/CXmlRpc.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXmlRpc.lo -MD -MP -MF .deps/CXmlRpc.Tpo -c CXmlRpc.c -fPIC -DPIC -o .libs/CXmlRpc.o CXmlRpc.c: In function 'CXMLRPC_Call': CXmlRpc.c:158: warning: pointer targets in passing argument 2 of 'xmlTextWriterStartElement' differ in signedness CXmlRpc.c:159: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:159: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:161: warning: pointer targets in passing argument 2 of 'xmlTextWriterStartElement' differ in signedness CXmlRpc.c:166: warning: pointer targets in passing argument 2 of 'xmlTextWriterStartElement' differ in signedness CXmlRpc.c:167: warning: pointer targets in passing argument 2 of 'xmlTextWriterStartElement' differ in signedness CXmlRpc.c:173: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:173: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:175: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:175: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:181: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:181: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:187: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:187: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:192: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:192: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteElement' differ in signedness CXmlRpc.c:211: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness CXmlRpc.c:113: warning: unused variable 'cname' /bin/sh ../../../../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.xml.libxml.rpc.la -rpath /opt/gambas/lib/gambas -no-undefined main.lo CXmlRpc.lo -lc -lpthread -lxml2 -lm gcc -shared .libs/main.o .libs/CXmlRpc.o -lc -lpthread /usr/lib/libxml2.so -lm -Wl,-soname -Wl,lib.gb.xml.libxml.rpc.so.0 -o .libs/lib.gb.xml.libxml.rpc.so.0.0.0 (cd .libs && rm -f lib.gb.xml.libxml.rpc.so.0 && ln -s lib.gb.xml.libxml.rpc.so.0.0.0 lib.gb.xml.libxml.rpc.so.0) (cd .libs && rm -f lib.gb.xml.libxml.rpc.so && ln -s lib.gb.xml.libxml.rpc.so.0.0.0 lib.gb.xml.libxml.rpc.so) creating lib.gb.xml.libxml.rpc.la (cd .libs && rm -f lib.gb.xml.libxml.rpc.la && ln -s ../lib.gb.xml.libxml.rpc.la lib.gb.xml.libxml.rpc.la) make[6]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml/libxml/rpc' make[6]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml/libxml' if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXMLNode.lo -MD -MP -MF ".deps/CXMLNode.Tpo" -c -o CXMLNode.lo CXMLNode.c; \ then mv -f ".deps/CXMLNode.Tpo" ".deps/CXMLNode.Plo"; else rm -f ".deps/CXMLNode.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXMLNode.lo -MD -MP -MF .deps/CXMLNode.Tpo -c CXMLNode.c -fPIC -DPIC -o .libs/CXMLNode.o CXMLNode.c: In function 'CXMLNode_Name': CXMLNode.c:96: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness CXMLNode.c:100: warning: pointer targets in passing argument 2 of 'xmlNodeSetName' differ in signedness CXMLNode.c: In function 'CXMLNode_Value': CXMLNode.c:108: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness CXMLNode.c: In function 'CXmlNode_a_count': CXMLNode.c:249: warning: assignment from incompatible pointer type CXMLNode.c: In function 'CXmlNode_c_get': CXMLNode.c:172: warning: 'ch' is used uninitialized in this function if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXMLReader.lo -MD -MP -MF ".deps/CXMLReader.Tpo" -c -o CXMLReader.lo CXMLReader.c; \ then mv -f ".deps/CXMLReader.Tpo" ".deps/CXMLReader.Plo"; else rm -f ".deps/CXMLReader.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXMLReader.lo -MD -MP -MF .deps/CXMLReader.Tpo -c CXMLReader.c -fPIC -DPIC -o .libs/CXMLReader.o CXMLReader.c: In function 'CRNODE_BaseUri': CXMLReader.c:349: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness CXMLReader.c: In function 'CRNODE_LocalName': CXMLReader.c:377: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness CXMLReader.c: In function 'CRNODE_Name': CXMLReader.c:384: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness CXMLReader.c: In function 'CRNODE_NamespaceUri': CXMLReader.c:391: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness CXMLReader.c: In function 'CRNODE_Prefix': CXMLReader.c:398: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness CXMLReader.c: In function 'CRNODE_Value': CXMLReader.c:420: warning: pointer targets in assignment differ in signedness CXMLReader.c: In function 'CRNODE_XmlLang': CXMLReader.c:436: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXMLWriter.lo -MD -MP -MF ".deps/CXMLWriter.Tpo" -c -o CXMLWriter.lo CXMLWriter.c; \ then mv -f ".deps/CXMLWriter.Tpo" ".deps/CXMLWriter.Plo"; else rm -f ".deps/CXMLWriter.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXMLWriter.lo -MD -MP -MF .deps/CXMLWriter.Tpo -c CXMLWriter.c -fPIC -DPIC -o .libs/CXMLWriter.o CXMLWriter.c: In function 'CXmlWriter_StartElement': CXMLWriter.c:139: warning: pointer targets in passing argument 2 of 'xmlTextWriterStartElementNS' differ in signedness CXMLWriter.c:139: warning: pointer targets in passing argument 3 of 'xmlTextWriterStartElementNS' differ in signedness CXMLWriter.c:139: warning: pointer targets in passing argument 4 of 'xmlTextWriterStartElementNS' differ in signedness CXMLWriter.c:141: warning: pointer targets in passing argument 2 of 'xmlTextWriterStartElement' differ in signedness CXMLWriter.c:159: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteAttribute' differ in signedness CXMLWriter.c:159: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteAttribute' differ in signedness CXMLWriter.c: In function 'CXmlWriter_Element': CXMLWriter.c:187: warning: pointer targets in assignment differ in signedness CXMLWriter.c:190: warning: pointer targets in assignment differ in signedness CXMLWriter.c:193: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteElementNS' differ in signedness CXMLWriter.c:193: warning: pointer targets in passing argument 4 of 'xmlTextWriterWriteElementNS' differ in signedness CXMLWriter.c:200: warning: pointer targets in passing argument 2 of 'xmlTextWriterStartElementNS' differ in signedness CXMLWriter.c:200: warning: pointer targets in passing argument 4 of 'xmlTextWriterStartElementNS' differ in signedness CXMLWriter.c: In function 'CXmlWriter_Text': CXMLWriter.c:216: warning: pointer targets in assignment differ in signedness CXMLWriter.c: In function 'CXmlWriter_CDATA': CXMLWriter.c:238: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteCDATA' differ in signedness CXMLWriter.c: In function 'CXmlWriter_Attribute': CXMLWriter.c:259: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteAttributeNS' differ in signedness CXMLWriter.c:259: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteAttributeNS' differ in signedness CXMLWriter.c:259: warning: pointer targets in passing argument 4 of 'xmlTextWriterWriteAttributeNS' differ in signedness CXMLWriter.c:259: warning: pointer targets in passing argument 5 of 'xmlTextWriterWriteAttributeNS' differ in signedness CXMLWriter.c:261: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteAttribute' differ in signedness CXMLWriter.c:261: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteAttribute' differ in signedness CXMLWriter.c: In function 'CXmlWriter_WritePI': CXMLWriter.c:275: warning: pointer targets in passing argument 2 of 'xmlTextWriterWritePI' differ in signedness CXMLWriter.c:275: warning: pointer targets in passing argument 3 of 'xmlTextWriterWritePI' differ in signedness CXMLWriter.c: In function 'CXmlWriter_Comment': CXMLWriter.c:286: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteComment' differ in signedness CXMLWriter.c: In function 'CXmlWriter_EndDocument': CXMLWriter.c:302: warning: pointer targets in passing argument 1 of 'GB.ReturnNewString' differ in signedness CXMLWriter.c: In function 'CXmlWriter_StartDTD': CXMLWriter.c:325: warning: pointer targets in passing argument 2 of 'xmlTextWriterStartDTD' differ in signedness CXMLWriter.c:325: warning: pointer targets in passing argument 3 of 'xmlTextWriterStartDTD' differ in signedness CXMLWriter.c:325: warning: pointer targets in passing argument 4 of 'xmlTextWriterStartDTD' differ in signedness CXMLWriter.c: In function 'CXmlWriter_DTDElement': CXMLWriter.c:348: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteDTDElement' differ in signedness CXMLWriter.c:348: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteDTDElement' differ in signedness CXMLWriter.c:352: warning: pointer targets in passing argument 2 of 'xmlTextWriterStartDTDElement' differ in signedness CXMLWriter.c: In function 'CXmlWriter_DTDInternalEntity': CXMLWriter.c:371: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteDTDInternalEntity' differ in signedness CXMLWriter.c:371: warning: pointer targets in passing argument 4 of 'xmlTextWriterWriteDTDInternalEntity' differ in signedness CXMLWriter.c: In function 'CXmlWriter_DTDAttList': CXMLWriter.c:386: warning: pointer targets in passing argument 2 of 'xmlTextWriterWriteDTDAttlist' differ in signedness CXMLWriter.c:386: warning: pointer targets in passing argument 3 of 'xmlTextWriterWriteDTDAttlist' differ in signedness if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXMLDocument.lo -MD -MP -MF ".deps/CXMLDocument.Tpo" -c -o CXMLDocument.lo CXMLDocument.c; \ then mv -f ".deps/CXMLDocument.Tpo" ".deps/CXMLDocument.Plo"; else rm -f ".deps/CXMLDocument.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/libxml2/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CXMLDocument.lo -MD -MP -MF .deps/CXMLDocument.Tpo -c CXMLDocument.c -fPIC -DPIC -o .libs/CXMLDocument.o CXMLDocument.c: In function 'Doc_AddChild': CXMLDocument.c:74: warning: assignment from incompatible pointer type CXMLDocument.c: In function 'CXMLDocument_FromString': CXMLDocument.c:132: warning: pointer targets in passing argument 1 of 'xmlParseDoc' differ in signedness CXMLDocument.c: In function 'CXMLDocument_HtmlFromString': CXMLDocument.c:151: warning: pointer targets in passing argument 1 of 'htmlParseDoc' differ in signedness CXMLDocument.c: In function 'CXMLDocument_ToString': CXMLDocument.c:185: warning: unused variable '_p' /bin/sh ../../../../libtool --tag=CC --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.xml.libxml.la -rpath /opt/gambas/lib/gambas -no-undefined main.lo CXMLNode.lo CXMLReader.lo CXMLWriter.lo CXMLDocument.lo -lc -lpthread -lxml2 -lm gcc -shared .libs/main.o .libs/CXMLNode.o .libs/CXMLReader.o .libs/CXMLWriter.o .libs/CXMLDocument.o -lc -lpthread /usr/lib/libxml2.so -lm -Wl,-soname -Wl,lib.gb.xml.libxml.so.0 -o .libs/lib.gb.xml.libxml.so.0.0.0 (cd .libs && rm -f lib.gb.xml.libxml.so.0 && ln -s lib.gb.xml.libxml.so.0.0.0 lib.gb.xml.libxml.so.0) (cd .libs && rm -f lib.gb.xml.libxml.so && ln -s lib.gb.xml.libxml.so.0.0.0 lib.gb.xml.libxml.so) creating lib.gb.xml.libxml.la (cd .libs && rm -f lib.gb.xml.libxml.la && ln -s ../lib.gb.xml.libxml.la lib.gb.xml.libxml.la) make[6]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml/libxml' make[5]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml/libxml' make[5]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml' make[5]: F??r das Ziel ??all-am?? ist nichts zu tun. make[5]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml' make[4]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/xml' Making all in qt make[4]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/qt' Making all in editor make[5]: Entering directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/qt/editor' /usr/bin//moc qeditor.h -o moc_qeditor.cpp if /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/lib/qt3/include/ -D_REENTRANT -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT moc_qeditor.lo -MD -MP -MF ".deps/moc_qeditor.Tpo" -c -o moc_qeditor.lo moc_qeditor.cpp; \ then mv -f ".deps/moc_qeditor.Tpo" ".deps/moc_qeditor.Plo"; else rm -f ".deps/moc_qeditor.Tpo"; exit 1; fi mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/lib/qt3/include/ -D_REENTRANT -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT moc_qeditor.lo -MD -MP -MF .deps/moc_qeditor.Tpo -c moc_qeditor.cpp -fPIC -DPIC -o .libs/moc_qeditor.o moc_qeditor.cpp:12:2: error: #error "The header file 'qeditor.h' doesn't include ." moc_qeditor.cpp:76: error: 'const QMetaObject QEditor::staticMetaObject' is not a static member of 'class QEditor' moc_qeditor.cpp:76: error: variable 'const QMetaObject QEditor::staticMetaObject' has initializer but incomplete type moc_qeditor.cpp:81: error: prototype for 'const QMetaObject* QEditor::metaObject() const' does not match any in class 'QEditor' qeditor.h:119: error: candidate is: virtual QMetaObject* QEditor::metaObject() const moc_qeditor.cpp:81: error: 'const QMetaObject* QEditor::metaObject() const' cannot be overloaded qeditor.h:119: error: with 'virtual QMetaObject* QEditor::metaObject() const' moc_qeditor.cpp: In member function 'const QMetaObject* QEditor::metaObject() const': moc_qeditor.cpp:83: error: cannot convert 'QMetaObject* (*)()' to 'const QMetaObject*' in return moc_qeditor.cpp: At global scope: moc_qeditor.cpp:86: error: no 'void* QEditor::qt_metacast(const char*)' member function declared in class 'QEditor' moc_qeditor.cpp: In member function 'void* QEditor::qt_metacast(const char*)': moc_qeditor.cpp:91: error: 'qt_metacast' is not a member of 'QGridView' moc_qeditor.cpp: At global scope: moc_qeditor.cpp:94: error: 'int QEditor::qt_metacall' is not a static member of 'class QEditor' moc_qeditor.cpp:94: error: incomplete type 'QMetaObject' used in nested name specifier moc_qeditor.cpp:94: error: expected primary-expression before 'int' moc_qeditor.cpp:94: error: expected primary-expression before 'void' moc_qeditor.cpp:94: error: initializer expression list treated as compound expression moc_qeditor.cpp:95: error: expected ',' or ';' before '{' token moc_qeditor.cpp: In member function 'void QEditor::textChanged()': moc_qeditor.cpp:139: error: incomplete type 'QMetaObject' used in nested name specifier moc_qeditor.cpp: In member function 'void QEditor::returnPressed()': moc_qeditor.cpp:145: error: incomplete type 'QMetaObject' used in nested name specifier moc_qeditor.cpp: In member function 'void QEditor::undoAvailable(bool)': moc_qeditor.cpp:152: error: incomplete type 'QMetaObject' used in nested name specifier moc_qeditor.cpp: In member function 'void QEditor::redoAvailable(bool)': moc_qeditor.cpp:159: error: incomplete type 'QMetaObject' used in nested name specifier moc_qeditor.cpp: In member function 'void QEditor::copyAvailable(bool)': moc_qeditor.cpp:166: error: incomplete type 'QMetaObject' used in nested name specifier moc_qeditor.cpp: In member function 'void QEditor::cursorMoved()': moc_qeditor.cpp:172: error: incomplete type 'QMetaObject' used in nested name specifier moc_qeditor.cpp: In member function 'void QEditor::scrolled()': moc_qeditor.cpp:178: error: incomplete type 'QMetaObject' used in nested name specifier make[5]: *** [moc_qeditor.lo] Fehler 1 make[5]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/qt/editor' make[4]: *** [all-recursive] Fehler 1 make[4]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib/qt' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src/lib' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/tester/Downloads/Gambas/gambas-1.0.17' make: *** [all] Fehler 2 From eilert-sprachen at ...221... Mon May 14 16:12:34 2007 From: eilert-sprachen at ...221... (Sprachschule Eilert) Date: Mon, 14 May 2007 16:12:34 +0200 Subject: [Gambas-user] Compiling issues on Suse 10.2 In-Reply-To: <200705141331.51313.steven@...1652...> References: <46483837.2040403@...221...> <200705141331.51313.steven@...1652...> Message-ID: <46486E52.6050103@...394...> Steven Lobbezoo schrieb: > Hi, > > I've OpenSuse 10.2 > No problem att all compiling. You must be missing some libs. > If you send the output of make, i'll have a look. > > Steven > > > Le lundi 14 mai 2007 12:21, Rolf-Werner Eilert a ?crit : >> Hi folks, >> >> just finished installing a brand new Suse 10.2 and found it doesn't >> compile Gambas anymore, neither of the current versions. >> >> On my Suse 10.1 at home, there's no problem with any version. >> >> Does anyone here spontaneously know the reason, or do you need the >> compiling messages? (It's on another machine than this one, so I'd have >> to copy/paste from one to the other - no idea how to handle this, that's >> why I ask first :-) ) >> >> Thanks for all ideas >> >> Regards >> >> Rolf >> Please take a look at my answer to Vince Scott, maybe you can see anything. Thanks Rolf From eilert-sprachen at ...221... Mon May 14 16:16:32 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 14 May 2007 16:16:32 +0200 Subject: [Gambas-user] Compiling issues on Suse 10.2 In-Reply-To: References: Message-ID: <46486F40.3030404@...221...> Just another question Vince, Vince Scott schrieb: > Steven, > > What kind of message are you getting? I installed on SLED 10 and everything > compiled fine but the IDE wouldn't load because of a missing image file, but > all the executables ran fine. I had to modify a line code and recompiled to > get it to come IDE to come up. > > Vince > I've had this issue for quite some time with every new release of 1.9. and nobody could help me. Maybe this is the reason :-) Do you still know which image it was? Thank you Rolf From gareth at ...1689... Mon May 14 16:44:02 2007 From: gareth at ...1689... (Gareth Bult) Date: Mon, 14 May 2007 15:44:02 +0100 (BST) Subject: [Gambas-user] Re; Grid [New version available] In-Reply-To: <200705141518.47440.steven@...1652...> Message-ID: <8786225.25321179153842528.JavaMail.root@...1694...> Ok, It didn't .. ;-) If you download the latest version (0.1.63) you will have access to a method called "putData"; putData(row,col,Value) This will put something to the table buffer at the desired coordinates and move the cursor to this spot. (highlighted in red as a changed value) Also, in this version you can use SELECT statements to fill drop-down combo's for dynamic editor choices .. :) Gareth. ----- Original Message ----- From: "Steven Lobbezoo" To: "mailing list for gambas users" Sent: Monday, May 14, 2007 2:18:47 PM (GMT) Europe/London Subject: Re: [Gambas-user] Re; Grid Hi Gareth, I'm toying around a bit with your dbgrid. It looks just fine, but I have one major problem. I've tables with references to other tables. I want the user to see an other column in the refrenced table, but after he selects some value there (works ok) i want to do the update on the original table with the reference value. Can this be done with your grid? Steven Le vendredi 4 mai 2007 11:55, Gareth Bult a ?crit : > Ok, incorporated into the component - seems to work fine .. :) > New release at http://encryptec.net/software/gambas-grideditor > > I now have tiered chaining working based on "change" events .. > i.e. (n) tables linked in a master-slave hierarchy where the slave(s) > auto-update when someone changes rows on the master .. > (screen shot on the page) > > Gareth. > > On Fri, 2007-05-04 at 10:25 +0100, Gareth Bult wrote: > > Hi, > > > > Thanks for that .. one problem I have however .. when you click (or > > double click) on a header , it doesn't generate an Mouse event. > > ... it only generates an event if you're over the grid ... > > > > However, playing with mouse clicks has I think led to a solution. > > > > A double click on a header generates a DblClick. > > A double click on a cell generates both DblClick and MOUSE events (!) > > > > A single click on a cell generates a Mouse Down + Mouse UP. > > A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing > > the second "DOWN" becomes the DblClick) > > > > So, if I don't get associated mouse commands, it must be a double click > > on a header ... :-) > > > > Now to code it ... :) > > > > Gareth. > > > > On Fri, 2007-05-04 at 11:03 +0200, ron wrote: > > > On Friday 04 May 2007 10:11, Gareth Bult wrote: > > > > Yup, this is the issue I have .. it can be made to work "mostly" .. > > > > > > > > However, writing applications that work "mostly" doesn't really do it > > > > for me ... :( > > > > > > > > My solution for now is to use a keyboard event rather than a double > > > > click ... > > > > If anyone has a working calculation I'm all ears ... :) > > > > > > > > Gareth. > > > > > > This routine checks if the mouse x/y is above a cell and not in the > > > space below/right of it > > > > > > ' waiting for updated gambas, function is add on my request > > > PUBLIC FUNCTION hGrid at ...1692...(x AS Integer, Y AS Integer) AS Boolean > > > ' returns true if out range > > > DIM gx, gy AS Integer > > > DIM gc, gr AS Integer > > > gx = 0 > > > gy = 0 > > > gc = 0 > > > gr = 0 > > > WITH hGrid > > > gx = .Columns[0].Width > > > WHILE x > gx > > > INC gc > > > IF gc > (.Columns.Count - 1) THEN RETURN TRUE > > > gx += .Columns[gc].Width > > > WEND > > > gy = .rows[0].Height > > > WHILE y > gy > > > INC gr > > > IF gr > (.rows.Count - 1) THEN RETURN TRUE > > > gy += .rows[gr].Height > > > WEND > > > .Column = gc > > > .Row = gr > > > END WITH > > > END > > > > > > > > > As mentioned the GridVie.Find is implement and here as private > > > subroutine 'hGrid at ...1692...' hFrid is the handle for the GridView control. > > > > > > The calculation is here done. > > > In fact I set the .Row and .Column properties so after a call the > > > return boolean tells you if it is a valid hit or not. > > > When valid the GridView.Row and GridView.Column are set correct. > > > > > > ----------------- > > > > > > Here I did use the service > > > grdFields is the name of the GridView and the hGrid handle of it > > > GridCtrlHide routine did hide the overlay controls for editing. > > > GridCtrlShow routine shows the appropriate control for the .Row > > > > > > The Gridview is used with on the row the value/properties of a field in > > > database table. Every row has his own control as > > > textbox/listbox/combobox/checkbox Every column is the representation of > > > a field. > > > The result is transformed to a MySQL query > > > Code is never been clean up of remarks etc.(shame to me) > > > > > > > > > PUBLIC SUB grdFields_MouseDown() > > > 'PRINT "grdFields_MouseDown:"; grdFields.Row; "/"; grdFields.Column > > > 'PRINT mouse.X > > > > > > 'if ctrl then save value if editing > > > IF ctrTBX.Visible THEN ctrTBXSave > > > GridCtrlHide > > > > > > 'and go to new position > > > ' IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > ' GridCtrlShow(grdFields.Row, grdFields.Column) > > > END > > > > > > PUBLIC SUB grdFields_MouseMove() > > > IF mouse.Left THEN > > > 'PRINT "grdFields_MouseMove" > > > > > > 'check in gridcell > > > IF ME.grdFields at ...1692...(mouse.X, mouse.Y) THEN RETURN > > > ' IF ME.grdFields.Find(mouse.X, mouse.Y) THEN RETURN > > > grd.CtrlHide > > > Drag.Icon = picture["img/16/gambas.png"] > > > drag(grdFields, MIME_TYPE_GRID) > > > END IF > > > END > > > > > > PUBLIC SUB grdFields_MouseUp() > > > DIM vVal AS Variant > > > 'PRINT "grdFields_MouseUp"; grdFields.Row; "/"; grdFields.Column > > > > > > GridCtrlHide > > > > > > IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > > > IF grdFields.row = grd.GRDVIS THEN > > > ' row/column for write data in grid > > > grdFields.Tag = [grdFields.Row, grdFields.Column] > > > vVal = IIf(UCase(grdFields[grdFields.Row, grdFields.Column].Text) = > > > "YES", "No", "Yes") GridWrite(vVal) > > > ELSE > > > GridCtrlShow(grdFields.Row, grdFields.Column) > > > ENDIF > > > > > > END > > > > > > ----- > > > > > > Ron > > > > > > > > > ----------------------------------------------------------------------- > > >-- This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From steven at ...1652... Mon May 14 17:24:27 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 14 May 2007 17:24:27 +0200 Subject: [Gambas-user] Re; Grid [New version available] In-Reply-To: <8786225.25321179153842528.JavaMail.root@...1694...> References: <8786225.25321179153842528.JavaMail.root@...1694...> Message-ID: <200705141724.27779.steven@...1652...> Ok, thats nice, but ... Putting a select into a combo field is not that complicated. I build an array of values (strings) at form load and then do : IF hStr THEN grid.Show_Combo(hStr, FALSE) END IF in the MyGrid.Edit sub. No probl?mo. Let me explain my problem in a better way : In my grid i have the following columns: No | Type | Name Town | Name client In the database I have the table with the following fields : No Integer Autoincr. Primary key Type String Filled trough a combo box with fixed values (no problem there) Town Integer Reference to a towns table with names of towns in there Client Integer Reference to a clients table with names of clients in there Now, I want the user to get a combo display with names, and update the table with the corresponding (after the user selected) references. This, the grid refuses, since it does not recognise a select statement with 2 linked tables. (I tried it with 'extra' columns with their width set to 0) Steven Le lundi 14 mai 2007 16:44, Gareth Bult a ?crit?: > Ok, > > It didn't .. ;-) > > If you download the latest version (0.1.63) you will have access to a > method called "putData"; putData(row,col,Value) > > This will put something to the table buffer at the desired coordinates and > move the cursor to this spot. (highlighted in red as a changed value) > > Also, in this version you can use SELECT statements to fill drop-down > combo's for dynamic editor choices .. :) > > Gareth. > > > > > ----- Original Message ----- > From: "Steven Lobbezoo" > To: "mailing list for gambas users" > Sent: Monday, May 14, 2007 2:18:47 PM (GMT) Europe/London > Subject: Re: [Gambas-user] Re; Grid > > Hi Gareth, > > I'm toying around a bit with your dbgrid. > It looks just fine, but I have one major problem. > I've tables with references to other tables. I want the user to see an > other column in the refrenced table, but after he selects some value there > (works ok) i want to do the update on the original table with the reference > value. > > Can this be done with your grid? > > Steven > > Le vendredi 4 mai 2007 11:55, Gareth Bult a ?crit : > > Ok, incorporated into the component - seems to work fine .. :) > > New release at http://encryptec.net/software/gambas-grideditor > > > > I now have tiered chaining working based on "change" events .. > > i.e. (n) tables linked in a master-slave hierarchy where the slave(s) > > auto-update when someone changes rows on the master .. > > (screen shot on the page) > > > > Gareth. > > > > On Fri, 2007-05-04 at 10:25 +0100, Gareth Bult wrote: > > > Hi, > > > > > > Thanks for that .. one problem I have however .. when you click (or > > > double click) on a header , it doesn't generate an Mouse event. > > > ... it only generates an event if you're over the grid ... > > > > > > However, playing with mouse clicks has I think led to a solution. > > > > > > A double click on a header generates a DblClick. > > > A double click on a cell generates both DblClick and MOUSE events (!) > > > > > > A single click on a cell generates a Mouse Down + Mouse UP. > > > A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing > > > the second "DOWN" becomes the DblClick) > > > > > > So, if I don't get associated mouse commands, it must be a double click > > > on a header ... :-) > > > > > > Now to code it ... :) > > > > > > Gareth. > > > > > > On Fri, 2007-05-04 at 11:03 +0200, ron wrote: > > > > On Friday 04 May 2007 10:11, Gareth Bult wrote: > > > > > Yup, this is the issue I have .. it can be made to work "mostly" .. > > > > > > > > > > However, writing applications that work "mostly" doesn't really do > > > > > it for me ... :( > > > > > > > > > > My solution for now is to use a keyboard event rather than a double > > > > > click ... > > > > > If anyone has a working calculation I'm all ears ... :) > > > > > > > > > > Gareth. > > > > > > > > This routine checks if the mouse x/y is above a cell and not in the > > > > space below/right of it > > > > > > > > ' waiting for updated gambas, function is add on my request > > > > PUBLIC FUNCTION hGrid at ...1692...(x AS Integer, Y AS Integer) AS Boolean > > > > ' returns true if out range > > > > DIM gx, gy AS Integer > > > > DIM gc, gr AS Integer > > > > gx = 0 > > > > gy = 0 > > > > gc = 0 > > > > gr = 0 > > > > WITH hGrid > > > > gx = .Columns[0].Width > > > > WHILE x > gx > > > > INC gc > > > > IF gc > (.Columns.Count - 1) THEN RETURN TRUE > > > > gx += .Columns[gc].Width > > > > WEND > > > > gy = .rows[0].Height > > > > WHILE y > gy > > > > INC gr > > > > IF gr > (.rows.Count - 1) THEN RETURN TRUE > > > > gy += .rows[gr].Height > > > > WEND > > > > .Column = gc > > > > .Row = gr > > > > END WITH > > > > END > > > > > > > > > > > > As mentioned the GridVie.Find is implement and here as private > > > > subroutine 'hGrid at ...1692...' hFrid is the handle for the GridView control. > > > > > > > > The calculation is here done. > > > > In fact I set the .Row and .Column properties so after a call the > > > > return boolean tells you if it is a valid hit or not. > > > > When valid the GridView.Row and GridView.Column are set correct. > > > > > > > > ----------------- > > > > > > > > Here I did use the service > > > > grdFields is the name of the GridView and the hGrid handle of it > > > > GridCtrlHide routine did hide the overlay controls for editing. > > > > GridCtrlShow routine shows the appropriate control for the .Row > > > > > > > > The Gridview is used with on the row the value/properties of a field > > > > in database table. Every row has his own control as > > > > textbox/listbox/combobox/checkbox Every column is the representation > > > > of a field. > > > > The result is transformed to a MySQL query > > > > Code is never been clean up of remarks etc.(shame to me) > > > > > > > > > > > > PUBLIC SUB grdFields_MouseDown() > > > > 'PRINT "grdFields_MouseDown:"; grdFields.Row; "/"; grdFields.Column > > > > 'PRINT mouse.X > > > > > > > > 'if ctrl then save value if editing > > > > IF ctrTBX.Visible THEN ctrTBXSave > > > > GridCtrlHide > > > > > > > > 'and go to new position > > > > ' IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > ' GridCtrlShow(grdFields.Row, grdFields.Column) > > > > END > > > > > > > > PUBLIC SUB grdFields_MouseMove() > > > > IF mouse.Left THEN > > > > 'PRINT "grdFields_MouseMove" > > > > > > > > 'check in gridcell > > > > IF ME.grdFields at ...1692...(mouse.X, mouse.Y) THEN RETURN > > > > ' IF ME.grdFields.Find(mouse.X, mouse.Y) THEN RETURN > > > > grd.CtrlHide > > > > Drag.Icon = picture["img/16/gambas.png"] > > > > drag(grdFields, MIME_TYPE_GRID) > > > > END IF > > > > END > > > > > > > > PUBLIC SUB grdFields_MouseUp() > > > > DIM vVal AS Variant > > > > 'PRINT "grdFields_MouseUp"; grdFields.Row; "/"; grdFields.Column > > > > > > > > GridCtrlHide > > > > > > > > IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > > > > > IF grdFields.row = grd.GRDVIS THEN > > > > ' row/column for write data in grid > > > > grdFields.Tag = [grdFields.Row, grdFields.Column] > > > > vVal = IIf(UCase(grdFields[grdFields.Row, grdFields.Column].Text) > > > > = "YES", "No", "Yes") GridWrite(vVal) > > > > ELSE > > > > GridCtrlShow(grdFields.Row, grdFields.Column) > > > > ENDIF > > > > > > > > END > > > > > > > > ----- > > > > > > > > Ron > > > > > > > > > > > > --------------------------------------------------------------------- > > > >-- -- This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ----------------------------------------------------------------------- > > >-- This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ Gambas-user mailing > > > list Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gareth at ...1689... Mon May 14 17:50:09 2007 From: gareth at ...1689... (Gareth Bult) Date: Mon, 14 May 2007 16:50:09 +0100 (BST) Subject: [Gambas-user] Re; Grid [New version available] In-Reply-To: <27365977.34571179156879613.JavaMail.root@...1694...> Message-ID: <20918949.34621179157809233.JavaMail.root@...1694...> Ok, I see what you mean. There's an additional issue here in that you want to select from an additional table, but you don't actually want to display the contents of the table, but the result of an integer -> String lookup field. This is something the editor needs to do , but does not at the moment. If you'd like to add it as a feature request to the tracker I'll try to get to it in the next couple of days .. Essentially you will want the display to show the result of a join (i.e. the name from the other table) , and the editor / store command to work with the integer key .. so I guess the initial select will need to include both .. and the key will be hidden but used by the editor .. should be interesting .. :) .. Gareth ----- Original Message ----- From: "Steven Lobbezoo" To: "mailing list for gambas users" Sent: Monday, May 14, 2007 4:24:27 PM (GMT) Europe/London Subject: Re: [Gambas-user] Re; Grid [New version available] Ok, thats nice, but ... Putting a select into a combo field is not that complicated. I build an array of values (strings) at form load and then do : IF hStr THEN grid.Show_Combo(hStr, FALSE) END IF in the MyGrid.Edit sub. No probl?mo. Let me explain my problem in a better way : In my grid i have the following columns: No | Type | Name Town | Name client In the database I have the table with the following fields : No Integer Autoincr. Primary key Type String Filled trough a combo box with fixed values (no problem there) Town Integer Reference to a towns table with names of towns in there Client Integer Reference to a clients table with names of clients in there Now, I want the user to get a combo display with names, and update the table with the corresponding (after the user selected) references. This, the grid refuses, since it does not recognise a select statement with 2 linked tables. (I tried it with 'extra' columns with their width set to 0) Steven Le lundi 14 mai 2007 16:44, Gareth Bult a ?crit : > Ok, > > It didn't .. ;-) > > If you download the latest version (0.1.63) you will have access to a > method called "putData"; putData(row,col,Value) > > This will put something to the table buffer at the desired coordinates and > move the cursor to this spot. (highlighted in red as a changed value) > > Also, in this version you can use SELECT statements to fill drop-down > combo's for dynamic editor choices .. :) > > Gareth. > > > > > ----- Original Message ----- > From: "Steven Lobbezoo" > To: "mailing list for gambas users" > Sent: Monday, May 14, 2007 2:18:47 PM (GMT) Europe/London > Subject: Re: [Gambas-user] Re; Grid > > Hi Gareth, > > I'm toying around a bit with your dbgrid. > It looks just fine, but I have one major problem. > I've tables with references to other tables. I want the user to see an > other column in the refrenced table, but after he selects some value there > (works ok) i want to do the update on the original table with the reference > value. > > Can this be done with your grid? > > Steven > > Le vendredi 4 mai 2007 11:55, Gareth Bult a ?crit : > > Ok, incorporated into the component - seems to work fine .. :) > > New release at http://encryptec.net/software/gambas-grideditor > > > > I now have tiered chaining working based on "change" events .. > > i.e. (n) tables linked in a master-slave hierarchy where the slave(s) > > auto-update when someone changes rows on the master .. > > (screen shot on the page) > > > > Gareth. > > > > On Fri, 2007-05-04 at 10:25 +0100, Gareth Bult wrote: > > > Hi, > > > > > > Thanks for that .. one problem I have however .. when you click (or > > > double click) on a header , it doesn't generate an Mouse event. > > > ... it only generates an event if you're over the grid ... > > > > > > However, playing with mouse clicks has I think led to a solution. > > > > > > A double click on a header generates a DblClick. > > > A double click on a cell generates both DblClick and MOUSE events (!) > > > > > > A single click on a cell generates a Mouse Down + Mouse UP. > > > A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing > > > the second "DOWN" becomes the DblClick) > > > > > > So, if I don't get associated mouse commands, it must be a double click > > > on a header ... :-) > > > > > > Now to code it ... :) > > > > > > Gareth. > > > > > > On Fri, 2007-05-04 at 11:03 +0200, ron wrote: > > > > On Friday 04 May 2007 10:11, Gareth Bult wrote: > > > > > Yup, this is the issue I have .. it can be made to work "mostly" .. > > > > > > > > > > However, writing applications that work "mostly" doesn't really do > > > > > it for me ... :( > > > > > > > > > > My solution for now is to use a keyboard event rather than a double > > > > > click ... > > > > > If anyone has a working calculation I'm all ears ... :) > > > > > > > > > > Gareth. > > > > > > > > This routine checks if the mouse x/y is above a cell and not in the > > > > space below/right of it > > > > > > > > ' waiting for updated gambas, function is add on my request > > > > PUBLIC FUNCTION hGrid at ...1692...(x AS Integer, Y AS Integer) AS Boolean > > > > ' returns true if out range > > > > DIM gx, gy AS Integer > > > > DIM gc, gr AS Integer > > > > gx = 0 > > > > gy = 0 > > > > gc = 0 > > > > gr = 0 > > > > WITH hGrid > > > > gx = .Columns[0].Width > > > > WHILE x > gx > > > > INC gc > > > > IF gc > (.Columns.Count - 1) THEN RETURN TRUE > > > > gx += .Columns[gc].Width > > > > WEND > > > > gy = .rows[0].Height > > > > WHILE y > gy > > > > INC gr > > > > IF gr > (.rows.Count - 1) THEN RETURN TRUE > > > > gy += .rows[gr].Height > > > > WEND > > > > .Column = gc > > > > .Row = gr > > > > END WITH > > > > END > > > > > > > > > > > > As mentioned the GridVie.Find is implement and here as private > > > > subroutine 'hGrid at ...1692...' hFrid is the handle for the GridView control. > > > > > > > > The calculation is here done. > > > > In fact I set the .Row and .Column properties so after a call the > > > > return boolean tells you if it is a valid hit or not. > > > > When valid the GridView.Row and GridView.Column are set correct. > > > > > > > > ----------------- > > > > > > > > Here I did use the service > > > > grdFields is the name of the GridView and the hGrid handle of it > > > > GridCtrlHide routine did hide the overlay controls for editing. > > > > GridCtrlShow routine shows the appropriate control for the .Row > > > > > > > > The Gridview is used with on the row the value/properties of a field > > > > in database table. Every row has his own control as > > > > textbox/listbox/combobox/checkbox Every column is the representation > > > > of a field. > > > > The result is transformed to a MySQL query > > > > Code is never been clean up of remarks etc.(shame to me) > > > > > > > > > > > > PUBLIC SUB grdFields_MouseDown() > > > > 'PRINT "grdFields_MouseDown:"; grdFields.Row; "/"; grdFields.Column > > > > 'PRINT mouse.X > > > > > > > > 'if ctrl then save value if editing > > > > IF ctrTBX.Visible THEN ctrTBXSave > > > > GridCtrlHide > > > > > > > > 'and go to new position > > > > ' IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > ' GridCtrlShow(grdFields.Row, grdFields.Column) > > > > END > > > > > > > > PUBLIC SUB grdFields_MouseMove() > > > > IF mouse.Left THEN > > > > 'PRINT "grdFields_MouseMove" > > > > > > > > 'check in gridcell > > > > IF ME.grdFields at ...1692...(mouse.X, mouse.Y) THEN RETURN > > > > ' IF ME.grdFields.Find(mouse.X, mouse.Y) THEN RETURN > > > > grd.CtrlHide > > > > Drag.Icon = picture["img/16/gambas.png"] > > > > drag(grdFields, MIME_TYPE_GRID) > > > > END IF > > > > END > > > > > > > > PUBLIC SUB grdFields_MouseUp() > > > > DIM vVal AS Variant > > > > 'PRINT "grdFields_MouseUp"; grdFields.Row; "/"; grdFields.Column > > > > > > > > GridCtrlHide > > > > > > > > IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > > > > > IF grdFields.row = grd.GRDVIS THEN > > > > ' row/column for write data in grid > > > > grdFields.Tag = [grdFields.Row, grdFields.Column] > > > > vVal = IIf(UCase(grdFields[grdFields.Row, grdFields.Column].Text) > > > > = "YES", "No", "Yes") GridWrite(vVal) > > > > ELSE > > > > GridCtrlShow(grdFields.Row, grdFields.Column) > > > > ENDIF > > > > > > > > END > > > > > > > > ----- > > > > > > > > Ron > > > > > > > > > > > > --------------------------------------------------------------------- > > > >-- -- This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ----------------------------------------------------------------------- > > >-- This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ Gambas-user mailing > > > list Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From steven at ...1652... Mon May 14 17:56:35 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 14 May 2007 17:56:35 +0200 Subject: [Gambas-user] Re; Grid [New version available] In-Reply-To: <8786225.25321179153842528.JavaMail.root@...1694...> References: <8786225.25321179153842528.JavaMail.root@...1694...> Message-ID: <200705141756.36053.steven@...1652...> Furthermore, I tried to use : .Skip = ["Nom"] to block updates on this column. I suppose I did not understand Skip, since it does not work. If It would, I could use the selection in a combobox (triggers some event) to update the referencenumber column with a value. I suppose that, together with the new putData this would work. Steven Le lundi 14 mai 2007 16:44, Gareth Bult a ?crit?: > Ok, > > It didn't .. ;-) > > If you download the latest version (0.1.63) you will have access to a > method called "putData"; putData(row,col,Value) > > This will put something to the table buffer at the desired coordinates and > move the cursor to this spot. (highlighted in red as a changed value) > > Also, in this version you can use SELECT statements to fill drop-down > combo's for dynamic editor choices .. :) > > Gareth. > > > > > ----- Original Message ----- > From: "Steven Lobbezoo" > To: "mailing list for gambas users" > Sent: Monday, May 14, 2007 2:18:47 PM (GMT) Europe/London > Subject: Re: [Gambas-user] Re; Grid > > Hi Gareth, > > I'm toying around a bit with your dbgrid. > It looks just fine, but I have one major problem. > I've tables with references to other tables. I want the user to see an > other column in the refrenced table, but after he selects some value there > (works ok) i want to do the update on the original table with the reference > value. > > Can this be done with your grid? > > Steven > > Le vendredi 4 mai 2007 11:55, Gareth Bult a ?crit : > > Ok, incorporated into the component - seems to work fine .. :) > > New release at http://encryptec.net/software/gambas-grideditor > > > > I now have tiered chaining working based on "change" events .. > > i.e. (n) tables linked in a master-slave hierarchy where the slave(s) > > auto-update when someone changes rows on the master .. > > (screen shot on the page) > > > > Gareth. > > > > On Fri, 2007-05-04 at 10:25 +0100, Gareth Bult wrote: > > > Hi, > > > > > > Thanks for that .. one problem I have however .. when you click (or > > > double click) on a header , it doesn't generate an Mouse event. > > > ... it only generates an event if you're over the grid ... > > > > > > However, playing with mouse clicks has I think led to a solution. > > > > > > A double click on a header generates a DblClick. > > > A double click on a cell generates both DblClick and MOUSE events (!) > > > > > > A single click on a cell generates a Mouse Down + Mouse UP. > > > A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing > > > the second "DOWN" becomes the DblClick) > > > > > > So, if I don't get associated mouse commands, it must be a double click > > > on a header ... :-) > > > > > > Now to code it ... :) > > > > > > Gareth. > > > > > > On Fri, 2007-05-04 at 11:03 +0200, ron wrote: > > > > On Friday 04 May 2007 10:11, Gareth Bult wrote: > > > > > Yup, this is the issue I have .. it can be made to work "mostly" .. > > > > > > > > > > However, writing applications that work "mostly" doesn't really do > > > > > it for me ... :( > > > > > > > > > > My solution for now is to use a keyboard event rather than a double > > > > > click ... > > > > > If anyone has a working calculation I'm all ears ... :) > > > > > > > > > > Gareth. > > > > > > > > This routine checks if the mouse x/y is above a cell and not in the > > > > space below/right of it > > > > > > > > ' waiting for updated gambas, function is add on my request > > > > PUBLIC FUNCTION hGrid at ...1692...(x AS Integer, Y AS Integer) AS Boolean > > > > ' returns true if out range > > > > DIM gx, gy AS Integer > > > > DIM gc, gr AS Integer > > > > gx = 0 > > > > gy = 0 > > > > gc = 0 > > > > gr = 0 > > > > WITH hGrid > > > > gx = .Columns[0].Width > > > > WHILE x > gx > > > > INC gc > > > > IF gc > (.Columns.Count - 1) THEN RETURN TRUE > > > > gx += .Columns[gc].Width > > > > WEND > > > > gy = .rows[0].Height > > > > WHILE y > gy > > > > INC gr > > > > IF gr > (.rows.Count - 1) THEN RETURN TRUE > > > > gy += .rows[gr].Height > > > > WEND > > > > .Column = gc > > > > .Row = gr > > > > END WITH > > > > END > > > > > > > > > > > > As mentioned the GridVie.Find is implement and here as private > > > > subroutine 'hGrid at ...1692...' hFrid is the handle for the GridView control. > > > > > > > > The calculation is here done. > > > > In fact I set the .Row and .Column properties so after a call the > > > > return boolean tells you if it is a valid hit or not. > > > > When valid the GridView.Row and GridView.Column are set correct. > > > > > > > > ----------------- > > > > > > > > Here I did use the service > > > > grdFields is the name of the GridView and the hGrid handle of it > > > > GridCtrlHide routine did hide the overlay controls for editing. > > > > GridCtrlShow routine shows the appropriate control for the .Row > > > > > > > > The Gridview is used with on the row the value/properties of a field > > > > in database table. Every row has his own control as > > > > textbox/listbox/combobox/checkbox Every column is the representation > > > > of a field. > > > > The result is transformed to a MySQL query > > > > Code is never been clean up of remarks etc.(shame to me) > > > > > > > > > > > > PUBLIC SUB grdFields_MouseDown() > > > > 'PRINT "grdFields_MouseDown:"; grdFields.Row; "/"; grdFields.Column > > > > 'PRINT mouse.X > > > > > > > > 'if ctrl then save value if editing > > > > IF ctrTBX.Visible THEN ctrTBXSave > > > > GridCtrlHide > > > > > > > > 'and go to new position > > > > ' IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > ' GridCtrlShow(grdFields.Row, grdFields.Column) > > > > END > > > > > > > > PUBLIC SUB grdFields_MouseMove() > > > > IF mouse.Left THEN > > > > 'PRINT "grdFields_MouseMove" > > > > > > > > 'check in gridcell > > > > IF ME.grdFields at ...1692...(mouse.X, mouse.Y) THEN RETURN > > > > ' IF ME.grdFields.Find(mouse.X, mouse.Y) THEN RETURN > > > > grd.CtrlHide > > > > Drag.Icon = picture["img/16/gambas.png"] > > > > drag(grdFields, MIME_TYPE_GRID) > > > > END IF > > > > END > > > > > > > > PUBLIC SUB grdFields_MouseUp() > > > > DIM vVal AS Variant > > > > 'PRINT "grdFields_MouseUp"; grdFields.Row; "/"; grdFields.Column > > > > > > > > GridCtrlHide > > > > > > > > IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > > > > > IF grdFields.row = grd.GRDVIS THEN > > > > ' row/column for write data in grid > > > > grdFields.Tag = [grdFields.Row, grdFields.Column] > > > > vVal = IIf(UCase(grdFields[grdFields.Row, grdFields.Column].Text) > > > > = "YES", "No", "Yes") GridWrite(vVal) > > > > ELSE > > > > GridCtrlShow(grdFields.Row, grdFields.Column) > > > > ENDIF > > > > > > > > END > > > > > > > > ----- > > > > > > > > Ron > > > > > > > > > > > > --------------------------------------------------------------------- > > > >-- -- This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ----------------------------------------------------------------------- > > >-- This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ Gambas-user mailing > > > list Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Mon May 14 17:57:37 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Mon, 14 May 2007 17:57:37 +0200 Subject: [Gambas-user] Re; Grid [New version available] In-Reply-To: <20918949.34621179157809233.JavaMail.root@...1694...> References: <20918949.34621179157809233.JavaMail.root@...1694...> Message-ID: <200705141757.37902.steven@...1652...> Yes, exactly ;-) Steven Le lundi 14 mai 2007 17:50, Gareth Bult a ?crit?: > Ok, > > I see what you mean. > > There's an additional issue here in that you want to select from an > additional table, but you don't actually want to display the contents of > the table, but the result of an integer -> String lookup field. > > This is something the editor needs to do , but does not at the moment. > > If you'd like to add it as a feature request to the tracker I'll try to get > to it in the next couple of days .. > > Essentially you will want the display to show the result of a join (i.e. > the name from the other table) , and the editor / store command to work > with the integer key .. so I guess the initial select will need to include > both .. and the key will be hidden but used by the editor .. should be > interesting .. :) > > .. > > Gareth > > ----- Original Message ----- > From: "Steven Lobbezoo" > To: "mailing list for gambas users" > Sent: Monday, May 14, 2007 4:24:27 PM (GMT) Europe/London > Subject: Re: [Gambas-user] Re; Grid [New version available] > > Ok, thats nice, but ... > > Putting a select into a combo field is not that complicated. > I build an array of values (strings) at form load and then do : > IF hStr THEN > grid.Show_Combo(hStr, FALSE) > END IF > in the MyGrid.Edit sub. No probl?mo. > > Let me explain my problem in a better way : > > In my grid i have the following columns: > > No | Type | Name Town | Name client > > In the database I have the table with the following fields : > > No Integer Autoincr. Primary key > Type String Filled trough a combo box with fixed values (no problem there) > Town Integer Reference to a towns table with names of towns in there > Client Integer Reference to a clients table with names of clients in there > > Now, I want the user to get a combo display with names, and update the > table with the corresponding (after the user selected) references. > > This, the grid refuses, since it does not recognise a select statement with > 2 linked tables. (I tried it with 'extra' columns with their width set to > 0) > > Steven > > Le lundi 14 mai 2007 16:44, Gareth Bult a ?crit : > > Ok, > > > > It didn't .. ;-) > > > > If you download the latest version (0.1.63) you will have access to a > > method called "putData"; putData(row,col,Value) > > > > This will put something to the table buffer at the desired coordinates > > and move the cursor to this spot. (highlighted in red as a changed value) > > > > Also, in this version you can use SELECT statements to fill drop-down > > combo's for dynamic editor choices .. :) > > > > Gareth. > > > > > > > > > > ----- Original Message ----- > > From: "Steven Lobbezoo" > > To: "mailing list for gambas users" > > Sent: Monday, May 14, 2007 2:18:47 PM (GMT) Europe/London > > Subject: Re: [Gambas-user] Re; Grid > > > > Hi Gareth, > > > > I'm toying around a bit with your dbgrid. > > It looks just fine, but I have one major problem. > > I've tables with references to other tables. I want the user to see an > > other column in the refrenced table, but after he selects some value > > there (works ok) i want to do the update on the original table with the > > reference value. > > > > Can this be done with your grid? > > > > Steven > > > > Le vendredi 4 mai 2007 11:55, Gareth Bult a ?crit : > > > Ok, incorporated into the component - seems to work fine .. :) > > > New release at http://encryptec.net/software/gambas-grideditor > > > > > > I now have tiered chaining working based on "change" events .. > > > i.e. (n) tables linked in a master-slave hierarchy where the slave(s) > > > auto-update when someone changes rows on the master .. > > > (screen shot on the page) > > > > > > Gareth. > > > > > > On Fri, 2007-05-04 at 10:25 +0100, Gareth Bult wrote: > > > > Hi, > > > > > > > > Thanks for that .. one problem I have however .. when you click (or > > > > double click) on a header , it doesn't generate an Mouse event. > > > > ... it only generates an event if you're over the grid ... > > > > > > > > However, playing with mouse clicks has I think led to a solution. > > > > > > > > A double click on a header generates a DblClick. > > > > A double click on a cell generates both DblClick and MOUSE events (!) > > > > > > > > A single click on a cell generates a Mouse Down + Mouse UP. > > > > A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing > > > > the second "DOWN" becomes the DblClick) > > > > > > > > So, if I don't get associated mouse commands, it must be a double > > > > click on a header ... :-) > > > > > > > > Now to code it ... :) > > > > > > > > Gareth. > > > > > > > > On Fri, 2007-05-04 at 11:03 +0200, ron wrote: > > > > > On Friday 04 May 2007 10:11, Gareth Bult wrote: > > > > > > Yup, this is the issue I have .. it can be made to work "mostly" > > > > > > .. > > > > > > > > > > > > However, writing applications that work "mostly" doesn't really > > > > > > do it for me ... :( > > > > > > > > > > > > My solution for now is to use a keyboard event rather than a > > > > > > double click ... > > > > > > If anyone has a working calculation I'm all ears ... :) > > > > > > > > > > > > Gareth. > > > > > > > > > > This routine checks if the mouse x/y is above a cell and not in the > > > > > space below/right of it > > > > > > > > > > ' waiting for updated gambas, function is add on my request > > > > > PUBLIC FUNCTION hGrid at ...1692...(x AS Integer, Y AS Integer) AS Boolean > > > > > ' returns true if out range > > > > > DIM gx, gy AS Integer > > > > > DIM gc, gr AS Integer > > > > > gx = 0 > > > > > gy = 0 > > > > > gc = 0 > > > > > gr = 0 > > > > > WITH hGrid > > > > > gx = .Columns[0].Width > > > > > WHILE x > gx > > > > > INC gc > > > > > IF gc > (.Columns.Count - 1) THEN RETURN TRUE > > > > > gx += .Columns[gc].Width > > > > > WEND > > > > > gy = .rows[0].Height > > > > > WHILE y > gy > > > > > INC gr > > > > > IF gr > (.rows.Count - 1) THEN RETURN TRUE > > > > > gy += .rows[gr].Height > > > > > WEND > > > > > .Column = gc > > > > > .Row = gr > > > > > END WITH > > > > > END > > > > > > > > > > > > > > > As mentioned the GridVie.Find is implement and here as private > > > > > subroutine 'hGrid at ...1692...' hFrid is the handle for the GridView > > > > > control. > > > > > > > > > > The calculation is here done. > > > > > In fact I set the .Row and .Column properties so after a call the > > > > > return boolean tells you if it is a valid hit or not. > > > > > When valid the GridView.Row and GridView.Column are set correct. > > > > > > > > > > ----------------- > > > > > > > > > > Here I did use the service > > > > > grdFields is the name of the GridView and the hGrid handle of it > > > > > GridCtrlHide routine did hide the overlay controls for editing. > > > > > GridCtrlShow routine shows the appropriate control for the .Row > > > > > > > > > > The Gridview is used with on the row the value/properties of a > > > > > field in database table. Every row has his own control as > > > > > textbox/listbox/combobox/checkbox Every column is the > > > > > representation of a field. > > > > > The result is transformed to a MySQL query > > > > > Code is never been clean up of remarks etc.(shame to me) > > > > > > > > > > > > > > > PUBLIC SUB grdFields_MouseDown() > > > > > 'PRINT "grdFields_MouseDown:"; grdFields.Row; "/"; grdFields.Column > > > > > 'PRINT mouse.X > > > > > > > > > > 'if ctrl then save value if editing > > > > > IF ctrTBX.Visible THEN ctrTBXSave > > > > > GridCtrlHide > > > > > > > > > > 'and go to new position > > > > > ' IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > > ' GridCtrlShow(grdFields.Row, grdFields.Column) > > > > > END > > > > > > > > > > PUBLIC SUB grdFields_MouseMove() > > > > > IF mouse.Left THEN > > > > > 'PRINT "grdFields_MouseMove" > > > > > > > > > > 'check in gridcell > > > > > IF ME.grdFields at ...1692...(mouse.X, mouse.Y) THEN RETURN > > > > > ' IF ME.grdFields.Find(mouse.X, mouse.Y) THEN RETURN > > > > > grd.CtrlHide > > > > > Drag.Icon = picture["img/16/gambas.png"] > > > > > drag(grdFields, MIME_TYPE_GRID) > > > > > END IF > > > > > END > > > > > > > > > > PUBLIC SUB grdFields_MouseUp() > > > > > DIM vVal AS Variant > > > > > 'PRINT "grdFields_MouseUp"; grdFields.Row; "/"; grdFields.Column > > > > > > > > > > GridCtrlHide > > > > > > > > > > IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > > > > > > > IF grdFields.row = grd.GRDVIS THEN > > > > > ' row/column for write data in grid > > > > > grdFields.Tag = [grdFields.Row, grdFields.Column] > > > > > vVal = IIf(UCase(grdFields[grdFields.Row, > > > > > grdFields.Column].Text) = "YES", "No", "Yes") GridWrite(vVal) > > > > > ELSE > > > > > GridCtrlShow(grdFields.Row, grdFields.Column) > > > > > ENDIF > > > > > > > > > > END > > > > > > > > > > ----- > > > > > > > > > > Ron > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > >-- -- -- This SF.net email is sponsored by DB2 Express > > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > > control of your XML. No limits. Just data. Click to get it now. > > > > > http://sourceforge.net/powerbar/db2/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > --------------------------------------------------------------------- > > > >-- -- This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ Gambas-user mailing > > > > list Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gareth at ...1689... Mon May 14 18:01:34 2007 From: gareth at ...1689... (Gareth Bult) Date: Mon, 14 May 2007 17:01:34 +0100 (BST) Subject: [Gambas-user] Re; Grid [New version available] In-Reply-To: <200705141756.36053.steven@...1652...> Message-ID: <8471561.34651179158494773.JavaMail.root@...1694...> Skip works on column number as opposed to name .. ----- Original Message ----- From: "Steven Lobbezoo" To: "mailing list for gambas users" Sent: Monday, May 14, 2007 4:56:35 PM (GMT) Europe/London Subject: Re: [Gambas-user] Re; Grid [New version available] Furthermore, I tried to use : .Skip = ["Nom"] to block updates on this column. I suppose I did not understand Skip, since it does not work. If It would, I could use the selection in a combobox (triggers some event) to update the referencenumber column with a value. I suppose that, together with the new putData this would work. Steven Le lundi 14 mai 2007 16:44, Gareth Bult a ?crit : > Ok, > > It didn't .. ;-) > > If you download the latest version (0.1.63) you will have access to a > method called "putData"; putData(row,col,Value) > > This will put something to the table buffer at the desired coordinates and > move the cursor to this spot. (highlighted in red as a changed value) > > Also, in this version you can use SELECT statements to fill drop-down > combo's for dynamic editor choices .. :) > > Gareth. > > > > > ----- Original Message ----- > From: "Steven Lobbezoo" > To: "mailing list for gambas users" > Sent: Monday, May 14, 2007 2:18:47 PM (GMT) Europe/London > Subject: Re: [Gambas-user] Re; Grid > > Hi Gareth, > > I'm toying around a bit with your dbgrid. > It looks just fine, but I have one major problem. > I've tables with references to other tables. I want the user to see an > other column in the refrenced table, but after he selects some value there > (works ok) i want to do the update on the original table with the reference > value. > > Can this be done with your grid? > > Steven > > Le vendredi 4 mai 2007 11:55, Gareth Bult a ?crit : > > Ok, incorporated into the component - seems to work fine .. :) > > New release at http://encryptec.net/software/gambas-grideditor > > > > I now have tiered chaining working based on "change" events .. > > i.e. (n) tables linked in a master-slave hierarchy where the slave(s) > > auto-update when someone changes rows on the master .. > > (screen shot on the page) > > > > Gareth. > > > > On Fri, 2007-05-04 at 10:25 +0100, Gareth Bult wrote: > > > Hi, > > > > > > Thanks for that .. one problem I have however .. when you click (or > > > double click) on a header , it doesn't generate an Mouse event. > > > ... it only generates an event if you're over the grid ... > > > > > > However, playing with mouse clicks has I think led to a solution. > > > > > > A double click on a header generates a DblClick. > > > A double click on a cell generates both DblClick and MOUSE events (!) > > > > > > A single click on a cell generates a Mouse Down + Mouse UP. > > > A double click generates a Mouse Down and 2 x Mouse UP. (I'm guessing > > > the second "DOWN" becomes the DblClick) > > > > > > So, if I don't get associated mouse commands, it must be a double click > > > on a header ... :-) > > > > > > Now to code it ... :) > > > > > > Gareth. > > > > > > On Fri, 2007-05-04 at 11:03 +0200, ron wrote: > > > > On Friday 04 May 2007 10:11, Gareth Bult wrote: > > > > > Yup, this is the issue I have .. it can be made to work "mostly" .. > > > > > > > > > > However, writing applications that work "mostly" doesn't really do > > > > > it for me ... :( > > > > > > > > > > My solution for now is to use a keyboard event rather than a double > > > > > click ... > > > > > If anyone has a working calculation I'm all ears ... :) > > > > > > > > > > Gareth. > > > > > > > > This routine checks if the mouse x/y is above a cell and not in the > > > > space below/right of it > > > > > > > > ' waiting for updated gambas, function is add on my request > > > > PUBLIC FUNCTION hGrid at ...1692...(x AS Integer, Y AS Integer) AS Boolean > > > > ' returns true if out range > > > > DIM gx, gy AS Integer > > > > DIM gc, gr AS Integer > > > > gx = 0 > > > > gy = 0 > > > > gc = 0 > > > > gr = 0 > > > > WITH hGrid > > > > gx = .Columns[0].Width > > > > WHILE x > gx > > > > INC gc > > > > IF gc > (.Columns.Count - 1) THEN RETURN TRUE > > > > gx += .Columns[gc].Width > > > > WEND > > > > gy = .rows[0].Height > > > > WHILE y > gy > > > > INC gr > > > > IF gr > (.rows.Count - 1) THEN RETURN TRUE > > > > gy += .rows[gr].Height > > > > WEND > > > > .Column = gc > > > > .Row = gr > > > > END WITH > > > > END > > > > > > > > > > > > As mentioned the GridVie.Find is implement and here as private > > > > subroutine 'hGrid at ...1692...' hFrid is the handle for the GridView control. > > > > > > > > The calculation is here done. > > > > In fact I set the .Row and .Column properties so after a call the > > > > return boolean tells you if it is a valid hit or not. > > > > When valid the GridView.Row and GridView.Column are set correct. > > > > > > > > ----------------- > > > > > > > > Here I did use the service > > > > grdFields is the name of the GridView and the hGrid handle of it > > > > GridCtrlHide routine did hide the overlay controls for editing. > > > > GridCtrlShow routine shows the appropriate control for the .Row > > > > > > > > The Gridview is used with on the row the value/properties of a field > > > > in database table. Every row has his own control as > > > > textbox/listbox/combobox/checkbox Every column is the representation > > > > of a field. > > > > The result is transformed to a MySQL query > > > > Code is never been clean up of remarks etc.(shame to me) > > > > > > > > > > > > PUBLIC SUB grdFields_MouseDown() > > > > 'PRINT "grdFields_MouseDown:"; grdFields.Row; "/"; grdFields.Column > > > > 'PRINT mouse.X > > > > > > > > 'if ctrl then save value if editing > > > > IF ctrTBX.Visible THEN ctrTBXSave > > > > GridCtrlHide > > > > > > > > 'and go to new position > > > > ' IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > ' GridCtrlShow(grdFields.Row, grdFields.Column) > > > > END > > > > > > > > PUBLIC SUB grdFields_MouseMove() > > > > IF mouse.Left THEN > > > > 'PRINT "grdFields_MouseMove" > > > > > > > > 'check in gridcell > > > > IF ME.grdFields at ...1692...(mouse.X, mouse.Y) THEN RETURN > > > > ' IF ME.grdFields.Find(mouse.X, mouse.Y) THEN RETURN > > > > grd.CtrlHide > > > > Drag.Icon = picture["img/16/gambas.png"] > > > > drag(grdFields, MIME_TYPE_GRID) > > > > END IF > > > > END > > > > > > > > PUBLIC SUB grdFields_MouseUp() > > > > DIM vVal AS Variant > > > > 'PRINT "grdFields_MouseUp"; grdFields.Row; "/"; grdFields.Column > > > > > > > > GridCtrlHide > > > > > > > > IF grdFields at ...1692...(mouse.x, mouse.y) THEN RETURN > > > > > > > > IF grdFields.row = grd.GRDVIS THEN > > > > ' row/column for write data in grid > > > > grdFields.Tag = [grdFields.Row, grdFields.Column] > > > > vVal = IIf(UCase(grdFields[grdFields.Row, grdFields.Column].Text) > > > > = "YES", "No", "Yes") GridWrite(vVal) > > > > ELSE > > > > GridCtrlShow(grdFields.Row, grdFields.Column) > > > > ENDIF > > > > > > > > END > > > > > > > > ----- > > > > > > > > Ron > > > > > > > > > > > > --------------------------------------------------------------------- > > > >-- -- This SF.net email is sponsored by DB2 Express > > > > Download DB2 Express C - the FREE version of DB2 express and take > > > > control of your XML. No limits. Just data. Click to get it now. > > > > http://sourceforge.net/powerbar/db2/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ----------------------------------------------------------------------- > > >-- This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ Gambas-user mailing > > > list Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From david_villalobos_c at ...43... Tue May 15 14:15:26 2007 From: david_villalobos_c at ...43... (David Villalobos Cambronero) Date: Tue, 15 May 2007 05:15:26 -0700 (PDT) Subject: [Gambas-user] Gambas on 64-bits PC Message-ID: <547419.79804.qm@...1676...> tnks Jos?, :-) ----- Original Message ---- From: Jos? Luis Redrejo To: mailing list for gambas users Sent: Monday, May 14, 2007 6:45:57 AM Subject: Re: [Gambas-user] Gambas on 64-bits PC You can compile it, but it won't work. Further explanation at http://sourceforge.net/mailarchive/message.php?msg_name=200704190812.45041.gambas%40users.sourceforge.net Regards Jos? L. 2007/5/14, David Villalobos Cambronero : > > Hi all, > > Does somebody know if I can compile Gambas in 64-bits PC?? > > Regards David > > > > > > ____________________________________________________________________________________Ready > for the edge of your seat? > Check out tonight's top picks on Yahoo! TV. > http://tv.yahoo.com/ > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ____________________________________________________________________________________Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC From leonardo at ...1237... Tue May 15 15:54:12 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 15 May 2007 15:54:12 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas Message-ID: <4649BB84.2010707@...1237...> Which one is the best desktop manager to run Gambas IDE and Gambas applications: Gnome or KDE? I've seen that my Gambas applications, developed using Qt/KDE widgets under Suse 10.2 and KDE 3.5.6, don't look very well on Ubuntu with Gnome 2.18. The aspect ratio of the forms, widgets and labels is incorrect and there are some other little problems (like a "kbuildsycoca running" every time I launch a program via Gambas IDE). I would also like to know if there is an "ultimate" solution for the aspect ratio problem. I've noticed that Gambas doesn't check the resolution of the screen when it starts rendering a form but checks the font width of the system. This is strange and comes with the aspect ratio issues that I've posted before. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From dcamposf at ...626... Tue May 15 16:05:36 2007 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 15 May 2007 16:05:36 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <4649BB84.2010707@...1237...> References: <4649BB84.2010707@...1237...> Message-ID: <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> When running on Gnome, for the aspect ratio, just install "kcontrol", run it, and select different font-size for all fonts, Debian and Ubuntu installations use quite extrange defaults for QT apps. Changing default theme would be also a good idea (at least Debian default theme for QT sucks, I don't know in Ubuntu). Forms aspect ratio depends on font size, so selecting a little size will result in a little form. Apart from this Gnome and KDE are complete Desktop environments, so if an end user or corporation decides to use one or the other you should consideer not changing it, probably you won't success in the attempt :-) Daniel 2007/5/15, Leonardo Miliani : > Which one is the best desktop manager to run Gambas IDE and Gambas > applications: Gnome or KDE? > I've seen that my Gambas applications, developed using Qt/KDE widgets > under Suse 10.2 and KDE 3.5.6, don't look very well on Ubuntu with Gnome > 2.18. The aspect ratio of the forms, widgets and labels is incorrect and > there are some other little problems (like a "kbuildsycoca running" > every time I launch a program via Gambas IDE). > I would also like to know if there is an "ultimate" solution for the > aspect ratio problem. > I've noticed that Gambas doesn't check the resolution of the screen when > it starts rendering a form but checks the font width of the system. This > is strange and comes with the aspect ratio issues that I've posted before. > > -- > Ciao. > Leo. > > Web: www.leonardomiliani.com > E-mail: leonardo at ...1237... > Scegli software opensource - Choose opensource software > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lordheavym at ...626... Tue May 15 16:12:53 2007 From: lordheavym at ...626... (Laurent Carlier) Date: Tue, 15 May 2007 16:12:53 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> References: <4649BB84.2010707@...1237...> <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> Message-ID: <200705151612.57349.lordheavym@...626...> On Tuesday 15 May 2007 16:05:36 Daniel Campos wrote: > When running on Gnome, for the aspect ratio, just install "kcontrol", > run it, and select different font-size for all fonts, Debian and > Ubuntu installations use quite extrange defaults for QT apps. Changing > default theme would be also a good idea (at least Debian default theme > for QT sucks, I don't know in Ubuntu). Forms aspect ratio depends on > font size, so selecting a little size will result in a little form. > > Apart from this Gnome and KDE are complete Desktop environments, so if > an end user or corporation decides to use one or the other you should > consideer not changing it, probably you won't success in the attempt > > :-) > > Daniel > qt3config (or qtconfig) is enough to change font size adn qt style. Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From gambas at ...1... Tue May 15 16:38:04 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 15 May 2007 16:38:04 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <4649BB84.2010707@...1237...> References: <4649BB84.2010707@...1237...> Message-ID: <200705151638.04763.gambas@...1...> On mardi 15 mai 2007, Leonardo Miliani wrote: > Which one is the best desktop manager to run Gambas IDE and Gambas > applications: Gnome or KDE? > I've seen that my Gambas applications, developed using Qt/KDE widgets > under Suse 10.2 and KDE 3.5.6, don't look very well on Ubuntu with Gnome > 2.18. The aspect ratio of the forms, widgets and labels is incorrect and > there are some other little problems (like a "kbuildsycoca running" > every time I launch a program via Gambas IDE). Gambas aims to be as neutral as possible towards any desktop. But as you have noticed, there are problems, and usally they are not Gambas faults. Users should report any of these little problems, as I don't see them on my Mandriva system, this distribution being careful with these sort of configuration problems. Apparently, Ubuntu didn't fixed the QT library configuration problem. Maybe you should send them a bug report. > I would also like to know if there is an "ultimate" solution for the > aspect ratio problem. > I've noticed that Gambas doesn't check the resolution of the screen when > it starts rendering a form but checks the font width of the system. This > is strange and comes with the aspect ratio issues that I've posted before. Gambas does not use screen resolution to scale its form, because its aim is not having the same absolute form size between screen resolution, but following what the user needs to see: Users having difficulties to see and/or read usually use a higher font size. So Gambas uses the absolute desktop default font height and not the screen resolution to scale its forms. It uses that as sort of zoom factor. Regards, -- Benoit Minisini From leonardo at ...1237... Tue May 15 16:38:12 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 15 May 2007 16:38:12 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <200705151612.57349.lordheavym@...626...> References: <4649BB84.2010707@...1237...> <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> <200705151612.57349.lordheavym@...626...> Message-ID: <4649C5D4.4060202@...1237...> Laurent Carlier ha scritto: > qt3config (or qtconfig) is enough to change font size adn qt style. > No, it didn't work for me. I needed to install kcontrol. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From leonardo at ...1237... Tue May 15 16:47:42 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 15 May 2007 16:47:42 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> References: <4649BB84.2010707@...1237...> <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> Message-ID: <4649C80E.6010200@...1237...> Daniel Campos ha scritto: > When running on Gnome, for the aspect ratio, just install "kcontrol", Yes, this worked fine. But I've also noticed that after I changed the font size, the Gambas IDE has been altered, looking better. This let me think that the Gambas IDE is based on Qt/KDE instead of GTK/Gnome, doesn't it? So, if this is the fact, I think that Gambas works better on KDE-based system. Am I wrong? > Apart from this Gnome and KDE are complete Desktop environments, so if > an end user or corporation decides to use one or the other you should > consideer not changing it, probably you won't success in the attempt I developed a program for the company where I work and got "white paper" to administrate the computer. But this is a not so new one (it has at least 4 years) so there are some hardware compitibility problems with the distro I installed on it (Suse 10.2). I've tried Ubuntu using a live CD and it seemed that it was more stable with it. So I decided to try to install it but I've had a lot of problems. The first one was just the aspect ratio. Then I have a big problem with the printer. My program generate selling documents: I save them as PS files so the user can open them using kghostview (on Suse) or Evince (on Ubuntu). To print directly those documents I use "lpr /path/to/file/name_of_file" with SHELL command but on Ubuntu it doesn't work: I don't know why... -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From leonardo at ...1237... Tue May 15 16:56:39 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 15 May 2007 16:56:39 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <200705151638.04763.gambas@...1...> References: <4649BB84.2010707@...1237...> <200705151638.04763.gambas@...1...> Message-ID: <4649CA27.5020306@...1237...> Benoit Minisini ha scritto: > Users should report any of these little problems, as I don't see them on my > Mandriva system, this distribution being careful with these sort of > configuration problems. Another distro that I'm getting on my target is Mandriva... Can I ask some questions? Which DM do you use? Gnome or KDE? How is the availability of software? Is it easy to install proprietary/restricted packages (as the ones needed to play MP3/DVDs?). Thanks in advance. > Gambas does not use screen resolution to scale its form, because its aim is > not having the same absolute form size between screen resolution, but > following what the user needs to see: Users having difficulties to see and/or > read usually use a higher font size. So Gambas uses the absolute desktop > default font height and not the screen resolution to scale its forms. It uses > that as sort of zoom factor. Yes, I know. But I think it would be better is there could be a kind of aspect ratio lock, so if I choose to draw a 400x400 pixels form with a label of font size set to 10, every user that uses my program would see the same things. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From dcamposf at ...626... Tue May 15 17:05:40 2007 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 15 May 2007 17:05:40 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <4649C80E.6010200@...1237...> References: <4649BB84.2010707@...1237...> <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> <4649C80E.6010200@...1237...> Message-ID: <7259b5ae0705150805r7bbbc476w4629ca5928bc228c@...627...> Hi: > Yes, this worked fine. > But I've also noticed that after I changed the font size, the Gambas IDE > has been altered, looking better. This let me think that the Gambas IDE > is based on Qt/KDE instead of GTK/Gnome, doesn't it? > So, if this is the fact, I think that Gambas works better on KDE-based > system. Am I wrong? > Well, Gambas itself is not related to any toolkit: is the gb.qt component which provides QT support, gb.gtk which provides GTK+ support, etc. The main problem at this moment is that gb.gtk needs a lot of work, and in fact the IDE can not run at this moment using gb.gtk, this should be possible in the future. So the short answer is that, at this moment KDE/QT integration is better than the GTK+/Gnome one, this could change in the future to have the same support in both environments. > I developed a program for the company where I work and got "white paper" > to administrate the computer. But this is a not so new one (it has at > least 4 years) so there are some hardware compitibility problems with > the distro I installed on it (Suse 10.2). I've tried Ubuntu using a live > CD and it seemed that it was more stable with it. So I decided to try to > install it but I've had a lot of problems. The first one was just the > aspect ratio. Then I have a big problem with the printer. My program > generate selling documents: I save them as PS files so the user can open > them using kghostview (on Suse) or Evince (on Ubuntu). To print directly > those documents I use "lpr /path/to/file/name_of_file" with SHELL > command but on Ubuntu it doesn't work: I don't know why... > I don't know very much about Ubuntu, but I suppose the live distro does not configure the printer correctly... Daniel From dcamposf at ...626... Tue May 15 17:09:43 2007 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 15 May 2007 17:09:43 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <4649CA27.5020306@...1237...> References: <4649BB84.2010707@...1237...> <200705151638.04763.gambas@...1...> <4649CA27.5020306@...1237...> Message-ID: <7259b5ae0705150809y1edb0acak9f19635442a57c7f@...627...> > Another distro that I'm getting on my target is Mandriva... > Can I ask some questions? > Which DM do you use? Gnome or KDE? > How is the availability of software? > Is it easy to install proprietary/restricted packages (as the ones > needed to play MP3/DVDs?). > Thanks in advance. > Well, Mandriva was the preferred distribution by novel users around the world prior to the Ubuntu "shock". It is easy to install, has lots of software available using urpmi and yes, there are easy tricks to install propietary software. Now I'm focused on Debian systems, but I used it a couple of years and I like it very much, it has a good Gambas support too. It has some compatibility with RedHat packages too, sometimes that is useful. Daniel From leonardo at ...1237... Tue May 15 17:13:12 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Tue, 15 May 2007 17:13:12 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <7259b5ae0705150805r7bbbc476w4629ca5928bc228c@...627...> References: <4649BB84.2010707@...1237...> <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> <4649C80E.6010200@...1237...> <7259b5ae0705150805r7bbbc476w4629ca5928bc228c@...627...> Message-ID: <4649CE08.9010808@...1237...> Daniel Campos ha scritto: > I don't know very much about Ubuntu, but I suppose the live distro > does not configure the printer correctly... I'm talking about an installed Ubuntu. I don't know why but the lpr printer seems it doesn't see the printer.. -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From gambas at ...1... Tue May 15 18:57:34 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 15 May 2007 18:57:34 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <4649CA27.5020306@...1237...> References: <4649BB84.2010707@...1237...> <200705151638.04763.gambas@...1...> <4649CA27.5020306@...1237...> Message-ID: <200705151857.34169.gambas@...1...> On mardi 15 mai 2007, Leonardo Miliani wrote: > Benoit Minisini ha scritto: > > Users should report any of these little problems, as I don't see them on > > my Mandriva system, this distribution being careful with these sort of > > configuration problems. > > Another distro that I'm getting on my target is Mandriva... > Can I ask some questions? > Which DM do you use? Gnome or KDE? KDE. > How is the availability of software? > Is it easy to install proprietary/restricted packages (as the ones > needed to play MP3/DVDs?). Mandriva software management is based on RPMs. These RPMs are stored in repositories (or "media") on Internet, and are managed by a tool named 'urpmi', that is as powerful as what you can find on Debian. Go to http://wiki.mandriva.com/en/Policies/SoftwareMedia to have a list of all Mandriva repositories. You will notice that non-free software are put in "non-free" repositories. There are special repositories made by the Penguin Liberation Front (aka PLF). You will find them by a bit of Google. These repositories contains Mandriva packages that are not legal in some countries because of licence restrictions, stupid laws and/or software patents. > Thanks in advance. > > > Gambas does not use screen resolution to scale its form, because its aim > > is not having the same absolute form size between screen resolution, but > > following what the user needs to see: Users having difficulties to see > > and/or read usually use a higher font size. So Gambas uses the absolute > > desktop default font height and not the screen resolution to scale its > > forms. It uses that as sort of zoom factor. > > Yes, I know. > But I think it would be better is there could be a kind of aspect ratio > lock, so if I choose to draw a 400x400 pixels form with a label of font > size set to 10, every user that uses my program would see the same things. In the last revisions, you can specify that a form should not be scaled according to the desktop default font, by using the "(Scaled)" property in the IDE property sheet. Regards, -- Benoit Minisini From joe1962 at ...626... Tue May 15 19:33:36 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 15 May 2007 14:33:36 -0300 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <200705151857.34169.gambas@...1...> References: <4649BB84.2010707@...1237...> <200705151638.04763.gambas@...1...> <4649CA27.5020306@...1237...> <200705151857.34169.gambas@...1...> Message-ID: <6c208f950705151033y5b73d67ycf1da36a6b0841dd@...627...> On 5/15/07, Benoit Minisini wrote: > On mardi 15 mai 2007, Leonardo Miliani wrote: > > Benoit Minisini ha scritto: > > > Gambas does not use screen resolution to scale its form, because its aim > > > is not having the same absolute form size between screen resolution, but > > > following what the user needs to see: Users having difficulties to see > > > and/or read usually use a higher font size. So Gambas uses the absolute > > > desktop default font height and not the screen resolution to scale its > > > forms. It uses that as sort of zoom factor. > > > > Yes, I know. > > But I think it would be better is there could be a kind of aspect ratio > > lock, so if I choose to draw a 400x400 pixels form with a label of font > > size set to 10, every user that uses my program would see the same things. > > In the last revisions, you can specify that a form should not be scaled > according to the desktop default font, by using the "(Scaled)" property in > the IDE property sheet. > Wow! That's great, I've really needed this. So the form can keep the same number of pixels Horiz and Vert between resolutions now? BTW, don't think I've mentioned this before and this seems like as good a time as any: I package Gambas and Gambas2 for my distro, VectorLinux (yes, I know, I don't follow the multi-package rules, but that's the Slackware way, lol). There are up to date gambas, gambas2 and both runtimes in the repository. Also, since a while back, VL includes gambas-runtime-1.0.x as a base library and several stock VL utilities are "made in Gambas". There is also on-going work on a new gui installer done in Gambas2. Anyway, the point is, VL is probably a good distro to do some Gambas coding on... ;) Regards, Joe1962 From gambas.fr at ...626... Tue May 15 21:34:46 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 15 May 2007 21:34:46 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <4649CE08.9010808@...1237...> References: <4649BB84.2010707@...1237...> <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> <4649C80E.6010200@...1237...> <7259b5ae0705150805r7bbbc476w4629ca5928bc228c@...627...> <4649CE08.9010808@...1237...> Message-ID: <6324a42a0705151234q14c73d24h95b8cdadb29839db@...627...> 2007/5/15, Leonardo Miliani : > > Daniel Campos ha scritto: > > I don't know very much about Ubuntu, but I suppose the live distro > > does not configure the printer correctly... > > I'm talking about an installed Ubuntu. > I don't know why but the lpr printer seems it doesn't see the printer.. lpr is installed but not configured. > -- > Ciao. > Leo. > > Web: www.leonardomiliani.com > E-mail: leonardo at ...1237... > Scegli software opensource - Choose opensource software > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Wed May 16 11:39:30 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 16 May 2007 11:39:30 +0200 Subject: [Gambas-user] Compiling issues on Suse 10.2 In-Reply-To: <200705141428.05973.steven@...1652...> References: <200705141428.05973.steven@...1652...> Message-ID: <464AD152.7060307@...221...> Steven Lobbezoo schrieb: > Vince, > > I donnot get an error at all. It just compiles and runs without a hitch. > It's Rolf-werner who got a problem ;-) > > Steven > > That's it :-) The question is, why? From the configure and make output I cannot see where the problem is. Do you see anything concrete? Rolf From leonardo at ...1237... Wed May 16 16:18:12 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Wed, 16 May 2007 16:18:12 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <6324a42a0705151234q14c73d24h95b8cdadb29839db@...627...> References: <4649BB84.2010707@...1237...> <7259b5ae0705150705m4195c884w56febe8a5c9d4401@...627...> <4649C80E.6010200@...1237...> <7259b5ae0705150805r7bbbc476w4629ca5928bc228c@...627...> <4649CE08.9010808@...1237...> <6324a42a0705151234q14c73d24h95b8cdadb29839db@...627...> Message-ID: <464B12A4.9080502@...1237...> Fabien Bodard ha scritto: > lpr is installed but not configured. Ah, maybe that's the issue... I didn't know that lpr should be set up before using... On my Suse lpr worked fine with no specific operations. I'll get a look again:-) -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From leonardo at ...1237... Wed May 16 16:25:42 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Wed, 16 May 2007 16:25:42 +0200 Subject: [Gambas-user] Best desktop manager to run Gambas In-Reply-To: <200705151857.34169.gambas@...1...> References: <4649BB84.2010707@...1237...> <200705151638.04763.gambas@...1...> <4649CA27.5020306@...1237...> <200705151857.34169.gambas@...1...> Message-ID: <464B1466.6090903@...1237...> Benoit Minisini ha scritto: > On mardi 15 mai 2007, Leonardo Miliani wrote: >> Benoit Minisini ha scritto: > Mandriva software management is based on RPMs. These RPMs are stored in > repositories (or "media") on Internet, and are managed by a tool > named 'urpmi', that is as powerful as what you can find on Debian. > > Go to http://wiki.mandriva.com/en/Policies/SoftwareMedia to have a list of all > Mandriva repositories. > > You will notice that non-free software are put in "non-free" repositories. > > There are special repositories made by the Penguin Liberation Front (aka PLF). > You will find them by a bit of Google. These repositories contains Mandriva > packages that are not legal in some countries because of licence > restrictions, stupid laws and/or software patents. > Thanks for your infos. I'll try Mandriva live to see if can resolve the audio problem of the computer where I work because with Suse I cannot solve it anymore (everything has gone right for just a couple of months, but after a new installation with the same Suse DVD now I get echoes during any sound reproduction...). > In the last revisions, you can specify that a form should not be scaled > according to the desktop default font, by using the "(Scaled)" property in > the IDE property sheet. Uhm... interesting :-) I'll do some tests ;-) -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From gambas.fr at ...626... Thu May 17 12:23:48 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 17 May 2007 12:23:48 +0200 Subject: [Gambas-user] TextEdit Example Message-ID: <6324a42a0705170323o12073b49oa53251e37e9fc8a6@...627...> Hi to all, This is an example to how to use the textedit widget. If Benoit want to add it in the examples... Regards, Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: TextEditExample-0.0.5.tar.gz Type: application/x-gzip Size: 16386 bytes Desc: not available URL: From nogueira_jr at ...172... Thu May 17 17:12:58 2007 From: nogueira_jr at ...172... (nogueira_jr) Date: Thu, 17 May 2007 12:12:58 -0300 Subject: [Gambas-user] Tableview format Message-ID: <20070517_151258_055849.nogueira_jr@...172...> Hi All: Please, help me in the TableView: I use SQLite3 and my table have: codigo alfanumerico 13 preco float Problem 1: Tableview show the order: CODIGO 1 10 11 2 3 ..... I want the correct order: 1 2 3 .... 9 10 11 Problem 2: Tableview show the alignment: PRECO 10.00 1.99 100.50 ..... I want the correct alignment to right: 10.00 1.99 100.50 ... OK? "Obrigado" from Brazil Nogueira From gambas.fr at ...626... Thu May 17 23:38:36 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 17 May 2007 23:38:36 +0200 Subject: [Gambas-user] Tableview format In-Reply-To: <20070517_151258_055849.nogueira_jr@...172...> References: <20070517_151258_055849.nogueira_jr@...172...> Message-ID: <6324a42a0705171438o795e9f6kf197378417d18383@...627...> 2007/5/17, nogueira_jr : > > Hi All: > > Please, help me in the TableView: > > I use SQLite3 and my table have: > codigo alfanumerico 13 > preco float > > Problem 1: Tableview show the order: > CODIGO > 1 > 10 > 11 > 2 > 3 ..... > > I want the correct order: > > 1 > 2 > 3 > .... > 9 > 10 > 11 use the sql statement : "SELECT * FROM MyTable ORDER BY codigo Problem 2: Tableview show the alignment: > PRECO > 10.00 > 1.99 > 100.50 ..... > > I want the correct alignment to right: > 10.00 > 1.99 > 100.50 ... in the GridView1_Data event : if Column=1 then GridView1.Data.Alignment=align.right THATS ALL FOLK :) Fabien Bodard OK? > "Obrigado" from Brazil > Nogueira > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From nogueira_jr at ...172... Fri May 18 00:38:45 2007 From: nogueira_jr at ...172... (nogueira_jr) Date: Thu, 17 May 2007 19:38:45 -0300 Subject: [Gambas-user] Tableview format Message-ID: <20070517_223845_009417.nogueira_jr@...172...> Fabien Bodard escreveu: > 2007/5/17, nogueira_jr : >> Hi All: >> >> Please, help me in the TableView: >> >> I use SQLite3 and my table have: >> codigo alfanumerico 13 >> preco float >> >> Problem 1: Tableview show the order: >> CODIGO >> 1 >> 10 >> 11 >> 2 >> 3 ..... >> >> I want the correct order: >> >> 1 >> 2 >> 3 >> .... >> 9 >> 10 >> 11 > > > use the sql statement : > "SELECT * FROM MyTable ORDER BY codigo Already I am using the ORDER BY codigo ..... ????? > Problem 2: Tableview show the alignment: > in the GridView1_Data event : > if Column=1 then GridView1.Data.Alignment=align.right OK Correct !!!!!!! Tks Fabien Nogueira From ronstk at ...239... Fri May 18 02:05:10 2007 From: ronstk at ...239... (ron) Date: Fri, 18 May 2007 02:05:10 +0200 Subject: [Gambas-user] Tableview format In-Reply-To: <20070517_223845_009417.nogueira_jr@...172...> References: <20070517_223845_009417.nogueira_jr@...172...> Message-ID: <200705180205.10545.ronstk@...239...> On Friday 18 May 2007 00:38, nogueira_jr wrote: > Fabien Bodard escreveu: > > 2007/5/17, nogueira_jr : > >> Hi All: > >> > >> Please, help me in the TableView: > >> > >> I use SQLite3 and my table have: > >> codigo alfanumerico 13 > >> preco float > >> > >> Problem 1: Tableview show the order: > >> CODIGO > >> 1 > >> 10 > >> 11 > >> 2 > >> 3 ..... > >> > >> I want the correct order: > >> > >> 1 > >> 2 > >> 3 > >> .... > >> 9 > >> 10 > >> 11 > > > > > > use the sql statement : > > "SELECT * FROM MyTable ORDER BY codigo > Already I am using the ORDER BY codigo ..... > ????? > SELECT * FROM MyTable ORDER BY CONVERT(INT,codigo) ASC (mysql) http://article.gmane.org/gmane.comp.db.sqlite.general/28937 quote: select from order by cast ( as integer) is what you wanted. But: If your column is a text column holding strings and numbers or strings beginning with numbers the statement above won't work as expected. All rows starting with alpha text will be placed at the beginning of the result. They all return 0 as the integer value and are not sorted but returned in the order they have been added to the table. If your column to sort on only holds integer values and you defined the column as INTEGER your "natural sorting" should be handled by SQLite. If you have strings *and* numbers in your columns then write a user defined collation sequence which handles this case. It's up to you. ;-) Once I did it with something like this for mysql: select price from products order by myprice asc select price as myprice from products order by myprice asc select concat(" ",price) as myprice from products order by myprice select right(concat(" ",price),10) as myprice from products order by myprice first add in front spaces (10 or so) concat was the mysql function then get the right part for 10 characters, right() used here is not the real correct function for mysql but there is a function that works that way. Mostly the function around the selected field works also on the ORDER BY field Here it has the advanced of right adjustment include. :) I do not know sqlite does support functions on select fields. So I hope the first from the mame.org site will fitt for you. From ronstk at ...239... Fri May 18 02:16:57 2007 From: ronstk at ...239... (ron) Date: Fri, 18 May 2007 02:16:57 +0200 Subject: [Gambas-user] Tableview format In-Reply-To: <20070517_223845_009417.nogueira_jr@...172...> References: <20070517_223845_009417.nogueira_jr@...172...> Message-ID: <200705180216.57272.ronstk@...239...> On Friday 18 May 2007 00:38, nogueira_jr wrote: > Fabien Bodard escreveu: > > 2007/5/17, nogueira_jr : > >> Hi All: > >> > >> Please, help me in the TableView: > >> > >> I use SQLite3 and my table have: > >> codigo alfanumerico 13 > >> preco float > >> > >> Problem 1: Tableview show the order: > >> CODIGO > >> 1 > >> 10 > >> 11 > >> 2 > >> 3 ..... > >> > >> I want the correct order: > >> > >> 1 > >> 2 > >> 3 > >> .... > >> 9 > >> 10 > >> 11 > > > > > > use the sql statement : > > "SELECT * FROM MyTable ORDER BY codigo > Already I am using the ORDER BY codigo ..... > ????? > > > > Problem 2: Tableview show the alignment: > > in the GridView1_Data event : > > if Column=1 then GridView1.Data.Alignment=align.right > OK Correct !!!!!!! > Tks Fabien > > Nogueira > > > for mysql see http://dev.mysql.com/doc/refman/5.0/en/string-functions.html http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_right sqlite concat() I found this http://www.mail-archive.com/sqlite-users%40sqlite.org/msg11086.html http://en.wikibooks.org/wiki/SQL_dialects_reference/Functions_and_expressions/String_functions Substring from string str, starting from start, length of len SUBSTR() try SUBSTR(str, len[, start]) Length of string x (in characters) LENGTH(x) String concatenate arg1 || arg2 From nogueira_jr at ...172... Fri May 18 03:38:59 2007 From: nogueira_jr at ...172... (nogueira_jr) Date: Thu, 17 May 2007 22:38:59 -0300 Subject: [Gambas-user] Tableview format 2 Message-ID: <20070518_013859_058905.nogueira_jr@...172...> ron escreveu: >> Fabien Bodard escreveu: OK Ron and Fabien: all 100% "Obrigado" from Brazil. Problem 3: The heading of the column is lined up to the left: | QTDE...........| I can line up to the right? |...........QTDE | PS: This column is part of the TableView. Tks Nogueira From gambas.fr at ...626... Fri May 18 12:59:14 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 18 May 2007 12:59:14 +0200 Subject: [Gambas-user] Tableview format In-Reply-To: <200705180216.57272.ronstk@...239...> References: <20070517_223845_009417.nogueira_jr@...172...> <200705180216.57272.ronstk@...239...> Message-ID: <6324a42a0705180359l5aec4aecqd65a9faf0c0518d7@...627...> yes ron have true i've not noticed that the codigo was in alphanum the alphanum sort is not the same as a numerical one if you want a good sort your numbers need to have the same length as the comparison go from the left to the right. 01 02 03 12 13 14 20 21 so in your case the 1 is compared at the 1 of 10 and not at all the 10 value. 2007/5/18, ron : > On Friday 18 May 2007 00:38, nogueira_jr wrote: > > Fabien Bodard escreveu: > > > 2007/5/17, nogueira_jr : > > >> Hi All: > > >> > > >> Please, help me in the TableView: > > >> > > >> I use SQLite3 and my table have: > > >> codigo alfanumerico 13 > > >> preco float > > >> > > >> Problem 1: Tableview show the order: > > >> CODIGO > > >> 1 > > >> 10 > > >> 11 > > >> 2 > > >> 3 ..... > > >> > > >> I want the correct order: > > >> > > >> 1 > > >> 2 > > >> 3 > > >> .... > > >> 9 > > >> 10 > > >> 11 > > > > > > > > > use the sql statement : > > > "SELECT * FROM MyTable ORDER BY codigo > > Already I am using the ORDER BY codigo ..... > > ????? > > > > > > > Problem 2: Tableview show the alignment: > > > in the GridView1_Data event : > > > if Column=1 then GridView1.Data.Alignment=align.right > > OK Correct !!!!!!! > > Tks Fabien > > > > Nogueira > > > > > > > > for mysql see http://dev.mysql.com/doc/refman/5.0/en/string-functions.html > > http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat > > http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_right > > sqlite concat() I found this > http://www.mail-archive.com/sqlite-users%40sqlite.org/msg11086.html > > > http://en.wikibooks.org/wiki/SQL_dialects_reference/Functions_and_expressions/String_functions > Substring from string str, starting from start, length of len > SUBSTR() try SUBSTR(str, len[, start]) > > Length of string x (in characters) > LENGTH(x) > > String concatenate > arg1 || arg2 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From leandro_anthonioz at ...43... Fri May 18 15:32:37 2007 From: leandro_anthonioz at ...43... (Leandro Anthonioz Blanc) Date: Fri, 18 May 2007 06:32:37 -0700 (PDT) Subject: [Gambas-user] Congratulations and question Message-ID: <862574.64368.qm@...1697...> Hi! There are a lot of useful new features in version 1.9.49! Excellent work Benoit!!! Other: I'm trying to upload a Gambas application into www.gambasforge.net. However, I couldn't receive the activation account mail after register me. Anybody knows if user registration system works properly? Thank you very much! --------------------------------- Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. From gambas.fr at ...626... Fri May 18 15:48:14 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 18 May 2007 15:48:14 +0200 Subject: [Gambas-user] Congratulations and question In-Reply-To: <862574.64368.qm@...1697...> References: <862574.64368.qm@...1697...> Message-ID: <6324a42a0705180648m279da27dv1284e9d7b05085e0@...627...> this site is in standby. but i will rework on it in a couple of days. 2007/5/18, Leandro Anthonioz Blanc : > > Hi! There are a lot of useful new features in version 1.9.49! Excellent > work Benoit!!! > Other: I'm trying to upload a Gambas application into www.gambasforge.net. > However, I couldn't receive the activation account mail after register me. > Anybody knows if user registration system works properly? Thank you very > much! > > > > --------------------------------- > Get the Yahoo! toolbar and be alerted to new email wherever you're > surfing. > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri May 18 00:28:48 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 May 2007 00:28:48 +0200 Subject: [Gambas-user] Release of gambas 1.9.49 Message-ID: <200705180028.49266.gambas@...1...> Hi, The 1.9.49 release is out. Warning! The bytecode has changed, and so all projects must be recompiled. The main changes are: * SubVersion projects are fully supported. * The package creation wizard has been implemented. * You can "save as" a project in another directory. * The console window is now dockable. * One can specify that the size of controls in a form must not follow the default font size. * The compiler has been optimized, and is now twice faster as it was before. * TextEdit is a new rich-text editor control. * gb.desktop is a new component for desktop-agnostic functions based on the Portland project. Some important bug fixes in the interpreter: * Format$() deals with Variant arguments correctly. * Inheritance works correctly when classes are inherited in cascade more than three times. * STOP EVENT works correctly in any case. The interpreter got some little optimizations too. There are tons of other changes and bug fixes. As usually, do read the ChangeLog for more details! Regards, -- Benoit Minisini From leonardo at ...1237... Fri May 18 17:30:22 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Fri, 18 May 2007 17:30:22 +0200 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <200705180028.49266.gambas@...1...> References: <200705180028.49266.gambas@...1...> Message-ID: <464DC68E.2050503@...1237...> I've got a strange problem opening a project of mine. As you know, I've written a big program for the company I work in. Now I'm at home at wanted to look at the new Gambas version... When I've tried to open this program, Gambas said me that it was a Gambas 1.0 project.... Ok, "continue" I've told to Gambas. When it opened it, I've tried to recompike it but the interpreter told me that there was a missing component. So I've tried to open this form but I discovered that Gambas couldn't do it... and so on for several others... I decided to uninstall the 1.9.49 and come back to 1.9.48 but now I'm not able to open my project anymore.... When Gambas starts and displays the last projects, if I click on the above project, Gambas doesn't load it but shows me again the splash form... and so on for infinite clicks... What did it happen? -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From leonardo at ...1237... Fri May 18 17:41:30 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Fri, 18 May 2007 17:41:30 +0200 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <464DC68E.2050503@...1237...> References: <200705180028.49266.gambas@...1...> <464DC68E.2050503@...1237...> Message-ID: <464DC92A.5080509@...1237...> Update: I had a backup of the source of my program... :-P So I opened it with Gambas 1.9.48 and looked inside the forms that 1.9.48 didn't open. I found the problem: all of the forms contain the Datevalue box... OK, I've read the changelog and this control has been canceled but... how can I open my old projects from 1.9.49 if I cannot visualize the forms to change those removed controls? -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From wdahn at ...1000... Fri May 18 17:55:37 2007 From: wdahn at ...1000... (Werner) Date: Fri, 18 May 2007 23:55:37 +0800 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <464DC92A.5080509@...1237...> References: <200705180028.49266.gambas@...1...> <464DC68E.2050503@...1237...> <464DC92A.5080509@...1237...> Message-ID: <464DCC79.5080809@...1000...> Leonardo Miliani wrote: > Update: > I had a backup of the source of my program... :-P > So I opened it with Gambas 1.9.48 and looked inside the forms that > 1.9.48 didn't open. I found the problem: all of the forms contain the > Datevalue box... > > OK, I've read the changelog and this control has been canceled but... > how can I open my old projects from 1.9.49 if I cannot visualize the > forms to change those removed controls? > > Maybe you could edit the Form files with a text editor and remove the reference to these? Regards Werner From leandro_anthonioz at ...43... Fri May 18 18:03:00 2007 From: leandro_anthonioz at ...43... (Leandro Anthonioz Blanc) Date: Fri, 18 May 2007 09:03:00 -0700 (PDT) Subject: [Gambas-user] Congratulations and question Message-ID: <964493.16214.qm@...1699...> Thank you for the reply Fabien. I receive activation mail and upload the application in www.gambasforge.net. If anybody is interesed, the name of application is Splitux, and is a file splitter. Regards. Re: [Gambas-user] Congratulations and question From: Fabien Bodard - 2007-05-18 13:48 this site is in standby. but i will rework on it in a couple of days. 2007/5/18, Leandro Anthonioz Blanc : > > Hi! There are a lot of useful new features in version 1.9.49! Excellent > work Benoit!!! > Other: I'm trying to upload a Gambas application into http://www.gambasforge.net. > However, I couldn't receive the activation account mail after register me. > Anybody knows if user registration system works properly? Thank you very > much! --------------------------------- No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. From gambas at ...1... Fri May 18 18:37:37 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 May 2007 18:37:37 +0200 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <464DC92A.5080509@...1237...> References: <200705180028.49266.gambas@...1...> <464DC68E.2050503@...1237...> <464DC92A.5080509@...1237...> Message-ID: <200705181837.37649.gambas@...1...> On vendredi 18 mai 2007, Leonardo Miliani wrote: > Update: > I had a backup of the source of my program... :-P > So I opened it with Gambas 1.9.48 and looked inside the forms that > 1.9.48 didn't open. I found the problem: all of the forms contain the > Datevalue box... > > OK, I've read the changelog and this control has been canceled but... > how can I open my old projects from 1.9.49 if I cannot visualize the > forms to change those removed controls? Can you try the last SVN revision? Now old DateBox and TimeBox controls are automatically upgraded to the new ValueBox control when an old form is opened. Regards, -- Benoit Minisini From steven at ...1652... Fri May 18 22:34:41 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Fri, 18 May 2007 22:34:41 +0200 Subject: [Gambas-user] datefields revisited Message-ID: <200705182234.42088.steven@...1652...> Hi all, I still have a problem with datefields in an MySQL database. The field in the database is of type 'date' I only use db.exec to read and update etc. I handle the field in a normal text box. When I read a date from the database (written with an other program), it's ok, I get a textbox with dd/mm/yy in it, just what i want. ;-) But when i update the field, f.i. I change 17/05/07 into 18/05/07 and write it back into the database, i get written dd : 07, mm: 05 and yy : 18 The database then reads 7 may 2018. There's some logic here that escapes me. If I read it simply -direct - why cannot i write it back the same way ? Or do I convert the textbox.Text into a date value with a rather complex expression each time ? Steven From gambas at ...1... Fri May 18 22:41:08 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 May 2007 22:41:08 +0200 Subject: [Gambas-user] datefields revisited In-Reply-To: <200705182234.42088.steven@...1652...> References: <200705182234.42088.steven@...1652...> Message-ID: <200705182241.09000.gambas@...1...> On vendredi 18 mai 2007, Steven Lobbezoo wrote: > Hi all, > > I still have a problem with datefields in an MySQL database. > > The field in the database is of type 'date' > I only use db.exec to read and update etc. > I handle the field in a normal text box. > > When I read a date from the database (written with an other program), it's > ok, I get a textbox with dd/mm/yy in it, just what i want. ;-) > > But when i update the field, f.i. I change 17/05/07 into 18/05/07 and write > it back into the database, i get written dd : 07, mm: 05 and yy : 18 > The database then reads 7 may 2018. > > There's some logic here that escapes me. If I read it simply -direct - why > cannot i write it back the same way ? > Or do I convert the textbox.Text into a date value with a rather complex > expression each time ? > > Steven > How do you read the date? How do you write it? -- Benoit Minisini From steven at ...1652... Fri May 18 22:48:42 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Fri, 18 May 2007 22:48:42 +0200 Subject: [Gambas-user] datefields revisited In-Reply-To: <200705182241.09000.gambas@...1...> References: <200705182234.42088.steven@...1652...> <200705182241.09000.gambas@...1...> Message-ID: <200705182248.42776.steven@...1652...> Hi Benoit, I read the database, and fill fields like this : 1. Part of my form open : --------------------------------------------------------------------------------------------------- rsV = db.Exec("Select Ventes.*, agents.agent, agents1.agent as agent1, Prix_net, Comm_TTC, homes.type as Htype, " & "concat(Clients.Nom, ', ', Clients.Prenom) as NomV, Clients.No as NoV, Mandats.Date as MDate, Mandats.Fin as MFin, " & "concat(homes.address, '
', homes.zip, ' ', homes.city) as Haddr, Mandats.Servitudes, " & "concat(ifnull(Clients.Telephone, ''), ' - ', ifnull(Clients.Portable, ' '), ' - ', ifnull(Clients.Travail, ' ')) as TelephoneV, " & "concat(Clients.Adresse, '
', Clients.Code_Postal, ' ', Clients.Ville, '
', Clients.Pays) as AdresseV, " & "Clients.EMail as emailV, " & "concat(NotaireV.Nom, ' (', NotaireV.Ville, ')') as NomNotV, NotaireV.No as NoVN, " & "concat(ifnull(NotaireV.Telephone, ''), ' - ', ifnull(NotaireV.Portable, ' '), ' - ', ifnull(NotaireV.Travail, ' ')) as TelNotV, " & "NotaireV.EMail as EmailNotV, " & "concat(ClientsA.Nom, ', ', ClientsA.Prenom) as NomA, " & "concat(ifnull(ClientsA.Telephone, ''), ' - ', ifnull(ClientsA.Portable, ' '), ' - ', ifnull(ClientsA.Travail, ' ')) as TelephoneA, " & "concat(ClientsA.Adresse, '
', ClientsA.Code_Postal, ' ', ClientsA.Ville, '
', ClientsA.Pays) as AdresseA, " & "ClientsA.EMail as emailA, ClientsA.No as NoA, " & "concat(NotaireA.Nom, ' (', NotaireA.Ville, ')') as NomNotA, NotaireA.No as NoAN, " & "concat(ifnull(NotaireA.Telephone, ''), ' - ', ifnull(NotaireA.Portable, ' '), ' - ', ifnull(NotaireA.Travail, ' ')) as TelNotA, " & "NotaireA.EMail as EmailNotA " & "from Ventes, agents, Mandats, agents as agents1, Clients, Clients as NotaireV, Clients as ClientsA, " & "Clients as NotaireA, homes " & "where agents.id = Ventes.Commercial AND Mandats.Code = Ventes.Code_Mandat " & "AND Clients.No = Mandats.Proprio AND NotaireV.No = Ventes.Notaire_P " & "AND ClientsA.No = Ventes.Acheteur AND NotaireA.No = Ventes.Notaire_A " & "AND homes.title = Ventes.Code_Mandat " & "AND agents1.id = Mandats.Commercial AND Ventes.Code = " & Str(ME.Tag)) IF rsV.available THEN try_fill(rsV) ---------------------------------------------------------------------------------------------- And the try_fill routine : --------------------------------------------------------------------------------------------- PRIVATE SUB try_fill(rsV AS Result) ' try to fill the fields DIM tmp AS String DIM i AS Integer DIM ctrl AS Control DIM hResultField AS ResultField FOR EACH hResultField IN rsV.Fields tmp = hResultField.Name i = InStr(tmp, ".") IF i > 0 THEN tmp = Mid(tmp, i + 1) END IF TRY ctrl = ME.Controls[tmp] IF ctrl THEN IF ctrl.Tag = "cur" THEN Object.SetProperty(ctrl, "Tag", "") TRY Object.SetProperty(ctrl, "Text", Format$(rsV[ctrl.Name], "($,#)")) TRY Object.SetProperty(ctrl, "Tag", Format$(rsV[ctrl.Name], "($,#)")) ELSE TRY Object.SetProperty(ctrl, "Text", Str(rsV[ctrl.Name])) TRY Object.SetProperty(ctrl, "Tag", Str(rsV[ctrl.Name])) END IF END IF NEXT END ------------------------------------------------------------------------------------------------------- Here all is filled correctly Then, to write it back after changement by the user took place : ------------------------------------------------------------------------------------------------------- ' si tout est bien on fait comme suit : tmp = Str(ME.Tag) IF tmp = "" THEN tmp = 1 ' juste pour avoir les noms du champ rsA = db.Exec("select * from Ventes where Code = " & tmp) IF rsA.available THEN FOR EACH hResultField IN rsA.Fields tmp = hResultField.Name i = InStr(tmp, ".") IF i > 0 THEN tmp = Mid(tmp, i + 1) END IF FOR EACH ctrl IN ME.Controls IF ctrl.Name = tmp THEN IF ctrl.Tag <> ctrl.Text THEN ' ok, we've changed something, let's write it back IF SqlPrt THEN SqlPrt = SqlPrt & "," SqlPrt = SqlPrt & " " & Object.GetProperty(ctrl, "Name") & " = \"" & Object.GetProperty(ctrl, "Text") & "\" " END IF BREAK END IF NEXT NEXT END IF ' now we write something ' check that we have the minimum first i = 0 IF Code_Mandat.Text = "" THEN i = message.Error("Le code mandat est obligatoire", "Annuler", "R?essayer") ELSE IF Date.Text = "" THEN i = message.Error("Le date du compromis est obligatoire", "Annuler", "R?essayer") ELSE IF AA = "" THEN i = message.Error("Le date pr?vue pour l'acte authentique est obligatoire", "Annuler", "R?essayer") ELSE IF NomV = "" THEN i = message.Error("Le Propri?taire doir ?tre choisi", "Annuler", "R?essayer") ELSE IF NomA = "" THEN i = message.Error("L'acquireur doit ?tre choisi", "Annuler", "R?essayer") ELSE IF Prix_vendue = "" THEN i = message.Error("Le prix net de vente est obligatoire", "Annuler", "R?essayer") ELSE IF Comm_Vendue = "" THEN i = message.Error("Il est obligatoire d'entr?e notre commision", "Annuler", "R?essayer") END IF IF i = 1 THEN ' cancel button pressed ME.Close RETURN ELSE IF i = 2 RETURN END IF IF rsV THEN 'we have changed something on an existing set Oper = "UPDATE " SqlTrm = " Where Code = " & Str(ME.Tag) ELSE ' we migth want to add something Oper = "INSERT INTO " SqlTrm = ", Code = (SELECT MAX(Code) FROM Ventes) + 1 " END IF ' let's just do this direct and execute an SQL statement SqlStr = Oper & " Ventes SET" & SqlPrt & SqlTrm IF SqlPrt THEN rsA = db.Exec(SqlStr) END IF ------------------------------------------------------------------------------------------------------- And then the date is false :-( Steven Le vendredi 18 mai 2007 22:41, Benoit Minisini a ?crit?: > On vendredi 18 mai 2007, Steven Lobbezoo wrote: > > Hi all, > > > > I still have a problem with datefields in an MySQL database. > > > > The field in the database is of type 'date' > > I only use db.exec to read and update etc. > > I handle the field in a normal text box. > > > > When I read a date from the database (written with an other program), > > it's ok, I get a textbox with dd/mm/yy in it, just what i want. ;-) > > > > But when i update the field, f.i. I change 17/05/07 into 18/05/07 and > > write it back into the database, i get written dd : 07, mm: 05 and yy : > > 18 The database then reads 7 may 2018. > > > > There's some logic here that escapes me. If I read it simply -direct - > > why cannot i write it back the same way ? > > Or do I convert the textbox.Text into a date value with a rather complex > > expression each time ? > > > > Steven > > How do you read the date? How do you write it? From gambas.fr at ...626... Fri May 18 22:59:24 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 18 May 2007 22:59:24 +0200 Subject: [Gambas-user] gambasforge Message-ID: <6324a42a0705181359o5b90b255s88eae3fc96094716@...627...> HI to all the gambasian, I've re opened the site code of GambasForge, http://www.gambasforge.net run a new time. The download procedure work. Tel me about all the bugs all feature needs. Fabien Bodard From jcurlmail at ...31... Fri May 18 23:20:54 2007 From: jcurlmail at ...31... (Jason Curl) Date: Fri, 18 May 2007 23:20:54 +0200 Subject: [Gambas-user] gambasforge In-Reply-To: <6324a42a0705181359o5b90b255s88eae3fc96094716@...627...> References: <6324a42a0705181359o5b90b255s88eae3fc96094716@...627...> Message-ID: <464E18B6.9010800@...31...> Hi Fabien, I just checked the site and I see that the screenshots aren't working. I haven't logged in at all. I just get a cross that is where the picture should be. I've tried this on the first 5 projects and they're all the same. Also, another small but nonimportant thing is spelling. "Last 5 codes sended by ..." -> "Last 5 code snippets published by ..." "Sended the: ..." -> "Sent on the: ..." "Last connexion" -> "Last Connected" Regards, Jason. Fabien Bodard wrote: > HI to all the gambasian, > > > I've re opened the site code of GambasForge, > > http://www.gambasforge.net run a new time. > > The download procedure work. > > Tel me about all the bugs all feature needs. > > Fabien Bodard > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Fri May 18 23:41:12 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 18 May 2007 23:41:12 +0200 Subject: [Gambas-user] gambasforge In-Reply-To: <464E18B6.9010800@...31...> References: <6324a42a0705181359o5b90b255s88eae3fc96094716@...627...> <464E18B6.9010800@...31...> Message-ID: <6324a42a0705181441v43fc244br71c82bbd56897c67@...627...> i'm not a good english speller if you have others corrections... i'll take it ! what is you browser ? i've no problem with konqueror nor with firefox. 2007/5/18, Jason Curl : > > Hi Fabien, > > I just checked the site and I see that the screenshots aren't working. I > haven't logged in at all. I just get a cross that is where the picture > should be. I've tried this on the first 5 projects and they're all the > same. > > Also, another small but nonimportant thing is spelling. > "Last 5 codes sended by ..." -> "Last 5 code snippets published by ..." > "Sended the: ..." -> "Sent on the: ..." > "Last connexion" -> "Last Connected" > > Regards, > Jason. > > Fabien Bodard wrote: > > HI to all the gambasian, > > > > > > I've re opened the site code of GambasForge, > > > > http://www.gambasforge.net run a new time. > > > > The download procedure work. > > > > Tel me about all the bugs all feature needs. > > > > Fabien Bodard > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jcurlmail at ...31... Fri May 18 23:50:34 2007 From: jcurlmail at ...31... (Jason Curl) Date: Fri, 18 May 2007 23:50:34 +0200 Subject: [Gambas-user] gambasforge In-Reply-To: <6324a42a0705181441v43fc244br71c82bbd56897c67@...627...> References: <6324a42a0705181359o5b90b255s88eae3fc96094716@...627...> <464E18B6.9010800@...31...> <6324a42a0705181441v43fc244br71c82bbd56897c67@...627...> Message-ID: <464E1FAA.7050500@...31...> Fabien Bodard wrote: > i'm not a good english speller Macht nichts. My French isn't good either. German's getting better :) > > if you have others corrections... i'll take it ! I'll do my best. > > what is you browser ? > i've no problem with konqueror nor with firefox. I'm using Firefox 2.0x with Windows. I connect to my Linux computer remotely to program :) > > 2007/5/18, Jason Curl : >> Hi Fabien, >> >> I just checked the site and I see that the screenshots aren't working. I >> haven't logged in at all. I just get a cross that is where the picture >> should be. I've tried this on the first 5 projects and they're all the >> same. >> >> Also, another small but nonimportant thing is spelling. >> "Last 5 codes sended by ..." -> "Last 5 code snippets published by ..." >> "Sended the: ..." -> "Sent on the: ..." >> "Last connexion" -> "Last Connected" >> >> Regards, >> Jason. >> >> Fabien Bodard wrote: >>> HI to all the gambasian, >>> >>> >>> I've re opened the site code of GambasForge, >>> >>> http://www.gambasforge.net run a new time. >>> >>> The download procedure work. >>> >>> Tel me about all the bugs all feature needs. >>> >>> Fabien Bodard >>> >> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From leonardo at ...1237... Sat May 19 15:58:39 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Sat, 19 May 2007 15:58:39 +0200 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <200705181837.37649.gambas@...1...> References: <200705180028.49266.gambas@...1...> <464DC68E.2050503@...1237...> <464DC92A.5080509@...1237...> <200705181837.37649.gambas@...1...> Message-ID: <464F028F.40705@...1237...> Benoit Minisini ha scritto: > On vendredi 18 mai 2007, Leonardo Miliani wrote: >> Update: >> I had a backup of the source of my program... :-P >> So I opened it with Gambas 1.9.48 and looked inside the forms that >> 1.9.48 didn't open. I found the problem: all of the forms contain the >> Datevalue box... >> >> OK, I've read the changelog and this control has been canceled but... >> how can I open my old projects from 1.9.49 if I cannot visualize the >> forms to change those removed controls? > > Can you try the last SVN revision? > > Now old DateBox and TimeBox controls are automatically upgraded to the new > ValueBox control when an old form is opened. > > Regards, > It works only for converting the projects. But Gambas still has some problems to manage them because after the import, if I try to compile my project it says that it found an "unkown datebox component if FForm.Create. etc...", even if in the properties table they appear as the new type (ValueBox), as it didn't convert all the config files... -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From joe1962 at ...626... Sat May 19 18:25:24 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Sat, 19 May 2007 13:25:24 -0300 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <200705180028.49266.gambas@...1...> References: <200705180028.49266.gambas@...1...> Message-ID: <6c208f950705190925n5a9f2a58pb92545fd22cd95f4@...627...> On 5/17/07, Benoit Minisini wrote: > Hi, > > The 1.9.49 release is out. > For some reason, the source tarball will only uncompress to about 39 MB, instead of the somewhere around 100 MB of 1.9.48. I only realized this after building a package and testing it, as the IDE crashed while loading. I've tried another mirror in a different part of the planet :) and got the same problem. Anybody else had this issue? The tarball size looks right, sligtly bigger than 1.9.48, mc and ark don't give any errors. Hmm, maybe I should try tar... Regards, Joe1962 From jredrejo at ...626... Sun May 20 10:26:04 2007 From: jredrejo at ...626... (=?ISO-8859-1?Q?Jos=E9_Luis_Redrejo?=) Date: Sun, 20 May 2007 08:26:04 +0000 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <6c208f950705190925n5a9f2a58pb92545fd22cd95f4@...627...> References: <200705180028.49266.gambas@...1...> <6c208f950705190925n5a9f2a58pb92545fd22cd95f4@...627...> Message-ID: <8eb28a500705200126j1ba83fb2wa48a1464290bc62e@...627...> Not, You must have a problem with some cache or proxy. You can try to download it from http://ftp.debian.org/debian/pool/main/g/gambas2/gambas2_1.9.49.orig.tar.gz Regards. 2007/5/19, Jose J. Rodriguez : > > On 5/17/07, Benoit Minisini wrote: > > Hi, > > > > The 1.9.49 release is out. > > > > For some reason, the source tarball will only uncompress to about 39 > MB, instead of the somewhere around 100 MB of 1.9.48. I only realized > this after building a package and testing it, as the IDE crashed while > loading. I've tried another mirror in a different part of the planet > :) and got the same problem. Anybody else had this issue? The tarball > size looks right, sligtly bigger than 1.9.48, mc and ark don't give > any errors. Hmm, maybe I should try tar... > > Regards, > Joe1962 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joe1962 at ...626... Sun May 20 10:33:09 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Sun, 20 May 2007 05:33:09 -0300 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <8eb28a500705200126j1ba83fb2wa48a1464290bc62e@...627...> References: <200705180028.49266.gambas@...1...> <6c208f950705190925n5a9f2a58pb92545fd22cd95f4@...627...> <8eb28a500705200126j1ba83fb2wa48a1464290bc62e@...627...> Message-ID: <6c208f950705200133u65a1fa78g1ac327a1b63aec2e@...627...> On 5/20/07, Jos? Luis Redrejo wrote: > Not, You must have a problem with some cache or proxy. > You can try to download it from > http://ftp.debian.org/debian/pool/main/g/gambas2/gambas2_1.9.49.orig.tar.gz > Thanks for replying, but never mind. I got it from svn and after building, the package is really much smaller than 1.9.48. It then did not run either, so I dug deeper and there were permissions problems in /tmp (no idea how that happened!). After fixing them, 1.9.49 ran fine. I opened gmail to explain and your email was already here. I'm curious now as to how Benoit shrunk it so much... :). Regards, Joe1962 From gambas at ...1... Sun May 20 10:40:55 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 20 May 2007 10:40:55 +0200 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <6c208f950705200133u65a1fa78g1ac327a1b63aec2e@...627...> References: <200705180028.49266.gambas@...1...> <8eb28a500705200126j1ba83fb2wa48a1464290bc62e@...627...> <6c208f950705200133u65a1fa78g1ac327a1b63aec2e@...627...> Message-ID: <200705201040.55872.gambas@...1...> On dimanche 20 mai 2007, Jose J. Rodriguez wrote: > On 5/20/07, Jos? Luis Redrejo wrote: > > Not, You must have a problem with some cache or proxy. > > You can try to download it from > > http://ftp.debian.org/debian/pool/main/g/gambas2/gambas2_1.9.49.orig.tar. > >gz > > Thanks for replying, but never mind. I got it from svn and after > building, the package is really much smaller than 1.9.48. It then did > not run either, so I dug deeper and there were permissions problems in > /tmp (no idea how that happened!). After fixing them, 1.9.49 ran fine. > I opened gmail to explain and your email was already here. I'm curious > now as to how Benoit shrunk it so much... :). > > Regards, > Joe1962 > gambas2-1.9.49.tar.bz2 size is 8 163 780 bytes, and its md5sum is 0dd35587ebb571a5360b3dcbd5f5cf53 Regards, -- Benoit Minisini From steven at ...1652... Sun May 20 16:45:22 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Sun, 20 May 2007 16:45:22 +0200 Subject: [Gambas-user] datefields revisited In-Reply-To: <200705182248.42776.steven@...1652...> References: <200705182234.42088.steven@...1652...> <200705182241.09000.gambas@...1...> <200705182248.42776.steven@...1652...> Message-ID: <200705201645.22892.steven@...1652...> Hi Benoit, Did you have time to take a look at my problem ? Steven From eilert-sprachen at ...221... Mon May 21 09:12:45 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 21 May 2007 09:12:45 +0200 Subject: [Gambas-user] Some minor issues with 1.9.49 Message-ID: <4651466D.5040600@...221...> Good morning folks, Now at last I got 1.9.x running on my new Suse 10.2 machine. When I wanted to delete the 1.9.48 directory (you remember I had some compiling issues with it the other day), I found the directory had been created for a non-existing user and group - very strange. That's why it didn't compile, I think. Well, now it's 1.9.49, and this is running well. Two problems I had with it: When I created my very first project, it told me "this is a 1.0 version project, still open it?" I did and played around with it a bit, and when I wanted to call help by F2, Konqueror crashed. This is reproducable. Calling it by F1 lets it run without problems. Any ideas? Rolf From rospolosco at ...152... Mon May 21 10:11:22 2007 From: rospolosco at ...152... (Stefano Palmeri) Date: Mon, 21 May 2007 10:11:22 +0200 Subject: [Gambas-user] Some minor issues with 1.9.49 In-Reply-To: <4651466D.5040600@...221...> References: <4651466D.5040600@...221...> Message-ID: <200705211011.22570.rospolosco@...152...> Alle 09:12, luned? 21 maggio 2007, Rolf-Werner Eilert ha scritto: > When I created my very first project, it told me "this is a 1.0 version > project, still open it?" The same for me. Also, I opened a project that was totally developed with 1.9.x and got that warning. Stefano From eilert-sprachen at ...221... Mon May 21 10:41:02 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 21 May 2007 10:41:02 +0200 Subject: [Gambas-user] Some minor issues with 1.9.49 In-Reply-To: <200705211011.22570.rospolosco@...152...> References: <4651466D.5040600@...221...> <200705211011.22570.rospolosco@...152...> Message-ID: <46515B1E.9050506@...221...> Stefano Palmeri schrieb: > Alle 09:12, luned? 21 maggio 2007, Rolf-Werner Eilert ha scritto: >> When I created my very first project, it told me "this is a 1.0 version >> project, still open it?" > > The same for me. Also, I opened a project that was totally developed > with 1.9.x and got that warning. > > Stefano > When you open the form file with an editor, you'll find its version says "1.0". Don't know what is Benoit's reason for doing this, but obviously the program expects something else here :-) Rolf From gareth at ...1689... Mon May 21 12:19:58 2007 From: gareth at ...1689... (Gareth Bult) Date: Mon, 21 May 2007 11:19:58 +0100 (BST) Subject: [Gambas-user] Some minor issues with 1.9.49 In-Reply-To: <200705211011.22570.rospolosco@...152...> Message-ID: <20838059.75141179742798638.JavaMail.root@...1694...> I had the SVN version a couple of days before 1.9.49 came out .. Help box says 1.9.49 .. Same issue with some projects .. (although not a problem bar the message) ----- Original Message ----- From: "Stefano Palmeri" To: info at ...394..., "mailing list for gambas users" Sent: Monday, May 21, 2007 9:11:22 AM (GMT) Europe/London Subject: Re: [Gambas-user] Some minor issues with 1.9.49 Alle 09:12, luned? 21 maggio 2007, Rolf-Werner Eilert ha scritto: > When I created my very first project, it told me "this is a 1.0 version > project, still open it?" The same for me. Also, I opened a project that was totally developed with 1.9.x and got that warning. Stefano ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas at ...1... Mon May 21 20:27:56 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 21 May 2007 20:27:56 +0200 Subject: [Gambas-user] Some minor issues with 1.9.49 In-Reply-To: <4651466D.5040600@...221...> References: <4651466D.5040600@...221...> Message-ID: <200705212027.56274.gambas@...1...> On lundi 21 mai 2007, Rolf-Werner Eilert wrote: > Good morning folks, > > Now at last I got 1.9.x running on my new Suse 10.2 machine. > > When I wanted to delete the 1.9.48 directory (you remember I had some > compiling issues with it the other day), I found the directory had been > created for a non-existing user and group - very strange. That's why it > didn't compile, I think. Well, now it's 1.9.49, and this is running well. > > Two problems I had with it: > > When I created my very first project, it told me "this is a 1.0 version > project, still open it?" Now the IDE makes a difference between projects written with 1.0 and projects written with the future 2.0. But as it does that since 1.9.49, all projects written before 1.9.49 are considered as 1.0 projects. When opening an 1.0 project the IDE just displays the warning message you get, and if you continue, the '.project' file format is updated. That's all. Nothing else changes. > > I did and played around with it a bit, and when I wanted to call help by > F2, Konqueror crashed. If Konqueror crashes, then this is a bug in Konqueror. > This is reproducable. Calling it by F1 lets it > run without problems. I think it depends on the displayed page... Regards, -- Benoit Minisini From gambas at ...1... Mon May 21 21:05:36 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 21 May 2007 21:05:36 +0200 Subject: [Gambas-user] datefields revisited In-Reply-To: <200705201645.22892.steven@...1652...> References: <200705182234.42088.steven@...1652...> <200705182248.42776.steven@...1652...> <200705201645.22892.steven@...1652...> Message-ID: <200705212105.36618.gambas@...1...> On dimanche 20 mai 2007, Steven Lobbezoo wrote: > Hi Benoit, > > Did you have time to take a look at my problem ? > > > Steven > When I don't answer, it is usually because I don't have the time :-) Well, there are a lot of horrible things in your code. Your problem comes from the fact that you don't read and write dates the same way. To read the date, you use the Gambas Result object that returns a date, and the Str$() function that converts the date to its *localized* string full representation. But when writing the date, you make yourself the SQL request, by using a syntax that is not necessarily correct. You must know that SQL is a standard like Microsoft is a charity compagny. In other words, its syntax mainly depends on the underlying database system. And so I designed the gb.db component to find a workaround. And so you must use the "quoting" feature of the DB.Exec() method. Each time you must insert a value in a SQL request (a number, a date, a string...), you must use the "&X" string, where X is the index of the value, and then you pass the value as parameters to the Exec() method. For example, you must not do: DB.Exec("UPDATE Ventes SET Date = \"10/2/2007\" WHERE Id = 123456") But: DB.Exec("UPDATE Ventes SET Date = &1 WHERE Id = &2", TheDate, TheID) In your specific case, when everything is made dynamically, you must use the DB.Quote() function, that takes any value, and returns its string presentation in the format of the underlying database system. Finally, your date problem comes from the fact that usually SQL does not take a localized format of the date, but an american one. A last point: it is useless and slower to do Object.SetProperty(ctrl, "Tag", "xxx"). Just do ctrl.Tag = "xxx". If, of course, ctrl is an instance of a class that has a Tag property. Do not hesitate to read the documentation on the wiki. Regards, -- Benoit Minisini From juanramon at ...1546... Tue May 22 08:11:55 2007 From: juanramon at ...1546... (Juanra) Date: Tue, 22 May 2007 08:11:55 +0200 Subject: [Gambas-user] Install Gambas2 Ubuntu 7.04 Message-ID: <1179814315.3508.9.camel@...1700...> Hello, I want install Gambas2 in Ubuntu 7.04 but I am not find any repositories for apt-get. I am compiling Gambas2 of sources but I have a problem to execute ./configure -C. configure: WARNING: *** bzlib2 compression is disabled > configure: WARNING: *** MySQL driver is disabled > configure: WARNING: *** ODBC driver is disabled > configure: WARNING: *** SQLite 3 driver is disabled > configure: WARNING: *** firebird driver is disabled > configure: WARNING: *** GTK+ toolkit is disabled > configure: WARNING: *** GTK+ component is disabled > configure: WARNING: *** SVG loader for GTK+ is disabled I need the MYSQL driver for work, My English is not very good, sorry. Can you help me, please? From eilert-sprachen at ...221... Tue May 22 08:14:49 2007 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 22 May 2007 08:14:49 +0200 Subject: [Gambas-user] Some minor issues with 1.9.49 In-Reply-To: <200705212027.56274.gambas@...1...> References: <4651466D.5040600@...221...> <200705212027.56274.gambas@...1...> Message-ID: <46528A59.4000000@...221...> Benoit Minisini schrieb: > On lundi 21 mai 2007, Rolf-Werner Eilert wrote: >> Good morning folks, >> >> Now at last I got 1.9.x running on my new Suse 10.2 machine. >> >> When I created my very first project, it told me "this is a 1.0 version >> project, still open it?" > > Now the IDE makes a difference between projects written with 1.0 and projects > written with the future 2.0. But as it does that since 1.9.49, all projects > written before 1.9.49 are considered as 1.0 projects. Well, but this is a brand new machine, never made any Gambas project on it, so there is no 1.0 project left. And looking into the project file I created reveals "Version 1.0". That's why I asked... > > When opening an 1.0 project the IDE just displays the warning message you get, > and if you continue, the '.project' file format is updated. That's all. > Nothing else changes. Ok, but I didn't open a 1.0 project but had it create a new one. > >> I did and played around with it a bit, and when I wanted to call help by >> F2, Konqueror crashed. > > If Konqueror crashes, then this is a bug in Konqueror. > >> This is reproducable. Calling it by F1 lets it >> run without problems. > > I think it depends on the displayed page... > Alright, I'll go on trying to find out where it is stuck. By the way, I'm impressed by the good work Benoit. As I'm still working happily with the older 1.0 branch, I didn't have an impression of how far you proceeded with this stuff. Although I don't like MDI for programming, now that I've seen it I'm really looking forward to the official version. Regards Rolf From ronstk at ...239... Tue May 22 09:03:38 2007 From: ronstk at ...239... (ron) Date: Tue, 22 May 2007 09:03:38 +0200 Subject: [Gambas-user] Install Gambas2 Ubuntu 7.04 In-Reply-To: <1179814315.3508.9.camel@...1700...> References: <1179814315.3508.9.camel@...1700...> Message-ID: <200705220903.38395.ronstk@...239...> On Tuesday 22 May 2007 08:11, Juanra wrote: > > Hello, I want install Gambas2 in Ubuntu 7.04 but I am not find any > repositories for apt-get. > > I am compiling Gambas2 of sources but I have a problem to > execute ./configure -C. > > configure: WARNING: *** bzlib2 compression is disabled > > configure: WARNING: *** MySQL driver is disabled > > configure: WARNING: *** ODBC driver is disabled > > configure: WARNING: *** SQLite 3 driver is disabled > > configure: WARNING: *** firebird driver is disabled > > configure: WARNING: *** GTK+ toolkit is disabled > > configure: WARNING: *** GTK+ component is disabled > > configure: WARNING: *** SVG loader for GTK+ is disabled > > I need the MYSQL driver for work, > > My English is not very good, sorry. > > Can you help me, please? > http://gambasdoc.org/help choose 'Compilation & Installation' http://gambasdoc.org/help/install choose Ubuntu 7.04 (Feisty Fawn) http://gambasdoc.org/help/install/ubuntu Maybe this will help Ron From jdsantos1978 at ...626... Tue May 22 09:25:29 2007 From: jdsantos1978 at ...626... (Dani Santos) Date: Tue, 22 May 2007 09:25:29 +0200 Subject: [Gambas-user] Install Gambas2 Ubuntu 7.04 In-Reply-To: <1179814315.3508.9.camel@...1700...> References: <1179814315.3508.9.camel@...1700...> Message-ID: <12e18d6c0705220025s3b9f0fa3vadb1e9e84ac2c233@...627...> Hello Juanra. I cannot assure you but you could probe with LinEx repositories. They hold, currently, Gambas2 version 1.9.47. These are: deb http://apt.linex.org/linex2006 sarge linex2006 # gnuLinEx 2006 Un saludillo :) 2007/5/22, Juanra : > > > Hello, I want install Gambas2 in Ubuntu 7.04 but I am not find any > repositories for apt-get. > > I am compiling Gambas2 of sources but I have a problem to > execute ./configure -C. > > configure: WARNING: *** bzlib2 compression is disabled > > configure: WARNING: *** MySQL driver is disabled > > configure: WARNING: *** ODBC driver is disabled > > configure: WARNING: *** SQLite 3 driver is disabled > > configure: WARNING: *** firebird driver is disabled > > configure: WARNING: *** GTK+ toolkit is disabled > > configure: WARNING: *** GTK+ component is disabled > > configure: WARNING: *** SVG loader for GTK+ is disabled > > I need the MYSQL driver for work, > > My English is not very good, sorry. > > Can you help me, please? > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From samuel.derous at ...1701... Tue May 22 13:16:06 2007 From: samuel.derous at ...1701... (Samuel Derous) Date: Tue, 22 May 2007 13:16:06 +0200 Subject: [Gambas-user] interesting articles Message-ID: <20070522110937.4A0BD23F79@...1702...> For an assignment for school (French class) I need to discuss three articles in the topic of computerscience. I have decided to talk about gambas. So if any one know an interesting article in French here on the net, let me please know. Thanks Yours faithfully, Samuel From juanramon at ...1546... Tue May 22 13:58:09 2007 From: juanramon at ...1546... (Juanra) Date: Tue, 22 May 2007 13:58:09 +0200 Subject: [Gambas-user] Install Gambas2 Ubuntu 7.04 In-Reply-To: <12e18d6c0705220025s3b9f0fa3vadb1e9e84ac2c233@...627...> References: <1179814315.3508.9.camel@...1700...> <12e18d6c0705220025s3b9f0fa3vadb1e9e84ac2c233@...627...> Message-ID: <1179835089.3508.45.camel@...1700...> Hola Dani! El repositorio deb http://apt.linex.org/linex2006 sarge linex2006 no funciona. lo a?ades al sources.list y al hacer un update no puede resolverlo. Yo lo tenia puesto ya en mi otra m?quina debian cuando instal? Gambas2 y antes funcionaba, ahora he hecho un update y tampoco puede resolverlo aqu?. Se te ocurre alguna otra forma de instalar Gambas2 en Ubuntu 7.04, compil?ndolo de las fuentes, por ejemplo, y que no me salgan los errores:?? configure: WARNING: *** bzlib2 compression is disabled configure: WARNING: *** MySQL driver is disabled configure: WARNING: *** ODBC driver is disabled configure: WARNING: *** SQLite 3 driver is disabled configure: WARNING: *** firebird driver is disabled configure: WARNING: *** GTK+ toolkit is disabled configure: WARNING: *** GTK+ component is disabled configure: WARNING: *** SVG loader for GTK+ is disabled gracias Saludos..:) From paolo at ...813... Tue May 22 13:59:03 2007 From: paolo at ...813... (Paolo Saudin) Date: Tue, 22 May 2007 13:59:03 +0200 Subject: [Gambas-user] R: Install Gambas2 Ubuntu 7.04 In-Reply-To: <1179814315.3508.9.camel@...1700...> References: <1179814315.3508.9.camel@...1700...> Message-ID: <002201c79c68$97d355d0$c77a0170$@it> I installed gambas2 on Ubuntu 7.04 just two days ago: Try to run the following before executing ./configure -C: sudo apt-get update sudo apt-get install libmysql++-dev Paolo -----Messaggio originale----- Da: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user-bounces at lists.sourceforge.net] Per conto di Juanra Inviato: marted? 22 maggio 2007 8.12 A: Gambas-user at lists.sourceforge.net Oggetto: [Gambas-user] Install Gambas2 Ubuntu 7.04 Hello, I want install Gambas2 in Ubuntu 7.04 but I am not find any repositories for apt-get. I am compiling Gambas2 of sources but I have a problem to execute ./configure -C. configure: WARNING: *** bzlib2 compression is disabled > configure: WARNING: *** MySQL driver is disabled > configure: WARNING: *** ODBC driver is disabled > configure: WARNING: *** SQLite 3 driver is disabled > configure: WARNING: *** firebird driver is disabled > configure: WARNING: *** GTK+ toolkit is disabled > configure: WARNING: *** GTK+ component is disabled > configure: WARNING: *** SVG loader for GTK+ is disabled I need the MYSQL driver for work, My English is not very good, sorry. Can you help me, please? ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue May 22 15:24:24 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 22 May 2007 15:24:24 +0200 Subject: [Gambas-user] Some minor issues with 1.9.49 In-Reply-To: <46528A59.4000000@...221...> References: <4651466D.5040600@...221...> <200705212027.56274.gambas@...1...> <46528A59.4000000@...221...> Message-ID: <200705221524.25079.gambas@...1...> On mardi 22 mai 2007, Rolf-Werner Eilert wrote: > Benoit Minisini schrieb: > > On lundi 21 mai 2007, Rolf-Werner Eilert wrote: > >> Good morning folks, > >> > >> Now at last I got 1.9.x running on my new Suse 10.2 machine. > >> > >> When I created my very first project, it told me "this is a 1.0 version > >> project, still open it?" > > > > Now the IDE makes a difference between projects written with 1.0 and > > projects written with the future 2.0. But as it does that since 1.9.49, > > all projects written before 1.9.49 are considered as 1.0 projects. > > Well, but this is a brand new machine, never made any Gambas project on > it, so there is no 1.0 project left. And looking into the project file I > created reveals "Version 1.0". That's why I asked... > > > When opening an 1.0 project the IDE just displays the warning message you > > get, and if you continue, the '.project' file format is updated. That's > > all. Nothing else changes. > > Ok, but I didn't open a 1.0 project but had it create a new one. Oops. I fix that... Regards, -- Benoit Minisini From wspinto at ...1405... Tue May 22 21:06:21 2007 From: wspinto at ...1405... (Wellington de Souza Pinto) Date: Tue, 22 May 2007 16:06:21 -0300 Subject: [Gambas-user] UDPCLient not return correct ips Message-ID: <1179860781.46533f2d5048f@...1418...> Hi everyone! UDPCLient.Peek(), UDPCLient.SourcePort and UDPCLient.SourceHost not return the correct ip i'm use UDPCLient.TargetPort = 32340 and UDPCLient.TargetHost = "192.168.0.254" and conect with UDPCLient.Bind(0). Please Helps. Reguards, Wellington ___________________________________________________________________________________ Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem tarifas muito baratas esperando por voc?. Aproveite! From dcamposf at ...626... Tue May 22 22:04:33 2007 From: dcamposf at ...626... (Daniel Campos) Date: Tue, 22 May 2007 22:04:33 +0200 Subject: [Gambas-user] UDPCLient not return correct ips In-Reply-To: <1179860781.46533f2d5048f@...1418...> References: <1179860781.46533f2d5048f@...1418...> Message-ID: <7259b5ae0705221304i5f9098c1h2159526cb805fd47@...627...> Can you send any code? Daniel 2007/5/22, Wellington de Souza Pinto : > Hi everyone! > > UDPCLient.Peek(), UDPCLient.SourcePort and UDPCLient.SourceHost not return the > correct ip > i'm use UDPCLient.TargetPort = 32340 and UDPCLient.TargetHost = "192.168.0.254" > and conect with UDPCLient.Bind(0). > > Please Helps. > > Reguards, > > Wellington > ___________________________________________________________________________________ > Para fazer uma liga??o DDD pra perto ou pra longe, faz um 21. A Embratel tem > tarifas muito baratas esperando por voc?. Aproveite! > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From handriolijr at ...626... Wed May 23 19:29:00 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Wed, 23 May 2007 14:29:00 -0300 Subject: [Gambas-user] Removing lines (rows) from GridView Message-ID: Hi there, how can i remove lines (rows) fron a gridview? Please... Hamilton From Brazil From gareth at ...1689... Wed May 23 19:47:37 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 23 May 2007 18:47:37 +0100 (BST) Subject: [Gambas-user] Removing lines (rows) from GridView In-Reply-To: Message-ID: <19794031.76621179942457301.JavaMail.root@...1694...> Hi, Assuming (!) you're filling the grid with the Data event; grid.Rows.Count -= 1 :-) Gareth. ----- Original Message ----- From: "Hamilton Geminiano Andrioli Junior" To: gambas-user at lists.sourceforge.net Sent: Wednesday, May 23, 2007 6:29:00 PM (GMT) Europe/London Subject: [Gambas-user] Removing lines (rows) from GridView Hi there, how can i remove lines (rows) fron a gridview? Please... Hamilton From Brazil ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From handriolijr at ...626... Wed May 23 20:08:00 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Wed, 23 May 2007 15:08:00 -0300 Subject: [Gambas-user] Removing lines (rows) from GridView In-Reply-To: <19794031.76621179942457301.JavaMail.root@...1694...> References: <19794031.76621179942457301.JavaMail.root@...1694...> Message-ID: <5E0083EA270343C88C98661D74573E8E@...1703...> No i have a grid filled, and i need do remove a line clicked bay the user.... how? ----- Original Message ----- From: "Gareth Bult" To: "mailing list for gambas users" Sent: Wednesday, May 23, 2007 2:47 PM Subject: Re: [Gambas-user] Removing lines (rows) from GridView > Hi, > > Assuming (!) you're filling the grid with the Data event; > > grid.Rows.Count -= 1 > > :-) > > Gareth. > > ----- Original Message ----- > From: "Hamilton Geminiano Andrioli Junior" > To: gambas-user at lists.sourceforge.net > Sent: Wednesday, May 23, 2007 6:29:00 PM (GMT) Europe/London > Subject: [Gambas-user] Removing lines (rows) from GridView > > Hi there, how can i remove lines (rows) fron a gridview? > Please... > > > Hamilton From Brazil > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > -- > Gareth Bult, Encryptec Limited > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > Email: gareth at ...1689... > > Statements made are at all times subject to Encryptec's Terms and > Conditions of Business, which are available upon request. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Wed May 23 20:36:34 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Wed, 23 May 2007 20:36:34 +0200 Subject: [Gambas-user] Removing lines (rows) from GridView In-Reply-To: <5E0083EA270343C88C98661D74573E8E@...1703...> References: <19794031.76621179942457301.JavaMail.root@...1694...> <5E0083EA270343C88C98661D74573E8E@...1703...> Message-ID: <200705232036.34706.steven@...1652...> Hi, I did this : DIM r AS Integer ? WITH GridView1 ? ? FOR r = .Row TO .Rows.Count - 2 ? ? ? GridView1[r, 0].Text = GridView1[r + 1, 0].Text ? ? ? GridView1[r, 1].Text = GridView1[r + 1, 1].Text ? ? ? GridView1[r, 2].Text = GridView1[r + 1, 2].Text ? ? ? GridView1[r, 3].Text = GridView1[r + 1, 3].Text ? ? ? GridView1[r, 4].Text = GridView1[r + 1, 4].Text ? ? ? GridView1[r, 5].Text = GridView1[r + 1, 5].Text ? ? NEXT ? ? .Rows.Count = .Rows.Count - 1 ? END WITH Steven Le mercredi 23 mai 2007 20:08, Hamilton Geminiano Andrioli Junior a ?crit?: > No i have a grid filled, and i need do remove a line clicked bay the > user.... > > how? > > > ----- Original Message ----- > From: "Gareth Bult" > To: "mailing list for gambas users" > Sent: Wednesday, May 23, 2007 2:47 PM > Subject: Re: [Gambas-user] Removing lines (rows) from GridView > > > Hi, > > > > Assuming (!) you're filling the grid with the Data event; > > > > grid.Rows.Count -= 1 > > > > :-) > > > > Gareth. > > > > ----- Original Message ----- > > From: "Hamilton Geminiano Andrioli Junior" > > To: gambas-user at lists.sourceforge.net > > Sent: Wednesday, May 23, 2007 6:29:00 PM (GMT) Europe/London > > Subject: [Gambas-user] Removing lines (rows) from GridView > > > > Hi there, how can i remove lines (rows) fron a gridview? > > Please... > > > > > > Hamilton From Brazil > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > > Gareth Bult, Encryptec Limited > > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > > Email: gareth at ...1689... > > > > Statements made are at all times subject to Encryptec's Terms and > > Conditions of Business, which are available upon request. > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Wed May 23 20:39:32 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Wed, 23 May 2007 20:39:32 +0200 Subject: [Gambas-user] datefields revisited In-Reply-To: <200705212105.36618.gambas@...1...> References: <200705182234.42088.steven@...1652...> <200705201645.22892.steven@...1652...> <200705212105.36618.gambas@...1...> Message-ID: <200705232039.32996.steven@...1652...> Well You allso be drunk, or play with your new footbal, or ... whatever ;-) Seriously : point well taken , i'll redo my code (sighh) Thanks, Steven Le lundi 21 mai 2007 21:05, Benoit Minisini a ?crit?: > On dimanche 20 mai 2007, Steven Lobbezoo wrote: > > Hi Benoit, > > > > Did you have time to take a look at my problem ? > > > > > > Steven > > When I don't answer, it is usually because I don't have the time :-) > > Well, there are a lot of horrible things in your code. > > Your problem comes from the fact that you don't read and write dates the > same way. > > To read the date, you use the Gambas Result object that returns a date, and > the Str$() function that converts the date to its *localized* string full > representation. > > But when writing the date, you make yourself the SQL request, by using a > syntax that is not necessarily correct. > > You must know that SQL is a standard like Microsoft is a charity compagny. > In other words, its syntax mainly depends on the underlying database > system. And so I designed the gb.db component to find a workaround. > > And so you must use the "quoting" feature of the DB.Exec() method. Each > time you must insert a value in a SQL request (a number, a date, a > string...), you must use the "&X" string, where X is the index of the > value, and then you pass the value as parameters to the Exec() method. > > For example, you must not do: > > DB.Exec("UPDATE Ventes SET Date = \"10/2/2007\" WHERE Id = 123456") > > But: > > DB.Exec("UPDATE Ventes SET Date = &1 WHERE Id = &2", TheDate, TheID) > > In your specific case, when everything is made dynamically, you must use > the DB.Quote() function, that takes any value, and returns its string > presentation in the format of the underlying database system. > > Finally, your date problem comes from the fact that usually SQL does not > take a localized format of the date, but an american one. > > A last point: it is useless and slower to do > Object.SetProperty(ctrl, "Tag", "xxx"). Just do ctrl.Tag = "xxx". If, of > course, ctrl is an instance of a class that has a Tag property. > > Do not hesitate to read the documentation on the wiki. > > Regards, From timothy.marshal-nichols at ...247... Thu May 24 09:30:56 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Thu, 24 May 2007 08:30:56 +0100 Subject: [Gambas-user] Removing lines (rows) from GridView In-Reply-To: <200705232036.34706.steven@...1652...> Message-ID: <000001c79dd5$7c03b0c0$6401a8c0@...1587...> For the more general case you might look at my 01 May 2007 entry at http://www.nabble.com/Gridview-delete-row-tf3672211.html Thanks 8-{)} Timothy Marshal-Nichols > -----Original Message----- > From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user- > bounces at lists.sourceforge.net] On Behalf Of Steven Lobbezoo > Sent: Wednesday, 23 May 2007 07:37 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Removing lines (rows) from GridView > > Hi, > I did this : > DIM r AS Integer > > ? WITH GridView1 > ? ? FOR r = .Row TO .Rows.Count - 2 > ? ? ? GridView1[r, 0].Text = GridView1[r + 1, 0].Text > ? ? ? GridView1[r, 1].Text = GridView1[r + 1, 1].Text > ? ? ? GridView1[r, 2].Text = GridView1[r + 1, 2].Text > ? ? ? GridView1[r, 3].Text = GridView1[r + 1, 3].Text > ? ? ? GridView1[r, 4].Text = GridView1[r + 1, 4].Text > ? ? ? GridView1[r, 5].Text = GridView1[r + 1, 5].Text > ? ? NEXT > ? ? .Rows.Count = .Rows.Count - 1 > ? END WITH > > Steven > > Le mercredi 23 mai 2007 20:08, Hamilton Geminiano Andrioli Junior a > ?crit?: > > No i have a grid filled, and i need do remove a line clicked bay the > > user.... > > > > how? > > From timothy.marshal-nichols at ...247... Thu May 24 11:08:56 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Thu, 24 May 2007 10:08:56 +0100 Subject: [Gambas-user] TextEdit will not link Message-ID: <000001c79de3$2d097500$6401a8c0@...1587...> Hello, The problem is I have a help system in a few applications of mine that used to provide multi page help using a TextView and some HTML files. It is now unusable. In the past the user clicked on a HTML link and this fired the TextView_Link(Path AS String) event. You could then use the Path to load the relevant HTML page. The TextView has now been replaced with the TextEdit. While it displays HTML links it will not fire an event when they are clicked upon. Hence the help system in a number of my applications is useless. If in the next version of Gambas the TextEdit was to re-gain this functionality then I could live with this. Or is there any other way around this? The TextEdit looks like it could be a useful control. But at the moment I am a bit annoyed with it because I have lost some important functionality. Thanks 8-{)} Timothy Marshal-Nichols From gareth at ...1689... Thu May 24 13:08:24 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 24 May 2007 12:08:24 +0100 (BST) Subject: [Gambas-user] Globally available Gambas components Message-ID: <29158046.77011180004904184.JavaMail.root@...1694...> Hi, I'm having real problems "distributing" Gambas written components to other machines. Can you tell me where I should put a compiled Gambas component to make it globally available to all users on a machine ? ~/.local/lib/gambas2 is ok for testing, but not so good when I have to install it for 30 users .. :( Thanks, Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From handriolijr at ...626... Thu May 24 14:32:06 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Thu, 24 May 2007 09:32:06 -0300 Subject: [Gambas-user] Removing lines (rows) from GridView In-Reply-To: <200705232036.34706.steven@...1652...> References: <19794031.76621179942457301.JavaMail.root@...1694...><5E0083EA270343C88C98661D74573E8E@...1703...> <200705232036.34706.steven@...1652...> Message-ID: Thanks Steve! You saved my life again!!! ----- Original Message ----- From: "Steven Lobbezoo" To: "mailing list for gambas users" Sent: Wednesday, May 23, 2007 3:36 PM Subject: Re: [Gambas-user] Removing lines (rows) from GridView Hi, I did this : DIM r AS Integer WITH GridView1 FOR r = .Row TO .Rows.Count - 2 GridView1[r, 0].Text = GridView1[r + 1, 0].Text GridView1[r, 1].Text = GridView1[r + 1, 1].Text GridView1[r, 2].Text = GridView1[r + 1, 2].Text GridView1[r, 3].Text = GridView1[r + 1, 3].Text GridView1[r, 4].Text = GridView1[r + 1, 4].Text GridView1[r, 5].Text = GridView1[r + 1, 5].Text NEXT .Rows.Count = .Rows.Count - 1 END WITH Steven Le mercredi 23 mai 2007 20:08, Hamilton Geminiano Andrioli Junior a ?crit : > No i have a grid filled, and i need do remove a line clicked bay the > user.... > > how? > > > ----- Original Message ----- > From: "Gareth Bult" > To: "mailing list for gambas users" > Sent: Wednesday, May 23, 2007 2:47 PM > Subject: Re: [Gambas-user] Removing lines (rows) from GridView > > > Hi, > > > > Assuming (!) you're filling the grid with the Data event; > > > > grid.Rows.Count -= 1 > > > > :-) > > > > Gareth. > > > > ----- Original Message ----- > > From: "Hamilton Geminiano Andrioli Junior" > > To: gambas-user at lists.sourceforge.net > > Sent: Wednesday, May 23, 2007 6:29:00 PM (GMT) Europe/London > > Subject: [Gambas-user] Removing lines (rows) from GridView > > > > Hi there, how can i remove lines (rows) fron a gridview? > > Please... > > > > > > Hamilton From Brazil > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > > Gareth Bult, Encryptec Limited > > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > > Email: gareth at ...1689... > > > > Statements made are at all times subject to Encryptec's Terms and > > Conditions of Business, which are available upon request. > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From handriolijr at ...626... Thu May 24 14:34:36 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Thu, 24 May 2007 09:34:36 -0300 Subject: [Gambas-user] Reports... Message-ID: Hey all, it's me again. I need to make reports of a database Well, i wanna know about the gb.report component... How it works? What kind of reports i can do? What the limitations? And how to program a report, to export as PDF and send it by e-mail (attached) via GAMBAS??? Thanks a lot! From akhsani_eng at ...103... Fri May 25 01:11:48 2007 From: akhsani_eng at ...103... (ali akhsani) Date: Fri, 25 May 2007 06:11:48 +0700 Subject: [Gambas-user] Welcome to the "Gambas-user" mailing list (Digest mode) In-Reply-To: References: Message-ID: On Thu, 24 May 2007 07:58:57 -0700 gambas-user-request at lists.sourceforge.net wrote: > Welcome to the Gambas-user at lists.sourceforge.net mailing >list! > > To post to this list, send your email to: > > gambas-user at lists.sourceforge.net > > General information about the mailing list is at: > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > If you ever want to unsubscribe or change your options >(eg, switch to > or from digest mode, change your password, etc.), visit >your > subscription page at: > > https://lists.sourceforge.net/lists/options/gambas-user/akhsani_eng%40telkom.net > > > You can also make such adjustments via email by sending >a message to: > > Gambas-user-request at lists.sourceforge.net > > with the word `help' in the subject or body (don't >include the > quotes), and you will get back a message with >instructions. > > You must know your password to change your options >(including changing > the password, itself) or to unsubscribe. It is: > > 123456 > > Normally, Mailman will remind you of your >lists.sourceforge.net > mailing list passwords once every month, although you >can disable this > if you prefer. This reminder will also include >instructions on how to > unsubscribe or change your account options. There is >also a button on > your options page that will email your current password >to you. ======================================================================================== Mari bergabung dalam e-community kami di www.manggamuda.com. Kamu akan bertemu teman-teman baru, berbagi cerita, mendapatkan info-info menarik dan masih banyak lagi hal-hal menarik lainnya. Tunggu apa lagi, buruan ke ManggaMuda!!! See you there :) ======================================================================================== From ronstk at ...239... Fri May 25 07:19:32 2007 From: ronstk at ...239... (ron) Date: Fri, 25 May 2007 07:19:32 +0200 Subject: [Gambas-user] Globally available Gambas components In-Reply-To: <29158046.77011180004904184.JavaMail.root@...1694...> References: <29158046.77011180004904184.JavaMail.root@...1694...> Message-ID: <200705250719.33030.ronstk@...239...> On Thursday 24 May 2007 13:08, Gareth Bult wrote: > Hi, > > I'm having real problems "distributing" Gambas written components to other machines. > > Can you tell me where I should put a compiled Gambas component to make it globally available to all users on a machine ? > > ~/.local/lib/gambas2 is ok for testing, but not so good when I have to install it for 30 users .. :( > > Thanks, > Gareth. > > I did it by ./configure -C --prefix=/opt/gambas make make install When it was ready I renamed te gambas directory to gambas47 and make a symlink /opt/gambas -> /opt/gambas47 As a new version arives remove the symlink ./configure -C --prefix=/opt/gambas make make install and same with but then /opt/gambas48 The nice part is if the new not working or you can put the symlink to the old working version. Ron From gareth at ...1689... Fri May 25 11:23:47 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 25 May 2007 10:23:47 +0100 (BST) Subject: [Gambas-user] Globally available Gambas components In-Reply-To: <200705250719.33030.ronstk@...239...> Message-ID: <232789.77971180085027426.JavaMail.root@...1694...> Ok, I'm missing something here .. I'm talking about components written in Gambas (as opposed to "C") .. Which should have nothing to do with compiling gambas itself .. (!) ?? Gareth. ----- Original Message ----- From: "ron" To: "mailing list for gambas users" Sent: Friday, May 25, 2007 6:19:32 AM (GMT) Europe/London Subject: Re: [Gambas-user] Globally available Gambas components On Thursday 24 May 2007 13:08, Gareth Bult wrote: > Hi, > > I'm having real problems "distributing" Gambas written components to other machines. > > Can you tell me where I should put a compiled Gambas component to make it globally available to all users on a machine ? > > ~/.local/lib/gambas2 is ok for testing, but not so good when I have to install it for 30 users .. :( > > Thanks, > Gareth. > > I did it by ./configure -C --prefix=/opt/gambas make make install When it was ready I renamed te gambas directory to gambas47 and make a symlink /opt/gambas -> /opt/gambas47 As a new version arives remove the symlink ./configure -C --prefix=/opt/gambas make make install and same with but then /opt/gambas48 The nice part is if the new not working or you can put the symlink to the old working version. Ron ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From ronstk at ...239... Fri May 25 12:08:00 2007 From: ronstk at ...239... (ron) Date: Fri, 25 May 2007 12:08:00 +0200 Subject: [Gambas-user] Globally available Gambas components In-Reply-To: <232789.77971180085027426.JavaMail.root@...1694...> References: <232789.77971180085027426.JavaMail.root@...1694...> Message-ID: <200705251208.00481.ronstk@...239...> On Friday 25 May 2007 11:23, Gareth Bult wrote: > Ok, I'm missing something here .. > > I'm talking about components written in Gambas (as opposed to "C") .. > Which should have nothing to do with compiling gambas itself .. (!) > > ?? > > Gareth. > No you did not miss something but I did :( the components. Is it not possible to create the components (also) in i.e. /opt/gambas/components ? I assume you are now work with your home dir (~) as base path. I use the trick to put all in /opt/gambas so the /usr path is not globbered with all of gambas, it was in SuSE all together in one directory. Easy to put with symlink everywhere. I did the development in /opt/gambas/programs and most of it I did like the well organized single place with all of gambas. Ron From rospolosco at ...152... Fri May 25 12:27:54 2007 From: rospolosco at ...152... (rospolosco at ...152...) Date: Fri, 25 May 2007 12:27:54 +0200 Subject: [Gambas-user] Globally available Gambas components In-Reply-To: <29158046.77011180004904184.JavaMail.root@...1694...> References: <29158046.77011180004904184.JavaMail.root@...1694...> Message-ID: <200705251227.54969.rospolosco@...152...> Alle 13:08, gioved? 24 maggio 2007, Gareth Bult ha scritto: > Hi, > > I'm having real problems "distributing" Gambas written components to other > machines. > > Can you tell me where I should put a compiled Gambas component to make it > globally available to all users on a machine ? > > ~/.local/lib/gambas2 is ok for testing, but not so good when I have to > install it for 30 users .. :( > > Thanks, > Gareth. Hi, it seems the Component.UserPath is set to ~/.local/lib/gambas2 at the moment, and this is the only path where Gambas looks for user components. As a temp workaround, you could put your component in the source of your application (i.e create a MyComponent folder in your application source and put there the component). Then add some code lines in your application to make it copy MyComponent/* in ~/.local/lib/gambas2 at startup. Stefano From chrism at ...1648... Fri May 25 12:56:12 2007 From: chrism at ...1648... (Chris Malton) Date: Fri, 25 May 2007 11:56:12 +0100 Subject: [Gambas-user] HTTPS support Message-ID: <4656C0CC.3040700@...1648...> Hello, I know Gambas supports HTTPClient component (based on Curl). Does that component also support HTTPS, or is HTTPS not yet implemented? Thanks in advance. Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2146 bytes Desc: S/MIME Cryptographic Signature URL: From handriolijr at ...626... Fri May 25 13:26:49 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Fri, 25 May 2007 08:26:49 -0300 Subject: [Gambas-user] How to run a program compiled in gambas in another machine without gambas installed? Message-ID: <5FB180C3516F42EFA6B0E0C1134A48E5@...1703...> How can i run my programs, in another machine, without the gambas installed? Which files i have to copy? how to make a launcher? help me.. please! Hamilton From handriolijr at ...626... Fri May 25 14:59:01 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Fri, 25 May 2007 09:59:01 -0300 Subject: [Gambas-user] Error compiling SVN 392... Message-ID: the configure is ok... administrador at ...1706...:~/trunk$ sudo make make all-recursive make[1]: Entrando no diret??rio `/home/administrador/trunk' Making all in main make[2]: Entrando no diret??rio `/home/administrador/trunk/main' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/main' Making all in libltdl make[4]: Entrando no diret??rio `/home/administrador/trunk/main/libltdl' make all-am make[5]: Entrando no diret??rio `/home/administrador/trunk/main/libltdl' /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -O2 -c -o ltdl.lo ltdl.c gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o gcc -DHAVE_CONFIG_H -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl rm -fr .libs/libltdlc.a .libs/libltdlc.la ar cru .libs/libltdlc.a .libs/ltdl.o ranlib .libs/libltdlc.a creating libltdlc.la (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) make[5]: Saindo do diret??rio `/home/administrador/trunk/main/libltdl' make[4]: Saindo do diret??rio `/home/administrador/trunk/main/libltdl' Making all in gbx make[4]: Entrando no diret??rio `/home/administrador/trunk/main/gbx' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/main/gbx' Making all in gbc make[4]: Entrando no diret??rio `/home/administrador/trunk/main/gbc' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/main/gbc' Making all in lib make[4]: Entrando no diret??rio `/home/administrador/trunk/main/lib' Making all in debug make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/debug' make[5]: Nada a ser feito para `all'. make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/debug' Making all in eval make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/eval' make[5]: Nada a ser feito para `all'. make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/eval' Making all in db make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/db' make[5]: Nada a ser feito para `all'. make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/db' Making all in compress make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/compress' make[5]: Nada a ser feito para `all'. make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/compress' Making all in vb make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/vb' make[5]: Nada a ser feito para `all'. make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/vb' Making all in option make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib/option' make[5]: Nada a ser feito para `all'. make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib/option' make[5]: Entrando no diret??rio `/home/administrador/trunk/main/lib' make[5]: Nada a ser feito para `all-am'. make[5]: Saindo do diret??rio `/home/administrador/trunk/main/lib' make[4]: Saindo do diret??rio `/home/administrador/trunk/main/lib' Making all in share make[4]: Entrando no diret??rio `/home/administrador/trunk/main/share' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/main/share' make[4]: Entrando no diret??rio `/home/administrador/trunk/main' make[4]: Saindo do diret??rio `/home/administrador/trunk/main' make[3]: Saindo do diret??rio `/home/administrador/trunk/main' make[2]: Saindo do diret??rio `/home/administrador/trunk/main' Making all in gb.compress.bzlib2 make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.compress.bzlib2' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.compress.bzlib2' Making all in src make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.compress.bzlib2/src' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.bzlib2/src' make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.compress.bzlib2' make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.bzlib2' make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.bzlib2' make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.bzlib2' Making all in gb.compress.zlib make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.compress.zlib' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.compress.zlib' Making all in src make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.compress.zlib/src' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.zlib/src' make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.compress.zlib' make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.zlib' make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.zlib' make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.compress.zlib' Making all in gb.db.mysql make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.mysql' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.mysql' Making all in src make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.mysql/src' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.mysql/src' make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.mysql' make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.mysql' make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.mysql' make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.mysql' Making all in gb.db.odbc make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.odbc' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.odbc' Making all in src make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.odbc/src' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.odbc/src' make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.odbc' make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.odbc' make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.odbc' make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.odbc' Making all in gb.db.postgresql make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.postgresql' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.postgresql' Making all in src make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.postgresql/src' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.postgresql/src' make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.postgresql' make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.postgresql' make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.postgresql' make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.postgresql' Making all in gb.db.sqlite3 make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite3' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite3' Making all in src make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite3/src' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite3/src' make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite3' make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite3' make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite3' make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite3' Making all in gb.db.sqlite2 make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite2' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite2' Making all in src make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite2/src' make[4]: Nada a ser feito para `all'. make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite2/src' make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.sqlite2' make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite2' make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite2' make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.sqlite2' Making all in gb.db.firebird make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.db.firebird' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.db.firebird' make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.db.firebird' make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.db.firebird' make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.db.firebird' make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.db.firebird' Making all in gb.gtk make[2]: Entrando no diret??rio `/home/administrador/trunk/gb.gtk' make all-recursive make[3]: Entrando no diret??rio `/home/administrador/trunk/gb.gtk' Making all in src make[4]: Entrando no diret??rio `/home/administrador/trunk/gb.gtk/src' /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT gmemory.lo -MD -MP -MF .deps/gmemory.Tpo -c -o gmemory.lo gmemory.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT gmemory.lo -MD -MP -MF .deps/gmemory.Tpo -c gmemory.cpp -fPIC -DPIC -o .libs/gmemory.o In file included from main.h:33, from gmemory.cpp:2: widgets.h:50:20: error: gtools.h: No such file or directory gmemory.cpp: In function 'void* gMalloc(gsize)': gmemory.cpp:10: warning: dereferencing type-punned pointer will break strict-aliasing rules make[4]: ** [gmemory.lo] Erro 1 make[4]: Saindo do diret??rio `/home/administrador/trunk/gb.gtk/src' make[3]: ** [all-recursive] Erro 1 make[3]: Saindo do diret??rio `/home/administrador/trunk/gb.gtk' make[2]: ** [all] Erro 2 make[2]: Saindo do diret??rio `/home/administrador/trunk/gb.gtk' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diret??rio `/home/administrador/trunk' make: ** [all] Erro 2 From gambas at ...1... Fri May 25 19:36:29 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 25 May 2007 19:36:29 +0200 Subject: [Gambas-user] Error compiling SVN 392... In-Reply-To: References: Message-ID: <200705251936.29338.gambas@...1...> On vendredi 25 mai 2007, Hamilton Geminiano Andrioli Junior wrote: > the configure is ok... > A file was forgotten. I put it in svn 393. Regards, -- Benoit Minisini From gambas at ...1... Fri May 25 19:37:03 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 25 May 2007 19:37:03 +0200 Subject: [Gambas-user] Globally available Gambas components In-Reply-To: <29158046.77011180004904184.JavaMail.root@...1694...> References: <29158046.77011180004904184.JavaMail.root@...1694...> Message-ID: <200705251937.03669.gambas@...1...> On jeudi 24 mai 2007, Gareth Bult wrote: > Hi, > > I'm having real problems "distributing" Gambas written components to other > machines. > > Can you tell me where I should put a compiled Gambas component to make it > globally available to all users on a machine ? > > ~/.local/lib/gambas2 is ok for testing, but not so good when I have to > install it for 30 users .. :( > > Thanks, > Gareth. Actually this needs some support from the IDE packager. I put that in the TODO file! Regards, -- Benoit Minisini From gambas at ...1... Fri May 25 19:38:21 2007 From: gambas at ...1... (Benoit Minisini) Date: Fri, 25 May 2007 19:38:21 +0200 Subject: [Gambas-user] TextEdit will not link In-Reply-To: <000001c79de3$2d097500$6401a8c0@...1587...> References: <000001c79de3$2d097500$6401a8c0@...1587...> Message-ID: <200705251938.21113.gambas@...1...> On jeudi 24 mai 2007, timothy wrote: > Hello, > > The problem is I have a help system in a few applications of mine that > used to provide multi page help using a TextView and some HTML files. It > is now unusable. In the past the user clicked on a HTML link and this > fired the TextView_Link(Path AS String) event. You could then use the > Path to load the relevant HTML page. > > The TextView has now been replaced with the TextEdit. While it displays > HTML links it will not fire an event when they are clicked upon. Hence > the help system in a number of my applications is useless. > > If in the next version of Gambas the TextEdit was to re-gain this > functionality then I could live with this. Or is there any other way > around this? > > The TextEdit looks like it could be a useful control. But at the moment > I am a bit annoyed with it because I have lost some important > functionality. > > Thanks > > 8-{)} Timothy Marshal-Nichols > > Look at the last revision. Now a TextEdit in read-only mode will raise the Link event when the user clicks on a link. Regards, -- Benoit Minisini From gareth at ...1689... Fri May 25 20:46:19 2007 From: gareth at ...1689... (Gareth Bult) Date: Fri, 25 May 2007 19:46:19 +0100 (BST) Subject: [Gambas-user] Globally available Gambas components In-Reply-To: <200705251937.03669.gambas@...1...> Message-ID: <29650600.78561180118779070.JavaMail.root@...1694...> Hmm... So how do I get it out of the "todo" file and onto the "do" file ... ;-) IMHO, one of the things that will make / break Gambas is it's ability (and the ability of Gambas applications) to be installed (and updated) on end-user systems. At the moment upgrading Gambas components seems a little .. unfeasible. Indeed updating programs isn't a piece of cake .. I killed 5 users yesterday because I inadvertently added conquerer for online help and it turns out they were unable to build KDE on their systems .. so the app then failed to load .. :( Is there anything we can do on this front to help ? .. incidentally, I've yet to discover the how to use an installation package .. what does it do above and beyond a source archive? Gareth. ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Friday, May 25, 2007 6:37:03 PM (GMT) Europe/London Subject: Re: [Gambas-user] Globally available Gambas components On jeudi 24 mai 2007, Gareth Bult wrote: > Hi, > > I'm having real problems "distributing" Gambas written components to other > machines. > > Can you tell me where I should put a compiled Gambas component to make it > globally available to all users on a machine ? > > ~/.local/lib/gambas2 is ok for testing, but not so good when I have to > install it for 30 users .. :( > > Thanks, > Gareth. Actually this needs some support from the IDE packager. I put that in the TODO file! Regards, -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From gambas.fr at ...626... Fri May 25 22:15:52 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 25 May 2007 22:15:52 +0200 Subject: [Gambas-user] Reports... In-Reply-To: References: Message-ID: <6324a42a0705251315r6476145emdba857871a86ea37@...627...> 2007/5/24, Hamilton Geminiano Andrioli Junior : > > Hey all, it's me again. > > I need to make reports of a database > Well, i wanna know about the gb.report component... you can use the exemple i've just send to the http://www.gambasforge.netsite to learn be carefull it's an alpha component. you need to use the last version or better the svn one. How it works? a report is a container like a form but there is no designer at this time. What kind of reports i can do? many... but some feature are missing... like page jump first. (graph too) but you can add some picture, drawing(vector), label, field(witch are filled at the drawing What the limitations? it's you to say that to me ;) And how to program a report, to export as PDF and send it by e-mail > (attached) via GAMBAS??? hummmm... all a program ! draw to the printer that redirect to a ps file... then use the ps2pdf program that convert your file... Fabien Bodard Thanks a lot! > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From easuter at ...626... Sat May 26 15:11:14 2007 From: easuter at ...626... (easuter) Date: Sat, 26 May 2007 06:11:14 -0700 (PDT) Subject: [Gambas-user] Dedicated process read subroutines in Gambas 1.0.17 Message-ID: <10816247.post@...1379...> Hi there! I'm having some trouble making a Process_Read event read only from a certain process in Gambas 1.0.17. In Gambas2 1.9.49 for example, I would use this kind of code to read data from each process separately: -----Snip------ PUBLIC $hProc1 AS Process PUBLIC $hProc2 AS Process PUBLIC SUB Command1Btn_Click() EXEC ["command1", "flags"] FOR READ AS $hProc1 END PUBLIC SUB Command2Btn_Click() EXEC ["command2", "flags"] FOR READ AS $hProc2 END PUBLIC SUB $hProc1_Read() DIM sLine as String PRINT "Reading output from Command1..." LINE INPUT #$hProc1, sLine PRINT sLine END PUBLIC SUB $hProc2_Read() DIM sLine as String PRINT "Reading output from Command2..." LINE INPUT #$hProc2, sLine PRINT sLine END ----Snip---- But in Gambas 1.0.17 this doesn't work. The only way I can get the sub to read from the process stream is if I delete both the $hProc1_Read and $hProc2_Read subs and put only a Process_Read sub: ----Snip---- PUBLIC $hProc1 AS Process PUBLIC $hProc2 AS Process PUBLIC SUB Command1Btn_Click() EXEC ["command1", "flags"] FOR READ AS $hProc1 END PUBLIC SUB Command2Btn_Click() EXEC ["command2", "flags"] FOR READ AS $hProc2 END PUBLIC SUB Process_Read() DIM sLine AS String PRINT "Reading output from " LINE INPUT #LAST, sLine PRINT sLine END ----Snip---- I need to have a sub that reads the data from only one designated process, not all the the process that may be executed. Do I need to make a module dedicated to each command? How can I do this in the simplest manner? Thanks in advance! Cheers, Eug?ne -- View this message in context: http://www.nabble.com/Dedicated-process-read-subroutines-in-Gambas-1.0.17-tf3820506.html#a10816247 Sent from the gambas-user mailing list archive at Nabble.com. From timothy.marshal-nichols at ...247... Sun May 27 19:24:52 2007 From: timothy.marshal-nichols at ...247... (timothy) Date: Sun, 27 May 2007 18:24:52 +0100 Subject: [Gambas-user] TextEdit will not link In-Reply-To: <200705251938.21113.gambas@...1...> Message-ID: <000001c7a083$f448a530$6401a8c0@...1587...> > > Look at the last revision. Now a TextEdit in read-only mode will raise the > Link event when the user clicks on a link. > > Regards, > > -- > Benoit Minisini > Many thanks that works perfectly. Something for your long, long "To do" list ;-) The TextView also had a Path property which you could set something like: TextView1.Path = "MyHTMLPage.html#Topic" This was useful as it would not only load the html page but would also go to the anchor "Topic" on the page. You could also set the path to "#Topic" and it would find the anchor "Topic" on the currently loaded page. But then, possibly, I'm just greedy. Thanks 8-{)} Timothy Marshal-Nichols From gambas at ...1... Sun May 27 19:48:40 2007 From: gambas at ...1... (Benoit Minisini) Date: Sun, 27 May 2007 19:48:40 +0200 Subject: [Gambas-user] TextEdit will not link In-Reply-To: <000001c7a083$f448a530$6401a8c0@...1587...> References: <000001c7a083$f448a530$6401a8c0@...1587...> Message-ID: <200705271948.40650.gambas@...1...> On dimanche 27 mai 2007, timothy wrote: > > Look at the last revision. Now a TextEdit in read-only mode will raise > > the > > > Link event when the user clicks on a link. > > > > Regards, > > > > -- > > Benoit Minisini > > Many thanks that works perfectly. > > Something for your long, long "To do" list ;-) The TextView also had a > Path property which you could set something like: > TextView1.Path = "MyHTMLPage.html#Topic" > This was useful as it would not only load the html page but would also > go to the anchor "Topic" on the page. You could also set the path to > "#Topic" and it would find the anchor "Topic" on the currently loaded > page. > > But then, possibly, I'm just greedy. > > Thanks > > 8-{)} Timothy Marshal-Nichols > > The TextEdit won't load anything by itself anymore, but I can add a method to make it scroll to a specific anchor. Regards, -- Benoit Minisini From gambas at ...1... Mon May 28 01:14:30 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 28 May 2007 01:14:30 +0200 Subject: [Gambas-user] Release of gambas 1.0.18 Message-ID: <200705280114.30372.gambas@...1...> Hi everybody, I have released a new version of Gambas 1.0 with some bug fixes, mainly backported from the development version. Here is the ChangeLog: -------------------------------------------------------------------------------------- DEVELOPMENT ENVIRONMENT * NEW: Support for Estonian language. * BUG: Do not use LINE INPUT to read the output of the debugged project. INTERPRETER * BUG: Catching an error in a function call on the number or type of arguments does not corrupt interpreter stack anymore. * BUG: Date() now correctly converts its argument to a date. * BUG: Static arrays should not be freed twice and so crash the interpreter anymore. * BUG: The interpreter native event loop has been fixed. COMPILER * BUG: The number of dimensions of an array is correctly limited now. * BUG: Using a parameter as loop variable now correctly raises an error. GB.QT COMPONENT * BUG: Filling the picture cache explicitely does not leak memory anymore. GB.QT.EXT COMPONENT * BUG: TableView correctly refreshes its contents when its number of rows or columns has changed. GB.DB COMPONENT * BUG: Pseudo-collections now always work correctly when being accessed. GB.DB.SQLITE COMPONENT * BUG: Float values stored in the database are not truncated anymore. -------------------------------------------------------------------------------------- Regards, -- Benoit Minisini From handriolijr at ...626... Mon May 28 02:42:40 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Sun, 27 May 2007 21:42:40 -0300 Subject: [Gambas-user] Reports... In-Reply-To: <6324a42a0705251315r6476145emdba857871a86ea37@...627...> References: <6324a42a0705251315r6476145emdba857871a86ea37@...627...> Message-ID: Thanks fabien!! tomorow will be a day to learn something new regards Hamilton ----- Original Message ----- From: "Fabien Bodard" To: "mailing list for gambas users" Sent: Friday, May 25, 2007 5:15 PM Subject: Re: [Gambas-user] Reports... > 2007/5/24, Hamilton Geminiano Andrioli Junior : >> >> Hey all, it's me again. >> >> I need to make reports of a database >> Well, i wanna know about the gb.report component... > > > you can use the exemple i've just send to the > http://www.gambasforge.netsite to learn > > be carefull it's an alpha component. you need to use the last version or > better the svn one. > > > > How it works? > > > a report is a container like a form > but there is no designer at this time. > > > What kind of reports i can do? > > many... but some feature are missing... like page jump first. (graph too) > > but you can add some picture, drawing(vector), label, field(witch are > filled > at the drawing > > > > > > What the limitations? > > it's you to say that to me ;) > > > > And how to program a report, to export as PDF and send it by e-mail >> (attached) via GAMBAS??? > > > > hummmm... all a program ! > > draw to the printer that redirect to a ps file... then use the ps2pdf > program that convert your file... > > > Fabien Bodard > > Thanks a lot! >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From d.paleino at ...626... Mon May 28 11:42:41 2007 From: d.paleino at ...626... (David Paleino) Date: Mon, 28 May 2007 11:42:41 +0200 Subject: [Gambas-user] PCRE component Message-ID: <20070528114241.74356671@...1597...> Hi all, I've finally run Gambas again on my Debian (it rendered in an unusable way on my xfce), and I've started working again on some old projects. Now, my need is to parse the kernel list from kernel.org [1], that is something like: The latest stable version of the Linux kernel is: 2.6.21.3 The latest prepatch for the stable Linux kernel tree is: 2.6.22-rc3 The latest 2.4 version of the Linux kernel is: 2.4.34.4 The latest prepatch for the 2.4 Linux kernel tree is: 2.4.35-pre4 The latest 2.2 version of the Linux kernel is: 2.2.26 The latest prepatch for the 2.2 Linux kernel tree is: 2.2.27-rc2 The latest -mm patch to the stable Linux kernels is: 2.6.22-rc2-mm1 Obviously, what I'm trying to have is the kernel version. I've come up with this regex (I've tried it with kregexpeditor): /[-. \d\w]*: *(\d.*)/ Now, trying to put it in Gambas: DIM re AS Regexp re.Text = "/[-. \d\w]*: *(\d.*)/" When I run the program, Gambas tells me "Bad character constant in string at line in frmMain.class" I haven't been able what's the problem here. Any help? (if possible, also with the pattern itself, as I'm not a regexp guru :-) ) Kind regards, David [1] http://www.kernel.org/kdist/finger_banner -- . ''`. Debian packager! | http://snipurl.com/gofoxygo/ : :' : User #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 From dcamposf at ...626... Mon May 28 11:45:44 2007 From: dcamposf at ...626... (Daniel Campos) Date: Mon, 28 May 2007 11:45:44 +0200 Subject: [Gambas-user] PCRE component In-Reply-To: <20070528114241.74356671@...1597...> References: <20070528114241.74356671@...1597...> Message-ID: <7259b5ae0705280245r2ba60e3pd095d1a82536f98e@...627...> The "\" symbol is used to determine special characters, like CR "\n", so you have to put "\\" to represent each "\" symbol in a String. Daniel 2007/5/28, David Paleino : > Hi all, > I've finally run Gambas again on my Debian (it rendered in an unusable > way on my xfce), and I've started working again on some old projects. > Now, my need is to parse the kernel list from kernel.org [1], that is > something like: > > The latest stable version of the Linux kernel is: 2.6.21.3 > The latest prepatch for the stable Linux kernel tree is: 2.6.22-rc3 > The latest 2.4 version of the Linux kernel is: 2.4.34.4 > The latest prepatch for the 2.4 Linux kernel tree is: 2.4.35-pre4 > The latest 2.2 version of the Linux kernel is: 2.2.26 > The latest prepatch for the 2.2 Linux kernel tree is: 2.2.27-rc2 > The latest -mm patch to the stable Linux kernels is: 2.6.22-rc2-mm1 > > Obviously, what I'm trying to have is the kernel version. I've come up > with this regex (I've tried it with kregexpeditor): > > /[-. \d\w]*: *(\d.*)/ > > Now, trying to put it in Gambas: > > DIM re AS Regexp > re.Text = "/[-. \d\w]*: *(\d.*)/" > > When I run the program, Gambas tells me > > "Bad character constant in string at line in frmMain.class" > > I haven't been able what's the problem here. Any help? (if possible, > also with the pattern itself, as I'm not a regexp guru :-) ) > > Kind regards, > David > > [1] http://www.kernel.org/kdist/finger_banner > > -- > . ''`. Debian packager! | http://snipurl.com/gofoxygo/ > : :' : User #334216 | http://www.hanskalabs.net/ > `. `'` GPG: 1392B174 | http://www.debianizzati.org/ > `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From leonardo at ...1237... Mon May 28 11:45:48 2007 From: leonardo at ...1237... (Leonardo Miliani) Date: Mon, 28 May 2007 11:45:48 +0200 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <464F028F.40705@...1237...> References: <200705180028.49266.gambas@...1...> <464DC68E.2050503@...1237...> <464DC92A.5080509@...1237...> <200705181837.37649.gambas@...1...> <464F028F.40705@...1237...> Message-ID: <465AA4CC.2030705@...1237...> Leonardo Miliani ha scritto: > It works only for converting the projects. > But Gambas still has some problems to manage them because after the > import, if I try to compile my project it says that it found an "unkown > datebox component if FForm.Create. etc...", even if in the properties > table they appear as the new type (ValueBox), as it didn't convert all > the config files... Any news about this problem? Has it been solved in SVN version? -- Ciao. Leo. Web: www.leonardomiliani.com E-mail: leonardo at ...1237... Scegli software opensource - Choose opensource software From d.paleino at ...626... Mon May 28 11:52:15 2007 From: d.paleino at ...626... (David Paleino) Date: Mon, 28 May 2007 11:52:15 +0200 Subject: [Gambas-user] PCRE component In-Reply-To: <7259b5ae0705280245r2ba60e3pd095d1a82536f98e@...627...> References: <20070528114241.74356671@...1597...> <7259b5ae0705280245r2ba60e3pd095d1a82536f98e@...627...> Message-ID: <20070528115215.63db6586@...1597...> Il giorno Mon, 28 May 2007 11:45:44 +0200 "Daniel Campos" ha scritto: > The "\" symbol is used to determine special characters, like CR "\n", > so you have to put "\\" to represent each "\" symbol in a String. Great, thanks. > Daniel David -- . ''`. Debian packager! | http://snipurl.com/gofoxygo/ : :' : User #334216 | http://www.hanskalabs.net/ `. `'` GPG: 1392B174 | http://www.debianizzati.org/ `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174 From gambas at ...1... Mon May 28 11:57:24 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 28 May 2007 11:57:24 +0200 Subject: [Gambas-user] Dedicated process read subroutines in Gambas 1.0.17 In-Reply-To: <10816247.post@...1379...> References: <10816247.post@...1379...> Message-ID: <200705281157.24871.gambas@...1...> On samedi 26 mai 2007, easuter wrote: > Hi there! > > I'm having some trouble making a Process_Read event read only from a > certain process in Gambas 1.0.17. > In Gambas2 1.9.49 for example, I would use this kind of code to read data > from each process separately: > > -----Snip------ > > PUBLIC $hProc1 AS Process > PUBLIC $hProc2 AS Process > > PUBLIC SUB Command1Btn_Click() > > EXEC ["command1", "flags"] FOR READ AS $hProc1 > > END > > PUBLIC SUB Command2Btn_Click() > > EXEC ["command2", "flags"] FOR READ AS $hProc2 > > END > > PUBLIC SUB $hProc1_Read() > > DIM sLine as String > > PRINT "Reading output from Command1..." > > LINE INPUT #$hProc1, sLine > PRINT sLine > > END > > PUBLIC SUB $hProc2_Read() > > DIM sLine as String > > PRINT "Reading output from Command2..." > > LINE INPUT #$hProc2, sLine > PRINT sLine > > END > > ----Snip---- > > > > But in Gambas 1.0.17 this doesn't work. > The only way I can get the sub to read from the process stream is if I > delete both the $hProc1_Read and $hProc2_Read subs and put only a > Process_Read sub: > > > > ----Snip---- > > PUBLIC $hProc1 AS Process > PUBLIC $hProc2 AS Process > > PUBLIC SUB Command1Btn_Click() > > EXEC ["command1", "flags"] FOR READ AS $hProc1 > > END > > PUBLIC SUB Command2Btn_Click() > > EXEC ["command2", "flags"] FOR READ AS $hProc2 > > END > > PUBLIC SUB Process_Read() > > DIM sLine AS String > > > PRINT "Reading output from " > > LINE INPUT #LAST, sLine > > PRINT sLine > > END > ----Snip---- > > > > I need to have a sub that reads the data from only one designated process, > not all the the process that may be executed. > > Do I need to make a module dedicated to each command? > How can I do this in the simplest manner? > > Thanks in advance! > > Cheers, > > Eug?ne The syntax has changed between 1.0.x and 1.9.x: In Gambas 1.9.x: DIM hProc AS Process DIM hProc2 AS Process hProc = EXEC [...] FOR READ AS "MyProcess" hProc2 = EXEC [...] FOR READ AS "MyProcess2" PUBLIC SUB MyProcess_Read() END PUBLIC SUB MyProcess2_Read() END In Gambas 1.0.x: DIM hProc AS Process DIM hProc2 AS Process EXEC [...] FOR READ AS hProc EXEC [...] FOR READ AS hProc2 PUBLIC SUB Process_Read() IF LAST = hProc THEN ELSE IF LAST = hProc2 THEN ENDIF END Note that the 1.0.x method can be used in 1.9.x. Regards, -- Benoit Minisini From gambas at ...1... Mon May 28 12:13:48 2007 From: gambas at ...1... (Benoit Minisini) Date: Mon, 28 May 2007 12:13:48 +0200 Subject: [Gambas-user] Release of gambas 1.9.49 In-Reply-To: <465AA4CC.2030705@...1237...> References: <200705180028.49266.gambas@...1...> <464F028F.40705@...1237...> <465AA4CC.2030705@...1237...> Message-ID: <200705281213.48699.gambas@...1...> On lundi 28 mai 2007, Leonardo Miliani wrote: > Leonardo Miliani ha scritto: > > It works only for converting the projects. > > But Gambas still has some problems to manage them because after the > > import, if I try to compile my project it says that it found an "unkown > > datebox component if FForm.Create. etc...", even if in the properties > > table they appear as the new type (ValueBox), as it didn't convert all > > the config files... > > Any news about this problem? > Has it been solved in SVN version? Only the form files are converted. You must convert the code by hand, i.e. replace the "DateBox" type by "ValueBox" everywhere. Regards, -- Benoit Minisini From nando_f at ...951... Mon May 28 12:43:01 2007 From: nando_f at ...951... (nando) Date: Mon, 28 May 2007 06:43:01 -0400 Subject: [Gambas-user] Release of gambas 1.0.18 In-Reply-To: <200705280114.30372.gambas@...1...> References: <200705280114.30372.gambas@...1...> Message-ID: <20070528104243.M2411@...1382...> Thank you Benoit! ---------- Original Message ----------- From: Benoit Minisini To: gambas-user at lists.sourceforge.net Sent: Mon, 28 May 2007 01:14:30 +0200 Subject: [Gambas-user] Release of gambas 1.0.18 > Hi everybody, > > I have released a new version of Gambas 1.0 with some bug fixes, mainly > backported from the development version. > > Here is the ChangeLog: > > -------------------------------------------------------------------------------------- > > DEVELOPMENT ENVIRONMENT > > * NEW: Support for Estonian language. > * BUG: Do not use LINE INPUT to read the output of the debugged project. > > INTERPRETER > > * BUG: Catching an error in a function call on the number or type of > arguments does not corrupt interpreter stack anymore. > * BUG: Date() now correctly converts its argument to a date. > * BUG: Static arrays should not be freed twice and so crash the interpreter > anymore. > * BUG: The interpreter native event loop has been fixed. > > COMPILER > > * BUG: The number of dimensions of an array is correctly limited now. > * BUG: Using a parameter as loop variable now correctly raises an error. > > GB.QT COMPONENT > > * BUG: Filling the picture cache explicitely does not leak memory anymore. > > GB.QT.EXT COMPONENT > > * BUG: TableView correctly refreshes its contents when its number of rows > or columns has changed. > > GB.DB COMPONENT > > * BUG: Pseudo-collections now always work correctly when being accessed. > > GB.DB.SQLITE COMPONENT > > * BUG: Float values stored in the database are not truncated anymore. > > -------------------------------------------------------------------------------------- > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From handriolijr at ...626... Mon May 28 13:05:11 2007 From: handriolijr at ...626... (Hamilton Geminiano Andrioli Junior) Date: Mon, 28 May 2007 08:05:11 -0300 Subject: [Gambas-user] Reports... In-Reply-To: <6324a42a0705251315r6476145emdba857871a86ea37@...627...> References: <6324a42a0705251315r6476145emdba857871a86ea37@...627...> Message-ID: Fabien... Take a look at the site... I can't downloads the program.... ----- Original Message ----- From: "Fabien Bodard" To: "mailing list for gambas users" Sent: Friday, May 25, 2007 5:15 PM Subject: Re: [Gambas-user] Reports... > 2007/5/24, Hamilton Geminiano Andrioli Junior : >> >> Hey all, it's me again. >> >> I need to make reports of a database >> Well, i wanna know about the gb.report component... > > > you can use the exemple i've just send to the > http://www.gambasforge.netsite to learn > > be carefull it's an alpha component. you need to use the last version or > better the svn one. > > > > How it works? > > > a report is a container like a form > but there is no designer at this time. > > > What kind of reports i can do? > > many... but some feature are missing... like page jump first. (graph too) > > but you can add some picture, drawing(vector), label, field(witch are > filled > at the drawing > > > > > > What the limitations? > > it's you to say that to me ;) > > > > And how to program a report, to export as PDF and send it by e-mail >> (attached) via GAMBAS??? > > > > hummmm... all a program ! > > draw to the printer that redirect to a ps file... then use the ps2pdf > program that convert your file... > > > Fabien Bodard > > Thanks a lot! >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From joe1962 at ...626... Mon May 28 14:01:06 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Mon, 28 May 2007 09:01:06 -0300 Subject: [Gambas-user] Release of gambas 1.0.18 In-Reply-To: <20070528104243.M2411@...1382...> References: <200705280114.30372.gambas@...1...> <20070528104243.M2411@...1382...> Message-ID: <6c208f950705280501n1a702b8ay7f1a8b30170c54d3@...627...> Indeed! Now if I can only remember how I worked around the libintl not found during make when I built 1.0.18.... :( Regards, Joe1962 On 5/28/07, nando wrote: > Thank you Benoit! > > > ---------- Original Message ----------- > From: Benoit Minisini > To: gambas-user at lists.sourceforge.net > Sent: Mon, 28 May 2007 01:14:30 +0200 > Subject: [Gambas-user] Release of gambas 1.0.18 > > > Hi everybody, > > > > I have released a new version of Gambas 1.0 with some bug fixes, mainly > > backported from the development version. > > > > Here is the ChangeLog: > > > > -------------------------------------------------------------------------------------- > > > > DEVELOPMENT ENVIRONMENT > > > > * NEW: Support for Estonian language. > > * BUG: Do not use LINE INPUT to read the output of the debugged project. > > > > INTERPRETER > > > > * BUG: Catching an error in a function call on the number or type of > > arguments does not corrupt interpreter stack anymore. > > * BUG: Date() now correctly converts its argument to a date. > > * BUG: Static arrays should not be freed twice and so crash the interpreter > > anymore. > > * BUG: The interpreter native event loop has been fixed. > > > > COMPILER > > > > * BUG: The number of dimensions of an array is correctly limited now. > > * BUG: Using a parameter as loop variable now correctly raises an error. > > > > GB.QT COMPONENT > > > > * BUG: Filling the picture cache explicitely does not leak memory anymore. > > > > GB.QT.EXT COMPONENT > > > > * BUG: TableView correctly refreshes its contents when its number of rows > > or columns has changed. > > > > GB.DB COMPONENT > > > > * BUG: Pseudo-collections now always work correctly when being accessed. > > > > GB.DB.SQLITE COMPONENT > > > > * BUG: Float values stored in the database are not truncated anymore. > > > > -------------------------------------------------------------------------------------- > > > > Regards, > > > > -- > > Benoit Minisini > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From leandro_anthonioz at ...43... Tue May 29 17:08:20 2007 From: leandro_anthonioz at ...43... (Leandro Anthonioz Blanc) Date: Tue, 29 May 2007 08:08:20 -0700 (PDT) Subject: [Gambas-user] MySQL stored procedures execution problem Message-ID: <723060.32661.qm@...1707...> Hi, I have a problem with MySQL stored procedures that returns results. FIRST time I execute a line like this: hResult = hConn.Exec(?CALL MyStoredProcedure()?) line works OK. However, NEXT time I try to execute same line, this error occurs: ?Query failed: Commands out of sync; you can?t run this command now? I found this information in MySQL documentation: If you get Commands out of sync; you can't run this command now in your client code, you are calling client functions in the wrong order. This can happen, for example, if you are using mysql_use_result() and try to execute a new query before you have called mysql_free_result(). It can also happen if you try to execute two queries that return data without calling mysql_use_result() or mysql_store_result() in between. To avoid this problem, I close and reopen connection before execute a stored procedure, and works, but is not a good workaround. I edit ?do_query? function in gb.db.mysql/src/main.c file, attempting to include a ?mysql_free_result(res);? instruction that solves the problem, but I couldn?t solve it. Anybody can help me please? Thank you very much. --------------------------------- Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. From gambas at ...1... Tue May 29 18:02:39 2007 From: gambas at ...1... (Benoit Minisini) Date: Tue, 29 May 2007 18:02:39 +0200 Subject: [Gambas-user] MySQL stored procedures execution problem In-Reply-To: <723060.32661.qm@...1707...> References: <723060.32661.qm@...1707...> Message-ID: <200705291802.39992.gambas@...1...> On mardi 29 mai 2007, Leandro Anthonioz Blanc wrote: > Hi, I have a problem with MySQL stored procedures that returns results. > FIRST time I execute a line like this: hResult = hConn.Exec(?CALL > MyStoredProcedure()?) line works OK. However, NEXT time I try to execute > same line, this error occurs: ?Query failed: Commands out of sync; you > can?t run this command now? I found this information in MySQL > documentation: If you get Commands out of sync; you can't run this command > now in your client code, you are calling client functions in the wrong > order. This can happen, for example, if you are using mysql_use_result() > and try to execute a new query before you have called mysql_free_result(). > It can also happen if you try to execute two queries that return data > without calling mysql_use_result() or mysql_store_result() in between. To > avoid this problem, I close and reopen connection before execute a stored > procedure, and works, but is not a good workaround. I edit ?do_query? > function in gb.db.mysql/src/main.c file, attempting to include a > ?mysql_free_result(res);? instruction that solves the problem, but I > couldn?t solve it. Anybody can help me please? Thank you very much. > > Which version of Gambas do you use? (I should have a keyboard shortcut for inserting this question...) Please send me exactly what code you are trying to run. At first glance, gb.db.mysql does not use mysql_use_result(), and use mysql_store_result() each time it has run a query without error. I think I have a clue about what could happen, but I need your full code. Regards, -- Benoit Minisini From gareth at ...1689... Wed May 30 12:11:51 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 30 May 2007 11:11:51 +0100 (BST) Subject: [Gambas-user] Feature Request; Debugger Message-ID: <26396518.601180519911061.JavaMail.root@...1708...> Hi, Would it be easy / possible to mark certain subroutines / procedures as "don't descend" with regards to the debugger? Once a function has been tested to death, there's often no point in line stepping through that routine when debugging an application. For example, if you have a tokeniser (getToken()) that s never going to throw an error, but cycles through 50 lines of code, it would be really nice to be able to mark the routine as "finished" and have the debugger automatically step over this routine when debugging. .. just a thought .. :-) Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From ronstk at ...239... Wed May 30 12:30:16 2007 From: ronstk at ...239... (ron) Date: Wed, 30 May 2007 12:30:16 +0200 Subject: [Gambas-user] Feature Request; Debugger In-Reply-To: <26396518.601180519911061.JavaMail.root@...1708...> References: <26396518.601180519911061.JavaMail.root@...1708...> Message-ID: <200705301230.16819.ronstk@...239...> On Wednesday 30 May 2007 12:11, Gareth Bult wrote: > Hi, > > Would it be easy / possible to mark certain subroutines / procedures as "don't descend" with regards to the debugger? > > Once a function has been tested to death, there's often no point in line stepping through that routine when debugging an application. > For example, if you have a tokeniser (getToken()) that s never going to throw an error, but cycles through 50 lines of code, it would be really nice to be able to mark the routine as "finished" and have the debugger automatically step over this routine when debugging. > > .. just a thought .. :-) > > Gareth. > Is it posible to put a breakpoint after the call to subroutines and continue inside the subroutines till it is returnd. This does remember me zdebug, the debugger from the 'EditAssembler+' on the trs80. Here you could give a count on a breakpoint to come in affect at the Nthe times the breakpoint is hit. (This was a MS application :) ) This way it could have a count of i.e. 48 and you could step the last part to verify the subroutine returns the good way/value or detect the problem at return. Ron From gareth at ...1689... Wed May 30 12:56:31 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 30 May 2007 11:56:31 +0100 (BST) Subject: [Gambas-user] Feature Request; Debugger In-Reply-To: <200705301230.16819.ronstk@...239...> Message-ID: <14329510.661180522591194.JavaMail.root@...1708...> Sure, However I re-use functions (a lot). I would need (for example) about 20 breakpoints to cover "getToken" in the application I'm working on at this particular point in time. It would make a deal of sense to be able to cover the function once, rather than having to maintain 20 breakpoints.. (?) Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "ron" To: "mailing list for gambas users" Sent: Wednesday, May 30, 2007 11:30:16 AM (GMT) Europe/London Subject: Re: [Gambas-user] Feature Request; Debugger On Wednesday 30 May 2007 12:11, Gareth Bult wrote: > Hi, > > Would it be easy / possible to mark certain subroutines / procedures as "don't descend" with regards to the debugger? > > Once a function has been tested to death, there's often no point in line stepping through that routine when debugging an application. > For example, if you have a tokeniser (getToken()) that s never going to throw an error, but cycles through 50 lines of code, it would be really nice to be able to mark the routine as "finished" and have the debugger automatically step over this routine when debugging. > > .. just a thought .. :-) > > Gareth. > Is it posible to put a breakpoint after the call to subroutines and continue inside the subroutines till it is returnd. This does remember me zdebug, the debugger from the 'EditAssembler+' on the trs80. Here you could give a count on a breakpoint to come in affect at the Nthe times the breakpoint is hit. (This was a MS application :) ) This way it could have a count of i.e. 48 and you could step the last part to verify the subroutine returns the good way/value or detect the problem at return. Ron ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...9... Wed May 30 16:19:42 2007 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 30 May 2007 16:19:42 +0200 Subject: [Gambas-user] Feature Request; Debugger In-Reply-To: <26396518.601180519911061.JavaMail.root@...1708...> References: <26396518.601180519911061.JavaMail.root@...1708...> Message-ID: <1180534782.5382.6.camel@...40...> Salut Gareth, make a Component which includes all these subroutines / procedures. Amicalment Charlie Am Mittwoch, den 30.05.2007, 11:11 +0100 schrieb Gareth Bult: > Hi, > > Would it be easy / possible to mark certain subroutines / procedures as "don't descend" with regards to the debugger? > > Once a function has been tested to death, there's often no point in line stepping through that routine when debugging an application. > For example, if you have a tokeniser (getToken()) that s never going to throw an error, but cycles through 50 lines of code, it would be really nice to be able to mark the routine as "finished" and have the debugger automatically step over this routine when debugging. > > .. just a thought .. :-) > > Gareth. > From gareth at ...1689... Wed May 30 16:37:12 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 30 May 2007 15:37:12 +0100 (BST) Subject: [Gambas-user] Feature Request; Debugger In-Reply-To: <1180534782.5382.6.camel@...40...> Message-ID: <21818888.701180535832889.JavaMail.root@...1708...> Hi, this would mean that I have a custom component that's specific to every application I write .. (a) this makes life very difficult from an installation point of view (b) one would need to develop a function, debug it, then split it off into a component (rather inefficient!!) (c) there are still occasions where you might want to debug the function, which would meant swapping it back to your main module, fixing it, then swapping back to the component My current application is a graphical IMAP mirror to synchronise mailboxes between servers. It uses 4 concurrent IMAP client connections and about 8 concurrent counters / progress bars. There's a fair bit of code and debugging a 100,000 message transfer can be painful at the best of times. Apparently "little" things like being able to skip over large "known" blocks of code while debugging can make a massive difference in terms of development time .. (!) Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Charlie Reinl" To: "mailing list for gambas users" Sent: Wednesday, May 30, 2007 3:19:42 PM (GMT) Europe/London Subject: Re: [Gambas-user] Feature Request; Debugger Salut Gareth, make a Component which includes all these subroutines / procedures. Amicalment Charlie Am Mittwoch, den 30.05.2007, 11:11 +0100 schrieb Gareth Bult: > Hi, > > Would it be easy / possible to mark certain subroutines / procedures as "don't descend" with regards to the debugger? > > Once a function has been tested to death, there's often no point in line stepping through that routine when debugging an application. > For example, if you have a tokeniser (getToken()) that s never going to throw an error, but cycles through 50 lines of code, it would be really nice to be able to mark the routine as "finished" and have the debugger automatically step over this routine when debugging. > > .. just a thought .. :-) > > Gareth. > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From leandro_anthonioz at ...43... Wed May 30 17:06:09 2007 From: leandro_anthonioz at ...43... (Leandro Anthonioz Blanc) Date: Wed, 30 May 2007 08:06:09 -0700 (PDT) Subject: [Gambas-user] MySQL stored procedures execution problem Message-ID: <62169.25234.qm@...1699...> Hi Benoit, thanks for the reply. I'm using last Gambas version, 1.9.49, with MySQL 5.0.26. I write an abbreviated example that reproduces the problem. If "ExecuteStoredProcedure" sub is executed two times, last execution throw "Query failed: Commands out of sync; you can?t run this command now?. I hope this information could be useful. Thank you very much. ' Gambas class file PRIVATE $hConnection AS Connection PUBLIC SUB _New() $hConnection = NEW Connection WITH $hConnection .Type = "mysql" .Host = "localhost" .port = "3306" .Login = "root" .Password = "" .Name = "SIMSA" .Open END WITH END PUBLIC SUB btnOK_Click() ExecuteStoredProcedure(ME.txtPassword.Text) END PUBLIC SUB ExecuteStoredProcedure(sValue AS String) DIM hResult AS Result hResult = $hConnection.exec(Subst("CALL MyStoredProcedure('&1')", sValue)) IF hResult[0] = 1 THEN Message.Info("Correct") ELSE Message.Error("Wrong") ENDIF END ... and the MySQL stored procedure code: CREATE DEFINER=`root`@`localhost` PROCEDURE `MyStoredProcedure`(vPassword VARCHAR(20)) BEGIN SELECT COUNT(*) AS Coincidencia FROM ObConfiguracionGeneral WHERE PasswordAdministradorMD5 = MD5(vPassword); END >Which version of Gambas do you use? (I should have a keyboard shortcut for inserting this question...) >Please send me exactly what code you are trying to run. >At first glance, gb.db.mysql does not use mysql_use_result(), and use mysql_store_result() each time it has run a query without error. I think I have a clue about what could happen, but I need your full code. >Regards, >-- >Benoit Minisini --------------------------------- No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. From nconroy181 at ...1709... Wed May 30 18:45:38 2007 From: nconroy181 at ...1709... (Neill Conroy) Date: Wed, 30 May 2007 09:45:38 -0700 (PDT) Subject: [Gambas-user] Problem Gettig Started Message-ID: <822099.99116.qm@...1710...> I have run Gambas a few times so far, with no problems, but I just did a major hardware and software upgrade and now it will not run. It appears to install fine, or at least there are no errors thrown out by Synaptic, but when I try and run it it dies a silent death after a few moments. Whe I try and start it at the command line I get the following: sizeof(CLASS) = 256 ! ERROR: #51: Bad archive: Invalid argument Since I do not possess the technical chops to try and figure it out any more (age has its consequences), I felt it best if I prevail upon your vastly superior intellects (if it sounds like I am grovelling, I am!) to find a solution. Now to describe my goodies. I have a custom built machine with an ASUS M2N-SLI Deluxe motherboard and an AMD 64X2 3200+ processor, with 2 GB of RAM. I have an NVidia 7600 video card with 256 MB of RAM, 1 SATA 320 GB drive, one IDE 250 GB drive with several partitions (I intend to have a variety of distros installed with a common data partition). I am running Kubuntu 7.04 as the OS and I have a fairly busy machine, with all the spare cycles being sucked up by BOINC. I will bow down in humble submission to the genius that sucks me out of this bog... Neill Conroy - The Geekosaur -- I want to die in peace and tranquility surrounded by my friends,just like my grandfather did, not screaming in terror like the passengers in his car. -- "A cheerful heart is good medicine, but a crushed spirit dries up the bones." Prov. 17:22(NIV) ----- From sourceforge-raindog2 at ...94... Wed May 30 19:18:18 2007 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 30 May 2007 13:18:18 -0400 Subject: [Gambas-user] Problem Gettig Started In-Reply-To: <822099.99116.qm@...1710...> References: <822099.99116.qm@...1710...> Message-ID: <200705301318.18381.sourceforge-raindog2@...94...> On Wednesday 30 May 2007, Neill Conroy wrote: > get the following: sizeof(CLASS) = 256 ! ... > motherboard and an AMD 64X2 3200+ processor, with 2 GB of RAM. I ... > I am running Kubuntu 7.04 as the OS and I have a fairly busy I'm gonna go out on a limb and guess you're running a 64-bit version of Kubuntu? That sizeof(CLASS) error message you get is due to various data types being a different size on 64-bit versions of Linux. This means Gambas is 32-bit only at present, and unfortunately, the changes to the compiler and interpreter to make it 64-bit safe are major enough that they won't happen until after the release of 2.0. (Hopefully JUST after, because I'm starting to think 64-bit machines will be in the majority by the time that happens.) Java has had problems like this too, but Sun has more than one guy working on the internals of Java ;) Rob From gareth at ...1689... Wed May 30 19:34:47 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 30 May 2007 18:34:47 +0100 (BST) Subject: [Gambas-user] Problem Gettig Started In-Reply-To: <200705301318.18381.sourceforge-raindog2@...94...> Message-ID: <3481453.781180546487879.JavaMail.root@...1708...> Mmm, All my machines (mostly) are 64-bit .. however I run them *all* in 32-bit mode .. there are just too many applications that are not 64-bit friendly .. Flash for example (!) .. so Gambas isn't exactly alone re; it's lack of 64-bit support. That said, you can of course run Gambas in a 32-bit chroot quite happily .. although it's not an ideal solution. (and then there's vmware .. ) :) Easy answer would be to re-install the x86 Ubuntu ... Gareth -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Rob" To: gambas-user at lists.sourceforge.net Sent: Wednesday, May 30, 2007 6:18:18 PM (GMT) Europe/London Subject: Re: [Gambas-user] Problem Gettig Started On Wednesday 30 May 2007, Neill Conroy wrote: > get the following: sizeof(CLASS) = 256 ! ... > motherboard and an AMD 64X2 3200+ processor, with 2 GB of RAM. I ... > I am running Kubuntu 7.04 as the OS and I have a fairly busy I'm gonna go out on a limb and guess you're running a 64-bit version of Kubuntu? That sizeof(CLASS) error message you get is due to various data types being a different size on 64-bit versions of Linux. This means Gambas is 32-bit only at present, and unfortunately, the changes to the compiler and interpreter to make it 64-bit safe are major enough that they won't happen until after the release of 2.0. (Hopefully JUST after, because I'm starting to think 64-bit machines will be in the majority by the time that happens.) Java has had problems like this too, but Sun has more than one guy working on the internals of Java ;) Rob ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gareth at ...1689... Wed May 30 19:43:37 2007 From: gareth at ...1689... (Gareth Bult) Date: Wed, 30 May 2007 18:43:37 +0100 (BST) Subject: [Gambas-user] Bug ... ? Message-ID: <11824204.811180547017686.JavaMail.root@...1708...> I seem to be having a problem with "ShowModal". If I have a form with a resizable or "no" border it works fine .. If I set the border to "Fixed", ME.Close(n) fails to exit the dialog, indeed the box is "uncloseable". BUT - I can't reproduce the problem with a small test program !! Anyone any ideas ? Gareth. (1.9.49-svn) -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. From rohnny at ...1248... Wed May 30 22:45:23 2007 From: rohnny at ...1248... (R. Stormo) Date: Wed, 30 May 2007 13:45:23 -0700 (PDT) Subject: [Gambas-user] Error compiling svn 403 Message-ID: <10882226.post@...1379...> I get an error while compile svn version 403 --snip g -Os -fno-omit-frame-pointer -MT gmemory.lo -MD -MP -MF .deps/gmemory.Tpo -c gmemory.cpp -fPIC -DPIC -o .libs/gmemory.o In file included from main.h:33, from gmemory.cpp:2: widgets.h:44:32: error: gb.form.properties.h: No such file or directory gmemory.cpp: In function 'void* gMalloc(gsize)': gmemory.cpp:10: warning: dereferencing type-punned pointer will break strict-aliasing rules make[4]: *** [gmemory.lo] Error 1 make[4]: Leaving directory `/home/roh --snap System Ubuntu feisty. Previous version have compiled ok. Regards Rohnny My Gambas community http://gambasforum.tk -- View this message in context: http://www.nabble.com/Error-compiling-svn-403-tf3842861.html#a10882226 Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Wed May 30 22:46:29 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 30 May 2007 22:46:29 +0200 Subject: [Gambas-user] Bug ... ? In-Reply-To: <11824204.811180547017686.JavaMail.root@...1708...> References: <11824204.811180547017686.JavaMail.root@...1708...> Message-ID: <6324a42a0705301346q2dd0530dydf1d259a26a3808@...627...> we need the code source of the program that produce this bug ! at less send it in private to Benoit Minisini or me 2007/5/30, Gareth Bult : > > I seem to be having a problem with "ShowModal". > > If I have a form with a resizable or "no" border it works fine .. > If I set the border to "Fixed", ME.Close(n) fails to exit the dialog, > indeed the box is "uncloseable". > > BUT - I can't reproduce the problem with a small test program !! > > Anyone any ideas ? > > Gareth. > (1.9.49-svn) > > -- > Gareth Bult, Encryptec Limited > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > Email: gareth at ...1689... > Statements made are at all times subject to Encryptec's Terms and > Conditions of Business, which are available upon request. > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed May 30 23:01:08 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 30 May 2007 23:01:08 +0200 Subject: [Gambas-user] Error compiling svn 403 In-Reply-To: <10882226.post@...1379...> References: <10882226.post@...1379...> Message-ID: <200705302301.08242.gambas@...1...> On mercredi 30 mai 2007, R. Stormo wrote: > I get an error while compile svn version 403 > --snip > g -Os -fno-omit-frame-pointer -MT gmemory.lo -MD -MP -MF .deps/gmemory.Tpo > -c gmemory.cpp -fPIC -DPIC -o .libs/gmemory.o > In file included from main.h:33, > from gmemory.cpp:2: > widgets.h:44:32: error: gb.form.properties.h: No such file or directory > gmemory.cpp: In function 'void* gMalloc(gsize)': > gmemory.cpp:10: warning: dereferencing type-punned pointer will break > strict-aliasing rules > make[4]: *** [gmemory.lo] Error 1 > make[4]: Leaving directory `/home/roh > --snap > System Ubuntu feisty. Previous version have compiled ok. > > > Regards Rohnny > > > My Gambas community http://gambasforum.tk Revision 404 should compile correctly. Regards, -- Benoit Minisini From gambas at ...1... Wed May 30 23:01:32 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 30 May 2007 23:01:32 +0200 Subject: [Gambas-user] MySQL stored procedures execution problem In-Reply-To: <723060.32661.qm@...1707...> References: <723060.32661.qm@...1707...> Message-ID: <200705302301.33041.gambas@...1...> On mardi 29 mai 2007, Leandro Anthonioz Blanc wrote: > Hi, I have a problem with MySQL stored procedures that returns results. > FIRST time I execute a line like this: hResult = hConn.Exec(?CALL > MyStoredProcedure()?) line works OK. However, NEXT time I try to execute > same line, this error occurs: ?Query failed: Commands out of sync; you > can?t run this command now? I found this information in MySQL > documentation: If you get Commands out of sync; you can't run this command > now in your client code, you are calling client functions in the wrong > order. This can happen, for example, if you are using mysql_use_result() > and try to execute a new query before you have called mysql_free_result(). > It can also happen if you try to execute two queries that return data > without calling mysql_use_result() or mysql_store_result() in between. To > avoid this problem, I close and reopen connection before execute a stored > procedure, and works, but is not a good workaround. I edit ?do_query? > function in gb.db.mysql/src/main.c file, attempting to include a > ?mysql_free_result(res);? instruction that solves the problem, but I > couldn?t solve it. Anybody can help me please? Thank you very much. > Can you try my fix in the latest development SVN revision ? -- Benoit Minisini From chrism at ...1648... Wed May 30 23:26:33 2007 From: chrism at ...1648... (Chris Malton) Date: Wed, 30 May 2007 22:26:33 +0100 Subject: [Gambas-user] Error compiling svn 403 In-Reply-To: <200705302301.08242.gambas@...1...> References: <10882226.post@...1379...> <200705302301.08242.gambas@...1...> Message-ID: <465DEC09.9000301@...1648...> Revision 404 is bound to have the status "not found". And, well, 403, he was probably unauthorised. Sorry, a little humour to add to the discussion. Chris Benoit Minisini wrote: > On mercredi 30 mai 2007, R. Stormo wrote: >> I get an error while compile svn version 403 >> --snip >> g -Os -fno-omit-frame-pointer -MT gmemory.lo -MD -MP -MF .deps/gmemory.Tpo >> -c gmemory.cpp -fPIC -DPIC -o .libs/gmemory.o >> In file included from main.h:33, >> from gmemory.cpp:2: >> widgets.h:44:32: error: gb.form.properties.h: No such file or directory >> gmemory.cpp: In function 'void* gMalloc(gsize)': >> gmemory.cpp:10: warning: dereferencing type-punned pointer will break >> strict-aliasing rules >> make[4]: *** [gmemory.lo] Error 1 >> make[4]: Leaving directory `/home/roh >> --snap >> System Ubuntu feisty. Previous version have compiled ok. >> >> >> Regards Rohnny >> >> >> My Gambas community http://gambasforum.tk > > Revision 404 should compile correctly. > > Regards, > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2146 bytes Desc: S/MIME Cryptographic Signature URL: From rohnny at ...1248... Wed May 30 23:35:01 2007 From: rohnny at ...1248... (R. Stormo) Date: Wed, 30 May 2007 14:35:01 -0700 (PDT) Subject: [Gambas-user] Error compiling svn 403 In-Reply-To: <200705302301.08242.gambas@...1...> References: <10882226.post@...1379...> <200705302301.08242.gambas@...1...> Message-ID: <10883125.post@...1379...> Benoit Minisini wrote: > > On mercredi 30 mai 2007, R. Stormo wrote: >> I get an error while compile svn version 403 >> --snip >> g -Os -fno-omit-frame-pointer -MT gmemory.lo -MD -MP -MF >> .deps/gmemory.Tpo >> -c gmemory.cpp -fPIC -DPIC -o .libs/gmemory.o >> In file included from main.h:33, >> from gmemory.cpp:2: >> widgets.h:44:32: error: gb.form.properties.h: No such file or directory >> gmemory.cpp: In function 'void* gMalloc(gsize)': >> gmemory.cpp:10: warning: dereferencing type-punned pointer will break >> strict-aliasing rules >> make[4]: *** [gmemory.lo] Error 1 >> make[4]: Leaving directory `/home/roh >> --snap >> System Ubuntu feisty. Previous version have compiled ok. >> >> >> Regards Rohnny >> >> >> My Gambas community http://gambasforum.tk > > Revision 404 should compile correctly. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Revision 404 will not work either. Not with a little humour either :D --snip from gmemory.cpp:2: widgets.h:44:32: error: gb.form.properties.h: No such file or directory gmemory.cpp: In function 'void* gMalloc(gsize)': gmemory.cpp:10: warning: dereferencing type-punned pointer will break strict-aliasing rules make[4]: *** [gmemory.lo] Error 1 make[4]: Leaving directory `/hom -snap Cheers Rohnny My Gambas community http://gambasforum.tk -- View this message in context: http://www.nabble.com/Error-compiling-svn-403-tf3842861.html#a10883125 Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Wed May 30 23:49:47 2007 From: gambas at ...1... (Benoit Minisini) Date: Wed, 30 May 2007 23:49:47 +0200 Subject: [Gambas-user] Error compiling svn 403 In-Reply-To: <10883125.post@...1379...> References: <10882226.post@...1379...> <200705302301.08242.gambas@...1...> <10883125.post@...1379...> Message-ID: <200705302349.47206.gambas@...1...> On mercredi 30 mai 2007, R. Stormo wrote: > Benoit Minisini wrote: > > On mercredi 30 mai 2007, R. Stormo wrote: > >> I get an error while compile svn version 403 > >> --snip > >> g -Os -fno-omit-frame-pointer -MT gmemory.lo -MD -MP -MF > >> .deps/gmemory.Tpo > >> -c gmemory.cpp -fPIC -DPIC -o .libs/gmemory.o > >> In file included from main.h:33, > >> from gmemory.cpp:2: > >> widgets.h:44:32: error: gb.form.properties.h: No such file or directory > >> gmemory.cpp: In function 'void* gMalloc(gsize)': > >> gmemory.cpp:10: warning: dereferencing type-punned pointer will break > >> strict-aliasing rules > >> make[4]: *** [gmemory.lo] Error 1 > >> make[4]: Leaving directory `/home/roh > >> --snap > >> System Ubuntu feisty. Previous version have compiled ok. > >> > >> > >> Regards Rohnny > >> > >> > >> My Gambas community http://gambasforum.tk > > > > Revision 404 should compile correctly. > > > > Regards, > > > > -- > > Benoit Minisini > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Revision 404 will not work either. Not with a little humour either :D > > --snip > from gmemory.cpp:2: > widgets.h:44:32: error: gb.form.properties.h: No such file or directory > gmemory.cpp: In function 'void* gMalloc(gsize)': > gmemory.cpp:10: warning: dereferencing type-punned pointer will break > strict-aliasing rules > make[4]: *** [gmemory.lo] Error 1 > make[4]: Leaving directory `/hom > > -snap > > Cheers Rohnny > > My Gambas community http://gambasforum.tk You must reconfigure the package: $ cd trunk $ ./reconf-all Regards, -- Benoit Minisini From gareth at ...1689... Thu May 31 02:48:39 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 31 May 2007 01:48:39 +0100 (BST) Subject: [Gambas-user] Bug ... ? In-Reply-To: <6324a42a0705301346q2dd0530dydf1d259a26a3808@...627...> Message-ID: <27655992.841180572519913.JavaMail.root@...1708...> Mmm, Couldn't reproduce it, that was the problem. I eventually quit and restarted the IDE .. which seems to have fixed the problem (!) Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Fabien Bodard" To: "mailing list for gambas users" Sent: Wednesday, May 30, 2007 9:46:29 PM (GMT) Europe/London Subject: Re: [Gambas-user] Bug ... ? we need the code source of the program that produce this bug ! at less send it in private to Benoit Minisini or me 2007/5/30, Gareth Bult : > > I seem to be having a problem with "ShowModal". > > If I have a form with a resizable or "no" border it works fine .. > If I set the border to "Fixed", ME.Close(n) fails to exit the dialog, > indeed the box is "uncloseable". > > BUT - I can't reproduce the problem with a small test program !! > > Anyone any ideas ? > > Gareth. > (1.9.49-svn) > > -- > Gareth Bult, Encryptec Limited > Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 > Email: gareth at ...1689... > Statements made are at all times subject to Encryptec's Terms and > Conditions of Business, which are available upon request. > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From leandro_anthonioz at ...43... Thu May 31 04:18:16 2007 From: leandro_anthonioz at ...43... (Leandro Anthonioz Blanc) Date: Wed, 30 May 2007 19:18:16 -0700 (PDT) Subject: [Gambas-user] MySQL stored procedures execution problem Message-ID: <160104.77196.qm@...1712...> Hi Benoit, thanks for you reply. I update to "HEAD" Gambas project version from subversion repository and recompile it. Error "Query failed: Commands out of sync; you can't run this command now" does not occurs anymore. However, if I execute same stored procedure several times rapidly, now appears error "Query failed: Lost connection to MySQL server during query". I mean, if i execute the stored procedure dozens of times but waiting at least one second between every execution, no error occurs (never). But, if I execute the stored procedure rapidly (without pause), this error raise inmediately. I test this several times and the behaviour is consistent. Thank you very much. >From: Benoit Minisini - 2007-05-30 21:01 On mardi 29 mai 2007, Leandro Anthonioz Blanc wrote: > Hi, I have a problem with MySQL stored procedures that returns results. > FIRST time I execute a line like this: hResult =3D hConn.Exec(=93CALL > MyStoredProcedure()=94) =85 line works OK. However, NEXT time I try to e= xecute > same line, this error occurs: =93Query failed: Commands out of sync; you > can=92t run this command now=94 I found this information in MySQL > documentation: If you get Commands out of sync; you can't run this command > now in your client code, you are calling client functions in the wrong > order. This can happen, for example, if you are using mysql_use_result() > and try to execute a new query before you have called mysql_free_result(). > It can also happen if you try to execute two queries that return data > without calling mysql_use_result() or mysql_store_result() in between. To > avoid this problem, I close and reopen connection before execute a stored > procedure, and works, but is not a good workaround. I edit =93do_query=94 > function in gb.db.mysql/src/main.c file, attempting to include a > =93mysql_free_result(res);=94 instruction that solves the problem, but I > couldn=92t solve it. Anybody can help me please? Thank you very much. > Can you try my fix in the latest development SVN revision ? =2D-=20 Benoit Minisini --------------------------------- TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. From joe1962 at ...626... Thu May 31 07:21:36 2007 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Thu, 31 May 2007 02:21:36 -0300 Subject: [Gambas-user] Non terminated string in form definition error in 1.9.49 opening a 1.9.47 project Message-ID: <6c208f950705302221x6288a5fdkc8d9627add10e4b8@...627...> As the subject says, I'm getting a "Non terminated string in form definition" error when compiling a 1.9.47 project in 1.9.49. I've checked the offending from file in a text editor and can't figure out what the problem could be. Regards, Joe1962 From gambas at ...1... Thu May 31 09:11:31 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 31 May 2007 09:11:31 +0200 Subject: [Gambas-user] Non terminated string in form definition error in 1.9.49 opening a 1.9.47 project In-Reply-To: <6c208f950705302221x6288a5fdkc8d9627add10e4b8@...627...> References: <6c208f950705302221x6288a5fdkc8d9627add10e4b8@...627...> Message-ID: <200705310911.31669.gambas@...1...> On jeudi 31 mai 2007, Jose J. Rodriguez wrote: > As the subject says, I'm getting a "Non terminated string in form > definition" error when compiling a 1.9.47 project in 1.9.49. I've > checked the offending from file in a text editor and can't figure out > what the problem could be. > > Regards, > Joe1962 > You should send me the *.form and the *.class file. Regards, -- Benoit Minisini From gambas at ...1... Thu May 31 14:36:17 2007 From: gambas at ...1... (Benoit Minisini) Date: Thu, 31 May 2007 14:36:17 +0200 Subject: [Gambas-user] Feature Request; Debugger In-Reply-To: <26396518.601180519911061.JavaMail.root@...1708...> References: <26396518.601180519911061.JavaMail.root@...1708...> Message-ID: <200705311436.17797.gambas@...1...> On mercredi 30 mai 2007, Gareth Bult wrote: > Hi, > > Would it be easy / possible to mark certain subroutines / procedures as > "don't descend" with regards to the debugger? > > Once a function has been tested to death, there's often no point in line > stepping through that routine when debugging an application. For example, > if you have a tokeniser (getToken()) that s never going to throw an error, > but cycles through 50 lines of code, it would be really nice to be able to > mark the routine as "finished" and have the debugger automatically step > over this routine when debugging. > > .. just a thought .. :-) > > Gareth. I don't understand: if you don't want to trace a function, you just have to use 'Forward' (SHIFT-F8) instead of 'Step-by-step' (F8) when it is called. Is it a "lazy-guy" feature? :-) -- Benoit Minisini From gareth at ...1689... Thu May 31 16:08:56 2007 From: gareth at ...1689... (Gareth Bult) Date: Thu, 31 May 2007 15:08:56 +0100 (BST) Subject: [Gambas-user] Feature Request; Debugger In-Reply-To: <200705311436.17797.gambas@...1...> Message-ID: <20705104.1471180620536072.JavaMail.root@...1708...> Mmm, a lazy-guy feature eh ? Could be .. or it could be a possible unique feature / selling point for professional application programmers ... ? I'll try to clarify; When developing an application with many '000's of functions and procedures, it would be nice to mark certain routines as "production" (for examples) and have the debugger not descend into them by default. This could make your F8 debugging loop a fraction of the code you might otherwise step through. Shift-F8 is great, but if you want to iterate through 200 lines of code, all of which might be a mixture of calls you want to descend into and calls you're happy with, having to decide which key combo to use 200 times it a bit of a headache, esp. when you end up descending into one you don't want then having to trace 1000 lines just to get out of it again. .. Anyway, just a thought .. very useful for applications that require lots of debugging, typically anything that connects to an internet server through an iffy protocol like IMAP .. ;-) Gareth. -- Gareth Bult, Encryptec Limited Tel: 0845 25 77033, FWD: 753977, Mob: 07891 389657 Email: gareth at ...1689... Statements made are at all times subject to Encryptec's Terms and Conditions of Business, which are available upon request. ----- Original Message ----- From: "Benoit Minisini" To: "mailing list for gambas users" Sent: Thursday, May 31, 2007 1:36:17 PM (GMT) Europe/London Subject: Re: [Gambas-user] Feature Request; Debugger On mercredi 30 mai 2007, Gareth Bult wrote: > Hi, > > Would it be easy / possible to mark certain subroutines / procedures as > "don't descend" with regards to the debugger? > > Once a function has been tested to death, there's often no point in line > stepping through that routine when debugging an application. For example, > if you have a tokeniser (getToken()) that s never going to throw an error, > but cycles through 50 lines of code, it would be really nice to be able to > mark the routine as "finished" and have the debugger automatically step > over this routine when debugging. > > .. just a thought .. :-) > > Gareth. I don't understand: if you don't want to trace a function, you just have to use 'Forward' (SHIFT-F8) instead of 'Step-by-step' (F8) when it is called. Is it a "lazy-guy" feature? :-) -- Benoit Minisini ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From steven at ...1652... Thu May 31 21:08:17 2007 From: steven at ...1652... (Steven Lobbezoo) Date: Thu, 31 May 2007 21:08:17 +0200 Subject: [Gambas-user] Printing Message-ID: <200705312108.18211.steven@...1652...> Hi Fabien, I've been looking into the printing problem. Remember, I'm waiting for the possibility to do a page-switch per program control. Actually, this is not to difficult. I 'm just printing my single pages as complete print-output, and use my own page numbering. But, ..... looking into the whole problem of printing - specially the disign phase, I must say: that's REALLY COMPLICATED. As long as it's you doing the work alone, we should not even hope for a 'quality' solution soon. Of course, nothing against your capabilities ;-) , but I think the work is just to much for one person to do. Take a look at the Jasper reports engine! It really is complicated, works fine now, but has a LOT of developers, and took years and years to get to the level it has today! Sure, it's written in jave and thus very slow, but for printing .... who cares. Also there's a -really good- application : IReport designer, which is a profesional tool to develop reports (wysiwyg). Very complicated software, free and using java. (all based on the Jasper XML engine). The problem with this software is, that without knowing java, you cannot use its output! You have to know about beans, ants and other beasts. That's a drag. Now, I was thinking, would it not be a good idea to write a component, that lets you use your IReport designed reports, to feed to the Jasper engine, and control the output as per your samples (print to an image, show gs, etc. We would need something like the following classes: Show (XMlfile, output from Ireport) Printselection (exists) Print --> Printer of the xmlfile Set the parameters of the report (You can "program" them in IReport) And, maybe directly, write to pdf file of the output. show the Ireport designer interface to the user (that's allso allready available) etc. etc. All in all, not to difficult (I think ;-) ), and it would give gambas a great report posibility. I donnot know java, but would be happy to do anything I can to help. Comments please, Steven From gambas.fr at ...626... Thu May 31 23:15:58 2007 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 31 May 2007 23:15:58 +0200 Subject: [Gambas-user] Printing In-Reply-To: <200705312108.18211.steven@...1652...> References: <200705312108.18211.steven@...1652...> Message-ID: <6324a42a0705311415k75ebfa2eif26cf09ee0bdb751@...627...> 2007/5/31, Steven Lobbezoo : > > Hi Fabien, > > I've been looking into the printing problem. > Remember, I'm waiting for the possibility to do a page-switch per program > control. > > Actually, this is not to difficult. I 'm just printing my single pages as > complete print-output, and use my own page numbering. > > But, ..... looking into the whole problem of printing - specially the > disign > phase, I must say: that's REALLY COMPLICATED. As long as it's you doing > the > work alone, we should not even hope for a 'quality' solution soon. Of > course, > nothing against your capabilities ;-) , but I think the work is just to > much > for one person to do. Yes it's difficult and the first goal is not to make a very powerfull tool in a first step. The switch is not done ... i know that but i've less time in this last days. I think you will not be able at term to do program page switching... a gambas report is a static desingned system... but i will explain to you how to do that. Take a look at the Jasper reports engine! It really is complicated, works > fine now, but has a LOT of developers, and took years and years to get to > the > level it has today! Sure, it's written in jave and thus very slow, but for > printing .... who cares. Also there's a -really good- application : > IReport > designer, which is a profesional tool to develop reports (wysiwyg). Very > complicated software, free and using java. (all based on the Jasper XML > engine). The problem with this software is, that without knowing java, you > cannot use its output! You have to know about beans, ants and other > beasts. > That's a drag. > > Now, I was thinking, would it not be a good idea to write a component, > that > lets you use your IReport designed reports, to feed to the Jasper engine, > and > control the output as per your samples (print to an image, show gs, etc. > > We would need something like the following classes: > > Show (XMlfile, output from Ireport) > Printselection (exists) > Print --> Printer of the xmlfile > Set the parameters of the report > (You can "program" them in IReport) > And, maybe directly, write to pdf file of the output. > show the Ireport designer interface to the user > (that's allso allready available) > etc. etc. > > All in all, not to difficult (I think ;-) ), and it would give gambas a > great > report posibility. > I donnot know java, but would be happy to do anything I can to help. > > Comments please, > > Steven > > > > > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user >