Nathan Fisher
13d7682861
Added message queue in mq.c
2023-09-17 19:09:44 -04:00
Nathan Fisher
ee7c9b1b5d
Change linkmap structure to handle collisions by placing into the
...
next free bucket rather than by using a linked list structure. Fix
bug where the filename was being freed in linkmap buckets, even
though the data was owned by the caller.
2023-09-14 22:17:11 -04:00
826df41c01
Three small fixes
2023-09-13 16:48:56 -04:00
Nathan Fisher
ed9648ff78
Replace linklist with linkmap and remove former completely. Also
...
remove generic hashmap implementation in favor of linkmap.
2023-08-18 12:37:24 -04:00
Nathan Fisher
6a58dd2a63
Ensure we find a bucket for storing link info after hash collisions; Fix
...
`install` make target by adding path to `haggis.h`
2023-08-18 00:23:02 -04:00
Nathan Fisher
fcdcd40e95
Add haggis_linkmap_get_or_add
2023-08-17 23:26:53 -04:00
69107b2c80
Progress on new linkmap
structure, for tracking hardlinks
2023-08-17 11:45:59 -04:00
Nathan Fisher
b0c2c0c8ac
Add some hashmap tests
2023-08-14 19:09:18 -04:00
Nathan Fisher
44c98773c0
Test fnv hashing
2023-08-13 22:57:15 -04:00
Nathan Fisher
1775fc5444
Begin implementing hashmap
2023-08-11 23:35:23 -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
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
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
2db9b2df53
Adjust job queue to take a union as payload
2023-07-29 18:18:11 -04:00
c72c82484a
Add job queue
2023-07-29 06:28:33 -04:00
Nathan Fisher
82f8fdc736
Use typedef
's for custom types to make code less cluttered
2023-07-28 18:39:30 -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
Nathan Fisher
47640e5818
Finish haggis_load_filetype
function
2023-07-23 23:42:51 -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
Nathan Fisher
197a49934d
Add 'bytes.c' for bytearray-uint conversions
2023-07-20 18:20:04 -04:00
Nathan Fisher
1df8da23e5
Move header into include
directory
2023-07-19 23:42:04 -04:00
c778d72b74
Initial commit
2023-07-19 22:38:59 -04:00