Commit graph

3805 commits

Author SHA1 Message Date
Stephen Gutekanst
9a0398e782
github: update zig nomination template 2024-10-16 10:33:46 -07:00
Stephen Gutekanst
7c5bef47a5 update .zigversion
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-16 10:32:06 -07:00
Stephen Gutekanst
1ddc3e8999 update dependencies (helps hexops/mach#1276)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-16 10:31:13 -07:00
Wrench[bot]
2d13c5efc5 all: update Zig to version 0.14.0-dev.1911+3bf89f55c
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2024-10-16 10:21:48 -07:00
Ronald M Zielaznicki
85a90dd809 remove: @fence() 2024-10-16 10:21:36 -07:00
Stephen Gutekanst
aa8ff902d3
github: update zig nomination template 2024-10-14 22:03:14 -07:00
Stephen Gutekanst
c8b0d77502 build: major cleanup
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 23:09:01 -07:00
Stephen Gutekanst
4d31142580 CI: re-enable linux -> windows cross compilation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 23:08:49 -07:00
Stephen Gutekanst
b94462a918 build: linux: fix building tests & cleanup build.zig logic
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 22:49:09 -07:00
Stephen Gutekanst
dc5c1f69a6 math: zig fmt
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 22:48:45 -07:00
Stephen Gutekanst
12e69752d3 build: fix "error: the linker needs one or more objects to link"
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 22:14:56 -07:00
Stephen Gutekanst
e3a124f2b1 core: X11: update for build with Zig 2024.10.0-mach
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 22:11:54 -07:00
Joshua Holmes
5957dd55f3 sysgpu: perform type casting required for zig upgrade to 0.14
I have verified that none of the type casting will be performed on values that are out of range of the destination. The values are all known at compile time and are very low (less than 10).
2024-10-08 22:08:24 -07:00
Joshua Holmes
c9f13dc003 core: handle x11 events 2024-10-08 13:43:06 -07:00
Joshua Holmes
a7d5462447 core: disable spirv validation 2024-10-08 13:43:06 -07:00
Joshua Holmes
a791089967 core: get x11 to build 2024-10-08 13:43:06 -07:00
Stephen Gutekanst
ac8c2f8f33 update vulkan-zig-generated
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 11:42:23 -07:00
Stephen Gutekanst
e872ab5aa0 CI: disable windows cross-compilation for now
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 11:42:23 -07:00
Stephen Gutekanst
ed7c180f26 sysaudio: update to latest Zig version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 11:42:23 -07:00
Stephen Gutekanst
334c6085a0 CI: formatting
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 11:42:23 -07:00
Stephen Gutekanst
b8d8cf5a55 CI: disable macOS cross compilation for now
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 11:42:23 -07:00
Stephen Gutekanst
26b385eb8e update to latest xcode-frameworks API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 11:42:23 -07:00
Stephen Gutekanst
c1dacf4df9 update to Zig 2024.10-mach (helps hexops/mach#1276)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 11:42:23 -07:00
Stephen Gutekanst
26c5cb5d60 update to Zig 2024.10-mach (helps hexops/mach#1276)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-08 11:42:23 -07:00
Wrench[bot]
55e6abda61 all: update Zig to version 0.14.0-dev.1710+8ee52f99c
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2024-10-08 11:42:23 -07:00
Stephen Gutekanst
b984f8b80c github: update Zig nomination issue template (helps hexops/mach#1276)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-10-04 12:31:46 -07:00
Hordur Johannsson
4cd222ac83 Updates to math.collision
* Added function to compute contacts between polygons and circles.
* Added documentation for existing functions.
* Fixed a bug in Line.collideLine.
* Added more unit tests.
2024-09-21 09:54:53 -07:00
Joshua Holmes
8958d9f0de core: use xkb for keysym to unicode conversion 2024-09-17 10:59:30 -07:00
Joshua Holmes
f7e5ca8320 core: add x11 headers 2024-09-17 10:59:30 -07:00
Joshua Holmes
36280a0980 core: fix linking issues 2024-09-17 10:59:30 -07:00
Joshua Holmes
88d14b5c04 core: get wayland to compile 2024-09-17 10:59:30 -07:00
Joshua Holmes
8eb2da1044 core: disable wayland for now 2024-09-11 09:18:23 -07:00
Joshua Holmes
d65588bc2d core: setup linux to detect and select x11 or wayland implementation 2024-09-11 09:18:23 -07:00
Joshua Holmes
9ffaddd77a core: re-implement wayland 2024-09-11 09:18:23 -07:00
Joshua Holmes
f7141c01e2 core: setup x11 shell 2024-09-11 09:18:23 -07:00
Jonathan Poole
0a04a3c7c7
build: fix sysgpu_backend build option (#1264) 2024-09-08 16:45:22 -07:00
Joshua Holmes
51bf4f40f2
math: implement Mat.eql() and Mat.eqlApprox() methods (#1266) 2024-09-07 16:51:25 -07:00
Hordur Johannsson
d7d8029523
core: add more keys to Key enum (#1262) 2024-08-31 13:24:36 -07:00
Stephen Gutekanst
cd5cad696d core: fix process exit status code
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-27 21:26:41 -07:00
Stephen Gutekanst
9a940f2879 core: clarify allocator is internal state
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 19:24:35 -07:00
Stephen Gutekanst
f548918e13 core: move linux-specific code to Linux.zig
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 19:04:37 -07:00
Stephen Gutekanst
cd85a2d623 core: basic Linux structure
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 19:00:22 -07:00
Stephen Gutekanst
c66cd31b99 core: move types to bottom of Core.zig
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 18:54:55 -07:00
Stephen Gutekanst
8447654311 core: move input state tracking from Platform to Core
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 18:50:32 -07:00
Stephen Gutekanst
1c0434a948 core: remove verbose comments
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 18:21:21 -07:00
Stephen Gutekanst
09d39fb694 core: simplify event iterator
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 16:51:16 -07:00
Stephen Gutekanst
8b8489b3e2 examples: custom-entrypoint: demonstrate freeing stack space
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 16:40:58 -07:00
Stephen Gutekanst
2eac60caf1 core: centralize EventQueue and EventIterator declaration
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 16:04:25 -07:00
Stephen Gutekanst
1fab277bf7 core: remove unimplemented joystick API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 15:57:18 -07:00
Stephen Gutekanst
19afd254b9 core: restructure code
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 15:46:57 -07:00