Felipe Morales
f6c55022ff
vim-patch:7.4.535
...
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.
2015-04-28 23:08:31 -03:00
Felipe Morales
86330fdd3f
vim-patch:7.4.530-531
...
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
2015-04-28 23:08:30 -03:00
Florian Walch
6a8862ded4
vim-patch:7.4.633 #2526
...
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
2015-04-28 21:03:00 -04:00
Florian Walch
13e148687c
vim-patch:7.4.630 #2524
...
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
2015-04-28 20:55:45 -04:00
Eliseo Martínez
158d267533
Merge #2529 : Fix coverity issues. (8)
...
Reviewed-by: Justin M. Keyes <justinkz@gmail.com >
2015-04-28 20:11:30 +02:00
Eliseo Martínez
87b4093970
coverity/109843: Nesting indent mismatch: RI.
...
Introduction of asserts broke bracketless if's.
2015-04-28 19:56:57 +02:00
Florian Walch
a903407471
vim-patch.sh: Fix indentation, use GH URL for tagged versions. #2525
...
* Link to the commit details on GitHub for a tagged version.
* Non-tagged patches (runtime updates) are still linked to
Google Code because they are identified by a Mercurial commit hash.
2015-04-28 17:29:20 +03:00
Justin M. Keyes
7315b9d872
Merge pull request #2383 from mhinz/fix-left-click
...
Fix visual selection after left click on tabline
2015-04-28 10:09:31 -04:00
Marco Hinz
6fb66f4416
UI test: visual selection after left click in tabline
2015-04-28 14:16:37 +02:00
Marco Hinz
6449921943
UI test: left click in tabline
2015-04-28 14:16:37 +02:00
Marco Hinz
c1d1992b1c
Fix visual selection after left click on tabline
...
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.
2015-04-28 14:16:37 +02:00
Eliseo Martínez
2d4a6843fc
Merge #2516 : Fix clang analysis warnings. (11)
...
Reviewed-by: oni-link <knil.ino@gmail.com >
2015-04-28 11:54:59 +02:00
Eliseo Martínez
3450762f0a
Merge #2518 : Enable -Wconversion. (3)
...
Reviewed-by: Justin M. Keyes <justinkz@gmail.com >
2015-04-28 10:31:42 +02:00
Eliseo Martínez
46f510350e
Fix warnings: ex_getln.c: getexmodeline(): HI.
...
Problem : Dead increment @ 1795.
Diagnostic : Harmless issue.
Rationale : Line was necessary before (indent was used by the following
while loop), but now that loop is removed, assignment is
indeed dead.
Resolution : Remove line.
2015-04-27 19:50:33 +02:00
Eliseo Martínez
7c956dcbe8
Enable -Wconversion: normal.c.
...
Refactor summary:
- extern int opcount --> extern long opcount
- bool find_decl(..., int len, ...) --> bool find_decl(..., size_t len, ...)
* int find_ident_under_cursor(...) --> size_t find_ident_under_cursor(...)
- int find_ident_at_pos(...) --> size_t find_ident_at_pos(...)
- int modify_fname(..., int *usedlen, ..., int *fnamelen) --> int modify_fname(..., size_t *usedlen, ..., size_t *fnamelen)
* char_u *eval_vars(..., int *usedlen, ...) --> char_u *eval_vars(..., size_t *usedlen, ...)
- int find_cmdline_var(..., int *usedlen) --> ssize_t find_cmdline_var(..., size_t *usedlen)
- static char_u *repl_cmdline(..., int srclen, ...) --> static char_u *repl_cmdline(..., size_t srclen, ...)
- bool get_visual_text(..., int *lenp) --> bool get_visual_text(..., size_t *lenp)
* char_u *find_file_name_in_path(..., int len, ...) --> char_u *find_file_name_in_path(..., size_t len, ...)
- static char_u *eval_includeexpr(..., int len) --> static char_u *eval_includeexpr(..., size_t len)
- char_u *find_file_in_path(..., int len, ...) --> char_u *find_file_in_path(..., size_t len, ...)
* char_u *find_file_in_path_option(..., int len, ...) --> char_u *find_file_in_path_option(..., size_t len, ...)
- char_u *find_directory_in_path(..., int len, ...) --> char_u *find_directory_in_path(..., size_t len, ...)
* int spell_move_to(...) --> size_t spell_move_to(...)
- int spell_check(...) --> size_t spell_check(...)
- static int spell_bad_len --> static size_t spell_bad_len
- void find_pattern_in_path(..., int len, ...) --> void find_pattern_in_path(..., size_t len, ...)
Helped-by: Justin M. Keyes <justinkz@gmail.com >
2015-04-27 19:27:07 +02:00
Eliseo Martínez
8ee09a3bd2
Fix warnings: ex_getln.c: init_history(): Nonnull attr passed null: HI.
...
Problem : Argument with 'nonnull' attribute passed null @ 4227.
Diagnostic : Harmless issue.
Rationale : It's true we're calling memset with NULL pointer, but it's
also true we're doing it with zero size. We just thought
that would work and do nothing (it was a way of avoiding
to add a guard). It doesn't work, though, as memset
requires nonnull arguments.
Resolution : Add guard to avoid null argument.
2015-04-27 15:55:03 +02:00
Justin M. Keyes
d9441444af
Merge #2492 'vim-patch:7.4.710-712'
2015-04-27 04:59:45 -04:00
David Bürgin
2632dc5890
vim-patch:7.4.712
...
Problem: Missing change in another file.
Solution: Also change message.c
https://github.com/vim/vim/releases/tag/v7-4-712
2015-04-27 04:58:37 -04:00
David Bürgin
b52deb6cc8
vim-patch:7.4.711
...
Problem: Missing change in one file.
Solution: Also change option.c
https://github.com/vim/vim/releases/tag/v7-4-711
2015-04-27 04:58:37 -04:00
David Bürgin
7f07646294
vim-patch:7.4.710
...
Problem: It is not possible to make spaces visibible in list mode.
Solution: Add the "space" item to 'listchars'. (David Bürgin, issue 350)
https://github.com/vim/vim/releases/tag/v7-4-710
Closes #2485 .
2015-04-27 04:58:37 -04:00
David Bürgin
ed464908e4
version.c: Add new patch numbers
2015-04-27 04:37:10 -04:00
David Bürgin
5a1a2ba783
vim-patch:7.4.537 #2509
...
Problem: Value of v:hlsearch reflects an internal variable.
Solution: Make the value reflect whether search highlighting is actually
displayed. (Christian Brabandt)
https://github.com/vim/vim/releases/tag/v7-4-537
2015-04-27 02:10:57 -04:00
David Bürgin
af863d46a9
vim-patch:7.4.532 #2504
...
Problem: When using 'incsearch' "2/pattern/e" highlights the first match.
Solution: Move the code to set extra_col inside the loop for count. (Ozaki
Kiichi)
https://github.com/vim/vim/releases/tag/v7-4-532
2015-04-27 01:46:43 -04:00
Justin M. Keyes
0928904e16
Merge #2349 'vim-patch:7.4.519'
2015-04-27 01:41:43 -04:00
David Bürgin
d9a51ca811
vim-patch:7.4.554
...
Problem: Missing part of patch 7.4.519.
Solution: Copy back regprog after calling vim_regexec.
https://github.com/vim/vim/tree/v7-4-554
2015-04-27 01:41:42 -04:00
David Bürgin
b3519ca73b
vim-patch:7.4.519
...
Problem: Crash when using syntax highlighting.
Solution: When regprog is freed and replaced, store the result.
https://github.com/vim/vim/tree/v7-4-519
Helped-by: Scott Prager <splinterofchaos@gmail.com >
2015-04-27 01:41:42 -04:00
David Bürgin
4230f8c332
'cpoptions': Remove "w" flag #2507
2015-04-27 01:08:17 -04:00
Justin M. Keyes
b85db92d7f
Merge #2319 'ex_getln: Fixes for getexmodeline()'
2015-04-26 23:48:01 -04:00
oni-link
86e2d59b8d
vim-patch: mark 7.4.690 as included
...
vim-patch: https://code.google.com/p/vim/source/detail?r=v7-4-690
2015-04-26 23:47:59 -04:00
oni-link
2493b6fefc
ex_getln: Fixes for some problems with getexmodeline()
...
Problems with line-input editing commands in Ex mode
('nvim -e' or 'Q' in normal mode):
CTRL_U: Only after the next keystroke the complete
line change is shown if the indentation was
not 0.
: asdfCTRL_U
CTRL_T: Memory reallocation with ga_grows() before a
memmove(), but pointers into the memory are
not updated.
:set sw=40
:CTRL_T
...
Should complain about a memory error.
CTRL_D: Trying to reduce an indentation of 0.
:set sw=1
:CTRL_D
Segfault
Helped-by: Scott Prager <splinterofchaos@gmail.com >
2015-04-26 23:47:59 -04:00
grtlr
e692930af2
Travis: install g++-multilib #2515
2015-04-26 16:27:36 +03:00
Justin M. Keyes
1a636eabd5
Update README.md
2015-04-26 00:02:03 -04:00
Marco Hinz
5b94632f6e
test: don't process vimrc #2511
...
676133aa
introduced a new test for calling a nvim instance recursively.
But without '-u NONE', the vimrc (and all plugins) get loaded too, which
breaks the test for things that do stuff on VimEnter.
2015-04-25 23:50:15 -04:00
Jakson Alves de Aquino
f8151735a3
spell.c: give priority to rare words. #2456
...
See:
https://groups.google.com/forum/#!topic/vim_dev/rPWOoR3ZgSA
2015-04-25 23:32:48 -04:00
grtlr
dd8531dbb5
vim-patch:7.4.699 #2508
...
Problem: E315 when trying to delete a fold. (Yutao Yuan)
Solution: Make sure the fold doesn't go beyond the last buffer line.
(Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-699
2015-04-25 19:30:38 -04:00
Justin M. Keyes
b464f25109
Merge pull request #2496 from justinmk/doc-fixdel
...
doc: remove :fixdel
2015-04-25 18:03:35 -04:00
Justin M. Keyes
61d7ca22bb
doc/helphelp.txt: mention backticks for technical identifiers
...
[ci skip]
2015-04-25 18:00:37 -04:00
Justin M. Keyes
a3c0022901
doc: remove :fixdel
...
:fixdel was removed in 3baba1e7bc
Helped-by: Michael Reed <m.reed@mykolab.com >
2015-04-25 18:00:26 -04:00
Justin M. Keyes
eceff43169
doc/vim_diff.txt: formatting
...
- backticks in Vim help docs are supported by even the default
colorscheme; we should start using them for technical identifiers
instead of quotation marks.
- prefer judicious indentation to gratuitous bullets
Helped-by: Michael Reed <m.reed@mykolab.com >
2015-04-25 18:00:19 -04:00
David Bürgin
44c2db65db
vim-patch:7.4.553 #2513
...
Problem: Various small issues.
Solution: Fix those issues.
https://github.com/vim/vim/releases/tag/v7-4-553
2015-04-25 17:15:10 -04:00
David Bürgin
f6d76c0813
vim-patch:7.4.550 #2510
...
Problem: curs_rows() function is always called with the second argument
false.
Solution: Remove the argument. (Christian Brabandt)
validate_botline_win() can then also be removed.
https://github.com/vim/vim/releases/tag/v7-4-550
2015-04-25 17:08:40 -04:00
David Bürgin
deeee5bfab
options: Remove "g" flag from 'cpoptions' #2505
2015-04-25 15:07:45 -04:00
Felipe Oliveira Carvalho
0bce4dc544
Merge #2486 : Replacements for vim_iswhite, VIM_ISDIGIT, vim_isdigit, vim_isxdigit, and vim_isspace
...
Reviewed-by: Michael Reed <m.reed@mykolab.com >
2015-04-25 13:37:44 -03:00
Felipe Oliveira Carvalho
c96b933acc
Improve comments and fix ascii_* attributes
2015-04-24 22:17:02 -03:00
Felipe Oliveira Carvalho
bcfc37ea98
Replace vim_isspace() with ascii_isspace() defined in ascii.h
2015-04-24 20:37:13 -03:00
Felipe Oliveira Carvalho
2ca8afc74e
Replace vim_isxdigit() with to ascii_isxdigit() defined in ascii.h
2015-04-24 20:37:13 -03:00
Felipe Oliveira Carvalho
caabcae0b7
Replace VIM_ISDIGIT() and vim_isdigit() with ascii_isdigit() defined in ascii.h
2015-04-24 20:37:13 -03:00
Felipe Oliveira Carvalho
93bf201119
Replace vim_iswhite with ascii_iswhite() defined in ascii.h
2015-04-24 20:37:13 -03:00
Scott Prager
d350d12a00
rpcstart: check argvars, /then/ alloc argv #2462
...
fixes #2458
2015-04-23 18:27:32 -04:00
Eliseo Martínez
920381c01b
Merge #2491 : Fix xfree of static value from vim_getenv() refactor.
...
Reviewed-by: Eliseo Martínez <eliseomarmol@gmail.com >
2015-04-23 22:00:00 +02:00