Zitat von Alexander Klenin <[email protected]>:
2010/1/22 Mattias Gärtner <[email protected]>:
Zitat von Alexander Klenin <[email protected]>:
I continue refactoring of PropEdits unit.
I am ready to extract TPropertyEditHook into a separate unit.
Although Paul have given me commit access to IDEIntf,
he requested that I ask before committing serious changes.
So, is it ok to commit this refactoring?
No, it breaks compatibility.
What compatibility?
I have successfully re-built lazarus after the refactoring -- no files except
propedits.pp required any changes.
Amazing, TPropertyEditHook is used in some IDE units.
What exactly do you want to move?
Why do you want to move it to another unit?
Because propedits.pp is a 6000+ line monster which is
very hard to comprehend, fix and improve.
Reducing the size by 1200 lines will alleviate the problem somewhat.
Also, many units that currently import propedits are actually only
using TPropertyEditHook, so after the extraction those units
can import much lighter propedithook unit instead.
I can't follow you.
a) TPropertyEditHook is not used anywhere then moving will not break
compatibility
b) TPropertyEditHook is used in many units then moving will break
compatibility
With "compatibility" I mean the designtime packages that use IDEIntf.
What about GlobalDesignHook?
Note that the patch I have currently prepared does not
implement the latter change yet, but it will follow shortly.
ok. Hopefully it will clarify some things. :)
Mattias
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus