Commit Graph

196 Commits

Author SHA1 Message Date
Hajime Hoshi
c0d9954b3e exp/textinput: use native pixels for a candidate window position 2024-03-03 23:35:34 +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
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
2ad6ab0dcf exp/textinput: bug fix: position conversion was wrong 2024-01-31 03:51:30 +09:00
Hajime Hoshi
0378230b3e internal/ui: refactoring: reduce theUI 2023-10-15 17:02:15 +09:00
Hajime Hoshi
f25f46f50c exp/textinput: bug fix: compile failure 2023-10-15 03:50:40 +09:00
Hajime Hoshi
27fd10595b internal/ui: refactoring: reduce global functions and prefer Get() 2023-10-15 03:40:48 +09:00
Hajime Hoshi
d6bfca30e2 exp/textinput: fix comments 2023-08-02 21:02:34 +09:00
Hajime Hoshi
8ce6772b59 exp/textinput: adjust the position in Start 2023-08-02 21:00:05 +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
91802aac47 Remove exp 2016-09-03 14:41:39 +09:00
Hajime Hoshi
15a523c42b Remove exp/gamepad 2016-09-03 14:03:41 +09:00
Hajime Hoshi
b0178e8425 audio: Move exp/audio -> audio (#206) 2016-04-19 01:26:37 +09:00
Hajime Hoshi
283758dddb audio: Remove NewLoop (#200) 2016-04-19 00:49:38 +09:00
Hajime Hoshi
2b4140cb4a audio: Bug fix: Compile error 2016-04-17 03:19:05 +09:00
Hajime Hoshi
6ba088d021 audio: Bug fix: buffers might be run out (#207) 2016-04-16 12:09:25 +09:00
Hajime Hoshi
e5609f06d6 audio: Refactoring 2016-04-16 03:56:14 +09:00
Hajime Hoshi
4b5243579c audio: Remove unneeded C files 2016-04-15 02:07:35 +09:00
Hajime Hoshi
98be54fe60 audio: Bug fix: Compile error and noise on Windows 2016-04-15 01:58:27 +09:00
Hajime Hoshi
715b5df7e1 audio: Consume necessary and sufficient data on each Update (#205) (WIP) 2016-04-15 01:37:48 +09:00
Hajime Hoshi
e93982ffb5 audio: Add doc 2016-04-10 23:15:49 +09:00
Hajime Hoshi
65cbbdd5d9 audio: Misspelling 2016-04-10 23:15:49 +09:00
Hajime Hoshi
e0a091194e audio: Fix wrong comments 2016-04-10 01:13:15 +09:00
Hajime Hoshi
702884acf5 audio: Don't check errors until making current context is done (#204) 2016-04-10 01:11:42 +09:00
Hajime Hoshi
509aa22bae audio: Re-use another OpenAL library for Mac OS X (#195) 2016-04-10 00:39:08 +09:00
Hajime Hoshi
96296f076d audio: Lock OS Thread during initializing OpenAL audio 2016-04-09 23:13:54 +09:00
Hajime Hoshi
52aa9d4784 Revert "audio: Use another OpenAL library for Mac OS X (#195)"
This reverts commit 6e5b8a28dc.
2016-04-09 22:56:25 +09:00
Hajime Hoshi
6e5b8a28dc audio: Use another OpenAL library for Mac OS X (#195) 2016-04-09 22:15:00 +09:00
Hajime Hoshi
9dfbb4161e audio: Remove unused functions 2016-04-09 01:15:39 +09:00
Hajime Hoshi
38ee66070e audio: Fix error messages 2016-04-09 01:10:42 +09:00
Hajime Hoshi
2ba5105ba9 audio: Use channel num and bytes per sample on OpenAL 2016-04-09 01:10:11 +09:00
Hajime Hoshi
bbdb522b15 audio: Bug fix: compilation error on Windows 2016-04-09 00:58:50 +09:00
Hajime Hoshi
2840bafd0a audio: Move drivers to internal/driver 2016-04-09 00:54:18 +09:00
Hajime Hoshi
6a6f9ad2a2 audio: Bug fix: unneeded import 2016-04-06 03:32:50 +09:00
Hajime Hoshi
25665f5035 audio: No need for loop in audio_openal; alSource's state might be al.Initial 2016-04-06 03:31:06 +09:00
Hajime Hoshi
1ded7dc6b8 audio: Refactoring 2016-04-06 01:26:21 +09:00
Hajime Hoshi
3cedae882f audio: Bug fix: buffers must be consumed (reproduced on go-inovation) 2016-04-06 01:17:11 +09:00
Hajime Hoshi
398d7710ae audio: Stream reading must be done only when buffers are available (Windows) 2016-04-05 12:17:23 +09:00
Hajime Hoshi
2d3c3e361e audio: Replace 'for' with 'if' as preparation to avoid goroutine 2016-04-05 03:31:37 +09:00
Hajime Hoshi
ff8f15a212 audio: Refactoring 2016-04-05 02:56:25 +09:00
Hajime Hoshi
7bdda4e9ca audio: Refactoring: Remove context.sampleRate 2016-04-05 02:40:14 +09:00
Hajime Hoshi
805e6b7b36 audio: Use Read-write lock 2016-04-05 02:24:54 +09:00
Hajime Hoshi
79985535c3 audio: Refactoring: mixingStream has the global lock 2016-04-05 02:17:39 +09:00