annotate src/xdiff/README.txt @ 34318:59d706a161a4 v9.1.0093

patch 9.1.0093: Still a qsort() comparison function that returns result of subtraction Commit: https://github.com/vim/vim/commit/77078276bfe695070441a1bbdc02949d31de8922 Author: zeertzjq <zeertzjq@outlook.com> Date: Sat Feb 10 13:24:03 2024 +0100 patch 9.1.0093: Still a qsort() comparison function that returns result of subtraction Problem: Still a qsort() comparison function fuzzy_match_item_compare() that returns result of subtraction (after 9.1.0089). Solution: Use an explicit comparison instead of subtraction. (zeertzjq) closes: #14004 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 10 Feb 2024 13:30:04 +0100
parents f84e5db372ea
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14696
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 The files in this directory come from the xdiff implementation in git.
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 You can find it here: https://github.com/git/git/tree/master/xdiff
32174
f84e5db372ea patch 9.0.1418: the included xdiff code is a bit outdated
Bram Moolenaar <Bram@vim.org>
parents: 26438
diff changeset
3 The files were last updated March 17, 2023 from git release v.2.40.0
14696
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 This is originally based on libxdiff, which can be found here:
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 http://www.xmailserver.org/xdiff-lib.html
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 The git version was used because it has been maintained and improved.
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 And since it's part of git it is expected to be reliable.
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 The code is distributed under the GNU LGPL license. It is included in the
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 COPYING file.
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13
14704
150274bc6f5c patch 8.1.0364: compiler warning in xdiff code
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
14 Changes in these files were made to avoid compiler warnings.
150274bc6f5c patch 8.1.0364: compiler warning in xdiff code
Christian Brabandt <cb@256bit.org>
parents: 14696
diff changeset
15
26438
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25709
diff changeset
16 The /* */ comments are kept to make syncing to a newer version easier, do not
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25709
diff changeset
17 change them to // comments!
c725b8e17f1f Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25709
diff changeset
18
14696
195e8b1fcbbf patch 8.1.0360: using an external diff program is slow and inflexible
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 The first work for including xdiff in Vim was done by Christian Brabandt.