Commit graph

33476 commits

Author SHA1 Message Date
Darcy Wong
45cfd9fb48 chore: remove debug 2025-05-15 14:34:46 +07:00
Darcy Wong
44fd718d6d maint(common): Use -x@filename to exclude files 2025-05-15 14:22:29 +07:00
rc-swag
1bc9d3e5f5 fix(windows): revert accidental commited file 2025-05-15 16:59:49 +10:00
rc-swag
44d7d66921 fix(windows): rename Enter and Exit methods TState
The state machine method for Exiting a a state was overiding
the Delphi system Exit. This meant that any intended early returns
inside TState method where actually just calling the State.Exit
method then continuing execution within the method.

Fixes: 13831
2025-05-15 16:09:31 +10:00
Darcy Wong
790d76a925 maint(ios): Use zip.inc.sh to prep release artifacts 2025-05-15 10:37:31 +07:00
Darcy Wong
f2245442c6 chore(common): Cleanup script 2025-05-15 09:28:01 +07:00
Darcy Wong
06145a46dd
Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-05-15 09:19:59 +07:00
Darcy Wong
ecdece5436
Merge pull request #13907 from keymanapp/chore/fv/android/icon
chore(android): Update FirstVoices launcher icon and red theme
2025-05-15 05:40:52 +07:00
Steven R. Loomis
be1668aa55
Merge branch 'feat/developer/10622-add-more-line-number-issues' into feat/developer/10622-line-number-meta 2025-05-14 16:53:03 -05:00
Steven R. Loomis
497405c4df feat(developer): fixup for api test
Fixes: #10622
2025-05-14 16:52:12 -05:00
Steven R. Loomis
30099fc75d feat(developer): add line number for meta
- made the 'x' parameter optional for some cases

Fixes: #10622
2025-05-14 16:47:54 -05:00
Steven R. Loomis
155b5558bf feat(developer): add line number for keys
- all remaining tests for KeysCompiler
- who's next?

Fixes: #10622
2025-05-14 16:25:59 -05:00
Steven R. Loomis
d4bc0ecda5
Merge branch 'master' into feat/developer/10622-add-more-line-number-issues 2025-05-14 16:00:29 -05:00
Steven R. Loomis
bdb8823eff feat(developer): add line number for keys
- restructure form loading a little bit, so that we remember the form object
- add a commented-out test that validates that offsets are actually produced

Fixes: #10622
2025-05-14 15:56:19 -05:00
Steven R. Loomis
21c87e2cdc feat(developer): add line number for Warn_CustomForm
- improve test machinery so that it ignores offsets (line number) most of the time unless retainOffsetInMessages is set
- add Warn_CustomForm() using a new model, changing 'o' to be an LKKeys
- update test with the new warning

Fixes: #10622
2025-05-14 14:33:57 -05:00
Keyman Server
2063bca984
Merge pull request #13914 from keymanapp/auto/version-master-19.0.38
auto: increment master version to 19.0.38
2025-05-14 11:02:05 -07:00
Keyman Build Agent
e79ab36fbd auto: increment master version to 19.0.38 2025-05-14 14:01:34 -04:00
Eberhard Beilharz
c9632fd412
maint(common): add some code comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-05-14 17:21:50 +02:00
Eberhard Beilharz
eb82779380
maint(linux): remove temporary files created during dependency installation
Until now we accidentally included three files `linux/keyman_build_deps*`
in the source package that get created during installing dependencies.
This change deletes the files after installing the dependencies before
we create the source package.
2025-05-14 17:01:11 +02:00
Eberhard Beilharz
9254a391a6
maint(linux): fix logging in deb-packaging.sh 2025-05-14 16:41:55 +02:00
Steven R. Loomis
7f2d2b945e feat(developer): tests for offsets (line numbers in messages)
- add unit test that complains if no tests have offset(line) numbers, and whine if any don't. Also round trip tests the column number working as expected.
- rename helper withColumn() to withOffset()

Fixes: #10622
2025-05-14 08:50:32 -05:00
Marc Durdin
e7090ff207
Merge pull request #13882 from keymanapp/maint/common/builder-error-to-stderr
maint(common): report builder errors to stderr
2025-05-14 15:57:52 +07:00
Eberhard Beilharz
2ff91ea0c5
maint(linux): add Questing to launchpad package builds
This adds the next Ubuntu version, 25.10 Questing Quokka to the launchpad
package builds.
2025-05-14 10:49:23 +02:00
Eberhard Beilharz
6c4904965c
Merge pull request #13909 from keymanapp/maint/linux/cleanupmeson
Since Keyman 18 we no longer require a patched ibus, so we can remove the check from the meson build file.
2025-05-14 10:46:41 +02:00
Eberhard Beilharz
6320f8d739
Merge pull request #13902 from keymanapp/maint/linux/removefile 2025-05-14 09:36:33 +02:00
Darcy Wong
46648078ac maint(android): Handle 7z call 2025-05-14 14:36:18 +07:00
Eberhard Beilharz
d75372f3c3
maint(linux): remove check for patched ibus from meson.build
Since Keyman 18 we no longer require a patched ibus, so we can remove
the check from the meson build file.
2025-05-14 08:46:58 +02:00
Darcy Wong
271ab0f7aa maint(android): Use file parameter of files to exclude 2025-05-14 13:39:00 +07:00
Darcy Wong
16facd8708 chore(android): Update FirstVoices red color theme
The red is used as a separator color, and some labels
2025-05-14 09:47:43 +07:00
Darcy Wong
b5afb508c5 chore(android): Update FirstVoices launcher icon
Using red background produced by Android Studio
Red background with the hex code #8d2a1d
2025-05-14 09:13:44 +07:00
Eberhard Beilharz
ac0f424aa0
maint(linux): ignore unnecessary files from source package 2025-05-13 20:07:33 +02:00
Eberhard Beilharz
fc79e38cc4
maint(linux): fix lintian warnings
This addresses comments from Debian review of the package.
2025-05-13 20:07:32 +02:00
Keyman Server
9520f86363
Merge pull request #13906 from keymanapp/auto/version-master-19.0.37
auto: increment master version to 19.0.37
2025-05-13 11:04:06 -07:00
Keyman Build Agent
f322e9553b auto: increment master version to 19.0.37 2025-05-13 14:03:31 -04:00
Eberhard Beilharz
db4593127f
maint(linux): remove generated file that got accidentally committed
Test-bot: skip
2025-05-13 19:05:47 +02:00
Shawn Schantz
79d5347c80
Merge pull request #13876 from keymanapp/fix/mac/13718-sanskrit-unicode-crash
fix(mac): handle PackageInfo section in kmp.inf file
2025-05-13 15:48:55 +07:00
Joshua Horton
8991df3865 maint: update fast-json-parser
The `fast-json-parser` package is needed by `ajv-cli`, which is used during common/web/types/build.sh configure.

Test-bot: skip
2025-05-13 14:46:32 +07:00
Joshua Horton
08ba7c4208 maint: update @actions/github + @octokit references 2025-05-13 14:25:46 +07:00
Eberhard Beilharz
b4cd5a24e4
Merge pull request #13898 from keymanapp/maint/android/13896_TIER
PR #13854 missed (at least) one place when renaming the variables from `TIER` to `KEYMAN_TIER`. This change fixes the release builds for Android.
    
Follow-up-of: #13854
Fixes: #13896
2025-05-13 09:25:02 +02:00
Joshua Horton
155c1a2b12 maint: update mocha
Some of the npm audit warnings left after #13897 require an updated `mocha` version to remedy.  As we only really use `mocha` to do unit-testing, it should be safe to update if all of our existing tests pass with the new version.

Test-bot: skip
2025-05-13 14:02:02 +07:00
Eberhard Beilharz
09da7c0b10
Merge pull request #13892 from keymanapp/maint/common/13885_movefuncs
This change moves the `build_is_ci_*` functions from `resources/build/build-utils-ci.inc.sh` → `resources/builder.inc.sh`.
It also adds documentation for them.

Fixes: #13885 
Fixes: #13886
2025-05-13 09:00:56 +02:00
Eberhard Beilharz
a07078dc4c
Merge pull request #13891 from keymanapp/fix/linux/pkgbuild
This allows to build packages for Keyman 18 without having to backport the change that renames `VERSION` → `KEYMAN_VERSION`.
2025-05-13 09:00:21 +02:00
Eberhard Beilharz
b7c05dace5
Merge pull request #13890 from keymanapp/maint/linux/debianupload
With this change we wait two seconds after creating the PR before trying to get the number of the PR so that GitHub can catch up. Previously recently it wasn't able to get the PR#.

Also adjust the commit message and use the new header for skipping tests.
2025-05-13 08:59:38 +02:00
Eberhard Beilharz
a3b63008ef
maint(android): use new variable name KEYMAN_TIER
PR #13854 missed (at least) one place when renaming the variables from
`TIER` to `KEYMAN_TIER`. This change fixes the release builds for
Android.

Follow-up-of: #13854
Fixes: #13896
Test-bot: skip
2025-05-13 08:56:02 +02:00
Joshua Horton
90047e8c6a maint: evaluate and apply npm audit fix (unforced) 2025-05-13 13:23:03 +07:00
Joshua Horton
a783fbc902 maint(web): also fixes worker-thread inspectable browser test call 2025-05-13 12:44:26 +07:00
Joshua Horton
14dd36de4d fix(web): inspectable test-script mode should not be auto-enabled in local-env tests
This is a followup to the recent #13827, which automatically adds --debug to local-environment builds.  For web/ test scripts involving browser-based scripts, that same flag had been used to enable an _inspectable_ test mode that doesn't auto-return, which doesn't match the semantics of --debug for build configurations.

To rectify this, those scripts now have their --debug option renamed to --inspect, allowing them to be optionally turned on, but not automatically enabled.

Test-bot: skip
2025-05-13 12:38:47 +07:00
Darcy Wong
f78a417ba2 chore(common): Merge remote-tracking branch 'origin/master' into maint/common/7z-inc-sh
# 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
2025-05-13 11:37:30 +07:00
Darcy Wong
c2e6c03b8e
Merge pull request #13858 from keymanapp/refactor/android/java-21-gradle
maint(android): Update to Java 21 and Gradle dependencies
2025-05-13 11:06:26 +07:00
Darcy Wong
f4c5c55773 fix(android): Revert setting java language version 2025-05-13 10:02:56 +07:00