Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | eval: Silence PVS/V547: PVS cannot stand `!known_val` expressions | ZyX | 2018-04-15 |
| | |||
* | *: Add some PVS comments | ZyX | 2018-04-15 |
| | |||
* | ex_getln: Fix PVS/V547: function is stated to never return NULL | ZyX | 2018-04-15 |
| | |||
* | ex_getln: Fix PVS/V560: there are no longer NULL returns for OOM | ZyX | 2018-04-15 |
| | |||
* | ex_docmd: Fix PVS/V547: condition was already checked in surr. if() | ZyX | 2018-04-15 |
| | |||
* | ex_docmd: Fix PVS/V547: due to short-circuiting name_len is never > 4 | ZyX | 2018-04-15 |
| | |||
* | ex_cmds: Fix PVS/V557: possible array overrun in :ascii | ZyX | 2018-04-15 |
| | | | | | | Some calculation show that with the current setup there will not be enough bytes occupied for that, barring the case of malicious translation. Still should be possible to have array overrun with specially crafted translation. | ||
* | ex_cmds: Simplify do_ascii | ZyX | 2018-04-15 |
| | | | | Specifically apply constants like enc_utf8 (which are constants *now*) and simplify conditions after that. Also some style changes. | ||
* | ex_cmds: Remove #ifdef USE_GUI | ZyX | 2018-04-15 |
| | | | | `ag` shows that this identifier (`USE_GUI`) is found in exactly one place (zero after this commit). So I assume macros is never defined. | ||
* | eval: Fix PVS/V547: skipping is now done using eval0 | ZyX | 2018-04-15 |
| | |||
* | eval: Silence PVS/V547: E882 may be triggered | ZyX | 2018-04-15 |
| | | | | | | | | | | I failed to deduce why analyzer thinks E882 may not be triggered, though conditions for triggering it are strange: it would trigger E882 only in the single case “function returned non-number”. Cases “function thrown exception”, or “built-in sorter encountered error” will neither yield E882 nor stop sort()/uniq(). Note though that searching test code revealed that neither E702 nor E882 are not tested anywhere. | ||
* | eval: Silence PVS/V614: use of potentially uninitialized pointer | ZyX | 2018-04-10 |
| | | | | | | It is hard to say whether it actually is uninitialized, need to go deeper into regex code. Probably analyzer did not go that far as regmatch for sure would not be initialized up until calling NFA/DFA engine functions, which is to be done by pointer. | ||
* | eval: Fix PVS/V560: unneded check for name_len | ZyX | 2018-04-10 |
| | | | | It is unsigned, zero length would already cause early return and length 1 is checked earlier in the same condition. | ||
* | eval: Fix PVS/V547: ufunc_T is actually an incomplete type | ZyX | 2018-04-10 |
| | |||
* | edit: Fix PVS/V560: remove always true/false checks | ZyX | 2018-04-10 |
| | |||
* | diff: Fix PVS/V547: remove no longer needed OOM handler | ZyX | 2018-04-10 |
| | |||
* | eval/decode: Silence PVS/V547: code written for 32-bit integers | ZyX | 2018-04-09 |
| | |||
* | charset: Fix PVS/V560: remove condition which was already checked | ZyX | 2018-04-09 |
| | |||
* | charset: Silence PVS/V785: remove switch() | ZyX | 2018-04-09 |
| | | | | No idea why it thinks that pre is constant expression, but switch() may be removed. | ||
* | event/loop: Silence PVS/V547: condition is false in case of no timeout | ZyX | 2018-04-09 |
| | |||
* | buffer: Fix PVS/V560: condition was checked three lines above | ZyX | 2018-04-09 |
| | |||
* | buffer: Fix PVS/V547: base is never set to octal | ZyX | 2018-04-09 |
| | |||
* | charset: Fix transchar() with multibyte characters | ZyX | 2018-04-09 |
| | | | | | | | It appears that transchar() was working under assumption that `transchar_nonprint()` may be used for multibyte characters while its documentation stated exact opposite. It was not actually untrue though, except that longer buffer would be needed then the one stated in documentation. But it is false now with assert(). | ||
* | buffer: PVS/V557: Refactor maketitle() | ZyX | 2018-04-09 |
| | |||
* | os/env: Refactor home_replace() to the new style and to return length | ZyX | 2018-04-09 |
| | |||
* | charset,*: Refactor transstr() | ZyX | 2018-04-09 |
| | |||
* | memory: Fix documentation of some string copying functions | ZyX | 2018-04-09 |
| | |||
* | buffer: Beautify code a bit | ZyX | 2018-04-09 |
| | |||
* | eval/typval_encode: Silence PVS/V501,V547,V779 | ZyX | 2018-04-02 |
| | | | These kinds of warnings are inevitable for generic macros. | ||
* | api/buffer: Fix PVS/V547: use correct border for lnum | ZyX | 2018-04-02 |
| | | | | | Should actually be silencing that for the sake of the case when `long` is actually not 64-bit. But it appears that Vim had already defined maximal line number. And even declared that exact value invalid, so no need in silencing. | ||
* | quickfix: Fix PVS/V560: remove duplicate condition | ZyX | 2018-04-02 |
| | | | Condition was checked in surrounding if(). | ||
* | pvscheck: Also provide source tree root to plog-converter | ZyX | 2018-04-02 |
| | |||
* | pvscheck: Also produce fullhtml reports | ZyX | 2018-04-02 |
| | |||
* | pvscheck: Make realdir work with nonexistent directories | ZyX | 2018-04-02 |
| | |||
* | msg: do not scroll entire screen (#8088) | Björn Linse | 2018-03-31 |
| | |||
* | build/CMake: LANGUAGES config option #8203 | Marty E. Plummer | 2018-03-31 |
| | | | | Signed-off-by: Marty E. Plummer <hanetzer@startmail.com> | ||
* | ci/AppVeyor: cover MinGW and MSVC in PRs (#8206) | Justin M. Keyes | 2018-03-30 |
| | |||
* | .gitignore | Justin M. Keyes | 2018-03-30 |
| | |||
* | timer_pause: stop the timer resource (#8199) | Utkarsh Maheshwari | 2018-03-30 |
| | | | | | If the timer isn't stopped, it still emits events which consume some CPU. Fix #8188 | ||
* | lint | James McCoy | 2018-03-29 |
| | |||
* | Merge pull request #6377 from yagebu/option-fixes | James McCoy | 2018-03-29 |
|\ | | | | | | | | | options: fixes and some refactoring for number options Closes #6696 | ||
| * | Merge branch 'master' into yagebu/option-fixes | James McCoy | 2018-03-28 |
| |\ | |||
| * | | update tests | Jakob Schnitzer | 2017-06-28 |
| | | | |||
| * | | Merge branch 'master' into option-fixes | Jakob Schnitzer | 2017-06-28 |
| |\ \ | |||
| * \ \ | Merge branch 'master' into option-fixes | Jakob Schnitzer | 2017-04-24 |
| |\ \ \ | |||
| * | | | | also test set_option | Jakob Schnitzer | 2017-04-01 |
| | | | | | |||
| * | | | | update for changes in master; fix 'window'; tests | Jakob Schnitzer | 2017-03-31 |
| | | | | | |||
| * | | | | options: more tests; check first set later; stricter validation | Jakob Schnitzer | 2017-03-30 |
| | | | | | |||
| * | | | | options: fix setglobal for buf-local number options | Jakob Schnitzer | 2017-03-30 |
| | | | | | |||
| * | | | | options: group num_option validation by type | Jakob Schnitzer | 2017-03-30 |
| | | | | |