aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | | TUI: EMSG2 must not be used from TUI threadBjörn Linse2018-04-06
| | | | | | |
* | | | | | | Make vim_fgets() return the same values as in VimMarco Hinz2018-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation of vim_fgets() differs between Neovim and Vim. Vim says that it only returns `true` for EOF. But it always returns `true` when fgets() returns NULL. This happens for EOF _or_ errors. That probably misguided the author of Neovim's vim_fgets(), which does NOT return `true` for errors. Since all the callers of vim_fgets() probably expect it to work as it does in Vim (and not as it says), it now returns the same values as the Vim implementation. Fixes #8227
* | | | | | | Merge #8226 from justinmk/insert-mode-metaJustin M. Keyes2018-04-04
|\ \ \ \ \ \ \
| * | | | | | | insert-mode: interpret unmapped META as ESCJustin M. Keyes2018-04-04
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #2454 closes #8213 ref #7972
* | | | | | | Merge #7524 from justinmk/vim-8.0.1281Justin M. Keyes2018-04-04
|\ \ \ \ \ \ \
| * | | | | | | vim-patch:8.0.1284: loading file type detection slows down startupJustin M. Keyes2018-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Loading file type detection slows down startup. Solution: Store the last pattern of an autocommand event to make appending quicker. https://github.com/vim/vim/commit/462455ee8b81cb5709007d91248ac4a88308d6e9
* | | | | | | | ins_compl_add_tv: fix memory leaks via get_spec_reg (#8224)Daniel Hahler2018-04-03
|/ / / / / / / | | | | | | | | | | | | | | Fixes #8186
* | | | | | | screen: winhl=Normal:Background should not override syntax (#8093)Björn Linse2018-04-02
| | | | | | | | | | | | | | | | | | | | | fixes #7375
* | | | | | | build/CMake: use CMake-2.8.7-compatible list-check (#8220)Justin M. Keyes2018-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested with: make CMAKE_EXTRA_FLAGS='-DLANGUAGES="en_GB;ja;sk"' closes #8219
* | | | | | | Merge #5908 'shada: Also save numbered marks'Justin M. Keyes2018-04-02
|\ \ \ \ \ \ \
| * | | | | | | shada: Fix conversion warningsZyX2018-04-01
| | | | | | | |
| * | | | | | | shada: Fix some memory leaks and completely ignore numbered mark namesZyX2018-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problems: - In two places in shada_read_when_writing() memory just was not freed. Both places were verified to cause test failures. - Numbered marks got assigned incorrect (off-by-one compared to position in the array) numbers in replace_numbered_mark. - It was possible to have non-continuously populated array of numbered marks which messed up code for merging them. (Note about tests: marks with additional data are always compared different when merging, that caused some confusion regarding why test did not work the way I expected.)
| * | | | | | | shada: Add functions to format ShaDa entries for debugging purposesZyX2018-04-01
| | | | | | | | | | | | | | | | | | | | | | | | To be used in debugging printfs.
| * | | | | | | shada: When storing numeric marks reset the numbersZyX2018-04-01
| | | | | | | | | | | | | | | | | | | | | | | | Attempt to fix observed crash. Crash currently not reproduced.
| * | | | | | | Revert "shada: In place of ignoring cursor position with lnum 0 save with 1"ZyX2018-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit aa728798b4bd89b59cee86103885c15d386f73ba.
| * | | | | | | shada: In place of ignoring cursor position with lnum 0 save with 1ZyX2018-03-27
| | | | | | | |
| * | | | | | | shada: Also filter out invalid cursor position when writing '0' markZyX2018-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on https://github.com/neovim/neovim/pull/5908#issuecomment-375909903, but with adjusted condition as line number or column less then zero should not appear at all based on what I know.
| * | | | | | | macros: Rename LAST_ARRAY_ENTRY to ARRAY_LAST_ENTRYZyX2018-03-27
| | | | | | | |
| * | | | | | | shada: Make ignore_buf also inlineZyX2018-03-27
| | | | | | | |
| * | | | | | | shada: Save numbered marksZyX2018-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problems so far: - Marks in the current instance are not adjusted. - Duplicates are not removed (not that it works in Vim either now, not at 8.0.134 at least).
* | | | | | | | build/OpenBSD: need -lpthread -lc++abi for LuaJIT (#8215)Utkarsh Anand2018-04-02
| |/ / / / / / |/| | | | | |
* | | | | | | msg: do not scroll entire screen (#8088)Björn Linse2018-03-31
| | | | | | |
* | | | | | | build/CMake: LANGUAGES config option #8203Marty E. Plummer2018-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
* | | | | | | timer_pause: stop the timer resource (#8199)Utkarsh Maheshwari2018-03-30
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | If the timer isn't stopped, it still emits events which consume some CPU. Fix #8188
* | | | | | lintJames McCoy2018-03-29
| | | | | |
* | | | | | Merge pull request #6377 from yagebu/option-fixesJames McCoy2018-03-29
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | options: fixes and some refactoring for number options Closes #6696
| * \ \ \ \ \ Merge branch 'master' into yagebu/option-fixesJames McCoy2018-03-28
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' into option-fixesJakob Schnitzer2017-06-28
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' into option-fixesJakob Schnitzer2017-04-24
| |\ \ \ \ \ \ \ \
| * | | | | | | | | update for changes in master; fix 'window'; testsJakob Schnitzer2017-03-31
| | | | | | | | | |
| * | | | | | | | | options: more tests; check first set later; stricter validationJakob Schnitzer2017-03-30
| | | | | | | | | |
| * | | | | | | | | options: fix setglobal for buf-local number optionsJakob Schnitzer2017-03-30
| | | | | | | | | |
| * | | | | | | | | options: group num_option validation by typeJakob Schnitzer2017-03-30
| | | | | | | | | |
| * | | | | | | | | options: more of the sameJakob Schnitzer2017-03-30
| | | | | | | | | |
| * | | | | | | | | options: move more validation togetherJakob Schnitzer2017-03-30
| | | | | | | | | |
| * | | | | | | | | options: clean up num_options side-effectsJakob Schnitzer2017-03-30
| | | | | | | | | |
| * | | | | | | | | options: if invalid value is given, reset to old valueJakob Schnitzer2017-03-30
| | | | | | | | | |
| * | | | | | | | | options: move code around in set_num_optionJakob Schnitzer2017-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handle side-effects after validation
| * | | | | | | | | options: setlocal should only set local valueJakob Schnitzer2017-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For 'iminsert' and 'imsearch' the global value was always changed.
* | | | | | | | | | build/NetBSD: use kinfo_proc2; undef uint64_t (#8197)Utkarsh Anand2018-03-29
| |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #8196 For historical reasons, uint64_t and friends are defined both as typedefs and macros. Some platforms that do that define the macros as identity (#define uint64_t uint64_t), others like NetBSD define to the backing type (#define uint64_t __uint64_t). This is normally transparent, except when multiple levels of macro expansions are used inconsistently.
* | | | | | | | | TUI: implement "standout" attribute #8081Nimit Bhardwaj2018-03-27
| |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | closes #8054
* | | | | | | | Merge #7881 from ZyX-I/fix-7876Justin M. Keyes2018-03-25
|\ \ \ \ \ \ \ \
| * | | | | | | | *: Replace did_throw checks with current_exception checksZyX2018-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Removes obsolete did_throw after that.
| * | | | | | | | *: Make sure that !did_throw implies !current_exceptionZyX2018-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #7876
* | | | | | | | | vim-patch:8.0.0417: test for the clipboard fails sometimes (#8174)KunMing Xie2018-03-25
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for the clipboard fails sometimes. Solution: Add it to the flaky tests. https://github.com/vim/vim/commit/0fbff646d5beb1f48c9be3d0ce0339be90fd49f5
* | | | | | | | vim-patches: test_system.vimJustin M. Keyes2018-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0185: system() test fails on MS-Windows vim-patch:8.0.0197: system() test skips some parts for MS-Windows vim-patch:8.0.0701: system test failing when using X11 forwarding
* | | | | | | | vim-patch:8.0.0184: fix ex-mode exit code #7943sohnryang2018-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When in Ex mode and an error is caught by try-catch, Vim still exits with a non-zero exit code. Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian Brabandt) https://github.com/vim/vim/commit/2b7bc567b9238aaac682236cb4f727d0376e1302
* | | | | | | | win: defaults: 'shellcmdflag', 'shellxquote' #7343Jan Edmund Lazo2018-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #7698 Wrapping a command in double-quotes allows cmd.exe to safely dequote the entire command as if the user entered the entire command in an interactive prompt. This reduces the need to escape nested and uneven double quotes. The `/s` flag of cmd.exe makes the behaviour more reliable: :set shellcmdflag=/s\ /c Before this patch, cmd.exe cannot use cygwin echo.exe (as opposed to cmd.exe `echo` builtin) even if it is wrapped in double quotes. Example: :: internal echo > cmd /s /c " echo foo\:bar" " foo\:bar" :: cygwin echo.exe > cmd /s /c " "echo" foo\:bar" " foo:bar
* | | | | | | | Merge #4419 'implement <Cmd> key'Justin M. Keyes2018-03-24
|\ \ \ \ \ \ \ \
| * | | | | | | | getchar: implement <Cmd> key to invoke command in any modeBjörn Linse2018-03-23
| | | | | | | | |