Justin M. Keyes
b7a417c5e6
Merge #8744 from janlazo/vim-8.0.0890
2018-08-08 02:22:34 +02:00
Jan Edmund Lazo
d5e8b3f451
misc: fixpos in del_char() is bool
2018-08-07 19:07:54 -04:00
Jan Edmund Lazo
0e4a54a17b
edit: end_insert in check_auto_format() is bool
2018-08-07 13:20:46 -04:00
Jan Edmund Lazo
a2eff8f15c
edit: did_add_space is bool
2018-08-07 13:16:38 -04:00
Jan Edmund Lazo
672449e448
memline: copy in ml_replace() is bool
2018-08-07 13:11:51 -04:00
Jan Edmund Lazo
e6127a49db
edit: temp in ins_del() is const int
2018-08-06 21:56:39 -04:00
Jan Edmund Lazo
f53c2578e7
vim-patch:8.0.1575: crash when using virtual replace
...
Problem: Crash when using virtual replace.
Solution: Adjust orig_line_count. Add more tests. (Christian Brabandt)
63e82db6fc
2018-08-06 21:56:39 -04:00
ZviRackover
071aab5148
Remove some occrrences of enc_utf8 and has_mbyte
...
Removing uses and related dead code in the locallity of changes of
the two parent commits.
2018-08-06 20:48:07 +03:00
ZviRackover
cd3b2e4b6b
lint: clean-up after parent commit
2018-08-06 20:48:07 +03:00
ZviRackover
10b6afd652
Remove all occurences of the mb_ptr2char macro
...
First step towards implemening issue #7401 .
The same can be done for all deprecated mb_ functions in follow-up
patches.
2018-08-06 20:48:07 +03:00
Jan Edmund Lazo
41dbb69a85
lint
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
47d52e1578
globals: did_ai is bool
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
b9ab363636
globals: did_si is bool
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
7692dfeecb
globals: can_si is bool
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
5309ad29d4
globals: can_si_back is bool
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
6bff0f7b60
edit: haveto_redraw (local variable) is bool
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
96f165e744
edit: can_cindent is bool
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
8f75debd86
edit: fix variables in ins_mousescroll()
...
Declare and initialize them on same line.
Add const if possible.
Refactor 'did_scroll' local variable from int to bool.
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
e7e2115de5
vim-patch:8.0.0948: crash if timer closes window while dragging status line
...
Problem: Crash if timer closes window while dragging status line.
Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes
vim/vim#1979 )
989a70c590
2018-08-05 17:42:49 -04:00
Jan Edmund Lazo
0e55d88639
edit: dont_sync_undo is TriState
2018-08-01 15:28:49 -04:00
ZyX
eaf2a25f12
*: Replace b_changedtick with new always-inline functions
...
Ref #8474
2018-06-22 00:44:31 +03:00
Jan Edmund Lazo
b454d24e04
vim-patch:8.0.0669: CTRL-N at start of the buffer does not work correctly ( #8600 )
...
Problem: In Insert mode, CTRL-N at start of the buffer does not work
correctly. (zuloloxi)
Solution: Wrap around the start of the buffer. (Christian Brabandt)
24a9e348aa
2018-06-20 08:17:00 +02:00
ckelsel
33596d5d07
fix lint
2018-06-16 19:46:41 +08:00
ckelsel
ebc7f69d92
vim-patch:8.0.0530: buffer overflow when 'columns' is very big
...
Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
Solution: Correctly compute where to truncate. Fix translation.
(closes vim/vim#1600 )
658a3a2caf
2018-06-16 19:39:40 +08:00
Justin M. Keyes
4bb039e225
Merge #8543 from janlazo/vim-8.0.0596
2018-06-16 12:01:09 +02:00
Jan Edmund Lazo
3462acbbff
lint
2018-06-13 07:10:17 -04:00
Jan Edmund Lazo
3e0188e92d
vim-patch:8.0.0596: crash when complete() called after complete_add()
...
Problem: Crash when complete() is called after complete_add() in
'completefunc'. (Lifepillar)
Solution: Bail out if compl_pattern is NULL. (closes vim/vim#1668 )
Also avoid using freed memory.
4475b62396
2018-06-13 00:18:50 -04:00
Jan Edmund Lazo
3c7ea8d619
vim-patch:8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
91acfffc1e
2018-06-12 02:00:50 -04:00
Justin M. Keyes
23d172a948
Merge #8499 from janlazo/vim-8.0.0533
2018-06-10 14:30:19 +02:00
Jan Edmund Lazo
bbb88607c9
vim-patch:8.0.0466: still macros that should be all-caps ( #8510 )
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
8820b48654
2018-06-10 12:24:00 +02:00
Jan Edmund Lazo
392b3396fd
vim-patch:8.0.0541: compiler warning on MS-Windows
...
Problem: Compiler warning on MS-Windows.
Solution: Add a type cast. (Mike Williams)
04000560ca
2018-06-08 21:13:33 -04:00
Jan Edmund Lazo
3bcbf802ce
vim-patch:8.0.0533: abbreviation doesn't work after backspacing newline
...
Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk)
Solution: Set the insert start column. (closes vim/vim#1609 )
878c263a48
2018-06-08 21:13:33 -04:00
Justin M. Keyes
d995825c66
Merge #8377 'TextChangedP autocommand'
2018-05-19 11:44:52 +02:00
Shougo Matsushita
021c5875c1
vim-patch:8.0.1494: no autocmd triggered in Insert mode with visible popup menu
...
Problem: No autocmd triggered in Insert mode with visible popup menu.
Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
closes vim/vim#2372 , closes vim/vim#1691 )
Fix that the TextChanged autocommands are not always triggered
when sourcing a script.
5a09343719
2018-05-14 19:14:25 +08:00
Justin M. Keyes
53f11dcfc7
Merge #8218 'Fix errors reported by PVS'
...
closes #4983
2018-04-27 09:25:02 +02:00
ZyX
536d9a6168
edit: Fix PVS/V560: remove always true/false checks
2018-04-10 01:12:59 +03:00
Justin M. Keyes
e8c39f72fd
Merge #8226 from justinmk/insert-mode-meta
2018-04-04 04:36:13 +02:00
Justin M. Keyes
224ebc0078
insert-mode: interpret unmapped META as ESC
...
closes #2454
closes #8213
ref #7972
2018-04-04 03:23:15 +02:00
Daniel Hahler
e40e300c16
ins_compl_add_tv: fix memory leaks via get_spec_reg ( #8224 )
...
Fixes #8186
2018-04-03 01:30:48 +02:00
Björn Linse
d407a48665
getchar: implement <Cmd> key to invoke command in any mode
2018-03-23 14:01:49 +01:00
KunMing Xie
a2d1e9cc79
vim-patch:8.0.0262,8.0.0263 ( #8123 )
...
vim-patch:8.0.0262: Farsi support is barely tested
Problem: Farsi support is barely tested.
Solution: Add more tests for Farsi. Clean up the code.
ddf662a1c8
vim-patch:8.0.0263: Farsi support is not tested enough
Problem: Farsi support is not tested enough.
Solution: Add more tests for Farsi. Clean up the code.
80627cf51f
2018-03-11 19:22:58 +01:00
Shougo
00665d3c70
vim-patch:8.0.1493: completion items cannot be annotated ( #8003 )
...
Problem: Completion items cannot be annotated.
Solution: Add a "user_data" entry to the completion item. (Ben Jackson,
coses vim/vim#2608 , closes vim/vim#2508 )
9b56a57cda
2018-02-18 23:56:59 +01:00
KunMing Xie
649123d07c
vim-patch:8.0.0358,8.0.0359 ( #7832 )
...
vim-patch:8.0.0358: invalid memory access in C-indent code
Problem: Invalid memory access in C-indent code.
Solution: Don't go over end of empty line. (Dominique Pelle, closes vim/vim#1492 )
60629d6425
vim-patch:8.0.0359: 'number' and 'relativenumber' are not properly tested
Problem: 'number' and 'relativenumber' are not properly tested.
Solution: Add tests, change old style to new style tests. (Ozaki Kiichi,
closes vim/vim#1447 )
dc9a081712
2018-01-30 21:21:29 +01:00
KunMing Xie
8728a5d50b
vim-patch:8.0.0448: some macros are lower case ( #7936 )
...
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
b5aedf3e22
ref #6297
2018-01-30 20:29:15 +01:00
ZyX
7f3b9a4acc
Merge branch 'master' into hide-container-impl
2017-12-16 14:27:41 +03:00
Michael Schupikov
d5bce42b52
vim-patch:8.0.0074
...
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
95f096030e
Signed-off-by: Michael Schupikov <michael@schupikov.de >
2017-12-15 15:50:58 -05:00
ZyX
ac4bbf55f6
*: Hide list implementation in other files as well
2017-12-10 22:04:43 +03:00
ZyX
a9b203d23f
*: Fix linter errors
...
Big function in expressions.c may be refactored, if I ever catch the idea how to
split it right.
2017-10-30 01:32:10 +03:00
ZyX
76f0466536
Merge branch 'master' into expression-parser
2017-10-15 21:16:27 +03:00
ZyX
e423cfe194
edit: Lint some functions which are to be copied for symbolic tests
2017-10-15 19:13:52 +03:00