Commit Graph

3110 Commits

Author SHA1 Message Date
Paul Burlumi
aca6dc5001 coverity/13749: fix negative array index read in unset_global_local_option 2014-08-19 22:06:55 +01:00
André Twupack
41634af0e5 vim-patch:7.4.231
Problem:    An error in ":options" is not caught by the tests.
Solution:   Add a test for ":options".  Set $VIMRUNTIME for the tests so that
            it uses the current runtime files instead of the installed ones.

https://code.google.com/p/vim/source/detail?r=0a295a3c9e473512ad3b006a0fb752ad43d19094
2014-08-19 19:32:58 +02:00
Justin M. Keyes
a40a7cf24f vim-patch:7.4.329 #1079
Problem:    When moving the cursor and then switching to another window the
            previous window isn't scrolled. (Yukihiro Nakadaira)
Solution:   Call update_topline() before leaving the window. (Christian
            Brabandt)

https://code.google.com/p/vim/source/detail?r=018df65085f8
2014-08-19 01:40:40 -04:00
Justin M. Keyes
8ae492bb5a vim-patch:7.4.325 #1078
Problem:    When starting the gui and changing the window size the status line
            may not be drawn correctly.
Solution:   Catch new_win_height() being called recursively. (Christian
            Brabandt)

https://code.google.com/p/vim/source/detail?r=1f288d247548
2014-08-19 01:38:15 -04:00
Justin M. Keyes
a0e593e261 Merge pull request #1019 from splinterofchaos/globpath
vim-patch:7.4.279
2014-08-18 00:27:07 -04:00
Fredrik Fornwall
6dcd629ed6 Make ttyfast default to true on all terminals #1051 2014-08-18 03:59:40 +00:00
Scott Prager
d2988e12fe vim-patch:7.4.276
Problem:    The fish shell is not supported.
Solution:   Use begin/end instead of () for fish. (Andy Russell)

https://code.google.com/p/vim/source/detail?r=a6b59ee633a355095e6473ec5e2a7d9088bfb853
2014-08-17 22:17:26 -04:00
Scott Prager
284539f395 Doxygen/comment style for make_filter_cmd(). 2014-08-17 22:16:00 -04:00
Scott Prager
b9553bd038 path.c: Learn invocation_path_tail().
Required for vim patch 276 as an alternative to
`get_isolated_shell_name()`.
2014-08-17 22:16:00 -04:00
Scott Prager
53a3c5c21c Use sizeof over magic numbers. 2014-08-17 22:16:00 -04:00
André Twupack
16a04bae0a vim-patch:7.4.318 #968
Problem:    Check for whether a highlight group has settings ignores fg and bg color settings.
Solution:   Also check cterm and GUI color settings. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=5c47dacf397c1c65d2dfc237b3ff395c66ec3d4d
2014-08-18 01:25:17 +00:00
Justin M. Keyes
b6da1ac339 version.c: mark irrelevant patches with "NA" #1074
uncomment some patch numbers that were satisfied by #938
2014-08-17 18:39:23 -04:00
Wayne Rowcliffe
888a31ba45 FOR_ALL_BUFFERS use locally declared buffer pointer 2014-08-17 11:13:42 -05:00
Justin M. Keyes
640bced2f8 Merge pull request #950 from Hinidu/os_fchown
Implement os_fchown and remove HAVE_FCHOWN
2014-08-16 08:33:21 -04:00
Pavel Platto
8f4ada5a2a os_fchown: remove cast of parameter -1 to uid_t 2014-08-16 09:21:09 +03:00
André Twupack
9c8da794e1 vim-patch:7.4.201
Problem:    'lispwords' is a global option.
Solution:   Make 'lispwords' global-local. (Sung Pae)

https://code.google.com/p/vim/source/detail?r=06e5f65c34d8136c3a9d2219429b7eca35cb3a21
2014-08-15 18:56:05 +02:00
Justin M. Keyes
933602b188 Merge pull request #971 from munshkr/p7.4.314
vim-patch:7.4.314
2014-08-15 08:35:55 -04:00
Damián Silvani
fc93536a90 vim-patch:7.4.314
Problem:    Completion messages can get in the way of a plugin.
Solution:   Add 'c' flag to 'shortmess' option. (Shougo Matsu)

https://code.google.com/p/vim/source/detail?r=4d7af1962d6ce61df65fdc5c86544a61951f9517
2014-08-14 23:20:08 -03:00
Damián Silvani
01d6898638 vim-patch:7.4.294
Problem:    Test files missing from patch.
Solution:   Patch the test files.

https://code.google.com/p/vim/source/detail?r=fdea5ea9afd139ea59dee6bdb3f1675b8b882bdf
2014-08-14 23:06:56 -03:00
Damián Silvani
9ea28e1903 vim-patch:7.4.293
Problem:    It is not possible to ignore composing characters at a
            specific point in a pattern.
Solution:   Add the %C item.

https://code.google.com/p/vim/source/detail?r=10fc95f48546f438648b8357062e93c9c2c0a377
2014-08-14 23:06:52 -03:00
André Twupack
3d9a0cca29 vim-patch:7.4.328
Problem:    Selection of inner block is inconsistent.
Solution:   Skip indent not only for '}' but all parens. (Tom McDonald)

https://code.google.com/p/vim/source/detail?r=01d9ffdd6e6ffb39faf946e13ec63bd7dc31e162
2014-08-14 19:51:10 +02:00
Justin M. Keyes
5c9db00e9e Merge pull request #1064 from mraghavan/coverity-22-07
coverity/71508: Fix potential null dereference.
2014-08-14 09:18:01 -04:00
André Twupack
9fb0026fcc vim-patch:7.4.335 #1061
Problem:    No digraph for the new rouble sign.
Solution:   Add the digraphs =R and =P.

https://code.google.com/p/vim/source/detail?r=8ad2ecd116021ad5c945426e8bb80d741392b780
2014-08-14 06:24:00 +00:00
Manish Raghavan
53231d5e0f coverity/71508: Fix potential null dereference.
Make sure feature pointer is not null before dereferencing.
2014-08-13 20:16:14 -07:00
André Twupack
fde390133e vim-patch:7.4.327 #1010
Problem:    When 'verbose' is set to display the return value of a function, may get E724 repeatedly.
Solution:   Do not give an error for verbose messages. Abort conversion to string after an error.

https://code.google.com/p/vim/source/detail?r=99d8f2d72dcd4b850de81998cc9b1120c8165762
2014-08-13 13:49:06 -04:00
André Twupack
d730c5c57e vim-patch:7.4.331 #1017
Problem:    Relative numbering not updated after a linewise yank.  Issue 235.
Solution:   Redraw after the yank. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=6d984caa0409fd284722c44cb09a0a2b5360bd4f
2014-08-13 13:45:54 -04:00
Pavel Platto
94f3d30306 os_fchown: impl and remove HAVE_FCHOWN 2014-08-13 09:13:58 +03:00
Thiago de Arruda
353bb20ff7 build/test: setup functional tests using vroom 2014-08-09 15:10:56 -03:00
Pavel Platto
5e42b406a5 Implement os_mkdtemp on top of uv_fs_mkdtemp 2014-08-09 11:28:43 -03:00
Justin M. Keyes
19f44fda8b Merge pull request #985 from fwalch/clang-analyzer-dead-assignments
Clang analyzer: fix dead stores / reduce scope
2014-08-08 09:27:09 -04:00
André Twupack
cb809069a8 vim-patch:7.4.323 #967
Problem:    Substitute() with zero width pattern breaks multi-byte character.
Solution:   Take multi-byte character size into account. (Yukihiro Nakadaira)

https://code.google.com/p/vim/source/detail?r=238f5027830cad22e17a970483af9b160869cdf3
2014-08-07 18:12:10 -04:00
Rui Abreu Ferreira
2875ad865b Add API vim_replace_termcodes
- Add API function to call replace_termcodes
2014-08-07 12:03:27 -03:00
Rui Abreu Ferreira
1dea4044e7 Refactor vim_feedkeys and f_feedkeys
- To clean up the mix between feedkeys and replace_termcodes
  the vim_feedkeys API function now does the same thing as the
  vimscript feedkeys() function
- The original f_feedkeys() function now calls the vim_feedkeys()
  function from the API
2014-08-07 12:03:27 -03:00
Rui Abreu Ferreira
d8beb77b1b Add helper cstr_as_string()
- Add nocopy helper alternative to cstr_to_string
2014-08-07 12:03:27 -03:00
Florian Walch
bdd82b0da7 clang-analyzer: Fix dead stores in garray.c. 2014-08-07 15:19:59 +02:00
Florian Walch
4fa8a0c43c clang-analyzer: Reduce scope in syntax.c. 2014-08-07 15:19:59 +02:00
Florian Walch
020bfb6ea2 clang-analyzer: Reduce scope in arabic.c. 2014-08-07 15:19:59 +02:00
Florian Walch
d80d46883e clang-analyzer: Reduce scope in search.c. 2014-08-07 15:19:59 +02:00
Florian Walch
1d524ea98d clang-analyzer: Reduce scope in screen.c. 2014-08-07 15:19:56 +02:00
Florian Walch
141b74bcd4 clang-analyzer: Reduce scope in spell.c. 2014-08-07 14:29:42 +02:00
Florian Walch
c683858a6a clang-analyzer: Fix dead stores in window.c. 2014-08-07 10:53:33 +02:00
Justin M. Keyes
ad5ae68acd Merge #814 'Remove dead #ifdefed code' 2014-08-07 02:20:12 -04:00
Fredrik Fornwall
1de8fe30c8 Remove unused USE_TERM_CONSOLE ifdefs #1015
This is unused after dropped amiga and msdos support.
2014-08-07 01:52:03 -04:00
Fredrik Fornwall
e6edfa9617 Drop SGI IRIS support. #1006 2014-08-07 01:37:18 -04:00
Wayne Rowcliffe
3599a834d5 Return bool from find_win_for_buf #1023 2014-08-07 00:42:13 -04:00
Thiago de Arruda
ed71401b24 bugfix: set empty string as default for ipy/icpb to avoid segfault
Fixes #1039
2014-08-06 12:59:27 -03:00
Scott Prager
5617ee8f35 vim-patch:7.4.279
Problem:    globpath() returns a string, making it difficult to get a
            list of matches.  (Greg Novack)
Solution:   Add an optional argument like with glob().  (Adnan Zafar)

https://code.google.com/p/vim/source/detail?r=8e9db1f27a0063df023cc05a760fce73255dad24
2014-08-04 12:01:58 -04:00
André Twupack
b53034d423 vim-patch:7.4.315 #1021
Problem:    Fixes for computation of topline not tested.
Solution:   Add test. (Hirohito Higashi)

https://code.google.com/p/vim/source/detail?r=646616b6ff4defcc7bef0b198b540f6d965a8126
2014-08-03 15:49:24 +00:00
Wayne Rowcliffe
8cf45786b1 Add FOR_ALL_BUFFERS helper 2014-08-02 20:19:33 -05:00
Pavel Platto
8b72ae7c78 Remove fix for select(). select() is not used anymore. 2014-08-02 09:18:06 +03:00