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
Stephen Gutekanst
470a84909b
core: more code refactoring / improvements
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 15:45:43 -07:00
Stephen Gutekanst
de1275dc0a
core: refactor code structure
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 15:38:13 -07:00
Stephen Gutekanst
e3393abbc1
deduplicate win32 bindings
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 15:24:24 -07:00
Stephen Gutekanst
a62d4fbf8e
add mach module doc comment
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 14:26:34 -07:00
Stephen Gutekanst
133c89638b
all: move mach.Timer, core Timer/Frequency to mach.time module
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 14:24:09 -07:00
Stephen Gutekanst
d62ddbb6cd
CI: remove aarch64-macos runner for now
...
@github fucked me over and deleted the aarch64-macos runner's configuration
after it was down for a brief period of time[0] so I will have to set it up
from scratch again. For now, we remove aarch64-macos so our CI at least
passes once again.
[0] https://github.com/actions/runner/issues/756
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 13:54:30 -07:00
Stephen Gutekanst
301a8df8f9
remove unmaintained WASM support
...
Same reasoning as #1254
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 13:35:16 -07:00
Stephen Gutekanst
5ae7e156cb
build: fix building just sysaudio standalone
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 13:31:43 -07:00
Stephen Gutekanst
252eba59d7
CI: do not install linux deps
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 13:06:39 -07:00
Stephen Gutekanst
c2767b4e01
core: fix build with Null backend
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 11:52:36 -07:00
Hordur Johannsson
4c8fbb2bf0
Add docs build step. ( #1261 )
2024-08-25 11:36:06 -07:00
Stephen Gutekanst
be8719a5a2
CI: build examples
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-25 10:16:14 -07:00
Hordur Johannsson
13e53e7176
Fixing core to work with win32 #1257
2024-08-25 09:59:08 -07:00
Stephen Gutekanst
17450fde65
core: remove linux support
...
The `mach.Core` API needs major design changes, and every backend that it supports
today must be updated to account for those API design changes. Unless someone is
actively maintaining and improving the state of a given backend, it slows down our
ability to make those critical changes.
Unfortunately, the backends for X11 and Wayland today are half-baked, nobody is
actively maintaining on or contributing to them, and the Linux CI tests have been
broken for over a month as a result which harms overall stability of Mach.
As a result, this PR removes Linux support from `mach.Core`
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-24 23:42:37 -07:00
Stephen Gutekanst
51e996db72
remove unmaintained WASM support
...
Same reasoning as outlined in #1254
> nobody is interested in actively maintaining or contributing to that today.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-24 23:22:52 -07:00
Stephen Gutekanst
984d4de3bd
core: win32: various improvements ( #1255 )
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
Authored-by: Hordur Johannsson <hordurj@gmail.com>
2024-08-24 23:16:53 -07:00
Stephen Gutekanst
a5a3d31411
core: remove WASM support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-24 22:33:15 -07:00
Stephen Gutekanst
642cc9b7f7
make it clear how to use module system without mach.Core (remove mach.App)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-24 22:33:15 -07:00
Stephen Gutekanst
7ac5bef717
module: add dispatchUntil helper
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-24 22:33:15 -07:00
Stephen Gutekanst
80be6b7bca
examples: revert to 0.4 entrypoint / control API design
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2024-08-24 22:33:15 -07:00
Hordur Johannsson
a54d20daa2
d3d12: show warning instead of panic when debug layer cant be created #1128 ( #1251 )
2024-08-24 20:37:14 -07:00