Björn Linse
2a4ea9a546
docs: start api docs and document highlight mechanism
2016-02-23 21:29:02 +01:00
Björn Linse
3b1800be94
bufhl: fix unittests and lint
...
msgpack_rpc_dispatch doesn't exist anymore
2016-02-23 21:29:02 +01:00
Björn Linse
06b9d2a6f2
bufhl: add tests for adding and clearing highlights
2016-02-23 21:29:01 +01:00
Björn Linse
44b2cef83a
bufhl: new mechanism for plugins to add highlights to a buffer
2016-02-23 21:29:01 +01:00
Justin M. Keyes
18605d6785
Merge pull request #4327 from ffleming/coverity-71530
...
coverity/71530: Prefer STRLCPY to STRCPY in option.c
2016-02-23 14:51:41 -05:00
Justin M. Keyes
b25dfecb18
Merge pull request #4329 from justinmk/libuv
...
Update to libuv 1.8.0
2016-02-23 14:37:48 -05:00
Justin M. Keyes
5993a38ba3
Merge pull request #4064 from oni-link/cs_print_tags_priv
...
Fix some problems with cs_print_tags_priv()
2016-02-23 14:36:40 -05:00
Forrest Fleming
7feef42e8a
coverity/71530: Prefer STRLCPY to STRCPY in option.c
...
Addresses Coverity CID 71530
Prefer sizeof(NameBuff)
Add braces for Travis lint
Break long line
Properly align parameters in multi-line function call
2016-02-23 08:27:27 -08:00
Sebastian Parborg
564f57d1e5
Fix terminal true color bold colors
...
Now the terminal should also correctly output true color codes
2016-02-23 16:15:47 +01:00
Harm te Hennepe
f57b9c57df
Correct documention on order autocmds
...
The order of executed autocmds TabEnter and WinEnter is wrongly stated
in the documentation. TabEnter is executed after WinEnter.
2016-02-23 12:24:43 +01:00
Justin M. Keyes
47b5294b0f
Merge pull request #4330 from justinmk/set_vim_var_dict
...
set_vim_var_dict: Allow NULL `val`.
2016-02-23 04:27:52 -05:00
Jun T
ac1f941edb
add .editorconfig
2016-02-23 18:03:27 +09:00
Justin M. Keyes
5c09d5c3de
set_vim_var_dict: Allow NULL val
.
...
Closes #3006
2016-02-23 02:56:40 -05:00
Justin M. Keyes
6f833c7881
Merge pull request #4328 from justinmk/coverity
...
coverity/71532: STRING_OVERFLOW
2016-02-23 00:13:13 -05:00
Jun T
1a15cf84c2
build: install *.mo into the "standard" directory
...
Change POROJECT_NAME to 'nvim', and use it as the gettext
domain name. The *.mo files, previously installed as
$runtime/lang/xx/LC_MESSAGES/nvim.mo, are now installed as
$prefix/locale/xx/LC_MESSAGES/nvim.mo.
2016-02-23 13:39:56 +09:00
Justin M. Keyes
62cf44b8ab
Update to libuv 1.8.0
2016-02-22 19:28:52 -05:00
Justin M. Keyes
9b99cf4a6e
coverity/71532: STRING_OVERFLOW
2016-02-22 19:16:55 -05:00
Justin M. Keyes
37d6004251
Merge pull request #4315 from justinmk/compl_flicker
...
completion: Avoid flicker
2016-02-22 14:05:33 -05:00
Justin M. Keyes
c8b574f749
ins_complete: Avoid semi-global state.
2016-02-22 10:00:05 -05:00
Justin M. Keyes
faf828b476
Merge pull request #4318 from lucc/legacy_test_makefile
...
test: Reformat legacy test makefile.
2016-02-22 09:13:40 -05:00
Lucas Hoffmann
94b1403ad5
test: Reformat legacy test makefile.
...
This will hopefully reduce the number of merge conflicts when merging the
outstanding legacy test migrations.
2016-02-22 13:02:41 +01:00
Justin M. Keyes
e71de26aba
Merge pull request #4317 from justinmk/superkey
...
keymap: Support <D-...> (super/command key).
2016-02-22 04:25:34 -05:00
Justin M. Keyes
99d4c8c29c
keymap: Support <D-...> (super/command key).
...
Adds support for:
- api:vim_input("<D-a>")
- ":nnoremap <C-D-S-...>" and permutations thereof
UIs must capture the modifier and send it as "<D-...>" to vim_input().
Note: Before this commit, any arbitrary ":nnoremap <{foo}-{bar}>"
mapping could already be invoked with feedkeys("\<{foo}-{bar}>"). This
commit supports "D-" as a modifier that can be combined with "C-", "A-",
"S-" in any order.
For non-GUI (terminal) support, user must:
:set <D-a>={CSI sequence}
then send the {CSI sequence} from their terminal. But this does not work
yet (regression #2204 ).
Closes #2190
2016-02-22 02:41:40 -05:00
watiko
9403ce82bc
vim-patch:7.4.936 #4271
...
Problem: Crash when dragging with the mouse.
Solution: Add safety check for NULL pointer. Check mouse position for valid
value. (Hirohito Higashi)
294a7e55b0
---
see: "Crash while mouse-selecting in two-buffer mode"
https://github.com/vim/vim/issues/486
Fix #3704
2016-02-22 01:12:47 -05:00
Justin M. Keyes
bfe9ebcbe1
Merge pull request #4272 from watiko/vim-7.4.937
...
vim-patch:7.4.937
2016-02-22 01:11:42 -05:00
Justin M. Keyes
95230ec702
Merge pull request #4267 from watiko/vim-7.4.932
...
vim-patch:7.4.{926,932,933}
2016-02-22 01:10:50 -05:00
Justin M. Keyes
44179d7444
Merge pull request #4263 from watiko/vim-7.4.901
...
vim-patch:7.4.901
2016-02-22 01:03:51 -05:00
Justin M. Keyes
73676ad37b
Merge pull request #4262 from watiko/vim-7.4.893
...
vim-patch:7.4.{891,893,912}
2016-02-22 01:02:18 -05:00
watiko
2eb09c826d
vim-patch:7.4.878 #4258
...
Problem: Coverity error for clearing only one byte of struct.
Solution: Clear the whole struct. (Dominique Pelle)
69b67f7e77
2016-02-22 00:51:13 -05:00
Justin M. Keyes
2f98888db6
Merge pull request #4310 from jbradaric/vim-7.4.939
...
vim-patch:7.4.939
2016-02-22 00:48:54 -05:00
Justin M. Keyes
f08fd41282
Merge pull request #4250 from jbradaric/vim-7.4.895
...
vim-patch:7.4.895
2016-02-22 00:45:51 -05:00
Justin M. Keyes
9e00724c38
Merge pull request #4307 from jbradaric/vim-7.4.870
...
vim-patch:7.4.870
2016-02-22 00:41:55 -05:00
Justin M. Keyes
609dad3799
Revert "Enable link-time optimisations on Release build."
...
This reverts commit 1132b67b5b
.
See https://github.com/neovim/neovim/pull/4313#discussion_r53570725
2016-02-22 00:37:16 -05:00
Justin M. Keyes
d9291954b9
Merge pull request #4259 from watiko/vim-7.4.881
...
vim-patch:7.4.{879,881}
2016-02-22 00:34:24 -05:00
Justin M. Keyes
6395dd64a4
Merge pull request #4167 from lucc/test11
...
tests: migrate legacy test 11
2016-02-21 23:49:36 -05:00
Justin M. Keyes
dd4b661dbd
Merge pull request #4243 from lucc/test36
...
tests: Migrate legacy test 36.
2016-02-21 23:47:15 -05:00
Shougo Matsushita
d92db14241
completion: Avoid flicker.
2016-02-21 15:58:38 -05:00
Justin M. Keyes
d4778104b5
Merge pull request #4079 from fwalch/vim-patch/review-improvements
...
vim-patch.sh: Improvements for review functionality, submission option.
2016-02-21 15:33:21 -05:00
Justin M. Keyes
44166a150c
Merge pull request #4314 from justinmk/mksession_terminal
...
mksession: Restore buftype=terminal windows.
2016-02-21 15:22:05 -05:00
Justin M. Keyes
81b68b0af3
Merge pull request #4247 from watiko/vim-7.4.903
...
vim-patch:7.4.{831,832,845,903}
2016-02-21 15:21:53 -05:00
Justin M. Keyes
4bd848f24f
mksession: Restore buftype=terminal windows.
...
Closes #4311
2016-02-21 14:42:31 -05:00
ZyX
90cbd70d1a
documentation: Add notes to eval.txt and vim_diff.txt
2016-02-21 21:58:58 +03:00
Justin M. Keyes
09e4c244ee
Merge pull request #4313 from Yamakaky/flto
...
Enable link-time optimisations on Release build.
2016-02-21 13:14:57 -05:00
Yamakaky
1132b67b5b
Enable link-time optimisations on Release build.
...
Fixes https://github.com/neovim/neovim/issues/3136
2016-02-21 18:33:28 +01:00
watiko
693bf1dafb
path.c: Fulfill the @returns
conditions
...
Original-author: oni-link <knil.ino@gmail.com>
2016-02-21 22:07:42 +09:00
watiko
d6c894efaf
vim-patch:7.4.903
...
Problem: MS-Windows: When 'encoding' differs from the current code page,
expandinig wildcards may cause illegal memory access.
Solution: Allocate a longer buffer. (Ken Takata)
7314efd87d
2016-02-21 22:06:39 +09:00
watiko
6bbd149e98
vim-patch:7.4.845
...
Problem: Compiler warning for possible loss of data.
Solution: Add a type cast. (Erich Ritz)
5df1ed2de3
2016-02-21 22:06:39 +09:00
watiko
6ea1047585
vim-patch:7.4.832
...
Problem: $HOME in `=$HOME . '/.vimrc'` is expanded too early.
Solution: Skip over `=expr` when expanding environment names.
be83b73ddb
---
To reproduce:
```sh
nvim -u NONE -c 'e `=$HOME . "/.vimrc"`'
```
2016-02-21 22:06:39 +09:00
watiko
c8561ecf26
vim-patch:7.4.831
...
Problem: When expanding `=expr` on the command line and encountering an
error, the command is executed anyway.
Solution: Bail out when an error is detected.
3f188935ec
2016-02-21 22:06:23 +09:00
Jurica Bradaric
82293b94c3
ex_docmd: Fix code style in ex_match
2016-02-21 11:21:45 +01:00