aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | TermEnter -> TermOpenMarco Hinz2015-11-15
|/ / / /
* | | | memory.c: Prevent garbage collection when running out of memory.oni-link2015-11-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running out of memory, garbage collection would free lists and dictionaries that are not yet referenced. This would later on lead to a use-after-free for these objects. Releated to vim-patch:7.4.916, so also updating version.c. Patch by @ZyX-I
* | | | normal.c: No garbage collection while handling an event in normal modeoni-link2015-11-13
|/ / / | | | | | | | | | | | | | | | Patch by @tarruda Fixes #3588
* | | Merge pull request #3651 from mhinz/remove-nvimrc-refsJustin M. Keyes2015-11-11
|\ \ \ | | | | | | | | Remove all invalid nvimrc references
| * | | Remove all invalid nvimrc and ngvimrc referencesMarco Hinz2015-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "vimrc" refers to all files that are used to configure Neovim. The main configuration file is init.vim nowadays. All nvimrc references that are left refer to a local ".nvimrc" which is read if 'exrc' is set. ".ngvimrc" references were completely wiped. Closes #3552.
* | | | vim-patch:7.4.791 #3078Marco Hinz2015-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The buffer list can be very long. Solution: Add an argument to ":ls" to specify the type of buffer to list. (Marcin Szamotulski) https://github.com/vim/vim/commit/d51cb706a4e3ae99555bc214a64c83603c701139
* | | | Be more explicit about the lack of X11 integrationMichael Reed2015-11-10
|/ / / | | | | | | | | | | | | I don't want anyone getting the idea that the `-X` flag they might have used has anything to do with why the `+` is working for them
* | | vim-patch:7.4.651 #3644Shougo Matsushita2015-11-10
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Can't match "%>80v" properly for multi-byte characters. Solution: Multiply the character number by the maximum number of bytes in a character. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/4f36dc3bf7118a3fa5ccdae1a37963860dc71e6c
* | | Add file selection prompt on ":oldfiles!"Marco Hinz2015-11-10
| | | | | | | | | | | | | | | | | | | | | | | | :browse was removed for good, but some people miss ":browse oldfiles". The same functionality is now provided by ":oldfiles!". Helped-by: @Pyrohh
* | | Add ":profile stop"Marco Hinz2015-11-10
| | | | | | | | | | | | This writes the logfile and stops profiling.
* | | Add ":profile dump"Marco Hinz2015-11-10
| | | | | | | | | | | | | | | Currently the logfile (":profile start {logfile}") only gets written when Vim exits. This new command allows to dump the log immediately without exiting.
* | | Remove unused constantsMarco Hinz2015-11-10
| | |
* | | eval: Implement dictionary change notificationsThiago de Arruda2015-11-09
| | |
* | | eval: Extract `find_var_ht_dict` from `find_var_ht`Thiago de Arruda2015-11-09
| | |
* | | eval: Extract `find_ufunc` from `get_dict_callback`Thiago de Arruda2015-11-09
| | |
* | | vim-patch:7.4.686 #3629Johan Klokkhammer Helsing2015-11-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: "zr" and "zm" do not take a count. Solution: Implement the count, restrict the fold level to the maximum nesting depth. (Marcin Szamotulski) https://github.com/vim/vim/commit/7d2757a47204d00cd47e3db94f1bd248c499d4e3
* | | Remove :open commandMichael Reed2015-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the documentation itself: :[range]o[pen] Works like |:visual|: end Ex mode. {Vi: start editing in open mode} ... Vim does not support open mode, since it's not really useful. For those situations where ":open" would start open mode Vim will leave Ex mode, which allows executing the same commands, but updates the whole screen instead of only one line. Part of the reason behind this is to make removing vi_diff.txt easier, although it's also because :open is not too useful. Helped-by: @fdinoff Helped-by: @dsummersl Helped-by: @mhinz Helped-by: @justinmk
* | | IWYU: remove unused "version.h"Justin M. Keyes2015-11-05
| | |
* | | undo: Remove incorrect NONNULL_ALL attributeZyX2015-11-05
| | | | | | | | | Fixes #3605
* | | build: Use `git describe` for version strings.Justin M. Keyes2015-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building in a git repo: - If HEAD corresponds to an annotated tag, (i.e. git_get_exact_tag() returns truthy) the current build is considered a "release" build: NVIM_VERSION_MEDIUM is directly assigned the tagged version name, and NVIM_VERSION_* defines are ignored. - If HEAD is not a tagged release, then NVIM_VERSION_MEDIUM is directly assigned the result of `git describe`. If git (or the repo) is not available: - The NVIM_VERSION_* defines are used to define NVIM_VERSION_MEDIUM. Sample outputs for `nvim --version` and `nvim +version`: Building with git @ non-tagged commit e66df14: NVIM v0.1.0-1-ge66df14 (compiled Nov 1 2015 19:10:30) Commit: e66df148f9401be17adab324a6e41d927aae20b3 Building with git @ v0.1.1 tag: NVIM v0.1.1 (compiled Nov 1 2015 19:03:52) [no "Commit:" line] Building this commit _not_ in a git repo: NVIM 0.1.0-dev (compiled Nov 1 2015 19:16:11) [no "Commit:" line]
* | | Remove useless FEAT_BROWSE ifdefMichael Reed2015-11-01
| | | | | | | | | | | | | | | The only thing this affected was the return value of has('browsefilter').
* | | version: Prepare for releases.Florian Walch2015-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Hide commit information from --version if we can't find any (e.g. when building from tarball). To define a release in CMake, set NVIM_VERSION_PRERELEASE to "". This will modify --version output to: * Show annotated Git tag instead of commit hash (NVIM_VERSION_COMMIT). * Hide commit date (NVIM_VERSION_BUILD).
* | | CMake: Disable logging for release build types.Florian Walch2015-11-01
| | | | | | | | | | | | | | | | | | These are: Release, MinSizeRel, and RelWithDebInfo. Closes #2913.
* | | ui_bridge: Fix race condition that results in deadlock.Thiago de Arruda2015-10-31
| | | | | | | | | | | | Fixed by waiting until the UI thread finishes processing events. Close #3541.
* | | os/fs.c: Convert stray getenv() to os_getenv()Michael Reed2015-10-31
| | | | | | | | | | | | | | | | | | | | | This is the last direct getenv() call in the tree (besides the one in os_getenv()); most of the work was already done in [1]. [1]: 412d246be71bd99cb4edde4e6f984b0b0d91bcd9
* | | Merge pull request #3553 from ZyX-I/fix-xdg-2Justin M. Keyes2015-10-30
|\ \ \ | | | | | | | | Some more fixes to XDG code
| * | | undo: Automatically create undo directory if neededZyX2015-10-29
| | | |
| * | | undo: Do some refactoringZyX2015-10-29
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | stdpaths: Document that stdpaths_*_subpath is not returning NULLZyX2015-10-29
| | | |
| * | | stdpaths: Use NULL in place of empty stringsZyX2015-10-29
| | | |
| * | | option: Add current directory to &backupdir optionZyX2015-10-29
| | | | | | | | | | | | | | | | Fixes #3496
* | | | tui: Don't use stderr as an output fallback for the TUIThiago de Arruda2015-10-29
| | | | | | | | | | | | | | | | Ref: https://github.com/neovim/neovim/issues/3547#issuecomment-152156639
* | | | tui: Fix abort when stdout and stderr are not tty.Thiago de Arruda2015-10-29
| | | | | | | | | | | | | | | | | | | | 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.
* | | | os/input.c: Fix assertion in `create_cursorhold_event`Thiago de Arruda2015-10-29
| | | | | | | | | | | | | | | | The assertion now considers the case where events are disabled.
* | | | Fix 'exrc' optionOvidiu Curcan2015-10-29
|/ / / | | | | | | | | | | | | `do_user_initialization()` ignored changes to the value of the `exrc` option caused by the processing of environment variables or sourcing of files.
* | / option: fix off-by-one error when handling &directoryVictor Adam2015-10-27
| |/ |/| | | | | | | | | | | 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
* | Merge pull request #3502 from ZyX-I/fix-xdgJustin M. Keyes2015-10-26
|\ \ | | | | | | option: Fix typos that may lead to SEGV in some cases
| * | option: Fix strange condition in add_dir functionZyX2015-10-26
| | |
| * | option: Fix typos that may lead to SEGV in some casesZyX2015-10-26
| | |
* | | edit.c: Fix one clint warningThiago de Arruda2015-10-26
| | |
* | | Start documenting codeThiago de Arruda2015-10-26
| | |
* | | ex_getln: Extract command_line_handle_key from command_line_executeThiago de Arruda2015-10-26
| | |
* | | ex_getln: Convert `cmdline_{not_,}changed` labels into functionsThiago de Arruda2015-10-26
| | |
* | | ex_getln: refactor command line mode to use the `state_enter` loopThiago de Arruda2015-10-26
| | | | | | | | | | | | Split `getcmdline()` into command_line_{enter,check,execute}`
* | | ex_getln: Extract local variables from getcmdline() and fix code styleThiago de Arruda2015-10-26
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | terminal: Refactor to use `state_enter`Thiago de Arruda2015-10-26
| | | | | | | | | | | | | | | | | | - Create `TerminalState` structure containing data used in terminal mode - Extract `terminal_execute` from `terminal_enter` and use it with `state_enter`.
* | | edit: Extract some functions from `insert_execute`Thiago de Arruda2015-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | - `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`.
* | | edit: Move most code from `edit()` to `insert_{enter,check,execute}`Thiago de Arruda2015-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | edit: Extract local variables from edit() and fix code styleThiago de Arruda2015-10-26
| | | | | | | | | | | | | | | | | | | | | 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.
* | | normal: Extract some functions from `normal_finish_command`Thiago de Arruda2015-10-26
| | | | | | | | | | | | | | | - `normal_need_redraw_mode_message` - `normal_redraw_mode_message`