aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Mingw: Use POSIX compatible stdio #3232Rui Abreu Ferreira2015-08-25
| | | | | | - There are some differences between stdio (*printf) functions in POSIX and the MS runtime, this commit enables Mingw compatibility for these functions
* 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.
* Windows: Accept CRLF in msgpack-gen.lua grammar #3226Rui Abreu Ferreira2015-08-24
| | | | - MSVC generates output using Windows newlines (\r\n) instead of (\n).
* 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.
* tests: fix the glob tests when building under a long path #3214John Szakmeister2015-08-21
|
* Merge PR #3210 'Bugfixes'Thiago de Arruda2015-08-21
|\ | | | | | | | | Helped-by: oni-link <knil.ino@gmail.com> Reviewed-by: oni-link <knil.ino@gmail.com>
| * 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
* provider/pythonx.vim: Use shell-agnostic construction. #3190sanmiguel2015-08-21
|
* ci: Use error suppression in place of ignored files list. #3185ZyX2015-08-20
| | | | Fixes #3174
* 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
| * | documentation: Document table meanings in comment to genunicodetablesZyX2015-07-26
| | |
| * | Update unicode filesZyX2015-07-26
| | |
| * | Create script that downloads and commits UNIDATA filesZyX2015-07-26
| | |
| * | Generate unicode tables with script when buildingZyX2015-07-26
| | |
* | | runtime: When generating helptags run NeoVim in headless modeZyX2015-08-19
| |/ |/| | | | | | | | | I see that problem fixed by #2801 was resurrected by making help tags file generated in a more direct way. This fixes the hang without using the empty file.
* | Merge pull request #3184 from justinmk/remove_is_readonlyJustin M. Keyes2015-08-18
|\ \ | | | | | | os/fs.c: remove os_file_is_readonly()
| * | os/fs.c: remove os_file_is_readonly()Justin M. Keyes2015-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | os_file_is_readonly() in its current form is equivalent to !os_file_is_writable(). This does not appear to be a bug, because Vim's use of check_file_readonly() (which we changed to os_file_is_readonly()) is equivalent to !os_file_is_writable() in every case. os_file_is_readonly() also fails this test: returns false if the file is non-read, non-write A more useful form would define behavior under these cases: - path is executable (but not writable) - path is non-existent - path is directory But there is no reason for os_file_is_readonly() to exist, so remove it.
| * | test: more cases for os_file_is_readonly()Justin M. Keyes2015-08-17
| | |
* | | Merge pull request #2910 from blueyed/python-fix-path_hookJustin M. Keyes2015-08-17
|\ \ \ | |/ / |/| | Python: fixes for sys.path_hooks handler
| * | python: VimPathFinder: remove unused load_module methodDaniel Hahler2015-07-09
| | | | | | | | | | | | This method was not used, but `VimModuleLoader.load_module` is.
| * | python: path_hook: properly implement PEP302Daniel Hahler2015-07-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The path hook used to load the module already in the `find_module` hook. This caused different behaviour between Python 2.7 and 3.3, where the former would call the `VimModuleLoader`, while Python 3.3 appears to short-circuited this (because the module was loaded already). This patch will now only find the module, but not load it in the `find_module` hook.
| * | python: VimModuleLoader: check sys.modules[fullname]Daniel Hahler2015-07-09
| | | | | | | | | | | | This is required by PEP302 for `reload()`ing modules.
| * | python: VimPathFinder: use find_spec for Python 3.4Daniel Hahler2015-07-09
| | | | | | | | | | | | Fixes https://github.com/neovim/neovim/issues/2909
* | | Merge pull request #3166 from justinmk/file_is_readableJustin M. Keyes2015-08-17
|\ \ \ | | | | | | | | os_file_is_readable()
| * | | os_file_is_*: libuv implJustin M. Keyes2015-08-17
| | | | | | | | | | | | | | | | | | | | | | | | - uv_fs_access() is far more robust than access(). In particular, it handles utf16 paths (Windows). - Still need R_OK, W_OK in win_defs.h
| * | | win_defs.h: define R_OK, W_OK for MSVC.Rui Abreu Ferreira2015-08-17
| | | |
| * | | test: cover os_file_is_readable()Justin M. Keyes2015-08-17
| | | |
| * | | fs.c: implement os_file_is_readable()Justin M. Keyes2015-08-17
|/ / / | | | | | | | | | | | | | | | | | | Use access() because: - We already use it for os_file_is_writable() - Vim's old check_file_readonly() ends up using access() after all.
* | | tutor: avoid 'wildignore' painJustin M. Keyes2015-08-16
| | |
* | | Merge pull request #3179 from ZyX-I/clint-find-new-errorsJustin M. Keyes2015-08-16
|\ \ \ | | | | | | | | Add ability to suppress errors to clint.py
| * | | vim.h: Fix error which is not suppressed by clintZyX2015-08-16
| | | |
| * | | clint: Add support for errors suppressionZyX2015-08-15
| | | |
* | | | rstream.c: Prevent stream closing if a read event is still queued. #3172oni-link2015-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Processing a stream's output can be queued. If stream_close() is called before the queue is processed, the RBuffer containing the stream's data is freed and the next read event would try to access freed memory. To fix this behavior, use the stream's pending requests counter.
* | | | Remove unused assignement #3173Pepe Padial2015-08-16
| | | | | | | | | | | | | | | | | | | | Based on this report http://neovim.io/doc/reports/clang/report-808d3e.html#EndPath