Macoy Madson
f2ac4d85a1
More work attempting to get Zig ready for merge
2 years ago
Macoy Madson
8815e05bb2
Zig cross compilation
2 years ago
Macoy Madson
b74351b679
Windows data bundle now compiling
2 years ago
Macoy Madson
dc5b541f17
Remove zig archive after extraction
2 years ago
Macoy Madson
34ed6c0799
Merge branch 'master' into zig-compilation
2 years ago
Macoy Madson
41dc34303e
WIP Data bundle for Windows
2 years ago
Macoy Madson
1bcb8587aa
Add gamelib tests in Zig mode
2 years ago
Macoy Madson
b1af4968a3
WIP configuration for using Zig for compilation
I am exploring this as a potential cross-compilation setup. It may
also come in handy for making a self-modifying executable.
2 years ago
Macoy Madson
f1e3cccff9
Update TaskSystem for pre and post completions
This will be hooked up to the macro next so that you can define
completion actions to run right after some other task, but before the
next task in the sequence. This gives you the chance to change the
parameters of the next task.
2 years ago
Macoy Madson
8199a4831d
Keep galogen executable in cache
This prevents polluting the user's directory with a utility only used
at compile-time
2 years ago
Macoy Madson
1ba7caa4ae
Bundle the default ImGui font in the executable
2 years ago
Macoy Madson
ec9e8f5bec
Static link aubio
2 years ago
Macoy Madson
a320a59d79
Use fwrite instead for performance
2 years ago
Macoy Madson
297925d6c7
Added DataBundle for Unix
This is using the objcopy utility to package data into an object file,
utilizing the linker, as we ought to.
2 years ago
Macoy Madson
e7df3c1b41
Test task systems with deps that change ranges
2 years ago
Macoy Madson
dc787dda49
New version of SDL requires pthread on Linux
2 years ago
Macoy Madson
472dfd494b
Remove skip-build as it is no longer necessary
2 years ago
Macoy Madson
8573c94581
Update Cakelisp to remove comptime-only
This makes it less of a mental burden on importing.
2 years ago
Macoy Madson
cdda196d23
Move copied code into helper function
* Do not assert on dict length being incorrect.
2 years ago
Macoy Madson
9937254527
Add Dictionary support for copy
* Move some shared code into functions
2 years ago
Macoy Madson
615a1c444a
Got DynamicArray to support copy operation
2 years ago
Macoy Madson
f47d19a55f
Reduce duplication of introspect-test-struct
2 years ago
Macoy Madson
9328a64cb6
Add deep copy operation to Introspection
This is very useful for a variety of reasons. The main reason I wanted
it was to copy, then wait, then compare in order to know whether a
struct has been modified.
2 years ago
Macoy Madson
d6987bfeef
Fix STB libraries to not export in a macro
2 years ago
Macoy Madson
e8ce5e6fe7
Remove global search directories and labels
This was a gross thing solved by infectious imports.
2 years ago
Macoy Madson
fd609ea946
Static link SDL on linux
2 years ago
Macoy Madson
12652b79c7
Fix ImGui and TaskSystem exports
2 years ago
Macoy Madson
c175669db9
Convert GameLib to use new export feature
* Re-organize ImGui module
2 years ago
Macoy Madson
dd7339e2d6
Remove stale comments
2 years ago
Macoy Madson
2385bd0263
Finish up memory leaks on task system
2 years ago
Macoy Madson
9e0cd2778a
Progress on freeing task system types
2 years ago
Macoy Madson
c3f9bff471
Add def-task for Emacs config
2 years ago
Macoy Madson
9acb7b72db
Expose task system
2 years ago
Macoy Madson
d75b3f7aa9
Image print failure reason
2 years ago
Macoy Madson
7316b9d403
Added Image.cake for stb_image
2 years ago
Macoy Madson
f3537168a0
WIP Completion cleanup, added notes and moved code
2 years ago
Macoy Madson
9a7da9a0a2
WIP completion action argument filling
2 years ago
Macoy Madson
4e4acc2cbd
WIP memory management for task-system-execute
2 years ago
Macoy Madson
8435230abb
Remove DSL exploration as it is now implemented
2 years ago
Macoy Madson
8a01714e68
Add support for pinning tasks to main thread
This is very useful when the main thread has the render context
etc.
2 years ago
Macoy Madson
d6e381806a
No known issues with task-system-execute depends
It still leaks all its memory, but the weird cases I've contrived at
least seem to work as desired.
2 years ago
Macoy Madson
e8c18dd6fa
Very confusing but seemingly working execute
2 years ago
Macoy Madson
6ba973668f
WIP parallel sync
This doesn't work yet because the completable doesn't restrict the
task system from thinking all tasks are done. I think I'll use an
empty task set instead.
2 years ago
Macoy Madson
d83ab278f8
Rename to task-system-execute to disambiguate
"start" and "initialize" are close enough that I could forsee some
confusion.
2 years ago
Macoy Madson
0e93cba01d
Got invocations output by task-system-start
2 years ago
Macoy Madson
905e1e2e57
More progress on automatic dependency algorithm
Sync points for parallel blocks are created in order to be able to
write dependencies in one pass.
2 years ago
Macoy Madson
a848761a80
Progress on task-system-run macro, fix leaks
* Add argument filling function to make it possible to make the task
system before the tasks are known
* Attempt to fix memory leaks, but failed to get all of them: the
final cleanup task is always going to need to be destroyed outside the
tasks themselves
2 years ago
Macoy Madson
3258622306
Add TaskSystem to full gamelib test
2 years ago
Macoy Madson
7075106302
Created awesome TaskSystem task macro
This will make defining tasks exactly as easy as defining functions,
which is how it ought to be.
I kept my desired syntax block in for reference. I will remove it once
it is implemented.
2 years ago
Macoy Madson
2e090ed76d
Exercise completions and dependencies in task sys.
2 years ago