Commit graph

27982 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
23069398bf chore(developer): remove all message text assertions 2024-05-20 10:28:13 +01:00
Marc Durdin
682e141aea refactor(developer): include test_color.cpp in kmcmplib tests 2024-05-20 15:58:17 +07:00
Marc Durdin
9465c3e0b4 refactor(common): move enabled declaration into test_color.cpp
Moves variable declaration for `bool enabled` from .h to .cpp and fixes
up builds. Fixes `#include` in ldml_test_source.cpp which was inside a
namespace.

Fixes: #10426
2024-05-20 15:42:41 +07:00
Darcy Wong
3d29143913
Merge pull request #11481 from keymanapp/fix/android/null-string-startup
fix(android/app): Verify extracted text is not null
2024-05-20 11:05:19 +07:00
Darcy Wong
9e0207ad87
Update android/KMAPro/kMAPro/src/main/java/com/keyman/android/SystemKeyboard.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-20 10:58:31 +07:00
Marc Durdin
ec76ece6d9
Merge pull request #11478 from keymanapp/fix/common/builder-run-action-quotes
fix(common): properly quote `builder_run_action` call
2024-05-20 10:32:27 +07:00
Marc Durdin
f5af18a492
Merge pull request #11477 from keymanapp/fix/common/builder-dep-targets
fix(common): calculate already-build dependency targets correctly
2024-05-20 10:32:19 +07:00
sgschantz
cc061837d0 fix(mac): added KMLogs class to manage shared log settings
KMLogs creates singleton os_log objects with the subsystem
and categories shared throughout the application
2024-05-20 08:50:05 +07:00
sgschantz
8fa8275584 fix(mac): change to unified logging
delete commented out code and unimplemented method
2024-05-20 08:42:32 +07:00
Darcy Wong
099b563c85 fix(android/app): Verify extracted text is not null 2024-05-20 08:41:21 +07:00
Joshua A. Horton
42d1cf3bd3 chore(mac): incorporates many review suggestions + comments 2024-05-20 08:39:25 +07:00
Marc Durdin
c06dd480df chore(windows): add new build scripts for Windows builds 2024-05-20 08:27:31 +07:00
Marc Durdin
f9a321fa1a chore(windows): add compiled resources to .gitignore 2024-05-20 08:19:56 +07:00
Marc Durdin
d06f4b13d0 chore(windows): move insthelper up to engine folder 2024-05-20 08:19:27 +07:00
Shawn Schantz
1eb4b2148d
Merge pull request #11432 from keymanapp/chore/mac/11427-indent-2-spaces
chore(mac): change indentation of source code to equal standard two spaces
2024-05-20 08:18:33 +07:00
Marc Durdin
9f7eff122e chore(windows): remove legacy build Makefiles 2024-05-20 08:16:52 +07:00
Marc Durdin
8b2070c339 chore(developer): minor cleanup on scripts
Additional shared script resources for Developer and Windows,
refactor of a code signing function, refactor of clean step in build.sh.
2024-05-20 06:35:11 +07:00
Marc Durdin
a062c8773a chore(developer): checkout correct CEF version during release build 2024-05-20 06:35:09 +07:00
Marc Durdin
5c2737738d chore(developer): move to keymancore-2.dll 2024-05-20 06:35:08 +07:00
Marc Durdin
b3da2164ec chore(developer): address review comments 2024-05-20 06:35:06 +07:00
Marc Durdin
8b6d6b0618 chore(developer): cleanup on build scripts
A round of cleanup and consistency for Developer build scripts.
2024-05-20 06:35:05 +07:00
Marc Durdin
4e679dcab4 chore(developer): SIGNTIME env var support
Also some more script cleanup and ensure common/core packages are also
published.
2024-05-20 06:35:02 +07:00
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
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