Commit graph

11954 commits

Author SHA1 Message Date
jahorton
ea266eef22 change(web): better fix - no parameterless selectBanner calls 2021-04-23 08:30:44 +07:00
Darcy Wong
4a64c193ed Merge remote-tracking branch 'origin/master' into fix/web/banner-crash 2021-04-23 08:17:51 +07:00
Keyman Server
03c230c4e7
Merge pull request #4963 from keymanapp/auto/version-master-15.0.35
auto: increment master version to 15.0.35
2021-04-23 06:25:01 +10:00
Keyman Build Agent
fdb515a17e auto: increment master version to 15.0.35 2021-04-22 16:24:03 -04:00
Keyman Server
c455e0bb86
Merge pull request #4962 from keymanapp/auto/version-master-15.0.34
auto: increment master version to 15.0.34
2021-04-23 04:03:22 +10:00
Keyman Build Agent
1b2553407c auto: increment master version to 15.0.34 2021-04-22 14:02:35 -04:00
Darcy Wong
879f7bded9 fix(web): Set banner when state is undefined 2021-04-22 17:34:44 +07:00
Joshua Horton
3ffa35c154
Merge pull request #4938 from keymanapp/fix/web/embedded-smp-after-kbd-swap
fix(web, ios): better SMP, emoji handling with frequent keyboard swaps
2021-04-22 14:27:17 +07:00
Eberhard Beilharz
7382845027
Merge pull request #4914 from keymanapp/feat/linux/sentry
feat(linux): Improve Sentry crash reporting
2021-04-21 23:46:55 -07:00
Joshua Horton
bda0171448
Merge pull request #4954 from keymanapp/fix/web/subkey-suggestions
fix(web): fixes subkey lookup for fat-finger processing
2021-04-22 11:53:00 +07:00
jahorton
60def978ed change(web): removes now-redundant SMP enablements 2021-04-22 11:50:42 +07:00
Marc Durdin
3ceb80ab61
Merge pull request #4946 from keymanapp/fix/web/publish-restorePosition
fix(web): publish restorePosition() function
2021-04-22 14:46:00 +10:00
jahorton
c7310e0b86 fix(web): fixes subkey lookup for fat-finger processing 2021-04-22 11:00:07 +07:00
Marc Durdin
0f0082aee8 chore(web): cleanup testing for osk movement 2021-04-22 13:51:21 +10:00
Darcy Wong
f54b594239
Merge pull request #4951 from keymanapp/fix/fv/migrate-14.0
fix(oem/fv/android): Migrate keyboard list from 12.0 to 14.0
2021-04-22 10:28:39 +07:00
Marc Durdin
2d2bdd8032 fix(web): move function 2021-04-22 13:01:11 +10:00
Marc Durdin
0a37ce3832 fix(web): reset dfltX and dfltY in restorePosition
Fixes #4948.

This resets `keyman.osk.dfltX` and `keyman.osk.dfltY` in the
`restorePosition()` function, except when the user clicks the pin (or
`true` passed in for `keepDefaultPosition` parameter). It also moves the
grungy `window.event` hack out of the function and into a private
handler specifically for the pin div `onclick`.

I didn't want to reset `dfltX` and `dfltY` when the user clicks on the
pin, because that is a change in behaviour.
2021-04-22 12:58:30 +10:00
Marc Durdin
528f9693d0
Update web/source/osk/oskManager.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2021-04-22 12:32:15 +10:00
Darcy Wong
4423ddccde fix(oem/fv/android): Migrate keyboard list from 12.0 to 14.0 2021-04-22 09:25:02 +07:00
Marc Durdin
9cd1ddf150 fix(web): publish restorePosition() function
This makes the `osk.restorePosition()` function public and makes it work
even if the OSK is not presently visible. Also DRY out the repeated
implementation.
2021-04-22 06:57:02 +10:00
Keyman Server
c7adfd116d
Merge pull request #4945 from keymanapp/auto/version-master-15.0.33
auto: increment master version to 15.0.33
2021-04-22 04:03:30 +10:00
Keyman Build Agent
3b7223d4b0 auto: increment master version to 15.0.33 2021-04-21 14:02:42 -04:00
Joshua Horton
6db8de874f
Merge pull request #4821 from keymanapp/chore/web/touch-alias-issue-logging
change(web): adds error + console logs usable for Sentry reporting targeting #4797
2021-04-21 15:37:11 +07:00
Marc Durdin
0d80fa5efa
Merge pull request #4940 from keymanapp/fix/windows/4939-prevent-crash-during-upgrade
fix(windows): avoid error if keyman32.dll renamed
2021-04-21 16:47:09 +10:00
Marc Durdin
3a59175465 fix(windows): avoid error if keyman32.dll renamed
Fixes #4939.
Fixes KEYMAN-WINDOWS-70.
Fixes KEYMAN-WINDOWS-71.
Fixes KEYMAN-WINDOWS-BR.
Fixes KEYMAN-WINDOWS-6J.

I am speculating a little here, because the root cause is not visible in
the crash report, but it appears that if keyman32.dll is renamed, that
the UnregisterControllerWindows function attempts to reload keyman32.dll
which means that (a) it no longer has a list of registered controllers,
and (b) it may fail to reload.

Instead of throwing an exception, we now only log this error in
development mode. The error is not likely to cause significant trouble
for end users as they are shutting down Keyman anyway at this point.

The resolution if there is any uncertainty during an upgrade is to
restart Windows. This is less than ideal but avoids file locks and
problems with in-memory DLLs. (Future versions of Keyman will schedule
upgrades to happen automatically after a restart before Keyman has been
started, in an effort to avoid this kind of trauma.)
2021-04-21 14:21:17 +10:00
jahorton
3b902369ef change(web): SMP processing now always enabled 2021-04-21 10:53:11 +07:00
jahorton
99b0b2d437 fix(ios): proper context synchronization for combo emoji deletion 2021-04-21 10:46:08 +07:00
jahorton
9f071bb906 change(web): null guards for findTouchAliasTarget uses 2021-04-21 09:08:28 +07:00
Marc Durdin
30c64f34aa
Merge pull request #4934 from keymanapp/fix/developer/4803-chiral-warning-is-disruptive
fix(developer): chiral mismatch warning is disruptive
2021-04-21 11:27:07 +10:00
Marc Durdin
58b1f926fa
Merge pull request #4918 from keymanapp/fix/developer/4917-crash-on-malformed-kpj-user-file
fix(developer): avoid crash if .kpj.user file is malformed
2021-04-21 10:24:44 +10:00
Marc Durdin
a19b7019da
Merge pull request #4922 from keymanapp/fix/windows/4874-help-contents-broken-from-tray-menu
fix(windows): help contents broken from tray menu
2021-04-21 10:22:00 +10:00
Marc Durdin
32524601f9
Merge pull request #4920 from keymanapp/fix/windows/4848-access-violation-closing-text-editor
fix(windows): access violation closing text editor
2021-04-21 10:21:48 +10:00
Marc Durdin
a8ddf018c1
Merge pull request #4899 from keymanapp/chore/windows/4893-disable-profile-repair
chore(windows): disable profile repair
2021-04-21 10:21:34 +10:00
Marc Durdin
19a8ddcc6e
Merge pull request #4890 from keymanapp/fix/windows/4889-crash-when-installing-tip
fix(windows): crash when installing TIP in some rare situations
2021-04-21 10:21:25 +10:00
Marc Durdin
1822590261
Merge pull request #4887 from keymanapp/fix/windows/4886-install-crashes-on-invalid-and-legacy-package-names
fix(windows): handle invalid package names during install
2021-04-21 10:21:09 +10:00
Marc Durdin
355eba3514 fix(developer): chiral mismatch warning is disruptive
Fixes #4803.

This fixes part of #4803 - namely the obtrusive warning flagging that
there are mismatched modifier types in the keyboard. Instead of making
the change during tab switching, it simply shows a warning message in
the design view of the keyboard, which the developer can choose to
ignore.

This does not address the removal of comments or the switch of character
formats which is part of that conversion routine. That is a more complex
change to the parser.
2021-04-21 10:07:33 +10:00
Keyman Server
4013899673
Merge pull request #4933 from keymanapp/auto/version-master-15.0.32
auto: increment master version to 15.0.32
2021-04-21 04:02:55 +10:00
Keyman Build Agent
88cc238a43 auto: increment master version to 15.0.32 2021-04-20 14:02:11 -04:00
Eberhard Beilharz
599b602603
chore(linux): Merge branch 'master' into feat/linux/sentry
# Conflicts:
#	linux/keyman-config/keyman_config/handle_install.py
2021-04-20 11:49:43 +02:00
Eberhard Beilharz
9fcddb8afa
fix(linux): Set userid instead of username
Username expects a string, so we set the userid instead.
2021-04-20 11:46:15 +02:00
Eberhard Beilharz
9d7be1b6b5
feat(linux): Log some errors as critical
Some errors we want to be reported on Sentry, so we change those
to critical.
2021-04-20 11:45:07 +02:00
Eberhard Beilharz
68f9fd315e
feat(linux): Use hash of username 2021-04-20 11:14:23 +02:00
Eberhard Beilharz
4ac6b83088
Merge pull request #4913 from keymanapp/chore/linux/cleanup
chore(linux): Remove experimental scripts
2021-04-20 02:09:07 -07:00
Eberhard Beilharz
0845a9d6c8
Merge pull request #4912 from keymanapp/fix/linux/issue-4911
fix(linux): Don't crash on network problem (fixes #4911)
2021-04-20 02:03:18 -07:00
jahorton
00debdbb28 change(web): SMP enablement always on in embedded mode 2021-04-20 16:02:55 +07:00
Eberhard Beilharz
932a49d050
Merge pull request #4906 from keymanapp/fix/linux/cherry/4876-legacy-non-unicode
fix(linux): don't crash on legacy non-Unicode files 🍒
2021-04-20 02:02:41 -07:00
Darcy Wong
bb13047a89
Merge pull request #4927 from keymanapp/fix/android/empty-lexical-model-list-2
fix(android/engine): Don't set lexical model list to null
2021-04-20 14:41:40 +07:00
Darcy Wong
c5bce5021d fix(android/engine): Don't set lexical model list to null
Follow-on to #4926
2021-04-20 14:33:47 +07:00
Darcy Wong
46615d7b96
Merge pull request #4926 from keymanapp/fix/android/empty-lexical-model-list
fix(android/engine): Change getList() to return an empty list instead of null
2021-04-20 14:29:05 +07:00
Darcy Wong
cfd8abc744 fix(android/engine): Change getList() to return an empty list
This prevents the NullPointerException in CloudRepository.prepareResourcesUpdateQuery() when the list doesn't exist.
2021-04-20 14:06:57 +07:00