Michael Reed
06c2057a0e
doc: Fix lint warning
...
found with `gmake html'
2015-10-31 01:28:43 -04:00
Michael Reed
247041886f
doc: Nuke os_unix.txt
...
All of this information is a combination of incorrect, outdated, or
redundant given its availability in other help files.
Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
Reviewed-by: Felipe Morales <hel.sheep@gmail.com>
2015-10-31 01:25:08 -04:00
Justin M. Keyes
a48949a3da
Update README.md
2015-10-30 22:33:28 -04:00
Justin M. Keyes
d1cfaa0a55
Merge pull request #3553 from ZyX-I/fix-xdg-2
...
Some more fixes to XDG code
2015-10-30 12:45:34 -04:00
ZyX
10080366b8
documentation: Fix &undodir default
2015-10-30 17:42:54 +03:00
Justin M. Keyes
4abf108f46
Merge pull request #3556 from Pyrohh/local-mk-update
...
contrib/local.mk.example: Mention ENABLE_JEMALLOC
2015-10-29 21:10:07 -04:00
Michael Reed
8ef2bb5366
contrib/local.mk.example: Mention ENABLE_JEMALLOC
...
This doesn't prevent compilation of jemalloc, but the important thing is
that it prevents it being used in nvim.
refs 6cd20177df
refs 95707bf336
2015-10-29 16:19:34 -04:00
Thiago de Arruda
6cd20177df
build: Set the default value of ENABLE_JEMALLOC to ON
...
Restoring the default which was changed by #3515 .
2015-10-29 14:51:56 -03:00
ZyX
ffdf9399ba
undo: Automatically create undo directory if needed
2015-10-29 19:34:26 +03:00
ZyX
d99941777d
undo: Do some refactoring
...
Specifically refactor u_get_undo_file_name which will be modified to
automatically create undo directory and replace `char_u` with `char` in some of
the related functions.
2015-10-29 19:34:25 +03:00
ZyX
1af15494c2
stdpaths: Document that stdpaths_*_subpath is not returning NULL
2015-10-29 19:34:25 +03:00
ZyX
baf032834a
stdpaths: Use NULL in place of empty strings
2015-10-29 19:34:25 +03:00
ZyX
0bcc2bf126
option: Add current directory to &backupdir option
...
Fixes #3496
2015-10-29 19:34:24 +03:00
Thiago de Arruda
58962d89c8
Merge PR #3546 'Fix some regressions'
2015-10-29 10:06:05 -03:00
Thiago de Arruda
c2185833e8
tui: Don't use stderr as an output fallback for the TUI
...
Ref: https://github.com/neovim/neovim/issues/3547#issuecomment-152156639
2015-10-29 09:09:05 -03:00
Thiago de Arruda
7e8b431d3f
tui: Fix abort when stdout and stderr are not tty.
...
The abort came from using libuv tty handle on non-tty fd. Use uv_pipe_t in these
cases. Also add simple test for this case.
2015-10-29 08:13:45 -03:00
Thiago de Arruda
7dae3ad24d
os/input.c: Fix assertion in create_cursorhold_event
...
The assertion now considers the case where events are disabled.
2015-10-29 07:47:48 -03:00
Justin M. Keyes
98b5ec565b
Merge pull request #3554 from ovidiu/fix-exrc-option
...
Fix the 'exrc' option
2015-10-28 23:24:55 -04:00
Ovidiu Curcan
dbef4111ed
Fix 'exrc' option
...
`do_user_initialization()` ignored changes to the value of the `exrc` option
caused by the processing of environment variables or sourcing of files.
2015-10-29 02:28:07 +01:00
Justin M. Keyes
dc8b0c47b1
Merge pull request #3540 from fmoralesc/fix-spellfile
...
spellfile: follow the XDG spec
2015-10-28 09:52:49 -04:00
Felipe Morales
6b6f018f84
spellfile: follow the XDG spec
...
Closes #3535
2015-10-28 14:46:00 +01:00
Justin M. Keyes
454b087dda
Merge pull request #3539 from jszakmeister/js/use-updated-busted
...
Remove our cliargs workaround use 2.0.rc11 of Busted.
2015-10-28 08:26:14 -04:00
John Szakmeister
e34ae35d10
Remove our cliargs workaround use 2.0.rc11 of Busted.
...
Busted now correctly excludes the 3.0 line of cliargs.
2015-10-28 03:12:48 -04:00
Justin M. Keyes
2394a1aeee
Merge pull request #3528 from Grimy/directory-last-char
...
option: fix off-by-one error when handling &directory
2015-10-27 22:08:34 -04:00
Justin M. Keyes
e6525f3ceb
Merge pull request #3525 from jszakmeister/fix-busted-dependency
...
Update busted to pick up the CLI fix.
2015-10-27 14:20:06 -04:00
Victor Adam
8848b5cef2
option: fix off-by-one error when handling &directory
...
a8e18d9
introduced an off-by-one error that caused the last character of
&directory to be ignored. This commit is a straightforward fix for that error.
fixes #3519
2015-10-27 13:33:48 +01:00
John Szakmeister
804edb0489
Update busted to pick up the CLI fix.
...
Unfortunately, it's not enough to avoid the rc file. For now, let's
install a good version of lua_cliargs until the dependency is fixed
upstream.
2015-10-27 05:52:33 -04:00
Justin M. Keyes
68e5968568
doc: Remove CLA requirement.
...
Closes #3036
2015-10-27 01:07:24 -04:00
Justin M. Keyes
597015d765
Merge pull request #3516 from Pyrohh/manual
...
nvim.1: XDG update
2015-10-27 00:59:38 -04:00
Michael Reed
6b4063fafe
nvim.1: XDG update
...
Helped-by: Justin M. Keyes <justinkz@gmail.com>
Helped-by: ZyX <kp-pav@yandex.ru>
2015-10-27 00:49:22 -04:00
Justin M. Keyes
95707bf336
Merge pull request #3515 from Tranquility/make_jemalloc_optional
...
Make jemalloc optional
2015-10-26 18:40:07 -04:00
Ole Reifschneider
2bcfd7fde1
Make jemalloc optional
2015-10-26 19:33:50 +01:00
Felipe Morales
f17c6482f2
Merge pull request #3514 from fmoralesc/fix-tutorial-2
...
tutor: fix typo
2015-10-26 19:25:05 +01:00
Felipe Morales
04810c2b39
tutor: fix typo
2015-10-26 19:23:59 +01:00
Justin M. Keyes
77e93a65fe
Merge pull request #3502 from ZyX-I/fix-xdg
...
option: Fix typos that may lead to SEGV in some cases
2015-10-26 12:48:42 -04:00
Thiago de Arruda
29d64a901d
Merge PR #3413 'Refactor Neovim to remove the side effects of K_EVENT
'
2015-10-26 11:24:51 -03:00
Thiago de Arruda
1726c7d999
edit.c: Fix one clint warning
2015-10-26 11:06:07 -03:00
Thiago de Arruda
b4c82dba5c
Start documenting code
2015-10-26 10:52:02 -03:00
Thiago de Arruda
ed985d06ef
ex_getln: Extract command_line_handle_key from command_line_execute
2015-10-26 10:52:02 -03:00
Thiago de Arruda
c0c562f97f
ex_getln: Convert cmdline_{not_,}changed
labels into functions
2015-10-26 10:52:02 -03:00
Thiago de Arruda
0701e1bfa4
ex_getln: refactor command line mode to use the state_enter
loop
...
Split `getcmdline()` into command_line_{enter,check,execute}`
2015-10-26 10:52:02 -03:00
Thiago de Arruda
52d4978b03
ex_getln: Extract local variables from getcmdline() and fix code style
...
Begin refactoring getcmdline() into a state that can be managed by the
`state_enter()`:
- Move local variables into a local CommandLineState structure
- Fix code style in the entire function.
2015-10-26 10:52:02 -03:00
Thiago de Arruda
344bd64f96
terminal: Refactor to use state_enter
...
- Create `TerminalState` structure containing data used in terminal mode
- Extract `terminal_execute` from `terminal_enter` and use it with
`state_enter`.
2015-10-26 10:52:02 -03:00
Thiago de Arruda
8890852cb7
edit: Extract some functions from insert_execute
...
- `insert_handle_key`: Contains the big insert mode switch statement.
- `insert_do_complete`: Code that used to be in the `docomplete` label.
- `insert_do_cindent`: Code that used to be in the `force_cindent` label.
Also move some code after the switch statement into the beginning of
`insert_check`.
2015-10-26 10:52:02 -03:00
Thiago de Arruda
091e7d033c
edit: Move most code from edit()
to insert_{enter,check,execute}
...
Refactor insert mode to use `state_enter` as an event loop:
- Move o_lnum(static variable) outside function
- Move code before the insert mode loop into `insert_enter`
- Move code before `safe_vgetc()` call into `insert_check`
- Move code after `safe_vgetc()` call into `insert_execute`
- Remove doESCkey label and handle insert mode repeating in the `insert_enter`
function
- Remove do_intr label(this is not the place for platform-specific interrupt
charts)
2015-10-26 10:52:02 -03:00
Thiago de Arruda
f5b333f532
edit: Extract local variables from edit() and fix code style
...
Begin refactoring edit() into a state that can be managed by the `state_enter()`:
- Move local variables into a local InsertState structure
- Fix code style in the entire function.
2015-10-26 10:52:01 -03:00
Thiago de Arruda
f1bc3e4c0c
normal: Extract some functions from normal_finish_command
...
- `normal_need_redraw_mode_message`
- `normal_redraw_mode_message`
2015-10-26 10:52:01 -03:00
Thiago de Arruda
4c6e417d2a
normal: Extract normal_finish_command
from normal_execute
2015-10-26 10:52:01 -03:00
Thiago de Arruda
5abd25f6fb
normal: Extract normal_get_command_count
from normal_execute
2015-10-26 10:52:01 -03:00
Thiago de Arruda
0f0fae58b9
normal: Extract some functions from normal_execute
...
- `normal_handle_special_visual_command`
- `normal_need_aditional_char`
- `normal_get_additional_char`
- `normal_invert_horizontal`
2015-10-26 10:52:01 -03:00