Commit graph

3741 commits

Author SHA1 Message Date
rc-swag
ace21ea91b fix(windows): review comments
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-06-19 11:50:11 +10:00
rc-swag
257ad64f84 feat(windows): review comments
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-06-19 11:50:09 +10:00
rc-swag
2fe08f1801 fix(windows): if only keyboards return to idle
There will be no `firstrun` for kmshell.exe if it is a keyboard only
install. We can therefore return to the idle state in the current
process
2025-06-19 11:50:09 +10:00
rc-swag
24ff70744c fix(windows): TRemoteUpdateCheckResult two new values
TRemoteUpdateCheckResult now has wucUpdateAvailable and
wucNotChecked to avoid confusion
2025-06-19 11:46:46 +10:00
rc-swag
f3c61ec6f0 fix(windows): early return when download meta data invalid
is invalid or the version is not newer then currently installed
2025-06-19 11:20:37 +10:00
rc-swag
74da0c6ae4 fix(windows): update TODO with issue number 2025-06-19 11:20:36 +10:00
rc-swag
a263d3e0a8 fix(windows): update all update check code 2025-06-19 11:20:35 +10:00
rc-swag
bae1161fe6 fix(windows): use ucrsUpdateReady in check for updates
When determining whether to move to the update available the
ucrsUpdateReady is now taken into account, not just the wucSuccess
flag. All the cases that check if there is Keyman installer file in
the metadata now check for this, and this was the original intent.
A two new function HasKeymanInstallFileUpdate and
CheckMetaDataForUpdate have been added to aid this check.
2025-06-19 11:20:34 +10:00
rc-swag
de2d13bb1c fix(windows): fix download failing when cache.json missing
or stale. This commit adds a precondition check when entering the
Download state. It checks to see if the cache.json file still exists
then it checks if there are packages or installer files to download.
This will also check the version with ucrsUpdateReady, so if the
installed version is already newer it will not attempt the download.
If the check fails it will removed any cached files and return to
the idle state and check for updates.

Fixes: #13767
2025-06-19 11:20:33 +10:00
rc-swag
81f0a20c65
Merge pull request #14029 from keymanapp/fix/windows/cherry-sentry-message-reporting-fix
fix(windows): fix sentry error message reporting 🍒🏠
2025-05-23 09:01:03 +10:00
rc-swag
b27ade5e87
Merge pull request #14028 from keymanapp/fix/windows/13770/cherry-skip-sm
fix(windows): skip sending handle kmshell events to upgrade state machine for keyboard install modes 🍒  🏠
2025-05-23 09:00:30 +10:00
rc-swag
f67e919b59 fix(windows): fix sentry error message reporting 2025-05-22 15:33:36 +10:00
rc-swag
e9fa2b863d fix(windows): commit review suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-05-22 15:20:06 +10:00
rc-swag
e10c34fcf6 fix(windows): skip handlekmshell for kbb updates
Before we only skipped the handlekmshell checks if we
were in installing state and the FMode was related to
upgrading or installing the keyboard packages. However
like as seen in 13984 if an upgraded is started from the
standalone installer the statemachine state could be
in UpdateAvailable instead of the Installing State.
Due to this limitation we will skip handlekmshell when in
these FModes in any state.

Fixes: #13770
2025-05-22 15:20:05 +10:00
rc-swag
16f54321e5 fix(windows): only breadcrumb unexpected state on first run
If configuration is set to not automatically downloadupdates
and then from the configuration tab the check for update button is
clicked. If an update is found the upgrade statemachine is now in
state UpdateAvailable. If a updated keyman installer file is then
download direclty from keyman.com. Then installed by running the self
installer then on firstrun the statemachine will still be in the
UpdateState. This is should be fine, but it will be good to breadcrumb
incase we start to see some crashes on firstrun with this interaction.

The setup executable could modify the registry state directly but it is
cleaner to have the one master of the registry state value.

Fixes: #13771
2025-05-22 11:54:07 +10:00
rc-swag
2bc9aa71f8 fix(windows): add info breadcrumb for keyman installer
status
2025-05-21 15:17:27 +10:00
rc-swag
cf0a7981b9 fix(windows): add breadcrumbs and remove klogs
Add some extra breadcrumbs for when loading cache file fails.
2025-05-21 15:17:07 +10:00
rc-swag
bf93a418a2 fix(windows): rename Enter and Exit methods TState
The state machine method for Exiting a a state was overiding
the Delphi system Exit. This meant that any intended early returns
inside TState method where actually just calling the State.Exit
method then continuing execution within the method.

Fixes: 13831
2025-05-21 15:15:15 +10:00
rc-swag
a4dbf58265 fix(windows): address review comment ignore case
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-05-21 15:14:18 +10:00
rc-swag
2e2ec28857 fix(windows): use json file name against cache folder
Be more precise by matching the file name in the cache.json file
with the downloaded file in the cache folder. This will mean any
older installation versions that were not correctly cleaned up will
not be installed.

fixes #13831
2025-05-21 15:14:17 +10:00
Darcy Wong
41de14a077 chore(windows): Update Crowdin strings for Italian 2025-05-09 10:32:24 +07:00
Eberhard Beilharz
682e33893f
docs(windows): update FAQ
- add link to Linux
- reword some questions in the Windows main index
- explicitly mention Windows in `requirements.md` to make it clear that
  this is for Windows only
- update `os.md` since Windows on Arm is no longer in preview
2025-04-16 11:56:46 +02:00
Darcy Wong
30dc85f484 chore(common): Update crowdin strings for Spanish Latin America 2025-04-09 07:44:32 +07:00
Darcy Wong
0d2c001e48
Merge pull request #13681 from keymanapp/chore/common/crowdin-km
chore(android,mac,windows): update Crowdin strings for Khmer
2025-04-07 15:57:35 +07:00
Darcy Wong
3ebea47ff3 chore(windows): Update crowdin strings for Khmer 2025-04-07 08:52:35 +07:00
Darcy Wong
005b74e0a4 chore(windows): Update crowdin strings for Czech 2025-04-07 08:41:26 +07:00
Darcy Wong
4d4508d4c7
Merge pull request #13595 from keymanapp/chore/crowdin/mon
chore(common): Update crowdin strings for Mon
2025-04-02 10:38:41 +07:00
Darcy Wong
14d4b62f2d
Merge pull request #13594 from keymanapp/chore/crowdin/it
chore(mac,windows): Update Crowdin strings for Italian
2025-04-01 10:05:41 +07:00
Darcy Wong
39eebaa257 chore(common): Update crowdin strings for Mon 2025-03-28 09:15:42 +07:00
Darcy Wong
4067c98f11 chore(windows): Update crowdin strings for Italian 2025-03-28 09:00:39 +07:00
rc-swag
b2463be19a fix(windows): review comments 2025-03-28 10:36:46 +10:00
rc-swag
79b15dfeb4 fix(windows): move thread check guard
Removed the redundant thread check guard on load modifer. Added guard
to reading the option. Also fixed some formating. and made the load
modifier private.
2025-03-27 16:05:28 +10:00
rc-swag
e3f2e85945 fix(windows): reload right modifier key option
Fixes: #13440

This refactors the cached of the right modifier key used in hotkeys
option. In the lowlevelhook you couldn't reset the cached value.
It is now part of the hotkeys class which is more logical encapsulation
the logic assocaited with the hotkeys.
2025-03-27 13:30:05 +10:00
rc-swag
4276aa83eb
Merge pull request #13565 from keymanapp/fix/windows/combine-install-pop-up-frms
fix(windows): combine install and install pop ups
2025-03-27 09:47:50 +10:00
rc-swag
228fcd193e
Merge pull request #13555 from keymanapp/fix/windows/13489/update-tab-improvements
fix(windows): configuration update tab text changes
2025-03-27 09:19:52 +10:00
rc-swag
365495b1d5 fix(windows): font charset to default charset 2025-03-27 09:18:29 +10:00
rc-swag
6e7971ddff chore(windows): Merge branch 'fix/windows/combine-install-pop-up-frms' into fix/windows/13489/update-tab-improvements 2025-03-26 10:11:43 +10:00
rc-swag
b97c4f1623 fix(windows): fix handling of more than 3 updates
The scroll bar was also not working correctly for display content.
Different options where explored but the best was to make the outer
update content block a "display: block" instead of using flex.
2025-03-25 17:09:03 +10:00
rc-swag
eb134999b2 fix(windows): move lbl remove full stop
Moved the label yet again. Also remove a full stop after the
question mark for a string.
2025-03-25 10:14:30 +10:00
rc-swag
5bf17c1fc9 fix(windows): update S_Update_Restart_Req
This was updated in first PR before combining just bringing
the change over.
2025-03-24 17:21:09 +10:00
rc-swag
4863304f4d fix(windows): lablel location moved up 2025-03-24 17:01:19 +10:00
rc-swag
49c077485e fix(windows): combine install and installnow frms 2025-03-24 10:43:36 +10:00
Darcy Wong
1e9c917d59 fix(windows): Correct typo in Spanish configuration string 2025-03-24 07:29:30 +07:00
rc-swag
3b72fc0929 fix(windows): resize form to match install-pop-up-now 2025-03-21 11:15:49 +10:00
rc-swag
b0dc12252a
Merge pull request #13530 from keymanapp/fix/windows/12679/xmlrender-exception-notes
fix(windows): add exception handling for loading xml file in XSL Rendering
2025-03-21 09:43:36 +10:00
rc-swag
979e1b05c9 fix(windows): configuration update tab text changes
fixes: #13489
2025-03-20 17:01:33 +10:00
rc-swag
8a43d0eccb fix(windows): add img & update form message install now
fixes: #13488
2025-03-19 10:57:43 +10:00
rc-swag
200494f2dc fix(windows): update label text add logo
Fixes: #13487
2025-03-18 17:02:28 +10:00
rc-swag
b5a5a3c4c3 fix(windows): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-18 13:14:04 +10:00
rc-swag
975df45304 fix(windows): add bread crumbs to XMLRenderer 2025-03-18 13:13:51 +10:00