Re: [fpc-devel] RTTI generating

2014-09-22 Thread Adriaan van Os
Florian Klämpfl wrote: Am 19.09.2014 um 22:49 schrieb Boian Mitov: On Fri, 19 Sep 2014, Adriaan van Os wrote: Your remarks seem to imply that you think RTTI can be used to inspect any aspect of an object. It was/is not meant for that. Quite incorrect. All languages with modern RTTI allow

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Michael Van Canneyt
On Fri, 19 Sep 2014, Boian Mitov wrote:   Hi Sven,   Thank you! This is all great news. I perfectly understand, and I also support some open source projects. However the dynamic packages have been in the works for at least 5-6 years if I recall. If the product does not catch up on at least

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Jonas Maebe
On 20/09/14 00:07, Boian Mitov wrote: --- -Original Message- From: Jonas Maebe Sent: Friday, September 19, 2014 2:10 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating Why do you take one paragraph out of context

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Sven Barth
Am 20.09.2014 05:01 schrieb Den cyr...@gmail.com: Hi Sven, What would you say the status on Generic Methods/Functions if you were to give a status for it? In my local repository I have global functions/procedures working (something that Delphi can not ;) ), but methods not yet. Also I

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Sven Barth
Am 20.09.2014 01:52 schrieb Hans-Peter Diettrich drdiettri...@aol.com: Boian Mitov schrieb: On Fri, 19 Sep 2014, Adriaan van Os wrote: Your remarks seem to imply that you think RTTI can be used to inspect any aspect of an object. It was/is not meant for that. Quite incorrect. All

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Sven Barth
Am 20.09.2014 00:46 schrieb Boian Mitov mi...@mitov.com: Hi Sven, Thank you! This is all great news. I perfectly understand, and I also support some open source projects. However the dynamic packages have been in the works for at least 5-6 years if I recall. There wasn't that much work

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Peter Popov
I will add quick comment to this discussion: our products heavily rely on the automated keyword, introduced in Delphi 2. What we use it for is either to link dynamically GUI elements to particular code, or to do a particular form of RPC. That is, the gui does not in advance the structure of the

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Peter Popov
--- -Original Message- From: Jonas Maebe Sent: Friday, September 19, 2014 2:10 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating On 19/09/14 22:49, Boian Mitov wrote: On Fri, 19 Sep 2014, Adriaan van Os wrote: Your remarks seem to imply that you

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Hans-Peter Diettrich
Sven Barth schrieb: Am 20.09.2014 01:52 schrieb Hans-Peter Diettrich drdiettri...@aol.com It's up to the coder to make all properties etc. published, when he *intends* to ever use RTTI on them. That't the way to tell the compiler what to do. The extended RTTI introduced with Delphi 2010

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Sven Barth
On 20.09.2014 12:11, Hans-Peter Diettrich wrote: Sven Barth schrieb: Am 20.09.2014 01:52 schrieb Hans-Peter Diettrich drdiettri...@aol.com It's up to the coder to make all properties etc. published, when he *intends* to ever use RTTI on them. That't the way to tell the compiler what to do.

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Florian Klämpfl
Am 19.09.2014 um 22:49 schrieb Boian Mitov: On Fri, 19 Sep 2014, Adriaan van Os wrote: Your remarks seem to imply that you think RTTI can be used to inspect any aspect of an object. It was/is not meant for that. Quite incorrect. All languages with modern RTTI allow for full object

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Florian Klämpfl
Am 20.09.2014 um 08:47 schrieb Michael Van Canneyt: Personally, I can't wait to see Joost's implementation of extended RTTI and attributes merged to the trunk compiler. Is it finished? I thought it is still work in progress? ___ fpc-devel

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Sven Barth
Am 20.09.2014 18:05 schrieb Florian Klämpfl flor...@freepascal.org: Am 20.09.2014 um 08:47 schrieb Michael Van Canneyt: Personally, I can't wait to see Joost's implementation of extended RTTI and attributes merged to the trunk compiler. Is it finished? I thought it is still work in

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Boian Mitov
www.mitov.com --- From: Sven Barth Sent: Saturday, September 20, 2014 12:32 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating Am 20.09.2014 18:05 schrieb Florian Klämpfl flor...@freepascal.org: It depends what you define as finished

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Sven Barth
Am 20.09.2014 21:40 schrieb Boian Mitov mi...@mitov.com: If the compiler information is generated, I can work on the API to access it. I think I can easily port my API to do that, and can contribute the version to the open source project. Maybe you could document the binary format of the

Re: [fpc-devel] RTTI generating

2014-09-20 Thread Boian Mitov
--- Mitov Software www.mitov.com --- From: Sven Barth Sent: Saturday, September 20, 2014 2:05 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating Maybe you could document the binary format of the extended RTTI data. That would

[fpc-devel] RTTI generating

2014-09-19 Thread Adriaan van Os
This is a copy of a post on the macpascal mailing list, where it was suggested to re-ask on the fpc-devel list. - The RTTI generating logic in the FPC compiler puzzles me Chapter 40 of FreePascal Run-Time Library Reference guide describes the typinfo unit. It says ; The TypeInfo

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Michael Van Canneyt
On Fri, 19 Sep 2014, Adriaan van Os wrote: This is a copy of a post on the macpascal mailing list, where it was suggested to re-ask on the fpc-devel list. - The RTTI generating logic in the FPC compiler puzzles me Chapter 40 of FreePascal Run-Time Library Reference guide

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Boian Mitov
To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating On Fri, 19 Sep 2014, Adriaan van Os wrote: Your remarks seem to imply that you think RTTI can be used to inspect any aspect of an object. It was/is not meant for that. ___ fpc-devel

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Jonas Maebe
On 19/09/14 22:49, Boian Mitov wrote: On Fri, 19 Sep 2014, Adriaan van Os wrote: Your remarks seem to imply that you think RTTI can be used to inspect any aspect of an object. It was/is not meant for that. Quite incorrect. All languages with modern RTTI allow for full object

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Boian Mitov
, September 19, 2014 2:10 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating On 19/09/14 22:49, Boian Mitov wrote: On Fri, 19 Sep 2014, Adriaan van Os wrote: Your remarks seem to imply that you think RTTI can be used to inspect any aspect of an object. It was/is not meant

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Boian Mitov
, September 19, 2014 2:14 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating On Fri, Sep 19, 2014 at 5:49 PM, Boian Mitov mi...@mitov.com wrote: I may be wrong, but if I'm not mistaken, the new Delphi XE RTTI is being implemented in FPC. My dream is see a project like DORM (https

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Ralf Quint
On 9/19/2014 2:38 PM, Boian Mitov wrote: Hi Jonas, I am sorry if I have misinterpreted the meaning of the message. I am just terribly frustrated with the overall state of the FPC :-( . Well, what frustrates me is that there are always people that come up with all kinds of fancy

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Boian Mitov
: Friday, September 19, 2014 2:10 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating On 19/09/14 22:49, Boian Mitov wrote: Why do you take one paragraph out of context and base a whole rant on that which ignores the other information from the original message? Jonas

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Boian Mitov
@lists.freepascal.org Subject: Re: [fpc-devel] RTTI generating On 9/19/2014 2:38 PM, Boian Mitov wrote: I really want to become FPC/Lazarus a really stable, reliable development, across multiple platforms, without constantly trying to run along the other kool kids on the block

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Sven Barth
Am 19.09.2014 23:39 schrieb Boian Mitov mi...@mitov.com: I even offered to donate our enhanced RTTI API to the FPC community with very little interest so far :-( . Your API would be welcome, but it's of no use when we don't yet generate the data your API relies on. And implementing that takes a

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Boian Mitov
--- From: Sven Barth Sent: Friday, September 19, 2014 3:19 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating Am 19.09.2014 23:39 schrieb Boian Mitov mi...@mitov.com: I even offered to donate our enhanced RTTI API to the FPC

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Hans-Peter Diettrich
Boian Mitov schrieb: On Fri, 19 Sep 2014, Adriaan van Os wrote: Your remarks seem to imply that you think RTTI can be used to inspect any aspect of an object. It was/is not meant for that. Quite incorrect. All languages with modern RTTI allow for full object inspection, and that includes

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Boian Mitov
--- Mitov Software www.mitov.com --- -Original Message- From: Hans-Peter Diettrich Sent: Friday, September 19, 2014 4:28 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating Boian

Re: [fpc-devel] RTTI generating

2014-09-19 Thread silvioprog
On Fri, Sep 19, 2014 at 9:08 PM, Boian Mitov mi...@mitov.com wrote: Hi Hans, I am sorry to disagree with you. +1. The attributes in particular allow you to do real magic, and reduce your code by at least 4 times, and speed up your development up to 10 times. I tested the new RTTI in

Re: [fpc-devel] RTTI generating

2014-09-19 Thread Boian Mitov
--- From: silvioprog Sent: Friday, September 19, 2014 8:41 PM To: FPC developers' list Subject: Re: [fpc-devel] RTTI generating On Fri, Sep 19, 2014 at 9:08 PM, Boian Mitov mi...@mitov.com wrote: I was very curious to see your RTTI API. :-) -- Silvio Clécio My

Re: [fpc-devel] RTTI generating

2014-09-19 Thread silvioprog
On Sat, Sep 20, 2014 at 12:56 AM, Boian Mitov mi...@mitov.com wrote: Hi Silvio, Please contact me at mi...@mitov.com, and I will send it to you. It is for XE4 and higher only however since older XE versions have some compiler issues. It is a new API design from the ground up, making