Using the KomparePart in KDevelop
Andreas Pakulat
apaku at gmx.de
Thu Jul 23 13:22:07 UTC 2009
On 23.07.09 14:38:02, David Nolden wrote:
> Am Dienstag 21 Juli 2009 23:49:23 schrieb Killerfox:
> > >Well, feel free to write one (it should be fairly easy) and also to export
> > >all the interfaces you need from the KomparePart (as long as you don't
> > > remove or change APIs, you can just commit what you need, exporting or
> > > adding APIs as you need; if you want to change some API, please ask here
> > > first).
> >
> > After all I decided not to make a FindKompare.cmake, as a simple find_path
> > works now. I developed a patch to compare a source file with a supplied
> > string destination. Please review, specially the changes of replacing
> > KompareModelList::compareFiles && KompareModelList::compareDirs with
> > KompareModelList::compare(Kompare::Mode), and the addition of
> > KomparePart::compareAndUpdateAll.
> >
> > Since it contains a few API changes I am asking for feedback here first. I
> > can implement the other way around(string source -> file destination)
> > pretty easy later on.
> I guess komparepart needs some API binary compatibility, and your changes are
> unfortunately not binary compatible at all.
Not the part, but indeed the library needs it - unless the maintainers
don't enforce BC during the KDE4 lifetime?
Andreas
--
Your lucky number is 3552664958674928. Watch for it everywhere.
More information about the Kompare-devel
mailing list