Justin M. Keyes
8160e875a0
Merge pull request #4339 from philix/fix-undo-diagram
...
Fix the ASCII-art diagram in undo.c
2016-02-24 08:55:07 -05:00
Felipe Oliveira Carvalho
78ded07954
Fix the ASCII-art diagram in undo.c
...
Set \t to 8 spaces and `retab`.
2016-02-24 02:14:23 -03:00
Justin M. Keyes
72d9d5e917
term: publish TermOpen in "e term://" handler.
...
After 87a49405b0
, terminal_open() is not
nested by default. The default "term://" handler depended on that, but
it should instead explicitly raise TermOpen.
References #4306
2016-02-23 19:10:54 -05: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
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
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
Justin M. Keyes
5c09d5c3de
set_vim_var_dict: Allow NULL val
.
...
Closes #3006
2016-02-23 02:56:40 -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
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
watiko
63606bb409
vim-patch:7.4.961
...
Problem: Test107 fails in some circunstances.
Solution: When using "zt", "zb" and "z=" recompute the fraction.
9dc2ce398b
2016-02-23 01:19:10 +09:00
Justin M. Keyes
c8b574f749
ins_complete: Avoid semi-global state.
2016-02-22 10:00:05 -05:00
watiko
f0add77de5
vim-patch:7.4.952
...
Problem: 'lispwords' is tested in the old way.
Solution: Make a new style test for 'lispwords'.
6cd1345307
2016-02-22 22:47:18 +09: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
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
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
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
4bd848f24f
mksession: Restore buftype=terminal windows.
...
Closes #4311
2016-02-21 14:42:31 -05: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
Jurica Bradaric
29b393e43a
vim-patch:7.4.939
...
Problem: Memory leak when encountering a syntax error.
Solution: Free the memory. (Dominique Pelle)
9a7d58e42e
2016-02-21 11:15:08 +01:00
Justin M. Keyes
fc51f86b72
Merge pull request #4296 from mhinz/fix-termclose
...
Make TermClose event return the associated buffer
2016-02-21 02:04:13 -05:00
Marco Hinz
fe8b2fabe7
Make TermClose event return the associated buffer
...
<abuf> from the TermClose event now returns the correct buffer number.
Prior to this change it would always return the buffer number of the current
buffer, which is obviously wrong in an async environment.
2016-02-21 02:38:55 +01:00
Justin M. Keyes
51055c14a6
Merge pull request #4306 from justinmk/termau
...
terminal_open: do not force autocmds
2016-02-20 16:02:50 -05:00
Jurica Bradaric
5b263ac6ad
vim-patch:7.4.870
...
Problem: May get into an invalid state when using getchar() in an
expression mapping.
Solution: Anticipate mod_mask to change. (idea by Yukihiro Nakadaira)
2455c4ede8
2016-02-20 19:15:13 +01:00
Lucas Hoffmann
1b8caf3d75
test: charsearch: Fix error/typo in legacy test.
...
Error was reported upstream in vim/vim#650 , fixed in 7.4.1366.
Typo was fixed upstream in 7.4.1041.
2016-02-20 10:52:02 -05:00
Lucas Hoffmann
4a02dc0828
tests: Remove old charset test after migration.
2016-02-20 07:57:55 +01:00
Felipe Morales
af67f022ca
Merge pull request #4264 from watiko/vim-7.4.922
...
vim-patch:7.4.922
2016-02-19 22:07:46 +01:00
Justin M. Keyes
00347ec781
Merge pull request #4240 from jbradaric/vim-7.4.888
...
vim-patch:7.4.888
2016-02-19 04:06:29 -05:00
Justin M. Keyes
87a49405b0
terminal_open: do not force autocmds
2016-02-19 03:03:11 -05:00
Justin M. Keyes
156df2c81b
coverity/135593: Error handling issues (CHECKED_RETURN)
...
Harmless issue (HI): retval is intentionally ignored, as is the wont of
didset_options() and friends.
2016-02-19 02:00:23 -05:00