Commit graph

2846 commits

Author SHA1 Message Date
Ali Chraghi
3a0948098f sysaudio: fix build errors on linux 2023-04-11 08:55:47 -07:00
Ali Chraghi
49b7c940a9 {freetype, harfbuzz}: fix build error 2023-04-11 08:54:51 -07:00
Ali Chraghi
1841ed056d dusk: re-eanble gkurve test 2023-04-08 13:43:28 -07:00
Ali Chraghi
0d45438316 dusk: AstGen expressions 2023-04-08 13:43:28 -07:00
Erik Arvstedt
858ba2eca5 freetype:harfbuzz: expose C API
Like in freetype.
2023-04-08 13:42:25 -07:00
Erik Arvstedt
b4685feb37 freetype:harfbuzz: fix type for shapers args
Non zero-terminated slices of the previous type caused runtime errors.
2023-04-08 13:41:31 -07:00
Erik Arvstedt
762a2074ee freetype: fix type for C string args
Propagate the correct string type required by Freetype to the Zig layer.
Previously, passing non zero-terminated strings caused runtime errors.
2023-04-08 13:41:31 -07:00
Cai Bingjun
959c20d38b
ci: make ci run selectively (#745) 2023-04-08 11:30:35 -07:00
Cai Bingjun
406c73701f
readme: remove the extra closing parenthesis (#744) 2023-04-08 11:29:32 -07:00
Ali Chraghi
fbd2ba78f9
sysaudio: initial macOS support (CoreAudio) (#741) 2023-04-08 11:27:49 -07:00
Stephen Gutekanst
894b06f01d glfw: move glfw upstream submodule in preparation of Zig package manager
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:49:50 -07:00
Stephen Gutekanst
86252afb68 dev: publish all libs/ as standalone repos
Helps hexops/mach#719

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:36:59 -07:00
Stephen Gutekanst
8d7388e723 sysaudio: better explanation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:30:34 -07:00
Stephen Gutekanst
6ae6093d7b model3d: README title change
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:26:52 -07:00
Stephen Gutekanst
ac4c5cb059 sysaudio: add README
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:09:10 -07:00
Stephen Gutekanst
f5481ec557 gamemode: add README
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:08:59 -07:00
Stephen Gutekanst
0e72586019 model3d: add README
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:08:47 -07:00
Stephen Gutekanst
8e01c4ba93 sysjs: add README
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:08:35 -07:00
Stephen Gutekanst
66103d128e ecs: add experimental warning
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:08:09 -07:00
Stephen Gutekanst
765f578177 earcut: add experimental warning
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:07:48 -07:00
Stephen Gutekanst
d0af189182 dusk: add experimental warning
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:07:34 -07:00
Stephen Gutekanst
b649bc4ad6 core: add experimental warning
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:07:18 -07:00
Stephen Gutekanst
87d87482f8 basisu: add experimental warning
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 03:07:02 -07:00
Stephen Gutekanst
4b6ccc4079 {dev,dusk}: include dusk in ensure-standard-files automation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-05 01:51:59 -07:00
Ali Chraghi
60597f78d8
app: add mach CLI and integrate wasmserve (#738) 2023-04-02 12:37:05 -07:00
Stephen Gutekanst
ee2ee13541 freetype: bury the bodies
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-02 10:12:48 -07:00
Ali Chraghi
354716b927 core: fix event iterator 2023-03-28 21:01:22 -07:00
Ali Chraghi
266b651b34 all: use explicit backing integers for packed structs 2023-03-28 21:01:22 -07:00
Stephen Gutekanst
4ebf238c5e mach: use a minimal core App, with a module implementing everything
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
7602bb5357 ecs: fix tests
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
026639da6d ecs: revamp module state API
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
8ff02361da ecs: rename World.remove -> World.removeEntity; provide guidance on event names
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
de398b0fde ecs: avoid @tagName failure on empty union field
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
f41b1b4f7b mach: use type safe module wrapper/helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
0bae4b00bd ecs: add type-safe module wrapper/helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
5c1414efb5 ecs: remove Module.update in favor of "one method per message" handler pattern
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
fcf9943d0f ecs: rename module globals -> state
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
e6cfbbe82a ecs: clarify clean-room implementation / first principles design
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
353cf6144b mach: update to latest ECS module layout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
6f499aa418 ecs: improve comptime error messages with empty sets
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
4575080ca9 ecs: simplify how modules are written
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
85ffb37156 mach: handle exit via module globals
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
f153133c30 {mach,ecs}: pass World to ECS event handlers
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
15e6f81df8 mach: prepare to handle ECS init via modules
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Stephen Gutekanst
2879ad58b0 ecs: replace world.tick() with generic world.send(.tick) message passing
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-27 09:29:47 -07:00
Ali Chraghi
a1eda25ec2 dusk: move IR printer to separate file 2023-03-27 09:16:10 -07:00
Ali Chraghi
0a09a4b118 dusk: no more dependency to Ast type structures from IR 2023-03-27 09:16:10 -07:00
Ali Chraghi
059411fa97 dusk: better IR.generate and Ast.parse return types 2023-03-27 09:16:10 -07:00
Ali Chraghi
b086bdee3a wasmserve: almost working 2023-03-26 09:31:05 -07:00
Release automation
64b19d559e gpu-dawn: update to latest binary release 2023-03-25 07:06:12 +00:00