aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Windows: Only link against libm, libutil on Unix. #3324Rui Abreu Ferreira2015-09-10
|
* Merge #3297 'move.c refactor'Justin M. Keyes2015-09-10
|\
| * Scope variables in move.cNicolas Cornu2015-09-08
| |
| * Replace TRUE/FALSE with true/false in move.cNicolas Cornu2015-09-08
| |
| * hasFolding return bool nowNicolas Cornu2015-09-08
| |
| * hasFoldingWin now return boolNicolas Cornu2015-09-08
| |
| * win_T.w_cline_folded from int to boolNicolas Cornu2015-09-07
| |
* | Merge pull request #3298 from oni-link/vim-7.4.609Justin M. Keyes2015-09-09
|\ \ | | | | | | vim-patch:7.4.609
| * | vim-patch:7.4.609oni-link2015-09-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: For complicated list and dict use the garbage collector can run out of stack space. Solution: Use a stack of dicts and lists to be marked, thus making it iterative instead of recursive. (Ben Fritz) https://github.com/vim/vim/commit/2459a5ecaa43c8549ea53e9364253ff891676da5
* | | Merge pull request #3308 from oni-link/fix.clang.reportJustin M. Keyes2015-09-09
|\ \ \ | | | | | | | | Fix warning: stream.c: stream_init(): Dead store: HI.
| * | | Fix warning: stream.c: stream_init(): Dead store: HI.oni-link2015-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem : Dead store @ 59. Diagnostic : Harmless issue. Rationale : loop is a function parameter that is not used anymore after this line. Resolution : Remove line. Based on: http://neovim.io/doc/reports/clang/report-27475f.html#EndPath
* | | | api: buffer_insert: fix bounds. #3315Enrico Ghirardi2015-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer_insert calls buffer_set_line_slice excluding the start line number and including the end, but it should be the opposite. Closes https://github.com/neovim/neovim/issues/3212 Closes https://github.com/neovim/python-client/issues/103
* | | | encoding: Update handling of encoding in testsBjörn Linse2015-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Always run tests with encoding=utf-8, regardless of user locale Don't set &encoding after startup in tests Helped-By: Michael Reed <m.reed@mykolab.com>
* | | | encoding: simplify handling of encoding in TUIBjörn Linse2015-09-08
| | | |
* | | | encoding: don't allow changing encoding after startup scriptsBjörn Linse2015-09-08
|/ / /
* | | Windows: disable libuv argument escaping for uv_spawn #3305Rui Abreu Ferreira2015-09-08
| | | | | | | | | | | | | | | | | | When calling uv_spawn to launch a process set the libuv process flag UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS to disable escaping for the arguments otherwise libuv will wrap arguments in quotes.
* | | MSVC: Fix declaration generation. #3301Rui Abreu Ferreira2015-09-07
|/ /
* | tui: Refactor for running in another threadThiago de Arruda2015-09-06
| |
* | ui: Implement module for thread-safe communication with UThiago de Arruda2015-09-06
| | | | | | | | | | The ui_bridge.c module implements a surrogate UI that forwards calls to another thread.
* | 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