aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* API: nvim_create_buf: add `scratch` parameterJustin M. Keyes2019-02-17
| | | | | Creating a scratch buffer is a chore/ritual, and would be more useful/common if formally exposed.
* vim-patch:8.1.0803: session restore: handle single quotes #9620Marco Hinz2019-02-17
| | | | | | | | | Problem: Session file has problem with single quote in file name. (Jon Crowe) Solution: Use a double quoted string. Add a test. https://github.com/vim/vim/commit/ad36a3588d32985ee27bd11aa97e5195ef623158 Fixes https://github.com/neovim/neovim/issues/9618
* Merge #9617Justin M. Keyes2019-02-16
|\
| * build/Makefile: check CMAKE_INSTALL_PREFIXJustin M. Keyes2019-02-16
| | | | | | | | closes #9615
| * build/CMakeLists.txt: group related logicJustin M. Keyes2019-02-16
|/ | | | | | - Group CMAKE_BUILD_TYPE-related logic together. - Print the MIN_LOG_LEVEL message (in the build-log) next to the CMAKE_BUILD_TYPE message.
* Merge #9614Justin M. Keyes2019-02-16
|\
| * clang/"null pointer dereference": win_rotateJustin M. Keyes2019-02-14
| |
| * PVS/V1028: cast operands, not the resultJustin M. Keyes2019-02-14
|/
* vim-patch:8.1.0852: findfile() and finddir() are not properly tested (#9609)Jan Edmund Lazo2019-02-13
| | | | | Problem: findfile() and finddir() are not properly tested. Solution: Extend the test and add more. (Dominique Pelle, closes vim/vim#3880) https://github.com/vim/vim/commit/ed71ed37bcd44bcbfcf59beee1248799de3315ec
* Merge #9589 from justinmk/cterm-pumblendJustin M. Keyes2019-02-12
|\ | | | | UI: 'pumblend' for cterm (256-color TUI)
| * UI: change implementation of hl_rgb2cterm_color()Justin M. Keyes2019-02-12
| | | | | | | | | | Replace the implementation cargo-culted from Vim's source with something simpler which "seems to look better" with 'pumblend'.
| * UI: 'pumblend' for cterm (256-color TUI)Justin M. Keyes2019-02-12
|/ | | | | | hl_rgb2cterm_color, hl_cterm2rgb_color were adapted from Vim 8.1 (color2index, cterm_color2rgb). ref: https://github.com/vim/vim/commit/c5cd88554f1e0b2e9ff08d9a0748238dd8340ce1
* Merge #9601 from justinmk/tui-italicJustin M. Keyes2019-02-12
|\
| * TUI: assume italics support in all xterm-likesJustin M. Keyes2019-02-12
| | | | | | | | | | | | https://github.com/neovim/neovim/issues/9598#issuecomment-462421302 > On systems other than macOS, terminfo always has them set. It's part > of the ANSI standard SGR codes
| * TUI: sniff nsterm (Terminal.app) from $TERM_PROGRAMJustin M. Keyes2019-02-11
| |
| * TUI: force italics in tmuxJustin M. Keyes2019-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tmux users are encouraged to use "tmux-256color" instead of the old "screen-256color". Put this in your .tmux.conf : if-shell 'infocmp tmux-256color' 'set -g default-terminal "tmux-256color"' 'set -g default-terminal "screen-256color"' If default-terminal is "tmux-256color" AND tmux finds its terminfo, THEN it will enable italics (regardless of whether the terminfo contains sitm/ritm). OTHERWISE tmux "emulates screen", which means it emits italics as "reverse". That's unfortunate, but it's an acceptable compromise that allows Nvim to support italics in tmux by default in compatible (and increasingly-common) configurations. Test case: tmux nvim -u NORC +'hi Comment cterm=italic' CMakeLists.txt ref #9598
| * TUI: italics in Terminal.app (nsterm)Justin M. Keyes2019-02-11
| | | | | | | | | | | | | | | | | | | | | | | | This is the conservative approach, requiring TERM=nsterm as recommended at `:help $TERM`. It won't work with Terminal.app's default of TERM=xterm-256color, nor in tmux. Test case: TERM=nsterm nvim -u NORC +'hi Comment cterm=italic' CMakeLists.txt closes #9598
* | Merge pull request #9603 from bfredl/reversepumBjörn Linse2019-02-11
|\ \ | |/ |/| highlight: handle blending with gui=reverse and guisp attribute
| * highlight: handle blending with gui=reverse and guisp attributesBjörn Linse2019-02-11
|/
* Merge pull request #7466 from bfredl/ext_messagesBjörn Linse2019-02-10
|\ | | | | ui: implement ext_messages to externalize all messages in msg area
| * ui: implement ext_messagesBjörn Linse2019-02-10
|/ | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com>
* Merge pull request #9272 from bfredl/createbufBjörn Linse2019-02-09
|\ | | | | api: add nvim_create_buf to create a new empty buffer.
| * api: add nvim_create_buf to create a new empty buffer.Björn Linse2019-02-09
| | | | | | | | | | | | | | | | | | | | | | | | Loading existing files into a buffer is non-trivial and requires a window. Creating an unnamed emtpy buffer is trivial and safe though, thus worth a special case. Change nvim_buf_set_option to use aucmd_prepbuf. This is necessary to allow some options to be set on a not yet displayed buffer, such as 'buftype' option. vim-patch:7.4.1858: Add BLN_NEW to enforce buflist_new creating new buffer
* | doc: 'fillchars' is local to windowMarco Hinz2019-02-09
|/ | | | | This was forgotten in 352811fe5 since the commit was originally meant to only change 'listchars'.
* Merge pull request #9586 from bfredl/screencleanupBjörn Linse2019-02-07
|\ | | | | screen: cleanup allocation and scrolling
| * screen: cleanup allocation, clearing and validationBjörn Linse2019-02-07
| | | | | | | | | | | | grid_xx functions shouldn't randomly be called when the screen is not valid. Nvim deterministically initializes a default screen early in main(), so the default grid can be assumed to be allocated.
| * screen: simplify scrolling codeBjörn Linse2019-02-07
|/ | | | | Since the separation between internal screen and TUI, internal scroll cannot FAIL. Delete the conditions for this.
* Merge pull request #9571 from bfredl/pum_transparentBjörn Linse2019-02-07
|\ | | | | UI: implement 'pumblend' option for semi-transparent popupmenu
| * UI: implement 'pumblend' option for semi-transparent popupmenuBjörn Linse2019-02-07
|/ | | | | | | | | | | | | Why? - Because we can. - Because the TUI is just another GUI™ - Because it looks kinda nice, and provides useful context like 1 out of 100 times Complies with "don't pay for what you don't use". Some crashes for resizing were unfolded, add tests for those.
* man.vim: set 'linebreak'Justin M. Keyes2019-02-06
| | | | closes #9583
* Merge pull request #9581 from bfredl/alwaysrgbBjörn Linse2019-02-05
|\ | | | | UI: always use contrete colors for default_colors_set
| * UI: always use contrete colors for default_colors_setBjörn Linse2019-02-05
|/ | | | | But add an escape hatch needed for external TUI, so it still can use terminal emulator defaults.
* Merge #9560 from justinmk/Wmissing-prototypesJustin M. Keyes2019-02-04
|\
| * build: PRAGMA_DIAG_PUSH_IGNORE_MISSING_PROTOTYPESJustin M. Keyes2019-02-04
| | | | | | | | | | | | | | | | | | | | | | | | On Travis CI, -Wmissing-prototypes gives strange error: In file included from ../src/nvim/eval.c:5965: /home/travis/build/neovim/neovim/build/src/nvim/auto/funcs.generated.h.gperf:215:1: error: conflicting types for 'find_internal_func_gperf' find_internal_func_gperf (register const char *str, register unsigned int len) ^ ../src/nvim/eval.c:5962:20: note: previous declaration is here const VimLFuncDef *find_internal_func_gperf(register const char *str, ^
| * build: -Wmissing-prototypesJustin M. Keyes2019-02-04
| | | | | | | | | | | | | | ref #343 Though I don't see a strong benefit, it isn't too much of a burden, and maybe avoids confusion in some cases.
| * build: set compiler options in one placeJustin M. Keyes2019-02-04
| | | | | | | | - add_definitions() is preferred to CMAKE_C_FLAGS.
* | options: set 'scrollback' to -1 by default #9563Marco Hinz2019-02-04
| | | | | | | | | | | | | | | | | | Makes the 'scrollback' option more consistent (same default for all buffers) and future-proof. - Default to -1 for all buffers, but treat it as an implementation detail. - Document range of 1 - 100_000. - New terminal buffer by default sets scrollback=10_000 if the global default is -1. - Existing terminal buffer: On entering terminal-mode or on refresh, if the user explicitly did `:set[local] scbk=-1`, the local value goes to 100_000 (max). (This is undocumented on purpose. Users should work with explicit values in the range of 1-100_000.)
* | events: add "Signal" event #9564Marco Hinz2019-02-04
|/ | | | | ..which gets triggered when SIGUSR1 is sent to the nvim process. Closes #9562
* Merge pull request #9579 from bfredl/pum_fixBjörn Linse2019-02-03
|\ | | | | popupmenu: fix alignment of kind and extra after #9530
| * popupmenu: fix alignment of kind and extra after #9530Björn Linse2019-02-03
| |
* | Merge #9578 'vim-patch:8.0.{1045,1073,1077,1114}'Justin M. Keyes2019-02-03
|\ \
| * | vim-patch:8.0.1114: default for 'iminsert' is annoyingJan Edmund Lazo2019-02-03
| | | | | | | | | | | | | | | | | | Problem: Default for 'iminsert' is annoying. Solution: Make the default always zero. (Yasuhiro Matsumoto, closes vim/vim#2071) https://github.com/vim/vim/commit/4cf56bbc85f77846aeb378cfb071677336dfad6d
| * | vim-patch:8.0.1077: no debugger making use of the terminal windowJan Edmund Lazo2019-02-03
| | | | | | | | | | | | | | | | | | | | | Problem: No debugger making use of the terminal window. Solution: Add the term debugger plugin. So far only displays the current line when stopped. https://github.com/vim/vim/commit/fe386641b0c56c5de2bca8e1f4cd5e2a1f1aea7e
| * | vim-patch:8.0.1073: may get an endless loop if 'statusline' changes a highlightJan Edmund Lazo2019-02-03
| | | | | | | | | | | | | | | | | | Problem: May get an endless loop if 'statusline' changes a highlight. Solution: Do not let evaluating 'statusline' trigger a redraw. https://github.com/vim/vim/commit/ba2929b6afd2fc20479912a8dec789be26a38244
| * | vim-patch:8.0.1045: running tests may pollute shell historyJan Edmund Lazo2019-02-02
| | | | | | | | | | | | | | | | | | Problem: Running tests may pollute shell history. (Manuel Ortega) Solution: Make $HISTFILE empty. https://github.com/vim/vim/commit/6a8691d483914606213a24356a9124fa41c93b69
* | | rename ui_is_external to ui_has (#9576)Justin M. Keyes2019-02-03
| |/ |/|
* | Merge pull request #9530 from bfredl/pum_floatBjörn Linse2019-02-02
|\ \ | |/ |/| Implement popupmenu as a floating grid internally to reduce flicker
| * multigrid: reset win scrolling after swap messageBjörn Linse2019-02-02
| |
| * tests/ui: add test for popupmenu redrawing in various situationsBjörn Linse2019-02-02
| | | | | | | | | | Many of these are handled by the compositor. Check that it causes no glitches.
| * ui/compositor: add redraws needed due to intersected doublewidth chars.Björn Linse2019-02-02
| |