summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2026-05-13refactor: add pkgman_config struct and move download to net.cHEADdev0x221E
Added option to change mirror, tmp, staging directoryfrom the user interface of the pkgman library. Added TRY and TRY_IFNOT macros for better code readability.
2026-05-11lib: sv: add sv_concat_cstr(), sv_init() and sv_free()0x221E
Creates an default option to heap-init string view to be used by complex operation where memory needs to be fine-grained.
2026-05-10cookbook: add process return code checking for cookbook recipes0x221E
cookbook_recipe_run() now returns the return code of fork() to manage success state.
2026-05-10core: seperate integrity verification to the "crypto" subsystem.0x221E
Seperates cryptographic verification from pkgman_upstream_integrity_download to its own function for better code structure, and to create space for future cryptographic functions.
2026-05-10feature: add URL structure and refactor main logic to pkgman.c0x221E
Added url structures, cookbook, archive management to automate the installation process of packages. Refactored main logic from main.c to pkgman.c for cleaner seperation of concerns and future library integration of pkgman to other projects.
2026-05-10err: add error codes0x221E
Add more error codes to prepare for future improvements. Add FORKERR, INTEGRITYERR, URLPATHERR, URLINITERR.
2026-04-23net: add write to file callback0x221E
Creates a write_opts argument in net_send_request() where you can specify WRITE_OPT_MEMORY or WRITE_OPT_FILE. Modifies existing calls.
2026-04-23lib: ll & parser: um: proper linked list impl and refactor um0x221E
Linked list now implements FREE, ADD, functionalities. This modification allows for easier use of linked list and less bugs. The linked list functions now also have header and implementation macros to allow for external use of linked list functions in other translation units.
2026-04-22lib: sv: make SV() macro compile-time0x221E
SV() no longer calls sv_create, instead initializes the struct in-place.
2026-04-22lib: sv: add sv_equal() to sv.c and sv.h0x221E
Optimized and bug-prone equality operation for string_view struct. This function will replace the equality checks operations between char* + string_view, and string_view + string_view.
2026-04-22core: add error returns to subcommands0x221E
Added error returns to subcommands and searching utility in main() and error codes PKGNOTFOUND and USAGE were added to err.h. The functions will now be able to return error states to main().
2026-04-22lib: sv: add sv_copy()0x221E
Added a string view copy function to lib/sv.h. The function is created to make it easier to copy string_views, and it is user's responsibility to free the string_view's.
2026-04-22parser: um: remove userdata argument from um_init()0x221E
Remove userdata argument from um_init() temporarily.
2026-04-22parser: um: modify umanifest for initial support0x221E
um.h and um.c is modified to accept the linked list ll_manifest inside um_user_data struct. um_on_kv() now adds to the linked list in parser->userdata.
2026-04-22lib: ll: implement a minimal node-only linked list0x221E
O(n) add linked list was created with an add function. A foreach macro is also implemented as LL_FOREACH(). This linked list is temporary, and consists only of nodes.
2026-04-20main: initial commit0x221E