Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | jumplist: avoid extra tail entry #9805 | Abdelhakeem Osama | 2019-04-02 | |
| | | | fixes #9775 | |||
* | clang/"null passed to nonnull arg": shada.c | Justin M. Keyes | 2019-01-13 | |
| | ||||
* | PVS/V535: shada.c: variable reassigned in inner loop | Justin M. Keyes | 2019-01-04 | |
| | | | | | False positive: `i` is intentionally, temporarily reassigned. See a70fde1b4585 #9425 | |||
* | build: enable -Wshadow | Justin M. Keyes | 2019-01-02 | |
| | | | | | | | | | | Note about shada.c: - shada_read_next_item_start was intentionally shadowing `unpacked` and `i` because many of the macros (e.g. ADDITIONAL_KEY) implicitly depended on those variable names. - Macros were changed to parameterize `unpacked` (but not `i`). Macros like CLEAR_GA_AND_ERROR_OUT do control-flow (goto), so any other approach is messy. | |||
* | fixed lint errors | MichaHoffmann | 2018-09-24 | |
| | ||||
* | add func_attr_printf in : | MichaHoffmann | 2018-09-24 | |
| | | | | | | | | | | | | | | | | | | | | | | log.c message.c strings.c fixed some printf warnings in: src/nvim/undo.c src/nvim/eval.c src/nvim/eval/encode.c src/nvim/eval/typval.c src/nvim/ex_getln.c src/nvim/fileio.c src/nvim/lua/executor.c src/nvim/main.c src/nvim/regexp_nfa.c src/nvim/shada.c src/nvim/spellfile.c src/nvim/tui/terminfo.c src/nvim/garray.h | |||
* | IO: shada should respect 'fsync' option | Justin M. Keyes | 2018-04-21 | |
| | | | | | | | shada_write_file() is called on exit (:quit and friends), this can be very slow. Note: AFAICT Vim (do_viminfo()) does not appear to fsync() viminfo. | |||
* | shada: Fix conversion warnings | ZyX | 2018-04-01 | |
| | ||||
* | shada: Fix some memory leaks and completely ignore numbered mark names | ZyX | 2018-04-01 | |
| | | | | | | | | | | | | | Problems: - In two places in shada_read_when_writing() memory just was not freed. Both places were verified to cause test failures. - Numbered marks got assigned incorrect (off-by-one compared to position in the array) numbers in replace_numbered_mark. - It was possible to have non-continuously populated array of numbered marks which messed up code for merging them. (Note about tests: marks with additional data are always compared different when merging, that caused some confusion regarding why test did not work the way I expected.) | |||
* | shada: Add functions to format ShaDa entries for debugging purposes | ZyX | 2018-04-01 | |
| | | | To be used in debugging printfs. | |||
* | shada: When storing numeric marks reset the numbers | ZyX | 2018-04-01 | |
| | | | Attempt to fix observed crash. Crash currently not reproduced. | |||
* | Revert "shada: In place of ignoring cursor position with lnum 0 save with 1" | ZyX | 2018-03-27 | |
| | | | | This reverts commit aa728798b4bd89b59cee86103885c15d386f73ba. | |||
* | shada: In place of ignoring cursor position with lnum 0 save with 1 | ZyX | 2018-03-27 | |
| | ||||
* | shada: Also filter out invalid cursor position when writing '0' mark | ZyX | 2018-03-27 | |
| | | | | | Based on https://github.com/neovim/neovim/pull/5908#issuecomment-375909903, but with adjusted condition as line number or column less then zero should not appear at all based on what I know. | |||
* | macros: Rename LAST_ARRAY_ENTRY to ARRAY_LAST_ENTRY | ZyX | 2018-03-27 | |
| | ||||
* | shada: Make ignore_buf also inline | ZyX | 2018-03-27 | |
| | ||||
* | shada: Save numbered marks | ZyX | 2018-03-26 | |
| | | | | | | | Problems so far: - Marks in the current instance are not adjusted. - Duplicates are not removed (not that it works in Vim either now, not at 8.0.134 at least). | |||
* | refactor/rename: path_try_shorten_fname() | Justin M. Keyes | 2018-03-24 | |
| | ||||
* | shada: fix typo (#8066) | Daniel Hahler | 2018-02-25 | |
| | ||||
* | *: Provide list length when allocating lists | ZyX | 2018-01-14 | |
| | ||||
* | mark: Make sure that jumplist item will not have zero lnum | ZyX | 2017-12-24 | |
| | | | | Fixes #7169 | |||
* | *: Fix linter errors | ZyX | 2017-12-11 | |
| | ||||
* | *: Hide list implementation in other files as well | ZyX | 2017-12-10 | |
| | ||||
* | shada: Fix linter error | ZyX | 2017-07-04 | |
| | ||||
* | shada: Make sure that code does not attempt to read too long items | ZyX | 2017-07-04 | |
| | | | Fixes #6957 | |||
* | shada: Add default value for is_unnamed | AdnoC | 2017-05-31 | |
| | ||||
* | style/lint | AdnoC | 2017-05-31 | |
| | ||||
* | shada/linting: Moved some code out of shada_write. | AdnoC | 2017-05-31 | |
| | | | | | shada_write was too long (over 500 lines) and caused a linting error. Register initialization was moved to its own function in order to save lines. | |||
* | shada: Set the unnamed register to the previous unnamed register on startup | AdnoC | 2017-05-31 | |
| | ||||
* | shada: Fix V581: adjacent branches with same condition | ZyX | 2017-05-20 | |
| | ||||
* | *: Use __attribute__((fallthrough)) where comments aren't supported | James McCoy | 2017-05-12 | |
| | | | | | | | | | Although GCC now detects possibly unintentional fall through, there rules around which the comments are detected are rather strict. In cases where a comment isn't detected, upstream [recommends] using their fallthrough attribute. [recommends]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77817#c11 | |||
* | *: Add comment to all C files | ZyX | 2017-04-19 | |
| | ||||
* | *: Remove useless asserts | ZyX | 2017-04-08 | |
| | ||||
* | eval/*code,shada: Drop support for converting UTF-8 from/to p_enc | ZyX | 2017-04-08 | |
| | | | | Not needed any longer since p_enc is always utf-8. | |||
* | shada: Initialize vimconv_T | ZyX | 2017-04-08 | |
| | ||||
* | eval/decode,shada: Do not forget to clean up converters | ZyX | 2017-04-08 | |
| | ||||
* | eval: Make writefile() able to disable fsync() | ZyX | 2017-04-02 | |
| | ||||
* | eval: Move copy_tv to eval/typval | ZyX | 2017-03-29 | |
| | ||||
* | eval,*: Move get_tv_string to typval.c | ZyX | 2017-03-29 | |
| | | | | Function was renamed and changed to return `const char *`. | |||
* | *: Move some dictionary functions to typval.h and use char* | ZyX | 2017-03-29 | |
| | | | | Also fixes buffer reusage in setmatches() and complete(). | |||
* | eval: Split eval.c into smaller files | ZyX | 2017-03-29 | |
| | ||||
* | coverity/133898: Fix sizeof argument | ZyX | 2017-01-23 | |
| | ||||
* | vim-patch:7.4.1925 | James McCoy | 2017-01-09 | |
| | | | | | | | Problem: Viminfo does not merge file marks properly. Solution: Use a timestamp. Add the :clearjumps command. https://github.com/vim/vim/commit/2d35899721da0e9359a9fe1059554f8c4ea7f0c1 | |||
* | shada: Mark ALWAYS_INLINE function as `inline` | ZyX | 2017-01-06 | |
| | ||||
* | shada: Move setpcmark()/cleanup_jumplist() out of the cycle | ZyX | 2017-01-04 | |
| | ||||
* | shada: Fix offset saving | ZyX | 2017-01-04 | |
| | ||||
* | shada: Silence linter | ZyX | 2017-01-04 | |
| | ||||
* | shada: Save current cursor position before saving jumps | ZyX | 2017-01-04 | |
| | ||||
* | shada: Move '%' handling from shada_write to its own function | James McCoy | 2016-12-14 | |
| | | | | | shada_get_buflist finds all the relevant buffers and generates the kSDItemBufferList ShadaEntry. | |||
* | shada: Respect the optional buffer count for shada-% | James McCoy | 2016-12-12 | |
| | | | | Closes #5759 |