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
KillTheMule
65e7f6f0b9
Rename some more, fixe borked renaming
2018-05-23 22:07:27 +02:00
KillTheMule
491efc89d2
Lint
2018-05-23 22:07:27 +02:00
KillTheMule
e7451f8a91
Some renamings and doc changes
2018-05-23 22:07:27 +02:00
KillTheMule
2106bada5b
Enable -Wconversion
2018-05-23 22:07:27 +02:00
KillTheMule
6bdcbef2f5
The grand renaming
2018-05-23 22:07:27 +02:00
KillTheMule
37b8e95fd6
Lint
2018-05-23 22:07:27 +02:00
Peter Hodge
edcc73e766
API: Implement buffer updates
...
Originally written by @phodge in
https://github.com/neovim/neovim/pull/5269 .
2018-05-23 22:07:27 +02:00
ZyX
4bab9d34e6
*: Fix clint errors
2018-04-22 20:31:40 +03:00
ZyX
6196738a3b
ex_cmds: Fix PVS/V547: expression was already checked in outer if()
2018-04-15 20:08:32 +03:00
ZyX
103be37f42
ex_cmds: Fix PVS/V557: possible array overrun in :ascii
...
Some calculation show that with the current setup there will not be enough bytes
occupied for that, barring the case of malicious translation. Still should be
possible to have array overrun with specially crafted translation.
2018-04-15 20:07:07 +03:00
ZyX
aa5008c1f0
ex_cmds: Simplify do_ascii
...
Specifically apply constants like enc_utf8 (which are constants *now*) and
simplify conditions after that. Also some style changes.
2018-04-15 19:01:58 +03:00
ZyX
db7f80302b
ex_cmds: Remove #ifdef USE_GUI
...
`ag` shows that this identifier (`USE_GUI`) is found in exactly one place (zero
after this commit). So I assume macros is never defined.
2018-04-15 18:52:37 +03:00
KunMing Xie
5ce8158a5d
vim-patch:8.0.0316: :help z? does not work ( #8134 )
...
Problem: ":help z?" does not work. (Pavol Juhas)
Solution: Remove exception for z?.
dad7309dd2
2018-03-14 10:30:24 +01:00
KunMing Xie
5ec0a6d13f
vim-patch:8.0.0513: fix getting name of cleared highlight group ( #8103 )
...
Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski)
Solution: Only skip over cleared names for completion. (closes vim/vim#1592 )
Also fix that a cleared group causes duplicate completions.
c96272e30e
2018-03-08 19:49:21 +01:00
Nimit Bhardwaj
e9134421ab
vim-patch-8.0.0649 and vim-patch-8.0.0650: autocmd open help 2 times
2018-02-17 00:02:16 +05:30
Justin M. Keyes
7da4d1561b
lint
2018-02-12 01:32:52 +01:00
Justin M. Keyes
2929dbf223
vim-patch:8.0.0858: can exit while a terminal is still running a job
...
Problem: Can exit while a terminal is still running a job.
Solution: Consider a buffer with a running job like a changed file.
eb44a68b42
2018-02-11 22:40:12 +01:00
Björn Linse
2d99b81ab5
shell: use msg_outtrans_len_attr for :!cmd
...
fixes #7830 and #7788
2018-02-05 22:57:43 +01:00
George Zhao
06994e0e21
Fix warning about conversion on mingw64
2018-01-18 21:30:03 +08:00
KunMing Xie
26251d6d06
vim-patch:8.0.0374: invalid memory access when using :sc in Ex mode ( #7849 )
...
Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
Solution: Avoid the column being negative. Also fix a hang in Ex mode.
ba748c8a84
2018-01-15 23:54:56 +01:00
Justin M. Keyes
ddcfb49262
Merge #7755
2017-12-28 22:48:49 +01:00
ckelsel
eb95b88156
vim-patch:8.0.0315: :help :[range] does not work
...
Problem: ":help :[range]" does not work. (Tony Mechelynck)
Solution: Translate to insert a backslash.
a76f59d817
2017-12-21 18:55:56 +08:00
ZyX
ac4bbf55f6
*: Hide list implementation in other files as well
2017-12-10 22:04:43 +03:00
Hannu Hartikainen
c391401648
helptags: fix double-free ( #7600 )
...
closes #7599
Helped-by: oni-link <knil.ino@gmail.com >
Freeing `dirname` was first introduced by a code refactoring from `ex_helptags()` to `do_helptags()` (`vim-patch:7.4.1551`)(#4648 ) and later removed by `vim-patch:7.4.1562`(#4660 ).
Only problem with that is, that the patches were not applied in order so the fixing patch was declared `N/A`.
So `do_helptags()` should have never freed `dirname`.
2017-11-20 21:20:01 +01:00
KillTheMule
04b3c32772
'inccommand': Fix matches for zero-width ( #7487 )
...
closes #7485
2017-11-05 17:11:44 +01:00
Justin M. Keyes
60b1e8ad12
Merge #7315 "'inccommand': multiline, other fixes"
...
closes #5589
closes #5590
closes #5598
closes #5608
2017-10-31 01:11:35 +01:00
KillTheMule
7b4baad674
Remove superflous parameter from show_sub
2017-10-29 18:11:32 +01:00
KillTheMule
0c358725b1
Fix highlighting conflict
2017-10-29 18:11:32 +01:00
KillTheMule
353c81af1e
Clear highlight when there's no match
2017-10-29 18:11:32 +01:00
KillTheMule
d8bb1dabb6
Fix the last line in the preview buffer
...
It would always show an empty line at the end that didn't belong.
2017-10-29 18:11:32 +01:00
KillTheMule
3e5ecd9538
Remove pat/sub from show_sub
...
They were only used to not show the preview window when typing "s/" or
"s//" only, in which case the previous pattern would be reused. Now the
window is shown in that case.
2017-10-29 18:11:32 +01:00
KillTheMule
35b867d786
Lint
2017-10-29 18:10:46 +01:00
KillTheMule
8d929f558c
Inccommand: Multiline substitutions, highlighting, multibyte.
...
Make inccomand work with multiline patterns and substitutions. Also care
for proper highlighting and multibyte characters.
2017-10-29 18:10:46 +01:00
Justin M. Keyes
2736f0cb56
ex_cmds.c:do_sub(): macroize duplicate code
2017-09-13 00:00:42 +02:00
KillTheMule
6d0f87a0bd
'inccommand': fix 'gdefault' lockup #7261
...
closes #7244
ref #7249
2017-09-12 22:44:11 +02:00
KillTheMule
26d08dfd0d
inccommand: fix optimization logic #7224
...
Before this change the preview changes in the buffer viewport were
limited to the size of the preview window ('cmdwinheight').
closes #7220
2017-09-09 15:02:06 +02:00
ckelsel
0e13b15fde
vim-patch:8.0.0209
...
Problem: When using :substitute with the "c" flag and 'cursorbind' is set
the cursor is not updated in other windows.
Solution: Call do_check_cursorbind(). (Masanori Misono)
41baa7983a
2017-08-30 19:59:18 +08:00
ckelsel
86f2c473dc
fix lint
2017-07-24 07:41:01 +08:00
ckelsel
ad07e9c7fc
vim-patch:8.0.0069
...
Problem: Compiler warning for self-comparison.
Solution: Define ONE_WINDOW and add vim/vim#ifdef.
a1f4cb93ba
2017-07-23 10:34:41 +08:00
ckelsel
06f4b96322
lint
2017-07-13 23:15:29 -04:00
ckelsel
c805f2cf54
vim-patch:7.4.2250
...
Problem: Some error message cannot be translated.
Solution: Enclose them in _() and N_(). (Dominique Pelle)
5b30291785
2017-07-13 23:15:29 -04:00
KillTheMule
619838f85d
inccommand: improve performance #6949
...
During a preview, we can stop looking for matches after we got enough
lines for the preview buffer.
Because of this perf improvement, the 'redrawtime' test needs to be
slowed down in a different way: _long_ lines instead of just many lines.
2017-07-08 17:51:42 +02:00
Björn Linse
8b375cf471
bufhl: fix move
2017-06-24 11:09:10 +02:00
James McCoy
81be7358be
vim-patch:7.4.1976
...
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
22fcfad292
2017-06-04 22:12:13 -04:00
James McCoy
ad80a83a1a
lint
2017-05-12 17:07:25 -04:00
James McCoy
d840ff7b70
ex_cmds: Use NULL, not NUL, to check for strrchr failure
2017-05-12 10:51:46 -04:00
Justin M. Keyes
a9605bb4af
Merge #6460 from ZyX-I/1476-changes
...
Refactor functions which find character in a string
2017-05-08 13:45:14 +02:00
James McCoy
2b191ac5b9
lint
2017-04-29 23:48:28 -04:00
James McCoy
f219657453
vim-patch:7.4.2263
...
Problem: :filter does not work for many commands. Can only get matching
messages.
Solution: Make :filter work for :command, :map, :list, :number and :print.
Make ":filter!" show non-matching lines.
d29459baa6
2017-04-29 23:48:27 -04:00