Re: [Gambas-user] Shared WiringPi library for RasPi

2013-05-25 Thread CJ
> The interpreter cannot be run in another thread. This is the > reason why you get a crash. Thanks for explaining the problem and possible solutions Benoît! I have forwarded your input to wiringPi's author so lets see whats happening and if he may consider adding a "interpreter friendly" interr

Re: [Gambas-user] Preview only works with some files

2013-05-25 Thread Benoît Minisini
Le 25/05/2013 23:05, Antonio Sánchez a écrit : > For our purpose, yes, it is a bit low. > Where could we change this limit? > You can't at the moment, but you can handle the "Icon" event instead, and set the Icon property: that allows you to create the image preview yourself as you like. Regard

Re: [Gambas-user] Preview only works with some files

2013-05-25 Thread Antonio Sánchez
For our purpose, yes, it is a bit low. Where could we change this limit? 2013/5/25 Benoît Minisini > Le 25/05/2013 22:43, Antonio Sánchez a écrit : > > We are using FileChooser control with "ShowPreview" to True, but only get > > some previews and we don't know why. We find no aparent reason. >

Re: [Gambas-user] Preview only works with some files

2013-05-25 Thread Benoît Minisini
Le 25/05/2013 22:43, Antonio Sánchez a écrit : > We are using FileChooser control with "ShowPreview" to True, but only get > some previews and we don't know why. We find no aparent reason. > > I attached a screenshot. > When the file is too big (> 64K), the preview is not shown. Maybe the limit i

Re: [Gambas-user] Shared WiringPi library for RasPi

2013-05-25 Thread Benoît Minisini
Le 25/05/2013 20:54, CJ a écrit : > >> What happens if there is no code at all inside the interrupt handler? > > The same thing. > >> Do you know in which context the interrupt handler is run? (signal >> handler context? Something else?) > > Here is the response from wiringPi's author Gordon Hender

Re: [Gambas-user] Shared WiringPi library for RasPi

2013-05-25 Thread CJ
> What happens if there is no code at all inside the interrupt handler? The same thing. > Do you know in which context the interrupt handler is run? (signal > handler context? Something else?) Here is the response from wiringPi's author Gordon Henderson... The interrupt handler is a standard

Re: [Gambas-user] Shared WiringPi library for RasPi

2013-05-25 Thread Benoît Minisini
Le 25/05/2013 18:32, CJ a écrit : > > After compiling and updating to latest stable 3.4.1 version I retested > the HW interrupt code I had problems with when running 3.3.4 and have the > same error when testing on the RaspberryPi... > > Code compiles OK but when I pull GPIO18 pin low (i.e generatin

Re: [Gambas-user] Shared WiringPi library for RasPi

2013-05-25 Thread CJ
After compiling and updating to latest stable 3.4.1 version I retested the HW interrupt code I had problems with when running 3.3.4 and have the same error when testing on the RaspberryPi... Code compiles OK but when I pull GPIO18 pin low (i.e generating the interrupt) it crashes with a "Stack ov

[Gambas-user] Test please ignore!

2013-05-25 Thread CJ
Just a test since I've had problems posting to this list, please ignore! /CJ -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delive

Re: [Gambas-user] Global error management routine

2013-05-25 Thread Benoît Minisini
Le 21/05/2013 16:13, Tobias Boege a écrit : > Hi Benoit, > > when programming a component in C/C++, one can use the error hook to execute > a function when the interpreter is about to abort because of an error. > > In Gambas itself, we only have the local Catch blocks to execute code in > case of e

Re: [Gambas-user] gbc3-gb_error.o compiling rev #5670

2013-05-25 Thread Benoît Minisini
Le 25/05/2013 11:37, Tobias Boege a écrit : > On Fri, 24 May 2013, Beno?t Minisini wrote: >> Le 23/05/2013 14:23, Tobias Boege a ?crit : Sorry, I prefer my way of defining TRUNK_VERSION: you should not modify the compilation flag for defining a constant. You'd rather use the 'co

Re: [Gambas-user] New gb.crypt.openssl component

2013-05-25 Thread Ian Haywood
On Tue, May 21, 2013 at 7:58 AM, Tobias Boege wrote: > Hi folks, > > seems to be the day of new components... I just committed a gb.crypt.openssl > component to wrap the cryptographic functions in OpenSSL's libcrypto. The > idea came actually from Sebastian in conjunction with his gambas-online >

Re: [Gambas-user] Feature request: Read a component's .info file for help in the IDE

2013-05-25 Thread Tobias Boege
On Fri, 24 May 2013, Beno?t Minisini wrote: > Le 24/05/2013 23:14, Tobias Boege a ?crit : > > Hi, > > > > it is said in [0] that the IDE can access an .info file of a project to get > > documentation out of it. > > > > I tried this with gb.openssl which I documented in its source code. It did > > n

Re: [Gambas-user] gbc3-gb_error.o compiling rev #5670

2013-05-25 Thread Tobias Boege
On Fri, 24 May 2013, Beno?t Minisini wrote: > Le 23/05/2013 14:23, Tobias Boege a ?crit : > >> > >> Sorry, I prefer my way of defining TRUNK_VERSION: you should not modify > >> the compilation flag for defining a constant. You'd rather use the > >> 'config.h' mechanism (AC_DEFINE & AC_DEFINE_UNQUOT