Hajime Hoshi
8df1b6578a
.github/workflows: add Go 1.21
2023-07-20 20:20:27 +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
e10c5f5c59
internal/glfw/glfw: move and remove null_* files
2023-07-15 12:57:15 +09:00
Hajime Hoshi
31bad92c23
internal/glfw/glfw: move cocoa_* and nsgl_* files
2023-07-15 12:38:43 +09:00
Hajime Hoshi
647d2aca14
internal/glfw/glfw: move egl_context.* files
2023-07-15 12:30:12 +09:00
Hajime Hoshi
4d9ae2a815
./internal/glfw/glfw: move posix_*.* files
2023-07-13 03:39:12 +09:00
Hajime Hoshi
d8a8404fd4
internal/glfw/glfw/glfw/src: remove internal.h
2023-07-13 03:39:12 +09:00
Hajime Hoshi
b837713262
.github/workflows: add wayland test
2023-07-13 03:09:11 +09:00
Hajime Hoshi
a4c183c5d4
internal/glfw/glfw: move some C and H files
2023-07-13 03:08:09 +09:00
Hajime Hoshi
8ee3a6d0c1
internal/glfw/glfw/glfw/src: remove warnings for Wayland
2023-07-13 02:33:06 +09:00
Hajime Hoshi
e04b7a438a
.github/workflows: update Go versions
2023-07-12 12:01:40 +09:00
Hajime Hoshi
0ce91a9f28
update dependencies
2023-07-12 03:03:49 +09:00
Hajime Hoshi
a9c272d137
.github/workflows: use $GITHUB_OUTPUT
...
See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2023-07-11 01:30:57 +09:00
Hajime Hoshi
5ddf75c4b3
internal/glfw/glfw/glfw/src: bug fix: build failure
2023-07-11 00:15:41 +09:00
Hajime Hoshi
72293d48b5
internal/glfw/glfw: unify c_glfw_bsd.go and c_glfw_linux.go
2023-07-11 00:05:33 +09:00
Hajime Hoshi
bf197e379b
internal/glfw/glfw: refactoring: remove glfw/include
2023-07-10 23:30:03 +09:00
Hajime Hoshi
58f1415cac
examples/texti18n: use Jpan as a Japanese script
2023-07-09 15:17:25 +09:00
Hajime Hoshi
66410a03cb
.github/workflows: update issue-labeler
2023-07-08 19:28:38 +09:00
Hajime Hoshi
4267e5d22e
internal/gamepad: bug fix: do not call GetRawInputDeviceList with the count 0
...
Updates #2696
2023-07-08 19:18:05 +09:00
Hajime Hoshi
bc2b373bca
internal/glfw/glfw: fix build tags
2023-07-08 14:04:30 +09:00
Hajime Hoshi
f8d8d7a231
examples/life, internal/graphicsdriver/opengl/gl: format copyright texts
2023-07-08 02:50:54 +09:00
Hajime Hoshi
c2b386a917
internal/glfw/glfw: refactoring
2023-07-08 02:34:56 +09:00
Hajime Hoshi
fafbe2711f
internal/glfw/glfw: refactoring
2023-07-08 02:16:39 +09:00
Hajime Hoshi
8039911bc8
internal/glfw/glfw: add license header comments
2023-07-08 02:15:47 +09:00
Hajime Hoshi
a4c2072c0f
internal/glfw/glfw: add 'static' to C functions
2023-07-08 00:37:20 +09:00
Hajime Hoshi
eba8713c64
internal/glfw/glfw: refactoring: reduce files
2023-07-08 00:33:20 +09:00
Hajime Hoshi
0db860b5dd
update purego to v0.4.0-alpha.5
2023-07-07 12:26:00 +09:00
Hajime Hoshi
65fd352e3b
internal/glfw/glfw: remove unused files
2023-07-07 12:12:47 +09:00
Hajime Hoshi
15cc0f4280
ebiten: update comments
2023-07-07 01:42:19 +09:00
Hajime Hoshi
7a7d4fd91f
internal/ui: bug fix: need to delay to capture a cursor
...
From the spec https://w3c.github.io/pointerlock/#extensions-to-the-element-interface ,
capturing a cursor might require a cooltime. This change adds a delay
to capture a cursor just after escaping from a capture.
Closes #2693
2023-07-07 01:24:02 +09:00
Hajime Hoshi
d0b6d2c41a
internal/glfw/glfw: remove implementation for joystick
...
Closes #2692
2023-07-06 23:24:34 +09:00
Hajime Hoshi
59399b01e3
.builds: use fedora/latest again
...
This was fixed at 6b1f66e9ea
.
Updates #2688
2023-07-06 18:25:48 +09:00
Hajime Hoshi
8052c5bdd5
internal/glfw/glfw: remove the Windows part
2023-07-06 00:08:48 +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
guangwu
54e1263565
all: unnecessary use of fmt.Sprintf ( #2691 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-07-05 16:36:29 +09:00
Hajime Hoshi
c908685e55
ebiten: reduce a dependency on go-gl/glfw
...
Updates #2546
2023-07-05 10:13:07 +09:00
Hajime Hoshi
eb5c1ee818
internal/ui: bug fix: the original cursor position was not scaled correctly
...
Updates #2690
2023-07-05 09:24:29 +09:00
Hajime Hoshi
929539b66e
add exp/textinput package
...
This works only for macOS and browsers so far.
Updates #1029
2023-07-05 02:09:04 +09:00
Hajime Hoshi
50704e3141
update purego
2023-07-04 23:36:28 +09:00
Hajime Hoshi
1d02d20879
internal/ui: fix comments
2023-07-04 23:34:00 +09:00
Hajime Hoshi
1d143ffccb
examples/texti18n: add comments
...
Updates #2454
2023-07-01 19:57:45 +09:00
Hajime Hoshi
198bd4788e
examples/texti18n: bug fix: space characters were ignored
2023-07-01 18:17:01 +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
6bb19c9e60
.builds: change the image name for Fedora
...
Updates #2688
2023-07-01 00:14:18 +09:00
Hajime Hoshi
96425dcb79
colorm: use any instead of interface{}
2023-06-30 23:56:26 +09:00
Hajime Hoshi
d23567c92e
ebiten: add ColorScale.ScaleWithColorScale
...
Closes #2687
2023-06-30 18:19:40 +09:00
Hajime Hoshi
1514749041
examples/text: remove a dependency on math/rand
2023-06-25 01:33:25 +09:00
divVerent
1a9bff390d
mobile/ebitenmobileview: Android: include keypress runes even for unmapped keys. ( #2685 )
...
Note that this is a theoretical bug - I do not have a keyboard I can
reproduce this. However, if I remove a key from genkeys.go, pressing
that key will, after this change, still emit its character to
AppendInputChars.
Thus, this better supports "odd" international keyboards.
Also, make the updateInput calls more consistent - always one call per
event. This should change no behavior, but should be more debuggable.
Closes #2684
2023-06-24 21:33:17 +09:00