From 92ca1b6d71706cdb91abc4690da4215891e03479 Mon Sep 17 00:00:00 2001 From: dam Date: Thu, 29 Sep 2022 00:14:20 +0000 Subject: During startup, create database and archive files if missing. --- readme.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 6e6242e..5c5565d 100644 --- a/readme.md +++ b/readme.md @@ -34,9 +34,10 @@ Task Time Tracker - [x] using the archive header, we can remove the top-left-corner diamond on the archive. - [x] Allow to cancel a rename_task operation: you can do it by leaving it blank. - [x] Make sure we are not using `strcat` and `strcpy`... or that we are using them wisely (famous last words). -- [ ] Make archive be stored in CSV format: takes less space and allows to quickly archive by appending to end of file; -- [ ] Implement `append_to_csv(task_t *task, char *path_name)` and use it in archive function; -- [ ] MAYBE... IS THIS REALLY NEEDED? add helper func: get_selected_screen_row(db*, out int selected_row); It seems to be used in KEY_F(1) and KEY_F(2) cases of input management. +- [x] Make archive be stored in CSV format: takes less space and allows to quickly archive by appending to end of file; +- [x] Implement `append_to_csv(task_t *task, char *path_name)` and use it in archive function; +- [x] At startup, check for required files and create them if not present. +- [ ] Convert `get_available_rows` into a function, or variable set when resize happens - MAYBE. - [ ] Improve total_times: - Create function to recalculate them. Shouldn't take so long, right? - Decide when this will run. -- cgit v1.2.3