Commit graph

52 commits

Author SHA1 Message Date
Marc Durdin
2726050601 maint(common): rename and move node-related script functions into node.inc.sh
Consolidates the node-related script functions into node.inc.sh, as part
of cleaning up the build scripts and making them easier to maintain into
the future.

Fixes: #14447
2025-08-02 13:34:29 +10:00
Marc Durdin
f394245636 maint(common): consolidate builder scripts
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by
giving the scripts more appropriate names. Most build scripts should use
builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh.
Documented in resources/build/README.md.

Renames:
* resources/build/builder.inc.sh to resources/build/builder-full.inc.sh
* resources/build/build-utils.sh to resources/build/builder-basic.inc.sh

Other changes:
* Moves Android-specific functions out of builder-basic.inc.sh and into
  android/build.sh.
* Renames functions in builder-basic.inc.sh

More functions may be moved from builder-basic.inc.sh into utils.inc.sh
or other scripts in the future.

Fixes: #14065
Build-bot: build all
Test-bot: skip
2025-08-02 08:11:24 +10:00
Marc Durdin
65158a0526 maint(common): rename shellHelperFunctions.sh to utils.inc.sh
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10:00
Joshua Horton
1438704ee0
Merge pull request #13819 from keymanapp/maint/web/use-builder_is_ci_build
chore(web): replace --ci flag with builder_is_ci_build
2025-05-06 08:16:37 +07:00
Joshua Horton
cb5e3035a7 chore(web): replace --ci flag with builder_is_ci_build
Fixes: #12640
2025-05-02 09:39:39 +07:00
Joshua Horton
16fb2fef49 Merge branch 'chore/web/add-string-handling-unit-tests' into refactor/web/eliminate-kmwstring-side-effects 2025-04-30 08:57:36 +07:00
Joshua Horton
63f6216774 change(web): address engine/element-wrappers linter errors 2025-04-29 10:55:30 +07:00
Joshua Horton
70c1920854 refactor(web): refactor _kmwSlice, _kmwSubstr, _kmwSubstring 2025-04-22 11:40:57 +07:00
Joshua Horton
418f3d6aec chore(web): update all Web engine uses of kmwLength, kmwCodePointToCodeUnit, kmwCodeUnitToCodePoint 2025-04-22 10:17:07 +07:00
Eberhard Beilharz
89abdbd64c
refactor(web): move some files around
- move `outputTarget.ts` → `js-processor`
- move `deadkeys.ts` → `js-processor`
- move `stringDivergence.ts` → `js-processor`
- split `Mock` into `mock.ts`
- create `keyboard/outputTarget.interface.ts`
2024-08-14 19:06:32 +02:00
Eberhard Beilharz
46ecfd4466
refactor(web): move remaining parts of keyboard-processor → keyboard
move parts of `common/web/keyboard-processor/` →
`web/src/engine/keyboard/`.

Fixes: #12110
2024-08-12 19:40:15 +02:00
Joshua A. Horton
6591c61eeb chore(web): enforces noImplicitAny for app/browser and app/webview 2024-05-29 10:43:11 +07:00
Joshua A. Horton
0b05766efb chore(web): removes web/ unused locals 2024-05-29 09:24:32 +07:00
Joshua A. Horton
e3b9a25963 fix(web): drops unused nestedInstanceOf branch with invalid method reference 2024-05-29 08:48:02 +07:00
Joshua A. Horton
a34e5c9100 fix(web): EventEmitter import pattern update 2024-05-09 08:49:50 +07:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Joshua A. Horton
d554a0046f chore(web): Merge branch 'refactor/web/common-esbundling' into change/web/build-bundler-replacement 2023-12-22 12:54:53 +07:00
Joshua A. Horton
b5d97070e5 change(web): converts Web's engine/ targets 2023-12-18 10:08:00 +07:00
Eberhard Beilharz
f7443c3b67
refactor(web): Move supported input types into separate method 2023-12-14 18:51:04 +01:00
Joshua A. Horton
eccbd49abb change(web): centralizes /web project bundling configs 2023-06-16 11:35:10 +07:00
Joshua A. Horton
70cde09ebc chore(web): centralizes main KMW component tsconfig settings 2023-06-14 09:02:46 +07:00
Joshua A. Horton
d0ac536c51 chore(web): removes unused { spawn } imports 2023-06-12 11:29:15 +07:00
Joshua Horton
4ae1677bb7
Merge pull request #8904 from keymanapp/change/web/common-downcompile-helpers
change(web): common downcompile helpers 🧩
2023-06-09 10:33:25 +07:00
Joshua A. Horton
39f30e4385 fix(web): restores element text scrolling 2023-06-08 13:07:39 +07:00
Joshua A. Horton
06434953a8 chore(web): KMW use of importHelpers 2023-06-08 13:03:25 +07:00
Joshua A. Horton
75058eb623 chore(web): updates per PR review 2023-06-01 15:04:49 +07:00
Joshua A. Horton
464b52e38d chore(web): Merge branch 'change/web/sample-page-rework' into chore/web/test-page-patchup 2023-05-30 12:59:30 +07:00
Joshua A. Horton
194d46693f chore(web): extra build-script cleanup 2023-05-30 08:57:45 +07:00
Joshua A. Horton
a5a4a4018f fix(web): content-editable issues re: CKEditor 2023-05-22 11:32:48 +07:00
Joshua A. Horton
f470a7cc96 fix(web): child project tsconfig.json references 2023-05-18 10:07:28 +07:00
Joshua A. Horton
a95a091fcc chore(web): cleans build scripts, converts to use of builder_run_action 2023-05-18 10:06:37 +07:00
Joshua A. Horton
e9fa472f69 chore(web): modularization of blur, focus, and text-change events 2023-05-15 14:46:49 +07:00
Joshua A. Horton
0fd6d80ad0 chore(web): applies suggestions from PR review 2023-03-27 12:17:30 +07:00
Joshua A. Horton
f1238dece9 fix(web): cleans up half-rebased changeset re: oninserttext 2023-03-17 14:13:55 +07:00
Joshua A. Horton
8a13a4e64d change(web): webview context configuration + connections 2023-03-17 14:10:05 +07:00
Joshua A. Horton
995a850e60 feat(web): input, textarea getSelectedText unit tests + fixes for others 2023-03-17 14:01:04 +07:00
Joshua A. Horton
0f754f9be7 feat(common/web): mocks may now model selected text 2023-03-17 12:48:07 +07:00
Joshua A. Horton
5988f5b1e2 chore(web): updates new scripts to optimized form (see #8416) 2023-03-14 12:38:26 +07:00
Joshua Horton
97c1688328
change(web): applies new include style to new child scripts
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-02-27 08:50:59 +07:00
Joshua A. Horton
ad2e58a9cd fix(web): builder_describe_outputs paths 2023-02-23 08:42:29 +07:00
Joshua A. Horton
ca1d85f9e5 chore(web): cleanup per PR review 2023-02-22 15:39:58 +07:00
Joshua A. Horton
b62f220d68 chore(web): renames common compile method .sh, defines child test actions for headless stuff 2023-02-22 14:46:04 +07:00
Joshua A. Horton
9692ab9db2 chore(web): minor cleanup 2023-02-22 12:28:11 +07:00
Joshua A. Horton
2135420a0a change(web): reworks Web build to #8198 - builds with parent-child pattern 2023-02-22 12:05:23 +07:00
Joshua A. Horton
4503ed9768 change(web): web child projects now utilize import paths 2023-02-17 09:22:43 +07:00
Joshua A. Horton
0b642561ac chore(common/web): Merge branch 'feature-esmodule-web-engine' into change/common/web/early-import-path-cleanup 2023-02-06 09:35:56 +07:00
Joshua A. Horton
dba8bd646d chore(web): cleans up element-wrapper imports, test imports 2023-02-06 09:24:51 +07:00
Joshua A. Horton
d987444683 change(web): OSK modularization, prep for standalone mode, refactors to achieve both 2023-01-20 15:16:05 +07:00
Joshua A. Horton
fc84af4842 change(web): element-wrapper modularization + unit test conversion 2023-01-20 15:09:56 +07:00