Marc Durdin
d4540e3c68
chore(developer): use caps for constants in xml-utils
2025-03-17 12:19:10 +07:00
Shawn Schantz
70265d49c3
docs(mac): add missing screenshot to install keyman page
2025-03-17 11:04:53 +07:00
Joshua Horton
1b8c2d8776
Merge pull request #13359 from keymanapp/fix/web/bksp-auto-cancel-on-new-input
...
fix(web): cancel held backspace on new key input
2025-03-17 08:39:36 +07:00
Joshua Horton
69cbd33f07
Merge pull request #13358 from keymanapp/chore/web/remove-dead-osk-code
...
chore(web): remove dead osk code
2025-03-17 08:39:24 +07:00
Joshua Horton
ca395c583a
Merge pull request #13333 from keymanapp/change/android/reorder-host-page-script-load
...
change(android): re-order host page script load so Sentry can report script load failures
2025-03-17 08:39:16 +07:00
Marc Durdin
7d5c98ddba
fix(developer): bump fast-xml-parser to 5.0.9
...
This is a major dependency version bump (4.5.0 to 5.0.9) which we would
normally avoid during beta. However, we need the fix
NaturalIntelligence/fast-xml-parser#725 for hex escapes in XML, which is
incorporated in 5.0.9.
I have assessed the other changes to fast-xml-parser and found no
breaking changes for us, but I tightened the types in xml-utils
declarations and found some minor inconsistencies which appear to have
no impact, and which I have corrected:
* wrong type in unused parameter to `tagValueProcessor`
* reference to unused property `options.emptyTag`
While doing this, I consolidated the common options for the parser in
order to verify consistency, but made no changes to the resolved
parsing/building options.
Added a test to ldml keyboard reading, to verify that numeric strings
are treated as strings, given the divergence in the `numberParseOptions`
option, and it shows that numeric strings are treated as strings.
Fixes : #13348
2025-03-17 06:22:29 +07:00
Marc Durdin
96a96bef15
fix(developer): add units tests to verify non-BMP numeric entities in XML reader
...
fast-xml-reader has a bug with numeric entities. See:
https://github.com/NaturalIntelligence/fast-xml-parser/issues/725
This commit adds a unit test to verify that non-BMP numeric entities
will be parsed correctly. It will fail until we update the
fast-xml-parser dependency.
Relates-to: #13348
2025-03-17 05:50:47 +07:00
Marc Durdin
d88f365fd6
Merge pull request #13506 from keymanapp/chore/merge-master-into-linux-mcompile
...
chore: merge master into linux-mcompile 🐘
2025-03-15 09:12:55 +07:00
Steven R. Loomis
7487a6bbbe
chore(developer): improve code coverage
...
- add a test for LdmlKeyboardCompiler.run()
- exclude generated abnf files from coverage
2025-03-14 17:20:23 -05:00
Steven R. Loomis
ae13b11ea4
feat(docs): update docs on kmxplus
...
- reinstate 'most or all sections' note
- reflow lines
Fixes : #9446
2025-03-14 15:40:35 -05:00
Steven R. Loomis
45c941ffaa
Merge branch 'master' into feat/core/9446-detect-bad-unicode-kmxplus
2025-03-14 15:38:47 -05:00
Steven R. Loomis
f1b3555114
feat(core,docs): improve kmxplus validation
...
- improve how validation works - a missing section does not mean an invalid section. distingush these.
- propagate errors for invalid sections
- update documentation of required sections
Fixes : #9446
2025-03-14 15:37:23 -05:00
Keyman Server
b392a5a9df
Merge pull request #13515 from keymanapp/auto/version-beta-18.0.216
...
auto: increment beta version to 18.0.216
2025-03-14 11:03:18 -07:00
Keyman Build Agent
ca716ba09f
auto: increment beta version to 18.0.216
2025-03-14 14:02:45 -04:00
Keyman Server
d1e45a0df4
Merge pull request #13514 from keymanapp/auto/version-master-19.0.15
...
auto: increment master version to 19.0.15
2025-03-14 11:01:56 -07:00
Keyman Build Agent
f4e88a7731
auto: increment master version to 19.0.15
2025-03-14 14:01:25 -04:00
Steven R. Loomis
cd002441e5
feat(core): check non-extended keys for bad unicode
...
- add test case
- turn this into not be an assert, so we can test it
Fixes : #9446
2025-03-14 10:04:21 -05:00
Steven R. Loomis
2e7b5b1417
feat(core): check non-extended keys for bad unicode
...
- also, use U+FFFD in core if it's a bad char
Fixes : #9446
2025-03-14 09:31:38 -05:00
Steven R. Loomis
b2c3a46283
feat(core) Update core/src/ldml/ldml_processor.cpp
...
map bad chars to U+0020
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-14 09:23:37 -05:00
Steven R. Loomis
2e50282087
Merge branch 'master' into feat/core/9446-detect-bad-unicode-kmxplus
2025-03-14 09:19:03 -05:00
Steven R. Loomis
a0c2daf25b
Merge pull request #13494 from keymanapp/chore/core/9446-kmx-plus-tests-gtest
...
feat(core): move kmx_plus.tests.cpp to GTest 🙀
2025-03-14 09:18:34 -05:00
Shawn Schantz
ad51bc0a53
docs(mac): configuration window and menu updates
2025-03-14 15:34:50 +07:00
Marc Durdin
39e519c5f5
Merge branch 'epic/linux-mcompile' into chore/merge-master-into-linux-mcompile
2025-03-14 10:58:16 +07:00
Marc Durdin
ea556f1b8e
Merge pull request #13498 from keymanapp/chore/b18s3-merge-beta-to-master
...
chore: B18S3 merge beta to master
2025-03-14 10:54:28 +07:00
Steven R. Loomis
b696e34001
feat(core): move kmx_plus.tests.cpp to GTest
...
- msvc global to UTF-8
2025-03-13 22:47:39 -05:00
Shawn Schantz
7ad7223ca5
docs(mac): updated screenshots for Keyboard settings
...
Fixes : #10706
2025-03-14 10:36:43 +07:00
Darcy Wong
166aae51d0
Merge pull request #13500 from keymanapp/chore/common/crowdin-it
...
chore(common): update crowdin strings for Italian
2025-03-14 10:27:33 +07:00
Darcy Wong
a0514682a4
Merge pull request #13499 from keymanapp/chore/common/crowdin-es-es-419
...
chore(android,windows): Update Crowdin for Spanish and Spanish (Latin America)
2025-03-14 10:27:18 +07:00
Darcy Wong
8643d0165d
Merge pull request #13491 from keymanapp/chore/common/privacy-sentry-link
...
docs(common): Update Sentry links to keyman.sentry.io
2025-03-14 10:21:53 +07:00
Marc Durdin
780ca714a1
chore(developer): reduce kmc-ldml coverage threshold to 75%
...
kmc-ldml no longer meets the 90% coverage threshold with recent changes
in 19.0-alpha. With the fix from #13418 , this now causes the build to
fail. Coverage should be increased with additional tests in kmc-ldml,
but this is a stopgap to allow builds to continue to pass.
2025-03-14 09:48:45 +07:00
Darcy Wong
2e896e316f
chore(common): Update crowdin strings for Italian
2025-03-14 09:23:26 +07:00
Darcy Wong
d45365aee5
chore(windows): Update crowdin strings for Spanish (Latin America)
2025-03-14 09:13:07 +07:00
Darcy Wong
00552cb06c
chore(android): update crowdin strings for Spanish (Latin America)
2025-03-14 09:12:49 +07:00
Darcy Wong
10def2de29
chore(windows): Update crowdin strings for Spanish
2025-03-14 09:10:46 +07:00
Darcy Wong
41a13cab2e
chore(android): Update crowdin strings for Spanish
2025-03-14 09:10:31 +07:00
Marc Durdin
1a0b830c0b
Merge branch 'master' into chore/b18s3-merge-beta-to-master
2025-03-14 08:54:50 +07:00
Steven R. Loomis
289151c990
feat(core): move kmx_plus.tests.cpp to GTest
...
- set kmx_plus_tests.cpp to UTF-8
2025-03-13 17:34:37 -05:00
Steven R. Loomis
d9602cede1
feat(core): assert that no noncharacter emitted from ldml_processor
...
- not counting markers, which have a special path
Fixes : #9446
2025-03-13 17:22:37 -05:00
Steven R. Loomis
1132fe5845
feat(core): tests for check on load for valid kmx_plus unicode
...
- turn off some asserts- makes untestable
(there are asserts at 'higher levels' such as loading the entire kmx+)
- add a test with a synthesized COMP_KMXPLUS_STRS - a valid and an invalid one
Fixes : #9446
2025-03-13 17:15:21 -05:00
Steven R. Loomis
fba5f72844
feat(core): tests for check on load for valid kmx_plus unicode
...
Fixes : #9446
2025-03-13 16:44:31 -05:00
Steven R. Loomis
05f3e3ca52
Merge branch 'chore/core/9446-kmx-plus-tests-gtest' into feat/core/9446-detect-bad-unicode-kmxplus
2025-03-13 15:06:31 -05:00
Steven R. Loomis
1306cf8760
feat(core): move kmx_plus.tests.cpp to GTest
...
- also update test_assert.h to vector to GTest if present
2025-03-13 15:05:55 -05:00
Keyman Server
1e2d3e73b1
Merge pull request #13493 from keymanapp/auto/version-beta-18.0.215
...
auto: increment beta version to 18.0.215
2025-03-13 11:03:22 -07:00
Keyman Build Agent
c91d924aa9
auto: increment beta version to 18.0.215
2025-03-13 14:02:44 -04:00
Darcy Wong
84f7da519a
docs(common): Update Sentry links to keyman.sentry.io
...
The previous redirect from sentry.keyman.com is long-gone, so this updates all the links.
2025-03-13 16:33:52 +07:00
Marc Durdin
1e4719c823
Merge pull request #13479 from keymanapp/fix/developer/13469-strip-markers-in-kvk-generation
...
fix(developer): strip markers when generating KVK from LDML
2025-03-13 13:19:37 +07:00
Marc Durdin
27e53011af
Merge pull request #13450 from keymanapp/fix/core/13419-uset-unaligned
...
fix(core): unalign `usetCount` and `rangeCount`
2025-03-13 13:19:04 +07:00
Shawn Schantz
1d2febae3f
Merge pull request #13476 from keymanapp/docs/mac/security-troubleshooting
...
docs(mac): update troubleshooting page for macOS security
2025-03-13 13:09:54 +07:00
Shawn Schantz
1a12ac1d3c
Merge pull request #13480 from keymanapp/fix/mac/privacy-alert-change
...
fix(mac): change text in privacy alert for macOS 13.0 and later
2025-03-13 13:09:28 +07:00
Steven R. Loomis
2c2bfe7f15
feat(core): check on load for valid kmx_plus unicode
...
- error out if failure
Fixes : #9446
2025-03-12 17:45:47 -05:00