From a22b47e1fbefe73b10eb6f02f0b64a65ce025703 Mon Sep 17 00:00:00 2001 From: dam Date: Thu, 3 Nov 2022 23:33:29 +0000 Subject: Updated to-do list. --- readme.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index bf8797d..9006f17 100644 --- a/readme.md +++ b/readme.md @@ -57,12 +57,10 @@ Task Time Tracker - [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. - [x] Check if string_buffer needs to be cleared. We may be leaking info on the string_buffer. +- [ ] Move database actions into functions: + - [ ] select_by_id/delta/task + - [ ] set_active(db, task) - [ ] Check if any `sprintf` needs to be replaced by `snprintf`; - [ ] Make sure that string_buffer bounds are respected; - [ ] REVISE ALL CODE ptrdiff_t/size_t (signed/unsigned)! - [ ] Go over all `TODO` items; -- [ ] Cleanup `draw_tui`: - - Selected and active tasks should be drawn after everything else. - - Try printing each row; - - Try printing headers and footers, then each row; - - Allow to repaint just certain parts of the TUI; this should allow to call `draw_tui` with a flag saying which parts need to be drawn; -- cgit v1.2.3