Commit graph

27982 commits

Author SHA1 Message Date
Marc Durdin
9209adb45d refactor(windows): cleaned up hotkey change code
Just refactoring minor bits and pieces on this PR. Esp: removed the
unnecessary interrogation of TSF (yay!) and cached the debug flag so it
isn't checked on every single keystroke.
2019-11-20 06:47:44 +11:00
safolit
96e1d41aca
Add memory vmargs 2019-11-19 17:39:31 +07:00
Sandra Forberger
c96dc8c001 android[fix]: add memory vmargs to gradle properties 2019-11-19 17:12:34 +07:00
Sandra Forberger
2f3ace38d0 fix[android]: change xmx for gradle daemons to 1GB 2019-11-19 16:42:13 +07:00
Marc Durdin
7321bc4300 chore: restore keyman.dproj; changes not required 2019-11-19 19:51:43 +11:00
Marc Durdin
89e54f5cb4 refactor(windows): Keyman::ProcessHotkeyChange
Remove duplicated code in ProcessProfileChange
2019-11-19 19:47:49 +11:00
Sandra Forberger
c80a0b9735 fix[android]: refactor and cleanup tests 2019-11-19 15:30:24 +07:00
Sandra Forberger
1b51ef4b2e fix[android]: fix robolectric deadlock for ui tests 2019-11-19 14:58:56 +07:00
Darcy Wong
d8089edaa8 fix(android): Add NPE check 2019-11-19 14:35:57 +07:00
Darcy Wong
995f2125f2 fix(android): One more attempt to fix lm version key 2019-11-19 14:17:11 +07:00
safolit
20bc90e7b2
Merge branch 'master' into android-update-catalog-on-startup 2019-11-19 13:46:14 +07:00
safolit
456d27536f
Update history.md 2019-11-19 13:35:35 +07:00
Marc Durdin
ecd44063e7 feat(windows): left-only hotkeys
Fixes #364.

Hotkeys in Windows are currently implemented using RegisterHotkey.
However RegisterHotkey does not distinguish between left and right
modifier keys, which means that they override some keyboards' RAlt
combinations.

This feature reimplements hotkey support in the low level keyboard hook,
and adds a feature flag / debug flag Flag_UseRegisterHotkey to return
to the RegisterHotkey model if that is so needed.

I have made minimal refactoring changes to this code, although there
are certainly functions here which could be improved.

I have flagged a couple of potential improvements with TODO.
2019-11-19 17:30:28 +11:00
Sandra Forberger
4a2d5f65f8 feat[android]: add update indicator only mode (default is with system notification) 2019-11-19 11:55:16 +07:00
Sandra Forberger
569d449c59 fix[android]: accidently commited 2019-11-19 11:27:43 +07:00
Darcy Wong
2770b196de fix(android): Fallback to keyboard(package) version
When parsing json info from the cloud, the lexical model version isn't always defined.
2019-11-19 11:05:45 +07:00
Sandra Forberger
692e3532e3 fix[android]: use constant for preferences key 2019-11-19 10:53:58 +07:00
Sandra Forberger
695e43a58c fix[android]: read version field 2019-11-19 10:42:39 +07:00
Sandra Forberger
2fb0d77f58 feat[android]: add update icon for landscape mode 2019-11-19 10:00:02 +07:00
safolit
e2d5653028
Update android/KMAPro/kMAPro/src/main/res/values/strings.xml
Co-Authored-By: Darcy Wong <darcywong00@users.noreply.github.com>
2019-11-19 09:17:17 +07:00
Marc Durdin
be04f55b36
Merge pull request #2353 from keymanapp/fix/web/2311-displayUnderlying-is-not-being-tested
fix(web): displayUnderlying flag was ignored
2019-11-19 07:25:16 +11:00
Sandra Forberger
93027ae07b fix[android]: fix npe in landscape mode 2019-11-18 16:11:44 +07:00
Sandra Forberger
e63dd1dff8 feat[android]: add install updates icon 2019-11-18 15:25:08 +07:00
Joshua Horton
8d5f7f3918
Merge pull request #2354 from keymanapp/web-2322-toolchain-update
[Web] Toolchain update + dev-resource compilation fix
2019-11-18 12:55:54 +07:00
jahorton
3314125fd4 fix(web): Fixes #2328 - links reference for test resource compliation 2019-11-18 12:29:11 +07:00
jahorton
d2df06a646 fix(web): Fixes #2322, updates to tsc 3.7.2 2019-11-18 12:22:43 +07:00
Marc Durdin
f7a21e6d84 fix(web): displayUnderlying flag was ignored
Fixes #2311.

The `displayUnderlying` flag introduced in #1539 was somehow missed from
the 12.0 work. This PR restores the behaviour from 11.0 by adding the
relevant changes from #1539.

Tested in Chrome Emulator.
2019-11-18 16:10:38 +11:00
Sandra Forberger
fb9bdc317f feat[android]: update indicator 2019-11-18 11:12:38 +07:00
Marc Durdin
5d481489d3 chore: history, Makefile macros 2019-11-18 09:55:28 +11:00
Marc Durdin
e0767f2aeb fix(developer): use size_t instead of long 2019-11-17 09:16:08 +11:00
Marc Durdin
8c03b95e99 chore: gitignore 2019-11-17 09:15:48 +11:00
Marc Durdin
33ede3e8b0 chore(developer): config kmcomp build paths 2019-11-17 09:08:33 +11:00
Marc Durdin
e3c107d3a7 chore(developer): config build paths 2019-11-17 08:52:30 +11:00
Sandra Forberger
9dac75179f feat[android] add update count indicator 2019-11-15 17:04:56 +07:00
Sandra Forberger
67ab6fdcf6 fix[android]: memory issue in tests 2019-11-15 13:39:49 +07:00
Sandra Forberger
81847bc7b1 fix[android] test memory issues 2019-11-15 13:32:41 +07:00
Sandra Forberger
7d241d70cf feat[android]: add test property 2019-11-15 12:49:16 +07:00
Sandra Forberger
98500558ad fix[android]: use system property to set testmode 2019-11-15 11:51:53 +07:00
Sandra Forberger
db4a0fa91f fix[android]: prevent NPE 2019-11-15 11:39:43 +07:00
Sandra Forberger
74cad36ba9 feat[android]: add help link test 2019-11-15 11:27:38 +07:00
Marc Durdin
6e171f8f47
Merge pull request #2334 from keymanapp/fix/developer/2199-kmcomp-merge-platform-support
fix(developer): keyboard_info merge mobile wrong
2019-11-15 13:47:22 +11:00
Marc Durdin
261e1d26c6
Merge pull request #2342 from keymanapp/chore/history
chore: history.md 🍒🍒
2019-11-15 13:45:18 +11:00
Marc Durdin
8cdd68d88c chore(developer): history.md 2019-11-15 11:17:17 +11:00
Marc Durdin
5513385edf chore(windows): history.md 2019-11-15 11:16:37 +11:00
Marc Durdin
0bb8f68e10
Merge pull request #2330 from keymanapp/fix/windows/2270-on-screen-keyboard-position-wrong
fix(windows): OSK restores to wrong monitor
2019-11-15 11:11:02 +11:00
Marc Durdin
265b224d87
Merge pull request #2331 from keymanapp/fix/windows/2314-focus-incorrect-for-cef
fix(windows): focus is incorrect for CEF
2019-11-15 11:04:08 +11:00
Eberhard Beilharz
20a6bc8972
Merge pull request #2336 from keymanapp/chore/editorconfig
chore(common): Update .editorconfig
2019-11-13 13:05:28 +01:00
Eberhard Beilharz
f08f65ea90
chore(common): Update .editorconfig
Follow-up of code review comments.
2019-11-13 11:17:59 +01:00
Sandra Forberger
9aa8f59c8b fix[android]: remove debug and testing settings 2019-11-13 17:08:05 +07:00
Sandra Forberger
f4ee6e8862 fix[android]: count open updates 2019-11-13 17:06:14 +07:00