[fpc-pascal] Re: class inheritance and type incompatibility

2013-09-25 Thread Xiangrong Fang
2013/9/26 Xiangrong Fang > > Which output: > > TIntTree > TIntTree.TTree$LongInt > > Forgot to ask, I understand that TTree$LongInt is the name the compiler gave to the generic class when it is specialized, but what is TIntTree.TTree$LongInt? What is the meaning of "Scoped" type (or type with "n

Re: [fpc-pascal] RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Sven Barth
Am 25.09.2013 13:05 schrieb "Lukasz Sokol" : > Please let me know your thoughts :) I personally would prefer if such protocol implementations are independant of the socket classes used so I can use it with FPC's sockets, lNet, Synapse or whatever. Basically this would need a abstract class which

[fpc-pascal] class inheritance and type incompatibility

2013-09-25 Thread Xiangrong Fang
Hi All, I have the following program: 1 program test; 2 {$mode objfpc}{$H+} 3 uses tree; 4 type 5 TIntTree = class(specialize TTree) 6 public 7 function Clone: TIntTree; 8 end; 9 function TIntTree.Clone: TIntTree; 10 begin 11 Result := TIntTree(inherited Clone); 1

Re: [fpc-pascal] Re: RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Daniel Gaspary
On Wed, Sep 25, 2013 at 12:22 PM, Lukasz Sokol wrote: > CalDAV itself is used on the CRM I use, but I've no demand for interacting > with it. Yet.* I have just taken a look at the RFC* and it seems simple to implement. I don't need CardDav right now, but I believe I will need it soon. Can you t

Re: [fpc-pascal] RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Daniel Gaspary
Thank you for applying the patch, Michael. As soon as I have some time I will send another one related to the same case. On Wed, Sep 25, 2013 at 4:31 PM, Michael Van Canneyt wrote: > > > On Wed, 25 Sep 2013, Lukasz Sokol wrote: > >> Hello, >> >> since I have not found anything on CardDAV related

Re: [fpc-pascal] RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Michael Van Canneyt
On Wed, 25 Sep 2013, Lukasz Sokol wrote: Hello, since I have not found anything on CardDAV related/written in/for FreePascal/Lazarus, (haven't googled with Delphi keyword thou) I'd like to send out some smoke signals, asking which way would the support for this kind of interaction (dare not

Re: [fpc-pascal] How to stop a HttpApp via request?

2013-09-25 Thread Michael Van Canneyt
On Wed, 25 Sep 2013, silvioprog wrote: 2013/9/24 Graeme Geldenhuys On 24/09/13 10:46, Michael Van Canneyt wrote: > > I am working on it. Thanks Michael. btw: The fcl-web (and all your guidance) has worked wonders with my client side CGI application. The organisation of cod

Re: [fpc-pascal] Re: RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Daniel Gaspary
On Wed, Sep 25, 2013 at 2:18 PM, Daniel Gaspary wrote: > I was talking about the dom/laz2_dom feedback. I was talking about the dom/laz2_dom DEVELOPERS feedback. (Just Correcting myself) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:

Re: [fpc-pascal] Re: RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Daniel Gaspary
On Wed, Sep 25, 2013 at 11:45 AM, Lukasz Sokol wrote: >> >> By the way, feedback (is a viable suggestion, no, why..?) on this >> subject would be appreciated. > > Of course I will give feedback when (and if) I get any. I was talking about the dom/laz2_dom feedback. But your feedback will be welc

[fpc-pascal] Memory leak in PascalScript

2013-09-25 Thread silvioprog
Hello, Can you help me to fix this issue?: https://github.com/remobjects/pascalscript/issues/61 Thank you! -- Silvio Clécio My public projects - github.com/silvioprog ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal

Re: [fpc-pascal] Re: StrUtils.RomanToInt oddities

2013-09-25 Thread Bart
My 2 cents on the "backwards compatibility" discussion. First: backwards compatibility must be broken if the old implementation is wrong. This seems obvious, but I have had discussions about that in the past when I corrected another conversion routine in fpc. Wether or not the current implenetatio

[fpc-pascal] Re: RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Lukasz Sokol
On 25/09/13 16:00, Reinier Olislagers wrote: > On 25/09/2013 16:45, Lukasz Sokol wrote: >> On 25/09/13 14:56, Daniel Gaspary wrote: >>> On Wed, Sep 25, 2013 at 8:03 AM, Lukasz Sokol >>> >>> wrote: >> For now, I was merely asking, what direction the development should >> take, and whether it's a go

[fpc-pascal] Re: RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Reinier Olislagers
On 25/09/2013 16:45, Lukasz Sokol wrote: > On 25/09/13 14:56, Daniel Gaspary wrote: >> On Wed, Sep 25, 2013 at 8:03 AM, Lukasz Sokol >> wrote: > For now, I was merely asking, what direction the development should take, > and whether it's a good idea to make it into a Data Access palette component

[fpc-pascal] Re: RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Lukasz Sokol
On 25/09/13 14:56, Daniel Gaspary wrote: > On Wed, Sep 25, 2013 at 8:03 AM, Lukasz Sokol wrote: >> Seems like the more complicated elements of DOM level 3 will need DOM.pas >> modifications too. > > What kind of modification ? > Uh, you got me - I don't know as I haven't started yet... I was me

Re: [fpc-pascal] RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Daniel Gaspary
On Wed, Sep 25, 2013 at 8:03 AM, Lukasz Sokol wrote: > Seems like the more complicated elements of DOM level 3 will need DOM.pas > modifications too. What kind of modification ? I have sent this patch [1] to allow create custom descendants of TDomElement. You can check whether this could be use

Re: [fpc-pascal] How to stop a HttpApp via request?

2013-09-25 Thread silvioprog
2013/9/24 Graeme Geldenhuys > On 24/09/13 10:46, Michael Van Canneyt wrote: > > > > I am working on it. > > Thanks Michael. > > btw: The fcl-web (and all your guidance) has worked wonders with my > client side CGI application. The organisation of code and application > flow is so much better. Tha

[fpc-pascal] RFD: CardDAV support library for FreePascal, call for ideas

2013-09-25 Thread Lukasz Sokol
Hello, since I have not found anything on CardDAV related/written in/for FreePascal/Lazarus, (haven't googled with Delphi keyword thou) I'd like to send out some smoke signals, asking which way would the support for this kind of interaction (dare not call it a protocol) would be best fitting int

Re: [fpc-pascal] Re: Problems reading some of the messages from this mailing list

2013-09-25 Thread Graeme Geldenhuys
On 24/09/13 12:26, Guillermo Martínez wrote: > Sorry, Philippe, but I can't read your messages. :( Have you tried a different email client? Mozilla Thunderbird seems to read his messages just fine. But I know what you mean. I have a very simple web interface for newsgroups. And sometimes certain

Re: [fpc-pascal] How to stop a HttpApp via request?

2013-09-25 Thread Graeme Geldenhuys
On 24/09/13 10:46, Michael Van Canneyt wrote: > > I am working on it. Thanks Michael. btw: The fcl-web (and all your guidance) has worked wonders with my client side CGI application. The organisation of code and application flow is so much better. Thanks again for all your patience and help.