Hajime Hoshi
c568668149
examples/subimage: add a comment
...
Updates #2471
2023-02-17 02:06:40 +09:00
Hajime Hoshi
7018d1aebe
internal/processtest: fix the timeout logic
...
Updates #2571
2023-02-15 22:41:18 +09:00
Hajime Hoshi
5038b8b645
.github/workflows: update Go versions
2023-02-15 18:51:33 +09:00
Hajime Hoshi
a65b65110b
Revert "internal/processtest: prevent parallel process testing"
...
This reverts commit 397da70815
.
Reason: This did not resolve the issue: https://github.com/hajimehoshi/ebiten/actions/runs/4180959132/jobs/7242421909
Updates #2571
2023-02-15 15:13:57 +09:00
Hajime Hoshi
7315044dcf
internal/ui: remove a redundant call to close a window
...
glfw.Terminate should close the window too. This might fix the issue
so let's wait and see.
Updates #2551
2023-02-15 14:36:28 +09:00
Hajime Hoshi
68775cf065
examples/vector: specify alpha values explicitly
2023-02-14 19:26:14 +09:00
Hajime Hoshi
cb61633b70
examples/lines: specify color values explicitly
2023-02-14 19:14:38 +09:00
Hajime Hoshi
10f022e129
examples/lines: specify alpha values explicitly
2023-02-14 19:12:26 +09:00
Hajime Hoshi
397da70815
internal/processtest: prevent parallel process testing
...
Updates #2571
2023-02-14 18:13:27 +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
TotallyGamerJet
93537650c0
internal/goglfw: use platform agnostic functions for context_windows.go ( #2570 )
...
context_windows.go is used for all the platforms. However, it used syscall.Syscall which behaves differently on macOS
and Windows as well as windows.BytePtrToString which isn't available on Linux or macOS.
This commit replaces syscall.Syscall with purego.SyscallN and windows.BytePtrToString with a copied version called
bytePtrToString.
Updates #2546
2023-02-10 02:35:17 +09:00
TotallyGamerJet
b359985e97
internal/goglfw: separate windows specific struct from common structs ( #2567 )
...
Many of the structs found in internal.h (internal_windows.go) contain defines such as GLFW_WIN32_WINDOW_STATE
which gets replaced with a struct defined in win32platform_windows.go (win32_platform.h).
Originally, these structs where directly placed inside of internal_windows.go. However, to make it easier to add macOS
and Linux these cannot be in this file.
This commit separates the windows specific structs into the respective windows file and updates the field to be named
state.
Updates #2546
2023-02-08 03:05:46 +09:00
Hajime Hoshi
fb51e67910
.github/workflows: use cleanenv to reduce environment variables
...
Closes #2412
2023-02-08 01:11:06 +09:00
Hajime Hoshi
8864ce1291
all: update comments
2023-02-07 12:05:43 +09:00
Artem Sedykh
da54f19df5
add blend modes example ( #2563 )
2023-02-07 11:59:49 +09:00
quasilyte
ce36527d16
examples/camera: fix window title ( #2564 )
2023-02-06 17:31:23 +09:00
Artem Sedykh
1277909998
ebiten: bug fix: wrong BlendDestinationOut behaviour ( #2561 )
...
Closes #2560
2023-02-06 03:28:58 +09:00
Hajime Hoshi
085a4f6914
update README
2023-02-05 14:06:58 +09:00
Hajime Hoshi
f4371991fe
internal/gamepad: refactoring
2023-02-02 22:33:01 +09:00
Hajime Hoshi
628418d88e
internal/gamepaddb: update the database
2023-02-02 22:00:34 +09:00
Hajime Hoshi
fa751853d7
.github/workflows: use Go 1.20
2023-02-02 10:35:15 +09:00
Hajime Hoshi
157f535b88
update Oto to v2.4.0-alpha.12
2023-01-30 15:42:07 +09:00
Pierre Curto
4de807cc44
all: fix typos ( #2558 )
...
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
2023-01-28 19:06:38 +09:00
Pierre Curto
04170d628f
text: fix typos and add fields to struct initializers ( #2556 )
...
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
2023-01-28 00:14:37 +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
38a6583438
examples/audio: change the sample rate from 32000 -> 48000
2023-01-27 14:58:17 +09:00
Hajime Hoshi
0c76a0cbd7
examples/dropfile: bug fix: handle errors correctly
2023-01-25 15:25:06 +09:00
Hajime Hoshi
f009dd8dd2
ebiten: implement DroppedFiles to replace AppendDroppedFiles
...
Closes #2552
2023-01-25 14:27:11 +09:00
Hajime Hoshi
aa52402a90
internal/graphicsdriver/metal: fix a comment
2023-01-24 02:22:35 +09:00
Hajime Hoshi
16e49e0499
internal/ui: fix a potential out-of-range error
2023-01-24 00:32:08 +09:00
Hajime Hoshi
7f39b9c5b6
internal/graphicsdriver/metal: use supportsFeatureSet: as a fallback
...
This change is a fix for a regression that happened on macOS High Sierra.
Closes #2553
2023-01-23 23:44:56 +09:00
Hajime Hoshi
84e32c2e4e
internal/ui: more precise detection of directory on browsers
...
Updates #1868
2023-01-22 18:28:34 +09:00
Hajime Hoshi
e03cb0d4df
examples/dropfile: bug fix: go vet failed
2023-01-22 17:31:24 +09:00
Hajime Hoshi
8c25fac860
ebiten: add AppendDroppedFiles
...
Closes #1868
2023-01-22 17:22:25 +09:00
Hajime Hoshi
40aa35750c
ebiten: bug fix: updating the input state must be protected by a mutex
2023-01-22 01:49:43 +09:00
Hajime Hoshi
b79f0394cc
internal/ui: refactoring: allow slices in InputState
2023-01-22 01:28:57 +09:00
Hajime Hoshi
d53803615a
internal/ui: merge a window-closing state into an input state
2023-01-21 23:42:48 +09:00
Hajime Hoshi
d37aadd064
.github/workflows: fix govetblock.txt
...
Updates #2546
2023-01-21 22:17:36 +09:00
Hajime Hoshi
35e25a3636
rename internal/glfwwin -> internal/goglfw
...
Updates #2546
2023-01-21 22:09:21 +09:00
Hajime Hoshi
aebb7e9aef
.github/workflows: update wasmbrowsertest
2023-01-21 18:47:30 +09:00
Hajime Hoshi
b065f53a67
.github/workflows: update Go 1.20 to RC3
2023-01-20 16:16:41 +09:00
Hajime Hoshi
06bc569b73
internal/shader: bug fix: wrongly typed constants were unexpectedly used
...
Closes #2549
2023-01-20 02:26:39 +09:00
Hajime Hoshi
f054a7634a
ebiten: deprecate (*Image).Size
...
Closes #2351
2023-01-20 01:26:37 +09:00
Hajime Hoshi
8d61d43371
.github/ISSUE_TEMPLATE: remove 02-security.yml
...
GitHub now provides a default template.
https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository
2023-01-18 03:37:00 +09:00
Hajime Hoshi
f17be388b2
update Oto to v2.4.0-alpha.11
2023-01-15 02:08:47 +09:00
Hajime Hoshi
96a44eceaf
internal/glfwwin: remove unused functions
2023-01-14 17:04:46 +09:00