Skip to content
This repository was archived by the owner on Nov 12, 2019. It is now read-only.

Commit c53dc02

Browse files
committed
Add hint on forks
1 parent 683d192 commit c53dc02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+8
-4822
lines changed

.gitignore

Lines changed: 0 additions & 17 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 58 deletions
This file was deleted.

README.md

Lines changed: 8 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,11 @@
1-
Diff Utils library is an OpenSource library for performing the comparison operations between texts: computing diffs, applying patches, generating unified diffs or parsing them, generating diff output for easy future displaying (like side-by-side view) and so on.
1+
# Java Diff Utils
22

3-
Main reason to build this library was the lack of easy-to-use libraries with all the usual stuff you need while working with diff files. Originally it was inspired by JRCS library and it's nice design of diff module.
3+
java-diff-utils was originally developed at Google Code: <https://code.google.com/archive/p/java-diff-utils/>.
44

5-
# Main Features
5+
The original author created a new repository at <https://github.com/dnaumenko/java-diff-utils>.
66

7-
* computing the difference between two texts.
8-
* capable to hand more than plain ASCII. Arrays or List of any type that implements hashCode() and equals() correctly can be subject to differencing using this library
9-
* patch and unpatch the text with the given patch
10-
* parsing the unified diff format
11-
* producing human-readable differences
12-
13-
# Algorithms
14-
15-
This library implements Myer's diff algorithm. But it can easily replaced by any other which is better for handing your texts. I have plan to add implementation of some in future.
16-
17-
# Changelog
18-
19-
## Version 1.2
20-
* JDK 1.5 compatibility
21-
* Ant build script
22-
* Generate output in unified diff format (thanks for Bill James)
23-
24-
# To Install
25-
26-
Just add the code below to your maven dependencies:
27-
28-
<dependency>
29-
<groupId>com.googlecode.java-diff-utils</groupId>
30-
<artifactId>diffutils</artifactId>
31-
<version>1.3.0</version>
32-
</dependency>
33-
34-
And for Ivy:
35-
36-
<dependency org="com.googlecode.java-diff-utils" name="diffutils" rev="1.3.0"/>
37-
38-
# Coming eventually
39-
40-
* support for inline diffs in output
41-
* helpers for showing side-by-side, line-by-line diffs or text with inter-line and intra-line change highlights
42-
* customization of diff algorithm for better experience while computing diffs between strings (ignoring blank lines or spaces, etc)
43-
* generating output in other formats (not only unified). E.g. CVS.
44-
45-
# Tutorials
46-
47-
http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=CompararFicherosJavaDiffUtils (in Spanish). Thanks Miguel
7+
Meanwhile, other persons created a fork of Google Code: <https://github.com/KengoTODA/java-diff-utils>.
8+
This repository was forked multiple times.
9+
The most active fork was maintained by @bkromhout.
10+
@koppor took over maintaince and moved it to <https://github.com/java-diff-utils/java-diff-utils>.
11+
Please continue contributing there.

build.xml

Lines changed: 0 additions & 54 deletions
This file was deleted.

pom.xml

Lines changed: 0 additions & 92 deletions
This file was deleted.

src/main/java/difflib/ChangeDelta.java

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)