Stephen Gutekanst
5cf18801a1
glfw: update to latest Zig API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-25 00:33:18 -07:00
Stephen Gutekanst
05a0240e25
glfw: ensure macOS 11 system SDK applies to all 11 versions
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-25 00:33:01 -07:00
Stephen Gutekanst
c62bae6edc
all: update to latest Zig APIs
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-25 00:18:03 -07:00
Stephen Gutekanst
29964c99bb
update to latest Zig (zig fmt)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-25 00:01:55 -07:00
Wrench[bot]
8a05b449ab
all: update Zig to version 0.11.0-dev.3798+a5e15eced
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-06-25 00:00:41 -07:00
Stephen Gutekanst
72a5625b1f
glfw: system_sdk: update vulkan-headers
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-24 12:41:38 -07:00
Stephen Gutekanst
dc87787133
all: update Zig to version 0.11.0-dev.3380+7e0a02ee2
2023-06-14 15:39:55 -07:00
Stephen Gutekanst
99438db111
Revert "all: update Zig to version 0.11.0-dev.3380+7e0a02ee2"
...
This reverts commit 6e9ce61254 .
2023-06-14 15:37:47 -07:00
Wrench[bot]
6e9ce61254
all: update Zig to version 0.11.0-dev.3380+7e0a02ee2
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-06-13 09:55:03 -07:00
Wrench[bot]
6135071a0c
all: update Zig to version 0.11.0-dev.3379+629f0d23b
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-06-04 12:22:54 -07:00
xdBronch
dcba9c7bb2
glfw: set raw_mouse_motion to true if cursor is disabled
2023-06-03 11:35:19 -07:00
Stephen Gutekanst
81bcce0c48
glfw: add macOS 13 SDK support
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-02 09:51:03 -07:00
Stephen Gutekanst
4f2dd4bf54
glfw: update to latest Zig version
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-02 02:02:38 -07:00
Stephen Gutekanst
4c22106ecb
glfw: fix setIcon pointer constness
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-02 02:02:24 -07:00
Stephen Gutekanst
9351472ce5
glfw: fix gammaramp free allocation size
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-06-02 02:02:06 -07:00
Wrench[bot]
a48954cdb3
all: update Zig to version 0.11.0-dev.3332+76aa1fffb
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-05-31 22:08:28 -07:00
Wrench[bot]
026dcd4c06
all: update Zig to version 0.11.0-dev.3312+ab37ab33c
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-05-28 14:34:08 -07:00
Wrench[bot]
4f9cf2ab16
all: update Zig to version 0.11.0-dev.3299+34865d693
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-05-25 16:54:41 -07:00
Stephen Gutekanst
7207e9599d
glfw: improve test names
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-05-25 14:30:16 -07:00
Codotaku
e64d1b77ab
glfw: rename duplicate test name (test.pollEvents) ( #779 )
...
Fixes #777
2023-05-22 09:20:19 -07:00
Wrench[bot]
11a0a8b73e
all: update Zig to version 0.11.0-dev.2868+1a455b2dd
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-04-28 16:00:21 -07:00
Stephen Gutekanst
1ccec8339f
all: use latest Zig build API (do not specify .kind = .test_exe)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-04-25 15:06:11 -07:00
Vivek Roy
ff0258f27d
all: use std.Build.installArtifact
2023-04-25 15:06:11 -07:00
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
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
Ali Chraghi
266b651b34
all: use explicit backing integers for packed structs
2023-03-28 21:01:22 -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
Wrench[bot]
d9bcb1e291
all: update Zig to version 0.11.0-dev.1987+a2c6ecd6d
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-03-16 09:47:25 -07:00
Stephen Gutekanst
6bd4d91932
all: cache module() returns to avoid duplicate modules
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-03-15 21:20:28 -07:00
Wrench[bot]
6561c24df5
all: update Zig to version 0.11.0-dev.1824+a7a709aaa ( #709 )
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-03-05 12:15:06 -07:00
Aksel Hjerpbakk
2b6f3fb1d9
all: fix issue with glfw vulkan createWindowSurface; update to new for loop syntax ( #713 )
2023-03-01 18:33:17 -07:00
Casey Banner
5aecbb0ee6
glfw: update to new for loop syntax ( #711 )
2023-03-01 18:32:21 -07:00
thedoctorquantum
7dcaabc947
Fixed type error in vulkan.createWindowSurface
2023-02-17 11:10:52 -07:00
Stephen Gutekanst
34132c01b2
officially deprecate Matrix chat in favor of Discord
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-13 06:46:23 -07:00
Stephen Gutekanst
0c7df88541
glfw: system_sdk: update Linux SDKs (Vulkan headers)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 22:07:01 -07:00
avokadoen
06cc7b3115
glfw: update to latest Zig build API
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-02-12 10:05:03 -07:00
Wrench[bot]
3d769b9671
all: update Zig to version 0.11.0-dev.1605+abc9530a8
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-02-12 10:05:03 -07:00
Wrench[bot]
31a54cc9c5
all: update Zig to version 0.11.0-dev.1479+97b1a9bb6
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-01-28 17:07:04 -07:00
Ali Chraghi
dac31d6d7c
system_sdk: update to latest revision
2023-01-20 14:53:22 -07:00
Ali Chraghi
cd61c631f2
glfw: ci: don't run tests when cross-compiling
2023-01-20 14:53:22 -07:00
Wrench[bot]
4681425f56
all: update Zig to version 0.11.0-dev.1350+bbab4beda
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-01-18 10:34:40 -07:00
Ali Chraghi
10d5f344e3
{glfw,mach}: remove dead code
2023-01-15 08:31:26 -07:00
Ali Chraghi
8197b869bf
system_sdk: update to latest revision
2023-01-14 12:12:00 -07:00
Ali Chraghi
3e51dc0581
ci: remove git install step
2023-01-12 10:51:16 -07:00
Wrench[bot]
a19dcbbc19
all: update Zig to version 0.11.0-dev.1268+0e66df209
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-01-12 02:05:33 -07:00
Lue
eed2be4591
glfw: refactor getError and related functions
...
`getError()` now returns a struct `Error` containing `error_code` and
`description`. Rationale: retrieving the error code with the previous
implementation of `getError()` caused `getErrorString()` to return
null (the reverse is also true). The new implementation allows both
values to be retrieved at once.
The previous `getError()` function has been renamed to
`getErrorCode()` to reflect the fact that it returns a simple Zig
error rather than the `Error` struct. The error set returned by
`getErrorCode()` is now named `ErrorCode` rather than `Error`.
The behavior of the `getError()` family of functions clearing the
stored error is unchanged. However, since all code that used
`defer glfw.getError() catch {}` to explicitly clear errors had to be
refactored, a new `glfw.clearError()` function that returns void is
now available to make this operation more explicit.
Additionally, `mustGetError()` is now `mustGetErrorCode()`, and new
functions `mustGetError()` and `mustGetErrorString()` have been added
which wrap `getError()` and `getErrorString()` but panic if no error
is actually available.
Tests and API documentation had to be refactored across all of
`mach/glfw`. This commit also takes the opportunity to skip tests
involving window creation on CI so that other tests may still execute
normally.
2023-01-10 20:52:41 -07:00
Stephen Gutekanst
a750e31d11
Revert "all: build: fix sdkPath for relative @src.file / fix autocompletion with ZLS / IDEs ( #661 )"
...
This reverts commit a1fe671db8 .
Lue suggested reverting #661 because ZLS worked around the issue of @src
being relative in that environment: https://github.com/zigtools/zls/pull/898
This is not a perfect solution (what zls did seems to be a workaround), but
is good enough for us until Zig gets an official package manager.
2023-01-10 01:57:52 -07:00
Wrench[bot]
7d246e76b3
all: update Zig to version 0.11.0-dev.1247+87b223428
...
Signed-off-by: Wrench[bot] <wrench@hexops.com>
2023-01-08 18:21:50 -07:00
Stephen Gutekanst
cd236e8df7
glfw: README: update usage example
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-08 18:21:11 -07:00
Stephen Gutekanst
abb1077052
glfw: rework error handling system to prevent footguns
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2023-01-08 18:21:11 -07:00