aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* build/msvc: Workaround for compiler optimization bugb-r-o-c-k2018-03-04
|
* build/msvc: Fix errors caused by compiler intrinsicsb-r-o-c-k2018-03-04
|
* build/msvc: Make shell-test workb-r-o-c-k2018-03-04
| | | | | MSVC doesn't have unistd.h or usleep() so it was replaced with the Sleep() WinAPI function.
* build/msvc: Add missing WIN32 macrob-r-o-c-k2018-03-04
| | | | MSVC predefines `_WIN32`, but not `WIN32`. Also, some unnecessary includes have been removed.
* build/msvc: Remove pkgconfig dependency on Windowsb-r-o-c-k2018-03-04
|
* Merge branch 'master' into msvc-compatb-r-o-c-k2018-03-01
|\
| * third-party: build all deps with debugging symbols (#8042)Marco Hinz2018-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with CMAKE_BUILD_TYPE=Debug, the dependencies are built like this: | Dep | Defaults | Debug | |------------|-----------|---------------------------------------------| | unibilium | `-O2` | `make CFLAGS=-O0 DEBUG=1` | | msgpack | `-g -O3` | `cmake . -DCMAKE_C_FLAGS_DEBUG="-O0 -ggdb"` | | libuv | `-g -O2` | `./configure CFLAGS="-O0 -ggdb"` | | luv | `-g -O2` | `cmake . -DCMAKE_C_FLAGS_DEBUG="-O0 -ggdb"` | | libvterm | not set | `make CFLAGS=-O0 DEBUG=1` | | libtermkey | not set | `make CFLAGS=-O0 DEBUG=1` | | jemalloc | `-g3 -O3` | `./configure CFLAGS="-O0 -ggdb"` | | gperf | `-g -O2` | `./configure CXXFLAGS="-O0 -ggdb"` | | luajit | `-g -O2` | haven't checked yet | This means that only unibilium, libtermkey, and libvterm don't build with debugging symbols by default. Build them with debugging symbols and optimisations that don't hinder debugging: -Og -g
| * cscope: ignore EINTR while reading the prompt (#8079)Marco Hinz2018-02-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following code.. au VimEnter,DirChanged * if filereadable('.git/cscope.out') | \ exe 'cs add .git/cscope.out' | endif ..would lead to this issue: Error detected while processing VimEnter Auto commands for "*": cs_read_prompt EOF: Interrupted system call Error detected while processing VimEnter Auto commands for "*": E262: error reading cscope connection 0 A signal, in this case SIGCHLD, during a system call leads to errno being set to EINTR. Ignore it. This is merely a workaround for the time being. We don't block SIGCHLD signals, since they're needed by libuv. The proper fix would be to rewrite if_cscope.c to use libuv for handling processes.
* | build/msvc: Make libtermkey depend on Unibiliumb-r-o-c-k2018-03-01
| |
* | build/msvc: Add patch for LuaRocksb-r-o-c-k2018-03-01
| | | | | | | | LuaRocks bundles an outdated wget.exe for downloading packages on Windows. It is too old to support GitHub's TLS, so this patch will replace it with curl.
* | build/msvc: Add patch for libvtermb-r-o-c-k2018-03-01
| | | | | | | | The patch removes VLAs because MSVC does not support them.
* | build/msvc: Add CMakeLists.txt and header for Unibiliumb-r-o-c-k2018-03-01
| | | | | | | | | | A header was added for compatibility with MSVC and CMakeLists.txt was added for building with CMake.
* | build/msvc: Use patched libvterm for MSVCb-r-o-c-k2018-02-28
| |
* | build/msvc: Add MSVC compiler flag when building LuaRocksb-r-o-c-k2018-02-28
| |
* | build/msvc: Remove unnecessary copy command for msgpack DLLb-r-o-c-k2018-02-28
| |
* | build/msvc: Fix linking for luajit and luvb-r-o-c-k2018-02-28
| |
* | build/msvc: Allow building Unibilium on Windowsb-r-o-c-k2018-02-28
| |
* | build/msvc: Remove unnecessary header includeb-r-o-c-k2018-02-28
| |
* | build/msvc: Fix standard IO file number definitionsb-r-o-c-k2018-02-28
| | | | | | | | With MSVC, STDOUT_FILENO and STDERR_FILENO are defined as function calls instead of constants, meaning they can't be assigned to enum values. The enum was only used in one file, so it has been removed. A definition for STDIN_FILENO has been added that is consistent with the other two definitions.
* | build/msvc: Fix missing restrict keywordb-r-o-c-k2018-02-28
| | | | | | | | MSVC has the __restrict keyword and a marco is defined for it in `win_defs.h`.
* | build/msvc: Move include into unix_defs.hb-r-o-c-k2018-02-28
| |
* | build/msvc: Fix name of import libraryb-r-o-c-k2018-02-28
| |
* | build/msvc: Add mode_t typedef to win_defs.hb-r-o-c-k2018-02-28
| |
* | build/msvc: Fix preprocessor parsingb-r-o-c-k2018-02-28
|/ | | | Preprocessor directives on the first line of the file were not being parsed.
* Merge pull request #8069 from jamessan/use-luacheck-releaseJames McCoy2018-02-26
|\ | | | | third-party: Use luacheck releases (0.21.2 for now) instead of master
| * third-party: Explicitly version pin all luarocks modulesJames McCoy2018-02-26
| |
| * third-party: Install all luarocks by name instead of URLJames McCoy2018-02-25
| |
| * third-party: Use luacheck releases (0.21.2 for now) instead of masterJames McCoy2018-02-25
| | | | | | | | | | | | Tracking master subjects us to breakages (as happened when luacheck-scm-1.rockspec got renamed to luacheck-dev-1.rockspec) and makes older releases unbuildable when that happens.
* | shada: fix typo (#8066)Daniel Hahler2018-02-25
|/
* unittest: Ignore all _Float-prefixed types (#8067)James McCoy2018-02-25
| | | | Previously, we ignored only _Float128. But glibc 2.27 added _Float32 and _Float32x. Rather than play whack-a-mole, ignore everything.
* Merge pull request #8055 from bfredl/strictwritedelayBjörn Linse2018-02-24
|\ | | | | make 'writedelay' show all redraws when negative
| * screen.c: make negative 'writedelay' show all redrawsBjörn Linse2018-02-24
|/ | | | | | | | | | | | | | | | | | | | Currently writedelay shows the sequence of characters that are sent to the UI/TUI module. Here nvim has already applied an optimization: when attempting to put a char in a screen cell, if the same char already was there with the same attributes, UI output is disabled. When debugging redrawing it it sometimes more useful to inspect the redraw stream one step earlier, what region of the screen nvim actually is recomputing from buffer contents (win_line) and from evaluating statusline expressions. Take the popupmenu as an example. When closing the popupmenu (in the TUI), currently 'writedelay' looks like vim only is redrawing the region which the pum covered. This is not what happens internally: vim redraws the entire screen, even if only outputs the changed region. This commit allows negative values of 'writedelay', which causes a delay for all redrawn characters, even if the character already was displayed by the UI before.
* Merge #8035 from justinmk/teto-fillchars-prJustin M. Keyes2018-02-23
|\
| * 'fillchars': fix defaults logic; handle ambiwidth=double #7986Matthieu Coudron2018-02-23
| | | | | | | | Update tests.
| * defaults: 'fillchars'Justin M. Keyes2018-02-23
|/ | | | | | | | | | | Most fonts should have these by now. Both are a significant visual improvement. - Vertical connecting bar `│` is used by tmux, pstree, Windows 7 cmd.exe and nvim-qt.exe. - Middle dot `·` works on Windows 7 cmd.exe, nvim-qt.exe. For reference: tmux uses these chars to draw lines: │ ├ ─
* Merge pull request #8050 from bfredl/stopbridgeBjörn Linse2018-02-22
|\ | | | | ui_bridge: make sure TUI receives no more messages after "stop" message
| * ui_bridge: make sure TUI receives no more UI events after "stop" eventBjörn Linse2018-02-22
| |
* | Merge #8044 'build: improve Lua module checks'Justin M. Keyes2018-02-22
|\ \ | |/ |/|
| * cmake/LuaHelpers.cmake: check_lua_module: use 'lua -l'Daniel Hahler2018-02-22
| | | | | | | | | | | | It only shortens the traceback a bit for when a module is not found though, only removing the "(command line):1: in main chunk" (with lua5.2).
| * cmake/LuaHelpers.cmake: check_lua_module: display errorsDaniel Hahler2018-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps to figure out what the problem is, e.g. in my case I have lua51-mpack installed to be used with luajit, but it is broken (missing libmpack). With this patch you get: -- Checking Lua interpreter /usr/bin/luajit /usr/bin/luajit: error loading module 'mpack' from file '/usr/lib/lua/5.1/mpack.so': libmpack.so.0: cannot open shared object file: No such file or directory stack traceback: [C]: at 0x55fcf0166fb0 [C]: in function 'require' (command line):1: in main chunk [C]: at 0x55fcf01188a0 -- [/usr/bin/luajit] The 'mpack' lua package is required for building Neovim -- Checking Lua interpreter /usr/bin/lua5.1 /usr/bin/lua5.1: error loading module 'mpack' from file '/usr/lib/lua/5.1/mpack.so': libmpack.so.0: cannot open shared object file: No such file or directory stack traceback: [C]: ? [C]: in function 'require' (command line):1: in main chunk [C]: ? -- [/usr/bin/lua5.1] The 'mpack' lua package is required for building Neovim -- Checking Lua interpreter /usr/bin/lua5.2 /usr/bin/lua5.2: (command line):1: module 'mpack' not found: no field package.preload['mpack'] no file '/usr/share/lua/5.2/mpack.lua' no file '/usr/share/lua/5.2/mpack/init.lua' no file '/usr/lib/lua/5.2/mpack.lua' no file '/usr/lib/lua/5.2/mpack/init.lua' no file './mpack.lua' no file '/usr/lib/lua/5.2/mpack.so' no file '/usr/lib/lua/5.2/loadall.so' no file './mpack.so' stack traceback: [C]: in function 'require' (command line):1: in main chunk [C]: in ? -- [/usr/bin/lua5.2] The 'mpack' lua package is required for building Neovim -- Checking Lua interpreter /usr/bin/lua /usr/bin/lua: (command line):1: module 'mpack' not found: no field package.preload['mpack'] no file '/usr/share/lua/5.3/mpack.lua' no file '/usr/share/lua/5.3/mpack/init.lua' no file '/usr/lib/lua/5.3/mpack.lua' no file '/usr/lib/lua/5.3/mpack/init.lua' no file './mpack.lua' no file './mpack/init.lua' no file '/usr/lib/lua/5.3/mpack.so' no file '/usr/lib/lua/5.3/loadall.so' no file './mpack.so' stack traceback: [C]: in function 'require' (command line):1: in main chunk [C]: in ? -- [/usr/bin/lua] The 'mpack' lua package is required for building Neovim CMake Error at CMakeLists.txt:459 (message): A suitable Lua interpreter was not found. While this makes it more verbose for the expected error case ("module 'mpack' not found"), the behavior before this patch hides too much. This is the old output: -- Checking Lua interpreter /usr/bin/luajit -- [/usr/bin/luajit] The 'mpack' lua package is required for building Neovim -- Checking Lua interpreter /usr/bin/lua5.1 -- [/usr/bin/lua5.1] The 'mpack' lua package is required for building Neovim -- Checking Lua interpreter /usr/bin/lua5.2 -- [/usr/bin/lua5.2] The 'mpack' lua package is required for building Neovim -- Checking Lua interpreter /usr/bin/lua -- [/usr/bin/lua] The 'mpack' lua package is required for building Neovim CMake Error at CMakeLists.txt:459 (message): A suitable Lua interpreter was not found. This is for when the whole configuration runs (i.e. after `make distclean`), afterwards only one Lua interpreter gets checked only.
* | health.vim: minor cleanup (#8046)Daniel Hahler2018-02-22
| |
* | health/provider: check Python also with loaded_var (#8047)Daniel Hahler2018-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `g:loaded_python3_provider` gets set when the autoload file is sourced, but this might error out, e.g. with deoplete: [deoplete] Failed to load python3 host. You can try to see what happened by starting nvim with $NVIM_PYTHON_LOG_FILE set and opening the generated log file. Also, the host stderr is available in messages. [deoplete] function remote#define#FunctionBootstrap[1]..remote#host#Require[10]..provider#pythonx#Require[13]..provider#Poll, line 14 [deoplete] deoplete requires Python3 support("+python3"). [deoplete] deoplete failed to load. Try the :UpdateRemotePlugins command and restart Neovim. See also :checkhealth. It refers to `:checkhealth` from there explicitly, which would then (without this patch) say that Python 3 is disabled. This patch changes the reported info to include that it might have been disabled due to some error, and keeps on going.
* | checkhealth: python: do not report pythonx_errs twice (#8045)Daniel Hahler2018-02-22
| | | | | | They get reported unconditionally as errors below.
* | runtime/autoload/health/*.vim: fix vint warning (#8048)Daniel Hahler2018-02-22
| |
* | vim-patch:8.0.0225: put in Visual block mode terminates early (#8040)UTkarsh Maheshwari2018-02-21
| | | | | | | | | | | | | | Problem: When a block is visually selected and put is used on the end of the selection only one line is changed. Solution: Check for the end properly. (Christian Brabandt, neovim issue 5781) https://github.com/vim/vim/commit/9957a10d0f0c34d8083af6ed66e198e4796038e0
* | Merge pull request #8039 from bfredl/deadscreenBjörn Linse2018-02-21
|\ \ | |/ |/| remove dead code in screen.c for terminals without scroll regions
| * screen: win_del_lines/win_ins_lines cleanupBjörn Linse2018-02-21
| |
| * screen: remove dead code emulating terminals without scroll regionsBjörn Linse2018-02-21
|/ | | | This logic is now in tui/tui.c
* vim-patch:8.0.0222: blockwise put on multi-byte char (#8030)KunMing Xie2018-02-20
| | | | | | | | | Note: code change was covered by c2a18216114bae75b6d6a2c7f1a68db04578abce Problem: When a multi-byte character ends in a zero byte, putting blockwise text puts it before the character instead of after it. Solution: Use int instead of char for the character under the cursor. (Luchr, closes vim/vim#1403) Add a test. https://github.com/vim/vim/commit/c81299684b2b9045e56525d3da3f45e8440fbf0d
* Merge pull request #8031 from bfredl/gotintstatusBjörn Linse2018-02-20
|\ | | | | jobwait: return -2 on interrupt even with timeout