| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | | |
- utf8 in helptags_one()
- this_utf in fix_help_buffer()
|
| | | |
|
| | | |
|
| | | |
|
| |/
| |
| |
| |
| | |
Vim uses MAYBE for 3-value boolean with FALSE/TRUE/MAYBE.
Use TriState type instead to restrict to 3 values, kFalse/kTrue/kNone.
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Refactor all affected functions:
- add const
- declare and initialize on same line
- update boolean declarations from int with bool
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add const to parameters and variables.
Declare and init variables on same line.
Use `sizeof(*ptr)` to calculate size for malloc().
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add const on parameters and variables.
Update declarations to avoid typecasts.
Use `sizeof(*ptr)` for malloc() to reduce effect of type changes.
ie. short to int16_t
Update syn_compare_stub() variable declarations for consistency.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Declare and initialize variables on same line if possible.
Add const to parameters and variables.
Use bool for any parameter,variable using TRUE/FALSE macros.
Replace 'short' type with 'int16_t'.
|
| | |
| | |
| | |
| | |
| | | |
Declare and initialize variables as close as possible.
Use const pointers without changing semantics if possible.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Replace 'short' with 'int16_t' to match lint changes from 8.0.1541.
Update ID_LIST_ALL to match type of stateitem_T.si_cont_list.
|
| | | |
|
| | |
| | |
| | |
| | | |
Replace 'short' with 'int16_t'
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Use bool, not int, for booleans.
Use int16_t, not short, to match lint changes from patch 8.0.1541.
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
Problem: synpat_T is taking too much memory.
Solution: Reorder members to reduce padding. (Dominique Pelle, closes vim/vim#2671)
https://github.com/vim/vim/commit/36f923014a7eb7e24c4b0b88719cad14351e3a60
|
|\ \
| |/
|/|
| |
| | |
phodge/7688-nvim-buf-lines-should-return-empty-list-for-unloaded-buffer
handle unloaded buffers in nvim_buf_*() functions
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
closes #8362
Vim's code calls `call_shell` directly from `get_system_output_as_rettv`
whereas in Nvim this function has been rewritten to not call `call_shell` but to call
`os_system` via `do_os_system`, losing the support for profiling and verbose.
Changing the code to call `call_shell` from `get_system_output_as_rettv`
seems to be too complicated to be worth it on the current version of the
code. So this commit duplicates the relevant code.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: .po files do not use recommended names.
Solution: Give a warning if the recommended name is not used. Accept the
recommended name for conversion. (Christian Brabandt, Ken Takata)
https://github.com/vim/vim/commit/d1d037e90192ab64e4cec00b9d008b33bc69d979
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Script to check .po file doesn't check for plural header.
Solution: Add a check that the plural header is present when needed.
https://github.com/vim/vim/commit/9cfc7d885cb3bf37362b11df19a38992893fb385
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Script to check translations does not always work.
Solution: Go to first line before searching for MIME.
https://github.com/vim/vim/commit/b07bbb0d29493fcf4ed080fe018535e64441d663
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Translations check with msgfmt does not work.
Solution: Add a space before the file name.
https://github.com/vim/vim/commit/65cedb2074ce550d20a3069c200e2a5d4061d3f6
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Translating messages is not ideal.
Solution: Add a remark about obsolete messages. Use msgfmt in the check
script. (Christian Brabandt)
https://github.com/vim/vim/commit/aaef1bae3cc331e7a7bb9c698e707c90cd4ded15
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: The script to check translations fails if there is more than one
NL in one line.
Solution: Count the number of NL characters. Make count() accept a string.
https://github.com/vim/vim/commit/9966b21a57277986217aa28237d6c247ebd060d7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: The script to check translations can be improved.
Solution: Restore the view when no errors are found. Check for matching
line break at the end of the message. (Christian Brabandt)
https://github.com/vim/vim/commit/7f93703149a46980f1588ff6b819f52e13084141
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Translations cleanup script is too conservative.
Solution: Also delete untranslated messages.
https://github.com/vim/vim/commit/4d2ba822fd80f5b5ff6d9195a5f0fd802aabf304
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Signs can be drawn on top of console messages.
Solution: don't redraw at a prompt or when scrolled up. (Christian Brabandt,
closes vim/vim#1907)
https://github.com/vim/vim/commit/0792048842493f224bbd7a5dfb348d834f61b205
|
|\ \ \
| | | |
| | | | |
screen.c: add update_window_hl to special redrawing entrypoints, fixes a crash
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The following (run as a script) used to cause a crash due to :sign using a
special redraw (not updating nvim's specific highlight data structures)
without proper redraw first, as split just flags for redraw later.
set cursorline
sign define piet text=>> texthl=Search
split
sign place 3 line=2 name=piet buffer=1
|
|\ \ \ \
| | | | |
| | | | | |
[RDY] vim-patch:8.0.0493
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ff_free_stack_element() accepts NULL ptr and returns early.
This removes the need to check if stackp is not NULL.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Crash with cd command with very long argument.
Solution: Check for running out of space. (Dominique Pellé, closes vim/vim#1576)
https://github.com/vim/vim/commit/15618fa643867cf0d9c31f327022a22dff78a0cf
|