| Commit message (Collapse) | Author | Age |
| ... | |
| |\
| |
| | |
closes #4983
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since `c` there is a result of evaluating `TO_SPECIAL` macros it may be only one
of the following three things:
1. K_SPECIAL
2. K_ZERO (note: not KS_ZERO)
3. negative integer resulting from evaluating TERMCAP2KEY macro.
All variants here are negative and thus fail next !IS_SPECIAL(c) check (negative
is special). If `c` was really NUL it would fall into the `!IS_SPECIAL(c)` block
and use whatever character is third in `<80>{a}{b}` combo. For `<Nul>` it is
X (`<80><ff>X`).
|
| |\| |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: When in Ex mode and an error is caught by try-catch, Vim still
exits with a non-zero exit code.
Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian
Brabandt)
https://github.com/vim/vim/commit/2b7bc567b9238aaac682236cb4f727d0376e1302
|
| | |
| |
| |
| | |
fixes #7586 #8070
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
https://github.com/vim/vim/commit/95f096030ed1a8afea028f2ea295d6f6a70f466f
Signed-off-by: Michael Schupikov <michael@schupikov.de>
|
| | |
| |
| |
| | |
This is convenient for terminfo_info_msg().
|
| | | |
|
| | |
| |
| |
| | |
regression by 832c158a663c
|
| |\| |
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Treat dialogs in the same way as "silent mode" (`nvim -es`).
References #1984
References #3901
|
| | | | |
|
| | |\| |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Does not alter its usages.
|
| | | |
| | |
| | |
| | | |
Does not alter their usages as well.
|
| | |/
| |
| |
| |
| | |
This also attempted to fix problem with cancelling input() on error by avoiding
standard error printing facilities (assumed thrown error message is the
problem), but with no luck so far.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
https://github.com/vim/vim/commit/d29459baa61819e59961804ed258efac5733ec70
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Problem: Adding pattern to ":oldfiles" is not a generic solution.
Solution: Add the ":filter /pat/ cmd" command modifier. Only works for some
commands right now.
https://github.com/vim/vim/commit/7b668e83d0635d082b7ec90d7d2aa30a9d7d8928
|
| | |
| |
| |
| | |
It was replaced by the "child queue" concept (MultiQueue).
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
It was there only to prove that *now* `len` argument is not used to forbid
putting message into history (i.e. that Neovim behaviour did not change). After
this commit it should be possible to use msg_puts_attr_len with len>=0 to put
message into history should new code need this.
|
| | |
| |
| |
| |
| |
| |
| | |
`attr` argument is enough to forbid putting message in history. Also forbid
strings with NUL before `len` just in case (it appears that this does not ever
happen).
|
| | |
| |
| |
| | |
Function was renamed and changed to return `const char *`.
|
| | |
| |
| |
| |
| |
| | |
Problem: Valgrind reports using uninitialzed memory. (Dominique Pelle)
Solution: Check the length before checking for a NUL.
https://github.com/vim/vim/commit/2321ca2a78286bc026fa7f407281ddbeb04114bb
|
| | |
| |
| |
| |
| |
| | |
* The allow_keys global is unused in nvim, remove it
* clint
|
| |/ |
|
| | |
|
| |
|
|
|
|
|
| |
Problem: Warning from 64 bit compiler.
Solution: use size_t instead of int. (Mike Williams)
https://github.com/vim/vim/commit/d4f31dc45482e8db527ca044b9c3436b1e750006
|
| |
|
|
|
|
|
|
|
| |
Problem: Not all arguments of trunc_string() are tested. Memory access
error when running the message tests.
Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run
unittests with valgrind. Fix the access error.
https://github.com/vim/vim/commit/b9644433d2728e99fab874e5e33147ad95d23a31
|
| |
|
|
|
|
|
| |
Problem: No proper testing of trunc_string().
Solution: Add a unittest for message.c.
https://github.com/vim/vim/commit/502ae4ba63561c98ac69af26cd9883bfd18d225f
|
| |
|
|
|
| |
`enc_dbcs` and `enc_utf8` are deprecated (globals.h), so the second branch is
always taken.
|
| |\ |
|
| | |
| |
| |
| | |
Allows eval/typval.h to #include message.h.
|
| |\ \
| |/
|/| |
|
| | | |
|
| |/
|
|
|
|
|
|
| |
Main points:
- Replace `char_u` with `char` in some cases.
- Remove `str[len] = NUL` hack in some cases when `str` may be considered
`const`.
|
| | |
|
| |
|
|
| |
Closes #5422
|
| | |
|