| Commit message (Collapse) | Author | Age |
... | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
'op' param is casted to char_u* within set_val_lval().
Most calls to set_val_lval() cast arg to 'op' from char to char_u.
Remove these pointless type casts.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
"name" param was cast to (const char *).
All calls to set_internal_string_var() cast from (char *) to (char_u *).
Remove these useless casts.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
"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: Padding in structures wastes memory.
Solution: Move fields to avoid padding. (Dominique Pelle, closes vim/vim#5202)
https://github.com/vim/vim/commit/d6beab0248cdb0b7073e97d98d65de7138cb3386
Skip "ml_line_len" member of "struct memline".
Patch v8.1.0579 was not ported.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Confusing error if :winsize has a wrong argument.
Solution: Quote the argument in the error. (closes vim/vim#2523)
https://github.com/vim/vim/commit/f5a5116a96b1877c3f44e7bae288fd6603151eb1
Cherry-pick Test_winsize_cmd() from patch v8.2.0243.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Before #12937, the only way to specify the `$TERM` for a pty job was
through the `TERM` key in the job's opts dict. This was shuttled to the
child process throug a special field on the PtyProcess object and
injected into the environment after forking.
Now that we have a proper way to specify the environment for a job, we
can simply ensure that the env dict has a proper `TERM` set and avoid
the extra shuttling of data around.
This deprecates the use of the `TERM` option, but will still honor it if
present, although at a lower priority than a `TERM` present in the env
dict.
This also fixes #13874 because we're no longer trying to overwrite
`TERM` in the env dict with the special pty `term_name`. Doing so
raises an internal error because of the existing key which, under
certain circumstances, would cause the "hit enter" prompt. However,
since the child process had already forked, there was no way for the
user to acknowledge the prompt and we would just hang there.
|
|\ \ \ \
| | | | |
| | | | | |
buffer.c: fix problem of memory allocation
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
terminal: add bracketed pasting feature
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change the default of tpf to the same value as the default of xterm's
disallowedPasteControls, because it may be a security risk.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change to specify a character to be filtered as an option when pasting on
the terminal.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Change to filter the following control characters in the same way as
xterm.
\x00-\x07, \x0b-\x0c, \x0e-\x1f
|
| | | | | | |
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Using freed memory if window closed in autocommand. (houyunsong)
Solution: Check the window still exists.
https://github.com/vim/vim/commit/8ab375706e6712308f8cf7529bcae56684a6f385
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Coverity warns for not checking for fseek() error.
Solution: Give an error message if fseek() fails.
https://github.com/vim/vim/commit/2c363a2e95ee0b366e72063d093d20e025ef4a66
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Coverity warns for :retab using freed memory.
Solution: Use the updated line pointer when moving text properties.
https://github.com/vim/vim/commit/0dcd39bad5e5aa70ba8f60cb3fbf0658585f0151
N/A patches for version.c:
vim-patch:8.2.2457: Coverity warns for memory leak
Problem: Coverity warns for memory leak.
Solution: Free memory when out of memory.
https://github.com/vim/vim/commit/4dba04256b8a49b201d685217d3d7abc4988f090
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: 'foldlevel' not applied to folds restored from session.
Solution: Set 'foldlevel' after creaiting the folds. (closes vim/vim#7767)
https://github.com/vim/vim/commit/f9547eb6ef02e305203b859d2dcfdae930b9d544
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
with GUI
Problem: Setting 'term' empty has different error if compiled with GUI.
Solution: Insert "else". (closes vim/vim#7766)
https://github.com/vim/vim/commit/5daa91162699e4f8b54f9d1caaaab2715038941c
N/A patches for version.c:
vim-patch:8.2.2437: deprecation warnings with default configuration
Problem: Deprecation warnings with default configuration.
Solution: Add -Wno-deprecated-declarations.
https://github.com/vim/vim/commit/4d8479b335e92a95b09fdee09309ea0df934cb9e
vim-patch:8.2.2439: not easy to figure out what packages to get
Problem: Not easy to figure out what packages to get when installing Vim on
a new Ubuntu system.
Solution: Mention explicit commands that are easy to follow.
https://github.com/vim/vim/commit/3d2bb8b6f152c0c5056f49bccb350683a9ba2e13
vim-patch:8.2.2442: automatic GUI selection does not check for GTK 3
Problem: Automatic GUI selection does not check for GTK 3.
Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to
YES when checking for GTK2.
https://github.com/vim/vim/commit/f272ae12ac064856b710046393d5bf9b1670076d
vim-patch:8.2.2448: compilation error with Ruby 3.0
Problem: Compilation error with Ruby 3.0.
Solution: Adjust #ifdefs and declaration. (Ken Takata, closes vim/vim#7761)
https://github.com/vim/vim/commit/9d20daffc296b9eb901fb14bdd83620ea55d440a
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
assert() is compiled out for release builds, but we don't want to
continue running in these impossible situations.
This also resolves the "implicit fallthrough" warnings for the asserts
in switch cases.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Binding _NSGetEnviron()'s return value to a local variable and then
re-binding that is incorrect. We need to directly update what
_NSGetEnviron() refers to.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
vim-patch:8.2.0239: MS-Windows: 'env' job option does not override existing vars
Problem: MS-Windows: 'env' job option does not override existing
environment variables. (Tim Pope)
Solution: Set the environment variables later. (Yasuhiro Matsumoto,
closes vim/vim#5485, closes vim/vim#5608)
https://github.com/vim/vim/commit/355757aed6ae2ae5446882570d89f243e4805937
Co-authored-by: erw7 <erw7.github@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's possible for the environment variable block given to nvim to
contain multiple definitions for the same env var. In this case, nvim
should preserve the last one defined.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When starting a pty job, there are certain env vars that we need to
either add or remove. Currently, there are two relevant scenarios.
* Removing irrelevant env vars on Unix, mostly related to the terminal
hosting nvim since they do not apply to a libvterm-hosted terminal.
* Adding required env vars for Windows jobs.
|
| | | |
| | | |
| | | |
| | | | |
Co-authored-by: erw7 <erw7.github@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Co-authored-by: Matthieu Coudron <mattator@gmail.com>
|
|/ / /
| | |
| | |
| | |
| | | |
Problem: :vimgrep expands wildcards twice.
Solution: Do not expand wildcards a second time.
https://github.com/vim/vim/commit/f8c6a1718007432812184c28495e8d27ee6c0395
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
vim-patch:8.2.2307: a shell command in the vimrc causes terminal output
vim-patch:8.2.2312: build failure with Ruby 3.0 and 32 bits
vim-patch:8.2.2326: build error with +eval feature but without +spell
vim-patch:8.2.2337: configure test for GTK only says "no"
vim-patch:8.2.2346: Codecov reports every little coverage drop
vim-patch:8.2.2347: build failure without GUI
vim-patch:8.2.2348: no check for modified files after focus gained
vim-patch:8.2.2352: if focus lost/gained is received twice code is not ignored
vim-patch:8.2.2358: wrong #ifdef for use_xterm_like_mouse()
vim-patch:8.2.2383: focus escape sequences are not named
vim-patch:8.2.2407: old jumplist code is never used
vim-patch:8.2.2408: MinGW: "--preprocessor" flag no longer supported
vim-patch:8.2.2431: warning for -fno-strength-reduce with Clang 11
vim-patch:8.2.2432: libvterm tests are executed even when libtool doesn't work
|
| | |
| | |
| | |
| | |
| | | |
Patch v8.1.1803 and related method patches are not ported yet.
Revert this commit when those patches are ported.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Compiler test fails on MS-Windows.
Solution: Sort the found compiler plugin names.
https://github.com/vim/vim/commit/142f23544c7045b22e56fa6ee35808aceb6342f2
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Compiler test depends on list of compiler plugins.
Solution: Compare with the actual list of compiler plugins.
https://github.com/vim/vim/commit/60bc8e7244080b7ead009cfabebc3401f272ddbe
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cursor on invalid line with range and :substitute.
Solution: Do not move the cursor when skipping commands. (closes vim/vim#3434)
https://github.com/vim/vim/commit/df2c2988bbaecd28b0fbec8d64327b1bbb005e19
Cherry-pick Test_for_invalid() from patch v8.1.0736.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Too many problems with using all autocommand events.
Solution: Disallow defining an autocommand for all events.
https://github.com/vim/vim/commit/9a046fd08bcae319d39a4dbde2be81decee19013
Delete Test_wipe_cbuffer().
Commit dc5f4a3cc2f7f02e1ff4ec2f67eda4fb73e7d89c should have removed it.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Color not changed if ModeMsg highlight is set in InsertEnter
autocmd event. (Paul Swanson)
Solution: Call highlight_changed() after triggering InsertEnter.
(closes vim/vim#7751)
https://github.com/vim/vim/commit/2e6cdb91e8dea08301f31bc83188c06112eb7f57
|
| |/
|/|
| |
| |
| |
| |
| | |
Problem: Not all fields in "cstack" are initialized which might cause a
crash.
Solution: Use CLEAR_FIELD().
https://github.com/vim/vim/commit/ce0370d9e67df80c62ff033aa8ca2dbe86841de9
|
|\ \
| | |
| | | |
doc: remove nvim_buf_get_extmark_by_id limit opt
|
| | |
| | |
| | |
| | | |
Passing any key but `details` in the opts results in an error.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some filetypes not detected.
Solution: Detect Ruby Signature and Puppet related files. (Doug Kearns)
https://github.com/vim/vim/commit/8323cab31c3120a7f80cf3271a506a30ec04d99e
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Fold test fails in wide terminal.
Solution: Adjust the test. (Dominique Pelle, closes vim/vim#7731, closes vim/vim#7739)
https://github.com/vim/vim/commit/7cf0c114d690c91ac88c92a1a6f1b1935cb6410f
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Fennel filetype not recognized.
Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes vim/vim#7729)
https://github.com/vim/vim/commit/402115f1c2b4d0704a822206f2e6e931e721c129
|
|\ \ \
| | | |
| | | | |
Auto sign column with minimum size support
|
| | | | |
|
| | | | |
|