diff options
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 21 |
1 files changed, 12 insertions, 9 deletions
@@ -5,6 +5,7 @@ Task Time Tracker - [ncurses colors](https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/color.html#COLORBASICS) - [pprintf](https://cplusplus.com/reference/cstdio/printf/) - [intmax_t](https://wiki.sei.cmu.edu/confluence/plugins/servlet/mobile?contentId=87152366#content/view/87152366) +- [hexed.it](https://hexed.it/) # to-do list - [x] Include check on number of char bits; @@ -51,18 +52,20 @@ Task Time Tracker - [x] Add/remove time using keys: `F3`; - [x] Add/remove time for any day of week; - [x] Total times may saturate, but before that the user will see the infinite symbol. Solution: Provide user with possibility to refresh totals. -- [ ] Improve the way we save the changes made to the database: +- [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? - - partial_store_task(db, task) - - partial_store_database(db) - - on (de)activate_task : partial_store_database partial_store_database - - on rename, changetimes : partial_store_task - - on new_task : partial_store_database partial_store_task - - on refresh : partial_store_database - - on exit if active : partial_store_database partial_store_task - - on move, delete, archive: FULL store_database + - 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 +- [ ] 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)! - [ ] Go over all `TODO` items; - [ ] Cleanup `draw_tui`: |
