Commit graph

48 commits

Author SHA1 Message Date
Darcy Wong
3872f57cbf fix(common): Update references to test9469 keyboard 2025-10-30 13:03:09 +07:00
Darcy Wong
5bf5a5941f chore(common): Move platformtest to common/test/keyboards 2025-10-28 07:18:49 +07:00
Darcy Wong
5fa0dccbcb chore(android): Update keyboard harness reference to chirality.js 2025-10-22 06:54:01 +07:00
Darcy Wong
1a3d08bcb5 fix(android): Don't register model on KeyboardHarness app 2025-08-13 10:10:59 +07:00
Darcy Wong
0992061c41 fix(android): Update Sample and Test apps to edge-to-edge 2025-08-07 13:38:24 +07:00
Darcy Wong
c79487f706 test(android/samples): Add special characters to keyboard harness kmp 2024-04-22 16:37:42 +07:00
Darcy Wong
c93269a21d chore(android): Clenaup keyboard harness package 2023-09-29 09:08:09 +07:00
Darcy Wong
ffd428da21 chore(android): Update test keyboard again 2023-09-28 21:36:00 +07:00
Darcy Wong
2d8013360f chore(android): Update test9469 to use ZWNJGeneric 2023-09-28 15:36:04 +07:00
Darcy Wong
70a204131f chore(web,android): Update test9469 keyboard 2023-09-27 06:10:46 +07:00
Darcy Wong
dbd03aa320 chore(android): Update test harness keyboard 2023-09-11 08:25:48 +07:00
Darcy Wong
059c233b6a test(web): Add special characters to shift layer 2023-08-18 14:30:22 +07:00
Joshua A. Horton
289a11c629 chore(web): Merge branch 'fix/web/webview-android-launch' into refactor/web/legacy-web-events 2023-05-02 16:04:15 +07:00
Darcy Wong
8d296568ce chore(android): Move namespace to gradle files 2023-04-25 14:39:15 +07:00
Joshua A. Horton
5f07d34bc0 fix(web): final patches for hand-written chirality keyboard 2023-04-21 09:14:49 +07:00
Joshua A. Horton
1f3887a8b0 fix(web): more chirality bootstrapping-keyboard fixes 2023-04-19 12:32:15 +07:00
Joshua A. Horton
4e75235643 fix(android): updates KeyboardHarness chirality kbd 2023-04-19 10:58:28 +07:00
Darcy Wong
9cde92f2e5 chore(android/samples): Update namespace for KeyboardHarness app 2023-01-06 09:06:17 +07:00
Darcy Wong
8f90df861a fix(android/samples): Update manifest for KeyboardHarness 2022-11-18 09:26:39 +07:00
Darcy Wong
11afaf03f8 test(android): Add final keyboard to test K_ENTER 2022-09-16 11:39:42 +07:00
Darcy Wong
5369d85d86 test(android): Update Sample and Test Projects to use Keyboard syntax
Also rebuild keyboardharness.kmp to set version for chirality.js
2020-06-05 11:03:49 +07:00
Darcy Wong
5a38814696 feat(android): Add project and package source file for keyboardharness 2020-04-02 16:18:37 +07:00
Darcy Wong
152168ba8c modify(android): Update sample and test projects to install asset kmp's
Follow-on to #2928 for KMSample1, KMSample2, and keyboardharness projects.

For KMSample1 and KMSample2, also changed keyboard from deprecated legacy [tamil99m](https://keyman.com/keyboards/tamil99m) to release [basic_kbdtam99]
(https://keyman.com/keyboards/basic_kbdtam99).

For Keyboardharness, manually assembled keyboards into a package.
2020-04-02 10:26:48 +07:00
Darcy Wong
10f43eec76 Update dependencies again
Android Studio is warning  a call (from Firebase) will be deprecated end of 2019. This updates the versions of
* Frebase
* Gradle from 4.10.1 to 5.1.1

Also stubs a missing keyboard event handler in some of the sample/test projects.
2019-04-24 14:26:40 +07:00
Darcy Wong
ae68c483a7 Update dependencies
* Update compile/target SDK version from 27 to 28
*  Migrate appcompat namespace (See https://developer.android.com/jetpack/androidx/migrate)
2019-03-06 16:20:26 +07:00
Joshua A. Horton
600939b573 Refactors hardware keystroke processing, moves it to Processor module. 2019-01-14 09:50:22 +07:00
Joshua A. Horton
2ef001f30f Moves keycode constants to their own file, starts 'text' namespace. 2019-01-11 12:27:06 +07:00
Joshua A. Horton
6e92f069a1 Fixes Android's copy of chirality.js. 2019-01-10 15:20:16 +07:00
Darcy Wong
b697ed5ed7 Update Tests
* Fix KeyboardHarness to compile
* Add keycode app for debugging `keyCode` and `scanCode` output from physical keyboards (app doesn't use KMEA)
2018-10-30 14:23:38 +07:00
darcywong00
007b420e9e Move "edge" platform test with other browsers
Follow-on to #969

This updates the platformtest.kmn keyboard 
and moves `edge` from `[K_O]` (OS) to `[K_Y]` (browsers)
2018-06-19 07:12:56 +07:00
Marc Durdin
27c565b0e2 Reworked several aspects of platform constraints esp. regarding unknown constraints. Rewrote keyboard and spreadsheet to facilitate testing more reliably. 2018-06-11 15:07:55 +07:00
Marc Durdin
8649bd486e Renamed platformtest for Android 2018-06-11 07:31:44 +07:00
Marc Durdin
f8427c3f48 Add platformtest.js to Android test harness 2018-06-08 15:57:02 +07:00
darcywong00
90246a72e6 [Android] Use BCP-47 codes for registering keyboards 2018-02-21 22:00:21 +07:00
darcywong00
690e69b460 Cleanup Samples and KeyboardHarness
Fix MainActivity to include `onPackageInstalled`.
Also fixed font formatting in KMKeyboard
2018-01-22 20:50:18 +07:00
darcywong00
534597051f Move keyboard assets for Samples and Test projects 2018-01-17 16:36:30 +07:00
darcywong00
4787245808 Round 1 of adding feature for ad-hoc keyboard distribution via kmp 2018-01-17 10:58:25 +07:00
darcywong00
82f78f005c Document why removeKeyboardDownloadEventListeners are removed
Calls to `removeKEyboardDownloadEventListener()` are removed to ensure `onKeyboardDownloadFinished()` gets called
2017-12-15 10:24:40 +07:00
darcywong00
911a254966 Move KMSamples and KeyboardHarness assets
PR #456 changed internal folder locations for KMEA and kmapro. This PR continues the renames for the Sample and Test projects
2017-12-04 11:42:07 +07:00
darcywong00
3ea672edc5 Fix remaining references to keymanweb, and test chirality keyboard 2017-10-31 21:26:40 +07:00
darcywong00
0c560f308b Fix osk.defaultKeyOutput to handle characters beyond U_FFFF
`String.fromCharCode()` has a limitation to Unicode characters in the BMP. Change to `String.kmwFromCharCode()` to handle entire Unicode range.

Also clarified how default key codepoints are processed.

KeyboardHarness changes:
- Change text area font on keyboard change
- Added U_10481 to test longpress keyboard.
- Remove test tchad keyboard
2017-10-17 13:21:30 +07:00
darcywong00
ca89f90b86 Document which Unicode control codes are suppressed
Update comments explaning how control codes U_0000 to U_001F and U_0080 to U_009F are suppressed.

Also updated longpress test keyboard to test control codes.
2017-10-16 17:24:25 +07:00
darcywong00
cdd75ccf5f Refactor longpress logic so key text is not confused with key code
A tchad keyboard has a diacritic rule that converts `=` (U_003D) into a combining macron (U_0304).
A longpress on `»` (U_00BB) was inadvertently triggering the diacritic rule, and outputting the macron.

The longpress code in KMEA and KMW needs to be refactored so they dont confuse key text (U_00BB is decimal 187) with underlying keyCodes (`=` is keyCode 187).

- fix KMW executePopupKey so key code is dictionary lookup instead of parsing the keyID.
- clean up JS call to executePopupKey since it only uses the keyID
2017-10-12 14:21:29 +07:00
darcywong00
f06c727e51 Refactor longpress text when it's generated by Id
Currently on the touch layout, longpress for K_SPACE causes the app to crash because it is attempting to parse `K_SPACE` as an int for generating the longpress text.

- Clean up when key text is empty how it is parsed from Id
-Change Unicode hex string delimiter from `,0x` to `\\u` which makes it easier to read `executePopupKey()` in the logs.
2017-10-09 09:04:30 +07:00
darcywong00
3a30d23684 Clean up TestHarness
Fix onKeyboardChanged signature
2017-10-04 10:33:16 +07:00
darcywong00
d66f52b350 Update Samples and Tests projects for handler API change
Updates to new onKeyboardChanged signature

Also incorporated external keyboard support to KMSample2
2017-10-04 10:33:16 +07:00
darcywong00
f9f3dc7449 Document bitmasks and undo getActiveKeyboard refactor
* Document shift states and lock states in kmembedded.js, and standardize `lstates` parameter name
* Leave getActiveKeyboard() refactor as a TODO
2017-10-04 10:33:16 +07:00
darcywong00
353f09084e Change chirality test app to keyboardHarness
Per review comments
* Rename chirality to keyboardHarness
* Change namespace to com.keyman.android.tests.keyboardHarness
* Add readme.md for info
2017-10-04 10:33:16 +07:00