Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
d23208ac9e chore(developer): add msec in comment 2024-06-18 07:36:35 +10:00
Marc Durdin
a9f6f7baeb test(developer): add unit test for CERR_NonBMPCharactersNotSupportedInKeySection
Fixes: #11643
2024-06-18 07:18:05 +10:00
Marc Durdin
e081e0c72e fix(developer): check HISTORY.md to get last modified date for keyboard_info and model_info
This updates the calculation of the lastModifiedDate property of the
.keyboard_info and .model_info file. It now looks for the most recent
commit to HISTORY.md, and then falls back to the project folder for
.keyboard_info and .model_info.

getLastGitCommitDate now also returns UTC date (it was giving TZ=0
which is affected by daylight saving), and works for a file rather than
just for a folder, and a corresponding unit test has been added.

The date strings returned will now always include '.000' msec suffix. I
have manually verified that the import into the api.keyman.com database
copes with this, and that this change still conforms to the expected
schema for .keyboard_info and .model_info files.

Last, but important, it turned out that the unit tests for kmc were not
running. This has been resolved in kmc/build.sh.

Fixes: #11793
2024-06-18 07:03:08 +10:00
Marc Durdin
72aa772e20 test(developer): add fixture for getLastGitCommitDate unit test 2024-06-18 06:44:20 +10:00
Keyman Server
2361ca489f
Merge pull request #11804 from keymanapp/auto/version-master-18.0.58
auto: increment master version to 18.0.58
2024-06-17 11:06:08 -07:00
Keyman Build Agent
5c98e86b58 auto: increment master version to 18.0.58 2024-06-17 14:03:54 -04:00
Sabine
bfea2fa521 feat(linux): change gitignore 2024-06-17 19:20:46 +02:00
Eberhard Beilharz
2ebb0bd554
Merge pull request #11775 from keymanapp/fix/linux/restartibus
fix(linux): restart ibus after manual integration test run
2024-06-17 17:41:36 +02:00
Sabine
fa192039b5 feat(linux): rework deadkey.cpp/.h format document 2024-06-17 17:25:03 +02:00
Sabine
4cf80439f0 feat(linux): rework deadkey.cpp/.h 2024-06-17 17:21:56 +02:00
Steven R. Loomis
a16608e229
Merge branch 'master' into test/core/10968-minimum-ldml-test 2024-06-17 08:24:11 -05:00
Steven R. Loomis
38c6fe1ba3
Merge pull request #11778 from keymanapp/feat/core/9467-remove-icu-for-wasm-epic-ldml
feat(core): remove ICU from core under wasm 🙀
2024-06-17 08:22:38 -05:00
Steven R. Loomis
e580043538
Merge pull request #11777 from keymanapp/feat/core/9467-devolve-regex-to-js2-epic-ldml
feat(core): devolve regex to javascript 🙀
2024-06-17 08:22:22 -05:00
Dr Mark C. Sinclair
1dd8c0e8ca chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-2
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-06-17 12:56:42 +01:00
Dr Mark C. Sinclair
628aa26c8b
Merge pull request #11779 from keymanapp/kmcmplib-fails-native-compilation-under-linux
fix(developer): make native compilation of kmcmplib under Linux possible
2024-06-17 12:54:54 +01:00
Dr Mark C. Sinclair
0806d5bd38 fix(developer): correct backslashes in gtest-compmsg-test.cpp 2024-06-17 10:39:14 +01:00
Dr Mark C. Sinclair
6808759488 fix(developer): Merge branch 'master' into kmcmplib-fails-native-compilation-under-linux 2024-06-17 10:32:47 +01:00
Dr Mark C. Sinclair
ef03237c2c fix(developer): minor changes from review 2024-06-17 10:28:04 +01:00
Dr Mark C. Sinclair
9582d130b5 chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests-2
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-06-17 10:06:05 +01:00
Dr Mark C. Sinclair
bed77111bb
Merge pull request #11738 from keymanapp/fix/developer/refactor-kmcmplib-compiler-messages-to-use-map
fix(developer): refactor kmcmplib compiler messages to use map
2024-06-17 10:03:33 +01:00
Dr Mark C. Sinclair
2e8bdb79be chore(developer): Merge branch 'master' into fix/developer/refactor-kmcmplib-compiler-messages-to-use-map
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-06-17 09:59:52 +01:00
Joshua A. Horton
6b565cad93 change(common): set package to node 22 only 2024-06-17 15:11:57 +07:00
Joshua A. Horton
8f0a8bf0c1 change(web): change after-word whitespace check to be more selective
Now only skips emitting the after-word text if it is the immediate prefix of the current right-hand context.

Fixes: #5256
2024-06-17 14:56:23 +07:00
Nnyny
7fe2dfe0ef add language/reference 2024-06-17 14:23:19 +07:00
Marc Durdin
d6992097fd
Merge pull request #11795 from keymanapp/fix/core/11794-serialize-core-tests-temporary-mitigation
fix(core): serialize tests for core/wasm on mac agents
2024-06-17 16:26:27 +10:00
Joshua A. Horton
d57022cdc7 change(common): sets a minimum v20 b/c import attributes 2024-06-17 11:51:57 +07:00
Joshua A. Horton
1e13272d1b chore(common): update base-package node-engine setting
Fixes: #11689
2024-06-17 11:45:37 +07:00
Joshua Horton
e43adb0ad2
Merge pull request #11786 from keymanapp/fix/web/quick-addKeyboards-call
fix(web): prevent desktop OSK crash when addKeyboards is called before engine init
2024-06-17 11:21:58 +07:00
Joshua Horton
4da8b0a792
Merge pull request #11783 from keymanapp/fix/web/longpress-key-id-with-modifier
fix(web): fix id of longpress keys with modifier set in touch layout
2024-06-17 11:21:41 +07:00
Marc Durdin
db53ac1343 fix(core): serialize tests for core/wasm on mac agents
Mitigates: #11794
2024-06-16 16:42:38 +10:00
sgschantz
59013ae478 change(mac): add custom sentry tags to provide crash context
still need to add breadcrumbs and remove test code
2024-06-15 17:24:34 +07:00
Steven R. Loomis
2c9c236c63
Merge branch 'master' into test/core/10968-minimum-ldml-test 2024-06-14 17:08:16 -05:00
Keyman Server
f31b05056a
Merge pull request #11790 from keymanapp/auto/version-master-18.0.57
auto: increment master version to 18.0.57
2024-06-14 11:05:10 -07:00
Keyman Build Agent
ab835547a3 auto: increment master version to 18.0.57 2024-06-14 14:04:35 -04:00
Eberhard Beilharz
64515b025b
feat(linux): re-create missing files at run-time
This changes re-creates the `<package>.bmp.png` as well as the
`<package>.json` files if they are missing when `km-config` starts.

- `<package.bmp.png` gets created from a `.bmp` or `.ico` file included
in the package, similar to what happens when installing the keyboard.
- `<package>.json` gets created from downloaded metadata, similar to
the installation.

If the files are missing or we can't write to the directory, e.g. if it's
the shared area, we skip the re-creation.

Fixes: #9396
2024-06-14 18:11:11 +02:00
Steven R. Loomis
ed80095ab9
Merge branch 'master' into test/core/10968-minimum-ldml-test 2024-06-14 09:33:29 -05:00
Steven R. Loomis
2300571ad8 test(core): fix a type conversion issue in the minimal test
- need a null string for either narrow or wide chars

Fixes: #10968
2024-06-14 09:05:50 -05:00
Eberhard Beilharz
a5b9321fde
refactor(linux): make method private and change variable names 2024-06-14 15:58:21 +02:00
Steven R. Loomis
ca34550a8d feat(core): update util_regex per review comments
- remove some TODOs that were obsolete
- copy/clarify/expand comments between the ICU and non-ICU sides

Fixes: #9467
2024-06-14 08:55:15 -05:00
Eberhard Beilharz
1e67022a44
change(linux): restart ibus only when manually running tests
If we try to restart ibus when we run the tests as part of a build we
run into a timeout in the test teardown.
2024-06-14 15:37:43 +02:00
Eberhard Beilharz
407cfa8f33
chore(linux): address code review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-06-14 15:09:13 +02:00
SabineSIL
a305176238
Merge pull request #11761 from keymanapp/feat/linux/mcompile-renameSymbols
feat(linux): rename symbols throughout mcompile-linux 🐘
2024-06-14 15:08:08 +02:00
Sabine
724e5b6eaf feat(linux): rename symbols more 2024-06-14 14:49:34 +02:00
Dr Mark C. Sinclair
09dd020a0c chore(developer): add terminating nulls to expected strings in ValidateMatchNomatchOutput test 2024-06-14 12:18:33 +01:00
Dr Mark C. Sinclair
15fd729706 fix(developer): change cast to follow expected integer promotion in loadfileProc 2024-06-14 12:00:22 +01:00
Dr Mark C. Sinclair
721e38d52e fix(developer): change cast in kmcmp_CompileKeyboard to follow expected integer promotion 2024-06-14 11:54:36 +01:00
Dr Mark C. Sinclair
e51a516a78 fix(developer): user tertiary operator to keep pos_dot variable positive 2024-06-14 11:44:52 +01:00
Dr Mark C. Sinclair
822bd5f554 fix(developer): changed cast to follow expected integer promotion 2024-06-14 11:31:24 +01:00
Dr Mark C. Sinclair
20c5b7938a fix(developer): use const local variable for int type cxKeyArray 2024-06-14 11:12:45 +01:00
Dr Mark C. Sinclair
d2370a6381 fix(developer): Merge branch 'master' into kmcmplib-fails-native-compilation-under-linux 2024-06-14 10:53:15 +01:00