aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* shada: Fix out-of-bounds array accessZyX2015-10-08
| | | | It leads to a memory leak as well. May overwrite wms->jumps_size.
* shada: Save an allocation when writing local marksZyX2015-10-08
|
* shada: Fix v:hlsearch save/restore and do not write empty patternsZyX2015-10-08
|
* shada,functests: Fix v:hlsearch saving/restoring handlingZyX2015-10-08
|
* shada: First write temporary file and only then check any permissionsZyX2015-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 documentationZyX2015-10-08
|
* shada: Keep uid and gid of the file when working from rootZyX2015-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 filesZyX2015-10-08
|
* shada: Refactor code that works with hms.last_hist_entryZyX2015-10-08
|
* documentation/functests: Replace NeoVim with NeovimZyX2015-10-08
|
* shada: Add generator key to the headerZyX2015-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 iteratorsZyX2015-10-08
|
* eval: Use proper iteration end conditionZyX2015-10-08
|
* eval: Reorder checks in var_shada_iterZyX2015-10-08
|
* shada: Also expand file name obtained from &shada optionZyX2015-10-08
|
* shada.h: Remove newline after INCLUDE_GENERATED_DECLARATIONS sectionZyX2015-10-08
|
* eval: Remove incorrect NONNULL_RET attributesZyX2015-10-08
|
* *: Fix problems with clang+asan Release buildZyX2015-10-08
|
* mark: Clear marks in some cases, but do not do useless job in free_\*ZyX2015-10-08
|
* shada: Refuse to write ShaDa file when ShaDa was disabledZyX2015-10-08
|
* os/time: Make Timestamp be 64-bit unsigned integerZyX2015-10-08
|
* search: When freeing search patterns also clear themZyX2015-10-08
|
* config: Check order and endianess even when cross-compilingZyX2015-10-08
|
* functests: Make one recover_spec test also use gdb or valgrindZyX2015-10-08
|
* eval,functests: Reference all additional_* items created by ShaDaZyX2015-10-08
|
* shada,config: Use CMake to determine endianess and be64toh existenceZyX2015-10-08
|
* documentation: Update vim differences list, reference critical errorsZyX2015-10-08
|
* shada: Fix crash in hmll_insertZyX2015-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 sanitizerZyX2015-10-08
| | | | Ref #1350
* shada: Fix -Wstrict-aliasing gcc errorZyX2015-10-08
| | | | | Also removes theoretically possible unaligned memory access when computing be64toh() argument.
* shada: Fix unused variable warning when using Release buildZyX2015-10-08
|
* ex_getln: Return something from hist_type2char without assertsZyX2015-10-08
| | | | | Otherwise QuickBuild shows a warning that control may reach end of non-void function.
* mark: Avoid address sanitizer errorZyX2015-10-08
|
* ops: Fix access to unsaved register when iterating over registersZyX2015-10-08
|
* mark: Fix out-of-bounds array access when iterating over global marksZyX2015-10-08
|
* ops: Fix “conditional … depends on unitialized …” error in op_yank_regZyX2015-10-08
|
* shada: Fix incompatible pointer types error in non-glibc buildsZyX2015-10-08
|
* shada: Fix memory leak when reading registers from ShaDa fileZyX2015-10-08
| | | | | Occures once register from ShaDa file overwrites non-empty register in the current instance.
* shada: Avoid “conditional … depends on initialized value” errorZyX2015-10-08
| | | | Error can be seen in some errors_spec.lua tests.
* shada: Allow moving jump index past the endZyX2015-10-08
| | | | idx == len + 1 indicates that no jumplist entry is currently used.
* shada: Use same merging code for jumps and changesZyX2015-10-08
|
* shada: Move common jump/change merging code into a macrosZyX2015-10-08
|
* shada: Fix jump list merger codeZyX2015-10-08
|
* shada: Move all default values to an array of ShadaEntry structsZyX2015-10-08
|
* shada: Fix linter errorsZyX2015-10-08
|
* shada,functests: Add tests for merging ShaDa dataZyX2015-10-08
|
* shada: Merge changes regardless whether they are from current instanceZyX2015-10-08
|
* undo: When reading persistent undo file give marks current timeZyX2015-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!ZyX2015-10-08
|
* shada: Always use merging when reading jumps and changesZyX2015-10-08
|