Commit graph

28443 commits

Author SHA1 Message Date
Keyman Server
80f0ec7907
Merge pull request #12742 from keymanapp/auto/version-master-18.0.148
auto: increment master version to 18.0.148
2024-11-28 10:02:59 -08:00
Keyman Build Agent
d3d9ab3a9b auto: increment master version to 18.0.148 2024-11-28 13:02:29 -05:00
Eberhard Beilharz
a842d41829
Merge pull request #12739 from keymanapp/chore/common/nvm-offline
chore(common): improve offline builds
2024-11-28 14:36:35 +01:00
Eberhard Beilharz
49650d6742
Merge pull request #12725 from keymanapp/fix/linux/asserts
fix(linux): disable assertions in release builds of ibus-keyman
2024-11-28 13:48:35 +01:00
Eberhard Beilharz
b423e8193f
Merge pull request #12724 from keymanapp/fix/core/cherry-pick/12661_logging
fix(core): permanently disable logging 🍒
2024-11-28 13:48:11 +01:00
Eberhard Beilharz
c7fef4770a
Merge pull request #12720 from keymanapp/chore/web/rename-tests
chore(web): rename file missed in #12704
2024-11-28 19:41:41 +07:00
Eberhard Beilharz
c7773f9e9c
Merge pull request #12719 from keymanapp/refactor/common/tc_tests
refactor(common): output number of tests when running on TC
2024-11-28 19:41:16 +07:00
Eberhard Beilharz
badb23a6ab
Merge pull request #12710 from keymanapp/refactor/developer/tc_tests
refactor(developer): output number of tests when running on TC
2024-11-28 19:40:52 +07:00
Eberhard Beilharz
ddb6631d2a
chore(common): improve offline builds
`nvm install` will fail if trying to build while offline. This
change tries to use the required node version first and if that
fails installs and then uses it.
2024-11-28 11:45:26 +01:00
rc-swag
38aa5c8269
Merge pull request #12701 from keymanapp/docs/linux-macos-emscripten-setup
docs(common): linux and macOS emscripten setup
2024-11-28 12:25:19 +10:00
Dr Mark C. Sinclair
8e0207406b
Merge pull request #12702 from keymanapp/test/common/web/types/9052-unit-tests-string-list
test(common/web/types): unit tests for string-list
2024-11-28 01:49:46 +00:00
Dr Mark C. Sinclair
1837529765 chore(common/web): add braces to for loop in initListItem() 2024-11-28 01:48:16 +00:00
Dr Mark C. Sinclair
4dbb33eac4 chore(common/web): add copyright banner 2024-11-28 01:43:37 +00:00
Darcy Wong
2c2466880c
Merge pull request #12717 from keymanapp/chore/android/docs-internal
docs(android): Add android/docs/internal/README
2024-11-28 07:09:44 +07:00
Keyman Server
f3a0bec2e9
Merge pull request #12726 from keymanapp/auto/version-master-18.0.147
auto: increment master version to 18.0.147
2024-11-27 10:02:30 -08:00
Keyman Build Agent
060c80463e auto: increment master version to 18.0.147 2024-11-27 13:01:55 -05:00
Eberhard Beilharz
767d7c65be
fix(linux): disable assertions in release builds
This change uses the G_DISABLE_ASSERT flag to disable assertions
for release builds.

See https://docs.gtk.org/glib/func.assert.html
2024-11-27 18:04:35 +01:00
Eberhard Beilharz
0958a2da23
fix(core): permanently disable logging
This change disables logging at compile time to work around #12661.
Logging can be enabled in the debugger, or by re-compiling with
`g_debug_KeymanLog` set to TRUE.

Related: #12661
Cherry-pick: #12674
2024-11-27 16:36:25 +01:00
Eberhard Beilharz
6731cc44ab
chore(web): rename file missed in #12704 2024-11-27 12:13:57 +01:00
Eberhard Beilharz
21736d8817
refactor(developer): output number of tests when running on TC
This change adds the mocha-teamcity-reporter which outputs the running
tests in a special format that TeamCity can interpret. This allows TC
to show which tests run as well as the number of tests run.

Also refactor some of the build scripts to use functions.

Note that we had to explicitly add `--check-coverage=false` (which is the
default) to get successful builds when we run on TC.
2024-11-27 11:41:06 +01:00
Eberhard Beilharz
d151d0999f
refactor(common): output number of tests when running on TC
This change adds the mocha-teamcity-reporter which outputs the running
tests in a special format that TeamCity can interpret. This allows TC
to show which tests run as well as the number of tests run.
2024-11-27 11:15:43 +01:00
Eberhard Beilharz
06cd709790
Merge pull request #12706 from keymanapp/chore/linux/rename-tests
chore(linux): rename test files
2024-11-27 16:17:49 +07:00
Eberhard Beilharz
7edda3beca
chore(linux): address code review comments 2024-11-27 10:16:58 +01:00
Eberhard Beilharz
7832be93a2
Merge pull request #12705 from keymanapp/chore/core/rename-tests
chore(core): rename test files
2024-11-27 16:08:10 +07:00
Eberhard Beilharz
08b4b6c2eb
Merge pull request #12704 from keymanapp/chore/web/rename-tests
chore(web): rename test files and folders
2024-11-27 16:07:56 +07:00
Darcy Wong
5dee258dac docs(android): Add android/docs/internal/README 2024-11-27 15:37:06 +07:00
Dr Mark C. Sinclair
60967375a3 chore(common/web): Merge branch 'master' into test/common/web/types/9052-unit-tests-string-list 2024-11-27 06:25:53 +00:00
Marc Durdin
e388361e84
Merge pull request #12713 from keymanapp/refactor/common/LdmlKeyboardTypes
refactor(common): move remaining LDML keyboard types into `LdmlKeyboardTypes`
2024-11-27 07:21:06 +01:00
Marc Durdin
2dc703f74b
Merge pull request #12712 from keymanapp/refactor/common/12516-LexicalModelTypes
refactor(common): move all lexical model types into `LexicalModelTypes` container
2024-11-27 07:20:54 +01:00
Dr Mark C. Sinclair
35545a3caf
Merge pull request #12612 from keymanapp/test/developer/kmcmplib-compiler-unit-tests-5
test(developer): kmcmplib compiler unit tests 5
2024-11-27 06:15:08 +00:00
Dr Mark C. Sinclair
402b4065e0 chore(common/web): refactor tests for readability 2024-11-27 06:10:45 +00:00
Dr Mark C. Sinclair
19da0c73ae chore(developer): add four additional test cases 2024-11-27 05:48:51 +00:00
Dr Mark C. Sinclair
b3398fb941 chore(developer): add test cases for ListItem.toString() and toStringArray() 2024-11-27 05:39:56 +00:00
Dr Mark C. Sinclair
04a8a0a5d5 chore(developer): add seven test cases for ListItem.compareTo 2024-11-27 05:33:07 +00:00
Dr Mark C. Sinclair
d77c5aeb6b chore(developer): add seven additional test cases for ListItem.isEqual 2024-11-27 05:16:24 +00:00
Dr Mark C. Sinclair
769259e6f6 chore(developer): add four test cases for ListItem.isEqual, plus refactor for length 2024-11-27 05:04:20 +00:00
Marc Durdin
b54b005830 refactor(common): move remaining LDML keyboard types into LdmlKeyboardTypes
Follows: #12712
2024-11-27 11:52:53 +07:00
Dr Mark C. Sinclair
88b0f712d0 chore(developer): add three ListItem.getItemOrder() test cases 2024-11-27 03:47:28 +00:00
Dr Mark C. Sinclair
15c71d7b95 chore(developer): add a further ListItem.fromStrings() test case 2024-11-27 03:38:24 +00:00
Dr Mark C. Sinclair
ef46a8eab1 chore(developer): add a ListItem.fromStrings() test case 2024-11-27 03:28:36 +00:00
Marc Durdin
dc2b9b2ad9 refactor(developer): LexicalModelTypes tests 2024-11-27 10:13:09 +07:00
Marc Durdin
e8bc0773df refactor(common): LexicalModelTypes tests
Fixes: #12516
2024-11-27 10:03:13 +07:00
Marc Durdin
b10634eb97 refactor(common): move all lexical model types into LexicalModelTypes container
Many of the types had very generic names (e.g. `Configuration`), and as
the types are now exported from `@keymanapp/common-types`, this was
unhelpful.

For units with many references, I used TypeScript's import-equals to
reduce the change impact. For units with only a few references, I added
the `LexicalModelTypes.` prefix to the references in source.

(Best reference I could find for import-equals: b722fa4e49)

Fixes: #12516
2024-11-27 09:46:09 +07:00
Dr Mark C. Sinclair
a5c80243e7 chore(developer): add six test cases for ListIndex 2024-11-27 02:24:11 +00:00
Dr Mark C. Sinclair
f641b3cc08 chore(developer): remove unnecessary assignment to sFlag block variable 2024-11-27 01:27:59 +00:00
Eberhard Beilharz
4a852c9522
chore(linux): rename test files
This change rename the test files for Linux according to the discussion
at the Keyman conference in November 2024.

Python is pretty opinionated about the naming of files, so we have to
use `*_tests.py` as test filename instead of the usual `*.tests.py`.
2024-11-26 19:06:02 +01:00
Keyman Server
4d11fb225a
Merge pull request #12708 from keymanapp/auto/version-master-18.0.146
auto: increment master version to 18.0.146
2024-11-26 10:02:02 -08:00
Keyman Build Agent
9f938d1b27 auto: increment master version to 18.0.146 2024-11-26 13:01:27 -05:00
Eberhard Beilharz
718881a027
chore(core): rename test files
This change rename the test files for Core according to the discussion
at the Keyman conference in November 2024.
2024-11-26 17:47:11 +01:00
Eberhard Beilharz
432ab7055f
chore(web): rename test files and folders
This change renames the test files for Web according to the discussion at
the Keyman conference in November 2024. It also renames some folders from
`test` to `tests`.
2024-11-26 17:10:19 +01:00