Commit Graph

33 Commits

Author SHA1 Message Date
8d0e825157 rewrite copyright file header to provide more information about where the file is from. 2025-11-13 22:24:09 +01:00
316726a610 tmp: revert enabling a column limit 2025-10-16 23:35:30 +02:00
1aa34f7d3f enable a column limit. 2025-10-09 21:12:53 +02:00
00719b1933 refactor code with new formatting rules
Functions now break before their brace, mirroring the Linux kernel.
The reason for this is that breaking the parameter list otherwise makes
code unreadable.
2025-10-09 19:02:16 +02:00
d4fabf437c reformat the code by enabeling assignment- and declaration alignment. 2025-10-09 12:17:04 +02:00
cebe0df8a2 move /src/error.? to /src/util/error.? 2025-10-09 12:16:38 +02:00
aa58d931aa move /src/util/intdef.h to /src/util/types.h 2025-10-09 12:16:06 +02:00
6eb7d126da create a custom definition for size_t and ssize_t, which is ssize and usize, for conveinience. 2025-09-18 10:39:57 +02:00
4f081e7f3e remove usage of mempcpy; this is apart of GNU C 2025-09-13 21:09:56 +02:00
0baadfca75 update copyright information in all files
the comment was using single-line comments, I prefer multi-line comments
now.
This bothered me for much too long.
2025-08-29 09:36:55 +02:00
4fa0a84c94 fix attributes with parameters to be less messy due to vardiac arguments 2025-08-23 23:01:01 +02:00
5c57a77ad4 remove types.h, and start using intdef.h 2025-08-08 12:37:31 +02:00
bdf4d7b22b remove atrb_* macros for the attributes, and replace with single-word, all uppercase versions.
improves briefity, and reduces confusion.
2025-08-08 12:30:59 +02:00
2d059cf1db apply new formatting rules 2025-07-03 10:55:33 +02:00
d56c69ec4c remove functions marked "inline" in conf.c 2025-06-20 20:39:59 +02:00
80b8b65b73 define short-hand types for int32/uint32 et cetera 2025-06-20 20:39:59 +02:00
e686baf5c1 clairify usage of long long with a comment 2025-06-18 13:24:23 +02:00
d28b0189c2 fix: integer types are truncated, rather than clamped. Prefer clamping so values behave as expected for the user. 2025-06-16 13:40:53 +02:00
fe097f9d69 cleanup 2025-06-16 13:40:53 +02:00
d277a1735b fix: long is 4 bytes on mingw systems 2025-06-15 13:57:52 +02:00
e833a13d29 fix: ulong not a type in mingw 2025-06-15 13:57:52 +02:00
78f6d565fb fix: config getpat appender, using mempcpy and strpcpy instead, since it makes it less prone to errors 2025-06-13 01:55:44 +02:00
c3bb0621c3 fix: wasn't handling floating-point numbers as output 2025-06-13 01:55:44 +02:00
2489ecbb0b fix: no error return with procbuff. 2025-06-12 21:47:36 +02:00
e72de37642 add copyright info to the files that were missing it 2025-06-12 18:21:35 +02:00
51be23d109 implement conf 2025-06-12 18:17:31 +02:00
364bc9dacd fix: windows syntax errors / typos 2025-06-12 10:51:45 +02:00
5e6d7d22e0 use my atrb header, since it's more platform-agnostic 2025-06-12 10:51:00 +02:00
261188e257 fix: no boolean incrementation 2025-06-11 17:57:28 +02:00
0633de838c fix: attributes must be ahead of the function definition 2025-06-11 17:57:28 +02:00
be34e101fd remove loading file logic and instead focus on parsing the incomming text 2025-06-11 17:56:22 +02:00
ef0125e7b0 reorder functions to have config path generation be at the bottom 2025-06-11 17:56:22 +02:00
0fe19b28fc add conf code start
add the start for conf file loading
2025-06-11 17:56:22 +02:00