Commit graph

27982 commits

Author SHA1 Message Date
Marc Durdin
c280870672
Merge pull request #10381 from keymanapp/refactor/mac/10365-context-debug
refactor(mac): remove unused context calls 🌱
2024-01-16 13:39:06 +11:00
Marc Durdin
a1935fa232
Merge pull request #10380 from keymanapp/refactor/windows/10365-context-debug
refactor(windows): use `km_core_state_context_debug` 🌱
2024-01-16 13:38:54 +11:00
Marc Durdin
166e4bce97
Merge pull request #10379 from keymanapp/refactor/linux/10365-context-debug
refactor(linux): use `km_core_state_context_debug` 🌱
2024-01-16 13:38:46 +11:00
Marc Durdin
707f711440
Merge pull request #10377 from keymanapp/feat/core/10365-context-debug
feat(core): add `km_core_state_context_debug` API 🌱
2024-01-16 13:38:40 +11:00
Marc Durdin
c8ee73321b
chore: Apply suggestions from code review 2024-01-16 13:33:00 +11:00
Darcy Wong
fdb14f2582 chore(android): Update targetSdkVersion to 34 2024-01-16 09:26:24 +07:00
Darcy Wong
6b79624a88
Merge pull request #10373 from keymanapp/fix/android/deprecated-rotation
fix(android): Fix OSK rotation issues
2024-01-16 08:33:56 +07:00
Steven R. Loomis
eb39bba374 chore(developer,core): change sample and test files to use \u{…} 🙀
- #10389 will require this, but at least change the test files

#10319
2024-01-15 17:27:41 -06:00
Marc Durdin
0878ee3b56 feat(core): seed Keyman Core normalization
Relates to #9999
2024-01-16 06:21:38 +07:00
Marc Durdin
8abab53988 chore(core): Merge branch 'feat/core/10365-context-debug' into feat/core/9999-normalization-of-context
Note: shifted minor changes from action_api.cpp to new
state_context_api.cpp.
2024-01-16 06:16:45 +07:00
Marc Durdin
bd870de672
chore: Apply suggestions from code review
Co-authored-by: Steven R. Loomis <srl295@gmail.com>
2024-01-16 10:01:35 +11:00
Marc Durdin
df177569a5 chore(linux): libkeymancore.symbols to .244 2024-01-16 05:55:02 +07:00
Marc Durdin
ba3290de75 chore(core): Merge branch 'master' into feat/core/10365-context-debug
Note: resolved merge conflict with action_api.cpp by shifting new code
into state_context_api.cpp.
2024-01-16 05:46:36 +07:00
Steven R. Loomis
c0928e1835
Merge branch 'master' into feat/core/10319-escaping-you-epic-ldml 2024-01-15 16:45:38 -06:00
Steven R. Loomis
a5ae4e3b25 feat(developer): don't re-escape non-syntax chars 🙀
- \u{0300} needs to turn back into an actual char, so normalization gets an opportunity to run.

#10319
2024-01-15 16:39:38 -06:00
Marc Durdin
a11fc7f46b
Merge pull request #10386 from keymanapp/chore/core/IgnoreC++Symbols
chore(core): Ignore C++ symbols
2024-01-16 09:27:57 +11:00
Steven R. Loomis
ab67061843 feat(core): 32 bit escapades 🙀
- improved test code and marker parsing

#10319
2024-01-15 14:07:19 -06:00
Steven R. Loomis
e0a2ce22d7 feat(developer): 32 bit escapades 🙀
- basic.txt fixup

#10319
2024-01-15 14:06:50 -06:00
Keyman Server
c0eb6bff7d
Merge pull request #10387 from keymanapp/auto/version-master-17.0.245
auto: increment master version to 17.0.245
2024-01-16 01:03:44 +07:00
Keyman Build Agent
bc987b4bb6 auto: increment master version to 17.0.245 2024-01-15 13:03:13 -05:00
Eberhard Beilharz
15d87963b2
chore(core): Ignore C++ symbols
We have a C API, but (internal) C++ template instantiations are visible
and so get flagged by `dpkg-gensymbols`. This change ignores the one
use of C++ by marking it optional. This is listed as a usage scenario
in the dpkg-gensymbols man page.

Note this requires a change how we call dpkg-gensymbols: if the `-O`
parameter is specified, the file is not treated as being a template file
(see man deb-src-symbols) and so the tags are not interpreted.
Additionally the file gets overwritten with the non-tag version. So this
change removes the `-O` parameter, and changes the archiving of the
generated file.
2024-01-15 18:47:53 +01:00
Marc Durdin
e853a6859a chore(mac): another test typo 2024-01-15 19:51:56 +07:00
Marc Durdin
8334325316 chore(mac): typo in test 2024-01-15 15:49:41 +07:00
Eberhard Beilharz
9afe4bd147
Merge pull request #10374 from keymanapp/docs/linux/settings
docs(linux): Update sample settings
2024-01-15 09:24:45 +01:00
Joshua A. Horton
726adf73c5 chore(web): Merge branch 'master' into feat/web/fancy-suggestion-banner 2024-01-15 14:11:11 +07:00
Marc Durdin
6aef3090e0 chore(mac): missing square brackets 2024-01-15 13:39:41 +07:00
Joshua Horton
0cb429d788
Merge pull request #10371 from keymanapp/fix/web/special-text-hints
fix(web): use KMW OSK font for "**" special-text in key hints
2024-01-15 13:30:38 +07:00
Marc Durdin
6999b248bd chore(mac): update one more test 2024-01-15 13:26:43 +07:00
Marc Durdin
84785fdd9a chore(core): wasm linker flags 2024-01-15 13:23:29 +07:00
Marc Durdin
aea95c4f9d chore(mac): use only debug context functions 2024-01-15 13:12:15 +07:00
Marc Durdin
932ad9d1df chore(core): add unit test deps for wasm 2024-01-15 12:50:41 +07:00
Marc Durdin
bd46fb271b feat(core): unit tests need to set both app context and cached context 2024-01-15 12:34:00 +07:00
Marc Durdin
036c32af1f feat(core): normalize input context
First half of #9999.

Adds support for normalization (to NFD) of input app context into the
cached context. The keyboard processor will work with the NFD cached
context.

Adds unit tests for the normalization as part of the LDML keyboard
processor test suite.

TODO:
* Comparing modified cached context to app context to determine the
  transform required to send to the app
* Handling illegal unicode and unpaired surrogates on input context
2024-01-15 11:50:16 +07:00
Marc Durdin
cd69405960 feat(core): add app_context and failing tests
Adds the application context member of state and a corresponding,
failing unit test, which starts the process of verifying the handling
of the application context.
2024-01-15 11:50:15 +07:00
Joshua Horton
0bb5884c89
chore(web): Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-01-15 08:56:08 +07:00
Marc Durdin
a1fbbd1ab5 refactor(mac): remove unused context calls 2024-01-15 08:39:30 +07:00
Marc Durdin
779196e1fd
Merge pull request #10364 from keymanapp/feat/developer/10191-warn-on-gestures-downlevel
feat(developer): warn on gesture support for downlevel
2024-01-15 12:34:37 +11:00
Marc Durdin
91291bd4bc
Merge pull request #10375 from keymanapp/refactor/core/state-context-tests
refactor(core): Move `km_core_state_context_*` tests to separate file
2024-01-15 12:34:12 +11:00
Marc Durdin
7cd7ab3346 refactor(windows): use km_core_state_context_debug
Relates to #10365.
2024-01-15 08:29:27 +07:00
Marc Durdin
307f7da846 refactor(linux): use km_core_state_context_debug
Relates to #10365.
Fixes #10378.
2024-01-15 08:27:01 +07:00
Marc Durdin
1b29ad32f9 chore(linux): update .symbols 2024-01-15 08:26:43 +07:00
Marc Durdin
9868de5abc
Merge branch 'master' into feat/core/10365-context-debug 2024-01-15 12:06:03 +11:00
Marc Durdin
bafe43315c
chore: Update core/src/km_core_state_api.cpp 2024-01-15 12:05:42 +11:00
Marc Durdin
32ee4bc386 fix(core): typedef enum 2024-01-15 08:00:32 +07:00
Marc Durdin
bfb26eaf64 feat(core): adds km_core_state_context_debug
Fixes #10365.

Adds a `km_core_state_context_debug` function that returns a km_core_cp
string containing the current cached or intermediate context. The
function must be used only for debug logging purposes -- the string is
not intended to parsed for other purposes and the format may change in
the future.

This commit adds the function and corresponding unit tests. Subsequent
commits will update existing context debug functions in various engines
to use this API endpoint instead.
2024-01-15 07:19:31 +07:00
Steven R. Loomis
c5d0e0525e feat(developer): 32 bit escapades 🙀
- escaping working, matching not yet

#10319
2024-01-13 12:55:51 -06:00
Steven R. Loomis
04bce67d03 feat(developer): 32 bit escapades 🙀
- match sentinels as \\u…
- support \Uxxxxxxxx for >0xffff
- more escaping stuff

#10319
2024-01-12 23:21:38 -06:00
Keyman Server
c42c28796c
Merge pull request #10376 from keymanapp/auto/version-master-17.0.244
auto: increment master version to 17.0.244
2024-01-13 01:04:06 +07:00
Keyman Build Agent
95f7609e77 auto: increment master version to 17.0.244 2024-01-12 13:03:32 -05:00
Eberhard Beilharz
141b85814e
refactor(core): Move km_core_state_context_* tests to separate file
It was fairly surprising to have the unit tests for
`km_core_state_context_*` methods in `action_api.cpp`, so this change
moves them to a separate file.
2024-01-12 15:34:32 +01:00