aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | 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
* | | | | vim-patch:7.4.1630James McCoy2016-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Unicode table for double width is outdated. Solution: Update to the latest Unicode standard. https://github.com/vim/vim/commit/d63aff0a65b955447de2fd8bfdaee29b61ce2843
* | | | | vim-patch:7.4.1629James McCoy2016-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Handling emoji characters as full width has problems with backwards compatibility. Solution: Remove ambiguous and double width characters from the emoji table. Use a separate table for the character class. (partly by Yashuhiro Matsumoto) https://github.com/vim/vim/commit/b86f10ee10bdf932df02bdaf601dffa671518a47
* | | | | vim-patch:7.4.1620James McCoy2016-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Emoji characters are not considered as a kind of word character. Solution: Give emoji characters a word class number. (Yashuhiro Matsumoto) https://github.com/vim/vim/commit/4077b33a8370afb3d5ae74e556a0119cf51fe294
* | | | | vim-patch:7.4.1604James McCoy2016-09-24
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Although emoji characters are ambiguous width, best is to treat them as full width. Solution: Update the Unicode character tables. Add the 'emoji' options. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/3848e00e0177abdb31bc600234967863ec487233
* | | | tui.c: Do not wait for tui loop on teardown. (#4789)Justin M. Keyes2016-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because terminfo_stop() already ran, there is not much reason to wait for the loop to teardown. Helped-by: Björn Linse <bjorn.linse@gmail.com> Helped-by: oni-link <knil.ino@gmail.com> Closes #4778 References #3541 --- Bug report: > After pressing `ZZ` I can find two threads freezing, occupying 100% CPU: |-systemd-+ |-nvim,11567 /home/lz/code/1.rs +set title | `-{nvim},11574 > 11567 has two threads: (gdb) info threads Id Target Id Frame * 1 Thread 0x7f7622907780 (LWP 11567) "nvim" 0x00007f76222e66bd in pthread_join () from /usr/lib/libpthread.so.0 2 Thread 0x7f761f5ff700 (LWP 11574) "nvim" 0x00007ffcec9e9c59 in clock_gettime () (gdb) thread apply all bt Thread 2 (Thread 0x7f761f5ff700 (LWP 11574)): #0 0x00007ffcec9e9c59 in clock_gettime () #1 0x00007f76210b9356 in clock_gettime () from /usr/lib/libc.so.6 #2 0x00007f7622513e3c in ?? () from /usr/lib/libuv.so.1 #3 0x00007f7622505e94 in uv_run () from /usr/lib/libuv.so.1 #4 0x00000000004822ed in loop_close (loop=loop@entry=0x7f761f5fe870) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/event/loop.c:87 #5 0x00000000005a7ec0 in tui_main (bridge=0x7f761f6ac000, ui=0x7f761f69ace0) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/tui/tui.c:234 #6 0x00000000005a9b47 in ui_thread_run (data=<optimized out>) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/ui_bridge.c:87 #7 0x00007f7622510d07 in ?? () from /usr/lib/libuv.so.1 #8 0x00007f76222e5474 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f76210ac69d in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f7622907780 (LWP 11567)): #0 0x00007f76222e66bd in pthread_join () from /usr/lib/libpthread.so.0 #1 0x00007f7622510dae in uv_thread_join () from /usr/lib/libuv.so.1 #2 0x00000000005aac9e in ui_bridge_stop (b=0x7f761f6ac000) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/ui_bridge.c:104 #3 0x00000000005a90e4 in ui_builtin_stop () at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/ui.c:91 #4 0x000000000052be09 in mch_exit (r=r@entry=1) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/os_unix.c:143 #5 0x00000000004db1cc in getout (exitval=exitval@entry=1) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/main.c:623 #6 0x00000000004fa43c in preserve_exit () at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/misc1.c:2652 #7 0x000000000052b77a in deadly_signal (signum=1) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/os/signal.c:120 #8 0x000000000052b7cf in on_signal (handle=<optimized out>, signum=<optimized out>, data=<optimized out>) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/os/signal.c:145 #9 0x0000000000484178 in signal_event (argv=<optimized out>) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/event/signal.c:44 #10 0x0000000000483b7f in queue_process_events (queue=0x7f7620417360) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/event/queue.c:142 #11 0x0000000000482208 in loop_poll_events (loop=0x84dec0 <loop>, ms=ms@entry=4000) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/event/loop.c:56 #12 0x000000000052a364 in input_poll (ms=ms@entry=4000) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/os/input.c:325 #13 0x000000000052a3e2 in inbuf_poll (ms=4000) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/os/input.c:347 #14 0x000000000052a839 in os_inchar (buf=buf@entry=0x0, maxlen=maxlen@entry=0, ms=ms@entry=-1, tb_change_cnt=tb_change_cnt@entry=0) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/os/input.c:107 #15 0x0000000000592eeb in state_enter (s=s@entry=0x7ffcec9d3560) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/state.c:46 #16 0x0000000000508533 in normal_enter (cmdwin=cmdwin@entry=false, noexmode=noexmode@entry=false) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/normal.c:464 #17 0x00000000004dc17e in main (argc=<optimized out>, argv=<optimized out>) at /tmp/yaourt-tmp-lz/aur-neovim-git/src/neovim-git/src/nvim/main.c:538
* | | | runtest.vim: Fix spelling of s:flakyJames McCoy2016-09-23
| | | |
* | | | ui_detach: Schedule refresh on main loop.Justin M. Keyes2016-09-22
| | | | | | | | | | | | | | | | Closes #4163
* | | | runtest.vim: Fix spelling of (s:)messagesJames McCoy2016-09-21
| | | |
* | | | vim-patch:7.4.1309James McCoy2016-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When a test fails not all relevant info is listed. Solution: Add the errors to the messages. https://github.com/vim/vim/commit/00af60bbb6cc7e8ccafddb30a1964f891b800bce 7.4.1309 was incorrectly marked as applied in #4301. 7.4.1477 relies on some of the changes that had been made in 7.4.1309, so this fixes the build after I, pre-emptively, merged #5038.
* | | | Merge pull request #5038 from prollings/vim-7.4.1477James McCoy2016-09-21
|\ \ \ \ | |_|/ / |/| | | vim-patch:7.4.1477
| * | | vim-patch:7.4.1477Patrick2016-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test_reltime is flaky, it depends on timing. Solution: When it fails run it a second time. https://github.com/vim/vim/commit/b5760a1ce5b700fc32b8bd11948ee189a847c59e
* | | | l10n: Update Ukrainian translation (#5343)Anatolii Sakhnik2016-09-20
| | | |
* | | | vim-patch 7.4.1266Michael Ennen2016-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: A BufAdd autocommand may cause an ml_get error (Christian Brabandt) Solution: Increment RedrawingDisabled earlier. https://github.com/vim/vim/commit/ab9fc7e0cf22bcee119b62d3433cac60f405e645
* | | | tests: migrate legacy test 12. #4196Lucas Hoffmann2016-09-18
| |/ / |/| |
* | | version.c: mark NA patches #5335Shougo Matsushita2016-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NA 2108: test_Netbeans 2114: tiny 2116: dosinst.c 2118: Tiny 2122: FEAT_CLIPBOARD 2129, 2130: timer 2131: channel 2133: Tiny 2138: if_py_both 2140: Tiny 2145, 2150: Win32 2153: GUI test 2154: Test_commnunicate() 2155: GUI test 2156: Win32 2157: test_job 2166, 2167: small build 2168: Makefile 2176: if_mzch 2182: term.c 2186: test_timers 2191, 2192: prototype 2193: GUI 2195: vimrun 2199: GUI 2202: small 2203: normal features 2206: ifdef 2207: xpm support feature 2210: configure 2211: mouse 2214: GUI 2216: test check sign feature 2218, 2234: ifdef 2238: term.c 2243: GUI 2247: ifdef 2252, 2253: GUI 2254: if_mzch 2257: if_python 2258, 2260: channel 2261: small 2262: viminfo 2267: Windows 2270: channel 2271: Netbeans 2281: timer 2282: mch_newshellsize() 2285: proto, Makefile 2286: Filelist, Makefile 2287: channel 2288: Windows 2289: Makefile 2290: FEAT_FLOAT 2297, 2298, 2301: channel 2302: Makefile 2304: timer 2308: Makefile 2310: timer 2316: channel 2325: Tiny 2327: channel 2332: timer 2338: small 2340: Makefile 2342: Windows 2344: channel 2345: Makefile 2351: test_Netbeans 2352: Makefile 2358: GUI 2359, 2361: timer 2363: regexp prototype 2365: Makefile, version8.txt, style 2366: bigvim.bat Implemented 2213: EndOfBuffer
* | | Merge #5254 from KillTheMule/vim-7.4.1952Justin M. Keyes2016-09-18
|\ \ \ | | | | | | | | vim-patch:7.4.{1952, 1990, 2033, 2284}
| * | | vim-patch:7.4.2284KillTheMule2016-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Comment in scope header file is outdated. (KillTheMule) Solution: Point to the help instead. (closes vim/vim#1017) https://github.com/vim/vim/commit/f4145d8e990a72bdfea9db3110a7e42a0ff4240c
| * | | LintKillTheMule2016-08-26
| | | |
| * | | vim-patch:7.4.2033KillTheMule2016-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'cscopequickfix' option does not accept new value "a". Solution: Adjust list of command characters. (Ken Takata) https://github.com/vim/vim/commit/6d20e1754461b0f8d395f2e3464f0dc1060497f7 All changes applied manually. Definition of `CSQF_CMDS` was moved to `option_defs.h` in nvim.
| * | | vim-patch:7.4.1990KillTheMule2016-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cscope items are not sorted. Solution: Put the new "a" command first. (Ken Takata) https://github.com/vim/vim/commit/80632db65e8f5f775dadbbc10c5ba6c173ebb24f All changes applied manually.
| * | | vim-patch:7.4.1952KillTheMule2016-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cscope interface does not support finding assignments. Solution: Add the "a" command. (ppettina, closes vim/vim#882) https://github.com/vim/vim/commit/b12e7ef956e0b0344778b7ef93d41f4b4ed2a670 All changes applied manually.
* | | | insert_enter: Update folds on insert-leave. #5351Shougo Matsushita2016-09-18
| | | | | | | | | | | | | | | | | | | | Fixes failing test: 045_folding_spec.lua References #5299
* | | | eval.c: Clean up spurious FAIL checks. (#5345)Justin M. Keyes2016-09-18
| | | | | | | | | | | | rettv_list_alloc cannot fail.
* | | | api: Establish API naming convention. (#5344)Justin M. Keyes2016-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | old name: new name: -------------------------------------------------- nvim_name_to_color nvim_get_color_by_name nvim_get_current_buffer nvim_get_current_buf nvim_get_current_window nvim_get_current_win nvim_get_buffers nvim_list_bufs nvim_get_tabpages nvim_list_tabpages nvim_get_windows nvim_list_wins nvim_set_current_buffer nvim_set_current_buf nvim_set_current_window nvim_set_current_win nvim_change_directory nvim_set_current_dir nvim_tabpage_get_window nvim_tabpage_get_win nvim_tabpage_get_windows nvim_tabpage_list_wins nvim_win_get_buffer nvim_win_get_buf nvim_report_error nvim_err_writeln Helped-by: Björn Linse <bjorn.linse@gmail.com> Helped-by: ZyX <kp-pav@yandex.ru> Helped-by: James McCoy <jamessan@jamessan.com>
* | | | test: synIDattr returns empty, not -1Stéphane Campinas2016-09-16
| | | | | | | | | | | | | | | | | | | | - Behavior changed in 7.4.1547 - Also removed N/A specs: nvim does not support ":hi term=..."
* | | | vim-patch:7.4.1547 #5326Stéphane Campinas2016-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Getting a cterm highlight attribute that is not set results in the string "-1". Solution: Return an empty string. (Taro Muraoka) https://github.com/vim/vim/commit/385111bd86e0b38667879c3e89506ca1ae98e1df
* | | | perf: Skip foldUpdate() in insert-mode. #5299Shougo2016-09-16
| | | | | | | | | | | | Closes #5270
* | | | syntax.c: Support bg/fg special color-names. #5319Kerem Cakirer2016-09-16
| | | | | | | | | | | | | | | | Refresh colors if changing Normal group
* | | | api: make nvim[_obj]_set_var and _del_var not return the old valueBjörn Linse2016-09-15
| | | |
* | | | gendispatch: warn for deprecated alias if the deprecated function has ↵Björn Linse2016-09-15
| | | | | | | | | | | | | | | | implemation
* | | | read_string: Use char if you mean char.Justin M. Keyes2016-09-13
| | | |
* | | | refactor: eliminate misc2.cJustin M. Keyes2016-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | move `call_shell` to misc1.c Move some fns to state.c Move some fns to option.c Move some fns to memline.c Move `vim_chdir*` fns to file_search.c Move some fns to new module, bytes.c Move some fns to fileio.c
* | | | vim-patch:7.4.1558 (#5333)Justin M. Keyes2016-09-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not easy to find out what windows display a buffer. Solution: Add win_findbuf(). https://github.com/vim/vim/commit/9cdf86b86f5fdb5a45b682f336846f9d9a9c6f1f
* | | | normal.c: Restore vim-like tab dragging. #4874sach1t2016-09-12
| | | | | | | | | | | | | | | | | | | | Closes #4663 References #3310
* | | | vim-patch:7.4.1535 (#5327)davix2016-09-11
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The feedkeys test has a one second delay. Solution: Avoid need_wait_return() to delay. (Hirohito Higashi) https://github.com/vim/vim/commit/9e496854a9fe56699687a4f86003fad115b3b375
* | | | vim-patch:7.4.1533 #5320Wei Huang2016-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using feedkeys() with an empty string disregards 'x' option. Solution: Make 'x' work with an empty string. (Thinca) When integrating the patch to nvim, used same logic but different code based on nvim codebase. New test passed. https://github.com/vim/vim/commit/74c5bbf13435a7ab1e3461078bbcb1200f0451e1
* | | | Merge #2789 'system(): Respect shellxescape, shellxquote'Justin M. Keyes2016-09-11
|\ \ \ \
| * | | | shell_escape: rename; refactorJustin M. Keyes2016-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rename to shell_xescape_xquote - move to os/shell.c - disallow NULL argument - eliminate casts, nesting - test: empty shellxquote/shellxescape
| * | | | system(): Respect 'sxe' and 'sxq' #2789Zhaosheng Pan2016-09-10
| | | | | | | | | | | | | | | | | | | | Fixes #2773
* | | | | Merge #5318 from equalsraf/fix-openbsdJustin M. Keyes2016-09-10
|\ \ \ \ \ | |/ / / / |/| | | | Fix OpenBSD builds
| * | | | Add compiler check for -Wno-static-in-inlineRui Abreu Ferreira2016-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add compiler check for -Wno-static-in-inline, the option is only supported in gcc >= 4.4, and some systems still ship with earlier versions of gcc (see #5300).
* | | | | eval.c: Fix memory leak for detached pty joboni-link2016-09-08
| | | | |
* | | | | eval.c: Garbage collection frees dictionary before job cleanuponi-link2016-09-08
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing a job too early from the joblist gives garbage collection the chance to also remove the job dictionary. Can be triggered with ASAN while waiting 'updatetime'ms (~5 seconds) before closing the terminal window opened with: nvim -u NONE +'call termopen("true",{})'
* | | | shada: Fix non-writeable ShaDa directory handlingZyX2016-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, nvim -i /etc/shada segfaults on exit if the file does not exist and user does not have permissions to create the file at /etc/shada. Closes #5296 Reported in #5277 https://github.com/neovim/neovim/issues/5277#issuecomment-243937255
* | | | getcwd(): Return empty string if CWD is invalid. #5292HiPhish2016-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #5291 Restores behaviour identical to Vim. If the user calls the VimScript function 'getcwd()' and the working directory cannot be found (for example because the directory has been deleted since the last time it was used) an empty string needs to be returned instead of throwing an error.
* | | | vim-patch:7.4.1913 (#5260)Jurica Bradarić2016-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When ":doautocmd" is used modelines are used even when no autocommands were executed. (Daniel Hahler) Solution: Skip processing modelines. (closes vim/vim#854) https://github.com/vim/vim/commit/1610d052413e0ed664498853a47acc2d677a22d1
* | | | vim-patch:7.4.1971 (#5262)Jurica Bradarić2016-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not easy to see unrecognized error lines below the current error position. Solution: Add ":clist +count". https://github.com/vim/vim/commit/e8fea0728a2fa1fe78ef0ac90dee1a84bd7ef9fb
* | | | test: Add unittest spec for option.c (#5289)Kalle Ranki2016-09-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move typedef expand_T to types.h for tests Fix lint error for old style comments Describe 'check_ff_value' valid values as an initial test. Fix 'get_sts_value' comment inaccuracy and add unit test for it
* | | | tchdir: New tab should inherit CWD. (#5227)Alejandro Sanchez2016-09-04
| | | | | | | | | | | | | | | | When a new tabpage gets created it will copy the local working directory of the previous one, if there is any.