Commit Graph

505 Commits

Author SHA1 Message Date
Hajime Hoshi
81bbc4db0a update dependencies 2023-11-11 15:37:21 +09:00
Hajime Hoshi
4676fd26f0 all: update dependencies 2023-11-07 02:20:42 +09:00
Hajime Hoshi
f1999e5742 all: update Oto 2023-10-21 19:17:25 +09:00
Hajime Hoshi
820c71b895 all: update Oto to v3.2.0-alpha.2 2023-10-18 16:16:41 +09:00
Hajime Hoshi
48054ec9c8 all: update Oto (Oboe 1.8.0) 2023-10-15 17:07:00 +09:00
Hajime Hoshi
51190c2ba9 all: update dependencies 2023-10-11 01:06:33 +09:00
Hajime Hoshi
3d4dc239bc all: update dependencies 2023-10-06 12:36:36 +09:00
Hajime Hoshi
73524d8df5 .github/workflows: move vettools to internal to avoid a nested module 2023-10-04 12:16:32 +09:00
Hajime Hoshi
4da4b49ce6 update dependencies 2023-09-24 23:39:14 +09:00
Hajime Hoshi
8fe3a0ef9b all: update Oto and PureGo for an iOS 17 issue
Closes #2773
2023-09-23 00:01:15 +09:00
Hajime Hoshi
3776e3cceb all: bug fix: update gomobile for an Xcode 15 issue
Closes #2772
2023-09-22 23:44:35 +09:00
Hajime Hoshi
239209eaf5 update dependencies 2023-09-19 08:03:14 +09:00
Hajime Hoshi
06d1c68506 update gomobile 2023-09-15 02:30:36 +09:00
Hajime Hoshi
267eadbac7 update Oto to v3.1.0-alpha.3 2023-09-13 01:21:11 +09:00
TotallyGamerJet
5dc293fe4f
internal/ui: use new OBJC API (#2750)
Updates #1162
2023-09-11 02:05:42 +09:00
Hajime Hoshi
e4a25cc79f update dependencies 2023-09-08 12:30:44 +09:00
Hajime Hoshi
1ce5ad3148 update dependencies 2023-09-08 01:05:35 +09:00
Hajime Hoshi
ab893ad9c8 update gomobile
Now this includes the fix for golang/go#62458.
2023-09-06 11:24:25 +09:00
Hajime Hoshi
1622132779 Revert "reland: update gomobile"
This reverts commit 203824dfcd.

Reason: building hajimehoshi/go-inovation failed: https://github.com/hajimehoshi/ebiten/actions/runs/6086922390/job/16514373032

This is an issue in gomobile.
2023-09-06 01:13:45 +09:00
Hajime Hoshi
203824dfcd reland: update gomobile 2023-09-06 00:49:17 +09:00
Hajime Hoshi
acabc1a528 Revert "update gomobile"
This reverts commit 66d24c3bb4.

Reason: build failures on GitHub Actions: https://github.com/hajimehoshi/ebiten/actions/runs/6085843387/job/16510865632
2023-09-06 00:12:34 +09:00
Hajime Hoshi
66d24c3bb4 update gomobile 2023-09-05 23:15:53 +09:00
Hajime Hoshi
841e3caddf revert gomobile version
This reverts these commit:

* 7f0a86f32c.
* b615aaf673.

Reason: Test failures. See golang/go#62415
2023-09-02 02:12:06 +09:00
Hajime Hoshi
b615aaf673 update gomobile 2023-09-02 01:16:06 +09:00
Hajime Hoshi
fedfceff32 update Oto to v3.1.0-alpha.2 2023-09-01 00:13:05 +09:00
Hajime Hoshi
b1b4335423 update Oto 2023-08-29 15:13:40 +09:00
Hajime Hoshi
269fc2bd4d update dependencies 2023-08-23 13:50:44 +09:00
Hajime Hoshi
3bc970e898 update oto and purego 2023-08-06 00:02:35 +09:00
Hajime Hoshi
6bb91433d7 update dependencies 2023-08-04 01:57:43 +09:00
Hajime Hoshi
a24b967568 update golang.org/x/image
This is for https://pkg.go.dev/vuln/GO-2023-1990
2023-08-04 01:53:07 +09:00
Hajime Hoshi
481529ea84 update Oto
Updates ebitengine/oto#215
2023-08-03 00:26:58 +09:00
Hajime Hoshi
7eb70d086c update Oto to v3.1.0-alpha 2023-07-31 00:53:18 +09:00
Hajime Hoshi
5f1d1ec412 update Oto to v3.0.0-alpha.2 2023-07-30 16:05:17 +09:00
Hajime Hoshi
d3d095ac98 update Oto to v3.0.0-alpha.1 2023-07-30 15:24:43 +09:00
Hajime Hoshi
875113782a update Oto to v3
Closes #2659
2023-07-30 14:52:59 +09:00
Hajime Hoshi
7b86a2b642 update go-text/typesettings 2023-07-22 00:42:01 +09:00
Hajime Hoshi
0220d3cb95 update purego to v0.5.0-alpha 2023-07-22 00:41:13 +09:00
Hajime Hoshi
657e53c0dc update purego (for Go 1.21) 2023-07-20 20:05:20 +09:00
Hajime Hoshi
4d3086b17a update Oto to v2.5.0-alpha.1 2023-07-15 22:01:27 +09:00
Hajime Hoshi
0ce91a9f28 update dependencies 2023-07-12 03:03:49 +09:00
Hajime Hoshi
0db860b5dd update purego to v0.4.0-alpha.5 2023-07-07 12:26:00 +09:00
Hajime Hoshi
fbe732b378 copy github.com/go-gl/glfw/v3.3/glfw to internal/glfw/glfw
Closes #2546
2023-07-05 23:59:34 +09:00
Hajime Hoshi
50704e3141 update purego 2023-07-04 23:36:28 +09:00
Hajime Hoshi
3ab50c91df examples: add examples/texti18n
This example shows how to render complex glyphs like Thai and Arabic.

Updates #675
2023-07-01 18:04:05 +09:00
Hajime Hoshi
820a241b8e update dependencies 2023-07-01 00:55:20 +09:00
Hajime Hoshi
90735b52a9 update bitmapfont to v3.0.0 2023-06-02 02:36:25 +09:00
Hajime Hoshi
2a10a75774 update gomobile 2023-06-01 11:07:13 +09:00
Hajime Hoshi
f446288e0c update bitmapfont to v3 2023-05-30 11:17:36 +09:00
Hajime Hoshi
74a79461e9 update dependencies 2023-04-18 01:57:27 +09:00
Hajime Hoshi
053617405b update purego to v0.4.0-alpha.4 2023-04-18 01:56:21 +09:00
Hajime Hoshi
e6d79889f9 update purego to v0.4.0-alpha.3 2023-04-14 01:06:30 +09:00
Hajime Hoshi
ebbd0fc07d update purego 2023-04-11 09:32:01 +09:00
Hajime Hoshi
6e22ebb73a update purego to v0.4.0-alpha.2 2023-04-06 01:20:25 +09:00
Hajime Hoshi
7bd29c0eb6 update purego 2023-04-03 23:55:02 +09:00
Hajime Hoshi
3c72ff0a65 update purego 2023-03-28 02:46:22 +09:00
Hajime Hoshi
c27d191dd5 update purego to v0.4.0-alpha.1 2023-03-23 00:29:05 +09:00
Hajime Hoshi
c77673d96d release v2.6.0-alpha 2023-03-15 12:56:27 +09:00
Hajime Hoshi
ac370d3678 update Oto
Updates hajimehoshi/oto#207
2023-03-14 20:59:49 +09:00
Hajime Hoshi
f9f1736a4b update dependencies 2023-03-10 22:37:55 +09:00
Hajime Hoshi
b75ed45d46 update Oto to v2.4.0-alpha.13 2023-03-06 00:21:02 +09:00
Hajime Hoshi
7998e4d31d update purego to v0.3.0-alpha
There are breaking changes between purego v0.2.0 and v0.3.0-alpha.
2023-03-04 01:22:54 +09:00
Hajime Hoshi
9d1ea0a91a update Oto 2023-03-03 15:05:33 +09:00
Hajime Hoshi
2e971a7ef4 update golang.org/x/mobile 2023-03-02 01:33:01 +09:00
Hajime Hoshi
8f610a7f9d update dependencies 2023-03-01 17:12:43 +09:00
Hajime Hoshi
2664a2ac50 update purego to v0.2.0 2023-02-24 22:02:59 +09:00
Hajime Hoshi
01b97124c8 update dependencies 2023-02-18 02:44:57 +09:00
dependabot[bot]
d5baddc372
build(deps): bump golang.org/x/image from 0.3.0 to 0.5.0 (#2575)
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases)
- [Commits](https://github.com/golang/image/compare/v0.3.0...v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 02:23:00 +09:00
Hajime Hoshi
c3709f57b7 update purego 2023-02-13 14:04:52 +09:00
Hajime Hoshi
05f86b3974 update purego to v0.2.0-alpha.1 2023-02-13 03:18:08 +09:00
Hajime Hoshi
157f535b88 update Oto to v2.4.0-alpha.12 2023-01-30 15:42:07 +09:00
Hajime Hoshi
7502da50ba update Oto (bug fix for a WinMM crash when no audio is connected)
Closes #2318
2023-01-27 21:42:11 +09:00
Hajime Hoshi
ada2c8b67e update Oto 2023-01-27 20:24:49 +09:00
Hajime Hoshi
328532c9fa update Oto (fix the issue when disabling all the audio devices)
Closes #2555
2023-01-27 18:44:07 +09:00
Hajime Hoshi
2790add85d update Oto (support PS5 controllers by WASAPI)
Closes #2536
2023-01-27 16:07:20 +09:00
Hajime Hoshi
f17be388b2 update Oto to v2.4.0-alpha.11 2023-01-15 02:08:47 +09:00
Hajime Hoshi
a06c15fb66 update Oto (bug fix: possible memory leak on Windows) 2023-01-12 13:20:09 +09:00
Hajime Hoshi
8017f2b3a8 update Oto (bug fix: crash when a device is switched during suspension on Windows) 2023-01-12 04:41:31 +09:00
Hajime Hoshi
4cc9d4d0db update Oto (avoid crashing w/ a PS5 controller)
A game might crash when a PS5 controller is connected due to switching
audio device. The latest Oto fix at least avoids this crash.

This crash is confirmed only with a Steam game so far.

Updates #2535
2023-01-12 03:58:27 +09:00
Hajime Hoshi
ff4e382902 update Oto (more precise buffer-size calculations) 2023-01-10 01:00:11 +09:00
Hajime Hoshi
d3553bf698 update Oto (adjust the buffer size to 50[ms] for Windows)
Updates #2534
2023-01-09 22:15:08 +09:00
Hajime Hoshi
80bbdd3ca3 update Oto (fix for buffer size calculation on macOS/iOS) 2023-01-09 21:54:45 +09:00
Hajime Hoshi
0288a552e1 update Oto 2023-01-09 20:37:11 +09:00
Hajime Hoshi
8ef52841bc audio: use NewContextWithOptions
Upates #2534
2023-01-09 19:15:31 +09:00
Hajime Hoshi
ed8efa54e3 update Oto and purego 2023-01-07 18:58:04 +09:00
Hajime Hoshi
41700fe6bb update dependencies 2023-01-05 14:00:55 +09:00
Hajime Hoshi
aa00293fea update Oto to v2.4.0-alpha.10 2023-01-03 02:50:36 +09:00
Hajime Hoshi
cd66fecd1b update Oto (update the Oboe version to v1.7.0) 2022-12-31 01:07:12 +09:00
Hajime Hoshi
7736161d8d update Oto (bug fix: strange sounds when volume is 0) 2022-12-29 00:02:47 +09:00
Hajime Hoshi
7af300a468 update Oto to v2.4.0-alpha.9 2022-12-24 14:33:12 +09:00
Hajime Hoshi
1b4f68d775 internal/graphicsdriver/directx: call D3DCompile in parallel
D3DCompile can be very slow on some old machines.

See also https://bugs.chromium.org/p/angleproject/issues/detail?id=422
2022-12-24 01:22:33 +09:00
Hajime Hoshi
8dc582aca4 update Oto (reverting the fix for pausing/resuming)
Updates #2074
2022-12-21 12:05:46 +09:00
Hajime Hoshi
8ccfa7bec1 update Oto (to reduce clicking noises on pausing/resuming)
Updates #2074
2022-12-21 02:25:14 +09:00
Hajime Hoshi
f989f8a9fa update Oto (reduce noises when changing volumes) 2022-12-20 11:59:30 +09:00
Hajime Hoshi
e1804eca64 update Oto 2022-12-18 16:12:44 +09:00
Hajime Hoshi
ff25728dcf update Oto 2022-12-17 15:03:21 +09:00
Hajime Hoshi
e5a8f99a67 update Oto 2022-12-17 14:21:50 +09:00
Hajime Hoshi
bb39f3a797 update bitmapfont to v2.2.3 2022-12-17 00:20:14 +09:00
Hajime Hoshi
d79f1a3d08 update Oto to v2.4.0-alpha.8 2022-12-16 03:05:25 +09:00
Hajime Hoshi
9911b760c5 update Oto 2022-12-13 13:08:47 +09:00
Hajime Hoshi
1dd7c1cce3 update dependencies 2022-12-13 01:44:04 +09:00
Hajime Hoshi
50c1620e35 update Oto to v2.4.0-alpha.7 2022-11-21 02:59:49 +09:00
Hajime Hoshi
6121856836 update dependencies 2022-11-19 13:46:41 +09:00
Hajime Hoshi
b2b152e60f update Oto 2022-11-18 13:05:46 +09:00
Hajime Hoshi
9f97befe71 update Oto to v2.4.0-alpha.6 2022-11-12 00:55:34 +09:00
Hajime Hoshi
10d3e245e6 update dependencies 2022-11-11 18:02:56 +09:00
Hajime Hoshi
14041c61c0 update Oto 2022-11-10 00:17:47 +09:00
Hajime Hoshi
7c85d88f9e update Oto to fix the macOS audio delay issue
This change doesn't improve the delay itself, but at least suppresses
the hang of an application by the audio initialization on macOS.

Closes #2384
2022-11-09 23:56:03 +09:00
Hajime Hoshi
17be6eecd1 update Oto
Updates #2440
2022-11-07 13:33:49 +09:00
Hajime Hoshi
92d5f48d24 update go-mp3 to v0.3.4 2022-11-06 22:24:29 +09:00
Hajime Hoshi
a65799fbcf update Oto
Updates #2160
2022-11-06 18:18:45 +09:00
Hajime Hoshi
e9754c7bc6 update Oto
Updates #2440
Updates hajimehoshi/oto#195
2022-11-05 23:16:14 +09:00
Hajime Hoshi
6b38f5db3a bug fix: revert Oto temporarily
Closes #2440
hajimehoshi/oto#195
2022-11-05 18:47:40 +09:00
Hajime Hoshi
40c7f2869b update Oto to v2.4.0-alpha.5 2022-11-02 21:47:25 +09:00
Hajime Hoshi
b966190b34 update Oto 2022-10-31 13:52:45 +09:00
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