[fpc-devel] buildfaq

2010-08-03 Thread Hans-Peter Diettrich
I've some problems with building and testing an new compiler. 1) The buildfaq mentions both PP= and FPC= for the compiler, to be used by Make. It should be made clear whether these are equivalent, or (better) only one option should be used across the entire FAQ. 2) An unqualified reference (P

Re: [fpc-devel] Questions and suggestions to fpWeb

2010-08-03 Thread Luiz Americo Pereira Camara
Michael Van Canneyt escreveu: I agree that the contents/content properties should be reduced to 1 property. But this is a change which will break backwards compatibility. AFAIK the fpWeb interface is still in progress. Anyway, better change now than later. The question is: which one ? Co

Re: [fpc-devel] Questions and suggestions to fpWeb

2010-08-03 Thread Michael Van Canneyt
On Tue, 3 Aug 2010, Luiz Americo Pereira Camara wrote: Michael Van Canneyt escreveu: On Tue, 3 Aug 2010, Luiz Americo Pereira Camara wrote: Michael Van Canneyt escreveu: On Fri, 30 Jul 2010, Luiz Americo Pereira Camara wrote: Hi, I've playing a bit with fpWeb and have some suggestio

Re: [fpc-devel] Questions and suggestions to fpWeb

2010-08-03 Thread Luiz Americo Pereira Camara
Michael Van Canneyt escreveu: On Tue, 3 Aug 2010, Luiz Americo Pereira Camara wrote: Michael Van Canneyt escreveu: On Fri, 30 Jul 2010, Luiz Americo Pereira Camara wrote: Hi, I've playing a bit with fpWeb and have some suggestions and questions: - In TFPWebAction.DoHandleRequest if req

Re: [fpc-devel] Questions and suggestions to fpWeb

2010-08-03 Thread Michael Van Canneyt
On Tue, 3 Aug 2010, Luiz Americo Pereira Camara wrote: Michael Van Canneyt escreveu: On Fri, 30 Jul 2010, Luiz Americo Pereira Camara wrote: Hi, I've playing a bit with fpWeb and have some suggestions and questions: - In TFPWebAction.DoHandleRequest if request is not handled by OnReques

Re: [fpc-devel] Questions and suggestions to fpWeb

2010-08-03 Thread Luiz Americo Pereira Camara
Michael Van Canneyt escreveu: On Fri, 30 Jul 2010, Luiz Americo Pereira Camara wrote: Hi, I've playing a bit with fpWeb and have some suggestions and questions: - In TFPWebAction.DoHandleRequest if request is not handled by OnRequest and inherited, the content is copied to the response and

Re: [fpc-devel] Questions and suggestions to fpWeb

2010-08-03 Thread Marcos Douglas
On Tue, Aug 3, 2010 at 5:41 AM, Michael Van Canneyt wrote: > > On Fri, 30 Jul 2010, Luiz Americo Pereira Camara wrote: > [snip] >> >> - Content and Contents properties are redundant. Also can lead to some >> performance issues. See the code of DoGetContent: >> >>  If (Self.Content<>'') then >>    

Re: [fpc-devel] threadvar implementation

2010-08-03 Thread Michael Schnell
On 08/03/2010 01:30 PM, Hans-Peter Diettrich wrote: Michael Schnell schrieb: Regarding the hardware and without rewriting or switching the selector table, a user land program could access 64K different (potentially non-overlapping) address spaces (each 4 GB size) using a selector register such

Re: [fpc-devel] threadvar implementation

2010-08-03 Thread Michael Schnell
On 08/03/2010 01:37 AM, Hans-Peter Diettrich wrote: Michael Schnell schrieb: You only have to determine the flat address, before storing it in the pointer variable - @MyThreadvar? How do you think this is possible ? How to you think it's possible in FPC to define a pointer that does not use D

Re: [fpc-devel] Questions and suggestions to fpWeb

2010-08-03 Thread Michael Van Canneyt
On Fri, 30 Jul 2010, Luiz Americo Pereira Camara wrote: Hi, I've playing a bit with fpWeb and have some suggestions and questions: - In TFPWebAction.DoHandleRequest if request is not handled by OnRequest and inherited, the content is copied to the response and handled is checked by the res

Re: [fpc-devel] threadvar implementation

2010-08-03 Thread Michael Schnell
On 08/03/2010 01:30 AM, Hans-Peter Diettrich wrote: We are doing "flat" software all the time. The last use of segmented pointers dates back to Win3.1, with near and far pointers. It was you who introduced the flat vs segmented paradigm in this discussion. :) Nonetheless, we _always_ do use

[fpc-devel] Compiler error trying to override a virtual method (FPC 2.5.1 and FPC 2.4.x)

2010-08-03 Thread Graeme Geldenhuys
Hi, Just a courtesy note. Michael van Canneyt has reproduced and confirmed this compiler bug as well. http://bugs.freepascal.org/view.php?id=17093 Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

[fpc-devel] FPC's copyright is outdated

2010-08-03 Thread Graeme Geldenhuys
Hi, Just thought I would let you guys know that we are more that halfway in 2010, and FPC 2.5.1 (latest trunk) still shows the copyright notice as 2009. :) Free Pascal Compiler version 2.5.1 [2010/08/03] for x86_64 Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Linux for x86-64 ... Re