Age | Commit message (Collapse) | Author | |
---|---|---|---|
4 days | Makefile: Add logs for tests and move to assert | Ekaitz Zarraga | |
This provides a better log system that more clearly states what went wrong in the test files. | |||
5 days | tests: fix formatting | Ekaitz Zarraga | |
5 days | piece-table: piece_table_create_from -> *from_str | Ekaitz Zarraga | |
5 days | test: piece-table-internals: Add test and pass it | Ekaitz Zarraga | |
Fixes the optimization that avoids adding a new piece when the addition happens in the end of the buffer. Fixes leaks produced in piece_table_optimize | |||
8 days | piece-table: Better formatting and naming | Ekaitz Zarraga | |
8 days | piece-table: create vs create_from (string) | Ekaitz Zarraga | |
9 days | piece-table: `piece-table-to-string` add size arg | Ekaitz Zarraga | |
9 days | piece-table: Don't allocate in piece_table_to_string | Ekaitz Zarraga | |
`piece_table_to_string` now receives a buffer and we also provide a function that returns the length of the piece table. TODO: the `piece_table_to_string` adds null termination, that makes the buffer needed `piece_table_length(pt) + 1`. This we should document or do more obvious. | |||
9 days | piece-table: remove print functionality | Ekaitz Zarraga | |
We want to lean more on the debugger world than printf debugging as our data structures are opaque (on purpose). | |||
9 days | piece-table: delete: Test better and fixes | Ekaitz Zarraga | |
10 days | Restart! | Ekaitz Zarraga | |
2024-03-09 | src: piece-table: Add insert + tests for it | Ekaitz Zarraga | |
2024-03-03 | tests (piece-table): start testing | Ekaitz Zarraga | |
2024-02-28 | First commit with project structure | Ekaitz Zarraga | |