Commit graph

33096 commits

Author SHA1 Message Date
Marc Durdin
b399637799 chore(common): adjust dependency order 2024-05-20 06:35:00 +07:00
Marc Durdin
c1366763eb chore(common): add dependency 2024-05-20 06:34:59 +07:00
Marc Durdin
ee0fc0ce14 chore(developer): cleanup npm publish
Use a new flag `--npm-publish` in conjunction with `publish` action,
so that the default will always be to `npm pack` if the new flag is not
specified. This flag is also guarded in the actual npm publish code to
ensure that it can only run in the appropriate CI alpha/beta/stable
environment, and not in local or test.

This then also removes the separate `pack` action.

Also removes legacy boilerplate from a number of build scripts.
2024-05-20 06:34:57 +07:00
Marc Durdin
378cd72512 chore(developer): remove old inst makefiles 2024-05-20 06:34:55 +07:00
Marc Durdin
fa57d5c674 chore(developer): final work on build.sh for developer
Now builds from a clean repo:

  developer/src/build.sh configure build test publish

* Splits kmbrowserhost into kmdbrowserhost for Developer; this means
  that Developer Browser Host now inherits the Developer settings rather
  than the Keyman for Windows settings, and simplifies distribution and
  management. The only difference between the two is in the startup code
  so this seems like a good split.

* Cleanup of various build scripts and dependencies.
2024-05-20 06:34:53 +07:00
Marc Durdin
41df6d1cd7 chore(developer): refactor remaining build scripts
This finishes the changes for all build infrastructure for Keyman
Developer to use build.sh.
2024-05-20 06:34:50 +07:00
Marc Durdin
2d249cb8e6 chore(developer): cleanup test paths 2024-05-20 06:34:48 +07:00
Marc Durdin
c8a1c6aa39 chore(developer): use builder.inc.sh instead of build-utils.sh in build scripts
also, remove old Makefiles
2024-05-20 06:34:46 +07:00
Marc Durdin
2499ebf4bb chore(developer): move windows common Makefiles to build scripts
Relates to #11317.
2024-05-20 06:34:38 +07:00
Marc Durdin
86c62ff36c chore(developer): transition remaining projects to build.sh
Relates to #11317.

All projects now have a build.sh. Still need to work on inst/, remove
old Makefiles, and update CI.
2024-05-20 06:33:51 +07:00
Marc Durdin
8c14b20515 chore(developer): tike/build.sh 2024-05-20 06:33:49 +07:00
Marc Durdin
7ce07c71be chore(developer): move to build.sh for setup
Relates to #11317.

Initial baby steps for configuring build environment for Delphi and VC++
within build.sh without needing to call out to batch files.

Proof-of-concept build.sh for setup.dpr.
2024-05-20 06:33:48 +07:00
Marc Durdin
296d16eb04 fix(common): properly quote builder_run_action call
The call to the command listed for `builder_run_action` was not properly
quoted, which meant that quoted parameters would have been corrupted,
for example:

    builder_run_action clean   rm -rf "temp folder/"

Would have run:

    rm -rf temp folder/
2024-05-20 06:30:16 +07:00
Marc Durdin
a0b15be300 fix(common): calculate already-build dependency targets correctly
When using module:target style dependencies, Builder would not track the
individual targets within the module, causing only the first target to
be built; subsequent dependency targets within that module would be
treated as already built.

This change means that builder will track individual targets within
the dependency. However, it is possible for targets to be built multiple
times if there a dependency listed for the entire module as well as for
the individual target within dependency, as in the following example,
where building project1 and project2 in one command would cause
module:mytarget to be built twice.

    builder_describe project1 \
      @/module

    builder_describe project2 \
      @/module:mytarget

This scenario should not break builds as they any configure+build
actions should be idempotent, but it could cause builds to be a little
slower, so should be corrected if identified. I do not currently plan to
further modify the dependency calculations to cater for this scenario.

Finally, if :mytarget is a child build, it is better to reference the
child module directly than the parent's target, for example:

    builder_describe projec1 \
       @/module/mytarget
2024-05-20 06:20:06 +07:00
Keyman Server
462d279a78
Merge pull request #11474 from keymanapp/auto/version-master-18.0.39
auto: increment master version to 18.0.39
2024-05-17 11:05:41 -07:00
Keyman Build Agent
51ffb86149 auto: increment master version to 18.0.39 2024-05-17 14:04:58 -04:00
Sabine
69a60c9075 feat(mac): massive tidy up 2024-05-17 17:45:58 +02:00
Sabine
4a5e4579c8 feat(mac): fill alDead OK 2024-05-17 16:47:23 +02:00
sgschantz
346ed1f51c chore(mac): revert xib change
no need to change this as part of indentation reformat
2024-05-17 16:52:00 +07:00
Darcy Wong
963587f796
Merge pull request #11469 from keymanapp/chore/common/clear-whats-new
chore(common): Clear whatsnew help files
2024-05-17 14:07:32 +07:00
Joshua A. Horton
74d63167f1 fix(web): fixes kbd-help documentation for help.keyman.com 2024-05-17 13:05:29 +07:00
Marc Durdin
fbe7e323ea
Merge branch 'master' into chore/common/clear-whats-new 2024-05-17 12:37:55 +07:00
Marc Durdin
8535f43f33
Merge branch 'master' into fix/web/error-without-neighbor 2024-05-17 12:37:24 +07:00
Joshua A. Horton
3d0ce74f93 fix(web): fixes error on tab, enter when only a single input element is on the page 2024-05-17 11:52:16 +07:00
Darcy Wong
73ca23bf45
Merge pull request #11436 from keymanapp/fix/android/deprecated-get-size
fix(android): Replace deprecated APIs for Display, Size, Metrics
2024-05-17 11:22:48 +07:00
Darcy Wong
c9cbc851b7
Merge pull request #11399 from keymanapp/chore/common/min-ver-sh
chore(common): Auto-generate minimum-versions.md from min-ver.sh
2024-05-17 11:22:25 +07:00
Darcy Wong
15c1fddae8 chore(common): Clear whatsnew help files
Clear whatsnew.md files for beginning of 18.0 alpha development
2024-05-17 09:32:27 +07:00
Keyman Server
8c096691af
Merge pull request #11465 from keymanapp/auto/version-master-18.0.38
auto: increment master version to 18.0.38
2024-05-16 11:05:51 -07:00
Keyman Build Agent
f68afbda37 auto: increment master version to 18.0.38 2024-05-16 14:05:12 -04:00
Darcy Wong
a14d72fb44
Merge pull request #11438 from keymanapp/chore/oem/fv/rm-build-keyboards
chore(oem/fv/ios): Remove build_keyboards.sh script
2024-05-16 22:05:12 +07:00
Darcy Wong
d4fd52c2d6
Merge pull request #11458 from keymanapp/fix/android/lock-globe
fix(android/engine): Handle globe key on lock screen
2024-05-16 22:04:03 +07:00
Dr Mark C. Sinclair
a099c86ad8 chore(developer): remove unnecessary use of local variable in three AddCompileError test cases 2024-05-16 11:49:43 +01:00
Dr Mark C. Sinclair
db257139fb chore(developer): refactor AddCompileError test to use const local variables 2024-05-16 11:39:56 +01:00
Dr Mark C. Sinclair
95b9986709 chore(developer): use GetCompilerErrorString to fetch error messages for tests 2024-05-16 11:11:44 +01:00
Dr Mark C. Sinclair
451731f5b1 chore(developer): move the msgproc stubbing into the test class 2024-05-16 10:50:23 +01:00
Joshua Horton
e382dddb5b
chore(common): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-16 16:03:14 +07:00
Darcy Wong
0be1937756
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-16 16:00:57 +07:00
Darcy Wong
60978976ae
Merge pull request #11437 from keymanapp/fix/android/gradle-wrapper-version
chore(android): update Gradle wrapper version
2024-05-16 15:59:15 +07:00
Darcy Wong
1525dadf87 fix(oem/fv/ios): Correct typo in KEYBOARDS_TARGET 2024-05-16 14:14:30 +07:00
Darcy Wong
cd2a95af38 fix(android/engine): Handle globe key on lock screen 2024-05-16 09:17:46 +07:00
Keyman Server
0d07c2e54e
Merge pull request #11457 from keymanapp/auto/version-master-18.0.37
auto: increment master version to 18.0.37
2024-05-15 11:58:29 -07:00
Keyman Build Agent
79ee6aead1 auto: increment master version to 18.0.37 2024-05-15 14:57:46 -04:00
Sabine
d69600b994 feat(mac): tidy up 2024-05-15 19:34:17 +02:00
Sabine
86850d5558 feat(mac): adapt order of keys for getDeadkeys to catch the most important key combinatin for a dk combination 2024-05-15 18:49:18 +02:00
Joshua A. Horton
d70463a3ae chore(web): cleans up one tsconfig setting 2024-05-15 16:00:36 +07:00
Joshua A. Horton
78d9544c26 fix(web): Web's sentry-manager tsconfig.json did not properly inherit from main configs 2024-05-15 16:00:35 +07:00
Joshua A. Horton
01fa0675ef chore(web): centralizes on a single @types/node, as it caused a TS typing conflict 2024-05-15 16:00:35 +07:00
Joshua A. Horton
70d06d7cd1 chore(web): updates all KMW-related projects to TS 5.4.5 2024-05-15 16:00:34 +07:00
Joshua A. Horton
fdc4e7dc33 fix(web): configure should prep playwright 2024-05-15 15:55:45 +07:00
Joshua A. Horton
1d8de02c2f fix(web): configure should include playwright setup 2024-05-15 15:54:25 +07:00