Commit graph

2072 commits

Author SHA1 Message Date
Marc Durdin
79370ca3a6
Merge pull request #12632 from keymanapp/chore/update-minimum-versions
chore: update minimum versions
2024-11-08 02:11:56 +01:00
Marc Durdin
fbab6eb8cf chore(core): move API docs from help.keyman.com
Reorganizes /core/doc to /core/docs and moves internal files
accordingly.

Depends-on: keymanapp/help.keyman.com#1684
2024-11-07 08:28:33 +07:00
Marc Durdin
25ade0ef9a chore(common): tweak minimum version for Android and fix typo 2024-11-07 07:09:02 +07:00
Marc Durdin
a68ed0d322 chore: update minimum versions 2024-11-06 11:14:59 +07:00
Marc Durdin
f4bd99f935 fix(developer): reconnect --full-test in kmcmplib build and enable for CI
The --full-test parameter in kmcmplib build.sh has not been working.
This PR reconnects the parameter and also enables it by default for CI
test builds (not release builds).

Fixes: #12623
2024-11-06 10:59:29 +07:00
Marc Durdin
c4e305a139 fix(windows): correct engine help source path for upload 2024-11-06 05:40:32 +07:00
Marc Durdin
6c145cb775 refactor(web): move web engine help to app repo
Note: build.sh updated to make sure that test:help build action:target
doesn't also call test.sh by adding `:_all` meta-target.

Note: CI will need a new help-keyman-com.sh build step to deploy web
engine help.

Fixes: #12347
2024-10-31 11:00:06 +07:00
Marc Durdin
81673c6319 refactor(windows): move windows Engine help in-repo
Relates-to: #12347
2024-10-31 10:17:54 +07:00
Marc Durdin
ed1c106c2e refactor(ios): move ios Engine help in-repo
Relates-to: #12347
2024-10-31 10:13:00 +07:00
Marc Durdin
f9008b6d2b refactor(android): move Android Engine help in-repo
Relates-to: #12347
2024-10-31 10:08:17 +07:00
Marc Durdin
19812d5ff8
Merge branch 'epic/linux-mcompile' into chore/merge-master-into-linux-mcompile 2024-10-25 09:31:06 +02:00
Marc Durdin
43e7d32004
Merge pull request #12472 from keymanapp/feat/common/12347-check-markdown-links
test(common): add markdown link check test for product documentation
2024-10-11 03:23:23 +02:00
Sabine
b0006baaaf ... Merge branch 'master' into chore/mac/mcompile_mac-CommonMesonPatterns 2024-10-10 17:21:23 +02:00
Sabine
5e93570558 Merge branch 'chore/mac/mcompile_mac-CommonMesonPatterns' of https://github.com/keymanapp/keyman into chore/mac/mcompile_mac-CommonMesonPatterns 2024-10-10 11:15:36 +02:00
Sabine
33dcf94c09 chore (common): rename do_clean, do_configure, do_build, do_test to do_meson_... 2024-10-10 11:13:59 +02:00
Eberhard Beilharz
3232c2a1a1
chore(common): allow to run build.sh scripts in bashdb debugger
One of the traps prevents debugging a build script in
the `bashdb` debugger. This change skips trapping `err` and `exit`
when run under a debugger and so allows to debug the script with `bashdb`.
2024-10-09 15:46:37 +02:00
SabineSIL
44a9fa906d
Merge branch 'feat/mac/mcompile_mac' into chore/mac/mcompile_mac-CommonMesonPatterns 2024-10-09 09:15:04 +02:00
Marc Durdin
eed9b81284 chore(common): address review comments 2024-10-09 08:16:16 +07:00
Marc Durdin
016a6f0225 chore(common): address review comments 2024-10-09 08:12:21 +07:00
Marc Durdin
cccf3d5dc9 chore(common): avoid adding .md extension to files that exist already 2024-10-08 15:01:21 +07:00
Marc Durdin
2e059e9730
Merge branch 'master' into feat/common/12347-check-markdown-links 2024-10-07 09:41:45 +02:00
Sabine
afc82297ea chore (common): on mcompile-linux->move do_clean, do_configure, do_build and do_test to meson-utils.inc.sh 2024-10-04 09:01:46 +02:00
Eberhard Beilharz
4540a501f6
docs(common): mention KEYMAN_USE_NVM in minimum versions doc
Also fix a typo in a comment in a script file.
2024-09-30 16:03:03 +02:00
Marc Durdin
b209cd2505 chore(common): check-markdown tweaks 2024-09-26 08:36:56 -07:00
Marc Durdin
640d3e5096 test(developer): add markdown link check test for product documentation
Adds check-markdown package that parses .md files, looks for links and
images, and verifies that they are valid links (for internal links).
2024-09-25 15:51:32 -07:00
Marc Durdin
18d31a86c8
Merge branch 'refactor/common/12347-reorg-help' into refactor/developer/12347-move-help-in-repo 2024-09-26 00:47:11 +02:00
Marc Durdin
4b1e137a53 chore(common): Merge branch 'master' into refactor/common/12347-reorg-help 2024-09-25 15:46:02 -07:00
Eberhard Beilharz
03e2ba0a76
Merge pull request #12439 from keymanapp/chore/common/offline
chore(common): Allow to build offline
2024-09-20 21:16:28 +07:00
Eberhard Beilharz
389fb4f9ee
chore(common): Allow to build offline
A lot of the `configure` actions rely on node dependencies and so call
`npm install`. Without a internet connection this hangs forever, even
if you had successfully installed the dependencies before and nothing
changed since then. This change adds a `--offline` parameter that passes
`--prefer-offline` to npm, which causes npm to use the cached
dependencies.

Also sets the `MESON_PACKAGE_CACHE_DIR` environment variable so that all
(sub-)projects share the same package cache dir. This will speed up regular
builds a bit (e.g. `developer/src/kmcmplib` and `core` both have `icu4c`
as a dependency), but will also help with offline builds.

`MESON_PACKAGE_CACHE_DIR` requires Meson 1.3, however older Meson
versions ignore this environment variable and simply continue to use a
cache per subproject, so will continue to work (minus offline builds).
2024-09-18 22:40:20 +02:00
Eberhard Beilharz
44116b70dd
chore(common): detect ssh remotes in git hooks
Sometime ago we lost the ability to detect git remotes that use ssh
(git@github.com:keymanapp/keyman.git) and we only detect remotes that
use https (https://github.com/keymanapp/keyman.git). This change restores
this ability.

Also add some empty lines between the different parts of the error message.

# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2024-09-17 11:38:41 +02:00
Marc Durdin
e376537720 chore(developer): upload help to help.keyman.com 2024-09-16 12:42:21 +07:00
Marc Durdin
0e5fbb225d refactor(common): fixup help path script references
Relates-to: #12347
2024-09-16 06:19:14 +07:00
Darcy Wong
6b0d8ddec1
Merge pull request #12393 from keymanapp/chore/common/unicode-16
chore(common): Update to Unicode 16.0
2024-09-12 11:25:07 +07:00
Eberhard Beilharz
e54f822786
chore(linux): cleanup
Setting permissions is now done in the base image.
2024-09-11 16:16:18 +02:00
Eberhard Beilharz
e23e112e7a
chore(linux): remove temporary code for Core image 2024-09-11 15:54:20 +02:00
Eberhard Beilharz
caba09a8d4
chore(linux): attempt to fix Android build in Docker
These changes bring us one step further, but the build is still failing.
2024-09-11 14:30:22 +02:00
Eberhard Beilharz
475fd734e6
docs(android): document gradle version in minimum-versions 2024-09-11 14:29:01 +02:00
Darcy Wong
e966a8af3c chore(common): Download Unicode 16.0 characters 2024-09-11 09:34:57 +07:00
Darcy Wong
5bfb93e618 chore(common): Update KEYMAN_VERSION_UNICODE to 16.0.0 2024-09-11 09:33:30 +07:00
Eberhard Beilharz
a9b9c4d016
refactor(web): move common/models to web/src/engine/predictive-text
Fixes: #12133
2024-09-10 17:45:22 +02:00
Eberhard Beilharz
0d6f655d49
chore(linux): fix build order 2024-09-03 15:44:08 +02:00
Eberhard Beilharz
1772fdf055
chore(linux): pre-install EMSCRIPTEN
Also add test action to build.sh which builds all images and then tests
them by running configure,build,test on each.

Also add new dependencies to web image which Playwright requires.
2024-09-01 13:08:44 +07:00
Eberhard Beilharz
d6c5320325
chore(linux): address code review comments
- use KEYMAN_USE_NVM and KEYMAN_USE_EMSDK
- pre-install node (where necessary) to prevent having to do it on each
  build
- adjust to current `master`
- fix a few bugs in the Dockerfile
- get required node version from package.json (through
  `shellHelperFunctions.sh`)
2024-08-31 22:33:56 +07:00
Eberhard Beilharz
cc5fef0892
Merge branch 'master' into chore/linux/cicontainer 2024-08-30 08:05:42 +07:00
Marc Durdin
52486e32c2
Merge pull request #12286 from keymanapp/chore/windows/support-typo
chore(windows): fix typo in environment.inc.sh
2024-08-29 09:47:01 +02:00
Eberhard Beilharz
ad4bbdf047
feat(common): add script to run build and tests in Docker container
Addresses code review comments.
2024-08-28 14:15:19 +07:00
Marc Durdin
1ad55b14fa
Merge branch 'master' into chore/linux/cicontainer 2024-08-27 09:58:34 +02:00
Joshua A. Horton
e6fb213fa2 fix: revert unintended change outside of new func 2024-08-27 13:23:10 +07:00
Joshua A. Horton
b589aed4c0 chore: builder.inc.sh cleanup in new method 2024-08-27 13:14:57 +07:00
Joshua A. Horton
1b166f580d chore: builder_completion echo cleanup 2024-08-27 13:14:13 +07:00