Commit Graph

19394 Commits

Author SHA1 Message Date
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
Pavel Platto
f42a4be834 Remove SMALL_MALLOC. Used on MSDOS and WIN16. 2014-08-02 09:17:00 +03:00
Pavel Platto
fe61a45c07 Remove __MVS__ and MOTIF390_MNEMONIC_FIXED 2014-08-02 09:17:00 +03:00
Pavel Platto
de8ba56495 Remove HAVE_LIBC_H
It was used in Vim for NeXT OS.
2014-08-02 09:17:00 +03:00
Pavel Platto
ff71a042a2 Remove HAVE_TOTAL_MEM
libuv provide uv_get_total_mem_kib. So HAVE_TOTAL_MEM should always be
true.
Before that commit in neovim maxmem=5120 and maxmemtot=10240. Now
both equal to half of system memory.
2014-08-02 09:17:00 +03:00
Pavel Platto
5881842007 Remove FEAT_TAG_ANYWHITE
This feature allow to use any white space characters instead of one
<TAB> in tag files. It is disabled in vanilla Vim's default build
configuration. Exuberant ctags use format with exactly one TAB.
2014-08-02 09:17:00 +03:00
Pavel Platto
b2b920f20e Remove FEAT_OSFILETYPE
Feature description from Vim documentation:

NOTE: this code is currently disabled, as the RISC OS implementation was
removed.  In the future this will use the 'filetype' option.

On operating systems which support storing a file type with the file, you can
specify that an autocommand should only be executed if the file is of a
certain type.

The actual type checking depends on which platform you are running Vim
on; see your system's documentation for details.

To use osfiletype checking in an autocommand you should put a list of types to
match in angle brackets in place of a pattern, like this: >

	:au BufRead *.html,<&faf;HTML>  runtime! syntax/html.vim

This will match:

- Any file whose name ends in ".html"
- Any file whose type is "&faf" or "HTML", where the meaning of these types
  depends on which version of Vim you are using.
  Unknown types are considered NOT to match.
2014-08-02 09:16:59 +03:00
Pavel Platto
77cb6551a6 Remove EBCDIC: Remove IF_EB macros 2014-08-02 09:16:59 +03:00
Pavel Platto
8991609393 Remove EBCDIC: remove last #ifdef EBCDIC 2014-08-02 09:16:59 +03:00
Pavel Platto
e1dd98512f Remove EBCDIC: Clean up comments 2014-08-02 09:16:59 +03:00
Pavel Platto
2e831e56c7 Remove DONT_ADD_PATHSEP_TO_DIR used only in legacy Mac 2014-08-02 09:16:59 +03:00
Pavel Platto
215d747e22 Show +cursorshape in :version
All code which was inside #ifdef CURSOR_SHAPE is being used now, except
one in version.c (that occurence is fixed by this commit).
2014-08-02 09:13:06 +03:00
Pavel Platto
6ff5759ed2 Remove BEOS_PR_OR_BETTER 2014-08-02 09:13:06 +03:00
Pavel Platto
1fbee0fe45 Remove BeOS DR8 specific hack
It is already partially removed from screen.c
2014-08-02 09:13:06 +03:00
Fredrik Fornwall
44afe610f8 Partial C99 cleanup of term.c #1020 2014-08-01 13:20:11 -04:00
Will Stamper
dafd72f5b2 vim-patch:7.4.309 #843
Problem:    When increasing the size of the lower window, the upper
            window jumps back to the top. (Ron Aaron)
Solution:   Change setting the topline. (Nobuhiro Takasaki)

https://code.google.com/p/vim/source/detail?r=88a6e9f33822d33b6c32db578750c6c178c63f50
2014-07-31 15:12:14 -04:00
Nicolas Hillegeer
e4be7bc27c eval: re-add has('mac') and has('macunix') #976
They were removed but they can be handy to separate some things to do at
startup in a .vimrc for example.
2014-07-30 18:26:32 -04:00