Commit graph

27982 commits

Author SHA1 Message Date
Marc Durdin
78f4cbf8d5 chore: Merge branch 'epic/windows-updates' into chore/merge-master-into-windows-updates
Note: deleted TODO.md, had only one minor update
2024-05-25 05:53:48 +07:00
Marc Durdin
8f81fd17e7
Merge branch 'master' into chore/common/labels 2024-05-25 05:41:18 +07:00
Marc Durdin
6abf577f21
Merge branch 'feat/core/9467-devolve-regex-to-js-epic-ldml' into feat/core/9467-devolve-norm-to-js2-epic-ldml 2024-05-25 05:41:01 +07:00
Marc Durdin
d37b64be5e
Merge branch 'chore/common/10183-unicode-version' into feat/core/9467-devolve-regex-to-js-epic-ldml 2024-05-25 05:40:42 +07:00
Marc Durdin
554c27dfeb
Merge branch 'master' into chore/common/10183-unicode-version 2024-05-25 05:39:58 +07:00
Marc Durdin
d04ada78a6 chore(linux): run deb-package sourcepackage job on Ubuntu 24.04
Ubuntu 22.04 has meson 0.61; 24.04 has meson 1.3, so updated the
sourcepackage step in deb-packaging to 24.04 to meet min reqs.
2024-05-25 05:37:45 +07:00
Marc Durdin
fcbfd62535
Merge branch 'master' into chore/common/8399-cleanup-meson-warnings 2024-05-25 05:32:38 +07:00
Keyman Server
440297199f
Merge pull request #11537 from keymanapp/auto/version-master-18.0.45
auto: increment master version to 18.0.45
2024-05-24 11:06:04 -07:00
Keyman Build Agent
d87460c22d auto: increment master version to 18.0.45 2024-05-24 14:05:27 -04:00
Eberhard Beilharz
7b753241b1
chore(linux): Debugging API verification
Something is still not right. It looks like it can't find the files it
is expecting. This change lists the files we have.
2024-05-24 19:12:08 +02:00
Steven R. Loomis
a80a0a7dcb feat(core): move more normalization logic into JS
- add a normalize_nfd() which takes a single codepoint
- temporarily keep ICU in actions_normalize.cpp and ldml_transforms.cpp
- expand wasm opts in unit tests
2024-05-24 10:42:57 -05:00
Steven R. Loomis
465c4bfdc0 feat(core): add a KMN_NO_ICU internal switch to start being able to turn off ICU
- always set to 0 for now (keep ICU around)
- set KMN_IN_LDML_TESTS in tests to keep ICU there for test and comparison
- add core_icu.cpp and put some utils there.

#9467
2024-05-24 09:24:53 -05:00
Eberhard Beilharz
071b178d20
Merge pull request #11533 from keymanapp/fix/linux/apiverification
fix(linux): Properly use and pass run_id
2024-05-24 16:19:53 +02:00
Eberhard Beilharz
6b2437e8a3
fix(linux): Properly use and pass run_id
The previous attempt where we set a environment variable for the
artifacts key resulted in a chicken/egg problem: we needed the environment
variable to be able to restore the cached artifacts, but we needed
the cached artifacts in order to be able to read the variables...

This change now properly uses run_id: in `deb-packaging.yml` we can
directly use `run_id` from the context. In `api-verification.yml` we get
it from the payload context.

Cf https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run
2024-05-24 16:14:52 +02:00
Marc Durdin
989c769204
Merge pull request #11530 from keymanapp/docs/common/11369-emscripten-3.1.46
docs(common): update min emscripten version in docs to 3.1.46
2024-05-24 16:03:06 +07:00
Marc Durdin
0bd085880a docs(common): update min emscripten version in docs to 3.1.46
The minimum version for Windows and macOS should be 3.1.46 because that
is known to work. See issue #9529 for reasons to avoid 3.1.45. Note:
Ubuntu still requires 3.1.44 for now.

Fixes: #11369
2024-05-24 14:52:31 +07:00
Marc Durdin
1b3be1540a chore(common): update linux documentation and control for meson 1.0 2024-05-24 14:49:27 +07:00
Marc Durdin
688d59f149
Merge pull request #11510 from keymanapp/fix/android/substring-index-length
fix(android/engine): Ignore updating invalid selections
2024-05-24 13:52:41 +07:00
Marc Durdin
84888c2390
Merge pull request #11512 from Nnyny/developer/contexthelp
chore(developer): add context/key-test
2024-05-24 13:51:59 +07:00
Marc Durdin
72264f9c6d
Merge branch 'master' into chore/common/8399-cleanup-meson-warnings 2024-05-24 13:48:19 +07:00
Marc Durdin
9813a823e4
Merge pull request #11509 from keymanapp/fix/web/wtr-flag-passing
fix(web): properly pass test-runner verbose-logging flag
2024-05-24 13:47:49 +07:00
Eberhard Beilharz
556b0ce368
Merge pull request #11517 from keymanapp/fix/linux/apiverification
fix(linux): Pass artifacts key to API verification GHA
2024-05-24 08:27:30 +02:00
Keyman Server
fad47b1f57
Merge pull request #11528 from keymanapp/auto/version-master-18.0.44
auto: increment master version to 18.0.44
2024-05-23 22:59:04 -07:00
Keyman Build Agent
36cbe0b81b auto: increment master version to 18.0.44 2024-05-24 01:58:20 -04:00
Marc Durdin
1df620b577
Merge pull request #11524 from keymanapp/fix/windows/oem-build-sh
fix(windows): add FirstVoices Keyboards build to Windows release build
2024-05-24 12:22:11 +07:00
Steven R. Loomis
c39040fcbe
Merge branch 'master' into chore/common/10183-unicode-version 2024-05-23 22:20:11 -05:00
Steven R. Loomis
e48f6c39e1 test(core): update per review comments
Fixes: #10183

Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-23 22:19:36 -05:00
rc-swag
b558c2b57c
Merge pull request #11521 from keymanapp/chore/windows/4038/clean-up-alpa-task
chore(windows): remove schedule task clean up introduced in 15.0 Alpha
2024-05-24 13:05:15 +10:00
Darcy Wong
1e2507b21a
Merge pull request #11522 from keymanapp/fix/oem/fv/revert-gradle
fix(android): Revert Sentry version for FV Android
2024-05-24 10:02:56 +07:00
Marc Durdin
0404aa5db2 chore(common): update labels to include change, style
* Updates supported labels and documentation relating to `change` and
`style` commit types
* Adds `core/` label
* Reorders various lists alphabetically
2024-05-24 09:43:10 +07:00
Marc Durdin
3d43959cd7 fix(windows): add FV build to Windows release build
Relates to #11461.

The FV build is now a part of the Windows publish build. At the same
time, addresses a number of typos in the build script, which had not
been tested because it was not linked to the Windows build.
2024-05-24 09:16:02 +07:00
Marc Durdin
900f248558 chore(common): cleanup meson deprecations and warnings
Most warnings have been cleaned up:

* min meson version is now 1.0
* additional parameters such as check, recursive added
* uses now global_source_root() instead of source_root()
* catting files on Windows wasn't actually working -- used in unit
  tests. This is because meson passes paths with forward slashes to
  cmd.exe `type` command, which doesn't understand them. This is bad,
  because we were running effectively null tests for the affected tests.
  Fortunately, the same tests were configured correctly on macOS and
  Linux, and were all passing, so no serious damage.

There is one significant warning left:

`WARNING: Project targets '>=1.0' but uses feature deprecated since
'0.64.0': copy arg in configure_file. Use fs.copyfile instead`

Refer to mesonbuild/meson#12792. I have opened a PR against that to
undeprecate `copy` kwarg in a future version of meson.

Fixes: #8399
2024-05-24 08:46:52 +07:00
Darcy Wong
aeac9377b5 fix(oem/firstvoices/android): Revert Sentry version 2024-05-24 07:43:33 +07:00
rc-swag
080f265f84 chore(windows): remove cleanup-alpha-tasks
Remove the CleanupAlphaTasks that was specific to task
schedules created it for 15.0 alpha. Scheduled tasks naming
was changed to include a user name in the task. The clean up
function was to make sure the previous named tasks were removed.
Now there should be no 15.0 alpha users it can be removed.
2024-05-24 09:55:01 +10:00
Steven R. Loomis
43cd828e9d feat(core): change normalize_nfd() to use JS native call instead of ICU
- does not hit all ICU usage yet

#9467
2024-05-23 17:09:00 -05:00
Steven R. Loomis
d8b5c25954 chore(core): refactor to move most normalization calls into util_normalize.cpp
- fold ldml_utils.hpp into core_icu.h
- refactor to use km::core::util::normalize_nfd() functions where simple to do so

For #9467
2024-05-23 14:47:38 -05:00
Steven R. Loomis
f3a80f50a6 test(core): build fix for test_unicode
- incorporate change from #11483

Fixes: #10183
2024-05-23 11:26:16 -05:00
Steven R. Loomis
e5ee26aaea fix(core): add a test to verify ICU and Unicode version
- load version data from node.js, Blocks.txt, and ICU4C
- support wasm: copy package.json, nodeversions.json and Blocks.txt into the keyboard area so that they can be mounted under wasm

also:
- rename 'fallback' macro to KMN_FALLBACK to not conflict with hedley in utfcodec.hpp
- fix ambiguous path type in tests

Fixes: #10183
2024-05-23 09:31:15 -05:00
Eberhard Beilharz
f95ee27288
fix(linux): Pass artifacts key to API verification GHA 2024-05-23 16:21:55 +02:00
sgschantz
ab98086003 fix(mac): adopt unified logging APIs
remove all references to NSLog
adjust log level for some calls to os_log
Fixes #10997
2024-05-23 15:50:50 +07:00
Keyman Server
2772b8c487
Merge pull request #11513 from keymanapp/auto/version-master-18.0.43
auto: increment master version to 18.0.43
2024-05-23 01:09:37 -07:00
Keyman Build Agent
4a34b37770 auto: increment master version to 18.0.43 2024-05-23 04:09:01 -04:00
Eberhard Beilharz
315c60afdd
Merge pull request #11003 from keymanapp/chore/standards-data
chore(common): Update standards data
2024-05-23 09:45:29 +02:00
Eberhard Beilharz
ffc5e3ae83
Merge pull request #11511 from keymanapp/fix/linux/apiverification
fix(linux): Add missing variable to API verification GHA
2024-05-23 09:35:28 +02:00
Marc Durdin
02595229b2
Merge pull request #11461 from keymanapp/chore/windows/11316-build.sh
chore(windows): move from Makefile to build.sh
2024-05-23 14:23:05 +07:00
Marc Durdin
1e66b6ed0e
Merge pull request #11421 from keymanapp/chore/developer/11317-build.sh
chore(developer): build.sh for developer
2024-05-23 14:22:54 +07:00
Darcy Wong
91e91bf91b
Update android/KMEA/app/src/main/java/com/keyman/engine/KMKeyboard.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-23 14:15:21 +07:00
Joshua A. Horton
635b33f8b7 change(web): removes prepended space 2024-05-23 14:12:08 +07:00
Nnyny
273d79e204 context/key-test 2024-05-23 13:45:05 +07:00
Eberhard Beilharz
89d3027f73
fix(linux): Add missing variable to API verification GHA 2024-05-23 08:28:33 +02:00