Commit graph

14049 commits

Author SHA1 Message Date
Marc Durdin
dcff86c2eb fix(developer): use correct cache key 2021-12-13 05:43:33 +01:00
Marc Durdin
2ac905c2ea feat(developer): cache web debug objects across sessions
Keyman Developer now remembers the 10 most recently debugged keyboards,
models and packages in the web debugger, across sessions. It determines
the recency of use by the last access time of the object, and caches at
most 10 of each type of object when the IDE session ends.

The cache data is stored in %appdata%\Keyman\Keyman Developer\WebDebugCache.json.

The web debugger is now always available when Keyman Developer is
running, even if the user has not yet clicked 'Start Web Debugging', as
otherwise cached web debug objects would not be immediately available.

Keyman Developer will verify that files listed in the cache are still
available, and will remove them on startup if the file disappears.
2021-12-10 17:17:14 +01:00
Marc Durdin
4f4427dd0d feat(developer): live reload of web debugger
Adds polling for changes to keyboards or models under test in the
web debugger. When changes are detected, the keyboards and/or models
are instantly reloaded automatically.
2021-12-10 13:36:52 +01:00
Marc Durdin
01a253d5f7 fix(developer): fix storage for null model 2021-12-10 11:22:24 +01:00
Marc Durdin
0b74c5c232 feat(developer): remember test page preferences on reload
Emerges from ELTW demos.

Remembers the user's selected model and device when they refresh the
page.
2021-12-10 10:49:59 +01:00
Keyman Server
3675f62da9
Merge pull request #6027 from keymanapp/auto/version-master-15.0.166
auto: increment master version to 15.0.166
2021-12-09 05:02:06 +11:00
Keyman Build Agent
399eb7472f auto: increment master version to 15.0.166 2021-12-08 13:01:25 -05:00
Marc Durdin
5ab9574112
Merge pull request #5906 from keymanapp/fix/web/5779-font-scaling-in-osk
fix(web): font size was not consistently set
2021-12-08 19:42:11 +11:00
Keyman Server
a09cc69f9e
Merge pull request #6023 from keymanapp/auto/version-master-15.0.165
auto: increment master version to 15.0.165
2021-12-08 05:02:11 +11:00
Keyman Build Agent
e22cf8c453 auto: increment master version to 15.0.165 2021-12-07 13:01:28 -05:00
Eberhard Beilharz
7bfc622718
Merge pull request #6002 from keymanapp/refactor/core/usedefines
refactor(common/core): Use defines in all xstring tests
2021-12-07 17:19:32 +01:00
Keyman Server
b95e457e37
Merge pull request #6014 from keymanapp/auto/version-master-15.0.164
auto: increment master version to 15.0.164
2021-12-07 05:02:02 +11:00
Keyman Build Agent
879c86f8f4 auto: increment master version to 15.0.164 2021-12-06 13:01:22 -05:00
rc-swag
1266725233
Merge pull request #6012 from keymanapp/chore/common/update-buf-comment-pt2
chore(common): buf now uses decxstr so remove comment
2021-12-06 12:43:31 +10:00
Ross
c26e1f3485 chore(common): buf now uses decxstr so remove comment
remove comment about it splitting surrogate pairs and
deadkeys
2021-12-06 10:37:49 +10:00
Keyman Server
032bd3a1db
Merge pull request #6011 from keymanapp/auto/version-master-15.0.163
auto: increment master version to 15.0.163
2021-12-06 05:02:02 +11:00
Keyman Build Agent
cf2857f5c1 auto: increment master version to 15.0.163 2021-12-05 13:01:23 -05:00
Eberhard Beilharz
ce2f8e0dba
Merge pull request #6008 from keymanapp/chore/linux/cherry-pick/changelogs
chore(linux): Update changelogs for 14.0.283 📦  🍒
2021-12-04 21:14:39 +01:00
Keyman Server
288aa3c34d
Merge pull request #6010 from keymanapp/auto/version-master-15.0.162
auto: increment master version to 15.0.162
2021-12-05 05:02:12 +11:00
Keyman Build Agent
aeab6eabef auto: increment master version to 15.0.162 2021-12-04 13:01:30 -05:00
Eberhard Beilharz
ae699ba644
Merge pull request #6000 from keymanapp/chore/linux/cherry-pick/lintian
chore(linux): Remove lintian warning 📦  🍒
2021-12-03 20:39:13 +01:00
Eberhard Beilharz
4dc7176905
Merge pull request #5999 from keymanapp/chore/linux/cherry-pick/packaging
chore(linux): Allow to specify debian revision 📦  🍒
2021-12-03 20:38:49 +01:00
Keyman Server
4e55982cc6
Merge pull request #6009 from keymanapp/auto/version-master-15.0.161
auto: increment master version to 15.0.161
2021-12-04 05:36:10 +11:00
Keyman Build Agent
3ebb31c66d auto: increment master version to 15.0.161 2021-12-03 13:35:27 -05:00
Eberhard Beilharz
e890bede2c
refactor(common/core): Use defines in all xstring tests 2021-12-03 18:14:35 +01:00
Eberhard Beilharz
5b5d466665
chore(linux): Allow to specify debian revision
This change allows to specify the debian revision when creating
source packages for Debian.
2021-12-03 18:13:38 +01:00
Eberhard Beilharz
faf9301815
chore(linux): Remove lintian warning
Lintian complained "missing-build-dependency-for-dh-addon" which
I'm not entirely sure is correct. However, there is an easy
workaround by removing an unnecessary parameter.
2021-12-03 18:13:14 +01:00
Eberhard Beilharz
2479b4a461
chore(linux): Update changelogs for 14.0.283 2021-12-03 18:12:44 +01:00
Eberhard Beilharz
5de4f2afde
Merge pull request #5968 from keymanapp/chore/linux/surrounding-text
chore(linux): add non-surrounding-text feature to tests 🎫
2021-12-03 18:12:23 +01:00
Eberhard Beilharz
cbf0155108
fix(common/core): Fix KMX_Context::Add()
When our context buffer is too small we now properly move the
content by a full xstring unit so that we don't end up with the
buffer starting with an invalid sequence (half of a dead key or
surrogate pair).
2021-12-03 17:26:15 +01:00
Eberhard Beilharz
7766718f7c
chore(linux): Add more core unit tests 2021-12-03 17:26:14 +01:00
Eberhard Beilharz
855cb9d916
refactor(linux): Refactor two core tests
This change refactors two tests to no longer rely on obscure internal
knowledge. This allows the tests to also run in ibus-keyman.
2021-12-03 17:23:36 +01:00
Eberhard Beilharz
e31cf4a1d8
chore(linux): add non-surrounding-text feature to tests
This also fixes a failing test (`048 - modifier keys keep context`)
if surrounding text is not supported. If the user presses the
capslock key we shouldn't reset the context if no rules match.

Fixes #5613.
2021-12-03 17:23:35 +01:00
rc-swag
602ebf6ec4
Merge pull request #6003 from keymanapp/chore/common/update-context-method-doxy
chore(common): add more description to Buf method
2021-12-03 15:19:31 +10:00
rc-swag
faff079e2e
chore(common):fix typos in commments 2021-12-03 15:18:59 +10:00
Ross
884c249286 chore(common): add more description to Buf method
Also updated the doxy to remove the brief tag.
Made mirror change to appint.h
2021-12-03 10:01:53 +10:00
Marc Durdin
bf42bc4141
Merge pull request #5972 from keymanapp/fix/developer/kmcomp-build-js-message
fix(developer): building kmw keyboard had wrong message callback signature
2021-12-03 08:47:46 +11:00
Keyman Server
c2689025cb
Merge pull request #6001 from keymanapp/auto/version-master-15.0.160
auto: increment master version to 15.0.160
2021-12-03 05:02:35 +11:00
Keyman Build Agent
0c6780a386 auto: increment master version to 15.0.160 2021-12-02 13:01:57 -05:00
Marc Durdin
9995c9f54c fix(web): revise tablet detect strategy
This is based on research from various websites, including Google
documentation and https://screensiz.es/, as well as various older pages.
2021-12-02 15:37:56 +11:00
Darcy Wong
aa75e6b583
Merge pull request #5987 from keymanapp/fix/android/smp-longpress-api-21
fix(android/engine): Fix font paths
2021-12-02 10:14:46 +07:00
Darcy Wong
549506cf19
Merge pull request #5991 from keymanapp/chore/android/document-keyboard-picker
chore(android): Document switching to other system keyboard
2021-12-02 07:11:19 +07:00
Marc Durdin
2d0d9d728f
Merge pull request #5995 from keymanapp/fix/developer/debugger-crash-with-empty-group
fix(developer): debugger crash with empty group
2021-12-02 09:15:42 +11:00
Marc Durdin
4b3405fef9 fix(developer): debugger crash with empty group
As the array length properties are unsigned integers, taking -1 from
them resulted in an integer overflow when the array was empty. A gotcha
with Delphi-style for loops!
2021-12-02 05:12:52 +11:00
Keyman Server
6e82403983
Merge pull request #5994 from keymanapp/auto/version-master-15.0.159
auto: increment master version to 15.0.159
2021-12-02 05:02:13 +11:00
Keyman Build Agent
a2cb10cf71 auto: increment master version to 15.0.159 2021-12-01 13:01:30 -05:00
Darcy Wong
349074d58f chore(android): Document switching to other system keyboard 2021-12-01 10:13:10 +07:00
Darcy Wong
46d5964587
Merge pull request #5979 from keymanapp/fix/android/lint-error-kmsample
chore(android): Specify build tools version on other projects
2021-12-01 09:51:10 +07:00
Darcy Wong
f9b9a0bd2b
Merge pull request #5973 from keymanapp/feat/android/keyboard-picker-plus-ime
feat(android/engine): Add other IME's to the Keyboard Picker menu
2021-12-01 08:28:41 +07:00
Darcy Wong
7aa1576347 fix(android/engine): Fix font paths 2021-11-30 15:14:53 +07:00