Commit graph

33096 commits

Author SHA1 Message Date
rc-swag
2712ac73a4
feat(windows): apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-01-06 08:39:05 +10:00
Keyman Server
a01de13807
Merge pull request #6084 from keymanapp/auto/version-master-15.0.174
auto: increment master version to 15.0.174
2022-01-06 05:03:34 +11:00
Keyman Build Agent
30282b059d auto: increment master version to 15.0.174 2022-01-05 13:02:49 -05:00
Eberhard Beilharz
9ba96d168f
Merge pull request #6068 from keymanapp/fix/linux/issue-5817_version
fix(linux): fix release version number for Sentry reporting
2022-01-05 13:26:58 +01:00
Darcy Wong
be64b53518
Merge pull request #6040 from keymanapp/chore/common/crowdin-update-am-mac
chore(common): Update crowdin strings for Amharic 📜
2022-01-05 16:32:52 +07:00
Darcy Wong
97c2a61870 chore(android): Add no-daemon flag to build script 2022-01-05 14:59:31 +07:00
Ross
8540a36ef8 feat(windows): method set context correctly truncates input buffer
AppContext Set now truncates an input buffer correctly
if it is longer in length than the internal storage available for the context,
it uses the same implementation as the common core found in
kmx_context.cpp
2022-01-05 11:24:09 +10:00
Keyman Server
23517002b3
Merge pull request #6078 from keymanapp/auto/version-master-15.0.173
auto: increment master version to 15.0.173
2021-12-24 05:02:08 +11:00
Keyman Build Agent
42b5552c75 auto: increment master version to 15.0.173 2021-12-23 13:01:25 -05:00
Marc Durdin
70becc7ed1
Merge pull request #6065 from keymanapp/chore/windows/nmake-makefile-cleanup
chore(windows): nmake makefile cleanup
2021-12-23 10:03:53 +11:00
Marc Durdin
4293f97c29
Merge pull request #6074 from keymanapp/fix/developer/npm=devdependency-bug
fix(developer): work around devDependencies bug in npm
2021-12-23 10:02:18 +11:00
Marc Durdin
984d429e9c fix(developer): bundle.sh rm 2021-12-23 09:19:04 +11:00
Marc Durdin
2e13e7fc0f chore: temp set -x 2021-12-23 09:16:22 +11:00
Marc Durdin
7b904969cb chore(developer): update icon and fix link 2021-12-23 07:25:07 +11:00
Marc Durdin
c1881bc966 chore: fix npm install 2021-12-22 15:38:14 +11:00
Marc Durdin
bfcdb5ac57 feat(developer): last-use and expire old resources 2021-12-22 14:48:24 +11:00
Marc Durdin
a858c5166c feat(developer): sentry integration into server
This also tidies up the mkver.sh script and adds the
replaceVersionStrings() function to build-utils.sh for use globally.
2021-12-22 11:16:33 +11:00
Marc Durdin
eb46acffcd chore(developer): validate paths in api 2021-12-22 09:44:58 +11:00
Marc Durdin
e35d4e83a6 chore(developer): polish web debug display on mobile 2021-12-22 09:33:34 +11:00
Marc Durdin
64b4a25cc5 chore(developer): rename WebHost to Server 2021-12-22 09:15:53 +11:00
Marc Durdin
cfbcc36e27 chore: more cleanup and polish 2021-12-22 08:39:15 +11:00
Marc Durdin
2a38c69faa chore(developer): minor web server refactors and cleanup 2021-12-22 07:01:57 +11:00
Marc Durdin
2c01b19f69 chore: cleanup
1. Renamed form UfrmNGrokOptions to UfrmServerOptions
2. Renamed kmdev-server to just plain server
3. Tidied up npm versioning to use VERSION_WITH_TAG

This last point should help avoid confusion as now only CI release
builds will ever generate a package.json with a.b.c, a.b.c-alpha or
a.b.c-beta. Local and test builds will always have the corresponding
-test or -local environment appended. This also helps avoid issues if
we accidentally publish an incorrect version.
2021-12-22 06:25:22 +11:00
Marc Durdin
87f0d80f7b chore: fix bundle.sh call 2021-12-22 05:44:17 +11:00
Marc Durdin
5fccc1161d chore(developer): refactor model compiler bundling into bash script
This made the string processing needed much simpler than
when it was embedded within the Makefile, where horrible
escaping proved necessary.
2021-12-22 04:47:05 +11:00
Marc Durdin
e172480802 chore(developer): add typescript dev-dependency for server 2021-12-21 19:07:43 +11:00
Marc Durdin
23a29e25b3 fix(developer): tweak script for npm fix 2021-12-21 19:00:21 +11:00
Marc Durdin
a5575e0d8e fix(developer): work around devDependencies bug in npm
Relates to https://github.com/npm/cli/issues/2921

This issue arises after moving from npm 6.x to 7.x or later. As the
build agents are still on 6.x, we have not yet seen this issue there.

As part of the release build for Keyman Developer, we bundle up some
files and do some work in a temp folder to prepare folders for release.
Even though we are only working with `dependencies` (e.g. using `npm
install --production`), packages under `devDependencies` are still
wrongly being checked by NPM. As we have two modules present in
`devDependencies` that are only available when in the repo path, we need
to remove them before attempting to continue. Yuck!

ref: https://github.com/npm/cli/issues/3975#issuecomment-985305678
ref: https://github.com/npm/cli/issues/2921
2021-12-21 17:10:16 +11:00
Marc Durdin
f67a5ed9c6 chore(developer): fixup release build 2021-12-21 17:09:04 +11:00
Marc Durdin
51dc6e45c7 chore(developer): cleanup build and remove old ngrok code 2021-12-21 12:08:42 +11:00
Marc Durdin
44b0335fed feat(developer): Keyman Developer Server
Initial commit for Keyman Developer Server, running on Node.

Supports web debugger only at this point.

Extensive rewrite of web debugger, much of it more modern standards,
significantly improved UX:

1. Drop keyboards, packages, fonts, models onto debug page to load them
2. Websocket for instant reload of recompiled keyboards, packages,
   models.
3. API for interacting with debug server.
4. Cache of recently used items.
5. Integration with ngrok for public access as desired.
6. Tray icon (currently default icon) for control of server.
7. Server can live after TIKE closes, supports multiple TIKE instances.
8. UI of debug host page rewritten with Bootstrap.
9. Packages downloads integrated into main page, and download link for
   Keyman supports all platforms (Linux is just a link to
   instructions...)
10. Avoids file locking and contention by managing all files internally.
11. Not yet tested, but should run cross-platform.
2021-12-21 09:06:16 +11:00
rc-swag
48f179d14c
fix(windows): apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-12-20 10:03:45 +10:00
Marc Durdin
e569f0aba4 chore(developer): Merge branch 'master' into feat/developer/node-based-debugger-server 2021-12-20 10:41:17 +11:00
Eberhard Beilharz
20064ea42a fix(linux): fix release version number for Sentry reporting
Forgot to change the second occurrence of the version number for older
Sentry SDK.
2021-12-17 23:09:47 +01:00
Keyman Server
5a52b622c0
Merge pull request #6067 from keymanapp/auto/version-master-15.0.172
auto: increment master version to 15.0.172
2021-12-18 05:03:13 +11:00
Keyman Build Agent
e10b43e0ef auto: increment master version to 15.0.172 2021-12-17 13:02:29 -05:00
Shawn Schantz
4af399612e
Merge pull request #6006 from keymanapp/fix/mac/osk-label-size
fix(mac): increase OSK character size by 50%
2021-12-17 15:36:27 +07:00
sgschantz
5ffd91d29b restore OSK relative label height size to 0.45 2021-12-17 13:58:53 +07:00
sgschantz
b4a608e9a0 updated Mac project to use Amharic localization strings 2021-12-17 13:43:38 +07:00
Ross
1ba0fc2eba fix(windows): fix scaling to protect divide by zero 2021-12-17 15:18:57 +10:00
Marc Durdin
4e50cfa54c chore(windows): nmake makefile cleanup
Only comments formatted per earlier required from @ermshiperete.
2021-12-17 15:48:24 +11:00
Marc Durdin
c5f66f400b
Merge pull request #6059 from keymanapp/docs/windows/split-accounts
docs(windows): Add note on split user/admin accounts
2021-12-17 15:19:43 +11:00
Marc Durdin
b87cb93634
Merge pull request #6062 from keymanapp/chore/developer/add-browse4folder-to-components
chore(developer): add browse4folder to components
2021-12-17 15:19:19 +11:00
Marc Durdin
d24d1798c2
Merge pull request #6061 from keymanapp/fix/developer/project-mru-path
fix(developer): project_mru.xml path
2021-12-17 15:18:42 +11:00
Marc Durdin
a08bc04ec2
Merge pull request #6036 from keymanapp/feat/developer/cache-web-debug-objects
feat(developer): cache web debug objects across sessions 🛒
2021-12-17 15:16:52 +11:00
Marc Durdin
1513398666
Merge pull request #6035 from keymanapp/feat/developer/live-reload-kmw
feat(developer): live reload of web debugger 🛒
2021-12-17 15:16:39 +11:00
Marc Durdin
b5e7e87719
Merge pull request #6034 from keymanapp/feat/developer/tidy-up-package-list-in-kmw-test
feat(developer): tidy up package list in web test view 🛒
2021-12-17 15:14:40 +11:00
Marc Durdin
7d9fc8c308
Merge pull request #6033 from keymanapp/feat/developer/remember-kmw-prefs-on-reload
feat(developer): remember test page preferences on reload 🛒
2021-12-17 15:14:32 +11:00
Marc Durdin
bf7b6d22f9 chore(developer): add browse4folder to components 2021-12-17 13:06:11 +11:00
Marc Durdin
f6624f1cd0 fix(developer): project_mru.xml path 2021-12-17 12:43:32 +11:00