Commit graph

3674 commits

Author SHA1 Message Date
Ronald M Zielaznicki
f255876823 change(build): use instead of 2024-10-29 22:18:40 -07:00
Ronald M Zielaznicki
910e8f6e82 build: examples run independently & sysaudio examples renamed as tests 2024-10-29 21:55:40 -07:00
Stephen Gutekanst
825a676d36 revise comments 2024-10-25 12:21:24 -07:00
Ronald M Zielaznicki
7220f367fd chore(Core): oxford commas are important 2024-10-25 12:21:24 -07:00
Ronald M Zielaznicki
ef74e6a953 add(core/linux/X11): comment to explain why XInitThreads is called first 2024-10-25 12:21:24 -07:00
Ronald M Zielaznicki
355dd53857 change(Core): deinit platform after GPU backend release 2024-10-25 12:21:24 -07:00
Ronald M Zielaznicki
59b453c024 remove(core/linux/X11): errorHandler in favor of the more verbose default handler 2024-10-25 12:21:24 -07:00
Ronald M Zielaznicki
90b0923fa5 change(core/linux/x11): call to XInitThreads must be first libx11 call 2024-10-25 12:21:24 -07:00
Ronald M Zielaznicki
15a2cb1f0c add(core/linux/Wayland): error return when decoration manager interface is not defined 2024-10-25 11:47:15 -07:00
Ronald M Zielaznicki
e6ba5e1461 change(core/Linux): features_incomplete_message to use log.warn 2024-10-25 11:47:15 -07:00
Ronald M Zielaznicki
404cf1c42a add(Core.zig): call to deviceTick after platform update 2024-10-20 21:40:02 -07:00
Ronald M Zielaznicki
f181ed08d5 change(core/linux): FailedToConnectToDisplay message to include display's name 2024-10-20 21:40:02 -07:00
Ronald M Zielaznicki
c6beaa70a8 fix(core/linux/X11): double free during deinit 2024-10-20 21:40:02 -07:00
Joshua Holmes
0a5d817f54 core: silently fail to connect to linux display and improve logging 2024-10-20 19:39:49 -07:00
Joshua Holmes
2f095fdc21 core: send info message about missing features in linux 2024-10-20 19:39:49 -07:00
Joshua Holmes
ea3c520eae core: use MACH_BACKEND instead of MACH_CORE_BACKEND env var for selecting linux backend 2024-10-20 19:39:49 -07:00
Joshua Holmes
fd04c039c9 core: set wayland as default 2024-10-20 19:39:49 -07:00
Joshua Holmes
9763ce2857 core: fix wayland window size conflict 2024-10-20 19:39:49 -07:00
Joshua Holmes
fcba68282d core: enable x11 and set as default for linux 2024-10-20 19:39:49 -07:00
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