Justin M. Keyes
ea7491586f
PVS/V1032: pointer cast to a more strictly aligned type
2019-01-18 00:09:50 +01:00
Björn Linse
ead222d2cd
screen: avoid redrawing windows immediately when debug signs are placed.
2019-01-09 10:22:48 +01:00
Utkarsh Maheshwari
ba6f9f60ad
multigrid: Fix lint errors
2018-12-31 12:44:22 +01:00
Utkarsh Maheshwari
01555de2da
multigrid: Allow UIs to set grid size different from window size
2018-12-31 12:44:21 +01:00
Jan Edmund Lazo
845973c9fe
vim-patch:8.1.0588: cannot define a sign with space in the text
...
Problem: Cannot define a sign with space in the text.
Solution: Allow for escaping characters. (Ben Jackson, closes vim/vim#2967 )
06b056e110
2018-12-14 22:51:12 -05:00
Jan Edmund Lazo
9f3fb66111
vim-patch:8.1.0516: :move command sets 'modified' #9224
...
Problem: :move command marks buffer modified when nothing changed.
Solution: Do not set 'modified'. Add a test. (Jason Franklin)
ddd1f9183b
2018-11-11 19:13:14 +01:00
lokesh1197
3159cd4503
vim-patch:8.0.1553: find digraph to insert a character #8190
...
Problem: Cannot see what digraph is used to insert a character.
Solution: Show the digraph with the "ga" command. (Christian Brabandt)
5f73ef8d20
close #8190
2018-10-30 19:47:59 +01:00
Justin M. Keyes
902ca26856
fix warning: null arg passed to 'nonnull' param
...
Found by clang scan-build 5.0
2018-10-21 23:24:59 +02:00
Reto Schnyder
bddcbbb571
signs: Add "numhl" argument #9113
...
close #9113
ref #9040
2018-10-13 19:39:56 +02:00
Jan Edmund Lazo
e17e21e4cf
vim-patch:8.1.0468: MS-Windows: filter command with pipe character fails ( #9101 )
...
Problem: MS-Windows: Filter command with pipe character fails. (Johannes
Riecken)
Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
closes vim/vim#1743 , closes vim/vim#3523 )
0664089ecc
2018-10-10 11:32:21 +02:00
Jan Edmund Lazo
b09f173d93
vim-patch:8.1.0416: sort doesn't report deleted lines ( #9062 )
...
Problem: Sort doesn't report deleted lines.
Solution: Call msgmore(). (Christian Brabandt, closes vim/vim#3454 )
b0e982bf05
2018-09-28 08:56:54 +02:00
Jan Edmund Lazo
96a34daab7
lint
2018-09-27 03:17:36 -04:00
Jan Edmund Lazo
25e6d37705
vim-patch:8.1.0120: buffer 'modified' set even when :sort has no changes
...
Problem: Buffer 'modified' set even when :sort has no changes.
Solution: Only set 'modified' when lines are moved. (Jason Franklin)
dc9e955fb0
2018-09-26 21:32:45 -04:00
Justin M. Keyes
8b60253ce7
cleanup/TUI: remove old unused code #9013
...
- Checks for ECHOE, ICANON were left over from Vim code. We already
reference the symbols elsewhere without checking.
- newline_on_exit, intr_char: Both are vestigial remnants of Vim 4.x,
not implemented in Nvim. intr_char is a termios/stty feature, it's
probably not useful because users have other ways to configure their
terminals.
2018-09-19 07:59:09 +02:00
Jan Edmund Lazo
db90c0c9bf
globals: KeyTyped is bool
2018-09-14 01:01:00 -04:00
Justin M. Keyes
90b7d25882
do_shell, do_filter: Remove "clear screen", "wait for return" calls
...
The output from shell commands is already handled by the messages.c/UI
layer.
2018-09-12 08:30:26 +02:00
Justin M. Keyes
31c3d54668
UI/cleanup: Remove most redraw_later_clear() calls
...
Vim :! may "mess up the screen" because of e.g. switching between cooked
mode, but Nvim just uses pipes. So maybe we can avoid these
redraw_later_clear() CYA calls.
2018-09-12 08:30:26 +02:00
Jan Edmund Lazo
a021b30ede
vim-patch:8.1.0034: cursor not restored with ":edit #"
...
Problem: Cursor not restored with ":edit #".
Solution: Don't assume autocommands moved the cursor when it was moved to
the first non-blank.
adb8fbec4f
2018-09-11 19:23:04 -04:00
Jan Edmund Lazo
cfb2828897
window: refactor boolean variables in win_close()
...
free_buf (param) and help_window (variable) are bool.
2018-09-06 20:24:29 -04:00
Jan Edmund Lazo
dc15dcffad
vim-patch:8.0.0782: using freed memory in quickfix code
...
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Handle a help window differently. (Yegappan Lakshmanan)
d28cc3f55d
2018-09-06 06:15:35 -04:00
Jan Edmund Lazo
f3c895569d
lint
2018-09-04 21:33:39 -04:00
Jan Edmund Lazo
d29b71a1de
ex_cmds: const variables in find_help_tags()
...
keep_lang (param) is bool.
2018-09-04 21:32:08 -04:00
Jan Edmund Lazo
9d7dc49db1
vim-patch:8.1.0235: more help tags that jump to the wrong location
...
Problem: More help tags that jump to the wrong location.
Solution: Add more exceptions and a table for "expr-" tags. (Hirohito
Higashi)
3bf5e6a4c8
2018-09-04 21:16:34 -04:00
Jan Edmund Lazo
24b16ed35e
vim-patch:8.1.0231: :help -? goes to help for -+
...
Problem: :help -? goes to help for -+.
Solution: Add -? to list of special cases. (Hirohito Higashi)
a5bc38b8c1
2018-09-04 21:16:34 -04:00
Jan Edmund Lazo
5c90bbae2a
vim-patch:8.0.1383: local additions in help skips some files
...
Problem: Local additions in help skips some files. (joshklod)
Solution: Check the base file name length equals.
35c5e8155d
2018-09-04 21:16:34 -04:00
ZviRackover
1015aa6ff3
Remove has_mbytes from lines local to parent commit
2018-08-31 22:47:49 +03:00
ZviRackover
1c03a06487
Refactor: remove mb_ptr2len_len, mb_ptr2cells and mb_ptr2cells_len
...
Remove occurences of these macros.
2018-08-31 22:45:10 +03:00
Justin M. Keyes
0c9888cdbe
vim-patch:8.1.0110: file name not displayed with ":file" ( #8878 )
...
Problem: File name not displayed with ":file" when 'F' is in 'shortmess'.
Solution: Always display the file name when there is no argument (Christian
Brabandt, closes vim/vim#3070 )
fc0896093c
closes #8817
closes #8873
2018-08-21 09:25:48 +02:00
ZviRackover
22311457ab
refactor: Replace vim_strrchr() with strrchar() ( #8718 )
...
ref #1474
2018-08-11 16:14:10 +02:00
Justin M. Keyes
b7a417c5e6
Merge #8744 from janlazo/vim-8.0.0890
2018-08-08 02:22:34 +02:00
Jan Edmund Lazo
672449e448
memline: copy in ml_replace() is bool
2018-08-07 13:11:51 -04:00
Jan Edmund Lazo
593c0bd77f
vim-patch:8.0.1216: tabline is not always updated for :file command
...
Problem: Tabline is not always updated for :file command. (Norio Takagi)
Solution: Set redraw_tabline. (Hirohito Higashi)
6ce6504808
2018-08-06 21:56:38 -04: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
d2c1d9c466
ex_cmds: add const to helptags_one() variables
2018-08-01 23:21:17 -04:00
Jan Edmund Lazo
144e85b7b9
ex_cmds: add const to fix_help_buffer() variables
2018-08-01 23:02:52 -04:00
Jan Edmund Lazo
deae2e8434
ex_cmds: refactor utf8 variables to TriState
...
- utf8 in helptags_one()
- this_utf in fix_help_buffer()
2018-08-01 15:28:49 -04:00
Jan Edmund Lazo
84b8612987
vim-patch:8.0.1512: warning for possibly using NULL pointer
...
Problem: Warning for possibly using NULL pointer. (Coverity)
Solution: Skip using the pointer if it's NULL.
e4db7aedab
2018-07-23 08:34:25 -04:00
Björn Linse
696e24f311
highlight: extract low-level highlight logic from syntax, ui
2018-07-21 10:37:44 +02:00
Jan Edmund Lazo
392817c2da
vim-patch:8.0.0630: it is not easy to work on lines without a match ( #8734 )
...
Problem: The :global command does not work recursively, which makes it
difficult to execute a command on a line where one pattern matches
and another does not match. (Miles Cranmer)
Solution: Allow for recursion if it is for only one line. (closes vim/vim#1760 )
f84b122a99
2018-07-13 21:14:46 +02:00
Jan Edmund Lazo
bfe029a11d
vim-patch:8.0.0677: setting 'filetype' may switch buffers
...
Problem: Setting 'filetype' internally may cause the current buffer and
window to change unexpectedly.
Solution: Set curbuf_lock. (closes vim/vim#1734 )
1814183b86
2018-06-26 10:21:39 -04:00
Jan Edmund Lazo
b79523681d
vim-patch:8.0.0707: freeing wrong memory with certain autocommands
...
Problem: Freeing wrong memory when manipulating buffers in autocommands.
(James McCoy)
Solution: Also set the w_s pointer if w_buffer was NULL.
f1d13478e3
2018-06-25 11:41:45 -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
bf61885cb4
vim-patch:8.0.0621: :stag does not respect 'switchbuf'
...
Problem: The ":stag" command does not respect 'switchbuf'.
Solution: Check 'switchbuf' for tag commands that may open a new window.
(Ingo Karkat, closes vim/vim#1681 ) Define macros for the return values
of getfile().
8ad80dea08
2018-06-21 12:50:30 -04:00
Jan Edmund Lazo
a10938ae31
vim-patch:8.0.0537: illegal memory access with :z and large count ( #8592 )
...
Problem: Illegal memory access with :z and large count.
Solution: Check for number overflow, using long instead of int. (Dominique
Pelle, closes vim/vim#1612 )
fa0ad0bb0b
2018-06-19 20:35:37 +02: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
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