From gambas at ...2524... Sat Oct 1 08:42:36 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 01 Oct 2011 06:42:36 +0000 Subject: [Gambas-user] Issue 117 in gambas: Clean Up deletes library files In-Reply-To: <1-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> <0-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> Comment #2 on issue 117 by adamn... at ...626...: Clean Up deletes library files http://code.google.com/p/gambas/issues/detail?id=117 Hi Benoit, From your answer to 107: "But when running the project normally, the library is searched in the following directory only: - The same directory as the project. - /usr/bin - /bin" I can't move the library to /usr/bin as that is where the production version lives. So while i'm developing a new version of the app AND changes to the library, when I want to check them outside the IDE I move the library executables into the project dir. From gambas at ...2524... Sat Oct 1 11:32:27 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 01 Oct 2011 09:32:27 +0000 Subject: [Gambas-user] Issue 119 in gambas: Event declaration Message-ID: <0-6813199134517018827-14067762367377420941-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 119 by linuxaht... at ...626...: Event declaration http://code.google.com/p/gambas/issues/detail?id=119 1) Error compiler at Event declaration: PUBLIC bResult AS Boolean 'Controlara la recepcion de STOP EVENT EVENT beforeUpdate(currentRec AS Variant) AS Boolean EVENT afterUpdate(currentRec AS Variant) The Event beforeUpdate show error compiler, afterUpdate no error. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux KernelRelease=2.6.32-33-generic Architecture=i686 Memory=476036 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.3 LTS" Desktop=Gnome [Gambas 2] Version=2.20.2 Path=/usr/local/bin/gbx2 [Gambas 3] Version=2.99.4 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 From gambas at ...2524... Sat Oct 1 11:36:28 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 01 Oct 2011 09:36:28 +0000 Subject: [Gambas-user] Issue 119 in gambas: Event declaration In-Reply-To: <0-6813199134517018827-14067762367377420941-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14067762367377420941-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14067762367377420941-gambas=googlecode.com@...2524...> Comment #1 on issue 119 by linuxaht... at ...626...: Event declaration http://code.google.com/p/gambas/issues/detail?id=119 This error only occurs in GB 2.99.4 From gambas at ...2524... Sat Oct 1 16:22:27 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 01 Oct 2011 14:22:27 +0000 Subject: [Gambas-user] Issue 117 in gambas: Clean Up deletes library files In-Reply-To: <2-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> <0-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 117 by benoit.m... at ...626...: Clean Up deletes library files http://code.google.com/p/gambas/issues/detail?id=117 See my comment on issue 107... From gambas at ...2524... Sat Oct 1 16:26:29 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 01 Oct 2011 14:26:29 +0000 Subject: [Gambas-user] Issue 117 in gambas: Clean Up deletes library files In-Reply-To: <3-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> <0-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-11481284760814689118-gambas=googlecode.com@...2524...> Comment #4 on issue 117 by benoit.m... at ...626...: Clean Up deletes library files http://code.google.com/p/gambas/issues/detail?id=117 When I have projects that share some libraries, I create a directory somewhere, and I put all the executables there. Not in any project directory. The project executable put in the project directory is an exception in that case. Use it only when the project does not need any library. If you are a cool guy, you will create a summary of the all discussion on the gambas wiki. :-) From gambas at ...2524... Sat Oct 1 16:30:30 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 01 Oct 2011 14:30:30 +0000 Subject: [Gambas-user] Issue 119 in gambas: Event declaration In-Reply-To: <1-6813199134517018827-14067762367377420941-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14067762367377420941-gambas=googlecode.com@...2524...> <0-6813199134517018827-14067762367377420941-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14067762367377420941-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #2 on issue 119 by benoit.m... at ...626...: Event declaration http://code.google.com/p/gambas/issues/detail?id=119 The first syntax is forbidden in Gambas 3. Only the second one is valid. From gambas at ...2524... Sat Oct 1 16:34:31 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 01 Oct 2011 14:34:31 +0000 Subject: [Gambas-user] Issue 118 in gambas: Project saving directory recursion In-Reply-To: <0-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-Any Comment #1 on issue 118 by benoit.m... at ...626...: Project saving directory recursion http://code.google.com/p/gambas/issues/detail?id=118 (No comment was entered for this change.) From tobiasboe1 at ...20... Sat Oct 1 18:20:54 2011 From: tobiasboe1 at ...20... (tobias) Date: Sat, 01 Oct 2011 18:20:54 +0200 Subject: [Gambas-user] DataControl and multi-line text Message-ID: <4E873DE6.7080002@...20...> hi, we had a problem regarding DataControl. someone wanted to display multi-line text from a database using controls from gb.db.form (for simplicity). but DataControl is only a single-line textbox, no worwrap no multiple lines. i just want to ask if this is already considered a problem and if there will be something like a DataControl based on TextArea. i think, it would be more useful to have a basic DataControl, just to associate the object with a field from DataSource's table, and have a control associated to this DataControl to display the value with an event to fill it, like this: DataControl.Control = TextArea1 Public Sub DataControl_SetValue(vValue As Variant) 'called whenever the datacontrol has to change its contents Last.Control.Text = CStr(vValue) End or another property (in DataControl) for the property of the control to insert the value into, like: DataControl.Control = TextArea1 DataControl.ControlProperty = "Text" whenever the contents of the datacontrol have to be changed this may be done internally: Object.SetProperty(Me.Control, Me.ControlProperty, Value) just an idea while writing this, haven't thought deeply. this would mean more code for the programmer but also more control. it would be possible this way to build a spinbox or something into a datacontrol: DataControl.Control = SpinBox1 DataControl.ControlProperty = "Value" regards, tobi From dag.jarle.johansen at ...626... Sat Oct 1 22:55:16 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Sat, 1 Oct 2011 22:55:16 +0200 Subject: [Gambas-user] Question to View Message-ID: Hello everybody, at the moment I have a bad internet access, so I can't look as I would like to, and not on the Linux-machine, so I can not send any projects and so on. I have a table in MySQL, (or later more), which I would like to put in a view. Which would be the best method to make this, and which view should be used? Tableview, Gridview, there are some candidats. I usually open a DB with a Connection, and use sql-statements to get and write table-data. Somewhere in my mind... Gambas 3 should support this per defintion, but I can not find it. I would be grateful for any advice. Regards, Dag-Jarle From tobiasboe1 at ...20... Sat Oct 1 23:06:16 2011 From: tobiasboe1 at ...20... (tobias) Date: Sat, 01 Oct 2011 23:06:16 +0200 Subject: [Gambas-user] Question to View In-Reply-To: References: Message-ID: <4E8780C8.4090209@...20...> hi, > I have a table in MySQL, (or later more), which I would like to put in a > view. Which would be the best method to make this, and which view should be > used? Tableview, Gridview, there are some candidats. > > I usually open a DB with a Connection, and use sql-statements to get and > write table-data. Somewhere in my mind... Gambas 3 should support this per > defintion, but I can not find it. i would have used classes from gb.db.form. From gambas at ...1... Sat Oct 1 23:58:49 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sat, 1 Oct 2011 23:58:49 +0200 Subject: [Gambas-user] Database manager - gambas2 vs gambas3 - questions In-Reply-To: <1317093381.3182.14.camel@...2688...> References: <1317092831.3182.12.camel@...2688...> <1317093381.3182.14.camel@...2688...> Message-ID: <201110012358.49744.gambas@...1...> > On Tue, 2011-09-27 at 12:37 +0930, Bruce Bruen wrote: > > 1) In gambas2, I could get the database manager to "Make gambas code" > > which was very handy, I can't find this feature in gambas3. Is it > > removed? More exactly, I had never enough time to make it again. And as I don't use it... Maybe for Gambas 3.1 ? > > 2) In the gambas2 database manager I can expand the height of a row in > > the data view, I can't seem to do this in the gambas3 version. Is this > > intentional? Yes, because I had a problem with automatic row height resizing and performances. But I'm not 100% sure than preventing rows to be resized is related to that. But normally, if the current selected row should automatically fits its contents. > > 3) In the gambas3 version there is a button "Copy field list", this does > > not appear to do anything (that I can see). What is it's purpose? > > regards It copied the list of fields into the clipboard. > 4) In gambas 3, I can only have one table or a single sql pane open at a > time. I gambas2, I could have lots. > I agree, the Gambas 3 database manager may not be as practical as the Gambas 2 one in some places. I plan (later) to allow to save sql requests and they will appear inside the the table list. Or something like that. So that we can deal with many SQL requests at the same time easily. Regards, -- Beno?t Minisini From dag.jarle.johansen at ...626... Sun Oct 2 00:02:49 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Sun, 2 Oct 2011 00:02:49 +0200 Subject: [Gambas-user] Question to View In-Reply-To: <4E8780C8.4090209@...20...> References: <4E8780C8.4090209@...20...> Message-ID: Thank you Tobias, I will take a look at that, but as I said, it is rather hard to get to info at the moment - have to borrow a PC for internet, I am still on shopping and installing my PC after changing my location. Regards, Dag-Jarle 2011/10/1 tobias > hi, > > > I have a table in MySQL, (or later more), which I would like to put in a > > view. Which would be the best method to make this, and which view should > be > > used? Tableview, Gridview, there are some candidats. > > > > I usually open a DB with a Connection, and use sql-statements to get and > > write table-data. Somewhere in my mind... Gambas 3 should support this > per > > defintion, but I can not find it. > i would have used classes from gb.db.form. > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Sun Oct 2 00:27:03 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 02 Oct 2011 08:57:03 +1030 Subject: [Gambas-user] Database manager - gambas2 vs gambas3 - questions In-Reply-To: <201110012358.49744.gambas@...1...> References: <1317092831.3182.12.camel@...2688...> <1317093381.3182.14.camel@...2688...> <201110012358.49744.gambas@...1...> Message-ID: <1317508023.22222.20.camel@...2688...> On Sat, 2011-10-01 at 23:58 +0200, Beno?t Minisini wrote: > > On Tue, 2011-09-27 at 12:37 +0930, Bruce Bruen wrote: > > > 1) In gambas2, I could get the database manager to "Make gambas code" > > > which was very handy, I can't find this feature in gambas3. Is it > > > removed? > > More exactly, I had never enough time to make it again. And as I don't use > it... Maybe for Gambas 3.1 ? OK, I'll wait. > > > > 2) In the gambas2 database manager I can expand the height of a row in > > > the data view, I can't seem to do this in the gambas3 version. Is this > > > intentional? > > Yes, because I had a problem with automatic row height resizing and > performances. But I'm not 100% sure than preventing rows to be resized is > related to that. > > But normally, if the current selected row should automatically fits its > contents. That works sometimes. Other times I get the problem in the attached picture. > > > > 3) In the gambas3 version there is a button "Copy field list", this does > > > not appear to do anything (that I can see). What is it's purpose? > > > regards > > It copied the list of fields into the clipboard. Hmm. Nothing gets put in the clipboard. May be a LXDE thing. I'll investigate further. > > > 4) In gambas 3, I can only have one table or a single sql pane open at a > > time. I gambas2, I could have lots. > > > > I agree, the Gambas 3 database manager may not be as practical as the Gambas 2 > one in some places. > > I plan (later) to allow to save sql requests and they will appear inside the > the table list. Or something like that. So that we can deal with many SQL > requests at the same time easily. > OK, but I have more a need to browse related table data. No big problem for postgres with pgadmin3, but the gambas2 database manager was more handy than the mysql and sqlite utilities. Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_029.png Type: image/png Size: 11662 bytes Desc: not available URL: From bbruen at ...2308... Sun Oct 2 00:52:56 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 02 Oct 2011 09:22:56 +1030 Subject: [Gambas-user] Issue 117 Message-ID: <1317509576.22222.34.camel@...2688...> Hi Benoit, Yep, I was already thinking of writing up this stuff. It is a fairly big topic though! I have only begun to organise my thoughts and make notes. The attached mind map gives some idea. I think the problem I am having is that this machine acts as a production server, up to 5 other people can be attached (some remotely) using these applications. So I have to be careful to preserve the /usr/bin and other data directories while still maintaining and developing the apps. (Yes, I know that I should have a separate prod server, but money doesn't stretch that far at the moment.) One thing that is hindering me though is that I am now unsure what I can legally put inside a gambas3 project directory. In gambas2 I could put lots of stuff related to the project inside the project and it handled it without the problems I now seem to be hitting. This included stuff like source archives, documentation files, snapshot copies of classes (grrr!) etc. Sometime ago you wrote in a mail something about what gets included in a project build and what gets ignored. I cant find that mail. Would you explain the proper usage of the project directory for me. regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: mindmap.png Type: image/png Size: 68829 bytes Desc: not available URL: From gambas at ...1... Sun Oct 2 01:58:24 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 2 Oct 2011 01:58:24 +0200 Subject: [Gambas-user] Issue 117 In-Reply-To: <1317509576.22222.34.camel@...2688...> References: <1317509576.22222.34.camel@...2688...> Message-ID: <201110020158.24401.gambas@...1...> > Hi Benoit, > > Yep, I was already thinking of writing up this stuff. It is a fairly > big topic though! I have only begun to organise my thoughts and make > notes. The attached mind map gives some idea. > > I think the problem I am having is that this machine acts as a > production server, up to 5 other people can be attached (some remotely) > using these applications. So I have to be careful to preserve > the /usr/bin and other data directories while still maintaining and > developing the apps. (Yes, I know that I should have a separate prod > server, but money doesn't stretch that far at the moment.) > > One thing that is hindering me though is that I am now unsure what I can > legally put inside a gambas3 project directory. In gambas2 I could put > lots of stuff related to the project inside the project and it handled > it without the problems I now seem to be hitting. This included stuff > like source archives, documentation files, snapshot copies of classes > (grrr!) etc. > > Sometime ago you wrote in a mail something about what gets included in a > project build and what gets ignored. I cant find that mail. > > Would you explain the proper usage of the project directory for me. > > regards > Bruce In Gambas 3, there is a directory named ".hidden" in the project directory. Only there you can put what you want. The contents of '.hidden' directory will not be included in the executable. In the other places, you should use the IDE. Or you must use the IDE if you don't know what you are doing. I will write a documentation about the gambas 3 project directory on the wiki. Regards, -- Beno?t Minisini From bbruen at ...2308... Sun Oct 2 03:35:47 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 02 Oct 2011 12:05:47 +1030 Subject: [Gambas-user] Issue 117 In-Reply-To: <201110020158.24401.gambas@...1...> References: <1317509576.22222.34.camel@...2688...> <201110020158.24401.gambas@...1...> Message-ID: <1317519347.22222.37.camel@...2688...> On Sun, 2011-10-02 at 01:58 +0200, Beno?t Minisini wrote: > > Hi Benoit, > > > > Yep, I was already thinking of writing up this stuff. It is a fairly > > big topic though! I have only begun to organise my thoughts and make > > notes. The attached mind map gives some idea. > > > > I think the problem I am having is that this machine acts as a > > production server, up to 5 other people can be attached (some remotely) > > using these applications. So I have to be careful to preserve > > the /usr/bin and other data directories while still maintaining and > > developing the apps. (Yes, I know that I should have a separate prod > > server, but money doesn't stretch that far at the moment.) > > > > One thing that is hindering me though is that I am now unsure what I can > > legally put inside a gambas3 project directory. In gambas2 I could put > > lots of stuff related to the project inside the project and it handled > > it without the problems I now seem to be hitting. This included stuff > > like source archives, documentation files, snapshot copies of classes > > (grrr!) etc. > > > > Sometime ago you wrote in a mail something about what gets included in a > > project build and what gets ignored. I cant find that mail. > > > > Would you explain the proper usage of the project directory for me. > > > > regards > > Bruce > > In Gambas 3, there is a directory named ".hidden" in the project directory. > Only there you can put what you want. The contents of '.hidden' directory will > not be included in the executable. > > In the other places, you should use the IDE. Or you must use the IDE if you > don't know what you are doing. > > I will write a documentation about the gambas 3 project directory on the wiki. > > Regards, > OK! Thanks for that. It all looks cool (so far :-) ) From kevinfishburne at ...1887... Sun Oct 2 07:30:01 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 02 Oct 2011 01:30:01 -0400 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) Message-ID: <4E87F6D9.9030402@...1887...> I'd previously posted a message about having problems compiling and didn't get a response, but someone subsequently ran into the same (I think) problem which I believe they resolved. I'm getting the error: /bin/sed: can't read /usr/lib/libfreetype.la: No such file or directory libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive make[4]: *** [gb.sdl.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 The solution had something to do with symlinking a file somewhere. Was an elegant solution ever devised to get it to compile properly? I can't remember whatever my brutal hack was to fix it (I reinstalled Debian recently). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Sun Oct 2 08:11:58 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 02 Oct 2011 02:11:58 -0400 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <4E87F6D9.9030402@...1887...> References: <4E87F6D9.9030402@...1887...> Message-ID: <4E8800AE.60207@...1887...> On 10/02/2011 01:30 AM, Kevin Fishburne wrote: > I'd previously posted a message about having problems compiling and > didn't get a response, but someone subsequently ran into the same (I > think) problem which I believe they resolved. I'm getting the error: > > /bin/sed: can't read /usr/lib/libfreetype.la: No such file or directory > libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive > make[4]: *** [gb.sdl.la] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > The solution had something to do with symlinking a file somewhere. Was > an elegant solution ever devised to get it to compile properly? I can't > remember whatever my brutal hack was to fix it (I reinstalled Debian > recently) Found the old thread and created a symlink from /usr/lib/x86_64-linux-gnu/libfreetype.la to /usr/lib/libfreetype.la, which gets me to this point: /usr/bin/install: cannot stat `.libs/gb.sdl.lai': No such file or directory make[3]: *** [install-gblibLTLIBRARIES] Error 1 make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 gb.qt4: warning: unable to load Qt translation: en_US.utf8 If I remember correctly this is when I copied some files in one of the source directories to some system directory, which somehow got it to work. As I mentioned, I can't remember what I did and it was a terribly sloppy hack. Any idea what's going on here, as this is a really shitty way to get gb3 working in Debian Wheezy. gb3 runs at this point, but says gb.opengl isn't available. Since this is a clean install I'm reluctant to start copying files all over the place hoping it will run. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Sun Oct 2 15:17:55 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 2 Oct 2011 15:17:55 +0200 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <4E8800AE.60207@...1887...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> Message-ID: <201110021517.55600.gambas@...1...> > On 10/02/2011 01:30 AM, Kevin Fishburne wrote: > > I'd previously posted a message about having problems compiling and > > didn't get a response, but someone subsequently ran into the same (I > > think) problem which I believe they resolved. I'm getting the error: > > > > /bin/sed: can't read /usr/lib/libfreetype.la: No such file or directory > > libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive > > make[4]: *** [gb.sdl.la] Error 1 > > make[3]: *** [all-recursive] Error 1 > > make[2]: *** [all] Error 2 > > make[1]: *** [all-recursive] Error 1 > > make: *** [all] Error 2 > > > > The solution had something to do with symlinking a file somewhere. Was > > an elegant solution ever devised to get it to compile properly? I can't > > remember whatever my brutal hack was to fix it (I reinstalled Debian > > recently) > > Found the old thread and created a symlink from > /usr/lib/x86_64-linux-gnu/libfreetype.la to /usr/lib/libfreetype.la, > which gets me to this point: > > /usr/bin/install: cannot stat `.libs/gb.sdl.lai': No such file or directory > make[3]: *** [install-gblibLTLIBRARIES] Error 1 > make[2]: *** [install-am] Error 2 > make[1]: *** [install-recursive] Error 1 > make: *** [install-recursive] Error 1 > gb.qt4: warning: unable to load Qt translation: en_US.utf8 > > If I remember correctly this is when I copied some files in one of the > source directories to some system directory, which somehow got it to > work. As I mentioned, I can't remember what I did and it was a terribly > sloppy hack. > > Any idea what's going on here, as this is a really shitty way to get gb3 > working in Debian Wheezy. gb3 runs at this point, but says gb.opengl > isn't available. Since this is a clean install I'm reluctant to start > copying files all over the place hoping it will run. No idea, except that there may be a bug in the libSDL_ttf.la file provided by Debian Wheezy. When trying to link with a library (apparently libsdl there), the GNU tools uses *.la files. These *.la files are text files that contain, among other things, path to the other *.la files that library depends on. This is a recursive process. So I think that the libSDL_ttf.la file points at /usr/lib/libfreetype.la, and you don't have this file. Either there is a missing package (the one that installs libfreetype.la inside /usr/lib), either the contents of libSDL_ttf.la is not valid. Here is the line in my own libSDL_ttf.la that points at 'libfreetype.la': --8<--- dependency_libs=' -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux- gnu/libfreetype.la -lz -L/usr/lib /usr/lib/libSDL.la' --8<--- Compare with yours. Then fix your libSDL_ttf.la file, and recompile from scratch. Regards, -- Beno?t Minisini From demosthenesk at ...626... Sun Oct 2 15:29:56 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 02 Oct 2011 16:29:56 +0300 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <201110021517.55600.gambas@...1...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> <201110021517.55600.gambas@...1...> Message-ID: <1317562196.14486.5.camel@...2689...> On my LMDE which i also had the first problem with the link library is # Libraries that this one depends upon. dependency_libs=' /usr/lib/libfreetype.la -lz -L/usr/lib /usr/lib/libSDL.la' i was firstly had the problem with /usr/lib/libfreetype.la and made a symlink, but after that no other problem. Now i have a working Gambas3 on a Linux Mint Debian edition. I think Debian has some wrong paths for those libs. On Sun, 2011-10-02 at 15:17 +0200, Beno?t Minisini wrote: > Here is the line in my own libSDL_ttf.la that points at 'libfreetype.la': > > --8<--- > dependency_libs=' -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux- > gnu/libfreetype.la -lz -L/usr/lib /usr/lib/libSDL.la' > --8<--- > > Compare with yours. > > Then fix your libSDL_ttf.la file, and recompile from scratch. > From bill-lancaster at ...2231... Sun Oct 2 19:34:42 2011 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sun, 2 Oct 2011 10:34:42 -0700 (PDT) Subject: [Gambas-user] Printing - first lines of text won't print Message-ID: <32578528.post@...1379...> The first 40 lines of text do not print. Running the "Printing" example this still happens. In ModulePrintText.PrintText, if I change 'pagePosition = 0' to 'pagePosition = 3608' then all the text is printed. Any ideas where I'm going wrong Bill Lancaster Ubuntu 11.04, Gambas 2.21 -- View this message in context: http://old.nabble.com/Printing---first-lines-of-text-won%27t-print-tp32578528p32578528.html Sent from the gambas-user mailing list archive at Nabble.com. From herberthguzman at ...626... Mon Oct 3 04:47:13 2011 From: herberthguzman at ...626... (herberth guzman) Date: Sun, 2 Oct 2011 20:47:13 -0600 Subject: [Gambas-user] WebForm Message-ID: Greetings community, I have no clear how to do it and I'm lost, if I could help, I need to create a program that connects to a database and insert records but from the web, but I want to be in shrimp, is it possible and if they out, I could give an idea please. Thank you. From aasanchez at ...626... Mon Oct 3 20:33:06 2011 From: aasanchez at ...626... (Alexis Sanchez) Date: Mon, 3 Oct 2011 14:03:06 -0430 Subject: [Gambas-user] how control a picturebox create in code... Message-ID: i have this rutine... PUBLIC SUB pictures_init(formulario AS Form) DIM bicentenario AS PictureBox 'Dibujamos el logo del Bicentenario bicentenario = NEW PictureBox(formulario) bicentenario.Picture = Picture["img/bicentenario.png"] bicentenario.Width = 10 bicentenario.Height = 20 bicentenario.x = Desktop.Width - 80 bicentenario.y = 30 END in real life this function is more large, this create 50 picturebox... ok, but, i need after create, with a timer move the picture... something like this.. PUBLIC SUB relog_Timer() bicentenario.x = bicentenario.x + 10 ENDIF But i cant... launch a error... pls i need do this... -- Alexis Sanchez 0416-2584008 Linux Counter User: 484046 http://alexissanchez.net Ubuntu 10.10 & Kernel: 2.6.35-25 Twitter: @aasanchez facebook: facebook.com/aasanchez From gambas at ...2524... Mon Oct 3 20:43:48 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Oct 2011 18:43:48 +0000 Subject: [Gambas-user] Issue 120 in gambas: One value in the example EVALUATOR uses the comma as decimal separator Message-ID: <0-6813199134517018827-13313940022477750049-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 120 by stephane... at ...626...: One value in the example EVALUATOR uses the comma as decimal separator http://code.google.com/p/gambas/issues/detail?id=120 1) Describe the problem. In the example EVALUATOR (Menu File > Open example > Miscellaneous > Evaluator), the default value for the parameter "a" is 0,5 (one half). It implies that the decimal separator on the machine of the user is a comma and if the users presses the button "Update result" it gets an error message. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK 2.99.4 Revision: r4168 3) Provide a little project that reproduces the bug or the crash. Open the example Evaluator (Menu File > Open example > Miscellaneous > Evaluator) on a machine that uses the "." as decimal separator. Run and click on the button "Update result" -> You receive an error message. 4) If your project needs a database, try to provide it, or part of it. n/a 5) Explain clearly how to reproduce the bug or the crash. See #3 6) By doing that carefully, you have done 50% of the bug fix job! Suggestion on how to fix the bug: use a number without decimal by default. So the change could be the following: access the web page http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/examples/examples/Misc/Evaluator/.src/FEval.form?revision=3824&view=markup Change the line 27, replace 0,5 by 2 for example. From dag.jarle.johansen at ...626... Mon Oct 3 20:44:00 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Mon, 3 Oct 2011 20:44:00 +0200 Subject: [Gambas-user] how control a picturebox create in code... In-Reply-To: References: Message-ID: hola, que tal, try rather the WAIT-Function if the Timer makes problems do while True bicentenario.move(bicentenario.x + 10, bicentenario.y) Wait 0.01 '(try out what you need here) and not forgetting... IF bicentenario.Left+bicentenario.Width > ME.Width then 'DO SOMETHING, if not your anniversery will disapppear into nirvana END WEND At least I have good experience with WAIT, for example in a scrolltext, very exact and no problems Regards, Dag-Jarle 2011/10/3 Alexis Sanchez > i have this rutine... > > PUBLIC SUB pictures_init(formulario AS Form) > DIM bicentenario AS PictureBox > 'Dibujamos el logo del Bicentenario > bicentenario = NEW PictureBox(formulario) > bicentenario.Picture = Picture["img/bicentenario.png"] > bicentenario.Width = 10 > bicentenario.Height = 20 > bicentenario.x = Desktop.Width - 80 > bicentenario.y = 30 > END > > in real life this function is more large, this create 50 picturebox... > > ok, but, i need after create, with a timer move the picture... > > something like this.. > > PUBLIC SUB relog_Timer() > bicentenario.x = bicentenario.x + 10 > ENDIF > > But i cant... launch a error... pls i need do this... > > > > -- > Alexis Sanchez > 0416-2584008 > Linux Counter User: 484046 > http://alexissanchez.net > Ubuntu 10.10 & Kernel: 2.6.35-25 > Twitter: @aasanchez > facebook: facebook.com/aasanchez > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Mon Oct 3 20:53:04 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Oct 2011 18:53:04 +0000 Subject: [Gambas-user] Issue 121 in gambas: The example Evaluator returns strange results when working with integer/long numbers Message-ID: <0-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 121 by stephane... at ...626...: The example Evaluator returns strange results when working with integer/long numbers http://code.google.com/p/gambas/issues/detail?id=121 1) Describe the problem. If the formula that you enter in the evaluator contains only contains whole numbers (no decimals) and no function, the calculation is made using integer math which may look odd to an inexperienced user. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK 2.99.4 Revision: r4168 3) Provide a little project that reproduces the bug or the crash. See #5 4) If your project needs a database, try to provide it, or part of it. n/a 5) Explain clearly how to reproduce the bug or the crash. Open the example Evaluator (File > Open example > Miscellaneous > Evaluator) and run it. In the textbox corresponding to "a=", enter 29999. In the formula, enter a*a*a. Click the button "Update result". You get a negative number which is obviously wrong. The reason is that the evaluation component works with long numbers and does math modulo 2^32. To fix the bug, I suggest to change: Click on http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/examples/examples/Misc/Evaluator/.src/FEval.class?revision=2078&view=markup Change the lines 26-29 into: $cEnv["a"] = CFloat(Val(txtValueA.Text)) $cEnv["b"] = CFloat(Val(txtValueB.Text)) $cEnv["x"] = CFloat(Val(txtValueX.Text)) $cEnv["y"] = CFloat(Val(txtValueY.Text)) to force a calculation using floating point numbers. 6) By doing that carefully, you have done 50% of the bug fix job! From gambas at ...2524... Mon Oct 3 20:58:08 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Oct 2011 18:58:08 +0000 Subject: [Gambas-user] Issue 121 in gambas: The example Evaluator returns strange results when working with integer/long numbers In-Reply-To: <0-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> Comment #1 on issue 121 by stephane... at ...626...: The example Evaluator returns strange results when working with integer/long numbers http://code.google.com/p/gambas/issues/detail?id=121 Note that if the user directly enter the formula 29999*29999*29999, the result is also wrong, so the real bug is in the component that does the evaluation. It should by default work with floating point numbers. From gambas at ...2524... Mon Oct 3 22:32:00 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Oct 2011 20:32:00 +0000 Subject: [Gambas-user] Issue 120 in gambas: One value in the example EVALUATOR uses the comma as decimal separator In-Reply-To: <0-6813199134517018827-13313940022477750049-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13313940022477750049-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13313940022477750049-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 120 by benoit.m... at ...626...: One value in the example EVALUATOR uses the comma as decimal separator http://code.google.com/p/gambas/issues/detail?id=120 (No comment was entered for this change.) From gambas at ...2524... Mon Oct 3 22:36:11 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Oct 2011 20:36:11 +0000 Subject: [Gambas-user] Issue 121 in gambas: The example Evaluator returns strange results when working with integer/long numbers In-Reply-To: <1-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> <0-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #2 on issue 121 by benoit.m... at ...626...: The example Evaluator returns strange results when working with integer/long numbers http://code.google.com/p/gambas/issues/detail?id=121 (No comment was entered for this change.) From gambas at ...2524... Mon Oct 3 22:40:15 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Oct 2011 20:40:15 +0000 Subject: [Gambas-user] Issue 120 in gambas: One value in the example EVALUATOR uses the comma as decimal separator In-Reply-To: <1-6813199134517018827-13313940022477750049-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13313940022477750049-gambas=googlecode.com@...2524...> <0-6813199134517018827-13313940022477750049-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13313940022477750049-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 120 by benoit.m... at ...626...: One value in the example EVALUATOR uses the comma as decimal separator http://code.google.com/p/gambas/issues/detail?id=120 Fixed in revision #4171. From gambas at ...2524... Mon Oct 3 22:45:20 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Oct 2011 20:45:20 +0000 Subject: [Gambas-user] Issue 121 in gambas: The example Evaluator returns strange results when working with integer/long numbers In-Reply-To: <2-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> <0-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-5216106136368271019-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 121 by benoit.m... at ...626...: The example Evaluator returns strange results when working with integer/long numbers http://code.google.com/p/gambas/issues/detail?id=121 Fixed in revision #4171. From gambas at ...2524... Mon Oct 3 22:49:30 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Oct 2011 20:49:30 +0000 Subject: [Gambas-user] Issue 118 in gambas: Project saving directory recursion In-Reply-To: <1-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> <0-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> Updates: Status: Started Comment #2 on issue 118 by benoit.m... at ...626...: Project saving directory recursion http://code.google.com/p/gambas/issues/detail?id=118 Fixed in revision #4172 for Gambas 3. From rmorgan62 at ...626... Tue Oct 4 00:12:38 2011 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 3 Oct 2011 15:12:38 -0700 Subject: [Gambas-user] WebForm In-Reply-To: References: Message-ID: Not saying it isn't possible with Gambas but you'd be a lot better off using a LAMP/WAMP stack or something targeted at the web. If you truly want to do this with Gambas you could write a web server in Gambas that handles the http requests and connects to the database or you could use a Gamabs program as a CGI app to handle your database connection and let a web server i.e. Apache do the heavy lifting. As for the client side, you write your web client in Gambas and Use LAMP/WAMP stack for server side operations. However, this all would be easier just using a technology that focuses on the web IMHO. Randall On Sun, Oct 2, 2011 at 7:47 PM, herberth guzman wrote: > Greetings community, I have no clear how to do it and I'm lost, if I > could help, I need to create a program that connects to a database and > insert records but from the web, but I want to be in shrimp, is it > possible and if they out, I could give an idea please. Thank you. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...1... Tue Oct 4 00:21:02 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 4 Oct 2011 00:21:02 +0200 Subject: [Gambas-user] WebForm In-Reply-To: References: Message-ID: <201110040021.02579.gambas@...1...> > Greetings community, I have no clear how to do it and I'm lost, if I > could help, I need to create a program that connects to a database and > insert records but from the web, but I want to be in shrimp, is it > possible and if they out, I could give an idea please. Thank you. > Gambas 3 has a gb.web component that allows to write CGI scripts with an ASP- like interface to handle request, response, cookies, forms, file downloads... Adds the gb.db component to your CGI script, and you can connect to your database. I use it for the big project I'm doing for my job (sort of Microsoft Access on the web with no sql, google maps and real-time tracking functions). Regards, -- Beno?t Minisini From gambas at ...2524... Tue Oct 4 02:35:54 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 04 Oct 2011 00:35:54 +0000 Subject: [Gambas-user] Issue 122 in gambas: Save Project As routine retains previous project path Message-ID: <0-6813199134517018827-15264384529836249113-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 122 by adamn... at ...626...: Save Project As routine retains previous project path http://code.google.com/p/gambas/issues/detail?id=122 1) Describe the problem. This is more of an annoyance and a source of error than a bug. If you use the IDE Save Project As.. the current project is saved as the new name and in the selected directory properly and the project in the IDE becomes the new one. However, when you click Make Executable, the previous project path is selected in the file chooser popup 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): N/A 3) Provide a little project that reproduces the bug or the crash. N/A 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. See above From gambas at ...2524... Tue Oct 4 03:30:22 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 04 Oct 2011 01:30:22 +0000 Subject: [Gambas-user] Issue 123 in gambas: GUI dependencies in library projects not exposing any gui dependency Message-ID: <0-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 123 by adamn... at ...626...: GUI dependencies in library projects not exposing any gui dependency http://code.google.com/p/gambas/issues/detail?id=123 1) Describe the problem. The GUI library that was used when developing and testing a library project is carried over into the library executable even if no exported part of the library uses any gui elements. So if a library developer uses say gb.gtk instead of gb.gui in a "non-exposed" form to test the library, the dependency on gb.gtk is carried over into the library executable. This is contrary to what the help says: ----------- The components that you select in the "Components" tab of the property dialog have nothing to do with the components you specify in the "Requires" tab. They are only used when you run the component project from the IDE for debugging purpose. ----------- 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4163 Operating system: Linux Distribution: mine Architecture: x86 GUI component: QT4 / GTK+ and gb.GUI Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. I have attached an archive containing a demo project and three libraries. Thee only difference between each of the libraries is the gui component that the test form uses. 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. (This is a bit involved, if the fault is evident the process does not need to be followed to completion). a) Unpack each of the projects contained in the attached archive. b) Make executable on each of the *lib projects c) in the debug_qtvsgtk project 1 check it is using guilib.gambas as the library and it is using the gb.gui component 2 run it, it should show the "Hello World" form. 3 change the environment and add GB_GUI=gb.gtk and re-run ==> works 4 change the environment to GB_GUI=gb.qt4 and re-run ==> works 5 remove the GB_GUI from the environment 6 remove the guilib library and add the gtklib library 7 re-run ==> works 8 add GB_GUI=gb.gtk to the environment and re-run ==> works 9 change to GB_GUI=gb.qt4 and re-run ==> FAILS - displays a message about >Desktop.Charset being incorrectly overridden 10 remove the GB_GUI from the environment 11 remove the gtklib library and add the qtlib library 12 re-run ==> FAILS - I cannot catch the message 13 add GB_GUI=gb.qt4 to the environment and re-run ==> works 14 change to GB_GUI=gb.gtk and re-run ==> FAILS - again I cannot catch the message. There is a similar effect with a different symptom if the debug_qtvsgtk project is set to use a specific gui component, e.g. gb.qt4 and the library is "mismatched". Remember, the issue is that nothing exposed by the libraries uses any gui element, it's all in the test form used by the library developer. cheers Bruce Attachments: guilibs.tar.gz 24.5 KB From gambas.fr at ...626... Tue Oct 4 09:39:14 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 4 Oct 2011 09:39:14 +0200 Subject: [Gambas-user] WebForm In-Reply-To: <201110040021.02579.gambas@...1...> References: <201110040021.02579.gambas@...1...> Message-ID: http://gambasforge.org use gb.web too, and gb.image, and gb.web, and gb.pcre Le 4 octobre 2011 00:21, Beno?t Minisini a ?crit : >> Greetings community, I have no clear how to do it and I'm lost, if I >> could help, I need to create a program that connects to a database and >> insert records but from the web, but I want to be in shrimp, is it >> possible and if they out, I could give an idea please. Thank you. >> > > Gambas 3 has a gb.web component that allows to write CGI scripts with an ASP- > like interface to handle request, response, cookies, forms, file downloads... > > Adds the gb.db component to your CGI script, and you can connect to your > database. > > I use it for the big project I'm doing for my job (sort of Microsoft Access on > the web with no sql, google maps and real-time tracking functions). > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From eilert-sprachen at ...221... Tue Oct 4 10:27:58 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 04 Oct 2011 10:27:58 +0200 Subject: [Gambas-user] Array.MoveTo - a proposal Message-ID: <4E8AC38E.4010401@...221...> Hi folks, This must have been a rare thing for me, at least I feel I've never coded something like this for the last few years. Please remember I still use Gambas 2. In an array (here: string[]) I need to move one part to another place, kinda sort does, but only once. I let the thing search for the positions of the thing to move and the thing to move to, and then...? Is there a ready-made function for it? I didn't find any, so I did this: 1. Look for the source thing (poSource) 2. Look for the goal position (poGoal) My definition was like MoveBehind or MoveAfter, so it would read array.MoveBehind(poSource, poGoal) whereas poGoal means "set it behind/after that position" i.e. "MoveTo poGoal + 1". The tricky thing is that once you delete the source at its original position, the array counts one less. And if you want to move the thing to a position AFTER its original one, you have to be aware to count one less because otherwise you end up one jump too far. Although in my special case I could ignore this, I want to make sure the routine is safe in any case. So I decided to make a copy first, letting the counting untouched. However, after inserting the copy to its new position, the function will have to re-find its earlier position, at least if you copy to a place BEFORE. Now the problem is there again. So if there is no such function in Gambas 3, here is my proposal: Introduce one! :-) It could be named MoveTo, so the programmer can decide whether it should implement Before or After in a specific project. I guess it is easily done once you must already have a similar thing in the Sort algorithm. At least this would avoid a lot of Gambas code. Hope you understand what I mean ;-) Regards Rolf From dag.jarle.johansen at ...626... Tue Oct 4 16:53:01 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Tue, 4 Oct 2011 16:53:01 +0200 Subject: [Gambas-user] Trouble with Listings Message-ID: Hey everybody, I am trying to put data into a Tableview (and or gridview), but let us stay with the Tableview. I have a non-existent internet-connection on my usual PC, so I have to tip in the code from memory. I use a recordset named RSF, filled with names (an a few other properties) form a Table. It works without problem, I can see any field and type, and much more I will not need - but in the Grid. I started this way: public sub Makeheader() From gambas.fr at ...626... Tue Oct 4 17:19:46 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 4 Oct 2011 17:19:46 +0200 Subject: [Gambas-user] Trouble with Listings In-Reply-To: References: Message-ID: 2011/10/4 Dag-Jarle Johansen : > Hey everybody, > > > I am trying to put data into a Tableview (and or gridview), but let us stay > with the Tableview. I have a non-existent internet-connection on my usual > PC, so I have to tip in the code from memory. > > I use a recordset named RSF, filled with names (an a few other properties) > form a Table. It works without problem, I can see any field and type, and > much more I will not need - but in the Grid. > > I started this way: > > public sub Makeheader() you need to finish your mail ! > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From dag.jarle.johansen at ...626... Tue Oct 4 17:53:45 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Tue, 4 Oct 2011 17:53:45 +0200 Subject: [Gambas-user] Trouble with Listings In-Reply-To: References: Message-ID: Fabien, off course I will - obviously not so comfortable with windows any more - lol - the mail just shot away. public sub MakeHeader() End 2011/10/4 Fabien Bodard > 2011/10/4 Dag-Jarle Johansen : > > Hey everybody, > > > > > > I am trying to put data into a Tableview (and or gridview), but let us > stay > > with the Tableview. I have a non-existent internet-connection on my usual > > PC, so I have to tip in the code from memory. > > > > I use a recordset named RSF, filled with names (an a few other > properties) > > form a Table. It works without problem, I can see any field and type, and > > much more I will not need - but in the Grid. > > > > I started this way: > > > > public sub Makeheader() > > you need to finish your mail ! > > > > > > ------------------------------------------------------------------------------ > > All the data continuously generated in your IT infrastructure contains a > > definitive record of customers, application performance, security > > threats, fraudulent activity and more. Splunk takes this data and makes > > sense of it. Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2dcopy1 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dag.jarle.johansen at ...626... Tue Oct 4 17:59:58 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Tue, 4 Oct 2011 17:59:58 +0200 Subject: [Gambas-user] Trouble with Listings In-Reply-To: References: Message-ID: again.... 2011/10/4 Dag-Jarle Johansen > Fabien, off course I will - obviously not so comfortable with windows any > more - lol - the mail just shot away. > > public sub MakeHeader() > Tableview1.Columns = 15 (better would be RSF.Count-1) > (I get read-ony on this position) > End so I ask myself - I want this quick and dirty - it is a databrowser for internal use, and I mislike MyPHP in the last version - how do I do this. And off course, I ask you too, you are very much better in this than I am. I have a great lot to learn. Thanks in advance and regards Dag-Jarle > > > > 2011/10/4 Fabien Bodard > >> 2011/10/4 Dag-Jarle Johansen : >> > Hey everybody, >> > >> > >> > I am trying to put data into a Tableview (and or gridview), but let us >> stay >> > with the Tableview. I have a non-existent internet-connection on my >> usual >> > PC, so I have to tip in the code from memory. >> > >> > I use a recordset named RSF, filled with names (an a few other >> properties) >> > form a Table. It works without problem, I can see any field and type, >> and >> > much more I will not need - but in the Grid. >> > >> > I started this way: >> > >> > public sub Makeheader() >> >> you need to finish your mail ! >> >> >> >> > >> ------------------------------------------------------------------------------ >> > All the data continuously generated in your IT infrastructure contains a >> > definitive record of customers, application performance, security >> > threats, fraudulent activity and more. Splunk takes this data and makes >> > sense of it. Business sense. IT sense. Common sense. >> > http://p.sf.net/sfu/splunk-d2dcopy1 >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2dcopy1 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From bbruen at ...2308... Wed Oct 5 02:06:58 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Wed, 05 Oct 2011 10:36:58 +1030 Subject: [Gambas-user] Surrogate keys and database insertions In-Reply-To: <201109261446.55724.gambas@...1...> References: <1316922259.8186.21.camel@...2688...> <201109261403.32612.gambas@...1...> <1317040897.30477.7.camel@...2688...> <201109261446.55724.gambas@...1...> Message-ID: <1317773218.2498.40.camel@...2688...> On Mon, 2011-09-26 at 14:46 +0200, Beno?t Minisini wrote: > > On Mon, 2011-09-26 at 14:03 +0200, Beno?t Minisini wrote: > > > This feature is missing, mainly because there is no standard way to do > > > that in SQL, and I don't know if there is a function for that in all SQL > > > DBMS. > > > > I was afraid of that. I'll do some research. I know it is possible in > > postgresql and I think it can be made generic across all inserts. As much > > as I hate delving in to the twisted entrails of mysql documentation I will > > endeavour... I don't have much expertise with firebird but there is a > > learning opportunity, I suppose. With sqlite, a quick look seems there is > > some probability. I doubt that it is possible with ODBC. > > > > I'll get back to you. > > Bruce > > > > Firebird being not GPL, it has been removed from Gambas. So don't worry with > it. But I'd like to have the information for the others! > Research results so far: 1) I expanded the frame of my original quest to see whether it is possible to implement a "with re-read" option for both INSERT and UPDATE queries. This would allow an automatic synchronisation of the gambas result with the true database row when the row has been updated with serial, default or computed values at the database level. The theory being that it would work regardless of whether the primary key columns were affected or not. Given the beaut way gambas works with updateable results, I think that the optimal approach would be to have an optional boolean parameter in Result.Update (i.e. Result.Update([WithReread=FALSE]) that would provide the feature but not break existing code. Alas, my C skills are not up to a point where I can try this out on my local trunk copy! Any guidance here would be appreciated. 2) Assuming the above, the internal workings of Result.Update would vary according to the dbms. Sometimes, returning the updated result is available directly from the dbms, other times it would have to be simulated via a subsequent SELECT. Further notes below. 2.1) The problem breaks down into two cases a) where the primary key columns are all provided (by the calling program) in the Result, and b) where some or all of the primary key fields are serial,default or computed. In the first case the solution is trivial, the subsequent SELECT has all it needs to query the updated row and thus refresh the Result object. The second case is more complex. However I believe it can be accomplished depending on the dbms. 2.2) For postgresql (since 8.x) the solution apears trivial as postgresql provides INSERT ... RETURNING and UPDATE ... RETURNING i.e. it can return some or all of the columns after the insert or update has completed. Further, this appears to be well protected from any concurrency or other side effects. 2.3) For MySQL (since ?.?) there is possibly a solution as there is a protected SELECT LAST_INSERT_ID(); that will return the last "autoincrement" for the most recently executed INSERT on a table containing an autoincrement column. By protected, I mean that it works on a per connection basis, thus avoiding concurrency side effects. Now since MySQL will only allow one autoincrement column per table, if the column is in the primary key then the above approach will work using a subsequent select on the resultant fully populated key. HOWEVER, there is still an unresolved issue if the db supplied key columns are not an autoincrement, say the key contains a db generated timestamp column. I am still looking into this. 2.4) For Sqlite the situation is similar to MySQL but simpler in some ways. It provides "SELECT last_insert_rowid()" to retrieve serial pkeys. I'm still looking at this as a) I'm not sure yet how far Sqlite goes in terms of the other computed column value types and b) it appears from some web pages that the version of this function in Sqlite2 has some bugs that may never have been fixed. 2.5) For ODBC, I have doubts. I'd have fewer doubts if I could actually get an ODBC driver to work at all on this machine. 2.6) Interestingly, Firebird (since 2.0) does support INSERT ... RETURNING and UPDATE ... RETURNING. Research contnues, but I'd appreciate any thoughts. Bruce From kevinfishburne at ...1887... Wed Oct 5 07:19:06 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 05 Oct 2011 01:19:06 -0400 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <1317562196.14486.5.camel@...2689...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> <201110021517.55600.gambas@...1...> <1317562196.14486.5.camel@...2689...> Message-ID: <4E8BE8CA.1000106@...1887...> On 10/02/2011 09:29 AM, Demosthenes Koptsis wrote: > On my LMDE which i also had the first problem with the link library > > is > # Libraries that this one depends upon. > dependency_libs=' /usr/lib/libfreetype.la -lz > -L/usr/lib /usr/lib/libSDL.la' > > i was firstly had the problem with /usr/lib/libfreetype.la and made a > symlink, but after that no other problem. > > Now i have a working Gambas3 on a Linux Mint Debian edition. > I think Debian has some wrong paths for those libs. > > > > On Sun, 2011-10-02 at 15:17 +0200, Beno?t Minisini wrote: > >> Here is the line in my own libSDL_ttf.la that points at 'libfreetype.la': >> >> --8<--- >> dependency_libs=' -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux- >> gnu/libfreetype.la -lz -L/usr/lib /usr/lib/libSDL.la' >> --8<--- >> >> Compare with yours. >> >> Then fix your libSDL_ttf.la file, and recompile from scratch. >> > In the interest of getting work done and facing the future of desktop environments, I came to a painful decision and have switched to Kubuntu 11.10. I decided that Debian Wheezy was insufficiently maintained for stability and that GNOME had become a tragic dead end with the abandonment of the 2.x branch and the pure crap that is the 3.x branch. That left me with KDE and Xfce as my only options, and loving customization and beauty I chose KDE. Hopefully the Debian or Mint team will get this mess sorted out so gb3 can compile without hacks. Thanks for the help anyway, and for anyone else who sees GNOME as the walking dead, I highly recommend Kubuntu or any other well-supported KDE distribution. I should have done this a long time ago. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bbruen at ...2308... Wed Oct 5 10:59:06 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Wed, 05 Oct 2011 19:29:06 +1030 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <4E8BE8CA.1000106@...1887...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> <201110021517.55600.gambas@...1...> <1317562196.14486.5.camel@...2689...> <4E8BE8CA.1000106@...1887...> Message-ID: <1317805146.2498.98.camel@...2688...> On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: > > In the interest of getting work done and facing the future of desktop > environments, I came to a painful decision and have switched to Kubuntu > 11.10. I decided that Debian Wheezy was insufficiently maintained for > stability and that GNOME had become a tragic dead end with the > abandonment of the 2.x branch and the pure crap that is the 3.x branch. > That left me with KDE and Xfce as my only options, and loving > customization and beauty I chose KDE. > > Hopefully the Debian or Mint team will get this mess sorted out so gb3 > can compile without hacks. Thanks for the help anyway, and for anyone > else who sees GNOME as the walking dead, I highly recommend Kubuntu or > any other well-supported KDE distribution. I should have done this a > long time ago. > I feel your pain but it has sparked my interest following both your and Demosthenes Koptsis posts. I think that there are a few issues here that I may be able to offer some helpful comments on. Firstly, I don't know if you know, but there are a couple of things that you should know. These are the Linux Standards Base (also known as LSB) and the File System Heirarchy (also known as FSH). The latter, which is incorporated in the LSB, defines where and how "things" should be installed in linux so that other "things2" know where to find them. One of the important "things2" in this case is the GNU toolchain. That is, the C(++) compiler and linker, etc (etc being a whole bunch of other tools that are used to make creating a program executable simple and straightforward) so that all developers everywhere can reasonably expect to be able to provide a source tarball (or svn or git or whatever) that will compile and link regardless of the target environment. (Sadly, after the kernel.org hack much of this documentation is not readily available at the moment. But when it is back I encourage you to find it, get a good red wine and relax and browse through it. It is very enlightening and very well thought out.) Secondly, and this is probably emotive but here goes anyway, most "responsible" distros adhere to the LSB to a very high degree. There is one though that follows the "be reasonable, do it my way*" approach. (* my way being the one I** decide today) (** "I" being any one of a multitude of undisciplined code whackers) I won't name it, but let's just say that it might just rhyme with "voodoo". According to the LSB (and the FSH) developers ought to expect that all linkable libraries (static or dynamic) should reside in /lib or /usr/lib. Nowhere else, not in /usr/lib/fred, nor /usr/lib/fredx64, nor /usr/lib/fred_x_6pence_and_a_farthing. (There is a caveat here, which is that the linker will allow you to override a library location specifically during a single run by using special arguments. This is so that the library developer can link in "experimental" versions of a library while they are testing it. This not meant for people trying to link to published stable versions of the library.) Now. (FANFARE!) There is a generally "perceived" problem with the current hardware mix of 32bit and 64bit architectures. I won't go in to them here beyond saying there is at least 20000 wasted blogger-years out there on the internet and to say that it is "perceived" because it only exists in the mind of the media. It doesn't matter if the machine architecture is 64 bit, 32 bit, 127bit or 6.02 times 10^23 bit, the library that is compiled for the architecture should reside in /lib or /usr/lib. (For dog's sake, even Windows went through this argument somewhere back in the 14th century when they introduced .. can't remember .. something that jammed a 16bit call into a 12bit stack .. or something entirely useless like that anyway.) The point is, linkable libraries should be in /lib or /usr/lib. Or at least referable in /lib or /usr/lib ... Which brings me to links, symbolic or hard. (I am going to presume that you know about these things, what they are and why they work.) The reason I proposed to Demosthenes that he create the links between /usr/lib and whatever the strange directory his libfree files resided in was that it gets around the problem neatly and succinctly. In fact it is a commonly used method to allow linking (toolchain linker linking) to a specific version of a library. If you look at /usr/lib you will find many examples of this, such as /usr/lib/psylocibin.so is actually a symbolic link to /usr/lib/psylocybin-a.3.6417.so (or whatever, if you've followed me so far you'll know what I mean). Similarly, the links to psylocibin.la and other things follow the same pattern. Now here is the bit that I don't understand. libfreetype has been around since the dinosaurs started feeling a bit chilly. It's about as stable as granite. I have diffed the latest version, all the files (.la .a and .so and the source) they are all the same, no matter whether they are the 32 bit version or the 64 bit version. So why some eedjit has decided to put the 64 bit versions of all these things in some obscure directory and then not provide the proper links in /usr/lib is entirely beyond me, but that's voodoo for you. But by the way, it's not Debian. They provide a proper (source) package that goes to the proper (/usr/lib) place. I know - I just "make'd" it. As for mint, well that's just a "voodoo chile". By the way, Kevin, try LXDE. You may just like it, it's both pretty and pretty simple (and then there'd be two of us hassling Benoit :-) ). cheers Bruce From demosthenesk at ...626... Wed Oct 5 11:28:31 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 05 Oct 2011 12:28:31 +0300 Subject: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem Message-ID: <1317806911.17222.2.camel@...2689...> Good morning, i have the next code: ------------------------------ Public Sub btnSaveFile_Click() Dialog.Filter = ["*.txt", "Text Files"] Dialog.Path = Application.Path If Dialog.SaveFile() Then Return File.Save(Dialog.Path, txtArea.Text) Catch Message.Info(Error.Text) End ----------------------------- When the Save dialog shows up it does not have the correct Path as Dialog.Path = Application.Path gambas3-svn4145 -------------- next part -------------- A non-text attachment was scrubbed... Name: Project141.tar.gz Type: application/x-compressed-tar Size: 6474 bytes Desc: not available URL: From doriano.blengino at ...1909... Wed Oct 5 12:20:59 2011 From: doriano.blengino at ...1909... (doriano.blengino at ...1909...) Date: Wed, 05 Oct 2011 12:20:59 +0200 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <1317805146.2498.98.camel@...2688...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> <201110021517.55600.gambas@...1...> <1317562196.14486.5.camel@...2689...> <4E8BE8CA.1000106@...1887...> <1317805146.2498.98.camel@...2688...> Message-ID: <4E8C2F8B.2080109@...1909...> Bruce Bruen ha scritto: > On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: >> Hopefully the Debian or Mint team will get this mess sorted out so gb3 >> can compile without hacks. Thanks for the help anyway, and for anyone >> else who sees GNOME as the walking dead, I highly recommend Kubuntu or >> any other well-supported KDE distribution. I should have done this a >> long time ago. >> >> > I feel your pain but it has sparked my interest following both your and > Demosthenes Koptsis posts. I think that there are a few issues here that > I may be able to offer some helpful comments on. > Hi Bruce, I liked your post, and your coloured english (especially those dinosaurs starting to feel chilly) :-) I totally agree with you - there are some standards and they should be respected in the interest of all the community. In particular, given that a libray in */lib (but the same is for include files and executables in */bin) *cannot* be 32 bit and 64 bit at the same time, it is clear that a file system is linked to the processor which uses it (at least for the processor-dependent files). There are in fact special directories for system-independent files. If some mind-broken distributions want to kill simplicity by creating unnecessary directories, they should use symlinks. Ok, they could forget to set up them (this would be a "bug" for me). That said, I would add that a user should know the bases for using his computer. This means that if a user downloads some sources with svn and compiles them, he should be able to interpret simple make's errors like "file not found", without asking the author of the sources "why can't I compile your software?". Reading documents and learning things is satisfactory and good for any user. Lacking of doing this leads to think that the guilty one is always someone else: the distribution, the compiler, the author of the sources, the mailing lists giving wrong advice and so on. There is too much people that press a button and expect that everything goes well like magic and, if something goes wrong, not even ask themselves what they could do to solve. Speaking about computers, "magic" will be never possible... No offence intended - I understand that the matter of compiling things under *nix could be a good choice for a bestseller. Marginally, I noted those complains about Debian and Gnome. Probably no distributions are perfect, but surely Debian is one of the most respectable - I simply love it because of its vision. By the way, KDE is available in Debian. And about KDE, I just switched from it to Gnome some months ago, and I don't regret. I never tried the latest Gnome, but it is hard for me to think that it is only crap. Regards, Doriano From gambas at ...1... Wed Oct 5 12:32:25 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 5 Oct 2011 12:32:25 +0200 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <4E8BE8CA.1000106@...1887...> References: <4E87F6D9.9030402@...1887...> <1317562196.14486.5.camel@...2689...> <4E8BE8CA.1000106@...1887...> Message-ID: <201110051232.25547.gambas@...1...> > In the interest of getting work done and facing the future of desktop > environments, I came to a painful decision and have switched to Kubuntu > 11.10. I decided that Debian Wheezy was insufficiently maintained for > stability and that GNOME had become a tragic dead end with the > abandonment of the 2.x branch and the pure crap that is the 3.x branch. > That left me with KDE and Xfce as my only options, and loving > customization and beauty I chose KDE. > > Hopefully the Debian or Mint team will get this mess sorted out so gb3 > can compile without hacks. Thanks for the help anyway, and for anyone > else who sees GNOME as the walking dead, I highly recommend Kubuntu or > any other well-supported KDE distribution. I should have done this a > long time ago. Do what is better for you. I just find your conclusions too fast. AFAIK, Debian Wheezy is not released yet, so you may have bugs in it. As for the other comments about where should go the libraries : if our system must be able to run executables with different architectures, the libraries must be put in different places. On Ubuntu, I notice that we have lib32 for 32-bits libraries, and lib64 for 64-bits libraries. 'lib' is just a symbolic link to 'lib64', as I have a 64 bits system. I don't know why libfreetype is in /usr/lib/x86_64-linux-gnu. But as soon as all *.la files provided by development packages points at it when needed, everything will work. Your problem on Debian Wheezy may just be a ill-formed libSDL_ttf.la file, that's all. Anyway, we will soon have a third architecture on x86 systems, x86_32, so things will become more funny. :-) Regards, -- Beno?t Minisini From gambas at ...2524... Wed Oct 5 14:40:14 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Oct 2011 12:40:14 +0000 Subject: [Gambas-user] Issue 124 in gambas: Configure script mistype - SMTP word Message-ID: <0-6813199134517018827-9115570601718960938-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 124 by Mushkete... at ...626...: Configure script mistype - SMTP word http://code.google.com/p/gambas/issues/detail?id=124 when running ./configure === configuring in gb.net.smtp (/home/ilja/gambas3-2.99.4/gb.net.smtp) its somewhere says checking for STMP client component with pkg-config... OK so its mistype (SMTP-STMP) its not even a bug,but it can confuse someone (maybe) :D its easy to fix this file is located at trunk > gb.net.smtp > configure.ac and these are the lines (note STMP client) GB_COMPONENT_PKG_CONFIG( smtp, SMTP, [STMP client], [src], glib-2.0) From gambas at ...2524... Wed Oct 5 14:48:20 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Oct 2011 12:48:20 +0000 Subject: [Gambas-user] Issue 2 in gambas: No native gambas for Windows platforms In-Reply-To: <7-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <0-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> Comment #8 on issue 2 by Mushkete... at ...626...: No native gambas for Windows platforms http://code.google.com/p/gambas/issues/detail?id=2 Maybe it can be done with help of cygwin environment. From jussi.lahtinen at ...626... Wed Oct 5 16:35:33 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 5 Oct 2011 17:35:33 +0300 Subject: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem In-Reply-To: <1317806911.17222.2.camel@...2689...> References: <1317806911.17222.2.camel@...2689...> Message-ID: Seems to work as expected, at least with revision 4172. What is then the path it opens? Jussi On Wed, Oct 5, 2011 at 12:28, Demosthenes Koptsis wrote: > Good morning, > > i have the next code: > > ------------------------------ > Public Sub btnSaveFile_Click() > > Dialog.Filter = ["*.txt", "Text Files"] > Dialog.Path = Application.Path > If Dialog.SaveFile() Then Return > File.Save(Dialog.Path, txtArea.Text) > > Catch > Message.Info(Error.Text) > > End > ----------------------------- > > When the Save dialog shows up it does not have the correct Path as > Dialog.Path = Application.Path > > gambas3-svn4145 > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...2524... Wed Oct 5 20:41:28 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Oct 2011 18:41:28 +0000 Subject: [Gambas-user] Issue 125 in gambas: No display of background and foreground colors for some controls in IDE mode Message-ID: <0-6813199134517018827-17443483076309348837-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 125 by stephane... at ...626...: No display of background and foreground colors for some controls in IDE mode http://code.google.com/p/gambas/issues/detail?id=125 1) Describe the problem. In the IDE, the background and foreground colors of a Button, ToggleButton, CheckBox, Radio Button and ComboBox are not displayed. This was working in 2.21. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK 2.99.4 Revision: r4168 Operating system: Linux Distribution: Ubuntu 11.04 Architecture: x86_64 GUI component: not sure... Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. The project BckForeColor is attached 4) If your project needs a database, try to provide it, or part of it. n/a 5) Explain clearly how to reproduce the bug or the crash. Open the project. The five controls have a light blue background color and a red foreground color which don't appear. When the project is run, everything is displayed properly. All other controls I have tested are OK and behave properly. 6) By doing that carefully, you have done 50% of the bug fix job! Attachments: BckForeColor.tar.gz 6.0 KB From and.bertini at ...626... Wed Oct 5 21:17:47 2011 From: and.bertini at ...626... (Andrea Bertini) Date: Wed, 05 Oct 2011 21:17:47 +0200 Subject: [Gambas-user] myZone4 Message-ID: <1317842267.2062.4.camel@...2658...> i'm happy to annunce the release of my software myZone4, made with Gambas3. myZone, now nationalized only in italian (but i plan to support other languages), is a nutritional and sport software. You can find it at my Sourceforge page, http://myzone.sourceforge.net/ My blog related is http://myzone4.tumblr.com/ I want to thank my Gambas-it's friends Milio and Golia for their support. Andy From dag.jarle.johansen at ...626... Thu Oct 6 00:06:39 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Thu, 6 Oct 2011 00:06:39 +0200 Subject: [Gambas-user] Issue 2 in gambas: No native gambas for Windows platforms In-Reply-To: <8-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <7-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <8-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> Message-ID: Hei, want to plug in on this discussion. by the way, "issue" is not particulary something negative, issue just means "case", but I know in the IT-world it*s mostly a case of a bug or a problem. I do not want Benoit to get sleepless nights, but it would be a masterpiece to get Gambas running under Windows. Running, not developing. Still MS has a world-part of over 80%, Max I don*t know, and the last what I saw, was Linux at 5%. So there is a lot to do, I ll do my part - sough - I just do know so little. If I have luck now, I will become a certain amount monthly, so I will not have to sell any more, in this case I will use all my time beeing a Gambas expert. But - for that your skillls are asked, to help me getting on. I am still too much the VB-programmer, and what hurts is the lack of the TYPE as in an array, beyond that I am not missing much. Back to MS - it is to concider what they are doing. My pa has a W7 here, they are flipping out, and since my last programmers attempts was on a XP, and not with .NET, I just skipped it, I do not know. The central registration must be horrible, already in XP they started to save accessed fields in the registry - with the 5 last used values. C+/+ is very fast reading textfiles, but if you have to do it all the time - the machine gets slow. Ok some of my thoughts, not very pragmatic, but I think we should know what we are handling with: 80 to 5 % for example.Gambas could double that, it is the best piece of developing software near and far. Regards Dag-Jarle 2011/10/5 > > Comment #8 on issue 2 by Mushkete... at ...626...: No native gambas for > Windows platforms > http://code.google.com/p/gambas/issues/detail?id=2 > > Maybe it can be done with help of cygwin environment. > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From demosthenesk at ...626... Thu Oct 6 00:26:13 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Thu, 06 Oct 2011 01:26:13 +0300 Subject: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem In-Reply-To: References: <1317806911.17222.2.camel@...2689...> Message-ID: <1317853573.19485.9.camel@...2689...> The Project141 is attached if anyone want to check it out. i have a path with Greek-Latin characters but this is not the problem. i moved the project's folder to /home/user and the problem is the same. 1) What is the problem. When i run the code Dialog.Path = Application.Path If Dialog.SaveFile() Then Return The Save dialog shows but it point to a folder upper than Application.Path for example if Application.Path="/home/user/Project141" the dialog shows /home/user 2) second problem. The path at the top of dialog is not shown correctly. Some characters or whole words are missing. Is this because of Greek letters in path? See screenshots from Open File and Save File dialogs On Wed, 2011-10-05 at 17:35 +0300, Jussi Lahtinen wrote: > Seems to work as expected, at least with revision 4172. > What is then the path it opens? > > Jussi > > > > On Wed, Oct 5, 2011 at 12:28, Demosthenes Koptsis wrote: > > > Good morning, > > > > i have the next code: > > > > ------------------------------ > > Public Sub btnSaveFile_Click() > > > > Dialog.Filter = ["*.txt", "Text Files"] > > Dialog.Path = Application.Path > > If Dialog.SaveFile() Then Return > > File.Save(Dialog.Path, txtArea.Text) > > > > Catch > > Message.Info(Error.Text) > > > > End > > ----------------------------- > > > > When the Save dialog shows up it does not have the correct Path as > > Dialog.Path = Application.Path > > > > gambas3-svn4145 > > > > > > ------------------------------------------------------------------------------ > > All the data continuously generated in your IT infrastructure contains a > > definitive record of customers, application performance, security > > threats, fraudulent activity and more. Splunk takes this data and makes > > sense of it. Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2dcopy1 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > 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: OpenFile.png Type: image/png Size: 62146 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SaveFile.png Type: image/png Size: 61252 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Project141.tar.gz Type: application/x-compressed-tar Size: 6899 bytes Desc: not available URL: From kevinfishburne at ...1887... Thu Oct 6 07:16:56 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 06 Oct 2011 01:16:56 -0400 Subject: [Gambas-user] myZone4 In-Reply-To: <1317842267.2062.4.camel@...2658...> References: <1317842267.2062.4.camel@...2658...> Message-ID: <4E8D39C8.8020607@...1887...> On 10/05/2011 03:17 PM, Andrea Bertini wrote: > i'm happy to annunce the release of my software myZone4, made with > Gambas3. myZone, now nationalized only in italian (but i plan to support > other languages), is a nutritional and sport software. > > You can find it at my Sourceforge page, http://myzone.sourceforge.net/ > My blog related is http://myzone4.tumblr.com/ > > I want to thank my Gambas-it's friends Milio and Golia for their > support. Congrats. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Thu Oct 6 07:20:37 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 06 Oct 2011 01:20:37 -0400 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <4E8C2F8B.2080109@...1909...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> <201110021517.55600.gambas@...1...> <1317562196.14486.5.camel@...2689...> <4E8BE8CA.1000106@...1887...> <1317805146.2498.98.camel@...2688...> <4E8C2F8B.2080109@...1909...> Message-ID: <4E8D3AA5.9030908@...1887...> On 10/05/2011 06:20 AM, doriano.blengino at ...1909... wrote: > Bruce Bruen ha scritto: >> On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: >>> Hopefully the Debian or Mint team will get this mess sorted out so gb3 >>> can compile without hacks. Thanks for the help anyway, and for anyone >>> else who sees GNOME as the walking dead, I highly recommend Kubuntu or >>> any other well-supported KDE distribution. I should have done this a >>> long time ago. >>> >>> >> I feel your pain but it has sparked my interest following both your and >> Demosthenes Koptsis posts. I think that there are a few issues here that >> I may be able to offer some helpful comments on. >> > Hi Bruce, > > I liked your post, and your coloured english (especially those dinosaurs > starting to feel chilly) :-) I'm Kevin, but that's okay. ;) > I totally agree with you - there are some standards and they should be > respected in the interest of all the community. In particular, given > that a libray in */lib (but the same is for include files and > executables in */bin) *cannot* be 32 bit and 64 bit at the same time, it > is clear that a file system is linked to the processor which uses it (at > least for the processor-dependent files). There are in fact special > directories for system-independent files. > > If some mind-broken distributions want to kill simplicity by creating > unnecessary directories, they should use symlinks. Ok, they could forget > to set up them (this would be a "bug" for me). > > That said, I would add that a user should know the bases for using his > computer. This means that if a user downloads some sources with svn and > compiles them, he should be able to interpret simple make's errors like > "file not found", without asking the author of the sources "why can't I > compile your software?". Reading documents and learning things is > satisfactory and good for any user. Lacking of doing this leads to think > that the guilty one is always someone else: the distribution, the > compiler, the author of the sources, the mailing lists giving wrong > advice and so on. There is too much people that press a button and > expect that everything goes well like magic and, if something goes > wrong, not even ask themselves what they could do to solve. Speaking > about computers, "magic" will be never possible... > No offence intended - I understand that the matter of compiling things > under *nix could be a good choice for a bestseller. I agree to an extent. Some users just want everything to work so they can get their work done; their OS is a tool to an end. Other users don't get much work done but play with their OS all day long and become OS gurus. Everyone falls somewhere along that scale. I know a lot from a user's perspective, some from a sysadmin's perspective, and have to balance that with the work I'm trying to accomplish and life in general. > Marginally, I noted those complains about Debian and Gnome. Probably no > distributions are perfect, but surely Debian is one of the most > respectable - I simply love it because of its vision. By the way, KDE is > available in Debian. And about KDE, I just switched from it to Gnome > some months ago, and I don't regret. I never tried the latest Gnome, but > it is hard for me to think that it is only crap. I like Debian and consider it the mother distro. It's essential. I do think of it as a new house which hasn't yet been visited by the interior decorators or furniture movers, though. It always seems to need some love, and distros based on Debian seem to give it the polish it needs. Debian was my first, and you never forget your first, haha. I like the GNOME 2.x branch and have used it since I first used GNU/Linux. My problem with 3.x is that there's no "there" there. It's like they started from scratch, got the bare minimum of work done, then released it. If 2.x had 100 features then 3.x has 10. No configuration options at all. It's static. Imagine a restaurant with one item on the menu and you can't even tell them "no onions, please". I'm not joking...give it a try in a VM and try customizing it. Anyway, like sensei Beno?t wisely said, "Do what is better for you". I'm satisfied, finally. -- Kevin Fishburne Eight Virtues www:http://sales.eightvirtues.com e-mail:sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Thu Oct 6 07:26:45 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 06 Oct 2011 01:26:45 -0400 Subject: [Gambas-user] Issue 2 in gambas: No native gambas for Windows platforms In-Reply-To: References: <0-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <7-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <8-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> Message-ID: <4E8D3C15.5010708@...1887...> On 10/05/2011 06:06 PM, Dag-Jarle Johansen wrote: > Hei, want to plug in on this discussion. by the way, "issue" is not > particulary something negative, issue just means "case", but I know in the > IT-world it*s mostly a case of a bug or a problem. > > I do not want Benoit to get sleepless nights, but it would be a masterpiece > to get Gambas running under Windows. Running, not developing. Still MS has a > world-part of over 80%, Max I don*t know, and the last what I saw, was Linux > at 5%. So there is a lot to do, I ll do my part - sough - I just do know so > little. If I have luck now, I will become a certain amount monthly, so I > will not have to sell any more, in this case I will use all my time beeing a > Gambas expert. But - for that your skillls are asked, to help me getting on. > I am still too much the VB-programmer, and what hurts is the lack of the > TYPE as in an array, beyond that I am not missing much. Back to MS - it is > to concider what they are doing. My pa has a W7 here, they are flipping out, > and since my last programmers attempts was on a XP, and not with .NET, I > just skipped it, I do not know. The central registration must be horrible, > already in XP they started to save accessed fields in the registry - with > the 5 last used values. C+/+ is very fast reading textfiles, but if you have > to do it all the time - the machine gets slow. > > Ok some of my thoughts, > not very pragmatic, but I think we should know what we are handling with: 80 > to 5 % for example.Gambas could double that, it is the best piece of > developing software near and far. From what I gather, getting GAMBAS to run on Windows proper would require all dependencies to also work under Windows. Windows is also a moving target but unlike Linux is largely backward-incompatible and would require all kinds of hand-holding to get something working under each Windows version. In other words, it would be an infinitely labor-intensive mess. This is unfortunate, as I would like to see GAMBAS work in Windows as well. The silver lining is that GAMBAS shows Windows up; it embarrasses it and lets people know they can craft powerful and robust programs using a different ecosystem entirely. Streamlined virtualization under Windows is probably the best-case usage of GAMBAS, using something like andLinux. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From eilert-sprachen at ...221... Thu Oct 6 08:23:49 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 06 Oct 2011 08:23:49 +0200 Subject: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem In-Reply-To: <1317853573.19485.9.camel@...2689...> References: <1317806911.17222.2.camel@...2689...> <1317853573.19485.9.camel@...2689...> Message-ID: <4E8D4975.7080204@...221...> Am 06.10.2011 00:26, schrieb Demosthenes Koptsis: > The Project141 is attached if anyone want to check it out. > i have a path with Greek-Latin characters but this is not the problem. > i moved the project's folder to /home/user and the problem is the same. > > 1) What is the problem. > When i run the code > > Dialog.Path = Application.Path > If Dialog.SaveFile() Then Return > > The Save dialog shows but it point to a folder upper than > Application.Path > > for example if > Application.Path="/home/user/Project141" > > the dialog shows /home/user Try "/home/user/Project141/" - does it help? > 2) second problem. > The path at the top of dialog is not shown correctly. Some characters or > whole words are missing. > > Is this because of Greek letters in path? > > > See screenshots from Open File and Save File dialogs > In the GUI you use, can you change the standard font for dialogs? It looks as if the font for the trees offers greek letters, the one for the labels in the dialogs does not. Regards Rolf From girardhenri at ...67... Thu Oct 6 09:34:27 2011 From: girardhenri at ...67... (Girard Henri) Date: Thu, 6 Oct 2011 09:34:27 +0200 Subject: [Gambas-user] myZone4 In-Reply-To: <1317842267.2062.4.camel@...2658...> References: <1317842267.2062.4.camel@...2658...> Message-ID: Thanks for your application :) I translated it in french if you want to add the fr.po it's included :) regards Henri Le 05/10/2011 21:17, Andrea Bertini a ?crit : > i'm happy to annunce the release of my software myZone4, made with > Gambas3. myZone, now nationalized only in italian (but i plan to support > other languages), is a nutritional and sport software. > > You can find it at my Sourceforge page, http://myzone.sourceforge.net/ > My blog related is http://myzone4.tumblr.com/ > > I want to thank my Gambas-it's friends Milio and Golia for their > support. > > Andy > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > 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: fr.po Type: text/x-gettext-translation Size: 20758 bytes Desc: not available URL: From Karl.Reinl at ...2345... Thu Oct 6 10:37:51 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 06 Oct 2011 10:37:51 +0200 Subject: [Gambas-user] Issue 2 in gambas: No native gambas for Windows platforms [OT] In-Reply-To: <1296240032.8419.12.camel@...2479...> References: <1-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <0-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <2-6813199134517018827-8770328939102167379-gambas=googlecode.com@...2524...> <1296240032.8419.12.camel@...2479...> Message-ID: <1317890272.6497.2.camel@...40...> Am Freitag, den 28.01.2011, 19:40 +0100 schrieb Caveat: > The port has already been done, it's called VisualBasic :-P > > > > > On Fri, 2011-01-28 at 18:21 +0000, gambas at ...2524... wrote: > > Updates: > > Labels: -Priority-Medium Priority-Low > > > > Comment #2 on issue 2 by benoit.m... at ...626...: No native gambas for > > Windows platforms > > http://code.google.com/p/gambas/issues/detail?id=2 > > > > (No comment was entered for this change.) > > -----------------------8<-------------------------------------- Salut, see that attached mail from Tue, 18 Jan 2005 -- Amicalement Charlie -------------- next part -------------- An embedded message was scrubbed... From: Charlie Reinl Subject: [Gambas-user] running gambas on Windows Server 2003 Date: Tue, 18 Jan 2005 20:43:16 +0100 Size: 132133 URL: From and.bertini at ...626... Thu Oct 6 10:58:22 2011 From: and.bertini at ...626... (Andrea Bertini) Date: Thu, 6 Oct 2011 10:58:22 +0200 Subject: [Gambas-user] myZone4 Message-ID: @Kevin Fishburne thx:-) @Girard Henri thx for your future help. if You want to contribute to myZone4 please write me. Code source is located @ sourceforge. I wait for you! ps. i need help about the code to insert. I have a form option where user can choose the preferred language. At first, i think to add the following languages: french, english, spanish, german. Helpers will be appreciate. Andrea BERTINI Rome-Italy 2011/10/6 > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-user digest..." > > Today's Topics: > > 1. Re: myZone4 (Kevin Fishburne) > 2. Re: gb3: unable to compile on Debian Wheezy (testing) > (Kevin Fishburne) > 3. Re: Issue 2 in gambas: No native gambas for Windows platforms > (Kevin Fishburne) > 4. Re: Dialog.SaveFile() and Dialog.Path problem (Rolf-Werner Eilert) > 5. Re: myZone4 (Girard Henri) > > > ---------- Messaggio inoltrato ---------- > From: Kevin Fishburne > To: gambas-user at lists.sourceforge.net > Date: Thu, 06 Oct 2011 01:16:56 -0400 > Subject: Re: [Gambas-user] myZone4 > On 10/05/2011 03:17 PM, Andrea Bertini wrote: > >> i'm happy to annunce the release of my software myZone4, made with >> Gambas3. myZone, now nationalized only in italian (but i plan to support >> other languages), is a nutritional and sport software. >> >> You can find it at my Sourceforge page, http://myzone.sourceforge.net/ >> My blog related is http://myzone4.tumblr.com/ >> >> I want to thank my Gambas-it's friends Milio and Golia for their >> support. >> > > Congrats. :) > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > > > ---------- Messaggio inoltrato ---------- > From: Kevin Fishburne > To: gambas-user at lists.sourceforge.net > Date: Thu, 06 Oct 2011 01:20:37 -0400 > Subject: Re: [Gambas-user] gb3: unable to compile on Debian Wheezy > (testing) > On 10/05/2011 06:20 AM, doriano.blengino at ...1909... wrote: > >> Bruce Bruen ha scritto: >> >>> On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: >>> >>>> Hopefully the Debian or Mint team will get this mess sorted out so gb3 >>>> can compile without hacks. Thanks for the help anyway, and for anyone >>>> else who sees GNOME as the walking dead, I highly recommend Kubuntu or >>>> any other well-supported KDE distribution. I should have done this a >>>> long time ago. >>>> >>>> >>>> I feel your pain but it has sparked my interest following both your and >>> Demosthenes Koptsis posts. I think that there are a few issues here that >>> I may be able to offer some helpful comments on. >>> >>> Hi Bruce, >> >> I liked your post, and your coloured english (especially those dinosaurs >> starting to feel chilly) :-) >> > > I'm Kevin, but that's okay. ;) > > I totally agree with you - there are some standards and they should be >> respected in the interest of all the community. In particular, given >> that a libray in */lib (but the same is for include files and >> executables in */bin) *cannot* be 32 bit and 64 bit at the same time, it >> is clear that a file system is linked to the processor which uses it (at >> least for the processor-dependent files). There are in fact special >> directories for system-independent files. >> >> If some mind-broken distributions want to kill simplicity by creating >> unnecessary directories, they should use symlinks. Ok, they could forget >> to set up them (this would be a "bug" for me). >> >> That said, I would add that a user should know the bases for using his >> computer. This means that if a user downloads some sources with svn and >> compiles them, he should be able to interpret simple make's errors like >> "file not found", without asking the author of the sources "why can't I >> compile your software?". Reading documents and learning things is >> satisfactory and good for any user. Lacking of doing this leads to think >> that the guilty one is always someone else: the distribution, the >> compiler, the author of the sources, the mailing lists giving wrong >> advice and so on. There is too much people that press a button and >> expect that everything goes well like magic and, if something goes >> wrong, not even ask themselves what they could do to solve. Speaking >> about computers, "magic" will be never possible... >> No offence intended - I understand that the matter of compiling things >> under *nix could be a good choice for a bestseller. >> > > I agree to an extent. Some users just want everything to work so they can > get their work done; their OS is a tool to an end. Other users don't get > much work done but play with their OS all day long and become OS gurus. > Everyone falls somewhere along that scale. I know a lot from a user's > perspective, some from a sysadmin's perspective, and have to balance that > with the work I'm trying to accomplish and life in general. > > Marginally, I noted those complains about Debian and Gnome. Probably no >> distributions are perfect, but surely Debian is one of the most >> respectable - I simply love it because of its vision. By the way, KDE is >> available in Debian. And about KDE, I just switched from it to Gnome >> some months ago, and I don't regret. I never tried the latest Gnome, but >> it is hard for me to think that it is only crap. >> > > I like Debian and consider it the mother distro. It's essential. I do think > of it as a new house which hasn't yet been visited by the interior > decorators or furniture movers, though. It always seems to need some love, > and distros based on Debian seem to give it the polish it needs. Debian was > my first, and you never forget your first, haha. > > I like the GNOME 2.x branch and have used it since I first used GNU/Linux. > My problem with 3.x is that there's no "there" there. It's like they started > from scratch, got the bare minimum of work done, then released it. If 2.x > had 100 features then 3.x has 10. No configuration options at all. It's > static. Imagine a restaurant with one item on the menu and you can't even > tell them "no onions, please". I'm not joking...give it a try in a VM and > try customizing it. > > Anyway, like sensei Beno?t wisely said, "Do what is better for you". I'm > satisfied, finally. > > -- > Kevin Fishburne > Eight Virtues > www:http://sales.eightvirtues.**com > e-mail:sales at ...1887... > phone: (770) 853-6271 > > > > > > ---------- Messaggio inoltrato ---------- > From: Kevin Fishburne > To: gambas-user at lists.sourceforge.net > Date: Thu, 06 Oct 2011 01:26:45 -0400 > Subject: Re: [Gambas-user] Issue 2 in gambas: No native gambas for Windows > platforms > On 10/05/2011 06:06 PM, Dag-Jarle Johansen wrote: > >> Hei, want to plug in on this discussion. by the way, "issue" is not >> particulary something negative, issue just means "case", but I know in the >> IT-world it*s mostly a case of a bug or a problem. >> >> I do not want Benoit to get sleepless nights, but it would be a >> masterpiece >> to get Gambas running under Windows. Running, not developing. Still MS has >> a >> world-part of over 80%, Max I don*t know, and the last what I saw, was >> Linux >> at 5%. So there is a lot to do, I ll do my part - sough - I just do know >> so >> little. If I have luck now, I will become a certain amount monthly, so I >> will not have to sell any more, in this case I will use all my time beeing >> a >> Gambas expert. But - for that your skillls are asked, to help me getting >> on. >> I am still too much the VB-programmer, and what hurts is the lack of the >> TYPE as in an array, beyond that I am not missing much. Back to MS - it is >> to concider what they are doing. My pa has a W7 here, they are flipping >> out, >> and since my last programmers attempts was on a XP, and not with .NET, I >> just skipped it, I do not know. The central registration must be horrible, >> already in XP they started to save accessed fields in the registry - with >> the 5 last used values. C+/+ is very fast reading textfiles, but if you >> have >> to do it all the time - the machine gets slow. >> >> Ok some of my thoughts, >> not very pragmatic, but I think we should know what we are handling with: >> 80 >> to 5 % for example.Gambas could double that, it is the best piece of >> developing software near and far. >> > > From what I gather, getting GAMBAS to run on Windows proper would require > all dependencies to also work under Windows. Windows is also a moving target > but unlike Linux is largely backward-incompatible and would require all > kinds of hand-holding to get something working under each Windows version. > In other words, it would be an infinitely labor-intensive mess. This is > unfortunate, as I would like to see GAMBAS work in Windows as well. The > silver lining is that GAMBAS shows Windows up; it embarrasses it and lets > people know they can craft powerful and robust programs using a different > ecosystem entirely. Streamlined virtualization under Windows is probably the > best-case usage of GAMBAS, using something like andLinux. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > > > ---------- Messaggio inoltrato ---------- > From: Rolf-Werner Eilert > To: gambas-user at lists.sourceforge.net > Date: Thu, 06 Oct 2011 08:23:49 +0200 > Subject: Re: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem > Am 06.10.2011 00:26, schrieb Demosthenes Koptsis: > >> The Project141 is attached if anyone want to check it out. >> i have a path with Greek-Latin characters but this is not the problem. >> i moved the project's folder to /home/user and the problem is the same. >> >> 1) What is the problem. >> When i run the code >> >> Dialog.Path = Application.Path >> If Dialog.SaveFile() Then Return >> >> The Save dialog shows but it point to a folder upper than >> Application.Path >> >> for example if >> Application.Path="/home/user/**Project141" >> >> the dialog shows /home/user >> > > Try "/home/user/Project141/" - does it help? > > 2) second problem. >> The path at the top of dialog is not shown correctly. Some characters or >> whole words are missing. >> >> Is this because of Greek letters in path? >> >> >> See screenshots from Open File and Save File dialogs >> >> > In the GUI you use, can you change the standard font for dialogs? It looks > as if the font for the trees offers greek letters, the one for the labels in > the dialogs does not. > > Regards > > Rolf > > > > > ---------- Messaggio inoltrato ---------- > From: Girard Henri > To: gambas-user at lists.sourceforge.net > Date: Thu, 6 Oct 2011 09:34:27 +0200 > Subject: Re: [Gambas-user] myZone4 > Thanks for your application :) > I translated it in french if you want to add the fr.po it's included :) > regards > Henri > > > Le 05/10/2011 21:17, Andrea Bertini a ?crit : > >> i'm happy to annunce the release of my software myZone4, made with >> Gambas3. myZone, now nationalized only in italian (but i plan to support >> other languages), is a nutritional and sport software. >> >> You can find it at my Sourceforge page, http://myzone.sourceforge.net/ >> My blog related is http://myzone4.tumblr.com/ >> >> I want to thank my Gambas-it's friends Milio and Golia for their >> support. >> >> Andy >> >> >> ------------------------------**------------------------------** >> ------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-**d2dcopy1 >> ______________________________**_________________ >> Gambas-user mailing list >> Gambas-user at ...720...**net >> https://lists.sourceforge.net/**lists/listinfo/gambas-user >> >> >> > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From demosthenesk at ...626... Thu Oct 6 11:19:44 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Thu, 06 Oct 2011 12:19:44 +0300 Subject: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem In-Reply-To: <4E8D4975.7080204@...221...> References: <1317806911.17222.2.camel@...2689...> <1317853573.19485.9.camel@...2689...> <4E8D4975.7080204@...221...> Message-ID: <1317892784.19138.3.camel@...2689...> On Thu, 2011-10-06 at 08:23 +0200, Rolf-Werner Eilert wrote: > Am 06.10.2011 00:26, schrieb Demosthenes Koptsis: > > The Project141 is attached if anyone want to check it out. > > i have a path with Greek-Latin characters but this is not the problem. > > i moved the project's folder to /home/user and the problem is the same. > > > > 1) What is the problem. > > When i run the code > > > > Dialog.Path = Application.Path > > If Dialog.SaveFile() Then Return > > > > The Save dialog shows but it point to a folder upper than > > Application.Path > > > > for example if > > Application.Path="/home/user/Project141" > > > > the dialog shows /home/user > > Try "/home/user/Project141/" - does it help? > No, that i said at the begining. The path with Greek letters is irrelevant with the Dialog.Path. Any path, also /home/user/Project141 will show one folder up, as /home/user. i think this is a bug. > > 2) second problem. > > The path at the top of dialog is not shown correctly. Some characters or > > whole words are missing. > > > > Is this because of Greek letters in path? > > > > > > See screenshots from Open File and Save File dialogs > > > > In the GUI you use, can you change the standard font for dialogs? It > looks as if the font for the trees offers greek letters, the one for the > labels in the dialogs does not. > Is this true? Is there an issue with label's font? I think i can't change the Dialog Font. This can be done by developers From eilert-sprachen at ...221... Thu Oct 6 12:00:14 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 06 Oct 2011 12:00:14 +0200 Subject: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem In-Reply-To: <1317892784.19138.3.camel@...2689...> References: <1317806911.17222.2.camel@...2689...> <1317853573.19485.9.camel@...2689...> <4E8D4975.7080204@...221...> <1317892784.19138.3.camel@...2689...> Message-ID: <4E8D7C2E.5010809@...221...> Am 06.10.2011 11:19, schrieb Demosthenes Koptsis: > On Thu, 2011-10-06 at 08:23 +0200, Rolf-Werner Eilert wrote: >> Am 06.10.2011 00:26, schrieb Demosthenes Koptsis: >>> The Project141 is attached if anyone want to check it out. >>> i have a path with Greek-Latin characters but this is not the problem. >>> i moved the project's folder to /home/user and the problem is the same. >>> >>> 1) What is the problem. >>> When i run the code >>> >>> Dialog.Path = Application.Path >>> If Dialog.SaveFile() Then Return >>> >>> The Save dialog shows but it point to a folder upper than >>> Application.Path >>> >>> for example if >>> Application.Path="/home/user/Project141" >>> >>> the dialog shows /home/user >> >> Try "/home/user/Project141/" - does it help? >> > > No, that i said at the begining. The path with Greek letters is > irrelevant with the Dialog.Path. > Any path, also /home/user/Project141 will show one folder up, > as /home/user. > > i think this is a bug. Ok, maybe I got you wrong here, but what I meant was "add a slash at the end of the path to indicate the directory". I vaguely remembered I had this problem somewhere some time ago. > >>> 2) second problem. >>> The path at the top of dialog is not shown correctly. Some characters or >>> whole words are missing. >>> >>> Is this because of Greek letters in path? >>> >>> >>> See screenshots from Open File and Save File dialogs >>> >> >> In the GUI you use, can you change the standard font for dialogs? It >> looks as if the font for the trees offers greek letters, the one for the >> labels in the dialogs does not. >> > > Is this true? Is there an issue with label's font? > I think i can't change the Dialog Font. > This can be done by developers I don't know about an "issue" with labels :-) I just thought, IF your GUI (Gnome?) uses a different font for the labels (and I guess they use labels in this dialog) than for the TreeView, it MIGHT be the reason for the trouble here. Most GUIs offer a way of determining the fonts you want to use for certain parts of the GUI, at least the "big" ones (I know it from KDE and Gnome, even LXDE and XFCE offer some regulations). So my proposal was you just play around with this to see if it as any effect (and to exclude a Gambas or Qt or whatever bug). (I know, it's never a bug, it's a feature :-D ) Rolf From bbruen at ...2308... Thu Oct 6 12:41:18 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Thu, 06 Oct 2011 21:11:18 +1030 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <4E8D3AA5.9030908@...1887...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> <201110021517.55600.gambas@...1...> <1317562196.14486.5.camel@...2689...> <4E8BE8CA.1000106@...1887...> <1317805146.2498.98.camel@...2688...> <4E8C2F8B.2080109@...1909...> <4E8D3AA5.9030908@...1887...> Message-ID: <1317897678.2498.105.camel@...2688...> On Thu, 2011-10-06 at 01:20 -0400, Kevin Fishburne wrote: > On 10/05/2011 06:20 AM, doriano.blengino at ...1909... wrote: > > Bruce Bruen ha scritto: > >> On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: > >>> Hopefully the Debian or Mint team will get this mess sorted out so gb3 > >>> can compile without hacks. Thanks for the help anyway, and for anyone > >>> else who sees GNOME as the walking dead, I highly recommend Kubuntu or > >>> any other well-supported KDE distribution. I should have done this a > >>> long time ago. > >>> > >>> > >> I feel your pain but it has sparked my interest following both your and > >> Demosthenes Koptsis posts. I think that there are a few issues here that > >> I may be able to offer some helpful comments on. > >> > > Hi Bruce, > > > > I liked your post, and your coloured english (especially those dinosaurs > > starting to feel chilly) :-) > > I'm Kevin, but that's okay. ;) No, you're not. I am . You're just a symbolic link in /usr/lib/libfreetype.x73 that points to the real Bruce, which as we all know resides in /var/vague/dada/magritte/ceci_n \'est_pas_une_pipe ! :-) :-) :-) From bbruen at ...2308... Thu Oct 6 12:48:30 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Thu, 06 Oct 2011 21:18:30 +1030 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <1317897678.2498.105.camel@...2688...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> <201110021517.55600.gambas@...1...> <1317562196.14486.5.camel@...2689...> <4E8BE8CA.1000106@...1887...> <1317805146.2498.98.camel@...2688...> <4E8C2F8B.2080109@...1909...> <4E8D3AA5.9030908@...1887...> <1317897678.2498.105.camel@...2688...> Message-ID: <1317898110.2498.106.camel@...2688...> On Thu, 2011-10-06 at 21:11 +1030, Bruce Bruen wrote: > On Thu, 2011-10-06 at 01:20 -0400, Kevin Fishburne wrote: > > > On 10/05/2011 06:20 AM, doriano.blengino at ...1909... wrote: > > > Bruce Bruen ha scritto: > > >> On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: > > >>> Hopefully the Debian or Mint team will get this mess sorted out so gb3 > > >>> can compile without hacks. Thanks for the help anyway, and for anyone > > >>> else who sees GNOME as the walking dead, I highly recommend Kubuntu or > > >>> any other well-supported KDE distribution. I should have done this a > > >>> long time ago. > > >>> > > >>> > > >> I feel your pain but it has sparked my interest following both your and > > >> Demosthenes Koptsis posts. I think that there are a few issues here that > > >> I may be able to offer some helpful comments on. > > >> > > > Hi Bruce, > > > > > > I liked your post, and your coloured english (especially those dinosaurs > > > starting to feel chilly) :-) > > > > I'm Kevin, but that's okay. ;) > > No, you're not. I am . You're just a symbolic link > in /usr/lib/libfreetype.x73 that points to the real Bruce, > which as we all know resides in /var/vague/dada/magritte/ceci_n > \'est_pas_une_pipe ! > :-) :-) :-) > Sorry, that was uncalled for. Bruce (but I couldn't resist) From demosthenesk at ...626... Thu Oct 6 13:35:23 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Thu, 06 Oct 2011 14:35:23 +0300 Subject: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem In-Reply-To: <4E8D7C2E.5010809@...221...> References: <1317806911.17222.2.camel@...2689...> <1317853573.19485.9.camel@...2689...> <4E8D4975.7080204@...221...> <1317892784.19138.3.camel@...2689...> <4E8D7C2E.5010809@...221...> Message-ID: <1317900923.28076.10.camel@...2689...> On Thu, 2011-10-06 at 12:00 +0200, Rolf-Werner Eilert wrote: > Am 06.10.2011 11:19, schrieb Demosthenes Koptsis: > > On Thu, 2011-10-06 at 08:23 +0200, Rolf-Werner Eilert wrote: > >> Am 06.10.2011 00:26, schrieb Demosthenes Koptsis: > >>> The Project141 is attached if anyone want to check it out. > >>> i have a path with Greek-Latin characters but this is not the problem. > >>> i moved the project's folder to /home/user and the problem is the same. > >>> > >>> 1) What is the problem. > >>> When i run the code > >>> > >>> Dialog.Path = Application.Path > >>> If Dialog.SaveFile() Then Return > >>> > >>> The Save dialog shows but it point to a folder upper than > >>> Application.Path > >>> > >>> for example if > >>> Application.Path="/home/user/Project141" > >>> > >>> the dialog shows /home/user > >> > >> Try "/home/user/Project141/" - does it help? > >> > > > > No, that i said at the begining. The path with Greek letters is > > irrelevant with the Dialog.Path. > > Any path, also /home/user/Project141 will show one folder up, > > as /home/user. > > > > i think this is a bug. > > Ok, maybe I got you wrong here, but what I meant was "add a slash at the > end of the path to indicate the directory". I vaguely remembered I had > this problem somewhere some time ago. > Yes, you are right! With an ending "/" it works. See the difference to OpenFile and SaveFile dialogs. i use gb.form.dialog component. ---------------------------- Public Sub btnOpenFile_Click() Dialog.Filter = ["*.txt", "Text Files"] Dialog.Path = Application.Path If Dialog.OpenFile() Then Return txtArea.Text = File.Load(Dialog.Path) End Public Sub btnSaveFile_Click() Dialog.Filter = ["*.txt", "Text Files"] Dialog.Path = Application.Path & "/" If Dialog.SaveFile() Then Return File.Save(Dialog.Path, txtArea.Text) End ---------------------------- SaveFile works with Dialog.Path = Application.Path & "/" OpenFile works with Dialog.Path = Application.Path Benoit i think this is a small bug. > > > >>> 2) second problem. > >>> The path at the top of dialog is not shown correctly. Some characters or > >>> whole words are missing. > >>> > >>> Is this because of Greek letters in path? > >>> > >>> > >>> See screenshots from Open File and Save File dialogs > >>> > >> > >> In the GUI you use, can you change the standard font for dialogs? It > >> looks as if the font for the trees offers greek letters, the one for the > >> labels in the dialogs does not. i think this is not possible from IDE. QT gives the font for dialogs and there have no access, as i know. > >> > > > > Is this true? Is there an issue with label's font? > > I think i can't change the Dialog Font. > > This can be done by developers > > I don't know about an "issue" with labels :-) I just thought, IF your > GUI (Gnome?) uses a different font for the labels (and I guess they use > labels in this dialog) than for the TreeView, it MIGHT be the reason for > the trouble here. > > Most GUIs offer a way of determining the fonts you want to use for > certain parts of the GUI, at least the "big" ones (I know it from KDE > and Gnome, even LXDE and XFCE offer some regulations). So my proposal > was you just play around with this to see if it as any effect (and to > exclude a Gambas or Qt or whatever bug). > > (I know, it's never a bug, it's a feature :-D ) > > Rolf > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From girardhenri at ...67... Thu Oct 6 16:41:29 2011 From: girardhenri at ...67... (Girard Henri) Date: Thu, 6 Oct 2011 16:41:29 +0200 Subject: [Gambas-user] myZone4 In-Reply-To: References: Message-ID: Hello Andrea, I am unfortunatly not a good developer but i can translate (From italian into french wasn't too easy as I never learned italian) but i know english spanish and german. There are some little details to correct in french because field or label aren't exactly the same size when translated, I think it's in gambas3, i am having a look. Can you give me an access to your svn ? I have one for a spanish accounting called : bulmages (which is git now), or I can send you fr.po when I correct it :) regards, Henri Le 06/10/2011 10:58, Andrea Bertini a ?crit : > @Kevin Fishburne > thx:-) > > > > > @Girard Henri > thx for your future help. if You want to contribute to myZone4 please write > me. > Code source is located @ sourceforge. I wait for you! > > ps. i need help about the code to insert. I have a form option where user > can choose the > preferred language. > > At first, i think to add the following languages: french, english, spanish, > german. > Helpers will be appreciate. > > > > Andrea BERTINI > Rome-Italy > > > > > > 2011/10/6 > >> Send Gambas-user mailing list submissions to >> gambas-user at lists.sourceforge.net >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> or, via email, send a message with subject or body 'help' to >> gambas-user-request at lists.sourceforge.net >> >> You can reach the person managing the list at >> gambas-user-owner at lists.sourceforge.net >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Gambas-user digest..." >> >> Today's Topics: >> >> 1. Re: myZone4 (Kevin Fishburne) >> 2. Re: gb3: unable to compile on Debian Wheezy (testing) >> (Kevin Fishburne) >> 3. Re: Issue 2 in gambas: No native gambas for Windows platforms >> (Kevin Fishburne) >> 4. Re: Dialog.SaveFile() and Dialog.Path problem (Rolf-Werner Eilert) >> 5. Re: myZone4 (Girard Henri) >> >> >> ---------- Messaggio inoltrato ---------- >> From: Kevin Fishburne >> To: gambas-user at lists.sourceforge.net >> Date: Thu, 06 Oct 2011 01:16:56 -0400 >> Subject: Re: [Gambas-user] myZone4 >> On 10/05/2011 03:17 PM, Andrea Bertini wrote: >> >>> i'm happy to annunce the release of my software myZone4, made with >>> Gambas3. myZone, now nationalized only in italian (but i plan to support >>> other languages), is a nutritional and sport software. >>> >>> You can find it at my Sourceforge page, http://myzone.sourceforge.net/ >>> My blog related is http://myzone4.tumblr.com/ >>> >>> I want to thank my Gambas-it's friends Milio and Golia for their >>> support. >>> >> Congrats. :) >> >> -- >> Kevin Fishburne >> Eight Virtues >> www: http://sales.eightvirtues.com >> e-mail: sales at ...1887... >> phone: (770) 853-6271 >> >> >> >> >> >> ---------- Messaggio inoltrato ---------- >> From: Kevin Fishburne >> To: gambas-user at lists.sourceforge.net >> Date: Thu, 06 Oct 2011 01:20:37 -0400 >> Subject: Re: [Gambas-user] gb3: unable to compile on Debian Wheezy >> (testing) >> On 10/05/2011 06:20 AM, doriano.blengino at ...1909... wrote: >> >>> Bruce Bruen ha scritto: >>> >>>> On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: >>>> >>>>> Hopefully the Debian or Mint team will get this mess sorted out so gb3 >>>>> can compile without hacks. Thanks for the help anyway, and for anyone >>>>> else who sees GNOME as the walking dead, I highly recommend Kubuntu or >>>>> any other well-supported KDE distribution. I should have done this a >>>>> long time ago. >>>>> >>>>> >>>>> I feel your pain but it has sparked my interest following both your and >>>> Demosthenes Koptsis posts. I think that there are a few issues here that >>>> I may be able to offer some helpful comments on. >>>> >>>> Hi Bruce, >>> I liked your post, and your coloured english (especially those dinosaurs >>> starting to feel chilly) :-) >>> >> I'm Kevin, but that's okay. ;) >> >> I totally agree with you - there are some standards and they should be >>> respected in the interest of all the community. In particular, given >>> that a libray in */lib (but the same is for include files and >>> executables in */bin) *cannot* be 32 bit and 64 bit at the same time, it >>> is clear that a file system is linked to the processor which uses it (at >>> least for the processor-dependent files). There are in fact special >>> directories for system-independent files. >>> >>> If some mind-broken distributions want to kill simplicity by creating >>> unnecessary directories, they should use symlinks. Ok, they could forget >>> to set up them (this would be a "bug" for me). >>> >>> That said, I would add that a user should know the bases for using his >>> computer. This means that if a user downloads some sources with svn and >>> compiles them, he should be able to interpret simple make's errors like >>> "file not found", without asking the author of the sources "why can't I >>> compile your software?". Reading documents and learning things is >>> satisfactory and good for any user. Lacking of doing this leads to think >>> that the guilty one is always someone else: the distribution, the >>> compiler, the author of the sources, the mailing lists giving wrong >>> advice and so on. There is too much people that press a button and >>> expect that everything goes well like magic and, if something goes >>> wrong, not even ask themselves what they could do to solve. Speaking >>> about computers, "magic" will be never possible... >>> No offence intended - I understand that the matter of compiling things >>> under *nix could be a good choice for a bestseller. >>> >> I agree to an extent. Some users just want everything to work so they can >> get their work done; their OS is a tool to an end. Other users don't get >> much work done but play with their OS all day long and become OS gurus. >> Everyone falls somewhere along that scale. I know a lot from a user's >> perspective, some from a sysadmin's perspective, and have to balance that >> with the work I'm trying to accomplish and life in general. >> >> Marginally, I noted those complains about Debian and Gnome. Probably no >>> distributions are perfect, but surely Debian is one of the most >>> respectable - I simply love it because of its vision. By the way, KDE is >>> available in Debian. And about KDE, I just switched from it to Gnome >>> some months ago, and I don't regret. I never tried the latest Gnome, but >>> it is hard for me to think that it is only crap. >>> >> I like Debian and consider it the mother distro. It's essential. I do think >> of it as a new house which hasn't yet been visited by the interior >> decorators or furniture movers, though. It always seems to need some love, >> and distros based on Debian seem to give it the polish it needs. Debian was >> my first, and you never forget your first, haha. >> >> I like the GNOME 2.x branch and have used it since I first used GNU/Linux. >> My problem with 3.x is that there's no "there" there. It's like they started >> from scratch, got the bare minimum of work done, then released it. If 2.x >> had 100 features then 3.x has 10. No configuration options at all. It's >> static. Imagine a restaurant with one item on the menu and you can't even >> tell them "no onions, please". I'm not joking...give it a try in a VM and >> try customizing it. >> >> Anyway, like sensei Beno?t wisely said, "Do what is better for you". I'm >> satisfied, finally. >> >> -- >> Kevin Fishburne >> Eight Virtues >> www:http://sales.eightvirtues.**com >> e-mail:sales at ...1887... >> phone: (770) 853-6271 >> >> >> >> >> >> ---------- Messaggio inoltrato ---------- >> From: Kevin Fishburne >> To: gambas-user at lists.sourceforge.net >> Date: Thu, 06 Oct 2011 01:26:45 -0400 >> Subject: Re: [Gambas-user] Issue 2 in gambas: No native gambas for Windows >> platforms >> On 10/05/2011 06:06 PM, Dag-Jarle Johansen wrote: >> >>> Hei, want to plug in on this discussion. by the way, "issue" is not >>> particulary something negative, issue just means "case", but I know in the >>> IT-world it*s mostly a case of a bug or a problem. >>> >>> I do not want Benoit to get sleepless nights, but it would be a >>> masterpiece >>> to get Gambas running under Windows. Running, not developing. Still MS has >>> a >>> world-part of over 80%, Max I don*t know, and the last what I saw, was >>> Linux >>> at 5%. So there is a lot to do, I ll do my part - sough - I just do know >>> so >>> little. If I have luck now, I will become a certain amount monthly, so I >>> will not have to sell any more, in this case I will use all my time beeing >>> a >>> Gambas expert. But - for that your skillls are asked, to help me getting >>> on. >>> I am still too much the VB-programmer, and what hurts is the lack of the >>> TYPE as in an array, beyond that I am not missing much. Back to MS - it is >>> to concider what they are doing. My pa has a W7 here, they are flipping >>> out, >>> and since my last programmers attempts was on a XP, and not with .NET, I >>> just skipped it, I do not know. The central registration must be horrible, >>> already in XP they started to save accessed fields in the registry - with >>> the 5 last used values. C+/+ is very fast reading textfiles, but if you >>> have >>> to do it all the time - the machine gets slow. >>> >>> Ok some of my thoughts, >>> not very pragmatic, but I think we should know what we are handling with: >>> 80 >>> to 5 % for example.Gambas could double that, it is the best piece of >>> developing software near and far. >>> >> From what I gather, getting GAMBAS to run on Windows proper would require >> all dependencies to also work under Windows. Windows is also a moving target >> but unlike Linux is largely backward-incompatible and would require all >> kinds of hand-holding to get something working under each Windows version. >> In other words, it would be an infinitely labor-intensive mess. This is >> unfortunate, as I would like to see GAMBAS work in Windows as well. The >> silver lining is that GAMBAS shows Windows up; it embarrasses it and lets >> people know they can craft powerful and robust programs using a different >> ecosystem entirely. Streamlined virtualization under Windows is probably the >> best-case usage of GAMBAS, using something like andLinux. >> >> -- >> Kevin Fishburne >> Eight Virtues >> www: http://sales.eightvirtues.com >> e-mail: sales at ...1887... >> phone: (770) 853-6271 >> >> >> >> >> >> ---------- Messaggio inoltrato ---------- >> From: Rolf-Werner Eilert >> To: gambas-user at lists.sourceforge.net >> Date: Thu, 06 Oct 2011 08:23:49 +0200 >> Subject: Re: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem >> Am 06.10.2011 00:26, schrieb Demosthenes Koptsis: >> >>> The Project141 is attached if anyone want to check it out. >>> i have a path with Greek-Latin characters but this is not the problem. >>> i moved the project's folder to /home/user and the problem is the same. >>> >>> 1) What is the problem. >>> When i run the code >>> >>> Dialog.Path = Application.Path >>> If Dialog.SaveFile() Then Return >>> >>> The Save dialog shows but it point to a folder upper than >>> Application.Path >>> >>> for example if >>> Application.Path="/home/user/**Project141" >>> >>> the dialog shows /home/user >>> >> Try "/home/user/Project141/" - does it help? >> >> 2) second problem. >>> The path at the top of dialog is not shown correctly. Some characters or >>> whole words are missing. >>> >>> Is this because of Greek letters in path? >>> >>> >>> See screenshots from Open File and Save File dialogs >>> >>> >> In the GUI you use, can you change the standard font for dialogs? It looks >> as if the font for the trees offers greek letters, the one for the labels in >> the dialogs does not. >> >> Regards >> >> Rolf >> >> >> >> >> ---------- Messaggio inoltrato ---------- >> From: Girard Henri >> To: gambas-user at lists.sourceforge.net >> Date: Thu, 6 Oct 2011 09:34:27 +0200 >> Subject: Re: [Gambas-user] myZone4 >> Thanks for your application :) >> I translated it in french if you want to add the fr.po it's included :) >> regards >> Henri >> >> >> Le 05/10/2011 21:17, Andrea Bertini a ?crit : >> >>> i'm happy to annunce the release of my software myZone4, made with >>> Gambas3. myZone, now nationalized only in italian (but i plan to support >>> other languages), is a nutritional and sport software. >>> >>> You can find it at my Sourceforge page, http://myzone.sourceforge.net/ >>> My blog related is http://myzone4.tumblr.com/ >>> >>> I want to thank my Gambas-it's friends Milio and Golia for their >>> support. >>> >>> Andy >>> >>> >>> ------------------------------**------------------------------** >>> ------------------ >>> All the data continuously generated in your IT infrastructure contains a >>> definitive record of customers, application performance, security >>> threats, fraudulent activity and more. Splunk takes this data and makes >>> sense of it. Business sense. IT sense. Common sense. >>> http://p.sf.net/sfu/splunk-**d2dcopy1 >>> ______________________________**_________________ >>> Gambas-user mailing list >>> Gambas-user at ...720...**net >>> https://lists.sourceforge.net/**lists/listinfo/gambas-user >>> >>> >>> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2dcopy1 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From girardhenri at ...402... Thu Oct 6 16:49:12 2011 From: girardhenri at ...402... (Girard Henri) Date: Thu, 06 Oct 2011 16:49:12 +0200 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <1317898110.2498.106.camel@...2688...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> <201110021517.55600.gambas@...1...> <1317562196.14486.5.camel@...2689...> <4E8BE8CA.1000106@...1887...> <1317805146.2498.98.camel@...2688...> <4E8C2F8B.2080109@...1909...> <4E8D3AA5.9030908@...1887...> <1317897678.2498.105.camel@...2688...> <1317898110.2498.106.camel@...2688...> Message-ID: <4E8DBFE8.8030304@...402...> Le 06/10/2011 12:48, Bruce Bruen a ?crit : > On Thu, 2011-10-06 at 21:11 +1030, Bruce Bruen wrote: > >> On Thu, 2011-10-06 at 01:20 -0400, Kevin Fishburne wrote: >> >>> On 10/05/2011 06:20 AM, doriano.blengino at ...1909... wrote: >>>> Bruce Bruen ha scritto: >>>>> On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: >>>>>> Hopefully the Debian or Mint team will get this mess sorted out so gb3 >>>>>> can compile without hacks. Thanks for the help anyway, and for anyone >>>>>> else who sees GNOME as the walking dead, I highly recommend Kubuntu or >>>>>> any other well-supported KDE distribution. I should have done this a >>>>>> long time ago. >>>>>> >>>>>> >>>>> I feel your pain but it has sparked my interest following both your and >>>>> Demosthenes Koptsis posts. I think that there are a few issues here that >>>>> I may be able to offer some helpful comments on. >>>>> >>>> Hi Bruce, >>>> >>>> I liked your post, and your coloured english (especially those dinosaurs >>>> starting to feel chilly) :-) >>> I'm Kevin, but that's okay. ;) >> No, you're not. I am . You're just a symbolic link >> in /usr/lib/libfreetype.x73 that points to the real Bruce, >> which as we all know resides in /var/vague/dada/magritte/ceci_n >> \'est_pas_une_pipe ! >> :-) :-) :-) >> > Sorry, that was uncalled for. > Bruce > (but I couldn't resist) Hello, I am on oneiric with gnome3 (I uninstalled all ubuntu specific : unity, ubuntonline), but with sudo apt-get build-dep gambas3 I have no problem to compile nearly everyday. I forget I installed all deps which are suggested on gambas website for debian ubuntu. I tried too kubuntu but it's heavier than gnome3 (though I have it installed with +project-neon.) Today i added ppa:gnome3 to get the latest gnome-3.2 (well part of it, apparently all is not yet compiled). regards Henri > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...2524... Thu Oct 6 22:06:05 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Oct 2011 20:06:05 +0000 Subject: [Gambas-user] Issue 124 in gambas: Configure script mistype - SMTP word In-Reply-To: <0-6813199134517018827-9115570601718960938-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9115570601718960938-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9115570601718960938-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 124 by benoit.m... at ...626...: Configure script mistype - SMTP word http://code.google.com/p/gambas/issues/detail?id=124 (No comment was entered for this change.) From gambas at ...2524... Thu Oct 6 22:12:12 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Oct 2011 20:12:12 +0000 Subject: [Gambas-user] Issue 118 in gambas: Project saving directory recursion In-Reply-To: <2-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> <0-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14949552785129910484-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 118 by benoit.m... at ...626...: Project saving directory recursion http://code.google.com/p/gambas/issues/detail?id=118 Fixed in revision #4173 for Gambas 2. From gambas at ...2524... Fri Oct 7 00:24:05 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Oct 2011 22:24:05 +0000 Subject: [Gambas-user] Issue 122 in gambas: Save Project As routine retains previous project path In-Reply-To: <0-6813199134517018827-15264384529836249113-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15264384529836249113-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15264384529836249113-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement Comment #1 on issue 122 by benoit.m... at ...626...: Save Project As routine retains previous project path http://code.google.com/p/gambas/issues/detail?id=122 (No comment was entered for this change.) From kevinfishburne at ...1887... Fri Oct 7 05:33:06 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 06 Oct 2011 23:33:06 -0400 Subject: [Gambas-user] gb3: unable to compile on Debian Wheezy (testing) In-Reply-To: <1317898110.2498.106.camel@...2688...> References: <4E87F6D9.9030402@...1887...> <4E8800AE.60207@...1887...> <201110021517.55600.gambas@...1...> <1317562196.14486.5.camel@...2689...> <4E8BE8CA.1000106@...1887...> <1317805146.2498.98.camel@...2688...> <4E8C2F8B.2080109@...1909...> <4E8D3AA5.9030908@...1887...> <1317897678.2498.105.camel@...2688...> <1317898110.2498.106.camel@...2688...> Message-ID: <4E8E72F2.8070607@...1887...> On 10/06/2011 06:48 AM, Bruce Bruen wrote: > On Thu, 2011-10-06 at 21:11 +1030, Bruce Bruen wrote: > >> On Thu, 2011-10-06 at 01:20 -0400, Kevin Fishburne wrote: >> >>> On 10/05/2011 06:20 AM, doriano.blengino at ...1909... wrote: >>>> Bruce Bruen ha scritto: >>>>> On Wed, 2011-10-05 at 01:19 -0400, Kevin Fishburne wrote: >>>>>> Hopefully the Debian or Mint team will get this mess sorted out so gb3 >>>>>> can compile without hacks. Thanks for the help anyway, and for anyone >>>>>> else who sees GNOME as the walking dead, I highly recommend Kubuntu or >>>>>> any other well-supported KDE distribution. I should have done this a >>>>>> long time ago. >>>>>> >>>>>> >>>>> I feel your pain but it has sparked my interest following both your and >>>>> Demosthenes Koptsis posts. I think that there are a few issues here that >>>>> I may be able to offer some helpful comments on. >>>>> >>>> Hi Bruce, >>>> >>>> I liked your post, and your coloured english (especially those dinosaurs >>>> starting to feel chilly) :-) >>> I'm Kevin, but that's okay. ;) >> No, you're not. I am . You're just a symbolic link >> in /usr/lib/libfreetype.x73 that points to the real Bruce, >> which as we all know resides in /var/vague/dada/magritte/ceci_n >> \'est_pas_une_pipe ! >> :-) :-) :-) >> > Sorry, that was uncalled for. > Bruce > (but I couldn't resist) It was also super funny. Got a good laugh. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Fri Oct 7 07:06:19 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 07 Oct 2011 01:06:19 -0400 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE Message-ID: <4E8E88CB.1030105@...1887...> What foreground and background colors in Qt/KDE does gb3 pull its tooltip color settings from? Tooltip colors aren't programmable from gb3's settings, and I tested them with different KDE color schemes and they are affected. I can't figure out which colors their settings are taken from (they don't appear to match any of the colors in KDE's color schemes). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From girardhenri at ...67... Fri Oct 7 07:26:45 2011 From: girardhenri at ...67... (Girard Henri) Date: Fri, 7 Oct 2011 07:26:45 +0200 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE In-Reply-To: <4E8E88CB.1030105@...1887...> References: <4E8E88CB.1030105@...1887...> Message-ID: Le 07/10/2011 07:06, Kevin Fishburne a ?crit : > What foreground and background colors in Qt/KDE does gb3 pull its > tooltip color settings from? Tooltip colors aren't programmable from > gb3's settings, and I tested them with different KDE color schemes and > they are affected. I can't figure out which colors their settings are > taken from (they don't appear to match any of the colors in KDE's color > schemes). > I wonder if it's not in qtconfig-qt4 (qt3) because there is a tune palette ? From kevinfishburne at ...1887... Fri Oct 7 08:14:26 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 07 Oct 2011 02:14:26 -0400 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE In-Reply-To: References: <4E8E88CB.1030105@...1887...> Message-ID: <4E8E98C2.5080107@...1887...> On 10/07/2011 01:26 AM, Girard Henri wrote: > Le 07/10/2011 07:06, Kevin Fishburne a ?crit : >> What foreground and background colors in Qt/KDE does gb3 pull its >> tooltip color settings from? Tooltip colors aren't programmable from >> gb3's settings, and I tested them with different KDE color schemes and >> they are affected. I can't figure out which colors their settings are >> taken from (they don't appear to match any of the colors in KDE's color >> schemes). >> > I wonder if it's not in qtconfig-qt4 (qt3) because there is a tune palette ? I installed both, but they don't seem to have any options for configuring a palette. They also recommended that I "...use the KDE Control Center to set the palette." I reviewed the colors schemes using the proper GUI app for KDE and none of the colors seem to match the tooltip colors. They are affected by color scheme changes, I just can't pinpoint where the gb3 tooltip colors take their values from. I had to switch to some crap color scheme to see tooltips to quickly display variable values when debugging. No emergency, but it is annoying. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From girardhenri at ...67... Fri Oct 7 08:23:49 2011 From: girardhenri at ...67... (Girard Henri) Date: Fri, 7 Oct 2011 08:23:49 +0200 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE In-Reply-To: <4E8E98C2.5080107@...1887...> References: <4E8E88CB.1030105@...1887...> <4E8E98C2.5080107@...1887...> Message-ID: Le 07/10/2011 08:14, Kevin Fishburne a ?crit : > On 10/07/2011 01:26 AM, Girard Henri wrote: >> Le 07/10/2011 07:06, Kevin Fishburne a ?crit : >>> What foreground and background colors in Qt/KDE does gb3 pull its >>> tooltip color settings from? Tooltip colors aren't programmable from >>> gb3's settings, and I tested them with different KDE color schemes and >>> they are affected. I can't figure out which colors their settings are >>> taken from (they don't appear to match any of the colors in KDE's color >>> schemes). >>> >> I wonder if it's not in qtconfig-qt4 (qt3) because there is a tune palette ? > I installed both, but they don't seem to have any options for > configuring a palette. They also recommended that I "...use the KDE > Control Center to set the palette." I reviewed the colors schemes using > the proper GUI app for KDE and none of the colors seem to match the > tooltip colors. They are affected by color scheme changes, I just can't > pinpoint where the gb3 tooltip colors take their values from. I had to > switch to some crap color scheme to see tooltips to quickly display > variable values when debugging. No emergency, but it is annoying. > Did you look in systemsettings ? I use bespin high tech and there a button to configure many things (sorry i haven't look exactly on it I haven't kde installed) after having selected your theme, just on the button configure (on the right). From kevinfishburne at ...1887... Fri Oct 7 08:43:50 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 07 Oct 2011 02:43:50 -0400 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE In-Reply-To: References: <4E8E88CB.1030105@...1887...> <4E8E98C2.5080107@...1887...> Message-ID: <4E8E9FA6.6050709@...1887...> On 10/07/2011 02:23 AM, Girard Henri wrote: > Le 07/10/2011 08:14, Kevin Fishburne a ?crit : >> On 10/07/2011 01:26 AM, Girard Henri wrote: >>> Le 07/10/2011 07:06, Kevin Fishburne a ?crit : >>>> What foreground and background colors in Qt/KDE does gb3 pull its >>>> tooltip color settings from? Tooltip colors aren't programmable from >>>> gb3's settings, and I tested them with different KDE color schemes and >>>> they are affected. I can't figure out which colors their settings are >>>> taken from (they don't appear to match any of the colors in KDE's color >>>> schemes). >>>> >>> I wonder if it's not in qtconfig-qt4 (qt3) because there is a tune palette ? >> I installed both, but they don't seem to have any options for >> configuring a palette. They also recommended that I "...use the KDE >> Control Center to set the palette." I reviewed the colors schemes using >> the proper GUI app for KDE and none of the colors seem to match the >> tooltip colors. They are affected by color scheme changes, I just can't >> pinpoint where the gb3 tooltip colors take their values from. I had to >> switch to some crap color scheme to see tooltips to quickly display >> variable values when debugging. No emergency, but it is annoying. >> > Did you look in systemsettings ? > I use bespin high tech and there a button to configure many things > (sorry i haven't look exactly on it I haven't kde installed) after > having selected your theme, just on the button configure (on the right). I looked here (attached). The actual tootip background displayed in gb3 is a light yellow. The text is light blue. It changes when I change the KDE color scheme, but doesn't seem to correspond with the palette values in the scheme editor. Neither of those colors appear to be in the gb3 theme or the KDE theme, which is where the mystery lies. Since the gb3 IDE is programmed in gb3, knowing where it pulls the tooltip colors from may help to resolve the issue. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: KDE Color Scheme.jpg Type: image/jpeg Size: 73018 bytes Desc: not available URL: From girardhenri at ...67... Fri Oct 7 09:24:55 2011 From: girardhenri at ...67... (Girard Henri) Date: Fri, 7 Oct 2011 09:24:55 +0200 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE In-Reply-To: <4E8E9FA6.6050709@...1887...> References: <4E8E88CB.1030105@...1887...> <4E8E98C2.5080107@...1887...> <4E8E9FA6.6050709@...1887...> Message-ID: Le 07/10/2011 08:43, Kevin Fishburne a ?crit : > On 10/07/2011 02:23 AM, Girard Henri wrote: >> Le 07/10/2011 08:14, Kevin Fishburne a ?crit : >>> On 10/07/2011 01:26 AM, Girard Henri wrote: >>>> Le 07/10/2011 07:06, Kevin Fishburne a ?crit : >>>>> What foreground and background colors in Qt/KDE does gb3 pull its >>>>> tooltip color settings from? Tooltip colors aren't programmable from >>>>> gb3's settings, and I tested them with different KDE color schemes >>>>> and >>>>> they are affected. I can't figure out which colors their settings are >>>>> taken from (they don't appear to match any of the colors in KDE's >>>>> color >>>>> schemes). >>>>> >>>> I wonder if it's not in qtconfig-qt4 (qt3) because there is a tune >>>> palette ? >>> I installed both, but they don't seem to have any options for >>> configuring a palette. They also recommended that I "...use the KDE >>> Control Center to set the palette." I reviewed the colors schemes using >>> the proper GUI app for KDE and none of the colors seem to match the >>> tooltip colors. They are affected by color scheme changes, I just can't >>> pinpoint where the gb3 tooltip colors take their values from. I had to >>> switch to some crap color scheme to see tooltips to quickly display >>> variable values when debugging. No emergency, but it is annoying. >>> >> Did you look in systemsettings ? >> I use bespin high tech and there a button to configure many things >> (sorry i haven't look exactly on it I haven't kde installed) after >> having selected your theme, just on the button configure (on the right). > > I looked here (attached). The actual tootip background displayed in > gb3 is a light yellow. The text is light blue. It changes when I > change the KDE color scheme, but doesn't seem to correspond with the > palette values in the scheme editor. Neither of those colors appear to > be in the gb3 theme or the KDE theme, which is where the mystery lies. > Since the gb3 IDE is programmed in gb3, knowing where it pulls the > tooltip colors from may help to resolve the issue. > > > Are you using sudo su (root) or a user ? Because each have to be > changed... I installed systemsettings in oneiric and I can't start it > as a user it crashes. But if I change from root even "user" is changed > too ? I think it didn't do that before (I mean on other version). I am > not very keen with gnome3 yet because it's difficult to configure it > not enaugh doc yet. Maybe I should work with kde4.7 but it's slow on > my pc (well slower than gnome3). > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Oct 7 10:47:55 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Oct 2011 10:47:55 +0200 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE In-Reply-To: <4E8E88CB.1030105@...1887...> References: <4E8E88CB.1030105@...1887...> Message-ID: <201110071047.55512.gambas@...1...> > What foreground and background colors in Qt/KDE does gb3 pull its > tooltip color settings from? Tooltip colors aren't programmable from > gb3's settings, and I tested them with different KDE color schemes and > they are affected. I can't figure out which colors their settings are > taken from (they don't appear to match any of the colors in KDE's color > schemes). What tooltips are you talking about exactly? -- Beno?t Minisini From gambas at ...2524... Fri Oct 7 10:50:06 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 07 Oct 2011 08:50:06 +0000 Subject: [Gambas-user] Issue 122 in gambas: Save Project As routine retains previous project path In-Reply-To: <1-6813199134517018827-15264384529836249113-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-15264384529836249113-gambas=googlecode.com@...2524...> <0-6813199134517018827-15264384529836249113-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-15264384529836249113-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 122 by benoit.m... at ...626...: Save Project As routine retains previous project path http://code.google.com/p/gambas/issues/detail?id=122 Fixed in revision #4174. From gambas at ...2524... Fri Oct 7 10:54:19 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 07 Oct 2011 08:54:19 +0000 Subject: [Gambas-user] Issue 124 in gambas: Configure script mistype - SMTP word In-Reply-To: <1-6813199134517018827-9115570601718960938-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9115570601718960938-gambas=googlecode.com@...2524...> <0-6813199134517018827-9115570601718960938-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9115570601718960938-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 124 by benoit.m... at ...626...: Configure script mistype - SMTP word http://code.google.com/p/gambas/issues/detail?id=124 Fixed in revision #4175. From gambas at ...2524... Fri Oct 7 10:58:23 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 07 Oct 2011 08:58:23 +0000 Subject: [Gambas-user] Issue 125 in gambas: No display of background and foreground colors for some controls in IDE mode In-Reply-To: <0-6813199134517018827-17443483076309348837-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17443483076309348837-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17443483076309348837-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #1 on issue 125 by benoit.m... at ...626...: No display of background and foreground colors for some controls in IDE mode http://code.google.com/p/gambas/issues/detail?id=125 The background and foreground color of widgets is managed by the widget theme. Moreover, your project uses gb.gtk, whereas the IDE gb.qt4. The first point explains why you don't see the background and/or foreground colors inside the IDE. I see them with oxygen KDE widget style. See the attached image. The second point explains why it works when you run the project. Attachments: BckForeColor.jpg 147 KB From kevinfishburne at ...1887... Fri Oct 7 11:01:27 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 07 Oct 2011 05:01:27 -0400 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE In-Reply-To: <201110071047.55512.gambas@...1...> References: <4E8E88CB.1030105@...1887...> <201110071047.55512.gambas@...1...> Message-ID: <4E8EBFE7.6010703@...1887...> On 10/07/2011 04:47 AM, Beno?t Minisini wrote: >> What foreground and background colors in Qt/KDE does gb3 pull its >> tooltip color settings from? Tooltip colors aren't programmable from >> gb3's settings, and I tested them with different KDE color schemes and >> they are affected. I can't figure out which colors their settings are >> taken from (they don't appear to match any of the colors in KDE's color >> schemes). > What tooltips are you talking about exactly? > In the gb3 IDE, when you pause the execution of the application and double-click a variable to expose its value through the tooltip/hover mechanism. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Fri Oct 7 11:04:44 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 07 Oct 2011 05:04:44 -0400 Subject: [Gambas-user] Issue 125 in gambas: No display of background and foreground colors for some controls in IDE mode In-Reply-To: <1-6813199134517018827-17443483076309348837-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17443483076309348837-gambas=googlecode.com@...2524...> <1-6813199134517018827-17443483076309348837-gambas=googlecode.com@...2524...> Message-ID: <4E8EC0AC.2040002@...1887...> On 10/07/2011 04:58 AM, gambas at ...2524... wrote: > Updates: > Status: Invalid > Labels: -Version Version-TRUNK > > Comment #1 on issue 125 by benoit.m... at ...626...: No display of background > and foreground colors for some controls in IDE mode > http://code.google.com/p/gambas/issues/detail?id=125 > > The background and foreground color of widgets is managed by the widget > theme. Moreover, your project uses gb.gtk, whereas the IDE gb.qt4. > > The first point explains why you don't see the background and/or foreground > colors inside the IDE. I see them with oxygen KDE widget style. See the > attached image. > > The second point explains why it works when you run the project. > > Attachments: > BckForeColor.jpg 147 KB > For the record I didn't submit that as a bug, I just asked a question about where the gb3 IDE tooltip color values were copied from when in Qt mode. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Fri Oct 7 11:06:08 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Oct 2011 11:06:08 +0200 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE In-Reply-To: <4E8EBFE7.6010703@...1887...> References: <4E8E88CB.1030105@...1887...> <201110071047.55512.gambas@...1...> <4E8EBFE7.6010703@...1887...> Message-ID: <201110071106.08753.gambas@...1...> > On 10/07/2011 04:47 AM, Beno?t Minisini wrote: > >> What foreground and background colors in Qt/KDE does gb3 pull its > >> tooltip color settings from? Tooltip colors aren't programmable from > >> gb3's settings, and I tested them with different KDE color schemes and > >> they are affected. I can't figure out which colors their settings are > >> taken from (they don't appear to match any of the colors in KDE's color > >> schemes). > > > > What tooltips are you talking about exactly? > > In the gb3 IDE, when you pause the execution of the application and > double-click a variable to expose its value through the tooltip/hover > mechanism. OK! This is not a true tooltip, just a little panel with a yellow background. I have no tooltip color property in the Gambas Color class yet... -- Beno?t Minisini From kevinfishburne at ...1887... Fri Oct 7 11:20:10 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 07 Oct 2011 05:20:10 -0400 Subject: [Gambas-user] gb3: tooltip color sources in Qt/KDE In-Reply-To: <201110071106.08753.gambas@...1...> References: <4E8E88CB.1030105@...1887...> <201110071047.55512.gambas@...1...> <4E8EBFE7.6010703@...1887...> <201110071106.08753.gambas@...1...> Message-ID: <4E8EC44A.1000202@...1887...> On 10/07/2011 05:06 AM, Beno?t Minisini wrote: >> On 10/07/2011 04:47 AM, Beno?t Minisini wrote: >>>> What foreground and background colors in Qt/KDE does gb3 pull its >>>> tooltip color settings from? Tooltip colors aren't programmable from >>>> gb3's settings, and I tested them with different KDE color schemes and >>>> they are affected. I can't figure out which colors their settings are >>>> taken from (they don't appear to match any of the colors in KDE's color >>>> schemes). >>> What tooltips are you talking about exactly? >> In the gb3 IDE, when you pause the execution of the application and >> double-click a variable to expose its value through the tooltip/hover >> mechanism. > OK! This is not a true tooltip, just a little panel with a yellow background. > I have no tooltip color property in the Gambas Color class yet... > That sounds right. I'm not trying to control the legacy tooltip colors in my own program; I just want the IDE to use colors from the DE or GAMBAS style overrides. What is so interesting to me is how the tooltip colors change when KDE changes color schemes, yet don't seem to associate with sane or even present values. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From demosthenesk at ...626... Fri Oct 7 13:19:06 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Fri, 07 Oct 2011 14:19:06 +0300 Subject: [Gambas-user] ToolButtons do not appear correct in Toolbar Message-ID: <1317986346.24152.1.camel@...2689...> Hi, i add some toolbuttons on a Toolbar. Each button has an image but at runtime it does not appear correct. See png How to correct this? -------------- next part -------------- A non-text attachment was scrubbed... Name: image_144.png Type: image/png Size: 17232 bytes Desc: not available URL: From admin at ...2701... Fri Oct 7 19:34:03 2011 From: admin at ...2701... (J_Mischk3) Date: Fri, 7 Oct 2011 10:34:03 -0700 (PDT) Subject: [Gambas-user] unattach an event ( Data on tableview ) Message-ID: <32607385.post@...1379...> If I'll to load a lot of Rows into a tableview ( > 2500 ) the time for reading this data will grow. ( 1000 needs 1 second, 5000 need nearly 1 minute ! ) Is it possible to stop the DATA event, ( and acitvate it after reading the data ) I think it will be called for every cell and that cost a lot of time? Or why is tableview so slow if it gets a lot of data?? -- View this message in context: http://old.nabble.com/unattach-an-event-%28-Data-on-tableview-%29-tp32607385p32607385.html Sent from the gambas-user mailing list archive at Nabble.com. From mushketer888 at ...626... Fri Oct 7 19:54:19 2011 From: mushketer888 at ...626... (None None) Date: Fri, 7 Oct 2011 20:54:19 +0300 Subject: [Gambas-user] Maybe new editor feature - code folding in IF, FOR, WHILE etc code blocks (not only in SUB). Message-ID: Maybe new editor feature - code folding in IF,FOR,WHILE etc code blocks (not only in SUB). Devs, please add this in TODO Also good feature would be : when the variable is chosen/highlighted with mouse then its also highlighted in all source file. I want to hear your opinion about that From dag.jarle.johansen at ...626... Fri Oct 7 21:37:21 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Fri, 7 Oct 2011 21:37:21 +0200 Subject: [Gambas-user] A little off topic - internet Message-ID: Hi All, after shuffelling through pages after pages of so called know how, I still can't get my Wireless adapter to work. Some of you may have got the information - I moved from Argentina (cabled and no problem) to Oslo, where I can't use a cable.. I really know, this is off topic, and I have a bad feeling about it, but I know you guys are so good, so I take a chance. I have Ubuntu 10.04.03.LTS, and that thing that does not work is a Netgear N300. I have read all I found about ndiswrapper, but is was not suficcient. Please do not hit me beacause of this - issue - I just want to programm again, with Gambas. Thanks in advance regards Dag-Jarle From dag.jarle.johansen at ...626... Fri Oct 7 21:52:08 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Fri, 7 Oct 2011 21:52:08 +0200 Subject: [Gambas-user] Maybe new editor feature - code folding in IF, FOR, WHILE etc code blocks (not only in SUB). In-Reply-To: References: Message-ID: Hi, I am not a Dev, jsut a user of gambas. It would make me crazy if all gets highligted all the time, just because I am hovering or rightklicking on something. Perhaps it would be better to use a Key-combination to achive your needs, I surly understand the benefits. Apropos, Benoit, What is with Ctrl-D? (Delete one line) I common, I think the IDE has achived a pretty good standard, and what is to come, well 1000 programmers have 1000 different opinions - and wishes. Do not misunderstand me - sure you are right bringing in new ideas, I think that is how Gambas has developed so fast in so a short time. Regards, Dag-Jarle 2011/10/7 None None > Maybe new editor feature - code folding in IF,FOR,WHILE etc code blocks > (not > only in SUB). > Devs, please add this in TODO > Also good feature would be : when the variable is chosen/highlighted with > mouse then its also highlighted in all source file. > I want to hear your opinion about that > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Oct 7 22:31:47 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 7 Oct 2011 22:31:47 +0200 Subject: [Gambas-user] unattach an event ( Data on tableview ) In-Reply-To: <32607385.post@...1379...> References: <32607385.post@...1379...> Message-ID: <201110072231.47663.gambas@...1...> > If I'll to load a lot of Rows into a tableview ( > 2500 ) the time for > reading this data will grow. ( 1000 needs 1 second, 5000 need nearly 1 > minute ! ) > > Is it possible to stop the DATA event, ( and acitvate it after reading the > data ) I think it will be called for every cell and that cost a lot of > time? > > Or why is tableview so slow if it gets a lot of data?? Mmm. I think the problem may be in your code. Can you show us how you read the data and fill the TableView? -- Beno?t Minisini From gambas.fr at ...626... Fri Oct 7 23:15:07 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 7 Oct 2011 23:15:07 +0200 Subject: [Gambas-user] unattach an event ( Data on tableview ) In-Reply-To: <201110072231.47663.gambas@...1...> References: <32607385.post@...1379...> <201110072231.47663.gambas@...1...> Message-ID: Le 7 octobre 2011 22:31, Beno?t Minisini a ?crit : >> If I'll to load a lot of Rows into a tableview ( > 2500 ) the time for >> reading this data will grow. ( 1000 needs 1 second, 5000 need nearly 1 >> minute ! ) >> >> Is it possible to stop the DATA event, ( and acitvate it after reading the >> data ) I think it will be called for every cell and that cost a lot of >> time? >> >> Or why is tableview so slow if it gets a lot of data?? > > Mmm. I think the problem may be in your code. Can you show us how you read the > data and fill the TableView? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I think you not use the data event :/ -- Fabien Bodard From admin at ...2701... Sat Oct 8 12:46:50 2011 From: admin at ...2701... (J_Mischk3) Date: Sat, 8 Oct 2011 03:46:50 -0700 (PDT) Subject: [Gambas-user] unattach an event ( Data on tableview ) In-Reply-To: <201110072231.47663.gambas@...1...> References: <32607385.post@...1379...> <201110072231.47663.gambas@...1...> Message-ID: <32613186.post@...1379...> Mmm. I think the problem may be in your code. Can you show us how you read the data and fill the TableView? No problem, here it is: For i = 0 To sql2.DBResult.Max TabHandle.Rows[i].Selected = False TabHandle.Rows[i].Title = i + 1 TabHandle[i, 0].text = RowStat[i] TabHandle[i, 0].Picture = Picture["bild1.png"] For j = 1 To sql2.DBResult.Fields.Count TabHandle[i, j].text = sql2.DBResult[j - 1] Next RowStat[i] = ROWNORMAL sql2.DBResult.MoveNext Next How can I use this example with the Data Event??? -- View this message in context: http://old.nabble.com/unattach-an-event-%28-Data-on-tableview-%29-tp32607385p32613186.html Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...2345... Sat Oct 8 13:47:55 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 08 Oct 2011 13:47:55 +0200 Subject: [Gambas-user] unattach an event ( Data on tableview ) In-Reply-To: <32613186.post@...1379...> References: <32607385.post@...1379...> <201110072231.47663.gambas@...1...> <32613186.post@...1379...> Message-ID: <1318074475.6462.2.camel@...40...> Am Samstag, den 08.10.2011, 03:46 -0700 schrieb J_Mischk3: > > > Mmm. I think the problem may be in your code. Can you show us how you read > the > data and fill the TableView? > > > No problem, here it is: > > For i = 0 To sql2.DBResult.Max > TabHandle.Rows[i].Selected = False > TabHandle.Rows[i].Title = i + 1 > TabHandle[i, 0].text = RowStat[i] > TabHandle[i, 0].Picture = Picture["bild1.png"] > For j = 1 To sql2.DBResult.Fields.Count > TabHandle[i, j].text = sql2.DBResult[j - 1] > Next > RowStat[i] = ROWNORMAL > sql2.DBResult.MoveNext > Next > > How can I use this example with the Data Event??? Salut, if TabHandle is your TableView. PUBLIC SUB TabHandle_Data(Row AS Integer, Column AS Integer) TabHandle.CellData(Row, Column) END -- Amicalement Charlie From gambas at ...1... Sun Oct 9 04:08:49 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Oct 2011 04:08:49 +0200 Subject: [Gambas-user] Dialog.SaveFile() and Dialog.Path problem In-Reply-To: <1317853573.19485.9.camel@...2689...> References: <1317806911.17222.2.camel@...2689...> <1317853573.19485.9.camel@...2689...> Message-ID: <201110090408.49690.gambas@...1...> > > 2) second problem. > The path at the top of dialog is not shown correctly. Some characters or > whole words are missing. > > Is this because of Greek letters in path? > Not at all, it is a bug in the container arrangement routine that shows up only with gb.gtk. It is fixed in revision #4182. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Sun Oct 9 06:14:43 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 09 Oct 2011 00:14:43 -0400 Subject: [Gambas-user] Maybe new editor feature - code folding in IF, FOR, WHILE etc code blocks (not only in SUB). In-Reply-To: References: Message-ID: <4E911FB3.1010203@...1887...> On 10/07/2011 03:52 PM, Dag-Jarle Johansen wrote: > Hi, > > I am not a Dev, jsut a user of gambas. > It would make me crazy if all gets highligted all the time, just because I > am hovering or rightklicking on something. Perhaps it would be better to use > a Key-combination to achive your needs, I surly understand the benefits. > Apropos, Benoit, What is with Ctrl-D? (Delete one line) > > I common, I think the IDE has achived a pretty good standard, and what is to > come, well 1000 programmers have 1000 different opinions - and wishes. > Do not misunderstand me - sure you are right bringing in new ideas, I think > that is how Gambas has developed so fast in so a short time. > > Regards, > Dag-Jarle > > > 2011/10/7 None None > >> Maybe new editor feature - code folding in IF,FOR,WHILE etc code blocks >> (not >> only in SUB). >> Devs, please add this in TODO >> Also good feature would be : when the variable is chosen/highlighted with >> mouse then its also highlighted in all source file. >> I want to hear your opinion about that > I agree that if it was done in a nearly completely unobtrusive way then it is a good idea. The last thing I want to see when I'm in the "zone" is an IDE distraction. I don't know that I would use it personally, but I can imagine it being useful depending on what your procedures look like. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Sun Oct 9 06:17:29 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 09 Oct 2011 00:17:29 -0400 Subject: [Gambas-user] A little off topic - internet In-Reply-To: References: Message-ID: <4E912059.3030806@...1887...> On 10/07/2011 03:37 PM, Dag-Jarle Johansen wrote: > Hi All, > > after shuffelling through pages after pages of so called know how, I still > can't get my Wireless adapter to work. Some of you may have got the > information - I moved from Argentina (cabled and no problem) to Oslo, where > I can't use a cable.. I really know, this is off topic, and I have a bad > feeling about it, but I know you guys are so good, so I take a chance. I > have Ubuntu 10.04.03.LTS, and that thing that does not work is a Netgear > N300. > I have read all I found about ndiswrapper, but is was not suficcient. > Please do not hit me beacause of this - issue - I just want to programm > again, with Gambas. If it's not supported in Linux then don't use it; that's my theory. I'd get a cheap USB wireless card (or PCIe if it's a desktop) that works with the kernel drivers. If it's not in the kernel and doesn't have vendor-provided binary drivers then to hell with it. Also send them a letter saying that they suck, haha. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From support at ...2529... Sun Oct 9 06:13:28 2011 From: support at ...2529... (John Spikowski) Date: Sat, 08 Oct 2011 21:13:28 -0700 Subject: [Gambas-user] 4182 compile issues Message-ID: <1318133608.2097.5.camel@...1833...> || || Unable to compile gb.form || Unable to compile gb.form.dialog || Unable to compile gb.form.mdi || Unable to compile gb.db.form || Unable to compile gb.report || Unable to compile gb.chart || Unable to compile gambas3 || Build Commands: svn update sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo make clean ./reconf-all && ./configure -C && make sudo make install Path: . URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5 Revision: 4182 Node Kind: directory Schedule: normal Last Changed Author: gambas Last Changed Rev: 4182 Last Changed Date: 2011-10-08 19:05:07 -0700 (Sat, 08 Oct 2011) From gambas at ...1... Sun Oct 9 10:44:00 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Oct 2011 10:44:00 +0200 Subject: [Gambas-user] ran in problems with gambas2 and rev 4131 In-Reply-To: <1317032468.6452.5.camel@...40...> References: <1317032468.6452.5.camel@...40...> Message-ID: <201110091044.00482.gambas@...1...> > Salut Beno?t, > > updated my gambas2 by svn yesterday, and ran in that problem. > see attachments, back to rev 4130 all is OK. Hi, Is it better with revision #4183? -- Beno?t Minisini From gambas at ...2524... Sun Oct 9 11:50:06 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 09 Oct 2011 09:50:06 +0000 Subject: [Gambas-user] Issue 123 in gambas: GUI dependencies in library projects not exposing any gui dependency In-Reply-To: <0-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4212819439130212327-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement Comment #1 on issue 123 by benoit.m... at ...626...: GUI dependencies in library projects not exposing any gui dependency http://code.google.com/p/gambas/issues/detail?id=123 Yes, libraries are not like components. They automatically load the components they used. I admit this is not coherent, but I don't think I can do anything against that before Gambas 3 release. From gambas at ...1... Sun Oct 9 12:01:33 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Oct 2011 12:01:33 +0200 Subject: [Gambas-user] Unexpected INPUT in form definition In-Reply-To: <201109131749.37387.gambas@...1...> References: <32456827.post@...1379...> <201109131749.37387.gambas@...1...> Message-ID: <201110091201.33160.gambas@...1...> > > I'm creating a menu in the menu editor: > > > > File > > > > Exit > > > > Input > > > > Modify > > > > And I'm getting this error wher try to run it:"Unexpected INPUT in form > > definition" > > > > ... > > > > I tried it in gambas 2.13 and and 2.21 > > This is a bug. But try to not use reserved words as menu names, it will > help! That bug has been fixed in revision #4184 for Gambas 2 and #4185 for Gambas 3. Regards, -- Beno?t Minisini From dag.jarle.johansen at ...626... Sun Oct 9 13:38:19 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Sun, 9 Oct 2011 13:38:19 +0200 Subject: [Gambas-user] A little off topic - internet In-Reply-To: <4E912059.3030806@...1887...> References: <4E912059.3030806@...1887...> Message-ID: Thank you Kevin, it's frustrating right now. Have to swith to Win to get the Informatisons and then back Ubuntu to try it out. What Card do you have? Regards, Dag-Jarle 2011/10/9 Kevin Fishburne > On 10/07/2011 03:37 PM, Dag-Jarle Johansen wrote: > > Hi All, > > > > after shuffelling through pages after pages of so called know how, I > still > > can't get my Wireless adapter to work. Some of you may have got the > > information - I moved from Argentina (cabled and no problem) to Oslo, > where > > I can't use a cable.. I really know, this is off topic, and I have a bad > > feeling about it, but I know you guys are so good, so I take a chance. I > > have Ubuntu 10.04.03.LTS, and that thing that does not work is a Netgear > > N300. > > I have read all I found about ndiswrapper, but is was not suficcient. > > Please do not hit me beacause of this - issue - I just want to programm > > again, with Gambas. > > If it's not supported in Linux then don't use it; that's my theory. I'd > get a cheap USB wireless card (or PCIe if it's a desktop) that works > with the kernel drivers. If it's not in the kernel and doesn't have > vendor-provided binary drivers then to hell with it. Also send them a > letter saying that they suck, haha. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Sun Oct 9 13:58:07 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 09 Oct 2011 13:58:07 +0200 Subject: [Gambas-user] ran in problems with gambas2 and rev 4131 In-Reply-To: <201110091044.00482.gambas@...1...> References: <1317032468.6452.5.camel@...40...> <201110091044.00482.gambas@...1...> Message-ID: <1318161487.6439.3.camel@...40...> Am Sonntag, den 09.10.2011, 10:44 +0200 schrieb Beno?t Minisini: > > Salut Beno?t, > > > > updated my gambas2 by svn yesterday, and ran in that problem. > > see attachments, back to rev 4130 all is OK. > > Hi, > > Is it better with revision #4183? > Salut Beno?t, no, it still doesn't work for me. See attachment regards Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: configure.log.tar.gz Type: application/x-compressed-tar Size: 27434 bytes Desc: not available URL: From gambas at ...1... Sun Oct 9 14:11:30 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Oct 2011 14:11:30 +0200 Subject: [Gambas-user] ran in problems with gambas2 and rev 4131 In-Reply-To: <1318161487.6439.3.camel@...40...> References: <1317032468.6452.5.camel@...40...> <201110091044.00482.gambas@...1...> <1318161487.6439.3.camel@...40...> Message-ID: <201110091411.30647.gambas@...1...> > Am Sonntag, den 09.10.2011, 10:44 +0200 schrieb Beno?t Minisini: > > > Salut Beno?t, > > > > > > updated my gambas2 by svn yesterday, and ran in that problem. > > > see attachments, back to rev 4130 all is OK. > > > > Hi, > > > > Is it better with revision #4183? > > Salut Beno?t, > > no, it still doesn't work for me. > See attachment > > regards Charlie And with revision #4186? -- Beno?t Minisini From Karl.Reinl at ...2345... Sun Oct 9 15:24:40 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 09 Oct 2011 15:24:40 +0200 Subject: [Gambas-user] ran in problems with gambas2 and rev 4131 In-Reply-To: <201110091411.30647.gambas@...1...> References: <1317032468.6452.5.camel@...40...> <201110091044.00482.gambas@...1...> <1318161487.6439.3.camel@...40...> <201110091411.30647.gambas@...1...> Message-ID: <1318166680.6439.6.camel@...40...> Am Sonntag, den 09.10.2011, 14:11 +0200 schrieb Beno?t Minisini: > > Am Sonntag, den 09.10.2011, 10:44 +0200 schrieb Beno?t Minisini: > > > > Salut Beno?t, > > > > > > > > updated my gambas2 by svn yesterday, and ran in that problem. > > > > see attachments, back to rev 4130 all is OK. > > > > > > Hi, > > > > > > Is it better with revision #4183? > > > > Salut Beno?t, > > > > no, it still doesn't work for me. > > See attachment > > > > regards Charlie > > And with revision #4186? > Salut Beno?t, no, doesn't work for me, same error. see attachment Regards Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: configure.log.tar.gz Type: application/x-compressed-tar Size: 27465 bytes Desc: not available URL: From gambas at ...1... Sun Oct 9 16:27:10 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Oct 2011 16:27:10 +0200 Subject: [Gambas-user] ran in problems with gambas2 and rev 4131 In-Reply-To: <1318166680.6439.6.camel@...40...> References: <1317032468.6452.5.camel@...40...> <201110091411.30647.gambas@...1...> <1318166680.6439.6.camel@...40...> Message-ID: <201110091627.10958.gambas@...1...> > > Salut Beno?t, > > no, doesn't work for me, same error. > see attachment > > Regards Charlie Actually you get the error on another file, so I will suceed in fixing it... -- Beno?t Minisini From gambas at ...1... Sun Oct 9 16:33:24 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Oct 2011 16:33:24 +0200 Subject: [Gambas-user] ran in problems with gambas2 and rev 4131 In-Reply-To: <201110091627.10958.gambas@...1...> References: <1317032468.6452.5.camel@...40...> <1318166680.6439.6.camel@...40...> <201110091627.10958.gambas@...1...> Message-ID: <201110091633.24404.gambas@...1...> > > Salut Beno?t, > > > > no, doesn't work for me, same error. > > see attachment > > > > Regards Charlie > > Actually you get the error on another file, so I will suceed in fixing > it... Try with revision #4187 now. -- Beno?t Minisini From Karl.Reinl at ...2345... Sun Oct 9 16:56:11 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 09 Oct 2011 16:56:11 +0200 Subject: [Gambas-user] ran in problems with gambas2 and rev 4131 In-Reply-To: <201110091633.24404.gambas@...1...> References: <1317032468.6452.5.camel@...40...> <1318166680.6439.6.camel@...40...> <201110091627.10958.gambas@...1...> <201110091633.24404.gambas@...1...> Message-ID: <1318172171.6439.9.camel@...40...> Am Sonntag, den 09.10.2011, 16:33 +0200 schrieb Beno?t Minisini: > > > Salut Beno?t, > > > > > > no, doesn't work for me, same error. > > > see attachment > > > > > > Regards Charlie > > > > Actually you get the error on another file, so I will suceed in fixing > > it... > > Try with revision #4187 now. > failed -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: configure.log.tar.gz Type: application/x-compressed-tar Size: 11537 bytes Desc: not available URL: From gambas at ...1... Sun Oct 9 17:05:46 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Oct 2011 17:05:46 +0200 Subject: [Gambas-user] ran in problems with gambas2 and rev 4131 In-Reply-To: <1318172171.6439.9.camel@...40...> References: <1317032468.6452.5.camel@...40...> <201110091633.24404.gambas@...1...> <1318172171.6439.9.camel@...40...> Message-ID: <201110091705.46409.gambas@...1...> > Am Sonntag, den 09.10.2011, 16:33 +0200 schrieb Beno?t Minisini: > > > > Salut Beno?t, > > > > > > > > no, doesn't work for me, same error. > > > > see attachment > > > > > > > > Regards Charlie > > > > > > Actually you get the error on another file, so I will suceed in fixing > > > it... > > > > Try with revision #4187 now. > > failed And revision #4188 ? -- Beno?t Minisini From rlp1938 at ...626... Sun Oct 9 17:08:10 2011 From: rlp1938 at ...626... (Robert Parker) Date: Sun, 9 Oct 2011 22:08:10 +0700 Subject: [Gambas-user] How to execute CLI programs from Gambas GUI program? Message-ID: Hi Guys, I am new to Gambas. I have a few CLI programs written in C. I'd like to make GUI interfaces to them using Gambas. Is this possible? If so how please. Thanks Bob From ea7dfh at ...2382... Sun Oct 9 11:22:19 2011 From: ea7dfh at ...2382... (Jesus) Date: Sun, 09 Oct 2011 11:22:19 +0200 Subject: [Gambas-user] A little off topic - internet In-Reply-To: <4E912059.3030806@...1887...> References: <4E912059.3030806@...1887...> Message-ID: <4E9167CB.2020706@...2382...> El 09/10/11 06:17, Kevin Fishburne escribi?: > On 10/07/2011 03:37 PM, Dag-Jarle Johansen wrote: >> Hi All, >> >> after shuffelling through pages after pages of so called know how, I still >> can't get my Wireless adapter to work. Some of you may have got the >> information - I moved from Argentina (cabled and no problem) to Oslo, where >> I can't use a cable.. I really know, this is off topic, and I have a bad >> feeling about it, but I know you guys are so good, so I take a chance. I >> have Ubuntu 10.04.03.LTS, and that thing that does not work is a Netgear >> N300. >> I have read all I found about ndiswrapper, but is was not suficcient. >> Please do not hit me beacause of this - issue - I just want to programm >> again, with Gambas. > > If it's not supported in Linux then don't use it; that's my theory. I'd > get a cheap USB wireless card (or PCIe if it's a desktop) that works > with the kernel drivers. If it's not in the kernel and doesn't have > vendor-provided binary drivers then to hell with it. Also send them a > letter saying that they suck, haha. > Some time ago I have had a bad experience with this brand and they wasn't too kind providing me for a solution. I've deleted Netgear from my providers list. Period. Regards -- Jesus Guardon From support at ...2529... Sun Oct 9 17:20:04 2011 From: support at ...2529... (John Spikowski) Date: Sun, 09 Oct 2011 08:20:04 -0700 Subject: [Gambas-user] 4182 compile issues In-Reply-To: <1318133608.2097.5.camel@...1833...> References: <1318133608.2097.5.camel@...1833...> Message-ID: <1318173604.2142.2.camel@...1833...> On Sat, 2011-10-08 at 21:13 -0700, John Spikowski wrote: > > || > || Unable to compile gb.form > || Unable to compile gb.form.dialog > || Unable to compile gb.form.mdi > || Unable to compile gb.db.form > || Unable to compile gb.report > || Unable to compile gb.chart > || Unable to compile gambas3 > || > > > Build Commands: > > svn update > sudo rm > -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 > sudo rm -rf /usr/local/lib/gambas3 > sudo rm -rf /usr/local/share/gambas3 > sudo make clean > ./reconf-all && ./configure -C && make > sudo make install > > Path: . > URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk > Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas > Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5 > Revision: 4182 > Node Kind: directory > Schedule: normal > Last Changed Author: gambas > Last Changed Rev: 4182 > Last Changed Date: 2011-10-08 19:05:07 -0700 (Sat, 08 Oct 2011) > Is it safe to try this again or are my compile issue unique? From gambas at ...2524... Sun Oct 9 17:33:23 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 09 Oct 2011 15:33:23 +0000 Subject: [Gambas-user] Issue 126 in gambas: Is deleting graphical controls irreversible? Message-ID: <0-6813199134517018827-15438163900957316325-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 126 by ronmcina... at ...370...: Is deleting graphical controls irreversible? http://code.google.com/p/gambas/issues/detail?id=126 Version: 2.99.2 1) Describe the problem. If I'm being a donkey here then abject apologies up front... It seems to me that there is no way to undo the deletion of a control using the graphical editor. To take a simple example: 1) Create a new project 2) Open the form in the editor 3) Add a ComboBox 4) Try Ctrl-Z - ComboBox stays put (not really a problem as you can always delete it) 5) Delete the ComboBox 6) Try Ctrl-Z - ComboBox does not reappear and I can't see any mechanism to make it recover. In my simple example it's obviously not a problem but if its a container with lots of sub-controls that you delete by mistake then it's a big deal. Am I just being a donkey here? Thanks for all the good work. From linuxos at ...1896... Sun Oct 9 17:36:12 2011 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 9 Oct 2011 17:36:12 +0200 Subject: [Gambas-user] How to execute CLI programs from Gambas GUI program? In-Reply-To: References: Message-ID: <0F00E684-7633-4C16-BA6D-1F7540E82FE1@...1896...> Hi, Depend on what you want to do. If you want to invoke your command from Gambas, see the SHELL ou EXEC command And if you want to interact with your command after invoked by SHELL or EXEC, you can by adding 'FOR WRITE READ' at the end of the command SHELL or EXEC See on the documentation for an example of how to use it http://gambasdoc.org/help/lang/shell Olivier Cruilles Mail: linuxos at ...1896... Le 9 oct. 2011 ? 17:08, Robert Parker a ?crit : > Hi Guys, > > I am new to Gambas. I have a few CLI programs written in C. I'd like to make > GUI interfaces to them using Gambas. Is this possible? If so how please. > > Thanks Bob > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rlp1938 at ...626... Sun Oct 9 17:44:18 2011 From: rlp1938 at ...626... (Robert Parker) Date: Sun, 9 Oct 2011 22:44:18 +0700 Subject: [Gambas-user] How to execute CLI programs from Gambas GUI program? In-Reply-To: <0F00E684-7633-4C16-BA6D-1F7540E82FE1@...1896...> References: <0F00E684-7633-4C16-BA6D-1F7540E82FE1@...1896...> Message-ID: On Sun, Oct 9, 2011 at 10:36 PM, Olivier Cruilles wrote: > Hi, > > Depend on what you want to do. > > If you want to invoke your command from Gambas, see the SHELL ou EXEC > command > > And if you want to interact with your command after invoked by SHELL or > EXEC, you can > by adding 'FOR WRITE READ' at the end of the command SHELL or EXEC > > See on the documentation for an example of how to use it > > http://gambasdoc.org/help/lang/shell Thanks that looks like just what I need. Bob Parker > > > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 9 oct. 2011 ? 17:08, Robert Parker a ?crit : > > > Hi Guys, > > > > I am new to Gambas. I have a few CLI programs written in C. I'd like to > make > > GUI interfaces to them using Gambas. Is this possible? If so how please. > > > > Thanks Bob > > > ------------------------------------------------------------------------------ > > All of the data generated in your IT infrastructure is seriously > valuable. > > Why? It contains a definitive record of application performance, security > > threats, fraudulent activity, and more. Splunk takes this data and makes > > sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-d2dcopy2 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Broaden your kids education! Send them to Christian Schools so they can include the experience of being raped. From Karl.Reinl at ...2345... Sun Oct 9 17:53:27 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 09 Oct 2011 17:53:27 +0200 Subject: [Gambas-user] ran in problems with gambas2 and rev 4131 In-Reply-To: <201110091705.46409.gambas@...1...> References: <1317032468.6452.5.camel@...40...> <201110091633.24404.gambas@...1...> <1318172171.6439.9.camel@...40...> <201110091705.46409.gambas@...1...> Message-ID: <1318175607.6439.13.camel@...40...> Am Sonntag, den 09.10.2011, 17:05 +0200 schrieb Beno?t Minisini: > > Am Sonntag, den 09.10.2011, 16:33 +0200 schrieb Beno?t Minisini: > > > > > Salut Beno?t, > > > > > > > > > > no, doesn't work for me, same error. > > > > > see attachment > > > > > > > > > > Regards Charlie > > > > > > > > Actually you get the error on another file, so I will suceed in fixing > > > > it... > > > > > > Try with revision #4187 now. > > > > failed > > And revision #4188 ? > Salut Beno?t, you did it, I compiled gambas2 on rev 4188 successful. Thanks Charlie From dag.jarle.johansen at ...626... Sun Oct 9 18:08:01 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Sun, 9 Oct 2011 18:08:01 +0200 Subject: [Gambas-user] A little off topic - internet In-Reply-To: <4E9167CB.2020706@...2382...> References: <4E912059.3030806@...1887...> <4E9167CB.2020706@...2382...> Message-ID: Thanks for the Info, Jesus, I'll keep that in mind. Regards, Dag-Jarle 2011/10/9 Jesus > El 09/10/11 06:17, Kevin Fishburne escribi?: > > On 10/07/2011 03:37 PM, Dag-Jarle Johansen wrote: > >> Hi All, > >> > >> after shuffelling through pages after pages of so called know how, I > still > >> can't get my Wireless adapter to work. Some of you may have got the > >> information - I moved from Argentina (cabled and no problem) to Oslo, > where > >> I can't use a cable.. I really know, this is off topic, and I have a bad > >> feeling about it, but I know you guys are so good, so I take a chance. I > >> have Ubuntu 10.04.03.LTS, and that thing that does not work is a Netgear > >> N300. > >> I have read all I found about ndiswrapper, but is was not suficcient. > >> Please do not hit me beacause of this - issue - I just want to programm > >> again, with Gambas. > > > > If it's not supported in Linux then don't use it; that's my theory. I'd > > get a cheap USB wireless card (or PCIe if it's a desktop) that works > > with the kernel drivers. If it's not in the kernel and doesn't have > > vendor-provided binary drivers then to hell with it. Also send them a > > letter saying that they suck, haha. > > > > > Some time ago I have had a bad experience with this brand and they > wasn't too kind providing me for a solution. > > I've deleted Netgear from my providers list. Period. > > Regards > > -- > Jesus Guardon > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From admin at ...2701... Sun Oct 9 18:42:09 2011 From: admin at ...2701... (J_Mischk3) Date: Sun, 9 Oct 2011 09:42:09 -0700 (PDT) Subject: [Gambas-user] unattach an event ( Data on tableview ) In-Reply-To: <1318074475.6462.2.camel@...40...> References: <32607385.post@...1379...> <201110072231.47663.gambas@...1...> <32613186.post@...1379...> <1318074475.6462.2.camel@...40...> Message-ID: <32619925.post@...1379...> > Salut, > > if TabHandle is your TableView. > > PUBLIC SUB TabHandle_Data(Row AS Integer, Column AS Integer) > TabHandle.CellData(Row, Column) > END > > THX, but one question. At which point the Data Event will be send? Juergen -- View this message in context: http://old.nabble.com/unattach-an-event-%28-Data-on-tableview-%29-tp32607385p32619925.html Sent from the gambas-user mailing list archive at Nabble.com. From girardhenri at ...67... Sun Oct 9 19:22:00 2011 From: girardhenri at ...67... (girard henri) Date: Sun, 9 Oct 2011 19:22:00 +0200 Subject: [Gambas-user] 4182 compile issues In-Reply-To: <1318173604.2142.2.camel@...1833...> References: <1318133608.2097.5.camel@...1833...> <1318173604.2142.2.camel@...1833...> Message-ID: I get the same problem with oneiric today... I can't use gambas3 Henri Le 09/10/2011 17:20, John Spikowski a ?crit : > On Sat, 2011-10-08 at 21:13 -0700, John Spikowski wrote: >> || >> || Unable to compile gb.form >> || Unable to compile gb.form.dialog >> || Unable to compile gb.form.mdi >> || Unable to compile gb.db.form >> || Unable to compile gb.report >> || Unable to compile gb.chart >> || Unable to compile gambas3 >> || >> >> >> Build Commands: >> >> svn update >> sudo rm >> -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 >> sudo rm -rf /usr/local/lib/gambas3 >> sudo rm -rf /usr/local/share/gambas3 >> sudo make clean >> ./reconf-all&& ./configure -C&& make >> sudo make install >> >> Path: . >> URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk >> Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas >> Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5 >> Revision: 4182 >> Node Kind: directory >> Schedule: normal >> Last Changed Author: gambas >> Last Changed Rev: 4182 >> Last Changed Date: 2011-10-08 19:05:07 -0700 (Sat, 08 Oct 2011) >> > Is it safe to try this again or are my compile issue unique? > > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Sun Oct 9 19:28:07 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Sun, 9 Oct 2011 19:28:07 +0200 Subject: [Gambas-user] 4182 compile issues In-Reply-To: References: <1318133608.2097.5.camel@...1833...> <1318173604.2142.2.camel@...1833...> Message-ID: <201110091928.07555.gambas@...1...> > I get the same problem with oneiric today... > I can't use gambas3 > Henri > > Le 09/10/2011 17:20, John Spikowski a ?crit : > > On Sat, 2011-10-08 at 21:13 -0700, John Spikowski wrote: > >> || Unable to compile gb.form > >> || Unable to compile gb.form.dialog > >> || Unable to compile gb.form.mdi > >> || Unable to compile gb.db.form > >> || Unable to compile gb.report > >> || Unable to compile gb.chart > >> || Unable to compile gambas3 > >> If noone provides the full output of the compilation process, I can't guess what is wrong! -- Beno?t Minisini From Karl.Reinl at ...2345... Sun Oct 9 21:09:44 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 09 Oct 2011 21:09:44 +0200 Subject: [Gambas-user] unattach an event ( Data on tableview ) In-Reply-To: <32619925.post@...1379...> References: <32607385.post@...1379...> <201110072231.47663.gambas@...1...> <32613186.post@...1379...> <1318074475.6462.2.camel@...40...> <32619925.post@...1379...> Message-ID: <1318187384.6439.20.camel@...40...> Am Sonntag, den 09.10.2011, 09:42 -0700 schrieb J_Mischk3: > > > > Salut, > > > > if TabHandle is your TableView. > > > > PUBLIC SUB TabHandle_Data(Row AS Integer, Column AS Integer) > > TabHandle.CellData(Row, Column) > > END > > > > > > THX, but one question. At which point the Data Event will be send? > > Juergen Salut J?rgen, I think the best answer is , at the right moment, but I don't remember, I use it since a to long time. What I saw on two TableView's placed each on a TabStrip is, if I change the Tab the xxxxx_Date event was fired. Hope you'v seen also my second mail concerning that. -- Amicalement Charlie From gambas at ...1... Mon Oct 10 01:26:56 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 10 Oct 2011 01:26:56 +0200 Subject: [Gambas-user] Release of Gambas 3 RC5 Message-ID: <201110100126.56273.gambas@...1...> Hi, Here is the release of the fifth release candidate of Gambas 3. Of course there were big bugs since the RC4, and a RC5 is needed. :-/ All the details about this release is on the web site. And if I don't get big bugs again, this RC will become the final release. Otherwise, you will have a RC6! As for the final release, I think we (not necessarilly I) should make some articles on some web sites to announce Gambas 3. If you have some suggestions about what to say and where to say it, you are strongly welcome! Best regards, -- Beno?t Minisini From linux at ...1904... Mon Oct 10 07:54:04 2011 From: linux at ...1904... (Dr. Martin Senftleben) Date: Mon, 10 Oct 2011 07:54:04 +0200 Subject: [Gambas-user] Release of Gambas 3 RC5 In-Reply-To: <201110100126.56273.gambas@...1...> References: <201110100126.56273.gambas@...1...> Message-ID: <4E92887C.5070907@...1904...> Hi, Am 10.10.2011 01:26, schrieb Beno?t Minisini: > Hi, > > If you have some suggestions about what to say and where to say it, you are > strongly welcome! There are some Linux magazines in Germany which might be interested, like "Linux User" or "Linux Magazin". What about Developer Shed? I can make contact with the German magazines, but I am not very well familiar with Gambas, so I couldn't write about it. They might do it on their own. They certainly understand English. regards Martin From demosthenesk at ...626... Mon Oct 10 08:51:22 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 10 Oct 2011 09:51:22 +0300 Subject: [Gambas-user] Release of Gambas 3 RC5 In-Reply-To: <201110100126.56273.gambas@...1...> References: <201110100126.56273.gambas@...1...> Message-ID: <1318229482.5788.7.camel@...2689...> On Mon, 2011-10-10 at 01:26 +0200, Beno?t Minisini wrote: > Hi, > > Here is the release of the fifth release candidate of Gambas 3. > > Of course there were big bugs since the RC4, and a RC5 is needed. :-/ > > All the details about this release is on the web site. > > And if I don't get big bugs again, this RC will become the final release. > Otherwise, you will have a RC6! > > As for the final release, I think we (not necessarilly I) should make some > articles on some web sites to announce Gambas 3. > > If you have some suggestions about what to say and where to say it, you are > strongly welcome! > When the time for final release come you can put some articles in PCLinuxOs magazine http://pclosmag.com/ i also can translate any article you want and publish it in a Greek printable-magazine for linux. (i am an author there :) ) Also i can put some banners in my linux-portal site (it is in Greek) http://www.linux-newsbits.net/ > Best regards, > From lordheavym at ...626... Mon Oct 10 12:58:40 2011 From: lordheavym at ...626... (Laurent Carlier) Date: Mon, 10 Oct 2011 12:58:40 +0200 Subject: [Gambas-user] 4182 compile issues In-Reply-To: <201110091928.07555.gambas@...1...> References: <1318133608.2097.5.camel@...1833...> <201110091928.07555.gambas@...1...> Message-ID: <12564291.xPaciGUTRg@...2592...> Le dimanche 9 octobre 2011 19:28:07, Beno?t Minisini a ?crit : > > I get the same problem with oneiric today... > > I can't use gambas3 > > Henri > > > > Le 09/10/2011 17:20, John Spikowski a ?crit : > > > On Sat, 2011-10-08 at 21:13 -0700, John Spikowski wrote: > > >> || Unable to compile gb.form > > >> || Unable to compile gb.form.dialog > > >> || Unable to compile gb.form.mdi > > >> || Unable to compile gb.db.form > > >> || Unable to compile gb.report > > >> || Unable to compile gb.chart > > >> || Unable to compile gambas3 > > If noone provides the full output of the compilation process, I can't guess > what is wrong! Got similar problem when trying to built rc5 in a clean chroot (but not the svn tree in my computer) build log: http://pkgbuild.com/~lcarlier/gambas3-2.99.5-1-x86_64-build.log install log showing the problem: http://pkgbuild.com/~lcarlier/gambas3- fail.log installing script; package_gambas3-gb-chart() { depends=('gambas3-gb-form') pkgdesc="Gambas3 chart component" ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main make XDG_UTILS='' DESTDIR="${pkgdir}" install cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 make XDG_UTILS='' DESTDIR="${pkgdir}" install ## cd ${srcdir}/${pkgbase}-${pkgver}/comp make DESTDIR="${pkgdir}" install ## Workaround for splitting cd ${srcdir}/${pkgbase}-${pkgver}/main make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall rm -r ${pkgdir}/usr/share/gambas3/control rm -r ${pkgdir}/usr/lib/gambas3/gb.[d-w]* rm -r ${pkgdir}/usr/share/gambas3/info/gb.[d-w]* ## } ++ From gambas at ...2524... Mon Oct 10 13:12:40 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 10 Oct 2011 11:12:40 +0000 Subject: [Gambas-user] Issue 127 in gambas: Gambas 3.0 RC5 compile issues Message-ID: <0-6813199134517018827-10076296154293635607-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 127 by mun... at ...1601...: Gambas 3.0 RC5 compile issues http://code.google.com/p/gambas/issues/detail?id=127 1) Describe the problem. Gambas 3.0 RC5 compile errors. Gambas 3.0 RC4 compiles fine on the same environment. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: Gambas 3.0 RC5 Operating system: Linux Distribution: openSUSE 11.4 Architecture: x86_64 3) Provide a little project that reproduces the bug or the crash. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. || || Unable to compile gb.form || Unable to compile gb.form.dialog || Unable to compile gb.form.mdi || Unable to compile gb.db.form || Unable to compile gb.report || Unable to compile gb.chart || Unable to compile gambas3 || See attached rpm build log. 6) By doing that carefully, you have done 50% of the bug fix job! ciao paolo Attachments: log.out.gz 44.5 KB From gambas at ...1... Mon Oct 10 19:44:40 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 10 Oct 2011 19:44:40 +0200 Subject: [Gambas-user] 4182 compile issues In-Reply-To: <12564291.xPaciGUTRg@...2592...> References: <1318133608.2097.5.camel@...1833...> <201110091928.07555.gambas@...1...> <12564291.xPaciGUTRg@...2592...> Message-ID: <201110101944.40238.gambas@...1...> > Le dimanche 9 octobre 2011 19:28:07, Beno?t Minisini a ?crit : > > > I get the same problem with oneiric today... > > > I can't use gambas3 > > > Henri > > > > > > Le 09/10/2011 17:20, John Spikowski a ?crit : > > > > On Sat, 2011-10-08 at 21:13 -0700, John Spikowski wrote: > > > >> || Unable to compile gb.form > > > >> || Unable to compile gb.form.dialog > > > >> || Unable to compile gb.form.mdi > > > >> || Unable to compile gb.db.form > > > >> || Unable to compile gb.report > > > >> || Unable to compile gb.chart > > > >> || Unable to compile gambas3 > > > > If noone provides the full output of the compilation process, I can't > > guess what is wrong! > > Got similar problem when trying to built rc5 in a clean chroot (but not the > svn tree in my computer) > > build log: http://pkgbuild.com/~lcarlier/gambas3-2.99.5-1-x86_64-build.log > install log showing the problem: http://pkgbuild.com/~lcarlier/gambas3- > fail.log > > installing script; > package_gambas3-gb-chart() { > depends=('gambas3-gb-form') > pkgdesc="Gambas3 chart component" > > ## Workaround for splitting > cd ${srcdir}/${pkgbase}-${pkgver}/main > make XDG_UTILS='' DESTDIR="${pkgdir}" install > cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 > make XDG_UTILS='' DESTDIR="${pkgdir}" install > ## > > cd ${srcdir}/${pkgbase}-${pkgver}/comp > make DESTDIR="${pkgdir}" install > > ## Workaround for splitting > cd ${srcdir}/${pkgbase}-${pkgver}/main > make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall > cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 > make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall > rm -r ${pkgdir}/usr/share/gambas3/control > rm -r ${pkgdir}/usr/lib/gambas3/gb.[d-w]* > rm -r ${pkgdir}/usr/share/gambas3/info/gb.[d-w]* > ## > } > > ++ > If anyone has an idea about why it does not compile anymore on some environments, I will be happy! -- Beno?t Minisini From ea7dfh at ...2382... Mon Oct 10 20:54:58 2011 From: ea7dfh at ...2382... (EA7DFH) Date: Mon, 10 Oct 2011 20:54:58 +0200 Subject: [Gambas-user] 4190 compile issues In-Reply-To: <201110101944.40238.gambas@...1...> References: <1318133608.2097.5.camel@...1833...> <201110091928.07555.gambas@...1...> <12564291.xPaciGUTRg@...2592...> <201110101944.40238.gambas@...1...> Message-ID: <4E933F82.3040205@...2382...> El 10/10/11 19:44, Beno?t Minisini escribi?: > > If anyone has an idea about why it does not compile anymore on some > environments, I will be happy! > Sorry, no idea, but here is my fail log if it helps. Seems quite different from last seen. Revision #4190 in a *fresh* Linux Mint 10 Gnome box. Regards -- Jesus, EA7DFH -------------- next part -------------- A non-text attachment was scrubbed... Name: fail_log_4190.txt.tar.gz Type: application/x-gzip Size: 44344 bytes Desc: not available URL: From gambas at ...1... Mon Oct 10 21:06:14 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 10 Oct 2011 21:06:14 +0200 Subject: [Gambas-user] 4190 compile issues In-Reply-To: <4E933F82.3040205@...2382...> References: <1318133608.2097.5.camel@...1833...> <201110101944.40238.gambas@...1...> <4E933F82.3040205@...2382...> Message-ID: <201110102106.14108.gambas@...1...> > El 10/10/11 19:44, Beno?t Minisini escribi?: > > If anyone has an idea about why it does not compile anymore on some > > environments, I will be happy! > > Sorry, no idea, but here is my fail log if it helps. Seems quite > different from last seen. > > Revision #4190 in a *fresh* Linux Mint 10 Gnome box. > > Regards OK, I think I get it. It's all my fault. I'm currently uploading an updated source package to sourceforge. Please wait ten minutes before downloading it and compiling it. Regards, -- Beno?t Minisini From lordheavym at ...626... Mon Oct 10 21:08:33 2011 From: lordheavym at ...626... (Laurent Carlier) Date: Mon, 10 Oct 2011 21:08:33 +0200 Subject: [Gambas-user] 4182 compile issues In-Reply-To: <201110101944.40238.gambas@...1...> References: <1318133608.2097.5.camel@...1833...> <12564291.xPaciGUTRg@...2592...> <201110101944.40238.gambas@...1...> Message-ID: <4000520.b80a34kbIN@...2592...> Le lundi 10 octobre 2011 19:44:40, Beno?t Minisini a ?crit : > > Le dimanche 9 octobre 2011 19:28:07, Beno?t Minisini a ?crit : > > > > I get the same problem with oneiric today... > > > > I can't use gambas3 > > > > Henri > > > > > > > > Le 09/10/2011 17:20, John Spikowski a ?crit : > > > > > On Sat, 2011-10-08 at 21:13 -0700, John Spikowski wrote: > > > > >> || Unable to compile gb.form > > > > >> || Unable to compile gb.form.dialog > > > > >> || Unable to compile gb.form.mdi > > > > >> || Unable to compile gb.db.form > > > > >> || Unable to compile gb.report > > > > >> || Unable to compile gb.chart > > > > >> || Unable to compile gambas3 > > > > > > If noone provides the full output of the compilation process, I > > > can't > > > guess what is wrong! > > > > Got similar problem when trying to built rc5 in a clean chroot (but not > > the svn tree in my computer) > > > > build log: > > http://pkgbuild.com/~lcarlier/gambas3-2.99.5-1-x86_64-build.log install > > log showing the problem: http://pkgbuild.com/~lcarlier/gambas3- > > fail.log > > > > installing script; > > package_gambas3-gb-chart() { > > > > depends=('gambas3-gb-form') > > pkgdesc="Gambas3 chart component" > > > > ## Workaround for splitting > > cd ${srcdir}/${pkgbase}-${pkgver}/main > > make XDG_UTILS='' DESTDIR="${pkgdir}" install > > cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 > > make XDG_UTILS='' DESTDIR="${pkgdir}" install > > ## > > > > cd ${srcdir}/${pkgbase}-${pkgver}/comp > > make DESTDIR="${pkgdir}" install > > > > ## Workaround for splitting > > cd ${srcdir}/${pkgbase}-${pkgver}/main > > make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall > > cd ${srcdir}/${pkgbase}-${pkgver}/gb.qt4 > > make XDG_UTILS='' DESTDIR="${pkgdir}" uninstall > > rm -r ${pkgdir}/usr/share/gambas3/control > > rm -r ${pkgdir}/usr/lib/gambas3/gb.[d-w]* > > rm -r ${pkgdir}/usr/share/gambas3/info/gb.[d-w]* > > ## > > > > } > > > > ++ > > If anyone has an idea about why it does not compile anymore on some > environments, I will be happy There is a Component=gb.form.dialog line in the project file of the gb.form component. ++ From gambas at ...1... Mon Oct 10 21:10:24 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 10 Oct 2011 21:10:24 +0200 Subject: [Gambas-user] 4182 compile issues In-Reply-To: <4000520.b80a34kbIN@...2592...> References: <1318133608.2097.5.camel@...1833...> <201110101944.40238.gambas@...1...> <4000520.b80a34kbIN@...2592...> Message-ID: <201110102110.24955.gambas@...1...> > > > > If anyone has an idea about why it does not compile anymore on some > > environments, I will be happy > > There is a Component=gb.form.dialog > line in the project file of the gb.form component. > > ++ > Yep, I saw it. I have just uploaded a fixed source package to sourceforge. -- Beno?t Minisini From ea7dfh at ...2382... Mon Oct 10 21:27:56 2011 From: ea7dfh at ...2382... (Jesus) Date: Mon, 10 Oct 2011 21:27:56 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[4191] In-Reply-To: References: Message-ID: <4E93473C.305@...2382...> El 10/10/11 21:03, gambas at ...1... escribi?: > Revision: 4191 > http://gambas.svn.sourceforge.net/gambas/?rev=4191&view=rev > Author: gambas > Date: 2011-10-10 19:03:05 +0000 (Mon, 10 Oct 2011) > Log Message: > ----------- > [GB.FORM] > * BUG: Fix compilation of gb.form. Still nada gbc: error: Component not found: gb.form make[2]: No se hace nada para ?install-data-am?. make[2]: se sale del directorio ?/home/jesus/trunk/examples? make[1]: se sale del directorio ?/home/jesus/trunk/examples? Making install in . make[1]: se ingresa al directorio ?/home/jesus/trunk? make[2]: se ingresa al directorio ?/home/jesus/trunk? || || Unable to compile gb.form || Unable to compile gb.form.dialog || Unable to compile gb.form.mdi || Unable to compile gb.db.form || Unable to compile gb.report || Unable to compile gb.chart || Unable to compile gambas3 || Regards -- Jesus Guardon From jussi.lahtinen at ...626... Mon Oct 10 21:32:30 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 10 Oct 2011 22:32:30 +0300 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[4191] In-Reply-To: <4E93473C.305@...2382...> References: <4E93473C.305@...2382...> Message-ID: Compilation logs are missing! Jussi On Mon, Oct 10, 2011 at 22:27, Jesus wrote: > El 10/10/11 21:03, gambas at ...1... escribi?: > > Revision: 4191 > > http://gambas.svn.sourceforge.net/gambas/?rev=4191&view=rev > > Author: gambas > > Date: 2011-10-10 19:03:05 +0000 (Mon, 10 Oct 2011) > > Log Message: > > ----------- > > [GB.FORM] > > * BUG: Fix compilation of gb.form. > > Still nada > > > gbc: error: Component not found: gb.form > make[2]: No se hace nada para ?install-data-am?. > make[2]: se sale del directorio ?/home/jesus/trunk/examples? > make[1]: se sale del directorio ?/home/jesus/trunk/examples? > Making install in . > make[1]: se ingresa al directorio ?/home/jesus/trunk? > make[2]: se ingresa al directorio ?/home/jesus/trunk? > > || > || Unable to compile gb.form > || Unable to compile gb.form.dialog > || Unable to compile gb.form.mdi > || Unable to compile gb.db.form > || Unable to compile gb.report > || Unable to compile gb.chart > || Unable to compile gambas3 > || > > > Regards > > -- > Jesus Guardon > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Oct 10 21:33:00 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 10 Oct 2011 21:33:00 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[4191] In-Reply-To: <4E93473C.305@...2382...> References: <4E93473C.305@...2382...> Message-ID: <201110102133.00198.gambas@...1...> > El 10/10/11 21:03, gambas at ...1... escribi?: > > Revision: 4191 > > > > http://gambas.svn.sourceforge.net/gambas/?rev=4191&view=rev > > > > Author: gambas > > Date: 2011-10-10 19:03:05 +0000 (Mon, 10 Oct 2011) > > Log Message: > > ----------- > > [GB.FORM] > > * BUG: Fix compilation of gb.form. > > Still nada > > > gbc: error: Component not found: gb.form > make[2]: No se hace nada para ?install-data-am?. > make[2]: se sale del directorio ?/home/jesus/trunk/examples? > make[1]: se sale del directorio ?/home/jesus/trunk/examples? > Making install in . > make[1]: se ingresa al directorio ?/home/jesus/trunk? > make[2]: se ingresa al directorio ?/home/jesus/trunk? > > || Unable to compile gb.form > || Unable to compile gb.form.dialog > || Unable to compile gb.form.mdi > || Unable to compile gb.db.form > || Unable to compile gb.report > || Unable to compile gb.chart > || Unable to compile gambas3 > > Regards Did you download the source package from sourceforge? -- Beno?t Minisini From ea7dfh at ...2382... Mon Oct 10 21:41:44 2011 From: ea7dfh at ...2382... (Jesus) Date: Mon, 10 Oct 2011 21:41:44 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[4191] In-Reply-To: <201110102133.00198.gambas@...1...> References: <4E93473C.305@...2382...> <201110102133.00198.gambas@...1...> Message-ID: <4E934A78.3040100@...2382...> El 10/10/11 21:33, Beno?t Minisini escribi?: >> El 10/10/11 21:03, gambas at ...1... escribi?: >>> Revision: 4191 >>> >>> http://gambas.svn.sourceforge.net/gambas/?rev=4191&view=rev >>> >>> Author: gambas >>> Date: 2011-10-10 19:03:05 +0000 (Mon, 10 Oct 2011) >>> Log Message: >>> ----------- >>> [GB.FORM] >>> * BUG: Fix compilation of gb.form. >> >> Still nada >> >> >> gbc: error: Component not found: gb.form >> make[2]: No se hace nada para ?install-data-am?. >> make[2]: se sale del directorio ?/home/jesus/trunk/examples? >> make[1]: se sale del directorio ?/home/jesus/trunk/examples? >> Making install in . >> make[1]: se ingresa al directorio ?/home/jesus/trunk? >> make[2]: se ingresa al directorio ?/home/jesus/trunk? >> >> || Unable to compile gb.form >> || Unable to compile gb.form.dialog >> || Unable to compile gb.form.mdi >> || Unable to compile gb.db.form >> || Unable to compile gb.report >> || Unable to compile gb.chart >> || Unable to compile gambas3 >> >> Regards > > Did you download the source package from sourceforge? > No, I did svn co, sorry. @Jussi, logs are missing because it was exactly the same as before. (user EA7DFH at 20:54h). I only want to state that revision #4191 doesn't compile. I will download the source package and I'll try to compile it. Regards -- Jesus Guardon From gambas at ...1... Mon Oct 10 21:47:43 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Mon, 10 Oct 2011 21:47:43 +0200 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[4191] In-Reply-To: <4E934A78.3040100@...2382...> References: <201110102133.00198.gambas@...1...> <4E934A78.3040100@...2382...> Message-ID: <201110102147.43128.gambas@...1...> > > > > Did you download the source package from sourceforge? > > No, I did svn co, sorry. @Jussi, logs are missing because it was exactly > the same as before. (user EA7DFH at 20:54h). > I only want to state that revision #4191 doesn't compile. > > I will download the source package and I'll try to compile it. > > Regards I have just updated the svn repository too, so you can try again from it now. Regards, -- Beno?t Minisini From ea7dfh at ...2382... Mon Oct 10 22:09:58 2011 From: ea7dfh at ...2382... (Jesus) Date: Mon, 10 Oct 2011 22:09:58 +0200 Subject: [Gambas-user] SVN: gambas:[4192] In-Reply-To: <201110102147.43128.gambas@...1...> References: <201110102133.00198.gambas@...1...> <4E934A78.3040100@...2382...> <201110102147.43128.gambas@...1...> Message-ID: <4E935116.6070500@...2382...> El 10/10/11 21:47, Beno?t Minisini escribi?: >>> >>> Did you download the source package from sourceforge? >> >> No, I did svn co, sorry. @Jussi, logs are missing because it was exactly >> the same as before. (user EA7DFH at 20:54h). >> I only want to state that revision #4191 doesn't compile. >> >> I will download the source package and I'll try to compile it. >> >> Regards > > I have just updated the svn repository too, so you can try again from it now. > > Regards, > Well, you did it. Both methods worked again (src package and svn 4192). Many thanks, Beno?t. -- Jesus Guardon From support at ...2529... Mon Oct 10 22:27:29 2011 From: support at ...2529... (John Spikowski) Date: Mon, 10 Oct 2011 13:27:29 -0700 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[4191] In-Reply-To: <201110102147.43128.gambas@...1...> References: <201110102133.00198.gambas@...1...> <4E934A78.3040100@...2382...> <201110102147.43128.gambas@...1...> Message-ID: <1318278449.2010.1.camel@...1833...> On Mon, 2011-10-10 at 21:47 +0200, Beno?t Minisini wrote: > I have just updated the svn repository too, so you can try again from it now. > > Regards, > Compiled fine on my Ubuntu 64 11.04. (as it has in the past) Thanks! John From gambas at ...2524... Tue Oct 11 00:29:26 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 10 Oct 2011 22:29:26 +0000 Subject: [Gambas-user] Issue 127 in gambas: Gambas 3.0 RC5 compile issues In-Reply-To: <0-6813199134517018827-10076296154293635607-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10076296154293635607-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10076296154293635607-gambas=googlecode.com@...2524...> Comment #1 on issue 127 by mun... at ...1601...: Gambas 3.0 RC5 compile issues http://code.google.com/p/gambas/issues/detail?id=127 Issue can be closed, compiled fine now with new package (http://sourceforge.net/mailarchive/message.php?msg_id=28209404) openSUSE binaries can be found here: http://software.opensuse.org/download.html?project=home:munix9&package=gambas3 From bbruen at ...2308... Tue Oct 11 01:41:18 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 11 Oct 2011 10:11:18 +1030 Subject: [Gambas-user] gb3 database error handling In-Reply-To: <201110102147.43128.gambas@...1...> References: <201110102133.00198.gambas@...1...> <4E934A78.3040100@...2382...> <201110102147.43128.gambas@...1...> Message-ID: <1318290078.12691.28.camel@...2688...> Hi Beno?t, I don't raise these as bugs because they are only annoyances and don't (specifically) stop things from working. I have this code (which works fine when things are fine) but has a few quirks when a database error occurs. I made a simple test that just calls this and tries to add the same record to the database twice. Public Function AddDB() As Boolean Dim rwcursor As Result DBMod.Conn.Begin ' DBMod.Conn is just the current open database connection rwcursor = DBMod.Conn.Create($tname) Marshall(rwcursor, $colmap) ' This just moves the current values into the cursor Try rwcursor.Update If Error Then Debug db.Error, Error.code, Error.Text, IsNull(Error.Backtrace) Print Subst("&1\n[phDB9_gb3: Base persistor database error (&2)] &3\n&4\n&1\n\n", String$(60, "="), Error.Code, Error.Text, Error.Where) DBMod.Conn.Rollback Return False Endif DBMod.Conn.Commit Return True Catch Print Subst("&1\n[phDB9_gb3: Base persistor general error trap (&2)] &3\n&4", String$(60, "="), Error.Code, Error.Text, Error.Backtrace.Join("\n")) End As I said, when the insert works all is fine, but on the duplicate key insert, I get the following output from the two trace lines in the "If Error" block Persistor.AddDB.404: 0 -1 Cannot create record: Duplicate entry '' for key 'PRIMARY' True ============================================================ [phDB9_gb3: Base persistor database error (-1)] Cannot create record: Duplicate entry '' for key 'PRIMARY' Persistor.AddDB.402 ============================================================ In the first line we see that db.Error=0 instead of the driver error code, I would have expected 1022 (mysql error: "Error: 1022 SQLSTATE: 23000 (ER_DUP_KEY) Message: Can't write; duplicate key in table '%s'). Secondly, and this is more of an issue, the Error.Backtrace is null (as evidenced by "True" at the end of the line). So I can't get a full backtrace to the caller that is trying the duplicate insert. Thirdly, the gambas error code is -1? I thought that code was for errors raised within the project i.e. Error.Raise(Message) I have used that code (-1) to discern local vs system errors previously, is this no longer safe? Finally, the error message itself seems to be not populated properly, "Duplicate entry '' for key.." In my test case the key is multicolumn, so this may be the reason. However, "Cannot create record: Duplicate key for '' on table ''" would (IMO) be a better message. regards Bruce From gambas at ...1... Tue Oct 11 01:58:03 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Tue, 11 Oct 2011 01:58:03 +0200 Subject: [Gambas-user] gb3 database error handling In-Reply-To: <1318290078.12691.28.camel@...2688...> References: <201110102147.43128.gambas@...1...> <1318290078.12691.28.camel@...2688...> Message-ID: <201110110158.03696.gambas@...1...> > Hi Beno?t, > > I don't raise these as bugs because they are only annoyances and don't > (specifically) stop things from working. > > I have this code (which works fine when things are fine) but has a few > quirks when a database error occurs. I made a simple test that just > calls this and tries to add the same record to the database twice. > > > Public Function AddDB() As Boolean > > Dim rwcursor As Result > > DBMod.Conn.Begin ' DBMod.Conn is just the current open database > connection rwcursor = DBMod.Conn.Create($tname) > Marshall(rwcursor, $colmap) ' This just moves the current values into > the cursor Try rwcursor.Update > If Error Then > Debug db.Error, Error.code, Error.Text, IsNull(Error.Backtrace) > Print Subst("&1\n[phDB9_gb3: Base persistor database error (&2)] > &3\n&4\n&1\n\n", String$(60, "="), Error.Code, Error.Text, Error.Where) > DBMod.Conn.Rollback > Return False > Endif > > DBMod.Conn.Commit > Return True > > Catch > Print Subst("&1\n[phDB9_gb3: Base persistor general error trap (&2)] > &3\n&4", String$(60, "="), Error.Code, Error.Text, > Error.Backtrace.Join("\n")) > > End > > As I said, when the insert works all is fine, but on the duplicate key > insert, I get the following output from the two trace lines in the "If > Error" block > > > Persistor.AddDB.404: 0 -1 Cannot create record: Duplicate entry '' > for key 'PRIMARY' True > ============================================================ > [phDB9_gb3: Base persistor database error (-1)] Cannot create record: > Duplicate entry '' for key 'PRIMARY' Persistor.AddDB.402 > ============================================================ > > > In the first line we see that db.Error=0 instead of the driver error > code, I would have expected 1022 (mysql error: "Error: 1022 SQLSTATE: > 23000 (ER_DUP_KEY) Message: Can't write; duplicate key in table '%s'). I don't know why. The gb.db.mysql driver set the connection error code just after the query has been run by using a specific API of the mysql library. > > Secondly, and this is more of an issue, the Error.Backtrace is null (as > evidenced by "True" at the end of the line). So I can't get a full > backtrace to the caller that is trying the duplicate insert. You have no Error.Backtrace because you are not inside an error handler, but inside normal code. Use System.Backtrace instead. > > Thirdly, the gambas error code is -1? I thought that code was for > errors raised within the project i.e. Error.Raise(Message) I have used > that code (-1) to discern local vs system errors previously, is this no > longer safe? Gambas has always used "-1" error code for error raised by components and for Error.Raise() method. > > Finally, the error message itself seems to be not populated properly, > "Duplicate entry '' for key.." In my test case the key is multicolumn, > so this may be the reason. However, "Cannot create record: Duplicate > key for '' on table '
'" would (IMO) be a > better message. This message comes from mysql. So I guess I can't fix it. Regards, -- Beno?t Minisini From bbruen at ...2308... Tue Oct 11 02:12:37 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 11 Oct 2011 10:42:37 +1030 Subject: [Gambas-user] gb3 database error handling In-Reply-To: <201110110158.03696.gambas@...1...> References: <201110102147.43128.gambas@...1...> <1318290078.12691.28.camel@...2688...> <201110110158.03696.gambas@...1...> Message-ID: <1318291957.12691.29.camel@...2688...> On Tue, 2011-10-11 at 01:58 +0200, Beno?t Minisini wrote: > You have no Error.Backtrace because you are not inside an error > handler, but > inside normal code. Use System.Backtrace instead. Aha! Me=Duuuuuuummmmmb! Thanks Bruce From bbruen at ...2308... Tue Oct 11 02:47:12 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 11 Oct 2011 11:17:12 +1030 Subject: [Gambas-user] gb3 database error handling In-Reply-To: <201110110158.03696.gambas@...1...> References: <201110102147.43128.gambas@...1...> <1318290078.12691.28.camel@...2688...> <201110110158.03696.gambas@...1...> Message-ID: <1318294032.12691.35.camel@...2688...> On Tue, 2011-10-11 at 01:58 +0200, Beno?t Minisini wrote: > > In the first line we see that db.Error=0 instead of the driver error > > code, I would have expected 1022 (mysql error: "Error: 1022 SQLSTATE: > > 23000 (ER_DUP_KEY) Message: Can't write; duplicate key in table '%s'). > > I don't know why. The gb.db.mysql driver set the connection error code just > after the query has been run by using a specific API of the mysql library. > Hmm. Yes, I've retried using postgresql and the dbms error code is correctly returned. > > Secondly, .. :"-) > > Thirdly, the gambas error code is -1? I thought that code was for > > errors raised within the project i.e. Error.Raise(Message) I have used > > that code (-1) to discern local vs system errors previously, is this no > > longer safe? > > Gambas has always used "-1" error code for error raised by components and for > Error.Raise() method. OK, never noticed that before. Will have to adjust my practices. > > > > Finally, the error message itself seems to be not populated properly, > > "Duplicate entry '' for key.." In my test case the key is multicolumn, > > so this may be the reason. However, "Cannot create record: Duplicate > > key for '' on table '
'" would (IMO) be a > > better message. > > This message comes from mysql. So I guess I can't fix it. OK. (Just another reason for me to dislike the world's most popular Open Source bug-ridden rdbms) regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: face-embarrassed.png Type: image/png Size: 1067 bytes Desc: not available URL: From kevinfishburne at ...1887... Tue Oct 11 03:26:11 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 10 Oct 2011 21:26:11 -0400 Subject: [Gambas-user] Release of Gambas 3 RC5 In-Reply-To: <201110100126.56273.gambas@...1...> References: <201110100126.56273.gambas@...1...> Message-ID: <4E939B33.2080801@...1887...> On 10/09/2011 07:26 PM, Beno?t Minisini wrote: > Hi, > > Here is the release of the fifth release candidate of Gambas 3. > > Of course there were big bugs since the RC4, and a RC5 is needed. :-/ > > All the details about this release is on the web site. > > And if I don't get big bugs again, this RC will become the final release. > Otherwise, you will have a RC6! > > As for the final release, I think we (not necessarilly I) should make some > articles on some web sites to announce Gambas 3. > > If you have some suggestions about what to say and where to say it, you are > strongly welcome! > > Best regards, > Submit the announcement to Slashdot and maybe gamedev.net (since it has much better SDL and OpenGL support now). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Tue Oct 11 03:27:57 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 10 Oct 2011 21:27:57 -0400 Subject: [Gambas-user] A little off topic - internet In-Reply-To: References: <4E912059.3030806@...1887...> Message-ID: <4E939B9D.3000500@...1887...> On 10/09/2011 07:38 AM, Dag-Jarle Johansen wrote: > Thank you Kevin, > > it's frustrating right now. Have to swith to Win to get the Informatisons > and then back Ubuntu to try it out. > What Card do you have? My lspci output shows: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) It works slowly on the 2.6 kernel but extremely quickly on the 3.x kernel. It's an integrated chipset on a GIGABYTE motherboard (desktop). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From girardhenri at ...67... Tue Oct 11 07:27:50 2011 From: girardhenri at ...67... (girard henri) Date: Tue, 11 Oct 2011 07:27:50 +0200 Subject: [Gambas-user] 4182 compile issues In-Reply-To: <4E930F63.50302@...67...> References: <1318133608.2097.5.camel@...1833...> <1318173604.2142.2.camel@...1833...> <4E91D838.3070809@...67...> <4E930F63.50302@...67...> Message-ID: Working here too last svn 4192 on oneiric :) Thanks From demosthenesk at ...626... Wed Oct 12 11:31:02 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Wed, 12 Oct 2011 12:31:02 +0300 Subject: [Gambas-user] libstdc++.so.6 error Message-ID: <1318411862.14490.3.camel@...2689...> Message, Project141: symbol lookup error: /usr/lib/x86_64-linux-gnu/libstdc ++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version GLIBCXX_3.4.15 Steps to reproduce. 1) open project 2) run project 3) close running window 4) get the message Also i get "The program return value 127" I use Linux Mint Debian Edition x64 and gambas3 svn4192 Attached project. -------------- next part -------------- A non-text attachment was scrubbed... Name: Project141.tar.gz Type: application/x-compressed-tar Size: 6912 bytes Desc: not available URL: From jussi.lahtinen at ...626... Wed Oct 12 17:14:32 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 18:14:32 +0300 Subject: [Gambas-user] Collection key Message-ID: Documentation doesn't mention limit of key length! http://gambasdoc.org/help/comp/gb/collection?view Maybe there should be error or warning if key length is over 8 characters..? Jussi From tobiasboe1 at ...20... Wed Oct 12 17:56:17 2011 From: tobiasboe1 at ...20... (tobias) Date: Wed, 12 Oct 2011 17:56:17 +0200 Subject: [Gambas-user] Collection key In-Reply-To: References: Message-ID: <4E95B8A1.4080004@...20...> On 12.10.2011 17:14, Jussi Lahtinen wrote: > Documentation doesn't mention limit of key length! > http://gambasdoc.org/help/comp/gb/collection?view > > Maybe there should be error or warning if key length is over 8 characters..? wow, there really is a keylength and that small? i wonder if i really never exceeded it accidently... From jussi.lahtinen at ...626... Wed Oct 12 18:43:32 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 19:43:32 +0300 Subject: [Gambas-user] Collection key In-Reply-To: <4E95B8A1.4080004@...20...> References: <4E95B8A1.4080004@...20...> Message-ID: My first thought too... and I wonder why there is limit anyway..? I have understand that collection works with hash values, and at least there are no practical limitations with MD5 hash function. Jussi On Wed, Oct 12, 2011 at 18:56, tobias wrote: > On 12.10.2011 17:14, Jussi Lahtinen wrote: > > Documentation doesn't mention limit of key length! > > http://gambasdoc.org/help/comp/gb/collection?view > > > > Maybe there should be error or warning if key length is over 8 > characters..? > > wow, there really is a keylength and that small? > i wonder if i really never exceeded it accidently... > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From support at ...2529... Wed Oct 12 19:05:30 2011 From: support at ...2529... (John Spikowski) Date: Wed, 12 Oct 2011 10:05:30 -0700 Subject: [Gambas-user] Collection key In-Reply-To: References: <4E95B8A1.4080004@...20...> Message-ID: <1318439130.2109.32.camel@...1833...> On Wed, 2011-10-12 at 19:43 +0300, Jussi Lahtinen wrote: > My first thought too... and I wonder why there is limit anyway..? > I have understand that collection works with hash values, and at least there > are no practical limitations with MD5 hash function. > > Jussi For grins, I thought I would test the hash key length in ScriptBasic to see if this was a common problem. I don't think there is a practical limit to the key size in ScriptBasic. IMPORT hash.bas h = hash::New() hash::SetValue(h,"A1234567890",1) hash::SetValue(h,"B12345678901234567890",2) hash::SetValue(h,"C123456789012345678901234567890",3) hash::Start(h) FOR x = 1 to 3 PRINT hash::ThisKey(h), " - " PRINT hash::ThisValue(h),"\n" hash::Next(h) NEXT jrs at ...1833...:~/sb/test$ scriba testhash.sb A1234567890 - 1 B12345678901234567890 - 2 C123456789012345678901234567890 - 3 jrs at ...1833...:~/sb/test$ From tobiasboe1 at ...20... Wed Oct 12 19:16:52 2011 From: tobiasboe1 at ...20... (tobias) Date: Wed, 12 Oct 2011 19:16:52 +0200 Subject: [Gambas-user] Collection key In-Reply-To: <1318439130.2109.32.camel@...1833...> References: <4E95B8A1.4080004@...20...> <1318439130.2109.32.camel@...1833...> Message-ID: <4E95CB84.5000306@...20...> On 12.10.2011 19:05, John Spikowski wrote: > On Wed, 2011-10-12 at 19:43 +0300, Jussi Lahtinen wrote: >> My first thought too... and I wonder why there is limit anyway..? >> I have understand that collection works with hash values, and at least there >> are no practical limitations with MD5 hash function. >> >> Jussi > For grins, I thought I would test the hash key length in ScriptBasic to > see if this was a common problem. I don't think there is a practical > limit to the key size in ScriptBasic. > > IMPORT hash.bas > > h = hash::New() > hash::SetValue(h,"A1234567890",1) > hash::SetValue(h,"B12345678901234567890",2) > hash::SetValue(h,"C123456789012345678901234567890",3) > hash::Start(h) > > FOR x = 1 to 3 > PRINT hash::ThisKey(h), " - " > PRINT hash::ThisValue(h),"\n" > hash::Next(h) > NEXT > > jrs at ...1833...:~/sb/test$ scriba testhash.sb > A1234567890 - 1 > B12345678901234567890 - 2 > C123456789012345678901234567890 - 3 > jrs at ...1833...:~/sb/test$ i tested the limitation, too, in gb3 but it ran o.k. how may the exceeding of the key length influence the program integrity? From jussi.lahtinen at ...626... Wed Oct 12 20:31:55 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 21:31:55 +0300 Subject: [Gambas-user] Collection key In-Reply-To: <4E95CB84.5000306@...20...> References: <4E95B8A1.4080004@...20...> <1318439130.2109.32.camel@...1833...> <4E95CB84.5000306@...20...> Message-ID: You did it wrong. Gambas would interpret your keys this way: "A1234567" "B1234567" "C1234567" Use reversed order, that way following keys are all same: "12345678A" "12345678B" "12345678C" ---> "12345678" Jussi On Wed, Oct 12, 2011 at 20:16, tobias wrote: > On 12.10.2011 19:05, John Spikowski wrote: > > On Wed, 2011-10-12 at 19:43 +0300, Jussi Lahtinen wrote: > >> My first thought too... and I wonder why there is limit anyway..? > >> I have understand that collection works with hash values, and at least > there > >> are no practical limitations with MD5 hash function. > >> > >> Jussi > > For grins, I thought I would test the hash key length in ScriptBasic to > > see if this was a common problem. I don't think there is a practical > > limit to the key size in ScriptBasic. > > > > IMPORT hash.bas > > > > h = hash::New() > > hash::SetValue(h,"A1234567890",1) > > hash::SetValue(h,"B12345678901234567890",2) > > hash::SetValue(h,"C123456789012345678901234567890",3) > > hash::Start(h) > > > > FOR x = 1 to 3 > > PRINT hash::ThisKey(h), " - " > > PRINT hash::ThisValue(h),"\n" > > hash::Next(h) > > NEXT > > > > jrs at ...1833...:~/sb/test$ scriba testhash.sb > > A1234567890 - 1 > > B12345678901234567890 - 2 > > C123456789012345678901234567890 - 3 > > jrs at ...1833...:~/sb/test$ > > i tested the limitation, too, in gb3 but it ran o.k. > how may the exceeding of the key length influence the program integrity? > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From support at ...2529... Wed Oct 12 20:45:12 2011 From: support at ...2529... (John Spikowski) Date: Wed, 12 Oct 2011 11:45:12 -0700 Subject: [Gambas-user] Collection key In-Reply-To: References: <4E95B8A1.4080004@...20...> <1318439130.2109.32.camel@...1833...> <4E95CB84.5000306@...20...> Message-ID: <1318445112.2109.34.camel@...1833...> On Wed, 2011-10-12 at 21:31 +0300, Jussi Lahtinen wrote: > You did it wrong. > Gambas would interpret your keys this way: > "A1234567" > "B1234567" > "C1234567" > > Use reversed order, that way following keys are all same: > "12345678A" > "12345678B" > "12345678C" > > ---> "12345678" > > Jussi It doesn't seem to matter to SB. IMPORT hash.bas h = hash::New() hash::SetValue(h,"1234567890A",1) hash::SetValue(h,"12345678901234567890B",2) hash::SetValue(h,"123456789012345678901234567890C",3) hash::Start(h) FOR x = 1 to 3 PRINT hash::ThisKey(h), " - " PRINT hash::ThisValue(h),"\n" hash::Next(h) NEXT x hash::Release(h) jrs at ...1833...:~/sb/test$ scriba testhash.sb 1234567890A - 1 12345678901234567890B - 2 123456789012345678901234567890C - 3 jrs at ...1833...:~/sb/test$ From jussi.lahtinen at ...626... Wed Oct 12 20:46:15 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 21:46:15 +0300 Subject: [Gambas-user] Collection key In-Reply-To: References: <4E95B8A1.4080004@...20...> <1318439130.2109.32.camel@...1833...> <4E95CB84.5000306@...20...> Message-ID: Look at gb_hash_temp.h, seems to be that limitation comes from uint. That may be hard to go around without performance penalty. Jussi On Wed, Oct 12, 2011 at 21:31, Jussi Lahtinen wrote: > You did it wrong. > Gambas would interpret your keys this way: > "A1234567" > "B1234567" > "C1234567" > > Use reversed order, that way following keys are all same: > "12345678A" > "12345678B" > "12345678C" > > ---> "12345678" > > Jussi > > > > > > > On Wed, Oct 12, 2011 at 20:16, tobias wrote: > >> On 12.10.2011 19:05, John Spikowski wrote: >> > On Wed, 2011-10-12 at 19:43 +0300, Jussi Lahtinen wrote: >> >> My first thought too... and I wonder why there is limit anyway..? >> >> I have understand that collection works with hash values, and at least >> there >> >> are no practical limitations with MD5 hash function. >> >> >> >> Jussi >> > For grins, I thought I would test the hash key length in ScriptBasic to >> > see if this was a common problem. I don't think there is a practical >> > limit to the key size in ScriptBasic. >> > >> > IMPORT hash.bas >> > >> > h = hash::New() >> > hash::SetValue(h,"A1234567890",1) >> > hash::SetValue(h,"B12345678901234567890",2) >> > hash::SetValue(h,"C123456789012345678901234567890",3) >> > hash::Start(h) >> > >> > FOR x = 1 to 3 >> > PRINT hash::ThisKey(h), " - " >> > PRINT hash::ThisValue(h),"\n" >> > hash::Next(h) >> > NEXT >> > >> > jrs at ...1833...:~/sb/test$ scriba testhash.sb >> > A1234567890 - 1 >> > B12345678901234567890 - 2 >> > C123456789012345678901234567890 - 3 >> > jrs at ...1833...:~/sb/test$ >> >> i tested the limitation, too, in gb3 but it ran o.k. >> how may the exceeding of the key length influence the program integrity? >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2d-oct >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From jussi.lahtinen at ...626... Wed Oct 12 20:47:13 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 21:47:13 +0300 Subject: [Gambas-user] Collection key In-Reply-To: <1318445112.2109.34.camel@...1833...> References: <4E95B8A1.4080004@...20...> <1318439130.2109.32.camel@...1833...> <4E95CB84.5000306@...20...> <1318445112.2109.34.camel@...1833...> Message-ID: Collections are probably much slower with ScriptBasic. Jussi On Wed, Oct 12, 2011 at 21:45, John Spikowski wrote: > On Wed, 2011-10-12 at 21:31 +0300, Jussi Lahtinen wrote: > > You did it wrong. > > Gambas would interpret your keys this way: > > "A1234567" > > "B1234567" > > "C1234567" > > > > Use reversed order, that way following keys are all same: > > "12345678A" > > "12345678B" > > "12345678C" > > > > ---> "12345678" > > > > Jussi > > It doesn't seem to matter to SB. > > IMPORT hash.bas > > h = hash::New() > hash::SetValue(h,"1234567890A",1) > hash::SetValue(h,"12345678901234567890B",2) > hash::SetValue(h,"123456789012345678901234567890C",3) > hash::Start(h) > > FOR x = 1 to 3 > PRINT hash::ThisKey(h), " - " > PRINT hash::ThisValue(h),"\n" > hash::Next(h) > NEXT x > > hash::Release(h) > > jrs at ...1833...:~/sb/test$ scriba testhash.sb > 1234567890A - 1 > 12345678901234567890B - 2 > 123456789012345678901234567890C - 3 > jrs at ...1833...:~/sb/test$ > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed Oct 12 20:48:44 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 21:48:44 +0300 Subject: [Gambas-user] Collection key In-Reply-To: References: <4E95B8A1.4080004@...20...> <1318439130.2109.32.camel@...1833...> <4E95CB84.5000306@...20...> Message-ID: ulong? Where are the words of wisdom from Benoit? Jussi On Wed, Oct 12, 2011 at 21:46, Jussi Lahtinen wrote: > Look at gb_hash_temp.h, seems to be that limitation comes from uint. > That may be hard to go around without performance penalty. > > Jussi > > > > > On Wed, Oct 12, 2011 at 21:31, Jussi Lahtinen wrote: > >> You did it wrong. >> Gambas would interpret your keys this way: >> "A1234567" >> "B1234567" >> "C1234567" >> >> Use reversed order, that way following keys are all same: >> "12345678A" >> "12345678B" >> "12345678C" >> >> ---> "12345678" >> >> Jussi >> >> >> >> >> >> >> On Wed, Oct 12, 2011 at 20:16, tobias wrote: >> >>> On 12.10.2011 19:05, John Spikowski wrote: >>> > On Wed, 2011-10-12 at 19:43 +0300, Jussi Lahtinen wrote: >>> >> My first thought too... and I wonder why there is limit anyway..? >>> >> I have understand that collection works with hash values, and at least >>> there >>> >> are no practical limitations with MD5 hash function. >>> >> >>> >> Jussi >>> > For grins, I thought I would test the hash key length in ScriptBasic to >>> > see if this was a common problem. I don't think there is a practical >>> > limit to the key size in ScriptBasic. >>> > >>> > IMPORT hash.bas >>> > >>> > h = hash::New() >>> > hash::SetValue(h,"A1234567890",1) >>> > hash::SetValue(h,"B12345678901234567890",2) >>> > hash::SetValue(h,"C123456789012345678901234567890",3) >>> > hash::Start(h) >>> > >>> > FOR x = 1 to 3 >>> > PRINT hash::ThisKey(h), " - " >>> > PRINT hash::ThisValue(h),"\n" >>> > hash::Next(h) >>> > NEXT >>> > >>> > jrs at ...1833...:~/sb/test$ scriba testhash.sb >>> > A1234567890 - 1 >>> > B12345678901234567890 - 2 >>> > C123456789012345678901234567890 - 3 >>> > jrs at ...1833...:~/sb/test$ >>> >>> i tested the limitation, too, in gb3 but it ran o.k. >>> how may the exceeding of the key length influence the program integrity? >>> >>> >>> ------------------------------------------------------------------------------ >>> All the data continuously generated in your IT infrastructure contains a >>> definitive record of customers, application performance, security >>> threats, fraudulent activity and more. Splunk takes this data and makes >>> sense of it. Business sense. IT sense. Common sense. >>> http://p.sf.net/sfu/splunk-d2d-oct >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > From support at ...2529... Wed Oct 12 20:51:24 2011 From: support at ...2529... (John Spikowski) Date: Wed, 12 Oct 2011 11:51:24 -0700 Subject: [Gambas-user] Collection key In-Reply-To: References: <4E95B8A1.4080004@...20...> <1318439130.2109.32.camel@...1833...> <4E95CB84.5000306@...20...> <1318445112.2109.34.camel@...1833...> Message-ID: <1318445484.2109.36.camel@...1833...> On Wed, 2011-10-12 at 21:47 +0300, Jussi Lahtinen wrote: > Collections are probably much slower with ScriptBasic. > > Jussi I doubt it. The hash extension module is written in C as a shared object. (.so) From jussi.lahtinen at ...626... Wed Oct 12 20:55:15 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 21:55:15 +0300 Subject: [Gambas-user] Collection key In-Reply-To: <1318445484.2109.36.camel@...1833...> References: <4E95B8A1.4080004@...20...> <1318439130.2109.32.camel@...1833...> <4E95CB84.5000306@...20...> <1318445112.2109.34.camel@...1833...> <1318445484.2109.36.camel@...1833...> Message-ID: Yes, but it have to use different hash function, which is probably slower (it creates longer hash codes). Jussi On Wed, Oct 12, 2011 at 21:51, John Spikowski wrote: > On Wed, 2011-10-12 at 21:47 +0300, Jussi Lahtinen wrote: > > Collections are probably much slower with ScriptBasic. > > > > Jussi > > I doubt it. The hash extension module is written in C as a shared > object. (.so) > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From support at ...2529... Wed Oct 12 20:58:25 2011 From: support at ...2529... (John Spikowski) Date: Wed, 12 Oct 2011 11:58:25 -0700 Subject: [Gambas-user] Collection key In-Reply-To: References: <4E95B8A1.4080004@...20...> <1318439130.2109.32.camel@...1833...> <4E95CB84.5000306@...20...> <1318445112.2109.34.camel@...1833...> <1318445484.2109.36.camel@...1833...> Message-ID: <1318445905.2109.37.camel@...1833...> On Wed, 2011-10-12 at 21:55 +0300, Jussi Lahtinen wrote: > Yes, but it have to use different hash function, which is probably slower > (it creates longer hash codes). > > Jussi > This is routine comes from page 436 of the dragon book. The dragon book: Aho-Sethi-Ulman : Compilers Principles, techniques, and Tools Addison-Wesley Publishing Company 1986 From gambas at ...1... Wed Oct 12 21:14:59 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 12 Oct 2011 21:14:59 +0200 Subject: [Gambas-user] Collection key In-Reply-To: References: Message-ID: <201110122114.59363.gambas@...1...> > ulong? Where are the words of wisdom from Benoit? > > Jussi > Benoit is doing his theater lessons three weeks a month... And I don't understand what all these mails are talking about exactly. There is no limit at all on collection key lengths. Only the key hash functions take into account the last eight characters of the key. But this is internal stuff, you should not be worried about that. It just speeds up collection a lot. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Wed Oct 12 21:34:50 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 22:34:50 +0300 Subject: [Gambas-user] Collection key In-Reply-To: <201110122114.59363.gambas@...1...> References: <201110122114.59363.gambas@...1...> Message-ID: > Benoit is doing his theater lessons three weeks a month... > OK, good for Benoit. And I don't understand what all these mails are talking about exactly. There > is no limit at all on collection key lengths. > > Only the key hash functions take into account the last eight characters of > the > key. But this is internal stuff, you should not be worried about that. It > just > speeds up collection a lot. > Now I'm confused. I read this "Collection keys are now hashed with their eight last characters." from change log, and I tested it with following code: * Dim kol As New Collection(gb.Binary) kol.Add("a", 12345678) kol.Add("b", 123456789) kol.Add("c", 1234567890) kol.Add("d", 12345678901) For Each sTmp In kol Print sTmp Next* And I did get only "d" printed. Now I re-tested this before sending it to you, and I did get: a b c d So there really isn't any limit!? What happened earlier?? Was this "uint hash = 0x9A177BA5 ^ len;" missing earlier? Jussi From Gambas at ...1950... Wed Oct 12 21:37:12 2011 From: Gambas at ...1950... (Caveat) Date: Wed, 12 Oct 2011 21:37:12 +0200 Subject: [Gambas-user] Collection key In-Reply-To: <201110122114.59363.gambas@...1...> References: <201110122114.59363.gambas@...1...> Message-ID: <1318448232.16242.172.camel@...2150...> DIM coll AS NEW Collection DIM value AS String coll.Add("A", "12345678A") coll.Add("B", "12345678B") coll.Add("C", "12345678C") coll.Add("D", "12345678") FOR EACH value IN coll PRINT "Value: " & value & " Key: " & coll.key & " Value of coll[" & coll.key & "] : " & coll[coll.key] NEXT I don't get what the problem is. In both Gambas2 and Gambas3 I get the expected result: Value: A Key: 12345678A Value of coll[12345678A] : A Value: B Key: 12345678B Value of coll[12345678B] : B Value: C Key: 12345678C Value of coll[12345678C] : C Value: D Key: 12345678 Value of coll[12345678] : D Am I missing the obvious here, or is this affecting only a certain version of Gambas or a specific platform? Kind regards, Caveat From Gambas at ...1950... Wed Oct 12 21:42:22 2011 From: Gambas at ...1950... (Caveat) Date: Wed, 12 Oct 2011 21:42:22 +0200 Subject: [Gambas-user] Collection key In-Reply-To: <1318448232.16242.172.camel@...2150...> References: <201110122114.59363.gambas@...1...> <1318448232.16242.172.camel@...2150...> Message-ID: <1318448542.16242.181.camel@...2150...> And the other way around...as you also talked about "the last 8 characters"... DIM coll AS NEW Collection DIM value AS String coll.Add("A", "A12345678") coll.Add("B", "B12345678") coll.Add("C", "C12345678") coll.Add("D", "12345678") FOR EACH value IN coll PRINT "Value: " & value & " Key: " & coll.key & " Value of coll[" & coll.key & "] : " & coll[coll.key] NEXT Value: A Key: A12345678 Value of coll[A12345678] : A Value: B Key: B12345678 Value of coll[B12345678] : B Value: C Key: C12345678 Value of coll[C12345678] : C Value: D Key: 12345678 Value of coll[12345678] : D On Wed, 2011-10-12 at 21:37 +0200, Caveat wrote: > DIM coll AS NEW Collection > DIM value AS String > coll.Add("A", "12345678A") > coll.Add("B", "12345678B") > coll.Add("C", "12345678C") > coll.Add("D", "12345678") > FOR EACH value IN coll > PRINT "Value: " & value & " Key: " & coll.key & " Value of > coll[" & coll.key & "] : " & coll[coll.key] > NEXT > > I don't get what the problem is. In both Gambas2 and Gambas3 I get the > expected result: > > Value: A Key: 12345678A Value of coll[12345678A] : A > Value: B Key: 12345678B Value of coll[12345678B] : B > Value: C Key: 12345678C Value of coll[12345678C] : C > Value: D Key: 12345678 Value of coll[12345678] : D > > Am I missing the obvious here, or is this affecting only a certain > version of Gambas or a specific platform? > > Kind regards, > Caveat > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Oct 12 21:42:23 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 12 Oct 2011 21:42:23 +0200 Subject: [Gambas-user] Collection key In-Reply-To: References: <201110122114.59363.gambas@...1...> Message-ID: <201110122142.23788.gambas@...1...> > > Now I'm confused. > I read this "Collection keys are now hashed with their eight last > characters." from change log, "Collection keys are now hashed with their eight last characters." is not the same sentence as "Collection keys are now limited to eight characters.", is it? > and I tested it with following code: > * > Dim kol As New Collection(gb.Binary) > > kol.Add("a", 12345678) > kol.Add("b", 123456789) > kol.Add("c", 1234567890) > kol.Add("d", 12345678901) > > For Each sTmp In kol > Print sTmp > Next* > > And I did get only "d" printed. Now I re-tested this before sending it to > you, and I did get: > a > b > c > d > > So there really isn't any limit!? What happened earlier?? Before, collection keys were hashed with their eight first characters. And before again, they were hashed with all characters. > Was this "uint hash = 0x9A177BA5 ^ len;" missing earlier? What are you talking about? -- Beno?t Minisini From support at ...2529... Wed Oct 12 21:55:29 2011 From: support at ...2529... (John Spikowski) Date: Wed, 12 Oct 2011 12:55:29 -0700 Subject: [Gambas-user] Collection key In-Reply-To: <201110122142.23788.gambas@...1...> References: <201110122114.59363.gambas@...1...> <201110122142.23788.gambas@...1...> Message-ID: <1318449329.2109.40.camel@...1833...> On Wed, 2011-10-12 at 21:42 +0200, Beno?t Minisini wrote: > > > > Now I'm confused. > > I read this "Collection keys are now hashed with their eight last > > characters." from change log, > > "Collection keys are now hashed with their eight last characters." is not the > same sentence as "Collection keys are now limited to eight characters.", is > it? I'm guessing here but I think what Beno?t is saying is he uses the last 8 characters of the key to speed up 'find' key searches. From jussi.lahtinen at ...626... Wed Oct 12 21:56:24 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 22:56:24 +0300 Subject: [Gambas-user] Collection key In-Reply-To: <201110122142.23788.gambas@...1...> References: <201110122114.59363.gambas@...1...> <201110122142.23788.gambas@...1...> Message-ID: > Now I'm confused. > > I read this "Collection keys are now hashed with their eight last > > characters." from change log, > > "Collection keys are now hashed with their eight last characters." is not > the > same sentence as "Collection keys are now limited to eight characters.", is > it? > I interpreted it as; only last eight characters are used. > > Was this "uint hash = 0x9A177BA5 ^ len;" missing earlier? > > What are you talking about? > Never mind, I was trying to read source code to understand what is going on, but I think I'm too tired to concentrate enough. This is what I read: *r4153 | gambas | 2011-09-26 04:46:48 +0300 (Mon, 26 Sep 2011) | 12 lines [INTERPRETER] * OPT: Optimization of locale-aware string comparison routine. * OPT: Do not use sprintf() for searching event handlers in symbol tables. * OPT: String[].Find() and String.Exist() are now twice faster for ASCII binary and case insensitive comparisons. * BUG: Initialize the locale before loading any class. * OPT: Do not use sprintf() when searching a file inside Gambas archives. * OPT: Unroll a loop to speed up binary string identity comparison a little bit. * BUG: Collection keys are now hashed with their eight last characters. * BUG: Internal Collection automatic resizing was disabled. Re-enable it!* But when browsing the source codes ( http://gambas.svn.sourceforge.net/viewvc/gambas/ ), I cannot find the described change from sources. Jussi From gambas at ...1... Wed Oct 12 22:02:34 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Wed, 12 Oct 2011 22:02:34 +0200 Subject: [Gambas-user] Collection key In-Reply-To: References: <201110122142.23788.gambas@...1...> Message-ID: <201110122202.34755.gambas@...1...> > > Never mind, I was trying to read source code to understand what is going > on, but I think I'm too tired to concentrate enough. > > This is what I read: > > *r4153 | gambas | 2011-09-26 04:46:48 +0300 (Mon, 26 Sep 2011) | 12 lines > > [INTERPRETER] > * OPT: Optimization of locale-aware string comparison routine. > * OPT: Do not use sprintf() for searching event handlers in symbol tables. > * OPT: String[].Find() and String.Exist() are now twice faster for ASCII > binary and case insensitive comparisons. > * BUG: Initialize the locale before loading any class. > * OPT: Do not use sprintf() when searching a file inside Gambas archives. > * OPT: Unroll a loop to speed up binary string identity comparison a little > bit. > * BUG: Collection keys are now hashed with their eight last characters. > * BUG: Internal Collection automatic resizing was disabled. Re-enable it!* > > But when browsing the source codes ( > http://gambas.svn.sourceforge.net/viewvc/gambas/ ), > I cannot find the described change from sources. > > > Jussi I mixed up something: the changes are actually in the next revision (#4154) -- Beno?t Minisini From jussi.lahtinen at ...626... Wed Oct 12 22:03:07 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 23:03:07 +0300 Subject: [Gambas-user] Collection key In-Reply-To: <1318449329.2109.40.camel@...1833...> References: <201110122114.59363.gambas@...1...> <201110122142.23788.gambas@...1...> <1318449329.2109.40.camel@...1833...> Message-ID: Hmmm... OK so the change would be then: static int find_string(CARRAY *_object, int mode, const char *value, int len_value, int start) .... Still I think I'll give up this for today. Jussi On Wed, Oct 12, 2011 at 22:55, John Spikowski wrote: > On Wed, 2011-10-12 at 21:42 +0200, Beno?t Minisini wrote: > > > > > > Now I'm confused. > > > I read this "Collection keys are now hashed with their eight last > > > characters." from change log, > > > > "Collection keys are now hashed with their eight last characters." is not > the > > same sentence as "Collection keys are now limited to eight characters.", > is > > it? > > I'm guessing here but I think what Beno?t is saying is he uses the last > 8 characters of the key to speed up 'find' key searches. > > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed Oct 12 22:05:20 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 12 Oct 2011 23:05:20 +0300 Subject: [Gambas-user] Collection key In-Reply-To: <201110122202.34755.gambas@...1...> References: <201110122142.23788.gambas@...1...> <201110122202.34755.gambas@...1...> Message-ID: Oh, never mind your mix ups... they will pale to mines today. I promise this is my last email today. Jussi 2011/10/12 Beno?t Minisini > > > > Never mind, I was trying to read source code to understand what is going > > on, but I think I'm too tired to concentrate enough. > > > > This is what I read: > > > > *r4153 | gambas | 2011-09-26 04:46:48 +0300 (Mon, 26 Sep 2011) | 12 lines > > > > [INTERPRETER] > > * OPT: Optimization of locale-aware string comparison routine. > > * OPT: Do not use sprintf() for searching event handlers in symbol > tables. > > * OPT: String[].Find() and String.Exist() are now twice faster for ASCII > > binary and case insensitive comparisons. > > * BUG: Initialize the locale before loading any class. > > * OPT: Do not use sprintf() when searching a file inside Gambas archives. > > * OPT: Unroll a loop to speed up binary string identity comparison a > little > > bit. > > * BUG: Collection keys are now hashed with their eight last characters. > > * BUG: Internal Collection automatic resizing was disabled. Re-enable > it!* > > > > But when browsing the source codes ( > > http://gambas.svn.sourceforge.net/viewvc/gambas/ ), > > I cannot find the described change from sources. > > > > > > Jussi > > I mixed up something: the changes are actually in the next revision (#4154) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Thu Oct 13 12:09:47 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Thu, 13 Oct 2011 20:39:47 +1030 Subject: [Gambas-user] Collection key In-Reply-To: References: <201110122114.59363.gambas@...1...> <201110122142.23788.gambas@...1...> <1318449329.2109.40.camel@...1833...> Message-ID: <1318500587.12691.74.camel@...2688...> On Wed, 2011-10-12 at 23:03 +0300, Jussi Lahtinen wrote: > Hmmm... OK so the change would be then: > > static int find_string(CARRAY *_object, int mode, const char *value, int > len_value, int start) > .... > > > Still I think I'll give up this for today. > > Jussi Sage advice Jussi, I think I may have to have a little lie down for a couple of hours too! I think it may have something to do with CERN neutrinos moving faster than the speed of light. ??? Because I am sure that I have seen gambas objects actually raise an event before they actually exist. No, no, definitely need to lie down now. From afroehlke at ...784... Thu Oct 13 16:48:09 2011 From: afroehlke at ...784... (=?iso-8859-1?Q?Andreas_Fr=F6hlke?=) Date: Thu, 13 Oct 2011 16:48:09 +0200 Subject: [Gambas-user] Segmentation fault when starting programs with gambas Message-ID: <8D42310D957CFB46AA11921A711D4D16057827A958@...1899...> Hi, I try to develop an application, which starts a program on a specific virtual desktop. I found kstart and it seems to work, until I compile my gambas program. I tried different ways to start kstart, but I always get back a Segmention fault. When I copy the command directly into konsole it works and as long as I start the program in development mode it also works, just after compilation it fails. I tried SHELL, EXEC, open an Process and print to it and write an Shell-Script and than execute it with gambas, nothing worked. The system is a debian 6 32 Bit KDE with gambas 2.23. The complete command i tried to execute with gambas is: kstart --desktop 1 feh -F -Z 'test.jpg' The error I get is: kstart: Symbol `_ZTI7QObject' has different size in shared object, consider re-linking Segmentation fault I also tried to start a self written QT C++ binary with gambas, but also get a Segmentation fault. If I start it by using the konsole it works. Hope somebody can help Regards Andreas From jussi.lahtinen at ...626... Thu Oct 13 16:50:25 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 13 Oct 2011 17:50:25 +0300 Subject: [Gambas-user] Collection key In-Reply-To: References: Message-ID: Please ignore this thread, it's all about my mistake. I mixed up two concepts and so things didn't work like I naively assumed. Sorry about the noise! Just in case to clear things up: collection key length does *not* have any practical limits! Jussi PS. Used hash function seems to be Benoit's implementation of Paul Larson's hash function (fast!). It can be found (and the discussed changes) from gb_hash_temp.h. On Wed, Oct 12, 2011 at 18:14, Jussi Lahtinen wrote: > Documentation doesn't mention limit of key length! > http://gambasdoc.org/help/comp/gb/collection?view > > Maybe there should be error or warning if key length is over 8 > characters..? > > > Jussi > From gambas at ...1... Fri Oct 14 01:17:12 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 14 Oct 2011 01:17:12 +0200 Subject: [Gambas-user] Dennis Ritchie is dead Message-ID: <201110140117.12293.gambas@...1...> I paid a little tribute to him by modifying the Gambas website front page. Will October, 8th become a non-compilation day? -- Beno?t Minisini From tkoeller at ...626... Fri Oct 14 01:46:59 2011 From: tkoeller at ...626... (Tim Koeller gmail) Date: Thu, 13 Oct 2011 19:46:59 -0400 Subject: [Gambas-user] Dennis Ritchie is dead In-Reply-To: <201110140117.12293.gambas@...1...> References: <201110140117.12293.gambas@...1...> Message-ID: I'm sad that I'll have to remove him from my include files. Tim > Will October, 8th become a non-compilation day? > > > . From demosthenesk at ...626... Fri Oct 14 09:14:27 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Fri, 14 Oct 2011 10:14:27 +0300 Subject: [Gambas-user] Dennis Ritchie is dead In-Reply-To: <201110140117.12293.gambas@...1...> References: <201110140117.12293.gambas@...1...> Message-ID: <1318576467.4190.3.camel@...2689...> On Fri, 2011-10-14 at 01:17 +0200, Beno?t Minisini wrote: > I paid a little tribute to him by modifying the Gambas website front page. > > Will October, 8th become a non-compilation day? > My opinion is October 8th to be a great compilation day and special releases or versions of software to be released that day! From gambas.fr at ...626... Fri Oct 14 14:15:13 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 14 Oct 2011 14:15:13 +0200 Subject: [Gambas-user] Dennis Ritchie is dead In-Reply-To: <1318576467.4190.3.camel@...2689...> References: <201110140117.12293.gambas@...1...> <1318576467.4190.3.camel@...2689...> Message-ID: 2011/10/14 Demosthenes Koptsis : > On Fri, 2011-10-14 at 01:17 +0200, Beno?t Minisini wrote: >> I paid a little tribute to him by modifying the Gambas website front page. >> >> Will October, 8th become a non-compilation day? >> > > My opinion is October 8th to be a great compilation day and special > releases or versions of software to be released that day! > Octobers 8th must be the day of "Built to last" things, Dennis Ritchie was one of those that have created all we are using actually ... and there is 40 years of that... > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From demosthenesk at ...626... Fri Oct 14 15:52:24 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Fri, 14 Oct 2011 16:52:24 +0300 Subject: [Gambas-user] Dennis Ritchie is dead In-Reply-To: References: <201110140117.12293.gambas@...1...> <1318576467.4190.3.camel@...2689...> Message-ID: <1318600344.26474.12.camel@...2689...> On Fri, 2011-10-14 at 14:15 +0200, Fabien Bodard wrote: > 2011/10/14 Demosthenes Koptsis : > > On Fri, 2011-10-14 at 01:17 +0200, Beno?t Minisini wrote: > >> I paid a little tribute to him by modifying the Gambas website front page. > >> > >> Will October, 8th become a non-compilation day? > > > > >> > > > > My opinion is October 8th to be a great compilation day and special > > releases or versions of software to be released that day! > > > My point of view is quite different. We can do anything we like but thinking of the point of view of a programmer, a developer is happy when creates, so i propose this day to be a special compilation day. It may be something as a joy for developing. This is the honor to someone who is the father o programming language. The other kind of thinking is "to keep 1 minute silence" or "1 day not compiling". But these actions are not repeating as events, they are for one shot. People repeat events when they are for happy, the bad events are left behind. > Octobers 8th must be the day of "Built to last" things, Dennis Ritchie > was one of those that have created all we are using actually ... and > there is 40 years of that... > > > > > ------------------------------------------------------------------------------ > > All the data continuously generated in your IT infrastructure contains a > > definitive record of customers, application performance, security > > threats, fraudulent activity and more. Splunk takes this data and makes > > sense of it. Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2d-oct > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > From gambas at ...2524... Fri Oct 14 16:29:22 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 14 Oct 2011 14:29:22 +0000 Subject: [Gambas-user] Issue 128 in gambas: Gambas does not catch HttpClient events Message-ID: <0-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 128 by k_dilla... at ...67...: Gambas does not catch HttpClient events http://code.google.com/p/gambas/issues/detail?id=128 1) Describe the problem. Hello, I'm trying to run this code, that simply downloads an url: http://paste.ubuntu.com/708024/ But gambas seems not to catch any of the events sent by HttpClient, I tried it in Gambas2 2.23 and it works. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK (Gambas 2.99.5) Operating system: Linux Distribution: Fedora 14 Architecture: x86 GUI component: Qt: 4.7.4 Desktop used: KDE 4.6.5 (4.6.5) 3) Provide a little project that reproduces the bug or the crash. http://paste.ubuntu.com/708024/ 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. Create a new empty form, and add the code from my project inside the form code, it should work automatically on form open Thanks. From gambas at ...1... Fri Oct 14 16:37:10 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 14 Oct 2011 16:37:10 +0200 Subject: [Gambas-user] libstdc++.so.6 error In-Reply-To: <1318411862.14490.3.camel@...2689...> References: <1318411862.14490.3.camel@...2689...> Message-ID: <201110141637.11075.gambas@...1...> > Message, > > Project141: symbol lookup error: /usr/lib/x86_64-linux-gnu/libstdc > ++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version > GLIBCXX_3.4.15 > > > Steps to reproduce. > > 1) open project > 2) run project > 3) close running window > 4) get the message > > Also i get "The program return value 127" > > I use Linux Mint Debian Edition x64 and gambas3 svn4192 > > Attached project. No message at all there... Maybe there is something weird on your system and/or during Gambas compilation? -- Beno?t Minisini From gambas.fr at ...626... Fri Oct 14 16:39:48 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 14 Oct 2011 16:39:48 +0200 Subject: [Gambas-user] Gambas Reports in beta Message-ID: Hi to all, I just inform you that gambas report work well now. I've added some feature like ignored control, and panel (that can have 4 different arrange mode) I need some of you to test gb.report and 'report" me what goes wrong, and what you need/want on it I will make a tutorial in few days. This is some screenshot of what is able to do the arrange mode and ignore property(the pink rect) -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: capture d'?cran16.png Type: image/png Size: 45091 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: capture d'?cran17.png Type: image/png Size: 52201 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: capture d'?cran18.png Type: image/png Size: 44754 bytes Desc: not available URL: From gambas at ...1... Fri Oct 14 16:42:02 2011 From: gambas at ...1... (=?utf-8?q?Beno=C3=AEt_Minisini?=) Date: Fri, 14 Oct 2011 16:42:02 +0200 Subject: [Gambas-user] ToolButtons do not appear correct in Toolbar In-Reply-To: <1317986346.24152.1.camel@...2689...> References: <1317986346.24152.1.camel@...2689...> Message-ID: <201110141642.02381.gambas@...1...> > Hi, i add some toolbuttons on a Toolbar. > Each button has an image but at runtime it does not appear correct. > > See png > > How to correct this? At the moment, toolbar height depends on the value of the toolbar internal size that you can change only with the toolbar pop-up menu. The size can be "small", "medium" or "large". The toolbar button icon size follows this setting by changing the icon size specified in an "icon://name" picture patch, or by stretching the icon otherwise. Regards, -- Beno?t Minisini From gambas.fr at ...626... Fri Oct 14 16:51:53 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 14 Oct 2011 16:51:53 +0200 Subject: [Gambas-user] ToolButtons do not appear correct in Toolbar In-Reply-To: <201110141642.02381.gambas@...1...> References: <1317986346.24152.1.camel@...2689...> <201110141642.02381.gambas@...1...> Message-ID: I think he not use a 'toolbar' but an hbox. And the hbox force the buttons height, so the picture are cut. try to set more height to the hbox or the toolbar Le 14 octobre 2011 16:42, Beno?t Minisini a ?crit : >> Hi, i add some toolbuttons on a Toolbar. >> Each button has an image but at runtime it does not appear correct. >> >> See png >> >> How to correct this? > > At the moment, toolbar height depends on the value of the toolbar internal > size that you can change only with the toolbar pop-up menu. > > The size can be "small", "medium" or "large". > > The toolbar button icon size follows this setting by changing the icon size > specified in an "icon://name" picture patch, or by stretching the icon > otherwise. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From demosthenesk at ...626... Fri Oct 14 21:41:29 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Fri, 14 Oct 2011 22:41:29 +0300 Subject: [Gambas-user] libstdc++.so.6 error In-Reply-To: <201110141637.11075.gambas@...1...> References: <1318411862.14490.3.camel@...2689...> <201110141637.11075.gambas@...1...> Message-ID: <1318621289.11994.1.camel@...2689...> Yes it is, it is LMDE which is based on testing repo and testing is not stable so maybe there are weird errors. On Fri, 2011-10-14 at 16:37 +0200, Beno?t Minisini wrote: > > Message, > > > > Project141: symbol lookup error: /usr/lib/x86_64-linux-gnu/libstdc > > ++.so.6: undefined symbol: _ZNSt14error_categoryD2Ev, version > > GLIBCXX_3.4.15 > > > > > > Steps to reproduce. > > > > 1) open project > > 2) run project > > 3) close running window > > 4) get the message > > > > Also i get "The program return value 127" > > > > I use Linux Mint Debian Edition x64 and gambas3 svn4192 > > > > Attached project. > > No message at all there... Maybe there is something weird on your system > and/or during Gambas compilation? > From gambas at ...2524... Fri Oct 14 22:53:10 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 14 Oct 2011 20:53:10 +0000 Subject: [Gambas-user] Issue 128 in gambas: Gambas does not catch HttpClient events In-Reply-To: <0-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> Comment #1 on issue 128 by Mushkete... at ...626...: Gambas does not catch HttpClient events http://code.google.com/p/gambas/issues/detail?id=128 It catches events for me...in 2.99.5 but in my try it doesn't fetch data From support at ...2529... Fri Oct 14 22:55:16 2011 From: support at ...2529... (John Spikowski) Date: Fri, 14 Oct 2011 13:55:16 -0700 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 Message-ID: <1318625716.2304.20.camel@...1833...> I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without issue. (limited testing - no compile errors) This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not using the Unity shell and reverted back to classic as much as possible. Make sure you reserve about 5 hours to update a 11.04 system. :-( From gambas at ...2524... Fri Oct 14 22:57:13 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 14 Oct 2011 20:57:13 +0000 Subject: [Gambas-user] Issue 128 in gambas: Gambas does not catch HttpClient events In-Reply-To: <1-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> <0-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> Comment #2 on issue 128 by Mushkete... at ...626...: Gambas does not catch HttpClient events http://code.google.com/p/gambas/issues/detail?id=128 It catches events for me...in 2.99.5 it runs events - Finished but as i understood there are bugs with dealing with other events,like Read and because of that it doesn't fetch data(for me either) and one more thing-it doesnt run Connect event,maybe because of that it freezes From jussi.lahtinen at ...626... Fri Oct 14 23:00:29 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 15 Oct 2011 00:00:29 +0300 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <1318625716.2304.20.camel@...1833...> References: <1318625716.2304.20.camel@...1833...> Message-ID: > I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without > issue. (limited testing - no compile errors) > Good to know, thanks! This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not > using the Unity shell and reverted back to classic as much as possible. > How well did that work? Much troubles? Good result? Make sure you reserve about 5 hours to update a 11.04 system. :-( > Why!? What takes that long? Slow internet connection? Jussi From support at ...2529... Fri Oct 14 23:12:31 2011 From: support at ...2529... (John Spikowski) Date: Fri, 14 Oct 2011 14:12:31 -0700 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: References: <1318625716.2304.20.camel@...1833...> Message-ID: <1318626751.2304.24.camel@...1833...> On Sat, 2011-10-15 at 00:00 +0300, Jussi Lahtinen wrote: > > I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without > > issue. (limited testing - no compile errors) > > > > Good to know, thanks! > Had my fingers crossed the whole way. ;-) > > This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not > > using the Unity shell and reverted back to classic as much as possible. > > > > How well did that work? Much troubles? Good result? > > 2150+ files updated seemed a bit much. > Make sure you reserve about 5 hours to update a 11.04 system. :-( > > > > Why!? What takes that long? Slow internet connection? > Not really. I think it had to do with updating so soon after it was released and the download server was working extra hard. Once downloaded, it was just over 3 hours of install time till the final reboot. From support at ...2529... Fri Oct 14 23:29:32 2011 From: support at ...2529... (John Spikowski) Date: Fri, 14 Oct 2011 14:29:32 -0700 Subject: [Gambas-user] OT: AllBasic Developer Forum Message-ID: <1318627772.2304.32.camel@...1833...> Basic developers and active contributors, I have setup the www.allbasic.info/forum to be a Basic developer site/forum to collaborate on a developer level. Users of Basic languages should use their respective forums and lists for support. If anyone from the Gambas development team would like to join in and participate, send me a e-mail at support at ...2529... and let me know what forum user name you want to use. The forum software will send you a temporary password to log in. Hope to see some of Gambas talent shared with other open source Basic projects that are still active. John From ea7dfh at ...2382... Fri Oct 14 23:44:21 2011 From: ea7dfh at ...2382... (Jesus) Date: Fri, 14 Oct 2011 23:44:21 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <1318625716.2304.20.camel@...1833...> References: <1318625716.2304.20.camel@...1833...> Message-ID: <4E98AD35.1000200@...2382...> El 14/10/11 22:55, John Spikowski escribi?: > I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without > issue. (limited testing - no compile errors) > > This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not > using the Unity shell and reverted back to classic as much as possible. > > Make sure you reserve about 5 hours to update a 11.04 system. :-( It's a shame what they did with Ubuntu ... I hope the same does not happen with other distributions. (No flaming intended, it's only my opinion). Regards -- Jesus Guardon From dag.jarle.johansen at ...626... Fri Oct 14 23:55:21 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Fri, 14 Oct 2011 23:55:21 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <4E98AD35.1000200@...2382...> References: <1318625716.2304.20.camel@...1833...> <4E98AD35.1000200@...2382...> Message-ID: Hi, Jesus, I dont really know what your theme is, but as I saw you said its a shame with Ubuntu, I have to ask you what? Thanks in advance and regards Dag-Jarle 2011/10/14 Jesus > El 14/10/11 22:55, John Spikowski escribi?: > > I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without > > issue. (limited testing - no compile errors) > > > > This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not > > using the Unity shell and reverted back to classic as much as possible. > > > > Make sure you reserve about 5 hours to update a 11.04 system. :-( > > > It's a shame what they did with Ubuntu ... I hope the same does not > happen with other distributions. (No flaming intended, it's only my > opinion). > > Regards > -- > Jesus Guardon > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Sat Oct 15 00:09:47 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 15 Oct 2011 01:09:47 +0300 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <1318626751.2304.24.camel@...1833...> References: <1318625716.2304.20.camel@...1833...> <1318626751.2304.24.camel@...1833...> Message-ID: > > This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not > > > using the Unity shell and reverted back to classic as much as possible. > > > > > > > How well did that work? Much troubles? Good result? > > > > > 2150+ files updated seemed a bit much. > Classic mode works as expected? Jussi From ea7dfh at ...2382... Sat Oct 15 00:13:39 2011 From: ea7dfh at ...2382... (Jesus) Date: Sat, 15 Oct 2011 00:13:39 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: References: <1318625716.2304.20.camel@...1833...> <4E98AD35.1000200@...2382...> Message-ID: <4E98B413.2010002@...2382...> El 14/10/11 23:55, Dag-Jarle Johansen escribi?: > Hi, Jesus, > > I dont really know what your theme is, but as I saw you said its a shame > with Ubuntu, I have to ask you what? > > Thanks in advance and regards > Dag-Jarle Well, it's a matter of personal taste. I was previously a proud Ubuntu user and fan. Now, I don't like at all Unity nor the new aspect it has its desktop. It has become heavy and slow, and a number of people reports many issues with graphics. I'm not saying it could be better or worse, only that just now it doesn't like to me. I respect people using it, obviously. Sorry for the Off Topic. Regards -- Jesus Guardon From dag.jarle.johansen at ...626... Sat Oct 15 00:24:15 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Sat, 15 Oct 2011 00:24:15 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <4E98B413.2010002@...2382...> References: <1318625716.2304.20.camel@...1833...> <4E98AD35.1000200@...2382...> <4E98B413.2010002@...2382...> Message-ID: Off topic is my fault, Jesus, I started. But I am a fan of Ubuntu still - I am a user of 10.04.3 LTS, and I read about Unity, what I also did not like to hear, in fact. If the evolution of Ubuntu is going this way, well I will have to think about it, and perhaps Debian is better, I have no ideas yet. I would not like to try out 45 different versions of Linux to get the smartest. Dag-Jarle 2011/10/15 Jesus > El 14/10/11 23:55, Dag-Jarle Johansen escribi?: > > Hi, Jesus, > > > > I dont really know what your theme is, but as I saw you said its a shame > > with Ubuntu, I have to ask you what? > > > > Thanks in advance and regards > > Dag-Jarle > > Well, it's a matter of personal taste. I was previously a proud Ubuntu > user and fan. Now, I don't like at all Unity nor the new aspect it has > its desktop. It has become heavy and slow, and a number of people > reports many issues with graphics. I'm not saying it could be better or > worse, only that just now it doesn't like to me. I respect people using > it, obviously. > > Sorry for the Off Topic. > Regards > > -- > Jesus Guardon > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Sat Oct 15 01:17:45 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 14 Oct 2011 19:17:45 -0400 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: References: <1318625716.2304.20.camel@...1833...> <4E98AD35.1000200@...2382...> <4E98B413.2010002@...2382...> Message-ID: <4E98C319.1060705@...1887...> On 10/14/2011 06:24 PM, Dag-Jarle Johansen wrote: > Off topic is my fault, Jesus, I started. > > But I am a fan of Ubuntu still - I am a user of 10.04.3 LTS, and I read > about Unity, what I also did not like to hear, in fact. If the evolution of > Ubuntu is going this way, well I will have to think about it, and perhaps > Debian is better, I have no ideas yet. I would not like to try out 45 > different versions of Linux to get the smartest. > Kubuntu 11.10 may be configured to look and act almost exactly like GNOME 2.x and is still officially supported by Canonical. I switched due to Unity/GNOME 3 and wish I had done so a long time ago. You can configure the desktop to show icons, have multiple fully-customizable panels, a traditional main menu, etc. No need to install Compiz either, as the built in compositing window manager has most of the same plugins and uses hardware acceleration. Themes are ridiculously customizable, more than GNOME 2.x and can be be browsed, sorted by rating and downloaded/installed from the native GUI. See my desktop here: http://www.eightvirtues.com/misc/Kubuntu%2011.10.jpg It took me a day or two of going through settings and experimenting with panels before I had it set up properly. Once it was, I was happier than I'd ever been with my OS. No reason to look back for me. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From dag.jarle.johansen at ...626... Sat Oct 15 01:32:04 2011 From: dag.jarle.johansen at ...626... (Dag-Jarle Johansen) Date: Sat, 15 Oct 2011 01:32:04 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <4E98C319.1060705@...1887...> References: <1318625716.2304.20.camel@...1833...> <4E98AD35.1000200@...2382...> <4E98B413.2010002@...2382...> <4E98C319.1060705@...1887...> Message-ID: Kevin, thank you but I end up with mixed feelings here, really feelsings, not science - ;-) I will try it all out, until now I was a Gnome fan, so I would start at this end. And I must tell you guys, all of you - thank you a lot for answering my sometimes naive questions. Gambas is great, I have never seen anything like that, easy to develop, and as now, wirh this Ubuntu as I have - it's just classes better as for example netbeans. Kevin, thanks again, regards Dag-Jarle 2011/10/15 Kevin Fishburne > On 10/14/2011 06:24 PM, Dag-Jarle Johansen wrote: > > Off topic is my fault, Jesus, I started. > > > > But I am a fan of Ubuntu still - I am a user of 10.04.3 LTS, and I read > > about Unity, what I also did not like to hear, in fact. If the evolution > of > > Ubuntu is going this way, well I will have to think about it, and perhaps > > Debian is better, I have no ideas yet. I would not like to try out 45 > > different versions of Linux to get the smartest. > > > > Kubuntu 11.10 may be configured to look and act almost exactly like > GNOME 2.x and is still officially supported by Canonical. I switched due > to Unity/GNOME 3 and wish I had done so a long time ago. You can > configure the desktop to show icons, have multiple fully-customizable > panels, a traditional main menu, etc. No need to install Compiz either, > as the built in compositing window manager has most of the same plugins > and uses hardware acceleration. Themes are ridiculously customizable, > more than GNOME 2.x and can be be browsed, sorted by rating and > downloaded/installed from the native GUI. See my desktop here: > > http://www.eightvirtues.com/misc/Kubuntu%2011.10.jpg > > It took me a day or two of going through settings and experimenting with > panels before I had it set up properly. Once it was, I was happier than > I'd ever been with my OS. No reason to look back for me. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Sat Oct 15 05:57:53 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 14 Oct 2011 23:57:53 -0400 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: References: <1318625716.2304.20.camel@...1833...> <4E98AD35.1000200@...2382...> <4E98B413.2010002@...2382...> <4E98C319.1060705@...1887...> Message-ID: <4E9904C1.8090907@...1887...> On 10/14/2011 07:32 PM, Dag-Jarle Johansen wrote: > Kevin, thank you > > but I end up with mixed feelings here, really feelsings, not science - ;-) > I will try it all out, until now I was a Gnome fan, so I would start at this > end. My feelings were somewhere between horror and betrayal. The feelings of relief and eventual exultance were equally powerful. > And I must tell you guys, all of you - thank you a lot for answering my > sometimes naive questions. > Gambas is great, I have never seen anything like that, easy to develop, > and as now, wirh this Ubuntu as I have - it's just classes better as for > example netbeans. Gambas is great. :) Beno?t and friends kick more ass than Arnold Schwarzenegger and Jason Stathamcombined. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From support at ...2529... Sat Oct 15 06:26:28 2011 From: support at ...2529... (John Spikowski) Date: Fri, 14 Oct 2011 21:26:28 -0700 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <4E98C319.1060705@...1887...> References: <1318625716.2304.20.camel@...1833...> <4E98AD35.1000200@...2382...> <4E98B413.2010002@...2382...> <4E98C319.1060705@...1887...> Message-ID: <1318652788.4472.3.camel@...1833...> On Fri, 2011-10-14 at 19:17 -0400, Kevin Fishburne wrote: > It took me a day or two of going through settings and experimenting with > panels before I had it set up properly. Once it was, I was happier than > I'd ever been with my OS. No reason to look back for me. > Here is my 'classic' GNOME2 look under Ubuntu 11.10 64 bit. http://files.allbasic.info/ScriptBasic/Ubuntu_11.10-Classic.png Hint: To access the panel and plug-ins, ALT-Right click on the title bar. Right click alone doesn't work anymore for panel access. From arnezthe at ...626... Sat Oct 15 07:00:19 2011 From: arnezthe at ...626... (Arnezt He) Date: Sat, 15 Oct 2011 12:00:19 +0700 Subject: [Gambas-user] repository gambas 3 for ubuntu Message-ID: Is there any repository of gambas3 for ubuntu 11.04? Thank you for the response. From kevinfishburne at ...1887... Sat Oct 15 07:08:54 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 15 Oct 2011 01:08:54 -0400 Subject: [Gambas-user] repository gambas 3 for ubuntu In-Reply-To: References: Message-ID: <4E991566.1080104@...1887...> On 10/15/2011 01:00 AM, Arnezt He wrote: > Is there any repository of gambas3 for ubuntu 11.04? Thank you for the > response. Not yet (that I know of), but gb3 is in late beta and several source release candidates have been made available. On the 3.x official release multiple binaries with dependencies will be made and distributed throughout the repositories. For now compile from source. Once the dev dependencies have been installed, you may download and compile the newest gb3 with a few commands. Ask or research for your specific distro's compilation commands. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From ihaywood at ...1979... Sat Oct 15 08:43:30 2011 From: ihaywood at ...1979... (Ian Haywood) Date: Sat, 15 Oct 2011 17:43:30 +1100 Subject: [Gambas-user] repository gambas 3 for ubuntu In-Reply-To: References: Message-ID: On Sat, Oct 15, 2011 at 4:00 PM, Arnezt He wrote: > Is there any repository of gambas3 for ubuntu 11.04? Thank you for the > response. https://launchpad.net/~ihaywood3/+archive/gambas3 From girardhenri at ...67... Sat Oct 15 12:19:52 2011 From: girardhenri at ...67... (Girard Henri) Date: Sat, 15 Oct 2011 12:19:52 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: References: <1318625716.2304.20.camel@...1833...> <1318626751.2304.24.camel@...1833...> Message-ID: I think ubuntu made a good 11.10 release : I disliked it first for few months. But having tested other distro I noticed all had some drawbacks ! I don't like unity then i install gnome-shell and both work fine. I think gnome classic is not really classic, many things changed about the panel ... Gambas3 works like a charm (I don't test all ) and as gnome and new desktop go to change in future we are ready for it :) Le 15/10/2011 00:09, Jussi Lahtinen a ?crit : >>> This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not >>>> using the Unity shell and reverted back to classic as much as possible. >>>> >>> How well did that work? Much troubles? Good result? >>> >>> >> 2150+ files updated seemed a bit much. >> > Classic mode works as expected? > > Jussi > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From arnezthe at ...626... Sat Oct 15 15:25:08 2011 From: arnezthe at ...626... (Arnezt He) Date: Sat, 15 Oct 2011 20:25:08 +0700 Subject: [Gambas-user] problem with charset id_ID.UTF-8 Message-ID: gb.qt4: warning: unable to load Qt translation: id_ID.UTF-8 From gambas at ...1... Sat Oct 15 23:04:39 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 15 Oct 2011 23:04:39 +0200 Subject: [Gambas-user] problem with charset id_ID.UTF-8 In-Reply-To: References: Message-ID: <4E99F567.8000507@...1...> Le 15/10/2011 15:25, Arnezt He a ?crit : > gb.qt4: warning: unable to load Qt translation: id_ID.UTF-8 That means that Qt was unable to find its indonesian translation file. But maybe Qt is not translated to indonesian yet? -- Beno?t Minisini From gambas at ...1... Sun Oct 16 00:15:56 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Oct 2011 00:15:56 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <1318625716.2304.20.camel@...1833...> References: <1318625716.2304.20.camel@...1833...> Message-ID: <4E9A061C.1080202@...1...> Le 14/10/2011 22:55, John Spikowski a ?crit : > I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without > issue. (limited testing - no compile errors) > > This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not > using the Unity shell and reverted back to classic as much as possible. > > Make sure you reserve about 5 hours to update a 11.04 system. :-( > > I have finally finished my upgrade to Ubuntu 11.10 too. No problem with Ubuntu at the moment, but I want to make a big thanks to Kmail2, Akonadi and Nepomuk. This was the worst computing nightmare I have ever seen for a long time. These three... entities ate all my memory, filled all my swap, took 100% of my two cores, all that during hours, until being finally killed by the kernel. I tried again three times, by starting for a fresh void configuration and trying to convert my old mails, but no way... :-( Being unable to read my mails, I finally decided to switch to Thunderbird. Thanks to the 'xfmail2mbox.sh' script, I could convert the maildir format to the mbox format used by Thunderbird. So, now,the main philosophical question about all main Linux desktops is: W... T.. F... !!!!!! Should we invent some conspiration theory? Did Microsoft paid some KDE and Gnome developers to create such a bloated useless piece of garbage? Hopefully, I will have a better mood after a good night. If some other KDE users want some advices to drop KMail and use Thunderbird, just ask! Regards, -- Beno?t Minisini From gambas at ...1... Sun Oct 16 02:38:25 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Oct 2011 02:38:25 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <4E9A061C.1080202@...1...> References: <1318625716.2304.20.camel@...1833...> <4E9A061C.1080202@...1...> Message-ID: <4E9A2781.7090509@...1...> Le 16/10/2011 00:15, Beno?t Minisini a ?crit : > > I have finally finished my upgrade to Ubuntu 11.10 too. > > ... Another point: if you want to recompile a svn trunk after having the upgrade, you must do a "./reconf-all", because there is a newer version of libtool apparently. Regards, -- Beno?t Minisini From support at ...2529... Sun Oct 16 03:23:44 2011 From: support at ...2529... (John Spikowski) Date: Sat, 15 Oct 2011 18:23:44 -0700 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <4E9A061C.1080202@...1...> References: <1318625716.2304.20.camel@...1833...> <4E9A061C.1080202@...1...> Message-ID: <1318728224.2493.8.camel@...1833...> On Sun, 2011-10-16 at 00:15 +0200, Beno?t Minisini wrote: > Le 14/10/2011 22:55, John Spikowski a ?crit : > > I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without > > issue. (limited testing - no compile errors) > > > > This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not > > using the Unity shell and reverted back to classic as much as possible. > > > > Make sure you reserve about 5 hours to update a 11.04 system. :-( > > > > > > I have finally finished my upgrade to Ubuntu 11.10 too. > So, now,the main philosophical question about all main Linux desktops is: > > W... > > T.. > > F... > > !!!!!! > > Should we invent some conspiration theory? > > Did Microsoft paid some KDE and Gnome developers to create such a > bloated useless piece of garbage? I feel your pain. Why they didn't create a mobile version of Ubuntu is beyond me. Why force silly interfaces on people that have been happy for years with the stability and flow that makes Linux what it is and why I switched from Windows. From ron at ...1740... Sun Oct 16 10:35:20 2011 From: ron at ...1740... (Ron) Date: Sun, 16 Oct 2011 10:35:20 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: <1318728224.2493.8.camel@...1833...> References: <1318625716.2304.20.camel@...1833...> <4E9A061C.1080202@...1...> <1318728224.2493.8.camel@...1833...> Message-ID: NX isn't working anymore with 11.10's new GUI, even in gnome fallback it doesn't work. Either you don't get a menu, or the complete screens are grabled Also it becomes slower each new version too. Time to look for a new distro... was a Ubuntu user for years, but it seems it has come to an end. Regards, Ron_2nd. 2011/10/16 John Spikowski > On Sun, 2011-10-16 at 00:15 +0200, Beno?t Minisini wrote: > > Le 14/10/2011 22:55, John Spikowski a ?crit : > > > I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without > > > issue. (limited testing - no compile errors) > > > > > > This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not > > > using the Unity shell and reverted back to classic as much as possible. > > > > > > Make sure you reserve about 5 hours to update a 11.04 system. :-( > > > > > > > > > > I have finally finished my upgrade to Ubuntu 11.10 too. > > > So, now,the main philosophical question about all main Linux desktops is: > > > > W... > > > > T.. > > > > F... > > > > !!!!!! > > > > Should we invent some conspiration theory? > > > > Did Microsoft paid some KDE and Gnome developers to create such a > > bloated useless piece of garbage? > > I feel your pain. Why they didn't create a mobile version of Ubuntu is > beyond me. Why force silly interfaces on people that have been happy for > years with the stability and flow that makes Linux what it is and why I > switched from Windows. > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Oct 16 12:07:10 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 16 Oct 2011 12:07:10 +0200 Subject: [Gambas-user] Ubuntu 11.10 64 - Build 4200 In-Reply-To: References: <1318625716.2304.20.camel@...1833...> <4E9A061C.1080202@...1...> <1318728224.2493.8.camel@...1833...> Message-ID: hopefully i've not these problems on arch :-) Nevertheless the nepomuk is disabled on my machine... i don't understand why the kde team have done a so dirty thing :/ It eat all my swap too. xfce offert to me all my machine power ... but miss some good things... 2011/10/16 Ron : > NX isn't working anymore with 11.10's new GUI, even in gnome fallback it > doesn't work. > Either you don't get a menu, or the complete screens are grabled > > Also it becomes slower each new version too. > > Time to look for a new distro... was a Ubuntu user for years, but it seems > it has come to an end. > > Regards, > Ron_2nd. > > 2011/10/16 John Spikowski > >> On Sun, 2011-10-16 at 00:15 +0200, Beno?t Minisini wrote: >> > Le 14/10/2011 22:55, John Spikowski a ?crit : >> > > I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without >> > > issue. (limited testing - no compile errors) >> > > >> > > This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not >> > > using the Unity shell and reverted back to classic as much as possible. >> > > >> > > Make sure you reserve about 5 hours to update a 11.04 system. :-( >> > > >> > > >> > >> > I have finally finished my upgrade to Ubuntu 11.10 too. >> >> > So, now,the main philosophical question about all main Linux desktops is: >> > >> > W... >> > >> > T.. >> > >> > F... >> > >> > !!!!!! >> > >> > Should we invent some conspiration theory? >> > >> > Did Microsoft paid some KDE and Gnome developers to create such a >> > bloated useless piece of garbage? >> >> I feel your pain. Why they didn't create a mobile version of Ubuntu is >> beyond me. Why force silly interfaces on people that have been happy for >> years with the stability and flow that makes Linux what it is and why I >> switched from Windows. >> >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2d-oct >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From jussi.lahtinen at ...626... Sun Oct 16 15:15:17 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 16 Oct 2011 16:15:17 +0300 Subject: [Gambas-user] problem with charset id_ID.UTF-8 In-Reply-To: <4E99F567.8000507@...1...> References: <4E99F567.8000507@...1...> Message-ID: Everything seems to work correctly, but I get it too with English; gb.qt4: warning: unable to load Qt translation: en_GB.utf8 Qt4=libQtCore.so.4.7.2 GTK+=libgtk-x11-2.0.so.0.2400.4 Gambas 3 rev 4192 @ Ubuntu 11.04 64bit Jussi 2011/10/16 Beno?t Minisini > Le 15/10/2011 15:25, Arnezt He a ?crit : > > gb.qt4: warning: unable to load Qt translation: id_ID.UTF-8 > > That means that Qt was unable to find its indonesian translation file. > But maybe Qt is not translated to indonesian yet? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Mon Oct 17 08:21:24 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 17 Oct 2011 02:21:24 -0400 Subject: [Gambas-user] gb3: OpenGL help Message-ID: <4E9BC964.4070501@...1887...> I need some general help with implementing a few things in OpenGL. I know many new OpenGL functions were added to gb3, but am not sure of the extent or what I need to do with them. I need to create a polygonal grid and apply different textures to different parts of it. The grid should be a single object for purposes of shading and light sources. I've heard of a "multitexture" function, but am not sure if that's what I need. As a usage example, let's say I have a 16x16 grid of landscape tiles. The images for each tile are in an array of OpenGL textures, so I have 256 separate OpenGL textures. I want to create a polygonal grid object with subdivisions representing the 16x16 tiles and draw the 256 textures onto the grid. Is this possible in OpenGL in general, or in gb3's OpenGL implementation specifically? Think of it like drawing the screen tiles for an old Ultima-style game, but the tiles would be on a single polygonal object. I'd also like to know if billboard-style textures are supported in gb3's OpenGL implementation, which I'll need to implement should the first point be possible. Any help would be greatly appreciated. A kind gb user also sent me the OpenGL redbook, which I can use for reference if the functions are supported by gb. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bbruen at ...2308... Mon Oct 17 09:23:23 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Mon, 17 Oct 2011 17:53:23 +1030 Subject: [Gambas-user] Does gambas3 have the guts to make it? Message-ID: <1318836204.12691.106.camel@...2688...> Well you may have noticed a little drop off in my bug reports lately. I have just finished a little ETL exercise of a reasonable sized database (7.5million rows over 28 tables, heavily "foreign-keyed", postgresql 8.3 backends on both sides). It took me a few days longer than I thought it would because I tried some "major" linux ETL tools first. Of the three I tried, al were java based, two were free and open source and one was commercial licence linux (30day non-crippled trial). One could not cope with any datatype stronger than an integer and insisted that all floating point numeric types have a scale of 1245678????? (Guess which one). Of the two free ones, one just gave up and pointed it toes toward the sky on the first occurrence of more than 1000 rows in the transform set, the other is still going on a test machine (6 days now?). So. I gave up. And did it myself. I would have done it in gb2 but I thought I'd just see how gb3 went. The job took 6 projects, 4 to build nice clean base tables (including one of 1.1M rows) and two to clean, transform, recode and load the dependent tables. If we "excuse" the mistakes that I made in the DDL for the new database, which meant two re-runs, the whole development time was 14 hours and the elapsed time for the final run was 3hours and 12minutes. Nett result, 7.43million rows in new database in 16 tables. (How can 5 users create 70,000 junk records in a year? ) I have now run the 60 odd test queries to prove the data is correct (26 hours) with zero errors. So Beno?t, I reckon gb3 definitely has got what it takes! :-) :-) :-) Thanks a million, or in fact thanks 7.4million! regards Bruce p.s. No I don't use Ubuntu! :-) From kevinfishburne at ...1887... Mon Oct 17 09:30:12 2011 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 17 Oct 2011 03:30:12 -0400 Subject: [Gambas-user] Does gambas3 have the guts to make it? In-Reply-To: <1318836204.12691.106.camel@...2688...> References: <1318836204.12691.106.camel@...2688...> Message-ID: <4E9BD984.7020306@...1887...> On 10/17/2011 03:23 AM, Bruce Bruen wrote: > Well you may have noticed a little drop off in my bug reports lately. I > have just finished a little ETL exercise of a reasonable sized database > (7.5million rows over 28 tables, heavily "foreign-keyed", postgresql 8.3 > backends on both sides). It took me a few days longer than I thought it > would because I tried some "major" linux ETL tools first. > > Of the three I tried, al were java based, two were free and open source > and one was commercial licence linux (30day non-crippled trial). One > could not cope with any datatype stronger than an integer and insisted > that all floating point numeric types have a scale of 1245678????? > (Guess which one). Of the two free ones, one just gave up and pointed > it toes toward the sky on the first occurrence of more than 1000 rows in > the transform set, the other is still going on a test machine (6 days > now?). > > So. I gave up. > > And did it myself. > > I would have done it in gb2 but I thought I'd just see how gb3 went. > The job took 6 projects, 4 to build nice clean base tables (including > one of 1.1M rows) and two to clean, transform, recode and load the > dependent tables. If we "excuse" the mistakes that I made in the DDL > for the new database, which meant two re-runs, the whole development > time was 14 hours and the elapsed time for the final run was 3hours and > 12minutes. > > Nett result, 7.43million rows in new database in 16 tables. (How can 5 > users create 70,000 junk records in a year? ) > > I have now run the 60 odd test queries to prove the data is correct (26 > hours) with zero errors. > > So Beno?t, I reckon gb3 definitely has got what it takes! :-) :-) :-) > > Thanks a million, or in fact thanks 7.4million! > regards > Bruce The answer is "Yes", then. I'm in a world of hurt and sadness right now, but your post made me very happy. Hell yes gb3 is awesome. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Mon Oct 17 09:49:00 2011 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 17 Oct 2011 09:49:00 +0200 Subject: [Gambas-user] Does gambas3 have the guts to make it? In-Reply-To: <1318836204.12691.106.camel@...2688...> References: <1318836204.12691.106.camel@...2688...> Message-ID: <4E9BDDEC.4000703@...1...> Le 17/10/2011 09:23, Bruce Bruen a ?crit : > Well you may have noticed a little drop off in my bug reports lately. I > have just finished a little ETL exercise of a reasonable sized database > (7.5million rows over 28 tables, heavily "foreign-keyed", postgresql 8.3 > backends on both sides). It took me a few days longer than I thought it > would because I tried some "major" linux ETL tools first. > > Of the three I tried, al were java based, two were free and open source > and one was commercial licence linux (30day non-crippled trial). One > could not cope with any datatype stronger than an integer and insisted > that all floating point numeric types have a scale of 1245678????? > (Guess which one). Of the two free ones, one just gave up and pointed > it toes toward the sky on the first occurrence of more than 1000 rows in > the transform set, the other is still going on a test machine (6 days > now?). > > So. I gave up. > > And did it myself. > > I would have done it in gb2 but I thought I'd just see how gb3 went. > The job took 6 projects, 4 to build nice clean base tables (including > one of 1.1M rows) and two to clean, transform, recode and load the > dependent tables. If we "excuse" the mistakes that I made in the DDL > for the new database, which meant two re-runs, the whole development > time was 14 hours and the elapsed time for the final run was 3hours and > 12minutes. > > Nett result, 7.43million rows in new database in 16 tables. (How can 5 > users create 70,000 junk records in a year? ) > > I have now run the 60 odd test queries to prove the data is correct (26 > hours) with zero errors. > > So Beno?t, I reckon gb3 definitely has got what it takes! :-) :-) :-) > > Thanks a million, or in fact thanks 7.4million! > regards > Bruce > > p.s. No I don't use Ubuntu! :-) Mmm, it seems to be a positive mail, doesn't it? :-) Maybe one more sign that Gambas 3 release will come soon... Anyway, I didn't understand everything: what is "ETL"? What are ETL tools? What are their names? -- Beno?t Minisini From bbruen at ...2308... Mon Oct 17 11:30:21 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Mon, 17 Oct 2011 20:00:21 +1030 Subject: [Gambas-user] Does gambas3 have the guts to make it? In-Reply-To: <4E9BDDEC.4000703@...1...> References: <1318836204.12691.106.camel@...2688...> <4E9BDDEC.4000703@...1...> Message-ID: <1318843821.12691.114.camel@...2688...> On Mon, 2011-10-17 at 09:49 +0200, Beno?t Minisini wrote: > Anyway, I didn't understand everything: what is "ETL"? What are ETL > tools? What are their names? E(xport),T(ransform),L(oad) A mystic art involving moving a truckload or two of data between a source database and a nice clean new database. Oh and on the way put some of the data into a Waring blender, add a few seasonings, sieve out the crunchy bits, glaze lightly and bake in a slow oven until springs back when pressed lightly in the middle. Hey hey, am I very happy! B From gambas.fr at ...626... Mon Oct 17 11:32:39 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Oct 2011 11:32:39 +0200 Subject: [Gambas-user] Does gambas3 have the guts to make it? In-Reply-To: <4E9BDDEC.4000703@...1...> References: <1318836204.12691.106.camel@...2688...> <4E9BDDEC.4000703@...1...> Message-ID: Yes Gambas3 really have reduce my devel time too :-) I've stabilised gb.report, i just need to had one or two things ... but nothing importants (automation) -- Fabien Bodard From demosthenesk at ...626... Mon Oct 17 17:37:46 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 17 Oct 2011 18:37:46 +0300 Subject: [Gambas-user] ToolButtons do not appear correct in Toolbar In-Reply-To: References: <1317986346.24152.1.camel@...2689...> <201110141642.02381.gambas@...1...> Message-ID: <1318865866.29531.3.camel@...2689...> No i use a ToolBar. So now, at runtime when i select "Configure..." with mouse right click i get "Not an object" When i select "Icon size/Medium" etc i get Null object. Do i need to create forms for Configure and Size? I dont understand what i should do. On Fri, 2011-10-14 at 16:51 +0200, Fabien Bodard wrote: > I think he not use a 'toolbar' but an hbox. > And the hbox force the buttons height, so the picture are cut. > > try to set more height to the hbox or the toolbar > > > > Le 14 octobre 2011 16:42, Beno?t Minisini > a ?crit : > >> Hi, i add some toolbuttons on a Toolbar. > >> Each button has an image but at runtime it does not appear correct. > >> > >> See png > >> > >> How to correct this? > > > > At the moment, toolbar height depends on the value of the toolbar internal > > size that you can change only with the toolbar pop-up menu. > > > > The size can be "small", "medium" or "large". > > > > The toolbar button icon size follows this setting by changing the icon size > > specified in an "icon://name" picture patch, or by stretching the icon > > otherwise. > > > > Regards, > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > All the data continuously generated in your IT infrastructure contains a > > definitive record of customers, application performance, security > > threats, fraudulent activity and more. Splunk takes this data and makes > > sense of it. Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2d-oct > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > From girardhenri at ...67... Mon Oct 17 20:56:03 2011 From: girardhenri at ...67... (Girard Henri) Date: Mon, 17 Oct 2011 20:56:03 +0200 Subject: [Gambas-user] Fwd: Re: glu.wireCube or glu.wireSphere In-Reply-To: <21780849.13256.1317404661477.JavaMail.root@...2632...> References: <21780849.13256.1317404661477.JavaMail.root@...2632...> Message-ID: Kevin if this can be of use for you. Tommyline help me much for this... -------- Message original -------- Sujet: Re: [Gambas-user] glu.wireCube or glu.wireSphere Date : Fri, 30 Sep 2011 18:44:21 +0100 (IST) De : tommyline at ...2340... R?pondre ? : mailing list for gambas users Pour : mailing list for gambas users Hi Henri, Unfortunately Wire cube, or WireSphere is a part of the GLUT library which is not implemented in Gambas. But based on Freeglut source, I made my own glut geometry module. Public Sub WireCube(dSize As Float) Dim size As Float = dSize * 0.5 gl.Begin(gl.LINE_LOOP) gl.Normal3f(1.0, 0.0, 0.0) gl.Vertex3f(size, - size, size) gl.Vertex3f(size, - size, - size) gl.Vertex3f(size, size, - size) gl.Vertex3f(size, size, size) gl.End() gl.Begin(gl.LINE_LOOP) gl.Normal3f(0.0, 1.0, 0.0) gl.Vertex3f(size, size, size) gl.Vertex3f(size, size, - size) gl.Vertex3f(- size, size, - size) gl.Vertex3f(- size, size, size) gl.End() gl.Begin(gl.LINE_LOOP) gl.Normal3f(0.0, 0.0, 1.0) gl.Vertex3f(size, size, size) gl.Vertex3f(- size, size, size) gl.Vertex3f(- size, - size, size) gl.Vertex3f(size, - size, size) gl.End() gl.Begin(gl.LINE_LOOP) gl.Normal3f(1.0, 0.0, 0.0) gl.Vertex3f(- size, - size, size) gl.Vertex3f(- size, size, size) gl.Vertex3f(- size, size, - size) gl.Vertex3f(- size, - size, - size) gl.End() gl.Begin(gl.LINE_LOOP) gl.Normal3f(0.0, - 1.0, 0.0) gl.Vertex3f(- size, - size, size) gl.Vertex3f(- size, - size, - size) gl.Vertex3f(size, - size, - size) gl.Vertex3f(size, - size, size) gl.End() gl.Begin(gl.LINE_LOOP) gl.Normal3f(0.0, 0.0, 1.0) gl.Vertex3f(- size, - size, - size) gl.Vertex3f(- size, size, - size) gl.Vertex3f(size, size, - size) gl.Vertex3f(size, - size, - size) gl.End() End Public Sub WireSphere(radius As Float, slices As Integer, stacks As Integer) Dim i, j As Integer Dim z, x, r, y As Float Dim sint1, sint2 As New Float[360] Dim cost1, cost2 As New Float[360] Dim size As Integer ' / * Table size, the sign OF n flips the circle direction * / Dim angle As Float ' / * Determine the angle between samples * / '/* Pre - computed circle * / size = - slices angle As Float = 2 * Pi / (size) sint1[0] = 0.0 cost1[0] = 1.0 For i = 1 To size sint1[i] = Sin(angle * i) cost1[i] = Cos(angle * i) Next sint1[size] = sint1[0] cost1[size] = cost1[0] size = stacks * 2 angle As Float = 2 * Pi / (size) sint2[0] = 0.0 cost2[0] = 1.0 For i = 1 To size sint2[i] = Sin(angle * i) cost2[i] = Cos(angle * i) Next sint2[size] = sint2[0] cost2[size] = cost2[0] '/ * Draw a LINE LOOP FOR EACH stack * / For i = 1 To stacks z = cost2[i] r = sint2[i] gl.Begin(gl.LINE_LOOP) For j = 0 To slices x = cost1[j] y = sint1[j] gl.Normal3f(x, y, z) gl.Vertex3f(x * r * radius, y * r * radius, z * radius) Next gl.End() Next '/ * Draw a LINE LOOP FOR EACH slice * / For i = 0 To slices gl.Begin(gl.LINE_STRIP) For j = 0 To stacks x = cost1[i] * sint2[j] y = sint1[i] * sint2[j] z = cost2[j] gl.Normal3f(x, y, z) gl.Vertex3f(x * radius, y * radius, z * radius) Next gl.End() Next End Regards, Tomek ----- Original Message ----- From: "Girard Henri" To: gambas-user at lists.sourceforge.net Sent: Friday, 30 September, 2011 3:11:29 PM Subject: [Gambas-user] glu.wireCube or glu.wireSphere Hi, Is there a way of doing in gambas opengl glu.wireCube (with example)? I can't find it anywhere ? thanks Henri ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From girardhenri at ...67... Mon Oct 17 20:57:09 2011 From: girardhenri at ...67... (Girard Henri) Date: Mon, 17 Oct 2011 20:57:09 +0200 Subject: [Gambas-user] gb3: OpenGL help In-Reply-To: <4E9BC964.4070501@...1887...> References: <4E9BC964.4070501@...1887...> Message-ID: you can find all email on the list recently about opengl in gambas Le 17/10/2011 08:21, Kevin Fishburne a ?crit : > I need some general help with implementing a few things in OpenGL. I > know many new OpenGL functions were added to gb3, but am not sure of the > extent or what I need to do with them. > > I need to create a polygonal grid and apply different textures to > different parts of it. The grid should be a single object for purposes > of shading and light sources. I've heard of a "multitexture" function, > but am not sure if that's what I need. > > As a usage example, let's say I have a 16x16 grid of landscape tiles. > The images for each tile are in an array of OpenGL textures, so I have > 256 separate OpenGL textures. I want to create a polygonal grid object > with subdivisions representing the 16x16 tiles and draw the 256 textures > onto the grid. Is this possible in OpenGL in general, or in gb3's OpenGL > implementation specifically? > > Think of it like drawing the screen tiles for an old Ultima-style game, > but the tiles would be on a single polygonal object. > > I'd also like to know if billboard-style textures are supported in gb3's > OpenGL implementation, which I'll need to implement should the first > point be possible. Any help would be greatly appreciated. A kind gb user > also sent me the OpenGL redbook, which I can use for reference if the > functions are supported by gb. > From girardhenri at ...67... Mon Oct 17 22:52:13 2011 From: girardhenri at ...67... (Girard Henri) Date: Mon, 17 Oct 2011 22:52:13 +0200 Subject: [Gambas-user] gb3: OpenGL help In-Reply-To: References: <4E9BC964.4070501@...1887...> Message-ID: I forget you have nehe shell opengl in gb3 most examples, can be completed I found it online http://whiteislandsoftware.com/forum/index.php?page=topicview&id=tutorial%2Ftutorials-from-opengl regards Henri Le 17/10/2011 20:57, Girard Henri a ?crit : > you can find all email on the list recently about opengl in gambas > Le 17/10/2011 08:21, Kevin Fishburne a ?crit : >> I need some general help with implementing a few things in OpenGL. I >> know many new OpenGL functions were added to gb3, but am not sure of the >> extent or what I need to do with them. >> >> I need to create a polygonal grid and apply different textures to >> different parts of it. The grid should be a single object for purposes >> of shading and light sources. I've heard of a "multitexture" function, >> but am not sure if that's what I need. >> >> As a usage example, let's say I have a 16x16 grid of landscape tiles. >> The images for each tile are in an array of OpenGL textures, so I have >> 256 separate OpenGL textures. I want to create a polygonal grid object >> with subdivisions representing the 16x16 tiles and draw the 256 textures >> onto the grid. Is this possible in OpenGL in general, or in gb3's OpenGL >> implementation specifically? >> >> Think of it like drawing the screen tiles for an old Ultima-style game, >> but the tiles would be on a single polygonal object. >> >> I'd also like to know if billboard-style textures are supported in gb3's >> OpenGL implementation, which I'll need to implement should the first >> point be possible. Any help would be greatly appreciated. A kind gb user >> also sent me the OpenGL redbook, which I can use for reference if the >> functions are supported by gb. >> > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ivanwms64 at ...43... Tue Oct 18 11:21:44 2011 From: ivanwms64 at ...43... (Ivan Williams) Date: Tue, 18 Oct 2011 02:21:44 -0700 (PDT) Subject: [Gambas-user] sqlite3 - unable to locate table In-Reply-To: References: <4E9BC964.4070501@...1887...> Message-ID: <1318929704.36809.YahooMailNeo@...2703...> Greetings I ran into a problem this morning where my program has started displaying unable to locate a sqlite database which I had previously been accessing without any difficulty.? I check the database, accessed it via command line and verified that it was accessible.? The file is around 2.4 GB and this code had been working before without any problems.?? Any ideas as to why this might be occurring and possible solutions? Thank You ? ? Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. From fvegaf at ...67... Tue Oct 18 14:52:24 2011 From: fvegaf at ...67... (fvegaf) Date: Tue, 18 Oct 2011 05:52:24 -0700 (PDT) Subject: [Gambas-user] Unknown field -- Case sensitive fields? Message-ID: <32674413.post@...1379...> I'm getting the error "unknown field: codigo" This os the code: '----------------- cQuery = "Select Empleado, Codigo from Empleado where empleado=101010" resEmp = con1.Exec(cQUery) FOR EACH resEmp var = resEmp!codigo NEXT '----------------- The line os on the line: "var = resEmp!codigo", changing to "var = resEmp!Codigo" the error goes away. This used to work on gambas 1 (1.0.18), bur now in gambas2 (2.8) is complaining about the exact case as defined in the query, or if I use "select *" as defined in the Table. Is there a way to make it "case insensitive"? Thanks in advance for your valuable time. ps. I'm using Ubuntu 8.04 32 bits. -- View this message in context: http://old.nabble.com/Unknown-field----Case-sensitive-fields--tp32674413p32674413.html Sent from the gambas-user mailing list archive at Nabble.com. From fvegaf at ...67... Tue Oct 18 17:55:46 2011 From: fvegaf at ...67... (fvegaf) Date: Tue, 18 Oct 2011 08:55:46 -0700 (PDT) Subject: [Gambas-user] Unknown field -- Case sensitive fields? In-Reply-To: <32674413.post@...1379...> References: <32674413.post@...1379...> Message-ID: <32675906.post@...1379...> I'm using mysql database. fvegaf wrote: > > I'm getting the error "unknown field: codigo" > > This os the code: > '----------------- > cQuery = "Select Empleado, Codigo from Empleado where empleado=101010" > resEmp = con1.Exec(cQUery) > > FOR EACH resEmp > var = resEmp!codigo > NEXT > '----------------- > The line os on the line: "var = resEmp!codigo", changing to "var = > resEmp!Codigo" the error goes away. > > This used to work on gambas 1 (1.0.18), bur now in gambas2 (2.8) is > complaining about the exact case as defined in the query, or if I use > "select *" as defined in the Table. > > Is there a way to make it "case insensitive"? > > Thanks in advance for your valuable time. > > ps. I'm using Ubuntu 8.04 32 bits. > > -- View this message in context: http://old.nabble.com/Unknown-field----Case-sensitive-fields--tp32674413p32675906.html Sent from the gambas-user mailing list archive at Nabble.com. From ivanwms64 at ...43... Tue Oct 18 20:16:16 2011 From: ivanwms64 at ...43... (Ivan Williams) Date: Tue, 18 Oct 2011 11:16:16 -0700 (PDT) Subject: [Gambas-user] file size limit on sql file in gambas???? Message-ID: <1318961776.77349.YahooMailNeo@...2705...> Greetings once more I have been doing some experimenting with the unable to locate database error in gambas.? I am able to open smaller files but when I attempt to open the most current current version of the file (2.4 GB) in size the program blows up.?? Does anyone know if gambas has any file size limits and if so, how can they be bypassed. ? ? Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. From gambas at ...2524... Wed Oct 19 01:10:47 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 18 Oct 2011 23:10:47 +0000 Subject: [Gambas-user] Issue 129 in gambas: For-loop does not work on large ranges Message-ID: <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 129 by emil.len... at ...626...: For-loop does not work on large ranges http://code.google.com/p/gambas/issues/detail?id=129 1) Describe the problem. For-loop does not work on large ranges. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4205 Architecture: x86_64 3) Provide a little project that reproduces the bug or the crash. This loop is never entered: Dim i As Integer For i = -2000000000 To 2000000000 Print i Next From support at ...2529... Wed Oct 19 01:16:56 2011 From: support at ...2529... (John Spikowski) Date: Tue, 18 Oct 2011 16:16:56 -0700 Subject: [Gambas-user] Issue 129 in gambas: For-loop does not work on large ranges In-Reply-To: <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Message-ID: <1318979816.2205.0.camel@...1833...> Are you running on a 32 or 64 bit OS? On Tue, 2011-10-18 at 23:10 +0000, gambas at ...2524... wrote: > Status: New > Owner: ---- > Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any > Desktop-Any GUI-Any > > New issue 129 by emil.len... at ...626...: For-loop does not work on large > ranges > http://code.google.com/p/gambas/issues/detail?id=129 > > 1) Describe the problem. > For-loop does not work on large ranges. > > 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): > > Version: TRUNK > Revision: r4205 > Architecture: x86_64 > > 3) Provide a little project that reproduces the bug or the crash. > > This loop is never entered: > Dim i As Integer > For i = -2000000000 To 2000000000 > Print i > Next > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From wally at ...2037... Wed Oct 19 04:55:57 2011 From: wally at ...2037... (wally) Date: Wed, 19 Oct 2011 04:55:57 +0200 Subject: [Gambas-user] graph-plot-axis Message-ID: <201110190455.57472.wally@...2037...> How can i make a x, y axis similar to the attached examples using gambas3 ? Maybe an example is available. -------------- next part -------------- A non-text attachment was scrubbed... Name: scala1.png Type: image/png Size: 52233 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scala2.png Type: image/png Size: 49617 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scala3.png Type: image/png Size: 35982 bytes Desc: not available URL: From Gambas at ...1950... Wed Oct 19 08:22:40 2011 From: Gambas at ...1950... (Caveat) Date: Wed, 19 Oct 2011 08:22:40 +0200 Subject: [Gambas-user] file size limit on sql file in gambas???? In-Reply-To: <1318961776.77349.YahooMailNeo@...2705...> References: <1318961776.77349.YahooMailNeo@...2705...> Message-ID: <1319005360.21290.5.camel@...2150...> ISTR at one time Benoit saying that the drivers for some of the dbs weren't that smart and may read the whole table into memory. How much RAM do you have? Can you see how much you have free as the program runs? 2Gb or more also sounds like it may be hitting some kind of limit (certainly historically 2Gb was pretty much a hard and fast limit for 32-bit Linux systems). Perhaps you may have to consider splitting the database or moving to another DBMS? Regards, Caveat On Tue, 2011-10-18 at 11:16 -0700, Ivan Williams wrote: > Greetings once more > > I have been doing some experimenting with the unable to locate database error in gambas. I am able to open smaller files but when I attempt to open the most current current version of the file (2.4 GB) in size the program blows up. Does anyone know if gambas has any file size limits and if so, how can they be bypassed. > > > > Ivan \~/ > > > I never saw a wild thing sorry for itself. > A small bird will drop frozen dead from a bough > Without ever having felt sorry for itself. > -- D.H. Lawrence > > > http://www.usconstitution.net/const.html > > Linux - Live Free or Die. > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Wed Oct 19 13:46:05 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Oct 2011 11:46:05 +0000 Subject: [Gambas-user] Issue 129 in gambas: For-loop does not work on large ranges In-Reply-To: <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Comment #1 on issue 129 by emil.len... at ...626...: For-loop does not work on large ranges http://code.google.com/p/gambas/issues/detail?id=129 A working alternative to the current MUST_CONTINUE-macros would be the following pseudo code: if (val == end) continue loop; else { int sign1 = val < to; int sign2 = (step >> 31) & 1; if (sign1 != sign2) continue loop; else quit loop; } From fvegaf at ...67... Wed Oct 19 14:29:57 2011 From: fvegaf at ...67... (fvegaf) Date: Wed, 19 Oct 2011 05:29:57 -0700 (PDT) Subject: [Gambas-user] Unknown field -- Case sensitive fields? In-Reply-To: <32674413.post@...1379...> References: <32674413.post@...1379...> Message-ID: <32681946.post@...1379...> This is the Mysql results shown in a terminal: mysql> select Empleado, Codigo from Employees where empleado=9316; +----------+--------+ | Empleado | Codigo | +----------+--------+ | 9316 | 2917 | +----------+--------+ And this is the Structure of the table mysql> show columns from Employees; +------------+------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +------------+------------------+------+-----+---------+-------+ | Empleado | int(11) | NO | PRI | NULL | | | Codigo | int(11) | NO | MUL | 0 | | +------------+------------------+------+-----+---------+-------+ fvegaf wrote: > > I'm getting the error "unknown field: codigo" > > This os the code: > '----------------- > cQuery = "Select Empleado, Codigo from Empleado where empleado=101010" > resEmp = con1.Exec(cQUery) > > FOR EACH resEmp > var = resEmp!codigo > NEXT > '----------------- > The line os on the line: "var = resEmp!codigo", changing to "var = > resEmp!Codigo" the error goes away. > > This used to work on gambas 1 (1.0.18), bur now in gambas2 (2.8) is > complaining about the exact case as defined in the query, or if I use > "select *" as defined in the Table. > > Is there a way to make it "case insensitive"? > > Thanks in advance for your valuable time. > > ps. I'm using Ubuntu 8.04 32 bits. > > -- View this message in context: http://old.nabble.com/Unknown-field----Case-sensitive-fields--tp32674413p32681946.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Wed Oct 19 17:12:20 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 19 Oct 2011 17:12:20 +0200 Subject: [Gambas-user] Unknown field -- Case sensitive fields? In-Reply-To: <32681946.post@...1379...> References: <32674413.post@...1379...> <32681946.post@...1379...> Message-ID: 2011/10/19 fvegaf : > > This is the Mysql results shown in a terminal: > > > mysql> select Empleado, Codigo from Employees where empleado=9316; > +----------+--------+ > | Empleado | Codigo | > +----------+--------+ > | ? ? 9316 | ? 2917 | > +----------+--------+ > > > And this is the Structure of the table > mysql> show columns from Employees; > +------------+------------------+------+-----+---------+-------+ > | Field ? ? ?| Type ? ? ? ? ? ? | Null | Key | Default | Extra | > +------------+------------------+------+-----+---------+-------+ > | Empleado ? | int(11) ? ? ? ? ?| NO ? | PRI | NULL ? ?| ? ? ? | > | Codigo ? ? | int(11) ? ? ? ? ?| NO ? | MUL | 0 ? ? ? | ? ? ? | > +------------+------------------+------+-----+---------+-------+ > > > > > fvegaf wrote: >> >> I'm getting the error "unknown field: codigo" >> >> This os the code: >> '----------------- >> cQuery = "Select Empleado, Codigo from Empleado where empleado=101010" >> resEmp = con1.Exec(cQUery) >> >> FOR EACH resEmp >> ? var = resEmp!codigo >> NEXT :) Codigo is not codigo SQL is case sensitive so var = resEmp!Codigo >> '----------------- >> The line os on the line: "var = resEmp!codigo", changing to "var = >> resEmp!Codigo" the error goes away. >> >> This used to work on gambas 1 (1.0.18), bur now in gambas2 (2.8) is >> complaining about the exact case as defined in the query, or if I use >> "select *" as defined in the Table. >> >> Is there a way to make it "case insensitive"? >> >> Thanks in advance for your valuable time. >> >> ps. I'm using Ubuntu 8.04 32 bits. >> >> > > -- > View this message in context: http://old.nabble.com/Unknown-field----Case-sensitive-fields--tp32674413p32681946.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas.fr at ...626... Wed Oct 19 17:14:10 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 19 Oct 2011 17:14:10 +0200 Subject: [Gambas-user] file size limit on sql file in gambas???? In-Reply-To: <1319005360.21290.5.camel@...2150...> References: <1318961776.77349.YahooMailNeo@...2705...> <1319005360.21290.5.camel@...2150...> Message-ID: what can be stored in 2GB ..; that's a big database !! :-)... i think you must use dbms server such as mysql, or postgresql 2011/10/19 Caveat : > ISTR at one time Benoit saying that the drivers for some of the dbs > weren't that smart and may read the whole table into memory. > > How much RAM do you have? ?Can you see how much you have free as the > program runs? > > 2Gb or more also sounds like it may be hitting some kind of limit > (certainly historically 2Gb was pretty much a hard and fast limit for > 32-bit Linux systems). > > Perhaps you may have to consider splitting the database or moving to > another DBMS? > > Regards, > Caveat > > On Tue, 2011-10-18 at 11:16 -0700, Ivan Williams wrote: >> Greetings once more >> >> I have been doing some experimenting with the unable to locate database error in gambas. ?I am able to open smaller files but when I attempt to open the most current current version of the file (2.4 GB) in size the program blows up. ? Does anyone know if gambas has any file size limits and if so, how can they be bypassed. >> >> >> >> Ivan ? ?\~/ >> >> >> I never saw a wild thing sorry for itself. >> A small bird will drop frozen dead from a bough >> Without ever having felt sorry for itself. >> -- D.H. Lawrence >> >> >> http://www.usconstitution.net/const.html >> >> Linux - Live Free or Die. >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense. >> http://p.sf.net/sfu/splunk-d2d-oct >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas.fr at ...626... Wed Oct 19 17:16:54 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 19 Oct 2011 17:16:54 +0200 Subject: [Gambas-user] graph-plot-axis In-Reply-To: <201110190455.57472.wally@...2037...> References: <201110190455.57472.wally@...2037...> Message-ID: do you want a chart componant ? or just a ruber ? or the circle ? All is possible 2011/10/19 wally : > How can i make a x, y axis similar to the attached examples > using gambas3 ? Maybe an example is available. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Fabien Bodard From wally at ...2037... Wed Oct 19 17:44:30 2011 From: wally at ...2037... (wally) Date: Wed, 19 Oct 2011 17:44:30 +0200 Subject: [Gambas-user] graph-plot-axis In-Reply-To: References: <201110190455.57472.wally@...2037...> Message-ID: <201110191744.31024.wally@...2037...> Hello, i need only the linear axis (x,y cartesian scale). I tried to draw it in drawing area but the numbers are not really sharp readable. For sure i did something wrong. I need tickmarks and some values on e.g. every 10th tickmark. Best would be to have a QWT Widget avaiable in Gambas. wally On Wednesday, October 19, 2011 17:16:54 Fabien Bodard wrote: > do you want a chart componant ? > > or just a ruber ? > > or the circle ? > > > All is possible > > 2011/10/19 wally : > > How can i make a x, y axis similar to the attached examples > > using gambas3 ? Maybe an example is available. > > > > > > ------------------------------------------------------------------------- > > ----- All the data continuously generated in your IT infrastructure > > contains a definitive record of customers, application performance, > > security threats, fraudulent activity and more. Splunk takes this data > > and makes sense of it. Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2d-oct > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Oct 19 19:59:04 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 19 Oct 2011 19:59:04 +0200 Subject: [Gambas-user] file size limit on sql file in gambas???? In-Reply-To: <1318961776.77349.YahooMailNeo@...2705...> References: <1318961776.77349.YahooMailNeo@...2705...> Message-ID: <4E9F0FE8.9070409@...1...> Le 18/10/2011 20:16, Ivan Williams a ?crit : > Greetings once more > > I have been doing some experimenting with the unable to locate database error in gambas. I am able to open smaller files but when I attempt to open the most current current version of the file (2.4 GB) in size the program blows up. Does anyone know if gambas has any file size limits and if so, how can they be bypassed. > > > > Ivan \~/ > I will guess you are talking about sqlite. You will tell me if I'm wrong. Gambas does not decide anything about the size of the database file. It just ask the sqlite library to open the file. Then, you should give more details about what you call "blowing up". I can't read minds yet! Does it crash ? if it does, how ? Do you have an error message ? Where ? For a crash, can you generate a gdb backtrace or run your project with valgrind, as specified on the "Report a problem" page on the web site ? Which file system do you use ?... And so on... -- Beno?t Minisini From gambas.fr at ...626... Wed Oct 19 21:52:36 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 19 Oct 2011 21:52:36 +0200 Subject: [Gambas-user] graph-plot-axis In-Reply-To: <201110191744.31024.wally@...2037...> References: <201110190455.57472.wally@...2037...> <201110191744.31024.wally@...2037...> Message-ID: this is a demo on how to draw it 2011/10/19 wally : > > Hello, > > i need only the linear axis ?(x,y cartesian scale). > I tried to draw it in drawing area but the numbers are not really > sharp readable. For sure i did something wrong. > I need tickmarks and some values on e.g. ?every 10th tickmark. > Best would be to have a QWT Widget avaiable in Gambas. > > wally > > > > On Wednesday, October 19, 2011 17:16:54 Fabien Bodard wrote: >> do you want a chart componant ? >> >> or just a ruber ? >> >> or the circle ? >> >> >> All is possible >> >> 2011/10/19 wally : >> > How can i make a x, y axis similar to the attached examples >> > using gambas3 ? Maybe an example is available. >> > >> > >> > ------------------------------------------------------------------------- >> > ----- All the data continuously generated in your IT infrastructure >> > contains a definitive record of customers, application performance, >> > security threats, fraudulent activity and more. Splunk takes this data >> > and makes sense of it. Business sense. IT sense. Common sense. >> > http://p.sf.net/sfu/splunk-d2d-oct >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: demoaxes-0.0.1.tar.gz Type: application/x-gzip Size: 5107 bytes Desc: not available URL: From gambas at ...2524... Wed Oct 19 21:57:54 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Oct 2011 19:57:54 +0000 Subject: [Gambas-user] Issue 127 in gambas: Gambas 3.0 RC5 compile issues In-Reply-To: <1-6813199134517018827-10076296154293635607-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10076296154293635607-gambas=googlecode.com@...2524...> <0-6813199134517018827-10076296154293635607-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10076296154293635607-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #2 on issue 127 by benoit.m... at ...626...: Gambas 3.0 RC5 compile issues http://code.google.com/p/gambas/issues/detail?id=127 Fixed in revision #4192 From gambas at ...2524... Wed Oct 19 22:01:57 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Oct 2011 20:01:57 +0000 Subject: [Gambas-user] Issue 126 in gambas: Is deleting graphical controls irreversible? In-Reply-To: <0-6813199134517018827-15438163900957316325-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15438163900957316325-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15438163900957316325-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #1 on issue 126 by benoit.m... at ...626...: Is deleting graphical controls irreversible? http://code.google.com/p/gambas/issues/detail?id=126 Undo is not implemented in the form editor. You can just reload a form that you have not saved yet. From gambas at ...2524... Wed Oct 19 22:05:40 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Oct 2011 20:05:40 +0000 Subject: [Gambas-user] Issue 130 in gambas: Undo / Redo in the form editor Message-ID: <0-6813199134517018827-13458801535548182978-gambas=googlecode.com@...2524...> Status: Accepted Owner: benoit.m... at ...626... Labels: Version-TRUNK Type-Enhancement Priority-Low OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 130 by benoit.m... at ...626...: Undo / Redo in the form editor http://code.google.com/p/gambas/issues/detail?id=130 Implement Undo & Redo features in the form editor. From gambas at ...2524... Wed Oct 19 22:21:15 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Oct 2011 20:21:15 +0000 Subject: [Gambas-user] Issue 130 in gambas: Undo / Redo in the form editor In-Reply-To: <0-6813199134517018827-13458801535548182978-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13458801535548182978-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13458801535548182978-gambas=googlecode.com@...2524...> Comment #1 on issue 130 by gambas... at ...626...: Undo / Redo in the form editor http://code.google.com/p/gambas/issues/detail?id=130 yes ... good idea ! From wally at ...2037... Wed Oct 19 22:31:59 2011 From: wally at ...2037... (wally) Date: Wed, 19 Oct 2011 22:31:59 +0200 Subject: [Gambas-user] graph-plot-axis In-Reply-To: References: <201110190455.57472.wally@...2037...> <201110191744.31024.wally@...2037...> Message-ID: <201110192232.00208.wally@...2037...> Merci beaucoup Fabian :) On Wednesday, October 19, 2011 21:52:36 Fabien Bodard wrote: > this is a demo on how to draw it > > 2011/10/19 wally : > > Hello, > > > > i need only the linear axis (x,y cartesian scale). > > I tried to draw it in drawing area but the numbers are not really > > sharp readable. For sure i did something wrong. > > I need tickmarks and some values on e.g. every 10th tickmark. > > Best would be to have a QWT Widget avaiable in Gambas. > > > > wally > > > > On Wednesday, October 19, 2011 17:16:54 Fabien Bodard wrote: > >> do you want a chart componant ? > >> > >> or just a ruber ? > >> > >> or the circle ? > >> > >> > >> All is possible > >> > >> 2011/10/19 wally : > >> > How can i make a x, y axis similar to the attached examples > >> > using gambas3 ? Maybe an example is available. > >> > > >> > > >> > ---------------------------------------------------------------------- > >> > --- ----- All the data continuously generated in your IT > >> > infrastructure contains a definitive record of customers, application > >> > performance, security threats, fraudulent activity and more. Splunk > >> > takes this data and makes sense of it. Business sense. IT sense. > >> > Common sense. http://p.sf.net/sfu/splunk-d2d-oct > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > > ----- All the data continuously generated in your IT infrastructure > > contains a definitive record of customers, application performance, > > security threats, fraudulent activity and more. Splunk takes this data > > and makes sense of it. Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2d-oct > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Wed Oct 19 22:51:02 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Oct 2011 20:51:02 +0000 Subject: [Gambas-user] Issue 129 in gambas: For-loop does not work on large ranges In-Reply-To: <1-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #2 on issue 129 by benoit.m... at ...626...: For-loop does not work on large ranges http://code.google.com/p/gambas/issues/detail?id=129 (No comment was entered for this change.) From fvegaf at ...67... Thu Oct 20 01:16:24 2011 From: fvegaf at ...67... (fvegaf) Date: Wed, 19 Oct 2011 16:16:24 -0700 (PDT) Subject: [Gambas-user] Unknown field -- Case sensitive fields? In-Reply-To: <32674413.post@...1379...> References: <32674413.post@...1379...> Message-ID: <32686256.post@...1379...> Why did it change from gambas 1 to Gambas 2? The same code was working fine in Gambas 1. fvegaf wrote: > > I'm getting the error "unknown field: codigo" > > This os the code: > '----------------- > cQuery = "Select Empleado, Codigo from Empleado where empleado=101010" > resEmp = con1.Exec(cQUery) > > FOR EACH resEmp > var = resEmp!codigo > NEXT > '----------------- > The line os on the line: "var = resEmp!codigo", changing to "var = > resEmp!Codigo" the error goes away. > > This used to work on gambas 1 (1.0.18), bur now in gambas2 (2.8) is > complaining about the exact case as defined in the query, or if I use > "select *" as defined in the Table. > > Is there a way to make it "case insensitive"? > > Thanks in advance for your valuable time. > > ps. I'm using Ubuntu 8.04 32 bits. > > -- View this message in context: http://old.nabble.com/Unknown-field----Case-sensitive-fields--tp32674413p32686256.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Thu Oct 20 12:51:38 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 20 Oct 2011 12:51:38 +0200 Subject: [Gambas-user] Unknown field -- Case sensitive fields? In-Reply-To: <32686256.post@...1379...> References: <32674413.post@...1379...> <32686256.post@...1379...> Message-ID: 2011/10/20 fvegaf : > > Why did it change from gambas 1 to Gambas 2? > > The same code was working fine in Gambas 1. > and there is change from gb2 to gb3... in other case we are never evolve gb1 is really old for us > > fvegaf wrote: >> >> I'm getting the error "unknown field: codigo" >> >> This os the code: >> '----------------- >> cQuery = "Select Empleado, Codigo from Empleado where empleado=101010" >> resEmp = con1.Exec(cQUery) >> >> FOR EACH resEmp >> ? var = resEmp!codigo >> NEXT >> '----------------- >> The line os on the line: "var = resEmp!codigo", changing to "var = >> resEmp!Codigo" the error goes away. >> >> This used to work on gambas 1 (1.0.18), bur now in gambas2 (2.8) is >> complaining about the exact case as defined in the query, or if I use >> "select *" as defined in the Table. >> >> Is there a way to make it "case insensitive"? >> >> Thanks in advance for your valuable time. >> >> ps. I'm using Ubuntu 8.04 32 bits. >> >> > > -- > View this message in context: http://old.nabble.com/Unknown-field----Case-sensitive-fields--tp32674413p32686256.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2706... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas at ...1... Thu Oct 20 12:56:49 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Oct 2011 12:56:49 +0200 Subject: [Gambas-user] Unknown field -- Case sensitive fields? In-Reply-To: <32686256.post@...1379...> References: <32674413.post@...1379...> <32686256.post@...1379...> Message-ID: <4E9FFE71.6010505@...1...> Le 20/10/2011 01:16, fvegaf a ?crit : > > Why did it change from gambas 1 to Gambas 2? > > The same code was working fine in Gambas 1. > This was an error to do that in Gambas 1, because fields are actually case sensitive in some of the underlying database servers. -- Beno?t Minisini From ivanwms64 at ...43... Thu Oct 20 14:49:09 2011 From: ivanwms64 at ...43... (Ivan Williams) Date: Thu, 20 Oct 2011 05:49:09 -0700 (PDT) Subject: [Gambas-user] Unknown field -- Case sensitive fields? In-Reply-To: <32686256.post@...1379...> References: <32674413.post@...1379...> <32686256.post@...1379...> Message-ID: <1319114949.11185.YahooMailNeo@...2708...> Yes, the variables are case sensitive which makes sense since we are in a *nix os. ? Ivan ?? \~/ ? I never saw a wild thing sorry for itself. A small bird will drop frozen dead from a bough Without ever having felt sorry for itself. -- D.H. Lawrence http://www.usconstitution.net/const.html Linux - Live Free or Die. ________________________________ From: fvegaf To: gambas-user at lists.sourceforge.net Sent: Wednesday, October 19, 2011 7:16 PM Subject: Re: [Gambas-user] Unknown field -- Case sensitive fields? Why did it change from gambas 1 to Gambas 2? The same code was working fine in Gambas 1. fvegaf wrote: > > I'm getting the error "unknown field: codigo" > > This os the code: > '----------------- > cQuery = "Select Empleado, Codigo from Empleado where empleado=101010" > resEmp = con1.Exec(cQUery) > > FOR EACH resEmp >? var = resEmp!codigo > NEXT > '----------------- > The line os on the line: "var = resEmp!codigo", changing to "var = > resEmp!Codigo" the error goes away. > > This used to work on gambas 1 (1.0.18), bur now in gambas2 (2.8) is > complaining about the exact case as defined in the query, or if I use > "select *" as defined in the Table. > > Is there a way to make it "case insensitive"? > > Thanks in advance for your valuable time. > > ps. I'm using Ubuntu 8.04 32 bits. > > -- View this message in context: http://old.nabble.com/Unknown-field----Case-sensitive-fields--tp32674413p32686256.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning at ...2706... Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From aromeroastorga at ...626... Fri Oct 21 17:08:39 2011 From: aromeroastorga at ...626... (Angel Romero Astorga) Date: Fri, 21 Oct 2011 17:08:39 +0200 Subject: [Gambas-user] Gb.qt.kde Component Message-ID: Hello all First of all I apologize because my English is bad. I hope you can understand it. I used to write with GAMBAS 2.21 on Ubuntu 11.04. No problems. When I update to Ubuntu 11.10, my programs (using gb.qt.kde component) work fine. But if I install Ubuntu 11.10 from zero, component gb.qt.kde isn't on repositories and my program don't work. Has anyone had the same problem? Thanks and sorry for my English From jussi.lahtinen at ...626... Fri Oct 21 18:25:49 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Oct 2011 19:25:49 +0300 Subject: [Gambas-user] Gb.qt.kde Component In-Reply-To: References: Message-ID: Hi! Just a guess... maybe you need to do this before compiling Gambas 2; sudo apt-get install kdelibs5-dev kdebase-dev Jussi On Fri, Oct 21, 2011 at 18:08, Angel Romero Astorga < aromeroastorga at ...626...> wrote: > Hello all > > First of all I apologize because my English is bad. I hope you can > understand it. > > I used to write with GAMBAS 2.21 on Ubuntu 11.04. No problems. When I > update > to Ubuntu 11.10, my programs (using gb.qt.kde component) work fine. But if > I > install Ubuntu 11.10 from zero, component gb.qt.kde isn't on repositories > and my program don't work. Has anyone had the same problem? > > Thanks and sorry for my English > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ea7dfh at ...2382... Fri Oct 21 18:32:48 2011 From: ea7dfh at ...2382... (Jesus) Date: Fri, 21 Oct 2011 18:32:48 +0200 Subject: [Gambas-user] Gb.qt.kde Component In-Reply-To: References: Message-ID: <4EA19EB0.40002@...2382...> El 21/10/11 18:25, Jussi Lahtinen escribi?: > Hi! > Just a guess... maybe you need to do this before compiling Gambas 2; > > sudo apt-get install kdelibs5-dev kdebase-dev > > > Jussi > > No, yet worse. See: http://www.ubuntuupdates.org/packages/show/330561 Perhaps it is the beginning of the end of Gambas2. QT3 libraries are being deprecated in some distributions, and perhaps some of older KDE's. Regards -- Jesus Guardon From jussi.lahtinen at ...626... Fri Oct 21 18:46:22 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Oct 2011 19:46:22 +0300 Subject: [Gambas-user] Gb.qt.kde Component In-Reply-To: <4EA19EB0.40002@...2382...> References: <4EA19EB0.40002@...2382...> Message-ID: > No, yet worse. See: > > http://www.ubuntuupdates.org/packages/show/330561 > > Perhaps it is the beginning of the end of Gambas2. QT3 libraries are > being deprecated in some distributions, and perhaps some of older KDE's. > Anyone knows why? I wonder what is needed to compile that component. At least there is kdelibs5-dev for Ubuntu 11.10. http://www.ubuntuupdates.org/packages/show/369013 Juss From gambas at ...2524... Fri Oct 21 20:11:08 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 21 Oct 2011 18:11:08 +0000 Subject: [Gambas-user] Issue 129 in gambas: For-loop does not work on large ranges In-Reply-To: <2-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 129 by benoit.m... at ...626...: For-loop does not work on large ranges http://code.google.com/p/gambas/issues/detail?id=129 Fixed in revision #4206. From gambas at ...2524... Sat Oct 22 08:09:06 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 22 Oct 2011 06:09:06 +0000 Subject: [Gambas-user] Issue 131 in gambas: FMain Border set to False is not revertable Message-ID: <0-6813199134517018827-3018072446816204629-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 131 by jscu... at ...626...: FMain Border set to False is not revertable http://code.google.com/p/gambas/issues/detail?id=131 1) Describe the problem. In my Program I set the border property to my FMain = False .. After I decided that, that is not what I wanted, so I tried to revert back and so set the border back to = True .. Unfortunatly without any result. When running the program, the border stays away. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: Gambas 2.99.5 (RC5) Operating system: Linux Distribution: Ubuntu Architecture: x86 / x86_64 GUI component: QT4 Desktop used: Gnome / KDE 3) Provide a little project that reproduces the bug or the crash. I can, but not public. This is a industrial project. 4) If your project needs a database, try to provide it, or part of it. postgresql 5) Explain clearly how to reproduce the bug or the crash. Set the bordre property to False and compile. From girardhenri at ...67... Sat Oct 22 08:22:27 2011 From: girardhenri at ...67... (Girard Henri) Date: Sat, 22 Oct 2011 08:22:27 +0200 Subject: [Gambas-user] Gb.qt.kde Component In-Reply-To: References: <4EA19EB0.40002@...2382...> Message-ID: Le 21/10/2011 18:46, Jussi Lahtinen a ?crit : >> No, yet worse. See: >> >> http://www.ubuntuupdates.org/packages/show/330561 >> >> Perhaps it is the beginning of the end of Gambas2. QT3 libraries are >> being deprecated in some distributions, and perhaps some of older KDE's. >> > Anyone knows why? > I wonder what is needed to compile that component. > At least there is kdelibs5-dev for Ubuntu 11.10. > http://www.ubuntuupdates.org/packages/show/369013 > > > Juss > I am on oneiric and gambas2 compiles well (svn), but no kde3 component because no more kdelibs4 replaced with kdelibs5 From gambas at ...2524... Sat Oct 22 14:36:55 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 22 Oct 2011 12:36:55 +0000 Subject: [Gambas-user] Issue 129 in gambas: For-loop does not work on large ranges In-Reply-To: <3-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Comment #4 on issue 129 by emil.len... at ...626...: For-loop does not work on large ranges http://code.google.com/p/gambas/issues/detail?id=129 But that solution is incorrect; it makes bug #95 valid again :p From gambas at ...2524... Sat Oct 22 20:10:03 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 22 Oct 2011 18:10:03 +0000 Subject: [Gambas-user] Issue 129 in gambas: For-loop does not work on large ranges In-Reply-To: <4-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Updates: Status: Started Comment #5 on issue 129 by benoit.m... at ...626...: For-loop does not work on large ranges http://code.google.com/p/gambas/issues/detail?id=129 Aaaarg... You're right! From demosthenesk at ...626... Sat Oct 22 21:16:53 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sat, 22 Oct 2011 22:16:53 +0300 Subject: [Gambas-user] [Fwd: Re: ToolButtons do not appear correct in Toolbar] Message-ID: <1319311013.24821.1.camel@...2689...> Has anyone see the Configure - "Not an object", Icon/size - "Null object" issues for the Toolbar? -------- Forwarded Message -------- > From: Demosthenes Koptsis > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] ToolButtons do not appear correct in > Toolbar > Date: Mon, 17 Oct 2011 18:37:46 +0300 > > No i use a ToolBar. > > So now, at runtime when i select "Configure..." with mouse right click i > get "Not an object" > > When i select "Icon size/Medium" etc i get Null object. > > Do i need to create forms for Configure and Size? > I dont understand what i should do. > > > On Fri, 2011-10-14 at 16:51 +0200, Fabien Bodard wrote: > > I think he not use a 'toolbar' but an hbox. > > And the hbox force the buttons height, so the picture are cut. > > > > try to set more height to the hbox or the toolbar > > > > > > > > Le 14 octobre 2011 16:42, Beno?t Minisini > > a ?crit : > > >> Hi, i add some toolbuttons on a Toolbar. > > >> Each button has an image but at runtime it does not appear correct. > > >> > > >> See png > > >> > > >> How to correct this? > > > > > > At the moment, toolbar height depends on the value of the toolbar internal > > > size that you can change only with the toolbar pop-up menu. > > > > > > The size can be "small", "medium" or "large". > > > > > > The toolbar button icon size follows this setting by changing the icon size > > > specified in an "icon://name" picture patch, or by stretching the icon > > > otherwise. > > > > > > Regards, > > > > > > -- > > > Beno?t Minisini > > > > > > ------------------------------------------------------------------------------ > > > All the data continuously generated in your IT infrastructure contains a > > > definitive record of customers, application performance, security > > > threats, fraudulent activity and more. Splunk takes this data and makes > > > sense of it. Business sense. IT sense. Common sense. > > > http://p.sf.net/sfu/splunk-d2d-oct > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > From imageek247 at ...626... Sun Oct 23 00:08:18 2011 From: imageek247 at ...626... (Christian DaGeek247 Stephens) Date: Sat, 22 Oct 2011 17:08:18 -0500 Subject: [Gambas-user] Transparent form Message-ID: *I am trying to make an OSD like the example app, but using a label instead of a picture. Its almost cone, but there is one problem. The form is not transparent. how do i make it so? * -- *If a packet hits a pocket on a socket on a port,* *and the bus is interrupted as a very last resort,* *and the address of the memory makes your floppy disk abort,* *then the socket packet pocket has an error to report! * * * * **DaGeek247 of http://dageek247.tk/* From gambas.fr at ...626... Sun Oct 23 00:21:31 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 23 Oct 2011 00:21:31 +0200 Subject: [Gambas-user] Transparent form In-Reply-To: References: Message-ID: you need to use a picture ... you need a picture for the mask 2011/10/23 Christian DaGeek247 Stephens : > *I am trying to make an OSD like the example app, but using a label instead > of a picture. Its almost cone, but there is one problem. The form is not > transparent. how do i make it so? > * > > -- > *If a packet hits a pocket on a socket on a port,* > *and the bus is interrupted as a very last resort,* > *and the address of the memory makes your floppy disk abort,* > *then the socket packet pocket has an error to report! * > * > * > * ? ? ? ? ? **DaGeek247 of http://dageek247.tk/* > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From imageek247 at ...626... Sun Oct 23 01:48:57 2011 From: imageek247 at ...626... (Christian DaGeek247 Stephens) Date: Sat, 22 Oct 2011 18:48:57 -0500 Subject: [Gambas-user] Transparent Form Message-ID: *"* Message: 8 Date: Sun, 23 Oct 2011 00:21:31 +0200 From: Fabien Bodard Subject: Re: [Gambas-user] Transparent form To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=ISO-8859-1 you need to use a picture ... you need a picture for the mask 2011/10/23 Christian DaGeek247 Stephens : > *I am trying to make an OSD like the example app, but using a label instead > of a picture. Its almost cone, but there is one problem. The form is not > transparent. how do i make it so? > * > > -- > *If a packet hits a pocket on a socket on a port,* > *and the bus is interrupted as a very last resort,* > *and the address of the memory makes your floppy disk abort,* > *then the socket packet pocket has an error to report! * > * > * > * ? ? ? ? ? **DaGeek247 of http://dageek247.tk/* > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard ------------------------------ ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning at ...2709... Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user *"* *I know how to use a picture, but it is to grainy for my purposes. any way to make the form transparent? * -- *If a packet hits a pocket on a socket on a port,* *and the bus is interrupted as a very last resort,* *and the address of the memory makes your floppy disk abort,* *then the socket packet pocket has an error to report! * * * * **DaGeek247 of http://dageek247.tk/* From wally at ...2037... Sun Oct 23 05:27:29 2011 From: wally at ...2037... (wally) Date: Sun, 23 Oct 2011 05:27:29 +0200 Subject: [Gambas-user] 2D-Array ? Message-ID: <201110230527.29294.wally@...2037...> Hi, more important as the following question itself, is where may i find the answer myself without this mailinglist ? I always have problems to find sufficient documentation on gambas :( Where to search for it ? How to search the mailinglist archive ? How can i do the following C code in a Public Sub Button1_Click() in Gambas 3 ? int main() { int i; float arr[][2] = { {1.2, 3.4} , {4.5, 5.6} , {7.8 , 8.9} }; <-- ??? printf("%i \n", sizeof(arr)/sizeof(float)/2); for (i=0;i<(sizeof(arr)/sizeof(float)/2);i++) { printf("%2.2f \t %2.2f \n",arr[i][0],arr[i][1]); } return 0; } From bbruen at ...2308... Sun Oct 23 08:16:07 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Sun, 23 Oct 2011 16:46:07 +1030 Subject: [Gambas-user] 2D-Array ? In-Reply-To: <201110230527.29294.wally@...2037...> References: <201110230527.29294.wally@...2037...> Message-ID: <1319350567.10821.4.camel@...2688...> On Sun, 2011-10-23 at 05:27 +0200, wally wrote: > Hi, > > more important as the following question itself, is where may i find the > answer myself without this mailinglist ? > I always have problems to find sufficient documentation on gambas :( > Where to search for it ? > How to search the mailinglist archive ? > > How can i do the following C code in a Public Sub Button1_Click() > in Gambas 3 ? > > int main() { > int i; > > float arr[][2] = { {1.2, 3.4} , {4.5, 5.6} , {7.8 , 8.9} }; <-- ??? > > printf("%i \n", sizeof(arr)/sizeof(float)/2); > for (i=0;i<(sizeof(arr)/sizeof(float)/2);i++) { > printf("%2.2f \t %2.2f \n",arr[i][0],arr[i][1]); > } > return 0; > } Public Sub Button1_Click() Dim i As Integer Dim arr As Float[][]= [[1.11111, 2.23456], [2.27654, 3.3], [3.4, 4.50], [123456.789, 987654.321]] For i = 0 To arr.Max Print Round(arr[i][0], -2), Round(arr[i][1], -2) Next End Apart from Round(float,int) accepting a -ve number which is well explained in the help, I would have thought the rest was intuitively obvious to even the most casual of observer :-) I've said this before and no doubt I'll say it again, the gambas help is very succinct. Read every word in a help page and consider what it means. hth Bruce From wally at ...2037... Sun Oct 23 09:20:37 2011 From: wally at ...2037... (wally) Date: Sun, 23 Oct 2011 09:20:37 +0200 Subject: [Gambas-user] 2D-Array ? In-Reply-To: <1319350567.10821.4.camel@...2688...> References: <201110230527.29294.wally@...2037...> <1319350567.10821.4.camel@...2688...> Message-ID: <201110230920.37631.wally@...2037...> On Sunday, October 23, 2011 08:16:07 Bruce Bruen wrote: > On Sun, 2011-10-23 at 05:27 +0200, wally wrote: > > Hi, > > > > more important as the following question itself, is where may i find the > > answer myself without this mailinglist ? > > I always have problems to find sufficient documentation on gambas :( > > Where to search for it ? > > How to search the mailinglist archive ? > > > > How can i do the following C code in a Public Sub Button1_Click() > > in Gambas 3 ? > > > > int main() { > > > > int i; > > > > float arr[][2] = { {1.2, 3.4} , {4.5, 5.6} , {7.8 , 8.9} }; <-- > > ??? > > > > printf("%i \n", sizeof(arr)/sizeof(float)/2); > > for (i=0;i<(sizeof(arr)/sizeof(float)/2);i++) { > > > > printf("%2.2f \t %2.2f \n",arr[i][0],arr[i][1]); > > > > } > > > > return 0; > > } > > Public Sub Button1_Click() > > Dim i As Integer > Dim arr As Float[][]= [[1.11111, 2.23456], [2.27654, 3.3], [3.4, > 4.50], [123456.789, 987654.321]] > > For i = 0 To arr.Max > Print Round(arr[i][0], -2), Round(arr[i][1], -2) > Next > > End > > Apart from Round(float,int) accepting a -ve number which is well > explained in the help, I would have thought the rest was intuitively > obvious to even the most casual of observer :-) > > I've said this before and no doubt I'll say it again, the gambas help is > very succinct. Read every word in a help page and consider what it > means. > hth > Bruce > --------------------------------------------------------------------------- > --- The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi Bruce, thank you I tried "{ }" and "( )" but not "[ ]" :) what does this sentence mean > Apart from Round(float,int) accepting a -ve number ... " wally From Gambas at ...1950... Sun Oct 23 09:43:23 2011 From: Gambas at ...1950... (Caveat) Date: Sun, 23 Oct 2011 09:43:23 +0200 Subject: [Gambas-user] 2D-Array ? In-Reply-To: <201110230920.37631.wally@...2037...> References: <201110230527.29294.wally@...2037...> <1319350567.10821.4.camel@...2688...> <201110230920.37631.wally@...2037...> Message-ID: <1319355804.21290.90.camel@...2150...> Don't shoot me for stating the obvious, but -ve means negative. So I guess Bruce is just saying that intuitively he'd expect round(float, int) to look like round(my_float, 2) if you wanted to round my_float to 2 decimal places but in fact you need round(my_float, -2). Kind regards, Caveat On Sun, 2011-10-23 at 09:20 +0200, wally wrote: > On Sunday, October 23, 2011 08:16:07 Bruce Bruen wrote: > > On Sun, 2011-10-23 at 05:27 +0200, wally wrote: > > > Hi, > > > > > > more important as the following question itself, is where may i find the > > > answer myself without this mailinglist ? > > > I always have problems to find sufficient documentation on gambas :( > > > Where to search for it ? > > > How to search the mailinglist archive ? > > > > > > How can i do the following C code in a Public Sub Button1_Click() > > > in Gambas 3 ? > > > > > > int main() { > > > > > > int i; > > > > > > float arr[][2] = { {1.2, 3.4} , {4.5, 5.6} , {7.8 , 8.9} }; <-- > > > ??? > > > > > > printf("%i \n", sizeof(arr)/sizeof(float)/2); > > > for (i=0;i<(sizeof(arr)/sizeof(float)/2);i++) { > > > > > > printf("%2.2f \t %2.2f \n",arr[i][0],arr[i][1]); > > > > > > } > > > > > > return 0; > > > } > > > > Public Sub Button1_Click() > > > > Dim i As Integer > > Dim arr As Float[][]= [[1.11111, 2.23456], [2.27654, 3.3], [3.4, > > 4.50], [123456.789, 987654.321]] > > > > For i = 0 To arr.Max > > Print Round(arr[i][0], -2), Round(arr[i][1], -2) > > Next > > > > End > > > > Apart from Round(float,int) accepting a -ve number which is well > > explained in the help, I would have thought the rest was intuitively > > obvious to even the most casual of observer :-) > > > > I've said this before and no doubt I'll say it again, the gambas help is > > very succinct. Read every word in a help page and consider what it > > means. > > hth > > Bruce > > --------------------------------------------------------------------------- > > --- The demand for IT networking professionals continues to grow, and the > > demand for specialized networking skills is growing even more rapidly. > > Take a complimentary Learning at ...2709... Self-Assessment and learn > > about Cisco certifications, training, and career opportunities. > > http://p.sf.net/sfu/cisco-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Hi Bruce, > > thank you > I tried "{ }" and "( )" but not "[ ]" :) > > what does this sentence mean > > Apart from Round(float,int) accepting a -ve number ... " > > wally > > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From wally at ...2037... Sun Oct 23 10:00:10 2011 From: wally at ...2037... (wally) Date: Sun, 23 Oct 2011 10:00:10 +0200 Subject: [Gambas-user] 2D-Array ? In-Reply-To: <1319355804.21290.90.camel@...2150...> References: <201110230527.29294.wally@...2037...> <201110230920.37631.wally@...2037...> <1319355804.21290.90.camel@...2150...> Message-ID: <201110231000.10655.wally@...2037...> :) -ve is negative +ve is positive never seen this before, thx On Sunday, October 23, 2011 09:43:23 Caveat wrote: > Don't shoot me for stating the obvious, but -ve means negative. > > So I guess Bruce is just saying that intuitively he'd expect > round(float, int) to look like round(my_float, 2) if you wanted to round > my_float to 2 decimal places but in fact you need round(my_float, -2). > > Kind regards, > Caveat > > On Sun, 2011-10-23 at 09:20 +0200, wally wrote: > > On Sunday, October 23, 2011 08:16:07 Bruce Bruen wrote: > > > On Sun, 2011-10-23 at 05:27 +0200, wally wrote: > > > > Hi, > > > > > > > > more important as the following question itself, is where may i find > > > > the answer myself without this mailinglist ? > > > > I always have problems to find sufficient documentation on gambas :( > > > > Where to search for it ? > > > > How to search the mailinglist archive ? > > > > > > > > How can i do the following C code in a Public Sub Button1_Click() > > > > in Gambas 3 ? > > > > > > > > int main() { > > > > > > > > int i; > > > > > > > > float arr[][2] = { {1.2, 3.4} , {4.5, 5.6} , {7.8 , 8.9} }; > > > > <-- ??? > > > > > > > > printf("%i \n", sizeof(arr)/sizeof(float)/2); > > > > for (i=0;i<(sizeof(arr)/sizeof(float)/2);i++) { > > > > > > > > printf("%2.2f \t %2.2f \n",arr[i][0],arr[i][1]); > > > > > > > > } > > > > > > > > return 0; > > > > } > > > > > > Public Sub Button1_Click() > > > > > > Dim i As Integer > > > Dim arr As Float[][]= [[1.11111, 2.23456], [2.27654, 3.3], [3.4, > > > > > > 4.50], [123456.789, 987654.321]] > > > > > > For i = 0 To arr.Max > > > > > > Print Round(arr[i][0], -2), Round(arr[i][1], -2) > > > > > > Next > > > > > > End > > > > > > Apart from Round(float,int) accepting a -ve number which is well > > > explained in the help, I would have thought the rest was intuitively > > > obvious to even the most casual of observer :-) > > > > > > I've said this before and no doubt I'll say it again, the gambas help > > > is very succinct. Read every word in a help page and consider what it > > > means. > > > hth > > > Bruce > > > ----------------------------------------------------------------------- > > > ---- --- The demand for IT networking professionals continues to grow, > > > and the demand for specialized networking skills is growing even more > > > rapidly. Take a complimentary Learning at ...2709... Self-Assessment and learn > > > about Cisco certifications, training, and career opportunities. > > > http://p.sf.net/sfu/cisco-dev2dev > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > Hi Bruce, > > > > thank you > > I tried "{ }" and "( )" but not "[ ]" :) > > > > what does this sentence mean > > > > > Apart from Round(float,int) accepting a -ve number ... " > > > > wally > > > > > > > > ------------------------------------------------------------------------- > > ----- The demand for IT networking professionals continues to grow, and > > the demand for specialized networking skills is growing even more > > rapidly. Take a complimentary Learning at ...2709... Self-Assessment and learn > > about Cisco certifications, training, and career opportunities. > > http://p.sf.net/sfu/cisco-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > --------------------------------------------------------------------------- > --- The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Sun Oct 23 11:44:34 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 23 Oct 2011 11:44:34 +0200 Subject: [Gambas-user] 2D-Array ? In-Reply-To: <1319350567.10821.4.camel@...2688...> References: <201110230527.29294.wally@...2037...> <1319350567.10821.4.camel@...2688...> Message-ID: 2011/10/23 Bruce Bruen : > On Sun, 2011-10-23 at 05:27 +0200, wally wrote: > >> Hi, >> >> more important as the following question itself, is where may i find the >> answer myself without this mailinglist ? >> I always have problems to find sufficient documentation on gambas :( >> Where to search for it ? >> How to search the mailinglist archive ? >> >> How can i do the following C code in a Public Sub Button1_Click() >> in Gambas 3 ? >> >> int main() { >> ? ? ?int i; >> >> ? ? ?float arr[][2] = { {1.2, 3.4} , {4.5, 5.6} , {7.8 , 8.9} }; ? <-- ??? >> >> ? ? ?printf("%i \n", sizeof(arr)/sizeof(float)/2); >> ? ? ?for (i=0;i<(sizeof(arr)/sizeof(float)/2);i++) { >> ? ? ? ? ? printf("%2.2f \t %2.2f \n",arr[i][0],arr[i][1]); >> ? ? ?} >> return 0; >> } > > > Public Sub Button1_Click() > > ?Dim i As Integer > ?Dim arr As Float[][]= [[1.11111, 2.23456], [2.27654, 3.3], [3.4, > 4.50], [123456.789, 987654.321]] > > ?For i = 0 To arr.Max > ? ?Print Round(arr[i][0], -2), Round(arr[i][1], -2) hum nonono ! Print subst("&1\t&2",format(arr[i][0],"0.00"),format(arr[i][1],"0.00")) > ?Next > > End > > Apart from Round(float,int) accepting a -ve number which is well > explained in the help, I would have thought the rest was intuitively > obvious to even the most casual of observer :-) > > I've said this before and no doubt I'll say it again, the gambas help is > very succinct. ?Read every word in a help page and consider what it > means. > hth > Bruce > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From jussi.lahtinen at ...626... Sun Oct 23 14:10:47 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Oct 2011 15:10:47 +0300 Subject: [Gambas-user] 2D-Array ? In-Reply-To: <201110230527.29294.wally@...2037...> References: <201110230527.29294.wally@...2037...> Message-ID: http://gambasdoc.org/help http://old.nabble.com/Gambas-f3425.html Jussi On Sun, Oct 23, 2011 at 06:27, wally wrote: > Hi, > > more important as the following question itself, is where may i find the > answer myself without this mailinglist ? > I always have problems to find sufficient documentation on gambas :( > Where to search for it ? > How to search the mailinglist archive ? > > How can i do the following C code in a Public Sub Button1_Click() > in Gambas 3 ? > > int main() { > int i; > > float arr[][2] = { {1.2, 3.4} , {4.5, 5.6} , {7.8 , 8.9} }; <-- ??? > > printf("%i \n", sizeof(arr)/sizeof(float)/2); > for (i=0;i<(sizeof(arr)/sizeof(float)/2);i++) { > printf("%2.2f \t %2.2f \n",arr[i][0],arr[i][1]); > } > return 0; > } > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sun Oct 23 19:14:29 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 23 Oct 2011 17:14:29 +0000 Subject: [Gambas-user] Issue 129 in gambas: For-loop does not work on large ranges In-Reply-To: <5-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> <0-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-8870520100759798751-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #6 on issue 129 by benoit.m... at ...626...: For-loop does not work on large ranges http://code.google.com/p/gambas/issues/detail?id=129 It should be fixed in revision #4208. I remove the optimization until I find a good one. From gambas at ...2524... Sun Oct 23 19:18:30 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 23 Oct 2011 17:18:30 +0000 Subject: [Gambas-user] Issue 131 in gambas: FMain Border set to False is not revertable In-Reply-To: <0-6813199134517018827-3018072446816204629-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3018072446816204629-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3018072446816204629-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 131 by benoit.m... at ...626...: FMain Border set to False is not revertable http://code.google.com/p/gambas/issues/detail?id=131 I cannot reproduce the problem. Please provide a project that reproduces the bug. From jussi.lahtinen at ...626... Sun Oct 23 20:54:04 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Oct 2011 21:54:04 +0300 Subject: [Gambas-user] Bug with border property. In-Reply-To: References: <201106250123.13424.gambas@...1...> Message-ID: This bug seems to be still valid. Gamabs 3 rev 4209 @ Ubuntu 11.04 64bit Qt4=libQtCore.so.4.7.2 Jussi On Sun, Jun 26, 2011 at 18:23, Jussi Lahtinen wrote: > metacity 2.30.3 > > Jussi > > > > 2011/6/25 Beno?t Minisini > >> > Hi! >> > Borderless windows doesn't work (borders are showing) when combined to >> > 'Mask = True'. >> > Problem is only with Qt4, with GTK+ everything is OK. >> > >> > Gambas 3 rev 3888 @ Ubuntu 11.04 64bit >> > >> > Jussi >> >> I habe no problem on KDE. Which window manager do you use? >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense.. >> http://p.sf.net/sfu/splunk-d2d-c1 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Sun Oct 23 21:38:41 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 23 Oct 2011 21:38:41 +0200 Subject: [Gambas-user] Bug with border property. In-Reply-To: References: <201106250123.13424.gambas@...1...> Message-ID: <4EA46D41.80302@...1...> Le 23/10/2011 20:54, Jussi Lahtinen a ?crit : > This bug seems to be still valid. > > > Gamabs 3 rev 4209 @ Ubuntu 11.04 64bit > > Qt4=libQtCore.so.4.7.2 > > > Jussi > I confirm... Border = False does not like when Resizable = False too... -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Oct 23 21:56:24 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Oct 2011 22:56:24 +0300 Subject: [Gambas-user] Bug with border property. In-Reply-To: <4EA46D41.80302@...1...> References: <201106250123.13424.gambas@...1...> <4EA46D41.80302@...1...> Message-ID: Is it fixable or Qt thing? Jussi 2011/10/23 Beno?t Minisini > Le 23/10/2011 20:54, Jussi Lahtinen a ?crit : > > This bug seems to be still valid. > > > > > > Gamabs 3 rev 4209 @ Ubuntu 11.04 64bit > > > > Qt4=libQtCore.so.4.7.2 > > > > > > Jussi > > > > I confirm... Border = False does not like when Resizable = False too... > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sun Oct 23 23:50:13 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 23 Oct 2011 21:50:13 +0000 Subject: [Gambas-user] Issue 132 in gambas: Not possible to pass more than one function pointer Message-ID: <0-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 132 by svit... at ...626...: Not possible to pass more than one function pointer http://code.google.com/p/gambas/issues/detail?id=132 If the external function takes multiple callbacks, they all point to the first callback. Version: rc5 Operating system: Linux Architecture: x86_64 Ouutput Test Application: MMain.step_callback.38: MMain.step_callback.38: MMain.step_callback.38: The correct output: MMain.step_callback.38: MMain.step_callback.38: MMain.final_callback.44: Perhaps the reason is that as a key in the hash table used by the program counter? Attachments: callback_bug-0.0.1.tar.gz 4.8 KB From gambas at ...2524... Mon Oct 24 02:18:26 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 00:18:26 +0000 Subject: [Gambas-user] Issue 131 in gambas: FMain Border set to False is not revertable In-Reply-To: <1-6813199134517018827-3018072446816204629-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3018072446816204629-gambas=googlecode.com@...2524...> <0-6813199134517018827-3018072446816204629-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3018072446816204629-gambas=googlecode.com@...2524...> Comment #2 on issue 131 by benoit.m... at ...626...: FMain Border set to False is not revertable http://code.google.com/p/gambas/issues/detail?id=131 Is it better with revision #4210? From gambas at ...2524... Mon Oct 24 05:48:52 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 03:48:52 +0000 Subject: [Gambas-user] Issue 133 in gambas: Folding fails on empty class file Message-ID: <0-6813199134517018827-10543093593605838854-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 133 by adamn... at ...626...: Folding fails on empty class file http://code.google.com/p/gambas/issues/detail?id=133 1) Describe the problem. (This is pretty minor, but it took me some time to find out what was happening. The problem occurred for me when converting a gb2 project that contained an empty class file.) At line 2359 in the IDE FEditor class (the Reload sub), the CollapseAll call crashes the IDE on an empty file. 2358 If Not Project.RestoringFiles Then 2359 If Settings["/Editor/Fold"] Then edtEditor.CollapseAll 2360 Endif This is essentially similar to Issue 105, but it (theoretically) should not arise through normal use - however, converting a gb2 project that does contain an empty class fails without warning. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK (latest) Revision: 4120 Operating system: Linux Distribution: Ubuntu / Fedora / ArchLinux / Gentoo ... Architecture: x86 GUI component: GTK+ Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. N/A 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Create an empty file in a project, say xxx.class using an external editor Start the IDE Turn on automatic code folding. Open the xxx.class file. ==> IDE Crashes. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...2524... Mon Oct 24 14:05:18 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 12:05:18 +0000 Subject: [Gambas-user] Issue 132 in gambas: Not possible to pass more than one function pointer In-Reply-To: <0-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 132 by benoit.m... at ...626...: Not possible to pass more than one function pointer http://code.google.com/p/gambas/issues/detail?id=132 (No comment was entered for this change.) From gambas at ...2524... Mon Oct 24 14:21:33 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 12:21:33 +0000 Subject: [Gambas-user] Issue 132 in gambas: Not possible to pass more than one function pointer In-Reply-To: <2-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> <0-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> Comment #3 on issue 132 by benoit.m... at ...626...: Not possible to pass more than one function pointer http://code.google.com/p/gambas/issues/detail?id=132 You were right about the cause. It should be fixed in revision #4212. From gambas at ...2524... Mon Oct 24 14:17:30 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 12:17:30 +0000 Subject: [Gambas-user] Issue 132 in gambas: Not possible to pass more than one function pointer In-Reply-To: <1-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> <0-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14628408275452940353-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 132 by benoit.m... at ...626...: Not possible to pass more than one function pointer http://code.google.com/p/gambas/issues/detail?id=132 It should be fixed in revision #4212. From gambas at ...2524... Mon Oct 24 19:19:27 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 17:19:27 +0000 Subject: [Gambas-user] Issue 134 in gambas: gb.report not work properly Message-ID: <0-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 134 by flynetin... at ...626...: gb.report not work properly http://code.google.com/p/gambas/issues/detail?id=134 1) I have an application that uses gb.report to print invoices and even the version RC3 working properly. Since I upgraded to RC5 printed reports only the first line. I tried to change parts of the report but always prints only the first line. I went back to RC3 and it works perfectly. I try with gambas3 examples and works fine 2) Version: TRUNK Gambas3-2.99.5 Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: QT4 Desktop used: Gnome 3)bd Clientes attached to the example Attachments: ReportExample.zip 43.3 KB Clientes.sql 1.0 KB From gambas at ...2524... Mon Oct 24 19:25:34 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 17:25:34 +0000 Subject: [Gambas-user] Issue 74 in gambas: printer error with gb.report and gb.qt In-Reply-To: <12-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> References: <12-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> <0-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Message-ID: <13-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Comment #13 on issue 74 by flynetin... at ...626...: printer error with gb.report and gb.qt http://code.google.com/p/gambas/issues/detail?id=74 The problem still persist. Attached the example modified with db Clientes Attachments: ReportExample2.zip 41.9 KB Clientes.sql 1.0 KB From gambas at ...2524... Mon Oct 24 22:10:44 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 20:10:44 +0000 Subject: [Gambas-user] Issue 133 in gambas: Folding fails on empty class file In-Reply-To: <0-6813199134517018827-10543093593605838854-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10543093593605838854-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10543093593605838854-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 133 by benoit.m... at ...626...: Folding fails on empty class file http://code.google.com/p/gambas/issues/detail?id=133 (No comment was entered for this change.) From gambas at ...2524... Mon Oct 24 22:14:49 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 20:14:49 +0000 Subject: [Gambas-user] Issue 133 in gambas: Folding fails on empty class file In-Reply-To: <1-6813199134517018827-10543093593605838854-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10543093593605838854-gambas=googlecode.com@...2524...> <0-6813199134517018827-10543093593605838854-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10543093593605838854-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 133 by benoit.m... at ...626...: Folding fails on empty class file http://code.google.com/p/gambas/issues/detail?id=133 Fixed in revision #4217. From gambas at ...2524... Mon Oct 24 22:26:07 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 20:26:07 +0000 Subject: [Gambas-user] Issue 128 in gambas: Gambas does not catch HttpClient events In-Reply-To: <2-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> <0-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #3 on issue 128 by benoit.m... at ...626...: Gambas does not catch HttpClient events http://code.google.com/p/gambas/issues/detail?id=128 (No comment was entered for this change.) From gambas at ...2524... Mon Oct 24 22:30:09 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Oct 2011 20:30:09 +0000 Subject: [Gambas-user] Issue 128 in gambas: Gambas does not catch HttpClient events In-Reply-To: <3-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> <0-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-17172646510600152212-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 128 by benoit.m... at ...626...: Gambas does not catch HttpClient events http://code.google.com/p/gambas/issues/detail?id=128 There was a bug that made HttpClient and FtpClient synchronous by default. It is fixed in revision #4218, and now HttpClient and FtpClient are asynchronous by default again. From bbruen at ...2308... Mon Oct 24 23:30:51 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 25 Oct 2011 08:00:51 +1030 Subject: [Gambas-user] User timezone - could I ask a favour? Message-ID: <1319491851.10821.19.camel@...2688...> Hi all, According to my web research the module below is the "best" way to obtain the user's timezone name (or "Olson name" if you prefer). This is because distros implement timezoning in different ways. It works fine for me using using the test harnesses I can devise for my (non-standard) distro. I was hoping that some of you would run it on your distro and report that it works OK. It should just print your timezone name like "Arctic/Longyearbyen" Thanks in advance. Bruce ' Gambas module file Public Sub main() Print GetUserTimezone() End Private Function GetUserTimezone() As String Dim tzetc As String ' Used to determine the type of the /etc/localtime file Dim tzmd5 As String ' The md5 sum for the /etc/localtime file Dim rtnval As String ' Manipulated substring of tzraw that is finally returned rtnval = Replace(Application.Env["TZ"], "/usr/share/zoneinfo/", "") If Not rtnval Then Shell "file /etc/localtime" To tzetc If tzetc Like "* symbolic link to *" Then rtnval = Mid(tzetc, InStr(tzetc, "`") + 1, -2) rtnval = Replace(rtnval, "/usr/share/zoneinfo/", "") Endif Endif If Not rtnval Then Shell "md5sum /etc/localtime" To tzmd5 tzmd5 = Left(tzmd5, InStr(tzmd5, " ") - 1) Shell Subst("find /usr/share/zoneinfo -type f | xargs md5sum | grep &1", tzmd5) To rtnval rtnval = Left(rtnval, InStr(rtnval, "\n") - 1) rtnval = Mid(rtnval, InStr(rtnval, "info/") + 5) Endif Return Replace(rtnval, "posix/", "") End From dr.diesel at ...626... Tue Oct 25 01:07:37 2011 From: dr.diesel at ...626... (Dr.Diesel) Date: Mon, 24 Oct 2011 16:07:37 -0700 (PDT) Subject: [Gambas-user] Vertical Progress Bar? Message-ID: <32713955.post@...1379...> Any possible trick to flipping a progress bar to the vertical position? Thanks Andy -- View this message in context: http://old.nabble.com/Vertical-Progress-Bar--tp32713955p32713955.html Sent from the gambas-user mailing list archive at Nabble.com. From wally at ...2037... Tue Oct 25 08:25:42 2011 From: wally at ...2037... (wally) Date: Tue, 25 Oct 2011 08:25:42 +0200 Subject: [Gambas-user] integer array in struct ? Message-ID: <201110250825.42333.wally@...2037...> Can i use an integer array in struct with Gambas 3 ? How to handle it ? (declaration, initilisation etc.) Public Struct axis i As Integer f As Float ia As Integer[] End Struct axis.ia.add(123) --> null object axis.ia[0] - ? thx wally From bbruen at ...2308... Tue Oct 25 10:53:18 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 25 Oct 2011 19:23:18 +1030 Subject: [Gambas-user] integer array in struct ? In-Reply-To: <201110250825.42333.wally@...2037...> References: <201110250825.42333.wally@...2037...> Message-ID: <1319532798.10821.20.camel@...2688...> On Tue, 2011-10-25 at 08:25 +0200, wally wrote: > Public Struct axis > i As Integer > f As Float > ia As Integer[] > End Struct etc ' Gambas module file Public Struct axis i As Integer f As Float ia As Integer[] End Struct Public Sub Main() Dim testit As New Axis Dim x As Integer testit.ia = New Integer[] testit.i = 212 testit.f = Pi() Print testit.ia.Bounds testit.ia.Add(1) testit.ia.Add(2) For x = 1 To 312654 testit.ia.Add(x) Next End seems to work. Bruce From bbruen at ...2308... Tue Oct 25 11:44:49 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 25 Oct 2011 20:14:49 +1030 Subject: [Gambas-user] integer array in struct ? In-Reply-To: <1319532798.10821.20.camel@...2688...> References: <201110250825.42333.wally@...2037...> <1319532798.10821.20.camel@...2688...> Message-ID: <1319535889.10821.25.camel@...2688...> On the other hand, the following piece of garbage is also correct. Better minds than I will have to tell you what's in the array. ' Gambas module file Public Struct axis i As Integer f As Float ia As Integer[] End Struct Public Sub Main() Dim testit As New Axis Dim x As Integer Dim y As Integer testit.ia = New Integer[][] testit.i = 212 testit.f = Pi() For x = 0 To 120 If x Mod 2 = 0 Then testit.ia.Add(x, 0) Print "Seagoon:\tYing "; Else If x Mod 5 = 0 testit.ia.Add(x, 1) Print "Tong\nBluebottle:\tTiddle-I-Po" Else testit.ia.Add(x, 2) Print "Tong" Endif Next Print " Tong\nBluebottle/Seagoon:\tTiidle-i-Po\nAll:\tTiddle-I-Po" Print "Grippype-Thin:\tOh Min, that N-n-n-eddy, he'll be the death of us yet!" End Clue! All you have done in the struct is to declare "ia" to be an integer array, it's not till you (or any other programmer) instantiates it - any old way they like - that it's dimensionality and cardinality is decided. Good luck! Bruce From johny.provoost at ...27... Tue Oct 25 12:06:34 2011 From: johny.provoost at ...27... (Johny Provoost) Date: Tue, 25 Oct 2011 12:06:34 +0200 Subject: [Gambas-user] User timezone - could I ask a favour? In-Reply-To: <1319491851.10821.19.camel@...2688...> References: <1319491851.10821.19.camel@...2688...> Message-ID: <4EA68A2A.20007@...27...> Op 24-10-11 23:30, Bruce Bruen schreef: > Hi all, > > According to my web research the module below is the "best" way to > obtain the user's timezone name (or "Olson name" if you prefer). This > is because distros implement timezoning in different ways. > > It works fine for me using using the test harnesses I can devise for my > (non-standard) distro. I was hoping that some of you would run it on > your distro and report that it works OK. It should just print your > timezone name like "Arctic/Longyearbyen" > > Thanks in advance. > Bruce > > ' Gambas module file > > Public Sub main() > > Print GetUserTimezone() > > End > > Private Function GetUserTimezone() As String > > Dim tzetc As String ' Used to determine the type of > the /etc/localtime file > Dim tzmd5 As String ' The md5 sum for the /etc/localtime file > Dim rtnval As String ' Manipulated substring of tzraw that is finally > returned > > rtnval = Replace(Application.Env["TZ"], "/usr/share/zoneinfo/", "") > > If Not rtnval Then > Shell "file /etc/localtime" To tzetc > If tzetc Like "* symbolic link to *" Then > rtnval = Mid(tzetc, InStr(tzetc, "`") + 1, -2) > rtnval = Replace(rtnval, "/usr/share/zoneinfo/", "") > Endif > Endif > > If Not rtnval Then > Shell "md5sum /etc/localtime" To tzmd5 > tzmd5 = Left(tzmd5, InStr(tzmd5, " ") - 1) > Shell Subst("find /usr/share/zoneinfo -type f | xargs md5sum | grep > &1", tzmd5) To rtnval > rtnval = Left(rtnval, InStr(rtnval, "\n") - 1) > rtnval = Mid(rtnval, InStr(rtnval, "info/") + 5) > Endif > > Return Replace(rtnval, "posix/", "") > > End > OK, I get Europe/Brussels and that's correct Gambas 2.21 Ubuntu 11.04 with gnome2 Greetings, Johny Provoost From wally at ...2037... Tue Oct 25 12:32:07 2011 From: wally at ...2037... (wally) Date: Tue, 25 Oct 2011 12:32:07 +0200 Subject: [Gambas-user] integer array in struct ? In-Reply-To: <1319535889.10821.25.camel@...2688...> References: <201110250825.42333.wally@...2037...> <1319532798.10821.20.camel@...2688...> <1319535889.10821.25.camel@...2688...> Message-ID: <201110251232.07703.wally@...2037...> Thank You, Bruce ! :) On Tuesday, October 25, 2011 11:44:49 Bruce Bruen wrote: > On the other hand, the following piece of garbage is also correct. > Better minds than I will have to tell you what's in the array. > ' Gambas module file > > Public Struct axis > i As Integer > f As Float > ia As Integer[] > End Struct > > Public Sub Main() > > Dim testit As New Axis > Dim x As Integer > Dim y As Integer > > testit.ia = New Integer[][] > > testit.i = 212 > testit.f = Pi() > > > For x = 0 To 120 > If x Mod 2 = 0 Then > testit.ia.Add(x, 0) > Print "Seagoon:\tYing "; > Else If x Mod 5 = 0 > testit.ia.Add(x, 1) > Print "Tong\nBluebottle:\tTiddle-I-Po" > Else > testit.ia.Add(x, 2) > Print "Tong" > Endif > Next > Print " Tong\nBluebottle/Seagoon:\tTiidle-i-Po\nAll:\tTiddle-I-Po" > Print "Grippype-Thin:\tOh Min, that N-n-n-eddy, he'll be the death of us > yet!" > End > > Clue! All you have done in the struct is to declare "ia" to be an > integer array, it's not till you (or any other programmer) instantiates > it - any old way they like - that it's dimensionality and cardinality is > decided. > > Good luck! > Bruce > --------------------------------------------------------------------------- > --- The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bbruen at ...2308... Tue Oct 25 12:52:33 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Tue, 25 Oct 2011 21:22:33 +1030 Subject: [Gambas-user] User timezone - could I ask a favour? In-Reply-To: <4EA68A2A.20007@...27...> References: <1319491851.10821.19.camel@...2688...> <4EA68A2A.20007@...27...> Message-ID: <1319539953.10821.27.camel@...2688...> On Tue, 2011-10-25 at 12:06 +0200, Johny Provoost wrote: > OK, I get Europe/Brussels and that's correct > Gambas 2.21 > Ubuntu 11.04 with gnome2 > > Greetings, > Johny Provoost > Thanks Johny! Any other takers? Especially where it doesn't work! Bruce From gambas.fr at ...626... Tue Oct 25 14:20:27 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 25 Oct 2011 14:20:27 +0200 Subject: [Gambas-user] Vertical Progress Bar? In-Reply-To: <32713955.post@...1379...> References: <32713955.post@...1379...> Message-ID: 2011/10/25 Dr.Diesel : > > Any possible trick to flipping a progress bar to the vertical position? hum ... it miss an orientaion property ! default:left top bottom left right > Thanks > Andy > -- > View this message in context: http://old.nabble.com/Vertical-Progress-Bar--tp32713955p32713955.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From wally at ...2037... Tue Oct 25 15:49:34 2011 From: wally at ...2037... (wally) Date: Tue, 25 Oct 2011 15:49:34 +0200 Subject: [Gambas-user] integer array in struct ? In-Reply-To: <1319532798.10821.20.camel@...2688...> References: <201110250825.42333.wally@...2037...> <1319532798.10821.20.camel@...2688...> Message-ID: <201110251549.35144.wally@...2037...> Bruce, may you explain theis please: > Print testit.ia.Bounds output: (Integer[] 0x8161644) wally On Tuesday, October 25, 2011 10:53:18 Bruce Bruen wrote: > On Tue, 2011-10-25 at 08:25 +0200, wally wrote: > > Public Struct axis > > > > i As Integer > > f As Float > > ia As Integer[] > > > > End Struct > > etc > > ' Gambas module file > > Public Struct axis > i As Integer > f As Float > ia As Integer[] > End Struct > > Public Sub Main() > > Dim testit As New Axis > Dim x As Integer > > testit.ia = New Integer[] > > testit.i = 212 > testit.f = Pi() > > Print testit.ia.Bounds > > testit.ia.Add(1) > testit.ia.Add(2) > For x = 1 To 312654 > testit.ia.Add(x) > Next > > End > > seems to work. > > Bruce > --------------------------------------------------------------------------- > --- The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From wally at ...2037... Tue Oct 25 19:33:41 2011 From: wally at ...2037... (wally) Date: Tue, 25 Oct 2011 19:33:41 +0200 Subject: [Gambas-user] integer array in struct ? In-Reply-To: <1319535889.10821.25.camel@...2688...> References: <201110250825.42333.wally@...2037...> <1319532798.10821.20.camel@...2688...> <1319535889.10821.25.camel@...2688...> Message-ID: <201110251933.42333.wally@...2037...> still question on this integer[][] (fear i get senil slowly :) how to resize a 2D array ? how to set values in appropriate places ? what does the array.Bounds do ? example project attached wally On Tuesday, October 25, 2011 11:44:49 Bruce Bruen wrote: > On the other hand, the following piece of garbage is also correct. > Better minds than I will have to tell you what's in the array. > ' Gambas module file > > Public Struct axis > i As Integer > f As Float > ia As Integer[] > End Struct > > Public Sub Main() > > Dim testit As New Axis > Dim x As Integer > Dim y As Integer > > testit.ia = New Integer[][] > > testit.i = 212 > testit.f = Pi() > > > For x = 0 To 120 > If x Mod 2 = 0 Then > testit.ia.Add(x, 0) > Print "Seagoon:\tYing "; > Else If x Mod 5 = 0 > testit.ia.Add(x, 1) > Print "Tong\nBluebottle:\tTiddle-I-Po" > Else > testit.ia.Add(x, 2) > Print "Tong" > Endif > Next > Print " Tong\nBluebottle/Seagoon:\tTiidle-i-Po\nAll:\tTiddle-I-Po" > Print "Grippype-Thin:\tOh Min, that N-n-n-eddy, he'll be the death of us > yet!" > End > > Clue! All you have done in the struct is to declare "ia" to be an > integer array, it's not till you (or any other programmer) instantiates > it - any old way they like - that it's dimensionality and cardinality is > decided. > > Good luck! > Bruce > --------------------------------------------------------------------------- > --- The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > 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: struct_array_gb001-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4799 bytes Desc: not available URL: From jussi.lahtinen at ...626... Tue Oct 25 20:51:40 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 25 Oct 2011 21:51:40 +0300 Subject: [Gambas-user] User timezone - could I ask a favour? In-Reply-To: <1319491851.10821.19.camel@...2688...> References: <1319491851.10821.19.camel@...2688...> Message-ID: Next time please make it ready to run project! I'm not sure this is correct: "Europe/Mariehamn". I don't live in Mariehamn, but there is only one timezone in Finland! Confusion... but then it should be Helsinki which is our capital..!? Gnome shows my location as Vantaa which is correct. Ubuntu 11.04 64bit also with gnome 2. Jussi On Tue, Oct 25, 2011 at 00:30, Bruce Bruen wrote: > Hi all, > > According to my web research the module below is the "best" way to > obtain the user's timezone name (or "Olson name" if you prefer). This > is because distros implement timezoning in different ways. > > It works fine for me using using the test harnesses I can devise for my > (non-standard) distro. I was hoping that some of you would run it on > your distro and report that it works OK. It should just print your > timezone name like "Arctic/Longyearbyen" > > Thanks in advance. > Bruce > > ' Gambas module file > > Public Sub main() > > Print GetUserTimezone() > > End > > Private Function GetUserTimezone() As String > > Dim tzetc As String ' Used to determine the type of > the /etc/localtime file > Dim tzmd5 As String ' The md5 sum for the /etc/localtime file > Dim rtnval As String ' Manipulated substring of tzraw that is finally > returned > > rtnval = Replace(Application.Env["TZ"], "/usr/share/zoneinfo/", "") > > If Not rtnval Then > Shell "file /etc/localtime" To tzetc > If tzetc Like "* symbolic link to *" Then > rtnval = Mid(tzetc, InStr(tzetc, "`") + 1, -2) > rtnval = Replace(rtnval, "/usr/share/zoneinfo/", "") > Endif > Endif > > If Not rtnval Then > Shell "md5sum /etc/localtime" To tzmd5 > tzmd5 = Left(tzmd5, InStr(tzmd5, " ") - 1) > Shell Subst("find /usr/share/zoneinfo -type f | xargs md5sum | grep > &1", tzmd5) To rtnval > rtnval = Left(rtnval, InStr(rtnval, "\n") - 1) > rtnval = Mid(rtnval, InStr(rtnval, "info/") + 5) > Endif > > Return Replace(rtnval, "posix/", "") > > End > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Wed Oct 26 09:53:35 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Wed, 26 Oct 2011 18:23:35 +1030 Subject: [Gambas-user] User timezone - could I ask a favour? In-Reply-To: References: <1319491851.10821.19.camel@...2688...> Message-ID: <1319615615.10821.39.camel@...2688...> On Tue, 2011-10-25 at 21:51 +0300, Jussi Lahtinen wrote: > Next time please make it ready to run project! > > I'm not sure this is correct: "Europe/Mariehamn". > I don't live in Mariehamn, but there is only one timezone in Finland! > Confusion... but then it should be Helsinki which is our capital..!? > Gnome shows my location as Vantaa which is correct. > > Ubuntu 11.04 64bit also with gnome 2. > > Jussi Thanks Jussi, Hmmm. Well that just about squashes that good idea. My code just took the first md5 matched file in /usr/share/zoneinfo, so in your case Europe/Helsinki just happened to be the second one found. Why Aaland Islands (or ?land Islands) get their own zoneinfo file is unknown, especially when I look at the zoneinfo database and see that the rule for the data is just "Link Europe/Helsinki". I've now taken another look at the zoneinfo files and there are a lot of cases where the md5sums are equivalent. So my current approach is squashed and I'll have to find another generic way to get the user's timezone. (I sent the code as source because I didn't want anyone to fear that I was going to compromise their time data somehow.) Bruce From bbruen at ...2308... Wed Oct 26 09:59:51 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Wed, 26 Oct 2011 18:29:51 +1030 Subject: [Gambas-user] integer array in struct ? In-Reply-To: <201110251549.35144.wally@...2037...> References: <201110250825.42333.wally@...2037...> <1319532798.10821.20.camel@...2688...> <201110251549.35144.wally@...2037...> Message-ID: <1319615991.10821.40.camel@...2688...> On Tue, 2011-10-25 at 15:49 +0200, wally wrote: > Bruce, > > may you explain theis please: > > > Print testit.ia.Bounds > > output: > (Integer[] 0x8161644) > > wally > > It's the address of the bounds object (don't know why i put it in there - must be getting senile too.) Bruce From wally at ...2037... Wed Oct 26 10:08:54 2011 From: wally at ...2037... (wally) Date: Wed, 26 Oct 2011 10:08:54 +0200 Subject: [Gambas-user] integer array in struct ? In-Reply-To: <1319615991.10821.40.camel@...2688...> References: <201110250825.42333.wally@...2037...> <201110251549.35144.wally@...2037...> <1319615991.10821.40.camel@...2688...> Message-ID: <201110261008.55163.wally@...2037...> welcome in the club :) On Wednesday, October 26, 2011 09:59:51 Bruce Bruen wrote: > On Tue, 2011-10-25 at 15:49 +0200, wally wrote: > > Bruce, > > > > may you explain theis please: > > > Print testit.ia.Bounds > > > > output: > > (Integer[] 0x8161644) > > > > wally > > It's the address of the bounds object (don't know why i put it in there > - must be getting senile too.) > Bruce > --------------------------------------------------------------------------- > --- The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Oct 26 12:21:50 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 26 Oct 2011 12:21:50 +0200 Subject: [Gambas-user] User timezone - could I ask a favour? In-Reply-To: <1319491851.10821.19.camel@...2688...> References: <1319491851.10821.19.camel@...2688...> Message-ID: your code is only available on debian structured distro 2011/10/24 Bruce Bruen : > Hi all, > > According to my web research the module below is the "best" way to > obtain the user's timezone name (or "Olson name" if you prefer). ?This > is because distros implement timezoning in different ways. > > It works fine for me using using the test harnesses I can devise for my > (non-standard) distro. ?I was hoping that some of you would run it on > your distro and report that it works OK. ?It should just print your > timezone name like "Arctic/Longyearbyen" > > Thanks in advance. > Bruce > > ' Gambas module file > > Public Sub main() > > ?Print GetUserTimezone() > > End > > Private Function GetUserTimezone() As String > > ?Dim tzetc As String ? ' Used to determine the type of > the /etc/localtime file > ?Dim tzmd5 As String ? ' The md5 sum for the /etc/localtime file > ?Dim rtnval As String ?' Manipulated substring of tzraw that is finally > returned > > ?rtnval = Replace(Application.Env["TZ"], "/usr/share/zoneinfo/", "") > > ?If Not rtnval Then > ? ?Shell "file /etc/localtime" To tzetc > ? ?If tzetc Like "* symbolic link to *" Then > ? ? ?rtnval = Mid(tzetc, InStr(tzetc, "`") + 1, -2) > ? ? ?rtnval = Replace(rtnval, "/usr/share/zoneinfo/", "") > ? ?Endif > ?Endif > > ?If Not rtnval Then > ? ?Shell "md5sum /etc/localtime" To tzmd5 > ? ?tzmd5 = Left(tzmd5, InStr(tzmd5, " ") - 1) > ? ?Shell Subst("find /usr/share/zoneinfo -type f | xargs md5sum | grep > &1", tzmd5) To rtnval > ? ?rtnval = Left(rtnval, InStr(rtnval, "\n") - 1) > ? ?rtnval = Mid(rtnval, InStr(rtnval, "info/") + 5) > ?Endif > > ?Return Replace(rtnval, "posix/", "") > > End > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From jussi.lahtinen at ...626... Wed Oct 26 18:50:44 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 26 Oct 2011 19:50:44 +0300 Subject: [Gambas-user] User timezone - could I ask a favour? In-Reply-To: <1319615615.10821.39.camel@...2688...> References: <1319491851.10821.19.camel@...2688...> <1319615615.10821.39.camel@...2688...> Message-ID: > Why Aaland Islands (or ?land Islands) get their own zoneinfo file is > unknown, ?land is Swedish name for Finnish island called Ahvenanmaa. Strange that people use that name. > So my current approach is squashed and I'll have to find another generic > way to get the user's > timezone. > Best I can say right now is: date +%Z It prints timezone but not in format you need... surprisingly hard task. Jussi From imageek247 at ...626... Thu Oct 27 04:43:46 2011 From: imageek247 at ...626... (Christian DaGeek247 Stephens) Date: Wed, 26 Oct 2011 21:43:46 -0500 Subject: [Gambas-user] Gambas2 Bug Message-ID: *I am seriously frustrated with this one, and I don't have a solution for it.* * * *Here's the deal. I have a program that is fairly far into construction, and this issue is stopping all production. I made a menu item, and it worked. I edited the menu, and changed its code completely. The menu is the same as it was before i changed when i run it, but the saved files are changed to what they are supposed to be. I completely removed the gambas settings files, and it still does this. any idea as to the cause? I know for sure that it is not me because the code / look change is so dramatic.* * * *I am also pretty sure that if I were to send the code to someone, it would work fine for them, because it the programs fault. Maybe someone could tell me how to reset the gambas cache (Is there one?) or to remove ALL of the old version, so gambas runs the one it supposed to?* * * *All help is appreciated, thank you.* -- *If a packet hits a pocket on a socket on a port,* *and the bus is interrupted as a very last resort,* *and the address of the memory makes your floppy disk abort,* *then the socket packet pocket has an error to report! * * * * **DaGeek247 of http://dageek247.tk/* From jscops at ...11... Thu Oct 27 09:51:15 2011 From: jscops at ...11... (Jack) Date: Thu, 27 Oct 2011 09:51:15 +0200 Subject: [Gambas-user] Gambas2 Bug In-Reply-To: References: Message-ID: <4EA90D73.5040102@...11...> Le 27/10/2011 04:43, Christian DaGeek247 Stephens a ?crit : > *I am seriously frustrated with this one, and I don't have a solution for > it.* > * > * > *Here's the deal. I have a program that is fairly far into construction, and > this issue is stopping all production. I made a menu item, and it worked. I > edited the menu, and changed its code completely. The menu is the same as it > was before i changed when i run it, but the saved files are changed to what > they are supposed to be. I completely removed the gambas settings files, and > it still does this. any idea as to the cause? I know for sure that it is not > me because the code / look change is so dramatic.* > * > * > *I am also pretty sure that if I were to send the code to someone, it would > work fine for them, because it the programs fault. Maybe someone could tell > me how to reset the gambas cache (Is there one?) or to remove ALL of the old > version, so gambas runs the one it supposed to?* > * > * > *All help is appreciated, thank you.* did you try to recompile your program? Jack From gambas at ...1... Thu Oct 27 12:01:50 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Oct 2011 12:01:50 +0200 Subject: [Gambas-user] Gambas2 Bug In-Reply-To: References: Message-ID: <4EA92C0E.8060704@...1...> Le 27/10/2011 04:43, Christian DaGeek247 Stephens a ?crit : > *I am seriously frustrated with this one, and I don't have a solution for > it.* > * > * > *Here's the deal. I have a program that is fairly far into construction, and > this issue is stopping all production. I made a menu item, and it worked. I > edited the menu, and changed its code completely. The menu is the same as it > was before i changed when i run it, but the saved files are changed to what > they are supposed to be. I completely removed the gambas settings files, and > it still does this. any idea as to the cause? I know for sure that it is not > me because the code / look change is so dramatic.* > * > * > *I am also pretty sure that if I were to send the code to someone, it would > work fine for them, because it the programs fault. Maybe someone could tell > me how to reset the gambas cache (Is there one?) or to remove ALL of the old > version, so gambas runs the one it supposed to?* > * > * > *All help is appreciated, thank you.* If you give no details and no information about your problem, nobody can help you. Please: - Give the version of Gambas you are using. - Give informations about your system. - Send your project if possible. - Describe exactly what you done, what you expected, and what happened instead. Thanks in advance! -- Beno?t Minisini From admin at ...2701... Thu Oct 27 15:50:06 2011 From: admin at ...2701... (J_Mischk3) Date: Thu, 27 Oct 2011 06:50:06 -0700 (PDT) Subject: [Gambas-user] How to get the controltypes in a form Message-ID: <32731573.post@...1379...> My idea is to scan a container(form) with several fields ( button, textarea, text and so on ) and if i can get the class of a Control, i can use special automated functions to put data from a database into it. Example: if Value in DB is 1, akticate Button But HOW is it possible to get this. EXAMPLE: ' Gambas class file Public Sub Form_Open() Dim C As Control For Each C In Me.Children Print "C = "; C Next End And I get C = (Label 0x8f7ccf4) C = (TextBox 0x8f7d8cc) C = (ToolButton 0x8f8213c) C = (Button 0x8f8ed44) This is the information I need, but you can I get directly? ( "Label", "Textbox", "MyOwnControlTyp" ) I found Control.Name and much more, but no Control.Typename -- View this message in context: http://old.nabble.com/How-to-get-the-controltypes-in-a-form-tp32731573p32731573.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Thu Oct 27 16:28:19 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Oct 2011 16:28:19 +0200 Subject: [Gambas-user] How to get the controltypes in a form In-Reply-To: <32731573.post@...1379...> References: <32731573.post@...1379...> Message-ID: <4EA96A83.5090503@...1...> Le 27/10/2011 15:50, J_Mischk3 a ?crit : > > My idea is to scan a container(form) with several fields ( button, textarea, > text and so on ) and if i can get the class of a Control, i can use special > automated functions to put data from a database into it. > > Example: if Value in DB is 1, akticate Button > > But HOW is it possible to get this. > EXAMPLE: > ' Gambas class file > > Public Sub Form_Open() > Dim C As Control > For Each C In Me.Children > Print "C = "; C > Next > End > > And I get > C = (Label 0x8f7ccf4) > C = (TextBox 0x8f7d8cc) > C = (ToolButton 0x8f8213c) > C = (Button 0x8f8ed44) > > This is the information I need, but you can I get directly? ( "Label", > "Textbox", "MyOwnControlTyp" ) I found Control.Name and much more, but no > Control.Typename > To manipulate object type system, use the static methods of the Object class. To get the type of a object: Object.Class() or Object.Type(), depending on what you need. See the documentation for more details. Regards, -- Beno?t Minisini From admin at ...2701... Thu Oct 27 17:29:06 2011 From: admin at ...2701... (J_Mischk3) Date: Thu, 27 Oct 2011 08:29:06 -0700 (PDT) Subject: [Gambas-user] How to get the controltypes in a form In-Reply-To: <4EA96A83.5090503@...1...> References: <32731573.post@...1379...> <4EA96A83.5090503@...1...> Message-ID: <32732238.post@...1379...> Thanks, that what i was looking for. Juergen -- View this message in context: http://old.nabble.com/How-to-get-the-controltypes-in-a-form-tp32731573p32732238.html Sent from the gambas-user mailing list archive at Nabble.com. From admin at ...2701... Thu Oct 27 17:44:10 2011 From: admin at ...2701... (J_Mischk3) Date: Thu, 27 Oct 2011 08:44:10 -0700 (PDT) Subject: [Gambas-user] How to get the controltypes in a form, next question! In-Reply-To: <32732238.post@...1379...> References: <32731573.post@...1379...> <4EA96A83.5090503@...1...> <32732238.post@...1379...> Message-ID: <32732350.post@...1379...> If I try it with this lines, I get an error. Public Sub Form_Open() Dim C As Object For Each C In Me.Children Print C.Type() Next End (Unknown symbol in class (Textbox)) How can I make it right? (Sorry, but I have'nt found anything under Class.type in the documentation!!) -- View this message in context: http://old.nabble.com/How-to-get-the-controltypes-in-a-form-tp32731573p32732350.html Sent from the gambas-user mailing list archive at Nabble.com. From admin at ...2701... Thu Oct 27 17:48:54 2011 From: admin at ...2701... (J_Mischk3) Date: Thu, 27 Oct 2011 08:48:54 -0700 (PDT) Subject: [Gambas-user] How to get the controltypes in a form, next question! In-Reply-To: <32732350.post@...1379...> References: <32731573.post@...1379...> <4EA96A83.5090503@...1...> <32732238.post@...1379...> <32732350.post@...1379...> Message-ID: <32732397.post@...1379...> Uuups, found it myself, it means Print Object.Type(C) ( How stupid ) and I get it all!!! THX Juergen -- View this message in context: http://old.nabble.com/How-to-get-the-controltypes-in-a-form-tp32731573p32732397.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Thu Oct 27 21:52:23 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Oct 2011 19:52:23 +0000 Subject: [Gambas-user] Issue 135 in gambas: Cannot use vararg in functions with optional arguments - Segmentation fault Message-ID: <0-6813199134517018827-12887106972001463569-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 135 by emil.len... at ...626...: Cannot use vararg in functions with optional arguments - Segmentation fault http://code.google.com/p/gambas/issues/detail?id=135 1) Describe the problem. When you call a function that has optional arguments and vararg, the interpreter exits with a Segmentation fault. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4222 3) Provide a little project that reproduces the bug or the crash. Public Sub CrashFunction(Optional a As Integer, ...) End Public Sub Main() CrashFunction(1, 2) End 5) Explain clearly how to reproduce the bug or the crash. Run the code. 6) By doing that carefully, you have done 50% of the bug fix job! The error seems to be in gbx_exec.c from line 461 and forward. If there are at least one optional argument in the signature, it assumes all of the following arguments are optional, but they might in fact be varargs. First change line 465 to for (i = func->npmin; i < Min(func->n_param, nparam); i++) instead of for (i = func->npmin; i < nparam; i++) But I don't know what to do with line 501 if some optional arguments were missing... From imageek247 at ...626... Thu Oct 27 22:28:34 2011 From: imageek247 at ...626... (Christian DaGeek247 Stephens) Date: Thu, 27 Oct 2011 15:28:34 -0500 Subject: [Gambas-user] Gambas2 Bug Message-ID: *"*If you give no details and no information about your problem, nobody can help you. Please: - Give the version of Gambas you are using. - Give informations about your system. - Send your project if possible. - Describe exactly what you done, what you expected, and what happened instead. Thanks in advance! -- Beno?t Minisini*"* * * *You are right, i forgot to give any details. here they are;* *OS: Ubuntu 11.10 32Bit* *Gambas Version:2* *I got Gambas from apt-get, i did not compile it myself.* * * *Am I allowed to attach files to this email?* * * *I have a menu, and it used to have input box code and a few if statements. * *I changed it to show a form called Delays* *I run it and it still does the input box code, even after saving, resetting the Gambas settings, and restarting.* * * *The next step is reinstalling gambas2, but the computer it is on does not have internet without moving it to another spot in the house, so I'd rather avoid i if possible.* * * *Thanks in advance* -- *If a packet hits a pocket on a socket on a port,* *and the bus is interrupted as a very last resort,* *and the address of the memory makes your floppy disk abort,* *then the socket packet pocket has an error to report! * * * * **DaGeek247 of http://dageek247.tk/* From gambas at ...2524... Fri Oct 28 03:12:55 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 28 Oct 2011 01:12:55 +0000 Subject: [Gambas-user] Issue 135 in gambas: Cannot use vararg in functions with optional arguments - Segmentation fault In-Reply-To: <0-6813199134517018827-12887106972001463569-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12887106972001463569-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12887106972001463569-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Type-Bug Version-TRUNK Type-Crash Comment #1 on issue 135 by benoit.m... at ...626...: Cannot use vararg in functions with optional arguments - Segmentation fault http://code.google.com/p/gambas/issues/detail?id=135 This bug is there since the beginning apparently. Thanks for your always important and accurate bug reports! From gambas at ...2524... Fri Oct 28 03:59:42 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 28 Oct 2011 01:59:42 +0000 Subject: [Gambas-user] Issue 135 in gambas: Cannot use vararg in functions with optional arguments - Segmentation fault In-Reply-To: <1-6813199134517018827-12887106972001463569-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12887106972001463569-gambas=googlecode.com@...2524...> <0-6813199134517018827-12887106972001463569-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12887106972001463569-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 135 by benoit.m... at ...626...: Cannot use vararg in functions with optional arguments - Segmentation fault http://code.google.com/p/gambas/issues/detail?id=135 Fixed in revision #4223. From eilert-sprachen at ...221... Fri Oct 28 18:19:58 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 28 Oct 2011 18:19:58 +0200 Subject: [Gambas-user] Gambas2 Bug In-Reply-To: References: Message-ID: <4EAAD62E.9000206@...221...> Am 27.10.2011 22:28, schrieb Christian DaGeek247 Stephens: > *"*If you give no details and no information about your problem, nobody can > help you. > > Please: > > - Give the version of Gambas you are using. > > - Give informations about your system. > > - Send your project if possible. > > - Describe exactly what you done, what you expected, and what happened > instead. > > Thanks in advance! > > -- > Beno?t Minisini*"* > * > * > *You are right, i forgot to give any details. here they are;* > *OS: Ubuntu 11.10 32Bit* > *Gambas Version:2* > *I got Gambas from apt-get, i did not compile it myself.* > * > * > *Am I allowed to attach files to this email?* > * > * > *I have a menu, and it used to have input box code and a few if statements. > * > *I changed it to show a form called Delays* > *I run it and it still does the input box code, even after saving, resetting > the Gambas settings, and restarting.* > * > * > *The next step is reinstalling gambas2, but the computer it is on does not > have internet without moving it to another spot in the house, so I'd rather > avoid i if possible.* > * > * > *Thanks in advance* From eilert-sprachen at ...221... Fri Oct 28 18:28:59 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 28 Oct 2011 18:28:59 +0200 Subject: [Gambas-user] Gambas2 Bug In-Reply-To: References: Message-ID: <4EAAD84B.2020405@...221...> Sorry, pressed the SEND button too fast :-) > *Am I allowed to attach files to this email?* As far as I know, yes, but not too big ones. > *I have a menu, and it used to have input box code and a few if statements. For me, a menu is this thing at the top of the form, or a pop-up (usually from right-click). It has words, sometimes some icons, and will let you jump into functions from there. But I've never seen a menu with an input box and/or if-statements. Do we talk about different things here? > *I changed it to show a form called Delays* So the menu text is e. g. "Edit delay..." and you call SUB EditDelay which will call Delay.ShowDialog ??? > *I run it and it still does the input box code, even after saving, resetting > the Gambas settings, and restarting.* No, I don't understand. Maybe you are talking about something completely different... :-) Do you really mean "menu"? > *The next step is reinstalling gambas2, but the computer it is on does not > have internet without moving it to another spot in the house, so I'd rather > avoid i if possible.* Reinstalling Gambas won't help, I guess. What maybe wrong (if you change something and it still is there) is something in your .form or .class files. It would pay to post them here. If they are too big, pack them into a tgz. I must say, however, that I haven't experienced such heavy errors caused by Gambas2 for a long time, so the version you use won't matter that much. Regards Rolf From jussi.lahtinen at ...626... Fri Oct 28 18:29:48 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Oct 2011 19:29:48 +0300 Subject: [Gambas-user] Gambas2 Bug In-Reply-To: References: Message-ID: > *Am I allowed to attach files to this email?* > Yes. *I have a menu, and it used to have input box code and a few if statements. > * > *I changed it to show a form called Delays* > *I run it and it still does the input box code, even after saving, > resetting > the Gambas settings, and restarting.* > Do you run it in IDE, or do you compile it to executable? Jussi From gambas.fr at ...626... Fri Oct 28 18:55:42 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 28 Oct 2011 18:55:42 +0200 Subject: [Gambas-user] Gambas2 Bug In-Reply-To: References: Message-ID: do you have recompiled all ...? do a project > clean then recompile all 2011/10/28 Jussi Lahtinen : >> *Am I allowed to attach files to this email?* >> > > Yes. > > > *I have a menu, and it used to have input box code and a few if statements. >> * >> *I changed it to show a form called Delays* >> *I run it and it still does the input box code, even after saving, >> resetting >> the Gambas settings, and restarting.* >> > > Do you run it in IDE, or do you compile it to executable? > > > Jussi > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From imageek247 at ...626... Fri Oct 28 21:06:47 2011 From: imageek247 at ...626... (Christian DaGeek247 Stephens) Date: Fri, 28 Oct 2011 14:06:47 -0500 Subject: [Gambas-user] Gambas2 Bug Message-ID: * "Sorry, pressed the SEND button too fast :-) > *Am I allowed to attach files to this email?* As far as I know, yes, but not too big ones. > *I have a menu, and it used to have input box code and a few if statements. For me, a menu is this thing at the top of the form, or a pop-up (usually from right-click). It has words, sometimes some icons, and will let you jump into functions from there. But I've never seen a menu with an input box and/or if-statements. Do we talk about different things here? > *I changed it to show a form called Delays* So the menu text is e. g. "Edit delay..." and you call SUB EditDelay which will call Delay.ShowDialog ??? > *I run it and it still does the input box code, even after saving, resetting > the Gambas settings, and restarting.* No, I don't understand. Maybe you are talking about something completely different... :-) Do you really mean "menu"? > *The next step is reinstalling gambas2, but the computer it is on does not > have internet without moving it to another spot in the house, so I'd rather > avoid i if possible.* Reinstalling Gambas won't help, I guess. What maybe wrong (if you change something and it still is there) is something in your .form or .class files. It would pay to post them here. If they are too big, pack them into a tgz. I must say, however, that I haven't experienced such heavy errors caused by Gambas2 for a long time, so the version you use won't matter that much. Regards Rolf" The menu is a menu. It runs code when you click on it, and i was talking about the code it runs. Thanks for the help. I wont attach the file for fear of i being denied or messed up somehow. it at the end of my email. "Do you run it in IDE, or do you compile it to executable? Jussi" I dont compile it to an executable 'till the very end, when i am about to put it on my site. so i run it in the IDE. "do you have recompiled all ...? do a project > clean then recompile all -- Fabien Bodard" I don't know what you mean. :/ The program is not compiled 'till the end.. So here is the program Download URL: http://dageek247.tk/wordpress/wp-content/uploads/2011/10/Dageek247s_Autotyper.tar.gz The menu item in question is under Options>Timer Speeds, or it is supposed to be. The menu when clicked, is supposed to load Delays(another form) but instead the code for it runs a inputbox. Thanks for the help guys. -- DaGeek247 of http://dageek247.tk/ * From jussi.lahtinen at ...626... Fri Oct 28 22:14:48 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Oct 2011 23:14:48 +0300 Subject: [Gambas-user] Gambas2 Bug In-Reply-To: References: Message-ID: I can reproduce your problem, but I can also fix it by simply clicking on "Compile All". First time I run into problem like this. I think this is not the case with Gambas 3... Jussi On Fri, Oct 28, 2011 at 22:06, Christian DaGeek247 Stephens < imageek247 at ...626...> wrote: > * > "Sorry, pressed the SEND button too fast :-) > > > *Am I allowed to attach files to this email?* > > As far as I know, yes, but not too big ones. > > > *I have a menu, and it used to have input box code and a few if > statements. > > For me, a menu is this thing at the top of the form, or a pop-up > (usually from right-click). It has words, sometimes some icons, and will > let you jump into functions from there. But I've never seen a menu with > an input box and/or if-statements. Do we talk about different things here? > > > *I changed it to show a form called Delays* > > So the menu text is e. g. "Edit delay..." and you call SUB EditDelay > which will call Delay.ShowDialog ??? > > > *I run it and it still does the input box code, even after saving, > resetting > > the Gambas settings, and restarting.* > > No, I don't understand. Maybe you are talking about something completely > different... :-) Do you really mean "menu"? > > > *The next step is reinstalling gambas2, but the computer it is on does > not > > have internet without moving it to another spot in the house, so I'd > rather > > avoid i if possible.* > > Reinstalling Gambas won't help, I guess. What maybe wrong (if you change > something and it still is there) is something in your .form or .class > files. It would pay to post them here. If they are too big, pack them > into a tgz. > > I must say, however, that I haven't experienced such heavy errors caused > by Gambas2 for a long time, so the version you use won't matter that much. > > Regards > > Rolf" > > > The menu is a menu. It runs code when you click on it, and i was talking > about the code it runs. Thanks for the help. I wont attach the file for > fear > of i being denied or messed up somehow. it at the end of my email. > > > "Do you run it in IDE, or do you compile it to executable? > > Jussi" > > > I dont compile it to an executable 'till the very end, when i am about to > put it on my site. so i run it in the IDE. > > > "do you have recompiled all ...? > do a project > clean > then recompile all > > -- > Fabien Bodard" > > I don't know what you mean. :/ The program is not compiled 'till the end.. > > > So here is the program Download URL: > > http://dageek247.tk/wordpress/wp-content/uploads/2011/10/Dageek247s_Autotyper.tar.gz > The menu item in question is under Options>Timer Speeds, or it is supposed > to be. The menu when clicked, is supposed to load Delays(another form) but > instead the code for it runs a inputbox. > > Thanks for the help guys. > -- > DaGeek247 of http://dageek247.tk/ > * > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Fri Oct 28 22:54:35 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 28 Oct 2011 22:54:35 +0200 Subject: [Gambas-user] Gambas2 Bug In-Reply-To: References: Message-ID: 2011/10/28 Jussi Lahtinen : > I can reproduce your problem, but I can also fix it by simply clicking on > "Compile All". > First time I run into problem like this. I think this is not the case with > Gambas 3... well sometime it append with gambas 3 ... click on "compile all", solve it > > Jussi > > > > > > > On Fri, Oct 28, 2011 at 22:06, Christian DaGeek247 Stephens < > imageek247 at ...626...> wrote: > >> * >> "Sorry, pressed the SEND button too fast :-) >> >> > *Am I allowed to attach files to this email?* >> >> As far as I know, yes, but not too big ones. >> >> > *I have a menu, and it used to have input box code and a few if >> statements. >> >> For me, a menu is this thing at the top of the form, or a pop-up >> (usually from right-click). It has words, sometimes some icons, and will >> let you jump into functions from there. But I've never seen a menu with >> an input box and/or if-statements. Do we talk about different things here? >> >> > *I changed it to show a form called Delays* >> >> So the menu text is e. g. "Edit delay..." and you call SUB EditDelay >> which will call Delay.ShowDialog ??? >> >> > *I run it and it still does the input box code, even after saving, >> resetting >> > the Gambas settings, and restarting.* >> >> No, I don't understand. Maybe you are talking about something completely >> different... :-) Do you really mean "menu"? >> >> > *The next step is reinstalling gambas2, but the computer it is on does >> not >> > have internet without moving it to another spot in the house, so I'd >> rather >> > avoid i if possible.* >> >> Reinstalling Gambas won't help, I guess. What maybe wrong (if you change >> something and it still is there) is something in your .form or .class >> files. It would pay to post them here. If they are too big, pack them >> into a tgz. >> >> I must say, however, that I haven't experienced such heavy errors caused >> by Gambas2 for a long time, so the version you use won't matter that much. >> >> Regards >> >> Rolf" >> >> >> The menu is a menu. It runs code when you click on it, and i was talking >> about the code it runs. Thanks for the help. I wont attach the file for >> fear >> of i being denied or messed up somehow. it at the end of my email. >> >> >> "Do you run it in IDE, or do you compile it to executable? >> >> Jussi" >> >> >> I dont compile it to an executable 'till the very end, when i am about to >> put it on my site. so i run it in the IDE. >> >> >> "do you have recompiled all ...? >> do a project > clean >> then recompile all >> >> -- >> Fabien Bodard" >> >> I don't know what you mean. :/ The program is not compiled 'till the end.. >> >> >> So here is the program Download URL: >> >> http://dageek247.tk/wordpress/wp-content/uploads/2011/10/Dageek247s_Autotyper.tar.gz >> The menu item in question is under Options>Timer Speeds, or it is supposed >> to be. The menu when clicked, is supposed to load Delays(another form) but >> instead the code for it runs a inputbox. >> >> Thanks for the help guys. >> -- >> DaGeek247 of http://dageek247.tk/ >> * >> >> ------------------------------------------------------------------------------ >> The demand for IT networking professionals continues to grow, and the >> demand for specialized networking skills is growing even more rapidly. >> Take a complimentary Learning at ...2709... Self-Assessment and learn >> about Cisco certifications, training, and career opportunities. >> http://p.sf.net/sfu/cisco-dev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From jussi.lahtinen at ...626... Fri Oct 28 23:03:37 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 29 Oct 2011 00:03:37 +0300 Subject: [Gambas-user] Gambas2 Bug In-Reply-To: References: Message-ID: Maybe there should be option for IDE to do this automatically. Gambas compiler is super fast, what would be the downside! Jussi On Fri, Oct 28, 2011 at 23:54, Fabien Bodard wrote: > 2011/10/28 Jussi Lahtinen : > > I can reproduce your problem, but I can also fix it by simply clicking on > > "Compile All". > > First time I run into problem like this. I think this is not the case > with > > Gambas 3... > well sometime it append with gambas 3 ... click on "compile all", solve it > > > > Jussi > > > > > > > > > > > > > > On Fri, Oct 28, 2011 at 22:06, Christian DaGeek247 Stephens < > > imageek247 at ...626...> wrote: > > > >> * > >> "Sorry, pressed the SEND button too fast :-) > >> > >> > *Am I allowed to attach files to this email?* > >> > >> As far as I know, yes, but not too big ones. > >> > >> > *I have a menu, and it used to have input box code and a few if > >> statements. > >> > >> For me, a menu is this thing at the top of the form, or a pop-up > >> (usually from right-click). It has words, sometimes some icons, and will > >> let you jump into functions from there. But I've never seen a menu with > >> an input box and/or if-statements. Do we talk about different things > here? > >> > >> > *I changed it to show a form called Delays* > >> > >> So the menu text is e. g. "Edit delay..." and you call SUB EditDelay > >> which will call Delay.ShowDialog ??? > >> > >> > *I run it and it still does the input box code, even after saving, > >> resetting > >> > the Gambas settings, and restarting.* > >> > >> No, I don't understand. Maybe you are talking about something completely > >> different... :-) Do you really mean "menu"? > >> > >> > *The next step is reinstalling gambas2, but the computer it is on does > >> not > >> > have internet without moving it to another spot in the house, so I'd > >> rather > >> > avoid i if possible.* > >> > >> Reinstalling Gambas won't help, I guess. What maybe wrong (if you change > >> something and it still is there) is something in your .form or .class > >> files. It would pay to post them here. If they are too big, pack them > >> into a tgz. > >> > >> I must say, however, that I haven't experienced such heavy errors caused > >> by Gambas2 for a long time, so the version you use won't matter that > much. > >> > >> Regards > >> > >> Rolf" > >> > >> > >> The menu is a menu. It runs code when you click on it, and i was talking > >> about the code it runs. Thanks for the help. I wont attach the file for > >> fear > >> of i being denied or messed up somehow. it at the end of my email. > >> > >> > >> "Do you run it in IDE, or do you compile it to executable? > >> > >> Jussi" > >> > >> > >> I dont compile it to an executable 'till the very end, when i am about > to > >> put it on my site. so i run it in the IDE. > >> > >> > >> "do you have recompiled all ...? > >> do a project > clean > >> then recompile all > >> > >> -- > >> Fabien Bodard" > >> > >> I don't know what you mean. :/ The program is not compiled 'till the > end.. > >> > >> > >> So here is the program Download URL: > >> > >> > http://dageek247.tk/wordpress/wp-content/uploads/2011/10/Dageek247s_Autotyper.tar.gz > >> The menu item in question is under Options>Timer Speeds, or it is > supposed > >> to be. The menu when clicked, is supposed to load Delays(another form) > but > >> instead the code for it runs a inputbox. > >> > >> Thanks for the help guys. > >> -- > >> DaGeek247 of http://dageek247.tk/ > >> * > >> > >> > ------------------------------------------------------------------------------ > >> The demand for IT networking professionals continues to grow, and the > >> demand for specialized networking skills is growing even more rapidly. > >> Take a complimentary Learning at ...2709... Self-Assessment and learn > >> about Cisco certifications, training, and career opportunities. > >> http://p.sf.net/sfu/cisco-dev2dev > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > The demand for IT networking professionals continues to grow, and the > > demand for specialized networking skills is growing even more rapidly. > > Take a complimentary Learning at ...2709... Self-Assessment and learn > > about Cisco certifications, training, and career opportunities. > > http://p.sf.net/sfu/cisco-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning at ...2709... Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From admin at ...2701... Sat Oct 29 19:55:33 2011 From: admin at ...2701... (J_Mischk3) Date: Sat, 29 Oct 2011 10:55:33 -0700 (PDT) Subject: [Gambas-user] Send an Event...? Message-ID: <32744626.post@...1379...> Is it possible to send an Event to another Control? Example: Pushin a button will send an event to a textarea, so it can do some operation. Is it possible to define own events? Best regards Juergen, who like your gambas every time a little bit more. It's a great work!!! -- View this message in context: http://old.nabble.com/Send-an-Event...--tp32744626p32744626.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sat Oct 29 23:25:30 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 29 Oct 2011 23:25:30 +0200 Subject: [Gambas-user] Send an Event...? In-Reply-To: <32744626.post@...1379...> References: <32744626.post@...1379...> Message-ID: ???? really i don't understand what you want to do 2011/10/29 J_Mischk3 : > > Is it possible to send an Event to another Control? > > Example: > > Pushin a button will send an event to a textarea, so it can do some > operation. > Is it possible to define own events? > > Best regards > > Juergen, who like your gambas every time a little bit more. > It's a great work!!! > -- > View this message in context: http://old.nabble.com/Send-an-Event...--tp32744626p32744626.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas at ...2524... Sat Oct 29 23:50:06 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Oct 2011 21:50:06 +0000 Subject: [Gambas-user] Issue 136 in gambas: Cannot create inline array of Classes - Segmentation fault Message-ID: <0-6813199134517018827-12566679922520926399-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 136 by emil.len... at ...626...: Cannot create inline array of Classes - Segmentation fault http://code.google.com/p/gambas/issues/detail?id=136 1) Describe the problem. Cannot create inline array of Classes, i.e. something that is T_CLASS. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4223 3) Provide a little project that reproduces the bug or the crash. Let's say you have a class called Class1 in the project. When you try to make an inline array containing Class1, the interpreter exits with a Segmentation fault. Try this code: Dim a As Object a = [Class1] or Dim a As Class[] a = [Class1] 6) By doing that carefully, you have done 50% of the bug fix job! Look at the function CARRAY_get_array_class in gbx_c_array.c. It has a switch depending on the type. The problem is that T_CLASS and TC_STRUCT has the same value, and it accidently mistakes the class for a struct instance. From adamnt42 at ...626... Sun Oct 30 01:08:22 2011 From: adamnt42 at ...626... (GMail) Date: Sun, 30 Oct 2011 09:38:22 +1030 Subject: [Gambas-user] Send an Event...? In-Reply-To: <32744626.post@...1379...> References: <32744626.post@...1379...> Message-ID: <1319929702.10821.51.camel@...2688...> On Sat, 2011-10-29 at 10:55 -0700, J_Mischk3 wrote: > Is it possible to send an Event to another Control? No. Because you don't "send" events, you just raise and handle them. So a class can raise any event it wants to, other classes can handle events (if they want to). > Example: > > Pushin a button will send an event to a textarea, so it can do some > operation. Translated: "The button control raises the event "Click" when the mouse button is clicked on it. Can a textarea control observe and handle the button's Click event?" The literal answer is "no" because the native textarea control does not observe events from some "unheard-of" button. However, you can create your own textarea based control that will observe such events and can contain code to handle them. > Is it possible to define own events? Most assuredly yes. But you have to do so in the class that will raise them. I have attached a little project that demonstrates the above. By the way, this is all explained in the help under the topic "Gambas Object Model" in section 2. regards Bruce > Best regards > > Juergen, who like your gambas every time a little bit more. > It's a great work!!! It sure is. I like it a lot! -------------- next part -------------- A non-text attachment was scrubbed... Name: Events-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5007 bytes Desc: not available URL: From rterry at ...1823... Sun Oct 30 06:10:27 2011 From: rterry at ...1823... (richard terry) Date: Sun, 30 Oct 2011 16:10:27 +1100 Subject: [Gambas-user] Message box anomaly Message-ID: <201110301610.27913.rterry@...1823...> This code: Message.Title = "Delete an appointment" If Message.Warning("Delete", "Yes", "No") = 2 Then Return gives a gui-oddity - in that if the length of the text in the dialog < length of the message.title then the message.title is truncated. Regards Richard From demosthenesk at ...626... Sun Oct 30 09:42:29 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 30 Oct 2011 10:42:29 +0200 Subject: [Gambas-user] checkinstall error Message-ID: <1319964149.23262.4.camel@...2689...> i have LMDE and Gambas3-svn4223. i get the following error from checkinstall -D command ----------------------- make[1]: Entering directory `/home/user/Downloads/Gambas/gambas3-svn4223/examples' make[2]: Entering directory `/home/user/Downloads/Gambas/gambas3-svn4223/examples' Installing the gambas examples... rm: fts_read failed: No such file or directory make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/home/user/Downloads/Gambas/gambas3-svn4223/examples' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/user/Downloads/Gambas/gambas3-svn4223/examples' make: *** [install-recursive] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. -------------------- Does anyone know what is rm: fts_read failed: No such file or directory and why checkinstall fails for rm? From demosthenesk at ...626... Sun Oct 30 09:50:06 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sun, 30 Oct 2011 10:50:06 +0200 Subject: [Gambas-user] ToolButtons do not appear correct in Toolbar In-Reply-To: References: <1317986346.24152.1.camel@...2689...> <201110141642.02381.gambas@...1...> Message-ID: <1319964606.23262.9.camel@...2689...> Well i saw how Gambas IDE implements the toolbar and i found out that it uses HBoxes and not Toolbars. So i put side by side an HBox and a Toolbar to demonstrate a bug in Toolbar draw on the form Toolbar cuts in half the Toolbuttons. See screenshots. There is a screenshot in design mode and another in running mode. The red background is the Toolbar, the green is the Hbox. Hbox works but not Toolbar. On Fri, 2011-10-14 at 16:51 +0200, Fabien Bodard wrote: > I think he not use a 'toolbar' but an hbox. > And the hbox force the buttons height, so the picture are cut. > > try to set more height to the hbox or the toolbar > > > > Le 14 octobre 2011 16:42, Beno?t Minisini > a ?crit : > >> Hi, i add some toolbuttons on a Toolbar. > >> Each button has an image but at runtime it does not appear correct. > >> > >> See png > >> > >> How to correct this? > > > > At the moment, toolbar height depends on the value of the toolbar internal > > size that you can change only with the toolbar pop-up menu. > > > > The size can be "small", "medium" or "large". > > > > The toolbar button icon size follows this setting by changing the icon size > > specified in an "icon://name" picture patch, or by stretching the icon > > otherwise. > > > > Regards, > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > All the data continuously generated in your IT infrastructure contains a > > definitive record of customers, application performance, security > > threats, fraudulent activity and more. Splunk takes this data and makes > > sense of it. Business sense. IT sense. Common sense. > > http://p.sf.net/sfu/splunk-d2d-oct > > _______________________________________________ > > 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: image_146.png Type: image/png Size: 16627 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image_147.png Type: image/png Size: 13014 bytes Desc: not available URL: From admin at ...2701... Sun Oct 30 11:20:34 2011 From: admin at ...2701... (J_Mischk3) Date: Sun, 30 Oct 2011 03:20:34 -0700 (PDT) Subject: [Gambas-user] Send an Event...? In-Reply-To: References: <32744626.post@...1379...> Message-ID: <32746606.post@...1379...> Fabien Bodard-4 wrote: > > ???? > > really i don't understand what you want to do > > Ok, I'll try to explain. ( For some years ago I worked with a 4GL tool under Win.) My example: One Button, one Textarea. Button-click-> the button raise the "click" signal. Under this tool you could "create" signals(events) ( Called messages there ) like --> SendMessage("textarea1",MySignal) This send an event to the textarae with name "MySignal" In the textarea control you can define something like Public textarea1_MySignal do something -- View this message in context: http://old.nabble.com/Send-an-Event...--tp32744626p32746606.html Sent from the gambas-user mailing list archive at Nabble.com. From admin at ...2701... Sun Oct 30 11:22:56 2011 From: admin at ...2701... (J_Mischk3) Date: Sun, 30 Oct 2011 03:22:56 -0700 (PDT) Subject: [Gambas-user] Send an Event...? In-Reply-To: <1319929702.10821.51.camel@...2688...> References: <32744626.post@...1379...> <1319929702.10821.51.camel@...2688...> Message-ID: <32746613.post@...1379...> Adam Ant wrote: > > > > Translated: "The button control raises the event "Click" when the mouse > button is clicked on it. Can a textarea control observe and handle the > button's Click event?" > The literal answer is "no" because the native textarea control does not > observe events from some "unheard-of" button. However, you can create > your own textarea based control that will observe such events and can > contain code to handle them. > > Worng "translation". I wrote an example to understand to Fabien Bodard. Please look there -- View this message in context: http://old.nabble.com/Send-an-Event...--tp32744626p32746613.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sun Oct 30 11:28:16 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Oct 2011 11:28:16 +0100 Subject: [Gambas-user] Message box anomaly In-Reply-To: <201110301610.27913.rterry@...1823...> References: <201110301610.27913.rterry@...1823...> Message-ID: 2011/10/30 richard terry : > This code: > > ?Message.Title = "Delete an appointment" > ? If Message.Warning("Delete", "Yes", "No") = 2 Then Return > > gives a gui-oddity - in that if the length of the text in the dialog < length > of the message.title then the message.title is truncated. gb.form.dialog ... or just the bases graphical components ? > > Regards > > Richard > > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From rterry at ...1823... Sun Oct 30 11:30:36 2011 From: rterry at ...1823... (richard terry) Date: Sun, 30 Oct 2011 21:30:36 +1100 Subject: [Gambas-user] Message box anomaly In-Reply-To: References: <201110301610.27913.rterry@...1823...> Message-ID: <201110302130.36555.rterry@...1823...> On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: > 2011/10/30 richard terry : > > This code: > > > > Message.Title = "Delete an appointment" > > If Message.Warning("Delete", "Yes", "No") = 2 Then Return > > > > gives a gui-oddity - in that if the length of the text in the dialog < > > length of the message.title then the message.title is truncated. > > gb.form.dialog ... or just the bases graphical components ? Sorry, don't know what you mea - its not a dialog box I've created, it is whatever internal one gambas uses by default Richard > > > Regards > > > > Richard > > > > > > > > ------------------------------------------------------------------------- > >----- Get your Android app more play: Bring it to the BlackBerry PlayBook > > in minutes. BlackBerry App World™ now supports Android™ Apps > > for the BlackBerry® PlayBook™. Discover just how easy and simple > > it is! http://p.sf.net/sfu/android-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Oct 30 11:37:29 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Oct 2011 11:37:29 +0100 Subject: [Gambas-user] Message box anomaly In-Reply-To: <201110302130.36555.rterry@...1823...> References: <201110301610.27913.rterry@...1823...> <201110302130.36555.rterry@...1823...> Message-ID: 2011/10/30 richard terry : > On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: >> 2011/10/30 richard terry : >> > This code: >> > >> > ?Message.Title = "Delete an appointment" >> > ? If Message.Warning("Delete", "Yes", "No") = 2 Then Return >> > >> > gives a gui-oddity - in that if the length of the text in the dialog < >> > length of the message.title then the message.title is truncated. >> >> gb.form.dialog ... or just the bases graphical components ? > > Sorry, don't know what you mea - its not a dialog box I've created, it is > whatever internal one gambas uses by default i understant well :) ... but do you use the gb.form.dialog component ? or not . It's because this component replace the common qt and gtk dialog by gambas ones... So if we know that, we know where to look > > Richard > >> >> > Regards >> > >> > Richard >> > >> > >> > >> > ------------------------------------------------------------------------- >> >----- Get your Android app more play: Bring it to the BlackBerry PlayBook >> > in minutes. BlackBerry App World™ now supports Android™ Apps >> > for the BlackBerry® PlayBook™. Discover just how easy and simple >> > it is! http://p.sf.net/sfu/android-dev2dev >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas.fr at ...626... Sun Oct 30 11:45:41 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Oct 2011 11:45:41 +0100 Subject: [Gambas-user] Send an Event...? In-Reply-To: <32746613.post@...1379...> References: <32744626.post@...1379...> <1319929702.10821.51.camel@...2688...> <32746613.post@...1379...> Message-ID: 2011/10/30 J_Mischk3 : > > > > Adam Ant wrote: >> >> >> >> Translated: ?"The button control raises the event "Click" when the mouse >> button is clicked on it. Can a textarea control observe and handle the >> button's Click event?" >> The literal answer is "no" because the native textarea control does not >> observe events from some "unheard-of" button. ?However, you can create >> your own textarea based control ?that will observe such events and can >> contain code to handle them. >> >> > > Worng "translation". I wrote an example to understand to Fabien Bodard. > Please look there > Well this what i do : Public sub Button_Click() TextBox1OnButtonClick End Private Sub TextBox1OnButtonClick() TextBox1.Background=color.yellow End !----------------------------------------------- But you can do that too Public sub Button1_Click Analyse(Textbox1) end Private Sub Analyse(hText as TextBox) do someting on hText.Text end There are no needs to use events for something that just need functions call :/ events is just for an object that want to dialog with one of its container. But for object in the same container, functions are used. For exemple ... the needed event in your case is button_click then you call a function that do something with the textbox or with a textbox from this event. -- Fabien Bodard From rterry at ...1823... Sun Oct 30 11:51:50 2011 From: rterry at ...1823... (richard terry) Date: Sun, 30 Oct 2011 21:51:50 +1100 Subject: [Gambas-user] Message box anomaly In-Reply-To: References: <201110301610.27913.rterry@...1823...> <201110302130.36555.rterry@...1823...> Message-ID: <201110302151.50812.rterry@...1823...> On Sunday 30 October 2011 21:37:29 Fabien Bodard wrote: > 2011/10/30 richard terry : > > On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: > >> 2011/10/30 richard terry : > >> > This code: > >> > > >> > Message.Title = "Delete an appointment" > >> > If Message.Warning("Delete", "Yes", "No") = 2 Then Return > >> > > >> > gives a gui-oddity - in that if the length of the text in the dialog < > >> > length of the message.title then the message.title is truncated. > >> > >> gb.form.dialog ... or just the bases graphical components ? > > > > Sorry, don't know what you mea - its not a dialog box I've created, it is > > whatever internal one gambas uses by default > > i understant well :) ... but do you use the gb.form.dialog component ? or > not . Seems so gb.form.dialog (enhanced standard dialogs) so says my component list. Regards Richard > It's because this component replace the common qt and gtk dialog by > gambas ones... So if we know that, we know where to look > > > Richard > > > >> > Regards > >> > > >> > Richard > >> > > >> > > >> > > >> > ---------------------------------------------------------------------- > >> >--- ----- Get your Android app more play: Bring it to the BlackBerry > >> > PlayBook in minutes. BlackBerry App World™ now supports > >> > Android™ Apps for the BlackBerry® PlayBook™. Discover > >> > just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > >----- Get your Android app more play: Bring it to the BlackBerry PlayBook > > in minutes. BlackBerry App World™ now supports Android™ Apps > > for the BlackBerry® PlayBook™. Discover just how easy and simple > > it is! http://p.sf.net/sfu/android-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > From admin at ...2701... Sun Oct 30 12:14:17 2011 From: admin at ...2701... (J_Mischk3) Date: Sun, 30 Oct 2011 04:14:17 -0700 (PDT) Subject: [Gambas-user] Send an Event...? In-Reply-To: References: <32744626.post@...1379...> <1319929702.10821.51.camel@...2688...> <32746613.post@...1379...> Message-ID: <32746741.post@...1379...> Fabien Bodard-4 wrote: > > > Well this what i do : > > Public sub Button_Click() > > TextBox1OnButtonClick > > End > > Private Sub TextBox1OnButtonClick() > > TextBox1.Background=color.yellow > > End > > > Hi Fabien, that's another sight of what I want, but it will work and that help me!! Thanks Best regards Juergen -- View this message in context: http://old.nabble.com/Send-an-Event...--tp32744626p32746741.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sun Oct 30 12:38:31 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Oct 2011 12:38:31 +0100 Subject: [Gambas-user] Message box anomaly In-Reply-To: <201110302151.50812.rterry@...1823...> References: <201110301610.27913.rterry@...1823...> <201110302130.36555.rterry@...1823...> <201110302151.50812.rterry@...1823...> Message-ID: 2011/10/30 richard terry : > On Sunday 30 October 2011 21:37:29 Fabien Bodard wrote: >> 2011/10/30 richard terry : >> > On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: >> >> 2011/10/30 richard terry : >> >> > This code: >> >> > >> >> > ?Message.Title = "Delete an appointment" >> >> > ? If Message.Warning("Delete", "Yes", "No") = 2 Then Return >> >> > >> >> > gives a gui-oddity - in that if the length of the text in the dialog < >> >> > length of the message.title then the message.title is truncated. >> >> >> >> gb.form.dialog ... or just the bases graphical components ? >> > >> > Sorry, don't know what you mea - its not a dialog box I've created, it is >> > whatever internal one gambas uses by default >> >> i understant well :) ... but do you use the gb.form.dialog component ? or >> ?not . > > Seems so gb.form.dialog (enhanced standard dialogs) > > so says my component list. > > Regards > > Richard Well my misstake ... it is not this component for simple message box :). Do you use gtk or qt ... and if you use gb.gui ... on what Desktop envirronement are you ? > >> It's because this component replace the common qt and gtk dialog by >> gambas ones... So if we know that, we know where to look >> >> > Richard >> > >> >> > Regards >> >> > >> >> > Richard >> >> > >> >> > >> >> > >> >> > ---------------------------------------------------------------------- >> >> >--- ----- Get your Android app more play: Bring it to the BlackBerry >> >> > PlayBook in minutes. BlackBerry App World™ now supports >> >> > Android™ Apps for the BlackBerry® PlayBook™. Discover >> >> > just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev >> >> > _______________________________________________ >> >> > Gambas-user mailing list >> >> > Gambas-user at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> > ------------------------------------------------------------------------- >> >----- Get your Android app more play: Bring it to the BlackBerry PlayBook >> > in minutes. BlackBerry App World™ now supports Android™ Apps >> > for the BlackBerry® PlayBook™. Discover just how easy and simple >> > it is! http://p.sf.net/sfu/android-dev2dev >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas.fr at ...626... Sun Oct 30 12:43:00 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Oct 2011 12:43:00 +0100 Subject: [Gambas-user] Send an Event...? In-Reply-To: <32746741.post@...1379...> References: <32744626.post@...1379...> <1319929702.10821.51.camel@...2688...> <32746613.post@...1379...> <32746741.post@...1379...> Message-ID: What gambas miss in fact is a way to force the LAST Content. With that i can do : Public Button1_Click() LAST = TextBox1 TextBox1_Change() ENd Maybe a function Obect.CallEvent(TextBox1, "Change") will be usefull by setting the LAST keyword internally 2011/10/30 J_Mischk3 : > > > > Fabien Bodard-4 wrote: >> >> >> Well this what i do : >> >> Public sub Button_Click() >> >> ? TextBox1OnButtonClick >> >> End >> >> Private Sub TextBox1OnButtonClick() >> >> ? TextBox1.Background=color.yellow >> >> End >> >> >> > > Hi Fabien, > > that's another sight of what I want, but it will work and that help me!! > > Thanks > > Best regards > > Juergen > -- > View this message in context: http://old.nabble.com/Send-an-Event...--tp32744626p32746741.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Get your Android app more play: Bring it to the BlackBerry PlayBook > in minutes. BlackBerry App World™ now supports Android™ Apps > for the BlackBerry® PlayBook™. Discover just how easy and simple > it is! http://p.sf.net/sfu/android-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From rterry at ...1823... Sun Oct 30 12:43:16 2011 From: rterry at ...1823... (richard terry) Date: Sun, 30 Oct 2011 22:43:16 +1100 Subject: [Gambas-user] Message box anomaly In-Reply-To: References: <201110301610.27913.rterry@...1823...> <201110302151.50812.rterry@...1823...> Message-ID: <201110302243.16402.rterry@...1823...> On Sunday 30 October 2011 22:38:31 Fabien Bodard wrote: > 2011/10/30 richard terry : > > On Sunday 30 October 2011 21:37:29 Fabien Bodard wrote: > >> 2011/10/30 richard terry : > >> > On Sunday 30 October 2011 21:28:16 Fabien Bodard wrote: > >> >> 2011/10/30 richard terry : > >> >> > This code: > >> >> > > >> >> > Message.Title = "Delete an appointment" > >> >> > If Message.Warning("Delete", "Yes", "No") = 2 Then Return > >> >> > > >> >> > gives a gui-oddity - in that if the length of the text in the > >> >> > dialog < length of the message.title then the message.title is > >> >> > truncated. > >> >> > >> >> gb.form.dialog ... or just the bases graphical components ? > >> > > >> > Sorry, don't know what you mea - its not a dialog box I've created, it > >> > is whatever internal one gambas uses by default > >> > >> i understant well :) ... but do you use the gb.form.dialog component ? > >> or not . > > > > Seems so gb.form.dialog (enhanced standard dialogs) > > > > so says my component list. > > > > Regards > > > > Richard > > Well my misstake ... it is not this component for simple message box :). > > Do you use gtk or qt ... and if you use gb.gui ... on what Desktop > envirronement are you ? qt 4.5.2 and Kubuntu 9, however I do use 4.6 and 10 at work so I can also check if the same problem exists there. Richard > > >> It's because this component replace the common qt and gtk dialog by > >> gambas ones... So if we know that, we know where to look > >> > >> > Richard > >> > > >> >> > Regards > >> >> > > >> >> > Richard > >> >> > > >> >> > > >> >> > > >> >> > ------------------------------------------------------------------- > >> >> >--- --- ----- Get your Android app more play: Bring it to the > >> >> > BlackBerry PlayBook in minutes. BlackBerry App World™ now > >> >> > supports Android™ Apps for the BlackBerry® PlayBook™. > >> >> > Discover just how easy and simple it is! > >> >> > http://p.sf.net/sfu/android-dev2dev > >> >> > _______________________________________________ > >> >> > Gambas-user mailing list > >> >> > Gambas-user at lists.sourceforge.net > >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > >> > ---------------------------------------------------------------------- > >> >--- ----- Get your Android app more play: Bring it to the BlackBerry > >> > PlayBook in minutes. BlackBerry App World™ now supports > >> > Android™ Apps for the BlackBerry® PlayBook™. Discover > >> > just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------- > >----- Get your Android app more play: Bring it to the BlackBerry PlayBook > > in minutes. BlackBerry App World™ now supports Android™ Apps > > for the BlackBerry® PlayBook™. Discover just how easy and simple > > it is! http://p.sf.net/sfu/android-dev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Oct 30 14:43:34 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Oct 2011 14:43:34 +0100 Subject: [Gambas-user] Message box anomaly In-Reply-To: <201110302243.16402.rterry@...1823...> References: <201110301610.27913.rterry@...1823...> <201110302151.50812.rterry@...1823...> <201110302243.16402.rterry@...1823...> Message-ID: well it is not a bug, but a feature, The width of the box is computed from the content text width. you can do that as workaround Message.Title = "Delete an appointment" If Message.Warning("Delete" & String(40, " "), "Yes", "No") = 2 Then Return From gambas at ...2524... Sun Oct 30 16:54:00 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 30 Oct 2011 15:54:00 +0000 Subject: [Gambas-user] Issue 136 in gambas: Cannot create inline array of Classes - Segmentation fault In-Reply-To: <0-6813199134517018827-12566679922520926399-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12566679922520926399-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12566679922520926399-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 136 by benoit.m... at ...626...: Cannot create inline array of Classes - Segmentation fault http://code.google.com/p/gambas/issues/detail?id=136 Fixed in revision #4224. The problem is the [...] operator that didn't check the datatype of its argument enough. Now it raises an error when detecting non-standard datatypes like functions, classes... From gambas at ...2524... Sun Oct 30 18:24:23 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 30 Oct 2011 17:24:23 +0000 Subject: [Gambas-user] Issue 137 in gambas: Gambas does not catch Process events Message-ID: <0-6813199134517018827-3112544515524187582-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 137 by k_dilla... at ...67...: Gambas does not catch Process events http://code.google.com/p/gambas/issues/detail?id=137 1) Describe the problem. Hello, Im trying to download a webpage with wget in this code but Gambas does not catch Kill or Read events for the Process object Its very similar to the bug that was fixed with HttpClient http://pastebin.com/rhLGmtaZ 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK (Gambas 2.99.5) Operating system: Linux Distribution: Fedora 14 Architecture: x86 GUI component: Qt: 4.7.4 Desktop used: KDE 4.6.5 (4.6.5) 3) Provide a little project that reproduces the bug or the crash. http://pastebin.com/rhLGmtaZ 5) Explain clearly how to reproduce the bug or the crash. Create a new graphic project and replace the code into the form code From gambas at ...2524... Sun Oct 30 18:43:27 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 30 Oct 2011 17:43:27 +0000 Subject: [Gambas-user] Issue 137 in gambas: Gambas does not catch Process events In-Reply-To: <0-6813199134517018827-3112544515524187582-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3112544515524187582-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3112544515524187582-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #1 on issue 137 by benoit.m... at ...626...: Gambas does not catch Process events http://code.google.com/p/gambas/issues/detail?id=137 You must type hProceso = EXEC ["wget", "www.google.com", "-O-", "--directory-prefix=" & User.Home] FOR READ AS "Process" Read the documentation of EXEC on the wiki about the changes between Gambas 3 and Gambas 2. From gambas at ...2524... Sun Oct 30 18:54:29 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 30 Oct 2011 17:54:29 +0000 Subject: [Gambas-user] Issue 136 in gambas: Cannot create inline array of Classes - Segmentation fault In-Reply-To: <1-6813199134517018827-12566679922520926399-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12566679922520926399-gambas=googlecode.com@...2524...> <0-6813199134517018827-12566679922520926399-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12566679922520926399-gambas=googlecode.com@...2524...> Comment #2 on issue 136 by benoit.m... at ...626...: Cannot create inline array of Classes - Segmentation fault http://code.google.com/p/gambas/issues/detail?id=136 Oops sorry. Really fixed in revision #4226. From gambas at ...2524... Sun Oct 30 20:23:48 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 30 Oct 2011 19:23:48 +0000 Subject: [Gambas-user] Issue 138 in gambas: Bug with long constant declaration Message-ID: <0-6813199134517018827-2115458615409850634-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 138 by jussi.la... at ...626...: Bug with long constant declaration http://code.google.com/p/gambas/issues/detail?id=138 1) Describe the problem. According to documentation value -9223372036854775808 is in valid range for long. However following declaration; Public Const LowestLong As Long = -9223372036854775808 causes error message "type mismatch". 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4226 Operating system: Linux Distribution: Xubuntu 11.10 Architecture: x86_64 From rterry at ...1823... Sun Oct 30 22:09:27 2011 From: rterry at ...1823... (richard terry) Date: Mon, 31 Oct 2011 08:09:27 +1100 Subject: [Gambas-user] Message box anomaly In-Reply-To: References: <201110301610.27913.rterry@...1823...> <201110302243.16402.rterry@...1823...> Message-ID: <201110310809.27364.rterry@...1823...> On Monday 31 October 2011 00:43:34 Fabien Bodard wrote: > well it is not a bug, but a feature, > > The width of the box is computed from the content text width. > > you can do that as workaround > > Message.Title = "Delete an appointment" > If Message.Warning("Delete" & String(40, " "), "Yes", "No") = 2 Then > Return Yes, thanks, of course, I've done that. Thanks for taking the time. richard > > --------------------------------------------------------------------------- > --- Get your Android app more play: Bring it to the BlackBerry PlayBook in > minutes. BlackBerry App World™ now supports Android™ Apps for > the BlackBerry® PlayBook™. Discover just how easy and simple it > is! http://p.sf.net/sfu/android-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tobiasboe1 at ...20... Sun Oct 30 22:25:40 2011 From: tobiasboe1 at ...20... (tobias) Date: Sun, 30 Oct 2011 22:25:40 +0100 Subject: [Gambas-user] Me.Persistent Message-ID: <4EADC0D4.5030903@...20...> hi list, i thought that the following code: Public Sub Form_Open() Me.Persistent = True End ensures that the form (startup class) is only hidden but the program stays alive (i have a tray icon) but if i close the form, the programs ends. i had the same thing in gambas2 and if i remember correctly it worked there... have there been any changes? regards, tobi From gambas at ...1... Sun Oct 30 22:32:02 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Oct 2011 22:32:02 +0100 Subject: [Gambas-user] Me.Persistent In-Reply-To: <4EADC0D4.5030903@...20...> References: <4EADC0D4.5030903@...20...> Message-ID: <4EADC252.4040206@...1...> Le 30/10/2011 22:25, tobias a ?crit : > hi list, > > i thought that the following code: > > Public Sub Form_Open() > Me.Persistent = True > End > > ensures that the form (startup class) is only hidden but the program > stays alive (i have a tray icon) > but if i close the form, the programs ends. > > i had the same thing in gambas2 and if i remember correctly it worked > there... > have there been any changes? > > regards, > tobi > The program should stop when all windows are closed, not destroyed. So the "persistent" flag has no effect in that test. Regards, -- Beno?t Minisini From gambas at ...2524... Mon Oct 31 19:38:35 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 31 Oct 2011 18:38:35 +0000 Subject: [Gambas-user] Issue 139 in gambas: Incorrect window positioning Message-ID: <0-6813199134517018827-7200022912945582594-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 139 by jussi.la... at ...626...: Incorrect window positioning http://code.google.com/p/gambas/issues/detail?id=139 1) Describe the problem. With GTK+ forms appear under panel so that minimize, maximize, close, etc buttons are not visible. No problems with Qt4. See attached pictures. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4226 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 GUI component: GTK+ Desktop used: XFCE 5) Explain clearly how to reproduce the bug or the crash. Just make GTK+ project with form, and run it. Attachments: Buggy.png 5.1 KB Expected.png 7.7 KB From gambas at ...2524... Mon Oct 31 21:09:18 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 31 Oct 2011 20:09:18 +0000 Subject: [Gambas-user] Issue 138 in gambas: Bug with long constant declaration In-Reply-To: <0-6813199134517018827-2115458615409850634-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2115458615409850634-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2115458615409850634-gambas=googlecode.com@...2524...> Comment #1 on issue 138 by emil.len... at ...626...: Bug with long constant declaration http://code.google.com/p/gambas/issues/detail?id=138 I cannot reproduce the bug. It works at it should for me. Public Const LowestLong As Long = -9223372036854775808 Public Sub Main() Print LowestLong End