Re: [Gambas-user] Printing without X library

2013-07-19 Thread Rolf-Werner Eilert
Am 19.07.2013 20:51, schrieb Benoît Minisini: > Le 19/07/2013 20:47, Benoît Minisini a écrit : >> Le 19/07/2013 20:32, Rolf-Werner Eilert a écrit : >>> Just stumbled over this one: When I make a Gambas2 script for a >>> webserver, it refuses to execute because I have to use gb.qt and >>> gb.qt.ex

Re: [Gambas-user] Mouse.Inside() bug with collapsed Expander?

2013-07-19 Thread Benoît Minisini
Le 17/07/2013 14:22, Tobias Boege a écrit : > On Tue, 16 Jul 2013, Fabien Bodard wrote: >> I think Mouse.inside use the screen coords so even if the expended is >> collapsed, the dw2 don't move in reallity. So the only thing is that >> mouse.inside must test the visibility. >> > > I don't think so

Re: [Gambas-user] Gambas blob behavior: Problems with retreiving a binary file stored in a database (PICCORO McKAY Lenz)

2013-07-19 Thread PICCORO McKAY Lenz
lets get some clear to this thins, it's difficult to explaint as i said before... > If you have written your mails in clear engligh, maybe I would have > understood everything. > not, do u not read wery well , if u save and retrieve the same file in one procedure, everythong its ok.. but try with

[Gambas-user] Pre-release of Gambas 3.4.2

2013-07-19 Thread Benoît Minisini
Hi, I have just uploaded the source package of Gambas 3.4.2 as a pre-release. It includes a lot of backported fixes from /trunk. Download it there: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.4.2.tar.bz2/download Here is the list of backported revisions: r5612, r5613, r5614

Re: [Gambas-user] Receiving an email

2013-07-19 Thread Rolf-Werner Eilert
Thanks for all the good tipps, will keep your advice in mind! Rolf Am 16.07.2013 01:06, schrieb Randall Morgan: > Yes, either passing your credentials , host and port info via the command > line or storing it in a settings file would be best. What I sent should NOT > be used as is!!! It has many

Re: [Gambas-user] Printing without X library

2013-07-19 Thread Benoît Minisini
Le 19/07/2013 20:32, Rolf-Werner Eilert a écrit : > Just stumbled over this one: When I make a Gambas2 script for a > webserver, it refuses to execute because I have to use gb.qt and > gb.qt.ext, and it doesn't find the X server (cannot connect to X server) > when started by Apache. > > Is there a

Re: [Gambas-user] Printing without X library

2013-07-19 Thread Benoît Minisini
Le 19/07/2013 20:47, Benoît Minisini a écrit : > Le 19/07/2013 20:32, Rolf-Werner Eilert a écrit : >> Just stumbled over this one: When I make a Gambas2 script for a >> webserver, it refuses to execute because I have to use gb.qt and >> gb.qt.ext, and it doesn't find the X server (cannot connect to

Re: [Gambas-user] Pre-release of Gambas 3.4.2

2013-07-19 Thread Kende Krisztián
I have successfully compiled local Debian packages. I installed them, and at first glance, everything looks fine. So I uploaded this update into the PPA, so people will be able to test the functional operation. Kendek > Hi, > > I have just uploaded the source package of Gambas 3.4.2 as a > pre

Re: [Gambas-user] Converting a POST string

2013-07-19 Thread Rolf-Werner Eilert
Am 19.07.2013 18:49, schrieb Benoît Minisini: > Le 19/07/2013 18:27, Rolf-Werner Eilert a écrit : >> >> >> Am 19.07.2013 18:02, schrieb Benoît Minisini: >>> Le 19/07/2013 17:43, Rolf-Werner Eilert a écrit : Hi, just bounced into this: When doing a POST request on a web form, the >>

Re: [Gambas-user] Receiving an email

2013-07-19 Thread Rolf-Werner Eilert
I'm aware of that, thank you for the advice! Rolf Am 16.07.2013 00:57, schrieb Sebastian Kulesz: > You could use a cron tab to run the script Randall just sent. There is a > POP3Client example you can open with the gambas IDE to know how it works. > Just execute the app every x minutes and you a

Re: [Gambas-user] Converting a POST string

2013-07-19 Thread Benoît Minisini
Le 19/07/2013 17:43, Rolf-Werner Eilert a écrit : > Hi, > > just bounced into this: When doing a POST request on a web form, the > string input by the user is encoded in UTF-8 but as %high-byte%lowbyte > such as "%C3%BC" for "ü". > > How do I reconvert these worms to UTF-8 strings? Tried conv(), bu

Re: [Gambas-user] A "Callback" function doesn't work.

2013-07-19 Thread Jussi Lahtinen
> It works because the callback is written in C, it does not run the > Gambas interpreter. > Well obviously. Didn't really answer the question. I guess the answer is that shared libraries can be run in different thread, even if their callers can't. Jussi --

Re: [Gambas-user] Converting a POST string

2013-07-19 Thread Benoît Minisini
Le 19/07/2013 18:27, Rolf-Werner Eilert a écrit : > > > Am 19.07.2013 18:02, schrieb Benoît Minisini: >> Le 19/07/2013 17:43, Rolf-Werner Eilert a écrit : >>> Hi, >>> >>> just bounced into this: When doing a POST request on a web form, the >>> string input by the user is encoded in UTF-8 but as %hi

Re: [Gambas-user] Receiving an email

2013-07-19 Thread Rolf-Werner Eilert
Am 15.07.2013 23:12, schrieb Tobias Boege: > On Mon, 15 Jul 2013, Rolf-Werner Eilert wrote: >> Thanks for your advice, Randall. >> >> Am 15.07.2013 17:16, schrieb Randall Morgan: >>> Is your email pop3, IMAP, MAPI, or webmail? The way you approach this >>> depends on the target system. >> >> It i

[Gambas-user] Printing without X library

2013-07-19 Thread Rolf-Werner Eilert
Just stumbled over this one: When I make a Gambas2 script for a webserver, it refuses to execute because I have to use gb.qt and gb.qt.ext, and it doesn't find the X server (cannot connect to X server) when started by Apache. Is there a workaround for this? Rolf --

Re: [Gambas-user] Converting a POST string

2013-07-19 Thread Rolf-Werner Eilert
Am 19.07.2013 18:02, schrieb Benoît Minisini: > Le 19/07/2013 17:43, Rolf-Werner Eilert a écrit : >> Hi, >> >> just bounced into this: When doing a POST request on a web form, the >> string input by the user is encoded in UTF-8 but as %high-byte%lowbyte >> such as "%C3%BC" for "ü". >> >> How do I

Re: [Gambas-user] Converting a POST string

2013-07-19 Thread Rolf-Werner Eilert
Am 19.07.2013 19:27, schrieb Tobias Boege: > On Fri, 19 Jul 2013, Rolf-Werner Eilert wrote: >> >> >> Am 19.07.2013 18:49, schrieb Beno?t Minisini: >>> Le 19/07/2013 18:27, Rolf-Werner Eilert a ?crit : Am 19.07.2013 18:02, schrieb Beno?t Minisini: > Le 19/07/2013 17:43, Rolf-Wer

Re: [Gambas-user] Converting a POST string

2013-07-19 Thread Tobias Boege
On Fri, 19 Jul 2013, Rolf-Werner Eilert wrote: > > > Am 19.07.2013 18:49, schrieb Beno?t Minisini: > > Le 19/07/2013 18:27, Rolf-Werner Eilert a ?crit : > >> > >> > >> Am 19.07.2013 18:02, schrieb Beno?t Minisini: > >>> Le 19/07/2013 17:43, Rolf-Werner Eilert a ?crit : > Hi, > > ju

[Gambas-user] Converting a POST string

2013-07-19 Thread Rolf-Werner Eilert
Hi, just bounced into this: When doing a POST request on a web form, the string input by the user is encoded in UTF-8 but as %high-byte%lowbyte such as "%C3%BC" for "ü". How do I reconvert these worms to UTF-8 strings? Tried conv(), but didn't succeed yet. Is there a quick way, or do I have to

Re: [Gambas-user] A "Callback" function doesn't work.

2013-07-19 Thread Benoît Minisini
Le 19/07/2013 16:09, Jussi Lahtinen a écrit : >> It works because the callback is written in C, it does not run the >> Gambas interpreter. >> > > Well obviously. Didn't really answer the question. > > I guess the answer is that shared libraries can be run in different thread, > even if their caller

Re: [Gambas-user] Gambas blob behavior: Problems with retreiving a binary file stored in a database

2013-07-19 Thread Benoît Minisini
Le 19/07/2013 14:36, PICCORO McKAY Lenz a écrit : > On Fri, Jul 19, 2013 at 4:13 AM, Benoît Minisini > mailto:gam...@users.sourceforge.net>> wrote: > > I tested with a mysql table created with Gambas classes having one > blob field. I fill many records with the file provided by you, and I >

Re: [Gambas-user] Gambas blob behavior: Problems with retreiving a binary file stored in a database

2013-07-19 Thread Fabien Bodard
Le 19 juil. 2013 14:37, "PICCORO McKAY Lenz" a écrit : > On Fri, Jul 19, 2013 at 4:13 AM, Benoît Minisini < > gam...@users.sourceforge.net> wrote: > > > I tested with a mysql table created with Gambas classes having one blob > > field. I fill many records with the file provided by you, and I

Re: [Gambas-user] Gambas blob behavior: Problems with retreiving a binary file stored in a database

2013-07-19 Thread PICCORO McKAY Lenz
On Fri, Jul 19, 2013 at 4:13 AM, Benoît Minisini < gam...@users.sourceforge.net> wrote: > I tested with a mysql table created with Gambas classes having one blob > field. I fill many records with the file provided by you, and I could > retrieve the blobs as expected. > that the problem, jajaja lo

Re: [Gambas-user] Gambas blob behavior: Problems with retreiving a binary file stored in a database

2013-07-19 Thread Benoît Minisini
Le 18/07/2013 19:28, PICCORO McKAY Lenz a écrit : > > Can you send me the SQL schema of the table that receives your blob? > Did you create that schema from the Gambas IDE or from the outside? > > sql schema are not need, u can try CREATE TABLE in sqlite or postgres > etc etc and made a onl

Re: [Gambas-user] A "Callback" function doesn't work.

2013-07-19 Thread Ru Vuott
> > > Ven 19/7/13, Fabien Bodard ha scritto: > > > So write a C component :-) :-D -- See everything from the browser to the database with AppDynamics Get end-to-end visi

Re: [Gambas-user] gambas newbie question re custom events

2013-07-19 Thread Tobias Boege
On Fri, 19 Jul 2013, Horst Herb wrote: > I would be most grateful if somebody could point me to a relevant section > of documentation or provide me with a minimal example for my following > problem: > > I have a data model (non-GUI) that wants to emit a custom event (eg > "DataChanged"). Let's say

Re: [Gambas-user] A "Callback" function doesn't work.

2013-07-19 Thread Fabien Bodard
So write a C component :-) Le 19 juil. 2013 00:54, "Benoît Minisini" a écrit : > Le 18/07/2013 21:02, Ru Vuott a écrit : > >> Nice workaround! > > > > Oh, thank you, Jussi. > > > > > >> However I don't quite understand why it works (I think the > >> library is in same thread than gbx3). > >> > >