I've starter planning rework for file filters. Current file filtering system
is fine, but is almost impossible to expand for new features. So I want to
start from fresh - by first determining what file filtering is for WinMerge.
I added new page into devel wiki with some of my initial thoughts:
I've tried to cover all important features we currently have and what we'll
want to implement. One keyword is flexibility, as our feature request
tracker shows there are lots of things users would like to do with
filtering. And I agree with many of those. Of course we can't implement
every wishes, but we need some good set of features feasible to implement.
And preferably in a way that is easy to expand later. One interesting
feature I want to add is grouping of items. Later we can use this grouping
for selecting line filters to run - and fix one major pain in current line
filters... Maybe it is feasible to combine file filtering and line filter
later into one filtering feature. But I haven't thought about that yet.
One frequent request I've left out - ability to match similar filenames to
compare. As I've no idea how that could work in practice.
I think current set of objectives in wiki-page is pretty good for
medium-term target. But I'd like to hear others opinions too. Now its easy
to change things as no code exists yet. I think I'll start initial coding in
few weeks once I have clear picture about all the features and requirements.
And since this is major re-work of major feature I'll create a new
development branch to SVN for this. This probably is not feasible for next
stable release, it will take several months and I don't want to dump current
filter files at this stage.