Re: [Lazarus] GUI development for web UI

2010-12-02 Thread michael . vancanneyt
On Thu, 2 Dec 2010, Dariusz Mazur wrote: ExtPascal uses threads to handle multiple connections. I remember you don't accept this way, right? BTW, what is there wrong if ExtPascal uses threads? I accept using threads, but not the way ExtPascal does it. Threads should be optional. In

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread Michael Schnell
On 12/01/2010 05:43 PM, michael.vancann...@wisa.be wrote: Under normal circumstances you would have a fixed (or limited) thread pool, and each request is handled by a free thread in the pool. Of course it does make sense to use pre-started threads. How are requests queued if no threads

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread michael . vancanneyt
On Thu, 2 Dec 2010, Michael Schnell wrote: On 12/01/2010 05:43 PM, michael.vancann...@wisa.be wrote: Under normal circumstances you would have a fixed (or limited) thread pool, and each request is handled by a free thread in the pool. Of course it does make sense to use pre-started

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread Dariusz Mazur
W dniu 2010-12-02 09:25, michael.vancann...@wisa.be pisze: On Thu, 2 Dec 2010, Dariusz Mazur wrote: ExtPascal uses threads to handle multiple connections. I remember you don't accept this way, right? BTW, what is there wrong if ExtPascal uses threads? I accept using threads, but not the

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread michael . vancanneyt
On Thu, 2 Dec 2010, Dariusz Mazur wrote: W dniu 2010-12-02 09:25, michael.vancann...@wisa.be pisze: On Thu, 2 Dec 2010, Dariusz Mazur wrote: ExtPascal uses threads to handle multiple connections. I remember you don't accept this way, right? BTW, what is there wrong if ExtPascal uses

Re: [Lazarus] How to use environment variables in lazarus IDE config?

2010-12-02 Thread Sven Barth
Am 01.12.2010 16:00, schrieb Bo Berglund: On Wed, 1 Dec 2010 10:12:00 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: I entered the following as the FPC compiler path: $Env(FPCBASE)\2.4.2\bin\i386-Win32\fpc.exe Should work now. Now meaning what? Do I need to grab a newer version

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-12-02 Thread Hans-Peter Diettrich
Bo Berglund schrieb: Each package/project should have its own directories. This ensures that a package does not depend on a project, so it can work with many projects. Not if they evolve and we must maintain old code when we need to return to an older time... Then you'll have to check

Re: [Lazarus] Form position and size not preserved

2010-12-02 Thread Hans-Peter Diettrich
Darius Blaszyk schrieb: Since some time the UI position and size of the forms of Lazarus are not preserved anymore. If I for instance organize them in a certain way and then press compile, the source editor changes size and position. Also restarting Lazarus makes the forms jump back to some

Re: [Lazarus] Form position and size not preserved

2010-12-02 Thread Bo Berglund
On Wed, 1 Dec 2010 09:22:17 +0100, Vincent Snijders vincent.snijd...@gmail.com wrote: 2010/12/1 Darius Blaszyk dhkblas...@zeelandnet.nl: Ahhh, found it. By setting the window option from Default to Restore window geometry everything works fine now. I'm surprised though it used to work by

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-12-02 Thread Mark Morgan Lloyd
zel...@holobit.net wrote: Would it be possible to write a server-side PostgreSQL extension using Lazarus, including friendly debugging? Yes, feel free to do that :) [GRIN] Actually, it was a serious question: can Lazarus debug a .so and would it stand any chance of debugging one which had

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-12-02 Thread michael . vancanneyt
On Thu, 2 Dec 2010, Mark Morgan Lloyd wrote: zel...@holobit.net wrote: Would it be possible to write a server-side PostgreSQL extension using Lazarus, including friendly debugging? Yes, feel free to do that :) [GRIN] Actually, it was a serious question: can Lazarus debug a .so and would

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread Marcos Douglas
On Thu, Dec 2, 2010 at 7:38 AM, michael.vancann...@wisa.be wrote: [snip] I dont understand. I parse single request in single thread (for each request new thread) and what can I do (other) with sessions? One scenario looks like this: - Request comes in (on whatever thread). - Determine

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-12-02 Thread Mark Morgan Lloyd
michael.vancann...@wisa.be wrote: Would it be possible to write a server-side PostgreSQL extension using Lazarus, including friendly debugging? Yes, feel free to do that :) [GRIN] Actually, it was a serious question: can Lazarus debug a .so and would it stand any chance of debugging one

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-12-02 Thread Martin Schreiber
On Thursday, 2. December 2010 14.14:17 Mark Morgan Lloyd wrote: GDB has a command for it (attach) , so it should be possible. Potentially doable rather than currently possible. Presumably it would be a functional alternative to the Run button or equivalent menu entry. MSEide has

[Lazarus] Editor font size changed?

2010-12-02 Thread Bart
Hi, I just did an update to r28589 (Suse Linux) and found that my editor font heigth had decresed. I have my font set to 12 pt, but it looked like 8 pt to me. I had to increase font size to 16 pt, to make it readable again, whilst to me now the font size looks like it actaually is 12 pt. I'm

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread Dariusz Mazur
W dniu 2010-12-02 11:38, michael.vancann...@wisa.be pisze: On Thu, 2 Dec 2010, Dariusz Mazur wrote: W dniu 2010-12-02 09:25, michael.vancann...@wisa.be pisze: On Thu, 2 Dec 2010, Dariusz Mazur wrote: ExtPascal uses threads to handle multiple connections. I remember you don't accept

Re: [Lazarus] Editor font size changed?

2010-12-02 Thread Mark Morgan Lloyd
michael.vancann...@wisa.be wrote: On Thu, 2 Dec 2010, Bart wrote: Hi, I just did an update to r28589 (Suse Linux) and found that my editor font heigth had decresed. I have my font set to 12 pt, but it looked like 8 pt to me. I had to increase font size to 16 pt, to make it readable again,

Re: [Lazarus] Editor font size changed?

2010-12-02 Thread zeljko
On Thursday 02 December 2010 16:31, michael.vancann...@wisa.be wrote: On Thu, 2 Dec 2010, Bart wrote: Hi, I just did an update to r28589 (Suse Linux) and found that my editor font heigth had decresed. I have my font set to 12 pt, but it looked like 8 pt to me. I had to increase font

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread Michael Van Canneyt
On Thu, 2 Dec 2010, Marcos Douglas wrote: On Thu, Dec 2, 2010 at 1:12 PM, michael.vancann...@wisa.be wrote: On Thu, 2 Dec 2010, Dariusz Mazur wrote: W dniu 2010-12-02 11:38, michael.vancann...@wisa.be pisze: On Thu, 2 Dec 2010, Dariusz Mazur wrote: W dniu 2010-12-02 09:25,

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread Marcos Douglas
2010/12/2 Michael Van Canneyt mich...@freepascal.org: On Thu, 2 Dec 2010, Marcos Douglas wrote: On Thu, Dec 2, 2010 at 1:12 PM, michael.vancann...@wisa.be wrote: On Thu, 2 Dec 2010, Dariusz Mazur wrote: W dniu 2010-12-02 11:38, michael.vancann...@wisa.be pisze: On Thu, 2 Dec 2010,

[Lazarus] Treeview descendant

2010-12-02 Thread Marco Aurelio Ramirez Carrillo
Hi. I have a treeview descedant control, that I want to migrate from some old Delphi source code, to Lazarus. But, I found that the treeview that come in Lazarus is somehow different. Is it the same as the virtual treeview control ? Do you have any doc. on how to extend the Lazarus Treeview ?

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread Michael Van Canneyt
On Thu, 2 Dec 2010, Marcos Douglas wrote: 2010/12/2 Michael Van Canneyt mich...@freepascal.org: On Thu, 2 Dec 2010, Marcos Douglas wrote: On Thu, Dec 2, 2010 at 1:12 PM, michael.vancann...@wisa.be wrote: On Thu, 2 Dec 2010, Dariusz Mazur wrote: W dniu 2010-12-02 11:38,

[Lazarus] IDE SynEdit per file type

2010-12-02 Thread Lee Jenkins
The lazarus ide is very productive to work in and would be nice to see a way where some of the core synedit settings can be per highlighter type. Specifically, editing XML/XHTML in lazarus imposes the same tab indentation spaces as pascal code. That is 2 spaces for me, I like my XML with 4

[Lazarus] OFFTOPIC: Money Model, for Lazarus

2010-12-02 Thread Osvaldo Filho
Is Firebird really free? If you’re expecting some sensation, I’ll not make you happy. Shortly, yes, Firebird is free, completely. You can use it wherever you want and you don’t have to pay anything nor release sources of your application nor … On the other hand, the whole truth, considering all

Re: [Lazarus] GUI development for web UI

2010-12-02 Thread waldo kitty
On 12/2/2010 03:34, Michael Schnell wrote: On 12/01/2010 05:43 PM, michael.vancann...@wisa.be wrote: Under normal circumstances you would have a fixed (or limited) thread pool, and each request is handled by a free thread in the pool. Of course it does make sense to use pre-started threads.

Re: [Lazarus] What is a TSQLTransaction and why do I need one?

2010-12-02 Thread Mark Morgan Lloyd
Martin Schreiber wrote: On Thursday, 2. December 2010 14.14:17 Mark Morgan Lloyd wrote: GDB has a command for it (attach) , so it should be possible. Potentially doable rather than currently possible. Presumably it would be a functional alternative to the Run button or equivalent menu entry.