aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* test/inccommand_spec: test the test (#7897)Justin M. Keyes2018-01-23
|
* ui: forward 'linespace' option #7883Justin M. Keyes2018-01-21
| | | | ref #7520
* Merge #7863 'mingw64: fix gcc warnings'Justin M. Keyes2018-01-20
|\
| * Fix warning unused static functionGeorge Zhao2018-01-18
| |
| * Fix warning when assing size_t type value to uv_buf_t.len, convert type to ↵George Zhao2018-01-18
| | | | | | | | ULONG on Windows.
* | Merge #7878 from justinmk/keymap-leakJustin M. Keyes2018-01-20
|\ \
| * | vim-patch:8.0.0423: changing 'cinoptions' does not always workckelsel2018-01-20
| |/ | | | | | | | | | | | | | | Problem: The effect of adding "vim/vim#" to 'cinoptions' is not always removed. (David Briscoe) Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes vim/vim#1475) https://github.com/vim/vim/commit/6b64394f346594404cffb9591d71ac693040679f
* / tests: :checkhealth completionMarco Hinz2018-01-18
|/
* os/input.c: parse keycodes in non-string context #7411lePerdu2018-01-18
| | | | | | | | | | | cb02137dfac7 had two mistakes, of the same nature: trans_special() must be invoked with in_string=false unless the parsing context is a VimL string. replace_termcodes() and input_enqueue() are low-level mechanisms where VimL strings do not exist. keymap.c: adjust double-quote case to satisfy keymap_spec.lua closes #7410
* tui: final_column_wrap(): fix row calculationJustin M. Keyes2018-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #7572 closes #7579 closes #7628 ASAN report: ==9500==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6040000024c0 at pc 0x00000187d2ca bp 0x7fc3c6e58d10 sp 0x7fc3c6e58d08 READ of size 8 at 0x6040000024c0 thread T1 0 0x187d2c9 in ugrid_put /home/vagrant/neovim/build/../src/nvim/ugrid.c:107:17 1 0x1850adf in tui_put /home/vagrant/neovim/build/../src/nvim/tui/tui.c:1012:10 2 0x18a6ce6 in ui_bridge_put_event /home/vagrant/neovim/build/src/nvim/auto/ui_events_bridge.generated.h:154:3 3 0xa4dcda in multiqueue_process_events /home/vagrant/neovim/build/../src/nvim/event/multiqueue.c:150:7 4 0xa478bf in loop_poll_events /home/vagrant/neovim/build/../src/nvim/event/loop.c:63:3 5 0x185451c in tui_main /home/vagrant/neovim/build/../src/nvim/tui/tui.c:362:12 6 0x18a3080 in ui_thread_run /home/vagrant/neovim/build/../src/nvim/ui_bridge.c:106:3 7 0x7fc3caaac6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9) 8 0x7fc3c9ca33dc in clone /build/glibc-bfm8X4/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109 0x6040000024c0 is located 0 bytes to the right of 48-byte region [0x604000002490,0x6040000024c0) allocated by thread T1 here: 0 0x50e048 in malloc (/home/vagrant/neovim/build/bin/nvim+0x50e048) 1 0xf7ab71 in try_malloc /home/vagrant/neovim/build/../src/nvim/memory.c:87:15 2 0xf7ad99 in xmalloc /home/vagrant/neovim/build/../src/nvim/memory.c:121:15 3 0x187937b in ugrid_resize /home/vagrant/neovim/build/../src/nvim/ugrid.c:32:17 4 0x184be58 in tui_resize /home/vagrant/neovim/build/../src/nvim/tui/tui.c:770:3 5 0x18a3dc8 in ui_bridge_resize_event /home/vagrant/neovim/build/src/nvim/auto/ui_events_bridge.generated.h:4:3 6 0xa4dcda in multiqueue_process_events /home/vagrant/neovim/build/../src/nvim/event/multiqueue.c:150:7 7 0xa478bf in loop_poll_events /home/vagrant/neovim/build/../src/nvim/event/loop.c:63:3 8 0x185451c in tui_main /home/vagrant/neovim/build/../src/nvim/tui/tui.c:362:12 9 0x18a3080 in ui_thread_run /home/vagrant/neovim/build/../src/nvim/ui_bridge.c:106:3 10 0x7fc3caaac6b9 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76b9) Thread T1 created by T0 here: 0 0x4655ed in __interceptor_pthread_create (/home/vagrant/neovim/build/bin/nvim+0x4655ed) 1 0x1ad87b0 in uv_thread_create /home/vagrant/neovim/.deps/build/src/libuv/src/unix/thread.c:75 2 0x184b9aa in tui_start /home/vagrant/neovim/build/../src/nvim/tui/tui.c:159:10 3 0x188dd4c in ui_builtin_start /home/vagrant/neovim/build/../src/nvim/ui.c:125:3 4 0xe6d399 in main /home/vagrant/neovim/build/../src/nvim/main.c:457:5 5 0x7fc3c9bbc82f in __libc_start_main /build/glibc-bfm8X4/glibc-2.23/csu/../csu/libc-start.c:291
* Merge #7860 'fix get_buffer_lines'Justin M. Keyes2018-01-16
|\
| * get_buffer_lines: Return a string, when requested, on invalid inputJames McCoy2018-01-15
|/ | | | Closes #7859
* vim-patch:8.0.0151,3,4 #7389Justin M. Keyes2018-01-15
| | | | | | | | | | | | | | | | | | | vim-patch:8.0.0151 Problem: To pass buffer content to system() and systemlist() one has to first create a string or list. Solution: Allow passing a buffer number. (LemonBoy, closes vim/vim#1240) https://github.com/vim/vim/commit/12c4492dd35e0cd83c8816be2ec849b836109882 vim-patch:8.0.0153 Problem: system() test fails on MS-Windows. Solution: Deal when extra space and CR. https://github.com/vim/vim/commit/9d9c35651712b88c81f1ae11091de1fd0bbbd35c vim-patch:8.0.0154 Problem: system() test fails on OS/X. Solution: Deal with leading spaces. https://github.com/vim/vim/commit/31f19ce0a052f7c76d44a9a190e468c79cf5d56d
* *: Provide list length when allocating listsZyX2018-01-14
|
* api: nvim_command_output: direct implJustin M. Keyes2018-01-10
|
* api: change nvim_command_output behaviorJustin M. Keyes2018-01-10
| | | | | | | | | | | | | | | | | | | Implement nvim_command_output with `execute({cmd},"silent")`. Behavior changes: - does not provoke any hit-enter prompt - no longer prepends a newline char - does not capture some noise (like the "[New File]" message, see the change to tabnewentered_spec.lua) Technically ("bug-for-bug") this a breaking change. But the previous behavior of nvim_command_output meant that it probably wasn't used for anything outside of tests. Also remove the undocumented `v:command_output` variable which was a hack introduced only for the purposes of nvim_command_output. closes #7726
* Merge #7623 'man.vim: highlight bold, underlined text'Justin M. Keyes2018-01-09
|\
| * Address PR commentsGabriel Holodak2017-12-27
| |
| * Add functional tests for man highlightingGabriel Holodak2017-12-27
| |
* | test: set_shell_powershell(): update flags (#7819)Justin M. Keyes2018-01-07
| |
* | Merge #7753 'win: enable more functional tests'Justin M. Keyes2018-01-06
|\ \
| * | test: win: yes is unavailable on WindowsJan Edmund Lazo2018-01-06
| | |
| * | win: test: check non-shell system()Jan Edmund Lazo2018-01-06
| | |
| * | test: use unix fileformat to test NULs on systemlistJan Edmund Lazo2018-01-06
| | |
| * | win: enable more functional testsJan Edmund Lazo2018-01-06
| | | | | | | | | | | | | | | | | | - plugin/shada_spec.lua: Use \r\n as Windows EOL for tests on BufWriteCmd, FileWriteCmd, FileAppendCmd. Alternative is 'set fileformat=unix'.
| * | win: enable tests in ex_terminal_specJan Edmund Lazo2018-01-06
| | |
| * | test: enable K_spec tests in WindowsJan Edmund Lazo2018-01-03
| | |
* | | tests: stderr output contains `cp` noiseJustin M. Keyes2018-01-05
| | | | | | | | | | | | closes #7811
* | | defaults: do :filetype stuff unless explicitly "off"Justin M. Keyes2018-01-04
|/ / | | | | | | | | | | | | | | | | | | | | Until now, the default `:filetype ...` setup was skipped if the user config touched `:filetype` in any way (including implicitly via `:syntax on`). No one needs that, and it's very confusing. Instead, proceed with `:filetype ... on` unless the user explicitly called `:filetype ... off`. closes #7765
* | Merge pull request #7762 from ZyX-I/remove-some-listitemsJustin M. Keyes2017-12-31
|\ \ | | | | | | Remove some tv_list_item_…() functions
| * | *: Fix linter errorsZyX2017-12-24
| | |
| * | eval: Replace some tv_list_item_remove() callsZyX2017-12-24
| | | | | | | | | | | | | | | There is nothing wrong with them, just it is generally better to remove a range then to remove items individually.
| * | unittests: Do gc after reporting error, not beforeZyX2017-12-24
| | | | | | | | | | | | | | | Reason: test may contain cleanup at the endwhich is needed for GC to work properly, but is not done if test fails. With collectgarbage() in former position it would crash when collecting garbage.
| * | unittests: Remove start of trace, not endZyX2017-12-24
| | |
| * | eval: Rename tv_list_remove_items() to tv_list_drop_items()ZyX2017-12-24
| | | | | | | | | tv_list_remove_items() may cause confusion with tv_list_item_remove()
| * | eval/typval: Make tv_list_item_remove return pointer to the next itemZyX2017-12-24
| | |
| * | eval/typval: Remove tv_list_item_free() as it is unusedZyX2017-12-24
| | |
| * | eval/typval: Make tv_list_item_alloc staticZyX2017-12-24
| | | | | | | | | | | | Better write this bit in lua then make reviewers or clint filter out tv_list_item_alloc().
| * | *: Remove most calls to tv_list_item_allocZyX2017-12-24
| |/ | | | | | | Still left calls in eval/typval.c and test/unit/eval/helpers.lua. Latter is the only reason why function did not receive `static` modifier.
* | tests: termclose_spec: fix flaky SIGTERM test #7787Daniel Hahler2017-12-30
| | | | | | | | | | Followup to https://github.com/neovim/neovim/pull/7217. Build failure: https://travis-ci.org/neovim/neovim/jobs/322930672#L2958.
* | Merge #7782 'Fix TabClose autocommand via close_windows'Justin M. Keyes2017-12-30
|\ \ | |/ |/|
| * Move applying of TabClosed to win_close_othertabDaniel Hahler2017-12-29
|/
* mark: Make sure that jumplist item will not have zero lnumZyX2017-12-24
| | | | Fixes #7169
* Merge #7708 from ZyX-I/hide-container-implJustin M. Keyes2017-12-23
|\
| * Merge branch 'master' into hide-container-implZyX2017-12-23
| |\
| * | functests: Fix linter errorZyX2017-12-16
| | |
| * | Merge branch 'master' into hide-container-implZyX2017-12-16
| |\ \
| * | | window: Fix matchaddpos() and enhance error reportingZyX2017-12-15
| | | |
| * | | *: Fix some problems found during reviewZyX2017-12-15
| | | | | | | | | | | | | | | | Still missing: problems in window.c, it should be possible to construct a test for them.
| * | | Merge branch 'master' into hide-container-implZyX2017-12-12
| |\ \ \