aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
...
| * Remove char_u: fix_fname()Mark Bainter2015-05-06
| |
| * Remove char_u: FullName_save()Mark Bainter2015-05-06
| |
| * Remove char_u: vim_FullName()Mark Bainter2015-05-06
| |
| * Remove char_u: path_with_url()Mark Bainter2015-05-06
| |
| * Remove char_u: path_is_url()Mark Bainter2015-05-06
| |
| * Remove char_u: modname()Mark Bainter2015-05-06
| |
| * Remove char_u: add_pathsep()Mark Bainter2015-05-06
| |
* | vim-patch:7.4.707 #2541Bastian Winkler2015-05-07
| | | | | | | | | | | | | | Problem: Undo files can have their executable bit set. Solution: Strip of the executable bit. (Mikael Berthe) https://github.com/vim/vim/commit/v7-4-707
* | vim-patch:7.4.526 #2562David Bürgin2015-05-07
| | | | | | | | | | | | | | | | | | Problem: matchstr() fails on long text. Daniel Hahler) Solution: Return NFA_TOO_EXPENSIVE from regexec_nl(). (Christian Brabandt) https://github.com/vim/vim/commit/v7-4-526 Helped-by: Michael Reed <m.reed@mykolab.com>
* | vim-patch:7.4.590 #2592Yamakaky2015-05-06
| | | | | | | | | | | | | | | | | | Problem: Using ctrl_x_mode as if it contains flags. Solution: Don't use AND with CTRL_X_OMNI. (Hirohito Higashi) https://github.com/vim/vim/commit/v7-4-590 It was already included in neovim, see #2527.
* | vim-patch:7.4.564 #2591David Bürgin2015-05-05
| | | | | | | | | | | | | | | | | | | | Problem: FEAT_OSFILETYPE is used even though it's never defined. Solution: Remove the code. (Christian Brabandt) https://github.com/vim/vim/commit/v7-4-564 Not applicable, this code has already been removed in Neovim. Included some of the style tweaks.
* | tests: Migrate legacy test 96 #2220David Bürgin2015-05-04
| |
* | 'cpoptions': Remove "H" flag #2556David Bürgin2015-05-04
| |
* | vim-patch:7.4.574 #2539Bastian Winkler2015-05-03
|/ | | | | | | Problem: No error for eval('$'). Solution: Check for empty name. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/v7-4-574
* unify jobstart, termopen, and system interfacesScott Prager2015-05-02
| | | | | | | | | | | | | | | | | For any of these functions, if {cmd} is a string, execute "&shell &shellcmdflag '{cmd}'", or simply {cmd} if it's a list. In termopen(), if the 'name' option is not supplied, try to guess using '{cmd}' (string) or {cmd}[0] (list). Simplify ex_terminal to use the string form of termopen(). termopen: get name from argument Convert list_to_argv to tv_to_argv. Helped-by: Björn Linse <@bfredl> Helped-by: oni-link <knil.ino@gmail.com> Helped-by: Thiago de Arruda <@tarruda>
* term: use an argument vector for termopen().Scott Prager2015-05-02
| | | | | | | | | | | | | | | | | | | | | | Old behaviour: termopen('cmd') would run `&shell &shcf "cmd"`, which caused the functional tests to fail on some systems due to the process not "owning" the terminal. Also, it is inconsistent with jobstart(). Modify termopen() so that &shell is not invoked, but maintain the old behaviour with :terminal. Factor the common code for building the argument vector from jobstart() and modify the functional tests to call termopen() instead of :terminal (fixes #2354). Also: * Add a 'name' option for termopen() so that `:terminal {cmd}` produces a buffer named "term//{cwd}/{cmd}" and termopen() users can customize the name. * Update the documentation. * Add functional tests for `:terminal` sinse its behaviour now differs from termopen(). Add "test/functional/fixtures/shell-test.c" and move "test/functional/job/tty-test.c" there, too. Helped-by: Justin M. Keyes <@justinmk>
* src: Misc. cleanupMichael Reed2015-05-01
| | | | | These macros (and global) haven't been used since 3baba1e7bc6698e6bc9f1d37fce88b30d6274bc9
* vim-patch:7.4.659 + testMichael Reed2015-05-01
| | | | | | | | | | Problem: When 'ruler' is set the preferred column is reset. (Issue 339) Solution: Don't set curswant when redrawing the status lines. https://code.google.com/p/vim/source/detail?r=v7-4-659 Helped-by: David Bürgin <676c7473@gmail.com> Based on #2347 by @pvinis
* vim-patch:7.4.389Michael Reed2015-05-01
| | | | | | | | | | | | | based on #2429 by @Hettomei Problem: Still sometimes Vim enters Replace mode when starting up. Solution: Use a different solution in detecting the termresponse and location response. (Hayaki Saito) https://code.google.com/p/vim/source/detail?r=v7-4-389 The upstream patch touched a lot of files which don't exist in nvim, hence the small size of this commit.
* Remove obsolete vi options #2553David Bürgin2015-05-01
| | | | | | | | | | | | | | | | | | | | | | These options were never implemented in Vim. They are documented under |missing-options| in runtime/doc/vi_diff.txt: 'autoprint' 'beautify' 'flash' 'graphic' 'hardtabs' 'mesg' 'novice' 'open' 'optimize' 'redraw' 'slowopen' 'sourceany' 'w300' 'w1200' 'w9600' References #2548.
* Merge #2545: Fix clang analysis warnings. (12)Eliseo Martínez2015-05-01
|\ | | | | | | Reviewed-by: oni-link <knil.ino@gmail.com>
| * Fix warnings: ex_docmd.c: ex_tabonly(): Np dereference: FP.Eliseo Martínez2015-05-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem : Dereference of null pointer @ 5816. Diagnostic : False positive. Rationale : first_tabpage is assumed to be NULL after calling goto_tabpage(), which should not be possible (first_tabpage should be not NULL before calling it, and only changed to another valid tab page). Resolution : Assert first_tabpage after calling goto_tabpage(). Helped-by: oni-link <knil.ino@gmail.com>
| * Fix warnings: ex_cmds2.c: ex_listdo(): Np dereference: FP.Eliseo Martínez2015-05-01
| | | | | | | | | | | | | | | | Problem : Dereference of null pointer @ 1909. Diagnostic : False positive. Rationale : Suggested path error first assumes tp == NULL and later one valid_tabpage(tp), which is not possible. Resolution : Assert tp != NULL if valid_tabpage(tp).
| * Fix warnings: ex_cmds2.c: ex_listdo(): Np dereference: FP.Eliseo Martínez2015-05-01
| | | | | | | | | | | | | | | | Problem : Dereference of null pointer @ 1903. Diagnostic : False positive. Rationale : Suggested error path first assumes wp == NULL and later one win_valid(wp), which is not possible. Resolution : Assert wp != NULL if win_valid(wp).
* | Fix warnings: Support '%zu' in vim_snprintf(): Add support.Eliseo Martínez2015-05-01
| |
* | Support '%zu' in vim_snprintf(): Cleanup.Eliseo Martínez2015-05-01
|/ | | | | Some style changes and minimal refactoring, to tidy up code. No behavioural changes intended.
* vim-patch:7.4.706 #2546Bastian Winkler2015-04-30
| | | | | | | | Problem: Window drawn wrong when 'laststatus' is zero and there is a command-line window. (Yclept Nemo) Solution: Set the status height a bit later. (Christian Brabandt) https://github.com/vim/vim/commit/v7-4-706
* Mark some patches re: command-ranges as included #2546Felipe Morales2015-04-30
| | | | reported by @glts at https://github.com/neovim/neovim/pull/2041#issuecomment-97747833
* vim-patch:7.4.653 #2527Florian Walch2015-04-30
| | | | | | | | | Problem: Insert mode completion with complete() may have CTRL-L work like CTRL-P. Solution: Handle completion with complete() differently. (Yasuhiro Matsumoto, Christian Brabandt, Hirohito Higashi) https://github.com/vim/vim/commit/v7-4-653
* jemalloc: Force use of prefixed functions.Florian Walch2015-04-29
| | | | | | | | * Set JEMALLOC_NO_DEMANGLE to be able to use `je_*` functions, regardless of how jemalloc was compiled (--with-jemalloc-prefix) * Show jemalloc information in Neovim's version output. Resolve #2449.
* CMake: Refer to Unibilium instead of LibUnibilium.Florian Walch2015-04-29
|
* vim-patch:7.4.595Felipe Morales2015-04-28
| | | | | | | Problem: The test_command_count test fails when using Japanese. Solution: Force the language to C. (Hirohito Higashi) https://code.google.com/p/vim/source/detail?name=v7-4-595
* vim-patch:7.4.588Felipe Morales2015-04-28
| | | | | | | | Problem: ":0argedit foo" puts the new argument in the second place instead of the first. Solution: Adjust the range type. (Ingo Karkat) https://code.google.com/p/vim/source/detail?name=v7-4-588
* vim-patch:7.4.585Felipe Morales2015-04-28
| | | | | | | Problem: Range for :bdelete does not work. (Ronald Schild) Solution: Also allow unloaded buffers. https://code.google.com/p/vim/source/detail?name=v7-4-585
* vim-patch:7.4.580Felipe Morales2015-04-28
| | | | | | | | Problem: ":52wincmd v" still gives an invalid range error. (Charles Campbell) Solution: Skip over white space. https://code.google.com/p/vim/source/detail?name=v7-4-580
* vim-patch:7.4.572Felipe Morales2015-04-28
| | | | | | | Problem: Address type of :wincmd depends on the argument. Solution: Check the argument. https://code.google.com/p/vim/source/detail?r=v7-4-572
* vim-patch:7.4.568Felipe Morales2015-04-28
| | | | | | | | Problem: Giving an error for ":0wincmd w" is a problem for some plugins. Solution: Allow the zero in the range. (Marcin Szamotulski) https://code.google.com/p/vim/source/detail?r=v7-4-568
* vim-patch:7.4.566Felipe Morales2015-04-28
| | | | | | | Problem: :argdo, :bufdo, :windo and :tabdo don't take a range. Solution: Support the range. (Marcin Szamotulski) https://code.google.com/p/vim/source/detail?r=v7-4-566
* vim-patch:7.4.565Felipe Morales2015-04-28
| | | | | | | | | | | Problem: Ranges for arguments, buffers, tabs, etc. are not checked to be valid but limited to the maximum. This can cause the wrong thing to happen. Solution: Give an error for an invalid value. (Marcin Szamotulski) Use windows range for ":wincmd". https://code.google.com/p/vim/source/detail?r=v7-4-565
* vim-patch:7.4.561Felipe Morales2015-04-28
| | | | | | | | Patch 7.4.561 Problem: Ex range handling is wrong for buffer-local user commands. Solution: Check for CMD_USER_BUF. (Marcin Szamotulski) https://code.google.com/p/vim/source/detail?name=v7-4-561
* vim-patch:7.4.546Felipe Morales2015-04-28
| | | | | | | Problem: Repeated use of vim_snprintf() with a number. Solution: Move these vim_snprintf() calls into a function. https://code.google.com/p/vim/source/detail?name=v7-4-546
* vim-patch:7.4.542Felipe Morales2015-04-28
| | | | | | | | | | Problem: Using a range for window and buffer commands has a few problems. Cannot specify the type of range for a user command. Solution: Add the -addr argument for user commands. Fix problems. (Marcin Szamotulski https://code.google.com/p/vim/source/detail?name=v7-4-542
* vim-patch:7.4.539Felipe Morales2015-04-28
| | | | | | | | | | Patch 7.4.539 (after 7.4.530) Problem: Crash when computing buffer count. Problem with range for user commands. Line range wrong in Visual area. Solution: Avoid segfault in compute_buffer_local_count(). Check for CMD_USER when checking type of range. (Marcin Szamotulski) https://code.google.com/p/vim/source/detail?name=v7-4-539
* vim-patch:7.4.535Felipe Morales2015-04-28
| | | | | | | | | | Patch 7.4.535 (after 7.4.530) Problem: Can't build with tiny features. Solution: Add #ifdefs and skip a test. https://code.google.com/p/vim/source/detail?name=v7-4-535 This is also a refactor of some code in 7.4.530.
* vim-patch:7.4.530-531Felipe Morales2015-04-28
| | | | | | | | | | | | | | | | | | | | | | | Specify different kinds of counts for commands. Updated ex commands generator scripts. Includes fixes to comments from patch 7.4.531 Original message: Problem: Many commands take a count or range that is not using line numbers. Solution: For each command specify what kind of count it uses. For windows, buffers and arguments have "$" and "." have a relevant meaning. (Marcin Szamotulski) https://code.google.com/p/vim/source/detail?r=v7-4-530 https://code.google.com/p/vim/source/detail?r=v7-4-531 Add legacy tests for 7.4.530 https://code.google.com/p/vim/source/detail?r=1e6d87a36dcdca231721dde8cbbc26610fb3df27
* vim-patch:7.4.633 #2526Florian Walch2015-04-28
| | | | | | | Problem: After 7.4.630 the problem persists. Solution: Also skip redo when calling a user function. https://github.com/vim/vim/commit/v7-4-633
* vim-patch:7.4.630 #2524Florian Walch2015-04-28
| | | | | | | | | Problem: When using Insert mode completion combined with autocommands the redo command may not work. Solution: Do not save the redo buffer when executing autocommands. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/v7-4-630
* coverity/109843: Nesting indent mismatch: RI.Eliseo Martínez2015-04-28
| | | | Introduction of asserts broke bracketless if's.
* Fix visual selection after left click on tablineMarco Hinz2015-04-28
| | | | | | After left clicking on a tab in the tabline, the "in_tab_line" variable wasn't set to 'false' and every following mouse action assumed still being on the tabline which messed up visual selection etc.
* Merge #2516: Fix clang analysis warnings. (11)Eliseo Martínez2015-04-28
|\ | | | | | | Reviewed-by: oni-link <knil.ino@gmail.com>