Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | shada: Fix out-of-bounds array access | ZyX | 2015-10-08 |
| | | | | It leads to a memory leak as well. May overwrite wms->jumps_size. | ||
* | shada: Save an allocation when writing local marks | ZyX | 2015-10-08 |
| | |||
* | shada: Fix v:hlsearch save/restore and do not write empty patterns | ZyX | 2015-10-08 |
| | |||
* | shada,functests: Fix v:hlsearch saving/restoring handling | ZyX | 2015-10-08 |
| | |||
* | shada: First write temporary file and only then check any permissions | ZyX | 2015-10-08 |
| | | | | | | It is not logical that on UNIX permissions can prevent even writing temporary file, while on other OS it will first write temporary file and then fail during rename. | ||
* | documentation: Extend shada error handling documentation | ZyX | 2015-10-08 |
| | |||
* | shada: Keep uid and gid of the file when working from root | ZyX | 2015-10-08 |
| | | | | | | It was the behaviour exhibited by Vim, but it got unintentionally removed. There is a difference though: Vim runs fchown *before* populating the file, I run it just before renaming. | ||
* | *: Fix lint errors found in new code in previously ignored files | ZyX | 2015-10-08 |
| | |||
* | shada: Refactor code that works with hms.last_hist_entry | ZyX | 2015-10-08 |
| | |||
* | documentation/functests: Replace NeoVim with Neovim | ZyX | 2015-10-08 |
| | |||
* | shada: Add generator key to the header | ZyX | 2015-10-08 |
| | | | | | For use in viminfo→shada converters, plugins that allow editing ShaDa files or any other software which generates ShaDa files for whatever purpose. | ||
* | shada: Use same iteration end conditions as with other iterators | ZyX | 2015-10-08 |
| | |||
* | eval: Use proper iteration end condition | ZyX | 2015-10-08 |
| | |||
* | eval: Reorder checks in var_shada_iter | ZyX | 2015-10-08 |
| | |||
* | shada: Also expand file name obtained from &shada option | ZyX | 2015-10-08 |
| | |||
* | shada.h: Remove newline after INCLUDE_GENERATED_DECLARATIONS section | ZyX | 2015-10-08 |
| | |||
* | eval: Remove incorrect NONNULL_RET attributes | ZyX | 2015-10-08 |
| | |||
* | *: Fix problems with clang+asan Release build | ZyX | 2015-10-08 |
| | |||
* | mark: Clear marks in some cases, but do not do useless job in free_\* | ZyX | 2015-10-08 |
| | |||
* | shada: Refuse to write ShaDa file when ShaDa was disabled | ZyX | 2015-10-08 |
| | |||
* | os/time: Make Timestamp be 64-bit unsigned integer | ZyX | 2015-10-08 |
| | |||
* | search: When freeing search patterns also clear them | ZyX | 2015-10-08 |
| | |||
* | config: Check order and endianess even when cross-compiling | ZyX | 2015-10-08 |
| | |||
* | functests: Make one recover_spec test also use gdb or valgrind | ZyX | 2015-10-08 |
| | |||
* | eval,functests: Reference all additional_* items created by ShaDa | ZyX | 2015-10-08 |
| | |||
* | shada,config: Use CMake to determine endianess and be64toh existence | ZyX | 2015-10-08 |
| | |||
* | documentation: Update vim differences list, reference critical errors | ZyX | 2015-10-08 |
| | |||
* | shada: Fix crash in hmll_insert | ZyX | 2015-10-08 |
| | | | | | | | | | | | | | | | | | This problem made test64 to crash. Description of the bug: when removing entry from history when removed entry is not the last one it puts one element to free_entries list, but ignores free entries starting from last_free_element. Possible solutions: 1. First working: simply populate free_entries list with entries which are still free, starting from last_free_element. 2. Better (wastes less CPU): after free_entries list size goes to zero (which is the initial value) continue using last_free_element. 3. Even better (less memory): note that element from the list is *only* removed before adding another one. So replace free_entries array with one item. Also renamed last_free_element to last_free_entry: in any case most of the lines which mention it were altered. | ||
* | functests: Disable some tests when running with address sanitizer | ZyX | 2015-10-08 |
| | | | | Ref #1350 | ||
* | shada: Fix -Wstrict-aliasing gcc error | ZyX | 2015-10-08 |
| | | | | | Also removes theoretically possible unaligned memory access when computing be64toh() argument. | ||
* | shada: Fix unused variable warning when using Release build | ZyX | 2015-10-08 |
| | |||
* | ex_getln: Return something from hist_type2char without asserts | ZyX | 2015-10-08 |
| | | | | | Otherwise QuickBuild shows a warning that control may reach end of non-void function. | ||
* | mark: Avoid address sanitizer error | ZyX | 2015-10-08 |
| | |||
* | ops: Fix access to unsaved register when iterating over registers | ZyX | 2015-10-08 |
| | |||
* | mark: Fix out-of-bounds array access when iterating over global marks | ZyX | 2015-10-08 |
| | |||
* | ops: Fix “conditional … depends on unitialized …” error in op_yank_reg | ZyX | 2015-10-08 |
| | |||
* | shada: Fix incompatible pointer types error in non-glibc builds | ZyX | 2015-10-08 |
| | |||
* | shada: Fix memory leak when reading registers from ShaDa file | ZyX | 2015-10-08 |
| | | | | | Occures once register from ShaDa file overwrites non-empty register in the current instance. | ||
* | shada: Avoid “conditional … depends on initialized value” error | ZyX | 2015-10-08 |
| | | | | Error can be seen in some errors_spec.lua tests. | ||
* | shada: Allow moving jump index past the end | ZyX | 2015-10-08 |
| | | | | idx == len + 1 indicates that no jumplist entry is currently used. | ||
* | shada: Use same merging code for jumps and changes | ZyX | 2015-10-08 |
| | |||
* | shada: Move common jump/change merging code into a macros | ZyX | 2015-10-08 |
| | |||
* | shada: Fix jump list merger code | ZyX | 2015-10-08 |
| | |||
* | shada: Move all default values to an array of ShadaEntry structs | ZyX | 2015-10-08 |
| | |||
* | shada: Fix linter errors | ZyX | 2015-10-08 |
| | |||
* | shada,functests: Add tests for merging ShaDa data | ZyX | 2015-10-08 |
| | |||
* | shada: Merge changes regardless whether they are from current instance | ZyX | 2015-10-08 |
| | |||
* | undo: When reading persistent undo file give marks current time | ZyX | 2015-10-08 |
| | | | | | Guess this is better then zero time which will give ShaDa marks the priority almost always. | ||
* | shada,functests: Make sure that v:oldfiles list is reset on :rshada! | ZyX | 2015-10-08 |
| | |||
* | shada: Always use merging when reading jumps and changes | ZyX | 2015-10-08 |
| |