27c862c215
rework intdef.h to not rely upon standard library headers by using predefined macros.
2025-10-09 12:05:05 +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
1e24a4ee92
add a CI status badge to the README.md
2025-09-18 09:58:05 +02:00
181fca6828
fix: windows test; USERPROFILE should also result in a roaming path.
2025-09-18 09:50:56 +02:00
f6e5712876
fix: testing warnings
2025-09-18 09:47:31 +02:00
47d34b3f7d
rewrite testing code to be a bit more durable and clean.
2025-09-17 16:52:18 +02:00
e623a352d2
fix: windows cache is not caching correctly.
2025-09-17 13:59:03 +02:00
079361771f
fix-test: windows compilation; append some extra libraries when compiling windows.
2025-09-17 13:44:34 +02:00
66e3d0d06f
revert previous, since the compilation has concluded
2025-09-17 12:55:33 +02:00
adfca88d3c
push compilation of libraries on everything to get rid of turtle compilation speeds
2025-09-17 12:51:20 +02:00
e9c922d3cd
revert forced usage of bash, instead opt for (more) explicit compiler selection.
2025-09-17 12:39:21 +02:00
d46f8c0900
always use bash as the shell.
2025-09-17 12:13:46 +02:00
2261209d8d
win: increase cores, to hopefully not spend 20min on compilation.
2025-09-17 12:13:34 +02:00
a16f454396
drop macosx support; the fix introduced a new bug
...
We're now running into dynamic linker problems, so we shall disable
macosx support for now.
2025-09-17 11:32:40 +02:00
945a82e5f6
test-fix: windows compilation
2025-09-17 11:32:40 +02:00
88d39150dd
test-fix: macosx compilation
2025-09-17 11:32:40 +02:00
76c992efdc
note about the memory leak I could not locate within my code.
...
hint: I couldn't locate it, because it isn't in my code.
2025-09-15 15:14:08 +02:00
28b98705f5
refactor the lot a bit, for clairity.
2025-09-15 15:08:15 +02:00
057b234251
fix: don't free window twice
2025-09-15 15:07:41 +02:00
dd2f4c403c
add copyright information to error.c
2025-09-15 14:23:03 +02:00
dc3abf992b
handle window exits more gracefully and appropriately.
2025-09-15 14:23:03 +02:00
1e10fec9c6
rename input callback to something more appropriate.
2025-09-15 14:12:18 +02:00
41d944ac21
remove old/stale code from main.c
2025-09-15 14:00:40 +02:00
faa93f4372
remove needless inline function from main.c
...
this is shorter, does the same, and this was an incorrect application of
`inline`.
2025-09-15 13:58:47 +02:00
e3c0afbb2f
fix: glfw error logging inconsistent with how the rest of our application logs errors.
2025-09-15 13:55:32 +02:00
11c8748262
define GLFW_INCLUDE_NONE, so glfw knows we're using custom headers.
2025-09-15 13:51:36 +02:00
25fa078c98
add a check for debug logging, to only log when the environment variable DEBUG is set to 1
2025-09-15 13:51:36 +02:00
023123e54f
make debug loggers not be needlessly abbreviated.
2025-09-15 13:06:20 +02:00
b13739c782
do not bother with recompiling the libraries, if we got a cache hit.
2025-09-15 12:57:35 +02:00
5db42a2b15
disable windows from the CI.
...
yeah, fuck you too.
Windows has been... quite the pain to deal with, and I've reached the
limit of what I can be arsed to do to try and make it work.
2025-09-15 12:43:52 +02:00
2277b8ec77
use a more accurate hash for caching submodule objects.
2025-09-15 12:41:52 +02:00
fa26a3561d
disable macosx for the time being, it is non-functional and I can't/won't test it anyway.
2025-09-15 12:34:30 +02:00
15b5430611
Instead of using cmake, I *obviously* need to use cmake -G 'Unix Makefiles'. How silly of me.
...
MicroSoft Windows: "it just works"
2025-09-15 12:30:01 +02:00
6c184a4d36
re-enable windows, and see what happens.
2025-09-15 12:17:37 +02:00
82ebe1f4d1
fix: use CC instead of LD, and deprecate LD
...
this is a bit confusing, since setting `LD=cc` would have the same
issue; `ld: -f may not be used without -shared`. So I've got no idea
what is going wrong, I guess it's something funky.
This works, so we shall stick with this.
2025-09-15 12:08:39 +02:00
5f3bd40a47
potato time.
...
this is quite upsetting.
2025-09-15 12:04:41 +02:00
158a7f8383
fix: don't use UNIX sh based ifs, instead opt for GNU Make.
...
This is more portable acorss machines
2025-09-15 12:04:41 +02:00
c32d1551c8
fix: regular xxd does not have -n, thus using some argument manipulation magic
...
On my main system I use `tinyxxd`, henceforth: "regular"
2025-09-15 12:04:41 +02:00
b04ce9998f
fix: shader hex code is formatted incorrectly
2025-09-15 11:59:39 +02:00
218b98e684
fix: colour coding on error messages is incorrect
2025-09-15 11:59:39 +02:00
f20171c0d7
fix: using the linker for generating a .o file is a feature for only GNU ld.
...
Now utilising a process to generate a .c file using `xxd`, and compiling
those to object files.
2025-09-15 11:59:39 +02:00
3a7709c392
fix: use more accurate linker flags / calling.
2025-09-15 11:59:39 +02:00
ec36d8c475
add runner architecture to the action cache
2025-09-15 11:59:39 +02:00
a14ef55262
fix: testing compilation does not correctly filter out main.o
2025-09-15 11:14:41 +02:00
d340bbe40b
fix: fminf and other <math.h> from libm not found.
...
The `-lm` linker flag was applied preceding the libraries, but it
should've been succeding.
2025-09-15 11:14:41 +02:00
0f6a2579b9
forcibly recompile the libs, so if deps get updated, this will be carried through.
...
This sacrifices a bit of workflow performance, but won't be too
significant. The heaviest step (cmake) is still circumvented
2025-09-15 11:14:40 +02:00
1ac4592503
Aparrently, the act docker container does not have cmake installed.
...
Adding this should not make a significant impact on workflow
performance.
2025-09-15 09:35:59 +02:00
4da02373a5
disable fail fast, so feedback is provided for all matrix combinations
2025-09-15 09:25:18 +02:00
c724ff0449
remove explicit definition for repository, since it messes with act
...
`act` allows to debug github workflows before sending them to the
server, allowing to test some behaviour, before pushing.
2025-09-15 09:20:07 +02:00
348c4e484c
fix: clean-libs can fail when it shouldn't
2025-09-13 21:44:46 +02:00