Commit Graph

9473 Commits

Author SHA1 Message Date
Hajime Hoshi
209dc50f72 internal/gamepaddb: refactoring 2024-03-16 15:37:42 +09:00
Hajime Hoshi
047858aa59 internal/gamepaddb: rename functions 2024-03-16 15:16:29 +09:00
Hajime Hoshi
6cdabf09d1 ebiten: guarantee invalid color values are not clamped
Closes #2798
2024-03-13 12:03:44 +09:00
Hajime Hoshi
bb6430d3ba internal/shader: bug fix: unexpected crash for out of range
Closes #2926
2024-03-13 11:37:00 +09:00
Hajime Hoshi
7389f9ddb2 ebiten: add KeyIntlBackslash
Updates #2921
2024-03-12 12:49:02 +09:00
Hajime Hoshi
4c7ed56077 text/v2: add a comment 2024-03-11 23:24:38 +09:00
Hajime Hoshi
63e97c7064 internal/shader: bug fix: needed to resolve const and non-const types
Closes #2922
2024-03-10 19:49:19 +09:00
Hajime Hoshi
c9a973c6c1 internal/ui: bug fix: needed to focus the window at launch
Updates #2725
Closes #2924
2024-03-10 12:44:28 +09:00
Hajime Hoshi
9a7dcb1077 internal/shader: bug fix: failed to return an array in HLSL
Closes #2923
2024-03-10 11:59:50 +09:00
Hajime Hoshi
927e025982 internal/shader: bug fix: wrong type conversion for min, max, and clamp
Closes #2922
2024-03-10 11:30:06 +09:00
Hajime Hoshi
dc05f2014f exp/textinput: implement for Windows
Closes #2735
2024-03-09 23:05:19 +09:00
Hajime Hoshi
3eaa03e193 all: update dependencies 2024-03-07 10:03:44 +09:00
Hajime Hoshi
34cdb20276 all: update PureGo to v0.7.0-alpha.3 2024-03-04 00:02:55 +09:00
Hajime Hoshi
c0d9954b3e exp/textinput: use native pixels for a candidate window position 2024-03-03 23:35:34 +09:00
Hajime Hoshi
3e4c47eb70 internal/ui: refactoring 2024-03-03 23:27:02 +09:00
Hajime Hoshi
4d72f97e45 exp/textinput: add State.Error 2024-03-03 20:53:58 +09:00
Hajime Hoshi
0fa39182cb exp/textinput: refactoring 2024-03-02 17:17:27 +09:00
Hajime Hoshi
0a20670f3f all: upadte PureGo
Updates ebitengine/purego#217
2024-03-01 03:00:52 +09:00
Hajime Hoshi
c5ebf8670b Revert "all: update PureGo"
This reverts commit 200c6569c3.

Reason: this caused crashes on macOS
2024-03-01 01:19:13 +09:00
Hajime Hoshi
200c6569c3 all: update PureGo 2024-02-28 22:18:11 +09:00
Hajime Hoshi
cc3db584f2 internal/shader: allow integer types for clamp
Closes #2788
2024-02-25 21:21:27 +09:00
Hajime Hoshi
4b9508c523 internal/shader: bug fix: wrong type checks on min/max
Updates #2788
2024-02-25 21:17:54 +09:00
Hajime Hoshi
e8cdf885c0 internal/shader: allow integer types for min and max
Updates #2788
2024-02-25 20:18:19 +09:00
Hajime Hoshi
face5fd870 internal/shader: allow integer types for abs and sign
Updates #2788
2024-02-25 18:16:44 +09:00
Mykhailo Lohachov
012fe52b6f
internal/atlas: use bit manipulation for function power of 2 -like functions (#2915)
Closes #2914
2024-02-25 02:06:52 +09:00
Hajime Hoshi
64cb6cf8a9 internal/atlas: reduce test flakiness 2024-02-24 23:03:12 +09:00
Hajime Hoshi
732eedf2e0 all: use github.com/ebitengine/gomobile instead of golang.org/x/mobile
Closes #2748
Closes #2899
2024-02-24 22:07:27 +09:00
Hajime Hoshi
40f3cbe1e3 internal/ui: bug fix: DeviceScaleFactor should be initialized asap on Android
Closes #2913
2024-02-24 19:48:20 +09:00
Hajime Hoshi
5f08bbf01c .github/workflows: update Android SDK version 2024-02-24 03:36:43 +09:00
Hajime Hoshi
753672931e all: update PureGo to v0.7.0-alpha.1 2024-02-23 00:54:26 +09:00
Hajime Hoshi
df68cbfc5b internal/gamepaddb: update the database 2024-02-21 20:36:46 +09:00
Hajime Hoshi
fc4b60df54 all: update PureGo 2024-02-20 22:49:41 +09:00
TotallyGamerJet
e6a17e58c9
internal/glfw: rewrite cocoa_time_darwin.c and posix_thread_unix.c into Go-ish (#2912)
Updates #1162
2024-02-20 22:37:13 +09:00
Hajime Hoshi
6b403fef6f all: update dependencies 2024-02-18 23:13:03 +09:00
Hajime Hoshi
a64c9c4511 all: update Oto to v3.2.0-alpha.4 2024-02-17 10:57:58 +09:00
Hajime Hoshi
24256af624 internal/atlas: bug fix: test flakiness due to GC 2024-02-15 03:00:49 +09:00
Hajime Hoshi
820c996329 internal/shader: bug fix: wrong lhs in an assignment
Closes #2910
2024-02-15 02:29:21 +09:00
Hajime Hoshi
6bdd686a29 all: update Oto 2024-02-15 02:26:27 +09:00
Hajime Hoshi
6d898d752e ebiten: add (*Monitor).DeviceScaleFactor()
This replaces ebiten.DeviceScaleFactor().

Updates #2795
2024-02-12 17:09:03 +09:00
Hajime Hoshi
67d947d37a internal/ui: remove Bounds 2024-02-12 15:24:00 +09:00
Hajime Hoshi
fca8ebb9af internal/shader: bug fix: non-name on the left side of :=
Closes #2891
2024-02-11 21:21:16 +09:00
Hajime Hoshi
75103f39dd internal/shader: bug fix: error on a function name in a function call
Updates #2891
2024-02-11 21:09:49 +09:00
Hajime Hoshi
60725eba86 ebiten: add RunGameOptions.X11ClassName and X11InstanceName
Closes #2904
2024-02-11 19:31:29 +09:00
Hajime Hoshi
c72e609158 .github/workflows: test Go 1.22 2024-02-07 12:19:29 +09:00
Hajime Hoshi
dd6f5c4565 exp/textinput: bug fix: flaky behavior on iOS Safari
Closes #2898
2024-02-06 12:46:37 +09:00
Hajime Hoshi
d7fc49355b exp/textinput: use mouseup for consistency 2024-02-06 00:53:52 +09:00
Hajime Hoshi
0160d40bfb exp/textinput: bug fix: keyboards didn't show immediately after touching
Updates #2898
2024-02-05 23:40:09 +09:00
Hajime Hoshi
7eee3929de exp/textinput: bug fix: a virtual keybord didn't show on iOS Safari
This change fixes the issue by processing a textarea element in a
click or touchstart event.

There is still little odd behaviors, like a keyboard is sometimes
not shown. Let's fix them later.

Updates #2898
2024-02-05 01:01:02 +09:00
Hajime Hoshi
e3b54b41c2 exp/textinput: bug fix: inputting words doesn't work correctly on Android 2024-02-04 14:28:53 +09:00
Hajime Hoshi
60673752a1 exp/textinput: bug fix: enter key doesn't insert a new line char 2024-02-04 14:20:29 +09:00