Commit Graph
5072 Commits
Author SHA1 Message Date
Justin M. Keyes cc2dce45d0 startup: Avoid VimL global. Introduce TriState enum.
- `syntax_on` is documented. Rather than introduce a new undocumented
  VimL global `g:syntax_off`, use a module-local flag.
- Rename "maybe" functions to follow style guidelines (use standard
  module prefix)
2016-02-14 16:23:04 -05:00
Felipe Morales 6c9c08c370 startup: respect earlier :filetype and :syntax.
If user invokes :filetype or :syntax before startup defaults are
applied, don't clobber their choices.
2016-02-14 15:38:11 -05:00
Justin M. Keyes da6299445a ex_docmd: rename force_enable_filetype().
It is no longer forcing anything.
2016-02-14 15:20:32 -05:00
Felipe Morales 9c2c24ec48 syntax: don't override user settings 2016-02-14 15:20:32 -05:00
Justin M. Keyes cae0904160 syntax: avoid extra global macro 2016-02-14 15:20:31 -05:00
Felipe Morales 50e129f5a7 defaults: Enable syntax and filetype plugins. 2016-02-14 15:20:31 -05:00
Björn Linse 75f6817a51 Merge pull request #4216 from bfredl/rebuild
build system: avoid more unneccesary recompiles
2016-02-14 12:07:55 +01:00
Björn Linse 8d7ab23b49 build system: avoid more unneccesary recompiles 2016-02-14 11:41:28 +01:00
Justin M. Keyes d19af41db4 Merge pull request #4248 from watiko/vim-nas
version.c: Mark patches NA
2016-02-13 18:47:23 -05:00
watiko 0b21956edb version.c: Mark patches NA
NA patch list:

684: vim_tempfile() was refactored
     https://github.com/vim/vim/commit/e5c421cfd70a4d864faa0fac4e9f2dd6cdf5881d

725: str_to_reg() was refactored
     https://github.com/vim/vim/commit/659c94d483b2fdad949c14a42cee96f99a66394b

752: (Unicode 8.0) automatically generates these tables
     https://github.com/vim/vim/commit/66312acf145f9d09fbc0dfa5caeafb715d5fd9ed

767: (clientserver)
     https://github.com/vim/vim/commit/fafeee6b9e4b1a295001ed2139f9c5bc81eab836

804: (xxd)
     https://github.com/vim/vim/commit/43fe32900c12fea5f9e15ee94ac850e95ec73188

812: ml_add_stack() was refactored by e53dda90bd
     https://github.com/vim/vim/commit/fbd302ff38624abdec64980f4a19379d20a6e6c6

821: (coverity)
     handled by 33cecbbf16
                aca6dc5001
                bb674e0fcd
     https://github.com/vim/vim/commit/bd8539aac385d265d41da2e8ab59d7b9c3694557

827: (src/Makefile)
     https://github.com/vim/vim/commit/8cba8ba3e026c12a5294a1260dbfea9c0d8fe7eb

838: (crypt, ifdef)
     https://github.com/vim/vim/commit/8060687905bdadc46abb68ee6d40e5660e352297

839: (cast) vim_strnsave()'s 2nd argument type is already size_t
     https://github.com/vim/vim/commit/6ed535dbc0981d328c02e139d6505207cbef4835

860: (empty commit) missing parts are in other runtime comitts
     https://github.com/vim/vim/commit/a122b5e98afe18c9cfdab31b77d2a9fbb8e36416

865: (uninitializing) handled by 7f99d210fd
     https://github.com/vim/vim/commit/ed84b76021df763619cabaedddc44eb5ee849136

866: (netbeans)
     https://github.com/vim/vim/commit/93c88e0f6a4a8f7634ed84721daf4af46fc0d5db

873: (netbeans, unused) related to 866
     https://github.com/vim/vim/commit/b8603882b1679385b287f14c527fa61eee60a9dd

897: (clientserver)
     https://github.com/vim/vim/commit/4e86150ec5b5158da92b28938ea55819dc890a14

---

NA runtime patch:

vim-patch:e2db6c9
2016-02-14 08:05:39 +09:00
Justin M. Keyes 364d764889 Merge #2674 2016-02-13 15:22:12 -05:00
Justin M. Keyes 7567afbbe5 test: completion_spec: minor edits 2016-02-13 15:21:28 -05:00
Justin M. Keyes f03ab69a35 Merge pull request #4237 from Jun-T/shada-symlink
resolve symlink in shada_spec test
2016-02-11 18:23:15 -05:00
Jun T edbc97225d test: shada_spec: resolve symlink
If the build directory path has symlinks in it, 'make functionaltest'
fails at shada_spec.lua:177 because readme_fname has symlink but
nvim resolves the symlink when writing it into the shada file.
2016-02-12 00:03:39 +09:00
Justin M. Keyes 8ba32e219f Merge pull request #4235 from watiko/vim-7.4.828
vim-patch:7.4.828
2016-02-11 09:32:53 -05:00
watiko d115b58cdc vim-patch:7.4.828
Problem:    Crash when using "syn keyword x c". (Dominique Pelle)
Solution:   Initialize the keyword tabble. (Raymond Ko, PR 397)

https://github.com/vim/vim/commit/670acbc70f371409b46b722bd9a1166e53574f42

---

see: "fix crash due to hash table not being initialized"
     https://github.com/vim/vim/pull/397

To reproduce:

```sh
nvim -u NONE -c ow -c 'sy keyword x c'
```
2016-02-11 19:06:54 +09:00
Justin M. Keyes adb73b6025 Merge pull request #4204 from watiko/vim-7.4.915
vim-patch:7.4.{749,915}
2016-02-11 03:45:08 -05:00
Justin M. Keyes 63d750f310 Merge pull request #4186 from watiko/vim-7.4.929
vim-patch:7.4.{734,743,929}
2016-02-11 03:35:09 -05:00
watiko bfab33ef79 vim-patch:7.4.931 (NA)
Problem:    Test 94 fails on some systems.
Solution:   Set 'encoding' to utf-8.

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

---

Neovim cannot change encoding after start-up.
2016-02-11 15:14:36 +09:00
watiko 51c3e0aa80 vim-patch:7.4.929
Problem:    "gv" after paste selects one character less if 'selection' is
            "exclusive".
Solution:   Increment the end position. (Christian Brabandt)

https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
2016-02-11 15:13:30 +09:00
watiko 663e1ed158 vim-patch:7.4.743
Problem:    "p" in Visual mode causes an unexpected line split.
Solution:   Advance the cursor first. (Yukihiro Nakadaira)

https://github.com/vim/vim/commit/c004bc2726eafc7a56d1d9f8398a65a0a7dc8d6c
2016-02-11 15:13:30 +09:00
watiko 4a0e10fb2c vim-patch:7.4.734
Problem:    ml_get error when using "p" in a Visual selection in the last
            line.
Solution:   Change the behavior at the last line. (Yukihiro Nakadaira)

https://github.com/vim/vim/commit/d009e8682686a56f7565e6e093a42cd0596e121f
2016-02-11 15:13:30 +09:00
Florian Walch 84281bf675 Merge pull request #4205 from watiko/vim-7.4.737
vim-patch:7.4.737
2016-02-10 20:51:14 +01:00
Justin M. Keyes 953e140a18 Merge pull request #4224 from fmoralesc/docs-term
doc: remove references to 'term' and other tty related options.
2016-02-10 11:01:23 -05:00
Felipe Morales 11f43360d1 doc: remove references to 'term' and other tty related options.
Re: https://github.com/neovim/neovim/issues/4218
2016-02-10 16:52:48 +01:00
Justin M. Keyes 9b9695ab8e Merge pull request #4221 from Jun-T/install-mo
install *.mo files correctly
2016-02-10 10:37:24 -05:00
Justin M. Keyes c74dc9dd6c Merge pull request #4225 from bfredl/helptags
build: if helptags generation fails, echo the message
2016-02-10 10:27:08 -05:00
Jun T 81f54f909e set VIMPACKAGE to "nvim" 2016-02-10 21:34:10 +09:00
Björn Linse 222a1655f5 cmake: if helptags generation fails, echo the message 2016-02-10 13:23:23 +01:00
Felipe Morales c2384597ef Merge pull request #4217 from fmoralesc/vim-7.4.735
vim-patch: 7.4.735 is NA
2016-02-10 11:17:47 +01:00
Felipe Morales c5c53ed8b4 vim-patch:7.4.735 (NA)
Problem:    Wrong argument for sizeof().
Solution:   Use a pointer argument. (Chris Hall)

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

This was already handled in nvim.
2016-02-10 10:25:18 +01:00
Jun T 0690c3358d install *.mo files correctly 2016-02-10 16:45:37 +09:00
watiko 6d57b48a53 vim-patch:7.4.737
Problem:    On MS-Windows vimgrep over arglist doesn't work (Issue 361)
Solution:   Only escape backslashes in ## expansion when it is not used as the
            path separator. (James McCoy)

https://github.com/vim/vim/commit/6e8d3b0d41bcef7ebe0ba2e887eb25781e1437fe

---

Fix a lint error for the closing parenthesis.
NOLINT does not help to do this.
2016-02-10 16:19:33 +09:00
Florian Walch e7615ddc22 CMake: Add #include in _FORTIFY_SOURCE check. #4214
Some toolchains apparently set _FORTIFY_SOURCE=2 in internal header
files. Include <string.h> (which in turn should include such internal
header files) before checking the value of _FORTIFY_SOURCE to catch
that.

Fixes #4183.
2016-02-10 00:17:55 +01:00
Florian Walch dcdb50b64b Merge pull request #4212 from jbradaric/vim-7.4.834
vim-patch:7.4.834
2016-02-09 22:26:30 +01:00
Jurica Bradaric f19e4dd1df vim-patch:7.4.834
Problem:    gettabvar() doesn't work after Vim start. (Szymon Wrozynski)
Solution:   Handle first window in tab still being NULL. (Christian Brabandt)

https://github.com/vim/vim/commit/7e47d1ac6a9ae0e5a7167aa34ff651a9c39c1641
2016-02-09 20:21:26 +01:00
Björn Linse 3be74ac634 Merge pull request #4103 from cacplate/pr-3695
charset.c: change return type to bool
2016-02-09 18:18:53 +01:00
Charles JoachimandWayne Rowcliffe 35b6a020b9 charset.c: change return type to bool
Co-authored-by: Wayne Rowcliffe
2016-02-09 11:13:04 -05:00
Marco Hinz 8b5cc1230a Syntax: skip over ]
The ported patch for 7.4.825 removed code that is needed to walk over "]" by
accident.

0: https://github.com/neovim/neovim/commit/52692d3cd3e682a4116d3cec1fcf05880f0c77a1
1: https://github.com/vim/vim/commit/1560d07045d416d0abf9731c43c28925f61515b6

Fixes #4207.
2016-02-09 15:28:52 +01:00
Justin M. Keyes 25a70469f4 Merge pull request #4187 from watiko/vim-7.4.742
vim-patch:7.4.742
2016-02-09 02:19:17 -05:00
Justin M. Keyes 6fbb9ceb5e Merge pull request #4184 from watiko/vim-7.4.732
vim-patch:7.4.732
2016-02-09 02:14:38 -05:00
Justin M. Keyes 7c2b2ea9c9 Merge pull request #4178 from watiko/vim-7.4.708
vim-patch:7.4.{708,717}
2016-02-09 02:10:57 -05:00
Justin M. Keyes b9701c2a2b Merge #4152 'vim-patch:7.4.{798,800,805,810,811,814,815,816,817,820,825}'. 2016-02-09 01:58:54 -05:00
Justin M. Keyes 17ae27190d Merge #4136 vim-patch:7.4.{755,758,760} 2016-02-09 01:41:04 -05:00
Jurica Bradaric 18be6e0b30 vim-patch:979243b
Update help files.

https://github.com/vim/vim/commit/979243b
2016-02-09 01:36:29 -05:00
Jurica Bradaric 0429b7714f vim-patch:7.4.760
Problem:    Spelling mistakes are not displayed after ":syn spell".
Solution:   Force a redraw after ":syn spell" command. (Christian Brabandt)

https://github.com/vim/vim/commit/5081d202475328a920c0bdcab990e8da84128c13
2016-02-09 01:36:29 -05:00
Jurica Bradaric b0cfb6905a vim-patch:7.4.758
Problem:    When 'conceallevel' is 1 and quitting the command-line window with
            CTRL-C the first character ':' is erased.
Solution:   Reset 'conceallevel' in the command-line window. (Hirohito
            Higashi)

https://github.com/vim/vim/commit/fa67fbe6b84133207271e4ff582c3d589172efd9
2016-02-09 01:36:29 -05:00
Jurica Bradaric a9a25fda42 vim-patch:7.4.755
Problem:    It is not easy to count the number of characters.
Solution:   Add the skipcc argument to strchars(). (Hirohito Higashi, Ken
            Takata)

https://github.com/vim/vim/commit/641e48c2248ccb3c25a5cdaa3709f16152d8c77d
2016-02-09 01:36:29 -05:00
Justin M. Keyes 31aa060bca vim-patch:7.4.801
Problem:    Test for ":diffoff" doesn't catch all potential problems.
Solution:   Add a :diffthis and a :diffoff command. (Olaf Dabrunz)

https://github.com/vim/vim/commit/278236000f6449c79041be8d6f4faabb1d295260
2016-02-09 01:17:02 -05:00
Justin M. Keyes 39e5d9287e Merge #4139 'vim-patch:7.4.{768,769}'. 2016-02-09 01:04:54 -05:00