aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* loop: Improvements for thread-safetyThiago de Arruda2015-09-06
| | | | | | - Implement `loop_schedule` method for queueing events from other threads - Make `loop_poll_events` `recursive` static variable a field of the Loop structure
* queue: Allow direct appending to parent queuesThiago de Arruda2015-09-06
|
* log: Make logging thread-safeThiago de Arruda2015-09-06
|
* build: Disable gcov on TSAN buildsThiago de Arruda2015-09-06
| | | | It seems GCOV does not play well with TSAN as it reports false data races
* tui: Move screen state tracking to new "ugrid" moduleThiago de Arruda2015-09-06
| | | | | The ugrid module implements a unicode "drawing" grid and is used to store TUI screen state. Later this module will be reused in other layers.
* tui: move term_input.inl into the input.c moduleThiago de Arruda2015-09-06
|
* vim-patch:7.4.602oni-link2015-09-06
| | | | | | | Problem: ":set" does not accept hex numbers as documented. Solution: Use vim_str2nr(). (ZyX) https://github.com/vim/vim/commit/18400e6430755c97eb7e31525ab4744502603731
* MSVC: Include limits.h for INT_MAX. #3290Rui Abreu Ferreira2015-09-05
|
* do_path_expand: Avoid non-readable directories. #3273Felipe Morales2015-09-04
| | | | | | | | | | Closes https://github.com/neovim/neovim/issues/3164 Closes https://github.com/neovim/neovim/issues/3194 Closes https://github.com/neovim/neovim/issues/3221 Helped-by: @splinterofchaos Helped-by: @oni-link Helped-by: @justinmk
* fixup: appease clintFelipe Morales2015-09-04
|
* Remove instances of TRUE/FALSE macroSteven Oliver2015-09-04
| | | | | | memory.c os_unix.c path.c
* Windows: Move file_info_old declaration out of UNIX block #3260Rui Abreu Ferreira2015-08-31
|
* clipboard: avoid clipboard during :global. #2809Felipe Morales2015-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is equivalent to patches 7.4.396, 7.4.445 and 7.4.598. vim-patch:7.4.396 Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful) Solution: Only set the clipboard after the last delete. (Christian Brabandt) https://github.com/vim/vim/commit/1f285eb49a709e00552f7bef7e74efff5ae79026 vim-patch:7.4.445 Problem: Clipboard may be cleared on startup. Solution: Set clip_did_set_selection to -1 during startup. (Christian Brabandt) https://github.com/vim/vim/commit/1a19d37d90f037c09183ba68fdddf70ab8ee179a vim-patch:7.4.598 Problem: ":tabdo windo echo 'hi'" causes "* register not to be changed. (Salman Halim) Solution: Change how clip_did_set_selection is used and add clipboard_needs_update and global_change_count. (Christian Brabandt) https://github.com/vim/vim/commit/af6a579263a688f30bfbbee72b28d08cc7e0f3d4 Co-Author: @bfredl
* termopen(): remove `name` feature. #3181Mathieu Xhonneux2015-08-30
| | | | | | | | | | | Problem: Commands like `:e term://top` display `term://.//PID:(null)` instead of `term://.//PID:top`. Solution: Remove the optional `name` argument (it allowed ambiguous/potentially destructive cases, so it was problematic anyway). Closes #3113 Closes #2924
* Windows: Define USE_CRNL on Windows. #3249Seth Jackson2015-08-28
|
* Windows: restore 'shell', 'shellcmdflags' defaults. #3256Rui Abreu Ferreira2015-08-28
| | | | | - On Windows the default shell is cmd.exe and the shell flag is /c - vim-patch:0
* MSVC: use MSVC instead of GCC-like compiler flags.Justin M. Keyes2015-08-27
| | | | | | | | - We can build with /W4, but it gives thousands of warnings. - _CRT_NONSTDC_NO_DEPRECATE disables warnings about POSIX functions. https://msdn.microsoft.com/en-us/library/ms235384.aspx - _CRT_SECURE_NO_WARNINGS https://msdn.microsoft.com/en-us/library/8ef0s5kh.aspx
* Windows: avoid "uv_" naming conflicts. #3225Seth Jackson2015-08-27
|
* version.c: mark patches NA #3252Chiu-Hsiang Hsu2015-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | * .777 (README) https://github.com/vim/vim/commit/694cac7a352ea66827cd94ed1ccbc2fc5655e9cc * .778 (Coverity warnings) presumably fixed by 9de544c785aa11a9edf380bc8aeaabad75357aa9 https://github.com/vim/vim/commit/ae2fe73abc954b8fd3dbd7994daa8e31e6690bd0 * .780 (Compiler complains) https://github.com/vim/vim/commit/1db43b1145fe466b5d41af6744a08083983de3a9 * .783 (copy_chars, copy_spaces) see c7292866043cc426d394aa6b586168dc2112daef https://github.com/vim/vim/commit/2536d4f396680f079e2cb96f9787a434846b5ce7 * .788 (fix build, #ifdef) we don't have integrated crypto, see #699 https://github.com/vim/vim/commit/5cbb8dbc329ab33ce56ea7ce4695778630c4e9ee * .794 (Make_mvc.mak) we have a completely different build system https://github.com/vim/vim/commit/d4a95c3bc5a70f43db0abd020a15d8a1a65db961 * .796 (Compiler warnings) https://github.com/vim/vim/commit/33c3a694fca7978cdd28c5e41b498473a08bc05e Reviewed-by: Michael Reed <Pyrohh@users.noreply.github.com>
* os/os_defs.h cleanup: Remaining signal stuffMichael Reed2015-08-27
| | | | | | | | | | | | RETSIGTYPE, SIGRETURN, and SIGDEFARG are always defined the same, so inline them for simplicity; SIGDUMMYARG, however, is unused, so remove it. Even if these things don't work on windows, the signal handler in if_cscope.c is already wrapped with '#idef UNIX', as is its only call site. Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
* os/os_defs.h cleanup: SIGHASARGMichael Reed2015-08-27
| | | | It's always defined, so the #else is redundant.
* os/os_defs.h cleanup: SIGHAS3ARGSMichael Reed2015-08-27
| | | | | | | | | | | SIGHAS3ARGS appears in Vim's source code like this: /* List 3 arg systems here. I guess __sgi, please test and correct me. jw. */ if defined(__sgi) && defined(HAVE_SIGCONTEXT) define SIGHAS3ARGS endif Given we don't support SGI, remove it.
* os/os-defs.h cleanup: Don't include <time.h>Michael Reed2015-08-27
| | | | | Any files which need definitions from <time.h> should include it, not "os/os_defs.h".
* vim-patch:7.4.836 #3244Justin M. Keyes2015-08-26
| | | | | | | Problem: Accessing unitinialized memory. Solution: Add missing calls to init_tv(). (Dominique Pelle) https://github.com/vim/vim/commit/0a38dd29d6f65aa601162542a5ab0ba7f308fc8e
* test59: Delete oldtests 58 and 59Björn Linse2015-08-26
|
* MSVC: include os/os_defs.h for `inline`. #3239Rui Abreu Ferreira2015-08-25
|
* Move MAX and MIN macros to macros.hMichael Reed2015-08-25
| | | | | | | | vim.h is too big, and these were missing parens around the arguments. These may already be defined in <sys/param.h> or <windef.h>, so guard them with an #ifndef. extracted from #810
* MSVC: Define `inline` and `restrict`. #3237Seth Jackson2015-08-25
| | | | | | | | MSVC 2015 defines __func__ (C++11). https://msdn.microsoft.com/en-us/library/dn919276.aspx MSVC only allows inline in C++ and requires __inline in C instead. https://msdn.microsoft.com/en-us/library/bw1hbe6y.aspx
* fix strict-overflow cases #3236Nikolay Orlyuk2015-08-25
|
* screen.c: remove `screen_char_attr` #3235Justin M. Keyes2015-08-25
| | | | | | | screen_char_attr is always 0, it was obviated by 3baba1e7bc6698e6bc9f1d37fce88b30d6274bc9. References #1889
* vim-patch:7.4.799Chiu-Hsiang Hsu2015-08-25
| | | | | | | Problem: Accessing memory before an allocated block. Solution: Check for not going before the start of a pattern. (Dominique Pelle) https://github.com/vim/vim/commit/v7-4-799
* Windows: Define ssize_t and SSIZE_MAX. #3228Seth Jackson2015-08-25
| | | | | Remove R_OK, W_OK defines because os/os.h includes <uv.h> which includes uv-win.h which defines R_OK and W_OK.
* defaults: set 'laststatus' to 2. #2876Felipe Morales2015-08-24
|
* remove references to <sys/time.h>Justin M. Keyes2015-08-24
| | | | | Since gettimeofday() was replaced by os_time in fb5a786bdb5b7b52b9c36b3eb8b6d2cc002aa8f3 we do not need sys/time.h.
* Windows: is_executable(): do not check exec bit.Rui Abreu Ferreira2015-08-23
| | | | | | | | | In Windows there is no equivalent to the filesystem executable bit; the documentation states that for Windows :executable() returns 1 for all files. But this behaviour was broken because is_executable() checked for the UNIX bit. When WIN32 is defined we now skip the S_IXUSR check.
* Windows: Add has('win32'). #3223Rui Abreu Ferreira2015-08-23
| | | | References #810
* defaults: set 'listchars' to "tab:> ,trail:-,nbsp:+". #2872Felipe Morales2015-08-22
| | | | Re: https://github.com/neovim/neovim/issues/2676
* terminal: Fix use after freeThiago de Arruda2015-08-22
| | | | | Since close_cb may free the terminal structure, save the "wipe" flag before calling it.
* terminal: Only wipe buffer terminal_close wasn't calledThiago de Arruda2015-08-21
| | | | | | | After @250aca4f8938 it is possible that terminal_close will be called without invoking the close_cb(which normally destroys the terminal structure). If this happens, the terminal buffer will already be deleted so there's no need to call `bwipeout!`.
* main: Initialize event loop before command_line_scanThiago de Arruda2015-08-21
| | | | | | | | The call to `event_init()` was too late. `command_line_scan()` in `main()` could already need the loop initialized. Ref https://github.com/neovim/neovim/issues/3045#issuecomment-123405833. A consequence of this change is that it was necessary to move the `channel_from_stdio()` call to `command_line_scan()` when embedded_mode is set.
* eval: Protect job callbacks from being redefinedThiago de Arruda2015-08-21
| | | | ref: #3188
* tui/remote_ui: Fix some regressionsThiago de Arruda2015-08-21
| | | | | | | | - Explicitly set the SignalWatcher event queue. Without this, the watcher will publish events to the fast queue, resulting in resize bugs for certain terminals(#2322). - Set `async = false` to the `remote_ui_attach` handler(It was a deferred before, this is the new equivalent)
* Notify attached UIs whenever menus changeRobin Allen2015-08-21
| | | | | This adds a redraw notification "update_menu" which is sent whenever Vim's menus are changed by the :menu command and friends.
* terminal.c: Events in terminal_enter() should not free the terminaloni-link2015-08-21
| | | | | | | | | | | It is possible for a processed event in the input loop of terminal_enter() to destroy the terminal. But this is undetected by the function and it still tries to use the freed terminal. Use a reference count to delay the freeing of the terminal until terminal_enter() returns. Fixes #3112
* Fix lint errors #3204Steven Oliver2015-08-20
| | | | Remove formatting errors from arabic.c and cursor_shape.c
* Merge pull request #3203 from jamessan/vim-7.4.813Justin M. Keyes2015-08-20
|\ | | | | Add getcharsearch() and setcharsearch()
| * 7.4.813James McCoy2015-08-20
| | | | | | | | | | | | | | | | | | | | | | patch 7.4.813 Problem: It is not possible to save and restore character search state. Solution: Add getcharsearch() and setcharsearch(). (James McCoy) https://github.com/vim/vim/releases/tag/v7.4.813 https://github.com/vim/vim/releases/tag/v7.4.826 Signed-off-by: James McCoy <vega.james@gmail.com>
| * Update patches list, 7.4.791 - 7.4.826James McCoy2015-08-19
| | | | | | | | Signed-off-by: James McCoy <vega.james@gmail.com>
* | Merge pull request #2159 from ZyX-I/auto-unicodeJustin M. Keyes2015-08-19
|\ \ | |/ |/| Generate unicode tables with script
| * Create script that downloads and commits UNIDATA filesZyX2015-07-26
| |