Bram Moolenaar
ca79a5fc3b
patch 8.1.0581: double free without the text properties feature
...
Problem: Double free without the text properties feature.
Solution: Reset the dirty flag.
2018-12-13 23:16:36 +01:00
Bram Moolenaar
98aefe7c32
patch 8.1.0579: cannot attach properties to text
...
Problem: Cannot attach properties to text.
Solution: First part of adding text properties.
2018-12-13 22:20:09 +01:00
Bram Moolenaar
a9a8e04eab
patch 8.1.0501: cppcheck warns for using array index before bounds check
...
Problem: Cppcheck warns for using array index before bounds check.
Solution: Swap the conditions. (Dominique Pelle)
2018-10-30 22:15:55 +01:00
Bram Moolenaar
d6105cb408
patch 8.1.0473: user doesn't notice file does not exist when swap file does
...
Problem: User doesn't notice file does not exist when swap file does.
Solution: Add a note that the file cannot be found. Make the "still
running" notice stand out.
2018-10-13 19:06:27 +02:00
Bram Moolenaar
6a2633b00b
patch 8.1.0466: autocmd test fails
...
Problem: Autocmd test fails.
Solution: Do call inchar() when flushing typeahead.
2018-10-07 23:16:36 +02:00
Bram Moolenaar
798184cc67
patch 8.1.0463: "simalt ~x" in .vimrc blocks swap file prompt
...
Problem: "simalt ~x" in .vimrc blocks swap file prompt.
Solution: Flush buffers before prompting. (Yasuhiro Matsumoto,
closes #3518 , closes #2192 )
2018-10-07 20:48:39 +02:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
7c60505e10
patch 8.1.0325: strings in swap file may not be NUL terminated
...
Problem: Strings in swap file may not be NUL terminated. (Coverity)
Solution: Limit the length of the used string.
2018-08-23 23:01:27 +02:00
Bram Moolenaar
47ad5656e1
patch 8.1.0314: build failure without the +eval feature
...
Problem: Build failure without the +eval feature. (Brenton Horne)
Solution: Add #ifdef. Also add the "dirty" item.
2018-08-21 21:09:07 +02:00
Bram Moolenaar
00f123a565
patch 8.1.0313: information about a swap file is unavailable
...
Problem: Information about a swap file is unavailable.
Solution: Add swapinfo(). (Enzo Ferber)
2018-08-21 20:28:54 +02:00
Bram Moolenaar
2f0f871159
patch 8.1.0310: file info msg not always suppressed with 'F' in 'shortmess'
...
Problem: File info message not always suppressed with 'F' in 'shortmess'.
(Asheq Imran)
Solution: Save and restore msg_silent. (Christian Brabandt, closes #3221 )
2018-08-21 18:50:18 +02:00
Bram Moolenaar
c26f7c6053
patch 8.1.0303: line2byte() is wrong for last line with 'noeol'
...
Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'.
Solution: Fix off-by-one error. (Shane Harper, closes #3351 )
2018-08-20 22:53:04 +02:00
Bram Moolenaar
b782ba475a
patch 8.1.0251: using full path is not supported for 'backupdir'
...
Problem: Using a full path is supported for 'directory' but not for
'backupdir'. (Mikolaj Machowski)
Solution: Support 'backupdir' as well. (Christian Brabandt, closes #179 )
2018-08-07 21:39:28 +02:00
Bram Moolenaar
22c105640c
patch 8.1.0023: gcc 8.1 warns for use of strncpy()
...
Problem: gcc 8.1 warns for use of strncpy(). (John Marriott)
Solution: Use mch_memmove() instead of STRNCPY().
2018-05-26 17:35:27 +02:00
Bram Moolenaar
8c3169c58e
patch 8.0.1819: swap file warning for file with non-existing directory
...
Problem: Swap file warning for a file in a non-existing directory, if there
is another with the same file name. (Juergen Weigert)
Solution: When expanding the file name fails compare the file names.
2018-05-12 17:04:12 +02:00
Bram Moolenaar
6f4700233f
patch 8.0.1688: some macros are used without a semicolon
...
Problem: Some macros are used without a semicolon, causing auto-indent to be
wrong.
Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729 )
2018-04-10 18:47:20 +02: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
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
af903e5d49
patch 8.0.1363: recovering does not work when swap file ends in .stz
...
Problem: Recovering does not work when swap file ends in .stz.
Solution: Check for all possible swap file names. (Elfling, closes #2395 ,
closes #2396 )
2017-12-02 15:11:22 +01:00
Bram Moolenaar
4033c55eca
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
enabled and only adds 7% to the binary size of the tiny build.
Solution: Graduate FEAT_WINDOWS.
2017-09-16 20:54:51 +02:00
Bram Moolenaar
8820b48654
patch 8.0.0466: still macros that should be all-caps
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
2017-03-16 17:23:31 +01:00
Bram Moolenaar
91acfffc1e
patch 8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
2017-03-12 19:22:36 +01:00
Bram Moolenaar
b113c3a618
patch 8.0.0387: compiler warnings
...
Problem: compiler warnings
Solution: Add type casts. (Christian Brabandt)
2017-02-28 21:26:17 +01:00
Bram Moolenaar
95c526e1f6
patch 8.0.0365: might free a dict item that wasn't allocated
...
Problem: Might free a dict item that wasn't allocated.
Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for
b:changedtick.
2017-02-25 14:59:34 +01:00
Bram Moolenaar
c525e3a1c2
patch 8.0.0337: invalid memory access in :recover command
...
Problem: Invalid memory access in :recover command.
Solution: Avoid access before directory name. (Dominique Pelle,
closes #1488 )
2017-02-18 16:59:02 +01:00
Bram Moolenaar
79518e2ace
patch 8.0.0334: can't access b:changedtick from a dict reference
...
Problem: Can't access b:changedtick from a dict reference.
Solution: Make changedtick a member of the b: dict. (inspired by neovim
#6112 )
2017-02-17 16:31:35 +01:00
Bram Moolenaar
e13b9afe12
patch 8.0.0177: BufEnter autocommand not fired for a directory
...
Problem: When opening a buffer on a directory and inside a try/catch then
the BufEnter event is not triggered.
Solution: Return NOTDONE from readfile() for a directory and deal with the
three possible return values. (Justin M. Keyes, closes #1375 ,
closes #1353 )
2017-01-13 22:01:02 +01:00
Bram Moolenaar
95f096030e
patch 8.0.0074
...
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
2016-11-10 20:01:45 +01: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
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
a06ecab7a5
patch 7.4.2048
...
Problem: There is still code and help for unsupported systems.
Solution: Remove the code and text. (Hirohito Higashi)
2016-07-16 14:47:36 +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
bf2c0ee0b2
patch 7.4.1930
...
Problem: Can't build without +spell but with +quickfix. (Charles)
Solution: Add better #ifdef around ml_append_buf(). (closes #864 )
2016-06-13 20:23:53 +02:00
Bram Moolenaar
509ce2a558
patch 7.4.1537
...
Problem: Too many feature flags for pipes, jobs and channels.
Solution: Only use FEAT_JOB_CHANNEL.
2016-03-11 22:52:15 +01:00
Bram Moolenaar
99ef06296f
patch 7.4.1502
...
Problem: Writing last-but-one line of buffer to a channel isn't implemented
yet.
Solution: Implement it. Fix leaving a swap file behind.
2016-03-06 20:22:25 +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
fbc4b4db3a
patch 7.4.1276
...
Problem: Warning for not using return value of fcntl().
Solution: Explicitly ignore the return value.
2016-02-07 15:14:01 +01:00
Bram Moolenaar
d9ea9069f5
patch 7.4.1237
...
Problem: Can't translate message without adding a line break.
Solution: Join the two parts of the message.
2016-02-02 12:38:02 +01:00
Bram Moolenaar
52ea13da0f
patch 7.4.1210
...
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
2016-01-30 18:51:09 +01:00
Bram Moolenaar
92b8b2d307
patch 7.4.1198
...
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Also remove use of HAVE_STDARG_H.
2016-01-29 22:36:45 +01:00
Bram Moolenaar
53076830fe
patch 7.4.1009
...
Problem: There are still #ifdefs for ARCHIE.
Solution: Remove references to ARCHIE, the code was removed in Vim 5.
2015-12-31 19:53:21 +01:00
Bram Moolenaar
e7fedb6ebe
patch 7.4.1008
...
Problem: The OS/2 code pollutes the source while nobody uses it these days.
Solution: Drop the support for OS/2.
2015-12-31 19:07:19 +01:00
Bram Moolenaar
fbd302ff38
patch 7.4.812
...
Problem: Gcc sanitizer complains about using a NULL pointer to memmove().
Solution: Only call memmove when there is something to move. (Vittorio
Zecca)
2015-08-08 18:23:46 +02:00
Bram Moolenaar
34d72d4b6c
patch 7.4.785
...
Problem: On some systems automatically adding the missing EOL causes
problems. Setting 'binary' has too many side effects.
Solution: Add the 'fixeol' option, default on. (Pavel Samarkin)
2015-07-17 14:18:08 +02:00
Bram Moolenaar
fe6f186877
patch 7.4.781
...
Problem: line2byte() returns one less when 'bin' and 'noeol' are set.
Solution: Only adjust the size for the last line. (Rob Wu)
2015-07-12 17:52:57 +02:00
Bram Moolenaar
bc56336bb4
patch 7.4.730
...
Problem: When setting the crypt key and using a swap file, text may be
encrypted twice or unencrypted text remains in the swap file.
(Issue 369)
Solution: Call ml_preserve() before re-encrypting. Set correct index for
next pointer block.
2015-06-09 18:35:25 +02:00
Bram Moolenaar
e5c421cfd7
updated for version 7.4.684
...
Problem: When starting several Vim instances in diff mode, the temp files
used may not be unique. (Issue 353)
Solution: Add an argument to vim_tempname() to keep the file.
2015-03-31 13:33:08 +02:00
Bram Moolenaar
9abd5c6507
updated for version 7.4.624
...
Problem: May leak memory or crash when vim_realloc() returns NULL.
Solution: Handle a NULL value properly. (Mike Williams)
2015-02-10 18:34:01 +01:00
Bram Moolenaar
2be795084f
updated for version 7.4.403
...
Problem: Valgrind reports errors when running test 72. (Dominique Pelle)
Solution: Reset the local 'cryptmethod' option before storing the seed.
Set the seed in the memfile even when there is no block0 yet.
2014-08-13 21:58:28 +02:00
Bram Moolenaar
8f4ac01544
updated for version 7.4.399
...
Problem: Encryption implementation is messy. Blowfish encryption has a
weakness.
Solution: Refactor the encryption, store the state in an allocated struct
instead of using a save/restore mechanism. Introduce the
"blowfish2" method, which does not have the weakness and encrypts
the whole undo file. (largely by David Leadbeater)
2014-08-10 13:38:34 +02:00