diff options
| -rw-r--r-- | readme.md | 2 | ||||
| -rw-r--r-- | unused.c | 3 | ||||
| -rw-r--r-- | unused.jai | 6 |
3 files changed, 5 insertions, 6 deletions
@@ -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. @@ -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; @@ -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, |
