Hajime Hoshi
a3fa7df1f3
cmd/ebitenmobile: bug fix: graceful shutdown on context lost
...
Closes #3097
2024-09-14 17:40:37 +09:00
Hajime Hoshi
dc5869f607
internal/ui: bug fix: InitUnfocused option didn't work
...
Updates #2924
Closes #3099
2024-09-14 17:36:10 +09:00
Hajime Hoshi
098380ce06
.github/workflows: update wasmbrowsertest
...
Updates #2982
2024-09-06 12:26:58 +09:00
Hajime Hoshi
3e0c2c10bd
.github/workflows: specify -test.paniconexit0=false for browsers
...
Closes #3075
2024-09-06 11:32:21 +09:00
Hajime Hoshi
daa85d17c2
internal/file: bug fix: VirtualFS.Open(".") should always return a new entry
...
Closes #3081
2024-09-06 10:46:35 +09:00
Hajime Hoshi
29946d037b
internal/gamepad: bug fix: crash when XInput and DInput gamepads were connected
...
Closes #3047
2024-07-20 22:30:56 +09:00
Hajime Hoshi
e5bb046a11
internal/gamepad: bug fix: GUID was not reliable as a unique identifier
...
Use a HID path as a gamepad unique identifier instead.
Closes #3046
2024-07-20 19:18:32 +09:00
cowboy.macke
bdb176a271
internal/ui: bug fix: crash by dropping an HTML element onto the canvas ( #3044 )
...
Closes #3043
2024-07-18 17:19:52 +09:00
Hajime Hoshi
d30ebca80f
exp/textinput: bug fix: compilation failure for GOOS=js
...
Updates #3041
2024-07-15 01:49:20 +09:00
Hajime Hoshi
7b1965e28f
exp/textinput: bug fix: don't send events on Enter on desktop browsers
...
Apparently sending an event on pressing Enter on desktops could sometimes
duplicate texts.
Closes #3041
2024-07-15 01:02:32 +09:00
Hajime Hoshi
71b7cedc5b
internal/graphicscommand: bug fix: buffered write pixel args might never be released
...
Closes #3036
2024-07-12 11:31:49 +09:00
Hajime Hoshi
9988a0c4e9
internal/ui: bug fix: the screen size must be initialized first even when the canvas is unfocused
...
Closes #3034
2024-07-04 16:19:10 +09:00
Hajime Hoshi
f6cdf401fc
internal/atlas: bug fix: compilation failure
2024-07-01 00:03:04 +09:00
Hajime Hoshi
001ac9a90e
internal/atlas: backends for unmanaged images were never released
...
Closes #3030
2024-06-30 23:47:46 +09:00
Hajime Hoshi
f6827de5b6
all: update golang.org/x/image to v0.18.0
...
This is for https://pkg.go.dev/vuln/GO-2024-2937
2024-06-30 16:19:45 +09:00
Hajime Hoshi
f4ceb961af
internal/ui: bug fix: the window size callback was not called on macOS
...
This is basically a revert of e150745598
.
As the window size callback was not called, ebiten.WindowSize didn't
work correctly for a while.
Even after this change, the issue #2257 could not be reproduced. This
is mysterious, but probably macOS itself has updated.
Updates #2257
Closes #3029
2024-06-30 16:02:23 +09:00
Hajime Hoshi
ec9b0882ab
.github/workflow: disable wasm tests on Windows temporarily
...
Updates #2982
2024-06-12 01:58:28 +09:00
Hajime Hoshi
b466ba65b7
exp/textinput: bug fix: issues on browsers
...
This change addresses on these issues on browsers:
* Pressing cursor keys didn't work well.
This is fixed by calling trySend with true on desktops (not mobiles).
* Inputting failed just after moving a cursor.
This is fixed by resetting a session correctly.
* Sometimes pressing the enter key inserted a new line unexpectedly.
This is fixed by calling `preventDefault`.
Closes #3014
2024-06-12 01:31:52 +09:00
Hajime Hoshi
5df1462dc9
.github/workflows: fix tests for Linux 386
...
Updates #2667
Closes #2995
2024-05-18 18:10:20 +09:00
Hajime Hoshi
30d6e11e3c
all: drop Go 1.18 support
...
Unfortunately, golang.org/x/tools requires Go 1.19 or newer.
Updates #2994
2024-05-18 17:23:41 +09:00
Hajime Hoshi
9c1ab8eb78
.github/workflows: stop go-vet for Go 1.18
...
Some tools are not available for Go 1.18 due to a new method:
(*go/types.Func).Origin.
Closes #2994
2024-05-18 17:15:46 +09:00
Hajime Hoshi
80bfebd3cd
Revert "all: update typesetting to v0.1.1"
...
This reverts commit 5cf46f024f
.
Reason: this doesn't change the test failure
2024-05-18 17:11:47 +09:00
Hajime Hoshi
5cf46f024f
all: update typesetting to v0.1.1
2024-05-18 17:06:48 +09:00
Hajime Hoshi
17017259ce
all: update gomobile
...
This fixes the issue with Android SDK 34.
Closes #2992
2024-05-18 16:55:44 +09:00
Hajime Hoshi
5e39cfec14
internal/ui: bug fix: wrong property names were specified
...
Closes #2975
2024-04-30 23:33:40 +09:00
Hajime Hoshi
0b5258000f
.github/workflows: fix comments
...
Updates #2972
2024-04-29 09:58:18 +09:00
Hajime Hoshi
02c368bfb4
.github/workflows: bug fix: Wasm tests didn't work on macOS and Windows
...
Closes #2973
2024-04-28 21:24:55 +09:00
Hajime Hoshi
17d75bfaad
internal/gamepaddb: bug fix: platform was not initialized correctly
...
After 6552ae1dbe
, the order of the init
function calls changed, and then the platform was not initialized
correctly.
This change fixes this issue by not relying on an init function to
get the platform.
Closes #2964
2024-04-18 13:30:31 +09:00
Hajime Hoshi
b21ee6f467
examples/texti18n: update comments
2024-04-12 12:30:59 +09:00
Hajime Hoshi
106f3e1a57
text/v2: bug fix: given options were unexpectedly modified
...
Closes #2954
2024-04-07 22:16:54 +09:00
Hajime Hoshi
4d268f5ce4
internal/ui: bug fix: a window was shown unexpectedly at start-up
...
Closes #2951
2024-04-07 02:56:07 +09:00
Hajime Hoshi
3136de4958
internal/ui: bug fix: setting a size failed for an invisible window
...
Updates #2725
Closes #2951
2024-04-06 22:28:56 +09:00
Hajime Hoshi
cf5b851cd3
exp/textinput: typo
2024-04-02 03:09:47 +09:00
Hajime Hoshi
f20fb3998c
update dependencies
2024-04-01 23:27:12 +09:00
Hajime Hoshi
5cab3cc88f
Revert "internal/graphicsdriver/directx: add 'tearing' for EBITENGINE_DIRECTX"
...
This reverts commit b6252a41f2
.
Reason: We need more investigation about tearing and vsync=off
Updates #2858
2024-03-30 20:09:01 +09:00
Hajime Hoshi
a7088390cd
all: update gomobile fixing an Apple validation/distribution issue
...
Closes #2946
2024-03-30 02:06:37 +09:00
Hajime Hoshi
ec3d2fcfcf
all: update README for new packages
2024-03-29 13:37:40 +09:00
Hajime Hoshi
dade012f64
go mod tidy
2024-03-27 23:11:47 +09:00
Hajime Hoshi
073544b894
all: update Oto and PureGo
2024-03-27 23:06:52 +09:00
Hajime Hoshi
013e235628
cmd/ebitenmobile, exp/textinput: typo
2024-03-27 15:40:37 +09:00
Hajime Hoshi
59521d715b
all: update go-text
2024-03-27 14:55:02 +09:00
Hajime Hoshi
11398f3bb5
ebiten: rename BuildTag -> BuildConstraints
2024-03-27 14:50:09 +09:00
Hajime Hoshi
5c0c084b6e
cmd/ebitenmobile: update the default Android SDK version to 21
2024-03-27 14:23:00 +09:00
Hajime Hoshi
25a814d561
cmd/ebitenmobile: bug fix: wrong path was used
...
Updates #2937
2024-03-27 12:30:12 +09:00
Hajime Hoshi
0ab4538fa1
all: update gomobile
...
Closes #2937
2024-03-27 11:55:08 +09:00
Hajime Hoshi
fd2c79398e
Revert "internal/atlas: refactoring: ensure ReadPixels to be processed in a frame"
...
This reverts commit 55702a7c28
.
Reason: This didn't work with the single-thread mode.
Updates #1704
Closes #2939
2024-03-26 13:10:00 +09:00
Hajime Hoshi
459ad709a6
internal/gamepaddb: omit the database for consoles
...
Updates #2936
2024-03-25 03:08:19 +09:00
Hajime Hoshi
04c4676b7c
internal/png: update with Go 1.22
2024-03-24 20:36:31 +09:00
Hajime Hoshi
6552ae1dbe
internal/gamepaddb: do not include the database for browsers
...
This reduces Wasm binary size by 525kb.
2024-03-24 20:16:11 +09:00
Hajime Hoshi
dc8baf96f9
internal/gamepaddb: update the database
2024-03-24 19:18:49 +09:00