Commit Graph

646 Commits

Author SHA1 Message Date
Jason Schulz
7ad3f077dc Add support for binary numbers 2016-01-15 18:21:06 -08: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
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
Björn Linse
04bdeeb8b2 encoding: cleanup defaults of iskeyword, isprint and fileencodings 2016-01-02 23:21:51 +01:00
Björn Linse
49b06a8f2a encoding: Always use "utf-8" as default for &encoding
Preverve the locale-depedency for fileencodings=default
2016-01-02 23:15:53 +01:00
Justin M. Keyes
28821397f6 Merge pull request #3836 from sethjackson/set-init-3
Windows: Remove broken check for WIN3264
2015-12-13 00:24:44 -05:00
Justin M. Keyes
aca51f3d93 Merge #3443 'vim-patch:7.4.{785,795,898}' 2015-12-13 00:09:07 -05:00
Seth Jackson
a9b4cedb08 Windows: Remove broken check for WIN3264.
We do not define WIN3264 so this check was broken.

Futher since UNIX is defined on all Unix platforms
we support we can simply remove this #ifdef.
2015-12-12 23:30:43 -05:00
Justin M. Keyes
cc203e4b93 Merge pull request #3753 from watiko/vim-7.4.790
Vim 7.4.{786,787,789,790}
2015-12-12 17:43:23 -05:00
watiko
1b56425662 Make clint status valid 2015-12-12 08:15:34 +09:00
watiko
74341ca5ca Fix the memory leaking 2015-12-12 05:28:27 +09:00
watiko
8c684b2fdb Revert char to char_u 2015-12-12 04:26:22 +09:00
watiko
3a60f927b8 Improve coding style 2015-12-06 07:41:09 +09:00
watiko
597547e797 Use vim_snprintf instead of sprintf 2015-11-28 20:15:28 +09:00
watiko
972b43459b Improve coding style 2015-11-28 19:48:17 +09:00
watiko
cf673f60c6 Improve coding style 2015-11-28 18:24:57 +09:00
watiko
09f6066bb4 vim-patch:7.4.789
Problem:    Using freed memory and crash. (Dominique Pellej)
Solution:   Correct use of pointers. (Hirohito Higashi)

9cac424d05
2015-11-28 17:22:52 +09:00
watiko
789041c282 vim-patch:7.4.787
Problem:    snprintf() isn't available everywhere.
Solution:   Use vim_snprintf(). (Ken Takata)

fb9bc4829a
2015-11-28 17:22:52 +09:00
watiko
119545190c vim-patch:7.4.786
Problem:    It is not possible for a plugin to adjust to a changed setting.
Solution:   Add the OptionSet autocommand event. (Christian Brabandt)

537443018d
2015-11-28 17:22:28 +09:00
Michael Reed
53ee6425c8 src/*: Remove VIM - Vi improved ... header
Regarding the individual items in the header:

`Vim - Vi improved	by Bram Moolenar`
  Bram Moolenar is already mentioned throughout the documentation, as
  well as the intro screen.

`:help uganda`
  It's already shown to all users who don't use `shortmess+=I` upon
  starting nvim, and is already placed prominently in help.txt, i.e.,
  `:help` run with no arguments.

`:help credits`
  Already mentioned near the top of help.txt.

`README.md`
  Already mentioned in develop.txt.
2015-11-27 16:25:10 -05:00
Rui Abreu Ferreira
4f24b9e06f Remove unnecessary includes for errno.h 2015-11-25 16:38:33 -05:00
Michael Reed
af5483089e src: README.txt -> README.md
The former no longer exists in this repo; see the top of
src/nvim/README.md.
2015-11-23 21:38:08 -05:00
Johan Klokkhammer Helsing
8d07058097 vim-patch:7.4.795
Problem:    The 'fixeol' option is not copied to a new window.
Solution:   Copy the option value. (Yasuhiro Matsumoto)

b388be0abf
2015-11-22 20:03:41 +01:00
Johan Klokkhammer Helsing
a86d4b323e vim-patch:7.4.785
Problem:    On some systems automatically adding the missing EOL causes
            problems. Setting 'binary' has too many side effects.
Solution:   Add the 'fixeol' option, default on. (Pavel Samarkin)

34d72d4b6c
2015-11-22 20:03:41 +01:00
ZyX
0bcc2bf126 option: Add current directory to &backupdir option
Fixes #3496
2015-10-29 19:34:24 +03:00
ZyX
be6b784766 option: Fix strange condition in add_dir function 2015-10-26 14:51:56 +03:00
ZyX
89a84baaf9 option: Fix typos that may lead to SEGV in some cases 2015-10-26 14:49:03 +03:00
ZyX
030c608b7d option: Use memcnt for counting commas 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
a82a059921 option: Add // to the end of default &directory 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
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
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
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
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
ZyX
3a4a941885 shada: Fix memory leak and double free when setting both &vi and &sd 2015-10-08 22:01:12 +03:00
ZyX
ad7b7716bb *: Fix lint errors found in new code in previously ignored files 2015-10-08 22:00:50 +03:00
ZyX
8663983cc4 Deprecate &viminfo and :[rw]v, add &shada and :[rw]sh 2015-10-08 22:00:07 +03:00
ZyX
9cf9c4a586 Replace references to viminfo in various places 2015-10-08 22:00:06 +03:00
Björn Linse
fa5827b144 encoding: simplify handling of encoding in TUI 2015-09-08 10:53:44 +02:00