[fpc-devel] with r13297 ChangeName has gone
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Jun 19 10:07:18 CEST 2009
On 19 Jun 2009, at 04:23, Paul Ishenin wrote:
> I think that ChangeName should stay in the TComponent class. It is
> the only way to change a component name without validation. Even if
> it is not used by Lazarus it is probably used by some third-party
> components. For example report generators can use them to implement
> own name validation and change for the designer objects (if they are
> components).
And the patch combines reformatting with functional changes, the
commit comment does not mention what actually is changed nor why, and
the patch changes at least some internal behaviour (the notifying of
components from tcomponent.destroy now happens in the inverse order;
this is unlikely to be part of the interface contract, but unless
absolutely necessary it is bad to change such internal details since
it can unnecessarily break existing programs).
Please Ivo, do not commit such changes without first asking whether
your patch is ok if you are not the primarily responsible developer
for that part of the FPC source tree (and split patches into
reformatting and functionality changes, so that reviewing is easier,
and explain in the comments what the patch changes).
Jonas
More information about the fpc-devel
mailing list