Re: [lazarus] Wider use case for gamepack ? [LCL Keyboard handling discussion]

2008-01-30 Thread Burkhard Carstens
Am Donnerstag, 31. Januar 2008 07:39 schrieb A.J. Venter: [...] > > If not, maybe hooking into the surrounding forms events would > > suffice. > > This was my first idea, but unfortunately, it doesn't work at all. > The reason is that forms only get keyboard focus onActivate and even > then they on

Re: [lazarus] Reports

2008-01-30 Thread Christian U.
"Nero for Linux v3" is one such case. Linux has loads of CD/DVD writing software, but nothing I like, or can say feels polished (yes even K3b doesn't do it for me). "Nero for Linux" just works and well worth the money. Never tried it, never needed it. Nautilus works just great to burn CD´s.

Re: [lazarus] Win32 compilation error : Import library not found for libz

2008-01-30 Thread Graeme Geldenhuys
Are you using/linking a external (.dll or .so) or are you using the zlib unit (implementation in object pascal) included with FPC? Regards, - Graeme - On 30/01/2008, Dominique Louis <[EMAIL PROTECTED]> wrote: > Hi all, >I've just been trying to compile some code that makes use of Zlib and

ReRe: [lazarus] ScrollBox scrolling problem situation

2008-01-30 Thread Andrey Gusev
Damn, wedged on Ctrl+V. == * Micha Nelissen <[EMAIL PROTECTED]> [Wed, 30 Jan 2008 22:27:36 +0100]: Andrey Gusev wrote: > - MoveWindowOrgEx(PaintMsg.DC, ORect.Left, ORect.Top); > + MoveWindowOrgEx(PaintMsg.DC, -ORect.Left, -ORect.Top); No. ORect.Left is offset from Win32 -> LCL.

Re: [lazarus] Wider use case for gamepack ? [LCL Keyboard handling discussion]

2008-01-30 Thread A.J. Venter
Me too, I'd like to play around and maybe do something useful (or funny :) with it. It could at least be put on the CCR if not into lazarus distribution itself. That may be a good start. I'll submit it to the CCR as soon as I finish 1.0 Please note I combined two posts below: How about a midd

Re: [lazarus] Found serious bug in win32 interface

2008-01-30 Thread Andrey Gusev
* Micha Nelissen <[EMAIL PROTECTED]> [Wed, 30 Jan 2008 22:27:36 +0100]: Andrey Gusev wrote: > -MoveWindowOrgEx(PaintMsg.DC, ORect.Left, ORect.Top); > +MoveWindowOrgEx(PaintMsg.DC, -ORect.Left, -ORect.Top); No. ORect.Left is offset from Win32 -> LCL. So if LCL draws at (0,0) it

Re: [lazarus] Reports

2008-01-30 Thread Graeme Geldenhuys
On 30/01/2008, Christian U. <[EMAIL PROTECTED]> wrote: > > > I dont like commercial products in combination with lazarus so i spend > my time to make lazreport bedder when i want it and dont send mails to > obscure commercial suppliers. I don't know of any comercial products for Lazarus, so I ass

Re: [lazarus] Found serious bug in win32 interface #2

2008-01-30 Thread Andrey Gusev
* Luiz Americo Pereira Camara <[EMAIL PROTECTED]> [Thu, 31 Jan 2008 01:16:58 -0300]: Andrey Gusev wrote: > * Mattias Gärtner <[EMAIL PROTECTED]> [Wed, 30 Jan 2008 > 18:45:57 +0100]: >> Zitat von Andrey Gusev <[EMAIL PROTECTED]>: >> >> > --- interfaces/win32/win32callback.inc (revision 13905) >> >

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Bee
I second that. powutils work great. We ported a GUI app to CGI and could reuse a lot of code because everything is still written in Object Pascal. So far we are getting away with opening and closing database connections the whole time, but I am sure if we start using stress tests we would have t

Re: [lazarus] Found serious bug in win32 interface #2

2008-01-30 Thread Luiz Americo Pereira Camara
Andrey Gusev wrote: * Mattias Gärtner <[EMAIL PROTECTED]> [Wed, 30 Jan 2008 18:45:57 +0100]: Zitat von Andrey Gusev <[EMAIL PROTECTED]>: > --- interfaces/win32/win32callback.inc (revision 13905) > +++ interfaces/win32/win32callback.inc (working copy) > @@ -504,7 +504,7 @@ > if (ControlDC = 0)

Re: [lazarus] I have a dream

2008-01-30 Thread Giuliano Colla
Marco van de Voort ha scritto: On Wed, Jan 30, 2008 at 08:36:00PM +0100, Giuliano Colla wrote: OK, I understand your issue now. Simple solution is: Always do a Build All. :-) By what means do you suggest to obtain that from everybody: moral suasion, menaces, salary cut, spanking or

Re: [lazarus] Found serious bug in win32 interface

2008-01-30 Thread Marc Weustink
Andrey Gusev wrote: * Paul Ishenin <[EMAIL PROTECTED]> [Wed, 30 Jan 2008 11:27:16 +0700]: Andrey Gusev wrote: > That: > --- interfaces/win32/win32callback.inc(revision 13905) > +++ interfaces/win32/win32callback.inc(working copy) > @@ -504,7 +504,7 @@ > if (ControlDC = 0) or not ne

Re: [lazarus] I have a dream

2008-01-30 Thread Marc Weustink
Giuliano Colla wrote: Vincent Snijders ha scritto: Giuliano Colla schreef: Vincent Snijders ha scritto: Graeme Geldenhuys schreef: On 29/01/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote: You don't need ifdefs. You need to fix the differences. Fix the gtk1 interface to scroll the memo. Fi

Re: [lazarus] I have a dream

2008-01-30 Thread Marco van de Voort
On Wed, Jan 30, 2008 at 08:36:00PM +0100, Giuliano Colla wrote: >> OK, I understand your issue now. Simple solution is: Always do a >> Build All. :-) > > By what means do you suggest to obtain that from everybody: moral suasion, > menaces, salary cut, spanking or other corporal punishment? :-)

Re: [lazarus] Found serious bug in win32 interface

2008-01-30 Thread Micha Nelissen
Andrey Gusev wrote: > -MoveWindowOrgEx(PaintMsg.DC, ORect.Left, ORect.Top); > +MoveWindowOrgEx(PaintMsg.DC, -ORect.Left, -ORect.Top); No. ORect.Left is offset from Win32 -> LCL. So if LCL draws at (0,0) it should actually be at (ORect.Left, ORect.Top), so the code is correct. > Wi

Re: [lazarus] I have a dream

2008-01-30 Thread Giuliano Colla
Vincent Snijders ha scritto: Giuliano Colla schreef: Vincent Snijders ha scritto: Graeme Geldenhuys schreef: On 29/01/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote: You don't need ifdefs. You need to fix the differences. Fix the gtk1 interface to scroll the memo. Fix the gtk1 interface to

RE: [lazarus] Found serious bug in win32 interface #2

2008-01-30 Thread Andrew Brunner
What I don't understand is why would you need to implement a localized ScrollWindow(..) to provide the effect of Scrolling a window. For the sake simplicity Windows scrolls a window and takes care of all children in that window. These aren't questions that need answers. I'm just pointing out t

Re: [lazarus] Found serious bug in win32 interface #2

2008-01-30 Thread Andrey Gusev
* Mattias Gärtner <[EMAIL PROTECTED]> [Wed, 30 Jan 2008 18:45:57 +0100]: Zitat von Andrey Gusev <[EMAIL PROTECTED]>: > --- interfaces/win32/win32callback.inc (revision 13905) > +++ interfaces/win32/win32callback.inc (working copy) > @@ -504,7 +504,7 @@ > if (ControlDC = 0) or not needParentPain

[lazarus] Win32 compilation error : Import library not found for libz

2008-01-30 Thread Dominique Louis
Hi all, I've just been trying to compile some code that makes use of Zlib and when I try to compile it from within Lazarus I get the following error Error: Import library not found for libz at the linking stage. It's the only thing stopping it from linking. Is this a bug in FPC 2.2.1 or am

Re: [lazarus] I have a dream

2008-01-30 Thread Vincent Snijders
Giuliano Colla schreef: Vincent Snijders ha scritto: Graeme Geldenhuys schreef: On 29/01/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote: You don't need ifdefs. You need to fix the differences. Fix the gtk1 interface to scroll the memo. Fix the gtk1 interface to remove the scrollbars, when t

Re: [lazarus] I have a dream

2008-01-30 Thread Giuliano Colla
Vincent Snijders ha scritto: Graeme Geldenhuys schreef: On 29/01/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote: You don't need ifdefs. You need to fix the differences. Fix the gtk1 interface to scroll the memo. Fix the gtk1 interface to remove the scrollbars, when the memo is cleared Fix g

Re: [lazarus] I have a dream

2008-01-30 Thread Giuliano Colla
Graeme Geldenhuys ha scritto: On 30/01/2008, Giuliano Colla <[EMAIL PROTECTED]> wrote: If one has last built project1, and then does some editing and just compiles (instead of building) project2, project2 may inherit units which where compiled with project1 conditionals, generating a mix-up, whi

Re: [lazarus] Reports

2008-01-30 Thread Christian U.
Graeme Geldenhuys schrieb: While you are all busy talking about reports. Why don't each of you fire off a email to the creators of ReportBuilder. They have a awesome reporting tool for Delphi. You could use it equally well from code and designer plus it had a built-in script language. You could

Re: [lazarus] Wider use case for gamepack ?

2008-01-30 Thread Marc Santhoff
Am Mittwoch, den 30.01.2008, 17:05 +0200 schrieb A.J. Venter: > > Well, *I* think it's very cool. In fact, when I get back around to my > > life-long pet project (a chess engine extraordinaire :) this will be > > the first library I look at for the board UI. Me too, I'd like to play around and may

Re: [lazarus] I have a dream

2008-01-30 Thread Graeme Geldenhuys
On 30/01/2008, Giuliano Colla <[EMAIL PROTECTED]> wrote: > > If one has last built project1, and then does some editing and just > compiles (instead of building) project2, project2 may inherit units > which where compiled with project1 conditionals, generating a mix-up, > which may go undetected. >

Re: [lazarus] I have a dream

2008-01-30 Thread Graeme Geldenhuys
On 30/01/2008, Marco Alvarado <[EMAIL PROTECTED]> wrote: > Isn't it lot easier to create an include file with all the defines, > and include it everywhere you need it? If you need several sets of > defines, just create higher level symbols that enable/disable those > sets. Thanks Marco. We have d

Re: [lazarus] I have a dream

2008-01-30 Thread Giuliano Colla
Graeme Geldenhuys ha scritto: On 29/01/2008, Giuliano Colla <[EMAIL PROTECTED]> wrote: So my question is still open. There's a way to make the IDE/compiler aware of the change of conditionals? I'm the only one with this requirement? I have also noticed that issue, mostly with my IFDEF DEBUG li

RE: [lazarus] Delphi 2006 and Lazarus

2008-01-30 Thread Andrew Brunner
I can't reproduce it. But I do recall having not noticed a breakpoint reached however the program wasn't visible. I had to reset the debugger during that session. So if the two compilers share a DLL I can see how that would happen. I'm sure it wasn't intentional is opening them both up at the s

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Leonardo M. Ramé
It's my last post, "Powerful CGI applications". http://leonardorame.blogspot.com Graeme Geldenhuys escribió: On 30/01/2008, "Leonardo M. Ramé" <[EMAIL PROTECTED]> wrote: Lee, please read the last post in my blog (Powerful CGI applications). It's an example on how to resolve that problem using

Re: [lazarus] I still have an ifdef request

2008-01-30 Thread Marco van de Voort
On Wed, Jan 30, 2008 at 06:22:05PM +0100, Giuliano Colla wrote: >> >> Yes. A Compile is a shortcut for a build. If you don't want the downsides, >> do a build. >> > > Out of sheer curiosity. Are you developing alone, or are you in charge of a > team, with a number of developers with various deg

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Graeme Geldenhuys
On 30/01/2008, Lee Jenkins <[EMAIL PROTECTED]> wrote: > > I've used powtils a bit. Fast, very fast. The only thing I don't like is > with > standard cgi you can't pool database connections, not sure about FastCGI > though I second that. powutils work great. We ported a GUI app to CGI and cou

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Graeme Geldenhuys
On 30/01/2008, Marius <[EMAIL PROTECTED]> wrote: > Leonardo M. Ramé wrote: > > So if i understand correctly you add an layer around cgi. It looks > pretty much like a service/deamon situation, everything will be > forwarded to this deamon and that will generate the responses. Think > this will work

Re: [SPAM] Re: [lazarus] why do delphi users hate lazarus so much?

2008-01-30 Thread Wanderlan Santos dos Anjos
> > > That it's not available at all at win64. > > (since there's no gcc for win64) > > > > That is not the case anymore. Try > > ftp://ftp.hu.freepascal.org/pub/lazarus/Lazarus-0.9.25-fpc-2.2.1-20080130-win64.exe > > Vincent > >

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Graeme Geldenhuys
On 30/01/2008, "Leonardo M. Ramé" <[EMAIL PROTECTED]> wrote: > Lee, please read the last post in my blog (Powerful CGI applications). > It's an example on how to resolve that problem using PowUtils. Where can I find your blog post? We have the same issue with db connection pools. Graeme. ___

Re: [lazarus] I have a dream

2008-01-30 Thread Marco Alvarado
Isn't it lot easier to create an include file with all the defines, and include it everywhere you need it? If you need several sets of defines, just create higher level symbols that enable/disable those sets. Regards! -Marco 2008/1/30, Graeme Geldenhuys <[EMAIL PROTECTED]>: > On 29/01/2008, Giul

Re: [lazarus] Reports

2008-01-30 Thread Cesar Romero
My personal taste is FastReport, and I think it is almost there to support FPC. []s Cesar Romero While you are all busy talking about reports. Why don't each of you fire off a email to the creators of ReportBuilder. They have a awesome reporting tool for Delphi. You could use it equally wel

Re: [lazarus] I have a dream

2008-01-30 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 29/01/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote: You don't need ifdefs. You need to fix the differences. Fix the gtk1 interface to scroll the memo. Fix the gtk1 interface to remove the scrollbars, when the memo is cleared Fix gtk1 and gtk2 interface to disab

RE: [lazarus] Reports

2008-01-30 Thread Sergio Samayoa
> http://sourceforge.net/projects/braslib/ Latest release 0.4b in may 2006, CVS contents is 20 months old > https://sourceforge.net/projects/reportlivre/ Latest release 0.1 in feb 2006, there's nothing in CVS Better use LazReport which is the "de facto" reporting tool for lazarus. Regards. __

Re: [lazarus] I have a dream

2008-01-30 Thread Graeme Geldenhuys
On 29/01/2008, Vincent Snijders <[EMAIL PROTECTED]> wrote: > > You don't need ifdefs. You need to fix the differences. > > Fix the gtk1 interface to scroll the memo. > Fix the gtk1 interface to remove the scrollbars, when the memo is cleared > Fix gtk1 and gtk2 interface to disable childforms, if t

Re: [lazarus] I have a dream

2008-01-30 Thread Graeme Geldenhuys
On 29/01/2008, Giuliano Colla <[EMAIL PROTECTED]> wrote: > So my question is still open. There's a way to make the IDE/compiler > aware of the change of conditionals? I'm the only one with this requirement? I have also noticed that issue, mostly with my IFDEF DEBUG lines. I used to use application

Re: [lazarus] Found serious bug in win32 interface #2

2008-01-30 Thread Mattias Gärtner
Zitat von Andrey Gusev <[EMAIL PROTECTED]>: > --- interfaces/win32/win32callback.inc (revision 13905) > +++ interfaces/win32/win32callback.inc (working copy) > @@ -504,7 +504,7 @@ > if (ControlDC = 0) or not needParentPaint then > begin > DCIndex := Windows.SaveDC(PaintMsg.DC); > - MoveWindowO

Re: [lazarus] I still have an ifdef request

2008-01-30 Thread Giuliano Colla
Marco van de Voort ha scritto: On Wed, Jan 30, 2008 at 01:56:40PM +0100, Giuliano Colla wrote: with a program which compiles properly, but has a number of inconsistencies sometimes hard to detect. Is there a way to overcome this problem? Always do a build. Am I the only one to see it as a

Re: [lazarus] Reports

2008-01-30 Thread Graeme Geldenhuys
While you are all busy talking about reports. Why don't each of you fire off a email to the creators of ReportBuilder. They have a awesome reporting tool for Delphi. You could use it equally well from code and designer plus it had a built-in script language. You could report from datasets and pre

Re: [lazarus] I still have an ifdef request

2008-01-30 Thread Giuliano Colla
Mattias Gärtner ha scritto: Zitat von Peter Vreman <[EMAIL PROTECTED]>: Yesterday I posted a request for a way to improve ifdef handling, but the discussion was led astray by my example, and turned into widgesets, which was not the real issue. So I repeat my request: Sometimes ifdefs are unav

Re: [lazarus] Reports

2008-01-30 Thread Bogusław Brandys
Christian U. wrote: Andreas Berger schrieb: Could I have some idea as to what you are using to generate reports? Do you use internal report generators like :LazReport or external ones? LazReport seems to be an incomplete implementation of FreeReport which is also way outdated. Can some one ple

Re: [lazarus] Reports

2008-01-30 Thread Christian U.
Andreas Berger schrieb: Could I have some idea as to what you are using to generate reports? Do you use internal report generators like :LazReport or external ones? LazReport seems to be an incomplete implementation of FreeReport which is also way outdated. Can some one please give me some hint

[lazarus] Found serious bug in win32 interface #2

2008-01-30 Thread Andrey Gusev
--- interfaces/win32/win32callback.inc (revision 13905) +++ interfaces/win32/win32callback.inc (working copy) @@ -504,7 +504,7 @@ if (ControlDC = 0) or not needParentPaint then begin DCIndex := Windows.SaveDC(PaintMsg.DC); - MoveWindowOrgEx(PaintMsg.DC, ORect.Left, ORect.Top); + MoveWindowOrgEx(Pa

Re: [lazarus] Reports

2008-01-30 Thread micahel schneider
Am Mittwoch 30 Januar 2008 schrieb Andreas Berger: > Could I have some idea as to what you are using to generate reports? Do > you use internal report generators like :LazReport or external ones? > LazReport seems to be an incomplete implementation of FreeReport which > is also way outdated. Can so

Re: [lazarus] Found serious bug in win32 interface

2008-01-30 Thread Andrey Gusev
* Paul Ishenin <[EMAIL PROTECTED]> [Wed, 30 Jan 2008 11:27:16 +0700]: Andrey Gusev wrote: > That: > --- interfaces/win32/win32callback.inc(revision 13905) > +++ interfaces/win32/win32callback.inc(working copy) > @@ -504,7 +504,7 @@ > if (ControlDC = 0) or not needParentPaint then >

Re: [lazarus] Found serious bug in win32 interface

2008-01-30 Thread Andrey Gusev
* Paul Ishenin <[EMAIL PROTECTED]> [Wed, 30 Jan 2008 11:27:16 +0700]: Andrey Gusev wrote: > That: > --- interfaces/win32/win32callback.inc(revision 13905) > +++ interfaces/win32/win32callback.inc(working copy) > @@ -504,7 +504,7 @@ > if (ControlDC = 0) or not needParentPaint then >

Re: [lazarus] Reports

2008-01-30 Thread Leonardo M. Ramé
If you have TeX/Latex installed you can create the Latex source file with your program, and let TeX process it, then show the resulting PDF or Postscript to the user. Lee Jenkins escribió: Andreas Berger wrote: Could I have some idea as to what you are using to generate reports? Do you use in

Re: [lazarus] Reports

2008-01-30 Thread Lee Jenkins
Andreas Berger wrote: Could I have some idea as to what you are using to generate reports? Do you use internal report generators like :LazReport or external ones? LazReport seems to be an incomplete implementation of FreeReport which is also way outdated. Can some one please give me some hints.

Re: [SPAM] Re: [lazarus] why do delphi users hate lazarus so much?

2008-01-30 Thread Vincent Snijders
Joost van der Sluis schreef: Can you tell me more about the problems with GDB ? That it's not available at all at win64. (since there's no gcc for win64) That is not the case anymore. Try ftp://ftp.hu.freepascal.org/pub/lazarus/Lazarus-0.9.25-fpc-2.2.1-20080130-win64.exe

Re: [lazarus] Wider use case for gamepack ?

2008-01-30 Thread John Stoneham
On Jan 30, 2008 9:05 AM, A.J. Venter <[EMAIL PROTECTED]> wrote: > 2) THIS is the tricky one so I would like some advice on how I should do > it. TDoubleBuffer needs to have OnKeyDown,OnKeyUp and OnKeypressed > events. Being a TCustomControl descendent, it doesn't have them - > TControl does - but i

Re: [SPAM] Re: [lazarus] why do delphi users hate lazarus so much?

2008-01-30 Thread Joost van der Sluis
Op dinsdag 29-01-2008 om 11:11 uur [tijdzone +0100], schreef willem: > Joost van der Sluis wrote: > > > >>> Personally I would rank debugger way higher on my wishlist than packages. > >>> > > That won't work. DDD is a frontend to GDB. And guess where the problem > > is? The problem is GDB. > > >

Re: [lazarus] Search paths

2008-01-30 Thread Marius
Mattias Gärtner wrote: The package system of lazarus is different from Delphi. You don't need to install a package to use it. Here i went wrong, i thought i always needed to install it into the IDE! Thanks.. _ To unsubscribe

Re: [lazarus] I still have an ifdef request

2008-01-30 Thread Marco van de Voort
On Wed, Jan 30, 2008 at 01:56:40PM +0100, Giuliano Colla wrote: > with a program which compiles properly, but has a number of inconsistencies > sometimes hard to detect. > > Is there a way to overcome this problem? Always do a build. > Am I the only one to see it as a problem? Yes. A Compile i

Re: [lazarus] Wider use case for gamepack ?

2008-01-30 Thread A.J. Venter
John Stoneham wrote: On Jan 30, 2008 1:00 AM, A.J. Venter <[EMAIL PROTECTED]> wrote: [...] Anyway, I think I explained now what makes it special in depth. Either the dev's will think it's cool, or they won't. I won't feel bad if they don't - it's their prerogative, but at least let it be judged

Re: [lazarus] Wider use case for gamepack ?

2008-01-30 Thread John Stoneham
On Jan 30, 2008 1:00 AM, A.J. Venter <[EMAIL PROTECTED]> wrote: > [...] > Anyway, I think I explained now what makes it special in depth. Either > the dev's will think it's cool, or they won't. I won't feel bad if they > don't - it's their prerogative, but at least let it be judged fairly. > Well,

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Leonardo M. Ramé
Sorry, its http://leonardorame.blogspot.com Lee Jenkins escribió: Leonardo M. Ramé wrote: Lee, please read the last post in my blog (Powerful CGI applications). It's an example on how to resolve that problem using PowUtils. Lee Jenkins escribió: Marius wrote: I've used powtils a bit. Fast

Re: [lazarus] I still have an ifdef request

2008-01-30 Thread Mattias Gärtner
Zitat von Peter Vreman <[EMAIL PROTECTED]>: > > Yesterday I posted a request for a way to improve ifdef handling, but > > the discussion was led astray by my example, and turned into widgesets, > > which was not the real issue. > > > > So I repeat my request: > > > > Sometimes ifdefs are unavoidab

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Lee Jenkins
Leonardo M. Ramé wrote: Yes and no, the client forwards the request to the server, but inside the server you can use Powtils to process Html and other stuff. The usage of this solution only applies to shared servers or situations where you can't use Apache modules, or install your own server.

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Lee Jenkins
Lee Jenkins wrote: Leonardo M. Ramé wrote: Lee, please read the last post in my blog (Powerful CGI applications). It's an example on how to resolve that problem using PowUtils. Lee Jenkins escribió: Marius wrote: I've used powtils a bit. Fast, very fast. The only thing I don't like is wi

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Lee Jenkins
Leonardo M. Ramé wrote: Lee, please read the last post in my blog (Powerful CGI applications). It's an example on how to resolve that problem using PowUtils. Lee Jenkins escribió: Marius wrote: I've used powtils a bit. Fast, very fast. The only thing I don't like is with standard cgi you

RE: [lazarus] Reports

2008-01-30 Thread Sergio Samayoa
LazReport is based on FreeReport 2.32. AFAIK there is no report component / engine for lazarus other than LazReport. You can try reportman (http://reportman.sourceforge.net) API in lazarus. Is CLX based (Kylix) and only runs on Windows & Linux. You could try http://www.openmfg.com/openrpt but I

Re: [lazarus] I still have an ifdef request

2008-01-30 Thread Mattias Gärtner
Zitat von Giuliano Colla <[EMAIL PROTECTED]>: > Yesterday I posted a request for a way to improve ifdef handling, but > the discussion was led astray by my example, and turned into widgesets, > which was not the real issue. > > So I repeat my request: > > Sometimes ifdefs are unavoidable, as when

Re: [lazarus] Search paths

2008-01-30 Thread Vincent Snijders
Marius schreef: Vincent Snijders wrote: Create a package for the units. Should i create a (dummy) package to add search paths to lazarus??? No a real package to gather compiler options for a set of units. Installing and recompiling the whole ide just to add a few paths sounds kind of stu

Re: [lazarus] Search paths

2008-01-30 Thread Mattias Gärtner
Zitat von Marius <[EMAIL PROTECTED]>: > Vincent Snijders wrote: > > Create a package for the units. > > Should i create a (dummy) package to add search paths to lazarus??? > > Installing and recompiling the whole ide just to add a few paths sounds > kind of stupid. (The tools do not contain any de

Re: [lazarus] I still have an ifdef request

2008-01-30 Thread Peter Vreman
> Yesterday I posted a request for a way to improve ifdef handling, but > the discussion was led astray by my example, and turned into widgesets, > which was not the real issue. > > So I repeat my request: > > Sometimes ifdefs are unavoidable, as when they're used to turn on and > off customer opti

[lazarus] I still have an ifdef request

2008-01-30 Thread Giuliano Colla
Yesterday I posted a request for a way to improve ifdef handling, but the discussion was led astray by my example, and turned into widgesets, which was not the real issue. So I repeat my request: Sometimes ifdefs are unavoidable, as when they're used to turn on and off customer options. But

Re: [lazarus] Search paths

2008-01-30 Thread Marius
Vincent Snijders wrote: Create a package for the units. Should i create a (dummy) package to add search paths to lazarus??? Installing and recompiling the whole ide just to add a few paths sounds kind of stupid. (The tools do not contain any design stuff). Then again if this works it saves m

Re: [lazarus] Search paths

2008-01-30 Thread Vincent Snijders
Marius schreef: I need to add paths for indy and a few from lazarus\components for example which i mostly create at runtime, constantly changing the project compiler options ("other sources only used by IDE") is becoming boring. Is there a place in lazarus to add search paths so lazarus can o

Re: [lazarus] Search paths

2008-01-30 Thread Henry Vermaak
On 30/01/2008, Marius <[EMAIL PROTECTED]> wrote: > I need to add paths for indy and a few from lazarus\components for > example which i mostly create at runtime, constantly changing the > project compiler options ("other sources only used by IDE") is becoming > boring. > > Is there a place in lazar

[lazarus] Search paths

2008-01-30 Thread Marius
I need to add paths for indy and a few from lazarus\components for example which i mostly create at runtime, constantly changing the project compiler options ("other sources only used by IDE") is becoming boring. Is there a place in lazarus to add search paths so lazarus can open 3thparty uni

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Leonardo M. Ramé
Yes and no, the client forwards the request to the server, but inside the server you can use Powtils to process Html and other stuff. The usage of this solution only applies to shared servers or situations where you can't use Apache modules, or install your own server. Marius escribió: But

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Marius
Leonardo M. Ramé wrote: Lee, please read the last post in my blog (Powerful CGI applications). It's an example on how to resolve that problem using PowUtils. This one i assume? http://leonardorame.blogspot.com/2007/12/powerful-cgi-applications.html So if i understand correctly you add an layer

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Marius
Bee wrote: Yup. But FPC also has its own CGI framework. It might be a good alternative besides Powtils. I never use it though. Pretty and simple as far i can see with the tcgiapplication. The lcl cgi package addon is not really helpfull (i have some problems with the tdatamodule properties wh

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Marius
Lee Jenkins wrote: I've used powtils a bit. Fast, very fast. Yeah it is. However it looks like theres little classes and structure, but thats just the impression i got after a few hours in comparison to a standard cgi application. The only thing I don't like is with standard cgi you can'

[lazarus] Workarea thing on Mac OS X

2008-01-30 Thread EarMaster - Bent Normann Olsen
Hey all, I'm new to this list, so this question might be misplaced or already been answered. Workarea on Lazarus isn't implemented, I believe because of the different ways of handling these things on different systems. How do one read different screen settings on a Mac OS X with Lazarus? Like Wo

Re: [lazarus] Cgi / PowUtils / FastCgi

2008-01-30 Thread Leonardo M. Ramé
Lee, please read the last post in my blog (Powerful CGI applications). It's an example on how to resolve that problem using PowUtils. Lee Jenkins escribió: Marius wrote: I've used powtils a bit. Fast, very fast. The only thing I don't like is with standard cgi you can't pool database conne

[lazarus] Reports

2008-01-30 Thread Andreas Berger
Could I have some idea as to what you are using to generate reports? Do you use internal report generators like :LazReport or external ones? LazReport seems to be an incomplete implementation of FreeReport which is also way outdated. Can some one please give me some hints. Thanks, Andreas ___

Re: [lazarus] DropFiles Implementation

2008-01-30 Thread Paul Ishenin
Tom Gregorovic пишет: Then there will be problem, how to track this feature inside some custom controls. Assigning to a published event is not a clear solution. Maybe instead of property there can be some protected function like SetAllowDropFiles for these cases. But I think the others want to h

Re: [lazarus] DropFiles Implementation

2008-01-30 Thread Tom Gregorovic
On Jan 29, 2008 8:25 PM, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > Did OnDropFiles make it to 0.9.24? If so, any radical change can > potentially cause a lot of headache for people already using it. > > On Jan 29, 2008 3:46 PM, Tom Gregorovic <[EMAIL PROTECTED]> wrote: > > - there mu

Re: [lazarus] IDE freezes with 2 status bars

2008-01-30 Thread Dave Parsons
On Wed, 30 Jan 2008 09:26:03 +0100, Vincent Snijders wrote: > Dave Parsons schreef: > > > > Still present in 0.9.25 from svn of a couple of weeks ago. > > Not present anymore since 2008-01-22 07:06, revision 13826 Good to hear it, thanks. Dave __

Re: [lazarus] IDE freezes with 2 status bars

2008-01-30 Thread Vincent Snijders
Dave Parsons schreef: Hi, I've just discovered a regression when porting an app back to Win32 from Linux which is a show stopper for us. The IDE freezes with 2 status bars using 0.9.24 on WinXP to reproduce:- start Lazarus with a new project. 1. drop a status bar on the form - IDE still respo

[lazarus] IDE freezes with 2 status bars

2008-01-30 Thread Dave Parsons
Hi, I've just discovered a regression when porting an app back to Win32 from Linux which is a show stopper for us. The IDE freezes with 2 status bars using 0.9.24 on WinXP to reproduce:- start Lazarus with a new project. 1. drop a status bar on the form - IDE still responsive 2. drop another st