Jef Roosens
1f9bd26ae5
refactor: move dynarray into own module
ci/woodpecker/pr/lint Pipeline is pending
Details
ci/woodpecker/pr/test-mem Pipeline is pending
Details
ci/woodpecker/pr/test Pipeline is pending
Details
2023-03-09 22:35:03 +00:00
Jef Roosens
e253e039c3
chore(package): ran fmt
2023-03-09 22:35:03 +00:00
GreekStapler
4c9b429eaa
refactor: Package archive parser now returns meaningful error enums in case of failure.
2023-03-09 22:35:03 +00:00
GreekStapler
c7c4043108
fix: Using snprintf while ignoring its return value could lead to valid inputs getting truncated.
2023-03-09 22:35:03 +00:00
GreekStapler
bcae64e023
chore: Also renamed structs to follow naming conventions.
2023-03-09 22:35:03 +00:00
GreekStapler
76e4adae92
chore: Package module now follows the naming and structure conventions of libvieter.
2023-03-09 22:35:03 +00:00
GreekStapler
1ccd4101af
refactor: Subsituted old hash generation with a proper implementation.
2023-03-09 22:35:03 +00:00
GreekStapler
7561a74793
refactor: Decided to not return char** in function that creates the package description after all, now returns char*.
...
The method I was trying started to irk me when I thought of creating a test unit for it. Also fixed some other issues I found in the package_to_description function (SHA256SUM section still missing).
2023-03-09 22:35:03 +00:00
GreekStapler
01688fd546
fix: Took a very long time finding a very annyoing bug because realloc is the devil.
2023-03-09 22:35:03 +00:00
GreekStapler
edca243331
refactor: Created function that will return the char ** (originally char *) that will be used to make the description file. Also removed free that was resulting in a crash.
2023-03-09 22:35:03 +00:00
GreekStapler
4309ad8cc5
refactor: Modified .PKGINFO parser not to rely on gotos and continues. Parser is now optimistic and assumes .PKGINFO file is valid.
...
After my changes to the macros, they still feel a bit hacky, but I'm content with them. I also changed the parser to assume the .PKGINFO files are always valid because they are automatically generated. The parser also assumes the same fields will always appear in the same fixed order. I made this change after checking how makepkg generated this file.
2023-03-09 22:35:03 +00:00
GreekStapler
c2313fe0be
refactor: Add original .c package files by Jef.
2023-03-09 22:35:03 +00:00
Jef Roosens
a6ed89d8cd
feat(tree): add tree iterator
ci/woodpecker/pr/lint Pipeline was successful
Details
ci/woodpecker/pr/test Pipeline was successful
Details
ci/woodpecker/pr/test-mem Pipeline was successful
Details
2023-02-02 14:10:35 +01:00
Jef Roosens
adfdca18da
docs(tree): add function docstrings
ci/woodpecker/pr/lint Pipeline is pending
Details
ci/woodpecker/pr/test-mem Pipeline is pending
Details
ci/woodpecker/pr/test Pipeline is pending
Details
2023-01-28 09:09:17 +01:00
Jef Roosens
98f158e1f5
feat(tree): started standard binary tree
2023-01-27 22:35:06 +01:00
Jef Roosens
df50f96983
feat: begin binary tree implementation
2023-01-27 22:34:16 +01:00
Jef Roosens
5b2ce6acaa
feat(heap): thread-safety features
ci/woodpecker/pr/lint Pipeline is pending
Details
ci/woodpecker/pr/test-mem Pipeline is pending
Details
ci/woodpecker/pr/test Pipeline is pending
Details
2023-01-27 21:23:32 +01:00
Jef Roosens
d77b3e4fee
chore: some nitpicking
2023-01-27 20:50:23 +01:00
Jef Roosens
d11d074960
chore: some reorganising
ci/woodpecker/pr/lint Pipeline was successful
Details
ci/woodpecker/pr/test Pipeline was successful
Details
ci/woodpecker/pr/test-mem Pipeline failed
Details
2023-01-22 12:35:55 +01:00
Jef Roosens
13a63d548c
docs: added docstrings to public headers
2023-01-22 12:32:47 +01:00
Jef Roosens
6823050c2f
refactor(heap): properly organised code
2023-01-22 09:40:35 +01:00
Jef Roosens
050e99b413
feat(heap): code skeleton
2023-01-21 16:31:22 +01:00
Jef Roosens
11709cc611
refactor: slightly change api
2023-01-18 14:14:39 +01:00
Jef Roosens
30e086ad6b
test: started porting cron tests
2023-01-18 13:59:10 +01:00
Jef Roosens
be97472dcc
chore: switch to defualt clang-format formatting
2023-01-18 11:38:34 +01:00
Jef Roosens
4d72e60515
chore: added makefile
2023-01-18 11:29:16 +01:00