Commit Graph
523 Commits
Author SHA1 Message Date
Justin M. Keyes 1d63672c77 Merge pull request #4821 from jamessan/vim-7.4.1096
vim-patch:7.4.1096,7.4.1567
2016-05-27 04:22:52 -04:00
James McCoy d693a22de3 vim-patch:acb4f22
Updated runtime files.

https://github.com/vim/vim/commit/acb4f221c715a333f4c49a2235a8006c6ac6e4d5

Ignored changes to:
* doc/eval.txt since alloc_fail isn't relevant for neovim
* doc/index.txt for unmerge :smile command
* doc/tags, syntax/vim.vim since they're generated at build time
* doc/todo.txt
2016-05-25 21:05:01 -04:00
James McCoy bc306ab5aa vim-patch:7.4.1096
Problem:    Need several lines to verify a command produces an error.
Solution:   Add assert_fails(). (suggested by Nikolay Pavlov)
            Make the quickfix alloc test actually work.

https://github.com/vim/vim/commit/a260b87d9da17f605666630f18c1ed909c2b8bae
2016-05-25 17:13:05 -04:00
Björn Linse c74ce334f2 Merge pull request #4624 from bfredl/timers
implement timers and process events during sleep
2016-05-25 11:00:54 +02:00
James McCoy 3d12192521 vim-patch:7.4.1064
Problem:    When a spell file has single letter compounding creating
            suggestions takes an awful long time.
Solution:   Add th eNOCOMPOUNDSUGS flag.

https://github.com/vim/vim/commit/7b877b360532713dc21a0ff3d55a76ac02eaf573
2016-05-24 22:07:37 -04:00
Björn Linse 61e8adb25e eval: implement timers. vim-patch: 7.4.1578, 7.4.1831
For the moment, timers are triggered during sleep,
but not in wait-for-input modes, like press-RETURN or f_getchar()
2016-05-24 22:08:56 +02:00
Jurica Bradaric 093f8d5376 vim-patch:7.4.1516
Problem:    Cannot change file permissions.
Solution:   Add setfperm().

https://github.com/vim/vim/commit/8049253b96838b3584600e5ad229abad37a95b10
2016-05-19 22:46:50 +02:00
Justin M. Keyes a69c3fbc8a Merge pull request #4734 from jbradaric/vim-7.4.1102
vim-patch:7.4.1102, 7.4.1110, 7.4.1832
2016-05-18 00:08:47 -04:00
Jurica Bradaric b4cbfd3c08 vim-patch:7.4.1102
Problem:    Debugger has no stack backtrace support.
Solution:   Add "backtrace", "frame", "up" and "down" commands. (Alberto
            Fanjul, closes vim/vim#433)

https://github.com/vim/vim/commit/f1f60f859cdbb2638b3662ccf7b1d179865fe7dc
2016-05-17 20:54:42 +02:00
Michael Ennen c3c409c70f vim-patch:7.4.1728
patch 7.4.1728
Problem:    The help for functions require a space after the "(".
Solution:   Make CTRL-] on a function name ignore the arguments. (Hirohito
            Higashi)

https://github.com/vim/vim/commit/81edd171a9465cf99cede4fa4a7b7bca3d538b0f
2016-05-17 00:04:40 -04:00
Justin M. Keyes 71450b54aa Merge pull request #4743 from jamessan/vim-7.4.1037
vim-patch:7.4.1037,fa73534
2016-05-15 22:50:17 -04:00
Joel D. Elkins 9b1e819c8c clipboard: support "doit" tool 2016-05-15 16:53:49 -05:00
James McCoy 92fe357a52 vim-patch:fa73534
Updated runtime files.

https://github.com/vim/vim/commit/fa7353428f705f7a13465a1943dddeede4083023

Missing in runtime/doc: if_tcl.txt, tags, todo.txt, version5.txt.  Some
other changes related to binary nrformats were already merged.
2016-05-14 17:16:18 -04:00
James McCoy 8c399d6b37 vim-patch:7.4.1037
Problem:    Using "q!" when there is a modified hidden buffer does not unload
            the current buffer, resulting in the need to abandon it again.
Solution:   When using "q!" unload the current buffer when needed. (Yasuhiro
            Matsumoto, Hirohito Higashi)

https://github.com/vim/vim/commit/027387f70c671f62e3e08e0bdd09ec05b0232735
2016-05-14 17:16:18 -04:00
KillTheMule bac9db0313 doc/starting.txt: fix numbering #4728 2016-05-10 06:50:09 -04:00
Shougo Matsushita acc5d08b37 'termguicolors' #4690
TODO: Only works at startup (i.e., in the user's init.vim/vimrc/--cmd),
      but it should probably work at any time.

---

patch 7.4.1799
Problem:    'guicolors' is a confusing option name.
Solution:   Use 'termguicolors' instead. (Hirohito Higashi)
https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162

patch 7.4.1806
Problem:    'termguicolors' option missing from the options window.
Solution:   Add the entry.
https://github.com/vim/vim/commit/8e3d1b6326c103cc92f8d07b1161ee5172acf201

patch 7.4.1808
Problem:    Using wrong feature name to check for 'termguicolors'.
Solution:   Use the right feature name. (Ken Takata)
https://github.com/vim/vim/commit/8a24b794b89916c8074892e7b25121a21f1fa9c9

patch 7.4.1809
Problem:    Using wrong short option name for 'termguicolors'.
Solution:   Use the option name.
https://github.com/vim/vim/commit/868cfc19bb079a16ca58884b551486566f35419b
2016-05-10 06:04:26 -04:00
Justin M. Keyes 0bfc1f33a0 Merge pull request #4588 from KillTheMule/vim-patch-1285
vim-patch: 7.4.1285
2016-05-10 03:02:07 -04:00
KillTheMule 219a8bdb36 Add documentation for reltimefloat()
from https://github.com/vim/vim/commit/03413f44167c4b5cd0012def9bb331e2518c83cf

Also adjust  the entries for reltime() and reltimestr().
2016-05-08 20:15:07 +02:00
Jurica Bradaric 2b238814d7 vim-patch:7.4.1042
Problem:    g-CTRL-G shows the word count, but there is no way to get the word
            count in a script.
Solution:   Add the wordcount() function. (Christian Brabandt)

https://github.com/vim/vim/commit/ed767a2073ef150971b0439a58e7ee582af6984e
2016-05-08 00:23:42 +02:00
KillTheMule 6a32852137 Fix typo that seems to have been around forever
Could not find when it was fixed in the vim source, it originates in 7.001, and
is fixed as of today, but my git-fu did not discern a relevant patch. I don't
think it matters much.
2016-05-04 17:02:43 +02:00
KillTheMule 7b29dfc43a vim-patch:256972a
Updated runtime files.

https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b

Missing files in runtime/doc: todo.txt, tags. Patch to runtime/doc/syntax.txt
was applied manually in part, for no discernible reason.
2016-05-03 21:22:45 +02:00
KillTheMule b634cfcc19 vim-patch:2c5e8e8
Updated runtime files.

https://github.com/vim/vim/commit/2c5e8e80eacf491d4f266983f534a77776c7ae83

Missing files in runtime/doc: if_ruby.txt, tags, todo.txt. Ignored changes to
runtime/syntax/vim.vim.
2016-05-03 21:15:47 +02:00
KillTheMule 9d1c52239a vim-patch:d042dc8
Update runtime files.

https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9

Missing in runtime/doc: hangulin.txt, tags, todo.txt. The changes to options.txt
do not apply for nvim. man.vim is very different in nvim, some changes applied
manually, others discarded.
2016-05-03 21:13:41 +02:00
KillTheMule 95d376dc88 vim-patch:e392eb4
Update runtime files.

https://github.com/vim/vim/commit/e392eb41f8dfc01bd13634e534ac6b4d505326f4

Files runtime/doc/tags and runtime/doc/todo.txt did not exist. Ignored
runtime/syntax/vim.vim. One change in runtime/doc/windows.txt had already been
applied.
2016-05-03 21:09:03 +02:00
KillTheMule 367b1893e7 vim-patch:b4ff518
Updated runtime files.

https://github.com/vim/vim/commit/b4ff518d95aa57c2f8c0568c915035bef849581b

Missing files: runtime/doc/tags, runtime/doc/todo.txt. Changes to
runtime/doc/if_pyth.txt, runtime/doc/options.txt and runtime/doc/quickref.txt
did not aply. Excluded runtime/syntax/vim.vim.
2016-05-03 21:03:17 +02:00
KillTheMule c535cc7dde vim-patch:d7464be
Updated runtime files.

https://github.com/vim/vim/commit/d7464be9747fcaa8e6210e1f00a3882932df76e2

Applied cleanly except for runtime/docs/todo.txt and runtime/docs/tags.
2016-05-03 20:59:26 +02:00
KillTheMule 3c45e3b42a vim-patch:a0f849e
Update runtime files.

https://github.com/vim/vim/commit/a0f849ee40cbea3c889345256786b640b0becca2

Missing files runtime/doc/tags and runtime/doc/todo.txt. Excluded
runtime/syntax/vim.vim, since we diverged quite a bit from vim in this file.
2016-05-03 19:25:18 +02:00
Justin M. Keyes 4ff793eaab Merge pull request #4655 from brcolow/vim-7.4.1035
vim-patch: 7.4.1035
2016-04-27 21:53:05 -04:00
Justin M. Keyes e4146dd7df remove disable_char_avail_for_testing()
test_cursor_func.vim hangs at the call to
disable_char_avail_for_testing(). The test does not actually need this
function (and it correctly fails if the fix from 7.4.1300 is reverted).
Given that disable_char_avail_for_testing is a gigantic hack, if we can
avoid it let's do so.
2016-04-26 23:32:01 -04:00
Michael Ennen cc410185c0 vim-patch: 7.4.1035
Problem:    An Ex range gets adjusted for folded lines even when the range is
            not using line numbers.
Solution:   Only adjust line numbers for folding. (Christian Brabandt)

https://github.com/vim/vim/commit/a3306958dcb9aadff1e1e8521d908d86b10ac99a
2016-04-26 20:22:11 -07:00
Justin M. Keyes 67d5a1aae2 vim-patch:7.4.1092
Problem:    It is not simple to test for an exception and give a proper error
            message.
Solution:   Add assert_exception().

https://github.com/vim/vim/commit/a803c7f94070f94b831fdfd1984f288c8b825b5d
2016-04-25 06:34:29 -04:00
KillTheMule 3d73956b96 Add documentation for disable_char_avail_for_testing, handpicked from
https://github.com/vim/vim/commit/6463ca229cb9412581419497924c85fcbfc854ab
https://github.com/vim/vim/commit/7823a3bd2eed6ff9e544d201de96710bd5344aaf
2016-04-25 06:34:28 -04:00
Justin M. Keyes ef205c3851 Merge pull request #4325 from watiko/vim-7.4.984
vim-patch:7.4.{984,1093}
2016-04-25 04:17:45 -04:00
Justin M. Keyes 588bc1d958 Merge #4303 'vim-patch:7.4.{951,1143,1144}'. 2016-04-25 03:56:33 -04:00
Justin M. Keyes 121e76db6f Merge pull request #4273 from watiko/vim-7.4.957
vim-patch:7.4.{941,942,957}
2016-04-25 03:20:45 -04:00
Justin M. Keyes 3d7a6e4d54 Merge pull request #4367 from jbradaric/vim-7.4.1107
vim-patch:7.4.{1107,1114,1116,1117,1120}
2016-04-22 04:11:45 -04:00
Justin M. Keyes 89e6973fe2 tcd: doc, error messages 2016-04-21 03:15:08 -04:00
HiPhish ec71d87b81 Implement tab-local working directory feature.
New ex commands: 'tcd', 'tchdir'
Changed Vimscript functions: 'haslocaldir', 'getcwd'

The ex-commands ':tcd' and ':tchdir' are the tab-local equivalents of
':lcd' and ':lchdir'. There are no new Vimscript functions introduced,
instead the functions 'haslocaldir' and 'getcwd' take in optional
arguments. See the documentation for details

Since there is now different levels of local directory a simple boolean
at source level is no longer sufficient; a new enumeration type is used
for the scope-level from now on.

The documentation has been accommodated for these new commands and
functional tests have been written to test the feature.
2016-04-20 12:52:31 +02:00
Jurica Bradaric 88a735166b vim-patch:7.4.1114
Problem:    delete() does not work well with symbolic links.
Solution:   Recognize symbolik links.

https://github.com/vim/vim/commit/43a34f9f74fdce462fa250baab620264c28b6165
2016-04-20 08:25:51 +02:00
Jurica Bradaric 50a7517a6d vim-patch:7.4.1107
Problem:    Vim can create a directory but not delete it.
Solution:   Add an argument to delete() to make it possible to delete a
            directory, also recursively.

https://github.com/vim/vim/commit/da440d21a6b94d7f525fa7be9b1417c78dd9aa4c
2016-04-20 08:25:16 +02:00
Rui Abreu Ferreira 5c6592fdab v:windowid #4608
Set v:windowid as writeable (but read only in the sandbox).

References #3626
2016-04-19 02:49:34 -04:00
Justin M. Keyes ba9bdb3e70 Merge pull request #4604 from dbarnett/vim-60cce2f
vim-patch:60cce2f
2016-04-19 01:02:25 -04:00
Justin M. Keyes 1cb8afed78 doc: remove redundant, outdated section.
The new content from bf635102 is retained.
2016-04-19 00:57:25 -04:00
David Barnett 43fe335eda vim-patch:60cce2f
Update runtime files.

https://github.com/vim/vim/commit/60cce2fb736c8ff6fdb9603f502d3c15f1f7a25d
2016-04-18 21:50:37 -07:00
David Barnett 0d264abdd0 vim-patch:ca63501
Update various runtime files.

https://github.com/vim/vim/commit/ca63501fbcd1cf9c8aa9ff12c093c95b62a89ed7
2016-04-18 21:36:16 -07:00
David Barnett bf63510228 vim-patch:12969c0
Update documentation and syntax files.

https://github.com/vim/vim/commit/12969c04fe7bd27dc0cbf37709eb40a86d4a27f9
2016-04-18 21:16:14 -07:00
David Barnett 49dde999c0 vim-patch:f913281 (runtime/doc/)
Updated and new runtime files.

https://github.com/vim/vim/commit/f91328100db34996ed7e7a800bed0a30ff0890dd
2016-04-18 20:15:22 -07:00
Justin M. Keyes ca280c28b4 Merge pull request #4594 from dbarnett/vim-88774f
vim-patch:88774f
2016-04-17 20:34:49 -04:00
David Barnett 896f548eee vim-patch:88774f
Updated runtime files and Italian messages.

https://github.com/vim/vim/commit/88774fdd23f08355297bb8cda78856859051d3c7
2016-04-17 17:19:00 -07:00
ZyX 9709cf2cdb documentation: Update assert_{false,true}() and empty() documentation
Also removes a note regarding the performance of `empty(long_list)` vs
`len(long_list) == 0` because this has nothing to do with the actual state:
first checks that list is not NULL and pointer to its first element is also not
NULL, second gets length by comparing list with NULL and falls back to
`tv->vval.v_list->lv_len` if not. `len(long_list)` *may* still be *slightly*
slower, but the slow down has nothing to do with the length of the list, is
hardly noticeable and depends on how good compiler is at inlining and what
exactly have author of the plugin written (I mean `len(long_list) == 0` vs
`empty(long_list)` vs `!len(long_list)`).
2016-04-18 02:48:20 +03:00