aboutsummaryrefslogtreecommitdiff
path: root/TODO.org
blob: 25b9d3bf4ae30a9501fe00492231db6db6bfa493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
* DONE Choose either Criterion or Unity as the testing framework and add a target test to the build system.
* DONE Write an initial TDD (Test-Driven Development) set for vector and line.
* Refactor
** DONE Remove the implicit dependancy of MemAlloc and MemFree provided by Raylib.
introduce a tiny allocater wrapper(ed_alloc.h) that defaults to
malloc/free and can be overriden in tests.
** DONE Replace scattered `#ifdef DEBUG` prints with a reallog macro family.
(levels: DEBUG/INFO/WARNING/ERROR/CRITICAL)
** Strengthen `line`/`editor` invariants.
*** TODO Add edge-case tests: enpty line, NULL-line placeholders, split/cat boundaries

* Implement
** Implement file I/O (UTF-8)
*** DONE eb_load_file(), eb_save_file() using mmap/fputc
** Veiwpoint & scrolling
*** TODO Use existing eb->scroll_row to handle mouse-wheel and PgUp/PgDn
** TODO selection + clipoard (kill ring)
** TODO Undo/Redo via command stack
** TODO tracking execution time