Jan Edmund Lazo
3c3c733c3c
vim-patch:8.0.1374: CTRL-A does not work with an empty line
...
Problem: CTRL-A does not work with an empty line. (Alex)
Solution: Decrement the end only once. (Hirohito Higashi, closes vim/vim#2387 )
5fe6bdf858
2018-09-16 10:24:59 -04:00
ZviRackover
ac13e65ae0
Remove has_mbytes local to lines changed in parent commit
2018-09-09 10:45:50 +03:00
ZviRackover
cbdbc4f63d
Refactor: Remove occurences of mb_char2bytes
2018-09-09 10:45:50 +03:00
Justin M. Keyes
a2403a0ed9
Merge #8863 'refactor: Remove mb_head_off() '
2018-08-28 23:37:30 +02:00
Jan Edmund Lazo
e89df8a54d
vim-patch:8.0.1682: auto indenting breaks inserting a block ( #8892 )
...
Problem: Auto indenting breaks inserting a block.
Solution: Do not check for cursor movement if indent was changed. (Christian
Brabandt, closes vim/vim#2778 )
8c87a2b1fe
2018-08-23 19:13:05 +02:00
Jan Edmund Lazo
6c8851be4e
lint
2018-08-23 10:00:53 -04:00
Jan Edmund Lazo
27fbffeb4f
vim-patch:8.0.1044: warning for uninitialized variable
...
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Initialize ind_pre.
2254a8ad0c
2018-08-23 10:00:53 -04:00
Jan Edmund Lazo
fb68c97ce8
vim-patch:8.0.1043: warning for uninitialized variable
...
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Move code to check indent inside "if".
4ec86ddd77
2018-08-23 10:00:53 -04:00
Jan Edmund Lazo
d677ae5f64
vim-patch:8.0.1041: bogus characters when indenting during visual-block append
...
Problem: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
e2e69e4813
2018-08-23 10:00:53 -04:00
Jan Edmund Lazo
0223c81457
lint
2018-08-17 22:07:55 -04:00
Jan Edmund Lazo
58ad7fc578
ops: refactor get_spec_reg()
...
Return value is bool.
errmsg (param) is bool in here and in getaltfname().
allocated (param) is bool.
2018-08-16 23:05:33 -04:00
Jan Edmund Lazo
015df9c66e
vim-patch:8.0.1787: cannot insert the whole cursor line
...
Problem: Cannot insert the whole cursor line.
Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes vim/vim#2857 )
e2c8d83926
2018-08-16 21:33:30 -04:00
ZviRackover
d110c6d790
lint: cleanup after parent commits
2018-08-16 07:39:48 +03:00
ZviRackover
30392b6356
Remove has_mbyte from lines near changes in parent commit
2018-08-16 06:03:49 +03:00
ZviRackover
2bddc4ca54
Remove occurences of mb_head_off
2018-08-15 22:02:33 +03:00
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
672449e448
memline: copy in ml_replace() is bool
2018-08-07 13:11:51 -04:00
Jan Edmund Lazo
80df0a8fd2
ops: is_del in block_prep() is bool
2018-08-07 12:13:41 -04:00
Jan Edmund Lazo
1468946154
ops: add const to shift_block() variables
2018-08-07 11:35:07 -04:00
Jan Edmund Lazo
7f2e352700
vim-patch:8.0.0879: crash when shifting with huge number
...
Problem: Crash when shifting with huge number.
Solution: Check for overflow. (Dominique Pelle, closes vim/vim#1945 )
bae5a17a73
2018-08-06 21:56:39 -04:00
ZviRackover
5cecd7a93a
style: fixing minor issues noted in code review.
2018-08-06 22:27:10 +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
7692dfeecb
globals: can_si is bool
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
44cb491f6e
globals: virtual_op is TriState
2018-08-01 15:28:49 -04:00
Jan Edmund Lazo
b99bbc680e
vim-patch:8.0.0727: message about what register to yank into is not translated
...
Problem: Message about what register to yank into is not translated.
(LemonBoy)
Solution: Add _().
60d0e97497
2018-07-17 09:02:37 -04:00
Jan Edmund Lazo
eab17e5093
vim-patch:8.0.0724: the message for yanking doesn't indicate the register
...
Problem: The message for yanking doesn't indicate the register.
Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
closes vim/vim#1803 , closes vim/vim#1809 )
e45deb7997
2018-07-17 09:01:18 -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
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
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
Nick Neisen
b44b533ada
coverity/13969: handle u_save() failure
...
Looking at the implementation of u_save suggests that its failure is
a normal and expected situation (e.g. if undo isn't allowed for some
reason, it will fail). Also (most of) the other calls to u_save() in
do_put() return early.
2018-05-17 08:48:42 +02:00
ZyX
4bab9d34e6
*: Fix clint errors
2018-04-22 20:31:40 +03:00
ZyX
95cc2507c9
ops: Fix PVS/V560: pre may not be zero as that was already checked
2018-04-16 11:23:22 +03:00
ZyX
fc1ebb060e
ops: Fix PVS/V614: use of uninitialized variable
...
I have actually no idea how code managed to work and not trigger ASAN/etc here.
It does not look like a false positive at all.
2018-04-15 21:49:47 +03:00
ZyX
dae1975394
ops: Fix PVS/V547: allocator never returns NULL
2018-04-15 21:46:32 +03:00
ZyX
2b7a8ceeb6
ops: Fix PVS/V547: did_change is almost always set
...
Only exception is early `goto theend`.
2018-04-15 21:44:36 +03:00
ZyX
4a145f2036
ops: Silence PVS/V614: regtype is always initialized
2018-04-15 21:40:30 +03:00
KunMing Xie
544cef0155
vim-patch:8.0.0234,8.0.0236,8.0.0225 ( #8052 )
...
vim-patch:8.0.0234: crash when using put in Visual mode
Problem: When several lines are visually selected and one of them is short,
using put may cause a crash. (Axel Bender)
Solution: Check for a short line. (Christian Brabandt)
941c12da3c
vim-patch:8.0.0236: gcc complains about uninitialized variable
Problem: Gcc complains that a variable may be used uninitialized. Confusion
between variable and label name. (John Marriott)
Solution: Initialize it. Rename end to end_lnum.
6a717f17ec
vim-patch:8.0.0225: put in Visual block mode terminates early
Problem: When a block is visually selected and put is used on the end of
the selection only one line is changed.
Solution: Check for the end properly. (Christian Brabandt, neovim issue
5781)
9957a10d0f
2018-03-04 15:53:50 +01:00
Justin M. Keyes
abed6a0b1a
vim-patch:8.0.1475: invalid memory access in read_redo()
...
Problem: Invalid memory access in read_redo(). (gy741)
Solution: Convert the replacement character back from a negative number to
CR or NL. (hint by Dominique Pelle, closes vim/vim#2616 )
f12519dec8
2018-02-11 19:03:27 +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
Justin M. Keyes
de0a9548f7
Merge #7806 from ZyX-I/list-stat
...
Add a way to collect list usage statistics
2018-01-15 23:35:20 +01:00
ckelsel
808f504305
vim-patch:8.0.0421: diff mode wrong when adding line at end of buffer
...
Problem: Diff mode is displayed wrong when adding a line at the end of a
buffer.
Solution: Adjust marks in diff mode. (James McCoy, closes vim/vim#1329 )
f58a8475e1
2018-01-15 20:20:15 +08:00
ZyX
9ea1752d60
*: Provide list length when allocating lists
2018-01-14 01:33:16 +03:00
ZyX
f4132fb38b
*: Fix linter errors
2017-12-11 10:19:20 +03:00
ZyX
ac4bbf55f6
*: Hide list implementation in other files as well
2017-12-10 22:04:43 +03:00
ZyX
274f32d42e
*: Start hiding list implementation
...
Most of files, except for eval.c and eval/* were only processed by perl.
2017-12-10 04:00:52 +03:00
Justin M. Keyes
842a54a1bb
doc
2017-11-06 01:56:04 +01:00