hius07
b70f866656
DocSettings (again) ( #11020 )
...
Cleaning and optimizing Docsettings code.
2023-10-31 07:30:39 +02:00
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).
2023-02-17 08:35:49 +02:00
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
2019-12-10 23:57:32 +01:00
Hzj_jie
7461e396dd
[chore] Ignore empty files and tables in DocSettings ( #3348 )
2017-10-12 19:52:01 +02:00
Zijie He
2ba079e3eb
Reserve last good docsetting
2017-08-17 08:50:15 +02:00
Qingping Hou
2aa9d5d64e
test: add unit tests for docsettings
2017-03-06 07:47:20 +01:00
Zijie He
ced671bc69
Add readhistory_spec / docsettings_spec
2016-09-12 20:04:13 -07:00
Hzj_jie
cf8c0aa81f
Add docsettings unittest
2016-06-06 10:05:16 -07:00
Hzj_jie
016aaa92b9
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
frontend/docsettings.lua
2016-06-06 08:56:07 -07:00
Qingping Hou
2e417cfbd8
filemanager(refactor): use purge method from docsettings
2016-06-03 22:06:02 -07:00
Qingping Hou
722eaed4b2
feat: docsettings:getSidecarDir
2016-01-09 12:12:10 -08:00