Seth Jackson
a480614cb0
gitignore: Anchor errors.json
2016-01-19 21:55:43 -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
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
Rui Abreu Ferreira
d38d6486f2
Windows: Include <uv.h> for S_IFLNK.
...
S_IFLNK is not defined on Windows but libuv defines it for us.
2016-01-17 09:33:43 -05:00
Justin M. Keyes
dddbf9c5fa
Merge pull request #4021 from jusga/vim-f3c2afb
...
vim-patch:f3c2afb
2016-01-15 12:03:44 -05:00
Justin Gassner
fec466c72e
vim-patch:f3c2afb
...
Update a few runtime files.
f3c2afb77f
2016-01-15 16:09:46 +01:00
watiko
6f88dca92d
tests: Migrate legacy test cdo.
2016-01-15 23:50:04 +09:00
watiko
4eba134a55
vim-patch:7.4.991
...
Problem: When running new style tests the output is not visible.
Solution: Add the testdir/messages file and show it. Update the list of
test names.
096c8bb40d
2016-01-15 23:50:04 +09:00
watiko
9d18492793
vim-patch:7.4.981
...
Problem: An error in a test script goes unnoticed.
Solution: Source the test script inside try/catch. (Hirohito Higashi)
4686b323e4
2016-01-15 23:50:04 +09:00
watiko
1231f0b001
vim-patch:7.4.980
...
Problem: Tests for :cdo, :ldo, etc. are outdated.
Solution: Add new style tests for these commands. (Yegappan Lakshmanan)
57d7971b5f
2016-01-15 23:50:04 +09:00
watiko
85d06fef16
vim-patch:7.4.978
...
Problem: test_cdo fails when using another language than English.
Solution: Set the language to C. (Dominique Pelle)
c42b9c670e
2016-01-15 23:50:04 +09:00
watiko
8b173a1de5
tests: Remove needless line continuation.
2016-01-15 23:50:04 +09:00
Michael Reed
f433f569a3
Revert ROOT_UID removal
...
It helps clarify intent for those unaware of root's UID.
see https://github.com/neovim/neovim/pull/4015#discussion_r49822371
2016-01-15 03:03:18 -05:00
Michael Reed
d4fb5920d3
Merge pull request #4019 from Pyrohh/fcntl
...
[RFC] test: sys/fcntl.h -> fcntl.h
2016-01-15 00:33:49 -05:00
Michael Reed
0b23dec35e
Merge pull request #4015 from Pyrohh/os_defs_more
...
[RFC] Misc. macro cleanup
2016-01-15 00:27:06 -05:00
Michael Reed
07265d221f
Misc. macro cleanup
...
- ROOT_UID's comment is misleading, as it's always defined to 0.
- SEEK_{SET,END} & O_NOFOLLOW should already be defined on Unix-like
systems in <stdio.h> and <fcntl.h>, respectively. In any case,
neither of those #ifdef blocks should be in the middle of source files.
- The S_IS{LNK,DIR,...} macros should only be undefined on Windows.
2016-01-14 23:38:26 -05:00
Michael Reed
729064af5f
test: sys/fcntl.h -> fcntl.h
...
POSIX.1-2008[1] says that the latter should be used, and all of our
supported platforms would seem to support this scheme, apparently even
Windows[2].
[1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html
[2]: https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx
2016-01-14 23:36:58 -05:00
Justin M. Keyes
24fbb2c866
Merge pull request #4014 from jusga/vim-2b8388b
...
vim-patch:2b8388b
2016-01-14 23:14:23 -05:00
Seth Jackson
4034670568
doc: Remove references to the Mac GUI #4016
...
We don't support it.
2016-01-14 23:04:58 -05:00
Michael Reed
65394777d5
Merge pull request #4017 from sethjackson/rgb
...
[RFC] Windows: Undefine the Windows RGB macro
2016-01-14 22:58:31 -05:00
Rui Abreu Ferreira
755e56ba66
Windows: Undefine the Windows RGB macro.
...
Windows provides a RGB macro but we have our own in macros.h.
Undefine the Windows one before including macros.h.
See: https://msdn.microsoft.com/en-us/library/dd162937%28v=vs.85%29.aspx
2016-01-14 21:40:56 -05:00
Michael Reed
964e52e81f
Merge pull request #4009 from sethjackson/swapsync
...
[RFC] Remove 'swapsync'
2016-01-14 15:38:19 -05:00
Michael Reed
68550b0d63
Merge pull request #3990 from sethjackson/remove-gtk-docs
...
[RFC] Remove references to GTK GUI support + some no-ops
2016-01-14 15:37:15 -05:00
Seth Jackson
7a7a758786
doc: Remove references to GTK.
...
We don't support it.
2016-01-14 13:16:10 -05:00