Commit graph

24503 commits

Author SHA1 Message Date
Marc Durdin
fe8eba176c
Merge branch 'fix/core/10605-app-context-copy-strip-markers' into fix/core/10615-10616-10617-core-surrogates-and-app-context-markers-and-memory-leak 2024-02-05 13:45:03 +11:00
Marc Durdin
49eb6f42a9
Merge branch 'fix/core/10582-km_core_state_get_actions-idempotency' into fix/core/10605-app-context-copy-strip-markers 2024-02-05 13:44:56 +11:00
Marc Durdin
70ba1d1c1e
Merge branch 'chore/core/10520-hide-old-action-apis' into fix/core/10582-km_core_state_get_actions-idempotency 2024-02-05 13:44:47 +11:00
Marc Durdin
aa80992fb8
Merge branch 'feat/windows/use-km-core-actions-struct' into chore/core/10520-hide-old-action-apis 2024-02-05 13:44:36 +11:00
rc-swag
433faab1c5 chore(windows): Merge branch 'master' into feat/windows/use-km-core-actions-struct 2024-02-05 12:42:08 +10:00
rc-swag
7ad81f9440 feat(windows): revert kmshell.res 2024-02-05 11:03:31 +10:00
rc-swag
50b5d197b3 feat(windows): remove extra debug messages 2024-02-05 11:00:27 +10:00
Keyman Server
55dc824bb4
Merge pull request #10619 from keymanapp/auto/version-master-17.0.261
auto: increment master version to 17.0.261
2024-02-04 01:03:02 +07:00
Keyman Build Agent
514d6f3f1a auto: increment master version to 17.0.261 2024-02-03 13:02:27 -05:00
Eberhard Beilharz
91fd8d20be
Merge pull request #10612 from keymanapp/chore/linux/10453_APICheck
chore(linux): Fix API check if lines got removed in .symbols file
2024-02-03 14:22:27 +01:00
Eberhard Beilharz
2446662587
Merge pull request #10610 from keymanapp/docs/linux/pydebug
docs(linux): Update sample settings
2024-02-03 14:22:10 +01:00
Eberhard Beilharz
fce77f1b99
Merge pull request #10609 from keymanapp/fix/linux/artifactpath
fix(linux): Fix path to artifacts when uploading to llso
2024-02-03 13:14:17 +01:00
Marc Durdin
9ba919c2a9 fix(core): surrogate handling, markers in app context, and memory leak
Fixes #10615 (surrogate handling, km_core_state_context_set_if_needed).
Fixes #10616 (markers in app context, in unit tests)
Fixes #10617 (memory leak in replace_context).

The surrogate handling and markers in app context bugs were quite
tangled, so opted to fix those both together in one commit. The memory
leak was spotted while verifying the changes for surrogate handling.

Surrogates were not handled in is_context_unchanged, and opted to
refactor to work directly with km_core_context_item arrays rather than
continue with the string-based comparison, for simplicity.

While writing the corresponding unit tests, realised that the
app_context checks were incorrect in a number of existing tests, and so
fixed up the existing tests at the same time as writing up the new
tests. The only changes to core for this were to add assertions for the
app_context to ensure that markers are not inadvertently added.
2024-02-03 09:16:16 +07:00
Darcy Wong
1fdbfd83fe
Merge pull request #10606 from keymanapp/chore/fv/keyboards-csv/version
chore(oem/fv): Update versions in keyboards.csv
2024-02-03 08:26:24 +07:00
Marc Durdin
dbb24bc19d
Merge branch 'fix/core/10582-km_core_state_get_actions-idempotency' into fix/core/10605-app-context-copy-strip-markers 2024-02-03 09:41:56 +11:00
Marc Durdin
e109e4feca
Merge branch 'chore/core/10520-hide-old-action-apis' into fix/core/10582-km_core_state_get_actions-idempotency 2024-02-03 09:41:49 +11:00
Marc Durdin
f34976e8c0
Merge branch 'feat/windows/use-km-core-actions-struct' into chore/core/10520-hide-old-action-apis 2024-02-03 09:40:53 +11:00
Eberhard Beilharz
883b9fc4c8
chore(linux): Fix API check if lines got removed in .symbols file
If lines got removed in the .symbols file we won't find the current
version number in the .symbols file. This change fixes the expectations.

Also, if a major API change happens during the Alpha cycle we don't expect
another API version increment if one already happened since we released
the stable version.

This change also adds some unit tests for the new functionality. These
can be run manually and won't run during CI builds.

Fixes #10453.
2024-02-02 20:15:22 +01:00
Keyman Server
0f53c4737f
Merge pull request #10611 from keymanapp/auto/version-master-17.0.260
auto: increment master version to 17.0.260
2024-02-03 01:03:50 +07:00
Keyman Build Agent
cf58476744 auto: increment master version to 17.0.260 2024-02-02 13:03:21 -05:00
Eberhard Beilharz
99598294d3
docs(linux): Update sample settings
Python debugger in vscode >= 1.86 now uses a different type.
2024-02-02 16:42:07 +01:00
Eberhard Beilharz
0b4ade8018
fix(linux): Fix path to artifacts
With the new download-artifact version when using `merge-multiple:true`
all artifacts end up in the same directory. This change adjusts for that.

Another follow-up of #10577.
2024-02-02 12:07:02 +01:00
Eberhard Beilharz
97bbcee3ef
Merge pull request #10596 from keymanapp/chore/linux/cherry-pick/changelog
chore(linux): Update debian changelog 🍒
2024-02-02 09:28:53 +01:00
Marc Durdin
9e50f50687 fix(core): strip markers in actions_update_app_context_nfu()
Fixes #10605.
2024-02-02 15:10:05 +07:00
rc-swag
8f2e0a76eb feat(windows): code comment 2024-02-02 16:55:28 +10:00
rc-swag
d34ba7e527 feat(windows): remove extra debugging 2024-02-02 16:48:09 +10:00
Darcy Wong
b9d42df0e9 chore(oem/fv): Update versions in keyboards.csv 2024-02-02 12:40:04 +07:00
Marc Durdin
ff3a06f894
Merge pull request #10601 from keymanapp/chore/history-fixup
chore(common): history missing message fixup
2024-02-02 14:26:18 +11:00
Darcy Wong
e246dcb4f1
Merge pull request #10603 from keymanapp/chore/history-16-0-145
chore(common): Add entries from 16.0.145 HISTORY.md
2024-02-02 10:25:28 +07:00
Darcy Wong
307a27165b chore(common): Add entries from 16.0.145 HISTORY.md 2024-02-02 10:20:02 +07:00
Marc Durdin
37cfe365bb chore: history missing message fixup
Not sure why this is happening, nothing obvious in logs. Will monitor.
2024-02-02 09:28:16 +07:00
Marc Durdin
8156a8b19d
Merge pull request #10576 from keymanapp/fix/linux/9593_version-comparison
fix(linux): Fix version comparison
2024-02-02 09:47:37 +11:00
Marc Durdin
702b91a682
Merge pull request #10599 from keymanapp/chore/linux/fixarmhf
chore(linux): Use correct format specifier for `g_utf8_strlen`
2024-02-02 09:38:51 +11:00
Marc Durdin
404fe172c9
Merge pull request #10593 from keymanapp/chore/common/10590-cancel-earlier-builds
chore(common): cancel earlier builds when new test builds triggered
2024-02-02 09:34:56 +11:00
Eberhard Beilharz
25de477425 chore(linux): Fix the path for downloading artifacts
Follow-up of #10577.
2024-02-02 05:10:30 +07:00
Eberhard Beilharz
7356fc6e17 chore(linux): Upgrade artifacts to v4
- Upgrade upload-artifact to v4.3.0
- Upgrade download-artifact to v4.1.1
- Upgrade checkout to v4.1.1
- Upgrade gha-deb-signing to v0.6

Closes #10385.
2024-02-02 05:10:29 +07:00
Steven R. Loomis
88a9f72e11
Merge pull request #10565 from keymanapp/feat/core/10317-simplify-marker-epic-ldml
feat(core,developer): simplify markers 🙀
2024-02-01 14:29:33 -06:00
Steven R. Loomis
b8fbe4865c
Merge pull request #10563 from keymanapp/feat/core/10317-double-marker2-epic-ldml
feat(core): ldml double marker, C++ side 🙀
2024-02-01 14:29:21 -06:00
Steven R. Loomis
ab00f0c800
Merge pull request #10541 from keymanapp/feat/core/10317-double-marker-epic-ldml
feat(developer):  double markers once again 🙀
2024-02-01 14:28:01 -06:00
Keyman Server
7e801dd500
Merge pull request #10600 from keymanapp/auto/version-master-17.0.259
auto: increment master version to 17.0.259
2024-02-02 01:03:29 +07:00
Keyman Build Agent
65e8d11b5d auto: increment master version to 17.0.259 2024-02-01 13:02:59 -05:00
Eberhard Beilharz
13eb1002ae
refactor(linux): Deal with invalid version numbers 2024-02-01 17:26:38 +01:00
Eberhard Beilharz
df24cfda0a
chore(linux): Use correct format specifier for g_utf8_strlen
The package build on armhf failed because of the wrong format specifier
which expects a `size_t` instead of `glong` that `g_utf8_strlen` returns.
2024-02-01 16:51:10 +01:00
Eberhard Beilharz
a5e0ce0702
chore(linux): Update debian changelog
(cherry picked from commit 8d0f102936)
2024-02-01 12:58:21 +01:00
Eberhard Beilharz
4c53f18cca
Merge pull request #10594 from keymanapp/chore/linux/fixpkgbuild
chore(linux): Fix the path of downloaded artifacts
2024-02-01 10:46:38 +01:00
Eberhard Beilharz
31ef12706e
chore(linux): Fix the path for downloading artifacts
Follow-up of #10577.
2024-02-01 10:37:18 +01:00
Marc Durdin
09e971d3ca chore: tweak script for stability 2024-02-01 16:16:19 +07:00
Marc Durdin
7c8003a0f7 chore(common): cancel earlier builds when new test builds triggered
Fixes #10590.

Cancels existing running or queued test builds on TeamCity when a new
build is started for the same 'branch' (aka branch or PR).

Does not touch release builds or other projects -- only touches
recognized test build configurations.
2024-02-01 16:02:23 +07:00
Marc Durdin
aad7c0a42b chore(core): fixup typos 2024-02-01 15:05:24 +07:00
Marc Durdin
0b7556870f
chore: Apply suggestions from code review 2024-02-01 18:56:26 +11:00