From support at ...2529... Wed Aug 1 01:37:46 2012 From: support at ...2529... (John Spikowski) Date: Tue, 31 Jul 2012 16:37:46 -0700 Subject: [Gambas-user] Holidays In-Reply-To: <5018301B.20700@...1887...> References: <5017E6CA.1050802@...1...> <5018301B.20700@...1887...> Message-ID: <1343777866.2271.2.camel@...1833...> On Tue, 2012-07-31 at 15:20 -0400, Kevin Fishburne wrote: > I'd be shaking like a junkie in a jail cell if I were away for that > long. That one is going in my favorite quotes folder! How true is that? I'm trying to decide what would be worse, no smokes or no internet connection. ;-) From gambas at ...2524... Wed Aug 1 06:33:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 01 Aug 2012 04:33:12 +0000 Subject: [Gambas-user] Issue 294 in gambas: Sidpanels jump inside a tabstrip Message-ID: <0-6813199134517018827-3467137658813902324-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 294 by adamn... at ...626...: Sidpanels jump inside a tabstrip http://code.google.com/p/gambas/issues/detail?id=294 1) Describe the problem. The attached project has a tabstrip with three panels. On each one there is a sidepanel. The sidepanel on tab A is hidden by the .form file, i.e the Hidden property is set in the IDE Properties. The sidepanel on tab B is hidden by the Form_Open event code. The sidepanel on tab C is hidden by the event handler for the "Hide C" button. So fundamentally, the sidepanels are all hidden by code at different stages of the forms life. The issue is when any sidepanel is hidden by code, it jumps to tab A. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5004 Operating system: Linux Distribution: PCLinuxOS Architecture: x86 GUI component: QT4 / GTK+ Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Run the project. When the form opens, click the Hide C button. Screenshot attached is what I get. 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: sidepanels-0.0.1.tar.gz 4.7 KB sidepanels_029.png 5.4 KB From wally at ...2037... Wed Aug 1 11:53:13 2012 From: wally at ...2037... (wally) Date: Wed, 01 Aug 2012 11:53:13 +0200 Subject: [Gambas-user] Gambas3 on Debian ? Message-ID: <2105551.Fti6l8qi4o@...46...> installation on debian weezy looks good but : wally at ...2889...:~$ gambas3 gambas3 gambas3.gambas wally at ...2889...:~$ gambas3 ** INTERNAL ERROR ** ** GB.Push: unknown datatype ** Program aborting. Sorry! :-( wally at ...2889...:~$ any ideas ? thanks wally From lists at ...2828... Wed Aug 1 11:59:07 2012 From: lists at ...2828... (Christer Johansson) Date: Wed, 1 Aug 2012 11:59:07 +0200 Subject: [Gambas-user] Holidays In-Reply-To: <5017E6CA.1050802@...1...> Message-ID: <000001cd6fcc$4e747940$0f00a8c0@...2829...> > I leave Paris, my computer and Internet for a week. I will be back on > August, 6th. > > So you have six days to fill my mailbox with hundreds of bug reports. Hope you enjoy your holiday! /CJ From basic.gambas at ...626... Wed Aug 1 12:01:17 2012 From: basic.gambas at ...626... (=?iso-8859-1?Q?Fran=E7ois_Gallo?=) Date: Wed, 1 Aug 2012 12:01:17 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <2105551.Fti6l8qi4o@...46...> References: <2105551.Fti6l8qi4o@...46...> Message-ID: <22AD84C5-E7FD-4AE6-A7CA-2E74098DB09F@...626...> Le 1 ao?t 2012 ? 11:53, wally a ?crit : > installation on debian weezy looks good but : > > wally at ...2889...:~$ gambas3 > gambas3 gambas3.gambas > wally at ...2889...:~$ gambas3 > > ** INTERNAL ERROR ** > ** GB.Push: unknown datatype > ** Program aborting. Sorry! :-( > wally at ...2889...:~$ > > > any ideas ? The only person who is able to fix that is Benoit. And currently he's in holliday :) . He comes back August, 6th. However, you already start a report bug by collecting information about this bug. Have a look at gambas website for use GDB and Valgrind if needed. then, send it to mailing list. > > thanks wally > > ------------------------------------------------------------------------------ > 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 tobiasboege01 at ...1601... Wed Aug 1 12:13:20 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Wed, 1 Aug 2012 12:13:20 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <2105551.Fti6l8qi4o@...46...> References: <2105551.Fti6l8qi4o@...46...> Message-ID: <20120801101319.GA477@...2774...> On Wed, 01 Aug 2012, wally wrote: > installation on debian weezy looks good but : > > wally at ...2889...:~$ gambas3 > gambas3 gambas3.gambas > wally at ...2889...:~$ gambas3 > > ** INTERNAL ERROR ** > ** GB.Push: unknown datatype > ** Program aborting. Sorry! :-( > wally at ...2889...:~$ > > > any ideas ? > > thanks wally > If you hadn't shown the error I would have insisted that this one could never be risen... :-) Bad timing, too... I don't know if I could help but I would be interested in the output with this patch applied: [gbx_api.c.patch] --8<--------------- Index: main/gbx/gbx_api.c =================================================================== --- main/gbx/gbx_api.c (revision 5004) +++ main/gbx/gbx_api.c (working copy) @@ -579,7 +579,7 @@ break; default: - ERROR_panic("GB.Push: unknown datatype"); + ERROR_panic("GB.Push: unknown datatype: %x", type); break; } --8<--------------- Just save it in your trunk working copy and do: $ patch main/gbx/gbx_api.c gbx_api.c.patch $ make # make install Regards, Tobi From wally at ...2037... Wed Aug 1 12:18:10 2012 From: wally at ...2037... (wally) Date: Wed, 01 Aug 2012 12:18:10 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <22AD84C5-E7FD-4AE6-A7CA-2E74098DB09F@...626...> References: <2105551.Fti6l8qi4o@...46...> <22AD84C5-E7FD-4AE6-A7CA-2E74098DB09F@...626...> Message-ID: <3015596.HEq91bDzbh@...46...> On Wednesday 01 August 2012 12:01:17 Fran?ois Gallo wrote: > Le 1 ao?t 2012 ? 11:53, wally a ?crit : > > installation on debian weezy looks good but : > > > > wally at ...2889...:~$ gambas3 > > gambas3 gambas3.gambas > > wally at ...2889...:~$ gambas3 > > > > ** INTERNAL ERROR ** > > ** GB.Push: unknown datatype > > ** Program aborting. Sorry! :-( > > wally at ...2889...:~$ > > > > > > any ideas ? > > The only person who is able to fix that is Benoit. > And currently he's in holliday :) . He comes back August, 6th. > > However, you already start a report bug by collecting information > about this bug. Have a look at gambas website for use GDB and Valgrind > if needed. > > then, send it to mailing list. this sounds as you assume its an gambas bug. are you sure ? From wally at ...2037... Wed Aug 1 12:25:12 2012 From: wally at ...2037... (wally) Date: Wed, 01 Aug 2012 12:25:12 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <20120801101319.GA477@...2774...> References: <2105551.Fti6l8qi4o@...46...> <20120801101319.GA477@...2774...> Message-ID: <1884651.tbPUkTj527@...46...> On Wednesday 01 August 2012 12:13:20 Tobias Boege wrote: > On Wed, 01 Aug 2012, wally wrote: > > installation on debian weezy looks good but : > > > > wally at ...2889...:~$ gambas3 > > gambas3 gambas3.gambas > > wally at ...2889...:~$ gambas3 > > > > ** INTERNAL ERROR ** > > ** GB.Push: unknown datatype > > ** Program aborting. Sorry! :-( > > wally at ...2889...:~$ > > > > > > any ideas ? > > > > thanks wally > > If you hadn't shown the error I would have insisted that this one could > never be risen... :-) Bad timing, too... > I don't know if I could help but I would be interested in the output > with this patch applied: > > [gbx_api.c.patch] > --8<--------------- > Index: main/gbx/gbx_api.c > =================================================================== > --- main/gbx/gbx_api.c (revision 5004) > +++ main/gbx/gbx_api.c (working copy) > @@ -579,7 +579,7 @@ > break; > > default: > - ERROR_panic("GB.Push: unknown datatype"); > + ERROR_panic("GB.Push: unknown datatype: %x", > type); break; > } > > --8<--------------- > > Just save it in your trunk working copy and do: > > $ patch main/gbx/gbx_api.c gbx_api.c.patch > $ make > # make install > > Regards, > Tobi > Tobi, this is a repo install from ftp://ftp.de.debian.org/debian/pool/main/g/gambas3/ the normal svn build loks also good up to sudo make install this gives a info at the end only: can nott complile gambas3 during reconf-all, configure -C, make i did not have erors. i'm used to work on OpenSue, no problem at all. Now on Debian i do not really now yet how things works. wally From basic.gambas at ...626... Wed Aug 1 12:26:11 2012 From: basic.gambas at ...626... (=?iso-8859-1?Q?Fran=E7ois_Gallo?=) Date: Wed, 1 Aug 2012 12:26:11 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <3015596.HEq91bDzbh@...46...> References: <2105551.Fti6l8qi4o@...46...> <22AD84C5-E7FD-4AE6-A7CA-2E74098DB09F@...626...> <3015596.HEq91bDzbh@...46...> Message-ID: <8AB3ED83-63BC-4C0A-AE68-E454346EDCB0@...626...> Le 1 ao?t 2012 ? 12:18, wally a ?crit : > On Wednesday 01 August 2012 12:01:17 Fran?ois Gallo wrote: >> Le 1 ao?t 2012 ? 11:53, wally a ?crit : >>> installation on debian weezy looks good but : >>> >>> wally at ...2889...:~$ gambas3 >>> gambas3 gambas3.gambas >>> wally at ...2889...:~$ gambas3 >>> >>> ** INTERNAL ERROR ** >>> ** GB.Push: unknown datatype >>> ** Program aborting. Sorry! :-( >>> wally at ...2889...:~$ >>> >>> >>> any ideas ? >> >> The only person who is able to fix that is Benoit. >> And currently he's in holliday :) . He comes back August, 6th. >> >> However, you already start a report bug by collecting information >> about this bug. Have a look at gambas website for use GDB and Valgrind >> if needed. >> >> then, send it to mailing list. > > > this sounds as you assume its an gambas bug. > are you sure ? ** INTERNAL ERROR ** ** GB.Push: unknown datatype Yes, that's a bug. > > > > > > ------------------------------------------------------------------------------ > 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 lists at ...2828... Wed Aug 1 12:28:12 2012 From: lists at ...2828... (Christer Johansson) Date: Wed, 1 Aug 2012 12:28:12 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <501429A3.4030206@...1...> Message-ID: <000101cd6fd0$5c53d110$0f00a8c0@...2829...> With some luck and Google I managed to compile a shared version of the C library to RaspberryPi I/O by Mike McCauley and it seems to work (at least partly) within Gambas3 using the EXTERN function. I started with the simplest function there was in the library and that was pretty strait forward and it works fine in Gambas3 using the code below... ' Declare external function Public Extern delay(millis As Integer) In "libbcm2835" ' Delay 2 sec delay(2000) Next up was to declare an actual I/O function to toggle I/O pins and looks like this in the C code (bcm2835.c from the library at http://www.open.com.au/mikem/bcm2835/index.html)... ... // Set putput pin void bcm2835_gpio_set(uint8_t pin) { volatile uint32_t* paddr = gpio + BCM2835_GPSET0/4 + pin/32; uint8_t shift = pin % 32; bcm2835_peri_write(paddr, 1 << shift); } ... Since my C knowledge is very limited I wonder what to declare "uint8_t" as? According to Google it seems to be the same as unsigned char so I tried to use Byte in the declaration but no go, I get segmentation fault when calling that function. Public Extern bcm2835_gpio_set(pin As Byte) In "libbcm2835" Anyone have any ideas what I am doing wrong? BTW: Let me know if anyone wants the shared library file and I will upload it somewhere, it's compiled in Debain Squeeze. /CJ From tobiasboege01 at ...1601... Wed Aug 1 12:49:17 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Wed, 1 Aug 2012 12:49:17 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <1884651.tbPUkTj527@...46...> References: <2105551.Fti6l8qi4o@...46...> <20120801101319.GA477@...2774...> <1884651.tbPUkTj527@...46...> Message-ID: <20120801104917.GB477@...2774...> On Wed, 01 Aug 2012, wally wrote: > On Wednesday 01 August 2012 12:13:20 Tobias Boege wrote: > > On Wed, 01 Aug 2012, wally wrote: > > > installation on debian weezy looks good but : > > > > > > wally at ...2889...:~$ gambas3 > > > gambas3 gambas3.gambas > > > wally at ...2889...:~$ gambas3 > > > > > > ** INTERNAL ERROR ** > > > ** GB.Push: unknown datatype > > > ** Program aborting. Sorry! :-( > > > wally at ...2889...:~$ > > > > > > > > > any ideas ? > > > > > > thanks wally > > > > If you hadn't shown the error I would have insisted that this one could > > never be risen... :-) Bad timing, too... > > I don't know if I could help but I would be interested in the output > > with this patch applied: > > > > [gbx_api.c.patch] > > --8<--------------- > > Index: main/gbx/gbx_api.c > > =================================================================== > > --- main/gbx/gbx_api.c (revision 5004) > > +++ main/gbx/gbx_api.c (working copy) > > @@ -579,7 +579,7 @@ > > break; > > > > default: > > - ERROR_panic("GB.Push: unknown datatype"); > > + ERROR_panic("GB.Push: unknown datatype: %x", > > type); break; > > } > > > > --8<--------------- > > > > Just save it in your trunk working copy and do: > > > > $ patch main/gbx/gbx_api.c gbx_api.c.patch > > $ make > > # make install > > > > Regards, > > Tobi > > > > Tobi, > > this is a repo install from > ftp://ftp.de.debian.org/debian/pool/main/g/gambas3/ > > the normal svn build loks also good up to > sudo make install > this gives a info at the end only: can nott complile gambas3 > during reconf-all, configure -C, make i did not have erors. > > i'm used to work on OpenSue, no problem at all. > Now on Debian i do not really now yet how things works. > > wally Oh. Since I have neither an ARM nor a Debian-based distro, I can't even dare to guess further... There is, however, one thing that makes me curious: When you cannot compile "gambas3", this means that you don't have the necessary components installed. This in turn means that you don't have the necessary packages to compile these components. Now, you installed a .deb - so you should have everything right there to compile gambas3, no? Because if packages are still missing now for compiling gambas3, your installation must be broken... Am I wrong in any point? Regards, Tobi From basic.gambas at ...626... Wed Aug 1 12:57:17 2012 From: basic.gambas at ...626... (=?iso-8859-1?Q?Fran=E7ois_Gallo?=) Date: Wed, 1 Aug 2012 12:57:17 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <20120801104917.GB477@...2774...> References: <2105551.Fti6l8qi4o@...46...> <20120801101319.GA477@...2774...> <1884651.tbPUkTj527@...46...> <20120801104917.GB477@...2774...> Message-ID: <2312034D-3D99-42CD-A7B5-B9520B1F1F16@...626...> Le 1 ao?t 2012 ? 12:49, Tobias Boege a ?crit : > On Wed, 01 Aug 2012, wally wrote: >> On Wednesday 01 August 2012 12:13:20 Tobias Boege wrote: >>> On Wed, 01 Aug 2012, wally wrote: >>>> installation on debian weezy looks good but : >>>> >>>> wally at ...2889...:~$ gambas3 >>>> gambas3 gambas3.gambas >>>> wally at ...2889...:~$ gambas3 >>>> >>>> ** INTERNAL ERROR ** >>>> ** GB.Push: unknown datatype >>>> ** Program aborting. Sorry! :-( >>>> wally at ...2889...:~$ >>>> >>>> >>>> any ideas ? >>>> >>>> thanks wally >>> >>> If you hadn't shown the error I would have insisted that this one could >>> never be risen... :-) Bad timing, too... >>> I don't know if I could help but I would be interested in the output >>> with this patch applied: >>> >>> [gbx_api.c.patch] >>> --8<--------------- >>> Index: main/gbx/gbx_api.c >>> =================================================================== >>> --- main/gbx/gbx_api.c (revision 5004) >>> +++ main/gbx/gbx_api.c (working copy) >>> @@ -579,7 +579,7 @@ >>> break; >>> >>> default: >>> - ERROR_panic("GB.Push: unknown datatype"); >>> + ERROR_panic("GB.Push: unknown datatype: %x", >>> type); break; >>> } >>> >>> --8<--------------- >>> >>> Just save it in your trunk working copy and do: >>> >>> $ patch main/gbx/gbx_api.c gbx_api.c.patch >>> $ make >>> # make install >>> >>> Regards, >>> Tobi >>> >> >> Tobi, >> >> this is a repo install from >> ftp://ftp.de.debian.org/debian/pool/main/g/gambas3/ >> >> the normal svn build loks also good up to >> sudo make install >> this gives a info at the end only: can nott complile gambas3 >> during reconf-all, configure -C, make i did not have erors. >> >> i'm used to work on OpenSue, no problem at all. >> Now on Debian i do not really now yet how things works. >> >> wally > > Oh. Since I have neither an ARM nor a Debian-based distro, I can't even dare > to guess further... > > There is, however, one thing that makes me curious: When you cannot compile > "gambas3", this means that you don't have the necessary components > installed. This in turn means that you don't have the necessary packages > to compile these components. Now, you installed a .deb - so you should have > everything right there to compile gambas3, no? Because if packages are > still missing now for compiling gambas3, your installation must be broken... > Am I wrong in any point? you're wrong :) . In this case, it's not a problem about missing packages for its installation. It's a bug into language itself. Probably memory address error. Our friend wishes to run the gambas on ARM architecture. If it was a problem with a missing packages, the output doesn't say that :) . The error would be more about gambas programming language. > > 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 From tobiasboege01 at ...1601... Wed Aug 1 13:10:20 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Wed, 1 Aug 2012 13:10:20 +0200 Subject: [Gambas-user] Gambas3 on Debian ? In-Reply-To: <2312034D-3D99-42CD-A7B5-B9520B1F1F16@...626...> References: <2105551.Fti6l8qi4o@...46...> <20120801101319.GA477@...2774...> <1884651.tbPUkTj527@...46...> <20120801104917.GB477@...2774...> <2312034D-3D99-42CD-A7B5-B9520B1F1F16@...626...> Message-ID: <20120801111020.GC477@...2774...> A non-text attachment was scrubbed... Name: not available Type: text/plain-8bit Size: 3533 bytes Desc: not available URL: From wally at ...2037... Wed Aug 1 13:12:49 2012 From: wally at ...2037... (wally) Date: Wed, 01 Aug 2012 13:12:49 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000101cd6fd0$5c53d110$0f00a8c0@...2829...> References: <000101cd6fd0$5c53d110$0f00a8c0@...2829...> Message-ID: <9399894.83gIc5ENKn@...46...> On Wednesday 01 August 2012 12:28:12 Christer Johansson wrote: > With some luck and Google I managed to compile a shared version of the > C library to RaspberryPi I/O by Mike McCauley and it seems to work > (at least partly) within Gambas3 using the EXTERN function. > > I started with the simplest function there was in the library and that > was pretty strait forward and it works fine in Gambas3 using the > code below... > > ' Declare external function > Public Extern delay(millis As Integer) In "libbcm2835" > > ' Delay 2 sec > delay(2000) > > Next up was to declare an actual I/O function to toggle I/O pins > and looks like this in the C code (bcm2835.c from the library at > http://www.open.com.au/mikem/bcm2835/index.html)... > > ... > // Set putput pin > void bcm2835_gpio_set(uint8_t pin) > { > volatile uint32_t* paddr = gpio + BCM2835_GPSET0/4 + pin/32; > uint8_t shift = pin % 32; > bcm2835_peri_write(paddr, 1 << shift); > } > ... > > Since my C knowledge is very limited I wonder what to declare "uint8_t" > as? According to Google it seems to be the same as unsigned char so I > tried to use Byte in the declaration but no go, I get segmentation > fault when calling that function. > > Public Extern bcm2835_gpio_set(pin As Byte) In "libbcm2835" > > Anyone have any ideas what I am doing wrong? > > BTW: Let me know if anyone wants the shared library file and I will > upload it somewhere, it's compiled in Debain Squeeze. > > /CJ Hi, your posting is very interesting, thank you I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. 1st step was to make a Virtual machine of debian. 2nd is to get Gmabs3 working on it ... but this failed. Your information sounds as you successfully run ganbas3 on debian. How did you install Gambas3 ? > BTW: Let me know if anyone wants the shared library file and I will > upload it somewhere, it's compiled in Debain Squeeze. Yes, i will interested soon i think. wally From rmorgan62 at ...626... Wed Aug 1 15:11:58 2012 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 1 Aug 2012 06:11:58 -0700 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <9399894.83gIc5ENKn@...46...> References: <000101cd6fd0$5c53d110$0f00a8c0@...2829...> <9399894.83gIc5ENKn@...46...> Message-ID: On Wed, Aug 1, 2012 at 4:12 AM, wally wrote: > On Wednesday 01 August 2012 12:28:12 Christer Johansson wrote: >> With some luck and Google I managed to compile a shared version of the >> C library to RaspberryPi I/O by Mike McCauley and it seems to work >> (at least partly) within Gambas3 using the EXTERN function. >> >> I started with the simplest function there was in the library and that >> was pretty strait forward and it works fine in Gambas3 using the >> code below... >> >> ' Declare external function >> Public Extern delay(millis As Integer) In "libbcm2835" >> >> ' Delay 2 sec >> delay(2000) >> >> Next up was to declare an actual I/O function to toggle I/O pins >> and looks like this in the C code (bcm2835.c from the library at >> http://www.open.com.au/mikem/bcm2835/index.html)... >> >> ... >> // Set putput pin >> void bcm2835_gpio_set(uint8_t pin) >> { >> volatile uint32_t* paddr = gpio + BCM2835_GPSET0/4 + pin/32; >> uint8_t shift = pin % 32; >> bcm2835_peri_write(paddr, 1 << shift); >> } >> ... >> >> Since my C knowledge is very limited I wonder what to declare "uint8_t" >> as? According to Google it seems to be the same as unsigned char so I >> tried to use Byte in the declaration but no go, I get segmentation >> fault when calling that function. >> >> Public Extern bcm2835_gpio_set(pin As Byte) In "libbcm2835" >> >> Anyone have any ideas what I am doing wrong? >> >> BTW: Let me know if anyone wants the shared library file and I will >> upload it somewhere, it's compiled in Debain Squeeze. >> >> /CJ > > Hi, > > your posting is very interesting, thank you > > I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. > > 1st step was to make a Virtual machine of debian. > 2nd is to get Gmabs3 working on it ... > but this failed. > > Your information sounds as you successfully run ganbas3 on debian. > How did you install Gambas3 ? > >> BTW: Let me know if anyone wants the shared library file and I will >> upload it somewhere, it's compiled in Debain Squeeze. > > Yes, i will interested soon i think. > > wally > > > > ------------------------------------------------------------------------------ > 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 uint8_t is a type as specified by the _t in the naming. u = unsigned and int = integer 8 = eight bits. So this declares an unsigned integer of 8 bits. Hope this helps. -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From rterry at ...1823... Wed Aug 1 15:33:44 2012 From: rterry at ...1823... (richard) Date: Wed, 01 Aug 2012 23:33:44 +1000 Subject: [Gambas-user] Gridview row height question Message-ID: <50193038.8090801@...1823...> I seem to remember a posting in recent times about how to set the row height to automatically adjust to the height of wrapped text ?possible thanks in anticipation Richard From gambas.fr at ...626... Wed Aug 1 21:07:11 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 1 Aug 2012 21:07:11 +0200 Subject: [Gambas-user] Gridview row height question In-Reply-To: <50193038.8090801@...1823...> References: <50193038.8090801@...1823...> Message-ID: 2012/8/1 richard > I seem to remember a posting in recent times about how to set the row > height to automatically adjust to the height of wrapped text > > ?possible > > thanks in anticipation# > > Richard > it was about rows header... but everything can became possible as gridview is in gb now. tell your needs > > > ------------------------------------------------------------------------------ > 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 math.eber at ...221... Wed Aug 1 22:29:12 2012 From: math.eber at ...221... (Matti) Date: Wed, 01 Aug 2012 22:29:12 +0200 Subject: [Gambas-user] TAB and TextArea Message-ID: <50199198.6090306@...221...> Recently, there was a question about the TAB Focus. Testing this, I saw: In every control the TAB key is used to move the cursor to the next control. But TextArea behaves different: the TAB key inserts spaces into the control and doesn't move the cursor. I'm not sure if this is wanted behaviour or not. Should the TAB key switch to the next control, should it insert spaces, or should there be an option? Regards Matti From tobiasboege01 at ...1601... Wed Aug 1 22:45:22 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Wed, 1 Aug 2012 22:45:22 +0200 Subject: [Gambas-user] TAB and TextArea In-Reply-To: <50199198.6090306@...221...> References: <50199198.6090306@...221...> Message-ID: <20120801204521.GE477@...2774...> On Wed, 01 Aug 2012, Matti wrote: > Recently, there was a question about the TAB Focus. Testing this, I saw: > In every control the TAB key is used to move the cursor to the next control. > But TextArea behaves different: the TAB key inserts spaces into the control and > doesn't move the cursor. > I'm not sure if this is wanted behaviour or not. > Should the TAB key switch to the next control, should it insert spaces, or > should there be an option? > Regards Matti > I'm sure, nobody would like to miss the ability to insert tabs/spaces using the Tab key. It is not default in Gambas to indent using Tabs (actually, you can indent with the Tab key in the source code editor but it is filled with spaces, right?) but think of other Editors/programming languages where the Tab is a fundamental character for indentation. Essentially: yes, I'm sure it is intentional. However, if you feel to not allow the Tab key to insert tabs, you have sort of an option to do so: Public Sub TextArea1_KeyPress() If Key.Code = Key["Tab"] Then ' Move focus to next control somehow Stop Event ' Stop insertion of the Tab character Endif End I don't know if this code works and how to move the focus to the next controls (Is there any representation of this Hierarchy tab from the form editor somewhere at runtime?) but you got the idea, hopefully. This could be turned into an property-like option for the TextArea and related controls but it's not me to decide that. Regards, Tobi From math.eber at ...221... Wed Aug 1 23:05:16 2012 From: math.eber at ...221... (Matti) Date: Wed, 01 Aug 2012 23:05:16 +0200 Subject: [Gambas-user] TAB and TextArea In-Reply-To: <20120801204521.GE477@...2774...> References: <50199198.6090306@...221...> <20120801204521.GE477@...2774...> Message-ID: <50199A0C.7030601@...221...> I agree. It was just the "oops"-feeling when you move through a form with TAB and don't get further. But then you have the mouse. I think, indentation is more important - leave it this way. Am 01.08.2012 22:45, schrieb Tobias Boege: > On Wed, 01 Aug 2012, Matti wrote: >> Recently, there was a question about the TAB Focus. Testing this, I saw: >> In every control the TAB key is used to move the cursor to the next control. >> But TextArea behaves different: the TAB key inserts spaces into the control and >> doesn't move the cursor. >> I'm not sure if this is wanted behaviour or not. >> Should the TAB key switch to the next control, should it insert spaces, or >> should there be an option? >> Regards Matti >> > > I'm sure, nobody would like to miss the ability to insert tabs/spaces using > the Tab key. It is not default in Gambas to indent using Tabs (actually, you > can indent with the Tab key in the source code editor but it is filled with > spaces, right?) but think of other Editors/programming languages where the > Tab is a fundamental character for indentation. > Essentially: yes, I'm sure it is intentional. > > However, if you feel to not allow the Tab key to insert tabs, you have sort > of an option to do so: > > Public Sub TextArea1_KeyPress() > If Key.Code = Key["Tab"] Then > ' Move focus to next control somehow > Stop Event ' Stop insertion of the Tab character > Endif > End > > I don't know if this code works and how to move the focus to the next > controls (Is there any representation of this Hierarchy tab from the form > editor somewhere at runtime?) but you got the idea, hopefully. > > This could be turned into an property-like option for the TextArea and > related controls but it's not me to decide that. > > Regards, > Tobi From rterry at ...1823... Thu Aug 2 00:43:53 2012 From: rterry at ...1823... (Richard Terry) Date: Thu, 02 Aug 2012 08:43:53 +1000 Subject: [Gambas-user] Gridview row height question In-Reply-To: References: <50193038.8090801@...1823...> Message-ID: <5019B129.8060407@...1823...> Fabien Bodard wrote: > 2012/8/1 richard > > >> I seem to remember a posting in recent times about how to set the row >> height to automatically adjust to the height of wrapped text >> >> ?possible >> >> thanks in anticipation# >> >> Richard >> >> > it was about rows header... but everything can became possible as gridview > is in gb now. > > tell your needs > > > >> ------------------------------------------------------------------------------ >> 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 >> >> on ubuntu 12 grid text wraps ok, but the internal row height is wrong (QT) - see the picture enclosed - the text is cut off at top and bottom when wrapped. Interestingly on Ubuntu 9 which is my main programming computer the text dosn't wrap at all, but that dosn't matter (its my old laptop - nearly clapped out and overheating so I'll be upgrading soon). > > -------------- next part -------------- A non-text attachment was scrubbed... Name: allergy_grid.png Type: image/png Size: 5577 bytes Desc: not available URL: From gambas.fr at ...626... Thu Aug 2 09:58:41 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 09:58:41 +0200 Subject: [Gambas-user] Gridview row height question In-Reply-To: <5019B129.8060407@...1823...> References: <50193038.8090801@...1823...> <5019B129.8060407@...1823...> Message-ID: 2012/8/2 Richard Terry > Fabien Bodard wrote: > >> 2012/8/1 richard >> >> >> >>> I seem to remember a posting in recent times about how to set the row >>> height to automatically adjust to the height of wrapped text >>> >>> ?possible >>> >>> thanks in anticipation# >>> >>> Richard >>> >>> >>> >> it was about rows header... but everything can became possible as gridview >> is in gb now. >> >> tell your needs >> >> >> >> >>> ------------------------------**------------------------------** >>> ------------------ >>> 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 ...720...**net >>> https://lists.sourceforge.net/**lists/listinfo/gambas-user >>> >>> >>> >> on ubuntu 12 grid text wraps ok, but the internal row height is wrong > (QT) - see the picture enclosed - the text is cut off at top and bottom > when wrapped. > > Interestingly on Ubuntu 9 which is my main programming computer the text > dosn't wrap at all, but that dosn't matter (its my old laptop - nearly > clapped out and overheating so I'll be upgrading soon). > with the same gambas version ? > > > > >> >> > > > > ------------------------------------------------------------------------------ > 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.fr at ...626... Thu Aug 2 10:03:05 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 10:03:05 +0200 Subject: [Gambas-user] Holidays In-Reply-To: <000001cd6fcc$4e747940$0f00a8c0@...2829...> References: <5017E6CA.1050802@...1...> <000001cd6fcc$4e747940$0f00a8c0@...2829...> Message-ID: 2012/8/1 Christer Johansson > > > I leave Paris, my computer and Internet for a week. I will be back on > > August, 6th. > > > > So you have six days to fill my mailbox with hundreds of bug reports. > > Hope you enjoy your holiday! > > /CJ > > I think hollidays, are with no internet, no phone, no tv... no smoke. In a little house on a mountain, ... just nature and me ! (and good food, good wine, good cognac...) ------------------------------------------------------------------------------ > 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.fr at ...626... Thu Aug 2 10:15:42 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 10:15:42 +0200 Subject: [Gambas-user] _compare() Type mismatch: wanted Date, Number or String In-Reply-To: <20120731204608.GA503@...2774...> References: <20120731204608.GA503@...2774...> Message-ID: Just add a Value to each card if hplaingCard.Value > hPlayingCard2.Value 'To declare them (class CCard) What is a card ? Public Id as integer Public Value as integer Public {Picture} as Picture So to load them (32 card) Private AllCards as CCard[] public sub Main dim hCard as CCard dim v as integer For i = 0 to 31 hCard = new CCard hCard.Id = i 'here i manage the 7 cards value hCard.Value = v inc v if v > 6 then v=0. ' hCard.Picture = Picture.Load("img/card & i & ".png") allCard.Add(hCard) next end then you can compare by comparing value 2012/7/31 Tobias Boege > On Tue, 31 Jul 2012, Patrik Karlsson wrote: > > I'm writing a class for Playing cards and would like to compare them > with: > > =,<,>. > > > > While hPlayingCard1=hPlayingCard2 works just fine, > > hPlayingCard1hPlayingCard2 do not. > > > > The program stops with: > > #6: Type mismatch: wanted Number, Date or String, got PlayingCard instead > > > > My _compare is simple: > > Public Function _compare(OtherObject As PlayingCard) As Integer > > > > Return 0 > > > > End > > > > What can I do to make comparing with <,> possible? > > > > /patrik > > If I got the documentation[0] right, the <,> are only valid for the native > classes you are given in the error message: Number, Date, String. > It is also said[1] that _compare() is used for sorting arrays of objects on > a class or finding those. It could likely mean - ignoring the "for example" > in that sentence - that these arithmetic operators are not related to the > _compare() method. > > IIRC, there was discussion[2] about a new special method _operator() on the > gambas-devel list which will enable you to use any operator on a _native > class_. Actually, this seems to be implemented in the gb.gsl classes > already. I don't know if it is intended for classes written in Gambas, too. > At least, there is no documentation about it (at the usual place) and the > commit messages didn't show me anything. > > [0] http://gambasdoc.org/help/cat/arithop?v3 > [1] http://gambasdoc.org/help/lang/special/compare?v3 > [2] http://old.nabble.com/About-gb.gsl-components-td34130245.html > > 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 > -- Fabien Bodard From gambas.fr at ...626... Thu Aug 2 10:17:36 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 10:17:36 +0200 Subject: [Gambas-user] _compare() Type mismatch: wanted Date, Number or String In-Reply-To: References: <20120731204608.GA503@...2774...> Message-ID: the _compare event is for the sort function in arrays http://gambasdoc.org/help/lang/special/compare?en&v3 i think my way is the more simple From fulippo_fulippo at ...152... Thu Aug 2 11:21:54 2012 From: fulippo_fulippo at ...152... (fulippo_fulippo at ...152...) Date: Thu, 2 Aug 2012 11:21:54 +0200 (CEST) Subject: [Gambas-user] Object matrix problem Message-ID: <18240841.33601343899314177.JavaMail.defaultUser@...1910...> Hi All i came from VB6 world , and i apreciate Gambas for linux I try to create a program , but i have problem on object matrix In vb i can do this : text1(1).text ,text1(2).text,text1(3).text...... text1(n). text , can i control textbox in this way on Gambas , there is similar solution ? Thanks in advances for your time Best Regards Francesco Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale pi? di uno spot in TV. Per ogni nuovo abbonato 30 ? di premio per te e per lui! Un amico al mese e parli e navighi sempre gratis: http://freelosophy.tiscali.it/ From rterry at ...1823... Thu Aug 2 11:37:07 2012 From: rterry at ...1823... (richard) Date: Thu, 02 Aug 2012 19:37:07 +1000 Subject: [Gambas-user] Gridview row height question In-Reply-To: References: <50193038.8090801@...1823...> <5019B129.8060407@...1823...> Message-ID: <501A4A43.90309@...1823...> On 02/08/12 17:58, Fabien Bodard wrote: > 2012/8/2 Richard Terry > >> Fabien Bodard wrote: >> >>> 2012/8/1 richard >>> >>> >>> >>>> I seem to remember a posting in recent times about how to set the row >>>> height to automatically adjust to the height of wrapped text >>>> >>>> ?possible >>>> >>>> thanks in anticipation# >>>> >>>> Richard >>>> >>>> >>>> >>> it was about rows header... but everything can became possible as gridview >>> is in gb now. >>> >>> tell your needs >>> >>> >>> >>> >>>> ------------------------------**------------------------------** >>>> ------------------ >>>> 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 ...720...**net >>>> https://lists.sourceforge.net/**lists/listinfo/gambas-user >>>> >>>> >>>> >>> on ubuntu 12 grid text wraps ok, but the internal row height is wrong >> (QT) - see the picture enclosed - the text is cut off at top and bottom >> when wrapped. >> >> Interestingly on Ubuntu 9 which is my main programming computer the text >> dosn't wrap at all, but that dosn't matter (its my old laptop - nearly >> clapped out and overheating so I'll be upgrading soon). >> > with the same gambas version ? Probably 12, but I've 7 workstations at work running mostly kde 10 and 11, a couple 12. Richard > >> >> >> >>> >> >> >> ------------------------------------------------------------------------------ >> 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.fr at ...626... Thu Aug 2 12:42:58 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 2 Aug 2012 12:42:58 +0200 Subject: [Gambas-user] Object matrix problem In-Reply-To: <18240841.33601343899314177.JavaMail.defaultUser@...1910...> References: <18240841.33601343899314177.JavaMail.defaultUser@...1910...> Message-ID: 2012/8/2 fulippo_fulippo at ...152... > Hi All > i came from VB6 world , and i apreciate Gambas for linux > > I try > to create a program , but i have problem on object matrix > In vb i can > do this : text1(1).text ,text1(2).text,text1(3).text...... text1(n). > text , can i control textbox in this way on Gambas , there is similar > solution ? > > Thanks in advances for your time > > Best Regards > > Francesco > > > > Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale pi? > di uno spot in TV. Per ogni nuovo abbonato 30 ? di premio per te e per lui! > Un amico al mese e parli e navighi sempre gratis: > http://freelosophy.tiscali.it/ > > > ------------------------------------------------------------------------------ > 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 > You need to register these objects in an array to do that private Textes1 as New TextBox[] Public sub _New dim hobj as Object for each hObj in me.Children If hObj is TextBox then Textes1.Add(hObj) endif end Then you can use Textes1[1].Text -- Fabien Bodard From mike.crean at ...2897... Thu Aug 2 12:34:42 2012 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 2 Aug 2012 03:34:42 -0700 (PDT) Subject: [Gambas-user] Raspberry Pi Message-ID: <1343903682.65686.YahooMailNeo@...2899...> Well my Rpi has turned up and it works very well with Raspbian (Debian wheezy) on it. I am happy to say it performs much faster than I expected. I have down loaded & install Gambas3 with the Rpi. sudo apt-get update sudo apt-get install gambas3 sudo gambas3 All seem to install OK and no errors. When I run GB3 the Rpi CPU usage went to 100% and the Rpi hung. Any one have GB3 running on Raspbian and any idea why GB3 hangs for me. Regards to all Mike From wally at ...2037... Thu Aug 2 14:15:33 2012 From: wally at ...2037... (wally) Date: Thu, 02 Aug 2012 14:15:33 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1343903682.65686.YahooMailNeo@...2899...> References: <1343903682.65686.YahooMailNeo@...2899...> Message-ID: <4907329.PSjVm2YRp5@...46...> On Thursday 02 August 2012 03:34:42 Mike Crean wrote: > Well my Rpi has turned up and it works very well with Raspbian (Debian > wheezy) on it. I am happy to say it performs much faster than I expected. > I have down loaded & install Gambas3 with the Rpi. > > sudo apt-get update > sudo apt-get install gambas3 > sudo gambas3 > > All seem to install OK and no errors. When I run GB3 the Rpi CPU usage went > to 100% and the Rpi hung. > > Any one have GB3 running on Raspbian and any idea why GB3 hangs for me. > > Regards to all > Mike Hello Mike, similar problem here but on qemu and raspian. sudo apt-get update sudo apt-get install gambas3 gambas3 //<- i tried as user CPU usage 100% nothing else happens a long time wally From lists at ...2828... Thu Aug 2 14:40:39 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 2 Aug 2012 14:40:39 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <4907329.PSjVm2YRp5@...46...> Message-ID: <000001cd70ac$0be25300$0f00a8c0@...2829...> > -----Original Message----- > From: wally [mailto:wally at ...2037...] > Sent: Thursday, August 02, 2012 2:16 PM > To: Mike Crean; mailing list for gambas users > Subject: Re: [Gambas-user] Raspberry Pi > > > On Thursday 02 August 2012 03:34:42 Mike Crean wrote: > > Well my Rpi has turned up and it works very well with > Raspbian (Debian > > wheezy) on it. I am happy to say it performs much faster > than I expected. > > I have down loaded & install Gambas3 with the Rpi. > > > > sudo apt-get update > > sudo apt-get install gambas3 > > sudo gambas3 > > > > All seem to install OK and no errors. When I run GB3 the > Rpi CPU usage went > > to 100% and the Rpi hung. > > > > Any one have GB3 running on Raspbian and any idea why GB3 > hangs for me. > > > > Regards to all > > Mike > > Hello Mike, > > similar problem here but on qemu and raspian. > > sudo apt-get update > sudo apt-get install gambas3 > gambas3 //<- i tried as user > > CPU usage 100% > nothing else happens a long time I had the samee problems when trying the Gambas3 from the Debian repository so something is broken. Instead I downloaded and installed a Gambas3 3.1.1 package made available by a guy named "tomtor" and it works fine on my Raspi running Debian Squeeze and Xfce. http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb Install it with... sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install Kudos should go to tomtor and not me, you can find the original thread here... http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=2434&hilit=gambas2& start=50#p70883 Anyone know if a similar ARM package exists for the latest stable Gambas3 3.2.1? /CJ From lists at ...2828... Thu Aug 2 14:48:14 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 2 Aug 2012 14:48:14 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <9399894.83gIc5ENKn@...46...> Message-ID: <000101cd70ad$175e94e0$0f00a8c0@...2829...> Hi Wally, > your posting is very interesting, thank you > > I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. > > 1st step was to make a Virtual machine of debian. > 2nd is to get Gmabs3 working on it ... > but this failed. > > Your information sounds as you successfully run ganbas3 on debian. > How did you install Gambas3 ? Se separate message posted just a minute ago > > BTW: Let me know if anyone wants the shared library file and I will > > upload it somewhere, it's compiled in Debain Squeeze. > > Yes, i will interested soon i think. Attached is a shared lib version of bcm2835 for Raspberri Pi made by Mike McCauley. You find more info about bcm2835 here... http://www.open.com.au/mikem/bcm2835/index.html Copy the attached file to "/usr/local/lib", then run "ldconfig" and you should be good to go. I'm still trying to figure out how to use it from Gambas3 and the only thing I've got working so far is the delay function so please post to the list if you get other functions declared correctly. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: libbcm2835.so Type: application/octet-stream Size: 18252 bytes Desc: not available URL: From wally at ...2037... Thu Aug 2 14:58:20 2012 From: wally at ...2037... (wally) Date: Thu, 02 Aug 2012 14:58:20 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000101cd70ad$175e94e0$0f00a8c0@...2829...> References: <000101cd70ad$175e94e0$0f00a8c0@...2829...> Message-ID: <2658502.BV2pChKTRI@...46...> On Thursday 02 August 2012 14:48:14 Christer Johansson wrote: > Hi Wally, > > > your posting is very interesting, thank you > > > > I use GB3 on Opensuse so far and now i'm learning for RaspBerry PI. > > > > 1st step was to make a Virtual machine of debian. > > 2nd is to get Gmabs3 working on it ... > > but this failed. > > > > Your information sounds as you successfully run ganbas3 on debian. > > How did you install Gambas3 ? > > Se separate message posted just a minute ago > > > > BTW: Let me know if anyone wants the shared library file and I will > > > upload it somewhere, it's compiled in Debain Squeeze. > > > > Yes, i will interested soon i think. > > Attached is a shared lib version of bcm2835 for Raspberri Pi made > by Mike McCauley. > > You find more info about bcm2835 here... > > http://www.open.com.au/mikem/bcm2835/index.html > > Copy the attached file to "/usr/local/lib", then run "ldconfig" and you > should be good to go. > > I'm still trying to figure out how to use it from Gambas3 and the > only thing I've got working so far is the delay function so please > post to the list if you get other functions declared correctly. > > /CJ Hi Christopher, thank you. Of course i've seen your recent posting, but i do not understand the line, but i'm do not know apt-get in details. sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install we are talking about gambas3. wally From lists at ...2828... Thu Aug 2 15:11:03 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 2 Aug 2012 15:11:03 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <2658502.BV2pChKTRI@...46...> Message-ID: <000001cd70b0$480255c0$0f00a8c0@...2829...> > Of course i've seen your recent posting, but i do not understand the > line, but i'm do not know apt-get in details. > > sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install > > we are talking about gambas3. tomtors install example was for Gambas2. Just replace the name of the deb-file with the one downloaded like... sudo dpkg -i gambas3_3.1.1-1_armel.deb ; sudo apt-get -f install /CJ From wally at ...2037... Thu Aug 2 15:18:16 2012 From: wally at ...2037... (wally) Date: Thu, 02 Aug 2012 15:18:16 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd70b0$480255c0$0f00a8c0@...2829...> References: <000001cd70b0$480255c0$0f00a8c0@...2829...> Message-ID: <1556206.xZJKyLHqyM@...46...> On Thursday 02 August 2012 15:11:03 Christer Johansson wrote: > > Of course i've seen your recent posting, but i do not understand the > > line, but i'm do not know apt-get in details. > > > > sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install > > > > we are talking about gambas3. > > tomtors install example was for Gambas2. > > Just replace the name of the deb-file with the one downloaded like... > > sudo dpkg -i gambas3_3.1.1-1_armel.deb ; sudo apt-get -f install > > /CJ I was to do that, thank you :) From vuott at ...325... Thu Aug 2 17:11:08 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 2 Aug 2012 16:11:08 +0100 (BST) Subject: [Gambas-user] DesktopWindow.FullScreen..... Message-ID: <1343920268.11201.YahooMailClassic@...2789...> Hello, did someone use: DesktopWindow.FullScreen ? How do I have to use it exactly ? Best regards Vuotttttttt From vuott at ...325... Thu Aug 2 17:17:11 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 2 Aug 2012 16:17:11 +0100 (BST) Subject: [Gambas-user] R: DesktopWindow.FullScreen..... In-Reply-To: <1343920268.11201.YahooMailClassic@...2789...> Message-ID: <1343920631.64012.YahooMailClassic@...2758...> ...No problem, I have solved. --- Gio 2/8/12, Ru Vuott ha scritto: > Da: Ru Vuott > Oggetto: [Gambas-user] DesktopWindow.FullScreen..... > A: Gambas-user at lists.sourceforge.net > Data: Gioved? 2 agosto 2012, 17:11 > Hello, > > did someone use: DesktopWindow.FullScreen ? > > How do I have to use it exactly ? > > Best regards > Vuotttttttt > > ------------------------------------------------------------------------------ > 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 lknetpl at ...626... Fri Aug 3 00:28:50 2012 From: lknetpl at ...626... (LK) Date: Thu, 02 Aug 2012 22:28:50 +0000 Subject: [Gambas-user] Failed to find gb.form component In-Reply-To: <1343920631.64012.YahooMailClassic@...2758...> References: <1343920631.64012.YahooMailClassic@...2758...> Message-ID: <501AFF22.2010802@...626...> Hello! When compiling my program the command 'configure' prints the error: "configure: error: Failed to find gb.form component.". All libraries that I had in gambas folder, copied to /usr/lib/gambas2. The system is Tiny Core. Best regards, LeszeKK From abbat.81 at ...787... Thu Aug 2 22:49:22 2012 From: abbat.81 at ...787... (abbat) Date: Thu, 2 Aug 2012 13:49:22 -0700 (PDT) Subject: [Gambas-user] label multiline property Message-ID: <34248091.post@...1379...> Does label has some feature like multi-line? -- View this message in context: http://old.nabble.com/label-multiline-property-tp34248091p34248091.html Sent from the gambas-user mailing list archive at Nabble.com. From richard.j.walker at ...247... Thu Aug 2 23:20:13 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Thu, 2 Aug 2012 22:20:13 +0100 Subject: [Gambas-user] label multiline property In-Reply-To: <34248091.post@...1379...> References: <34248091.post@...1379...> Message-ID: Hi Abbat, I have just checked the two provided label types; TextLabel and Label They behave slightly differently in providing multi-line text (which is possible for both). If you enter multi-line text using the Properties form in the IDE in Label1.Text then the lines will appear as entered in the label on your form. If you enter multi-line text using the Properties form in the IDE in TextLabel1.Text then the linefeeds are used as word breaking space and the text is formatted with the words wrapping according to the width and height of the label on your form. If that isn't clear then just try it with your own label examples. And don't forget you can quickly change a label from one type to the other and instantly see the effect that will have on your form layout. Just select the label in the form design view and right-click to get the context menu where the 3rd option is "Change into...". Richard From rterry at ...1823... Fri Aug 3 02:30:20 2012 From: rterry at ...1823... (Richard Terry) Date: Fri, 03 Aug 2012 10:30:20 +1000 Subject: [Gambas-user] Gridview row height question In-Reply-To: References: <50193038.8090801@...1823...> Message-ID: <501B1B9C.8070100@...1823...> Fabien Bodard wrote: All my gambas versions are 3.2 + (whatever the latest svn is) richard > 2012/8/1 richard > > >> I seem to remember a posting in recent times about how to set the row >> height to automatically adjust to the height of wrapped text >> >> ?possible >> >> thanks in anticipation# >> >> Richard >> >> > it was about rows header... but everything can became possible as gridview > is in gb now. > > tell your needs > > > >> ------------------------------------------------------------------------------ >> 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 lists at ...2828... Fri Aug 3 09:31:24 2012 From: lists at ...2828... (Christer Johansson) Date: Fri, 3 Aug 2012 09:31:24 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: Message-ID: <000001cd714a$01038960$0f00a8c0@...2829...> > uint8_t is a type as specified by the _t in the naming. u = unsigned > and int = integer 8 = eight bits. So this declares an unsigned integer > of 8 bits. Thanks for the clarification Randall but question remains, how should I declare a uint8_t in Gambas3 when using the EXTERN command? The only byte sized datatypes in Gambas3 are Boolean and Byte and Boolean is clearly not the one to use since it's only TRUE/FALSE but using Byte as below give a "Segmentation Fault" when calling the function in libbcm2835. ' Declare shared library Public Extern bcm2835_gpio_set(pin As Byte) In "libbcm2835" ' Call the function bcm2835_gpio_set(17) /CJ From gambas.fr at ...626... Fri Aug 3 09:38:03 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 3 Aug 2012 09:38:03 +0200 Subject: [Gambas-user] Gridview row height question In-Reply-To: <501B1B9C.8070100@...1823...> References: <50193038.8090801@...1823...> <501B1B9C.8070100@...1823...> Message-ID: 2012/8/3 Richard Terry > Fabien Bodard wrote: > > All my gambas versions are 3.2 + (whatever the latest svn is) > > richard > > > 2012/8/1 richard > > > > > >> I seem to remember a posting in recent times about how to set the row > >> height to automatically adjust to the height of wrapped text > >> > >> ?possible > >> > >> thanks in anticipation# > >> > >> Richard > >> > >> > > it was about rows header... but everything can became possible as > gridview > > is in gb now. > > > > tell your needs > > > > > > > >> > ------------------------------------------------------------------------------ > >> 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 > As a workaround, Set the Row height at -1 after setting the text... I think Benoit need do a little change at this part of code. gvwView[10, 0].RichText = "Gambas almost means BASic!
La nuit tous les chats sont bleux!" gvwView.Rows[10].Height = -1 -- Fabien Bodard From rterry at ...1823... Fri Aug 3 09:50:31 2012 From: rterry at ...1823... (Richard Terry) Date: Fri, 03 Aug 2012 17:50:31 +1000 Subject: [Gambas-user] Gridview row height question In-Reply-To: References: <50193038.8090801@...1823...> <501B1B9C.8070100@...1823...> Message-ID: <501B82C7.6020306@...1823...> Fabien Bodard wrote: > 2012/8/3 Richard Terry > > >> Fabien Bodard wrote: >> >> All my gambas versions are 3.2 + (whatever the latest svn is) >> >> richard >> >> >>> 2012/8/1 richard >>> >>> >>> >>>> I seem to remember a posting in recent times about how to set the row >>>> height to automatically adjust to the height of wrapped text >>>> >>>> ?possible >>>> >>>> thanks in anticipation# >>>> >>>> Richard >>>> >>>> >>>> >>> it was about rows header... but everything can became possible as >>> >> gridview >> >>> is in gb now. >>> >>> tell your needs >>> >>> >>> >>> >> ------------------------------------------------------------------------------ >> >>>> 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 >> >> > > > > As a workaround, > > Set the Row height at -1 after setting the text... I think Benoit need do a > little change at this part of code. > > gvwView[10, 0].RichText = "Gambas almost means BASic!
La nuit > tous les chats sont bleux!" > gvwView.Rows[10].Height = -1 > > > Thanks, I'll try that this weekend. From gambas at ...2524... Fri Aug 3 12:11:35 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 03 Aug 2012 10:11:35 +0000 Subject: [Gambas-user] Issue 295 in gambas: Problem on inheritance Message-ID: <0-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Status: New Owner: gambas... at ...626... Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 295 by gambas... at ...626...: Problem on inheritance http://code.google.com/p/gambas/issues/detail?id=295 1) Describe the problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5004 Operating system: Linux Distribution: ArchLinux Architecture: x86_64 GUI component: QT4 / GTK+ Desktop used: Gnome / KDE ... 3) Provide a little project that reproduces the bug or the crash. Done 4) If your project needs a database, try to provide it, or part of it. No 5) Explain clearly how to reproduce the bug or the crash. Just add a class named GridView with export keyword, then add a form with a tableview and execute or try the attached 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! Attachments: Bug_Inheritance_2-0.0.1.tar.gz 4.6 KB From richard.j.walker at ...247... Fri Aug 3 20:02:44 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Fri, 3 Aug 2012 19:02:44 +0100 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd714a$01038960$0f00a8c0@...2829...> References: <000001cd714a$01038960$0f00a8c0@...2829...> Message-ID: Pardon me for butting in, but I wonder if you have tried a Gambas short (16 bits). The last time I can recall seeing a byte or character passed as an 8bit value I was using a Z80! I have a vague recollection that the Lattice C compiler for the MC68008 used the bottom word (16 bits) in a register for a char and I may be re-inventing history, but something tells me the MC68020 needed a long word (32 bits)! If this is a matter of the wrong amount of storage being allocated and written to, I would certainly try both short and long. R From lists at ...2828... Sat Aug 4 12:27:52 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 4 Aug 2012 12:27:52 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: Message-ID: <000001cd722b$d11818f0$0f00a8c0@...2829...> > Pardon me for butting in, but I wonder if you have tried a Gambas > short (16 bits). > > The last time I can recall seeing a byte or character passed as an > 8bit value I was using a Z80! I have a vague recollection that the > Lattice C compiler for the MC68008 used the bottom word (16 bits) in a > register for a char and I may be re-inventing history, but something > tells me the MC68020 needed a long word (32 bits)! > > If this is a matter of the wrong amount of storage being allocated and > written to, I would certainly try both short and long. Richard, your input is appreciated, I will test with short as well as long. /CJ From emil.lenngren at ...626... Sat Aug 4 13:54:24 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sat, 4 Aug 2012 13:54:24 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd722b$d11818f0$0f00a8c0@...2829...> References: <000001cd722b$d11818f0$0f00a8c0@...2829...> Message-ID: Does somebody have a compiled version of Gambas for the Raspberry Pi? (I don't have time to compile my own...) /Emil 2012/8/4 Christer Johansson > > > Pardon me for butting in, but I wonder if you have tried a Gambas > > short (16 bits). > > > > The last time I can recall seeing a byte or character passed as an > > 8bit value I was using a Z80! I have a vague recollection that the > > Lattice C compiler for the MC68008 used the bottom word (16 bits) in a > > register for a char and I may be re-inventing history, but something > > tells me the MC68020 needed a long word (32 bits)! > > > > If this is a matter of the wrong amount of storage being allocated and > > written to, I would certainly try both short and long. > > Richard, your input is appreciated, I will test with short as well as long. > > /CJ > > > > > ------------------------------------------------------------------------------ > 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 emil.lenngren at ...626... Sat Aug 4 14:09:25 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sat, 4 Aug 2012 14:09:25 +0200 Subject: [Gambas-user] JIT bug 7 In-Reply-To: References: Message-ID: OK, it should work now. 2012/7/28 Emil Lenngren > Can't really do anything right now. I am in Venice now on Vacation :) > I come home in 8 days or something. > > If you want, you can post the llvm output, gdb stacktrace or whatever... > > /Emil > > 2012/7/28 Jussi Lahtinen > >> Before continuing my vacation again in countryside... >> Here is some JIT bug. See attachment. >> >> Gambas 3 rev 4995 @ Xubuntu 12.04 64bit >> >> 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 gambas at ...2524... Sat Aug 4 19:10:05 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 04 Aug 2012 17:10:05 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox Message-ID: <0-6813199134517018827-14756640358431103552-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 296 by johang... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 when click in combobox dont see the list of items ubuntu 12.04 gambas 3.2.1 From tobiasboege01 at ...1601... Sun Aug 5 01:01:41 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Sun, 5 Aug 2012 01:01:41 +0200 Subject: [Gambas-user] Remove individual buttons from Window header Message-ID: <20120804230141.GC497@...2774...> Hi, is it possible to not have individual buttons in the Window's header? I specifically talk about disabling/removing the "Close" button but keep the others (minimise/maximise) intact. I haven't really used a graphical system for a long time but this layout (min/max/close) is also configurable, right? As far as I can tell, this is more related to the window manager and Gtk+ resp. Qt but since we have components for either one there must be people who know about it. I do not a bit and I don't really concern about it but Hans does hence I ask for him. I stopped googling when I read something about "WindowHints" and thought that I have to talk here (although I would continue on my own if you had not the time). Regards, Tobi From lists at ...2828... Sun Aug 5 10:56:48 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 5 Aug 2012 10:56:48 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: Message-ID: <000001cd72e8$43ceae10$0f00a8c0@...2829...> > Does somebody have a compiled version of Gambas for the Raspberry Pi? (I > don't have time to compile my own...) I use this one at the moment, just like you I have not had enough time to compile latest final build on RasPi yet. http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb One question regarding compiling, if I set up and compile final Gambas3 3.2.1 how do I tell it to make a complete deb-package to share with others? /CJ From abbat.81 at ...787... Sun Aug 5 12:06:42 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 5 Aug 2012 03:06:42 -0700 (PDT) Subject: [Gambas-user] Time Format in 00:00:00 (Two digits) Message-ID: <34257082.post@...1379...> Dim TimeS as String = Hour(Now) & ":" & Minute(Now) & ":" & Second(Now) We get a string like "9:8:4" But it would be better this way: "09:08:04" Thanks -- View this message in context: http://old.nabble.com/Time-Format-in-00%3A00%3A00-%28Two-digits%29-tp34257082p34257082.html Sent from the gambas-user mailing list archive at Nabble.com. From lists at ...2828... Sun Aug 5 12:07:06 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 5 Aug 2012 12:07:06 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: Message-ID: <000001cd72f2$15cf1f40$0f00a8c0@...2829...> > Does somebody have a compiled version of Gambas for the > Raspberry Pi? (I don't have time to compile my own...) Jyst a FYI... Since it's raining here today I decided to set things up so I can compile Gambas3 3.2.1 on my Raspberry Pi. So if everything works out OK and I figure out how to make a DEB-package out of it I will post a link to it later... /CJ From emil.lenngren at ...626... Sun Aug 5 12:09:34 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 5 Aug 2012 12:09:34 +0200 Subject: [Gambas-user] Time Format in 00:00:00 (Two digits) In-Reply-To: <34257082.post@...1379...> References: <34257082.post@...1379...> Message-ID: Try Dim TimeS As String = Format$(Now, "hh:nn:ss") Read more at: http://gambasdoc.org/help/lang/userformat?v3 /Emil 2012/8/5 abbat > > > Dim TimeS as String = Hour(Now) & ":" & Minute(Now) & ":" & Second(Now) > > We get a string like "9:8:4" > But it would be better this way: "09:08:04" > > Thanks > -- > View this message in context: > http://old.nabble.com/Time-Format-in-00%3A00%3A00-%28Two-digits%29-tp34257082p34257082.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > 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 rterry at ...1823... Sun Aug 5 12:25:39 2012 From: rterry at ...1823... (richard) Date: Sun, 05 Aug 2012 20:25:39 +1000 Subject: [Gambas-user] Combo drop down height question Message-ID: <501E4A23.5090708@...1823...> Hi, I wondered if there was any way to programatically set the height of the drop down list which pops up when the combo box is clicked? Regards richard From mike.crean at ...2897... Sun Aug 5 12:27:43 2012 From: mike.crean at ...2897... (Mike Crean) Date: Sun, 5 Aug 2012 03:27:43 -0700 (PDT) Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd72f2$15cf1f40$0f00a8c0@...2829...> References: <000001cd72f2$15cf1f40$0f00a8c0@...2829...> Message-ID: <1344162463.93157.YahooMailNeo@...2900...> Hi will it be setup to install & run on Raspbian or only Squeeze ? Mike ________________________________ From: Christer Johansson To: 'mailing list for gambas users' Sent: Sunday, 5 August 2012 6:07 PM Subject: Re: [Gambas-user] Declaring external C libraries > Does somebody have a compiled version of Gambas for the > Raspberry Pi? (I don't have time to compile my own...) Jyst a FYI... Since it's raining here today I decided to set things up so I can compile Gambas3 3.2.1 on my Raspberry Pi. So if everything works out OK and I figure out how to make a DEB-package out of it I will post a link to it later... /CJ ------------------------------------------------------------------------------ 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... Sun Aug 5 14:45:48 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 5 Aug 2012 13:45:48 +0100 (BST) Subject: [Gambas-user] R: Time Format in 00:00:00 (Two digits) In-Reply-To: <34257082.post@...1379...> Message-ID: <1344170748.41611.YahooMailClassic@...2691...> Hello, try: Public Sub .......() Dim TimeS As String TimeS = Format(Hour(Now), "0#") & ":" & Format(Minute(Now), "0#") & ":" & Format(Second(Now), "0#") Print TimeS End --- Dom 5/8/12, abbat ha scritto: > Da: abbat > Oggetto: [Gambas-user] Time Format in 00:00:00 (Two digits) > A: gambas-user at lists.sourceforge.net > Data: Domenica 5 agosto 2012, 12:06 > > > Dim TimeS as String = Hour(Now) & ":" & Minute(Now) > & ":" & Second(Now) > > We get a string like "9:8:4" > But it would be better this way: "09:08:04" > > Thanks > -- > View this message in context: http://old.nabble.com/Time-Format-in-00%3A00%3A00-%28Two-digits%29-tp34257082p34257082.html > Sent from the gambas-user mailing list archive at > Nabble.com. > > > ------------------------------------------------------------------------------ > 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 sbungay at ...981... Sat Aug 4 18:58:16 2012 From: sbungay at ...981... (Stephen Bungay) Date: Sat, 04 Aug 2012 12:58:16 -0400 Subject: [Gambas-user] Heirarch of controls vs Tab order/z order... Message-ID: <501D54A8.2070908@...981...> Fedora 13 Gambas 3.2.90 Gnome 2 Four input boxes are arranged on a tab, lets call them TextBox1, TextBox2, TextBox3 and TextBox4, and this this is the order in which they appear in the hierarchy. On the form they are arranged in two columns, the first column contains TextBox1 and TextBox 2, the second Column TextBox3 and TextBox4. When the user is entering data I want them to enter everything in the first column (TextBox1 and TextBox2), then the second Column (TextBox3 and TextBox4), which is the order of the controls in the hierarchy. Alas this does not transpire. After entering data in TextBox1 the user presses TAB and the focus is given to TextBox3, Pressing TAB again jumps to TextBox2 and TextBox4 is the last one. Does the Hierarchy not also enforce the tab order/z order of the controls? Kindest regards Steve. From adamnt42 at ...626... Sun Aug 5 15:20:30 2012 From: adamnt42 at ...626... (Adam Ant) Date: Sun, 5 Aug 2012 22:50:30 +0930 Subject: [Gambas-user] Time Format in 00:00:00 (Two digits) Message-ID: And if you want to be even more confused, try this: Public Sub Main() Dim sTime As String = Time(Now()) Print sTime Print Time(Now()) End The bind moggles! Bruce From abbat.81 at ...787... Sun Aug 5 15:31:15 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 5 Aug 2012 06:31:15 -0700 (PDT) Subject: [Gambas-user] Adding a new control to existing container(Panel) Message-ID: <34257551.post@...1379...> A have an existing Panel1 which contains a few controls. How to add a new control to existing panel? I could not find anything in properies of panel(list of controls or something else) Thanks -- View this message in context: http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257551.html Sent from the gambas-user mailing list archive at Nabble.com. From tobiasboege01 at ...1601... Sun Aug 5 15:36:20 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Sun, 5 Aug 2012 15:36:20 +0200 Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <34257551.post@...1379...> References: <34257551.post@...1379...> Message-ID: <20120805133620.GB496@...2774...> On Sun, 05 Aug 2012, abbat wrote: > > A have an existing Panel1 which contains a few controls. > How to add a new control to existing panel? > I could not find anything in properies of panel(list of controls or > something else) > Thanks > -- > View this message in context: http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257551.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > 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 Actually, there is the Panel.Children collection but as I understood, this is read-only. The best way I can think of would be to create the new control with the Panel as its parent, if possible: (for exmaple, a new Button into the Panel) Dim hNewButton As New Button(Panel1) As "ButtonName" Regards, Tobi From abbat.81 at ...787... Sun Aug 5 15:41:11 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 5 Aug 2012 06:41:11 -0700 (PDT) Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <20120805133620.GB496@...2774...> References: <34257551.post@...1379...> <20120805133620.GB496@...2774...> Message-ID: <34257601.post@...1379...> Thanks Oh, this is way to create a controls by code, but there any way to do it in Designer? Tobias Boege wrote: > > On Sun, 05 Aug 2012, abbat wrote: >> >> A have an existing Panel1 which contains a few controls. >> How to add a new control to existing panel? >> I could not find anything in properies of panel(list of controls or >> something else) >> Thanks >> -- >> View this message in context: >> http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257551.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> 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 > > Actually, there is the Panel.Children collection but as I understood, this > is read-only. > The best way I can think of would be to create the new control with the > Panel as its parent, if possible: > > (for exmaple, a new Button into the Panel) > Dim hNewButton As New Button(Panel1) As "ButtonName" > > 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 > > -- View this message in context: http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257601.html Sent from the gambas-user mailing list archive at Nabble.com. From adamnt42 at ...626... Sun Aug 5 15:41:13 2012 From: adamnt42 at ...626... (Adam Ant) Date: Sun, 5 Aug 2012 23:11:13 +0930 Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <34257551.post@...1379...> References: <34257551.post@...1379...> Message-ID: On Sun, Aug 5, 2012 at 11:01 PM, abbat wrote: > > A have an existing Panel1 which contains a few controls. > How to add a new control to existing panel? > I could not find anything in properies of panel(list of controls or > something else) > Thanks > -- > View this message in context: > http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257551.html > Sent from the gambas-user mailing list archive at Nabble.com. > > Dim MyControl as TextBox ' or whatever MyControl = New TextBox(Panel1) Abbat, I can't access the help at the moment to give you a link, but you need to read and understand completely what that syntax means. Bruce From tobiasboege01 at ...1601... Sun Aug 5 15:47:09 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Sun, 5 Aug 2012 15:47:09 +0200 Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <34257601.post@...1379...> References: <34257551.post@...1379...> <20120805133620.GB496@...2774...> <34257601.post@...1379...> Message-ID: <20120805134709.GC496@...2774...> On Sun, 05 Aug 2012, abbat wrote: > > Thanks > Oh, this is way to create a controls by code, but there any way to do it in > Designer? > > I always did it like this: - Select the control you want to move into the Panel - Ctrl+X - Select Panel to move the control into - Ctrl+V BTW, you can also add existing controls to a new container at runtime via Control.Reparent(). I just had this strong desire to improve my first answer ;-) Regards, Tobi From abbat.81 at ...787... Sun Aug 5 15:56:28 2012 From: abbat.81 at ...787... (abbat) Date: Sun, 5 Aug 2012 06:56:28 -0700 (PDT) Subject: [Gambas-user] Adding a new control to existing container(Panel) In-Reply-To: <20120805134709.GC496@...2774...> References: <34257551.post@...1379...> <20120805133620.GB496@...2774...> <34257601.post@...1379...> <20120805134709.GC496@...2774...> Message-ID: <34257660.post@...1379...> Thanks a lot, that's what I was looking for Tobias Boege wrote: > > On Sun, 05 Aug 2012, abbat wrote: >> >> Thanks >> Oh, this is way to create a controls by code, but there any way to do it >> in >> Designer? >> >> > > I always did it like this: > - Select the control you want to move into the Panel > - Ctrl+X > - Select Panel to move the control into > - Ctrl+V > > BTW, you can also add existing controls to a new container at runtime via > Control.Reparent(). I just had this strong desire to improve my first > answer ;-) > > 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 > > -- View this message in context: http://old.nabble.com/Adding-a-new-control-to-existing-container%28Panel%29-tp34257551p34257660.html Sent from the gambas-user mailing list archive at Nabble.com. From lists at ...2828... Sun Aug 5 18:19:22 2012 From: lists at ...2828... (Christer Johansson) Date: Sun, 5 Aug 2012 18:19:22 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <1344162463.93157.YahooMailNeo@...2900...> Message-ID: <000001cd7326$1902ae50$0f00a8c0@...2829...> > Hi will it be setup to install & run on Raspbian or only Squeeze ? It will be compiled on Debian Squeeze so I doub't it will install on Raspbian? I've decided to stick to Squeeze for time being since Raspbian is WIP. BTW, the test compilation of Gambas3 3.2.1 on the RasPi worked fine but I'm stuck trying to figure out how to make a DEB-package out of it. I'm following this guide... http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.htm l But when entering "dpkg-depcheck -d ./configure" to get dependencies I receive following error... # dpkg-depcheck -d ./configure strace: ./configure: command not found Running strace failed (command line: strace -e trace=open,execve -f -q -o /tmp/depchp3StvF ./configure Any ideas? /CJ From tobiasboege01 at ...1601... Sun Aug 5 18:25:35 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Sun, 5 Aug 2012 18:25:35 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd7326$1902ae50$0f00a8c0@...2829...> References: <1344162463.93157.YahooMailNeo@...2900...> <000001cd7326$1902ae50$0f00a8c0@...2829...> Message-ID: <20120805162535.GD496@...2774...> On Sun, 05 Aug 2012, Christer Johansson wrote: > > > Hi will it be setup to install & run on Raspbian or only Squeeze ? > > It will be compiled on Debian Squeeze so I doub't it will install on > Raspbian? I've decided to stick to Squeeze for time being since Raspbian > is WIP. > > BTW, the test compilation of Gambas3 3.2.1 on the RasPi worked fine but > I'm stuck trying to figure out how to make a DEB-package out of it. > > I'm following this guide... > > http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.htm > l > > But when entering "dpkg-depcheck -d ./configure" to get dependencies I > receive > following error... > > # dpkg-depcheck -d ./configure > > strace: ./configure: command not found > Running strace failed (command line: > strace -e trace=open,execve -f -q -o /tmp/depchp3StvF ./configure > > Any ideas? > > /CJ It would be interesting where you run that command. The guide says to issue it in the sources folder so I would blindly issue it at top-level gambas source directory and I indeed have a ./configure script there. Regards, Tobi From emil.lenngren at ...626... Sun Aug 5 18:33:55 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 5 Aug 2012 18:33:55 +0200 Subject: [Gambas-user] Gambas has Gosub now! In-Reply-To: <500CB01E.7060707@...1...> References: <4F52B1E0.4070204@...1...> <4F52C42D.5000106@...1...> <4F533304.1060905@...1...> <4F53FEE3.5010802@...1...> <4F5561AB.8040400@...1...> <4F556FC2.8090201@...1...> <4F56C78B.8040509@...1887...> <4FFA0CF3.60500@...1...> <500B43B2.3030306@...1...> <500C8487.3050800@...1...> <500CB01E.7060707@...1...> Message-ID: If there is a pending gosub + a catch, the gosub things on the stack are erased, so when returning back, invalid values are copied from the stack. So at stack unwinding, the gosub slots must be kept. This crashes the interpreter now (or puts it in an infinite loop): Public Sub Main() Dim i As Integer With [1] For i = 1 To 2 GoSub lbl Next End With Return lbl: Error.Raise("Hello") Catch Print "catching";; Error.Text Return End 2012/7/23 Beno?t Minisini > Le 23/07/2012 01:14, Emil Lenngren a ?crit : > > It was this line I was worried about: > > while (SP > (BP + FP->n_local + FP->n_ctrl)) > > > > /Emil > > > > I think it's ok... Failing during a Gosub is not different from failing > inside a deep expression evaluation. > > -- > 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 wally at ...2037... Sun Aug 5 18:38:22 2012 From: wally at ...2037... (wally) Date: Sun, 05 Aug 2012 18:38:22 +0200 Subject: [Gambas-user] Make Installation Package ? Message-ID: <3241612.idrQZEWV3i@...46...> i want to try to "Make Installation Package" on GB3 V 3.2.90 on OpenSuse 12.1 "makepkg" is missing Package.MakeDebPackage.767: 'dpkg-buildpackage' has failed. where to find mor info on this feature and its needs ? wally From gambas.fr at ...626... Sun Aug 5 20:18:13 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 5 Aug 2012 20:18:13 +0200 Subject: [Gambas-user] Time Format in 00:00:00 (Two digits) In-Reply-To: References: Message-ID: The Emil version is the good one Le 5 ao?t 2012 15:21, "Adam Ant" a ?crit : > And if you want to be even more confused, try this: > > Public Sub Main() > Dim sTime As String = Time(Now()) > Print sTime > Print Time(Now()) > End > > The bind moggles! > 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 > From richard.j.walker at ...247... Sun Aug 5 21:09:49 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 5 Aug 2012 20:09:49 +0100 Subject: [Gambas-user] Make Installation Package ? In-Reply-To: <3241612.idrQZEWV3i@...46...> References: <3241612.idrQZEWV3i@...46...> Message-ID: Wally, You have made me curious. I always thought that OpenSuse used RPM type packages. Is it the case that you are building for an alien (to OpenSuse) distribution? Richard From wally at ...2037... Sun Aug 5 21:21:47 2012 From: wally at ...2037... (wally) Date: Sun, 05 Aug 2012 21:21:47 +0200 Subject: [Gambas-user] Make Installation Package ? In-Reply-To: References: <3241612.idrQZEWV3i@...46...> Message-ID: <9814251.VIbsZz5ZZK@...46...> On Sunday 05 August 2012 20:09:49 RICHARD WALKER wrote: > Wally, > You have made me curious. I always thought that OpenSuse used RPM type > packages. Is it the case that you are building for an alien (to > OpenSuse) distribution? > > Richard Richard, yes, Open Suse is rpm based. I also was curious and just palyed around a little bit. I need a gambas3 runtime for a Debian System (Raspberry/ Raspian etc.) to run gambas3 projects developed on OpenSuse. I tried a lot of things and this was the last idea i tested. Stupid idea i assume. Anyway , i would like to read more about this feature and asked for source of information here. wally From richard.j.walker at ...247... Sun Aug 5 22:35:20 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 5 Aug 2012 21:35:20 +0100 Subject: [Gambas-user] Make Installation Package ? In-Reply-To: <9814251.VIbsZz5ZZK@...46...> References: <3241612.idrQZEWV3i@...46...> <9814251.VIbsZz5ZZK@...46...> Message-ID: Hi Wally, Colour me curious too. I just checked my package manager to see if these "migration" tools are available and the answer is no; not for Mageia at any rate. I did see that my "Make Installation package" Gambas wizard indicates "makepkg" is needed for Archlinux and only "debhelper" for Debian (and *buntu). If Debian is your target, have you seen this: http://rpm.pbone.net/index.php3/stat/4/idpl/6715710/dir/opensuse/com/debian-debhelper-6.0.8-7.2.i586.rpm.html From lists at ...2828... Mon Aug 6 07:34:53 2012 From: lists at ...2828... (Christer Johansson) Date: Mon, 6 Aug 2012 07:34:53 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <20120805162535.GD496@...2774...> Message-ID: <000001cd7395$390ff1c0$0f00a8c0@...2829...> > -----Original Message----- > From: Tobias Boege [mailto:tobiasboege01 at ...1601...] > Sent: Sunday, August 05, 2012 6:26 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Declaring external C libraries > > > On Sun, 05 Aug 2012, Christer Johansson wrote: > > > > > Hi will it be setup to install & run on Raspbian or only Squeeze ? > > > > It will be compiled on Debian Squeeze so I doub't it will install on > > Raspbian? I've decided to stick to Squeeze for time being > since Raspbian > > is WIP. > > > > BTW, the test compilation of Gambas3 3.2.1 on the RasPi > worked fine but > > I'm stuck trying to figure out how to make a DEB-package out of it. > > > > I'm following this guide... > > > > > http://www.webupd8.org/2010/01/how-to-create-deb-package-ubunt > u-debian.htm > > l > > > > But when entering "dpkg-depcheck -d ./configure" to get > dependencies I > > receive > > following error... > > > > # dpkg-depcheck -d ./configure > > > > strace: ./configure: command not found > > Running strace failed (command line: > > strace -e trace=open,execve -f -q -o /tmp/depchp3StvF ./configure > > > > Any ideas? > > > > /CJ > > It would be interesting where you run that command. The guide > says to issue it in the sources folder so I would blindly issue it at > top-level gambas source directory and I indeed have a ./configure script there. I tried to enter it both in the /debian directory and also top-level gambas source directory but it gives the same error. /CJ From charlie at ...2793... Mon Aug 6 10:15:39 2012 From: charlie at ...2793... (Cogier) Date: Mon, 6 Aug 2012 01:15:39 -0700 (PDT) Subject: [Gambas-user] Inputbox Message-ID: <34259974.post@...1379...> Is there a way to centre the InputBox on the screen as I always see it in the top left hand corner and it is missed by the user? -- View this message in context: http://old.nabble.com/Inputbox-tp34259974p34259974.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Mon Aug 6 14:46:53 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 12:46:53 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE Message-ID: <0-6813199134517018827-10951336768163302873-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 297 by Kokok... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 1) Describe the problem. Can't compare strings that contains "[]" using LIKE 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.2.1 3) Provide a little project that reproduces the bug or the crash. Dim a As String = "/music/album-[artist]-song" Dim b As String = "documents/music/album-[artist]-song.ogg" 'return false here: Debug b Like "*" & a & "*" 'it also says that [a] = [a], 'but [a] like [a] also returns false! -------- Maybe it is an expected behaviour, but how can accomplish that task? From gambas at ...2524... Mon Aug 6 14:48:35 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 12:48:35 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Comment #1 on issue 297 by Kokok... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 Changing "[" to "(" and "]" to ")" works. From gambas at ...2524... Mon Aug 6 15:30:50 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 13:30:50 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <1-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Comment #2 on issue 297 by gambas... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 Try \\ before braquets to escape th? character And read the doc of like http://gambasdoc.org/help/lang/like?v3 From gambas at ...2524... Mon Aug 6 16:19:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 14:19:40 +0000 Subject: [Gambas-user] Issue 298 in gambas: gtk+ ColumnView does not accept multi-select (qt4 does) Message-ID: <0-6813199134517018827-6798305164675923623-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 298 by ron.mcin... at ...626...: gtk+ ColumnView does not accept multi-select (qt4 does) http://code.google.com/p/gambas/issues/detail?id=298 1) Describe the problem. If you have a ColumnView with the Mode set to Multi then using Ctrl-Click or Shift-Click does not allow selection of multiple items when using gtk+ (Ctrl-A does select all items). When changing the project to qt4 it does work. I did a little further investigation and found that the GridView control does NOT have the same problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.2.1 (also seen in 3.1.*) Operating system: Linux Distribution: Mint (Debian version) Architecture: x86 GUI component: GTK+ (dpkg reports version 2.24.10-1) Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. Attached (Project should start with GTK+ selected). 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. 1. Run project. Attempt to use Ctrl-Click on columnview (only single select will occur). Using Ctrl-Click on gridview will successfully select multiple items. 2. Stop run change from GTK+ to QT4. 3. Run again and both columnview and gridview allow multi-select. Thanks in advance. Ron Attachments: DemoError.tar.gz 6.0 KB From tobiasboege01 at ...1601... Mon Aug 6 16:35:32 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Mon, 6 Aug 2012 16:35:32 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <000001cd7395$390ff1c0$0f00a8c0@...2829...> References: <20120805162535.GD496@...2774...> <000001cd7395$390ff1c0$0f00a8c0@...2829...> Message-ID: <20120806143532.GB487@...2774...> On Mon, 06 Aug 2012, Christer Johansson wrote: > > > > -----Original Message----- > > From: Tobias Boege [mailto:tobiasboege01 at ...1601...] > > Sent: Sunday, August 05, 2012 6:26 PM > > To: mailing list for gambas users > > Subject: Re: [Gambas-user] Declaring external C libraries > > > > > > On Sun, 05 Aug 2012, Christer Johansson wrote: > > > > > > > Hi will it be setup to install & run on Raspbian or only Squeeze ? > > > > > > It will be compiled on Debian Squeeze so I doub't it will install on > > > Raspbian? I've decided to stick to Squeeze for time being > > since Raspbian > > > is WIP. > > > > > > BTW, the test compilation of Gambas3 3.2.1 on the RasPi > > worked fine but > > > I'm stuck trying to figure out how to make a DEB-package out of it. > > > > > > I'm following this guide... > > > > > > > > http://www.webupd8.org/2010/01/how-to-create-deb-package-ubunt > > u-debian.htm > > > l > > > > > > But when entering "dpkg-depcheck -d ./configure" to get > > dependencies I > > > receive > > > following error... > > > > > > # dpkg-depcheck -d ./configure > > > > > > strace: ./configure: command not found > > > Running strace failed (command line: > > > strace -e trace=open,execve -f -q -o /tmp/depchp3StvF ./configure > > > > > > Any ideas? > > > > > > /CJ > > > > It would be interesting where you run that command. The guide > > says to issue it in the sources folder so I would blindly issue it at > > top-level gambas source directory and I indeed have a ./configure script > there. > > I tried to enter it both in the /debian directory and also top-level gambas > source directory but it gives the same error. > > /CJ > Well, I think Laurent Carlier would know better but my random shot: ./configure is initially generated by ./reconf-all. Did you run $ ./reconf-all before following the guide? Regards, Tobi From gambas at ...2524... Mon Aug 6 16:55:41 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 14:55:41 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <2-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Comment #3 on issue 297 by Kokok... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 Thanks, changing the pattern using a="/music/album-\\[artist\\]-song" works. But, i'm using that for a long list of items, should i call replace() everytime or there is a faster way? From richard.j.walker at ...247... Mon Aug 6 17:43:16 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 6 Aug 2012 16:43:16 +0100 Subject: [Gambas-user] Using DEBUG to print to console in "compiled" applications Message-ID: I have an application which interacts with two or three other non-gambas applications and daemons and I am not absolutely certain these interactions are completely robust. I had littered the code with PRINT statements to get console output at various critical points of the application. Soon it got too much and I thought I would replace the PRINT with DEBUG (getting location information in the output) and giving me a way to turn these messages on or off, leaving the reduced number of PRINT statements to appear in a "cleaner" console output. So far so good. The DEBUG statements have proved invaluable in helping me to get the code into a working state, but they do not appear at all when I run the compiled application in a console. I never did find the way, which I thought must exist, to turn these messages on and off. The manual suggests it is possible to see DEBUG output in the compiled app's console but is completely silent on how this might be achieved. Any suggestions? Richard From tobiasboege01 at ...1601... Mon Aug 6 17:54:33 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Mon, 6 Aug 2012 17:54:33 +0200 Subject: [Gambas-user] Using DEBUG to print to console in "compiled" applications In-Reply-To: References: Message-ID: <20120806155433.GC487@...2774...> On Mon, 06 Aug 2012, RICHARD WALKER wrote: > I have an application which interacts with two or three other > non-gambas applications and daemons and I am not absolutely certain > these interactions are completely robust. > > I had littered the code with PRINT statements to get console output at > various critical points of the application. Soon it got too much and I > thought I would replace the PRINT with DEBUG (getting location > information in the output) and giving me a way to turn these messages > on or off, leaving the reduced number of PRINT statements to appear in > a "cleaner" console output. > > So far so good. The DEBUG statements have proved invaluable in helping > me to get the code into a working state, but they do not appear at all > when I run the compiled application in a console. I never did find the > way, which I thought must exist, to turn these messages on and off. > > The manual suggests it is possible to see DEBUG output in the compiled > app's console but is completely silent on how this might be achieved. > > Any suggestions? > > Richard > Quoting the doc: "Prints expressions to the standard error output, only if your program is compiled with debugging informations." Have you tried: $ gbc3 -ga $ gbx3 in your project source directory? I think, the IDE compiles your project with debugging symbols per default, because it can debug it. Per default, when creating an executable, these are stripped, I assume. If the above works, can you find the little checkbox in the "Create executable" dialog which says to include debugging information? If I remember correctly, it is there... Regards, Tobi From emil.lenngren at ...626... Mon Aug 6 18:05:41 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 6 Aug 2012 18:05:41 +0200 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <2-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: What exactly are you trying to do? Using Like/Regexp is probably much slower than anything else. /Emil 2012/8/6 > > Comment #3 on issue 297 by Kokok... at ...626...: square bracket and LIKE > http://code.google.com/p/gambas/issues/detail?id=297 > > Thanks, changing the pattern using a="/music/album-\\[artist\\]-song" > works. > > But, i'm using that for a long list of items, should i call replace() > everytime or there is a faster way? > > > > ------------------------------------------------------------------------------ > 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 Aug 6 18:11:46 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 6 Aug 2012 17:11:46 +0100 Subject: [Gambas-user] Using DEBUG to print to console in "compiled" applications In-Reply-To: <20120806155433.GC487@...2774...> References: <20120806155433.GC487@...2774...> Message-ID: Perfect! That's the one. I don't think I have ever seen that checkbox before. It must. I'm not sure what those cryptic commands do >$ gbc3 -ga >$ gbx3 but I will look them up and learn a bit more. Thanks Tobi. From emil.lenngren at ...626... Mon Aug 6 18:21:08 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 6 Aug 2012 18:21:08 +0200 Subject: [Gambas-user] Using DEBUG to print to console in "compiled" applications In-Reply-To: References: <20120806155433.GC487@...2774...> Message-ID: g means to enable debugging information. a means to recompile everything. Omitting a means only compile files that have new changes. 2012/8/6 RICHARD WALKER > Perfect! That's the one. I don't think I have ever seen that checkbox > before. It must. > > I'm not sure what those cryptic commands do > >$ gbc3 -ga > >$ gbx3 > > but I will look them up and learn a bit more. > > Thanks 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 > From math.eber at ...221... Mon Aug 6 20:10:53 2012 From: math.eber at ...221... (Matti) Date: Mon, 06 Aug 2012 20:10:53 +0200 Subject: [Gambas-user] Inputbox In-Reply-To: <34259974.post@...1379...> References: <34259974.post@...1379...> Message-ID: <502008AD.6020103@...221...> What is your Gambas version and your environment? Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. But as a workaround, you can easily create a tiny form for the input and open it with 'xyz.ShowModal'. That is surely centered, and it takes about the same amount of code. Am 06.08.2012 10:15, schrieb Cogier: > > Is there a way to centre the InputBox on the screen as I always see it in the > top left hand corner and it is missed by the user? > From gambas at ...2524... Mon Aug 6 22:16:35 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 20:16:35 +0000 Subject: [Gambas-user] Issue 297 in gambas: square bracket and LIKE In-Reply-To: <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> <0-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-10951336768163302873-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #4 on issue 297 by benoit.m... at ...626...: square bracket and LIKE http://code.google.com/p/gambas/issues/detail?id=297 Please use the mailing-list for questions about Gambas syntax. From gambas at ...2524... Mon Aug 6 22:18:07 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 20:18:07 +0000 Subject: [Gambas-user] Issue 298 in gambas: gtk+ ColumnView does not accept multi-select (qt4 does) In-Reply-To: <0-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-3.2.0 GUI-GTK Comment #1 on issue 298 by benoit.m... at ...626...: gtk+ ColumnView does not accept multi-select (qt4 does) http://code.google.com/p/gambas/issues/detail?id=298 (No comment was entered for this change.) From pata.karlsson at ...626... Mon Aug 6 23:24:58 2012 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Mon, 6 Aug 2012 23:24:58 +0200 Subject: [Gambas-user] _compare() Type mismatch: wanted Date, Number or String In-Reply-To: References: <20120731204608.GA503@...2774...> Message-ID: 2012/8/2 Fabien Bodard > the _compare event is for the sort function in arrays > http://gambasdoc.org/help/lang/special/compare?en&v3 > > i think my way is the more simple > Thank you Tobias and Fabien for your input. For now, I am using the _compare function by calling it directly and not with <>. I guess I will rename it so I will not use <> on my objects in the future. :) /patrik From gambas at ...2524... Mon Aug 6 23:27:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 21:27:15 +0000 Subject: [Gambas-user] Issue 298 in gambas: gtk+ ColumnView does not accept multi-select (qt4 does) In-Reply-To: <1-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> <0-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6798305164675923623-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 298 by benoit.m... at ...626...: gtk+ ColumnView does not accept multi-select (qt4 does) http://code.google.com/p/gambas/issues/detail?id=298 Fixed in revision #5013. From gambas at ...2524... Mon Aug 6 23:31:29 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 21:31:29 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #1 on issue 296 by benoit.m... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 Please provide the requested information when filling a bug, otherwise I can't fix it. From gambas at ...2524... Mon Aug 6 23:37:55 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 21:37:55 +0000 Subject: [Gambas-user] Issue 294 in gambas: Sidpanels jump inside a tabstrip In-Reply-To: <0-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-3.2.0 GUI-QT4 Comment #1 on issue 294 by benoit.m... at ...626...: Sidpanels jump inside a tabstrip http://code.google.com/p/gambas/issues/detail?id=294 WTF? From gambas at ...2524... Tue Aug 7 00:50:27 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Aug 2012 22:50:27 +0000 Subject: [Gambas-user] Issue 299 in gambas: IDE: CComponent logic and libraries that export forms Message-ID: <0-6813199134517018827-3161134323180680530-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 299 by adamn... at ...626...: IDE: CComponent logic and libraries that export forms http://code.google.com/p/gambas/issues/detail?id=299 1) Describe the problem. (Welcome back Benoit, hope the holiday was enjoyable.) If a project is a library and it has a form that is exported the IDE cannot open the project. It provides an error pointing at line 612 of CComponent: For Each sClass In Hiddens If Classes.Exist(sClass) Then Classes[Key &/ sClass].InitControl() <----! iPos = Controls.Find(sClass) If iPos >= 0 Then Controls.Remove(iPos) Endif Next I have stepped through the code with the debugger and the error is raised when the Key is "$". I have hacked up a work around as follows: For Each sClass In Hiddens If Classes.Exist(sClass) Then If Key <> "$" Then Classes[Key &/ sClass].InitControl() iPos = Controls.Find(sClass) If iPos >= 0 Then Controls.Remove(iPos) Endif Endif Next but I don't believe that to be a true fix. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5004 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. Attached 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Just try to open the project in the IDE 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: aslibrary1-0.0.1.tar.gz 4.7 KB From wally at ...2037... Tue Aug 7 08:53:39 2012 From: wally at ...2037... (wally) Date: Tue, 07 Aug 2012 08:53:39 +0200 Subject: [Gambas-user] OpenSuse-Raspberry-Debian ? Message-ID: <8846846.2CpdmD2K9L@...46...> What minimum do i need to run a Gambas3 project, developed on OpenSuse /Gambas 3-IDE on a Raspberry-Dbian system ? So far i installed gb3-runtime on the debian system and tried to run a project.gambas executable using gbr3 ./project.gambas, but this does not work. "No project file in 'project.gambas' thank you wally From lists at ...2828... Tue Aug 7 11:51:16 2012 From: lists at ...2828... (Christer Johansson) Date: Tue, 7 Aug 2012 11:51:16 +0200 Subject: [Gambas-user] Declaring external C libraries In-Reply-To: <20120806143532.GB487@...2774...> Message-ID: <000001cd7482$e46e5960$0f00a8c0@...2829...> > -----Original Message----- > From: Tobias Boege [mailto:tobiasboege01 at ...1601...] > Sent: Monday, August 06, 2012 4:36 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Declaring external C libraries > > > On Mon, 06 Aug 2012, Christer Johansson wrote: > > > > > > > -----Original Message----- > > > From: Tobias Boege [mailto:tobiasboege01 at ...1601...] > > > Sent: Sunday, August 05, 2012 6:26 PM > > > To: mailing list for gambas users > > > Subject: Re: [Gambas-user] Declaring external C libraries > > > > > > > > > On Sun, 05 Aug 2012, Christer Johansson wrote: > > > > > > > > > Hi will it be setup to install & run on Raspbian or > only Squeeze ? > > > > > > > > It will be compiled on Debian Squeeze so I doub't it > will install on > > > > Raspbian? I've decided to stick to Squeeze for time being > > > since Raspbian > > > > is WIP. > > > > > > > > BTW, the test compilation of Gambas3 3.2.1 on the RasPi > > > worked fine but > > > > I'm stuck trying to figure out how to make a > DEB-package out of it. > > > > > > > > I'm following this guide... > > > > > > > > > > > http://www.webupd8.org/2010/01/how-to-create-deb-package-ubunt > > > u-debian.htm > > > > l > > > > > > > > But when entering "dpkg-depcheck -d ./configure" to get > > > dependencies I > > > > receive > > > > following error... > > > > > > > > # dpkg-depcheck -d ./configure > > > > > > > > strace: ./configure: command not found > > > > Running strace failed (command line: > > > > strace -e trace=open,execve -f -q -o /tmp/depchp3StvF > ./configure > > > > > > > > Any ideas? > > > > > > > > /CJ > > > > > > It would be interesting where you run that command. The guide > > > says to issue it in the sources folder so I would blindly > issue it at > > > top-level gambas source directory and I indeed have a > ./configure script > > there. > > > > I tried to enter it both in the /debian directory and also > top-level gambas > > source directory but it gives the same error. > > > > /CJ > > > > Well, I think Laurent Carlier would know better but my random shot: > ./configure is initially generated by ./reconf-all. Did you run > > $ ./reconf-all > > before following the guide? No I did not. Since the guide states the following I assume I shouldn't but I will try it later. Important: You should start packaging with a completely clean (pristine) source directory, or simply with freshly unpacked sources. /CJ From lists at ...2828... Tue Aug 7 11:56:09 2012 From: lists at ...2828... (Christer Johansson) Date: Tue, 7 Aug 2012 11:56:09 +0200 Subject: [Gambas-user] OpenSuse-Raspberry-Debian ? In-Reply-To: <8846846.2CpdmD2K9L@...46...> Message-ID: <000101cd7482$e52aa480$0f00a8c0@...2829...> > What minimum do i need to run a Gambas3 project, developed on > OpenSuse /Gambas 3-IDE on a Raspberry-Dbian system ? > > So far i installed gb3-runtime on the debian system and tried > to run a project.gambas executable using gbr3 ./project.gambas, > but this does not work. "No project file in 'project.gambas' Sound like the gb3-runtime isn't installed correctly on your RasPi. Did you install it as a deb-package using... dpkg -i gambas3-runtime_*.deb If your project doesn't uses any other Gambas3 components all you need is the gb3-runtime installed. /CJ From pata.karlsson at ...626... Tue Aug 7 13:00:51 2012 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Tue, 7 Aug 2012 13:00:51 +0200 Subject: [Gambas-user] Gambas on Mac OS X/MacPorts Message-ID: I have read about getting Gambas running on OS X and while browsing the svn log of Gambas I found the lines below. * NEW: Add support for the MacPorts distribution. * NEW: it is now available for Mac OS X 10.8 * BUG: Fix detection of X11 for the control DrawingArea on Mac OS X 10.8. * BUG: Fix compilation on Mac OS X 10.8 * BUG: Correctly detect architecture on MacOSX. * BUG: Some files were incorrectly modified by Mac OS X changes. * BUG: Fix compilation on Mac OS X and Linux. * NEW: Search include and library files in /opt/local for Mac OS X. * NEW: Search include and library files in /opt/local for Mac OS X. But it * NEW: Make the component compile on Mac OS X with the qt4-mac port. The * BUG: Use -fnested-functions only on Mac OS X. * BUG: Make the "main" directory compile on Mac OS X. that things work better on MacOSX. * NEW: Mac OS X is a FreeBSD. Since I'm on the Mac most of the time this is very interesting. I could not find Gambas in MacPorts so I guess it is not ready yet. How far has the project come? Is there some kind of a time line? How can I help? I guess my knowledge is limited to compile, install and test it. /patrik From wally at ...2037... Tue Aug 7 13:28:41 2012 From: wally at ...2037... (wally) Date: Tue, 07 Aug 2012 13:28:41 +0200 Subject: [Gambas-user] OpenSuse-Raspberry-Debian ? In-Reply-To: <000101cd7482$e52aa480$0f00a8c0@...2829...> References: <000101cd7482$e52aa480$0f00a8c0@...2829...> Message-ID: <1697894.7zC6EM8ucR@...46...> Christoher, i installed simly with apt-get and seems to work. gbr3 -V , gbr3 --help behave as expected. > If your project doesn't uses any other Gambas3 components all you > need is the gb3-runtime installed. Ok, here i was not sure at all. I think all components activatet and used during develpment should also be present on target system. I'll try with one of the incuded simple example projects. Keep us informed on you activities concerning RasPi wally On Tuesday 07 August 2012 11:56:09 Christer Johansson wrote: > > What minimum do i need to run a Gambas3 project, developed on > > OpenSuse /Gambas 3-IDE on a Raspberry-Dbian system ? > > > > So far i installed gb3-runtime on the debian system and tried > > to run a project.gambas executable using gbr3 ./project.gambas, > > but this does not work. "No project file in 'project.gambas' > > Sound like the gb3-runtime isn't installed correctly on your RasPi. > Did you install it as a deb-package using... > > dpkg -i gambas3-runtime_*.deb > > If your project doesn't uses any other Gambas3 components all you > need is the gb3-runtime installed. > > /CJ > > > > ---------------------------------------------------------------------------- > -- 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 basic.gambas at ...626... Tue Aug 7 13:35:08 2012 From: basic.gambas at ...626... (=?windows-1252?Q?Fran=E7ois_Gallo?=) Date: Tue, 7 Aug 2012 13:35:08 +0200 Subject: [Gambas-user] Gambas on Mac OS X/MacPorts In-Reply-To: References: Message-ID: Le 7 ao?t 2012 ? 13:00, Patrik Karlsson a ?crit : > I have read about getting Gambas running on OS X and while browsing the svn > log of Gambas I found the lines below. > > * NEW: Add support for the MacPorts distribution. > * NEW: it is now available for Mac OS X 10.8 > * BUG: Fix detection of X11 for the control DrawingArea on Mac OS X 10.8. > * BUG: Fix compilation on Mac OS X 10.8 > * BUG: Correctly detect architecture on MacOSX. > * BUG: Some files were incorrectly modified by Mac OS X changes. > * BUG: Fix compilation on Mac OS X and Linux. > * NEW: Search include and library files in /opt/local for Mac OS X. > * NEW: Search include and library files in /opt/local for Mac OS X. But it > * NEW: Make the component compile on Mac OS X with the qt4-mac port. The > * BUG: Use -fnested-functions only on Mac OS X. > * BUG: Make the "main" directory compile on Mac OS X. > that things work better on MacOSX. > * NEW: Mac OS X is a FreeBSD. > > Since I'm on the Mac most of the time this is very interesting. > I could not find Gambas in MacPorts so I guess it is not ready yet. Gambas is not in the MacPorts tree and i think it will be never because the qt4-x11 port doesn't work. Indeed, this one isn't up to date. While macports will not provide an update to this port, Gambas cannot go into the macports tree. To make Gambas i use both MacPorts and Fink. Although i only use Fink to get a 11 version of Qt. Currently, Gambas 3 compiles on OS X 10.8. Right now, i see with Benoit to debug it at runtime. The Gambas compiler crashes on some language instructions. Why? I don't know. Once Benoit will fix it, i could declare officially Gambas ported on OS X. (i hope at less?) I'm the main contributor who (try to) port Gambas on others systems than Linux. If you have some questions about Gambas's ports, contact me. > > How far has the project come? > Is there some kind of a time line? > How can I help? If you know good enough the OS X system, maybe yes i think you can help for Gambas. > > I guess my knowledge is limited to compile, install and test it. Logically, the main things that you must know is how install MacPorts and Fink distributions. Then, install the packages needed to compile Gambas. That's all you need to do :) . When i wrote "add support for macports distribution" in change log, i added path to a basic installation of MacPorts so that any people can compile directly Gambas. However don't forget to add in your .profile file environment variables needed to that. Fink and MacPorts adds automatically some variables but not all. You can already download svn source code of Gambas and try to compile it. Normally, you don't meet difficult to compile it. Do you use OS X 10.8 too? Fran?ois > > /patrik > ------------------------------------------------------------------------------ > 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 charlie at ...2793... Tue Aug 7 15:34:43 2012 From: charlie at ...2793... (Cogier) Date: Tue, 7 Aug 2012 06:34:43 -0700 (PDT) Subject: [Gambas-user] Inputbox In-Reply-To: <502008AD.6020103@...221...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> Message-ID: <34266149.post@...1379...> Thanks for the reply Matti-4. I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. Can you give me any example code of the 'xyz.ShowModal'? Thanks for any help. Matti-4 wrote: > > What is your Gambas version and your environment? > Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. > > But as a workaround, you can easily create a tiny form for the input and > open it > with 'xyz.ShowModal'. That is surely centered, and it takes about the same > amount of code. > > > Am 06.08.2012 10:15, schrieb Cogier: >> >> Is there a way to centre the InputBox on the screen as I always see it in >> the >> top left hand corner and it is missed by the 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 > > -- View this message in context: http://old.nabble.com/Inputbox-tp34259974p34266149.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Tue Aug 7 16:08:04 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 07 Aug 2012 14:08:04 +0000 Subject: [Gambas-user] Issue 294 in gambas: Sidpanels jump inside a tabstrip In-Reply-To: <1-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> <0-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3467137658813902324-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 294 by benoit.m... at ...626...: Sidpanels jump inside a tabstrip http://code.google.com/p/gambas/issues/detail?id=294 Fixed in revision #5016. From emil.lenngren at ...626... Tue Aug 7 18:59:24 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Tue, 7 Aug 2012 18:59:24 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <000001cd70ac$0be25300$0f00a8c0@...2829...> References: <4907329.PSjVm2YRp5@...46...> <000001cd70ac$0be25300$0f00a8c0@...2829...> Message-ID: I tried to install http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb on Raspbian but I got "package architecture (armel) does not match system (armhf)". When I tried with "--force-architecture", I got a lot of dependency errors, but the files were installed. Running "gambas3" prints: "ERROR: #27: Cannot load component 'gb.image': /usr/lib/gambas3/gb.image.so": cannot open shared object file: No such file or directory", even though that file exists... /Emil 2012/8/2 Christer Johansson > > > > -----Original Message----- > > From: wally [mailto:wally at ...2037...] > > Sent: Thursday, August 02, 2012 2:16 PM > > To: Mike Crean; mailing list for gambas users > > Subject: Re: [Gambas-user] Raspberry Pi > > > > > > On Thursday 02 August 2012 03:34:42 Mike Crean wrote: > > > Well my Rpi has turned up and it works very well with > > Raspbian (Debian > > > wheezy) on it. I am happy to say it performs much faster > > than I expected. > > > I have down loaded & install Gambas3 with the Rpi. > > > > > > sudo apt-get update > > > sudo apt-get install gambas3 > > > sudo gambas3 > > > > > > All seem to install OK and no errors. When I run GB3 the > > Rpi CPU usage went > > > to 100% and the Rpi hung. > > > > > > Any one have GB3 running on Raspbian and any idea why GB3 > > hangs for me. > > > > > > Regards to all > > > Mike > > > > Hello Mike, > > > > similar problem here but on qemu and raspian. > > > > sudo apt-get update > > sudo apt-get install gambas3 > > gambas3 //<- i tried as user > > > > CPU usage 100% > > nothing else happens a long time > > I had the samee problems when trying the Gambas3 from the Debian > repository so something is broken. > > Instead I downloaded and installed a Gambas3 3.1.1 package made > available by a guy named "tomtor" and it works fine on my Raspi > running Debian Squeeze and Xfce. > > http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb > > Install it with... > > sudo dpkg -i gambas2_2.24.0-1_armel.deb ; sudo apt-get -f install > > Kudos should go to tomtor and not me, you can find the original > thread here... > > > http://www.raspberrypi.org/phpBB3/viewtopic.php?f=41&t=2434&hilit=gambas2& > start=50#p70883 > > Anyone know if a similar ARM package exists for the latest stable > Gambas3 3.2.1? > > /CJ > > > > > ------------------------------------------------------------------------------ > 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 math.eber at ...221... Tue Aug 7 20:19:56 2012 From: math.eber at ...221... (Matti) Date: Tue, 07 Aug 2012 20:19:56 +0200 Subject: [Gambas-user] Inputbox In-Reply-To: <34266149.post@...1379...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> <34266149.post@...1379...> Message-ID: <50215C4C.8090603@...221...> Hmm. I don't have gb2 on my machine anymore, so I can't tell why it isn't centered. Btw: you should update to gb3, it's much better! Example code for a ShowModal window: Create a form FMain with just two buttons (btnCancel and btnInput). Then create a form FInput with the Text "What's your name?", a TextBox (TextBox1) and two buttons (btnCancel and btnOK). The FMain code is: Public Sub Form_Open() Me.Center End Public Sub btnCancel_Click() Me.Close End Public Sub btnInput_Click() FInput.ShowModal If Me.Tag = "" Then Print "User has cancelled." Else Print "The name is " & Me.Tag & "." Endif End The FInput code is: Public Sub btnCancel_Click() FMain.Tag = "" Me.Close End Public Sub btnOK_Click() FMain.Tag = TextBox1.Text Me.Close End Easy, isn't it? Am 07.08.2012 15:34, schrieb Cogier: > > Thanks for the reply Matti-4. > > I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. > > Can you give me any example code of the 'xyz.ShowModal'? > > Thanks for any help. > > > Matti-4 wrote: >> >> What is your Gambas version and your environment? >> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. >> >> But as a workaround, you can easily create a tiny form for the input and >> open it >> with 'xyz.ShowModal'. That is surely centered, and it takes about the same >> amount of code. >> >> >> Am 06.08.2012 10:15, schrieb Cogier: >>> >>> Is there a way to centre the InputBox on the screen as I always see it in >>> the >>> top left hand corner and it is missed by the user? >>> From sunblaster5 at ...626... Tue Aug 7 21:18:43 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 12:18:43 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? Message-ID: <1344367123.2744.31.camel@...2901...> Having a bit of trouble with trying to get Ganbas to add a value to a field in a table. I have a sqlite DB with a table named 'inventory' with field names like: 'name', 'start_date', 'end_date' and so on. I'm trying to add values to the fields using a interface, I have a text box to add a name to the 'name' field in the inventory table. But I am not having any success. I'm using Gambas version 2.21 as that is in my repo and been following the older book "A beginners Giude to Gambas" which i think uses version 1.9 as a basis. Here is my code for the 'connect' button: PUBLIC SUB btnConnect_Click() DIM $hConn AS NEW Connection TRY $hConn.CLOSE WITH $hConn .Type = "sqlite" .Host = "/home/rocko/DataBases" .Name = "plant_trax" END WITH TRY $hConn.Open IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text $hConn.Close END This works as far as I can tell as I don't get the error. The offending code i believe is in the btnAdd_CLICK(): PUBLIC SUB btnAdd_Click() DIM $hConn AS NEW Connection DIM rTable AS Result $hConn.Open TRY $hConn.Open IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text INC Application.Busy $hConn.Begin rTable = "Inventory" rTable!name = txtName.Text rTable.Update $hConn.Commit FINALLY DEC Application.Busy $hConn.Close END I was getting "Database cannot be opened. Error =Driver name missing" So I added an "$hconn.Open". But now the app just hangs when I click the add new btn The database doesn't get updated. Forgive me but I'm still learning Gambas and basic. I had compiled a newer version of Gambas from the SVN but that was on another laptop that got stolen last week and I just installed what ever was in my repo (Crucnhbang) on my replacement, but I don't think thats my problem. From tobiasboege01 at ...1601... Tue Aug 7 22:00:16 2012 From: tobiasboege01 at ...1601... (Tobias Boege) Date: Tue, 7 Aug 2012 22:00:16 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: References: <4907329.PSjVm2YRp5@...46...> <000001cd70ac$0be25300$0f00a8c0@...2829...> Message-ID: <20120807200016.GA502@...2774...> On Tue, 07 Aug 2012, Emil Lenngren wrote: > I tried to install > http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb on Raspbian > but I got "package architecture (armel) does not match system (armhf)". > When I tried with "--force-architecture", I got a lot of dependency errors, > but the files were installed. > Running "gambas3" prints: > "ERROR: #27: Cannot load component 'gb.image': /usr/lib/gambas3/gb.image.so": > cannot open shared object file: No such file or directory", even though > that file exists... > > /Emil > Hmm... Could it be what gb.image.so in turn depends on some other library which cannot be found? I certainly remember errors such as those above which do not actually mention the library that is not found but the library from which the error was risen. I just could not find any dependencies of gb.image.so, except libc. (ldconfig was done?) Regards, Tobi From sebikul at ...626... Tue Aug 7 22:08:58 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 7 Aug 2012 17:08:58 -0300 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <20120807200016.GA502@...2774...> References: <4907329.PSjVm2YRp5@...46...> <000001cd70ac$0be25300$0f00a8c0@...2829...> <20120807200016.GA502@...2774...> Message-ID: On Tue, Aug 7, 2012 at 5:00 PM, Tobias Boege wrote: > On Tue, 07 Aug 2012, Emil Lenngren wrote: >> I tried to install >> http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb on Raspbian >> but I got "package architecture (armel) does not match system (armhf)". >> When I tried with "--force-architecture", I got a lot of dependency errors, >> but the files were installed. >> Running "gambas3" prints: >> "ERROR: #27: Cannot load component 'gb.image': /usr/lib/gambas3/gb.image.so": >> cannot open shared object file: No such file or directory", even though >> that file exists... >> >> /Emil >> > > Hmm... Could it be what gb.image.so in turn depends on some other library > which cannot be found? > I certainly remember errors such as those above which do not actually > mention the library that is not found but the library from which the error > was risen. > I just could not find any dependencies of gb.image.so, except libc. > > (ldconfig was done?) > > 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 You are getting that error because armel and armhf are different implementations of the same architecture, and the linker can't load the gb.image.so library as it was compiled on an armel chip. You should download the source package and compile it yourself or find another package compiled under armel. It would be nice if you could also make available the compiled package under armel so others can test it ;) From gambas at ...2524... Tue Aug 7 22:19:05 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 07 Aug 2012 20:19:05 +0000 Subject: [Gambas-user] Issue 295 in gambas: Problem on inheritance In-Reply-To: <0-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #1 on issue 295 by benoit.m... at ...626...: Problem on inheritance http://code.google.com/p/gambas/issues/detail?id=295 Yep. Actually you should not be able to re-implement a class that has been already used as a parent for another class. I will add an error message for that. From mohareve at ...626... Tue Aug 7 23:09:54 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 7 Aug 2012 23:09:54 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344367123.2744.31.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> Message-ID: I use to add fields like this: $hConn.Begin $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) $hConn.Commit And I use Begin and Commit only for the large amount of insertions. Csaba 2012/8/7 rocko > Having a bit of trouble with trying to get Ganbas to add a value to a > field in a table. > > I have a sqlite DB with a table named 'inventory' with field names like: > 'name', 'start_date', 'end_date' and so on. > > I'm trying to add values to the fields using a interface, I have a text > box to add a name to the 'name' field in the inventory table. > > But I am not having any success. > I'm using Gambas version 2.21 as that is in my repo and been following > the older book "A beginners Giude to Gambas" which i think uses version > 1.9 as a basis. > > Here is my code for the 'connect' button: > > PUBLIC SUB btnConnect_Click() > > DIM $hConn AS NEW Connection > > > TRY $hConn.CLOSE > > WITH $hConn > .Type = "sqlite" > .Host = "/home/rocko/DataBases" > .Name = "plant_trax" > END WITH > > TRY $hConn.Open > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > $hConn.Close > END > > This works as far as I can tell as I don't get the error. > > The offending code i believe is in the btnAdd_CLICK(): > > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > > $hConn.Open > > TRY $hConn.Open > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > INC Application.Busy > > > $hConn.Begin > rTable = "Inventory" > rTable!name = txtName.Text > rTable.Update > > $hConn.Commit > > FINALLY > DEC Application.Busy > $hConn.Close > > END > > I was getting "Database cannot be opened. Error =Driver name missing" > So I added an "$hconn.Open". > But now the app just hangs when I click the add new btn > > The database doesn't get updated. > > Forgive me but I'm still learning Gambas and basic. > > I had compiled a newer version of Gambas from the SVN but that was on > another laptop that got stolen last week and I just installed what ever > was in my repo (Crucnhbang) on my replacement, but I don't think thats > my problem. > > > > > > > ------------------------------------------------------------------------------ > 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 Aug 8 00:09:55 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 15:09:55 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <1344377395.2744.33.camel@...2901...> Ok I tried this: $hConn.Begin $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) $hConn.Commit Without success. On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > I use to add fields like this: > $hConn.Begin > $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) > $hConn.Commit > > And I use Begin and Commit only for the large amount of insertions. > Csaba > > 2012/8/7 rocko > > > Having a bit of trouble with trying to get Ganbas to add a value to a > > field in a table. > > > > I have a sqlite DB with a table named 'inventory' with field names like: > > 'name', 'start_date', 'end_date' and so on. > > > > I'm trying to add values to the fields using a interface, I have a text > > box to add a name to the 'name' field in the inventory table. > > > > But I am not having any success. > > I'm using Gambas version 2.21 as that is in my repo and been following > > the older book "A beginners Giude to Gambas" which i think uses version > > 1.9 as a basis. > > > > Here is my code for the 'connect' button: > > > > PUBLIC SUB btnConnect_Click() > > > > DIM $hConn AS NEW Connection > > > > > > TRY $hConn.CLOSE > > > > WITH $hConn > > .Type = "sqlite" > > .Host = "/home/rocko/DataBases" > > .Name = "plant_trax" > > END WITH > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > $hConn.Close > > END > > > > This works as far as I can tell as I don't get the error. > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > $hConn.Open > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > INC Application.Busy > > > > > > $hConn.Begin > > rTable = "Inventory" > > rTable!name = txtName.Text > > rTable.Update > > > > $hConn.Commit > > > > FINALLY > > DEC Application.Busy > > $hConn.Close > > > > END > > > > I was getting "Database cannot be opened. Error =Driver name missing" > > So I added an "$hconn.Open". > > But now the app just hangs when I click the add new btn > > > > The database doesn't get updated. > > > > Forgive me but I'm still learning Gambas and basic. > > > > I had compiled a newer version of Gambas from the SVN but that was on > > another laptop that got stolen last week and I just installed what ever > > was in my repo (Crucnhbang) on my replacement, but I don't think thats > > my problem. > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > 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 emil.lenngren at ...626... Wed Aug 8 00:31:07 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 00:31:07 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344377395.2744.33.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> Message-ID: Try $hConn.Begin $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) $hConn.Commit Do you only have one column in that table? 2012/8/8 rocko > Ok I tried this: > $hConn.Begin > $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > $hConn.Commit > > Without success. > > On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > > I use to add fields like this: > > $hConn.Begin > > $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) > > $hConn.Commit > > > > And I use Begin and Commit only for the large amount of insertions. > > Csaba > > > > 2012/8/7 rocko > > > > > Having a bit of trouble with trying to get Ganbas to add a value to a > > > field in a table. > > > > > > I have a sqlite DB with a table named 'inventory' with field names > like: > > > 'name', 'start_date', 'end_date' and so on. > > > > > > I'm trying to add values to the fields using a interface, I have a text > > > box to add a name to the 'name' field in the inventory table. > > > > > > But I am not having any success. > > > I'm using Gambas version 2.21 as that is in my repo and been following > > > the older book "A beginners Giude to Gambas" which i think uses version > > > 1.9 as a basis. > > > > > > Here is my code for the 'connect' button: > > > > > > PUBLIC SUB btnConnect_Click() > > > > > > DIM $hConn AS NEW Connection > > > > > > > > > TRY $hConn.CLOSE > > > > > > WITH $hConn > > > .Type = "sqlite" > > > .Host = "/home/rocko/DataBases" > > > .Name = "plant_trax" > > > END WITH > > > > > > TRY $hConn.Open > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > > > $hConn.Close > > > END > > > > > > This works as far as I can tell as I don't get the error. > > > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > DIM $hConn AS NEW Connection > > > DIM rTable AS Result > > > > > > $hConn.Open > > > > > > TRY $hConn.Open > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > > > INC Application.Busy > > > > > > > > > $hConn.Begin > > > rTable = "Inventory" > > > rTable!name = txtName.Text > > > rTable.Update > > > > > > $hConn.Commit > > > > > > FINALLY > > > DEC Application.Busy > > > $hConn.Close > > > > > > END > > > > > > I was getting "Database cannot be opened. Error =Driver name missing" > > > So I added an "$hconn.Open". > > > But now the app just hangs when I click the add new btn > > > > > > The database doesn't get updated. > > > > > > Forgive me but I'm still learning Gambas and basic. > > > > > > I had compiled a newer version of Gambas from the SVN but that was on > > > another laptop that got stolen last week and I just installed what ever > > > was in my repo (Crucnhbang) on my replacement, but I don't think thats > > > my problem. > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > 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 > > > > > ------------------------------------------------------------------------------ > 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 Aug 8 00:46:05 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 15:46:05 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> Message-ID: <1344379565.2744.39.camel@...2901...> No, there are several. I justed wanted to test it with the first column to see if it works, which it doesn't. Tried your suggestion: $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) Values are still not inserting. On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: > Try > > $hConn.Begin > $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) > $hConn.Commit > > Do you only have one column in that table? > > 2012/8/8 rocko > > > Ok I tried this: > > $hConn.Begin > > $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > > $hConn.Commit > > > > Without success. > > > > On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > > > I use to add fields like this: > > > $hConn.Begin > > > $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) > > > $hConn.Commit > > > > > > And I use Begin and Commit only for the large amount of insertions. > > > Csaba > > > > > > 2012/8/7 rocko > > > > > > > Having a bit of trouble with trying to get Ganbas to add a value to a > > > > field in a table. > > > > > > > > I have a sqlite DB with a table named 'inventory' with field names > > like: > > > > 'name', 'start_date', 'end_date' and so on. > > > > > > > > I'm trying to add values to the fields using a interface, I have a text > > > > box to add a name to the 'name' field in the inventory table. > > > > > > > > But I am not having any success. > > > > I'm using Gambas version 2.21 as that is in my repo and been following > > > > the older book "A beginners Giude to Gambas" which i think uses version > > > > 1.9 as a basis. > > > > > > > > Here is my code for the 'connect' button: > > > > > > > > PUBLIC SUB btnConnect_Click() > > > > > > > > DIM $hConn AS NEW Connection > > > > > > > > > > > > TRY $hConn.CLOSE > > > > > > > > WITH $hConn > > > > .Type = "sqlite" > > > > .Host = "/home/rocko/DataBases" > > > > .Name = "plant_trax" > > > > END WITH > > > > > > > > TRY $hConn.Open > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > > > > > $hConn.Close > > > > END > > > > > > > > This works as far as I can tell as I don't get the error. > > > > > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > > > DIM $hConn AS NEW Connection > > > > DIM rTable AS Result > > > > > > > > $hConn.Open > > > > > > > > TRY $hConn.Open > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > > > > > INC Application.Busy > > > > > > > > > > > > $hConn.Begin > > > > rTable = "Inventory" > > > > rTable!name = txtName.Text > > > > rTable.Update > > > > > > > > $hConn.Commit > > > > > > > > FINALLY > > > > DEC Application.Busy > > > > $hConn.Close > > > > > > > > END > > > > > > > > I was getting "Database cannot be opened. Error =Driver name missing" > > > > So I added an "$hconn.Open". > > > > But now the app just hangs when I click the add new btn > > > > > > > > The database doesn't get updated. > > > > > > > > Forgive me but I'm still learning Gambas and basic. > > > > > > > > I had compiled a newer version of Gambas from the SVN but that was on > > > > another laptop that got stolen last week and I just installed what ever > > > > was in my repo (Crucnhbang) on my replacement, but I don't think thats > > > > my problem. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > 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 > > > > > > > > > > ------------------------------------------------------------------------------ > > 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 linuxos at ...1896... Wed Aug 8 00:53:48 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 8 Aug 2012 00:53:48 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344379565.2744.39.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> <1344379565.2744.39.camel@...2901...> Message-ID: <8E015DB8-53A2-440C-B644-A12F6EF56275@...1896...> Hello, > Tried your suggestion: > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) I think it's wrong because you write this one: VALUES($1) and it's VALUES(&1) Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 8 ao?t 2012 ? 00:46, rocko a ?crit : > No, there are several. > I justed wanted to test it with the first column to see if it works, > which it doesn't. > > Tried your suggestion: > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > Values are still not inserting. > > > > On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: >> Try >> >> $hConn.Begin >> $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) >> $hConn.Commit >> >> Do you only have one column in that table? >> >> 2012/8/8 rocko >> >>> Ok I tried this: >>> $hConn.Begin >>> $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) >>> $hConn.Commit >>> >>> Without success. >>> >>> On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: >>>> I use to add fields like this: >>>> $hConn.Begin >>>> $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) >>>> $hConn.Commit >>>> >>>> And I use Begin and Commit only for the large amount of insertions. >>>> Csaba >>>> >>>> 2012/8/7 rocko >>>> >>>>> Having a bit of trouble with trying to get Ganbas to add a value to a >>>>> field in a table. >>>>> >>>>> I have a sqlite DB with a table named 'inventory' with field names >>> like: >>>>> 'name', 'start_date', 'end_date' and so on. >>>>> >>>>> I'm trying to add values to the fields using a interface, I have a text >>>>> box to add a name to the 'name' field in the inventory table. >>>>> >>>>> But I am not having any success. >>>>> I'm using Gambas version 2.21 as that is in my repo and been following >>>>> the older book "A beginners Giude to Gambas" which i think uses version >>>>> 1.9 as a basis. >>>>> >>>>> Here is my code for the 'connect' button: >>>>> >>>>> PUBLIC SUB btnConnect_Click() >>>>> >>>>> DIM $hConn AS NEW Connection >>>>> >>>>> >>>>> TRY $hConn.CLOSE >>>>> >>>>> WITH $hConn >>>>> .Type = "sqlite" >>>>> .Host = "/home/rocko/DataBases" >>>>> .Name = "plant_trax" >>>>> END WITH >>>>> >>>>> TRY $hConn.Open >>>>> IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text >>>>> >>>>> $hConn.Close >>>>> END >>>>> >>>>> This works as far as I can tell as I don't get the error. >>>>> >>>>> The offending code i believe is in the btnAdd_CLICK(): >>>>> >>>>> PUBLIC SUB btnAdd_Click() >>>>> >>>>> DIM $hConn AS NEW Connection >>>>> DIM rTable AS Result >>>>> >>>>> $hConn.Open >>>>> >>>>> TRY $hConn.Open >>>>> IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text >>>>> >>>>> INC Application.Busy >>>>> >>>>> >>>>> $hConn.Begin >>>>> rTable = "Inventory" >>>>> rTable!name = txtName.Text >>>>> rTable.Update >>>>> >>>>> $hConn.Commit >>>>> >>>>> FINALLY >>>>> DEC Application.Busy >>>>> $hConn.Close >>>>> >>>>> END >>>>> >>>>> I was getting "Database cannot be opened. Error =Driver name missing" >>>>> So I added an "$hconn.Open". >>>>> But now the app just hangs when I click the add new btn >>>>> >>>>> The database doesn't get updated. >>>>> >>>>> Forgive me but I'm still learning Gambas and basic. >>>>> >>>>> I had compiled a newer version of Gambas from the SVN but that was on >>>>> another laptop that got stolen last week and I just installed what ever >>>>> was in my repo (Crucnhbang) on my replacement, but I don't think thats >>>>> my problem. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>> ------------------------------------------------------------------------------ >>>>> 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 >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 > > > > ------------------------------------------------------------------------------ > 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 Aug 8 01:02:09 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 16:02:09 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <8E015DB8-53A2-440C-B644-A12F6EF56275@...1896...> References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> <1344379565.2744.39.camel@...2901...> <8E015DB8-53A2-440C-B644-A12F6EF56275@...1896...> Message-ID: <1344380529.2744.42.camel@...2901...> Oh yes '&' not '$', that was a typo. In my code it's '&'. Still can't get this to work. Here is my full code: PUBLIC SUB btnConnect_Click() 'DIM sName AS String DIM $hConn AS NEW Connection WITH $hConn .Type = "sqlite" .Host = "/home/rocko/DataBases" .Name = "plant_trax" END WITH TRY $hConn.Open IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text END PUBLIC SUB btnAdd_Click() DIM $hConn AS NEW Connection 'DIM $Value AS String $hConn.Open 'TRY $hConn.Open 'IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text $hConn.Begin $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) $hConn.Commit FINALLY $hConn.Close END On Wed, 2012-08-08 at 00:53 +0200, Olivier Cruilles wrote: > Hello, > > > Tried your suggestion: > > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > I think it's wrong because you write this one: VALUES($1) and it's VALUES(&1) > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 8 ao?t 2012 ? 00:46, rocko a ?crit : > > > No, there are several. > > I justed wanted to test it with the first column to see if it works, > > which it doesn't. > > > > Tried your suggestion: > > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > > > Values are still not inserting. > > > > > > > > On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: > >> Try > >> > >> $hConn.Begin > >> $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) > >> $hConn.Commit > >> > >> Do you only have one column in that table? > >> > >> 2012/8/8 rocko > >> > >>> Ok I tried this: > >>> $hConn.Begin > >>> $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > >>> $hConn.Commit > >>> > >>> Without success. > >>> > >>> On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > >>>> I use to add fields like this: > >>>> $hConn.Begin > >>>> $hConn.Exec("INSERT INTO mytable VALUES(&1,&2,..&N)",var1,var2,...varN) > >>>> $hConn.Commit > >>>> > >>>> And I use Begin and Commit only for the large amount of insertions. > >>>> Csaba > >>>> > >>>> 2012/8/7 rocko > >>>> > >>>>> Having a bit of trouble with trying to get Ganbas to add a value to a > >>>>> field in a table. > >>>>> > >>>>> I have a sqlite DB with a table named 'inventory' with field names > >>> like: > >>>>> 'name', 'start_date', 'end_date' and so on. > >>>>> > >>>>> I'm trying to add values to the fields using a interface, I have a text > >>>>> box to add a name to the 'name' field in the inventory table. > >>>>> > >>>>> But I am not having any success. > >>>>> I'm using Gambas version 2.21 as that is in my repo and been following > >>>>> the older book "A beginners Giude to Gambas" which i think uses version > >>>>> 1.9 as a basis. > >>>>> > >>>>> Here is my code for the 'connect' button: > >>>>> > >>>>> PUBLIC SUB btnConnect_Click() > >>>>> > >>>>> DIM $hConn AS NEW Connection > >>>>> > >>>>> > >>>>> TRY $hConn.CLOSE > >>>>> > >>>>> WITH $hConn > >>>>> .Type = "sqlite" > >>>>> .Host = "/home/rocko/DataBases" > >>>>> .Name = "plant_trax" > >>>>> END WITH > >>>>> > >>>>> TRY $hConn.Open > >>>>> IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > >>>>> > >>>>> $hConn.Close > >>>>> END > >>>>> > >>>>> This works as far as I can tell as I don't get the error. > >>>>> > >>>>> The offending code i believe is in the btnAdd_CLICK(): > >>>>> > >>>>> PUBLIC SUB btnAdd_Click() > >>>>> > >>>>> DIM $hConn AS NEW Connection > >>>>> DIM rTable AS Result > >>>>> > >>>>> $hConn.Open > >>>>> > >>>>> TRY $hConn.Open > >>>>> IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > >>>>> > >>>>> INC Application.Busy > >>>>> > >>>>> > >>>>> $hConn.Begin > >>>>> rTable = "Inventory" > >>>>> rTable!name = txtName.Text > >>>>> rTable.Update > >>>>> > >>>>> $hConn.Commit > >>>>> > >>>>> FINALLY > >>>>> DEC Application.Busy > >>>>> $hConn.Close > >>>>> > >>>>> END > >>>>> > >>>>> I was getting "Database cannot be opened. Error =Driver name missing" > >>>>> So I added an "$hconn.Open". > >>>>> But now the app just hangs when I click the add new btn > >>>>> > >>>>> The database doesn't get updated. > >>>>> > >>>>> Forgive me but I'm still learning Gambas and basic. > >>>>> > >>>>> I had compiled a newer version of Gambas from the SVN but that was on > >>>>> another laptop that got stolen last week and I just installed what ever > >>>>> was in my repo (Crucnhbang) on my replacement, but I don't think thats > >>>>> my problem. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>> ------------------------------------------------------------------------------ > >>>>> 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 > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> 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 > > > > > > > > ------------------------------------------------------------------------------ > > 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 emil.lenngren at ...626... Wed Aug 8 01:08:59 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 01:08:59 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344379565.2744.39.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> <1344379565.2744.39.camel@...2901...> Message-ID: Then you have to specify what column you want to insert to. Syntax: http://www.w3schools.com/sql/sql_insert.asp The &1, &2 ... system used by gambas is to provide correct escaping and to prevent sql injections. 2012/8/8 rocko > No, there are several. > I justed wanted to test it with the first column to see if it works, > which it doesn't. > > Tried your suggestion: > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > Values are still not inserting. > > > > On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: > > Try > > > > $hConn.Begin > > $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) > > $hConn.Commit > > > > Do you only have one column in that table? > > > > 2012/8/8 rocko > > > > > Ok I tried this: > > > $hConn.Begin > > > $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > > > $hConn.Commit > > > > > > Without success. > > > > > > On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > > > > I use to add fields like this: > > > > $hConn.Begin > > > > $hConn.Exec("INSERT INTO mytable > VALUES(&1,&2,..&N)",var1,var2,...varN) > > > > $hConn.Commit > > > > > > > > And I use Begin and Commit only for the large amount of insertions. > > > > Csaba > > > > > > > > 2012/8/7 rocko > > > > > > > > > Having a bit of trouble with trying to get Ganbas to add a value > to a > > > > > field in a table. > > > > > > > > > > I have a sqlite DB with a table named 'inventory' with field names > > > like: > > > > > 'name', 'start_date', 'end_date' and so on. > > > > > > > > > > I'm trying to add values to the fields using a interface, I have a > text > > > > > box to add a name to the 'name' field in the inventory table. > > > > > > > > > > But I am not having any success. > > > > > I'm using Gambas version 2.21 as that is in my repo and been > following > > > > > the older book "A beginners Giude to Gambas" which i think uses > version > > > > > 1.9 as a basis. > > > > > > > > > > Here is my code for the 'connect' button: > > > > > > > > > > PUBLIC SUB btnConnect_Click() > > > > > > > > > > DIM $hConn AS NEW Connection > > > > > > > > > > > > > > > TRY $hConn.CLOSE > > > > > > > > > > WITH $hConn > > > > > .Type = "sqlite" > > > > > .Host = "/home/rocko/DataBases" > > > > > .Name = "plant_trax" > > > > > END WITH > > > > > > > > > > TRY $hConn.Open > > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > Error.Text > > > > > > > > > > $hConn.Close > > > > > END > > > > > > > > > > This works as far as I can tell as I don't get the error. > > > > > > > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > > > > > DIM $hConn AS NEW Connection > > > > > DIM rTable AS Result > > > > > > > > > > $hConn.Open > > > > > > > > > > TRY $hConn.Open > > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > Error.Text > > > > > > > > > > INC Application.Busy > > > > > > > > > > > > > > > $hConn.Begin > > > > > rTable = "Inventory" > > > > > rTable!name = txtName.Text > > > > > rTable.Update > > > > > > > > > > $hConn.Commit > > > > > > > > > > FINALLY > > > > > DEC Application.Busy > > > > > $hConn.Close > > > > > > > > > > END > > > > > > > > > > I was getting "Database cannot be opened. Error =Driver name > missing" > > > > > So I added an "$hconn.Open". > > > > > But now the app just hangs when I click the add new btn > > > > > > > > > > The database doesn't get updated. > > > > > > > > > > Forgive me but I'm still learning Gambas and basic. > > > > > > > > > > I had compiled a newer version of Gambas from the SVN but that was > on > > > > > another laptop that got stolen last week and I just installed what > ever > > > > > was in my repo (Crucnhbang) on my replacement, but I don't think > thats > > > > > my problem. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > 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 > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > 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 > > > > > ------------------------------------------------------------------------------ > 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 Aug 8 01:25:00 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 16:25:00 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344377395.2744.33.camel@...2901...> <1344379565.2744.39.camel@...2901...> Message-ID: <1344381900.2744.44.camel@...2901...> No, that doesn't work either: $hConn.Exec("INSERT INTO inventory VALUES(id, name)", 1, txtName.Text) On Wed, 2012-08-08 at 01:08 +0200, Emil Lenngren wrote: > Then you have to specify what column you want to insert to. > Syntax: http://www.w3schools.com/sql/sql_insert.asp > > The &1, &2 ... system used by gambas is to provide correct escaping and to > prevent sql injections. > > 2012/8/8 rocko > > > No, there are several. > > I justed wanted to test it with the first column to see if it works, > > which it doesn't. > > > > Tried your suggestion: > > $hConn.Exec("INSERT INTO inventory VALUES($1)", txtName.Text) > > > > Values are still not inserting. > > > > > > > > On Wed, 2012-08-08 at 00:31 +0200, Emil Lenngren wrote: > > > Try > > > > > > $hConn.Begin > > > $hConn.Exec("INSERT INTO inventory VALUES(&1)", txtName.Text) > > > $hConn.Commit > > > > > > Do you only have one column in that table? > > > > > > 2012/8/8 rocko > > > > > > > Ok I tried this: > > > > $hConn.Begin > > > > $hConn.Exec("INSERT INTO inventory VALUES(name)", txtName.Text) > > > > $hConn.Commit > > > > > > > > Without success. > > > > > > > > On Tue, 2012-08-07 at 23:09 +0200, M. Cs. wrote: > > > > > I use to add fields like this: > > > > > $hConn.Begin > > > > > $hConn.Exec("INSERT INTO mytable > > VALUES(&1,&2,..&N)",var1,var2,...varN) > > > > > $hConn.Commit > > > > > > > > > > And I use Begin and Commit only for the large amount of insertions. > > > > > Csaba > > > > > > > > > > 2012/8/7 rocko > > > > > > > > > > > Having a bit of trouble with trying to get Ganbas to add a value > > to a > > > > > > field in a table. > > > > > > > > > > > > I have a sqlite DB with a table named 'inventory' with field names > > > > like: > > > > > > 'name', 'start_date', 'end_date' and so on. > > > > > > > > > > > > I'm trying to add values to the fields using a interface, I have a > > text > > > > > > box to add a name to the 'name' field in the inventory table. > > > > > > > > > > > > But I am not having any success. > > > > > > I'm using Gambas version 2.21 as that is in my repo and been > > following > > > > > > the older book "A beginners Giude to Gambas" which i think uses > > version > > > > > > 1.9 as a basis. > > > > > > > > > > > > Here is my code for the 'connect' button: > > > > > > > > > > > > PUBLIC SUB btnConnect_Click() > > > > > > > > > > > > DIM $hConn AS NEW Connection > > > > > > > > > > > > > > > > > > TRY $hConn.CLOSE > > > > > > > > > > > > WITH $hConn > > > > > > .Type = "sqlite" > > > > > > .Host = "/home/rocko/DataBases" > > > > > > .Name = "plant_trax" > > > > > > END WITH > > > > > > > > > > > > TRY $hConn.Open > > > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > > Error.Text > > > > > > > > > > > > $hConn.Close > > > > > > END > > > > > > > > > > > > This works as far as I can tell as I don't get the error. > > > > > > > > > > > > The offending code i believe is in the btnAdd_CLICK(): > > > > > > > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > > > > > > > DIM $hConn AS NEW Connection > > > > > > DIM rTable AS Result > > > > > > > > > > > > $hConn.Open > > > > > > > > > > > > TRY $hConn.Open > > > > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > > Error.Text > > > > > > > > > > > > INC Application.Busy > > > > > > > > > > > > > > > > > > $hConn.Begin > > > > > > rTable = "Inventory" > > > > > > rTable!name = txtName.Text > > > > > > rTable.Update > > > > > > > > > > > > $hConn.Commit > > > > > > > > > > > > FINALLY > > > > > > DEC Application.Busy > > > > > > $hConn.Close > > > > > > > > > > > > END > > > > > > > > > > > > I was getting "Database cannot be opened. Error =Driver name > > missing" > > > > > > So I added an "$hconn.Open". > > > > > > But now the app just hangs when I click the add new btn > > > > > > > > > > > > The database doesn't get updated. > > > > > > > > > > > > Forgive me but I'm still learning Gambas and basic. > > > > > > > > > > > > I had compiled a newer version of Gambas from the SVN but that was > > on > > > > > > another laptop that got stolen last week and I just installed what > > ever > > > > > > was in my repo (Crucnhbang) on my replacement, but I don't think > > thats > > > > > > my problem. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > 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 > > > > > > > > > > ------------------------------------------------------------------------------ > > 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 sbungay at ...981... Wed Aug 8 04:00:04 2012 From: sbungay at ...981... (Stephen Bungay) Date: Tue, 07 Aug 2012 22:00:04 -0400 Subject: [Gambas-user] Heirarch of controls vs Tab order/z order... In-Reply-To: <501D54A8.2070908@...981...> References: <501D54A8.2070908@...981...> Message-ID: <5021C824.2010607@...981...> So nothing on this then? It just is what it is? On 08/04/2012 12:58 PM, Stephen Bungay wrote: > Fedora 13 > Gambas 3.2.90 > Gnome 2 > > Four input boxes are arranged on a tab, lets call them TextBox1, > TextBox2, TextBox3 and TextBox4, and this this is the order in which > they appear in the hierarchy. On the form they are arranged in two > columns, the first column contains TextBox1 and TextBox 2, the second > Column TextBox3 and TextBox4. > > When the user is entering data I want them to enter everything in the > first column (TextBox1 and TextBox2), then the second Column (TextBox3 > and TextBox4), which is the order of the controls in the hierarchy. Alas > this does not transpire. > > After entering data in TextBox1 the user presses TAB and the focus is > given to TextBox3, Pressing TAB again jumps to TextBox2 and TextBox4 is > the last one. Does the Hierarchy not also enforce the tab order/z order > of the controls? > > Kindest regards > Steve. > > ------------------------------------------------------------------------------ > 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 adamnt42 at ...626... Wed Aug 8 04:34:39 2012 From: adamnt42 at ...626... (Adam Ant) Date: Wed, 8 Aug 2012 12:04:39 +0930 Subject: [Gambas-user] Heirarch of controls vs Tab order/z order... In-Reply-To: <5021C824.2010607@...981...> References: <501D54A8.2070908@...981...> <5021C824.2010607@...981...> Message-ID: On Wed, Aug 8, 2012 at 11:30 AM, Stephen Bungay wrote: > > So nothing on this then? It just is what it is? > > On 08/04/2012 12:58 PM, Stephen Bungay wrote: > > Fedora 13 > > Gambas 3.2.90 > > Gnome 2 > > > > Four input boxes are arranged on a tab, lets call them TextBox1, > > TextBox2, TextBox3 and TextBox4, and this this is the order in which > > they appear in the hierarchy. On the form they are arranged in two > > columns, the first column contains TextBox1 and TextBox 2, the second > > Column TextBox3 and TextBox4. > > > > When the user is entering data I want them to enter everything in the > > first column (TextBox1 and TextBox2), then the second Column (TextBox3 > > and TextBox4), which is the order of the controls in the hierarchy. Alas > > this does not transpire. > > > > After entering data in TextBox1 the user presses TAB and the focus is > > given to TextBox3, Pressing TAB again jumps to TextBox2 and TextBox4 is > > the last one. Does the Hierarchy not also enforce the tab order/z order > > of the controls? > > > > Kindest regards > > Steve. ??? Works for me. See attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: demo_taborder-0.0.1.tar.gz Type: application/x-gzip Size: 4714 bytes Desc: not available URL: From adamnt42 at ...626... Wed Aug 8 04:48:13 2012 From: adamnt42 at ...626... (Adam Ant) Date: Wed, 8 Aug 2012 12:18:13 +0930 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344367123.2744.31.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> Message-ID: On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: 8< > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > > $hConn.Open > > TRY $hConn.Open > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > INC Application.Busy > > > $hConn.Begin > rTable = "Inventory" <---- 1 > rTable!name = txtName.Text > rTable.Update <---- 2 > > $hConn.Commit > > FINALLY > DEC Application.Busy > $hConn.Close > > END 1. You are trying to set a Result to a string value. This wont work. 2. In order for gb.db to execute a database update it must have a writeable result. The answer is: rTable=$hConn.Edit("Inventory",) IF rTable.Available then rTable!name=txtName.Text rTable.Update END IF The help on gb.db has plenty of examples for Result and Connection explaining these concepts. hth Bruce From sunblaster5 at ...626... Wed Aug 8 05:13:53 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 07 Aug 2012 20:13:53 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <1344395633.2014.2.camel@...2901...> So should rTable be set as String not Result?? I've tried both and I still can't get the DB to update. $hConn.Begin rTable = $hConn.Edit("inventory") IF rTable.Available THEN rTable!name = txtName.Text rTable.Update ENDIF $hConn.Commit FINALLY $hConn.Close On Wed, 2012-08-08 at 12:18 +0930, Adam Ant wrote: > On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: > 8< > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > $hConn.Open > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > INC Application.Busy > > > > > > $hConn.Begin > > rTable = "Inventory" <---- 1 > > rTable!name = txtName.Text > > rTable.Update <---- 2 > > > > $hConn.Commit > > > > FINALLY > > DEC Application.Busy > > $hConn.Close > > > > END > > 1. You are trying to set a Result to a string value. This wont work. > 2. In order for gb.db to execute a database update it must have a > writeable result. > > The answer is: > > rTable=$hConn.Edit("Inventory", want to update>) > IF rTable.Available then > rTable!name=txtName.Text > rTable.Update > END IF > > The help on gb.db has plenty of examples for Result and Connection > explaining these concepts. > > hth > 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 From gambas.fr at ...626... Wed Aug 8 07:29:00 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 07:29:00 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : > > On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: > 8< > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > $hConn.Open > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text > > > > INC Application.Busy > > > > > > $hConn.Begin > > rTable = "Inventory" <---- 1 > > rTable!name = txtName.Text > > rTable.Update <---- 2 > > > > $hConn.Commit > > > > FINALLY > > DEC Application.Busy > > $hConn.Close > > > > END > > 1. You are trying to set a Result to a string value. This wont work. > 2. In order for gb.db to execute a database update it must have a > writeable result. > > The answer is: > It's create > rTable=$hConn.create("Inventory", want to update>) > IF rTable.Available then > rTable!name=txtName.Text > rTable.Update > END IF > Don't open/ close the db each time You can use db.create too > The help on gb.db has plenty of examples for Result and Connection > explaining these concepts. > > hth > 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 From ivan-kern at ...308... Wed Aug 8 07:29:16 2012 From: ivan-kern at ...308... (Ivan Kern) Date: Wed, 8 Aug 2012 07:29:16 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344395633.2014.2.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344395633.2014.2.camel@...2901...> Message-ID: <000c01cd7526$c438b470$4caa1d50$@freenet.de> Hi, Try $hConn.Exec("INSERT INTO 'inventory' (your Column) VALUES ('" & txtName.Text & "') Ivan -----Urspr?ngliche Nachricht----- Von: rocko [mailto:sunblaster5 at ...626...] Gesendet: Mittwoch, 8. August 2012 05:14 An: mailing list for gambas users Betreff: Re: [Gambas-user] Adding values to fields in SQLite table?? So should rTable be set as String not Result?? I've tried both and I still can't get the DB to update. $hConn.Begin rTable = $hConn.Edit("inventory") IF rTable.Available THEN rTable!name = txtName.Text rTable.Update ENDIF $hConn.Commit FINALLY $hConn.Close On Wed, 2012-08-08 at 12:18 +0930, Adam Ant wrote: > On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: > 8< > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > $hConn.Open > > > > TRY $hConn.Open > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > > Error.Text > > > > INC Application.Busy > > > > > > $hConn.Begin > > rTable = "Inventory" <---- 1 > > rTable!name = txtName.Text > > rTable.Update <---- 2 > > > > $hConn.Commit > > > > FINALLY > > DEC Application.Busy > > $hConn.Close > > > > END > > 1. You are trying to set a Result to a string value. This wont work. > 2. In order for gb.db to execute a database update it must have a > writeable result. > > The answer is: > > rTable=$hConn.Edit("Inventory", want to update>) IF rTable.Available then > rTable!name=txtName.Text > rTable.Update > END IF > > The help on gb.db has plenty of examples for Result and Connection > explaining these concepts. > > hth > 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 ---------------------------------------------------------------------------- -- 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.fr at ...626... Wed Aug 8 07:34:23 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 07:34:23 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <000c01cd7526$c438b470$4caa1d50$@freenet.de> References: <1344367123.2744.31.camel@...2901...> <1344395633.2014.2.camel@...2901...> <000c01cd7526$c438b470$4caa1d50$@freenet.de> Message-ID: No no and no You need to use &1 .... To limit the quoting problems Le 8 ao?t 2012 07:32, "Ivan Kern" a ?crit : > Hi, > Try > $hConn.Exec("INSERT INTO 'inventory' (your Column) VALUES ('" & > txtName.Text & "') > > Ivan > > -----Urspr?ngliche Nachricht----- > Von: rocko [mailto:sunblaster5 at ...626...] > Gesendet: Mittwoch, 8. August 2012 05:14 > An: mailing list for gambas users > Betreff: Re: [Gambas-user] Adding values to fields in SQLite table?? > > So should rTable be set as String not Result?? > > I've tried both and I still can't get the DB to update. > > $hConn.Begin > > rTable = $hConn.Edit("inventory") > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > ENDIF > > $hConn.Commit > FINALLY > $hConn.Close > > > On Wed, 2012-08-08 at 12:18 +0930, Adam Ant wrote: > > On Wed, Aug 8, 2012 at 4:48 AM, rocko wrote: > > 8< > > > > > PUBLIC SUB btnAdd_Click() > > > > > > DIM $hConn AS NEW Connection > > > DIM rTable AS Result > > > > > > $hConn.Open > > > > > > TRY $hConn.Open > > > IF ERROR THEN PRINT "Database cannot be opened. Error = ", > > > Error.Text > > > > > > INC Application.Busy > > > > > > > > > $hConn.Begin > > > rTable = "Inventory" > <---- 1 > > > rTable!name = txtName.Text > > > rTable.Update > <---- 2 > > > > > > $hConn.Commit > > > > > > FINALLY > > > DEC Application.Busy > > > $hConn.Close > > > > > > END > > > > 1. You are trying to set a Result to a string value. This wont work. > > 2. In order for gb.db to execute a database update it must have a > > writeable result. > > > > The answer is: > > > > rTable=$hConn.Edit("Inventory", > want to update>) IF rTable.Available then > > rTable!name=txtName.Text > > rTable.Update > > END IF > > > > The help on gb.db has plenty of examples for Result and Connection > > explaining these concepts. > > > > hth > > 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 > > > > > ---------------------------------------------------------------------------- > -- > 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 adamnt42 at ...626... Wed Aug 8 08:03:41 2012 From: adamnt42 at ...626... (Adam Ant) Date: Wed, 8 Aug 2012 15:33:41 +0930 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard wrote: > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : >> The answer is: >> > It's create >> rTable=$hConn.create("Inventory",> want to update>) >> IF rTable.Available then >> rTable!name=txtName.Text >> rTable.Update >> END IF >> > > Don't open/ close the db each time > Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. So it's really rTable=$hConn.Create("Inventory") IF rTable.Available then rTable!name=txtName.Text TRY rTable.Update IF ERROR THEN ' your update failed, possibly because of a duplicate key ENDIF END IF Bruce From gambas.fr at ...626... Wed Aug 8 14:19:19 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 14:19:19 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: 2012/8/8 Adam Ant > On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard wrote: > > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : > >> The answer is: > >> > > It's create > >> rTable=$hConn.create("Inventory", >> want to update>) > >> IF rTable.Available then > >> rTable!name=txtName.Text > >> rTable.Update > >> END IF > >> > > > > Don't open/ close the db each time > > > > Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. > > So it's really > rTable=$hConn.Create("Inventory") > IF rTable.Available then > rTable!name=txtName.Text > TRY rTable.Update > IF ERROR THEN > ' your update failed, possibly because of a duplicate key > ENDIF > END IF > > > THen if you want to modify a specific line : rTable=DB.Edit("Inventory", "id=&1", varId) rTable!name=txtName.Text rTable.Update db.commit Another thing, If your app use only one db with one connection, Open it on start for exemple your project begin on a module Main.module 'module Private hCon as New Connection Public Sub Main() hCOn.TYpe= "sqlite" hCon.Name="Mydb" hCon.Host=user.home hCon.Open FormMyMain.Show END In FormMyMain do PUblic sub Form_Close() db.close end Public sub Button_Click() dim rTable as result rTable = db.find("mytable") for each rTable print rTable!name next end in gambas 3 you can use ide to define connections of the project... you can then use it in the project ... so main.module become : Public sub Main() Connections["MyConnection"].Open End If you use a mysql or other table with password. You need to add that befor : Conections["MyConnection"].Password="yourpassword" > > > ------------------------------------------------------------------------------ > 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 sbungay at ...981... Wed Aug 8 16:28:47 2012 From: sbungay at ...981... (Stephen Bungay) Date: Wed, 08 Aug 2012 10:28:47 -0400 Subject: [Gambas-user] Heirarch of controls vs Tab order/z order... In-Reply-To: References: <501D54A8.2070908@...981...> <5021C824.2010607@...981...> Message-ID: <5022779F.6070406@...981...> On 08/07/2012 10:34 PM, Adam Ant wrote: > On Wed, Aug 8, 2012 at 11:30 AM, Stephen Bungay wrote: >> So nothing on this then? It just is what it is? >> >> On 08/04/2012 12:58 PM, Stephen Bungay wrote: >>> Fedora 13 >>> Gambas 3.2.90 >>> Gnome 2 >>> >>> Four input boxes are arranged on a tab, lets call them TextBox1, >>> TextBox2, TextBox3 and TextBox4, and this this is the order in which >>> they appear in the hierarchy. On the form they are arranged in two >>> columns, the first column contains TextBox1 and TextBox 2, the second >>> Column TextBox3 and TextBox4. >>> >>> When the user is entering data I want them to enter everything in the >>> first column (TextBox1 and TextBox2), then the second Column (TextBox3 >>> and TextBox4), which is the order of the controls in the hierarchy. Alas >>> this does not transpire. >>> >>> After entering data in TextBox1 the user presses TAB and the focus is >>> given to TextBox3, Pressing TAB again jumps to TextBox2 and TextBox4 is >>> the last one. Does the Hierarchy not also enforce the tab order/z order >>> of the controls? >>> >>> Kindest regards >>> Steve. > > ??? Works for me. See attached. > > > ------------------------------------------------------------------------------ > 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 Hmmmm (scratching head)... Selecting the first textbox on the form then pressing tab results in the textbox being deselected but nothing else selected... it is not moving through the text boxes at all! Two things equal to the same thing must be equal to each other, and since the project I am testing is the one you attached, the only things that can be different are gambas itself or the underlying GTK. I will try this on some virtual environments with other (newer) distros and see what comes of it. Will post the results back here. From gambas at ...2524... Wed Aug 8 17:48:59 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 15:48:59 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <1-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Comment #2 on issue 296 by johang... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 when i click in combobox don't see the list of items Version: 3.2.1 Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: GTK+ Desktop used: Gnome Attachments: jtube-1.0.tar.gz 19.1 KB From gambas at ...2524... Wed Aug 8 18:09:23 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 16:09:23 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <2-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.2.1 Comment #3 on issue 296 by benoit.m... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 OK, I could reproduce it with the project: the list pops up if you double-click, and most of the time it doesn't if you just do a single click. From gambas at ...2524... Wed Aug 8 18:10:23 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 16:10:23 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <3-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Updates: Labels: -Version-3.2.1 Version-3.2.0 Comment #4 on issue 296 by benoit.m... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 (No comment was entered for this change.) From sunblaster5 at ...626... Wed Aug 8 18:18:57 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 09:18:57 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <1344442737.1869.2.camel@...2901...> Ok I've tried all the suggestions you all have made and none of them work. I don't get any error's printed, the table just wont update. Should 'rtable' be AS Result or AS String?? On Wed, 2012-08-08 at 15:33 +0930, Adam Ant wrote: > On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard wrote: > > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : > >> The answer is: > >> > > It's create > >> rTable=$hConn.create("Inventory", >> want to update>) > >> IF rTable.Available then > >> rTable!name=txtName.Text > >> rTable.Update > >> END IF > >> > > > > Don't open/ close the db each time > > > > Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. > > So it's really > rTable=$hConn.Create("Inventory") > IF rTable.Available then > rTable!name=txtName.Text > TRY rTable.Update > IF ERROR THEN > ' your update failed, possibly because of a duplicate key > ENDIF > END IF > > > 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 From gambas.fr at ...626... Wed Aug 8 18:39:38 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 18:39:38 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344442737.1869.2.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> Message-ID: 2012/8/8 rocko > Ok I've tried all the suggestions you all have made and none of them > work. > I don't get any error's printed, the table just wont update. > Should 'rtable' be AS Result or AS String?? > a result !!! db.exec, db.create, db.edit return result ! dim rTable as result > > > On Wed, 2012-08-08 at 15:33 +0930, Adam Ant wrote: > > On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard > wrote: > > > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : > > >> The answer is: > > >> > > > It's create > > >> rTable=$hConn.create("Inventory", > >> want to update>) > > >> IF rTable.Available then > > >> rTable!name=txtName.Text > > >> rTable.Update > > >> END IF > > >> > > > > > > Don't open/ close the db each time > > > > > > > Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. > > > > So it's really > > rTable=$hConn.Create("Inventory") > > IF rTable.Available then > > rTable!name=txtName.Text > > TRY rTable.Update > > IF ERROR THEN > > ' your update failed, possibly because of a duplicate key > > ENDIF > > END IF > > > > > > 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 > > > > > ------------------------------------------------------------------------------ > 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.fr at ...626... Wed Aug 8 19:01:57 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 19:01:57 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> Message-ID: it's in french but ... http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html From sunblaster5 at ...626... Wed Aug 8 19:12:34 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 10:12:34 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> Message-ID: <1344445954.1869.3.camel@...2901...> Is there anyway to translate that?? On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > it's in french but ... > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > ------------------------------------------------------------------------------ > 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.fr at ...626... Wed Aug 8 19:17:23 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 19:17:23 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344445954.1869.3.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> Message-ID: 2012/8/8 rocko > Is there anyway to translate that?? > google ? > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > it's in french but ... > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > ------------------------------------------------------------------------------ > > 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 > -- Fabien Bodard From sunblaster5 at ...626... Wed Aug 8 19:42:22 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 10:42:22 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> Message-ID: <1344447742.1869.10.camel@...2901...> Im now getting error's. I was getting a "connection not opened" error message, so I add a $hConn.Open before the $hConn.Begin. I'm now getting a "Driver name missing" error. CODE: PUBLIC SUB btnAdd_Click() DIM $hConn AS NEW Connection DIM rTable AS Result $hConn.Open $hConn.Begin '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") '$hConn.Commit rTable = $hConn.Create("inventory") IF rTable.Available THEN rTable!name = txtName.Text rTable.Update TRY rTable.Update IF ERROR THEN PRINT "Update failed" Message.Error(ERROR.Text) ENDIF ENDIF $hConn.Commit $hConn.Close On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > 2012/8/8 rocko > > > Is there anyway to translate that?? > > > google ? > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > it's in french but ... > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > ------------------------------------------------------------------------------ > > > 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 gambas.fr at ...626... Wed Aug 8 19:48:57 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 19:48:57 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344447742.1869.10.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> Message-ID: Private $hConn as New Connection Public sub _New() $hConn .Host = "dir of bdd" $hConn.Name = "MyBdd" $hConn.Type = "sqlite" $hConn.Open End PUBLIC SUB btnAdd_Click() DIM rTable AS Result rTable = DB.Create("inventory") rTable!name = txtName.Text TRY rTable.Update IF ERROR THEN PRINT "Update failed" Message.Error(ERROR.Text) return ENDIF DB.Commit end Public SUb Form_Close $hConn.CLose end 2012/8/8 rocko > Im now getting error's. > I was getting a "connection not opened" error message, so I add > a $hConn.Open before the $hConn.Begin. > I'm now getting a "Driver name missing" error. > > CODE: > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > $hConn.Open > $hConn.Begin > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > '$hConn.Commit > rTable = $hConn.Create("inventory") > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > > ENDIF > ENDIF > > $hConn.Commit > $hConn.Close > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > 2012/8/8 rocko > > > > > Is there anyway to translate that?? > > > > > google ? > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > it's in french but ... > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > ------------------------------------------------------------------------------ > > > > 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 > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > 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 sunblaster5 at ...626... Wed Aug 8 19:54:19 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 10:54:19 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> Message-ID: <1344448460.1869.12.camel@...2901...> Oh yes forgot to mention I have that code in a 'connect' button. PUBLIC SUB btnConnect_Click() DIM $hConn AS NEW Connection WITH $hConn .Type = "sqlite3" .Host = "/home/rocko/DataBases" .Name = "my_test.sqlite" END WITH TRY $hConn.Open IF ERROR THEN PRINT "Database cannot be opened. Error = ", Error.Text END On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > Private $hConn as New Connection > Public sub _New() > $hConn .Host = "dir of bdd" > $hConn.Name = "MyBdd" > $hConn.Type = "sqlite" > $hConn.Open > > End > > > PUBLIC SUB btnAdd_Click() > > DIM rTable AS Result > > rTable = DB.Create("inventory") > > rTable!name = txtName.Text > > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > return > ENDIF > > > DB.Commit > > end > > Public SUb Form_Close > $hConn.CLose > end > > > > > > > > > > > 2012/8/8 rocko > > > Im now getting error's. > > I was getting a "connection not opened" error message, so I add > > a $hConn.Open before the $hConn.Begin. > > I'm now getting a "Driver name missing" error. > > > > CODE: > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > $hConn.Open > > $hConn.Begin > > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > > '$hConn.Commit > > rTable = $hConn.Create("inventory") > > > > IF rTable.Available THEN > > rTable!name = txtName.Text > > rTable.Update > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > > > ENDIF > > ENDIF > > > > $hConn.Commit > > $hConn.Close > > > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > > 2012/8/8 rocko > > > > > > > Is there anyway to translate that?? > > > > > > > google ? > > > > > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > > it's in french but ... > > > > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > 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 Aug 8 20:13:03 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 11:13:03 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> Message-ID: <1344449583.1869.18.camel@...2901...> Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. I'm getting 'Connection Not Opened" error when click the Add_new btn. btnConnect CODE: PRIVATE $hConn AS Connection PUBLIC SUB btnConnect_Click() DIM $hConn AS NEW Connection $hConn.Host = "/home/rocko/DataBases" $hConn.Name = "my_test.sqlite" $hConn.Type = "sqlite" $hConn.Open btnAdd CODE: PUBLIC SUB btnAdd_Click() DIM $hConn AS NEW Connection DIM rTable AS Result rTable = DB.Create("inventory") IF rTable.Available THEN rTable!name = txtName.Text rTable.Update TRY rTable.Update IF ERROR THEN PRINT "Update failed" Message.Error(ERROR.Text) ENDIF ENDIF DB.Commit btnClose CODE: PUBLIC SUB btnClose_Click() $hConn.Close FMain.Close On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > Private $hConn as New Connection > Public sub _New() > $hConn .Host = "dir of bdd" > $hConn.Name = "MyBdd" > $hConn.Type = "sqlite" > $hConn.Open > > End > > > PUBLIC SUB btnAdd_Click() > > DIM rTable AS Result > > rTable = DB.Create("inventory") > > rTable!name = txtName.Text > > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > return > ENDIF > > > DB.Commit > > end > > Public SUb Form_Close > $hConn.CLose > end > > > > > > > > > > > 2012/8/8 rocko > > > Im now getting error's. > > I was getting a "connection not opened" error message, so I add > > a $hConn.Open before the $hConn.Begin. > > I'm now getting a "Driver name missing" error. > > > > CODE: > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > $hConn.Open > > $hConn.Begin > > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > > '$hConn.Commit > > rTable = $hConn.Create("inventory") > > > > IF rTable.Available THEN > > rTable!name = txtName.Text > > rTable.Update > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > > > ENDIF > > ENDIF > > > > $hConn.Commit > > $hConn.Close > > > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > > 2012/8/8 rocko > > > > > > > Is there anyway to translate that?? > > > > > > > google ? > > > > > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > > it's in french but ... > > > > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > 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.fr at ...626... Wed Aug 8 20:18:21 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 8 Aug 2012 20:18:21 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344449583.1869.18.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> Message-ID: Do not do dim hconn... Just say Private $hconn as new connection Le 8 ao?t 2012 20:14, "rocko" a ?crit : > Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > > I'm getting 'Connection Not Opened" error when click the Add_new btn. > > > btnConnect CODE: > PRIVATE $hConn AS Connection > PUBLIC SUB btnConnect_Click() > > DIM $hConn AS NEW Connection > > $hConn.Host = "/home/rocko/DataBases" > $hConn.Name = "my_test.sqlite" > $hConn.Type = "sqlite" > $hConn.Open > > btnAdd CODE: > > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > > rTable = DB.Create("inventory") > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > > ENDIF > ENDIF > > DB.Commit > > btnClose CODE: > PUBLIC SUB btnClose_Click() > > $hConn.Close > FMain.Close > > On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > > Private $hConn as New Connection > > Public sub _New() > > $hConn .Host = "dir of bdd" > > $hConn.Name = "MyBdd" > > $hConn.Type = "sqlite" > > $hConn.Open > > > > End > > > > > > PUBLIC SUB btnAdd_Click() > > > > DIM rTable AS Result > > > > rTable = DB.Create("inventory") > > > > rTable!name = txtName.Text > > > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > return > > ENDIF > > > > > > DB.Commit > > > > end > > > > Public SUb Form_Close > > $hConn.CLose > > end > > > > > > > > > > > > > > > > > > > > > > 2012/8/8 rocko > > > > > Im now getting error's. > > > I was getting a "connection not opened" error message, so I add > > > a $hConn.Open before the $hConn.Begin. > > > I'm now getting a "Driver name missing" error. > > > > > > CODE: > > > PUBLIC SUB btnAdd_Click() > > > > > > DIM $hConn AS NEW Connection > > > DIM rTable AS Result > > > $hConn.Open > > > $hConn.Begin > > > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > > > '$hConn.Commit > > > rTable = $hConn.Create("inventory") > > > > > > IF rTable.Available THEN > > > rTable!name = txtName.Text > > > rTable.Update > > > TRY rTable.Update > > > IF ERROR THEN > > > PRINT "Update failed" > > > Message.Error(ERROR.Text) > > > > > > ENDIF > > > ENDIF > > > > > > $hConn.Commit > > > $hConn.Close > > > > > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > > > 2012/8/8 rocko > > > > > > > > > Is there anyway to translate that?? > > > > > > > > > google ? > > > > > > > > > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > > > it's in french but ... > > > > > > > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > 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 Aug 8 20:31:10 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 11:31:10 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> Message-ID: <1344450670.1869.22.camel@...2901...> If I do that I get an error:"$hConn already declared in FMain Class" I already have a "Private $hConn As Connection" in the class Form. If I put in the btnAdd sub I get:"Unexpected Private in Fmain Class" On Wed, 2012-08-08 at 20:18 +0200, Fabien Bodard wrote: > Do not do dim hconn... > > Just say > Private $hconn as new connection > Le 8 ao?t 2012 20:14, "rocko" a ?crit : > > > Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > > > > I'm getting 'Connection Not Opened" error when click the Add_new btn. > > > > > > btnConnect CODE: > > PRIVATE $hConn AS Connection > > PUBLIC SUB btnConnect_Click() > > > > DIM $hConn AS NEW Connection > > > > $hConn.Host = "/home/rocko/DataBases" > > $hConn.Name = "my_test.sqlite" > > $hConn.Type = "sqlite" > > $hConn.Open > > > > btnAdd CODE: > > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > rTable = DB.Create("inventory") > > > > IF rTable.Available THEN > > rTable!name = txtName.Text > > rTable.Update > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > > > ENDIF > > ENDIF > > > > DB.Commit > > > > btnClose CODE: > > PUBLIC SUB btnClose_Click() > > > > $hConn.Close > > FMain.Close > > > > On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > > > Private $hConn as New Connection > > > Public sub _New() > > > $hConn .Host = "dir of bdd" > > > $hConn.Name = "MyBdd" > > > $hConn.Type = "sqlite" > > > $hConn.Open > > > > > > End > > > > > > > > > PUBLIC SUB btnAdd_Click() > > > > > > DIM rTable AS Result > > > > > > rTable = DB.Create("inventory") > > > > > > rTable!name = txtName.Text > > > > > > TRY rTable.Update > > > IF ERROR THEN > > > PRINT "Update failed" > > > Message.Error(ERROR.Text) > > > return > > > ENDIF > > > > > > > > > DB.Commit > > > > > > end > > > > > > Public SUb Form_Close > > > $hConn.CLose > > > end > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2012/8/8 rocko > > > > > > > Im now getting error's. > > > > I was getting a "connection not opened" error message, so I add > > > > a $hConn.Open before the $hConn.Begin. > > > > I'm now getting a "Driver name missing" error. > > > > > > > > CODE: > > > > PUBLIC SUB btnAdd_Click() > > > > > > > > DIM $hConn AS NEW Connection > > > > DIM rTable AS Result > > > > $hConn.Open > > > > $hConn.Begin > > > > '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > > > > '$hConn.Commit > > > > rTable = $hConn.Create("inventory") > > > > > > > > IF rTable.Available THEN > > > > rTable!name = txtName.Text > > > > rTable.Update > > > > TRY rTable.Update > > > > IF ERROR THEN > > > > PRINT "Update failed" > > > > Message.Error(ERROR.Text) > > > > > > > > ENDIF > > > > ENDIF > > > > > > > > $hConn.Commit > > > > $hConn.Close > > > > > > > > On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > > > > > 2012/8/8 rocko > > > > > > > > > > > Is there anyway to translate that?? > > > > > > > > > > > google ? > > > > > > > > > > > > > > > > > > > > > > On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > > > > > > > it's in french but ... > > > > > > > > > > > > > > > > > > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > 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 > > > ------------------------------------------------------------------------------ > 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 linuxos at ...1896... Wed Aug 8 20:31:43 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 8 Aug 2012 20:31:43 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344449583.1869.18.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> Message-ID: <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> Hello, I think your problem is that you don't understand how to use sqlite database.. You don't renew a connection every time you want to use it. - You open the database at the beginning of your program - You work with it by updating it - Before you close you program, you close the database So to do that use it like that: -------------------------------------------- PUBLIC $hConn AS Connection <= Error corrected btnConnect CODE: PUBLIC SUB btnConnect_Click() $hConn = NEW Connection <= line added $hConn.Host = "/home/rocko/DataBases" $hConn.Name = "my_test.sqlite" $hConn.Type = "sqlite" $hConn.Open btnAdd CODE: PUBLIC SUB btnAdd_Click() DIM rTable AS Result rTable = $hConn.Create("inventory") <= Error corrected IF rTable.Available THEN rTable!name = txtName.Text rTable.Update TRY rTable.Update IF ERROR THEN PRINT "Update failed" Message.Error(ERROR.Text) ENDIF ENDIF DB.Commit btnClose CODE: PUBLIC SUB btnClose_Click() $hConn.Close FMain.Close Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 8 ao?t 2012 ? 20:13, rocko a ?crit : > Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > > I'm getting 'Connection Not Opened" error when click the Add_new btn. > > > btnConnect CODE: > PRIVATE $hConn AS Connection > PUBLIC SUB btnConnect_Click() > > DIM $hConn AS NEW Connection > > $hConn.Host = "/home/rocko/DataBases" > $hConn.Name = "my_test.sqlite" > $hConn.Type = "sqlite" > $hConn.Open > > btnAdd CODE: > > PUBLIC SUB btnAdd_Click() > > DIM $hConn AS NEW Connection > DIM rTable AS Result > > rTable = DB.Create("inventory") > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > > ENDIF > ENDIF > > DB.Commit > > btnClose CODE: > PUBLIC SUB btnClose_Click() > > $hConn.Close > FMain.Close > > On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: >> Private $hConn as New Connection >> Public sub _New() >> $hConn .Host = "dir of bdd" >> $hConn.Name = "MyBdd" >> $hConn.Type = "sqlite" >> $hConn.Open >> >> End >> >> >> PUBLIC SUB btnAdd_Click() >> >> DIM rTable AS Result >> >> rTable = DB.Create("inventory") >> >> rTable!name = txtName.Text >> >> TRY rTable.Update >> IF ERROR THEN >> PRINT "Update failed" >> Message.Error(ERROR.Text) >> return >> ENDIF >> >> >> DB.Commit >> >> end >> >> Public SUb Form_Close >> $hConn.CLose >> end >> >> >> >> >> >> >> >> >> >> >> 2012/8/8 rocko >> >>> Im now getting error's. >>> I was getting a "connection not opened" error message, so I add >>> a $hConn.Open before the $hConn.Begin. >>> I'm now getting a "Driver name missing" error. >>> >>> CODE: >>> PUBLIC SUB btnAdd_Click() >>> >>> DIM $hConn AS NEW Connection >>> DIM rTable AS Result >>> $hConn.Open >>> $hConn.Begin >>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") >>> '$hConn.Commit >>> rTable = $hConn.Create("inventory") >>> >>> IF rTable.Available THEN >>> rTable!name = txtName.Text >>> rTable.Update >>> TRY rTable.Update >>> IF ERROR THEN >>> PRINT "Update failed" >>> Message.Error(ERROR.Text) >>> >>> ENDIF >>> ENDIF >>> >>> $hConn.Commit >>> $hConn.Close >>> >>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: >>>> 2012/8/8 rocko >>>> >>>>> Is there anyway to translate that?? >>>>> >>>> google ? >>>> >>>> >>>>> >>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: >>>>>> it's in french but ... >>>>>> >>>>>> >>> http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html >>>>>> >>>>> >>> ------------------------------------------------------------------------------ >>>>>> 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 >>>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 gambas at ...2524... Wed Aug 8 20:40:59 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 18:40:59 +0000 Subject: [Gambas-user] Issue 296 in gambas: cant select item in combobox In-Reply-To: <4-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> <0-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-14756640358431103552-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 296 by benoit.m... at ...626...: cant select item in combobox http://code.google.com/p/gambas/issues/detail?id=296 Fixed in revision #5018. From sunblaster5 at ...626... Wed Aug 8 20:51:26 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 11:51:26 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> Message-ID: <1344451886.1869.32.camel@...2901...> Thank you sir; You get a cookie :) Your example works fine. 'Public' instead of 'Private' for the $hConn as Connection was the key I believe, as was a few other small syntax related items. The E-Book I was following(Much older version of gambas) I don't think even mentions declaring it as either. I'm new to sqlite and gambas, I mostly deal with perl and mysql. Thanks to all who replied to my questions and gave examples. The community here has always been very helpful. On Wed, 2012-08-08 at 20:31 +0200, Olivier Cruilles wrote: > Hello, > > I think your problem is that you don't understand how to use sqlite database.. > > You don't renew a connection every time you want to use it. > > - You open the database at the beginning of your program > - You work with it by updating it > - Before you close you program, you close the database > > So to do that use it like that: > > -------------------------------------------- > > PUBLIC $hConn AS Connection <= Error corrected > > btnConnect CODE: > > PUBLIC SUB btnConnect_Click() > > $hConn = NEW Connection <= line added > > $hConn.Host = "/home/rocko/DataBases" > $hConn.Name = "my_test.sqlite" > $hConn.Type = "sqlite" > $hConn.Open > > btnAdd CODE: > > PUBLIC SUB btnAdd_Click() > > DIM rTable AS Result > > rTable = $hConn.Create("inventory") <= Error corrected > > IF rTable.Available THEN > rTable!name = txtName.Text > rTable.Update > TRY rTable.Update > IF ERROR THEN > PRINT "Update failed" > Message.Error(ERROR.Text) > > ENDIF > ENDIF > > DB.Commit > > btnClose CODE: > PUBLIC SUB btnClose_Click() > > $hConn.Close > FMain.Close > > > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 8 ao?t 2012 ? 20:13, rocko a ?crit : > > > Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > > > > I'm getting 'Connection Not Opened" error when click the Add_new btn. > > > > > > btnConnect CODE: > > PRIVATE $hConn AS Connection > > PUBLIC SUB btnConnect_Click() > > > > DIM $hConn AS NEW Connection > > > > $hConn.Host = "/home/rocko/DataBases" > > $hConn.Name = "my_test.sqlite" > > $hConn.Type = "sqlite" > > $hConn.Open > > > > btnAdd CODE: > > > > PUBLIC SUB btnAdd_Click() > > > > DIM $hConn AS NEW Connection > > DIM rTable AS Result > > > > rTable = DB.Create("inventory") > > > > IF rTable.Available THEN > > rTable!name = txtName.Text > > rTable.Update > > TRY rTable.Update > > IF ERROR THEN > > PRINT "Update failed" > > Message.Error(ERROR.Text) > > > > ENDIF > > ENDIF > > > > DB.Commit > > > > btnClose CODE: > > PUBLIC SUB btnClose_Click() > > > > $hConn.Close > > FMain.Close > > > > On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > >> Private $hConn as New Connection > >> Public sub _New() > >> $hConn .Host = "dir of bdd" > >> $hConn.Name = "MyBdd" > >> $hConn.Type = "sqlite" > >> $hConn.Open > >> > >> End > >> > >> > >> PUBLIC SUB btnAdd_Click() > >> > >> DIM rTable AS Result > >> > >> rTable = DB.Create("inventory") > >> > >> rTable!name = txtName.Text > >> > >> TRY rTable.Update > >> IF ERROR THEN > >> PRINT "Update failed" > >> Message.Error(ERROR.Text) > >> return > >> ENDIF > >> > >> > >> DB.Commit > >> > >> end > >> > >> Public SUb Form_Close > >> $hConn.CLose > >> end > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> 2012/8/8 rocko > >> > >>> Im now getting error's. > >>> I was getting a "connection not opened" error message, so I add > >>> a $hConn.Open before the $hConn.Begin. > >>> I'm now getting a "Driver name missing" error. > >>> > >>> CODE: > >>> PUBLIC SUB btnAdd_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> DIM rTable AS Result > >>> $hConn.Open > >>> $hConn.Begin > >>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > >>> '$hConn.Commit > >>> rTable = $hConn.Create("inventory") > >>> > >>> IF rTable.Available THEN > >>> rTable!name = txtName.Text > >>> rTable.Update > >>> TRY rTable.Update > >>> IF ERROR THEN > >>> PRINT "Update failed" > >>> Message.Error(ERROR.Text) > >>> > >>> ENDIF > >>> ENDIF > >>> > >>> $hConn.Commit > >>> $hConn.Close > >>> > >>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > >>>> 2012/8/8 rocko > >>>> > >>>>> Is there anyway to translate that?? > >>>>> > >>>> google ? > >>>> > >>>> > >>>>> > >>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > >>>>>> it's in french but ... > >>>>>> > >>>>>> > >>> http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > >>>>>> > >>>>> > >>> ------------------------------------------------------------------------------ > >>>>>> 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 > >>>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> 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 > > ------------------------------------------------------------------------------ > 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 linuxos at ...1896... Wed Aug 8 20:59:19 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Wed, 8 Aug 2012 20:59:19 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <1344451886.1869.32.camel@...2901...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> <1344451886.1869.32.camel@...2901...> Message-ID: <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> So to be exact, it's the same mecanism for all other database. If you declare a variable (as $hConn) in a PUBLIC SUB, the variable is local of this PUBLIC SUB so if you want to use a variable in all a Form or Module or Class, you need to declare your variable at the beginning of this Form and not in a PUBLIC SUB When you use a Connection object to open a database, after initialized it and opened it, the object Connection keep connected to the database, so you just need to use it. Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 8 ao?t 2012 ? 20:51, rocko a ?crit : > Thank you sir; > You get a cookie :) > Your example works fine. > > 'Public' instead of 'Private' for the $hConn as Connection was the key I > believe, as was a few other small syntax related items. > The E-Book I was following(Much older version of gambas) I don't think > even mentions declaring it as either. > > I'm new to sqlite and gambas, I mostly deal with perl and mysql. > > Thanks to all who replied to my questions and gave examples. > The community here has always been very helpful. > > > > > On Wed, 2012-08-08 at 20:31 +0200, Olivier Cruilles wrote: >> Hello, >> >> I think your problem is that you don't understand how to use sqlite database.. >> >> You don't renew a connection every time you want to use it. >> >> - You open the database at the beginning of your program >> - You work with it by updating it >> - Before you close you program, you close the database >> >> So to do that use it like that: >> >> -------------------------------------------- >> >> PUBLIC $hConn AS Connection <= Error corrected >> >> btnConnect CODE: >> >> PUBLIC SUB btnConnect_Click() >> >> $hConn = NEW Connection <= line added >> >> $hConn.Host = "/home/rocko/DataBases" >> $hConn.Name = "my_test.sqlite" >> $hConn.Type = "sqlite" >> $hConn.Open >> >> btnAdd CODE: >> >> PUBLIC SUB btnAdd_Click() >> >> DIM rTable AS Result >> >> rTable = $hConn.Create("inventory") <= Error corrected >> >> IF rTable.Available THEN >> rTable!name = txtName.Text >> rTable.Update >> TRY rTable.Update >> IF ERROR THEN >> PRINT "Update failed" >> Message.Error(ERROR.Text) >> >> ENDIF >> ENDIF >> >> DB.Commit >> >> btnClose CODE: >> PUBLIC SUB btnClose_Click() >> >> $hConn.Close >> FMain.Close >> >> >> >> >> Cordialement, >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> >> Le 8 ao?t 2012 ? 20:13, rocko a ?crit : >> >>> Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. >>> >>> I'm getting 'Connection Not Opened" error when click the Add_new btn. >>> >>> >>> btnConnect CODE: >>> PRIVATE $hConn AS Connection >>> PUBLIC SUB btnConnect_Click() >>> >>> DIM $hConn AS NEW Connection >>> >>> $hConn.Host = "/home/rocko/DataBases" >>> $hConn.Name = "my_test.sqlite" >>> $hConn.Type = "sqlite" >>> $hConn.Open >>> >>> btnAdd CODE: >>> >>> PUBLIC SUB btnAdd_Click() >>> >>> DIM $hConn AS NEW Connection >>> DIM rTable AS Result >>> >>> rTable = DB.Create("inventory") >>> >>> IF rTable.Available THEN >>> rTable!name = txtName.Text >>> rTable.Update >>> TRY rTable.Update >>> IF ERROR THEN >>> PRINT "Update failed" >>> Message.Error(ERROR.Text) >>> >>> ENDIF >>> ENDIF >>> >>> DB.Commit >>> >>> btnClose CODE: >>> PUBLIC SUB btnClose_Click() >>> >>> $hConn.Close >>> FMain.Close >>> >>> On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: >>>> Private $hConn as New Connection >>>> Public sub _New() >>>> $hConn .Host = "dir of bdd" >>>> $hConn.Name = "MyBdd" >>>> $hConn.Type = "sqlite" >>>> $hConn.Open >>>> >>>> End >>>> >>>> >>>> PUBLIC SUB btnAdd_Click() >>>> >>>> DIM rTable AS Result >>>> >>>> rTable = DB.Create("inventory") >>>> >>>> rTable!name = txtName.Text >>>> >>>> TRY rTable.Update >>>> IF ERROR THEN >>>> PRINT "Update failed" >>>> Message.Error(ERROR.Text) >>>> return >>>> ENDIF >>>> >>>> >>>> DB.Commit >>>> >>>> end >>>> >>>> Public SUb Form_Close >>>> $hConn.CLose >>>> end >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> 2012/8/8 rocko >>>> >>>>> Im now getting error's. >>>>> I was getting a "connection not opened" error message, so I add >>>>> a $hConn.Open before the $hConn.Begin. >>>>> I'm now getting a "Driver name missing" error. >>>>> >>>>> CODE: >>>>> PUBLIC SUB btnAdd_Click() >>>>> >>>>> DIM $hConn AS NEW Connection >>>>> DIM rTable AS Result >>>>> $hConn.Open >>>>> $hConn.Begin >>>>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") >>>>> '$hConn.Commit >>>>> rTable = $hConn.Create("inventory") >>>>> >>>>> IF rTable.Available THEN >>>>> rTable!name = txtName.Text >>>>> rTable.Update >>>>> TRY rTable.Update >>>>> IF ERROR THEN >>>>> PRINT "Update failed" >>>>> Message.Error(ERROR.Text) >>>>> >>>>> ENDIF >>>>> ENDIF >>>>> >>>>> $hConn.Commit >>>>> $hConn.Close >>>>> >>>>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: >>>>>> 2012/8/8 rocko >>>>>> >>>>>>> Is there anyway to translate that?? >>>>>>> >>>>>> google ? >>>>>> >>>>>> >>>>>>> >>>>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: >>>>>>>> it's in french but ... >>>>>>>> >>>>>>>> >>>>> http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html >>>>>>>> >>>>>>> >>>>> ------------------------------------------------------------------------------ >>>>>>>> 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 >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> 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 >> >> ------------------------------------------------------------------------------ >> 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 emil.lenngren at ...626... Wed Aug 8 21:13:49 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 21:13:49 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <4FC78084.6000001@...1950...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> Message-ID: I finally managed to compile the main components (compiler/interpreter) and run the benchmark "primes" (takes 430 seconds, compared to 20 seconds for standard x86). What I don't like is the reconf-scripts. Even for components that take ~10 seconds to compile, I first have to run the ./reconf script (3 and a half minute) and then the ./configure script (takes about 1 and a half minute), for each component. So for most components (most components are small), more than 95% of the time is configuration... Question: Is it possible to throw out the autoconf scripts and use something faster instead? /Emil 2012/5/31 Caveat > ssh -X to the pi is working fine. I just installed openssh-server on > the pi (I'm currently playing with the Debian Squeeze image) and have > successfully run Empathy on the pi but with its window here on my main > machine... > > Regards, > Caveat > > On 30/05/12 10:48, Caveat wrote: > > Anyone need specific tests carried out, just let me know! > > > > OK, OK, I really just wanted to let everyone know it's here! > > > > Kind regards, > > Caveat > > > > > ------------------------------------------------------------------------------ > > 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 gambas at ...2524... Wed Aug 8 21:36:37 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 19:36:37 +0000 Subject: [Gambas-user] Issue 299 in gambas: IDE: CComponent logic and libraries that export forms In-Reply-To: <0-6813199134517018827-3161134323180680530-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3161134323180680530-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3161134323180680530-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 299 by benoit.m... at ...626...: IDE: CComponent logic and libraries that export forms http://code.google.com/p/gambas/issues/detail?id=299 It should be fixed in revision #5019. From emil.lenngren at ...626... Wed Aug 8 21:39:30 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 21:39:30 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> Message-ID: Yay, the IDE works too, and it is actually faster than I expected. I think it is not "sluggish" at all! It is just that most of the IDE windows are a bit too large for my 720x576 tv... 2012/8/8 Emil Lenngren > I finally managed to compile the main components (compiler/interpreter) > and run the benchmark "primes" (takes 430 seconds, compared to 20 seconds > for standard x86). > > What I don't like is the reconf-scripts. Even for components that take ~10 > seconds to compile, I first have to run the ./reconf script (3 and a half > minute) and then the ./configure script (takes about 1 and a half minute), > for each component. So for most components (most components are small), > more than 95% of the time is configuration... > > Question: Is it possible to throw out the autoconf scripts and use > something faster instead? > > /Emil > > > 2012/5/31 Caveat > >> ssh -X to the pi is working fine. I just installed openssh-server on >> the pi (I'm currently playing with the Debian Squeeze image) and have >> successfully run Empathy on the pi but with its window here on my main >> machine... >> >> Regards, >> Caveat >> >> On 30/05/12 10:48, Caveat wrote: >> > Anyone need specific tests carried out, just let me know! >> > >> > OK, OK, I really just wanted to let everyone know it's here! >> > >> > Kind regards, >> > Caveat >> > >> > >> ------------------------------------------------------------------------------ >> > 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 gambas at ...1... Wed Aug 8 21:40:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 08 Aug 2012 21:40:35 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> Message-ID: <5022C0B3.7040702@...1...> Le 08/08/2012 21:39, Emil Lenngren a ?crit : > Yay, the IDE works too, and it is actually faster than I expected. I think > it is not "sluggish" at all! > It is just that most of the IDE windows are a bit too large for my 720x576 > tv... > Screenshot! Screenshot! -- Beno?t Minisini From gambas at ...1... Wed Aug 8 21:43:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 08 Aug 2012 21:43:42 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> Message-ID: <5022C16E.1080503@...1...> Le 08/08/2012 21:13, Emil Lenngren a ?crit : > I finally managed to compile the main components (compiler/interpreter) and > run the benchmark "primes" (takes 430 seconds, compared to 20 seconds for > standard x86). > > What I don't like is the reconf-scripts. Even for components that take ~10 > seconds to compile, I first have to run the ./reconf script (3 and a half > minute) and then the ./configure script (takes about 1 and a half minute), > for each component. So for most components (most components are small), > more than 95% of the time is configuration... > > Question: Is it possible to throw out the autoconf scripts and use > something faster instead? > > /Emil > For information, the multiple configuration scripts (one by component directory) was a request from Jose R. Rodriguez that made Gambas Debian binary packages. I don't know if he still make them, because I had no answer from my mail to the mailing-list of Debian packagers of Gambas claiming that their packages are incorrect and do not work. But this is another story. As for the build system: what could I use that can make Gambas compile on Linux, FreeBSD, MacOSX, x86, x86_64, armel and armhf? -- Beno?t Minisini From gambas at ...1... Wed Aug 8 21:44:17 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 08 Aug 2012 21:44:17 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <5022C0B3.7040702@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C0B3.7040702@...1...> Message-ID: <5022C191.8010409@...1...> Le 08/08/2012 21:40, Beno?t Minisini a ?crit : > Le 08/08/2012 21:39, Emil Lenngren a ?crit : >> Yay, the IDE works too, and it is actually faster than I expected. I >> think >> it is not "sluggish" at all! >> It is just that most of the IDE windows are a bit too large for my >> 720x576 >> tv... >> > > Screenshot! Screenshot! > Or better a picture of the entire thing. :-) -- Beno?t Minisini From gambas at ...2524... Wed Aug 8 21:45:36 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 08 Aug 2012 19:45:36 +0000 Subject: [Gambas-user] Issue 295 in gambas: Problem on inheritance In-Reply-To: <1-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> <0-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8411340512999643033-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 295 by benoit.m... at ...626...: Problem on inheritance http://code.google.com/p/gambas/issues/detail?id=295 Error message added in revision #5017. From emil.lenngren at ...626... Wed Aug 8 22:03:46 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 22:03:46 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <5022C191.8010409@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C0B3.7040702@...1...> <5022C191.8010409@...1...> Message-ID: Screenshot attached! /Emil 2012/8/8 Beno?t Minisini > Le 08/08/2012 21:40, Beno?t Minisini a ?crit : > > Le 08/08/2012 21:39, Emil Lenngren a ?crit : > >> Yay, the IDE works too, and it is actually faster than I expected. I > >> think > >> it is not "sluggish" at all! > >> It is just that most of the IDE windows are a bit too large for my > >> 720x576 > >> tv... > >> > > > > Screenshot! Screenshot! > > > > Or better a picture of the entire thing. :-) > > -- > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: 2012-08-08-215909_638x520_scrot.png Type: image/png Size: 62160 bytes Desc: not available URL: From support at ...2529... Wed Aug 8 23:13:54 2012 From: support at ...2529... (John Spikowski) Date: Wed, 08 Aug 2012 14:13:54 -0700 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <5022C0B3.7040702@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C0B3.7040702@...1...> Message-ID: <1344460434.2390.2.camel@...1833...> On Wed, 2012-08-08 at 21:40 +0200, Beno?t Minisini wrote: > Le 08/08/2012 21:39, Emil Lenngren a ?crit : > > Yay, the IDE works too, and it is actually faster than I expected. I think > > it is not "sluggish" at all! > > It is just that most of the IDE windows are a bit too large for my 720x576 > > tv... > > > > Screenshot! Screenshot! > Here is a screen shot of running Ubuntu 10.04 LTS as a chroot image on my Samsung Galaxy Tab 2 10.1 tablet. I'm going to try Gambas on it as well. http://files.allbasic.info/ScriptBasic/jumpvnc.png From emil.lenngren at ...626... Wed Aug 8 23:44:48 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 8 Aug 2012 23:44:48 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <1344460434.2390.2.camel@...1833...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C0B3.7040702@...1...> <1344460434.2390.2.camel@...1833...> Message-ID: The jit compiler kind of works.. sometimes, and sometimes not, after I changed the target triple and data layout to arm. Creation of llvm code and optimization always seem to work, but the native code emitter does not seem to be that stable... /Emil 2012/8/8 John Spikowski > On Wed, 2012-08-08 at 21:40 +0200, Beno?t Minisini wrote: > > Le 08/08/2012 21:39, Emil Lenngren a ?crit : > > > Yay, the IDE works too, and it is actually faster than I expected. I > think > > > it is not "sluggish" at all! > > > It is just that most of the IDE windows are a bit too large for my > 720x576 > > > tv... > > > > > > > Screenshot! Screenshot! > > > > Here is a screen shot of running Ubuntu 10.04 LTS as a chroot image on > my Samsung Galaxy Tab 2 10.1 tablet. I'm going to try Gambas on it as > well. > > http://files.allbasic.info/ScriptBasic/jumpvnc.png > > > > > > ------------------------------------------------------------------------------ > 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... Thu Aug 9 00:12:43 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 15:12:43 -0700 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> <1344451886.1869.32.camel@...2901...> <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> Message-ID: <1344463964.2461.12.camel@...2901...> I have another problem. I have since updated to gambas3 btw, 3.11. I have made another form,(FNew), basically moved the addNew procedure to the new form. The addNew btn on the FMain form just opens the new form(FNew.Show). I have a "Commit" button that use the same code the addNew one did form the FMain form. All the code is the same. But I'm getting an error: "Null Object in FNew" Should I have made the new from a child of the FMain?? If so How? BTW I wasn't sure of starting a new thread or just continue with the old one, if I should start a new one just let me know. The offending CODE: rTable = $hConn.Create("inventory") Entire CODE from FNew: ' Gambas class file Public $hConn As Connection Public Sub btnCommit_Click() Dim rTable As Result rTable = $hConn.Create("inventory") If rTable.Available Then rTable!name = txtName.Text rTable!type = txtType.Text Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Endif Endif DB.Commit End Public Sub btnCancel_Click() FNew.Close On Wed, 2012-08-08 at 20:59 +0200, Olivier Cruilles wrote: > So to be exact, it's the same mecanism for all other database. > > If you declare a variable (as $hConn) in a PUBLIC SUB, the variable is local of this PUBLIC SUB > so if you want to use a variable in all a Form or Module or Class, you need to declare your variable at the beginning of this Form and not in a PUBLIC SUB > > When you use a Connection object to open a database, after initialized it and opened it, the object Connection keep connected to the database, so you just need to use it. > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 8 ao?t 2012 ? 20:51, rocko a ?crit : > > > Thank you sir; > > You get a cookie :) > > Your example works fine. > > > > 'Public' instead of 'Private' for the $hConn as Connection was the key I > > believe, as was a few other small syntax related items. > > The E-Book I was following(Much older version of gambas) I don't think > > even mentions declaring it as either. > > > > I'm new to sqlite and gambas, I mostly deal with perl and mysql. > > > > Thanks to all who replied to my questions and gave examples. > > The community here has always been very helpful. > > > > > > > > > > On Wed, 2012-08-08 at 20:31 +0200, Olivier Cruilles wrote: > >> Hello, > >> > >> I think your problem is that you don't understand how to use sqlite database.. > >> > >> You don't renew a connection every time you want to use it. > >> > >> - You open the database at the beginning of your program > >> - You work with it by updating it > >> - Before you close you program, you close the database > >> > >> So to do that use it like that: > >> > >> -------------------------------------------- > >> > >> PUBLIC $hConn AS Connection <= Error corrected > >> > >> btnConnect CODE: > >> > >> PUBLIC SUB btnConnect_Click() > >> > >> $hConn = NEW Connection <= line added > >> > >> $hConn.Host = "/home/rocko/DataBases" > >> $hConn.Name = "my_test.sqlite" > >> $hConn.Type = "sqlite" > >> $hConn.Open > >> > >> btnAdd CODE: > >> > >> PUBLIC SUB btnAdd_Click() > >> > >> DIM rTable AS Result > >> > >> rTable = $hConn.Create("inventory") <= Error corrected > >> > >> IF rTable.Available THEN > >> rTable!name = txtName.Text > >> rTable.Update > >> TRY rTable.Update > >> IF ERROR THEN > >> PRINT "Update failed" > >> Message.Error(ERROR.Text) > >> > >> ENDIF > >> ENDIF > >> > >> DB.Commit > >> > >> btnClose CODE: > >> PUBLIC SUB btnClose_Click() > >> > >> $hConn.Close > >> FMain.Close > >> > >> > >> > >> > >> Cordialement, > >> > >> Olivier Cruilles > >> Mail: linuxos at ...1896... > >> > >> Le 8 ao?t 2012 ? 20:13, rocko a ?crit : > >> > >>> Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > >>> > >>> I'm getting 'Connection Not Opened" error when click the Add_new btn. > >>> > >>> > >>> btnConnect CODE: > >>> PRIVATE $hConn AS Connection > >>> PUBLIC SUB btnConnect_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> > >>> $hConn.Host = "/home/rocko/DataBases" > >>> $hConn.Name = "my_test.sqlite" > >>> $hConn.Type = "sqlite" > >>> $hConn.Open > >>> > >>> btnAdd CODE: > >>> > >>> PUBLIC SUB btnAdd_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> DIM rTable AS Result > >>> > >>> rTable = DB.Create("inventory") > >>> > >>> IF rTable.Available THEN > >>> rTable!name = txtName.Text > >>> rTable.Update > >>> TRY rTable.Update > >>> IF ERROR THEN > >>> PRINT "Update failed" > >>> Message.Error(ERROR.Text) > >>> > >>> ENDIF > >>> ENDIF > >>> > >>> DB.Commit > >>> > >>> btnClose CODE: > >>> PUBLIC SUB btnClose_Click() > >>> > >>> $hConn.Close > >>> FMain.Close > >>> > >>> On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > >>>> Private $hConn as New Connection > >>>> Public sub _New() > >>>> $hConn .Host = "dir of bdd" > >>>> $hConn.Name = "MyBdd" > >>>> $hConn.Type = "sqlite" > >>>> $hConn.Open > >>>> > >>>> End > >>>> > >>>> > >>>> PUBLIC SUB btnAdd_Click() > >>>> > >>>> DIM rTable AS Result > >>>> > >>>> rTable = DB.Create("inventory") > >>>> > >>>> rTable!name = txtName.Text > >>>> > >>>> TRY rTable.Update > >>>> IF ERROR THEN > >>>> PRINT "Update failed" > >>>> Message.Error(ERROR.Text) > >>>> return > >>>> ENDIF > >>>> > >>>> > >>>> DB.Commit > >>>> > >>>> end > >>>> > >>>> Public SUb Form_Close > >>>> $hConn.CLose > >>>> end > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> 2012/8/8 rocko > >>>> > >>>>> Im now getting error's. > >>>>> I was getting a "connection not opened" error message, so I add > >>>>> a $hConn.Open before the $hConn.Begin. > >>>>> I'm now getting a "Driver name missing" error. > >>>>> > >>>>> CODE: > >>>>> PUBLIC SUB btnAdd_Click() > >>>>> > >>>>> DIM $hConn AS NEW Connection > >>>>> DIM rTable AS Result > >>>>> $hConn.Open > >>>>> $hConn.Begin > >>>>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > >>>>> '$hConn.Commit > >>>>> rTable = $hConn.Create("inventory") > >>>>> > >>>>> IF rTable.Available THEN > >>>>> rTable!name = txtName.Text > >>>>> rTable.Update > >>>>> TRY rTable.Update > >>>>> IF ERROR THEN > >>>>> PRINT "Update failed" > >>>>> Message.Error(ERROR.Text) > >>>>> > >>>>> ENDIF > >>>>> ENDIF > >>>>> > >>>>> $hConn.Commit > >>>>> $hConn.Close > >>>>> > >>>>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > >>>>>> 2012/8/8 rocko > >>>>>> > >>>>>>> Is there anyway to translate that?? > >>>>>>> > >>>>>> google ? > >>>>>> > >>>>>> > >>>>>>> > >>>>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > >>>>>>>> it's in french but ... > >>>>>>>> > >>>>>>>> > >>>>> http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > >>>>>>>> > >>>>>>> > >>>>> ------------------------------------------------------------------------------ > >>>>>>>> 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 > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> ------------------------------------------------------------------------------ > >>>>> 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 > >> > >> ------------------------------------------------------------------------------ > >> 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 > > ------------------------------------------------------------------------------ > 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 adamnt42 at ...626... Thu Aug 9 01:27:53 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 08:57:53 +0930 Subject: [Gambas-user] Server pages: untagged text at top of page Message-ID: Morning all, I'm having a go at learning how to use this web scripting facility. Attached is a little project that uses it to load a file into a webkit WebView control (IOW no server needed). It seems to work fine except there are two lines at the top of the returned page (before ) that look like they belong inside a tag? Here's the (snipped) console output I get from the Print pageout: Content-type: text/html Content-Length: 7128

CGI script environmental variables

As at 09-Aug-12 08:46AM

....... Any ideas? regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: webscript1-0.0.1.tar.gz Type: application/x-gzip Size: 5176 bytes Desc: not available URL: From gambas at ...1... Thu Aug 9 03:33:17 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Aug 2012 03:33:17 +0200 Subject: [Gambas-user] Gambas has Gosub now! In-Reply-To: References: <4F52B1E0.4070204@...1...> <4F52C42D.5000106@...1...> <4F533304.1060905@...1...> <4F53FEE3.5010802@...1...> <4F5561AB.8040400@...1...> <4F556FC2.8090201@...1...> <4F56C78B.8040509@...1887...> <4FFA0CF3.60500@...1...> <500B43B2.3030306@...1...> <500C8487.3050800@...1...> <500CB01E.7060707@...1...> Message-ID: <5023135D.4030300@...1...> Le 05/08/2012 18:33, Emil Lenngren a ?crit : > If there is a pending gosub + a catch, the gosub things on the stack are > erased, so when returning back, invalid values are copied from the stack. > > So at stack unwinding, the gosub slots must be kept. > > This crashes the interpreter now (or puts it in an infinite loop): > > Public Sub Main() > > Dim i As Integer > With [1] > For i = 1 To 2 > GoSub lbl > Next > End With > > Return > > lbl: > Error.Raise("Hello") > > Catch > Print "catching";; Error.Text > Return > > End > It should be fixed in revision #5020. Regards, -- Beno?t Minisini From gambas at ...1... Thu Aug 9 03:35:27 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 09 Aug 2012 03:35:27 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <50114ED3.7060507@...1...> References: <50104345.6070603@...1...> <50114ED3.7060507@...1...> Message-ID: <502313DF.9050001@...1...> Le 26/07/2012 16:06, Beno?t Minisini a ?crit : > Le 26/07/2012 16:01, Ricardo D?az Mart?n a ?crit : >> For me it's enough in qt4. >> >> Thanks in advance for your time! >> >> Regards, >> Ricardo D?az >> > > For you. But for me, I won't add a feature to gb.qt4 if I can't add it > to gb.gtk! > > OK, now I know how to read the tablet events both in Qt and GTK+. Now it "just" has to be done! -- Beno?t Minisini From sebikul at ...626... Thu Aug 9 03:41:35 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 8 Aug 2012 22:41:35 -0300 Subject: [Gambas-user] Updated Spanish translation In-Reply-To: References: <5010FAD4.4010808@...1...> Message-ID: On Thu, Jul 26, 2012 at 1:08 PM, Sebastian Kulesz wrote: > On Thu, Jul 26, 2012 at 5:07 AM, Beno?t Minisini > wrote: >> Le 26/07/2012 06:53, Sebastian Kulesz a ?crit : >>> Hi! I'm sending an updated Spanish translation for the IDE and the >>> documentation website. >>> >>> For the first one, only 7 strings are left! non of them could be >>> easily translated. I also updated A LOT of strings that where >>> "google-translated", where too informal, or ambiguous. I may have >>> missed some strings tough. I based the work on the Ubuntu Spanish >>> Translators guidelines to be as precise as possible. >>> >>> As to the documentation I only translated the missing strings. Only ONE left! >>> >>> Regards >>> >> >> Thanks! >> >> If you have questions about the meaning of some words, just ask. >> >> 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 > > It's not about meaning, but about interpretation. The only 3 missing > translations are in the FProfile.class file: calls, callers, callees. > I think that Callers and Callees should be modified to "Methods > called" and "Called by" respectively. The most important is the first > one, which has no direct translation, the later can be left as is. IMO > they are easier to understand. > > The other 4 strings that where left on the previous translation seem > to have been removed. I left them untouched in case they where needed > to provide a feature or something. > > I updated the translation again. I changed some strings to be > consistent across the whole application. The only strings left are the > ones mentioned above. Updated translation, 100% complete!!! I think the translation form should display spaces at the end of a line with a middle-dot and newlines with the intro symbol (if possible), so that formatting is kept untouched. Would this be possible to implement? -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3-es-3.2.90.po Type: application/octet-stream Size: 136844 bytes Desc: not available URL: From sunblaster5 at ...626... Thu Aug 9 03:53:10 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 18:53:10 -0700 Subject: [Gambas-user] Syntax help for IF after a Try statement Message-ID: <1344477190.2194.7.camel@...2901...> Trying to get a message.info to display when a successful connection to a database is made. Tried using an 'Else If' after a 'Try $hConn.Open' statement but that gives an error. So tried a simple 'If' but I'm not sure how the syntax should be. CODE: Try $hConn.Open If Error Then Print "Database cannot be opened. Error = ", Error.Text If $hConn.Open Then Message.Info("You are now connected to the database.") Endif From adamnt42 at ...626... Thu Aug 9 04:55:04 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 12:25:04 +0930 Subject: [Gambas-user] Syntax help for IF after a Try statement In-Reply-To: <1344477190.2194.7.camel@...2901...> References: <1344477190.2194.7.camel@...2901...> Message-ID: On Thu, Aug 9, 2012 at 11:23 AM, rocko wrote: > Trying to get a message.info to display when a successful connection > to a database is made. > Tried using an 'Else If' after a 'Try $hConn.Open' statement > but that gives an error. > So tried a simple 'If' but I'm not sure how the syntax should be. > > CODE: > Try $hConn.Open > If Error Then Print "Database cannot be opened. Error = ", Error.Text > > If $hConn.Open Then > Message.Info("You are now connected to the database.") > Endif > OK Rokko, >From the IF help page... If Then ... else ... End If must be some "construct" that RETURNS a value that can be interpreted as being True or False. Where "construct" is a boolean value(1) or a function that returns a boolean(2) or a statement that evaluates as a boolean(3) and some others. 1) Dim myValue as Boolean=True 2) Function MyValue() as Boolean 3) ThisString=ThatString Connection.Open from the help page at http://gambasdoc.org/help/comp/gb.db/connection/open?v3 is a SUB. It doesn't return anything. Do you now see what's wrong with your code? See also http://gambasdoc.org/help/cat/methoddecl?v3 The gambas help pages explain everything, but they are very very succinct. Above my desk is a large sign that says "READ EVERY WORD OF THE GAMBAS HELP PAGE!", to which I have to constantly refer. hth Bruce From sunblaster5 at ...626... Thu Aug 9 05:05:30 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 20:05:30 -0700 Subject: [Gambas-user] Syntax help for IF after a Try statement In-Reply-To: References: <1344477190.2194.7.camel@...2901...> Message-ID: <1344481530.2194.11.camel@...2901...> Ok if I replace the 'Else If' with an 'Else' I get an error: Else without If. But there is an 'If' after the 'Try'. unless you can't put an 'Else' after an 'Try...If' On Thu, 2012-08-09 at 12:25 +0930, Adam Ant wrote: > On Thu, Aug 9, 2012 at 11:23 AM, rocko wrote: > > Trying to get a message.info to display when a successful connection > > to a database is made. > > Tried using an 'Else If' after a 'Try $hConn.Open' statement > > but that gives an error. > > So tried a simple 'If' but I'm not sure how the syntax should be. > > > > CODE: > > Try $hConn.Open > > If Error Then Print "Database cannot be opened. Error = ", Error.Text > > > > If $hConn.Open Then > > Message.Info("You are now connected to the database.") > > Endif > > > > OK Rokko, > > >From the IF help page... > > If Then > ... > else > ... > End If > > must be some "construct" that RETURNS a value that can be > interpreted as being True or False. Where "construct" is a boolean > value(1) or a function that returns a boolean(2) or a statement that > evaluates as a boolean(3) and some others. > 1) Dim myValue as Boolean=True > 2) Function MyValue() as Boolean > 3) ThisString=ThatString > > > Connection.Open from the help page at > http://gambasdoc.org/help/comp/gb.db/connection/open?v3 is a SUB. It > doesn't return anything. Do you now see what's wrong with your code? > > See also http://gambasdoc.org/help/cat/methoddecl?v3 > > The gambas help pages explain everything, but they are very very > succinct. Above my desk is a large sign that says "READ EVERY WORD OF > THE GAMBAS HELP PAGE!", to which I have to constantly refer. > > > hth > 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 From adamnt42 at ...626... Thu Aug 9 05:08:39 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 12:38:39 +0930 Subject: [Gambas-user] serverpages: problem with quoting Message-ID: Oh Noes! I have just hit my first problem with the serverpages scripting. ">
I can't figure out how to escape the quotes around the string parameter for the GetResourceLocn(sName As String) function call. That function, btw, just returns a path to a cache directory in /tmp and it works fine. tia Bruce From adamnt42 at ...626... Thu Aug 9 05:21:40 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 12:51:40 +0930 Subject: [Gambas-user] Syntax help for IF after a Try statement In-Reply-To: <1344481530.2194.11.camel@...2901...> References: <1344477190.2194.7.camel@...2901...> <1344481530.2194.11.camel@...2901...> Message-ID: On Thu, Aug 9, 2012 at 12:35 PM, rocko wrote: > Ok if I replace the 'Else If' with an 'Else' > I get an error: > Else without If. > But there is an 'If' after the 'Try'. > unless you can't put an 'Else' after an 'Try...If' Ah! No you can't use Try If blahblahblah (and there are some other things you can't "TRY", I can't think of them at the moment) Be very aware of what "TRY" actually does! Oh and by the way, to test if a connection is already open, the function you need is .Opened() So, Try $conn.Open() If Error then Print "Not Open" Else Print "Opened it!" End If or $conn.Open If $conn.Opened() then Print "Not Open" Else Print "Opened it!" End If should both work. hth Bruce From adamnt42 at ...626... Thu Aug 9 05:25:17 2012 From: adamnt42 at ...626... (Adam Ant) Date: Thu, 9 Aug 2012 12:55:17 +0930 Subject: [Gambas-user] serverpages: problem with quoting In-Reply-To: References: Message-ID: On Thu, Aug 9, 2012 at 12:38 PM, Adam Ant wrote: > Oh Noes! > I have just hit my first problem with the serverpages scripting. > > ">
> > I can't figure out how to escape the quotes around the string > parameter for the GetResourceLocn(sName As String) function call. > That function, btw, just returns a path to a cache directory in /tmp > and it works fine. > > tia > Bruce Forget it!
I guess I'm just not bi-lingual :-( B From sunblaster5 at ...626... Thu Aug 9 05:43:36 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 08 Aug 2012 20:43:36 -0700 Subject: [Gambas-user] Syntax help for IF after a Try statement In-Reply-To: References: <1344477190.2194.7.camel@...2901...> <1344481530.2194.11.camel@...2901...> Message-ID: <1344483816.2194.13.camel@...2901...> The first one works. Haven't tried the second one. Wasn't aware of '$conn.Opened(). But it's good to know On Thu, 2012-08-09 at 12:51 +0930, Adam Ant wrote: > On Thu, Aug 9, 2012 at 12:35 PM, rocko wrote: > > Ok if I replace the 'Else If' with an 'Else' > > I get an error: > > Else without If. > > But there is an 'If' after the 'Try'. > > unless you can't put an 'Else' after an 'Try...If' > > Ah! No you can't use > > Try If blahblahblah > > (and there are some other things you can't "TRY", I can't think of > them at the moment) > > Be very aware of what "TRY" actually does! > > Oh and by the way, to test if a connection is already open, the > function you need is > .Opened() > > So, > > Try $conn.Open() > If Error then > Print "Not Open" > Else > Print "Opened it!" > End If > > or > > $conn.Open > If $conn.Opened() then > Print "Not Open" > Else > Print "Opened it!" > End If > > should both work. > > hth > 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 From sunblaster5 at ...626... Thu Aug 9 06:23:33 2012 From: sunblaster5 at ...626... (acidblue) Date: Wed, 8 Aug 2012 21:23:33 -0700 (PDT) Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <34275037.post@...1379...> Fabien Bodard-4 wrote: > > 2012/8/8 Adam Ant > >> On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard >> wrote: >> > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : >> >> The answer is: >> >> >> > It's create >> >> rTable=$hConn.create("Inventory",> >> want to update>) >> >> IF rTable.Available then >> >> rTable!name=txtName.Text >> >> rTable.Update >> >> END IF >> >> >> > >> > Don't open/ close the db each time >> > >> >> Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. >> >> So it's really >> rTable=$hConn.Create("Inventory") >> IF rTable.Available then >> rTable!name=txtName.Text >> TRY rTable.Update >> IF ERROR THEN >> ' your update failed, possibly because of a duplicate key >> ENDIF >> END IF >> >> >> > THen if you want to modify a specific line : > > rTable=DB.Edit("Inventory", "id=&1", varId) > > rTable!name=txtName.Text > > rTable.Update > db.commit > > > Another thing, If your app use only one db with one connection, Open it on > start > > for exemple your project begin on a module Main.module > > > 'module > Private hCon as New Connection > Public Sub Main() > hCOn.TYpe= "sqlite" > hCon.Name="Mydb" > hCon.Host=user.home > hCon.Open > > FormMyMain.Show > END > > > In FormMyMain do > > PUblic sub Form_Close() > > db.close > > end > > > > > Public sub Button_Click() > > dim rTable as result > rTable = db.find("mytable") > for each rTable > print rTable!name > next > end > > > > > > > > in gambas 3 you can use ide to define connections of the project... > > you can then use it in the project ... so main.module become : > > > Public sub Main() > > Connections["MyConnection"].Open > > End > > If you use a mysql or other table with password. > > You need to add that befor : > > Conections["MyConnection"].Password="yourpassword" > > Ahh I like that idea! > I 'm now using Gambas 3 ;) > When you say make module do you mean make an actual module(Right > click>>new>>module > or can i add this code to the FMain form?? > CODE > Public sub Main() > > Connections["MyConnection"].Open > > End >> >> >> ------------------------------------------------------------------------------ >> 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 > ------------------------------------------------------------------------------ > 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/Adding-values-to-fields-in-SQLite-table---tp34267924p34275037.html Sent from the gambas-user mailing list archive at Nabble.com. From sunblaster5 at ...626... Thu Aug 9 06:25:27 2012 From: sunblaster5 at ...626... (acidblue) Date: Wed, 8 Aug 2012 21:25:27 -0700 (PDT) Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: References: <1344367123.2744.31.camel@...2901...> Message-ID: <34275043.post@...1379...> Ahh I like that idea! I 'm now using Gambas 3 ;) When you say make module do you mean make an actual module(Right click>>new>>module) or can i add this code to the FMain form?? CODE Public sub Main() Connections["MyConnection"].Open End Fabien Bodard-4 wrote: > > 2012/8/8 Adam Ant > >> On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard >> wrote: >> > Le 8 ao?t 2012 04:49, "Adam Ant" a ?crit : >> >> The answer is: >> >> >> > It's create >> >> rTable=$hConn.create("Inventory",> >> want to update>) >> >> IF rTable.Available then >> >> rTable!name=txtName.Text >> >> rTable.Update >> >> END IF >> >> >> > >> > Don't open/ close the db each time >> > >> >> Yes, sorry Roko (and Fabien), I forgot you were trying to ADD a new row. >> >> So it's really >> rTable=$hConn.Create("Inventory") >> IF rTable.Available then >> rTable!name=txtName.Text >> TRY rTable.Update >> IF ERROR THEN >> ' your update failed, possibly because of a duplicate key >> ENDIF >> END IF >> >> >> > THen if you want to modify a specific line : > > rTable=DB.Edit("Inventory", "id=&1", varId) > > rTable!name=txtName.Text > > rTable.Update > db.commit > > > Another thing, If your app use only one db with one connection, Open it on > start > > for exemple your project begin on a module Main.module > > > 'module > Private hCon as New Connection > Public Sub Main() > hCOn.TYpe= "sqlite" > hCon.Name="Mydb" > hCon.Host=user.home > hCon.Open > > FormMyMain.Show > END > > > In FormMyMain do > > PUblic sub Form_Close() > > db.close > > end > > > > > Public sub Button_Click() > > dim rTable as result > rTable = db.find("mytable") > for each rTable > print rTable!name > next > end > > > > > > > > in gambas 3 you can use ide to define connections of the project... > > you can then use it in the project ... so main.module become : > > > Public sub Main() > > Connections["MyConnection"].Open > > End > > If you use a mysql or other table with password. > > You need to add that befor : > > Conections["MyConnection"].Password="yourpassword" > > >> >> >> ------------------------------------------------------------------------------ >> 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 > ------------------------------------------------------------------------------ > 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/Adding-values-to-fields-in-SQLite-table---tp34267924p34275043.html Sent from the gambas-user mailing list archive at Nabble.com. From support at ...2529... Thu Aug 9 06:29:40 2012 From: support at ...2529... (John Spikowski) Date: Wed, 08 Aug 2012 21:29:40 -0700 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 Message-ID: <1344486580.2390.5.camel@...1833...> Is there a Gambas 3 ARM binary package available to try? From support at ...2529... Thu Aug 9 07:10:55 2012 From: support at ...2529... (John Spikowski) Date: Wed, 08 Aug 2012 22:10:55 -0700 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: <1344486580.2390.5.camel@...1833...> References: <1344486580.2390.5.camel@...1833...> Message-ID: <1344489055.2390.10.camel@...1833...> On Wed, 2012-08-08 at 21:29 -0700, John Spikowski wrote: > Is there a Gambas 3 ARM binary package available to try? > I was unable to install autoconf/automake/libtool on Ubuntu ARM. (unavailable via apt-get) Looks like my only hope is a Gambas3 binary distribution to run on my chroot instance of Ubuntu 10.04 LTS ARMv7 on Android. (SGT2_10.1) From support at ...2529... Thu Aug 9 07:45:03 2012 From: support at ...2529... (John Spikowski) Date: Wed, 08 Aug 2012 22:45:03 -0700 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: <1344489055.2390.10.camel@...1833...> References: <1344486580.2390.5.camel@...1833...> <1344489055.2390.10.camel@...1833...> Message-ID: <1344491103.2390.20.camel@...1833...> On Wed, 2012-08-08 at 22:10 -0700, John Spikowski wrote: > On Wed, 2012-08-08 at 21:29 -0700, John Spikowski wrote: > > Is there a Gambas 3 ARM binary package available to try? > > > I was unable to install autoconf/automake/libtool on Ubuntu ARM. > (unavailable via apt-get) > > Looks like my only hope is a Gambas3 binary distribution to run on my > chroot instance of Ubuntu 10.04 LTS ARMv7 on Android. (SGT2_10.1) Has anyone tried to build Gambas3 native on an ARM Linux before? I may have found the ARM versions of the tools I'm missing so I'm still forging on until I hear from the list. (stop recreating the wheel! would be nice) From emil.lenngren at ...626... Thu Aug 9 11:55:51 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 9 Aug 2012 11:55:51 +0200 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: <1344491103.2390.20.camel@...1833...> References: <1344486580.2390.5.camel@...1833...> <1344489055.2390.10.camel@...1833...> <1344491103.2390.20.camel@...1833...> Message-ID: It worked without problems on Raspbian, as all the auto* tools are available through apt-get. /Emil 2012/8/9 John Spikowski > On Wed, 2012-08-08 at 22:10 -0700, John Spikowski wrote: > > On Wed, 2012-08-08 at 21:29 -0700, John Spikowski wrote: > > > Is there a Gambas 3 ARM binary package available to try? > > > > > I was unable to install autoconf/automake/libtool on Ubuntu ARM. > > (unavailable via apt-get) > > > > Looks like my only hope is a Gambas3 binary distribution to run on my > > chroot instance of Ubuntu 10.04 LTS ARMv7 on Android. (SGT2_10.1) > > Has anyone tried to build Gambas3 native on an ARM Linux before? > > I may have found the ARM versions of the tools I'm missing so I'm still > forging on until I hear from the list. (stop recreating the wheel! would > be nice) > > > > > > ------------------------------------------------------------------------------ > 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 support at ...2529... Thu Aug 9 12:03:07 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 03:03:07 -0700 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: References: <1344486580.2390.5.camel@...1833...> <1344489055.2390.10.camel@...1833...> <1344491103.2390.20.camel@...1833...> Message-ID: <1344506587.2390.23.camel@...1833...> On Thu, 2012-08-09 at 11:55 +0200, Emil Lenngren wrote: > It worked without problems on Raspbian, as all the auto* tools are > available through apt-get. > Translation: NO, there isn't a binary Ubuntu ARMv7 Gambas3 available so you need to build it from svn. Thanks for the conformation. From gambas at ...1... Thu Aug 9 12:31:09 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Aug 2012 12:31:09 +0200 Subject: [Gambas-user] Updated Spanish translation In-Reply-To: References: <5010FAD4.4010808@...1...> Message-ID: <5023916D.7090707@...1...> Le 09/08/2012 03:41, Sebastian Kulesz a ?crit : > > Updated translation, 100% complete!!! > Thanks. Do you have a sourceforge account so that I can grant you a write access to the subversion repository? That way you will be able to commit your translation directly. > I think the translation form should display spaces at the end of a > line with a middle-dot and newlines with the intro symbol (if > possible), so that formatting is kept untouched. Would this be > possible to implement? I understand the need for seeing trailing spaces, but not for newlines. A newline in a translation string should be printed as "\n". -- Beno?t Minisini From lists at ...2828... Thu Aug 9 13:19:11 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 9 Aug 2012 13:19:11 +0200 Subject: [Gambas-user] Gambas 3 Ubuntu ARMv7 In-Reply-To: <1344491103.2390.20.camel@...1833...> Message-ID: <000101cd7621$23a1ff70$0f00a8c0@...2829...> > On Wed, 2012-08-08 at 22:10 -0700, John Spikowski wrote: > > Has anyone tried to build Gambas3 native on an ARM Linux before? Yes, I sucessfully built 3.2.1 past weekend on the Raspberry Pi runnig Debian Squeeze, took quite a few hours but worked. /CJ From lists at ...2828... Thu Aug 9 13:05:37 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 9 Aug 2012 13:05:37 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: Message-ID: <000001cd7621$22f8c720$0f00a8c0@...2829...> > It would be nice if you could also make available the compiled package > under armel so others can test it ;) Maybe just a typo and you mean armhf since this is available for armel... http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb Not the latest stable but something to get started with at least. Still haven't had time to learn how to do a proper deb-package to be able to share Gambas3 3.2.1 (armel) :-/ /CJ From lists at ...2828... Thu Aug 9 13:21:31 2012 From: lists at ...2828... (Christer Johansson) Date: Thu, 9 Aug 2012 13:21:31 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: Message-ID: <000201cd7621$2429f420$0f00a8c0@...2829...> > Screenshot attached! > > /Emil > > > Le 08/08/2012 21:40, Beno?t Minisini a ?crit : > > > Le 08/08/2012 21:39, Emil Lenngren a ?crit : > > >> Yay, the IDE works too, and it is actually faster than I > expected. I > > >> think > > >> it is not "sluggish" at all! > > >> It is just that most of the IDE windows are a bit too > > >>large for my 720x576 tv... > > > > > > Screenshot! Screenshot! Ouch thats a tiny screen ;) Glad to see more RasPi users up runnig! Here is another one running on Debian Squeeze via X. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot - 08092012.png Type: image/png Size: 105153 bytes Desc: not available URL: From mike.crean at ...2897... Thu Aug 9 14:53:07 2012 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 9 Aug 2012 05:53:07 -0700 (PDT) Subject: [Gambas-user] Test Message-ID: <1344516787.87955.YahooMailNeo@...2904...> Pardon me From mike.crean at ...2897... Thu Aug 9 14:56:24 2012 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 9 Aug 2012 05:56:24 -0700 (PDT) Subject: [Gambas-user] Pardon its a test Message-ID: <1344516984.92223.YahooMailNeo@...2899...> Test msg From adamnt42 at ...626... Thu Aug 9 15:04:01 2012 From: adamnt42 at ...626... (GMail) Date: Thu, 09 Aug 2012 22:34:01 +0930 Subject: [Gambas-user] Test In-Reply-To: <1344516787.87955.YahooMailNeo@...2904...> References: <1344516787.87955.YahooMailNeo@...2904...> Message-ID: <1344517442.6766.0.camel@...40...> On Thu, 2012-08-09 at 05:53 -0700, Mike Crean wrote: > Pardon me Pax vobiscum. From mike.crean at ...2897... Thu Aug 9 15:18:49 2012 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 9 Aug 2012 06:18:49 -0700 (PDT) Subject: [Gambas-user] Raspberry Pi Message-ID: <1344518329.23297.YahooMailNeo@...2904...> Does or will Gambas3 support Rpi foundation's raspbian (wheezy) floating point and is anyone maintaining a current download install for Gambas to run on Rpi raspbian. The Gambas3 install for Rpi raspbian seems to be broken, may be some one can have it fixed. I have G2 & G3 (Gambas) from http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb working on Rpi squeeze (very slow).Perhaps if Gambas3 can run on Raspbian with floating point it will get it up and going with some real speed. ? Squeeze photo attached. Mike -------------- next part -------------- A non-text attachment was scrubbed... Name: IMG_1914.JPG Type: image/jpeg Size: 147975 bytes Desc: not available URL: From pata.karlsson at ...626... Thu Aug 9 17:04:49 2012 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Thu, 9 Aug 2012 17:04:49 +0200 Subject: [Gambas-user] Gambas on Mac OS X/MacPorts In-Reply-To: References: Message-ID: 2012/8/7 Fran?ois Gallo > > Gambas is not in the MacPorts tree and i think it will be never because > the qt4-x11 port doesn't work. Indeed, this one isn't up to date. While > macports will not > provide an update to this port, Gambas cannot go into the macports tree. > To make Gambas i use both MacPorts and Fink. Although i only use Fink to > get > a 11 version of Qt. > > Currently, Gambas 3 compiles on OS X 10.8. > Right now, i see with Benoit to debug it at runtime. > The Gambas compiler crashes on some language instructions. Why? I don't > know. > Once Benoit will fix it, i could declare officially Gambas ported on OS X. > (i hope at less?) > > I'm the main contributor who (try to) port Gambas on others systems than > Linux. > If you have some questions about Gambas's ports, contact me. > > > > > How far has the project come? > > Is there some kind of a time line? > > How can I help? > > If you know good enough the OS X system, maybe yes i think you can help > for Gambas. > > > > > I guess my knowledge is limited to compile, install and test it. > > Logically, the main things that you must know is how install MacPorts and > Fink distributions. > Then, install the packages needed to compile Gambas. > > That's all you need to do :) . > When i wrote "add support for macports distribution" in change log, i > added path to a basic installation > of MacPorts so that any people can compile directly Gambas. > > However don't forget to add in your .profile file environment variables > needed to that. > Fink and MacPorts adds automatically some variables but not all. > > You can already download svn source code of Gambas and try to compile it. > Normally, you don't meet difficult to compile it. > > Do you use OS X 10.8 too? > > Fran?ois > > Yes, I'm on 10.8 too but I dont know enough about the system to provide any help on that. I have been using macports for years and fink a month or so a while back. I dont think I will try to install Gambas on OS X as long as Gambas application will not be easily run on the Mac for the regular user. Hopefully they will fix the qt4-x11 port so we can get a smooth installation procedure. Anyway, thanks for the effort so far! /patrik From gambas.fr at ...626... Thu Aug 9 17:22:36 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 9 Aug 2012 17:22:36 +0200 Subject: [Gambas-user] My Raspberry Pi has arrived! In-Reply-To: <5022C16E.1080503@...1...> References: <4FC5DEEB.4020007@...1950...> <4FC78084.6000001@...1950...> <5022C16E.1080503@...1...> Message-ID: CMake ? Le 8 ao?t 2012 21:45, "Beno?t Minisini" a ?crit : > Le 08/08/2012 21:13, Emil Lenngren a ?crit : > > I finally managed to compile the main components (compiler/interpreter) > and > > run the benchmark "primes" (takes 430 seconds, compared to 20 seconds for > > standard x86). > > > > What I don't like is the reconf-scripts. Even for components that take > ~10 > > seconds to compile, I first have to run the ./reconf script (3 and a half > > minute) and then the ./configure script (takes about 1 and a half > minute), > > for each component. So for most components (most components are small), > > more than 95% of the time is configuration... > > > > Question: Is it possible to throw out the autoconf scripts and use > > something faster instead? > > > > /Emil > > > > For information, the multiple configuration scripts (one by component > directory) was a request from Jose R. Rodriguez that made Gambas Debian > binary packages. > > I don't know if he still make them, because I had no answer from my mail > to the mailing-list of Debian packagers of Gambas claiming that their > packages are incorrect and do not work. But this is another story. > > As for the build system: what could I use that can make Gambas compile > on Linux, FreeBSD, MacOSX, x86, x86_64, armel and armhf? > > -- > 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.fr at ...626... Thu Aug 9 17:22:36 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 9 Aug 2012 17:22:36 +0200 Subject: [Gambas-user] Adding values to fields in SQLite table?? In-Reply-To: <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> References: <1344367123.2744.31.camel@...2901...> <1344442737.1869.2.camel@...2901...> <1344445954.1869.3.camel@...2901...> <1344447742.1869.10.camel@...2901...> <1344449583.1869.18.camel@...2901...> <6868F436-EE71-4CE5-805C-F076BCCCD5BC@...1896...> <1344451886.1869.32.camel@...2901...> <52B132B0-9D3B-4BAE-8386-9258FCDB8BF1@...1896...> Message-ID: Normally it can work with private if it is declared in the form that use it Le 8 ao?t 2012 21:00, "Olivier Cruilles" a ?crit : > So to be exact, it's the same mecanism for all other database. > > If you declare a variable (as $hConn) in a PUBLIC SUB, the variable is > local of this PUBLIC SUB > so if you want to use a variable in all a Form or Module or Class, you > need to declare your variable at the beginning of this Form and not in a > PUBLIC SUB > > When you use a Connection object to open a database, after initialized it > and opened it, the object Connection keep connected to the database, so you > just need to use it. > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 8 ao?t 2012 ? 20:51, rocko a ?crit : > > > Thank you sir; > > You get a cookie :) > > Your example works fine. > > > > 'Public' instead of 'Private' for the $hConn as Connection was the key I > > believe, as was a few other small syntax related items. > > The E-Book I was following(Much older version of gambas) I don't think > > even mentions declaring it as either. > > > > I'm new to sqlite and gambas, I mostly deal with perl and mysql. > > > > Thanks to all who replied to my questions and gave examples. > > The community here has always been very helpful. > > > > > > > > > > On Wed, 2012-08-08 at 20:31 +0200, Olivier Cruilles wrote: > >> Hello, > >> > >> I think your problem is that you don't understand how to use sqlite > database.. > >> > >> You don't renew a connection every time you want to use it. > >> > >> - You open the database at the beginning of your program > >> - You work with it by updating it > >> - Before you close you program, you close the database > >> > >> So to do that use it like that: > >> > >> -------------------------------------------- > >> > >> PUBLIC $hConn AS Connection <= Error corrected > >> > >> btnConnect CODE: > >> > >> PUBLIC SUB btnConnect_Click() > >> > >> $hConn = NEW Connection <= line added > >> > >> $hConn.Host = "/home/rocko/DataBases" > >> $hConn.Name = "my_test.sqlite" > >> $hConn.Type = "sqlite" > >> $hConn.Open > >> > >> btnAdd CODE: > >> > >> PUBLIC SUB btnAdd_Click() > >> > >> DIM rTable AS Result > >> > >> rTable = $hConn.Create("inventory") <= Error corrected > >> > >> IF rTable.Available THEN > >> rTable!name = txtName.Text > >> rTable.Update > >> TRY rTable.Update > >> IF ERROR THEN > >> PRINT "Update failed" > >> Message.Error(ERROR.Text) > >> > >> ENDIF > >> ENDIF > >> > >> DB.Commit > >> > >> btnClose CODE: > >> PUBLIC SUB btnClose_Click() > >> > >> $hConn.Close > >> FMain.Close > >> > >> > >> > >> > >> Cordialement, > >> > >> Olivier Cruilles > >> Mail: linuxos at ...1896... > >> > >> Le 8 ao?t 2012 ? 20:13, rocko a ?crit : > >> > >>> Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on. > >>> > >>> I'm getting 'Connection Not Opened" error when click the Add_new btn. > >>> > >>> > >>> btnConnect CODE: > >>> PRIVATE $hConn AS Connection > >>> PUBLIC SUB btnConnect_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> > >>> $hConn.Host = "/home/rocko/DataBases" > >>> $hConn.Name = "my_test.sqlite" > >>> $hConn.Type = "sqlite" > >>> $hConn.Open > >>> > >>> btnAdd CODE: > >>> > >>> PUBLIC SUB btnAdd_Click() > >>> > >>> DIM $hConn AS NEW Connection > >>> DIM rTable AS Result > >>> > >>> rTable = DB.Create("inventory") > >>> > >>> IF rTable.Available THEN > >>> rTable!name = txtName.Text > >>> rTable.Update > >>> TRY rTable.Update > >>> IF ERROR THEN > >>> PRINT "Update failed" > >>> Message.Error(ERROR.Text) > >>> > >>> ENDIF > >>> ENDIF > >>> > >>> DB.Commit > >>> > >>> btnClose CODE: > >>> PUBLIC SUB btnClose_Click() > >>> > >>> $hConn.Close > >>> FMain.Close > >>> > >>> On Wed, 2012-08-08 at 19:48 +0200, Fabien Bodard wrote: > >>>> Private $hConn as New Connection > >>>> Public sub _New() > >>>> $hConn .Host = "dir of bdd" > >>>> $hConn.Name = "MyBdd" > >>>> $hConn.Type = "sqlite" > >>>> $hConn.Open > >>>> > >>>> End > >>>> > >>>> > >>>> PUBLIC SUB btnAdd_Click() > >>>> > >>>> DIM rTable AS Result > >>>> > >>>> rTable = DB.Create("inventory") > >>>> > >>>> rTable!name = txtName.Text > >>>> > >>>> TRY rTable.Update > >>>> IF ERROR THEN > >>>> PRINT "Update failed" > >>>> Message.Error(ERROR.Text) > >>>> return > >>>> ENDIF > >>>> > >>>> > >>>> DB.Commit > >>>> > >>>> end > >>>> > >>>> Public SUb Form_Close > >>>> $hConn.CLose > >>>> end > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> 2012/8/8 rocko > >>>> > >>>>> Im now getting error's. > >>>>> I was getting a "connection not opened" error message, so I add > >>>>> a $hConn.Open before the $hConn.Begin. > >>>>> I'm now getting a "Driver name missing" error. > >>>>> > >>>>> CODE: > >>>>> PUBLIC SUB btnAdd_Click() > >>>>> > >>>>> DIM $hConn AS NEW Connection > >>>>> DIM rTable AS Result > >>>>> $hConn.Open > >>>>> $hConn.Begin > >>>>> '$hConn.Exec("INSERT INTO inventory VALUES(name), txt.Name") > >>>>> '$hConn.Commit > >>>>> rTable = $hConn.Create("inventory") > >>>>> > >>>>> IF rTable.Available THEN > >>>>> rTable!name = txtName.Text > >>>>> rTable.Update > >>>>> TRY rTable.Update > >>>>> IF ERROR THEN > >>>>> PRINT "Update failed" > >>>>> Message.Error(ERROR.Text) > >>>>> > >>>>> ENDIF > >>>>> ENDIF > >>>>> > >>>>> $hConn.Commit > >>>>> $hConn.Close > >>>>> > >>>>> On Wed, 2012-08-08 at 19:17 +0200, Fabien Bodard wrote: > >>>>>> 2012/8/8 rocko > >>>>>> > >>>>>>> Is there anyway to translate that?? > >>>>>>> > >>>>>> google ? > >>>>>> > >>>>>> > >>>>>>> > >>>>>>> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote: > >>>>>>>> it's in french but ... > >>>>>>>> > >>>>>>>> > >>>>> > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html > >>>>>>>> > >>>>>>> > >>>>> > ------------------------------------------------------------------------------ > >>>>>>>> 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 > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > ------------------------------------------------------------------------------ > >>>>> 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 > >> > >> > ------------------------------------------------------------------------------ > >> 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 > > > ------------------------------------------------------------------------------ > 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 Aug 9 18:26:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 09 Aug 2012 16:26:16 +0000 Subject: [Gambas-user] Issue 300 in gambas: When using XmlReader, the memory isn't released after subroutine ends Message-ID: <0-6813199134517018827-11883370549629361276-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 300 by uAle... at ...626...: When using XmlReader, the memory isn't released after subroutine ends http://code.google.com/p/gambas/issues/detail?id=300 1) Describe the problem. I am using DomotiGa which heavily can use the XMLRPC component of gambas. When i generate a lot of requests, then the application will run out-of-memory. I traced this down to the "miniServer.class" component. The attached "Main.module" will show that the memory only goes up, when it is running the subroutine for 50.000 times. Seems gambas doesn't free the Xml/XmlReader after the routine ends. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK (2.24.0 and also seen it in 3.21.0) Revision: r1234 (if you use a development version) Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: N/A Desktop used: XFCE 3) Provide a little project that reproduces the bug or the crash. Just run the attached "Main.module" and notice that the memory usage only goes up, and is never released. 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: Main.module 1.6 KB From gambas at ...2524... Thu Aug 9 18:35:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 09 Aug 2012 16:35:13 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. Message-ID: <0-6813199134517018827-3850148119862744255-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 301 by linuxfx.... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 property "handle" of all the objects are getting equal prawns in 3.2.1. This does not occur in previous versions. From gonzalo1163 at ...67... Thu Aug 9 19:21:18 2012 From: gonzalo1163 at ...67... (gonzalo1163) Date: Thu, 9 Aug 2012 17:21:18 +0000 (UTC) Subject: [Gambas-user] mp3 do not play References: <4F5793C5.7030605@...27...> <4F57C3B9.6020808@...221...> Message-ID: > > Here, no mp3 file at all is played. > The bitrate of all my files is 44100. > The error "Module format not recognized" is raised already at > Music.Load("file.mp3") > > >> 2012/3/7 M. Cs. gmail.com> > >> > >>> The problem is in the SDL.sound library. I don't know whether this can > >>> be solved in Gambas only. I have same issues, but not with all files. > >>> In order to help Benoit, try to check the MP3 file's tags: bitrate, > >>> etc. It may help discover the real problem. > >>> > >>> 2012/3/7, ??????? ???????? gmail.com>: > >>>> Hi! > >>>> > >>>> I try > >>>> Music.Load("file.mp3") > >>>> Music.Play() > >>>> > >>>> and i get error "Module format not recognized". Matti t-online.de> writes: try an modify the mp3 bit-rate to 32 (or lower). or the sampling rate to 16khz or lower make copies of the mp3 in different bit rates/sampling rate till you find the one that play the mp3 correctly in your player. hth From charlie at ...2793... Thu Aug 9 20:20:20 2012 From: charlie at ...2793... (Cogier) Date: Thu, 9 Aug 2012 11:20:20 -0700 (PDT) Subject: [Gambas-user] Inputbox In-Reply-To: <50215C4C.8090603@...221...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> <34266149.post@...1379...> <50215C4C.8090603@...221...> Message-ID: <34278479.post@...1379...> Thanks again Matti-4. I took your advice regarding Gambas3 and I love the new collapsible SUBs and the way that changing a button name automatically changes the code. BUT I have installed it on 2 machines one with Mint 13 and the other with Ubuntu 12.04 and in both cases the program will run but clicking on the "Buttons" has no effect. I installed it from the instructions on the Gambas site adding the PPA below and installing with APT-GET. http://ppa.launchpad.net/nemh/gambas3/ubuntu Am I doing something wrong? Matti-4 wrote: > > Hmm. I don't have gb2 on my machine anymore, so I can't tell why it isn't > centered. > Btw: you should update to gb3, it's much better! > > Example code for a ShowModal window: > > Create a form FMain with just two buttons (btnCancel and btnInput). > Then create a form FInput with the Text "What's your name?", a TextBox > (TextBox1) and two buttons (btnCancel and btnOK). > > The FMain code is: > > Public Sub Form_Open() > Me.Center > End > > Public Sub btnCancel_Click() > Me.Close > End > > Public Sub btnInput_Click() > FInput.ShowModal > If Me.Tag = "" Then > Print "User has cancelled." > Else > Print "The name is " & Me.Tag & "." > Endif > End > > The FInput code is: > > Public Sub btnCancel_Click() > FMain.Tag = "" > Me.Close > End > > Public Sub btnOK_Click() > FMain.Tag = TextBox1.Text > Me.Close > End > > Easy, isn't it? > > > > Am 07.08.2012 15:34, schrieb Cogier: >> >> Thanks for the reply Matti-4. >> >> I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. >> >> Can you give me any example code of the 'xyz.ShowModal'? >> >> Thanks for any help. >> >> >> Matti-4 wrote: >>> >>> What is your Gambas version and your environment? >>> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. >>> >>> But as a workaround, you can easily create a tiny form for the input and >>> open it >>> with 'xyz.ShowModal'. That is surely centered, and it takes about the >>> same >>> amount of code. >>> >>> >>> Am 06.08.2012 10:15, schrieb Cogier: >>>> >>>> Is there a way to centre the InputBox on the screen as I always see it >>>> in >>>> the >>>> top left hand corner and it is missed by the 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 > > -- View this message in context: http://old.nabble.com/Inputbox-tp34259974p34278479.html Sent from the gambas-user mailing list archive at Nabble.com. From sunblaster5 at ...626... Thu Aug 9 20:26:30 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 11:26:30 -0700 Subject: [Gambas-user] Second Form not reading Public variable from first form Message-ID: <1344536790.1855.19.camel@...2901...> If I declare a Public variable is it available across all Forms and Modules?? I ask because I'm having difficulty with a $hConn variable I have a FMain form that connects to an sqlite database when the form is opened. Public Sub Form_Open() $hConn = New Connection With $hConn .Host = "path to database" and so on.... I have $hConn declared as Public at the top of the FMain.Class This so far works fine, the form opens and I get the Message.Info "You are connected to the database" It's when the second form loads, Have a 'Add New' button on FMain which opens the FNew form which can be used to add a record to the database, but I was getting an error when I click the 'Commit' button. Something about rTable and $hConn being NULL Objects, so I added an $hConn = New Connection, but now I'm getting: "Unknown Identifier" for $hConn. here is the Code for the FNew form: ' Gambas class file ' Private rTable As Result 'Public $hConn As Connection Public Sub btnCommit_Click() $hConn = New Connection ' $hConn.Open rTable = $hConn.Create("inventory") If rTable.Available Then rTable!name = txtName.Text rTable!type = txtType.Text Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Endif Endif DB.Commit End Public Sub btnCancel_Click() FNew.Close End Was also getting an error on the rTable AS Result when I had in the Sub as DIM rTable AS Result>>"Unexpected Dim" So I moved to the top of the class, don't know if that was good Idea though. I thought if I declared $hConn as Public it would be available to the Fnew form, but that doesn't seem to be the case Any insight would be helpful.. From support at ...2529... Thu Aug 9 20:40:04 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 11:40:04 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344518329.23297.YahooMailNeo@...2904...> References: <1344518329.23297.YahooMailNeo@...2904...> Message-ID: <1344537604.3445.4.camel@...1833...> On Thu, 2012-08-09 at 06:18 -0700, Mike Crean wrote: > Does or will Gambas3 support Rpi foundation's raspbian (wheezy) floating point > and is anyone maintaining a current download install for Gambas to run on Rpi raspbian. > The Gambas3 install for Rpi raspbian seems to be broken, may be some one can have it fixed. > > I have G2 & G3 (Gambas) from http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb > working on Rpi squeeze (very slow).Perhaps if Gambas3 can run on Raspbian with floating point > it will get it up and going with some real speed. > > Squeeze photo attached. > Hi Mike, I tried to install Gambas 3 on my Ubuntu ARM chroot instance from the .deb and having issues with libffi5 libffi5 >= 3.0.9-3 apt-get install libffi5 "libffi5 is already the newest version." Please advise! John From support at ...2529... Thu Aug 9 20:45:58 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 11:45:58 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344518329.23297.YahooMailNeo@...2904...> References: <1344518329.23297.YahooMailNeo@...2904...> Message-ID: <1344537958.3445.7.camel@...1833...> On Thu, 2012-08-09 at 06:18 -0700, Mike Crean wrote: > Does or will Gambas3 support Rpi foundation's raspbian (wheezy) floating point > and is anyone maintaining a current download install for Gambas to run on Rpi raspbian. > The Gambas3 install for Rpi raspbian seems to be broken, may be some one can have it fixed. > > I have G2 & G3 (Gambas) from http://tomv.home.xs4all.nl/raspberry/gambas3_3.1.1-1_armel.deb > working on Rpi squeeze (very slow).Perhaps if Gambas3 can run on Raspbian with floating point > it will get it up and going with some real speed. > > Squeeze photo attached. If anyone is looking got a cool case for their Pi ... http://www.zdnet.com/raspberry-pi-cases-round-up-eight-inventive-holders-in-photos-7000002343/ From linuxos at ...1896... Thu Aug 9 21:08:42 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Thu, 9 Aug 2012 21:08:42 +0200 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <1344536790.1855.19.camel@...2901...> References: <1344536790.1855.19.camel@...2901...> Message-ID: <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> Hello, When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to rewrite the first Form like that: In the second Form use this: FMain.$hConn (But only if the variable is declared as PUBLIC, not PRIVATE) Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 9 ao?t 2012 ? 20:26, rocko a ?crit : > If I declare a Public variable is it available across all Forms and > Modules?? > I ask because I'm having difficulty with a $hConn variable > > I have a FMain form that connects to an sqlite database when the form is > opened. > Public Sub Form_Open() > $hConn = New Connection > With $hConn > .Host = "path to database" > and so on.... > I have $hConn declared as Public at the top of the FMain.Class > This so far works fine, the form opens and I get the Message.Info > "You are connected to the database" > > It's when the second form loads, Have a 'Add New' button on FMain which > opens the FNew form which can be used to add a record to the database, > but I was getting an error when I click the 'Commit' button. > > Something about rTable and $hConn being NULL Objects, so I added an > $hConn = New Connection, but now I'm getting: > "Unknown Identifier" for $hConn. > here is the Code for the FNew form: > > ' Gambas class file > > ' > Private rTable As Result > > 'Public $hConn As Connection > > Public Sub btnCommit_Click() > > $hConn = New Connection > ' $hConn.Open > > rTable = $hConn.Create("inventory") > > If rTable.Available Then > rTable!name = txtName.Text > rTable!type = txtType.Text > Try rTable.Update > If Error Then > Print "Update failed" > Message.Error(ERROR.Text) > > Endif > Endif > > DB.Commit > > > End > > Public Sub btnCancel_Click() > > FNew.Close > > End > > Was also getting an error on the rTable AS Result when I had in the Sub > as DIM rTable AS Result>>"Unexpected Dim" > So I moved to the top of the class, don't know if that was good Idea > though. > I thought if I declared $hConn as Public it would be available to the > Fnew form, but that doesn't seem to be the case > Any insight would be helpful.. > > > > > > > ------------------------------------------------------------------------------ > 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... Thu Aug 9 21:22:27 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 12:22:27 -0700 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> Message-ID: <1344540148.1855.24.camel@...2901...> Ok I see, I've added FMain.xxxx but now I'm getting "Driver name missing" at FMain.Open On Thu, 2012-08-09 at 21:08 +0200, Olivier Cruilles wrote: > Hello, > > When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to rewrite the first Form like that: > > > In the second Form use this: FMain.$hConn (But only if the variable is declared as PUBLIC, not PRIVATE) > > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 9 ao?t 2012 ? 20:26, rocko a ?crit : > > > If I declare a Public variable is it available across all Forms and > > Modules?? > > I ask because I'm having difficulty with a $hConn variable > > > > I have a FMain form that connects to an sqlite database when the form is > > opened. > > Public Sub Form_Open() > > $hConn = New Connection > > With $hConn > > .Host = "path to database" > > and so on.... > > I have $hConn declared as Public at the top of the FMain.Class > > This so far works fine, the form opens and I get the Message.Info > > "You are connected to the database" > > > > It's when the second form loads, Have a 'Add New' button on FMain which > > opens the FNew form which can be used to add a record to the database, > > but I was getting an error when I click the 'Commit' button. > > > > Something about rTable and $hConn being NULL Objects, so I added an > > $hConn = New Connection, but now I'm getting: > > "Unknown Identifier" for $hConn. > > here is the Code for the FNew form: > > > > ' Gambas class file > > > > ' > > Private rTable As Result > > > > 'Public $hConn As Connection > > > > Public Sub btnCommit_Click() > > > > $hConn = New Connection > > ' $hConn.Open > > > > rTable = $hConn.Create("inventory") > > > > If rTable.Available Then > > rTable!name = txtName.Text > > rTable!type = txtType.Text > > Try rTable.Update > > If Error Then > > Print "Update failed" > > Message.Error(ERROR.Text) > > > > Endif > > Endif > > > > DB.Commit > > > > > > End > > > > Public Sub btnCancel_Click() > > > > FNew.Close > > > > End > > > > Was also getting an error on the rTable AS Result when I had in the Sub > > as DIM rTable AS Result>>"Unexpected Dim" > > So I moved to the top of the class, don't know if that was good Idea > > though. > > I thought if I declared $hConn as Public it would be available to the > > Fnew form, but that doesn't seem to be the case > > Any insight would be helpful.. > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > 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 linuxos at ...1896... Thu Aug 9 21:25:18 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Thu, 9 Aug 2012 21:25:18 +0200 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <1344540148.1855.24.camel@...2901...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> Message-ID: <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> Can you put the code that you obtain now in a main Form and in the second Form please ? Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 9 ao?t 2012 ? 21:22, rocko a ?crit : > Ok I see, > I've added FMain.xxxx > but now I'm getting "Driver name missing" at FMain.Open > > > On Thu, 2012-08-09 at 21:08 +0200, Olivier Cruilles wrote: >> Hello, >> >> When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to rewrite the first Form like that: >> >> >> In the second Form use this: FMain.$hConn (But only if the variable is declared as PUBLIC, not PRIVATE) >> >> >> >> Cordialement, >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> >> Le 9 ao?t 2012 ? 20:26, rocko a ?crit : >> >>> If I declare a Public variable is it available across all Forms and >>> Modules?? >>> I ask because I'm having difficulty with a $hConn variable >>> >>> I have a FMain form that connects to an sqlite database when the form is >>> opened. >>> Public Sub Form_Open() >>> $hConn = New Connection >>> With $hConn >>> .Host = "path to database" >>> and so on.... >>> I have $hConn declared as Public at the top of the FMain.Class >>> This so far works fine, the form opens and I get the Message.Info >>> "You are connected to the database" >>> >>> It's when the second form loads, Have a 'Add New' button on FMain which >>> opens the FNew form which can be used to add a record to the database, >>> but I was getting an error when I click the 'Commit' button. >>> >>> Something about rTable and $hConn being NULL Objects, so I added an >>> $hConn = New Connection, but now I'm getting: >>> "Unknown Identifier" for $hConn. >>> here is the Code for the FNew form: >>> >>> ' Gambas class file >>> >>> ' >>> Private rTable As Result >>> >>> 'Public $hConn As Connection >>> >>> Public Sub btnCommit_Click() >>> >>> $hConn = New Connection >>> ' $hConn.Open >>> >>> rTable = $hConn.Create("inventory") >>> >>> If rTable.Available Then >>> rTable!name = txtName.Text >>> rTable!type = txtType.Text >>> Try rTable.Update >>> If Error Then >>> Print "Update failed" >>> Message.Error(ERROR.Text) >>> >>> Endif >>> Endif >>> >>> DB.Commit >>> >>> >>> End >>> >>> Public Sub btnCancel_Click() >>> >>> FNew.Close >>> >>> End >>> >>> Was also getting an error on the rTable AS Result when I had in the Sub >>> as DIM rTable AS Result>>"Unexpected Dim" >>> So I moved to the top of the class, don't know if that was good Idea >>> though. >>> I thought if I declared $hConn as Public it would be available to the >>> Fnew form, but that doesn't seem to be the case >>> Any insight would be helpful.. >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 > > > > ------------------------------------------------------------------------------ > 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 support at ...2529... Thu Aug 9 21:28:58 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 12:28:58 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344537604.3445.4.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> Message-ID: <1344540538.3445.9.camel@...1833...> On Thu, 2012-08-09 at 11:40 -0700, John Spikowski wrote: > Hi Mike, > > I tried to install Gambas 3 on my Ubuntu ARM chroot instance from > the .deb and having issues with libffi5 > > libffi5 >= 3.0.9-3 > > apt-get install libffi5 > > "libffi5 is already the newest version." > > Please advise! > libffi.so.5 -> libffi.so.5.0.10 ??? From sunblaster5 at ...626... Thu Aug 9 21:37:27 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 12:37:27 -0700 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> Message-ID: <1344541047.1855.27.camel@...2901...> Sure can. FMain CODE:>>>>>>>>>>>>>>>>>>>>>>>>> ' Gambas class file Public $hConn As Connection Public Sub _new() End Public Sub Form_Open() $hConn = New Connection With $hConn .Host = "/home/rocko/DataBases" .Name = "my_test.sqlite" .Type = "sqlite" End With Try $hConn.Open If Error Then Print "Database cannot be opened. Error = ", Error.Text Else Message.Info("You are now connected to the database.") Endif End Public Sub btnAdd_Click() FNew.Show End Public Sub btnClose_Click() $hConn.Close FMain.Close End +++++++++++++++++++++++++++++++++++++++++++++++++++++ FNew CODE:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ' Gambas class file ' Private rTable As Result Public Sub btnCommit_Click() FMain.$hConn = New Connection FMain.$hConn.Open rTable = FMain.$hConn.Create("inventory") If rTable.Available Then rTable!name = txtName.Text rTable!type = txtType.Text Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Endif Endif DB.Commit End Public Sub btnCancel_Click() FNew.Close End Hope that helps. On Thu, 2012-08-09 at 21:25 +0200, Olivier Cruilles wrote: > Can you put the code that you obtain now in a main Form and in the second Form please ? > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 9 ao?t 2012 ? 21:22, rocko a ?crit : > > > Ok I see, > > I've added FMain.xxxx > > but now I'm getting "Driver name missing" at FMain.Open > > > > > > On Thu, 2012-08-09 at 21:08 +0200, Olivier Cruilles wrote: > >> Hello, > >> > >> When you declare a variable as PUBLIC in a Form (Ex: FMain) and if you want to access to this variable from another Form you need to rewrite the first Form like that: > >> > >> > >> In the second Form use this: FMain.$hConn (But only if the variable is declared as PUBLIC, not PRIVATE) > >> > >> > >> > >> Cordialement, > >> > >> Olivier Cruilles > >> Mail: linuxos at ...1896... > >> > >> Le 9 ao?t 2012 ? 20:26, rocko a ?crit : > >> > >>> If I declare a Public variable is it available across all Forms and > >>> Modules?? > >>> I ask because I'm having difficulty with a $hConn variable > >>> > >>> I have a FMain form that connects to an sqlite database when the form is > >>> opened. > >>> Public Sub Form_Open() > >>> $hConn = New Connection > >>> With $hConn > >>> .Host = "path to database" > >>> and so on.... > >>> I have $hConn declared as Public at the top of the FMain.Class > >>> This so far works fine, the form opens and I get the Message.Info > >>> "You are connected to the database" > >>> > >>> It's when the second form loads, Have a 'Add New' button on FMain which > >>> opens the FNew form which can be used to add a record to the database, > >>> but I was getting an error when I click the 'Commit' button. > >>> > >>> Something about rTable and $hConn being NULL Objects, so I added an > >>> $hConn = New Connection, but now I'm getting: > >>> "Unknown Identifier" for $hConn. > >>> here is the Code for the FNew form: > >>> > >>> ' Gambas class file > >>> > >>> ' > >>> Private rTable As Result > >>> > >>> 'Public $hConn As Connection > >>> > >>> Public Sub btnCommit_Click() > >>> > >>> $hConn = New Connection > >>> ' $hConn.Open > >>> > >>> rTable = $hConn.Create("inventory") > >>> > >>> If rTable.Available Then > >>> rTable!name = txtName.Text > >>> rTable!type = txtType.Text > >>> Try rTable.Update > >>> If Error Then > >>> Print "Update failed" > >>> Message.Error(ERROR.Text) > >>> > >>> Endif > >>> Endif > >>> > >>> DB.Commit > >>> > >>> > >>> End > >>> > >>> Public Sub btnCancel_Click() > >>> > >>> FNew.Close > >>> > >>> End > >>> > >>> Was also getting an error on the rTable AS Result when I had in the Sub > >>> as DIM rTable AS Result>>"Unexpected Dim" > >>> So I moved to the top of the class, don't know if that was good Idea > >>> though. > >>> I thought if I declared $hConn as Public it would be available to the > >>> Fnew form, but that doesn't seem to be the case > >>> Any insight would be helpful.. > >>> > >>> > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> 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 > > > > > > > > ------------------------------------------------------------------------------ > > 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 linuxos at ...1896... Thu Aug 9 21:48:39 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Thu, 9 Aug 2012 21:48:39 +0200 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <1344541047.1855.27.camel@...2901...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> <1344541047.1855.27.camel@...2901...> Message-ID: You repeat the same problem than yesterday. Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 9 ao?t 2012 ? 21:37, rocko a ?crit : FNew CODE:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ' Gambas class file ' Private rTable As Result Public Sub btnCommit_Click() FMain.$hConn = New Connection <- ERROR you don't need to reopen the database, it's already done FMain.$hConn.Open <- ERROR you don't need to reopen the database, it's already done rTable = FMain.$hConn.Create("inventory") If rTable.Available Then rTable!name = txtName.Text rTable!type = txtType.Text Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Endif Endif FMain.$hConn.Commit <- ERROR corrected End Public Sub btnCancel_Click() FNew.Close End From sunblaster5 at ...626... Thu Aug 9 21:57:16 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 12:57:16 -0700 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> <1344541047.1855.27.camel@...2901...> Message-ID: <1344542236.3572.4.camel@...2901...> DOH!! Originally I was getting an error on rTable and $hConn variable "Null Object" or something like that. Think thats why I added the $hConn statements, it got rid of the "null" error but then other error's popped up. Must remember only open sqlite once!!! Thanks Oliver. On Thu, 2012-08-09 at 21:48 +0200, Olivier Cruilles wrote: > You repeat the same problem than yesterday. > > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 9 ao?t 2012 ? 21:37, rocko a ?crit : > > FNew CODE:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > ' Gambas class file > > ' > Private rTable As Result > > > Public Sub btnCommit_Click() > > FMain.$hConn = New Connection <- ERROR you don't need to reopen the database, it's already done > FMain.$hConn.Open <- ERROR you don't need to reopen the database, it's already done > > rTable = FMain.$hConn.Create("inventory") > > If rTable.Available Then > rTable!name = txtName.Text > rTable!type = txtType.Text > Try rTable.Update > If Error Then > Print "Update failed" > Message.Error(ERROR.Text) > > Endif > Endif > > FMain.$hConn.Commit <- ERROR corrected > > > End > > Public Sub btnCancel_Click() > > FNew.Close > > End > > ------------------------------------------------------------------------------ > 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 Aug 9 22:10:18 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 09 Aug 2012 20:10:18 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. In-Reply-To: <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Comment #1 on issue 301 by linuxfx.... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 This bug is occurring in the 3.2.x versions released so far. This is really a bug or handle parameter is equal to all objects from the 3.2 series? From mrrichardwallace at ...43... Thu Aug 9 22:21:21 2012 From: mrrichardwallace at ...43... (mrrichardwallace at ...43...) Date: Thu, 9 Aug 2012 13:21:21 -0700 (PDT) Subject: [Gambas-user] (no subject) Message-ID: <1344543681.75708.YahooMailNeo@...2908...> http://www.hmclarnonandson.co.uk/wp-content/themes/twentyten/mynews.php?attack225.jpg From math.eber at ...221... Thu Aug 9 22:22:55 2012 From: math.eber at ...221... (Matti) Date: Thu, 09 Aug 2012 22:22:55 +0200 Subject: [Gambas-user] Inputbox In-Reply-To: <34278479.post@...1379...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> <34266149.post@...1379...> <50215C4C.8090603@...221...> <34278479.post@...1379...> Message-ID: <50241C1F.6080805@...221...> Better open a new thread about gb3 and Mint and Ubuntu, because I don't know anything about that! Am 09.08.2012 20:20, schrieb Cogier: > > Thanks again Matti-4. > > I took your advice regarding Gambas3 and I love the new collapsible SUBs and > the way that changing a button name automatically changes the code. > > BUT > > I have installed it on 2 machines one with Mint 13 and the other with Ubuntu > 12.04 and in both cases the program will run but clicking on the "Buttons" > has no effect. > > I installed it from the instructions on the Gambas site adding the PPA below > and installing with APT-GET. > http://ppa.launchpad.net/nemh/gambas3/ubuntu > > Am I doing something wrong? > > > Matti-4 wrote: >> >> Hmm. I don't have gb2 on my machine anymore, so I can't tell why it isn't >> centered. >> Btw: you should update to gb3, it's much better! >> >> Example code for a ShowModal window: >> >> Create a form FMain with just two buttons (btnCancel and btnInput). >> Then create a form FInput with the Text "What's your name?", a TextBox >> (TextBox1) and two buttons (btnCancel and btnOK). >> >> The FMain code is: >> >> Public Sub Form_Open() >> Me.Center >> End >> >> Public Sub btnCancel_Click() >> Me.Close >> End >> >> Public Sub btnInput_Click() >> FInput.ShowModal >> If Me.Tag = "" Then >> Print "User has cancelled." >> Else >> Print "The name is " & Me.Tag & "." >> Endif >> End >> >> The FInput code is: >> >> Public Sub btnCancel_Click() >> FMain.Tag = "" >> Me.Close >> End >> >> Public Sub btnOK_Click() >> FMain.Tag = TextBox1.Text >> Me.Close >> End >> >> Easy, isn't it? >> >> >> >> Am 07.08.2012 15:34, schrieb Cogier: >>> >>> Thanks for the reply Matti-4. >>> >>> I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. >>> >>> Can you give me any example code of the 'xyz.ShowModal'? >>> >>> Thanks for any help. >>> >>> >>> Matti-4 wrote: >>>> >>>> What is your Gambas version and your environment? >>>> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly centered. >>>> >>>> But as a workaround, you can easily create a tiny form for the input and >>>> open it >>>> with 'xyz.ShowModal'. That is surely centered, and it takes about the >>>> same >>>> amount of code. >>>> >>>> >>>> Am 06.08.2012 10:15, schrieb Cogier: >>>>> >>>>> Is there a way to centre the InputBox on the screen as I always see it >>>>> in >>>>> the >>>>> top left hand corner and it is missed by the 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... Thu Aug 9 22:33:42 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 13:33:42 -0700 Subject: [Gambas-user] Adding a date to a number Message-ID: <1344544422.3572.13.camel@...2901...> I have a date box that I want to use for adding a number of days to. EX: say user picks date 9/10/12(American style date format) and enters 30 days in a value box to add to the date and then display that in another text box. But I'm not sure what the formula in Gambas is for adding dates. I want to this: date + 30 days = future date 9/10/12 + 30 = 10/10/12. $date = dateBox.Value + 30 Is there a function for formating dates?? From sunblaster5 at ...626... Thu Aug 9 22:42:38 2012 From: sunblaster5 at ...626... (acidblue) Date: Thu, 9 Aug 2012 13:42:38 -0700 (PDT) Subject: [Gambas-user] Adding a date to a number In-Reply-To: <1344544422.3572.13.camel@...2901...> References: <1344544422.3572.13.camel@...2901...> Message-ID: <34279093.post@...1379...> I tried this and it works fine. Dim $date As Date $date = DateBox1.Value + vbxFlwrTime.Value txtFin.Text = $date acidblue wrote: > > I have a date box that I want to use for adding a number of days to. > EX: say user picks date 9/10/12(American style date format) and enters > 30 days in a value box to add to the date and then display that in > another text box. > > But I'm not sure what the formula in Gambas is for adding dates. > > I want to this: date + 30 days = future date > 9/10/12 + 30 = 10/10/12. > $date = dateBox.Value + 30 > Is there a function for formating dates?? > > > ------------------------------------------------------------------------------ > 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/Adding-a-date-to-a-number-tp34279055p34279093.html Sent from the gambas-user mailing list archive at Nabble.com. From support at ...2529... Thu Aug 9 23:12:55 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 14:12:55 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344540538.3445.9.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> Message-ID: <1344546775.3445.14.camel@...1833...> On Thu, 2012-08-09 at 12:28 -0700, John Spikowski wrote: > On Thu, 2012-08-09 at 11:40 -0700, John Spikowski wrote: > > Hi Mike, > > > > I tried to install Gambas 3 on my Ubuntu ARM chroot instance from > > the .deb and having issues with libffi5 > > > > libffi5 >= 3.0.9-3 > > > > apt-get install libffi5 > > > > "libffi5 is already the newest version." > > > > Please advise! > > > libffi.so.5 -> libffi.so.5.0.10 > > ??? It's not a Pi and it cost 10X as much but Android is standard issue and makes a good glue OS. I'm happy. (100% if I can get Gambas running on this puppy) -------------- next part -------------- A non-text attachment was scrubbed... Name: APC.jpg Type: image/jpeg Size: 168540 bytes Desc: not available URL: From jason349 at ...626... Thu Aug 9 23:30:18 2012 From: jason349 at ...626... (jason349 at ...626...) Date: Thu, 9 Aug 2012 21:30:18 +0000 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344546775.3445.14.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> Message-ID: <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> What's the make and model of the machine you've got? It looks interesting. -----Original Message----- From: John Spikowski Date: Thu, 09 Aug 2012 14:12:55 To: mailing list for gambas users Reply-To: mailing list for gambas users Subject: Re: [Gambas-user] Raspberry Pi On Thu, 2012-08-09 at 12:28 -0700, John Spikowski wrote: > On Thu, 2012-08-09 at 11:40 -0700, John Spikowski wrote: > > Hi Mike, > > > > I tried to install Gambas 3 on my Ubuntu ARM chroot instance from > > the .deb and having issues with libffi5 > > > > libffi5 >= 3.0.9-3 > > > > apt-get install libffi5 > > > > "libffi5 is already the newest version." > > > > Please advise! > > > libffi.so.5 -> libffi.so.5.0.10 > > ??? It's not a Pi and it cost 10X as much but Android is standard issue and makes a good glue OS. I'm happy. (100% if I can get Gambas running on this puppy) From support at ...2529... Thu Aug 9 23:41:07 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 14:41:07 -0700 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> Message-ID: <1344548467.3445.22.camel@...1833...> On Thu, 2012-08-09 at 21:30 +0000, jason349 at ...626... wrote: > What's the make and model of the machine you've got? > It looks interesting. It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and a MS USB wireless mouse. When I finish extending the USB plug-in adapter, it's going to look link a candelabra. ;-) Ubuntu running as chroot image runs really well even though the GUI is a VNC connection to Android. Apache and SSH servers work (wireless connection) and I can access the Ubuntu file system from Android Linux. I can't wait to see Gambas 3 running. From jussi.lahtinen at ...626... Thu Aug 9 23:50:28 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 10 Aug 2012 00:50:28 +0300 Subject: [Gambas-user] JIT bug 7 In-Reply-To: References: Message-ID: Again at home... Everything seems to work! Jussi On 4 August 2012 15:09, Emil Lenngren wrote: > OK, it should work now. > > 2012/7/28 Emil Lenngren > > > Can't really do anything right now. I am in Venice now on Vacation :) > > I come home in 8 days or something. > > > > If you want, you can post the llvm output, gdb stacktrace or whatever... > > > > /Emil > > > > 2012/7/28 Jussi Lahtinen > > > >> Before continuing my vacation again in countryside... > >> Here is some JIT bug. See attachment. > >> > >> Gambas 3 rev 4995 @ Xubuntu 12.04 64bit > >> > >> 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 gambas at ...1... Thu Aug 9 23:53:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 09 Aug 2012 23:53:35 +0200 Subject: [Gambas-user] Raspberry Pi In-Reply-To: <1344548467.3445.22.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> Message-ID: <5024315F.6090106@...1...> Le 09/08/2012 23:41, John Spikowski a ?crit : > On Thu, 2012-08-09 at 21:30 +0000, jason349 at ...626... wrote: >> What's the make and model of the machine you've got? >> It looks interesting. > > It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and > a MS USB wireless mouse. When I finish extending the USB plug-in > adapter, it's going to look link a candelabra. ;-) > > Ubuntu running as chroot image runs really well even though the GUI is a > VNC connection to Android. Apache and SSH servers work (wireless > connection) and I can access the Ubuntu file system from Android Linux. > > I can't wait to see Gambas 3 running. > Why don't you compile it from sources? -- Beno?t Minisini From support at ...2529... Fri Aug 10 00:07:08 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 15:07:08 -0700 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <5024315F.6090106@...1...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> Message-ID: <1344550028.3445.24.camel@...1833...> On Thu, 2012-08-09 at 23:53 +0200, Beno?t Minisini wrote: > Le 09/08/2012 23:41, John Spikowski a ?crit : > > On Thu, 2012-08-09 at 21:30 +0000, jason349 at ...626... wrote: > >> What's the make and model of the machine you've got? > >> It looks interesting. > > > > It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and > > a MS USB wireless mouse. When I finish extending the USB plug-in > > adapter, it's going to look link a candelabra. ;-) > > > > Ubuntu running as chroot image runs really well even though the GUI is a > > VNC connection to Android. Apache and SSH servers work (wireless > > connection) and I can access the Ubuntu file system from Android Linux. > > > > I can't wait to see Gambas 3 running. > > > > Why don't you compile it from sources? > Do you think that will get me by the libffi5 issue? From gambas at ...1... Fri Aug 10 00:38:37 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 10 Aug 2012 00:38:37 +0200 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <1344550028.3445.24.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> Message-ID: <50243BED.6080103@...1...> Le 10/08/2012 00:07, John Spikowski a ?crit : > On Thu, 2012-08-09 at 23:53 +0200, Beno?t Minisini wrote: >> Le 09/08/2012 23:41, John Spikowski a ?crit : >>> On Thu, 2012-08-09 at 21:30 +0000, jason349 at ...626... wrote: >>>> What's the make and model of the machine you've got? >>>> It looks interesting. >>> >>> It's a Samsung Galaxy Tab 2 10.1 with a Logitech Bluetooth keyboard and >>> a MS USB wireless mouse. When I finish extending the USB plug-in >>> adapter, it's going to look link a candelabra. ;-) >>> >>> Ubuntu running as chroot image runs really well even though the GUI is a >>> VNC connection to Android. Apache and SSH servers work (wireless >>> connection) and I can access the Ubuntu file system from Android Linux. >>> >>> I can't wait to see Gambas 3 running. >>> >> >> Why don't you compile it from sources? >> > > Do you think that will get me by the libffi5 issue? > No idea. I don't have any ARM device, and I don't make the binary packages you tried to install. -- Beno?t Minisini From support at ...2529... Fri Aug 10 00:49:18 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 15:49:18 -0700 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <50243BED.6080103@...1...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> Message-ID: <1344552558.3445.28.camel@...1833...> On Fri, 2012-08-10 at 00:38 +0200, Beno?t Minisini wrote: > > Do you think that will get me by the libffi5 issue? > > > > No idea. I don't have any ARM device, and I don't make the binary > packages you tried to install. > I got ScriptBasic, BaCon and BCX Basic ported to Android Linux so far, getting Gambas running as a chroot image under Android would be nice surprise. I'll put on 'protection' and give it a go. ;-) From gambas at ...1... Fri Aug 10 00:52:06 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 10 Aug 2012 00:52:06 +0200 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <1344552558.3445.28.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> Message-ID: <50243F16.30809@...1...> Le 10/08/2012 00:49, John Spikowski a ?crit : > On Fri, 2012-08-10 at 00:38 +0200, Beno?t Minisini wrote: > >>> Do you think that will get me by the libffi5 issue? >>> >> >> No idea. I don't have any ARM device, and I don't make the binary >> packages you tried to install. >> > > I got ScriptBasic, BaCon and BCX Basic ported to Android Linux so far, > getting Gambas running as a chroot image under Android would be nice > surprise. > > I'll put on 'protection' and give it a go. ;-) > Gambas cannot run on Android. It requires a GNU operating system at the moment. -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Aug 10 01:14:32 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 10 Aug 2012 02:14:32 +0300 Subject: [Gambas-user] Adding a date to a number In-Reply-To: <1344544422.3572.13.camel@...2901...> References: <1344544422.3572.13.camel@...2901...> Message-ID: http://gambasdoc.org/help/lang/dateadd?show Jussi On 9 August 2012 23:33, rocko wrote: > I have a date box that I want to use for adding a number of days to. > EX: say user picks date 9/10/12(American style date format) and enters > 30 days in a value box to add to the date and then display that in > another text box. > > But I'm not sure what the formula in Gambas is for adding dates. > > I want to this: date + 30 days = future date > 9/10/12 + 30 = 10/10/12. > $date = dateBox.Value + 30 > Is there a function for formating dates?? > > > > ------------------------------------------------------------------------------ > 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 support at ...2529... Fri Aug 10 01:32:11 2012 From: support at ...2529... (John Spikowski) Date: Thu, 09 Aug 2012 16:32:11 -0700 Subject: [Gambas-user] Raspberry Pi --> SGT2_10.1 Ubuntu ARM In-Reply-To: <50243F16.30809@...1...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> Message-ID: <1344555131.3445.30.camel@...1833...> On Fri, 2012-08-10 at 00:52 +0200, Beno?t Minisini wrote: > Le 10/08/2012 00:49, John Spikowski a ?crit : > Gambas cannot run on Android. It requires a GNU operating system at the > moment. > Gambas will be running on an ARM version of Ubuntu as a Android chroot image on my SGT2_10.1. (hopefully) From sunblaster5 at ...626... Fri Aug 10 01:34:11 2012 From: sunblaster5 at ...626... (acidblue) Date: Thu, 9 Aug 2012 16:34:11 -0700 (PDT) Subject: [Gambas-user] Questions about SQLIte and Data Objects Message-ID: <34279714.post@...1379...> 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 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'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. -- View this message in context: http://old.nabble.com/Questions-about-SQLIte-and-Data-Objects-tp34279714p34279714.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Fri Aug 10 01:46:20 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 10 Aug 2012 01:46:20 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: Message-ID: <50244BCC.7030708@...1...> Le 25/07/2012 08:15, Ricardo D?az Mart?n a ?crit : > Hi, > > I wonder if there is some way to read the pen pressure from wacom like > tablets in gambas. I have read some documentations for java and looks like > wacon tablets works like a normal mouse with some extra properties you can > get: pressure, rubber mode, etc... > > I know there is qt4 support for this but I have not experience with qt4. I > can do it in java but of course I prefer gambas3 :-p > > Regards, > Ricardo D?az Hi, Since revision #5024, you can catch tablet events with Gambas. But I can't test it, so I need you now! At the moment, it works like that: 1) Only DrawingArea can catch tablet events. You need to set its new 'UseTablet' property to TRUE. 2) Then each tablet event will raise a MousePress, MouseMove or MouseRelease event. 3) The properties of the tablet event are stored inside the new 'Pointer' static class. 4) The 'Pointer' class has the following properties: - X : the floating point X global coordinate. - Y : the floating point Y global coordinate. - XTilt: the X tilt. - YTilt: the Y tilt. - Pressure: the pressure. - Rotation: the rotation. - Type: the pointer type, which be either Pointer.Mouse, Pointer.Pen, Pointer.Eraser or Pointer.Cursor. I have no idea if it works. Maybe I will buy a Wacom tablet, I don't know. But now I'm waiting for your returns! Thanks in advance. Regards, -- Beno?t Minisini From sunblaster5 at ...626... Fri Aug 10 02:24:38 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 17:24:38 -0700 Subject: [Gambas-user] Check if a form is opened/show Message-ID: <1344558278.4970.3.camel@...2901...> Is there a way to check if a form is opened?? If Fmain.Open = True Then do...something endif I tries .Show but got an error. From sunblaster5 at ...626... Fri Aug 10 07:13:22 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 09 Aug 2012 22:13:22 -0700 Subject: [Gambas-user] Getting data from table Message-ID: <1344575602.2738.9.camel@...2901...> I've read the help files and seen a lot of examples on how to add data to a table but I can' find any examples on how to get data from a table. I need to get total number of fields from a table. I've looked at: 'Property Read Count As Integer' in the Help file. Can i simply put this at the top of my class and then do a Print Count ?? I need the Count so i can iterate thru the fields and extract data, something like: For Each Count get specific field do something with field Next I suppose I could use the primary key ID as the For Each loop But not sure about that. From oceanosoftlapalma at ...626... Fri Aug 10 08:01:52 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Fri, 10 Aug 2012 08:01:52 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <50244BCC.7030708@...1...> References: <50244BCC.7030708@...1...> Message-ID: Thanks Benoit, I'm going directly to the shop to buy a wacom tablet to test it. Hope to try it this weekend. I'll keep you informed. Regards, 2012/8/10 Beno?t Minisini > Le 25/07/2012 08:15, Ricardo D?az Mart?n a ?crit : > > Hi, > > > > I wonder if there is some way to read the pen pressure from wacom like > > tablets in gambas. I have read some documentations for java and looks > like > > wacon tablets works like a normal mouse with some extra properties you > can > > get: pressure, rubber mode, etc... > > > > I know there is qt4 support for this but I have not experience with qt4. > I > > can do it in java but of course I prefer gambas3 :-p > > > > Regards, > > Ricardo D?az > > Hi, > > Since revision #5024, you can catch tablet events with Gambas. But I > can't test it, so I need you now! > > At the moment, it works like that: > > 1) Only DrawingArea can catch tablet events. You need to set its new > 'UseTablet' property to TRUE. > > 2) Then each tablet event will raise a MousePress, MouseMove or > MouseRelease event. > > 3) The properties of the tablet event are stored inside the new > 'Pointer' static class. > > 4) The 'Pointer' class has the following properties: > > - X : the floating point X global coordinate. > - Y : the floating point Y global coordinate. > - XTilt: the X tilt. > - YTilt: the Y tilt. > - Pressure: the pressure. > - Rotation: the rotation. > - Type: the pointer type, which be either Pointer.Mouse, Pointer.Pen, > Pointer.Eraser or Pointer.Cursor. > > I have no idea if it works. Maybe I will buy a Wacom tablet, I don't > know. But now I'm waiting for your returns! > > Thanks in advance. > > 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 shanep1967 at ...169... Fri Aug 10 08:27:51 2012 From: shanep1967 at ...169... (Shane) Date: Fri, 10 Aug 2012 16:27:51 +1000 Subject: [Gambas-user] Getting data from table In-Reply-To: <1344575602.2738.9.camel@...2901...> References: <1344575602.2738.9.camel@...2901...> Message-ID: <5024A9E7.9000504@...169...> On 10/08/12 15:13, rocko wrote: > I've read the help files and seen a lot of examples on how > to add data to a table but I can' find any examples on how > to get data from a table. > > I need to get total number of fields from a table. I've looked at: > 'Property Read Count As Integer' in the Help file. > Can i simply put this at the top of my class and then do a > Print Count ?? > > I need the Count so i can iterate thru the fields and extract data, > something like: > For Each Count > get specific field > do something with field > Next > I suppose I could use the primary key ID as the For Each loop > But not sure about that. > > Try this myResult = dbcon.find(myTable, "id = &1",ID) for each myResult TextBox1.text = myResult!myField1 TextBox2.text = myResult!myField2 next > > > ------------------------------------------------------------------------------ > 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 shanep1967 at ...169... Fri Aug 10 08:32:00 2012 From: shanep1967 at ...169... (Shane) Date: Fri, 10 Aug 2012 16:32:00 +1000 Subject: [Gambas-user] Questions about SQLIte and Data Objects In-Reply-To: <34279714.post@...1379...> References: <34279714.post@...1379...> Message-ID: <5024AAE0.90506@...169...> On 10/08/12 09:34, acidblue wrote: > 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. use format command > > Is there a way to NOT display the time, just the date? > > 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'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. From shanep1967 at ...169... Fri Aug 10 08:44:34 2012 From: shanep1967 at ...169... (Shane) Date: Fri, 10 Aug 2012 16:44:34 +1000 Subject: [Gambas-user] Check if a form is opened/show In-Reply-To: <1344558278.4970.3.camel@...2901...> References: <1344558278.4970.3.camel@...2901...> Message-ID: <5024ADD2.4050203@...169...> On 10/08/12 10:24, rocko wrote: > Is there a way to check if a form is opened?? > > If Fmain.Open = True Then > do...something > endif > > I tries .Show but got an error. is this what you need ? http://gambasdoc.org/help/comp/gb.qt4/window/visible?v3 time to read the docs ;-) > > > ------------------------------------------------------------------------------ > 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 ...1950... Fri Aug 10 09:59:01 2012 From: Gambas at ...1950... (Caveat) Date: Fri, 10 Aug 2012 09:59:01 +0200 Subject: [Gambas-user] Getting data from table In-Reply-To: <5024A9E7.9000504@...169...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> Message-ID: <5024BF45.4070802@...1950...> In java you'd use ResultSetMetaData, but in Gambas I adopted a slightly different approach using the describe function...of course it's not as portable...but it will give a list of columns for a given table in MySQL (which I think was your original question)... Private Function getColumns(tableName As String) As Collection Dim coll As New Collection Dim tmpRes As Result Dim sql As String Dim column As DbColumn coll = New Collection sql = "describe " & tableName tmpRes = DataAccess.executeFetch(sql) For Each tmpRes column = New DbColumn column.setName(tmpRes["Field"]) column.setType(tmpRes["Type"]) column.setNullable(tmpRes["Null"]) column.setKey(tmpRes["Key"]) column.setDefault(tmpRes["Default"]) column.setExtra(tmpRes["Extra"]) coll.Add(column, column.getName()) Next Return coll Catch message("Got error: " & Error.Text & " @ " & Error.Where) End Much of this code is a few years old, so there may be new features in Gambas that let you access the RSMD (or even old features that I just missed at the time!). Kind regards, Caveat P.S. In case you can't manage without it, here's my original DBColumn class too (yes, it tries to make the Gambas experience more java-like... so sue me :-) ): ' Gambas class file Private fieldValues As Collection Private fields As String[] Public Const NAME_INDEX As Integer = 0 Public Const TARGET_NAME_INDEX As Integer = 1 Public Const TYPE_INDEX As Integer = 2 Public Const NULLABLE_INDEX As Integer = 3 Public Const KEY_INDEX As Integer = 4 Public Const DEFAULT_VAL_INDEX As Integer = 5 Public Const EXTRA_INDEX As Integer = 6 Public Function getFieldByIndex(fieldIndex As Integer) As String If fieldIndex < 0 Or fieldIndex > getFieldCount() - 1 Then Return "" Else Return getFieldValues()[getFields()[fieldIndex]] End If End Public Function getFields() As String[] If fields = Null Then fields = New String[] fields.Add("Name", NAME_INDEX) fields.Add("Target Name", TARGET_NAME_INDEX) fields.Add("Type", TYPE_INDEX) fields.Add("Nullable", NULLABLE_INDEX) fields.Add("Key", KEY_INDEX) fields.Add("Default Value", DEFAULT_VAL_INDEX) fields.Add("Extra", EXTRA_INDEX) End If Return fields End Private Function getFieldByName(fieldName As String) As String Return getFieldValues()[fieldName] End Private Sub setFieldByName(fieldName As String, fieldValue As String) getFieldValues()[fieldName] = fieldValue End Private Function getFieldValues() As Collection If fieldValues = Null Then fieldValues = New Collection End If Return fieldValues End Public Sub setName(newName As String) setFieldByName("Name", newName) End Public Function getName() As String Return getFieldByName("Name") End Public Sub setTargetName(newName As String) setFieldByName("Target Name", newName) End Public Function getTargetName() As String Return getFieldByName("Target Name") End Public Sub setType(newType As String) setFieldByName("Type", newType) End Public Function getType() As String Return getFieldByName("Type") End Public Sub setNullable(newNullable As String) setFieldByName("Nullable", newNullable) End Public Function getNullable() As String Return getFieldByName("Nullable") End Public Sub setKey(newKey As String) setFieldByName("Key", newKey) End Public Function getKey() As String Return getFieldByName("Key") End Public Sub setDefault(newDefault As String) setFieldByName("Default Value", newDefault) End Public Function getDefault() As String Return getFieldByName("Default Value") End Public Sub setExtra(newExtra As String) setFieldByName("Extra", newExtra) End Public Function getExtra() As String Return getFieldByName("Extra") End Public Function isPrimaryKey() As Boolean If getKey() = "PRI" Then Logger.logMessage("Returning TRUE from isPrimaryKey()") Return True Else Logger.logMessage("Returning FALSE from isPrimaryKey()") Return False End If End Public Function getFieldCount() As Integer Return getFields().Count End On 10/08/12 08:27, Shane wrote: > On 10/08/12 15:13, rocko wrote: >> I've read the help files and seen a lot of examples on how >> to add data to a table but I can' find any examples on how >> to get data from a table. >> >> I need to get total number of fields from a table. I've looked at: >> 'Property Read Count As Integer' in the Help file. >> Can i simply put this at the top of my class and then do a >> Print Count ?? >> >> I need the Count so i can iterate thru the fields and extract data, >> something like: >> For Each Count >> get specific field >> do something with field >> Next >> I suppose I could use the primary key ID as the For Each loop >> But not sure about that. >> >> > Try this > > myResult = dbcon.find(myTable, "id = &1",ID) > for each myResult > TextBox1.text = myResult!myField1 > TextBox2.text = myResult!myField2 > next > >> >> ------------------------------------------------------------------------------ >> 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 support at ...2529... Fri Aug 10 10:17:49 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 01:17:49 -0700 Subject: [Gambas-user] GT2_10.1 Ubuntu ARM In-Reply-To: <50243F16.30809@...1...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> Message-ID: <1344586669.8613.5.camel@...1833...> On Fri, 2012-08-10 at 00:52 +0200, Beno?t Minisini wrote: > > Gambas cannot run on Android. It requires a GNU operating system at the > moment. > I'm seeing some strange version checking going on as I try to get autoconf, automake and libtool installed. When I run apt-get install autoconf, I get the following error when I just built m4 from scratch successfully. It almost seems like the 'BackTrack' distro is calling the shots what can and can't be installed via apt-get. (shooting at stars with that guess) I'm going to try and build autoconf, automake and libtool from source if this is the case. ====================== All 69 tests passed (8 tests were not run) ====================== make[5]: Leaving directory `/root/build/m4-1.4.13/tests' make[4]: Leaving directory `/root/build/m4-1.4.13/tests' make[3]: Leaving directory `/root/build/m4-1.4.13/tests' make[2]: Leaving directory `/root/build/m4-1.4.13/tests' make[1]: Leaving directory `/root/build/m4-1.4.13' root at ...40...:~/build/m4-1.4.13# cd .. root at ...40...:~/build# apt-get install autoconf Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: autoconf: Depends: m4 (>= 1.4.13) but it is not installable E: Broken packages root at ...40...:~/build# From support at ...2529... Fri Aug 10 11:43:53 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 02:43:53 -0700 Subject: [Gambas-user] GT2_10.1 Ubuntu ARM In-Reply-To: <1344586669.8613.5.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> Message-ID: <1344591833.8613.14.camel@...1833...> On Fri, 2012-08-10 at 01:17 -0700, John Spikowski wrote: > On Fri, 2012-08-10 at 00:52 +0200, Beno?t Minisini wrote: > > > > > Gambas cannot run on Android. It requires a GNU operating system at the > > moment. > > > > I'm seeing some strange version checking going on as I try to get > autoconf, automake and libtool installed. When I run apt-get install > autoconf, I get the following error when I just built m4 from scratch > successfully. It almost seems like the 'BackTrack' distro is calling the > shots what can and can't be installed via apt-get. (shooting at stars > with that guess) > > I'm going to try and build autoconf, automake and libtool from source if > this is the case. > > ====================== > All 69 tests passed > (8 tests were not run) > ====================== > make[5]: Leaving directory `/root/build/m4-1.4.13/tests' > make[4]: Leaving directory `/root/build/m4-1.4.13/tests' > make[3]: Leaving directory `/root/build/m4-1.4.13/tests' > make[2]: Leaving directory `/root/build/m4-1.4.13/tests' > make[1]: Leaving directory `/root/build/m4-1.4.13' > root at ...40...:~/build/m4-1.4.13# cd .. > root at ...40...:~/build# apt-get install autoconf > Reading package lists... Done > Building dependency tree > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > autoconf: Depends: m4 (>= 1.4.13) but it is not installable > E: Broken packages > root at ...40...:~/build# > At this point my guess is that the BackTrack5 repositories aren't releasing the auto* utilities as they haven't passed their 'bullet proof' suite yet. I'm build the suite from source and running 'make check' on each to validate it's integrity. I can't wait for the apt-get of the Gambas dependencies to see what is being 'held back'. I know the qt4 may have to be a manual install. I remember something about a 'hold back' when doing my last apt-get update/upgrade. I'm curious, was the Raspberry Pi Gambas3 binary distribution built with a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the Pi? From gambas at ...2524... Fri Aug 10 11:56:47 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 09:56:47 +0000 Subject: [Gambas-user] Issue 300 in gambas: When using XmlReader, the memory isn't released after subroutine ends In-Reply-To: <0-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> Updates: Status: Fixed Owner: adrien.p... at ...626... Labels: -Version Version-TRUNK Comment #1 on issue 300 by adrien.p... at ...626...: When using XmlReader, the memory isn't released after subroutine ends http://code.google.com/p/gambas/issues/detail?id=300 Thanks for your report, the bug is fixed in revision #5025. From gambas.fr at ...626... Fri Aug 10 14:21:47 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 10 Aug 2012 14:21:47 +0200 Subject: [Gambas-user] Second Form not reading Public variable from first form In-Reply-To: <1344542236.3572.4.camel@...2901...> References: <1344536790.1855.19.camel@...2901...> <28153E0F-AC30-4B64-84A1-A9A0B45CA5F4@...1896...> <1344540148.1855.24.camel@...2901...> <361EF153-177E-4B48-821D-20DE6CA5C808@...1896...> <1344541047.1855.27.camel@...2901...> <1344542236.3572.4.camel@...2901...> Message-ID: Then if you use only one connection you can use the last opened connection in all the project by using DB in the first form : Public $hConn as new Connection Public Sub _New() $hConn.host= $hConn.Name= $hConn.Type="sqlite" $hConn.Open Form2.Show End In Form2 : Public Sub Form_Open() dim hResult as Result hResult = DB.Find("mytable", "id=&1", 32) if hResult.Available then TextBox1.Text = hResult["field"] Else Message.Info("No result Found") endif end From gambas at ...2524... Fri Aug 10 14:38:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 12:38:19 +0000 Subject: [Gambas-user] Issue 300 in gambas: When using XmlReader, the memory isn't released after subroutine ends In-Reply-To: <1-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> <0-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11883370549629361276-gambas=googlecode.com@...2524...> Comment #2 on issue 300 by uAle... at ...626...: When using XmlReader, the memory isn't released after subroutine ends http://code.google.com/p/gambas/issues/detail?id=300 I have tested it with my original code (extraction of the DomotiGa XMLRPC) and i can confirm it is solved now. Only i hit a compilation bug with the latest revision 5025. I will report this as a new bug. From jussi.lahtinen at ...626... Fri Aug 10 14:56:23 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 10 Aug 2012 15:56:23 +0300 Subject: [Gambas-user] Check if a form is opened/show In-Reply-To: <1344558278.4970.3.camel@...2901...> References: <1344558278.4970.3.camel@...2901...> Message-ID: If Form.Visible is not what you need, then you can declare Opened boolean to form and set it true in Form_Open event. Jussi On 10 August 2012 03:24, rocko wrote: > Is there a way to check if a form is opened?? > > If Fmain.Open = True Then > do...something > endif > > I tries .Show but got an error. > > > > > > ------------------------------------------------------------------------------ > 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... Fri Aug 10 15:27:06 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 13:27:06 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" Message-ID: <0-6813199134517018827-11114653160674169504-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 302 by uAle... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 1) Describe the problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5025 (if you use a development version) Operating system: Linux Distribution: Lubuntu ( LXDE) Architecture: x86 GUI component: QT4? / GTK+? Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. I run on r5025: ./reconf-all (success) ./configure -C (success) make (fails) The "make" output is as follows: /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/librsvg-2 -I/usr/include/gtk-unix-print-2.0 -I../share -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -MT gb_gtk_la-gmouse.lo -MD -MP -MF .deps/gb_gtk_la-gmouse.Tpo -c -o gb_gtk_la-gmouse.lo `test -f 'gmouse.cpp' || echo './'`gmouse.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/librsvg-2 -I/usr/include/gtk-unix-print-2.0 -I../share -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -MT gb_gtk_la-gmouse.lo -MD -MP -MF .deps/gb_gtk_la-gmouse.Tpo -c gmouse.cpp -fPIC -DPIC -o .libs/gb_gtk_la-gmouse.o gmouse.cpp: In static member function ?static int gMouse::getType()?: gmouse.cpp:233: error: ?gdk_device_get_source? was not declared in this scope make[5]: *** [gb_gtk_la-gmouse.lo] Error 1 make[5]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/gambas3-r5025/gb.gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/gambas3-r5025' make: *** [all] Error 2 This worked fine on gambas 3.2.1. I noticed new code has been added in "gmouse.cpp" which cases this "problem", when i restore the 3.2.1 version into the r5025 trunk, it compiles fine. All the buildlog are attached to this issue. 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. 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: buildlog.tar.gz 34.9 KB From gambas at ...2524... Fri Aug 10 16:14:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:14:46 +0000 Subject: [Gambas-user] =?windows-1252?q?Issue_303_in_gambas=3A_rev_5025_ma?= =?windows-1252?q?ke_fails_with_=22gdk=5Fdevice=5Fget=5Fsource=92_w?= =?windows-1252?q?as_not_declared_in_this_scope=22?= Message-ID: <0-6813199134517018827-5218257055654672134-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 303 by sot... at ...626...: rev 5025 make fails with "gdk_device_get_source? was not declared in this scope" http://code.google.com/p/gambas/issues/detail?id=303 1) Describe the problem. make abort in gb.gtk/src 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=2.6.32-42-generic Architecture=x86_64 Memory=4059304 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.4 LTS" Desktop=Gnome [Gambas 3] Version=3.2.90 rev # Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 3) Provide a little project that reproduces the bug or the crash. NA 4) If your project needs a database, try to provide it, or part of it. NA 5) Explain clearly how to reproduce the bug or the crash. NA 6) By doing that carefully, you have done 50% of the bug fix job! Attachments: 5025_make 495 KB From gambas at ...2524... Fri Aug 10 16:29:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:29:19 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" In-Reply-To: <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Updates: Status: Started Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #1 on issue 302 by benoit.m... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 Is it fixed by revision #5026? Note: This 3.2.1, not 3.21! From gambas at ...2524... Fri Aug 10 16:30:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:30:19 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" In-Reply-To: <1-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Comment #2 on issue 302 by benoit.m... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 Issue 303 has been merged into this issue. From gambas at ...2524... Fri Aug 10 16:31:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:31:19 +0000 Subject: [Gambas-user] =?windows-1252?q?Issue_303_in_gambas=3A_rev_5025_ma?= =?windows-1252?q?ke_fails_with_=22gdk=5Fdevice=5Fget=5Fsource=92_w?= =?windows-1252?q?as_not_declared_in_this_scope=22?= In-Reply-To: <0-6813199134517018827-5218257055654672134-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5218257055654672134-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5218257055654672134-gambas=googlecode.com@...2524...> Updates: Status: Duplicate Labels: -Version Version-TRUNK Mergedinto: 302 Comment #1 on issue 303 by benoit.m... at ...626...: rev 5025 make fails with "gdk_device_get_source? was not declared in this scope" http://code.google.com/p/gambas/issues/detail?id=303 (No comment was entered for this change.) From gambas at ...2524... Fri Aug 10 16:32:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:32:19 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. In-Reply-To: <1-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Comment #2 on issue 301 by benoit.m... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 Sorry, I don't understand a word of what you wrote. Can you try again? From gambas at ...2524... Fri Aug 10 16:33:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:33:19 +0000 Subject: [Gambas-user] Issue 282 in gambas: xmlreader.node.value charset problems In-Reply-To: <12-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> References: <12-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> <0-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> Message-ID: <13-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #13 on issue 282 by benoit.m... at ...626...: xmlreader.node.value charset problems http://code.google.com/p/gambas/issues/detail?id=282 Apparently it is fixed? From gambas at ...2524... Fri Aug 10 16:34:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:34:19 +0000 Subject: [Gambas-user] Issue 282 in gambas: xmlreader.node.value charset problems In-Reply-To: <13-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> References: <13-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> <0-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> Message-ID: <14-6813199134517018827-12350382485683711115-gambas=googlecode.com@...2524...> Comment #14 on issue 282 by Kokok... at ...626...: xmlreader.node.value charset problems http://code.google.com/p/gambas/issues/detail?id=282 Yes, thanks. From gambas at ...2524... Fri Aug 10 16:48:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:48:38 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" In-Reply-To: <2-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Comment #3 on issue 302 by uAle... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 Sorry, you're right, i meant 3.2.1. revision #5026 compiles successfully, thanks for fixing this one. From gambas at ...2524... Fri Aug 10 16:54:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 10 Aug 2012 14:54:52 +0000 Subject: [Gambas-user] Issue 302 in gambas: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" In-Reply-To: <3-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> <0-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-11114653160674169504-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 302 by benoit.m... at ...626...: Gambas3 r5025 doesn't compile on Lubuntu 10.04 (it worked fine on 3.21) - because of the "gmouse.cpp" http://code.google.com/p/gambas/issues/detail?id=302 (No comment was entered for this change.) From sunblaster5 at ...626... Fri Aug 10 18:15:30 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 10 Aug 2012 09:15:30 -0700 Subject: [Gambas-user] Getting data from table In-Reply-To: <5024A9E7.9000504@...169...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> Message-ID: <1344615330.1993.10.camel@...2901...> Should the table name be in parenthesis?? I'm getting an error: "Unknown Identifier: inventory" sResult = $hConn.Find(inventory, "id = &1 ", ID) For Each sResult $date1 = sResult!endDate $date2 = sResult!startDate Print DateDiff($date1, $date2, gb.Day) On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: > On 10/08/12 15:13, rocko wrote: > > I've read the help files and seen a lot of examples on how > > to add data to a table but I can' find any examples on how > > to get data from a table. > > > > I need to get total number of fields from a table. I've looked at: > > 'Property Read Count As Integer' in the Help file. > > Can i simply put this at the top of my class and then do a > > Print Count ?? > > > > I need the Count so i can iterate thru the fields and extract data, > > something like: > > For Each Count > > get specific field > > do something with field > > Next > > I suppose I could use the primary key ID as the For Each loop > > But not sure about that. > > > > > Try this > > myResult = dbcon.find(myTable, "id = &1",ID) > for each myResult > TextBox1.text = myResult!myField1 > TextBox2.text = myResult!myField2 > next > > > > > > > ------------------------------------------------------------------------------ > > 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 charlie at ...2793... Fri Aug 10 18:16:13 2012 From: charlie at ...2793... (Cogier) Date: Fri, 10 Aug 2012 09:16:13 -0700 (PDT) Subject: [Gambas-user] Inputbox In-Reply-To: <50241C1F.6080805@...221...> References: <34259974.post@...1379...> <502008AD.6020103@...221...> <34266149.post@...1379...> <50215C4C.8090603@...221...> <34278479.post@...1379...> <50241C1F.6080805@...221...> Message-ID: <34282627.post@...1379...> The InputBox problem does seem to relate to which desktop is being used. With regard to the "Button" problem - I am trying to find out more as if I create a new program and create "Button1" it all works as expected. It may be a conversion issue from Gambas 2 to 3. If I can reliably recreate the problem I will open a new thread. Thanks again for your help. Matti-4 wrote: > > Better open a new thread about gb3 and Mint and Ubuntu, because I don't > know > anything about that! > > Am 09.08.2012 20:20, schrieb Cogier: >> >> Thanks again Matti-4. >> >> I took your advice regarding Gambas3 and I love the new collapsible SUBs >> and >> the way that changing a button name automatically changes the code. >> >> BUT >> >> I have installed it on 2 machines one with Mint 13 and the other with >> Ubuntu >> 12.04 and in both cases the program will run but clicking on the >> "Buttons" >> has no effect. >> >> I installed it from the instructions on the Gambas site adding the PPA >> below >> and installing with APT-GET. >> http://ppa.launchpad.net/nemh/gambas3/ubuntu >> >> Am I doing something wrong? >> >> >> Matti-4 wrote: >>> >>> Hmm. I don't have gb2 on my machine anymore, so I can't tell why it >>> isn't >>> centered. >>> Btw: you should update to gb3, it's much better! >>> >>> Example code for a ShowModal window: >>> >>> Create a form FMain with just two buttons (btnCancel and btnInput). >>> Then create a form FInput with the Text "What's your name?", a TextBox >>> (TextBox1) and two buttons (btnCancel and btnOK). >>> >>> The FMain code is: >>> >>> Public Sub Form_Open() >>> Me.Center >>> End >>> >>> Public Sub btnCancel_Click() >>> Me.Close >>> End >>> >>> Public Sub btnInput_Click() >>> FInput.ShowModal >>> If Me.Tag = "" Then >>> Print "User has cancelled." >>> Else >>> Print "The name is " & Me.Tag & "." >>> Endif >>> End >>> >>> The FInput code is: >>> >>> Public Sub btnCancel_Click() >>> FMain.Tag = "" >>> Me.Close >>> End >>> >>> Public Sub btnOK_Click() >>> FMain.Tag = TextBox1.Text >>> Me.Close >>> End >>> >>> Easy, isn't it? >>> >>> >>> >>> Am 07.08.2012 15:34, schrieb Cogier: >>>> >>>> Thanks for the reply Matti-4. >>>> >>>> I am using Gambas 2.23, Ubuntu 12.04, Gnome 3. >>>> >>>> Can you give me any example code of the 'xyz.ShowModal'? >>>> >>>> Thanks for any help. >>>> >>>> >>>> Matti-4 wrote: >>>>> >>>>> What is your Gambas version and your environment? >>>>> Here (Gambas 3, OpenSuse 12.1, KDE), the InputBox is correctly >>>>> centered. >>>>> >>>>> But as a workaround, you can easily create a tiny form for the input >>>>> and >>>>> open it >>>>> with 'xyz.ShowModal'. That is surely centered, and it takes about the >>>>> same >>>>> amount of code. >>>>> >>>>> >>>>> Am 06.08.2012 10:15, schrieb Cogier: >>>>>> >>>>>> Is there a way to centre the InputBox on the screen as I always see >>>>>> it >>>>>> in >>>>>> the >>>>>> top left hand corner and it is missed by the 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 >>> >>> >> > > ------------------------------------------------------------------------------ > 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/Inputbox-tp34259974p34282627.html Sent from the gambas-user mailing list archive at Nabble.com. From linuxos at ...1896... Fri Aug 10 18:18:23 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Fri, 10 Aug 2012 18:18:23 +0200 Subject: [Gambas-user] Getting data from table In-Reply-To: <1344615330.1993.10.camel@...2901...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> Message-ID: <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> Yes, in parenthesis Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 10 ao?t 2012 ? 18:15, rocko a ?crit : > Should the table name be in parenthesis?? > I'm getting an error: > "Unknown Identifier: inventory" > > sResult = $hConn.Find(inventory, "id = &1 ", ID) > For Each sResult > $date1 = sResult!endDate > $date2 = sResult!startDate > Print DateDiff($date1, $date2, gb.Day) > > On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: >> On 10/08/12 15:13, rocko wrote: >>> I've read the help files and seen a lot of examples on how >>> to add data to a table but I can' find any examples on how >>> to get data from a table. >>> >>> I need to get total number of fields from a table. I've looked at: >>> 'Property Read Count As Integer' in the Help file. >>> Can i simply put this at the top of my class and then do a >>> Print Count ?? >>> >>> I need the Count so i can iterate thru the fields and extract data, >>> something like: >>> For Each Count >>> get specific field >>> do something with field >>> Next >>> I suppose I could use the primary key ID as the For Each loop >>> But not sure about that. >>> >>> >> Try this >> >> myResult = dbcon.find(myTable, "id = &1",ID) >> for each myResult >> TextBox1.text = myResult!myField1 >> TextBox2.text = myResult!myField2 >> next >> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 > > > > ------------------------------------------------------------------------------ > 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 linuxos at ...1896... Fri Aug 10 18:21:55 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Fri, 10 Aug 2012 18:21:55 +0200 Subject: [Gambas-user] Getting data from table In-Reply-To: <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> Message-ID: <1DA10A5E-C198-4399-98CC-2B757157834C@...1896...> Sorry, in apostrophes. Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 10 ao?t 2012 ? 18:18, Olivier Cruilles a ?crit : > Yes, in parenthesis > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 10 ao?t 2012 ? 18:15, rocko a ?crit : > >> Should the table name be in parenthesis?? >> I'm getting an error: >> "Unknown Identifier: inventory" >> >> sResult = $hConn.Find(inventory, "id = &1 ", ID) >> For Each sResult >> $date1 = sResult!endDate >> $date2 = sResult!startDate >> Print DateDiff($date1, $date2, gb.Day) >> >> On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: >>> On 10/08/12 15:13, rocko wrote: >>>> I've read the help files and seen a lot of examples on how >>>> to add data to a table but I can' find any examples on how >>>> to get data from a table. >>>> >>>> I need to get total number of fields from a table. I've looked at: >>>> 'Property Read Count As Integer' in the Help file. >>>> Can i simply put this at the top of my class and then do a >>>> Print Count ?? >>>> >>>> I need the Count so i can iterate thru the fields and extract data, >>>> something like: >>>> For Each Count >>>> get specific field >>>> do something with field >>>> Next >>>> I suppose I could use the primary key ID as the For Each loop >>>> But not sure about that. >>>> >>>> >>> Try this >>> >>> myResult = dbcon.find(myTable, "id = &1",ID) >>> for each myResult >>> TextBox1.text = myResult!myField1 >>> TextBox2.text = myResult!myField2 >>> next >>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 >> >> >> >> ------------------------------------------------------------------------------ >> 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... Fri Aug 10 18:26:25 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 10 Aug 2012 09:26:25 -0700 Subject: [Gambas-user] Getting data from table In-Reply-To: <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> Message-ID: <1344615985.1993.12.camel@...2901...> Should the 'ID' at the end be As Integer or Result?? I have it As Integer ATM, but nothing gets printed. On Fri, 2012-08-10 at 18:18 +0200, Olivier Cruilles wrote: > Yes, in parenthesis > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 10 ao?t 2012 ? 18:15, rocko a ?crit : > > > Should the table name be in parenthesis?? > > I'm getting an error: > > "Unknown Identifier: inventory" > > > > sResult = $hConn.Find(inventory, "id = &1 ", ID) > > For Each sResult > > $date1 = sResult!endDate > > $date2 = sResult!startDate > > Print DateDiff($date1, $date2, gb.Day) > > > > On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: > >> On 10/08/12 15:13, rocko wrote: > >>> I've read the help files and seen a lot of examples on how > >>> to add data to a table but I can' find any examples on how > >>> to get data from a table. > >>> > >>> I need to get total number of fields from a table. I've looked at: > >>> 'Property Read Count As Integer' in the Help file. > >>> Can i simply put this at the top of my class and then do a > >>> Print Count ?? > >>> > >>> I need the Count so i can iterate thru the fields and extract data, > >>> something like: > >>> For Each Count > >>> get specific field > >>> do something with field > >>> Next > >>> I suppose I could use the primary key ID as the For Each loop > >>> But not sure about that. > >>> > >>> > >> Try this > >> > >> myResult = dbcon.find(myTable, "id = &1",ID) > >> for each myResult > >> TextBox1.text = myResult!myField1 > >> TextBox2.text = myResult!myField2 > >> next > >> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> 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 > > > > > > > > ------------------------------------------------------------------------------ > > 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... Fri Aug 10 18:33:21 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 10 Aug 2012 09:33:21 -0700 Subject: [Gambas-user] Getting data from table In-Reply-To: <1DA10A5E-C198-4399-98CC-2B757157834C@...1896...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> <1DA10A5E-C198-4399-98CC-2B757157834C@...1896...> Message-ID: <1344616401.1993.16.camel@...2901...> Oh yes, I meant quotes, These: " " NOT These: () apostrophes gives an error: "Unexpected end of line" CODE: sResult = $hConn.Find("inventory", "id = &1 ", ID) For Each sResult $date1 = sResult!endDate $date2 = sResult!startDate Print DateDiff($date1, $date2, gb.Day) Next On Fri, 2012-08-10 at 18:21 +0200, Olivier Cruilles wrote: > Sorry, in apostrophes. > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 10 ao?t 2012 ? 18:18, Olivier Cruilles a ?crit : > > > Yes, in parenthesis > > > > > > Cordialement, > > > > Olivier Cruilles > > Mail: linuxos at ...1896... > > > > Le 10 ao?t 2012 ? 18:15, rocko a ?crit : > > > >> Should the table name be in parenthesis?? > >> I'm getting an error: > >> "Unknown Identifier: inventory" > >> > >> sResult = $hConn.Find(inventory, "id = &1 ", ID) > >> For Each sResult > >> $date1 = sResult!endDate > >> $date2 = sResult!startDate > >> Print DateDiff($date1, $date2, gb.Day) > >> > >> On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: > >>> On 10/08/12 15:13, rocko wrote: > >>>> I've read the help files and seen a lot of examples on how > >>>> to add data to a table but I can' find any examples on how > >>>> to get data from a table. > >>>> > >>>> I need to get total number of fields from a table. I've looked at: > >>>> 'Property Read Count As Integer' in the Help file. > >>>> Can i simply put this at the top of my class and then do a > >>>> Print Count ?? > >>>> > >>>> I need the Count so i can iterate thru the fields and extract data, > >>>> something like: > >>>> For Each Count > >>>> get specific field > >>>> do something with field > >>>> Next > >>>> I suppose I could use the primary key ID as the For Each loop > >>>> But not sure about that. > >>>> > >>>> > >>> Try this > >>> > >>> myResult = dbcon.find(myTable, "id = &1",ID) > >>> for each myResult > >>> TextBox1.text = myResult!myField1 > >>> TextBox2.text = myResult!myField2 > >>> next > >>> > >>>> > >>>> > >>>> ------------------------------------------------------------------------------ > >>>> 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 > >> > >> > >> > >> ------------------------------------------------------------------------------ > >> 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 linuxos at ...1896... Fri Aug 10 18:34:18 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Fri, 10 Aug 2012 18:34:18 +0200 Subject: [Gambas-user] Getting data from table In-Reply-To: <1344615985.1993.12.camel@...2901...> References: <1344575602.2738.9.camel@...2901...> <5024A9E7.9000504@...169...> <1344615330.1993.10.camel@...2901...> <985A1B51-8027-457A-AA06-6A646C45692F@...1896...> <1344615985.1993.12.camel@...2901...> Message-ID: <9994AE81-8FF9-4233-BE68-4484B1EA84AA@...1896...> ID is same type of the id field Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 10 ao?t 2012 ? 18:26, rocko a ?crit : > Should the 'ID' at the end be As Integer or Result?? > I have it As Integer ATM, but nothing gets printed. > > > > On Fri, 2012-08-10 at 18:18 +0200, Olivier Cruilles wrote: >> Yes, in parenthesis >> >> >> Cordialement, >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> >> Le 10 ao?t 2012 ? 18:15, rocko a ?crit : >> >>> Should the table name be in parenthesis?? >>> I'm getting an error: >>> "Unknown Identifier: inventory" >>> >>> sResult = $hConn.Find(inventory, "id = &1 ", ID) >>> For Each sResult >>> $date1 = sResult!endDate >>> $date2 = sResult!startDate >>> Print DateDiff($date1, $date2, gb.Day) >>> >>> On Fri, 2012-08-10 at 16:27 +1000, Shane wrote: >>>> On 10/08/12 15:13, rocko wrote: >>>>> I've read the help files and seen a lot of examples on how >>>>> to add data to a table but I can' find any examples on how >>>>> to get data from a table. >>>>> >>>>> I need to get total number of fields from a table. I've looked at: >>>>> 'Property Read Count As Integer' in the Help file. >>>>> Can i simply put this at the top of my class and then do a >>>>> Print Count ?? >>>>> >>>>> I need the Count so i can iterate thru the fields and extract data, >>>>> something like: >>>>> For Each Count >>>>> get specific field >>>>> do something with field >>>>> Next >>>>> I suppose I could use the primary key ID as the For Each loop >>>>> But not sure about that. >>>>> >>>>> >>>> Try this >>>> >>>> myResult = dbcon.find(myTable, "id = &1",ID) >>>> for each myResult >>>> TextBox1.text = myResult!myField1 >>>> TextBox2.text = myResult!myField2 >>>> next >>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> 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 >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 > > > > ------------------------------------------------------------------------------ > 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 fulippo_fulippo at ...152... Fri Aug 10 18:54:36 2012 From: fulippo_fulippo at ...152... (fulippo_fulippo at ...152...) Date: Fri, 10 Aug 2012 18:54:36 +0200 (CEST) Subject: [Gambas-user] Printer code request Message-ID: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> Dear All I need to send to the printer the active window , or at least all the screen contents , i searched on web but i find poor thinks Thank you in advances Francesco Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale pi? di uno spot in TV. Per ogni nuovo abbonato 30 ? di premio per te e per lui! Un amico al mese e parli e navighi sempre gratis: http://freelosophy.tiscali.it/ From emil.lenngren at ...626... Fri Aug 10 19:07:42 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Fri, 10 Aug 2012 19:07:42 +0200 Subject: [Gambas-user] GT2_10.1 Ubuntu ARM In-Reply-To: <1344591833.8613.14.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> Message-ID: 2012/8/10 John Spikowski > > I'm curious, was the Raspberry Pi Gambas3 binary distribution built with > a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the > Pi? > > There is not a single "the gambas3 binary distribution", but one for each distro. I think most of them are cross-compiled, because there is no reason to compile directly on the Pi. As long as the same compiler is used on both machines, identical machine code should be produced. I can recommend a program called "distcc" which replaces the gcc program on the Pi with another that calls gcc with arm target on a remote computer on the network. All preprocessing, linking etc. is done on the Pi, so include files and libraries do not need to be available on the remote machine, only on the Pi. "crosstool-ng" can be used to set up a cross-compiler. /Emil From sunblaster5 at ...626... Fri Aug 10 19:14:48 2012 From: sunblaster5 at ...626... (rocko) Date: Fri, 10 Aug 2012 10:14:48 -0700 Subject: [Gambas-user] Update DataView?? Message-ID: <1344618888.1993.20.camel@...2901...> Is it possible to update a dataview in realtime? I Have an SQlite database that i acces with a dataSource and dataview. I have a form that enables users to add records to the database, But the dataview doesn't update untill i re-run the program. I would like to have the dataview update when it adds a record. Iv'e tried this: DataView1.Update but that gives an error. Do I have to update the DataSource first?? From support at ...2529... Fri Aug 10 20:26:20 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 11:26:20 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> Message-ID: <1344623180.8613.25.camel@...1833...> On Fri, 2012-08-10 at 19:07 +0200, Emil Lenngren wrote: > 2012/8/10 John Spikowski > > > > I'm curious, was the Raspberry Pi Gambas3 binary distribution built with > > a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the > > Pi? > > > > > There is not a single "the gambas3 binary distribution", but one for each > distro. I think most of them are cross-compiled, because there is no reason > to compile directly on the Pi. As long as the same compiler is used on both > machines, identical machine code should be produced. > > I can recommend a program called "distcc" which replaces the gcc program on > the Pi with another that calls gcc with arm target on a remote computer on > the network. All preprocessing, linking etc. is done on the Pi, so include > files and libraries do not need to be available on the remote machine, only > on the Pi. "crosstool-ng" can be used to set up a cross-compiler. > > /Emil I guess I have different goals. I'm trying to build a native ARM development environment. Android Linux is too restrictive and the chroot option seems to be just what I'm looking for. I was able to get the auto* tools compiled last night on my SGT2_10.1 and will try a test compile of Gambas3 from svn trunk today. From jussi.lahtinen at ...626... Fri Aug 10 20:48:52 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 10 Aug 2012 21:48:52 +0300 Subject: [Gambas-user] Printer code request In-Reply-To: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> Message-ID: See Barcode example for how to send things to printer. And this for how to take screenshot: http://gambasdoc.org/help/comp/gb.qt4/desktop/screenshot?v3 Jussi On 10 August 2012 19:54, fulippo_fulippo at ...152... < fulippo_fulippo at ...152...> wrote: > Dear All > > I need to send to the printer the active window , or at least > all the screen contents , i searched on web but i find poor thinks > > > Thank you in advances > > Francesco > > > Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale pi? > di uno spot in TV. Per ogni nuovo abbonato 30 ? di premio per te e per lui! > Un amico al mese e parli e navighi sempre gratis: > http://freelosophy.tiscali.it/ > > > ------------------------------------------------------------------------------ > 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 support at ...2529... Sat Aug 11 01:20:09 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 16:20:09 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344623180.8613.25.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> Message-ID: <1344640809.8613.28.camel@...1833...> On Fri, 2012-08-10 at 11:26 -0700, John Spikowski wrote: > On Fri, 2012-08-10 at 19:07 +0200, Emil Lenngren wrote: > > 2012/8/10 John Spikowski > > > > > > I'm curious, was the Raspberry Pi Gambas3 binary distribution built with > > > a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the > > > Pi? > > > > > > > > There is not a single "the gambas3 binary distribution", but one for each > > distro. I think most of them are cross-compiled, because there is no reason > > to compile directly on the Pi. As long as the same compiler is used on both > > machines, identical machine code should be produced. > > > > I can recommend a program called "distcc" which replaces the gcc program on > > the Pi with another that calls gcc with arm target on a remote computer on > > the network. All preprocessing, linking etc. is done on the Pi, so include > > files and libraries do not need to be available on the remote machine, only > > on the Pi. "crosstool-ng" can be used to set up a cross-compiler. > > > > /Emil > > I guess I have different goals. > > I'm trying to build a native ARM development environment. Android Linux > is too restrictive and the chroot option seems to be just what I'm > looking for. > > I was able to get the auto* tools compiled last night on my SGT2_10.1 > and will try a test compile of Gambas3 from svn trunk today. I'm having a problem getting the mysql-client-dev requirement for Gambas install on Ubuntu ARM. (see attached screen shot) Any ideas how to get around this? -------------- next part -------------- A non-text attachment was scrubbed... Name: mysql-client-dev.png Type: image/png Size: 228543 bytes Desc: not available URL: From gambas at ...1... Sat Aug 11 01:30:06 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 01:30:06 +0200 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <501E4A23.5090708@...1823...> References: <501E4A23.5090708@...1823...> Message-ID: <5025997E.3040000@...1...> Le 05/08/2012 12:25, richard a ?crit : > Hi, > > I wondered if there was any way to programatically set the height of the > drop down list which pops up when the combo box is clicked? > > Regards > > richard > I don't think so. -- Beno?t Minisini From gambas at ...1... Sat Aug 11 01:57:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 01:57:12 +0200 Subject: [Gambas-user] FreeMono Font Segfault In-Reply-To: <20120731143220.GA513@...2774...> References: <20120730185308.GE500@...2774...> <5016E8FF.5060808@...1...> <20120731143220.GA513@...2774...> Message-ID: <50259FD8.6030100@...1...> Le 31/07/2012 16:32, Tobias Boege a ?crit : > On Mon, 30 Jul 2012, Beno??t Minisini wrote: >> Le 30/07/2012 20:53, Tobias Boege a ??crit : >>> Hi Beno???t, >>> >>> I have one potential bug from Hans pending for some weeks now - I could not >>> reproduce the others from him when I finally brought myself to boot this >>> slow graphical Ubuntu from USB this afternoon... >>> >>> One (potential) bug, however was reproducable, though. There is nothing >>> special on the Form, just one TextEdit and a Button to trigger the action. >>> As you can see, I have used Qt: >>> >>> tobias at ...1008...:~/Gambas3_Projekte/test$ cat .src/FMain.class >>> ' Gambas class file >>> >>> Public Sub Button1_Click() >>> TextEdit1.Format.Alignment = Align.Center >>> TextEdit1.Format.Color = Color.Red >>> TextEdit1.Format.Background = Color.LightGray >>> TextEdit1.Format.Font = Font["FreeMono"] >>> End >> >> Can you send me your little project by mail anyway? >> >> -- >> Beno??t Minisini >> > > Of course. Here it is. > The bug should be fixed in revision #5027. Regards, -- Beno?t Minisini From support at ...2529... Sat Aug 11 03:20:01 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 18:20:01 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344640809.8613.28.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> <1344640809.8613.28.camel@...1833...> Message-ID: <1344648001.8613.31.camel@...1833...> On Fri, 2012-08-10 at 16:20 -0700, John Spikowski wrote: > On Fri, 2012-08-10 at 11:26 -0700, John Spikowski wrote: > > On Fri, 2012-08-10 at 19:07 +0200, Emil Lenngren wrote: > > > 2012/8/10 John Spikowski > > > > > > > > I'm curious, was the Raspberry Pi Gambas3 binary distribution built with > > > > a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the > > > > Pi? > > > > > > > > > > > There is not a single "the gambas3 binary distribution", but one for each > > > distro. I think most of them are cross-compiled, because there is no reason > > > to compile directly on the Pi. As long as the same compiler is used on both > > > machines, identical machine code should be produced. > > > > > > I can recommend a program called "distcc" which replaces the gcc program on > > > the Pi with another that calls gcc with arm target on a remote computer on > > > the network. All preprocessing, linking etc. is done on the Pi, so include > > > files and libraries do not need to be available on the remote machine, only > > > on the Pi. "crosstool-ng" can be used to set up a cross-compiler. > > > > > > /Emil > > > > I guess I have different goals. > > > > I'm trying to build a native ARM development environment. Android Linux > > is too restrictive and the chroot option seems to be just what I'm > > looking for. > > > > I was able to get the auto* tools compiled last night on my SGT2_10.1 > > and will try a test compile of Gambas3 from svn trunk today. > > I'm having a problem getting the mysql-client-dev requirement for Gambas > install on Ubuntu ARM. (see attached screen shot) > > Any ideas how to get around this? I have hit the wall with the libmysqlclient-dev install issue on ARM. If someone has a solution then I will continue on with trying to get a Ubuntu native ARM of Gambas3 compiled. This is going on the 'back burner' until then. From support at ...2529... Sat Aug 11 04:05:17 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 19:05:17 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344648001.8613.31.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> <1344640809.8613.28.camel@...1833...> <1344648001.8613.31.camel@...1833...> Message-ID: <1344650717.8613.35.camel@...1833...> On Fri, 2012-08-10 at 18:20 -0700, John Spikowski wrote: > > > > I'm having a problem getting the mysql-client-dev requirement for Gambas > > install on Ubuntu ARM. (see attached screen shot) > > > > Any ideas how to get around this? > This seems to be a know issue with MySQL 5.1 and Ubuntu 10.04 LTS. http://kb.askmonty.org/en/ubuntu-1004-lts-server-now-a-package-conflict-with-libmysqlclient16/ Before going the MariaDB 5.2, to try and solve this, can I assume this has been fixed in later versions of Ubuntu and the Pi build compiled without issues. I was worried about using a Ubuntu build so old. From support at ...2529... Sat Aug 11 04:21:02 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 19:21:02 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344650717.8613.35.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> <1344640809.8613.28.camel@...1833...> <1344648001.8613.31.camel@...1833...> <1344650717.8613.35.camel@...1833...> Message-ID: <1344651662.8613.38.camel@...1833...> On Fri, 2012-08-10 at 19:05 -0700, John Spikowski wrote: > This seems to be a know issue with MySQL 5.1 and Ubuntu 10.04 LTS. > > http://kb.askmonty.org/en/ubuntu-1004-lts-server-now-a-package-conflict-with-libmysqlclient16/ > > Before going the MariaDB 5.2, to try and solve this, can I assume this > has been fixed in later versions of Ubuntu and the Pi build compiled > without issues. I was worried about using a Ubuntu build so old. I decided to start over with a later version of Ubuntu ARM as my chroot image. I'll post something here if I make any progress. From support at ...2529... Sat Aug 11 07:14:17 2012 From: support at ...2529... (John Spikowski) Date: Fri, 10 Aug 2012 22:14:17 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM In-Reply-To: <1344651662.8613.38.camel@...1833...> References: <1344518329.23297.YahooMailNeo@...2904...> <1344537604.3445.4.camel@...1833...> <1344540538.3445.9.camel@...1833...> <1344546775.3445.14.camel@...1833...> <1041992771-1344547820-cardhu_decombobulator_blackberry.rim.net-2046675396-@...2911...> <1344548467.3445.22.camel@...1833...> <5024315F.6090106@...1...> <1344550028.3445.24.camel@...1833...> <50243BED.6080103@...1...> <1344552558.3445.28.camel@...1833...> <50243F16.30809@...1...> <1344586669.8613.5.camel@...1833...> <1344591833.8613.14.camel@...1833...> <1344623180.8613.25.camel@...1833...> <1344640809.8613.28.camel@...1833...> <1344648001.8613.31.camel@...1833...> <1344650717.8613.35.camel@...1833...> <1344651662.8613.38.camel@...1833...> Message-ID: <1344662057.8613.42.camel@...1833...> On Fri, 2012-08-10 at 19:21 -0700, John Spikowski wrote: > I decided to start over with a later version of Ubuntu ARM as my chroot > image. I'll post something here if I make any progress. I have Ubuntu ARM 12.05 LTS running on the SGT2_10.1 under Android. I tried to install the Pi build with the same libffi issue as before. There are missing tools and libraries apt-get wasn't able to find. (I may need to build them from source again) -------------- next part -------------- A non-text attachment was scrubbed... Name: Ubuntu_12.04_ARM.png Type: image/png Size: 373518 bytes Desc: not available URL: From rterry at ...1823... Sat Aug 11 08:42:26 2012 From: rterry at ...1823... (richard) Date: Sat, 11 Aug 2012 16:42:26 +1000 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <5025997E.3040000@...1...> References: <501E4A23.5090708@...1823...> <5025997E.3040000@...1...> Message-ID: <5025FED2.7030503@...1823...> On 11/08/12 09:30, Beno?t Minisini wrote: > Le 05/08/2012 12:25, richard a ?crit : >> Hi, >> >> I wondered if there was any way to programatically set the height of the >> drop down list which pops up when the combo box is clicked? >> >> Regards >> >> richard >> > I don't think so. > Thanks, its a pity there is option to auto-size a combo height - its a nuisance to have to scroll down a longish list regards richard From gambas at ...1... Sat Aug 11 08:51:51 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 08:51:51 +0200 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <5025FED2.7030503@...1823...> References: <501E4A23.5090708@...1823...> <5025997E.3040000@...1...> <5025FED2.7030503@...1823...> Message-ID: <50260107.9060006@...1...> Le 11/08/2012 08:42, richard a ?crit : > On 11/08/12 09:30, Beno?t Minisini wrote: >> Le 05/08/2012 12:25, richard a ?crit : >>> Hi, >>> >>> I wondered if there was any way to programatically set the height of the >>> drop down list which pops up when the combo box is clicked? >>> >>> Regards >>> >>> richard >>> >> I don't think so. >> > Thanks, its a pity there is option to auto-size a combo height - its a > nuisance to have to scroll down a longish list > > regards > > richard > When you have a *lot* of options, you should not use a ComboBox. -- Beno?t Minisini From rterry at ...1823... Sat Aug 11 09:38:41 2012 From: rterry at ...1823... (richard) Date: Sat, 11 Aug 2012 17:38:41 +1000 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <50260107.9060006@...1...> References: <501E4A23.5090708@...1823...> <5025997E.3040000@...1...> <5025FED2.7030503@...1823...> <50260107.9060006@...1...> Message-ID: <50260C01.1050404@...1823...> On 11/08/12 16:51, Beno?t Minisini wrote: > Le 11/08/2012 08:42, richard a ?crit : >> On 11/08/12 09:30, Beno?t Minisini wrote: >>> Le 05/08/2012 12:25, richard a ?crit : >>>> Hi, >>>> >>>> I wondered if there was any way to programatically set the height of the >>>> drop down list which pops up when the combo box is clicked? >>>> >>>> Regards >>>> >>>> richard >>>> >>> I don't think so. >>> >> Thanks, its a pity there is option to auto-size a combo height - its a >> nuisance to have to scroll down a longish list >> >> regards >> >> richard >> > When you have a *lot* of options, you should not use a ComboBox. > Yes of course, but if you have just a few too many it becomes annoying. richard From bbruen at ...2308... Sat Aug 11 09:53:05 2012 From: bbruen at ...2308... (Bruce) Date: Sat, 11 Aug 2012 17:23:05 +0930 Subject: [Gambas-user] Combo drop down height question In-Reply-To: <50260107.9060006@...1...> References: <501E4A23.5090708@...1823...> <5025997E.3040000@...1...> <5025FED2.7030503@...1823...> <50260107.9060006@...1...> Message-ID: <1344671585.28244.22.camel@...40...> On Sat, 2012-08-11 at 08:51 +0200, Beno?t Minisini wrote: > > When you have a *lot* of options, you should not use a ComboBox. > This is very interesting. We have 579 Thoroughbred Auction Houses registered for our system, each has a 4 letter identifier (just like 3 letter airport codes only bigger and better!). I have tried various solutions to the user selecting a particular house and none seem to have the same useability as the combo box (and that observation is supported by user comments on the other mechanisms we have tried). These "house" combo boxes appear in about 20 to 30 forms in the mainstream system. Our users report that it is reasonably easy to learn the codes and use the combo boxes by typing the first letter of the code they want when the combo dropdown is displayed. Even when they don't remember the code for some of the less frequently active houses, it is reasonably easy to scroll around after typing that first letter. The one thing that they continually ask for is that we "slow down" the typing response so they can pick a second letter to narrow the search. As an example in the "s" area we have (something like) SBYN (Strathalbyn) SCCT (Sunshine Coast Thoroughbreds) SCPF (Sunshine Coast Private) SDGT (Sandown General Trading) SDG2 (Sandown General Trading - 2YO) SDG3 (Sandown General Trading - 3YO) SDG4 (Sandown General Trading - 4YO) SDGO (Sandown General Trading - Other) SENT (South East NSW Thoroughbreds) In other words, the code part allows those users who know the codes *and* can type quick enough, an easy way to get to within a bulls roar of the one they want in the combobox. Those who don't know or who cant remember the code for a less used house keep asking for a way to go through the dropdown at "two finger typing speed". I have never found a way to achieve that, so I'll ask the question: Is there a way (in gb.qt4) to slow down the rate at which the combo box reacts to keystrokes? regards Bruce From gambas.fr at ...626... Sat Aug 11 10:38:07 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 10:38:07 +0200 Subject: [Gambas-user] Update DataView?? In-Reply-To: <1344618888.1993.20.camel@...2901...> References: <1344618888.1993.20.camel@...2901...> Message-ID: 2012/8/10 rocko > Is it possible to update a dataview in realtime? > I Have an SQlite database that i acces with a dataSource > and dataview. > I have a form that enables users to add records to the database, > But the dataview doesn't update untill i re-run the program. > > I would like to have the dataview update when it adds a record. > Iv'e tried this: > DataView1.Update but that gives an error. > Do I have to update the DataSource first?? > normally it will be update... what error do you have ? > > > > > ------------------------------------------------------------------------------ > 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 charles at ...1784... Sat Aug 11 11:38:18 2012 From: charles at ...1784... (charlesg) Date: Sat, 11 Aug 2012 02:38:18 -0700 (PDT) Subject: [Gambas-user] Printer code request In-Reply-To: References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> Message-ID: <34285144.post@...1379...> Jussi Lahtinen wrote: > > See Barcode example for how to send things to printer. > My barcode example only printed from Gambas2. I did submit a Gambas3 version to the mailing list that did print from Gambas 3 but it never made it into the source repository. I see the source version of the barcode example in G3 has been recently hacked to exclude the printing ('cos it didn't work!) Here is the printing G3 Barcode source. http://old.nabble.com/file/p34285144/BarcodeG3-0.0.5.tar.gz BarcodeG3-0.0.5.tar.gz -- View this message in context: http://old.nabble.com/Printer-code-request-tp34282837p34285144.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Aug 11 11:39:52 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 11:39:52 +0200 Subject: [Gambas-user] Printer code request In-Reply-To: <34285144.post@...1379...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> Message-ID: <50262868.7030102@...1...> Le 11/08/2012 11:38, charlesg a ?crit : > > > Jussi Lahtinen wrote: >> >> See Barcode example for how to send things to printer. >> > > My barcode example only printed from Gambas2. I did submit a Gambas3 version > to the mailing list that did print from Gambas 3 but it never made it into > the source repository. I don't remember. When? > > I see the source version of the barcode example in G3 has been recently > hacked to exclude the printing ('cos it didn't work!) > > Here is the printing G3 Barcode source. > > http://old.nabble.com/file/p34285144/BarcodeG3-0.0.5.tar.gz > BarcodeG3-0.0.5.tar.gz > Your file is unreadable. Please join it to your post as a normal attachment. Regards, -- Beno?t Minisini From charles at ...1784... Sat Aug 11 11:58:29 2012 From: charles at ...1784... (charlesg) Date: Sat, 11 Aug 2012 02:58:29 -0700 (PDT) Subject: [Gambas-user] Printer code request In-Reply-To: <50262868.7030102@...1...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> Message-ID: <34285191.post@...1379...> Beno?t Minisini wrote: > > I don't remember. When? > Your file is unreadable. Please join it to your post as a normal > attachment. > It was a long time ago. Maybe Jun 2011. Search on Mailing list says it has been deleted. I seem to remember you found fault with something. Perhaps you expected me to correct it but I couldn't because I couldn't understand the problem! I use Nabble and cannot for the life of me find how to attach a file. I send again as a tar rather than a gz http://old.nabble.com/file/p34285191/BarcodeG3-0.0.5.tar BarcodeG3-0.0.5.tar -- View this message in context: http://old.nabble.com/Printer-code-request-tp34282837p34285191.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Aug 11 12:16:41 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 11 Aug 2012 12:16:41 +0200 Subject: [Gambas-user] Printer code request In-Reply-To: <34285191.post@...1379...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> Message-ID: <50263109.7080202@...1...> Le 11/08/2012 11:58, charlesg a ?crit : > > > Beno?t Minisini wrote: >> >> I don't remember. When? >> Your file is unreadable. Please join it to your post as a normal >> attachment. >> > > It was a long time ago. Maybe Jun 2011. Search on Mailing list says it has > been deleted. I seem to remember you found fault with something. Perhaps you > expected me to correct it but I couldn't because I couldn't understand the > problem! > > I use Nabble and cannot for the life of me find how to attach a file. I send > again as a tar rather than a gz > > http://old.nabble.com/file/p34285191/BarcodeG3-0.0.5.tar BarcodeG3-0.0.5.tar > I found it. I had found that bug: > The "Case" tests in ChkInput method are incorrect: > > Select Key.Code > Case (key["n"] Or Key["N"]) And Key.Alt > > does not mean: > > If (Key.Code = Key["n"] Or Key.Code = Key["N"]) And Key.Alt > > but: > > If Key.Code = ((Key["n"] Or Key["N"]) And Key.Alt) > > And if you want to check against an alphabetic key, you should use Key.Text, > not Key.Code. But you didn't answer. As the version didn't change, I guess you didn't fix it. Could you? -- Beno?t Minisini From lists at ...2828... Sat Aug 11 12:26:25 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 12:26:25 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <4FC78084.6000001@...1950...> Message-ID: <000001cd77ab$c6400610$0f00a8c0@...2829...> Noticed a very high CPU usage when using the serialport on a Raspberry Pi running Debian Squeeze and trying to understand whats causing it... Just opening the serialport in the SerialPort demo takes 12-26% depending on if using the built in serialport (/dev/ttyAMA0) or if using a standard USB to TLL converter (/dev/ttyUSB0) Serial Port Demo - /dev/ttyAMA0 opened @ 9600 8N1 PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 22287 christer 20 0 30720 9284 7504 S 12.0 3.9 0:09.30 gbr3 /home/christer/Gambas 3/Projekt/SerialPort/SerialPort.gambas Serial Port Demo - /dev/ttyUSB0 opened @ 9600 8N1. PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 23970 christer 20 0 30852 9372 7524 S 26.0 4.0 1:05.15 gbr3 /home/christer/Gambas 3/Projekt/SerialPort/SerialPort.gambas Above readings are from htop and attached are also a screenshot showing the CPU graph in Xfce. Are anyone of you other Raspberry Pi users experiencing the same? The serialport seems to work OK (at least on 9600 8N1) but it seems quite wierd that so much CPU is used just for listening on a serialport, any ideas? /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: High CPU use when using serialport.png Type: image/png Size: 58648 bytes Desc: not available URL: From gambas at ...1... Sat Aug 11 12:57:41 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 12:57:41 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <000001cd77ab$c6400610$0f00a8c0@...2829...> References: <000001cd77ab$c6400610$0f00a8c0@...2829...> Message-ID: <50263AA5.4030507@...1...> Le 11/08/2012 12:26, Christer Johansson a ?crit : > Noticed a very high CPU usage when using the serialport on a > Raspberry Pi running Debian Squeeze and trying to understand > whats causing it... > > Just opening the serialport in the SerialPort demo takes 12-26% > depending on if using the built in serialport (/dev/ttyAMA0) or > if using a standard USB to TLL converter (/dev/ttyUSB0) > > Serial Port Demo - /dev/ttyAMA0 opened @ 9600 8N1 > > PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command > 22287 christer 20 0 30720 9284 7504 S 12.0 3.9 0:09.30 gbr3 > /home/christer/Gambas 3/Projekt/SerialPort/SerialPort.gambas > > Serial Port Demo - /dev/ttyUSB0 opened @ 9600 8N1. > > PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command > 23970 christer 20 0 30852 9372 7524 S 26.0 4.0 1:05.15 gbr3 > /home/christer/Gambas 3/Projekt/SerialPort/SerialPort.gambas > > Above readings are from htop and attached are also a screenshot > showing the CPU graph in Xfce. > > Are anyone of you other Raspberry Pi users experiencing the same? > > The serialport seems to work OK (at least on 9600 8N1) but it seems > quite wierd that so much CPU is used just for listening on a serialport, > any ideas? > > /CJ > As the SerialPort example asks for DTR, RNG, ... Change events, the gb.net component watches if serial port file device is ready for writing and uses that to watch the serial port signals. So I guess the watch callback is called again and again (i.e. the serial port device is always ready for writing). There is a one millisecond sleep inside the callback so that not to much CPU is consumed, but RPi is a slow machine. To confirm that, can you use gdb to run the exemple, hit CTRL+C during the high CPU usage, and show me what the backtrace is then? Thanks in advance. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 11 13:43:52 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 11 Aug 2012 14:43:52 +0300 Subject: [Gambas-user] Printer code request In-Reply-To: <50263109.7080202@...1...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> <50263109.7080202@...1...> Message-ID: Hints... ((Key["n"] Or Key["N"]) And Key.Alt) Here "Or" and "And" are bitwise operators. Example: Key["a"] = 65 Key["b"] = 66 And so... (Key["a"] Or Key["b"]) = 67 Also Key["n"] and Key["N"] have same value (78). But, (Key["n"] And Key.Alt) will work as long as Key.Code = 0 is not passed. When Key.Alt = False ? (Key["n"] And Key.Alt) 0 When Key.Alt = True ? (Key["n"] And Key.Alt) 78 Jussi On 11 August 2012 13:16, Beno?t Minisini wrote: > Le 11/08/2012 11:58, charlesg a ?crit : > > > > > > Beno?t Minisini wrote: > >> > >> I don't remember. When? > >> Your file is unreadable. Please join it to your post as a normal > >> attachment. > >> > > > > It was a long time ago. Maybe Jun 2011. Search on Mailing list says it > has > > been deleted. I seem to remember you found fault with something. Perhaps > you > > expected me to correct it but I couldn't because I couldn't understand > the > > problem! > > > > I use Nabble and cannot for the life of me find how to attach a file. I > send > > again as a tar rather than a gz > > > > http://old.nabble.com/file/p34285191/BarcodeG3-0.0.5.tarBarcodeG3-0.0.5.tar > > > > I found it. I had found that bug: > > > The "Case" tests in ChkInput method are incorrect: > > > > Select Key.Code > > Case (key["n"] Or Key["N"]) And Key.Alt > > > > does not mean: > > > > If (Key.Code = Key["n"] Or Key.Code = Key["N"]) And Key.Alt > > > > but: > > > > If Key.Code = ((Key["n"] Or Key["N"]) And Key.Alt) > > > > And if you want to check against an alphabetic key, you should use > Key.Text, > > not Key.Code. > > But you didn't answer. As the version didn't change, I guess you didn't > fix it. Could you? > > -- > 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.fr at ...626... Sat Aug 11 13:47:10 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 13:47:10 +0200 Subject: [Gambas-user] Check if a form is opened/show In-Reply-To: References: <1344558278.4970.3.camel@...2901...> Message-ID: Or simply: If FMain then If fmain is not used then it is not instanciate so its value must be null... I think... Another way can be to add a static value to fmain 'in fmain Static Private $iCnt as integer Property Read IsOpened as boolean PUblic sub _New() inc $iCnt endif Public sub Form_Close() dec $iCnt end Static Public Function IsOpened_Read() as Boolean Return $iCnt >0 end 'so in form 2 you can call : if FMain.IsOpened then ... From charles at ...1784... Sat Aug 11 14:12:08 2012 From: charles at ...1784... (charlesg) Date: Sat, 11 Aug 2012 05:12:08 -0700 (PDT) Subject: [Gambas-user] Printer code request In-Reply-To: References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> <50263109.7080202@...1...> Message-ID: <34285575.post@...1379...> Jussi Lahtinen wrote: > > Hints... > > ((Key["n"] Or Key["N"]) And Key.Alt) > > Here "Or" and "And" are bitwise operators. > AAHH! Thanks. I will correct. -- View this message in context: http://old.nabble.com/Printer-code-request-tp34282837p34285575.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sat Aug 11 14:35:59 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 14:35:59 +0200 Subject: [Gambas-user] Printer code request In-Reply-To: <34285575.post@...1379...> References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> <50263109.7080202@...1...> <34285575.post@...1379...> Message-ID: And how to print a screenshot with gb.report: the code : Public Sub Button1_Click() Dim hImg As Image Dim hReport As New Report Dim hReportLabel As New ReportLabel(hreport) Dim hRepImg As New ReportImage(hReport) hreport.Orientation = Printer.Landscape hreport.Padding = ReportPadding["2 cm"] hReport.Spacing = "1 cm" hImg = Desktop.Screenshot().Image hReportLabel.Text = "MyScreenSHot" hReportLabel.Autoresize = True hReportLabel.Alignment = Align.Center hReportLabel.Font.Size = 24 hRepImg.Image = hImg hRepImg.Autoresize = True hRepImg.Stretch = Report.Proportional hRepImg.Expand = True hReport.Preview End Well i can do more short (no formating) dim hImg as new reportimage(report) hImg.Image = desktop.screenshot() himg.strech=report.proportional himg.expand=true report.preview() -------------- next part -------------- A non-text attachment was scrubbed... Name: report_screenshot-0.0.1.tar.gz Type: application/x-gzip Size: 4891 bytes Desc: not available URL: From gambas.fr at ...626... Sat Aug 11 14:43:18 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 14:43:18 +0200 Subject: [Gambas-user] Printer code request In-Reply-To: References: <16834137.66181344617676927.JavaMail.defaultUser@...1910...> <34285144.post@...1379...> <50262868.7030102@...1...> <34285191.post@...1379...> <50263109.7080202@...1...> <34285575.post@...1379...> Message-ID: a version with simply a report designed by the report designer . I use the report_data event so the image is updated at each redraw (zoom, move), but the image can be intialized in the _new event. with Reportimage1.image = desktop.screenshot().image -------------- next part -------------- A non-text attachment was scrubbed... Name: report_screenshot-0.0.2.tar.gz Type: application/x-gzip Size: 5120 bytes Desc: not available URL: From lists at ...2828... Sat Aug 11 15:12:05 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 15:12:05 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50263AA5.4030507@...1...> Message-ID: <000001cd77c3$086c0f40$0f00a8c0@...2829...> > From: Beno?t Minisini [mailto:gambas at ...1...] > > As the SerialPort example asks for DTR, RNG, ... Change events, the > gb.net component watches if serial port file device is ready for writing > and uses that to watch the serial port signals. > > So I guess the watch callback is called again and again (i.e. the serial > port device is always ready for writing). There is a one millisecond > sleep inside the callback so that not to much CPU is consumed, but RPi > is a slow machine. Thanks for the input Beno?t, however what I find strange is that when I test the same code (a simple CLI only opening /dev/ttyUSB0) on my other ARM SBC running Debian Lenny it consumes close to nothing (i.e htop shows CPU% as 0.0% all the time) using the serialport, below is stat from my NSA-220 and the listed "gateway" process have been running for several weeks... PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 30456 root 15 0 13336 2072 724 R 0.0 1.6 0:12.48 gbr3 ./gateway.gambas And the ARM CPU in NSA-220 is quite a bit weaker than the one in RasPi, just for reference something like 330 vs 790 BogoMIPS so something strange is going on, maybe it's something with the RasPi HW?? > To confirm that, can you use gdb to run the exemple, hit > CTRL+C during the high CPU usage, and show me what the backtrace is then? Hope I did things correctly and it helps you to get some clues? christer at ...2912...:~/Gambas 3/Projekt/SerialPort$ gdb gbx3 GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 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/gbx3...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] ^C Program received signal SIGINT, Interrupt. 0x400efcfc in nanosleep () from /lib/libpthread.so.0 (gdb) bt #0 0x400efcfc in nanosleep () from /lib/libpthread.so.0 #1 0x41aa1534 in ?? () from /usr/lib/gambas3/gb.net.so #2 0x41aa1534 in ?? () from /usr/lib/gambas3/gb.net.so Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) Also attaches a screenshot... /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshotwin_15-09-41.png Type: image/png Size: 103450 bytes Desc: not available URL: From lists at ...2828... Sat Aug 11 15:21:27 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 15:21:27 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50263AA5.4030507@...1...> Message-ID: <000001cd77c4$391141a0$0f00a8c0@...2829...> > From: Beno?t Minisini [mailto:gambas at ...1...] > > To confirm that, can you use gdb to run the exemple, hit > CTRL+C during the high CPU usage, and show me what the backtrace is then? Sorry I forgott to include system info, test was done in 3.1.1 but also happend in 3.2.1. [System] OperatingSystem=Linux Kernel=3.1.9+ Architecture=armv6l Memory=236872 kB DistributionVendor=debian DistributionRelease=6.0.5 Desktop=Xfce [Gambas 3] Version=3.1.1 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.3 GTK+=libgtk-x11-2.0.so.0.2000.1 /CJ From gambas at ...1... Sat Aug 11 15:24:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 15:24:58 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <000001cd77c3$086c0f40$0f00a8c0@...2829...> References: <000001cd77c3$086c0f40$0f00a8c0@...2829...> Message-ID: <50265D2A.5030106@...1...> Le 11/08/2012 15:12, Christer Johansson a ?crit : > > >> From: Beno?t Minisini [mailto:gambas at ...1...] >> >> As the SerialPort example asks for DTR, RNG, ... Change events, the >> gb.net component watches if serial port file device is ready for writing >> and uses that to watch the serial port signals. >> >> So I guess the watch callback is called again and again (i.e. the serial >> port device is always ready for writing). There is a one millisecond >> sleep inside the callback so that not to much CPU is consumed, but RPi >> is a slow machine. > > Thanks for the input Beno?t, however what I find strange is that when I test > the same code (a simple CLI only opening /dev/ttyUSB0) on my other ARM > SBC running Debian Lenny it consumes close to nothing (i.e htop shows CPU% > as 0.0% all the time) using the serialport, below is stat from my NSA-220 > and > the listed "gateway" process have been running for several weeks... > > PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command > 30456 root 15 0 13336 2072 724 R 0.0 1.6 0:12.48 gbr3 > ./gateway.gambas > > And the ARM CPU in NSA-220 is quite a bit weaker than the one in RasPi, > just for reference something like 330 vs 790 BogoMIPS so something strange > is going on, maybe it's something with the RasPi HW?? > >> To confirm that, can you use gdb to run the exemple, hit >> CTRL+C during the high CPU usage, and show me what the backtrace is then? > > Hope I did things correctly and it helps you to get some clues? > > christer at ...2912...:~/Gambas 3/Projekt/SerialPort$ gdb gbx3 > GNU gdb (GDB) 7.0.1-debian > Copyright (C) 2009 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/gbx3...(no debugging symbols found)...done. > (gdb) run > Starting program: /usr/bin/gbx3 > [Thread debugging using libthread_db enabled] > ^C > Program received signal SIGINT, Interrupt. > 0x400efcfc in nanosleep () from /lib/libpthread.so.0 > (gdb) bt > #0 0x400efcfc in nanosleep () from /lib/libpthread.so.0 > #1 0x41aa1534 in ?? () from /usr/lib/gambas3/gb.net.so > #2 0x41aa1534 in ?? () from /usr/lib/gambas3/gb.net.so > Backtrace stopped: previous frame identical to this frame (corrupt stack?) > (gdb) > > Also attaches a screenshot... > > /CJ > Can you try: 1) By using gb.qt4 instead of gb.gtk? 2) By commenting all SPort1_xxxChange event handlers in the example source code? -- Beno?t Minisini From lists at ...2828... Sat Aug 11 15:34:49 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 15:34:49 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50265D2A.5030106@...1...> Message-ID: <000001cd77c6$17d509c0$0f00a8c0@...2829...> > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > > Can you try: > > 1) By using gb.qt4 instead of gb.gtk? > > 2) By commenting all SPort1_xxxChange event handlers in the example > source code? I will try later today but since the same problem exists in CLI program I doubt it lies in the GUI part. I'm a bit unsure how I change from gb.gtk to gb.qt4 in the existing SerialPort demo? Do I just change used components in Project > Properties > Components? /CJ From lists at ...2828... Sat Aug 11 15:58:51 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 15:58:51 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50265D2A.5030106@...1...> Message-ID: <000101cd77c9$73277530$0f00a8c0@...2829...> > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > > 2) By commenting all SPort1_xxxChange event handlers in the example > source code? Bingo! This improved things alot... Running a quick test CPU usage was 0.0% after opening /dev/ttyAMA0 as expected. Will do some more testing with USB to TTL adapter when I get back... /CJ From gambas at ...2524... Sat Aug 11 16:25:54 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:25:54 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) Message-ID: <0-6813199134517018827-14721074753226214629-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 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 1) Describe the problem. gambas3 r5027 (and r5025 and r5026) segmentation fault signal 11 Attached is the backtrace of gdb gambas3 3.2.1 works fine with the same code. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5027 Operating system: Linux Distribution: Lubuntu 10.04 Architecture: x86 GUI component: QT4 Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Backtrace is attached 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: bt-20120811-r5027.txt 6.8 KB From gambas at ...2524... Sat Aug 11 16:32:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:32:15 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 304 by benoit.m... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 OK, we have the backtrace. But we have no idea of what does the code you run! From gambas at ...2524... Sat Aug 11 16:33:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:33:15 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <1-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Updates: Labels: -Type-Bug Type-Crash Comment #2 on issue 304 by benoit.m... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 (No comment was entered for this change.) From gambas at ...2524... Sat Aug 11 16:35:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:35:16 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <2-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #3 on issue 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 Hi Benoit, i am running DomotiGa (www.domotiga.nl) 0.1.209 under gambas3. The issue seems to be in the XMLRPC (server) component. I will try to find a better reproduction scenario. From gambas at ...2524... Sat Aug 11 16:40:37 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 14:40:37 +0000 Subject: [Gambas-user] Issue 145 in gambas: SIGSEGV (#11) In-Reply-To: <5-6813199134517018827-4991766879890075589-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-4991766879890075589-gambas=googlecode.com@...2524...> <0-6813199134517018827-4991766879890075589-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-4991766879890075589-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #6 on issue 145 by benoit.m... at ...626...: SIGSEGV (#11) http://code.google.com/p/gambas/issues/detail?id=145 According to another Gambas user, this crash does not occur with Ubuntu 12.04 and the same version of Gambas. So maybe it is a bug in Ubuntu... I mark the bug as "WontFix". Please open a new issue if you get the same bug with a recent Ubuntu (or another distribution). From gambas at ...1... Sat Aug 11 16:40:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 16:40:58 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <000101cd77c9$73277530$0f00a8c0@...2829...> References: <000101cd77c9$73277530$0f00a8c0@...2829...> Message-ID: <50266EFA.3020506@...1...> Le 11/08/2012 15:58, Christer Johansson a ?crit : > > >> -----Original Message----- >> From: Beno?t Minisini [mailto:gambas at ...1...] >> >> 2) By commenting all SPort1_xxxChange event handlers in the example >> source code? > > Bingo! This improved things alot... > > Running a quick test CPU usage was 0.0% after opening /dev/ttyAMA0 as > expected. > Will do some more testing with USB to TTL adapter when I get back... > > /CJ > So maybe I was right. I will try to do the polling differently, and will add a property to define the frequency of the polling. Regards, -- Beno?t Minisini From john.aaron.rose at ...626... Sat Aug 11 16:51:35 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sat, 11 Aug 2012 15:51:35 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working Message-ID: <1344696695.3046.4.camel@...2811...> I'm trying to validate an entered Latitude value as having a maximum of 6 digits after the decimal point. Sometimes it doesn't work. In the case below, it is 48.590278. This should be valid, but the 'Message.Info("More than 6 decimal digits - try again")' line is being executed. As you can see from the Print statements, the check should be OK. Am I missing something really obvious? Public Sub ValueBoxLatitude_LostFocus() Dim latitude As Float Dim f As Float Dim g As Float If IsNull(Last.Value) Then Return latitude = Last.Value If latitude < -90 Or latitude > 90 Then Message.Info("Must be between -90 and +90 - try again") Last.SetFocus() Stop Event End If f = latitude * 1000000 g = CFloat(CInt(f)) Print "f=" & f Print "g=" & g If f <> g Then Message.Info("More than 6 decimal digits - try again") Last.SetFocus() Stop Event End If f=48590278 g=48590278 -- Regards, John +44 1902 331266 +44 7894 211434 From gambas at ...1... Sat Aug 11 16:52:35 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 11 Aug 2012 16:52:35 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <50266EFA.3020506@...1...> References: <000101cd77c9$73277530$0f00a8c0@...2829...> <50266EFA.3020506@...1...> Message-ID: <502671B3.5060505@...1...> Le 11/08/2012 16:40, Beno?t Minisini a ?crit : > Le 11/08/2012 15:58, Christer Johansson a ?crit : >> >> >>> -----Original Message----- >>> From: Beno?t Minisini [mailto:gambas at ...1...] >>> >>> 2) By commenting all SPort1_xxxChange event handlers in the example >>> source code? >> >> Bingo! This improved things alot... >> >> Running a quick test CPU usage was 0.0% after opening /dev/ttyAMA0 as >> expected. >> Will do some more testing with USB to TTL adapter when I get back... >> >> /CJ >> > > So maybe I was right. I will try to do the polling differently, and will > add a property to define the frequency of the polling. > > Regards, > Can you try the unmodified SerialPort example with revision #5029? Now I do the polling with a fixed frequency. That frequency is defined with a new optional argument to the Open() method. It is 50ms by default, so the CPU usage should be lower. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 11 17:02:35 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 11 Aug 2012 18:02:35 +0300 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344696695.3046.4.camel@...2811...> References: <1344696695.3046.4.camel@...2811...> Message-ID: I cannot reproduce your problem... What is your Gambas version? Jussi On 11 August 2012 17:51, John Rose wrote: > I'm trying to validate an entered Latitude value as having a maximum of > 6 digits after the decimal point. Sometimes it doesn't work. In the case > below, it is 48.590278. This should be valid, but the > 'Message.Info("More than 6 decimal digits - try again")' line is being > executed. As you can see from the Print statements, the check should be > OK. Am I missing something really obvious? > > Public Sub ValueBoxLatitude_LostFocus() > Dim latitude As Float > Dim f As Float > Dim g As Float > If IsNull(Last.Value) Then Return > latitude = Last.Value > If latitude < -90 Or latitude > 90 Then > Message.Info("Must be between -90 and +90 - try again") > Last.SetFocus() > Stop Event > End If > f = latitude * 1000000 > g = CFloat(CInt(f)) > Print "f=" & f > Print "g=" & g > If f <> g Then > Message.Info("More than 6 decimal digits - try again") > Last.SetFocus() > Stop Event > End If > > f=48590278 > g=48590278 > > -- > Regards, > John > +44 1902 331266 > +44 7894 211434 > > > > > > ------------------------------------------------------------------------------ > 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.fr at ...626... Sat Aug 11 17:07:11 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 11 Aug 2012 17:07:11 +0200 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: References: <1344696695.3046.4.camel@...2811...> Message-ID: If len(frac(latitude)) sup 8 then... Le 11 ao?t 2012 17:03, "Jussi Lahtinen" a ?crit : > I cannot reproduce your problem... What is your Gambas version? > > Jussi > > > > On 11 August 2012 17:51, John Rose wrote: > > > I'm trying to validate an entered Latitude value as having a maximum of > > 6 digits after the decimal point. Sometimes it doesn't work. In the case > > below, it is 48.590278. This should be valid, but the > > 'Message.Info("More than 6 decimal digits - try again")' line is being > > executed. As you can see from the Print statements, the check should be > > OK. Am I missing something really obvious? > > > > Public Sub ValueBoxLatitude_LostFocus() > > Dim latitude As Float > > Dim f As Float > > Dim g As Float > > If IsNull(Last.Value) Then Return > > latitude = Last.Value > > If latitude < -90 Or latitude > 90 Then > > Message.Info("Must be between -90 and +90 - try again") > > Last.SetFocus() > > Stop Event > > End If > > f = latitude * 1000000 > > g = CFloat(CInt(f)) > > Print "f=" & f > > Print "g=" & g > > If f <> g Then > > Message.Info("More than 6 decimal digits - try again") > > Last.SetFocus() > > Stop Event > > End If > > > > f=48590278 > > g=48590278 > > > > -- > > Regards, > > John > > +44 1902 331266 > > +44 7894 211434 > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > 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 gambas at ...2524... Sat Aug 11 17:33:44 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 15:33:44 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <3-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #4 on issue 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 (this reply can be duplicate) Hi Benoit, I found a reproduction scenario, this is attached to the reply (DS.tar.gz). It seems the XMLRPC component can't handle "incorrect" XML formatted requests. In the previous gambas2 and gambas3 3.2.1 is didn't segmentation fault, but gave a proper error message. Regards, Alex Attachments: DS.tar.gz 369 KB From lists at ...2828... Sat Aug 11 18:49:43 2012 From: lists at ...2828... (Christer Johansson) Date: Sat, 11 Aug 2012 18:49:43 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <502671B3.5060505@...1...> Message-ID: <000001cd77e1$53aa9e90$0f00a8c0@...2829...> > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > > Can you try the unmodified SerialPort example with revision #5029? > > Now I do the polling with a fixed frequency. That frequency is defined > with a new optional argument to the Open() method. It is 50ms by default, > so the CPU usage should be lower. I will test the new version as soon as I have managed to compile latest version from the trunk. Compiling on the RasPi itself is painstakingly slow so wouldn't it be nice having VirtualBox setup to be able to quickly cross-compile latest source from the trunk in an easy way :) Something like... 1. Download latest source from trunk 2. Cross compile it on fast CPU 3. Make a DEB-package of it 4. Install DEB-package on Raspberry Pi After trying to wrap my head around making DEB-packages and now reading a few links about setting up a cross compiler toolchain my head is spinning - maybe someday I will be knowledged enough, maybe someday :) BTW: Thanks for looking into this issue and coming up with a potential fix within hours after I posted my first e-mail, you guys are truly awesome! /CJ From gambas at ...2524... Sat Aug 11 20:56:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 18:56:52 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <4-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #5 on issue 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 I found another reproduction scenario, it is in the attach "XMLParser.tar.gz". If you run the XMLParser3 project under Gambas3 r5025 and up, it segmentation faults. It works fine under gambas2 and gambas3 3.2.1 I also found the "new" gb.xml isn't compatible with gambas2 and neither with the XML specs, i will open another issue for this. Attachments: XMLParse-example.tar.gz 15.3 KB From gambas at ...2524... Sat Aug 11 21:05:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 19:05:16 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage Message-ID: <0-6813199134517018827-7500546709050718637-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 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 1) Describe the problem. The new gb.xml component output is different then the "old" gambas2 version. The XmlReader doesn't support node depth and empty values contain garbage. The new component doesn't seem to support the complete XML spec? 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK and 3.2.1 Revision: r5025, r5026, r5027 Operating system: Linux Distribution: Lubuntu Architecture: x86 GUI component: n/a Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. The XMLParser example contains a XML response received from the weatherbug website. The gambas2 project produces the following output (the first 2 parts are the node depth names!): aws:weatherxmlns:aws|=|http://www.aws.com/aws aws:weatheraws:apiversion|=|2.0 aws:weatheraws:locationsaws:locationcityname|=|Zwijndrecht aws:weatheraws:locationsaws:locationstatename|=| aws:weatheraws:locationsaws:locationcountryname|=|Netherlands aws:weatheraws:locationsaws:locationzipcode|=| aws:weatheraws:locationsaws:locationcitycode|=|71394 aws:weatheraws:locationsaws:locationcitytype|=|1 aws:weatheraws:locationsaws:locationcityname|=|Zwijndrecht aws:weatheraws:locationsaws:locationstatename|=| aws:weatheraws:locationsaws:locationcountryname|=|Belgium aws:weatheraws:locationsaws:locationzipcode|=| aws:weatheraws:locationsaws:locationcitycode|=|50991 aws:weatheraws:locationsaws:locationcitytype|=|1 aws:weatheraws:locationsaws:locationcityname|=|Zakynthos aws:weatheraws:locationsaws:locationstatename|=| aws:weatheraws:locationsaws:locationcountryname|=|Greece aws:weatheraws:locationsaws:locationzipcode|=| aws:weatheraws:locationsaws:locationcitycode|=|63454 aws:weatheraws:locationsaws:locationcitytype|=|1 When i run this on gambas3 i loose all the node depths: xmlns:aws|=|http://www.aws.com/aws version|=|2.0 cityname|=|Zwijndrecht statename|=| countryname|=|Netherlands zipcode|=| citycode|=|71394 citytype|=|1 cityname|=|Zwijndrecht statename|=| countryname|=|Belgium zipcode|=| citycode|=|50991 citytype|=|1 cityname|=|Zakynthos statename|=| countryname|=|Greece zipcode|=| citycode|=|63454 citytype|=|1 Also the fields like "zipcode" doesn't contain any value in the XML, this gives garbage in the output (not visible in the copy-paste above, but clearly visible in the debugger - i done this with gambas2 and gambas3) 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: XMLParse-example.tar.gz 15.3 KB From john.aaron.rose at ...626... Sat Aug 11 21:10:28 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sat, 11 Aug 2012 20:10:28 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working Message-ID: <1344712228.3046.7.camel@...2811...> Jussi, Gambas 3.2.1 for Lucid from kendek's ppa. PS I've found another solution to the requirement: convert the Float value to a string & check on the length of the number of digits before the decimal point by use of Len, Mid & Instr functions. -- Regards, John +44 1902 331266 +44 7894 211434 From jussi.lahtinen at ...626... Sat Aug 11 21:28:49 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 11 Aug 2012 22:28:49 +0300 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344712228.3046.7.camel@...2811...> References: <1344712228.3046.7.camel@...2811...> Message-ID: I suspect that there was something else wrong with your project. But just in case, I would like to know if someone else can reproduce your problem. Test project is attached. John, can you reproduce your original problem with that test project? Jussi On 11 August 2012 22:10, John Rose wrote: > Jussi, > > Gambas 3.2.1 for Lucid from kendek's ppa. > > PS I've found another solution to the requirement: > convert the Float value to a string & check on the length of the number > of digits before the decimal point by use of Len, Mid & Instr > functions. > > -- > Regards, > John > +44 1902 331266 > +44 7894 211434 > > > > > > ------------------------------------------------------------------------------ > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: Test-0.0.1.tar.gz Type: application/x-gzip Size: 4953 bytes Desc: not available URL: From support at ...2529... Sat Aug 11 22:10:42 2012 From: support at ...2529... (John Spikowski) Date: Sat, 11 Aug 2012 13:10:42 -0700 Subject: [Gambas-user] SGT2_10.1 Ubuntu ARM Message-ID: <1344715842.2424.8.camel@...1833...> Sorry folks I can't let myself lose focus with my initial intent of creating a native Linux ARM environment to develop Android applications. Gambas is too big for me to fail. :-) Here is a new screen shot if you want to have a peek. http://files.allbasic.info/ScriptBasic/uxPC.png From gambas at ...2524... Sat Aug 11 23:57:06 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 21:57:06 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <5-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Updates: Status: Fixed Owner: adrien.p... at ...626... Comment #6 on issue 304 by adrien.p... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 Hi, This is (finally!) fixed in revision #5032. From gambas at ...2524... Sat Aug 11 23:58:06 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Aug 2012 21:58:06 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <6-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #7 on issue 304 by adrien.p... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 Hi, This is (finally!) fixed in revision #5032. From bbruen at ...2308... Sun Aug 12 00:19:22 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 12 Aug 2012 07:49:22 +0930 Subject: [Gambas-user] Check if a form is opened/show In-Reply-To: References: <1344558278.4970.3.camel@...2901...> Message-ID: <1344723562.28244.38.camel@...40...> On Sat, 2012-08-11 at 13:47 +0200, Fabien Bodard wrote: > Or simply: > If FMain then > > If fmain is not used then it is not instanciate so its value must be > null... I think... > > Another way can be to add a static value to fmain > > 'in fmain > > Static Private $iCnt as integer > > Property Read IsOpened as boolean > > PUblic sub _New() > > inc $iCnt > > endif > > Public sub Form_Close() > > dec $iCnt > > end > > > Static Public Function IsOpened_Read() as Boolean > > Return $iCnt >0 > > end > > > 'so in form 2 you can call : > > > if FMain.IsOpened then ... However, remember that if a form has been opened and then closed non-modally, the form object remains. It is not null, but invalid. (http://gambasdoc.org/help/def/invalid?v3) In that case, checking for either IsNull(myForm) or trying to reference a symbol within the form will both result in an Invalid Object(29) error (http://gambasdoc.org/help/error/iobject?v3). Typically, this arises when a non-modal child form is shown (and closed) several times during an execution or when trying to close any non-modal child forms when the program is exiting. In these cases, the solution is to set the Persistent property of the child form, either in the designer or via myForm.Persistent=True. That way, you can always check for IsNull(myForm) and then myForm.Visible with success. So my generalised algorithm for non-modal forms is: 1. Ensure that the form object is created with Persistent=true 2. Check for "form is shown" by If not IsNull(myForm) If MyForm.Visible then ... hth Bruce From bbruen at ...2308... Sun Aug 12 01:10:10 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 12 Aug 2012 08:40:10 +0930 Subject: [Gambas-user] Balloons on menus Message-ID: <1344726610.28244.46.camel@...40...> 'Morning all, Is there some way to set a balloon on a menu item. We have a dynamic menu in the main form that gets submenus added to it during the course of a run. When the program starts, there is no sub-menus and it would be nice to alert the user that there are "No found yet" rather than just silently ignoring the click on the parent menu. According to our resident GUI design guru, the Balloon popup would be the nicest way to achieve this, but there does not appear to be a way to attach the balloon to a menu item as they are not controls. Any ideas? Bruce From wally at ...2037... Sun Aug 12 07:27:30 2012 From: wally at ...2037... (wally) Date: Sun, 12 Aug 2012 07:27:30 +0200 Subject: [Gambas-user] gb.jit component on other than intel-cpu ? Message-ID: <2192778.mrM4AuWPgi@...46...> Hello, does it make sense to build and use gb.jit component on other than Intel CPUs ? e.g. ARM , Raspberry etc. wally From kevinfishburne at ...1887... Sun Aug 12 08:27:03 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 12 Aug 2012 02:27:03 -0400 Subject: [Gambas-user] gb3: 2D ray-casting algorithm Message-ID: <50274CB7.4040108@...1887...> I need to know if a point lies within a three-sided polygon (triangle) on a 2D plane for combat hit detection in my game. Raw speed, not mathematical purity is extremely important. I've read this: http://en.wikipedia.org/wiki/Point_in_polygon and many more articles and posts and have come to the conclusion that my brain is not wired to solve this sort of problem independently in a reasonable time frame. I somewhat understand the concept, but not the mathematical implementation. From what I understand, you take the point and create a ray from it (a line with a beginning but no end), then do an intersection calculation between the ray and each line segment of the triangle. If the number of intersections is odd then the point is inside the triangle. If the number of intersections is even then the point is outside the triangle. So I guess what I'm asking is how do you define a ray (even a "fake" one like a line segment with one point REALLY far away for speed) and how do you calculate if a ray intersects a line segment? Stuff like this humbles me because I know it must be simple mathematically but I'm just too damn stupid to grok it. Thanks, as always. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...2524... Sun Aug 12 08:37:41 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 06:37:41 +0000 Subject: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) In-Reply-To: <7-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> <0-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-14721074753226214629-gambas=googlecode.com@...2524...> Comment #8 on issue 304 by uAle... at ...626...: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 Thanks, it doesn't segmentation fault anymore. With the XMLParse-example.tar.gz i noticed that i got more warning messages from gbx3 now. I will append them in Issue 305. From gambas at ...2524... Sun Aug 12 08:40:02 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 06:40:02 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #1 on issue 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 OK, i retested with gambas3 r5032 and the output slightly changed and it is visible that the XMLReader component doesn't fully function. The output is now (the warning message and some fields contain garbage!): xmlns:aws|=|http://www.aws.com/aws version|=|2.0 cityname|=|Zwijndrecht gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() statename|=|?" countryname|=|Netherlands zipcode|=| citycode|=|71394 citytype|=|1 cityname|=|Zwijndrecht statename|=| countryname|=|Belgium zipcode|=| citycode|=|50991 citytype|=|1 cityname|=|Zakynthos gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() statename|=|? " odename countryname|=|Greece gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() gbx3: warning: please use GB.ReturnNewZeroString() instead of GB.ReturnNewString() zipcode|=|@?! ename citycode|=|63454 citytype|=|1 Ended From john.aaron.rose at ...626... Sun Aug 12 09:09:06 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 12 Aug 2012 08:09:06 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working Message-ID: <1344755346.3046.21.camel@...2811...> Jussi, I've put the code below into the Fmain class in that Test project and it works OK! The Test project needs a lot more code in order to obtain the Latitude from the database. I'll check it out again with the full project. Public Sub ValueBoxLongitude_KeyRelease() If Key.Code = Key.Return Or Key.Code = Key.Enter Or Key.Code = Key.Tab Then ButtonExit.SetFocus() Endif End Public Sub ValueBoxLatitude_LostFocus() Dim latitude As Float Dim f As Float Dim g As Float If IsNull(Last.Value) Then Return latitude = Last.Value If latitude < -90 Or latitude > 90 Then Message.Info("Must be between -90 and +90 - try again") Last.SetFocus() Stop Event End If f = latitude * 1000000 g = CFloat(CInt(f)) Print "f=" & f Print "g=" & g If f <> g Then Message.Info("More than 6 decimal digits - try again") Last.SetFocus() Stop Event End If ButtonExit.SetFocus End Sub From emil.lenngren at ...626... Sun Aug 12 11:00:35 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 12 Aug 2012 11:00:35 +0200 Subject: [Gambas-user] gb.jit component on other than intel-cpu ? In-Reply-To: <2192778.mrM4AuWPgi@...46...> References: <2192778.mrM4AuWPgi@...46...> Message-ID: I tried to run it on the raspberry pi. LLVM seemed to crash or produce illegal code or something... I will check further when I have time. /Emil 2012/8/12 wally > Hello, > > does it make sense to build and use gb.jit component on > other than Intel CPUs ? > e.g. ARM , Raspberry etc. > > wally > > > ------------------------------------------------------------------------------ > 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... Sun Aug 12 13:53:54 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 12 Aug 2012 13:53:54 +0200 Subject: [Gambas-user] gb3: 2D ray-casting algorithm In-Reply-To: <50274CB7.4040108@...1887...> References: <50274CB7.4040108@...1887...> Message-ID: <50279952.1090307@...1...> Le 12/08/2012 08:27, Kevin Fishburne a ?crit : > I need to know if a point lies within a three-sided polygon (triangle) > on a 2D plane for combat hit detection in my game. Raw speed, not > mathematical purity is extremely important. I've read this: > > http://en.wikipedia.org/wiki/Point_in_polygon > > and many more articles and posts and have come to the conclusion that my > brain is not wired to solve this sort of problem independently in a > reasonable time frame. I somewhat understand the concept, but not the > mathematical implementation. > > From what I understand, you take the point and create a ray from it (a > line with a beginning but no end), then do an intersection calculation > between the ray and each line segment of the triangle. If the number of > intersections is odd then the point is inside the triangle. If the > number of intersections is even then the point is outside the triangle. > So I guess what I'm asking is how do you define a ray (even a "fake" one > like a line segment with one point REALLY far away for speed) and how do > you calculate if a ray intersects a line segment? Stuff like this > humbles me because I know it must be simple mathematically but I'm just > too damn stupid to grok it. Thanks, as always. > Why don't you ask Google ? http://www.blackpawn.com/texts/pointinpoly/default.html -- Beno?t Minisini From gambas at ...2524... Sun Aug 12 14:40:57 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 12:40:57 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <1-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Updates: Status: Started Owner: adrien.p... at ...626... Labels: -Version Version-TRUNK Comment #2 on issue 305 by adrien.p... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Does it work better with the last revision ? (#5034) From gambas at ...2524... Sun Aug 12 14:58:01 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 12:58:01 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <2-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #3 on issue 292 by adrien.p... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Hi, I have the same problem here. My screen size is 1024*600px, and the font size I use is 9px. Attachments: capture d'?cran12.png 134 KB From gambas at ...2524... Sun Aug 12 15:01:13 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 13:01:13 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <2-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #3 on issue 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Hi Adrien, r5034 doesn't compile on my system (got a fresh copy from SVN), i get the following message during "make": /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT gb_xml_la-textnode.lo -MD -MP -MF .deps/gb_xml_la-textnode.Tpo -c -o gb_xml_la-textnode.lo `test -f 'textnode.cpp' || echo './'`textnode.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT gb_xml_la-textnode.lo -MD -MP -MF .deps/gb_xml_la-textnode.Tpo -c textnode.cpp -fPIC -DPIC -o .libs/gb_xml_la-textnode.o mv -f .deps/gb_xml_la-textnode.Tpo .deps/gb_xml_la-textnode.Plo /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT gb_xml_la-element.lo -MD -MP -MF .deps/gb_xml_la-element.Tpo -c -o gb_xml_la-element.lo `test -f 'element.cpp' || echo './'`element.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT gb_xml_la-element.lo -MD -MP -MF .deps/gb_xml_la-element.Tpo -c element.cpp -fPIC -DPIC -o .libs/gb_xml_la-element.o element.cpp: In constructor ?Element::Element(const char*, size_t)?: element.cpp:47: error: type ?Element? is not a direct base of ?Element? make[5]: *** [gb_xml_la-element.lo] Error 1 make[5]: Leaving directory `/usr/src/gambas3-r5034/gb.xml/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/src/gambas3-r5034/gb.xml/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/gambas3-r5034/gb.xml' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/gambas3-r5034/gb.xml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/gambas3-r5034' make: *** [all] Error 2 From gambas at ...2524... Sun Aug 12 15:03:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 13:03:38 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <3-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #4 on issue 292 by benoit.m... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Same remark: why do you use a big font on a small screen ? From karl.reinl at ...9... Sun Aug 12 15:50:49 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 12 Aug 2012 15:50:49 +0200 Subject: [Gambas-user] XMLReader / XMLWriter Message-ID: <1344779449.2651.9.camel@...40...> Salut Adrien, for reading the XMLreader needs this syntax : Text="{pYear} & '/' & format({pMonth},'0#-')" Text="iif(Data_crm_Activities_classer<>'','Projekt : ','')" but the XMLwriter put out the Attributs (not transformt) Text="{pYear} & '/' & format({pMonth},'0#-')" Text="iif(Data_crm_Activities_classer<>'','Projekt : ','')" is that normal, will that stay like that? gambas3 svn 5019 -- Amicalement Charlie From gambas at ...2524... Sun Aug 12 16:52:28 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 14:52:28 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <4-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #5 on issue 292 by adrien.p... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Just because this is the smallest font I can easily read. By seeing the screenshots on my desktop screen, I find the fonts huge too. But on my netbook, smaller fonts are unreadable. From vuott at ...325... Sun Aug 12 17:14:08 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 12 Aug 2012 16:14:08 +0100 (BST) Subject: [Gambas-user] Error "Making" Rev. #5034 Message-ID: <1344784448.29924.YahooMailClassic@...2691...> Hello, updating my Gambas-3 with Rev. #5034, I received this error: ******* element.cpp: In constructor 'Element::Element(const char*, size_t)': element.cpp:47:62: error: type 'Element' is not a direct base of 'Element' make[5]: *** [gb_xml_la-element.lo] Errore 1 make[5]: uscita dalla directory "/home/vuott/trunk/gb.xml/src" make[4]: *** [all-recursive] Errore 1 make[4]: uscita dalla directory "/home/vuott/trunk/gb.xml/src" make[3]: *** [all-recursive] Errore 1 make[3]: uscita dalla directory "/home/vuott/trunk/gb.xml" make[2]: *** [all] Errore 2 make[2]: uscita dalla directory "/home/vuott/trunk/gb.xml" make[1]: *** [all-recursive] Errore 1 make[1]: uscita dalla directory "/home/vuott/trunk" make: *** [all] Errore 2 ******************************** Regards. Vuott From gambas at ...2524... Sun Aug 12 17:18:02 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 15:18:02 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <5-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #6 on issue 292 by benoit.m... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 I will try to make the dialog smaller if possible. But you will have the same problem with other programs! From gambas at ...2524... Sun Aug 12 17:27:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 15:27:38 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <3-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #4 on issue 305 by adrien.p... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 There is no error on my system. Does it work with revision #5035 ? From gambas at ...2524... Sun Aug 12 17:34:32 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 15:34:32 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <6-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #7 on issue 292 by benoit.m... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Is it better with revision #5036? From gambas at ...2524... Sun Aug 12 17:46:28 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 15:46:28 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <7-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Comment #8 on issue 292 by adrien.p... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Yes, the dialog is more comfortable now, thanks. From vuott at ...325... Sun Aug 12 18:46:47 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 12 Aug 2012 17:46:47 +0100 (BST) Subject: [Gambas-user] R: Balloons on menus In-Reply-To: <1344726610.28244.46.camel@...40...> Message-ID: <1344790007.57768.YahooMailClassic@...2695...> Hello, an option "would be" to put a little label "next/contiguous" to the menu (if, however, do not bother with other objects on the form). Then you'll write a event-routine: when the mouse enters in that label... if there's not a sub-menu (here called Menu2), then we'll be the ballon: Public Sub Label1_Enter() If IsNull(Me.Controls["Menu2"]) Then Balloon.Warning("No sub-Menu!", Label1) Endif End Bye Vuott --- Dom 12/8/12, Bruce ha scritto: > Da: Bruce > Oggetto: [Gambas-user] Balloons on menus > A: gambas-user at lists.sourceforge.net > Data: Domenica 12 agosto 2012, 01:10 > 'Morning all, > > Is there some way to set a balloon on a menu item. > > We have a dynamic menu in the main form that gets submenus > added to it > during the course of a run.? When the program starts, > there is no > sub-menus and it would be nice to alert the user that there > are "No > found yet" rather than just silently > ignoring the click > on the parent menu.? According to our resident GUI > design guru, the > Balloon popup would be the nicest way to achieve this, but > there does > not appear to be a way to attach the balloon to a menu item > as they are > not controls. > > Any ideas? > > 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 > From vuott at ...325... Sun Aug 12 19:48:46 2012 From: vuott at ...325... (Ru Vuott) Date: Sun, 12 Aug 2012 18:48:46 +0100 (BST) Subject: [Gambas-user] R: Error "Making" Rev. #5034 In-Reply-To: <1344784448.29924.YahooMailClassic@...2691...> Message-ID: <1344793726.20760.YahooMailClassic@...2748...> Well, with rev. #5036 I had no longer that problem. --- Dom 12/8/12, Ru Vuott ha scritto: > Da: Ru Vuott > Oggetto: [Gambas-user] Error "Making" Rev. #5034 > A: gambas-user at lists.sourceforge.net > Data: Domenica 12 agosto 2012, 17:14 > Hello, > > updating my Gambas-3 with Rev. #5034, I received this > error: > ******* > > element.cpp: In constructor 'Element::Element(const char*, > size_t)': > element.cpp:47:62: error: type 'Element' is not a direct > base of 'Element' > make[5]: *** [gb_xml_la-element.lo] Errore 1 > make[5]: uscita dalla directory > "/home/vuott/trunk/gb.xml/src" > make[4]: *** [all-recursive] Errore 1 > make[4]: uscita dalla directory > "/home/vuott/trunk/gb.xml/src" > make[3]: *** [all-recursive] Errore 1 > make[3]: uscita dalla directory "/home/vuott/trunk/gb.xml" > make[2]: *** [all] Errore 2 > make[2]: uscita dalla directory "/home/vuott/trunk/gb.xml" > make[1]: *** [all-recursive] Errore 1 > make[1]: uscita dalla directory "/home/vuott/trunk" > make: *** [all] Errore 2 > > ******************************** > > 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 gambas at ...2524... Sun Aug 12 21:50:31 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Aug 2012 19:50:31 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <4-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #5 on issue 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Hi Adrien, Thanks, it compiles successfully on my system now. Also the output looks great, again thanks for fixing this all. Regards, Alex From karl.reinl at ...9... Sun Aug 12 23:07:58 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 12 Aug 2012 23:07:58 +0200 Subject: [Gambas-user] XML since rev. #5036 Message-ID: <1344805678.2222.10.camel@...40...> Salut Adrien, since rev. #5036 the attached xslt is no more a valide xml. Some minutes before on rev. #5019 and all the years before it did its job. test : DIM Xsl AS NEW XmlDocument Xsl.FromString(File.Load("xml2file.xslt")) ' -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: xml2file.xslt Type: application/xslt+xml Size: 541 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Sun Aug 12 23:59:03 2012 From: adrien.prokopowicz at ...626... (adrien.prokopowicz at ...626...) Date: Sun, 12 Aug 2012 23:59:03 +0200 Subject: [Gambas-user] XMLReader / XMLWriter In-Reply-To: <1344779449.2651.9.camel@...40...> References: <1344779449.2651.9.camel@...40...> Message-ID: <2397990.PFJiOJBVma@...2913...> Le dimanche 12 ao?t 2012 15:50:49 Karl Reinl a ?crit : > Salut Adrien, > > for reading the XMLreader needs this syntax : > > Text="{pYear} & '/' & format({pMonth},'0#-')" > Text="iif(Data_crm_Activities_classer<>'','Projekt : ','')" > > but the XMLwriter put out the Attributs (not transformt) > > Text="{pYear} & '/' & format({pMonth},'0#-')" > Text="iif(Data_crm_Activities_classer<>'','Projekt : ','')" > > is that normal, will that stay like that? > > gambas3 svn 5019 No, this is a bug. :-) This should be fixed in revision #5037. Regards, Adrien. From adrien.prokopowicz at ...626... Mon Aug 13 00:05:48 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 13 Aug 2012 00:05:48 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <1344805678.2222.10.camel@...40...> References: <1344805678.2222.10.camel@...40...> Message-ID: <3165083.7cjZPujjfp@...2913...> Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > Salut Adrien, > > since rev. #5036 the attached xslt is no more a valide xml. > Some minutes before on rev. #5019 and all the years before it did its > job. > > test : > DIM Xsl AS NEW XmlDocument > Xsl.FromString(File.Load("xml2file.xslt")) ' Fixed in revision #5037. By the way, why are you using the slowest and longest method to load a document ? :-) You can simply do : Dim Xsl As New XmlDocument Xsl.Open("xml2file.xslt") ... or, even better : Dim Xsl As New XmlDocument("xml2file.xslt") Regards, Adrien. From Karl.Reinl at ...2345... Mon Aug 13 11:00:00 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 13 Aug 2012 11:00:00 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <3165083.7cjZPujjfp@...2913...> References: <1344805678.2222.10.camel@...40...> <3165083.7cjZPujjfp@...2913...> Message-ID: <1344848400.2199.22.camel@...40...> Am Montag, den 13.08.2012, 00:05 +0200 schrieb Adrien Prokopowicz: > Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > > Salut Adrien, > > > > since rev. #5036 the attached xslt is no more a valide xml. > > Some minutes before on rev. #5019 and all the years before it did its > > job. > > > > test : > > DIM Xsl AS NEW XmlDocument > > Xsl.FromString(File.Load("xml2file.xslt")) ' > > Fixed in revision #5037. > > By the way, why are you using the slowest and longest method to load > a document ? :-) > > You can simply do : > e > Dim Xsl As New XmlDocument > Xsl.Open("xml2file.xslt") > > ... or, even better : > > Dim Xsl As New XmlDocument("xml2file.xslt") > > Regards, > Adrien. Salut Adrien, thank you, and also for your hints. My problem is to make DBReport ready for gambas3, and that project uses 2 big constructions within gambas3. XML and libraries, if these make me no more problems, I will have a look at it, because your hint are all marked in me workbook. Thanks again, I will give it a try. -- Amicalement Charlie From Karl.Reinl at ...2345... Mon Aug 13 11:57:56 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 13 Aug 2012 11:57:56 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <3165083.7cjZPujjfp@...2913...> References: <1344805678.2222.10.camel@...40...> <3165083.7cjZPujjfp@...2913...> Message-ID: <1344851877.2199.37.camel@...40...> Am Montag, den 13.08.2012, 00:05 +0200 schrieb Adrien Prokopowicz: > Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > > Salut Adrien, > > > > since rev. #5036 the attached xslt is no more a valide xml. > > Some minutes before on rev. #5019 and all the years before it did its > > job. > > > > test : > > DIM Xsl AS NEW XmlDocument > > Xsl.FromString(File.Load("xml2file.xslt")) ' > > Fixed in revision #5037. > ----------8<----------------------------------------------- Salut Adrien, ok now it loads,.....but the transform fails. Says 'invalid style sheet' -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: newXML-0.0.5.tar.gz Type: application/x-compressed-tar Size: 16218 bytes Desc: not available URL: From nando_f at ...951... Mon Aug 13 13:53:42 2012 From: nando_f at ...951... (nando) Date: Mon, 13 Aug 2012 07:53:42 -0400 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344755346.3046.21.camel@...2811...> References: <1344755346.3046.21.camel@...2811...> Message-ID: <20120813114034.M72709@...951...> I'd say, if a number has been inputted and it's in the range -90 ... + 90 then it is a valid long. No more testing required. Period!!! If you multiply it by 6 zero's then it could be -90,000,000 ... +90,000,000 and you're defeating the whole thing. What you're doing is pointless. for this snippet... 1> f = latitude * 1000000 2> g = CFloat(CInt(f)) 3> Print "f=" & f 4> Print "g=" & g 5> If f <> g Then 6> Message.Info("More than 6 decimal digits - try again") 7> Last.SetFocus() 8> Stop Event 9> End If if you want f to be with no digits to the right of the decimal point then use INTEGER, not FLOAT so, f should be an INTEGER You're trying so hard to do things an INTEGER does well line 2,4,5,6,7,8 are not needed but is line 1 purpose only for testing, then you don't even need line 1 Overall, if lat is -90 ... +90 then it's in range. No more tests required. if someone types in: 89.12361263571235671235645345345 and you don't want all those extra digits to the right of the 6th decimal digit DO NOTHING. TEST NOTHING. because it doesn't matter. It really doesn't!! -Fernando ---------- Original Message ----------- From: John Rose To: GambasUsers MailingList Sent: Sun, 12 Aug 2012 08:09:06 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working > Jussi, > > I've put the code below into the Fmain class in that Test project and it > works OK! The Test project needs a lot more code in order to obtain the > Latitude from the database. I'll check it out again with the full > project. > > Public Sub ValueBoxLongitude_KeyRelease() > If Key.Code = Key.Return Or Key.Code = Key.Enter Or Key.Code = Key.Tab > Then > ButtonExit.SetFocus() > Endif > End > > Public Sub ValueBoxLatitude_LostFocus() > Dim latitude As Float > Dim f As Float > Dim g As Float > If IsNull(Last.Value) Then Return > latitude = Last.Value > If latitude < -90 Or latitude > 90 Then > Message.Info("Must be between -90 and +90 - try again") > Last.SetFocus() > Stop Event > End If > f = latitude * 1000000 > g = CFloat(CInt(f)) > Print "f=" & f > Print "g=" & g > If f <> g Then > Message.Info("More than 6 decimal digits - try again") > Last.SetFocus() > Stop Event > End If > ButtonExit.SetFocus > End Sub > > ------------------------------------------------------------------------------ > 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 ------- End of Original Message ------- From adrien.prokopowicz at ...626... Mon Aug 13 14:47:57 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Mon, 13 Aug 2012 14:47:57 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <1344851877.2199.37.camel@...40...> References: <1344805678.2222.10.camel@...40...> <3165083.7cjZPujjfp@...2913...> <1344851877.2199.37.camel@...40...> Message-ID: <6968993.E4uEEPkBfg@...2913...> Le lundi 13 ao?t 2012 11:57:56 Charlie Reinl a ?crit : > Am Montag, den 13.08.2012, 00:05 +0200 schrieb Adrien Prokopowicz: > > Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > > > Salut Adrien, > > > > > > since rev. #5036 the attached xslt is no more a valide xml. > > > Some minutes before on rev. #5019 and all the years before it did its > > > job. > > > > > > test : > > > DIM Xsl AS NEW XmlDocument > > > > > > Xsl.FromString(File.Load("xml2file.xslt")) ' > > > > Fixed in revision #5037. > > ----------8<----------------------------------------------- > Salut Adrien, > > ok now it loads,.....but the transform fails. > > Says 'invalid style sheet' Hallo Charlie, It works for me with revision #5038. Can you confirm ? From Karl.Reinl at ...2345... Mon Aug 13 14:58:32 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 13 Aug 2012 14:58:32 +0200 Subject: [Gambas-user] XML since rev. #5036 In-Reply-To: <6968993.E4uEEPkBfg@...2913...> References: <1344805678.2222.10.camel@...40...> <3165083.7cjZPujjfp@...2913...> <1344851877.2199.37.camel@...40...> <6968993.E4uEEPkBfg@...2913...> Message-ID: <1344862712.3225.2.camel@...40...> Am Montag, den 13.08.2012, 14:47 +0200 schrieb Adrien Prokopowicz: > Le lundi 13 ao?t 2012 11:57:56 Charlie Reinl a ?crit : > > Am Montag, den 13.08.2012, 00:05 +0200 schrieb Adrien > Prokopowicz: > > > Le dimanche 12 ao?t 2012 23:07:58 Karl Reinl a ?crit : > > > > Salut Adrien, > > > > > > > > since rev. #5036 the attached xslt is no more a valide xml. > > > > Some minutes before on rev. #5019 and all the years before it > did its > > > > job. > > > > > > > > test : > > > > DIM Xsl AS NEW XmlDocument > > > > > > > > Xsl.FromString(File.Load("xml2file.xslt")) ' > > > > > > Fixed in revision #5037. > > > > ----------8<----------------------------------------------- > > Salut Adrien, > > > > ok now it loads,.....but the transform fails. > > > > Says 'invalid style sheet' > > Hallo Charlie, > > It works for me with revision #5038. Can you confirm ? > Salut Adrien, yes works also here and now I can also confirm about 'XMLReader/XMLWriter' Thank you very much. -- Amicalement Charlie From john.aaron.rose at ...626... Mon Aug 13 15:31:32 2012 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 13 Aug 2012 14:31:32 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working Message-ID: <1344864692.3046.26.camel@...2811...> Fernando, The number of digits does matter. The use of this Gambas app is for maintenance of a database which is used by an Android app that I'm currently developing. I don't intend to discuss why the number of digits matters to the Android app except to say that it does. Thus, the Gambas app is required to do this validation. From sotema at ...626... Mon Aug 13 16:53:56 2012 From: sotema at ...626... (Emanuele Sottocorno) Date: Mon, 13 Aug 2012 16:53:56 +0200 Subject: [Gambas-user] Menu children shown even if parent is disabled Message-ID: <50291504.10501@...626...> When a Menu is disabled the event Click isn't raised. But if you click on a closed enabled menu and then move the mouse over the disabled one it's children pop-ups. Is this correct? The attached project show the behaviour. Click on the Menu1 and move the pointer over Menu2 This happens with both QT4 and GTK Regards, Emanuele -------------- next part -------------- A non-text attachment was scrubbed... Name: disablemenu.tar.gz Type: application/x-gzip Size: 5226 bytes Desc: not available URL: From nando_f at ...951... Mon Aug 13 18:09:14 2012 From: nando_f at ...951... (nando) Date: Mon, 13 Aug 2012 12:09:14 -0400 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344864692.3046.26.camel@...2811...> References: <1344864692.3046.26.camel@...2811...> Message-ID: <20120813160547.M32939@...951...> That's perfectly fine. Let me offer this plan of attack. Test if it is between -90 and +90 multiply by 1,000,000 into an INTEGER which chops all decimal digits to the right of the decimal point. then if you need float, divide by 1,000,000. But if you do that , don't be surprised for digits farther to the right of the 6th decimal point because it's float. -Fernando ---------- Original Message ----------- From: John Rose To: GambasUsers MailingList Sent: Mon, 13 Aug 2012 14:31:32 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working > Fernando, > The number of digits does matter. The use of this Gambas app is for > maintenance of a database which is used by an Android app that I'm > currently developing. I don't intend to discuss why the number of digits > matters to the Android app except to say that it does. Thus, the Gambas > app is required to do this validation. > > ------------------------------------------------------------------------------ > 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 ------- End of Original Message ------- From emil.lenngren at ...626... Mon Aug 13 18:18:47 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 13 Aug 2012 18:18:47 +0200 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <20120813160547.M32939@...951...> References: <1344864692.3046.26.camel@...2811...> <20120813160547.M32939@...951...> Message-ID: A 64-bit floating point value use to have about 14-15 correct digits. /Emil 2012/8/13 nando > That's perfectly fine. > Let me offer this plan of attack. > Test if it is between -90 and +90 > multiply by 1,000,000 into an INTEGER > which chops all decimal digits to the right of the decimal point. > then if you need float, divide by 1,000,000. > But if you do that , don't be surprised for digits farther to the right > of the 6th decimal point because it's float. > -Fernando > > > > > > ---------- Original Message ----------- > From: John Rose > To: GambasUsers MailingList > Sent: Mon, 13 Aug 2012 14:31:32 +0100 > Subject: [Gambas-user] Check on entered number having more than 6 digits > not working > > > Fernando, > > The number of digits does matter. The use of this Gambas app is for > > maintenance of a database which is used by an Android app that I'm > > currently developing. I don't intend to discuss why the number of digits > > matters to the Android app except to say that it does. Thus, the Gambas > > app is required to do this validation. > > > > > ------------------------------------------------------------------------------ > > 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 > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > 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 sebikul at ...626... Mon Aug 13 18:19:04 2012 From: sebikul at ...626... (Sebi) Date: Mon, 13 Aug 2012 16:19:04 +0000 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <1344864692.3046.26.camel@...2811...> References: <1344864692.3046.26.camel@...2811...> Message-ID: <37157188-1344874744-cardhu_decombobulator_blackberry.rim.net-1537206014-@...2914...> What about this?? Round(latitude, -6) http://gambasdoc.org/help/lang/round?v3 -----Original Message----- From: John Rose Date: Mon, 13 Aug 2012 14:31:32 To: GambasUsers MailingList Reply-To: mailing list for gambas users Subject: [Gambas-user] Check on entered number having more than 6 digits not working Fernando, The number of digits does matter. The use of this Gambas app is for maintenance of a database which is used by an Android app that I'm currently developing. I don't intend to discuss why the number of digits matters to the Android app except to say that it does. Thus, the Gambas app is required to do this validation. ------------------------------------------------------------------------------ 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... Mon Aug 13 18:21:57 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 13 Aug 2012 19:21:57 +0300 Subject: [Gambas-user] Check on entered number having more than 6 digits not working In-Reply-To: <20120813160547.M32939@...951...> References: <1344864692.3046.26.camel@...2811...> <20120813160547.M32939@...951...> Message-ID: Conversion and checking is two different things... Jussi On 13 August 2012 19:09, nando wrote: > That's perfectly fine. > Let me offer this plan of attack. > Test if it is between -90 and +90 > multiply by 1,000,000 into an INTEGER > which chops all decimal digits to the right of the decimal point. > then if you need float, divide by 1,000,000. > But if you do that , don't be surprised for digits farther to the right > of the 6th decimal point because it's float. > -Fernando > > > > > > ---------- Original Message ----------- > From: John Rose > To: GambasUsers MailingList > Sent: Mon, 13 Aug 2012 14:31:32 +0100 > Subject: [Gambas-user] Check on entered number having more than 6 digits > not working > > > Fernando, > > The number of digits does matter. The use of this Gambas app is for > > maintenance of a database which is used by an Android app that I'm > > currently developing. I don't intend to discuss why the number of digits > > matters to the Android app except to say that it does. Thus, the Gambas > > app is required to do this validation. > > > > > ------------------------------------------------------------------------------ > > 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 > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > 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... Mon Aug 13 19:21:13 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 13 Aug 2012 18:21:13 +0100 (BST) Subject: [Gambas-user] R: Menu children shown even if parent is disabled In-Reply-To: <50291504.10501@...626...> Message-ID: <1344878473.1332.YahooMailClassic@...2758...> Soteeemaaaaaa ! --- Lun 13/8/12, Emanuele Sottocorno ha scritto: > Da: Emanuele Sottocorno > Oggetto: [Gambas-user] Menu children shown even if parent is disabled > A: gambas-user at lists.sourceforge.net > Data: Luned? 13 agosto 2012, 16:53 > When a Menu is disabled the event > Click isn't raised. But if you click on a closed enabled > menu and then move the mouse over the disabled one it's > children pop-ups. Is this correct? > The attached project show the behaviour. Click on the Menu1 > and move the pointer over Menu2 > This happens with both QT4 and GTK > Regards, > Emanuele > > > -----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 gambas at ...2524... Tue Aug 14 00:11:48 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:11:48 +0000 Subject: [Gambas-user] Issue 306 in gambas: gb.signal - apps dont terminate Message-ID: <0-6813199134517018827-13204930040627603128-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 306 by adamn... at ...626...: gb.signal - apps dont terminate http://code.google.com/p/gambas/issues/detail?id=306 1) Describe the problem. (This is one of several issues that will all use the attached project) As soon as a signal is declared for Catching, the application will not terminate when closed normally. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5037 Operating system: Linux Distribution: PCLinuxOS Architecture: x86 GUI component: QT4 / GTK+ Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. N/A 5) Explain clearly how to reproduce the bug or the crash. Open the attached project in the IDE and run it. It just shows a blank form. Close the form and the process terminates normally. Now, uncomment line 5: Signal[Signal.SIGUSR1].Catch and re-run the project. When I close the form, the process does not terminate? 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: testsig-0.0.4.tar.gz 4.6 KB From gambas at ...2524... Tue Aug 14 00:21:44 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:21:44 +0000 Subject: [Gambas-user] Issue 307 in gambas: gb.signal - IDE automatically breakpoints in event handler Message-ID: <0-6813199134517018827-4389861591942993838-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 307 by adamn... at ...626...: gb.signal - IDE automatically breakpoints in event handler http://code.google.com/p/gambas/issues/detail?id=307 1) Describe the problem. When Application_Signal is caught, the IDE automatically breakpoints 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: etc, as per 306 3) Provide a little project that reproduces the bug or the crash. Use project from 306 (with line 5 uncommented) 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. Run the project within the IDE In a virtual terminal, issue "ps u|grep testsig" and "kill -SIGUSR1 " The signal is caught and the event handler is called but the IDE breakpoints at line 12? 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... Tue Aug 14 00:25:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:25:12 +0000 Subject: [Gambas-user] Issue 308 in gambas: gb.signal - segfault when event handled Message-ID: <0-6813199134517018827-14701950125333877164-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 308 by adamn... at ...626...: gb.signal - segfault when event handled http://code.google.com/p/gambas/issues/detail?id=308 1) Describe the problem. Although the event handler appears to complete, the running process segfaults. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: as before 3) Provide a little project that reproduces the bug or the crash. Use project from 306 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. When the run breakpoints in issue 307, just press F5 The process terminates but with a segfault? 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... Tue Aug 14 00:32:33 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:32:33 +0000 Subject: [Gambas-user] Issue 309 in gambas: gb.signal - Signal.Catch is indiscriminant Message-ID: <0-6813199134517018827-11938305422940344617-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 309 by adamn... at ...626...: gb.signal - Signal.Catch is indiscriminant http://code.google.com/p/gambas/issues/detail?id=309 1) Describe the problem. Signal[int].Catch actually sets event firing for all signal values, not just the one specified by the int 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: as before 3) Provide a little project that reproduces the bug or the crash. Use project from 306 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. Run the project in the IDE In a virtual terminal: ps u|grep testsig kill -SIGUSR2 the process terminates. Uncomment line 6 and repeat Now the behaviour is as expected. ? 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... Tue Aug 14 00:41:55 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Aug 2012 22:41:55 +0000 Subject: [Gambas-user] Issue 309 in gambas: gb.signal - Signal.Catch is indiscriminant In-Reply-To: <0-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> Comment #1 on issue 309 by adamn... at ...626...: gb.signal - Signal.Catch is indiscriminant http://code.google.com/p/gambas/issues/detail?id=309 WITHDRAWN! I didn't know that SIGUSR2 acts like a SIGKILL. From bbruen at ...2308... Tue Aug 14 07:10:39 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 14 Aug 2012 14:40:39 +0930 Subject: [Gambas-user] Proposal: Add-Ins for the Gambas3 IDE Message-ID: <1344921039.23798.8.camel@...2688...> Dear folks, I hope you can forgive the long post and manage to wade through the following. Introduction ------------ This (the attached) project is a "proof of concept" (herafter "POC") for a means to add a capability to the Gambas3 IDE to allow add-in programs to be called directly from within the IDE. As a POC, there are many unimplemented features and requirements but it suffices to demonstrate the concept at a minimal level of complexity. It has been distributed by Paddys-Hill dot Net in order to guage whether there is an initial level of interest in the idea within the Gambas community and to garner any feedback regarding the concept or its current vision for deployment. Disclaimer ---------- Subject to the level of interest displayed, Paddys-Hill dot Net may at its own discretion continue the development of the concept with view to having it included in the public Gambas 3 product. There is no guarantee, express or implied in that, that the concept will be developed further by Paddys-Hill dot Net. Background ---------- Over the last years, Paddys-Hill dot Net has developed a set of utility programs that assist the Gambas programmer. We imagine the same has occurred in other Gambas 3 development organizations and even in the case of single developers who use Gambas 3 for their own private programming purposes. However, our utilities (and we imagine, yours) are not integrated into the Gambas IDE and so are not readliy accessible from within the IDE. In short, they are stand alone programs (developed mainly in Gambas) that are started when needed from menus, desktop icons etc etc. Some time ago, (Gambas 2.19??) I started looking into how these utilites could be incorporated into the IDE and yet remain outside the core Gambas product. In other words, how to "add something in" to the IDE without affecting it. I had little success under Gambas 2 and put the idea, and work on it, on hold. Recently, I have revitalised the idea and we have progressed it to a much more stable base under Gambas 3. There is still a lot of work to be done yet though! Concepts, Requirements and Principals ------------------------------------- 1) The entire management and administration of add-ins should be encapsulated and separate from the main IDE code, i.e. in short, it should all reside in a Gambas 3 Component. 2) The interaction of the IDE with the component must be kept at an absolute minimum in order to preserve the stability of the Gambas IDE. 3) No add-in should require direct support from the IDE. That is, there should be no code changes to the IDE necessary to support a specific add-in. 4) Add-ins (i.e. the payload part) could be any executable. To expand that, I foresee three general types of addins: utilities written in Gambas code and run as a normal executable; utilities based on external code that are "wrapped" in a Gambas framework to provide the add-in infrastructure; and "simple" external utilities/programs where it may be "handy" to invoke from within the IDE. 5) There "may be" information flow from the IDE to the add-in when it is started (handled by the "manager" component) but initially and for some forseeable future, there will be no information flow back from the add-in to the IDE. This is again so there is no impact on the IDE. 6) Add-in management should persist between invocations of the IDE on a per user basis. That is, if the user enables an add-in during an IDE session, then it should be enabled again automatically when another IDE session is started. (In other words, the manager will use the Settings component and the users gambas3.config file to store the enabled add-ins.) 7) Closing the IDE should close all instances of add-ins started and running for that session. The POC project --------------- The POC is contained in a single source archive attached "addinmeta1". It consists of a simple main form (FTest) that emulates the IDE in a @@very rudimentary@@ way. (Note: It does contain extraneous matter due to where it came from. These other "features" should be ignored.) The other major contents are the FAIManager form, which provides the administration of add-ins and is the only thing "visible" to our "IDE". The "IDE" form (FTest) shows that the only changes that would be needed in the Gambas IDE. These are : * addition of the "Add Ins" menu item in the Tools menu * addition of a private global variable "$addinmgr" to reference the manager * instantiation of the $addinmgr when the IDE form is first opened, and * a call to the $addinmgr.CloseAll method issued when the IDE is closed. In order to demonstrate the concept, we have also attached a simple addin that opens a virtual terminal (woohoo!) Not very useful I know, but we are POC'ing here! It is in the "runterminal_simple" autotools archive. To have a look at the demonstration: ------------------------------------ 1) Unpack and install the runterminal_simple app somewhere handy. 2) Unpack the addinmeta archive somewhere and open the contained project in the Gambas3 IDE. (This is important!) 3) Run the project from within the Gambas IDE a) Select the File|Open menu item and load one of the source files (just to give a feeling of the fake IDE, hereafter called the Add-Ins POC) b) Select Tools|Add Ins|Manager menu item, this will open the Manager c) Click on the blue "+" button (Register a new add-in), navigate to where you placed the runterminal_simple executable and select it (the .gambas file!) and click OK d) This registers the addd-in and automatically activates it. e) Click the OK button in the Manager form (saves the Settings for the add-in, if you click Cancel the add-in is active for the current "Add-Ins POC" session only!) f) You should now have a new menu item in the Add Ins menu "runterm_simple" and clicking on it should (hopefully !) open the default terminal for your desktop. g) Leave the terminal running and close the "Add-Ins POC". The terminal should also close. h) IMPORTANT. The POC process will not terminate properly. This is because of Issue #306. Just use the "stop run" button in the Gambas IDE. i) Have a play around with the POC. Outstanding Items/Bugs/etc -------------------------- Apart from issue #306, there are some other problems evident in the POC. Sometimes the terminal will not close, it loses connection with the POC somehow. The Manager form is incomplete if you look at the full set of properties that need to be massaged to complete the add-in profile. etc etc. It's just a POC! Next Steps ---------- Ours ---- We will be continuing the development of the POC for our own use and if people are interested we will release a stable component version for Benoit to consider for inclusion. Yours ----- Please let me know if you think this might be a valuable feature for the IDE Please let me know if you'd like to help!!!! Thanks for you patience in reading this rather long and large posting best regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: addinmeta1-0.0.6.tar.gz Type: application/x-compressed-tar Size: 25520 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: paddys-hill-runterm_simple-0.0.4.tar.gz Type: application/x-compressed-tar Size: 60558 bytes Desc: not available URL: From gambas at ...2524... Tue Aug 14 11:01:00 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:01:00 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <5-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #6 on issue 305 by benoit.m... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Is the issue fixed? From gambas at ...2524... Tue Aug 14 11:02:01 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:02:01 +0000 Subject: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem In-Reply-To: <8-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> <0-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-1289309238517715181-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #9 on issue 292 by benoit.m... at ...626...: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 (No comment was entered for this change.) From gambas at ...2524... Tue Aug 14 11:04:03 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:04:03 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <6-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Comment #7 on issue 305 by uAle... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Yes, r5036 gives the correct output. The issue can be closed. From gambas at ...2524... Tue Aug 14 11:22:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:22:14 +0000 Subject: [Gambas-user] Issue 306 in gambas: gb.signal - apps dont terminate In-Reply-To: <0-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Updates: Status: Started Labels: -Version Version-3.2.0 Comment #1 on issue 306 by benoit.m... at ...626...: gb.signal - apps dont terminate http://code.google.com/p/gambas/issues/detail?id=306 Yes. As soon as one signal is catched, the interpreter event loop watches it. To quit the program, you must both close the window and stop watchings signals. Anyway, the component needs to be rewritten because support of signal watching has been added to the interpreter recently. So I will do that instead of trying to fix the bugs. Normally, these bugs should vanish with the rewrite, but you will tell me! :-) From gambas at ...2524... Tue Aug 14 11:23:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:23:14 +0000 Subject: [Gambas-user] Issue 307 in gambas: gb.signal - IDE automatically breakpoints in event handler In-Reply-To: <0-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 307 by benoit.m... at ...626...: gb.signal - IDE automatically breakpoints in event handler http://code.google.com/p/gambas/issues/detail?id=307 Yes, because the IDE uses SIGUSR1 to tell the debugged program to break! From gambas at ...2524... Tue Aug 14 11:24:14 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:24:14 +0000 Subject: [Gambas-user] Issue 309 in gambas: gb.signal - Signal.Catch is indiscriminant In-Reply-To: <1-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> <0-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11938305422940344617-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #2 on issue 309 by benoit.m... at ...626...: gb.signal - Signal.Catch is indiscriminant http://code.google.com/p/gambas/issues/detail?id=309 (No comment was entered for this change.) From gambas at ...2524... Tue Aug 14 11:27:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:27:19 +0000 Subject: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage In-Reply-To: <7-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> <0-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-7500546709050718637-gambas=googlecode.com@...2524...> Updates: Status: Verified Comment #8 on issue 305 by adrien.p... at ...626...: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 (No comment was entered for this change.) From gambas at ...2524... Tue Aug 14 11:53:56 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 09:53:56 +0000 Subject: [Gambas-user] Issue 306 in gambas: gb.signal - apps dont terminate In-Reply-To: <1-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> <0-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 306 by benoit.m... at ...626...: gb.signal - apps dont terminate http://code.google.com/p/gambas/issues/detail?id=306 OK. Rewrote done in revision #5039. As soon as you call 'Signal[Signal.SIGUSR1].Reset' in the Form_Close() event handler, the form closes normally. From gambas at ...2524... Tue Aug 14 12:08:09 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 10:08:09 +0000 Subject: [Gambas-user] Issue 308 in gambas: gb.signal - segfault when event handled In-Reply-To: <0-6813199134517018827-14701950125333877164-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14701950125333877164-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14701950125333877164-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-3.2.0 Comment #1 on issue 308 by benoit.m... at ...626...: gb.signal - segfault when event handled http://code.google.com/p/gambas/issues/detail?id=308 Fixed in revision #5040. This was not a bug related to signals at all! From bbruen at ...2308... Tue Aug 14 12:20:47 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 14 Aug 2012 19:50:47 +0930 Subject: [Gambas-user] Issue 306 in gambas: gb.signal - apps dont terminate In-Reply-To: <2-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> <0-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> <2-6813199134517018827-13204930040627603128-gambas=googlecode.com@...2524...> Message-ID: <1344939647.23798.11.camel@...2688...> On Tue, 2012-08-14 at 09:53 +0000, gambas at ...2524... wrote: > Updates: > Status: Fixed > > Comment #2 on issue 306 by benoit.m... at ...626...: gb.signal - apps dont > terminate > http://code.google.com/p/gambas/issues/detail?id=306 > > OK. Rewrote done in revision #5039. > > As soon as you call 'Signal[Signal.SIGUSR1].Reset' in the Form_Close() > event handler, the form closes normally. Excellent! I thought that might have been the way. B From bbruen at ...2308... Tue Aug 14 12:21:49 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 14 Aug 2012 19:51:49 +0930 Subject: [Gambas-user] Issue 307 in gambas: gb.signal - IDE automatically breakpoints in event handler In-Reply-To: <1-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> <1-6813199134517018827-4389861591942993838-gambas=googlecode.com@...2524...> Message-ID: <1344939709.23798.13.camel@...2688...> On Tue, 2012-08-14 at 09:23 +0000, gambas at ...2524... wrote: > Updates: > Status: WontFix > Labels: -Version Version-TRUNK > > Comment #1 on issue 307 by benoit.m... at ...626...: gb.signal - IDE > automatically breakpoints in event handler > http://code.google.com/p/gambas/issues/detail?id=307 > > Yes, because the IDE uses SIGUSR1 to tell the debugged program to break! > > Merde! I was hoping to use SIGUSR1 myself. :-( I'll see if I can trap SIGUSR2 instead. B From bbruen at ...2308... Tue Aug 14 13:35:24 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 14 Aug 2012 21:05:24 +0930 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") Message-ID: <1344944125.23798.26.camel@...2688...> Can't build 5040 :-( The last make log is attached, but iirc this is a 32 vs 64 bit error? pliz help. Bruce -------------- next part -------------- configure: loading cache config.cache configure: WARNING: jit component is disabled by configure option checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in main (/home/bb/trunk/main) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for exp10... (cached) yes checking for exp2... (cached) yes checking for log2... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether gcc and cc understand -c and -o together... (cached) yes checking for libintl headers... (cached) /usr/include/ checking for libintl libraries... (cached) //lib/ checking for libiconv headers... (cached) /usr/include/ checking for libiconv libraries... (cached) no configure: WARNING: This library may be located inside the system C library checking for libffi component with pkg-config... OK checking for xdg-mime... (cached) xdg-mime configure: creating ./config.status config.status: creating Makefile config.status: creating share/Makefile config.status: creating gbc/Makefile config.status: creating gbx/Makefile config.status: creating lib/Makefile config.status: creating lib/debug/Makefile config.status: creating lib/eval/Makefile config.status: creating lib/db/Makefile config.status: creating lib/vb/Makefile config.status: creating lib/compress/Makefile config.status: creating lib/option/Makefile config.status: creating lib/draw/Makefile config.status: creating lib/gui/Makefile config.status: creating lib/gui.opengl/Makefile config.status: creating lib/image/Makefile config.status: creating lib/image.effect/Makefile config.status: creating lib/signal/Makefile config.status: creating lib/complex/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands || || This library may be located inside the system C library, so you can ignore that warning... || === configuring in gb.compress.bzlib2 (/home/bb/trunk/gb.compress.bzlib2) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.compress.bzlib2 headers... (cached) /usr/include/ checking for gb.compress.bzlib2 libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.compress.zlib (/home/bb/trunk/gb.compress.zlib) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.compress.zlib headers... (cached) /usr/include/ checking for gb.compress.zlib libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.mysql (/home/bb/trunk/gb.db.mysql) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.mysql headers... (cached) /usr/include/mysql/ checking for gb.db.mysql libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.odbc (/home/bb/trunk/gb.db.odbc) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.odbc headers... (cached) /usr/include/ checking for gb.db.odbc libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.postgresql (/home/bb/trunk/gb.db.postgresql) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.postgresql headers... (cached) /usr/include/postgresql/server/ /usr/include/postgresql/server/catalog/ /usr/include/ checking for gb.db.postgresql libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite2 (/home/bb/trunk/gb.db.sqlite2) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.sqlite2 headers... (cached) /usr/include/ checking for gb.db.sqlite2 libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite3 (/home/bb/trunk/gb.db.sqlite3) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.sqlite3 component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net (/home/bb/trunk/gb.net) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net headers... (cached) checking for gb.net libraries... (cached) configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.curl (/home/bb/trunk/gb.net.curl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net.curl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.smtp (/home/bb/trunk/gb.net.smtp) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net.smtp component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.pcre (/home/bb/trunk/gb.pcre) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.pcre headers... (cached) /usr/include/ checking for gb.pcre libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl (/home/bb/trunk/gb.sdl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.sdl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl.sound (/home/bb/trunk/gb.sdl.sound) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for sdl-config... (cached) /usr/bin/sdl-config checking for SDL - version >= 1.2.8... yes checking for gb.sdl.sound headers... (cached) /usr/include/SDL/ checking for gb.sdl.sound libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.libxml (/home/bb/trunk/gb.libxml) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.libxml component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.xml (/home/bb/trunk/gb.xml) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking CXXFLAGS for gcc -std=c++0x... (cached) -std=c++0x checking for gb.xml headers... (cached) checking for gb.xml libraries... (cached) checking for gb.xml.html headers... (cached) checking for gb.xml.html libraries... (cached) checking for gb.xml.xslt component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/html/Makefile config.status: creating src/xslt/Makefile config.status: creating src/rpc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.v4l (/home/bb/trunk/gb.v4l) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.v4l component with pkg-config... OK checking for gb.v4l headers... (cached) /usr/include/ checking for gb.v4l libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.crypt (/home/bb/trunk/gb.crypt) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.crypt headers... (cached) /usr/include/ checking for gb.crypt libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.qt4 (/home/bb/trunk/gb.qt4) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.qt4 component with pkg-config... OK checking for gb.qt4.ext component with pkg-config... OK checking for gb.qt4.webkit component with pkg-config... OK checking for gb.qt4.opengl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ext/Makefile config.status: creating src/webkit/Makefile config.status: creating src/opengl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.gtk (/home/bb/trunk/gb.gtk) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.gtk component with pkg-config... OK checking for gb.gtk.opengl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/opengl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.opengl (/home/bb/trunk/gb.opengl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.opengl component with pkg-config... OK checking for gb.opengl.glsl component with pkg-config... OK checking for gb.opengl.glu component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/glu/Makefile config.status: creating src/glsl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.desktop (/home/bb/trunk/gb.desktop) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for XTestQueryExtension in -lXtst... (cached) yes checking for gb.desktop headers... (cached) checking for gb.desktop libraries... (cached) checking for gb.desktop.gnome component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/gnome/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.pdf (/home/bb/trunk/gb.pdf) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.pdf component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.cairo (/home/bb/trunk/gb.cairo) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.cairo component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.image.io (/home/bb/trunk/gb.image.io) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.image.io component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.image.imlib (/home/bb/trunk/gb.image.imlib) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.image.imlib component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.dbus (/home/bb/trunk/gb.dbus) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.dbus component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.gsl (/home/bb/trunk/gb.gsl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.gsl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.ncurses (/home/bb/trunk/gb.ncurses) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.ncurses headers... (cached) /usr/include/ checking for gb.ncurses libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.media (/home/bb/trunk/gb.media) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.media component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in comp (/home/bb/trunk/comp) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in app (/home/bb/trunk/app) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for xdg-mime... (cached) xdg-mime configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in examples (/home/bb/trunk/examples) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--disable-jit' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged || || THESE COMPONENTS ARE DISABLED: || - gb.jit || make all-recursive make[1]: Entering directory `/home/bb/trunk' Making all in main make[2]: Entering directory `/home/bb/trunk/main' make all-recursive make[3]: Entering directory `/home/bb/trunk/main' Making all in gbc make[4]: Entering directory `/home/bb/trunk/main/gbc' gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -MT gbi3-gbi.o -MD -MP -MF .deps/gbi3-gbi.Tpo -c -o gbi3-gbi.o `test -f 'gbi.c' || echo './'`gbi.c mv -f .deps/gbi3-gbi.Tpo .deps/gbi3-gbi.Po /bin/sh ../libtool --tag=CC --mode=link gcc -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -o gbi3 gbi3-gb_error.o gbi3-gb_alloc.o gbi3-gb_array.o gbi3-gb_str.o gbi3-gb_file.o gbi3-gb_table.o gbi3-gb_common.o gbi3-gbc_arch.o gbi3-gbi.o -ldl libtool: link: gcc -DGAMBAS_PATH=\"/usr/local/bin\" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -o gbi3 gbi3-gb_error.o gbi3-gb_alloc.o gbi3-gb_array.o gbi3-gb_str.o gbi3-gb_file.o gbi3-gb_table.o gbi3-gb_common.o gbi3-gbc_arch.o gbi3-gbi.o -ldl make[4]: Leaving directory `/home/bb/trunk/main/gbc' Making all in gbx make[4]: Entering directory `/home/bb/trunk/main/gbx' gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -O3 -I../share -MT libgbx_a-gb_error.o -MD -MP -MF .deps/libgbx_a-gb_error.Tpo -c -o libgbx_a-gb_error.o `test -f 'gb_error.c' || echo './'`gb_error.c mv -f .deps/libgbx_a-gb_error.Tpo .deps/libgbx_a-gb_error.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -O3 -I../share -MT libgbx_a-gbx_exec_loop.o -MD -MP -MF .deps/libgbx_a-gbx_exec_loop.Tpo -c -o libgbx_a-gbx_exec_loop.o `test -f 'gbx_exec_loop.c' || echo './'`gbx_exec_loop.c mv -f .deps/libgbx_a-gbx_exec_loop.Tpo .deps/libgbx_a-gbx_exec_loop.Po rm -f libgbx.a ar cru libgbx.a libgbx_a-gb_error.o libgbx_a-gbx_exec_loop.o ranlib libgbx.a /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c -o gb_la-gbx_c_class.lo `test -f 'gbx_c_class.c' || echo './'`gbx_c_class.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c gbx_c_class.c -fPIC -DPIC -o .libs/gb_la-gbx_c_class.o mv -f .deps/gb_la-gbx_c_class.Tpo .deps/gb_la-gbx_c_class.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_collection.lo -MD -MP -MF .deps/gb_la-gbx_c_collection.Tpo -c -o gb_la-gbx_c_collection.lo `test -f 'gbx_c_collection.c' || echo './'`gbx_c_collection.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_collection.lo -MD -MP -MF .deps/gb_la-gbx_c_collection.Tpo -c gbx_c_collection.c -fPIC -DPIC -o .libs/gb_la-gbx_c_collection.o mv -f .deps/gb_la-gbx_c_collection.Tpo .deps/gb_la-gbx_c_collection.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_error.lo -MD -MP -MF .deps/gb_la-gbx_c_error.Tpo -c -o gb_la-gbx_c_error.lo `test -f 'gbx_c_error.c' || echo './'`gbx_c_error.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_error.lo -MD -MP -MF .deps/gb_la-gbx_c_error.Tpo -c gbx_c_error.c -fPIC -DPIC -o .libs/gb_la-gbx_c_error.o mv -f .deps/gb_la-gbx_c_error.Tpo .deps/gb_la-gbx_c_error.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_gambas.lo -MD -MP -MF .deps/gb_la-gbx_c_gambas.Tpo -c -o gb_la-gbx_c_gambas.lo `test -f 'gbx_c_gambas.c' || echo './'`gbx_c_gambas.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_gambas.lo -MD -MP -MF .deps/gb_la-gbx_c_gambas.Tpo -c gbx_c_gambas.c -fPIC -DPIC -o .libs/gb_la-gbx_c_gambas.o mv -f .deps/gb_la-gbx_c_gambas.Tpo .deps/gb_la-gbx_c_gambas.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_file.lo -MD -MP -MF .deps/gb_la-gbx_c_file.Tpo -c -o gb_la-gbx_c_file.lo `test -f 'gbx_c_file.c' || echo './'`gbx_c_file.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_file.lo -MD -MP -MF .deps/gb_la-gbx_c_file.Tpo -c gbx_c_file.c -fPIC -DPIC -o .libs/gb_la-gbx_c_file.o mv -f .deps/gb_la-gbx_c_file.Tpo .deps/gb_la-gbx_c_file.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_application.lo -MD -MP -MF .deps/gb_la-gbx_c_application.Tpo -c -o gb_la-gbx_c_application.lo `test -f 'gbx_c_application.c' || echo './'`gbx_c_application.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_application.lo -MD -MP -MF .deps/gb_la-gbx_c_application.Tpo -c gbx_c_application.c -fPIC -DPIC -o .libs/gb_la-gbx_c_application.o mv -f .deps/gb_la-gbx_c_application.Tpo .deps/gb_la-gbx_c_application.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_system.lo -MD -MP -MF .deps/gb_la-gbx_c_system.Tpo -c -o gb_la-gbx_c_system.lo `test -f 'gbx_c_system.c' || echo './'`gbx_c_system.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_system.lo -MD -MP -MF .deps/gb_la-gbx_c_system.Tpo -c gbx_c_system.c -fPIC -DPIC -o .libs/gb_la-gbx_c_system.o mv -f .deps/gb_la-gbx_c_system.Tpo .deps/gb_la-gbx_c_system.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_array.lo -MD -MP -MF .deps/gb_la-gbx_c_array.Tpo -c -o gb_la-gbx_c_array.lo `test -f 'gbx_c_array.c' || echo './'`gbx_c_array.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_array.lo -MD -MP -MF .deps/gb_la-gbx_c_array.Tpo -c gbx_c_array.c -fPIC -DPIC -o .libs/gb_la-gbx_c_array.o mv -f .deps/gb_la-gbx_c_array.Tpo .deps/gb_la-gbx_c_array.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_process.lo -MD -MP -MF .deps/gb_la-gbx_c_process.Tpo -c -o gb_la-gbx_c_process.lo `test -f 'gbx_c_process.c' || echo './'`gbx_c_process.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_process.lo -MD -MP -MF .deps/gb_la-gbx_c_process.Tpo -c gbx_c_process.c -fPIC -DPIC -o .libs/gb_la-gbx_c_process.o mv -f .deps/gb_la-gbx_c_process.Tpo .deps/gb_la-gbx_c_process.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_string.lo -MD -MP -MF .deps/gb_la-gbx_c_string.Tpo -c -o gb_la-gbx_c_string.lo `test -f 'gbx_c_string.c' || echo './'`gbx_c_string.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_string.lo -MD -MP -MF .deps/gb_la-gbx_c_string.Tpo -c gbx_c_string.c -fPIC -DPIC -o .libs/gb_la-gbx_c_string.o mv -f .deps/gb_la-gbx_c_string.Tpo .deps/gb_la-gbx_c_string.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_observer.lo -MD -MP -MF .deps/gb_la-gbx_c_observer.Tpo -c -o gb_la-gbx_c_observer.lo `test -f 'gbx_c_observer.c' || echo './'`gbx_c_observer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_observer.lo -MD -MP -MF .deps/gb_la-gbx_c_observer.Tpo -c gbx_c_observer.c -fPIC -DPIC -o .libs/gb_la-gbx_c_observer.o mv -f .deps/gb_la-gbx_c_observer.Tpo .deps/gb_la-gbx_c_observer.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_subcollection.lo -MD -MP -MF .deps/gb_la-gbx_c_subcollection.Tpo -c -o gb_la-gbx_c_subcollection.lo `test -f 'gbx_c_subcollection.c' || echo './'`gbx_c_subcollection.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_subcollection.lo -MD -MP -MF .deps/gb_la-gbx_c_subcollection.Tpo -c gbx_c_subcollection.c -fPIC -DPIC -o .libs/gb_la-gbx_c_subcollection.o mv -f .deps/gb_la-gbx_c_subcollection.Tpo .deps/gb_la-gbx_c_subcollection.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_enum.lo -MD -MP -MF .deps/gb_la-gbx_c_enum.Tpo -c -o gb_la-gbx_c_enum.lo `test -f 'gbx_c_enum.c' || echo './'`gbx_c_enum.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_enum.lo -MD -MP -MF .deps/gb_la-gbx_c_enum.Tpo -c gbx_c_enum.c -fPIC -DPIC -o .libs/gb_la-gbx_c_enum.o mv -f .deps/gb_la-gbx_c_enum.Tpo .deps/gb_la-gbx_c_enum.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_timer.lo -MD -MP -MF .deps/gb_la-gbx_c_timer.Tpo -c -o gb_la-gbx_c_timer.lo `test -f 'gbx_c_timer.c' || echo './'`gbx_c_timer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_c_timer.lo -MD -MP -MF .deps/gb_la-gbx_c_timer.Tpo -c gbx_c_timer.c -fPIC -DPIC -o .libs/gb_la-gbx_c_timer.o mv -f .deps/gb_la-gbx_c_timer.Tpo .deps/gb_la-gbx_c_timer.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_class_info.lo -MD -MP -MF .deps/gb_la-gbx_class_info.Tpo -c -o gb_la-gbx_class_info.lo `test -f 'gbx_class_info.c' || echo './'`gbx_class_info.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -MT gb_la-gbx_class_info.lo -MD -MP -MF .deps/gb_la-gbx_class_info.Tpo -c gbx_class_info.c -fPIC -DPIC -o .libs/gb_la-gbx_class_info.o mv -f .deps/gb_la-gbx_class_info.Tpo .deps/gb_la-gbx_class_info.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -DGBX_INFO -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -O0 -module -L//lib/ -o gb.la -rpath /usr/local/lib/gambas3 gb_la-gbx_c_class.lo gb_la-gbx_c_collection.lo gb_la-gbx_c_error.lo gb_la-gbx_c_gambas.lo gb_la-gbx_c_file.lo gb_la-gbx_c_application.lo gb_la-gbx_c_system.lo gb_la-gbx_c_array.lo gb_la-gbx_c_process.lo gb_la-gbx_c_string.lo gb_la-gbx_c_observer.lo gb_la-gbx_c_subcollection.lo gb_la-gbx_c_enum.lo gb_la-gbx_c_timer.lo gb_la-gbx_class_info.lo -lm -lintl -ldl -lpthread -lffi libtool: link: rm -fr .libs/gb.la .libs/gb.lai .libs/gb.so .libs/gb.so.0 .libs/gb.so.0.0.0 libtool: link: gcc -shared .libs/gb_la-gbx_c_class.o .libs/gb_la-gbx_c_collection.o .libs/gb_la-gbx_c_error.o .libs/gb_la-gbx_c_gambas.o .libs/gb_la-gbx_c_file.o .libs/gb_la-gbx_c_application.o .libs/gb_la-gbx_c_system.o .libs/gb_la-gbx_c_array.o .libs/gb_la-gbx_c_process.o .libs/gb_la-gbx_c_string.o .libs/gb_la-gbx_c_observer.o .libs/gb_la-gbx_c_subcollection.o .libs/gb_la-gbx_c_enum.o .libs/gb_la-gbx_c_timer.o .libs/gb_la-gbx_class_info.o -L//lib/ -lm -lintl -ldl -lpthread -lffi -Wl,-soname -Wl,gb.so.0 -o .libs/gb.so.0.0.0 libtool: link: (cd ".libs" && rm -f "gb.so.0" && ln -s "gb.so.0.0.0" "gb.so.0") libtool: link: (cd ".libs" && rm -f "gb.so" && ln -s "gb.so.0.0.0" "gb.so") libtool: link: ( cd ".libs" && rm -f "gb.la" && ln -s "../gb.la" "gb.la" ) gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_debug.o -MD -MP -MF .deps/gbx3-gbx_debug.Tpo -c -o gbx3-gbx_debug.o `test -f 'gbx_debug.c' || echo './'`gbx_debug.c mv -f .deps/gbx3-gbx_debug.Tpo .deps/gbx3-gbx_debug.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_jit.o -MD -MP -MF .deps/gbx3-gbx_jit.Tpo -c -o gbx3-gbx_jit.o `test -f 'gbx_jit.c' || echo './'`gbx_jit.c mv -f .deps/gbx3-gbx_jit.Tpo .deps/gbx3-gbx_jit.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_stack.o -MD -MP -MF .deps/gbx3-gbx_stack.Tpo -c -o gbx3-gbx_stack.o `test -f 'gbx_stack.c' || echo './'`gbx_stack.c mv -f .deps/gbx3-gbx_stack.Tpo .deps/gbx3-gbx_stack.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_value.o -MD -MP -MF .deps/gbx3-gbx_value.Tpo -c -o gbx3-gbx_value.o `test -f 'gbx_value.c' || echo './'`gbx_value.c mv -f .deps/gbx3-gbx_value.Tpo .deps/gbx3-gbx_value.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_type.o -MD -MP -MF .deps/gbx3-gbx_type.Tpo -c -o gbx3-gbx_type.o `test -f 'gbx_type.c' || echo './'`gbx_type.c mv -f .deps/gbx3-gbx_type.Tpo .deps/gbx3-gbx_type.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec.o -MD -MP -MF .deps/gbx3-gbx_exec.Tpo -c -o gbx3-gbx_exec.o `test -f 'gbx_exec.c' || echo './'`gbx_exec.c mv -f .deps/gbx3-gbx_exec.Tpo .deps/gbx3-gbx_exec.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec_push.o -MD -MP -MF .deps/gbx3-gbx_exec_push.Tpo -c -o gbx3-gbx_exec_push.o `test -f 'gbx_exec_push.c' || echo './'`gbx_exec_push.c mv -f .deps/gbx3-gbx_exec_push.Tpo .deps/gbx3-gbx_exec_push.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec_enum.o -MD -MP -MF .deps/gbx3-gbx_exec_enum.Tpo -c -o gbx3-gbx_exec_enum.o `test -f 'gbx_exec_enum.c' || echo './'`gbx_exec_enum.c mv -f .deps/gbx3-gbx_exec_enum.Tpo .deps/gbx3-gbx_exec_enum.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec_pop.o -MD -MP -MF .deps/gbx3-gbx_exec_pop.Tpo -c -o gbx3-gbx_exec_pop.o `test -f 'gbx_exec_pop.c' || echo './'`gbx_exec_pop.c mv -f .deps/gbx3-gbx_exec_pop.Tpo .deps/gbx3-gbx_exec_pop.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_exec_operator.o -MD -MP -MF .deps/gbx3-gbx_exec_operator.Tpo -c -o gbx3-gbx_exec_operator.o `test -f 'gbx_exec_operator.c' || echo './'`gbx_exec_operator.c mv -f .deps/gbx3-gbx_exec_operator.Tpo .deps/gbx3-gbx_exec_operator.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_class_init.o -MD -MP -MF .deps/gbx3-gbx_class_init.Tpo -c -o gbx3-gbx_class_init.o `test -f 'gbx_class_init.c' || echo './'`gbx_class_init.c mv -f .deps/gbx3-gbx_class_init.Tpo .deps/gbx3-gbx_class_init.Po gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -I../share -D_REENTRANT -I/usr/lib/libffi-3.0.8/include -MT gbx3-gbx_class.o -MD -MP -MF .deps/gbx3-gbx_class.Tpo -c -o gbx3-gbx_class.o `test -f 'gbx_class.c' || echo './'`gbx_class.c gbx_class.c: In function ?CLASS_DESC_get_type_name?: gbx_class.c:912:22: error: ?CLASS_DESC_GAMBAS? has no member named ?val4? gbx_class.c:927:1: warning: control reaches end of non-void function make[4]: *** [gbx3-gbx_class.o] Error 1 make[4]: Leaving directory `/home/bb/trunk/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/bb/trunk/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/bb/trunk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bb/trunk' make: *** [all] Error 2 Making install in main make[1]: Entering directory `/home/bb/trunk/main' Making install in gbc make[2]: Entering directory `/home/bb/trunk/main/gbc' make[3]: Entering directory `/home/bb/trunk/main/gbc' test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c gbc3 gba3 gbi3 '/usr/local/bin' libtool: install: /usr/bin/install -c gbc3 /usr/local/bin/gbc3 /usr/bin/install: cannot remove `/usr/local/bin/gbc3': Permission denied make[3]: *** [install-binPROGRAMS] Error 1 make[3]: Leaving directory `/home/bb/trunk/main/gbc' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/bb/trunk/main/gbc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/bb/trunk/main' make: *** [install-recursive] Error 1 From gambas at ...1... Tue Aug 14 13:47:30 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 14 Aug 2012 13:47:30 +0200 Subject: [Gambas-user] Proposal: Add-Ins for the Gambas3 IDE In-Reply-To: <1344921039.23798.8.camel@...2688...> References: <1344921039.23798.8.camel@...2688...> Message-ID: <502A3AD2.1040705@...1...> Le 14/08/2012 07:10, Bruce a ?crit : > Dear folks, > > I hope you can forgive the long post and manage to wade through the > following. > > Introduction > ------------ > This (the attached) project is a "proof of concept" (herafter "POC") for > a means to add a capability to the Gambas3 IDE to allow add-in programs > to be called directly from within the IDE. As a POC, there are many > unimplemented features and requirements but it suffices to demonstrate > the concept at a minimal level of complexity. > > It has been distributed by Paddys-Hill dot Net in order to guage whether > there is an initial level of interest in the idea within the Gambas > community and to garner any feedback regarding the concept or its > current vision for deployment. > > Disclaimer > ---------- > Subject to the level of interest displayed, Paddys-Hill dot Net may at > its own discretion continue the development of the concept with view to > having it included in the public Gambas 3 product. There is no > guarantee, express or implied in that, that the concept will be > developed further by Paddys-Hill dot Net. > > Background > ---------- > Over the last years, Paddys-Hill dot Net has developed a set of utility > programs that assist the Gambas programmer. We imagine the same has > occurred in other Gambas 3 development organizations and even in the > case of single developers who use Gambas 3 for their own private > programming purposes. > However, our utilities (and we imagine, yours) are not integrated into > the Gambas IDE and so are not readliy accessible from within the IDE. > In short, they are stand alone programs (developed mainly in Gambas) > that are started when needed from menus, desktop icons etc etc. > Some time ago, (Gambas 2.19??) I started looking into how these utilites > could be incorporated into the IDE and yet remain outside the core > Gambas product. In other words, how to "add something in" to the IDE > without affecting it. I had little success under Gambas 2 and put the > idea, and work on it, on hold. Recently, I have revitalised the idea > and we have progressed it to a much more stable base under Gambas 3. > There is still a lot of work to be done yet though! > > Concepts, Requirements and Principals > ------------------------------------- > 1) The entire management and administration of add-ins should be > encapsulated and separate from the main IDE code, i.e. in short, it > should all reside in a Gambas 3 Component. > 2) The interaction of the IDE with the component must be kept at an > absolute minimum in order to preserve the stability of the Gambas IDE. > 3) No add-in should require direct support from the IDE. That is, there > should be no code changes to the IDE necessary to support a specific > add-in. > 4) Add-ins (i.e. the payload part) could be any executable. To expand > that, I foresee three general types of addins: utilities written in > Gambas code and run as a normal executable; utilities based on external > code that are "wrapped" in a Gambas framework to provide the add-in > infrastructure; and "simple" external utilities/programs where it may be > "handy" to invoke from within the IDE. > 5) There "may be" information flow from the IDE to the add-in when it is > started (handled by the "manager" component) but initially and for some > forseeable future, there will be no information flow back from the > add-in to the IDE. This is again so there is no impact on the IDE. > 6) Add-in management should persist between invocations of the IDE on a > per user basis. That is, if the user enables an add-in during an IDE > session, then it should be enabled again automatically when another IDE > session is started. (In other words, the manager will use the Settings > component and the users gambas3.config file to store the enabled > add-ins.) > 7) Closing the IDE should close all instances of add-ins started and > running for that session. > > The POC project > --------------- > The POC is contained in a single source archive attached "addinmeta1". > It consists of a simple main form (FTest) that emulates the IDE in a > @@very rudimentary@@ way. (Note: It does contain extraneous matter due > to where it came from. These other "features" should be ignored.) > The other major contents are the FAIManager form, which provides the > administration of add-ins and is the only thing "visible" to our "IDE". > > The "IDE" form (FTest) shows that the only changes that would be needed > in the Gambas IDE. These are : > * addition of the "Add Ins" menu item in the Tools menu > * addition of a private global variable "$addinmgr" to reference > the manager > * instantiation of the $addinmgr when the IDE form is first > opened, and > * a call to the $addinmgr.CloseAll method issued when the IDE is > closed. > > In order to demonstrate the concept, we have also attached a simple > addin that opens a virtual terminal (woohoo!) Not very useful I know, > but we are POC'ing here! It is in the "runterminal_simple" autotools > archive. > > To have a look at the demonstration: > ------------------------------------ > 1) Unpack and install the runterminal_simple app somewhere handy. > 2) Unpack the addinmeta archive somewhere and open the contained project > in the Gambas3 IDE. (This is important!) > 3) Run the project from within the Gambas IDE > a) Select the File|Open menu item and load one of the source > files (just to give a feeling of the fake IDE, hereafter called > the Add-Ins POC) > b) Select Tools|Add Ins|Manager menu item, this will open the > Manager > c) Click on the blue "+" button (Register a new add-in), > navigate to where you placed the runterminal_simple executable > and select it (the .gambas file!) and click OK > d) This registers the addd-in and automatically activates it. > e) Click the OK button in the Manager form (saves the Settings > for the add-in, if you click Cancel the add-in is active for the > current "Add-Ins POC" session only!) > f) You should now have a new menu item in the Add Ins menu > "runterm_simple" and clicking on it should (hopefully !) open > the default terminal for your desktop. > g) Leave the terminal running and close the "Add-Ins POC". The > terminal should also close. > h) IMPORTANT. The POC process will not terminate properly. This > is because of Issue #306. Just use the "stop run" button in the > Gambas IDE. > i) Have a play around with the POC. > > Outstanding Items/Bugs/etc > -------------------------- > Apart from issue #306, there are some other problems evident in the POC. > Sometimes the terminal will not close, it loses connection with the POC > somehow. The Manager form is incomplete if you look at the full set of > properties that need to be massaged to complete the add-in profile. etc > etc. It's just a POC! > > Next Steps > ---------- > Ours > ---- > We will be continuing the development of the POC for our own use and if > people are interested we will release a stable component version for > Benoit to consider for inclusion. > > Yours > ----- > Please let me know if you think this might be a valuable feature for the > IDE > Please let me know if you'd like to help!!!! > > > Thanks for you patience in reading this rather long and large posting > best regards > Bruce > The ideas are good, but I don't really like the code (no offense!). Far too complex for my tastes. :-) I have already think about adding some sort of "actions" to the IDE tools menu. These actions would be external programs that receive information about the project as arguments, and then perform their action, then eventually return. As for automatically closing child programs when exiting, I think I could add an option for that in the Process class. That would be a useful feature I think. Please explain exactly what features you need in addition to what I have just described. Maybe if I implement that, you will just have to directly use it. Regards, -- Beno?t Minisini From gambas at ...1... Tue Aug 14 13:48:33 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 14 Aug 2012 13:48:33 +0200 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") In-Reply-To: <1344944125.23798.26.camel@...2688...> References: <1344944125.23798.26.camel@...2688...> Message-ID: <502A3B11.2010406@...1...> Le 14/08/2012 13:35, Bruce a ?crit : > Can't build 5040 :-( > > The last make log is attached, but iirc this is a 32 vs 64 bit error? > > pliz help. > > Bruce > What is the last revision you successfully compiled in 32 bits? -- Beno?t Minisini From gambas at ...1... Tue Aug 14 13:51:21 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 14 Aug 2012 13:51:21 +0200 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") In-Reply-To: <502A3B11.2010406@...1...> References: <1344944125.23798.26.camel@...2688...> <502A3B11.2010406@...1...> Message-ID: <502A3BB9.7010208@...1...> Le 14/08/2012 13:48, Beno?t Minisini a ?crit : > Le 14/08/2012 13:35, Bruce a ?crit : >> Can't build 5040 :-( >> >> The last make log is attached, but iirc this is a 32 vs 64 bit error? >> >> pliz help. >> >> Bruce >> > > What is the last revision you successfully compiled in 32 bits? > Mmm... Are you sure that you are compiling rev 5040? The error messages shows some lines of code that do not exist anymore. -- Beno?t Minisini From ualex73 at ...626... Tue Aug 14 16:11:11 2012 From: ualex73 at ...626... (Alexie) Date: Tue, 14 Aug 2012 16:11:11 +0200 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") In-Reply-To: <502A3BB9.7010208@...1...> References: <1344944125.23798.26.camel@...2688...> <502A3B11.2010406@...1...> <502A3BB9.7010208@...1...> Message-ID: I can successfully compile r5040 on Lubuntu 10.04 32-bits (just did it) 2012/8/14 Beno?t Minisini > Le 14/08/2012 13:48, Beno?t Minisini a ?crit : > > Le 14/08/2012 13:35, Bruce a ?crit : > >> Can't build 5040 :-( > >> > >> The last make log is attached, but iirc this is a 32 vs 64 bit error? > >> > >> pliz help. > >> > >> Bruce > >> > > > > What is the last revision you successfully compiled in 32 bits? > > > > Mmm... Are you sure that you are compiling rev 5040? The error messages > shows some lines of code that do not exist anymore. > > -- > 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 ...2524... Tue Aug 14 18:08:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Aug 2012 16:08:22 +0000 Subject: [Gambas-user] Issue 310 in gambas: Crash when profiler code with Eval() Message-ID: <0-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Crash Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 310 by jussi.la... at ...626...: Crash when profiler code with Eval() http://code.google.com/p/gambas/issues/detail?id=310 1) Describe the problem. Print Eval("1+2+3") Crashes under profiling. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5038 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 3) Provide a little project that reproduces the bug or the crash. Attached. 5) Explain clearly how to reproduce the bug or the crash. Set profiler on, and run the code. Attachments: BugHunt-0.0.1.tar.gz 4.5 KB From gambas at ...1... Tue Aug 14 19:59:08 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 14 Aug 2012 19:59:08 +0200 Subject: [Gambas-user] New feature in the IDE code editor Message-ID: <502A91EC.1030008@...1...> Hi, In revision #5041, I started to implement automatic declaration of undeclared local variable. For example, if you type: X = Sin(A) And if X is not declared, then the IDE will automatically add: Dim X As Float At the beginning of the function. This is not finished yet. The following is missing: - Support for FOR / FOR EACH loop variables. - Detection of the [ ... ] array creation operator. - Lot of tests. Enjoy it! -- Beno?t Minisini From mohareve at ...626... Tue Aug 14 20:00:59 2012 From: mohareve at ...626... (M. Cs.) Date: Tue, 14 Aug 2012 20:00:59 +0200 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <502A91EC.1030008@...1...> References: <502A91EC.1030008@...1...> Message-ID: That will be great! Csaba From support at ...2529... Tue Aug 14 21:46:00 2012 From: support at ...2529... (John Spikowski) Date: Tue, 14 Aug 2012 12:46:00 -0700 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <502A91EC.1030008@...1...> References: <502A91EC.1030008@...1...> Message-ID: <1344973560.4170.3.camel@...1833...> Personally I would have opted for a warning message indicating a missing declaration. I have problems when the IDE decides to take over my job as the programmer. On Tue, 2012-08-14 at 19:59 +0200, Beno?t Minisini wrote: > Hi, > > In revision #5041, I started to implement automatic declaration of > undeclared local variable. > > For example, if you type: > > X = Sin(A) > > And if X is not declared, then the IDE will automatically add: > > Dim X As Float > > At the beginning of the function. > > This is not finished yet. The following is missing: > - Support for FOR / FOR EACH loop variables. > - Detection of the [ ... ] array creation operator. > - Lot of tests. > > Enjoy it! > From sunblaster5 at ...626... Tue Aug 14 22:51:16 2012 From: sunblaster5 at ...626... (acidblue) Date: Tue, 14 Aug 2012 13:51:16 -0700 (PDT) Subject: [Gambas-user] Update DataView?? In-Reply-To: References: <1344618888.1993.20.camel@...2901...> Message-ID: <34298922.post@...1379...> "Unknown Symbol DataView1 in class FMain" Is the error I'm getting. Sorry for the late reply. Code: Try rTable.Update If Error Then Print "Update failed" Message.Error(ERROR.Text) Else FMain.DataView1.Update Message.Info("Update was successful") Endif Fabien Bodard-4 wrote: > > 2012/8/10 rocko > >> Is it possible to update a dataview in realtime? >> I Have an SQlite database that i acces with a dataSource >> and dataview. >> I have a form that enables users to add records to the database, >> But the dataview doesn't update untill i re-run the program. >> >> I would like to have the dataview update when it adds a record. >> Iv'e tried this: >> DataView1.Update but that gives an error. >> Do I have to update the DataSource first?? >> > > normally it will be update... > > what error do you have ? > > >> >> >> >> >> ------------------------------------------------------------------------------ >> 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 > ------------------------------------------------------------------------------ > 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/Update-DataView---tp34282921p34298922.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Aug 14 22:58:47 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 14 Aug 2012 22:58:47 +0200 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <1344973560.4170.3.camel@...1833...> References: <502A91EC.1030008@...1...> <1344973560.4170.3.camel@...1833...> Message-ID: <502ABC07.4070900@...1...> Le 14/08/2012 21:46, John Spikowski a ?crit : > Personally I would have opted for a warning message indicating a missing > declaration. I have problems when the IDE decides to take over my job as > the programmer. > There is a new option to disable this feature if you want. -- Beno?t Minisini From sunblaster5 at ...626... Tue Aug 14 23:04:24 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 14 Aug 2012 14:04:24 -0700 Subject: [Gambas-user] Trying to update table in SQLite Message-ID: <1344978264.2390.4.camel@...2901...> I'm trying to send data back to a table after retrieving it and doing some math to it. I tried doing a table update like>> table.Update But that doesn't seem to work. CODE: FNew.rTable = FMain.$hConn.Create("inventory") sResult = $hConn.Find("inventory", id = &1, ID) For Each sResult $date1 = sResult!endDate $date2 = Now Print $date2 $daysLeft = sResult!daysLeft $daysLeft = DateDiff($date2, $date1, gb.Day) Print $daysLeft FNew.rTable.Update I need to update the "daysLeft" field in the "inventory" table. From karl.reinl at ...9... Tue Aug 14 23:45:25 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 14 Aug 2012 23:45:25 +0200 Subject: [Gambas-user] just a question about editor-bookmarks Message-ID: <1344980725.2916.17.camel@...40...> Salut Beno?t, while missing bookmarks in the gambas IDE editor, I use the breakpoints which work like a charm for that. So my question is, can that method not be used to add 'bookmarks' to the editor? -- Amicalement Charlie From gambas at ...1... Tue Aug 14 23:56:59 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 14 Aug 2012 23:56:59 +0200 Subject: [Gambas-user] just a question about editor-bookmarks In-Reply-To: <1344980725.2916.17.camel@...40...> References: <1344980725.2916.17.camel@...40...> Message-ID: <502AC9AB.9070908@...1...> Le 14/08/2012 23:45, Karl Reinl a ?crit : > Salut Beno?t, > > while missing bookmarks in the gambas IDE editor, I use the breakpoints > which work like a charm for that. > So my question is, can that method not be used to add 'bookmarks' to the > editor? > > Ha! Yes... The bookmarks... :-) -- Beno?t Minisini From karl.reinl at ...9... Wed Aug 15 00:03:09 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Wed, 15 Aug 2012 00:03:09 +0200 Subject: [Gambas-user] switch into debug mode Message-ID: <1344981789.2916.32.camel@...40...> Salut Beno?t, when I work with vba (MS-Office programming) there it a very good feature, when an error raise with a MsgBox. You press [Ctrl]+[Pause] then you switch into debug mode, just at the line where the error occurred, a very handy feature. -- Amicalement Charlie From bbruen at ...2308... Wed Aug 15 00:13:09 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 15 Aug 2012 07:43:09 +0930 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") In-Reply-To: References: <1344944125.23798.26.camel@...2688...> <502A3B11.2010406@...1...> <502A3BB9.7010208@...1...> Message-ID: <1344982389.23798.83.camel@...2688...> Perhaps it would make more sense if I attached the right output file. Sorry about that. Bruce -------------- next part -------------- configure: loading cache config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in main (/home/bb/trunk/main) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking for exp10... (cached) yes checking for exp2... (cached) yes checking for log2... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether gcc and cc understand -c and -o together... (cached) yes checking for libintl headers... (cached) /usr/include/ checking for libintl libraries... (cached) //lib/ checking for libiconv headers... (cached) /usr/include/ checking for libiconv libraries... (cached) no configure: WARNING: This library may be located inside the system C library checking for libffi component with pkg-config... OK checking for xdg-mime... (cached) xdg-mime configure: creating ./config.status config.status: creating Makefile config.status: creating share/Makefile config.status: creating gbc/Makefile config.status: creating gbx/Makefile config.status: creating lib/Makefile config.status: creating lib/debug/Makefile config.status: creating lib/eval/Makefile config.status: creating lib/db/Makefile config.status: creating lib/vb/Makefile config.status: creating lib/compress/Makefile config.status: creating lib/option/Makefile config.status: creating lib/draw/Makefile config.status: creating lib/gui/Makefile config.status: creating lib/gui.opengl/Makefile config.status: creating lib/image/Makefile config.status: creating lib/image.effect/Makefile config.status: creating lib/signal/Makefile config.status: creating lib/complex/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands || || This library may be located inside the system C library, so you can ignore that warning... || === configuring in gb.compress.bzlib2 (/home/bb/trunk/gb.compress.bzlib2) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.compress.bzlib2 headers... (cached) /usr/include/ checking for gb.compress.bzlib2 libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.compress.zlib (/home/bb/trunk/gb.compress.zlib) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.compress.zlib headers... (cached) /usr/include/ checking for gb.compress.zlib libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.mysql (/home/bb/trunk/gb.db.mysql) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.mysql headers... (cached) /usr/include/mysql/ checking for gb.db.mysql libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.odbc (/home/bb/trunk/gb.db.odbc) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.odbc headers... (cached) /usr/include/ checking for gb.db.odbc libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.postgresql (/home/bb/trunk/gb.db.postgresql) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.postgresql headers... (cached) /usr/include/postgresql/server/ /usr/include/postgresql/server/catalog/ /usr/include/ checking for gb.db.postgresql libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite2 (/home/bb/trunk/gb.db.sqlite2) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.sqlite2 headers... (cached) /usr/include/ checking for gb.db.sqlite2 libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.db.sqlite3 (/home/bb/trunk/gb.db.sqlite3) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.db.sqlite3 component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net (/home/bb/trunk/gb.net) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net headers... (cached) checking for gb.net libraries... (cached) configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.curl (/home/bb/trunk/gb.net.curl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net.curl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.net.smtp (/home/bb/trunk/gb.net.smtp) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.net.smtp component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.pcre (/home/bb/trunk/gb.pcre) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.pcre headers... (cached) /usr/include/ checking for gb.pcre libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl (/home/bb/trunk/gb.sdl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.sdl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.sdl.sound (/home/bb/trunk/gb.sdl.sound) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for sdl-config... (cached) /usr/bin/sdl-config checking for SDL - version >= 1.2.8... yes checking for gb.sdl.sound headers... (cached) /usr/include/SDL/ checking for gb.sdl.sound libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.libxml (/home/bb/trunk/gb.libxml) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.libxml component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.xml (/home/bb/trunk/gb.xml) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking CXXFLAGS for gcc -std=c++0x... (cached) -std=c++0x checking for gb.xml headers... (cached) checking for gb.xml libraries... (cached) checking for gb.xml.html headers... (cached) checking for gb.xml.html libraries... (cached) checking for gb.xml.xslt component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/html/Makefile config.status: creating src/xslt/Makefile config.status: creating src/rpc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.v4l (/home/bb/trunk/gb.v4l) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.v4l component with pkg-config... OK checking for gb.v4l headers... (cached) /usr/include/ checking for gb.v4l libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.crypt (/home/bb/trunk/gb.crypt) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.crypt headers... (cached) /usr/include/ checking for gb.crypt libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.qt4 (/home/bb/trunk/gb.qt4) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.qt4 component with pkg-config... OK checking for gb.qt4.ext component with pkg-config... OK checking for gb.qt4.webkit component with pkg-config... OK checking for gb.qt4.opengl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/ext/Makefile config.status: creating src/webkit/Makefile config.status: creating src/opengl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.gtk (/home/bb/trunk/gb.gtk) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for gb.gtk component with pkg-config... OK checking for gb.gtk.opengl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/opengl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.opengl (/home/bb/trunk/gb.opengl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.opengl component with pkg-config... OK checking for gb.opengl.glsl component with pkg-config... OK checking for gb.opengl.glu component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/glu/Makefile config.status: creating src/glsl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.desktop (/home/bb/trunk/gb.desktop) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for XTestQueryExtension in -lXtst... (cached) yes checking for gb.desktop headers... (cached) checking for gb.desktop libraries... (cached) checking for gb.desktop.gnome component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/gnome/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.pdf (/home/bb/trunk/gb.pdf) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.pdf component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.cairo (/home/bb/trunk/gb.cairo) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.cairo component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.image.io (/home/bb/trunk/gb.image.io) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.image.io component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.image.imlib (/home/bb/trunk/gb.image.imlib) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.image.imlib component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.dbus (/home/bb/trunk/gb.dbus) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.dbus component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.gsl (/home/bb/trunk/gb.gsl) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.gsl component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.ncurses (/home/bb/trunk/gb.ncurses) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.ncurses headers... (cached) /usr/include/ checking for gb.ncurses libraries... (cached) /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.media (/home/bb/trunk/gb.media) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gb.media component with pkg-config... OK configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands === configuring in gb.jit (/home/bb/trunk/gb.jit) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... (cached) gcc -E checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... (cached) yes checking for unsetenv... (cached) yes checking for getdomainname... (cached) yes checking for getpt... (cached) yes checking for cfmakeraw... (cached) yes checking for main in -lgcc_s... (cached) yes checking for main in -lstdc++... (cached) yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... (cached) -fvisibility=hidden checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... (cached) BSD nm checking the maximum length of command line arguments... (cached) 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) pass_all checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... (cached) ok checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) no checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... (cached) no checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... (cached) g++ -E checking for ld used by g++... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) no checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for llvm-config... (cached) /usr/bin/llvm-config checking for LLVM - version >= 3.1... no configure: WARNING: gb.jit is disabled configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands || || gb.jit is disabled || === configuring in comp (/home/bb/trunk/comp) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in app (/home/bb/trunk/app) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for xdg-mime... (cached) xdg-mime configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in examples (/home/bb/trunk/examples) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged || || THESE COMPONENTS ARE DISABLED: || - gb.jit || make all-recursive make[1]: Entering directory `/home/bb/trunk' Making all in main make[2]: Entering directory `/home/bb/trunk/main' make all-recursive make[3]: Entering directory `/home/bb/trunk/main' Making all in gbc make[4]: Entering directory `/home/bb/trunk/main/gbc' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/main/gbc' Making all in gbx make[4]: Entering directory `/home/bb/trunk/main/gbx' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/main/gbx' Making all in lib make[4]: Entering directory `/home/bb/trunk/main/lib' Making all in . make[5]: Entering directory `/home/bb/trunk/main/lib' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/bb/trunk/main/lib' Making all in debug make[5]: Entering directory `/home/bb/trunk/main/lib/debug' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/debug' Making all in eval make[5]: Entering directory `/home/bb/trunk/main/lib/eval' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/eval' Making all in db make[5]: Entering directory `/home/bb/trunk/main/lib/db' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/db' Making all in compress make[5]: Entering directory `/home/bb/trunk/main/lib/compress' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/compress' Making all in vb make[5]: Entering directory `/home/bb/trunk/main/lib/vb' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/vb' Making all in option make[5]: Entering directory `/home/bb/trunk/main/lib/option' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/option' Making all in draw make[5]: Entering directory `/home/bb/trunk/main/lib/draw' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/draw' Making all in image make[5]: Entering directory `/home/bb/trunk/main/lib/image' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/image' Making all in gui make[5]: Entering directory `/home/bb/trunk/main/lib/gui' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/gui' Making all in gui.opengl make[5]: Entering directory `/home/bb/trunk/main/lib/gui.opengl' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/gui.opengl' Making all in image.effect make[5]: Entering directory `/home/bb/trunk/main/lib/image.effect' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/image.effect' Making all in signal make[5]: Entering directory `/home/bb/trunk/main/lib/signal' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/signal' Making all in complex make[5]: Entering directory `/home/bb/trunk/main/lib/complex' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/main/lib/complex' make[4]: Leaving directory `/home/bb/trunk/main/lib' Making all in share make[4]: Entering directory `/home/bb/trunk/main/share' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/main/share' make[4]: Entering directory `/home/bb/trunk/main' make[4]: Leaving directory `/home/bb/trunk/main' make[3]: Leaving directory `/home/bb/trunk/main' make[2]: Leaving directory `/home/bb/trunk/main' Making all in gb.compress.bzlib2 make[2]: Entering directory `/home/bb/trunk/gb.compress.bzlib2' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.compress.bzlib2' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.compress.bzlib2/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.compress.bzlib2/src' make[4]: Entering directory `/home/bb/trunk/gb.compress.bzlib2' make[4]: Leaving directory `/home/bb/trunk/gb.compress.bzlib2' make[3]: Leaving directory `/home/bb/trunk/gb.compress.bzlib2' make[2]: Leaving directory `/home/bb/trunk/gb.compress.bzlib2' Making all in gb.compress.zlib make[2]: Entering directory `/home/bb/trunk/gb.compress.zlib' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.compress.zlib' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.compress.zlib/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.compress.zlib/src' make[4]: Entering directory `/home/bb/trunk/gb.compress.zlib' make[4]: Leaving directory `/home/bb/trunk/gb.compress.zlib' make[3]: Leaving directory `/home/bb/trunk/gb.compress.zlib' make[2]: Leaving directory `/home/bb/trunk/gb.compress.zlib' Making all in gb.db.mysql make[2]: Entering directory `/home/bb/trunk/gb.db.mysql' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.db.mysql' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.db.mysql/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.db.mysql/src' make[4]: Entering directory `/home/bb/trunk/gb.db.mysql' make[4]: Leaving directory `/home/bb/trunk/gb.db.mysql' make[3]: Leaving directory `/home/bb/trunk/gb.db.mysql' make[2]: Leaving directory `/home/bb/trunk/gb.db.mysql' Making all in gb.db.odbc make[2]: Entering directory `/home/bb/trunk/gb.db.odbc' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.db.odbc' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.db.odbc/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.db.odbc/src' make[4]: Entering directory `/home/bb/trunk/gb.db.odbc' make[4]: Leaving directory `/home/bb/trunk/gb.db.odbc' make[3]: Leaving directory `/home/bb/trunk/gb.db.odbc' make[2]: Leaving directory `/home/bb/trunk/gb.db.odbc' Making all in gb.db.postgresql make[2]: Entering directory `/home/bb/trunk/gb.db.postgresql' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.db.postgresql' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.db.postgresql/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.db.postgresql/src' make[4]: Entering directory `/home/bb/trunk/gb.db.postgresql' make[4]: Leaving directory `/home/bb/trunk/gb.db.postgresql' make[3]: Leaving directory `/home/bb/trunk/gb.db.postgresql' make[2]: Leaving directory `/home/bb/trunk/gb.db.postgresql' Making all in gb.db.sqlite2 make[2]: Entering directory `/home/bb/trunk/gb.db.sqlite2' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.db.sqlite2' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.db.sqlite2/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.db.sqlite2/src' make[4]: Entering directory `/home/bb/trunk/gb.db.sqlite2' make[4]: Leaving directory `/home/bb/trunk/gb.db.sqlite2' make[3]: Leaving directory `/home/bb/trunk/gb.db.sqlite2' make[2]: Leaving directory `/home/bb/trunk/gb.db.sqlite2' Making all in gb.db.sqlite3 make[2]: Entering directory `/home/bb/trunk/gb.db.sqlite3' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.db.sqlite3' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.db.sqlite3/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.db.sqlite3/src' make[4]: Entering directory `/home/bb/trunk/gb.db.sqlite3' make[4]: Leaving directory `/home/bb/trunk/gb.db.sqlite3' make[3]: Leaving directory `/home/bb/trunk/gb.db.sqlite3' make[2]: Leaving directory `/home/bb/trunk/gb.db.sqlite3' Making all in gb.net make[2]: Entering directory `/home/bb/trunk/gb.net' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.net' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.net/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.net/src' make[4]: Entering directory `/home/bb/trunk/gb.net' make[4]: Leaving directory `/home/bb/trunk/gb.net' make[3]: Leaving directory `/home/bb/trunk/gb.net' make[2]: Leaving directory `/home/bb/trunk/gb.net' Making all in gb.net.curl make[2]: Entering directory `/home/bb/trunk/gb.net.curl' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.net.curl' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.net.curl/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.net.curl/src' make[4]: Entering directory `/home/bb/trunk/gb.net.curl' make[4]: Leaving directory `/home/bb/trunk/gb.net.curl' make[3]: Leaving directory `/home/bb/trunk/gb.net.curl' make[2]: Leaving directory `/home/bb/trunk/gb.net.curl' Making all in gb.net.smtp make[2]: Entering directory `/home/bb/trunk/gb.net.smtp' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.net.smtp' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.net.smtp/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.net.smtp/src' make[4]: Entering directory `/home/bb/trunk/gb.net.smtp' make[4]: Leaving directory `/home/bb/trunk/gb.net.smtp' make[3]: Leaving directory `/home/bb/trunk/gb.net.smtp' make[2]: Leaving directory `/home/bb/trunk/gb.net.smtp' Making all in gb.pcre make[2]: Entering directory `/home/bb/trunk/gb.pcre' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.pcre' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.pcre/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.pcre/src' make[4]: Entering directory `/home/bb/trunk/gb.pcre' make[4]: Leaving directory `/home/bb/trunk/gb.pcre' make[3]: Leaving directory `/home/bb/trunk/gb.pcre' make[2]: Leaving directory `/home/bb/trunk/gb.pcre' Making all in gb.sdl make[2]: Entering directory `/home/bb/trunk/gb.sdl' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.sdl' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.sdl/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.sdl/src' make[4]: Entering directory `/home/bb/trunk/gb.sdl' make[4]: Leaving directory `/home/bb/trunk/gb.sdl' make[3]: Leaving directory `/home/bb/trunk/gb.sdl' make[2]: Leaving directory `/home/bb/trunk/gb.sdl' Making all in gb.sdl.sound make[2]: Entering directory `/home/bb/trunk/gb.sdl.sound' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.sdl.sound' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.sdl.sound/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.sdl.sound/src' make[4]: Entering directory `/home/bb/trunk/gb.sdl.sound' make[4]: Leaving directory `/home/bb/trunk/gb.sdl.sound' make[3]: Leaving directory `/home/bb/trunk/gb.sdl.sound' make[2]: Leaving directory `/home/bb/trunk/gb.sdl.sound' Making all in gb.libxml make[2]: Entering directory `/home/bb/trunk/gb.libxml' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.libxml' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.libxml/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.libxml/src' make[4]: Entering directory `/home/bb/trunk/gb.libxml' make[4]: Leaving directory `/home/bb/trunk/gb.libxml' make[3]: Leaving directory `/home/bb/trunk/gb.libxml' make[2]: Leaving directory `/home/bb/trunk/gb.libxml' Making all in gb.xml make[2]: Entering directory `/home/bb/trunk/gb.xml' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.xml' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.xml/src' Making all in . make[5]: Entering directory `/home/bb/trunk/gb.xml/src' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/bb/trunk/gb.xml/src' Making all in html make[5]: Entering directory `/home/bb/trunk/gb.xml/src/html' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/gb.xml/src/html' Making all in xslt make[5]: Entering directory `/home/bb/trunk/gb.xml/src/xslt' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/gb.xml/src/xslt' Making all in rpc make[5]: Entering directory `/home/bb/trunk/gb.xml/src/rpc' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/gb.xml/src/rpc' make[4]: Leaving directory `/home/bb/trunk/gb.xml/src' make[4]: Entering directory `/home/bb/trunk/gb.xml' make[4]: Leaving directory `/home/bb/trunk/gb.xml' make[3]: Leaving directory `/home/bb/trunk/gb.xml' make[2]: Leaving directory `/home/bb/trunk/gb.xml' Making all in gb.v4l make[2]: Entering directory `/home/bb/trunk/gb.v4l' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.v4l' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.v4l/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.v4l/src' make[4]: Entering directory `/home/bb/trunk/gb.v4l' make[4]: Leaving directory `/home/bb/trunk/gb.v4l' make[3]: Leaving directory `/home/bb/trunk/gb.v4l' make[2]: Leaving directory `/home/bb/trunk/gb.v4l' Making all in gb.crypt make[2]: Entering directory `/home/bb/trunk/gb.crypt' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.crypt' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.crypt/src' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/bb/trunk/gb.crypt/src' make[4]: Entering directory `/home/bb/trunk/gb.crypt' make[4]: Leaving directory `/home/bb/trunk/gb.crypt' make[3]: Leaving directory `/home/bb/trunk/gb.crypt' make[2]: Leaving directory `/home/bb/trunk/gb.crypt' Making all in gb.qt4 make[2]: Entering directory `/home/bb/trunk/gb.qt4' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.qt4' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.qt4/src' Making all in . make[5]: Entering directory `/home/bb/trunk/gb.qt4/src' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/bb/trunk/gb.qt4/src' Making all in ext make[5]: Entering directory `/home/bb/trunk/gb.qt4/src/ext' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/gb.qt4/src/ext' Making all in webkit make[5]: Entering directory `/home/bb/trunk/gb.qt4/src/webkit' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/gb.qt4/src/webkit' Making all in opengl make[5]: Entering directory `/home/bb/trunk/gb.qt4/src/opengl' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/bb/trunk/gb.qt4/src/opengl' make[4]: Leaving directory `/home/bb/trunk/gb.qt4/src' make[4]: Entering directory `/home/bb/trunk/gb.qt4' make[4]: Leaving directory `/home/bb/trunk/gb.qt4' make[3]: Leaving directory `/home/bb/trunk/gb.qt4' make[2]: Leaving directory `/home/bb/trunk/gb.qt4' Making all in gb.gtk make[2]: Entering directory `/home/bb/trunk/gb.gtk' make all-recursive make[3]: Entering directory `/home/bb/trunk/gb.gtk' Making all in src make[4]: Entering directory `/home/bb/trunk/gb.gtk/src' Making all in . make[5]: Entering directory `/home/bb/trunk/gb.gtk/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -module -o gb.gtk.la -rpath /usr/local/lib/gambas3 gb_gtk_la-gmemory.lo gb_gtk_la-font-parser.lo gb_gtk_la-gtree.lo gb_gtk_la-gtools.lo gb_gtk_la-gstock.lo gb_gtk_la-gfont.lo gb_gtk_la-gpicture.lo gb_gtk_la-gdraw.lo gb_gtk_la-gdesktop.lo gb_gtk_la-gmessage.lo gb_gtk_la-gcontrol.lo gb_gtk_la-gcontainer.lo gb_gtk_la-gseparator.lo gb_gtk_la-gbutton.lo gb_gtk_la-gprogressbar.lo gb_gtk_la-gslider.lo gb_gtk_la-glabel.lo gb_gtk_la-gsignals.lo gb_gtk_la-gpicturebox.lo gb_gtk_la-gcombobox.lo gb_gtk_la-gtextbox.lo gb_gtk_la-gtextarea.lo gb_gtk_la-glistbox.lo gb_gtk_la-gspinbox.lo gb_gtk_la-gtreeview.lo gb_gtk_la-gframe.lo gb_gtk_la-gsplitter.lo gb_gtk_la-gtabstrip.lo gb_gtk_la-gscrollview.lo gb_gtk_la-gmenu.lo gb_gtk_la-gtrayicon.lo gb_gtk_la-gmainwindow.lo gb_gtk_la-watcher.lo gb_gtk_la-CStock.lo gb_gtk_la-CConst.lo gb_gtk_la-CColor.lo gb_gtk_la-CFont.lo gb_gtk_la-CKey.lo gb_gtk_la-CScreen.lo gb_gtk_la-CMessage.lo gb_gtk_la-CDialog.lo gb_gtk_la-CDraw.lo gb_gtk_la-cpaint_impl.lo gb_gtk_la-CImage.lo gb_gtk_la-CPicture.lo gb_gtk_la-CClipboard.lo gb_gtk_la-CMouse.lo gb_gtk_la-CWatcher.lo gb_gtk_la-CWidget.lo gb_gtk_la-CContainer.lo gb_gtk_la-CSeparator.lo gb_gtk_la-CDrawingArea.lo gb_gtk_la-CLabel.lo gb_gtk_la-CProgress.lo gb_gtk_la-CSlider.lo gb_gtk_la-CButton.lo gb_gtk_la-CPictureBox.lo gb_gtk_la-CTextBox.lo gb_gtk_la-CTextArea.lo gb_gtk_la-CSpinBox.lo gb_gtk_la-CListBox.lo gb_gtk_la-CTreeView.lo gb_gtk_la-CFrame.lo gb_gtk_la-CSplitter.lo gb_gtk_la-CTabStrip.lo gb_gtk_la-CScrollView.lo gb_gtk_la-CMenu.lo gb_gtk_la-CTrayIcon.lo gb_gtk_la-CWindow.lo gb_gtk_la-cprinter.lo gb_gtk_la-csvgimage.lo gb_gtk_la-main.lo gb_gtk_la-gcursor.lo gb_gtk_la-gmouse.lo gb_gtk_la-gdrawingarea.lo gb_gtk_la-gapplication.lo gb_gtk_la-gdrag.lo gb_gtk_la-gprinter.lo gb_gtk_la-gglarea.lo gb_gtk_la-x11.lo -lrsvg-2 -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0 libtool: link: cannot find the library `/usr/lib/libgdk_pixbuf-2.0.la' or unhandled argument `/usr/lib/libgdk_pixbuf-2.0.la' make[5]: *** [gb.gtk.la] Error 1 make[5]: Leaving directory `/home/bb/trunk/gb.gtk/src' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/bb/trunk/gb.gtk/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/bb/trunk/gb.gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/bb/trunk/gb.gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bb/trunk' make: *** [all] Error 2 From rterry at ...1823... Wed Aug 15 00:20:01 2012 From: rterry at ...1823... (Richard Terry) Date: Wed, 15 Aug 2012 08:20:01 +1000 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: References: <502A91EC.1030008@...1...> Message-ID: <502ACF11.2040306@...1823...> M. Cs. wrote: > That will be great! > > 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 > > Thanks Benoit, I often screw up on that one! Richard From support at ...2529... Wed Aug 15 00:49:02 2012 From: support at ...2529... (John Spikowski) Date: Tue, 14 Aug 2012 15:49:02 -0700 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <502ACF11.2040306@...1823...> References: <502A91EC.1030008@...1...> <502ACF11.2040306@...1823...> Message-ID: <1344984542.4170.19.camel@...1833...> On Wed, 2012-08-15 at 08:20 +1000, Richard Terry wrote: > > > Thanks Benoit, I often screw up on that one! > > Richard I guess I'm spoiled using a typeless scripting language. I don't even have to DIM arrays either. To 'DIM' an array in SB, I do the following. Creates a[] with a million elements. SPLITA STRING(1000000,"0") BY "" TO a only takes a fraction of a second if dynamic allocation is too slow. Accessing arrays elements once created perform as expected. From gambas.fr at ...626... Wed Aug 15 10:21:01 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 15 Aug 2012 10:21:01 +0200 Subject: [Gambas-user] just a question about editor-bookmarks In-Reply-To: <502AC9AB.9070908@...1...> References: <1344980725.2916.17.camel@...40...> <502AC9AB.9070908@...1...> Message-ID: There is years ... Now we wait for that :-) Le 14 ao?t 2012 23:58, "Beno?t Minisini" a ?crit : > Le 14/08/2012 23:45, Karl Reinl a ?crit : > > Salut Beno?t, > > > > while missing bookmarks in the gambas IDE editor, I use the breakpoints > > which work like a charm for that. > > So my question is, can that method not be used to add 'bookmarks' to the > > editor? > > > > > > Ha! Yes... The bookmarks... :-) > > -- > 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.fr at ...626... Wed Aug 15 10:46:58 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 15 Aug 2012 10:46:58 +0200 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <1344984542.4170.19.camel@...1833...> References: <502A91EC.1030008@...1...> <502ACF11.2040306@...1823...> <1344984542.4170.19.camel@...1833...> Message-ID: I think the kdevellop way is better... It just purpose via a kind of status bar and key shortcuts. For example if you say s = str(s) you know it's a string, but you can't know if it is global privatepublic static ? so the editor need to purpose : Static public s as string Static private s as string public s as string Private s as string dim s a string http://kdevelop.org/screenshots/c-assistant http://kdevelop.org/screenshots/c-signature-assistant http://zwabel.wordpress.com/2009/03/13/really-rapid-c-development-with-kdevelop4/ i think it is the good way to do such things... it not do things behind the user. another good feature (that work with that too) will be to purpose to rename all the occurence when you change a symbole name. (just when we change the declaration) From bbruen at ...2308... Wed Aug 15 11:32:52 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 15 Aug 2012 19:02:52 +0930 Subject: [Gambas-user] rev 5040 make fails ("32 bit error again") In-Reply-To: <1344982389.23798.83.camel@...2688...> References: <1344944125.23798.26.camel@...2688...> <502A3B11.2010406@...1...> <502A3BB9.7010208@...1...> <1344982389.23798.83.camel@...2688...> Message-ID: <1345023172.23798.87.camel@...2688...> On Wed, 2012-08-15 at 07:43 +0930, Bruce wrote: > Perhaps it would make more sense if I attached the right output file. > > Sorry about that. > > Bruce Solved! Some packager made a typo in the the RPM manifest for a gtk library I updated yesterday. It took me several hours to see it. Sorry about the whole thing. regards Bruce From vuott at ...325... Wed Aug 15 17:07:06 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 15 Aug 2012 16:07:06 +0100 (BST) Subject: [Gambas-user] New feature in the IDE code editor Message-ID: <1345043226.2954.YahooMailClassic@...2780...> > In revision #5041, I started to implement automatic declaration of > undeclared local variable. > There is a new option to disable this feature if you want. Hello, I must say that I disagree with this new feature of Gambas IDE, because the error is a possibility, and indeed an event, the solution does not always have to be called an automatic process. This especially in the programming, and the creation of something, because the automatic correction leaves the programmer in unconsciousness, thus itself a new and more serious error that is unknown to the programmer. In my opinion, it would be better if the feature was disabled by default, and not the contrary. Regards Vuott From gambas at ...1... Wed Aug 15 17:22:38 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Aug 2012 17:22:38 +0200 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <1345043226.2954.YahooMailClassic@...2780...> References: <1345043226.2954.YahooMailClassic@...2780...> Message-ID: <502BBEBE.3070001@...1...> Le 15/08/2012 17:07, Ru Vuott a ?crit : >> In revision #5041, I started to implement automatic declaration of >> undeclared local variable. > >> There is a new option to disable this feature if you want. > > > Hello, > I must say that I disagree with this new feature of Gambas IDE, because the error is a possibility, and indeed an event, the solution does not always have to be called an automatic process. This especially in the programming, and the creation of something, because the automatic correction leaves the programmer in unconsciousness, thus itself a new and more serious error that is unknown to the programmer. > > In my opinion, it would be better if the feature was disabled by default, and not the contrary. > > Regards > Vuott > Mmm... ok. -- Beno?t Minisini From vuott at ...325... Wed Aug 15 17:37:49 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 15 Aug 2012 16:37:49 +0100 (BST) Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <502BBEBE.3070001@...1...> Message-ID: <1345045069.64564.YahooMailClassic@...2758...> > > Mmm... ok. > > -- > Beno?t Minisini > > This is very sensible of you, Beno?t ! Bye Vuottttt From ron at ...1740... Wed Aug 15 17:29:22 2012 From: ron at ...1740... (Ron) Date: Wed, 15 Aug 2012 17:29:22 +0200 Subject: [Gambas-user] New feature in the IDE code editor In-Reply-To: <502BBEBE.3070001@...1...> References: <1345043226.2954.YahooMailClassic@...2780...> <502BBEBE.3070001@...1...> Message-ID: +1 Op 15 aug. 2012 17:23 schreef "Beno?t Minisini" < gambas at ...1...> het volgende: > Le 15/08/2012 17:07, Ru Vuott a ?crit : > >> In revision #5041, I started to implement automatic declaration of > >> undeclared local variable. > > > >> There is a new option to disable this feature if you want. > > > > > > Hello, > > I must say that I disagree with this new feature of Gambas IDE, because > the error is a possibility, and indeed an event, the solution does not > always have to be called an automatic process. This especially in the > programming, and the creation of something, because the automatic > correction leaves the programmer in unconsciousness, thus itself a new and > more serious error that is unknown to the programmer. > > > > In my opinion, it would be better if the feature was disabled by > default, and not the contrary. > > > > Regards > > Vuott > > > > Mmm... ok. > > -- > 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 oceanosoftlapalma at ...626... Wed Aug 15 20:09:09 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Wed, 15 Aug 2012 20:09:09 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> Message-ID: Hi, After some days waiting for the delivery I got new wacom bamboo pen. I was doing some test using the attached project and I got some crash (project and IDE). I you move the tablet pen to the screen limits then you got a signal 22 and a segment fault. You got it when you are running the app and when you are in the IDE too. When the IDE crash you can see 'core' was generated (but I don't know where is it to attach to this mail). Other issue is Pointer.Rotation got the same value every time -14.0625 XTilt and YTilt values are always 0 (maybe this wacom tablet doesn't support this...) Type and Pressure work fine. And interesting thing is when tablet is being registered, PositionX and PositionX are float and when mouse is registered are integers values. The gdb bt for the project was: #0 QBasicAtomicInt::ref (this=0x3000002a2) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121 #1 0x00007ffff5da1132 in QString (other=..., this=0x7fffffffcd40) at /usr/include/qt4/QtCore/qstring.h:726 #2 text (this=0x7fffffffd2e0) at /usr/include/qt4/QtGui/qevent.h:236 #3 CWidget::eventFilter (this=0x7ffff6008290, widget=0x9586d0, event=0x7fffffffd2e0) at CWidget.cpp:2819 #4 0x00007ffff45f1f6c in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007ffff4b14806 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #6 0x00007ffff4b19afc in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #7 0x00007ffff45f1e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007ffff4b83643 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #9 0x00007ffff4b934fe in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #10 0x00007ffff4bbd0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #11 0x00007ffff2e80d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #12 0x00007ffff2e810a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x00007ffff2e81164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007ffff46213bf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #15 0x00007ffff4bbcd5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #16 0x00007ffff45f0c82 in QEventLoop::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #17 0x00007ffff45f0ed7 in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #18 0x00007ffff45f5f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #19 0x00007ffff5d9a949 in hook_loop () at main.cpp:777 #20 0x00000000004046d8 in main (argc=1, argv=0x7fffffffe138) at gbx.c:417 The system information: [System] OperatingSystem=Linux Kernel=3.2.0-27-generic Architecture=x86_64 Memory=5965424 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 12.04 LTS" Desktop=Gnome [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, Ricardo D?az 2012/8/10 Ricardo D?az Mart?n > Thanks Benoit, > > I'm going directly to the shop to buy a wacom tablet to test it. > > Hope to try it this weekend. > > I'll keep you informed. > > Regards, > > > 2012/8/10 Beno?t Minisini > >> Le 25/07/2012 08:15, Ricardo D?az Mart?n a ?crit : >> > Hi, >> > >> > I wonder if there is some way to read the pen pressure from wacom like >> > tablets in gambas. I have read some documentations for java and looks >> like >> > wacon tablets works like a normal mouse with some extra properties you >> can >> > get: pressure, rubber mode, etc... >> > >> > I know there is qt4 support for this but I have not experience with >> qt4. I >> > can do it in java but of course I prefer gambas3 :-p >> > >> > Regards, >> > Ricardo D?az >> >> Hi, >> >> Since revision #5024, you can catch tablet events with Gambas. But I >> can't test it, so I need you now! >> >> At the moment, it works like that: >> >> 1) Only DrawingArea can catch tablet events. You need to set its new >> 'UseTablet' property to TRUE. >> >> 2) Then each tablet event will raise a MousePress, MouseMove or >> MouseRelease event. >> >> 3) The properties of the tablet event are stored inside the new >> 'Pointer' static class. >> >> 4) The 'Pointer' class has the following properties: >> >> - X : the floating point X global coordinate. >> - Y : the floating point Y global coordinate. >> - XTilt: the X tilt. >> - YTilt: the Y tilt. >> - Pressure: the pressure. >> - Rotation: the rotation. >> - Type: the pointer type, which be either Pointer.Mouse, Pointer.Pen, >> Pointer.Eraser or Pointer.Cursor. >> >> I have no idea if it works. Maybe I will buy a Wacom tablet, I don't >> know. But now I'm waiting for your returns! >> >> Thanks in advance. >> >> 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 >> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: WacomTest-0.0.2.tar.gz Type: application/x-gzip Size: 7886 bytes Desc: not available URL: From gambas at ...1... Wed Aug 15 20:22:00 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Aug 2012 20:22:00 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> Message-ID: <502BE8C8.7070105@...1...> Le 15/08/2012 20:09, Ricardo D?az Mart?n a ?crit : > Hi, > > After some days waiting for the delivery I got new wacom bamboo pen. > > I was doing some test using the attached project and I got some > crash (project and IDE). > > I you move the tablet pen to the screen limits then you got a signal > 22 and a segment fault. You got it when you are running the app and > when you are in the IDE too. What do you mean by "in the IDE too"? That if you use the pen inside the IDE, the IDE crashes? > When the IDE crash you can see 'core' was generated (but I don't know > where is it to attach to this mail). > > Other issue is Pointer.Rotation got the same value every time > -14.0625 > > XTilt and YTilt values are always 0 (maybe this wacom tablet doesn't > support this...) > > Type and Pressure work fine. > > And interesting thing is when tablet is being registered, PositionX > and PositionX are float and when mouse is registered are integers > values. > > The gdb bt for the project was: #0 QBasicAtomicInt::ref > (this=0x3000002a2) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121 #1 > 0x00007ffff5da1132 in QString (other=..., this=0x7fffffffcd40) at > /usr/include/qt4/QtCore/qstring.h:726 #2 text (this=0x7fffffffd2e0) > at /usr/include/qt4/QtGui/qevent.h:236 #3 CWidget::eventFilter > (this=0x7ffff6008290, widget=0x9586d0, event=0x7fffffffd2e0) at > CWidget.cpp:2819 #4 0x00007ffff45f1f6c in > QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, > > QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 > #5 0x00007ffff4b14806 in > QApplicationPrivate::notify_helper(QObject*, QEvent*) () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #6 0x00007ffff4b19afc in > QApplication::notify(QObject*, QEvent*) () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #7 0x00007ffff45f1e9c in > QCoreApplication::notifyInternal(QObject*, QEvent*) () from > /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007ffff4b83643 in ?? > () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #9 > 0x00007ffff4b934fe in QApplication::x11ProcessEvent(_XEvent*) () > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #10 0x00007ffff4bbd0d2 > in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #11 > 0x00007ffff2e80d53 in g_main_context_dispatch () from > /lib/x86_64-linux-gnu/libglib-2.0.so.0 #12 0x00007ffff2e810a0 in ?? > () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x00007ffff2e81164 > in g_main_context_iteration () from > /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007ffff46213bf in > QEventDispatcherGlib::processEvents(QFlags) > > () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 > #15 0x00007ffff4bbcd5e in ?? () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #16 0x00007ffff45f0c82 in > QEventLoop::processEvents(QFlags) () > from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #17 0x00007ffff45f0ed7 > in QEventLoop::exec(QFlags) () from > /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #18 0x00007ffff45f5f67 in > QCoreApplication::exec() () from > /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #19 0x00007ffff5d9a949 in > hook_loop () at main.cpp:777 #20 0x00000000004046d8 in main (argc=1, > argv=0x7fffffffe138) at gbx.c:417 > > The system information: > > [System] > > OperatingSystem=Linux > > Kernel=3.2.0-27-generic > > Architecture=x86_64 > > Memory=5965424 kB > > DistributionVendor=Ubuntu > > DistributionRelease="Ubuntu 12.04 LTS" > > Desktop=Gnome > > > [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, > > Ricardo D?az > 1) Please: can you recompile gb.qt4 component with no optimization? $ cd /trunk/gb.qt4 $ make clean $ make "CFLAGS=-O0 -g -ggdb" "CXXFLAGS=-O0 -g -ggdb" $ sudo make install 2) Then send me the backtrace of the crash again. 3) If possible, can you try your program with gb.gtk instead of gb.qt4 to compare what you get? Same crash, other crashes, no crash, other event data... Thanks! -- Beno?t Minisini From gambas at ...1... Wed Aug 15 20:33:24 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Aug 2012 20:33:24 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> Message-ID: <502BEB74.3030601@...1...> Le 15/08/2012 20:09, Ricardo D?az Mart?n a ?crit : > When the IDE crash you can see 'core' was generated (but I > don't know where is it to attach to this mail). > Your core file would be too big and useless for me, because the information must be extracted from the same machine that made the core file. But if you find it, you can run 'gdb' on it to get the backtrace of the crash. Regards, -- Beno?t Minisini From gambas at ...1... Wed Aug 15 20:33:33 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Aug 2012 20:33:33 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502BE8C8.7070105@...1...> References: <50244BCC.7030708@...1...> <502BE8C8.7070105@...1...> Message-ID: <502BEB7D.10303@...1...> Le 15/08/2012 20:22, Beno?t Minisini a ?crit : > > 1) Please: can you recompile gb.qt4 component with no optimization? > > $ cd /trunk/gb.qt4 > $ make clean > $ make "CFLAGS=-O0 -g -ggdb" "CXXFLAGS=-O0 -g -ggdb" > $ sudo make install > > 2) Then send me the backtrace of the crash again. > > 3) If possible, can you try your program with gb.gtk instead of gb.qt4 > to compare what you get? Same crash, other crashes, no crash, other > event data... > > Thanks! > Another point: can you test all mouse events (MousePress, MouseMove and MouseRelease) and tell me what you get exactly? Thanks. -- Beno?t Minisini From vuott at ...325... Wed Aug 15 21:11:14 2012 From: vuott at ...325... (Ru Vuott) Date: Wed, 15 Aug 2012 20:11:14 +0100 (BST) Subject: [Gambas-user] Error in Gambas IDE after rev. 5044 :-( Message-ID: <1345057874.21480.YahooMailClassic@...2695...> Hello, I'ld like to communicate that after updating my Gambas-3 with rev. 5044, when I launch **any** project from Gambas IDE, I receive this error message: [11] Unknown symbol 'Current' in class '.Editor.Line'.FEditor.Editors_Cursor.450 :-( Regards Vuott From gambas at ...1... Wed Aug 15 23:27:01 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Aug 2012 23:27:01 +0200 Subject: [Gambas-user] just a question about editor-bookmarks In-Reply-To: References: <1344980725.2916.17.camel@...40...> <502AC9AB.9070908@...1...> Message-ID: <502C1425.5060606@...1...> Le 15/08/2012 10:21, Fabien Bodard a ?crit : > There is years ... Now we wait for that :-) Finally done in revision #5045. Regards, -- Beno?t Minisini From gambas at ...1... Wed Aug 15 23:29:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Aug 2012 23:29:31 +0200 Subject: [Gambas-user] Menu children shown even if parent is disabled In-Reply-To: <50291504.10501@...626...> References: <50291504.10501@...626...> Message-ID: <502C14BB.9080508@...1...> Le 13/08/2012 16:53, Emanuele Sottocorno a ?crit : > When a Menu is disabled the event Click isn't raised. But if you click > on a closed enabled menu and then move the mouse over the disabled one > it's children pop-ups. Is this correct? > The attached project show the behaviour. Click on the Menu1 and move the > pointer over Menu2 > This happens with both QT4 and GTK > Regards, > Emanuele > I can't reproduce that. Maybe it is a bug in the widget theme: which one do you use? I use oxygen (for QT4) and oxygen-gtk (for GTK) -- Beno?t Minisini From gambas at ...2524... Thu Aug 16 04:42:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 16 Aug 2012 02:42:40 +0000 Subject: [Gambas-user] Issue 311 in gambas: Object.GetProperty is mangling objects Message-ID: <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Other Arch-Any Desktop-Any GUI-Any New issue 311 by adamn... at ...626...: Object.GetProperty is mangling objects http://code.google.com/p/gambas/issues/detail?id=311 1) Describe the problem. Possible bug? Very hard to describe. Something in the attached project causes Object.GetProperty to change the object it is working with. This causes differing problems on nearly every run. Segfaults, aborts, or just very odd behaviour. It may have something to do with the fact that the faulting object is using a database? :-( Sorry Benoit, I just can't characterise this one any further. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5043 Operating system: Linux Distribution: PCLinuxOS Architecture: x86 GUI component: QT4 / GTK+ Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. SQLite db contained in attached project. 5) Explain clearly how to reproduce the bug or the crash. The attached project is a "hacked down" version of one of our production projects that lets horse trainers offer their horses in an upcoming auction. It is the smallest I can get it and reproduce the issue. (Note the production version uses a postgres database and the same thing occurs, so it's not sqlite that does it.) The attached consists of a main form and three object classes. The form has two gridviews, one for the horses (object class "Stable") and one for the upcoming auctions (object class "Auction". The Auctions class uses the "House" class to get and provide information about an auctioneering company. The Stable class is independent of any database interaction. As provided, the project runs correctly, just so you can see what is supposed to happen. The problem area is highlighted in the FMain code at the LoadGrid method. So, 1) Open it in the IDE and run it, you should see the upper gridview populated with 4 horses and the lower gridview populated with 5 auctions (sorted by date, state and code). 2) At line 85 in FMain.LoadGrid, I am doing something a bit strange in order to show that Object.GetProperty works fine in the case where the Object has no database interaction. 3) Lines 90 to 135, which is where the problem lies, is creating a sorted list of objects in the collection of upcoming auctions and then loading the bottom gridview according to that sort list. The sort order in the demo is defined as an inline array at line 94 (in the prod version it is a dynamic String[]). Lines 98-105 get the sortkey components directly, this works. 4) Line 108, (commented out) attempts to get the sortkey components using Object.Getproperty. This would generalise the method and allow the users to set any sort order they want. To demonstrate the problem. 1) Comment out lines 98-105 and uncomment line 108. 2) Re-run the project. 3) You should see any one of any number of "crashes". This is what I can see: 1) This is the most common occurrence a) set a breakpoint on line 108 and popup a debug window on "hCurrAuction" b) stepping through the code, when I get to the third iteration and it is accessing the "HouseCode" property, suddenly the debugger shows junk in the hCurrAuction object. When we get to line 119, the hCurrAuction property values are again changed and at line 120 the resultant sortkey is junk. Stepping to line 121, the hCurrentAuction properties change again! 2) Sometimes, for Lord knows what reason. It gets through to line 132 without an error. Then it segfaults at any one of the lines 151-156 Sorry about the long description and for the lack of any further characterisation. Bruce Attachments: gvwprob-0.0.1.tar.gz 8.5 KB From gambas at ...2524... Thu Aug 16 04:48:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 16 Aug 2012 02:48:40 +0000 Subject: [Gambas-user] Issue 311 in gambas: Object.GetProperty is mangling objects In-Reply-To: <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Comment #1 on issue 311 by adamn... at ...626...: Object.GetProperty is mangling objects http://code.google.com/p/gambas/issues/detail?id=311 Oops. Is the automatic dump any use? Here it is. Attachments: gvwprobdump.txt 11.3 KB From gambas at ...2524... Thu Aug 16 05:05:04 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 16 Aug 2012 03:05:04 +0000 Subject: [Gambas-user] Issue 311 in gambas: Object.GetProperty is mangling objects In-Reply-To: <1-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Comment #2 on issue 311 by adamn... at ...626...: Object.GetProperty is mangling objects http://code.google.com/p/gambas/issues/detail?id=311 I also just noticed that the properties that get mangled are the ones that are not derived from the database. Pics attached. Attachments: before.png 14.1 KB After.png 14.2 KB From oceanosoftlapalma at ...626... Thu Aug 16 09:06:12 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 09:06:12 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502BEB74.3030601@...1...> References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> Message-ID: Ok, this is the information I got: - When I said crash in the IDE too, it means after the crash in the project, if you still moving the pen in the tablet, the IDE got the crash with no information (IDE disappear) - With gtk+ components the tablet is not detected. Tablet is detected as normal mouse. No crash in the project. No crash in the IDE. - The event Move, Down, Up are right fired. Work as expected with the pen and with the mouse. - If you set Tracking property to true in the drawing area control you you got the MouseDown event and MouseUp event some times is fired and some times no. - I got the same crash by compiling gambas with no qt4 optimizations gdb with gambas3 qt4 no optimizations compiled was: Starting program: /usr/local/bin/gbx3 [Depuraci?n de hilo usando libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Nuevo Thread 0x7fffea237700 (LWP 20134)] [Nuevo Thread 0x7fffe9a36700 (LWP 20135)] [Nuevo Thread 0x7fffe37c4700 (LWP 20136)] Program received signal SIGSEGV, Segmentation fault. QBasicAtomicInt::ref (this=0x18700000131) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121 121 : "memory"); gdb backtrace was: #0 QBasicAtomicInt::ref (this=0x18700000131) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121 #1 0x00007ffff5da1184 in QString (other=..., this=0x7fffffffcd10) at /usr/include/qt4/QtCore/qstring.h:726 #2 text (this=0x7fffffffd2b0) at /usr/include/qt4/QtGui/qevent.h:236 #3 CWidget::eventFilter (this=0x7ffff60082a0, widget=0x986050, event=0x7fffffffd2b0) at CWidget.cpp:2822 #4 0x00007ffff45f1f6c in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #5 0x00007ffff4b14806 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #6 0x00007ffff4b19afc in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #7 0x00007ffff45f1e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #8 0x00007ffff4b83643 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #9 0x00007ffff4b934fe in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #10 0x00007ffff4bbd0d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #11 0x00007ffff2e80d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #12 0x00007ffff2e810a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x00007ffff2e81164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007ffff46213bf in QEventDispatcherGlib::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #15 0x00007ffff4bbcd5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 #16 0x00007ffff45f0c82 in QEventLoop::processEvents(QFlags) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #17 0x00007ffff45f0ed7 in QEventLoop::exec(QFlags) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #18 0x00007ffff45f5f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #19 0x00007ffff5d9a94f in hook_loop () at main.cpp:777 #20 0x000000000044262b in main (argc=1, argv=0x7fffffffe138) at gbx.c:417 If I can help you with extra information please say to me. Regards, Ricardo D?az 2012/8/15 Beno?t Minisini > Le 15/08/2012 20:09, Ricardo D?az Mart?n a ?crit : > > When the IDE crash you can see 'core' was generated (but I > > don't know where is it to attach to this mail). > > > > Your core file would be too big and useless for me, because the > information must be extracted from the same machine that made the core > file. > > But if you find it, you can run 'gdb' on it to get the backtrace of the > crash. > > 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 oceanosoftlapalma at ...626... Thu Aug 16 09:08:36 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 09:08:36 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> Message-ID: In addition I attach the project with last modifications. Regards 2012/8/16 Ricardo D?az Mart?n > Ok, this is the information I got: > > - When I said crash in the IDE too, it means after the crash in the > project, if you still moving the pen in the tablet, the IDE got the crash > with no information (IDE disappear) > - With gtk+ components the tablet is not detected. Tablet is detected as > normal mouse. No crash in the project. No crash in the IDE. > - The event Move, Down, Up are right fired. Work as expected with the pen > and with the mouse. > - If you set Tracking property to true in the drawing area control you you > got the MouseDown event and MouseUp event some times is fired and some > times no. > - I got the same crash by compiling gambas with no qt4 optimizations > > gdb with gambas3 qt4 no optimizations compiled was: > Starting program: /usr/local/bin/gbx3 > [Depuraci?n de hilo usando libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > [Nuevo Thread 0x7fffea237700 (LWP 20134)] > [Nuevo Thread 0x7fffe9a36700 (LWP 20135)] > [Nuevo Thread 0x7fffe37c4700 (LWP 20136)] > > Program received signal SIGSEGV, Segmentation fault. > QBasicAtomicInt::ref (this=0x18700000131) at > /usr/include/qt4/QtCore/qatomic_x86_64.h:121 > 121 : "memory"); > > > gdb backtrace was: > #0 QBasicAtomicInt::ref (this=0x18700000131) at > /usr/include/qt4/QtCore/qatomic_x86_64.h:121 > #1 0x00007ffff5da1184 in QString (other=..., this=0x7fffffffcd10) at > /usr/include/qt4/QtCore/qstring.h:726 > #2 text (this=0x7fffffffd2b0) at /usr/include/qt4/QtGui/qevent.h:236 > #3 CWidget::eventFilter (this=0x7ffff60082a0, widget=0x986050, > event=0x7fffffffd2b0) at CWidget.cpp:2822 > #4 0x00007ffff45f1f6c in > QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, > QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 > #5 0x00007ffff4b14806 in QApplicationPrivate::notify_helper(QObject*, > QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #6 0x00007ffff4b19afc in QApplication::notify(QObject*, QEvent*) () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #7 0x00007ffff45f1e9c in QCoreApplication::notifyInternal(QObject*, > QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 > #8 0x00007ffff4b83643 in ?? () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #9 0x00007ffff4b934fe in QApplication::x11ProcessEvent(_XEvent*) () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #10 0x00007ffff4bbd0d2 in ?? () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #11 0x00007ffff2e80d53 in g_main_context_dispatch () from > /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #12 0x00007ffff2e810a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #13 0x00007ffff2e81164 in g_main_context_iteration () from > /lib/x86_64-linux-gnu/libglib-2.0.so.0 > #14 0x00007ffff46213bf in > QEventDispatcherGlib::processEvents(QFlags) > () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 > #15 0x00007ffff4bbcd5e in ?? () from > /usr/lib/x86_64-linux-gnu/libQtGui.so.4 > #16 0x00007ffff45f0c82 in > QEventLoop::processEvents(QFlags) () from > /usr/lib/x86_64-linux-gnu/libQtCore.so.4 > #17 0x00007ffff45f0ed7 in > QEventLoop::exec(QFlags) () from > /usr/lib/x86_64-linux-gnu/libQtCore.so.4 > #18 0x00007ffff45f5f67 in QCoreApplication::exec() () from > /usr/lib/x86_64-linux-gnu/libQtCore.so.4 > #19 0x00007ffff5d9a94f in hook_loop () at main.cpp:777 > #20 0x000000000044262b in main (argc=1, argv=0x7fffffffe138) at gbx.c:417 > > If I can help you with extra information please say to me. > > Regards, > Ricardo D?az > > > 2012/8/15 Beno?t Minisini > >> Le 15/08/2012 20:09, Ricardo D?az Mart?n a ?crit : >> > When the IDE crash you can see 'core' was generated (but I >> > don't know where is it to attach to this mail). >> > >> >> Your core file would be too big and useless for me, because the >> information must be extracted from the same machine that made the core >> file. >> >> But if you find it, you can run 'gdb' on it to get the backtrace of the >> crash. >> >> 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 >> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: WacomTest-0.0.4.tar.gz Type: application/x-gzip Size: 8491 bytes Desc: not available URL: From gambas.fr at ...626... Thu Aug 16 10:15:03 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 16 Aug 2012 10:15:03 +0200 Subject: [Gambas-user] just a question about editor-bookmarks In-Reply-To: <502C1425.5060606@...1...> References: <1344980725.2916.17.camel@...40...> <502AC9AB.9070908@...1...> <502C1425.5060606@...1...> Message-ID: 2012/8/15 Beno?t Minisini : > Le 15/08/2012 10:21, Fabien Bodard a ?crit : >> There is years ... Now we wait for that :-) > > Finally done in revision #5045. > > 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 thank you -- Fabien Bodard From ivan-kern at ...308... Thu Aug 16 12:29:35 2012 From: ivan-kern at ...308... (Ivan Kern) Date: Thu, 16 Aug 2012 12:29:35 +0200 Subject: [Gambas-user] Frame Control Message-ID: <000c01cd7b9a$0bc56bc0$23504340$@freenet.de> Hello, There is some problem with a Frame control. When I place the control on my Form I cannot see it. There is no border. And I must change the background to see it. Ubuntu 10.04 Gambas3 Rev. 5004 Regards Ivan From gambas at ...1... Thu Aug 16 14:07:11 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 16 Aug 2012 14:07:11 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> Message-ID: <502CE26F.7050700@...1...> Le 16/08/2012 09:06, Ricardo D?az Mart?n a ?crit : > Ok, this is the information I got: > > - When I said crash in the IDE too, it means after the crash in the > project, if you still moving the pen in the tablet, the IDE got the crash > with no information (IDE disappear) If the IDE segfaults too, then this crash may be a bug in Qt itself... > - With gtk+ components the tablet is not detected. Tablet is detected as > normal mouse. No crash in the project. No crash in the IDE. How do you know that the tablet is not detected? Did you any X11 stuff to configure your tablet? > - The event Move, Down, Up are right fired. Work as expected with the pen > and with the mouse. > - If you set Tracking property to true in the drawing area control you you > got the MouseDown event and MouseUp event some times is fired and some > times no. Mmm... > - I got the same crash by compiling gambas with no qt4 optimizations > > gdb with gambas3 qt4 no optimizations compiled was: > Starting program: /usr/local/bin/gbx3 > [Depuraci?n de hilo usando libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > [Nuevo Thread 0x7fffea237700 (LWP 20134)] > [Nuevo Thread 0x7fffe9a36700 (LWP 20135)] > [Nuevo Thread 0x7fffe37c4700 (LWP 20136)] > > Program received signal SIGSEGV, Segmentation fault. > QBasicAtomicInt::ref (this=0x18700000131) at > /usr/include/qt4/QtCore/qatomic_x86_64.h:121 > 121 : "memory"); > > > gdb backtrace was: > #0 QBasicAtomicInt::ref (this=0x18700000131) at > /usr/include/qt4/QtCore/qatomic_x86_64.h:121 > #1 0x00007ffff5da1184 in QString (other=..., this=0x7fffffffcd10) at > /usr/include/qt4/QtCore/qstring.h:726 > #2 text (this=0x7fffffffd2b0) at /usr/include/qt4/QtGui/qevent.h:236 > #3 CWidget::eventFilter (this=0x7ffff60082a0, widget=0x986050, > event=0x7fffffffd2b0) at CWidget.cpp:2822 ---> That lines means the crash occurs while receiving a *keyboard* event. Does it make any sense to receive a keyboard event while using a pen? We must find other Gambas users having a tablet to help us! -- Beno?t Minisini From gambas at ...1... Thu Aug 16 14:14:29 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 16 Aug 2012 14:14:29 +0200 Subject: [Gambas-user] Questions about SQLIte and Data Objects In-Reply-To: <34279714.post@...1379...> References: <34279714.post@...1379...> Message-ID: <502CE425.9030204@...1...> 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 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'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. > The DataView control needs to be enhanced so that we can configure each column: displayed format, alignment... -- Beno?t Minisini From ivan-kern at ...308... Thu Aug 16 15:22:38 2012 From: ivan-kern at ...308... (Ivan Kern) Date: Thu, 16 Aug 2012 15:22:38 +0200 Subject: [Gambas-user] Frame Control Message-ID: <001101cd7bb2$384f5210$a8edf630$@freenet.de> I've updated Gambas3 up to Rev. 5046 and there is still no border round the Frame control. I forgot to mention, I use component QT4. Regards Ivan On Thu, 2012-08-16 at 12:29 +0200, Ivan Kern wrote: > Hello, > > There is some problem with a Frame control. > > When I place the control on my Form I cannot see it. There is no border. > > And I must change the background to see it. > > > > Ubuntu 10.04 > > Gambas3 Rev. 5004 > > > > Regards > > Ivan > I think you need to update to a more recent rev. I can't remember when this was addressed but at 5046 there is a red border around all all of the "invisible" controls. cheers Bruce From gambas.fr at ...626... Thu Aug 16 15:29:38 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 16 Aug 2012 15:29:38 +0200 Subject: [Gambas-user] Frame Control In-Reply-To: <000c01cd7b9a$0bc56bc0$23504340$@freenet.de> References: <000c01cd7b9a$0bc56bc0$23504340$@freenet.de> Message-ID: It's because of the oxygen theme Le 16 ao?t 2012 12:33, "Ivan Kern" a ?crit : > Hello, > > There is some problem with a Frame control. > > When I place the control on my Form I cannot see it. There is no border. > > And I must change the background to see it. > > > > Ubuntu 10.04 > > Gambas3 Rev. 5004 > > > > Regards > > Ivan > > > ------------------------------------------------------------------------------ > 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 oceanosoftlapalma at ...626... Thu Aug 16 16:01:06 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 16:01:06 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502CE26F.7050700@...1...> References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> Message-ID: Hi Benoit, When I said using gtk+ components tablet is not detected is because the Pointer.Type is 0 (this is the same value you get using qt4 when you use the mouse for drawing in the drawing area control). In using Ubuntu 12.04 gnome 3 so you wacom tablets are plug and play with the kernel. You don't need to parch kernel neigther X11 no more (you can read this in sourceforge wacom driver for linux). It's really strange the crash is produced by keyboard event... I didn't touch any key 8-) BTW I have installed qt creator (ubuntu officical repo) and there is an "tablet" name example. Everything works in this example. In adition looks like xtilt and ytilt are allways 0 with my wacom bamboo pen. Rotation is setted to -14.0625 like in gambas3. Hope that it helps you. Regards, Ricardo D?az 2012/8/16 Beno?t Minisini > Le 16/08/2012 09:06, Ricardo D?az Mart?n a ?crit : > > Ok, this is the information I got: > > > > - When I said crash in the IDE too, it means after the crash in the > > project, if you still moving the pen in the tablet, the IDE got the crash > > with no information (IDE disappear) > > If the IDE segfaults too, then this crash may be a bug in Qt itself... > > > - With gtk+ components the tablet is not detected. Tablet is detected as > > normal mouse. No crash in the project. No crash in the IDE. > > How do you know that the tablet is not detected? Did you any X11 stuff > to configure your tablet? > > > - The event Move, Down, Up are right fired. Work as expected with the pen > > and with the mouse. > > - If you set Tracking property to true in the drawing area control you > you > > got the MouseDown event and MouseUp event some times is fired and some > > times no. > > Mmm... > > > - I got the same crash by compiling gambas with no qt4 optimizations > > > > gdb with gambas3 qt4 no optimizations compiled was: > > Starting program: /usr/local/bin/gbx3 > > [Depuraci?n de hilo usando libthread_db enabled] > > Using host libthread_db library > "/lib/x86_64-linux-gnu/libthread_db.so.1". > > [Nuevo Thread 0x7fffea237700 (LWP 20134)] > > [Nuevo Thread 0x7fffe9a36700 (LWP 20135)] > > [Nuevo Thread 0x7fffe37c4700 (LWP 20136)] > > > > Program received signal SIGSEGV, Segmentation fault. > > QBasicAtomicInt::ref (this=0x18700000131) at > > /usr/include/qt4/QtCore/qatomic_x86_64.h:121 > > 121 : "memory"); > > > > > > gdb backtrace was: > > #0 QBasicAtomicInt::ref (this=0x18700000131) at > > /usr/include/qt4/QtCore/qatomic_x86_64.h:121 > > #1 0x00007ffff5da1184 in QString (other=..., this=0x7fffffffcd10) at > > /usr/include/qt4/QtCore/qstring.h:726 > > #2 text (this=0x7fffffffd2b0) at /usr/include/qt4/QtGui/qevent.h:236 > > #3 CWidget::eventFilter (this=0x7ffff60082a0, widget=0x986050, > > event=0x7fffffffd2b0) at CWidget.cpp:2822 > > ---> That lines means the crash occurs while receiving a *keyboard* > event. Does it make any sense to receive a keyboard event while using a > pen? > > We must find other Gambas users having a tablet to help us! > > -- > 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 oceanosoftlapalma at ...626... Thu Aug 16 16:16:42 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 16:16:42 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> Message-ID: Benoit, Ummm, take an oulook to this: http://doc.trolltech.com/4.6/qtabletevent.html this is the event definition: QTabletEvent::QTabletEvent ( Type type, const QPoint & pos, const QPoint & globalPos, const QPointF & hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID ) there is a "keyState specifies which keyboard modifiers are pressed (e.g., Ctrl)." Could it be the segment fault for this keyState property? Regards, Ricardo 2012/8/16 Ricardo D?az Mart?n > Hi Benoit, > > When I said using gtk+ components tablet is not detected is because the > Pointer.Type is 0 (this is the same value you get using qt4 when you use > the mouse for drawing in the drawing area control). > > In using Ubuntu 12.04 gnome 3 so you wacom tablets are plug and play with > the kernel. You don't need to parch kernel neigther X11 no more (you can > read this in sourceforge wacom driver for linux). > > It's really strange the crash is produced by keyboard event... I didn't > touch any key 8-) > > BTW I have installed qt creator (ubuntu officical repo) and there is an > "tablet" name example. Everything works in this example. In adition looks > like xtilt and ytilt are allways 0 with my wacom bamboo pen. Rotation is > setted to -14.0625 like in gambas3. > > Hope that it helps you. > > Regards, > Ricardo D?az > > > > 2012/8/16 Beno?t Minisini > >> Le 16/08/2012 09:06, Ricardo D?az Mart?n a ?crit : >> > Ok, this is the information I got: >> > >> > - When I said crash in the IDE too, it means after the crash in the >> > project, if you still moving the pen in the tablet, the IDE got the >> crash >> > with no information (IDE disappear) >> >> If the IDE segfaults too, then this crash may be a bug in Qt itself... >> >> > - With gtk+ components the tablet is not detected. Tablet is detected as >> > normal mouse. No crash in the project. No crash in the IDE. >> >> How do you know that the tablet is not detected? Did you any X11 stuff >> to configure your tablet? >> >> > - The event Move, Down, Up are right fired. Work as expected with the >> pen >> > and with the mouse. >> > - If you set Tracking property to true in the drawing area control you >> you >> > got the MouseDown event and MouseUp event some times is fired and some >> > times no. >> >> Mmm... >> >> > - I got the same crash by compiling gambas with no qt4 optimizations >> > >> > gdb with gambas3 qt4 no optimizations compiled was: >> > Starting program: /usr/local/bin/gbx3 >> > [Depuraci?n de hilo usando libthread_db enabled] >> > Using host libthread_db library >> "/lib/x86_64-linux-gnu/libthread_db.so.1". >> > [Nuevo Thread 0x7fffea237700 (LWP 20134)] >> > [Nuevo Thread 0x7fffe9a36700 (LWP 20135)] >> > [Nuevo Thread 0x7fffe37c4700 (LWP 20136)] >> > >> > Program received signal SIGSEGV, Segmentation fault. >> > QBasicAtomicInt::ref (this=0x18700000131) at >> > /usr/include/qt4/QtCore/qatomic_x86_64.h:121 >> > 121 : "memory"); >> > >> > >> > gdb backtrace was: >> > #0 QBasicAtomicInt::ref (this=0x18700000131) at >> > /usr/include/qt4/QtCore/qatomic_x86_64.h:121 >> > #1 0x00007ffff5da1184 in QString (other=..., this=0x7fffffffcd10) at >> > /usr/include/qt4/QtCore/qstring.h:726 >> > #2 text (this=0x7fffffffd2b0) at /usr/include/qt4/QtGui/qevent.h:236 >> > #3 CWidget::eventFilter (this=0x7ffff60082a0, widget=0x986050, >> > event=0x7fffffffd2b0) at CWidget.cpp:2822 >> >> ---> That lines means the crash occurs while receiving a *keyboard* >> event. Does it make any sense to receive a keyboard event while using a >> pen? >> >> We must find other Gambas users having a tablet to help us! >> >> -- >> 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 ivan-kern at ...308... Thu Aug 16 16:17:30 2012 From: ivan-kern at ...308... (Ivan Kern) Date: Thu, 16 Aug 2012 16:17:30 +0200 Subject: [Gambas-user] Frame Control In-Reply-To: References: <000c01cd7b9a$0bc56bc0$23504340$@freenet.de> Message-ID: <001601cd7bb9$df555490$9dfffdb0$@freenet.de> At moment I use Clearlooks theme -----Urspr?ngliche Nachricht----- Von: Fabien Bodard [mailto:gambas.fr at ...626...] Gesendet: Donnerstag, 16. August 2012 15:30 An: mailing list for gambas users Betreff: Re: [Gambas-user] Frame Control It's because of the oxygen theme Le 16 ao?t 2012 12:33, "Ivan Kern" a ?crit : > Hello, > > There is some problem with a Frame control. > > When I place the control on my Form I cannot see it. There is no border. > > And I must change the background to see it. > > > > Ubuntu 10.04 > > Gambas3 Rev. 5004 > > > > Regards > > Ivan > > > ---------------------------------------------------------------------- > -------- > 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 gambas at ...1... Thu Aug 16 16:23:44 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 16 Aug 2012 16:23:44 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> Message-ID: <502D0270.8050300@...1...> Le 16/08/2012 16:16, Ricardo D?az Mart?n a ?crit : > Benoit, > > Ummm, take an oulook to this: http://doc.trolltech.com/4.6/qtabletevent.html > > this is the event definition: > QTabletEvent::QTabletEvent ( Type type, const QPoint & pos, const QPoint & > globalPos, const QPointF & hiResGlobalPos, int device, int pointerType, > qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal > rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID ) > > there is a "keyState specifies which keyboard modifiers are pressed (e.g., > Ctrl)." > > Could it be the segment fault for this keyState property? > Mmm... no. The crash is really while receiving a keyboard event (a QEvent whose type is QEvent::KeyPress). Did you try your pen with the GIMP? To see if it detects it, as it uses GTK+. -- Beno?t Minisini From oceanosoftlapalma at ...626... Thu Aug 16 16:39:51 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 16:39:51 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502D0270.8050300@...1...> References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> Message-ID: Yes, with gimp works nice. 2012/8/16 Beno?t Minisini > Le 16/08/2012 16:16, Ricardo D?az Mart?n a ?crit : > > Benoit, > > > > Ummm, take an oulook to this: > http://doc.trolltech.com/4.6/qtabletevent.html > > > > this is the event definition: > > QTabletEvent::QTabletEvent ( Type type, const QPoint & pos, const QPoint > & > > globalPos, const QPointF & hiResGlobalPos, int device, int pointerType, > > qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal > > rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID ) > > > > there is a "keyState specifies which keyboard modifiers are pressed > (e.g., > > Ctrl)." > > > > Could it be the segment fault for this keyState property? > > > > Mmm... no. > > The crash is really while receiving a keyboard event (a QEvent whose > type is QEvent::KeyPress). > > Did you try your pen with the GIMP? To see if it detects it, as it uses > GTK+. > > -- > 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 os.ricardo.diaz at ...626... Thu Aug 16 16:45:46 2012 From: os.ricardo.diaz at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 16:45:46 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> Message-ID: Extra information. I said that IDE crash after the poject crash. So I try now to do a gdb to gambas3 and I got this: ricardo.diaz at ...2915...:~/Documentos/gambassource/trunk/app/src/gambas3$ gdb gbx3 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 "x86_64-linux-gnu". Para las instrucciones de informe de errores, vea: ... Leyendo s?mbolos desde /usr/local/bin/gbx3...hecho. (gdb) run Starting program: /usr/local/bin/gbx3 [Depuraci?n de hilo usando libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". ERROR: #2: Cannot load class 'CReportBrush': Unable to load class file [Inferior 1 (process 6213) exited with code 01] Maybe it's related maybe not. I don't know... 2012/8/16 Ricardo D?az Mart?n > Yes, with gimp works nice. > > > 2012/8/16 Beno?t Minisini > >> Le 16/08/2012 16:16, Ricardo D?az Mart?n a ?crit : >> > Benoit, >> > >> > Ummm, take an oulook to this: >> http://doc.trolltech.com/4.6/qtabletevent.html >> > >> > this is the event definition: >> > QTabletEvent::QTabletEvent ( Type type, const QPoint & pos, const >> QPoint & >> > globalPos, const QPointF & hiResGlobalPos, int device, int pointerType, >> > qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal >> > rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID ) >> > >> > there is a "keyState specifies which keyboard modifiers are pressed >> (e.g., >> > Ctrl)." >> > >> > Could it be the segment fault for this keyState property? >> > >> >> Mmm... no. >> >> The crash is really while receiving a keyboard event (a QEvent whose >> type is QEvent::KeyPress). >> >> Did you try your pen with the GIMP? To see if it detects it, as it uses >> GTK+. >> >> -- >> 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 os.ricardo.diaz at ...626... Thu Aug 16 17:05:04 2012 From: os.ricardo.diaz at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 17:05:04 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> Message-ID: More extra information... If I keep the pen pressed (it means mouse down its fired) I can move the pen to everywhere in the screen with no crash. If I try to do it with pen pressure = 0 (the pencil is some millimeter over the tablet) the I got the crash. I wrote on before that MouseUp and MouseDown sometimes where fired and sometimes not. It was my mistake. Both of then are right fired. Sorry. Regards, Ricardo 2012/8/16 Ricardo D?az Mart?n > Extra information. > > I said that IDE crash after the poject crash. So I try now to do a gdb to > gambas3 and I got this: > > ricardo.diaz at ...2915...:~/Documentos/gambassource/trunk/app/src/gambas3$ > gdb gbx3 > 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 < > http://gnu.org/licenses/gpl.html> > 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 "x86_64-linux-gnu". > Para las instrucciones de informe de errores, vea: > ... > Leyendo s?mbolos desde /usr/local/bin/gbx3...hecho. > (gdb) run > Starting program: /usr/local/bin/gbx3 > [Depuraci?n de hilo usando libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > ERROR: #2: Cannot load class 'CReportBrush': Unable to load class file > [Inferior 1 (process 6213) exited with code 01] > > Maybe it's related maybe not. I don't know... > > > > > 2012/8/16 Ricardo D?az Mart?n > >> Yes, with gimp works nice. >> >> >> 2012/8/16 Beno?t Minisini >> >>> Le 16/08/2012 16:16, Ricardo D?az Mart?n a ?crit : >>> > Benoit, >>> > >>> > Ummm, take an oulook to this: >>> http://doc.trolltech.com/4.6/qtabletevent.html >>> > >>> > this is the event definition: >>> > QTabletEvent::QTabletEvent ( Type type, const QPoint & pos, const >>> QPoint & >>> > globalPos, const QPointF & hiResGlobalPos, int device, int pointerType, >>> > qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal >>> > rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID ) >>> > >>> > there is a "keyState specifies which keyboard modifiers are pressed >>> (e.g., >>> > Ctrl)." >>> > >>> > Could it be the segment fault for this keyState property? >>> > >>> >>> Mmm... no. >>> >>> The crash is really while receiving a keyboard event (a QEvent whose >>> type is QEvent::KeyPress). >>> >>> Did you try your pen with the GIMP? To see if it detects it, as it uses >>> GTK+. >>> >>> -- >>> 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... Thu Aug 16 17:08:56 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 16 Aug 2012 17:08:56 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> Message-ID: <502D0D08.70703@...1...> Le 16/08/2012 17:05, Ricardo D?az Mart?n a ?crit : > More extra information... > > If I keep the pen pressed (it means mouse down its fired) I can move the > pen to everywhere in the screen with no crash. If I try to do it with pen > pressure = 0 (the pencil is some millimeter over the tablet) the I got the > crash. > > I wrote on before that MouseUp and MouseDown sometimes where fired and > sometimes not. It was my mistake. Both of then are right fired. Sorry. > > Regards, > Ricardo > Can you try to run your test program with valgrind, and send me the output? -- Beno?t Minisini From oceanosoftlapalma at ...626... Thu Aug 16 17:16:09 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 17:16:09 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502D0D08.70703@...1...> References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> Message-ID: He it goes! 2012/8/16 Beno?t Minisini > Le 16/08/2012 17:05, Ricardo D?az Mart?n a ?crit : > > More extra information... > > > > If I keep the pen pressed (it means mouse down its fired) I can move the > > pen to everywhere in the screen with no crash. If I try to do it with pen > > pressure = 0 (the pencil is some millimeter over the tablet) the I got > the > > crash. > > > > I wrote on before that MouseUp and MouseDown sometimes where fired and > > sometimes not. It was my mistake. Both of then are right fired. Sorry. > > > > Regards, > > Ricardo > > > > Can you try to run your test program with valgrind, and send me the output? > > -- > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: valgrind.out Type: application/octet-stream Size: 28201 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: WacomTest-0.0.5.tar.gz Type: application/x-gzip Size: 8713 bytes Desc: not available URL: From oceanosoftlapalma at ...626... Thu Aug 16 17:38:20 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 17:38:20 +0200 Subject: [Gambas-user] Frame Control In-Reply-To: <001601cd7bb9$df555490$9dfffdb0$@freenet.de> References: <000c01cd7b9a$0bc56bc0$23504340$@freenet.de> <001601cd7bb9$df555490$9dfffdb0$@freenet.de> Message-ID: Ivan, You are using Clearlooks in gnome but not in qt. You need to install qtconfig to set one border visible frame theme (like clearlooks for qt). Regards, Ricardo 2012/8/16 Ivan Kern > At moment I use Clearlooks theme > > -----Urspr?ngliche Nachricht----- > Von: Fabien Bodard [mailto:gambas.fr at ...626...] > Gesendet: Donnerstag, 16. August 2012 15:30 > An: mailing list for gambas users > Betreff: Re: [Gambas-user] Frame Control > > It's because of the oxygen theme > Le 16 ao?t 2012 12:33, "Ivan Kern" a ?crit : > > > Hello, > > > > There is some problem with a Frame control. > > > > When I place the control on my Form I cannot see it. There is no border. > > > > And I must change the background to see it. > > > > > > > > Ubuntu 10.04 > > > > Gambas3 Rev. 5004 > > > > > > > > Regards > > > > Ivan > > > > > > ---------------------------------------------------------------------- > > -------- > > 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 > > > > ------------------------------------------------------------------------------ > 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... Thu Aug 16 18:38:54 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 16 Aug 2012 18:38:54 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> Message-ID: <502D221E.7060309@...1...> Le 16/08/2012 17:16, Ricardo D?az Mart?n a ?crit : > He it goes! > OK. This was a stupid error with { ... }. Please try revision #5048! -- Beno?t Minisini From oceanosoftlapalma at ...626... Thu Aug 16 19:37:11 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 16 Aug 2012 19:37:11 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502D221E.7060309@...1...> References: <50244BCC.7030708@...1...> <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> <502D221E.7060309@...1...> Message-ID: Yes, now works fine!! Thanks a lot Benoit 2012/8/16 Beno?t Minisini > Le 16/08/2012 17:16, Ricardo D?az Mart?n a ?crit : > > He it goes! > > > > OK. This was a stupid error with { ... }. Please try revision #5048! > > -- > 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 sunblaster5 at ...626... Thu Aug 16 20:14:18 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 16 Aug 2012 11:14:18 -0700 Subject: [Gambas-user] Questions about SQLIte and Data Objects In-Reply-To: <502CE425.9030204@...1...> References: <34279714.post@...1379...> <502CE425.9030204@...1...> Message-ID: <1345140858.2668.0.camel@...40...> On Thu, 2012-08-16 at 14:14 +0200, 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 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'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. > > > > The DataView control needs to be enhanced so that we can configure each > column: displayed format, alignment... > Is there anyway i can 'enhance' the DataView? -- rocko From gambas at ...1... Fri Aug 17 01:10:52 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 17 Aug 2012 01:10:52 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> <502D221E.7060309@...1...> Message-ID: <502D7DFC.6040608@...1...> Le 16/08/2012 19:37, Ricardo D?az Mart?n a ?crit : > Yes, now works fine!! > > Thanks a lot Benoit > Cool. Now beware that I may change the interface for reading tablet events sooner or later before the version release! Now I don't understand why your pen is detected with the GIMP that uses GTK+, and not by gb.gtk... -- Beno?t Minisini From leonardo at ...1237... Fri Aug 17 00:58:50 2012 From: leonardo at ...1237... (Leonardo Miliani) Date: Fri, 17 Aug 2012 00:58:50 +0200 Subject: [Gambas-user] Bug in Printer object Message-ID: <1345157930.14182.8.camel@...37...> I think I've found a bug in the Printer object. I have Arch Linux with Gnome 3 and this bug is present both in Gambas 3.2.1 form the Arch repos and in the IDE compiled from sources. If I open a project that uses the Printer object, the IDE starts running the project but no forms will never appear on the screen. This bug seems related to CUPS and GTK as I noticed that if I stops CUPS daemon I have this bug, if I starts CUPS before to launch the program, I don't. If I use the gb.gui or the gb.gtk components, I have the above behaviour. If I use the gb.qt4 component the application runs perfectly and the main window appears on my desktop. How to replicate the bug: 1) stops CUPS daemon, if it's running 2) open a new GUI project under a desktop environment based on GTK (I tried both Gnome 3 and XFCE 4.10 and I got same results) and just put the Printer object inside the form, without any code, and start the project. 3) the window will never appear on your deskto and no error messages will be written in the console. Just press stop button and try again... and again... No problem if I use the gb.qt4 component or if I starts the CUPS daemon before to run the project. -- Leo Sito personale: www.leonardomiliani.com Cofondatore di: www.gambas-it.org From ivan-kern at ...308... Fri Aug 17 07:40:31 2012 From: ivan-kern at ...308... (Ivan Kern) Date: Fri, 17 Aug 2012 07:40:31 +0200 Subject: [Gambas-user] Frame Control Message-ID: <000901cd7c3a$d4836260$7d8a2720$@freenet.de> Thank you Ricardo, it works. Regards, Ivan Ivan, You are using Clearlooks in gnome but not in qt. You need to install qtconfig to set one border visible frame theme (like clearlooks for qt). Regards, Ricardo 2012/8/16 Ivan Kern < ivan-kern at ...308...> > At moment I use Clearlooks theme > > -----Urspr?ngliche Nachricht----- > Von: Fabien Bodard [mailto:gambas.fr at ...626...] > Gesendet: Donnerstag, 16. August 2012 15:30 > An: mailing list for gambas users > Betreff: Re: [Gambas-user] Frame Control > > It's because of the oxygen theme > Le 16 ao?t 2012 12:33, "Ivan Kern" < ivan-kern at ...308...> a ?crit : > > > Hello, > > > > There is some problem with a Frame control. > > > > When I place the control on my Form I cannot see it. There is no border. > > > > And I must change the background to see it. > > > > > > > > Ubuntu 10.04 > > > > Gambas3 Rev. 5004 > > > > > > > > Regards > > > > Ivan > > > > > > -------------------------------------------------------------------- > > -- > > -------- > > 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 > > > > ---------------------------------------------------------------------- > -------- > 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 oceanosoftlapalma at ...626... Fri Aug 17 08:50:09 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Fri, 17 Aug 2012 08:50:09 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502D7DFC.6040608@...1...> References: <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> <502D221E.7060309@...1...> <502D7DFC.6040608@...1...> Message-ID: Ok, I'm in the forum. So if you change I'll know it and test again. I don't know too why gb.gtk doens't want to detect. If you want to include in gambas examples I attach last version with some improvements (a small pointer position cache). Regards, Ricardo 2012/8/17 Beno?t Minisini > Le 16/08/2012 19:37, Ricardo D?az Mart?n a ?crit : > > Yes, now works fine!! > > > > Thanks a lot Benoit > > > > Cool. Now beware that I may change the interface for reading tablet > events sooner or later before the version release! > > Now I don't understand why your pen is detected with the GIMP that uses > GTK+, and not by gb.gtk... > > -- > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: TabletTest-0.0.7.tar.gz Type: application/x-gzip Size: 19773 bytes Desc: not available URL: From gambas at ...1... Fri Aug 17 11:20:28 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 17 Aug 2012 11:20:28 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> <502D221E.7060309@...1...> <502D7DFC.6040608@...1...> Message-ID: <502E0CDC.3010003@...1...> Le 17/08/2012 08:50, Ricardo D?az Mart?n a ?crit : > Ok, I'm in the forum. So if you change I'll know it and test again. > > I don't know too why gb.gtk doens't want to detect. > > If you want to include in gambas examples I attach last version with some > improvements (a small pointer position cache). > > Regards, > Ricardo > Before I want to change the "tablet" events interface. You must know that in GTK+, you must explicitely tell him which widget gets "extended" (i.e. tablet) events. With Qt this is not required. Hence the "UseTablet" property. I finally want to define special events for "tablets": - PointerPress - PointerRelease - PointerMove Note that there are two special events too (named "proximity in" and "proximity out"), but they are handled differently in Qt and GTK+, so I must think before implementing them. And I want to make Pointer.X and Pointer.Y relative to the control receiving the events (like Mouse.X and Mouse.Y), and make Pointer.ScreenX and Pointer.ScreenY properties too for the global coordinates. So you will have to update your example after I have made the changes, and then I will put it with the other Gambas examples. Regards, -- Beno?t Minisini From gambas at ...1... Fri Aug 17 11:40:27 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 17 Aug 2012 11:40:27 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502E0CDC.3010003@...1...> References: <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> <502D221E.7060309@...1...> <502D7DFC.6040608@...1...> <502E0CDC.3010003@...1...> Message-ID: <502E118B.1050009@...1...> Le 17/08/2012 11:20, Beno?t Minisini a ?crit : > > Before I want to change the "tablet" events interface. > > You must know that in GTK+, you must explicitely tell him which widget > gets "extended" (i.e. tablet) events. With Qt this is not required. > Hence the "UseTablet" property. > > I finally want to define special events for "tablets": > - PointerPress > - PointerRelease > - PointerMove --> That should allow me to remove the UseTablet property. -- Beno?t Minisini From oceanosoftlapalma at ...626... Fri Aug 17 12:24:19 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Fri, 17 Aug 2012 12:24:19 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502E0CDC.3010003@...1...> References: <502BEB74.3030601@...1...> <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> <502D221E.7060309@...1...> <502D7DFC.6040608@...1...> <502E0CDC.3010003@...1...> Message-ID: Ok, so when you define special events for tablets and make PointerX and PointerY relative to the control I'll change the project. Regards, 2012/8/17 Beno?t Minisini > Le 17/08/2012 08:50, Ricardo D?az Mart?n a ?crit : > > Ok, I'm in the forum. So if you change I'll know it and test again. > > > > I don't know too why gb.gtk doens't want to detect. > > > > If you want to include in gambas examples I attach last version with some > > improvements (a small pointer position cache). > > > > Regards, > > Ricardo > > > > Before I want to change the "tablet" events interface. > > You must know that in GTK+, you must explicitely tell him which widget > gets "extended" (i.e. tablet) events. With Qt this is not required. > Hence the "UseTablet" property. > > I finally want to define special events for "tablets": > - PointerPress > - PointerRelease > - PointerMove > > Note that there are two special events too (named "proximity in" and > "proximity out"), but they are handled differently in Qt and GTK+, so I > must think before implementing them. > > And I want to make Pointer.X and Pointer.Y relative to the control > receiving the events (like Mouse.X and Mouse.Y), and make > Pointer.ScreenX and Pointer.ScreenY properties too for the global > coordinates. > > So you will have to update your example after I have made the changes, > and then I will put it with the other Gambas examples. > > 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 lists at ...2828... Fri Aug 17 14:20:33 2012 From: lists at ...2828... (Christer Johansson) Date: Fri, 17 Aug 2012 14:20:33 +0200 Subject: [Gambas-user] High CPU usage when using serialport component In-Reply-To: <502671B3.5060505@...1...> Message-ID: <000001cd7c72$b4bc07b0$0f00a8c0@...2829...> Hi Beno?t, > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > Sent: Saturday, August 11, 2012 4:53 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] High CPU usage when using serialport component > > Can you try the unmodified SerialPort example with revision #5029? > > Now I do the polling with a fixed frequency. That frequency is defined > with a new optional argument to the Open() method. It is 50ms by default, > so the CPU usage should be lower. Finally got some free time slots so I could compile the latest build today (#5050) and test the changes you made last week. Using the SerialPort example the CPU usage seems OK when just opening and listening. When sending a simple 10-bytes textstring it still uses very high CPU on the RasPi. Also received a error message when pressing Close button, see attached pics for info and I also include system info below... [System] OperatingSystem=Linux Kernel=3.1.9+ Architecture=armv6l Memory=236872 kB DistributionVendor=debian DistributionRelease=6.0.5 Desktop=Xfce [Gambas 3] Version=3.2.90 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.3 GTK+=libgtk-x11-2.0.so.0.2000.1 Let me know if you want me to test anything specific or needs some more/other info. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: CPU usage when using serialport - build 5050.PNG Type: image/png Size: 64580 bytes Desc: not available URL: From gambas at ...1... Fri Aug 17 18:02:32 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 17 Aug 2012 18:02:32 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> <502D221E.7060309@...1...> <502D7DFC.6040608@...1...> <502E0CDC.3010003@...1...> Message-ID: <502E6B18.9020209@...1...> Le 17/08/2012 12:24, Ricardo D?az Mart?n a ?crit : > Ok, so when you define special events for tablets and make PointerX and > PointerY relative to the control I'll change the project. > > Regards, > Hi again, 1) In revision #5051, I have updated the Tablet event management: - Finally I decided to keep the DrawingArea tablet property. But I renamed it 'Tablet' instead of 'UseTablet'. - So there is no special events. Just MouseDown, MouseUp and MouseMove. - Pointer absolute coordinates are now returned in Pointer.ScreenX and Pointer.ScreenY properties. - Pointer.X and Pointer.Y return the pointer coordinates relative to the control receiving the events. 2) I have modified gb.gtk so that it enables all detected XInput pointer devices (they are all disabled by default apparently). Does it change something when you use your example with gb.gtk? I have a strange idea anyway if it does not work: using the GIMP device configuration file to configure the devices! But the user will have to install GIMP and configure XInput devices from it. A bit weird, isn't it? 3) I'd like to put your project in the Gambas examples, but it has a few problems. Can you fix them? - Controls should be made private to the form. - It is useless and slower to write 'Me.MyControl' to access MyControl from its form. Just write 'MyControl'. - Can you use the Paint class instead of the Draw class? The Paint class can draw things anti-aliased at floating-point coordinates. Thanks in advance. -- Beno?t Minisini From sheldon73805 at ...67... Fri Aug 17 18:13:11 2012 From: sheldon73805 at ...67... (sheldon sobel) Date: Fri, 17 Aug 2012 12:13:11 -0400 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502E6B18.9020209@...1...> References: , <502CE26F.7050700@...1...>, , , <502D0270.8050300@...1...>, , , , <502D0D08.70703@...1...>, , <502D221E.7060309@...1...>, , <502D7DFC.6040608@...1...>, , <502E0CDC.3010003@...1...>, , <502E6B18.9020209@...1...> Message-ID: Hello - Please remove me from the gambas email user list. From gambas at ...2524... Sat Aug 18 14:18:35 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 18 Aug 2012 12:18:35 +0000 Subject: [Gambas-user] Issue 312 in gambas: gl.2D gl.3D constatnts not accepted by IDE Message-ID: <0-6813199134517018827-4930371889065883090-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 312 by tommyl... at ...2525...: gl.2D gl.3D constatnts not accepted by IDE http://code.google.com/p/gambas/issues/detail?id=312 1) Describe the problem. After changing from gl.GL_CONST to gl.CONST format it's impossible to use gl.2D or gl.3D constants, because editor separates 2 and 3 from D. I have to revert to deprecated format of gl.GL_3D what results in series of warnings. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Gambas 3 Latest Revision: r5052 Operating system: mint 10 Distribution: Ubuntu / Fedora / ArchLinux / Gentoo ... Architecture: x86 GUI component: QT4 / GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. use constant in editor. 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! From gambas at ...2524... Sat Aug 18 14:31:48 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 18 Aug 2012 12:31:48 +0000 Subject: [Gambas-user] Issue 312 in gambas: gl.2D gl.3D constatnts not accepted by IDE In-Reply-To: <0-6813199134517018827-4930371889065883090-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4930371889065883090-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4930371889065883090-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.2.0 Comment #1 on issue 312 by benoit.m... at ...626...: gl.2D gl.3D constatnts not accepted by IDE http://code.google.com/p/gambas/issues/detail?id=312 Yes, there are four GL constants that start with a digit, and so that cannot be valid identifiers. I didn't see them. Maybe I should change their names. As a workaround, you can use the { ... } notation: Gl.{2D}, Gl.{3D} Sorry for the inconvenience. From gambas at ...2524... Sat Aug 18 14:34:18 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 18 Aug 2012 12:34:18 +0000 Subject: [Gambas-user] Issue 310 in gambas: Crash when profiler code with Eval() In-Reply-To: <0-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 310 by benoit.m... at ...626...: Crash when profiler code with Eval() http://code.google.com/p/gambas/issues/detail?id=310 (No comment was entered for this change.) From taboege at ...626... Sat Aug 18 14:47:17 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 18 Aug 2012 14:47:17 +0200 Subject: [Gambas-user] gb.adt component Message-ID: <20120818124717.GA520@...2774...> A non-text attachment was scrubbed... Name: not available Type: text/plain-8bit Size: 5116 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: adt_test-0.0.3.tar.gz Type: application/octet-stream Size: 8651 bytes Desc: not available URL: From gambas at ...2524... Sat Aug 18 15:07:32 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 18 Aug 2012 13:07:32 +0000 Subject: [Gambas-user] Issue 310 in gambas: Crash when profiler code with Eval() In-Reply-To: <1-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> <0-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> Comment #2 on issue 310 by benoit.m... at ...626...: Crash when profiler code with Eval() http://code.google.com/p/gambas/issues/detail?id=310 It should be fixed in revision #5053. From gambas at ...2524... Sat Aug 18 15:08:32 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 18 Aug 2012 13:08:32 +0000 Subject: [Gambas-user] Issue 310 in gambas: Crash when profiler code with Eval() In-Reply-To: <2-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> <0-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1440890716597976298-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 310 by benoit.m... at ...626...: Crash when profiler code with Eval() http://code.google.com/p/gambas/issues/detail?id=310 (No comment was entered for this change.) From tommyline at ...2340... Sat Aug 18 15:50:19 2012 From: tommyline at ...2340... (tommyline at ...2340...) Date: Sat, 18 Aug 2012 14:50:19 +0100 (IST) Subject: [Gambas-user] Issue 312 in gambas: gl.2D gl.3D constatnts not accepted by IDE In-Reply-To: <1-6813199134517018827-4930371889065883090-gambas=googlecode.com@...2524...> Message-ID: <13755960.2509.1345297819383.JavaMail.root@...2632...> Thank you for the tip. That will do. ----- Original Message ----- From: gambas at ...2524... To: gambas-user at lists.sourceforge.net Sent: Saturday, 18 August, 2012 1:31:48 PM Subject: Re: [Gambas-user] Issue 312 in gambas: gl.2D gl.3D constatnts not accepted by IDE Updates: Status: Accepted Labels: -Version Version-3.2.0 Comment #1 on issue 312 by benoit.m... at ...626...: gl.2D gl.3D constatnts not accepted by IDE http://code.google.com/p/gambas/issues/detail?id=312 Yes, there are four GL constants that start with a digit, and so that cannot be valid identifiers. I didn't see them. Maybe I should change their names. As a workaround, you can use the { ... } notation: Gl.{2D}, Gl.{3D} Sorry for the inconvenience. ------------------------------------------------------------------------------ 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 adrien.prokopowicz at ...626... Sat Aug 18 19:20:31 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 18 Aug 2012 19:20:31 +0200 Subject: [Gambas-user] GTK crashes with coloured Form and Panel Message-ID: <3151475.q9I9aCtR0I@...2913...> Hi, I said everything in the title : just add a Panel to a Form, set a background color for both, and when sarting, gb.gtk crashes : (TestGTK:1760): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion `GTK_IS_WIDGET (widget)' failed See the attached project. Regards, Adrien. -------------- next part -------------- A non-text attachment was scrubbed... Name: TestGTK-0.0.1.tmp.tar.gz Type: application/x-compressed-tar Size: 4587 bytes Desc: not available URL: From gambas at ...1... Sat Aug 18 20:06:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Aug 2012 20:06:32 +0200 Subject: [Gambas-user] GTK crashes with coloured Form and Panel In-Reply-To: <3151475.q9I9aCtR0I@...2913...> References: <3151475.q9I9aCtR0I@...2913...> Message-ID: <502FD9A8.9050708@...1...> Le 18/08/2012 19:20, Adrien Prokopowicz a ?crit : > Hi, > > I said everything in the title : just add a Panel to a Form, set a background > color for both, and when sarting, gb.gtk crashes : > > (TestGTK:1760): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion > `GTK_IS_WIDGET (widget)' failed > > See the attached project. > > Regards, > Adrien. > > It should be fixed in revision #5054. Regards, -- Beno?t Minisini From adrien.prokopowicz at ...626... Sat Aug 18 20:08:35 2012 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 18 Aug 2012 20:08:35 +0200 Subject: [Gambas-user] GTK crashes with coloured Form and Panel In-Reply-To: <502FD9A8.9050708@...1...> References: <3151475.q9I9aCtR0I@...2913...> <502FD9A8.9050708@...1...> Message-ID: <5116125.iq3JFroU0I@...2913...> Le samedi 18 ao?t 2012 20:06:32 Beno?t Minisini a ?crit : > Le 18/08/2012 19:20, Adrien Prokopowicz a ?crit : > > Hi, > > > > I said everything in the title : just add a Panel to a Form, set a > > background color for both, and when sarting, gb.gtk crashes : > > > > (TestGTK:1760): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion > > `GTK_IS_WIDGET (widget)' failed > > > > See the attached project. > > > > Regards, > > Adrien. > > It should be fixed in revision #5054. > > Regards, Yes, it works, thanks. From os.ricardo.diaz at ...626... Sat Aug 18 20:44:59 2012 From: os.ricardo.diaz at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Sat, 18 Aug 2012 20:44:59 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: <502E6B18.9020209@...1...> References: <502CE26F.7050700@...1...> <502D0270.8050300@...1...> <502D0D08.70703@...1...> <502D221E.7060309@...1...> <502D7DFC.6040608@...1...> <502E0CDC.3010003@...1...> <502E6B18.9020209@...1...> Message-ID: 2012/8/17 Beno?t Minisini > Le 17/08/2012 12:24, Ricardo D?az Mart?n a ?crit : > > Ok, so when you define special events for tablets and make PointerX and > > PointerY relative to the control I'll change the project. > > > > Regards, > > > > Hi again, > > 1) In revision #5051, I have updated the Tablet event management: > > - Finally I decided to keep the DrawingArea tablet property. But I > renamed it 'Tablet' instead of 'UseTablet'. > > - So there is no special events. Just MouseDown, MouseUp and MouseMove. > > - Pointer absolute coordinates are now returned in Pointer.ScreenX and > Pointer.ScreenY properties. > > - Pointer.X and Pointer.Y return the pointer coordinates relative to the > control receiving the events. > > 2) I have modified gb.gtk so that it enables all detected XInput pointer > devices (they are all disabled by default apparently). Does it change > something when you use your example with gb.gtk? > > I have a strange idea anyway if it does not work: using the GIMP device > configuration file to configure the devices! But the user will have to > install GIMP and configure XInput devices from it. A bit weird, isn't it? > > Sorry but still the same issue. When you set the gb.gtk component the pointer type is always 0 (it means mouse detected). I don't know how you can configure XInput in gtk using the GIMP configuration file at runtime. > 3) I'd like to put your project in the Gambas examples, but it has a few > problems. Can you fix them? > > - Controls should be made private to the form. > I usually set to public to use Me. > - It is useless and slower to write 'Me.MyControl' to access MyControl > from its form. Just write 'MyControl'. > > I'm faster writing code when I use Me. Why? Because I usually have to make forms with a lot of controls (most of them textboxes) filled with database values. For this reason I have to use long identifiers for controls names. So when you are writing the code it's really easy to write Me. + the first part of the control name I want to use and I can easy select it from code completion. I know you can start writing the name of control for code completion but most of times I didn't remember the beginning of control's name. But it's only my point of view.... or maybe is a long time ugly habit I got! ;-) Anyway I did form controls private and delete all the Me. > - Can you use the Paint class instead of the Draw class? The Paint class > can draw things anti-aliased at floating-point coordinates. > > I attach new version using Paint class but I can't see any difference in the final draw. Must it be a clear difference using Paint class instead Draw? Thanks in advance. > > -- > 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: TabletTest-0.0.9.tar.gz Type: application/x-gzip Size: 19576 bytes Desc: not available URL: From gambas at ...1... Sat Aug 18 22:02:20 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 18 Aug 2012 22:02:20 +0200 Subject: [Gambas-user] Reading pen pressure from wacom tablets In-Reply-To: References: <502D0270.8050300@...1...> <502D0D08.70703@...1...> <502D221E.7060309@...1...> <502D7DFC.6040608@...1...> <502E0CDC.3010003@...1...> <502E6B18.9020209@...1...> Message-ID: <502FF4CC.1070304@...1...> Le 18/08/2012 20:44, Ricardo D?az Mart?n a ?crit : > Sorry but still the same issue. When you set the gb.gtk component the > pointer type is always 0 (it means mouse detected). I don't know how you > can configure XInput in gtk using the GIMP configuration file at runtime. OK. I finally bought a Wacom Bamboo pen, and succeeded in getting GTK+ tablet events. GTK+ gives me a list of all input device and the type of each one. I decided to enable all devices that are not "Mouse" (which apparently are enabled anyway). > > > >> 3) I'd like to put your project in the Gambas examples, but it has a few >> problems. Can you fix them? >> >> - Controls should be made private to the form. >> > > I usually set to public to use Me. > > >> - It is useless and slower to write 'Me.MyControl' to access MyControl >> from its form. Just write 'MyControl'. >> >> > I'm faster writing code when I use Me. Why? Because I usually have to make > forms with a lot of controls (most of them textboxes) filled with database > values. For this reason I have to use long identifiers for controls names. > So when you are writing the code it's really easy to write Me. + the first > part of the control name I want to use and I can easy select it from code > completion. I know you can start writing the name of control for code > completion but most of times I didn't remember the beginning of control's > name. But it's only my point of view.... or maybe is a long time ugly habit > I got! ;-) Anyway I did form controls private and delete all the Me. > > >> - Can you use the Paint class instead of the Draw class? The Paint class >> can draw things anti-aliased at floating-point coordinates. >> >> > I attach new version using Paint class but I can't see any difference in > the final draw. Must it be a clear difference using Paint class instead > Draw? I will look at it... -- Beno?t Minisini From john.aaron.rose at ...626... Sun Aug 19 12:09:15 2012 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 19 Aug 2012 11:09:15 +0100 Subject: [Gambas-user] Using DataBrowser for a table which Message-ID: <1345370955.2342.29.camel@...2811...> My SQLite3 database contains country & centre tables. The centre table's primary key is the _id column. The centre table has a country_id column which is a Foreign Key to _id in the country table. The centre table contains a column named centre with values such as London, Paris, Strasbourg. The country table contains a column named country with values such as Great Britain, France. The Create Table SQL commands are: Create Table centre (_id Integer Primary Key AutoIncrement, centre Text Not Null, country_id Integer, Foreign Key (country_id) References country (_id) On Delete Cascade On Update Cascade); Create Table country (_id Integer Primary Key AutoIncrement, country Text Not Null); My FMain form contains a button (ButtonCentreMaintenance) which on clicking it calls (see code below) a form named FCentreMaintenance which is used to add/change/delete centres. The FCentreMaintenance form contains a DataBrowser named DataBrowserCentre which contains a DataSource named DataSourceCentre. Public Sub ButtonCentreMaintenance_Click() Dim hForm As FCentreMaintenance hform = New FCentreMaintenance hForm.DataSourceCentre.Connection = MDatabase.DatabaseConnection hForm.DataSourceCentre.Table = "centre" hForm.DataSourceCentre.Filter = "country_id = " & CountryId hForm.DataSourceCentre.Update() hForm.Refresh() hForm.DataBrowserCentre.Columns = ["centre"] hForm.DataBrowserCentre.Labels = ["Centre"] hForm.DataBrowserCentre.Editable = True hForm.DataBrowserCentre.Update() hForm.DataBrowserCentre.Refresh() hForm.Show() hForm.DataBrowserCentre.SetFocus() Me.Hide() End The problem I have is that when I use the 'New' icon in DataBrowserCentre, it allows me to key in a new centre but when I try to save it (using the Save icon) it clears it on the form. The cause of this is the setting of the Filter in the code above (i.e. it only displays centre for centre rows which are in the particular country selected by the user when the form is called). What I need to be able to do is to have the save set the country_id column to the correct value (rather than 0 as it does now when saving). Any ideas on how to do this? The only way that I've thought of doing this is to have DataBrowserCentre also display the column country_id which the user would set to the correct value when adding a centre. If you want to run this yourself, I've attached the project & the database to this message. I used Germany & tried to add Berlin -------------- next part -------------- A non-text attachment was scrubbed... Name: JewishHeritage.tar.gz Type: application/x-compressed-tar Size: 39599 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: JewishHeritage.db Type: application/x-sqlite3 Size: 232448 bytes Desc: not available URL: From bill-lancaster at ...2231... Sun Aug 19 13:18:49 2012 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sun, 19 Aug 2012 04:18:49 -0700 (PDT) Subject: [Gambas-user] Screen Height question Message-ID: <34320203.post@...1379...> I wish to display a picture box that fills the available height of the screen. Screen.AvailableHeight works if I have the tool bar at the bottom set to auto hide. How can I:- 1) Allow for the height of the tool bar if auto hide is not set 2) Set the tool bar to auto hide Gambas 3, Ubuntu 12.04 KDE 4.8.1 -- View this message in context: http://old.nabble.com/Screen-Height-question-tp34320203p34320203.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Aug 19 15:04:53 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 19 Aug 2012 15:04:53 +0200 Subject: [Gambas-user] Support for tablets Message-ID: <5030E475.9060309@...1...> Hi, Since revision #5057, Gambas handles "tablet" events, both in gb.gtk and gb.qt4. I made a new example named "Tablet", inspired by a project of Ricardo D?az Mart?n, to show that. During the development, I fixed many inconsistencies in mouse event management between gb.gtk and gb.qt4. So if you encounter any regression, please tell me! Normally, if you don't do strange mouse things (like doing some stuff only if the left and middle button are pressed at the same time...), you shouldn't notice anything. Regards, -- Beno?t Minisini From gambas at ...1... Sun Aug 19 21:20:45 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 19 Aug 2012 21:20:45 +0200 Subject: [Gambas-user] gb.adt component In-Reply-To: <20120818124717.GA520@...2774...> References: <20120818124717.GA520@...2774...> Message-ID: <50313C8D.6050608@...1...> Le 18/08/2012 14:47, Tobias Boege a ?crit : > Hi, > > as of rev5052 you will notice a new gb.adt component as a playground for > abstract datatypes implementations. > I had most of the algorithms already lying around from another project. > Everything is, however, written from scratch and the code depends on nothing > but the C library. > > Only hurdle was to incorporate the algorithms into the Gambas memory > management: You can imagine, that it is tricky to implement circular > double-linked lists of objects without creating circular references on the > list nodes. > > The implementation of linked lists features two new classes: > - List, which represents a single list node. Technically speaking this list > node is a fully capable linked list itself because it is linked to itself. > - ListRoot which is just a List object marked special so that special > properties can be applied to it. > > About List: > The first I want to state is that List nodes can be either used standalone > and created to _carry_ an object or they can be embedded into a new class > and _be carried_ by the object. You must tell the List constructor what kind > of mode your List node shall perform in. This is important because an > embedded List node which references its container creates unresolvable > circular references - which we don't want - otherwise a non-embedded list > nodes which does not reference its linked object may see the latter vanish > away because of its reference count becoming zero - not good either. > > List nodes have a Next-element, Prev-element and Data-element pointer. As > said above, they are linked lists itself because initially their Next and > Prev pointers point to themselves. > Note carefully that the List.Add*() functions add _entire lists_. This is > normally not a problem because most people will add one node (which is > linked to itself into an empty list) but it is also possible to: > > ' List1 -> List2 > List1.AddAfter(List2) > > ' GlobalList -> List1 -> List2 > GlobalList.AddAfter(List1) > > As far as a List node is in a non-empty list (i.e. a list which is not only > made up of itself), it gets a reference count. By the nature of circular > linked lists, this creates circular references. Consequently, if you create > a list, you must tidy it up by means of List.Clear() or differently, > depending on your application. > > As imaginable with circular double-linked lists, you can do everything from > any node in the list: Add new lists/nodes, traverse the list, clear the > list, enumerate all objects in a list, unlink single nodes, extract lists > from others, etc.. > > About ListRoot: > Don't fear the ListRoot because it is the means I intended to solve the > memory obstacle of circular references. Actually ListRoot may be a > misleading name (help me native speakers!). ListRoot semantics differ from > normal List nodes in the following details: > > - ListRoots don't carry data > - In a 'For Each data In List' they are skipped (s.a.) > - When linked in a list they get _no_ reference count. > - They cannot be linked to a list but the list must be linked to them. This > helps prevent multiple ListRoots in a List infrastructure. > > You got the two main reasons for which the List and ListRoot classes are > native now: I play tricks with reference counts (with embedded Lists and > ListRoots). > If you like to adhere to just two constraints you can have your lists be > tidied up for you automatically: > 1. Link a ListRoot to your list (the For-Each detail above tries to hide the > presence of ListRoot from your normal work) > 2. Always keep the ListRoot in a variable as long as you want the list to be > existent. When the ListRoot leaves scope, is thus freed, it calls > List.Clear() in its _free() special method so that all List nodes are > freed properly. It is possible for a linked ListRoot to get a zero > reference count because it just doesn't get a ref when in a list - in > contrast to normal List nodes, as stated above. > > You will see how it works in the attached test project. > > Bruce, I hope you will never have to write linked lists from scratch > anymore ;-) Tell me if the current implementation is useful if you find > time. > > Next are the classes Deque, Stack, Queue and PrioQueue (priority queue) > which are quite self-explanatory and nothing special. Except, maybe, that > they are built on top of the List interface so you can decide if you need to > maintain highly dynamic sort of Deque (use my implementation) or a > fixed-size one (use Variant[] then). > > Last so far is the Circular class. It provides a fixed-size circular/ring > buffer with one reader and one writer. > > I invite you to try these classes out. Report problems and suggestions. I > haven't read this Knuth so alternate ideas and interfaces are likely to be > around and are welcome! > > Beno?t, there is a datastructure CLIST_INTF declared in gb.adt/src/c_list.h. > I have not yet worried about GB.GetInterface() or something so please excuse > me taking an unduly independent line. I saw that there already is a > rudimentary linked list in main/share/gb_list_temp.h. I personally use > linked lists quite often and thought it could be part of the interpreter API > just as Memory and Gambas arrays are. What do you think about that? > > Regards, > Tobi > Hi Tobi, If Deque, Stack... classes can be useful, I'm not sure about your List and ListRoot classes. I think you tried to mimic in Gambas the way linked list are implemented in C: consequently, the Gambas interface is over-complicated. First, you must know that linked list are far less useful nowadays. As they trash the CPU cache, using an array is way faster, the speed gain usually compensating the need for reallocation. Bet let's ignore that point. I think a List class should have the following interface: - Create a new List. (_new) - Put one Variant at the beginning. (Add / Append) - Put one Variant at the end. (Prepend) - Enumerate the contents. (_next) - Have an internal cursor, on which we could do a MoveNext() and MovePrevious(). (MoveNext, MovePrevious, MoveFirst, MoveLast). - Have a current item, and be allow to retrieve it. (Current) - A Count property. (Count) - An array method to retrieve the i-th element (slowly of course). (_get), and eventually to modify it (_put) - Take the current element from the list (i.e. removing it from the list and returning it). (Take) - Find a value inside the list. (Find or FindFirst, maybe FindLast too) - Find a value from the current one, forward or backward. (FindNext, FindPrevious). Internally, the List can be managed with a double-linked list of nodes, each node having a GB_VARIANT_VALUE inside. But, for performance reasons, it can later be implemented as a double-linked list of arrays of Variant. Faster, but harder to implement. As for "embedding" the list inside an object, i.e. doing what we usually do in C, I think I understood what you want to do, but I don't think it is really useful in Gambas. The only advantage I see is being able to find the next (or previous) object of the list as soon as you have a reference on the object. Which is not possible with the previous List class. To do that, maybe I would create another class (something like 'StaticList'). But anyway it will not be easy to have a practical interface! As for having a list interface in the interpreter API: why not. But it would be done if this is really useful, as implementation of linked list is done in a few lines of codes, and usually need to be adapted for performance reasons. Anyway see '/trunk/main/share/gb_list.h' and '/trunk/main/share/gb_list_temp.h', which is my own implementation of embedded linked lists in C. So tell me what you think. Regards, -- Beno?t Minisini From taboege at ...626... Sun Aug 19 23:34:09 2012 From: taboege at ...626... (Tobias Boege) Date: Sun, 19 Aug 2012 23:34:09 +0200 Subject: [Gambas-user] [Gambas-devel] gb.adt component Message-ID: <20120819213409.GB515@...2774...> Oops, the CC: to gambas-user got lost. --- On Sun, 19 Aug 2012, Beno??t Minisini wrote: > Hi Tobi, > > If Deque, Stack... classes can be useful, I'm not sure about your List > and ListRoot classes. > > I think you tried to mimic in Gambas the way linked list are implemented > in C: consequently, the Gambas interface is over-complicated. > Could be. I strived after the least possible constraints on how to use the List class. ListRoot is just there to automate cleanup. It may got complicated at the surface... > First, you must know that linked list are far less useful nowadays. As > they trash the CPU cache, using an array is way faster, the speed gain > usually compensating the need for reallocation. Bet let's ignore that point. > This information is absolutely new to me - but makes sense! > I think a List class should have the following interface: > - Create a new List. (_new) > - Put one Variant at the beginning. (Add / Append) > - Put one Variant at the end. (Prepend) > - Enumerate the contents. (_next) > - Have an internal cursor, on which we could do a MoveNext() and > MovePrevious(). (MoveNext, MovePrevious, MoveFirst, MoveLast). > - Have a current item, and be allow to retrieve it. (Current) > - A Count property. (Count) > - An array method to retrieve the i-th element (slowly of course). > (_get), and eventually to modify it (_put) > - Take the current element from the list (i.e. removing it from the list > and returning it). (Take) > - Find a value inside the list. (Find or FindFirst, maybe FindLast too) > - Find a value from the current one, forward or backward. (FindNext, > FindPrevious). So we would rather see the 'List' class as a full list and not, as I did, a single list node at a time. This will certainly ease handling - at the cost of some power. But hey: Gambas is not C. Would be good to hear from other Gambas programmers what they would expect a linked list implementation to look like. > > Internally, the List can be managed with a double-linked list of nodes, > each node having a GB_VARIANT_VALUE inside. > > But, for performance reasons, it can later be implemented as a > double-linked list of arrays of Variant. Faster, but harder to implement. > This sounds cool! Never heard of such a hybrid approach... > As for "embedding" the list inside an object, i.e. doing what we usually > do in C, I think I understood what you want to do, but I don't think it > is really useful in Gambas. > This embedding was the whole OO idea behind the thing. Sure, this would be useless if we see a List as a whole and not let the programmer touch 'list nodes'. The above proposition for List methods and stuff really looks Gambas-like and so does the idea to not have 'list node' classes but I would probably miss some of the flexibility then. Again, others' opinions would be interesting but essentially I am not averse to this interface... > The only advantage I see is being able to find the next (or previous) > object of the list as soon as you have a reference on the object. Which > is not possible with the previous List class. > All operations on the list are valid from every node in the list. If you embed a list node into a class you have all opportunities to operate on the full list as long as you have a random object linked to this list flying around in your current scope. It could be considered bad style but I can imagine cases for this feature being really handy. These can also be worked around, sure. > To do that, maybe I would create another class (something like > 'StaticList'). But anyway it will not be easy to have a practical interface! > I don't get the context. 'StaticList' for embedded nodes? Then we have the mentality of acting on individual nodes again, instead of the list as a whole - we can cancel that 'Current' property from above and the like. It would be pretty much like the current implementation, I think. Except that having two different list classes could help unscramble source code. If it is o.k. to have two distinct list classes - always assuming I got your statements right -, both could be tuned to their special usage. This way it _may_ be possible to reduce code size and complexity. > As for having a list interface in the interpreter API: why not. But it > would be done if this is really useful, as implementation of linked list > is done in a few lines of codes, and usually need to be adapted for > performance reasons. Anyway see '/trunk/main/share/gb_list.h' > and '/trunk/main/share/gb_list_temp.h', which is my own implementation > of embedded linked lists in C. > Yes, I mentioned that I saw these files and they are really damn cunning from a performance point of view - I think so, never tested - similar to what the Linux kernel does with its container_of() macro if I got it right. Albeit you need to pass additional parameters to each invocation of the functions to compute the location of the list structure. Too, IMHO, it is not a really clean and comfortable design - but no objection since it may be more efficient than the cleaner data-pointer way. BTW, do you arrange in LIST_for_each() that only structures with a statically allocated field "LIST list" can be enumerated? My point here is that gb_list_temp.h is not universal. You mean that the implementation that could go into the API must be optimised for performance; we need not just take the C backend of the Gambas List class but have an optimised version...? If we go the way without a data pointer in the list struct - as it seems -, the container_of() approach will be considerably faster though internally different because LIST will link to another LIST, not to another container struct... Feasible if need be. But, these are all wasted considerations, as you said, if there is just no need to include a List API at the moment. I most probably won't need any for gb.ncurses and the last I want is to bloat the interpreter. The above paragraphs do not count either if there is no point in improving the current gb_list_temp.h to be more universal. Regards, Tobi From taboege at ...626... Mon Aug 20 00:11:20 2012 From: taboege at ...626... (Tobias Boege) Date: Mon, 20 Aug 2012 00:11:20 +0200 Subject: [Gambas-user] FreeMono Font Segfault In-Reply-To: <50259FD8.6030100@...1...> References: <20120730185308.GE500@...2774...> <5016E8FF.5060808@...1...> <20120731143220.GA513@...2774...> <50259FD8.6030100@...1...> Message-ID: <20120819221119.GA521@...2774...> On Sat, 11 Aug 2012, Beno?t Minisini wrote: > Le 31/07/2012 16:32, Tobias Boege a ?crit : > > On Mon, 30 Jul 2012, Beno??t Minisini wrote: > >> Le 30/07/2012 20:53, Tobias Boege a ??crit : > >>> Hi Beno???t, > >>> > >>> I have one potential bug from Hans pending for some weeks now - I could not > >>> reproduce the others from him when I finally brought myself to boot this > >>> slow graphical Ubuntu from USB this afternoon... > >>> > >>> One (potential) bug, however was reproducable, though. There is nothing > >>> special on the Form, just one TextEdit and a Button to trigger the action. > >>> As you can see, I have used Qt: > >>> > >>> tobias at ...1008...:~/Gambas3_Projekte/test$ cat .src/FMain.class > >>> ' Gambas class file > >>> > >>> Public Sub Button1_Click() > >>> TextEdit1.Format.Alignment = Align.Center > >>> TextEdit1.Format.Color = Color.Red > >>> TextEdit1.Format.Background = Color.LightGray > >>> TextEdit1.Format.Font = Font["FreeMono"] > >>> End > >> > >> Can you send me your little project by mail anyway? > >> > >> -- > >> Beno??t Minisini > >> > > > > Of course. Here it is. > > > > The bug should be fixed in revision #5027. > > Regards, > > -- > Beno?t Minisini > Yes, here too. From noreply+267758667 at ...2916... Mon Aug 20 03:03:37 2012 From: noreply+267758667 at ...2916... (Badoo) Date: Mon, 20 Aug 2012 01:03:37 +0000 Subject: [Gambas-user] Julio te ha dejado un mensaje... Message-ID: Julio te ha dejado un mensaje... S?lo t? podr?s ver tanto el mensaje como su remitente y lo puedes borrar en cualquier momento. Puedes responder a trav?s del chat de Badoo. Para leer tu mensaje, haz clic en el siguiente enlace: http://us1.badoo.com/01218902848/in/8eaxn8ff9Ro/?lang_id=7&m=63&mid=50318ce600000000000700000041f9e6024dd1a501c7 M?s personas de tu zona que est?n en Badoo Joe (Ciudad de La Habana, Cuba) Mayerlint (Car?pano, Venezuela) Jjmoncar (Car?pano, Venezuela) Lucacappelletti (Roma, Italia) Herberth (Ciudad de Guatemala, Guatemala) ... ?Qui?n m?s? http://us1.badoo.com/01218902848/in/8eaxn8ff9Ro/?lang_id=7&m=63&mid=50318ce600000000000700000041f9e6024dd1a501c7 Si al pinchar en el enlace de este mensaje no funciona, copia y p?galo en la barra de tu navegador. Este email es parte del proceso de entrega del mensaje enviado por Julio. Si has recibido este email por error, por favor ign?ralo. En un breve periodo de tiempo, la petici?n ser? eliminada del sistema. ?Div?rtete! El Equipo de Badoo Has recibido este email de Badoo Trading Limited (direcci?n postal a continuaci?n). http://us1.badoo.com/impersonation.phtml?lang_id=7&email=gambas-user%40lists.sourceforge.net&block_code=e15cf4&m=63&mid=50318ce600000000000700000041f9e6024dd1a501c7 Badoo Trading Limited es una sociedad de responsabilidad limitada registrada en Inglaterra y Gales con n?mero 7540255 y domicilio en 12 Red Lion Square, Londres, WC1R 4QD. From richard.j.walker at ...247... Mon Aug 20 04:28:07 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 20 Aug 2012 03:28:07 +0100 Subject: [Gambas-user] Julio te ha dejado un mensaje... In-Reply-To: References: Message-ID: Spam, I reckon. From wally at ...2037... Mon Aug 20 11:05:17 2012 From: wally at ...2037... (wally) Date: Mon, 20 Aug 2012 11:05:17 +0200 Subject: [Gambas-user] Extern declaration question Message-ID: <1535115.CcDSttrtWf@...46...> How should i declare this function of a shared libray in gambas extern ? #include void serialPrintf (int fd, char *message, ...) Public Extern serialPrintf(fd As Integer, message As Pointer, ...) '??? wally From gambas at ...1... Mon Aug 20 11:16:14 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 20 Aug 2012 11:16:14 +0200 Subject: [Gambas-user] Extern declaration question In-Reply-To: <1535115.CcDSttrtWf@...46...> References: <1535115.CcDSttrtWf@...46...> Message-ID: <5032005E.7050809@...1...> Le 20/08/2012 11:05, wally a ?crit : > How should i declare this function of a shared libray in gambas extern ? > > > #include > void serialPrintf (int fd, char *message, ...) > > > Public Extern serialPrintf(fd As Integer, message As Pointer, ...) '??? > > wally > Public Extern serialPrintf(fd As Integer, message As String, ...) In ... -- Beno?t Minisini From emil.lenngren at ...626... Mon Aug 20 11:29:27 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Mon, 20 Aug 2012 11:29:27 +0200 Subject: [Gambas-user] Extern declaration question In-Reply-To: <5032005E.7050809@...1...> References: <1535115.CcDSttrtWf@...46...> <5032005E.7050809@...1...> Message-ID: I hope that the real signature is void serialPrintf (int fd, *const* char *message, ...) because extern functions are not allowed to manipulate gambas strings. /Emil 2012/8/20 Beno?t Minisini > Le 20/08/2012 11:05, wally a ?crit : > > How should i declare this function of a shared libray in gambas extern ? > > > > > > #include > > void serialPrintf (int fd, char *message, ...) > > > > > > Public Extern serialPrintf(fd As Integer, message As Pointer, ...) '??? > > > > wally > > > > Public Extern serialPrintf(fd As Integer, message As String, ...) In ... > > -- > 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 wally at ...2037... Mon Aug 20 11:50:11 2012 From: wally at ...2037... (wally) Date: Mon, 20 Aug 2012 11:50:11 +0200 Subject: [Gambas-user] Extern declaration question In-Reply-To: <5032005E.7050809@...1...> References: <1535115.CcDSttrtWf@...46...> <5032005E.7050809@...1...> Message-ID: <1759178.nZmxGuStzJ@...46...> On Monday 20 August 2012 11:16:14 Beno?t Minisini wrote: > Le 20/08/2012 11:05, wally a ?crit : > > How should i declare this function of a shared libray in gambas extern ? > > > > > > #include > > void serialPrintf (int fd, char *message, ...) > > > > > > Public Extern serialPrintf(fd As Integer, message As Pointer, ...) '??? > > > > wally > > Public Extern serialPrintf(fd As Integer, message As String, ...) In ... i tried this line and get this error : "Library name must be a string" this error occurs only for this line, other extern function declaration does not rise this error. Library "/usr/local/lib/libwiringPi" Public Extern serialPuts(fd As Integer, s As String) 'Minisini: Public Extern serialPrintf(fd As Integer, message As String, ...) In ... Public Extern serialDataAvail(fd As InputBox) As Integer From wally at ...2037... Mon Aug 20 11:52:54 2012 From: wally at ...2037... (wally) Date: Mon, 20 Aug 2012 11:52:54 +0200 Subject: [Gambas-user] Extern declaration question In-Reply-To: <5032005E.7050809@...1...> References: <1535115.CcDSttrtWf@...46...> <5032005E.7050809@...1...> Message-ID: <1838255.n99qj4fPfS@...46...> On Monday 20 August 2012 11:16:14 Beno?t Minisini wrote: > Le 20/08/2012 11:05, wally a ?crit : > > How should i declare this function of a shared libray in gambas extern ? > > > > > > #include > > void serialPrintf (int fd, char *message, ...) > > > > > > Public Extern serialPrintf(fd As Integer, message As Pointer, ...) '??? > > > > wally > > Public Extern serialPrintf(fd As Integer, message As String, ...) In ... i tried this line and get this error : "Library name must be a string" this error occurs only for this line, other extern function declaration does not rise this error. Library "/usr/local/lib/libwiringPi" Public Extern serialPuts(fd As Integer, s As String) 'Minisini: Public Extern serialPrintf(fd As Integer, message As String, ...) In ... Public Extern serialDataAvail(fd As Integer) As Integer there was a typo in the above line, sorry From gambas at ...1... Mon Aug 20 12:12:25 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 20 Aug 2012 12:12:25 +0200 Subject: [Gambas-user] Extern declaration question In-Reply-To: <1838255.n99qj4fPfS@...46...> References: <1535115.CcDSttrtWf@...46...> <5032005E.7050809@...1...> <1838255.n99qj4fPfS@...46...> Message-ID: <50320D89.6090600@...1...> Le 20/08/2012 11:52, wally a ?crit : > On Monday 20 August 2012 11:16:14 Beno?t Minisini wrote: >> Le 20/08/2012 11:05, wally a ?crit : >>> How should i declare this function of a shared libray in gambas extern ? >>> >>> >>> #include >>> void serialPrintf (int fd, char *message, ...) >>> >>> >>> Public Extern serialPrintf(fd As Integer, message As Pointer, ...) '??? >>> >>> wally >> >> Public Extern serialPrintf(fd As Integer, message As String, ...) In ... > > i tried this line and get this error : > "Library name must be a string" > > this error occurs only for this line, other extern function declaration does > not rise this error. > > Library "/usr/local/lib/libwiringPi" > Guess what? I can't read minds and see the code around the one line you sent. The "..." means that you have to type what you have to type there. (nothing in your case, as you used the 'Library' line). Regards, -- Beno?t Minisini From wally at ...2037... Mon Aug 20 12:22:19 2012 From: wally at ...2037... (wally) Date: Mon, 20 Aug 2012 12:22:19 +0200 Subject: [Gambas-user] Extern declaration question In-Reply-To: <50320D89.6090600@...1...> References: <1535115.CcDSttrtWf@...46...> <1838255.n99qj4fPfS@...46...> <50320D89.6090600@...1...> Message-ID: <3088621.8jcY3PIe3U@...46...> On Monday 20 August 2012 12:12:25 Beno?t Minisini wrote: > Le 20/08/2012 11:52, wally a ?crit : > > On Monday 20 August 2012 11:16:14 Beno?t Minisini wrote: > >> Le 20/08/2012 11:05, wally a ?crit : > >>> How should i declare this function of a shared libray in gambas > >>> extern ? > >>> > >>> > >>> #include > >>> void serialPrintf (int fd, char *message, ...) > >>> > >>> > >>> Public Extern serialPrintf(fd As Integer, message As Pointer, ...) > >>> '??? > >>> > >>> wally > >> > >> Public Extern serialPrintf(fd As Integer, message As String, ...) In > >> ... > > > > i tried this line and get this error : > > "Library name must be a string" > > > > this error occurs only for this line, other extern function declaration > > does not rise this error. > > > > Library "/usr/local/lib/libwiringPi" > > Guess what? I can't read minds and see the code around the one line you > sent. > > The "..." means that you have to type what you have to type there. > (nothing in your case, as you used the 'Library' line). > > Regards, > The "..." means that you have to type what you have to type there. I do not understand what you want to explain. wally From gambas at ...1... Mon Aug 20 12:24:23 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 20 Aug 2012 12:24:23 +0200 Subject: [Gambas-user] Extern declaration question In-Reply-To: <3088621.8jcY3PIe3U@...46...> References: <1535115.CcDSttrtWf@...46...> <1838255.n99qj4fPfS@...46...> <50320D89.6090600@...1...> <3088621.8jcY3PIe3U@...46...> Message-ID: <50321057.8050801@...1...> Le 20/08/2012 12:22, wally a ?crit : > On Monday 20 August 2012 12:12:25 Beno?t Minisini wrote: >> Le 20/08/2012 11:52, wally a ?crit : >>> On Monday 20 August 2012 11:16:14 Beno?t Minisini wrote: >>>> Le 20/08/2012 11:05, wally a ?crit : >>>>> How should i declare this function of a shared libray in gambas >>>>> extern ? >>>>> >>>>> >>>>> #include >>>>> void serialPrintf (int fd, char *message, ...) >>>>> >>>>> >>>>> Public Extern serialPrintf(fd As Integer, message As Pointer, ...) >>>>> '??? >>>>> >>>>> wally >>>> >>>> Public Extern serialPrintf(fd As Integer, message As String, ...) In >>>> ... >>> >>> i tried this line and get this error : >>> "Library name must be a string" >>> >>> this error occurs only for this line, other extern function declaration >>> does not rise this error. >>> >>> Library "/usr/local/lib/libwiringPi" >> >> Guess what? I can't read minds and see the code around the one line you >> sent. >> >> The "..." means that you have to type what you have to type there. >> (nothing in your case, as you used the 'Library' line). >> >> Regards, > > >> The "..." means that you have to type what you have to type there. > I do not understand what you want to explain. > > wally > "..." means "etcaetera", "and so on". I didn't know if you had to type "In " or not, as I didn't see your code! -- Beno?t Minisini From wally at ...2037... Mon Aug 20 12:28:28 2012 From: wally at ...2037... (wally) Date: Mon, 20 Aug 2012 12:28:28 +0200 Subject: [Gambas-user] Extern declaration question In-Reply-To: <50320D89.6090600@...1...> References: <1535115.CcDSttrtWf@...46...> <1838255.n99qj4fPfS@...46...> <50320D89.6090600@...1...> Message-ID: <3168492.VjQEmK9njO@...46...> On Monday 20 August 2012 12:12:25 Beno?t Minisini wrote: > Le 20/08/2012 11:52, wally a ?crit : > > On Monday 20 August 2012 11:16:14 Beno?t Minisini wrote: > >> Le 20/08/2012 11:05, wally a ?crit : > >>> How should i declare this function of a shared libray in gambas > >>> extern ? > >>> > >>> > >>> #include > >>> void serialPrintf (int fd, char *message, ...) > >>> > >>> > >>> Public Extern serialPrintf(fd As Integer, message As Pointer, ...) > >>> '??? > >>> > >>> wally > >> > >> Public Extern serialPrintf(fd As Integer, message As String, ...) In > >> ... > > > > i tried this line and get this error : > > "Library name must be a string" > > > > this error occurs only for this line, other extern function declaration > > does not rise this error. > > > > Library "/usr/local/lib/libwiringPi" > > Guess what? I can't read minds and see the code around the one line you > sent. > > The "..." means that you have to type what you have to type there. > (nothing in your case, as you used the 'Library' line). > > Regards, > The "..." means that you have to type what you have to type there. I do not understand what you want to explain. Public Extern serialPrintf(fd As Integer, message As String, ...) the above declaration witjout the "In ..." seems to work. wally From vuott at ...325... Mon Aug 20 12:45:04 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 20 Aug 2012 11:45:04 +0100 (BST) Subject: [Gambas-user] Extern declaration question In-Reply-To: <3168492.VjQEmK9njO@...46...> Message-ID: <1345459504.87386.YahooMailClassic@...2691...> > > Public Extern serialPrintf(fd As Integer, message As String, > ...) > the above declaration witjout the "In ..." seems to work. > > wally > If you have already upper declared : Library "name_of_library" you don't need to add Extern serialPrintf(...) In "name_of_library" From wally at ...2037... Mon Aug 20 12:55:02 2012 From: wally at ...2037... (wally) Date: Mon, 20 Aug 2012 12:55:02 +0200 Subject: [Gambas-user] Extern declaration question In-Reply-To: <1345459504.87386.YahooMailClassic@...2691...> References: <1345459504.87386.YahooMailClassic@...2691...> Message-ID: <1647524.HFfot7OFrN@...46...> On Monday 20 August 2012 11:45:04 Ru Vuott wrote: > > Public Extern serialPrintf(fd As Integer, message As String, > > ...) > > the above declaration witjout the "In ..." seems to work. > > > > wally > > If you have already upper declared : > > Library "name_of_library" > > > you don't need to add > > Extern serialPrintf(...) In "name_of_library" > > ---------------------------------------------------------------------------- > -- 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 Thank you, i thought this "In ..." is part of the va_list because in this context the "..." does not mean etcetera. Here "In" is part ot Extern command. From vuott at ...325... Mon Aug 20 13:07:19 2012 From: vuott at ...325... (Ru Vuott) Date: Mon, 20 Aug 2012 12:07:19 +0100 (BST) Subject: [Gambas-user] Extern declaration question In-Reply-To: <1647524.HFfot7OFrN@...46...> Message-ID: <1345460839.95805.YahooMailClassic@...2780...> How to interface Gambas to external libraries: (in English) http://www.gambas-it.org/wiki/index.php?title=Documento_originale_%28Inglese%29&action=submit (in italian) http://www.gambas-it.org/wiki/index.php/Extern:_richiamare_funzioni_esterne_a_Gambas --- Lun 20/8/12, wally ha scritto: > Da: wally > Oggetto: Re: [Gambas-user] Extern declaration question > A: "mailing list for gambas users" > Data: Luned? 20 agosto 2012, 12:55 > On Monday 20 August 2012 11:45:04 Ru > Vuott wrote: > > > Public Extern serialPrintf(fd As Integer, message > As String, > > > ...) > > > the above declaration witjout the "In ..." seems > to work. > > > > > > wally > > > > If you have already upper declared : > > > > Library "name_of_library" > > > > > > you don't need to add > > > >? Extern serialPrintf(...) In "name_of_library" > > > > > ---------------------------------------------------------------------------- > > -- 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 > > > Thank you, > i thought this "In ..."? is part of the va_list because > in this context the > "..." does not mean etcetera. Here "In"? is part ot > Extern command. > > > > ------------------------------------------------------------------------------ > 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 ivan-kern at ...308... Mon Aug 20 15:56:58 2012 From: ivan-kern at ...308... (Ivan Kern) Date: Mon, 20 Aug 2012 15:56:58 +0200 Subject: [Gambas-user] DB connection Message-ID: <000001cd7edb$ae943ae0$0bbcb0a0$@freenet.de> Hi, is it possible to have more than one connection to DB with Gambas3? I want build one connection to SQLite database and other one to PosrgreSQL database. And I want use DataBrowser. Regards Ivan From gambas.fr at ...626... Mon Aug 20 18:33:55 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 20 Aug 2012 18:33:55 +0200 Subject: [Gambas-user] DB connection In-Reply-To: <000001cd7edb$ae943ae0$0bbcb0a0$@freenet.de> References: <000001cd7edb$ae943ae0$0bbcb0a0$@freenet.de> Message-ID: 2012/8/20 Ivan Kern : > Hi, > > is it possible to have more than one connection to DB with Gambas3? > I want build one connection to SQLite database and other one to PosrgreSQL yes > database. > > And I want use DataBrowser. > > > Regards > > Ivan > > ------------------------------------------------------------------------------ > 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... Mon Aug 20 20:13:05 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 20 Aug 2012 20:13:05 +0200 Subject: [Gambas-user] Questions about SQLIte and Data Objects In-Reply-To: <34279714.post@...1379...> References: <34279714.post@...1379...> Message-ID: <50327E31.80803@...1...> 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 From willy at ...2734... Mon Aug 20 16:25:39 2012 From: willy at ...2734... (Willy Raets) Date: Mon, 20 Aug 2012 16:25:39 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? Message-ID: <1345472740.3601.19.camel@...2735...> Situation: 1. Build a Gambas library for system information retrieval. 2. Other developer installed my library (using openSuse rmp package) and is using it for one of his applications 3. He send me his application and I installed it (using a .deb package) 4. Application installs but does nothing (running command line it turns out he is missing the depend library -> although this one is installed on my system -> see attached screen SysStats-Terminal.png) The library on my system is installed in usr/bin and called SysInfo.gambas (-> see attached screen SysInfo-Terminal.png) The library on his sytem is installed in usr/bin and called SysInfo (without the .gambas) After making a symbolic link called SysInfo (referring to SysInfo.gambas) his application run smoothly on my system. This is what we noted: When I installed my gambas library (on Ubuntu) and go to the properties of a project using it, it is named SysInfo.gambas When he installed my gambas library (on openSuse) and goes to the properties of a project using it, the library is named SysInfo Now it seems that when he makes a package of an application using my library the dependencies looks for SysInfo When I make a package of an aplication using my library the dependencies look for SysInfo.gambas. But installing the SysInfo .deb package on my system will ALWAYS install it as SysInfo.gambas and never as SysInfo. On his system an ls of usr/bin shows SysInfo (without extention .gambas) Is this a bug in Gambas3 or an issue of distributions working differently. As I noted, I could solve it with a symbolic link, but that is no graceful solution for end users. I attached a screen with the project properties tab libraries where top is on my system and bottom is on his system.(LibraryDiff.png) Note the difference!! Put distro, desktop and Gambas info of both systems on this last screen. Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: LibraryDiff.png Type: image/png Size: 22856 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SysStats-Terminal.png Type: image/png Size: 16952 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SysInfo-Terminal.png Type: image/png Size: 8249 bytes Desc: not available URL: From gambas at ...1... Mon Aug 20 20:26:30 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 20 Aug 2012 20:26:30 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1345472740.3601.19.camel@...2735...> References: <1345472740.3601.19.camel@...2735...> Message-ID: <50328156.7050902@...1...> Le 20/08/2012 16:25, Willy Raets a ?crit : > Situation: > 1. Build a Gambas library for system information retrieval. > 2. Other developer installed my library (using openSuse rmp package) and > is using it for one of his applications > 3. He send me his application and I installed it (using a .deb package) > 4. Application installs but does nothing (running command line it turns > out he is missing the depend library -> although this one is installed > on my system -> see attached screen SysStats-Terminal.png) > > The library on my system is installed in usr/bin and called > SysInfo.gambas (-> see attached screen SysInfo-Terminal.png) > > The library on his sytem is installed in usr/bin and called SysInfo > (without the .gambas) > > After making a symbolic link called SysInfo (referring to > SysInfo.gambas) his application run smoothly on my system. > > This is what we noted: > When I installed my gambas library (on Ubuntu) and go to the properties > of a project using it, it is named SysInfo.gambas > When he installed my gambas library (on openSuse) and goes to the > properties of a project using it, the library is named SysInfo > > Now it seems that when he makes a package of an application using my > library the dependencies looks for SysInfo > When I make a package of an aplication using my library the dependencies > look for SysInfo.gambas. > But installing the SysInfo .deb package on my system will ALWAYS install > it as SysInfo.gambas and never as SysInfo. On his system an ls of > usr/bin shows SysInfo (without extention .gambas) > > Is this a bug in Gambas3 or an issue of distributions working > differently. As I noted, I could solve it with a symbolic link, but that > is no graceful solution for end users. > > I attached a screen with the project properties tab libraries where top > is on my system and bottom is on his system.(LibraryDiff.png) Note the difference!! > Put distro, desktop and Gambas info of both systems on this last screen. > > Willy > Which version of Gambas do you have on both systems? -- Beno?t Minisini From gambas at ...1... Mon Aug 20 20:28:50 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 20 Aug 2012 20:28:50 +0200 Subject: [Gambas-user] Questions about SQLIte and Data Objects In-Reply-To: <50327E31.80803@...1...> References: <34279714.post@...1379...> <50327E31.80803@...1...> Message-ID: <503281E2.1040106@...1...> Le 20/08/2012 20:13, Beno?t Minisini a ?crit : > > 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... > No need for that: the DataSource control of the DataView raises a Change event each time the data is reloaded. Use it! -- Beno?t Minisini From willy at ...2734... Mon Aug 20 20:34:32 2012 From: willy at ...2734... (Willy Raets) Date: Mon, 20 Aug 2012 20:34:32 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <50328156.7050902@...1...> References: <1345472740.3601.19.camel@...2735...> <50328156.7050902@...1...> Message-ID: <1345487672.2213.2.camel@...2735...> On ma, 2012-08-20 at 20:26 +0200, Beno?t Minisini wrote: > Le 20/08/2012 16:25, Willy Raets a ?crit : > > Situation: > > 1. Build a Gambas library for system information retrieval. > > 2. Other developer installed my library (using openSuse rmp package) and > > is using it for one of his applications > > 3. He send me his application and I installed it (using a .deb package) > > 4. Application installs but does nothing (running command line it turns > > out he is missing the depend library -> although this one is installed > > on my system -> see attached screen SysStats-Terminal.png) > > > > The library on my system is installed in usr/bin and called > > SysInfo.gambas (-> see attached screen SysInfo-Terminal.png) > > > > The library on his sytem is installed in usr/bin and called SysInfo > > (without the .gambas) > > > > After making a symbolic link called SysInfo (referring to > > SysInfo.gambas) his application run smoothly on my system. > > > > This is what we noted: > > When I installed my gambas library (on Ubuntu) and go to the properties > > of a project using it, it is named SysInfo.gambas > > When he installed my gambas library (on openSuse) and goes to the > > properties of a project using it, the library is named SysInfo > > > > Now it seems that when he makes a package of an application using my > > library the dependencies looks for SysInfo > > When I make a package of an aplication using my library the dependencies > > look for SysInfo.gambas. > > But installing the SysInfo .deb package on my system will ALWAYS install > > it as SysInfo.gambas and never as SysInfo. On his system an ls of > > usr/bin shows SysInfo (without extention .gambas) > > > > Is this a bug in Gambas3 or an issue of distributions working > > differently. As I noted, I could solve it with a symbolic link, but that > > is no graceful solution for end users. > > > > I attached a screen with the project properties tab libraries where top > > is on my system and bottom is on his system.(LibraryDiff.png) Note the difference!! > > Put distro, desktop and Gambas info of both systems on this last screen. > > > > Willy > > > > Which version of Gambas do you have on both systems? > > Gambas 3.2.1 on both systems (see the LibraryDiff.png in previous message for info). Willy From gambas at ...2524... Mon Aug 20 20:55:57 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Aug 2012 18:55:57 +0000 Subject: [Gambas-user] Issue 313 in gambas: Profiler inconsistency Message-ID: <0-6813199134517018827-18015231256632446506-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 313 by jussi.la... at ...626...: Profiler inconsistency http://code.google.com/p/gambas/issues/detail?id=313 1) Describe the problem. See attached screenshot. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5058 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 Desktop used: XFCE 3) Provide a little project that reproduces the bug or the crash. Attached. 5) Explain clearly how to reproduce the bug or the crash. Run attached project with profiling. Results are not shown correctly. From gambas at ...2524... Mon Aug 20 20:57:12 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Aug 2012 18:57:12 +0000 Subject: [Gambas-user] Issue 313 in gambas: Profiler inconsistency In-Reply-To: <0-6813199134517018827-18015231256632446506-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-18015231256632446506-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-18015231256632446506-gambas=googlecode.com@...2524...> Comment #1 on issue 313 by jussi.la... at ...626...: Profiler inconsistency http://code.google.com/p/gambas/issues/detail?id=313 Oops... Attachments: Screenshot.png 62.7 KB ProfilerBug2-0.0.1.tar.gz 5.3 KB From gambas at ...2524... Mon Aug 20 21:01:15 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Aug 2012 19:01:15 +0000 Subject: [Gambas-user] Issue 311 in gambas: Object.GetProperty is mangling objects In-Reply-To: <2-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #3 on issue 311 by benoit.m... at ...626...: Object.GetProperty is mangling objects http://code.google.com/p/gambas/issues/detail?id=311 (No comment was entered for this change.) From gambas at ...2524... Mon Aug 20 21:45:21 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Aug 2012 19:45:21 +0000 Subject: [Gambas-user] Issue 313 in gambas: Profiler inconsistency In-Reply-To: <1-6813199134517018827-18015231256632446506-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-18015231256632446506-gambas=googlecode.com@...2524...> <0-6813199134517018827-18015231256632446506-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-18015231256632446506-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #2 on issue 313 by benoit.m... at ...626...: Profiler inconsistency http://code.google.com/p/gambas/issues/detail?id=313 The time associated with the "Evaluator" line is the time to execute the expression, but not the time to compile it. That explains the difference. From christian.faurebouvard at ...626... Mon Aug 20 23:05:39 2012 From: christian.faurebouvard at ...626... (cfb95) Date: Mon, 20 Aug 2012 21:05:39 +0000 (UTC) Subject: [Gambas-user] Gambas for Android References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> <4F84BCB4.5010103@...626...> Message-ID: Well, as Linux distro can run on android, Gambas must be work also! may be no need to port! i've run a very simple console program (gambas2) on my motorola xoom, and it work! 8-) The graphic front end of gamas2 not work on my tablet due to a bug (in gbx_math.c pow and powl when compiled for ARM). this bug is fixed in Gambas3 as it not use long double at all. For running a linux distro on android someone have found the key: chroot!!! i've used this info: http://trsohmers.com/2011/03/06/how-to-run-ubuntu-on-the-motorola-xoom/ with this method, we have android and linux running at the same time over same kernel and sharing devices. From gambas at ...2524... Mon Aug 20 23:11:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Aug 2012 21:11:10 +0000 Subject: [Gambas-user] Issue 311 in gambas: Object.GetProperty is mangling objects In-Reply-To: <3-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Comment #4 on issue 311 by benoit.m... at ...626...: Object.GetProperty is mangling objects http://code.google.com/p/gambas/issues/detail?id=311 Fixed in revision #5060. From bbruen at ...2308... Tue Aug 21 02:51:45 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 21 Aug 2012 10:21:45 +0930 Subject: [Gambas-user] Issue 311 in ... Attn Tobias In-Reply-To: <4-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <4-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Message-ID: <1345510305.4943.2.camel@...2688...> On Mon, 2012-08-20 at 21:11 +0000, gambas at ...2524... wrote: > Comment #4 on issue 311 by benoit.m... at ...626...: Object.GetProperty is > mangling objects > http://code.google.com/p/gambas/issues/detail?id=311 > > Fixed in revision #5060. > Thanks Benoit! Now is there a way to configure out the adt lib? I get the following make error: Making all in adt make[5]: Entering directory `/home/bb/trunk/main/lib/adt' CC gb_adt_la-c_list.lo c_list.c:27:1: error: unknown field 'uptr' specified in initializer make[5]: *** [gb_adt_la-c_list.lo] Error 1 make[5]: Leaving directory `/home/bb/trunk/main/lib/adt' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/bb/trunk/main/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/bb/trunk/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/bb/trunk/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bb/trunk' make: *** [all] Error 2 Bruce From gambas at ...1... Tue Aug 21 03:06:59 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 21 Aug 2012 03:06:59 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1345472740.3601.19.camel@...2735...> References: <1345472740.3601.19.camel@...2735...> Message-ID: <5032DF33.2020609@...1...> Le 20/08/2012 16:25, Willy Raets a ?crit : > Situation: > 1. Build a Gambas library for system information retrieval. > 2. Other developer installed my library (using openSuse rmp package) and > is using it for one of his applications > 3. He send me his application and I installed it (using a .deb package) > 4. Application installs but does nothing (running command line it turns > out he is missing the depend library -> although this one is installed > on my system -> see attached screen SysStats-Terminal.png) > > The library on my system is installed in usr/bin and called > SysInfo.gambas (-> see attached screen SysInfo-Terminal.png) > > The library on his sytem is installed in usr/bin and called SysInfo > (without the .gambas) > > After making a symbolic link called SysInfo (referring to > SysInfo.gambas) his application run smoothly on my system. > > This is what we noted: > When I installed my gambas library (on Ubuntu) and go to the properties > of a project using it, it is named SysInfo.gambas > When he installed my gambas library (on openSuse) and goes to the > properties of a project using it, the library is named SysInfo > > Now it seems that when he makes a package of an application using my > library the dependencies looks for SysInfo > When I make a package of an aplication using my library the dependencies > look for SysInfo.gambas. > But installing the SysInfo .deb package on my system will ALWAYS install > it as SysInfo.gambas and never as SysInfo. On his system an ls of > usr/bin shows SysInfo (without extention .gambas) > > Is this a bug in Gambas3 or an issue of distributions working > differently. As I noted, I could solve it with a symbolic link, but that > is no graceful solution for end users. > > I attached a screen with the project properties tab libraries where top > is on my system and bottom is on his system.(LibraryDiff.png) Note the difference!! > Put distro, desktop and Gambas info of both systems on this last screen. > > Willy > OK, the bug should be fixed in revision #5061. The rule is actually the following: - Normal project executables are installed *without* the '.gambas' extension. - Library project executables are installed *with* the '.gambas' extension. It was not implemented correctly. Note that the 'Autotools' packager is out-of-date and needs some work to support all that library stuff. But all other packagers should work as expected. Tell me if it is ok for you! Regards, -- Beno?t Minisini From Karl.Reinl at ...9... Tue Aug 21 10:21:54 2012 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 21 Aug 2012 10:21:54 +0200 Subject: [Gambas-user] libraries and gambas3 In-Reply-To: <500CAF40.4030902@...1...> References: <1341741796.2358.26.camel@...40...> <4FF98130.4030701@...1...> <1341773931.2174.14.camel@...40...> <500CAF40.4030902@...1...> Message-ID: <1345537314.2398.33.camel@...40...> Am Montag, den 23.07.2012, 03:56 +0200 schrieb Beno?t Minisini: > Le 08/07/2012 20:58, Charlie Reinl a ?crit : > >> Mmm... What do you mean exactly? > >> > > Salut Beno?t, > > > > it is exactly one year we worked on that, I attached you my mail from > > 06.07.2011 Subject : a gambas3 component does not provide underlying > > components > > > > And if you have still my project, > > > > 'DBReportViewer3' needs 'obfuscation' > > no problem to load 'DBReportViewer3' into the IDE > > > > 'DBReportDesigner3' needs 'DBReportViewer3' and 'obfuscation' > > when loading 'DBReportViewer3' as library it fails loading > > 'obfuscation' > > > > > > Hi, > > In revision #4983, the IDE now automatically manage dependencies between > library. I mean: > > - If you add a library, all other libraries it depends on are added > automatically. > > - You cannot remove a library if another library depends on it. > > These dependencies are updated when you load a project, and when you > modify the libraries in the project property dialog. > > Do you think that it can fix the problem? > Salut Beno?t, today I come back with that. The outlined above works now, but there is still a problem, when the libraries are marked in requires. If 'DBReportViewer3' is opened in the IDE, and you enter into project-properties , 'obfuscation.gambas' is claimed, while not found in $cComp. Message : "Some components are missing: &1" Source : FPropertyProject.class/Private Sub RefreshComponents() -- Amicalement Charlie [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.2.90 rev. 5049 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 From gambas at ...2524... Tue Aug 21 10:53:40 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 21 Aug 2012 08:53:40 +0000 Subject: [Gambas-user] Issue 314 in gambas: DataBrowser does not display an added row or save all columns for an added row Message-ID: <0-6813199134517018827-13733922229303828075-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 314 by john.aaron.rose at ...626...: DataBrowser does not display an added row or save all columns for an added row http://code.google.com/p/gambas/issues/detail?id=314 Gambas 3.2.1. Ubuntu Lucid 64 bit.GTK+. Gnome. I select a country of Italy. I click Centre Maintenance button. I click (on the displayed FCentreMaintenance form) the New icon (within DataBrowserCentre). I enter Rome (for Centre) and 4 (for Country Id). I click the Save icon (within DataBrowserCentre). The window does not show the added Rome row. I then Exit the FCentreMaintenance form. I return to the FCentreMaintenance form and it still does not show the added Rome row. I check the centre table using SQLite Manager and the Rome row is there but with country_id set null/blank. From gambas at ...2524... Tue Aug 21 10:59:44 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 21 Aug 2012 08:59:44 +0000 Subject: [Gambas-user] Issue 314 in gambas: DataBrowser does not display an added row or save all columns for an added row In-Reply-To: <0-6813199134517018827-13733922229303828075-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13733922229303828075-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13733922229303828075-gambas=googlecode.com@...2524...> Comment #1 on issue 314 by john.aaron.rose at ...626...: DataBrowser does not display an added row or save all columns for an added row http://code.google.com/p/gambas/issues/detail?id=314 Sorry, I forgot to attach project & database. Attachments: JewishHeritage.tar.gz 39.1 KB JewishHeritage.db 227 KB From taboege at ...626... Tue Aug 21 11:35:41 2012 From: taboege at ...626... (Tobias Boege) Date: Tue, 21 Aug 2012 11:35:41 +0200 Subject: [Gambas-user] Issue 311 in ... Attn Tobias In-Reply-To: <1345510305.4943.2.camel@...2688...> References: <3-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <4-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <1345510305.4943.2.camel@...2688...> Message-ID: <20120821093541.GA511@...2774...> On Tue, 21 Aug 2012, Bruce wrote: > On Mon, 2012-08-20 at 21:11 +0000, gambas at ...2524... wrote: > > Comment #4 on issue 311 by benoit.m... at ...626...: Object.GetProperty is > > mangling objects > > http://code.google.com/p/gambas/issues/detail?id=311 > > > > Fixed in revision #5060. > > > > Thanks Benoit! > > > Now is there a way to configure out the adt lib? > I don't think so. The adt/ directory is in there just to save a ./configure run. > I get the following make error: > > Making all in adt > make[5]: Entering directory `/home/bb/trunk/main/lib/adt' > CC gb_adt_la-c_list.lo > c_list.c:27:1: error: unknown field 'uptr' specified in initializer That is really weird. I just checked-out a clean copy from svn and built it successfully. May I ask what compiler (version?) you used? Anyway, I was using a GCC extension to save space for an intptr_t. That's not too important and corrected in rev5063. Regards, Tobi From willy at ...2734... Tue Aug 21 12:31:26 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 21 Aug 2012 12:31:26 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <5032DF33.2020609@...1...> References: <1345472740.3601.19.camel@...2735...> <5032DF33.2020609@...1...> Message-ID: <1345545086.2120.10.camel@...2735...> On di, 2012-08-21 at 03:06 +0200, Beno?t Minisini wrote: > Le 20/08/2012 16:25, Willy Raets a ?crit : > > Situation: > > 1. Build a Gambas library for system information retrieval. > > 2. Other developer installed my library (using openSuse rmp package) and > > is using it for one of his applications > > 3. He send me his application and I installed it (using a .deb package) > > 4. Application installs but does nothing (running command line it turns > > out he is missing the depend library -> although this one is installed > > on my system -> see attached screen SysStats-Terminal.png) > > > > The library on my system is installed in usr/bin and called > > SysInfo.gambas (-> see attached screen SysInfo-Terminal.png) > > > > The library on his sytem is installed in usr/bin and called SysInfo > > (without the .gambas) > > > > After making a symbolic link called SysInfo (referring to > > SysInfo.gambas) his application run smoothly on my system. > > > > This is what we noted: > > When I installed my gambas library (on Ubuntu) and go to the properties > > of a project using it, it is named SysInfo.gambas > > When he installed my gambas library (on openSuse) and goes to the > > properties of a project using it, the library is named SysInfo > > > > Now it seems that when he makes a package of an application using my > > library the dependencies looks for SysInfo > > When I make a package of an aplication using my library the dependencies > > look for SysInfo.gambas. > > But installing the SysInfo .deb package on my system will ALWAYS install > > it as SysInfo.gambas and never as SysInfo. On his system an ls of > > usr/bin shows SysInfo (without extention .gambas) > > > > Is this a bug in Gambas3 or an issue of distributions working > > differently. As I noted, I could solve it with a symbolic link, but that > > is no graceful solution for end users. > > > > I attached a screen with the project properties tab libraries where top > > is on my system and bottom is on his system.(LibraryDiff.png) Note the difference!! > > Put distro, desktop and Gambas info of both systems on this last screen. > > > > Willy > > > > OK, the bug should be fixed in revision #5061. > > The rule is actually the following: > - Normal project executables are installed *without* the '.gambas' > extension. > - Library project executables are installed *with* the '.gambas' extension. > > It was not implemented correctly. > > Note that the 'Autotools' packager is out-of-date and needs some work to > support all that library stuff. But all other packagers should work as > expected. > > Tell me if it is ok for you! > > Regards, > Thanks Beno?t, I will install the latest revision this evening when I am home and get back to you. What do I need to repackage, I guess the Gambas library? Willy P.S. On my system all Gambas applications are installed with .gambas extension (no matter if library or normal application and it has always been that way). It is on the openSuSe that .gambas extensions are missing for both Gambas applications and Gambas libraries. From bbruen at ...2308... Tue Aug 21 13:12:26 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 21 Aug 2012 20:42:26 +0930 Subject: [Gambas-user] Issue 311 in ... Attn Tobias In-Reply-To: <20120821093541.GA511@...2774...> References: <3-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <4-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <1345510305.4943.2.camel@...2688...> <20120821093541.GA511@...2774...> Message-ID: <1345547547.4943.7.camel@...2688...> On Tue, 2012-08-21 at 11:35 +0200, Tobias Boege wrote: > > c_list.c:27:1: error: unknown field 'uptr' specified in initializer > > That is really weird. I just checked-out a clean copy from svn and built it > successfully. May I ask what compiler (version?) you used? > Anyway, I was using a GCC extension to save space for an intptr_t. That's > not too important and corrected in rev5063. > > Regards, > Tobi [bb at ...2711... ~]$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/lto-wrapper Target: i586-mandriva-linux-gnu Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --with-bugurl=https://pclinuxos.com/ --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c ++,ada,fortran,objc,obj-c++,java --build=i586-mandriva-linux-gnu --host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-objc-gc --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp --disable-werror --with-python-dir=/lib/python2.6/site-packages --enable-lto --enable-plugins Thread model: posix gcc version 4.5.2 (GCC) Any clues in that gobbledegook? Any other version info that might help? I'll try 5063 tomorrow morning (AUS) and let you know. Bruce From bbruen at ...2308... Tue Aug 21 14:17:47 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 21 Aug 2012 21:47:47 +0930 Subject: [Gambas-user] Issue 311 in ... Attn Tobias In-Reply-To: <1345547547.4943.7.camel@...2688...> References: <3-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <4-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <1345510305.4943.2.camel@...2688...> <20120821093541.GA511@...2774...> <1345547547.4943.7.camel@...2688...> Message-ID: <1345551468.4943.9.camel@...2688...> On Tue, 2012-08-21 at 20:42 +0930, Bruce wrote: > On Tue, 2012-08-21 at 11:35 +0200, Tobias Boege wrote: > > > > c_list.c:27:1: error: unknown field 'uptr' specified in initializer > > > > That is really weird. I just checked-out a clean copy from svn and built it > > successfully. May I ask what compiler (version?) you used? > > Anyway, I was using a GCC extension to save space for an intptr_t. That's > > not too important and corrected in rev5063. > > > > Regards, > > Tobi > > [bb at ...2711... ~]$ gcc -v > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/lto-wrapper > Target: i586-mandriva-linux-gnu > Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib > --with-slibdir=/lib --with-bugurl=https://pclinuxos.com/ > --mandir=/usr/share/man --infodir=/usr/share/info > --enable-checking=release --enable-languages=c,c > ++,ada,fortran,objc,obj-c++,java --build=i586-mandriva-linux-gnu > --host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib > --enable-threads=posix --enable-shared --enable-objc-gc > --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions > --enable-clocale=gnu --enable-java-awt=gtk > --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre > --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo > --disable-libjava-multilib --enable-ssp --disable-libssp > --disable-werror --with-python-dir=/lib/python2.6/site-packages > --enable-lto --enable-plugins > Thread model: posix > gcc version 4.5.2 (GCC) > > Any clues in that gobbledegook? > Any other version info that might help? > > I'll try 5063 tomorrow morning (AUS) and let you know. > > Bruce > Ah, nothing on TV so tried 5063, all good now. Thanks for that. Bruce From taboege at ...626... Tue Aug 21 15:11:11 2012 From: taboege at ...626... (Tobias Boege) Date: Tue, 21 Aug 2012 15:11:11 +0200 Subject: [Gambas-user] Issue 311 in ... Attn Tobias In-Reply-To: <1345551468.4943.9.camel@...2688...> References: <3-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <4-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <1345510305.4943.2.camel@...2688...> <20120821093541.GA511@...2774...> <1345547547.4943.7.camel@...2688...> <1345551468.4943.9.camel@...2688...> Message-ID: <20120821131111.GA630@...2774...> On Tue, 21 Aug 2012, Bruce wrote: > On Tue, 2012-08-21 at 20:42 +0930, Bruce wrote: > > On Tue, 2012-08-21 at 11:35 +0200, Tobias Boege wrote: > > > > > > c_list.c:27:1: error: unknown field 'uptr' specified in initializer > > > > > > That is really weird. I just checked-out a clean copy from svn and built it > > > successfully. May I ask what compiler (version?) you used? > > > Anyway, I was using a GCC extension to save space for an intptr_t. That's > > > not too important and corrected in rev5063. > > > > > > Regards, > > > Tobi > > > > [bb at ...2711... ~]$ gcc -v > > Using built-in specs. > > COLLECT_GCC=gcc > > COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-mandriva-linux-gnu/4.5.2/lto-wrapper > > Target: i586-mandriva-linux-gnu > > Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib > > --with-slibdir=/lib --with-bugurl=https://pclinuxos.com/ > > --mandir=/usr/share/man --infodir=/usr/share/info > > --enable-checking=release --enable-languages=c,c > > ++,ada,fortran,objc,obj-c++,java --build=i586-mandriva-linux-gnu > > --host=i586-mandriva-linux-gnu --with-cpu=generic --with-system-zlib > > --enable-threads=posix --enable-shared --enable-objc-gc > > --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions > > --enable-clocale=gnu --enable-java-awt=gtk > > --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre > > --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo > > --disable-libjava-multilib --enable-ssp --disable-libssp > > --disable-werror --with-python-dir=/lib/python2.6/site-packages > > --enable-lto --enable-plugins > > Thread model: posix > > gcc version 4.5.2 (GCC) > > > > Any clues in that gobbledegook? > > Any other version info that might help? > > > > I'll try 5063 tomorrow morning (AUS) and let you know. > > > > Bruce > > > Ah, nothing on TV so tried 5063, all good now. > Thanks for that. > Bruce > O.k., well my version is 4.7.1 It is said in gcc's online doc[0] (not my local info manual) that this has become part of C11 standard. The GCC ChangeLog for 4.6[1] says that unnamed structures/unions are enabled since then. [0] http://gcc.gnu.org/onlinedocs/gcc/Unnamed-Fields.html [1] http://gcc.gnu.org/gcc-4.6/changes.html From gambas at ...1... Tue Aug 21 15:42:02 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 21 Aug 2012 15:42:02 +0200 Subject: [Gambas-user] libraries and gambas3 In-Reply-To: <1345537314.2398.33.camel@...40...> References: <1341741796.2358.26.camel@...40...> <4FF98130.4030701@...1...> <1341773931.2174.14.camel@...40...> <500CAF40.4030902@...1...> <1345537314.2398.33.camel@...40...> Message-ID: <5033902A.8040607@...1...> Le 21/08/2012 10:21, Charlie Reinl a ?crit : > Am Montag, den 23.07.2012, 03:56 +0200 schrieb Beno?t Minisini: >> Le 08/07/2012 20:58, Charlie Reinl a ?crit : >>>> Mmm... What do you mean exactly? >>>> >>> Salut Beno?t, >>> >>> it is exactly one year we worked on that, I attached you my mail from >>> 06.07.2011 Subject : a gambas3 component does not provide underlying >>> components >>> >>> And if you have still my project, >>> >>> 'DBReportViewer3' needs 'obfuscation' >>> no problem to load 'DBReportViewer3' into the IDE >>> >>> 'DBReportDesigner3' needs 'DBReportViewer3' and 'obfuscation' >>> when loading 'DBReportViewer3' as library it fails loading >>> 'obfuscation' >>> >>> >> >> Hi, >> >> In revision #4983, the IDE now automatically manage dependencies between >> library. I mean: >> >> - If you add a library, all other libraries it depends on are added >> automatically. >> >> - You cannot remove a library if another library depends on it. >> >> These dependencies are updated when you load a project, and when you >> modify the libraries in the project property dialog. >> >> Do you think that it can fix the problem? >> > > Salut Beno?t, > > today I come back with that. > > The outlined above works now, but there is still a problem, when the > libraries are marked in requires. > > If 'DBReportViewer3' is opened in the IDE, and you enter into > project-properties , 'obfuscation.gambas' is claimed, while not found in > $cComp. > Message : "Some components are missing: &1" > Source : FPropertyProject.class/Private Sub RefreshComponents() > But no library can be marked in "Requires". What do you mean by that? -- Beno?t Minisini From Karl.Reinl at ...2345... Tue Aug 21 16:29:52 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 21 Aug 2012 16:29:52 +0200 Subject: [Gambas-user] libraries and gambas3 In-Reply-To: <5033902A.8040607@...1...> References: <1341741796.2358.26.camel@...40...> <4FF98130.4030701@...1...> <1341773931.2174.14.camel@...40...> <500CAF40.4030902@...1...> <1345537314.2398.33.camel@...40...> <5033902A.8040607@...1...> Message-ID: <1345559392.2582.11.camel@...40...> Am Dienstag, den 21.08.2012, 15:42 +0200 schrieb Beno?t Minisini: > Le 21/08/2012 10:21, Charlie Reinl a ?crit : > > Am Montag, den 23.07.2012, 03:56 +0200 schrieb Beno?t Minisini: > >> Le 08/07/2012 20:58, Charlie Reinl a ?crit : > >>>> Mmm... What do you mean exactly? > >>>> > >>> Salut Beno?t, > >>> > >>> it is exactly one year we worked on that, I attached you my mail from > >>> 06.07.2011 Subject : a gambas3 component does not provide underlying > >>> components > >>> > >>> And if you have still my project, > >>> > >>> 'DBReportViewer3' needs 'obfuscation' > >>> no problem to load 'DBReportViewer3' into the IDE > >>> > >>> 'DBReportDesigner3' needs 'DBReportViewer3' and 'obfuscation' > >>> when loading 'DBReportViewer3' as library it fails loading > >>> 'obfuscation' > >>> > >>> > >> > >> Hi, > >> > >> In revision #4983, the IDE now automatically manage dependencies between > >> library. I mean: > >> > >> - If you add a library, all other libraries it depends on are added > >> automatically. > >> > >> - You cannot remove a library if another library depends on it. > >> > >> These dependencies are updated when you load a project, and when you > >> modify the libraries in the project property dialog. > >> > >> Do you think that it can fix the problem? > >> > > > > Salut Beno?t, > > > > today I come back with that. > > > > The outlined above works now, but there is still a problem, when the > > libraries are marked in requires. > > > > If 'DBReportViewer3' is opened in the IDE, and you enter into > > project-properties , 'obfuscation.gambas' is claimed, while not found in > > $cComp. > > Message : "Some components are missing: &1" > > Source : FPropertyProject.class/Private Sub RefreshComponents() > > > > But no library can be marked in "Requires". What do you mean by that? > Salut Beno?t, one can set it in 'Library properties' at 'depending on' Ok "Requires" is the lable of the 2ed tab in FPropertyComponent.form and the loop is >>For Each sDep In GetRequire(sLib)<<. See attachment -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto-Library properties.png Type: image/png Size: 27232 bytes Desc: not available URL: From gambas at ...2524... Tue Aug 21 19:25:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 21 Aug 2012 17:25:22 +0000 Subject: [Gambas-user] Issue 315 in gambas: TextLabel padding doesn't work for GTK Message-ID: <0-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Linux Dist-ArchLinux Arch-X86-64 Desktop-XFCE GUI-GTK New issue 315 by Shyl... at ...626...: TextLabel padding doesn't work for GTK http://code.google.com/p/gambas/issues/detail?id=315 1) TextLabel padding works for QT but doesn't work for GTK 2) Version: TRUNK Revision: 5058 3) screenshots and program attached Attachments: padding_test-0.0.1.tar.gz 4.5 KB padding_test_gtk.png 4.3 KB padding_test_qt.png 4.6 KB From willy at ...2734... Tue Aug 21 22:20:56 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 21 Aug 2012 22:20:56 +0200 Subject: [Gambas-user] Revision 5065 doesn't install my Ubuntu 10.04 LTS Message-ID: <1345580456.2509.8.camel@...2735...> Hi, I'm trying to install revision 5065 on Ubuntu 10.04 to test some fixes made to the packaging of libraries. Run into some problems. gb.jit and gb.media are disabled, but that is okay as I didn't install LLVM 3.1 and libgstreamer0.10-dev is of a too low version on Ubuntu 10.04. Somehow it won't install as it gives errors in the make process make[5]: *** No rule to make target `document.cpp', needed by `gb_xml_html_la-document.lo'. Stop. make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Has to do with the gb.xml. I've attached all the output files of reconf-all, configure -C and make in a tar. Some help is appreciated Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: Output.tar Type: application/x-tar Size: 225280 bytes Desc: not available URL: From cabrerawilliam at ...626... Tue Aug 21 22:39:00 2012 From: cabrerawilliam at ...626... (William Cabrera) Date: Tue, 21 Aug 2012 16:09:00 -0430 Subject: [Gambas-user] Bug in gb.ncurses component with non-ASCII characters Message-ID: Hi, when i print a text using print or printcenter function, the non-ASCII characters are not displayed correctly. For example, when i run $hWin.Printcenter("?, ?, ?, ?, ?, ?, ?") The output is M-CM-!, M-CM-), M-CM-, M-CM-3, M-CM:, M-CM-1, M-CM-< ------ William Cabrera http://willicab.gnu.org.ve From bbruen at ...2308... Wed Aug 22 05:50:17 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 22 Aug 2012 13:20:17 +0930 Subject: [Gambas-user] Choose and nulls, a bug and a wish for a better way? Message-ID: <1345607418.7895.7.camel@...2688...> This almost works grid[grid.Rows.Max, 15].Background = IIf(IsNull(Choose(cs.Result, Color.Yellow, Color.Green, Color.Cyan)), Color.Default, Choose(cs.Result, Color.Yellow, Color.Green, Color.Cyan)) (where grid is a gridview control (which just happens to have a column 15)) cs.result is an integer value between 1 and 10. As I load each of the gridview rows I'd like to highlight cells (in column 15) where the cs.result value is 1 or 2 or 3. The code is unwieldy because Choose returns a null if the choose value is not selectable from the list. It would be nice if there was some way to include a default value if the choose value was not indexable. Something like grid[grid.Rows.Max, 15].Background = Pick(cs.Result, [Color.Yellow, Color.Green, Color.Cyan],Color.Default) ie Pick(Value as Integer,List as Variant[],Optional Default As Variant) As Variant But I digress. Today's irk is demonstrated in the attached project that just loads a sample gridview using the unwieldy code above. What has happened when the Choose value is 4???? There are some comments in the code that may provide some insight. best regards Bruce p.s. Sorry, I cant post this to Issues as I am running a huge db re-org today and starting firefox grabs too much memory and kills the re-org task. -------------- next part -------------- A non-text attachment was scrubbed... Name: Strange "choose" behavior_002.png Type: image/png Size: 23769 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 4thplace-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5669 bytes Desc: not available URL: From kevinfishburne at ...1887... Wed Aug 22 10:24:10 2012 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 22 Aug 2012 04:24:10 -0400 Subject: [Gambas-user] Gambas for Android In-Reply-To: References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> <4F84BCB4.5010103@...626...> Message-ID: <5034972A.6020104@...1887...> On 08/20/2012 05:05 PM, cfb95 wrote: > Well, > as Linux distro can run on android, > Gambas must be work also! > may be no need to port! > > i've run a very simple console program (gambas2) > on my motorola xoom, and it work! 8-) > > The graphic front end of gamas2 not work on my tablet due to a bug > (in gbx_math.c pow and powl when compiled for ARM). > this bug is fixed in Gambas3 as it not use long double at all. > > For running a linux distro on android someone have found the key: chroot!!! > > i've used this info: > http://trsohmers.com/2011/03/06/how-to-run-ubuntu-on-the-motorola-xoom/ > > with this method, we have android and linux running at the same time over same > kernel and sharing devices. If Gambas 3 and component libraries could run on Android then Gambas would become the language of choice for Android developers, hands down. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From girardhenri at ...67... Wed Aug 22 10:38:30 2012 From: girardhenri at ...67... (Girard Henri) Date: Wed, 22 Aug 2012 10:38:30 +0200 Subject: [Gambas-user] Gambas for Android In-Reply-To: <5034972A.6020104@...1887...> References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> <4F84BCB4.5010103@...626...> <5034972A.6020104@...1887...> Message-ID: Le 22. 08. 12 10:24, Kevin Fishburne a ?crit : > On 08/20/2012 05:05 PM, cfb95 wrote: >> Well, >> as Linux distro can run on android, >> Gambas must be work also! >> may be no need to port! >> >> i've run a very simple console program (gambas2) >> on my motorola xoom, and it work! 8-) >> >> The graphic front end of gamas2 not work on my tablet due to a bug >> (in gbx_math.c pow and powl when compiled for ARM). >> this bug is fixed in Gambas3 as it not use long double at all. >> >> For running a linux distro on android someone have found the key: chroot!!! >> >> i've used this info: >> http://trsohmers.com/2011/03/06/how-to-run-ubuntu-on-the-motorola-xoom/ >> >> with this method, we have android and linux running at the same time over same >> kernel and sharing devices. > If Gambas 3 and component libraries could run on Android then Gambas > would become the language of choice for Android developers, hands down. As cyanogen (android 4) works fine on hptouchpad then gambas3 could run on hptouchpad too ! From gambas at ...1... Wed Aug 22 11:27:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 22 Aug 2012 11:27:58 +0200 Subject: [Gambas-user] Choose and nulls, a bug and a wish for a better way? In-Reply-To: <1345607418.7895.7.camel@...2688...> References: <1345607418.7895.7.camel@...2688...> Message-ID: <5034A61E.6090208@...1...> Le 22/08/2012 05:50, Bruce a ?crit : > This almost works > > grid[grid.Rows.Max, 15].Background = > IIf(IsNull(Choose(cs.Result, Color.Yellow, Color.Green, > Color.Cyan)), Color.Default, Choose(cs.Result, Color.Yellow, > Color.Green, Color.Cyan)) > > (where grid is a gridview control (which just happens to have a column > 15)) > > cs.result is an integer value between 1 and 10. As I load each of the > gridview rows I'd like to highlight cells (in column 15) where the > cs.result value is 1 or 2 or 3. > > The code is unwieldy because Choose returns a null if the choose value > is not selectable from the list. > > It would be nice if there was some way to include a > default value if the choose value was not indexable. Something > like > > grid[grid.Rows.Max, 15].Background = Pick(cs.Result, > [Color.Yellow, Color.Green, Color.Cyan],Color.Default) > > ie Pick(Value as Integer,List as Variant[],Optional Default As > Variant) As Variant > > > > But I digress. Today's irk is demonstrated in the attached project that > just loads a sample gridview using the unwieldy code above. What has > happened when the Choose value is 4???? > > There are some comments in the code that may provide some insight. > > best regards > Bruce > > > p.s. Sorry, I cant post this to Issues as I am running a huge db re-org > today and starting firefox grabs too much memory and kills the re-org > task. > I won't do your wish, but the bug is fixed in revision #5068! Regards, -- Beno?t Minisini From gambas at ...1... Wed Aug 22 11:49:28 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 22 Aug 2012 11:49:28 +0200 Subject: [Gambas-user] Using DataBrowser for a table which In-Reply-To: <1345370955.2342.29.camel@...2811...> References: <1345370955.2342.29.camel@...2811...> Message-ID: <5034AB28.1040509@...1...> Le 19/08/2012 12:09, John Rose a ?crit : > My SQLite3 database contains country & centre tables. The centre table's > primary key is the _id column. The centre table has a country_id column > which is a Foreign Key to _id in the country table. The centre table > contains a column named centre with values such as London, Paris, > Strasbourg. The country table contains a column named country with > values such as Great Britain, France. The Create Table SQL commands are: > Create Table centre (_id Integer Primary Key AutoIncrement, > centre Text Not Null, > country_id Integer, > Foreign Key (country_id) References country (_id) > On Delete Cascade > On Update Cascade); > Create Table country (_id Integer Primary Key AutoIncrement, > country Text Not Null); > > My FMain form contains a button (ButtonCentreMaintenance) which on > clicking it calls (see code below) a form named FCentreMaintenance which > is used to add/change/delete centres. The FCentreMaintenance form > contains a DataBrowser named DataBrowserCentre which contains a > DataSource named DataSourceCentre. > > Public Sub ButtonCentreMaintenance_Click() > Dim hForm As FCentreMaintenance > hform = New FCentreMaintenance > hForm.DataSourceCentre.Connection = MDatabase.DatabaseConnection > hForm.DataSourceCentre.Table = "centre" > hForm.DataSourceCentre.Filter = "country_id = " & CountryId > hForm.DataSourceCentre.Update() > hForm.Refresh() > hForm.DataBrowserCentre.Columns = ["centre"] > hForm.DataBrowserCentre.Labels = ["Centre"] > hForm.DataBrowserCentre.Editable = True > hForm.DataBrowserCentre.Update() > hForm.DataBrowserCentre.Refresh() > hForm.Show() > hForm.DataBrowserCentre.SetFocus() > Me.Hide() > End > > The problem I have is that when I use the 'New' icon in > DataBrowserCentre, it allows me to key in a new centre but when I try to > save it (using the Save icon) it clears it on the form. The cause of > this is the setting of the Filter in the code above (i.e. it only > displays centre for centre rows which are in the particular country > selected by the user when the form is called). What I need to be able to > do is to have the save set the country_id column to the correct value > (rather than 0 as it does now when saving). Any ideas on how to do this? > The only way that I've thought of doing this is to have > DataBrowserCentre also display the column country_id which the user > would set to the correct value when adding a centre. > > If you want to run this yourself, I've attached the project & the > database to this message. I used Germany & tried to add Berlin > > You can do that, but: 1) You must embed the DataSource on "centre" inside a DataSource on "country" which points at the current country. 2) The name of the country primary key must be the same in all tables, so that Gambas automatically detects them. Regards, -- Beno?t Minisini From gambas at ...2524... Wed Aug 22 12:02:34 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 22 Aug 2012 10:02:34 +0000 Subject: [Gambas-user] Issue 314 in gambas: DataBrowser does not display an added row or save all columns for an added row In-Reply-To: <1-6813199134517018827-13733922229303828075-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13733922229303828075-gambas=googlecode.com@...2524...> <0-6813199134517018827-13733922229303828075-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13733922229303828075-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #2 on issue 314 by benoit.m... at ...626...: DataBrowser does not display an added row or save all columns for an added row http://code.google.com/p/gambas/issues/detail?id=314 This is the normal behaviour, you must embed DataSource controls to reflect the table relationship, and you must ensure that foreign keys have exactly the same name as original primary keys. See my answer on the mailing-list. From gambas at ...2524... Wed Aug 22 12:21:09 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 22 Aug 2012 10:21:09 +0000 Subject: [Gambas-user] Issue 315 in gambas: TextLabel padding doesn't work for GTK In-Reply-To: <0-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 315 by benoit.m... at ...626...: TextLabel padding doesn't work for GTK http://code.google.com/p/gambas/issues/detail?id=315 (No comment was entered for this change.) From gambas at ...2524... Wed Aug 22 12:29:20 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 22 Aug 2012 10:29:20 +0000 Subject: [Gambas-user] Issue 315 in gambas: TextLabel padding doesn't work for GTK In-Reply-To: <1-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> <0-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> Comment #2 on issue 315 by benoit.m... at ...626...: TextLabel padding doesn't work for GTK http://code.google.com/p/gambas/issues/detail?id=315 Fixed in revision #5069. From gambas at ...2524... Wed Aug 22 12:30:20 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 22 Aug 2012 10:30:20 +0000 Subject: [Gambas-user] Issue 315 in gambas: TextLabel padding doesn't work for GTK In-Reply-To: <2-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> <0-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-13117971451480208316-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 315 by benoit.m... at ...626...: TextLabel padding doesn't work for GTK http://code.google.com/p/gambas/issues/detail?id=315 (No comment was entered for this change.) From taboege at ...626... Wed Aug 22 15:10:13 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 22 Aug 2012 15:10:13 +0200 Subject: [Gambas-user] Bug in gb.ncurses component with non-ASCII characters In-Reply-To: References: Message-ID: <20120822131013.GA1086@...2774...> On Tue, 21 Aug 2012, William Cabrera wrote: > Hi, when i print a text using print or printcenter function, the non-ASCII > characters are not displayed correctly. > > For example, when i run > > $hWin.Printcenter("??, ??, ??, ??, ??, ??, ??") > > The output is > > M-CM-!, M-CM-), M-CM-, M-CM-3, M-CM:, M-CM-1, M-CM-< > Hi William, ncurses is not aware of wide characters and the ones you tried to print look very wide. However, there is ncursesw which can do such things - according to the manpage. It would theoretically not be a problem to change to ncursesw but CDK, an ncurses widget libary, which I will use to implement controls is, in turn, incompatible with ncursesw... I'm sorry, apart from writing all controls myself, I couldn't do anything which means: I cannot do anything. But we can hope for CDK to become ncursesw-compatible which is a declared and urgent goal of the developer... Regards, Tobi From gambas at ...1... Wed Aug 22 15:24:27 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 22 Aug 2012 15:24:27 +0200 Subject: [Gambas-user] Bug in gb.ncurses component with non-ASCII characters In-Reply-To: <20120822131013.GA1086@...2774...> References: <20120822131013.GA1086@...2774...> Message-ID: <5034DD8B.4080207@...1...> Le 22/08/2012 15:10, Tobias Boege a ?crit : > On Tue, 21 Aug 2012, William Cabrera wrote: >> Hi, when i print a text using print or printcenter function, the non-ASCII >> characters are not displayed correctly. >> >> For example, when i run >> >> $hWin.Printcenter("??, ??, ??, ??, ??, ??, ??") >> >> The output is >> >> M-CM-!, M-CM-), M-CM-, M-CM-3, M-CM:, M-CM-1, M-CM-< >> > > Hi William, > > ncurses is not aware of wide characters and the ones you tried to print look > very wide. However, there is ncursesw which can do such things - according > to the manpage. It would theoretically not be a problem to change to > ncursesw but CDK, an ncurses widget libary, which I will use to implement > controls is, in turn, incompatible with ncursesw... > I'm sorry, apart from writing all controls myself, I couldn't do anything > which means: I cannot do anything. But we can hope for CDK to become > ncursesw-compatible which is a declared and urgent goal of the developer... > > Regards, > Tobi > If your terminal is UTF-8, and if you send the Gambas UTF-8 characters to ncurses, should'nt they be displayed correctly? -- Beno?t Minisini From taboege at ...626... Wed Aug 22 15:42:21 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 22 Aug 2012 15:42:21 +0200 Subject: [Gambas-user] Bug in gb.ncurses component with non-ASCII characters In-Reply-To: <5034DD8B.4080207@...1...> References: <20120822131013.GA1086@...2774...> <5034DD8B.4080207@...1...> Message-ID: <20120822134221.GA1574@...2774...> On Wed, 22 Aug 2012, Beno?t Minisini wrote: > Le 22/08/2012 15:10, Tobias Boege a ?crit : > > On Tue, 21 Aug 2012, William Cabrera wrote: > >> Hi, when i print a text using print or printcenter function, the non-ASCII > >> characters are not displayed correctly. > >> > >> For example, when i run > >> > >> $hWin.Printcenter("??, ??, ??, ??, ??, ??, ??") > >> > >> The output is > >> > >> M-CM-!, M-CM-), M-CM-, M-CM-3, M-CM:, M-CM-1, M-CM-< > >> > > > > Hi William, > > > > ncurses is not aware of wide characters and the ones you tried to print look > > very wide. However, there is ncursesw which can do such things - according > > to the manpage. It would theoretically not be a problem to change to > > ncursesw but CDK, an ncurses widget libary, which I will use to implement > > controls is, in turn, incompatible with ncursesw... > > I'm sorry, apart from writing all controls myself, I couldn't do anything > > which means: I cannot do anything. But we can hope for CDK to become > > ncursesw-compatible which is a declared and urgent goal of the developer... > > > > Regards, > > Tobi > > > > If your terminal is UTF-8, and if you send the Gambas UTF-8 characters > to ncurses, should'nt they be displayed correctly? > > -- > Beno?t Minisini > I never needed my terminal to be UTF-8 but now the need seems have come up... ncurses can handle up to 8 bits per character so UTF-8 is going to display humbug. From taboege at ...626... Wed Aug 22 15:49:51 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 22 Aug 2012 15:49:51 +0200 Subject: [Gambas-user] Bug in gb.ncurses component with non-ASCII characters In-Reply-To: <20120822134221.GA1574@...2774...> References: <20120822131013.GA1086@...2774...> <5034DD8B.4080207@...1...> <20120822134221.GA1574@...2774...> Message-ID: <20120822134951.GA2824@...2774...> On Wed, 22 Aug 2012, Tobias Boege wrote: > On Wed, 22 Aug 2012, Beno?t Minisini wrote: > > Le 22/08/2012 15:10, Tobias Boege a ?crit : > > > On Tue, 21 Aug 2012, William Cabrera wrote: > > >> Hi, when i print a text using print or printcenter function, the non-ASCII > > >> characters are not displayed correctly. > > >> > > >> For example, when i run > > >> > > >> $hWin.Printcenter("??, ??, ??, ??, ??, ??, ??") > > >> > > >> The output is > > >> > > >> M-CM-!, M-CM-), M-CM-, M-CM-3, M-CM:, M-CM-1, M-CM-< > > >> > > > > > > Hi William, > > > > > > ncurses is not aware of wide characters and the ones you tried to print look > > > very wide. However, there is ncursesw which can do such things - according > > > to the manpage. It would theoretically not be a problem to change to > > > ncursesw but CDK, an ncurses widget libary, which I will use to implement > > > controls is, in turn, incompatible with ncursesw... > > > I'm sorry, apart from writing all controls myself, I couldn't do anything > > > which means: I cannot do anything. But we can hope for CDK to become > > > ncursesw-compatible which is a declared and urgent goal of the developer... > > > > > > Regards, > > > Tobi > > > > > > > If your terminal is UTF-8, and if you send the Gambas UTF-8 characters > > to ncurses, should'nt they be displayed correctly? > > > > -- > > Beno?t Minisini > > > > I never needed my terminal to be UTF-8 but now the need seems have come > up... ncurses can handle up to 8 bits per character so UTF-8 is going to > display humbug. ... or maybe not? The library uses some integer to store its 8-bit characters together with character attributes and stuff. If the terminal can assemble that together... Maybe you're right. I will anyway try it later. From gambas at ...2524... Wed Aug 22 16:08:46 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 22 Aug 2012 14:08:46 +0000 Subject: [Gambas-user] Issue 316 in gambas: DataView crash on doing something in the data event Message-ID: <0-6813199134517018827-15764203738138365253-gambas=googlecode.com@...2524...> Status: New Owner: gambas... at ...626... Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 316 by gambas... at ...626...: DataView crash on doing something in the data event http://code.google.com/p/gambas/issues/detail?id=316 1) Describe the problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): It's in the title Version: TRUNK Revision: r5069 (if you use a development version) Operating system: Linux Distribution: ArchLinux Architecture:x86_64 GUI component: QT Desktop used: KDE 3) Provide a little project that reproduces the bug or the crash. OK 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. run the project ... the base is in the project ... but you can use any database 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: BUGDataGrid-0.0.1.tar.gz 5.1 KB From john.aaron.rose at ...626... Wed Aug 22 16:24:41 2012 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 22 Aug 2012 15:24:41 +0100 Subject: [Gambas-user] Using DataBrowser for a table which Message-ID: <1345645481.2494.46.camel@...2811...> 1) You must embed the DataSource on "centre" inside a DataSource on "country" which points at the current country. 2) The name of the country primary key must be the same in all tables, so that Gambas automatically detects them. Thanks, Benoit. I understand a little better. Now I have: the Primary Key for the country table as country_id, country_id for the Foreign Key (to the country table) in the centre table. DataBrowserCentre embedded in DataSourceCentre which is embedded in DataSourceCountry, DataSourceCountry.Filter as "country_id = " & CountryId, DataSourceCentre.Filter as "country_id = " & CountryId), (where CountryId is a variable containing the appropriate value). I've started with a new database (i.e. all tables are empty of data). The relevant code for the button to start Centre Maintenance is: Public Sub ButtonCentreMaintenance_Click() Dim hForm As FCentreMaintenance Print "CountryId=", CountryId hform = New FCentreMaintenance hForm.TextBoxCountry.Text = Country hForm.TextBoxCountryId.Text = CountryId hForm.DataSourceCountry.Connection = MDatabase.DatabaseConnection hForm.DataSourceCountry.Table = "country" hForm.DataSourceCountry.Filter = "country_id = " & CountryId Print "hForm.DataSourceCountry.Filter = ", hForm.DataSourceCountry.Filter hForm.DataSourceCountry.Update() hForm.DataSourceCentre.Connection = MDatabase.DatabaseConnection hForm.DataSourceCentre.Table = "centre" hForm.DataSourceCentre.Filter = "country_id = " & CountryId Print "hForm.DataSourceCentre.Filter = ", hForm.DataSourceCentre.Filter hForm.DataSourceCentre.Update() hForm.Refresh() hForm.DataBrowserCentre.Columns = ["centre", "country_id"] hForm.DataBrowserCentre.Labels = ["Centre", "CountryId"] hForm.DataBrowserCentre.Editable = True hForm.DataBrowserCentre.Update() hForm.DataBrowserCentre.SetFocus() hForm.Show() End I have code for opening the form to do Centre maintenance; Public Sub Form_Open() Print "FCentreMaintenance form opens" FMain.Hide() Me.Center() Print "FMain.ClearComboBoxCentre starting" FMain.ClearComboBoxCentre() FMain.ClearComboBoxLocation() Print "FMain.ClearComboBoxCentre finished" End However, I'm now getting an "Out of Bounds". The console is shown below. I can see that the form open code is finishing as normal. Any ideas on how to debug this? CountryId= 1 hForm.DataSourceCountry.Filter = country_id = 1 hForm.DataSourceCentre.Filter = country_id = 1 FCentreMaintenance form opens FMain.ClearComboBoxCentre finished From support at ...2529... Wed Aug 22 19:05:02 2012 From: support at ...2529... (John Spikowski) Date: Wed, 22 Aug 2012 10:05:02 -0700 Subject: [Gambas-user] Gambas for Android In-Reply-To: References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> <4F84BCB4.5010103@...626...> <5034972A.6020104@...1887...> Message-ID: <1345655102.3279.15.camel@...1833...> On Wed, 2012-08-22 at 10:38 +0200, Girard Henri wrote: > Le 22. 08. 12 10:24, Kevin Fishburne a ?crit : > > On 08/20/2012 05:05 PM, cfb95 wrote: > >> Well, > >> as Linux distro can run on android, > >> Gambas must be work also! > >> may be no need to port! > >> > >> i've run a very simple console program (gambas2) > >> on my motorola xoom, and it work! 8-) > >> > >> The graphic front end of gamas2 not work on my tablet due to a bug > >> (in gbx_math.c pow and powl when compiled for ARM). > >> this bug is fixed in Gambas3 as it not use long double at all. > >> > >> For running a linux distro on android someone have found the key: chroot!!! > >> > >> i've used this info: > >> http://trsohmers.com/2011/03/06/how-to-run-ubuntu-on-the-motorola-xoom/ > >> > >> with this method, we have android and linux running at the same time over same > >> kernel and sharing devices. > > If Gambas 3 and component libraries could run on Android then Gambas > > would become the language of choice for Android developers, hands down. > As cyanogen (android 4) works fine on hptouchpad then gambas3 could run > on hptouchpad too ! > I tried to get Gambas 3 running on Ubuntu 12.04 LTS ARM as a chroot image hosted by Android Linux. The auto* tools need to be built from scratch as their not available from repositories. Qt may be a problem and the MySQL server install is a mess. There is progress with a X11 client for Android on Play but I don't think it's mature enough to support Gtk or Qt. I think this is a worthy challenge and when all the planets align, Gambas should be a star. From gambas at ...1... Wed Aug 22 19:07:32 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 22 Aug 2012 19:07:32 +0200 Subject: [Gambas-user] Gambas for Android In-Reply-To: <1345655102.3279.15.camel@...1833...> References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> <4F84BCB4.5010103@...626...> <5034972A.6020104@...1887...> <1345655102.3279.15.camel@...1833...> Message-ID: <503511D4.4090909@...1...> Le 22/08/2012 19:05, John Spikowski a ?crit : > On Wed, 2012-08-22 at 10:38 +0200, Girard Henri wrote: >> Le 22. 08. 12 10:24, Kevin Fishburne a ?crit : >>> On 08/20/2012 05:05 PM, cfb95 wrote: >>>> Well, >>>> as Linux distro can run on android, >>>> Gambas must be work also! >>>> may be no need to port! >>>> >>>> i've run a very simple console program (gambas2) >>>> on my motorola xoom, and it work! 8-) >>>> >>>> The graphic front end of gamas2 not work on my tablet due to a bug >>>> (in gbx_math.c pow and powl when compiled for ARM). >>>> this bug is fixed in Gambas3 as it not use long double at all. >>>> >>>> For running a linux distro on android someone have found the key: chroot!!! >>>> >>>> i've used this info: >>>> http://trsohmers.com/2011/03/06/how-to-run-ubuntu-on-the-motorola-xoom/ >>>> >>>> with this method, we have android and linux running at the same time over same >>>> kernel and sharing devices. >>> If Gambas 3 and component libraries could run on Android then Gambas >>> would become the language of choice for Android developers, hands down. >> As cyanogen (android 4) works fine on hptouchpad then gambas3 could run >> on hptouchpad too ! >> > > I tried to get Gambas 3 running on Ubuntu 12.04 LTS ARM as a chroot > image hosted by Android Linux. The auto* tools need to be built from > scratch as their not available from repositories. Qt may be a problem > and the MySQL server install is a mess. > > There is progress with a X11 client for Android on Play but I don't > think it's mature enough to support Gtk or Qt. > > I think this is a worthy challenge and when all the planets align, > Gambas should be a star. > I don't understand why I had no problem with compiling Gambas on Debian/RaspberryPI and you have problems to compile Gambas on Ubuntu which is based on Debian. Or not? -- Beno?t Minisini From support at ...2529... Wed Aug 22 19:21:51 2012 From: support at ...2529... (John Spikowski) Date: Wed, 22 Aug 2012 10:21:51 -0700 Subject: [Gambas-user] Gambas for Android In-Reply-To: <503511D4.4090909@...1...> References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> <4F84BCB4.5010103@...626...> <5034972A.6020104@...1887...> <1345655102.3279.15.camel@...1833...> <503511D4.4090909@...1...> Message-ID: <1345656111.3279.16.camel@...1833...> On Wed, 2012-08-22 at 19:07 +0200, Beno?t Minisini wrote: > I don't understand why I had no problem with compiling Gambas on > Debian/RaspberryPI and you have problems to compile Gambas on Ubuntu > which is based on Debian. Or not? > Don't shoot the messenger. ;-) From john.aaron.rose at ...626... Wed Aug 22 20:07:22 2012 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 22 Aug 2012 19:07:22 +0100 Subject: [Gambas-user] Using DataBrowser for a table which Message-ID: <1345658842.2213.14.camel@...2811...> This gets ever more mysterious. The 'Out of Bounds' error has now gone. However, I'm back to the original problem, namely (even with Benoit's instructions): I select a country of France. I click Centre Maintenance button. I click (on the displayed FCentreMaintenance form) the New icon (within DataBrowserCentre). I enter Paris (for Centre) and 1 (for Country Id, though I don't think that I should have to as the Save action should know about the Foreign Key from the centre table to the country table). I click the Save icon (within DataBrowserCentre). The window does not show the added Paris row. I then Exit the FCentreMaintenance form. I return to the FCentreMaintenance form and it still does not show the added Rome row. I check the centre table using SQLite Manager and the Paris row is there but with country_id set null/blank. Screenshots showing the above are in the attached file. Now I have: the Primary Key for the country table as country_id, country_id for the Foreign Key (to the country table) in the centre table. DataBrowserCentre embedded in DataSourceCentre which is embedded in DataSourceCountry, DataSourceCountry.Filter as "country_id = " & CountryId, DataSourceCentre.Filter as "country_id = " & CountryId), (where CountryId is a variable containing the appropriate value). Database table 'Creates' are: Create Table country (country_id Integer Primary Key AutoIncrement, country Text Not Null); Create Table centre (_id Integer Primary Key AutoIncrement, centre Text Not Null, country_id Integer, Foreign Key (country_id) References country (country_id) On Delete Cascade On Update Cascade); Code for starting the FCentreMaintenance form: Public Sub ButtonCentreMaintenance_Click() Dim hForm As FCentreMaintenance Print "Country=", Country Print "CountryId=", CountryId hform = New FCentreMaintenance hForm.TextBoxCountry.Text = Country hForm.TextBoxCountryId.Text = CountryId hForm.DataSourceCountry.Connection = MDatabase.DatabaseConnection hForm.DataSourceCountry.Table = "country" hForm.DataSourceCountry.Filter = "country_id = " & CountryId Print "hForm.DataSourceCountry.Filter = ", hForm.DataSourceCountry.Filter hForm.DataSourceCountry.Update() hForm.DataSourceCentre.Connection = MDatabase.DatabaseConnection hForm.DataSourceCentre.Table = "centre" hForm.DataSourceCentre.Filter = "country_id = " & CountryId Print "hForm.DataSourceCentre.Filter = ", hForm.DataSourceCentre.Filter hForm.DataSourceCentre.Update() hForm.DataBrowserCentre.Columns = ["centre", "country_id"] hForm.DataBrowserCentre.Labels = ["Centre", "CountryId"] hForm.DataBrowserCentre.Editable = True hForm.DataBrowserCentre.Refresh hForm.DataBrowserCentre.SetFocus() Print "FCentreMaintenance form about to Show" hForm.Show() End# Screenshot of the FCentreMaintenance form is th elast screenshot of the attached file. -------------- next part -------------- A non-text attachment was scrubbed... Name: DataBrowser.tar.bz2 Type: application/x-bzip-compressed-tar Size: 130661 bytes Desc: not available URL: From willy at ...2734... Wed Aug 22 18:22:17 2012 From: willy at ...2734... (Willy Raets) Date: Wed, 22 Aug 2012 18:22:17 +0200 Subject: [Gambas-user] Revision 5065 doesn't install my Ubuntu 10.04 LTS In-Reply-To: <1345580456.2509.8.camel@...2735...> References: <1345580456.2509.8.camel@...2735...> Message-ID: <1345652537.2233.15.camel@...2735...> On di, 2012-08-21 at 22:20 +0200, Willy Raets wrote: > Some help is appreciated > > Willy Nevermind I solved it by completely removing trunk and doing a new svn checkout. After that I got Gambas3 (revision #5069) running on my Ubuntu 10.04 LTS, Gnome 2 I do notice the Gambas GUI being a bit blurry. Upon typing gambas3 in terminal I get: QFont::setPointSize: Point size <=0 (0), must be greater than 0 This seems related to the blurry look to me. Any suggestions? Willy From willy at ...2734... Wed Aug 22 22:27:02 2012 From: willy at ...2734... (Willy Raets) Date: Wed, 22 Aug 2012 22:27:02 +0200 Subject: [Gambas-user] Gambas3 Libraries problem -> Gambas 3 bug or OS distro related? In-Reply-To: <1345545086.2120.10.camel@...2735...> References: <1345472740.3601.19.camel@...2735...> <5032DF33.2020609@...1...> <1345545086.2120.10.camel@...2735...> Message-ID: <1345667222.2137.5.camel@...2735...> > > OK, the bug should be fixed in revision #5061. > > > > The rule is actually the following: > > - Normal project executables are installed *without* the '.gambas' > > extension. > > - Library project executables are installed *with* the '.gambas' extension. > > > > It was not implemented correctly. 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 > > > > Note that the 'Autotools' packager is out-of-date and needs some work to > > support all that library stuff. But all other packagers should work as > > expected. > > > > Tell me if it is ok for you! It is ok for me :-) > > > > Regards, > > > Thanks Beno?t, Thanks again, Willy From taboege at ...626... Wed Aug 22 23:38:32 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 22 Aug 2012 23:38:32 +0200 Subject: [Gambas-user] Bug in gb.ncurses component with non-ASCII characters In-Reply-To: <5034DD8B.4080207@...1...> References: <20120822131013.GA1086@...2774...> <5034DD8B.4080207@...1...> Message-ID: <20120822213832.GA501@...2774...> On Wed, 22 Aug 2012, Beno?t Minisini wrote: > Le 22/08/2012 15:10, Tobias Boege a ?crit : > > On Tue, 21 Aug 2012, William Cabrera wrote: > >> Hi, when i print a text using print or printcenter function, the non-ASCII > >> characters are not displayed correctly. > >> > >> For example, when i run > >> > >> $hWin.Printcenter("??, ??, ??, ??, ??, ??, ??") > >> > >> The output is > >> > >> M-CM-!, M-CM-), M-CM-, M-CM-3, M-CM:, M-CM-1, M-CM-< > >> > > > > Hi William, > > > > ncurses is not aware of wide characters and the ones you tried to print look > > very wide. However, there is ncursesw which can do such things - according > > to the manpage. It would theoretically not be a problem to change to > > ncursesw but CDK, an ncurses widget libary, which I will use to implement > > controls is, in turn, incompatible with ncursesw... > > I'm sorry, apart from writing all controls myself, I couldn't do anything > > which means: I cannot do anything. But we can hope for CDK to become > > ncursesw-compatible which is a declared and urgent goal of the developer... > > > > Regards, > > Tobi > > > > If your terminal is UTF-8, and if you send the Gambas UTF-8 characters > to ncurses, should'nt they be displayed correctly? > > -- > Beno?t Minisini You were right. I succeeded in printing some german umlauts (grr, horrible english plural form!) using Window.PrintCenter() in linux console. (Sorry, I thought I already sent this mail out this evening...) Regards, Tobi From gambas at ...1... Thu Aug 23 00:15:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 23 Aug 2012 00:15:12 +0200 Subject: [Gambas-user] Using DataBrowser for a table which In-Reply-To: <1345658842.2213.14.camel@...2811...> References: <1345658842.2213.14.camel@...2811...> Message-ID: <503559F0.1060907@...1...> Le 22/08/2012 20:07, John Rose a ?crit : > This gets ever more mysterious. The 'Out of Bounds' error has now gone. > However, I'm back to the original problem, namely (even with Benoit's > instructions): > ... I think I have a simpler solution for you. In revision #5070, I added a new event to the DataSource object: "BeforeSave". This event is raised just before the DataSource writes the current record to the database. And the BeforeSave event handler receives as argument the record, so that you can modify it just before saving it. That way, you will be able to define the current country automatically. By the way, I fixed two or three bugs in the behaviour of DataView and DataBrowser. Tell me if it works for you. Regards, -- Beno?t Minisini From sebikul at ...626... Thu Aug 23 03:30:38 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 22 Aug 2012 22:30:38 -0300 Subject: [Gambas-user] Updated Spanish translation In-Reply-To: <5023916D.7090707@...1...> References: <5010FAD4.4010808@...1...> <5023916D.7090707@...1...> Message-ID: On Thu, Aug 9, 2012 at 7:31 AM, Beno?t Minisini wrote: > Le 09/08/2012 03:41, Sebastian Kulesz a ?crit : >> >> Updated translation, 100% complete!!! >> > > Thanks. > > Do you have a sourceforge account so that I can grant you a write access > to the subversion repository? > > That way you will be able to commit your translation directly. > >> I think the translation form should display spaces at the end of a >> line with a middle-dot and newlines with the intro symbol (if >> possible), so that formatting is kept untouched. Would this be >> possible to implement? > > I understand the need for seeing trailing spaces, but not for newlines. > A newline in a translation string should be printed as "\n". > > -- > 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 Hi! Here is an updated translation, it contains the latest changes and a couple of fixes. I do have a sourceforge account, but i don't think it's necessary as i'm only submitting translations atm. Anyway, it's sebikul, same as my gmail username. -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3-es-3.2.90.po Type: application/octet-stream Size: 137626 bytes Desc: not available URL: From gambas at ...1... Thu Aug 23 09:14:10 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 23 Aug 2012 09:14:10 +0200 Subject: [Gambas-user] Updated Spanish translation In-Reply-To: References: <5010FAD4.4010808@...1...> <5023916D.7090707@...1...> Message-ID: <5035D842.1090004@...1...> Le 23/08/2012 03:30, Sebastian Kulesz a ?crit : > > Hi! Here is an updated translation, it contains the latest changes and > a couple of fixes. > Thanks. Do you know that components written in Gambas need to be translated too? > I do have a sourceforge account, but i don't think it's necessary as > i'm only submitting translations atm. Anyway, it's sebikul, same as my > gmail username. > It's just that if you don't do the commit, I have to do it myself, and it's a waste of time: instead of doing the translation, and then type "svn commit", entering a little log and a password, you have to do the translation, save it, send it to me by mail, and then I have to save the translation, import it in the IDE, and then do the commit, etc. I will grant you a svn write access. That way you will be able to do the translation directly! Regards, -- Beno?t Minisini From ihaywood at ...1979... Thu Aug 23 09:26:01 2012 From: ihaywood at ...1979... (Ian Haywood) Date: Thu, 23 Aug 2012 17:26:01 +1000 Subject: [Gambas-user] Gambas for Android In-Reply-To: <503511D4.4090909@...1...> References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> <4F84BCB4.5010103@...626...> <5034972A.6020104@...1887...> <1345655102.3279.15.camel@...1833...> <503511D4.4090909@...1...> Message-ID: On Thu, Aug 23, 2012 at 3:07 AM, Beno?t Minisini wrote: > I don't understand why I had no problem with compiling Gambas on > Debian/RaspberryPI and you have problems to compile Gambas on Ubuntu > which is based on Debian. Or not? android is not based on Debian. It has a heavily-patched linux kernel and that's about where the connection with linux as we know it stops. The runtime is totally different: no standard C library, no X, etc. I think graphics is only available through their Java-based layer so even if you could get Gambas C++ code to compile to ARM you can't take Qt/GTK with you: so no graphics. Plus no package management system as we know it: so users would have to manually download and install gambas, then download and install whatever application. I suspect the only real solution is cross-compiling: i.e, turning Gambas code into the "dalvik" bytecode instead of gambas bytecode, plus reimplementing all the Gambas graphics and system APIs to the Android APIs. Doable, but a crapload of work (basically a full rewrite of gambas) I suspect it would be faster to wait for Ubuntu-based tablets and phones which apparently are coming out "soon" :-) Ian From afroehlke at ...784... Thu Aug 23 11:32:18 2012 From: afroehlke at ...784... (=?iso-8859-1?Q?Andreas_Fr=F6hlke?=) Date: Thu, 23 Aug 2012 11:32:18 +0200 Subject: [Gambas-user] WG: incompatibility problems with gambas3 Message-ID: <8D42310D957CFB46AA11921A711D4D16059E5C8CA6@...1899...> Hi, We have found out that gambas3 incompatibility problems has. If we compile a project with gambas 3.2.1 it cannot be started with gambas 3.1.1. Is that intentional? It would be nice if gambas3 backward compatible within the version 3 could be. Regards -- Andreas From support at ...2529... Thu Aug 23 12:02:10 2012 From: support at ...2529... (John Spikowski) Date: Thu, 23 Aug 2012 03:02:10 -0700 Subject: [Gambas-user] Gambas for Android In-Reply-To: References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> <4F84BCB4.5010103@...626...> <5034972A.6020104@...1887...> <1345655102.3279.15.camel@...1833...> <503511D4.4090909@...1...> Message-ID: <1345716130.5051.5.camel@...1833...> On Thu, 2012-08-23 at 17:26 +1000, Ian Haywood wrote: > On Thu, Aug 23, 2012 at 3:07 AM, Beno?t Minisini > wrote: > > > I don't understand why I had no problem with compiling Gambas on > > Debian/RaspberryPI and you have problems to compile Gambas on Ubuntu > > which is based on Debian. Or not? > android is not based on Debian. It has a heavily-patched linux kernel > and that's about where the connection with linux as we know it stops. > The runtime is totally different: no standard C library, no X, etc. I > think graphics is only available through their Java-based layer > so even if you could get Gambas C++ code to compile to ARM you can't > take Qt/GTK with you: so no graphics. > > Plus no package management system as we know it: so users would have > to manually download and install gambas, then download and install > whatever application. > > I suspect the only real solution is cross-compiling: i.e, turning > Gambas code into the "dalvik" bytecode instead of gambas bytecode, > plus reimplementing all the Gambas graphics and system APIs to the > Android APIs. Doable, but a crapload of work (basically a full rewrite > of gambas) > > I suspect it would be faster to wait for Ubuntu-based tablets and > phones which apparently are coming out "soon" :-) > > Ian With my attempt, Android Linux was only a host for my chroot Ubuntu 12.04 LTS ARM image that I was trying to compile Gambas 3 with. X11 services were provided by a Android VNC client. I use a bluetooth mouse and keyboard which works great with both Android and Ubuntu ARM Linux. Here is a screen shot if your interested. http://files.allbasic.info/ScriptBasic/uxPC.png From john.aaron.rose at ...626... Thu Aug 23 12:07:56 2012 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 23 Aug 2012 11:07:56 +0100 Subject: [Gambas-user] Using DataBrowser for a table which Message-ID: <1345716476.2213.33.camel@...2811...> Benoit, I've just asked kendek to create new Ubuntu .debs in his pre-release Gambas Launchpad Ubuntu ppa repo for revision #5070: I don't like to compile a new version of Gambas3 myself as it seems to conflict with the installed version from kendek's ppa repo. When he has done his ppa update, I'll change my app to use the BeforeSave event handler. How do I define the current country's id value in it? My guess is something like (but not exactly that): DataSourceCentre.country_id = CountryId ' variable containing the ' foreign key value Should I still use DataBrowserCentre embedded in DataSourceCentre embedded in DataSourceCountry (i.e. do I need DataSourceCountry)? Do I still need the 'country_id = CountryId' filters in DataSourceCentre & in DataSourceCountry? From gambas.fr at ...626... Thu Aug 23 14:31:23 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 23 Aug 2012 14:31:23 +0200 Subject: [Gambas-user] WG: incompatibility problems with gambas3 In-Reply-To: <8D42310D957CFB46AA11921A711D4D16059E5C8CA6@...1899...> References: <8D42310D957CFB46AA11921A711D4D16059E5C8CA6@...1899...> Message-ID: 2012/8/23 Andreas Fr?hlke : > Hi, > > We have found out that gambas3 incompatibility problems has. If we compile a project with gambas 3.2.1 it cannot be started with gambas 3.1.1. Is that intentional? It would be nice if gambas3 backward compatible within the version 3 could be. > yes, Gambas 3.2 can run 3.1 compiled version but not the invert. Simply because of the improvement that have been done. Since Gambas 3 gambas is not backward compatible. > Regards > > -- > Andreas > > ------------------------------------------------------------------------------ > 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-us mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bill-lancaster at ...2231... Thu Aug 23 15:21:02 2012 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Thu, 23 Aug 2012 06:21:02 -0700 (PDT) Subject: [Gambas-user] How to convert blob to png file Message-ID: <34339336.post@...1379...> I have a database containing thumbnail images in a type blob field (mysql). Can someone help me to convert these to .png type files on disk? Thanks -- View this message in context: http://old.nabble.com/How-to-convert-blob-to-png-file-tp34339336p34339336.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Thu Aug 23 15:29:55 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 23 Aug 2012 15:29:55 +0200 Subject: [Gambas-user] How to convert blob to png file In-Reply-To: <34339336.post@...1379...> References: <34339336.post@...1379...> Message-ID: <20120823132955.GA756@...2774...> On Thu, 23 Aug 2012, Bill-Lancaster wrote: > > I have a database containing thumbnail images in a type blob field (mysql). > Can someone help me to convert these to .png type files on disk? > Thanks > -- > View this message in context: http://old.nabble.com/How-to-convert-blob-to-png-file-tp34339336p34339336.html > Sent from the gambas-user mailing list archive at Nabble.com. > You may want to look at the PictureDatabase example. It does exactly the same thing. Regards, Tobi From gambas at ...1... Thu Aug 23 15:36:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 23 Aug 2012 15:36:31 +0200 Subject: [Gambas-user] Using DataBrowser for a table which In-Reply-To: <1345716476.2213.33.camel@...2811...> References: <1345716476.2213.33.camel@...2811...> Message-ID: <503631DF.3090704@...1...> Le 23/08/2012 12:07, John Rose a ?crit : > Benoit, > > I've just asked kendek to create new Ubuntu .debs in his pre-release > Gambas Launchpad Ubuntu ppa repo for revision #5070: I don't like to > compile a new version of Gambas3 myself as it seems to conflict with the > installed version from kendek's ppa repo. When he has done his ppa > update, I'll change my app to use the BeforeSave event handler. How do I > define the current country's id value in it? My guess is something like > (but not exactly that): > DataSourceCentre.country_id = CountryId ' variable containing the > ' foreign key value > You will receive the Result object in an argument named "Data". So: Data["country_id"] = CountryId or Data!country_id = CountryId Just think that gb.db.form is entirely written in Gambas, so when he wrote a record to the database, it does something like that: rResult = DB.Create(...) or DB.Edit(...) ' some stuff that fills rResult Raise BeforeSave(rResult) rResult.Update > Should I still use DataBrowserCentre embedded in DataSourceCentre > embedded in DataSourceCountry (i.e. do I need DataSourceCountry)? No. > Do I > still need the 'country_id = CountryId' filters in DataSourceCentre & in > DataSourceCountry? It's independent. But I think so, as you want show only the DataSourceCentre of the current country, don't you? -- Beno?t Minisini From marcobra.ubuntu at ...626... Thu Aug 23 15:52:07 2012 From: marcobra.ubuntu at ...626... (marco bra) Date: Thu, 23 Aug 2012 15:52:07 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... Message-ID: Hi, here some graphic idea to dress in a different way (see the attached Gambas3_suggested_effects.png) the shadow effects... ( please see the attached Gambas3_now_effects.png) I hope is some good to have in a future implementation... What do you think ? Regards Marco -- Linux Infinite Freedom -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas3_now_effects.png Type: image/png Size: 80776 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas3_suggested_effects.png Type: image/png Size: 74421 bytes Desc: not available URL: From bill-lancaster at ...2231... Thu Aug 23 16:17:41 2012 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Thu, 23 Aug 2012 07:17:41 -0700 (PDT) Subject: [Gambas-user] How to convert blob to png file In-Reply-To: <34339336.post@...1379...> References: <34339336.post@...1379...> Message-ID: <34339568.post@...1379...> Yes, thanks. I've been looking at it but it takes a .png and records it as blob. I'm trying to do the reverse. But I'll continue to try to reverse the process. Thanks again. -- View this message in context: http://old.nabble.com/How-to-convert-blob-to-png-file-tp34339336p34339568.html Sent from the gambas-user mailing list archive at Nabble.com. From bill-lancaster at ...2231... Thu Aug 23 16:24:08 2012 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Thu, 23 Aug 2012 07:24:08 -0700 (PDT) Subject: [Gambas-user] How to convert blob to png file In-Reply-To: <34339568.post@...1379...> References: <34339336.post@...1379...> <34339568.post@...1379...> Message-ID: <34339602.post@...1379...> Ahh! I'd got a bit confused but have got now. Thanks again -- View this message in context: http://old.nabble.com/How-to-convert-blob-to-png-file-tp34339336p34339602.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Thu Aug 23 16:24:14 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 23 Aug 2012 16:24:14 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: References: Message-ID: +1 2012/8/23 marco bra : > Hi, > > here some graphic idea to dress in a different way (see the attached > Gambas3_suggested_effects.png) > the shadow effects... ( please see the attached Gambas3_now_effects.png) > > I hope is some good to have in a future implementation... > > What do you think ? > > Regards > > Marco > > -- > Linux Infinite Freedom > > ------------------------------------------------------------------------------ > 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 taboege at ...626... Thu Aug 23 16:23:48 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 23 Aug 2012 16:23:48 +0200 Subject: [Gambas-user] How to convert blob to png file In-Reply-To: <34339568.post@...1379...> References: <34339336.post@...1379...> <34339568.post@...1379...> Message-ID: <20120823142348.GB756@...2774...> On Thu, 23 Aug 2012, Bill-Lancaster wrote: > > Yes, thanks. > > I've been looking at it but it takes a .png and records it as blob. I'm > trying to do the reverse. > > But I'll continue to try to reverse the process. > > Thanks again. > -- > View this message in context: http://old.nabble.com/How-to-convert-blob-to-png-file-tp34339336p34339568.html > Sent from the gambas-user mailing list archive at Nabble.com. > It has also export functionality if you look at FormPictureDatabase.class:165, there is Result!Blob.Data directly written to a .png file. Regards, Tobi From gambas at ...1... Thu Aug 23 17:04:12 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 23 Aug 2012 17:04:12 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: References: Message-ID: <5036466C.9060309@...1...> Le 23/08/2012 15:52, marco bra a ?crit : > Hi, > > here some graphic idea to dress in a different way (see the attached > Gambas3_suggested_effects.png) > the shadow effects... ( please see the attached Gambas3_now_effects.png) > > I hope is some good to have in a future implementation... > > What do you think ? > > Regards > > Marco > The shadow is smaller, that's it? -- Beno?t Minisini From marcobra.ubuntu at ...626... Thu Aug 23 17:13:27 2012 From: marcobra.ubuntu at ...626... (marco bra) Date: Thu, 23 Aug 2012 17:13:27 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: <5036466C.9060309@...1...> References: <5036466C.9060309@...1...> Message-ID: 2012/8/23 Beno?t Minisini > Le 23/08/2012 15:52, marco bra a ?crit : > > Hi, > > > > here some graphic idea to dress in a different way (see the attached > > Gambas3_suggested_effects.png) > > the shadow effects... ( please see the attached Gambas3_now_effects.png) > > > > I hope is some good to have in a future implementation... > > > > What do you think ? > > > > Regards > > > > Marco > > > > The shadow is smaller, that's it? > > The shadow is 3/4 pixel width and in this graphic is not applied to external area, i mean not on the record number then is not applied to the bottom and left side... to not create a button like effect in the area with no grid i also made all the canvas little bit dark is like the dark part of the shadow still to not create a not wanted raised button like effect. Thanks. From wally at ...2037... Thu Aug 23 20:25:21 2012 From: wally at ...2037... (wally) Date: Thu, 23 Aug 2012 20:25:21 +0200 Subject: [Gambas-user] gb.ncurses project ? Message-ID: <1480965.h0qIuzBZQu@...46...> Does anyone have a gb.ncurses project, just to learn elementary usage ? thx wally From gambas at ...1... Thu Aug 23 21:52:49 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 23 Aug 2012 21:52:49 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: References: <5036466C.9060309@...1...> Message-ID: <50368A11.70102@...1...> Le 23/08/2012 17:13, marco bra a ?crit : > 2012/8/23 Beno?t Minisini > >> Le 23/08/2012 15:52, marco bra a ?crit : >>> Hi, >>> >>> here some graphic idea to dress in a different way (see the attached >>> Gambas3_suggested_effects.png) >>> the shadow effects... ( please see the attached Gambas3_now_effects.png) >>> >>> I hope is some good to have in a future implementation... >>> >>> What do you think ? >>> >>> Regards >>> >>> Marco >>> >> >> The shadow is smaller, that's it? >> >> > The shadow is 3/4 pixel width and in this graphic is not applied to > external area, i mean not on the record number then is not applied to the > bottom and left side... to not create a button like effect in the area with > no grid i also made all the canvas little bit dark is like the dark part of > the shadow still to not create a not wanted raised button like effect. > > Thanks. Is the revision #5072 better for you? -- Beno?t Minisini From rterry at ...1823... Fri Aug 24 00:03:55 2012 From: rterry at ...1823... (Richard Terry) Date: Fri, 24 Aug 2012 08:03:55 +1000 Subject: [Gambas-user] How to convert blob to png file In-Reply-To: <34339336.post@...1379...> References: <34339336.post@...1379...> Message-ID: <5036A8CB.20206@...1823...> Bill-Lancaster wrote: > I have a database containing thumbnail images in a type blob field (mysql). > Can someone help me to convert these to .png type files on disk? > Thanks > Bill, this may/may not work for you, I'm using postgres, It's probably crap code as I'm not much of a programmer, but this is what I use. If you were smart there is probably a one-liner - maybe whoever replies with a real solution I can update my code! Public Function Image_get(pk_image As Integer, Optional bHas_MD5Sum As Boolean = False) As String '-------------------------------------------------------------------------------------------------------------------------------------------- 'Gets an image from the backend returns the filename 'pk_image = key to the blobs.images table 'all progress note/procedures images will have an md5sum, not so patient pictures '-------------------------------------------------------------------------------------------------------------------------------------------- Dim $Result As Result Dim tempFile As String Dim tempPicture As Variant Dim sql As String = "Select * from blobs.images WHERE pk=" & pk_image If bHas_MD5Sum Then sql &= " AND md5sum is not null" Endif $Result = modDBConnect.exec_query(sql) '** YOU WON'T USE THIS - USE YOUR OWN CODE If $Result.count Then tempFile = Temp() & ".png" tempPicture = $Result!image If tempPicture.data Then File.Save(tempFile, tempPicture.data) End If End If Return tempFile End REgards richard From karl.reinl at ...9... Fri Aug 24 00:09:29 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 24 Aug 2012 00:09:29 +0200 Subject: [Gambas-user] The program has returned the value: 127 Message-ID: <1345759769.2161.9.camel@...40...> Salut, I open the IDE, create a new project and when I start it (F5) it get : The program has returned the value: 127 any clue ? -- Amicalement Charlie [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.2.90 rev. 5073 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: Bildschirmfoto-Namenloses Fenster.png Type: image/png Size: 9788 bytes Desc: not available URL: From vuott at ...325... Fri Aug 24 00:32:07 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 23 Aug 2012 23:32:07 +0100 (BST) Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal Message-ID: <1345761127.59870.YahooMailClassic@...2789...> Hello, I installed Ubuntu 12.10 Quantal. So, I'ld like to install Gambas-3 (and future updates) from SVN. But I didn't find packets for this Ubuntu version. In official site there are only packets for Ubuntu precise: 12.04. How can I do... ? regards vuotttttt From sebikul at ...626... Fri Aug 24 00:36:23 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 23 Aug 2012 19:36:23 -0300 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: <1345761127.59870.YahooMailClassic@...2789...> References: <1345761127.59870.YahooMailClassic@...2789...> Message-ID: On Thu, Aug 23, 2012 at 7:32 PM, Ru Vuott wrote: > Hello, > > I installed Ubuntu 12.10 Quantal. > > So, I'ld like to install Gambas-3 (and future updates) from SVN. But I didn't find packets for this Ubuntu version. In official site there are only packets for Ubuntu precise: 12.04. > > How can I do... ? > > regards > vuotttttt > > ------------------------------------------------------------------------------ > 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 You can use the alternative PPA [0] which is built daily using the latest svn revision. Instructions can be found here [1] [0] https://launchpad.net/~sebikul/+archive/gambas-daily [1] http://gambasdoc.org/help/install/ubuntu?v3 From vuott at ...325... Fri Aug 24 00:45:31 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 23 Aug 2012 23:45:31 +0100 (BST) Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: Message-ID: <1345761931.31159.YahooMailClassic@...2780...> Thank you, Sebastian. I added your PPA.... but, excuse me for my ignorance, now what have I do to install Gambas-3 ? Vuott --- Ven 24/8/12, Sebastian Kulesz ha scritto: > Da: Sebastian Kulesz > Oggetto: Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal > A: "mailing list for gambas users" > Data: Venerd? 24 agosto 2012, 00:36 > On Thu, Aug 23, 2012 at 7:32 PM, Ru > Vuott > wrote: > > Hello, > > > > I installed Ubuntu 12.10 Quantal. > > > > So, I'ld like to install Gambas-3 (and future updates) > from SVN. But I didn't find packets for this Ubuntu version. > In official site there are only packets for Ubuntu precise: > 12.04. > > > > How can I do... ? > > > > regards > > vuotttttt > > > > > ------------------------------------------------------------------------------ > > 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 > > You can use the alternative PPA [0] which is built daily > using the > latest svn revision. Instructions can be found here [1] > > [0] https://launchpad.net/~sebikul/+archive/gambas-daily > > [1] http://gambasdoc.org/help/install/ubuntu?v3 > > ------------------------------------------------------------------------------ > 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 sebikul at ...626... Fri Aug 24 00:47:39 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 23 Aug 2012 19:47:39 -0300 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: <1345761931.31159.YahooMailClassic@...2780...> References: <1345761931.31159.YahooMailClassic@...2780...> Message-ID: On Thu, Aug 23, 2012 at 7:45 PM, Ru Vuott wrote: > Thank you, Sebastian. > > I added your PPA.... but, excuse me for my ignorance, now what have I do to install Gambas-3 ? > > Vuott > > > > > > > > --- Ven 24/8/12, Sebastian Kulesz ha scritto: > >> Da: Sebastian Kulesz >> Oggetto: Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal >> A: "mailing list for gambas users" >> Data: Venerd? 24 agosto 2012, 00:36 >> On Thu, Aug 23, 2012 at 7:32 PM, Ru >> Vuott >> wrote: >> > Hello, >> > >> > I installed Ubuntu 12.10 Quantal. >> > >> > So, I'ld like to install Gambas-3 (and future updates) >> from SVN. But I didn't find packets for this Ubuntu version. >> In official site there are only packets for Ubuntu precise: >> 12.04. >> > >> > How can I do... ? >> > >> > regards >> > vuotttttt >> > >> > >> ------------------------------------------------------------------------------ >> > 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 >> >> You can use the alternative PPA [0] which is built daily >> using the >> latest svn revision. Instructions can be found here [1] >> >> [0] https://launchpad.net/~sebikul/+archive/gambas-daily >> >> [1] http://gambasdoc.org/help/install/ubuntu?v3 >> >> ------------------------------------------------------------------------------ >> 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 sudo apt-get install gambas3 ...? From vuott at ...325... Fri Aug 24 00:56:09 2012 From: vuott at ...325... (Ru Vuott) Date: Thu, 23 Aug 2012 23:56:09 +0100 (BST) Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: Message-ID: <1345762569.81477.YahooMailClassic@...2695...> Oh, yes ! OK ! Another question, please, so, with this your alternative, if I'll want update my Gambas-3 in the future, I'll have to use always and only that comman line: sudo apt-get install gambas3 ? --- Ven 24/8/12, Sebastian Kulesz ha scritto: > Da: Sebastian Kulesz > Oggetto: Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal > A: "mailing list for gambas users" > Data: Venerd? 24 agosto 2012, 00:47 > On Thu, Aug 23, 2012 at 7:45 PM, Ru > Vuott > wrote: > > Thank you, Sebastian. > > > > I added your PPA.... but, excuse me for my ignorance, > now what have I do to install Gambas-3 ? > > > > Vuott > > > > > > > > > > > > > > > > --- Ven 24/8/12, Sebastian Kulesz > ha scritto: > > > >> Da: Sebastian Kulesz > >> Oggetto: Re: [Gambas-user] Gambas-3 & Ubuntu > 12.10 Quantal > >> A: "mailing list for gambas users" > >> Data: Venerd? 24 agosto 2012, 00:36 > >> On Thu, Aug 23, 2012 at 7:32 PM, Ru > >> Vuott > >> wrote: > >> > Hello, > >> > > >> > I installed Ubuntu 12.10 Quantal. > >> > > >> > So, I'ld like to install Gambas-3 (and future > updates) > >> from SVN. But I didn't find packets for this Ubuntu > version. > >> In official site there are only packets for Ubuntu > precise: > >> 12.04. > >> > > >> > How can I do... ? > >> > > >> > regards > >> > vuotttttt > >> > > >> > > >> > ------------------------------------------------------------------------------ > >> > 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 > >> > >> You can use the alternative PPA [0] which is built > daily > >> using the > >> latest svn revision. Instructions can be found here > [1] > >> > >> [0] https://launchpad.net/~sebikul/+archive/gambas-daily > >> > >> [1] http://gambasdoc.org/help/install/ubuntu?v3 > >> > >> > ------------------------------------------------------------------------------ > >> 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 > > sudo apt-get install gambas3? ? ...? > > ------------------------------------------------------------------------------ > 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 Aug 24 01:44:02 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Aug 2012 01:44:02 +0200 Subject: [Gambas-user] The program has returned the value: 127 In-Reply-To: <1345759769.2161.9.camel@...40...> References: <1345759769.2161.9.camel@...40...> Message-ID: <5036C042.1040005@...1...> Le 24/08/2012 00:09, Karl Reinl a ?crit : > Salut, > > I open the IDE, create a new project and when I start it (F5) it get : > > The program has returned the value: 127 > > any clue ? > > Without more information and the resulting project, no clue. -- Beno?t Minisini From cabrerawilliam at ...626... Fri Aug 24 03:28:00 2012 From: cabrerawilliam at ...626... (William Cabrera) Date: Thu, 23 Aug 2012 20:58:00 -0430 Subject: [Gambas-user] gb.ncurses project ? In-Reply-To: <1480965.h0qIuzBZQu@...46...> References: <1480965.h0qIuzBZQu@...46...> Message-ID: Hi, i made this a little experiment, a media player based in mplayer. it is not yet finished, but works. http://www.mediafire.com/?u4xthsuli4xek2m This might be useful. ------ William Cabrera http://willicab.gnu.org.ve 2012/8/23 wally > Does anyone have a gb.ncurses project, just to learn elementary usage ? > > thx wally > > > ------------------------------------------------------------------------------ > 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... Fri Aug 24 04:24:59 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 24 Aug 2012 02:24:59 +0000 Subject: [Gambas-user] Issue 316 in gambas: DataView crash on doing something in the data event In-Reply-To: <0-6813199134517018827-15764203738138365253-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15764203738138365253-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15764203738138365253-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 316 by benoit.m... at ...626...: DataView crash on doing something in the data event http://code.google.com/p/gambas/issues/detail?id=316 (No comment was entered for this change.) From gambas at ...2524... Fri Aug 24 04:29:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 24 Aug 2012 02:29:22 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. In-Reply-To: <2-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #3 on issue 301 by benoit.m... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 I think I may have understood what you are talking about. The Handle property of *Control* objects returns the internal X11 Window id associated with the control. But now most of Qt4 and GTK+ widgets do not use their own windows, so most of the time they return the same value. If this is not what you are talking about, please explain. From gambas at ...2524... Fri Aug 24 04:30:22 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 24 Aug 2012 02:30:22 +0000 Subject: [Gambas-user] Issue 311 in gambas: Object.GetProperty is mangling objects In-Reply-To: <4-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> <0-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-9397172027855711887-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 311 by benoit.m... at ...626...: Object.GetProperty is mangling objects http://code.google.com/p/gambas/issues/detail?id=311 (No comment was entered for this change.) From sebikul at ...626... Fri Aug 24 04:32:19 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 23 Aug 2012 23:32:19 -0300 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: <1345762569.81477.YahooMailClassic@...2695...> References: <1345762569.81477.YahooMailClassic@...2695...> Message-ID: On Thu, Aug 23, 2012 at 7:56 PM, Ru Vuott wrote: > Oh, yes ! OK ! > > > Another question, please, so, with this your alternative, if I'll want update my Gambas-3 in the future, I'll have to use always and only that comman line: sudo apt-get install gambas3 ? > > > > > --- Ven 24/8/12, Sebastian Kulesz ha scritto: > >> Da: Sebastian Kulesz >> Oggetto: Re: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal >> A: "mailing list for gambas users" >> Data: Venerd? 24 agosto 2012, 00:47 >> On Thu, Aug 23, 2012 at 7:45 PM, Ru >> Vuott >> wrote: >> > Thank you, Sebastian. >> > >> > I added your PPA.... but, excuse me for my ignorance, >> now what have I do to install Gambas-3 ? >> > >> > Vuott >> > >> > >> > >> > >> > >> > >> > >> > --- Ven 24/8/12, Sebastian Kulesz >> ha scritto: >> > >> >> Da: Sebastian Kulesz >> >> Oggetto: Re: [Gambas-user] Gambas-3 & Ubuntu >> 12.10 Quantal >> >> A: "mailing list for gambas users" >> >> Data: Venerd? 24 agosto 2012, 00:36 >> >> On Thu, Aug 23, 2012 at 7:32 PM, Ru >> >> Vuott >> >> wrote: >> >> > Hello, >> >> > >> >> > I installed Ubuntu 12.10 Quantal. >> >> > >> >> > So, I'ld like to install Gambas-3 (and future >> updates) >> >> from SVN. But I didn't find packets for this Ubuntu >> version. >> >> In official site there are only packets for Ubuntu >> precise: >> >> 12.04. >> >> > >> >> > How can I do... ? >> >> > >> >> > regards >> >> > vuotttttt >> >> > >> >> > >> >> >> ------------------------------------------------------------------------------ >> >> > 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 >> >> >> >> You can use the alternative PPA [0] which is built >> daily >> >> using the >> >> latest svn revision. Instructions can be found here >> [1] >> >> >> >> [0] https://launchpad.net/~sebikul/+archive/gambas-daily >> >> >> >> [1] http://gambasdoc.org/help/install/ubuntu?v3 >> >> >> >> >> ------------------------------------------------------------------------------ >> >> 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 >> >> sudo apt-get install gambas3 ...? >> >> ------------------------------------------------------------------------------ >> 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 No, the command you issued earlier is to install gambas3, to update it, yo need to execute: sudo apt-get update (to update the package list) sudo apt-get upgrade (to upgrade every package on your system) To use the latest version, you need to do this on a daily basis, as new packages are built from svn every day From gambas at ...2524... Fri Aug 24 04:32:45 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 24 Aug 2012 02:32:45 +0000 Subject: [Gambas-user] Issue 316 in gambas: DataView crash on doing something in the data event In-Reply-To: <1-6813199134517018827-15764203738138365253-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-15764203738138365253-gambas=googlecode.com@...2524...> <0-6813199134517018827-15764203738138365253-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-15764203738138365253-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 316 by benoit.m... at ...626...: DataView crash on doing something in the data event http://code.google.com/p/gambas/issues/detail?id=316 It should be fixed in revision #5074. From gambas at ...2524... Fri Aug 24 04:34:56 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 24 Aug 2012 02:34:56 +0000 Subject: [Gambas-user] Issue 246 in gambas: Random "DrawingArea is being drawn" error when using new gridview In-Reply-To: <6-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> <0-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-14267725419706147984-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #7 on issue 246 by benoit.m... at ...626...: Random "DrawingArea is being drawn" error when using new gridview http://code.google.com/p/gambas/issues/detail?id=246 Apparently the recursion was the cause of the crash. I close the issue. Tell if you get the error again. From marcobra.ubuntu at ...626... Fri Aug 24 09:10:47 2012 From: marcobra.ubuntu at ...626... (marco bra) Date: Fri, 24 Aug 2012 09:10:47 +0200 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: References: <1345762569.81477.YahooMailClassic@...2695...> Message-ID: ... >> will include endpoint security, mobile security and the > >> latest in malware > >> threats. > I strongly suggest you to use a stable release (latest stable is Ubuntu 12.04.1) instead of use Ubuntu 12.10 quantal ( this release is in alpha stage ) since you are asking how to update a Ubuntu system... You can use gambas 3 trunk also in a stable release of Ubuntu... Marco From john.aaron.rose at ...626... Fri Aug 24 09:32:48 2012 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 24 Aug 2012 08:32:48 +0100 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal Message-ID: <1345793568.2258.5.camel@...2811...> FAO Sebastian Kulesz, How do the svn & version shown on the Launchpad webpage of your ppa relate to the version number, which Benoit quotes when asking people to try a new version (for bug fixes / new features)? For example, Benoit asked me to try revision #5070 and the webpage currently states svn 3968 version 3.2.90. Is there a webpage that has a list of these numbers and their correspondences? From marcobra.ubuntu at ...626... Fri Aug 24 10:11:57 2012 From: marcobra.ubuntu at ...626... (marco bra) Date: Fri, 24 Aug 2012 10:11:57 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: <50368A11.70102@...1...> References: <5036466C.9060309@...1...> <50368A11.70102@...1...> Message-ID: 2012/8/23 Beno?t Minisini > Le 23/08/2012 17:13, marco bra a ?crit : > > 2012/8/23 Beno?t Minisini > > > >> Le 23/08/2012 15:52, marco bra a ?crit : > >>> Hi, > >>> > >>> here some graphic idea to dress in a different way (see the attached > >>> Gambas3_suggested_effects.png) > >>> the shadow effects... ( please see the attached > Gambas3_now_effects.png) > >>> > >>> I hope is some good to have in a future implementation... > >>> > >>> What do you think ? > >>> > >>> Regards > >>> > >>> Marco > >>> > >> > >> The shadow is smaller, that's it? > >> > >> > > The shadow is 3/4 pixel width and in this graphic is not applied to > > external area, i mean not on the record number then is not applied to the > > bottom and left side... to not create a button like effect in the area > with > > no grid i also made all the canvas little bit dark is like the dark part > of > > the shadow still to not create a not wanted raised button like effect. > > > > Thanks. > > Is the revision #5072 better for you? > > Yes better but i still see the button effects on the browse area, i suggest you to: - always create the left shadow - always to not create the right and bottom shadow if you want sunken effects on data canvas area to control the browse of data we can already have the right and lower slidebar I know you want use shadow also to show to the user the end of data but personally i thing it conflict a bit with embossed effect you want to create to the data browsing area. So might be using different graphic effect to evidentiate the boundaries field column of data is better. Might be a color gradient on the data column can be better... I have an idea (see attached to show the top of and leftmost boundary of data) simply with some one pixel colored line... Hope this helps Marco -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas_shadow_rev_5074.png Type: image/png Size: 33092 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas_shadow_rev_5074_proposed.png Type: image/png Size: 37103 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas_shadow_rev_5074_proposed_more_data_left.png Type: image/png Size: 38590 bytes Desc: not available URL: From Karl.Reinl at ...2345... Fri Aug 24 10:16:29 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 24 Aug 2012 10:16:29 +0200 Subject: [Gambas-user] The program has returned the value: 127 In-Reply-To: <5036C042.1040005@...1...> References: <1345759769.2161.9.camel@...40...> <5036C042.1040005@...1...> Message-ID: <1345796189.2491.7.camel@...40...> Am Freitag, den 24.08.2012, 01:44 +0200 schrieb Beno?t Minisini: > Le 24/08/2012 00:09, Karl Reinl a ?crit : > > Salut, > > > > I open the IDE, create a new project and when I start it (F5) it get : > > > > The program has returned the value: 127 > > > > any clue ? > > > > > > Without more information and the resulting project, no clue. > Salut, send you the project, it is made like I wrote above. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: signal127-0.0.1.tmp.tar.gz Type: application/x-compressed-tar Size: 4455 bytes Desc: not available URL: From oceanosoftlapalma at ...626... Fri Aug 24 10:37:25 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Fri, 24 Aug 2012 10:37:25 +0200 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: <1345793568.2258.5.camel@...2811...> References: <1345793568.2258.5.camel@...2811...> Message-ID: Please, read http://gambas.sourceforge.net/en/main.html 2012/8/24 John Rose > FAO Sebastian Kulesz, > > How do the svn & version shown on the Launchpad webpage of your ppa > relate to the version number, which Benoit quotes when asking people to > try a new version (for bug fixes / new features)? > > For example, Benoit asked me to try revision #5070 and the webpage > currently states svn 3968 version 3.2.90. Is there a webpage that has a > list of these numbers and their > correspondences?---------------------------------------------------------------------------- > 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 Aug 24 10:39:06 2012 From: vuott at ...325... (Ru Vuott) Date: Fri, 24 Aug 2012 09:39:06 +0100 (BST) Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: Message-ID: <1345797546.60347.YahooMailClassic@...2691...> > > No, the command you issued earlier is to install gambas3, to > update > it, yo need to execute: > > sudo apt-get update? (to update the package list) > sudo apt-get upgrade (to upgrade every package on your > system) > > To use the latest version, you need to do this on a daily > basis, as > new packages are built from svn every day > > Ok, thanks a lot, Sebastian. From Karl.Reinl at ...2345... Fri Aug 24 10:43:12 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 24 Aug 2012 10:43:12 +0200 Subject: [Gambas-user] The program has returned the value: 127 In-Reply-To: <5036C042.1040005@...1...> References: <1345759769.2161.9.camel@...40...> <5036C042.1040005@...1...> Message-ID: <1345797792.2491.26.camel@...40...> Am Freitag, den 24.08.2012, 01:44 +0200 schrieb Beno?t Minisini: > Le 24/08/2012 00:09, Karl Reinl a ?crit : > > Salut, > > > > I open the IDE, create a new project and when I start it (F5) it get : > > > > The program has returned the value: 127 > > > > any clue ? > > > > > > Without more information and the resulting project, no clue. > Salut, found that output in the IDE-Consol, may be important : signal127: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: undefined symbol: _gtk_window_group_get_current_grab Projects created with gambas3 crashes, converted project don't. I attached the build logs. -- Amicalement Charlie [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.2.90 rev. 5073 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: g3-5073.tar.bz2 Type: application/x-bzip-compressed-tar Size: 17663 bytes Desc: not available URL: From ron at ...1740... Fri Aug 24 11:52:10 2012 From: ron at ...1740... (Ron) Date: Fri, 24 Aug 2012 11:52:10 +0200 Subject: [Gambas-user] Small typos in XMLRPC code Message-ID: <50374ECA.2040706@...1740...> gambas/2.0/gb.xml/src/rpc/gb.xml.rpc: RpcClient.class: IF ME.Mode = RpcClient.httpAsync THEN RAISE BadReply("Unable to contact with server, or bad reply from server") RpcClient.class: Error.Raise("Unable to contact with server, or bad reply from server") gambas/trunk/gb.xml/src/rpc/gb.xml.rpc/.src: RpcClient.class: If Me.Mode = RpcClient.httpAsync Then Raise BadReply("Unable to contact with server, or bad reply from server") RpcClient.class: Error.Raise("Unable to contact with server, or bad reply from server") "Unable to contact the server, or bad reply from server" Is better English I guess... Regards, Ron_2nd. From wally at ...2037... Fri Aug 24 12:21:42 2012 From: wally at ...2037... (wally) Date: Fri, 24 Aug 2012 12:21:42 +0200 Subject: [Gambas-user] gb.ncurses project ? In-Reply-To: References: <1480965.h0qIuzBZQu@...46...> Message-ID: <2170139.jCrz2pLfTV@...46...> William, yes, this gives me a first idea how to use it. Thank you. Should this project also wotk in the IDE's console panle or do i need always to make an executable an run in separat terminal/Konsole ? wally On Thursday 23 August 2012 20:58:00 William Cabrera wrote: > Hi, i made this a little experiment, a media player based in mplayer. it is > not yet finished, but works. > > http://www.mediafire.com/?u4xthsuli4xek2m > > This might be useful. > > ------ > William Cabrera > http://willicab.gnu.org.ve > > > > 2012/8/23 wally > > > Does anyone have a gb.ncurses project, just to learn elementary usage ? > > > > thx wally > > > > > > ------------------------------------------------------------------------ > > ------ 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 john.aaron.rose at ...626... Fri Aug 24 12:54:38 2012 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 24 Aug 2012 11:54:38 +0100 Subject: [Gambas-user] http://gambas.sourceforge.net/en/main.html Message-ID: <1345805678.3323.1.camel@...2811...> I've looked at http://gambas.sourceforge.net/en/main.html It doesn't seem to give any list showing release, svn & revision correspondences. Please clarify. From Karl.Reinl at ...2345... Fri Aug 24 13:10:50 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 24 Aug 2012 13:10:50 +0200 Subject: [Gambas-user] http://gambas.sourceforge.net/en/main.html In-Reply-To: <1345805678.3323.1.camel@...2811...> References: <1345805678.3323.1.camel@...2811...> Message-ID: <1345806650.2516.3.camel@...40...> Am Freitag, den 24.08.2012, 11:54 +0100 schrieb John Rose: > I've looked at http://gambas.sourceforge.net/en/main.html > > It doesn't seem to give any list showing release, svn & revision > correspondences. Please clarify. > > > ------------------------------------------------------------------------------ > 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 Salut John, on the above url, open 'Browse Source Code' or subscribe at https://lists.sourceforge.net/lists/listinfo/gambas-devel-svn -- Amicalement Charlie From gambas at ...1... Fri Aug 24 13:23:17 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Aug 2012 13:23:17 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: References: <5036466C.9060309@...1...> <50368A11.70102@...1...> Message-ID: <50376425.90704@...1...> Le 24/08/2012 10:11, marco bra a ?crit : > 2012/8/23 Beno?t Minisini > >> Le 23/08/2012 17:13, marco bra a ?crit : >>> 2012/8/23 Beno?t Minisini >>> >>>> Le 23/08/2012 15:52, marco bra a ?crit : >>>>> Hi, >>>>> >>>>> here some graphic idea to dress in a different way (see the attached >>>>> Gambas3_suggested_effects.png) >>>>> the shadow effects... ( please see the attached >> Gambas3_now_effects.png) >>>>> >>>>> I hope is some good to have in a future implementation... >>>>> >>>>> What do you think ? >>>>> >>>>> Regards >>>>> >>>>> Marco >>>>> >>>> >>>> The shadow is smaller, that's it? >>>> >>>> >>> The shadow is 3/4 pixel width and in this graphic is not applied to >>> external area, i mean not on the record number then is not applied to the >>> bottom and left side... to not create a button like effect in the area >> with >>> no grid i also made all the canvas little bit dark is like the dark part >> of >>> the shadow still to not create a not wanted raised button like effect. >>> >>> Thanks. >> >> Is the revision #5072 better for you? >> >> > Yes better but i still see the button effects on the browse area, i suggest > you to: > - always create the left shadow > - always to not create the right and bottom shadow Sorry, I don't understand the english of that last sentence. > if you want sunken effects on data canvas area to control the browse of > data we can already have the right and lower slidebar Same remark... > > I know you want use shadow also to show to the user the end of data but > personally i thing it conflict a bit with embossed effect you want to > create to the data browsing area. > > So might be using different graphic effect to evidentiate the boundaries > field column of data is better. Might be a color gradient on the data > column can be better... > > I have an idea (see attached to show the top of and leftmost boundary of > data) simply with some one pixel colored line... > Mmm, no color thanks. It depends too much on the desktop color theme. > Hope this helps > Marco > *You* see a button effect. *I* don't see it. It's just a matter of how your brain and my brain interpret an optic illusion. The shadow means that the GridView inner pass "under" the headers. Something like that: (1) (2) ------ (3) ------ .=--------------=. / _ _ \ | | / \ / \ | | | \___/ \___/ | \ / `---> <---' (1) Left border (2) Right border (3) Inner canvas The equal signs is the shadow. "No shadow" means that we are at one end of the "roller". I need more testimonies to know if you are the only one that don't see the inner inside the borders but outside. Otherwise I can't take a decision. -- Beno?t Minisini From gambas at ...1... Fri Aug 24 13:29:14 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Aug 2012 13:29:14 +0200 Subject: [Gambas-user] The program has returned the value: 127 In-Reply-To: <1345797792.2491.26.camel@...40...> References: <1345759769.2161.9.camel@...40...> <5036C042.1040005@...1...> <1345797792.2491.26.camel@...40...> Message-ID: <5037658A.2050902@...1...> Le 24/08/2012 10:43, Charlie Reinl a ?crit : > > Salut, > > found that output in the IDE-Consol, may be important : > > signal127: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: > undefined symbol: _gtk_window_group_get_current_grab > OK, -that's- the information I need! GASP... Which is your exact GTK+ version? -- Beno?t Minisini From girardhenri at ...67... Fri Aug 24 14:02:08 2012 From: girardhenri at ...67... (Girard Henri) Date: Fri, 24 Aug 2012 14:02:08 +0200 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: <1345793568.2258.5.camel@...2811...> References: <1345793568.2258.5.camel@...2811...> Message-ID: Le 24. 08. 12 09:32, John Rose a ?crit : > FAO Sebastian Kulesz, > > How do the svn & version shown on the Launchpad webpage of your ppa > relate to the version number, which Benoit quotes when asking people to > try a new version (for bug fixes / new features)? > > For example, Benoit asked me to try revision #5070 and the webpage > currently states svn 3968 version 3.2.90. Is there a webpage that has a > list of these numbers and their correspondences? > > > > ------------------------------------------------------------------------------ > 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 > > It's very easy to compile gambas3 on quantal : sudo apt-get add-repository ppa:sebikul/gambas-daily sudo apt-get update sudo apt-get build-dep gambas3 you get the svn on gambas.sourceforge.net (maybe you will have to install subversion before : sudo apt-get install subversion) then follow the webpage for compiling gambas ./reconf-all ./configure --prefix=/usr (on ubuntu) make -j? (depending on the number of processor core) for me is -j4 sudo make install mostly you have to do svn up in trunk to get the latest version make and make install run fine :) From marcobra.ubuntu at ...626... Fri Aug 24 14:03:48 2012 From: marcobra.ubuntu at ...626... (marco bra) Date: Fri, 24 Aug 2012 14:03:48 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: <50376425.90704@...1...> References: <5036466C.9060309@...1...> <50368A11.70102@...1...> <50376425.90704@...1...> Message-ID: 2012/8/24 Beno?t Minisini > > Le 24/08/2012 10:11, marco bra a ?crit : > > 2012/8/23 Beno?t Minisini > > > >> Le 23/08/2012 17:13, marco bra a ?crit : > >>> 2012/8/23 Beno?t Minisini > >>> > >>>> Le 23/08/2012 15:52, marco bra a ?crit : > >>>>> Hi, > >>>>> > >>>>> here some graphic idea to dress in a different way (see the attached > >>>>> Gambas3_suggested_effects.png) > >>>>> the shadow effects... ( please see the attached > >> Gambas3_now_effects.png) > >>>>> > >>>>> I hope is some good to have in a future implementation... > >>>>> > >>>>> What do you think ? > >>>>> > >>>>> Regards > >>>>> > >>>>> Marco > >>>>> > >>>> > >>>> The shadow is smaller, that's it? > >>>> > >>>> > >>> The shadow is 3/4 pixel width and in this graphic is not applied to > >>> external area, i mean not on the record number then is not applied to the > >>> bottom and left side... to not create a button like effect in the area > >> with > >>> no grid i also made all the canvas little bit dark is like the dark part > >> of > >>> the shadow still to not create a not wanted raised button like effect. > >>> > >>> Thanks. > >> > >> Is the revision #5072 better for you? > >> > >> > > Yes better but i still see the button effects on the browse area, i suggest > > you to: > > - always create the left shadow > > - always to not create the right and bottom shadow > > Sorry, I don't understand the english of that last sentence. > > > if you want sunken effects on data canvas area to control the browse of > > data we can already have the right and lower slidebar > > Same remark... > > > > > I know you want use shadow also to show to the user the end of data but > > personally i thing it conflict a bit with embossed effect you want to > > create to the data browsing area. > > > > So might be using different graphic effect to evidentiate the boundaries > > field column of data is better. Might be a color gradient on the data > > column can be better... > > > > I have an idea (see attached to show the top of and leftmost boundary of > > data) simply with some one pixel colored line... > > > > Mmm, no color thanks. It depends too much on the desktop color theme. > > > Hope this helps > > Marco > > > > *You* see a button effect. *I* don't see it. It's just a matter of how > your brain and my brain interpret an optic illusion. > > The shadow means that the GridView inner pass "under" the headers. > Something like that: > > > > (1) (2) > ------ (3) ------ > .=--------------=. > / _ _ \ > | | / \ / \ | | > | \___/ \___/ | > \ / > `---> <---' > > > (1) Left border > (2) Right border > (3) Inner canvas > > The equal signs is the shadow. > > "No shadow" means that we are at one end of the "roller". > > I need more testimonies to know if you are the only one that don't see > the inner inside the borders but outside. Otherwise I can't take a decision. > > -- > 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 Sorry for my bad english... ok i know what you try to render using shadow... but the shadow are not right if you apply them to the underlayn data or better the effect you get isn't good (my opinion of course) /\ is the light ... are shadow ?? point of view in your implementation ?? /\ --- --- ... bright surface ... ---------------------------------- seem impossible to ave an illusion of deep and shadows are not naturally. correct shadowing of this must be ?? /\ --- --- ... lower bright surface ... ---------------------------------- so shadow cannot be view from user My implementation: ?? /\ --- --- ... ... ---------------------------------- the user will have a perception of a light source coming from the left and it can view the false deep illusion this isn't my perception is a geometrical shadowing rule http://doc.xceedsoft.com/products/XceedChart/LinesAndFrames_Image_Frames.html Thanks Marco -- Linux Infinite Freedom From bbruen at ...2308... Fri Aug 24 14:18:03 2012 From: bbruen at ...2308... (Bruce) Date: Fri, 24 Aug 2012 21:48:03 +0930 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: <50376425.90704@...1...> References: <5036466C.9060309@...1...> <50368A11.70102@...1...> <50376425.90704@...1...> Message-ID: <1345810683.5172.10.camel@...2688...> > The shadow means that the GridView inner pass "under" the headers. > Something like that: > > > > (1) (2) > ------ (3) ------ > .=--------------=. > / _ _ \ > | | / \ / \ | | > | \___/ \___/ | > \ / > `---> <---' > > > (1) Left border > (2) Right border > (3) Inner canvas > > The equal signs is the shadow. > > "No shadow" means that we are at one end of the "roller". > > I need more testimonies to know if you are the only one that don't see > the inner inside the borders but outside. Otherwise I can't take a decision. > To be brutally honest, I don't see the need for any of it at all. The scroll bars tell me where I am and have done so for many years. To be even more brutal, where is the "go away" option? Just to be a bit more objective, we have tried for some months now to make our UI as flat as possible, as some of our users are outdoors at and prior to dawn. The last thing they would want is some shadowing effect on the (laptop) screen that makes things at the edges harder to read. Well, you wanted opinions :-) Bruce From gambas at ...1... Fri Aug 24 14:23:01 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Aug 2012 14:23:01 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: <1345810683.5172.10.camel@...2688...> References: <5036466C.9060309@...1...> <50368A11.70102@...1...> <50376425.90704@...1...> <1345810683.5172.10.camel@...2688...> Message-ID: <50377225.4050709@...1...> Le 24/08/2012 14:18, Bruce a ?crit : >> The shadow means that the GridView inner pass "under" the headers. >> Something like that: >> >> >> >> (1) (2) >> ------ (3) ------ >> .=--------------=. >> / _ _ \ >> | | / \ / \ | | >> | \___/ \___/ | >> \ / >> `---> <---' >> >> >> (1) Left border >> (2) Right border >> (3) Inner canvas >> >> The equal signs is the shadow. >> >> "No shadow" means that we are at one end of the "roller". >> >> I need more testimonies to know if you are the only one that don't see >> the inner inside the borders but outside. Otherwise I can't take a decision. >> > > To be brutally honest, I don't see the need for any of it at all. > The scroll bars tell me where I am and have done so for many years. > > To be even more brutal, where is the "go away" option? > > Just to be a bit more objective, we have tried for some months now to > make our UI as flat as possible, as some of our users are outdoors at > and prior to dawn. The last thing they would want is some shadowing > effect on the (laptop) screen that makes things at the edges harder to read. > > Well, you wanted opinions :-) > > Bruce > Maybe should I add an option to disable the shadow effect? -- Beno?t Minisini From john.aaron.rose at ...626... Fri Aug 24 14:27:25 2012 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 24 Aug 2012 13:27:25 +0100 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal Message-ID: <1345811245.3323.10.camel@...2811...> Charles & Ricardo, Sorry, I made a mistake & put in the wrong subject line on my last post. As I previously said: "The web page doesn't seem to give any list showing release, svn & revision correspondences. Please clarify.". Re the url quoted, it shows version 3.2.1. When I click the 'Browse Source Code' link, it shows revision #5074. There is no definite indication that these numbers correspond. Also, there is no list showing the history of matching version and revision numbers. From marcobra.ubuntu at ...626... Fri Aug 24 14:36:12 2012 From: marcobra.ubuntu at ...626... (marco bra) Date: Fri, 24 Aug 2012 14:36:12 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: <50377225.4050709@...1...> References: <5036466C.9060309@...1...> <50368A11.70102@...1...> <50376425.90704@...1...> <1345810683.5172.10.camel@...2688...> <50377225.4050709@...1...> Message-ID: 2012/8/24 Beno?t Minisini : > Le 24/08/2012 14:18, Bruce a ?crit : >>> The shadow means that the GridView inner pass "under" the headers. >>> Something like that: >>> >>> >>> >>> (1) (2) >>> ------ (3) ------ >>> .=--------------=. >>> / _ _ \ >>> | | / \ / \ | | >>> | \___/ \___/ | >>> \ / >>> `---> <---' >>> >>> >>> (1) Left border >>> (2) Right border >>> (3) Inner canvas >>> >>> The equal signs is the shadow. >>> >>> "No shadow" means that we are at one end of the "roller". >>> >>> I need more testimonies to know if you are the only one that don't see >>> the inner inside the borders but outside. Otherwise I can't take a decision. >>> >> >> To be brutally honest, I don't see the need for any of it at all. >> The scroll bars tell me where I am and have done so for many years. >> >> To be even more brutal, where is the "go away" option? >> >> Just to be a bit more objective, we have tried for some months now to >> make our UI as flat as possible, as some of our users are outdoors at >> and prior to dawn. The last thing they would want is some shadowing >> effect on the (laptop) screen that makes things at the edges harder to read. >> >> Well, you wanted opinions :-) >> >> Bruce >> > > Maybe should I add an option to disable the shadow effect? > > -- > 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 Bruce i agree, the shadowing can't be implemented as a default... So please Benoit put somewere a disable option. Then shadowing is not a bad effect, i like it, but is better to have some customization options to play with. BTW many thanks to all. Marco -- Linux Infinite Freedom From bbruen at ...2308... Fri Aug 24 14:56:05 2012 From: bbruen at ...2308... (Bruce) Date: Fri, 24 Aug 2012 22:26:05 +0930 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: <1345810683.5172.10.camel@...2688...> References: <5036466C.9060309@...1...> <50368A11.70102@...1...> <50376425.90704@...1...> <1345810683.5172.10.camel@...2688...> Message-ID: <1345812965.5172.36.camel@...2688...> On Fri, 2012-08-24 at 21:48 +0930, Bruce wrote: > > The shadow means that the GridView inner pass "under" the headers. > > Something like that: > > > > > > > > (1) (2) > > ------ (3) ------ > > .=--------------=. > > / _ _ \ > > | | / \ / \ | | > > | \___/ \___/ | > > \ / > > `---> <---' > > > > > > (1) Left border > > (2) Right border > > (3) Inner canvas > > > > The equal signs is the shadow. > > > > "No shadow" means that we are at one end of the "roller". > > > > I need more testimonies to know if you are the only one that don't see > > the inner inside the borders but outside. Otherwise I can't take a decision. > > > > To be brutally honest, I don't see the need for any of it at all. > The scroll bars tell me where I am and have done so for many years. > > To be even more brutal, where is the "go away" option? > > Just to be a bit more objective, we have tried for some months now to > make our UI as flat as possible, as some of our users are outdoors at > and prior to dawn. The last thing they would want is some shadowing > effect on the (laptop) screen that makes things at the edges harder to read. > > Well, you wanted opinions :-) > > Bruce > I really should explain this as on re-reading it, it may appear offensive. Some of the software our user's use is on laptops, outside in low light situations. Thoroughbred horse training often takes place just at daybreak. So the stable manager is trying to watch horses and riders, look at pertinent information on the horse on the laptop and issue instructions and enter observations. Originally we (I) thought that we should display pertinent information as bright as possible. Little did I realise that Color.Green and Color.Yellow is apparently like looking at a solar eclipse. This year a very clever young* UI designer joined us and has been showing us (me) the errors we (I) have been making. So now, when designing UI's we have to take into account the display type, the expected prevailing light conditions and (forgive me, Felicity, I can't remember the term ..) the "user operational focal"? Anyway, contrary to the Android, HTC, mint etc etc theory that "brighter is betterrrrr!" it appears that, if the user is trying to cope with more than one field depth, i.e. the screen AND the world; and if they have to cope with more than a single "kill-that-ork" proposition, then a flat presentation is more compatible. An example she gives is a heads up display on the windscreen of a jet fighter... just imagine if that was 3D techni-color .... B * young in the sense that I am not! From taboege at ...626... Fri Aug 24 14:57:49 2012 From: taboege at ...626... (Tobias Boege) Date: Fri, 24 Aug 2012 14:57:49 +0200 Subject: [Gambas-user] gb.ncurses project ? In-Reply-To: <1480965.h0qIuzBZQu@...46...> References: <1480965.h0qIuzBZQu@...46...> Message-ID: <20120824125749.GD515@...2774...> On Thu, 23 Aug 2012, wally wrote: > Does anyone have a gb.ncurses project, just to learn elementary usage ? > > thx wally > > ------------------------------------------------------------------------------ > 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 wally, I have a few test projects (a halfways working more(1)-like Pager) and a working Pong implementation. The Pong is attached and should work with the current gb.ncurses. You only have to look into MMain.module, the rest of the sources is for game logic, IIRC. There will be a question about 'NoDelay' mode... Answer: No. The related code in Pong is anyway not up to date with that mode. When I first presented that Pong at gambas-devel, Fabien Bodard pointed out that the initial keyboard repeat delay is very annoying when playing games. Since then I want to circumvent the true keyboard hardware limitations - but it's not ready yet. Apart from that, the current gb.ncurses is rather sparse, having only a Window class for all operations. I will not break the interface but add controls to ease the programmer's life. Regards, Tobi -------------- next part -------------- A non-text attachment was scrubbed... Name: Pong-0.0.6.tar.gz Type: application/octet-stream Size: 13254 bytes Desc: not available URL: From gambas at ...1... Fri Aug 24 15:02:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Aug 2012 15:02:19 +0200 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: <1345812965.5172.36.camel@...2688...> References: <5036466C.9060309@...1...> <50368A11.70102@...1...> <50376425.90704@...1...> <1345810683.5172.10.camel@...2688...> <1345812965.5172.36.camel@...2688...> Message-ID: <50377B5B.9060700@...1...> Le 24/08/2012 14:56, Bruce a ?crit : > On Fri, 2012-08-24 at 21:48 +0930, Bruce wrote: >>> The shadow means that the GridView inner pass "under" the headers. >>> Something like that: >>> >>> >>> >>> (1) (2) >>> ------ (3) ------ >>> .=--------------=. >>> / _ _ \ >>> | | / \ / \ | | >>> | \___/ \___/ | >>> \ / >>> `---> <---' >>> >>> >>> (1) Left border >>> (2) Right border >>> (3) Inner canvas >>> >>> The equal signs is the shadow. >>> >>> "No shadow" means that we are at one end of the "roller". >>> >>> I need more testimonies to know if you are the only one that don't see >>> the inner inside the borders but outside. Otherwise I can't take a decision. >>> >> >> To be brutally honest, I don't see the need for any of it at all. >> The scroll bars tell me where I am and have done so for many years. >> >> To be even more brutal, where is the "go away" option? >> >> Just to be a bit more objective, we have tried for some months now to >> make our UI as flat as possible, as some of our users are outdoors at >> and prior to dawn. The last thing they would want is some shadowing >> effect on the (laptop) screen that makes things at the edges harder to read. >> >> Well, you wanted opinions :-) >> >> Bruce >> > > > I really should explain this as on re-reading it, it may appear > offensive. > > Some of the software our user's use is on laptops, outside in low light > situations. Thoroughbred horse training often takes place just at > daybreak. So the stable manager is trying to watch horses and riders, > look at pertinent information on the horse on the laptop and issue > instructions and enter observations. Originally we (I) thought that we > should display pertinent information as bright as possible. > > Little did I realise that Color.Green and Color.Yellow is apparently > like looking at a solar eclipse. > > This year a very clever young* UI designer joined us and has been > showing us (me) the errors we (I) have been making. So now, when > designing UI's we have to take into account the display type, the > expected prevailing light conditions and (forgive me, Felicity, I can't > remember the term ..) the "user operational focal"? > > Anyway, contrary to the Android, HTC, mint etc etc theory that "brighter > is betterrrrr!" it appears that, if the user is trying to cope with more > than one field depth, i.e. the screen AND the world; and if they have to > cope with more than a single "kill-that-ork" proposition, then a flat > presentation is more compatible. An example she gives is a heads up > display on the windscreen of a jet fighter... just imagine if that was > 3D techni-color .... > > B > > * young in the sense that I am not! > But as you don't use a development version, you don't see these shadows, do you? :-) -- Beno?t Minisini From bbruen at ...2308... Fri Aug 24 15:44:32 2012 From: bbruen at ...2308... (Bruce) Date: Fri, 24 Aug 2012 23:14:32 +0930 Subject: [Gambas-user] Shadow effects... please tell if you like it... In-Reply-To: <50377B5B.9060700@...1...> References: <5036466C.9060309@...1...> <50368A11.70102@...1...> <50376425.90704@...1...> <1345810683.5172.10.camel@...2688...> <1345812965.5172.36.camel@...2688...> <50377B5B.9060700@...1...> Message-ID: <1345815872.5172.45.camel@...2688...> On Fri, 2012-08-24 at 15:02 +0200, Beno?t Minisini wrote: > Le 24/08/2012 14:56, Bruce a ?crit : > > On Fri, 2012-08-24 at 21:48 +0930, Bruce wrote: > >>> The shadow means that the GridView inner pass "under" the headers. > >>> Something like that: > >>> > >>> > >>> > >>> (1) (2) > >>> ------ (3) ------ > >>> .=--------------=. > >>> / _ _ \ > >>> | | / \ / \ | | > >>> | \___/ \___/ | > >>> \ / > >>> `---> <---' > >>> > >>> > >>> (1) Left border > >>> (2) Right border > >>> (3) Inner canvas > >>> > >>> The equal signs is the shadow. > >>> > >>> "No shadow" means that we are at one end of the "roller". > >>> > >>> I need more testimonies to know if you are the only one that don't see > >>> the inner inside the borders but outside. Otherwise I can't take a decision. > >>> > >> > >> To be brutally honest, I don't see the need for any of it at all. > >> The scroll bars tell me where I am and have done so for many years. > >> > >> To be even more brutal, where is the "go away" option? > >> > >> Just to be a bit more objective, we have tried for some months now to > >> make our UI as flat as possible, as some of our users are outdoors at > >> and prior to dawn. The last thing they would want is some shadowing > >> effect on the (laptop) screen that makes things at the edges harder to read. > >> > >> Well, you wanted opinions :-) > >> > >> Bruce > >> > > > > > > I really should explain this as on re-reading it, it may appear > > offensive. > > > > Some of the software our user's use is on laptops, outside in low light > > situations. Thoroughbred horse training often takes place just at > > daybreak. So the stable manager is trying to watch horses and riders, > > look at pertinent information on the horse on the laptop and issue > > instructions and enter observations. Originally we (I) thought that we > > should display pertinent information as bright as possible. > > > > Little did I realise that Color.Green and Color.Yellow is apparently > > like looking at a solar eclipse. > > > > This year a very clever young* UI designer joined us and has been > > showing us (me) the errors we (I) have been making. So now, when > > designing UI's we have to take into account the display type, the > > expected prevailing light conditions and (forgive me, Felicity, I can't > > remember the term ..) the "user operational focal"? > > > > Anyway, contrary to the Android, HTC, mint etc etc theory that "brighter > > is betterrrrr!" it appears that, if the user is trying to cope with more > > than one field depth, i.e. the screen AND the world; and if they have to > > cope with more than a single "kill-that-ork" proposition, then a flat > > presentation is more compatible. An example she gives is a heads up > > display on the windscreen of a jet fighter... just imagine if that was > > 3D techni-color .... > > > > B > > > > * young in the sense that I am not! > > > > But as you don't use a development version, you don't see these shadows, > do you? :-) > Only in "Not the Olympics" :-! which was pretty important! B From sebikul at ...626... Fri Aug 24 15:51:37 2012 From: sebikul at ...626... (Sebi) Date: Fri, 24 Aug 2012 13:51:37 +0000 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: <1345793568.2258.5.camel@...2811...> References: <1345793568.2258.5.camel@...2811...> Message-ID: <1419866273-1345816295-cardhu_decombobulator_blackberry.rim.net-1643012884-@...2914...> The svn revision used to build the package can be calculated using the revno on its name +1105 (Due to a bug on how source packages are built, i can't yet use the real revision). The version 3.2.90 corresponds to the 3.3 release, which has not been made. -----Original Message----- From: John Rose Date: Fri, 24 Aug 2012 08:32:48 To: GambasUsers MailingList Reply-To: mailing list for gambas users Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal FAO Sebastian Kulesz, How do the svn & version shown on the Launchpad webpage of your ppa relate to the version number, which Benoit quotes when asking people to try a new version (for bug fixes / new features)? For example, Benoit asked me to try revision #5070 and the webpage currently states svn 3968 version 3.2.90. Is there a webpage that has a list of these numbers and their correspondences? ------------------------------------------------------------------------------ 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 Karl.Reinl at ...2345... Fri Aug 24 18:21:53 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 24 Aug 2012 18:21:53 +0200 Subject: [Gambas-user] The program has returned the value: 127 In-Reply-To: <5037658A.2050902@...1...> References: <1345759769.2161.9.camel@...40...> <5036C042.1040005@...1...> <1345797792.2491.26.camel@...40...> <5037658A.2050902@...1...> Message-ID: <1345825313.2393.1.camel@...40...> Am Freitag, den 24.08.2012, 13:29 +0200 schrieb Beno?t Minisini: > Le 24/08/2012 10:43, Charlie Reinl a ?crit : > > > > Salut, > > > > found that output in the IDE-Consol, may be important : > > > > signal127: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: > > undefined symbol: _gtk_window_group_get_current_grab > > > > OK, -that's- the information I need! > > GASP... Which is your exact GTK+ version? > Salut, ~$ pkg-config --modversion gtk+-2.0 2.20.1 -- Amicalement Charlie From vuott at ...325... Fri Aug 24 18:22:55 2012 From: vuott at ...325... (Ru Vuott) Date: Fri, 24 Aug 2012 17:22:55 +0100 (BST) Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: Message-ID: <1345825375.9577.YahooMailClassic@...2789...> > > > It's very easy to compile gambas3 on quantal : > sudo apt-get add-repository ppa:sebikul/gambas-daily > sudo apt-get update > sudo apt-get build-dep gambas3 > you get the svn on gambas.sourceforge.net > (maybe you will have to install subversion before : sudo > apt-get install > subversion) > then follow the webpage for compiling gambas > ./reconf-all > ./configure --prefix=/usr (on ubuntu) > make -j? (depending on the number of processor core) for me > is -j4 > sudo make install > mostly you have to do svn up in trunk to get the latest > version > make and make install > run fine :) > Hello, I followed your suggestion: the installation is been OK, but if I try to launch Gambas from /usr/local/bin/.... it doesen't run. In that directory there are the following file: - gambas3 (as link to gambas3.gambas); - gambas3.gambas; - gba3; - gbc3; - gbi3; - gbr3; - gbs3; - gbs3.gambas; - gbw3; - gbx3. I can click on any of those, but IDE gambas doesn't run. Bye vuottt From gambas at ...1... Fri Aug 24 18:44:07 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 24 Aug 2012 18:44:07 +0200 Subject: [Gambas-user] The program has returned the value: 127 In-Reply-To: <1345825313.2393.1.camel@...40...> References: <1345759769.2161.9.camel@...40...> <5036C042.1040005@...1...> <1345797792.2491.26.camel@...40...> <5037658A.2050902@...1...> <1345825313.2393.1.camel@...40...> Message-ID: <5037AF57.7060403@...1...> Le 24/08/2012 18:21, Charlie Reinl a ?crit : > Am Freitag, den 24.08.2012, 13:29 +0200 schrieb Beno?t Minisini: >> Le 24/08/2012 10:43, Charlie Reinl a ?crit : >>> >>> Salut, >>> >>> found that output in the IDE-Consol, may be important : >>> >>> signal127: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: >>> undefined symbol: _gtk_window_group_get_current_grab >>> >> >> OK, -that's- the information I need! >> >> GASP... Which is your exact GTK+ version? >> > > Salut, > > ~$ pkg-config --modversion gtk+-2.0 > 2.20.1 > Can you try the latest revision? -- Beno?t Minisini From Karl.Reinl at ...2345... Fri Aug 24 19:36:36 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 24 Aug 2012 19:36:36 +0200 Subject: [Gambas-user] The program has returned the value: 127 In-Reply-To: <5037AF57.7060403@...1...> References: <1345759769.2161.9.camel@...40...> <5036C042.1040005@...1...> <1345797792.2491.26.camel@...40...> <5037658A.2050902@...1...> <1345825313.2393.1.camel@...40...> <5037AF57.7060403@...1...> Message-ID: <1345829796.2393.12.camel@...40...> Am Freitag, den 24.08.2012, 18:44 +0200 schrieb Beno?t Minisini: > Le 24/08/2012 18:21, Charlie Reinl a ?crit : > > Am Freitag, den 24.08.2012, 13:29 +0200 schrieb Beno?t Minisini: > >> Le 24/08/2012 10:43, Charlie Reinl a ?crit : > >>> > >>> Salut, > >>> > >>> found that output in the IDE-Consol, may be important : > >>> > >>> signal127: symbol lookup error: /usr/local/lib/gambas3/gb.gtk.so: > >>> undefined symbol: _gtk_window_group_get_current_grab > >>> > >> > >> OK, -that's- the information I need! > >> > >> GASP... Which is your exact GTK+ version? > >> > > > > Salut, > > > > ~$ pkg-config --modversion gtk+-2.0 > > 2.20.1 > > > > Can you try the latest revision? > Salut Beno?t, solved, thanks, now the Form opens -- Amicalement Charlie From gambas at ...1... Sat Aug 25 00:37:15 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Aug 2012 00:37:15 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... Message-ID: <5038021B.7050708@...1...> Hi, In revision #5076, I added a new gb.task component that allows you to run a class in the background. Internally, the interpreter is "simply" forked. But it's not that simple. :-) How does it work? Once gb.task is checked in the IDE, you get a new class named "Task". To run a class in the background: - That class must inherits Task. - It must have a public "Main" method that takes no argument and returns nothing. That method will be run in the background. As the method is run by a fork, it has access to every other part of the program, except that the main process that run the task will not see any change done by the task! The main process can simply modify some public variables in the task class to define the arguments of the task. But allowing the task to talk to the main process to give the result of its work is not done yet. Maybe the task Main() method will have a Variant return value that will be transparently serialized, sent to the main process, and deserialize. Or maybe the standard output of the task will be redirected to a pipe read by the main process. Or maybe the both solutions... I don't know yet. Another point. I don't think that gb.qt4 or gb.gtk will be usable after the fork. Tell me what you think about all that! Regards, -- Beno?t Minisini From gambas at ...1... Sat Aug 25 00:41:31 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Aug 2012 00:41:31 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... (fixed version) Message-ID: <5038031B.8040000@...1...> Hi, In revision #5076, I added a new gb.task component that allows you to run a class in the background. Internally, the interpreter is "simply" forked. But it's not that simple. :-) How does it work? Once gb.task is checked in the IDE, you get a new class named "Task". To run a class in the background: - That class must inherit Task. - It must have a public "Main" method that takes no argument and returns nothing. That method will be run in the background. Instanciate the class, and it will be run automatically as soon as the event loop is run. The task object will raise a "Kill" event when it has been terminated. You can wait for the end of a task by using its Wait() method. You can stop a task by calling its Stop() method. You can get the process id of a task with its Handle property. As the method is run by a fork, it has access to every other part of the program, except that the main process that run the task will not see any change done by the task of course. The main process can simply modify some public variables in the task class to define the arguments of the task. But allowing the task to talk to the main process to give the result of its work is not done yet. Maybe the task Main() method will have a Variant return value that will be transparently serialized, sent to the main process, and deserialized. Or maybe the standard output of the task will be redirected to a pipe read by the main process. Or maybe the both solutions... I don't know yet. Another point. I don't think that gb.qt4 or gb.gtk will be usable inside a fork. I didn't try. But background tasks should normally be used for... background invisible tasks. Tell me what you think about all that! Regards, -- Beno?t Minisini From linuxos at ...1896... Sat Aug 25 00:47:27 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Sat, 25 Aug 2012 00:47:27 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... (fixed version) In-Reply-To: <5038031B.8040000@...1...> References: <5038031B.8040000@...1...> Message-ID: Hi Benoit, Great news, i'll try it as soon because it's very interesting. Why did you implement that now, just to know ? Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 25 ao?t 2012 ? 00:41, Beno?t Minisini a ?crit : > Hi, > > In revision #5076, I added a new gb.task component that allows you to > run a class in the background. > > Internally, the interpreter is "simply" forked. But it's not that > simple. :-) > > How does it work? > > Once gb.task is checked in the IDE, you get a new class named "Task". > > To run a class in the background: > - That class must inherit Task. > - It must have a public "Main" method that takes no argument and returns > nothing. That method will be run in the background. > > Instanciate the class, and it will be run automatically as soon as the > event loop is run. > > The task object will raise a "Kill" event when it has been terminated. > > You can wait for the end of a task by using its Wait() method. > > You can stop a task by calling its Stop() method. > > You can get the process id of a task with its Handle property. > > As the method is run by a fork, it has access to every other part of the > program, except that the main process that run the task will not see any > change done by the task of course. > > The main process can simply modify some public variables in the task > class to define the arguments of the task. But allowing the task to talk > to the main process to give the result of its work is not done yet. > > Maybe the task Main() method will have a Variant return value that will > be transparently serialized, sent to the main process, and deserialized. > > Or maybe the standard output of the task will be redirected to a pipe > read by the main process. > > Or maybe the both solutions... I don't know yet. > > Another point. I don't think that gb.qt4 or gb.gtk will be usable inside > a fork. I didn't try. But background tasks should normally be used > for... background invisible tasks. > > Tell me what you think about all that! > > 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 gambas at ...1... Sat Aug 25 00:50:32 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Aug 2012 00:50:32 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... (fixed version) In-Reply-To: References: <5038031B.8040000@...1...> Message-ID: <50380538.1040701@...1...> Le 25/08/2012 00:47, Olivier Cruilles a ?crit : > Hi Benoit, > > Great news, i'll try it as soon because it's very interesting. Why did you implement that now, just to know ? > > Cordialement, > > Olivier Cruilles Just because I had the idea last night, and that the implementation was simple enough to please me. -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 25 01:08:48 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 25 Aug 2012 02:08:48 +0300 Subject: [Gambas-user] Gambas is not multi-threaded, but... In-Reply-To: <5038021B.7050708@...1...> References: <5038021B.7050708@...1...> Message-ID: I think I don't have enough time right now to go deeply into this, but I have already done multithreading with Gambas. One of my project has interface class which uses exec command to launch command line program made with Gambas. Argument for the command line program describe what it should do. Like this: hProcess = Exec ["gbr3", Application.Path &/ "cmdprog.gambas", CStr(iWhatToDo)] For Input As "Process" Interface class has of course Process_Read event for the results. What I think would be needed is proper way to send more complex data for the background process and back. As this mature, it is great new feature for Gambas! Jussi On 25 August 2012 01:37, Beno?t Minisini wrote: > Hi, > > In revision #5076, I added a new gb.task component that allows you to > run a class in the background. > > Internally, the interpreter is "simply" forked. But it's not that > simple. :-) > > How does it work? > > Once gb.task is checked in the IDE, you get a new class named "Task". > > To run a class in the background: > - That class must inherits Task. > - It must have a public "Main" method that takes no argument and returns > nothing. That method will be run in the background. > > As the method is run by a fork, it has access to every other part of the > program, except that the main process that run the task will not see any > change done by the task! > > The main process can simply modify some public variables in the task > class to define the arguments of the task. But allowing the task to talk > to the main process to give the result of its work is not done yet. > > Maybe the task Main() method will have a Variant return value that will > be transparently serialized, sent to the main process, and deserialize. > > Or maybe the standard output of the task will be redirected to a pipe > read by the main process. > > Or maybe the both solutions... I don't know yet. > > Another point. I don't think that gb.qt4 or gb.gtk will be usable after > the fork. > > Tell me what you think about all that! > > 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 sebikul at ...626... Sat Aug 25 01:12:31 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Fri, 24 Aug 2012 20:12:31 -0300 Subject: [Gambas-user] Gambas is not multi-threaded, but... (fixed version) In-Reply-To: <50380538.1040701@...1...> References: <5038031B.8040000@...1...> <50380538.1040701@...1...> Message-ID: On Fri, Aug 24, 2012 at 7:50 PM, Beno?t Minisini wrote: > Le 25/08/2012 00:47, Olivier Cruilles a ?crit : >> Hi Benoit, >> >> Great news, i'll try it as soon because it's very interesting. Why did you implement that now, just to know ? >> >> Cordialement, >> >> Olivier Cruilles > > Just because I had the idea last night, and that the implementation was > simple enough to please me. > > -- > 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 I have a few questions about the implementation: Would it be correct to include an endless loop in the Main() function and execute specific functions only when called from the main process? Can these functions have a return value? Would the executions of this functions be deferred (with an event raised when they return a value) or be blocking? What would happen if the main process is ended and a task has not yet finished it's work? Can en event been raised (with a hard coded timeout to end the execution the event if it takes to long)? Does the interpreter take advantage of multi(core/processors) systems? From gambas at ...1... Sat Aug 25 01:15:40 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Aug 2012 01:15:40 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... In-Reply-To: References: <5038021B.7050708@...1...> Message-ID: <50380B1C.40606@...1...> Le 25/08/2012 01:08, Jussi Lahtinen a ?crit : > I think I don't have enough time right now to go deeply into this, but I > have already done multithreading with Gambas. > One of my project has interface class which uses exec command to launch > command line program made with Gambas. > > Argument for the command line program describe what it should do. Like this: > hProcess = Exec ["gbr3", Application.Path &/ "cmdprog.gambas", > CStr(iWhatToDo)] For Input As "Process" > > Interface class has of course Process_Read event for the results. > > What I think would be needed is proper way to send more complex data for > the background process and back. > > As this mature, it is great new feature for Gambas! > > Jussi > Tasks are the same thing, but simpler to use that processes. And this is *not* multi-threading, but multi-processing. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 25 01:19:48 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 25 Aug 2012 02:19:48 +0300 Subject: [Gambas-user] Gambas is not multi-threaded, but... In-Reply-To: <50380B1C.40606@...1...> References: <5038021B.7050708@...1...> <50380B1C.40606@...1...> Message-ID: > Tasks are the same thing, but simpler to use that processes. > I will look into this later. > And this is *not* multi-threading, but multi-processing. > Oh yes, you are right. Jussi From jussi.lahtinen at ...626... Sat Aug 25 02:59:58 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 25 Aug 2012 03:59:58 +0300 Subject: [Gambas-user] An arbitrary precision calculator class Message-ID: Almost forgot... Some weeks(?) ago I noticed that people tend have problems with floating point precision (problem with all general purpose languages). So, I'll share my quick & dirty solution. Short but useful code if you need very precise numbers for math, but speed is not crucial. I personally use it for prototyping. This is for class (name it BcClass): Private hPro As Process Public Function _call(sFunc As String) As String Dim ss As String Print #hPro, sFunc Input #hPro, ss Return ss End Public Sub _new(Optional iPrecision As Integer = 100) hPro = Exec ["env", "BC_LINE_LENGTH=0", "bc"] For Read Write Print #hPro, "scale=" & CStr(iPrecision) End Public Sub Stop() hPro.Close() End This is how you use it: Dim Calculate As New BcClass(8) Print Calculate("1+2/7^2.4") 1.04081632 And when all calculations are done, end your code with "Calculate.Stop()". BTW. Is there some place for code snippets? Jussi From sebikul at ...626... Sat Aug 25 03:06:38 2012 From: sebikul at ...626... (Sebi) Date: Sat, 25 Aug 2012 01:06:38 +0000 Subject: [Gambas-user] An arbitrary precision calculator class In-Reply-To: References: Message-ID: <374154004-1345856796-cardhu_decombobulator_blackberry.rim.net-942630343-@...2914...> Great workaround!! I created a snippets page on the wiki some time ago, you will find a link on the main page. Feel free to add it there! -----Original Message----- From: Jussi Lahtinen Date: Sat, 25 Aug 2012 03:59:58 To: Gambas mailing list for users. Reply-To: mailing list for gambas users Subject: [Gambas-user] An arbitrary precision calculator class Almost forgot... Some weeks(?) ago I noticed that people tend have problems with floating point precision (problem with all general purpose languages). So, I'll share my quick & dirty solution. Short but useful code if you need very precise numbers for math, but speed is not crucial. I personally use it for prototyping. This is for class (name it BcClass): Private hPro As Process Public Function _call(sFunc As String) As String Dim ss As String Print #hPro, sFunc Input #hPro, ss Return ss End Public Sub _new(Optional iPrecision As Integer = 100) hPro = Exec ["env", "BC_LINE_LENGTH=0", "bc"] For Read Write Print #hPro, "scale=" & CStr(iPrecision) End Public Sub Stop() hPro.Close() End This is how you use it: Dim Calculate As New BcClass(8) Print Calculate("1+2/7^2.4") 1.04081632 And when all calculations are done, end your code with "Calculate.Stop()". BTW. Is there some place for code snippets? 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... Sat Aug 25 14:01:55 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 25 Aug 2012 15:01:55 +0300 Subject: [Gambas-user] An arbitrary precision calculator class In-Reply-To: <374154004-1345856796-cardhu_decombobulator_blackberry.rim.net-942630343-@...2914...> References: <374154004-1345856796-cardhu_decombobulator_blackberry.rim.net-942630343-@...2914...> Message-ID: I don't have account for Gambas wiki, can you grant it for me? Maybe I would put some other snippets there too. Jussi On 25 August 2012 04:06, Sebi wrote: > Great workaround!! > > I created a snippets page on the wiki some time ago, you will find a link > on the main page. Feel free to add it there! > -----Original Message----- > From: Jussi Lahtinen > Date: Sat, 25 Aug 2012 03:59:58 > To: Gambas mailing list for users. > Reply-To: mailing list for gambas users > > Subject: [Gambas-user] An arbitrary precision calculator class > > Almost forgot... Some weeks(?) ago I noticed that people tend have problems > with floating point precision (problem with all general purpose languages). > So, I'll share my quick & dirty solution. > > Short but useful code if you need very precise numbers for math, but speed > is not crucial. > I personally use it for prototyping. > > > This is for class (name it BcClass): > > Private hPro As Process > > Public Function _call(sFunc As String) As String > > Dim ss As String > > Print #hPro, sFunc > Input #hPro, ss > > Return ss > > End > > Public Sub _new(Optional iPrecision As Integer = 100) > > hPro = Exec ["env", "BC_LINE_LENGTH=0", "bc"] For Read Write > > Print #hPro, "scale=" & CStr(iPrecision) > > End > > Public Sub Stop() > > hPro.Close() > > End > > > > This is how you use it: > > Dim Calculate As New BcClass(8) > > Print Calculate("1+2/7^2.4") > > 1.04081632 > > And when all calculations are done, end your code with "Calculate.Stop()". > > > BTW. Is there some place for code snippets? > > > 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 gambas at ...1... Sat Aug 25 14:17:29 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Aug 2012 14:17:29 +0200 Subject: [Gambas-user] Small typos in XMLRPC code In-Reply-To: <50374ECA.2040706@...1740...> References: <50374ECA.2040706@...1740...> Message-ID: <5038C259.10809@...1...> Le 24/08/2012 11:52, Ron a ?crit : > > gambas/2.0/gb.xml/src/rpc/gb.xml.rpc: > > RpcClient.class: IF ME.Mode = RpcClient.httpAsync THEN RAISE > BadReply("Unable to contact with server, or bad reply from server") > RpcClient.class: Error.Raise("Unable to contact with server, or bad > reply from server") > > gambas/trunk/gb.xml/src/rpc/gb.xml.rpc/.src: > > RpcClient.class: If Me.Mode = RpcClient.httpAsync Then Raise > BadReply("Unable to contact with server, or bad reply from server") > RpcClient.class: Error.Raise("Unable to contact with server, or bad > reply from server") > > > "Unable to contact the server, or bad reply from server" > > Is better English I guess... > > Regards, > Ron_2nd. > OK. I will fix that in /trunk. But by reading the code, I think that many other error messages should be rewritten! Regards, -- Beno?t Minisini From girardhenri at ...67... Sat Aug 25 19:43:27 2012 From: girardhenri at ...67... (Girard Henri) Date: Sat, 25 Aug 2012 19:43:27 +0200 Subject: [Gambas-user] Gambas-3 & Ubuntu 12.10 Quantal In-Reply-To: <1345825375.9577.YahooMailClassic@...2789...> References: <1345825375.9577.YahooMailClassic@...2789...> Message-ID: Le 24. 08. 12 18:22, Ru Vuott a ?crit : >> It's very easy to compile gambas3 on quantal : >> sudo apt-get add-repository ppa:sebikul/gambas-daily >> sudo apt-get update >> sudo apt-get build-dep gambas3 >> you get the svn on gambas.sourceforge.net >> (maybe you will have to install subversion before : sudo >> apt-get install >> subversion) >> then follow the webpage for compiling gambas >> ./reconf-all >> ./configure --prefix=/usr (on ubuntu) >> make -j? (depending on the number of processor core) for me >> is -j4 >> sudo make install >> mostly you have to do svn up in trunk to get the latest >> version >> make and make install >> run fine :) >> > Hello, > > I followed your suggestion: the installation is been OK, but if I try to launch Gambas from /usr/local/bin/.... it doesen't run. > In that directory there are the following file: > - gambas3 (as link to gambas3.gambas); > - gambas3.gambas; > - gba3; > - gbc3; > - gbi3; > - gbr3; > - gbs3; > - gbs3.gambas; > - gbw3; > - gbx3. > > I can click on any of those, but IDE gambas doesn't run. > > Bye > vuottt > > ------------------------------------------------------------------------------ > 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 > > run it as gambas3 (if you made it at --prefix=/usr) make an icon with alacarte (menu application) From taboege at ...626... Sat Aug 25 20:51:11 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 25 Aug 2012 20:51:11 +0200 Subject: [Gambas-user] Stock.Icons: File or directory does not exist Message-ID: <20120825185111.GC509@...2774...> Hi, Hans encountered problems using Stock.Icons with the example from the docs[0]. I don't know what went wrong in his system but here, I get "File or directory does not exist" from Stock.Icons_Read(). The project is attached. Do you need additional information to fix this? Regards, Tobi [0] http://gambasdoc.org/help/comp/gb.form/stock/icons?v3 -------------- next part -------------- A non-text attachment was scrubbed... Name: IconView-0.0.2.tar.gz Type: application/octet-stream Size: 8929 bytes Desc: not available URL: From taboege at ...626... Sat Aug 25 20:58:52 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 25 Aug 2012 20:58:52 +0200 Subject: [Gambas-user] Invalid link to IconView on gambasdoc Message-ID: <20120825185852.GD509@...2774...> Hi, Hans had problems accessing the link to "IconView" at [0]. The URL is http://gambasdoc.org/help/comp/gb.qt/iconview?v3 but should be: http://gambasdoc.org/help/comp/gb.form/iconview?v3 I would correct this one but want to ask if it could be a bug or invalid data in some software there? Regards, Tobi [0] http://gambasdoc.org/help/comp/gb.form/stock/icons?v3 From taboege at ...626... Sat Aug 25 21:02:07 2012 From: taboege at ...626... (Tobias Boege) Date: Sat, 25 Aug 2012 21:02:07 +0200 Subject: [Gambas-user] Stock.Icons: File or directory does not exist In-Reply-To: <20120825185111.GC509@...2774...> References: <20120825185111.GC509@...2774...> Message-ID: <20120825190207.GE509@...2774...> On Sat, 25 Aug 2012, Tobias Boege wrote: > Hi, > > Hans encountered problems using Stock.Icons with the example from the > docs[0]. I don't know what went wrong in his system but here, I get > "File or directory does not exist" from Stock.Icons_Read(). > The project is attached. > > Do you need additional information to fix this? > > Regards, > Tobi > > [0] http://gambasdoc.org/help/comp/gb.form/stock/icons?v3 Arr, he just said that he solved the problem by inserting Stock.Refresh() before the loop. If this is the intended solution, please ignore this mail. From gambas at ...1... Sat Aug 25 21:28:50 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Aug 2012 21:28:50 +0200 Subject: [Gambas-user] Invalid link to IconView on gambasdoc In-Reply-To: <20120825185852.GD509@...2774...> References: <20120825185852.GD509@...2774...> Message-ID: <50392772.2040405@...1...> Le 25/08/2012 20:58, Tobias Boege a ?crit : > Hi, > > Hans had problems accessing the link to "IconView" at [0]. The URL is > http://gambasdoc.org/help/comp/gb.qt/iconview?v3 but should be: > http://gambasdoc.org/help/comp/gb.form/iconview?v3 > > I would correct this one but want to ask if it could be a bug or invalid > data in some software there? > > Regards, > Tobi > > [0] http://gambasdoc.org/help/comp/gb.form/stock/icons?v3 > Fixed. -- Beno?t Minisini From gambas at ...1... Sat Aug 25 21:29:26 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Aug 2012 21:29:26 +0200 Subject: [Gambas-user] Stock.Icons: File or directory does not exist In-Reply-To: <20120825190207.GE509@...2774...> References: <20120825185111.GC509@...2774...> <20120825190207.GE509@...2774...> Message-ID: <50392796.4080306@...1...> Le 25/08/2012 21:02, Tobias Boege a ?crit : > On Sat, 25 Aug 2012, Tobias Boege wrote: >> Hi, >> >> Hans encountered problems using Stock.Icons with the example from the >> docs[0]. I don't know what went wrong in his system but here, I get >> "File or directory does not exist" from Stock.Icons_Read(). >> The project is attached. >> >> Do you need additional information to fix this? >> >> Regards, >> Tobi >> >> [0] http://gambasdoc.org/help/comp/gb.form/stock/icons?v3 > > Arr, he just said that he solved the problem by inserting Stock.Refresh() > before the loop. If this is the intended solution, please ignore this mail. > This is a bug in Stock.Icons, it will be fixed in the next revision. Regards, -- Beno?t Minisini From willy at ...2734... Sat Aug 25 23:01:13 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 25 Aug 2012 23:01:13 +0200 Subject: [Gambas-user] Two question on creating a form with controls from code Message-ID: <1345928473.2601.22.camel@...2735...> Hi, I've been playing with creating forms from code and run into a few problem. Gambas documentation doesn't provide me the answer. 1. In IDE you have a form property Scaled (just below resizable) that can be set to True or False (see attached screenshot). When creating a form from code it seems impossible to set the Scaled property. Looked for it in the documentation but can't seem to find anything, or did I miss something? Example Dim FrmTest As New Form With FrmTest .Caption = "Test form" .AutoResize = False .Height = 360 .Width = 580 .TopOnly = True .Scaled = False '<==== this doen't work, so how does it work? .Center .Show End With 2. Font documentation is very unclear on how to set a font on a control created from code. http://www.gambasdoc.org/help/comp/gb.qt4/control/font?v3 Example: Dim FrmTest As New Form Dim lblTest As Label lblTest = New Label(FrmTest) With lblTest .Height = 20 .Width = 80 .X = 10 .Y = 10 .Text = "Text on Label test" .Font '<=== How do I set the font for example to MonoSans, 10 pt? End With Someone any hints, examples or links to a solution? Thanks, Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: Form-Scaled.png Type: image/png Size: 11553 bytes Desc: not available URL: From willy at ...2734... Sat Aug 25 23:13:22 2012 From: willy at ...2734... (Willy Raets) Date: Sat, 25 Aug 2012 23:13:22 +0200 Subject: [Gambas-user] Two question on creating a form with controls from code In-Reply-To: <1345928473.2601.22.camel@...2735...> References: <1345928473.2601.22.camel@...2735...> Message-ID: <1345929202.2601.25.camel@...2735...> On za, 2012-08-25 at 23:01 +0200, Willy Raets wrote: > .Text = "Text on Label test" > .Font '<=== How do I set the font for example to MonoSans, 10 pt? > End With I meant FreeSans, 10 pt instead of MonoSans (seem to have combined teh names of two fonts to one non existing font) From bbruen at ...2308... Sat Aug 25 23:30:53 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 26 Aug 2012 07:00:53 +0930 Subject: [Gambas-user] Two question on creating a form with controls from code In-Reply-To: <1345928473.2601.22.camel@...2735...> References: <1345928473.2601.22.camel@...2735...> Message-ID: <1345930253.5172.62.camel@...2688...> On Sat, 2012-08-25 at 23:01 +0200, Willy Raets wrote: > Hi, > > I've been playing with creating forms from code and run into a few > problem. Gambas documentation doesn't provide me the answer. > > 1. In IDE you have a form property Scaled (just below resizable) that > can be set to True or False (see attached screenshot). > When creating a form from code it seems impossible to set the Scaled > property. Looked for it in the documentation but can't seem to find > anything, or did I miss something? > Property Scaled As Boolean If the form and controls dimensions must follow the size of the default font. ! This property is virtual: it is only implemented in the IDE, and has no existence at runtime. > Example > > Dim FrmTest As New Form > With FrmTest > .Caption = "Test form" > .AutoResize = False > .Height = 360 > .Width = 580 > .TopOnly = True > .Scaled = False '<==== this doen't work, so how does it work? > .Center > .Show > End With > > 2. Font documentation is very unclear on how to set a font on a control > created from code. > http://www.gambasdoc.org/help/comp/gb.qt4/control/font?v3 > > Example: > > Dim FrmTest As New Form > Dim lblTest As Label > lblTest = New Label(FrmTest) > With lblTest > .Height = 20 > .Width = 80 > .X = 10 > .Y = 10 > .Text = "Text on Label test" > .Font '<=== How do I set the font for example to MonoSans, 10 pt? > End With > > Someone any hints, examples or links to a solution? > Me.Font = Font["Fudd,11"] Check the "This class acts like a read-only array." link in the Font class help hth Bruce From willy at ...2734... Sun Aug 26 00:03:59 2012 From: willy at ...2734... (Willy Raets) Date: Sun, 26 Aug 2012 00:03:59 +0200 Subject: [Gambas-user] Two question on creating a form with controls from code In-Reply-To: <1345930253.5172.62.camel@...2688...> References: <1345928473.2601.22.camel@...2735...> <1345930253.5172.62.camel@...2688...> Message-ID: <1345932239.2601.30.camel@...2735...> On zo, 2012-08-26 at 07:00 +0930, Bruce wrote: > On Sat, 2012-08-25 at 23:01 +0200, Willy Raets wrote: > > 1. In IDE you have a form property Scaled (just below resizable) that > > can be set to True or False (see attached screenshot). > > When creating a form from code it seems impossible to set the Scaled > > property. Looked for it in the documentation but can't seem to find > > anything, or did I miss something? > > > Property Scaled As Boolean > If the form and controls dimensions must follow the size of the default > font. > ! This property is virtual: it is only implemented in the IDE, and has > no existence at runtime. So you mean to say I can't set this property when making the form from code instead of IDE or am I misunderstanding? > >Dim FrmTest As New Form > > Dim lblTest As Label > > lblTest = New Label(FrmTest) > > With lblTest > > .Height = 20 > > .Width = 80 > > .X = 10 > > .Y = 10 > > .Text = "Text on Label test" > > .Font '<=== How do I set the font for example to MonoSans, 10 pt? > > End With > > > > Someone any hints, examples or links to a solution? > > > Me.Font = Font["Fudd,11"] > Check the "This class acts like a read-only array." link in the Font > class help This works well, thanks. Willy > > hth > Bruce > > From bbruen at ...2308... Sun Aug 26 00:56:07 2012 From: bbruen at ...2308... (Bruce) Date: Sun, 26 Aug 2012 08:26:07 +0930 Subject: [Gambas-user] Two question on creating a form with controls from code In-Reply-To: <1345932239.2601.30.camel@...2735...> References: <1345928473.2601.22.camel@...2735...> <1345930253.5172.62.camel@...2688...> <1345932239.2601.30.camel@...2735...> Message-ID: <1345935367.5172.66.camel@...2688...> On Sun, 2012-08-26 at 00:03 +0200, Willy Raets wrote: > On zo, 2012-08-26 at 07:00 +0930, Bruce wrote: > > On Sat, 2012-08-25 at 23:01 +0200, Willy Raets wrote: > > > 1. In IDE you have a form property Scaled (just below resizable) that > > > can be set to True or False (see attached screenshot). > > > When creating a form from code it seems impossible to set the Scaled > > > property. Looked for it in the documentation but can't seem to find > > > anything, or did I miss something? > > > > > Property Scaled As Boolean > > If the form and controls dimensions must follow the size of the default > > font. > > ! This property is virtual: it is only implemented in the IDE, and has > > no existence at runtime. > > So you mean to say I can't set this property when making the form from > code instead of IDE or am I misunderstanding? My understanding is that there is no point in setting it in code as it only has a meaning within the IDE. I admit that I don't really understand what it actually *does* in the IDE but then again I've never really had a need to set or unset it. B From gambas at ...1... Sun Aug 26 00:59:01 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 26 Aug 2012 00:59:01 +0200 Subject: [Gambas-user] Two question on creating a form with controls from code In-Reply-To: <1345935367.5172.66.camel@...2688...> References: <1345928473.2601.22.camel@...2735...> <1345930253.5172.62.camel@...2688...> <1345932239.2601.30.camel@...2735...> <1345935367.5172.66.camel@...2688...> Message-ID: <503958B5.2080403@...1...> Le 26/08/2012 00:56, Bruce a ?crit : > On Sun, 2012-08-26 at 00:03 +0200, Willy Raets wrote: >> On zo, 2012-08-26 at 07:00 +0930, Bruce wrote: >>> On Sat, 2012-08-25 at 23:01 +0200, Willy Raets wrote: >>>> 1. In IDE you have a form property Scaled (just below resizable) that >>>> can be set to True or False (see attached screenshot). >>>> When creating a form from code it seems impossible to set the Scaled >>>> property. Looked for it in the documentation but can't seem to find >>>> anything, or did I miss something? >>>> >>> Property Scaled As Boolean >>> If the form and controls dimensions must follow the size of the default >>> font. >>> ! This property is virtual: it is only implemented in the IDE, and has >>> no existence at runtime. >> >> So you mean to say I can't set this property when making the form from >> code instead of IDE or am I misunderstanding? > > My understanding is that there is no point in setting it in code as it > only has a meaning within the IDE. > I admit that I don't really understand what it actually *does* in the > IDE but then again I've never really had a need to set or unset it. > > B > Because that property just tells the IDE to use either Move() (Scaled = FALSE) or MoveScaled() (Scaled = TRUE) to define the position and the size of a control. -- Beno?t Minisini From richard.j.walker at ...247... Sun Aug 26 01:41:56 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 26 Aug 2012 00:41:56 +0100 Subject: [Gambas-user] DesktopWatcher doesn't watch... Message-ID: ... or it does but it just won't tell me what it sees:-( Using Gambas 3.1.1 on Mageia 2 64-bit with desktop (LXDE) spread across two monitors. I am trying various techniques to discover if a program starts on the desktop. My latest effort tries to use a desktop watcher set up as MyDesktopWatcher = New DestopWatcher(True) as "MyDesktopWatcher" As far as I can tell from the documentation I should be able to detect relevant screen activity with event handlers called MyDesktopWatcher_eventname(possible parameter). I have created all possible event handlers with action routines to simply print (to the console) the evidence that they have been triggered. So far nothing I have done has succeeded in triggering one of these events; shading, minimising, resizing, opening, all sorts of things. I have concluded that I must be misunderstanding how this works. Can anyone lighten my darkness? Richard From gambas at ...2524... Sun Aug 26 14:18:30 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 26 Aug 2012 12:18:30 +0000 Subject: [Gambas-user] Issue 317 in gambas: sqlite3 INTEGER type does not appear to be supported correctly Message-ID: <0-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.2.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 317 by ron.mcin... at ...626...: sqlite3 INTEGER type does not appear to be supported correctly http://code.google.com/p/gambas/issues/detail?id=317 1) Describe the problem. When using an externally defined sqlite3 DB types declared as "INTEGER" do not function correctly whereas types declared as INT4 do. Performing an assignment into a field of type "INTEGER" does not work (and does not raise any exception) i.e. the field remains null after an apparently successful assignment. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.2.1 Operating system: Linux Distribution: Mint MDE (Debian based) Architecture: x86 GUI component: N/A Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. Attached. 4) If your project needs a database, try to provide it, or part of it. Tested using a small sqlite3 DB (generated from the command line version of sqlite3 using the following SQL code). DROP TABLE IF EXISTS "test"; CREATE TABLE "test" ("id" INTEGER PRIMARY KEY NOT NULL , "num" INTEGER NOT NULL , "test" TEXT, "idn" INTEGER, "idn4" INT4); test.sqlite and test.sql are located in the projects home directory. 5) Explain clearly how to reproduce the bug or the crash. Run the project which will fail on the DB update and allow you to verify that the idn field remains null whilst the idn4 field has been updated. Attachments: DemoError.tar.gz 5.8 KB From karl.reinl at ...9... Sun Aug 26 18:50:28 2012 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 26 Aug 2012 18:50:28 +0200 Subject: [Gambas-user] new GTK+ problems Message-ID: <1345999828.4387.12.camel@...40...> Salut Beno?t, the attached project starts well if QT is used. When switched to gtk the form crashes and keeps collapsed, and when you try to expand you earn a #11 (I stripped all dependencies, because the problem is at startup ) Happens on both systems : [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.2.90 rev.5075 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 ------------------------------------------------- [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.5079 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: DBReportDesigner3-0.3.100.tar.gz Type: application/x-compressed-tar Size: 139118 bytes Desc: not available URL: From gambas.fr at ...626... Sun Aug 26 19:46:43 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 26 Aug 2012 19:46:43 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <1345999828.4387.12.camel@...40...> References: <1345999828.4387.12.camel@...40...> Message-ID: 2012/8/26 Karl Reinl : > Salut Beno?t, > > the attached project starts well if QT is used. > When switched to gtk the form crashes and keeps collapsed, and when you > try to expand you earn a #11 > (I stripped all dependencies, because the problem is at startup ) well all is work fine for me in qt and gtk ! [System] OperatingSystem=Linux Kernel=3.4.7-1-ARCH Architecture=x86_64 Memory=3956516 kB DistributionVendor=arch DistributionRelease=n/a Desktop=KDE4 [Gambas 3] Version=3.2.0 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.2 GTK+=libgtk-x11-2.0.so.0.2400.11 archlinux last svn 5081 > > > Happens on both systems : > > [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.2.90 rev.5075 > Path=/usr/local/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.6.2 > GTK+=libgtk-x11-2.0.so.0.2000.1 > > ------------------------------------------------- > > [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.5079 > Path=/usr/local/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.8.1 > GTK+=libgtk-x11-2.0.so.0.2400.10 > > -- > 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 > -- Fabien Bodard From gambas at ...1... Sun Aug 26 20:01:47 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 26 Aug 2012 20:01:47 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <1345999828.4387.12.camel@...40...> References: <1345999828.4387.12.camel@...40...> Message-ID: <503A648B.2050408@...1...> Le 26/08/2012 18:50, Karl Reinl a ?crit : > Salut Beno?t, > > the attached project starts well if QT is used. > When switched to gtk the form crashes and keeps collapsed, and when you > try to expand you earn a #11 > (I stripped all dependencies, because the problem is at startup ) > > I confirm the crash. And I confirm that your application creates a directory in the user home directory, which is a bad thing. Either you create an hidden directory in the user home directory, or far better, you use the freedesktop standards: - .config for the configuration directory. - .local/share for the data. Regards, -- Beno?t Minisini From gambas at ...1... Sun Aug 26 20:07:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 26 Aug 2012 20:07:42 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <503A648B.2050408@...1...> References: <1345999828.4387.12.camel@...40...> <503A648B.2050408@...1...> Message-ID: <503A65EE.3000708@...1...> Le 26/08/2012 20:01, Beno?t Minisini a ?crit : > Le 26/08/2012 18:50, Karl Reinl a ?crit : >> Salut Beno?t, >> >> the attached project starts well if QT is used. >> When switched to gtk the form crashes and keeps collapsed, and when you >> try to expand you earn a #11 >> (I stripped all dependencies, because the problem is at startup ) >> >> > > I confirm the crash. > > And I confirm that your application creates a directory in the user home > directory, which is a bad thing. > > Either you create an hidden directory in the user home directory, or far > better, you use the freedesktop standards: > - .config for the configuration directory. > - .local/share for the data. > > Regards, > I have fixed the crash. Now I have to find why the window starts with a null dimension. Anyway, your resizing method is far from optimal! Use the Move() method instead of setting X, Y, Width and Height one by one. Regards, -- Beno?t Minisini From gambas.fr at ...626... Sun Aug 26 20:10:25 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 26 Aug 2012 20:10:25 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <503A65EE.3000708@...1...> References: <1345999828.4387.12.camel@...40...> <503A648B.2050408@...1...> <503A65EE.3000708@...1...> Message-ID: 2012/8/26 Beno?t Minisini : > Le 26/08/2012 20:01, Beno?t Minisini a ?crit : >> Le 26/08/2012 18:50, Karl Reinl a ?crit : >>> Salut Beno?t, >>> >>> the attached project starts well if QT is used. >>> When switched to gtk the form crashes and keeps collapsed, and when you >>> try to expand you earn a #11 >>> (I stripped all dependencies, because the problem is at startup ) >>> >>> >> >> I confirm the crash. >> >> And I confirm that your application creates a directory in the user home >> directory, which is a bad thing. >> >> Either you create an hidden directory in the user home directory, or far >> better, you use the freedesktop standards: >> - .config for the configuration directory. >> - .local/share for the data. >> >> Regards, >> > > I have fixed the crash. Now I have to find why the window starts with a > null dimension. Anyway, your resizing method is far from optimal! Use > the Move() method instead of setting X, Y, Width and Height one by one. > > 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 that is funny ... i've gb3 3.2.0 on a more recent rev than you and you you have 3.2.90 ???? -- Fabien Bodard From Karl.Reinl at ...2345... Sun Aug 26 21:05:48 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 26 Aug 2012 21:05:48 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <503A65EE.3000708@...1...> References: <1345999828.4387.12.camel@...40...> <503A648B.2050408@...1...> <503A65EE.3000708@...1...> Message-ID: <1346007948.2439.7.camel@...40...> Am Sonntag, den 26.08.2012, 20:07 +0200 schrieb Beno?t Minisini: > Le 26/08/2012 20:01, Beno?t Minisini a ?crit : > > Le 26/08/2012 18:50, Karl Reinl a ?crit : > >> Salut Beno?t, > >> > >> the attached project starts well if QT is used. > >> When switched to gtk the form crashes and keeps collapsed, and when you > >> try to expand you earn a #11 > >> (I stripped all dependencies, because the problem is at startup ) > >> > >> > > > > I confirm the crash. > > > > And I confirm that your application creates a directory in the user home > > directory, which is a bad thing. > > > > Either you create an hidden directory in the user home directory, or far > > better, you use the freedesktop standards: > > - .config for the configuration directory. > > - .local/share for the data. > > > > Regards, > > > > I have fixed the crash. Now I have to find why the window starts with a > null dimension. Anyway, your resizing method is far from optimal! Use > the Move() method instead of setting X, Y, Width and Height one by one. > > Regards, > Salut, 80 % of that code was written with gambas1, I made it run with gambas2 Now I have to push it to gambas3. But speed never where the problem! Thanks -- Amicalement Charlie From Karl.Reinl at ...2345... Sun Aug 26 21:12:19 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 26 Aug 2012 21:12:19 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: References: <1345999828.4387.12.camel@...40...> Message-ID: <1346008339.2439.9.camel@...40...> Am Sonntag, den 26.08.2012, 19:46 +0200 schrieb Fabien Bodard: > 2012/8/26 Karl Reinl : > > Salut Beno?t, > > > > the attached project starts well if QT is used. > > When switched to gtk the form crashes and keeps collapsed, and when you > > try to expand you earn a #11 > > (I stripped all dependencies, because the problem is at startup ) > > well all is work fine for me in qt and gtk ! > > [System] > OperatingSystem=Linux > Kernel=3.4.7-1-ARCH > Architecture=x86_64 > Memory=3956516 kB > DistributionVendor=arch > DistributionRelease=n/a > Desktop=KDE4 > > [Gambas 3] > Version=3.2.0 > Path=/usr/local/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.8.2 > GTK+=libgtk-x11-2.0.so.0.2400.11 > > > archlinux > last svn 5081 > > Salut Fabien, one more time Beno?t was to quick for us! ;-) -- Amicalement Charlie From richard.j.walker at ...247... Sun Aug 26 21:27:58 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sun, 26 Aug 2012 20:27:58 +0100 Subject: [Gambas-user] DesktopWatcher doesn't watch... In-Reply-To: References: Message-ID: There is more to this problem than I first thought. It is not just DesktopWatcher that I do not understand, but some of Desktop and DesktopWindow too. I have built a quick'n'dirty test harness to display some of the difficulties I have encountered. It is attached. It may be simplest to list what I can use with some confidence that it will work as expected and not crash. 1. Read all Desktop static properties and suspend/resume the screen saver 2. Use Desktop static method SendKeys (I have not tried Open, OpenTerminal, RunAsRoot , SendMail) 3. Use DesktopWindow properties; Desktop, Id, Name (I have not tried any of the methods Close, GetIcon, Move, Refresh, Resize) The test program will: (a) Try to implement a DesktopWatcher, trapping all events (b) Try to list all desktop windows (c) Try to list windows with names matching a pattern (d) Try to activate the screensaver for 5 seconds (e) Identify the currently active window (f) Identify the current desktop and the total number of desktops (a) will fail with no indication that anything is wrong. Could be I am not doing it correctly. (b) uses two methods. One will fail to list any windows opened after the test program starts. The other will, from time to time, produce a swift and silent death from an X error, but when it works it can find more windows than the first method. (c) Always works, if the first method of (b) is used to iterate through the windows - so sadly it will fail if the window you are searching for was opened after the test program starts. Using the second method from (b) it will sometimes work, but there are quite a few patterns it doesn't like looking for. (d) Just doesn't seem to do anything - it neither works nor throws a hissy fit. (e) and (f) look to be too simple to fail, and they don't. [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: WindowExplorer-0.0.3.tar.gz Type: application/x-gzip Size: 7640 bytes Desc: not available URL: From gambas.fr at ...626... Sun Aug 26 22:50:41 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 26 Aug 2012 22:50:41 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <1346008339.2439.9.camel@...40...> References: <1345999828.4387.12.camel@...40...> <1346008339.2439.9.camel@...40...> Message-ID: > Salut Fabien, > > one more time Beno?t was to quick for us! ;-) > yes i've just the time to read his code lol > > -- > 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 -- Fabien Bodard From christian.faurebouvard at ...626... Mon Aug 27 00:11:24 2012 From: christian.faurebouvard at ...626... (cfb95) Date: Sun, 26 Aug 2012 22:11:24 +0000 (UTC) Subject: [Gambas-user] Gambas for Android References: <1333951959.2364.18.camel@...2811...> <1334052446.30128.8.camel@...2672...> <4F841A11.30704@...626...> <1334067574.31696.11.camel@...2672...> <4F84BCB4.5010103@...626...> <5034972A.6020104@...1887...> <1345655102.3279.15.camel@...1833...> <503511D4.4090909@...1...> <1345716130.5051.5.camel@...1833...> Message-ID: > Here is a screen shot if your interested. > > http://files.allbasic.info/ScriptBasic/uxPC.png > Hi, John your screen look very good! i've an old ubuntu (ubuntu 9) "chrooted" on android, after uninstall the old Gambas 2.13.1 included in olds repos, i've downloaded and recompiled Gambas 2.24 and now it is working! Compilation of Gambas3 has failed due to missing newer libraries on olds repos. From gambas at ...1... Mon Aug 27 02:29:09 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 27 Aug 2012 02:29:09 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <1345999828.4387.12.camel@...40...> References: <1345999828.4387.12.camel@...40...> Message-ID: <503ABF55.8060809@...1...> Le 26/08/2012 18:50, Karl Reinl a ?crit : > Salut Beno?t, > > the attached project starts well if QT is used. > When switched to gtk the form crashes and keeps collapsed, and when you > try to expand you earn a #11 > (I stripped all dependencies, because the problem is at startup ) > > Hi, Your project should behave better with revision #5082. The main window collapses while GTK+ enumerates the printer installed on the system! No idea why, but it's magically gone as soon as I fixed some problems in the Splitter. No idea why too... Anyway, your project does enough horrible GUI things to find many other problems in gb.gtk! :-) Regards, -- Beno?t Minisini From gambas at ...2524... Mon Aug 27 04:55:20 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Aug 2012 02:55:20 +0000 Subject: [Gambas-user] Issue 317 in gambas: sqlite3 INTEGER type does not appear to be supported correctly In-Reply-To: <0-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 317 by benoit.m... at ...626...: sqlite3 INTEGER type does not appear to be supported correctly http://code.google.com/p/gambas/issues/detail?id=317 "INTEGER" fields as assumed to be "serial" fields by Gambas. I will fix that by checking that "AUTOINCREMENT" is specified too in it. But beware you must always be careful when creating a database outside of Gambas and using it through the database component. The native database <-> Gambas datatype translation cannot be bijective! From gambas at ...2524... Mon Aug 27 04:58:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Aug 2012 02:58:10 +0000 Subject: [Gambas-user] Issue 317 in gambas: sqlite3 INTEGER type does not appear to be supported correctly In-Reply-To: <1-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> <0-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 317 by benoit.m... at ...626...: sqlite3 INTEGER type does not appear to be supported correctly http://code.google.com/p/gambas/issues/detail?id=317 Fixed in revision #5083. From rightengineer at ...626... Mon Aug 27 05:32:43 2012 From: rightengineer at ...626... (rightengineer) Date: Mon, 27 Aug 2012 09:02:43 +0530 Subject: [Gambas-user] help gb.chart Message-ID: Has any one documented help for gb.chart? From gambas.fr at ...626... Mon Aug 27 07:47:16 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 27 Aug 2012 07:47:16 +0200 Subject: [Gambas-user] help gb.chart In-Reply-To: References: Message-ID: 2012/8/27 rightengineer : > Has any one documented help for gb.chart? hem :/ ... no but maybe i can help you ? > > ------------------------------------------------------------------------------ > 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 rightengineer at ...626... Mon Aug 27 10:39:14 2012 From: rightengineer at ...626... (rightengineer) Date: Mon, 27 Aug 2012 14:09:14 +0530 Subject: [Gambas-user] help gb.chart In-Reply-To: References: Message-ID: Thanks for response Fabien... can you share any working example using gb.chart. I tried the attached code but it does not work and there is no documentation which I can refer and write code. What I want to is plot X-Y Line Graph, I tried using the draw function using "line draw" and I could do some basic graphs But I prefer if I could use the "Chart" class (gb.chart) Thanks in advance Jay On Mon, Aug 27, 2012 at 11:17 AM, Fabien Bodard wrote: > 2012/8/27 rightengineer : >> Has any one documented help for gb.chart? > > hem :/ ... no but maybe i can help you ? > >> >> ------------------------------------------------------------------------------ >> 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 > > ------------------------------------------------------------------------------ > 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: How To make a chart with the gb.pdf Type: application/pdf Size: 122197 bytes Desc: not available URL: From gambas at ...2524... Mon Aug 27 11:34:32 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Aug 2012 09:34:32 +0000 Subject: [Gambas-user] Issue 312 in gambas: gl.2D gl.3D constatnts not accepted by IDE In-Reply-To: <1-6813199134517018827-4930371889065883090-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4930371889065883090-gambas=googlecode.com@...2524...> <0-6813199134517018827-4930371889065883090-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4930371889065883090-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 312 by benoit.m... at ...626...: gl.2D gl.3D constatnts not accepted by IDE http://code.google.com/p/gambas/issues/detail?id=312 Fixed in revision #5084. All constants beginning with a digit get a synonymous beginning with an underscore. From gambas.fr at ...626... Mon Aug 27 12:21:38 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 27 Aug 2012 12:21:38 +0200 Subject: [Gambas-user] help gb.chart In-Reply-To: References: Message-ID: this a demo 2012/8/27 rightengineer : > Thanks for response Fabien... > > can you share any working example using gb.chart. I tried the attached > code but it does not work and there is no documentation which I can > refer and write code. > > What I want to is plot X-Y Line Graph, I tried using the draw function > using "line draw" and I could do some basic graphs But I prefer if I > could use the "Chart" class (gb.chart) > > Thanks in advance > Jay > > > On Mon, Aug 27, 2012 at 11:17 AM, Fabien Bodard wrote: >> 2012/8/27 rightengineer : >>> Has any one documented help for gb.chart? >> >> hem :/ ... no but maybe i can help you ? >> >>> >>> ------------------------------------------------------------------------------ >>> 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 >> >> ------------------------------------------------------------------------------ >> 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 > -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: ChartDemo-0.0.1.tar.gz Type: application/x-gzip Size: 4842 bytes Desc: not available URL: From gambas at ...2524... Mon Aug 27 14:37:17 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Aug 2012 12:37:17 +0000 Subject: [Gambas-user] Issue 317 in gambas: sqlite3 INTEGER type does not appear to be supported correctly In-Reply-To: <2-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> <0-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-6196657599244869720-gambas=googlecode.com@...2524...> Comment #3 on issue 317 by ron.mcin... at ...626...: sqlite3 INTEGER type does not appear to be supported correctly http://code.google.com/p/gambas/issues/detail?id=317 Thanks for your usual fast response. I'm using Gambas to get round some missing features in Griffith (the movie DB) and as it happens it is happy to work with the DB being modified to be INT4 so my problem has effectively gone away. From gambas at ...2524... Mon Aug 27 14:49:45 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Aug 2012 12:49:45 +0000 Subject: [Gambas-user] Issue 47 in gambas: Make code pretty tool button clears breakpoints In-Reply-To: <6-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> <0-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #7 on issue 47 by benoit.m... at ...626...: Make code pretty tool button clears breakpoints http://code.google.com/p/gambas/issues/detail?id=47 Fixed in revision #5085. Bookmarks are preserved too. From Karl.Reinl at ...2345... Mon Aug 27 16:51:38 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 27 Aug 2012 16:51:38 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <503ABF55.8060809@...1...> References: <1345999828.4387.12.camel@...40...> <503ABF55.8060809@...1...> Message-ID: <1346079098.3051.10.camel@...40...> Am Montag, den 27.08.2012, 02:29 +0200 schrieb Beno?t Minisini: > Le 26/08/2012 18:50, Karl Reinl a ?crit : > > Salut Beno?t, > > > > the attached project starts well if QT is used. > > When switched to gtk the form crashes and keeps collapsed, and when you > > try to expand you earn a #11 > > (I stripped all dependencies, because the problem is at startup ) > > > > > > Hi, > > Your project should behave better with revision #5082. > > The main window collapses while GTK+ enumerates the printer installed on > the system! No idea why, but it's magically gone as soon as I fixed some > problems in the Splitter. No idea why too... > > Anyway, your project does enough horrible GUI things to find many other > problems in gb.gtk! :-) > > Regards, > Salut Beno?t, ok, no more crash, but no open keeps collapsed. But I found another short project who has a huge output on gtk. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: withGTK-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4766 bytes Desc: not available URL: From gambas at ...1... Mon Aug 27 16:55:58 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 27 Aug 2012 16:55:58 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <1346079098.3051.10.camel@...40...> References: <1345999828.4387.12.camel@...40...> <503ABF55.8060809@...1...> <1346079098.3051.10.camel@...40...> Message-ID: <503B8A7E.9060709@...1...> Le 27/08/2012 16:51, Charlie Reinl a ?crit : > Salut Beno?t, > > ok, no more crash, but no open keeps collapsed. I don't understand that sentence. > > But I found another short project who has a huge output on gtk. > I will look at it... -- Beno?t Minisini From gambas at ...1... Mon Aug 27 16:58:14 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 27 Aug 2012 16:58:14 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <503B8A7E.9060709@...1...> References: <1345999828.4387.12.camel@...40...> <503ABF55.8060809@...1...> <1346079098.3051.10.camel@...40...> <503B8A7E.9060709@...1...> Message-ID: <503B8B06.7060608@...1...> Le 27/08/2012 16:55, Beno?t Minisini a ?crit : > Le 27/08/2012 16:51, Charlie Reinl a ?crit : >> Salut Beno?t, >> >> ok, no more crash, but no open keeps collapsed. > > I don't understand that sentence. > >> >> But I found another short project who has a huge output on gtk. >> > > I will look at it... > Mmm. No GTK+ message at all on my system... -- Beno?t Minisini From gambas at ...2524... Mon Aug 27 17:51:47 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Aug 2012 15:51:47 +0000 Subject: [Gambas-user] Issue 318 in gambas: GTK only: click listbox. listbox.text not current line. Message-ID: <0-6813199134517018827-3617301926725403762-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK5084 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-GTK New issue 318 by charlesg... at ...626...: GTK only: click listbox. listbox.text not current line. http://code.google.com/p/gambas/issues/detail?id=318 1) Describe the problem. when clicking on a listbox line for first time, listbox.text does not reflect the current line but the first line of the list. GTK only. QT works ok. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=3.0.0-12-generic Architecture=i686 Memory=1802748 kB DistributionVendor=LinuxMint DistributionRelease="Linux Mint 12 LXDE" Desktop=Unknown [Gambas 3] Version=3.2.90 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.4 GTK+=libgtk-x11-2.0.so.0.2400.6 Attachments: tListBoxBug-0.0.1.tar 20.0 KB From Karl.Reinl at ...2345... Mon Aug 27 19:16:39 2012 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 27 Aug 2012 19:16:39 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <503B8B06.7060608@...1...> References: <1345999828.4387.12.camel@...40...> <503ABF55.8060809@...1...> <1346079098.3051.10.camel@...40...> <503B8A7E.9060709@...1...> <503B8B06.7060608@...1...> Message-ID: <1346087799.2466.35.camel@...40...> Am Montag, den 27.08.2012, 16:58 +0200 schrieb Beno?t Minisini: > Le 27/08/2012 16:55, Beno?t Minisini a ?crit : > > Le 27/08/2012 16:51, Charlie Reinl a ?crit : > >> Salut Beno?t, > >> > >> ok, no more crash, but no open keeps collapsed. > > > > I don't understand that sentence. > > > >> > >> But I found another short project who has a huge output on gtk. > >> > > > > I will look at it... > > > > Mmm. No GTK+ message at all on my system... > Sorry, here also, I made a test with new created user. Seams to be something wrong with the users-config for gtk+ ... any Idea? -- Amicalement Charlie From gambas at ...1... Mon Aug 27 19:37:16 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 27 Aug 2012 19:37:16 +0200 Subject: [Gambas-user] new GTK+ problems In-Reply-To: <1346087799.2466.35.camel@...40...> References: <1345999828.4387.12.camel@...40...> <503ABF55.8060809@...1...> <1346079098.3051.10.camel@...40...> <503B8A7E.9060709@...1...> <503B8B06.7060608@...1...> <1346087799.2466.35.camel@...40...> Message-ID: <503BB04C.3030104@...1...> Le 27/08/2012 19:16, Charlie Reinl a ?crit : > Am Montag, den 27.08.2012, 16:58 +0200 schrieb Beno?t Minisini: >> Le 27/08/2012 16:55, Beno?t Minisini a ?crit : >>> Le 27/08/2012 16:51, Charlie Reinl a ?crit : >>>> Salut Beno?t, >>>> >>>> ok, no more crash, but no open keeps collapsed. >>> >>> I don't understand that sentence. >>> >>>> >>>> But I found another short project who has a huge output on gtk. >>>> >>> >>> I will look at it... >>> >> >> Mmm. No GTK+ message at all on my system... >> > Sorry, here also, I made a test with new created user. > Seams to be something wrong with the users-config for gtk+ ... any Idea? > The widget theme? -- Beno?t Minisini From gambas at ...2524... Mon Aug 27 20:13:10 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Aug 2012 18:13:10 +0000 Subject: [Gambas-user] Issue 318 in gambas: GTK only: click listbox. listbox.text not current line. In-Reply-To: <0-6813199134517018827-3617301926725403762-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3617301926725403762-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3617301926725403762-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version-TRUNK5084 Version-TRUNK Comment #1 on issue 318 by benoit.m... at ...626...: GTK only: click listbox. listbox.text not current line. http://code.google.com/p/gambas/issues/detail?id=318 I think the problem comes from double-click detection. I.e., if you click slowly, the ListBox answers as expected... From gambas at ...2524... Mon Aug 27 22:10:47 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Aug 2012 20:10:47 +0000 Subject: [Gambas-user] Issue 318 in gambas: GTK only: click listbox. listbox.text not current line. In-Reply-To: <1-6813199134517018827-3617301926725403762-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3617301926725403762-gambas=googlecode.com@...2524...> <0-6813199134517018827-3617301926725403762-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3617301926725403762-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 318 by benoit.m... at ...626...: GTK only: click listbox. listbox.text not current line. http://code.google.com/p/gambas/issues/detail?id=318 It should be fixed in revision #5086. From willy at ...2734... Mon Aug 27 22:48:16 2012 From: willy at ...2734... (Willy Raets) Date: Mon, 27 Aug 2012 22:48:16 +0200 Subject: [Gambas-user] Question on autohelp in IDE and libaries. Message-ID: <1346100496.2156.5.camel@...2735...> Hi all, Hope someone can help with this one. Seems to me an undocumented feature :-) Intro to the question: When typing Me.Close in IDE code window you get this autohelp function (is there a name for it) that displays Close information (see Screen Info-01.png). I have made a library called SysInfo and when typing SysInfo.ReadAllInfo the autohelp displays no extra info on the method. (see Screen Info-02.png). Question: 1. Is it possible for me to have some extra info on the method displayed in the autohelp? 2. If yes, how do I need to set this up? Please, provide simple example. Thanks, Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: Info-01.png Type: image/png Size: 24649 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Info-02.png Type: image/png Size: 32140 bytes Desc: not available URL: From gambas at ...1... Mon Aug 27 23:00:19 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 27 Aug 2012 23:00:19 +0200 Subject: [Gambas-user] DesktopWatcher doesn't watch... In-Reply-To: References: Message-ID: <503BDFE3.1050200@...1...> Le 26/08/2012 21:27, RICHARD WALKER a ?crit : > There is more to this problem than I first thought. It is not just > DesktopWatcher that I do not understand, but some of Desktop and > DesktopWindow too. > > I have built a quick'n'dirty test harness to display some of the > difficulties I have encountered. It is attached. > > It may be simplest to list what I can use with some confidence that it > will work as expected and not crash. > > 1. Read all Desktop static properties and suspend/resume the screen saver > 2. Use Desktop static method SendKeys (I have not tried Open, > OpenTerminal, RunAsRoot , SendMail) > 3. Use DesktopWindow properties; Desktop, Id, Name (I have not tried > any of the methods Close, GetIcon, Move, Refresh, Resize) > > The test program will: > (a) Try to implement a DesktopWatcher, trapping all events > (b) Try to list all desktop windows > (c) Try to list windows with names matching a pattern > (d) Try to activate the screensaver for 5 seconds > (e) Identify the currently active window > (f) Identify the current desktop and the total number of desktops > > > (a) will fail with no indication that anything is wrong. Could be I am > not doing it correctly. > (b) uses two methods. One will fail to list any windows opened after > the test program starts. The other will, from time to time, produce a > swift and silent death from an X error, but when it works it can find > more windows than the first method. > (c) Always works, if the first method of (b) is used to iterate > through the windows - so sadly it will fail if the window you are > searching for was opened after the test program starts. Using the > second method from (b) it will sometimes work, but there are quite a > few patterns it doesn't like looking for. > (d) Just doesn't seem to do anything - it neither works nor throws a hissy fit. > (e) and (f) look to be too simple to fail, and they don't. > I tried with KDE, and everything seems to work as expected. Maybe LXDE does not support some properties the KDE window manager defined on the Root window? -- Beno?t Minisini From richard.j.walker at ...247... Tue Aug 28 01:08:05 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Tue, 28 Aug 2012 00:08:05 +0100 Subject: [Gambas-user] DesktopWatcher doesn't watch... In-Reply-To: <503BDFE3.1050200@...1...> References: <503BDFE3.1050200@...1...> Message-ID: Good evening Beno?t, No doubt you are right. I thought it might be connected with the level of support in LXDE for xdg and the Portland project (I wish I knew what that means) but I got the same results with other xdg compliant desktops; IceWM, awesome, and a couple of others I can't remember now. I still have the 3.1.1 source on another machine from when I backported the fix you provided for xinerama desktop screen position saving (I think) so I will try searching through that to find out how the "missing" features are implemented for KDE/Gnome and see if there is a more agnostic way of doing the same for LXDE and the rest. Thank you for your attention to this. I'll report back if I get anywhere interesting, but don't hold your breath:-) Richard From gambas at ...1... Tue Aug 28 01:10:21 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Aug 2012 01:10:21 +0200 Subject: [Gambas-user] DesktopWatcher doesn't watch... In-Reply-To: References: <503BDFE3.1050200@...1...> Message-ID: <503BFE5D.8020406@...1...> Le 28/08/2012 01:08, RICHARD WALKER a ?crit : > Good evening Beno?t, > No doubt you are right. I thought it might be connected with the level > of support in LXDE for xdg and the Portland project (I wish I knew > what that means) but I got the same results with other xdg compliant > desktops; IceWM, awesome, and a couple of others I can't remember now. > > I still have the 3.1.1 source on another machine from when I > backported the fix you provided for xinerama desktop screen position > saving (I think) so I will try searching through that to find out how > the "missing" features are implemented for KDE/Gnome and see if there > is a more agnostic way of doing the same for LXDE and the rest. > > Thank you for your attention to this. I'll report back if I get > anywhere interesting, but don't hold your breath:-) > > Richard > I will return to the gb.desktop component which is not finished, but not yet! -- Beno?t Minisini From richard.j.walker at ...247... Tue Aug 28 01:50:41 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Tue, 28 Aug 2012 00:50:41 +0100 Subject: [Gambas-user] DesktopWatcher doesn't watch... In-Reply-To: <503BFE5D.8020406@...1...> References: <503BDFE3.1050200@...1...> <503BFE5D.8020406@...1...> Message-ID: So it's a race then :-)) Not taking any bets though. R From bbruen at ...2308... Tue Aug 28 04:08:28 2012 From: bbruen at ...2308... (Bruce) Date: Tue, 28 Aug 2012 11:38:28 +0930 Subject: [Gambas-user] DesktopWatcher doesn't watch... In-Reply-To: References: Message-ID: <1346119708.5170.29.camel@...2688...> Hi Richard, I tried your program here: [System] OperatingSystem=Linux Kernel=2.6.38.8-pclos3.bfs Architecture=i686 Memory=1553368 kB DistributionVendor=PCLinuxOS DistributionRelease="PCLinuxOS" Desktop=LXDE [Gambas 3] Version=3.2.90 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.2 GTK+=libgtk-x11-2.0.so.0.2400.10 and dont seem to get the same results as you. On Sun, 2012-08-26 at 20:27 +0100, RICHARD WALKER wrote: > The test program will: > (a) Try to implement a DesktopWatcher, trapping all events > (b) Try to list all desktop windows > (c) Try to list windows with names matching a pattern > (d) Try to activate the screensaver for 5 seconds > (e) Identify the currently active window > (f) Identify the current desktop and the total number of desktops > > > (a) will fail with no indication that anything is wrong. Could be I am > not doing it correctly. Looks fine to me. Breakpointing at the line after WindowWatcher = New DesktopWatcher(True) As "WindowWatcher" the debugger show me a perfectly valid WindowWatcher object. > (b) uses two methods. One will fail to list any windows opened after > the test program starts. The other will, from time to time, produce a > swift and silent death from an X error, but when it works it can find > more windows than the first method. Both buttons give me the same window list and I haven't been able to reproduce "a swift and silent death". However I do see the following console output: X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x209480e2 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x6c6f7645 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x6f697475 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x2a0006e X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x209480e2 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x209480e2 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x6c6f7645 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x6c6f7645 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x6f697475 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x6f697475 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x2a0006e X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x2a0006e > (c) Always works, if the first method of (b) is used to iterate > through the windows - so sadly it will fail if the window you are > searching for was opened after the test program starts. Using the > second method from (b) it will sometimes work, but there are quite a > few patterns it doesn't like looking for. Some strangeness here. The left hand button always works and gives the correct list. The right hand button always works but does miss some windows in the results - consistently (and always the same ones). So it looks like Desktop.FindWindow(pattern) isn't too good on LXDE. On thinking about this, I recall that I had a problem a few weeks ago with this as well. What is strange here is the properties revealed by xprop don't seem to match expectation. [bb at ...2711... ~]$ xprop|grep WM_ WM_STATE(WM_STATE): WM_CLIENT_LEADER(WINDOW): window id # 0x2e00004 WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, WM_NAME(STRING) = "Gambas project "TO DO" manager" WM_LOCALE_NAME(STRING) = "en_AU.UTF-8" WM_CLASS(STRING) = "tasklister2.gambas", "Tasklister2.gambas" WM_HINTS(WM_HINTS): WM_NORMAL_HINTS(WM_SIZE_HINTS): WM_CLIENT_MACHINE(STRING) = "bluecow.phnet" WM_COMMAND(STRING) = { "/usr/local/bin/tasklister2.gambas" } There is no WM_WINDOW_ROLE! Maybe that is why those X errors above occur? > (d) Just doesn't seem to do anything - it neither works nor throws a > hissy fit. Works fine here. > (e) and (f) look to be too simple to fail, and they don't. The only straws I can offer you to grasp at are : Mageia vs PCLinuxOS implementations of the Portland stuff or two monitors vs one? Bruce From vuott at ...325... Tue Aug 28 06:12:53 2012 From: vuott at ...325... (Ru Vuott) Date: Tue, 28 Aug 2012 05:12:53 +0100 (BST) Subject: [Gambas-user] Unable to compile gb.net.pop3 Message-ID: <1346127173.33483.YahooMailClassic@...2748...> Hello, I updated my Gambas-3 with rev. #5091. Well, the installation seems Ok (as usual), but at the end of "Make Install" I obtain this notice: || || Unable to compile gb.net.pop3 || Why ? Regards vuott From sebikul at ...626... Tue Aug 28 06:23:52 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 28 Aug 2012 01:23:52 -0300 Subject: [Gambas-user] Unable to compile gb.net.pop3 In-Reply-To: <1346127173.33483.YahooMailClassic@...2748...> References: <1346127173.33483.YahooMailClassic@...2748...> Message-ID: On Tue, Aug 28, 2012 at 1:12 AM, Ru Vuott wrote: > Hello, > > I updated my Gambas-3 with rev. #5091. > > Well, the installation seems Ok (as usual), but at the end of "Make Install" I obtain this notice: > > || > || Unable to compile gb.net.pop3 > || > > > > Why ? > > 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 It should be fixed in rev #5092. It was a leftover from a code merge. Sorry about that. From vuott at ...325... Tue Aug 28 10:27:13 2012 From: vuott at ...325... (Ru Vuott) Date: Tue, 28 Aug 2012 09:27:13 +0100 (BST) Subject: [Gambas-user] Unable to compile gb.net.pop3 In-Reply-To: Message-ID: <1346142433.57650.YahooMailClassic@...2789...> > > It should be fixed in rev #5092. It was a leftover from a > code merge. Yes, now it's OK. Thanks Vuott From girardhenri at ...67... Tue Aug 28 10:49:03 2012 From: girardhenri at ...67... (Girard Henri) Date: Tue, 28 Aug 2012 10:49:03 +0200 Subject: [Gambas-user] Unable to compile gb.net.pop3 In-Reply-To: <1346142433.57650.YahooMailClassic@...2789...> References: <1346142433.57650.YahooMailClassic@...2789...> Message-ID: Le 28/08/2012 10:27, Ru Vuott a ?crit : >> It should be fixed in rev #5092. It was a leftover from a >> code merge. > > Yes, now it's OK. > > 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 > > A new quantal's update brings all dependencies today so I am able to compile gambas3 again From taboege at ...626... Tue Aug 28 11:47:37 2012 From: taboege at ...626... (Tobias Boege) Date: Tue, 28 Aug 2012 11:47:37 +0200 Subject: [Gambas-user] Null object when converting Gambas2 project Message-ID: <20120828094737.GA1222@...2774...> Hi, Hans mailed me a screenshot which says (blindly translated from german): "Unable to convert FMain.class Null object MConvert.ConvertClass.547" He (obviously) tried to convert a Gambas2 project, using rev5092. Do you need the project? Regards, Tobi From gambas at ...1... Tue Aug 28 12:48:36 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Aug 2012 12:48:36 +0200 Subject: [Gambas-user] Null object when converting Gambas2 project In-Reply-To: <20120828094737.GA1222@...2774...> References: <20120828094737.GA1222@...2774...> Message-ID: <503CA204.3000701@...1...> Le 28/08/2012 11:47, Tobias Boege a ?crit : > Hi, > > Hans mailed me a screenshot which says (blindly translated from german): > > "Unable to convert FMain.class > > Null object > MConvert.ConvertClass.547" > > He (obviously) tried to convert a Gambas2 project, using rev5092. > > Do you need the project? > > Regards, > Tobi > Yes, please. -- Beno?t Minisini From taboege at ...626... Tue Aug 28 13:11:32 2012 From: taboege at ...626... (Tobias Boege) Date: Tue, 28 Aug 2012 13:11:32 +0200 Subject: [Gambas-user] Null object when converting Gambas2 project In-Reply-To: <503CA204.3000701@...1...> References: <20120828094737.GA1222@...2774...> <503CA204.3000701@...1...> Message-ID: <20120828111132.GC1222@...2774...> On Tue, 28 Aug 2012, Beno?t Minisini wrote: > Le 28/08/2012 11:47, Tobias Boege a ?crit : > > Hi, > > > > Hans mailed me a screenshot which says (blindly translated from german): > > > > "Unable to convert FMain.class > > > > Null object > > MConvert.ConvertClass.547" > > > > He (obviously) tried to convert a Gambas2 project, using rev5092. > > > > Do you need the project? > > > > Regards, > > Tobi > > > > Yes, please. > > -- > Beno?t Minisini Attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: ZahlZeichen.tar.gz Type: application/octet-stream Size: 50483 bytes Desc: not available URL: From linuxos at ...1896... Tue Aug 28 14:28:13 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Tue, 28 Aug 2012 14:28:13 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... In-Reply-To: References: <5038021B.7050708@...1...> <50380B1C.40606@...1...> Message-ID: Hi Benoit, I try to use this new feature but it does not work on my PC. Do you have a little project as example please ? Fedora 14 Gambas 3 rev#5092 PS: I don't see any gb.task in the list of components in the IDE Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 25 ao?t 2012 ? 01:19, Jussi Lahtinen a ?crit : >> Tasks are the same thing, but simpler to use that processes. >> > > I will look into this later. > > > >> And this is *not* multi-threading, but multi-processing. >> > > Oh yes, you are right. > > > 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 john.aaron.rose at ...626... Tue Aug 28 14:35:43 2012 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 28 Aug 2012 13:35:43 +0100 Subject: [Gambas-user] Release 3.2.1 Message-ID: <1346157343.2807.4.camel@...2811...> Any release date set for version 3.2.2? I've still received no answer for any web page correlating version numbers versus revision numbers. Anyone have information on this? From gambas at ...1... Tue Aug 28 16:44:10 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Aug 2012 16:44:10 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... In-Reply-To: References: <5038021B.7050708@...1...> <50380B1C.40606@...1...> Message-ID: <503CD93A.2050706@...1...> Le 28/08/2012 14:28, Olivier Cruilles a ?crit : > Hi Benoit, > > I try to use this new feature but it does not work on my PC. > > Do you have a little project as example please ? > > Fedora 14 > Gambas 3 rev#5092 > > PS: I don't see any gb.task in the list of components in the IDE > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > gb.task does not exist anymore. The Task class is now part of the interpreter. To create a task, you just have to create your own "MyTask" class that inherits Task, and that have a public Main method that takes no argument. Then instanciate the task anywhere in your code. Give it an event name if you want to catch the Kill, Read or Error events. Regards, -- Beno?t Minisini From gambas at ...1... Tue Aug 28 16:45:20 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Aug 2012 16:45:20 +0200 Subject: [Gambas-user] Release 3.2.1 In-Reply-To: <1346157343.2807.4.camel@...2811...> References: <1346157343.2807.4.camel@...2811...> Message-ID: <503CD980.7080503@...1...> Le 28/08/2012 14:35, John Rose a ?crit : > Any release date set for version 3.2.2? > > I've still received no answer for any web page correlating version > numbers versus revision numbers. Anyone have information on this? > No. A 3.3, maybe at the end of the month, better during September, I don't know yet. It depends on the number of features that are not stabilized. Regards, -- Beno?t Minisini From gambas at ...1... Tue Aug 28 16:51:11 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Aug 2012 16:51:11 +0200 Subject: [Gambas-user] Null object when converting Gambas2 project In-Reply-To: <20120828111132.GC1222@...2774...> References: <20120828094737.GA1222@...2774...> <503CA204.3000701@...1...> <20120828111132.GC1222@...2774...> Message-ID: <503CDADF.1050609@...1...> Le 28/08/2012 13:11, Tobias Boege a ?crit : > On Tue, 28 Aug 2012, Beno?t Minisini wrote: >> Le 28/08/2012 11:47, Tobias Boege a ?crit : >>> Hi, >>> >>> Hans mailed me a screenshot which says (blindly translated from german): >>> >>> "Unable to convert FMain.class >>> >>> Null object >>> MConvert.ConvertClass.547" >>> >>> He (obviously) tried to convert a Gambas2 project, using rev5092. >>> >>> Do you need the project? >>> >>> Regards, >>> Tobi >>> >> >> Yes, please. >> >> -- >> Beno?t Minisini > > Attached. > Fixed in revision #5093. Regards, -- Beno?t Minisini From linuxos at ...1896... Tue Aug 28 16:54:35 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Tue, 28 Aug 2012 16:54:35 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... In-Reply-To: <503CD93A.2050706@...1...> References: <5038021B.7050708@...1...> <50380B1C.40606@...1...> <503CD93A.2050706@...1...> Message-ID: Joined to this email my project to test. Thank's in advance. -------------- next part -------------- A non-text attachment was scrubbed... Name: gbTask-0.0.1.tar.gz Type: application/x-gzip Size: 5016 bytes Desc: not available URL: -------------- next part -------------- Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 28 ao?t 2012 ? 16:44, Beno?t Minisini a ?crit : > Le 28/08/2012 14:28, Olivier Cruilles a ?crit : >> Hi Benoit, >> >> I try to use this new feature but it does not work on my PC. >> >> Do you have a little project as example please ? >> >> Fedora 14 >> Gambas 3 rev#5092 >> >> PS: I don't see any gb.task in the list of components in the IDE >> >> Cordialement, >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> > > gb.task does not exist anymore. The Task class is now part of the > interpreter. > > To create a task, you just have to create your own "MyTask" class that > inherits Task, and that have a public Main method that takes no argument. > > Then instanciate the task anywhere in your code. Give it an event name > if you want to catch the Kill, Read or Error events. > > 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 jussi.lahtinen at ...626... Tue Aug 28 18:32:46 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 28 Aug 2012 19:32:46 +0300 Subject: [Gambas-user] Question on autohelp in IDE and libaries. In-Reply-To: <1346100496.2156.5.camel@...2735...> References: <1346100496.2156.5.camel@...2735...> Message-ID: Example: ''This line is visible in help window.
''This second line too... Public Sub TestSub() ... So, put helplines before declaration of method/function/variable/etc. Jussi On 27 August 2012 23:48, Willy Raets wrote: > Hi all, > > Hope someone can help with this one. Seems to me an undocumented > feature :-) > > Intro to the question: > > When typing Me.Close in IDE code window you get this autohelp function > (is there a name for it) that displays Close information (see Screen > Info-01.png). > > I have made a library called SysInfo and when typing SysInfo.ReadAllInfo > the autohelp displays no extra info on the method. (see Screen > Info-02.png). > > Question: > > 1. Is it possible for me to have some extra info on the method displayed > in the autohelp? > 2. If yes, how do I need to set this up? Please, provide simple example. > > Thanks, > > 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 jussi.lahtinen at ...626... Tue Aug 28 18:37:04 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 28 Aug 2012 19:37:04 +0300 Subject: [Gambas-user] Release 3.2.1 In-Reply-To: <1346157343.2807.4.camel@...2811...> References: <1346157343.2807.4.camel@...2811...> Message-ID: > I've still received no answer for any web page correlating version > numbers versus revision numbers. Anyone have information on this? > Version numbers are for general users (stabile releases), revision numbers are for development version of Gambas. Jussi From taboege at ...626... Tue Aug 28 18:55:55 2012 From: taboege at ...626... (Tobias Boege) Date: Tue, 28 Aug 2012 18:55:55 +0200 Subject: [Gambas-user] Null object when converting Gambas2 project In-Reply-To: <503CDADF.1050609@...1...> References: <20120828094737.GA1222@...2774...> <503CA204.3000701@...1...> <20120828111132.GC1222@...2774...> <503CDADF.1050609@...1...> Message-ID: <20120828165555.GM1222@...2774...> On Tue, 28 Aug 2012, Beno?t Minisini wrote: > Le 28/08/2012 13:11, Tobias Boege a ?crit : > > On Tue, 28 Aug 2012, Beno?t Minisini wrote: > >> Le 28/08/2012 11:47, Tobias Boege a ?crit : > >>> Hi, > >>> > >>> Hans mailed me a screenshot which says (blindly translated from german): > >>> > >>> "Unable to convert FMain.class > >>> > >>> Null object > >>> MConvert.ConvertClass.547" > >>> > >>> He (obviously) tried to convert a Gambas2 project, using rev5092. > >>> > >>> Do you need the project? > >>> > >>> Regards, > >>> Tobi > >>> > >> > >> Yes, please. > >> > >> -- > >> Beno?t Minisini > > > > Attached. > > > > Fixed in revision #5093. > > Regards, > > -- > Beno?t Minisini Confirmed. From gambas.fr at ...626... Tue Aug 28 20:18:25 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 28 Aug 2012 20:18:25 +0200 Subject: [Gambas-user] Question on autohelp in IDE and libaries. In-Reply-To: References: <1346100496.2156.5.camel@...2735...> Message-ID: 2012/8/28 Jussi Lahtinen : > Example: > > ''This line is visible in help window.
> ''This second line too... > Public Sub TestSub() > ... > > So, put helplines before declaration of method/function/variable/etc. > > Jussi This is only available for class in the current project. For extra libs there is nothing done actually. For the Gambas Libs the doc are taken in the gambasdoc site. > > > > On 27 August 2012 23:48, Willy Raets wrote: > >> Hi all, >> >> Hope someone can help with this one. Seems to me an undocumented >> feature :-) >> >> Intro to the question: >> >> When typing Me.Close in IDE code window you get this autohelp function >> (is there a name for it) that displays Close information (see Screen >> Info-01.png). >> >> I have made a library called SysInfo and when typing SysInfo.ReadAllInfo >> the autohelp displays no extra info on the method. (see Screen >> Info-02.png). >> >> Question: >> >> 1. Is it possible for me to have some extra info on the method displayed >> in the autohelp? >> 2. If yes, how do I need to set this up? Please, provide simple example. >> >> Thanks, >> >> 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 >> >> > ------------------------------------------------------------------------------ > 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 richard.j.walker at ...247... Tue Aug 28 20:21:19 2012 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Tue, 28 Aug 2012 19:21:19 +0100 Subject: [Gambas-user] DesktopWatcher doesn't watch... In-Reply-To: <1346119708.5170.29.camel@...2688...> References: <1346119708.5170.29.camel@...2688...> Message-ID: Wow, thanks for the results info. I have started to look at the Desktop component implementation and I am only beginning to get a trembling feel for what it uses to do what it does. I'll study your response in greater detail but your two straws are very similar to the ones I suspect are hiding my needle. The first thing I checked was if there is a different behaviour on a single screen X server. I used Xephyr for that, but perhaps even that was a silly idea. In any event the behaviour did not change. I was already beginning to think I should put the word out on the Mageia forum to see if anyone understands why the method used to detect LXDE in the xdg-settings script is failing and why the environment includes XDG_CURRENT_DESKTOP=LXDE but nothing seems to be using that XDG_CURRENT_DESKTOP variable to detect the desktop. Seems ... perverse. Anyway, there's an unofficial race on and you are in danger of giving me an unfair advantage over Beno?t. Or maybe not :-) I'll be able to comment more sensibly when I have had my coffee and crammed in a bit more study. Meanwhile S Africa is giving England a lesson on how 50 over cricket should be played. Aren't they ever satisfied? R From willy at ...2734... Tue Aug 28 20:59:12 2012 From: willy at ...2734... (Willy Raets) Date: Tue, 28 Aug 2012 20:59:12 +0200 Subject: [Gambas-user] Question on autohelp in IDE and libaries. In-Reply-To: References: <1346100496.2156.5.camel@...2735...> Message-ID: <1346180352.2079.7.camel@...2735...> On di, 2012-08-28 at 20:18 +0200, Fabien Bodard wrote: > 2012/8/28 Jussi Lahtinen : > > Example: > > > > ''This line is visible in help window.
> > ''This second line too... > > Public Sub TestSub() > > ... > > > > So, put helplines before declaration of method/function/variable/etc. > > > > Jussi Thanks for answering Jussi. I gave it a shot. > > This is only available for class in the current project. For extra > libs there is nothing done actually. I can confirm that Jussi's solution it is NOT working when used in an exported class that is part of a Gambas Library. What I'm trying to establish is that when developers use this library in their projects they get some explanation on varaibles and methods provided my the library. But it seems this is not implemented I understand form your answer Fabien. Any chances that this will get implemented in future releases? > For the Gambas Libs the doc are > taken in the gambasdoc site. Thanks Jussi for the example Thanks Fabien for the clarification. Willy From linuxos at ...1896... Tue Aug 28 21:25:00 2012 From: linuxos at ...1896... (Olivier Cruilles) Date: Tue, 28 Aug 2012 21:25:00 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... In-Reply-To: References: <5038021B.7050708@...1...> <50380B1C.40606@...1...> <503CD93A.2050706@...1...> Message-ID: <56AD9876-5FB3-4FDE-A9E5-A5EC4F939571@...1896...> Hi Benoit, It's not necessary to explain me how it works. After many tries, I found how to use it. Great works. It works fine for me. Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 28 ao?t 2012 ? 16:54, Olivier Cruilles a ?crit : > Joined to this email my project to test. > > Thank's in advance. > > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 28 ao?t 2012 ? 16:44, Beno?t Minisini a ?crit : > >> Le 28/08/2012 14:28, Olivier Cruilles a ?crit : >>> Hi Benoit, >>> >>> I try to use this new feature but it does not work on my PC. >>> >>> Do you have a little project as example please ? >>> >>> Fedora 14 >>> Gambas 3 rev#5092 >>> >>> PS: I don't see any gb.task in the list of components in the IDE >>> >>> Cordialement, >>> >>> Olivier Cruilles >>> Mail: linuxos at ...1896... >>> >> >> gb.task does not exist anymore. The Task class is now part of the >> interpreter. >> >> To create a task, you just have to create your own "MyTask" class that >> inherits Task, and that have a public Main method that takes no argument. >> >> Then instanciate the task anywhere in your code. Give it an event name >> if you want to catch the Kill, Read or Error events. >> >> 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 sunblaster5 at ...626... Wed Aug 29 00:05:59 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 28 Aug 2012 15:05:59 -0700 Subject: [Gambas-user] getting dataview to expand?? Message-ID: <1346191559.1737.2.camel@...2921...> Been trying to get a dataview to expand when the window is maximized. I assume the dataview needs a container to do that, but which container? -- rocko From sunblaster5 at ...626... Wed Aug 29 01:20:24 2012 From: sunblaster5 at ...626... (rocko) Date: Tue, 28 Aug 2012 16:20:24 -0700 Subject: [Gambas-user] Frame Borders not displaying correctly Message-ID: <1346196024.1737.8.camel@...2921...> 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-1.png Type: image/png Size: 103523 bytes Desc: not available URL: From sebikul at ...626... Wed Aug 29 05:59:35 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 29 Aug 2012 00:59:35 -0300 Subject: [Gambas-user] Code Reviews Message-ID: Okey, i will try to follow this line: What-> Why -> How What?? I will be short; I created a website on google appengine for code reviews [0] It allows you to publish any patch, either of a few lines or a monstrous multi-file spaghetti. But the main feature is that it allows other people to *comment* on single lines of that code, or (re*n)publish that same patch with new changes and comments. The reason for this is evident if you have been following the the activity on the mailing list regarding the gb.net.pop3 component (and obviously, a large amount of other threads about bugs, quick fixes, etc). Pasting code on the list is effective(?), but, how can other users provide feedback? There is everything from inline comments to large -------->, which sometimes are overlooked. Regrettably, neither Sourceforge nor ViewVC provide code comments (like launchpad or google code does) The how is extremely simple. Go to the website, (login with a google account), click *Create Issue*, write a title and upload the patch. This is as easy as "svn diff > patch". It is integrated to the svn repository, so if you upload a patch of a file (in the correct way), the full diff can be viewed online side-by-side or only the changed lines. To share an issue (collection/series of diff files) just copy and paste the url in the list. For a detailed instructions manual, please visit this page [1] I added 2 really simple examples so you can see how it works. Please feel free to play. Code snippets can also be added, so others can improve them (then they can be added to trunk or the wiki snippets page) * Consider this as an experiment, it can either work or not. i really hope it does, bit it's okey if it doesn't [0] https://gambas-svn.appspot.com/ [1] http://code.google.com/p/rietveld/wiki/CodeReviewHelp From rightengineer at ...626... Wed Aug 29 08:52:06 2012 From: rightengineer at ...626... (rightengineer) Date: Wed, 29 Aug 2012 12:22:06 +0530 Subject: [Gambas-user] help gb.chart In-Reply-To: References: Message-ID: Dear Fabien, Once again thank you. I tested the code and it worked fine. I was unaware about way the GAMBAS stores its project files. Since the demo file sent was with extension "tar.gz" I tried to uncompress it but could not succeed. I was about to write back to you, but I thought that I should directly opening the demo file from "GAMBAS" to my surprise I could see wonder plot. The demo file is very helpful for me as I wanted to plot chart and your demo code is sufficient for me to proceed further. Can share any documentation with respect to gb.chart? regards jay On Mon, Aug 27, 2012 at 3:51 PM, Fabien Bodard wrote: > this a demo > > 2012/8/27 rightengineer : >> Thanks for response Fabien... >> >> can you share any working example using gb.chart. I tried the attached >> code but it does not work and there is no documentation which I can >> refer and write code. >> >> What I want to is plot X-Y Line Graph, I tried using the draw function >> using "line draw" and I could do some basic graphs But I prefer if I >> could use the "Chart" class (gb.chart) >> >> Thanks in advance >> Jay >> >> >> On Mon, Aug 27, 2012 at 11:17 AM, Fabien Bodard wrote: >>> 2012/8/27 rightengineer : >>>> Has any one documented help for gb.chart? >>> >>> hem :/ ... no but maybe i can help you ? >>> >>>> >>>> ------------------------------------------------------------------------------ >>>> 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 >>> >>> ------------------------------------------------------------------------------ >>> 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 >> > > > > -- > 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 > From ivan-kern at ...308... Wed Aug 29 09:39:15 2012 From: ivan-kern at ...308... (Ivan Kern) Date: Wed, 29 Aug 2012 09:39:15 +0200 Subject: [Gambas-user] Gambas is not multi-threaded, but... In-Reply-To: <56AD9876-5FB3-4FDE-A9E5-A5EC4F939571@...1896...> References: <5038021B.7050708@...1...> <50380B1C.40606@...1...> <503CD93A.2050706@...1...> <56AD9876-5FB3-4FDE-A9E5-A5EC4F939571@...1896...> Message-ID: <000001cd85b9$690f5970$3b2e0c50$@freenet.de> Hi Olivier, could you give us your project as example please ? Regards Ivan -----Urspr?ngliche Nachricht----- Von: Olivier Cruilles [mailto:linuxos at ...1896...] Gesendet: Dienstag, 28. August 2012 21:25 An: mailing list for gambas users Betreff: Re: [Gambas-user] Gambas is not multi-threaded, but... Hi Benoit, It's not necessary to explain me how it works. After many tries, I found how to use it. Great works. It works fine for me. Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 28 ao?t 2012 ? 16:54, Olivier Cruilles a ?crit : > Joined to this email my project to test. > > Thank's in advance. > > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 28 ao?t 2012 ? 16:44, Beno?t Minisini a ?crit : > >> Le 28/08/2012 14:28, Olivier Cruilles a ?crit : >>> Hi Benoit, >>> >>> I try to use this new feature but it does not work on my PC. >>> >>> Do you have a little project as example please ? >>> >>> Fedora 14 >>> Gambas 3 rev#5092 >>> >>> PS: I don't see any gb.task in the list of components in the IDE >>> >>> Cordialement, >>> >>> Olivier Cruilles >>> Mail: linuxos at ...1896... >>> >> >> gb.task does not exist anymore. The Task class is now part of the >> interpreter. >> >> To create a task, you just have to create your own "MyTask" class >> that inherits Task, and that have a public Main method that takes no argument. >> >> Then instanciate the task anywhere in your code. Give it an event >> name if you want to catch the Kill, Read or Error events. >> >> 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 > ---------------------------------------------------------------------------- -- 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 taboege at ...626... Wed Aug 29 11:57:45 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 29 Aug 2012 11:57:45 +0200 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <1346191559.1737.2.camel@...2921...> References: <1346191559.1737.2.camel@...2921...> Message-ID: <20120829095745.GB554@...2774...> On Tue, 28 Aug 2012, rocko wrote: > Been trying to get a dataview to expand when the window is maximized. > I assume the dataview needs a container to do that, but which container? > > > -- > rocko > You mean: Resize the DataView when the Window is resized? Fortunately, Gambas is Basic so that goes rather programmatically: Public Sub Form_Resize() ' Catch the Resize event of the Window DataView.Resize(...) ' Insert values; you can refer to the new ' dimensions of the Window via Me.W, Me.H End The Window itself is your container in this case but I can't recall any container that resizes its children automatically... Regards, Tobi From bbruen at ...2308... Wed Aug 29 12:07:48 2012 From: bbruen at ...2308... (Bruce) Date: Wed, 29 Aug 2012 19:37:48 +0930 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <20120829095745.GB554@...2774...> References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> Message-ID: <1346234868.4051.2.camel@...2688...> On Wed, 2012-08-29 at 11:57 +0200, Tobias Boege wrote: > On Tue, 28 Aug 2012, rocko wrote: > > Been trying to get a dataview to expand when the window is maximized. > > I assume the dataview needs a container to do that, but which container? > > > > > > -- > > rocko > > > > You mean: Resize the DataView when the Window is resized? > Fortunately, Gambas is Basic so that goes rather programmatically: > > Public Sub Form_Resize() ' Catch the Resize event of the Window > DataView.Resize(...) ' Insert values; you can refer to the new > ' dimensions of the Window via Me.W, Me.H > End > > The Window itself is your container in this case but I can't recall any > container that resizes its children automatically... > > Regards, > Tobi ??? How about any container that has an Arrangement property ??? (including Form). or have I misunderstood? B From gambas at ...1... Wed Aug 29 12:51:50 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 29 Aug 2012 12:51:50 +0200 Subject: [Gambas-user] Code Reviews In-Reply-To: References: Message-ID: <503DF446.90907@...1...> Le 29/08/2012 05:59, Sebastian Kulesz a ?crit : > Okey, i will try to follow this line: What-> Why -> How > > What?? I will be short; I created a website on google appengine for > code reviews [0] It allows you to publish any patch, either of a few > lines or a monstrous multi-file spaghetti. But the main feature is > that it allows other people to *comment* on single lines of that code, > or (re*n)publish that same patch with new changes and comments. > > The reason for this is evident if you have been following the the > activity on the mailing list regarding the gb.net.pop3 component (and > obviously, a large amount of other threads about bugs, quick fixes, > etc). Pasting code on the list is effective(?), but, how can other > users provide feedback? There is everything from inline comments to > large -------->, which sometimes are overlooked. > > Regrettably, neither Sourceforge nor ViewVC provide code comments > (like launchpad or google code does) > > The how is extremely simple. Go to the website, (login with a google > account), click *Create Issue*, write a title and upload the patch. > This is as easy as "svn diff > patch". > It is integrated to the svn repository, so if you upload a patch of a > file (in the correct way), the full diff can be viewed online > side-by-side or only the changed lines. To share an issue > (collection/series of diff files) just copy and paste the url in the > list. For a detailed instructions manual, please visit this page [1] > > I added 2 really simple examples so you can see how it works. > Please feel free to play. Code snippets can also be added, so > others can improve them (then they can be added to trunk or the wiki > snippets page) > > * Consider this as an experiment, it can either work or not. i really > hope it does, bit it's okey if it doesn't > > > [0] https://gambas-svn.appspot.com/ > > [1] http://code.google.com/p/rietveld/wiki/CodeReviewHelp > This usually should be linked with an issue in the Google tracker, but I don't know if it is possible. Regards, -- Beno?t Minisini From taboege at ...626... Wed Aug 29 13:09:44 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 29 Aug 2012 13:09:44 +0200 Subject: [Gambas-user] Code Reviews In-Reply-To: References: Message-ID: <20120829110944.GC554@...2774...> A non-text attachment was scrubbed... Name: not available Type: text/plain-8bit Size: 2813 bytes Desc: not available URL: From taboege at ...626... Wed Aug 29 13:23:50 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 29 Aug 2012 13:23:50 +0200 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <1346234868.4051.2.camel@...2688...> References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> Message-ID: <20120829112350.GD554@...2774...> On Wed, 29 Aug 2012, Bruce wrote: > On Wed, 2012-08-29 at 11:57 +0200, Tobias Boege wrote: > > On Tue, 28 Aug 2012, rocko wrote: > > > Been trying to get a dataview to expand when the window is maximized. > > > I assume the dataview needs a container to do that, but which container? > > > > > > > > > -- > > > rocko > > > > > > > You mean: Resize the DataView when the Window is resized? > > Fortunately, Gambas is Basic so that goes rather programmatically: > > > > Public Sub Form_Resize() ' Catch the Resize event of the Window > > DataView.Resize(...) ' Insert values; you can refer to the new > > ' dimensions of the Window via Me.W, Me.H > > End > > > > The Window itself is your container in this case but I can't recall any > > container that resizes its children automatically... > > > > Regards, > > Tobi > > ??? How about any container that has an Arrangement property ??? > (including Form). > > or have I misunderstood? > > B Hmm, I don't know :-) *If I well understood* he wants to keep the dimensions of the DataView sync with the Window it lives in... I didn't know Arrange.Fill and I don't want to test what the resulting layout looks like, i.e. if proportions are kept for this purpose, but that could do it - never used. Regards, Tobi From gambas at ...2524... Wed Aug 29 15:34:03 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Aug 2012 13:34:03 +0000 Subject: [Gambas-user] Issue 319 in gambas: Operator ^(power) and Variant exponent: Type mismatch error Message-ID: <0-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-High OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 319 by svit... at ...626...: Operator ^(power) and Variant exponent: Type mismatch error http://code.google.com/p/gambas/issues/detail?id=319 Type into console: ?1^([1,"kk"][0]) Output: Type mismatch: wanted Number, got Variant instead From sunblaster5 at ...626... Wed Aug 29 19:00:09 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 29 Aug 2012 10:00:09 -0700 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <1346234868.4051.2.camel@...2688...> References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> Message-ID: <1346259609.2717.7.camel@...2921...> On Wed, 2012-08-29 at 19:37 +0930, Bruce wrote: > On Wed, 2012-08-29 at 11:57 +0200, Tobias Boege wrote: > > On Tue, 28 Aug 2012, rocko wrote: > > > Been trying to get a dataview to expand when the window is maximized. > > > I assume the dataview needs a container to do that, but which container? > > > > > > > > > -- > > > rocko > > > > > > > You mean: Resize the DataView when the Window is resized? > > Fortunately, Gambas is Basic so that goes rather programmatically: > > > > Public Sub Form_Resize() ' Catch the Resize event of the Window > > DataView.Resize(...) ' Insert values; you can refer to the new > > ' dimensions of the Window via Me.W, Me.H > > End > > > > The Window itself is your container in this case but I can't recall any > > container that resizes its children automatically... > > > > Regards, > > Tobi > > ??? How about any container that has an Arrangement property ??? > (including Form). > > or have I misunderstood? > > B If I set the Form arraignment to 'fill' it fills the entire form with the close button. I have the DataView inside a dataSource with the arraignment prop set to 'fill' which works, but only resizes the dataView to the size of the dataSource not the Form window when maximized. Should I have not put the dataView inside the dataSource and just put on the form?? How do I stop the close button from filling the entire form? Would like to try Tobias suggestion but I am unsure of the syntax. DataView1.Resize = Me.W(600) ??? suggestions? > > > > ------------------------------------------------------------------------------ > 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 taboege at ...626... Wed Aug 29 19:43:44 2012 From: taboege at ...626... (Tobias Boege) Date: Wed, 29 Aug 2012 19:43:44 +0200 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <1346259609.2717.7.camel@...2921...> References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> <1346259609.2717.7.camel@...2921...> Message-ID: <20120829174344.GA2273@...2774...> On Wed, 29 Aug 2012, rocko wrote: > On Wed, 2012-08-29 at 19:37 +0930, Bruce wrote: > > On Wed, 2012-08-29 at 11:57 +0200, Tobias Boege wrote: > > > On Tue, 28 Aug 2012, rocko wrote: > > > > Been trying to get a dataview to expand when the window is maximized. > > > > I assume the dataview needs a container to do that, but which container? > > > > > > > > > > > > -- > > > > rocko > > > > > > > > > > You mean: Resize the DataView when the Window is resized? > > > Fortunately, Gambas is Basic so that goes rather programmatically: > > > > > > Public Sub Form_Resize() ' Catch the Resize event of the Window > > > DataView.Resize(...) ' Insert values; you can refer to the new > > > ' dimensions of the Window via Me.W, Me.H > > > End > > > > > > The Window itself is your container in this case but I can't recall any > > > container that resizes its children automatically... > > > > > > Regards, > > > Tobi > > > > ??? How about any container that has an Arrangement property ??? > > (including Form). > > > > or have I misunderstood? > > > > B > > If I set the Form arraignment to 'fill' it fills the entire form with > the close button. > I have the DataView inside a dataSource with the arraignment prop set to > 'fill' which works, but only resizes the dataView to the size of the > dataSource not the Form window when maximized. > > Should I have not put the dataView inside the dataSource and just put on > the form?? > How do I stop the close button from filling the entire form? > > Would like to try Tobias suggestion but I am unsure of the syntax. > DataView1.Resize = Me.W(600) ??? suggestions? > > > > > > > > > ------------------------------------------------------------------------------ > > 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 Me.W is the width of the form, which is a property and not a function. So if you want to resize the DataView to the dimensions of the Form minus 14 each, you would do: DataView1.Resize(Me.W - 14, Me.H - 14) It may be that you need to resize the DataSource, too, as it is the immediate parent of the DataView. I don't know, just try a little bit. Regards, Tobi From gambas.fr at ...626... Wed Aug 29 20:33:27 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 29 Aug 2012 20:33:27 +0200 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <20120829174344.GA2273@...2774...> References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> <1346259609.2717.7.camel@...2921...> <20120829174344.GA2273@...2774...> Message-ID: HARRRRRRRRRGGHHHHHHHHHH !!! WHAT ? The dataview need to be in a datasource to wor ... but a data source is a container . THis container Have a arrangement property... The arrangement autoresize his content ... it's like in html. SO for you ... In your form you put a datasource and in it a dataview then on the bottom in the form you put for example a button. set the form arrangement at vertical, the expand property of the datasource at true, and the arrangement of the datasource at fill set spacing of form at true and padding at true. or you can define margin in pixel. taddda... THis is oe of the power of gambas ... normally you will never (or just in rare case ) have to use the _resize event. Just play to try with containers (vbox,hbox,panel, vpanel,hpanel) and properties (ignore, expand, arrangement, margin, padding, spacing), put in it diffrent object or objects with different colors to understand how it work... it is really powerfull ... all the ide is based on it... and all the graphic components too . -- Fabien Bodard From gambas.fr at ...626... Wed Aug 29 20:37:00 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 29 Aug 2012 20:37:00 +0200 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> <1346259609.2717.7.camel@...2921...> <20120829174344.GA2273@...2774...> Message-ID: 2012/8/29 Fabien Bodard : > HARRRRRRRRRGGHHHHHHHHHH !!! > > > WHAT ? > > > The dataview need to be in a datasource to wor ... but a data source > is a container . > > THis container Have a arrangement property... > > The arrangement autoresize his content ... it's like in html. > > SO for you ... > > In your form you put a datasource and in it a dataview then on the > bottom in the form you put for example a button. > > > set the form arrangement at vertical, the expand property of the > datasource at true, and the arrangement of the datasource at fill > set spacing of form at true and padding at true. > > or you can define margin in pixel. > > taddda... > > > THis is oe of the power of gambas ... normally you will never (or just > in rare case ) have to use the _resize event. > > Just play to try with containers (vbox,hbox,panel, vpanel,hpanel) and > properties (ignore, expand, arrangement, margin, padding, spacing), > put in it diffrent object or objects with different colors to > understand how it work... it is really powerfull ... all the ide is > based on it... and all the graphic components too . > > > > > > > -- > Fabien Bodard -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: demoarrangement-0.0.1.tar.gz Type: application/x-gzip Size: 4659 bytes Desc: not available URL: From gambas at ...2524... Wed Aug 29 21:11:38 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Aug 2012 19:11:38 +0000 Subject: [Gambas-user] Issue 319 in gambas: Operator ^(power) and Variant exponent: Type mismatch error In-Reply-To: <0-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 319 by benoit.m... at ...626...: Operator ^(power) and Variant exponent: Type mismatch error http://code.google.com/p/gambas/issues/detail?id=319 (No comment was entered for this change.) From gambas at ...2524... Wed Aug 29 21:13:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Aug 2012 19:13:19 +0000 Subject: [Gambas-user] Issue 319 in gambas: Operator ^(power) and Variant exponent: Type mismatch error In-Reply-To: <1-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> <0-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> Comment #2 on issue 319 by benoit.m... at ...626...: Operator ^(power) and Variant exponent: Type mismatch error http://code.google.com/p/gambas/issues/detail?id=319 Fixed in revision #5097 From gambas at ...2524... Wed Aug 29 21:14:19 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Aug 2012 19:14:19 +0000 Subject: [Gambas-user] Issue 319 in gambas: Operator ^(power) and Variant exponent: Type mismatch error In-Reply-To: <2-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> <0-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-17374097586753719935-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 319 by benoit.m... at ...626...: Operator ^(power) and Variant exponent: Type mismatch error http://code.google.com/p/gambas/issues/detail?id=319 (No comment was entered for this change.) From gambas at ...2524... Wed Aug 29 21:44:34 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Aug 2012 19:44:34 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. In-Reply-To: <3-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Comment #4 on issue 301 by linuxfx.... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 in gb.qt the property "handle" returns different values ??for each object, but in gb.gtk, always returns the same value. how can I overcome this? From gambas at ...2524... Wed Aug 29 22:15:52 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Aug 2012 20:15:52 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. In-Reply-To: <4-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Comment #5 on issue 301 by benoit.m... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 You can't. This is a X11 window ID returned by the toolkit, only the toolkit decides its value. From gambas at ...2524... Wed Aug 29 22:54:53 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Aug 2012 20:54:53 +0000 Subject: [Gambas-user] Issue 301 in gambas: property "handle" of all the objects are getting equal prawns in 3.2.1. In-Reply-To: <5-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> <0-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-3850148119862744255-gambas=googlecode.com@...2524...> Comment #6 on issue 301 by linuxfx.... at ...626...: property "handle" of all the objects are getting equal prawns in 3.2.1. http://code.google.com/p/gambas/issues/detail?id=301 Great, please close this issue. From sebikul at ...626... Wed Aug 29 23:00:58 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 29 Aug 2012 18:00:58 -0300 Subject: [Gambas-user] Code Reviews In-Reply-To: <20120829110944.GC554@...2774...> References: <20120829110944.GC554@...2774...> Message-ID: On Wed, Aug 29, 2012 at 8:09 AM, Tobias Boege wrote: > On Wed, 29 Aug 2012, Sebastian Kulesz wrote: >> Okey, i will try to follow this line: What-> Why -> How >> >> What?? I will be short; I created a website on google appengine for >> code reviews [0] It allows you to publish any patch, either of a few >> lines or a monstrous multi-file spaghetti. But the main feature is >> that it allows other people to *comment* on single lines of that code, >> or (re*n)publish that same patch with new changes and comments. >> >> The reason for this is evident if you have been following the the >> activity on the mailing list regarding the gb.net.pop3 component (and >> obviously, a large amount of other threads about bugs, quick fixes, >> etc). Pasting code on the list is effective(?), but, how can other >> users provide feedback? There is everything from inline comments to >> large -------->, which sometimes are overlooked. >> > > Maybe I'm too young to be conservative, but isn't sending patches and > discussion just what the gambas-devel mailing list is for? User comments go > to gambas-user. My mail programs perform well; why bring a second tool in? > I can't see how it could make things better. > >> Regrettably, neither Sourceforge nor ViewVC provide code comments >> (like launchpad or google code does) >> > > IMHO, if something must change, I'd prefer git over svn where the situation > of branch/work/patch/merge is wonderful... which is: way better than svn. > >> The how is extremely simple. Go to the website, (login with a google >> account), click *Create Issue*, write a title and upload the patch. >> This is as easy as "svn diff > patch". >> It is integrated to the svn repository, so if you upload a patch of a >> file (in the correct way), the full diff can be viewed online >> side-by-side or only the changed lines. To share an issue >> (collection/series of diff files) just copy and paste the url in the >> list. For a detailed instructions manual, please visit this page [1] >> > > Will I be able to reasonably use that platform without a browser? I don't > like to have my (not javascript-able) browser open all the time and websites > aren't "tools" in the sense that I could work with them efficiently. > That is just my two cents. To whom it pleases, I'll do the Beno?t and say, > "Why not?". > > If someone has something to say about the code I feel responsible for, > I would really appreciate them doing it via mail. > >> I added 2 really simple examples so you can see how it works. >> Please feel free to play. Code snippets can also be added, so >> others can improve them (then they can be added to trunk or the wiki >> snippets page) >> >> * Consider this as an experiment, it can either work or not. i really >> hope it does, bit it's okey if it doesn't >> >> >> [0] https://gambas-svn.appspot.com/ >> >> [1] http://code.google.com/p/rietveld/wiki/CodeReviewHelp > > 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 > Indeed *git* is what is needed. Branching/merging capabilities for gambas is a must, but that implies moving the whole tree to a new VCS, and it's not too practical, needless to say it can be a really tedious job. In the meantime, i thought something like Rietveld would really help as a collaborative tool. Here are a few threads that would really benefit from this tool, just as an example: http://old.nabble.com/Store-GB_VARIANT-in-memory-td34286343.html http://old.nabble.com/_compare%28%29-Type-mismatch%3A-wanted-Date%2C-Number-or-String-td34235764.html http://old.nabble.com/Convert-string-to-integer-with-arbitrary-base-td33177283.html I'm not saying "Hey, if you want to post code to the mailing list, then use this." I'm just making it available. In the end, its your choice to use it or not. Thanks! From sunblaster5 at ...626... Wed Aug 29 23:09:25 2012 From: sunblaster5 at ...626... (rocko) Date: Wed, 29 Aug 2012 14:09:25 -0700 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> <1346259609.2717.7.camel@...2921...> <20120829174344.GA2273@...2774...> Message-ID: <1346274565.1836.3.camel@...2921...> On Wed, 2012-08-29 at 20:37 +0200, Fabien Bodard wrote: > 2012/8/29 Fabien Bodard : > > HARRRRRRRRRGGHHHHHHHHHH !!! > > > > > > WHAT ? > > > > > > The dataview need to be in a datasource to wor ... but a data source > > is a container . > > > > THis container Have a arrangement property... > > > > The arrangement autoresize his content ... it's like in html. > > > > SO for you ... > > > > In your form you put a datasource and in it a dataview then on the > > bottom in the form you put for example a button. > > > > > > set the form arrangement at vertical, the expand property of the > > datasource at true, and the arrangement of the datasource at fill > > set spacing of form at true and padding at true. > > > > or you can define margin in pixel. > > > > taddda... > > > > > > THis is oe of the power of gambas ... normally you will never (or just > > in rare case ) have to use the _resize event. > > > > Just play to try with containers (vbox,hbox,panel, vpanel,hpanel) and > > properties (ignore, expand, arrangement, margin, padding, spacing), > > put in it diffrent object or objects with different colors to > > understand how it work... it is really powerfull ... all the ide is > > based on it... and all the graphic components too . > > > > > > > > > > > > > > -- > > Fabien Bodard Thanks Fabien that's about 90% what I want. The 10% I dont want is the Button fills up entire bottom/vertical space, depending on which property I have the arraignment set to. Can I add a container for the button so It doesn't expand ?? > > > > ------------------------------------------------------------------------------ > 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 emil.lenngren at ...626... Wed Aug 29 23:35:49 2012 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 29 Aug 2012 23:35:49 +0200 Subject: [Gambas-user] Code Reviews In-Reply-To: <20120829110944.GC554@...2774...> References: <20120829110944.GC554@...2774...> Message-ID: 2012/8/29 Tobias Boege > > Maybe I'm too young to be conservative, but isn't sending patches and > discussion just what the gambas-devel mailing list is for? User comments go > to gambas-user. My mail programs perform well; why bring a second tool in? > I can't see how it could make things better. > > Well.. Mailing lists are not the best platform to handle code reviews. No structure, only a bunch of messages. I think it's nice with inline comments, side-by-side diffs etc. Also that patches are not submitted until the discussions are done. In svn you first submit a patch, five minutes later the committer finds a bug but it takes a day to fix, so the svn trunk version is "broken" for a day. If you haven't, look how some of the open source projects at Google are code-reviewed. Golang for example. /Emil From taboege at ...626... Thu Aug 30 00:55:03 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 30 Aug 2012 00:55:03 +0200 Subject: [Gambas-user] Code Reviews In-Reply-To: References: <20120829110944.GC554@...2774...> Message-ID: <20120829225503.GA8889@...2774...> On Wed, 29 Aug 2012, Emil Lenngren wrote: > 2012/8/29 Tobias Boege > > > > > Maybe I'm too young to be conservative, but isn't sending patches and > > discussion just what the gambas-devel mailing list is for? User comments go > > to gambas-user. My mail programs perform well; why bring a second tool in? > > I can't see how it could make things better. > > > > > Well.. Mailing lists are not the best platform to handle code reviews. No > structure, only a bunch of messages. > I think it's nice with inline comments, side-by-side diffs etc. Also that > patches are not submitted until the discussions are done. In svn you first > submit a patch, five minutes later the committer finds a bug but it takes a > day to fix, so the svn trunk version is "broken" for a day. > If you haven't, look how some of the open source projects at Google are > code-reviewed. Golang for example. > > /Emil Yes, I strongly agree that changes should be reviewed first. And you are right in that mailing lists are not the most convenient and a not the least fancy way to accomplish that but the least common denominator. And in my opinion a rather pretty one: a) Grouping messages into threads is enough structure for my feeling. b) Sent patches can be commented mail-inline, diff'd the way you like, etc.. Of course, this codereview tool cooks everything ready for you... AFAICS, "The golang-dev mailing list is for discussing and reviewing code for the Go project.", they, too, send patches inline (though, some link to this appspot site, maybe for larger patchsets) and discuss via mail? Being able to have multiple branches which are freely mergable from and to other developers would be the way I would go in this regard. It would be rather helpful if not each and every action on the repository's metadata would immediately go through the network into the main repository... But I understand that git may be difficult to switch to or may not be appreciated at all - whatever. I don't want to reject the idea of using this codereview tool and here my constructive questions: What if someone spots a bug in some of my code and I don't even visit that site? How could I participate without using a browser? I.e.: Can a pipe to a mailing list be established from the codereview tool? Sorry, it's late already and I only roughly overlooked Sebastian's manual link. Regards, Tobi From sebikul at ...626... Thu Aug 30 01:43:18 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 29 Aug 2012 20:43:18 -0300 Subject: [Gambas-user] Code Reviews In-Reply-To: <20120829225503.GA8889@...2774...> References: <20120829110944.GC554@...2774...> <20120829225503.GA8889@...2774...> Message-ID: On Wed, Aug 29, 2012 at 7:55 PM, Tobias Boege wrote: > On Wed, 29 Aug 2012, Emil Lenngren wrote: >> 2012/8/29 Tobias Boege >> >> > >> > Maybe I'm too young to be conservative, but isn't sending patches and >> > discussion just what the gambas-devel mailing list is for? User comments go >> > to gambas-user. My mail programs perform well; why bring a second tool in? >> > I can't see how it could make things better. >> > >> > >> Well.. Mailing lists are not the best platform to handle code reviews. No >> structure, only a bunch of messages. >> I think it's nice with inline comments, side-by-side diffs etc. Also that >> patches are not submitted until the discussions are done. In svn you first >> submit a patch, five minutes later the committer finds a bug but it takes a >> day to fix, so the svn trunk version is "broken" for a day. >> If you haven't, look how some of the open source projects at Google are >> code-reviewed. Golang for example. >> >> /Emil > > Yes, I strongly agree that changes should be reviewed first. > > And you are right in that mailing lists are not the most convenient and a > not the least fancy way to accomplish that but the least common denominator. > And in my opinion a rather pretty one: > a) Grouping messages into threads is enough structure for my feeling. > b) Sent patches can be commented mail-inline, diff'd the way you like, etc.. > Of course, this codereview tool cooks everything ready for you... > > AFAICS, "The golang-dev mailing list is for discussing and reviewing code > for the Go project.", they, too, send patches inline (though, some link to > this appspot site, maybe for larger patchsets) and discuss via mail? > > Being able to have multiple branches which are freely mergable from and to > other developers would be the way I would go in this regard. It would be > rather helpful if not each and every action on the repository's metadata > would immediately go through the network into the main repository... But I > understand that git may be difficult to switch to or may not be appreciated > at all - whatever. > > I don't want to reject the idea of using this codereview tool and here my > constructive questions: What if someone spots a bug in some of my code and I > don't even visit that site? How could I participate without using a browser? > I.e.: Can a pipe to a mailing list be established from the codereview tool? > Sorry, it's late already and I only roughly overlooked Sebastian's manual > link. > > 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 Well, this tool integrates pretty well with email. If you upload a piece of code, and somebody uploads a fix for a bug, you will get a mail including the content of that patch. You can also be appointed by another submitter as a reviewer or a interested party on a patch. Beno?t, would you even consider moving gambas to a distributed VCS or is that out of the question? There are tools available that can replicate the current svn structure, including tags and svn-branches. *Using Google code would also integrate with its bug tracker. From taboege at ...626... Thu Aug 30 01:59:29 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 30 Aug 2012 01:59:29 +0200 Subject: [Gambas-user] Code Reviews In-Reply-To: References: <20120829110944.GC554@...2774...> <20120829225503.GA8889@...2774...> Message-ID: <20120829235929.GB8889@...2774...> > > I don't want to reject the idea of using this codereview tool and here my > > constructive questions: What if someone spots a bug in some of my code and I > > don't even visit that site? How could I participate without using a browser? > > I.e.: Can a pipe to a mailing list be established from the codereview tool? > > Sorry, it's late already and I only roughly overlooked Sebastian's manual > > link. > > > > 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 > > Well, this tool integrates pretty well with email. If you upload a > piece of code, and somebody uploads a fix for a bug, you will get a > mail including the content of that patch. You can also be appointed by > another submitter as a reviewer or a interested party on a patch. > > Beno?t, would you even consider moving gambas to a distributed VCS or > is that out of the question? There are tools available that can > replicate the current svn structure, including tags and svn-branches. > > *Using Google code would also integrate with its bug tracker. So, if it can be made transparent over a mailing list (and we can get such tags in the Subject: lines to allow sorting mail) I'll drop any objection. Regards, Tobi From sebikul at ...626... Thu Aug 30 03:02:02 2012 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 29 Aug 2012 22:02:02 -0300 Subject: [Gambas-user] Code Reviews In-Reply-To: <20120829235929.GB8889@...2774...> References: <20120829110944.GC554@...2774...> <20120829225503.GA8889@...2774...> <20120829235929.GB8889@...2774...> Message-ID: On Wed, Aug 29, 2012 at 8:59 PM, Tobias Boege wrote: >> > I don't want to reject the idea of using this codereview tool and here my >> > constructive questions: What if someone spots a bug in some of my code and I >> > don't even visit that site? How could I participate without using a browser? >> > I.e.: Can a pipe to a mailing list be established from the codereview tool? >> > Sorry, it's late already and I only roughly overlooked Sebastian's manual >> > link. >> > >> > 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 >> >> Well, this tool integrates pretty well with email. If you upload a >> piece of code, and somebody uploads a fix for a bug, you will get a >> mail including the content of that patch. You can also be appointed by >> another submitter as a reviewer or a interested party on a patch. >> >> Beno?t, would you even consider moving gambas to a distributed VCS or >> is that out of the question? There are tools available that can >> replicate the current svn structure, including tags and svn-branches. >> >> *Using Google code would also integrate with its bug tracker. > > So, if it can be made transparent over a mailing list (and we can get such > tags in the Subject: lines to allow sorting mail) I'll drop any objection. > > 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 It still needs some real testing, but email works. if you send a mail to reply at ...2922... with an issue id in the subject in the form of "(issue ##)" including the parenthesis, the comment is properly added. I read the source code; there is no support for adding a patch set that way and the issue id strictly needs to be in that format. It also has problems when answering directly to the mails it sent, but i'm testing a custom fix for that (i will push the update when i finish the fix, to use it now you need to create a new email), but if you don't want to use the website, Rietveld provides a command line tool [0] Please let me know if you have any more questions. [0] http://code.google.com/p/rietveld/wiki/UploadPyUsage * You will need to download it from our website as it is already customized. Head to "Create issue" and click "Download upload.py" From taboege at ...626... Thu Aug 30 03:11:50 2012 From: taboege at ...626... (Tobias Boege) Date: Thu, 30 Aug 2012 03:11:50 +0200 Subject: [Gambas-user] Code Reviews In-Reply-To: References: <20120829110944.GC554@...2774...> <20120829225503.GA8889@...2774...> <20120829235929.GB8889@...2774...> Message-ID: <20120830011150.GA10881@...2774...> On Wed, 29 Aug 2012, Sebastian Kulesz wrote: > On Wed, Aug 29, 2012 at 8:59 PM, Tobias Boege wrote: > >> > I don't want to reject the idea of using this codereview tool and here my > >> > constructive questions: What if someone spots a bug in some of my code and I > >> > don't even visit that site? How could I participate without using a browser? > >> > I.e.: Can a pipe to a mailing list be established from the codereview tool? > >> > Sorry, it's late already and I only roughly overlooked Sebastian's manual > >> > link. > >> > > >> > 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 > >> > >> Well, this tool integrates pretty well with email. If you upload a > >> piece of code, and somebody uploads a fix for a bug, you will get a > >> mail including the content of that patch. You can also be appointed by > >> another submitter as a reviewer or a interested party on a patch. > >> > >> Beno?t, would you even consider moving gambas to a distributed VCS or > >> is that out of the question? There are tools available that can > >> replicate the current svn structure, including tags and svn-branches. > >> > >> *Using Google code would also integrate with its bug tracker. > > > > So, if it can be made transparent over a mailing list (and we can get such > > tags in the Subject: lines to allow sorting mail) I'll drop any objection. > > > > 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 > > It still needs some real testing, but email works. if you send a mail > to reply at ...2922... with an issue id in the subject in > the form of "(issue ##)" including the parenthesis, the comment is > properly added. I read the source code; there is no support for adding > a patch set that way and the issue id strictly needs to be in that > format. It also has problems when answering directly to the mails it > sent, but i'm testing a custom fix for that (i will push the update > when i finish the fix, to use it now you need to create a new email), > but if you don't want to use the website, Rietveld provides a command > line tool [0] > > Please let me know if you have any more questions. > > [0] http://code.google.com/p/rietveld/wiki/UploadPyUsage > * You will need to download it from our website as it is already > customized. Head to "Create issue" and click "Download upload.py" > Thank you for your efforts. I will look at it tomorrow. From gambas at ...1... Thu Aug 30 03:18:43 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Aug 2012 03:18:43 +0200 Subject: [Gambas-user] Code Reviews In-Reply-To: References: <20120829110944.GC554@...2774...> <20120829225503.GA8889@...2774...> Message-ID: <503EBF73.6020003@...1...> Le 30/08/2012 01:43, Sebastian Kulesz a ?crit : > > Well, this tool integrates pretty well with email. If you upload a > piece of code, and somebody uploads a fix for a bug, you will get a > mail including the content of that patch. You can also be appointed by > another submitter as a reviewer or a interested party on a patch. > > Beno?t, would you even consider moving gambas to a distributed VCS or > is that out of the question? There are tools available that can > replicate the current svn structure, including tags and svn-branches. Now? I'm not against moving to git, but I don't have the time to deal with that now (I have to learn it). At the moment I am more worried about gb.net.pop3 and gb.adt and gb.option. Let's clean them so that I can release Gambas 3.3. Otherwise, for your own needs, you don't have to work on /trunk. You can create your own branches if you need, and merge them later in /trunk. For example in something like /branches/sebikul/trunk. As for using more tools, or other tools, I'm just worrying about the dependencies of the project: Sourceforge, Google for the issue tracker, and Rob's server for the documentation at the moment. I'd like to keep these dependencies minimial as much as possible. Regards, -- Beno?t Minisini From gambas.fr at ...626... Thu Aug 30 11:47:33 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 30 Aug 2012 11:47:33 +0200 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <1346274565.1836.3.camel@...2921...> References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> <1346259609.2717.7.camel@...2921...> <20120829174344.GA2273@...2774...> <1346274565.1836.3.camel@...2921...> Message-ID: Yes you can Put the button in a hbox and for example add a panel on the left on it and set the expand property of the panel to true. You will have a right aligned button. You have tools, then it's just matter of imagination Le 29 ao?t 2012 23:10, "rocko" a ?crit : > On Wed, 2012-08-29 at 20:37 +0200, Fabien Bodard wrote: > > 2012/8/29 Fabien Bodard : > > > HARRRRRRRRRGGHHHHHHHHHH !!! > > > > > > > > > WHAT ? > > > > > > > > > The dataview need to be in a datasource to wor ... but a data source > > > is a container . > > > > > > THis container Have a arrangement property... > > > > > > The arrangement autoresize his content ... it's like in html. > > > > > > SO for you ... > > > > > > In your form you put a datasource and in it a dataview then on the > > > bottom in the form you put for example a button. > > > > > > > > > set the form arrangement at vertical, the expand property of the > > > datasource at true, and the arrangement of the datasource at fill > > > set spacing of form at true and padding at true. > > > > > > or you can define margin in pixel. > > > > > > taddda... > > > > > > > > > THis is oe of the power of gambas ... normally you will never (or just > > > in rare case ) have to use the _resize event. > > > > > > Just play to try with containers (vbox,hbox,panel, vpanel,hpanel) and > > > properties (ignore, expand, arrangement, margin, padding, spacing), > > > put in it diffrent object or objects with different colors to > > > understand how it work... it is really powerfull ... all the ide is > > > based on it... and all the graphic components too . > > > > > > > > > > > > > > > > > > > > > -- > > > Fabien Bodard > > Thanks Fabien that's about 90% what I want. > The 10% I dont want is the Button fills up entire bottom/vertical space, > depending on which property I have the arraignment set to. > > Can I add a container for the button so It doesn't expand ?? > > > > > > > > > ------------------------------------------------------------------------------ > > 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 john.aaron.rose at ...626... Thu Aug 30 12:20:44 2012 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 30 Aug 2012 11:20:44 +0100 Subject: [Gambas-user] Using DataBrowser for a table which Message-ID: <1346322044.3372.10.camel@...2811...> Benoit, Using nemh's Pre-releases ppa which uses version #5071 to prepare its .deb, my app compiles OK but on running says program returned value 127 & displays: symbol lookup error: /usr/lib64/gambas3/gb.gtk.so: undefined symbol: _gtk_window_group_get_current_grab I noticed a thread entitled 'The program has returned the value: 127' which says that it is solved. If I understood correctly, it says to use a newer version but I couldn't find a message stating which one. Could you tell me which version to use so that I can ask nemh (aka kendek) to pckage that version into his ppa? PS I'm using Ubuntu Lucid 64 bit. From bbruen at ...2308... Thu Aug 30 12:59:02 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 30 Aug 2012 20:29:02 +0930 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> <1346259609.2717.7.camel@...2921...> <20120829174344.GA2273@...2774...> <1346274565.1836.3.camel@...2921...> Message-ID: <1346324342.4051.40.camel@...2688...> On Thu, 2012-08-30 at 11:47 +0200, Fabien Bodard wrote: > Yes you can > Put the button in a hbox and for example add a panel on the left on it and > set the expand property of the panel to true. You will have a right aligned > button. You have tools, then it's just matter of imagination > Le 29 ao?t 2012 23:10, "rocko" a ?crit : > > > Rocko, I have attached a project which I hope might help you. (Forgive me Richard!) It was Richard Walker's sample project for assessing his gb.Desktop problems recently - errm as amended by me for my own purposes. Look at how it runs and responds to resizing, maximizing etc on the screen. In particular, look at dragging the bottom right hand corner. Is this the type of thing you are looking for? Then look at the form layout in the IDE. Before we start, look at the help for the following !Properties! (not events!): Form.Arrangement (Returns or sets how this THING arrange its children controls.) Form.Expand ((inherited from control) Returns or sets if a THING will expand if included in a container that arranges its contents.) .Spacing and .Margin and .Padding OK? Now, the form is arranged Arrange.Vertical That is, "Indicates that a container layout its children vertically. The children control extends their width to the width of the container inside." Turning that into en_AU, I read: "If you set a container's Arrange property to "Arrange.Vertical" (or "Vertical" in the IDE property designer) then firstly, all the children in that container will be laid out one under the other in the order determined by their Y property. Secondly, (unless otherwise instructed by their Ignore property*) each child control will be expanded horizontally to the width of that container's "inside" (refer back to the Padding and Margin properties)." One thing you should note here is just what does "children" mean. It means only the direct or "first level" controls within the container. In other words, if container A contains a container B that contains a control C, then we are only talking about the layout of container B within container A. So, within Richard's form, (ignoring the timers, which are virtual controls anyway) there are two children "Panel1" and "HBox2". Remember, FMain is .Arrange=Arrange.Vertical, .Spacing=True and .Margin=True. What happens is that FMain, when it is resized in any way will layout Panel1 and HBox2 one under the other in that order and expand them to the width of it's "inside". Nothing more and nothing less. Note however, that Panel1's .Expand property is set to True and HBox2's .Expand property is set to False. Try changing the HBox2.Expand property to True. See what happens. I have rattled on here at length. Have a look at what happens within these two containers. Report back if it is or is not starting to make sense :-) Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: WindowExplorer-0.0.4.tar.gz Type: application/x-compressed-tar Size: 11967 bytes Desc: not available URL: From bbruen at ...2308... Thu Aug 30 13:11:26 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 30 Aug 2012 20:41:26 +0930 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <1346324342.4051.40.camel@...2688...> References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> <1346259609.2717.7.camel@...2921...> <20120829174344.GA2273@...2774...> <1346274565.1836.3.camel@...2921...> <1346324342.4051.40.camel@...2688...> Message-ID: <1346325086.4051.42.camel@...2688...> Oh, by the way, don't worry about any of the code in the FMain.class, there is not one line of code in there that does any arranging of the form. B From gambas.fr at ...626... Thu Aug 30 13:11:54 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 30 Aug 2012 13:11:54 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) Message-ID: 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 From oceanosoftlapalma at ...626... Thu Aug 30 13:41:00 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Thu, 30 Aug 2012 13:41:00 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: 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 > From bbruen at ...2308... Thu Aug 30 13:44:02 2012 From: bbruen at ...2308... (Bruce) Date: Thu, 30 Aug 2012 21:14:02 +0930 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: <1346327042.4051.47.camel@...2688...> On Thu, 2012-08-30 at 13:11 +0200, Fabien Bodard wrote: > 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 Fabien, I am not using it, but I want to. My problem is that after 3 or so tries I still don't understand the example and therefore how to go about it. This may come from years of using MS-Access and the other MS reporting tool to build reports but I just can't grasp how it works. A tutorial may help. regards Bruce From jscops at ...11... Thu Aug 30 14:20:21 2012 From: jscops at ...11... (Jack) Date: Thu, 30 Aug 2012 14:20:21 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: <503F5A85.3060007@...11...> Le 30/08/2012 13:11, Fabien Bodard a ?crit : > 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 Bonjour Fabien, when I transcribed Laurux gb2 to Gb3, gb.report was not finalized at this time and I am choosing pdf.writer available on the gambas.it site. This allowed me to quickly and easily rewrite sixty reports because the syntax was similar to what I was using before (draw). Cordialement. jack From rightengineer at ...626... Thu Aug 30 15:01:18 2012 From: rightengineer at ...626... (rightengineer) Date: Thu, 30 Aug 2012 18:31:18 +0530 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: Dear Faibian, How to plot multiple series using gb.chart? Do you have any demo file for the same? Your demo program plots x against Y I tried to change the demo sent earlier by you as follows chart type was changed from "plot" to "line" ( this works) but adding multiple Y series was not possible I want to add mutiple series say Y1, Y2....Yn against X here X is time in seconds and Y1 is series of data with respect to X from sensor-1 similarly Y2 is series of data with respect to X from sensor-2 and so on so when I plot series Y1 , y2... and so on I should be able to see multiple lines against X Please suggest how to do this using GB chart Also How can we provide number to instead of string to X axis? rgds Jay On Thu, Aug 30, 2012 at 4:41 PM, Fabien Bodard wrote: > 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 From gambas.fr at ...626... Thu Aug 30 15:23:33 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 30 Aug 2012 15:23:33 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: Le 30 ao?t 2012 15:03, "rightengineer" a ?crit : > > Dear Faibian, > How to plot multiple series using gb.chart? > Do you have any demo file for the same? > > Your demo program plots x against Y > I tried to change the demo sent earlier by you as follows > chart type was changed from "plot" to "line" ( this works) > but adding multiple Y series was not possible > > > I want to add mutiple series say Y1, Y2....Yn against X > here X is time in seconds and Y1 is series of data with respect to X > from sensor-1 > similarly Y2 is series of data with respect to X from sensor-2 and so on > > so when I plot series Y1 , y2... and so on > I should be able to see multiple lines against X > > Please suggest how to do this using GB chart > > Also How can we provide number to instead of string to X axis? > > rgds > Jay Jay... This thread is not about that. Multiple series are possible and as simple as Mychart(1).text... For x label... String can be numbers str(1) From gambas.fr at ...626... Thu Aug 30 15:26:51 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 30 Aug 2012 15:26:51 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: <503F5A85.3060007@...11...> References: <503F5A85.3060007@...11...> Message-ID: For jack... Gb.report is more easy to use :) Le 30 ao?t 2012 14:21, "Jack" a ?crit : > Le 30/08/2012 13:11, Fabien Bodard a ?crit : > > 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 > > Bonjour Fabien, > > when I transcribed Laurux gb2 to Gb3, gb.report was not finalized at > this time and I am choosing pdf.writer available on the gambas.it site. > > This allowed me to quickly and easily rewrite sixty reports because the > syntax was similar to what I was using before (draw). > > Cordialement. > > jack > > > > ------------------------------------------------------------------------------ > 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 jscops at ...11... Thu Aug 30 16:14:00 2012 From: jscops at ...11... (Jack) Date: Thu, 30 Aug 2012 16:14:00 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: <503F5A85.3060007@...11...> Message-ID: <503F7528.6030802@...11...> Le 30/08/2012 15:26, Fabien Bodard a ?crit : > For jack... Gb.report is more easy to use :) Yes Fabien, I admire your work and I will use gb.report when i have a little more time :) From johny.provoost at ...27... Thu Aug 30 16:35:22 2012 From: johny.provoost at ...27... (Johny Provoost) Date: Thu, 30 Aug 2012 16:35:22 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: <503F7A2A.2050202@...27...> Hi Fabien, I use it. For a simple report it's not that difficult (got your help to start), but there's a lack of documentation. I know this take a lot of time :>) Op 30-08-12 13:11, Fabien Bodard schreef: > 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 > From jussi.lahtinen at ...626... Thu Aug 30 16:13:28 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 30 Aug 2012 17:13:28 +0300 Subject: [Gambas-user] Using DataBrowser for a table which In-Reply-To: <1346322044.3372.10.camel@...2811...> References: <1346322044.3372.10.camel@...2811...> Message-ID: I think it was fixed in revision 5075. Just use the latest revision. Jussi On 30 August 2012 13:20, John Rose wrote: > Benoit, > > Using nemh's Pre-releases ppa which uses version #5071 to prepare > its .deb, my app compiles OK but on running says program returned value > 127 & displays: > symbol lookup error: /usr/lib64/gambas3/gb.gtk.so: undefined symbol: > _gtk_window_group_get_current_grab > > I noticed a thread entitled 'The program has returned the value: 127' > which says that it is solved. If I understood correctly, it says to use > a newer version but I couldn't find a message stating which one. Could > you tell me which version to use so that I can ask nemh (aka kendek) to > pckage that version into his ppa? > > PS I'm using Ubuntu Lucid 64 bit. > > > > > ------------------------------------------------------------------------------ > 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 bespalov.av at ...626... Thu Aug 30 16:50:17 2012 From: bespalov.av at ...626... (=?KOI8-R?B?4czFy9PFyiDixdPQwczP1w==?=) Date: Thu, 30 Aug 2012 21:50:17 +0700 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: I do not use, do not understand how it works. You can find it here http://gambas.pro/gambas/gambas-creporthtml-report-class.htm HTML templates for reports. 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 > -- ____ ? ????????? ???????. From gambas.fr at ...626... Thu Aug 30 17:50:58 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 30 Aug 2012 17:50:58 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: Well so, I need to make this big big work :-( In fact one the problem is gambas users mostly not understand the box arrangement system in gambas. The gb.report is based on that and on _data event for field like gridview. Near to all is possible with this tool. So the tuto is long to write ... To test a report just set it as project main class and then run. it show directly the report viewer. So you can quickly see your modification result. I've done some video on YouTube too But I know... I'll do this doc. Do you have some challenge difficult I can try to do. I need to test limits so send me ideas of complex report (without chart) I can try and put in example Le 30 ao?t 2012 16:51, "??????? ????????" a ?crit : > I do not use, do not understand how it works. > You can find it here > http://gambas.pro/gambas/gambas-creporthtml-report-class.htm > HTML templates for reports. > > 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 gambas at ...1... Thu Aug 30 18:07:49 2012 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 30 Aug 2012 18:07:49 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: Message-ID: <503F8FD5.7040806@...1...> Le 30/08/2012 17:50, Fabien Bodard a ?crit : > Well so, I need to make this big big work :-( > > In fact one the problem is gambas users mostly not understand the box > arrangement system in gambas. > About the "arrangement system", the main idea is: You make a report by telling how each element is positioned relatively to each other, or relatively to its parent. That way, the report can be drawn whatever the page size is. How it is done concretely? It's taken from the GUI arrangement system: - You have containers that arrange their children vertically, horizontally... and that know how much space they have. - You have display elements that can have either absolute sizes (expressed in various units). They can also marked as expandable to let their parents expand them if there is space available. The root parent is the page itself. As the user tells the size of that page, we can recursively compute the size of all page elements according to the container and child elements properties, and then print the report. Moreover, the root parent is clever enough, if it has not enough space for its children, to spread accross new pages automatically. So there is way to tell which elements are repeated between different pages (so that you can create headers and footers), and which are not. Fabien could tell you more about that. Of course, for reports having a few elements, all that a bit complex. But for real reports made by real guys who have clients having many paper formats and many different printers, that will save you a lot of worry. If you don't understand how to use Gambas GUI containers, you won't understand how to use Report containers. Regards, -- Beno?t Minisini From sunblaster5 at ...626... Thu Aug 30 20:04:42 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 30 Aug 2012 11:04:42 -0700 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <1346324342.4051.40.camel@...2688...> References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> <1346259609.2717.7.camel@...2921...> <20120829174344.GA2273@...2774...> <1346274565.1836.3.camel@...2921...> <1346324342.4051.40.camel@...2688...> Message-ID: <1346349883.2373.7.camel@...2921...> On Thu, 2012-08-30 at 20:29 +0930, Bruce wrote: > On Thu, 2012-08-30 at 11:47 +0200, Fabien Bodard wrote: > > Yes you can > > Put the button in a hbox and for example add a panel on the left on it and > > set the expand property of the panel to true. You will have a right aligned > > button. You have tools, then it's just matter of imagination > > Le 29 ao?t 2012 23:10, "rocko" a ?crit : > > > > > > > Rocko, > > I have attached a project which I hope might help you. > > (Forgive me Richard!) It was Richard Walker's sample project for > assessing his gb.Desktop problems recently - errm as amended by me for > my own purposes. > > Look at how it runs and responds to resizing, maximizing etc on the > screen. In particular, look at dragging the bottom right hand corner. Is > this the type of thing you are looking for? > > Then look at the form layout in the IDE. > > > Before we start, look at the help for the following !Properties! (not > events!): > > Form.Arrangement (Returns or sets how this THING arrange its children > controls.) > > Form.Expand ((inherited from control) Returns or sets if a THING will > expand if included in a container that arranges its contents.) > > .Spacing and .Margin and .Padding > > OK? Now, the form is arranged Arrange.Vertical That is, "Indicates that > a container layout its children vertically. > The children control extends their width to the width of the container > inside." > > Turning that into en_AU, I read: "If you set a container's Arrange > property to "Arrange.Vertical" (or "Vertical" in the IDE property > designer) then firstly, all the children in that container will be laid > out one under the other in the order determined by their Y property. > Secondly, (unless otherwise instructed by their Ignore property*) each > child control will be expanded horizontally to the width of that > container's "inside" (refer back to the Padding and Margin properties)." > > One thing you should note here is just what does "children" mean. It > means only the direct or "first level" controls within the container. > In other words, if container A contains a container B that contains a > control C, then we are only talking about the layout of container B > within container A. > > So, within Richard's form, (ignoring the timers, which are virtual > controls anyway) there are two children "Panel1" and "HBox2". Remember, > FMain is .Arrange=Arrange.Vertical, .Spacing=True and .Margin=True. > What happens is that FMain, when it is resized in any way will layout > Panel1 and HBox2 one under the other in that order and expand them to > the width of it's "inside". Nothing more and nothing less. > > Note however, that Panel1's .Expand property is set to True and > HBox2's .Expand property is set to False. > > Try changing the HBox2.Expand property to True. See what happens. > > I have rattled on here at length. Have a look at what happens within > these two containers. Report back if it is or is not starting to make > sense :-) > > Bruce Thanks I got the button pretty much how I want it. But I cannot for the life of me get the dataBrowser to expand to the left(Horizontal). I want the dataBrowser to be at the top of the window and expand to the left when the window is maximized. I have it in a dataSource and Vpanel as i want to line things up verticaly.Also have tried a Hpanel without luck, but I cannot figure out how to get it to expand to the left. I tried following the example project you sent, but couldn't get my dataBrowser to expand left, it will only expand down. How did you get the 'txtWindowLister' and the 'txtDTWatcherEvents' to expand to the left?? > > > > > > ------------------------------------------------------------------------------ > 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 Aug 30 20:54:25 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 30 Aug 2012 11:54:25 -0700 Subject: [Gambas-user] getting dataview to expand?? In-Reply-To: <1346325086.4051.42.camel@...2688...> References: <1346191559.1737.2.camel@...2921...> <20120829095745.GB554@...2774...> <1346234868.4051.2.camel@...2688...> <1346259609.2717.7.camel@...2921...> <20120829174344.GA2273@...2774...> <1346274565.1836.3.camel@...2921...> <1346324342.4051.40.camel@...2688...> <1346325086.4051.42.camel@...2688...> Message-ID: <1346352865.2373.9.camel@...2921...> On Thu, 2012-08-30 at 20:41 +0930, Bruce wrote: > Oh, by the way, don't worry about any of the code in the FMain.class, > there is not one line of code in there that does any arranging of the > form. > B Ok I think I figured it out. I think I add 'auto resize" enable on one or two of the panels. > > > > ------------------------------------------------------------------------------ > 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 gambas.fr at ...626... Thu Aug 30 21:24:16 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 30 Aug 2012 21:24:16 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: <503F8FD5.7040806@...1...> References: <503F8FD5.7040806@...1...> Message-ID: 2012/8/30 Beno?t Minisini : > Le 30/08/2012 17:50, Fabien Bodard a ?crit : >> Well so, I need to make this big big work :-( >> >> In fact one the problem is gambas users mostly not understand the box >> arrangement system in gambas. >> > > About the "arrangement system", the main idea is: > > You make a report by telling how each element is positioned relatively > to each other, or relatively to its parent. That way, the report can be > drawn whatever the page size is. > > How it is done concretely? It's taken from the GUI arrangement system: > > - You have containers that arrange their children vertically, > horizontally... and that know how much space they have. > > - You have display elements that can have either absolute sizes > (expressed in various units). They can also marked as expandable to let > their parents expand them if there is space available. > > The root parent is the page itself. As the user tells the size of that > page, we can recursively compute the size of all page elements according > to the container and child elements properties, and then print the report. > > Moreover, the root parent is clever enough, if it has not enough space > for its children, to spread accross new pages automatically. So there is > way to tell which elements are repeated between different pages (so that > you can create headers and footers), and which are not. Fabien could > tell you more about that. It's the Fixed property. It force an element to be repeated each time his container is repeated. A container is repeated if a content need as new page. for an arry if the number of line is to important for the page the the array is repeated in the second page. if the array header have fixed at true then you have it on each page. > > Of course, for reports having a few elements, all that a bit complex. Not sur ... or for really few. > > But for real reports made by real guys who have clients having many > paper formats and many different printers, that will save you a lot of > worry. > > If you don't understand how to use Gambas GUI containers, you won't > understand how to use Report containers. > > 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 -- Fabien Bodard From john.aaron.rose at ...626... Thu Aug 30 21:54:54 2012 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 30 Aug 2012 20:54:54 +0100 Subject: [Gambas-user] Using DataBrowser for a table which Message-ID: <1346356494.4134.2.camel@...2811...> Jussi, Not fixed in latest sebikul's gambas-daily ppa, which uses svn 3995 & is version 3.2.90. I tried that earlier today after the ppa was uploaded. From gambas.fr at ...626... Thu Aug 30 22:08:54 2012 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 30 Aug 2012 22:08:54 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: <503F8FD5.7040806@...1...> Message-ID: 15 Minutes 2012/8/30 Fabien Bodard : > 2012/8/30 Beno?t Minisini : >> Le 30/08/2012 17:50, Fabien Bodard a ?crit : >>> Well so, I need to make this big big work :-( >>> >>> In fact one the problem is gambas users mostly not understand the box >>> arrangement system in gambas. >>> >> >> About the "arrangement system", the main idea is: >> >> You make a report by telling how each element is positioned relatively >> to each other, or relatively to its parent. That way, the report can be >> drawn whatever the page size is. >> >> How it is done concretely? It's taken from the GUI arrangement system: >> >> - You have containers that arrange their children vertically, >> horizontally... and that know how much space they have. >> >> - You have display elements that can have either absolute sizes >> (expressed in various units). They can also marked as expandable to let >> their parents expand them if there is space available. >> >> The root parent is the page itself. As the user tells the size of that >> page, we can recursively compute the size of all page elements according >> to the container and child elements properties, and then print the report. >> >> Moreover, the root parent is clever enough, if it has not enough space >> for its children, to spread accross new pages automatically. So there is >> way to tell which elements are repeated between different pages (so that >> you can create headers and footers), and which are not. Fabien could >> tell you more about that. > > It's the Fixed property. It force an element to be repeated each time > his container is repeated. A container is repeated if a content need > as new page. > > for an arry if the number of line is to important for the page the the > array is repeated in the second page. if the array header have fixed > at true then you have it on each page. > > > > >> >> Of course, for reports having a few elements, all that a bit complex. > Not sur ... or for really few. >> >> But for real reports made by real guys who have clients having many >> paper formats and many different printers, that will save you a lot of >> worry. >> >> If you don't understand how to use Gambas GUI containers, you won't >> understand how to use Report containers. >> >> 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 > > > > -- > Fabien Bodard -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: demoreports-0.0.1.tar.gz Type: application/x-gzip Size: 25914 bytes Desc: not available URL: From jussi.lahtinen at ...626... Thu Aug 30 22:16:37 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 30 Aug 2012 23:16:37 +0300 Subject: [Gambas-user] Using DataBrowser for a table which In-Reply-To: <1346356494.4134.2.camel@...2811...> References: <1346356494.4134.2.camel@...2811...> Message-ID: > Not fixed in latest sebikul's gambas-daily ppa, which uses svn 3995 & is > version 3.2.90. I tried that earlier today after the ppa was uploaded. > Rev 3995 is from 09 Aug 2011 !?? Latest revision is 5100. What are you talking about? Jussi From jussi.lahtinen at ...626... Thu Aug 30 22:20:37 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 30 Aug 2012 23:20:37 +0300 Subject: [Gambas-user] Using DataBrowser for a table which In-Reply-To: References: <1346356494.4134.2.camel@...2811...> Message-ID: OK, got it... different numbering. I don't know what Gambas revision is used for that, but I would guess latest. Can you provide test project to demonstrate the problem? Jussi On Thu, Aug 30, 2012 at 11:16 PM, Jussi Lahtinen wrote: > > Not fixed in latest sebikul's gambas-daily ppa, which uses svn 3995 & is >> version 3.2.90. I tried that earlier today after the ppa was uploaded. >> > > Rev 3995 is from 09 Aug 2011 !?? Latest revision is 5100. > What are you talking about? > > Jussi > From gambas at ...2524... Fri Aug 31 01:43:50 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 30 Aug 2012 23:43:50 +0000 Subject: [Gambas-user] Issue 320 in gambas: fullscreen property prevents Form_Open from running in GTK Message-ID: <0-6813199134517018827-6537528351482932744-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 320 by zachsmit... at ...626...: fullscreen property prevents Form_Open from running in GTK http://code.google.com/p/gambas/issues/detail?id=320 1) Sub Form_Open doesn't run if fullscreen=true. Works in QT. 2) Version: TRUNK Revision: r5102 [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.1.tar.gz 4.5 KB From sunblaster5 at ...626... Fri Aug 31 03:15:30 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 30 Aug 2012 18:15:30 -0700 Subject: [Gambas-user] Questions about the 'database' example Message-ID: <1346375731.5008.9.camel@...2921...> Been looking at the database example in Gambas 3.2.1. I believe it's the first one simply named 'Database'. I noticed on the Ftest.Form that the DataBrowser behaves differently. For instance when you click on an record in the dataBrowser it populates a series of txt boxes with the data. Also if you click the [+] add record button it doesn't prompt you to add the record on the dataBrowser itself as is the default behavior, but instead it clears the txt boxes and lets use them to enter a new record. Then you just simply click the save icon and it updates the dataBrowser. I would love yo know how that was done. I looked thru the code but couldn't see anything that would give me a clue. Could some one point out the code that does this. I'm currently working on a similar project and that is just what I need. But I can't figure out how it's done. -- rocko From support at ...2529... Fri Aug 31 03:37:31 2012 From: support at ...2529... (John Spikowski) Date: Thu, 30 Aug 2012 18:37:31 -0700 Subject: [Gambas-user] Questions about the 'database' example In-Reply-To: <1346375731.5008.9.camel@...2921...> References: <1346375731.5008.9.camel@...2921...> Message-ID: <1346377051.4658.17.camel@...1833...> On Thu, 2012-08-30 at 18:15 -0700, rocko wrote: > Been looking at the database example in Gambas 3.2.1. > I believe it's the first one simply named 'Database'. > I noticed on the Ftest.Form that the DataBrowser behaves differently. > > For instance when you click on an record in the dataBrowser it populates > a series of txt boxes with the data. > Also if you click the [+] add record button it doesn't prompt you to add > the record on the dataBrowser itself as is the default behavior, but > instead it clears the txt boxes and lets use them to enter a new record. > Then you just simply click the save icon and it updates the dataBrowser. > > I would love yo know how that was done. > I looked thru the code but couldn't see anything that would give me a > clue. > > Could some one point out the code that does this. > I'm currently working on a similar project and that is just what I need. > But I can't figure out how it's done. If your database is bound to an object variable you may want to look for that being nulled. By default all your form database fields would be blanked (or default value) and ready for new entry repopulating the object variable. I don't use Gambas enough to say this is how Gambas deals with bond datasets. From gambas at ...2524... Fri Aug 31 04:00:55 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 31 Aug 2012 02:00:55 +0000 Subject: [Gambas-user] Issue 321 in gambas: panel background color bleeds into buttons in GTK Message-ID: <0-6813199134517018827-7488548137302273925-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 321 by zachsmit... at ...626...: panel background color bleeds into buttons in GTK http://code.google.com/p/gambas/issues/detail?id=321 1) Panel background color bleeds into buttons and other controls in GTK. Works in QT. 2) Version: TRUNK Revision: r5102 [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: gtk_panel_color-0.0.1.tar.gz 4.6 KB From sunblaster5 at ...626... Fri Aug 31 04:14:31 2012 From: sunblaster5 at ...626... (rocko) Date: Thu, 30 Aug 2012 19:14:31 -0700 Subject: [Gambas-user] Questions about the 'database' example In-Reply-To: <1346377051.4658.17.camel@...1833...> References: <1346375731.5008.9.camel@...2921...> <1346377051.4658.17.camel@...1833...> Message-ID: <1346379271.5008.15.camel@...2921...> On Thu, 2012-08-30 at 18:37 -0700, John Spikowski wrote: > On Thu, 2012-08-30 at 18:15 -0700, rocko wrote: > > Been looking at the database example in Gambas 3.2.1. > > I believe it's the first one simply named 'Database'. > > I noticed on the Ftest.Form that the DataBrowser behaves differently. > > > > For instance when you click on an record in the dataBrowser it populates > > a series of txt boxes with the data. > > Also if you click the [+] add record button it doesn't prompt you to add > > the record on the dataBrowser itself as is the default behavior, but > > instead it clears the txt boxes and lets use them to enter a new record. > > Then you just simply click the save icon and it updates the dataBrowser. > > > > I would love yo know how that was done. > > I looked thru the code but couldn't see anything that would give me a > > clue. > > > > Could some one point out the code that does this. > > I'm currently working on a similar project and that is just what I need. > > But I can't figure out how it's done. > > If your database is bound to an object variable you may want to look for > that being nulled. By default all your form database fields would be > blanked (or default value) and ready for new entry repopulating the > object variable. I don't use Gambas enough to say this is how Gambas > deals with bond datasets. I discovered I can use dataControls to bind to the fields in a table. But I think I have to use 2 dataSources, one for the dataBrowser the other for the dataControls. The first dataSource i'm using contains the dataControls and the second dataSource along with the dataBrowser. However the dataControls are not displaying the fields they're set to in the properties, the dataBrowser is working fine--so far. If I click in a field in the dataBrowser, the dataControl it's bound should display its data, but unfortunately for me it isn't. > > > > > ------------------------------------------------------------------------------ > 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 john.aaron.rose at ...626... Fri Aug 31 09:25:42 2012 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 31 Aug 2012 08:25:42 +0100 Subject: [Gambas-user] Using DataBrowser for a table which Message-ID: <1346397942.4134.40.camel@...2811...> Jussi, My previous message was incorrect about still getting problem 127 on running app. I'd forgot to disable nemh's pre-release versions ppa which uses svn 20120823 & revision #5071. On doing the 'disable', Synaptic now fully installed sebikul's gambas-daily (3.2.90-0+svn3995). Benoit, Thanks for your work on the DataBrowser & DataSource controls. It now seems to work on adding a Centre to an existing Country. I have used the Tag property of the DataSourceCentre to pass the CountryId through to the BeforeSave event's code. So it now creates the Foreign Key (CountryId) in the Centre table when adding the new Centre row using DataBrowserCentre (embedded in DataSourceCentre). Now I'll try the adding of various Locations to the Location table which has a Foreign Key to the Centre table: it should work but those are famous last words! -------------- next part -------------- A non-text attachment was scrubbed... Name: JewishHeritage.tar.gz Type: application/x-compressed-tar Size: 51681 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: JH.db.tar.gz Type: application/x-compressed-tar Size: 577 bytes Desc: not available URL: From oceanosoftlapalma at ...626... Fri Aug 31 11:39:43 2012 From: oceanosoftlapalma at ...626... (=?UTF-8?B?UmljYXJkbyBEw61heiBNYXJ0w61u?=) Date: Fri, 31 Aug 2012 11:39:43 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: <503F7528.6030802@...11...> References: <503F5A85.3060007@...11...> <503F7528.6030802@...11...> Message-ID: You didn't attach infobook.db 2012/8/30 Jack > Le 30/08/2012 15:26, Fabien Bodard a ?crit : > > For jack... Gb.report is more easy to use :) > > Yes Fabien, > I admire your work and I will use gb.report when i have a little more > time :) > > > > ------------------------------------------------------------------------------ > 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... Fri Aug 31 12:34:16 2012 From: mohareve at ...626... (M. Cs.) Date: Fri, 31 Aug 2012 12:34:16 +0200 Subject: [Gambas-user] Who use gb.report ? (to all gambas users) In-Reply-To: References: <503F5A85.3060007@...11...> <503F7528.6030802@...11...> Message-ID: Hello Fabien! I use it for printing tasks. I can cope with the settings, although they aren't as natural for me. I think it would be great thing to have in the help settings thoroughly explained for some typical tasks like: printing on a specified paper size (chosen by user), and positioning with fixed coordinates preferably in millimeters from the top left edge of the paper with specified margins. This floating concept can be great for some cases, but for an average user my task is far more used. The next task I will use gb.report will be printing on a custom sized paper with text fields to be printed accurately on their positions measured by hand. :-) Greetings! Csaba 2012/8/31 Ricardo D?az Mart?n > You didn't attach infobook.db > > > > > 2012/8/30 Jack > > > Le 30/08/2012 15:26, Fabien Bodard a ?crit : > > > For jack... Gb.report is more easy to use :) > > > > Yes Fabien, > > I admire your work and I will use gb.report when i have a little more > > time :) > > > > > > > > > ------------------------------------------------------------------------------ > > 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 taboege at ...626... Fri Aug 31 12:48:55 2012 From: taboege at ...626... (Tobias Boege) Date: Fri, 31 Aug 2012 12:48:55 +0200 Subject: [Gambas-user] Questions about the 'database' example In-Reply-To: <1346379271.5008.15.camel@...2921...> References: <1346375731.5008.9.camel@...2921...> <1346377051.4658.17.camel@...1833...> <1346379271.5008.15.camel@...2921...> Message-ID: <20120831104855.GA615@...2774...> On Thu, 30 Aug 2012, rocko wrote: > On Thu, 2012-08-30 at 18:37 -0700, John Spikowski wrote: > > On Thu, 2012-08-30 at 18:15 -0700, rocko wrote: > > > Been looking at the database example in Gambas 3.2.1. > > > I believe it's the first one simply named 'Database'. > > > I noticed on the Ftest.Form that the DataBrowser behaves differently. > > > > > > For instance when you click on an record in the dataBrowser it populates > > > a series of txt boxes with the data. > > > Also if you click the [+] add record button it doesn't prompt you to add > > > the record on the dataBrowser itself as is the default behavior, but > > > instead it clears the txt boxes and lets use them to enter a new record. > > > Then you just simply click the save icon and it updates the dataBrowser. > > > > > > I would love yo know how that was done. > > > I looked thru the code but couldn't see anything that would give me a > > > clue. > > > > > > Could some one point out the code that does this. > > > I'm currently working on a similar project and that is just what I need. > > > But I can't figure out how it's done. > > > > If your database is bound to an object variable you may want to look for > > that being nulled. By default all your form database fields would be > > blanked (or default value) and ready for new entry repopulating the > > object variable. I don't use Gambas enough to say this is how Gambas > > deals with bond datasets. > > I discovered I can use dataControls to bind to the fields in a table. > But I think I have to use 2 dataSources, one for the dataBrowser the > other for the dataControls. > > The first dataSource i'm using contains the dataControls and the second > dataSource along with the dataBrowser. > However the dataControls are not displaying the fields they're set to > in the properties, the dataBrowser is working fine--so far. > > If I click in a field in the dataBrowser, the dataControl it's bound > should display its data, but unfortunately for me it isn't. The DataSource maintains a connection to a database. When there is a DataBrowser within a DataSource control, the latter provides the former with records to display, etc. When you select a record in the DataBrowser this system automatically fills related DataControls. For this all to work, the controls must be under the _same_ DataSource. The thing with the Add-record button is that this belongs to DataBrowser so you will find the code not in the example but in the gb.db.form component, entirely written in Gambas - if you want to have a look. When you click on that button, the DataSource is instructed to create a new record, just as you would do it with Connection.Create(). Since that is empty, your DataControls will be become empty, too. Regards, Tobi From ron at ...1740... Fri Aug 31 13:12:02 2012 From: ron at ...1740... (Ron) Date: Fri, 31 Aug 2012 13:12:02 +0200 Subject: [Gambas-user] Disable / overrule 'create new' button on DataBrowser Message-ID: <50409C02.1030208@...1740...> Hi list, Is it possible to disable/overrule the 'new' button of a DataBrowser object? If so, how? Thanks. Regards, Ron_2nd. From gambas at ...1... Fri Aug 31 13:47:54 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 31 Aug 2012 13:47:54 +0200 Subject: [Gambas-user] Disable / overrule 'create new' button on DataBrowser In-Reply-To: <50409C02.1030208@...1740...> References: <50409C02.1030208@...1740...> Message-ID: <5040A46A.3090904@...1...> Le 31/08/2012 13:12, Ron a ?crit : > Hi list, > > Is it possible to disable/overrule the 'new' button of a DataBrowser object? > > If so, how? > > Thanks. > > Regards, > Ron_2nd. > No. What do you need exactly? Disabling it? Or overruling it (please explain what you mean then)? -- Beno?t Minisini From ron at ...1740... Fri Aug 31 14:52:32 2012 From: ron at ...1740... (Ron) Date: Fri, 31 Aug 2012 14:52:32 +0200 Subject: [Gambas-user] Disable / overrule 'create new' button on DataBrowser In-Reply-To: <5040A46A.3090904@...1...> References: <50409C02.1030208@...1740...> <5040A46A.3090904@...1...> Message-ID: <5040B390.4090202@...1740...> On 31-8-2012 13:47, Beno?t Minisini wrote: > Le 31/08/2012 13:12, Ron a ?crit : >> Hi list, >> >> Is it possible to disable/overrule the 'new' button of a DataBrowser object? >> >> If so, how? >> >> Thanks. >> >> Regards, >> Ron_2nd. >> > No. What do you need exactly? Disabling it? Or overruling it (please > explain what you mean then)? > Disable it, so you cannot create a record, only browse, deleted and modify. Regards, Ron_2nd. From gambas at ...2524... Fri Aug 31 15:22:16 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 31 Aug 2012 13:22:16 +0000 Subject: [Gambas-user] Issue 322 in gambas: Crash with Task Message-ID: <0-6813199134517018827-3568243795960805792-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 322 by jussi.la... at ...626...: Crash with Task http://code.google.com/p/gambas/issues/detail?id=322 1) Describe the problem. "Wait 1" command combined with "Print" causes crash in Main loop. See attachment. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5103 (if you use a development version) Operating system: Linux Distribution: Xubuntu Architecture: x86_64 Desktop used: XFCE Attachments: TaskTest-0.0.1.tar.gz 4.9 KB From gambas at ...2524... Fri Aug 31 15:27:09 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 31 Aug 2012 13:27:09 +0000 Subject: [Gambas-user] Issue 323 in gambas: Write command doesn't work in some cases when inheriting Task Message-ID: <0-6813199134517018827-10727670374705737716-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 323 by jussi.la... at ...626...: Write command doesn't work in some cases when inheriting Task http://code.google.com/p/gambas/issues/detail?id=323 1) Describe the problem. No output from MyTask, when using Write. See attachment. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5103 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 Desktop used: XFCE Attachments: TaskTest-0.0.2.tar.gz 4.9 KB From gambas at ...1... Fri Aug 31 18:09:45 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 31 Aug 2012 18:09:45 +0200 Subject: [Gambas-user] Disable / overrule 'create new' button on DataBrowser In-Reply-To: <5040B390.4090202@...1740...> References: <50409C02.1030208@...1740...> <5040A46A.3090904@...1...> <5040B390.4090202@...1740...> Message-ID: <5040E1C9.2090205@...1...> Le 31/08/2012 14:52, Ron a ?crit : > On 31-8-2012 13:47, Beno?t Minisini wrote: >> Le 31/08/2012 13:12, Ron a ?crit : >>> Hi list, >>> >>> Is it possible to disable/overrule the 'new' button of a DataBrowser object? >>> >>> If so, how? >>> >>> Thanks. >>> >>> Regards, >>> Ron_2nd. >>> >> No. What do you need exactly? Disabling it? Or overruling it (please >> explain what you mean then)? >> > > Disable it, so you cannot create a record, only browse, deleted and modify. > > Regards, > Ron_2nd. > Hi, In revision #5104, I have added two properties to DataBrowser: CanCreate and CanDelete. What they do should be obvious. :-) By the way, now DataView and DataBrowser now display no selection when they are in creation mode, except if they are in editing mode. In that case, the new record row is selected. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Aug 31 19:40:59 2012 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 31 Aug 2012 20:40:59 +0300 Subject: [Gambas-user] Bug with list of tasks Message-ID: With latest revision, only notes beginning with two quotemarks are shown in list. This is shown: ''TODO: This is not shown: 'TODO: I would expect both of them to be found on list. Jussi From gambas at ...1... Fri Aug 31 20:02:42 2012 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 31 Aug 2012 20:02:42 +0200 Subject: [Gambas-user] Bug with list of tasks In-Reply-To: References: Message-ID: <5040FC42.8040503@...1...> Le 31/08/2012 19:40, Jussi Lahtinen a ?crit : > With latest revision, only notes beginning with two quotemarks are shown in > list. > > This is shown: > ''TODO: > > This is not shown: > 'TODO: > > I would expect both of them to be found on list. > > Jussi It should be fixed in revision #5105. Regards, -- Beno?t Minisini From gambas at ...2524... Fri Aug 31 21:14:03 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 31 Aug 2012 19:14:03 +0000 Subject: [Gambas-user] Issue 320 in gambas: fullscreen property prevents Form_Open from running in GTK In-Reply-To: <0-6813199134517018827-6537528351482932744-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6537528351482932744-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6537528351482932744-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 320 by benoit.m... at ...626...: fullscreen property prevents Form_Open from running in GTK http://code.google.com/p/gambas/issues/detail?id=320 (No comment was entered for this change.) From gambas at ...2524... Fri Aug 31 21:42:37 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 31 Aug 2012 19:42:37 +0000 Subject: [Gambas-user] Issue 320 in gambas: fullscreen property prevents Form_Open from running in GTK In-Reply-To: <1-6813199134517018827-6537528351482932744-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6537528351482932744-gambas=googlecode.com@...2524...> <0-6813199134517018827-6537528351482932744-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6537528351482932744-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 320 by benoit.m... at ...626...: fullscreen property prevents Form_Open from running in GTK http://code.google.com/p/gambas/issues/detail?id=320 Fixed in revision #5106. From gambas at ...2524... Fri Aug 31 21:44:29 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 31 Aug 2012 19:44:29 +0000 Subject: [Gambas-user] Issue 321 in gambas: panel background color bleeds into buttons in GTK In-Reply-To: <0-6813199134517018827-7488548137302273925-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7488548137302273925-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7488548137302273925-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 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 I would say that gb.gtk is right there, as the background color is normally inherited from the parent container. From gambas at ...2524... Fri Aug 31 21:56:58 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 31 Aug 2012 19:56:58 +0000 Subject: [Gambas-user] Issue 322 in gambas: Crash with Task In-Reply-To: <0-6813199134517018827-3568243795960805792-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3568243795960805792-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3568243795960805792-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 322 by benoit.m... at ...626...: Crash with Task http://code.google.com/p/gambas/issues/detail?id=322 (No comment was entered for this change.) From gambas at ...2524... Fri Aug 31 21:57:58 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 31 Aug 2012 19:57:58 +0000 Subject: [Gambas-user] Issue 322 in gambas: Crash with Task In-Reply-To: <1-6813199134517018827-3568243795960805792-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3568243795960805792-gambas=googlecode.com@...2524...> <0-6813199134517018827-3568243795960805792-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3568243795960805792-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 322 by benoit.m... at ...626...: Crash with Task http://code.google.com/p/gambas/issues/detail?id=322 Fixed in revision #5107. The crash is caused by the GUI event loop. So I disabled it in background tasks. But then, no way a GUI can work in a background task now. From gambas at ...2524... Fri Aug 31 21:59:49 2012 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 31 Aug 2012 19:59:49 +0000 Subject: [Gambas-user] Issue 323 in gambas: Write command doesn't work in some cases when inheriting Task In-Reply-To: <0-6813199134517018827-10727670374705737716-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10727670374705737716-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10727670374705737716-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 323 by benoit.m... at ...626...: Write command doesn't work in some cases when inheriting Task http://code.google.com/p/gambas/issues/detail?id=323 Input-output are buffered. You must use FLUSH. In the case of background task, a flush is automatically done when a '\n' is emitted.
Name Value