1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
|
.. -*- coding: utf-8 -*-
====================================================================
xxdiff: Graphical File And Directories Comparator And Merge Tool
====================================================================
.. contents:: Table of Contents
..
1 Description
1.1 Features
1.1.1 Unicode and Inline Editing
2 Documentation
2.1 Screenshots
3 Download
3.1 Tools
3.2 Packages
4 Reporting Bugs
5 Installation
5.1 Dependencies
5.2 Portability
6 External Links
7 Copyright and License
8 Author
Description
===========
This is the official home of **xxdiff**, a graphical file and
directories comparator and merge tool.
**xxdiff** is provided under the GNU GPL open source license. It has
reached stable state, and is known to run on many popular unices,
including IRIX, Linux, Solaris, HP/UX, DEC Tru64. It has been
deployed inside many large organizations and is being actively
maintained by its author (Martin Blais).
Features
--------
- Comparing **two** files, **three** files, or two **directories**
(shallow and recursive);
- **Horizontal diffs** highlighting;
- Files can be **merged** interactively and resulting output
visualized and saved;
- Has features to assist in performing **merge reviews/policing**;
- Can **unmerge CVS conflicts** in automatically merged file and
display them as two files, to help resolve conflicts;
- Uses **external diff program** to compute differences: works with
GNU diff, SGI diff and ClearCase's cleardiff, and any other diff
whose output is similar to those;
- Fully customizable with a resource file;
- Look-and-feel similar to Rudy Wortel's/SGI xdiff, it is desktop
agnostic (i.e. will work equally well with KDE or Gnome);
- Features and output that ease integration with scripts.
**xxdiff** was (and probably still is) tested daily in a merge
reviewing/policing context by more than 50 engineers at `discreet
<http://www.discreet.com>`_, and since this task is a
significant part of their development process, many of the features
are a direct result of suggestions from these people while the author
was working there.
New releases and updates are announced on freshmeat. You can register
for notification at either freshmeat or sourceforge. xxdiff is
implemented in C++ and its runtime dependencies is only the **Qt UI
toolkit** from TrollTech.
Unicode and Inline Editing
~~~~~~~~~~~~~~~~~~~~~~~~~~
**xxdiff** does not support comparing files encoded with Unicode.
Also, it does not support inline editing of the diffed files. If you
need these features, you could try emacs or Meld (although both of
these lack some of the most interesting features of xxdiff).
Documentation
=============
- `User's Manual <doc/xxdiff-doc.html>`_ *(user's manual, all features, FAQ)*
- `The almost secret nifty features of xxdiff <doc/xxdiff-secrets.html>`_
- `Integrating xxdiff with scripts <doc/xxdiff-integration.html>`_
- `Helper Scripts for xxdiff <doc/xxdiff-scripts.html>`_
- `CHANGES <CHANGES>`_ *(news, recent changes, history)*
- `TODO <TODO>`_ *(future features, wishlist)*
Screenshots
-----------
- `Screenshots <doc/screenshots/gallery/index.html>`_
Download
========
* Source code can be found the public Mercurial repository, here:
http://bitbucket.org/blais/xxdiff
* `Releases Download <http://sourceforge.net/project/showfiles.php?group_id=2198>`_
* A complete Qt4 port (which works on the Mac) has been done by
Alexandre Feblot (alexandre dot feblot at gmail dot com). This forms
the basis for versions 4.x of xxdiff as of November 2010. Some notes
about the Mac OS X build:
On OSX, a Qt bug
(http://bugreports.qt.nokia.com/browse/QTBUG-9271) affects
rendering performance. As a workaround you can use the much faster
"raster" graphics engine by either
- using the ``--graphicssystem`` raster option
- defining this environment variable in your terminal::
QT_GRAPHICSSYSTEM=raster
This engine has a couple of drawbacks (it will not refresh the
display during window resizing, and will dump warning lines when
opening native OSX dialogs like colors chooser or file selection
dialogs), but it's worth coping with them anyway.
* A recent Mac OS X binary build is available for download here:
http://furius.ca/downloads/xxdiff/releases/macosx/
* An recent Windows 7 port of version 4.0 has been done by Rene J.V. Bertin
(it's ifdef'ed).
* An old Windows build for 2.9 (with some minor bugs) and based on the
qt3 version can be found here:
http://furius.ca/downloads/xxdiff/releases/windows/
No support is offered though. Someone should probably port the newer
qt4 code to Windows though, that would be worthwhile.
Tools
-----
**xxdiff** comes with a bunch of wrapper Python scripts that invoke xxdiff in
creative ways. The author has been using these for a long time now and decided
for version 3.0 to clean them up and make them a little more generic so everyone
can use them. As of version 3.2, the standalone scripts have been refactored a
great deal, to share code together and to make them more stable. All this code
is now distributed with xxdiff, in an ``xxdiff`` Python package, which you can
leverage to build your own file transformation scripts around xxdiff.
See the document `Helper Scripts for xxdiff <doc/xxdiff-scripts.html>`_ for full
details.
The scripts are available in the xxdiff distribution. To install them and the
accompanying Python package, use the standard distutils procedure::
su - # before root
cd xxdiff-3.x
python setup.py install
Other tools can be found in the distribution under the tools/ directory (CVS,
ClearCase, etc.).
Packages
--------
Packages are available for some specific operating systems. Here are links to
the relevant pages. The author does not publish binaries anymore.
- `Linux / Debian package <http://www.sourcepole.ch/sources/software/xxdiff/>`_
(provided by Tomas Pospisek)
- `Linux / Mandrake package (1) <http://www.geek.co.il/RPMS/xxdiff>`_
(maintained by Oded Arbel)
- `Linux / Mandrake package (2) <http://www.roberto.foglietta.name/pub/xxdiff>`_
(maintained by Roberto A. Foglietta)
- `Linux / Fedore Core (1) <http://timeoff.wsisiz.edu.pl/rpms.html#xxdiff>`_
(maintained by Marcin ZajÄ…czkowski)
- `Linux / Gentoo port <http://packages.gentoo.org/ebuilds/?xxdiff-3.1>`_
(in the dev-utils category)
- `OpenBSD / ports tree <http://www.openbsd.org/ports.html>`_ (maintained by Dan
Weeks, available in the ports tree)
- `IRIX / Tardist package <http://freeware.sgi.com>`_ (provided by the
SGI freeware team (version may be lagging behind))
Reporting Bugs
==============
* `Reporting Bugs <https://sourceforge.net/p/xxdiff/bugs/>`_
*(bugs and feature requests)*
**PLEASE!** report bugs using the bug tracker instead of email. It is extremely
simple, quick and easy to use, you don't even have to have a SourceForge
account, and it allows me to track issues and desired features, as well as keep
a history and dates. Please do not send the author email about bugs. Log them,
you don't even need a SourceForge account. Thank you.
Installation
============
Dependencies
------------
Build dependencies are:
- Qt-4.5 or higher
- a C++ compiler, flex and yacc
Runtime dependencies are:
- Qt-4.5 or higher
Portability
-----------
xxdiff is known to build and work on a great majority of UNIX platforms where Qt
works, including Mac OS X.
External Links
==============
- `SourceForge Project Page <http://sourceforge.net/projects/xxdiff>`_
- `Freshmeat Application Index <http://freshmeat.net/projects/xxdiff>`_
- `Open Source Directory (OSDir) application index
<http://www.osdir.com/Downloads-req-viewdownloaddetails-lid-402-ttitle-xxdiff.html>`_
- Other file comparison programs at `Google directory
<http://directory.google.com/Top/Computers/Software/File_Management/File_Comparison/>`_,
`DMOZ <http://dmoz.org/Computers/Software/File_Management/File_Comparison/>`_
- `Author's Homepage <http://furius.ca>`_
Copyright and License
=====================
Copyright (C) 2001-2004 Martin Blais. All Rights Reserved.
This code is distributed under the `GNU General Public License <COPYING>`_;
Author
======
Martin Blais <blais@furius.ca>
.. official sourceforge logo code snippet
.. image:: http://sourceforge.net/sflogo.php?group_id=2198&type=1
:width: 88
:height: 31
:alt: SourceForge Logo
|