Commit graph

345 commits

Author SHA1 Message Date
Wrench[bot]
beef56a023 all: update Zig to version 0.11.0-dev.2777+b95cdf0ae
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-04-24 21:53:41 -07:00
Henry Lee
90e4e0ae3d core: add @panic when target is wasm 2023-04-20 21:06:39 -07:00
Ali Chraghi
e620d8f759 dusk: basic binary expression errors 2023-04-11 09:02:14 -07:00
pablo
a14cb00ddd sysaudio: add missing switch cases for wasapi 2023-04-11 09:00:51 -07:00
pablo
ddc3da583c model3d: use std.c.free to free save result
std.heap.c_allocator has a small wrapper on non-posix targets. the
library uses libc malloc directly by default so we can use libc free
to release memory.
2023-04-11 08:58:12 -07:00
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
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
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
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
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
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
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
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
Ali Chraghi
9f58497771 dusk: abilibity to reference global decl after current decl 2023-03-24 23:23:52 -07:00
Wrench[bot]
2025ac8d17 all: update Zig to version 0.11.0-dev.2160+49d37e2d1
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-03-24 23:23:10 -07:00
Ali Chraghi
edd2117174 all: build: update to zig version 0.11.0-dev.6883+da0509750 2023-03-24 23:22:59 -07:00