Justin M. Keyes
8887ccffa6
Merge pull request #4049 from watiko/vim-7.4.616
...
vim-patch:7.4.616
2016-01-21 02:05:40 -05:00
Justin M. Keyes
542c79f20d
test: printf_spec: fix missing setup
...
before_each(clear) is required to init the test harness for single-test
runs, and also to ensure a known environment for each test.
2016-01-21 01:34:56 -05:00
Justin M. Keyes
9eb6a44564
Merge #3916 "Add support for binary numbers".
2016-01-21 01:34:36 -05:00
watiko
5fa082fa85
tests: Migrate legacy test 39.
2016-01-21 14:05:02 +09:00
Florian Walch
03d8adda8e
vim-patch.sh: List in chronological order. #4034
2016-01-20 22:16:56 -05:00
Michael Reed
a2ec5a569b
Merge pull request #4061 from Pyrohh/doc
...
[RFC] doc: The ":drop" command is always available
2016-01-20 19:23:29 -05:00
Michael Reed
d70b57264b
Merge pull request #4052 from sethjackson/anchor
...
[RFC] gitignore: Anchor errors.json
2016-01-20 17:04:31 -05:00
Michael Reed
23a83d24a6
doc: The ":drop" command is always available
2016-01-20 17:02:32 -05:00
Björn Linse
297075bf47
Merge pull request #3944 from bfredl/detach
...
job control: add `detach` option and `jobpid` function and teardown PTY processes correctly.
2016-01-20 11:55:40 +01:00
Björn Linse
f6ecd127b9
job control: don't kill PTY processes on exit
...
These will automatically recieve SIGHUP on closing PTY master.
2016-01-20 11:09:29 +01:00
Björn Linse
4618307a6c
job control: add tests for 'jobpid' and 'detach'
2016-01-20 11:09:29 +01:00
Björn Linse
f338ea7835
job control: implement jobpid() to get PID of job
2016-01-20 11:09:29 +01:00
Björn Linse
49f0417988
clipboard: Detach clipboard helper, so contents is kept after nvim exit
2016-01-20 11:09:29 +01:00
Björn Linse
d0d5d17b69
job control: add 'detach' option to jobstart
2016-01-20 11:09:25 +01:00
watiko
ac0f979501
vim-patch:7.4.603
...
Problem: 'foldcolumn' may be set such that it fills the whole window, not
leaving space for text.
Solution: Reduce the foldcolumn width when there is not sufficient room.
(idea by Christian Brabandt)
1c93429c48
2016-01-20 18:30:28 +09:00
Seth Jackson
a480614cb0
gitignore: Anchor errors.json
2016-01-19 21:55:43 -05:00
Jurica Bradaric
a118abca77
Add eol to listchars for mouse specification tests
...
This is consistent with VIM behavior. When showing a visual selection,
VIM only extends it past the last character if eol is in listchars (even
if nolist is set).
2016-01-19 08:47:49 +01:00
Jurica Bradaric
1c91dc8a5e
screen: Fix linting errors
2016-01-19 08:25:54 +01:00
Jurica Bradaric
21afabb9e8
vim-patch:7.4.729
...
Problem: Occasional crash with 'list' set.
Solution: Fix off-by-one error. (Christian Brabandt)
2016-01-19 08:25:54 +01:00
watiko
c90784836b
vim-patch:7.4.616
...
Problem: Cannot insert a tab in front of a block.
Solution: Correctly compute aop->start. (Christian Brabandt)
f2c03d7301
2016-01-19 12:29:37 +09:00
Seth Jackson
33321f2c85
config: Remove HAVE_UNISTD_H.
...
Unix systems must have this header but Windows does not have it at all.
Since src/nvim/os/unix_defs.h includes <unistd.h> without the guard
in order to avoid including this in the numerous places we would
need <unistd.h> on Unix we just include src/nvim/os/os.h which will pull
in <unistd.h> for us.
2016-01-18 13:48:47 -05:00
Justin M. Keyes
ee0e214427
Merge pull request #4046 from strokirk/fix-redirectstream-iobase
...
python: Add missing I/O methods to RedirectStream
2016-01-18 13:44:26 -05:00
Michael Reed
74d450aa7b
Merge pull request #4044 from sethjackson/utime
...
[RFC] config: Remove duplicate check for HAVE_UTIME_H
2016-01-18 13:05:25 -05:00
Dan Strokirk
38435e8a05
python: Add missing I/O methods to RedirectStream
...
`RedirectStream` is used to redirect `stdout` and `stderr`, but are
missing certain I/O methods available on other file-like objects.
This causes external plugins (like `colorama`) to crash.
Inheriting from `io.IOBase` adds an abstract implementation of these
methods, which will at least keep the python code running.
Fixes #4045
2016-01-18 17:22:11 +01:00
Justin M. Keyes
9c811c6ba6
Merge pull request #4038 from sethjackson/build-type-cache
...
Defer setting CMAKE_BUILD_TYPE CACHE property
2016-01-18 10:13:54 -05:00
Seth Jackson
51d95d1438
config: Remove duplicate check for HAVE_UTIME_H.
2016-01-18 09:22:25 -05:00
Rui Abreu Ferreira
1eaa2227e9
CMake: Defer setting CACHE CMAKE_BUILD_TYPE.
...
The Visual Studio CMake generator fails to configure if
CACHE CMAKE_BUILD_TYPE is set before CMAKE_BUILD_TYPE.
2016-01-18 09:18:18 -05:00
Rui Abreu Ferreira
f5ae5fa799
MSVC+CMake: avoid get_target_property. #4004
...
When using the Visual Studio generator don't use get_target_property for
custom command, because it returns unexpanded VS variables (e.g.
$(Configuration)) within the result as part of the LOCATION path.
The single case where this is a problem is for getting the output path for
nvim-test, instead we use a path here.
2016-01-17 22:59:55 -05:00
Justin M. Keyes
3875d0bdf6
Merge pull request #4037 from watiko/fix-doc-mem
...
doc: Remove MEM_PROFILE related description
2016-01-17 22:53:02 -05:00
Justin M. Keyes
1a958345e2
Merge pull request #3981 from watiko/vim-7.4.991
...
Vim 7.4.9{78,80,81,91}
2016-01-17 22:51:06 -05:00
watiko
a119db78d7
doc: Remove MEM_PROFILE related description
...
This feature was already removed.
83161200c4
2016-01-18 12:45:30 +09:00
Justin M. Keyes
5f33f581a7
Merge pull request #4035 from heewa/fix-ycm-path
...
fix YouCompleteMe db path in config
2016-01-17 22:41:55 -05:00
Justin M. Keyes
92f7dc1c4b
Merge pull request #3967 from cacplate/pr-3698
...
Change return type to bool in fileio.c (adoption of PR 3698)
2016-01-17 21:53:49 -05:00
Heewa Barfchin
9c2a156faa
Improve YCM contrib: Fix db path
2016-01-17 20:50:10 -05:00
Justin M. Keyes
d1aa549735
Merge pull request #3997 from cacplate/do_init
...
remove DO_INIT macro
2016-01-17 19:30:33 -05:00
Florian Walch
9b550a8760
vim-patch.sh: Fix listing of NA patches. #4034
2016-01-17 19:18:45 -05:00
Charles Joachim
a29b08ca5a
fileio: Change return types to bool
...
Co-authored-by: Wayne Rowcliffe (@war1025)
2016-01-17 10:53:50 -05:00
Charles Joachim
d858315e59
globals: remove DO_INIT macro and replace usage by INIT
2016-01-17 10:46:52 -05:00
Rui Abreu Ferreira
8099275082
Windows: include <io.h>.
...
if_csope.c uses _open_osfhandle so include the necessary header.
Futher we need <io.h> for read/write/close/lseek.
See: https://msdn.microsoft.com/en-us/library/bdts1c9x.aspx
2016-01-17 09:33:23 -05:00
Michael Reed
55a345c3e7
Merge pull request #4027 from sethjackson/fcntl
...
[RFC] Windows: Include <fcntl.h> for file constants
2016-01-17 03:06:26 -05:00
Michael Reed
a3a7afded6
Merge pull request #4025 from Pyrohh/nofollow
...
[RFC] os/win_defs.h: Define O_NOFOLLOW
2016-01-17 03:05:11 -05:00
Seth Jackson
4f18e0f678
Windows: Include <fcntl.h> for file constants.
...
This header is required by POSIX for the constants (O_RDONLY, etc.)
but we were only including it on Unix systems as a side effect of
including <unistd.h>.
2016-01-17 00:28:53 -05:00
Michael Reed
3b4d1ab180
os/win_defs.h: Define O_NOFOLLOW
...
It's not present on Windows; see the discussion in #4024 .
2016-01-16 18:58:28 -05:00
Seth Jackson
a7ade5c832
misc: UNIX => Unix #4022
...
Although UNIX is a registered trademark of The Open Group, it doesn't
really matter whether we refer to these systems as UNIX, Unix, or
Unix-like. So, for consistency, refer to them collectively as Unix.
Related:
http://www.greens.org/about/unix.html
http://www.unixica.com/html/unixunix.html
2016-01-16 18:34:31 -05:00
Seth Jackson
0735b05c82
doc: Remove reference to gettimeofday()
...
We use libuv for high resolution time now so this note is irrelevant.
2016-01-16 14:13:05 -05:00
Seth Jackson
e4fb777252
doc: Remove more references to MS-DOS
...
Among other things, this includes:
- lies about command.com
- references to pcterm
2016-01-16 14:12:56 -05:00
Seth Jackson
ba3123c88f
doc: cleanup. #4032 #4033
2016-01-16 01:01:54 -05:00
Michael Reed
704882e8dc
Merge pull request #4029 from sethjackson/fcntl
...
[RFC] config: Remove HAVE_FCNTL_H
2016-01-17 11:58:05 -05:00
Michael Reed
3920e7680d
Merge pull request #4020 from sethjackson/uv-include
...
[RFC] Windows: Include <uv.h> for S_IFLNK
2016-01-17 11:56:47 -05:00
Seth Jackson
5dfbe6685d
config: Remove HAVE_FCNTL_H.
...
We do not use it and all systems we support have <fcntl.h>.
2016-01-17 09:40:07 -05:00