Commit graph

52 commits

Author SHA1 Message Date
Nathan Fisher
b0c2c0c8ac Add some hashmap tests 2023-08-14 19:09:18 -04:00
1fb4e8d9a8 Remove mistakenly committed binaries 2023-08-13 23:08:55 -04:00
Nathan Fisher
44c98773c0 Test fnv hashing 2023-08-13 22:57:15 -04:00
3c946d0a54 Add hashmap deinit and get functions 2023-08-12 11:13:02 -04:00
5d9c971060 Implement expanding hashmap 2023-08-12 00:54:43 -04:00
99347fd433 Progress on hashmap 2023-08-12 00:31:12 -04:00
Nathan Fisher
1775fc5444 Begin implementing hashmap 2023-08-11 23:35:23 -04:00
0ea2409fd0 Add 'Ok' / 'FAILED' overall status for tests 2023-08-10 22:58:06 -04:00
ea401f1157 Allow tests to continue running after failures 2023-08-10 22:49:05 -04:00
Nathan Fisher
39a3e45b6c Fix Linux compilation, simplify Makefiles 2023-08-10 22:42:43 -04:00
dab39c226f Add README and Format files 2023-08-10 10:22:09 -04:00
8837beadaa Add load/store file with sha256 hashing tests 2023-08-10 09:48:10 -04:00
2acf8844dd Added tests for loading and storing integers, fixed load_file_md5 test
so that it now passes. Required fixing integer storage.
2023-08-09 23:56:59 -04:00
08bf2a4ccc Added several tests and fixed bugs in [load/store]_u16. Must pass the
union as a pointer or the compiler optimizes it away.
2023-08-09 23:02:37 -04:00
e159900f2e Add tests for checksum creation 2023-08-09 15:28:02 -04:00
f0ee28d495 Simplify test/Makefile; Add sha256 tests 2023-08-09 13:11:46 -04:00
28bb93b999 Add tests for md5 and sha1 2023-08-09 12:02:37 -04:00
5e3ff56921 Add test harness and tests 2023-08-09 11:41:06 -04:00
30395e5d7e Simplify types 2023-08-08 01:40:21 -04:00
9457d03a45 Make haggis_node->filetype a sub-structure instead of pointer 2023-08-08 01:25:15 -04:00
d7a5c40637 Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/seahag into odin 2023-08-07 23:55:04 -04:00
Nathan Fisher
bd6686fd88 Changed haggis_node struct to include sub-structures rather than
pointers
2023-08-07 23:37:47 -04:00
Nathan Fisher
5d410cb7d3 Declare why certain headers are included 2023-08-07 19:15:20 -04:00
Nathan Fisher
5138f3ed6d Fix shadow declaration from last commit 2023-08-07 18:57:27 -04:00
Nathan Fisher
e283daea2a Incrmental progress 2023-08-07 18:55:47 -04:00
891aba4867 Add file headers to new sourcec files; Add function prototypes for link
lists;
2023-08-01 16:28:22 -04:00
0dc45fc7d0 Add linklist structure for tracking hard links 2023-08-01 16:24:01 -04:00
a77a2c30b1 Replace semaphore with pthread_cond_t in job queue 2023-07-31 11:24:03 -04:00
b0fa9d1953 Finish haggis_store_node along with adjustments to dependent functions 2023-07-29 18:39:07 -04:00
46d0892b77 Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/seahag into odin 2023-07-29 18:18:55 -04:00
2db9b2df53 Adjust job queue to take a union as payload 2023-07-29 18:18:11 -04:00
Nathan Fisher
e3531fdb08 Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/seahag into odin 2023-07-29 13:52:17 -04:00
Nathan Fisher
a53032eea9 Incremental progress 2023-07-29 13:51:37 -04:00
c72c82484a Add job queue 2023-07-29 06:28:33 -04:00
Nathan Fisher
1d36b38fb4 Merge branch 'odin' of git.hitchhiker-linux.org:jeang3nie/seahag into odin 2023-07-28 18:52:37 -04:00
Nathan Fisher
82f8fdc736 Use typedef's for custom types to make code less cluttered 2023-07-28 18:39:30 -04:00
8ebaefd712 Check for NULL after allocating 2023-07-25 19:50:46 -04:00
Nathan Fisher
e97feb1e3d Finish haggis_load_node function; Add *node related function
prototypes to haggis.h;
2023-07-24 18:56:04 -04:00
5b520b54e2 Progress on haggis_load_node; Ensure local vars are at top of
functions;
2023-07-24 11:04:55 -04:00
Nathan Fisher
47640e5818 Finish haggis_load_filetype function 2023-07-23 23:42:51 -04:00
a762f3555e Attempt to account for differences in libmd on different platforms 2023-07-22 23:34:32 -04:00
Nathan Fisher
632f93e084 Move bit storing function declarations into private "bytes.h" header;
Link to libmd for cryptographic hash functions and implement comparing
checksums when loading a file from an archive;
2023-07-22 19:01:49 -04:00
b5f571be5d Write function for storing filetype and a few other bits 2023-07-22 11:37:11 -04:00
c8e73f8e13 Simplify Makefile; Write functions for store_device and load_device 2023-07-21 09:07:24 -04:00
145424202b Add big endian implementation for bytes.c 2023-07-21 00:09:42 -04:00
Nathan Fisher
1be20dd542 Finish functions in bytes.c 2023-07-20 22:50:22 -04:00
Nathan Fisher
197a49934d Add 'bytes.c' for bytearray-uint conversions 2023-07-20 18:20:04 -04:00
9d3d12eea7 Expanded Makefile to build and install shared and static libs 2023-07-20 09:33:40 -04:00
Nathan Fisher
8b1dbe6064 Added prototypes for many functions 2023-07-20 01:06:38 -04:00
Nathan Fisher
fb09ab873d Remove accidentally committed binary 2023-07-19 23:42:58 -04:00