Commit graph

29153 commits

Author SHA1 Message Date
Eberhard Beilharz
ed22cc00a6
fix(common): rename test file
This change renames a new test file and moves it to the new location.
This file was overlooked in #12709.
2024-12-04 10:44:05 +01:00
Eberhard Beilharz
9a6e33652a
Merge pull request #12709 from keymanapp/chore/common/rename-tests
chore(common): rename test files
2024-12-04 09:03:07 +01:00
Marc Durdin
0eea6b4c67
Merge pull request #12768 from keymanapp/fix/developer/12765-improve-hint-for-non-matching-script
fix(developer): honour provided script when checking for matching scripts
2024-12-04 08:47:34 +01:00
Marc Durdin
4c3b2132ee chore(core): remove km_core_keyboard_load API
Fixes: #12497
2024-12-04 13:38:07 +07:00
Marc Durdin
148938eb1d fix(developer): honour provided script when checking for matching scripts
Fixes: #12765
2024-12-04 12:51:00 +07:00
Shawn Schantz
4ddcfc925f
Merge pull request #12760 from keymanapp/refactor/mac/12499-load-keyboard-from-blob
refactor(mac): pass kmx data blob to keyman core instead of file path
2024-12-04 11:05:49 +07:00
sgschantz
3dd5207252 chore(mac): update SIL logo in About window to include Andika glyph
Fixes: #12159
2024-12-04 10:47:12 +07:00
Keyman Server
00815e3b2d
Merge pull request #12763 from keymanapp/auto/version-master-18.0.152
auto: increment master version to 18.0.152
2024-12-03 10:01:54 -08:00
Keyman Build Agent
f1f026029d auto: increment master version to 18.0.152 2024-12-03 13:01:20 -05:00
Dr Mark C. Sinclair
47794cfe21 chore(common/web): add two test cases for null key text and non-null key bitmap 2024-12-03 12:54:40 +00:00
Eberhard Beilharz
cbbb643ed0
chore(common): rename common/web/types/test to .../tests
Addresses code review comment.
2024-12-03 13:53:13 +01:00
Dr Mark C. Sinclair
c0beb2236b chore(common/web): adjust initVisualKeyboardKey() and checkBuilderKvkKey() to cope with some null inputs 2024-12-03 12:38:55 +00:00
Dr Mark C. Sinclair
2493e2bc85 chore(common/web): add three commented-out build() test cases for null strings that would currently fail 2024-12-03 12:26:08 +00:00
Dr Mark C. Sinclair
11556a8009 fix(common/web): delete replaceExtension() tests 2024-12-03 11:24:58 +00:00
Dr Mark C. Sinclair
e197a889ce fix(common/web): delete replaceExtension 2024-12-03 11:17:33 +00:00
Dr Mark C. Sinclair
103009ffcf chore(common/web): Merge branch 'test/common/web/types/9052-unit-tests-file-types' into test/common/web/types/9052-unit-tests-kvk-file-writer 2024-12-03 11:00:41 +00:00
Dr Mark C. Sinclair
15a171f871 chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-file-types 2024-12-03 10:52:21 +00:00
Marc Durdin
c233208d32
Merge pull request #12753 from keymanapp/feat/developer/12752-hint-on-lang-script-mismatch
feat(developer): report on mismatching lang tag scripts when building keyboard-info
2024-12-03 08:29:15 +01:00
Darcy Wong
7794d2d97b
Merge pull request #12745 from keymanapp/feat/fv/enter-key
feat(android): Enhance how ENTER key is handled for FV and KMSample2
2024-12-03 13:34:26 +07:00
sgschantz
8bc144b6d1 refactor(mac): raise exception when unable to read kmx data 2024-12-03 10:48:57 +07:00
Steven R. Loomis
f4f0355109 feat(developer): local imports directory fixes
- use path.join instead of path.resolve
- rename importsPath to cldrImportsPath
- remove k_015_importlocal from core, as it duplicated tests in common and developer

Fixes: #10649
2024-12-02 15:40:54 -06:00
Keyman Server
8dc62e7118
Merge pull request #12755 from keymanapp/auto/version-master-18.0.151
auto: increment master version to 18.0.151
2024-12-02 10:04:13 -08:00
Keyman Build Agent
a169da746d auto: increment master version to 18.0.151 2024-12-02 13:03:34 -05:00
Steven R. Loomis
48da8fd613
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-12-02 11:55:13 -06:00
Steven R. Loomis
75d172a6cb
Merge branch 'feat/developer/7394-verify-normalization-epic-ldml' into feat/developer/10649-local-imports 2024-12-02 11:37:29 -06:00
Steven R. Loomis
17185d79a9
Merge branch 'master' into feat/developer/7394-verify-normalization-epic-ldml 2024-12-02 11:36:21 -06:00
Steven R. Loomis
6f2a6b2ebf feat(common,developer): tests and warning on denormalized content per review comments
- report a warning on each separate instance of a denormalized string (once per string).

Fixes: #7394
2024-12-02 11:35:06 -06:00
sgschantz
42ba0a4aab refactor(mac): pass kmx data blob to keyman core instead of file path
Fixes: #12499
2024-12-02 17:08:46 +07:00
sgschantz
c47fab0735 fix(ios): use UIScreen.main.bounds to determine orientation
viewWillTransition size argument does not reflect device bounds
2024-12-02 14:38:29 +07:00
sgschantz
3e54255690 fix(ios): check view changes during device rotation 2024-12-02 13:56:06 +07:00
Marc Durdin
f3191b9297 feat(developer): report on mismatching lang tag scripts when building keyboard-info
This went into kmc-keyboard-info because we already do a lot of
processing there against langtags.json, whereas we do not currently have
langtags.json in kmc-package.

Adds an associated unit test.

Fixes: #12752
2024-12-02 12:20:26 +07:00
Marc Durdin
f747984669
Merge pull request #12715 from keymanapp/fix/core/12619-disable-assertions-vcwin-release-build
fix(core,developer): use `NDEBUG` flag to disable assertions in release build
2024-12-02 02:02:40 +01:00
Marc Durdin
f97a19db91 chore(core): build parameters 2024-12-02 07:21:30 +07:00
Keyman Server
ca9ac8135b
Merge pull request #12751 from keymanapp/auto/version-master-18.0.150
auto: increment master version to 18.0.150
2024-12-01 10:01:46 -08:00
Keyman Build Agent
6ee1bd659f auto: increment master version to 18.0.150 2024-12-01 13:01:13 -05:00
Marc Durdin
9a01ac166d chore(core): Merge branch 'master' into fix/core/12619-disable-assertions-vcwin-release-build 2024-12-01 16:17:21 +07:00
Marc Durdin
cd8825d504
Merge pull request #12736 from keymanapp/refactor/developer/unify_test_action
refactor(developer): unify test action
2024-12-01 00:14:11 +01:00
Steven R. Loomis
f4b7e0aea3
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-11-29 22:13:25 -06:00
Steven R. Loomis
9e2b8d0d8c feat(core): improvements for get_key_list()
- reintroduce example keycaps

Fixes: #12298
2024-11-29 18:28:05 -06:00
Steven R. Loomis
7f3bd30961 feat(core): improvements for get_key_list()
- expand OTHER and ALT / CTRL appropriately
- add KM_CORE_MODIFIER_NONE=0
- disable test of get_key_list() for now

Fixes: #12298
2024-11-29 17:25:31 -06:00
Steven R. Loomis
d92dc175c2 chore(core): update to ldmL_test_source.cpp 2024-11-29 15:47:30 -06:00
Steven R. Loomis
29db34f252 chore(core): update to ldmL_test_source.cpp 2024-11-29 15:40:48 -06:00
Steven R. Loomis
c9643642a8 Merge remote-tracking branch 'origin/master' into fix/core/12298-get-key-list 2024-11-29 15:33:53 -06:00
Steven R. Loomis
b1b6587a79 feat(core): test local imports in kmc
Fixes: #10649
2024-11-29 14:19:35 -06:00
Steven R. Loomis
01fed4b2ab feat(developer): test local imports in kmc-ldml
- also improve callback visibility when XML fails to load

Fixes: #10649
2024-11-29 14:11:29 -06:00
Steven R. Loomis
e99f6ac46a feat(developer): support local imports in kmc
- basic changes to support local imports

Fixes: #10649
2024-11-29 13:56:41 -06:00
Steven R. Loomis
01a47c3ea9 feat(developer): support local imports
- added a new reader callback option, localImportsPaths
- due to the CLDR issue #12749 use base=""
- add tests
- some bugfixes in import messages
- add an ImportStatus section to determine if something is a local import

Fixes: #10649
2024-11-29 13:48:21 -06:00
Steven R. Loomis
add502e1a9 feat(common,developer): tests and warning on denormalized content
- common: shift the 'strs' processing slightly, because otherwise we normalize to NFD before even tracking the strings
- if any string is neither NFC nor NFD, give a warning
- add tests for the same

Fixes: #7394
2024-11-29 12:16:11 -06:00
Keyman Server
a4b6ce7c78
Merge pull request #12747 from keymanapp/auto/version-master-18.0.149
auto: increment master version to 18.0.149
2024-11-29 10:02:12 -08:00
Keyman Build Agent
e50e46a226 auto: increment master version to 18.0.149 2024-11-29 13:01:39 -05:00