On Fri, 19 Aug 2011 10:02:23 +1000 Lex Trotman elextr@gmail.com wrote:
IMO Geany should use the exact same API than plugins to do one thing.
Of course Geany should call the wrapper too. Basically its ok for Geany to do implementation stuff directly, but only if its in one place. As soon as it is in the API it isn't one place any more.
Depending on the part of Geany, its really already doing this. But surely a couple of places might be missing and useful to do it the same wa< there.
This would avoid having a broken getter in the API (or whatever) that we don't notice just because the core doesn't use it.
With the past non-proactive adding of things to the API there should not be too much in that category, but over time it may accumulate as we add more but don't remove stuff so we don't break the ABI.
Well, I don't think this is a reason for using the same functions in core, but a good one to use a test framework which is testing the API maybe as a post commit hook.
PS probably be a week or so before I get time to put stuff in the wiki
Looking forward to.
Cheers, Frank