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
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
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
Justin M. Keyes
06e53aa487
coverity/135589: (FP) Null pointer dereferences
...
False positive: buflist_findnr() should not be NULL in this case because
it is given a buffer number that (should be) guaranteed to exist.
2016-02-19 02:00:22 -05:00
Justin M. Keyes
f887037a8f
Merge pull request #4276 from justinmk/coverity135578
...
coverity/135578: Memory - illegal accesses
2016-02-17 10:45:24 -05:00
Justin M. Keyes
498eb02049
Merge pull request #4239 from jbradaric/vim-7.4.885
...
vim-patch:7.4.885
2016-02-17 04:31:21 -05:00
Jurica Bradaric
bd7de9dac9
vim-patch:7.4.859 #4238
...
Problem: Vim doesn't recognize all htmldjango files.
Solution: Recognize a comment. (Daniel Hahler, PR #410 )
d8986fd914
2016-02-17 04:28:01 -05:00
Justin M. Keyes
e4e5815242
Merge pull request #4244 from watiko/vim-7.4.830
...
vim-patch:7.4.{830,833}
2016-02-17 04:26:29 -05:00
Justin M. Keyes
b2b3768bb4
Merge pull request #4234 from watiko/vim-7.4.977
...
vim-patch:7.4.{818,883,977}
2016-02-17 04:10:50 -05:00
Justin M. Keyes
af1745a763
Merge pull request #4230 from jbradaric/vim-7.4.853
...
vim-patch:7.4.{853,856}
2016-02-17 04:08:57 -05:00
Justin M. Keyes
9198b06ea6
Merge pull request #4229 from jbradaric/vim-7.4.847
...
vim-patch:7.4.847
2016-02-17 04:04:27 -05:00
Jurica Bradaric
560a346d57
vim-patch:7.4.844 #4228
...
Problem: When '#' is in 'isident' the is# comparator doesn't work.
Solution: Don't use vim_isIDc(). (Yasuhiro Matsumoto)
37a8de17d4
2016-02-17 03:59:58 -05:00
Justin M. Keyes
5f54519b4f
Merge pull request #4213 from jbradaric/vim-7.4.835
...
vim-patch:7.4.{835,843,877}
2016-02-17 03:49:57 -05:00
Justin M. Keyes
6dc39d84cf
Merge pull request #4188 from jbradaric/vim-7.4.868
...
vim-patch:7.4.868
2016-02-17 03:45:12 -05:00
Justin M. Keyes
9648bf795a
coverity/135578: Memory - illegal accesses
...
Harmless issue, but doesn't hurt to satisfy coverity here.
2016-02-16 04:25:59 -05:00
Charles Joachim
b3bdf9f356
diff.c: change return type to bool
...
Co-authored-by: Wayne Rowcliffe (@war1025)
2016-02-15 12:41:08 -05:00
watiko
d4bb84367f
vim-patch:7.4.922
...
Problem: Leaking memory with ":helpt {dir-not-exists}".
Solution: Free dirname. (Dominique Pelle)
1c2836e268
---
see: "[patch] command :helpt {dir} leaks memory when directory does not exist"
https://groups.google.com/d/msg/vim_dev/WbcIbZ9YdUA/4eow2c3_AgAJ
2016-02-15 22:38:19 +09:00
Jurica Bradaric
b535df1554
eval: Fix linter error.
2016-02-15 11:05:17 +01:00
Jurica Bradaric
de23395fa7
vim-patch:7.4.888
...
Problem: The OptionSet autocommands are not triggered from setwinvar().
Solution: Do not use switch_win() when not needed. (Hirohito Higashi)
ba117c23df
2016-02-15 11:05:17 +01:00
watiko
ec6fcf3b1c
vim-patch:7.4.887
...
Problem: Using uninitialized memory for regexp with back reference.
(Dominique Pelle)
Solution: Initialize end_lnum.
c2b717ebd6
---
see: "[bug] use of uninitialized memory in regexp_nfa.c with invalid back reference"
https://groups.google.com/d/msg/vim_dev/JWmrT5-NnPQ/U_TgaRW8AwAJ
2016-02-15 18:10:30 +09:00
Justin M. Keyes
baee9fe286
Merge pull request #4220 from watiko/vim-7.4.792
...
vim-patch:7.4.792
2016-02-15 03:55:23 -05:00
Justin M. Keyes
1e995ea2fd
Merge #4140 'vim-patch:7.4.771'.
2016-02-15 01:48:30 -05:00
Justin M. Keyes
e0ca30553b
Merge pull request #4166 from lucc/legacy/command_count
...
tests: Migrate legacy test command_count.
2016-02-15 01:10:15 -05:00
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
watiko
0b21956edb
version.c: Mark patches NA
...
NA patch list:
684: vim_tempfile() was refactored
e5c421cfd7
725: str_to_reg() was refactored
659c94d483
752: (Unicode 8.0) automatically generates these tables
66312acf14
767: (clientserver)
fafeee6b9e
804: (xxd)
43fe32900c
812: ml_add_stack() was refactored by e53dda90bd
fbd302ff38
821: (coverity)
handled by 33cecbbf16
aca6dc5001
bb674e0fcd
bd8539aac3
827: (src/Makefile)
8cba8ba3e0
838: (crypt, ifdef)
8060687905
839: (cast) vim_strnsave()'s 2nd argument type is already size_t
6ed535dbc0
860: (empty commit) missing parts are in other runtime comitts
a122b5e98a
865: (uninitializing) handled by 7f99d210fd
ed84b76021
866: (netbeans)
93c88e0f6a
873: (netbeans, unused) related to 866
b8603882b1
897: (clientserver)
4e86150ec5
---
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
watiko
6c99667b6e
vim-patch:7.4.833
...
Problem: More side effects of ":set all&" are missing. (Björn Linse)
Solution: Call didset_options() and add didset_options2() to collect more
side effects to take care of. Still not everything...
e68c25c677
2016-02-12 19:41:10 +09:00
watiko
b6fdc3eb47
vim-patch:7.4.830
...
Problem: Resetting 'encoding' when doing ":set all&" causes problems.
(Bjorn Linse) Display is not updated.
Solution: Do not reset 'encoding'. Do a full redraw.
b341dda575
---
":set all&" does not reset 'encoding' in neovim.
2016-02-12 16:09:51 +09:00
Jurica Bradaric
d12460123e
vim-patch:7.4.885
...
Problem: When doing an upwards search without wildcards the search fails if
the initial directory doesn't exist.
Solution: Fix the non-wildcard case. (Stefan Kempf)
c79a5452ac
2016-02-11 22:55:00 +01:00
Jurica Bradaric
a21becf7ee
vim-patch:7.4.877
...
Problem: ":find" sometimes fails. (Excanoe)
Solution: Compare current characters instead of previous ones.
4d0c7bc74a
2016-02-11 22:31:19 +01: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)
670acbc70f
---
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
watiko
eab6ed778d
vim-patch:7.4.977
...
Problem: 'linebreak' does not work properly when using "space" in
'listchars'.
Solution: (Hirohito Higashi, Christian Brabandt)
9bc01ebb95
2016-02-11 17:08:36 +09:00
watiko
8eb0d43c12
vim-patch:7.4.883
...
Problem: Block-mode replace works characterwise instead of blockwise after
column 147. (Issue #422 )
Solution: Set Visual mode. (Christian Brabandt)
10ad1d90da
2016-02-11 16:45:08 +09:00
watiko
66571f64a4
vim-patch:7.4.818
...
Problem: 'linebreak' breaks c% if the last Visual selection was block.
(Chris Morganiser, Issue 389)
Solution: Handle Visual block mode differently. (Christian Brabandt)
89c17c02ca
2016-02-11 16:37:11 +09:00
watiko
bfab33ef79
vim-patch:7.4.931 (NA)
...
Problem: Test 94 fails on some systems.
Solution: Set 'encoding' to utf-8.
cfcd1ddd10
---
Neovim cannot change encoding after start-up.
2016-02-11 15:14:36 +09:00