summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* src/string.h: Separate string_equals() from string_compare()EuAndreh2024-06-042-2/+11
|
* src/vector.h: Add vector_capacity()EuAndreh2024-06-022-0/+8
|
* src/hash.c: Add thread safe initialization of SipHash seedEuAndreh2024-06-022-0/+112
|
* tests/*.c: Use EXIT_FAILURE and EXIT_SUCCESS in main() functionsEuAndreh2024-06-021-3/+4
|
* src/tree.h: Add functions to public header fileEuAndreh2024-06-011-0/+16
|
* src/tree.c: Rename tree_insert -> tree_addEuAndreh2024-06-011-1/+1
|
* tests/tree.c: Add test for tree_contains()EuAndreh2024-06-011-1/+1
| | | | | After writing the test, a failing case made me notice that the comparison was reversed, and I then fixed the implementation :)
* tests/tree.c: Add first test for tree_contains()EuAndreh2024-05-311-2/+2
|
* Add initial private functions for src/set.c and src/tree.cEuAndreh2024-05-314-0/+258
|
* Use freeit() everywhereEuAndreh2024-05-315-25/+25
|
* src/vector.h: Revert back to doing vector_free(&v)EuAndreh2024-05-312-5/+6
|
* src/vector.c: Make the "void **values" `const`EuAndreh2024-05-311-16/+19
|
* src/string.h: Add implementation for some basic functionsEuAndreh2024-05-312-2/+169
|
* src/math.h: Add "add_size()"EuAndreh2024-05-312-1/+20
|
* src/util.h: Add EXIT_USAGEEuAndreh2024-05-272-0/+6
|
* src/catalog.h: Do bounds checking on calls to s()EuAndreh2024-05-244-8/+23
|
* src/i18n.c: Remove leading empty string in MSGS[]EuAndreh2024-05-244-39/+38
|
* src/random.c: Simplify via better variable namesEuAndreh2024-05-241-10/+7
|
* tests/vector.c: Add most missing testsEuAndreh2024-05-241-1/+1
|
* Remove all remaining calls to logerr() that included a trailing newlineEuAndreh2024-05-245-34/+26
|
* src/vector.h: Add implementation and tests for vector_contains()EuAndreh2024-05-242-0/+15
|
* src/vector.{c,h}: Improve code and testsEuAndreh2024-05-242-95/+50
|
* src/math.c: Add mul_size()EuAndreh2024-05-242-0/+29
|
* Add some version of vector.cEuAndreh2024-05-235-0/+301
|
* Rename "pindaiba" -> "pindaibabs"EuAndreh2024-05-233-10/+10
|
* Normalize all "color" to "colour"EuAndreh2024-05-091-1/+1
|
* src/logerr.c: Add trailing newline by defaultEuAndreh2024-04-301-0/+4
|
* src/util.c: Add freeit()EuAndreh2024-04-192-0/+9
|
* src/testing.c: Fix show_colour() logic; add it to testsEuAndreh2024-04-181-1/+1
|
* src/string.c: Add new empty file structureEuAndreh2024-04-162-0/+12
|
* src/random.c: Add temporary buffer so we do not mess with "addr"EuAndreh2024-04-161-2/+21
|
* Organaze importsEuAndreh2024-04-165-4/+11
|
* src/: Change "argv" definitions from "char **" to "char *[]"EuAndreh2024-04-162-2/+2
|
* src/{lib,pindaiba}.h: Change symlink directionEuAndreh2024-04-162-6/+6
|
* src/random.c: Simplify error messagesEuAndreh2024-04-161-3/+3
|
* src/i18n.h: Change "_()" from a macro to a functionEuAndreh2024-04-162-1/+9
|
* src/pindaiba.h: Add definition of NULL_TERMINATOREuAndreh2024-04-072-0/+5
|
* src/util.c: Add slurp(), with a simple testEuAndreh2024-04-072-0/+76
|
* src/lib.c: Print project metadata on pindaiba_mainEuAndreh2024-04-073-21/+21
|
* src/logerr.c: Also *try* to log something when fprintf() and vfprintf() failEuAndreh2024-04-061-2/+6
|
* src/: Check "if (x != NULL)" instead of "if (x)"EuAndreh2024-04-063-7/+7
|
* Start "rc = -1" instead of 0EuAndreh2024-04-062-15/+10
|
* src/: Remove unused "infallible" tagEuAndreh2024-04-062-15/+0
|
* Sort includesEuAndreh2024-04-063-4/+4
|
* Move unit tests out of src/*.c into tests/EuAndreh2024-04-056-767/+0
|
* src/hash.{c,h}: Remove into dedicated projectEuAndreh2024-01-072-392/+0
|
* deps.mk: Remove all .lo filesEuAndreh2024-01-051-0/+2
|
* src/*.c: Group tests under a single #ifdef; remove SipHash codeEuAndreh2024-01-025-475/+194
|
* Init project: copy files and skeletons from othersEuAndreh2024-01-0118-0/+1995