Commit Graph

9315 Commits

Author SHA1 Message Date
aoyako
359e7b8597 remove comment 2024-03-02 15:41:30 +09:00
aoyako
d1b9216ee1 update tests for right shift 2024-03-02 15:40:38 +09:00
aoyako
f02e9fd4d0 add shift type checks 2024-03-02 15:32:31 +09:00
aoyako
f44640778d add basic checks 2024-02-28 20:27:26 +09:00
aoyako
66a4b20bda remove return type for deduced int 2024-02-27 19:39:14 +09:00
aoyako
7f9d997175 add return type for type resolving 2024-02-27 19:29:39 +09:00
aoyako
c90d02f8d4 add: float->int cast tests 2024-02-26 21:06:28 +09:00
aoyako
2b7d20e7da fix: remove unnecessary branch 2024-02-26 18:17:41 +09:00
aoyako
d69bb04a56 add support for shift + assign 2024-02-26 18:00:52 +09:00
aoyako
5f61cf00e5 extend tests with right-shift op 2024-02-26 17:03:19 +09:00
aoyako
7f01f98200 add tests for binop shift 2024-02-26 17:02:02 +09:00
aoyako
fe887e2565 add typechecks for bitshifts ops 2024-02-26 16:14:55 +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
Hajime Hoshi
5c7bfd3ed7 exp/textinput, examples/textinput: bug fix: handle input states correctly on Android Chrome
Updates #2898
2024-02-03 22:53:42 +09:00
Hajime Hoshi
0adc1ad681 internal/ui: make virtual keyboard keys work at least on Android
Updates #2898
2024-02-03 21:11:54 +09:00
Hajime Hoshi
2d62de25ed ebiten: remove old comments 2024-02-03 19:15:39 +09:00
Hajime Hoshi
be0ce08663 ebiten: refactoring: replace JSKey with JSCode 2024-02-03 15:22:00 +09:00
Hajime Hoshi
7dd22fdc61 internal/ui: refactoring: rename uiKeyToJSKey to uiKeyToJSCode 2024-02-03 15:13:12 +09:00
Hajime Hoshi
d10636d235 audio: bug fix: suspend and resume player's stopwatches
Updates #2901
2024-02-01 20:30:09 +09:00
Hajime Hoshi
6ced6987cd audio: make (*Player).Position() smoother
Closes #2901
2024-02-01 18:05:14 +09:00
Hajime Hoshi
788529ff76 audio: skip making a player at SetPosition when possible 2024-02-01 17:31:16 +09:00