Justin M. Keyes
e38cbb9367
Merge pull request #1909 from equalsraf/tb-os_serveraddress
...
server_address()
2015-10-19 18:53:46 -04:00
Justin M. Keyes
ea01c40f52
Merge pull request #3466 from johanhelsing/vim-7.4.793
...
vim-patch:7.4.793
2015-10-19 09:39:51 -04:00
Rui Abreu Ferreira
3e84a91ac1
Allow server_start to accept a NULL argument
...
Return 1 if the endpoint argument is NULL, server_start() can get
a NULL value when using server_address_new() or vim_tempname(). Removed
the function attribute.
2015-10-18 16:34:54 +01:00
Rui Abreu Ferreira
5161f447f6
Implement server_address_new()
...
When creating a local socket/pipe (server_start()) Neovim used vim_tempname() to
generate a unique socket path. For Windows UNIX filepaths cannot be used as
pipe names (they must start with \\.\pipe\). This commit replaces the use of
vim_tempname() for server addresses with server_address_new().
server_address_new() generates unique names for local sockets/pipes - for UNIX
it uses vim_tempname(), for Windows generates names in the form
\\.\pipe\nvim-PID-COUNTER
where PID is the current process id, and COUNTER is a static uint32_t counter
incremented with every call. This function is now used for server_start() and
server_init() when no address is available.
2015-10-18 16:34:54 +01:00
Johan Klokkhammer Helsing
3bb2662669
vim-patch:7.4.793
...
Problem: Can't specify when not to ring the bell.
Solution: Add the 'belloff' option. (Christian Brabandt)
165bc69d1b
2015-10-18 01:58:18 +02:00
Michael Reed
e9de70e4ea
Merge pull request #3468 from Pyrohh/man-bump-date
...
nvim.1: bump date
2015-10-17 18:57:25 -04:00
Michael Reed
b42803f95f
nvim.1: bump date
2015-10-17 14:42:46 -04:00
Justin M. Keyes
75aae5f2f6
Merge pull request #3427 from ZyX-I/verbose-test-report
...
travis: Use gtest for busted output type
2015-10-17 14:09:39 -04:00
Justin M. Keyes
3a970e57df
Merge pull request #2506 from ZyX-I/shada
...
Replace viminfo with ShaDa files
2015-10-16 01:54:07 -04:00
Thiago de Arruda
a3f048ee06
tui: Flush input on timer_cb
...
This is required to have <esc> working correctly when the
`ttimeout`/`ttimeoutlen` options are set. Ref:
https://github.com/neovim/neovim/issues/2093#issuecomment-146506480
2015-10-12 07:01:18 -03:00
Ben Noordhuis
b2ff868436
doc: drop obsolete 'langnoremap' section. #3448
...
Commit e3568364
("default: enable 'langnoremap'. #2853 ") enabled it by
default but forgot to remove the lines saying it's disabled by default.
tweaked by Michael Reed
Reviewed-by: Felipe Morales <hel.sheep@gmail.com>
[ci skip]
2015-10-11 21:22:37 -04:00
rosston
d69f3bbb0d
vim-patch:8feef4f #3444
...
Update runtime files.
8feef4ff62
2015-10-11 18:07:58 -04:00
ZyX
db6cba7d57
documentation: Disambiguate ShaDa abbreviation
2015-10-08 22:01:13 +03:00
ZyX
909d79e600
shada: Do not use msgpack_rpc functions for converting data to msgpack
...
Should protect against #3431
2015-10-08 22:01:13 +03:00
ZyX
3a4a941885
shada: Fix memory leak and double free when setting both &vi and &sd
2015-10-08 22:01:12 +03:00
ZyX
937f6584d7
mark: Do not do unnecessary initialization
2015-10-08 22:01:12 +03:00
ZyX
19785a0198
ex_getln: Fix memory leak when overwriting history item
2015-10-08 22:01:12 +03:00
ZyX
1162962d8b
functests: Refactor tests:
...
- Remove unused variables.
- Do not use helpers.nvim_feed in most cases.
- Do not use helpers.nvim and helpers.nvim_eval at all.
- Add helpers.funcs and helpers.\*meths special tables. Indexing such table
creates functions which call helpers.call or helpers.nvim (and similar) with
first argument equal to table index.
2015-10-08 22:01:12 +03:00
ZyX
9d72f8ebaa
shada: Fix shada_removable signature
2015-10-08 22:01:11 +03:00
ZyX
2dd8e05f9f
shada: Fix jump/change list merging code
...
Errors happens under following conditions:
1. Jump/change list is full.
2. New jump/change list item should go between some of the old ones.
2015-10-08 22:01:11 +03:00
ZyX
0a44d504c8
shada(documentation): Fix outdated comments
2015-10-08 22:01:10 +03:00
ZyX
b8e7915596
shada: Make sure that shada-r option correctly ignores case
2015-10-08 22:01:10 +03:00
ZyX
0966e92cf4
shada: When using shada-r normalize option path
2015-10-08 22:01:10 +03:00
ZyX
7085ea07d8
functests: Move exc_exec to test.functional.helpers
2015-10-08 22:01:10 +03:00
ZyX
56a2549ff8
functests: Do not disable pattern tests
...
Problem that led to this skip was fixed in [#3309 ][1].
[1]: 0a116c828d
2015-10-08 22:01:07 +03:00
ZyX
d283e758ea
shada: Fix out-of-bounds array access
...
It leads to a memory leak as well. May overwrite wms->jumps_size.
2015-10-08 22:01:07 +03:00
ZyX
690d280fa8
shada: Save an allocation when writing local marks
2015-10-08 22:01:06 +03:00
ZyX
29a3e972de
shada: Fix v:hlsearch save/restore and do not write empty patterns
2015-10-08 22:01:05 +03:00
ZyX
915a298223
shada,functests: Fix v:hlsearch saving/restoring handling
2015-10-08 22:01:04 +03:00
ZyX
e1dc9ed464
shada: First write temporary file and only then check any permissions
...
It is not logical that on UNIX permissions can prevent even writing temporary
file, while on other OS it will first write temporary file and then fail during
rename.
2015-10-08 22:01:03 +03:00
ZyX
6de5900c50
documentation: Extend shada error handling documentation
2015-10-08 22:01:03 +03:00
ZyX
ceb135a498
shada: Keep uid and gid of the file when working from root
...
It was the behaviour exhibited by Vim, but it got unintentionally removed. There
is a difference though: Vim runs fchown *before* populating the file, I run it
just before renaming.
2015-10-08 22:01:00 +03:00
ZyX
ad7b7716bb
*: Fix lint errors found in new code in previously ignored files
2015-10-08 22:00:50 +03:00
ZyX
313b947e3f
shada: Refactor code that works with hms.last_hist_entry
2015-10-08 22:00:49 +03:00
ZyX
48ba2f0109
documentation/functests: Replace NeoVim with Neovim
2015-10-08 22:00:49 +03:00
ZyX
0fe11fe70a
shada: Add generator key to the header
...
For use in viminfo→shada converters, plugins that allow editing ShaDa files or
any other software which generates ShaDa files for whatever purpose.
2015-10-08 22:00:49 +03:00
ZyX
127e63fc17
shada: Use same iteration end conditions as with other iterators
2015-10-08 22:00:49 +03:00
ZyX
b87c65d7b9
eval: Use proper iteration end condition
2015-10-08 22:00:48 +03:00
ZyX
aa4d0bb728
eval: Reorder checks in var_shada_iter
2015-10-08 22:00:48 +03:00
ZyX
c57c569000
shada: Also expand file name obtained from &shada option
2015-10-08 22:00:48 +03:00
ZyX
5d47fe124a
shada.h: Remove newline after INCLUDE_GENERATED_DECLARATIONS section
2015-10-08 22:00:47 +03:00
ZyX
f59ef120e1
eval: Remove incorrect NONNULL_RET attributes
2015-10-08 22:00:47 +03:00
ZyX
2ba138b2f9
*: Fix problems with clang+asan Release build
2015-10-08 22:00:47 +03:00
ZyX
22906265a2
mark: Clear marks in some cases, but do not do useless job in free_\*
2015-10-08 22:00:46 +03:00
ZyX
be45e75026
shada: Refuse to write ShaDa file when ShaDa was disabled
2015-10-08 22:00:46 +03:00
ZyX
e2c3ea4445
os/time: Make Timestamp be 64-bit unsigned integer
2015-10-08 22:00:46 +03:00
ZyX
0caf17d0e8
search: When freeing search patterns also clear them
2015-10-08 22:00:45 +03:00
ZyX
d1830e1433
config: Check order and endianess even when cross-compiling
2015-10-08 22:00:45 +03:00
ZyX
b249529676
functests: Make one recover_spec test also use gdb or valgrind
2015-10-08 22:00:45 +03:00
ZyX
804e074096
eval,functests: Reference all additional_* items created by ShaDa
2015-10-08 22:00:45 +03:00