Commit graph

14950 commits

Author SHA1 Message Date
Marc Durdin
9a436fa5ca chore(developer): fixup kmcomp build 2022-05-19 09:52:56 +10:00
Marc Durdin
b47b8ded54 chore(developer): fixup kmcmpdll build 2022-05-19 09:46:38 +10:00
Marc Durdin
b367c40a59 chore(developer): move .mak to src 2022-05-19 09:26:00 +10:00
Marc Durdin
7ae2e97329 chore(developer): fixup kmanalyze 2022-05-18 12:03:37 +10:00
Marc Durdin
eba6c7b345 chore(developer): fixup top-level makefiles 2022-05-18 12:03:23 +10:00
Marc Durdin
a160a5c709 chore(developer): move source files to /developer/src 2022-05-18 10:34:48 +10:00
Marc Durdin
e0ff6621a9 chore(developer): npm install 2022-05-18 10:34:22 +10:00
Marc Durdin
d310ad9c85 chore(developer): move developer/inst to developer/src/inst/node 2022-05-18 10:21:16 +10:00
Marc Durdin
b1252f11e6 chore(developer): move kmlmc to developer/src/kmlmc 2022-05-18 10:13:03 +10:00
Marc Durdin
a617aa72ee chore(developer): update scripts for developer/kmlmc path 2022-05-18 09:35:35 +10:00
Marc Durdin
de536bf5a9 chore(developer): rename developer/js to developer/kmlmc 2022-05-18 09:22:53 +10:00
Marc Durdin
0062afe612 chore(core): chmod +x 2022-05-18 07:22:59 +10:00
Marc Durdin
4ab3c53810 chore(common): adjust scripts for core relocation 2022-05-18 07:22:11 +10:00
Marc Durdin
a58680f89b chore(common): move common/core/desktop/ to core/ 2022-05-18 07:22:10 +10:00
Marc Durdin
7e5cd7a137 chore(web): chmod +x 2022-05-18 07:21:47 +10:00
Marc Durdin
be51c1b692 chore(web): chmod +x 2022-05-18 06:44:30 +10:00
Marc Durdin
05a4c33200 chore(web): move common/core/web to common/web
Relates to #5816.

Moves folders under common/core/web to common/web:

* input-processor -> common/web/input-processor
* keyboard-processor -> common/web/keyboard-processor
* tools/recorder -> common/web/recorder
* tools/sentry-manager -> common/web/sentry-manager
* utils -> common/web/utils

Updates scripts and configuration to point to new folders.
2022-05-18 06:01:03 +10:00
Marc Durdin
dfd5fad2c7 chore(common): move common/core/web to common/web and flatten 2022-05-17 11:15:22 +10:00
Marc Durdin
75e77c4c76 chore(developer): remove package-lock ref
This is probably not needed at the bundling stage.
2022-05-16 16:12:01 +10:00
Marc Durdin
f668ee5744 chore(web): fixup languageProcessor text unit tests
Uses "Poor Man's Modules" until we have ES6, just so we can get passing
tests.
2022-05-16 15:05:36 +10:00
Marc Durdin
833dde0ae4 chore: remove unnecessary package-lock.json files 2022-05-16 14:47:58 +10:00
Marc Durdin
15f4aa8af2 chore(web): update npm version refs for publishing packages
Note that the version entry will be added to the local package.json
which will then be dirty. This version entry should not be committed.
2022-05-16 08:46:09 +10:00
Marc Durdin
1f708d06de chore(web): build.sh +x 2022-05-16 08:45:45 +10:00
Marc Durdin
af44c0687f chore(web): move web-environment to common/web 2022-05-16 08:29:46 +10:00
Marc Durdin
7e19405f16 chore: only set THIS_SCRIPT_PATH if THIS_SCRIPT is set 2022-05-16 06:11:29 +10:00
Marc Durdin
4f87aad344 chore(web): bulk renderer tsc cleanup
Changes the bulk renderer build script to the new standard build script
format and updates to use tsc -b. Cleans up final external <reference>s.
2022-05-16 05:50:11 +10:00
Marc Durdin
63ef4a30e8 chore(developer): lexical model compiler bundling cleanup 2022-05-15 12:25:22 +10:00
Marc Durdin
5e9af137b1 chore(developer): full npm install for production
We will avoid storing our local package-lock.json and do a full npm
install for production builds of Keyman Developer Server.
2022-05-15 06:56:22 +10:00
Marc Durdin
3f559e3f4e chore(developer): work around monorepo for building Developer Server 2022-05-15 06:42:48 +10:00
Marc Durdin
eef83be999 chore(developer): fixup server build without lerna 2022-05-14 19:22:34 +10:00
Marc Durdin
bd8e07bea2 chore(developer): fixup paths for tests 2022-05-14 15:35:06 +10:00
Marc Durdin
46c987bc7f chore(developer): build web-environment during js build 2022-05-13 14:46:19 +10:00
Marc Durdin
77ed80e567 chore(web): build lm-worker in predictive-text 2022-05-13 14:28:40 +10:00
Marc Durdin
41bd9069ad chore(web): fixup lmlayer test paths 2022-05-13 09:52:08 +10:00
Marc Durdin
1730df16cb chore(ios): fixup sentry copy 2022-05-12 17:16:52 +10:00
Marc Durdin
8efcb5d64a chore(web): embedded web cleanup 2022-05-12 07:37:10 +10:00
Marc Durdin
78427b374f chore(web): build deps for predictive-text 2022-05-12 06:29:41 +10:00
Marc Durdin
4f0185dd1e chore(web): cleanup unit tests
Fixes the build for unit tests (and fixes corresponding bug in KMW
build) to eliminate Lerna dependencies.
2022-05-11 12:05:44 +10:00
Marc Durdin
08ec9a5565 chore(web): +x for build.sh 2022-05-10 12:58:02 +10:00
Marc Durdin
d2b86c90d1 chore(web): fix predictive text module concatenation 2022-05-10 10:50:33 +10:00
Marc Durdin
f7a0b3d398 chore(web): fixup keyboard-processor tests
Uses poor man's module mode (i.e. appending .js files) to avoid module
issues with the changeover from Lerna to NPM and tsc -b for builds. We
will revisit this once the builds have stabilised.
2022-05-10 10:22:12 +10:00
Marc Durdin
907d4acba1 chore(web): make getters enumerable
Ref https://github.com/microsoft/TypeScript/pull/32264#issuecomment-677718191

We need getters for the ActiveLayout classes to be enumerable so that we
can copy them across in the polyfill functions.
2022-05-09 13:31:32 +10:00
Marc Durdin
21744d0ed6 chore(web): fixup test paths
Fixes some of the test paths required for core tests.
2022-05-09 13:29:41 +10:00
Marc Durdin
843cde9611 chore(web): fixup npm path ref in build.sh 2022-05-04 10:20:07 +10:00
Marc Durdin
bb07ab7eee chore(web): make build paths consistent 2022-05-04 10:13:44 +10:00
Marc Durdin
22c118c4be chore(developer): fixup version refs 2022-04-17 07:00:11 +10:00
Marc Durdin
575250f1d9 chore(web): remove unneeded deps 2022-04-17 06:58:24 +10:00
Marc Durdin
0fbf53f8d7 chore(web): move version from package.json to keyman-version package
Starts to resolve the chaos of putting version numbers into every
package.json file.

Adds a new keyman-version package which mimics the
version information in build-utils.sh. This will eventually replace
resources/web-environment.

Fixes the build for the lexical model compiler tools to remove refs to
package.json version and use keyman-version instead.

More fixes coming in a follow-up.
2022-04-17 06:47:39 +10:00
Marc Durdin
be51f97371 chore(developer): fixup kmlmc imports 2022-04-16 06:08:58 +10:00
Marc Durdin
2f2d3c72c9 chore(web): move lm-worker into its own folder
This starts the reorg required for splitting the lm worker into its own
module. Tests are still not working. But builds are going.

Some decisions to be made around the final path for wrapping of the
code. I think it may be possible to do something a whole lot more
elegant by moving the wrapping process into the KMW build and leaving
the LM Worker output as a pure tsc output -- given only KMW wants the
wrapped worker anyway (tests aside). The actual wrapping code could
still be in the lm-worker folder.
2022-04-14 15:33:23 +10:00