From f024b0afab602df742284b86396325ce93ce6d98 Mon Sep 17 00:00:00 2001 From: dam Date: Mon, 6 May 2024 12:48:36 +0100 Subject: Removed TODO keyword from secundary files. --- readme.md | 2 +- unused.c | 3 +-- unused.jai | 6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index c54ecd7..2df87b7 100644 --- a/readme.md +++ b/readme.md @@ -72,6 +72,6 @@ Task Time Tracker - By having each column-print job decoulpled, we avoid havint to measure and compensate lengths of UTF8 strings; - [x] Review all code for bugs related to auto-cast on ptrdiff_t (signed/unsigned); - [x] Review all code for bugs related to auto-cast on size_t (signed/unsigned); -- [x] Go over all `TODO` items; +- [x] Go over all to-do items; - [x] Hide stderr messages from app screen. - [x] Improve error detection/messages. diff --git a/unused.c b/unused.c index 718fa71..48d23c7 100644 --- a/unused.c +++ b/unused.c @@ -160,7 +160,6 @@ bool add_task(database_t* db, const task_t* task) { return true; } -// TODO Remove this task and move code to delete_task. // Removes task by index from database. If possible, shrinks database capacity. // Returns success. bool remove_task(database_t* db, uint32_t index) { @@ -189,7 +188,7 @@ bool remove_task(database_t* db, uint32_t index) { db->capacity = new_capacity; db->tasks = new_tasks; db->active_task = db->tasks + selected_task_offset; - // TODO Validate selected_task (may now be above count. + // Validate selected_task (may now be above count. } return true; diff --git a/unused.jai b/unused.jai index a8dddfc..ab4f667 100644 --- a/unused.jai +++ b/unused.jai @@ -1,4 +1,4 @@ -auto_release_temp(); // TODO Needs to be tested. +auto_release_temp(); // automatically release temporary memory. print(">%<", S64_MIN + delta, to_standard_error = true); // MEASURE PERFORMANCE @@ -13,7 +13,7 @@ print(">%<", S64_MIN + delta, to_standard_error = true); CA_n+1 = (x_n+1 + n*CA_n ) / (n + 1) } -// TODO DEBUG +// Memory allocator debugging. print_owner_allocator :: (tag: string, memory: *void) { owner := "unkown"; @@ -23,7 +23,7 @@ print_owner_allocator :: (tag: string, memory: *void) { print("'%' belongs to '%'\n", tag, owner); } -// TODO DEBUG +// ttt's database debugging. print_database :: (db: Database) { for db.tasks { print("% | % : % : % : % : % : % : %\n", cast(string)it.name, -- cgit v1.2.3