aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | Makefile: add PREFIX variableMarco Hinz2016-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use a Makefile which in turn uses cmake. If we wanted to set the install prefix for cmake, we had to do this so far: make CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=/tmp/nvim" That's long and hard to remember. Following the conventions of other Makefiles, this now works as well and is equivalent: make PREFIX=/tmp/nvim
* | | | | | Merge pull request #5451 from jamessan/set-username-hostnameJames McCoy2016-10-08
|\ \ \ \ \ \ | | | | | | | | | | | | | | config: Allow setting USERNAME/HOSTNAME from the environment
| * | | | | | config: Allow setting USERNAME/HOSTNAME from the environmentJames McCoy2016-10-08
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allowing this to be controlled externally improves reproducibility, as well as provides a more useful address to report for "Compiled by". For example, I intend to set it to the packaging list when building the Debian package. Signed-off-by: James McCoy <jamessan@jamessan.com>
* | | | | | Merge #5428 'vim-patch: 0c1ff16, 939a1ab, 8067a64'.Justin M. Keyes2016-10-08
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | vim-patch:0c1ff16Shougo Matsushita2016-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updated runtime files. Add avra syntax. https://github.com/vim/vim/commit/0c1ff16b5467f97ce08134fdbc8198127bbe492a
| * | | | | vim-patch:939a1abShougo Matsushita2016-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
| * | | | | vim-patch:8067a64Shougo Matsushita2016-10-04
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Add missing test file. https://github.com/vim/vim/commit/8067a64852d6d134b493c5674e404225ed4bbe7d
* | | | | CheckHealth: choose correct path for the latest version (#5446)Marco Hinz2016-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple versions of a package are installed, the provider health check could choose a wrong path: /usr/local/lib/python3.5/site-packages/neovim-0.1.10-py3.5.egg-info/PKG-INFO /usr/local/lib/python3.5/site-packages/neovim-0.1.9-py3.5.egg-info/PKG-INFO Prior to this change :CheckHealth could falsely show 0.1.9 as the installed version, since glob() doesn't enforce any predictable order. Now we sort all potential paths numerically in descending order and just look at the first path instead.
* | | | | hardcopy.c: Fix -Wmaybe-uninitialized warning.Justin M. Keyes2016-10-08
| | | | |
* | | | | lint: Removing dead initializations #5410Patrick Jackson2016-10-08
| |_|/ / |/| | |
* | | | Merge #5444 from malept/dont-hardcode-python3-in-checkhealthJustin M. Keyes2016-10-07
|\ \ \ \ | | | | | | | | | | Fix Python 2/3 health checks
| * | | | health: fix Python 2 variable namesMark Lee2016-10-06
| | | | |
| * | | | health: remove duplicate nvim_path declarationMark Lee2016-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | It's the same as the declaration above it, but hardcoded to use python3 and does not redirect stderr.
* | | | | tui/flush_buf: Don't toggle cursor when called from out() #5436Florian Larysch2016-10-06
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unibi_format() calls out() multiple times for a given format string. When data->buf fills up during this process, flush_buf() gets called, which possibly calls unibi_out() again to toggle the cursor visibility. However, if we were halfway through outputting an escape sequence, doing this will clobber it, resulting in junk being displayed. Fix this by not toggling the cursor visibility when draining a full buffer in out().
* | | | version.c: mark NA patches (#5380)Shougo2016-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NA list: 1653: matchit packadd 1750: channel 1770: termguicolors 1794: GUI Win32 1805: Makefile 1804, 1945: manpager.vim 1811: channel 2115, 2232, 2278, 2319: defaults.vim included: 1763: spell
* | | | doc/vim_diff.txt (#5432)Justin M. Keyes2016-10-06
| |_|/ |/| |
* | | Merge pull request #5366 from NovaDev94/vim-7.4.1740James McCoy2016-10-04
|\ \ \ | |/ / |/| | vim-patch:7.4.1740
| * | vim-patch:7.4.1740Nova2016-09-22
| | | | | | | | | | | | | | | | | | | | | | | | Problem: syn-cchar defined with matchadd() does not appear if there are no other syntax definitions which matches buffer text. Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes vim/vim#757) https://github.com/vim/vim/commit/4d585022023b96f6507e8cae5ed8fc8d926f5140
* | | tui/terminfo_start: Default to normal-mode cursor shape. (#5419)Justin M. Keyes2016-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | References #4867 For users who use a "bar" shape in the shell, it's annoying that Nvim starts with that same cursor shape, despite starting in normal-mode. So default to the normal-mode "block" shape instead. (Note: technically it's possible some user may set 'insertmode', and then the opposite problem occurs. But 'insertmode' is a silly option that shouldn't exist, and any user that uses it probably isn't fiddling with their cursor shape anyways.) Also rename the unibilium extensions: enter_insert_mode => set_cursor_shape_bar enter_replace_mode => set_cursor_shape_underline exit_insert_mode => set_cursor_shape_block to say explicitly what they do in the context of a terminal; it's irrelevant in this context what purpose they serve in Nvim.
* | | ci: .travis.yml: Minimize scope of osx_image directive. (#5420)Justin M. Keyes2016-10-02
| | |
* | | event/multiqueue.c: Rename "queue" to "multiqueue".Justin M. Keyes2016-10-02
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | `lib/queue.h` implements a basic queue. `event/queue.c` implements a specialized data structure on top of lib/queue.h; it is not a "normal" queue. Rename the specialized multi-level queue implemented in event/queue.c to "multiqueue", to avoid confusion when reading the code. Before this change one can eventually notice that "macros (uppercase symbols) are for the normal queue, lowercase operations are for the multi-level queue", but that is unnecessary friction for new developers (or existing developers just visiting this part of the codebase).
* | Merge pull request #5409 from jamessan/toplevel-stateJames McCoy2016-09-30
|\ \ | | | | | | | | | Correct logic for setting NormalState.toplevel
| * | Correct logic for setting NormalState.toplevelJames McCoy2016-09-30
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Vim's main_loop function, the main loop is while (!cmdwin #ifdef FEAT_CMDWIN || cmdwin_result == 0 #endif ) { ... #ifdef FEAT_EVAL /* * May perform garbage collection when waiting for a character, but * only at the very toplevel. Otherwise we may be using a List or * Dict internally somewhere. * "may_garbage_collect" is reset in vgetc() which is invoked through * do_exmode() and normal_cmd(). */ may_garbage_collect = (!cmdwin && !noexmode); #endif /* * If we're invoked as ex, do a round of ex commands. * Otherwise, get and execute a normal mode command. */ if (exmode_active) { if (noexmode) /* End of ":global/path/visual" commands */ return; do_exmode(exmode_active == EXMODE_VIM); } else normal_cmd(&oa, TRUE); } cmdwin_result is set to 0 before calling main_loop to handle the cmdwin window and gets changed when the user causes a command to execute (either through pressing <CR> or <C-c>). This means that when the cmdwin isn't active OR the user is still editing their command, main_loop runs and main_loop calls normal_cmd with toplevel true as long as exmode isn't active. When the normal mode state was extracted in dae006a9, the conditions for toplevel and may_garbage_collect were combined. Since toplevel was set to always ignore cmdwin, the v:count(1) variables were no longer being updated when a command was prefixed with a count in the cmdwin. Closes #5404
* | Merge pull request #5358 from jbradaric/vim-7.4.1679James McCoy2016-09-28
|\ \ | | | | | | vim-patch:7.4.{1648,1679,1681}
| * | vim-patch:7.4.1681Jurica Bradaric2016-09-28
| | | | | | | | | | | | | | | | | | | | | Problem: Coverity warns for fixed size buffer length (false positive). Solution: Add a check for the name length. https://github.com/vim/vim/commit/ef9d9b94a8803c405884bb6914ed745ede57c596
| * | vim-patch:7.4.1679Jurica Bradaric2016-09-28
| | | | | | | | | | | | | | | | | | | | | Problem: Coverity: copying value of v_lock without initializing it. Solution: Init v_lock in rettv_list_alloc() and rettv_dict_alloc(). https://github.com/vim/vim/commit/7d2a5796d39905a972e8f74af5f7b0a62e3de173
| * | vim-patch:7.4.1648Jurica Bradaric2016-09-28
|/ / | | | | | | | | | | | | | | Problem: Compiler has a problem copying a string into di_key[]. (Yegappan Lakshmanan) Solution: Add dictitem16_T. https://github.com/vim/vim/commit/bee6c0cf86a75faa2aa893f2c9db82fd944a89a5
* | Merge #5395 from justinmk/logJustin M. Keyes2016-09-28
|\ \
| * | log.c: align/adjust layoutJustin M. Keyes2016-09-28
| | | | | | | | | | | | | | | | | | | | | | | | New: 2016/09/27 18:00:49 INFO 28117/tui_flush:597: ... Old: 2016/09/27 18:00:49 [info @ tui_flush:597] 28117 - ...
| * | tui: Move ui_bridge module to tui/ namespace.Justin M. Keyes2016-09-28
| | |
| * | doc: minor comment tweaksJustin M. Keyes2016-09-28
|/ /
* | Merge pull request #5389 from bfredl/apifixBjörn Linse2016-09-27
|\ \ | | | | | | restore ui_try_resize metadata and filter metadata attributes, and add "since" attribute
| * | api: add blanket implementation of "since"Björn Linse2016-09-27
| | |
| * | api: define the set of function attributes to expose in the metadataBjörn Linse2016-09-27
| | |
| * | api: restore old return type of deprecated ui_try_resize methodBjörn Linse2016-09-27
| | |
* | | Merge pull request #5357 from jbradaric/vim-7.4.1671James McCoy2016-09-27
|\ \ \ | | | | | | | | | | | | vim-patch:7.4.{1671,1818,1820,1821}
| * | | vim-patch:7.4.1821Jurica Bradaric2016-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test fails on MS-Windows. Solution: Sort the completion results. https://github.com/vim/vim/commit/4ed6b2e2d7fd5959fb9b9f608935d47305c4bbe4
| * | | vim-patch:7.4.1820Jurica Bradaric2016-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Removing language from help tags too often. Solution: Only remove @en when not needed. (Hirohito Higashi) https://github.com/vim/vim/commit/9ccaae04c6f263e6db14fc403bca2404a7871114
| * | | vim-patch:7.4.1818Jurica Bradaric2016-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Help completion adds @en to all matches except the first one. Solution: Remove "break", go over all items. https://github.com/vim/vim/commit/89c79b99328b66f77f1d12dc8c6701dfe2c57f15
| * | | vim-patch:7.4.1671Jurica Bradaric2016-09-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When help exists in multiple languages, adding @ab while "ab" is the default help language is unnecessary. Solution: Leave out "@ab" when not needed. (Ken Takata) https://github.com/vim/vim/commit/61264d99692803eec76a171916ab9720c75536b0
* | | | Merge pull request #5261 from jbradaric/vim-7.4.1961James McCoy2016-09-27
|\ \ \ \ | |_|/ / |/| | | vim-patch:7.4.1961
| * | | option.c: Fix linter errors.Jurica Bradaric2016-09-25
| | | |
| * | | vim-patch:7.4.1961Jurica Bradaric2016-09-25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When 'insertmode' is reset while doing completion the popup menu remains even though Vim is in Normal mode. Solution: Ignore stop_insert_mode when the popup menu is visible. Don't set stop_insert_mode when 'insertmode' was already off. (Christian Brabandt) https://github.com/vim/vim/commit/00672e1d3f59dbff91a18d418b2984be96f89ee5
* | | Merge pull request #5356 from jbradaric/vim-7.4.1670James McCoy2016-09-26
|\ \ \ | | | | | | | | vim-patch:7.4.1670
| * | | vim-patch:7.4.1670Jurica Bradaric2016-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Completion doesn't work well for a variable containing "vim/vim#". Solution: Recognize the "vim/vim#". (Watiko) https://github.com/vim/vim/commit/a32095fc8fdf5fe3d487c86d9cc54adb1236731e
* | | | Merge pull request #5372 from jamessan/vim-7.4.1604James McCoy2016-09-26
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | vim-patch:7.4.1604,7.4.1620,7.4.1629,7.4.1630,7.4.1642,7.4.1697 Closes #5149
| * | | genunicodetables: Give the unicode directory as the first argumentJames McCoy2016-09-24
| | | | | | | | | | | | | | | | | | | | | | | | Let genunicodetables determine which files it needs from the unicode directory. cmake just needs to pass the directory and destination file to the script.
| * | | vim-patch:7.4.1697James McCoy2016-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Display problems when the 'ambiwidth' and 'emoji' options are not set properly or the terminal doesn't behave as expected. Solution: After drawing an ambiguous width character always position the cursor. https://github.com/vim/vim/commit/cb0700844c1274fe8bc0ceaffaee0ad21c406f30
| * | | lintJames McCoy2016-09-24
| | | |
| * | | vim-patch:7.4.1642James McCoy2016-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Handling emoji characters as full width has problems with backwards compatibility. Solution: Only put characters in the 1f000 range in the emoji table. https://github.com/vim/vim/commit/6a08454b93784c92296d4c08456401cbaa74c9d5