From willy at ...2734... Sat Sep 1 00:28:20 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 01 Sep 2012 00:28:20 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1345667222.2137.5.camel@...2735...> References: <1345472740.3601.19.camel@...2735...> <5032DF33.2020609@...1...> <1345545086.2120.10.camel@...2735...> <1345667222.2137.5.camel@...2735...> Message-ID: <1346452100.3476.39.camel@...2735...> On wo, 2012-08-22 at 22:27 +0200, Willy Raets wrote: > > > OK, the bug should be fixed in revision #5061. > > > > > I repackaged the library with revision #5069. > On both Ubuntu and openSuSe the library now installs WITH > extension .gambas > I also tested a normal application on my Ubuntu and it installed > correctly WITHOUT extension .gambas Today I installed a package made by revision #5071 of a normal application on Linux Mint 13 Maya (where this revision runs on and with a Mate desktop) It installed correctly without .gambas extension in usr/bin (See attached screenshot 'Mint13Maya-AppInstalled-noextension.png') When starting the application from the menu nothing happened? It was in usr/bin and trying to open it from there was no succes either. What I did notice was that it was known to the system as program (instead of the usual gambas executable). Making a .gambas executable from IDE and runing that worked just fine (and was known as gambas executable). (See attached screenshot 'Mint13Maya-AppMakeExecutable-with extension.png') So the lack of the .gambas extension seems to be confusing for Mint 13 Maya. So I tried installing on Ubuntu 10.10. Installed correctly without .gambas extension. Shows correctly it is a gambas executable (See attached screenshot 'Ubuntu10.10-AppInstalled-withextension.png') But when run from menu gives an error!! (See attached screenshot 'Ubuntu10.10-ErrorAfterStartingFromMenu.png') When opened in usr/bin application correctly runs. NOTE: This was the system I tested the revision #5069 normal application and library on (see post I'm replying to). The one that run correctly. But I'm afraid it run correctly because I checked it in usr/bin and opened it from there. Never tried it running from Applications menu!! So seems the library problem is fixed but a new problem came up for normal applications!! > > > > > > Tell me if it is ok for you! > > It is ok for me :-) > Not ok anymore :( > > > > > > Regards, > > > > > Thanks Beno?t, > > Thanks again, > > Willy Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: Mint13Maya-AppInstalled-noextension.png Type: image/png Size: 8996 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Mint13Maya-AppMakeExecutable-with extension.png Type: image/png Size: 7292 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Ubuntu10.10-AppInstalled-noextension.png Type: image/png Size: 11323 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Ubuntu10.10-ErrorAfterStartingFromMenu.png Type: image/png Size: 15647 bytes Desc: not available URL: From ulusoyab at ...43... Sat Sep 1 09:22:09 2012 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Sat, 1 Sep 2012 00:22:09 -0700 (PDT) Subject: [Gambas-user] CRITICAL **: os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed Message-ID: <1346484129.97124.YahooMailNeo@...2262...> My ?project error is "CRITICAL **: os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed" i attached ?files. i saw same error??http://comments.gmane.org/gmane.comp.lang.gambas.user/19778 Abdurrahman ULUSOY Ulusoy Mekatronik Cep: 05545825765 Tel: 02164835098 -------------- next part -------------- A non-text attachment was scrubbed... Name: otobus-0.0.1.tar.gz Type: application/x-gzip Size: 8909 bytes Desc: not available URL: From gambas.fr at ...626... Sat Sep 1 10:21:24 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 1 Sep 2012 10:21:24 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1346452100.3476.39.camel@...2735...> References: <1345472740.3601.19.camel@...2735...> <5032DF33.2020609@...1...> <1345545086.2120.10.camel@...2735...> <1345667222.2137.5.camel@...2735...> <1346452100.3476.39.camel@...2735...> Message-ID: 2012/9/1 Willy Raets : > On wo, 2012-08-22 at 22:27 +0200, Willy Raets wrote: >> > > OK, the bug should be fixed in revision #5061. >> > > >> >> I repackaged the library with revision #5069. >> On both Ubuntu and openSuSe the library now installs WITH >> extension .gambas >> I also tested a normal application on my Ubuntu and it installed >> correctly WITHOUT extension .gambas > > Today I installed a package made by revision #5071 of a normal > application on Linux Mint 13 Maya (where this revision runs on and with > a Mate desktop) > > It installed correctly without .gambas extension in usr/bin > (See attached screenshot 'Mint13Maya-AppInstalled-noextension.png') > > When starting the application from the menu nothing happened? > It was in usr/bin and trying to open it from there was no succes either. > > What I did notice was that it was known to the system as program > (instead of the usual gambas executable). > > Making a .gambas executable from IDE and runing that worked just fine > (and was known as gambas executable). > (See attached screenshot 'Mint13Maya-AppMakeExecutable-with > extension.png') > > So the lack of the .gambas extension seems to be confusing for Mint 13 > Maya. > > So I tried installing on Ubuntu 10.10. > Installed correctly without .gambas extension. > Shows correctly it is a gambas executable > (See attached screenshot 'Ubuntu10.10-AppInstalled-withextension.png') > > But when run from menu gives an error!! > (See attached screenshot 'Ubuntu10.10-ErrorAfterStartingFromMenu.png') > > When opened in usr/bin application correctly runs. > > NOTE: This was the system I tested the revision #5069 normal application > and library on (see post I'm replying to). The one that run correctly. > But I'm afraid it run correctly because I checked it in usr/bin and > opened it from there. Never tried it running from Applications menu!! hum ... is the path in the .desktop file is correct ? > > So seems the library problem is fixed but a new problem came up for > normal applications!! > >> > > >> > > Tell me if it is ok for you! >> >> It is ok for me :-) >> > > Not ok anymore :( > >> > > >> > > Regards, >> > > >> > Thanks Beno?t, >> >> Thanks again, >> >> Willy > > Willy > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas at ...1... Sat Sep 1 14:04:16 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 01 Sep 2012 14:04:16 +0200 Subject: [Gambas-user] CRITICAL **: os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed In-Reply-To: <1346484129.97124.YahooMailNeo@...2262...> References: <1346484129.97124.YahooMailNeo@...2262...> Message-ID: <5041F9C0.801@...1...> Le 01/09/2012 09:22, abdurrahman ulusoy a ?crit : > My project error is "CRITICAL **: os_bar_set_parent: assertion `OS_IS_BAR (bar)' failed" > i attached files. > i saw same error http://comments.gmane.org/gmane.comp.lang.gambas.user/19778 > > Abdurrahman ULUSOY > Ulusoy Mekatronik > Cep: 05545825765 > Tel: 02164835098 > Your project cannot be run. Without a project that reproduces the message, I can't fix it. Regards, -- Beno?t Minisini From willy at ...2734... Sat Sep 1 15:02:10 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 01 Sep 2012 15:02:10 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <504163E5.2010003@...1...> References: <1345472740.3601.19.camel@...2735...> <5032DF33.2020609@...1...> <1345545086.2120.10.camel@...2735...> <1345667222.2137.5.camel@...2735...> <1346452100.3476.39.camel@...2735...> <504163E5.2010003@...1...> Message-ID: <1346504530.2609.5.camel@...2735...> On za, 2012-09-01 at 03:24 +0200, Beno?t Minisini wrote: > Le 01/09/2012 00:28, Willy Raets a ?crit : > > On wo, 2012-08-22 at 22:27 +0200, Willy Raets wrote: > >>>> > >>>> Tell me if it is ok for you! > >> > >> It is ok for me :-) > >> > > > > Not ok anymore :( > > > > Revison #5109 now creates correct Debian/Ubuntu desktop files, i.e. > without the .gambas extension in the program name. > > Otherwise, Gambas executable are detected by the > 'application-x-gambas3.xml' file located in the /trunk/main/mime > directory of the gambas sources. > > If you compile Gambas from sources, that file is activated at "make > install" through the 'xdg-mime install ...' command. > > If you install Gambas from a binary package, the gambas3-runtime package > must do the same thing, but I have no control about that. You must see > what you have inside the package and check with the packager if he > handled that correctly. > > Regards, > Installed revision #5109 and repackaged the application. Installed package on: Ubuntu 10.10, Gnome2 with Gambas 3.2.1 - Application starts from menu - Application correctly installs without .gambas extension in usr/bin Linux Mint 13, Mate with Gambas 3.2.90 (rev. #5071) - Application starts from menu - Application correctly installs without .gambas extension in usr/bin It is ok for me again, YOU THE MAN... :) Thanks, Willy From willy at ...2734... Sat Sep 1 19:54:24 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 01 Sep 2012 19:54:24 +0200 Subject: [Gambas-user] A new Gambas 3 library for use in distributed applications Message-ID: <1346522064.2609.12.camel@...2735...> Hi all you Gambas developers. Just release a new library for Gambas3 developers called LibGb3DevAid (stands for Library Gambas3 Developer Aid). The library helps you with retrieving system information and with tracking errors and bugs in your distributed applications. You can download and learn more about the library at: http://whiteislandsoftware.com/index.php?page=catalogues&type=entry&id=bleeding-edge%2Flibgb3devaid-alpha-1 Just use it in your distributed applications and find out if it can be of any use for you. The download contains: - Installation packages - Two source code examples on how to use (SystemInformationForm and BugReportSample) - A .pdf with all the library provides - A ReadMe.txt file -> So go on and read it :) All feedback, be it bugs, error reports, suggestions for improvement or new implementations are welcomed. Use the example application BugReportSample, Menu Help -> Report problem to send me the feedback. Enjoy.. Willy From taboege at ...626... Sat Sep 1 20:27:03 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 1 Sep 2012 20:27:03 +0200 Subject: [Gambas-user] A new Gambas 3 library for use in distributed applications In-Reply-To: <1346522064.2609.12.camel@...2735...> References: <1346522064.2609.12.camel@...2735...> Message-ID: <20120901182702.GF515@...2774...> On Sat, 01 Sep 2012, Willy Raets wrote: > Hi all you Gambas developers. > > Just release a new library for Gambas3 developers called LibGb3DevAid > (stands for Library Gambas3 Developer Aid). > > The library helps you with retrieving system information and with > tracking errors and bugs in your distributed applications. > > You can download and learn more about the library at: > http://whiteislandsoftware.com/index.php?page=catalogues&type=entry&id=bleeding-edge%2Flibgb3devaid-alpha-1 > > Just use it in your distributed applications and find out if it can be > of any use for you. > > The download contains: > - Installation packages > - Two source code examples on how to use (SystemInformationForm and > BugReportSample) > - A .pdf with all the library provides > - A ReadMe.txt file -> So go on and read it :) > > All feedback, be it bugs, error reports, suggestions for improvement or > new implementations are welcomed. > > Use the example application BugReportSample, Menu Help -> Report problem > to send me the feedback. > > Enjoy.. > > Willy > Where are the sources? Not contained in the .tar.gz you offer at the above link - or am I blind? Regards, Tobi From bbruen at ...2308... Sun Sep 2 01:06:54 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 02 Sep 2012 08:36:54 +0930 Subject: [Gambas-user] A new Gambas 3 library for use in distributed applications In-Reply-To: <20120901182702.GF515@...2774...> References: <1346522064.2609.12.camel@...2735...> <20120901182702.GF515@...2774...> Message-ID: <1346540814.18342.0.camel@...2688...> On Sat, 2012-09-01 at 20:27 +0200, Tobias Boege wrote: > On Sat, 01 Sep 2012, Willy Raets wrote: > > Hi all you Gambas developers. > > > > Just release a new library for Gambas3 developers called LibGb3DevAid > > (stands for Library Gambas3 Developer Aid). > > > > The library helps you with retrieving system information and with > > tracking errors and bugs in your distributed applications. > > > > You can download and learn more about the library at: > > http://whiteislandsoftware.com/index.php?page=catalogues&type=entry&id=bleeding-edge%2Flibgb3devaid-alpha-1 > > > > Just use it in your distributed applications and find out if it can be > > of any use for you. > > > > The download contains: > > - Installation packages > > - Two source code examples on how to use (SystemInformationForm and > > BugReportSample) > > - A .pdf with all the library provides > > - A ReadMe.txt file -> So go on and read it :) > > > > All feedback, be it bugs, error reports, suggestions for improvement or > > new implementations are welcomed. > > > > Use the example application BugReportSample, Menu Help -> Report problem > > to send me the feedback. > > > > Enjoy.. > > > > Willy > > > > Where are the sources? Not contained in the .tar.gz you offer at the above > link - or am I blind? > > Regards, > Tobi > Me too!. None of the binaries will install here and there is no autotools package. regards Bruce From bbruen at ...2308... Sun Sep 2 03:44:20 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 02 Sep 2012 11:14:20 +0930 Subject: [Gambas-user] Files inside executables - access strategy advice (advanced) Message-ID: <1346550260.32050.29.camel@...2688...> Is there an easy way to access files inside a library or component executable? Or more correctly, "What is the best way..." I am abstracting some common database methods into a library out of several of our apps. The problem I am having is that these methods rely on some metadata files that currently have to be copied into each application (and thus is a potential version error source). I would like to put the metadata inside the library executable so that every app using the library will be using the same metadata files. Here's the structure that is giving me Grief! MyApplication ---uses---> LibAppData ---uses--> LibBO LibBO provides the low level database access and consists of primarily a class that acts as the parent class for all the LibAppData classes, which in turn represent fairly complex "business data objects". At the moment the metadata representing the persistence maps for the objects reside in a "BOMeta" subdir in (each of) the MyApplication executables. These metadata files are needed by LibBO. I can access them simply by using File.Load("BOMeta/" & ) which works fine as it's just like accessing any file within the executable archive. Maybe a real example would help explain. Two of our major apps are "ManageStable" and "ManageAuctions" (the latter allows the user to submit horses for sale at auctions.) Both of these use a "horse" business object in LibAppData, so they both currently need to have the metadata file "horseBO.meta" included at the application level. I want to move that metadata file into LibAppData. But then LibBO cannot just access the file using the above simple method. So far I have planned it along the following line: 1) In LibAppData HorseBO._init() needs to copy all its metadata files into a Temp$ directory. This should be done in _init so that the files are only copied once during an execution, not everytime a horse object is created. 2) LibBO can then expect to find the metadata in the relevant /tmp/gambas.500/ directory. However, this fails to impress as firstly, there are over 30 different business object classes and the copy would be invoked every time one of the LibAppData classes is loaded and secondly, only some of the business object classes are used by an individual app. Can anyone see or suggest a better way to do this? tia Bruce From gambas at ...1... Sun Sep 2 03:54:50 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 02 Sep 2012 03:54:50 +0200 Subject: [Gambas-user] Files inside executables - access strategy advice (advanced) In-Reply-To: <1346550260.32050.29.camel@...2688...> References: <1346550260.32050.29.camel@...2688...> Message-ID: <5042BC6A.6050505@...1...> Le 02/09/2012 03:44, Bruce a ?crit : > Is there an easy way to access files inside a library or component > executable? Or more correctly, "What is the best way..." > > I am abstracting some common database methods into a library out of > several of our apps. The problem I am having is that these methods rely > on some metadata files that currently have to be copied into each > application (and thus is a potential version error source). I would > like to put the metadata inside the library executable so that every app > using the library will be using the same metadata files. > > Here's the structure that is giving me Grief! > > MyApplication ---uses---> LibAppData ---uses--> LibBO > > LibBO provides the low level database access and consists of primarily a > class that acts as the parent class for all the LibAppData classes, > which in turn represent fairly complex "business data objects". At the > moment the metadata representing the persistence maps for the objects > reside in a "BOMeta" subdir in (each of) the MyApplication executables. > These metadata files are needed by LibBO. I can access them simply by > using > File.Load("BOMeta/" & ) > which works fine as it's just like accessing any file within the > executable archive. > > Maybe a real example would help explain. Two of our major apps are > "ManageStable" and "ManageAuctions" (the latter allows the user to > submit horses for sale at auctions.) > Both of these use a "horse" business object in LibAppData, so they both > currently need to have the metadata file "horseBO.meta" included at the > application level. I want to move that metadata file into LibAppData. > But then LibBO cannot just access the file using the above simple > method. > > So far I have planned it along the following line: > 1) In LibAppData HorseBO._init() needs to copy all its metadata files > into a Temp$ directory. This should be done in _init so that the files > are only copied once during an execution, not everytime a horse object > is created. > 2) LibBO can then expect to find the metadata in the > relevant /tmp/gambas.500/ directory. > > However, this fails to impress as firstly, there are over 30 different > business object classes and the copy would be invoked every time one of > the LibAppData classes is loaded and secondly, only some of the business > object classes are used by an individual app. > > Can anyone see or suggest a better way to do this? > > tia > Bruce > I don't think I have understood everything... A library can access any file located in the main project (by using the special notation "../"). But a library cannot access files from other libraries, and the main project cannot access files of any library too. A workaround is opening the file where it is accessible, and sending File references through libraries. Regards, -- Beno?t Minisini From bbruen at ...2308... Sun Sep 2 05:40:02 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 02 Sep 2012 13:10:02 +0930 Subject: [Gambas-user] Files inside executables - access strategy advice (advanced) In-Reply-To: <5042BC6A.6050505@...1...> References: <1346550260.32050.29.camel@...2688...> <5042BC6A.6050505@...1...> Message-ID: <1346557202.32050.37.camel@...2688...> On Sun, 2012-09-02 at 03:54 +0200, Beno?t Minisini wrote: > Le 02/09/2012 03:44, Bruce a ?crit : > > Is there an easy way to access files inside a library or component > > executable? Or more correctly, "What is the best way..." > > > > I am abstracting some common database methods into a library out of > > several of our apps. The problem I am having is that these methods rely > > on some metadata files that currently have to be copied into each > > application (and thus is a potential version error source). I would > > like to put the metadata inside the library executable so that every app > > using the library will be using the same metadata files. > > > > Here's the structure that is giving me Grief! > > > > MyApplication ---uses---> LibAppData ---uses--> LibBO > > > > LibBO provides the low level database access and consists of primarily a > > class that acts as the parent class for all the LibAppData classes, > > which in turn represent fairly complex "business data objects". At the > > moment the metadata representing the persistence maps for the objects > > reside in a "BOMeta" subdir in (each of) the MyApplication executables. > > These metadata files are needed by LibBO. I can access them simply by > > using > > File.Load("BOMeta/" & ) > > which works fine as it's just like accessing any file within the > > executable archive. > > > > Maybe a real example would help explain. Two of our major apps are > > "ManageStable" and "ManageAuctions" (the latter allows the user to > > submit horses for sale at auctions.) > > Both of these use a "horse" business object in LibAppData, so they both > > currently need to have the metadata file "horseBO.meta" included at the > > application level. I want to move that metadata file into LibAppData. > > But then LibBO cannot just access the file using the above simple > > method. > > > > So far I have planned it along the following line: > > 1) In LibAppData HorseBO._init() needs to copy all its metadata files > > into a Temp$ directory. This should be done in _init so that the files > > are only copied once during an execution, not everytime a horse object > > is created. > > 2) LibBO can then expect to find the metadata in the > > relevant /tmp/gambas.500/ directory. > > > > However, this fails to impress as firstly, there are over 30 different > > business object classes and the copy would be invoked every time one of > > the LibAppData classes is loaded and secondly, only some of the business > > object classes are used by an individual app. > > > > Can anyone see or suggest a better way to do this? > > > > tia > > Bruce > > > > I don't think I have understood everything... > > A library can access any file located in the main project (by using the > special notation "../"). > Yes, and that works fine. > But a library cannot access files from other libraries, and the main > project cannot access files of any library too. > That's right too. > A workaround is opening the file where it is accessible, and sending > File references through libraries. > This is the bit that I can't get to work. The library cannot open a file inside its' @own executable@ using that "special notation" as that refers to the main project (and therefore I can't send the File references). > Regards, > regards Bruce From gambas.fr at ...626... Sun Sep 2 10:29:15 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 2 Sep 2012 10:29:15 +0200 Subject: [Gambas-user] Files inside executables - access strategy advice (advanced) In-Reply-To: <1346557202.32050.37.camel@...2688...> References: <1346550260.32050.29.camel@...2688...> <5042BC6A.6050505@...1...> <1346557202.32050.37.camel@...2688...> Message-ID: 2012/9/2 Bruce : > On Sun, 2012-09-02 at 03:54 +0200, Beno?t Minisini wrote: >> Le 02/09/2012 03:44, Bruce a ?crit : >> > Is there an easy way to access files inside a library or component >> > executable? Or more correctly, "What is the best way..." >> > >> > I am abstracting some common database methods into a library out of >> > several of our apps. The problem I am having is that these methods rely >> > on some metadata files that currently have to be copied into each >> > application (and thus is a potential version error source). I would >> > like to put the metadata inside the library executable so that every app >> > using the library will be using the same metadata files. >> > >> > Here's the structure that is giving me Grief! >> > >> > MyApplication ---uses---> LibAppData ---uses--> LibBO >> > >> > LibBO provides the low level database access and consists of primarily a >> > class that acts as the parent class for all the LibAppData classes, >> > which in turn represent fairly complex "business data objects". At the >> > moment the metadata representing the persistence maps for the objects >> > reside in a "BOMeta" subdir in (each of) the MyApplication executables. >> > These metadata files are needed by LibBO. I can access them simply by >> > using >> > File.Load("BOMeta/" & ) >> > which works fine as it's just like accessing any file within the >> > executable archive. >> > >> > Maybe a real example would help explain. Two of our major apps are >> > "ManageStable" and "ManageAuctions" (the latter allows the user to >> > submit horses for sale at auctions.) >> > Both of these use a "horse" business object in LibAppData, so they both >> > currently need to have the metadata file "horseBO.meta" included at the >> > application level. I want to move that metadata file into LibAppData. >> > But then LibBO cannot just access the file using the above simple >> > method. >> > >> > So far I have planned it along the following line: >> > 1) In LibAppData HorseBO._init() needs to copy all its metadata files >> > into a Temp$ directory. This should be done in _init so that the files >> > are only copied once during an execution, not everytime a horse object >> > is created. >> > 2) LibBO can then expect to find the metadata in the >> > relevant /tmp/gambas.500/ directory. >> > >> > However, this fails to impress as firstly, there are over 30 different >> > business object classes and the copy would be invoked every time one of >> > the LibAppData classes is loaded and secondly, only some of the business >> > object classes are used by an individual app. >> > >> > Can anyone see or suggest a better way to do this? >> > >> > tia >> > Bruce >> > >> >> I don't think I have understood everything... >> >> A library can access any file located in the main project (by using the >> special notation "../"). >> > Yes, and that works fine. > >> But a library cannot access files from other libraries, and the main >> project cannot access files of any library too. >> > That's right too. > >> A workaround is opening the file where it is accessible, and sending >> File references through libraries. >> > This is the bit that I can't get to work. The library cannot open a file > inside its' @own executable@ using that "special notation" as that > refers to the main project (and therefore I can't send the File > references). > >> Regards, >> > > regards > Bruce > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user NO, Benoit say that : In the library : Public Function GetFile(sFile as String) as File Dim hFile as File Return Open sFile For read End In the main program Dim hFile as File hFile = MyLibClass.GetFile("dir/file") End Then you can use for example Line Input #hFile, s -- Fabien Bodard From john.aaron.rose at ...626... Sun Sep 2 10:32:21 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 02 Sep 2012 09:32:21 +0100 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? Message-ID: <1346574741.4134.55.camel@...2811...> I'm still trying to decide if this problem falls under this thread: Using sebikul's ppa (3.2.90-0+svn4004~lucid1), appname.deb file created OK & installs OK (according to gdebi) but when executing it can't find appname.gambas. I think that the reason is that the .deb (according to gdebi) contains appname (for installation to /usr/bin) rather than appname.gambas. From gambas.fr at ...626... Sun Sep 2 10:32:53 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 2 Sep 2012 10:32:53 +0200 Subject: [Gambas-user] Files inside executables - access strategy advice (advanced) In-Reply-To: References: <1346550260.32050.29.camel@...2688...> <5042BC6A.6050505@...1...> <1346557202.32050.37.camel@...2688...> Message-ID: 2012/9/2 Fabien Bodard : > 2012/9/2 Bruce : >> On Sun, 2012-09-02 at 03:54 +0200, Beno?t Minisini wrote: >>> Le 02/09/2012 03:44, Bruce a ?crit : >>> > Is there an easy way to access files inside a library or component >>> > executable? Or more correctly, "What is the best way..." >>> > >>> > I am abstracting some common database methods into a library out of >>> > several of our apps. The problem I am having is that these methods rely >>> > on some metadata files that currently have to be copied into each >>> > application (and thus is a potential version error source). I would >>> > like to put the metadata inside the library executable so that every app >>> > using the library will be using the same metadata files. >>> > >>> > Here's the structure that is giving me Grief! >>> > >>> > MyApplication ---uses---> LibAppData ---uses--> LibBO >>> > >>> > LibBO provides the low level database access and consists of primarily a >>> > class that acts as the parent class for all the LibAppData classes, >>> > which in turn represent fairly complex "business data objects". At the >>> > moment the metadata representing the persistence maps for the objects >>> > reside in a "BOMeta" subdir in (each of) the MyApplication executables. >>> > These metadata files are needed by LibBO. I can access them simply by >>> > using >>> > File.Load("BOMeta/" & ) >>> > which works fine as it's just like accessing any file within the >>> > executable archive. >>> > >>> > Maybe a real example would help explain. Two of our major apps are >>> > "ManageStable" and "ManageAuctions" (the latter allows the user to >>> > submit horses for sale at auctions.) >>> > Both of these use a "horse" business object in LibAppData, so they both >>> > currently need to have the metadata file "horseBO.meta" included at the >>> > application level. I want to move that metadata file into LibAppData. >>> > But then LibBO cannot just access the file using the above simple >>> > method. >>> > >>> > So far I have planned it along the following line: >>> > 1) In LibAppData HorseBO._init() needs to copy all its metadata files >>> > into a Temp$ directory. This should be done in _init so that the files >>> > are only copied once during an execution, not everytime a horse object >>> > is created. >>> > 2) LibBO can then expect to find the metadata in the >>> > relevant /tmp/gambas.500/ directory. >>> > >>> > However, this fails to impress as firstly, there are over 30 different >>> > business object classes and the copy would be invoked every time one of >>> > the LibAppData classes is loaded and secondly, only some of the business >>> > object classes are used by an individual app. >>> > >>> > Can anyone see or suggest a better way to do this? >>> > >>> > tia >>> > Bruce >>> > >>> >>> I don't think I have understood everything... >>> >>> A library can access any file located in the main project (by using the >>> special notation "../"). >>> >> Yes, and that works fine. >> >>> But a library cannot access files from other libraries, and the main >>> project cannot access files of any library too. >>> >> That's right too. >> >>> A workaround is opening the file where it is accessible, and sending >>> File references through libraries. >>> >> This is the bit that I can't get to work. The library cannot open a file >> inside its' @own executable@ using that "special notation" as that >> refers to the main project (and therefore I can't send the File >> references). >> >>> Regards, >>> >> >> regards >> Bruce >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > NO, Benoit say that : > > > In the library : > > Public Function GetFile(sFile as String) as File > > Dim hFile as File > Return Open sFile For read > > End > > > > > In the main program > > Dim hFile as File > > hFile = MyLibClass.GetFile("dir/file") > > End > > Then you can use for example > > Line Input #hFile, s > > > > > -- > Fabien Bodard Haa and for the invert ... Get the file from the main program : Public sub Main Dim hFile as File Dim hLibClass as hLibClass File =Open sFile For read hLibClass = New hLibClas(hFile) End in Library Public sub _New(hFile as File) dim s as string Line Input #hFile, s -- Fabien Bodard From john.aaron.rose at ...626... Sun Sep 2 10:34:38 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 02 Sep 2012 09:34:38 +0100 Subject: [Gambas-user] App wants /usr/bin/app.gambas at runtime Message-ID: <1346574878.4134.57.camel@...2811...> Problem still occurring with sebikul's ppa (3.2.90-0+svn4004~lucid1). From vuott at ...325... Sun Sep 2 10:24:24 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 2 Sep 2012 09:24:24 +0100 (BST) Subject: [Gambas-user] gb.mime component is disabled Message-ID: <1346574264.670.YahooMailClassic@...2748...> Hello, I updated my Gambas-3 with rev. #1515. At the end of "./configure -C" I have got a notice that it says the new gb.mime component is disabled. What have I do ? Regards vuott From gambas at ...1... Sun Sep 2 11:52:34 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 02 Sep 2012 11:52:34 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1346574741.4134.55.camel@...2811...> References: <1346574741.4134.55.camel@...2811...> Message-ID: <50432C62.1060707@...1...> Le 02/09/2012 10:32, John Rose a ?crit : > I'm still trying to decide if this problem falls under this thread: > > Using sebikul's ppa (3.2.90-0+svn4004~lucid1), appname.deb file created > OK & installs OK (according to gdebi) but when executing it can't find > appname.gambas. I think that the reason is that the .deb (according to > gdebi) contains appname (for installation to /usr/bin) rather than > appname.gambas. > That bug has already been fixed in revision #5109. Note: the number in sebikul's ppa is not the revision number. You must add a constant to it to get the actual revision number. Regards, -- Beno?t Minisini From gambas at ...1... Sun Sep 2 11:58:55 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 02 Sep 2012 11:58:55 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <50432C62.1060707@...1...> References: <1346574741.4134.55.camel@...2811...> <50432C62.1060707@...1...> Message-ID: <50432DDF.6030503@...1...> Le 02/09/2012 11:52, Beno?t Minisini a ?crit : > Le 02/09/2012 10:32, John Rose a ?crit : >> I'm still trying to decide if this problem falls under this thread: >> >> Using sebikul's ppa (3.2.90-0+svn4004~lucid1), appname.deb file created >> OK & installs OK (according to gdebi) but when executing it can't find >> appname.gambas. I think that the reason is that the .deb (according to >> gdebi) contains appname (for installation to /usr/bin) rather than >> appname.gambas. >> > > That bug has already been fixed in revision #5109. > > Note: the number in sebikul's ppa is not the revision number. You must > add a constant to it to get the actual revision number. > > Regards, > According to Sebastian, we must add 1105 to get the actual revision number. But 4004 + 1105 = 5109, so that package should already have the fix. So I don't understand... -- Beno?t Minisini From gambas at ...1... Sun Sep 2 14:15:43 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 02 Sep 2012 14:15:43 +0200 Subject: [Gambas-user] New Gambas markup syntax Message-ID: <50434DEF.6010309@...1...> Hi, In revision #5117, I have added a new gambas markup syntax for help comments. The old syntax was a quick & dirty one inspired from the wiki. It didn't aim at being final. And that new syntax may replace the wiki syntax when I have time to implement a new wiki. The new syntax is inspired from MarkDown: http://daringfireball.net/projects/markdown/ Well... I think people that have written a lot of help with the old syntax will cry, as I didn't find a way to be backward compatible. I will document that markup syntax in the wiki as soon as possible. Regards, -- Beno?t Minisini From gambas at ...1... Sun Sep 2 17:01:47 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 02 Sep 2012 17:01:47 +0200 Subject: [Gambas-user] New Gambas markup syntax In-Reply-To: <50434DEF.6010309@...1...> References: <50434DEF.6010309@...1...> Message-ID: <504374DB.20303@...1...> Le 02/09/2012 14:15, Beno?t Minisini a ?crit : > Hi, > > In revision #5117, I have added a new gambas markup syntax for help > comments. > > The old syntax was a quick & dirty one inspired from the wiki. It didn't > aim at being final. And that new syntax may replace the wiki syntax when > I have time to implement a new wiki. > > The new syntax is inspired from MarkDown: > > http://daringfireball.net/projects/markdown/ > > Well... I think people that have written a lot of help with the old > syntax will cry, as I didn't find a way to be backward compatible. > > I will document that markup syntax in the wiki as soon as possible. > > Regards, > Here is a short documentation: http://gambasdoc.org/help/doc/markup -- Beno?t Minisini From john.aaron.rose at ...626... Sun Sep 2 18:25:57 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 02 Sep 2012 17:25:57 +0100 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? Message-ID: <1346603157.4134.61.camel@...2811...> Still same problem with appname (rather than appname.gambas) being put into .deb (which then installs into /usr/bin) so that appname won't start (displays appname won't start: Failed to execute child process "/usr/bin/JewishHeritage.gambas" (No such file or directory)). This is happening after install of svn 4010 (presumably equivalent to revision 5115) from sebikul's Ubuntu ppa (for Lucid) updated today. From gambas at ...1... Sun Sep 2 19:30:01 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 02 Sep 2012 19:30:01 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1346603157.4134.61.camel@...2811...> References: <1346603157.4134.61.camel@...2811...> Message-ID: <50439799.7040906@...1...> Le 02/09/2012 18:25, John Rose a ?crit : > Still same problem with appname (rather than appname.gambas) being put > into .deb (which then installs into /usr/bin) so that appname won't > start (displays appname won't start: Failed to execute child process > "/usr/bin/JewishHeritage.gambas" (No such file or directory)). > > This is happening after install of svn 4010 (presumably equivalent to > revision 5115) from sebikul's Ubuntu ppa (for Lucid) updated today. > Please send me the .deb package and the output of the IDE system information dialog. Thanks! -- Beno?t Minisini From bbruen at ...2308... Mon Sep 3 02:44:43 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 03 Sep 2012 10:14:43 +0930 Subject: [Gambas-user] Files inside executables - access strategy advice (advanced) In-Reply-To: References: <1346550260.32050.29.camel@...2688...> <5042BC6A.6050505@...1...> <1346557202.32050.37.camel@...2688...> Message-ID: <1346633083.32050.43.camel@...2688...> On Sun, 2012-09-02 at 10:32 +0200, Fabien Bodard wrote: > 2012/9/2 Fabien Bodard : > > 2012/9/2 Bruce : > >> On Sun, 2012-09-02 at 03:54 +0200, Beno?t Minisini wrote: > >>> Le 02/09/2012 03:44, Bruce a ?crit : > >>> > Is there an easy way to access files inside a library or component > >>> > executable? Or more correctly, "What is the best way..." > >>> > > >>> > I am abstracting some common database methods into a library out of > >>> > several of our apps. The problem I am having is that these methods rely > >>> > on some metadata files that currently have to be copied into each > >>> > application (and thus is a potential version error source). I would > >>> > like to put the metadata inside the library executable so that every app > >>> > using the library will be using the same metadata files. > >>> > > >>> > Here's the structure that is giving me Grief! > >>> > > >>> > MyApplication ---uses---> LibAppData ---uses--> LibBO > >>> > > >>> > LibBO provides the low level database access and consists of primarily a > >>> > class that acts as the parent class for all the LibAppData classes, > >>> > which in turn represent fairly complex "business data objects". At the > >>> > moment the metadata representing the persistence maps for the objects > >>> > reside in a "BOMeta" subdir in (each of) the MyApplication executables. > >>> > These metadata files are needed by LibBO. I can access them simply by > >>> > using > >>> > File.Load("BOMeta/" & ) > >>> > which works fine as it's just like accessing any file within the > >>> > executable archive. > >>> > > >>> > Maybe a real example would help explain. Two of our major apps are > >>> > "ManageStable" and "ManageAuctions" (the latter allows the user to > >>> > submit horses for sale at auctions.) > >>> > Both of these use a "horse" business object in LibAppData, so they both > >>> > currently need to have the metadata file "horseBO.meta" included at the > >>> > application level. I want to move that metadata file into LibAppData. > >>> > But then LibBO cannot just access the file using the above simple > >>> > method. > >>> > > >>> > So far I have planned it along the following line: > >>> > 1) In LibAppData HorseBO._init() needs to copy all its metadata files > >>> > into a Temp$ directory. This should be done in _init so that the files > >>> > are only copied once during an execution, not everytime a horse object > >>> > is created. > >>> > 2) LibBO can then expect to find the metadata in the > >>> > relevant /tmp/gambas.500/ directory. > >>> > > >>> > However, this fails to impress as firstly, there are over 30 different > >>> > business object classes and the copy would be invoked every time one of > >>> > the LibAppData classes is loaded and secondly, only some of the business > >>> > object classes are used by an individual app. > >>> > > >>> > Can anyone see or suggest a better way to do this? > >>> > > >>> > tia > >>> > Bruce > >>> > > >>> > >>> I don't think I have understood everything... > >>> > >>> A library can access any file located in the main project (by using the > >>> special notation "../"). > >>> > >> Yes, and that works fine. > >> > >>> But a library cannot access files from other libraries, and the main > >>> project cannot access files of any library too. > >>> > >> That's right too. > >> > >>> A workaround is opening the file where it is accessible, and sending > >>> File references through libraries. > >>> > >> This is the bit that I can't get to work. The library cannot open a file > >> inside its' @own executable@ using that "special notation" as that > >> refers to the main project (and therefore I can't send the File > >> references). > >> > >>> Regards, > >>> > >> > >> regards > >> Bruce > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > NO, Benoit say that : > > > > > > In the library : > > > > Public Function GetFile(sFile as String) as File > > > > Dim hFile as File > > Return Open sFile For read > > > > End > > > > > > > > > > In the main program > > > > Dim hFile as File > > > > hFile = MyLibClass.GetFile("dir/file") > > > > End > > > > Then you can use for example > > > > Line Input #hFile, s > > > > > > > > > > -- > > Fabien Bodard > > Haa and for the invert ... Get the file from the main program : > > Public sub Main > Dim hFile as File > Dim hLibClass as hLibClass > File =Open sFile For read > hLibClass = New hLibClas(hFile) > > End > > > in Library > > Public sub _New(hFile as File) > > dim s as string > > Line Input #hFile, s > > > Haaaa!! I finally got it! I was trying to use "hFile.Load(???)" in the "other" project, which doesn't (or can't possibly) work. Reading the returned file line by line works. (It's amazing how many times I looked at that line of code and couldn't see the bleedin' obvious.) Thanks guys. Bruce From sunblaster5 at ...626... Mon Sep 3 05:52:25 2012 From: sunblaster5 at ...626... (rocko) Date: Sun, 02 Sep 2012 20:52:25 -0700 Subject: [Gambas-user] Send data back to SQLite3 Table?? Message-ID: <1346644346.4311.2.camel@...2921...> After retrieving data and modifying it , I need to send it back to the table. I am tried the following: rTable = DB.Create("inventory") sResult = DB.Find("inventory", id = &1, ID) For Each sResult $date1 = sResult!endDate $date2 = Now Print $date2 'debuging print statements Print $date1 $left = sResult!daysLeft $left = DateDiff($date2, $date1, gb.Day) Print $left sResult!endDate = $left rTable.Update Next But sResult is read only and I also tried rTable but that adds a new record, I need to update the daysLeft field only. -- rocko From bbruen at ...2308... Mon Sep 3 06:42:30 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 03 Sep 2012 14:12:30 +0930 Subject: [Gambas-user] Send data back to SQLite3 Table?? In-Reply-To: <1346644346.4311.2.camel@...2921...> References: <1346644346.4311.2.camel@...2921...> Message-ID: <1346647350.32050.45.camel@...2688...> On Sun, 2012-09-02 at 20:52 -0700, rocko wrote: > After retrieving data and modifying it , I need to send it back to the > table. > I am tried the following: > > rTable = DB.Create("inventory") > sResult = DB.Find("inventory", id = &1, ID) > For Each sResult > $date1 = sResult!endDate > $date2 = Now > Print $date2 'debuging print statements > Print $date1 > $left = sResult!daysLeft > $left = DateDiff($date2, $date1, gb.Day) > Print $left > sResult!endDate = $left > rTable.Update > Next > > But sResult is read only and I also tried rTable but that adds a new > record, I need to update the daysLeft field only. > http://gambasdoc.org/help/comp/gb.db/connection/edit From gambas at ...2524... Mon Sep 3 06:49:24 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Sep 2012 04:49:24 +0000 Subject: [Gambas-user] Issue 324 in gambas: Tasks for deleted sourcefiles not cleared Message-ID: <0-6813199134517018827-14793046389273067727-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Low OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 324 by adamn... at ...626...: Tasks for deleted sourcefiles not cleared http://code.google.com/p/gambas/issues/detail?id=324 1) Describe the problem. IDE Tasks for a source file are not cleared out of the tasks panel when the sourcefile is deleted from the project. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: recent Operating system: Linux Distribution: PCLinuxOS Architecture: x86 GUI component: QT4 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 a new source file in a project. Add some TODO's to it Show the Tasks panel Delete the source file 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.fr at ...626... Mon Sep 3 07:00:12 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 3 Sep 2012 07:00:12 +0200 Subject: [Gambas-user] Send data back to SQLite3 Table?? In-Reply-To: <1346644346.4311.2.camel@...2921...> References: <1346644346.4311.2.camel@...2921...> Message-ID: +qLe 3 sept. 2012 05:53, "rocko" a ?crit : > > After retrieving data and modifying it , I need to send it back to the > table. > I am tried the following: > sResult = DB.Edit("inventory", id = &1, ID) > $date1 = sResult!endDate > $date2 = Now > Print $date2 'debuging print statements > Print $date1 > $left = sResult!daysLeft > $left = DateDiff($date2, $date1, gb.Day) > Print $left > sResult!endDate = $left > sresult.Update > > But sResult is read only and I also tried rTable but that adds a new > record, I need to update the daysLeft field only. > > -- > rocko > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bbruen at ...2308... Mon Sep 3 07:25:18 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 03 Sep 2012 14:55:18 +0930 Subject: [Gambas-user] New Gambas markup syntax In-Reply-To: <504374DB.20303@...1...> References: <50434DEF.6010309@...1...> <504374DB.20303@...1...> Message-ID: <1346649918.32050.47.camel@...2688...> On Sun, 2012-09-02 at 17:01 +0200, Beno?t Minisini wrote: > Le 02/09/2012 14:15, Beno?t Minisini a ?crit : > > Hi, > > > > In revision #5117, I have added a new gambas markup syntax for help > > comments. > > > > The old syntax was a quick & dirty one inspired from the wiki. It didn't > > aim at being final. And that new syntax may replace the wiki syntax when > > I have time to implement a new wiki. > > > > The new syntax is inspired from MarkDown: > > > > http://daringfireball.net/projects/markdown/ > > > > Well... I think people that have written a lot of help with the old > > syntax will cry, as I didn't find a way to be backward compatible. > > > > I will document that markup syntax in the wiki as soon as possible. > > > > Regards, > > > > Here is a short documentation: > > http://gambasdoc.org/help/doc/markup > Hi Beno?t, Is there any example of this in the IDE code somewhere? I just want to look at usage. Bruce From bbruen at ...2308... Mon Sep 3 07:59:24 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 03 Sep 2012 15:29:24 +0930 Subject: [Gambas-user] New Gambas markup syntax In-Reply-To: <1346649918.32050.47.camel@...2688...> References: <50434DEF.6010309@...1...> <504374DB.20303@...1...> <1346649918.32050.47.camel@...2688...> Message-ID: <1346651964.32050.52.camel@...2688...> On Mon, 2012-09-03 at 14:55 +0930, Bruce wrote: > > > Hi Beno?t, > > Is there any example of this in the IDE code somewhere? I just want to > look at usage. > > Bruce > Never mind, I found it in the MHelp module for the InitWebViewWith() method. But I also found this interesting little effect when I starting playing with it. If a method has a single ... parameter then the generated syntax is a little bit out. See the attached. regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: newhelp.png Type: image/png Size: 112427 bytes Desc: not available URL: From bbruen at ...2308... Mon Sep 3 08:30:17 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 03 Sep 2012 16:00:17 +0930 Subject: [Gambas-user] New Gambas markup syntax In-Reply-To: <1346651964.32050.52.camel@...2688...> References: <50434DEF.6010309@...1...> <504374DB.20303@...1...> <1346649918.32050.47.camel@...2688...> <1346651964.32050.52.camel@...2688...> Message-ID: <1346653817.32050.56.camel@...2688...> And another one ... :-) list items with emphasized content don't work, eg '' * using a query *Not recommended* gives using a query Not recommended (If it was me, I'd use ! and !! for emphasis/strong) B From bbruen at ...2308... Mon Sep 3 09:21:30 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 03 Sep 2012 16:51:30 +0930 Subject: [Gambas-user] New Gambas markup syntax In-Reply-To: <1346653817.32050.56.camel@...2688...> References: <50434DEF.6010309@...1...> <504374DB.20303@...1...> <1346649918.32050.47.camel@...2688...> <1346651964.32050.52.camel@...2688...> <1346653817.32050.56.camel@...2688...> Message-ID: <1346656890.32050.69.camel@...2688...> Last one! [Today :-)] Given that a) a help comment appended to a method declaration line overrides all the wonderful help text I have composed above it, and b) the code folder hides all the "above the line" help if the prior method is collapsed. I rather see that the help was based on the "below the line" approach. For example: Public Function Mash(param 1 as Thing) As Mess '' This wonderful '' method takes a single parameter !!param1!! and mashes it into '' an incomprehensible !!Mess!! '' + !!param1!! is the [Thing][] you want mashed '' ##Usage '' Use of this method is not recommended for persons under 18 years old. '' Dim MyMess as Mess '' MyMess = Mash("Some unsuspecting string") Dim tmpmuck as new Mess tmpmuck=Whack(param1) tmpmuck=Chop(tmpmuck) tmpmuck=Mangle(tmpmuck) Return WhatsLeftOf(tmpmuck) End regards Bruce From joem at ...2671... Mon Sep 3 09:30:04 2012 From: joem at ...2671... (jm) Date: Mon, 03 Sep 2012 08:30:04 +0100 Subject: [Gambas-user] New Gambas markup syntax In-Reply-To: <504374DB.20303@...1...> References: <50434DEF.6010309@...1...> <504374DB.20303@...1...> Message-ID: <1346657404.5742.3.camel@...2672...> On Sun, 2012-09-02 at 17:01 +0200, Beno?t Minisini wrote: > Le 02/09/2012 14:15, Beno?t Minisini a ?crit : > > Hi, > > > > In revision #5117, I have added a new gambas markup syntax for help > > comments. > > > > The old syntax was a quick & dirty one inspired from the wiki. It didn't > > aim at being final. And that new syntax may replace the wiki syntax when > > I have time to implement a new wiki. > > > > The new syntax is inspired from MarkDown: > > > > http://daringfireball.net/projects/markdown/ > > > > Well... I think people that have written a lot of help with the old > > syntax will cry, as I didn't find a way to be backward compatible. > > > > I will document that markup syntax in the wiki as soon as possible. > > > > Regards, > > > > Here is a short documentation: > > http://gambasdoc.org/help/doc/markup > Hi Beno?t, Does the syntax allow relative URLs to diagrams? From gambas at ...1... Mon Sep 3 13:42:39 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 03 Sep 2012 13:42:39 +0200 Subject: [Gambas-user] New Gambas markup syntax In-Reply-To: <1346653817.32050.56.camel@...2688...> References: <50434DEF.6010309@...1...> <504374DB.20303@...1...> <1346649918.32050.47.camel@...2688...> <1346651964.32050.52.camel@...2688...> <1346653817.32050.56.camel@...2688...> Message-ID: <504497AF.5090608@...1...> Le 03/09/2012 08:30, Bruce a ?crit : > And another one ... :-) > > list items with emphasized content don't work, eg > '' * using a query *Not recommended* > gives > using a query Not recommended > > (If it was me, I'd use ! and !! for emphasis/strong) > > B > That bug and the previous one on the signature were fixed in revision #5120. Regards, -- Beno?t Minisini From gambas at ...1... Mon Sep 3 13:45:30 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 03 Sep 2012 13:45:30 +0200 Subject: [Gambas-user] New Gambas markup syntax In-Reply-To: <1346656890.32050.69.camel@...2688...> References: <50434DEF.6010309@...1...> <504374DB.20303@...1...> <1346649918.32050.47.camel@...2688...> <1346651964.32050.52.camel@...2688...> <1346653817.32050.56.camel@...2688...> <1346656890.32050.69.camel@...2688...> Message-ID: <5044985A.70207@...1...> Le 03/09/2012 09:21, Bruce a ?crit : > Last one! [Today :-)] > > Given that > a) a help comment appended to a method declaration line overrides all > the wonderful help text I have composed above it, and This is by design. Either you put a comment on the same line of the symbol (at the end of course), or just before. > b) the code folder hides all the "above the line" help if the prior > method is collapsed. Yes, the code folder does not care with help. I don't think I can fix that at the moment. > > I rather see that the help was based on the "below the line" approach. > > For example: > > Public Function Mash(param 1 as Thing) As Mess '' This wonderful > '' method takes a single parameter !!param1!! and mashes it into > '' an incomprehensible !!Mess!! > '' + !!param1!! is the [Thing][] you want mashed > '' ##Usage > '' Use of this method is not recommended for persons under 18 years old. > '' Dim MyMess as Mess > '' MyMess = Mash("Some unsuspecting string") > > Dim tmpmuck as new Mess > > tmpmuck=Whack(param1) > tmpmuck=Chop(tmpmuck) > tmpmuck=Mangle(tmpmuck) > Return WhatsLeftOf(tmpmuck) > > End I think it's better to have the help *before*, especially with code folding hiding everything inside the function. Regards, -- Beno?t Minisini From gambas at ...2524... Tue Sep 4 01:42:17 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 03 Sep 2012 23:42:17 +0000 Subject: [Gambas-user] Issue 324 in gambas: Tasks for deleted sourcefiles not cleared In-Reply-To: <0-6813199134517018827-14793046389273067727-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14793046389273067727-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14793046389273067727-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 324 by benoit.m... at ...626...: Tasks for deleted sourcefiles not cleared http://code.google.com/p/gambas/issues/detail?id=324 Fixed in revision #5121. From bbruen at ...2308... Tue Sep 4 08:13:23 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 04 Sep 2012 15:43:23 +0930 Subject: [Gambas-user] 38 different classes - all exactly the same. Message-ID: <1346739203.18379.33.camel@...2688...> As usual this is hard to explain in a short message, but here goes. We have a major library that provides all the persistence mechanisms for what we call "Business Objects". In our case it's Horses, Stables, Auctions, Trainers, Owners, etc etc, currently 38 of them and growing. The reason for this is that the database design changes incrementally on a frequent basis when one of the clients comes up with another good idea. With 166 different applications to support, it makes sense to cope with data changes in one central library. I have been trying to abstract a lot of the methods in the library classes and have got to the point where the majority of the common logic is contained in two major classes, and its all driven by metadata "maps" that relate the BO attributes to the relevant columns and tables in the database (and vice versa). The roadblock I have now struck is this. Each BO class requires a special "partner class" that contains the metadata as a static attribute. Each of these classes now looks exactly the same, same data items, same code. The only difference is the class name. Thus, 38 different classes - all exactly the same. But at runtime, obviously, each has a different metadata map loaded. What I'd like to be able to do is have only one of these, rather than 38. The reason that the metadata is held as a static attribute is that during any execution of a given program, there might be hundreds (sometimes thousands) of, say, Horse objects created. So it makes sense to only load the metadata once and share it amongst all the BO's of that type. So, is there some way to create a class i.e. a new class not a new object, based on that common code at runtime? I have attached a picture that I hope might help in understanding where I'm coming from. It's the brown classes inside the pinkish box. I've tried looking at design patterns for something like this but really can't find anything that seems to match. regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: Diagram1.png Type: image/png Size: 30283 bytes Desc: not available URL: From gambas at ...1... Tue Sep 4 09:27:07 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 04 Sep 2012 09:27:07 +0200 Subject: [Gambas-user] 38 different classes - all exactly the same. In-Reply-To: <1346739203.18379.33.camel@...2688...> References: <1346739203.18379.33.camel@...2688...> Message-ID: <5045AD4B.5080103@...1...> Le 04/09/2012 08:13, Bruce a ?crit : > As usual this is hard to explain in a short message, but here goes. > > We have a major library that provides all the persistence mechanisms for > what we call "Business Objects". In our case it's Horses, Stables, > Auctions, Trainers, Owners, etc etc, currently 38 of them and growing. > The reason for this is that the database design changes incrementally on > a frequent basis when one of the clients comes up with another good > idea. With 166 different applications to support, it makes sense to cope > with data changes in one central library. > > I have been trying to abstract a lot of the methods in the library > classes and have got to the point where the majority of the common logic > is contained in two major classes, and its all driven by metadata "maps" > that relate the BO attributes to the relevant columns and tables in the > database (and vice versa). > > The roadblock I have now struck is this. Each BO class requires a > special "partner class" that contains the metadata as a static > attribute. Each of these classes now looks exactly the same, same data > items, same code. The only difference is the class name. Thus, 38 > different classes - all exactly the same. But at runtime, obviously, > each has a different metadata map loaded. > > What I'd like to be able to do is have only one of these, rather than > 38. > > The reason that the metadata is held as a static attribute is that > during any execution of a given program, there might be hundreds > (sometimes thousands) of, say, Horse objects created. So it makes sense > to only load the metadata once and share it amongst all the BO's of that > type. > > So, is there some way to create a class i.e. a new class not a new > object, based on that common code at runtime? > > I have attached a picture that I hope might help in understanding where > I'm coming from. It's the brown classes inside the pinkish box. > > I've tried looking at design patterns for something like this but really > can't find anything that seems to match. > > regards > Bruce > I don't understand everything, so maybe I will tell rubbish: if all these classes share the same code, why not using inheritance? -- Beno?t Minisini From john.aaron.rose at ...626... Tue Sep 4 13:05:31 2012 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 04 Sep 2012 12:05:31 +0100 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? Message-ID: <1346756731.2328.7.camel@...2811...> IDE output & .deb attached requested. -------------- next part -------------- ======================================== Creating package for Ubuntu / Mint. ======================================== Making build directory. Creating desktop file... Sources are being debianizated. Creating package... cd /home/john/GambasProjects/Ubuntu/JewishHeritage/jewishheritage-0.0.21 fakeroot dpkg-buildpackage -d dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 t CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package jewishheritage dpkg-buildpackage: source version 0.0.21-1 dpkg-buildpackage: source changed by John Rose debian/rules clean dpkg-buildpackage: host architecture amd64 dh_testdir dh_testroot rm -Rf `find . -name ".gambas"` rm -Rf `find . -name "*.gambas"` rm -f build-stamp install-stamp dh_clean dpkg-source -b jewishheritage-0.0.21 dpkg-source: info: using source format `1.0' dpkg-source: info: building jewishheritage in jewishheritage_0.0.21.orig.tar.gz dpkg-source: info: building jewishheritage in jewishheritage_0.0.21-1.diff.gz dpkg-source: warning: ignoring deletion of file src/JewishHeritage/JewishHeritage.gambas dpkg-source: warning: ignoring deletion of directory src/JewishHeritage/.gambas dpkg-source: info: building jewishheritage in jewishheritage_0.0.21-1.dsc build dh_testdir touch build-stamp /usr/bin/gbc3 -e -a -g -p -x src/JewishHeritage OK gba3 -o src/JewishHeritage/JewishHeritage src/JewishHeritage debian/rules binary dh_testdir dh_testroot dh_clean -k dh_clean: dh_clean -k is deprecated; use dh_prep instead dh_installdirs touch install-stamp dh_testdir -i dh_testroot -i dh_installdocs -i dh_installchangelogs -i dh_install -i dh_installmenu dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i dpkg-deb: building package `jewishheritage' in `../jewishheritage_0.0.21-1_all.deb'. dh_testdir signfile jewishheritage_0.0.21-1.dsc gpg: skipped "John Rose ": secret key not available gpg: [stdin]: clearsign failed: secret key not available dpkg-genchanges >../jewishheritage_0.0.21-1_amd64.changes dpkg-genchanges: not including original source code in upload dpkg-buildpackage: warning: Failed to sign .dsc and .changes file dpkg-buildpackage: binary and diff upload (original source NOT included) ======================================== Saving CHANGELOG file. The packages have been successfully created. -------------- next part -------------- A non-text attachment was scrubbed... Name: jewishheritage_0.0.21-1_all.deb Type: application/x-deb Size: 26416 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Tue Sep 4 19:47:00 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 4 Sep 2012 19:47:00 +0200 Subject: [Gambas-user] Disable file auto-opening Message-ID: <20120904194700.1ae395dc@...626...> Hi, When opening a project, the IDE opens all the files that I left open on last project closing. Is there a way to disable this feature ? That's because project's file loading takes a lot of time on my computer, and personally I hate to have a mess open when I start working. Regards, Adrien. From sunblaster5 at ...626... Tue Sep 4 20:46:54 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 04 Sep 2012 11:46:54 -0700 Subject: [Gambas-user] Display only some fields in data View Message-ID: <1346784414.3092.3.camel@...2921...> I have a table with several fields but I only want certain fields to be displayed in a dataviewer. Not sure on how to do this. So far i only have this, which isn't much. Dim sView As Result Dim ID As Integer sView = DB.Find("inventory ", id &1, ID) For Each sView If sView!daysLeft < 22 'put the name and days left in the name and daysleft field of the dataview Next -- rocko From gambas at ...2524... Tue Sep 4 22:53:02 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 04 Sep 2012 20:53:02 +0000 Subject: [Gambas-user] Issue 325 in gambas: gb.gui can not be loaded on demand Message-ID: <0-6813199134517018827-5416489336304771172-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Crash Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 325 by sebi... at ...626...: gb.gui can not be loaded on demand http://code.google.com/p/gambas/issues/detail?id=325 if a developer wants to create a project that *optionally* depends on the gb.gui component, this is, loading it on demand, the interpreter crashes with signal #11. Also, if the gb.gui component is not selected, the IDE ignores form files from the project. Sample project attached. Version: TRUNK Revision: r5124 Operating system: Linux Distribution: ArchLinux Architecture: x86_64 GUI component: GTK+ Desktop used: XFCE 4.10 Crash output: (process:11478): GLib-GObject-WARNING **: invalid (NULL) pointer instance (process:11478): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed (process:11478): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed (process:11478): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed (process:11478): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed (process:11478): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed (process:11478): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed (process:11478): Gdk-CRITICAL **: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed Attachments: gbcrash-0.0.1.tar.gz 4.5 KB From fabianfloresvadell at ...626... Tue Sep 4 23:21:54 2012 From: fabianfloresvadell at ...626... (=?ISO-8859-1?Q?Fabi=E1n_Flores_Vadell?=) Date: Tue, 4 Sep 2012 18:21:54 -0300 Subject: [Gambas-user] 38 different classes - all exactly the same. In-Reply-To: <1346739203.18379.33.camel@...2688...> References: <1346739203.18379.33.camel@...2688...> Message-ID: Hi Bruce. > The roadblock I have now struck is this. Each BO class requires a > special "partner class" that contains the metadata as a static > attribute. Each of these classes now looks exactly the same, same data > items, same code. The only difference is the class name. Thus, 38 > different classes - all exactly the same. But at runtime, obviously, > each has a different metadata map loaded. Looks like you haven't a good reason to create that 38 classes. > What I'd like to be able to do is have only one of these, rather than > 38. > > The reason that the metadata is held as a static attribute is that > during any execution of a given program, there might be hundreds > (sometimes thousands) of, say, Horse objects created. So it makes sense > to only load the metadata once and share it amongst all the BO's of that > type. I think you could move the shared behaviour to the Persistor class, and use a class collection (defined as static private in Persistor) to save the name of each of your current 38 classes, linked to the references to the corresponding instances of BOMeta. In this way you would have just one reference to a BOMeta object for each key in the collection. (If you find that the prev option isn't good enought, you could create just one subclass of Persistor with the mentioned collection.) In the next future, if you discover the need to have _p*BO classes (i.e. if you found differents behaviours for they) you can add the hierarchy of relevant classes. > So, is there some way to create a class i.e. a new class not a new > object, based on that common code at runtime? I think is impossible because Gambas isn't reflexive. I tried to hack the Gambas features in order to do this, just for fun, but I failed miserably :-( Anyway, if would be possible to do, you will end with a kludge, and you can't warrantee that the ugly hack will work in the next Gambas release. Regards. Fabi?n. From gambas at ...1... Wed Sep 5 02:34:18 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 05 Sep 2012 02:34:18 +0200 Subject: [Gambas-user] Disable file auto-opening In-Reply-To: <20120904194700.1ae395dc@...626...> References: <20120904194700.1ae395dc@...626...> Message-ID: <50469E0A.4040008@...1...> Le 04/09/2012 19:47, Adrien Prokopowicz a ?crit : > Hi, > > When opening a project, the IDE opens all the files that I left open on > last project closing. > > Is there a way to disable this feature ? That's because project's file > loading takes a lot of time on my computer, and personally I hate > to have a mess open when I start working. > > Regards, > Adrien. > Done in revision #5127. Regards, -- Beno?t Minisini From gambas at ...1... Wed Sep 5 02:55:02 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 05 Sep 2012 02:55:02 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1346756731.2328.7.camel@...2811...> References: <1346756731.2328.7.camel@...2811...> Message-ID: <5046A2E6.50701@...1...> Le 04/09/2012 13:05, John Rose a ?crit : > IDE output & .deb attached requested. > The package seems to be correct. There is no reference to "JewishHeritage.gambas" in it, only "JewishHeritage". Are you sure that you installed the package correctly? Are you sure that you removed the previously installed packages before installing the correct one? -- Beno?t Minisini From bbruen at ...2308... Wed Sep 5 11:55:58 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 05 Sep 2012 19:25:58 +0930 Subject: [Gambas-user] 38 different classes - all exactly the same. In-Reply-To: References: <1346739203.18379.33.camel@...2688...> Message-ID: <1346838958.18379.49.camel@...2688...> On Tue, 2012-09-04 at 18:21 -0300, Fabi?n Flores Vadell wrote: > > What I'd like to be able to do is have only one of these, rather than > > 38. > > > > The reason that the metadata is held as a static attribute is that > > during any execution of a given program, there might be hundreds > > (sometimes thousands) of, say, Horse objects created. So it makes sense > > to only load the metadata once and share it amongst all the BO's of that > > type. > > I think you could move the shared behaviour to the Persistor class, > and use a class collection (defined as static private in Persistor) to > save the name of each of your current 38 classes, linked to the > references to the corresponding instances of BOMeta. In this way you > would have just one reference to a BOMeta object for each key in the > collection. That looks to be the solution! Two of us have been looking at this for a few days and neither came up with that idea. > (If you find that the prev option isn't good enought, you could create > just one subclass of Persistor with the mentioned collection.) Probably not necessary. > > In the next future, if you discover the need to have _p*BO classes > (i.e. if you found differents behaviours for they) you can add the > hierarchy of relevant classes. That's what the original design concept "thought". But, due to the general wonderfulness of Gambas, the need has gone away. > > > So, is there some way to create a class i.e. a new class not a new > > object, based on that common code at runtime? > > I think is impossible because Gambas isn't reflexive. I tried to hack > the Gambas features in order to do this, just for fun, but I failed > miserably :-( > > Anyway, if would be possible to do, you will end with a kludge, and > you can't warrantee that the ugly hack will work in the next Gambas > release. But, thanks to you this is no longer needed! Now, if there was only a way to create Properties on the fly ... Nah!, I'll leave that one up to the Gods. :-) > > Regards. > Fabi?n. Fabi?n, Thanks for taking the time to look at this. It took us all of today to recast the persistor class but it was well worth it as not only did we get rid of the specialised persistors but strangely it simplified some other aspects. Please find a few (virtual) beers attached ;-) regards Bruce http://upload.wikimedia.org/wikipedia/en/thumb/6/68/Darwin_stubby.jpg/800px-Darwin_stubby.jpg From gambas.fr at ...626... Wed Sep 5 12:00:51 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 5 Sep 2012 12:00:51 +0200 Subject: [Gambas-user] 38 different classes - all exactly the same. In-Reply-To: <1346838958.18379.49.camel@...2688...> References: <1346739203.18379.33.camel@...2688...> <1346838958.18379.49.camel@...2688...> Message-ID: For properties on the fly ... Why dont you use _get ? Le 5 sept. 2012 11:58, "Bruce" a ?crit : > On Tue, 2012-09-04 at 18:21 -0300, Fabi?n Flores Vadell wrote: > > > What I'd like to be able to do is have only one of these, rather than > > > 38. > > > > > > The reason that the metadata is held as a static attribute is that > > > during any execution of a given program, there might be hundreds > > > (sometimes thousands) of, say, Horse objects created. So it makes > sense > > > to only load the metadata once and share it amongst all the BO's of > that > > > type. > > > > I think you could move the shared behaviour to the Persistor class, > > and use a class collection (defined as static private in Persistor) to > > save the name of each of your current 38 classes, linked to the > > references to the corresponding instances of BOMeta. In this way you > > would have just one reference to a BOMeta object for each key in the > > collection. > > That looks to be the solution! Two of us have been looking at this for a > few days and neither came up with that idea. > > > (If you find that the prev option isn't good enought, you could create > > just one subclass of Persistor with the mentioned collection.) > > Probably not necessary. > > > > > In the next future, if you discover the need to have _p*BO classes > > (i.e. if you found differents behaviours for they) you can add the > > hierarchy of relevant classes. > > That's what the original design concept "thought". But, due to the > general wonderfulness of Gambas, the need has gone away. > > > > > > So, is there some way to create a class i.e. a new class not a new > > > object, based on that common code at runtime? > > > > I think is impossible because Gambas isn't reflexive. I tried to hack > > the Gambas features in order to do this, just for fun, but I failed > > miserably :-( > > > > Anyway, if would be possible to do, you will end with a kludge, and > > you can't warrantee that the ugly hack will work in the next Gambas > > release. > > But, thanks to you this is no longer needed! > > Now, if there was only a way to create Properties on the fly ... > Nah!, I'll leave that one up to the Gods. :-) > > > > > Regards. > > Fabi?n. > > Fabi?n, > > Thanks for taking the time to look at this. It took us all of today to > recast the persistor class but it was well worth it as not only did we > get rid of the specialised persistors but strangely it simplified some > other aspects. > > Please find a few (virtual) beers attached ;-) > > regards > Bruce > > > http://upload.wikimedia.org/wikipedia/en/thumb/6/68/Darwin_stubby.jpg/800px-Darwin_stubby.jpg > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From john.aaron.rose at ...626... Wed Sep 5 12:17:39 2012 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 05 Sep 2012 11:17:39 +0100 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? Message-ID: <1346840259.2287.8.camel@...2811...> I have removed the jewishheritage .deb package using Synaptic. I have installed the jewishheritage .deb package (generated using IDE's 'Make - Installation package menu entry. Attached is a screenshot showing reference to /usr/bin/jewishheritage rather than /usr/bin/jewishheritage.gambas. Still getting "Failed to execute child process "/usr/bin/JewishHeritage.gambas" (No such file or directory)" when trying to run the app. -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasJewishHeritageGdebi.png Type: image/png Size: 32656 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: jewishheritage_0.0.21-1_all.deb Type: application/x-deb Size: 26416 bytes Desc: not available URL: From gambas at ...1... Wed Sep 5 12:30:18 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 05 Sep 2012 12:30:18 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1346840259.2287.8.camel@...2811...> References: <1346840259.2287.8.camel@...2811...> Message-ID: <504729BA.80301@...1...> Le 05/09/2012 12:17, John Rose a ?crit : > I have removed the jewishheritage .deb package using Synaptic. I have > installed the jewishheritage .deb package (generated using IDE's 'Make - > Installation package menu entry. Attached is a screenshot showing > reference to /usr/bin/jewishheritage rather > than /usr/bin/jewishheritage.gambas. This is normal: there is no gambas extension in the generated project. > Still getting "Failed to execute > child process "/usr/bin/JewishHeritage.gambas" (No such file or > directory)" when trying to run the app. How do you get this message, as there is no gambas extension in the installed desktop file too? -- Beno?t Minisini From bbruen at ...2308... Wed Sep 5 12:33:14 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 05 Sep 2012 20:03:14 +0930 Subject: [Gambas-user] 38 different classes - all exactly the same. In-Reply-To: References: <1346739203.18379.33.camel@...2688...> <1346838958.18379.49.camel@...2688...> Message-ID: <1346841194.18379.53.camel@...2688...> On Wed, 2012-09-05 at 12:00 +0200, Fabien Bodard wrote: > For properties on the fly ... Why dont you use _get ? Because, because ... I never thought of using it that way. ... now I have some real thinking to do. B From vuott at ...325... Wed Sep 5 12:49:28 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 5 Sep 2012 11:49:28 +0100 (BST) Subject: [Gambas-user] Disabling the "automatic declaration of undeclared local variable" Message-ID: <1346842168.97093.YahooMailClassic@...2695...> Hello, I'ld like to disable in a project the "automatic declaration of undeclared local variable" feature. How do I have to do ? Thanks vuott From gambas.fr at ...626... Wed Sep 5 14:07:41 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 5 Sep 2012 14:07:41 +0200 Subject: [Gambas-user] Disabling the "automatic declaration of undeclared local variable" In-Reply-To: <1346842168.97093.YahooMailClassic@...2695...> References: <1346842168.97093.YahooMailClassic@...2695...> Message-ID: Take a look into the options Le 5 sept. 2012 12:50, "Ru Vuott" a ?crit : > Hello, > > I'ld like to disable in a project the "automatic declaration of undeclared > local variable" feature. > > How do I have to do ? > > Thanks > vuott > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Wed Sep 5 15:09:15 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 05 Sep 2012 22:39:15 +0930 Subject: [Gambas-user] Disabling the "automatic declaration of undeclared local variable" In-Reply-To: References: <1346842168.97093.YahooMailClassic@...2695...> Message-ID: <1346850555.18379.55.camel@...2688...> On Wed, 2012-09-05 at 14:07 +0200, Fabien Bodard wrote: > Take a look into the options > Le 5 sept. 2012 12:50, "Ru Vuott" a ?crit : > > > Hello, > > > > I'ld like to disable in a project the "automatic declaration of undeclared > > local variable" feature. > > > > How do I have to do ? > > > > Thanks > > vuott > > > > To be specific, I think this is the one. -------------- next part -------------- A non-text attachment was scrubbed... Name: NOdecs.png Type: image/png Size: 53843 bytes Desc: not available URL: From john.aaron.rose at ...626... Wed Sep 5 15:44:38 2012 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 05 Sep 2012 14:44:38 +0100 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? Message-ID: <1346852678.2287.15.camel@...2811...> I thought that it wasn't normal due to clicking of the Ubuntu Main Menu entry causing a problem. I have not altered the Ubuntu Main Menu entry myself. This Main Menu entry is generated by the the installation of the .deb file. Is it therefore possible that the problem is the 'parameter' in the .deb from which gdebi creates the Ubuntu Main Menu entry? From gambas at ...1... Wed Sep 5 15:47:30 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 05 Sep 2012 15:47:30 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1346852678.2287.15.camel@...2811...> References: <1346852678.2287.15.camel@...2811...> Message-ID: <504757F2.8000906@...1...> Le 05/09/2012 15:44, John Rose a ?crit : > I thought that it wasn't normal due to clicking of the Ubuntu Main Menu > entry causing a problem. I have not altered the Ubuntu Main Menu entry > myself. This Main Menu entry is generated by the the installation of > the .deb file. Is it therefore possible that the problem is the > 'parameter' in the .deb from which gdebi creates the Ubuntu Main Menu > entry? > The "Ubuntu main menu entry" is just a reflect of the contents of the installed *.desktop file. Find and check the desktop file of your application really installed on your system (look in '/usr/share/applications'). The desktop file provided in the package has no ".gambas" extension in the program name. Regards, -- Beno?t Minisini From vuott at ...325... Wed Sep 5 16:23:51 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 5 Sep 2012 15:23:51 +0100 (BST) Subject: [Gambas-user] Disabling the "automatic declaration of undeclared local variable" In-Reply-To: <1346850555.18379.55.camel@...2688...> Message-ID: <1346855031.83116.YahooMailClassic@...2748...> Grazie molte, Bruce ! vuott --- Mer 5/9/12, Bruce ha scritto: > Da: Bruce > Oggetto: Re: [Gambas-user] Disabling the "automatic declaration of undeclared local variable" > A: "mailing list for gambas users" > Data: Mercoled? 5 settembre 2012, 15:09 > On Wed, 2012-09-05 at 14:07 +0200, > Fabien Bodard wrote: > > Take a look into the options > > Le 5 sept. 2012 12:50, "Ru Vuott" > a ?crit : > > > > > Hello, > > > > > > I'ld like to disable in a project the "automatic > declaration of undeclared > > > local variable" feature. > > > > > > How do I have to do ? > > > > > > Thanks > > > vuott > > > > > > > To be specific, I think this is the one. > > -----Segue allegato----- > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > -----Segue allegato----- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed Sep 5 18:39:52 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 5 Sep 2012 19:39:52 +0300 Subject: [Gambas-user] Enumerating multiple objects at once Message-ID: Hi! Is there way to enumerate multiple objects without merging them first? Something like: For Each hObject In cCollection1 & cCollection2 & hOneMoreObject ... Next I think it would be more elegant than: For Each hObject In cCollection1 DoSomething(hObject) Next For Each hObject In cCollection2 DoSomething(hObject) Next DoSomething(hOneMoreObject) At least when DoSomething() doesn't have any else use. Or is there some other preferred way? Jussi From jussi.lahtinen at ...626... Wed Sep 5 19:06:42 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 5 Sep 2012 20:06:42 +0300 Subject: [Gambas-user] 2D arrays Message-ID: Is this bug? Private Sub ArrayTest(iArr As Array) Print Object.Type(iArr) Print iArr[1, 1] *<-- This gives "Not an array".* End Public Sub Button1_Click() Dim iArray As New Integer[10, 10] Print Object.Type(iArray) ArrayTest(iArray) End Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: ArrayBug-0.0.1.tar.gz Type: application/x-gzip Size: 4713 bytes Desc: not available URL: From emil.lenngren at ...626... Wed Sep 5 19:21:28 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 5 Sep 2012 19:21:28 +0200 Subject: [Gambas-user] 2D arrays In-Reply-To: References: Message-ID: You cannot access array elements with the "Array" type. That is just a base class with no _get method. If you have an unknown array type you must first cast the array to an object, or to the "real" type. Read more about this here: http://code.google.com/p/gambas/issues/detail?id=175 ;) /Emil 2012/9/5 Jussi Lahtinen : > Is this bug? > > Private Sub ArrayTest(iArr As Array) > > Print Object.Type(iArr) > Print iArr[1, 1] *<-- This gives "Not an array".* > > End > > Public Sub Button1_Click() > > Dim iArray As New Integer[10, 10] > > Print Object.Type(iArray) > > ArrayTest(iArray) > > End > > > Jussi > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed Sep 5 19:53:39 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 5 Sep 2012 20:53:39 +0300 Subject: [Gambas-user] 2D arrays In-Reply-To: References: Message-ID: OK, thanks! Jussi On Wed, Sep 5, 2012 at 8:21 PM, Emil Lenngren wrote: > You cannot access array elements with the "Array" type. That is just a > base class with no _get method. If you have an unknown array type you > must first cast the array to an object, or to the "real" type. > Read more about this here: > http://code.google.com/p/gambas/issues/detail?id=175 ;) > > /Emil > > 2012/9/5 Jussi Lahtinen : > > Is this bug? > > > > Private Sub ArrayTest(iArr As Array) > > > > Print Object.Type(iArr) > > Print iArr[1, 1] *<-- This gives "Not an array".* > > > > End > > > > Public Sub Button1_Click() > > > > Dim iArray As New Integer[10, 10] > > > > Print Object.Type(iArray) > > > > ArrayTest(iArray) > > > > End > > > > > > Jussi > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sunblaster5 at ...626... Wed Sep 5 20:34:59 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 05 Sep 2012 11:34:59 -0700 Subject: [Gambas-user] Scrollbars Message-ID: <1346870099.1830.2.camel@...2921...> If I put a scrollbar on a form, then run the app and maximized the window, shouldn't the scrollbar show?? I currently have a scrollbar on a form and when I maximize the window the scrollbar does not appear and the bottom half of my window is blocked. Does the scrollbar need to be in a container?? -- rocko From sunblaster5 at ...626... Wed Sep 5 20:38:56 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 05 Sep 2012 11:38:56 -0700 Subject: [Gambas-user] Display only some fields in data View In-Reply-To: <1346784414.3092.3.camel@...2921...> References: <1346784414.3092.3.camel@...2921...> Message-ID: <1346870336.1830.5.camel@...2921...> On Tue, 2012-09-04 at 11:46 -0700, rocko wrote: > I have a table with several fields but I only want certain fields > to be displayed in a dataviewer. > Not sure on how to do this. > So far i only have this, which isn't much. > > Dim sView As Result > Dim ID As Integer > > sView = DB.Find("inventory ", id &1, ID) > For Each sView > If sView!daysLeft < 22 > 'put the name and days left in the name and daysleft field of the > dataview > Next > I have 5 fields in a table but I only need to display 3 of them and only when the 'daysLeft' field is less the 21. This is some pseudo code: sView = DB.Find("inventory", id = &1, ID) For Each sView If sView!daysLeft < 22 DataView1.name = sView!name DataView1.location = sView!location DataView1.daysLeft = sView!daysLeft Endif -- rocko From sunblaster5 at ...626... Wed Sep 5 21:15:06 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 05 Sep 2012 12:15:06 -0700 Subject: [Gambas-user] DataControl as Text Area Message-ID: <1346872506.1830.14.camel@...2921...> Can I use a datacontrol as a text area? I have a SQLite database with a 'notes' field(128chars), I am using datacontrols to add and edit data to the database. But when i try to use a datacontrol as a text area it doesn't display the text like a text area does, text is displayed only in the center of the control not at the top. I'm assuming the datacontrols are used for adding one line items to a database. I know I can use a text are to add to a database but I'm using a databrowser that has the 'add,save,delete, ect' buttons already on it, I don't want to have a separate button just for the 'notes' field. rocko From mohareve at ...626... Wed Sep 5 21:21:27 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 5 Sep 2012 21:21:27 +0200 Subject: [Gambas-user] Frame Borders not displaying correctly In-Reply-To: <1346196024.1737.8.camel@...2921...> References: <1346196024.1737.8.camel@...2921...> Message-ID: This is the correct look of the frames when using KDE, and probably with the GNOME too. It isn't error. Csaba 2012/8/29 rocko > Using Gambas 3.2.1 > > The frame container is not displaying correctly. > The sides of the border are fading about midway and are > completely absent at the bottom. > See attached screenshot. > > I thought this might be some new eye candy in the frame property, > as this is the first time I've use Ganbas 3.2.1. > My previous experience is with version 3.1.1. > -- > rocko > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From sunblaster5 at ...626... Wed Sep 5 21:27:23 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 05 Sep 2012 12:27:23 -0700 Subject: [Gambas-user] Frame Borders not displaying correctly In-Reply-To: References: <1346196024.1737.8.camel@...2921...> Message-ID: <1346873243.1830.16.camel@...2921...> Say what? Really? I prefer the old fashioned way, with the borders of the frame all around. Is there a way to change this? On Wed, 2012-09-05 at 21:21 +0200, M. Cs. wrote: > This is the correct look of the frames when using KDE, and probably with > the GNOME too. It isn't error. > > Csaba > > 2012/8/29 rocko > > > Using Gambas 3.2.1 > > > > The frame container is not displaying correctly. > > The sides of the border are fading about midway and are > > completely absent at the bottom. > > See attached screenshot. > > > > I thought this might be some new eye candy in the frame property, > > as this is the first time I've use Ganbas 3.2.1. > > My previous experience is with version 3.1.1. > > -- > > rocko > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- rocko From mohareve at ...626... Wed Sep 5 21:28:21 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 5 Sep 2012 21:28:21 +0200 Subject: [Gambas-user] Scrollbars In-Reply-To: <1346870099.1830.2.camel@...2921...> References: <1346870099.1830.2.camel@...2921...> Message-ID: You can have a ScrollView component which is a container itself. You can also have a ScrollBar which is shown unless you set the Visible property to false. I have no problems maximizing the window: the ScrollBar is shown properly. Csaba 2012/9/5 rocko > If I put a scrollbar on a form, then run the app and maximized the > window, shouldn't the scrollbar show?? > > I currently have a scrollbar on a form and when I maximize the window > the scrollbar does not appear and the bottom half of my window is > blocked. > > Does the scrollbar need to be in a container?? > -- > rocko > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mohareve at ...626... Wed Sep 5 21:30:12 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 5 Sep 2012 21:30:12 +0200 Subject: [Gambas-user] Frame Borders not displaying correctly In-Reply-To: <1346873243.1830.16.camel@...2921...> References: <1346196024.1737.8.camel@...2921...> <1346873243.1830.16.camel@...2921...> Message-ID: What does happen when you change the theme of GNOME? I think this may be connected with the theme used, but I'm not the developer of the component. Csaba 2012/9/5 rocko > Say what? > Really? > I prefer the old fashioned way, with the borders of the frame all > around. > Is there a way to change this? > > On Wed, 2012-09-05 at 21:21 +0200, M. Cs. wrote: > > This is the correct look of the frames when using KDE, and probably with > > the GNOME too. It isn't error. > > > > Csaba > > > > 2012/8/29 rocko > > > > > Using Gambas 3.2.1 > > > > > > The frame container is not displaying correctly. > > > The sides of the border are fading about midway and are > > > completely absent at the bottom. > > > See attached screenshot. > > > > > > I thought this might be some new eye candy in the frame property, > > > as this is the first time I've use Ganbas 3.2.1. > > > My previous experience is with version 3.1.1. > > > -- > > > rocko > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. > Discussions > > > will include endpoint security, mobile security and the latest in > malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > rocko > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mohareve at ...626... Wed Sep 5 21:36:21 2012 From: mohareve at ...626... (M. Cs.) Date: Wed, 5 Sep 2012 21:36:21 +0200 Subject: [Gambas-user] Frame Borders not displaying correctly In-Reply-To: References: <1346196024.1737.8.camel@...2921...> <1346873243.1830.16.camel@...2921...> Message-ID: Try to set the components to the gb.gtk rather than using gb.qt. It will give you the old fashioned look. But beware! I'm not sure that gb.qt and gb.gtk dependencies are 100% compatible! I found it better to use gb.qt since it feels more stable. Csaba > > From sunblaster5 at ...626... Wed Sep 5 21:40:28 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 05 Sep 2012 12:40:28 -0700 Subject: [Gambas-user] Changing text color in dataBrowser or Viewer Message-ID: <1346874028.1830.25.camel@...2921...> Can I change the text color in a data object like a browser or viewer? Say I need to changed the text color of as 'daysleft' field. Can I do Something like: If sResult!daysLeft < 22 Then DataBrowser1.Column.Foreground = Green And to do all the entries in the 'daysLeft field I could do a FOR EACH NEXT Loop. Maybe: sResult = DB.Edit("databsename" id = &1, ID) For Each sResult If sResult!daysLeft < 22 Then DataBrowser1.Column.Foreground = Green Else... End IF Next -- rocko From sunblaster5 at ...626... Wed Sep 5 21:44:40 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 05 Sep 2012 12:44:40 -0700 Subject: [Gambas-user] Scrollbars In-Reply-To: References: <1346870099.1830.2.camel@...2921...> Message-ID: <1346874280.1830.28.camel@...2921...> My scrollbar does not display at all, it is set to visible=true. It is on the FMain form, the form does have spacing and a margin, maybe the padding setting is too high I'll mess with it and see. On Wed, 2012-09-05 at 21:28 +0200, M. Cs. wrote: > You can have a ScrollView component which is a container itself. You can > also have a ScrollBar which is shown unless you set the Visible property to > false. I have no problems maximizing the window: the ScrollBar is shown > properly. > > Csaba > > 2012/9/5 rocko > > > If I put a scrollbar on a form, then run the app and maximized the > > window, shouldn't the scrollbar show?? > > > > I currently have a scrollbar on a form and when I maximize the window > > the scrollbar does not appear and the bottom half of my window is > > blocked. > > > > Does the scrollbar need to be in a container?? > > -- > > rocko > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- rocko From willy at ...2734... Wed Sep 5 19:29:52 2012 From: willy at ...2734... (Willy Raets) Date: Wed, 05 Sep 2012 19:29:52 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1346840259.2287.8.camel@...2811...> References: <1346840259.2287.8.camel@...2811...> Message-ID: <1346866192.2275.2.camel@...2735...> On wo, 2012-09-05 at 11:17 +0100, John Rose wrote: > I have removed the jewishheritage .deb package using Synaptic. I have > installed the jewishheritage .deb package (generated using IDE's 'Make - > Installation package menu entry. Attached is a screenshot showing > reference to /usr/bin/jewishheritage rather > than /usr/bin/jewishheritage.gambas. Still getting "Failed to execute > child process "/usr/bin/JewishHeritage.gambas" (No such file or > directory)" when trying to run the app. Hi John, I successfully installed your .deb package on Ubuntu 10.10 with Gambas 3.2.1. It created a menu entry in Applications -> Other and started great from there. No .gambas extensions here either at usr/bin but that is how it is supposed to be for a 'normal' application. Willy > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sunblaster5 at ...626... Wed Sep 5 22:35:09 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 05 Sep 2012 13:35:09 -0700 Subject: [Gambas-user] Frame Borders not displaying correctly In-Reply-To: References: <1346196024.1737.8.camel@...2921...> <1346873243.1830.16.camel@...2921...> Message-ID: <1346877309.1830.29.camel@...2921...> Changing the theme in Gnome does change how the frames are displayed. On Wed, 2012-09-05 at 21:36 +0200, M. Cs. wrote: > Try to set the components to the gb.gtk rather than using gb.qt. It will > give you the old fashioned look. But beware! I'm not sure that gb.qt and > gb.gtk dependencies are 100% compatible! I found it better to use gb.qt > since it feels more stable. > > Csaba > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- rocko From sunblaster5 at ...626... Thu Sep 6 01:02:31 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 05 Sep 2012 16:02:31 -0700 Subject: [Gambas-user] Column and Row Properties in DataView? Message-ID: <1346886151.1830.32.camel@...2921...> Can I a DataViewer or Browser like a GridView? What I mean is this , can I use the .Column and .Row properties in a Grid View also In a DataView? -- rocko From gambas at ...1... Thu Sep 6 01:08:29 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 06 Sep 2012 01:08:29 +0200 Subject: [Gambas-user] Changing text color in dataBrowser or Viewer In-Reply-To: <1346874028.1830.25.camel@...2921...> References: <1346874028.1830.25.camel@...2921...> Message-ID: <5047DB6D.2090103@...1...> Le 05/09/2012 21:40, rocko a ?crit : > Can I change the text color in a data object like a browser or viewer? > I think you are looking for the DataView / DataBrowser "Data" event, that works the same way as in GridView. Regards, -- Beno?t Minisini From sunblaster5 at ...626... Thu Sep 6 01:13:07 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 05 Sep 2012 16:13:07 -0700 Subject: [Gambas-user] Changing text color in dataBrowser or Viewer In-Reply-To: <5047DB6D.2090103@...1...> References: <1346874028.1830.25.camel@...2921...> <5047DB6D.2090103@...1...> Message-ID: <1346886787.1830.34.camel@...2921...> On Thu, 2012-09-06 at 01:08 +0200, Beno?t Minisini wrote: > Le 05/09/2012 21:40, rocko a ?crit : > > Can I change the text color in a data object like a browser or viewer? > > > > I think you are looking for the DataView / DataBrowser "Data" event, > that works the same way as in GridView. > > Regards, So maybe something like this: If Column = 2 Then DataView1.Data.ForeColor = 'hexnumber of color' > -- rocko From sunblaster5 at ...626... Thu Sep 6 01:36:18 2012 From: sunblaster5 at ...626... (acidblue) Date: Wed, 5 Sep 2012 16:36:18 -0700 (PDT) Subject: [Gambas-user] Questions about SQLIte and Data Objects In-Reply-To: <50327E31.80803@...1...> References: <34279714.post@...1379...> <50327E31.80803@...1...> Message-ID: <34395138.post@...1379...> Beno?t Minisini wrote: > > Le 10/08/2012 01:34, acidblue a ?crit : >> >> I noticed when i use 'datetime' as a type in sqlite it also adds a time >> at >> the end the date: >> 8/9/2012 00:00:00 when displayed in a dataview box. >> >> Is there a way to NOT display the time, just the date? > > I think I have some sort of solution for you, in revision #5059: > > DataView now raises a "Data" event, exactly like the GridView control, > except that the Data event handler receives three arguments: the row, > the column and the database value. > > In that event handler, you will be able to define the cell visual > contents through the new DataView.Data property (exactly like GridView). > > So, to not display the time part of the date: > > Public Sub MyDataView_Data(Row As Integer, Column As Integer, Value As > Variant) > > ' Let's suppose that the date is in the third column. > If Column = 2 Then MyDataView.Data.Text = Format(Value, gb.ShortDate) > > ' By default, the other columns will be displayed the old way. > > End > >> >> I have to re-adjust the column widths every time program loads,(using >> dataview),this is inherited >> of the length of the Varchar and string elements in the database. >> Is there a way to adjust the column widths to my liking and have them >> stay >> that way? > > I think so, as the DataView.View property will return its underlying > TableView for you. That way, you can redefine the width of each > TableView column as you like. > > Maybe I should add a "Load" event that would be raised each time the > DataView contents has been loaded from the database. That way, you won't > have to worry about when exactly you should apply the columns widths... > >> >> I've tried using both the datacombo and the datacomboview but have >> received >> error messages when I do. >> "Unknown symbol in HeaderHieght in class", Grid_viewRows" >> But when I double click either the datacomdo or the comboview to enter >> code >> gambas crashes. >> > > Please provide the details: exact error messages, little project > example... > > -- > Beno?t Minisini > > Forgive my ignorance but where do I find the DataBrowser sub routine? > It's not listed in the FMain code, and if I create it a I get an error: > "DataBrowser1 already declared" > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/Questions-about-SQLIte-and-Data-Objects-tp34279714p34395138.html Sent from the gambas-user mailing list archive at Nabble.com. From john.aaron.rose at ...626... Thu Sep 6 10:23:01 2012 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 06 Sep 2012 09:23:01 +0100 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro Message-ID: <1346919781.2287.39.camel@...2811...> Willy & Benoit, Thank you for your replies. I still don't understand how a Ubuntu Main Menu entry was created/modified to invoke my app. But I understand a little bit more about what the installation of a .deb does. Also, I've just done a 'Make Installation Package' with another app of mine and that installs & runs OK. From vuott at ...325... Thu Sep 6 14:31:07 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 6 Sep 2012 13:31:07 +0100 (BST) Subject: [Gambas-user] Embedded windows are not visible.... Message-ID: <1346934667.73468.YahooMailClassic@...2748...> Hello, I would like to point out that with the latest updates I have a strange behavior from Embedder: "Embedder" embeds the windows, but now they aren't visible ! Regards vuott From bbruen at ...2308... Thu Sep 6 14:33:05 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 06 Sep 2012 22:03:05 +0930 Subject: [Gambas-user] Rev 5129+ gb.desktop Message-ID: <1346934785.10225.5.camel@...2688...> Hmm, I could be wrong here but I don't think this works for LXDE. There is no mimeinfo.cache file in ~/.local/share/applications/ (in fact according to mlocate there is no such file anywhere) there is a mimeapps.list file that looks like this: [Default Applications] text/plain=leafpad.desktop x-scheme-handler/http=firefox.desktop x-scheme-handler/mailto=evolution.desktop application/pdf=evince.desktop application/xml=userapp-treeline-ICWQEW.desktop image/png=gpicview.desktop application/x-java=leafpad.desktop application/x-m4=geany.desktop application/x-shellscript=leafpad.desktop text/html=firefox.desktop text/x-csharp=geany.desktop text/vnd.wap.wml=firefox.desktop video/vnd.mpegurl=vlc.desktop text/x-changelog=geany.desktop [Added Associations] x-scheme-handler/http=firefox.desktop; x-scheme-handler/mailto=evolution.desktop; application/octet-stream=leafpad.desktop;file-roller.desktop;userapp-dhex-49WAFW.desktop;userapp-hexedit-L3G7EW.desktop;geany.desktop; application/x-java=geany.desktop;diffuse.desktop; application/x-gambas3=userapp-gba3 -x-G5XBEW.desktop;file-roller.desktop; application/x-compressed-tar=kde4-kdiff3.desktop; application/xml=treeline.desktop;firefox.desktop;userapp-treeline-ICWQEW.desktop; text/html=treeline.desktop;userapp-treeline-08RHEW.desktop;blue-griffon.desktop;firefox.desktop; application/x-gettext-translation=leafpad.desktop; application/x-php=firefox.desktop; image/png=gpicview.desktop; application/vnd.oasis.opendocument.graphics=gpicview.desktop; application/vnd.oasis.opendocument.spreadsheet=gnumeric.desktop; application/x-sqlite3=userapp-sqlite-UP4YFW.desktop;libreoffice3.5-base.desktop; text/plain=geany.desktop;leafpad.desktop;diffuse.desktop; audio/midi=vlc.desktop; application/x-asp=firefox.desktop; application/x-pak=file-roller.desktop;leafpad.desktop; application/x-trash=leafpad.desktop;gpicview.desktop; text/x-csharp=geany.desktop; text/vnd.wap.wml=firefox.desktop; video/vnd.mpegurl=vlc.desktop; application/x-designer=mandriva-designer-qt4.desktop; application/x-font-ttf=leafpad.desktop; text/x-changelog=geany.desktop; So anytime the IDE tries a FindInMimeInfoCache() it crashes with a "File not found error" Bruce From gambas at ...1... Thu Sep 6 14:52:33 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 06 Sep 2012 14:52:33 +0200 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: <1346934785.10225.5.camel@...2688...> References: <1346934785.10225.5.camel@...2688...> Message-ID: <50489C91.2040602@...1...> Le 06/09/2012 14:33, Bruce a ?crit : > Hmm, > > I could be wrong here but I don't think this works for LXDE. > > There is no mimeinfo.cache file in ~/.local/share/applications/ > (in fact according to mlocate there is no such file anywhere) > > there is a mimeapps.list file that looks like this: > [Default Applications] > text/plain=leafpad.desktop > x-scheme-handler/http=firefox.desktop > x-scheme-handler/mailto=evolution.desktop > application/pdf=evince.desktop > application/xml=userapp-treeline-ICWQEW.desktop > image/png=gpicview.desktop > application/x-java=leafpad.desktop > application/x-m4=geany.desktop > application/x-shellscript=leafpad.desktop > text/html=firefox.desktop > text/x-csharp=geany.desktop > text/vnd.wap.wml=firefox.desktop > video/vnd.mpegurl=vlc.desktop > text/x-changelog=geany.desktop > > [Added Associations] > x-scheme-handler/http=firefox.desktop; > x-scheme-handler/mailto=evolution.desktop; > application/octet-stream=leafpad.desktop;file-roller.desktop;userapp-dhex-49WAFW.desktop;userapp-hexedit-L3G7EW.desktop;geany.desktop; > application/x-java=geany.desktop;diffuse.desktop; > application/x-gambas3=userapp-gba3 > -x-G5XBEW.desktop;file-roller.desktop; > application/x-compressed-tar=kde4-kdiff3.desktop; > application/xml=treeline.desktop;firefox.desktop;userapp-treeline-ICWQEW.desktop; > text/html=treeline.desktop;userapp-treeline-08RHEW.desktop;blue-griffon.desktop;firefox.desktop; > application/x-gettext-translation=leafpad.desktop; > application/x-php=firefox.desktop; > image/png=gpicview.desktop; > application/vnd.oasis.opendocument.graphics=gpicview.desktop; > application/vnd.oasis.opendocument.spreadsheet=gnumeric.desktop; > application/x-sqlite3=userapp-sqlite-UP4YFW.desktop;libreoffice3.5-base.desktop; > text/plain=geany.desktop;leafpad.desktop;diffuse.desktop; > audio/midi=vlc.desktop; > application/x-asp=firefox.desktop; > application/x-pak=file-roller.desktop;leafpad.desktop; > application/x-trash=leafpad.desktop;gpicview.desktop; > text/x-csharp=geany.desktop; > text/vnd.wap.wml=firefox.desktop; > video/vnd.mpegurl=vlc.desktop; > application/x-designer=mandriva-designer-qt4.desktop; > application/x-font-ttf=leafpad.desktop; > text/x-changelog=geany.desktop; > > So anytime the IDE tries a FindInMimeInfoCache() it crashes with a "File > not found error" > > Bruce > Where is that "mimeapps.list" file located? Can it be located both in the home directory and in a global system directory? -- Beno?t Minisini From gambas at ...2524... Thu Sep 6 17:58:33 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Sep 2012 15:58:33 +0000 Subject: [Gambas-user] Issue 326 in gambas: Crash when closing tab, after clicking on warnings. Message-ID: <0-6813199134517018827-14930277827383310232-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 326 by jussi.la... at ...626...: Crash when closing tab, after clicking on warnings. http://code.google.com/p/gambas/issues/detail?id=326 1) Describe the problem. Crash when closing tab, after clicking on warnings. [29] Invalid object._TabPanelButton.DrawingArea_MouseDown.211 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: 5133 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 Desktop used: XFCE 5) Explain clearly how to reproduce the bug or the crash. 1. Open project with unused variables. 2. Open multiple classes, modules or forms. 3. Compile. 4. Open warnings tab and double click on some warning. 5. Close class, module or form, that is not active. [29] Invalid object._TabPanelButton.DrawingArea_MouseDown.211 From gambas at ...2524... Thu Sep 6 18:59:04 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Sep 2012 16:59:04 +0000 Subject: [Gambas-user] Issue 326 in gambas: Crash when closing tab, after clicking on warnings. In-Reply-To: <0-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> Comment #1 on issue 326 by jussi.la... at ...626...: Crash when closing tab, after clicking on warnings. http://code.google.com/p/gambas/issues/detail?id=326 Apparently this is not related to warnings tab. Just close any open class, module or form. From gambas at ...2524... Thu Sep 6 19:18:33 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Sep 2012 17:18:33 +0000 Subject: [Gambas-user] Issue 326 in gambas: Crash when closing tab, after clicking on warnings. In-Reply-To: <1-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> <0-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #2 on issue 326 by benoit.m... at ...626...: Crash when closing tab, after clicking on warnings. http://code.google.com/p/gambas/issues/detail?id=326 (No comment was entered for this change.) From gambas at ...2524... Thu Sep 6 19:19:33 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Sep 2012 17:19:33 +0000 Subject: [Gambas-user] Issue 326 in gambas: Crash when closing tab, after clicking on warnings. In-Reply-To: <2-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> <0-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14930277827383310232-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 326 by benoit.m... at ...626...: Crash when closing tab, after clicking on warnings. http://code.google.com/p/gambas/issues/detail?id=326 Fixed in revision #5136 From richard.j.walker at ...247... Thu Sep 6 20:28:48 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Thu, 6 Sep 2012 19:28:48 +0100 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: <50489C91.2040602@...1...> References: <1346934785.10225.5.camel@...2688...> <50489C91.2040602@...1...> Message-ID: Beno?t, I found a reference to application opening by mime type in LXDE a few days ago when I was hunting for details of xdg and LXDE. Have a look at http://d.hatena.ne.jp/masami256/20111016/1318735685 Although it is about patching the xdg-utils script, it provides helpful information on how LXDE organises its "preferred application" mime types. Might be useful...? Richard From richard.j.walker at ...247... Thu Sep 6 20:58:48 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Thu, 6 Sep 2012 19:58:48 +0100 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: References: <1346934785.10225.5.camel@...2688...> <50489C91.2040602@...1...> Message-ID: I have checked the three locations for file association lists mentioned on the page referenced above. I can confitm Bruce's findings on my Mageia2 system. The ~/.local/share/applications/mimeapps.list file has the two sections [Default Applications] and [Added Associations] where the latter is those associations the user may have created using context menu "Open with..." options in the file manager. The /etc/xdg/libfm/pref.apps.conf file only has entries for a browser and a mail client which are the only two configurable associations available using the LXDE desktop app;"Preferred Applications" (libfm-pref-apps). The user's preferred applications file in ~/.config/libfm/pref-apps.conf is essentially the per-user override for the browser and mail client system settings. From gambas at ...2524... Thu Sep 6 21:01:55 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Sep 2012 19:01:55 +0000 Subject: [Gambas-user] Issue 325 in gambas: gb.gui can not be loaded on demand In-Reply-To: <0-6813199134517018827-5416489336304771172-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5416489336304771172-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5416489336304771172-gambas=googlecode.com@...2524...> Comment #1 on issue 325 by benoit.m... at ...626...: gb.gui can not be loaded on demand http://code.google.com/p/gambas/issues/detail?id=325 Normal, both gb.gtk and gb.qt4 are initialized by the "main" hook run before the Main() startup method. If you load the components after, that hook is not executed. Why do you want to do that? From richard.j.walker at ...247... Thu Sep 6 21:05:25 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Thu, 6 Sep 2012 20:05:25 +0100 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: References: <1346934785.10225.5.camel@...2688...> <50489C91.2040602@...1...> Message-ID: Incidentally, I have a mimeapps.list at /usr/share/applications which contains only an [Added Associations] section with what looks like Mageia-specific entries for www browsers, text editors and a package manager. From gambas at ...2524... Fri Sep 7 00:22:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Sep 2012 22:22:16 +0000 Subject: [Gambas-user] Issue 327 in gambas: Setting me.fullscreen in Form_Open behaves differently in GTK and QT Message-ID: <0-6813199134517018827-11533991800416736958-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 327 by zachsmit... at ...626...: Setting me.fullscreen in Form_Open behaves differently in GTK and QT http://code.google.com/p/gambas/issues/detail?id=327 1) Set me.fullscreen in Form_Open. In GTK, the form goes fullscreen immediately. In QT, the wait command completes first. 2) [System] OperatingSystem=Linux Kernel=3.4.9-1-ARCH Architecture=x86_64 Memory=4052172 kB DistributionVendor=arch DistributionRelease=n/a Desktop=Xfce [Gambas 2] Version=2.24.0 Path=/usr/bin/gbx2 [Gambas 3] Version=3.2.90 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.2 GTK+=libgtk-x11-2.0.so.0.2400.11 3) project attached Attachments: fullscreen_test-0.0.3.tar.gz 5.0 KB From gambas at ...1... Fri Sep 7 03:15:07 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 07 Sep 2012 03:15:07 +0200 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: References: <1346934785.10225.5.camel@...2688...> <50489C91.2040602@...1...> Message-ID: <50494A9B.9070103@...1...> Le 06/09/2012 21:05, RICHARD WALKER a ?crit : > Incidentally, I have a mimeapps.list at /usr/share/applications which > contains only an [Added Associations] section with what looks like > Mageia-specific entries for www browsers, text editors and a package > manager. > Is it better with revision #5137? -- Beno?t Minisini From oceanosoftlapalma at ...626... Fri Sep 7 07:35:57 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Fri, 7 Sep 2012 07:35:57 +0200 Subject: [Gambas-user] Looks like a small bug when reenabliing form in textarea controls Message-ID: Hi, Maybe there is some problem with textareas when you set Enabled property to true in runtime. If you set in runtime a form to enabled = false and then change by code the text inside a textarea and the set enabled = true again the text area forecolor change to gray. See the example. Please note in this example if you first set form enabled = true and after change the text everything works right. Regards, Ricardo D?az -------------- next part -------------- A non-text attachment was scrubbed... Name: test02-0.0.1.tar.gz Type: application/x-gzip Size: 5607 bytes Desc: not available URL: From sotema at ...626... Fri Sep 7 08:36:45 2012 From: sotema at ...626... (Emanuele Sottocorno) Date: Fri, 07 Sep 2012 08:36:45 +0200 Subject: [Gambas-user] Preferences settings not working fro automatic variable declaration Message-ID: <1346999805.7199.4.camel@...2516...> Hi all, with rev #5137 Automatic Variable Declaration is active no matter what value I set in Preferences. [System] OperatingSystem=Linux Kernel=3.2.0-30-generic Architecture=x86_64 Memory=4048724 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Gnome [Gambas 2] Version=2.23.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.2.90 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 Regards, Emanuele From vuott at ...325... Fri Sep 7 11:02:41 2012 From: vuott at ...325... (Ru Vuott) Date: Fri, 7 Sep 2012 10:02:41 +0100 (BST) Subject: [Gambas-user] R: Preferences settings not working fro automatic variable declaration In-Reply-To: <1346999805.7199.4.camel@...2516...> Message-ID: <1347008561.11372.YahooMailClassic@...2691...> Hello, I confirm the problem indicated by Emanuele: a pre-undeclared variable is automatically declared and if the option is set to NO and to YES. Regards Vuott --- Ven 7/9/12, Emanuele Sottocorno ha scritto: > Da: Emanuele Sottocorno > Oggetto: [Gambas-user] Preferences settings not working fro automatic variable declaration > A: gambas-user at lists.sourceforge.net > Data: Venerd? 7 settembre 2012, 08:36 > Hi all, > with rev #5137 Automatic Variable Declaration is active no > matter what > value I set in Preferences. > > [System] > OperatingSystem=Linux > Kernel=3.2.0-30-generic > Architecture=x86_64 > Memory=4048724 kB > DistributionVendor=Ubuntu > DistributionRelease="Ubuntu 12.04.1 LTS" > Desktop=Gnome > > [Gambas 2] > Version=2.23.0 > Path=/usr/local/bin/gbx2 > > [Gambas 3] > Version=3.2.90 > Path=/usr/local/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.8.1 > GTK+=libgtk-x11-2.0.so.0.2400.10 > > Regards, > Emanuele > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Sep 7 14:58:06 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 07 Sep 2012 14:58:06 +0200 Subject: [Gambas-user] R: Preferences settings not working fro automatic variable declaration In-Reply-To: <1347008561.11372.YahooMailClassic@...2691...> References: <1347008561.11372.YahooMailClassic@...2691...> Message-ID: <5049EF5E.8080802@...1...> Le 07/09/2012 11:02, Ru Vuott a ?crit : > Hello, > > I confirm the problem indicated by Emanuele: a pre-undeclared variable is automatically declared and if the option is set to NO and to YES. > > Regards > Vuott > Fixed in revision #5138. Regards, -- Beno?t Minisini From gambas at ...1... Fri Sep 7 18:44:13 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 07 Sep 2012 18:44:13 +0200 Subject: [Gambas-user] Looks like a small bug when reenabliing form in textarea controls In-Reply-To: References: Message-ID: <504A245D.3010206@...1...> Le 07/09/2012 07:35, Ricardo D?az Mart?n a ?crit : > Hi, > > Maybe there is some problem with textareas when you set Enabled property to > true in runtime. > > If you set in runtime a form to enabled = false and then change by code the > text inside a textarea and the set enabled = true again the text area > forecolor change to gray. > > See the example. > > Please note in this example if you first set form enabled = true and after > change the text everything works right. > > Regards, > Ricardo D?az > > It should be fixed in revision #5139. -- Beno?t Minisini From cabrerawilliam at ...626... Fri Sep 7 22:48:45 2012 From: cabrerawilliam at ...626... (William Cabrera) Date: Fri, 7 Sep 2012 16:18:45 -0430 Subject: [Gambas-user] gb.mime component is disabled In-Reply-To: <1346574264.670.YahooMailClassic@...2748...> References: <1346574264.670.YahooMailClassic@...2748...> Message-ID: Hi, i compile de librrary installing the package libgmime-2.6-dev I use Debian Wheezy ------ William Cabrera http://willicab.gnu.org.ve 2012/9/2 Ru Vuott > Hello, > > I updated my Gambas-3 with rev. #1515. At the end of "./configure -C" I > have got a notice that it says the new gb.mime component is disabled. > > What have I do ? > > Regards > vuott > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Fri Sep 7 23:28:27 2012 From: vuott at ...325... (Ru Vuott) Date: Fri, 7 Sep 2012 22:28:27 +0100 (BST) Subject: [Gambas-user] gb.mime component is disabled In-Reply-To: Message-ID: <1347053307.26687.YahooMailClassic@...2758...> Yes, it's that. Thanks vuott --- Ven 7/9/12, William Cabrera ha scritto: > Da: William Cabrera > Oggetto: Re: [Gambas-user] gb.mime component is disabled > A: "mailing list for gambas users" > Data: Venerd? 7 settembre 2012, 22:48 > Hi, i compile de librrary installing > the package libgmime-2.6-dev > > I use Debian Wheezy > > ------ > William Cabrera > http://willicab.gnu.org.ve > > > > 2012/9/2 Ru Vuott > > > Hello, > > > > I updated my Gambas-3 with rev. #1515. At the end of > "./configure -C" I > > have got a notice that it says the new gb.mime > component is disabled. > > > > What have I do ? > > > > Regards > > vuott > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's > security and > > threat landscape has changed and how IT managers can > respond. Discussions > > will include endpoint security, mobile security and the > latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From richard.j.walker at ...247... Sat Sep 8 02:43:31 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sat, 8 Sep 2012 01:43:31 +0100 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: <50494A9B.9070103@...1...> References: <1346934785.10225.5.camel@...2688...> <50489C91.2040602@...1...> <50494A9B.9070103@...1...> Message-ID: I am guessing the extended search for the mimeapps.list files will work for Bruce. I searched in vain for any sign of mimeinfo.cache in any Mageia rpm. Then I discovered (thankyou Google) that the file is created when you run update-desktop-database. It would appear that some desktops are more likely to do this than others. I now have one such file in /usr/share/applications, but it is the mimeapps.list file in ~/.local/share/applications which knows about my preferred application associations. Would it make sense to you to try for the ~/.local files (mimeapps.list then mimeinfo.cache) first before falling back on /usr/share or /usr/local/share ? From gambas at ...2524... Sat Sep 8 05:51:03 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 08 Sep 2012 03:51:03 +0000 Subject: [Gambas-user] Issue 328 in gambas: Change the name of the control will lead to code error Message-ID: <0-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.2.0 Type-Bug Priority-Critical OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 328 by jmx... at ...2924...: Change the name of the control will lead to code error http://code.google.com/p/gambas/issues/detail?id=328 1) Describe the problem. Change the name of the control will lead to code error. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.2 Revision: Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: QT4 Desktop used: xfce 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. A.insert two forms(e.g.:Form1,Form2). each form has a button, and have a same name(e.g.: Button1) B.write the code in Form1: Public Sub Button1_Click() Form2.Button1.Tag = "form2.button1" End C.Now, change the name of the button on Form1.(e.g.:Button2). D.the code will auto change into: Public Sub Button2_Click() Form2.Button2.Tag = "form2.button1" End E.All of the "Button1" in the code change into "Button2". Attention?"Form2.Button1 >> Form2.Button2". From kevinfishburne at ...1887... Sat Sep 8 08:05:27 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 08 Sep 2012 02:05:27 -0400 Subject: [Gambas-user] gb3: The program has returned the value: 1 Message-ID: <504AE027.3060805@...1887...> I get this when running my program: 01:59:43.168 - Initializing network: 01:59:43.169 - Server Mode: False, Server IP Address: 192.168.0.110, Server Port: 12345 01:59:43.169 - Initializing rendering engine: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 3 (X_GetWindowAttributes) Resource id in failed request: 0x1e0008d Serial number of failed request: 54 Current serial number in output stream: 55 What's strange is that it works fine when running a compiled executable and only shows the error when running in the IDE. This occurred after moving several procedures to their own module and renaming all associated variables and many procedures (organizational modifications). The line where it halts is ".Show()": ' Create client's screen. With Screen .FullScreen = sFullscreen .Width = sWidth .Height = sHeight .Show() End With Any ideas? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Sat Sep 8 10:07:14 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 08 Sep 2012 10:07:14 +0200 Subject: [Gambas-user] gb3: The program has returned the value: 1 In-Reply-To: <504AE027.3060805@...1887...> References: <504AE027.3060805@...1887...> Message-ID: <504AFCB2.6010705@...1...> Le 08/09/2012 08:05, Kevin Fishburne a ?crit : > I get this when running my program: > > 01:59:43.168 - Initializing network: > 01:59:43.169 - Server Mode: False, Server IP Address: 192.168.0.110, > Server Port: 12345 > 01:59:43.169 - Initializing rendering engine: > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 3 (X_GetWindowAttributes) > Resource id in failed request: 0x1e0008d > Serial number of failed request: 54 > Current serial number in output stream: 55 > > What's strange is that it works fine when running a compiled executable > and only shows the error when running in the IDE. This occurred after > moving several procedures to their own module and renaming all > associated variables and many procedures (organizational modifications). > > The line where it halts is ".Show()": > > ' Create client's screen. > With Screen > .FullScreen = sFullscreen > .Width = sWidth > .Height = sHeight > .Show() > End With > > Any ideas? > No more details? What are you doing in the IDE exactly? Why do you say "the line where it halts"? Do you get an error or just an X11 error message? Is FullScreen set or not?... -- Beno?t Minisini From gambas at ...2524... Sat Sep 8 10:16:07 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 08 Sep 2012 08:16:07 +0000 Subject: [Gambas-user] Issue 328 in gambas: Change the name of the control will lead to code error In-Reply-To: <0-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 328 by benoit.m... at ...626...: Change the name of the control will lead to code error http://code.google.com/p/gambas/issues/detail?id=328 Is it better with revision #5143? From fabianfloresvadell at ...626... Sat Sep 8 22:34:56 2012 From: fabianfloresvadell at ...626... (=?ISO-8859-1?Q?Fabi=E1n_Flores_Vadell?=) Date: Sat, 8 Sep 2012 17:34:56 -0300 Subject: [Gambas-user] 38 different classes - all exactly the same. In-Reply-To: <1346838958.18379.49.camel@...2688...> References: <1346739203.18379.33.camel@...2688...> <1346838958.18379.49.camel@...2688...> Message-ID: 2012/9/5 Bruce > > Fabi?n, > > Thanks for taking the time to look at this. It took us all of today to > recast the persistor class but it was well worth it as not only did we > get rid of the specialised persistors but strangely it simplified some > other aspects. > > You're welcome. > Please find a few (virtual) beers attached ;-) > > regards > Bruce > > > http://upload.wikimedia.org/wikipedia/en/thumb/6/68/Darwin_stubby.jpg/800px-Darwin_stubby.jpg > > Oh, cool! From gambas at ...1... Sun Sep 9 01:42:23 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Sep 2012 01:42:23 +0200 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: References: <1346934785.10225.5.camel@...2688...> <50489C91.2040602@...1...> <50494A9B.9070103@...1...> Message-ID: <504BD7DF.5060307@...1...> Le 08/09/2012 02:43, RICHARD WALKER a ?crit : > I am guessing the extended search for the mimeapps.list files will > work for Bruce. > > I searched in vain for any sign of mimeinfo.cache in any Mageia rpm. > Then I discovered (thankyou Google) that the file is created when you > run update-desktop-database. It would appear that some desktops are > more likely to do this than others. > > I now have one such file in /usr/share/applications, but it is the > mimeapps.list file in ~/.local/share/applications which knows about my > preferred application associations. Would it make sense to you to try > for the ~/.local files (mimeapps.list then mimeinfo.cache) first > before falling back on /usr/share or /usr/local/share ? > Is it better with revision #5144? -- Beno?t Minisini From willy at ...2734... Sun Sep 9 03:50:05 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 09 Sep 2012 03:50:05 +0200 Subject: [Gambas-user] Signal 11 in revision #5142 Message-ID: <1347155405.5794.7.camel@...2735...> Discovered this testing my library and isolated the problem. Next made this test application and run some tests. I attached a source code archive. Just open in IDE and run, then click on button Signal 11 to generate the Signal 11 error. On 3.2.1 it runs On 3.2.90 #5071 it runs On 3.2.90 #5142 I get a signal 11 Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: Signal11-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4987 bytes Desc: not available URL: From kevinfishburne at ...1887... Sun Sep 9 08:54:01 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 09 Sep 2012 02:54:01 -0400 Subject: [Gambas-user] gb3: The program has returned the value: 1 In-Reply-To: <504AE027.3060805@...1887...> References: <504AE027.3060805@...1887...> Message-ID: <504C3D09.909@...1887...> On 09/08/2012 02:05 AM, Kevin Fishburne wrote: > I get this when running my program: > > 01:59:43.168 - Initializing network: > 01:59:43.169 - Server Mode: False, Server IP Address: 192.168.0.110, > Server Port: 12345 > 01:59:43.169 - Initializing rendering engine: > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 3 (X_GetWindowAttributes) > Resource id in failed request: 0x1e0008d > Serial number of failed request: 54 > Current serial number in output stream: 55 > > What's strange is that it works fine when running a compiled executable > and only shows the error when running in the IDE. This occurred after > moving several procedures to their own module and renaming all > associated variables and many procedures (organizational modifications). > > The line where it halts is ".Show()": > > ' Create client's screen. > With Screen > .FullScreen = sFullscreen > .Width = sWidth > .Height = sHeight > .Show() > End With > > Any ideas? > If anyone asks this question again in the future, please tell them to recompile and use the latest build. If you're in a questionable mood, add that they're an idiot. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Sun Sep 9 10:45:03 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Sep 2012 10:45:03 +0200 Subject: [Gambas-user] Signal 11 in revision #5142 In-Reply-To: <1347155405.5794.7.camel@...2735...> References: <1347155405.5794.7.camel@...2735...> Message-ID: <504C570F.9090505@...1...> Le 09/09/2012 03:50, Willy Raets a ?crit : > Discovered this testing my library and isolated the problem. > Next made this test application and run some tests. > > I attached a source code archive. > Just open in IDE and run, then click on button Signal 11 to generate the > Signal 11 error. > > On 3.2.1 it runs > On 3.2.90 #5071 it runs > On 3.2.90 #5142 I get a signal 11 > > Willy > I have no crash at all. Which version of QT and/or GTK+ do you use? Can you send me a gdb backtrace/valgrind output of the crash? -- Beno?t Minisini From gambas at ...2524... Sun Sep 9 11:24:44 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 09 Sep 2012 09:24:44 +0000 Subject: [Gambas-user] Issue 328 in gambas: Change the name of the control will lead to code error In-Reply-To: <1-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> <0-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> Comment #2 on issue 328 by jmx... at ...2924...: Change the name of the control will lead to code error http://code.google.com/p/gambas/issues/detail?id=328 I tried the new version 3.3 (sebikul's Gambas Daily Builds PPA, 3.2.90-0+svn4039~precise1). When rename a control, just AutoCorrect the code of the form which the control on, the code of other form can not be automatically corrected. e.g.: A. two forms(e.g.:Form1,Form2). Form1 has a button(e.g.: Button1) B. code in Form1: Public Sub Button1_Click() Me.Button1.Tag = "form1.button1" End C. code in Form2, reference to the Form1: Public Sub test() Form1.Button1.Tag = "form1.button1" End D. Now, change the name of the Button1 on Form1.(e.g.:Button1-1). E.the code in Form1 will auto change: Public Sub Button1-1_Click() Me.Button1-1.Tag = "form1.button1" End F. But the code in Form2 remain as: Public Sub test() Form1.Button1.Tag = "form1.button1" End From bbruen at ...2308... Sun Sep 9 11:26:34 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 09 Sep 2012 18:56:34 +0930 Subject: [Gambas-user] gb3: The program has returned the value: 1 In-Reply-To: <504AE027.3060805@...1887...> References: <504AE027.3060805@...1887...> Message-ID: <1347182794.7951.7.camel@...2688...> On Sat, 2012-09-08 at 02:05 -0400, Kevin Fishburne wrote: > I get this when running my program: > > 01:59:43.168 - Initializing network: > 01:59:43.169 - Server Mode: False, Server IP Address: 192.168.0.110, > Server Port: 12345 > 01:59:43.169 - Initializing rendering engine: > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 3 (X_GetWindowAttributes) > Resource id in failed request: 0x1e0008d > Serial number of failed request: 54 > Current serial number in output stream: 55 > > What's strange is that it works fine when running a compiled executable > and only shows the error when running in the IDE. This occurred after > moving several procedures to their own module and renaming all > associated variables and many procedures (organizational modifications). > > The line where it halts is ".Show()": > > ' Create client's screen. > With Screen > .FullScreen = sFullscreen > .Width = sWidth > .Height = sHeight > .Show() > End With > > Any ideas? > Benoit, I am getting similar experiences with some older code that use to "just work". The executable, either compiled recently or a version that was compiled some time ago works properly. However, running these projects in the IDE just fails with a sig11, no trace, no information. I have so far not managed to categorise anything that is causing the fail. The only thing I have seen, with Willy's example is that the fail (in his case) occurs on the Exec call. Even running the IDE within the IDE gives no clue as to what is happening. The only thing I can suggest is that the debugger is possibly the culprit, and that is based on pure conjecture. hth Bruce From bbruen at ...2308... Sun Sep 9 11:32:15 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 09 Sep 2012 19:02:15 +0930 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: <504BD7DF.5060307@...1...> References: <1346934785.10225.5.camel@...2688...> <50489C91.2040602@...1...> <50494A9B.9070103@...1...> <504BD7DF.5060307@...1...> Message-ID: <1347183135.7951.14.camel@...2688...> On Sun, 2012-09-09 at 01:42 +0200, Beno?t Minisini wrote: > Le 08/09/2012 02:43, RICHARD WALKER a ?crit : > > I am guessing the extended search for the mimeapps.list files will > > work for Bruce. > > > > I searched in vain for any sign of mimeinfo.cache in any Mageia rpm. > > Then I discovered (thankyou Google) that the file is created when you > > run update-desktop-database. It would appear that some desktops are > > more likely to do this than others. Richard, Would you kindly supply that link re update-desktop-database. I'd like a look. > > > > I now have one such file in /usr/share/applications, but it is the > > mimeapps.list file in ~/.local/share/applications which knows about my > > preferred application associations. Would it make sense to you to try > > for the ~/.local files (mimeapps.list then mimeinfo.cache) first > > before falling back on /usr/share or /usr/local/share ? > > > > Is it better with revision #5144? > Beno?t, Yes, it is. Sorry for the delay in getting back. Thursday, Friday and Saturday are our "busy days" and I have been out at client sites. regards Bruce From vuott at ...325... Sun Sep 9 13:38:02 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 9 Sep 2012 12:38:02 +0100 (BST) Subject: [Gambas-user] Intalling Gambas-3 on PCLinuxOS Message-ID: <1347190682.97814.YahooMailClassic@...2758...> Hello, a new italian Forum member'ld like installing Gambas-3 on PCLinuxOS. He want to know which libreries he have to install. Regards vuott From willy at ...2734... Sun Sep 9 14:48:42 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 09 Sep 2012 14:48:42 +0200 Subject: [Gambas-user] Signal 11 in revision #5142 In-Reply-To: <504C570F.9090505@...1...> References: <1347155405.5794.7.camel@...2735...> <504C570F.9090505@...1...> Message-ID: <1347194922.2129.2.camel@...2735...> On zo, 2012-09-09 at 10:45 +0200, Beno?t Minisini wrote: > Le 09/09/2012 03:50, Willy Raets a ?crit : > > Discovered this testing my library and isolated the problem. > > Next made this test application and run some tests. > > > > I attached a source code archive. > > Just open in IDE and run, then click on button Signal 11 to generate the > > Signal 11 error. > > > > On 3.2.1 it runs > > On 3.2.90 #5071 it runs > > On 3.2.90 #5142 I get a signal 11 > > > > Willy > > > > I have no crash at all. Which version of QT and/or GTK+ do you use? Can > you send me a gdb backtrace/valgrind output of the crash? Attached: - SystemInformation.txt -> desktop is LXDE (says unknown) - gdbout.txt -> gdb output - valgrindout.txt -> valgrind output - revision #5142 used Willy -------------- next part -------------- GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gbx3...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x080738bd in ?? () -------------- next part -------------- [System] OperatingSystem=Linux Kernel=3.2.0-29-generic Architecture=i686 Memory=766540 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Unknown [Gambas 2] Version=2.23.1 Path=/usr/bin/gbx2 [Gambas 3] Version=3.3.0 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 -------------- next part -------------- ==2281== Memcheck, a memory error detector ==2281== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==2281== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==2281== Command: gbx3 ==2281== ==2281== Invalid read of size 4 ==2281== at 0x5F854A2: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F87B09: FcConfigFilename (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F91065: FcInitLoadConfig (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F91188: FcInitLoadConfigAndFonts (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9140C: FcInit (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F85CE4: FcConfigGetCurrent (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F8787F: FcConfigSubstituteWithPat (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F878C6: FcConfigSubstitute (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x57B1699: ??? (in /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.3000.0) ==2281== by 0x5F5A407: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.3000.0) ==2281== by 0x5F5B9E6: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.3000.0) ==2281== by 0x58BAD26: pango_font_map_load_fontset (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x58B7F58: ??? (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x58B8D5E: pango_itemize_with_base_dir (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x58C0C85: ??? (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x58C1E43: ??? (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x51D22C4: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DC556: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51D88CF: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DD6A1: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51F78AF: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x8051491: ??? (in /usr/bin/gbx3) ==2281== by 0x805421A: ??? (in /usr/bin/gbx3) ==2281== by 0x807BEC5: ??? (in /usr/bin/gbx3) ==2281== by 0x805146E: ??? (in /usr/bin/gbx3) ==2281== by 0x8052520: ??? (in /usr/bin/gbx3) ==2281== by 0x806C33F: ??? (in /usr/bin/gbx3) ==2281== by 0x8056136: ??? (in /usr/bin/gbx3) ==2281== by 0x51FDCB7: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x8051BBC: ??? (in /usr/bin/gbx3) ==2281== by 0x805214E: ??? (in /usr/bin/gbx3) ==2281== by 0x804B3DC: ??? (in /usr/bin/gbx3) ==2281== by 0x40B14D2: (below main) (libc-start.c:226) ==2281== Address 0x44be92c is 20 bytes inside a block of size 22 alloc'd ==2281== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5F85407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F87B09: FcConfigFilename (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F91065: FcInitLoadConfig (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F91188: FcInitLoadConfigAndFonts (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9140C: FcInit (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F85CE4: FcConfigGetCurrent (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F8787F: FcConfigSubstituteWithPat (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F878C6: FcConfigSubstitute (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x57B1699: ??? (in /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.3000.0) ==2281== by 0x5F5A407: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.3000.0) ==2281== by 0x5F5B9E6: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.3000.0) ==2281== by 0x58BAD26: pango_font_map_load_fontset (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x58B7F58: ??? (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x58B8D5E: pango_itemize_with_base_dir (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x58C0C85: ??? (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x58C1E43: ??? (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3000.0) ==2281== by 0x51D22C4: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DC556: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51D88CF: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DD6A1: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51F78AF: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x8051491: ??? (in /usr/bin/gbx3) ==2281== by 0x805421A: ??? (in /usr/bin/gbx3) ==2281== by 0x807BEC5: ??? (in /usr/bin/gbx3) ==2281== by 0x805146E: ??? (in /usr/bin/gbx3) ==2281== by 0x8052520: ??? (in /usr/bin/gbx3) ==2281== by 0x806C33F: ??? (in /usr/bin/gbx3) ==2281== by 0x8056136: ??? (in /usr/bin/gbx3) ==2281== by 0x51FDCB7: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x8051BBC: ??? (in /usr/bin/gbx3) ==2281== by 0x805214E: ??? (in /usr/bin/gbx3) ==2281== by 0x804B3DC: ??? (in /usr/bin/gbx3) ==2281== by 0x40B14D2: (below main) (libc-start.c:226) ==2281== ==2281== Invalid read of size 4 ==2281== at 0x5F854B6: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x900642D: ??? ==2281== Address 0x44c3fb0 is 16 bytes inside a block of size 18 alloc'd ==2281== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5F85407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x900642D: ??? ==2281== ==2281== Invalid read of size 4 ==2281== at 0x5F854B6: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C6A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9CA63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== Address 0x44d5c18 is 40 bytes inside a block of size 42 alloc'd ==2281== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5F85407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C6A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9CA63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== ==2281== Invalid read of size 4 ==2281== at 0x5F854A2: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C6A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9CA63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== Address 0x4504c94 is 36 bytes inside a block of size 39 alloc'd ==2281== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5F85407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C1EB: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9C6A8: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x5F9CA63: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== ==2281== Invalid read of size 4 ==2281== at 0x5F854B6: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x2E73746D: ??? ==2281== Address 0x4526cd0 is 24 bytes inside a block of size 27 alloc'd ==2281== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5F85407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x2E73746D: ??? ==2281== ==2281== Invalid read of size 4 ==2281== at 0x5F854A2: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x6F632E6B: ??? ==2281== Address 0x452e474 is 20 bytes inside a block of size 22 alloc'd ==2281== at 0x402BE68: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5F85407: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4) ==2281== by 0x6F632E6B: ??? ==2281== ==2281== Conditional jump or move depends on uninitialised value(s) ==2281== at 0x6197DD8: inflateReset2 (in /lib/i386-linux-gnu/libz.so.1.2.3.4) ==2281== by 0x6197EC7: inflateInit2_ (in /lib/i386-linux-gnu/libz.so.1.2.3.4) ==2281== by 0x6197F72: inflateInit_ (in /lib/i386-linux-gnu/libz.so.1.2.3.4) ==2281== by 0x6146F60: png_create_read_struct_2 (in /lib/i386-linux-gnu/libpng12.so.0.46.0) ==2281== by 0x65A4CAC: ??? (in /usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so) ==2281== by 0x57BEB34: ??? (in /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0.2600.1) ==2281== by 0x57BEE1B: gdk_pixbuf_new_from_file (in /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0.2600.1) ==2281== by 0x63AB681: ??? (in /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==2281== by 0x5950DCC: g_cache_insert (in /lib/i386-linux-gnu/libglib-2.0.so.0.3200.3) ==2281== by 0x63AB8B7: ??? (in /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==2281== by 0x63AB957: ??? (in /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==2281== by 0x63A7F3F: ??? (in /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==2281== by 0x63A9193: ??? (in /usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==2281== by 0x5460EBB: gtk_paint_box (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x530B8E9: ??? (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x530BB84: ??? (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x53CA8A1: ??? (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x449A017: ??? ==2281== ==2281== Syscall param writev(vector[...]) points to uninitialised byte(s) ==2281== at 0x417A9AE: writev (writev.c:51) ==2281== by 0x4EA: ??? ==2281== Address 0x4317f37 is 295 bytes inside a block of size 16,384 alloc'd ==2281== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5E1FA01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0) ==2281== by 0x57444A5: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10) ==2281== by 0x51FFF86: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x804B26D: ??? (in /usr/bin/gbx3) ==2281== by 0x40B14D2: (below main) (libc-start.c:226) ==2281== ==2281== Syscall param writev(vector[...]) points to uninitialised byte(s) ==2281== at 0x417A9AE: writev (writev.c:51) ==2281== by 0x5A32FF3: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3200.3) ==2281== Address 0x4317e2b is 27 bytes inside a block of size 16,384 alloc'd ==2281== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5E1FA01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0) ==2281== by 0x57444A5: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10) ==2281== by 0x51FFF86: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x804B26D: ??? (in /usr/bin/gbx3) ==2281== by 0x40B14D2: (below main) (libc-start.c:226) ==2281== ==2281== Syscall param writev(vector[...]) points to uninitialised byte(s) ==2281== at 0x417A9AE: writev (writev.c:51) ==2281== by 0x10: ??? ==2281== Address 0x4317e73 is 99 bytes inside a block of size 16,384 alloc'd ==2281== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5E1FA01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0) ==2281== by 0x57444A5: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10) ==2281== by 0x51FFF86: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x804B26D: ??? (in /usr/bin/gbx3) ==2281== by 0x40B14D2: (below main) (libc-start.c:226) ==2281== ==2281== Syscall param writev(vector[...]) points to uninitialised byte(s) ==2281== at 0x417A9AE: writev (writev.c:51) ==2281== by 0x7: ??? ==2281== Address 0x4317e2b is 27 bytes inside a block of size 16,384 alloc'd ==2281== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5E1FA01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0) ==2281== by 0x57444A5: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10) ==2281== by 0x51FFF86: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x804B26D: ??? (in /usr/bin/gbx3) ==2281== by 0x40B14D2: (below main) (libc-start.c:226) ==2281== ==2281== Syscall param writev(vector[...]) points to uninitialised byte(s) ==2281== at 0x417A9AE: writev (writev.c:51) ==2281== by 0x400D355: _dl_map_object_deps (dl-deps.c:258) ==2281== Address 0x4317e3b is 43 bytes inside a block of size 16,384 alloc'd ==2281== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5E1FA01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0) ==2281== by 0x57444A5: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10) ==2281== by 0x51FFF86: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x804B26D: ??? (in /usr/bin/gbx3) ==2281== by 0x40B14D2: (below main) (libc-start.c:226) ==2281== ==2281== Syscall param writev(vector[...]) points to uninitialised byte(s) ==2281== at 0x417A9AE: writev (writev.c:51) ==2281== by 0x5F61689: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.3000.0) ==2281== Address 0x4317ec3 is 179 bytes inside a block of size 16,384 alloc'd ==2281== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==2281== by 0x5E1FA01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0) ==2281== by 0x57444A5: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10) ==2281== by 0x51FFF86: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x804B26D: ??? (in /usr/bin/gbx3) ==2281== by 0x40B14D2: (below main) (libc-start.c:226) ==2281== ==2284== ==2284== HEAP SUMMARY: ==2284== in use at exit: 1,196,473 bytes in 8,490 blocks ==2284== total heap usage: 30,411 allocs, 21,921 frees, 3,446,808 bytes allocated ==2284== ==2284== LEAK SUMMARY: ==2284== definitely lost: 2,216 bytes in 8 blocks ==2284== indirectly lost: 7,460 bytes in 373 blocks ==2284== possibly lost: 787,517 bytes in 3,514 blocks ==2284== still reachable: 399,280 bytes in 4,595 blocks ==2284== suppressed: 0 bytes in 0 blocks ==2284== Rerun with --leak-check=full to see details of leaked memory ==2284== ==2284== For counts of detected and suppressed errors, rerun with: -v ==2284== Use --track-origins=yes to see where uninitialised values come from ==2284== ERROR SUMMARY: 29 errors from 13 contexts (suppressed: 0 from 0) ==2281== Conditional jump or move depends on uninitialised value(s) ==2281== at 0x80738BB: ??? (in /usr/bin/gbx3) ==2281== by 0x8077E8D: ??? (in /usr/bin/gbx3) ==2281== by 0x8077C82: ??? (in /usr/bin/gbx3) ==2281== by 0x807455F: ??? (in /usr/bin/gbx3) ==2281== by 0x8061799: ??? (in /usr/bin/gbx3) ==2281== by 0x807B8DC: ??? (in /usr/bin/gbx3) ==2281== by 0x805146E: ??? (in /usr/bin/gbx3) ==2281== by 0x80658F5: ??? (in /usr/bin/gbx3) ==2281== by 0x8065E4F: ??? (in /usr/bin/gbx3) ==2281== by 0x51F7611: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DA0E9: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DD2DD: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x58FB242: g_cclosure_marshal_VOID__VOIDv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F9726: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5912A28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5913452: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x530B219: gtk_button_clicked (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x530C62F: ??? (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x58FB242: g_cclosure_marshal_VOID__VOIDv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F7DB6: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F9726: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5912A28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5913452: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x449A08F: ??? ==2281== ==2281== Use of uninitialised value of size 4 ==2281== at 0x80738BD: ??? (in /usr/bin/gbx3) ==2281== by 0x8077E8D: ??? (in /usr/bin/gbx3) ==2281== by 0x8077C82: ??? (in /usr/bin/gbx3) ==2281== by 0x807455F: ??? (in /usr/bin/gbx3) ==2281== by 0x8061799: ??? (in /usr/bin/gbx3) ==2281== by 0x807B8DC: ??? (in /usr/bin/gbx3) ==2281== by 0x805146E: ??? (in /usr/bin/gbx3) ==2281== by 0x80658F5: ??? (in /usr/bin/gbx3) ==2281== by 0x8065E4F: ??? (in /usr/bin/gbx3) ==2281== by 0x51F7611: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DA0E9: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DD2DD: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x58FB242: g_cclosure_marshal_VOID__VOIDv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F9726: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5912A28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5913452: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x530B219: gtk_button_clicked (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x530C62F: ??? (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x58FB242: g_cclosure_marshal_VOID__VOIDv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F7DB6: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F9726: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5912A28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5913452: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x449A08F: ??? ==2281== ==2281== Invalid read of size 4 ==2281== at 0x80738BD: ??? (in /usr/bin/gbx3) ==2281== by 0x8077E8D: ??? (in /usr/bin/gbx3) ==2281== by 0x8077C82: ??? (in /usr/bin/gbx3) ==2281== by 0x807455F: ??? (in /usr/bin/gbx3) ==2281== by 0x8061799: ??? (in /usr/bin/gbx3) ==2281== by 0x807B8DC: ??? (in /usr/bin/gbx3) ==2281== by 0x805146E: ??? (in /usr/bin/gbx3) ==2281== by 0x80658F5: ??? (in /usr/bin/gbx3) ==2281== by 0x8065E4F: ??? (in /usr/bin/gbx3) ==2281== by 0x51F7611: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DA0E9: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DD2DD: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x58FB242: g_cclosure_marshal_VOID__VOIDv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F9726: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5912A28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5913452: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x530B219: gtk_button_clicked (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x530C62F: ??? (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x58FB242: g_cclosure_marshal_VOID__VOIDv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F7DB6: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F9726: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5912A28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5913452: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x449A08F: ??? ==2281== Address 0x6 is not stack'd, malloc'd or (recently) free'd ==2281== ==2281== ==2281== Process terminating with default action of signal 11 (SIGSEGV) ==2281== Access not within mapped region at address 0x6 ==2281== at 0x80738BD: ??? (in /usr/bin/gbx3) ==2281== by 0x8077E8D: ??? (in /usr/bin/gbx3) ==2281== by 0x8077C82: ??? (in /usr/bin/gbx3) ==2281== by 0x807455F: ??? (in /usr/bin/gbx3) ==2281== by 0x8061799: ??? (in /usr/bin/gbx3) ==2281== by 0x807B8DC: ??? (in /usr/bin/gbx3) ==2281== by 0x805146E: ??? (in /usr/bin/gbx3) ==2281== by 0x80658F5: ??? (in /usr/bin/gbx3) ==2281== by 0x8065E4F: ??? (in /usr/bin/gbx3) ==2281== by 0x51F7611: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DA0E9: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x51DD2DD: ??? (in /usr/lib/gambas3/gb.gtk.so.0.0.0) ==2281== by 0x58FB242: g_cclosure_marshal_VOID__VOIDv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F9726: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5912A28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5913452: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x530B219: gtk_button_clicked (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x530C62F: ??? (in /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10) ==2281== by 0x58FB242: g_cclosure_marshal_VOID__VOIDv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F7DB6: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x58F9726: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5912A28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x5913452: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3200.3) ==2281== by 0x449A08F: ??? ==2281== If you believe this happened as a result of a stack ==2281== overflow in your program's main thread (unlikely but ==2281== possible), you can try to increase the size of the ==2281== main thread stack using the --main-stacksize= flag. ==2281== The main thread stack size used in this run was 8388608. ==2281== ==2281== HEAP SUMMARY: ==2281== in use at exit: 1,196,499 bytes in 8,489 blocks ==2281== total heap usage: 30,425 allocs, 21,936 frees, 3,447,388 bytes allocated ==2281== ==2281== LEAK SUMMARY: ==2281== definitely lost: 2,216 bytes in 8 blocks ==2281== indirectly lost: 7,460 bytes in 373 blocks ==2281== possibly lost: 787,477 bytes in 3,512 blocks ==2281== still reachable: 399,346 bytes in 4,596 blocks ==2281== suppressed: 0 bytes in 0 blocks ==2281== Rerun with --leak-check=full to see details of leaked memory ==2281== ==2281== For counts of detected and suppressed errors, rerun with: -v ==2281== Use --track-origins=yes to see where uninitialised values come from ==2281== ERROR SUMMARY: 32 errors from 16 contexts (suppressed: 0 from 0) From willy at ...2734... Sun Sep 9 15:02:45 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 09 Sep 2012 15:02:45 +0200 Subject: [Gambas-user] Signal 11 in revision #5142 In-Reply-To: <1347194922.2129.2.camel@...2735...> References: <1347155405.5794.7.camel@...2735...> <504C570F.9090505@...1...> <1347194922.2129.2.camel@...2735...> Message-ID: <1347195765.2129.5.camel@...2735...> On zo, 2012-09-09 at 14:48 +0200, Willy Raets wrote: > On zo, 2012-09-09 at 10:45 +0200, Beno?t Minisini wrote: > > Le 09/09/2012 03:50, Willy Raets a ?crit : > > > Discovered this testing my library and isolated the problem. > > > Next made this test application and run some tests. > > > > > > I attached a source code archive. > > > Just open in IDE and run, then click on button Signal 11 to generate the > > > Signal 11 error. > > > > > > On 3.2.1 it runs > > > On 3.2.90 #5071 it runs > > > On 3.2.90 #5142 I get a signal 11 > > > > > > Willy > > > > > > > I have no crash at all. Which version of QT and/or GTK+ do you use? Can > > you send me a gdb backtrace/valgrind output of the crash? > > Attached: > - SystemInformation.txt -> desktop is LXDE (says unknown) Note1: It is a Lubuntu 12.04 - Openbox - LXDE, just so you know. Note2: I just update to sebikul's Gambas Daily Builds PPA, 3.2.90-0 +svn4039~precise1 (revision #5144) rerun the project but the problem persist. Willy From willy at ...2734... Sun Sep 9 15:08:32 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 09 Sep 2012 15:08:32 +0200 Subject: [Gambas-user] gb3: The program has returned the value: 1 In-Reply-To: <1347182794.7951.7.camel@...2688...> References: <504AE027.3060805@...1887...> <1347182794.7951.7.camel@...2688...> Message-ID: <1347196112.2129.10.camel@...2735...> On zo, 2012-09-09 at 18:56 +0930, Bruce wrote: > On Sat, 2012-09-08 at 02:05 -0400, Kevin Fishburne wrote: > > I get this when running my program: > > > > 01:59:43.168 - Initializing network: > > 01:59:43.169 - Server Mode: False, Server IP Address: 192.168.0.110, > > Server Port: 12345 > > 01:59:43.169 - Initializing rendering engine: > > X Error of failed request: BadWindow (invalid Window parameter) > > Major opcode of failed request: 3 (X_GetWindowAttributes) > > Resource id in failed request: 0x1e0008d > > Serial number of failed request: 54 > > Current serial number in output stream: 55 > > > > What's strange is that it works fine when running a compiled executable > > and only shows the error when running in the IDE. This occurred after > > moving several procedures to their own module and renaming all > > associated variables and many procedures (organizational modifications). > > > > The line where it halts is ".Show()": > > > > ' Create client's screen. > > With Screen > > .FullScreen = sFullscreen > > .Width = sWidth > > .Height = sHeight > > .Show() > > End With > > > > Any ideas? > > > > Benoit, > > I am getting similar experiences with some older code that use to "just > work". Same here, just took some code from a project and placed in project Signal11 (see other post). Nothing wrong in the code, but still it crashes. Works fine on older revision #5071 (PPA Kendek) and on 3.2.1 > The executable, either compiled recently or a version that was compiled > some time ago works properly. > However, running these projects in the IDE just fails with a sig11, no > trace, no information. Glad I'm not the only one experiencing these kind of strange problems with a signal11 in the end :) > I have so far not managed to categorise anything that is causing the > fail. > > The only thing I have seen, with Willy's example is that the fail (in > his case) occurs on the Exec call. Even running the IDE within the IDE > gives no clue as to what is happening. Just send a valgrind output in another topic, hope this gives you guys some insight on what is happening. > > The only thing I can suggest is that the debugger is possibly the > culprit, and that is based on pure conjecture. > > hth > Bruce > Willy From willy at ...2734... Sun Sep 9 15:25:47 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 09 Sep 2012 15:25:47 +0200 Subject: [Gambas-user] Signal 11 in revision #5142 In-Reply-To: <1347195765.2129.5.camel@...2735...> References: <1347155405.5794.7.camel@...2735...> <504C570F.9090505@...1...> <1347194922.2129.2.camel@...2735...> <1347195765.2129.5.camel@...2735...> Message-ID: <1347197147.2129.18.camel@...2735...> On zo, 2012-09-09 at 15:02 +0200, Willy Raets wrote: > On zo, 2012-09-09 at 14:48 +0200, Willy Raets wrote: > > On zo, 2012-09-09 at 10:45 +0200, Beno?t Minisini wrote: > > > Le 09/09/2012 03:50, Willy Raets a ?crit : > > > > Discovered this testing my library and isolated the problem. > > > > Next made this test application and run some tests. > > > > > > > > I attached a source code archive. > > > > Just open in IDE and run, then click on button Signal 11 to generate the > > > > Signal 11 error. > > > > > > > > On 3.2.1 it runs > > > > On 3.2.90 #5071 it runs > > > > On 3.2.90 #5142 I get a signal 11 > > > > > > > > Willy > > > > > > > > > > I have no crash at all. Which version of QT and/or GTK+ do you use? Can > > > you send me a gdb backtrace/valgrind output of the crash? > > > > Attached: > > - SystemInformation.txt -> desktop is LXDE (says unknown) > > Note1: It is a Lubuntu 12.04 - Openbox - LXDE, just so you know. > > Note2: I just update to sebikul's Gambas Daily Builds PPA, 3.2.90-0 > +svn4039~precise1 (revision #5144) rerun the project but the problem > persist. > I have further isolated the problem. Try Exec["kwin", "--version"] -> signal 11 -> I have no kwin on my system Try Exec["metatcity", "--version"] -> signal 11 -> I have no metacity on my system Try Exec["openbox", "--version"] -> runs without signal 11 as I have openbox installed on my system So the Try seems to signal 11 when it can't find what it should execute. I added two buttons to signal11 project. One checks for kwin, one for metacity and one for openbox. If you are for example on KDE, kwin will work but then try openbox, should give you a signal 11 Project source code archive attached (version 0.0.2) -------------- next part -------------- A non-text attachment was scrubbed... Name: Signal11-0.0.2.tar.gz Type: application/x-compressed-tar Size: 9586 bytes Desc: not available URL: From rolf.frogs at ...221... Sun Sep 9 15:37:39 2012 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Sun, 9 Sep 2012 15:37:39 +0200 Subject: [Gambas-user] Problem with rev. 5144 Message-ID: <201209091537.45311.rolf.frogs@...221...> Hello Bonoit, I installed revision 5144 on Ubuntu 10.04 and get no real error (see attached build-log) But when try to open an existing project (just click on menuentry "open"), I get a fatal error (see attached screenshot). Also the picture in the left top corner seems not to be completly shown. Below the Gambas window you can see the terminal window, from which I start the IDE. Hope that helps to find the problem. Rolf. -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-error.png.zip Type: application/x-zip Size: 119959 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: buildGambas.log.zip Type: application/x-zip Size: 21943 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From gambas at ...1... Sun Sep 9 19:30:17 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Sep 2012 19:30:17 +0200 Subject: [Gambas-user] Problem with rev. 5144 In-Reply-To: <201209091537.45311.rolf.frogs@...221...> References: <201209091537.45311.rolf.frogs@...221...> Message-ID: <504CD229.2030601@...1...> Le 09/09/2012 15:37, Rolf Schmidt a ?crit : > Hello Bonoit, > > I installed revision 5144 on Ubuntu 10.04 and get no real error (see attached > build-log) > But when try to open an existing project (just click on menuentry "open"), I > get a fatal error (see attached screenshot). > Also the picture in the left top corner seems not to be completly shown. > Below the Gambas window you can see the terminal window, from which I start > the IDE. > > Hope that helps to find the problem. > Rolf. > It is better with revision #5146? -- Beno?t Minisini From karl.reinl at ...9... Sun Sep 9 23:31:26 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 09 Sep 2012 23:31:26 +0200 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer Message-ID: <1347226286.9447.17.camel@...40...> Salut Beno?t, I look for a way to send a pdf or ps document to a printer, without passing by a pdf/ps viewer. Like I would do it with lpr/gtklp. But I would like to use the printer.Configure() dialogue. Do you see a possibility for that. -- Amicalement Charlie From rterry at ...1823... Mon Sep 10 00:48:53 2012 From: rterry at ...1823... (Richard Terry) Date: Mon, 10 Sep 2012 08:48:53 +1000 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: <1347226286.9447.17.camel@...40...> References: <1347226286.9447.17.camel@...40...> Message-ID: <504D1CD5.2040707@...1823...> Karl Reinl wrote: > Salut Beno?t, > > I look for a way to send a pdf or ps document to a printer, without > passing by a pdf/ps viewer. > Like I would do it with lpr/gtklp. > But I would like to use the printer.Configure() dialogue. > Do you see a possibility for that. > I use this in my medical records program to send the pdf directly to the printer - just ignore the bits you don't need. Regarding the printer dialog, not sure - I installed a samsung laser on my machine last week and all of a sudden much to my annoyance my program started to present a popup printer dialog. When I investigated it the linux common printing stuff I'd installed had symlinked their lpr (which presumably contained the dialog code) to the original lpr. When I changed it back the dialog disappeared. Regards richard Public Sub Print_PDF(pdf_path As String, Optional printertype As Integer = const.Paper_Plain, number_copies As Integer = 1) Dim cmd As String If pdf_path = "" Then Return Inc Application.Busy cmd = modUtil.FindProgram("lpr", "cups") If IsNull(cmd) Then Return pdf_path = Replace$(pdf_path, " ", "\\ ") pdf_path = "'" & pdf_path & "'" 'fixes baulking on odd instring characters eg ( or ) cmd &= " " & GetOption(printertype)!lpr & " -# " & number_copies & " " & pdf_path Shell cmd Wait Dec Application.Busy End Private Function GetOption(printertype As Integer) As Collection Dim config_printer As String Dim printername As String Dim coll As New Collection Dim printer_options As String Dim i As String config_printer = "Default" Try config_printer = FMain.GetSelectedPrinter() If config_printer = "" Then config_printer = "Default" If config_printer <> "Default" Then FMain.ResetPrinters() Return Subst$("-P &1", config_printer) Endif Select Case printertype Case const.Paper_Script printername = "script" Case const.Paper_Plain printername = "plain" Case const.Paper_Request printername = "request" Case const.Paper_Long printername = "long" End Select config_printer = Settings[Subst$("Printers/&1", printername), "Default"] printer_options = Settings[Subst$("Printers/&1_options", printername), "Default"] If printer_options <> "Default" Then coll = SplitOptions(printer_options) Endif If config_printer <> "Default" Then coll!lpr &= Subst$(" -P &1", config_printer) Endif Return coll End From willy at ...2734... Mon Sep 10 02:14:38 2012 From: willy at ...2734... (Willy Raets) Date: Mon, 10 Sep 2012 02:14:38 +0200 Subject: [Gambas-user] Signal 11 in revision #5142 In-Reply-To: <1347197147.2129.18.camel@...2735...> References: <1347155405.5794.7.camel@...2735...> <504C570F.9090505@...1...> <1347194922.2129.2.camel@...2735...> <1347195765.2129.5.camel@...2735...> <1347197147.2129.18.camel@...2735...> Message-ID: <1347236078.2157.3.camel@...2735...> On zo, 2012-09-09 at 15:25 +0200, Willy Raets wrote: > On zo, 2012-09-09 at 15:02 +0200, Willy Raets wrote: > > On zo, 2012-09-09 at 14:48 +0200, Willy Raets wrote: > > > On zo, 2012-09-09 at 10:45 +0200, Beno?t Minisini wrote: > > > > Le 09/09/2012 03:50, Willy Raets a ?crit : > > > > > Discovered this testing my library and isolated the problem. > > > > > Next made this test application and run some tests. > > > > > > > > > > I attached a source code archive. > > > > > Just open in IDE and run, then click on button Signal 11 to generate the > > > > > Signal 11 error. > > > > > > > > > > On 3.2.1 it runs > > > > > On 3.2.90 #5071 it runs > > > > > On 3.2.90 #5142 I get a signal 11 > > > > > > > > > > Willy > > > > > > > > > > > > > I have no crash at all. Which version of QT and/or GTK+ do you use? Can > > > > you send me a gdb backtrace/valgrind output of the crash? > > > > > > Attached: > > > - SystemInformation.txt -> desktop is LXDE (says unknown) > > > > Note1: It is a Lubuntu 12.04 - Openbox - LXDE, just so you know. > > > > Note2: I just update to sebikul's Gambas Daily Builds PPA, 3.2.90-0 > > +svn4039~precise1 (revision #5144) rerun the project but the problem > > persist. > > > > I have further isolated the problem. > Try Exec["kwin", "--version"] -> signal 11 -> I have no kwin on my > system > Try Exec["metatcity", "--version"] -> signal 11 -> I have no metacity > on my system > Try Exec["openbox", "--version"] -> runs without signal 11 as I have > openbox installed on my system > > So the Try seems to signal 11 when it can't find what it should execute. > I added two buttons to signal11 project. > > One checks for kwin, one for metacity and one for openbox. > If you are for example on KDE, kwin will work but then try openbox, > should give you a signal 11 > > Project source code archive attached (version 0.0.2) > Tested with rev# 5146, no more signal 11. All works fine now. Thanks Beno?t, Willy From richard.j.walker at ...247... Mon Sep 10 02:58:53 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 10 Sep 2012 01:58:53 +0100 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: <1347183135.7951.14.camel@...2688...> References: <1346934785.10225.5.camel@...2688...> <50489C91.2040602@...1...> <50494A9B.9070103@...1...> <504BD7DF.5060307@...1...> <1347183135.7951.14.camel@...2688...> Message-ID: Sorry Bruce, it appeared during a long series of searches for mimeapps.list and mimeinfo.cache information. I tried to retrace my footsteps and here is one link which I definitely visited (though it doesn't look too familiar today) which says the same thing... http://library.gnome.org/admin/system-admin-guide/stable/mimetypes-registering.html.en The salient point is in para 2: [update_desktop_database]...will create a mimeinfo.cache file in the applications subdirectory for each directory in $XDG_DATA_HOME:$XDG_DATA_DIRS. Perhaps a little more persuasive is the relevant man page: http://www.manpagez.com/man/1/update-desktop-database/ Richard From bbruen at ...2308... Mon Sep 10 08:26:07 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 10 Sep 2012 15:56:07 +0930 Subject: [Gambas-user] More Sig11 problems Message-ID: <1347258368.7976.0.camel@...2688...> It looks like my signal 11 problems in the IDE is not related to Willy's. I have narrowed it down though and it's reproduceable here even with a project containing just an empty form. If I set the IDE Project Properties environment GB_GUI to anything but gb.qt4 then running the project crashes invariably with a sig11. In fact, if I remove GB_GUI=gb.qt4 from my login environment all gambas executables crash on loading with the only indication being "Segmentation fault" visible if they are run in a terminal. (This is a gdm/openbox/LXDE system) So something appears to have happened to my gb.gtk component, but what? It compiles and links cleanly. I have tried changing icon themes and openbox themes. All gnome apps run correctly. Next steps? tia Bruce From rolf.frogs at ...221... Mon Sep 10 09:36:54 2012 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Mon, 10 Sep 2012 09:36:54 +0200 (CEST) Subject: [Gambas-user] Problem with rev. 5144 In-Reply-To: <504CD229.2030601@...1...> References: <201209091537.45311.rolf.frogs@...221...> <504CD229.2030601@...1...> Message-ID: Hi Beno?t > It is better with revision #5146? I checked out newest Version (5151) this morning and the problem has gone. Thank you Rolf From Karl.Reinl at ...2345... Mon Sep 10 10:35:26 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 10 Sep 2012 10:35:26 +0200 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: <504D1CD5.2040707@...1823...> References: <1347226286.9447.17.camel@...40...> <504D1CD5.2040707@...1823...> Message-ID: <1347266126.2298.32.camel@...40...> Am Montag, den 10.09.2012, 08:48 +1000 schrieb Richard Terry: > Karl Reinl wrote: > > Salut Beno?t, > > > > I look for a way to send a pdf or ps document to a printer, without > > passing by a pdf/ps viewer. > > Like I would do it with lpr/gtklp. > > But I would like to use the printer.Configure() dialogue. > > Do you see a possibility for that. > > > I use this in my medical records program to send the pdf directly to the > printer - just ignore the bits you don't need. Regarding the printer > dialog, not sure - I installed a samsung laser on my machine last week > and all of a sudden much to my annoyance my program started to present a > popup printer dialog. When I investigated it the linux common printing > stuff I'd installed had symlinked their lpr (which file presumably contained > the dialog code) to the original lpr. When I changed it back the dialog > disappeared. > > Regards > > richard > Salut Richard, thank you, yes I do it in a similar way, but I want to avoid all that code, because the printer object do and control that. What he needs is the possibility to send a file with the Printer.Print() function to the printer -- Amicalement Charlie From baciotti at ...626... Mon Sep 10 13:36:09 2012 From: baciotti at ...626... (Tiago Baciotti Moreira) Date: Mon, 10 Sep 2012 08:36:09 -0300 Subject: [Gambas-user] Modal Form Message-ID: Hello, This is my first post here ;-) My name is Tiago Baciotti Moreira and I am a Brazilian user of Gambas. As an old VB 4.0/5/6 developer, I am very satisfied with Gambas. I researched another options (like RealBasic and Lazarus) but I prefered Gambas I began to write a simple management program in Gambas and it is about 60% finished write now. I made all the CRUD and I am just making the last touches on it. The next step is to make the reports and it seems to be easy. So, I have a simple question: What am I doing wrong about MODAL forms? I have an Main Form and I call a "search" form with frmPesquisa.ShowModal. The problem is that it does not show as modal, because I can reach and click buttons from the main window. My intent is to not allow the user goes back to the main window without select something first. Thank you very much, Tiago [System] OperatingSystem=Linux Kernel=3.2.0-29-generic Architecture=i686 Memory=3578560 kB DistributionVendor=LinuxMint DistributionRelease="Linux Mint 13 Maya" Desktop=Unknown [Gambas 3] Version=3.2.1 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 -- :: Lista Sistemas: http://goo.gl/xnSog ?Contos de Fadas s?o a pura verdade: n?o porque nos contam que os drag?es existem, mas porque nos contam que eles podem ser vencidos. (G. K. Chesterton)? From gambas.fr at ...626... Mon Sep 10 13:44:55 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 10 Sep 2012 13:44:55 +0200 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: <1347266126.2298.32.camel@...40...> References: <1347226286.9447.17.camel@...40...> <504D1CD5.2040707@...1823...> <1347266126.2298.32.camel@...40...> Message-ID: I think you can directly do it with printer object, and the gb.PDF component... It's quite simple. If you want I can do an example Le 10 sept. 2012 10:37, "Charlie Reinl" a ?crit : > Am Montag, den 10.09.2012, 08:48 +1000 schrieb Richard Terry: > > Karl Reinl wrote: > > > Salut Beno?t, > > > > > > I look for a way to send a pdf or ps document to a printer, without > > > passing by a pdf/ps viewer. > > > Like I would do it with lpr/gtklp. > > > But I would like to use the printer.Configure() dialogue. > > > Do you see a possibility for that. > > > > > I use this in my medical records program to send the pdf directly to the > > printer - just ignore the bits you don't need. Regarding the printer > > dialog, not sure - I installed a samsung laser on my machine last week > > and all of a sudden much to my annoyance my program started to present a > > popup printer dialog. When I investigated it the linux common printing > > stuff I'd installed had symlinked their lpr (which file presumably > contained > > the dialog code) to the original lpr. When I changed it back the dialog > > disappeared. > > > > Regards > > > > richard > > > > Salut Richard, > > thank you, > yes I do it in a similar way, but I want to avoid all that code, because > the printer object do and control that. > What he needs is the possibility to send a file with the Printer.Print() > function to the printer > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Sep 10 14:08:46 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Sep 2012 14:08:46 +0200 Subject: [Gambas-user] More Sig11 problems In-Reply-To: <1347258368.7976.0.camel@...2688...> References: <1347258368.7976.0.camel@...2688...> Message-ID: <504DD84E.5070707@...1...> Le 10/09/2012 08:26, Bruce a ?crit : > It looks like my signal 11 problems in the IDE is not related to > Willy's. I have narrowed it down though and it's reproduceable here > even with a project containing just an empty form. > > If I set the IDE Project Properties environment GB_GUI to anything but > gb.qt4 then running the project crashes invariably with a sig11. In > fact, if I remove GB_GUI=gb.qt4 from my login environment all gambas > executables crash on loading with the only indication being > "Segmentation fault" visible if they are run in a terminal. > > (This is a gdm/openbox/LXDE system) > > So something appears to have happened to my gb.gtk component, but what? > It compiles and links cleanly. > I have tried changing icon themes and openbox themes. > All gnome apps run correctly. > > Next steps? > > tia > Bruce > Please proceed as explained in the "Reporting a problem" page on the website, section #5 and #6. And send me the gdb backtrace and/or the valgrind output. Please compile Gambas with no optimization before doing that. To compile Gambas with no optimization, you just have to do: make "CFLAGS=-O0 -g" "CXXFLAGS=-O0 -g" Instead of just doing 'make'. Thanks. -- Beno?t Minisini From Karl.Reinl at ...2345... Mon Sep 10 14:09:55 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 10 Sep 2012 14:09:55 +0200 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: References: <1347226286.9447.17.camel@...40...> <504D1CD5.2040707@...1823...> <1347266126.2298.32.camel@...40...> Message-ID: <1347278995.2285.15.camel@...40...> Am Montag, den 10.09.2012, 13:44 +0200 schrieb Fabien Bodard: > I think you can directly do it with printer object, and the gb.PDF > component... It's quite simple. > > If you want I can do an example Salut Fabien, my problem is not making a PDF. I have .pdf which are archived copies of printed documents. And these files, if needed I'd like to send them to the printer by using all the eased givens of the gambas printer object. Do you think gb.PDF can do that ? -- Amicalement Charlie From gambas at ...1... Mon Sep 10 14:09:30 2012 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Sep 2012 14:09:30 +0200 Subject: [Gambas-user] Modal Form In-Reply-To: References: Message-ID: <504DD87A.7040708@...1...> Le 10/09/2012 13:36, Tiago Baciotti Moreira a ?crit : > Hello, > > This is my first post here ;-) > > My name is Tiago Baciotti Moreira and I am a Brazilian user of Gambas. As > an old VB 4.0/5/6 developer, I am very satisfied with Gambas. I researched > another options (like RealBasic and Lazarus) but I prefered Gambas > > I began to write a simple management program in Gambas and it is about 60% > finished write now. I made all the CRUD and I am just making the last > touches on it. > > The next step is to make the reports and it seems to be easy. > > So, I have a simple question: What am I doing wrong about MODAL forms? > > I have an Main Form and I call a "search" form with frmPesquisa.ShowModal. > > The problem is that it does not show as modal, because I can reach and > click buttons from the main window. My intent is to not allow the user goes > back to the main window without select something first. > > Thank you very much, > > Tiago > > [System] > OperatingSystem=Linux > Kernel=3.2.0-29-generic > Architecture=i686 > Memory=3578560 kB > DistributionVendor=LinuxMint > DistributionRelease="Linux Mint 13 Maya" > Desktop=Unknown > > [Gambas 3] > Version=3.2.1 > Path=/usr/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.8.1 > GTK+=libgtk-x11-2.0.so.0.2400.10 > Can you provide a project that reproduces the problem? -- Beno?t Minisini From baciotti at ...626... Mon Sep 10 14:59:00 2012 From: baciotti at ...626... (Tiago Baciotti Moreira) Date: Mon, 10 Sep 2012 09:59:00 -0300 Subject: [Gambas-user] Modal Form In-Reply-To: <504DD87A.7040708@...1...> References: <504DD87A.7040708@...1...> Message-ID: Hello, Thanks for quick answer! Attached is a sample project and also some prints of the problem! Thank you very much, Tiago On Mon, Sep 10, 2012 at 9:09 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 10/09/2012 13:36, Tiago Baciotti Moreira a ?crit : > > Hello, >> >> This is my first post here ;-) >> >> My name is Tiago Baciotti Moreira and I am a Brazilian user of Gambas. As >> an old VB 4.0/5/6 developer, I am very satisfied with Gambas. I researched >> another options (like RealBasic and Lazarus) but I prefered Gambas >> >> I began to write a simple management program in Gambas and it is about 60% >> finished write now. I made all the CRUD and I am just making the last >> touches on it. >> >> The next step is to make the reports and it seems to be easy. >> >> So, I have a simple question: What am I doing wrong about MODAL forms? >> >> I have an Main Form and I call a "search" form with frmPesquisa.ShowModal. >> >> The problem is that it does not show as modal, because I can reach and >> click buttons from the main window. My intent is to not allow the user >> goes >> back to the main window without select something first. >> >> Thank you very much, >> >> Tiago >> >> [System] >> OperatingSystem=Linux >> Kernel=3.2.0-29-generic >> Architecture=i686 >> Memory=3578560 kB >> DistributionVendor=LinuxMint >> DistributionRelease="Linux Mint 13 Maya" >> Desktop=Unknown >> >> [Gambas 3] >> Version=3.2.1 >> Path=/usr/bin/gbx3 >> >> [Libraries] >> Qt4=libQtCore.so.4.8.1 >> GTK+=libgtk-x11-2.0.so.0.2400.**10 >> >> > Can you provide a project that reproduces the problem? > > -- > Beno?t Minisini > -- :: Lista Sistemas: http://goo.gl/xnSog ?Contos de Fadas s?o a pura verdade: n?o porque nos contam que os drag?es existem, mas porque nos contam que eles podem ser vencidos. (G. K. Chesterton)? -------------- next part -------------- A non-text attachment was scrubbed... Name: Captura_de_tela-2.png Type: image/png Size: 66958 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Captura_de_tela-1.png Type: image/png Size: 68340 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Captura_de_tela.png Type: image/png Size: 96680 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TesteWorkspace.tar.gz Type: application/x-gzip Size: 5938 bytes Desc: not available URL: From gambas.fr at ...626... Mon Sep 10 15:37:15 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 10 Sep 2012 15:37:15 +0200 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: <1347278995.2285.15.camel@...40...> References: <1347226286.9447.17.camel@...40...> <504D1CD5.2040707@...1823...> <1347266126.2298.32.camel@...40...> <1347278995.2285.15.camel@...40...> Message-ID: Yes i'm quite s?re of that as gb.PDF generate an image for each page... You know the number of page and the printer resolution.. Paint.image(0,0,..... Le 10 sept. 2012 14:10, "Charlie Reinl" a ?crit : > Am Montag, den 10.09.2012, 13:44 +0200 schrieb Fabien Bodard: > > I think you can directly do it with printer object, and the gb.PDF > > component... It's quite simple. > > > > If you want I can do an example > > Salut Fabien, > > my problem is not making a PDF. > I have .pdf which are archived copies of printed documents. > And these files, if needed I'd like to send them to the printer by using > all the eased givens of the gambas printer object. > > Do you think gb.PDF can do that ? > > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Sep 10 15:47:52 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 10 Sep 2012 15:47:52 +0200 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: <1347266126.2298.32.camel@...40...> References: <1347226286.9447.17.camel@...40...> <504D1CD5.2040707@...1823...> <1347266126.2298.32.camel@...40...> Message-ID: <504DEF88.6040409@...1...> Le 10/09/2012 10:35, Charlie Reinl a ?crit : > > Salut Richard, > > thank you, > yes I do it in a similar way, but I want to avoid all that code, because > the printer object do and control that. > What he needs is the possibility to send a file with the Printer.Print() > function to the printer > Technically GTK+ allows to send a file directly to a printer, but not QT4. Moreover, it does not work all the time: some printers can process PDF files, some cannot. It depends on the driver apparently. So maybe there is a command-line tool that allows to send the PDF directly to the printer, but then that command-line tool must take the configuration as arguments. Otherwise there is no solution to your problem. Regards, -- Beno?t Minisini From baciotti at ...626... Mon Sep 10 15:54:39 2012 From: baciotti at ...626... (Tiago Baciotti Moreira) Date: Mon, 10 Sep 2012 10:54:39 -0300 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: <504DEF88.6040409@...1...> References: <1347226286.9447.17.camel@...40...> <504D1CD5.2040707@...1823...> <1347266126.2298.32.camel@...40...> <504DEF88.6040409@...1...> Message-ID: Hi, In the past I used something alike to pint a pdf on a shell script. I do not remember excatly what I did, but I found an link that may help: http://stepanoff.org/wordpress/2007/02/02/how-to-print-pdf-directly-to-the-printer/ Tiago On Mon, Sep 10, 2012 at 10:47 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 10/09/2012 10:35, Charlie Reinl a ?crit : > > > > Salut Richard, > > > > thank you, > > yes I do it in a similar way, but I want to avoid all that code, because > > the printer object do and control that. > > What he needs is the possibility to send a file with the Printer.Print() > > function to the printer > > > > Technically GTK+ allows to send a file directly to a printer, but not > QT4. Moreover, it does not work all the time: some printers can process > PDF files, some cannot. It depends on the driver apparently. > > So maybe there is a command-line tool that allows to send the PDF > directly to the printer, but then that command-line tool must take the > configuration as arguments. Otherwise there is no solution to your problem. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- :: Lista Sistemas: http://goo.gl/xnSog ?Contos de Fadas s?o a pura verdade: n?o porque nos contam que os drag?es existem, mas porque nos contam que eles podem ser vencidos. (G. K. Chesterton)? From gambas at ...1... Mon Sep 10 15:57:44 2012 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Sep 2012 15:57:44 +0200 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: References: <1347226286.9447.17.camel@...40...> <504D1CD5.2040707@...1823...> <1347266126.2298.32.camel@...40...> <504DEF88.6040409@...1...> Message-ID: <504DF1D8.2050807@...1...> Le 10/09/2012 15:54, Tiago Baciotti Moreira a ?crit : > Hi, > > In the past I used something alike to pint a pdf on a shell script. I do > not remember excatly what I did, but I found an link that may help: > > > http://stepanoff.org/wordpress/2007/02/02/how-to-print-pdf-directly-to-the-printer/ > > Tiago > To convert a pdf to postcript, you can use the "pdf2ps" command-line tool. -- Beno?t Minisini From jussi.lahtinen at ...626... Mon Sep 10 17:17:18 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 10 Sep 2012 18:17:18 +0300 Subject: [Gambas-user] Modal Form In-Reply-To: References: Message-ID: I can confirm this problem with Gambas 3 rev 5152 @ Xubuntu 12.04 64 bit. Problem applies only to GTK+, Qt4 works fine. [System] OperatingSystem=Linux Kernel=3.2.0-30-generic Architecture=x86_64 Memory=4049136 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Xfce [Gambas 3] Version=3.3.0 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 Jussi On Mon, Sep 10, 2012 at 2:36 PM, Tiago Baciotti Moreira wrote: > Hello, > > This is my first post here ;-) > > My name is Tiago Baciotti Moreira and I am a Brazilian user of Gambas. As > an old VB 4.0/5/6 developer, I am very satisfied with Gambas. I researched > another options (like RealBasic and Lazarus) but I prefered Gambas > > I began to write a simple management program in Gambas and it is about 60% > finished write now. I made all the CRUD and I am just making the last > touches on it. > > The next step is to make the reports and it seems to be easy. > > So, I have a simple question: What am I doing wrong about MODAL forms? > > I have an Main Form and I call a "search" form with frmPesquisa.ShowModal. > > The problem is that it does not show as modal, because I can reach and > click buttons from the main window. My intent is to not allow the user goes > back to the main window without select something first. > > Thank you very much, > > Tiago > > [System] > OperatingSystem=Linux > Kernel=3.2.0-29-generic > Architecture=i686 > Memory=3578560 kB > DistributionVendor=LinuxMint > DistributionRelease="Linux Mint 13 Maya" > Desktop=Unknown > > [Gambas 3] > Version=3.2.1 > Path=/usr/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.8.1 > GTK+=libgtk-x11-2.0.so.0.2400.10 > > -- > :: Lista Sistemas: http://goo.gl/xnSog > > ?Contos de Fadas s?o a pura verdade: n?o porque nos contam que os drag?es > existem, mas porque nos contam que eles podem ser vencidos. (G. K. > Chesterton)? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Sep 11 00:07:56 2012 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Sep 2012 00:07:56 +0200 Subject: [Gambas-user] Modal Form In-Reply-To: References: Message-ID: <504E64BC.5090600@...1...> Le 10/09/2012 17:17, Jussi Lahtinen a ?crit : > I can confirm this problem with Gambas 3 rev 5152 @ Xubuntu 12.04 64 bit. > Problem applies only to GTK+, Qt4 works fine. > > > [System] > > OperatingSystem=Linux > > Kernel=3.2.0-30-generic > > Architecture=x86_64 > > Memory=4049136 kB > > DistributionVendor=Ubuntu > > DistributionRelease="Ubuntu 12.04.1 LTS" > > Desktop=Xfce > > > [Gambas 3] > > Version=3.3.0 > > Path=/usr/local/bin/gbx3 > > > [Libraries] > > Qt4=libQtCore.so.4.8.1 > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > Jussi > > > > > On Mon, Sep 10, 2012 at 2:36 PM, Tiago Baciotti Moreira > wrote: > >> Hello, >> >> This is my first post here ;-) >> >> My name is Tiago Baciotti Moreira and I am a Brazilian user of Gambas. As >> an old VB 4.0/5/6 developer, I am very satisfied with Gambas. I researched >> another options (like RealBasic and Lazarus) but I prefered Gambas >> >> I began to write a simple management program in Gambas and it is about 60% >> finished write now. I made all the CRUD and I am just making the last >> touches on it. >> >> The next step is to make the reports and it seems to be easy. >> >> So, I have a simple question: What am I doing wrong about MODAL forms? >> >> I have an Main Form and I call a "search" form with frmPesquisa.ShowModal. >> >> The problem is that it does not show as modal, because I can reach and >> click buttons from the main window. My intent is to not allow the user goes >> back to the main window without select something first. >> >> Thank you very much, >> >> Tiago >> >> [System] >> OperatingSystem=Linux >> Kernel=3.2.0-29-generic >> Architecture=i686 >> Memory=3578560 kB >> DistributionVendor=LinuxMint >> DistributionRelease="Linux Mint 13 Maya" >> Desktop=Unknown >> >> [Gambas 3] >> Version=3.2.1 >> Path=/usr/bin/gbx3 >> >> [Libraries] >> Qt4=libQtCore.so.4.8.1 >> GTK+=libgtk-x11-2.0.so.0.2400.10 >> >> -- >> :: Lista Sistemas: http://goo.gl/xnSog >> >> ?Contos de Fadas s?o a pura verdade: n?o porque nos contam que os drag?es >> existem, mas porque nos contam que eles podem ser vencidos. (G. K. >> Chesterton)? >> gb.gtk ShowModal() method has been fixed in revision #5154. Moreover, now the dialog is correctly centered. Regards, -- Beno?t Minisini From willy at ...2734... Tue Sep 11 01:38:37 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 11 Sep 2012 01:38:37 +0200 Subject: [Gambas-user] DrawArea gtk versus qt4 problems rev. #5146 Message-ID: <1347320317.3607.4.camel@...2735...> This problem I discovered changing GUI component dependency of an application of mine from gtk to qt4 running Gambas 3.2.1 So I made a small example to replicate the problem and run it on rev#5146. Problem persist. How to replicate? Download source archive (made in rev# 5146, so it won't run on 3.2.1 or lower) and open in IDE. 1. Run the application to see what should be. 2. Now change component gb.gtk to gb.qt4 3. Run again and see what happens Bug in Gambas gt4 component or in qt4? * Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: DrawArea-gtk-qt4-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5322 bytes Desc: not available URL: From gambas at ...1... Tue Sep 11 01:49:28 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Sep 2012 01:49:28 +0200 Subject: [Gambas-user] DrawArea gtk versus qt4 problems rev. #5146 In-Reply-To: <1347320317.3607.4.camel@...2735...> References: <1347320317.3607.4.camel@...2735...> Message-ID: <504E7C88.3030401@...1...> Le 11/09/2012 01:38, Willy Raets a ?crit : > This problem I discovered changing GUI component dependency of an > application of mine from gtk to qt4 running Gambas 3.2.1 > > So I made a small example to replicate the problem and run it on > rev#5146. Problem persist. > > How to replicate? > Download source archive (made in rev# 5146, so it won't run on 3.2.1 or > lower) and open in IDE. > 1. Run the application to see what should be. > 2. Now change component gb.gtk to gb.qt4 > 3. Run again and see what happens > > Bug in Gambas gt4 component or in qt4? > > * Willy > > The Show event is officially raised after the window is visible, but apparently you cannot be sure with Qt. Try to do your animation the first time the Activate event is raised instead. -- Beno?t Minisini From willy at ...2734... Tue Sep 11 01:55:30 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 11 Sep 2012 01:55:30 +0200 Subject: [Gambas-user] DrawArea gtk versus qt4 problems rev. #5146 In-Reply-To: <504E7C88.3030401@...1...> References: <1347320317.3607.4.camel@...2735...> <504E7C88.3030401@...1...> Message-ID: <1347321330.4760.0.camel@...2735...> On di, 2012-09-11 at 01:49 +0200, Beno?t Minisini wrote: > Le 11/09/2012 01:38, Willy Raets a ?crit : > > The Show event is officially raised after the window is visible, but > apparently you cannot be sure with Qt. > > Try to do your animation the first time the Activate event is raised > instead. That worked for me :) Thanks, Willy From gambas at ...1... Tue Sep 11 01:59:00 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 11 Sep 2012 01:59:00 +0200 Subject: [Gambas-user] DrawArea gtk versus qt4 problems rev. #5146 In-Reply-To: <1347321330.4760.0.camel@...2735...> References: <1347320317.3607.4.camel@...2735...> <504E7C88.3030401@...1...> <1347321330.4760.0.camel@...2735...> Message-ID: <504E7EC4.4000401@...1...> Le 11/09/2012 01:55, Willy Raets a ?crit : > On di, 2012-09-11 at 01:49 +0200, Beno?t Minisini wrote: >> Le 11/09/2012 01:38, Willy Raets a ?crit : >> >> The Show event is officially raised after the window is visible, but >> apparently you cannot be sure with Qt. >> >> Try to do your animation the first time the Activate event is raised >> instead. > > That worked for me :) > > Thanks, > > Willy > > After having read the Qt source code, I can confirm that the Show event is raised *before* the window is shown, whereas with GTK+ the event is raised after X11 has notified that the window *has been* mapped. Weird... -- Beno?t Minisini From willy at ...2734... Tue Sep 11 02:33:41 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 11 Sep 2012 02:33:41 +0200 Subject: [Gambas-user] DrawArea gtk versus qt4 problems rev. #5146 In-Reply-To: <504E7EC4.4000401@...1...> References: <1347320317.3607.4.camel@...2735...> <504E7C88.3030401@...1...> <1347321330.4760.0.camel@...2735...> <504E7EC4.4000401@...1...> Message-ID: <1347323621.4760.1.camel@...2735...> On di, 2012-09-11 at 01:59 +0200, Beno?t Minisini wrote: > Le 11/09/2012 01:55, Willy Raets a ?crit : > > On di, 2012-09-11 at 01:49 +0200, Beno?t Minisini wrote: > >> Le 11/09/2012 01:38, Willy Raets a ?crit : > >> > >> The Show event is officially raised after the window is visible, but > >> apparently you cannot be sure with Qt. > >> > >> Try to do your animation the first time the Activate event is raised > >> instead. > > > > That worked for me :) > > > > Thanks, > > > > Willy > > > > > > After having read the Qt source code, I can confirm that the Show event > is raised *before* the window is shown, whereas with GTK+ the event is > raised after X11 has notified that the window *has been* mapped. > > Weird... > Weird but always good to know and remember :) Willy From baciotti at ...626... Tue Sep 11 13:02:10 2012 From: baciotti at ...626... (Tiago Baciotti Moreira) Date: Tue, 11 Sep 2012 08:02:10 -0300 Subject: [Gambas-user] Modal Form In-Reply-To: <504E64BC.5090600@...1...> References: <504E64BC.5090600@...1...> Message-ID: Hi, Thank you very much, The "oficial" versions (3.2.1 for example) are released on a 2 months basis? Is there a kind of schedule? Or the best way is download and compile once a month? Tiago On Mon, Sep 10, 2012 at 7:07 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 10/09/2012 17:17, Jussi Lahtinen a ?crit : > > I can confirm this problem with Gambas 3 rev 5152 @ Xubuntu 12.04 64 bit. > > Problem applies only to GTK+, Qt4 works fine. > > > > > > [System] > > > > OperatingSystem=Linux > > > > Kernel=3.2.0-30-generic > > > > Architecture=x86_64 > > > > Memory=4049136 kB > > > > DistributionVendor=Ubuntu > > > > DistributionRelease="Ubuntu 12.04.1 LTS" > > > > Desktop=Xfce > > > > > > [Gambas 3] > > > > Version=3.3.0 > > > > Path=/usr/local/bin/gbx3 > > > > > > [Libraries] > > > > Qt4=libQtCore.so.4.8.1 > > > > GTK+=libgtk-x11-2.0.so.0.2400.10 > > > > > > Jussi > > > > > > > > > > On Mon, Sep 10, 2012 at 2:36 PM, Tiago Baciotti Moreira > > wrote: > > > >> Hello, > >> > >> This is my first post here ;-) > >> > >> My name is Tiago Baciotti Moreira and I am a Brazilian user of Gambas. > As > >> an old VB 4.0/5/6 developer, I am very satisfied with Gambas. I > researched > >> another options (like RealBasic and Lazarus) but I prefered Gambas > >> > >> I began to write a simple management program in Gambas and it is about > 60% > >> finished write now. I made all the CRUD and I am just making the last > >> touches on it. > >> > >> The next step is to make the reports and it seems to be easy. > >> > >> So, I have a simple question: What am I doing wrong about MODAL forms? > >> > >> I have an Main Form and I call a "search" form with > frmPesquisa.ShowModal. > >> > >> The problem is that it does not show as modal, because I can reach and > >> click buttons from the main window. My intent is to not allow the user > goes > >> back to the main window without select something first. > >> > >> Thank you very much, > >> > >> Tiago > >> > >> [System] > >> OperatingSystem=Linux > >> Kernel=3.2.0-29-generic > >> Architecture=i686 > >> Memory=3578560 kB > >> DistributionVendor=LinuxMint > >> DistributionRelease="Linux Mint 13 Maya" > >> Desktop=Unknown > >> > >> [Gambas 3] > >> Version=3.2.1 > >> Path=/usr/bin/gbx3 > >> > >> [Libraries] > >> Qt4=libQtCore.so.4.8.1 > >> GTK+=libgtk-x11-2.0.so.0.2400.10 > >> > >> -- > >> :: Lista Sistemas: http://goo.gl/xnSog > >> > >> ?Contos de Fadas s?o a pura verdade: n?o porque nos contam que os > drag?es > >> existem, mas porque nos contam que eles podem ser vencidos. (G. K. > >> Chesterton)? > >> > > gb.gtk ShowModal() method has been fixed in revision #5154. Moreover, > now the dialog is correctly centered. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- :: Lista Sistemas: http://goo.gl/xnSog ?Contos de Fadas s?o a pura verdade: n?o porque nos contam que os drag?es existem, mas porque nos contam que eles podem ser vencidos. (G. K. Chesterton)? From bbruen at ...2308... Tue Sep 11 13:13:14 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 11 Sep 2012 20:43:14 +0930 Subject: [Gambas-user] Rev 5129+ gb.desktop In-Reply-To: References: <1346934785.10225.5.camel@...2688...> <50489C91.2040602@...1...> <50494A9B.9070103@...1...> <504BD7DF.5060307@...1...> <1347183135.7951.14.camel@...2688...> Message-ID: <1347361994.9581.4.camel@...2688...> On Mon, 2012-09-10 at 01:58 +0100, RICHARD WALKER wrote: > Sorry Bruce, it appeared during a long series of searches for > mimeapps.list and mimeinfo.cache information. I tried to retrace my > footsteps and here is one link which I definitely visited (though it > doesn't look too familiar today) which says the same thing... > http://library.gnome.org/admin/system-admin-guide/stable/mimetypes-registering.html.en > > The salient point is in para 2: > [update_desktop_database]...will create a mimeinfo.cache file in the > applications subdirectory for each directory in > $XDG_DATA_HOME:$XDG_DATA_DIRS. > > Perhaps a little more persuasive is the relevant man page: > > http://www.manpagez.com/man/1/update-desktop-database/ > > Richard Some interesting (?) stuff there. Bit busy, bbl Bruce From gambas at ...1... Tue Sep 11 13:19:09 2012 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Sep 2012 13:19:09 +0200 Subject: [Gambas-user] Modal Form In-Reply-To: References: <504E64BC.5090600@...1...> Message-ID: <504F1E2D.5090100@...1...> Le 11/09/2012 13:02, Tiago Baciotti Moreira a ?crit : > Hi, > > Thank you very much, > > The "oficial" versions (3.2.1 for example) are released on a 2 months > basis? Is there a kind of schedule? Or the best way is download and compile > once a month? > > Tiago > There is no schedule at the moment. I try to release when new stuff are stable enough, but it is difficult. Maybe it will be easier in the future? -- Beno?t Minisini From bbruen at ...2308... Tue Sep 11 14:36:45 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 11 Sep 2012 22:06:45 +0930 Subject: [Gambas-user] New IDE welcome screen Message-ID: <1347367005.9581.49.camel@...2688...> Far be it from me to complain, but isn't 17 seconds (seems like a week or two) for the Welcome screen to load with the odd 200 or so projects that I have opened in the last week, a bit tedious? I mean, it is quite beautiful and all that, but I am really only interested in todays and yesterdays. Oh and by the way, has anyone tried to open another project in a new window? Quite tired and getting conceivably emotional, Bruce From gambas at ...1... Tue Sep 11 18:35:13 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Sep 2012 18:35:13 +0200 Subject: [Gambas-user] New IDE welcome screen In-Reply-To: <1347367005.9581.49.camel@...2688...> References: <1347367005.9581.49.camel@...2688...> Message-ID: <504F6841.2070605@...1...> Le 11/09/2012 14:36, Bruce a ?crit : > Far be it from me to complain, but isn't 17 seconds (seems like a week > or two) for the Welcome screen to load with the odd 200 or so projects > that I have opened in the last week, a bit tedious? > > I mean, it is quite beautiful and all that, but I am really only > interested in todays and yesterdays. > > Oh and by the way, has anyone tried to open another project in a new > window? > > Quite tired and getting conceivably emotional, > Bruce > The maximum number of recent projects is 100. And it takes a few seconds on my computer to display the welcome screen. So I don't understand how it can takes 17 seconds on your machine: is it so slow? As for opening a project in another window, I have committed a fix for that. But I don't know if it fixes what you are talking about. Regards, -- Beno?t Minisini From gambas at ...2524... Tue Sep 11 19:41:50 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 11 Sep 2012 17:41:50 +0000 Subject: [Gambas-user] Issue 328 in gambas: Change the name of the control will lead to code error In-Reply-To: <2-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> <0-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-12479240519799727163-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 328 by benoit.m... at ...626...: Change the name of the control will lead to code error http://code.google.com/p/gambas/issues/detail?id=328 Sorry, but the code renaming only works inside the current form. It will not browse the entire project. From gambas at ...2524... Tue Sep 11 20:35:00 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 11 Sep 2012 18:35:00 +0000 Subject: [Gambas-user] Issue 327 in gambas: Setting me.fullscreen in Form_Open behaves differently in GTK and QT In-Reply-To: <0-6813199134517018827-11533991800416736958-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11533991800416736958-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11533991800416736958-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 327 by benoit.m... at ...626...: Setting me.fullscreen in Form_Open behaves differently in GTK and QT http://code.google.com/p/gambas/issues/detail?id=327 gb.qt4 was right, and gb.gtk was wrong. Setting FullScreen to TRUE made the window visible. It is fixed in revision #5157. From gambas at ...2524... Tue Sep 11 20:36:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 11 Sep 2012 18:36:10 +0000 Subject: [Gambas-user] Issue 321 in gambas: panel background color bleeds into buttons in GTK In-Reply-To: <1-6813199134517018827-7488548137302273925-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7488548137302273925-gambas=googlecode.com@...2524...> <0-6813199134517018827-7488548137302273925-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7488548137302273925-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Priority-Medium Priority-Low Comment #2 on issue 321 by benoit.m... at ...626...: panel background color bleeds into buttons in GTK http://code.google.com/p/gambas/issues/detail?id=321 (No comment was entered for this change.) From gambas at ...2524... Tue Sep 11 20:37:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 11 Sep 2012 18:37:10 +0000 Subject: [Gambas-user] Issue 325 in gambas: gb.gui can not be loaded on demand In-Reply-To: <1-6813199134517018827-5416489336304771172-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-5416489336304771172-gambas=googlecode.com@...2524...> <0-6813199134517018827-5416489336304771172-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-5416489336304771172-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Priority-Medium Priority-Low Comment #2 on issue 325 by benoit.m... at ...626...: gb.gui can not be loaded on demand http://code.google.com/p/gambas/issues/detail?id=325 (No comment was entered for this change.) From karl.reinl at ...9... Tue Sep 11 22:10:05 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 11 Sep 2012 22:10:05 +0200 Subject: [Gambas-user] qt4 do,gtk doesn't work Message-ID: <1347394205.2255.5.camel@...40...> Salut Beno?t, on qt4 do, on gtk doesn't work. [System] OperatingSystem=Linux Kernel=3.0.0-24-generic Architecture=i686 Memory=3098216 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome [Gambas 1] Version=gbx-1.0.17 Path=/usr/bin/gbx [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.3.0 last rev. [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TEST-0.0.1.tar.gz Type: application/x-compressed-tar Size: 6487 bytes Desc: not available URL: From gambas at ...1... Tue Sep 11 22:59:11 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Sep 2012 22:59:11 +0200 Subject: [Gambas-user] qt4 do,gtk doesn't work In-Reply-To: <1347394205.2255.5.camel@...40...> References: <1347394205.2255.5.camel@...40...> Message-ID: <504FA61F.8000307@...1...> Le 11/09/2012 22:10, Karl Reinl a ?crit : > Salut Beno?t, > > on qt4 do, on gtk doesn't work. > Indeed. It should be fixed in revision #5158. Regards, -- Beno?t Minisini From bbruen at ...2308... Wed Sep 12 03:35:49 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 12 Sep 2012 11:05:49 +0930 Subject: [Gambas-user] New IDE welcome screen In-Reply-To: <504F6841.2070605@...1...> References: <1347367005.9581.49.camel@...2688...> <504F6841.2070605@...1...> Message-ID: <1347413749.9581.55.camel@...2688...> On Tue, 2012-09-11 at 18:35 +0200, Beno?t Minisini wrote: > Le 11/09/2012 14:36, Bruce a ?crit : > > Far be it from me to complain, but isn't 17 seconds (seems like a week > > or two) for the Welcome screen to load with the odd 200 or so projects > > that I have opened in the last week, a bit tedious? > > > > I mean, it is quite beautiful and all that, but I am really only > > interested in todays and yesterdays. > > > > Oh and by the way, has anyone tried to open another project in a new > > window? > > > > Quite tired and getting conceivably emotional, > > Bruce > > > > The maximum number of recent projects is 100. And it takes a few seconds > on my computer to display the welcome screen. OK, I didn't count them :-) > > So I don't understand how it can takes 17 seconds on your machine: is it > so slow? No its not slow. I have now timed it properly and it is just over 17 seconds. Could it be that we use the project Properties Description field as a changelog and a lot of the projects have very long descriptions? By comparison the Examples list loads in under a second. > > As for opening a project in another window, I have committed a fix for > that. But I don't know if it fixes what you are talking about. OK, Will check. (It just didn't work, returning a message "Unable to find Gambas IDE executable in directory: /usr/local/bin") Bruce From gambas at ...1... Wed Sep 12 04:21:07 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 12 Sep 2012 04:21:07 +0200 Subject: [Gambas-user] New IDE welcome screen In-Reply-To: <1347413749.9581.55.camel@...2688...> References: <1347367005.9581.49.camel@...2688...> <504F6841.2070605@...1...> <1347413749.9581.55.camel@...2688...> Message-ID: <504FF193.7040509@...1...> Le 12/09/2012 03:35, Bruce a ?crit : >> The maximum number of recent projects is 100. And it takes a few seconds >> on my computer to display the welcome screen. > OK, I didn't count them :-) > >> >> So I don't understand how it can takes 17 seconds on your machine: is it >> so slow? > No its not slow. I have now timed it properly and it is just over 17 > seconds. Could it be that we use the project Properties Description > field as a changelog and a lot of the projects have very long > descriptions? By comparison the Examples list loads in under a second. > Maybe. To compute the height of a project list item, I have to compute the height of the description text according to the project item width. And font processing is *slow*. Just run the Gambas IDE from the Gambas IDE by enabling the profiler, and just display the welcome screen. You will see where the time is spent, and will tell me. Regards, -- Beno?t Minisini From gambas at ...1... Wed Sep 12 04:45:27 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 12 Sep 2012 04:45:27 +0200 Subject: [Gambas-user] New IDE welcome screen In-Reply-To: <504FF193.7040509@...1...> References: <1347367005.9581.49.camel@...2688...> <504F6841.2070605@...1...> <1347413749.9581.55.camel@...2688...> <504FF193.7040509@...1...> Message-ID: <504FF747.9030309@...1...> Le 12/09/2012 04:21, Beno?t Minisini a ?crit : > Le 12/09/2012 03:35, Bruce a ?crit : >>> The maximum number of recent projects is 100. And it takes a few seconds >>> on my computer to display the welcome screen. >> OK, I didn't count them :-) >> >>> >>> So I don't understand how it can takes 17 seconds on your machine: is it >>> so slow? >> No its not slow. I have now timed it properly and it is just over 17 >> seconds. Could it be that we use the project Properties Description >> field as a changelog and a lot of the projects have very long >> descriptions? By comparison the Examples list loads in under a second. >> > > Maybe. To compute the height of a project list item, I have to compute > the height of the description text according to the project item width. > And font processing is *slow*. > > Just run the Gambas IDE from the Gambas IDE by enabling the profiler, > and just display the welcome screen. You will see where the time is > spent, and will tell me. > > Regards, > Is it faster with revision #5159? -- Beno?t Minisini From bbruen at ...2308... Wed Sep 12 05:03:01 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 12 Sep 2012 12:33:01 +0930 Subject: [Gambas-user] New IDE welcome screen In-Reply-To: <504FF747.9030309@...1...> References: <1347367005.9581.49.camel@...2688...> <504F6841.2070605@...1...> <1347413749.9581.55.camel@...2688...> <504FF193.7040509@...1...> <504FF747.9030309@...1...> Message-ID: <1347418981.9581.59.camel@...2688...> On Wed, 2012-09-12 at 04:45 +0200, Beno??t Minisini wrote: > Is it faster with revision #5159? > Sorry Beno??t, Its hard to tell. I "fixed" the problem locally by editing my gambas3.conf file and removing all the recents. Here are the two profiles anyway. (Rev 5158 and 5159) regards Bruce -------------- next part -------------- [1] (CReportBrush.CReportBrush 56820 CE375 ) (CoordBox.CoordBox 237 CA ) (Editor.Editor 178 CA ) (addinmeta.addinmeta 96 C? ) (Param.param 78 C@ ) (Project.Project 41471 CD43 ) (11._init 5 O=190>DD46DD18DD14DD15DD14DD15DD14DD13DD13DD13DD19DD15DD13ED13E; ) (11.Main 2427 O=232D14DF9855GD15H at ...2926... (11.RefreshBreakpointPicture 3 O>5121CEG25408EG22519DD94ED32EF2548DD50ED15E> ) O=248 (VersionControl.VersionControl 166 CD10 ) (17.GetVersion 19 O=343 at ...2928... ) O=335;E>F at ...1794...? ) O=274; (11.InitWebView 6 O=211D10DCD at ...2929...E=E;DD85D=DD18DD17DD26ED17FD27E< ) M`;E; ) MM; (FDebugInfo.FDebugInfo 278 C? ) (30.FDebugInfo 112 (30.FDebugInfo 15 CG39143 ) CD13 ) (30._new 4 MSD12D>DE204DD75DE163FD72D5355>GD40 ) O=605E601 (11.SetSmallFont 5 O>5362D14ED59E= ) O=606;DD27DD68DD42DD45DD28DD27EE124DD49 (11.37 3 O>5362?ED30E< ) O=616;B< (11.37 2 O>5362>ED28E< ) O=616;B< (11.37 1 O>5362>ED27E< ) O=616;E@;D@;D=DE;E< ) O=104;E< ) MNE142 (FToolBox.FToolBox 215 C@ ) (38.FToolBox 99 (38.FToolBox 10 CF4022 ) CD10 ) MOD70 (FProperty.FProperty 291 CD22 ) (42.FProperty 100 (42.FProperty 10 (3.CoordBox 66412 CD25 ) (3._new 3 MY=DD60DC (3.Border_Write 2 O=158?DED>ED69D?DD71DCAD;D>DE114F=DE365ED24 (62.ReadSettings 3 MH?G=D=F;ED12D==;F;EAD<=;F;E at ...2933...<=;F:EAD;=;F;E at ...2933...<=;F:E at ...2933...<=;F;E?D<=;F:E at ...2933...<=;F:E at ...2933...;=;F;E?D<=;F;E?D<=;F:E at ...2933...;=;F;E at ...2933...<=;F;E?D<=;F:E at ...2933...<=;F:E at ...2933...<=;F:E at ...2933...;=;F;E at ...2933...;=;F;E?D=;D;GD10D==;D;GD11DD20==D;GD10D==;D;GCD==;D;GCD<=FE=DNFNFNFNFE;D;F;M;CNFD;DD78D>DD87DD21E?N:;DD65D>D>D;DD76D=DD83DD20E?N:;DD64D>D>D;DD75DD>D;DD83D=DE260DD39EAN:DDD88DD22E?N::DD68D>D>D;DD75D>DD85DD20E>N:;DD66D>D>DN:;DD66D?D>D;DD76DN:;DD65D>D=DN:;DD67D>D=DD>D;DD75D=DD88DD19E?N:;DD64D>D=DN:;DD65D>D>DN:;DD77D>D>DD=DN:;DD64D?D=DN:;DD64D>D=DDADB;D5349=GD19 ) Mh=DD47D=DD28B=DD20BGB (FWelcome.FWelcome 240 CC ) (79.Run 4 MN=E< (79.FWelcome 124 (CRecentFile.CRecentFile 84 CD57 ) (79.FWelcome 5 CF4924 ) CD10 ) (79.Form_Open 5 M[BD;E> (CCoolButton.CCoolButton 185 C? ) (87.CCoolButton 5 CA ) (87._new 3 ME>DE100DD10DE370DBD=E>D?HE701EAED49E= ) M_> (87.89 27 CD11 ) (87.90 4 ME>DE116DD11DD50D>DDDDDDDE111DD10DD49D>DEDF<;F;;;DD13D= (83.98 15 CA ) (83.99 1 MC?D;D;D;ED15D>E;E; ) O=111< (83.100 3 M\?G; ) O=112D;D;D;ED16D>E;E; ) O=111< (83.100 4 M\?G< ) O=112;D=F<;;DD12D= (83.98 15 C? ) (83.99 2 MC>DDD;D;D;ED16D>E;E; ) O=111< (83.100 2 M\@G; ) O=112F;;;DD13D= (83.98 16 CA ) (83.99 2 MC>D;D;D;ED15D=E;E< ) O=111; (83.100 3 M\?G< ) O=112;D=F<;;DD12D< (83.98 15 C@ ) (83.99 2 MC?D;D;D;ED15D=E;E; ) O=111= (83.100 3 M\?G< ) O=112;D=F<;;DD12D= (83.98 15 CA ) (83.99 1 MC?DE;E; ) O=111< (83.100 3 M\@G; ) O=112;D=F<;;DD12D= (83.98 16 C@ ) (83.99 2 MC?DFDDD;E;F;H< ) (83.101 2 MO?D;ED;E;F;H< ) (83.101 1 MO?D;E;F;H< ) (83.101 2 MO?D;E;F;H; ) (83.101 2 MO?D;E;F;H; ) (83.101 2 MO?D;E;F;H< ) (83.101 1 MO?D;E;F:H< ) (83.101 1 MO?D;E;F;H; ) (83.101 2 MO?D;E;F;H; ) (83.101 2 MO?D;E;F;H< ) (83.101 1 MO?DDD ) O=457;D=DE265D?DE807DD24DE110DF6540DE117EBF< (ProjectItem.ProjectItem 320 CD21 ) (104.ProjectItem 330 CD17 ) (104._new 4 MW at ...2933...D< (CProjectInfo.CProjectInfo 170 CC ) (110.CProjectInfo 4 CD12 ) (110._new 3 O=104> (110.GetProjectPath 3 MK>LD24 ) O=105>EAE< ) Mj;E (110.ReadProject 1 M]>D;E;ED;MQ=NS=D;D;MQ;NSD;D;E;D;E:DNSF;H;NSD11D=D;E;D;E;D;E;EED38DEB ) O=154 (110.117 2 M]?Mi; ) O=154;G< ) O=262F5549DD15G< ) MoD25E at ...2930...; ) O=220;E< ) O=478EAE; ) Mj (104.115 1 O=239 at ...2930...< (110.116 1 O=153? (110.117 2 M]?DNS ) O=154;G= ) O=244;EE; ) O=220;E< ) O=478;NG< (83.102 2 Mc>D;E;F: (83.103 1 Mp=D=FD15D=M at ...2941... ) Mn< ) O=457;M=< (104.106 138 CA ) (104.107 1 MW=D;DD85DD52E at ...2942...=E< ) O=471D; (110.112 3 CD10 ) (110.113 3 O=104? (110.114 2 MK>LD27 ) O=105>E at ...2930...; ) MjE; (110.116 1 O=153< (110.117 2 M]ED23DD31D=D:MQD;D;E;D;E;D;E;E;F;F;F;F:F;F;H;NS;D;D;E;D;E;D;E;E;F;F;F;F;F;F;H;NS;D;D;E;D;E;D;EE257E?F;F;F;F;F;F;H;NS ) O=154 ) MoD25E at ...2930...< ) O=220;E; ) O=478FECE; ) Mj (104.115 2 O=239?E< (110.116 1 O=153= (110.117 1 M]NS;D;D;E:D;E;D;E:E;F;F;F:F;F;F:D;GNS;D;D:E;D;E;D:E;E;F;F:F;F;F:F;H;NS;D;D:E;D;E:D;E;E;F;F:F;F;F:F;H;E ) O=154;G< ) O=242 (110.117 1 M] (83.102 2 McAD;E;F: (83.103 1 Mp=D?FD< (110.112 3 CD10 ) (110.113 4 O=104> (110.114 2 MK=LD44 ) O=105>E at ...2930...; ) Mj (104.115 1 O=239 at ...2930...< (110.116 1 O=153> (110.117 2 M]>DNS ) O=154;G< ) O=242;G (110.117 1 M]E; ) O=220;E< ) O=478 (83.102 2 McAD;E;F; (83.103 0 Mp=D>FD< (110.112 2 CD11 ) (110.113 3 O=104> (110.114 2 MK>LD39 ) O=105=E at ...2930...; ) Mj (104.115 1 O=239AE< (110.116 1 O=153? (110.117 2 M]>D;E;E;E at ...2949...D;D;E;D;E;D;E:E;F;F;F:F;F;F:H;NS;D;D;E;D:E;D;E;E:F;F;F;F:F;F;H:NS ) O=154;G< ) O=242 (110.117 1 M] (110.117 1 M] (83.102 2 McAD;E;F; (83.103 0 Mp=D>F;DLD43 ) O=105>EBE; ) MjNS;D;D;E;D;E:D;E;E;F;F:F;F;F;F:D;G ) O=154;G< ) O=242 (110.117 1 M] (83.102 2 Mc at ...2933...;ED< (104.108 3 O=218A (104.109 3 Mh>D< (110.112 3 CD11 ) (110.113 3 O=104> (110.114 3 MK>LD40 ) O=105=EAE; ) MjE; (110.116 1 O=153= (110.117 1 M]=D:E;E;E?ED25DD39DNS;D;D;E;D;E:D;E;E;F;F:F;F;F;F:D;G ) O=154;G< ) O=242;G (110.117 1 M]E; ) O=220;E< ) O=478;NG> (83.102 2 McAD;E;F: (83.103 1 Mp=D>F;D;M at ...2950... ) Mn< ) O=457;M=< (104.106 181 CA ) (104.107 1 MW=D;DD87DD61E at ...2942...=E; ) O=471D; (104.108 3 O=218A (104.109 3 Mh>D< (110.112 3 CD10 ) (110.113 3 O=104? (110.114 2 MK>LD38 ) O=105>EAE; ) Mj (104.115 1 O=239 at ...2930...< (110.116 1 O=153= (110.117 1 M]D17D=E;E;E?ED27DD37D=D;MQ ) O=154;G< ) O=242;G=E;G;FD15D=E; (110.116 1 O=153> (110.117 1 M]=Mi; ) O=154;G; ) O=259; (110.116 1 O=153= (110.117 1 M]E; ) O=220;E< ) O=478;NG= (83.102 3 Mc?DFD; (104.108 4 O=218@ (104.109 2 Mh>D< (110.112 3 CD10 ) (110.113 3 O=104> (110.114 2 MK=LD96 ) O=105AECE; ) Mj=E;DD36D> (104.115 2 O=239E121E> (110.116 2 O=153> (110.117 2 M]>D;E;ED;MQ=NS=D;D:MQ;NS=D;D;E;D;E;DNS ) O=154;G< ) O=242D32 ) Mn> ) O=457F; (104.106 177 CD14 ) (104.107 2 MW>D;DD97DD37E at ...2953...=E; ) O=471=DD13F>D; (104.108 3 O=218B (104.109 3 Mh?D; (110.112 3 CD12 ) (110.113 3 O=104? (110.114 2 MK>LD34 ) O=105=E?E; ) Mj;E;DD18D= (104.115 1 O=239>E< (110.116 1 O=153< (110.117 1 M]=D;E;E;E=ED26DD42D=D;MQED21F ) O=154;G< ) O=244;ED;E;F; (83.103 1 MpF;E;DD20 ) Mn= ) O=457;M=< (104.106 122 C@ ) (104.107 2 MWD< (110.112 3 CC ) (110.113 2 O=104? (110.114 2 MK>LD26 ) O=105=EAE; ) MjE; (110.116 1 O=153< (110.117 1 M]=D;E:EED21DD30D=D;MQ ) O=154;G; ) O=242D53G>E;G;FD13D (110.117 2 M]E< ) O=220:E< ) O=478 (83.102 2 Mc at ...2933...;E;F; (83.103 1 Mp=D>FD23 ) Mn< ) O=457;M=< (104.106 160 C@ ) (104.107 2 MWD< (110.112 3 CD10 ) (110.113 3 O=104> (110.114 2 MK=LD30 ) O=105>EAE; ) Mj (104.115 1 O=239 at ...2930...< (110.116 2 O=153> (110.117 2 M]?D;E;E;E>ED23DD38D=D;MQNS;D;D;E;D;E;D;E;E:F;F;F:F;F;F:D;G ) O=154;G< ) O=244;E;E (110.117 1 M]D;E:F; (83.103 1 Mp?D>F;ED26 ) Mn= ) O=457;M== (104.106 431 CD12 ) (104.107 3 MW=D;DE100DD67E at ...2944...=E; ) O=471LD30 ) O=105=EAE; ) MjE; (110.116 1 O=153= (110.117 1 M]=D:E;E;E>ED21DD37D (110.117 1 M]=Mi; ) O=154;G; ) O=259; (110.116 2 O=153< (110.117 1 M]=Mi: ) O=154;G; ) O=262E564DBG; ) MoD19E>E; ) O=220;E< ) O=478;F>DD12F>EE421ED12 ) Mp=D@ (79.Toggle 2 O=146D11H=F;DCDD10DD67DD15D=IF1267 (79.FilterList 7 O=379AGD23D>H;ECD;H;EAK<;G< ) O=304< ) O=402 at ...2933...DDDDD;D; (110.121 1 O=127G< ) O=304; ) O=402=DD;D; (110.121 1 O=127D;D; (110.121 1 O=127D;D; (110.121 1 O=127D;D; (110.121 1 O=127=G; ) O=304; ) O=402=DE; ) O=166;DCDD12 (79.panList_Arrange 3 O=359 at ...2954...= ) O=173;GE; (110.116 2 O=153= (110.117 1 M]=Mi< ) O=154;G; ) O=242E; ) (104.124 48 O=306?D; (104.115 1 O=239=E; (110.116 1 O=153> (110.117 1 M]=Mi; ) O=154;G; ) O=244;MG< ) O=309 (110.117 1 M]D< (104.115 1 O=239D< (104.115 0 O=239=E; (110.116 2 O=153= (110.117 1 M]=Mi; ) O=154;G; ) O=242;MI; ) O=309D< (104.115 1 O=239D< (104.115 0 O=239=E; (110.116 1 O=153> (110.117 1 M]=Mi; ) O=154;G; ) O=242;MI; ) O=309 (110.117 1 M]D< (104.115 0 O=239=E; (110.116 1 O=153> (110.117 1 M]D< (104.115 1 O=239D< (104.115 1 O=239>E; (110.116 1 O=153< (110.117 1 M]D< (104.115 0 O=239=E; (110.116 1 O=153> (110.117 1 M]=Mi; ) O=154;G; ) O=242;MI; ) O=309 (110.117 1 M] (110.117 2 M]=Mi; ) O=154;G< ) O=259; (110.116 1 O=153= (110.117 1 M]D< (104.115 1 O=239 ) (104.124 180 O=306D10D= (104.115 1 O=239>E; (110.116 2 O=153= (110.117 2 M]=Mi; ) O=154;G; ) O=242 (110.117 2 M]E< (110.116 1 O=153= (110.117 1 M]=Mi< ) O=154;G; ) O=242;G (110.117 2 M] (110.117 2 M]=Mi; ) O=154;G; ) O=259; (110.116 2 O=153< (110.117 1 M] (110.117 2 M]?Mi; ) O=154;G< ) O=262E706DD10G< ) O=309E391E> ) (104.124 180 O=306CD< (104.115 1 O=239=E< (110.116 1 O=153= (110.117 2 M] (104.115 1 O=239=E< (110.116 2 O=153= (110.117 2 M]=Mi< ) O=154;G; ) O=242;G (110.117 2 M] (104.115 2 O=239?E< (110.116 2 O=153? (110.117 1 M]?Mi< ) O=154;G< ) O=242Mi< ) O=154;G; ) O=262E796DD11G; ) O=309E382E= ) (104.124 180 O=306CD= (104.115 1 O=239=E< (110.116 1 O=153= (110.117 1 M]=Mi; ) O=154;G< ) O=244;MG; ) O=309 (104.115 1 O=239?E< (110.116 2 O=153< (110.117 2 M]Mi; ) O=154 (110.116 2 O=153@ (110.117 2 M]@Mi< ) O=154 ) O=309?E= ) (104.124 400 O=306CD< (104.115 1 O=239?E< (110.116 1 O=153? (110.117 2 M]?Mi; ) O=154E< ) (104.124 240 O=306D21D@ (104.115 1 O=239 at ...2930...< (110.116 2 O=153> (110.117 2 M]?Mi< ) O=154;G< ) O=242E< (110.116 2 O=153> (110.117 2 M]?Mi< ) O=154;G= ) O=242;MI< ) O=309=E< ) (104.124 202 O=306AD< (104.115 1 O=239>E; (110.116 1 O=153< (110.117 1 M]E; (110.116 1 O=153< (110.117 1 M]=Mi; ) O=154;G; ) O=242;MI; ) O=309 (110.116 2 O=153@ (110.117 3 M]@Mi= ) O=154;G< ) O=242Mi< ) O=154;G< ) O=262E926DD18G= ) O=309E912ED15 ) (104.124 313 O=306D14DB (104.115 2 O=239 at ...2930...> (110.116 2 O=153? (110.117 3 M]?Mi= ) O=154E; (110.116 2 O=153@ (110.117 3 M]?Mi< ) O=154 (110.117 3 M]>Mi< ) O=154;G= ) O=262F6175DD16G> ) O=309E640EB ) (104.124 305 O=306D18DA (104.115 1 O=239 at ...2930...> (110.116 3 O=153? (110.117 3 M]@Mi= ) O=154Mi< ) O=154;G< ) O=262F1200DD14G= ) O=309E941ED11 ) (104.124 294 O=306D30DA (104.115 1 O=239 at ...2930...= (110.116 3 O=153> (110.117 4 M]?MiE420 ) O=154BG? ) O=242=G at ...2930...E; (110.116 2 O=153D10 (110.117 4 M]?Mi< ) O=154 (110.117 2 M]?Mi< ) O=154;G< ) O=262F1004DD16G= ) O=309E832ED10 ) (104.124 311 O=306D13D@ (104.115 2 O=239 at ...2930...> (110.116 3 O=153@ (110.117 3 M]@Mi= ) O=154EE; (110.116 2 O=153@ (110.117 3 M]?Mi< ) O=154;G< ) O=259< (110.116 2 O=153? (110.117 2 M]?Mi< ) O=154;G< ) O=262E970DD14G> ) O=309E627ED10 ) (104.124 305 O=306D12D@ (104.115 1 O=239AE= (110.116 3 O=153? (110.117 3 M]?Mi= ) O=154;G< ) O=242E< (110.116 1 O=153@ (110.117 3 M]?Mi; ) O=154Mi< ) O=154;G< ) O=262F1259DD19G= ) O=309E640ED11 ) (104.124 319 O=306D14D? (104.115 2 O=239?E> (110.116 2 O=153? (110.117 3 M]?Mi< ) O=154E< (110.116 1 O=153@ (110.117 3 M]>Mi< ) O=154;G< ) O=259< (110.116 2 O=153? (110.117 2 M]>Mi< ) O=154;G< ) O=262E999DD18G= ) O=309E942ED11 ) (104.124 305 O=306D12D@ (104.115 1 O=239 at ...2930...= (110.116 3 O=153? (110.117 3 M]?Mi= ) O=154;G= ) O=242E; (110.116 1 O=153@ (110.117 2 M]>Mi< ) O=154;G< ) O=259; (110.116 2 O=153? (110.117 2 M]=Mi< ) O=154;G< ) O=262E894DD15G= ) O=309E648EA ) (104.124 312 O=306D14D@ (104.115 2 O=239 at ...2930...> (110.116 2 O=153? (110.117 3 M]@Mi< ) O=154E; (110.116 2 O=153@ (110.117 3 M]?Mi< ) O=154;G< ) O=259< (110.116 2 O=153? (110.117 2 M]@Mi< ) O=154;G= ) O=262F1690DD19G> ) O=309E654E@ ) (104.124 564 O=306D16D@ (104.115 2 O=239AE= (110.116 3 O=153? (110.117 4 M]@Mi= ) O=154;G= ) O=244Mi< ) O=154;G; ) O=262F1185DD19G= ) O=309E762E@ ) (104.124 292 O=306D13D? (104.115 1 O=239?E> (110.116 1 O=153? (110.117 3 M]?Mi< ) O=154E< ) (104.124 717 O=306D19DA (104.115 2 O=239?E< (110.116 3 O=153? (110.117 2 M]?Mi= ) O=154;G= ) O=242E; (110.116 2 O=153? (110.117 2 M]>Mi; ) O=154Mi< ) O=154;G< ) O=262E929DD18G> ) O=309E598EA ) (104.124 312 O=306D15D@ (104.115 2 O=239 at ...2930...= (110.116 2 O=153? (110.117 3 M]?Mi< ) O=154;G< ) O=244Mi< ) O=154 ) O=309>E< ) (104.124 258 O=306CD= (104.115 1 O=239 at ...2930...< (110.116 2 O=153> (110.117 3 M]>Mi< ) O=154;G= ) O=242Mi< ) O=154E< ) (104.124 263 O=306D11D? (104.115 2 O=239?E= (110.116 2 O=153? (110.117 2 M]?Mi< ) O=154;G= ) O=242E= ) (104.124 388 O=306CD= (104.115 2 O=239 at ...2930...< (110.116 2 O=153? (110.117 2 M]>Mi< ) O=154;G= ) O=242;MI= ) O=309>E< ) (104.124 268 O=306D11D? (104.115 1 O=239?E= (110.116 1 O=153? (110.117 2 M]>Mi< ) O=154;G< ) O=242E; ) (104.124 237 O=306AD= (104.115 1 O=239?E< (110.116 2 O=153> (110.117 2 M]>Mi< ) O=154;G< ) O=242Mi< ) O=154;G= ) O=242 (110.116 3 O=153? (110.117 3 M]?Mi= ) O=154;G= ) O=244 (110.117 2 M]?Mi< ) O=154E= ) (104.124 252 O=306AD= (104.115 1 O=239 at ...2930...< (110.116 1 O=153? (110.117 2 M]?Mi< ) O=154;G= ) O=242 (110.117 3 M]?Mi< ) O=154;G= ) O=242;G=EE; (110.116 1 O=153@ (110.117 2 M]>Mi< ) O=154;G< ) O=259< (110.116 2 O=153? (110.117 2 M]>Mi; ) O=154 ) O=309E651EC ) (104.124 335 O=306D14DA (104.115 1 O=239AE= (110.116 2 O=153@ (110.117 3 M]@Mi= ) O=154;G= ) O=244Mi< ) O=154 (110.116 2 O=153@ (110.117 3 M]BMi< ) O=154EMi; ) O=154;G< ) O=262E933DD15G> ) O=309E638EB ) (104.124 309 O=306D14D@ (104.115 2 O=239 at ...2930...> (110.116 2 O=153? (110.117 3 M]@Mi= ) O=154;G= ) O=242 ) O=309E656ED10 ) (104.124 314 O=306D14D@ (104.115 2 O=239 at ...2930...= (110.116 2 O=153? (110.117 3 M]?Mi= ) O=154;G< ) O=242Mi< ) O=154;G< ) O=259< (110.116 2 O=153> (110.117 2 M]>Mi; ) O=154;G< ) O=262F1236DD15G> ) O=309E639EA ) (104.124 285 O=306D16DA (104.115 2 O=239 at ...2930...= (110.116 2 O=153? (110.117 3 M]@Mi< ) O=154;G= ) O=242E; (110.116 2 O=153@ (110.117 3 M]?Mi< ) O=154;G< ) O=259< (110.116 3 O=153? (110.117 2 M]?Mi; ) O=154 (110.116 2 O=153D20 (110.117 5 M]AMi< ) O=154E; (110.116 1 O=153@ (110.117 2 M]>Mi< ) O=154;G< ) O=259< (110.116 2 O=153> (110.117 2 M]D88Mi> ) O=154;G= ) O=262E932DD17G= ) O=309E649EC ) (104.124 312 O=306D14DB (104.115 1 O=239 at ...2930...> (110.116 2 O=153? (110.117 3 M]?Mi< ) O=154E; (110.116 1 O=153@ (110.117 3 M]>Mi< ) O=154;G< ) O=259; (110.116 3 O=153? (110.117 2 M]?Mi; ) O=154;G< ) O=262F1265DD16G> ) O=309E650EA ) (104.124 986 O=306D22DB (104.115 2 O=239 at ...2930...= (110.116 2 O=153@ (110.117 3 M]?Mi< ) O=154EE< (110.116 1 O=153@ (110.117 3 M]?Mi< ) O=154;G< ) O=259< (110.116 3 O=153? (110.117 2 M]>Mi< ) O=154;G< ) O=262F1019DD15G> ) O=309E781ED10 ) (104.124 281 O=306D11D@ (104.115 1 O=239 at ...2930...= (110.116 2 O=153@ (110.117 3 M]?Mi< ) O=154E< ) (104.124 301 O=306D12D? (104.115 1 O=239 at ...2930...= (110.116 1 O=153? (110.117 2 M]=Mi< ) O=154E< (110.116 1 O=153@ (110.117 2 M]>Mi; ) O=154 (104.115 1 O=239>E< (110.116 2 O=153> (110.117 2 M]?Mi< ) O=154;G< ) O=242;MI= ) O=309?E< ) (104.124 615 O=306D14DA (104.115 2 O=239 at ...2930...= (110.116 3 O=153? (110.117 3 M]?Mi= ) O=154E< ) (104.124 251 O=306D12D? (104.115 1 O=239?E= (110.116 1 O=153> (110.117 3 M]?Mi< ) O=154E< ) (104.124 265 O=306CD= (104.115 1 O=239?E= (110.116 1 O=153@ (110.117 3 M]?Mi< ) O=154E< ) (104.124 266 O=306BD= (104.115 2 O=239?E< (110.116 2 O=153? (110.117 2 M]>Mi< ) O=154 (104.115 1 O=239AE< (110.116 2 O=153@ (110.117 2 M]?Mi< ) O=154;G< ) O=242 (104.115 1 O=239?E< (110.116 1 O=153> (110.117 2 M]>Mi< ) O=154;G< ) O=242;MI= ) O=309=E< ) (104.124 473 O=306CD= (104.115 2 O=239 at ...2930...< (110.116 1 O=153? (110.117 2 M]>Mi< ) O=154;G< ) O=244 (104.115 1 O=239?E= (110.116 1 O=153? (110.117 2 M]>Mi< ) O=154;G< ) O=242E< ) (104.124 278 O=306D11D? (104.115 2 O=239?E= (110.116 1 O=153? (110.117 2 M]>Mi< ) O=154;G< ) O=244E< ) (79.122 267 O=359BDD12ED15E> ) (104.124 1209 O=306D17DA (104.115 1 O=239 at ...2930...= (110.116 2 O=153> (110.117 2 M]?Mi< ) O=154 ) O=309D13E> ) (104.124 345 O=306D12D? (104.115 2 O=239E176E? (110.116 3 O=153A (110.117 3 M]?Mi= ) O=154;G< ) O=244Mi< ) O=154EE< (110.116 1 O=153A (110.117 2 M]?Mi< ) O=154;G< ) O=259< (110.116 3 O=153? (110.117 2 M]?Mi; ) O=154E; (110.116 2 O=153@ (110.117 2 M]?Mi< ) O=154Mi< ) O=154;G< ) O=262F1157DD17G> ) O=309E568EA ) (104.124 424 O=306D15D@ (104.115 1 O=239 at ...2930...= (110.116 2 O=153? (110.117 3 M]>Mi= ) O=154;G< ) O=242E; (110.116 2 O=153@ (110.117 2 M]D78Mi> ) O=154;G= ) O=259< (110.116 3 O=153? (110.117 2 M]?Mi< ) O=154;G= ) O=262F1117DD14G> ) O=309F1003ED12 ) (104.124 271 O=306D15D@ (104.115 2 O=239 at ...2930...> (110.116 3 O=153? (110.117 3 M]@Mi= ) O=154;G< ) O=242EMi< ) O=154;G< ) O=262E911DD14G= ) O=309E546EC ) (104.124 270 O=306D12D@ (104.115 2 O=239 at ...2930...> (110.116 3 O=153@ (110.117 3 M]?Mi= ) O=154;G= ) O=242;G>EE< (110.116 1 O=153A (110.117 2 M]?Mi< ) O=154;G= ) O=259; (110.116 3 O=153? (110.117 1 M]?Mi< ) O=154;G< ) O=262E878DD14G= ) O=309E688EB ) (104.124 245 O=306D12D@ (104.115 1 O=239 at ...2930...= (110.116 2 O=153? (110.117 2 M]?Mi< ) O=154;G< ) O=242E; (110.116 1 O=153@ (110.117 2 M]>Mi< ) O=154;G; ) O=259< (110.116 2 O=153? (110.117 1 M]>Mi< ) O=154;G< ) O=262F1689DD15G> ) O=309E575EA ) (104.124 496 O=306D15DA (104.115 1 O=239 at ...2930...> (110.116 2 O=153@ (110.117 3 M]?Mi= ) O=154E= ) (104.124 258 O=306BD> (104.115 1 O=239D18E? (110.116 2 O=153@ (110.117 2 M]?Mi< ) O=154;G= ) O=242E; (110.116 2 O=153@ (110.117 3 M]>Mi< ) O=154;G= ) O=259; (110.116 3 O=153? (110.117 2 M]>Mi< ) O=154;G= ) O=262F1046DD17G> ) O=309E661EC ) (104.124 284 O=306D12D@ (104.115 2 O=239?E> (110.116 2 O=153? (110.117 3 M]?Mi< ) O=154;G< ) O=244E< ) (104.124 265 O=306D10D? (104.115 1 O=239 at ...2930...< (110.116 2 O=153? (110.117 3 M]>Mi< ) O=154E< (110.116 1 O=153@ (110.117 3 M]>Mi< ) O=154 ) O=309F1113ED13 ) (104.124 252 O=306D17D@ (104.115 2 O=239 at ...2930...> (110.116 2 O=153@ (110.117 2 M]@MiE129 ) O=154?G= ) O=242 ) O=309 at ...2930...= ) (104.124 252 O=306D11D@ (104.115 1 O=239 at ...2930...= (110.116 1 O=153? (110.117 3 M]?Mi< ) O=154;G= ) O=242;MI> ) O=309>E< ) (104.124 226 O=306CD= (104.115 1 O=239?E= (110.116 1 O=153? (110.117 2 M]?Mi< ) O=154;G= ) O=242;MI= ) O=309>E< ) (104.124 219 O=306AD= (104.115 1 O=239?E= (110.116 1 O=153? (110.117 2 M]>Mi< ) O=154 ) (104.124 222 O=306CD> (104.115 1 O=239?E< (110.116 2 O=153> (110.117 2 M]>Mi< ) O=154;G< ) O=242E< ) (104.124 222 O=306BD= (104.115 1 O=239?E= (110.116 1 O=153? (110.117 2 M]>Mi< ) O=154;G= ) O=242 (104.115 1 O=239?E= (110.116 1 O=153> (110.117 2 M]?Mi< ) O=154;G< ) O=244E< ) (104.124 228 O=306AD= (104.115 13 O=239AE= (110.116 1 O=153? (110.117 3 M]@Mi< ) O=154;G< ) O=244E< (110.116 2 O=153> (110.117 3 M]>Mi< ) O=154;G= ) O=242;MI= ) O=309>E< ) (79.122 218 O=359BDCED13E= ) (104.124 1486 O=306D19DA (104.115 2 O=239 at ...2930...> (110.116 2 O=153@ (110.117 2 M]@Mi< ) O=154;G< ) O=242E; (110.116 1 O=153E156 (110.117 5 M]?Mi< ) O=154;G= ) O=259< (110.116 2 O=153? (110.117 2 M]?Mi; ) O=154;G< ) O=262F1031DD18G= ) O=309E559E? ) (104.124 567 O=306D16DA (104.115 1 O=239 at ...2930...= (110.116 2 O=153? (110.117 2 M]?Mi< ) O=154E< ) (104.124 241 O=306AD= (104.115 1 O=239?E= (110.116 1 O=153A (110.117 2 M]>Mi< ) O=154;G< ) O=242Mi< ) O=154;G< ) O=262F5735DD17G? ) O=309E580EB ) (104.124 273 O=306D15DA (104.115 2 O=239 at ...2930...= (110.116 3 O=153@ (110.117 3 M]@Mi< ) O=154;G= ) O=242E; (110.116 2 O=153@ (110.117 2 M]?Mi< ) O=154;G= ) O=259; (110.116 3 O=153? (110.117 2 M]?Mi< ) O=154;G< ) O=262F1410DD15G= ) O=309F1008ED14 ) (104.124 264 O=306D16DA (104.115 2 O=239AE> (110.116 2 O=153@ (110.117 3 M]@Mi= ) O=154;G= ) O=242;G>EE; (110.116 2 O=153@ (110.117 3 M]>Mi< ) O=154;G= ) O=259< (110.116 2 O=153? (110.117 2 M]?Mi; ) O=154;G= ) O=262F1070DD14G> ) O=309E629EB ) (104.124 268 O=306D15D@ (104.115 2 O=239 at ...2930...> (110.116 2 O=153@ (110.117 73 M]BMi< ) O=154E; (110.116 2 O=153@ (110.117 2 M]?Mi< ) O=154 ) O=309E687EA ) (104.124 249 O=306D12D? (104.115 2 O=239 at ...2930...? (110.116 2 O=153? (110.117 3 M]@Mi< ) O=154E; (110.116 1 O=153@ (110.117 2 M]>Mi< ) O=154;G= ) O=259; (110.116 2 O=153@ (110.117 3 M]>Mi; ) O=154Mi= ) O=154;G= ) O=242E< (110.116 1 O=153@ (110.117 2 M]>Mi; ) O=154 (110.117 2 M]>Mi< ) O=154;G< ) O=262E961DD18G= ) O=309E564EB ) (104.124 279 O=306D13D? (104.115 2 O=239?E= (110.116 3 O=153> (110.117 3 M]@Mi< ) O=154;G= ) O=242;G=EE; (110.116 2 O=153@ (110.117 2 M]?Mi; ) O=154 (110.117 2 M]>Mi< ) O=154;G< ) O=262F1107DD18G> ) O=309E978ED12 ) (104.124 422 O=306D15DA (104.115 1 O=239AE= (110.116 3 O=153@ (110.117 3 M]?Mi= ) O=154;G= ) O=242;G>EE< (110.116 1 O=153@ (110.117 2 M]?Mi< ) O=154;G< ) O=259< (110.116 3 O=153? (110.117 2 M]>Mi< ) O=154 ) O=309E574E? ) (104.124 502 O=306D15D@ (104.115 1 O=239AE= (110.116 2 O=153@ (110.117 3 M]AMi< ) O=154E= ) (104.124 257 O=306AD= (104.115 1 O=239?E= (110.116 2 O=153@ (110.117 2 M]?Mi< ) O=154;G= ) O=242E; (110.116 2 O=153@ (110.117 3 M]>Mi< ) O=154Mi< ) O=154;G= ) O=262F1028DD33G= ) O=309E542EC ) (104.124 661 O=306D18DB (104.115 1 O=239 at ...2930...= (110.116 3 O=153@ (110.117 3 M]@Mi= ) O=154Mi< ) O=154;G= ) O=262E968DD15G= ) O=309E683ED10 ) (104.124 413 O=306D13D@ (104.115 2 O=239 at ...2930...= (110.116 2 O=153? (110.117 3 M]@Mi< ) O=154E< (110.116 2 O=153> (110.117 2 M]>Mi< ) O=154E< ) (104.124 214 O=306CD< (104.115 2 O=239>E< (110.116 2 O=153? (110.117 1 M]?Mi; ) O=154Mi< ) O=154;G= ) O=242;MI< ) O=309=E< ) (104.124 213 O=306CD> (104.115 1 O=239?E> (110.116 1 O=153? (110.117 1 M]>Mi< ) O=154;G< ) O=242 ) O=309?E= ) (104.124 255 O=306CD= (104.115 2 O=239 at ...2930...< (110.116 2 O=153A (110.117 2 M]?Mi; ) O=154E< ) (104.124 223 O=306BD= (104.115 2 O=239 at ...2930...< (110.116 2 O=153> (110.117 3 M]>Mi< ) O=154;G= ) O=242E< ) (104.124 235 O=306CD> (104.115 2 O=239?E< (110.116 2 O=153? (110.117 2 M]?Mi< ) O=154;G< ) O=242E< (110.116 2 O=153> (110.117 2 M]>Mi; ) O=154 (110.117 2 M]?Mi; ) O=154;G< ) O=244E< ) (104.124 207 O=306AD= (104.115 2 O=239?E< (110.116 2 O=153? (110.117 2 M]?Mi< ) O=154;G= ) O=242 ) (87.126 286 MaD24E=DD71EE863KD14E> ) (87.126 152 MaD12E=DD31EE373KD12E= ) (79.dwgExample_Draw 3759 O=207D23G at ...2955...= ) (104.DrawingArea_Draw 138 O=100D11J?E; (104.Background_Read 3 O=186 at ...2956...? ) O=111AE=D< (110.Icon_Read 6 O=167? (110.117 3 M]?Mi= ) O=168;G< ) (11.StretchIcon 3 O>4731>DF1153HD17D at ...2956...;I ) M{AD< (110.Title_Read 3 O=139@ (110.117 77 M]@Mi< ) O=140;G< ) M}Mi< ) O=147;G= ) M= (110.133 20 O=139B (110.117 3 M]BMi; ) O=140D>DE504HF1783M?D20E? ) (104.128 150 O=100D13J>E; (104.129 1 O=186 at ...2956...= ) O=111=E4731 at ...2957... (110.133 3 O=139B (110.117 4 M]BMi< ) O=140;G< ) M} ) O=147GDF1704ED19D=DE931EF3126 (110.116 25 O=153D21 (110.117 7 M]D10Mi@ ) O=154=G> ) O=129CM:>M?D17E> ) (104.128 299 O=100D13J>E< (104.129 3 O=186BG> ) O=111 at ...2930...=D< (110.130 2 O=167A (110.117 2 M]AMi< ) O=168;G> ) (11.131 5 O>4731CDF1882HD16D?G;I ) O=117D28DD23 (104.132 2 MyC (104.129 2 O=186=G= ) M{?D< (110.133 1 O=139? (110.117 1 M]=Mi< ) O=140;G; ) M};D; (110.121 2 O=127 (110.117 2 M]=Mi; ) O=140;G; ) M?=G;D;F;G; ) O=120;D;DE767EAD:DE400EE907 (110.116 8 O=153B (110.117 1 M]>Mi; ) O=154;G< ) O=129D50D>DD14DDF3067HF7251M?D23E> ) (104.128 165 O=100D12J=E; (104.129 1 O=186>G< ) O=111>E (110.117 2 M]=Mi; ) O=1684731>DF9184DD17D;K at ...2933...;DD10DCDF2222HE134K? ) O=117D43DD26 (104.132 2 MyD11 (104.129 3 O=186=G= ) M{BD; (110.133 2 O=139> (110.117 2 M]=Mi< ) O=140;G< ) M};D; (110.121 2 O=127=G; ) (110.134 1 O=146= (110.117 1 M] (110.117 1 M]Mi= ) O=154;G; ) O=129D26D>DD16D=D>DE524HF1003M?D11E= ) (104.128 138 O=100D10J=E; (104.129 1 O=186=G= ) O=111=E (110.117 1 M]=Mi< ) O=168;G; ) (11.131 2 O>4731>DE632H at ...2933...D; (110.133 1 O=139> (110.117 1 M]=Mi; ) O=140;G; ) M};D; (110.121 2 O=127 (110.117 2 M]>Mi; ) O=140;G; ) M? ) (104.128 158 O=100D10J=E; (104.129 1 O=186=G= ) O=111=E (110.117 2 M]4731=DE836H?D=G;I;FE166K= ) O=117D24DD20 (104.132 2 My@ (104.129 2 O=186=G; ) M{>D; (110.133 2 O=139< (110.117 1 M]=Mi; ) O=140;G< ) M};D; (110.121 2 O=127=G< ) (110.134 1 O=146< (110.117 1 M] (110.117 1 M]=Mi; ) O=140;G; ) M?4731>DF1196HD12D>G;I;FE142K= ) O=117D29DD31 (104.132 3 MyB (104.129 2 O=186>G= ) M{>D; (110.133 2 O=139@ (110.117 2 M]@Mi< ) O=140;G< ) M};D< (110.121 1 O=127?G< ) (110.134 1 O=146> (110.117 2 M]>Mi; ) O=147;G= ) M= (110.133 16 O=139@ (110.117 2 M]>Mi< ) O=140;G< ) M?=GMi< ) O=154;G; ) O=129AD;DD14D>D (104.129 2 O=186=G; ) M{ (110.117 1 M]=Mi; ) O=140;G; ) M?Mi; ) O=154;G< ) O=129?D (110.117 1 M]=Mi; ) O=140;G< ) M};D; (110.121 1 O=127 (110.117 1 M]M:=M?CE< ) (104.128 169 O=100CJ=E; (104.129 2 O=186?G> ) O=111D18E>GD; (110.133 1 O=139A (110.117 2 M]?Mi< ) O=140;G= ) M};D< (110.121 2 O=127?G< ) (110.134 3 O=146@ (110.117 2 M]>Mi< ) O=147 (110.133 12 O=139@ (110.117 2 M]?Mi< ) O=140;G= ) M?=G;D ) (104.128 168 O=100D12J=E; (104.129 2 O=186=G= ) O=111>E;G (104.129 1 O=186=G; ) M{ (104.129 1 O=186=G< ) M{;D; (110.133 1 O=139= (110.117 1 M] (110.117 1 M]D;DE399EF1070 (110.116 12 O=153C (110.117 3 M]=Mi< ) O=154;G; ) O=129 at ...2933... (104.129 1 O=186=G< ) M{;D; (110.133 1 O=139= (110.117 1 M]=Mi; ) O=140;G; ) M};D; (110.121 1 O=127=G; ) (110.134 1 O=146< (110.117 1 M] (110.117 1 M] (104.129 1 O=186 (110.117 1 M]D;DE375EE912 (110.116 12 O=153C (110.117 2 M]>Mi< ) O=154;G; ) O=129 at ...2933...DE417HE758M?D10E= ) (79.125 1435 O=561D13ED11DCDE810DD12EE676E? ) (87.126 94 MaD10EDD24EE100K=E< ) (79.127 1411 O=207D15G>DADD82ED16E< ) (104.128 78 O=100 at ...1309...=E; (104.129 2 O=186=G< ) O=111 (104.129 2 O=186 (110.117 1 M]=Mi; ) O=140;G; ) M?Mi< ) O=154;G; ) O=129?D ) (104.128 173 O=100D13J>E; (104.129 2 O=186?G= ) O=111 at ...2930...Mi< ) O=147;G< ) M> (110.133 15 O=139@ (110.117 2 M]>Mi; ) O=140;G< ) M?=G;D;F;G; ) O=120;D=DE665EBD;DE440EE831 (110.116 12 O=153D10 (110.117 3 M]>Mi< ) O=154;G< ) O=129>M:;M?AE< ) (104.128 130 O=100 at ...1309...;E; (104.129 1 O=186=G< ) O=111>E;G;DD18 (104.132 3 My> (104.129 1 O=186 ) (104.128 162 O=100D12J=E; (104.129 2 O=186=G= ) O=111=E (104.129 2 O=186G< ) M} (110.117 1 M]>Mi; ) O=147;G< ) M> (110.133 21 O=139@ (110.117 2 M]=Mi< ) O=140;G< ) M? (104.129 1 O=186=G; ) M{ ) (104.128 126 O=100D10J=E; (104.129 2 O=186=G< ) O=111=E (104.129 1 O=186Mi; ) O=140;G; ) M? (104.129 2 O=186 (110.117 1 M]=Mi; ) O=140;G; ) M?D;DE396EE636 (110.116 6 O=153A (110.117 1 M]=Mi< ) O=154;G; ) O=129 at ...2933...D=DE928HE813M?D13E= ) (87.Panel_Enter 446237 MtD53D? (87.UpdateBorder 2 M[?ED22E= ) Mw;E; ) (87.126 555 MaD12ED59DD27EE156K>E< ) (87.Panel_Leave 21394 M|D18D? (87.136 2 M[>ED17E= ) M;E: ) (87.135 77 MtBD< (87.136 1 M[=E>E; ) Mw;E: ) (87.126 600 MaD11E=DD27EE151K>E; ) (87.126 60 Ma?ED52DD19ED96K=E; ) (87.137 33070 M|D18D@ (87.136 1 M[>ED18E= ) M;E: ) (87.135 75 MtBD; (87.136 1 M[=E>E; ) Mw;E; ) (87.126 616 MaD11E>DD27EE158K=E< ) (87.126 59 Ma?ED55DD20ED96K=E; ) (87.137 43211 M|D18D@ (87.136 2 M[D10ED36E= ) M (87.136 1 M[?E at ...2930...; ) Mw;E; ) (87.126 650 MaD12E=DD28EE174K>E; ) (87.126 61 Ma?ED56DD19ED70K=E; ) (87.137 168581 M|D19D? (87.136 2 M[>ED17E= ) M;E; ) (87.135 93 MtCD; (87.136 1 M[=E>E; ) Mw;E; ) (87.126 613 MaD12E=DD29EE129K>E< ) (87.126 58 Ma?ED74DD20ED99K=E< ) (87.137 157272 M|D19D? (87.136 1 M[>ED18E= ) M;E: ) (87.135 77 MtBD; (87.136 1 M[>E>E; ) Mw;E: ) (87.126 613 MaD12E=DD29EE183K?E< ) (87.126 64 Ma at ...2959...=E; ) (87.Panel_MouseDown 418252 O=111D16FCE< ) (87.Panel_GotFocus 126 M?@ (87.136 1 M[=E=E; ) M?;E; ) (87.126 358 MaCED76DD35EE488DD16DE114DD40DD32DE146FD44E> ) (87.Panel_MouseUp 1032 O=122D18GBDD= (79.Form_Close 26 O=191?DD61ED12E< ) O=139F3207ED23 ) O=130D14E?E< ) ) MQD14G> ) O=284 (11.Exit 5 O=815D11 (CSampleCode.CSampleCode 1155 CD17 ) (144.Exit 18 O=103AE>E; ) O=816< (CLibraryInfo.CLibraryInfo 169 CD14 ) (147.Exit 5 MQ? (147.Clear 1 MK>E?E< ) MS;E; ) O=817; (83.Exit 4 O=196 at ...2960...< ) O=818< (CComponent.CComponent 157 CD14 ) (152._init 4 O=316?D= (152.InitComponentNames 2 M~>DD34DD20DD17DD17DD18DD18DD17DD16DD18DD17DD17DD19DD18DD18DD19DD17DD19DD18DD18DD18DE118DD21DD19DD19DD18DD20DD17DD17DD15DD18DD17DD19DD22DD18DD19DD17DD17DD18DD19DD17DD19DD20DD18DD18DD19DD19DD18DD19DD19DD18DD20DD17DD17DD17DD18DD18DD17DD17DD16DD16DD18DD19DD18DD19DD18DD19ID17DD19DD19DD21DD17DD19ED36E= ) O=329E? (152.CComponent 7 CD35 ) O=226?DD12DD14D at ...2930...?EBE;D;E=EEE;DE;DEDD27E=E< (152.157 4 CD30 ) O=226?DBD>D>E>E?EEED18I? ) O=333;B? (152.156 1 O=212D11E at ...2961...=DD26E=E< (152.157 4 CD31 ) O=226=D?D?D=E=E?EED14IA ) O=333=B= (152.156 2 O=212BE>DD26H=DD24E>E< (152.157 4 CD28 ) O=226>D?D=D=EED=MPD13NeD10E=D;EED19IC ) O=333DD26E>E< (152.157 5 CD21 ) O=226=DAD at ...2933...=EE;D;EH?ED31ID14 ) O=333?B@ (152.156 3 O=212D15EADD63H=DD40E>E= (152.157 8 CD33 ) O=226>DD12DAD>E=EAE;DE;D;EE< (152.157 3 CD28 ) O=226>DAD>D;EE;D;E;E;HEEE;D;EE;D;EDD25H=DD23E>E; (152.157 3 CD16 ) O=226=D>D=D=E;E>E;D;EE;H;DDD10D at ...2933...>EH>ED31IC ) O=333E< (152.157 4 CD18 ) O=226D=E;E?E;D;E (152.156 1 O=212 at ...2930...=DD21H=DD21E>E; (152.157 3 CD17 ) O=226=D?D>DE;D;E;E;H;D (152.156 1 O=212?E=DD20H=DD21E=E; (152.157 4 CD16 ) O=226E at ...2930...?E>E?E>M;@E?K?NeBEED21IA ) O=333 (152.156 1 O=212CE=DD23H=DD22E>E< (152.157 3 CD18 ) O=226>D at ...2933...=D=E;E?ENe=E;D;E;E;H;D;E;D;E;E;EE?DED24 (152.157 5 CD19 ) O=226=DAD>DNe;EED27IC ) O=333 (152.156 1 O=212AE>DD22HE< (152.157 3 CD15 ) O=226=D at ...2933...?D=E;E>E;D;ENeDD20H=DD23E=E< (152.157 3 CD16 ) O=226=D?D=D=E;E=EE; (152.157 4 CD17 ) O=226>D at ...2933...=D=E;E>EE;E;D;DNe=E;D;E;E;HE< (152.157 3 CD17 ) O=226=D at ...2933...>D=E;E>E;D;E;E;H;D (152.156 1 O=212 at ...2930...=DD23H (152.157 5 CD25 ) O=226>DD10DBD>E;E?EED33IA ) O=333DD29H=DD31E=E< (152.157 3 CD85 ) O=226>DBD>D=EENe=E;D;E;EED19IB ) O=333;B> (152.156 2 O=212AE>DD21H=DD22E>E< (152.157 3 CD17 ) O=226>DAD=D=E;E>EED18IA ) O=333 (152.156 1 O=212 at ...2930...=DD21H>DD21E=E< (152.157 3 CD17 ) O=226>D at ...2933...>DD18E>E?E (152.156 2 O=212 at ...2930...>DD19H>DD22E>E; (152.157 3 CD16 ) O=226>D?D=D=E;E?E;D;E (152.156 1 O=212AE>DD18H=DD22E=E< (152.157 3 CD16 ) O=226=D?D>DEDD21E>E< (152.157 3 CD17 ) O=226=D at ...2933...=DE (152.156 2 O=212 at ...2930...>DD17H=DD22E=E< (152.157 3 CD16 ) O=226=DAD=D=E;E>E;D;EED16IA ) O=333;B> (152.156 1 O=212 at ...2930...=DD18H=DD22EE;D;E;E;H (152.156 1 O=212 at ...2930...=DD20H=DD21E=E< (152.157 3 CD16 ) O=226=D>D=DE;D;E;E;HNeE;DDF2681HD13DD47E=E> (152.157 6 CD30 ) O=226>DD11DBD>E;EAEE;D;EEED19IA ) O=333;B> (152.156 2 O=212 at ...2930...>DD19H=DD22E=E; (152.157 3 CD16 ) O=226=D at ...2933...=DED14I@ ) O=333DD17H=DD20E=E< (152.157 3 CD15 ) O=226>D?D=DE (152.156 1 O=212 at ...2930...=DD17H=DD19E=E; (152.157 3 CD14 ) O=226=D?D=DDD21H=DD20E>E< (152.157 2 CD16 ) O=226>D?D=D=EE;D;E;E;HE (152.156 2 O=212 at ...2930...>DD19H=DD21E=E; (152.157 3 CD16 ) O=226>D at ...2933...?DE;D;EED23IA ) O=333D22B? (152.156 1 O=212BE=DD23H=DD24E=E; (152.157 4 CD15 ) O=226=D at ...2933...>D=EE;D;ENe (152.156 1 O=212 at ...2930...=DD18H=DD18E=E< (152.157 2 CD15 ) O=226=D at ...2933...=D=E;E>EE;D;ED>D>DNeNe;E;Mc;E?DD=DE;D;E;E;H;D;E;D;NeD;H=ED14I@ ) O=333 (152.156 1 O=212 at ...2930...=DD17H=DD18E=E< (152.157 2 CD15 ) O=226=D?D>D=E;E?E;D;ED;H=ED14I@ ) O=333;B= (152.156 1 O=212 at ...2930...ED18IA ) O=333DD17H=DD19E=E; (152.157 3 CD14 ) O=226=D>D=DE;D;ED (152.156 1 O=212 at ...2930...=DD18HD=DDED17I@ ) O=333 (152.156 1 O=212 at ...2930...=DD20H=DD22E>E; (152.157 3 CD17 ) O=226=DAD=D (152.156 2 O=212 at ...2930...=DD20H=DD20E>E; (152.157 3 CD16 ) O=226DNeHD10ED44ID12 ) O=333>B? (152.156 3 O=212D12EADD40H=DD37E>E< (152.157 5 CD32 ) O=226=DBD?D=EDD22H=DD21E=E< (152.157 4 CD24 ) O=226>DAD>DD;E;E>ED (152.156 2 O=212 at ...2930...>DD20HDE;D;EED16IA ) O=333E? (152.157 7 CD31 ) O=226=DD10D at ...2933...>E;EAE;D;EE?DED31IB ) O=333DD23HDNeNeD;H>ED14I? ) O=333DED22IA ) O=333DD23H=DD26E>E; (152.157 3 CD15 ) O=226=D at ...2933...>D=E;E>E;D;E;E (152.156 2 O=212 at ...2930...>DD19H=DD24E>E; (152.157 4 CD15 ) O=226>D?D>D=E;E>E;D;EDD19E>E; (152.157 4 CD16 ) O=226=D at ...2933...=D=E;E>EEE;D;EE;D;EED17IA ) O=333 (152.156 1 O=212AE>DD21H=DD22EE;D;EED17I@ ) O=333D=DD;H=ED12I@ ) O=333;B= (152.156 1 O=212?E (152.156 1 O=212 at ...2930...>DD16H>DD20E=E< (152.157 2 CD16 ) O=226=D?D=DEE;E;M;;E (152.156 1 O=212AE=DD20H=DD23E>E< (152.157 3 CD15 ) O=226>D at ...2933...>D=E;E?E;D;EDD19H=DD21E=E< (152.157 3 CD15 ) O=226=D?D>D=EEDE; (152.157 3 CD17 ) O=226=D?D?DNeAE;D;EED15IA ) O=333E; (152.157 3 CD15 ) O=226=D?D?DE;D;EE>D (152.156 1 O=212 at ...2930...ED19IB ) O=333;B> (152.156 1 O=212AE>DD21H=DD19E=E; (152.157 3 CD16 ) O=226DE;D;E;ENeED18IB ) O=333;B> (152.156 2 O=212AE>DD23H=DD22E=E; (152.157 3 CD16 ) O=226=D?D>D (152.156 1 O=212?E=DD17H>DD34E>E; (152.157 3 CD16 ) O=226=D at ...2933...=D=EE;D;E;E (152.156 1 O=212AE=DD21H=DD21EE;D;E (152.156 2 O=212 at ...2930...>DD20H>DD21E>E; (152.157 3 CD16 ) O=226>D at ...2933...=DD (152.157 1 CD16 ) O=347D=E? (152.SortComponents 2 Mf at ...2952...?D= (152.CalcSortKey 3 O=365?E=E;ED; (152.159 4 O=365?EE;E;E;EDE@MPMPDD=DE;E;E;EMP@=DED;F;G;E< ) O=377EEE; ) O=377EMPEE;E;E;MBEED=D>F@?G?G?;G?G?=G;??D=G??;GG;?;G;?G;??GG;?G;?;G;?;G;?;G;D<=;D>G;?;G;??;G;?;G;?;G;?;G;?;G;?;G:??GED35 (152.Reset 4 O>1280D14D?D?BE? (CModule.CModule 163 CB ) (161._init 3 MCAE?DD13 (11.MakeModuleIcon 6 O=882BEE995ECD at ...2933...=D;D=DD89DE509ED94E>HHH;F at ...2956...@ ) MGD43 (11.164 4 O=882CE?E;D?DGA ) MHD46E?ED30 (161.CModule 59 CC ) (161._new 3 Ma at ...2933...>D;D (11.164 5 O=882AE?ED=D;DDH;F?GA ) MkD49EBE; ) MM> (161.165 57 CC ) (161.166 3 Ma at ...2933...E;D?D ) MNC (161.165 86 CD19 ) (161.166 7 Ma at ...2933...=D=D?E=E? (11.164 6 O=882CEBEHE@ ) (161.Reset 6 MsAD?D12913598?E= ) O=442;DCE>MCDBKD25DE154J>D?D?BD;D;ECM?D>E;FD12G> ) O=541;D>D>ED=BDM^1368AD?J= ) O=530D;E;MTM^;MG;NuM?;E< ) O=406;D?EM^;E;D; (175.178 2 C@ ) O=553DM^;E;D; (175.178 1 C? ) O=553JM^J;NuJJ ) O=553 ) O=553 ) O=553 ) O=553D;FDNuM^;E;D; (175.178 3 CA ) O=553 (175.178 4 CA ) O=553DM?;E< ) O=406E ) (171.174 2 MP>DDE ) O=553D;D;KM?;E< ) O=406;DCE=D=ED=E;MK;Nu>M^ ) (171.174 2 MP?D1368 at ...2971...? ) O=539; (152.170 3 O=404? (171.173 3 C? ) (171.174 2 MP>DI; (152.GetClassSymbols 5 O>1195 at ...1309...> (11.ExistClass 4 O>2831ADD16E?E; ) O>1203;E at ...2933...BF;E1368 at ...2971...> ) O=539< (152.170 2 O=404@ (171.173 4 C@ ) (171.174 2 MP>DI; (152.180 2 O>1195 at ...1309...< (11.181 2 O>2831?D=E1203;E>D;D;D;Ms< ) M\>D=B;D=B;DD;D ) (171.174 2 MP?D;D;D;E=M?;E< ) O=406;D?EG< ) O=541;D=D ) (171.174 2 MP>D;D;D;E=M?;E< ) O=406;D?E=DNuG; ) O=541DEAD;D1368 at ...2971...= ) O=539< (152.170 3 O=404> (171.173 4 C> ) (171.174 2 MP>D1195?J> (11.181 2 O>2831AD?E1203;E?D;DF2350DD15MsA ) M\CD at ...1308...D at ...2930...=D=E;FAG< ) O=541;D?D=EECDD;DD;D;D;E>M?;E; ) O=406EG; ) O=541;DD;F;E;JE=D;E;F=G< ) O=541DE=D;E;F>G; ) O=541D1368 at ...2933...=J= ) O=530;F>D;E;MT;Nu;M^;MG;Nu=M^;MG;NuM^;MG;Nu;M^;MG:NuM^;MG;Nu;M^;MG;Nu;M^;MG;Nu;M^;MG;Nu;M^;MG;NuD1368AK> ) O=539< (152.170 2 O=404? (171.173 3 C@ ) (171.174 3 MP?DI< (152.180 2 O>1195 at ...1309...= (11.181 2 O>2831 at ...2933...@E1203DB;DG; ) O=541FJD1368?K> ) O=539< (152.170 3 O=404? (171.173 4 C> ) (171.174 3 MP?D1195 at ...1309...= (11.181 2 O>2831>D>E1203EG; ) O=541J;NuD1368?K? ) O=539; (152.170 3 O=404? (171.173 3 C? ) (171.174 2 MP?D=D;D;E=I; (152.180 2 O>1195?J= (11.181 2 O>2831D21D at ...2930...1203;E?D;D;D;Ms< ) M\=D>B;D=B;DM^;E;D; (175.178 4 CD10 ) O=553>ED14D=D;DD1368 at ...2971...> ) O=539< (152.170 2 O=404> (171.173 3 C? ) (171.174 2 MP?DI; (152.180 2 O>1195 at ...1309...= (11.181 2 O>2831?D?E1203;E?D;D;D;Ms< ) M\?D>B;DM?;E; ) O=406;D?EG< ) O=541FD;D;KG; ) O=541 ) O=5531368?K= ) O=539< (152.170 2 O=404? (171.173 3 C> ) (171.174 2 MP>D1195>J= (11.181 3 O>2831 at ...2933...@E1203D>B;DG; ) O=541;D>DNu=M^ (175.178 2 C@ ) O=5531368>D=J= ) O=530;F=D;E;MT;Nu;M^M^;MG;NuM^D1368D11K@ ) O=539< (152.170 4 O=404B (171.173 6 CC ) (171.174 3 MP>DE123D=D;E>I< (152.180 2 O>1195AJ? (11.181 4 O>2831ADBE=E; ) O>1203=E at ...2933...B;D>B=D>BBBBEM^;E ) O=553;EBDEBDM^=E;D; (175.178 22 CC ) O=553DM^M^M^1368D10KB ) O=539< (152.170 2 O=404A (171.173 5 CA ) (171.174 4 MP=DI; (152.180 3 O>1195AJ? (11.181 1 O>2831AD at ...2930...?E; ) O>1203DB=D=BD=BB=D=BD=EM^;E;D; (175.178 4 CC ) O=553M^;EDM^DD=DM^J;Nu=M^;E;D; (175.178 4 CA ) O=553D=FM:; (152.170 2 O=404B (171.173 5 CB ) (171.174 2 MPBDDM^;EDD=D;DDM^EBD;D;D;D=DFM^;EEG= ) O=541=D=D=E=MK;Nu=M^ED10D=DM^ECD>D=D;D>DECDFDDE;D>E;FCG< ) O=541;D=DDM^;E;D< (175.178 1 C? ) O=553;E?DED10D=DJ;Nu=M^=E;D; (175.178 2 CC ) O=553=ECD=D;DFECD;D;DJM^;E;D; (175.178 4 CA ) O=553 ) O=553;E?D;DM^;E;D; (175.178 4 CA ) O=553=EBD=DM^;EEAD1368AK@ ) O=539< (152.170 3 O=404C (171.173 5 CD10 ) (171.174 5 MPAD=D;D1195D11J@ (11.181 3 O>2831BD?E;E; ) O>1203;E?D=D;D;Ms< ) M\AD>B=D=BB=D>BB;D=B;D>B ) O=406;D>E=DE=MK;Nu=M^M^;E;D< (175.178 3 CB ) O=553;E?D;D;D;D;D=FEADEAD ) O=553=ECDM^ ) O=553;EAD;D=D;DM^;EEBDDM:; (152.170 3 O=404@ (171.173 6 CA ) (171.174 3 MP>D;D;D;E=M?;E; ) O=406=D?E=D=E;F?G= ) O=541M^;E;D< (175.178 1 C? ) O=553;E?DJ;NuF;EM^;EECD ) O=553DED=E;MKM^M^ECD=D;D=D=D;F=ED ) O=553 (171.173 3 C= ) (171.174 4 MP at ...2933...M?;E< ) O=406=D at ...2930...=D=E;F at ...2956...< ) O=541D>E ) O=553M^D;G=J;NuBM^;EM:< (152.170 2 O=404D10 (171.173 5 CC ) (171.174 4 MPBD=D;D=E>M?E;FAG< ) O=541M^;ED1368BK? ) O=539< (152.170 3 O=404> (171.173 2 C= ) (171.174 2 MPBD;D1195BJ? (11.181 5 O>2831D10DBE>E; ) O>1203BBB;D>BE=D>DG; ) O=541D>EM^;E;D; (175.178 3 CD10 ) O=553=E at ...2933...;D;D;D;D;FF;E>JJ;Nu ) O=553;E?D;D=D ) O=553M^;EM^ (171.173 3 CC ) (171.174 2 MPBDD ) O=553;E at ...2933...;DED21D?D=DJM^D ) O=553;EBD>D ) O=553D;D=DDM^;E;D; (175.178 4 CB ) O=553M^;E;D< (175.178 2 CB ) O=553D ) O=553;EADDDDM^;E;D< (175.178 3 CD10 ) O=553=E?D;D;D;DG;JD=L; (152.179 2 O>1368CK? ) O=539< (152.170 2 O=404? (171.173 5 C= ) (171.174 2 MP=D1195=J< (11.181 2 O>2831>D?E1203;E?D;D;D;Ms< ) M\>D=BE ) O=553;E at ...2933...;D;D;D;D;F;E;J;Nu;M^;E;D; (175.178 1 C> ) O=553;E>D;D;D;D;D;F;E;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E>D;D;D;D;D;F;E;J;Nu=M^;E;D: (175.178 2 C= ) O=553D:D;D;D;D;F;E;J;Nu;M^;E;D; (175.178 1 C= ) O=553;E>D;D;D;D;D;F;E;J;Nu;M^;E:D; (175.178 1 C> ) O=553;E>D:D;D;D;D;F;E;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E>D;D:D;D;D;F;E;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E>D;D;D:D;D;F;E;J;Nu;M^;E;D; (175.178 1 C= ) O=553;E>D;D:D;D;D;F;E;J;Nu;M^;E;D; (175.178 1 C= ) O=553;E>D;D;D:D;D;F;E;J;NuD;D:D;D;D;F;E;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E;D: (175.178 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (175.178 1 C> ) O=553;E=D;D;D;D;D;F;E ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E;D: (175.178 1 C> ) O=553;E>D;D:D;D;D;F;E;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E>D;D:D;D;D;F;E;J;Nu;E;E;G;E;D;Mj;Nu;M^;MG:Nu;M^;MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG;Nu;M^:MGD52Nu=M^;MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG;Nu;M^;MG:Nu1368AK= ) O=539; (152.170 2 O=404= (171.173 3 C= ) (171.174 1 MP=D1195=J< (11.181 1 O>2831=D=E;E; ) O>1203;E=D;D;D;Ms; ) M\=D=B;D;B;D ) O=553D;D;D;D ) O=553;E>D;D;D;D;D;F;E;J;Nu;M^;E:D; (175.178 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (175.178 1 C> ) O=553;E>D;D;D;D;D;F;E;J;Nu;M^;E;D: (175.178 1 C> ) O=553;E>D;D;D;D;D;F;E;J:Nu ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (175.178 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (175.178 1 C> ) O=553;E=D;D;D;D;D;F;E;J:NuD;D;D:D;D;F;E;J;Nu;M^;E;D; (175.178 1 C= ) O=553;E>D:D;D;D;D;F;E;J;Nu;M^;E:D; (175.178 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^D13E ) O=553;E>D;D;D:D;D;FD;D;D;D;D;F;E;J;Nu;M^;E:D; (175.178 1 C> ) O=553;E=D;D;D;D;D;F:E;J;Nu;E;E;G;E;D;Mj;Nu;M^:MG;Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu1368>K= ) O=539; (152.170 1 O=404< (171.173 2 C= ) (171.174 1 MP=D;D:D;E1195=J< (11.181 1 O>28311203;E ) O=553;E?D;D;D;D;D;F;E;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E>D;D;D;D;D;F;E:J;Nu;M^;E;D; (175.178 1 C= ) O=553;E>D;D;D;D;D:F;E;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E=D;D;D;D;D;D;G;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E=D;D;D;D ) O=553;E>D:D;D;D;D;D;G;J;Nu;M^;E;D: (175.178 2 C= ) O=553;E>D;D;D;D;D;D;G;J;NuD;D;D ) O=553;E>D;D;D;D;D;F;E;J:Nu ) O=553;E>D;D;D:DD;D;D:DD;D;D;D;D;F;E;J;Nu;M^;E:D; (175.178 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E;D: (175.178 1 C> ) O=553;E>D;D;D;D;D;F;E;J:NuM^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG;Nu:M^;MG;Nu;M^;MG:Nu;M^;MG:Nu;M^;MG;Nu;M^:MG;Nu;M^;MG:Nu;M^;MG;Nu:M^;MG;Nu;M^:MG;EDD;M?;NI;E;E;D;G;D;M?;NI;E;E;D;G;D;M?;NI;E;E;DD;DMA;E;D;MY;D;D:D;F;G;D;MG;E;H;D;M:: (183.188 1 O=121>EK;E;D ) (183.187 1 O=142=EEE ) (183.187 1 O=142F;D=K;E< ) O=629;E1295=E> ) O=357;ED16 ) (152.Exit 7 O=654ADE414DE924 (161.Exit 6 MT?ECE; ) O=658 ) (Param.param 44 C? ) (Project.Project 28636 CD43 ) (11._init 5 O=190?DD31DD35DD11DCDBDBDBDBDBDBDD13DD12DCEBE; ) (11.Main 2657 O=232D15DG10154GD13HAED11ED27 (11.RefreshBreakpointPicture 3 O>5121CEG25618EG22249DD97ED54EF2595DD49ED16E> ) O=248 (VersionControl.VersionControl 161 CD10 ) (17.GetVersion 19 O=343?DD17DG14794DD50HA ) O=335>E=FBI> ) O=274; (11.InitWebView 7 O=211D10DCD at ...2929...=DD10D=D at ...2975...= ) O=276< (FMain.FMain 503 CA ) (21.FMain 298 (21.FMain 6 CG89750 ) CB ) (21._new 2 MDAED31D at ...2930...DD57 (26.SetState 2 M?=E=E;DD80D=DD18DD18DD26ED18FD27E< ) M`5355>GD40 ) O=605E599 (11.SetSmallFont 6 O>5362>ED56E= ) O=606;DD27DD65DD43DD45DD47DD26EE128DD49 (11.37 4 O>5362?ED31E< ) O=616;B< (11.37 1 O>5362=ED29E< ) O=616;B< (11.37 1 O>5362=ED27E< ) O=616;EE; ) M];DD75DD26ED13DE170DCD>D?E at ...2976...?E; ) (3.48 22 O=158BDE;E: ) (3.AllowRelative_Write 2 O=275?DD12D@ (3.RefreshMenu 1 O=245>D=ED67D?DD90DCAE;E; ) CG10976 ) CD10 ) (42._new 4 MSD10EE235DE149DD28E?E; ) MPD85DD75 (FFormStack.FFormStack 232 CC ) (53.FFormStack 95 (53.FFormStack 6 CF4117 ) CB ) MRD47FD80 (FOption.FOption 668 CE134 ) (57.FOption 157 (57.FOption 7 CH271005 ) CB ) (57._new 2 MwADE253DD53DF5872DE131DE108ED81 (MTheme.MTheme 116 CE164 ) (62._init 4 MD;D>DE115F=DE373ED24 (62.ReadSettings 3 MH?G=DG;DB;D=B;D (57.ReadConfig 2 MFBE=D=ED15E at ...2930...E;I;E;D;IE126NF at ...2933...;ED12E=E;D;F>M;ANF;D;ECED;DD75DDN:;DD66D>D>D;DD76D=DD84DD20E>N:;DD64D>D=DN:;DD65D?D=D;DD85D=DD85DD20E?N:;DD66D>D>D;DD74D=DD83DD20E>N:;DD65D>D>D;DD74DD>D;DD74D=DD85DD20E?N:;DD70D?D=DD>D;DD74D=DD83DD20E?N:;DD63D>D=DN:;DD63D>D>D;DD74D=DD87DD27E?N:;DD66D>D=D;DD73D=DD86DD20E?N:;DD62D>D>D;DD74D=DD87DD20E?N:;DD62DD77D at ...2933...;DD78D=DD88DD21E?N:;DD63D>D>D;DD89D=DD87DD20E?N:;DD63D>D=DDAD;M;;E;E> ) MH:E; ) M=5349=GD19 ) Mh=DD49D=DD27BGB (FWelcome.FWelcome 238 CC ) (79.Run 3 MN>E< (79.FWelcome 120 (CRecentFile.CRecentFile 83 CD40 ) (79.FWelcome 5 CF5025 ) CC ) (79.Form_Open 3 M[CDD65ED14D (CCoolButton.CCoolButton 168 C? ) (87.CCoolButton 5 CA ) (87._new 3 ME>DD97DD11DE365DCD (87.89 38 CD15 ) (87.90 6 ME at ...2980...>DHE684E at ...2981...= ) Mc= (87.89 26 CC ) (87.90 3 ME?DE110DD12DD69D>DDE116DD11DD55D>DD ) Me< (87.89 26 CD10 ) (87.90 5 ME?DE100DCDD33D>D (87.89 27 CC ) (87.90 3 ME?DE112DD11DD54D?DE;E; ) Mk;A; (87.91 1 O=185=ED28E< ) Mj; (87.92 1 O=197=EE;E; ) Mk;A; (87.91 0 O=185=ED27E< ) Mj; (87.92 1 O=197>E;E; ) Mk:A; (87.91 1 O=185=ED26E= ) Mj; (87.92 1 O=197=E;E; ) Mk;A; (87.91 1 O=185E;E; ) Mk;G;DD19 (79.UpdateMenuSort 2 O=341>DCD at ...1308... (83.OutOfDate_Read 3 O=202>DF;;;DCD; (83.98 11 C> ) (83.99 2 MC ) (83.99 2 MC ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG< ) O=112:D ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG; ) O=112;D ) (83.99 1 MCG; ) O=112;DG; ) O=112;DD;E;F:H> ) (83.101 1 MO=D;E;F:H< ) (83.101 1 MO (83.GetTitle 2 McF;D;M at ...2939... ) Mn< ) O=456;DD; (CProjectInfo.CProjectInfo 114 C@ ) (110.CProjectInfo 2 CB ) (110._new 1 O=104= (110.GetProjectPath 2 MKE< (110.Description_Read 1 O=153= (110.ReadProject 1 M]ED15DD24DD;D;E;D;E;DD14E=E;F:F;F;F;F:F;H;NS;D;D;E;D;E;D;E;E:F;F;F:F;F;F;H:E?ED16D=HEE; (110.116 2 O=153? (110.117 2 M]?Mi; ) O=154 (83.102 4 McBD;ELD43 ) O=105>E at ...2930...< ) MjD (83.102 2 McADF;DD< (110.112 3 CD10 ) (110.113 4 O=104? (110.114 2 MK>LD40 ) O=105>E at ...2930...; ) Mj ) O=154 (83.102 2 Mc at ...2933...;E;F; (83.103 1 Mp=D>FD59D=M at ...2950... ) Mn< ) O=456;M=< (104.106 165 CA ) (104.107 1 MW?D;DD86DD61E at ...2940...=E; ) O=470LD37 ) O=105=EAE; ) Mj=E;DD23D> (104.115 1 O=239 at ...2930...< (110.116 2 O=153> (110.117 3 M]>D;E;ENS=D;D;E;D;E;DD;E;F; (83.103 1 MpF;D;M at ...2985... ) Mn< ) O=456;M=< (104.106 160 C@ ) (104.107 2 MWLD37 ) O=105=EAE< ) Mj (110.117 1 M]>DD;MQD;E;D;E;D;E;E;FLD42 ) O=105>EAE; ) Mj (110.117 2 M]?D;ENS;D;D;E:DD20ENS;D;D;E:D;E;D;E;E:F;F;F:F;F;F;H:NS;D;D;E;D:E;D;E;E:F;F;F:F;F;F;H:E=ED21D ) O=154;G= ) O=242;G=E;G;FD19D>E; (110.116 1 O=153? (110.117 1 M]=Mi; ) O=154;G; ) O=259; (110.116 2 O=153= (110.117 1 M]D>F;D;M at ...2950... ) Mn< ) O=456;M=< (104.106 181 C@ ) (104.107 2 MW=D;DD88DD64E at ...2940...D< (110.112 4 CD10 ) (110.113 4 O=104> (110.114 3 MK=LD45 ) O=105=E at ...2930...; ) Mj (104.115 2 O=239?E< (110.116 2 O=153> (110.117 2 M]>D;E ) O=154;G< ) O=242;G (83.102 2 McAD;E;F; (83.103 1 Mp=D=FLD39 ) O=105>EAE; ) Mj (110.117 2 M]>D;ENS ) O=154;G< ) O=242 (110.117 2 M] (83.102 3 McAD;ELD42 ) O=105=E at ...2930...< ) Mj (110.117 2 M]>DED28DD39D=D;MQ (110.117 2 M] (83.102 2 Mc at ...2933...;E;F; (83.103 1 Mp=D=FD; (110.112 3 CC ) (110.113 2 O=104@ (110.114 2 MK=LD41 ) O=105>E at ...2930...; ) Mj (104.115 1 O=239 at ...2930...; (110.116 2 O=153> (110.117 2 M]>DNS;D;D;E;D:E;D;E;E;F:F;F;F:F;F;D;G;NS;D;D;E:D;E;D;E:E;F;F;F:F;F;F;D:G ) O=154;G= ) O=242;G (110.117 1 M]=Mi; ) O=154;G; ) O=259; (110.116 2 O=153< (110.117 1 M]=Mi; ) O=154:G; ) O=262E518GAG< ) MoD18E?E; ) O=220;E< ) O=478FD; (110.112 3 CD11 ) (110.113 4 O=104> (110.114 2 MK>LD40 ) O=105=EAE; ) Mj (110.117 2 M]=D;E;E;E>ED27DD36DNS;D;D:E;D;E;D;E:E;F;F;F:F;F;F;D:G (110.117 1 M]=Mi; ) O=154;G; ) O=259; (110.116 2 O=153< (110.117 1 M]=Mi; ) O=154:G< ) O=262E529GBG; ) MoD18E>E; ) O=220;E< ) O=478F;D;M at ...2943... ) Mn> ) O=456;M== (104.106 205 CB ) (104.107 2 MW>D;DE232DD91ECED20H=E< ) O=470=H at ...2933...; (104.108 3 O=218C (104.109 3 Mh>D< (110.112 3 CD10 ) (110.113 3 O=104? (110.114 2 MK>LD44 ) O=105=ECE; ) Mj (110.117 2 M]>D;E;E;E at ...2989...NS ) O=154 (83.102 3 Mc?D;EFD22 ) Mn= ) O=456;D (110.114 3 MK>LD31 ) O=105=E?E; ) Mj;E;DD17D= (104.115 1 O=239>E; (110.116 2 O=153< (110.117 1 M]ED25DD40DED20F=F ) O=154:G= ) O=244;E;EE; ) O=220;E< ) O=478;NH< (83.102 2 Mc>D;E:F; (83.103 1 Mp=D=F;E;D;M>D18 ) Mn= ) O=456;M=; (104.106 137 C@ ) (104.107 2 MW=D;DD86DD38E at ...2942...=E; ) O=470=H?D; (104.108 3 O=218? (104.109 3 Mh>D< (110.112 2 CC ) (110.113 2 O=104? (110.114 2 MK?LD25 ) O=105=E?E; ) MjE< (110.116 1 O=153< (110.117 1 M]ED21DD28D=D:MQ (110.117 1 M]=Mi; ) O=154;G; ) O=259; (110.116 2 O=153< (110.117 1 M]=Mi; ) O=154:G; ) O=262E613GCG; ) MoD18E?E; ) O=220;E< ) O=478;NH> (83.102 3 Mc at ...2933...;E;F: (83.103 1 Mp=D?F;E;DD21 ) Mn< ) O=456;M== (104.106 156 C@ ) (104.107 2 MWD< (110.112 3 CD29 ) (110.113 4 O=104? (110.114 2 MK>LD30 ) O=105>E at ...2930...< ) Mj;E (110.117 3 M]>D;E;E;E>ED22DD37D=D;MQ;NSNS;D;D;E:D;E;D;E;E:F;F;F;F:F;F;D:G ) O=154;G< ) O=244;E (110.117 1 M]=Mi; ) O=154;G; ) O=262;G;G; ) MoD12E=E; ) O=220;E< ) O=478;NH= (83.102 1 Mc>D;E;F; (83.103 0 Mp=D=F;E;DD22 ) Mn= ) O=456;M== (104.106 459 CD16 ) (104.107 6 MW?DD< (110.112 3 CD10 ) (110.113 4 O=104? (110.114 2 MK=LD31 ) O=105>EAE; ) MjED21DD37D ) O=154;G< ) O=242;G=E:GE< ) O=220:E< ) O=478EE419ED14E@ ) Ms;DA (79.Toggle 2 O=146D11H=FD;D; (110.121 1 O=127DDD;D; (110.121 1 O=127DD;D; (110.121 1 O=127=G; ) O=307; ) O=402=D;G;;D;D; (110.121 1 O=127DD;D; (110.121 1 O=127D;D:I;;;F;DE< ) O=166;DBDD10 (79.panList_Arrange 2 O=359>DD11ED12E< ) O=173 ) (79.122 16432 O=359D18DD13EBE< ) (79.122 4326 O=359D16DD13EBE< ) (79.122 4420 O=359D17DD12EBE< ) (0 2544 (79.timLayout_Timer 122470 O=581D19D at ...2968...= (104.ProjectItem_BeforeArrange 4 O=309A (104.115 5 O=239 at ...2930...> (110.116 2 O=153@ (110.117 3 M]?Mi= ) O=154;G= ) O=242Mi< ) O=154;G= ) O=259; (110.116 4 O=153D21 (110.117 3 M]@Mi< ) O=154;G= ) O=262E786GD15G= ) O=311D13E? ) O=597<=BDE; (110.116 2 O=153@ (110.117 2 M]>Mi< ) O=154;G< ) O=259; (110.116 3 O=153> (110.117 2 M]=Mi; ) O=154 (110.117 3 M]?Mi< ) O=154 ) O=311>E< ) O=311D79E> ) O=597<=ADE< (110.116 1 O=153? (110.117 1 M]?Mi< ) O=154Mi< ) O=154;G< ) O=259< (110.116 2 O=153? (110.117 2 M]>Mi; ) O=154;G= ) O=262F1460GD14G> ) (104.125 64 O=309D12 (104.115 4 O=239 at ...2930...= (110.116 2 O=153> (110.117 3 M]>Mi= ) O=154;G< ) O=242 ) O=311>E< ) O=311D73E? ) O=597<=@...2933... (104.125 1 O=309B (104.115 3 O=239>E< (110.116 2 O=153> (110.117 2 M]>Mi= ) O=154;G< ) O=244;MJ< ) O=311=E; ) O=597<= (104.115 2 O=239=E< (110.116 1 O=153> (110.117 1 M]=Mi< ) O=154;G; ) O=242E; (110.116 1 O=153@ (110.117 2 M]>Mi< ) O=154E< ) O=311D80E@ ) O=597<=@...2933... (104.125 1 O=309A (104.115 3 O=239?E< (110.116 2 O=153? (110.117 2 M]?Mi< ) O=154E; (110.116 1 O=153@ (110.117 3 M]@Mi< ) O=154;G< ) O=259< (110.116 2 O=153? (110.117 1 M]D82Mi? ) O=154;G< ) O=262F1240GD16G> ) (104.125 75 O=309D13 (104.115 4 O=239AE< (110.116 3 O=153? (110.117 3 M]>Mi= ) O=154;G< ) O=242E< ) O=311D75E? ) O=597<=@...2933... (104.125 2 O=309@ (104.115 3 O=239?E> (110.116 1 O=153? (110.117 1 M]?Mi< ) O=154;G< ) O=242EE< (110.116 1 O=153? (110.117 2 M]?Mi; ) O=154Mi; ) O=154;G< ) O=262E816GD13G= ) O=311D10E> ) O=597<=BD=D;D> (104.125 2 O=309D10 (104.115 4 O=239 at ...2930...< (110.116 3 O=153? (110.117 2 M]@Mi< ) O=154;G= ) O=242;G>E;G (110.116 1 O=153A (110.117 2 M]?Mi< ) O=154;G< ) O=259; (110.116 3 O=153? (110.117 1 M]?Mi; ) O=154;G= ) O=262F3276GD16G= ) (104.125 64 O=309D12 (104.115 5 O=239?E= (110.116 2 O=153? (110.117 2 M]@Mi< ) O=154E< ) O=311D72E? ) O=597;=@...2933...E; (110.116 2 O=153? (110.117 2 M]?Mi< ) O=154;G< ) O=259< (110.116 2 O=153? (110.117 2 M]?Mi< ) O=154;G< ) O=262E967GD13G> ) (104.125 51 O=309D10 (104.115 4 O=239?E= (110.116 2 O=153? (110.117 2 M]?Mi= ) O=154;G< ) O=242 ) O=311=E= ) O=311D60E> ) O=597<=@...2933...Mi< ) O=154Mi< ) O=154;G< ) O=259< (110.116 2 O=153? (110.117 2 M]?Mi; ) O=154E< (110.116 2 O=153> (110.117 2 M]>Mi; ) O=154;G< ) O=242Mi; ) O=154 (104.125 2 O=309D10 (104.115 4 O=239?E= (110.116 2 O=153? (110.117 3 M]?Mi< ) O=154;G< ) O=242;G=E;G=FD12D=E; (110.116 1 O=153@ (110.117 1 M]>Mi< ) O=154;G< ) O=259; (110.116 3 O=153? (110.117 2 M]>Mi; ) O=154;G< ) O=262F1566GD25G> ) (104.125 82 O=309D14 (104.115 5 O=239 at ...2930...= (110.116 2 O=153B (110.117 4 M]AMi= ) O=154 ) O=311=E= ) O=311D83E? ) O=597<=@...1794...===D;D;D> (104.125 2 O=309@ (104.115 2 O=239?E< (110.116 2 O=153> (110.117 2 M]?Mi< ) O=154;G< ) O=244;MJ= ) O=311=E< ) O=597<==DE< (110.116 1 O=153> (110.117 1 M]?Mi< ) O=154;G< ) O=242;GMi< ) O=154;G; ) O=259< (110.116 2 O=153? (110.117 1 M]>Mi< ) O=154;G< ) O=262F1124GD13G> ) (104.125 54 O=309D12 (104.115 5 O=239?E> (110.116 2 O=153? (110.117 3 M]?Mi= ) O=154 ) O=311>E; ) O=311E627ED13 ) O=597==D10D>D (104.125 2 O=309D10 (104.115 5 O=239 at ...2930...= (110.116 2 O=153> (110.117 3 M]>Mi< ) O=154D;D;D< (104.125 1 O=309? (104.115 2 O=239>E< (110.116 1 O=153> (110.117 2 M]=Mi< ) O=154;G< ) O=242;G=EE; (110.116 1 O=153? (110.117 1 M]>Mi; ) O=154;G; ) O=259< (110.116 2 O=153> (110.117 1 M]=Mi; ) O=154;G< ) O=262E875GD16G> ) O=311D13E> ) O=597 (110.116 2 O=153? (110.117 3 M]@Mi= ) O=154 ) O=311?E= ) (104.125 238 O=309B (104.115 3 O=239>E= (110.116 1 O=153? (110.117 2 M]>Mi< ) O=154;G< ) O=244E< ) (104.125 719 O=309D21 (104.115 7 O=239AE= (110.116 2 O=153? (110.117 3 M]?Mi< ) O=154 ) O=311 at ...2930...< ) (104.125 241 O=309D10 (104.115 4 O=239?E< (110.116 2 O=153@ (110.117 2 M]?Mi< ) O=154 ) O=311>E< ) (104.125 230 O=309A (104.115 3 O=239 at ...2930...= (110.116 1 O=153? (110.117 2 M]>Mi< ) O=154E< ) (104.125 252 O=309B (104.115 3 O=239?E= (110.116 1 O=153? (110.117 2 M]>Mi< ) O=154;G< ) O=242E< ) (104.125 222 O=309D10 (104.115 3 O=239?E= (110.116 1 O=153@ (110.117 2 M]?Mi< ) O=154;G< ) O=242Mi< ) O=154 ) O=311>E= ) (104.125 436 O=309D13 (104.115 5 O=239?E= (110.116 1 O=153? (110.117 3 M]>Mi< ) O=154;G< ) O=242E< ) (104.125 221 O=309B (104.115 3 O=239>E< (110.116 1 O=153> (110.117 2 M]>Mi< ) O=154;G< ) O=242E; ) (104.125 495 O=309D10 (104.115 4 O=239?E< (110.116 2 O=153> (110.117 2 M]>Mi; ) O=154E< ) (104.125 213 O=309B (104.115 3 O=239>E< (110.116 2 O=153= (110.117 2 M]>Mi< ) O=154;G< ) O=242;ML= ) O=311=E; ) (104.125 208 O=309B (104.115 3 O=239?E< (110.116 1 O=153> (110.117 2 M]?Mi< ) O=154Mi< ) O=154;G< ) O=242;ML= ) O=311=E< ) O=601F5603ED20 ) (79.dwgTitle_Draw 35190 O=566D32ED23DD46DG22506DD26EF1513ED17 ) (87.Panel_Draw 286 MaD14E?DD74EF1567KD21E> ) (87.127 164 MaD14E=DD32EE433K at ...2930...< ) (87.127 100 MaCE;DD24EE435KD10E= ) (87.127 111 MaCEDD26EE328KAE< ) (79.dwgExample_Draw 3720 O=207D25G?DD22DE488ED49E= ) (104.DrawingArea_Draw 145 O=100D12J>E< (104.Background_Read 3 O=186?G> ) O=111?E4731?DF1147HD15D at ...2956...;I ) M{AD< (110.Title_Read 3 O=139@ (110.117 3 M]?Mi= ) O=140;G< ) M} (110.134 17 O=139A (110.117 2 M]>Mi< ) O=140;G< ) M?=G;D ) O=111?E=D; (110.131 3 O=167@ (110.117 2 M]@Mi< ) O=1684731ADF1911HD13D?G;I;FE227K= ) O=117D31DD31 (104.133 2 MyC (104.130 2 O=186=G= ) M{?D< (110.134 1 O=139> (110.117 2 M] (110.117 2 M]=Mi; ) O=140;G; ) M?Mi< ) O=154;G< ) O=129D10D=DD14D=D=DE635HF1563M?D12E= ) (104.129 134 O=100CJE4731>DF1079HD10D>G;ID; (110.134 2 O=139= (110.117 1 M]=Mi< ) O=140;G; ) M};D; (110.121 2 O=127>G; ) (110.135 1 O=146= (110.117 1 M] (110.117 1 M]Mi< ) O=154;G< ) O=129?D (110.117 1 M]=Mi< ) O=168;G; ) (11.132 2 O>4731=DE841H at ...2933...=G;I;FE147K> ) O=117D23DD19 (104.133 2 My? (104.130 2 O=186=G< ) M{=D; (110.134 2 O=139> (110.117 1 M]=Mi; ) O=140;G< ) M} (110.117 2 M]>Mi; ) O=147;G< ) M= (110.134 16 O=139? (110.117 3 M]>Mi< ) O=140;G; ) M?=G;DMi< ) O=154;G< ) O=129=M: ) O=111?E=D< (110.131 2 O=167? (110.117 1 M]?Mi< ) O=1684731 at ...2991...=G;I;FE147K= ) O=117D24DD19 (104.133 3 MyA (104.130 2 O=186=G< ) M{>D; (110.134 1 O=139> (110.117 2 M]Mi< ) O=140;G; ) M?Mi; ) O=154 ) (104.129 172 O=100D11J=E; (104.130 2 O=186=G= ) O=111=E4731>DF9057DD17D ) O=117D45DD24 (104.133 3 MyD10 (104.130 2 O=186>G= ) M{BD; (110.134 1 O=139? (110.117 1 M]=Mi< ) O=140;G; ) M};D< (110.121 1 O=127>G; ) (110.135 2 O=146< (110.117 1 M] (110.117 1 M]D ) (104.129 138 O=100D10J=E; (104.130 1 O=186=G= ) O=111=E (110.117 1 M]>Mi; ) O=168;G; ) (11.132 2 O>4731>DE639H at ...2933...=G;I;FE111KD62 ) O=117D30DD22 (104.133 2 My@ (104.130 2 O=186=G< ) M{=D; (110.134 2 O=139> (110.117 1 M]Mi< ) O=154;G; ) O=129?DE; ) (87.127 58 Ma at ...2930...;DD19ED95K=E; ) (87.127 52 Ma?E;DD18ED94K=E; ) (87.127 52 Ma?E;DD18ED67K=E; ) (87.127 52 Ma?E;DD18ED91K=E; ) (87.127 52 Ma?E;DD16ED55K=E; ) (79.128 759 O=207CG=D at ...2992...< ) (104.129 74 O=100 at ...1309... (104.130 2 O=186 (110.117 2 M]=Mi; ) O=147 (110.117 1 M]=Mi; ) O=140;G; ) M?Mi= ) O=154;G< ) O=129?D;DD14D>D=DE300HE471M?CE< ) (104.129 120 O=100D10J=E; (104.130 2 O=186?G= ) O=111>EG< ) M{ (110.117 2 M]>Mi< ) O=140;G< ) M}G< ) (110.135 1 O=146> (110.117 1 M]>Mi; ) O=147;G< ) M< (110.134 14 O=139? (110.117 2 M]>Mi; ) O=140;G< ) M?DE675HF1195M?D11E= ) (104.129 126 O=100CJ (104.130 1 O=186=G; ) M{ (110.117 1 M]=Mi; ) O=140;G; ) M?Mi< ) O=154;G< ) O=129 at ...2933...;DD12D=D>DE343HE649M?CE= ) (104.129 121 O=100CJ;E; (104.130 2 O=186=G< ) O=111=E;G;DD17 (104.133 3 My? (104.130 1 O=186 (110.117 1 M]=Mi; ) O=140;G; ) M?Mi< ) O=154;G; ) O=129E; ) (104.129 106 O=100?J (110.117 2 M]D;DE367EE605 (110.116 10 O=153D10 (110.117 3 M]?Mi> ) O=154;G< ) O=129D40D>DD17D=D=DF3050HF6794M?D22E? ) (104.129 152 O=100D11J=E; (104.130 14 O=186>G= ) O=111>E (104.130 1 O=186=G< ) M{ (110.117 1 M]=Mi; ) O=140;G< ) M};D; (110.121 1 O=127=G; ) (110.135 1 O=146< (110.117 2 M] (110.117 1 M]Mi< ) O=154;G; ) O=129BD;DD14D=D=DE544HF1116M?D15E> ) (104.129 129 O=100D11J=E; (104.130 1 O=186=G= ) O=111=E (104.130 1 O=186=G< ) M{;D; (110.134 2 O=139< (110.117 2 M] (110.117 2 M]E;DD18ED94K=E: ) (87.127 53 Ma?E;DD18ED67K=E; ) (87.127 53 Ma?E;DD18ED99K=E; ) (87.127 53 Ma?E;DD16ED66K=E; ) (79.128 1358 O=207D14G>D at ...2993...< ) (104.129 84 O=100 at ...1309...=E; (104.130 1 O=186>G< ) O=111=E;G;DD14 (104.133 2 My> (104.130 2 O=186=G< ) M{ (110.117 1 M]D>DE404HE499M?D10E> ) (104.129 124 O=100CJ (110.117 1 M]Mi< ) O=154;G; ) O=129CDMi< ) O=140;G< ) M}Mi; ) O=140 (110.117 1 M]=Mi; ) O=140;G; ) M};D< (110.121 1 O=127 (110.117 1 M]Mi; ) O=154;G< ) O=129=M:;M?>E; ) (104.129 119 O=100 at ...1309... (104.130 1 O=186 (110.117 1 M] (104.130 2 O=186 (110.117 1 M]DE577HE957M?D11E= ) (104.129 124 O=100BJ=E; (104.130 1 O=186=G= ) O=111=E;G;DD19 (104.133 2 My? (104.130 1 O=186=G; ) M{ (110.117 1 M]=Mi; ) O=140;G; ) M?ED34E= ) Mw;E; ) (87.Panel_Leave 489 M|D12D= (87.137 1 M[@E at ...2930...< ) M;E; ) (104.DrawingArea_Enter 181 O=158D12F?D;GD11E= ) (87.127 1537 MaD20E at ...2994...= ) (104.129 383 O=100D11J>ED93 (104.130 3 O=186>G= ) O=111 (104.130 2 O=186=G; ) M{ (110.117 2 M]Mi< ) O=154;G; ) O=129D11D ) O=111?E (104.130 1 O=186 (110.117 2 M] (110.117 2 M]Mi< ) O=154;G; ) O=129D11D=DD11D (104.130 1 O=186=G; ) M{Mi< ) O=154;G< ) O=129 at ...2933...;DD15D=D=DE350HE635M?D71E= ) (104.140 20792 O=170D18E at ...2933...;FD23E> ) (104.139 664 O=158D11F=D ) O=111>E (110.117 2 M] (110.117 1 M]=Mi; ) O=140;G; ) M?Mi; ) O=154;G< ) O=129?DG= ) O=111 (104.130 1 O=186 (110.117 1 M]=Mi; ) O=140;G; ) M?Mi< ) O=154;G; ) O=129>M:G< ) M{=D; (110.134 2 O=139@ (110.117 2 M]?Mi= ) O=140;G< ) M} (110.117 2 M]>Mi< ) O=147;G< ) M> (110.134 15 O=139@ (110.117 2 M]?Mi; ) O=140 ) O=154;G= ) O=129?M:=M?D10E= ) (104.129 212 O=100D11J?EE411 (104.130 7 O=186BG> ) O=111>EMi= ) O=140;G< ) M} (110.117 2 M]>Mi< ) O=147;G< ) M> (110.134 13 O=139A (110.117 1 M]?Mi; ) O=140DD20D>D?DF6328HG10494M?D23E> ) (104.140 247422 O=170D19E?DE< ) (104.129 1163 O=100D13J>ED63 (104.130 4 O=186>G= ) O=111=E (104.130 1 O=186=G; ) M{ (110.117 1 M]=MiD14 ) O=140Mi< ) O=154;G; ) O=129>M: (104.130 1 O=186 ) (104.140 41694 O=170D19E at ...2933...ED83 (104.130 3 O=186>G= ) O=111=E;G;DD18 (104.133 3 My> (104.130 2 O=186 (110.117 1 M]=Mi; ) O=140;G; ) M?Mi< ) O=154;G; ) O=129 at ...2933...E; (104.130 2 O=186?G> ) O=111>EG= ) M{Mi< ) O=140;G< ) M}G< ) (110.135 2 O=146> (110.117 1 M]?Mi; ) O=147M:ED93 (104.130 3 O=186>G< ) O=111=E (104.130 2 O=186 (110.117 2 M]Mi< ) O=154;G< ) O=129CDMi< ) O=140;G< ) M};D< (110.121 2 O=127>G; ) (110.135 2 O=146> (110.117 1 M]>Mi; ) O=147;G< ) M> (110.134 17 O=139? (110.117 2 M]=Mi< ) O=140;G; ) M?=G ) O=120;D=DE572E at ...2933...;DE362EE624 (110.116 7 O=153B (110.117 2 M]>Mi< ) O=154;G; ) O=129 at ...2933...E< ) (104.129 1299 O=100D16J>ED72 (104.130 3 O=186?G= ) O=111 (104.130 1 O=186=G; ) M{ (110.117 1 M]=Mi; ) O=140;G; ) M? (104.130 1 O=186=G; ) M{ (110.117 1 M]D;DE345EE599 (110.116 7 O=153@ (110.117 2 M]=Mi< ) O=154;G; ) O=129D10D ) (104.140 26210 O=170D18E?DE=G;DD19 (104.133 2 My> (104.130 2 O=186 (110.117 1 M]=Mi< ) O=140;G; ) M};D; (110.121 1 O=127 (110.117 1 M]F> (11.Exit 7 O=815D13 (CSampleCode.CSampleCode 248 CD10 ) (143.Exit 12 O=103 at ...2930...=E; ) O=816< (CLibraryInfo.CLibraryInfo 217 CD16 ) (146.Exit 5 MQ? (146.Clear 1 MK>E>E; ) MSED12E< ) O=818; (CComponent.CComponent 199 CD17 ) (151._init 5 O=316?D> (151.InitComponentNames 1 M~?DD42DD20DD19DD17DD19DD17DD18DD16DD16DD16DD16DD17DD16DD18DD19DD17DD18DD21DD20DD18DD18DD20DD19DD18DD16DD17DD19DD18DD18DD18DD19DD16DD21DD20DD18DD18DD20DD17DD18DD18DD16DD17DD16DD15DD18DD17DD18DD19DD41DD19DD18DD17DD19DD18DD17DD17DD14DD15DD16DD19DD17DD17DD17DD17DD18DD35ID75DD17DD19DD18DD18DD18ED17E= ) O=329DD59E?E@ (151.CComponent 7 CD36 ) O=226ADD17DD13DAE?ECE;D;EEE (151.155 3 O=212D11E at ...2996...=DD24E>E< (151.156 4 CD28 ) O=226>DBD?D>E=E at ...2930...EED19IB ) O=333DD27E=E> (151.156 4 CD31 ) O=226?DAD at ...2933...>E>NeED19IC ) O=333DD23E=E= (151.156 3 CD32 ) O=226>DAD>D=E=EAE;D:EED48IB ) O=333E=HE;D;EE;D;E;E;H;D;EE;D;EE;McED33IC ) O=333 (151.155 1 O=212BE>DD29H>DD28E>E> (151.156 4 CD29 ) O=226?DBD=D;E;EAEE;D:E=E (151.155 2 O=212D11EADD27H=DD24E>E< (151.156 4 CD20 ) O=226=D at ...2933...>D=EE;DE;D;E;E;H;D;E;D;E;E;E;E;E;E;E;E;M;;E;K;NeED23IA ) O=333;B> (151.155 2 O=212BE?DD24H>DD22E>E; (151.156 4 CD19 ) O=226=D at ...2933...>DE;D;E (151.155 2 O=212AE>DD22H>DD25E=E; (151.156 4 CD16 ) O=226>D?D>DE;D;E (151.155 1 O=212?E=DD44H=DD26E=E; (151.156 4 CD17 ) O=226>D>D>D (151.155 1 O=212 at ...2930...=DD18H=DD19E=E< (151.156 2 CD17 ) O=226=D?D=D (151.155 1 O=212 at ...2930...>DD17H=DD19E=E< (151.156 2 CD16 ) O=226=D at ...2933...=DE;D;EDENeDE;D;E (151.155 1 O=212AE>DD22H=DD27E=E< (151.156 3 CD16 ) O=226=D at ...2933...>DNe=E;Mc;E?D (151.155 1 O=212 at ...2930...?DD19H>DD21E>E; (151.156 3 CD17 ) O=226=D at ...2933...=D=E;E?E;D;E (151.155 1 O=212?E=DD20H=DD19E=E< (151.156 3 CD15 ) O=226=D at ...2933...=D=E;E>E;D;ENe=E;Mc;E at ...2933...;H>ED16IA ) O=333;B> (151.155 2 O=212 at ...2930...>DD19H=DD21EDBA (151.155 4 O=212D18ECDD63H=DD69E>E> (151.156 5 CD24 ) O=226=DD12DD13DBEE;HHAEE647ID20 ) O=333=B? (151.155 2 O=212D10EBDD40H=DD40E>E< (151.156 5 CD40 ) O=226?DCDAD=EE;D;EB> (151.155 2 O=212AE>DD33H=DD28E=E< (151.156 5 CD18 ) O=226>DAD at ...2933...=E;E at ...2930...EE;D;E;ED;MbED27IB ) O=333DD34E>E< (151.156 4 CD21 ) O=226>DD12D at ...2933...>E (151.155 1 O=212BE=DD25H=DD48E>E< (151.156 2 CD18 ) O=226=D at ...2933...>D=E;E>EE;D;MPBNeED27IA ) O=333DD24H=DD24E=E; (151.156 3 CD15 ) O=226=DAD>DE (151.155 1 O=212AE>DD19H>DD20E=E< (151.156 3 CD16 ) O=226=D at ...2933...=D=E;E?E;D;ENe?ED;E;D;E;E;E;E;E;E;D;MH?Ne=E;D;E;E;H;D (151.155 1 O=212 at ...2930...>DD19H=DD21E>E< (151.156 3 CD16 ) O=226=D at ...2933...>D (151.155 1 O=212 at ...2930...?DD23H=DD23E>E; (151.156 4 CD16 ) O=226=D?D>DEDD22HE;D;E;E;H;DNeNeB? (151.155 2 O=212D10EADD50HE< (151.156 7 CD18 ) O=226>DAD>D=E;E?E;D;EED24IB ) O=333DD20H=DD21E=E< (151.156 3 CD17 ) O=226=D?D>D=EEE;D;E=EEEDD26H=DD30E>E; (151.156 4 CD18 ) O=226>D at ...2933...>D=E;E?E;D;EE at ...2933...;H?ED17IA ) O=333D at ...2933...=DED17IA ) O=333 (151.155 1 O=212?E=DD20HE;D;EE at ...2933...;HD11ED17I? ) O=333 (151.155 1 O=212 at ...2999...=DD21E=E< (151.156 3 CD14 ) O=226=D?D>DEH at ...3001... ) O=333;B? (151.155 2 O=212CE?DD99H=DD28E=E< (151.156 4 CD19 ) O=226=DAD>D=E;E?E (151.155 1 O=212 at ...2930...>DD18H=DD17E=E< (151.156 2 CD16 ) O=226=DD19D at ...2933...=E;E>E;D;ED (151.155 1 O=212 at ...2930...=DD18H=DD19E>E; (151.156 3 CD15 ) O=226=D?D=DE;D;E;ED (151.155 1 O=212 at ...2930...=DD17H>DD18E=E< (151.156 3 CD15 ) O=226=D?D=DE;D;EDDD17H=DD19E=E; (151.156 3 CD15 ) O=226=D?D=DE;D;EDD>D=DDD26H=DD25E=E< (151.156 4 CD19 ) O=226=DAD>D=E;E>EED21IB ) O=333;B> (151.155 2 O=212AE>DD21H=DD24E=E< (151.156 3 CD15 ) O=226E;D;ED25E=HED26IC ) O=333DD30H>DD30E=E< (151.156 4 CD30 ) O=226>D at ...2933...?D>E;E?E;DE;DEED16IA ) O=333 (151.155 2 O=212AE=DD18H=DD20E=E< (151.156 3 CD26 ) O=226=D?D>D=E;E?E;DED14I? ) O=333D?D?D=EE;DNeDD22H>DD22E=E< (151.156 2 CD18 ) O=226=D at ...2933...=DE;D;E;E (151.155 1 O=212 at ...2930...=DD20H=DD20E=E< (151.156 2 CD15 ) O=226=D at ...2933...>DED14I@ ) O=333 (151.155 1 O=212D76E?DD20H=DD24E>E; (151.156 3 CD16 ) O=226=DAD>DE;D;EDDED15IA ) O=333 (151.155 1 O=212?E=DD19H=DD19E=E; (151.156 3 CD14 ) O=226=D>D>DE;D;E;E (151.155 1 O=212AE>DD21H=DD22E>E< (151.156 3 CD16 ) O=226>D?D>D=E;E>EE< (151.156 5 CD19 ) O=226=DBD at ...2933...=E (151.155 2 O=212 at ...2930...>DD20H=DD24E=E; (151.156 4 CD15 ) O=226>D?D>D=E;E?E;D;EDD18H>DD21E=E< (151.156 3 CD16 ) O=226>D at ...2933...>DE;D;EED16IB ) O=333 (151.155 2 O=212AE>DD19H=DD22E=E< (151.156 2 CD17 ) O=226=D at ...2933...>DE;D;EED17IB ) O=333;B> (151.155 2 O=212?E>DD19H=DD21E=E< (151.156 3 CD16 ) O=226=D at ...2933...=DE;D;E (151.155 1 O=212AE?DD22H>DD21E=E< (151.156 3 CD17 ) O=226=D at ...2933...=D=E;E?E;D;EE;E;E;E;M;;E;K;Ne=E;D;E;E;H;D (151.155 2 O=212 at ...2930...>DD22H=DD24E>E< (151.156 3 CD15 ) O=226=D at ...2933...>D=E;E?E;D;EDD20E>E; (151.156 3 CD17 ) O=226=D?D=D=E;E?E;D;E;EDD19HE;D;ED?D=DE;D;EE;D;EDAD?D>E;E?E;D;EED20IB ) O=333 (151.155 2 O=212 at ...2930...?DD22H=DD25E>E; (151.156 3 CD16 ) O=226=D at ...2933...>DD;E>E;HE;McH at ...3003... ) O=333D=E;E?E;D;E (151.155 1 O=212 at ...2930...=DD19H=DD20EE;D;E;E;H;DDED19IC ) O=333 (151.155 1 O=212BE=DD20H>DD21E>E; (151.156 3 CD16 ) O=226=D at ...2933...>D=E;E>EDD19H=DD22E>ED18 (151.156 6 CD16 ) O=226>D?D>D=EE;D;EDD19H>DD22E>E< (151.156 3 CD16 ) O=226>D?D=D=EE;D;E (151.155 2 O=212 at ...2930...>DD18H=DD20E=E< (151.156 3 CD14 ) O=226E;DED22IB ) O=333 (151.155 1 O=212AE>DD20H=DD23E=E< (151.156 3 CD16 ) O=226=D?D>DEED18IA ) O=333D>DD= (151.CalcSortKey 3 O=365 at ...2930...E@;F<@;F<@;F<@;F<@;F=@;F<@F<@D=F=@;F<@;F;@@>DD;F;G;E< ) O=384;@=F<@D;F;GF<@M:=D;F;G;E< ) MkMPMPE;E;E;MBE;E;E;E;DMP;E< ) O=377;E;M:EMP;E< ) O=377;@ (151.158 1 O=365D10MP=E< ) Mk;E;@< (151.158 1 O=365 at ...2930...D=D; (151.158 2 O=365?MPD=F=@F<@;F<@;F;@D;F;D>F;@MPMPE ) Mk;E<@< (151.158 1 O=365 at ...2930...E; ) O=377 ) MkG??GG;?GG;?;G;?G;?;G;?G;?G;?;G;?;G;??G;?G;??G??;G;?;G;?;G;?;G;?;G;?;G;?;G;?;G;?G;?;G;?;G;?;G;?G;?;G;?;G;?;D;F=??;GG;???ED28 (151.Reset 4 O>1280D13D>D>BH;F at ...2956...@ ) MGD39 (11.163 8 O=882CE?EH;F?G@ ) MGD39 (11.163 5 O=882BE?E (11.163 5 O=882AED25E>D?D=D;D;DD85DE531ED85E=H;F?G@ ) MiD40 (11.163 8 O=882CE?E;D?D (11.163 2 O=882 at ...2930...?E;D at ...2933...H;FAG? ) MiD39 (11.163 4 O=882BE>E;D?DDD;D12913598CE> ) O=442;DCE>MCBBBBBBE;E> ) (174.CSymbolInfo 5 CB ) O=553DM^EAD;D1368CD?J? ) O=530=F>D;E;MT;Nu=M^;MG;NuM^;MG;NuM^;MG:NuM^;MG;Nu=M^;MG;Nu;M^;MG;Nu=M^;MG;NuD;D=D;D;F;EM^;EM^;E;D< (174.177 3 CA ) O=553DEM^;E;D; (174.177 2 C@ ) O=553D;D;DDDM^;E;D; (174.177 3 C@ ) O=553M^;E;D; (174.177 4 CD11 ) O=553>EADFD;DJJ;NuD ) (170.173 2 MP>DD;DD ) (170.173 2 MP at ...2933...G; ) O=5411368 at ...2971...= ) O=539< (151.169 2 O=404? (170.172 4 C? ) (170.173 2 MPADI; (151.GetClassSymbols 4 O>1195 at ...1309...> (11.ExistClass 5 O>2831 at ...3012...?E; ) O>1203;E at ...2933...;D;D;Ms= ) M\?D>BD;FFE at ...2933...;D;D1368 at ...2971...= ) O=539< (151.169 3 O=404> (170.172 3 C@ ) (170.173 3 MP at ...2933...1195 at ...1309...< (11.180 2 O>2831?D>E1203;E>D;D;D;Ms< ) M\>D=B;DJM^ (170.172 3 C> ) (170.173 2 MP>DG< ) O=541E337DD11D?EED11D>D ) (170.173 2 MP>DM?EM?;E; ) O=406G; ) O=541;D=D1368 at ...2971...= ) O=539< (151.169 2 O=404> (170.172 3 C> ) (170.173 2 MP>D1195?J= (11.180 2 O>2831>D>E1203;E>DD>B;DEG; ) O=541;D=DM?;E; ) O=406;D?E=DG; ) O=541D;FG; ) O=541;D=DD1368 at ...2933...=J< ) O=530Nu=M^;MG;Nu=M^D1368AK> ) O=539; (151.169 3 O=404? (170.172 4 C@ ) (170.173 2 MP?DI; (151.179 2 O>1195AJ= (11.180 2 O>2831?D?E1203;E?D;D;D;Ms= ) M\>D=BEJ;Nu1368AK> ) O=539< (151.169 2 O=404@ (170.172 2 C? ) (170.173 2 MP?DI; (151.179 2 O>1195 at ...1309...< (11.180 2 O>2831?D>E1203D;D;D;Ms< ) M\=D=BG; ) O=541D85D?D>EJJ;NuD1368 at ...2971...? ) O=539< (151.169 3 O=404? (170.172 3 C? ) (170.173 2 MP?DI; (151.179 2 O>1195 at ...1309...= (11.180 2 O>2831?D?E1203;E?D;D;D;Ms< ) M\=D>BG< ) O=541;D=D;E;MK;Nu=M^;E;D; (174.177 2 CA ) O=553D;D;K ) (170.173 2 MP?DEDDM^;E;D; (174.177 2 C@ ) O=553;EAD1368AK> ) O=539< (151.169 2 O=404> (170.172 3 C? ) (170.173 2 MP at ...2933...I; (151.179 2 O>1195 at ...1309...= (11.180 2 O>2831 at ...2933...?E1203;E>D;D;D;Ms< ) M\>D>B;D=B;D ) O=406;D?EG; ) O=541;D=DM^D;DE;E;GG; ) O=5411368?K> ) O=539; (151.169 2 O=404? (170.172 2 C? ) (170.173 1 MP>D1195 at ...1309...= (11.180 2 O>2831 at ...2933...>E;E< ) O>1203;E=DD=B ) O=406;D?ENu=M^;E;D; (174.177 2 CA ) O=5531368 at ...2933...>J< ) O=530D;E;MT;NuM^;MG;Nu;M^;MG;Nu;M^;MG;Nu1368AK> ) O=539; (151.169 3 O=404D24 (170.172 6 C@ ) (170.173 2 MP?DI< (151.179 2 O>1195?J= (11.180 1 O>2831>D>E1203;E=DD=B;DEM^D;D=D;F=EED=L= (151.178 2 O>1368D12KA ) O=539; (151.169 3 O=404D10 (170.172 6 C@ ) (170.173 4 MPBD;DI; (151.179 2 O>1195 at ...1309...> (11.180 2 O>2831?DAE=E< ) O>1203;E>DD>BD23D at ...1308...>D>B=D>BD>B=D=B=DED;F;E= ) O=406;D>ED=EM^;E;D; (174.177 4 CA ) O=553;EBD;D;D;DJ;Nu=M^F;E=J;NuJEBD=DJ=Nu=M^;E;D< (174.177 3 CC ) O=553;E at ...2933...D;DM^;EM^JDD;F=EEDEADDEBDM^;EED11DEBD;D=D=D=DM^;EE=D=E;FAG< ) O=541;DECD;D=D;D=DE at ...2933...;D;D;D;D;FM^;E;D< (174.177 4 C@ ) O=553=EBDF ) O=553;EBD;D=D;DFFD;F=E;JEADDAE=DM^;E;D< (174.177 2 CC ) O=553=EAD;D=DJ;NuD;DM^D=F;E ) O=553;E?D ) O=553=ECD;DD=F=E?JDDD;D;D;DD;D=D;FM^;E;D< (174.177 1 CB ) O=553;EBD1368D10KB ) O=539< (151.169 4 O=404? (170.172 4 C? ) (170.173 5 MPAD=D1195CJ? (11.180 4 O>2831D10D at ...2930...1203;E>D;D;DB;D>BBB=D>BBDJM^;EM^ ) O=553;E?D;DDDEM^;E ) O=553M^Nu=M^F;E ) O=553D=F;E=JEBDF;EM^;E;D; (174.177 3 C@ ) O=553 ) O=553ED ) (170.173 1 MP>D=DDM^M^:E;D; (174.177 2 C> ) O=553D;FM^;E;D; (174.177 4 C@ ) O=553M^;ED=F=E;JEBDFM:; (151.169 2 O=404C (170.172 4 C? ) (170.173 3 MP at ...2933... ) O=553;E?DD;D=D;DJM^;E;D; (174.177 3 CB ) O=553ECD;DNu>M^;ED>E;FBG= ) O=541D=EM^=E;D< (174.177 3 CC ) O=553=ECD;D=D;D=DD=D;DFM^D=L; (151.178 2 O>1368BK@ ) O=539< (151.169 2 O=404B (170.172 4 C@ ) (170.173 4 MPBD=D;DI; (151.179 4 O>1195BJ< (11.180 2 O>2831>D?E>E< ) O>1203;EAD ) M\?D>B=DD=BEDEG= ) O=541D>E;MKFM^;ED ) O=553M^;E;D; (174.177 3 CC ) O=553J=NuJ=Nu=M^DEADJEM:< (151.169 2 O=404B (170.172 5 CA ) (170.173 3 MP?D;D;D;EE;F?G< ) O=541=D=D>EJ=Nu=M^JM^;ED;D;D;D=D>DEBDDD;DD;DEBD ) O=553D=DM^;E;D< (174.177 2 CB ) O=553;E?D;D;D;D=D=DM^D;D=GM^;E;D< (174.177 3 CB ) O=553;ED10D=D ) O=553;E?DDD;D;D;D>D?DM^ED10D=D;DDJ;Nu>M^;E;D; (174.177 3 CC ) O=553DJ;Nu>M^;E;D; (174.177 3 CA ) O=553=EBDJ;Nu>M^;E=D; (174.177 3 CA ) O=553=ED24D?DDDM^ ) O=553=EBDM^J;Nu>M^ ) O=553D=D=DM^;E;D; (174.177 3 CC ) O=553E102ED12D?DM^ ) O=553 ) O=553;E at ...2933...;D;D;D;DD15D=G ) O=553;E>D;D:D;D;D;D;G;J;Nu;M^;E;D; (174.177 1 C= ) O=553;E>D;D;D:DD;D;D;D;DCD;G ) O=553;E>D;D;D;D;D;D;G;J;Nu;M^;E;D; (174.177 1 C= ) O=553;E>D;D;D;D;D;D;G;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D;D;G;J:NuD;D:D;D;D;D;G;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D;D:D;D;D;D;G;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D;D:D;D;D;D;G;J;E>ED33ND;Mj:Nu1368?K= ) O=539; (151.169 1 O=404= (170.172 2 C> ) (170.173 2 MP=D;D;D;E=I: (151.179 2 O>1195=J= (11.180 1 O>2831=D>E;E; ) O>1203;E=D:D;D;Ms; ) M\=D=B;D;B;D;B;D;B;D;B;D;B;D;B;DG; ) O=541;D;D ) O=553;E>D;D;D:D;D;F;E ) O=553;E>D;D:D;D;D;F;E;J;Nu ) O=553;E>D;D:D;D;D;F;E;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D;D;D:D;D;F;E;J;NuD;D;D:D;D;F;E;J;NuD;D;D:DD;D;D;D;D;F;E;J:Nu ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D:F;ED;D;D:D;D;F;E;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E>D:D;D;D;D;F;E;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D;D;D:D;D;F;E;J;Nu;M^;E;D; (174.177 1 C= ) O=553;E>D;D;D;D;D;F;E;J:NuNu>M^;MG;NuM^;MG;Nu;M^;MGD22Nu at ...2969...^1368CK= ) O=539; (151.169 1 O=404= (170.172 4 C= ) (170.173 3 MP1195=J< (11.180 2 O>28311203;E=D;D;D;Ms< ) M\=D=B;D;B ) O=553;E>D;D;D;D;D;F ) O=553;E>D;D;D;D;D:F;E;J;Nu;M^;E;D; (174.177 1 C= ) O=553;E>D;D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D:D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E>D;D;D:D;D;F;E;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D;D;D:D;D;F;E;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D:D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D;F;E;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D;D:D;D;D;F;E;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D;D;D:DD;D;D:D;D;F;E;J;Nu;E;E;G;E1368>K= ) O=539; (151.169 1 O=404= (170.172 2 C< ) (170.173 1 MP=D;D;D;E1195=J< (11.180 1 O>28311203;E=D:D;D;Ms; ) M\ ) O=553;ED10D=D ) O=553;E>D;D;D:D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E>D;D;D:D;D;F;E;J;Nu;M^;E:D; (174.177 1 C> ) O=553;E=D;D;D;D;D;D;G;J;Nu;M^;E;D; (174.177 1 C= ) O=553;E>D;D;D:D ) O=553;E>D;D;D:D;D;D;G;J;Nu;M^;E;D; (174.177 1 C? ) O=553 ) O=553 ) O=553 ) O=553D:D;D;D;D;F;E;J;Nu;M^;E;D: (174.177 2 C= ) O=553;E>D;D;D:DD;D;D;D;D;F;E;J:NuD;D;D;D;D;F;E;J:NuDE=D;DE=G;E; ) O=320;J< (182.187 1 O=121=E ) (182.186 1 O=142=E;MQ;D;DD;DK;E;D ) (182.186 2 O=142>E;MQ;I;D=J;E;H;F;M<:DEE ) (182.186 1 O=142=E;E;I;J;D;D;D;D:D;D;O=178; ) O=304=F= (182.185 2 C= ) (182.186 1 O=142=E;E;D;D;D;D:D;O=192; ) O=308=E=F;D1295=E> ) O=357;ED17 ) (151.Exit 8 O=654BDE424DE939 (160.Exit 8 MTD11ED14E= ) O=658;E< ) O=820;E< ) O=288;DF1590MND12 ) (0 4 ) From gambas at ...1... Wed Sep 12 13:01:36 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 12 Sep 2012 13:01:36 +0200 Subject: [Gambas-user] New IDE welcome screen In-Reply-To: <1347418981.9581.59.camel@...2688...> References: <1347367005.9581.49.camel@...2688...> <504F6841.2070605@...1...> <1347413749.9581.55.camel@...2688...> <504FF193.7040509@...1...> <504FF747.9030309@...1...> <1347418981.9581.59.camel@...2688...> Message-ID: <50506B90.3020404@...1...> Le 12/09/2012 05:03, Bruce a ?crit : > On Wed, 2012-09-12 at 04:45 +0200, Beno?t Minisini wrote: > >> Is it faster with revision #5159? >> > > Sorry Beno?t, > Its hard to tell. I "fixed" the problem locally by editing my > gambas3.conf file and removing all the recents. Tsss... :-) You will see when the recent file list becomes full again! -- Beno?t Minisini From Karl.Reinl at ...2345... Wed Sep 12 19:15:19 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 12 Sep 2012 19:15:19 +0200 Subject: [Gambas-user] qt4 do,gtk doesn't work In-Reply-To: <504FA61F.8000307@...1...> References: <1347394205.2255.5.camel@...40...> <504FA61F.8000307@...1...> Message-ID: <1347470119.2279.5.camel@...40...> Am Dienstag, den 11.09.2012, 22:59 +0200 schrieb Beno?t Minisini: > Le 11/09/2012 22:10, Karl Reinl a ?crit : > > Salut Beno?t, > > > > on qt4 do, on gtk doesn't work. > > > > Indeed. It should be fixed in revision #5158. > > Regards, > Salut Beno?t, can confirm, FIXED But have a look to the pictures. gtk still sucks (Bildschirmfoto-TEST (gambas3)-3.png) -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto-TEST (gambas3)-2.png Type: image/png Size: 9062 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto-TEST (gambas3)-3.png Type: image/png Size: 9423 bytes Desc: not available URL: From gambas at ...1... Wed Sep 12 19:51:48 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 12 Sep 2012 19:51:48 +0200 Subject: [Gambas-user] qt4 do,gtk doesn't work In-Reply-To: <1347470119.2279.5.camel@...40...> References: <1347394205.2255.5.camel@...40...> <504FA61F.8000307@...1...> <1347470119.2279.5.camel@...40...> Message-ID: <5050CBB4.9070701@...1...> Le 12/09/2012 19:15, Charlie Reinl a ?crit : > Am Dienstag, den 11.09.2012, 22:59 +0200 schrieb Beno?t Minisini: >> Le 11/09/2012 22:10, Karl Reinl a ?crit : >>> Salut Beno?t, >>> >>> on qt4 do, on gtk doesn't work. >>> >> >> Indeed. It should be fixed in revision #5158. >> >> Regards, >> > Salut Beno?t, > > can confirm, FIXED > > But have a look to the pictures. > gtk still sucks (Bildschirmfoto-TEST (gambas3)-3.png) > If you are talking about the light frame (why people always think I am reading minds?), this is the widget theme's fault. I think it draws the focus even if I told that the control should have no border. I had the same problem with the oxygen-gtk style (which is oxygen for GTK+). I signaled the bug, and the oxygen-gtk developer told me that it will be fixed in the next version. For other GTK+ widget themes, what could I do? -- Beno?t Minisini From Karl.Reinl at ...2345... Wed Sep 12 20:35:22 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 12 Sep 2012 20:35:22 +0200 Subject: [Gambas-user] qt4 do,gtk doesn't work In-Reply-To: <5050CBB4.9070701@...1...> References: <1347394205.2255.5.camel@...40...> <504FA61F.8000307@...1...> <1347470119.2279.5.camel@...40...> <5050CBB4.9070701@...1...> Message-ID: <1347474922.2279.17.camel@...40...> Am Mittwoch, den 12.09.2012, 19:51 +0200 schrieb Beno?t Minisini: > Le 12/09/2012 19:15, Charlie Reinl a ?crit : > > Am Dienstag, den 11.09.2012, 22:59 +0200 schrieb Beno?t Minisini: > >> Le 11/09/2012 22:10, Karl Reinl a ?crit : > >>> Salut Beno?t, > >>> > >>> on qt4 do, on gtk doesn't work. > >>> > >> > >> Indeed. It should be fixed in revision #5158. > >> > >> Regards, > >> > > Salut Beno?t, > > > > can confirm, FIXED > > > > But have a look to the pictures. > > gtk still sucks (Bildschirmfoto-TEST (gambas3)-3.png) > > > > If you are talking about the light frame (why people always think I am > reading minds?), this is the widget theme's fault. I think it draws the > focus even if I told that the control should have no border. > > I had the same problem with the oxygen-gtk style (which is oxygen for > GTK+). I signaled the bug, and the oxygen-gtk developer told me that it > will be fixed in the next version. > > For other GTK+ widget themes, what could I do? > About reading minds, you're have a high score.;-) Pardon me, I just saw, and see a smaller OK-Button, which have the focus, and if I change the focus to Cancel-Button the OK-Button stays small. Any hint to check against 'light frame' problem ? -- Amicalement Charlie From gambas at ...2524... Thu Sep 13 05:26:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 13 Sep 2012 03:26:19 +0000 Subject: [Gambas-user] Issue 329 in gambas: COPY snaps symlinks Message-ID: <0-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Other Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 329 by adamn... at ...626...: COPY snaps symlinks http://code.google.com/p/gambas/issues/detail?id=329 1) Describe the problem. I discovered this when using the IDE Save Project As... menu item. If a project contains symlinks, then when Project.CopyProject() issues the "Copy sSrc &/ sFile To sDst &/ sFile" command at line 2443, the links are snapped and the target files are copied in. This contrary to the way that shell copies (bash:cp) work. On a command line cp -R sourceprojectdir targetprojectdir preserves the symlinks. I have marked this as an "Other" type as you may have some reason for this behaviour. But here is why I see it as possibly a bug. We use a lot of symlinks in projects to images and boilerplate text and code in the "corporate-image" directory. These are all maintained in one place and when changes occur, all the projects that link to them are automagically updated. Regardless of the Save Project As... matter, I'd think that any other use of the COPY keyword in code could be expected to behave the same, i.e. symlinks should be preserved as they are a symlink for some reason. 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. N/A 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... Thu Sep 13 05:42:26 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 13 Sep 2012 03:42:26 +0000 Subject: [Gambas-user] Issue 330 in gambas: IDE: Save Project As.. .Project file not updated Message-ID: <0-6813199134517018827-14987766119719090002-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 330 by adamn... at ...626...: IDE: Save Project As.. .Project file not updated http://code.google.com/p/gambas/issues/detail?id=330 1) Describe the problem. The Save Project As.. logic does not update the .project file in the target directory. In particular, ExecPath is left pointing at the old project name. (and thus trying to make the executable in the new project results in the executable name being the same as the old one.) 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5164 Operating system: Linux Distribution: PCLinuxOS Architecture: x86 GUI component: QT4 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. See above 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 sunblaster5 at ...626... Thu Sep 13 07:36:14 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 12 Sep 2012 22:36:14 -0700 Subject: [Gambas-user] Grid view or dataView Message-ID: <1347514574.1964.8.camel@...2921...> I Currently have a database app that uses SQLite3. I'm using a dataView to view data but I don't need to see all the database fields, just a few if certain conditions apply. For instance if my daysLeft field if less than 21 days I just need to display only 3 or 4 fields instead of all 7. Is this possible with a dataView or should I be using a grid view? -- rocko From Karl.Reinl at ...2345... Thu Sep 13 20:47:11 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 13 Sep 2012 20:47:11 +0200 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: References: <1347226286.9447.17.camel@...40...> <504D1CD5.2040707@...1823...> <1347266126.2298.32.camel@...40...> <1347278995.2285.15.camel@...40...> Message-ID: <1347562031.3548.54.camel@...40...> Am Montag, den 10.09.2012, 15:37 +0200 schrieb Fabien Bodard: > Yes i'm quite s?re of that as gb.PDF generate an image for each > page... > You know the number of page and the printer resolution.. > > Paint.image(0,0,..... > Salut Fabien, thanks for that hint, or better for your guidance. Yes gb.pdf helps me like you said, to send extract the Images, and send them to the printer. -- Amicalement Charlie From gambas at ...2524... Thu Sep 13 22:59:34 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 13 Sep 2012 20:59:34 +0000 Subject: [Gambas-user] Issue 331 in gambas: GB.GTK: Label transparent resul in Gtk-CRITICAL and lock the app Message-ID: <0-6813199134517018827-8994120151034240616-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 331 by cresi... at ...626...: GB.GTK: Label transparent resul in Gtk-CRITICAL and lock the app http://code.google.com/p/gambas/issues/detail?id=331 1) when u try to load a form with a label with transparent=true will result in an apps locks and console loop this message: (rflv-3.2:2810): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_IS_WIDGET (widget)' failed 2) Version: 3.2.1 stable Revision: Operating system: Linux Distribution: Debian Squeeze backported kernel 3.2 Architecture: x86_64 GUI component: gb.gtk Desktop used: i try on kde and gnome 3) I attach an example 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. 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! Attachments: Demo-Bug.tar.gz 5.7 KB From gambas at ...2524... Thu Sep 13 23:04:26 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 13 Sep 2012 21:04:26 +0000 Subject: [Gambas-user] Issue 331 in gambas: GB.GTK: Label transparent resul in Gtk-CRITICAL and lock the app In-Reply-To: <0-6813199134517018827-8994120151034240616-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8994120151034240616-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8994120151034240616-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-3.2.0 Comment #1 on issue 331 by benoit.m... at ...626...: GB.GTK: Label transparent resul in Gtk-CRITICAL and lock the app http://code.google.com/p/gambas/issues/detail?id=331 It has already been fixed for 3.3. The Transparent property is useless now. As soon as you don't define the background color of the label, it will be "transparent" anyway. From gambas at ...2524... Thu Sep 13 23:05:26 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 13 Sep 2012 21:05:26 +0000 Subject: [Gambas-user] Issue 329 in gambas: COPY snaps symlinks In-Reply-To: <0-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.2.0 Comment #1 on issue 329 by benoit.m... at ...626...: COPY snaps symlinks http://code.google.com/p/gambas/issues/detail?id=329 (No comment was entered for this change.) From gambas.fr at ...626... Thu Sep 13 23:05:53 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 13 Sep 2012 23:05:53 +0200 Subject: [Gambas-user] gambas3, question about printer and sending files to the printer In-Reply-To: <1347562031.3548.54.camel@...40...> References: <1347226286.9447.17.camel@...40...> <504D1CD5.2040707@...1823...> <1347266126.2298.32.camel@...40...> <1347278995.2285.15.camel@...40...> <1347562031.3548.54.camel@...40...> Message-ID: :-) Le 13 sept. 2012 20:48, "Charlie Reinl" a ?crit : > Am Montag, den 10.09.2012, 15:37 +0200 schrieb Fabien Bodard: > > Yes i'm quite s?re of that as gb.PDF generate an image for each > > page... > > You know the number of page and the printer resolution.. > > > > Paint.image(0,0,..... > > > Salut Fabien, > > thanks for that hint, or better for your guidance. > Yes gb.pdf helps me like you said, to send extract the Images, > and send them to the printer. > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Thu Sep 13 23:06:26 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 13 Sep 2012 21:06:26 +0000 Subject: [Gambas-user] Issue 330 in gambas: IDE: Save Project As.. .Project file not updated In-Reply-To: <0-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.2.0 Comment #1 on issue 330 by benoit.m... at ...626...: IDE: Save Project As.. .Project file not updated http://code.google.com/p/gambas/issues/detail?id=330 (No comment was entered for this change.) From sebikul at ...626... Fri Sep 14 01:07:33 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 13 Sep 2012 20:07:33 -0300 Subject: [Gambas-user] crash with gb.xml.html Message-ID: Hi! I'm getting a crash with gb.xml.html when creating an instance. The output is: gb.debug: warning: unable to send data to the debugger: Broken pipe The backtrace is attached. The project has only 2 lines, first it declares a variable and then it creates and HtmlDocument instance. The file, tough, is just a bunch of div's, no body, head or html tag. The crash happens when i try to snip into the variable contents using a breakpoint or a print statement on any of it's properties. I'm using the latest trunk revision on archlinux. If you need more info please let me know! Thanks! -------------- next part -------------- A non-text attachment was scrubbed... Name: trace.log Type: application/octet-stream Size: 5473 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Fri Sep 14 01:35:48 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 14 Sep 2012 01:35:48 +0200 Subject: [Gambas-user] crash with gb.xml.html In-Reply-To: References: Message-ID: <20120914013548.22b1b9be@...626...> Le Thu, 13 Sep 2012 20:07:33 -0300, Hi Sebastian, Can you send me the full project please ? Regards, Adrien. Sebastian Kulesz a ?crit : > Hi! I'm getting a crash with gb.xml.html when creating an instance. > The output is: > > gb.debug: warning: unable to send data to the debugger: Broken pipe > > The backtrace is attached. > > The project has only 2 lines, first it declares a variable and then it > creates and HtmlDocument instance. The file, tough, is just a bunch of > div's, no body, head or html tag. The crash happens when i try to snip > into the variable contents using a breakpoint or a print statement on > any of it's properties. > > I'm using the latest trunk revision on archlinux. > > If you need more info please let me know! > > Thanks! From sebikul at ...626... Fri Sep 14 01:48:04 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 13 Sep 2012 20:48:04 -0300 Subject: [Gambas-user] crash with gb.xml.html In-Reply-To: <20120914013548.22b1b9be@...626...> References: <20120914013548.22b1b9be@...626...> Message-ID: On Thu, Sep 13, 2012 at 8:35 PM, Adrien Prokopowicz wrote: > Le Thu, 13 Sep 2012 20:07:33 -0300, > > Hi Sebastian, > > Can you send me the full project please ? > > Regards, > Adrien. > > > Sebastian Kulesz a ?crit : > >> Hi! I'm getting a crash with gb.xml.html when creating an instance. >> The output is: >> >> gb.debug: warning: unable to send data to the debugger: Broken pipe >> >> The backtrace is attached. >> >> The project has only 2 lines, first it declares a variable and then it >> creates and HtmlDocument instance. The file, tough, is just a bunch of >> div's, no body, head or html tag. The crash happens when i try to snip >> into the variable contents using a breakpoint or a print statement on >> any of it's properties. >> >> I'm using the latest trunk revision on archlinux. >> >> If you need more info please let me know! >> >> Thanks! > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > 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: gbcrash-0.0.8.tar.gz Type: application/x-gzip Size: 52360 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Fri Sep 14 03:04:43 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 14 Sep 2012 03:04:43 +0200 Subject: [Gambas-user] crash with gb.xml.html In-Reply-To: References: <20120914013548.22b1b9be@...626...> Message-ID: <20120914030443.7f9aef6d@...626...> Le Thu, 13 Sep 2012 20:48:04 -0300, Is it better with revision #5165 ? Sebastian Kulesz a ?crit : > On Thu, Sep 13, 2012 at 8:35 PM, Adrien Prokopowicz > wrote: > > Le Thu, 13 Sep 2012 20:07:33 -0300, > > > > Hi Sebastian, > > > > Can you send me the full project please ? > > > > Regards, > > Adrien. > > > > > > Sebastian Kulesz a ?crit : > > > >> Hi! I'm getting a crash with gb.xml.html when creating an instance. > >> The output is: > >> > >> gb.debug: warning: unable to send data to the debugger: Broken pipe > >> > >> The backtrace is attached. > >> > >> The project has only 2 lines, first it declares a variable and > >> then it creates and HtmlDocument instance. The file, tough, is > >> just a bunch of div's, no body, head or html tag. The crash > >> happens when i try to snip into the variable contents using a > >> breakpoint or a print statement on any of it's properties. > >> > >> I'm using the latest trunk revision on archlinux. > >> > >> If you need more info please let me know! > >> > >> Thanks! > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user From sebikul at ...626... Fri Sep 14 03:37:36 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 13 Sep 2012 22:37:36 -0300 Subject: [Gambas-user] crash with gb.xml.html In-Reply-To: <20120914030443.7f9aef6d@...626...> References: <20120914013548.22b1b9be@...626...> <20120914030443.7f9aef6d@...626...> Message-ID: On Thu, Sep 13, 2012 at 10:04 PM, Adrien Prokopowicz wrote: > Le Thu, 13 Sep 2012 20:48:04 -0300, > > Is it better with revision #5165 ? > > > Sebastian Kulesz a ?crit : > >> On Thu, Sep 13, 2012 at 8:35 PM, Adrien Prokopowicz >> wrote: >> > Le Thu, 13 Sep 2012 20:07:33 -0300, >> > >> > Hi Sebastian, >> > >> > Can you send me the full project please ? >> > >> > Regards, >> > Adrien. >> > >> > >> > Sebastian Kulesz a ?crit : >> > >> >> Hi! I'm getting a crash with gb.xml.html when creating an instance. >> >> The output is: >> >> >> >> gb.debug: warning: unable to send data to the debugger: Broken pipe >> >> >> >> The backtrace is attached. >> >> >> >> The project has only 2 lines, first it declares a variable and >> >> then it creates and HtmlDocument instance. The file, tough, is >> >> just a bunch of div's, no body, head or html tag. The crash >> >> happens when i try to snip into the variable contents using a >> >> breakpoint or a print statement on any of it's properties. >> >> >> >> I'm using the latest trunk revision on archlinux. >> >> >> >> If you need more info please let me know! >> >> >> >> Thanks! >> > >> > >> > ------------------------------------------------------------------------------ >> > Everyone hates slow websites. So do we. >> > Make your web apps faster with AppDynamics >> > Download AppDynamics Lite for free today: >> > http://ad.doubleclick.net/clk;258768047;13503038;j? >> > http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user It does not crashes the interpreter at least, but if you try to open any of the object's members you end up getting a signal 11. Another bug (i think) but unrelated to gb.xml.html. if you scroll through the html file inside the project i sent using the ide, it will get stuck into an infinite loop. The trace for this bug is attached, i had to run the ide from the command line and attach gdb to it once the ide enters the loop. Thanks a lot! -------------- next part -------------- A non-text attachment was scrubbed... Name: trace.log Type: application/octet-stream Size: 25037 bytes Desc: not available URL: From bbruen at ...2308... Fri Sep 14 14:05:19 2012 From: bbruen at ...2308... (Bruce) Date: Fri, 14 Sep 2012 21:35:19 +0930 Subject: [Gambas-user] New IDE welcome screen In-Reply-To: <50506B90.3020404@...1...> References: <1347367005.9581.49.camel@...2688...> <504F6841.2070605@...1...> <1347413749.9581.55.camel@...2688...> <504FF193.7040509@...1...> <504FF747.9030309@...1...> <1347418981.9581.59.camel@...2688...> <50506B90.3020404@...1...> Message-ID: <1347624319.24291.2.camel@...2688...> On Wed, 2012-09-12 at 13:01 +0200, Beno?t Minisini wrote: > Le 12/09/2012 05:03, Bruce a ?crit : > > On Wed, 2012-09-12 at 04:45 +0200, Beno?t Minisini wrote: > > > >> Is it faster with revision #5159? > >> > > > > Sorry Beno?t, > > Its hard to tell. I "fixed" the problem locally by editing my > > gambas3.conf file and removing all the recents. > > Tsss... :-) > > You will see when the recent file list becomes full again! > OK, back up to 100 projects and the welcome screen now loads in a flash. :-) regards Bruce From gambas at ...2524... Fri Sep 14 14:22:04 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 14 Sep 2012 12:22:04 +0000 Subject: [Gambas-user] Issue 329 in gambas: COPY snaps symlinks In-Reply-To: <1-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> <0-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> Comment #2 on issue 329 by adamn... at ...626...: COPY snaps symlinks http://code.google.com/p/gambas/issues/detail?id=329 Hmmm, just had a thought about this. There is one exception, if the IDE Packager classes/modules uses Copy when it is creating temp dirs to do its' tricks then the symlinks need to be snapped. I had a quick look at the IDE code and it does look like there are some Copy's in there. Thinking quickly, I think that this is an internal exception. I'll have a deeper look tomorrow. B From Karl.Reinl at ...2345... Fri Sep 14 17:43:36 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 14 Sep 2012 17:43:36 +0200 Subject: [Gambas-user] gambas3 gtk printer object problems Message-ID: <1347637416.2330.24.camel@...40...> Salut Beno?t, the problem is in the gtk printer pages option. 'All pages' run well, but when 'pages' is set to ex.15-19 printer_Draw do not raise, so nothing is printed. If I switch back to 'All pages' , 'FristPage' and 'LastPage' are not set to 0 (qt4 does) -------------- next part -------------- A non-text attachment was scrubbed... Name: TEST-0.0.2.tar.gz Type: application/x-compressed-tar Size: 8016 bytes Desc: not available URL: From Karl.Reinl at ...2345... Fri Sep 14 17:51:10 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 14 Sep 2012 17:51:10 +0200 Subject: [Gambas-user] gambas3 gtk printer object problems Message-ID: <1347637870.2330.28.camel@...40...> Salut Beno?t, the problem is in the gtk printer pages option. 'All pages' run well, but when 'pages' is set to ex.15-19 printer_Draw do not raise, so nothing is printed. If I switch back to 'All pages' , 'FristPage' and 'LastPage' are not set to 0 (qt4 does) Ups..sorry wrong button (Strg+Return). The project do not run well with qt4 while wrong design ! -- Amicalement Charlie [System] OperatingSystem=Linux Kernel=3.0.0-25-generic Architecture=i686 Memory=3098208 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome [Gambas 1] Version=gbx-1.0.17 Path=/usr/bin/gbx [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.3.0 Revision 5165. Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 -------------- next part -------------- A non-text attachment was scrubbed... Name: TEST-0.0.2.tar.gz Type: application/x-compressed-tar Size: 8016 bytes Desc: not available URL: From Karl.Reinl at ...2345... Fri Sep 14 19:10:57 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 14 Sep 2012 19:10:57 +0200 Subject: [Gambas-user] gambas3 gtk printer object problems In-Reply-To: <1347637870.2330.28.camel@...40...> References: <1347637870.2330.28.camel@...40...> Message-ID: <1347642657.2330.43.camel@...40...> Am Freitag, den 14.09.2012, 17:51 +0200 schrieb Charlie Reinl: > Salut Beno?t, > > the problem is in the gtk printer pages option. > 'All pages' run well, but when 'pages' is set to ex.15-19 printer_Draw > do not raise, so nothing is printed. > If I switch back to 'All pages' , 'FristPage' and 'LastPage' are not > set to 0 (qt4 does) > > Ups..sorry wrong button (Strg+Return). > > The project do not run well with qt4 while wrong design ! Salut, what I found out for qt4, once it ran, but if I run it several times one after other I get : QPrinter::setOutputFileName: Cannot be changed while printer is active is it possible to change that printer state to 'not active' ? AND : ist there a possibility to read out, whether gtk or qt is used at run time? -- Amicalement Charlie From adrien.prokopowicz at ...626... Sat Sep 15 00:00:41 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 15 Sep 2012 00:00:41 +0200 Subject: [Gambas-user] crash with gb.xml.html In-Reply-To: References: <20120914013548.22b1b9be@...626...> <20120914030443.7f9aef6d@...626...> Message-ID: <20120915000041.5fcd899f@...626...> Le Thu, 13 Sep 2012 22:37:36 -0300, Sebastian Kulesz a ?crit : > On Thu, Sep 13, 2012 at 10:04 PM, Adrien Prokopowicz > wrote: > > Le Thu, 13 Sep 2012 20:48:04 -0300, > > > > Is it better with revision #5165 ? > > > > > > Sebastian Kulesz a ?crit : > > > >> On Thu, Sep 13, 2012 at 8:35 PM, Adrien Prokopowicz > >> wrote: > >> > Le Thu, 13 Sep 2012 20:07:33 -0300, > >> > > >> > Hi Sebastian, > >> > > >> > Can you send me the full project please ? > >> > > >> > Regards, > >> > Adrien. > >> > > >> > > >> > Sebastian Kulesz a ?crit : > >> > > >> >> Hi! I'm getting a crash with gb.xml.html when creating an > >> >> instance. The output is: > >> >> > >> >> gb.debug: warning: unable to send data to the debugger: Broken > >> >> pipe > >> >> > >> >> The backtrace is attached. > >> >> > >> >> The project has only 2 lines, first it declares a variable and > >> >> then it creates and HtmlDocument instance. The file, tough, is > >> >> just a bunch of div's, no body, head or html tag. The crash > >> >> happens when i try to snip into the variable contents using a > >> >> breakpoint or a print statement on any of it's properties. > >> >> > >> >> I'm using the latest trunk revision on archlinux. > >> >> > >> >> If you need more info please let me know! > >> >> > >> >> Thanks! > >> > > >> > > >> > ------------------------------------------------------------------------------ > >> > Everyone hates slow websites. So do we. > >> > Make your web apps faster with AppDynamics > >> > Download AppDynamics Lite for free today: > >> > http://ad.doubleclick.net/clk;258768047;13503038;j? > >> > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Got visibility? > > Most devs has no idea what their production app looks like. > > Find out how fast your code is with AppDynamics Lite. > > http://ad.doubleclick.net/clk;262219671;13503038;y? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > It does not crashes the interpreter at least, but if you try to open > any of the object's members you end up getting a signal 11. > > Another bug (i think) but unrelated to gb.xml.html. if you scroll > through the html file inside the project i sent using the ide, it will > get stuck into an infinite loop. The trace for this bug is attached, i > had to run the ide from the command line and attach gdb to it once the > ide enters the loop. > > Thanks a lot! I tried to print every property in the HtmlDocument class, but nothing crashes. Same for the debugger dialog. What exactly do you mean by "to open any of the object's members ?" I have the crash in the IDE too. Maybe your file is too huge. From gambas at ...2524... Sat Sep 15 01:52:57 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 14 Sep 2012 23:52:57 +0000 Subject: [Gambas-user] Issue 329 in gambas: COPY snaps symlinks In-Reply-To: <2-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> <0-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 329 by benoit.m... at ...626...: COPY snaps symlinks http://code.google.com/p/gambas/issues/detail?id=329 I don't understand your last comment. But the bug should have been fixed in revision #5166. From gambas at ...2524... Sat Sep 15 01:59:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 14 Sep 2012 23:59:38 +0000 Subject: [Gambas-user] Issue 330 in gambas: IDE: Save Project As.. .Project file not updated In-Reply-To: <1-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> <0-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #2 on issue 330 by benoit.m... at ...626...: IDE: Save Project As.. .Project file not updated http://code.google.com/p/gambas/issues/detail?id=330 If the executable is generated inside the project directory (the default), then the path is relative. So there is no need to change it when saving the project with another name. Otherwise, the executable path is absolute. Then what should be the new path? Do you mean just replacing the old project name by the new project name inside the path? From gambas at ...1... Sat Sep 15 02:08:16 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 15 Sep 2012 02:08:16 +0200 Subject: [Gambas-user] crash with gb.xml.html In-Reply-To: References: <20120914013548.22b1b9be@...626...> <20120914030443.7f9aef6d@...626...> Message-ID: <5053C6F0.7040705@...1...> Le 14/09/2012 03:37, Sebastian Kulesz a ?crit : > > Another bug (i think) but unrelated to gb.xml.html. if you scroll > through the html file inside the project i sent using the ide, it will > get stuck into an infinite loop. The trace for this bug is attached, i > had to run the ide from the command line and attach gdb to it once the > ide enters the loop. > I'm not sure this an infinite loop, because one line of the html file has 363873 characters! As the HTML syntax analyze is done in Gambas, I think the infinite loop is actually a *very long* loop! But I will check... Regards, -- Beno?t Minisini From sebikul at ...626... Sat Sep 15 03:03:53 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Fri, 14 Sep 2012 22:03:53 -0300 Subject: [Gambas-user] crash with gb.xml.html In-Reply-To: <5053C6F0.7040705@...1...> References: <20120914013548.22b1b9be@...626...> <20120914030443.7f9aef6d@...626...> <5053C6F0.7040705@...1...> Message-ID: On Fri, Sep 14, 2012 at 9:08 PM, Beno?t Minisini wrote: > Le 14/09/2012 03:37, Sebastian Kulesz a ?crit : >> >> Another bug (i think) but unrelated to gb.xml.html. if you scroll >> through the html file inside the project i sent using the ide, it will >> get stuck into an infinite loop. The trace for this bug is attached, i >> had to run the ide from the command line and attach gdb to it once the >> ide enters the loop. >> > > I'm not sure this an infinite loop, because one line of the html file > has 363873 characters! Yikes, i missed that. The line is in fact so long that my text editor set's the horizontal scroll bar at the default size (that's why i missed it) and hangs for a bit when trying to scroll horizontally. Maybe there should be a hard limit, and beyond that point the line is skipped and shown verbatim, without syntax highlighting. Is that possible? As for the crash, I attached a screenshot. What i meant was opening the object using the debugger. If you try to double click any member that points to an object, you will see the #11 crash. Let me know if you need more info. Thanks! > As the HTML syntax analyze is done in Gambas, I think the infinite loop > is actually a *very long* loop! But I will check... > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > 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: screenshot.png Type: image/png Size: 160318 bytes Desc: not available URL: From gambas at ...2524... Sat Sep 15 03:37:30 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 15 Sep 2012 01:37:30 +0000 Subject: [Gambas-user] Issue 330 in gambas: IDE: Save Project As.. .Project file not updated In-Reply-To: <2-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> <0-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Comment #3 on issue 330 by adamn... at ...626...: IDE: Save Project As.. .Project file not updated http://code.google.com/p/gambas/issues/detail?id=330 OK. 1) This depends on the original project (let's call it "Orig") having an entry in its .project file "ExecPath=". (Say, by someone using Make Executable and changing the output directory in FMakeExecutable to somewhere other than the "Orig" project directory.) 2) When someone opens "Orig" after that and makes a copy of the project as say "NewProj", the "Orig" .project file is copied into the "NewProj" directory as is. (That is, it contains the ExecPath= entry.) 3) When the new project is opened (automatically or otherwise), Project.ReadProject() at line 3172 encounters that entry and sets Project.ExecPath to its value. 4) Now we move to Project.MakeExecutable() around lines 2760-2765. sExecPath = GetExecPath() <--- (a) If Not Exist(File.Dir(sExecPath)) Then sExecPath = Project.Dir &/ File.Name(sExecPath) 'IF Dialog.SaveFile() THEN RETURN TRUE sExecPath = FMakeExecutable.Run(sExecPath) <--- (b) (a) getExecPath will return the value of Project.ExecPath, which can be a valid and existing path, but the one where the "Orig" project was compiled in step 1 so (finally!) at (b) instead of the FMakeExecutable FileChooser ("fchExec") pointing to the "NewProj" directory it is pointing to where "Orig" was compiled and the file name is the original name. What actually happened here was that Felicity compiled the "orig" project, which is a boilerplate project to a shared testing directory on our source server, I then made a copy of it as a new project. When I compiled the new one, I didn't look at the FMakeExecutable form too closely, expecting that it would just compile it into my new project directory. I then opened a terminal using Tools|Open A Terminal and there was no executable there. Much confusion then occurred because I couldn't find my executable and Felicity's version magically changed! So, to answer your question, I feel that the ExecPath= entry in the old .project should not be copied into the new .project file. This is based on considering the possible reasons for making a copy of a project, all the ones that I can think of relate to the idea of copying the source for some other purpose and none include retaining information about where the original project was compiled to. Sorry the original issue description was incomplete, it seemed so obvious to me. B From gambas at ...2524... Sat Sep 15 04:54:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 15 Sep 2012 02:54:19 +0000 Subject: [Gambas-user] Issue 329 in gambas: COPY snaps symlinks In-Reply-To: <3-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> <0-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-15071054166276737578-gambas=googlecode.com@...2524...> Comment #4 on issue 329 by adamn... at ...626...: COPY snaps symlinks http://code.google.com/p/gambas/issues/detail?id=329 Confirmed fix in 5166 is OK. Also my comment is incorrect so please disregard. However, I may have mislead you with the example. It's not so much the IDE, I believe that COPY is at fault. From Karl.Reinl at ...2345... Sat Sep 15 19:57:04 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 15 Sep 2012 19:57:04 +0200 Subject: [Gambas-user] gambas3 gtk printer object problems In-Reply-To: <1347642657.2330.43.camel@...40...> References: <1347637870.2330.28.camel@...40...> <1347642657.2330.43.camel@...40...> Message-ID: <1347731824.2303.12.camel@...40...> Salut Beno?t, I try to stay in the thread. On gtk and qt4 printer - setup, if you enter at 'pages' (from-to) a higher number into 'from' then in 'to' the printer-object set the 'to' to 'from' , but keeps the old 'from' value. 'from' = 10 , 'to' is 1, after leafing Printer.Configure() you find Printer.FirstPage = 10 Printer.LastPage = 10 So even 'by hand' you'v got no chance! -- Amicalement Charlie From adrien.prokopowicz at ...626... Sat Sep 15 23:40:15 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 15 Sep 2012 23:40:15 +0200 Subject: [Gambas-user] crash with gb.xml.html In-Reply-To: References: <20120914013548.22b1b9be@...626...> <20120914030443.7f9aef6d@...626...> <5053C6F0.7040705@...1...> Message-ID: I finally found out what was wrong. Actually you are trying to load a partial HTML document as it was a full one (With doctype, root element and so on ...). Since the last revision (rev. #5169) it correctly raises an error instead of crashing. If you want to get all the nodes that are in your file (that is not a full document), you should use the XmlElement.FromText() method instead : http://gambasdoc.org/help/comp/gb.xml/xmlelement/fromtext?v3 And a little tip for you : at the bottom of your file you have a script element directly containing Javascript : You should put it that way : So that you won't be annoyed by parsing/validation errors if you use some forbidden HTML characters. :-) (like the <, > or & operators) Regards, Adrien. From karl.reinl at ...9... Sun Sep 16 14:27:07 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 16 Sep 2012 14:27:07 +0200 Subject: [Gambas-user] gambas3, IDE search and replace don't work as expected Message-ID: <1347798427.3306.11.camel@...40...> Salut, gambas3 rev 5165 , IDE search and replace don't work as expected. - Searching in current file. - fill find and replace. - push 'next' button. - you will stay on the first item found - push 'replace' button, the item will be replaced, and the cursor keeps staying at that position. - you have to push the 'next' button, to find next item. - if you push the 'replace' button, the next item will be found and changed I think after pushing the 'replace' button, next item should be marked. -- Amicalement Charlie From gambas at ...1... Sun Sep 16 16:59:34 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 16 Sep 2012 16:59:34 +0200 Subject: [Gambas-user] gambas3 gtk printer object problems In-Reply-To: <1347731824.2303.12.camel@...40...> References: <1347637870.2330.28.camel@...40...> <1347642657.2330.43.camel@...40...> <1347731824.2303.12.camel@...40...> Message-ID: <5055E956.5020308@...1...> Le 15/09/2012 19:57, Charlie Reinl a ?crit : > Salut Beno?t, > > I try to stay in the thread. > On gtk and qt4 printer - setup, if you enter at 'pages' (from-to) > a higher number into 'from' then in 'to' the printer-object set the 'to' > to 'from' , but keeps the old 'from' value. > > 'from' = 10 , 'to' is 1, after leafing Printer.Configure() you find > Printer.FirstPage = 10 > Printer.LastPage = 10 > So even 'by hand' you'v got no chance! > > Hi, Here are a few comments and the fixes you will get with revision #5170: - You must reset the FirstPage and LastPage properties before calling Print() on each PDF page. Otherwise nothing is printed: it tries to always print the page one, whereas the Printer object is configured to print pages 15-19. - Because of the previous mistake, a bug in gb.qt4 comes: the printer object was not reset to an inactive state. Fixed! - Another fix in gb.gtk: FirstPage and LastPage now should correctly always return zero if all pages must be printed. - As for the last problem with 'from' being higher than 'to'. This is handled by the toolkit, and I don't see why it should be a problem if when 'from' is greater than 'to', then 'to' is ignored and only the 'from' page is printed. To print all pages, you just have to set FirstPage to zero. Regards, -- Beno?t Minisini From richard.j.walker at ...247... Sun Sep 16 17:55:36 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 16 Sep 2012 16:55:36 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? Message-ID: I have hacked the OnScreenDisplay example project to allow me to display user-entered text instead of the time, and to permit interactive tweaking of colours and depth of 3D effect and font size. I also added a way to save the result to a png file and now I am trying to copy it to the clipboard as well. The trouble is that when I paste the result into, for example, a Libreoffice Writer page, the alpha channel displays as black. If, instead, I insert the saved png then the background is transparent. What I want to do is temporarily convert the image so that instead of being transparent it has a white background when copied to the clipboard. Any ideas? Richard From cabrerawilliam at ...626... Sun Sep 16 20:04:49 2012 From: cabrerawilliam at ...626... (William Cabrera) Date: Sun, 16 Sep 2012 13:34:49 -0430 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: Message-ID: Hi, you can use something like $hImage = $hImage.Replace(Color.Transparent, Color.White) ------ William Cabrera http://willicab.gnu.org.ve 2012/9/16 RICHARD WALKER > I have hacked the OnScreenDisplay example project to allow me to > display user-entered text instead of the time, and to permit > interactive tweaking of colours and depth of 3D effect and font size. > > I also added a way to save the result to a png file and now I am > trying to copy it to the clipboard as well. > > The trouble is that when I paste the result into, for example, a > Libreoffice Writer page, the alpha channel displays as black. > > If, instead, I insert the saved png then the background is transparent. > > What I want to do is temporarily convert the image so that instead of > being transparent it has a white background when copied to the > clipboard. > > Any ideas? > > Richard > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Sun Sep 16 20:53:51 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 16 Sep 2012 20:53:51 +0200 Subject: [Gambas-user] SOLVED gambas3 gtk printer object problems In-Reply-To: <5055E956.5020308@...1...> References: <1347637870.2330.28.camel@...40...> <1347642657.2330.43.camel@...40...> <1347731824.2303.12.camel@...40...> <5055E956.5020308@...1...> Message-ID: <1347821631.3306.31.camel@...40...> Am Sonntag, den 16.09.2012, 16:59 +0200 schrieb Beno?t Minisini: > Here are a few comments and the fixes you will get with revision > #5170: > > - You must reset the FirstPage and LastPage properties before calling > Print() on each PDF page. Otherwise nothing is printed: it tries to > always print the page one, whereas the Printer object is configured > to > print pages 15-19. O'K, I see. > > - Because of the previous mistake, a bug in gb.qt4 comes: the printer > object was not reset to an inactive state. Fixed! > is fixed > - Another fix in gb.gtk: FirstPage and LastPage now should correctly > always return zero if all pages must be printed. is fixed > > - As for the last problem with 'from' being higher than 'to'. This is > handled by the toolkit, and I don't see why it should be a problem if > when 'from' is greater than 'to', then 'to' is ignored and only the > 'from' page is printed. To print all pages, you just have to set > FirstPage to zero. Ok, I understand. Only my question about how to find out if I run gtk or qt 4, which has finally nothing to do with printing, but I'm interested. I will finish my case study now, and if you want, you can use it as example. Thank you for your explanations and for your legendary speed to eliminate the error(s). -- Amicalement Charlie From richard.j.walker at ...247... Sun Sep 16 21:54:42 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 16 Sep 2012 20:54:42 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: Message-ID: That looks like it will beat the socks off my pixel by pixel examination and change (still running after 2-3 hours). I'll try it now and get back with the result as soon as ... Richard From richard.j.walker at ...247... Sun Sep 16 22:05:22 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 16 Sep 2012 21:05:22 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: Message-ID: Shucks. Too bad - it looked so simple, and it was quick. Trouble is, it didn't do anything - at least, nothing discernible in the result - still a black background. On the up-side, I know that my crude and slow "If pixel_colour = &HFF000000 Then pixel_colour = &H00FFFFFF" will actually do what I need, if I can live long enough too see the result on a 400x150 picture. R From gambas at ...1... Sun Sep 16 22:13:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Sep 2012 22:13:35 +0200 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: Message-ID: <505632EF.6050204@...1...> Le 16/09/2012 17:55, RICHARD WALKER a ?crit : > I have hacked the OnScreenDisplay example project to allow me to > display user-entered text instead of the time, and to permit > interactive tweaking of colours and depth of 3D effect and font size. > > I also added a way to save the result to a png file and now I am > trying to copy it to the clipboard as well. > > The trouble is that when I paste the result into, for example, a > Libreoffice Writer page, the alpha channel displays as black. > > If, instead, I insert the saved png then the background is transparent. > > What I want to do is temporarily convert the image so that instead of > being transparent it has a white background when copied to the > clipboard. > > Any ideas? > > Richard > Dim MyImageWithWhite As Image MyImageWithWhite = New Image(MyImage.W, MyImage.H, Color.White) MyImageWithWhite.PaintImage(MyImage, 0, 0) That's it, 3 lines of code. :-) -- Beno?t Minisini From richard.j.walker at ...247... Sun Sep 16 22:26:01 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 16 Sep 2012 21:26:01 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: Message-ID: Success. Thank you William. # It was the Color.Transparent that did not work. From reading the docs it says that this constant has a value of -1. My black screen (inverted Alpha, but don't ask me what that means) has pixels with the value &HFF000000. So your fix works when I write it like this $hImage = $hImage.Replace(&HFF000000, Color.White) Thankfully that is accurate enough for my purposes. Obviously it would fail for anything other than a completely transparent area. Wouldn't it be cool to have a way to handle partially transparent colours too? Something like your usage looks like it SHOULD do it - ah well... Richard From Karl.Reinl at ...2345... Sun Sep 16 22:50:42 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 16 Sep 2012 22:50:42 +0200 Subject: [Gambas-user] gambas3 gtk printer object problems In-Reply-To: <5055E956.5020308@...1...> References: <1347637870.2330.28.camel@...40...> <1347642657.2330.43.camel@...40...> <1347731824.2303.12.camel@...40...> <5055E956.5020308@...1...> Message-ID: <1347828642.3306.56.camel@...40...> Salut, one more thing I remarked, gtk prints ~16 times faster then qt4. using a 35 pages pdf file gtk = ~ <1 sec./page qt4 = ~ 16 sec./page printing to pdf-File -- Amicalement Charlie From richard.j.walker at ...247... Sun Sep 16 23:30:08 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 16 Sep 2012 22:30:08 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: Message-ID: And joyful thanks to Beno?t too, If I interpret that correctly, that will also convert any partially transparent areas to fully opaque. I haven't tested it yet (soon to be remedied) but my guess is that it will look much better than my simplistic method where, for example, anti-alias artifacts may be present. Richard From gambas.fr at ...626... Mon Sep 17 07:19:27 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Sep 2012 07:19:27 +0200 Subject: [Gambas-user] gambas3 gtk printer object problems In-Reply-To: <1347828642.3306.56.camel@...40...> References: <1347637870.2330.28.camel@...40...> <1347642657.2330.43.camel@...40...> <1347731824.2303.12.camel@...40...> <5055E956.5020308@...1...> <1347828642.3306.56.camel@...40...> Message-ID: And Qt can't use color gradient Le 16 sept. 2012 22:51, "Charlie Reinl" a ?crit : > Salut, > > one more thing I remarked, gtk prints ~16 times faster then qt4. > using a 35 pages pdf file > gtk = ~ <1 sec./page > qt4 = ~ 16 sec./page > > printing to pdf-File > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Mon Sep 17 11:00:40 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 17 Sep 2012 10:00:40 +0100 (BST) Subject: [Gambas-user] Strange behavior of .Move function in DesktopWindow Class Message-ID: <1347872440.31223.YahooMailClassic@...2758...> Hello, I have this following code (I set also gb.desktop component): *************************** Public Sub Button1_Click() Dim a As Integer[] Dim w As DesktopWindow a = Desktop.FindWindow("name_of_a_window") w = New DesktopWindow(a[0]) ' it should only move the window down and resize it: w.Move(1, 300, 100, 100) End *************************** .Move function seems to have a stramge behavior: in that example the window should move down according to the parameter Y, and - I think - also resize. Instead happens to me that the window moves, but to the right, as if I had set the parameter X. In addition, it is reduced only in height, but it takes the length of the entire desktop. I have encountered similar problems also with the method ".Resize" . Maybe are there bugs ? Regards vuott From gambas at ...1... Mon Sep 17 12:03:23 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 17 Sep 2012 12:03:23 +0200 Subject: [Gambas-user] Strange behavior of .Move function in DesktopWindow Class In-Reply-To: <1347872440.31223.YahooMailClassic@...2758...> References: <1347872440.31223.YahooMailClassic@...2758...> Message-ID: <5056F56B.6030005@...1...> Le 17/09/2012 11:00, Ru Vuott a ?crit : > Hello, > > I have this following code (I set also gb.desktop component): > > *************************** > Public Sub Button1_Click() > > Dim a As Integer[] > Dim w As DesktopWindow > > a = Desktop.FindWindow("name_of_a_window") > > w = New DesktopWindow(a[0]) > > ' it should only move the window down and resize it: > w.Move(1, 300, 100, 100) > > End > *************************** > > .Move function seems to have a stramge behavior: in that example the window should move down according to the parameter Y, and - I think - also resize. > Instead happens to me that the window moves, but to the right, as if I had set the parameter X. In addition, it is reduced only in height, but it takes the length of the entire desktop. > I have encountered similar problems also with the method ".Resize" . > > Maybe are there bugs ? > > Regards > vuott > Indeed. I guess you are using a 64 bits system like me? -- Beno?t Minisini From vuott at ...325... Mon Sep 17 12:30:08 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 17 Sep 2012 11:30:08 +0100 (BST) Subject: [Gambas-user] Strange behavior of .Move function in DesktopWindow Class In-Reply-To: <5056F56B.6030005@...1...> Message-ID: <1347877808.39503.YahooMailClassic@...2780...> > > Indeed. I guess you are using a 64 bits system like me? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------- Yes, Beno?t, my system is 64bit (and Gambas 3). In your opinion, how is it then that problem happens? bye vuott From richard.j.walker at ...247... Mon Sep 17 12:46:59 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 17 Sep 2012 11:46:59 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: Message-ID: Beno?t, Sorry for the delay in "confirming" my findings with your PaintImage version of my problem's solution. Sadly it took me hours (and more hours) to get it working. I tried all sorts of tricks to make it produce an undistorted/uncorrupted version on the clipboard of the rendered image but nothing worked. Finally, this morning after a long brisk walk back from the garage where my car is getting its annual service today, it occurred to me to try changing the GB_GUI environment variable. That did the trick. It works perfectly when using gb.qt4 and doesn't when using gb.gtk. Sadly that is not an easy option for me because using gb.qt4 breaks the auto-resizing of the fontchooser thing which works differently with gb.gtk. To benefit from the superior results of the PaintImage method I must use gb.qt4 and find a way to persuade the qt4 fontchooser thing to adjust its txtExample TextBox height to accommodate larger font sizes without encroaching on the Family, Style and Size controls (or disable it altogether as I can use my rendered image as the font size "preview"). ...meanwhile, hours later, ... I have decided to go with qt4 and try to fix the resizing problem - or catch it with a panic button. Richard From gambas at ...1... Mon Sep 17 12:51:37 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 17 Sep 2012 12:51:37 +0200 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: Message-ID: <505700B9.9020802@...1...> Le 17/09/2012 12:46, RICHARD WALKER a ?crit : > Beno?t, > Sorry for the delay in "confirming" my findings with your PaintImage > version of my problem's solution. Sadly it took me hours (and more > hours) to get it working. I tried all sorts of tricks to make it > produce an undistorted/uncorrupted version on the clipboard of the > rendered image but nothing worked. > > Finally, this morning after a long brisk walk back from the garage > where my car is getting its annual service today, it occurred to me to > try changing the GB_GUI environment variable. That did the trick. It > works perfectly when using gb.qt4 and doesn't when using gb.gtk. > > Sadly that is not an easy option for me because using gb.qt4 breaks > the auto-resizing of the fontchooser thing which works differently > with gb.gtk. To benefit from the superior results of the PaintImage > method I must use gb.qt4 and find a way to persuade the qt4 > fontchooser thing to adjust its txtExample TextBox height to > accommodate larger font sizes without encroaching on the Family, Style > and Size controls (or disable it altogether as I can use my rendered > image as the font size "preview"). > > ...meanwhile, hours later, ... I have decided to go with qt4 and try > to fix the resizing problem - or catch it with a panic button. > > Richard > If it does not work with gb.gtk, then it is a bug. But if you don't give me a little test project that reproduces it, I won't be able to fix it. I need it because I have to see what you are doing *exactly* (the bug may not be a direct consequence of using PaintImage). If you have other differences between gb.qt4 and gb.gtk, please report them! They are bugs too, except for very specific things that cannot be made the same between the two components. Thanks in advance. Regards, -- Beno?t Minisini From vuott at ...325... Mon Sep 17 12:54:54 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 17 Sep 2012 11:54:54 +0100 (BST) Subject: [Gambas-user] Strange behavior of .Move function... BIS In-Reply-To: <5056F56B.6030005@...1...> Message-ID: <1347879294.79447.YahooMailClassic@...2695...> Hello Beno?t, I tried, now, my code on a 32bit system (Kubuntu - KDE), and I saw those metods (.Move and .Resize) work weeery well ! So, as you said the problem is on 64bit system. Bye vuott From gambas at ...1... Mon Sep 17 13:18:26 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 17 Sep 2012 13:18:26 +0200 Subject: [Gambas-user] Strange behavior of .Move function... BIS In-Reply-To: <1347879294.79447.YahooMailClassic@...2695...> References: <1347879294.79447.YahooMailClassic@...2695...> Message-ID: <50570702.2000808@...1...> Le 17/09/2012 12:54, Ru Vuott a ?crit : > Hello Beno?t, > > I tried, now, my code on a 32bit system (Kubuntu - KDE), and I saw those metods (.Move and .Resize) work weeery well ! > > So, as you said the problem is on 64bit system. > > Bye > vuott > Can you try with revision #5171? -- Beno?t Minisini From vuott at ...325... Mon Sep 17 13:51:33 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 17 Sep 2012 12:51:33 +0100 (BST) Subject: [Gambas-user] Strange behavior of .Move function... BIS In-Reply-To: <50570702.2000808@...1...> Message-ID: <1347882693.10737.YahooMailClassic@...2789...> > > Can you try with revision #5171? > > -- > Beno?t Minisini > Beno?t, I can try, but tonight. I'll let you know. Bye vuott From richard.j.walker at ...247... Mon Sep 17 14:47:08 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 17 Sep 2012 13:47:08 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: <505700B9.9020802@...1...> References: <505700B9.9020802@...1...> Message-ID: Beno?t, 1. Please ignore all comments relating to the behaviour of the FontChooser thing. I am coding this as a minor birthday present for my brother who likes things to be done for him in a program, so I have made the FontChooser a bit more ... adaptable and so caused the runaway expansion of the example text box where the font size is previewed. 2. As both brother and I use the LXDE desktop we are seldom troubled by differences between qt4 and gtk as everything defaults to gtk. I just "discovered" the GB_GUI environment variable while exploring the OnScreenDisplay example project so I have recently been trying all sorts of little program doodles I have written with both settings to see if it might improve/change some quirks I may have coded around (or attempted to). 3. Example project attached. As shipped it is set for qt4 (although on my system the compiled version still uses gtk!?) The PaintImage differences can be seen by creating any sort of image with the program and clicking on the "Copy" button before pasting the image into, for example, Libreoffice Writer. With qt4 we get a beautifully blended image on a white background. With gtk we get some white, some black and random coloured dots, perhaps even some recognisable shapes of the image. The "Save" button dumps a copy with alpha intact into your ~/Pictures directory. The "Icon" button lets you browse for svg or png graphics to be included in the composition (it is still very crude in positioning the graphic). A couple of "suitable" images are included in the source directory. The text box lets you enter your own few words which may be coloured and shaped/sized with the Font/Colour button - just go easy when winding up the font size. If it gets too big you can fix it after clicking the panic button. Aside from subtle differences in the precise way the FontChooser thing adjusts itself when I increase the size of the example text box the only display niggle is the arrow buttons on the SpinBox - qt4 displays them each at half the height of the SpinBox, gtk doesn't. I have noted other minor differences, not evidenced in this project, and one which is; on program startup ( the screen opens near the mouse pointer ), with the task bar and the mouse at the top of the screen, the qt4 version will hide the title bar of the window under the panel. The gtk version places it correctly just below the panel. And Finally: [System] OperatingSystem=Linux Kernel=3.2.16-0.rt27.1.mga2 Architecture=x86_64 Memory=3092992 kB DistributionVendor="Mageia" DistributionRelease="Mageia 2" Desktop=LXDE [Gambas 3] Version=3.1.1 Path=/usr/bin/gbx3 Richard -------------- next part -------------- A non-text attachment was scrubbed... Name: SplashDesigner-1.0.2.tar.gz Type: application/x-gzip Size: 26791 bytes Desc: not available URL: From gambas at ...2524... Mon Sep 17 15:18:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 17 Sep 2012 13:18:12 +0000 Subject: [Gambas-user] Issue 330 in gambas: IDE: Save Project As.. .Project file not updated In-Reply-To: <3-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> <0-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Updates: Status: Started Comment #4 on issue 330 by benoit.m... at ...626...: IDE: Save Project As.. .Project file not updated http://code.google.com/p/gambas/issues/detail?id=330 OK, got it :-) From gambas at ...2524... Mon Sep 17 15:42:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 17 Sep 2012 13:42:10 +0000 Subject: [Gambas-user] Issue 330 in gambas: IDE: Save Project As.. .Project file not updated In-Reply-To: <4-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> <0-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-14987766119719090002-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 330 by benoit.m... at ...626...: IDE: Save Project As.. .Project file not updated http://code.google.com/p/gambas/issues/detail?id=330 Fixed in revision #5172. From gambas at ...2524... Mon Sep 17 16:23:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 17 Sep 2012 14:23:13 +0000 Subject: [Gambas-user] Issue 149 in gambas: DesktopWindow.X and DesktopWindow.Y always 1 and 21 In-Reply-To: <3-6813199134517018827-17923315537843977754-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-17923315537843977754-gambas=googlecode.com@...2524...> <0-6813199134517018827-17923315537843977754-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-17923315537843977754-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 149 by benoit.m... at ...626...: DesktopWindow.X and DesktopWindow.Y always 1 and 21 http://code.google.com/p/gambas/issues/detail?id=149 It should be finally fixed in revision #5173! From eilert-sprachen at ...221... Mon Sep 17 18:19:21 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 17 Sep 2012 18:19:21 +0200 Subject: [Gambas-user] Using Gambas for Apache cgi Message-ID: <50574D89.6080601@...221...> Hi everyone, Long time ago I set up a Gambas application in my internal server for cgi. I do remember there was some tweaking of Apache confs to tell it to accept .gambas and .gbs as a cgi program, but I don't remember what it was. Now I have tried to install this on another server, but of course it wasn't as simple as just copying the binaries into cgi-bin. Can one of you guys point me to it? I already searched my apache config files, but I didn't find where I have changed something. Thanks for your help. Rolf From taboege at ...626... Mon Sep 17 19:52:31 2012 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Sep 2012 19:52:31 +0200 Subject: [Gambas-user] Using Gambas for Apache cgi In-Reply-To: <50574D89.6080601@...221...> References: <50574D89.6080601@...221...> Message-ID: <20120917175231.GB1454@...2774...> On Mon, 17 Sep 2012, Rolf-Werner Eilert wrote: > Hi everyone, > > Long time ago I set up a Gambas application in my internal server for > cgi. I do remember there was some tweaking of Apache confs to tell it to > accept .gambas and .gbs as a cgi program, but I don't remember what it > was. Now I have tried to install this on another server, but of course > it wasn't as simple as just copying the binaries into cgi-bin. > > Can one of you guys point me to it? I already searched my apache config > files, but I didn't find where I have changed something. > > Thanks for your help. > > Rolf > Hi Rolf, my answer is as always: Hans (you know him?) already did this and wrote a paper (in german). I don't mind (and he doesn't mind me) sending it along with everything else he felt to put in that tarball back then (Gambas2 times). Since I last sent it to someone I actually tested it out and it indeed worked on our school server ;-) Apache configuration is not much of that paper, I hope you find it useful; any credit to Hans. Unfortunately, the tarball (even only the PDF xz-compressed) appears to be >512 KiB (must have been the reason I never really wanted to send it to the list) and so I'll send it to you via private mail. Benoit, may I finally send the whole archive to the list (read: Are you inclined to approve that ~1.5 MiB archive?) Regards, Tobi From vuott at ...325... Mon Sep 17 20:52:24 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 17 Sep 2012 19:52:24 +0100 (BST) Subject: [Gambas-user] Strange behavior of .Move function... In-Reply-To: <50570702.2000808@...1...> Message-ID: <1347907944.21306.YahooMailClassic@...2691...> Hello Beno?t, so, I tried with rev. 5173. ".Move" method now works well. It's OK and two moving parameters and two resizing parameters. Problems persist with the ".Resize" method. Bye vuott --- Lun 17/9/12, Beno?t Minisini ha scritto: > Da: Beno?t Minisini > Oggetto: Re: [Gambas-user] Strange behavior of .Move function... BIS > A: "mailing list for gambas users" > Data: Luned? 17 settembre 2012, 13:18 > Le 17/09/2012 12:54, Ru Vuott a > ?crit : > > Hello Beno?t, > > > > I tried, now, my code on a 32bit system (Kubuntu - > KDE), and I saw those metods (.Move and .Resize) work weeery > well ! > > > > So, as you said the problem is on 64bit system. > > > > Bye > > vuott > > > > Can you try with revision #5171? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Sep 17 21:05:08 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 17 Sep 2012 21:05:08 +0200 Subject: [Gambas-user] Strange behavior of .Move function... In-Reply-To: <1347907944.21306.YahooMailClassic@...2691...> References: <1347907944.21306.YahooMailClassic@...2691...> Message-ID: <50577464.3020608@...1...> Le 17/09/2012 20:52, Ru Vuott a ?crit : > Hello Beno?t, > > so, I tried with rev. 5173. > > ".Move" method now works well. It's OK and two moving parameters and two resizing parameters. > > Problems persist with the ".Resize" method. > > Bye > vuott > Fixed in revision #5174. Regards, -- Beno?t Minisini From gambas at ...1... Mon Sep 17 21:07:57 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 17 Sep 2012 21:07:57 +0200 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: <505700B9.9020802@...1...> Message-ID: <5057750D.20103@...1...> Le 17/09/2012 14:47, RICHARD WALKER a ?crit : > 3. Example project attached. As shipped it is set for qt4 (although on > my system the compiled version still uses gtk!?) Maybe you should learn what an "environmental variable" is? :-) Anyway, GB_GUI is just there for debugging. If you need gb.qt4, just check it. You check gb.gui only if you want gb.qt4 on KDE/Trinity and gb.gtk on other desktops. Regards, -- Beno?t Minisini From demosthenesk at ...626... Mon Sep 17 21:41:15 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Mon, 17 Sep 2012 22:41:15 +0300 Subject: [Gambas-user] Using Gambas for Apache cgi In-Reply-To: <20120917175231.GB1454@...2774...> References: <50574D89.6080601@...221...> <20120917175231.GB1454@...2774...> Message-ID: <50577CDB.2060009@...626...> ???? 17/9/2012 20:52, ?/? Tobias Boege ??????: > On Mon, 17 Sep 2012, Rolf-Werner Eilert wrote: >> Hi everyone, >> >> Long time ago I set up a Gambas application in my internal server for >> cgi. I do remember there was some tweaking of Apache confs to tell it to >> accept .gambas and .gbs as a cgi program, but I don't remember what it >> was. Now I have tried to install this on another server, but of course >> it wasn't as simple as just copying the binaries into cgi-bin. >> >> Can one of you guys point me to it? I already searched my apache config >> files, but I didn't find where I have changed something. >> >> Thanks for your help. >> >> Rolf >> > Hi Rolf, > > my answer is as always: Hans (you know him?) already did this and wrote a > paper (in german). I don't mind (and he doesn't mind me) sending it along > with everything else he felt to put in that tarball back then (Gambas2 > times). Since I last sent it to someone I actually tested it out and it > indeed worked on our school server ;-) > > Apache configuration is not much of that paper, I hope you find it > useful; any credit to Hans. > > Unfortunately, the tarball (even only the PDF xz-compressed) appears to > be >512 KiB (must have been the reason I never really wanted to send it to > the list) and so I'll send it to you via private mail. > > Benoit, may I finally send the whole archive to the list (read: Are you > inclined to approve that ~1.5 MiB archive?) > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi there, see the main server how it configs a cgi-bin directory. in mine for www is ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all a similar config must be in your virtual host for its cgi-bin directory For more Apache configs see the official Apache docs. After that you have to create a script in an text editor with this line #!/usr/local/bin/gbs3 or wherever gbs3 is located at your system this binary can run gambas scripts from console. i used it to write a gambas console script as cgi but Benoit suggests to use instead a binary gambas file but i cant figure out how to run a test.gambas file as cgi. see also this conversation http://sourceforge.net/mailarchive/message.php?msg_id=29473177 From gambas at ...1... Mon Sep 17 21:46:19 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 17 Sep 2012 21:46:19 +0200 Subject: [Gambas-user] Using Gambas for Apache cgi In-Reply-To: <50577CDB.2060009@...626...> References: <50574D89.6080601@...221...> <20120917175231.GB1454@...2774...> <50577CDB.2060009@...626...> Message-ID: <50577E0B.2080904@...1...> Le 17/09/2012 21:41, Demosthenes Koptsis a ?crit : > ???? 17/9/2012 20:52, ?/? Tobias Boege ??????: >> On Mon, 17 Sep 2012, Rolf-Werner Eilert wrote: >>> Hi everyone, >>> >>> Long time ago I set up a Gambas application in my internal server for >>> cgi. I do remember there was some tweaking of Apache confs to tell it to >>> accept .gambas and .gbs as a cgi program, but I don't remember what it >>> was. Now I have tried to install this on another server, but of course >>> it wasn't as simple as just copying the binaries into cgi-bin. >>> >>> Can one of you guys point me to it? I already searched my apache config >>> files, but I didn't find where I have changed something. >>> >>> Thanks for your help. >>> >>> Rolf >>> >> Hi Rolf, >> >> my answer is as always: Hans (you know him?) already did this and wrote a >> paper (in german). I don't mind (and he doesn't mind me) sending it along >> with everything else he felt to put in that tarball back then (Gambas2 >> times). Since I last sent it to someone I actually tested it out and it >> indeed worked on our school server ;-) >> >> Apache configuration is not much of that paper, I hope you find it >> useful; any credit to Hans. >> >> Unfortunately, the tarball (even only the PDF xz-compressed) appears to >> be >512 KiB (must have been the reason I never really wanted to send it to >> the list) and so I'll send it to you via private mail. >> >> Benoit, may I finally send the whole archive to the list (read: Are you >> inclined to approve that ~1.5 MiB archive?) >> >> Regards, >> Tobi >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > Hi there, > > see the main server how it configs a cgi-bin directory. > in mine for www is > > ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ > > AllowOverride None > Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch > Order allow,deny > Allow from all > > > a similar config must be in your virtual host for its cgi-bin directory > > For more Apache configs see the official Apache docs. > > After that you have to create a script in an text editor with this line > > #!/usr/local/bin/gbs3 > > or wherever gbs3 is located at your system > > this binary can run gambas scripts from console. > > i used it to write a gambas console script as cgi but Benoit suggests to > use instead a binary gambas file but i cant figure out how to run a > test.gambas file as cgi. > Hu??? If you can run any script (file beginning with "#!") as CGI script, then you run any gambas executable, that are script too. The only requirement is that "gbr3" and "gbx3" directory *must be in the PATH environmental variable*. Because Gambas executable start with "#! /usr/bin/env gbr3". Regards, -- Beno?t Minisini From vuott at ...325... Mon Sep 17 22:42:39 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 17 Sep 2012 21:42:39 +0100 (BST) Subject: [Gambas-user] Strange behavior of .Resize function... In-Reply-To: <50577464.3020608@...1...> Message-ID: <1347914559.66907.YahooMailClassic@...2780...> Yeeeeeeeeeeesssss Beno?t, now I confirm that the ".Resize" method works ! by vuott > > > > Problems persist with the ".Resize" method. > > > > Bye > > vuott > > > > Fixed in revision #5174. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's > security and > threat landscape has changed and how IT managers can > respond. Discussions > will include endpoint security, mobile security and the > latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From richard.j.walker at ...247... Mon Sep 17 22:48:36 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 17 Sep 2012 21:48:36 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: <5057750D.20103@...1...> References: <505700B9.9020802@...1...> <5057750D.20103@...1...> Message-ID: Funny thing is I thought I understood enough about environment variables to see me through. It never occurred to me that the environment for that setting would be restricted to the IDE, but now you mention it, it makes sense. If it were visible in my user environment it might affect every Gambas program, and that would be awkward. I made a new exec with qt4 and it works just fine. Thank you again Beno?t. Richard From richard.j.walker at ...247... Mon Sep 17 23:39:54 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 17 Sep 2012 22:39:54 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: <505700B9.9020802@...1...> <5057750D.20103@...1...> Message-ID: I am now convinced I am getting too old for this game. I managed to package a broken project. One critical line is missing from the copy button handler. Here is the whole thing: Public Sub CopyButton_Click() Dim tmpImage As Image If FLogo.Visible Then With FLogo.Picture tmpImage = New Image(.W, .H, Color.White) tmpImage.PaintImage(.Image, 0, 0) End With Clipboard.Copy(tmpImage) Endif End From gambas at ...1... Mon Sep 17 23:48:33 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 17 Sep 2012 23:48:33 +0200 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: <505700B9.9020802@...1...> <5057750D.20103@...1...> Message-ID: <50579AB1.8010802@...1...> Le 17/09/2012 23:39, RICHARD WALKER a ?crit : > I am now convinced I am getting too old for this game. > > I managed to package a broken project. > > One critical line is missing from the copy button handler. Here is the > whole thing: > > Public Sub CopyButton_Click() > > Dim tmpImage As Image > > If FLogo.Visible Then > With FLogo.Picture > tmpImage = New Image(.W, .H, Color.White) > tmpImage.PaintImage(.Image, 0, 0) > End With > Clipboard.Copy(tmpImage) > Endif > > End > Yes, I saw it. But it does not change that gb.gtk seems to be buggy when copying an image, otherwise a blank image would have been pasted, and not some garbage. -- Beno?t Minisini From richard.j.walker at ...247... Tue Sep 18 00:01:46 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 17 Sep 2012 23:01:46 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: <50579AB1.8010802@...1...> References: <505700B9.9020802@...1...> <5057750D.20103@...1...> <50579AB1.8010802@...1...> Message-ID: You are too kind. I've been calling myself every kind of idiot under the sun:) From eilert-sprachen at ...221... Tue Sep 18 11:17:36 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 18 Sep 2012 11:17:36 +0200 Subject: [Gambas-user] Using Gambas for Apache cgi In-Reply-To: <50577E0B.2080904@...1...> References: <50574D89.6080601@...221...> <20120917175231.GB1454@...2774...> <50577CDB.2060009@...626...> <50577E0B.2080904@...1...> Message-ID: <50583C30.1020808@...221...> Am 17.09.2012 21:46, schrieb Beno?t Minisini: > Le 17/09/2012 21:41, Demosthenes Koptsis a ?crit : >> ???? 17/9/2012 20:52, ?/? Tobias Boege ??????: >>> On Mon, 17 Sep 2012, Rolf-Werner Eilert wrote: >>>> Hi everyone, >>>> >>>> Long time ago I set up a Gambas application in my internal server for >>>> cgi. I do remember there was some tweaking of Apache confs to tell it to >>>> accept .gambas and .gbs as a cgi program, but I don't remember what it >>>> was. Now I have tried to install this on another server, but of course >>>> it wasn't as simple as just copying the binaries into cgi-bin. >>>> >>>> Can one of you guys point me to it? I already searched my apache config >>>> files, but I didn't find where I have changed something. >>>> >>>> Thanks for your help. >>>> >>>> Rolf >>>> >>> Hi Rolf, >>> >>> my answer is as always: Hans (you know him?) already did this and wrote a >>> paper (in german). I don't mind (and he doesn't mind me) sending it along >>> with everything else he felt to put in that tarball back then (Gambas2 >>> times). Since I last sent it to someone I actually tested it out and it >>> indeed worked on our school server ;-) >>> >>> Apache configuration is not much of that paper, I hope you find it >>> useful; any credit to Hans. >>> >>> Unfortunately, the tarball (even only the PDF xz-compressed) appears to >>> be>512 KiB (must have been the reason I never really wanted to send it to >>> the list) and so I'll send it to you via private mail. >>> >>> Benoit, may I finally send the whole archive to the list (read: Are you >>> inclined to approve that ~1.5 MiB archive?) >>> >>> Regards, >>> Tobi >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> Hi there, >> >> see the main server how it configs a cgi-bin directory. >> in mine for www is >> >> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ >> >> AllowOverride None >> Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch >> Order allow,deny >> Allow from all >> >> >> a similar config must be in your virtual host for its cgi-bin directory >> >> For more Apache configs see the official Apache docs. >> >> After that you have to create a script in an text editor with this line >> >> #!/usr/local/bin/gbs3 >> >> or wherever gbs3 is located at your system >> >> this binary can run gambas scripts from console. >> >> i used it to write a gambas console script as cgi but Benoit suggests to >> use instead a binary gambas file but i cant figure out how to run a >> test.gambas file as cgi. >> > > Hu??? If you can run any script (file beginning with "#!") as CGI > script, then you run any gambas executable, that are script too. The > only requirement is that "gbr3" and "gbx3" directory *must be in the > PATH environmental variable*. Because Gambas executable start with "#! > /usr/bin/env gbr3". > > Regards, > This is right, the script runs when I start it in the terminal and prints the HTML code for the start page into the terminal. So far Gambas is fine. But Apache has some problem with it. I configured the cgi-bin as above (actually not me, but it's the default). Apache looks for it and seemingly it DOES find it but it complaints with a 500 Internal Error page and in /var/log/apache2/suexec.log we can read something about gid/uid mismatch. Any idea where it might be stuck? Regards Rolf From gambas at ...1... Tue Sep 18 11:35:47 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 18 Sep 2012 11:35:47 +0200 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: <505700B9.9020802@...1...> Message-ID: <50584073.1000709@...1...> Le 17/09/2012 14:47, RICHARD WALKER a ?crit : > ... With gtk we get some white, some black and random coloured dots, > perhaps even some recognisable shapes of the image. This has been fixed in revision #5175. Now copying images to the clipboard is safe! > > Aside from subtle differences in the precise way the FontChooser > thing adjusts itself when I increase the size of the example text box > the only display niggle is the arrow buttons on the SpinBox - qt4 > displays them each at half the height of the SpinBox, gtk doesn't. This is a bug in GTK+ themes that mimic QT4 ones (for example oxygen-gtk). I can't do anything against that. I will try to send a bug report to the oxygen-gtk developers. For other themes, I don't know... > > I have noted other minor differences, not evidenced in this project, > and one which is; on program startup ( the screen opens near the > mouse pointer ), with the task bar and the mouse at the top of the > screen, the qt4 version will hide the title bar of the window under > the panel. The gtk version places it correctly just below the panel. This is an internal QT4/GTK+/LXDE stuff I think. By default, Gambas tells the window manager that the window top-left corner coordinates are 0,0. Then the window manager does what it wants. Maybe GTK+ internally check the panels and fix the Gambas coordinates? Regards, -- Beno?t Minisini From gambas at ...1... Tue Sep 18 12:06:57 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 18 Sep 2012 12:06:57 +0200 Subject: [Gambas-user] gambas3, IDE search and replace don't work as expected In-Reply-To: <1347798427.3306.11.camel@...40...> References: <1347798427.3306.11.camel@...40...> Message-ID: <505847C1.2040407@...1...> Le 16/09/2012 14:27, Karl Reinl a ?crit : > Salut, > > gambas3 rev 5165 , IDE search and replace don't work as expected. > > - Searching in current file. > - fill find and replace. > - push 'next' button. > - you will stay on the first item found > - push 'replace' button, the item will be replaced, and the > cursor keeps staying at that position. > - you have to push the 'next' button, to find next item. > - if you push the 'replace' button, the next item will be found > and changed > > I think after pushing the 'replace' button, next item should be marked. > Please be more precise on what you are doing exactly, I can't reproduce what you are talking about. Except that pushing the 'replace' button won't go to the next item -after- replacing, but -before-, because I want to see what I am replacing. -- Beno?t Minisini From Karl.Reinl at ...2345... Tue Sep 18 13:16:22 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 18 Sep 2012 13:16:22 +0200 Subject: [Gambas-user] gambas3, IDE search and replace don't work as expected In-Reply-To: <505847C1.2040407@...1...> References: <1347798427.3306.11.camel@...40...> <505847C1.2040407@...1...> Message-ID: <1347966982.2327.22.camel@...40...> Am Dienstag, den 18.09.2012, 12:06 +0200 schrieb Beno?t Minisini: > Le 16/09/2012 14:27, Karl Reinl a ?crit : > > Salut, > > > > gambas3 rev 5165 , IDE search and replace don't work as expected. > > > > - Searching in current file. > > - fill find and replace. > > - push 'next' button. > > - you will stay on the first item found > > - push 'replace' button, the item will be replaced, and the > > cursor keeps staying at that position. > > - you have to push the 'next' button, to find next item. > > - if you push the 'replace' button, the next item will be found > > and changed > > > > I think after pushing the 'replace' button, next item should be marked. > > > > Please be more precise on what you are doing exactly, I can't reproduce > what you are talking about. Except that pushing the 'replace' button > won't go to the next item -after- replacing, but -before-, because I > want to see what I am replacing. > Salut, - I mark printPDF in the code - press Ctrl+F the (attached Window appears (without PDFPrinter in 'replace') - write PDFPrinter into 'replace' - now I push 'replace' button the printPDF (I marked before) is changed to PDFPrinter - but the cursor don't move to the next printPDF-Item - if I push now the 'replace' button again, the cursor moves to the next printPDF-Item, marks it, and change it into PDFPrinter and keep staying on. [System] OperatingSystem=Linux Kernel=3.0.0-25-generic Architecture=i686 Memory=3098208 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome [Gambas 1] Version=gbx-1.0.17 Path=/usr/bin/gbx [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.3.0 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 but also same behaviour on that box: [System] OperatingSystem=Linux Kernel=3.2.0-29-generic Architecture=x86_64 Memory=1015944 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Gnome [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.2.90 rev.5085 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto-Suchen & Ersetzen - modPrinting.module.png Type: image/png Size: 36281 bytes Desc: not available URL: From gambas at ...1... Tue Sep 18 14:50:44 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 18 Sep 2012 14:50:44 +0200 Subject: [Gambas-user] gambas3, IDE search and replace don't work as expected In-Reply-To: <1347966982.2327.22.camel@...40...> References: <1347798427.3306.11.camel@...40...> <505847C1.2040407@...1...> <1347966982.2327.22.camel@...40...> Message-ID: <50586E24.8000505@...1...> Le 18/09/2012 13:16, Charlie Reinl a ?crit : > Salut, > > - I mark printPDF in the code > - press Ctrl+F the (attached Window appears > (without PDFPrinter in 'replace') > - write PDFPrinter into 'replace' > - now I push 'replace' button > the printPDF (I marked before) is changed to PDFPrinter > - but the cursor don't move to the next printPDF-Item > - if I push now the 'replace' button again, > the cursor moves to the next printPDF-Item, marks it, > and change it into PDFPrinter and keep staying on. > OK, so this is the behaviour I wanted. As I said, if I move the cursor after having replaced the string, I won't see what I have replaced. So I did the contrary: moving the cursor first, and then doing the replace. Isn't it better? -- Beno?t Minisini From Karl.Reinl at ...2345... Tue Sep 18 14:58:37 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 18 Sep 2012 14:58:37 +0200 Subject: [Gambas-user] gambas3, IDE search and replace don't work as expected In-Reply-To: <50586E24.8000505@...1...> References: <1347798427.3306.11.camel@...40...> <505847C1.2040407@...1...> <1347966982.2327.22.camel@...40...> <50586E24.8000505@...1...> Message-ID: <1347973117.2327.26.camel@...40...> Am Dienstag, den 18.09.2012, 14:50 +0200 schrieb Beno?t Minisini: > Le 18/09/2012 13:16, Charlie Reinl a ?crit : > > Salut, > > > > - I mark printPDF in the code > > - press Ctrl+F the (attached Window appears > > (without PDFPrinter in 'replace') > > - write PDFPrinter into 'replace' > > - now I push 'replace' button > > the printPDF (I marked before) is changed to PDFPrinter > > - but the cursor don't move to the next printPDF-Item > > - if I push now the 'replace' button again, > > the cursor moves to the next printPDF-Item, marks it, > > and change it into PDFPrinter and keep staying on. > > > > OK, so this is the behaviour I wanted. As I said, if I move the cursor > after having replaced the string, I won't see what I have replaced. So I > did the contrary: moving the cursor first, and then doing the replace. > Isn't it better? > Salut, mostly I do not want that every 'found' is replaced,so how going back ? -- Amicalement Charlie From gambas at ...1... Tue Sep 18 15:04:03 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 18 Sep 2012 15:04:03 +0200 Subject: [Gambas-user] gambas3, IDE search and replace don't work as expected In-Reply-To: <1347973117.2327.26.camel@...40...> References: <1347798427.3306.11.camel@...40...> <505847C1.2040407@...1...> <1347966982.2327.22.camel@...40...> <50586E24.8000505@...1...> <1347973117.2327.26.camel@...40...> Message-ID: <50587143.7060405@...1...> Le 18/09/2012 14:58, Charlie Reinl a ?crit : > Am Dienstag, den 18.09.2012, 14:50 +0200 schrieb Beno?t Minisini: >> Le 18/09/2012 13:16, Charlie Reinl a ?crit : >>> Salut, >>> >>> - I mark printPDF in the code >>> - press Ctrl+F the (attached Window appears >>> (without PDFPrinter in 'replace') >>> - write PDFPrinter into 'replace' >>> - now I push 'replace' button >>> the printPDF (I marked before) is changed to PDFPrinter >>> - but the cursor don't move to the next printPDF-Item >>> - if I push now the 'replace' button again, >>> the cursor moves to the next printPDF-Item, marks it, >>> and change it into PDFPrinter and keep staying on. >>> >> >> OK, so this is the behaviour I wanted. As I said, if I move the cursor >> after having replaced the string, I won't see what I have replaced. So I >> did the contrary: moving the cursor first, and then doing the replace. >> Isn't it better? >> > Salut, > > mostly I do not want that every 'found' is replaced,so how going back > ? > Mmm... yes, you're right... I will think about that... -- Beno?t Minisini From richard.j.walker at ...247... Tue Sep 18 20:07:38 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Tue, 18 Sep 2012 19:07:38 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: <50584073.1000709@...1...> References: <505700B9.9020802@...1...> <50584073.1000709@...1...> Message-ID: On 18/09/2012, Beno?t Minisini wrote: > This is an internal QT4/GTK+/LXDE stuff I think. By default, Gambas > tells the window manager that the window top-left corner coordinates are > 0,0. Then the window manager does what it wants. Maybe GTK+ internally > check the panels and fix the Gambas coordinates? Maybe, as a workaround, I could check the position of the panel in FMain's Form_Show(). If it is at the top (or on the left side) I could check its origin and add its height (or width) and position my screen accordingly. It's worth exploring, but I'll leave it for now. Thank you for the insight. > This is a bug in GTK+ themes that mimic QT4 ones (for example > oxygen-gtk). I can't do anything against that. I will try to send a bug > report to the oxygen-gtk developers. For other themes, I don't know... It is only a minor blemish which I think I can live with. At least it gives us a quick way to determine which gb toolkit is in use :-) > This has been fixed in revision #5175. Now copying images to the > clipboard is safe! That is fantastic. I have started to figure out a patch for 3.1.1. If I get it to work I will file the bug report with Mageia and give Matteo a nudge. Thank you again, Richard From gambas at ...1... Tue Sep 18 20:09:49 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 18 Sep 2012 20:09:49 +0200 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: <505700B9.9020802@...1...> <50584073.1000709@...1...> Message-ID: <5058B8ED.3050901@...1...> Le 18/09/2012 20:07, RICHARD WALKER a ?crit : > On 18/09/2012, Beno?t Minisini wrote: >> This is an internal QT4/GTK+/LXDE stuff I think. By default, Gambas >> tells the window manager that the window top-left corner coordinates are >> 0,0. Then the window manager does what it wants. Maybe GTK+ internally >> check the panels and fix the Gambas coordinates? > > Maybe, as a workaround, I could check the position of the panel in > FMain's Form_Show(). If it is at the top (or on the left side) I could > check its origin and add its height (or width) and position my screen > accordingly. It's worth exploring, but I'll leave it for now. Thank > you for the insight. > It is more complex than that: the Root window has a property that describes which part of the desktop is usable, and that was must be used. So let me try to handle that in gb.qt4. >> This is a bug in GTK+ themes that mimic QT4 ones (for example >> oxygen-gtk). I can't do anything against that. I will try to send a bug >> report to the oxygen-gtk developers. For other themes, I don't know... > > It is only a minor blemish which I think I can live with. At least it > gives us a quick way to determine which gb toolkit is in use :-) If Component.IsLoaded("gb.gtk") Then ... -- Beno?t Minisini From demosthenesk at ...626... Tue Sep 18 20:18:37 2012 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Tue, 18 Sep 2012 21:18:37 +0300 Subject: [Gambas-user] Using Gambas for Apache cgi Message-ID: <5058BAFD.6030508@...626...> Hu??? If you can run any script (file beginning with "#!") as CGI script, then you run any gambas executable, that are script too. The only requirement is that "gbr3" and "gbx3" directory *must be in the PATH environmental variable*. Because Gambas executable start with "#! /usr/bin/env gbr3". Regards, -- Beno?t Minisini ------------- Yes i had to add a mime for gambas extention in Apache config. so to avoid extra configuration i did a console script From richard.j.walker at ...247... Tue Sep 18 20:20:31 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Tue, 18 Sep 2012 19:20:31 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: <5058B8ED.3050901@...1...> References: <505700B9.9020802@...1...> <50584073.1000709@...1...> <5058B8ED.3050901@...1...> Message-ID: > If Component.IsLoaded("gb.gtk") Then ... It's a good thing that you are a programmer 'cos you think like one :-)) I'm less analytical - I just look at the spinbox on the screen and know straight away! R From rolf.frogs at ...221... Tue Sep 18 20:47:15 2012 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Tue, 18 Sep 2012 20:47:15 +0200 Subject: [Gambas-user] Using Gambas for Apache cgi In-Reply-To: <50583C30.1020808@...221...> References: <50574D89.6080601@...221...> <20120917175231.GB1454@...2774...> <50577CDB.2060009@...626...> <50577E0B.2080904@...1...> <50583C30.1020808@...221...> Message-ID: <5058C1B3.10405@...2594...> Hi Rolf-Werner > But Apache has some problem with it. I configured the cgi-bin as above > (actually not me, but it's the default). Apache looks for it and > seemingly it DOES find it but it complaints with a 500 Internal Error > page and in /var/log/apache2/suexec.log we can read something about > gid/uid mismatch. All files must be accessible by the user/group the apache is running with. On Debian systems it is www-data:www-data. Make a chown on your files. Never give the files executable right for everybody. Gru? Rolf From richard.j.walker at ...247... Tue Sep 18 23:48:31 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Tue, 18 Sep 2012 22:48:31 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: <505700B9.9020802@...1...> <50584073.1000709@...1...> <5058B8ED.3050901@...1...> Message-ID: OK Beno?t, I have rebuilt gambas3-3.1.1, which is the version distributed with Mageia 2, with the patch I derived from your modified gb.gtk/src/CClipboard.cpp file in revision 5175. It works just fine (sort of - see later) and I have registered an appropriate Mageia bug (Bug 7522) which will hopefully make this fix available to other Gambas users in the Mageia community. No doubt the version of Gambas to be released with Mageia 3 will be post revision 5175 (my anglo-saxon fingers are crossed; south africans hold thumbs, I believe. Is there a standard Euro-gesture?). Now that I can paste a Gambas-processed image using either qt4 or gtk I can see that there is a difference in the way these toolkits support the PaintImage method of the Image class. The gb.qt4 way is pretty much what the manual says. The gb.gtk method does not implement any anti-aliasing and is much less refined looking. Seems I will have to go on using the qt4 version for a while longer. Nevertheless, for ordinary purposes not involving conversion from transparent to opaque backgrounds it should be usable. The stranger thing is what happens when you substitute DrawImage for PaintImage in each toolkit. The raggedness of the gtk PaintImage is echoed by the qt4 DrawImage and the smoothness of the qt4 PaintImage is rivalled by the smoothness of the gtk DrawImage. Mind-bending stuff! If you are as confused as I was then please have a look at the attached Lbreoffice doc... Richard -------------- next part -------------- A non-text attachment was scrubbed... Name: gambascopyfromclipboard.odt Type: application/vnd.oasis.opendocument.text Size: 92006 bytes Desc: not available URL: From gambas at ...1... Wed Sep 19 01:41:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 19 Sep 2012 01:41:32 +0200 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: References: <505700B9.9020802@...1...> <50584073.1000709@...1...> <5058B8ED.3050901@...1...> Message-ID: <505906AC.3080408@...1...> Le 18/09/2012 23:48, RICHARD WALKER a ?crit : > OK Beno?t, > I have rebuilt gambas3-3.1.1, which is the version distributed with > Mageia 2, with the patch I derived from your modified > gb.gtk/src/CClipboard.cpp file in revision 5175. It works just fine > (sort of - see later) and I have registered an appropriate Mageia bug > (Bug 7522) which will hopefully make this fix available to other > Gambas users in the Mageia community. No doubt the version of Gambas > to be released with Mageia 3 will be post revision 5175 (my > anglo-saxon fingers are crossed; south africans hold thumbs, I > believe. Is there a standard Euro-gesture?). > > Now that I can paste a Gambas-processed image using either qt4 or gtk > I can see that there is a difference in the way these toolkits support > the PaintImage method of the Image class. The gb.qt4 way is pretty > much what the manual says. The gb.gtk method does not implement any > anti-aliasing and is much less refined looking. Seems I will have to > go on using the qt4 version for a while longer. Nevertheless, for > ordinary purposes not involving conversion from transparent to opaque > backgrounds it should be usable. > > The stranger thing is what happens when you substitute DrawImage for > PaintImage in each toolkit. The raggedness of the gtk PaintImage is > echoed by the qt4 DrawImage and the smoothness of the qt4 PaintImage > is rivalled by the smoothness of the gtk DrawImage. Mind-bending > stuff! If you are as confused as I was then please have a look at the > attached Lbreoffice doc... > > Richard > It depends on what you are doing before with the images, and if you use Image or Pictures. Image are (almost) identical between gb.qt4 and gb.gtk, because they are stored in the process memory. But Picture are different, they are stored in the X11 server, which do not support alpha channel by default. To have Picture with alpha channels, Qt internally use the XRender extension. But GTK+ does nothing, it assume you will do everything with images in process memory. As soon as you convert an Image into a Picture, *and* if you use a Picture method, gb.gtk then converts the initial image alpha channel into an 1-bit mask (i.e. alpha = 0 or 255 for each pixel). So you get the aliased-effect you noticed. Try to never use Picture, unless at the very last moment (for example when assiging a Button picture, or a Form background like in the OnScreenDisplay example). Tell me if you understand what I mean. Regards, -- Beno?t Minisini From richard.j.walker at ...247... Wed Sep 19 03:29:00 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Wed, 19 Sep 2012 02:29:00 +0100 Subject: [Gambas-user] How do I replace Image transparent background with a white background? In-Reply-To: <505906AC.3080408@...1...> References: <505700B9.9020802@...1...> <50584073.1000709@...1...> <5058B8ED.3050901@...1...> <505906AC.3080408@...1...> Message-ID: I understand, at least enough to get rid of the ragged effect. Now both qt4 and gtk versions use PaintImage with virtually identical smooth results. _That_ is a result. I had been using the image installed as a picture on FLogo in order to access it easily from FMain by using Flogo.Picture.Image. That was mistake number 1. Mistake number 2 was, if I understand you correctly, that as soon as the hImage.Picure is installed as FLogo.Picture, the damage has been done anyway. So what I have now is a public Image called Final_Render which is assigned from the hImage local variable I have been procesing, just before assigning hImage.Picture to FLogo.Picture. Now FMain routines can get access to the "pure" image as FLogo.Final_Render. I have also changed the Save routine so that it saves FLogo.Final_Render instead of FLogo.Picture (which was mistake number 3). I will take some time to tinker with this until I have a more complete understanding, but for now I think it is safest for me not to use ANY Picture method on an important Image unless I have a safe copy of it. I have learned a lot from you in sorting through this problem. My task now is to try and remember it all :-) Thank you again, again. Richard From eilert-sprachen at ...221... Wed Sep 19 12:01:27 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 19 Sep 2012 12:01:27 +0200 Subject: [Gambas-user] Using Gambas for Apache cgi In-Reply-To: <5058C1B3.10405@...2594...> References: <50574D89.6080601@...221...> <20120917175231.GB1454@...2774...> <50577CDB.2060009@...626...> <50577E0B.2080904@...1...> <50583C30.1020808@...221...> <5058C1B3.10405@...2594...> Message-ID: <505997F7.40607@...221...> Am 18.09.2012 20:47, schrieb Rolf Schmidt: > Hi Rolf-Werner > >> But Apache has some problem with it. I configured the cgi-bin as above >> (actually not me, but it's the default). Apache looks for it and >> seemingly it DOES find it but it complaints with a 500 Internal Error >> page and in /var/log/apache2/suexec.log we can read something about >> gid/uid mismatch. > > All files must be accessible by the user/group the apache is running > with. On Debian systems it is www-data:www-data. Make a chown on your > files. Never give the files executable right for everybody. > > Gru? > Rolf > Just tried it this way, but it doesn't help. Strange... You mean the .gambas files, right? Not env, gbr, gbx etc.? There is a test/test.cgi in the cgi-bin, it's not www-data:www-data and it runs fine. The .gambas file does run when started from a terminal, so the Gambas side seems to work fine. Apache seems to find the .gambas file and start it. It all boils down to some misunderstanding of Apache with how to handle it. Gr??e Rolf-Werner From joem at ...2671... Wed Sep 19 13:55:31 2012 From: joem at ...2671... (jm) Date: Wed, 19 Sep 2012 12:55:31 +0100 Subject: [Gambas-user] Gambas error messages Message-ID: <1348055731.5961.16.camel@...2672...> Hi, Gambas runs on Linux and I was just wondering if it can do more with regards to error messages when it is run. I've got a MK802 with A10 ARM running Lubuntu. Gambas2 seems to download and install from repository. When run nothing happens. When run from command line it does nothing. (Reading raspberry pi forums where they use ARM and have gambas working, this type of error is down to missing libs.) Doing "gambas2 --help" does nothing. (Doing "gambas3 --help" doesn't do conventional help message on Ubuntu Linux.) I was just wondering if it is possible to make gambas behave more like other applications so that its command line responses are more in line with expectations in a Linux environment. e.g. gambas3 --help : generate command line options gambas3 -v [project] : puts gambas into verbose mode that prints a message before checking for a dependent lib so that if it crashed a meaningful guess can be made as to where to look for a fix. From gambas at ...1... Wed Sep 19 14:03:37 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 19 Sep 2012 14:03:37 +0200 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348055731.5961.16.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> Message-ID: <5059B499.8030302@...1...> Le 19/09/2012 13:55, jm a ?crit : > Hi, > > Gambas runs on Linux and I was just wondering if it can do more > with regards to error messages when it is run. > > I've got a MK802 with A10 ARM running Lubuntu. > Gambas2 seems to download and install from repository. > When run nothing happens. > When run from command line it does nothing. > (Reading raspberry pi forums where they use ARM and have gambas working, > this type of error is down to missing libs.) > > Doing "gambas2 --help" does nothing. > (Doing "gambas3 --help" doesn't do conventional help > message on Ubuntu Linux.) > > I was just wondering if it is possible to make gambas > behave more like other applications so that its command > line responses are more in line with expectations > in a Linux environment. > > e.g. > gambas3 --help : generate command line options That's possible, even if gambas3 has no command line options. > gambas3 -v [project] : puts gambas into verbose mode that > prints a message before checking for a dependent lib > so that if it crashed a meaningful guess can be made as to > where to look for a fix. There I don't understand : gambas3 is the IDE, it is a GUI program. If you have missing libs, gambas3 is not compiled. And if it is, you will have error messages on the command line when running it. If you try to open a project which need components that are not install, you will have errors message boxes. So maybe you should try to give more details on how you installed gambas on your system, and more details on your system (no idea what a MK802 is...). ARM systems are quite different. Regards, -- Beno?t Minisini From joem at ...2671... Wed Sep 19 14:57:49 2012 From: joem at ...2671... (jm) Date: Wed, 19 Sep 2012 13:57:49 +0100 Subject: [Gambas-user] Gambas error messages In-Reply-To: <5059B499.8030302@...1...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> Message-ID: <1348059469.6564.32.camel@...2672...> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > Le 19/09/2012 13:55, jm a ?crit : > > Hi, > > > > Gambas runs on Linux and I was just wondering if it can do more > > with regards to error messages when it is run. > > > > I've got a MK802 with A10 ARM running Lubuntu. > > Gambas2 seems to download and install from repository. > > When run nothing happens. > > When run from command line it does nothing. > > (Reading raspberry pi forums where they use ARM and have gambas working, > > this type of error is down to missing libs.) > > > > Doing "gambas2 --help" does nothing. > > (Doing "gambas3 --help" doesn't do conventional help > > message on Ubuntu Linux.) > > > > I was just wondering if it is possible to make gambas > > behave more like other applications so that its command > > line responses are more in line with expectations > > in a Linux environment. > > > > e.g. > > gambas3 --help : generate command line options > > That's possible, even if gambas3 has no command line options. > > > gambas3 -v [project] : puts gambas into verbose mode that > > prints a message before checking for a dependent lib > > so that if it crashed a meaningful guess can be made as to > > where to look for a fix. > > There I don't understand : gambas3 is the IDE, it is a GUI program. If > you have missing libs, gambas3 is not compiled. And if it is, you will > have error messages on the command line when running it. Strange - no error messages at all. When I run gambas2 from command line, nothing happens as in the command line is completely frozen probably in an infinite loop and unable to show an IDE or output an error message. So it would be good if for example gambas started with a message like "initialising" when a parameter like -v for verbose is used so that at least we know that part has worked. (Emitting even more detailed message such as which buttons were pressed with a parameter "-v2 level" where level is a number is another desirable option. Increasing level of reporting can quickly find more complex faults - such as infinite event loops. I know many of these messages are reported to IDE, but there should be an option to get it reported to the console - that is the Linux/Unix way - the console and command line is king - even for a GUI IDE. Driving the IDE should also be command line driven. e.g. options to compile gambas programs should be available as standard from command line options for example without need for IDE to kick into life.) I had a Genesi smartbook that did the same freeze thing on their Ubuntu distro. At the time I didn't need to go forward with it, so I dropped investigating. The MK802 however I must get going because the plan for now is to use OpenBox as the window manager and Gambas as the main application. No doubt I will be trying to compile gambas3 soon for MK802 and sort it somehow. In the mean time I thought I make the suggestion for improved command line options - noting that gambas does not appear to have many options. > If you try to > open a project which need components that are not install, you will have > errors message boxes. > > So maybe you should try to give more details on how you installed gambas > on your system, and more details on your system Gambas2 downloaded from the default repository of Lubuntu 12.04 that came with the distro, by using synaptic. That would point the finger at the maintainers there but as its old its not worth pursuing. I'll probably try to compile gambas3. > (no idea what a MK802 > is...). ARM systems are quite different. It is the rage in ARMs at the moment - full ARM computer on a USB stick: https://www.miniand.com/products/MK802%20Android%20Mini%20PC (around $50 on ebay) > > Regards, > From jussi.lahtinen at ...626... Wed Sep 19 17:13:32 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 19 Sep 2012 18:13:32 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348059469.6564.32.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> Message-ID: gambas3 is just program made with Gambas, if it is in infinite loop, interpreter cannot know about it. It just does what it is commanded to do. Just like in any other programming language. Try to run something else to see whether anything works. gbx3 is Gambas interpreter executable, and gbr3 is for executing Gambas executables like gambas3. What example "gbx3 --help" says? Jussi On Wed, Sep 19, 2012 at 3:57 PM, jm wrote: > On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > Le 19/09/2012 13:55, jm a ?crit : > > > Hi, > > > > > > Gambas runs on Linux and I was just wondering if it can do more > > > with regards to error messages when it is run. > > > > > > I've got a MK802 with A10 ARM running Lubuntu. > > > Gambas2 seems to download and install from repository. > > > When run nothing happens. > > > When run from command line it does nothing. > > > (Reading raspberry pi forums where they use ARM and have gambas > working, > > > this type of error is down to missing libs.) > > > > > > Doing "gambas2 --help" does nothing. > > > (Doing "gambas3 --help" doesn't do conventional help > > > message on Ubuntu Linux.) > > > > > > I was just wondering if it is possible to make gambas > > > behave more like other applications so that its command > > > line responses are more in line with expectations > > > in a Linux environment. > > > > > > e.g. > > > gambas3 --help : generate command line options > > > > That's possible, even if gambas3 has no command line options. > > > > > gambas3 -v [project] : puts gambas into verbose mode that > > > prints a message before checking for a dependent lib > > > so that if it crashed a meaningful guess can be made as to > > > where to look for a fix. > > > > There I don't understand : gambas3 is the IDE, it is a GUI program. If > > you have missing libs, gambas3 is not compiled. And if it is, you will > > have error messages on the command line when running it. > > Strange - no error messages at all. > When I run gambas2 from command line, nothing happens as in the command > line is completely frozen probably in an infinite loop and unable to > show an IDE or output an error message. So it would be good if > for example gambas started with a message like "initialising" when > a parameter like -v for verbose is used > so that at least we know that part has worked. > (Emitting even more detailed message such as which buttons were > pressed with a parameter "-v2 level" where level is a number is another > desirable option. Increasing level of reporting can quickly find more > complex faults - such as infinite event loops. I know many of these > messages are reported to IDE, but there should be an option to get it > reported to the console - that is the Linux/Unix way - the console and > command line is king - even for a GUI IDE. Driving the IDE should also > be command line driven. e.g. options to compile gambas programs should > be available as standard from command line options for example without > need for IDE to kick into life.) > > I had a Genesi smartbook that did the same freeze thing on their Ubuntu > distro. At the time I didn't need to go forward with it, so I dropped > investigating. The MK802 however I must get going because the plan > for now is to use OpenBox as the window manager and Gambas as the main > application. > > No doubt I will be trying to compile gambas3 soon for MK802 > and sort it somehow. In the mean time I thought I make the suggestion > for improved command line options - noting that gambas does not appear > to have many options. > > > > If you try to > > open a project which need components that are not install, you will have > > errors message boxes. > > > > So maybe you should try to give more details on how you installed gambas > > on your system, and more details on your system > > Gambas2 downloaded from the default repository of Lubuntu 12.04 > that came with the distro, by using synaptic. > That would point the finger at the maintainers there but as its old > its not worth pursuing. I'll probably try to compile gambas3. > > > > (no idea what a MK802 > > is...). ARM systems are quite different. > > It is the rage in ARMs at the moment - full ARM computer on a USB stick: > https://www.miniand.com/products/MK802%20Android%20Mini%20PC > (around $50 on ebay) > > > > > Regards, > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Wed Sep 19 17:21:33 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 19 Sep 2012 18:21:33 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> Message-ID: Or here is something you could do: gdb gbr3 set args /usr/local/bin/gambas3 (or what ever is your install path) run You may need to kill the process with Ctrl + c in debugger. Then with bt, you will get backtrace. Send it here, so we can see what is happening. Jussi On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen wrote: > gambas3 is just program made with Gambas, if it is in infinite loop, > interpreter cannot know about it. > It just does what it is commanded to do. Just like in any other > programming language. > > Try to run something else to see whether anything works. > gbx3 is Gambas interpreter executable, and gbr3 is for executing Gambas > executables like gambas3. > > What example "gbx3 --help" says? > > Jussi > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm wrote: > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: >> > Le 19/09/2012 13:55, jm a ?crit : >> > > Hi, >> > > >> > > Gambas runs on Linux and I was just wondering if it can do more >> > > with regards to error messages when it is run. >> > > >> > > I've got a MK802 with A10 ARM running Lubuntu. >> > > Gambas2 seems to download and install from repository. >> > > When run nothing happens. >> > > When run from command line it does nothing. >> > > (Reading raspberry pi forums where they use ARM and have gambas >> working, >> > > this type of error is down to missing libs.) >> > > >> > > Doing "gambas2 --help" does nothing. >> > > (Doing "gambas3 --help" doesn't do conventional help >> > > message on Ubuntu Linux.) >> > > >> > > I was just wondering if it is possible to make gambas >> > > behave more like other applications so that its command >> > > line responses are more in line with expectations >> > > in a Linux environment. >> > > >> > > e.g. >> > > gambas3 --help : generate command line options >> > >> > That's possible, even if gambas3 has no command line options. >> > >> > > gambas3 -v [project] : puts gambas into verbose mode that >> > > prints a message before checking for a dependent lib >> > > so that if it crashed a meaningful guess can be made as to >> > > where to look for a fix. >> > >> > There I don't understand : gambas3 is the IDE, it is a GUI program. If >> > you have missing libs, gambas3 is not compiled. And if it is, you will >> > have error messages on the command line when running it. >> >> Strange - no error messages at all. >> When I run gambas2 from command line, nothing happens as in the command >> line is completely frozen probably in an infinite loop and unable to >> show an IDE or output an error message. So it would be good if >> for example gambas started with a message like "initialising" when >> a parameter like -v for verbose is used >> so that at least we know that part has worked. >> (Emitting even more detailed message such as which buttons were >> pressed with a parameter "-v2 level" where level is a number is another >> desirable option. Increasing level of reporting can quickly find more >> complex faults - such as infinite event loops. I know many of these >> messages are reported to IDE, but there should be an option to get it >> reported to the console - that is the Linux/Unix way - the console and >> command line is king - even for a GUI IDE. Driving the IDE should also >> be command line driven. e.g. options to compile gambas programs should >> be available as standard from command line options for example without >> need for IDE to kick into life.) >> >> I had a Genesi smartbook that did the same freeze thing on their Ubuntu >> distro. At the time I didn't need to go forward with it, so I dropped >> investigating. The MK802 however I must get going because the plan >> for now is to use OpenBox as the window manager and Gambas as the main >> application. >> >> No doubt I will be trying to compile gambas3 soon for MK802 >> and sort it somehow. In the mean time I thought I make the suggestion >> for improved command line options - noting that gambas does not appear >> to have many options. >> >> >> > If you try to >> > open a project which need components that are not install, you will have >> > errors message boxes. >> > >> > So maybe you should try to give more details on how you installed gambas >> > on your system, and more details on your system >> >> Gambas2 downloaded from the default repository of Lubuntu 12.04 >> that came with the distro, by using synaptic. >> That would point the finger at the maintainers there but as its old >> its not worth pursuing. I'll probably try to compile gambas3. >> >> >> > (no idea what a MK802 >> > is...). ARM systems are quite different. >> >> It is the rage in ARMs at the moment - full ARM computer on a USB stick: >> https://www.miniand.com/products/MK802%20Android%20Mini%20PC >> (around $50 on ebay) >> >> > >> > Regards, >> > >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From jussi.lahtinen at ...626... Wed Sep 19 17:28:17 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 19 Sep 2012 18:28:17 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348059469.6564.32.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> Message-ID: Oh and BTW, if you want to compile Gambas executables without IDE, use gbc3. Jussi On Wed, Sep 19, 2012 at 3:57 PM, jm wrote: > On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > Le 19/09/2012 13:55, jm a ?crit : > > > Hi, > > > > > > Gambas runs on Linux and I was just wondering if it can do more > > > with regards to error messages when it is run. > > > > > > I've got a MK802 with A10 ARM running Lubuntu. > > > Gambas2 seems to download and install from repository. > > > When run nothing happens. > > > When run from command line it does nothing. > > > (Reading raspberry pi forums where they use ARM and have gambas > working, > > > this type of error is down to missing libs.) > > > > > > Doing "gambas2 --help" does nothing. > > > (Doing "gambas3 --help" doesn't do conventional help > > > message on Ubuntu Linux.) > > > > > > I was just wondering if it is possible to make gambas > > > behave more like other applications so that its command > > > line responses are more in line with expectations > > > in a Linux environment. > > > > > > e.g. > > > gambas3 --help : generate command line options > > > > That's possible, even if gambas3 has no command line options. > > > > > gambas3 -v [project] : puts gambas into verbose mode that > > > prints a message before checking for a dependent lib > > > so that if it crashed a meaningful guess can be made as to > > > where to look for a fix. > > > > There I don't understand : gambas3 is the IDE, it is a GUI program. If > > you have missing libs, gambas3 is not compiled. And if it is, you will > > have error messages on the command line when running it. > > Strange - no error messages at all. > When I run gambas2 from command line, nothing happens as in the command > line is completely frozen probably in an infinite loop and unable to > show an IDE or output an error message. So it would be good if > for example gambas started with a message like "initialising" when > a parameter like -v for verbose is used > so that at least we know that part has worked. > (Emitting even more detailed message such as which buttons were > pressed with a parameter "-v2 level" where level is a number is another > desirable option. Increasing level of reporting can quickly find more > complex faults - such as infinite event loops. I know many of these > messages are reported to IDE, but there should be an option to get it > reported to the console - that is the Linux/Unix way - the console and > command line is king - even for a GUI IDE. Driving the IDE should also > be command line driven. e.g. options to compile gambas programs should > be available as standard from command line options for example without > need for IDE to kick into life.) > > I had a Genesi smartbook that did the same freeze thing on their Ubuntu > distro. At the time I didn't need to go forward with it, so I dropped > investigating. The MK802 however I must get going because the plan > for now is to use OpenBox as the window manager and Gambas as the main > application. > > No doubt I will be trying to compile gambas3 soon for MK802 > and sort it somehow. In the mean time I thought I make the suggestion > for improved command line options - noting that gambas does not appear > to have many options. > > > > If you try to > > open a project which need components that are not install, you will have > > errors message boxes. > > > > So maybe you should try to give more details on how you installed gambas > > on your system, and more details on your system > > Gambas2 downloaded from the default repository of Lubuntu 12.04 > that came with the distro, by using synaptic. > That would point the finger at the maintainers there but as its old > its not worth pursuing. I'll probably try to compile gambas3. > > > > (no idea what a MK802 > > is...). ARM systems are quite different. > > It is the rage in ARMs at the moment - full ARM computer on a USB stick: > https://www.miniand.com/products/MK802%20Android%20Mini%20PC > (around $50 on ebay) > > > > > Regards, > > > > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Sep 19 21:05:00 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 19 Sep 2012 21:05:00 +0200 Subject: [Gambas-user] gambas3, IDE search and replace don't work as expected In-Reply-To: <1347973117.2327.26.camel@...40...> References: <1347798427.3306.11.camel@...40...> <505847C1.2040407@...1...> <1347966982.2327.22.camel@...40...> <50586E24.8000505@...1...> <1347973117.2327.26.camel@...40...> Message-ID: <505A175C.9090602@...1...> Le 18/09/2012 14:58, Charlie Reinl a ?crit : > Salut, > > mostly I do not want that every 'found' is replaced,so how going back > ? > Is revision #5176 better for you? -- Beno?t Minisini From Karl.Reinl at ...2345... Wed Sep 19 23:41:27 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 19 Sep 2012 23:41:27 +0200 Subject: [Gambas-user] gambas3, IDE search and replace don't work as expected In-Reply-To: <505A175C.9090602@...1...> References: <1347798427.3306.11.camel@...40...> <505847C1.2040407@...1...> <1347966982.2327.22.camel@...40...> <50586E24.8000505@...1...> <1347973117.2327.26.camel@...40...> <505A175C.9090602@...1...> Message-ID: <1348090887.2331.14.camel@...40...> Am Mittwoch, den 19.09.2012, 21:05 +0200 schrieb Beno?t Minisini: > Le 18/09/2012 14:58, Charlie Reinl a ?crit : > > Salut, > > > > mostly I do not want that every 'found' is replaced,so how going back > > ? > > > > Is revision #5176 better for you? > For me it is OK like that, now its me who decides if the found item is to change or not. Hope the others find that also OK? -- Amicalement Charlie From adrien.prokopowicz at ...626... Thu Sep 20 03:21:02 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Thu, 20 Sep 2012 03:21:02 +0200 Subject: [Gambas-user] gb.dbus system-bus register : error and then segfault Message-ID: Hi Beno?t, I'm trying to register my objects through DBus. Everything is fine for the session bus, but when I'm trying to register it to the system bus, I get an error "Unable to register application name" (I don't know why). If I go further with the debugger (or the IDE), I get a segfault. This doesn't seem to be related to user permissions, running the test projects as root doesn't change anything, and my system dbus is configured so that anyone can register to it. I attached the project and my gdb&valgrind outputs. Regards, Adrien. -------------- next part -------------- A non-text attachment was scrubbed... Name: TestDBus-0.0.1.tar.gz Type: application/x-gzip Size: 4570 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: dbus-crash.log.gz Type: application/x-gzip Size: 1552 bytes Desc: not available URL: From rolf.frogs at ...221... Thu Sep 20 10:27:23 2012 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Thu, 20 Sep 2012 10:27:23 +0200 Subject: [Gambas-user] Using Gambas for Apache cgi In-Reply-To: <505997F7.40607@...221...> References: <50574D89.6080601@...221...> <20120917175231.GB1454@...2774...> <50577CDB.2060009@...626...> <50577E0B.2080904@...1...> <50583C30.1020808@...221...> <5058C1B3.10405@...2594...> <505997F7.40607@...221...> Message-ID: <505AD36B.1090806@...2594...> Hi Rolf-Werner, >>> But Apache has some problem with it. I configured the cgi-bin as above >>> (actually not me, but it's the default). Apache looks for it and >>> seemingly it DOES find it but it complaints with a 500 Internal Error >>> page and in /var/log/apache2/suexec.log we can read something about >>> gid/uid mismatch. >> >> All files must be accessible by the user/group the apache is running >> with. On Debian systems it is www-data:www-data. Make a chown on your >> files. Never give the files executable right for everybody. > > Just tried it this way, but it doesn't help. Strange... > > You mean the .gambas files, right? Not env, gbr, gbx etc.? > > There is a test/test.cgi in the cgi-bin, it's not www-data:www-data and > it runs fine. The .gambas file does run when started from a terminal, so > the Gambas side seems to work fine. Apache seems to find the .gambas > file and start it. It all boils down to some misunderstanding of Apache > with how to handle it. Try to login as root and than do a "su - apache" or to the system account the apache runs under (perhaps you can find the account in "top" or with "ps"). Then start you program in the terminal - you now have all the rights an apache server has - and see what happens. Helpfull may be a "tail -f" on the apache error file, to see what goes wrong, when you do some thing. This is a method to check if you have problems with user/group rights, as the error message you posted suggests. Gr??e Rolf From eilert-sprachen at ...221... Thu Sep 20 12:35:45 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 20 Sep 2012 12:35:45 +0200 Subject: [Gambas-user] Using Gambas for Apache cgi In-Reply-To: <505AD36B.1090806@...2594...> References: <50574D89.6080601@...221...> <20120917175231.GB1454@...2774...> <50577CDB.2060009@...626...> <50577E0B.2080904@...1...> <50583C30.1020808@...221...> <5058C1B3.10405@...2594...> <505997F7.40607@...221...> <505AD36B.1090806@...2594...> Message-ID: <505AF181.7040609@...221...> Am 20.09.2012 10:27, schrieb Rolf Schmidt: > Hi Rolf-Werner, > >>>> But Apache has some problem with it. I configured the cgi-bin as above >>>> (actually not me, but it's the default). Apache looks for it and >>>> seemingly it DOES find it but it complaints with a 500 Internal Error >>>> page and in /var/log/apache2/suexec.log we can read something about >>>> gid/uid mismatch. >>> >>> All files must be accessible by the user/group the apache is running >>> with. On Debian systems it is www-data:www-data. Make a chown on your >>> files. Never give the files executable right for everybody. >> >> Just tried it this way, but it doesn't help. Strange... >> >> You mean the .gambas files, right? Not env, gbr, gbx etc.? >> >> There is a test/test.cgi in the cgi-bin, it's not www-data:www-data and >> it runs fine. The .gambas file does run when started from a terminal, so >> the Gambas side seems to work fine. Apache seems to find the .gambas >> file and start it. It all boils down to some misunderstanding of Apache >> with how to handle it. > > Try to login as root and than do a "su - apache" or to the system > account the apache runs under (perhaps you can find the account in "top" > or with "ps"). Then start you program in the terminal - you now have all > the rights an apache server has - and see what happens. Helpfull may be > a "tail -f" on the apache error file, to see what goes wrong, when you > do some thing. This is a method to check if you have problems with > user/group rights, as the error message you posted suggests. > > Gr??e > Rolf > Yes :-) This is exactly what I tried yesterday and it runs flawlessly. Just tried it again to be sure now. It prints the HTML page into the terminal and stops without any error message. Really weird... Rolf From joem at ...2671... Thu Sep 20 13:44:48 2012 From: joem at ...2671... (jm) Date: Thu, 20 Sep 2012 12:44:48 +0100 Subject: [Gambas-user] Gambas error messages In-Reply-To: References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> Message-ID: <1348141488.10725.4.camel@...2672...> On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote: > Or here is something you could do: > > gdb gbr3 > set args /usr/local/bin/gambas3 (or what ever is your install path) > run > > You may need to kill the process with Ctrl + c in debugger. > Then with bt, you will get backtrace. > Send it here, so we can see what is happening. > > Jussi (gdb) run Starting program: /usr/bin/gbx2 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabi/libthread_db.so.1". ERROR: #45: File or directory does not exist [Inferior 1 (process 12262) exited with code 01] (gdb) bt gives the message no stack. (I tried many different ways of running gdb and all give same answer as above - including set args) hmm.. not sure which file or directory its looking for. > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen wrote: > > > gambas3 is just program made with Gambas, if it is in infinite loop, > > interpreter cannot know about it. > > It just does what it is commanded to do. Just like in any other > > programming language. > > > > Try to run something else to see whether anything works. > > gbx3 is Gambas interpreter executable, and gbr3 is for executing Gambas > > executables like gambas3. > > > > What example "gbx3 --help" says? > > > > Jussi > > > > > > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm wrote: > > > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > >> > Le 19/09/2012 13:55, jm a ?crit : > >> > > Hi, > >> > > > >> > > Gambas runs on Linux and I was just wondering if it can do more > >> > > with regards to error messages when it is run. > >> > > > >> > > I've got a MK802 with A10 ARM running Lubuntu. > >> > > Gambas2 seems to download and install from repository. > >> > > When run nothing happens. > >> > > When run from command line it does nothing. > >> > > (Reading raspberry pi forums where they use ARM and have gambas > >> working, > >> > > this type of error is down to missing libs.) > >> > > > >> > > Doing "gambas2 --help" does nothing. > >> > > (Doing "gambas3 --help" doesn't do conventional help > >> > > message on Ubuntu Linux.) > >> > > > >> > > I was just wondering if it is possible to make gambas > >> > > behave more like other applications so that its command > >> > > line responses are more in line with expectations > >> > > in a Linux environment. > >> > > > >> > > e.g. > >> > > gambas3 --help : generate command line options > >> > > >> > That's possible, even if gambas3 has no command line options. > >> > > >> > > gambas3 -v [project] : puts gambas into verbose mode that > >> > > prints a message before checking for a dependent lib > >> > > so that if it crashed a meaningful guess can be made as to > >> > > where to look for a fix. > >> > > >> > There I don't understand : gambas3 is the IDE, it is a GUI program. If > >> > you have missing libs, gambas3 is not compiled. And if it is, you will > >> > have error messages on the command line when running it. > >> > >> Strange - no error messages at all. > >> When I run gambas2 from command line, nothing happens as in the command > >> line is completely frozen probably in an infinite loop and unable to > >> show an IDE or output an error message. So it would be good if > >> for example gambas started with a message like "initialising" when > >> a parameter like -v for verbose is used > >> so that at least we know that part has worked. > >> (Emitting even more detailed message such as which buttons were > >> pressed with a parameter "-v2 level" where level is a number is another > >> desirable option. Increasing level of reporting can quickly find more > >> complex faults - such as infinite event loops. I know many of these > >> messages are reported to IDE, but there should be an option to get it > >> reported to the console - that is the Linux/Unix way - the console and > >> command line is king - even for a GUI IDE. Driving the IDE should also > >> be command line driven. e.g. options to compile gambas programs should > >> be available as standard from command line options for example without > >> need for IDE to kick into life.) > >> > >> I had a Genesi smartbook that did the same freeze thing on their Ubuntu > >> distro. At the time I didn't need to go forward with it, so I dropped > >> investigating. The MK802 however I must get going because the plan > >> for now is to use OpenBox as the window manager and Gambas as the main > >> application. > >> > >> No doubt I will be trying to compile gambas3 soon for MK802 > >> and sort it somehow. In the mean time I thought I make the suggestion > >> for improved command line options - noting that gambas does not appear > >> to have many options. > >> > >> > >> > If you try to > >> > open a project which need components that are not install, you will have > >> > errors message boxes. > >> > > >> > So maybe you should try to give more details on how you installed gambas > >> > on your system, and more details on your system > >> > >> Gambas2 downloaded from the default repository of Lubuntu 12.04 > >> that came with the distro, by using synaptic. > >> That would point the finger at the maintainers there but as its old > >> its not worth pursuing. I'll probably try to compile gambas3. > >> > >> > >> > (no idea what a MK802 > >> > is...). ARM systems are quite different. > >> > >> It is the rage in ARMs at the moment - full ARM computer on a USB stick: > >> https://www.miniand.com/products/MK802%20Android%20Mini%20PC > >> (around $50 on ebay) > >> > >> > > >> > Regards, > >> > > >> > >> > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. Discussions > >> will include endpoint security, mobile security and the latest in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rolf.frogs at ...221... Thu Sep 20 14:45:08 2012 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Thu, 20 Sep 2012 14:45:08 +0200 Subject: [Gambas-user] Error with database manager in rev. 5177 Message-ID: <201209201445.11695.rolf.frogs@...221...> Hi Benoit, I get the error message shown in the attached screenshot, when I try to create a connection to a database within the IDE. That didn't happend with earlier versions, so it is a new bug. Fine regards Rolf My system is Ubuntu 10.04 64-Bit with an Intel-CPU. -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-Error.png.zip Type: application/x-zip Size: 299168 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From rolf.frogs at ...221... Thu Sep 20 14:50:01 2012 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Thu, 20 Sep 2012 14:50:01 +0200 Subject: [Gambas-user] Another error with rev. 5177 Message-ID: <201209201450.05027.rolf.frogs@...221...> Hi Benoit, when I try to open a project from the left panel of the IDE, I get the error "this application has raised an unexpected error and must abort. [11] Unknown symbol 'Path' in class 'Desktop'. CBookmarkList.Load.48" This error seams also be new. Fine regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From gambas at ...1... Thu Sep 20 15:58:09 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Sep 2012 15:58:09 +0200 Subject: [Gambas-user] Another error with rev. 5177 In-Reply-To: <201209201450.05027.rolf.frogs@...221...> References: <201209201450.05027.rolf.frogs@...221...> Message-ID: <505B20F1.3010205@...1...> Le 20/09/2012 14:50, Rolf Schmidt a ?crit : > Hi Benoit, > > when I try to open a project from the left panel of the IDE, I get the error > "this application has raised an unexpected error and must abort. > [11] Unknown symbol 'Path' in class 'Desktop'. CBookmarkList.Load.48" > > This error seams also be new. > Fine regards > Rolf > Did you compile from sources? It seems that there is something weird on your installation, as the missing symbols come from the gb.desktop component which is required by the IDE to run. -- Beno?t Minisini From eilert-sprachen at ...221... Thu Sep 20 16:00:23 2012 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 20 Sep 2012 16:00:23 +0200 Subject: [Gambas-user] Using Gambas for Apache cgi - SOLVED In-Reply-To: <505AD36B.1090806@...2594...> References: <50574D89.6080601@...221...> <20120917175231.GB1454@...2774...> <50577CDB.2060009@...626...> <50577E0B.2080904@...1...> <50583C30.1020808@...221...> <5058C1B3.10405@...2594...> <505997F7.40607@...221...> <505AD36B.1090806@...2594...> Message-ID: <505B2177.6060602@...221...> Am 20.09.2012 10:27, schrieb Rolf Schmidt: > Hi Rolf-Werner, > >>>> But Apache has some problem with it. I configured the cgi-bin as above >>>> (actually not me, but it's the default). Apache looks for it and >>>> seemingly it DOES find it but it complaints with a 500 Internal Error >>>> page and in /var/log/apache2/suexec.log we can read something about >>>> gid/uid mismatch. >>> >>> All files must be accessible by the user/group the apache is running >>> with. On Debian systems it is www-data:www-data. Make a chown on your >>> files. Never give the files executable right for everybody. >> >> Just tried it this way, but it doesn't help. Strange... >> >> You mean the .gambas files, right? Not env, gbr, gbx etc.? >> >> There is a test/test.cgi in the cgi-bin, it's not www-data:www-data and >> it runs fine. The .gambas file does run when started from a terminal, so >> the Gambas side seems to work fine. Apache seems to find the .gambas >> file and start it. It all boils down to some misunderstanding of Apache >> with how to handle it. > > Try to login as root and than do a "su - apache" or to the system > account the apache runs under (perhaps you can find the account in "top" > or with "ps"). Then start you program in the terminal - you now have all > the rights an apache server has - and see what happens. Helpfull may be > a "tail -f" on the apache error file, to see what goes wrong, when you > do some thing. This is a method to check if you have problems with > user/group rights, as the error message you posted suggests. > > Gr??e > Rolf > Arrgh - after some googling and reading (pretty old) discussions, I finally found the reason for this: The .gambas file has to be of the same user:group as the cgi-bin or - to be more precise - the as test.cgi (still different group). And boom! it's running :-) Thanks for all your help and time and patience and sorry for the noise, guys! Rolf From vuott at ...325... Thu Sep 20 16:03:17 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 20 Sep 2012 15:03:17 +0100 (BST) Subject: [Gambas-user] Unable to compile "gb.web" with new rev. 5177 Message-ID: <1348149797.65398.YahooMailClassic@...2748...> Hello, I updated my Gabas-3 with rev. 5177. At the end of "make install" I have got this notice: Making install in . make[1]: ingresso nella directory "/home/vuott/trunk" make[2]: ingresso nella directory "/home/vuott/trunk" || || Unable to compile gb.web || Regards vuott From gambas at ...1... Thu Sep 20 16:32:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Sep 2012 16:32:58 +0200 Subject: [Gambas-user] Unable to compile "gb.web" with new rev. 5177 In-Reply-To: <1348149797.65398.YahooMailClassic@...2748...> References: <1348149797.65398.YahooMailClassic@...2748...> Message-ID: <505B291A.90205@...1...> Le 20/09/2012 16:03, Ru Vuott a ?crit : > Hello, > > I updated my Gabas-3 with rev. 5177. At the end of "make install" I have got this notice: > > Making install in . > make[1]: ingresso nella directory "/home/vuott/trunk" > make[2]: ingresso nella directory "/home/vuott/trunk" > > || > || Unable to compile gb.web > || > > > > > Regards > vuott > It should be fixed in revision #5179. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Thu Sep 20 16:37:05 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 20 Sep 2012 17:37:05 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348141488.10725.4.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> Message-ID: You tried to launch Gambas executable with gbx, for that you need to use gbr. gbx is for running source code or evaluating, not for executables. Jussi On Thu, Sep 20, 2012 at 2:44 PM, jm wrote: > On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote: > > Or here is something you could do: > > > > gdb gbr3 > > set args /usr/local/bin/gambas3 (or what ever is your install path) > > run > > > > You may need to kill the process with Ctrl + c in debugger. > > Then with bt, you will get backtrace. > > Send it here, so we can see what is happening. > > > > Jussi > > > (gdb) run > Starting program: /usr/bin/gbx2 > [Thread debugging using libthread_db enabled] > Using host libthread_db library > "/lib/arm-linux-gnueabi/libthread_db.so.1". > ERROR: #45: File or directory does not exist > [Inferior 1 (process 12262) exited with code 01] > (gdb) > > bt gives the message no stack. > > (I tried many different ways of running gdb and all give > same answer as above - including set args) > > hmm.. not sure which file or directory its looking for. > > > > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen < > jussi.lahtinen at ...626...>wrote: > > > > > gambas3 is just program made with Gambas, if it is in infinite loop, > > > interpreter cannot know about it. > > > It just does what it is commanded to do. Just like in any other > > > programming language. > > > > > > Try to run something else to see whether anything works. > > > gbx3 is Gambas interpreter executable, and gbr3 is for executing Gambas > > > executables like gambas3. > > > > > > What example "gbx3 --help" says? > > > > > > Jussi > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm >wrote: > > > > > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > >> > Le 19/09/2012 13:55, jm a ?crit : > > >> > > Hi, > > >> > > > > >> > > Gambas runs on Linux and I was just wondering if it can do more > > >> > > with regards to error messages when it is run. > > >> > > > > >> > > I've got a MK802 with A10 ARM running Lubuntu. > > >> > > Gambas2 seems to download and install from repository. > > >> > > When run nothing happens. > > >> > > When run from command line it does nothing. > > >> > > (Reading raspberry pi forums where they use ARM and have gambas > > >> working, > > >> > > this type of error is down to missing libs.) > > >> > > > > >> > > Doing "gambas2 --help" does nothing. > > >> > > (Doing "gambas3 --help" doesn't do conventional help > > >> > > message on Ubuntu Linux.) > > >> > > > > >> > > I was just wondering if it is possible to make gambas > > >> > > behave more like other applications so that its command > > >> > > line responses are more in line with expectations > > >> > > in a Linux environment. > > >> > > > > >> > > e.g. > > >> > > gambas3 --help : generate command line options > > >> > > > >> > That's possible, even if gambas3 has no command line options. > > >> > > > >> > > gambas3 -v [project] : puts gambas into verbose mode that > > >> > > prints a message before checking for a dependent lib > > >> > > so that if it crashed a meaningful guess can be made as to > > >> > > where to look for a fix. > > >> > > > >> > There I don't understand : gambas3 is the IDE, it is a GUI program. > If > > >> > you have missing libs, gambas3 is not compiled. And if it is, you > will > > >> > have error messages on the command line when running it. > > >> > > >> Strange - no error messages at all. > > >> When I run gambas2 from command line, nothing happens as in the > command > > >> line is completely frozen probably in an infinite loop and unable to > > >> show an IDE or output an error message. So it would be good if > > >> for example gambas started with a message like "initialising" when > > >> a parameter like -v for verbose is used > > >> so that at least we know that part has worked. > > >> (Emitting even more detailed message such as which buttons were > > >> pressed with a parameter "-v2 level" where level is a number is > another > > >> desirable option. Increasing level of reporting can quickly find more > > >> complex faults - such as infinite event loops. I know many of these > > >> messages are reported to IDE, but there should be an option to get it > > >> reported to the console - that is the Linux/Unix way - the console and > > >> command line is king - even for a GUI IDE. Driving the IDE should also > > >> be command line driven. e.g. options to compile gambas programs should > > >> be available as standard from command line options for example without > > >> need for IDE to kick into life.) > > >> > > >> I had a Genesi smartbook that did the same freeze thing on their > Ubuntu > > >> distro. At the time I didn't need to go forward with it, so I dropped > > >> investigating. The MK802 however I must get going because the plan > > >> for now is to use OpenBox as the window manager and Gambas as the main > > >> application. > > >> > > >> No doubt I will be trying to compile gambas3 soon for MK802 > > >> and sort it somehow. In the mean time I thought I make the suggestion > > >> for improved command line options - noting that gambas does not appear > > >> to have many options. > > >> > > >> > > >> > If you try to > > >> > open a project which need components that are not install, you will > have > > >> > errors message boxes. > > >> > > > >> > So maybe you should try to give more details on how you installed > gambas > > >> > on your system, and more details on your system > > >> > > >> Gambas2 downloaded from the default repository of Lubuntu 12.04 > > >> that came with the distro, by using synaptic. > > >> That would point the finger at the maintainers there but as its old > > >> its not worth pursuing. I'll probably try to compile gambas3. > > >> > > >> > > >> > (no idea what a MK802 > > >> > is...). ARM systems are quite different. > > >> > > >> It is the rage in ARMs at the moment - full ARM computer on a USB > stick: > > >> https://www.miniand.com/products/MK802%20Android%20Mini%20PC > > >> (around $50 on ebay) > > >> > > >> > > > >> > Regards, > > >> > > > >> > > >> > > >> > > >> > > >> > > >> > ------------------------------------------------------------------------------ > > >> Live Security Virtual Conference > > >> Exclusive live event will cover all the ways today's security and > > >> threat landscape has changed and how IT managers can respond. > Discussions > > >> will include endpoint security, mobile security and the latest in > malware > > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > >> _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > > > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joem at ...2671... Thu Sep 20 16:57:20 2012 From: joem at ...2671... (jm) Date: Thu, 20 Sep 2012 15:57:20 +0100 Subject: [Gambas-user] Gambas error messages In-Reply-To: References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> Message-ID: <1348153040.11704.1.camel@...2672...> Hi Jussi, Just to re-iterate - I tried numerous different options including gbx gbr running compiled pre-made serial port sample, with and without project files, command line etc. etc. all have same result. On Thu, 2012-09-20 at 17:37 +0300, Jussi Lahtinen wrote: > You tried to launch Gambas executable with gbx, for that you need to use > gbr. > gbx is for running source code or evaluating, not for executables. > > Jussi > > > > > On Thu, Sep 20, 2012 at 2:44 PM, jm wrote: > > > On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote: > > > Or here is something you could do: > > > > > > gdb gbr3 > > > set args /usr/local/bin/gambas3 (or what ever is your install path) > > > run > > > > > > You may need to kill the process with Ctrl + c in debugger. > > > Then with bt, you will get backtrace. > > > Send it here, so we can see what is happening. > > > > > > Jussi > > > > > > (gdb) run > > Starting program: /usr/bin/gbx2 > > [Thread debugging using libthread_db enabled] > > Using host libthread_db library > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > ERROR: #45: File or directory does not exist > > [Inferior 1 (process 12262) exited with code 01] > > (gdb) > > > > bt gives the message no stack. > > > > (I tried many different ways of running gdb and all give > > same answer as above - including set args) > > > > hmm.. not sure which file or directory its looking for. > > > > > > > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen < > > jussi.lahtinen at ...626...>wrote: > > > > > > > gambas3 is just program made with Gambas, if it is in infinite loop, > > > > interpreter cannot know about it. > > > > It just does what it is commanded to do. Just like in any other > > > > programming language. > > > > > > > > Try to run something else to see whether anything works. > > > > gbx3 is Gambas interpreter executable, and gbr3 is for executing Gambas > > > > executables like gambas3. > > > > > > > > What example "gbx3 --help" says? > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm > >wrote: > > > > > > > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > > >> > Le 19/09/2012 13:55, jm a ?crit : > > > >> > > Hi, > > > >> > > > > > >> > > Gambas runs on Linux and I was just wondering if it can do more > > > >> > > with regards to error messages when it is run. > > > >> > > > > > >> > > I've got a MK802 with A10 ARM running Lubuntu. > > > >> > > Gambas2 seems to download and install from repository. > > > >> > > When run nothing happens. > > > >> > > When run from command line it does nothing. > > > >> > > (Reading raspberry pi forums where they use ARM and have gambas > > > >> working, > > > >> > > this type of error is down to missing libs.) > > > >> > > > > > >> > > Doing "gambas2 --help" does nothing. > > > >> > > (Doing "gambas3 --help" doesn't do conventional help > > > >> > > message on Ubuntu Linux.) > > > >> > > > > > >> > > I was just wondering if it is possible to make gambas > > > >> > > behave more like other applications so that its command > > > >> > > line responses are more in line with expectations > > > >> > > in a Linux environment. > > > >> > > > > > >> > > e.g. > > > >> > > gambas3 --help : generate command line options > > > >> > > > > >> > That's possible, even if gambas3 has no command line options. > > > >> > > > > >> > > gambas3 -v [project] : puts gambas into verbose mode that > > > >> > > prints a message before checking for a dependent lib > > > >> > > so that if it crashed a meaningful guess can be made as to > > > >> > > where to look for a fix. > > > >> > > > > >> > There I don't understand : gambas3 is the IDE, it is a GUI program. > > If > > > >> > you have missing libs, gambas3 is not compiled. And if it is, you > > will > > > >> > have error messages on the command line when running it. > > > >> > > > >> Strange - no error messages at all. > > > >> When I run gambas2 from command line, nothing happens as in the > > command > > > >> line is completely frozen probably in an infinite loop and unable to > > > >> show an IDE or output an error message. So it would be good if > > > >> for example gambas started with a message like "initialising" when > > > >> a parameter like -v for verbose is used > > > >> so that at least we know that part has worked. > > > >> (Emitting even more detailed message such as which buttons were > > > >> pressed with a parameter "-v2 level" where level is a number is > > another > > > >> desirable option. Increasing level of reporting can quickly find more > > > >> complex faults - such as infinite event loops. I know many of these > > > >> messages are reported to IDE, but there should be an option to get it > > > >> reported to the console - that is the Linux/Unix way - the console and > > > >> command line is king - even for a GUI IDE. Driving the IDE should also > > > >> be command line driven. e.g. options to compile gambas programs should > > > >> be available as standard from command line options for example without > > > >> need for IDE to kick into life.) > > > >> > > > >> I had a Genesi smartbook that did the same freeze thing on their > > Ubuntu > > > >> distro. At the time I didn't need to go forward with it, so I dropped > > > >> investigating. The MK802 however I must get going because the plan > > > >> for now is to use OpenBox as the window manager and Gambas as the main > > > >> application. > > > >> > > > >> No doubt I will be trying to compile gambas3 soon for MK802 > > > >> and sort it somehow. In the mean time I thought I make the suggestion > > > >> for improved command line options - noting that gambas does not appear > > > >> to have many options. > > > >> > > > >> > > > >> > If you try to > > > >> > open a project which need components that are not install, you will > > have > > > >> > errors message boxes. > > > >> > > > > >> > So maybe you should try to give more details on how you installed > > gambas > > > >> > on your system, and more details on your system > > > >> > > > >> Gambas2 downloaded from the default repository of Lubuntu 12.04 > > > >> that came with the distro, by using synaptic. > > > >> That would point the finger at the maintainers there but as its old > > > >> its not worth pursuing. I'll probably try to compile gambas3. > > > >> > > > >> > > > >> > (no idea what a MK802 > > > >> > is...). ARM systems are quite different. > > > >> > > > >> It is the rage in ARMs at the moment - full ARM computer on a USB > > stick: > > > >> https://www.miniand.com/products/MK802%20Android%20Mini%20PC > > > >> (around $50 on ebay) > > > >> > > > >> > > > > >> > Regards, > > > >> > > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > ------------------------------------------------------------------------------ > > > >> Live Security Virtual Conference > > > >> Exclusive live event will cover all the ways today's security and > > > >> threat landscape has changed and how IT managers can respond. > > Discussions > > > >> will include endpoint security, mobile security and the latest in > > malware > > > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > >> _______________________________________________ > > > >> Gambas-user mailing list > > > >> Gambas-user at lists.sourceforge.net > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Live Security Virtual Conference > > > Exclusive live event will cover all the ways today's security and > > > threat landscape has changed and how IT managers can respond. Discussions > > > will include endpoint security, mobile security and the latest in malware > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Thu Sep 20 17:15:53 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 20 Sep 2012 16:15:53 +0100 (BST) Subject: [Gambas-user] Unable to compile "gb.web" with new rev. 5177 In-Reply-To: <505B291A.90205@...1...> Message-ID: <1348154153.4135.YahooMailClassic@...2691...> Yes, Beno?t, now it's OK Regards vuott --- Gio 20/9/12, Beno?t Minisini ha scritto: > Da: Beno?t Minisini > Oggetto: Re: [Gambas-user] Unable to compile "gb.web" with new rev. 5177 > A: "mailing list for gambas users" > Data: Gioved? 20 settembre 2012, 16:32 > Le 20/09/2012 16:03, Ru Vuott a > ?crit : > > Hello, > > > > I updated my Gabas-3 with rev. 5177. At the end of > "make install" I have got this notice: > > > > Making install in . > > make[1]: ingresso nella directory "/home/vuott/trunk" > > make[2]: ingresso nella directory "/home/vuott/trunk" > > > > || > > || Unable to compile gb.web > > || > > > > > > > > > > Regards > > vuott > > > > It should be fixed in revision #5179. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Sep 20 17:18:49 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 20 Sep 2012 18:18:49 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348153040.11704.1.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> Message-ID: Please do exactly what I told, and send results. Jussi On Thu, Sep 20, 2012 at 5:57 PM, jm wrote: > Hi Jussi, > > Just to re-iterate - I tried numerous different options > including gbx gbr running compiled pre-made serial port > sample, with and without project files, command line > etc. etc. all have same result. > > On Thu, 2012-09-20 at 17:37 +0300, Jussi Lahtinen wrote: > > You tried to launch Gambas executable with gbx, for that you need to use > > gbr. > > gbx is for running source code or evaluating, not for executables. > > > > Jussi > > > > > > > > > > On Thu, Sep 20, 2012 at 2:44 PM, jm > wrote: > > > > > On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote: > > > > Or here is something you could do: > > > > > > > > gdb gbr3 > > > > set args /usr/local/bin/gambas3 (or what ever is your install path) > > > > run > > > > > > > > You may need to kill the process with Ctrl + c in debugger. > > > > Then with bt, you will get backtrace. > > > > Send it here, so we can see what is happening. > > > > > > > > Jussi > > > > > > > > > (gdb) run > > > Starting program: /usr/bin/gbx2 > > > [Thread debugging using libthread_db enabled] > > > Using host libthread_db library > > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > > ERROR: #45: File or directory does not exist > > > [Inferior 1 (process 12262) exited with code 01] > > > (gdb) > > > > > > bt gives the message no stack. > > > > > > (I tried many different ways of running gdb and all give > > > same answer as above - including set args) > > > > > > hmm.. not sure which file or directory its looking for. > > > > > > > > > > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen < > > > jussi.lahtinen at ...626...>wrote: > > > > > > > > > gambas3 is just program made with Gambas, if it is in infinite > loop, > > > > > interpreter cannot know about it. > > > > > It just does what it is commanded to do. Just like in any other > > > > > programming language. > > > > > > > > > > Try to run something else to see whether anything works. > > > > > gbx3 is Gambas interpreter executable, and gbr3 is for executing > Gambas > > > > > executables like gambas3. > > > > > > > > > > What example "gbx3 --help" says? > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm < > joem at ...2671... > > > >wrote: > > > > > > > > > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > > > >> > Le 19/09/2012 13:55, jm a ?crit : > > > > >> > > Hi, > > > > >> > > > > > > >> > > Gambas runs on Linux and I was just wondering if it can do > more > > > > >> > > with regards to error messages when it is run. > > > > >> > > > > > > >> > > I've got a MK802 with A10 ARM running Lubuntu. > > > > >> > > Gambas2 seems to download and install from repository. > > > > >> > > When run nothing happens. > > > > >> > > When run from command line it does nothing. > > > > >> > > (Reading raspberry pi forums where they use ARM and have > gambas > > > > >> working, > > > > >> > > this type of error is down to missing libs.) > > > > >> > > > > > > >> > > Doing "gambas2 --help" does nothing. > > > > >> > > (Doing "gambas3 --help" doesn't do conventional help > > > > >> > > message on Ubuntu Linux.) > > > > >> > > > > > > >> > > I was just wondering if it is possible to make gambas > > > > >> > > behave more like other applications so that its command > > > > >> > > line responses are more in line with expectations > > > > >> > > in a Linux environment. > > > > >> > > > > > > >> > > e.g. > > > > >> > > gambas3 --help : generate command line options > > > > >> > > > > > >> > That's possible, even if gambas3 has no command line options. > > > > >> > > > > > >> > > gambas3 -v [project] : puts gambas into verbose mode that > > > > >> > > prints a message before checking for a dependent lib > > > > >> > > so that if it crashed a meaningful guess can be made as to > > > > >> > > where to look for a fix. > > > > >> > > > > > >> > There I don't understand : gambas3 is the IDE, it is a GUI > program. > > > If > > > > >> > you have missing libs, gambas3 is not compiled. And if it is, > you > > > will > > > > >> > have error messages on the command line when running it. > > > > >> > > > > >> Strange - no error messages at all. > > > > >> When I run gambas2 from command line, nothing happens as in the > > > command > > > > >> line is completely frozen probably in an infinite loop and unable > to > > > > >> show an IDE or output an error message. So it would be good if > > > > >> for example gambas started with a message like "initialising" when > > > > >> a parameter like -v for verbose is used > > > > >> so that at least we know that part has worked. > > > > >> (Emitting even more detailed message such as which buttons were > > > > >> pressed with a parameter "-v2 level" where level is a number is > > > another > > > > >> desirable option. Increasing level of reporting can quickly find > more > > > > >> complex faults - such as infinite event loops. I know many of > these > > > > >> messages are reported to IDE, but there should be an option to > get it > > > > >> reported to the console - that is the Linux/Unix way - the > console and > > > > >> command line is king - even for a GUI IDE. Driving the IDE should > also > > > > >> be command line driven. e.g. options to compile gambas programs > should > > > > >> be available as standard from command line options for example > without > > > > >> need for IDE to kick into life.) > > > > >> > > > > >> I had a Genesi smartbook that did the same freeze thing on their > > > Ubuntu > > > > >> distro. At the time I didn't need to go forward with it, so I > dropped > > > > >> investigating. The MK802 however I must get going because the plan > > > > >> for now is to use OpenBox as the window manager and Gambas as the > main > > > > >> application. > > > > >> > > > > >> No doubt I will be trying to compile gambas3 soon for MK802 > > > > >> and sort it somehow. In the mean time I thought I make the > suggestion > > > > >> for improved command line options - noting that gambas does not > appear > > > > >> to have many options. > > > > >> > > > > >> > > > > >> > If you try to > > > > >> > open a project which need components that are not install, you > will > > > have > > > > >> > errors message boxes. > > > > >> > > > > > >> > So maybe you should try to give more details on how you > installed > > > gambas > > > > >> > on your system, and more details on your system > > > > >> > > > > >> Gambas2 downloaded from the default repository of Lubuntu 12.04 > > > > >> that came with the distro, by using synaptic. > > > > >> That would point the finger at the maintainers there but as its > old > > > > >> its not worth pursuing. I'll probably try to compile gambas3. > > > > >> > > > > >> > > > > >> > (no idea what a MK802 > > > > >> > is...). ARM systems are quite different. > > > > >> > > > > >> It is the rage in ARMs at the moment - full ARM computer on a USB > > > stick: > > > > >> https://www.miniand.com/products/MK802%20Android%20Mini%20PC > > > > >> (around $50 on ebay) > > > > >> > > > > >> > > > > > >> > Regards, > > > > >> > > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > ------------------------------------------------------------------------------ > > > > >> Live Security Virtual Conference > > > > >> Exclusive live event will cover all the ways today's security and > > > > >> threat landscape has changed and how IT managers can respond. > > > Discussions > > > > >> will include endpoint security, mobile security and the latest in > > > malware > > > > >> threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > >> _______________________________________________ > > > > >> Gambas-user mailing list > > > > >> Gambas-user at lists.sourceforge.net > > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > >> > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Live Security Virtual Conference > > > > Exclusive live event will cover all the ways today's security and > > > > threat landscape has changed and how IT managers can respond. > Discussions > > > > will include endpoint security, mobile security and the latest in > malware > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Everyone hates slow websites. So do we. > > > Make your web apps faster with AppDynamics > > > Download AppDynamics Lite for free today: > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Sep 20 17:27:38 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 20 Sep 2012 18:27:38 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348141488.10725.4.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> Message-ID: > (gdb) run > Starting program: /usr/bin/gbx2 > [Thread debugging using libthread_db enabled] > Using host libthread_db library > "/lib/arm-linux-gnueabi/libthread_db.so.1". > ERROR: #45: File or directory does not exist > [Inferior 1 (process 12262) exited with code 01] > (gdb) > I'll elaborate bit... This is exactly what I expect to see when gbx2 is launched without arguments, as you did. Jussi From joem at ...2671... Thu Sep 20 17:41:15 2012 From: joem at ...2671... (jm) Date: Thu, 20 Sep 2012 16:41:15 +0100 Subject: [Gambas-user] Gambas error messages In-Reply-To: References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> Message-ID: <1348155675.11704.4.camel@...2672...> Sorry Jussi, same result: miniand at ...3014...:~$ cd /usr/bin miniand at ...3014...:/usr/bin$ ls gam* gambas2 gambas2-database-manager.gambas gambas2.gambas gamma4scanimage miniand at ...3014...:/usr/bin$ whereis gbr2 gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz miniand at ...3014...:/usr/bin$ gdb gbr2 GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabi". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gbr2...(no debugging symbols found)...done. (gdb) set args /usr/bin (gdb) run Starting program: /usr/bin/gbr2 /usr/bin [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabi/libthread_db.so.1". ERROR: #45: File or directory does not exist [Inferior 1 (process 1074) exited with code 01] (gdb) bt No stack. (gdb) ^CQuit (gdb) bt No stack. (gdb) quit miniand at ...3014...:/usr/bin$ On Thu, 2012-09-20 at 18:18 +0300, Jussi Lahtinen wrote: > Please do exactly what I told, and send results. > > Jussi > > > > On Thu, Sep 20, 2012 at 5:57 PM, jm wrote: > > > Hi Jussi, > > > > Just to re-iterate - I tried numerous different options > > including gbx gbr running compiled pre-made serial port > > sample, with and without project files, command line > > etc. etc. all have same result. > > > > On Thu, 2012-09-20 at 17:37 +0300, Jussi Lahtinen wrote: > > > You tried to launch Gambas executable with gbx, for that you need to use > > > gbr. > > > gbx is for running source code or evaluating, not for executables. > > > > > > Jussi > > > > > > > > > > > > > > > On Thu, Sep 20, 2012 at 2:44 PM, jm > > wrote: > > > > > > > On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote: > > > > > Or here is something you could do: > > > > > > > > > > gdb gbr3 > > > > > set args /usr/local/bin/gambas3 (or what ever is your install path) > > > > > run > > > > > > > > > > You may need to kill the process with Ctrl + c in debugger. > > > > > Then with bt, you will get backtrace. > > > > > Send it here, so we can see what is happening. > > > > > > > > > > Jussi > > > > > > > > > > > > (gdb) run > > > > Starting program: /usr/bin/gbx2 > > > > [Thread debugging using libthread_db enabled] > > > > Using host libthread_db library > > > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > > > ERROR: #45: File or directory does not exist > > > > [Inferior 1 (process 12262) exited with code 01] > > > > (gdb) > > > > > > > > bt gives the message no stack. > > > > > > > > (I tried many different ways of running gdb and all give > > > > same answer as above - including set args) > > > > > > > > hmm.. not sure which file or directory its looking for. > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen < > > > > jussi.lahtinen at ...626...>wrote: > > > > > > > > > > > gambas3 is just program made with Gambas, if it is in infinite > > loop, > > > > > > interpreter cannot know about it. > > > > > > It just does what it is commanded to do. Just like in any other > > > > > > programming language. > > > > > > > > > > > > Try to run something else to see whether anything works. > > > > > > gbx3 is Gambas interpreter executable, and gbr3 is for executing > > Gambas > > > > > > executables like gambas3. > > > > > > > > > > > > What example "gbx3 --help" says? > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm < > > joem at ...2671... > > > > >wrote: > > > > > > > > > > > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > > > > >> > Le 19/09/2012 13:55, jm a ?crit : > > > > > >> > > Hi, > > > > > >> > > > > > > > >> > > Gambas runs on Linux and I was just wondering if it can do > > more > > > > > >> > > with regards to error messages when it is run. > > > > > >> > > > > > > > >> > > I've got a MK802 with A10 ARM running Lubuntu. > > > > > >> > > Gambas2 seems to download and install from repository. > > > > > >> > > When run nothing happens. > > > > > >> > > When run from command line it does nothing. > > > > > >> > > (Reading raspberry pi forums where they use ARM and have > > gambas > > > > > >> working, > > > > > >> > > this type of error is down to missing libs.) > > > > > >> > > > > > > > >> > > Doing "gambas2 --help" does nothing. > > > > > >> > > (Doing "gambas3 --help" doesn't do conventional help > > > > > >> > > message on Ubuntu Linux.) > > > > > >> > > > > > > > >> > > I was just wondering if it is possible to make gambas > > > > > >> > > behave more like other applications so that its command > > > > > >> > > line responses are more in line with expectations > > > > > >> > > in a Linux environment. > > > > > >> > > > > > > > >> > > e.g. > > > > > >> > > gambas3 --help : generate command line options > > > > > >> > > > > > > >> > That's possible, even if gambas3 has no command line options. > > > > > >> > > > > > > >> > > gambas3 -v [project] : puts gambas into verbose mode that > > > > > >> > > prints a message before checking for a dependent lib > > > > > >> > > so that if it crashed a meaningful guess can be made as to > > > > > >> > > where to look for a fix. > > > > > >> > > > > > > >> > There I don't understand : gambas3 is the IDE, it is a GUI > > program. > > > > If > > > > > >> > you have missing libs, gambas3 is not compiled. And if it is, > > you > > > > will > > > > > >> > have error messages on the command line when running it. > > > > > >> > > > > > >> Strange - no error messages at all. > > > > > >> When I run gambas2 from command line, nothing happens as in the > > > > command > > > > > >> line is completely frozen probably in an infinite loop and unable > > to > > > > > >> show an IDE or output an error message. So it would be good if > > > > > >> for example gambas started with a message like "initialising" when > > > > > >> a parameter like -v for verbose is used > > > > > >> so that at least we know that part has worked. > > > > > >> (Emitting even more detailed message such as which buttons were > > > > > >> pressed with a parameter "-v2 level" where level is a number is > > > > another > > > > > >> desirable option. Increasing level of reporting can quickly find > > more > > > > > >> complex faults - such as infinite event loops. I know many of > > these > > > > > >> messages are reported to IDE, but there should be an option to > > get it > > > > > >> reported to the console - that is the Linux/Unix way - the > > console and > > > > > >> command line is king - even for a GUI IDE. Driving the IDE should > > also > > > > > >> be command line driven. e.g. options to compile gambas programs > > should > > > > > >> be available as standard from command line options for example > > without > > > > > >> need for IDE to kick into life.) > > > > > >> > > > > > >> I had a Genesi smartbook that did the same freeze thing on their > > > > Ubuntu > > > > > >> distro. At the time I didn't need to go forward with it, so I > > dropped > > > > > >> investigating. The MK802 however I must get going because the plan > > > > > >> for now is to use OpenBox as the window manager and Gambas as the > > main > > > > > >> application. > > > > > >> > > > > > >> No doubt I will be trying to compile gambas3 soon for MK802 > > > > > >> and sort it somehow. In the mean time I thought I make the > > suggestion > > > > > >> for improved command line options - noting that gambas does not > > appear > > > > > >> to have many options. > > > > > >> > > > > > >> > > > > > >> > If you try to > > > > > >> > open a project which need components that are not install, you > > will > > > > have > > > > > >> > errors message boxes. > > > > > >> > > > > > > >> > So maybe you should try to give more details on how you > > installed > > > > gambas > > > > > >> > on your system, and more details on your system > > > > > >> > > > > > >> Gambas2 downloaded from the default repository of Lubuntu 12.04 > > > > > >> that came with the distro, by using synaptic. > > > > > >> That would point the finger at the maintainers there but as its > > old > > > > > >> its not worth pursuing. I'll probably try to compile gambas3. > > > > > >> > > > > > >> > > > > > >> > (no idea what a MK802 > > > > > >> > is...). ARM systems are quite different. > > > > > >> > > > > > >> It is the rage in ARMs at the moment - full ARM computer on a USB > > > > stick: > > > > > >> https://www.miniand.com/products/MK802%20Android%20Mini%20PC > > > > > >> (around $50 on ebay) > > > > > >> > > > > > >> > > > > > > >> > Regards, > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > > ------------------------------------------------------------------------------ > > > > > >> Live Security Virtual Conference > > > > > >> Exclusive live event will cover all the ways today's security and > > > > > >> threat landscape has changed and how IT managers can respond. > > > > Discussions > > > > > >> will include endpoint security, mobile security and the latest in > > > > malware > > > > > >> threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > >> _______________________________________________ > > > > > >> Gambas-user mailing list > > > > > >> Gambas-user at lists.sourceforge.net > > > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Live Security Virtual Conference > > > > > Exclusive live event will cover all the ways today's security and > > > > > threat landscape has changed and how IT managers can respond. > > Discussions > > > > > will include endpoint security, mobile security and the latest in > > malware > > > > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Everyone hates slow websites. So do we. > > > > Make your web apps faster with AppDynamics > > > > Download AppDynamics Lite for free today: > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > > Everyone hates slow websites. So do we. > > > Make your web apps faster with AppDynamics > > > Download AppDynamics Lite for free today: > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Thu Sep 20 17:45:23 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 20 Sep 2012 18:45:23 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348155675.11704.4.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> Message-ID: Try; set args /usr/bin/gambas2 Jussi On Thu, Sep 20, 2012 at 6:41 PM, jm wrote: > Sorry Jussi, > same result: > > > miniand at ...3014...:~$ cd /usr/bin > miniand at ...3014...:/usr/bin$ ls gam* > gambas2 gambas2-database-manager.gambas gambas2.gambas > gamma4scanimage > miniand at ...3014...:/usr/bin$ whereis gbr2 > gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz > miniand at ...3014...:/usr/bin$ gdb gbr2 > GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show > copying" > and "show warranty" for details. > This GDB was configured as "arm-linux-gnueabi". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/bin/gbr2...(no debugging symbols > found)...done. > (gdb) set args /usr/bin > (gdb) run > Starting program: /usr/bin/gbr2 /usr/bin > [Thread debugging using libthread_db enabled] > Using host libthread_db library > "/lib/arm-linux-gnueabi/libthread_db.so.1". > ERROR: #45: File or directory does not exist > [Inferior 1 (process 1074) exited with code 01] > (gdb) bt > No stack. > (gdb) ^CQuit > (gdb) bt > No stack. > (gdb) quit > miniand at ...3014...:/usr/bin$ > > > On Thu, 2012-09-20 at 18:18 +0300, Jussi Lahtinen wrote: > > Please do exactly what I told, and send results. > > > > Jussi > > > > > > > > On Thu, Sep 20, 2012 at 5:57 PM, jm > wrote: > > > > > Hi Jussi, > > > > > > Just to re-iterate - I tried numerous different options > > > including gbx gbr running compiled pre-made serial port > > > sample, with and without project files, command line > > > etc. etc. all have same result. > > > > > > On Thu, 2012-09-20 at 17:37 +0300, Jussi Lahtinen wrote: > > > > You tried to launch Gambas executable with gbx, for that you need to > use > > > > gbr. > > > > gbx is for running source code or evaluating, not for executables. > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > On Thu, Sep 20, 2012 at 2:44 PM, jm > > > wrote: > > > > > > > > > On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote: > > > > > > Or here is something you could do: > > > > > > > > > > > > gdb gbr3 > > > > > > set args /usr/local/bin/gambas3 (or what ever is your install > path) > > > > > > run > > > > > > > > > > > > You may need to kill the process with Ctrl + c in debugger. > > > > > > Then with bt, you will get backtrace. > > > > > > Send it here, so we can see what is happening. > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > (gdb) run > > > > > Starting program: /usr/bin/gbx2 > > > > > [Thread debugging using libthread_db enabled] > > > > > Using host libthread_db library > > > > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > > > > ERROR: #45: File or directory does not exist > > > > > [Inferior 1 (process 12262) exited with code 01] > > > > > (gdb) > > > > > > > > > > bt gives the message no stack. > > > > > > > > > > (I tried many different ways of running gdb and all give > > > > > same answer as above - including set args) > > > > > > > > > > hmm.. not sure which file or directory its looking for. > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen < > > > > > jussi.lahtinen at ...626...>wrote: > > > > > > > > > > > > > gambas3 is just program made with Gambas, if it is in infinite > > > loop, > > > > > > > interpreter cannot know about it. > > > > > > > It just does what it is commanded to do. Just like in any other > > > > > > > programming language. > > > > > > > > > > > > > > Try to run something else to see whether anything works. > > > > > > > gbx3 is Gambas interpreter executable, and gbr3 is for > executing > > > Gambas > > > > > > > executables like gambas3. > > > > > > > > > > > > > > What example "gbx3 --help" says? > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm < > > > joem at ...2671... > > > > > >wrote: > > > > > > > > > > > > > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > > > > > >> > Le 19/09/2012 13:55, jm a ?crit : > > > > > > >> > > Hi, > > > > > > >> > > > > > > > > >> > > Gambas runs on Linux and I was just wondering if it can do > > > more > > > > > > >> > > with regards to error messages when it is run. > > > > > > >> > > > > > > > > >> > > I've got a MK802 with A10 ARM running Lubuntu. > > > > > > >> > > Gambas2 seems to download and install from repository. > > > > > > >> > > When run nothing happens. > > > > > > >> > > When run from command line it does nothing. > > > > > > >> > > (Reading raspberry pi forums where they use ARM and have > > > gambas > > > > > > >> working, > > > > > > >> > > this type of error is down to missing libs.) > > > > > > >> > > > > > > > > >> > > Doing "gambas2 --help" does nothing. > > > > > > >> > > (Doing "gambas3 --help" doesn't do conventional help > > > > > > >> > > message on Ubuntu Linux.) > > > > > > >> > > > > > > > > >> > > I was just wondering if it is possible to make gambas > > > > > > >> > > behave more like other applications so that its command > > > > > > >> > > line responses are more in line with expectations > > > > > > >> > > in a Linux environment. > > > > > > >> > > > > > > > > >> > > e.g. > > > > > > >> > > gambas3 --help : generate command line options > > > > > > >> > > > > > > > >> > That's possible, even if gambas3 has no command line > options. > > > > > > >> > > > > > > > >> > > gambas3 -v [project] : puts gambas into verbose mode that > > > > > > >> > > prints a message before checking for a dependent lib > > > > > > >> > > so that if it crashed a meaningful guess can be made as to > > > > > > >> > > where to look for a fix. > > > > > > >> > > > > > > > >> > There I don't understand : gambas3 is the IDE, it is a GUI > > > program. > > > > > If > > > > > > >> > you have missing libs, gambas3 is not compiled. And if it > is, > > > you > > > > > will > > > > > > >> > have error messages on the command line when running it. > > > > > > >> > > > > > > >> Strange - no error messages at all. > > > > > > >> When I run gambas2 from command line, nothing happens as in > the > > > > > command > > > > > > >> line is completely frozen probably in an infinite loop and > unable > > > to > > > > > > >> show an IDE or output an error message. So it would be good if > > > > > > >> for example gambas started with a message like "initialising" > when > > > > > > >> a parameter like -v for verbose is used > > > > > > >> so that at least we know that part has worked. > > > > > > >> (Emitting even more detailed message such as which buttons > were > > > > > > >> pressed with a parameter "-v2 level" where level is a number > is > > > > > another > > > > > > >> desirable option. Increasing level of reporting can quickly > find > > > more > > > > > > >> complex faults - such as infinite event loops. I know many of > > > these > > > > > > >> messages are reported to IDE, but there should be an option to > > > get it > > > > > > >> reported to the console - that is the Linux/Unix way - the > > > console and > > > > > > >> command line is king - even for a GUI IDE. Driving the IDE > should > > > also > > > > > > >> be command line driven. e.g. options to compile gambas > programs > > > should > > > > > > >> be available as standard from command line options for example > > > without > > > > > > >> need for IDE to kick into life.) > > > > > > >> > > > > > > >> I had a Genesi smartbook that did the same freeze thing on > their > > > > > Ubuntu > > > > > > >> distro. At the time I didn't need to go forward with it, so I > > > dropped > > > > > > >> investigating. The MK802 however I must get going because the > plan > > > > > > >> for now is to use OpenBox as the window manager and Gambas as > the > > > main > > > > > > >> application. > > > > > > >> > > > > > > >> No doubt I will be trying to compile gambas3 soon for MK802 > > > > > > >> and sort it somehow. In the mean time I thought I make the > > > suggestion > > > > > > >> for improved command line options - noting that gambas does > not > > > appear > > > > > > >> to have many options. > > > > > > >> > > > > > > >> > > > > > > >> > If you try to > > > > > > >> > open a project which need components that are not install, > you > > > will > > > > > have > > > > > > >> > errors message boxes. > > > > > > >> > > > > > > > >> > So maybe you should try to give more details on how you > > > installed > > > > > gambas > > > > > > >> > on your system, and more details on your system > > > > > > >> > > > > > > >> Gambas2 downloaded from the default repository of Lubuntu > 12.04 > > > > > > >> that came with the distro, by using synaptic. > > > > > > >> That would point the finger at the maintainers there but as > its > > > old > > > > > > >> its not worth pursuing. I'll probably try to compile gambas3. > > > > > > >> > > > > > > >> > > > > > > >> > (no idea what a MK802 > > > > > > >> > is...). ARM systems are quite different. > > > > > > >> > > > > > > >> It is the rage in ARMs at the moment - full ARM computer on a > USB > > > > > stick: > > > > > > >> https://www.miniand.com/products/MK802%20Android%20Mini%20PC > > > > > > >> (around $50 on ebay) > > > > > > >> > > > > > > >> > > > > > > > >> > Regards, > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > >> Live Security Virtual Conference > > > > > > >> Exclusive live event will cover all the ways today's security > and > > > > > > >> threat landscape has changed and how IT managers can respond. > > > > > Discussions > > > > > > >> will include endpoint security, mobile security and the > latest in > > > > > malware > > > > > > >> threats. > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > >> _______________________________________________ > > > > > > >> Gambas-user mailing list > > > > > > >> Gambas-user at lists.sourceforge.net > > > > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Live Security Virtual Conference > > > > > > Exclusive live event will cover all the ways today's security and > > > > > > threat landscape has changed and how IT managers can respond. > > > Discussions > > > > > > will include endpoint security, mobile security and the latest in > > > malware > > > > > > threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Everyone hates slow websites. So do we. > > > > > Make your web apps faster with AppDynamics > > > > > Download AppDynamics Lite for free today: > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Everyone hates slow websites. So do we. > > > > Make your web apps faster with AppDynamics > > > > Download AppDynamics Lite for free today: > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Everyone hates slow websites. So do we. > > > Make your web apps faster with AppDynamics > > > Download AppDynamics Lite for free today: > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Sep 20 18:04:39 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 20 Sep 2012 18:04:39 +0200 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348155675.11704.4.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> Message-ID: <505B3E97.7020604@...1...> Le 20/09/2012 17:41, jm a ?crit : > Sorry Jussi, > same result: > ... Please try what is explained in the "Reporting a problem" page on the website, as if you have got a crash (?5). Just replace 'gbx3' by 'gbx2', 'gbc3' by 'gbc2', and so on... Regards, -- Beno?t Minisini From joem at ...2671... Fri Sep 21 09:40:41 2012 From: joem at ...2671... (jm) Date: Fri, 21 Sep 2012 08:40:41 +0100 Subject: [Gambas-user] Gambas error messages In-Reply-To: References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> Message-ID: <1348213241.2180.0.camel@...2672...> Jussi, Finally some difference! miniand at ...3014...:~$ cd /usr/bin miniand at ...3014...:/usr/bin$ ls -l gam* lrwxrwxrwx 1 root root 14 Dec 6 2011 gambas2 -> gambas2.gambas -rwxr-xr-x 1 root root 427530 Dec 6 2011 gambas2-database-manager.gambas -rwxr-xr-x 1 root root 2372105 Dec 6 2011 gambas2.gambas -rwxr-xr-x 1 root root 5600 Dec 5 2011 gamma4scanimage miniand at ...3014...:/usr/bin$ whereis gbr2 gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz miniand at ...3014...:/usr/bin$ gdb gbr2 GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabi". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gbr2...(no debugging symbols found)...done. (gdb) set args /usr/bin/gambas2 (gdb) run Starting program: /usr/bin/gbr2 /usr/bin/gambas2 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabi/libthread_db.so.1". ERROR: #49: Not a directory: /usr/bin/gambas2/.project [Inferior 1 (process 1145) exited with code 01] (gdb) bt No stack. (gdb) ^CQuit (gdb) bt No stack. (gdb) quit miniand at ...3014...:/usr/bin$ On Thu, 2012-09-20 at 18:45 +0300, Jussi Lahtinen wrote: > Try; > set args /usr/bin/gambas2 > > Jussi > > > > On Thu, Sep 20, 2012 at 6:41 PM, jm wrote: > > > Sorry Jussi, > > same result: > > > > > > miniand at ...3014...:~$ cd /usr/bin > > miniand at ...3014...:/usr/bin$ ls gam* > > gambas2 gambas2-database-manager.gambas gambas2.gambas > > gamma4scanimage > > miniand at ...3014...:/usr/bin$ whereis gbr2 > > gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz > > miniand at ...3014...:/usr/bin$ gdb gbr2 > > GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 > > Copyright (C) 2012 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later > > > > This is free software: you are free to change and redistribute it. > > There is NO WARRANTY, to the extent permitted by law. Type "show > > copying" > > and "show warranty" for details. > > This GDB was configured as "arm-linux-gnueabi". > > For bug reporting instructions, please see: > > ... > > Reading symbols from /usr/bin/gbr2...(no debugging symbols > > found)...done. > > (gdb) set args /usr/bin > > (gdb) run > > Starting program: /usr/bin/gbr2 /usr/bin > > [Thread debugging using libthread_db enabled] > > Using host libthread_db library > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > ERROR: #45: File or directory does not exist > > [Inferior 1 (process 1074) exited with code 01] > > (gdb) bt > > No stack. > > (gdb) ^CQuit > > (gdb) bt > > No stack. > > (gdb) quit > > miniand at ...3014...:/usr/bin$ > > > > > > On Thu, 2012-09-20 at 18:18 +0300, Jussi Lahtinen wrote: > > > Please do exactly what I told, and send results. > > > > > > Jussi > > > > > > > > > > > > On Thu, Sep 20, 2012 at 5:57 PM, jm > > wrote: > > > > > > > Hi Jussi, > > > > > > > > Just to re-iterate - I tried numerous different options > > > > including gbx gbr running compiled pre-made serial port > > > > sample, with and without project files, command line > > > > etc. etc. all have same result. > > > > > > > > On Thu, 2012-09-20 at 17:37 +0300, Jussi Lahtinen wrote: > > > > > You tried to launch Gambas executable with gbx, for that you need to > > use > > > > > gbr. > > > > > gbx is for running source code or evaluating, not for executables. > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Sep 20, 2012 at 2:44 PM, jm > > > > wrote: > > > > > > > > > > > On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote: > > > > > > > Or here is something you could do: > > > > > > > > > > > > > > gdb gbr3 > > > > > > > set args /usr/local/bin/gambas3 (or what ever is your install > > path) > > > > > > > run > > > > > > > > > > > > > > You may need to kill the process with Ctrl + c in debugger. > > > > > > > Then with bt, you will get backtrace. > > > > > > > Send it here, so we can see what is happening. > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > (gdb) run > > > > > > Starting program: /usr/bin/gbx2 > > > > > > [Thread debugging using libthread_db enabled] > > > > > > Using host libthread_db library > > > > > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > > > > > ERROR: #45: File or directory does not exist > > > > > > [Inferior 1 (process 12262) exited with code 01] > > > > > > (gdb) > > > > > > > > > > > > bt gives the message no stack. > > > > > > > > > > > > (I tried many different ways of running gdb and all give > > > > > > same answer as above - including set args) > > > > > > > > > > > > hmm.. not sure which file or directory its looking for. > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen < > > > > > > jussi.lahtinen at ...626...>wrote: > > > > > > > > > > > > > > > gambas3 is just program made with Gambas, if it is in infinite > > > > loop, > > > > > > > > interpreter cannot know about it. > > > > > > > > It just does what it is commanded to do. Just like in any other > > > > > > > > programming language. > > > > > > > > > > > > > > > > Try to run something else to see whether anything works. > > > > > > > > gbx3 is Gambas interpreter executable, and gbr3 is for > > executing > > > > Gambas > > > > > > > > executables like gambas3. > > > > > > > > > > > > > > > > What example "gbx3 --help" says? > > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm < > > > > joem at ...2671... > > > > > > >wrote: > > > > > > > > > > > > > > > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > > > > > > >> > Le 19/09/2012 13:55, jm a ?crit : > > > > > > > >> > > Hi, > > > > > > > >> > > > > > > > > > >> > > Gambas runs on Linux and I was just wondering if it can do > > > > more > > > > > > > >> > > with regards to error messages when it is run. > > > > > > > >> > > > > > > > > > >> > > I've got a MK802 with A10 ARM running Lubuntu. > > > > > > > >> > > Gambas2 seems to download and install from repository. > > > > > > > >> > > When run nothing happens. > > > > > > > >> > > When run from command line it does nothing. > > > > > > > >> > > (Reading raspberry pi forums where they use ARM and have > > > > gambas > > > > > > > >> working, > > > > > > > >> > > this type of error is down to missing libs.) > > > > > > > >> > > > > > > > > > >> > > Doing "gambas2 --help" does nothing. > > > > > > > >> > > (Doing "gambas3 --help" doesn't do conventional help > > > > > > > >> > > message on Ubuntu Linux.) > > > > > > > >> > > > > > > > > > >> > > I was just wondering if it is possible to make gambas > > > > > > > >> > > behave more like other applications so that its command > > > > > > > >> > > line responses are more in line with expectations > > > > > > > >> > > in a Linux environment. > > > > > > > >> > > > > > > > > > >> > > e.g. > > > > > > > >> > > gambas3 --help : generate command line options > > > > > > > >> > > > > > > > > >> > That's possible, even if gambas3 has no command line > > options. > > > > > > > >> > > > > > > > > >> > > gambas3 -v [project] : puts gambas into verbose mode that > > > > > > > >> > > prints a message before checking for a dependent lib > > > > > > > >> > > so that if it crashed a meaningful guess can be made as to > > > > > > > >> > > where to look for a fix. > > > > > > > >> > > > > > > > > >> > There I don't understand : gambas3 is the IDE, it is a GUI > > > > program. > > > > > > If > > > > > > > >> > you have missing libs, gambas3 is not compiled. And if it > > is, > > > > you > > > > > > will > > > > > > > >> > have error messages on the command line when running it. > > > > > > > >> > > > > > > > >> Strange - no error messages at all. > > > > > > > >> When I run gambas2 from command line, nothing happens as in > > the > > > > > > command > > > > > > > >> line is completely frozen probably in an infinite loop and > > unable > > > > to > > > > > > > >> show an IDE or output an error message. So it would be good if > > > > > > > >> for example gambas started with a message like "initialising" > > when > > > > > > > >> a parameter like -v for verbose is used > > > > > > > >> so that at least we know that part has worked. > > > > > > > >> (Emitting even more detailed message such as which buttons > > were > > > > > > > >> pressed with a parameter "-v2 level" where level is a number > > is > > > > > > another > > > > > > > >> desirable option. Increasing level of reporting can quickly > > find > > > > more > > > > > > > >> complex faults - such as infinite event loops. I know many of > > > > these > > > > > > > >> messages are reported to IDE, but there should be an option to > > > > get it > > > > > > > >> reported to the console - that is the Linux/Unix way - the > > > > console and > > > > > > > >> command line is king - even for a GUI IDE. Driving the IDE > > should > > > > also > > > > > > > >> be command line driven. e.g. options to compile gambas > > programs > > > > should > > > > > > > >> be available as standard from command line options for example > > > > without > > > > > > > >> need for IDE to kick into life.) > > > > > > > >> > > > > > > > >> I had a Genesi smartbook that did the same freeze thing on > > their > > > > > > Ubuntu > > > > > > > >> distro. At the time I didn't need to go forward with it, so I > > > > dropped > > > > > > > >> investigating. The MK802 however I must get going because the > > plan > > > > > > > >> for now is to use OpenBox as the window manager and Gambas as > > the > > > > main > > > > > > > >> application. > > > > > > > >> > > > > > > > >> No doubt I will be trying to compile gambas3 soon for MK802 > > > > > > > >> and sort it somehow. In the mean time I thought I make the > > > > suggestion > > > > > > > >> for improved command line options - noting that gambas does > > not > > > > appear > > > > > > > >> to have many options. > > > > > > > >> > > > > > > > >> > > > > > > > >> > If you try to > > > > > > > >> > open a project which need components that are not install, > > you > > > > will > > > > > > have > > > > > > > >> > errors message boxes. > > > > > > > >> > > > > > > > > >> > So maybe you should try to give more details on how you > > > > installed > > > > > > gambas > > > > > > > >> > on your system, and more details on your system > > > > > > > >> > > > > > > > >> Gambas2 downloaded from the default repository of Lubuntu > > 12.04 > > > > > > > >> that came with the distro, by using synaptic. > > > > > > > >> That would point the finger at the maintainers there but as > > its > > > > old > > > > > > > >> its not worth pursuing. I'll probably try to compile gambas3. > > > > > > > >> > > > > > > > >> > > > > > > > >> > (no idea what a MK802 > > > > > > > >> > is...). ARM systems are quite different. > > > > > > > >> > > > > > > > >> It is the rage in ARMs at the moment - full ARM computer on a > > USB > > > > > > stick: > > > > > > > >> https://www.miniand.com/products/MK802%20Android%20Mini%20PC > > > > > > > >> (around $50 on ebay) > > > > > > > >> > > > > > > > >> > > > > > > > > >> > Regards, > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > >> Live Security Virtual Conference > > > > > > > >> Exclusive live event will cover all the ways today's security > > and > > > > > > > >> threat landscape has changed and how IT managers can respond. > > > > > > Discussions > > > > > > > >> will include endpoint security, mobile security and the > > latest in > > > > > > malware > > > > > > > >> threats. > > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > >> _______________________________________________ > > > > > > > >> Gambas-user mailing list > > > > > > > >> Gambas-user at lists.sourceforge.net > > > > > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > Live Security Virtual Conference > > > > > > > Exclusive live event will cover all the ways today's security and > > > > > > > threat landscape has changed and how IT managers can respond. > > > > Discussions > > > > > > > will include endpoint security, mobile security and the latest in > > > > malware > > > > > > > threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > _______________________________________________ > > > > > > > Gambas-user mailing list > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Everyone hates slow websites. So do we. > > > > > > Make your web apps faster with AppDynamics > > > > > > Download AppDynamics Lite for free today: > > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Everyone hates slow websites. So do we. > > > > > Make your web apps faster with AppDynamics > > > > > Download AppDynamics Lite for free today: > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Everyone hates slow websites. So do we. > > > > Make your web apps faster with AppDynamics > > > > Download AppDynamics Lite for free today: > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > > Everyone hates slow websites. So do we. > > > Make your web apps faster with AppDynamics > > > Download AppDynamics Lite for free today: > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Sep 21 10:21:11 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 21 Sep 2012 10:21:11 +0200 Subject: [Gambas-user] gb.dbus system-bus register : error and then segfault In-Reply-To: References: Message-ID: <505C2377.6040200@...1...> Le 20/09/2012 03:21, Adrien Prokopowicz a ?crit : > Hi Beno?t, > > I'm trying to register my objects through DBus. Everything is fine for > the session bus, but when I'm trying to register it to the system bus, > I get an error "Unable to register application name" (I don't know > why). > If I go further with the debugger (or the IDE), I get a segfault. > > This doesn't seem to be related to user permissions, running the test > projects as root doesn't change anything, and my system dbus is > configured so that anyone can register to it. > > I attached the project and my gdb&valgrind outputs. > > Regards, > Adrien. > The segfault is a debugger bug, and is not related to the DBus problem. Can you try revision #5180? You will get a more explicit error message. Regards, -- Beno?t Minisini From gambas at ...1... Fri Sep 21 10:27:48 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 21 Sep 2012 10:27:48 +0200 Subject: [Gambas-user] Another error with rev. 5177 In-Reply-To: <505B20F1.3010205@...1...> References: <201209201450.05027.rolf.frogs@...221...> <505B20F1.3010205@...1...> Message-ID: <505C2504.2020803@...1...> Le 20/09/2012 15:58, Beno?t Minisini a ?crit : > Le 20/09/2012 14:50, Rolf Schmidt a ?crit : >> Hi Benoit, >> >> when I try to open a project from the left panel of the IDE, I get the >> error >> "this application has raised an unexpected error and must abort. >> [11] Unknown symbol 'Path' in class 'Desktop'. CBookmarkList.Load.48" >> >> This error seams also be new. >> Fine regards >> Rolf >> > > Did you compile from sources? It seems that there is something weird on > your installation, as the missing symbols come from the gb.desktop > component which is required by the IDE to run. > Hi, Rolf. Can you try with revision #5181? It should fix the gb.desktop compilation problem. Regards, -- Beno?t Minisini From rolf.frogs at ...221... Fri Sep 21 11:02:40 2012 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Fri, 21 Sep 2012 11:02:40 +0200 Subject: [Gambas-user] Another error with rev. 5177 In-Reply-To: <505C2504.2020803@...1...> References: <201209201450.05027.rolf.frogs@...221...> <505B20F1.3010205@...1...> <505C2504.2020803@...1...> Message-ID: <505C2D30.2040503@...2594...> Hi Beno?t, > Can you try with revision #5181? It should fix the gb.desktop > compilation problem. Yes everything seems to be fine, even the graphics in the top left corner now looks nice. Many, many thanks Rolf From joem at ...2671... Fri Sep 21 14:53:25 2012 From: joem at ...2671... (jm) Date: Fri, 21 Sep 2012 13:53:25 +0100 Subject: [Gambas-user] Make error on encountering gb.db.sqlite2 (Lubuntu 12.04 MK802 / ARM) Message-ID: <1348232005.4603.16.camel@...2672...> Hi, I'm trying to get Gambas3 compiled on MK802 / ARM running Lubuntu 12.04 The Lubuntu repository has gambas2 but not much luck yet sorting that out. So I try compile gambas3 - version 3.2.1. Everything seems to go OK until make command encounters gb.db.sqlite2: make[4]: Leaving directory `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.postgresql' make[3]: Leaving directory `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.postgresql' make[2]: Leaving directory `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.postgresql' Making all in gb.db.sqlite2 make[2]: Entering directory `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.sqlite2' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.sqlite2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/miniand/Downloads/gambas3/gambas3-3.2.1' make: *** [all] Error 2 miniand at ...3014...:~/Downloads/gambas3/gambas3-3.2.1$ Checking the Lubuntu 12.04 repository. it does not have sqlite2, I guess because sqlite3 is out. Any clue what best to do next? From gambas at ...1... Fri Sep 21 15:29:53 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 21 Sep 2012 15:29:53 +0200 Subject: [Gambas-user] Make error on encountering gb.db.sqlite2 (Lubuntu 12.04 MK802 / ARM) In-Reply-To: <1348232005.4603.16.camel@...2672...> References: <1348232005.4603.16.camel@...2672...> Message-ID: <505C6BD1.5030607@...1...> Le 21/09/2012 14:53, jm a ?crit : > Hi, > > I'm trying to get Gambas3 compiled on MK802 / ARM running Lubuntu 12.04 > > The Lubuntu repository has gambas2 but not much luck yet sorting > that out. So I try compile gambas3 - version 3.2.1. > > Everything seems to go OK until make command encounters > gb.db.sqlite2: > > make[4]: Leaving directory > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.postgresql' > make[3]: Leaving directory > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.postgresql' > make[2]: Leaving directory > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.postgresql' > Making all in gb.db.sqlite2 > make[2]: Entering directory > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.sqlite2' > make[2]: *** No rule to make target `all'. Stop. > make[2]: Leaving directory > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.sqlite2' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/miniand/Downloads/gambas3/gambas3-3.2.1' > make: *** [all] Error 2 > miniand at ...3014...:~/Downloads/gambas3/gambas3-3.2.1$ > > > Checking the Lubuntu 12.04 repository. it does not have sqlite2, > I guess because sqlite3 is out. > > Any clue what best to do next? > Strange, as if it compiles gb.db.sqlite2, it's because it has found the libraries. But without any log output, I can't say more. -- Beno?t Minisini From joem at ...2671... Fri Sep 21 16:15:21 2012 From: joem at ...2671... (jm) Date: Fri, 21 Sep 2012 15:15:21 +0100 Subject: [Gambas-user] Make error on encountering gb.db.sqlite2 (Lubuntu 12.04 MK802 / ARM) In-Reply-To: <505C6BD1.5030607@...1...> References: <1348232005.4603.16.camel@...2672...> <505C6BD1.5030607@...1...> Message-ID: <1348236921.5784.0.camel@...2672...> On Fri, 2012-09-21 at 15:29 +0200, Beno?t Minisini wrote: > Le 21/09/2012 14:53, jm a ?crit : > > Hi, > > > > I'm trying to get Gambas3 compiled on MK802 / ARM running Lubuntu 12.04 > > > > The Lubuntu repository has gambas2 but not much luck yet sorting > > that out. So I try compile gambas3 - version 3.2.1. > > > > Everything seems to go OK until make command encounters > > gb.db.sqlite2: > > > > make[4]: Leaving directory > > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.postgresql' > > make[3]: Leaving directory > > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.postgresql' > > make[2]: Leaving directory > > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.postgresql' > > Making all in gb.db.sqlite2 > > make[2]: Entering directory > > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.sqlite2' > > make[2]: *** No rule to make target `all'. Stop. > > make[2]: Leaving directory > > `/home/miniand/Downloads/gambas3/gambas3-3.2.1/gb.db.sqlite2' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory > > `/home/miniand/Downloads/gambas3/gambas3-3.2.1' > > make: *** [all] Error 2 > > miniand at ...3014...:~/Downloads/gambas3/gambas3-3.2.1$ > > > > > > Checking the Lubuntu 12.04 repository. it does not have sqlite2, > > I guess because sqlite3 is out. > > > > Any clue what best to do next? > > > > Strange, as if it compiles gb.db.sqlite2, it's because it has found the > libraries. But without any log output, I can't say more. Thank you - attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: output1.txt.tar.bz2 Type: application/x-bzip-compressed-tar Size: 6531 bytes Desc: not available URL: From john.aaron.rose at ...626... Fri Sep 21 16:51:11 2012 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 21 Sep 2012 15:51:11 +0100 Subject: [Gambas-user] Faults on new Project name Message-ID: <1348239071.2771.19.camel@...2811...> I've taken an existing project and done Save As with a new project name. I've then amended this new project including setting the Project Properties' Title & Description. I've added a new icon for the app into the project's Data section (of the IDE) by right clicking Data etc. However, when I Make Installation Package (of the new project) for Ubuntu and install the resultant .deb, the icon in /usr/share/pixmaps still displays as the old project's image even though its name is newprojectname.png as per the name in the Data section. Why does the icon's image not change on installation even though I changed it? Also, the entry in the Main Menu (for launching the new app) is not generated by .gdebi. Why is this? I tried to keep the same parameters when doing the Make as per the old project: Groups - database for the Package Groups window, though there was no entry for the Other group (in Applications) for the Menu Entry window so I selected Programming. Why do entries listed in the Menu Entry window not match those in Ubuntu's Main Menu Applications? From jussi.lahtinen at ...626... Fri Sep 21 20:02:51 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Sep 2012 21:02:51 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348213241.2180.0.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> <1348213241.2180.0.camel@...2672...> Message-ID: OK, seems that there is no working version of Gambas2 in Ubuntu repository. I have no clue what is going on... Jussi On Fri, Sep 21, 2012 at 10:40 AM, jm wrote: > Jussi, > > Finally some difference! > > > miniand at ...3014...:~$ cd /usr/bin > miniand at ...3014...:/usr/bin$ ls -l gam* > lrwxrwxrwx 1 root root 14 Dec 6 2011 gambas2 -> > gambas2.gambas > -rwxr-xr-x 1 root root 427530 Dec 6 2011 > gambas2-database-manager.gambas > -rwxr-xr-x 1 root root 2372105 Dec 6 2011 gambas2.gambas > -rwxr-xr-x 1 root root 5600 Dec 5 2011 gamma4scanimage > miniand at ...3014...:/usr/bin$ whereis gbr2 > gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz > miniand at ...3014...:/usr/bin$ gdb gbr2 > GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute > it. > There is NO WARRANTY, to the extent permitted by law. Type > "show copying" > and "show warranty" for details. > This GDB was configured as "arm-linux-gnueabi". > For bug reporting instructions, please see: > ... > Reading symbols from /usr/bin/gbr2...(no debugging symbols > found)...done. > (gdb) set args /usr/bin/gambas2 > (gdb) run > Starting program: /usr/bin/gbr2 /usr/bin/gambas2 > [Thread debugging using libthread_db enabled] > Using host libthread_db library > "/lib/arm-linux-gnueabi/libthread_db.so.1". > ERROR: #49: Not a directory: /usr/bin/gambas2/.project > [Inferior 1 (process 1145) exited with code 01] > (gdb) bt > No stack. > (gdb) ^CQuit > (gdb) bt > No stack. > (gdb) quit > miniand at ...3014...:/usr/bin$ > > > On Thu, 2012-09-20 at 18:45 +0300, Jussi Lahtinen wrote: > > Try; > > set args /usr/bin/gambas2 > > > > Jussi > > > > > > > > On Thu, Sep 20, 2012 at 6:41 PM, jm > wrote: > > > > > Sorry Jussi, > > > same result: > > > > > > > > > miniand at ...3014...:~$ cd /usr/bin > > > miniand at ...3014...:/usr/bin$ ls gam* > > > gambas2 gambas2-database-manager.gambas gambas2.gambas > > > gamma4scanimage > > > miniand at ...3014...:/usr/bin$ whereis gbr2 > > > gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz > > > miniand at ...3014...:/usr/bin$ gdb gbr2 > > > GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 > > > Copyright (C) 2012 Free Software Foundation, Inc. > > > License GPLv3+: GNU GPL version 3 or later > > > > > > This is free software: you are free to change and redistribute it. > > > There is NO WARRANTY, to the extent permitted by law. Type "show > > > copying" > > > and "show warranty" for details. > > > This GDB was configured as "arm-linux-gnueabi". > > > For bug reporting instructions, please see: > > > ... > > > Reading symbols from /usr/bin/gbr2...(no debugging symbols > > > found)...done. > > > (gdb) set args /usr/bin > > > (gdb) run > > > Starting program: /usr/bin/gbr2 /usr/bin > > > [Thread debugging using libthread_db enabled] > > > Using host libthread_db library > > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > > ERROR: #45: File or directory does not exist > > > [Inferior 1 (process 1074) exited with code 01] > > > (gdb) bt > > > No stack. > > > (gdb) ^CQuit > > > (gdb) bt > > > No stack. > > > (gdb) quit > > > miniand at ...3014...:/usr/bin$ > > > > > > > > > On Thu, 2012-09-20 at 18:18 +0300, Jussi Lahtinen wrote: > > > > Please do exactly what I told, and send results. > > > > > > > > Jussi > > > > > > > > > > > > > > > > On Thu, Sep 20, 2012 at 5:57 PM, jm > > > wrote: > > > > > > > > > Hi Jussi, > > > > > > > > > > Just to re-iterate - I tried numerous different options > > > > > including gbx gbr running compiled pre-made serial port > > > > > sample, with and without project files, command line > > > > > etc. etc. all have same result. > > > > > > > > > > On Thu, 2012-09-20 at 17:37 +0300, Jussi Lahtinen wrote: > > > > > > You tried to launch Gambas executable with gbx, for that you > need to > > > use > > > > > > gbr. > > > > > > gbx is for running source code or evaluating, not for > executables. > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Sep 20, 2012 at 2:44 PM, jm < > joem at ...2671...> > > > > > wrote: > > > > > > > > > > > > > On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote: > > > > > > > > Or here is something you could do: > > > > > > > > > > > > > > > > gdb gbr3 > > > > > > > > set args /usr/local/bin/gambas3 (or what ever is your install > > > path) > > > > > > > > run > > > > > > > > > > > > > > > > You may need to kill the process with Ctrl + c in debugger. > > > > > > > > Then with bt, you will get backtrace. > > > > > > > > Send it here, so we can see what is happening. > > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > (gdb) run > > > > > > > Starting program: /usr/bin/gbx2 > > > > > > > [Thread debugging using libthread_db enabled] > > > > > > > Using host libthread_db library > > > > > > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > > > > > > ERROR: #45: File or directory does not exist > > > > > > > [Inferior 1 (process 12262) exited with code 01] > > > > > > > (gdb) > > > > > > > > > > > > > > bt gives the message no stack. > > > > > > > > > > > > > > (I tried many different ways of running gdb and all give > > > > > > > same answer as above - including set args) > > > > > > > > > > > > > > hmm.. not sure which file or directory its looking for. > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen < > > > > > > > jussi.lahtinen at ...626...>wrote: > > > > > > > > > > > > > > > > > gambas3 is just program made with Gambas, if it is in > infinite > > > > > loop, > > > > > > > > > interpreter cannot know about it. > > > > > > > > > It just does what it is commanded to do. Just like in any > other > > > > > > > > > programming language. > > > > > > > > > > > > > > > > > > Try to run something else to see whether anything works. > > > > > > > > > gbx3 is Gambas interpreter executable, and gbr3 is for > > > executing > > > > > Gambas > > > > > > > > > executables like gambas3. > > > > > > > > > > > > > > > > > > What example "gbx3 --help" says? > > > > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm < > > > > > joem at ...2671... > > > > > > > >wrote: > > > > > > > > > > > > > > > > > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > > > > > > > >> > Le 19/09/2012 13:55, jm a ?crit : > > > > > > > > >> > > Hi, > > > > > > > > >> > > > > > > > > > > >> > > Gambas runs on Linux and I was just wondering if it > can do > > > > > more > > > > > > > > >> > > with regards to error messages when it is run. > > > > > > > > >> > > > > > > > > > > >> > > I've got a MK802 with A10 ARM running Lubuntu. > > > > > > > > >> > > Gambas2 seems to download and install from repository. > > > > > > > > >> > > When run nothing happens. > > > > > > > > >> > > When run from command line it does nothing. > > > > > > > > >> > > (Reading raspberry pi forums where they use ARM and > have > > > > > gambas > > > > > > > > >> working, > > > > > > > > >> > > this type of error is down to missing libs.) > > > > > > > > >> > > > > > > > > > > >> > > Doing "gambas2 --help" does nothing. > > > > > > > > >> > > (Doing "gambas3 --help" doesn't do conventional help > > > > > > > > >> > > message on Ubuntu Linux.) > > > > > > > > >> > > > > > > > > > > >> > > I was just wondering if it is possible to make gambas > > > > > > > > >> > > behave more like other applications so that its > command > > > > > > > > >> > > line responses are more in line with expectations > > > > > > > > >> > > in a Linux environment. > > > > > > > > >> > > > > > > > > > > >> > > e.g. > > > > > > > > >> > > gambas3 --help : generate command line options > > > > > > > > >> > > > > > > > > > >> > That's possible, even if gambas3 has no command line > > > options. > > > > > > > > >> > > > > > > > > > >> > > gambas3 -v [project] : puts gambas into verbose mode > that > > > > > > > > >> > > prints a message before checking for a dependent lib > > > > > > > > >> > > so that if it crashed a meaningful guess can be made > as to > > > > > > > > >> > > where to look for a fix. > > > > > > > > >> > > > > > > > > > >> > There I don't understand : gambas3 is the IDE, it is a > GUI > > > > > program. > > > > > > > If > > > > > > > > >> > you have missing libs, gambas3 is not compiled. And if > it > > > is, > > > > > you > > > > > > > will > > > > > > > > >> > have error messages on the command line when running it. > > > > > > > > >> > > > > > > > > >> Strange - no error messages at all. > > > > > > > > >> When I run gambas2 from command line, nothing happens as > in > > > the > > > > > > > command > > > > > > > > >> line is completely frozen probably in an infinite loop and > > > unable > > > > > to > > > > > > > > >> show an IDE or output an error message. So it would be > good if > > > > > > > > >> for example gambas started with a message like > "initialising" > > > when > > > > > > > > >> a parameter like -v for verbose is used > > > > > > > > >> so that at least we know that part has worked. > > > > > > > > >> (Emitting even more detailed message such as which buttons > > > were > > > > > > > > >> pressed with a parameter "-v2 level" where level is a > number > > > is > > > > > > > another > > > > > > > > >> desirable option. Increasing level of reporting can > quickly > > > find > > > > > more > > > > > > > > >> complex faults - such as infinite event loops. I know > many of > > > > > these > > > > > > > > >> messages are reported to IDE, but there should be an > option to > > > > > get it > > > > > > > > >> reported to the console - that is the Linux/Unix way - the > > > > > console and > > > > > > > > >> command line is king - even for a GUI IDE. Driving the IDE > > > should > > > > > also > > > > > > > > >> be command line driven. e.g. options to compile gambas > > > programs > > > > > should > > > > > > > > >> be available as standard from command line options for > example > > > > > without > > > > > > > > >> need for IDE to kick into life.) > > > > > > > > >> > > > > > > > > >> I had a Genesi smartbook that did the same freeze thing on > > > their > > > > > > > Ubuntu > > > > > > > > >> distro. At the time I didn't need to go forward with it, > so I > > > > > dropped > > > > > > > > >> investigating. The MK802 however I must get going because > the > > > plan > > > > > > > > >> for now is to use OpenBox as the window manager and > Gambas as > > > the > > > > > main > > > > > > > > >> application. > > > > > > > > >> > > > > > > > > >> No doubt I will be trying to compile gambas3 soon for > MK802 > > > > > > > > >> and sort it somehow. In the mean time I thought I make the > > > > > suggestion > > > > > > > > >> for improved command line options - noting that gambas > does > > > not > > > > > appear > > > > > > > > >> to have many options. > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > If you try to > > > > > > > > >> > open a project which need components that are not > install, > > > you > > > > > will > > > > > > > have > > > > > > > > >> > errors message boxes. > > > > > > > > >> > > > > > > > > > >> > So maybe you should try to give more details on how you > > > > > installed > > > > > > > gambas > > > > > > > > >> > on your system, and more details on your system > > > > > > > > >> > > > > > > > > >> Gambas2 downloaded from the default repository of Lubuntu > > > 12.04 > > > > > > > > >> that came with the distro, by using synaptic. > > > > > > > > >> That would point the finger at the maintainers there but > as > > > its > > > > > old > > > > > > > > >> its not worth pursuing. I'll probably try to compile > gambas3. > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > (no idea what a MK802 > > > > > > > > >> > is...). ARM systems are quite different. > > > > > > > > >> > > > > > > > > >> It is the rage in ARMs at the moment - full ARM computer > on a > > > USB > > > > > > > stick: > > > > > > > > >> > https://www.miniand.com/products/MK802%20Android%20Mini%20PC > > > > > > > > >> (around $50 on ebay) > > > > > > > > >> > > > > > > > > >> > > > > > > > > > >> > Regards, > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > >> Live Security Virtual Conference > > > > > > > > >> Exclusive live event will cover all the ways today's > security > > > and > > > > > > > > >> threat landscape has changed and how IT managers can > respond. > > > > > > > Discussions > > > > > > > > >> will include endpoint security, mobile security and the > > > latest in > > > > > > > malware > > > > > > > > >> threats. > > > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > >> _______________________________________________ > > > > > > > > >> Gambas-user mailing list > > > > > > > > >> Gambas-user at lists.sourceforge.net > > > > > > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > Live Security Virtual Conference > > > > > > > > Exclusive live event will cover all the ways today's > security and > > > > > > > > threat landscape has changed and how IT managers can respond. > > > > > Discussions > > > > > > > > will include endpoint security, mobile security and the > latest in > > > > > malware > > > > > > > > threats. > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > _______________________________________________ > > > > > > > > Gambas-user mailing list > > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > Everyone hates slow websites. So do we. > > > > > > > Make your web apps faster with AppDynamics > > > > > > > Download AppDynamics Lite for free today: > > > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > > > _______________________________________________ > > > > > > > Gambas-user mailing list > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Everyone hates slow websites. So do we. > > > > > > Make your web apps faster with AppDynamics > > > > > > Download AppDynamics Lite for free today: > > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Everyone hates slow websites. So do we. > > > > > Make your web apps faster with AppDynamics > > > > > Download AppDynamics Lite for free today: > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Everyone hates slow websites. So do we. > > > > Make your web apps faster with AppDynamics > > > > Download AppDynamics Lite for free today: > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Everyone hates slow websites. So do we. > > > Make your web apps faster with AppDynamics > > > Download AppDynamics Lite for free today: > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From joem at ...2671... Fri Sep 21 21:27:45 2012 From: joem at ...2671... (jm) Date: Fri, 21 Sep 2012 20:27:45 +0100 Subject: [Gambas-user] Gambas error messages In-Reply-To: References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> <1348213241.2180.0.camel@...2672...> Message-ID: <1348255665.6872.6.camel@...2672...> On Fri, 2012-09-21 at 21:02 +0300, Jussi Lahtinen wrote: > OK, seems that there is no working version of Gambas2 in Ubuntu repository. > I have no clue what is going on... > > Jussi I can understand your view point. Thats why I was originally posting to ask if more could be done for the command line options to output more verbose messages for the rainy day when things go wrong so that we may debug in silence. > > On Fri, Sep 21, 2012 at 10:40 AM, jm wrote: > > > Jussi, > > > > Finally some difference! > > > > > > miniand at ...3014...:~$ cd /usr/bin > > miniand at ...3014...:/usr/bin$ ls -l gam* > > lrwxrwxrwx 1 root root 14 Dec 6 2011 gambas2 -> > > gambas2.gambas > > -rwxr-xr-x 1 root root 427530 Dec 6 2011 > > gambas2-database-manager.gambas > > -rwxr-xr-x 1 root root 2372105 Dec 6 2011 gambas2.gambas > > -rwxr-xr-x 1 root root 5600 Dec 5 2011 gamma4scanimage > > miniand at ...3014...:/usr/bin$ whereis gbr2 > > gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz > > miniand at ...3014...:/usr/bin$ gdb gbr2 > > GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 > > Copyright (C) 2012 Free Software Foundation, Inc. > > License GPLv3+: GNU GPL version 3 or later > > > > This is free software: you are free to change and redistribute > > it. > > There is NO WARRANTY, to the extent permitted by law. Type > > "show copying" > > and "show warranty" for details. > > This GDB was configured as "arm-linux-gnueabi". > > For bug reporting instructions, please see: > > ... > > Reading symbols from /usr/bin/gbr2...(no debugging symbols > > found)...done. > > (gdb) set args /usr/bin/gambas2 > > (gdb) run > > Starting program: /usr/bin/gbr2 /usr/bin/gambas2 > > [Thread debugging using libthread_db enabled] > > Using host libthread_db library > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > ERROR: #49: Not a directory: /usr/bin/gambas2/.project > > [Inferior 1 (process 1145) exited with code 01] > > (gdb) bt > > No stack. > > (gdb) ^CQuit > > (gdb) bt > > No stack. > > (gdb) quit > > miniand at ...3014...:/usr/bin$ > > > > > > On Thu, 2012-09-20 at 18:45 +0300, Jussi Lahtinen wrote: > > > Try; > > > set args /usr/bin/gambas2 > > > > > > Jussi > > > > > > > > > > > > On Thu, Sep 20, 2012 at 6:41 PM, jm > > wrote: > > > > > > > Sorry Jussi, > > > > same result: > > > > > > > > > > > > miniand at ...3014...:~$ cd /usr/bin > > > > miniand at ...3014...:/usr/bin$ ls gam* > > > > gambas2 gambas2-database-manager.gambas gambas2.gambas > > > > gamma4scanimage > > > > miniand at ...3014...:/usr/bin$ whereis gbr2 > > > > gbr2: /usr/bin/gbr2 /usr/bin/X11/gbr2 /usr/share/man/man1/gbr2.1.gz > > > > miniand at ...3014...:/usr/bin$ gdb gbr2 > > > > GNU gdb (Ubuntu/Linaro 7.4-2012.02-0ubuntu2) 7.4-2012.02 > > > > Copyright (C) 2012 Free Software Foundation, Inc. > > > > License GPLv3+: GNU GPL version 3 or later > > > > > > > > This is free software: you are free to change and redistribute it. > > > > There is NO WARRANTY, to the extent permitted by law. Type "show > > > > copying" > > > > and "show warranty" for details. > > > > This GDB was configured as "arm-linux-gnueabi". > > > > For bug reporting instructions, please see: > > > > ... > > > > Reading symbols from /usr/bin/gbr2...(no debugging symbols > > > > found)...done. > > > > (gdb) set args /usr/bin > > > > (gdb) run > > > > Starting program: /usr/bin/gbr2 /usr/bin > > > > [Thread debugging using libthread_db enabled] > > > > Using host libthread_db library > > > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > > > ERROR: #45: File or directory does not exist > > > > [Inferior 1 (process 1074) exited with code 01] > > > > (gdb) bt > > > > No stack. > > > > (gdb) ^CQuit > > > > (gdb) bt > > > > No stack. > > > > (gdb) quit > > > > miniand at ...3014...:/usr/bin$ > > > > > > > > > > > > On Thu, 2012-09-20 at 18:18 +0300, Jussi Lahtinen wrote: > > > > > Please do exactly what I told, and send results. > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > On Thu, Sep 20, 2012 at 5:57 PM, jm > > > > wrote: > > > > > > > > > > > Hi Jussi, > > > > > > > > > > > > Just to re-iterate - I tried numerous different options > > > > > > including gbx gbr running compiled pre-made serial port > > > > > > sample, with and without project files, command line > > > > > > etc. etc. all have same result. > > > > > > > > > > > > On Thu, 2012-09-20 at 17:37 +0300, Jussi Lahtinen wrote: > > > > > > > You tried to launch Gambas executable with gbx, for that you > > need to > > > > use > > > > > > > gbr. > > > > > > > gbx is for running source code or evaluating, not for > > executables. > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Sep 20, 2012 at 2:44 PM, jm < > > joem at ...2671...> > > > > > > wrote: > > > > > > > > > > > > > > > On Wed, 2012-09-19 at 18:21 +0300, Jussi Lahtinen wrote: > > > > > > > > > Or here is something you could do: > > > > > > > > > > > > > > > > > > gdb gbr3 > > > > > > > > > set args /usr/local/bin/gambas3 (or what ever is your install > > > > path) > > > > > > > > > run > > > > > > > > > > > > > > > > > > You may need to kill the process with Ctrl + c in debugger. > > > > > > > > > Then with bt, you will get backtrace. > > > > > > > > > Send it here, so we can see what is happening. > > > > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > (gdb) run > > > > > > > > Starting program: /usr/bin/gbx2 > > > > > > > > [Thread debugging using libthread_db enabled] > > > > > > > > Using host libthread_db library > > > > > > > > "/lib/arm-linux-gnueabi/libthread_db.so.1". > > > > > > > > ERROR: #45: File or directory does not exist > > > > > > > > [Inferior 1 (process 12262) exited with code 01] > > > > > > > > (gdb) > > > > > > > > > > > > > > > > bt gives the message no stack. > > > > > > > > > > > > > > > > (I tried many different ways of running gdb and all give > > > > > > > > same answer as above - including set args) > > > > > > > > > > > > > > > > hmm.. not sure which file or directory its looking for. > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 6:13 PM, Jussi Lahtinen < > > > > > > > > jussi.lahtinen at ...626...>wrote: > > > > > > > > > > > > > > > > > > > gambas3 is just program made with Gambas, if it is in > > infinite > > > > > > loop, > > > > > > > > > > interpreter cannot know about it. > > > > > > > > > > It just does what it is commanded to do. Just like in any > > other > > > > > > > > > > programming language. > > > > > > > > > > > > > > > > > > > > Try to run something else to see whether anything works. > > > > > > > > > > gbx3 is Gambas interpreter executable, and gbr3 is for > > > > executing > > > > > > Gambas > > > > > > > > > > executables like gambas3. > > > > > > > > > > > > > > > > > > > > What example "gbx3 --help" says? > > > > > > > > > > > > > > > > > > > > Jussi > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Wed, Sep 19, 2012 at 3:57 PM, jm < > > > > > > joem at ...2671... > > > > > > > > >wrote: > > > > > > > > > > > > > > > > > > > >> On Wed, 2012-09-19 at 14:03 +0200, Beno?t Minisini wrote: > > > > > > > > > >> > Le 19/09/2012 13:55, jm a ?crit : > > > > > > > > > >> > > Hi, > > > > > > > > > >> > > > > > > > > > > > >> > > Gambas runs on Linux and I was just wondering if it > > can do > > > > > > more > > > > > > > > > >> > > with regards to error messages when it is run. > > > > > > > > > >> > > > > > > > > > > > >> > > I've got a MK802 with A10 ARM running Lubuntu. > > > > > > > > > >> > > Gambas2 seems to download and install from repository. > > > > > > > > > >> > > When run nothing happens. > > > > > > > > > >> > > When run from command line it does nothing. > > > > > > > > > >> > > (Reading raspberry pi forums where they use ARM and > > have > > > > > > gambas > > > > > > > > > >> working, > > > > > > > > > >> > > this type of error is down to missing libs.) > > > > > > > > > >> > > > > > > > > > > > >> > > Doing "gambas2 --help" does nothing. > > > > > > > > > >> > > (Doing "gambas3 --help" doesn't do conventional help > > > > > > > > > >> > > message on Ubuntu Linux.) > > > > > > > > > >> > > > > > > > > > > > >> > > I was just wondering if it is possible to make gambas > > > > > > > > > >> > > behave more like other applications so that its > > command > > > > > > > > > >> > > line responses are more in line with expectations > > > > > > > > > >> > > in a Linux environment. > > > > > > > > > >> > > > > > > > > > > > >> > > e.g. > > > > > > > > > >> > > gambas3 --help : generate command line options > > > > > > > > > >> > > > > > > > > > > >> > That's possible, even if gambas3 has no command line > > > > options. > > > > > > > > > >> > > > > > > > > > > >> > > gambas3 -v [project] : puts gambas into verbose mode > > that > > > > > > > > > >> > > prints a message before checking for a dependent lib > > > > > > > > > >> > > so that if it crashed a meaningful guess can be made > > as to > > > > > > > > > >> > > where to look for a fix. > > > > > > > > > >> > > > > > > > > > > >> > There I don't understand : gambas3 is the IDE, it is a > > GUI > > > > > > program. > > > > > > > > If > > > > > > > > > >> > you have missing libs, gambas3 is not compiled. And if > > it > > > > is, > > > > > > you > > > > > > > > will > > > > > > > > > >> > have error messages on the command line when running it. > > > > > > > > > >> > > > > > > > > > >> Strange - no error messages at all. > > > > > > > > > >> When I run gambas2 from command line, nothing happens as > > in > > > > the > > > > > > > > command > > > > > > > > > >> line is completely frozen probably in an infinite loop and > > > > unable > > > > > > to > > > > > > > > > >> show an IDE or output an error message. So it would be > > good if > > > > > > > > > >> for example gambas started with a message like > > "initialising" > > > > when > > > > > > > > > >> a parameter like -v for verbose is used > > > > > > > > > >> so that at least we know that part has worked. > > > > > > > > > >> (Emitting even more detailed message such as which buttons > > > > were > > > > > > > > > >> pressed with a parameter "-v2 level" where level is a > > number > > > > is > > > > > > > > another > > > > > > > > > >> desirable option. Increasing level of reporting can > > quickly > > > > find > > > > > > more > > > > > > > > > >> complex faults - such as infinite event loops. I know > > many of > > > > > > these > > > > > > > > > >> messages are reported to IDE, but there should be an > > option to > > > > > > get it > > > > > > > > > >> reported to the console - that is the Linux/Unix way - the > > > > > > console and > > > > > > > > > >> command line is king - even for a GUI IDE. Driving the IDE > > > > should > > > > > > also > > > > > > > > > >> be command line driven. e.g. options to compile gambas > > > > programs > > > > > > should > > > > > > > > > >> be available as standard from command line options for > > example > > > > > > without > > > > > > > > > >> need for IDE to kick into life.) > > > > > > > > > >> > > > > > > > > > >> I had a Genesi smartbook that did the same freeze thing on > > > > their > > > > > > > > Ubuntu > > > > > > > > > >> distro. At the time I didn't need to go forward with it, > > so I > > > > > > dropped > > > > > > > > > >> investigating. The MK802 however I must get going because > > the > > > > plan > > > > > > > > > >> for now is to use OpenBox as the window manager and > > Gambas as > > > > the > > > > > > main > > > > > > > > > >> application. > > > > > > > > > >> > > > > > > > > > >> No doubt I will be trying to compile gambas3 soon for > > MK802 > > > > > > > > > >> and sort it somehow. In the mean time I thought I make the > > > > > > suggestion > > > > > > > > > >> for improved command line options - noting that gambas > > does > > > > not > > > > > > appear > > > > > > > > > >> to have many options. > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > If you try to > > > > > > > > > >> > open a project which need components that are not > > install, > > > > you > > > > > > will > > > > > > > > have > > > > > > > > > >> > errors message boxes. > > > > > > > > > >> > > > > > > > > > > >> > So maybe you should try to give more details on how you > > > > > > installed > > > > > > > > gambas > > > > > > > > > >> > on your system, and more details on your system > > > > > > > > > >> > > > > > > > > > >> Gambas2 downloaded from the default repository of Lubuntu > > > > 12.04 > > > > > > > > > >> that came with the distro, by using synaptic. > > > > > > > > > >> That would point the finger at the maintainers there but > > as > > > > its > > > > > > old > > > > > > > > > >> its not worth pursuing. I'll probably try to compile > > gambas3. > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > (no idea what a MK802 > > > > > > > > > >> > is...). ARM systems are quite different. > > > > > > > > > >> > > > > > > > > > >> It is the rage in ARMs at the moment - full ARM computer > > on a > > > > USB > > > > > > > > stick: > > > > > > > > > >> > > https://www.miniand.com/products/MK802%20Android%20Mini%20PC > > > > > > > > > >> (around $50 on ebay) > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > > >> > Regards, > > > > > > > > > >> > > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > >> Live Security Virtual Conference > > > > > > > > > >> Exclusive live event will cover all the ways today's > > security > > > > and > > > > > > > > > >> threat landscape has changed and how IT managers can > > respond. > > > > > > > > Discussions > > > > > > > > > >> will include endpoint security, mobile security and the > > > > latest in > > > > > > > > malware > > > > > > > > > >> threats. > > > > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > > >> _______________________________________________ > > > > > > > > > >> Gambas-user mailing list > > > > > > > > > >> Gambas-user at lists.sourceforge.net > > > > > > > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > > Live Security Virtual Conference > > > > > > > > > Exclusive live event will cover all the ways today's > > security and > > > > > > > > > threat landscape has changed and how IT managers can respond. > > > > > > Discussions > > > > > > > > > will include endpoint security, mobile security and the > > latest in > > > > > > malware > > > > > > > > > threats. > > > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > > > > > > _______________________________________________ > > > > > > > > > Gambas-user mailing list > > > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > Everyone hates slow websites. So do we. > > > > > > > > Make your web apps faster with AppDynamics > > > > > > > > Download AppDynamics Lite for free today: > > > > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > > > > _______________________________________________ > > > > > > > > Gambas-user mailing list > > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > Everyone hates slow websites. So do we. > > > > > > > Make your web apps faster with AppDynamics > > > > > > > Download AppDynamics Lite for free today: > > > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > > > _______________________________________________ > > > > > > > Gambas-user mailing list > > > > > > > Gambas-user at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > Everyone hates slow websites. So do we. > > > > > > Make your web apps faster with AppDynamics > > > > > > Download AppDynamics Lite for free today: > > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > > _______________________________________________ > > > > > > Gambas-user mailing list > > > > > > Gambas-user at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Everyone hates slow websites. So do we. > > > > > Make your web apps faster with AppDynamics > > > > > Download AppDynamics Lite for free today: > > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Everyone hates slow websites. So do we. > > > > Make your web apps faster with AppDynamics > > > > Download AppDynamics Lite for free today: > > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > > Everyone hates slow websites. So do we. > > > Make your web apps faster with AppDynamics > > > Download AppDynamics Lite for free today: > > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Got visibility? > > Most devs has no idea what their production app looks like. > > Find out how fast your code is with AppDynamics Lite. > > http://ad.doubleclick.net/clk;262219671;13503038;y? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Fri Sep 21 22:12:31 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Sep 2012 23:12:31 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348255665.6872.6.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> <1348213241.2180.0.camel@...2672...> <1348255665.6872.6.camel@...2672...> Message-ID: > Thats why I was originally posting to ask if more could be > done for the command line options to output more verbose > messages for the rainy day when things go wrong > so that we may debug in silence. > I don't know what kind of messages you expect to get... We already got this "ERROR: #49: Not a directory: /usr/bin/gambas2/.project". So I tried to recompile gambas2 (since there was error in it), and it turns out that libqt (version 3) is missing... damn. I installed libqt3-mt and it's dev, recompiled gbx2, gbc2 and recompiled gambas2. Now everything works. So I expect you have same problem. I personally use only Gambas 3 these days... Jussi From jussi.lahtinen at ...626... Fri Sep 21 22:23:07 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 21 Sep 2012 23:23:07 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> <1348213241.2180.0.camel@...2672...> <1348255665.6872.6.camel@...2672...> Message-ID: So, gambas2 is not packed correctly in Ubuntu repository. But in fact with my system launching gambas2 gives error message of missing qt library (when I uninstall the libs)... so I think there is yet something else wrong with your system. But check that anyway. Jussi On Fri, Sep 21, 2012 at 11:12 PM, Jussi Lahtinen wrote: > > Thats why I was originally posting to ask if more could be >> done for the command line options to output more verbose >> messages for the rainy day when things go wrong >> so that we may debug in silence. >> > > I don't know what kind of messages you expect to get... > We already got this "ERROR: #49: Not a directory: > /usr/bin/gambas2/.project". > So I tried to recompile gambas2 (since there was error in it), and it > turns out that libqt (version 3) is missing... damn. > I installed libqt3-mt and it's dev, recompiled gbx2, gbc2 and recompiled > gambas2. > Now everything works. So I expect you have same problem. > > I personally use only Gambas 3 these days... > > Jussi > > From joem at ...2671... Sat Sep 22 00:18:47 2012 From: joem at ...2671... (jm) Date: Fri, 21 Sep 2012 23:18:47 +0100 Subject: [Gambas-user] Gambas error messages In-Reply-To: References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> <1348213241.2180.0.camel@...2672...> <1348255665.6872.6.camel@...2672...> Message-ID: <1348265927.7287.11.camel@...2672...> So when I typed gambas2 and it didn't work, I typed gambas2 --help. Naturally that won't work because it a sym link. But nearly all other Linux commands do something when you type --help. e.g firefox --help konqueror --help ssh --help ls --help Anyway I then tried gbr2 --help after realizing what was happening. That also does not work because gambas doesn't have any normal Linux command line friendly options. As gambas gets ported to more and more ARM and future distros, there will be more and more problems like this. If gambas had --help, and also something like a -v n for verbosity level n in command line, then it will be easier to debug in environments where the IDE has not started up yet. If the verbose messages are cleverly worded in unique ways, then when they get pasted into forums, they start seeding google with messages that can be searched for and the fixes become more easy to find. And duplication of effort will also reduce. On Fri, 2012-09-21 at 23:23 +0300, Jussi Lahtinen wrote: > So, gambas2 is not packed correctly in Ubuntu repository. > But in fact with my system launching gambas2 gives error message of missing > qt library (when I uninstall the libs)... so I think there is yet something > else wrong with your system. > > But check that anyway. > > Jussi > > > > On Fri, Sep 21, 2012 at 11:12 PM, Jussi Lahtinen > wrote: > > > > > Thats why I was originally posting to ask if more could be > >> done for the command line options to output more verbose > >> messages for the rainy day when things go wrong > >> so that we may debug in silence. > >> > > > > I don't know what kind of messages you expect to get... > > We already got this "ERROR: #49: Not a directory: > > /usr/bin/gambas2/.project". > > So I tried to recompile gambas2 (since there was error in it), and it > > turns out that libqt (version 3) is missing... damn. > > I installed libqt3-mt and it's dev, recompiled gbx2, gbc2 and recompiled > > gambas2. > > Now everything works. So I expect you have same problem. > > > > I personally use only Gambas 3 these days... > > > > Jussi > > > > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Sat Sep 22 00:44:34 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Sep 2012 01:44:34 +0300 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348265927.7287.11.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> <1348213241.2180.0.camel@...2672...> <1348255665.6872.6.camel@...2672...> <1348265927.7287.11.camel@...2672...> Message-ID: Did you try to install libqt3-mt? e.g > firefox --help > konqueror --help > ssh --help > ls --help > > Anyway I then tried gbr2 --help after realizing what was > happening. > True, thought --help works with gbx2, gbc2, gbs2, gbs3, gbx3, gbr3 and gbc3, which are command line programs. > That also does not work because gambas > doesn't have any normal Linux command line > friendly options. > Gambas compiler (gbc) do have verbose option, among many others. Interpreter doesn't have it, but I have used Gambas about five years without never running into situation where I wouldn't have error message (at least) to terminal, if something went wrong. And with this case, I suspect that there is something wrong in your system that prevents error messages to be printed from Gambas. If the verbose messages are cleverly worded in unique ways, then > when they get pasted into forums, they start > seeding google with messages that can be searched for > and the fixes become more easy to find. And duplication of effort > will also reduce. > Normally when Gambas program runs into error it will display error message. See attached example. It tells what kind of error and where it happened. How this could be any better? Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: error.png Type: image/png Size: 14202 bytes Desc: not available URL: From gambas at ...1... Sat Sep 22 00:53:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Sep 2012 00:53:58 +0200 Subject: [Gambas-user] Gambas error messages In-Reply-To: <1348265927.7287.11.camel@...2672...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> <1348213241.2180.0.camel@...2672...> <1348255665.6872.6.camel@...2672...> <1348265927.7287.11.camel@...2672...> Message-ID: <505CF006.6040808@...1...> Le 22/09/2012 00:18, jm a ?crit : > So when I typed gambas2 and it didn't work, > I typed gambas2 --help. > > Naturally that won't work because it a sym link. > > But nearly all other Linux commands do something > when you type --help. > > e.g > firefox --help > konqueror --help > ssh --help > ls --help > > Anyway I then tried gbr2 --help after realizing what was > happening. > > That also does not work because gambas > doesn't have any normal Linux command line > friendly options. > > As gambas gets ported to more and more ARM and future > distros, there will be more and more problems like this. > > If gambas had --help, and also something like a -v n > for verbosity level n in command line, then it will > be easier to debug in environments where the IDE > has not started up yet. > If the verbose messages are cleverly worded in unique ways, then > when they get pasted into forums, they start > seeding google with messages that can be searched for > and the fixes become more easy to find. And duplication of effort > will also reduce. > gambas2 or gambas3 programs has no options and take just one argument, the project to open. So having an "--help" option will not be print something really useful. But I can admit that point, and could make an "--help" option. Anyway, why do you think that if gambas2 or gambas3 has an "--help" option, it will be easier for me to fix the bugs on a specific architecture? A "-v" verbosity option will not be useful too. It exists already actually, it is the debugger. And last question: why don't you do what is explained on the "Reporting a problem" page of the website as I told you in a previous mail? Which is what is useful to help fixing bugs. I won't fix Gambas 2 for ARM, but will for Gambas 3. It already works on two ARM architectures, so it should not be a big deal to make it work or a third one, a fourth one, until ARM becomes more "standardized"... provided that you give me the needed information! Regards, -- Beno?t Minisini From gambas at ...1... Sat Sep 22 01:35:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Sep 2012 01:35:31 +0200 Subject: [Gambas-user] Gambas error messages In-Reply-To: <505CF006.6040808@...1...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> <1348213241.2180.0.camel@...2672...> <1348255665.6872.6.camel@...2672...> <1348265927.7287.11.camel@...2672...> <505CF006.6040808@...1...> Message-ID: <505CF9C3.3070504@...1...> Le 22/09/2012 00:53, Beno?t Minisini a ?crit : >> >> If gambas had --help, and also something like a -v n >> for verbosity level n in command line, then it will >> be easier to debug in environments where the IDE >> has not started up yet. >> If the verbose messages are cleverly worded in unique ways, then >> when they get pasted into forums, they start >> seeding google with messages that can be searched for >> and the fixes become more easy to find. And duplication of effort >> will also reduce. >> > > gambas2 or gambas3 programs has no options and take just one argument, > the project to open. So having an "--help" option will not be print > something really useful. But I can admit that point, and could make an > "--help" option. > I have added '-h', '-v' and '-L' command-line options to the IDE in revision #5186. It Won't change a lot of thing... -- Beno?t Minisini From karl.reinl at ...9... Sat Sep 22 01:41:53 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 22 Sep 2012 01:41:53 +0200 Subject: [Gambas-user] KeyPress on Form, raise 2 times Message-ID: <1348270913.32534.8.camel@...40...> Salut, start the attached project, press F1, a short help (Message.info) should open. Close with OK. Message comes up a second time. [System] OperatingSystem=Linux Kernel=3.0.0-26-generic Architecture=i686 Memory=3098200 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome [Gambas 1] Version=gbx-1.0.17 Path=/usr/bin/gbx [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.3.0 Revision 5185. Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: PDF-File printer-0.0.5.tar.gz Type: application/x-compressed-tar Size: 14474 bytes Desc: not available URL: From gambas at ...1... Sat Sep 22 03:40:07 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Sep 2012 03:40:07 +0200 Subject: [Gambas-user] KeyPress on Form, raise 2 times In-Reply-To: <1348270913.32534.8.camel@...40...> References: <1348270913.32534.8.camel@...40...> Message-ID: <505D16F7.30307@...1...> Le 22/09/2012 01:41, Karl Reinl a ?crit : > Salut, > > start the attached project, press F1, a short help (Message.info) should > open. Close with OK. > > Message comes up a second time. > The bug should be fixed in revision #5188. Regards, -- Beno?t Minisini From wally at ...2037... Sat Sep 22 07:58:25 2012 From: wally at ...2037... (wally) Date: Sat, 22 Sep 2012 07:58:25 +0200 Subject: [Gambas-user] run project as root Message-ID: <2323110.TNSyva5yvP@...46...> Hello, (how) can i run a project as root from within gambas3 IDE running as user ? thx wally From abbat.81 at ...787... Sat Sep 22 11:24:10 2012 From: abbat.81 at ...787... (abbat) Date: Sat, 22 Sep 2012 02:24:10 -0700 (PDT) Subject: [Gambas-user] Accept Button on form Message-ID: <34465687.post@...1379...> Hello, I have: Form Textbox1 Button1 I need accept event. After edition of textbox1 to push button1 by Enter button on keyboard. Can I make such an event? Thanks -- View this message in context: http://old.nabble.com/Accept-Button-on-form-tp34465687p34465687.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Sat Sep 22 12:59:55 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Sep 2012 13:59:55 +0300 Subject: [Gambas-user] run project as root In-Reply-To: <2323110.TNSyva5yvP@...46...> References: <2323110.TNSyva5yvP@...46...> Message-ID: I think this would require new option to IDE. But you can make your project to use graphical sudo, and ask password independently of IDE. Jussi On Sat, Sep 22, 2012 at 8:58 AM, wally wrote: > Hello, > > (how) can i run a project as root from within gambas3 IDE running as user ? > > thx wally > > > > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From johny.provoost at ...27... Sat Sep 22 13:02:10 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Sat, 22 Sep 2012 13:02:10 +0200 Subject: [Gambas-user] Accept Button on form In-Reply-To: <34465687.post@...1379...> References: <34465687.post@...1379...> Message-ID: <505D9AB2.5020902@...27...> Op 22-09-12 11:24, abbat schreef: > Hello, > > I have: > > Form > Textbox1 > Button1 > > I need accept event. > After edition of textbox1 to push button1 by Enter button on keyboard. > > Can I make such an event? > > Thanks In the 'Keypress' event from the textbox you can put / If Key.Code = Key.Enter Or Key.Code = Key.Return Then// // Yourbutton.Value = 1// // Endif/ Success, Johny Provoost From wally at ...2037... Sat Sep 22 13:13:31 2012 From: wally at ...2037... (wally) Date: Sat, 22 Sep 2012 13:13:31 +0200 Subject: [Gambas-user] run project as root Message-ID: <1656968.IKED4jfxDh@...46...> Jussi, but this is not very convnient during development wally From taboege at ...626... Sat Sep 22 13:29:56 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 22 Sep 2012 13:29:56 +0200 Subject: [Gambas-user] Accept Button on form In-Reply-To: <505D9AB2.5020902@...27...> References: <34465687.post@...1379...> <505D9AB2.5020902@...27...> Message-ID: <20120922112956.GA508@...2774...> On Sat, 22 Sep 2012, Johny Provoost wrote: > > Op 22-09-12 11:24, abbat schreef: > > Hello, > > > > I have: > > > > Form > > Textbox1 > > Button1 > > > > I need accept event. > > After edition of textbox1 to push button1 by Enter button on keyboard. > > > > Can I make such an event? > > > > Thanks > > In the 'Keypress' event from the textbox you can put > > / If Key.Code = Key.Enter Or Key.Code = Key.Return Then// > // Yourbutton.Value = 1// > // Endif/ > > > Success, > > Johny Provoost We have the TextBox_Activate() event for this purpose. Regards, Tobi From jussi.lahtinen at ...626... Sat Sep 22 14:20:42 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Sep 2012 15:20:42 +0300 Subject: [Gambas-user] run project as root In-Reply-To: <1656968.IKED4jfxDh@...46...> References: <1656968.IKED4jfxDh@...46...> Message-ID: You mean your program is intended to run always as root? Maybe you then need new feature to IDE... or setup virtual machine and there start IDE as root. Jussi On Sat, Sep 22, 2012 at 2:13 PM, wally wrote: > Jussi, > > but this is not very convnient during development > > wally > > > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Sat Sep 22 14:26:43 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Sep 2012 15:26:43 +0300 Subject: [Gambas-user] run project as root In-Reply-To: References: <1656968.IKED4jfxDh@...46...> Message-ID: Thinking this bit more... I think it would be very difficult to safely enable IDE to run projects as root! So, use virtual machine, there you can mess all you want without problems (as long as you back up sources outside of the virtual machine). Jussi On Sat, Sep 22, 2012 at 3:20 PM, Jussi Lahtinen wrote: > You mean your program is intended to run always as root? > Maybe you then need new feature to IDE... or setup virtual machine and > there start IDE as root. > > Jussi > > > > > > On Sat, Sep 22, 2012 at 2:13 PM, wally wrote: > >> Jussi, >> >> but this is not very convnient during development >> >> wally >> >> >> >> ------------------------------------------------------------------------------ >> How fast is your code? >> 3 out of 4 devs don\\\'t know how their code performs in production. >> Find out how slow your code is with AppDynamics Lite. >> http://ad.doubleclick.net/clk;262219672;13503038;z? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Sat Sep 22 14:32:18 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Sep 2012 14:32:18 +0200 Subject: [Gambas-user] run project as root In-Reply-To: References: <1656968.IKED4jfxDh@...46...> Message-ID: <505DAFD2.2090904@...1...> Le 22/09/2012 14:26, Jussi Lahtinen a ?crit : > Thinking this bit more... I think it would be very difficult to safely > enable IDE to run projects as root! > So, use virtual machine, there you can mess all you want without problems > (as long as you back up sources outside of the virtual machine). > > Jussi > The Desktop.RunAsRoot() method may help the IDE to do that? -- Beno?t Minisini From gambas at ...1... Sat Sep 22 14:35:38 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Sep 2012 14:35:38 +0200 Subject: [Gambas-user] run project as root In-Reply-To: <505DAFD2.2090904@...1...> References: <1656968.IKED4jfxDh@...46...> <505DAFD2.2090904@...1...> Message-ID: <505DB09A.6060603@...1...> Le 22/09/2012 14:32, Beno?t Minisini a ?crit : > Le 22/09/2012 14:26, Jussi Lahtinen a ?crit : >> Thinking this bit more... I think it would be very difficult to safely >> enable IDE to run projects as root! >> So, use virtual machine, there you can mess all you want without problems >> (as long as you back up sources outside of the virtual machine). >> >> Jussi >> > > The Desktop.RunAsRoot() method may help the IDE to do that? > Mmm... No. By looking at the xdg-utils source code, I don't think that Desktop.RunAsRoot() does anything useful. It should be removed or rewritten differently... -- Beno?t Minisini From gambas at ...1... Sat Sep 22 14:38:45 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 22 Sep 2012 14:38:45 +0200 Subject: [Gambas-user] Faults on new Project name In-Reply-To: <1348239071.2771.19.camel@...2811...> References: <1348239071.2771.19.camel@...2811...> Message-ID: <505DB155.3040906@...1...> Le 21/09/2012 16:51, John Rose a ?crit : > I've taken an existing project and done Save As with a new project name. > I've then amended this new project including setting the Project > Properties' Title & Description. I've added a new icon for the app into > the project's Data section (of the IDE) by right clicking Data etc. > However, when I Make Installation Package (of the new project) for > Ubuntu and install the resultant .deb, the icon in /usr/share/pixmaps > still displays as the old project's image even though its name is > newprojectname.png as per the name in the Data section. Why does the > icon's image not change on installation even though I changed it? > > Also, the entry in the Main Menu (for launching the new app) is not > generated by .gdebi. Why is this? I tried to keep the same parameters > when doing the Make as per the old project: Groups - database for the > Package Groups window, though there was no entry for the Other group (in > Applications) for the Menu Entry window so I selected Programming. Why > do entries listed in the Menu Entry window not match those in Ubuntu's > Main Menu Applications? > Can you send me the old project and the new one so that I can check and compare? -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Sep 22 15:13:21 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Sep 2012 16:13:21 +0300 Subject: [Gambas-user] run project as root In-Reply-To: <505DB09A.6060603@...1...> References: <1656968.IKED4jfxDh@...46...> <505DAFD2.2090904@...1...> <505DB09A.6060603@...1...> Message-ID: > Mmm... No. By looking at the xdg-utils source code, I don't think that > Desktop.RunAsRoot() does anything useful. It should be removed or > rewritten differently... > RunAsRoot() method runs command as root, not the whole program, as I understand was the goal. It still have problems? What do you mean exactly? Jussi From karl.reinl at ...9... Sat Sep 22 22:49:07 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 22 Sep 2012 22:49:07 +0200 Subject: [Gambas-user] gambas3 rev #5188. Scrollview behavier Message-ID: <1348346947.2310.28.camel@...40...> Salut Beno?t, a HPanel should take the ClientSize of a ScrollView at Form_Resize. That worked in the past. Please play with the attached project, to see what becomes ClientWidth and ClientHeight . -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TEST-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5661 bytes Desc: not available URL: From keithclark at ...2185... Sun Sep 23 00:03:29 2012 From: keithclark at ...2185... (Keith Clark) Date: Sat, 22 Sep 2012 18:03:29 -0400 Subject: [Gambas-user] Modify a control in another form Message-ID: <505E35B1.80206@...2185...> How do I modify settings of a control on another form? Let's say that I want to be able to control the number of rows and columns of a grid view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. Would it not be fGameGrid.gvSampleGrid.rows.count=10? I am working with the book A beginner's Guide to Gambas but find it confusing on the basics. Thanks. From rterry at ...1823... Sun Sep 23 00:23:09 2012 From: rterry at ...1823... (richard) Date: Sun, 23 Sep 2012 08:23:09 +1000 Subject: [Gambas-user] Modify a control in another form In-Reply-To: <505E35B1.80206@...2185...> References: <505E35B1.80206@...2185...> Message-ID: <505E3A4D.5060209@...1823...> On 23/09/12 08:03, Keith Clark wrote: > How do I modify settings of a control on another form? Let's say that I > want to be able to control the number of rows and columns of a grid > view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. > > Would it not be fGameGrid.gvSampleGrid.rows.count=10? > > I am working with the book A beginner's Guide to Gambas but find it > confusing on the basics. > > Thanks. > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user If you have set your projects options to make your controls public you can address any control on anther form with the correct syntax What error message to you get when you run your code? richard From keithclark at ...2185... Sun Sep 23 00:31:16 2012 From: keithclark at ...2185... (Keith Clark) Date: Sat, 22 Sep 2012 18:31:16 -0400 Subject: [Gambas-user] Modify a control in another form In-Reply-To: <505E3A4D.5060209@...1823...> References: <505E35B1.80206@...2185...> <505E3A4D.5060209@...1823...> Message-ID: <505E3C34.1050406@...2185...> On 12-09-22 06:23 PM, richard wrote: > On 23/09/12 08:03, Keith Clark wrote: >> How do I modify settings of a control on another form? Let's say that I >> want to be able to control the number of rows and columns of a grid >> view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. >> >> Would it not be fGameGrid.gvSampleGrid.rows.count=10? >> >> I am working with the book A beginner's Guide to Gambas but find it >> confusing on the basics. >> >> Thanks. >> If you have set your projects options to make your controls public you >> can address any control on anther form with the correct syntax >> >> What error message to you get when you run your code? >> >> richard >> >> That is exactly what I didn't do! Set the controls to public. Done now and it works fine. Thanks! Keith From rterry at ...1823... Sun Sep 23 00:44:29 2012 From: rterry at ...1823... (richard) Date: Sun, 23 Sep 2012 08:44:29 +1000 Subject: [Gambas-user] Modify a control in another form In-Reply-To: <505E3C34.1050406@...2185...> References: <505E35B1.80206@...2185...> <505E3A4D.5060209@...1823...> <505E3C34.1050406@...2185...> Message-ID: <505E3F4D.9040307@...1823...> On 23/09/12 08:31, Keith Clark wrote: > On 12-09-22 06:23 PM, richard wrote: >> On 23/09/12 08:03, Keith Clark wrote: >>> How do I modify settings of a control on another form? Let's say that I >>> want to be able to control the number of rows and columns of a grid >>> view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. >>> >>> Would it not be fGameGrid.gvSampleGrid.rows.count=10? >>> >>> I am working with the book A beginner's Guide to Gambas but find it >>> confusing on the basics. >>> >>> Thanks. >>> If you have set your projects options to make your controls public you >>> can address any control on anther form with the correct syntax >>> >>> What error message to you get when you run your code? >>> >>> richard >>> >>> > That is exactly what I didn't do! Set the controls to public. Done now > and it works fine. Thanks! > > Keith > > Also remember you can pass anything from form to form even forms, or pass forms to code modules. Also you can declare a form For example if you used alot of say columnviews all over a large project and did the same sort of thing to the columnview in all the forms, simple example, allow the user to change the font of a columnview and save it to a settings file via a pop-up menu over the columnview, you could have a general module in your project, and pass the columnview to that module, do whatever on it you wanted. Then you have a single few lines of code you re-use in dozens and dozens of situations. e.g I have a module I call modUtil and puts lots of stuff in it which is used all over the place Public Sub Columnview_SetFont(cvw As Columnview, Settings_Section As String) '---------------------------------------------------------------------------------------------------------------- 'Attempts to change the font of a columnview and save to settings '--------------------------------------------------------------------------------------------------------------- Dialog.font = cvw.font If Dialog.SelectFont() Then Return cvw.font = Dialog.Font Settings[Settings_Section & "/" & cvw.name & ".font"] = cvw.Font.ToString() End From rterry at ...1823... Sun Sep 23 01:03:20 2012 From: rterry at ...1823... (richard) Date: Sun, 23 Sep 2012 09:03:20 +1000 Subject: [Gambas-user] Modify a control in another form In-Reply-To: <505E3F4D.9040307@...1823...> References: <505E35B1.80206@...2185...> <505E3A4D.5060209@...1823...> <505E3C34.1050406@...2185...> <505E3F4D.9040307@...1823...> Message-ID: <505E43B8.5000807@...1823...> On 23/09/12 08:44, richard wrote: > On 23/09/12 08:31, Keith Clark wrote: >> On 12-09-22 06:23 PM, richard wrote: >>> On 23/09/12 08:03, Keith Clark wrote: >>>> How do I modify settings of a control on another form? Let's say that I >>>> want to be able to control the number of rows and columns of a grid >>>> view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. >>>> >>>> Would it not be fGameGrid.gvSampleGrid.rows.count=10? >>>> >>>> I am working with the book A beginner's Guide to Gambas but find it >>>> confusing on the basics. >>>> >>>> Thanks. >>>> If you have set your projects options to make your controls public you >>>> can address any control on anther form with the correct syntax >>>> >>>> What error message to you get when you run your code? >>>> >>>> richard >>>> >>>> >> That is exactly what I didn't do! Set the controls to public. Done now >> and it works fine. Thanks! >> >> Keith >> >> > Also remember you can pass anything from form to form even forms, or > pass forms to code modules. Also you can declare a form > > For example if you used alot of say columnviews all over a large > project and did the same sort of thing to the columnview in all the > forms, simple example, allow the user to change the font of a columnview > and save it to a settings file via a pop-up menu over the columnview, > you could have a general module in your project, and pass the columnview > to that module, do whatever on it you wanted. Then you have a single few > lines of code you re-use in dozens and dozens of situations. > > e.g I have a module I call modUtil and puts lots of stuff in it which is > used all over the place > > Public Sub Columnview_SetFont(cvw As Columnview, Settings_Section As String) > '---------------------------------------------------------------------------------------------------------------- > 'Attempts to change the font of a columnview and save to settings > '--------------------------------------------------------------------------------------------------------------- > > Dialog.font = cvw.font > If Dialog.SelectFont() Then Return > cvw.font = Dialog.Font > Settings[Settings_Section & "/" & cvw.name & ".font"] = > cvw.Font.ToString() > > End > > > As an addendum you will have to in this case load your previously saved font value from your settings file. I always have a Private sub Settings_Load() in each form and a Public Sub Settings_Save() e.g Private sub Settings_Load() Try cvwItemsBilled.Font = Font[Settings["Billing_RecordVisit/cvwItemsBilled.font"]] end sub Note the Settings_Save is Public, as then, if I have multiple sub-forms on another form which is closed, the the 'Parent' form can call all the Settings_Save subroutines in all its embedded forms when it closes. Regards richard From abbat.81 at ...787... Sun Sep 23 09:39:14 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 23 Sep 2012 00:39:14 -0700 (PDT) Subject: [Gambas-user] MySQL, $Query = "SELECT CURTIME()" Message-ID: <34468167.post@...1379...> Hi, I cant get how to get current time. In tutorial is clear example to get var from Query using name of Query: $Phone = $Result!Phone But how to get Result if my Query is $Query = "SELECT CURTIME()" And, how to trasform that result to date format Thanks . -- View this message in context: http://old.nabble.com/MySQL%2C-%24Query-%3D-%22SELECT-CURTIME%28%29%22-tp34468167p34468167.html Sent from the gambas-user mailing list archive at Nabble.com. From wally at ...2037... Sun Sep 23 10:10:55 2012 From: wally at ...2037... (wally) Date: Sun, 23 Sep 2012 10:10:55 +0200 Subject: [Gambas-user] run project as root Message-ID: <1753605.eQibINeFgD@...46...> Hello Jussi, i 've seen in other postingsyou mentioned tests using "Desktop.RunAsRoot("whoami")" Can you provide a working example how to use Desktop.RunAsRoot, please ? (e.g. how to get the returned usersname) thx wally From abbat.81 at ...787... Sun Sep 23 10:15:35 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 23 Sep 2012 01:15:35 -0700 (PDT) Subject: [Gambas-user] MySQL, $Query = "SELECT CURTIME()" In-Reply-To: <34468167.post@...1379...> References: <34468167.post@...1379...> Message-ID: <34468226.post@...1379...> abbat wrote: > > Hi, > > I cant get how to get current time. > > In tutorial is clear example to get var from Query using name of Query: > > $Phone = $Result!Phone > > But how to get Result if my Query is > $Query = "SELECT CURTIME()" > > And, how to trasform that result to date format > > Thanks . > It was easy. Dim CurTime as Date $Query = "SELECT CURTIME()" CurTime = $Result!"CURTIME()" -- View this message in context: http://old.nabble.com/MySQL%2C-%24Query-%3D-%22SELECT-CURTIME%28%29%22-tp34468167p34468226.html Sent from the gambas-user mailing list archive at Nabble.com. From ea7dfh at ...2382... Sun Sep 23 10:13:56 2012 From: ea7dfh at ...2382... (Jesus) Date: Sun, 23 Sep 2012 10:13:56 +0200 Subject: [Gambas-user] MySQL, $Query = "SELECT CURTIME()" In-Reply-To: <34468167.post@...1379...> References: <34468167.post@...1379...> Message-ID: <505EC4C4.7090508@...2382...> El 23/09/12 09:39, abbat escribi?: > > Hi, > > I cant get how to get current time. > > In tutorial is clear example to get var from Query using name of Query: > > $Phone = $Result!Phone > > But how to get Result if my Query is > $Query = "SELECT CURTIME()" > > And, how to trasform that result to date format > > Thanks . > May be this helps, though I haven't tested it: $Query = "SELECT CURTIME() AS ctime" $mytime = $Result!ctime And for the formatting issue, you might look at the gambas wiki manual: http://www.gambasdoc.org/help/lang/format http://www.gambasdoc.org/help/cat/userformat Regards -- Jesus Guardon From vuott at ...325... Sun Sep 23 14:00:08 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 23 Sep 2012 13:00:08 +0100 (BST) Subject: [Gambas-user] run project as root In-Reply-To: <1753605.eQibINeFgD@...46...> Message-ID: <1348401608.88035.YahooMailClassic@...2748...> > Can you provide a working example how to use Desktop.RunAsRoot("cat /dev/ttyUSB1") ...but Ihad a problem: I tried function Desktop.RunAsRoot(), but I heve got this notice: /tmp/gambas.1000/3328/xdg-utils/xdg-su: 361: /tmp/gambas.1000/3328/xdg-utils/xdg-su: xterm: not found So, I changed this line: xterm -geom 60x5 -T "xdg-su: $cmd" -e su -c "$cmd" "$user" in "su_generic()" routine of the script: /tmp/gambas.1000/3328/xdg-utils/xdg-su with this new line: /usr/bin/x-terminal-emulator -e su -c "$cmd" "$user" and so it worked. But it's possible to use this simple command line in code Gambas: Shell "/usr/bin/x-terminal-emulator -e su -c \"here_the_entire_command\" \"$user\"" it substitutes Desktop.RunAsRoot() function. regards Vuott --- Dom 23/9/12, wally ha scritto: > Da: wally > Oggetto: Re: [Gambas-user] run project as root > A: Gambas-user at lists.sourceforge.net > Data: Domenica 23 settembre 2012, 10:10 > Hello Jussi, > > i 've seen in other postingsyou mentioned tests using? > > "Desktop.RunAsRoot("whoami")" > Can you provide a working example how to use > Desktop.RunAsRoot, please ? > (e.g. how to get the returned usersname) > ? > thx wally > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sun Sep 23 14:41:44 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 23 Sep 2012 13:41:44 +0100 (BST) Subject: [Gambas-user] run project as root - BIS In-Reply-To: <1348401608.88035.YahooMailClassic@...2748...> Message-ID: <1348404104.34609.YahooMailClassic@...2789...> > > ...but Ihad a problem: > I tried function Desktop.RunAsRoot(), but I heve got this > notice: > > /tmp/gambas.1000/3328/xdg-utils/xdg-su: 361: > /tmp/gambas.1000/3328/xdg-utils/xdg-su: xterm: not found > Opssssss, I didn't have "xterm" program installed in my system ! :-D Now I installed it and it's ok ! regards vuott From jussi.lahtinen at ...626... Sun Sep 23 14:59:10 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Sep 2012 15:59:10 +0300 Subject: [Gambas-user] run project as root In-Reply-To: <1753605.eQibINeFgD@...46...> References: <1753605.eQibINeFgD@...46...> Message-ID: Oh, yes, that was the reason I haven't use it! It doesn't have method to return value. So far I have used gksudo with shell command, but generally working solution is needed. Jussi On Sun, Sep 23, 2012 at 11:10 AM, wally wrote: > Hello Jussi, > > i 've seen in other postingsyou mentioned tests using > "Desktop.RunAsRoot("whoami")" > Can you provide a working example how to use Desktop.RunAsRoot, please ? > (e.g. how to get the returned usersname) > > thx wally > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sun Sep 23 16:33:32 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 23 Sep 2012 15:33:32 +0100 (BST) Subject: [Gambas-user] run project as root In-Reply-To: Message-ID: <1348410812.54575.YahooMailClassic@...2758...> > > i 've seen in other postingsyou mentioned tests using > > "Desktop.RunAsRoot("whoami")" > > Can you provide a working example how to use > Desktop.RunAsRoot, please ? > > (e.g. how to get the returned usersname) Hello Wally, you could use a supporting file, and then you could read in it... I'll use my precedent example: ************************************* Private fl As File Public Sub Form_Open() Desktop.RunAsRoot("cat /dev/ttyUSB1 > /tmp/a") fl = Open "/tmp/a" For Read Watch End Public Sub File_Read() Dim s As String s = File.Load("/tmp/a") TextEdit1.Text = s End ********************** :-) From gambas at ...1... Sun Sep 23 17:00:59 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 23 Sep 2012 17:00:59 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.3.0 package Message-ID: <505F242B.5080209@...1...> Hi, I have made the source package of Gambas 3.3.0 there: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.3.0.tar.bz2/download I invite you to test it and report me any problem before I make it officially public. Thanks in advance. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Sep 23 17:29:03 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Sep 2012 18:29:03 +0300 Subject: [Gambas-user] run project as root In-Reply-To: <1348410812.54575.YahooMailClassic@...2758...> References: <1348410812.54575.YahooMailClassic@...2758...> Message-ID: > Private fl As File > > > Public Sub Form_Open() > > Desktop.RunAsRoot("cat /dev/ttyUSB1 > /tmp/a") > > fl = Open "/tmp/a" For Read Watch > > End > > > Public Sub File_Read() > > Dim s As String > > s = File.Load("/tmp/a") > > TextEdit1.Text = s > > End > This is good idea, but instead of "/tmp/a", I would use Temp$(): Private fl As File Private sFile As String Public Sub Form_Open() sFile = Temp$() Desktop.RunAsRoot("cat /dev/ttyUSB1 > " & sFile) fl = Open sFile For Read Watch End Public Sub File_Read() Dim s As String s = File.Load(sFile) TextEdit1.Text = s End Jussi From richard.j.walker at ...247... Sun Sep 23 18:08:31 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 23 Sep 2012 17:08:31 +0100 Subject: [Gambas-user] Some questions about project Translation Message-ID: Greetings to all, I have been experimenting with the Translate option in the IDE. Just for fun, I took a current mini-project which is nearing completion and marked it up for translation. At only 116 strings it is not too daunting a task. To make it even easier I elected to start with a translation from English to American. In my first attempt I used the "This string must not be translated" option ("-") rather a lot. I noticed that there are actually many little strings which should not be translated whatever the target language might be. Typical of these are short strings like "flac" or "mp3" which find their way into the list, but may be regarded as invariant. I tried again using the "Copy untranslated string" option and used "-" for the aforementioned little strings and some other abbreviations and the program name. Then I noticed some repetitive phrases like "Click to enable [some feature or other]", and their "disable" counterparts. -=o0o=- So I was wondering, does it make sense to re-code a project so that strings, or string constants are used for repeated fragments of text? Might such an approach actually make it harder to translate "sentences" made of these fragments into some languages? As an alternative, does the translation mechanism used have any sort of dictionary of phrases? For example, in a form design I may set some text as a tool-tip. In the program I may alter the tool-tip and later restore its original text. That could give me two or more instances of the same text to translate. What is the "correct" way to use the "-" translation option? Is it preferable to find the occurrences of the short strings I identified and find a way to keep them from being listed for translation? I realise that the project is scanned and the "from" list is built for each translation episode so using "-" to mark strings to be preserved whatever the target language is a step which must be taken for each translation. Is there a need for a markup in the project to say "never translate" so that these strings are automatically given the "-" translation? And finally, in examining my code for translatable strings I realised that I had made extensive and vital use of text written by various shell commands and captured for analysis/action in various Process Read and Error handlers. That started me wondering how to handle this situation in another language where the text written by these processes would likely be very different from what I was expecting. Any ideas? I welcome any opinions from people who have made more extensive use of the Gambas IDE Project Translate option than I have. Richard From vuott at ...325... Sun Sep 23 18:17:25 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 23 Sep 2012 17:17:25 +0100 (BST) Subject: [Gambas-user] run project as root In-Reply-To: Message-ID: <1348417045.72514.YahooMailClassic@...2789...> > --- Dom 23/9/12, Jussi Lahtinen ha scritto: > > This is good idea, but instead of "/tmp/a", I would use > Temp$(): > > Private fl As File > Private sFile As String > > Public Sub Form_Open() > > sFile = Temp$() > Desktop.RunAsRoot("cat /dev/ttyUSB1 > " & sFile) > > fl = Open sFile For Read Watch > > End > > > Public Sub File_Read() > > Dim s As String > > ???s = File.Load(sFile) > > ???TextEdit1.Text = s > > End > > > Jussi > --------------------------------------------------------------------------- Well Jussi, the solution is simple, if we use CAT command, because we can re-direct data to a supporting file by: > but... if we can read data from a different command ? ...e.g: "whoami" I cannot "read from" Terminal window by Gambas function. I am able to write in it, but I can not read yet from a Terminal. :-( Do you have a solution ? Bye vuotttt From jussi.lahtinen at ...626... Sun Sep 23 18:29:32 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Sep 2012 19:29:32 +0300 Subject: [Gambas-user] run project as root In-Reply-To: <1348417045.72514.YahooMailClassic@...2789...> References: <1348417045.72514.YahooMailClassic@...2789...> Message-ID: I tried: sFile = Temp$() Desktop.RunAsRoot("whoami > " & sFile) Do Wait 0.1 Loop Until Exist(sFile) fl = Open sFile For Read Watch But I can only get: Try `whoami --help' for more information. Same command works in terminal: whoami > /tmp/gambas.1000/2413/6.tmp So, I'm not sure what is going on... I will look this closer later, when I have more time. Jussi On Sun, Sep 23, 2012 at 7:17 PM, Ru Vuott wrote: > > --- Dom 23/9/12, Jussi Lahtinen ha scritto: > > > > > This is good idea, but instead of "/tmp/a", I would use > > Temp$(): > > > > Private fl As File > > Private sFile As String > > > > Public Sub Form_Open() > > > > sFile = Temp$() > > Desktop.RunAsRoot("cat /dev/ttyUSB1 > " & sFile) > > > > fl = Open sFile For Read Watch > > > > End > > > > > > Public Sub File_Read() > > > > Dim s As String > > > > s = File.Load(sFile) > > > > TextEdit1.Text = s > > > > End > > > > > > Jussi > > > --------------------------------------------------------------------------- > > Well Jussi, > > the solution is simple, if we use CAT command, because we can re-direct > data to a supporting file by: > > > but... if we can read data from a different command ? ...e.g: "whoami" > I cannot "read from" Terminal window by Gambas function. > I am able to write in it, but I can not read yet from a Terminal. :-( > > Do you have a solution ? > > Bye > vuotttt > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sun Sep 23 18:59:54 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 23 Sep 2012 17:59:54 +0100 (BST) Subject: [Gambas-user] run project as root In-Reply-To: Message-ID: <1348419594.20081.YahooMailClassic@...2695...> > I tried: > > sFile = Temp$() > Desktop.RunAsRoot("whoami > " & sFile) > > Do > ???Wait 0.1 > Loop Until Exist(sFile) > > fl = Open sFile For Read Watch > I tried your code, and I obtain in TextEdit simply the word: root (But I should be getting: vuott) ---------- In the meantime, I have experienced the reading of another Terminal by all its file-descriptors: ****** .... Desktop.RunAsRoot("cat /proc/29895/fd/0 > " & sFile) fl = Open sFile For Read Watch .... ***************** but in my TextEdit I obtain what I write manually in the terminal, not resulting data of command. So, this solution should be discarded. bye From vuott at ...325... Sun Sep 23 19:05:58 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 23 Sep 2012 18:05:58 +0100 (BST) Subject: [Gambas-user] run project as root - BIS In-Reply-To: <1348419594.20081.YahooMailClassic@...2695...> Message-ID: <1348419958.6876.YahooMailClassic@...2789...> Hello Jussi, > > I tried your code, and I obtain in TextEdit simply the > word:? root > > (But I should be getting: vuott) > Oh, I understand that I obtain "root" because I launched that command as "root" by Desktop.RunAsRoot() Uhmm... ok. From sebikul at ...626... Sun Sep 23 19:31:50 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Sun, 23 Sep 2012 14:31:50 -0300 Subject: [Gambas-user] Some questions about project Translation In-Reply-To: References: Message-ID: On Sun, Sep 23, 2012 at 1:08 PM, RICHARD WALKER wrote: > Greetings to all, > > I have been experimenting with the Translate option in the IDE. Just > for fun, I took a current mini-project which is nearing completion and > marked it up for translation. At only 116 strings it is not too > daunting a task. To make it even easier I elected to start with a > translation from English to American. > > In my first attempt I used the "This string must not be translated" > option ("-") rather a lot. I noticed that there are actually many > little strings which should not be translated whatever the target > language might be. Typical of these are short strings like "flac" or > "mp3" which find their way into the list, but may be regarded as > invariant. > > I tried again using the "Copy untranslated string" option and used "-" > for the aforementioned little strings and some other abbreviations and > the program name. > > Then I noticed some repetitive phrases like "Click to enable [some > feature or other]", and their "disable" counterparts. > > -=o0o=- > > So I was wondering, does it make sense to re-code a project so that > strings, or string constants are used for repeated fragments of text? > Might such an approach actually make it harder to translate > "sentences" made of these fragments into some languages? Normally, you should avoid this. If you have string like: Are you sure you want to $action this? $action being move, delete, copy, etc. You should keep the repeated strings. Different languages have different syntactic order, having a generic string can be really hard to translate if there is a specific language that uses a different order for different possible $actions. > > As an alternative, does the translation mechanism used have any sort > of dictionary of phrases? For example, in a form design I may set some > text as a tool-tip. In the program I may alter the tool-tip and later > restore its original text. That could give me two or more instances of > the same text to translate. The translation template is regenerated each time the project is compiled. So if you later change a previously translated string, you would loose that translation. There is no "translation memory" at this time. > > What is the "correct" way to use the "-" translation option? Is it > preferable to find the occurrences of the short strings I identified > and find a way to keep them from being listed for translation? I > realise that the project is scanned and the "from" list is built for > each translation episode so using "-" to mark strings to be preserved > whatever the target language is a step which must be taken for each > translation. Is there a need for a markup in the project to say "never > translate" so that these strings are automatically given the "-" > translation? There is nothing bad about having 90% of your strings marked as non-translatable. Most of the time this happens because the text is embedded in the form code, and not inside a class or a module. There is, though, a property that some object share in the forms that prevent them from being added to the translation template, and thus are only printed verbatim. > > And finally, in examining my code for translatable strings I realised > that I had made extensive and vital use of text written by various > shell commands and captured for analysis/action in various Process > Read and Error handlers. That started me wondering how to handle this > situation in another language where the text written by these > processes would likely be very different from what I was expecting. > Any ideas? The best solution would be to force the use of the English language by setting the environmental variable LANGUAGE. You can do that like this: Shell "LANGUAGE=en firefox" to sOutput If you want this to persist, you can create a virtual terminal inside a process instance and execute (i did not test this, but it should work) before any other command: Print #hProcess, "export LANGUAGE=en" Hope this helps you! > > I welcome any opinions from people who have made more extensive use of > the Gambas IDE Project Translate option than I have. > > Richard > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From richard.j.walker at ...247... Sun Sep 23 19:33:57 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 23 Sep 2012 18:33:57 +0100 Subject: [Gambas-user] test build of 3.3.0 Message-ID: Hi Beno?t I am on my first attempt to build 3.3.0 and I have this error: Making all in data make[5]: Entering directory `/home/richard/rpm/BUILD/gambas3-3.3.0/main/lib/data' CC gb_data_la-main.lo CC gb_data_la-c_list.lo c_list.c:25:18: fatal error: list.h: No such file or directory compilation terminated. In file included from main.c:24:0: c_list.h:26:18: fatal error: list.h: No such file or directory compilation terminated. I am building a Mageia2 RPM with a modified spec file to see if the new components have uninstalled dependencies but this seems to be something missing from the main/lib/data directory, yes? Richard From richard.j.walker at ...247... Sun Sep 23 19:44:08 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 23 Sep 2012 18:44:08 +0100 Subject: [Gambas-user] Some questions about project Translation In-Reply-To: References: Message-ID: On 23/09/2012, Sebastian Kulesz wrote: > On Sun, Sep 23, 2012 at 1:08 PM, RICHARD WALKER > wrote: >> So I was wondering, does it make sense to re-code a project so that >> strings, or string constants are used for repeated fragments of text? >> Might such an approach actually make it harder to translate >> "sentences" made of these fragments into some languages? > > Normally, you should avoid this. If you have string like: > > Are you sure you want to $action this? > > $action being move, delete, copy, etc. You should keep the repeated > strings. Different languages have different syntactic order, having a > generic string can be really hard to translate if there is a specific > language that uses a different order for different possible $actions. > Good point, Sebastian. I had suspected this to be the case. If I have coded with string constants or variables for ease of maintenance, how would I get the plain text versions of the built strings into the translation file? Is it just a matter of enclosing the concatenation of String/Const and text in parentheses? >> And finally, in examining my code for translatable strings I realised >> that I had made extensive and vital use of text written by various >> shell commands and captured for analysis/action in various Process >> Read and Error handlers. That started me wondering how to handle this >> situation in another language where the text written by these >> processes would likely be very different from what I was expecting. >> Any ideas? > > The best solution would be to force the use of the English language by > setting the environmental variable LANGUAGE. > > You can do that like this: > Shell "LANGUAGE=en firefox" to sOutput > > If you want this to persist, you can create a virtual terminal inside > a process instance and execute (i did not test this, but it should > work) before any other command: > Print #hProcess, "export LANGUAGE=en" > > Hope this helps you! > That looks like a very workable solution. The various processes' console output will only ever be seen by the Gambas project running them, so it makes sense to force a particular expected language rather than leave it to chance and LOCALE. I will try that later this evening. Richard From jussi.lahtinen at ...626... Sun Sep 23 19:44:24 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Sep 2012 20:44:24 +0300 Subject: [Gambas-user] run project as root In-Reply-To: <1348419594.20081.YahooMailClassic@...2695...> References: <1348419594.20081.YahooMailClassic@...2695...> Message-ID: > > I tried your code, and I obtain in TextEdit simply the word: root > > (But I should be getting: vuott) > No. If you run it as root, you should get root! I wonder why it works on your system... What it your system? Jussi From taboege at ...626... Sun Sep 23 20:06:18 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 23 Sep 2012 20:06:18 +0200 Subject: [Gambas-user] test build of 3.3.0 In-Reply-To: References: Message-ID: <20120923180618.GA6595@...2774...> On Sun, 23 Sep 2012, RICHARD WALKER wrote: > Hi Beno?t > > I am on my first attempt to build 3.3.0 and I have this error: > > Making all in data > make[5]: Entering directory > `/home/richard/rpm/BUILD/gambas3-3.3.0/main/lib/data' > CC gb_data_la-main.lo > CC gb_data_la-c_list.lo > c_list.c:25:18: fatal error: list.h: No such file or directory > compilation terminated. > In file included from main.c:24:0: > c_list.h:26:18: fatal error: list.h: No such file or directory > compilation terminated. > > I am building a Mageia2 RPM with a modified spec file to see if the > new components have uninstalled dependencies but this seems to be > something missing from the main/lib/data directory, yes? > > Richard So it seems but that's not true :-O I successfully built the main/ directory from untouched trunk/ and tags/3.3.0/ trees. Where do you get your sources from? Do you mean an RPM or a gcc 'spec file'? The former, I wouldn't know what to do with, sorry. In this case, if I were you and knew RPM, I would try a pristine source tree and trace the error from there on. Maybe there is something we can see from a non-beautified make, nevertheless?: [gambas3-3.3.0]$ cd main/lib/data; V=1 make Regards, Tobi From gambas at ...1... Sun Sep 23 21:23:11 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 23 Sep 2012 21:23:11 +0200 Subject: [Gambas-user] test build of 3.3.0 In-Reply-To: References: Message-ID: <505F619F.3020907@...1...> Le 23/09/2012 19:33, RICHARD WALKER a ?crit : > Hi Beno?t > > I am on my first attempt to build 3.3.0 and I have this error: > > Making all in data > make[5]: Entering directory > `/home/richard/rpm/BUILD/gambas3-3.3.0/main/lib/data' > CC gb_data_la-main.lo > CC gb_data_la-c_list.lo > c_list.c:25:18: fatal error: list.h: No such file or directory > compilation terminated. > In file included from main.c:24:0: > c_list.h:26:18: fatal error: list.h: No such file or directory > compilation terminated. > > I am building a Mageia2 RPM with a modified spec file to see if the > new components have uninstalled dependencies but this seems to be > something missing from the main/lib/data directory, yes? > > Richard > I have included the missing file. The updated archive should be available in a few minutes. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Sep 23 21:32:13 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Sep 2012 22:32:13 +0300 Subject: [Gambas-user] run project as root In-Reply-To: References: <1348419594.20081.YahooMailClassic@...2695...> Message-ID: I don't understand... This works in terminal (so there is nothing wrong with the xdg-su script): xdg-su -c whoami But Desktop.RunAsRoot() does something else..? Jussi On Sun, Sep 23, 2012 at 8:44 PM, Jussi Lahtinen wrote: > I tried your code, and I obtain in TextEdit simply the word: root >> >> (But I should be getting: vuott) >> > > No. If you run it as root, you should get root! > I wonder why it works on your system... What it your system? > > Jussi > From taboege at ...626... Sun Sep 23 21:39:22 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 23 Sep 2012 21:39:22 +0200 Subject: [Gambas-user] test build of 3.3.0 In-Reply-To: <505F619F.3020907@...1...> References: <505F619F.3020907@...1...> Message-ID: <20120923193922.GA22063@...2774...> On Sun, 23 Sep 2012, Beno?t Minisini wrote: > Le 23/09/2012 19:33, RICHARD WALKER a ?crit : > > Hi Beno?t > > > > I am on my first attempt to build 3.3.0 and I have this error: > > > > Making all in data > > make[5]: Entering directory > > `/home/richard/rpm/BUILD/gambas3-3.3.0/main/lib/data' > > CC gb_data_la-main.lo > > CC gb_data_la-c_list.lo > > c_list.c:25:18: fatal error: list.h: No such file or directory > > compilation terminated. > > In file included from main.c:24:0: > > c_list.h:26:18: fatal error: list.h: No such file or directory > > compilation terminated. > > > > I am building a Mageia2 RPM with a modified spec file to see if the > > new components have uninstalled dependencies but this seems to be > > something missing from the main/lib/data directory, yes? > > > > Richard > > > > I have included the missing file. The updated archive should be > available in a few minutes. > > Regards, > > -- > Beno?t Minisini Oh dear! Thanks Benoit. From richard.j.walker at ...247... Sun Sep 23 22:31:42 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 23 Sep 2012 21:31:42 +0100 Subject: [Gambas-user] test build of 3.3.0 In-Reply-To: <20120923193922.GA22063@...2774...> References: <505F619F.3020907@...1...> <20120923193922.GA22063@...2774...> Message-ID: Thanks Beno?t, rebuilding now. more later ...? From richard.j.walker at ...247... Sun Sep 23 22:39:51 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 23 Sep 2012 21:39:51 +0100 Subject: [Gambas-user] test build of 3.3.0 In-Reply-To: <20120923180618.GA6595@...2774...> References: <20120923180618.GA6595@...2774...> Message-ID: On 23/09/2012, Tobias Boege wrote: > I successfully built the main/ directory from untouched trunk/ and > tags/3.3.0/ trees. Where do you get your sources from? Do you mean an RPM > or > a gcc 'spec file'? The former, I wouldn't know what to do with, sorry. In > this case, if I were you and knew RPM, I would try a pristine source tree > and trace the error from there on. > > Maybe there is something we can see from a non-beautified make, > nevertheless?: > > [gambas3-3.3.0]$ cd main/lib/data; V=1 make > > Regards, > Tobi Hi Tobias, As you know now I was trying to build the pre-release 3.3.0 from Beno?t's tar.bz2, but the spec file I referred to is the RPM spec file from the Mageia 2 rpm for gambas3-3.1.1. With the new gambas components in the 3.3.0 release and the possibility that some additional libraries would be needed I thought it would be a good idea to start with the older release and see if any of the wiki's build instructions might need to be updated. That said, I can see that your suggestion to try a "naked" build from within a problem directory is an excellent idea and one I hadn't thought of. Thank you. Richard From richard.j.walker at ...247... Sun Sep 23 23:15:50 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 23 Sep 2012 22:15:50 +0100 Subject: [Gambas-user] Some questions about project Translation In-Reply-To: References: Message-ID: OK Sebastian, I have done a bit of research (spelt g-o-o-g-l-e) and I have decided to set a constant string as "LANG=C" and add it to the front of those shell commands my program issues where the text of the sub-processes' output is important. My reasoning is that if that changes the text I am checking for then I can catch it now and correct my code accordingly. Thanks for your help in making this trivial little program much more robust. Richard From vuott at ...325... Sun Sep 23 23:23:17 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 23 Sep 2012 22:23:17 +0100 (BST) Subject: [Gambas-user] run project as root In-Reply-To: Message-ID: <1348435397.51619.YahooMailClassic@...2748...> > I wonder why it works on your system... What it your > system? > > Jussi > --------------------------------------------------------------------------- Hello jussi my system is: Linux Mint 13 - Maya - Ubuntu 64bit Kernel=3.2.0-27-generic [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 From vuott at ...325... Sun Sep 23 23:33:43 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 23 Sep 2012 22:33:43 +0100 (BST) Subject: [Gambas-user] run project as root - BIS In-Reply-To: Message-ID: <1348436023.66490.YahooMailClassic@...2789...> --- Dom 23/9/12, Jussi Lahtinen ha scritto: > I don't understand... > > This works in terminal (so there is nothing wrong with the > xdg-su script): > xdg-su -c whoami > > Jussi > I collect the data (like you know) from the supporting file, and I show those in TextEdit on Form. > But Desktop.RunAsRoot() does something else..? ...What do you mean ? From richard.j.walker at ...247... Mon Sep 24 00:15:34 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 23 Sep 2012 23:15:34 +0100 Subject: [Gambas-user] test build of 3.3.0 In-Reply-To: References: <20120923180618.GA6595@...2774...> Message-ID: Beno?t, the build was successful. I just have a few tweaks to make to the rpm spec file before I test the installation. Richard From baciotti at ...626... Mon Sep 24 03:08:56 2012 From: baciotti at ...626... (Tiago Baciotti Moreira) Date: Sun, 23 Sep 2012 22:08:56 -0300 Subject: [Gambas-user] My first Gambas program in test stage Message-ID: Hi, Just to let you know my impressions on Gambas. Today I put my first gambas program in "Beta test" stage! It is a simple Management program that my wife will use in her small store. Just 11 tables We have there 2 computers. One Linux Mint and other W7 with a VM with Mint. I developed entirely using an sqlite base and today in the morning I migrated to Mysql. It was very simple. I just had to rewrite some Views. I started this on September, 5 and I coded a bit everyday. Of course in weekends I coded for 5-6 hours but on normal days 1-2 hours. I am very satisfied with gambas. Thank you very much. I read almost all messages. I hope soon I can help too. *Beno?t*, i wanna ask something, if possible of course: May you please on a future release add an "delete line" feature in Code Editor? I want to configure this to "Control + Y" here. THANK YOU, guys, Tiago -- :: Lista Sistemas: http://goo.gl/xnSog ?Contos de Fadas s?o a pura verdade: n?o porque nos contam que os drag?es existem, mas porque nos contam que eles podem ser vencidos. (G. K. Chesterton)? From bbruen at ...2308... Mon Sep 24 07:42:27 2012 From: bbruen at ...2308... (Bruce) Date: Mon, 24 Sep 2012 15:12:27 +0930 Subject: [Gambas-user] httpclient error code -1018 Message-ID: <1348465347.6089.50.camel@...2688...> or to be correct it is actually the Status code. But what does it mean? Is it the same as libcurl error code 18? "CURLE_PARTIAL_FILE (18) A file transfer was shorter or larger than expected. This happens when the server first reports an expected transfer size, and then delivers data that doesn't match the previously given size." tia Bruce From gambas at ...1... Mon Sep 24 08:08:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Sep 2012 08:08:31 +0200 Subject: [Gambas-user] httpclient error code -1018 In-Reply-To: <1348465347.6089.50.camel@...2688...> References: <1348465347.6089.50.camel@...2688...> Message-ID: <505FF8DF.6010505@...1...> Le 24/09/2012 07:42, Bruce a ?crit : > or to be correct it is actually the Status code. > > But what does it mean? > Is it the same as libcurl error code 18? "CURLE_PARTIAL_FILE (18) > A file transfer was shorter or larger than expected. This happens when > the server first reports an expected transfer size, and then delivers > data that doesn't match the previously given size." > > tia > Bruce > Yes. You can compare with the error code constants in the Net static class. Regards, -- Beno?t Minisini From gambas at ...1... Mon Sep 24 08:45:25 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Sep 2012 08:45:25 +0200 Subject: [Gambas-user] Faults on new Project name In-Reply-To: <1348239071.2771.19.camel@...2811...> References: <1348239071.2771.19.camel@...2811...> Message-ID: <50600185.9010107@...1...> Le 21/09/2012 16:51, John Rose a ?crit : > I've taken an existing project and done Save As with a new project > name. I've then amended this new project including setting the > Project Properties' Title & Description. I've added a new icon for > the app into the project's Data section (of the IDE) by right > clicking Data etc. However, when I Make Installation Package (of the > new project) for Ubuntu and install the resultant .deb, the icon in > /usr/share/pixmaps still displays as the old project's image even > though its name is newprojectname.png as per the name in the Data > section. Why does the icon's image not change on installation even > though I changed it? > Apparently you didn't change the icon in the new project. You do it by clicking on the big icon button in the first tab of the project property dialog. > Also, the entry in the Main Menu (for launching the new app) is not > generated by .gdebi. Why is this? I don't know, it should. I will test the package on my Ubuntu... > I tried to keep the same parameters when doing the Make as per the > old project: Groups - database for the Package Groups window, though > there was no entry for the Other group (in Applications) for the Menu > Entry window so I selected Programming. Why do entries listed in the > Menu Entry window not match those in Ubuntu's Main Menu > Applications? > The menu groups listed in the dialog are defined there: http://www.debian.org/doc/packaging-manuals/menu-policy/ch2.html#s2.1 Then you have the "categories" on the bottom of the dialog, that you can actually change independently of the menu group. I don't know how Ubuntu translates the menu group defined there into the actual menu hierarchy. If anyone has an idea? -- Beno?t Minisini From joem at ...2671... Mon Sep 24 09:51:02 2012 From: joem at ...2671... (jm) Date: Mon, 24 Sep 2012 08:51:02 +0100 Subject: [Gambas-user] Gambas error messages In-Reply-To: <505CF006.6040808@...1...> References: <1348055731.5961.16.camel@...2672...> <5059B499.8030302@...1...> <1348059469.6564.32.camel@...2672...> <1348141488.10725.4.camel@...2672...> <1348153040.11704.1.camel@...2672...> <1348155675.11704.4.camel@...2672...> <1348213241.2180.0.camel@...2672...> <1348255665.6872.6.camel@...2672...> <1348265927.7287.11.camel@...2672...> <505CF006.6040808@...1...> Message-ID: <1348473062.2005.9.camel@...2672...> On Sat, 2012-09-22 at 00:53 +0200, Beno?t Minisini wrote: > Le 22/09/2012 00:18, jm a ?crit : > > So when I typed gambas2 and it didn't work, > > I typed gambas2 --help. > > > > Naturally that won't work because it a sym link. > > > > But nearly all other Linux commands do something > > when you type --help. > > > > e.g > > firefox --help > > konqueror --help > > ssh --help > > ls --help > > > > Anyway I then tried gbr2 --help after realizing what was > > happening. > > > > That also does not work because gambas > > doesn't have any normal Linux command line > > friendly options. > > > > As gambas gets ported to more and more ARM and future > > distros, there will be more and more problems like this. > > > > If gambas had --help, and also something like a -v n > > for verbosity level n in command line, then it will > > be easier to debug in environments where the IDE > > has not started up yet. > > If the verbose messages are cleverly worded in unique ways, then > > when they get pasted into forums, they start > > seeding google with messages that can be searched for > > and the fixes become more easy to find. And duplication of effort > > will also reduce. > > > > gambas2 or gambas3 programs has no options and take just one argument, > the project to open. So having an "--help" option will not be print > something really useful. But I can admit that point, and could make an > "--help" option. Thank you for putting in the option. > Anyway, why do you think that if gambas2 or gambas3 has an "--help" > option, it will be easier for me to fix the bugs on a specific > architecture? A "-v" verbosity option will not be useful too. It exists > already actually, it is the debugger. The -v is for guessing at problems without reaching for support and clogging up the works with trivial requests. The -v is different from debugger because the debugger reports inherent software problems while the -v posts useful messages at control points. As the system develops the users can request for -v options to help track down problems. > And last question: why don't you do what is explained on the "Reporting > a problem" page of the website as I told you in a previous mail? Which > is what is useful to help fixing bugs. I will try soon if I don't get anywhere. My device is constantly crashing and I haven't gone through all the possibilities. > I won't fix Gambas 2 for ARM, but will for Gambas 3. It already works on > two ARM architectures, so it should not be a big deal to make it work or > a third one, a fourth one, until ARM becomes more "standardized"... > provided that you give me the needed information! I am very happy to hear that! I was trying out gambas2 from the distro makers so that I do the least amount of work to get something going. (I am going to try out Jussi's suggestion of installing libqt3-mt and if that fails I move on to gambas3 from trunk and if that gets stuck I report it a problem - that will take several days of work as the device is slow to compile and crashes when CPU usages gets a bit high for too long.) It would be good to get the MK802 working with gambas! :-) > Regards, > From joem at ...2671... Mon Sep 24 15:08:39 2012 From: joem at ...2671... (jm) Date: Mon, 24 Sep 2012 14:08:39 +0100 Subject: [Gambas-user] Compile error for 5196 in gb.sdl, ARM A10 SoC, Lubuntu 12.04 Message-ID: <1348492119.5772.7.camel@...2672...> Compile error for 5196 in gb.sdl, ARM A10 SoC, Lubuntu 12.04 Making all in gb.sdl make[2]: Entering directory `/home/miniand/Downloads/gambas3/5196/gb.sdl' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/home/miniand/Downloads/gambas3/5196/gb.sdl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/miniand/Downloads/gambas3/5196' make: *** [all] Error 2 I did this from web site: $ sudo apt-get install build-essential autoconf libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgsl0-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libcairo2-dev libgsl0-dev (./reconf-all && ./configure -C && make) > output.txt 2>&1 I did a sudo apt-get update before running the above. The output.txt file attached. The system is A10 ARM SoC based MK802 USB computer on a chip. Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: output1.txt.tar.bz2 Type: application/x-bzip-compressed-tar Size: 8328 bytes Desc: not available URL: From jussi.lahtinen at ...626... Mon Sep 24 16:47:38 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 24 Sep 2012 17:47:38 +0300 Subject: [Gambas-user] run project as root - BIS In-Reply-To: <1348436023.66490.YahooMailClassic@...2789...> References: <1348436023.66490.YahooMailClassic@...2789...> Message-ID: > > But Desktop.RunAsRoot() does something else..? > ...What do you mean ? > AFAIK, Desktop.RunAsRoot("whoami") and "xdg-su -c whoami" should do exactly same thing. However only "xdg-su -c whoami" works. I will investigate... Jussi From jussi.lahtinen at ...626... Mon Sep 24 17:12:19 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 24 Sep 2012 18:12:19 +0300 Subject: [Gambas-user] run project as root - BIS In-Reply-To: References: <1348436023.66490.YahooMailClassic@...2789...> Message-ID: > AFAIK, Desktop.RunAsRoot("whoami") and "xdg-su -c whoami" should do > exactly same thing. > However only "xdg-su -c whoami" works. > OK, now I understand the problem. Destop.RunAsRoot() uses internally Exec command, and so redirections doesn't work. Instead of Exec there should be Shell..? Benoit? Jussi From vuott at ...325... Mon Sep 24 17:16:14 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 24 Sep 2012 16:16:14 +0100 (BST) Subject: [Gambas-user] run project as root - BIS In-Reply-To: Message-ID: <1348499774.16017.YahooMailClassic@...2695...> > > > > AFAIK, Desktop.RunAsRoot("whoami") and "xdg-su -c whoami" > should do exactly > same thing. > However only "xdg-su -c whoami" works. > > I will investigate... > > Jussi > ------------------------------------------------------------------------- At this moment I'm using another system: KUBUNTU 32bit - KDE ....and Gambas doesn't install "xdg-su" script in /tmp/gambas.1000 ! Mah ! From gambas.fr at ...626... Mon Sep 24 17:53:13 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 24 Sep 2012 17:53:13 +0200 Subject: [Gambas-user] Modify a control in another form In-Reply-To: <505E43B8.5000807@...1823...> References: <505E35B1.80206@...2185...> <505E3A4D.5060209@...1823...> <505E3C34.1050406@...2185...> <505E3F4D.9040307@...1823...> <505E43B8.5000807@...1823...> Message-ID: 2012/9/23 richard : > On 23/09/12 08:44, richard wrote: >> On 23/09/12 08:31, Keith Clark wrote: >>> On 12-09-22 06:23 PM, richard wrote: >>>> On 23/09/12 08:03, Keith Clark wrote: >>>>> How do I modify settings of a control on another form? Let's say that I >>>>> want to be able to control the number of rows and columns of a grid >>>>> view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. >>>>> >>>>> Would it not be fGameGrid.gvSampleGrid.rows.count=10? >>>>> >>>>> I am working with the book A beginner's Guide to Gambas but find it >>>>> confusing on the basics. >>>>> >>>>> Thanks. >>>>> If you have set your projects options to make your controls public you >>>>> can address any control on anther form with the correct syntax >>>>> >>>>> What error message to you get when you run your code? >>>>> >>>>> richard >>>>> >>>>> >>> That is exactly what I didn't do! Set the controls to public. Done now >>> and it works fine. Thanks! >>> >>> Keith >>> >>> >> Also remember you can pass anything from form to form even forms, or >> pass forms to code modules. Also you can declare a form >> >> For example if you used alot of say columnviews all over a large >> project and did the same sort of thing to the columnview in all the >> forms, simple example, allow the user to change the font of a columnview >> and save it to a settings file via a pop-up menu over the columnview, >> you could have a general module in your project, and pass the columnview >> to that module, do whatever on it you wanted. Then you have a single few >> lines of code you re-use in dozens and dozens of situations. >> >> e.g I have a module I call modUtil and puts lots of stuff in it which is >> used all over the place >> >> Public Sub Columnview_SetFont(cvw As Columnview, Settings_Section As String) >> '---------------------------------------------------------------------------------------------------------------- >> 'Attempts to change the font of a columnview and save to settings >> '--------------------------------------------------------------------------------------------------------------- >> >> Dialog.font = cvw.font >> If Dialog.SelectFont() Then Return >> cvw.font = Dialog.Font >> Settings[Settings_Section & "/" & cvw.name & ".font"] = >> cvw.Font.ToString() >> >> End >> >> >> > As an addendum you will have to in this case load your previously saved > font value from your settings file. > I always have a Private sub Settings_Load() in each form and a Public > Sub Settings_Save() > > e.g > > Private sub Settings_Load() > > Try cvwItemsBilled.Font = > Font[Settings["Billing_RecordVisit/cvwItemsBilled.font"]] > > end sub > > Note the Settings_Save is Public, as then, if I have multiple sub-forms > on another form which is closed, the the 'Parent' form can call all the > Settings_Save subroutines in all its embedded forms when it closes. > > Regards > > richard > > > > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I think the good way is this one : Never make your form public !!! Prefers that ... In the gridviewform : Public Function GetGrid() as GridView Return MyGridView End THen you can use that in another form to manage the grid : Form1.GetGrid().Rows.Count... Well if you just need to modify the number of row you can do that too In the gridview form : Public Sub SetGridRows(iCount as Integer) MyGridView.Rows.Count = iCount End Setting Forms public have a cost in Time,Memory and make the code less clearer -- Fabien Bodard From adrien.prokopowicz at ...626... Mon Sep 24 19:08:07 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 24 Sep 2012 19:08:07 +0200 Subject: [Gambas-user] Session object does not work anymore (gb.web, rev #5096) Message-ID: Hi Beno?t, I recently updated my server to the last revision of gambas, and I noticed that the Session system didn't work anymore. After some investigations, I saw that the session cookie path wasn't the same anymore : Set-Cookie:SESSION=88.140.174.145:0123456789ABB0C0DB1EEF5;path=/main.gambas.cgi;httponly (Now) Set-Cookie:SESSION=88.140.174.145:0123456789ABB0C0DB1EEF5;path=/;httponly (Before) The problem is that the CGI script is main.gambas.cgi, but because of URL rewriting, the user never sees it (he sees index.html or forum.html for example). I now the change is intended (rev #5096), but is it possible to manually set the session path (maybe a Session.Path property) ? Regards, Adrien. From sebikul at ...626... Mon Sep 24 21:27:34 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 24 Sep 2012 16:27:34 -0300 Subject: [Gambas-user] Some questions about project Translation In-Reply-To: References: Message-ID: On Sun, Sep 23, 2012 at 2:44 PM, RICHARD WALKER wrote: > On 23/09/2012, Sebastian Kulesz wrote: >> On Sun, Sep 23, 2012 at 1:08 PM, RICHARD WALKER >> wrote: >>> So I was wondering, does it make sense to re-code a project so that >>> strings, or string constants are used for repeated fragments of text? >>> Might such an approach actually make it harder to translate >>> "sentences" made of these fragments into some languages? >> >> Normally, you should avoid this. If you have string like: >> >> Are you sure you want to $action this? >> >> $action being move, delete, copy, etc. You should keep the repeated >> strings. Different languages have different syntactic order, having a >> generic string can be really hard to translate if there is a specific >> language that uses a different order for different possible $actions. >> > > Good point, Sebastian. I had suspected this to be the case. If I have > coded with string constants or variables for ease of maintenance, how > would I get the plain text versions of the built strings into the > translation file? Is it just a matter of enclosing the concatenation > of String/Const and text in parentheses? You should never concatenate translated strings unless necessary. Always use Subst() http://gambasdoc.org/help/lang/subst?v3 > >>> And finally, in examining my code for translatable strings I realised >>> that I had made extensive and vital use of text written by various >>> shell commands and captured for analysis/action in various Process >>> Read and Error handlers. That started me wondering how to handle this >>> situation in another language where the text written by these >>> processes would likely be very different from what I was expecting. >>> Any ideas? >> >> The best solution would be to force the use of the English language by >> setting the environmental variable LANGUAGE. >> >> You can do that like this: >> Shell "LANGUAGE=en firefox" to sOutput >> >> If you want this to persist, you can create a virtual terminal inside >> a process instance and execute (i did not test this, but it should >> work) before any other command: >> Print #hProcess, "export LANGUAGE=en" >> >> Hope this helps you! >> > > That looks like a very workable solution. The various processes' > console output will only ever be seen by the Gambas project running > them, so it makes sense to force a particular expected language rather > than leave it to chance and LOCALE. I will try that later this > evening. > > Richard > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rterry at ...1823... Tue Sep 25 00:29:21 2012 From: rterry at ...1823... (Richard Terry) Date: Tue, 25 Sep 2012 08:29:21 +1000 Subject: [Gambas-user] Modify a control in another form In-Reply-To: References: <505E35B1.80206@...2185...> <505E3A4D.5060209@...1823...> <505E3C34.1050406@...2185...> <505E3F4D.9040307@...1823...> <505E43B8.5000807@...1823...> Message-ID: <5060DEC1.4010106@...1823...> Fabien Bodard wrote: > 2012/9/23 richard : > >> On 23/09/12 08:44, richard wrote: >> >>> On 23/09/12 08:31, Keith Clark wrote: >>> >>>> On 12-09-22 06:23 PM, richard wrote: >>>> >>>>> On 23/09/12 08:03, Keith Clark wrote: >>>>> >>>>>> How do I modify settings of a control on another form? Let's say that I >>>>>> want to be able to control the number of rows and columns of a grid >>>>>> view, gvSampleGrid, on form, fGameGrid from form, fGameSetup. >>>>>> >>>>>> Would it not be fGameGrid.gvSampleGrid.rows.count=10? >>>>>> >>>>>> I am working with the book A beginner's Guide to Gambas but find it >>>>>> confusing on the basics. >>>>>> >>>>>> Thanks. >>>>>> If you have set your projects options to make your controls public you >>>>>> can address any control on anther form with the correct syntax >>>>>> >>>>>> What error message to you get when you run your code? >>>>>> >>>>>> richard >>>>>> >>>>>> >>>>>> >>>> That is exactly what I didn't do! Set the controls to public. Done now >>>> and it works fine. Thanks! >>>> >>>> Keith >>>> >>>> >>>> >>> Also remember you can pass anything from form to form even forms, or >>> pass forms to code modules. Also you can declare a form >>> >>> For example if you used alot of say columnviews all over a large >>> project and did the same sort of thing to the columnview in all the >>> forms, simple example, allow the user to change the font of a columnview >>> and save it to a settings file via a pop-up menu over the columnview, >>> you could have a general module in your project, and pass the columnview >>> to that module, do whatever on it you wanted. Then you have a single few >>> lines of code you re-use in dozens and dozens of situations. >>> >>> e.g I have a module I call modUtil and puts lots of stuff in it which is >>> used all over the place >>> >>> Public Sub Columnview_SetFont(cvw As Columnview, Settings_Section As String) >>> '---------------------------------------------------------------------------------------------------------------- >>> 'Attempts to change the font of a columnview and save to settings >>> '--------------------------------------------------------------------------------------------------------------- >>> >>> Dialog.font = cvw.font >>> If Dialog.SelectFont() Then Return >>> cvw.font = Dialog.Font >>> Settings[Settings_Section & "/" & cvw.name & ".font"] = >>> cvw.Font.ToString() >>> >>> End >>> >>> >>> >>> >> As an addendum you will have to in this case load your previously saved >> font value from your settings file. >> I always have a Private sub Settings_Load() in each form and a Public >> Sub Settings_Save() >> >> e.g >> >> Private sub Settings_Load() >> >> Try cvwItemsBilled.Font = >> Font[Settings["Billing_RecordVisit/cvwItemsBilled.font"]] >> >> end sub >> >> Note the Settings_Save is Public, as then, if I have multiple sub-forms >> on another form which is closed, the the 'Parent' form can call all the >> Settings_Save subroutines in all its embedded forms when it closes. >> >> Regards >> >> richard >> >> >> >> >> ------------------------------------------------------------------------------ >> How fast is your code? >> 3 out of 4 devs don\\\'t know how their code performs in production. >> Find out how slow your code is with AppDynamics Lite. >> http://ad.doubleclick.net/clk;262219672;13503038;z? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > I think the good way is this one : > > Never make your form public !!! > > Prefers that ... In the gridviewform : > > > Public Function GetGrid() as GridView > > Return MyGridView > > End > > > > THen you can use that in another form to manage the grid : > > > Form1.GetGrid().Rows.Count... > > > Well if you just need to modify the number of row you can do that too > > In the gridview form : > > Public Sub SetGridRows(iCount as Integer) > > MyGridView.Rows.Count = iCount > > End > > > Setting Forms public have a cost in Time,Memory and make the code less clearer > > Fabian can you elaborate on that? Apart from upgrading my rather poor coding skills, I'd be interested in just what the cost is in terms of time and memory. Regards Richard From gambas at ...1... Tue Sep 25 01:38:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Sep 2012 01:38:42 +0200 Subject: [Gambas-user] Session object does not work anymore (gb.web, rev #5096) In-Reply-To: References: Message-ID: <5060EF02.4040904@...1...> Le 24/09/2012 19:08, Adrien Prokopowicz a ?crit : > Hi Beno?t, > > I recently updated my server to the last revision of gambas, and I > noticed that the Session system didn't work anymore. > > After some investigations, I saw that the session cookie path wasn't > the same anymore : > > Set-Cookie:SESSION=88.140.174.145:0123456789ABB0C0DB1EEF5;path=/main.gambas.cgi;httponly > (Now) > Set-Cookie:SESSION=88.140.174.145:0123456789ABB0C0DB1EEF5;path=/;httponly > (Before) > > The problem is that the CGI script is main.gambas.cgi, but because of > URL rewriting, the user never sees it (he sees index.html or > forum.html for example). > > I now the change is intended (rev #5096), but is it possible to > manually set the session path (maybe a Session.Path property) ? > > Regards, > Adrien. > I have added a Session.CookiePath in rev #5197 for you. Tell me if it works, as that cookie path has to be stored in the session file so that it is restored correctly. I will keep Session.Path for the path of the session file. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Tue Sep 25 08:15:44 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 25 Sep 2012 02:15:44 -0400 Subject: [Gambas-user] gb3: minor annoyances regarding the IDE Message-ID: <50614C10.2040601@...1887...> Under recent builds, including the current, I've noticed that after exiting/terminating a program the cursor does not return to the expected module/procedure/line in the IDE. If I have the cursor in X module, Y procedure and Z line when I hit F5, I expect it to return there upon termination of the program. While this is cosmetic, it affects productivity as I have to manually navigate to the module/procedure/line I was just editing it to resume debugging. Also the pop-up "info/autocomplete" still shows a gray box at random but prolonged intervals, which also affects productivity. Seemingly minor, but very much "in your face" from a user perspective. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bbruen at ...2308... Tue Sep 25 09:00:47 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 25 Sep 2012 16:30:47 +0930 Subject: [Gambas-user] gb3: minor annoyances regarding the IDE In-Reply-To: <50614C10.2040601@...1887...> References: <50614C10.2040601@...1887...> Message-ID: <1348556447.6089.55.camel@...2688...> On Tue, 2012-09-25 at 02:15 -0400, Kevin Fishburne wrote: > Under recent builds, including the current, I've noticed that after > exiting/terminating a program the cursor does not return to the expected > module/procedure/line in the IDE. If I have the cursor in X module, Y > procedure and Z line when I hit F5, I expect it to return there upon > termination of the program. While this is cosmetic, it affects > productivity as I have to manually navigate to the module/procedure/line > I was just editing it to resume debugging. It's caused by the warning generator. Compile the project and get rid of all the warnings and it wont happen. (I wish that it was optional too!) cheers Bruce From bbruen at ...2308... Tue Sep 25 09:08:48 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 25 Sep 2012 16:38:48 +0930 Subject: [Gambas-user] gb3: minor annoyances regarding the IDE In-Reply-To: <1348556447.6089.55.camel@...2688...> References: <50614C10.2040601@...1887...> <1348556447.6089.55.camel@...2688...> Message-ID: <1348556928.6089.60.camel@...2688...> On Tue, 2012-09-25 at 16:30 +0930, Bruce wrote: > On Tue, 2012-09-25 at 02:15 -0400, Kevin Fishburne wrote: > > Under recent builds, including the current, I've noticed that after > > exiting/terminating a program the cursor does not return to the expected > > module/procedure/line in the IDE. If I have the cursor in X module, Y > > procedure and Z line when I hit F5, I expect it to return there upon > > termination of the program. While this is cosmetic, it affects > > productivity as I have to manually navigate to the module/procedure/line > > I was just editing it to resume debugging. > > > It's caused by the warning generator. > Compile the project and get rid of all the warnings and it wont happen. > (I wish that it was optional too!) > > cheers > Bruce > hah! 30 seconds later, by sheer fluke I found that the option for it is in the "Project Properties" form. it's on the options tab. see pic attached sorry to others for the mis-whinge. Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: tmp.png Type: image/png Size: 34846 bytes Desc: not available URL: From joem at ...2671... Tue Sep 25 11:42:40 2012 From: joem at ...2671... (jm) Date: Tue, 25 Sep 2012 10:42:40 +0100 Subject: [Gambas-user] Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu 12.04 In-Reply-To: <1348492119.5772.7.camel@...2672...> References: <1348492119.5772.7.camel@...2672...> Message-ID: <1348566160.6755.9.camel@...2672...> Thank you for the fixes in 5197. The compiling has got past previous issues and is now moved to the opengl module. Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu 12.04: Making all in opengl make[5]: Entering directory `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' CXX gb_qt4_opengl_la-main.lo In file included from /usr/include/qt4/QtCore/qobject.h:48:0, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/QWidget:1, from ../gb.qt.h:33, from main.h:28, from main.cpp:26: /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of 'va_list' has changed in GCC 4.4 /usr/bin/moc-qt4 -o CGLarea_moc.cpp CGLarea.h CXX gb_qt4_opengl_la-CGLarea_moc.lo In file included from /usr/include/qt4/QtCore/qobject.h:48:0, from /usr/include/qt4/QtGui/qwidget.h:46, from /usr/include/qt4/QtGui/QWidget:1, from ../gb.qt.h:33, from main.h:28, from CGLarea.h:27, from CGLarea_moc.cpp:10: /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of 'va_list' has changed in GCC 4.4 CXX gb_qt4_opengl_la-CGLarea.lo CGLarea.cpp: In function 'void CGLAREA_text(void*, void*)': CGLarea.cpp:110:36: error: 'GL_LIGHTING' was not declared in this scope make[5]: *** [gb_qt4_opengl_la-CGLarea.lo] Error 1 make[5]: Leaving directory `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/miniand/Downloads/gambas3/trunk/gb.qt4' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/miniand/Downloads/gambas3/trunk/gb.qt4' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/miniand/Downloads/gambas3/trunk' make: *** [all] Error 2 Output of the following script attached: ( ./reconf-all; ./configure -C; make ) > output.txt 2>&1 Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: output_5197.txt.tar.bz2 Type: application/x-bzip-compressed-tar Size: 11275 bytes Desc: not available URL: From pinozollo at ...626... Tue Sep 25 12:50:56 2012 From: pinozollo at ...626... (Pino Zollo) Date: Tue, 25 Sep 2012 06:50:56 -0400 Subject: [Gambas-user] Error after upgrade Message-ID: <50618C90.9050604@...626...> After the automatic upgrade of Gambas3 on UBUNTU 10.04 Gnome 2.30.2 /usr/local/bin/gambas3 ERROR: #27: Cannot load component 'gb.qt4': /usr/lib/gambas3/gb.qt4.so: undefined symbol: GB Salud Pino From gambas at ...1... Tue Sep 25 14:36:34 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Sep 2012 14:36:34 +0200 Subject: [Gambas-user] gb3: minor annoyances regarding the IDE In-Reply-To: <50614C10.2040601@...1887...> References: <50614C10.2040601@...1887...> Message-ID: <5061A552.3080104@...1...> Le 25/09/2012 08:15, Kevin Fishburne a ?crit : > > Also the pop-up "info/autocomplete" still shows a gray box at random but > prolonged intervals, which also affects productivity. Seemingly minor, > but very much "in your face" from a user perspective. > Yes, I know. This is a bug in QT3 support of Qt4 that I couldn't workaround. Two solutions: 1) Get rid of the old Qt3 code in gb.qt4. This should be done, as Qt5 is going to be released! But it takes a lot of time. :-/ 2) Not using a ListView for displaying autocompletion, but a GridView, which is written in Gambas and does not have this problem. I think I will do that first! Regards, -- Beno?t Minisini From gambas at ...1... Tue Sep 25 15:57:53 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Sep 2012 15:57:53 +0200 Subject: [Gambas-user] gb3: minor annoyances regarding the IDE In-Reply-To: <5061A552.3080104@...1...> References: <50614C10.2040601@...1887...> <5061A552.3080104@...1...> Message-ID: <5061B861.60004@...1...> Le 25/09/2012 14:36, Beno?t Minisini a ?crit : > > 2) Not using a ListView for displaying autocompletion, but a GridView, > which is written in Gambas and does not have this problem. I think I > will do that first! > > Regards, > Done in revision #5198. Regards, -- Beno?t Minisini From jockerfox at ...626... Tue Sep 25 16:56:06 2012 From: jockerfox at ...626... (Michele Giannelli) Date: Tue, 25 Sep 2012 16:56:06 +0200 Subject: [Gambas-user] Upgrade to 3.3 (http://ppa.launchpad.net/nemh/gambas3/ubuntu) In-Reply-To: References: Message-ID: <592E491B-39EA-4D3B-844F-A2C4445AF828@...626...> Hi Beno?t, I upgrate from 3.2.1 to 3.3 by http://ppa.launchpad.net/nemh/gambas3/ubuntu (precise main) Now, there is a problem: michele at ...1008...:~$ gambas3 ERROR: #27: Cannot load component 'gb.qt4': /usr/lib/gambas3/gb.qt4.so: undefined symbol: GB What can I do? From gambas at ...1... Tue Sep 25 17:43:21 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Sep 2012 17:43:21 +0200 Subject: [Gambas-user] Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu 12.04 In-Reply-To: <1348566160.6755.9.camel@...2672...> References: <1348492119.5772.7.camel@...2672...> <1348566160.6755.9.camel@...2672...> Message-ID: <5061D119.1050605@...1...> Le 25/09/2012 11:42, jm a ?crit : > Thank you for the fixes in 5197. I fixed nothing relating to your problem in r5197, so I think the problem comes from your system installation. > > The compiling has got past previous issues and is now moved to the > opengl module. Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu > 12.04: > > > Making all in opengl > make[5]: Entering directory > `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' > CXX gb_qt4_opengl_la-main.lo > In file included from /usr/include/qt4/QtCore/qobject.h:48:0, > from /usr/include/qt4/QtGui/qwidget.h:46, > from /usr/include/qt4/QtGui/QWidget:1, > from ../gb.qt.h:33, > from main.h:28, > from main.cpp:26: > /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of > 'va_list' has changed in GCC 4.4 > /usr/bin/moc-qt4 -o CGLarea_moc.cpp CGLarea.h > CXX gb_qt4_opengl_la-CGLarea_moc.lo > In file included from /usr/include/qt4/QtCore/qobject.h:48:0, > from /usr/include/qt4/QtGui/qwidget.h:46, > from /usr/include/qt4/QtGui/QWidget:1, > from ../gb.qt.h:33, > from main.h:28, > from CGLarea.h:27, > from CGLarea_moc.cpp:10: > /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of > 'va_list' has changed in GCC 4.4 > CXX gb_qt4_opengl_la-CGLarea.lo > CGLarea.cpp: In function 'void CGLAREA_text(void*, void*)': > CGLarea.cpp:110:36: error: 'GL_LIGHTING' was not declared in > this scope > make[5]: *** [gb_qt4_opengl_la-CGLarea.lo] Error 1 > make[5]: Leaving directory > `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory > `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/miniand/Downloads/gambas3/trunk/gb.qt4' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/miniand/Downloads/gambas3/trunk/gb.qt4' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/miniand/Downloads/gambas3/trunk' > make: *** [all] Error 2 > > > Output of the following script attached: > ( ./reconf-all; ./configure -C; make ) > output.txt 2>&1 > > Regards > Mmm... It seems to be a problem in Qt or OpenGL: which version of Qt do you use? Please try to add the following line at the beginning of CGLArea.cpp, line 25: #include Recompile and tell me the result! -- Beno?t Minisini From vuott at ...325... Tue Sep 25 18:02:54 2012 From: vuott at ...325... (Ru Vuott) Date: Tue, 25 Sep 2012 17:02:54 +0100 (BST) Subject: [Gambas-user] " The program 'Embedder' received an X Window System error. " Message-ID: <1348588974.29492.YahooMailClassic@...2780...> Hello, I tried again example program: Embedder 3.0.0 I have got in console this notice: ****** The program 'Embedder' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 1810 error_code 3 request_code 20 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) ****** What could it be? Regards vuott P.S.: my Gambas-3 rev. 5200 From gambas at ...1... Tue Sep 25 18:25:24 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Sep 2012 18:25:24 +0200 Subject: [Gambas-user] " The program 'Embedder' received an X Window System error. " In-Reply-To: <1348588974.29492.YahooMailClassic@...2780...> References: <1348588974.29492.YahooMailClassic@...2780...> Message-ID: <5061DAF4.2040907@...1...> Le 25/09/2012 18:02, Ru Vuott a ?crit : > Hello, > > I tried again example program: Embedder 3.0.0 > > I have got in console this notice: > > ****** > The program 'Embedder' received an X Window System error. > This probably reflects a bug in the program. > The error was 'BadWindow (invalid Window parameter)'. > (Details: serial 1810 error_code 3 request_code 20 minor_code 0) > (Note to programmers: normally, X errors are reported asynchronously; > that is, you will receive the error a while after causing it. > To debug your program, run it with the --sync command line > option to change this behavior. You can then get a meaningful > backtrace from your debugger if you break on the gdk_x_error() function.) > ****** > > What could it be? > > Regards > vuott > > P.S.: my Gambas-3 rev. 5200 > A new bug in gb.gtk I think... I will check. Anyway, don't use embedder, it will be removed as it is a X11 specific protocol that won't work on Wayland and is not really useful. Regards, -- Beno?t Minisini From vuott at ...325... Tue Sep 25 19:43:50 2012 From: vuott at ...325... (Ru Vuott) Date: Tue, 25 Sep 2012 18:43:50 +0100 (BST) Subject: [Gambas-user] " The program 'Embedder' received an X Window System error. " In-Reply-To: <5061DAF4.2040907@...1...> Message-ID: <1348595030.36286.YahooMailClassic@...2695...> > > Anyway, don't use embedder, it will be removed as it is a > X11 specific > protocol that won't work on Wayland and is not really > useful. > > Regards, > > -- > Beno?t Minisini > > --------------------------------------------------------------------------- Oh ! Excuse me, Beno?t, do you are telling just about 'Embedder' *object*, not simply the program ? Will it be replaced with another object/function ? Bye vuott From vuott at ...325... Tue Sep 25 20:01:16 2012 From: vuott at ...325... (Ru Vuott) Date: Tue, 25 Sep 2012 19:01:16 +0100 (BST) Subject: [Gambas-user] " The program 'Embedder' - BIS In-Reply-To: <1348595030.36286.YahooMailClassic@...2695...> Message-ID: <1348596076.8109.YahooMailClassic@...2691...> > > > > Anyway, don't use embedder, it will be removed as it is > a > > X11 specific > > protocol that won't work on Wayland and is not really > > useful. > > > > Regards, > > > > -- > > Beno?t Minisini > > > > Beno?t, I have to say, however, that the Embedder "object/function" it works for me (in other programs). I precise that **Embedder 3.0.0** program doesn't work. Regards vuottt From gambas at ...1... Tue Sep 25 20:07:48 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Sep 2012 20:07:48 +0200 Subject: [Gambas-user] " The program 'Embedder' - BIS In-Reply-To: <1348596076.8109.YahooMailClassic@...2691...> References: <1348596076.8109.YahooMailClassic@...2691...> Message-ID: <5061F2F4.6090506@...1...> Le 25/09/2012 20:01, Ru Vuott a ?crit : > >>> >>> Anyway, don't use embedder, it will be removed as it is >> a >>> X11 specific >>> protocol that won't work on Wayland and is not really >>> useful. >>> >>> Regards, >>> >>> -- >>> Beno?t Minisini >>> >>> > > Beno?t, > > I have to say, however, that the Embedder "object/function" it works for me (in other programs). > > I precise that **Embedder 3.0.0** program doesn't work. > > Regards > vuottt > OK. But I tried the Embedder example, and I successfully embedded the KDE control panel, with gb.qt4 or gb.gt indifferently. So please give more details on your configuratoin and what you are doing exactly with the Embedder example. Regards, -- Beno?t Minisini From vuott at ...325... Tue Sep 25 20:26:29 2012 From: vuott at ...325... (Ru Vuott) Date: Tue, 25 Sep 2012 19:26:29 +0100 (BST) Subject: [Gambas-user] " The program 'Embedder' - BIS In-Reply-To: <5061F2F4.6090506@...1...> Message-ID: <1348597589.32943.YahooMailClassic@...2780...> > > So please give more details on your configuration > > Regards, > > -- > Beno?t Minisini > > Well, this's my configuration: ******************************** [System] OperatingSystem=Linux Kernel=3.2.0-27-generic Architecture=x86_64 Memory=4049596 kB DistributionVendor=LinuxMint DistributionRelease="Linux Mint 13 Maya" Desktop=Gnome [Gambas 3] Version=3.3.0 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 Now, Gambas-3 rev. 5202 ******************************** > and what you are doing exactly with the Embedder example. Simply I wanted to embed the calculator little window. Bye vuotttt From joe1962 at ...626... Tue Sep 25 20:35:58 2012 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 25 Sep 2012 14:35:58 -0400 Subject: [Gambas-user] " The program 'Embedder' received an X Window System error. " In-Reply-To: <5061DAF4.2040907@...1...> References: <1348588974.29492.YahooMailClassic@...2780...> <5061DAF4.2040907@...1...> Message-ID: On 9/25/12, Beno?t Minisini wrote: > Anyway, don't use embedder, it will be removed as it is a X11 specific > protocol that won't work on Wayland and is not really useful. > Oh, dear... We've used embedded apps quite a bit, stuff like cfdisk, gparted and others. Oh well... Regards, Joe1962 From gambas at ...1... Tue Sep 25 20:49:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Sep 2012 20:49:31 +0200 Subject: [Gambas-user] " The program 'Embedder' received an X Window System error. " In-Reply-To: References: <1348588974.29492.YahooMailClassic@...2780...> <5061DAF4.2040907@...1...> Message-ID: <5061FCBB.4070202@...1...> Le 25/09/2012 20:35, Jose J. Rodriguez a ?crit : > On 9/25/12, Beno?t Minisini wrote: >> Anyway, don't use embedder, it will be removed as it is a X11 specific >> protocol that won't work on Wayland and is not really useful. >> > > Oh, dear... We've used embedded apps quite a bit, stuff like cfdisk, > gparted and others. Oh well... > > Regards, > Joe1962 > Don't panic, Wayland is not out. :-) And a lot of other X11 stuff will break. But maybe the embedding protocol will continue to work in X-Wayland? -- Beno?t Minisini From joe1962 at ...626... Tue Sep 25 21:28:08 2012 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Tue, 25 Sep 2012 15:28:08 -0400 Subject: [Gambas-user] " The program 'Embedder' received an X Window System error. " In-Reply-To: <5061FCBB.4070202@...1...> References: <1348588974.29492.YahooMailClassic@...2780...> <5061DAF4.2040907@...1...> <5061FCBB.4070202@...1...> Message-ID: On 9/25/12, Beno?t Minisini wrote: > Le 25/09/2012 20:35, Jose J. Rodriguez a ?crit : >> On 9/25/12, Beno?t Minisini wrote: >>> Anyway, don't use embedder, it will be removed as it is a X11 specific >>> protocol that won't work on Wayland and is not really useful. >>> >> >> Oh, dear... We've used embedded apps quite a bit, stuff like cfdisk, >> gparted and others. Oh well... >> >> Regards, >> Joe1962 >> > > Don't panic, Wayland is not out. :-) And a lot of other X11 stuff will > break. But maybe the embedding protocol will continue to work in X-Wayland? > Ok, I promise not to panic just yet... ;) Regards, Joe1962 From gambas at ...1... Wed Sep 26 00:54:01 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 26 Sep 2012 00:54:01 +0200 Subject: [Gambas-user] Gambas 3 on RPi photo? Message-ID: <50623609.8010700@...1...> Hi, I'm looking for a photograph of Gambas 3 running on RPi. Does anyone have some? And if you have pictures of Gambas 3 on other ARM platforms, I will be glad to get them. It's for a french article on Gambas 3.3. Thanks in advance! Regards, -- Beno?t Minisini From wally at ...2037... Wed Sep 26 08:41:33 2012 From: wally at ...2037... (wally) Date: Wed, 26 Sep 2012 08:41:33 +0200 Subject: [Gambas-user] Gambas 3 on RPi photo? In-Reply-To: <50623609.8010700@...1...> References: <50623609.8010700@...1...> Message-ID: <1711777.VKkdNlZZJ5@...46...> On Wednesday 26 September 2012 00:54:01 Beno?t Minisini wrote: > Hi, > > I'm looking for a photograph of Gambas 3 running on RPi. > > Does anyone have some? > > And if you have pictures of Gambas 3 on other ARM platforms, I will be > glad to get them. It's for a french article on Gambas 3.3. > > Thanks in advance! > > Regards, Hi Benoit, i have a running gambas3.3 (svn) on Raspberry Pi. Usually i work on it using "ssh -X" but i can do a screenshot on a real Monitor also. "photograph of Gambas 3 running on RPi" i assume you are talking about a screenshot. If so, tell me please what you want me to open before taking the screenshot. btw: On RPI i use Gambas to drive the GPIO. This must be done by root. Is there an easy way to run a gambas project as root from within the IDE running as user ? wally From wally at ...2037... Wed Sep 26 09:45:53 2012 From: wally at ...2037... (wally) Date: Wed, 26 Sep 2012 09:45:53 +0200 Subject: [Gambas-user] Gambas 3 on RPi photo? In-Reply-To: <50623609.8010700@...1...> References: <50623609.8010700@...1...> Message-ID: <1870402.zBDgx0APmf@...46...> On Wednesday 26 September 2012 00:54:01 Beno?t Minisini wrote: > Hi, > > I'm looking for a photograph of Gambas 3 running on RPi. > > Does anyone have some? > > And if you have pictures of Gambas 3 on other ARM platforms, I will be > glad to get them. It's for a french article on Gambas 3.3. > > Thanks in advance! > > Regards, like these ? -------------- next part -------------- A non-text attachment was scrubbed... Name: RPI_01.png.tar.gz Type: application/x-compressed-tar Size: 219213 bytes Desc: not available URL: From gambas at ...1... Wed Sep 26 11:21:47 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 26 Sep 2012 11:21:47 +0200 Subject: [Gambas-user] Gambas 3 on RPi photo? In-Reply-To: <1870402.zBDgx0APmf@...46...> References: <50623609.8010700@...1...> <1870402.zBDgx0APmf@...46...> Message-ID: <5062C92B.9090702@...1...> Le 26/09/2012 09:45, wally a ?crit : > On Wednesday 26 September 2012 00:54:01 Beno?t Minisini wrote: >> Hi, >> >> I'm looking for a photograph of Gambas 3 running on RPi. >> >> Does anyone have some? >> >> And if you have pictures of Gambas 3 on other ARM platforms, I will be >> glad to get them. It's for a french article on Gambas 3.3. >> >> Thanks in advance! >> >> Regards, > > > like these ? > Good start. :-) What would be cool is actually a photograph on the plugged Raspberry Pi with a screen, and on the screen Gambas running. Because a screenshot can come from an emulator. :-) Regards, -- Beno?t Minisini From gambas at ...1... Wed Sep 26 11:30:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 26 Sep 2012 11:30:58 +0200 Subject: [Gambas-user] Error after upgrade In-Reply-To: <50618C90.9050604@...626...> References: <50618C90.9050604@...626...> Message-ID: <5062CB52.9010402@...1...> Le 25/09/2012 12:50, Pino Zollo a ?crit : > After the automatic upgrade of Gambas3 on UBUNTU 10.04 Gnome 2.30.2 > > > > /usr/local/bin/gambas3 > > > ERROR: #27: Cannot load component 'gb.qt4': /usr/lib/gambas3/gb.qt4.so: > undefined symbol: GB > > > Salud > > Pino > I think there is a problem in the packaging, because when you compile from sources you don't have that error. Regards, -- Beno?t Minisini From wally at ...2037... Wed Sep 26 12:01:37 2012 From: wally at ...2037... (wally) Date: Wed, 26 Sep 2012 12:01:37 +0200 Subject: [Gambas-user] Gambas 3 on RPi photo? In-Reply-To: <5062C92B.9090702@...1...> References: <50623609.8010700@...1...> <1870402.zBDgx0APmf@...46...> <5062C92B.9090702@...1...> Message-ID: <5074741.BMjD6DSCAu@...46...> On Wednesday 26 September 2012 11:21:47 Beno?t Minisini wrote: > Le 26/09/2012 09:45, wally a ?crit : > > On Wednesday 26 September 2012 00:54:01 Beno?t Minisini wrote: > >> Hi, > >> > >> I'm looking for a photograph of Gambas 3 running on RPi. > >> > >> Does anyone have some? > >> > >> And if you have pictures of Gambas 3 on other ARM platforms, I will be > >> glad to get them. It's for a french article on Gambas 3.3. > >> > >> Thanks in advance! > >> > >> Regards, > > > > like these ? > > Good start. :-) > > What would be cool is actually a photograph on the plugged Raspberry Pi > with a screen, and on the screen Gambas running. Because a screenshot > can come from an emulator. :-) > > Regards, recent posting was too big, but i think it will reach you. From gambas at ...1... Wed Sep 26 12:02:26 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 26 Sep 2012 12:02:26 +0200 Subject: [Gambas-user] Gambas 3 on RPi photo? In-Reply-To: <5074741.BMjD6DSCAu@...46...> References: <50623609.8010700@...1...> <1870402.zBDgx0APmf@...46...> <5062C92B.9090702@...1...> <5074741.BMjD6DSCAu@...46...> Message-ID: <5062D2B2.4040909@...1...> Le 26/09/2012 12:01, wally a ?crit : > > recent posting was too big, but i think it will reach you. > I got it anyway through the mailing-list administration interface. Thanks! -- Beno?t Minisini From joem at ...2671... Wed Sep 26 15:52:21 2012 From: joem at ...2671... (jm) Date: Wed, 26 Sep 2012 14:52:21 +0100 Subject: [Gambas-user] Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu 12.04 In-Reply-To: <5061D119.1050605@...1...> References: <1348492119.5772.7.camel@...2672...> <1348566160.6755.9.camel@...2672...> <5061D119.1050605@...1...> Message-ID: <1348667541.6110.16.camel@...2672...> On Tue, 2012-09-25 at 17:43 +0200, Beno?t Minisini wrote: > Le 25/09/2012 11:42, jm a ?crit : > > Thank you for the fixes in 5197. > > I fixed nothing relating to your problem in r5197, so I think the > problem comes from your system installation. I haven't change my system between 5196 and 5197. The only thing I had done was to do a "chmod -R 777 trunk" in case something was amis with permissions. > > The compiling has got past previous issues and is now moved to the > > opengl module. Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu > > 12.04: > > > > > > Making all in opengl > > make[5]: Entering directory > > `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' > > CXX gb_qt4_opengl_la-main.lo > > In file included from /usr/include/qt4/QtCore/qobject.h:48:0, > > from /usr/include/qt4/QtGui/qwidget.h:46, > > from /usr/include/qt4/QtGui/QWidget:1, > > from ../gb.qt.h:33, > > from main.h:28, > > from main.cpp:26: > > /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of > > 'va_list' has changed in GCC 4.4 > > /usr/bin/moc-qt4 -o CGLarea_moc.cpp CGLarea.h > > CXX gb_qt4_opengl_la-CGLarea_moc.lo > > In file included from /usr/include/qt4/QtCore/qobject.h:48:0, > > from /usr/include/qt4/QtGui/qwidget.h:46, > > from /usr/include/qt4/QtGui/QWidget:1, > > from ../gb.qt.h:33, > > from main.h:28, > > from CGLarea.h:27, > > from CGLarea_moc.cpp:10: > > /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of > > 'va_list' has changed in GCC 4.4 > > CXX gb_qt4_opengl_la-CGLarea.lo > > CGLarea.cpp: In function 'void CGLAREA_text(void*, void*)': > > CGLarea.cpp:110:36: error: 'GL_LIGHTING' was not declared in > > this scope > > make[5]: *** [gb_qt4_opengl_la-CGLarea.lo] Error 1 > > make[5]: Leaving directory > > `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' > > make[4]: *** [all-recursive] Error 1 > > make[4]: Leaving directory > > `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory > > `/home/miniand/Downloads/gambas3/trunk/gb.qt4' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory > > `/home/miniand/Downloads/gambas3/trunk/gb.qt4' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory > > `/home/miniand/Downloads/gambas3/trunk' > > make: *** [all] Error 2 > > > > > > Output of the following script attached: > > ( ./reconf-all; ./configure -C; make ) > output.txt 2>&1 > > > > Regards > > > > Mmm... It seems to be a problem in Qt or OpenGL: which version of Qt do > you use? Please try to add the following line at the beginning of > CGLArea.cpp, line 25: > > #include > > Recompile and tell me the result! The version of qt is qt4 4.8.1 0ubuntu4 Attached the modified recompiled version of 5197. The crashing problem with MK802 solved by others by opening case and attaching heatsink! Its was just too hot inside the case when compiling for hours on end. I order 2nd duplicate device. I should be able to do more things more often from here in. Also attached is the trunk version of 5206. (Same problem at same place as 5197 trunk.) Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: output_5197_CGLArea.cpp_modified.txt.tar.bz2 Type: application/x-bzip-compressed-tar Size: 7100 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: output_5206_trunk.txt.tar.bz2 Type: application/x-bzip-compressed-tar Size: 11291 bytes Desc: not available URL: From gambas at ...1... Wed Sep 26 15:59:17 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 26 Sep 2012 15:59:17 +0200 Subject: [Gambas-user] Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu 12.04 In-Reply-To: <1348667541.6110.16.camel@...2672...> References: <1348492119.5772.7.camel@...2672...> <1348566160.6755.9.camel@...2672...> <5061D119.1050605@...1...> <1348667541.6110.16.camel@...2672...> Message-ID: <50630A35.1030509@...1...> Le 26/09/2012 15:52, jm a ?crit : > On Tue, 2012-09-25 at 17:43 +0200, Beno?t Minisini wrote: >> Le 25/09/2012 11:42, jm a ?crit : >>> Thank you for the fixes in 5197. >> >> I fixed nothing relating to your problem in r5197, so I think the >> problem comes from your system installation. > > I haven't change my system between 5196 and 5197. The only thing I had > done was to do a "chmod -R 777 trunk" in case something was amis > with permissions. > >>> The compiling has got past previous issues and is now moved to the >>> opengl module. Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu >>> 12.04: >>> >>> >>> Making all in opengl >>> make[5]: Entering directory >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' >>> CXX gb_qt4_opengl_la-main.lo >>> In file included from /usr/include/qt4/QtCore/qobject.h:48:0, >>> from /usr/include/qt4/QtGui/qwidget.h:46, >>> from /usr/include/qt4/QtGui/QWidget:1, >>> from ../gb.qt.h:33, >>> from main.h:28, >>> from main.cpp:26: >>> /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of >>> 'va_list' has changed in GCC 4.4 >>> /usr/bin/moc-qt4 -o CGLarea_moc.cpp CGLarea.h >>> CXX gb_qt4_opengl_la-CGLarea_moc.lo >>> In file included from /usr/include/qt4/QtCore/qobject.h:48:0, >>> from /usr/include/qt4/QtGui/qwidget.h:46, >>> from /usr/include/qt4/QtGui/QWidget:1, >>> from ../gb.qt.h:33, >>> from main.h:28, >>> from CGLarea.h:27, >>> from CGLarea_moc.cpp:10: >>> /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of >>> 'va_list' has changed in GCC 4.4 >>> CXX gb_qt4_opengl_la-CGLarea.lo >>> CGLarea.cpp: In function 'void CGLAREA_text(void*, void*)': >>> CGLarea.cpp:110:36: error: 'GL_LIGHTING' was not declared in >>> this scope >>> make[5]: *** [gb_qt4_opengl_la-CGLarea.lo] Error 1 >>> make[5]: Leaving directory >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' >>> make[4]: *** [all-recursive] Error 1 >>> make[4]: Leaving directory >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src' >>> make[3]: *** [all-recursive] Error 1 >>> make[3]: Leaving directory >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4' >>> make[2]: *** [all] Error 2 >>> make[2]: Leaving directory >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4' >>> make[1]: *** [all-recursive] Error 1 >>> make[1]: Leaving directory >>> `/home/miniand/Downloads/gambas3/trunk' >>> make: *** [all] Error 2 >>> >>> >>> Output of the following script attached: >>> ( ./reconf-all; ./configure -C; make ) > output.txt 2>&1 >>> >>> Regards >>> >> >> Mmm... It seems to be a problem in Qt or OpenGL: which version of Qt do >> you use? Please try to add the following line at the beginning of >> CGLArea.cpp, line 25: >> >> #include >> >> Recompile and tell me the result! > > The version of qt is qt4 4.8.1 0ubuntu4 > > Attached the modified recompiled version of 5197. > > The crashing problem with MK802 solved by others by opening case and > attaching heatsink! Its was just too hot inside the case when compiling > for hours on end. I order 2nd duplicate device. > I should be able to do more things more often from here in. > > Also attached is the trunk version of 5206. > (Same problem at same place as 5197 trunk.) > > Regards > > I think there is a problem on what is installed on your system. I don't think it comes from the Gambas sources nor ARM, because Gambas 3 compiles successfully on Raspberry Pi. I saw a reference on "GLES" in the error message. GLES is not compatible with GL: did you install something related to GLES on your system? If this is the case, remove it and try to recompile. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Wed Sep 26 17:56:29 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 26 Sep 2012 18:56:29 +0300 Subject: [Gambas-user] Bug with autocompletion Message-ID: This happens with Gambas 3 rev 5201. I don't know how to reproduce it, but it has happened with autocompletion when I press Tab. [13] Null object. FCompletion.CompleteItem.730 Any clue? Jussi From gambas at ...2524... Wed Sep 26 21:50:09 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 26 Sep 2012 19:50:09 +0000 Subject: [Gambas-user] Issue 332 in gambas: Not able to use Desktop.ActiveWindow to change the active window Message-ID: <0-6813199134517018827-8048974445495127161-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 332 by jonericn... at ...626...: Not able to use Desktop.ActiveWindow to change the active window http://code.google.com/p/gambas/issues/detail?id=332 1) I am not able to use Desktop.ActiveWindow to set the active window, although in the Gambas Documentation, it says that Desktop.ActiveWindow "Returns or sets the current active top-level window." I DO have the gb.desktop component loaded with the program. 2) Version: Gambas 3.3 Operating system: Linux 3.2.0-31-generic Distribution: Xubuntu 12.04 Architecture: x86_64 GUI component: QT4 Desktop used: XFCE 3) I have attached a small program to examine this problem: DesktopActiveWindowBug Thanks for your help,\ Jon Attachments: Desktop.ActiveWindowBug.tar.gz 6.5 KB From nilsson at ...1979... Thu Sep 27 06:21:08 2012 From: nilsson at ...1979... (Carl Nilsson) Date: Thu, 27 Sep 2012 14:21:08 +1000 Subject: [Gambas-user] Installation of Gambas3 in Suse12.2 Message-ID: Dear Moderator: I have installed Suse 12.2 mainly because I want to run gambas on Linux as an alternative to VB6 on Win2K in a modest embedded system. I'm a newbie at Linux (and gambas) but used zypper to (apparently successfully) install gambas3 from /munix9:/gambas/openSUSE_12.2/. However I got the message "could not install gambas3-examples gambas3-gb-net-curl" because "nothing provides gambas3-net = 3.2.1 needed by gambas3-examples gambas3-gb-net-curl-3.21-6-21.i586" Now, as a newbie I'm pretty interested in examples in general, so Question 1 is whether or not I should concern myself about that and Question 2 is how would I go about remedying that omission. I take it gambas3-net = 3.2.1 is some sort of dependency - how widely needed I am unsure. A quick google search suggests that gambas3-gb-net-curl (or at least one version) is a component package for "net-curl" - is part of a Fedora package for X86 64 machines. I am 32 bit (i586) at this stage, so maybe I can ignore the whole bit - and I don't need my gambas project to work on/with the net or with URLs, which I gather is what cURL refers to. Helpful comments? Carl S Nilsson 137 Gordons Hill Road Lindisfarne, Tas. Australia 7015 From ulusoyab at ...43... Thu Sep 27 13:39:39 2012 From: ulusoyab at ...43... (abdurrahman ulusoy) Date: Thu, 27 Sep 2012 04:39:39 -0700 (PDT) Subject: [Gambas-user] gbr3: no project file in '/usr/local/bin/gambas3'. Message-ID: <1348745979.46373.YahooMailNeo@...2230...> error; ? ?? gbr3: no project file in '/usr/local/bin/gambas3'. ulusoy$ gambas3 gbr3: no project file in '/usr/local/bin/gambas3'. ulusoy$ cd /usr/local/bin/ ulusoy /usr/local/bin$ dir bugpointgbs3.gambas llvm-config llvm-mc ? ? ? llvm-stress gambas3gbw3 llvm-cov llvm-nm ? ? ? llvm-stub gambas3.gambasgbx3 llvm-diff llvm-objdump ?llvm-tblgen gba3llc llvm-dis llvm-prof ? ? macho-dump gbc3lli llvm-dwarfdump ?llvm-ranlib ? opt gbi3llvm-ar llvm-extract llvm-readobj gbr3llvm-as llvm-ld llvm-rtdyld gbs3llvm-bcanalyzer ?llvm-link llvm-size ulusoy at ...3016...:/usr/local/bin$? gambas3 version: 3.3.1 Distribution: ?Ubuntu 12.04.1 LTS 32 bit + Xubuntu lubuntu kubuntu GUI component: ubuntu - xfce- lxde - QT4 ? Abdurrahman ULUSOY Ulusoy Mekatronik From wally at ...2037... Thu Sep 27 18:38:02 2012 From: wally at ...2037... (wally) Date: Thu, 27 Sep 2012 18:38:02 +0200 Subject: [Gambas-user] Raspberry Gambas3 WiringPi Message-ID: <2410958.JGyE7A65EO@...46...> Hello, i think this might be interesting for gambas3 users on Raspberry PI. Gambas3-example using Gordons wiringpi library https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/ to drive GPIO on a raspberry. If there would be sufficient general interest, maybe a gambas-component "gb.raspi" would make sense. wally -------------- next part -------------- A non-text attachment was scrubbed... Name: wiringpi_so_gb3_002-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5845 bytes Desc: not available URL: From jussi.lahtinen at ...626... Thu Sep 27 19:03:47 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 27 Sep 2012 20:03:47 +0300 Subject: [Gambas-user] gbr3: no project file in '/usr/local/bin/gambas3'. In-Reply-To: <1348745979.46373.YahooMailNeo@...2230...> References: <1348745979.46373.YahooMailNeo@...2230...> Message-ID: Did you install binaries from some repository? Or did you compile from sources? I would guess you installed incorrectly packaged binaries. Jussi On Thu, Sep 27, 2012 at 2:39 PM, abdurrahman ulusoy wrote: > error; > gbr3: no project file in '/usr/local/bin/gambas3'. > > > ulusoy$ gambas3 > gbr3: no project file in '/usr/local/bin/gambas3'. > > ulusoy$ cd /usr/local/bin/ > > ulusoy /usr/local/bin$ dir > bugpointgbs3.gambas llvm-config llvm-mc llvm-stress > gambas3gbw3 llvm-cov llvm-nm llvm-stub > gambas3.gambasgbx3 llvm-diff llvm-objdump llvm-tblgen > gba3llc llvm-dis llvm-prof macho-dump > gbc3lli llvm-dwarfdump llvm-ranlib opt > gbi3llvm-ar llvm-extract llvm-readobj > gbr3llvm-as llvm-ld llvm-rtdyld > gbs3llvm-bcanalyzer llvm-link llvm-size > ulusoy at ...3016...:/usr/local/bin$ > > > gambas3 version: 3.3.1 > Distribution: Ubuntu 12.04.1 LTS 32 bit + Xubuntu lubuntu kubuntu > GUI component: ubuntu - xfce- lxde - QT4 > > > Abdurrahman ULUSOY > Ulusoy Mekatronik > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From math.eber at ...221... Thu Sep 27 20:23:04 2012 From: math.eber at ...221... (Matti) Date: Thu, 27 Sep 2012 20:23:04 +0200 Subject: [Gambas-user] Installation of Gambas3 in Suse12.2 In-Reply-To: References: Message-ID: <50649988.5020706@...221...> Hi Carl, I guess that the packager forgot a requirement. See http://gambasdoc.org/help/install?v3 So, open YaST2, search for "libcurl" and install libcurl4 and libcurl-devel. Let's see if this helps. Matti Am 27.09.2012 06:21, schrieb Carl Nilsson: > Dear Moderator: > I have installed Suse 12.2 mainly because I want to run gambas on > Linux as an alternative to VB6 on Win2K in a modest embedded > system. I'm a newbie at Linux (and gambas) but used zypper to > (apparently successfully) install gambas3 from > /munix9:/gambas/openSUSE_12.2/. However I got the message "could not > install gambas3-examples gambas3-gb-net-curl" because "nothing > provides gambas3-net = 3.2.1 needed by gambas3-examples > gambas3-gb-net-curl-3.21-6-21.i586" Now, as a newbie I'm pretty > interested in examples in general, so Question 1 is whether or not I > should concern myself about that and Question 2 is how would I go > about remedying that omission. I take it gambas3-net = 3.2.1 is some > sort of dependency - how widely needed I am unsure. A quick google > search suggests that gambas3-gb-net-curl (or at least one version) is > a component package for "net-curl" - is part of a Fedora package for > X86 64 machines. I am 32 bit (i586) at this stage, so maybe I can > ignore the whole bit - and I don't need my gambas project to work > on/with the net or with URLs, which I gather is what cURL refers > to. Helpful comments? > > Carl S Nilsson > 137 Gordons Hill Road > Lindisfarne, Tas. > Australia 7015 > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Thu Sep 27 21:12:47 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 27 Sep 2012 21:12:47 +0200 Subject: [Gambas-user] Need personal help In-Reply-To: References: Message-ID: Do know the trademark of this plug rj45 ? And the maker. Cf photo Thank you -------------- next part -------------- A non-text attachment was scrubbed... Name: IMAG0223.jpg Type: image/jpeg Size: 76838 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMAG0225.jpg Type: image/jpeg Size: 135070 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IMAG0222.jpg Type: image/jpeg Size: 92381 bytes Desc: not available URL: From jussi.lahtinen at ...626... Thu Sep 27 21:15:34 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 27 Sep 2012 22:15:34 +0300 Subject: [Gambas-user] Bug with autocompletion In-Reply-To: References: Message-ID: OK, I got it. Write following text: If 1=2 The And then hit tab. --> Crash. This can be fixed by adding this to CompleteItem() sub: If IsNull(gvwComp.Current) = True Then gvwComp.MoveTo(0, 0) Endif Thought, I don't know root reason for this bug, and so this may not be the desired fix. Jussi On Wed, Sep 26, 2012 at 6:56 PM, Jussi Lahtinen wrote: > This happens with Gambas 3 rev 5201. > > I don't know how to reproduce it, but it has happened with autocompletion > when I press Tab. > > [13] Null object. > FCompletion.CompleteItem.730 > > Any clue? > > > Jussi > From jussi.lahtinen at ...626... Thu Sep 27 21:19:31 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 27 Sep 2012 22:19:31 +0300 Subject: [Gambas-user] Bug with autocompletion In-Reply-To: References: Message-ID: Damn... I see, it was fixed already. Forgot to svn update. Jussi On Thu, Sep 27, 2012 at 10:15 PM, Jussi Lahtinen wrote: > OK, I got it. > Write following text: > > If 1=2 The > > And then hit tab. --> Crash. > > This can be fixed by adding this to CompleteItem() sub: > > If IsNull(gvwComp.Current) = True Then > gvwComp.MoveTo(0, 0) > Endif > > Thought, I don't know root reason for this bug, and so this may not be the > desired fix. > > Jussi > > > > > > > On Wed, Sep 26, 2012 at 6:56 PM, Jussi Lahtinen wrote: > >> This happens with Gambas 3 rev 5201. >> >> I don't know how to reproduce it, but it has happened with autocompletion >> when I press Tab. >> >> [13] Null object. >> FCompletion.CompleteItem.730 >> >> Any clue? >> >> >> Jussi >> > > From gambas at ...2524... Thu Sep 27 23:07:55 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Sep 2012 21:07:55 +0000 Subject: [Gambas-user] Issue 333 in gambas: In the report the spacing changed in the latest version Message-ID: <0-6813199134517018827-7403926108844578107-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 333 by flynetin... at ...626...: In the report the spacing changed in the latest version http://code.google.com/p/gambas/issues/detail?id=333 1) I have an application with a report that was working properly and as of the latest version of shrimp, the report comes out with a different spacing. For this reason the reports out messy and several pages. In previous versions the report was correct. What may have changed for this to happen? How I can fix it? thanks 2) [System] OperatingSystem=Linux Kernel=3.2.0-31-generic Architecture=i686 Memory=1797872 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04.1 LTS" Desktop=Gnome [Gambas 3] Version=3.3.0 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 3) Attached the code used Attachments: reporte.tar.gz 7.4 KB From sunblaster5 at ...626... Thu Sep 27 23:19:36 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 27 Sep 2012 14:19:36 -0700 Subject: [Gambas-user] TableView Data from database Message-ID: <5064C2E8.9000903@...626...> I'm using a Table view to view data from an SQLite database. I would use a dataview but I only need to display some database fields not all of them. This is the code I have so far: Public Sub Form_Open() Dim sResult As Result Dim id As Integer TableView1.Columns.Count = 3 TableView1.Rows.Count = 10 TableView1.Columns[0].Title = ("ID") TableView1.Columns[0].Width = (TableView1.Width / 10) * 2 TableView1.Columns[1].Title = ("Location") TableView1.Columns[1].Width = (TableView1.Width / 10) * 4.5 TableView1.Columns[2].Title = ("Days Left") TableView1.Columns[2].Width = (TableView1.Width / 10) * 2 sResult = DB.Edit("inventory", id = &1, ID) sResult!id = ID sResult!location = TableView1.Columns[1]. sResult.Update I obviously get an error at runtime on the second to last line as I'm not sure how to put data from the database into the table column. I believe I asked this question before using a dataview on how to display only some data from the database as using a dataview would be easier but I never got a response so I'm trying a table view as it has more options--at least I think so. Any help would be appreciated. From gambas at ...1... Thu Sep 27 23:51:11 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Sep 2012 23:51:11 +0200 Subject: [Gambas-user] Embeded HTTP server Message-ID: <5064CA4F.1030507@...1...> Hi, In revision #5209, I have added an experimental new feature to the interpreter, which is an... embedded HTTP server. At the moment, you can only use it from the command line. By running the interpreter with the '-H' option, the current project is run as a CGI script from an embedded HTTP server. In other words, provided that your application is a CGI script, running it with the '-H' option transforms it into a running local web site. For example: $ cd /path/to/my/cgi/script/project $ GB_HTTPD_PORT=8000 gbx3 -H ... [Hit ^C to stop it] $ Note the GB_HTTPD_PORT environmental variable that is needed, otherwise the embedded HTTP server will try the port 80, which is reserved to root. How does it work? "gbx3 -H" will just run the embedded HTTP server, and when a request arrives, it will fork and run the Gambas interpreter normally. As many initialization have already been done by the HTTP server (all components have been loaded), the CGI script should run faster than when it is run from a normal HTTP server like Apache. Another variable is GB_HTTPD_TIMEOUT, which is how many seconds a CGI script can run before being killed by the HTTP server. I made that feature so that we will be able to debug web application directly from the IDE. Actually I don't know if this is possible. I mean: running a CGI script step by step like a normal program while the HTTP server is running and serving other HTTP request from the same CGI script! Anyway, even if it is not possible at the moment, that feature will allow to run a Gambas project as a full standalone http server serving a complete website. I hope some of you will find that interesting. :-) Regards, -- Beno?t Minisini From gambas at ...2524... Fri Sep 28 00:17:03 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Sep 2012 22:17:03 +0000 Subject: [Gambas-user] Issue 333 in gambas: In the report the spacing changed in the latest version In-Reply-To: <0-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 333 by gambas... at ...626...: In the report the spacing changed in the latest version http://code.google.com/p/gambas/issues/detail?id=333 (No comment was entered for this change.) From gambas at ...2524... Fri Sep 28 00:21:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Sep 2012 22:21:15 +0000 Subject: [Gambas-user] Issue 333 in gambas: In the report the spacing changed in the latest version In-Reply-To: <1-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> <0-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #2 on issue 333 by gambas... at ...626...: In the report the spacing changed in the latest version http://code.google.com/p/gambas/issues/detail?id=333 I can't test with your example... try to sand me some thing thatedt work ... and screenshot of what you want and then what you get now. From adrien.prokopowicz at ...626... Fri Sep 28 00:54:04 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 28 Sep 2012 00:54:04 +0200 Subject: [Gambas-user] Embeded HTTP server In-Reply-To: <5064CA4F.1030507@...1...> References: <5064CA4F.1030507@...1...> Message-ID: <20120928005404.0938a569@...626...> Wow, that sounds great ! Thanks Beno?t ! :-) I will try it out right now, and see what I can already do with that. Just one little question : as you say that the interpreter makes many initializations, is the project (and all its data, and maybe translation files) loaded as well ? This can affect a lot the execution time. I will see if apache can redirect the HTTP request to the interpreter, so that Apache will handle serving static files (CSS/JS/Images ...) and rewrite some URLs. It could be a workaround until the gb.httpd server can handle all that. I don't think I will sleep a lot tonight ! Regards, Adrien. Le Thu, 27 Sep 2012 23:51:11 +0200, Beno?t Minisini a ?crit : > Hi, > > In revision #5209, I have added an experimental new feature to the > interpreter, which is an... embedded HTTP server. > > At the moment, you can only use it from the command line. > > By running the interpreter with the '-H' option, the current project > is run as a CGI script from an embedded HTTP server. > > In other words, provided that your application is a CGI script, > running it with the '-H' option transforms it into a running local > web site. > > For example: > > $ cd /path/to/my/cgi/script/project > $ GB_HTTPD_PORT=8000 gbx3 -H > ... > [Hit ^C to stop it] > $ > > Note the GB_HTTPD_PORT environmental variable that is needed, > otherwise the embedded HTTP server will try the port 80, which is > reserved to root. > > How does it work? "gbx3 -H" will just run the embedded HTTP server, > and when a request arrives, it will fork and run the Gambas > interpreter normally. As many initialization have already been done > by the HTTP server (all components have been loaded), the CGI script > should run faster than when it is run from a normal HTTP server like > Apache. > > Another variable is GB_HTTPD_TIMEOUT, which is how many seconds a CGI > script can run before being killed by the HTTP server. > > I made that feature so that we will be able to debug web application > directly from the IDE. Actually I don't know if this is possible. I > mean: running a CGI script step by step like a normal program while > the HTTP server is running and serving other HTTP request from the > same CGI script! > > Anyway, even if it is not possible at the moment, that feature will > allow to run a Gambas project as a full standalone http server > serving a complete website. > > I hope some of you will find that interesting. :-) > > Regards, > From gambas at ...1... Fri Sep 28 01:06:57 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Sep 2012 01:06:57 +0200 Subject: [Gambas-user] Embeded HTTP server In-Reply-To: <20120928005404.0938a569@...626...> References: <5064CA4F.1030507@...1...> <20120928005404.0938a569@...626...> Message-ID: <5064DC11.7000605@...1...> Le 28/09/2012 00:54, Adrien Prokopowicz a ?crit : > > Wow, that sounds great ! Thanks Beno?t ! :-) > I will try it out right now, and see what I can already do with that. > Just one little question : as you say that the interpreter makes many > initializations, is the project (and all its data, and maybe > translation files) loaded as well ? This can affect a lot the execution > time. At the moment, the HTTP server is run just after the ".project" file has been loaded, analyzed, and the required components loaded. When it forks to actually run the project, the _init() functions of all exported classes from components written in Gambas are called, the main hooks are run, and then the Main() function of the startup class is run. As for translation files, they are always loaded the later as possible (when the first translated string of the component or the project is needed). > > I will see if apache can redirect the HTTP request to the interpreter, > so that Apache will handle serving static files (CSS/JS/Images ...) and > rewrite some URLs. It could be a workaround until the gb.httpd server > can handle all that. gb.httpd is intended to serve only what is inside the project. I think it could be modified so that it serves static files located inside the project without running the CGI script. Regards, -- Beno?t Minisini From gambas at ...2524... Fri Sep 28 02:32:07 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 28 Sep 2012 00:32:07 +0000 Subject: [Gambas-user] Issue 333 in gambas: In the report the spacing changed in the latest version In-Reply-To: <2-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> <0-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> Comment #3 on issue 333 by flynetin... at ...626...: In the report the spacing changed in the latest version http://code.google.com/p/gambas/issues/detail?id=333 these reports should be equal. Is one before and another after the update Attachments: before.pdf 210 KB after.pdf 114 KB From nilsson at ...1979... Fri Sep 28 03:30:57 2012 From: nilsson at ...1979... (Carl Nilsson) Date: Fri, 28 Sep 2012 11:30:57 +1000 Subject: [Gambas-user] Installation of Gambas3 in Suse12.2 In-Reply-To: <50649988.5020706@...221...> References: <50649988.5020706@...221...> Message-ID: Matti: Thank you for your helpful reply. (I'm not exactly sure how this mailing list works - I presume you and other subscribers receive this posting). Your reference to the install guide below is seems most helpful. I am hard-pressed for time at the moment, but will try again when I can. Late last night, I did use Yast to find a gb-net-curl for i586 and got that installed. Then my gambas examples showed, but I think I am only half-way there. I cannot seem to get the components (widgets) to show for the examples and my form remains blank for any example. Nor do the libraries list. So I will try deleting the installation and starting again on the basis of the help/install file below. My next question is that your install/help file relates to Suse 10.2. I have a reliable install of 10.0 on one computer and a new install of 12.2 on the one on which I am trying out gambas. Not 100% confident of the 12.2 install at the moment, but seems to work. (Boots to a rather blank green screen (KDE desktop) , no icons, no gecko, just enough on the taskbar at the bottom to get going). Anyway, should your install instructions for gambas3 apply equally well to Suse 12.2 as 10.2 and have Opensuse got their gambas distro right now or do the comments about not using their gambas installation still apply? I might add that I do not necessarily need the latest and the best from either openSUSE or gambas for what I have to do. I thought choosing the latest in each case might make thinks easier for a newbie to both, but I'm open to installing earlier versions if that seemed desirable. The gambas software I hope to write is really a translation (or porting) of my existing VB6 software that runs on Win 2K. It is heavy on serial ports, comms and some (arithmetical) calculations, uses timers, but that's about all. At this stage I really just wanted to make sure gambas could do the job. Thanks for your time. Carl At 04:23 AM 28/09/2012, you wrote: >Hi Carl, > >I guess that the packager forgot a requirement. See >http://gambasdoc.org/help/install?v3 > >So, open YaST2, search for "libcurl" and install libcurl4 and libcurl-devel. > >Let's see if this helps. > >Matti > > >Am 27.09.2012 06:21, schrieb Carl Nilsson: > > Dear Moderator: > > I have installed Suse 12.2 mainly because I want to run gambas on > > Linux as an alternative to VB6 on Win2K in a modest embedded > > system. I'm a newbie at Linux (and gambas) but used zypper to > > (apparently successfully) install gambas3 from > > /munix9:/gambas/openSUSE_12.2/. However I got the message "could not > > install gambas3-examples gambas3-gb-net-curl" because "nothing > > provides gambas3-net = 3.2.1 needed by gambas3-examples > > gambas3-gb-net-curl-3.21-6-21.i586" Now, as a newbie I'm pretty > > interested in examples in general, so Question 1 is whether or not I > > should concern myself about that and Question 2 is how would I go > > about remedying that omission. I take it gambas3-net = 3.2.1 is some > > sort of dependency - how widely needed I am unsure. A quick google > > search suggests that gambas3-gb-net-curl (or at least one version) is > > a component package for "net-curl" - is part of a Fedora package for > > X86 64 machines. I am 32 bit (i586) at this stage, so maybe I can > > ignore the whole bit - and I don't need my gambas project to work > > on/with the net or with URLs, which I gather is what cURL refers > > to. Helpful comments? > > > > Carl S Nilsson > > 137 Gordons Hill Road > > Lindisfarne, Tas. > > Australia 7015 > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >------------------------------------------------------------------------------ >Everyone hates slow websites. So do we. >Make your web apps faster with AppDynamics >Download AppDynamics Lite for free today: >http://ad.doubleclick.net/clk;258768047;13503038;j? >http://info.appdynamics.com/FreeJavaPerformanceDownload.html >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user Carl S Nilsson 137 Gordons Hill Road Lindisfarne, Tas. Australia 7015 From wally at ...2037... Fri Sep 28 08:22:04 2012 From: wally at ...2037... (wally) Date: Fri, 28 Sep 2012 08:22:04 +0200 Subject: [Gambas-user] Embeded HTTP server In-Reply-To: <5064DC11.7000605@...1...> References: <5064CA4F.1030507@...1...> <20120928005404.0938a569@...626...> <5064DC11.7000605@...1...> Message-ID: <4513790.Agh3C7MagN@...46...> On Friday 28 September 2012 01:06:57 Beno?t Minisini wrote: > Le 28/09/2012 00:54, Adrien Prokopowicz a ?crit : > > Wow, that sounds great ! Thanks Beno?t ! :-) > > I will try it out right now, and see what I can already do with that. > > Just one little question : as you say that the interpreter makes many > > initializations, is the project (and all its data, and maybe > > translation files) loaded as well ? This can affect a lot the execution > > time. > > At the moment, the HTTP server is run just after the ".project" file has > been loaded, analyzed, and the required components loaded. When it forks > to actually run the project, the _init() functions of all exported > classes from components written in Gambas are called, the main hooks are > run, and then the Main() function of the startup class is run. > > As for translation files, they are always loaded the later as possible > (when the first translated string of the component or the project is > needed). > > > I will see if apache can redirect the HTTP request to the interpreter, > > so that Apache will handle serving static files (CSS/JS/Images ...) and > > rewrite some URLs. It could be a workaround until the gb.httpd server > > can handle all that. > > gb.httpd is intended to serve only what is inside the project. I think > it could be modified so that it serves static files located inside the > project without running the CGI script. > > Regards, How can i use it and take advantage of this feature if i do not know all the details ? e.g. can i run a gmbas project using gb.httpd on PC1 (or raspberry) and access the running project via http from another machine PC2 ? From bespalov.av at ...626... Fri Sep 28 09:07:44 2012 From: bespalov.av at ...626... (=?KOI8-R?B?4czFy9PFyiDixdPQwczP1w==?=) Date: Fri, 28 Sep 2012 14:07:44 +0700 Subject: [Gambas-user] TableView Data from database In-Reply-To: <5064C2E8.9000903@...626...> References: <5064C2E8.9000903@...626...> Message-ID: It do that: sResult = DB.Edit("inventory", id = &1, ID) sResult!id = ID 'sResult!location = TableView1.Columns[1]. * sResult!location = TableView1[TableView1.Row, 1].Text* sResult.Update 2012/9/28 rocko > I'm using a Table view to view data from an SQLite database. > I would use a dataview but I only need to display some database fields > not all of them. > > This is the code I have so far: > Public Sub Form_Open() > > Dim sResult As Result > Dim id As Integer > > TableView1.Columns.Count = 3 > TableView1.Rows.Count = 10 > > TableView1.Columns[0].Title = ("ID") > TableView1.Columns[0].Width = (TableView1.Width / 10) * 2 > TableView1.Columns[1].Title = ("Location") > TableView1.Columns[1].Width = (TableView1.Width / 10) * 4.5 > TableView1.Columns[2].Title = ("Days Left") > TableView1.Columns[2].Width = (TableView1.Width / 10) * 2 > > sResult = DB.Edit("inventory", id = &1, ID) > sResult!id = ID > sResult!location = TableView1.Columns[1]. > sResult.Update > > I obviously get an error at runtime on the second to last line as I'm > not sure how to put data from the database into the table column. > > I believe I asked this question before using a dataview on how to > display only some data from the database as using a dataview would be > easier but I never got a response so I'm trying a table view as it has > more options--at least I think so. > > Any help would be appreciated. > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- ____ ? ????????? ???????. From gambas at ...2524... Fri Sep 28 09:43:11 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 28 Sep 2012 07:43:11 +0000 Subject: [Gambas-user] Issue 333 in gambas: In the report the spacing changed in the latest version In-Reply-To: <3-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> <0-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-7403926108844578107-gambas=googlecode.com@...2524...> Updates: Status: Started Comment #4 on issue 333 by gambas... at ...626...: In the report the spacing changed in the latest version http://code.google.com/p/gambas/issues/detail?id=333 Can you try with the last svn ? From mike.crean at ...2897... Fri Sep 28 10:55:46 2012 From: mike.crean at ...2897... (Mike Crean) Date: Fri, 28 Sep 2012 01:55:46 -0700 (PDT) Subject: [Gambas-user] Need personal help In-Reply-To: References: Message-ID: <1348822546.81692.YahooMailNeo@...2904...> Hi Fabien, this may help http://en.wikipedia.org/wiki/Registered_jack ? regards Mike ________________________________ From: Fabien Bodard To: gambas-user at lists.sourceforge.net Sent: Friday, 28 September 2012 3:12 AM Subject: [Gambas-user] Need personal help Do know the trademark of this plug rj45 ? And the maker. Cf photo Thank you ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From mike.crean at ...2897... Fri Sep 28 11:30:51 2012 From: mike.crean at ...2897... (Mike Crean) Date: Fri, 28 Sep 2012 02:30:51 -0700 (PDT) Subject: [Gambas-user] Gambas 3 on RPi photo? In-Reply-To: <5062D2B2.4040909@...1...> References: <50623609.8010700@...1...> <1870402.zBDgx0APmf@...46...> <5062C92B.9090702@...1...> <5074741.BMjD6DSCAu@...46...> <5062D2B2.4040909@...1...> Message-ID: <1348824651.81140.YahooMailNeo@...3020...> Benoit, I have attached some photos of GB3 on Pi hope you get them. If not let me know how I can send the photos to you. GB on Pi 1 Raspbian?and Gambas on Raspberry Pi. GB on Pi 2 Gambas 3.2.1 opening screen. GB on Pi 3 Edit screen for the Serial Port demo. GB on Pi 4 IDE WSWYG screen for the serial Port demo. GB on Pi 5 My Gambas I/O AD port test application. GB on Pi 6 Rpi connected to Arduino Uno & my I/O Shield on top with 3 outputs on. GB on Pi 7 Rpi & Uno under my I/O shield with 1 output on. My I/O shield has 6 by 5 to 30VDC digital inputs, 6 by 0 to 5VDC Analog inputs & 6 open collector outputs 5 to 30VDC at 150 ma each. I will have my web site up in a few days and let you all know about it here. Looks like the 7 phots I sent are to big for the mailing list. Let me know if I can send them another way. Regards Mike mike.crean at ...2897... ________________________________ From: Beno?t Minisini To: mailing list for gambas users Sent: Wednesday, 26 September 2012 6:02 PM Subject: Re: [Gambas-user] Gambas 3 on RPi photo? Le 26/09/2012 12:01, wally a ?crit : > > recent posting was too big, but i think it will reach you. > I got it anyway through the mailing-list administration interface. Thanks! -- Beno?t Minisini ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Sep 28 12:10:48 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Sep 2012 12:10:48 +0200 Subject: [Gambas-user] Gambas 3 on RPi photo? In-Reply-To: <1348824651.81140.YahooMailNeo@...3020...> References: <50623609.8010700@...1...> <1870402.zBDgx0APmf@...46...> <5062C92B.9090702@...1...> <5074741.BMjD6DSCAu@...46...> <5062D2B2.4040909@...1...> <1348824651.81140.YahooMailNeo@...3020...> Message-ID: <506577A8.7060209@...1...> Le 28/09/2012 11:30, Mike Crean a ?crit : > Benoit, I have attached some photos of GB3 on Pi hope you > get them. If not let me know how I can send the photos to you. > GB on Pi 1 Raspbian and Gambas on Raspberry Pi. > GB on Pi 2 Gambas 3.2.1 opening screen. > GB on Pi 3 Edit screen for the Serial Port demo. > GB on Pi 4 IDE WSWYG screen for the serial Port demo. > GB on Pi 5 My Gambas I/O AD port test application. > GB on Pi 6 Rpi connected to Arduino Uno & my I/O Shield > on top with 3 outputs on. > GB on Pi 7 Rpi & Uno under my I/O shield with 1 output > on. > My I/O shield has 6 by 5 to 30VDC digital inputs, 6 by 0 to > 5VDC Analog inputs & 6 open collector outputs 5 to 30VDC at 150 ma each. > I will have my web site up in a few days and let you all > know about it here. > Looks like the 7 phots I sent are to big for the mailing list. > Let me know if I can send them another way. > Regards > Mike > mike.crean at ...2897... > Thanks. As I said before, don't send big mails to the mailing-list, i's useless as they are (hopefully) rejected. Just send them to my private e-mail, there is no limit there. Regards, -- Beno?t Minisini From john.aaron.rose at ...626... Fri Sep 28 12:29:06 2012 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 28 Sep 2012 11:29:06 +0100 Subject: [Gambas-user] Faults on new Project name Message-ID: Thanks, Benoit, for the tip on changing the icon in the new project, by clicking on the big icon button in the first tab of the project property dialog. As I said in my previous message on this thread, the entry in the Main Menu (for launching the new app) is not generated by .gdebi. Why is this? PS Benoit subsequently replied: "The menu groups listed in the dialog are defined there: http://www.debian.org/doc/packaging-manuals/menu-policy/ch2.html#s2.1 Then you have the "categories" on the bottom of the dialog, that you can actually change independently of the menu group. I don't know how Ubuntu translates the menu group defined there into the actual menu hierarchy. If anyone has an idea?". Any ideas? From mike.crean at ...2897... Fri Sep 28 12:58:06 2012 From: mike.crean at ...2897... (Mike Crean) Date: Fri, 28 Sep 2012 03:58:06 -0700 (PDT) Subject: [Gambas-user] Need personal help In-Reply-To: References: Message-ID: <1348829886.48720.YahooMailNeo@...2904...> Looks like an industrial RJ45 modular plug. http://www.digikey.com/product-highlights/us/en/3m-3r108-series-industrial-rj45-modular-plug/2549 http://www.industrysearch.com.au/HARTING-RJ-Industrial-10G-Rj45-Plug-For-10gigabit-Ethernet/p/63350 http://www.automation.siemens.com/mcms/industrial-communication/en/ie/cabling-technology/fast-connect-rj45-plug/pages/fast-connect-rj45-plug.aspx ? Regards Mike ________________________________ From: Fabien Bodard To: gambas-user at lists.sourceforge.net Sent: Friday, 28 September 2012 3:12 AM Subject: [Gambas-user] Need personal help Do know the trademark of this plug rj45 ? And the maker. Cf photo Thank you ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From joem at ...2671... Fri Sep 28 13:12:34 2012 From: joem at ...2671... (jm) Date: Fri, 28 Sep 2012 12:12:34 +0100 Subject: [Gambas-user] [SOLVED] - MK802 Allwinner A10 running Gambas3 In-Reply-To: <50630A35.1030509@...1...> References: <1348492119.5772.7.camel@...2672...> <1348566160.6755.9.camel@...2672...> <5061D119.1050605@...1...> <1348667541.6110.16.camel@...2672...> <50630A35.1030509@...1...> Message-ID: <1348830754.1789.4.camel@...2672...> On Wed, 2012-09-26 at 15:59 +0200, Beno?t Minisini wrote: > Le 26/09/2012 15:52, jm a ?crit : > > On Tue, 2012-09-25 at 17:43 +0200, Beno?t Minisini wrote: > >> Le 25/09/2012 11:42, jm a ?crit : > >>> Thank you for the fixes in 5197. > >> > >> I fixed nothing relating to your problem in r5197, so I think the > >> problem comes from your system installation. > > > > I haven't change my system between 5196 and 5197. The only thing I had > > done was to do a "chmod -R 777 trunk" in case something was amis > > with permissions. > > > >>> The compiling has got past previous issues and is now moved to the > >>> opengl module. Compile error for 5197 in opengl, ARM A10 SoC, Lubuntu > >>> 12.04: > >>> > >>> > >>> Making all in opengl > >>> make[5]: Entering directory > >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' > >>> CXX gb_qt4_opengl_la-main.lo > >>> In file included from /usr/include/qt4/QtCore/qobject.h:48:0, > >>> from /usr/include/qt4/QtGui/qwidget.h:46, > >>> from /usr/include/qt4/QtGui/QWidget:1, > >>> from ../gb.qt.h:33, > >>> from main.h:28, > >>> from main.cpp:26: > >>> /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of > >>> 'va_list' has changed in GCC 4.4 > >>> /usr/bin/moc-qt4 -o CGLarea_moc.cpp CGLarea.h > >>> CXX gb_qt4_opengl_la-CGLarea_moc.lo > >>> In file included from /usr/include/qt4/QtCore/qobject.h:48:0, > >>> from /usr/include/qt4/QtGui/qwidget.h:46, > >>> from /usr/include/qt4/QtGui/QWidget:1, > >>> from ../gb.qt.h:33, > >>> from main.h:28, > >>> from CGLarea.h:27, > >>> from CGLarea_moc.cpp:10: > >>> /usr/include/qt4/QtCore/qstring.h:174:17: note: the mangling of > >>> 'va_list' has changed in GCC 4.4 > >>> CXX gb_qt4_opengl_la-CGLarea.lo > >>> CGLarea.cpp: In function 'void CGLAREA_text(void*, void*)': > >>> CGLarea.cpp:110:36: error: 'GL_LIGHTING' was not declared in > >>> this scope > >>> make[5]: *** [gb_qt4_opengl_la-CGLarea.lo] Error 1 > >>> make[5]: Leaving directory > >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src/opengl' > >>> make[4]: *** [all-recursive] Error 1 > >>> make[4]: Leaving directory > >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4/src' > >>> make[3]: *** [all-recursive] Error 1 > >>> make[3]: Leaving directory > >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4' > >>> make[2]: *** [all] Error 2 > >>> make[2]: Leaving directory > >>> `/home/miniand/Downloads/gambas3/trunk/gb.qt4' > >>> make[1]: *** [all-recursive] Error 1 > >>> make[1]: Leaving directory > >>> `/home/miniand/Downloads/gambas3/trunk' > >>> make: *** [all] Error 2 > >>> > >>> > >>> Output of the following script attached: > >>> ( ./reconf-all; ./configure -C; make ) > output.txt 2>&1 > >>> > >>> Regards > >>> > >> > >> Mmm... It seems to be a problem in Qt or OpenGL: which version of Qt do > >> you use? Please try to add the following line at the beginning of > >> CGLArea.cpp, line 25: > >> > >> #include > >> > >> Recompile and tell me the result! > > > > The version of qt is qt4 4.8.1 0ubuntu4 > > > > Attached the modified recompiled version of 5197. > > > > The crashing problem with MK802 solved by others by opening case and > > attaching heatsink! Its was just too hot inside the case when compiling > > for hours on end. I order 2nd duplicate device. > > I should be able to do more things more often from here in. > > > > Also attached is the trunk version of 5206. > > (Same problem at same place as 5197 trunk.) > > > > Regards > > > > > > I think there is a problem on what is installed on your system. I don't > think it comes from the Gambas sources nor ARM, because Gambas 3 > compiles successfully on Raspberry Pi. > > I saw a reference on "GLES" in the error message. GLES is not compatible > with GL: did you install something related to GLES on your system? If > this is the case, remove it and try to recompile. > > Regards, > Mr. Beno?t, it appears you are 100% correct!!! :-) Long story but Gambas3 now works with MK802!! Thank you for your help. Here is recipe: 1. Get the Lubuntu 12.04 image from here as per your device and monitor type: https://www.miniand.com/forums/forums/2/topics/1 The image files have been compressed with 7zip and have a .7z file extension. 2. Get an 8GB microSDCard. 3. Decompress the .7z image from file. (In Ubuntu, this can be done with p7zip-full.) This will result in a 4Gb image file. 4. dd the image to the 8GB microSDCard as per instructions https://www.miniand.com/forums/forums/2/topics/1 5. The microsdcard will then have a small 17Mb partition and a 3gb partition. Use gparted or similar tool to expand the 3gb partition to 7gb. 6. Boot the MK802 with new Lubuntu 12.04 8GB microSDCard. The default password is miniand. (The MK802 will need to be taken out of its casing and a heat sink attached to the A10 chip and the other large flash memory chip - otherwise it will overheat and crash during the operations that follow. The two smaller RAM does not seem to get as hot - but better to be safe and heat sink them too. The case is in 3 pieces and more than likely you will break the small 3rd piece that covers the HDMI connector. So be very very slow and careful when prizing open the case by working around edges taking care not to yank at the 3rd piece. After opening, take care not to yank the antenna cable, or you lost your wifi! ) 7. Set up the wifi by clicking the wifi icon. 8. Run up a terminal, and run "top" command. This is needed all the time to watch if the CPU is busy. If CPU is busy, then don't click on anything!!!!!!!!!!!!!!!!!! Just wait until each operation has finished!! 9. From the Lubuntu menu, run Update Manager in System Tools menu 10. The update manager has been nixed so that it won't update (doh!?) So, click settings button, then in updates tab click on enable important security update and enable recommended updates. Then close that dialog box. Always keep looking at the terminal to make sure the CPU has finished each operation. Now click on "check" button, and when that is finished, click on "install updates" button. It will take hours! 11. Reboot as guided, and then when everything is stable, open up synaptic from system tools, search for GLES and remove the libgles2 mesa package. About 4 packages in addition will get removed. (That will vary with time as more dependencies get added). 11. install the subversion package 12. follow the guides at http://gambas.sourceforge.net/ http://gambasdoc.org/help/install?en&view&v3 http://gambasdoc.org/help/install/ubuntu?v3&view http://gambasdoc.org/help/howto/svn and install the remaining packages. It takes several hours! 13. Do the svn command to get latest code from trunk: svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk/ 14. Follow the above guides once again to compile and install gambas3. It will take more hours! Then it should all work. :-) Photo attached. The photo shows minimal system with a wireless keyboard and mouse connected to HDMI monitor 1080p. Audio is present in the HDMI link. So I installed the espeak package from the repository and it now talks out through the monitor through the HDMI connection with a little help from a modified gambas2 example progam that has been converted to gambas3. (I used the shell command to all espeak.) -------------- next part -------------- A non-text attachment was scrubbed... Name: mk802_with_gambas3.jpg Type: image/jpeg Size: 232646 bytes Desc: not available URL: From nilsson at ...1979... Fri Sep 28 14:43:10 2012 From: nilsson at ...1979... (Carl Nilsson) Date: Fri, 28 Sep 2012 22:43:10 +1000 Subject: [Gambas-user] Installation of Gambas3 in Suse12.2 Message-ID: Matti: Further to my previous, I am now a much happier little gambas man! I must say I am very impressed with how robust the openSUSE 12.2 install procedure seems to be, in order to withstand my clumsy and inexpert attentions. For any poor newbie who is reading this - and I guess the idea of installing gambas3 on Suse12.2 would appeal to quite a few - the following might be mildly interesting: I had done quite a bit of searching on the net before I started to install gambas3, and one set of instructions pointed me to the home:munix9:gambas repository which I tried. Then, the simple one-click install offered by openSUSE not seeming to work too well, I followed screen advice and used zypper to do the install. Result - I ended up without the gb-net-curl dependency. (Now not quite sure whether I needed it or not!). Anyway - the gambas3 IDE came up on command, but I had the difficulties outlined in my earlier reply to you. On the basis of your posting, I went to the gambasdoc.org site you suggested below and read same pretty carefully. The openSUSE reference was to Suse 10.2, hence my questions. The guide was a bit critical of the gambas install process from openSUSE and wanted me to delete all previously installed packages before installing by individual compile. So I went to the Suse 12.2 Yast2 software manager and started to delete the gambas packages one by one. That seems unduly tedious, but I could not find the key to deleting them all with a keystroke. I think I had knocked off two when I noticed that the Yast2 window showed not only the dependency version installed, but also the latest version available. So I thought, what the hell, I have all these installed, I might as well try and update them all to 7.1. So I did - although I cannot be sure exactly from which repository they came. I reasoned that, even if the openSUSE install of gambas might not have been up to scratch when Suse 10.2 was all the go, now time had passed and maybe problems had now been fixed - seeing we had passed through Suse 11 and now reached 12.2. So I tried gambas3 again and nothing seemed to have changed!! So I played and played around on the gambas window trying to find a toolbox for the serial and timer examples when fortuitously I right-clicked the Form name on the Project list and the menu appeared. I clicked "edit" and lo and behold, the window came to life and the toolbox appeared! Marvellous! So far so good. For an old sod working alone like I do, trying to get something to work is a bit like the difficulty a pin ball has in trying to get to the bottom of a pinball machine! On the journey you get stopped many times by simple things that seem so obvious afterwards and go ricocheting up to the start again! I had spent hours trying to get the toolbox to show on the gambas examples. I have looked again at the very useful guide "getting started with gambas" and I cannot see any mention of right-clicking the Form on the list, although it seems obvious with hindsight and I'm still chagrined that it took me so long. One of the useful things about Windows is that there are often several ways to getting somewhere - redundancy for the novice. I accept that gambas is the work of a dedicated few and not a large corporation like MS. But one suggestion I would make is that: under the menu heading "Project" at the top, one item on the list might be "edit" and if that were selected, another menu listing the objects that could be edited could appear. If that had existed, I would have got there quickly. Now I realise that it is redundant and I would accept that the developers may not have time to deal with all such simple difficulties that the newcomer may have. However, it is a suggestion. The other difficulty I had was accessing the components (widgets) that I expected to find. I had no trouble with the instructions (in "getting started...") with getting the list of "components" and selecting gb-net. But all I saw was the same toolbox of basic widgets. Again, I played and played with it until, finally, I recognised a very small arrow > on the right, which, when clicked in exactly the right place and the right hand tab in the box selected, the missing tabs for "network" etc came into view. Only at this point did I know that my installation appears to be in order and the components I want are there. All very obvious in hindsight. Sometimes life seems more of a struggle than it need be! Thank you for your advice. Happy now. Carl Matti: Thank you for your helpful reply. (I'm not exactly sure how this mailing list works - I presume you and other subscribers receive this posting). Your reference to the install guide below is seems most helpful. .... Thanks for your time. Carl At 04:23 AM 28/09/2012, you wrote: >Hi Carl, > >I guess that the packager forgot a requirement. See >http://gambasdoc.org/help/install?v3 > >So, open YaST2, search for "libcurl" and install libcurl4 and libcurl-devel. > >Let's see if this helps. > >Matti > > >Am 27.09.2012 06:21, schrieb Carl Nilsson: > > Dear Moderator: > > I have installed Suse 12.2 mainly because I want to run gambas on > > Linux as an alternative to VB6 on Win2K in a modest embedded > > system. I'm a newbie at Linux (and gambas) but used zypper to > > (apparently successfully) install gambas3 from > > /munix9:/gambas/openSUSE_12.2/. However I got the message "could not > > install gambas3-examples gambas3-gb-net-curl" because "nothing > > provides gambas3-net = 3.2.1 needed by gambas3-examples > > gambas3-gb-net-curl-3.21-6-21.i586" Now, as a newbie I'm pretty > > interested in examples in general, so Question 1 is whether or not I > > should concern myself about that and Question 2 is how would I go > > about remedying that omission. I take it gambas3-net = 3.2.1 is some > > sort of dependency - how widely needed I am unsure. A quick google > > search suggests that gambas3-gb-net-curl (or at least one version) is > > a component package for "net-curl" - is part of a Fedora package for > > X86 64 machines. I am 32 bit (i586) at this stage, so maybe I can > > ignore the whole bit - and I don't need my gambas project to work > > on/with the net or with URLs, which I gather is what cURL refers > > to. Helpful comments? > > > > Carl S Nilsson > > 137 Gordons Hill Road > > Lindisfarne, Tas. > > Australia 7015 > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >------------------------------------------------------------------------------ >Everyone hates slow websites. So do we. >Make your web apps faster with AppDynamics >Download AppDynamics Lite for free today: >http://ad.doubleclick.net/clk;258768047;13503038;j? >http://info.appdynamics.com/FreeJavaPerformanceDownload.html >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user Carl S Nilsson 137 Gordons Hill Road Lindisfarne, Tas. Australia 7015 From pinozollo at ...626... Fri Sep 28 15:03:30 2012 From: pinozollo at ...626... (Pino Zollo) Date: Fri, 28 Sep 2012 09:03:30 -0400 Subject: [Gambas-user] Last update Message-ID: <5065A022.3040309@...626...> Last automatic update for Ubuntu 10.04 At start [41] 'ScrollArea.Shadow' is not static. Project.Main.258 ;-) Pino From gambas at ...1... Fri Sep 28 16:47:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Sep 2012 16:47:42 +0200 Subject: [Gambas-user] Last update In-Reply-To: <5065A022.3040309@...626...> References: <5065A022.3040309@...626...> Message-ID: <5065B88E.5090706@...1...> Le 28/09/2012 15:03, Pino Zollo a ?crit : > Last automatic update for Ubuntu 10.04 > > At start > > > [41] 'ScrollArea.Shadow' is not static. > Project.Main.258 > > > > ;-) > > > Pino > Last automatic update from where? Which package? Which version? -- Beno?t Minisini From taboege at ...626... Fri Sep 28 17:50:22 2012 From: taboege at ...626... (Tobias Boege) Date: Fri, 28 Sep 2012 17:50:22 +0200 Subject: [Gambas-user] Order of Draw.Scale() and Draw.Translate() Message-ID: <20120928155022.GB525@...2774...> Hi Benoit, Hans faces problems with the Draw class. It seems - I didn't test - that the order of Draw.Scale() and Draw.Translate() impacts the result (produces error in the wrong order): Draw.Begin(dwTest) ' Draw.Scale(1, -1) ' Draw.Translate(dwTest.W / 2, dwTest.H / 2) ' Error Draw.Translate(dwTest.W / 2, dwTest.H / 2) ' First Translate then Scale() Draw.Scale(1, -1) ' [Note: This is about a clock. T.B.] ' Zifferblatt als Bild anzeigen mit Startpunkt(-105|-105) ' und +210 = Bild-Weite sowie +210 = Bild-H?he! Draw.Picture(Picture["Images/ziffernblatt.png"], -105, -105, 210, 210) ' Sekundenzeiger x = iRadius * Cos(winkel_im_bogenmass_S) y = iRadius * Sin(winkel_im_bogenmass_S) Draw.Foreground = Color.Red Draw.Line(0, 0, x, y) ' Minutenzeiger x = iRadius * Cos(winkel_im_bogenmass_M) y = iRadius * Sin(winkel_im_bogenmass_M) Draw.Foreground = Color.Green Draw.Line(0, 0, x, y) ' Stundenzeiger x = iRadius * Cos(winkel_im_bogenmass_H) y = iRadius * Sin(winkel_im_bogenmass_H) Draw.Foreground = Color.Blue Draw.LineWidth = 2 Draw.Line(0, 0, x, y) Draw.End Is that intentional, a bug or...? The project is said to be in the attachment. Regards, Tobi -------------- next part -------------- A non-text attachment was scrubbed... Name: DrawScaleTest-0.0.21.tar.gz Type: application/octet-stream Size: 129697 bytes Desc: not available URL: From gambas at ...1... Fri Sep 28 17:57:01 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Sep 2012 17:57:01 +0200 Subject: [Gambas-user] Order of Draw.Scale() and Draw.Translate() In-Reply-To: <20120928155022.GB525@...2774...> References: <20120928155022.GB525@...2774...> Message-ID: <5065C8CD.9070300@...1...> Le 28/09/2012 17:50, Tobias Boege a ?crit : > Hi Benoit, > > Hans faces problems with the Draw class. It seems - I didn't test - that the > order of Draw.Scale() and Draw.Translate() impacts the result (produces > error in the wrong order): Of course: transformation is done by a matrix, two transformations are combined by a matrix multiplication, and matrix multiplication is not commutative (A*B != B*A). -- Beno?t Minisini From pinozollo at ...626... Fri Sep 28 18:02:09 2012 From: pinozollo at ...626... (Pino Zollo) Date: Fri, 28 Sep 2012 12:02:09 -0400 Subject: [Gambas-user] Last update Message-ID: <5065CA01.3010309@...626...> From: http://ppa.launchpad.net/nemh/gambas3ubuntu lucid main Actualiz? los paquetes siguientes: apt (0.7.25.3ubuntu9.13) to 0.7.25.3ubuntu9.14 apt-transport-https (0.7.25.3ubuntu9.13) to 0.7.25.3ubuntu9.14 apt-utils (0.7.25.3ubuntu9.13) to 0.7.25.3ubuntu9.14 gambas3 (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-dev (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-examples (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-cairo (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-chart (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-complex (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-compress (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-compress-bzlib2 (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-compress-zlib (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-crypt (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-data (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-db (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-db-form (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-db-mysql (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-db-odbc (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-db-postgresql (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-db-sqlite2 (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-db-sqlite3 (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-dbus (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-desktop (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-eval-highlight (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-form (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-form-dialog (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-form-mdi (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-form-stock (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-gsl (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-gtk (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-gtk-opengl (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-gui (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-gui-opengl (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-image (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-image-effect (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-image-imlib (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-image-io (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-libxml (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-mime (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-mysql (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-ncurses (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-net (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-net-curl (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-net-pop3 (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-net-smtp (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-opengl (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-opengl-glsl (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-opengl-glu (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-option (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-pcre (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-pdf (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-qt4 (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-qt4-ext (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-qt4-opengl (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-qt4-webkit (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-report (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-sdl (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-sdl-sound (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-settings (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-signal (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-v4l (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-vb (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-web (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-xml (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-xml-html (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-xml-rpc (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-gb-xml-xslt (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-ide (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-runtime (3.3.0~lucid2) to 3.3.1~lucid1 gambas3-script (3.3.0~lucid2) to 3.3.1~lucid1 From gambas at ...1... Fri Sep 28 18:11:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Sep 2012 18:11:42 +0200 Subject: [Gambas-user] Last update In-Reply-To: <5065CA01.3010309@...626...> References: <5065CA01.3010309@...626...> Message-ID: <5065CC3E.8040900@...1...> Le 28/09/2012 18:02, Pino Zollo a ?crit : > From: > > http://ppa.launchpad.net/nemh/gambas3ubuntu lucid main > > > Actualiz? los paquetes siguientes: > apt (0.7.25.3ubuntu9.13) to 0.7.25.3ubuntu9.14 > apt-transport-https (0.7.25.3ubuntu9.13) to 0.7.25.3ubuntu9.14 > apt-utils (0.7.25.3ubuntu9.13) to 0.7.25.3ubuntu9.14 > gambas3 (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-dev (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-examples (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-cairo (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-chart (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-complex (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-compress (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-compress-bzlib2 (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-compress-zlib (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-crypt (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-data (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-db (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-db-form (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-db-mysql (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-db-odbc (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-db-postgresql (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-db-sqlite2 (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-db-sqlite3 (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-dbus (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-desktop (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-eval-highlight (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-form (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-form-dialog (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-form-mdi (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-form-stock (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-gsl (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-gtk (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-gtk-opengl (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-gui (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-gui-opengl (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-image (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-image-effect (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-image-imlib (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-image-io (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-libxml (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-mime (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-mysql (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-ncurses (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-net (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-net-curl (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-net-pop3 (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-net-smtp (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-opengl (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-opengl-glsl (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-opengl-glu (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-option (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-pcre (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-pdf (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-qt4 (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-qt4-ext (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-qt4-opengl (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-qt4-webkit (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-report (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-sdl (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-sdl-sound (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-settings (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-signal (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-v4l (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-vb (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-web (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-xml (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-xml-html (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-xml-rpc (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-gb-xml-xslt (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-ide (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-runtime (3.3.0~lucid2) to 3.3.1~lucid1 > gambas3-script (3.3.0~lucid2) to 3.3.1~lucid1 > There is a problem in these packages so. Because the error comes from a line that has been commented in Gambas 3.3.1! -- Beno?t Minisini From gambas at ...1... Fri Sep 28 18:15:43 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Sep 2012 18:15:43 +0200 Subject: [Gambas-user] Release of Gambas 3.3.0 and 3.3.1 Message-ID: <5065CD2F.3060803@...1...> Tobias pointed me that - I knew I have forgotten something : telling the mailing-list that Gambas 3.3 is out! On the web site you will find the details as usual. The package is Gambas 3.3.1, that is Gambas 3.3.0 with some last-minute bug fixes. A Gambas 3.3.2 should be released soon, to fix a regression in gb.report, and maybe other bugs. Sorry for my thoughtlessness! Regards, -- Beno?t Minisini From adrien.prokopowicz at ...626... Fri Sep 28 21:00:01 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Fri, 28 Sep 2012 21:00:01 +0200 Subject: [Gambas-user] Embeded HTTP server In-Reply-To: <4513790.Agh3C7MagN@...46...> References: <5064CA4F.1030507@...1...> <20120928005404.0938a569@...626...> <5064DC11.7000605@...1...> <4513790.Agh3C7MagN@...46...> Message-ID: <20120928210001.288bd27c@...626...> Le Fri, 28 Sep 2012 08:22:04 +0200, wally a ?crit : > > How can i use it and take advantage of this feature if i do not know > all the details ? > e.g. > can i run a gmbas project using gb.httpd on PC1 (or raspberry) and > access the running project via http from another machine PC2 ? > I finally get it working on my local website. I just enabled Apache's reverse proxy feature, so that the calls to my old gambas cgi are redirected to the Gambas server running my project. Just add the following lines to your httpd.conf : ProxyPass /path/to/your.gambas.cgi http://localhost:8000/ ProxyPassReverse /path/to/your.gambas.cgi http://localhost:8000/ On Friday 28 September 2012 01:06:57 Beno?t Minisini wrote: > > gb.httpd is intended to serve only what is inside the project. I > think it could be modified so that it serves static files located > inside the project without running the CGI script. > I don't know if it is a good idea, because if I put all my static files inside the project, they all will be loaded each time my CGI script is called, right ? From gambas at ...1... Fri Sep 28 21:16:07 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Sep 2012 21:16:07 +0200 Subject: [Gambas-user] Embeded HTTP server In-Reply-To: <20120928210001.288bd27c@...626...> References: <5064CA4F.1030507@...1...> <20120928005404.0938a569@...626...> <5064DC11.7000605@...1...> <4513790.Agh3C7MagN@...46...> <20120928210001.288bd27c@...626...> Message-ID: <5065F777.6020909@...1...> Le 28/09/2012 21:00, Adrien Prokopowicz a ?crit : > Le Fri, 28 Sep 2012 08:22:04 +0200, > wally a ?crit : >> >> How can i use it and take advantage of this feature if i do not know >> all the details ? >> e.g. >> can i run a gmbas project using gb.httpd on PC1 (or raspberry) and >> access the running project via http from another machine PC2 ? >> > > I finally get it working on my local website. > I just enabled Apache's reverse proxy feature, so that the calls to my > old gambas cgi are redirected to the Gambas server running my project. > > Just add the following lines to your httpd.conf : > > > ProxyPass /path/to/your.gambas.cgi http://localhost:8000/ > ProxyPassReverse /path/to/your.gambas.cgi http://localhost:8000/ > > > > On Friday 28 September 2012 01:06:57 Beno?t Minisini wrote: >> >> gb.httpd is intended to serve only what is inside the project. I >> think it could be modified so that it serves static files located >> inside the project without running the CGI script. >> > > I don't know if it is a good idea, because if I put all my static files > inside the project, they all will be loaded each time my CGI script is > called, right ? > No : when a gambas executable is run, the interpreter loads only the part of the executable that must be loaded. The CGI script done for my job is an (almost) entire web site and its size is almost 1Mb. It starts immediately. -- Beno?t Minisini From math.eber at ...221... Fri Sep 28 21:29:24 2012 From: math.eber at ...221... (Matti) Date: Fri, 28 Sep 2012 21:29:24 +0200 Subject: [Gambas-user] gb.net.pop3? Message-ID: <5065FA94.1000206@...221...> In my last update (5196) I got the message || || Unable to compile gb.net.pop3 || with Compiling gb.net.pop3... Component not found: gb.mime What's that? Nothing to find in the docs. From sebikul at ...626... Fri Sep 28 21:33:13 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Fri, 28 Sep 2012 16:33:13 -0300 Subject: [Gambas-user] gb.net.pop3? In-Reply-To: <5065FA94.1000206@...221...> References: <5065FA94.1000206@...221...> Message-ID: On Fri, Sep 28, 2012 at 4:29 PM, Matti wrote: > In my last update (5196) I got the message > > || > || Unable to compile gb.net.pop3 > || > > with > Compiling gb.net.pop3... > Component not found: gb.mime > > What's that? > Nothing to find in the docs. > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Just read the error message, gb.net.pop3 depends on gb.mime, you need to compile it first. From math.eber at ...221... Fri Sep 28 21:49:46 2012 From: math.eber at ...221... (Matti) Date: Fri, 28 Sep 2012 21:49:46 +0200 Subject: [Gambas-user] gb.net.pop3? In-Reply-To: References: <5065FA94.1000206@...221...> Message-ID: <5065FF5A.6000901@...221...> ok, I found it: gmime-2.6 is missing (or gmime-2.4, as in another message). But this should be mentioned in the docs: requirements. Am 28.09.2012 21:33, schrieb Sebastian Kulesz: > On Fri, Sep 28, 2012 at 4:29 PM, Matti wrote: >> In my last update (5196) I got the message >> >> || >> || Unable to compile gb.net.pop3 >> || >> >> with >> Compiling gb.net.pop3... >> Component not found: gb.mime >> >> What's that? >> Nothing to find in the docs. >> > > Just read the error message, gb.net.pop3 depends on gb.mime, you need > to compile it first. > From asubhagia at ...626... Sat Sep 29 02:04:38 2012 From: asubhagia at ...626... (Andrew S) Date: Sat, 29 Sep 2012 07:04:38 +0700 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: Xgdhh Pada 30 Agt 2012 18:41, "Ricardo D?az Mart?n" menulis: > Hi Fabien, > > I'm not using gb.report cause I use my own code to create libreoffice > documents. And I make my own code because when I started using gambas there > wasn't gb.report. > > In my todo list there is a big note to try to share this system with the > gambas users but I don't have enough time to do it now. Maybe next year... > > My system extract content.xml and styles.xml from a odt template you have > designed on before. In the odt template you wrote some "fields" using this > way: #GB#NameOfField#GB#. When you want to print a form you must to call a > Print sub with the reference to the form you want to print. The sub search > for textboxes, text areas, etc... with name = NameOfField and replace. > Obviously it's more complex that looks like but it's the main idea > > The sub can also fill tables in the odt and replace pictures and exports > gridviews to ods files (libreoffice calc). > > Hope one day I'll have more time to prepare something easy to use for the > other users. > > Regards, > Ricardo D?az > > 2012/8/30 Fabien Bodard > > > This is my query... > > > > If you use it tell me what you want to see as improvement... The problems > > with it. > > > > If you are not using it but need printing or generate reports. Tell me > why > > you are not using it. > > > > Thank you > > > > Fabien Bodard > > > > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Sat Sep 29 02:26:33 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 29 Sep 2012 09:56:33 +0930 Subject: [Gambas-user] gb.webkit Webview current element Message-ID: <1348878393.6770.3.camel@...2688...> Morning all, Does anyone know a way to get the html element under the mouse pointer in the webview on a MouseDown or MouseUp event? I have been through much of the webkit site and the w3schools javascript site and can't find anything that seems to offer this. tia Bruce From gambas at ...1... Sat Sep 29 03:41:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Sep 2012 03:41:12 +0200 Subject: [Gambas-user] gb.webkit Webview current element In-Reply-To: <1348878393.6770.3.camel@...2688...> References: <1348878393.6770.3.camel@...2688...> Message-ID: <506651B8.1060805@...1...> Le 29/09/2012 02:26, Bruce a ?crit : > Morning all, > > Does anyone know a way to get the html element under the mouse pointer > in the webview on a MouseDown or MouseUp event? I have been through > much of the webkit site and the w3schools javascript site and can't find > anything that seems to offer this. > > tia > Bruce > At the moment gb.qt4.webkit don't provide any access to the underlying DOM and HTML structure of the page. You can only use the WebView.HitTest() method to know if the mouse is on an image, a selected contents, an editable contents or a link, and in that last case you can get the link URL. Some work could be done there. Do you really need a full access to the DOM? -- Beno?t Minisini From sunblaster5 at ...626... Sat Sep 29 03:55:09 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 28 Sep 2012 18:55:09 -0700 Subject: [Gambas-user] TableView Data from database In-Reply-To: References: <5064C2E8.9000903@...626...> Message-ID: <506654FD.5030004@...626...> I get a "Bad Row Index" error when I do that. On 09/28/2012 12:07 AM, ??????? ???????? wrote: > It do that: > > sResult = DB.Edit("inventory", id = &1, ID) > sResult!id = ID > 'sResult!location = TableView1.Columns[1]. > * sResult!location = TableView1[TableView1.Row, 1].Text* > sResult.Update > > 2012/9/28 rocko > >> I'm using a Table view to view data from an SQLite database. >> I would use a dataview but I only need to display some database fields >> not all of them. >> >> This is the code I have so far: >> Public Sub Form_Open() >> >> Dim sResult As Result >> Dim id As Integer >> >> TableView1.Columns.Count = 3 >> TableView1.Rows.Count = 10 >> >> TableView1.Columns[0].Title = ("ID") >> TableView1.Columns[0].Width = (TableView1.Width / 10) * 2 >> TableView1.Columns[1].Title = ("Location") >> TableView1.Columns[1].Width = (TableView1.Width / 10) * 4.5 >> TableView1.Columns[2].Title = ("Days Left") >> TableView1.Columns[2].Width = (TableView1.Width / 10) * 2 >> >> sResult = DB.Edit("inventory", id = &1, ID) >> sResult!id = ID >> sResult!location = TableView1.Columns[1]. >> sResult.Update >> >> I obviously get an error at runtime on the second to last line as I'm >> not sure how to put data from the database into the table column. >> >> I believe I asked this question before using a dataview on how to >> display only some data from the database as using a dataview would be >> easier but I never got a response so I'm trying a table view as it has >> more options--at least I think so. >> >> Any help would be appreciated. >> >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://ad.doubleclick.net/clk;258768047;13503038;j? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > From bbruen at ...2308... Sat Sep 29 04:17:01 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 29 Sep 2012 11:47:01 +0930 Subject: [Gambas-user] TableView Data from database In-Reply-To: <506654FD.5030004@...626...> References: <5064C2E8.9000903@...626...> <506654FD.5030004@...626...> Message-ID: <1348885021.6770.16.camel@...2688...> On Fri, 2012-09-28 at 18:55 -0700, rocko wrote: > I get a "Bad Row Index" error when I do that. > > > On 09/28/2012 12:07 AM, ??????? ???????? wrote: > > It do that: > > > > sResult = DB.Edit("inventory", id = &1, ID) > > sResult!id = ID > > 'sResult!location = TableView1.Columns[1]. If TableView1.Row < 0 then Error.Raise("You haven't selected a row in the tableview yet!") > > * sResult!location = TableView1[TableView1.Row, 1].Text* > > sResult.Update > > hth Bruce From sunblaster5 at ...626... Sat Sep 29 04:27:08 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 28 Sep 2012 19:27:08 -0700 Subject: [Gambas-user] TableView Data from database In-Reply-To: <1348885021.6770.16.camel@...2688...> References: <5064C2E8.9000903@...626...> <506654FD.5030004@...626...> <1348885021.6770.16.camel@...2688...> Message-ID: <50665C7C.2030401@...626...> Huh? I'm sorry Bruce I'm not following. I want the fields to update when the form opens. Just the ID, Location and Days Left fields. On 09/28/2012 07:17 PM, Bruce wrote: > On Fri, 2012-09-28 at 18:55 -0700, rocko wrote: >> I get a "Bad Row Index" error when I do that. >> >> >> On 09/28/2012 12:07 AM, ??????? ???????? wrote: >>> It do that: >>> >>> sResult = DB.Edit("inventory", id = &1, ID) >>> sResult!id = ID >>> 'sResult!location = TableView1.Columns[1]. > If TableView1.Row < 0 then Error.Raise("You haven't selected a row > in the tableview yet!") >>> * sResult!location = TableView1[TableView1.Row, 1].Text* >>> sResult.Update >>> > > hth > Bruce > > > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Sat Sep 29 04:28:53 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 29 Sep 2012 11:58:53 +0930 Subject: [Gambas-user] gb.webkit Webview current element In-Reply-To: <506651B8.1060805@...1...> References: <1348878393.6770.3.camel@...2688...> <506651B8.1060805@...1...> Message-ID: <1348885733.6770.20.camel@...2688...> On Sat, 2012-09-29 at 03:41 +0200, Beno?t Minisini wrote: > Le 29/09/2012 02:26, Bruce a ?crit : > > Morning all, > > > > Does anyone know a way to get the html element under the mouse pointer > > in the webview on a MouseDown or MouseUp event? I have been through > > much of the webkit site and the w3schools javascript site and can't find > > anything that seems to offer this. > > > > tia > > Bruce > > > > At the moment gb.qt4.webkit don't provide any access to the underlying > DOM and HTML structure of the page. > > You can only use the WebView.HitTest() method to know if the mouse is on > an image, a selected contents, an editable contents or a link, and in > that last case you can get the link URL. > > Some work could be done there. Do you really need a full access to the DOM? > Hi Beno?t, I can access the DOM, or at least the interesting part, with webview.Eval("document.body.innerHTML"). Which I can then use with gb.xml.html to get a useable DOM. (I think! I haven't tried that yet.) The problem is detecting which element is under the mouse pointer, so I can position myself in that DOM. Even some sort of offset value giving the position of the mouse pointer into the document html would help. Webkit, itself must have a way to do this as the webinspector has that little tool at the bottom to highlight elements as the mouse moves over the page (see pic attached). regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_006.png Type: image/png Size: 263778 bytes Desc: not available URL: From bbruen at ...2308... Sat Sep 29 04:39:36 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 29 Sep 2012 12:09:36 +0930 Subject: [Gambas-user] TableView Data from database In-Reply-To: <50665C7C.2030401@...626...> References: <5064C2E8.9000903@...626...> <506654FD.5030004@...626...> <1348885021.6770.16.camel@...2688...> <50665C7C.2030401@...626...> Message-ID: <1348886376.6770.25.camel@...2688...> On Fri, 2012-09-28 at 19:27 -0700, rocko wrote: > Huh? > I'm sorry Bruce I'm not following. > I want the fields to update when the form opens. > Just the ID, Location and Days Left fields. > Unless a row is selected in the tableview, Tableview1.Row will be -1. (You can check that in the debugger.) So your sResult!location = TableView1[TableView1.Row, 1].Text line reports the Bad Row Index error as TableView1[-1, 1].Text is incorrect. If you want the update to happen automatically when the form opens you will have to iterate through the rows of the tableview explicitly. As in For idx = 0 to TableView1.Rows.Max ... sResult!location = TableView1[idx, 1].Text ... Next Bruce > > On 09/28/2012 07:17 PM, Bruce wrote: > > On Fri, 2012-09-28 at 18:55 -0700, rocko wrote: > >> I get a "Bad Row Index" error when I do that. > >> > >> > >> On 09/28/2012 12:07 AM, ??????? ???????? wrote: > >>> It do that: > >>> > >>> sResult = DB.Edit("inventory", id = &1, ID) > >>> sResult!id = ID > >>> 'sResult!location = TableView1.Columns[1]. > > If TableView1.Row < 0 then Error.Raise("You haven't selected a row > > in the tableview yet!") > >>> * sResult!location = TableView1[TableView1.Row, 1].Text* > >>> sResult.Update > >>> > > > > hth > > Bruce > > > > > > > > ------------------------------------------------------------------------------ > > How fast is your code? > > 3 out of 4 devs don\\\'t know how their code performs in production. > > Find out how slow your code is with AppDynamics Lite. > > http://ad.doubleclick.net/clk;262219672;13503038;z? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sunblaster5 at ...626... Sat Sep 29 05:11:38 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 28 Sep 2012 20:11:38 -0700 Subject: [Gambas-user] TableView Data from database In-Reply-To: <1348886376.6770.25.camel@...2688...> References: <5064C2E8.9000903@...626...> <506654FD.5030004@...626...> <1348885021.6770.16.camel@...2688...> <50665C7C.2030401@...626...> <1348886376.6770.25.camel@...2688...> Message-ID: <506666EA.1050204@...626...> Ok that makes a little more sense. But I have some questions. Do I have to use a TableView? Originally I used DataView but that displays all the fields in the database, I just want to use some of the fields if certain conditions apply, like if the 'Days Left' field is less than 20 days. Then if so display just 4 fields in a separate Dataview/TableView. Now exactly what is the 'idx' variable you used? Is it just an integer used to count thru the loop. I ask cause I tried your example and it's not working. I don't get any error's, just the TableView is not being filled with any data. On 09/28/2012 07:39 PM, Bruce wrote: > On Fri, 2012-09-28 at 19:27 -0700, rocko wrote: >> Huh? >> I'm sorry Bruce I'm not following. >> I want the fields to update when the form opens. >> Just the ID, Location and Days Left fields. >> > Unless a row is selected in the tableview, Tableview1.Row will be -1. > (You can check that in the debugger.) So your sResult!location = > TableView1[TableView1.Row, 1].Text line reports the Bad Row Index error > as TableView1[-1, 1].Text is incorrect. > If you want the update to happen automatically when the form opens you > will have to iterate through the rows of the tableview explicitly. As > in > For idx = 0 to TableView1.Rows.Max > ... > sResult!location = TableView1[idx, 1].Text > ... > Next > > Bruce > > >> >> On 09/28/2012 07:17 PM, Bruce wrote: >>> On Fri, 2012-09-28 at 18:55 -0700, rocko wrote: >>>> I get a "Bad Row Index" error when I do that. >>>> >>>> >>>> On 09/28/2012 12:07 AM, ??????? ???????? wrote: >>>>> It do that: >>>>> >>>>> sResult = DB.Edit("inventory", id = &1, ID) >>>>> sResult!id = ID >>>>> 'sResult!location = TableView1.Columns[1]. >>> If TableView1.Row < 0 then Error.Raise("You haven't selected a row >>> in the tableview yet!") >>>>> * sResult!location = TableView1[TableView1.Row, 1].Text* >>>>> sResult.Update >>>>> >>> >>> hth >>> Bruce >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> How fast is your code? >>> 3 out of 4 devs don\\\'t know how their code performs in production. >>> Find out how slow your code is with AppDynamics Lite. >>> http://ad.doubleclick.net/clk;262219672;13503038;z? >>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> ------------------------------------------------------------------------------ >> How fast is your code? >> 3 out of 4 devs don\\\'t know how their code performs in production. >> Find out how slow your code is with AppDynamics Lite. >> http://ad.doubleclick.net/clk;262219672;13503038;z? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sat Sep 29 09:13:53 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 29 Sep 2012 09:13:53 +0200 Subject: [Gambas-user] TableView Data from database In-Reply-To: <5064C2E8.9000903@...626...> References: <5064C2E8.9000903@...626...> Message-ID: <20120929071353.GA587@...2774...> On Thu, 27 Sep 2012, rocko wrote: > I'm using a Table view to view data from an SQLite database. > I would use a dataview but I only need to display some database fields > not all of them. > > This is the code I have so far: > Public Sub Form_Open() > > Dim sResult As Result > Dim id As Integer > > TableView1.Columns.Count = 3 > TableView1.Rows.Count = 10 > > TableView1.Columns[0].Title = ("ID") > TableView1.Columns[0].Width = (TableView1.Width / 10) * 2 > TableView1.Columns[1].Title = ("Location") > TableView1.Columns[1].Width = (TableView1.Width / 10) * 4.5 > TableView1.Columns[2].Title = ("Days Left") > TableView1.Columns[2].Width = (TableView1.Width / 10) * 2 > > sResult = DB.Edit("inventory", id = &1, ID) > sResult!id = ID > sResult!location = TableView1.Columns[1]. > sResult.Update > > I obviously get an error at runtime on the second to last line as I'm > not sure how to put data from the database into the table column. > > I believe I asked this question before using a dataview on how to > display only some data from the database as using a dataview would be > easier but I never got a response so I'm trying a table view as it has > more options--at least I think so. > > Any help would be appreciated. Your code does not match your goal at all - *if I* got you right! - and the other replies go all in that wrong direction. You said: "I want to *display* only certain fields of a table" but your trial code says: "I want to *update the table* with data from a TableView". You can indeed use the more convenient DataView control but you have to read the docs[0] first. This should be enough: DataView.Columns = ["id", "location", "daysleft"] ' ... or whatever the names of your fields are. Does this fit your needs? Regards, Tobi [0] http://gambasdoc.org/help/comp/gb.db.form/dataview/columns?v3 From taboege at ...626... Sat Sep 29 09:40:19 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 29 Sep 2012 09:40:19 +0200 Subject: [Gambas-user] Forbid DataSource to fetch certain fields Message-ID: <20120929074019.GB587@...2774...> Hi, rocko's recent question brought me back to a problem I once had: We have a database at school which contains a lot of big blobs (PDFs of student papers). It consequently takes an unneccessary amount of time to load all the records in there. My question is hence: Can I tell the DataView to only load certain fields from the database table? I think of some DataSource.Columns property that does: sReq = "SELECT " & DataSource.Columns.Join() & " FROM " & ... I saw something similar in the DataTable.class source code but I couldn't figure out how to get the $aKey there modified. I think you'll know better. Can someone please point me in the right direction? Regards, Tobi From taboege at ...626... Sat Sep 29 09:44:15 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 29 Sep 2012 09:44:15 +0200 Subject: [Gambas-user] Forbid DataSource to fetch certain fields In-Reply-To: <20120929074019.GB587@...2774...> References: <20120929074019.GB587@...2774...> Message-ID: <20120929074415.GC587@...2774...> On Sat, 29 Sep 2012, Tobias Boege wrote: > Hi, > > rocko's recent question brought me back to a problem I once had: > We have a database at school which contains a lot of big blobs (PDFs of > student papers). It consequently takes an unneccessary amount of time to > load all the records in there. My question is hence: Can I tell the DataView read the last word as: DataSource ;-) > to only load certain fields from the database table? I think of some > DataSource.Columns property that does: > > sReq = "SELECT " & DataSource.Columns.Join() & " FROM " & ... > > I saw something similar in the DataTable.class source code but I couldn't > figure out how to get the $aKey there modified. I think you'll know better. > > Can someone please point me in the right direction? > > Regards, > Tobi From bbruen at ...2308... Sat Sep 29 12:26:20 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 29 Sep 2012 19:56:20 +0930 Subject: [Gambas-user] Forbid DataSource to fetch certain fields In-Reply-To: <20120929074415.GC587@...2774...> References: <20120929074019.GB587@...2774...> <20120929074415.GC587@...2774...> Message-ID: <1348914380.6770.36.camel@...2688...> On Sat, 2012-09-29 at 09:44 +0200, Tobias Boege wrote: > On Sat, 29 Sep 2012, Tobias Boege wrote: > > Hi, > > > > rocko's recent question brought me back to a problem I once had: > > We have a database at school which contains a lot of big blobs (PDFs of > > student papers). It consequently takes an unneccessary amount of time to > > load all the records in there. My question is hence: Can I tell the DataView > > read the last word as: DataSource ;-) > > > to only load certain fields from the database table? I think of some > > DataSource.Columns property that does: > > > > sReq = "SELECT " & DataSource.Columns.Join() & " FROM " & ... > > > > I saw something similar in the DataTable.class source code but I couldn't > > figure out how to get the $aKey there modified. I think you'll know better. > > > > Can someone please point me in the right direction? > > > > Regards, > > Tobi Hey Tobi, We have had the same problem here. That is, that blobs take a long time to load. I don't think this is a gambas "problem", as it is database independent and I have traced through the code execution at fairly low levels (for postgresql anyway). It is actually due to the time it takes to buffer and transfer the cursor within the database driver. The solution we use is to split the database table, putting the blob fields in a table associated to the main table by its primary key. This works for us because primarily 99% of the time we are not interested in the blob data for a multi-row cursor. It is only when the user wishes to look at the associated blob data that we load the (single) row from the associated table. Your mileage may vary. regards Bruce From bbruen at ...2308... Sat Sep 29 12:38:29 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 29 Sep 2012 20:08:29 +0930 Subject: [Gambas-user] TableView Data from database In-Reply-To: <506666EA.1050204@...626...> References: <5064C2E8.9000903@...626...> <506654FD.5030004@...626...> <1348885021.6770.16.camel@...2688...> <50665C7C.2030401@...626...> <1348886376.6770.25.camel@...2688...> <506666EA.1050204@...626...> Message-ID: <1348915109.6770.48.camel@...2688...> On Fri, 2012-09-28 at 20:11 -0700, rocko wrote: > Ok that makes a little more sense. > But I have some questions. > > Do I have to use a TableView? Well that depends on whether you want to have some sort of display of the data at all. If you just want to update the data, say on a daily basis, then you can just use the result cursor itself. There is no need to display result!myfield if all you want to do is change its' value. > Originally I used DataView but that displays all > the fields in the database, I just want to use some > of the fields if certain conditions apply, like > if the 'Days Left' field is less than 20 days. > > Then if so display just 4 fields in a separate > Dataview/TableView. OK, I think I got the idea of what you are trying to do. Just to confirm, is it: a) load a result cursor with a set of records where 'Days Left' is less than 20 days b) display that set of rows to the user in some way c) make some sort of update to the data displayed (I'm still not sure here as your example code does not seem to show any update?) d) At some point, update the data back to the database. d) is somewhat worrying as you said "when the form opens". I think there is still some sort of requirement you haven't revealed here? > Now exactly what is the 'idx' variable you used? > Is it just an integer used to count thru the loop. Yes > > I ask cause I tried your example and it's not working. > I don't get any error's, just the TableView is not being > filled with any data. The example was just a "skeleton" code, you need to fill it out with all the things you need to do to a) display the data b) change the data c) update the data, and d) save the data back to the database. > > > On 09/28/2012 07:39 PM, Bruce wrote: > > On Fri, 2012-09-28 at 19:27 -0700, rocko wrote: > >> Huh? > >> I'm sorry Bruce I'm not following. > >> I want the fields to update when the form opens. > >> Just the ID, Location and Days Left fields. > >> > > Unless a row is selected in the tableview, Tableview1.Row will be -1. > > (You can check that in the debugger.) So your sResult!location = > > TableView1[TableView1.Row, 1].Text line reports the Bad Row Index error > > as TableView1[-1, 1].Text is incorrect. > > If you want the update to happen automatically when the form opens you > > will have to iterate through the rows of the tableview explicitly. As > > in > > For idx = 0 to TableView1.Rows.Max > > ... > > sResult!location = TableView1[idx, 1].Text > > ... > > Next > > > > Bruce > > > > > >> > >> On 09/28/2012 07:17 PM, Bruce wrote: > >>> On Fri, 2012-09-28 at 18:55 -0700, rocko wrote: > >>>> I get a "Bad Row Index" error when I do that. > >>>> > >>>> > >>>> On 09/28/2012 12:07 AM, ??????? ???????? wrote: > >>>>> It do that: > >>>>> > >>>>> sResult = DB.Edit("inventory", id = &1, ID) > >>>>> sResult!id = ID > >>>>> 'sResult!location = TableView1.Columns[1]. > >>> If TableView1.Row < 0 then Error.Raise("You haven't selected a row > >>> in the tableview yet!") > >>>>> * sResult!location = TableView1[TableView1.Row, 1].Text* > >>>>> sResult.Update > >>>>> > >>> > >>> hth > >>> Bruce > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> How fast is your code? > >>> 3 out of 4 devs don\\\'t know how their code performs in production. > >>> Find out how slow your code is with AppDynamics Lite. > >>> http://ad.doubleclick.net/clk;262219672;13503038;z? > >>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> > >> ------------------------------------------------------------------------------ > >> How fast is your code? > >> 3 out of 4 devs don\\\'t know how their code performs in production. > >> Find out how slow your code is with AppDynamics Lite. > >> http://ad.doubleclick.net/clk;262219672;13503038;z? > >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > How fast is your code? > > 3 out of 4 devs don\\\'t know how their code performs in production. > > Find out how slow your code is with AppDynamics Lite. > > http://ad.doubleclick.net/clk;262219672;13503038;z? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Sep 29 12:44:54 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Sep 2012 12:44:54 +0200 Subject: [Gambas-user] Forbid DataSource to fetch certain fields In-Reply-To: <20120929074415.GC587@...2774...> References: <20120929074019.GB587@...2774...> <20120929074415.GC587@...2774...> Message-ID: <5066D126.8070306@...1...> Le 29/09/2012 09:44, Tobias Boege a ?crit : > On Sat, 29 Sep 2012, Tobias Boege wrote: >> Hi, >> >> rocko's recent question brought me back to a problem I once had: >> We have a database at school which contains a lot of big blobs (PDFs of >> student papers). It consequently takes an unneccessary amount of time to >> load all the records in there. My question is hence: Can I tell the DataView > > read the last word as: DataSource ;-) > >> to only load certain fields from the database table? I think of some >> DataSource.Columns property that does: >> >> sReq = "SELECT " & DataSource.Columns.Join() & " FROM " & ... >> >> I saw something similar in the DataTable.class source code but I couldn't >> figure out how to get the $aKey there modified. I think you'll know better. >> >> Can someone please point me in the right direction? >> >> Regards, >> Tobi > DataSource can take a SQL request instead of a table. But then you cannot modify the records. -- Beno?t Minisini From gambas at ...1... Sat Sep 29 12:47:28 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 29 Sep 2012 12:47:28 +0200 Subject: [Gambas-user] TableView Data from database In-Reply-To: <506666EA.1050204@...626...> References: <5064C2E8.9000903@...626...> <506654FD.5030004@...626...> <1348885021.6770.16.camel@...2688...> <50665C7C.2030401@...626...> <1348886376.6770.25.camel@...2688...> <506666EA.1050204@...626...> Message-ID: <5066D1C0.60102@...1...> Le 29/09/2012 05:11, rocko a ?crit : > Ok that makes a little more sense. > But I have some questions. > > Do I have to use a TableView? > Originally I used DataView but that displays all > the fields in the database, I just want to use some > of the fields if certain conditions apply, like > if the 'Days Left' field is less than 20 days. > DataView has a "Columns" property that can be used to choose which fields are displayed. Regards, -- Beno?t Minisini From vuott at ...325... Sat Sep 29 16:42:41 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 29 Sep 2012 15:42:41 +0100 (BST) Subject: [Gambas-user] Setting the "Height" of Header in a GridView Message-ID: <1348929761.87527.YahooMailClassic@...2748...> Hello, I'ld like to set the "height" of the "Header" in a GridView (Gambas-3), but I didn't find the property. Is it possible ? Thanks vuott From vuott at ...325... Sat Sep 29 18:40:58 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 29 Sep 2012 17:40:58 +0100 (BST) Subject: [Gambas-user] Stretching an image As Image Message-ID: <1348936858.28439.YahooMailClassic@...2758...> Hello, I'ld like to insert an image into a gridview cell. Since the image is larger than the cell, I would like to reduce it by "stretching": ******* Public Sub .........() Dim p As Picture Dim i As New Image i = i.Load("my_image") With GridView1[0, 0] i.Stretch(.W, .H) p = i.Picture .Picture = p End With ......... End ************ but the image is not stretched ! Why ? Thanks vuottt From taboege at ...626... Sat Sep 29 18:58:10 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 29 Sep 2012 18:58:10 +0200 Subject: [Gambas-user] Stretching an image As Image In-Reply-To: <1348936858.28439.YahooMailClassic@...2758...> References: <1348936858.28439.YahooMailClassic@...2758...> Message-ID: <20120929165810.GA523@...2774...> On Sat, 29 Sep 2012, Ru Vuott wrote: > Hello, > > I'ld like to insert an image into a gridview cell. > Since the image is larger than the cell, I would like to reduce it by "stretching": > > ******* > Public Sub .........() > > Dim p As Picture > Dim i As New Image > > i = i.Load("my_image") > > With GridView1[0, 0] > i.Stretch(.W, .H) > p = i.Picture > .Picture = p > End With > > ......... > > End > ************ > > but the image is not stretched ! Why ? > > Thanks > vuottt Have a look at the exact signature of Image.Stretch(): Function Stretch ( Width As Integer, Height As Integer ) As Image It is not a method in the common sense in that it modifies the object it is called on but it instead *returns* a new stretched version of that object. Regards, Tobi From vuott at ...325... Sat Sep 29 18:59:46 2012 From: vuott at ...325... (Ru Vuott) Date: Sat, 29 Sep 2012 17:59:46 +0100 (BST) Subject: [Gambas-user] R: Stretching an image As Image - BIS In-Reply-To: <1348936858.28439.YahooMailClassic@...2758...> Message-ID: <1348937986.29353.YahooMailClassic@...2789...> Hello, uhmmmm, I found solution: i = i.Load("my_image").Stretch(a, b) bye vuott --- Sab 29/9/12, Ru Vuott ha scritto: > Da: Ru Vuott > Oggetto: [Gambas-user] Stretching an image As Image > A: gambas-user at lists.sourceforge.net > Data: Sabato 29 settembre 2012, 18:40 > Hello, > > I'ld like to insert an image into a gridview cell. > Since the image is larger than the cell, I would like to > reduce it by "stretching": > > ******* > Public Sub .........() > > Dim p As Picture > Dim i As New Image > > ? i = i.Load("my_image") > > ? With GridView1[0, 0] > ? ???i.Stretch(.W, .H) > ? ???p = i.Picture > ???.Picture = p > ? End With > > ......... > > End > ************ > > but the image is not stretched !???Why ? > > Thanks > vuottt > > ------------------------------------------------------------------------------ > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in > production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sat Sep 29 19:07:22 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 29 Sep 2012 19:07:22 +0200 Subject: [Gambas-user] Forbid DataSource to fetch certain fields In-Reply-To: <5066D126.8070306@...1...> References: <20120929074019.GB587@...2774...> <20120929074415.GC587@...2774...> <5066D126.8070306@...1...> Message-ID: <20120929170722.GB523@...2774...> On Sat, 29 Sep 2012, Beno?t Minisini wrote: > Le 29/09/2012 09:44, Tobias Boege a ?crit : > > On Sat, 29 Sep 2012, Tobias Boege wrote: > >> Hi, > >> > >> rocko's recent question brought me back to a problem I once had: > >> We have a database at school which contains a lot of big blobs (PDFs of > >> student papers). It consequently takes an unneccessary amount of time to > >> load all the records in there. My question is hence: Can I tell the DataView > > > > read the last word as: DataSource ;-) > > > >> to only load certain fields from the database table? I think of some > >> DataSource.Columns property that does: > >> > >> sReq = "SELECT " & DataSource.Columns.Join() & " FROM " & ... > >> > >> I saw something similar in the DataTable.class source code but I couldn't > >> figure out how to get the $aKey there modified. I think you'll know better. > >> > >> Can someone please point me in the right direction? > >> > >> Regards, > >> Tobi > > > > DataSource can take a SQL request instead of a table. But then you > cannot modify the records. > > -- > Beno?t Minisini Bruce, clever idea. That's certainly feasible but a workaround. Benoit, is there any reason there is no such DataSource.Columns As String[]? Regards, Tobi From gambas at ...1... Sat Sep 29 19:10:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Sep 2012 19:10:19 +0200 Subject: [Gambas-user] Forbid DataSource to fetch certain fields In-Reply-To: <20120929170722.GB523@...2774...> References: <20120929074019.GB587@...2774...> <20120929074415.GC587@...2774...> <5066D126.8070306@...1...> <20120929170722.GB523@...2774...> Message-ID: <50672B7B.2080400@...1...> Le 29/09/2012 19:07, Tobias Boege a ?crit : > On Sat, 29 Sep 2012, Beno?t Minisini wrote: >> Le 29/09/2012 09:44, Tobias Boege a ?crit : >>> On Sat, 29 Sep 2012, Tobias Boege wrote: >>>> Hi, >>>> >>>> rocko's recent question brought me back to a problem I once had: >>>> We have a database at school which contains a lot of big blobs (PDFs of >>>> student papers). It consequently takes an unneccessary amount of time to >>>> load all the records in there. My question is hence: Can I tell the DataView >>> >>> read the last word as: DataSource ;-) >>> >>>> to only load certain fields from the database table? I think of some >>>> DataSource.Columns property that does: >>>> >>>> sReq = "SELECT " & DataSource.Columns.Join() & " FROM " & ... >>>> >>>> I saw something similar in the DataTable.class source code but I couldn't >>>> figure out how to get the $aKey there modified. I think you'll know better. >>>> >>>> Can someone please point me in the right direction? >>>> >>>> Regards, >>>> Tobi >>> >> >> DataSource can take a SQL request instead of a table. But then you >> cannot modify the records. >> >> -- >> Beno?t Minisini > > Bruce, clever idea. That's certainly feasible but a workaround. > Benoit, is there any reason there is no such DataSource.Columns As String[]? > > Regards, > Tobi > Because using your own SQL request is more powerful. -- Beno?t Minisini From richard.j.walker at ...247... Sun Sep 30 02:21:15 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 30 Sep 2012 01:21:15 +0100 Subject: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken Message-ID: I don't think this has been mentioned before. The colour chooser thing has an eyedropper tool which is no longer working in the gtk version. The qt4 one still does what it should. The effect is that as soon as you click on the eyedropper tool the system stops responding to mouse clicks, though other mouse events are still active. It is possible, when testing in the IDE, to focus a Quit button with the mouse and "click" it with the space-bar. This does not completely stop the application, but allows you to use the mouse and stop it with the IDE application STOP button. Richard [System] OperatingSystem=Linux Kernel=3.2.16-0.rt27.1.mga2 Architecture=x86_64 Memory=3092992 kB DistributionVendor="Mageia" DistributionRelease="Mageia 2" Desktop=LXDE [Gambas 3] Version=3.3.1 Path=/usr/bin/gbx3 From taboege at ...626... Sun Sep 30 11:48:20 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 30 Sep 2012 11:48:20 +0200 Subject: [Gambas-user] Forbid DataSource to fetch certain fields In-Reply-To: <50672B7B.2080400@...1...> References: <20120929074019.GB587@...2774...> <20120929074415.GC587@...2774...> <5066D126.8070306@...1...> <20120929170722.GB523@...2774...> <50672B7B.2080400@...1...> Message-ID: <20120930094820.GE523@...2774...> > >> DataSource can take a SQL request instead of a table. But then you > >> cannot modify the records. > >> > >> -- > >> Beno?t Minisini > > > > Bruce, clever idea. That's certainly feasible but a workaround. > > Benoit, is there any reason there is no such DataSource.Columns As String[]? > > > > Regards, > > Tobi > > > > Because using your own SQL request is more powerful. > > -- > Beno?t Minisini > Could you please elaborate on that? I don't understand how to do it. Do you mean I could use: DataSource.Table = "SELECT id,title FROM my_table" ' instead of "my_table" If you say that one couldn't modify records when using their own SQL it may be more powerful in that one case but limiting in the other... Do I get that right? Regards, Tobi From taboege at ...626... Sun Sep 30 12:14:52 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 30 Sep 2012 12:14:52 +0200 Subject: [Gambas-user] New Printer example Message-ID: <20120930101452.GG523@...2774...> Hi Benoit and Printer people, Hans delved into the Printer class and concluded that there are actually three Printer examples needed: (1) Text (2) Pictures (3) Drawings Because printing those are somewhat different processes. He wrote a class to address (2) - it's attached - and would like to hear comments from you, including if it would go as an example into the tree. He will publish his chapter 23.7 at [0] as soon as this topic has been discussed (for anyone interested). The usual disclaimer: I just translate. I don't even own a printer ;-) Regards, Tobi [0] http://www.gambas-buch.de/dw/doku.php?id=k23:k23.7:start From taboege at ...626... Sun Sep 30 12:36:34 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 30 Sep 2012 12:36:34 +0200 Subject: [Gambas-user] New Printer example In-Reply-To: <20120930101452.GG523@...2774...> References: <20120930101452.GG523@...2774...> Message-ID: <20120930103634.GH523@...2774...> On Sun, 30 Sep 2012, Tobias Boege wrote: > Hi Benoit and Printer people, > > Hans delved into the Printer class and concluded that there are actually > three Printer examples needed: > (1) Text > (2) Pictures > (3) Drawings > Because printing those are somewhat different processes. > > He wrote a class to address (2) - it's attached - and would like to hear > comments from you, including if it would go as an example into the tree. > He will publish his chapter 23.7 at [0] as soon as this topic has been > discussed (for anyone interested). > > The usual disclaimer: I just translate. I don't even own a printer ;-) > > Regards, > Tobi > > [0] http://www.gambas-buch.de/dw/doku.php?id=k23:k23.7:start The attachment. -------------- next part -------------- A non-text attachment was scrubbed... Name: CPrinterImage-1.0.38.tar.gz Type: application/octet-stream Size: 16272 bytes Desc: not available URL: From richard.j.walker at ...247... Sun Sep 30 15:15:22 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 30 Sep 2012 14:15:22 +0100 Subject: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken In-Reply-To: References: Message-ID: Some more information, but I am not sure what it means... I have written a rudimentary testbed program to emulate the operation of the colour chooser thing and it works in both qt4 and gtk modes. What it does: 1. Take a screenshot of the area around the mouse to prove that screenshots work 2. Click to grab the mouse cursor and track its movement, proving that I can track it and display a zoomed area around the mouse as it is dragged across the screen. 3. Proof that the grabbed keyboard/mouse are correctly released when the mouse button is released. What it doesn't do yet is the vast amount of housework needed to update colour values and colour maps but I will be adding that bit by bit. The other thing it doesn't yet do is copy the method of the colour chooser thing in releasing the mouse and keyboard. I haven't yet identified the ways of doing this and on investigation it seems that I was just lucky when my test program met conditions which forced the Grab to un-grab. Richard From vuott at ...325... Sun Sep 30 16:57:56 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 30 Sep 2012 15:57:56 +0100 (BST) Subject: [Gambas-user] Unending cycle "For...Next" with variable As Byte Message-ID: <1349017076.60714.YahooMailClassic@...2780...> Hello, maybe I'm in the clouds.... but I don't understand why this cycle: ********** Public Sub Button1_Click() Dim j As Byte For j = 0 To 255 Print j Next End ********** runs "ad infinitum" ! Regards vuott From vuott at ...325... Sun Sep 30 17:06:05 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 30 Sep 2012 16:06:05 +0100 (BST) Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: <1349017076.60714.YahooMailClassic@...2780...> Message-ID: <1349017565.63538.YahooMailClassic@...2780...> ...I have: [Gambas 3] Version=3.3.0 --- Dom 30/9/12, Ru Vuott ha scritto: > Da: Ru Vuott > Oggetto: [Gambas-user] Unending cycle "For...Next" with variable As Byte > A: gambas-user at lists.sourceforge.net > Data: Domenica 30 settembre 2012, 16:57 > Hello, > > maybe I'm in the clouds.... but I don't understand why this > cycle: > > ********** > Public Sub Button1_Click() > > ? Dim j As Byte > > ? For j = 0 To 255 > > ???Print j > > ? Next > > End > ********** > > runs "ad infinitum" ! > > Regards > vuott > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From richard.j.walker at ...247... Sun Sep 30 17:11:15 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 30 Sep 2012 16:11:15 +0100 Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: <1349017565.63538.YahooMailClassic@...2780...> References: <1349017076.60714.YahooMailClassic@...2780...> <1349017565.63538.YahooMailClassic@...2780...> Message-ID: Just guessing here, but valid values for Byte are 0-255. From observation I have seen that FOR loops terminate with the loop index at final value+1. For Byte that would probably be zero (if it just wraps around from 255 to 0) so there is no reason to terminate the loop. Richard From vuott at ...325... Sun Sep 30 17:26:19 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 30 Sep 2012 16:26:19 +0100 (BST) Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: Message-ID: <1349018779.48106.YahooMailClassic@...2748...> Thanks, Richard. vuottt --- Dom 30/9/12, RICHARD WALKER ha scritto: > Da: RICHARD WALKER > Oggetto: Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte > A: "mailing list for gambas users" > Data: Domenica 30 settembre 2012, 17:11 > Just guessing here, but valid values > for Byte are 0-255. From > observation I have seen that FOR loops terminate with the > loop index > at final value+1. For Byte that would probably be zero (if > it just > wraps around from 255 to 0) so there is no reason to > terminate the > loop. > > Richard > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sun Sep 30 17:32:25 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 30 Sep 2012 17:32:25 +0200 Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: <1349017565.63538.YahooMailClassic@...2780...> References: <1349017076.60714.YahooMailClassic@...2780...> <1349017565.63538.YahooMailClassic@...2780...> Message-ID: <20120930153225.GA556@...2774...> On Sun, 30 Sep 2012, Ru Vuott wrote: > ...I have: > > [Gambas 3] > Version=3.3.0 > > > > > > --- Dom 30/9/12, Ru Vuott ha scritto: > > > Da: Ru Vuott > > Oggetto: [Gambas-user] Unending cycle "For...Next" with variable As Byte > > A: gambas-user at lists.sourceforge.net > > Data: Domenica 30 settembre 2012, 16:57 > > Hello, > > > > maybe I'm in the clouds.... but I don't understand why this > > cycle: > > > > ********** > > Public Sub Button1_Click() > > > > ? Dim j As Byte > > > > ? For j = 0 To 255 > > > > ???Print j > > > > ? Next > > > > End > > ********** > > > > runs "ad infinitum" ! > > > > Regards > > vuott > > Can confirm that with rev5189. Richard's guess sounds logical. "For To" is inclusive: [0; 255] and that's everything you can represent with Byte width. You won't ever detect Byte > 255. From jussi.lahtinen at ...626... Sun Sep 30 17:40:52 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Sep 2012 18:40:52 +0300 Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: <20120930153225.GA556@...2774...> References: <1349017076.60714.YahooMailClassic@...2780...> <1349017565.63538.YahooMailClassic@...2780...> <20120930153225.GA556@...2774...> Message-ID: It is not bug, Richard is right. Jussi On Sun, Sep 30, 2012 at 6:32 PM, Tobias Boege wrote: > On Sun, 30 Sep 2012, Ru Vuott wrote: > > ...I have: > > > > [Gambas 3] > > Version=3.3.0 > > > > > > > > > > > > --- Dom 30/9/12, Ru Vuott ha scritto: > > > > > Da: Ru Vuott > > > Oggetto: [Gambas-user] Unending cycle "For...Next" with variable As > Byte > > > A: gambas-user at lists.sourceforge.net > > > Data: Domenica 30 settembre 2012, 16:57 > > > Hello, > > > > > > maybe I'm in the clouds.... but I don't understand why this > > > cycle: > > > > > > ********** > > > Public Sub Button1_Click() > > > > > > ? Dim j As Byte > > > > > > ? For j = 0 To 255 > > > > > > ???Print j > > > > > > ? Next > > > > > > End > > > ********** > > > > > > runs "ad infinitum" ! > > > > > > Regards > > > vuott > > > > > Can confirm that with rev5189. Richard's guess sounds logical. "For To" is > inclusive: [0; 255] and that's everything you can represent with Byte > width. > You won't ever detect Byte > 255. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Sep 30 18:41:05 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Sep 2012 18:41:05 +0200 Subject: [Gambas-user] Forbid DataSource to fetch certain fields In-Reply-To: <20120930094820.GE523@...2774...> References: <20120929074019.GB587@...2774...> <20120929074415.GC587@...2774...> <5066D126.8070306@...1...> <20120929170722.GB523@...2774...> <50672B7B.2080400@...1...> <20120930094820.GE523@...2774...> Message-ID: <50687621.7050008@...1...> Le 30/09/2012 11:48, Tobias Boege a ?crit : >>>> DataSource can take a SQL request instead of a table. But then you >>>> cannot modify the records. >>>> >>>> -- >>>> Beno?t Minisini >>> >>> Bruce, clever idea. That's certainly feasible but a workaround. >>> Benoit, is there any reason there is no such DataSource.Columns As String[]? >>> >>> Regards, >>> Tobi >>> >> >> Because using your own SQL request is more powerful. >> >> -- >> Beno?t Minisini >> > > Could you please elaborate on that? I don't understand how to do it. Do you > mean I could use: > > DataSource.Table = "SELECT id,title FROM my_table" ' instead of "my_table" Yes. > > If you say that one couldn't modify records when using their own SQL it may > be more powerful in that one case but limiting in the other... Do I get that > right? > > Regards, > Tobi > To modify a record, I need its primary key. But when doing a SELECT, I cannot know for sure how to get it. But maybe I can detect that the SELECT request is on just one table, and add the primary key to it. Or add a way to specify which fields we want from the table. But I have to add a property for that everywhere we find a Table property ; or find another way... -- Beno?t Minisini From gambas at ...1... Sun Sep 30 18:41:59 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Sep 2012 18:41:59 +0200 Subject: [Gambas-user] New Printer example In-Reply-To: <20120930101452.GG523@...2774...> References: <20120930101452.GG523@...2774...> Message-ID: <50687657.5070409@...1...> Le 30/09/2012 12:14, Tobias Boege a ?crit : > Hi Benoit and Printer people, > > Hans delved into the Printer class and concluded that there are actually > three Printer examples needed: > (1) Text > (2) Pictures > (3) Drawings > Because printing those are somewhat different processes. > > He wrote a class to address (2) - it's attached - and would like to hear > comments from you, including if it would go as an example into the tree. > He will publish his chapter 23.7 at [0] as soon as this topic has been > discussed (for anyone interested). > > The usual disclaimer: I just translate. I don't even own a printer ;-) Normally you should have at least the PDF / PS printer... -- Beno?t Minisini From gambas at ...1... Sun Sep 30 18:42:57 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Sep 2012 18:42:57 +0200 Subject: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken In-Reply-To: References: Message-ID: <50687691.1060108@...1...> Le 30/09/2012 15:15, RICHARD WALKER a ?crit : > Some more information, but I am not sure what it means... > > I have written a rudimentary testbed program to emulate the operation > of the colour chooser thing and it works in both qt4 and gtk modes. > What it does: > > 1. Take a screenshot of the area around the mouse to prove that screenshots work > 2. Click to grab the mouse cursor and track its movement, proving that > I can track it and display a zoomed area around the mouse as it is > dragged across the screen. > 3. Proof that the grabbed keyboard/mouse are correctly released when > the mouse button is released. > > What it doesn't do yet is the vast amount of housework needed to > update colour values and colour maps but I will be adding that bit by > bit. > > The other thing it doesn't yet do is copy the method of the colour > chooser thing in releasing the mouse and keyboard. I haven't yet > identified the ways of doing this and on investigation it seems that I > was just lucky when my test program met conditions which forced the > Grab to un-grab. > > Richard > I'm currently investigating... The Control.Grab() method does not work anymore in gb.gtk, I have to fix it... -- Beno?t Minisini From taboege at ...626... Sun Sep 30 20:09:00 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 30 Sep 2012 20:09:00 +0200 Subject: [Gambas-user] Forbid DataSource to fetch certain fields In-Reply-To: <50687621.7050008@...1...> References: <20120929074019.GB587@...2774...> <20120929074415.GC587@...2774...> <5066D126.8070306@...1...> <20120929170722.GB523@...2774...> <50672B7B.2080400@...1...> <20120930094820.GE523@...2774...> <50687621.7050008@...1...> Message-ID: <20120930180900.GD556@...2774...> On Sun, 30 Sep 2012, Beno?t Minisini wrote: > Le 30/09/2012 11:48, Tobias Boege a ?crit : > >>>> DataSource can take a SQL request instead of a table. But then you > >>>> cannot modify the records. > >>>> > >>>> -- > >>>> Beno?t Minisini > >>> > >>> Bruce, clever idea. That's certainly feasible but a workaround. > >>> Benoit, is there any reason there is no such DataSource.Columns As String[]? > >>> > >>> Regards, > >>> Tobi > >>> > >> > >> Because using your own SQL request is more powerful. > >> > >> -- > >> Beno?t Minisini > >> > > > > Could you please elaborate on that? I don't understand how to do it. Do you > > mean I could use: > > > > DataSource.Table = "SELECT id,title FROM my_table" ' instead of "my_table" > > Yes. > > > > > If you say that one couldn't modify records when using their own SQL it may > > be more powerful in that one case but limiting in the other... Do I get that > > right? > > > > Regards, > > Tobi > > > > To modify a record, I need its primary key. But when doing a SELECT, I > cannot know for sure how to get it. > > But maybe I can detect that the SELECT request is on just one table, and > add the primary key to it. > > Or add a way to specify which fields we want from the table. But I have > to add a property for that everywhere we find a Table property ; or find > another way... Sorry, I missed my initial goal :-/ It was to *display* only certain fields and the ".Table = sSql" trick does it. I just wondered why I had to bother using my own SQL. So the following is just for interest. I've got the impression that I don't know enough about the infrastructure but naively I'd say we could turn (from DataTable.class): hReq = Request.Select($aKey).From($sTable).Where($sFilter).OrderBy($aKey) into hReq = Request.Select($aKey.Copy().Insert($aCols)).From($sTable).... where $aCols corresponds to a DataSource.Columns As String[] property, and everything is clean. I understand if this is considered to be comfort overkill or even wrong but it would then be analoguous to DataView.Columns but at a deeper level. It logical and easy to understand how they are related and what the differences are...? Anyway, thanks. Regards, Tobi From kevinfishburne at ...1887... Sun Sep 30 21:14:57 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 30 Sep 2012 15:14:57 -0400 Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: References: <1349017076.60714.YahooMailClassic@...2780...> <1349017565.63538.YahooMailClassic@...2780...> <20120930153225.GA556@...2774...> Message-ID: <50689A31.8030905@...1887...> This one bit me a while back and the answer was the same and I confirmed it through testing. Maybe the documentation for For...Next should mention it. I suspect many BASIC dialects don't work this way, which could lead to confusion for new users of GAMBAS. I could be wrong, but I think even GAMBAS used to not work this way, which makes the issue even more confusing. Then again, the root of the issue doesn't really have anything to do with For...Next but in how variables deal with assignments that are out of range. On 09/30/2012 11:40 AM, Jussi Lahtinen wrote: > It is not bug, Richard is right. > > Jussi > > > > On Sun, Sep 30, 2012 at 6:32 PM, Tobias Boege wrote: > >> On Sun, 30 Sep 2012, Ru Vuott wrote: >>> ...I have: >>> >>> [Gambas 3] >>> Version=3.3.0 >>> >>> >>> >>> >>> >>> --- Dom 30/9/12, Ru Vuott ha scritto: >>> >>>> Da: Ru Vuott >>>> Oggetto: [Gambas-user] Unending cycle "For...Next" with variable As >> Byte >>>> A: gambas-user at lists.sourceforge.net >>>> Data: Domenica 30 settembre 2012, 16:57 >>>> Hello, >>>> >>>> maybe I'm in the clouds.... but I don't understand why this >>>> cycle: >>>> >>>> ********** >>>> Public Sub Button1_Click() >>>> >>>> ? Dim j As Byte >>>> >>>> ? For j = 0 To 255 >>>> >>>> ???Print j >>>> >>>> ? Next >>>> >>>> End >>>> ********** >>>> >>>> runs "ad infinitum" ! >>>> >>>> Regards >>>> vuott >>>> >> Can confirm that with rev5189. Richard's guess sounds logical. "For To" is >> inclusive: [0; 255] and that's everything you can represent with Byte >> width. >> You won't ever detect Byte > 255. >> >> -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas.fr at ...626... Sun Sep 30 21:18:39 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 30 Sep 2012 21:18:39 +0200 Subject: [Gambas-user] New Printer example In-Reply-To: <50687657.5070409@...1...> References: <20120930101452.GG523@...2774...> <50687657.5070409@...1...> Message-ID: Public Sub GetPrinterResolution() Dim sResultPath, sResultRow As String Dim iPosition As Integer Shell "locate -b *.ppd | grep " & myPrinter.Name To sResultPath Shell "grep '*DefaultResolution:' " & sResultPath To sResultRow iPosition = InStr(sResultRow, Chr(58)) iPrinterDPI = Mid(sResultRow, iPosition + 2, -4) ' FS-1030D = 600 dpi End Well... Printer.Resolution ? http://gambasdoc.org/help/comp/gb.qt4/printer/resolution?v3 This example can use Paint.width and paint.height to get the size of the support Nevertheless: I can do : Public Sub Main() Dim hReportImage As New ReportImage(Report) Dialog.Path = User.Home If Not Dialog.OpenFile() Then Try hReportImage.Image = Image.Load(Dialog.Path) If Error Then Message.Error("Cannot Load Image: " & Dialog.Path) Return Endif Else Return Endif 'The picture have it's good proportions hReportImage.Stretch = Report.Proportional 'The Picture take all the space on the page hReportImage.Expand = True 'a margin arround the page Report.Padding = ReportPadding["1 cm"] 'Preview ? ... and printing Report.Preview() End It's less line of code for the same thing If someone want to help me to document gambas reports... And you can add this too : if hReportImage.Image.Height < hreportImage.Image.Width then Report.Orientation = printer.Landscape From jussi.lahtinen at ...626... Sun Sep 30 21:28:58 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Sep 2012 22:28:58 +0300 Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: <50689A31.8030905@...1887...> References: <1349017076.60714.YahooMailClassic@...2780...> <1349017565.63538.YahooMailClassic@...2780...> <20120930153225.GA556@...2774...> <50689A31.8030905@...1887...> Message-ID: I think all Basics work this way! Test with any basic: For ii = 1 to 10 Next Print ii What you expect? I think all basic languages gives 11 as result. Jussi On Sun, Sep 30, 2012 at 10:14 PM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > This one bit me a while back and the answer was the same and I confirmed > it through testing. Maybe the documentation for For...Next should > mention it. I suspect many BASIC dialects don't work this way, which > could lead to confusion for new users of GAMBAS. I could be wrong, but I > think even GAMBAS used to not work this way, which makes the issue even > more confusing. Then again, the root of the issue doesn't really have > anything to do with For...Next but in how variables deal with > assignments that are out of range. > > On 09/30/2012 11:40 AM, Jussi Lahtinen wrote: > > It is not bug, Richard is right. > > > > Jussi > > > > > > > > On Sun, Sep 30, 2012 at 6:32 PM, Tobias Boege wrote: > > > >> On Sun, 30 Sep 2012, Ru Vuott wrote: > >>> ...I have: > >>> > >>> [Gambas 3] > >>> Version=3.3.0 > >>> > >>> > >>> > >>> > >>> > >>> --- Dom 30/9/12, Ru Vuott ha scritto: > >>> > >>>> Da: Ru Vuott > >>>> Oggetto: [Gambas-user] Unending cycle "For...Next" with variable As > >> Byte > >>>> A: gambas-user at lists.sourceforge.net > >>>> Data: Domenica 30 settembre 2012, 16:57 > >>>> Hello, > >>>> > >>>> maybe I'm in the clouds.... but I don't understand why this > >>>> cycle: > >>>> > >>>> ********** > >>>> Public Sub Button1_Click() > >>>> > >>>> ? Dim j As Byte > >>>> > >>>> ? For j = 0 To 255 > >>>> > >>>> ???Print j > >>>> > >>>> ? Next > >>>> > >>>> End > >>>> ********** > >>>> > >>>> runs "ad infinitum" ! > >>>> > >>>> Regards > >>>> vuott > >>>> > >> Can confirm that with rev5189. Richard's guess sounds logical. "For To" > is > >> inclusive: [0; 255] and that's everything you can represent with Byte > >> width. > >> You won't ever detect Byte > 255. > >> > >> > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Sep 30 22:05:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Sep 2012 22:05:12 +0200 Subject: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken In-Reply-To: <50687691.1060108@...1...> References: <50687691.1060108@...1...> Message-ID: <5068A5F8.3040504@...1...> Le 30/09/2012 18:42, Beno?t Minisini a ?crit : > Le 30/09/2012 15:15, RICHARD WALKER a ?crit : >> Some more information, but I am not sure what it means... >> >> I have written a rudimentary testbed program to emulate the operation >> of the colour chooser thing and it works in both qt4 and gtk modes. >> What it does: >> >> 1. Take a screenshot of the area around the mouse to prove that >> screenshots work >> 2. Click to grab the mouse cursor and track its movement, proving that >> I can track it and display a zoomed area around the mouse as it is >> dragged across the screen. >> 3. Proof that the grabbed keyboard/mouse are correctly released when >> the mouse button is released. >> >> What it doesn't do yet is the vast amount of housework needed to >> update colour values and colour maps but I will be adding that bit by >> bit. >> >> The other thing it doesn't yet do is copy the method of the colour >> chooser thing in releasing the mouse and keyboard. I haven't yet >> identified the ways of doing this and on investigation it seems that I >> was just lucky when my test program met conditions which forced the >> Grab to un-grab. >> >> Richard >> > > I'm currently investigating... The Control.Grab() method does not work > anymore in gb.gtk, I have to fix it... > OK, it is fixed in revision #5213 and will be backported to Gambas 3.3.2. Regards, -- Beno?t Minisini From gambas at ...1... Sun Sep 30 22:47:10 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Sep 2012 22:47:10 +0200 Subject: [Gambas-user] Release of Gambas 3.3.2 Message-ID: <5068AFCE.4030102@...1...> Hi, I have just released Gambas 3.3.2. with a few fixes for last-minute annoying bugs (again). All the information is on the web site! Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Sep 30 22:51:10 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Sep 2012 23:51:10 +0300 Subject: [Gambas-user] Crash with translation tool Message-ID: Translation tool says everything is already translated, which is not true, and when I close the window IDE crashes. [13] Null object. FTranslate.ShiftToSort.1306 I couldn't isolate the problem with quick look. I'll try again tomorrow. Gambas 3 rev 5208 @ Xubuntu 12.04 64bit. Jussi From gambas at ...1... Sun Sep 30 23:00:59 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Sep 2012 23:00:59 +0200 Subject: [Gambas-user] Crash with translation tool In-Reply-To: References: Message-ID: <5068B30B.5060501@...1...> Le 30/09/2012 22:51, Jussi Lahtinen a ?crit : > Translation tool says everything is already translated, which is not true, > and when I close the window IDE crashes. > > > [13] Null object. > FTranslate.ShiftToSort.1306 > > > I couldn't isolate the problem with quick look. > > I'll try again tomorrow. > > > Gambas 3 rev 5208 @ Xubuntu 12.04 64bit. > > > Jussi No problem there. You should send me the project you try to translate. -- Beno?t Minisini From vuott at ...325... Sun Sep 30 23:09:30 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 30 Sep 2012 22:09:30 +0100 (BST) Subject: [Gambas-user] R: Release of Gambas 3.3.2 In-Reply-To: <5068AFCE.4030102@...1...> Message-ID: <1349039370.33976.YahooMailClassic@...2789...> Hello, I updated right now my Gambas-3 with rev. #5219. But in "System information" window I still read : [Gambas 3] Version=3.3.0 Path=/usr/local/bin/gbx3 Why is it not written "3.3.2" ? Regards vuottt --- Dom 30/9/12, Beno?t Minisini ha scritto: > Da: Beno?t Minisini > Oggetto: [Gambas-user] Release of Gambas 3.3.2 > A: "mailing list for gambas users" > Data: Domenica 30 settembre 2012, 22:47 > Hi, > > I have just released Gambas 3.3.2. with a few fixes for > last-minute > annoying bugs (again). > > All the information is on the web site! > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Sep 30 23:11:36 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Sep 2012 23:11:36 +0200 Subject: [Gambas-user] R: Release of Gambas 3.3.2 In-Reply-To: <1349039370.33976.YahooMailClassic@...2789...> References: <1349039370.33976.YahooMailClassic@...2789...> Message-ID: <5068B588.1080502@...1...> Le 30/09/2012 23:09, Ru Vuott a ?crit : > Hello, > > I updated right now my Gambas-3 with rev. #5219. But in "System information" window I still read : > If you are using /trunk, this is normal, the version may not be updated. Regards, -- Beno?t Minisini From richard.j.walker at ...247... Sun Sep 30 23:16:08 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 30 Sep 2012 22:16:08 +0100 Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: References: <1349017076.60714.YahooMailClassic@...2780...> <1349017565.63538.YahooMailClassic@...2780...> <20120930153225.GA556@...2774...> <50689A31.8030905@...1887...> Message-ID: Sinclair BASIC on the QL used to have a FOR loop epilogue which could be used to handle this sort of thing. A simple FOR loop was FOR index = start TO stop On 30/09/2012, Jussi Lahtinen wrote: > I think all Basics work this way! > > Test with any basic: > > For ii = 1 to 10 > Next > > Print ii > > What you expect? I think all basic languages gives 11 as result. > > Jussi > > > > > > On Sun, Sep 30, 2012 at 10:14 PM, Kevin Fishburne < > kevinfishburne at ...1887...> wrote: > >> This one bit me a while back and the answer was the same and I confirmed >> it through testing. Maybe the documentation for For...Next should >> mention it. I suspect many BASIC dialects don't work this way, which >> could lead to confusion for new users of GAMBAS. I could be wrong, but I >> think even GAMBAS used to not work this way, which makes the issue even >> more confusing. Then again, the root of the issue doesn't really have >> anything to do with For...Next but in how variables deal with >> assignments that are out of range. >> >> On 09/30/2012 11:40 AM, Jussi Lahtinen wrote: >> > It is not bug, Richard is right. >> > >> > Jussi >> > >> > >> > >> > On Sun, Sep 30, 2012 at 6:32 PM, Tobias Boege >> > wrote: >> > >> >> On Sun, 30 Sep 2012, Ru Vuott wrote: >> >>> ...I have: >> >>> >> >>> [Gambas 3] >> >>> Version=3.3.0 >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> --- Dom 30/9/12, Ru Vuott ha scritto: >> >>> >> >>>> Da: Ru Vuott >> >>>> Oggetto: [Gambas-user] Unending cycle "For...Next" with variable As >> >> Byte >> >>>> A: gambas-user at lists.sourceforge.net >> >>>> Data: Domenica 30 settembre 2012, 16:57 >> >>>> Hello, >> >>>> >> >>>> maybe I'm in the clouds.... but I don't understand why this >> >>>> cycle: >> >>>> >> >>>> ********** >> >>>> Public Sub Button1_Click() >> >>>> >> >>>> ? Dim j As Byte >> >>>> >> >>>> ? For j = 0 To 255 >> >>>> >> >>>> ???Print j >> >>>> >> >>>> ? Next >> >>>> >> >>>> End >> >>>> ********** >> >>>> >> >>>> runs "ad infinitum" ! >> >>>> >> >>>> Regards >> >>>> vuott >> >>>> >> >> Can confirm that with rev5189. Richard's guess sounds logical. "For >> >> To" >> is >> >> inclusive: [0; 255] and that's everything you can represent with Byte >> >> width. >> >> You won't ever detect Byte > 255. >> >> >> >> >> >> -- >> Kevin Fishburne >> Eight Virtues >> www: http://sales.eightvirtues.com >> e-mail: sales at ...1887... >> phone: (770) 853-6271 >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://ad.doubleclick.net/clk;258768047;13503038;j? >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Sun Sep 30 23:21:28 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 30 Sep 2012 22:21:28 +0100 (BST) Subject: [Gambas-user] R: Release of Gambas 3.3.2 In-Reply-To: <5068B588.1080502@...1...> Message-ID: <1349040088.8119.YahooMailClassic@...2691...> uhmmm.... but... simply the word "3.3.2" is not visible, despite the version update happens regularly. Or the version is not updated ? If it is the latter, how do I upgrade to 3.3.2 ? Thanks vuott --- Dom 30/9/12, Beno?t Minisini ha scritto: > Da: Beno?t Minisini > Oggetto: Re: [Gambas-user] R: Release of Gambas 3.3.2 > A: "mailing list for gambas users" > Data: Domenica 30 settembre 2012, 23:11 > Le 30/09/2012 23:09, Ru Vuott a > ?crit : > > Hello, > > > > I updated right now my Gambas-3 with rev. #5219. But in > "System information" window I still read : > > > > If you are using /trunk, this is normal, the version may not > be updated. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From richard.j.walker at ...247... Sun Sep 30 23:24:36 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 30 Sep 2012 22:24:36 +0100 Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: References: <1349017076.60714.YahooMailClassic@...2780...> <1349017565.63538.YahooMailClassic@...2780...> <20120930153225.GA556@...2774...> <50689A31.8030905@...1887...> Message-ID: Sinclair BASIC on the QL used to have a FOR loop epilogue which could be used to handle this sort of thing. A simple FOR loop was FOR index = start TO stop do some stuff END FOR index The NEXT control could be added to create the epilogue so: FOR byte = 0 TO 254 PRINT index NEXT index PRINT index END FOR index Would print out the values from 0 to 255. If the loop's initial conditions would not permit execution, control jumps to after the END FOR marker. It also allowed : FOR index = 0 TO 15, 64, 96, 128 to 254, 255 Very useful, and just one of the many features I miss from SuperBASIC. R From emil.lenngren at ...626... Sun Sep 30 23:27:03 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 30 Sep 2012 23:27:03 +0200 Subject: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte In-Reply-To: References: <1349017076.60714.YahooMailClassic@...2780...> <1349017565.63538.YahooMailClassic@...2780...> <20120930153225.GA556@...2774...> <50689A31.8030905@...1887...> Message-ID: It is the same in almost all languages. unsigned char i; for(i=0; i<255; i++){} and unsigned int i; for(i=0; i<4294967295U; i++){} in C will never terminate. In Gambas, Dim i As Integer For i = 0 To 2147483647 Next will not terminate either. You might think that because you say the range 0 To X, you expect to get each of those values, but the truth is that the For i = 0 To X is actually interpreted as for(i=0; i<=X; i++) which obviously does not work when X is the max value of that integer type. 2012/9/30 RICHARD WALKER > Sinclair BASIC on the QL used to have a FOR loop epilogue which could > be used to handle this sort of thing. A simple FOR loop was > > FOR index = start TO stop > > > On 30/09/2012, Jussi Lahtinen wrote: > > I think all Basics work this way! > > > > Test with any basic: > > > > For ii = 1 to 10 > > Next > > > > Print ii > > > > What you expect? I think all basic languages gives 11 as result. > > > > Jussi > > > > > > > > > > > > On Sun, Sep 30, 2012 at 10:14 PM, Kevin Fishburne < > > kevinfishburne at ...1887...> wrote: > > > >> This one bit me a while back and the answer was the same and I confirmed > >> it through testing. Maybe the documentation for For...Next should > >> mention it. I suspect many BASIC dialects don't work this way, which > >> could lead to confusion for new users of GAMBAS. I could be wrong, but I > >> think even GAMBAS used to not work this way, which makes the issue even > >> more confusing. Then again, the root of the issue doesn't really have > >> anything to do with For...Next but in how variables deal with > >> assignments that are out of range. > >> > >> On 09/30/2012 11:40 AM, Jussi Lahtinen wrote: > >> > It is not bug, Richard is right. > >> > > >> > Jussi > >> > > >> > > >> > > >> > On Sun, Sep 30, 2012 at 6:32 PM, Tobias Boege > >> > wrote: > >> > > >> >> On Sun, 30 Sep 2012, Ru Vuott wrote: > >> >>> ...I have: > >> >>> > >> >>> [Gambas 3] > >> >>> Version=3.3.0 > >> >>> > >> >>> > >> >>> > >> >>> > >> >>> > >> >>> --- Dom 30/9/12, Ru Vuott ha scritto: > >> >>> > >> >>>> Da: Ru Vuott > >> >>>> Oggetto: [Gambas-user] Unending cycle "For...Next" with variable As > >> >> Byte > >> >>>> A: gambas-user at lists.sourceforge.net > >> >>>> Data: Domenica 30 settembre 2012, 16:57 > >> >>>> Hello, > >> >>>> > >> >>>> maybe I'm in the clouds.... but I don't understand why this > >> >>>> cycle: > >> >>>> > >> >>>> ********** > >> >>>> Public Sub Button1_Click() > >> >>>> > >> >>>> ? Dim j As Byte > >> >>>> > >> >>>> ? For j = 0 To 255 > >> >>>> > >> >>>> ???Print j > >> >>>> > >> >>>> ? Next > >> >>>> > >> >>>> End > >> >>>> ********** > >> >>>> > >> >>>> runs "ad infinitum" ! > >> >>>> > >> >>>> Regards > >> >>>> vuott > >> >>>> > >> >> Can confirm that with rev5189. Richard's guess sounds logical. "For > >> >> To" > >> is > >> >> inclusive: [0; 255] and that's everything you can represent with Byte > >> >> width. > >> >> You won't ever detect Byte > 255. > >> >> > >> >> > >> > >> -- > >> Kevin Fishburne > >> Eight Virtues > >> www: http://sales.eightvirtues.com > >> e-mail: sales at ...1887... > >> phone: (770) 853-6271 > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Everyone hates slow websites. So do we. > >> Make your web apps faster with AppDynamics > >> Download AppDynamics Lite for free today: > >> http://ad.doubleclick.net/clk;258768047;13503038;j? > >> http://info.appdynamics.com/FreeJavaPerformanceDownload.html > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://ad.doubleclick.net/clk;258768047;13503038;j? > > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://ad.doubleclick.net/clk;258768047;13503038;j? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Sep 30 23:30:03 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Sep 2012 23:30:03 +0200 Subject: [Gambas-user] R: Release of Gambas 3.3.2 In-Reply-To: <1349040088.8119.YahooMailClassic@...2691...> References: <1349040088.8119.YahooMailClassic@...2691...> Message-ID: <5068B9DB.8050102@...1...> Le 30/09/2012 23:21, Ru Vuott a ?crit : > uhmmm.... but... simply the word "3.3.2" is not visible, despite the version update happens regularly. Or the version is not updated ? > > If it is the latter, how do I upgrade to 3.3.2 ? > > Thanks > vuott > If you are using /trunk, you don't care. Go to the web site, and browse the subversion repository, you will understand what I say: When a major version is released, a subversion branch is created. 3.3.2 is the version of the 3.3 branch. The /trunk has its own version number, that will be 3.3.90. It is 3.3.0 at the moment because I didn't update the version number yet. /trunk is the unstable development version. Its version number is not significative. The revision number is. /branches/3.x are the stable versions with bug fixes. /tags/3.x.y are the stable releases. Regards, -- Beno?t Minisini From lordheavym at ...626... Sun Sep 30 23:40:32 2012 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 30 Sep 2012 23:40:32 +0200 Subject: [Gambas-user] Release of Gambas 3.3.2 In-Reply-To: <5068AFCE.4030102@...1...> References: <5068AFCE.4030102@...1...> Message-ID: <6712646.5Eh81Gtbm3@...2592...> Le dimanche 30 septembre 2012 22:47:10 Beno?t Minisini a ?crit : > Hi, > > I have just released Gambas 3.3.2. with a few fixes for last-minute > annoying bugs (again). > > All the information is on the web site! > > Regards, Is gb.libxml deprecated ? ++ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part. URL: From richard.j.walker at ...247... Sun Sep 30 23:51:06 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 30 Sep 2012 22:51:06 +0100 Subject: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken In-Reply-To: <5068A5F8.3040504@...1...> References: <50687691.1060108@...1...> <5068A5F8.3040504@...1...> Message-ID: Awestruck. No other word for it, I'm stricken with awe. Thank you Richard