Re: [fpc-devel] Closures via interfaces

2013-05-27 Thread Sven Barth
Am 27.05.2013 02:31 schrieb Paul Ishenin i...@kmiac.ru: 27.05.2013 5:52, Maciej Izak пишет: So I am waiting impatiently ^^. I think it's interesting time for FPC! To be completely happy, there is only one seriously lack - extended RTTI. :) RTTI has been extended recently:

Re: [fpc-devel] Closures via interfaces

2013-05-27 Thread Paul Ishenin
27.05.2013 15:32, Sven Barth пишет: The new extended RTTI introduced in Delphi 2009 which allows access to private/protected/public members as well together with attributes and things like TVirtualMethodInterceptor, Invoke and TValue. Sven, I did not ask what and how delphi implemented. I

Re: [fpc-devel] Closures via interfaces

2013-05-27 Thread Maciej Izak
Sven, I did not ask what and how delphi implemented. I asked Maciej Izak what he wants from extended RTTI. Maybe this is a small subset which is not very hard to implement. Best regards, Paul Ishenin Unfortunately, Sven is right :). I need this to share another free library for FPC. It was

Re: [fpc-devel] Closures via interfaces

2013-05-27 Thread Paul Ishenin
27.05.2013 17:17, Maciej Izak wrote: Unfortunately, Sven is right :). I need this to share another free library for FPC. It was originally intended for sale to the Embarcadero. Absolute automatic binary streaming (seriously, for each type that exists in Pascal, including Class, ClassRef,

Re: [fpc-devel] Closures via interfaces

2013-05-27 Thread Maciej Izak
If you don't need RTTI unit then it will be much more simplier to implement your requirements. Attributes are half ready in a branch. RTTI for non-published elements (together with $RTTI directive) is not a very hard task. I use a lot of TypInfo. If I get RTTI for non-published elements and

Re: [fpc-devel] Closures via interfaces

2013-05-27 Thread Hans-Peter Diettrich
Vasiliy Kevroletin schrieb: I described details of proposed and partly implemented approach in mantis. This is Delphi's approach. Some people call it closures via interfaces. In slightly modified way it will allow to capture variables by value (which was requested in previous discussion). I

[fpc-devel] Fwd: FPC SVN revision 24611

2013-05-27 Thread Sandro Cumerlato
Please read it :-) -- Forwarded message -- From: Sandro Cumerlato sandro.cumerl...@gmail.com Date: May 26, 2013 10:32 PM Subject: FPC SVN revision 24611 To: fpc-devel@lists.freepascal.org Cc: Hello, I don't understand the meaning of the following change:

Re: [fpc-devel] Fwd: FPC SVN revision 24611

2013-05-27 Thread Michel Catudal
Le 2013-05-27 05:41, Sandro Cumerlato a crit: Please read it :-) -- Forwarded message -- From: "Sandro Cumerlato" sandro.cumerl...@gmail.com Date: May 26, 2013 10:32 PM Subject: FPC SVN revision 24611 To:

Re: [fpc-devel] Closures via interfaces

2013-05-27 Thread Sven Barth
Am 27.05.2013 16:18 schrieb Hans-Peter Diettrich drdiettri...@aol.com: Vasiliy Kevroletin schrieb: I described details of proposed and partly implemented approach in mantis. This is Delphi's approach. Some people call it closures via interfaces. In slightly modified way it will allow to

[fpc-devel] Iterface type helper

2013-05-27 Thread Steve Hildebrandt
Since I red there will type helper for interfaces, too I would like to know what is the current progress for this feature or whether it is on hold and will not be alvailable in the near feature? Any related information would be aprechiated. mfg Steve Hildebrandt

Re: [fpc-devel] Iterface type helper

2013-05-27 Thread Sven Barth
On 27.05.2013 19:21, Steve Hildebrandt wrote: Since I red there will type helper for interfaces, too I would like to know what is the current progress for this feature or whether it is on hold and will not be alvailable in the near feature? Any related information would be aprechiated. Please

[fpc-devel] Iterface type helper

2013-05-27 Thread Steve Hildebrandt
Sorry for mistakenly sending this as an answer to another topic got the windows confused. Since I red there will type helper for interfaces, too I would like to know what is the current progress for this feature or whether it is on hold and will not be alvailable in the near feature? Any

Re: [fpc-devel] Iterface type helper

2013-05-27 Thread Sven Barth
On 27.05.2013 19:43, Steve Hildebrandt wrote: Sorry for mistakenly sending this as an answer to another topic got the windows confused. Thank you. Since I red there will type helper for interfaces, too I would like to know what is the current progress for this feature or whether it is on

Re: [fpc-devel] Iterface type helper

2013-05-27 Thread Steve Hildebrandt
Am 27.05.2013 20:23, schrieb Sven Barth: On 27.05.2013 19:43, Steve Hildebrandt wrote: Since I red there will type helper for interfaces, too I would like to know what is the current progress for this feature or whether it is on hold and will not be alvailable in the near feature? Any related