| Commit message (Collapse) | Author | Age |
... | |
|\ \
| |/
|/| |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Edit test may fail on some systems.
Solution: If creating a directory with a very long path fails, bail out.
https://github.com/vim/vim/commit/15ecbd6f3d39ff04862999a577962ef9369a9e53
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle)
Solution: Reduce number of columns to 2000. Try to restore the window
position.
https://github.com/vim/vim/commit/ba6ec182973af726ce9b7b7eb3753fc3a7ae7d1b
|
| |
| |
| |
| |
| |
| | |
Problem: Test with long directory name fails on Mac.
Solution: Skip the test on Mac systems.
https://github.com/vim/vim/commit/c77d6757471fa207520586bbdbc1b30af84cf5c8
|
| |
| |
| |
| |
| |
| | |
Problem: Test with long directory name fails on non-unix systems.
Solution: Skip the test on non-unix systems.
https://github.com/vim/vim/commit/9b81079ddd839a666682f6bdbc24890bf4d1a42c
|
|/
|
|
|
|
|
| |
Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
Solution: Correctly compute where to truncate. Fix translation.
(closes vim/vim#1600)
https://github.com/vim/vim/commit/658a3a2caf5852d071b6b1be92d9d6614a6208dc
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Initialize "indent".
https://github.com/vim/vim/commit/97db5541a65e4614f8753af27996c204946061a9
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Using freed memory when resetting 'indentexpr' while evaluating
it. (Dominique Pelle)
Solution: Make a copy of 'indentexpr'.
https://github.com/vim/vim/commit/a701b3b6f0f06ac0c9fcc75c6c34a1258fc3b1a2
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when complete() is called after complete_add() in
'completefunc'. (Lifepillar)
Solution: Bail out if compl_pattern is NULL. (closes vim/vim#1668)
Also avoid using freed memory.
https://github.com/vim/vim/commit/4475b623960671898dac6a72b13a8d140402afa6
|
|\ \ \
| |_|/
|/| | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f
|
| | |
| | |
| | |
| | |
| | |
| | | |
Patch-by: oni-link <knil.ino@gmail.com>
ref: https://github.com/neovim/neovim/pull/6236#discussion_r195113807
|
|\ \ \
| | | |
| | | | |
Add fillchar for EndOfBuffer and check for invalid UTF-8
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This option allows configuring what character is shown on the empty
lines at the end of a buffer, previously hardcoded to ‘~’
|
|\ \ \ \
| |/ / /
|/| | | |
functionaltest: Use octal escapes for printf
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to POSIX[0], only octal escapes are supported by the printf
command. GNU coreutils' printf and some shells' builtin printf versions
which support hex escapes, but dash and non-GNU printf do not.
[0]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html
|
|\ \ \
| | | |
| | | | |
Represent Screen state as UTF-8
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Store text in ScreenLines as UTF-8, so it can be sent as-is to the UI
layer. `utfc_char2bytes(off,buf)` is removed, as `ScreenLines[off]` now
already contains this representation.
To recover the codepoints that the screen arrays previously contained, use
utfc_ptr2char (or utf_ptr2char to ignore composing chars).
NB: This commit does NOT change how screen.c processes incoming UTF-8 data
from buffers, cmdline, messages etc. Any algorithm that operates on UCS-4
(like arabic shaping, treatment of non-printable chars)
is left unchanged for now.
|
|/ / |
|
| |
| |
| |
| | |
(#8534)
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FEATURES:
3cc7ebf8107b #7234 built-in VimL expression parser
6a7c90464882 #4419 implement <Cmd> key to invoke command in any mode
b8363283faac #7679 'startup: treat stdin as text instead of commands'
58b210e1146f :digraphs : highlight with hl-SpecialKey #2690
7a13611ba203 #8276 'startup: Let `-s -` read from stdin'
1e71978cf032 events: VimSuspend, VimResume #8280
1e7d5e8cdf98 #6272 'stdpath()'
f96d99ad1118 #8247 server: introduce --listen
e8c39f72fdf1 #8226 insert-mode: interpret unmapped META as ESC
98e71123900f msg: do not scroll entire screen (#8088)
f72630b78429 #8055 let negative 'writedelay' show all redraws
5d2dd2ebe28c win: has("wsl") on Windows Subsystem for Linux #7330
a4f6cec7a31f cmdline: CmdlineEnter and CmdlineLeave autocommands (#7422)
207b7ca4bc16 #6844 channels: support buffered output and bytes sockets/stdio
API:
f85cbea725b4 #7917 API: buffer updates
418abfc9d069 #6743 API: list information about all channels/jobs.
36b2e3f743aa #8375 API: nvim_get_commands
273d2cd5d5cf #8329 API: Make nvim_set_option() update `:verbose set …`
8d40b3617c8b #8371 API: more reliable/descriptive VimL errors
ebb1acb3c083 #8353 API: nvim_call_dict_function
9f994bb69925 #8004 API: nvim_list_uis
34057045beca #7520 API/UI: forward option updates to UIs
911b1e49abb8 #7821 API: improve nvim_command_output
WINDOWS OS:
9cefd83cc7b9 #8084, #8516 build/win: support MSVC
ee4e1fd8ecf1 win: Fix reading content from stdin (#8267)
TUI:
ffb89049131a #8309 TUI: add support for mouse release events in urxvt
8d5a46e77b1e #8081 TUI: implement "standout" attribute
60716371e97d TUI: support TERM=konsole-256color
67848c0b916c #7653 TUI: report TUI info with -V3 ('verbose' >= 3)
3d0ee17c916e TUI/rxvt: enable focus-reporting
d109f5645bac #7640 TUI: 'term' option: reflect effective terminal behavior
FIXES:
ed6a113804a2 #8273 'job-control: avoid kill-timer race'
4e02f1ab871f #8107 'jobs: separate process-group'
451c48a09265 terminal: flush vterm output buffer on pty output #8486
5d6732ff094a :checkhealth fixes #8335
53f11dcfc713 #8218 'Fix errors reported by PVS'
d05712fbe7b5 inccommand: pause :terminal redraws (#8307)
51af911a271e inccommand: do not execute trailing commands #8256
84359a467f21 terminal: resize to the max dimensions (#8249)
d49c1dda8bf5 #8228 Make vim_fgets() return the same values as in Vim
60e96a45b4f4 screen: winhl=Normal:Background should not override syntax (#8093)
0c59ac1a2c7e #5908 'shada: Also save numbered marks'
ba87a2cde779 cscope: ignore EINTR while reading the prompt (#8079)
b1412dc412e1 #7971 ':terminal Enter/Leave should not increment jumplist'
3a5721e91ba8 TUI: libtermkey: force CSI driver for mouse input #7948
6ff13d78b7eb #7720 TUI: faster startup
1c6e95607958 #7862 TUI: fix resize-related segfaults
a58c9094db0e #7676 TUI: always hide cursor when flushing, never flush buffers during unibilium output
303e1df13f4f #7624 TUI: disable BCE almost always
249bdb07dd3a #7761 mark: Make sure that jumplist item will not have zero lnum
6f41ce026005 #7704 macOS: Set $LANG based on the system locale
a043899ba255 #7633 'Retry fgets on EINTR'
CHANGES:
ad60927d0925 #8304 default to 'nofsync'
f3f197059721 #8035 defaults: 'fillchars'
a6052c730741 #7984 defaults: sidescroll=1
b69fa866db5b #7888 defaults: enable cscopeverbose
7c4bb23ff38a defaults: do :filetype stuff unless explicitly "off"
2aa308c6852b #5658 'Apply :lmap in macros'
8ce63930484f terminal: Leave 'relativenumber' alone (#8360)
e46534b42302 #4486 refactor: Remove maxmem, maxmemtot options
131aad953c00 win: defaults: 'shellcmdflag', 'shellxquote' #7343
c57d31596370 #8031 jobwait(): return -2 on interrupt also with timeout
6452831cf985 clipboard: macOS: fallback to tmux if pbcopy is broken #7940
300d3651e295 #7919 Make 'langnoremap' apply directly after a map
ada1956206be #7880 'lua/executor: Remove lightuserdata'
INTERNAL:
de0a9548f7bf #7806 internal statistics for list impl
dee78a4095a2 #7708 rewrite internal list impl
|
|\ |
|
| | |
|
|/
|
|
| |
closes #8043
|
|
|
|
|
|
|
|
|
|
|
| |
doc: termios defaults. ref #6992
doc: :help shell-powershell
doc: provider: Python minimum version is 2.7, 3.4
doc: remove :!start special-case. #5844
doc: mention #7917 change which accepts empty Array for Dictionary parameter
doc: <Cmd> pseudokey
doc: lmap change #5658
doc: -s, -es
|
|
|
| |
closes #8515
|
|
|
|
|
| |
This behavior was changed (improved) by 5861dc596687 which actually
makes -E more faithful to Vim's behavior.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes 2 failing tests in startup_spec.lua.
The Windows-only `--literal` option complicates support of "stdin-as-text
+ file-args" (#7679). Could work around it, but it's not worth
the trouble:
- users have a reasonable (and englightening) alternative: nvim +"n *"
- "always literal" is more consistent/predictable
- avoids platform-specific special-case
Unrelated changes:
- Replace fileno(stdxx) with STDXX_FILENO for consistency (not motivated
by any observed technical reason).
|
| | |
|
| |
| |
| |
| |
| |
| | |
silent-mode (-es/-Es) has been broken for years. The workaround up to
now was to include --headless. But --headless is not equivalent because
it prints all messages, not the limited subset defined by silent-mode.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
silent-mode (AKA batch-mode, -es/-Es) by definition should not behave
like a UI.
There are still some places that check `full_screen` to decide behavior,
e.g. msg_start(). Future: maybe eliminate `full_screen`, check
`ui_active()` instead?
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Special-case for -E/-Es (as opposed to -e/-es).
-es/-Es is the only mode that really allows N/Vim to work as a batch
script engine. Adding a new flag (say `-x`) would involve a lot of
churn: -es/-Es is implemented by checking `exmode_active` in numerous
places.
This commit does not change -es because some scripts use it. But scripts
are unlikely to use -Es because it is not functionally different from
-es.
Also, both -es and -Es were broken in Nvim for years and no one
mentioned it...
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Treat stdin as text by default (so the "-" file is not needed):
echo foo | nvim
It works with file args (implemented in next commit), too:
echo foo | nvim file1.txt file2.txt
Why? Because:
- Execution of input is (1) almost always unintentional/confusing,
and (2) potentially destructive.
- Avoids the need for time-delayed warning. #7659
- The _common_ case is to open text in a buffer, not send commands.
Note:
- Not for Ex-mode (-es) because it is used by scripts. But maybe `-Es`?
- Not for --headless, because stdio may be a protocol stream and may be
used for any purpose by stdioopen().
To treat stdin as Normal-mode commands, use `-s -` instead:
echo ifoo | nvim -s -
Other alternatives:
- Replay a register. E.g. the following mostly works, except @q aborts
on any "beep" (e.g. if the cursor can't move).
nvim -c '%d q|norm @q' -
- Future: Let `:%source` work with unsaved buffer contents?
closes #2087
closes #7659
|
| |
| |
| |
| |
| |
| |
| |
| | |
This code was essentially dead because this condition:
(!parmp->err_isatty && (!parmp->output_isatty || !parmp->input_isatty))
is almost never true.
ref #7659
|
| | |
|
| | |
|