Commit Graph

11 Commits (master)

Author SHA1 Message Date
hius07 b70f866656
DocSettings (again) (#11020)
Cleaning and optimizing Docsettings code.
6 months ago
hius07 d1081fa982
Docsettings: add centralized sdr storage (#10074)
Added an option to choose a new location to save document settings, highlights and bookmarks 
(koreader/docsettings folder).
1 year ago
poire-z 04d9a557aa Use fsync() for more robust setting files saving
Bump base for util.fsyncOpenedFile() and util.fsyncDirectory().

Use these to force flush to storage device when
saving luasetting, docsetting, and history.lua.
Also dont rotate them to .old until they are at least
60 seconds old.
Also make auto_save_paging_count count right.

Also bump crengine: open (as text) small or empty files
4 years ago
Hzj_jie 7461e396dd [chore] Ignore empty files and tables in DocSettings (#3348) 7 years ago
Zijie He 2ba079e3eb Reserve last good docsetting 7 years ago
Qingping Hou 2aa9d5d64e test: add unit tests for docsettings 7 years ago
Zijie He ced671bc69 Add readhistory_spec / docsettings_spec 8 years ago
Hzj_jie cf8c0aa81f Add docsettings unittest 8 years ago
Hzj_jie 016aaa92b9 Merge remote-tracking branch 'upstream/master'
Conflicts:
	frontend/docsettings.lua
8 years ago
Qingping Hou 2e417cfbd8 filemanager(refactor): use purge method from docsettings 8 years ago
Qingping Hou 722eaed4b2 feat: docsettings:getSidecarDir 8 years ago