aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/shada.h
Commit message (Collapse)AuthorAge
* API: ContextJustin M. Keyes2019-07-27
|
* shada.h: Remove newline after INCLUDE_GENERATED_DECLARATIONS sectionZyX2015-10-08
|
* shada: Do not export shada_read_fileZyX2015-10-08
| | | | | Unlike some wrapper functions it is not used actually, so no need to export it. Also removed ShadaPosition typedef which was not used.
* shada: Translate errors and add error codesZyX2015-10-08
| | | | | | | | | | Notes: - E136 code greatly changed its meaning: now it is write error and not read error. - E195 was removed because shada_read_everything will already do all the necessary error reporting. - E886 can be reported by both :rshada and :wshada, but :rshada comes first and AFAIR it is the only error which is not E575 and can be reported by :rshada.
* shada: Reassign some entry types to WantInfo and WantMarksZyX2015-10-08
| | | | | kShaDaWantMarks now loads only local file change list and file-local marks. kShaDaWantInfo now loads global marks and jump list.
* shada: Skip reading some items if neededZyX2015-10-08
| | | | Avoids unneeded malloc()s/free()s and lots of code for parsing.
* viminfo: First version of ShaDa file dumpingZyX2015-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).