Commit graph

686 commits

Author SHA1 Message Date
rc-swag
efc25ccd1d
Merge pull request #5829 from keymanapp/docs/update-install-anywhere
docs(windows): add install apps from anywhere instructions
2021-10-19 20:04:34 +10:00
Darcy Wong
c5005728da Merge remote-tracking branch 'origin/master' into chore/common/crowdin-ha 2021-10-16 16:03:29 +07:00
rc-swag
12006b4fcf
docs: prefer anywhere with warning option
From a security perspective "Anywhere, but warn me before installing an app that's not from the Microsoft Store" would be the best option for a non-computer-savvy user, so maybe we should word it like this:

Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2021-10-13 08:11:40 +10:00
Ross
e713d8971b docs: resize images for help instructions 2021-10-12 13:38:23 +10:00
Ross
a322238183 docs: add install apps from anywhere instructions
Add the extra instructions for installing applications
from anywhere to the trouble shooting section of the Help.
2021-10-12 11:56:05 +10:00
Marc Durdin
3219b44624 chore: sentry.io dsn 2021-10-04 15:01:36 +11:00
Marc Durdin
b700cf334b
Merge pull request #5709 from keymanapp/fix/windows/5091-default-language
fix(windows): handle edge cases using default language
2021-10-02 11:12:46 +10:00
Darcy Wong
55bd82ecd7
Merge pull request #5722 from keymanapp/chore/common/crowdin-update-am
chore(ios,android,windows): Update crowdin strings for Amharic
2021-10-01 06:53:36 +07:00
Marc Durdin
e075550f0e
Merge pull request #5769 from keymanapp/chore/windows/keyman-core-ui-and-settings
chore(windows): Keyman Core UI and Settings 🥑
2021-09-30 14:25:07 +10:00
Marc Durdin
4523a04409 chore(windows): address review comments and fix installer bug 2021-09-29 15:05:41 +10:00
Marc Durdin
f82fa96449 chore(windows): Keyman Core UI and Settings
* Adds a taskbar icon to highlight to user when Keyman Core library is
  in use, with a crummy core.ico. This visual feedback will be removed
  in late beta.
* Renames the 'use common core' registry setting to match other flags
* Adds a System Setting to make the Keyman Core setting visible in
  System Settings and kmconfig.
2021-09-29 13:51:51 +10:00
Darcy Wong
ef1be0cecb chore(common): Check in crowdin strings for Hausa 2021-09-29 10:47:56 +07:00
Darcy Wong
0d366637a8 chore(android,windows): Update Amharic strings 2021-09-29 10:20:28 +07:00
Marc Durdin
211f8ef806
Merge pull request #5765 from keymanapp/chore/windows/help-broken-links
chore(windows): fix broken links in help
2021-09-29 12:35:04 +10:00
Marc Durdin
56d18bfab3 fix(windows): change canonicalization strategy for Windows 7
On Windows 7, we will no longer attempt to canonicalize BCP 47 tags in
the same was as on later OS versions, because there appear to be some
significant differences in how they work, for example, zh-CN is not
converted to zh-Hans-CN on Windows 7, whereas it is on Windows 10.

This commit also refreshes the `KLog` unit which is useful for debugging
these types of scenarios.
2021-09-29 11:34:16 +10:00
Marc Durdin
b69bb30adf chore(windows): fix broken links in help 2021-09-29 07:18:43 +10:00
Marc Durdin
39a4fe75fe fix(windows): escape strings embedded in JS 2021-09-24 13:44:46 +10:00
Darcy Wong
fa0b973aee chore(common): Update strings 2021-09-24 07:02:22 +07:00
Darcy Wong
d089b962af chore(common): Check in crowdin strings for Shuwa Latin 2021-09-21 14:42:58 +07:00
Darcy Wong
8e64b8f7d6 fix(windows): Update language names 2021-09-17 13:47:58 +07:00
Marc Durdin
6fa5399cda
chore(windows): Apply suggestion
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2021-09-17 10:30:41 +10:00
Marc Durdin
a8a19b2a2e fix(windows): handle edge cases using default language
Fixes #5091.

If the user has a default language that is not a minimal BCP47 tag, such
as `zh-Hans-CN` vs `zh-CN`, or if the default language does not have a
mapping in our `TLanguageCodeUtils.TranslateWindowsLanguagesToBCP47`
function, then kmshell would crash on install of a keyboard that had no
language metadata specified (i.e. neither legacy metadata in .kmx nor
modern metadata in .kmp).

This crash arose because the elevated instance of kmshell would install
a local-machine reference to `zh-CN` (as it back-translated from a
LangID), but the current user install would look for `zh-Hans-CN`, read
from the Windows registry `HKCU\Control Panel\International\User Profile`.

To further complicate matters, it is possible for the current user to
have a different default language than the elevated user on the machine.
Keyman was assuming that the default language was the same in both
cases.

This fix passes in the current user's default BCP47 and LangID to the
elevated portion of the keyboard install, so we can guarantee that
keyboard install which needs to use the default language, actually
installs for the current user's actual language code, and not a
canonicalized version (or a totally different code in the case of
elevation to an alternate admin user account).
2021-09-17 06:37:23 +10:00
Darcy Wong
349ed55840 chore(common): Update strings
* also includes untranslated strings (fallback to English)
2021-09-16 08:29:29 +07:00
Darcy Wong
6bf1ef004a chore(windows): Update strings with hotkeys 2021-09-14 08:07:58 +07:00
Darcy Wong
0a4d94dae7 chore(common): Skip untranslated strings 2021-09-14 07:45:49 +07:00
Darcy Wong
091628aed2 chore(common): Update additional strings 2021-09-14 06:08:13 +07:00
Darcy Wong
42197c896b chore(common): Check in crowdin strings for simplified Chinese 2021-09-13 12:16:58 +07:00
Marc Durdin
623315ea18
Merge branch 'master' into fix/windows/4549-welcome-in-front 2021-08-19 06:33:20 +10:00
Marc Durdin
d90f382499 fix(windows): handle restoring modal dialogs consistently
Fixes #5574.

When a user presses Win+M, Win+D, or clicks the desktop button on the
taskbar, all windows get minimized, even those that do not have the
WS_MINIMIZE flag. Delphi modal dialog forms are not expecting this, and
do not restore correctly later.

This scenario arises only when a form is created with a `nil` owner and
then `form.ShowModal` is called.

The fix was already implemented on Splash and HTML forms, but
differently; I have chosen to use the implementation from the Splash
form as it is simpler and seems to work correctly.
2021-08-17 06:31:31 +10:00
SabineSIL
b99e98e123
fix(Windows) bug 4833
keyboard installation prompt wordwrap
2021-08-05 21:03:10 +02:00
Marc Durdin
f223fe7780 fix(windows): Welcome should always show in front
Fixes #4549.

The Package Welcome dialog would not always show in front because its
owner could be `nil` in some circumstances.
2021-08-05 17:10:34 +10:00
Darcy Wong
8b54317b50 chore(windows): Update Azerbaijani language string 2021-07-29 10:35:44 +07:00
Darcy Wong
2949173391 chore(windows): Add another round of Azerbaijani updates 2021-07-26 10:09:31 +07:00
Darcy Wong
c906423392 chore(windows): Update crowdin strings for Azerbaijani 2021-07-24 06:24:18 +07:00
Marc Durdin
845d65e5e4 chore(windows): remove backup build step
We no longer need to backup debug files as they are saved to the symbol
store during a release build. This reduces the amount of storage
required for a release build and should speed up the build also.

Also fixes the broken build where backup had not been updated for the
new consistent build paths.
2021-07-07 08:09:26 +10:00
Marc Durdin
deb01d1a63 chore(windows): make build paths consistent
Move to all projects using bin/ and obj/ for outputs, and
cleanup all Makefiles and project files accordingly. Remove
some obsolete projects along the way. Cleanup .gitignore
also.
2021-07-01 07:38:00 +10:00
Darcy Wong
2b4c64ae90
Merge pull request #5269 from keymanapp/chore/crowdin-es-419
chore(common): Check in crowdin strings for Spanish (Latin America)
2021-06-15 07:30:33 +07:00
Darcy Wong
b67602f7f9 chore(windows): Update string for S_OnScreenKeyboard_Custom 2021-06-14 08:08:36 +07:00
Darcy Wong
49544f5b11 chore(common): Add YouTube links to Keyman 14 features 2021-06-13 10:09:52 +07:00
Darcy Wong
5552ee4aad chore(common): Check in crowdin strings for Spanish (Latin America) 2021-06-11 07:33:56 +07:00
Marc Durdin
9bada9624e
Merge pull request #5207 from keymanapp/fix/windows/escape-key-in-download-dialog
fix(windows): support Esc key in Download Keyboard dialog
2021-06-08 14:40:14 +10:00
Marc Durdin
0c65ea4502
Merge pull request #5203 from keymanapp/fix/windows/5195-fix-size-of-splash
fix(windows): fix size of splash
2021-06-01 12:39:57 +10:00
Marc Durdin
8cb32196ff fix(windows): support Esc key in Download Keyboard dialog
The Escape key does not work in the search iframe when in the parent
web document. However, it is easy to test for it in the hosting form.
2021-06-01 11:04:26 +10:00
Marc Durdin
f29c71d988
Merge pull request #5187 from keymanapp/fix/windows/5166-sentry-dll-handling
fix(windows): sentry.dll version handling
2021-06-01 05:59:26 +10:00
Marc Durdin
203b3cacec fix(windows): fix size of splash
Fixes #5195.
Fixes KEYMAN-WINDOWS-M0.

The splash screen for Keyman would crash on start with the latest
Chromium update. This fix resolves the issue, which related to the
resize-to-content code, by removing the resize-to-content code and
instead hardcoding the window size in the .dfm.

This is a significant simplification of the browser host and I think it
is worthwhile. The only place the resizing code was still used was in
the splash screen.
2021-05-31 20:16:44 +10:00
Marc Durdin
7235bf2057 fix(windows): sentry.dll version handling
Fixes #5166.

This introduces versioned management of sentry.dll for Keyman for
Windows, Keyman Engine and Keyman Developer. As sentry.dll's ABI is not
backwardly compatible, we have to maintain independent copies of each
DLL for each app.

sentry.dll (or sentry.x64.dll for x64 apps) will be found in the
sentry-0.4.9 folder relative to the running process, except when running
from within the keyman repo tree (based on presence of KEYMAN_ROOT env
var). In those cases, the windows/src/ext/sentry sentry.dll will be
used, allowing us to test new debug time sentry DLLs easily.

A little bit of cleanup and consolidation was also done in the
KeymanPaths.pas unit.
2021-05-28 15:55:06 +10:00
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10:00
jahorton
8f1e1dc65a feat(common): offline help css 2021-05-26 15:40:45 +07:00
Marc Durdin
e46a3ee46c
Merge pull request #5143 from keymanapp/chore/windows/vs2019
chore(windows): move to vc++ 2019
2021-05-25 19:38:32 +10:00
rc-swag
0fd5f01187
Merge pull request #5119 from keymanapp/docs/windows/5118-windows-keyman-engine-readme
docs(windows): Initial commit - README.md
2021-05-25 16:45:50 +10:00