ZyX
95979afc47
oldtests: Also set .
as default directories for old tests
2015-10-23 17:04:26 +03:00
ZyX
e5537a935f
functests: Fix tests
2015-10-23 15:56:51 +03:00
ZyX
6b17d35ff1
functests: Use . for various folder defaults in tests
2015-10-23 15:56:51 +03:00
ZyX
ec1ca54d59
functests: Do not forget about -i argument
...
Target: make all tests run with chmod -x ~/.config/nvim ~/.local/share/nvim.
2015-10-23 15:56:51 +03:00
ZyX
ca6235c20f
*: Fix linter errors
2015-10-23 15:56:50 +03:00
ZyX
a8e18d9b5a
memline: Automatically create swap file directory for last directory
2015-10-23 15:56:50 +03:00
ZyX
fefcc01cc1
os/fs: Allow os_mkdir_recurse directory name to end with ///
2015-10-23 14:54:11 +03:00
ZyX
030c608b7d
option: Use memcnt for counting commas
2015-10-23 14:54:11 +03:00
ZyX
198ba323b8
stdpaths: Remove outdated comment
2015-10-23 14:54:11 +03:00
ZyX
25bb9c9f7d
option: Silence “may be used unitialized” errors
2015-10-23 14:54:11 +03:00
ZyX
181c377697
stdpaths: Add Windows-specific directories
2015-10-23 14:54:11 +03:00
ZyX
b7732cceca
functests: Fix 078_swapfile_recover test
2015-10-23 14:54:11 +03:00
ZyX
d2e07c8307
stdpaths: Add missing include
2015-10-23 14:54:11 +03:00
ZyX
8642bad122
shada: Remove SHADA_FILE2
2015-10-23 14:54:11 +03:00
ZyX
fee3c32048
stdpaths: Remove Apple defaults, use \*nix ones instead
2015-10-23 14:54:11 +03:00
ZyX
afcc842881
main,version: Remove USR_EXRC_FILE*
2015-10-23 14:54:11 +03:00
ZyX
a82a059921
option: Add //
to the end of default &directory
2015-10-23 14:54:11 +03:00
ZyX
aadaa1fed4
stdpaths: Add documentation
2015-10-23 14:54:11 +03:00
ZyX
89a10b3e7c
main,os/env: Fix lint errors
2015-10-23 14:54:11 +03:00
ZyX
2018389871
option: Remove new trailing spaces
2015-10-23 14:54:10 +03:00
ZyX
d1ed658c44
option: Do not add unneeded path separator, protect against zero len
2015-10-23 14:54:10 +03:00
ZyX
86a6ff7b9d
option: Move macros to functions, use PATHSEP in place of /
2015-10-23 14:54:10 +03:00
ZyX
1cdc3298cf
documentation: Update documentation
...
Note about ~/.local/share/nvim/site used in one usr_\* file: this one talks
about user-local installation of third-party plugins, and
~/.local/share/nvim/site is the proper place for them. Most other files talk
about user own configuration and this is ~/.config.
2015-10-23 14:54:10 +03:00
ZyX
a1b0f4073d
stdpaths: Do NOT create data directories
...
This is none of option.c business to create *possibly unneeded* **default**
directories **before** user specified where he actually wants to place the
files.
2015-10-23 14:54:10 +03:00
ZyX
a06a8bad60
stdpaths: Give proper error message in case directory creation failed
2015-10-23 14:54:10 +03:00
ZyX
2e750973e9
shada: Move shada file to a new location
2015-10-23 14:54:10 +03:00
ZyX
502a20a8fe
stdpaths,main: Remove all remaining memory leaks
2015-10-23 14:54:10 +03:00
ZyX
0a59c969cc
option: Use proper printexpr
2015-10-23 14:54:10 +03:00
ZyX
642a07ce27
option: Remove some memory leaks
2015-10-23 14:54:10 +03:00
ZyX
be91bc1e1a
stdpaths: Export get_xdg function (renamed) and use it for runtimepath
2015-10-23 14:54:10 +03:00
ZyX
afb0f2f9b1
stdpaths: Rename export functions so that they have common prefix
2015-10-23 14:54:10 +03:00
ZyX
120ec8c2ea
stdpaths: Remove useless functions get_user_*_dir
2015-10-23 14:54:09 +03:00
ZyX
1db5a807b2
stdpaths: Fix some issues, specifically
...
- Remove/add includes
- Do not pretend that returns are const
- Add function attributes
- Allocate memory always in get_xdg
2015-10-23 14:54:09 +03:00
ZyX
8e2c0fdba5
option: Append with escaped commas
2015-10-23 14:54:09 +03:00
ZyX
ab2944f46c
option: Prepare for all environment variables being NULL.
2015-10-23 14:54:09 +03:00
ZyX
ee95f818a6
option: Move all data directories after all config directories
2015-10-23 14:54:09 +03:00
ZyX
efb6045a00
option: Add /site subdirectory to data directories
2015-10-23 14:54:09 +03:00
ZyX
76e2788d87
option: Use different default value for &runtimepath
2015-10-23 14:54:09 +03:00
ZyX
674629be0c
os/env: Add functions that can iterate over colon-separated variables
2015-10-23 14:54:09 +03:00
Keerthan Jaic
c2dd07448f
option,main: Partial support of XDG base directory specification
...
- Add functions that are able to query XDG.
- Replace defaults for
- &runtimepath. Does not follow #78 .
- &viewdir.
- &undodir.
- &directory.
- &backupdir. Does not follow #78 .
- vimrc location.
- Remove user vimrc file line from :version message.
2015-10-23 14:54:09 +03:00
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