Commit Graph

291 Commits

Author SHA1 Message Date
Hajime Hoshi
f89f99a2bc update Oto 2022-10-30 01:11:58 +09:00
Hajime Hoshi
059dddf7f7 update dependencies
This is a reland of b752a6ca28.
2022-10-30 00:49:02 +09:00
Hajime Hoshi
606ff77d89 all: drop Go 1.16 and Go 1.17 supports
Updates #2421
2022-10-29 23:22:10 +09:00
Hajime Hoshi
6b8aeda55f update bitmapfont to v2.2.2
Closes #2411
2022-10-29 22:31:20 +09:00
Hajime Hoshi
26b5bb4b2c Revert "update dependencies"
This reverts commit b752a6ca28.

Reason: compile error with Go 1.16 for Windows:

```
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/windows/syscall.go:84:16: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/windows/syscall_windows.go:141:29: undefined: unsafe.Slice
```
2022-10-29 21:52:05 +09:00
Hajime Hoshi
b752a6ca28 update dependencies
This is a reland of these commits:

 * fd1788710c
 * 5565893f2f

Now Ebitengine doesn't use golang.org/x/sys/unix, Go 1.16 should be
able to compile Ebitengine.
2022-10-29 21:45:50 +09:00
Hajime Hoshi
90e2250d17 update GLFW 2022-10-29 21:27:43 +09:00
Hajime Hoshi
6eb599ad00 Revert "update dependencies"
This reverts these commits
* 5565893f2f
* fd1788710c

Reason: golang.org/x/sys uses unsafe.Slice:

```
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/unix/syscall.go:83:16: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/unix/syscall_linux.go:2255:9: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice
Error: ../../../go/pkg/mod/golang.org/x/sys@v0.1.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice
```
2022-10-29 19:23:25 +09:00
Hajime Hoshi
5565893f2f update dependencies 2022-10-29 19:20:05 +09:00
Hajime Hoshi
fd1788710c update dependencies 2022-10-29 19:19:00 +09:00
Hajime Hoshi
6eb4b2762f update dependencies
For https://pkg.go.dev/vuln/GO-2022-1059

Updates #2405
Updates #2411
2022-10-27 12:55:44 +09:00
Hajime Hoshi
8b16badb83 update Gomobile 2022-10-20 17:54:02 +09:00
Hajime Hoshi
7d7f84a4ce update gomobile 2022-10-19 11:32:48 +09:00
Hajime Hoshi
27d2e8b60e update gomobile 2022-10-11 22:47:40 +09:00
Hajime Hoshi
fe172f2151 update Oto to v2.4.0-alpha.4 2022-10-11 22:37:07 +09:00
Hajime Hoshi
f57fb4763c update Oto
Updates hajmehoshi/oto#187
2022-10-09 17:15:44 +09:00
Hajime Hoshi
cf5c74ed76 update Oto (to fix a stuttering issue)
Closes #2376
2022-10-07 12:23:59 +09:00
Hajime Hoshi
ebbf0fbc08 cmd/ebitenmobile: update gomobile 2022-09-28 14:23:48 +09:00
TotallyGamerJet
4a569be6f6
internal/gamepad: remove Cgo on darwin (#2330)
Updates #1162
2022-09-16 00:11:59 +09:00
Hajime Hoshi
be1f6fb68a update Oto to v2.4.0-alpha.3 2022-09-12 21:58:15 +09:00
Hajime Hoshi
eec944f5ed update Oto (implement suspend/resume of the null context on Windows)
Updates #2316
2022-09-10 23:46:50 +09:00
Hajime Hoshi
5bf0a5ec1c update Oto (bug fix: crash when no audio device is found on Windows)
Closes #2316
2022-09-10 23:27:26 +09:00
Hajime Hoshi
e730ab995a update Oto (bug fix: crash on resuming with WinMM)
Closes #2315
2022-09-10 22:24:06 +09:00
Hajime Hoshi
7d31a121f1 update Oto 2022-09-10 19:07:07 +09:00
Hajime Hoshi
5b8afed894 update Oto (detect swtching devices automatically on Windows)
Closes #2317
2022-09-10 18:44:35 +09:00
Hajime Hoshi
3f5ddadca8 update Oto (release COM objects appropriately)
Updates #2314
2022-09-10 17:27:40 +09:00
Hajime Hoshi
89e5e2921b update Oto
Updates #2314
2022-09-10 16:35:20 +09:00
Hajime Hoshi
c4b609f538 update Oto (fix crashes on Windows when plugging out a headset)
Closes #2314
2022-09-10 16:33:07 +09:00
Hajime Hoshi
d8eaf0a394 internal/graphicsdriver/opengl/gl: reland: integrate files for ebitengine/purego
Closes #2313
2022-09-10 13:37:20 +09:00
Hajime Hoshi
6b537004ee update Oto to v2.4.0-alpha.2 2022-09-10 11:05:02 +09:00
Hajime Hoshi
3253726963 .github/workflows/vettools: add go.mod for the tool 2022-09-10 02:02:19 +09:00
Terra Brown
a1cc44833d
add errcheck static analysis (#2293)
Closes #2287
2022-09-10 01:52:46 +09:00
Hajime Hoshi
e0d559f27e update Oto (pure Go for macOS and iOS)
This is a reland of making Oto pure Go with the purego fix for Go 1.15.

Updates #1162
Updates ebitengine/purego#27
2022-09-07 12:39:17 +09:00
Hajime Hoshi
62127e432e bug fix: go mod vendor didn't work
Closes #2036
Closes ebitengine/purego#31
2022-09-05 17:25:03 +09:00
Hajime Hoshi
b2c36d3d33 update Oto to fix the issue with Siri on iOS
Closes #2279
2022-09-01 00:45:02 +09:00
Hajime Hoshi
4df536a9d4 update Oto to v2.4.0-alpha.1 2022-08-31 22:28:08 +09:00
Hajime Hoshi
7703ab17fc update Oto (a fix was applied for the main branch)
Updates #2268
Updates hajimehoshi/oto#183
2022-08-26 01:26:30 +09:00
Hajime Hoshi
64ce59c4fa update Oto to fix crashes with Go 1.15 and 1.16
Closes #2268
2022-08-25 01:28:25 +09:00
Hajime Hoshi
b858f36d54 remove the dependency on file2byteslice
Specify the version explicitly instead.
2022-08-23 16:34:55 +09:00
Hajime Hoshi
386f9cb63e Revert "update Oto (pure Go for macOS)"
This reverts commit 99b69813e2.

Reason: test failures: https://github.com/hajimehoshi/ebiten/runs/7943880948

Updates #2264
2022-08-22 12:02:35 +09:00
Hajime Hoshi
99b69813e2 update Oto (pure Go for macOS)
Now Oto is pure Go for macOS.

Updates #1162
2022-08-22 11:48:56 +09:00
Hajime Hoshi
371f369a9f update Oto 2022-08-21 04:47:01 +09:00
Hajime Hoshi
9c5ba4b857 release v2.5.0-alpha 2022-08-21 04:03:01 +09:00
Hajime Hoshi
b4589254f8 update Oto
Initializing an audio context might take long and reduce TPS/FPS
on Linux. With the latest Oto, the initialization happens in
parallel thanks to the 'ready' channel.
2022-08-21 00:58:13 +09:00
Hajime Hoshi
c585ea3018 update Oto to v2.3.0-alpha.7 2022-08-19 02:51:01 +09:00
Hajime Hoshi
71013e0527 update dependencies 2022-08-19 02:49:43 +09:00
Hajime Hoshi
73cd05eeec update github.com/jfreymuth/oggvorbis to v1.0.4
This improves an error message when an empty source is passed to
the decoder.

Updates #2251
2022-08-19 02:46:54 +09:00
TotallyGamerJet
05470f7706
internal/graphicsdriver/metal: remove C for macOS (#2243)
Updates #1162
2022-08-18 01:39:34 +09:00
Hajime Hoshi
dd292552d5 audio: move the implementation for NintendoSDK to Oto
Updates #2242
2022-08-12 20:53:55 +09:00
Hajime Hoshi
2b248ef783 audio: refactoring: remove audio/internal/cbackend 2022-08-08 23:58:46 +09:00