Commit graph

56 commits

Author SHA1 Message Date
rc-swag
01690ed483 feat(windows): remove redunant FreeAndNil 2025-02-10 10:05:14 +10:00
rc-swag
0fa9792718 feat(windows): mutex used to check download process
Using the KeymanMutex wrapper to check if a download process is occuring
if it isn't and we are in the downloading state this means the download
process exited early. We can then clean up any downloaded files and
reset the statemachine and check for updates again.
2025-02-05 15:26:13 +10:00
rc-swag
9eec271011 feat(windows): check updates and automatic update merged
Check updates meaning has slightly changed it is now automatic updates
and it will now check, download and when possible start the install.

Previously it just meant a check for upates was made and notified
the user of updates.

Fixes:#13114
2025-02-03 14:25:44 +10:00
rc-swag
adb095bac9
Merge pull request #12956 from keymanapp/feat/windows/kmshell-switch-handling
feat(windows): kmshell switch handling for the installing state
2025-01-31 09:59:55 +10:00
rc-swag
39b8bb6378 feat(windows): update comments for clarity 2025-01-29 22:26:37 +10:00
rc-swag
eebf0bb108
fix(windows): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-01-23 09:54:36 +10:00
rc-swag
e949637e60 fix(windows): continue if keyboard package is not found 2025-01-22 13:55:17 +10:00
rc-swag
1118a062b1 fix(windows): del cached files when download fails
When download fails it could leave files in the cached foler
this change leans them up before returning to idle.
2025-01-22 13:26:57 +10:00
rc-swag
7ed6206401 chore(windows): Merge branch 'master' into fix/windows/12491/keyboard-not-found-crash
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2025-01-22 12:29:30 +10:00
rc-swag
14b411821a feat(windows): improve switch handling for installing state
Also handle the case where the SM seems to be stuck in the installing
state. MSI may have failed.
2025-01-21 14:57:36 +10:00
rc-swag
5e6fd79ec6 fix(windows): catch report file not found 2025-01-21 08:34:11 +10:00
rc-swag
7d1b71466d feat(windows): guard for keyboard package 2025-01-20 15:19:25 +10:00
rc-swag
f1f30b95ad fix(windows): handle keyboard package not downloaded
If the keyboard package to be installed is not found. log to sentry
and keep installing other packages. No longer crashes.
2025-01-20 11:45:11 +10:00
rc-swag
8e24d8a896 feat(windows): compare class instead of string name 2025-01-17 21:09:49 +10:00
rc-swag
c6e92a58d4 feat(windows): remove unused variable 2025-01-16 08:51:50 +10:00
rc-swag
1e20d7adf1 feat(windows): make sure there is a keyman install
Need to make sure there is a keyman install package before
calling do install keyman. The handleinstallpackages is launched
on a different process hence why we need it to call do install keyman.
2025-01-15 22:29:16 +10:00
rc-swag
83dbfcc046 feat(windows): UI removed from state machine
The UI checks have been moved outside the state machine.
This was clean for the install now case. For the waiting restart case
not so. To help a new method ready to install was added to the state
machine.
2025-01-15 21:56:53 +10:00
rc-swag
9d66b2981c
feat(windows): address review comments
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-01-15 09:33:59 +10:00
rc-swag
42b7fea409 feat(windows): remove test comments 2025-01-14 16:06:58 +10:00
rc-swag
ffd9150e38 feat(windows): Address todo epic issues 2025-01-14 15:47:40 +10:00
rc-swag
ec8a501dfa feat(windows): address review comments 2025-01-10 14:53:36 +10:00
rc-swag
3380dfc415
feat(windows): commit review suggestions
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-01-10 14:28:31 +10:00
rc-swag
069ee3c54c feat(windows): revert debug flow for downloades 2025-01-09 15:45:17 +10:00
rc-swag
47c5ae0f4b feat(windows): re-align with state transistion matrix
Made sure that since adding install packages it aligns with
the state transistion matrix. Also rename HandleMSIComplete to
removed cached files and removed the call in the function for
ChangeState(IdleState); Now it can be used in multiple places
when cleaning up the cached files.
2025-01-09 13:35:59 +10:00
rc-swag
1a1df21d58 chore(windows): Merge branch 'epic/windows-updates' into feat/windows/include-install-packages 2025-01-08 10:27:40 +10:00
rc-swag
26bbdf31c3
feat(windows): add review suggestion
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-01-07 22:38:09 +10:00
rc-swag
fc40aa7c8e feat(windows): address review comments 2025-01-07 22:32:02 +10:00
rc-swag
d9d160a1e7 feat(windows): todo add not to remove logging comments 2024-12-17 08:02:40 +10:00
rc-swag
0f95fed588 feat(windows): rename checkinstallpackageelevation 2024-12-16 17:55:43 +10:00
rc-swag
c720fce0f6 feat(windows): remove more dead comments 2024-12-16 16:27:04 +10:00
rc-swag
c449a8e662 feat(windows): fix keyman updates xsl 2024-12-16 16:14:04 +10:00
rc-swag
b79ac5899d feat(windows): format file source 2024-12-09 14:21:24 +10:00
rc-swag
b9efa0d5ae feat(windows): format file structure 2024-12-09 14:12:14 +10:00
rc-swag
c365f85e60 feat(windows): initiall commit add install pkgs 2024-12-06 14:18:16 +10:00
rc-swag
4023aca115 feat(windows): convert the klog errors to sentry
Update all the errors logged using KLog to sentry messages
2024-11-28 15:55:45 +10:00
rc-swag
caef322cc4 feat(windows): remove retry state retry immediately
Remove the retry state as the process will retry in the same process.
Future we could consider adding a retry state that would retry on
the next time kmshell is started for any reason.
2024-11-28 14:25:42 +10:00
rc-swag
ba2b3016bc feat(windows): Wip dont want to lose 2024-11-27 15:55:55 +10:00
rc-swag
8b191724ae chore(windows): Merge branch 'feat/windows/add-apply-now-update' into feat/windows/set-sm-idle-firstrun 2024-11-07 17:02:11 +10:00
rc-swag
e239ec710a feat(windows): Review comments 2024-11-05 17:20:12 +10:00
rc-swag
544b955570 feat(windows): add error checking - private class 2024-11-01 18:24:51 +10:00
rc-swag
3cf1fe5895 feat(windows): use FStateInstance array instead
Use FStateInstance array instead of invidual StateClass flags
2024-10-23 15:03:47 +10:00
rc-swag
141bfda66a feat(windows): remove redundant time since last update
Remove the extra time since last update check and let remote
update check control it. Also remove the events on the buttons
as and use the button modal property
2024-10-22 16:42:11 +10:00
rc-swag
c988271628
feat(windows): formatting review suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-10-15 12:12:21 +10:00
rc-swag
4ee3f5075c feat(windows): add handle firstrun event 2024-10-04 19:16:03 +10:00
rc-swag
b4f52be7fd feat(windows): rename UI forms to convention 2024-10-02 10:58:31 +10:00
rc-swag
5c187db7a6 feat(windows): address review comments 2024-09-12 13:40:42 +10:00
rc-swag
3f1236ab59 feat(windows): comments copyright formating 2024-09-10 17:22:21 +10:00
rc-swag
033cb227fe feat(windows): changes update form now 2024-09-10 14:37:41 +10:00
rc-swag
bfe1b45983 feat(windows): automatic updates option to config reg 2024-09-09 15:51:32 +10:00
rc-swag
cb341d985a chore(windows): Merge branch 'feat/windows/add-apply-now-update' into feat/windows/install-now-pop-up 2024-09-03 15:43:05 +10:00