summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-30Add license0scar
2022-08-30Update readme0scar
2022-08-30Rename btree_naive.c to btree.c0scar
2022-08-30Update gitignore0scar
2022-08-30Fix error messages0scar
2022-08-30Fix unused return value0scar
2022-08-30Various fixes and improvements0scar
* More NULL pointer checks * Fix a missing whitespace * Set free'd node and tree pointers properly to null
2022-08-30Add check target to makefile0scar
2022-08-30Add testing framework0scar
2022-08-30Fix whitespace in definition0scar
2022-01-05Fix crash when iterating empty btree0scar
2022-01-04Remove unused parameter0scar
2022-01-03Fix memory leaks0scar
2022-01-02Add iterator reset function0scar
This avoids that one has to malloc a new iterator struct
2021-12-31Simplify btree_naive_iter0scar
2021-12-31Improve btree iteration0scar
2021-11-30Fix warnings0scar
2021-11-30Update API0scar
2021-11-30Remove unused variable0scar
2021-11-30Add btree_iter function0scar
2021-11-30Add btree_(first|last)0scar
Returns first and last element
2021-11-16Add library compilation0scar
2021-11-16Update README0scar
2021-11-16Remove example in 'main'0scar
2021-11-16Fix warnings0scar
2021-11-16Remove immediate indexing into child0scar
This caused problems if `y` was already a leaf.
2021-11-16Fix child_merge and delete OOB index0scar
Child merge didn't copy children properly, since it incremented number of children in `y` as it copied children from `z`. Also, deletion could index into a free'd node after merging.
2021-11-16Fix shift_right and indexing OOB when deleting0scar
* shift_right didn't move the last element * ii wasn't set properly
2021-11-16Update example0scar
2021-11-16Fix deleting0scar
2021-10-25Add basic deletion0scar
2021-10-10Remove unused `node_split` function0scar
2021-10-10Fix long lines0scar
2021-10-08Update readme0scar
2021-10-08Fix child shuffling0scar
2021-10-08Add obj folder dependency on objects0scar
2021-10-05Fix insertion0scar
2021-10-05Update example0scar
2021-10-05Add btree-printing function0scar
2021-09-24Move node functionality macros up0scar
Also fix freeing non-allocated items
2021-09-21Add gitignore0scar
2021-09-21Add proper tests/example in main0scar
2021-09-21Add node_split_child and other insert misc. funcs0scar
2021-09-21Fix return type for insert0scar
2021-09-21Add header file as dependency0scar
2021-09-19Add search and other stuff0scar
2021-09-16Add template for btrees0scar
2021-09-16Add README0scar