diff options
| author | dam <dam@gudinoff> | 2022-11-02 01:03:16 +0000 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2022-11-02 01:03:16 +0000 |
| commit | 4b0f25ca86c6c5d14d414a7ac8ccf2fa52460f1b (patch) | |
| tree | c0c3e49ba995f87a74f1e08bb8c7ef8f42cc18fe /readme.md | |
| parent | eb5a3b3535057a62728460cce562aa64312e0519 (diff) | |
| download | task-time-tracker-4b0f25ca86c6c5d14d414a7ac8ccf2fa52460f1b.tar.zst task-time-tracker-4b0f25ca86c6c5d14d414a7ac8ccf2fa52460f1b.zip | |
Implemented autosave feature. Fixed argument/options processing to allow repeating options, and using options to set behavior configurations.
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -54,16 +54,8 @@ Task Time Tracker - [x] Total times may saturate, but before that the user will see the infinite symbol. Solution: Provide user with possibility to refresh totals. - [x] Decide on a INVALID_WINDOW_MESSAGE. - [x] Use backspace to clear all timers for current task. -- [ ] Save more often using the `store_database_partial` and only save all when quitting: - - When operating on the archive, will we keep the saves synchronous? - - Maybe add a cooldown timer and save changes after it times out? - - Maybe add a partial-save when (de)activating a task (just save the task and the database core? - - on (de)activate_task : partial w/task - - on rename, changetimes : partial w/task - - on new_task : partial w/task - - on refresh : partial - - on exit : full - - on move, delete, archive: full +- [x] Move `store_database_partial` to misc and save only when leaving or after 15 seconds of inactivity and having dirty flag set. +- [x] Register kill signals to exit gracefully. - [ ] Check if string_buffer needs to be cleared. We may be leaking info on the string_buffer. - [ ] Maybe replace all `sprintf` by `snprintf`; - [ ] REVISE ALL CODE ptrdiff_t/size_t (signed/unsigned)! |
