Stefan Hoffmann
e85fe0957d
fileinfo: implement os_fileinfo_hardlinks
2014-08-31 15:22:38 +02:00
Stefan Hoffmann
aa378acdf5
fileinfo: implement os_fileinfo_size
...
this replaces os_get_file_size and file_info.stat.st_size
2014-08-31 15:15:02 +02:00
Thiago de Arruda
51438d8e14
channel: Remove code for automatically closing in channel_send_call
...
This was causing a segfault(reported in #1125 ) because channels are already
closed by `parse_msgpack` when the connection ends. Also fix the RPC stack
overflow error message
2014-08-31 09:32:45 -03:00
Justin M. Keyes
9ede170e7e
clang: Null pointer passed as an argument to a 'nonnull' parameter
2014-08-30 17:18:25 -04:00
Thiago de Arruda
a66d2d1538
msgpack-rpc: Always use arrays when sending events or calls
...
This is required by the msgpack-RPC specification. Also, the
send_call/send_event functions were refactored to accept a variable number of
arguments
2014-08-29 22:08:58 -03:00
Thiago de Arruda
aa23d2f835
msgpack-rpc: Accept method names in requests
2014-08-29 22:08:58 -03:00
Justin M. Keyes
db782dc486
clang: Null pointer passed as an argument to a 'nonnull' parameter #1090
2014-08-28 16:11:22 -04:00
Thiago de Arruda
5b7a66ec3d
api: Implement '--embedded-mode' command-line option
...
This option makes nvim run in "embedded mode", which creates an API channel via
stdin/stdout and disables all terminal-related code
2014-08-28 14:18:05 -03:00
Thiago de Arruda
a1400896b3
channel: Implement channel_from_stdio function
...
This function can be used to create an API channel that reads/writes from/to
stdin/stdout
2014-08-28 14:18:05 -03:00
Thiago de Arruda
8e683a0ae9
channel: fix channel buffer size
2014-08-28 14:18:05 -03:00
Thiago de Arruda
dc34f9fc94
channel: Fix channel not being closed when the RStream reaches EOF
2014-08-28 14:18:05 -03:00
Thiago de Arruda
801ed0e0a3
wstream: Implement wstream_set_file
...
It's analogous to rstream_set_file but only supports pipes(Support for regular
files may be added later). This function was added to support creating API
channels via stdout.
2014-08-28 14:17:58 -03:00
Justin M. Keyes
665c3cc334
Merge pull request #1104 from Hinidu/vim-patch-7.4.220
...
vim-patch:7.4.220
2014-08-25 01:52:30 -04:00
Paul Burlumi
0cced2ea81
coverity/62620: fix uninitialized scalar variable
2014-08-24 23:45:55 +01:00
Pavel Platto
fc2020a140
vim-patch:7.4.220
...
Problem: Test 105 does not work in a shadow dir. (James McCoy)
Solution: Omit "src/" from the checked path.
https://code.google.com/p/vim/source/detail?r=v7-4-220
2014-08-22 10:50:30 +03:00
Pavel Platto
24f585a68c
Mark patches 176, 185 and 189 as NA
2014-08-22 10:32:43 +03:00
Justin M. Keyes
fd46f22d01
Merge pull request #1101 from atwupack/vp-7.4.339
...
vim-patch:7.4.339
2014-08-22 01:51:24 -04:00
André Twupack
5f3e677e21
vim-patch:7.4.339
...
Problem: Local function is available globally.
Solution: Add "static".
https://code.google.com/p/vim/source/detail?r=v7-4-339
2014-08-21 19:52:10 +02:00
André Twupack
bc56d3a988
vim-patch:7.4.296
...
Problem: Can't run tests on Solaris.
Solution: Change the way VIMRUNTIME is set. (Laurent Blume)
https://code.google.com/p/vim/source/detail?r=v7-4-296
2014-08-21 19:06:07 +02:00
Justin M. Keyes
51ae9c6437
Merge pull request #840 from ZyX-I/generate-ex_cmds
...
Use lua generator in place of ex_cmds_defs header trick
2014-08-21 10:07:46 -04:00
ZyX
de58394f34
Extend documentation
2014-08-20 20:21:37 +04:00
ZyX
1e11de5385
Fix problem with test47: addition is not bitwise OR
...
:diffsplit command used to include some flag value twice. If I was using bitwise
OR it would be OK, but I had addition here. Changed to use bitwise OR.
2014-08-20 20:21:37 +04:00
ZyX
3becb5fd21
Use lua generator in place of ex_cmds_defs header trick
...
Closes #788
Fixes #379
Ref #549
2014-08-20 20:21:37 +04:00
Felipe Morales
3b0f7fe593
update src/nvim/testdir/Makefile
...
include breakindent and list related tests
2014-08-20 08:27:23 -04:00
Felipe Morales
359262d58d
vim-patch: 7.4.352
...
Problem: With 'linebreak' a tab causes a missing line break.
Solution: Count a tab for what it's worth also for shorter lines.
(Christian Brabandt)
2014-08-20 08:27:23 -04:00
Felipe Morales
2e1c745869
vim-patch:7.4.388
...
Problem: With 'linebreak' set and 'list' unset a Tab is not counted
properly. (Kent Sibilev)
Solution: Check the 'list' option. (Christian Brabandt)
2014-08-20 08:27:22 -04:00
Felipe Morales
91aabcb75b
vim-patch:7.4.370
...
Problem: Linebreak test fails when encoding is not utf-8. (Danek
Duvall)
Solution: Split the test in a single byte one and a utf-8 one.
(Christian Brabandt)
2014-08-20 08:27:11 -04:00
Felipe Morales
244ea63724
vim-patch:7.4.371
...
Problem: When 'linebreak' is set control characters are not correctly
displayed. (Kimmy Lindvall)
Solution: Set n_extra. (Christian Brabandt)
2014-08-20 05:19:57 -04:00
Felipe Morales
dfdfee0260
vim-patch: 7.4.353
...
Make 'breakindent' work with the 'list' option.
Originally patched in vim patch 7.4.353, by chrisbra
(https://code.google.com/p/vim/source/detail?r=d42a1d3b74d40f580359dbd139d2d0dfa7235252 )
Updated version.c.
2014-08-20 05:19:57 -04:00
Felipe Morales
22c782bcb2
vim-patch: 7.4.346
...
Do not cache "brishift".
Indent was not updated when changing 'breakindentopt'.
Reported by itchiny, fixed by chrisbra in vim patch 7.3.346
(https://code.google.com/p/vim/source/detail?r=3248c6e40aee01a7254d111dd846c6ec7889a804 ).
2014-08-20 05:19:57 -04:00
Felipe Morales
47391b18e2
Port vim's patch 7.4.338 ('breakindent')
2014-08-20 05:19:49 -04:00
Justin M. Keyes
bbefc73c55
Merge pull request #1062 from atwupack/vp-7.4.230+231
...
vim-patch:7.4.231
2014-08-20 00:18:14 -04:00
Justin M. Keyes
95efb3624b
vim-patch:7.4.317 #1076
...
Problem: Crash when starting gvim. Issue 230.
Solution: Check for a pointer to be NULL. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=8ffcb546d782
2014-08-20 00:09:21 -04:00
Justin M. Keyes
e1c330a486
Merge pull request #1024 from war1025/dev/for_all_buffers
...
Add FOR_ALL_BUFFERS helper
2014-08-19 23:49:25 -04:00
Paul Burlumi
aca6dc5001
coverity/13749: fix negative array index read in unset_global_local_option
2014-08-19 22:06:55 +01:00
André Twupack
41634af0e5
vim-patch:7.4.231
...
Problem: An error in ":options" is not caught by the tests.
Solution: Add a test for ":options". Set $VIMRUNTIME for the tests so that
it uses the current runtime files instead of the installed ones.
https://code.google.com/p/vim/source/detail?r=0a295a3c9e473512ad3b006a0fb752ad43d19094
2014-08-19 19:32:58 +02:00
Justin M. Keyes
a40a7cf24f
vim-patch:7.4.329 #1079
...
Problem: When moving the cursor and then switching to another window the
previous window isn't scrolled. (Yukihiro Nakadaira)
Solution: Call update_topline() before leaving the window. (Christian
Brabandt)
https://code.google.com/p/vim/source/detail?r=018df65085f8
2014-08-19 01:40:40 -04:00
Justin M. Keyes
8ae492bb5a
vim-patch:7.4.325 #1078
...
Problem: When starting the gui and changing the window size the status line
may not be drawn correctly.
Solution: Catch new_win_height() being called recursively. (Christian
Brabandt)
https://code.google.com/p/vim/source/detail?r=1f288d247548
2014-08-19 01:38:15 -04:00
Justin M. Keyes
a0e593e261
Merge pull request #1019 from splinterofchaos/globpath
...
vim-patch:7.4.279
2014-08-18 00:27:07 -04:00
Fredrik Fornwall
6dcd629ed6
Make ttyfast default to true on all terminals #1051
2014-08-18 03:59:40 +00:00
Scott Prager
d2988e12fe
vim-patch:7.4.276
...
Problem: The fish shell is not supported.
Solution: Use begin/end instead of () for fish. (Andy Russell)
https://code.google.com/p/vim/source/detail?r=a6b59ee633a355095e6473ec5e2a7d9088bfb853
2014-08-17 22:17:26 -04:00
Scott Prager
284539f395
Doxygen/comment style for make_filter_cmd().
2014-08-17 22:16:00 -04:00
Scott Prager
b9553bd038
path.c: Learn invocation_path_tail().
...
Required for vim patch 276 as an alternative to
`get_isolated_shell_name()`.
2014-08-17 22:16:00 -04:00
Scott Prager
53a3c5c21c
Use sizeof over magic numbers.
2014-08-17 22:16:00 -04:00
André Twupack
16a04bae0a
vim-patch:7.4.318 #968
...
Problem: Check for whether a highlight group has settings ignores fg and bg color settings.
Solution: Also check cterm and GUI color settings. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=5c47dacf397c1c65d2dfc237b3ff395c66ec3d4d
2014-08-18 01:25:17 +00:00
Justin M. Keyes
b6da1ac339
version.c: mark irrelevant patches with "NA" #1074
...
uncomment some patch numbers that were satisfied by #938
2014-08-17 18:39:23 -04:00
Wayne Rowcliffe
888a31ba45
FOR_ALL_BUFFERS use locally declared buffer pointer
2014-08-17 11:13:42 -05:00
Justin M. Keyes
640bced2f8
Merge pull request #950 from Hinidu/os_fchown
...
Implement os_fchown and remove HAVE_FCHOWN
2014-08-16 08:33:21 -04:00
Pavel Platto
8f4ada5a2a
os_fchown: remove cast of parameter -1 to uid_t
2014-08-16 09:21:09 +03:00
André Twupack
9c8da794e1
vim-patch:7.4.201
...
Problem: 'lispwords' is a global option.
Solution: Make 'lispwords' global-local. (Sung Pae)
https://code.google.com/p/vim/source/detail?r=06e5f65c34d8136c3a9d2219429b7eca35cb3a21
2014-08-15 18:56:05 +02:00