Commit graph

3625 commits

Author SHA1 Message Date
rc-swag
fa45fd88e5 feat(windows): release ownership of mutex successful download
Added a release of ownership for the mutex download after in the
successuful download case
2025-02-11 15:54:58 +10:00
rc-swag
6b0051ffe3 chore(windows): Merge branch 'master' into feat/windows/13119/handle-reset-downloading
# 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-02-11 15:48:08 +10:00
rc-swag
7ac190fc1b
feat(windows): commit review suggestion
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-02-11 15:47:14 +10:00
rc-swag
8d6b331a67
Merge pull request #13168 from keymanapp/feat/windows/13167/add-release-kmutex
refactor(windows): rename `TKeymanMutex.MutexOwned` to `TakeOwnership` and add `ReleaseOwnership`
2025-02-11 15:02:45 +10:00
rc-swag
bb7ef7dfd0
Merge pull request #13162 from keymanapp/fix/windows/13114/english-for-automatic-updates
fix(windows): use Automatically check for updates and download for the english xml
2025-02-10 20:45:39 +10:00
rc-swag
96b3c4f983
feat(windows): review suggestions
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-02-10 15:00:17 +10:00
rc-swag
8281e328c9 feat(windows): review changes 2025-02-10 14:37:59 +10:00
rc-swag
ac6421e862 chore(windows): Merge branch 'feat/windows/13167/add-release-kmutex' into feat/windows/13119/handle-reset-downloading
# 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-02-10 14:04:56 +10:00
rc-swag
b074c2c0ef feat(windows): add release ownership rename mutex owned
Add a ReleaseOwnership member to TKeymanMutex.
Rename MutexOwned to TakeOwnership.

Fixes: #13167
2025-02-10 13:50:18 +10:00
rc-swag
01690ed483 feat(windows): remove redunant FreeAndNil 2025-02-10 10:05:14 +10:00
rc-swag
51aeb8dcc0 fix(windows): use automatic update for old koCheckForUpdates
I missed the english phrase being copied over to the koCheckForUpdates
flag
2025-02-07 18:49:11 +10:00
rc-swag
85b8a72be6 feat(windows): change condition at the end of download
Only go to the installing state if apply now has been set.
Otherwise go to WaitingRestart. Can revist in stage 2
2025-02-07 13:24:13 +10:00
rc-swag
89839e6466 chore(windows): Merge branch 'master' into fix/windows/13153/download-keyman-file-status
# 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-02-07 09:54:40 +10:00
rc-swag
7be7d9a1f9 fix(windows): check params status before download
In the case when a Keyboard was available for update but the
keyman version wasn't the state machine correctly didn't try to install
it. However the back ground download loop would try to download and
empty Params.InstallURL. This commit now checks the Params.Status.
This commit also removes the dead code for TDownloadUpdateParams record
type. This code is left over from a progress ui callback. It was
initially left for when UI callback maybe added back in. However, it
is currently confusing deadcode so has been removed.
Fixes: #13153
2025-02-07 09:29:36 +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
698a32f9e0 feat(windows): remove koAutomaticUpdate strings 2025-02-05 10:55:35 +10:00
rc-swag
d923fe8735 feat(windows): fix localistion check 2025-02-04 14:12:00 +10:00
rc-swag
125ebe76f0 feat(windows): merge check for update part 2 2025-02-03 16:25:50 +10:00
rc-swag
175bfcaf41 feat(windows): remove old translations check for updates 2025-02-03 14:44:04 +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
53daacd6e7
Merge pull request #12995 from keymanapp/feat/windows/12994/add-boot-switch
feat(windows): add boot switch
2025-01-31 12:09:25 +10:00
rc-swag
0a8c046c1a feat(windows): remove fmBoot from DoCheckTIPInstallStatus 2025-01-31 10:14:15 +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
Marc Durdin
30b5c80833 feat(windows): report on processor type in tsysinfo 2025-01-30 15:13:01 +07:00
rc-swag
00d177b411
Merge pull request #13023 from keymanapp/fix/windows/api-additional-function
fix(windows): add api GetContext and TIPProcessKeyEx with IsTextSelected bool
2025-01-30 16:28:31 +10:00
rc-swag
5116721ea7
Merge pull request #13025 from keymanapp/feat/windows/12887/localise-update-pop-ups
feat(windows): add localized button captions and form labels
2025-01-30 10:32:24 +10:00
rc-swag
39b8bb6378 feat(windows): update comments for clarity 2025-01-29 22:26:37 +10:00
rc-swag
6b40ff86a7 feat(windows): review commments 2025-01-29 22:24:21 +10:00
rc-swag
f57f2e7449
feat(windows): review comments
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-01-29 22:17:28 +10:00
Darcy Wong
8a05f9d312
Merge pull request #13044 from keymanapp/chore/common/crowdin-es419
chore(common): Update crowdin strings for Spanish (Latin America)
2025-01-29 07:47:45 +07:00
Darcy Wong
3e6cae6b12
Merge pull request #13056 from keymanapp/chore/common/crowdin-pt
chore(common): Update crowdin strings for Portuguese
2025-01-29 07:46:13 +07:00
rc-swag
be475d4afc
Merge pull request #12948 from keymanapp/fix/windows/12491/keyboard-not-found-crash
fix(windows): handle keyboard package not downloaded
2025-01-28 23:03:58 +10:00
rc-swag
27bf5355c5 feat(windows): add fmBoot option
Add fmBoot option code and update state machine code so that
on boot a prompt can let the user the new update is about to install.
2025-01-28 22:51:04 +10:00
rc-swag
9913657040 feat(windows): updated project file 2025-01-28 14:29:29 +10:00
rc-swag
b26151eb51 fix(windows): add const for clarity 2025-01-28 11:58:08 +10:00
rc-swag
608d2cdde8 fix(windows): rename TIPGetContextIsEx TIPGetContextIsSelected
rename TIPGetContextIsEx TIPGetContextIsSelected
2025-01-28 11:19:42 +10:00
Darcy Wong
4c3bf93a0d chore(common): Update crowdin strings for Portuguese 2025-01-28 07:21:49 +07:00
rc-swag
15b522e3f3
fix(windows): review comment name consistency
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-01-28 09:55:08 +10:00
Darcy Wong
4ea79bcbea chore(common): Update crowdin strings for Spanish (Latin America) 2025-01-27 09:44:45 +07:00
rc-swag
d25bcd25c7 feat(windows): add keyman update mesg strings.xml
Add strings for the pop ups that inform the user Keyman update
is ready to install. Messages that updates are not/available
and computer restart required.
2025-01-24 15:40:47 +10:00
rc-swag
5034ce8830 fix(windows): remove blank lines 2025-01-24 14:06:36 +10:00
rc-swag
69c0f3861e fix(windows): add GetContextEx and TIPProcessKeyEx
Add the api calls that include the output bool isSelected, which is
true if text is selected.
2025-01-24 14:03:09 +10:00
rc-swag
11459ceec0 feat(windows): add localized button labels 2025-01-23 15:15:17 +10:00
rc-swag
1bcafb1a72 chore(windows): Merge branch 'master' into fix/windows/7870/add-is-text-selected-flag-api
# 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-23 11:23:12 +10:00
rc-swag
4387418564 feat(windows): initall adding -boot
This updates the registry entry or run on start up and the switch
to initprog. TODO is to actually process the switch correctly when
set.
2025-01-23 11:08:20 +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
521c78c5dd chore(windows): Merge branch 'master' into feat/windows/kmshell-switch-handling
# 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 15:47:37 +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