Commit graph

27982 commits

Author SHA1 Message Date
Eberhard Beilharz
59729b0ea0
Merge pull request #10538 from keymanapp/chore/core/fixbuild
chore(core): `process_output_action` needs const `output_utf32` parameter 🌱
2024-01-30 10:34:08 +01:00
Marc Durdin
6672f0a019 chore(developer): disable .js output for LDML keyboard compiler for 17.0
Fixes #10547.

In order to prevent confusion, the stubbed and incomplete .js files
generated by the LDML keyboard compiler are no longer emitted for
version 17.0 release.
2024-01-30 15:07:55 +07:00
Marc Durdin
be9f4c8c6d fix(developer): make sourcePath calculation for kmc-keyboard-info more lenient
Fixes #10542.

The `sourcePath` attribute should only be added to a .keyboard_info file
if the file is actually in an expected folder matching a pattern like
`(release|legacy|experimental)/k/keyboard`.

If the path does not match that pattern, then we just omit the field in
the emitted .keyboard_info or .model_info file.
2024-01-30 14:51:59 +07:00
Marc Durdin
898310e6df fix(developer): kmc exit needs to wait for Sentry
Fixes #10488:

1. Use a consistent `exitProcess()` function so that we always wait for Sentry to do its thing.
2. Make `KeymanSentry.isEnabled()` non-async because it is synchronous.
3. Remove duplicate initialization of `KeymanSentry` in kmc.ts.
2024-01-30 14:41:11 +07:00
rc-swag
1e554c8804 feat(windows): don't write persisted option back to core
When the action from the core is to persist an option there
is no need to write that value back to the core as it has already
been updated, by the core.
2024-01-30 15:42:17 +10:00
rc-swag
d8c232dc7c feat(windows): refactor to use km_core_actions struct 2024-01-30 14:07:55 +10:00
Joshua A. Horton
d3eb3dd507 chore(web): tweaks test-page keyboard to also test this PR's fix 2024-01-30 10:17:12 +07:00
Joshua A. Horton
b6f043462f docs(web): tweaks comment re unexpected issue fix 2024-01-30 10:15:53 +07:00
Joshua A. Horton
71f4c46634 fix(web): ensure use of actual key-cap / label font in key-scale ops 2024-01-30 10:10:57 +07:00
Joshua A. Horton
add5d169a1 fix(web): proper await for special-osk font, use of it in key scaling 2024-01-30 10:09:32 +07:00
Marc Durdin
4c95fef55a
Merge pull request #10533 from keymanapp/feat/core/10530-actions-deleted-context
feat(core): add `deleted_context` to `km_core_actions` struct 🌱
2024-01-30 11:46:10 +11:00
Marc Durdin
46d162d95d
Merge pull request #10532 from keymanapp/fix/developer/10501-ldml-debugger-surrogate-pairs
fix(developer): support surrogate pairs in ldml debugger 🌱
2024-01-30 11:45:57 +11:00
Marc Durdin
868247e9fe chore(core): address review comments 2024-01-30 07:36:52 +07:00
Keyman Server
c9ed30f373
Merge pull request #10540 from keymanapp/auto/version-master-17.0.256
auto: increment master version to 17.0.256
2024-01-30 01:30:13 +07:00
Keyman Build Agent
330752bab7 auto: increment master version to 17.0.256 2024-01-29 13:29:44 -05:00
Eberhard Beilharz
60746e02d0
chore(core): Fix compilation error 2024-01-29 18:00:14 +01:00
Eberhard Beilharz
6b5b44eddd
fix(linux): Fix packaging on Ubuntu and Debian servers
When building packages warnings are treated as errors. When building on
Ubuntu and Debian servers we don't have a patched ibus version but still
want to build the packages. So this change outputs a message instead of
a warning when building packages.
2024-01-29 17:50:04 +01:00
Eberhard Beilharz
eeb03e1c0c
Merge pull request #10483 from jbicha/webkit4.1
chore(linux): Build with webkitgtk 4.1 instead of 4.0
2024-01-29 16:59:54 +01:00
Eberhard Beilharz
9183185b8c
Merge pull request #10480 from keymanapp/refactor/linux/10353_actionstruct
refactor(linux): Use `km_core_actions` struct instead of queue 🌱
2024-01-29 16:59:17 +01:00
Eberhard Beilharz
7ec33eb4b3
Merge pull request #10439 from keymanapp/fix/core/10100-ContextNuances
fix(core): Fix nuances when updating context 🌱
2024-01-29 16:52:36 +01:00
Steven R. Loomis
5ce6490a1f feat(developer): dev side norm 🙀
- repertoire test needed normalization also

For: #10317
2024-01-29 09:31:48 -06:00
Steven R. Loomis
8482f26bcd
Merge branch 'master' into feat/developer/10317-compiler-norm-epic-ldml 2024-01-29 08:37:46 -06:00
Steven R. Loomis
1e04746b21 feat(developer): dev side norm 🙀
- re-sort string by NFD

For: #10317
2024-01-29 08:37:23 -06:00
Steven R. Loomis
a504d4f4e2
Merge pull request #10527 from keymanapp/feat/developer/10516-marker-norm-epic-ldml
feat(developer): ldml marker normalization fix 🙀
2024-01-29 08:28:57 -06:00
Eberhard Beilharz
2ebca107e0
chore(core): Fix build failures 2024-01-29 12:17:27 +01:00
Eberhard Beilharz
5404c02315
chore(core): Merge remote-tracking branch 'origin/epic/core/9999-normalization' into fix/core/10100-ContextNuances
# Conflicts:
#	core/tests/unit/kmnkbd/state_context_api.cpp
2024-01-29 12:05:17 +01:00
Joshua A. Horton
aec212b079 chore(web): Merge branch 'fix/web/keyboard-documentation-font-sizing' into feat/web/font-load-key-scale-test 2024-01-29 16:02:48 +07:00
Joshua A. Horton
5afa7feab5 chore(web): Merge branch 'fix/web/await-font-load' into fix/web/keyboard-documentation-font-sizing 2024-01-29 15:56:13 +07:00
Joshua A. Horton
330dd17b52 fix(web): should not link in empty sheets 2024-01-29 15:55:44 +07:00
Joshua A. Horton
670e44215a feat(web): testing page for font-load / key-scale interactions 2024-01-29 13:30:57 +07:00
Joshua A. Horton
5fb3d9f6a8 fix(web): promise-clearing on error, encoding of font URIs 2024-01-29 13:30:56 +07:00
Joshua A. Horton
8144999cf3 chore(web): post-drop logic simplification 2024-01-29 13:30:56 +07:00
Joshua A. Horton
a3662b6f76 chore(web): drops svg, eot 2024-01-29 13:30:55 +07:00
Marc Durdin
8501f2aa6d feat(core): add deleted_context to km_core_actions struct
Fixes #10530.

Adds the deleted_context member to the km_core_actions struct, and
associated unit tests. Simplifies integration by providing the consumer
with all the data they need in order to execute the transform,
specifically around number of delete operations required, without
needing to query the target application context again. The number of
delete operations will vary according to application compliance and
selected encoding; for example a UTF-16 string may require 2
delete-backs for surrogate pairs in the text buffer for a compliant app,
whereas there will be a single delete-back key event for a non-compliant
app.

The deleted_context member should also be used for debug assertions.
2024-01-29 13:21:25 +07:00
Shawn Schantz
2ede49035a
Merge pull request #10446 from keymanapp/chore/ios/8737-remove-xcglogger
chore(ios): eliminate xcglogger dependency
2024-01-29 12:31:37 +07:00
Shawn Schantz
0d6facb443
Merge branch 'master' into chore/ios/8737-remove-xcglogger 2024-01-29 12:30:57 +07:00
Marc Durdin
0e16d7218b fix(developer): support surrogate pairs in ldml debugger
Fixes #10501.
2024-01-29 10:57:58 +07:00
Keyman Server
d4f8162ee6
Merge pull request #10529 from keymanapp/auto/version-master-17.0.255
auto: increment master version to 17.0.255
2024-01-28 01:02:20 +07:00
Keyman Build Agent
948cf597a4 auto: increment master version to 17.0.255 2024-01-27 13:01:50 -05:00
Steven R. Loomis
1e3ae9b8f6 feat(developer): dev side norm 🙀
- normalize in key.to, tran.from, tran.to
- add as an option in the strs pipeline

- also, assertCodePoints utility for asserting with escapes

For: #10317
2024-01-26 19:10:00 -06:00
Steven R. Loomis
6ca5a29675 chore(developer): ldml add tests expecting dev side norm 🙀
- also, change this.X to Class.X for statics

For: #10317
2024-01-26 18:06:31 -06:00
Steven R. Loomis
6c59835b27
Merge branch 'master' into feat/developer/10516-marker-norm-epic-ldml 2024-01-26 14:55:23 -06:00
Steven R. Loomis
a643c48ec4
Merge pull request #10517 from keymanapp/feat/core/10516-marker-norm-epic-ldml
feat(core): ldml marker normalization fix 🙀
2024-01-26 14:54:48 -06:00
Steven R. Loomis
44d8ba7198 feat(developer): ldml marker normalization fix 🙀
- ts side

For: #10516
2024-01-26 14:54:15 -06:00
Steven R. Loomis
580e372a7e feat(core): ldml marker normalization fix 🙀
- document per code review

For: #10516
2024-01-26 14:45:54 -06:00
Keyman Server
35966c3ddd
Merge pull request #10525 from keymanapp/auto/version-master-17.0.254
auto: increment master version to 17.0.254
2024-01-27 01:02:54 +07:00
Keyman Build Agent
d38ae4011f auto: increment master version to 17.0.254 2024-01-26 13:02:19 -05:00
Marc Durdin
adce514a71 chore(developer): kmc ldml build - call c8 directly for tests 2024-01-26 11:34:35 +07:00
Marc Durdin
5c63ec588e
Merge pull request #10474 from keymanapp/fix/developer/10470-ldml-keyboard-template
fix(developer): tidy up LDML keyboard project template 🌱
2024-01-26 15:31:27 +11:00
Marc Durdin
95d3261a8a
Merge pull request #10473 from keymanapp/fix/developer/10469-use-keyboard3-tag
fix(developer): use keyboard3 tag rather than DTD to identify LDML keyboard xml files 🌱
2024-01-26 15:31:14 +11:00