Commit graph

33096 commits

Author SHA1 Message Date
Steven R. Loomis
88af4f588c
Merge branch 'master' into feat/core/9467-devolve-regex-to-js-epic-ldml 2024-05-27 08:30:08 -05:00
Marc Durdin
bd01d4b72a
Merge branch 'master' into chore/common/8399-cleanup-meson-warnings 2024-05-27 20:26:54 +07:00
Steven R. Loomis
1700953351
Merge pull request #11418 from keymanapp/chore/common/10183-unicode-version
test(core): verify Unicode and ICU versions cross-platform 🙀
2024-05-27 08:25:20 -05:00
Marc Durdin
b1643bd6cd
Merge pull request #11565 from keymanapp/chore/run-sourcepackage-job-on-24.04
chore(linux): run deb-package sourcepackage job on Ubuntu 24.04
2024-05-27 20:25:06 +07:00
Eberhard Beilharz
8ae5090e6c
fix(linux): Ignore API verification check until it is working
This temporary change will always set the result to SUCCESS so as not
to block PRs. Once we get the API verification working we should undo
these changes again.
2024-05-27 15:06:40 +02:00
sgschantz
171cbc34e2 fix(ios): prevent crash by removing incorrect cast in log statement
when writing the fileUrl to the log, a variable was miscast
causing the app to crash -- remove cast and return absoluteString
for fileUrl
Fixes #11567
2024-05-27 16:10:33 +07:00
Nnyny
9e17f7f9c0 Add context/options 2024-05-27 15:39:41 +07:00
Marc Durdin
1c5d0c58e6 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-27 15:10:08 +07:00
Marc Durdin
8efba7186e fix(developer): handle missing data in .kps <Keyboard>
Handles when `<Version/>`, `<Name/>`, or `<ID/>` elements are missing
from `<Keyboard>` elements in the .kps file in kmc-package. Adds a unit
test.

Fixes: #11562
Fixes: KEYMAN-DEVELOPER-1YY
2024-05-27 15:04:53 +07:00
Marc Durdin
15acd713fb fix(developer): handle invalid project file when scanning for owner project
Also updates the only other place where a project file is loaded like
this, in the project renderer, and handles it too (this scenario is
less likely to happen because the project file must already have been
loaded in order to be presented in the UI).

Fixes: #11557
Fixes: KEYMAN-DEVELOPER-1Z2
2024-05-27 12:46:49 +07:00
Marc Durdin
59a907ee04 fix(developer): handle invalid default project path in options
If a relative or otherwise invalid path is given for `default project
path` in .keymandeveloper/options.json, then this will reset the path
to the default of `%Documents%/Keyman Developer/Projects`.

Fixes: #11554
Fixes: KEYMAN-DEVELOPER-1ZB
2024-05-27 12:14:53 +07:00
Marc Durdin
79ac9208cf
Merge pull request #11527 from keymanapp/chore/common/labels
chore(common): update labels to include change, style
2024-05-27 10:59:27 +07:00
Marc Durdin
6d2164f1e6 fix(developer): ensure folder for MRU list is always created
This arises if `%AppData%/Keyman/Keyman Developer` folder is missing.
It is sporadic because most times, Keyman Developer Server wins a
startup race and creates the folder before this code is ever reached.

Fixes: #11551
Fixes: KEYMAN-DEVELOPER-1MY
2024-05-27 10:50:58 +07:00
Joshua A. Horton
512fd34797 chore(web): Merge branch 'master' into fix/web/early-webview-kbd-activation 2024-05-27 09:42:09 +07:00
Marc Durdin
67484cb5d5 fix(developer): handle unsupported return statement in match and nomatch in web compiler
The `return` statement is unsupported in the web compiler. This is
documented, but the problem here was that the `nomatch` and `match`
metarules have no corresponding `fkp` structure, so that caused a fatal
error in the compiler if these were used in combination, e.g.

    nomatch > return

Fixes: #11545
2024-05-27 09:38:46 +07:00
Joshua A. Horton
e7b0dd1dad chore(web): cleans out redundant tsconfig setting 2024-05-27 09:21:06 +07:00
Joshua A. Horton
2c79db4cb5 chore(web): Merge branch 'master' into chore/web/update-typescript 2024-05-27 09:20:01 +07:00
Shawn Schantz
b068f94537
Merge pull request #11515 from keymanapp/fix/mac/10997-adopt-unified-logging
change(mac): adopt unified logging APIs
2024-05-27 09:11:45 +07:00
Joshua Horton
e49d26ad9d change(mac): relocates one shell var definition 2024-05-27 09:04:58 +07:00
sgschantz
1d5ef914ce fix(mac): adopt unified logging
address review comments
2024-05-27 08:58:25 +07:00
Joshua Horton
45e0d875b3 fix(mac): -e to check if dir exists, as -f doesn't match against dirs 2024-05-27 08:48:26 +07:00
Joshua Horton
9c4eb99a3a fix(mac): non --debug test references 'release' artifacts 2024-05-27 08:42:10 +07:00
Marc Durdin
e9175de00f fix(developer): test existence of ngrok.exe before atttempting to start
Fixes the scenario where the `%AppData%\Keyman\Keyman Developer\Server\bin`
folder exists, but ngrok.exe is not in the folder, which caused Keyman
Developer Server to crash.

Fixes: #11542
Fixes: KEYMAN-DEVELOPER-1JE
2024-05-27 08:21:13 +07:00
Marc Durdin
d1b45d396d
Merge pull request #11540 from keymanapp/chore/merge-master-into-windows-updates
chore: merge master into windows-updates
2024-05-27 06:46:29 +07:00
Steven R. Loomis
5d420248eb feat(core): move more normalization logic into JS
- major redo of actions_normalize - into UTF-32 and not using ICU directly
- add some utilities: u32len, u32dup, context_items_from_utf32

#9467
2024-05-24 18:20:30 -05:00
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
c5fe575bc6
Merge pull request #11539 from keymanapp/chore/merge-master-into-linux-mcompile
chore: merge master into linux-mcompile
2024-05-25 05:51:36 +07:00
Marc Durdin
a385d4806d
Merge branch 'epic/linux-mcompile' into chore/merge-master-into-linux-mcompile 2024-05-25 05:51:13 +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