Commit graph

1449 commits

Author SHA1 Message Date
Eberhard Beilharz
606e6af365
chore(linux): update package index before installing packages
We need to run `apt-get update` first before trying to install packages.
We did update the package index when we built the base image, but that
might have been some time ago so that the index is now outdated.
2025-01-22 15:47:48 +01:00
Eberhard Beilharz
b84b651590
Merge pull request #11397 from keymanapp/chore/linux/cicontainer
chore: Add docker images for building the different platforms
2025-01-16 12:31:29 +01:00
Marc Durdin
4bc3b78072 chore: use GitHub PR titles when writing HISTORY.md 2025-01-16 09:14:21 +07:00
Joshua Horton
d3a5b21ec9
Merge pull request #12878 from keymanapp/chore/update-macOS-env-shell
chore: update macOS environment-variable shell script
2025-01-16 08:13:13 +07:00
Joshua Horton
da5152f509
Merge pull request #12296 from keymanapp/feat/builder-autocomplete
feat: add builder tab-completion script
2025-01-15 11:46:41 +07:00
Joshua Horton
78e4d6e386 chore: adjust for variable homebrew prefix 2025-01-15 08:28:48 +07:00
Joshua Horton
91289b6183 feat: add git-repo detection on tab-completer 2025-01-14 12:02:12 +07:00
Joshua Horton
1ffae64dfb chore: apply suggestions from code review 2025-01-14 10:40:38 +07:00
Marc Durdin
dad1df3194 fix(developer): ensure license parameter is required and add tests
Some additional items arose from this:

* Adds a command-line-tests unit test which does some basic sanity tests
  on `kmc`.
* Cleans up some of the error reporting infrastructure in `kmc` to
  ensure that thrown errors are handled better.
* Removes redundant subshell from `builder_run_action`.

Fixes: #12846
2025-01-13 15:10:31 +07:00
Joshua Horton
09eb489db2 chore: update macOS environment-variable shell script 2025-01-13 11:43:36 +07:00
Eberhard Beilharz
5176dd8a0e
refactor(linux): address code review comments
Also some cleanup.
2025-01-09 16:55:54 +01:00
Eberhard Beilharz
3251168e6b
chore(linux): address code review comments 2025-01-08 18:40:22 +01:00
Eberhard Beilharz
d425f2a1a4
chore(linux): use standard header 2025-01-08 18:40:08 +01:00
Eberhard Beilharz
93caf9b782
chore(linux): change from SIL International to SIL Global 2025-01-08 12:42:05 +01:00
Eberhard Beilharz
0df5992102
chore(linux): Merge branch 'master' into chore/linux/cicontainer 2025-01-08 12:39:10 +01:00
Eberhard Beilharz
7fd16dc93f
chore(linux): improve help for build.sh 2025-01-08 12:34:53 +01:00
Joshua Horton
7ebad957b9 fix: now autocompletes default options 2025-01-08 10:03:44 +07:00
Joshua Horton
ee77d240be feat: macOS ZSH support 2025-01-08 09:55:40 +07:00
Joshua Horton
9dfe83f3cf docs: for + suffix cleanup 2025-01-08 09:18:50 +07:00
Joshua Horton
73268f8d7f Merge branch 'master' into feat/builder-autocomplete 2025-01-08 09:15:50 +07:00
Eberhard Beilharz
afa47e08ec
Update resources/shellHelperFunctions.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-12-06 09:09:24 +01:00
Eberhard Beilharz
fbc3790043 chore(core): wait for nvm use to finish
This solves the underlying problem of builds not working on my machine.
Seems the environment isn't fully set after calling `nvm use`, so we have
to either `sleep 1` or wait for the process to end (which this change
does).
2024-12-05 11:03:01 +01:00
Eberhard Beilharz
7caf60789e chore(core): only install node on Windows if not available
This fixes the build on my Windows machine. Previously `nvm install/use`
for whatever reason caused Windows no longer be able to find `node`
thus causing the build to fail. This change when run on Windows first
checks the current node version and installs it only if it is not
installed.
2024-12-04 20:31:37 +01:00
Marc Durdin
9a01ac166d chore(core): Merge branch 'master' into fix/core/12619-disable-assertions-vcwin-release-build 2024-12-01 16:17:21 +07:00
Marc Durdin
cd8825d504
Merge pull request #12736 from keymanapp/refactor/developer/unify_test_action
refactor(developer): unify test action
2024-12-01 00:14:11 +01:00
Marc Durdin
5d06465388
docs(common): add builder_do_typescript_tests docs 2024-11-29 02:46:05 +01:00
Eberhard Beilharz
ef4f829737
chore(common): add offline support for emscripten
This change allows to build with emscripten if offline (when
passing the `--offline` parameter). Previously this failed because
as part of locating emscripten we try to pull the latest repo
version and install the desired emscripten version. With this change
when `--offline` is specified we try to use the currently installed
version of emsdk. If it isn't installed or if the wrong version
is installed we will fail the build.
2024-11-28 14:21:17 +01:00
Eberhard Beilharz
ddb6631d2a
chore(common): improve offline builds
`nvm install` will fail if trying to build while offline. This
change tries to use the required node version first and if that
fails installs and then uses it.
2024-11-28 11:45:26 +01:00
Marc Durdin
70a32f00d7 refactor(developer): unify test action 2024-11-28 15:16:25 +07:00
Marc Durdin
8c4a835354 chore(common): define NDEBUG for release builds to disable assertions on all platforms 2024-11-28 09:41:14 +07:00
Marc Durdin
18d00c7701 fix(core): use NDEBUG flag to disable assertions in release build for VC++
This disables assertions in release builds in Windows only. Other
platforms may have different outcomes.

Fixes: #12619
2024-11-27 15:34:34 +07:00
Marc Durdin
a4cf30d0c2
Merge pull request #12631 from keymanapp/fix/developer/12623-full-test-in-kmcmplib
fix(developer): reconnect `--full-test` in kmcmplib build and enable for CI
2024-11-13 03:43:54 +01:00
Marc Durdin
e27ebd1f84
Merge pull request #12642 from keymanapp/chore/core/move-api-docs-in
chore(core): move API docs from help.keyman.com
2024-11-08 02:12:25 +01:00
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
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
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
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
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