| Commit message (Collapse) | Author | Age |
| ... | |
| | |
|
| |
|
|
|
|
| |
memory.c
os_unix.c
path.c
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
| |
- On Windows the default shell is cmd.exe and the shell flag is /c
- vim-patch:0
|
| |
|
|
|
|
|
|
| |
- 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
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .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>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
| |
It's always defined, so the #else is redundant.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Any files which need definitions from <time.h> should include it,
not "os/os_defs.h".
|
| |
|
|
|
|
|
| |
Problem: Accessing unitinialized memory.
Solution: Add missing calls to init_tv(). (Dominique Pelle)
https://github.com/vim/vim/commit/0a38dd29d6f65aa601162542a5ab0ba7f308fc8e
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
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 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
|
| | |
|
| |
|
|
|
|
|
| |
screen_char_attr is always 0, it was obviated by
3baba1e7bc6698e6bc9f1d37fce88b30d6274bc9.
References #1889
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
| |
Since gettimeofday() was replaced by os_time in
fb5a786bdb5b7b52b9c36b3eb8b6d2cc002aa8f3 we do not need sys/time.h.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
References #810
|
| |
|
|
| |
Re: https://github.com/neovim/neovim/issues/2676
|
| |
|
|
|
| |
Since close_cb may free the terminal structure, save the "wipe" flag before
calling it.
|
| |
|
|
|
|
|
| |
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!`.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
ref: #3188
|
| |
|
|
|
|
|
|
| |
- 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)
|
| |
|
|
|
| |
This adds a redraw notification "update_menu" which is sent whenever
Vim's menus are changed by the :menu command and friends.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Remove formatting errors from arabic.c and cursor_shape.c
|
| |\
| |
| | |
Add getcharsearch() and setcharsearch()
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| | |
Signed-off-by: James McCoy <vega.james@gmail.com>
|
| |\ \
| |/
|/| |
Generate unicode tables with script
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| | |
- 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
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
Use access() because:
- We already use it for os_file_is_writable()
- Vim's old check_file_readonly() ends up using access() after all.
|
| |\ \
| | |
| | | |
Add ability to suppress errors to clint.py
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | |
| | |
| | |
| | | |
Based on this report
http://neovim.io/doc/reports/clang/report-808d3e.html#EndPath
|