Bram Moolenaar
b9ddda6c2d
patch 8.1.0956: using context:0 in 'diffopt' does not work well
...
Problem: Using context:0 in 'diffopt' does not work well.
Solution: Make zero context do the same as one line context. (closes #4005 )
2019-02-19 23:00:50 +01:00
Bram Moolenaar
0059074008
patch 8.1.0927: USE_CR is never defined
...
Problem: USE_CR is never defined.
Solution: Remove usage of USE_CR. (Ken Takata, closes #3958 )
2019-02-15 21:06:09 +01:00
Bram Moolenaar
135059724f
patch 8.1.0805: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 1.
2019-01-24 15:04:48 +01:00
Bram Moolenaar
b5443cc46d
patch 8.1.0753: printf format not checked for semsg()
...
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes #3805 )
2019-01-15 20:19:40 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
b6fc72851c
patch 8.1.0562: parsing of 'diffopt' is slightly wrong
...
Problem: Parsing of 'diffopt' is slightly wrong.
Solution: Fix the parsing and add a test. (Jason Franklin, Christian
Brabandt)
2018-12-04 22:24:16 +01:00
Bram Moolenaar
d0721058f4
patch 8.1.0513: no error for set diffopt+=algorithm:
...
Problem: No error for set diffopt+=algorithm:.
Solution: Check for missing argument. (Hirohito Higashi, closes #3598 )
2018-11-05 21:21:33 +01:00
Bram Moolenaar
f080d70a82
patch 8.1.0502: internal diff fails when diffing a context diff
...
Problem: Internal diff fails when diffing a context diff. (Hirohito Higashi)
Solution: Only use callback calls with one line. (closes #3581 )
2018-10-31 22:57:26 +01:00
Bram Moolenaar
5f57bdcab7
patch 8.1.0497: :%diffput changes order of lines
...
Problem: :%diffput changes order of lines. (Markus Braun)
Solution: Do adjust marks when using internal diff.
2018-10-25 17:52:23 +02:00
Bram Moolenaar
df77cef92e
patch 8.1.0458: ml_get error and crash when using "do"
...
Problem: Ml_get error and crash when using "do".
Solution: Adjust cursor position also when diffupdate is not needed.
(Hirohito Higashi)
2018-10-07 17:46:42 +02:00
Bram Moolenaar
198fa066b2
patch 8.1.0402: the DiffUpdate event isn't triggered for :diffput
...
Problem: The DiffUpdate event isn't triggered for :diffput.
Solution: Also trigger DiffUpdate for :diffget and :diffput.
2018-09-18 21:20:26 +02:00
Bram Moolenaar
d2b58c0a2c
patch 8.1.0400: using freed memory with :diffget
...
Problem: Using freed memory with :diffget.
Solution: Skip ex_diffupdate() while updating diffs. (closes #3442 )
2018-09-16 18:10:48 +02:00
Bram Moolenaar
e8fa05b5bc
patch 8.1.0397: no event triggered after updating diffs
...
Problem: No event triggered after updating diffs.
Solution: Add the DiffUpdated event.
2018-09-16 15:48:06 +02:00
Bram Moolenaar
6e272acc82
patch 8.1.0395: compiler warning on 64-bit MS-Windows
...
Problem: Compiler warning on 64-bit MS-Windows.
Solution: Add type cast. (Mike Williams)
2018-09-16 14:51:36 +02:00
Bram Moolenaar
e3521d9cbb
patch 8.1.0394: diffs are not always updated correctly
...
Problem: Diffs are not always updated correctly.
Solution: When using internal diff update for any changes properly.
2018-09-16 14:10:31 +02:00
Bram Moolenaar
785fc6567f
patch 8.1.0393: not all white space difference options available
...
Problem: Not all white space difference options available.
Solution: Add "iblank", "iwhiteall" and "iwhiteeol" to 'diffopt'.
2018-09-15 19:17:38 +02:00
Bram Moolenaar
42335f50bc
patch 8.1.0377: xdiff doesn't use the Vim memory allocation functions
...
Problem: Xdiff doesn't use the Vim memory allocation functions.
Solution: Change the xdl_ defines. Check for out-of-memory. Rename
"ignored" to "vim_ignored".
2018-09-13 15:33:43 +02:00
Bram Moolenaar
3b8defd0a5
patch 8.1.0375: cannot use diff mode with Cygwin diff.exe
...
Problem: Cannot use diff mode with Cygwin diff.exe. (Igor Forca)
Solution: Skip over unrecognized lines in the diff output.
2018-09-13 13:03:11 +02:00
Bram Moolenaar
274cea35c6
patch 8.1.0370: not using internal diff if 'diffopt' is not changed
...
Problem: Not using internal diff if 'diffopt' is not changed.
Solution: Correct initialization of diff_flags. (Christian Brabandt)
2018-09-12 18:00:12 +02:00
Bram Moolenaar
e828b7621c
patch 8.1.0360: using an external diff program is slow and inflexible
...
Problem: Using an external diff program is slow and inflexible.
Solution: Include the xdiff library. (Christian Brabandt, closes #2732 )
Use it by default.
2018-09-10 17:51:58 +02:00
Bram Moolenaar
f273245f64
patch 8.1.0027: difficult to make a plugin that feeds a line to a job
...
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
2018-06-03 14:47:35 +02:00
Bram Moolenaar
c36651b4b9
patch 8.0.1773: dialog messages are not translated
...
Problem: Dialog messages are not translated.
Solution: Add N_() and _() where needed. (Sergey Alyoshin)
2018-04-29 12:22:56 +02:00
Bram Moolenaar
8a3bb56230
patch 8.0.1566: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04 20:14:14 +01:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01:00
Bram Moolenaar
97ce419201
patch 8.0.1361: some users don't want to diff with hidden buffers
...
Problem: Some users don't want to diff with hidden buffers.
Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394 )
2017-12-01 20:35:58 +01:00
Bram Moolenaar
6e32f615eb
patch 8.0.1056: cannot build with +diff but without +multi_byte
...
Problem: Cannot build with the diff feature but without the mutli-byte
feature.
Solution: Remove #ifdefs. (John Marriott)
2017-09-04 23:21:07 +02:00
Bram Moolenaar
ae96b8d058
patch 8.0.1046: code duplication in diff mode
...
Problem: Code duplication in diff mode.
Solution: Use diff_equal_char() also in diff_cmp(). (Rick Howe)
2017-09-03 15:04:21 +02:00
Bram Moolenaar
da22b8cc8b
patch 8.0.1037: "icase" of 'diffopt' is not used for highlighting
...
Problem: "icase" of 'diffopt' is not used for highlighting differences.
Solution: Also use "icase". (Rick Howe)
2017-09-02 18:01:50 +02:00
Bram Moolenaar
04f62f881c
patch 8.0.0736: OptionSet not triggered when entering diff mode
...
Problem: The OptionSet autocommand event is not triggered when entering
diff mode.
Solution: use set_option_value() instead of setting the option directly.
Change the tests from old to new style. (Christian Brabandt)
2017-07-19 18:18:39 +02:00
Bram Moolenaar
79a213d6a4
patch 8.0.0599: diff mode is insufficiently tested
...
Problem: diff mode is insufficiently tested
Solution: Add more test cases. (Dominique Pelle, closes #1685 )
2017-05-16 13:15:18 +02:00
Bram Moolenaar
1c46544412
patch 8.0.0452: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
2017-03-12 20:10:05 +01:00
Bram Moolenaar
b5aedf3e22
patch 8.0.0448: some macros are in lower case
...
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
2017-03-12 18:23:53 +01:00
Bram Moolenaar
a95ab32120
patch 8.0.0444: diffpatch fails when the file name has a quote
...
Problem: Diffpatch fails when the file name has a quote.
Solution: Escape the name properly. (zetzei)
2017-03-11 19:21:53 +01:00
Bram Moolenaar
1ef73e33c9
patch 8.0.0442: patch shell command not well escaped
...
Problem: Patch shell command uses double quotes around the argument, which
allows for $HOME to be expanded. (Etienne)
Solution: Use single quotes on Unix. (closes #1543 )
2017-03-09 19:21:30 +01:00
Bram Moolenaar
a6c07603ca
patch 8.0.0425: build errors when building without folding
...
Problem: Build errors when building without folding.
Solution: Add #ifdefs. (John Marriott)
2017-03-05 21:18:27 +01:00
Bram Moolenaar
25ea054458
patch 8.0.0300: cannot stop diffing hidden buffers
...
Problem: Cannot stop diffing hidden buffers. (Daniel Hahler)
Solution: When using :diffoff! make the whole list if diffed buffers empty.
(closes #736 )
2017-02-03 23:16:28 +01:00
Bram Moolenaar
025e3e0baf
patch 8.0.0044
...
Problem: In diff mode the cursor may end up below the last line, resulting
in an ml_get error.
Solution: Check the line to be valid.
2016-10-18 14:50:18 +02:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
46328f9a1c
patch 7.4.2279
...
Problem: Starting diff mode with the cursor in the last line might end up
only showing one closed fold. (John Beckett)
Solution: Scroll the window to show the same relative cursor position.
2016-08-28 15:39:57 +02:00
Bram Moolenaar
e67d546f3c
patch 7.4.2275
...
Problem: ":diffoff!" does not remove filler lines.
Solution: Force a redraw and invalidate the cursor. (closes #1014 )
2016-08-27 22:40:42 +02:00
Bram Moolenaar
89eaa4185e
patch 7.4.2135
...
Problem: Various tiny issues.
Solution: Update comments, white space, etc.
2016-07-31 14:17:27 +02:00
Bram Moolenaar
2932359000
patch 7.4.2101
...
Problem: Looping over windows, buffers and tab pages is inconsistant.
Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
2016-07-24 22:04:11 +02:00
Bram Moolenaar
7c0a2f367f
patch 7.4.2024
...
Problem: More buf_valid() calls can be optimized.
Solution: Use bufref_valid() instead.
2016-07-10 22:11:16 +02:00
Bram Moolenaar
8767f52fbf
patch 7.4.1975
...
Problem: On MS-Windows large files (> 2Gbyte) cause problems.
Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct
stat". Use 64 bit system functions if available. (Ken Takata)
2016-07-01 17:17:39 +02:00
Bram Moolenaar
f1d2501ebe
patch 7.4.1476
...
Problem: Function arguments marked as unused while they are not.
Solution: Remove UNUSED. (Yegappan Lakshmanan)
2016-03-03 12:22:53 +01:00
Bram Moolenaar
48e330aff9
patch 7.4.1399
...
Problem: The MS-DOS code does not build.
Solution: Remove the old MS-DOS code.
2016-02-23 14:53:34 +01:00
Bram Moolenaar
7454a06e26
patch 7.4.1205
...
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
2016-01-30 15:14:10 +01:00
Bram Moolenaar
f28dbcea37
patch 7.4.1196
...
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2016-01-29 22:03:47 +01:00
Bram Moolenaar
f29a82dcd0
patch 7.4.974
...
Problem: When using :diffsplit the cursor jumps to the first line.
Solution: Put the cursor on the line related to where the cursor was before
the split.
2015-12-17 15:03:55 +01:00
Bram Moolenaar
9dd33af4ba
patch 7.4.810
...
Problem: With a sequence of commands using buffers in diff mode E749 is
given. (itchyny)
Solution: Skip unloaded buffer. (Hirohito Higashi)
2015-08-04 21:51:25 +02:00