Commit graph

27982 commits

Author SHA1 Message Date
Marc Durdin
f73d64ab13 fix(ci): KEYMAN_ROOT 2020-02-10 13:23:39 +11:00
Marc Durdin
a1a70f7b72 fix(ci): don't include build-utils.sh
It depends on 14.0 alpha version infrastructure; we
shouldn't need it for triggering the test builds for
beta.
2020-02-10 13:20:34 +11:00
Marc Durdin
a9aad6ef7c
Merge pull request #2611 from keymanapp/fix/ci/is-build-required-fails-on-missing-branch
fix(ci): refactor trigger of test builds
2020-02-10 13:13:11 +11:00
Marc Durdin
157cdb2d53 Merge pull request #2612 from keymanapp/chore/ci/build-scripts-for-test-beta
chore(ci): add build scripts for beta tests 🍒
2020-02-10 13:13:01 +11:00
Marc Durdin
dd9cc4c50d chore(ci): address review comments 2020-02-10 13:04:06 +11:00
Marc Durdin
265e69fbbc chore(ci): address review comments 2020-02-10 13:03:39 +11:00
Marc Durdin
7960287612 Merge pull request #2614 from keymanapp/fix/common/core/stateapi-buffer-overrun
fix(common/core): buffer overrun in context api
2020-02-10 12:29:52 +11:00
Marc Durdin
373709ec79 Update km_kbp_context_api.cpp 2020-02-10 12:29:44 +11:00
Darcy Wong
22ae490cf4 Merge pull request #2608 from keymanapp/chore/android/update-mtnt-model
chore(android): Update default nrc.en.mtnt.model to 0.1.4
2020-02-10 08:27:53 +07:00
Darcy Wong
cb894a0fc5 chore(android): update history.md 2020-02-10 08:26:52 +07:00
Marc Durdin
9c0e31c26b fix(common/core): buffer overrun in context api
A static buffer for UTF-8 encoded characters used in debugging and test
logs did not provide enough space for SMP characters (require 6 bytes
rather than 4). This was used only for test cases and not in production
code -- outputting JSON text.

This should fix the failing keyboardprocessor test builds on Windows and
macOS.
2020-02-10 11:23:58 +11:00
Marc Durdin
77c42909c2 chore(ci): add build scripts for beta tests 2020-02-10 10:53:33 +11:00
Joshua Horton
d85ce91393 Merge pull request #2578 from keymanapp/fix/ios/2512-default-resource-handling
fix(ios): fixes installation of default resources and updates them
2020-02-10 06:48:48 +07:00
Marc Durdin
85f8eb4ec5 chore(ci): add +x to run-required-test-builds 2020-02-10 09:29:20 +11:00
Marc Durdin
f11a567397 fix(ci): re-enable build configs 2020-02-10 07:57:38 +11:00
Marc Durdin
c868f047f2 fix(ci): cleanup branch spec 2020-02-10 07:56:16 +11:00
Marc Durdin
ffacdfb1ee chore(ci): test triggers 2020-02-10 07:50:23 +11:00
Marc Durdin
df86a608ef chore(ci): test triggers 2020-02-10 07:48:00 +11:00
Marc Durdin
829fa8469a fix(ci): use branch spec 2020-02-10 07:40:47 +11:00
Marc Durdin
78993b686d chore(ci): actually trigger builds 2020-02-10 07:26:10 +11:00
Marc Durdin
fe5071ea54 fix(ci): refactor to build based on central config
We have setup a single build configuration Keyman:Test that is triggered
when VCS changes are detected. This looks at the changes in the PR and
determines which projects need to be built. This is cleaner than the
current mess of configurations we have in TeamCity, because the
definitions are in just one place and far easier to maintain
consistently. This will also simplify all the pull request test
configurations because they won't need to be testing for safety or
other boilerplate as they will only ever be triggered by Keyma:Test
which has already run the safety tests.

The run-required-test-builds.sh script contains the logic; the data is
basically all in trigger-definitions.sh.
2020-02-10 07:17:13 +11:00
Marc Durdin
d0005ed893 fix(ci): tweak scripts 2020-02-09 17:37:00 +11:00
Marc Durdin
f5b473f84a fix(ci): report build status 2020-02-09 17:29:21 +11:00
Marc Durdin
1c994b57b9 chore(ci): test both messages 2020-02-08 09:10:27 +11:00
Marc Durdin
cdd6930ef5 chore(ci): testing just cancel message 2020-02-08 09:05:06 +11:00
Marc Durdin
e374d8c153 chore(ci): test build cancellation feature 2020-02-08 09:00:40 +11:00
Marc Durdin
752fd9662a fix(ci): is-build-required failed on missing branch
When the remote branch was deleted before the script ran, e.g. for
an automatically merged PR, this script would fail with error 128 from
git:

fatal: ambiguous argument 'origin/master...origin/auto/version-master-14.0.9':
unknown revision or path not in the working tree.

This handles error 128 as a signal to cancel the build rather than to
fail the build. It is possible that git would return error 128 for
other situations, but I cannot currently see any significant situations
where that would arise.
2020-02-08 08:45:47 +11:00
Keyman Server
dc0747bf6c
Merge pull request #2610 from keymanapp/auto/version-master-14.0.9
auto: increment master version to 14.0.9
2020-02-08 05:01:36 +11:00
Keyman Build Agent
0ed625d81f auto: increment master version to 14.0.9 2020-02-07 13:00:54 -05:00
Eberhard Beilharz
c3c79416b8
fix(linux): Fix packaging of keyman-config on Xenial
Xenial doesn't provide python3-qrcode, and specifying the
alternative package in the control file doesn't work because the
build always uses the first specified alternative. This change
makes use of build profiles ([1]) to select the correct package.

[1] https://wiki.debian.org/BuildProfileSpec
2020-02-07 17:54:58 +01:00
Darcy Wong
8c25c9950f chore(android): Update default nrc.en.mtnt.model to 0.1.4 2020-02-07 17:09:11 +07:00
Darcy
8546ed47ab Merge remote-tracking branch 'origin/beta' into fix/common/2575-long-context 2020-02-07 15:30:45 +07:00
Darcy
ddcf601954 fix(common): Update kmp.json test file 2020-02-07 15:29:52 +07:00
Darcy
181b9959c7 fix(common): Fix window when setting context buffer
Fix adjustment of context buffer when buffer is full. This also accounts for deadkey or surrogate pairs.

* Also added 3 meson unit tests
2020-02-07 14:59:09 +07:00
Eberhard Beilharz
30f9476129
Merge pull request #2599 from keymanapp/fix/linux/packaging
fix(linux): Install requirements before packaging
2020-02-07 08:22:18 +01:00
Marc Durdin
60a36182e5
Merge pull request #2603 from keymanapp/chore/ci/is-build-required
chore(ci): is build required?
2020-02-07 17:28:48 +11:00
Marc Durdin
4211b46894
Merge pull request #2606 from keymanapp/chore/beta-alpha-p9s1
chore: merge beta P9S1 changes to master
2020-02-07 17:19:54 +11:00
Marc Durdin
cb770d4afc
Merge pull request #2605 from keymanapp/chore/update-history
chore: update history
2020-02-07 17:19:34 +11:00
Marc Durdin
6902f7bf1c
Merge branch 'master' into chore/beta-alpha-p9s1 2020-02-07 16:25:39 +11:00
Marc Durdin
a69372febf chore: update history
The master builds ran on triggers rather than after
the increment, so need to manually update history to
bring it into sync. Shouldn't happen again.
2020-02-07 16:18:38 +11:00
Marc Durdin
8784e142c3 chore(mac): address review comments 2020-02-07 16:14:10 +11:00
Marc Durdin
67f08b0414 chore(ci): address review comment 2020-02-07 14:21:17 +11:00
Marc Durdin
144b72fdef
Merge pull request #2598 from keymanapp/tweak-readme
chore(common): Update README.md
2020-02-07 14:12:43 +11:00
Marc Durdin
686635d263
Merge pull request #2602 from keymanapp/chore/ci/tweak-history-management
chore(ci): Tweak history management
2020-02-07 14:12:25 +11:00
Marc Durdin
32f220cf22 chore(ci): set execute bit 2020-02-07 13:56:46 +11:00
Marc Durdin
1246693c00 chore(ci): is build required?
Adds a script that tests whether changes are likely
to impact the target platform and cancels the build
if not.
2020-02-07 13:42:43 +11:00
Marc Durdin
f583034d31 chore(ci): ensure latest history is uploaded in ci 2020-02-07 09:50:05 +11:00
Marc Durdin
b4344da838 chore(ci): add bullets to history 2020-02-07 09:49:49 +11:00
Keyman Server
da4b227dbf
Merge pull request #2600 from keymanapp/auto/version-master-14.0.7
auto: increment master version to 14.0.7
2020-02-07 05:22:16 +11:00
Keyman Build Agent
b8e0ae13bb auto: increment master version to 14.0.7 2020-02-06 13:21:36 -05:00