| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
closes #1899
closes #1967
refs https://github.com/msgpack/msgpack-c/pull/194
|
|
|
|
|
|
|
|
| |
refs #1045 #1051
This was enabled by default a while ago (#1051), and has apparently not
created any issues. The amount of actual code related to it is tiny, so
it has been removed.
|
|
|
|
|
|
|
| |
While we're here:
- Remove references to the '+diff' feature, which has since been made
non-optional.
- Update a few Vim instances with Nvim.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Factor out main_msg() in favor of mch_msg() and manual indentation, as to
provide a much closer representation to the actual output of '--help'.
'gcc -E' reveals that main_msg() only consists of 3 printf calls
anyways.
- Factor out for loop used for printing top part of usage text; just
print the text normally.
usage() text:
- Don't print the version; that's what '--version' is for.
- Be consistent about nomenclature, e.g. '<arg>' denotes required
argument, '-h | --help' denotes '-h' and '--help' are equivalent, etc.
- Change some instances of vim{,rc,info} to nvim
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem : Unitialized scalar variable @ 3239.
Diagnostic : Harmless issue.
Rationale : It's true pos.coladd is not initialized when calling
searchit(). But that's no problem, as coladd is only set in
that function.
Resolution : Initialize variable to 0.
|
|
|
|
|
|
|
|
|
|
|
| |
Problem : Argument cannot be negative @ 1165.
Diagnostic : Real issue.
Rationale : len can be assigned a negative value @ 1162;
len is passed as an unsigned argument @ 1165.
Resolution : Refactor variable's types:
- Use ftello instead of ftell to avoid using long.
- Assert ftello result is safely convertible to size_t.
- Introduce variable read_size to avoid using i (int).
|
|
|
|
|
|
|
|
| |
Problem : String not null terminated @ 1165.
Diagnostic : False positive.
Rationale : Code below terminates string (with NUL or '\n').
Resolution : Add explanatory comment, and assert termination.
Mark as Intentional at coverity's database.
|
|
|
|
|
|
|
|
|
|
| |
Diagnostic : False positive.
Rationale : Coverity thinks we are forgetting to add more char to hold
NULL, but it's not taking into account that two chars from
cntxformat will no be present in the result. In fact, we
can even allocate one byte less than currently done.
Resolution : Add explanatory comment and allocate one less byte.
Marked as "Intentional" at coverity's database.
|
|
|
|
|
|
|
|
|
|
| |
Problem : Negative array index read @ 909.
Diagnostic : False positive.
Rationale : Suggested error path assigns a negative value to idx at
line 836 (`idx = find_command(ca.cmdchar);`). That's
impossible, as `ca.cmdchar` is set to Ctrl_BSL just two
lines above, so we know that value will be in the table.
Resolution : Assert idx >= 0.
|
|
|
|
|
|
|
|
| |
This makes it possible to highlight the lines starting with ~ at the end
of buffers and other elements highlighted using NonText.
As proposed by mhinz at
https://groups.google.com/forum/#!topic/vim_dev/p3de1iU1GXI/discussion
|
|\
| |
| | |
Factor out float usage & remove '+float' references
|
| |
| |
| |
| |
| | |
The corresponding code was already removed in
b4ca3abc9f6676ea250e42c834716a5f66d8ec30
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Executing old tests leaves an empty file 'del' that doesn't get removed
by `make clean`.
|
|\ \
| | |
| | | |
Remove deadcode due to nonnullret funcs.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
- @justinmk: Clarify comments
- Match verbiage used in other api/*.c files
- Fix a few typos/missing words
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Configuration for clang-format and related utilities.
Examples:
clang-format -style=file <file>
git clang-format -style=file <commit>
git diff -U0 HEAD^ | clang-format-diff.py -i -p1 -style=file
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: With a wrapping line the cursor may not end up in the right place.
(Nazri Ramliy)
Solution: Adjust n_extra for a Tab that wraps. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-517
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Memory access error. (Dominique Pelle)
Solution: Update tpos. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=v7-4-514
|
| |
| |
| |
| |
| |
| | |
Update runtime files and translations.
https://code.google.com/p/vim/source/detail?r=31f7581068a9c3119e3bd2cd74160eb8282c3c6e
|
|/
|
|
| |
- regression by 04c0658024a98a0586997f0ea8af1e3f774cc83e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Constify parameters and reduce char_u usage
- Modernize function signatures
- Modernize function comment blocks, rewriting if needed
- Factor out mainerr_arg_missing(); all the other ME_* macros lack
such a wrapper function.
main_errors[]
- Remove unneeded parentheses
- Remove an unused error string and its respective macro
mainerr()
- Don't print version when called. mainerr() only handles errors
related to command line arguments, so the version isn't much help at
all.
- Changed 'vim' instance to 'nvim'
Misc.
- Remove duplicate include
- Replace unneeded 'inttypes.h' include with 'stdint.h'
- Remove stray comments
- Remove excessive newlines
|
| |
|
|
|
|
|
| |
This test depends on terminal size to work correctly. After migration this
requirement is removed.
|
|\
| |
| | |
doc: "halfway a line" is a very confusing phrase
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If you Google for this phrase found in the Vim documentation you'll find
almost exclusively hits from the Vim documentation. I think changing
"halfway a line" to "halfway through a line" makes more sense.
There seems to be an pervasive odd use of the word 'halfway' in the
original docs which I'm updating everywhere.
|
|\ \
| | |
| | | |
vim-patch:7.4.500 and fix in vim-patch:7.4.406
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
Problem: Test 72 still fails once in a while.
Solution: Don't set 'fileformat' to unix, reset it. (Ken Takata)
https://code.google.com/p/vim/source/detail?r=v7-4-500
|
|\ \
| | |
| | | |
Fix CID #102150
|
| |/
| |
| |
| |
| |
| |
| | |
Don't attempt to write an error message to a channel that may have been
closed and freed.
[CID #102150](https://scan8.coverity.com/reports.htm#v22612/p10672/fileInstanceId=3625286&defectInstanceId=1525721&mergedDefectId=102150)
|
|/ |
|
|\
| |
| | |
Remove "easy" mode.
|
| | |
|