| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
`has_mbyte` is deprecated (globals.h), so `outputlen` is always assigned
within the if statement. Therefore, the previous initialization is
unnecessary.
|
|
|
|
|
| |
`enc_dbcs` and `enc_utf8` are deprecated (globals.h), so the second branch is
always taken.
|
| |
|
|
|
|
|
|
| |
As stated in globals.h, mbyte flags are deprecated, and code using it can be
refractored to remove dead code. Since has_mbyte is defined to true, this
refractoring correct.
|
|
|
|
|
|
|
|
|
|
| |
`[RO]` is appended to the status line and `len` is increased with the length of
this string (4). However, the string is marked for translation and may
thus well be larger (or smaller) than 4. Therefore, we check the length at
runtime. The resulting len is never actually used, and thus could be removed.
However, by keeping this line, the body of this if-statement is kept consistent
with surrounding code, and future changes can not forget to add this line when
additional strings are added to p.
|
|
|
|
| |
This fully resolves #6141.
|
|
|
|
| |
Closes #6141
|
|
|
|
| |
See https://github.com/neovim/neovim/commit/aa56b24ee6553b4417f2c2defdde5be302a868cd#commitcomment-20949000
|
|\
| |
| | |
cmdline: CTRL-R: Omit trailing ^M character
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The "technically correct" interpretation is to execute the first line
that is seen (and this is what happens on middle-click paste in Vim).
^M is only intended to "defuse" the newline, so the user can review it.
The parent commit changed the behavior to insert <Space> between lines,
but that's a higher-risk change: it is arguably possible that some user
*wants* the literal ^M chars when e.g. assigning to a register:
:let @a='<C-R>b'
To avoid that risk, keep the old behavior and only omit the last ^M.
This makes `yy:<C-R>0` nicer at no cost.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
^M isn't any more "correct" than space: the "technically correct"
interpretation is to execute the first line that is seen (and this is
what happens on middle-click paste in Vim). ^M is only intended to
defuse the newline, so that the user can review the command. We can do
that with a space instead, and then the command can be executed without
having to fix it up first.
|
| |
| |
| |
| |
| | |
Return 1 for UNIX with a functioning clipboard provider.
Closes #6103
|
|/
|
| |
This was never supported and it does not make sense for Nvim.
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Allows eval/typval.h to #include message.h.
|
| |
| |
| |
| |
| |
| | |
Closes #1887
Helped-by: Tommy Allen <tommy@esdf.io>
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Main points:
- Replace `char_u` with `char` in some cases.
- Remove `str[len] = NUL` hack in some cases when `str` may be considered
`const`.
|
|\ \ \
| | | |
| | | | |
Windows: ship with common tools
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These are just blobs that we jammed into the package. find_program() and
WindowsDllCopy.cmake do not make sense here, they search include paths
and try to determine DLL dependencies (GetPrerequisites).
|
| | | |
| | | |
| | | |
| | | | |
Closes #6126
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
References #1507
Closes #1811
curl.exe curl_7_52_1_openssl_nghttp2_x86.7z from https://winampplugins.co.uk/curl/
curl 7.52.1 (x86_64-pc-win32) libcurl/7.52.1 OpenSSL/1.0.2k zlib/1.2.8 nghttp2/1.19.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM SSL libz HTTP2 HTTPS-proxy
tidy.exe http://tidybatchfiles.info
HTML Tidy for Windows
tidy version 5.3.14 date 2017.01.09 compiled for Windows win32 x86.
7za.exe http://www.7-zip.org
7-Zip 16.04 (2016-10-04)
cat.exe http://unxutils.sourceforge.net
from gVim:
diff.exe GNU diffutils version 2.7
xxd.exe V1.10 27oct98 by Juergen Weigert (Win32)
ye olde hacked-up tee.exe
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Winpty has x86/x64 binary builds, download them when building
Neovim.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The 64bit check for the libuv recipe worked for the VS generator
but not for NMake.
|
|/ / / |
|
| | |
| | |
| | | |
Closes #6025
|
| | |
| | |
| | |
| | |
| | |
| | | |
This makes :edit consistent on all platforms.
Also affects :argedit, et al. Wild (tab) completion doesn't work, though.
Closes #6010
|
|/ / |
|
|\ \
| | |
| | | |
Better core dumps checking
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Do not exclude any directories from `find` search, remove dumps before tests
instead.
- Install `apport` on travis so that linux tests should produce core dumps
(based on information from travis-ci/travis-ci#3754, not sure whether it still
applies).
- Check cores in lua so that one has an idea which test is failing exactly. Do
this only 10% of time on linux because traversing the file system is slow.
Unit tests are still not touched, though it is what `app` argument in
`check_cores` is for.
TODO? consider using `find`, it may be faster. Consider retiring `os.execute`,
dealing with escaping is bad.
|
| | |
| | |
| | |
| | |
| | | |
Note: can’t use `dbg_cmd` string because I need arguments with spaces (i.e. `bt
all` and `thread apply all bt full`).
|
| |/ |
|
|\ \
| | |
| | | |
scripts/vim-patch.sh: don't ignore runtime/doc/tagsrch.txt
|
| | | |
|
| | |
| | |
| | |
| | | |
Even though all used compilers can swallow this code, it is still
undefined behaviour.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The exists('g:loaded_foo') convention is rather common, and may be
relied upon in some cases. It's also very unlikely that a user or plugin
has any reason to set g:loaded_foo to zero, so the principle of least
surprise can be brushed aside here.
https://github.com/neovim/neovim/issues/6107#issuecomment-279532143
|
| |/
|/|
| |
| | |
Closes #6107
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We must invoke src/nvim/testdir/Makefile directly.
Explained in 3d1084f264ed08ed75d038510e2e53359d8544eb:
> Running tests from the top-level Makefile will use the third-party
> dependencies from .deps instead of the ones from the Travis cache.
If we could run `oldtest` with CMake, we would not need to do this. Need
USES_TERMINAL feature (CMake 3.2+) for that.
|
|\ \
| | |
| | | |
health.vim: Reduce visual noise.
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
- SUCCESS should be extra green, regardless of colorscheme.
- Do not highlight INFO and SUGGESTIONS, they should not demand the
user's attention.
|
| |
| |
| | |
coverity claims that `valid_tabpage(NULL)` can return true...
|
|\ \
| | |
| | | |
coverity/155968: resource leak
|