Commit Graph

69 Commits

Author SHA1 Message Date
Rachel
bb00d6a9a3 fix!: Change the extension of generated .naix files to .naix.h 2025-05-22 20:29:51 -07:00
Rachel Forshee
4274232a22 docs: Remove sudo from the default make install suggestion 2025-05-21 12:01:11 -07:00
Rachel
fe2f134947 fix(meson): Point version_file to .version 2025-01-18 12:28:40 -08:00
Rachel
2251f23e4d chore: Add gitattributes to normalize line endings, move VERSION file 2025-01-17 15:41:23 -08:00
Rachel
a3ea8f0037 fix(lib-pack): Use calloc in pack_file_copy instead of malloc 2025-01-16 21:31:33 -08:00
Rachel
ee88a6ccc3 refactor(lib): Nest all headers beneath narc subfolder 2025-01-16 19:36:31 -08:00
Rachel
9d7b61936f feat(lib-pack): Add narc_pack_file_copy routine 2025-01-16 19:04:36 -08:00
Rachel
1ce4ee72b5 feat: Add some additional extensions to file detection 2025-01-11 12:59:25 -08:00
Rachel
ccfb796ebe fix(cli-extract): Add newlines to extract error messages 2025-01-05 00:03:23 -08:00
Rachel
93c9179986 refactor(lib-check): Check magic header markers before file size in check_header_fsize 2025-01-05 00:03:23 -08:00
Rachel
060551e282 fix: Fix version.h dependency for clang 2025-01-02 11:34:34 -08:00
Rachel
33b973d86d chore: Downgrade required meson version 2025-01-01 21:30:03 -08:00
Rachel
a54c3bcf02 fix: Add extern C wrapping on library headers 2024-12-31 19:43:52 -08:00
Rachel
2109b614e5 feat: Generate version at compilation time 2024-12-31 19:16:04 -08:00
Rachel
6ea239eeca fix(cli): Fix SIGSEGV when command not matched 2024-12-31 19:00:41 -08:00
Rachel
fa1bf3e74b fix(cli-create): Ensure unordered files are sorted lexicographically 2024-12-31 16:53:10 -08:00
Rachel
2ee5bcf791 fix(cli-create): Disregard nested directories during packing 2024-12-31 15:12:31 -08:00
Rachel
a2e14a20b6 refactor(cli): Extract FAIL macro to command.h 2024-12-31 11:50:05 -08:00
Rachel
f2583dbf6e fix(cli-create): Always write NAIX as a sibling of the output NARC 2024-12-31 11:49:04 -08:00
Rachel
8270f5b546 fix(cli-strutil): Increment basename pointer past / 2024-12-31 11:22:23 -08:00
Rachel
a8359770b1 fix(meson): Use native and install vars in targets 2024-12-30 20:15:31 -08:00
Rachel
71c662c3a8 fix(cli-create): Strip all trailing whitespace in loaded text files 2024-12-30 20:14:48 -08:00
Rachel
128006f082 docs: Update preliminary README 2024-12-30 17:43:25 -08:00
Rachel
4d8b48b812 build(make): Add install target 2024-12-30 17:43:04 -08:00
Rachel
3c0bd2a394 fix(meson): Override dependency name for subprojects 2024-12-30 17:15:15 -08:00
Rachel
bc456a0808 fix(lib): Missing include in top-level header 2024-12-30 17:14:54 -08:00
Rachel
87a2307170 build: Add Meson files for use as a subproject 2024-12-30 16:51:38 -08:00
Rachel
efe833458c build: Statically link library objects for CLI 2024-12-30 16:30:05 -08:00
Rachel
832f5559b8 refactor(cli): utils -> strutil 2024-12-30 16:26:17 -08:00
Rachel
2d6a269985 feat(cli-create): Implement naix output 2024-12-30 16:23:59 -08:00
Rachel
aa488232cf refactor(cli): Extract strvec interface 2024-12-30 14:52:01 -08:00
Rachel
ee982cadfd fix(cli-create): Close the member file stream after packing 2024-12-30 14:04:33 -08:00
Rachel
90aaf2dcba feat(cli-create): Implement order and ignore files 2024-12-29 23:58:55 -08:00
Rachel
1b171fc7df refactor(cli): Clean up and standardize error messages 2024-12-29 17:10:24 -08:00
Rachel
98e6b44b24 refactor(cli): Standardize usage of FAIL macro in all commands 2024-12-29 15:44:17 -08:00
Rachel
c6556e2e9a feat(cli): Implement yank command 2024-12-29 15:35:27 -08:00
Rachel
ee9dc4820d feat(lib-files): Implement routine to get an individual file image 2024-12-29 15:35:03 -08:00
Rachel
02f2c3c58d chore(cli): Clean-up and properly license source files 2024-12-29 14:02:28 -08:00
Rachel
6f31c95297 feat(lib-dump): Dump file images with best-guess extensions 2024-12-29 13:57:43 -08:00
Rachel
57e582f0ac feat(lib-files): Port file-extension computation to a library routine 2024-12-29 13:50:50 -08:00
Rachel
56cdf8687f feat(cli): Implement extract command 2024-12-29 13:29:15 -08:00
Rachel
ab1ae9a9a5 feat(lib-error): Return strerror(errno) when error code is NARCERR_ERRNO 2024-12-29 13:28:08 -08:00
Rachel
50f0568a03 refactor(cli-create): Extract narcname to utils as basename_extend 2024-12-29 13:04:18 -08:00
Rachel
2627b0d958 refactor(cli): extensions -> utils, extract match_either to utils 2024-12-29 12:39:42 -08:00
Rachel
bcf070bfaa feat(cli): Implement info command 2024-12-29 12:34:38 -08:00
Rachel
548c215633 feat(cli-create): Default output name to basename of DIRECTORY 2024-12-29 11:08:50 -08:00
Rachel
b66ac45f3a feat(cli): Implement create command base case 2024-12-29 01:43:36 -08:00
Rachel
9c7b659a54 refactor(cli): Extract match_either to shared inline function 2024-12-29 00:47:13 -08:00
Rachel
7b9d1665b0 feat(cli): Add help command for viewing help text of commands 2024-12-29 00:44:33 -08:00
Rachel
eb5553c353 refactor: Purge library testing CLI, design CLI contract target 2024-12-29 00:09:11 -08:00