Commit Graph

11424 Commits

Author SHA1 Message Date
Jan Edmund Lazo
3d77ca39c7 lint 2018-08-11 18:57:54 -04:00
Jan Edmund Lazo
594536a1e7 vim-patch:8.0.1361: some users don't want to diff with hidden buffers
Problem:    Some users don't want to diff with hidden buffers.
Solution:   Add the "hiddenoff" item to 'diffopt'. (Alisue, closes vim/vim#2394)
97ce419201
2018-08-11 15:06:07 -04:00
Jan Edmund Lazo
90128843f6 diff: drop enc_utf8 check in diff_equal_char()
enc_utf8 is always true for nvim.
2018-08-11 14:54:48 -04:00
Jan Edmund Lazo
fd334ec2a8 vim-patch:8.0.1046: code duplication in diff mode
Problem:    Code duplication in diff mode.
Solution:   Use diff_equal_char() also in diff_cmp(). (Rick Howe)
ae96b8d058
2018-08-11 14:54:39 -04:00
Jan Edmund Lazo
4f93d05d39 vim-patch:8.0.1037: "icase" of 'diffopt' is not used for highlighting
Problem:    "icase" of 'diffopt' is not used for highlighting differences.
Solution:   Also use "icase". (Rick Howe)
da22b8cc8b
2018-08-11 14:54:39 -04:00
ZviRackover
22311457ab refactor: Replace vim_strrchr() with strrchar() (#8718)
ref #1474
2018-08-11 16:14:10 +02:00
Jan Edmund Lazo
6aefae8c4e terminfo: add header guard, stdint.h for int8_t (#8848)
Lint fixes for single-include test.
2018-08-11 16:06:57 +02:00
Justin M. Keyes
c30812be7b
Merge #8845 from janlazo/vim-8.0.1490 2018-08-10 20:08:18 +02:00
Felipe Morales
a5e3f4da34 tutor: don't set statusline (#8844)
also, remove unused function tutor#InfoText()

fixes #8842
2018-08-10 19:01:17 +02:00
Jan Edmund Lazo
5ee9161f81 lint 2018-08-10 12:54:18 -04:00
Jan Edmund Lazo
efbf70600c vim-patch:8.0.1490: number of spell regions is spread out through the code
Problem:    Number of spell regions is spread out through the code.
Solution:   Define MAXREGIONS.
2993ac5fce
2018-08-10 12:35:38 -04:00
James McCoy
2841e89cf1
Merge pull request #7981 from mhinz/update-terminfo-rxvt
[RDY] terminfo: update built-in terminfo entries by script
2018-08-10 10:35:39 -04:00
Marco Hinz
092f1a3e2c
terminfo: update built-in terminfo entries
The arrays are put in their own file: terminfo_defs.h. This makes it simple to
update all terminfo entries in one go using scripts/update_terminfo.sh.

The entries were compiled with tic 6.1 and some use the extended number format.
2018-08-10 14:58:23 +02:00
Marco Hinz
ceeca24205
terminfo: add scripts/update_terminfo.sh
This script updates the built-in terminfo entries.

[skip ci]
2018-08-10 14:58:23 +02:00
James McCoy
fcd58c59eb
Merge pull request #8838 from jamessan/vim-patch-issue-regex
vim-patch.sh: Fix replacement which converts #1234 to vim/vim#1234
2018-08-09 20:11:44 -04:00
James McCoy
68411dc189
vim-patch.sh: Fix replacement which converts #1234 to vim/vim#1234
Noticed in cb7bdf5f, where the script incorrectly converted `#ifdef` to
`vim/vim#ifdef`.

[skip ci]
2018-08-09 20:10:41 -04:00
Justin M. Keyes
cf9dd7a3f4
Merge #8835 from janlazo/vim-8.0.1819 2018-08-10 00:01:32 +02:00
Jan Edmund Lazo
fc8965787b memline: fnamecmp_ino() returns bool 2018-08-09 14:19:26 -04:00
Jan Edmund Lazo
e36fce75fb vim-patch:8.0.1819: swap file warning for file with non-existing directory
Problem:    Swap file warning for a file in a non-existing directory, if there
            is another with the same file name. (Juergen Weigert)
Solution:   When expanding the file name fails compare the file names.
8c3169c58e
2018-08-09 14:12:57 -04:00
Jan Edmund Lazo
cb7bdf5f92 vim-patch:8.1.0024: test % command (#8834)
Problem:    % command not testded on vim/vim#ifdef and comment.
Solution:   Add tests. (Dominique Pelle, closes vim/vim#2956)
6b69e5c646
2018-08-09 18:41:36 +02:00
Justin M. Keyes
0b3555b5dd
Merge #8831 from janlazo/vim-8.1.0009 2018-08-09 02:30:19 +02:00
Justin M. Keyes
72fecad1ff
Merge #8804 from battlmonstr/lang_region_crash
Fix crash in lang_init() on macOS if lang_region = NULL
2018-08-09 02:02:36 +02:00
Justin M. Keyes
0478fb3b58
Merge #8797 from janlazo/vim-8.0.0687 2018-08-09 02:00:28 +02:00
Jason Felice
c7efc6047d vim-patch.sh: Pass directory name to find (#8830)
BSD/Mac find requires directory names before arguments.
2018-08-09 01:56:55 +02:00
Jan Edmund Lazo
f7f79c60bb vim-patch:8.1.0241: effect of ":tabmove N" is not clear
Problem:    Effect of ":tabmove N" is not clear.
Solution:   Add a test that shows the behavior. (Christian Brabandt,
            closes vim/vim#3288)
7cc596547a
2018-08-08 19:36:07 -04:00
Jan Edmund Lazo
345789f9ef vim-patch:8.1.0009: tabpages insufficiently tested
Problem:    Tabpages insufficiently tested.
Solution:   Add more test coverage. (Dominique Pelle, closes vim/vim#2934)
dbe8869c41
2018-08-08 19:35:35 -04:00
Marco Hinz
d581398779 ruby: detect rbenv shims for other versions (#8733)
When rbenv is used for managing Ruby installations, just checking for an
executable called "neovim-ruby-host" is not enough. It has to be run as well.

If it does not return 0, then neovim-ruby-host is merely a shim for another Ruby
installation.

  $ rbenv versions
    2.5.0
  * 2.5.1 (set by /Users/mhi/.rbenv/version)

  $ rbenv whence neovim-ruby-host
  2.5.0

  $ which neovim-ruby-host
  /Users/mhi/.rbenv/shims/neovim-ruby-host

  $ neovim-ruby-host
  rbenv: neovim-ruby-host: command not found

  The `neovim-ruby-host' command exists in these Ruby versions:
    2.5.0

  $ echo $?
  127

Additionally, the detection logic was moved from provider#ruby#Detect() to
s:detect(), because the former is run in the sandbox which forbids calling
system().
2018-08-09 00:47:35 +02:00
Jan Edmund Lazo
c1187d4af0 defaults: win: 'shellpipe' for cmd.exe (#8827)
">%s 2>&1" redirects stderr to a file, same as 'shellredir' on Windows.
2018-08-08 23:37:14 +02:00
Justin M. Keyes
8213109304
Merge #8821 from janlazo/vim-8.1.0003 2018-08-08 10:49:09 +02:00
Jan Edmund Lazo
d6af425322 oldtests: win: set shellpipe for cmd.exe
Redirect errors from :make to error file.
Fix execption error in test_compiler.vim on Windows.
2018-08-07 23:04:04 -04:00
Justin M. Keyes
b7a417c5e6
Merge #8744 from janlazo/vim-8.0.0890 2018-08-08 02:22:34 +02:00
Justin M. Keyes
c06613d2f6
Merge #8665 'Remove mb_ptr2char macro' 2018-08-08 01:24:18 +02:00
Jan Edmund Lazo
d5e8b3f451 misc: fixpos in del_char() is bool 2018-08-07 19:07:54 -04:00
Jan Edmund Lazo
0e4a54a17b edit: end_insert in check_auto_format() is bool 2018-08-07 13:20:46 -04:00
Jan Edmund Lazo
a2eff8f15c edit: did_add_space is bool 2018-08-07 13:16:38 -04:00
Jan Edmund Lazo
672449e448 memline: copy in ml_replace() is bool 2018-08-07 13:11:51 -04:00
Jan Edmund Lazo
80df0a8fd2 ops: is_del in block_prep() is bool 2018-08-07 12:13:41 -04:00
Jan Edmund Lazo
2b229b816b window: no_display in restore_win() is bool 2018-08-07 11:40:54 -04:00
Jan Edmund Lazo
1468946154 ops: add const to shift_block() variables 2018-08-07 11:35:07 -04:00
Jan Edmund Lazo
5493139c9f tests: win: fix pathsep of :compiler paths 2018-08-06 23:51:10 -04:00
Jan Edmund Lazo
daca22f5b2 vim-patch:8.1.0005: test for :compiler command fails on MS-Windows
Problem:    Test for :compiler command fails on MS-Windows.
Solution:   Ignore difference in path.
d19b234154
2018-08-06 22:55:04 -04:00
Jan Edmund Lazo
196cc13130 vim-patch:8.1.0004: test for :compiler command sometimes fails
Problem:    Test for :compiler command sometimes fails.
Solution:   Be less strict about the error message. (Dominique Pelle)
54651f7494
2018-08-06 22:54:16 -04:00
Jan Edmund Lazo
f9f37193d1 vim-patch:8.1.0003: the :compiler command is not tested
Problem:    The :compiler command is not tested.
Solution:   Add a test. (Dominique Pelle, closes vim/vim#2930)
10561fe0a3
2018-08-06 22:53:53 -04:00
Jan Edmund Lazo
c233277737 eval: add const to f_gettabvar() variables 2018-08-06 21:56:39 -04:00
Jan Edmund Lazo
e6127a49db edit: temp in ins_del() is const int 2018-08-06 21:56:39 -04:00
Jan Edmund Lazo
f807a7de04 vim-patch:8.1.0007: no test for "o" and "O" in Visual block mode
Problem:    No test for "o" and "O" in Visual block mode.
Solution:   Add a test. (Dominique Pelle, closes vim/vim#2932)
2e94976abd
2018-08-06 21:56:39 -04:00
Jan Edmund Lazo
343c226abf vim-patch:8.0.1811: no test for winrestcmd()
Problem:    No test for winrestcmd().
Solution:   Add a test. (Dominique Pelle, closes vim/vim#2894)
72cf47a279
2018-08-06 21:56:39 -04:00
Jan Edmund Lazo
1b3cbb39a1 vim-patch:8.0.1705: when making a vertical split the mode message isn't updated
Problem:    When making a vertical split the mode message isn't always
            updated, "VISUAL" remains. (Alexei Averchenko)
Solution:   Only reset clear_cmdline when filling all columns of the last
            screen line. (Tom M. closes vim/vim#2611)
5bab555c2f
2018-08-06 21:56:39 -04:00
Jan Edmund Lazo
a8ff55d50e vim-patch:8.0.1446: acessing freed memory after window command in auto command
Problem:    Acessing freed memory after window command in auto command.
            (gy741)
Solution:   Adjust the pointer in the parent frame. (Christian Brabandt,
            closes vim/vim#2467)
6f361c9912
2018-08-06 21:56:39 -04:00
Jan Edmund Lazo
ce5d755048 vim-patch:8.0.1579: virtual replace test fails in GUI
Problem:    Virtual replace test fails in GUI.
Solution:   Don't save key options if they were not set.
df0d24b627
2018-08-06 21:56:39 -04:00