[fpc-devel] Re: Backport request for 2.4.2: Improved Interfaces support
graemeg.lists at gmail.com
Fri May 28 11:37:04 CEST 2010
---------- Forwarded message ----------
From: Graeme Geldenhuys
Date: 28 May 2010 11:26
Subject: Committing fixes to "fixes" branch
To: Florian Klaempfl
[... cut irrelevant parts ...]
In the fpc-devel mailing list I was simply trying to point
out that most of those patches I listed are actually fixes and not new
features. The only new "feature" is the modifier 'implements' - albeit
a rather important feature of Interfaces that has been missing from
FPC since forever.
So I don't really understand why Joost simply shot down (discarded) my
request, even for 2.4.4.
This is what those patches fixed for Interfaces usage:
* Corrected behaviour for Supports() calls
* Corrected behaviour for AS and GetInterface calls
* Correct handling of casting a instance to an interfaces. Though
this is only fixed
for Corba-style interfaces at the moment - it still is a fix.
* Correctly initialized temp variables used by interface support to
Mantis reports resolved:
http://bugs.freepascal.org/view.php?id=16365 (partially resolved -
So like I said, the only real "new feature" is the usage of
Implements, all the other patches are actual fixes.
If you actually used Interfaces in your own software you might have
noticed how buggy Interfaces are in FPC. These fixes are rather
critical and go a long way to to resolve many of the pitfalls
experienced with FPC + Interfaces usage.
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-devel