| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
|
| |
"name" param was cast to (const char *).
All calls to set_string_option_direct() cast 1st arg
from (char *) to (char_u *).
Remove these useless casts.
|
|
|
|
|
|
| |
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
https://github.com/vim/vim/commit/2c519cf3bfe76083767ac94c674d2e161ed36587
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: When "--remote file" is used "file" is not reloaded.
Solution: When a :drop command is used for a file that is already displayed
in a window and it has not been changed, check if it needs to be
reloaded. (closes vim/vim#7560)
https://github.com/vim/vim/commit/e4862a0fe62261754daf476866ef2aa8586b716c
Remove unused "focus" parameter from "buf_check_timestamp()".
It was meant for removed GUI code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Many type casts are used for vim_strnsave().
Solution: Make the length argument size_t instead of int. (Ken Takata,
closes vim/vim#5633) Remove some type casts.
https://github.com/vim/vim/commit/df44a27b53586fccfc6a3aedc89061fdd9a515ff
N/A patches for version.c:
vim-patch:8.2.0315: build failure on HP-UX system
Problem: Build failure on HP-UX system.
Solution: Use LONG_LONG_MIN instead of LLONG_MIN. Add type casts for switch
statement. (John Marriott)
https://github.com/vim/vim/commit/c593bec4120f122e8a9129ec461968f1bd214435
vim-patch:8.2.1052: build failure with older compilers
Problem: Build failure with older compilers.
Solution: Move declaration to start of block.
https://github.com/vim/vim/commit/7acde51832f383f9a6d2e740cd0420b433ea841a
vim-patch:8.2.2229: build failure without the +eval feature
Problem: build failure without the +eval feature.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/39cb2dab18e85fc60f116a4543e433616872b690
vim-patch:8.2.2232: compiler error for falling through into next case
Problem: Compiler error for falling through into next case.
Solution: Move FALLTHROUGH below the #endif
https://github.com/vim/vim/commit/9618a25b9c054f0ee4e267d2db96b6e7c113ed7a
|
|\
| |
| | |
de curwinify some functions
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
Problem: Pointer ownership around fname_expand() is unclear.
Solution: Allow b_ffname and b_sfname to point to the same allocated memory,
only free one. Update comments.
https://github.com/vim/vim/commit/3d6014f0336d9a64c01a7518fe45fde0a925fa20
|
| |
|
| |
|
|
|
|
|
| |
"enc_utf8" macro evaluates to "true".
Continue dead code removal, started in https://github.com/neovim/neovim/pull/13275.
|
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 1.
https://github.com/vim/vim/commit/135059724f140ceac889c9f8136bd1bf5c41d49d
|
|
|
|
|
| |
Problem: File type checking has too many #ifdef.
Solution: Always define the S_IF macros. (Ken Takata, closes vim/vim#3306)
https://github.com/vim/vim/commit/d569bb029983cff947dce704e6f830276204c13f
|
|
|
|
|
|
| |
Problem: Symlink not followed if dirname ends in //.
Solution: Resolve symlink earlier. (Tomáš Janoušek, closes vim/vim#6454)
https://github.com/vim/vim/commit/5966ea105ea86e52a734e04267956e11efffc92d
|
|
|
|
|
|
| |
The porting of vim/vim@c8fe645 by #13040 on Windows was incomplete.
This fixes that and makes the "is a directory" warning appear properly
on Windows as well.
|
|
|
|
|
|
|
| |
Problem: Not consistently giving the "is a directory" warning.
Solution: Adjust check for illegal file name and directory. (Yasuhiro
Matsumoto, closes vim/vim#7067)
https://github.com/vim/vim/commit/c8fe645c198e2ca55c4e3446efbbdb9b995c63ce
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: A very long translation might cause a buffer overflow.
Solution: Trunctate the message if needed.
https://github.com/vim/vim/commit/6378b21d6dd38cc0f80aa6d31d747db6c287483b
N/A patches for version.c:
vim-patch:8.1.0524: terminal test fails on Windows
Problem: Terminal test fails on Windows.
Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now.
https://github.com/vim/vim/commit/c2c02574ec76f8d44b948cede9cca38ac91622de
vim-patch:8.1.1613: popup window test fails with Athena and Motif
Problem: Popup window test fails with Athena and Motif.
Solution: Compute the highlight attribut when the GUI is not active.
https://github.com/vim/vim/commit/a83e70000f106a1e1e0f86e8e362ec94c0df074c
vim-patch:8.2.1713: Motif GUI: crash when setting menu colors
Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
Solution: Add {} to make "n" incremented correctly. (closes vim/vim#6989,
closes vim/vim#5948)
https://github.com/vim/vim/commit/7795bfea6d30c85f2c05d986a0cfe4019df4d74d
vim-patch:8.2.1715: Motif GUI: commented out code missed {}
Problem: Motif GUI: commented out code missed {}.
Solution: Add {} and reenable the code. (similar to vim/vim#6989)
https://github.com/vim/vim/commit/26cd3063b2e2084cfd17989e7584c64f278aaaef
vim-patch:8.2.1717
Problem: MS-Windows installer doesn't have Russian translations.
Solution: Add Russian translations. (closes vim/vim#6985)
https://github.com/vim/vim/commit/809fcecddce59ccb59384d63f5e0505c89f69209
vim-patch:8.2.1721: MS-Windows installer doesn't work
Problem: MS-Windows installer doesn't work.
Solution: Write "Russian" in ASCII. (closes vim/vim#6995, see #).
https://github.com/vim/vim/commit/7f9c9c51a3680f120e1c3f2bb7239c9fa115b27f
vim-patch:8.2.1735: Github actions appear to timeout too soon
Problem: Github actions appear to timeout too soon.
Solution: use "timeout" instead of "ping".
https://github.com/vim/vim/commit/851d108313317a062371a6750e6c6bf370a9bafa
vim-patch:8.2.1738: Mac: str2float() recognizes comma instead of decimal point
Problem: Mac: str2float() recognizes comma instead of decimal point.
Solution: Set LC_NUMERIC to "C". (closes vim/vim#7003)
https://github.com/vim/vim/commit/509f8031b2b347c033327ef33f3e5573a0595dbc
vim-patch:8.2.1745: tiny version doesn't build
Problem: Tiny version doesn't build.
Solution: Add dummy ex_var() function.
https://github.com/vim/vim/commit/d47f50b3312af2b8baf37505b7a589daf3f7d942
|
|
|
|
|
|
| |
This implements byte-resolution updates of buffer changes.
Note: there is no promise that the buffer state is valid inside
the callback!
|
|
|
|
|
|
| |
Problem: Cannot build with older C compiler.
Solution: Move variable declaration to start of block.
https://github.com/vim/vim/commit/8f4aeb5572d604d1540ee0cb7e721b5f0cc6d612
|
|
|
|
|
|
|
| |
Problem: Reading very long lines can be slow.
Solution: Read up to 1 Mbyte at a time to avoid a lot of copying. Add a
check for going over the column limit.
https://github.com/vim/vim/commit/13d3b05ed2cf9a54b18b4e8236f0af2c5386200c
|
|
|
|
|
|
|
| |
Problem: 'shortmess' flag "n" not used in two places.
Solution: Make use of the "n" flag consistent. (Nick Jensen, closes vim/vim#6245,
closes vim/vim#6244)
https://github.com/vim/vim/commit/722e505d1a55dfde5ab62241d10da91d2e10c3c1
|
|
|
|
|
|
| |
Problem: Memory not freed on exit when quit in autocmd.
Solution: Remember funccal stack when executing autocmd.
https://github.com/vim/vim/commit/27e80c885bcb5c5cf6a6462d71d6c81b06ba2451
|
|\
| |
| |
| | |
vim-patch:7.4.2058
|
| |
| |
| |
| | |
Lets stick with vim for now
|
| | |
|
| |
| |
| |
| | |
(found for example on openSUSE/Leap 15.*)
|
| |
| |
| |
| |
| |
| | |
Problem: Cannot use :write when using a plugin with BufWriteCmd.
Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes vim/vim#5807)
https://github.com/vim/vim/commit/0fff44152d06e6b662ad4bef172af07a041d2f3f
|
|/
|
|
|
|
| |
Problem: The terminal API "drop" command doesn't support options.
Solution: Implement the options.
https://github.com/vim/vim/commit/333b80acf3a44e462456e6d5730e47ffa449c83d
|
| |
|
| |
|
|
|
| |
Band-aid workaround to file collision when using `tempname` for temporary batchfiles.
|
|
|
|
|
| |
Problem: Quickfix code uses too many /* */ comments.
Solution: Change to // comments. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/00bf8cd2115be7c14258aee48c0a7568147c9cd7
|
|
|
|
|
|
|
| |
Problem: Using a full path is supported for 'directory' but not for
'backupdir'. (Mikolaj Machowski)
Solution: Support 'backupdir' as well. (Christian Brabandt, closes vim/vim#179)
https://github.com/vim/vim/commit/b782ba475a3f8f2b0be99dda164ba4545347f60f
|
|
|
|
|
|
| |
Problem: In :let-heredoc line continuation is recognized.
Solution: Do not consume line continuation. (Ozaki Kiichi, closes vim/vim#4580)
https://github.com/vim/vim/commit/e96a2498f9a2d3e93ac07431f6d4afd77f30afdf
|
|
|
|
|
|
| |
Problem: Directly checking 'buftype' value.
Solution: Add the bt_normal() function. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/91335e5a67aaa9937e65f1e779b9f3f10fd33ee4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes vim/vim#3362) Also display the line number with ":verbose set".
https://github.com/vim/vim/commit/f29c1c6aa3f365c025890fab5fb9efbe88eb1761
|
|/
|
|
|
|
|
|
|
| |
changed
Problem: ":write" increments b:changedtick even though nothing changed.
(Daniel Hahler)
Solution: Only increment b:changedtick if the modified flag is reset.
https://github.com/vim/vim/commit/c024b4667875e5bc6fd0ed791530e33c3161bff7
|
|
|
|
|
| |
Problem: Might be freeing memory that was not allocated.
Solution: Have next_fenc() set the fenc_alloced flag. (closes vim/vim#4804)
https://github.com/vim/vim/commit/f077db24230d10ef9a66ae14da34b639464d8fa2
|
|\
| |
| | |
vim-patch:8.1.1318: code for text changes is in a "misc" file
|
| | |
|
|\ \
| |/
|/|
| | |
closes #3457
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Patch 8.1.1379 includes a change to a test, added in Patch 8.1.0815.
Patch 8.1.0815 includes runtime doc changes to Blob.
Neovim does not support Blobs yet.
|
|
|
|
|
|
| |
Problem: Check for file changed triggers too often.
Solution: Don't use "b_p_ar" when it is negative.
https://github.com/vim/vim/commit/c97582b0296cb6f63f3c2e5a0eb954f5920a8e42
|
| |
|
|
|
|
|
|
|
| |
Problem: Warning for file no longer available is repeated every time Vim is
focused. (Brian Armstrong)
Solution: Only give the message once. (closes vim/vim#4748)
https://github.com/vim/vim/commit/674e2bde6e7b0c468f304713aa8f97a45e1fcc89
|
|
|
| |
* shorten_buf_name: condition inside outer if-branch with inverse condition
|