Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | shada: Use os_strerror in place of strerror in some places | ZyX | 2015-10-08 | |
| | ||||
* | shada: Use os_mkdir_recurse to create directory for ShaDa file | ZyX | 2015-10-08 | |
| | ||||
* | shada: Refactor history merger to use statically sized 2linked list | ZyX | 2015-10-08 | |
| | | | | | | | Also fixes the error: when writing shada files existing history items may be freed. Warning: valgrind reports some memory leaks. | |||
* | shada: Refactor history merging support to separate functions | ZyX | 2015-10-08 | |
| | ||||
* | shada: Preserve existing file permissions | ZyX | 2015-10-08 | |
| | ||||
* | shada: Populate v:oldfiles | ZyX | 2015-10-08 | |
| | ||||
* | shada: Save v:hlsearch value | ZyX | 2015-10-08 | |
| | ||||
* | shada: Add more size_t casts | ZyX | 2015-10-08 | |
| | | | | As usual, GCC is overparanoid with -Wconversion. | |||
* | Deprecate &viminfo and :[rw]v, add &shada and :[rw]sh | ZyX | 2015-10-08 | |
| | ||||
* | Replace references to viminfo in various places | ZyX | 2015-10-08 | |
| | ||||
* | shada: Use “write then rename” variant by default for writing shada | ZyX | 2015-10-08 | |
| | ||||
* | shada: Test that history string does not contain zero byte | ZyX | 2015-10-08 | |
| | | | | | | | This test can safely be ignored for other kinds of strings, but history string contains separator after the last NUL byte and string containing NUL byte inside thus means that separator will be placed at one position, but seeked at another. | |||
* | shada: Add support for converting strings that are read or written | ZyX | 2015-10-08 | |
| | ||||
* | shada: Refactor file reading/writing to use os_open | ZyX | 2015-10-08 | |
| | ||||
* | shada,functests: Refactor shada items skipping | ZyX | 2015-10-08 | |
| | ||||
* | shada: Reassign some entry types to WantInfo and WantMarks | ZyX | 2015-10-08 | |
| | | | | | kShaDaWantMarks now loads only local file change list and file-local marks. kShaDaWantInfo now loads global marks and jump list. | |||
* | shada: Add support for dumping and restoring buffer list | ZyX | 2015-10-08 | |
| | ||||
* | shada: Use pre-populated set of buffers on removable media | ZyX | 2015-10-08 | |
| | | | | | Should be faster then constantly running shada_removable for each buffer many times. | |||
* | shada: Do not record removable buffers and marks | ZyX | 2015-10-08 | |
| | ||||
* | shada: Add support for dumping/restoring bufs changes and win jumps | ZyX | 2015-10-08 | |
| | ||||
* | shada: Initial support for merging history | ZyX | 2015-10-08 | |
| | | | | Currently only merges history when reading ShaDa file. No tests yet. | |||
* | shada: Skip reading some items if needed | ZyX | 2015-10-08 | |
| | | | | Avoids unneeded malloc()s/free()s and lots of code for parsing. | |||
* | shada: Use glibc functions to convert from big endian, add a fallback | ZyX | 2015-10-08 | |
| | ||||
* | viminfo: First version of ShaDa file dumping | ZyX | 2015-10-08 | |
What works: 1. ShaDa file dumping: header, registers, jump list, history, search patterns, substitute strings, variables. 2. ShaDa file reading: registers, global marks, variables. Most was not tested. TODO: 1. Merging. 2. Reading history, local marks, jump and buffer lists. 3. Documentation update. 4. Converting some data from &encoding. 5. Safer variant of dumping viminfo (dump to temporary file then rename). 6. Removing old viminfo code (currently masked with `#if 0` in a ShaDa file for reference). |