aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-11-03 23:33:29 +0000
committerdam <dam@gudinoff>2022-11-03 23:33:29 +0000
commita22b47e1fbefe73b10eb6f02f0b64a65ce025703 (patch)
treea66cbb78b0eca86c38059e22c24c1c6f0a815a63
parentd3542e9fc54a60f4c694f76729c51c279566eabc (diff)
downloadtask-time-tracker-a22b47e1fbefe73b10eb6f02f0b64a65ce025703.tar.zst
task-time-tracker-a22b47e1fbefe73b10eb6f02f0b64a65ce025703.zip
Updated to-do list.
-rw-r--r--readme.md8
1 files 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;