Commit graph

3320 commits

Author SHA1 Message Date
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Marc Durdin
f119682cf0
Merge branch 'master' into chore/a18s1-merge-beta-into-master 2024-05-02 14:48:58 +10:00
rc-swag
faa828d55a fix(windows): remove space before full stop 2024-04-23 10:44:09 +10:00
rc-swag
71377c3754 fix(windows): Still need to guard against out of bound index 2024-04-23 08:56:56 +10:00
rc-swag
94c8879961 fix(windows): check font count display none found
This change is to check number of fonts found for keyboard
to guard against trying to index it when there are no fonts.
  for i := 0 to grid.RowCount - 1 do
        m := System.Math.Max(m,
	Canvas.TextWidth(FSelectedKeyboard.Fonts[i].FontName) + 6)
It also notifies the user no suggested fonts where found.
2024-04-22 17:01:44 +10:00
Darcy Wong
d6ee7f510c Merge remote-tracking branch 'origin/master' into chore/merge-beta-to-master-b17s5 2024-04-12 09:29:23 +07:00
rc-swag
fdc1db4c78
fix(windows): IDE introduce project file deployment path 2024-04-05 08:41:32 +10:00
rc-swag
e85074a675 fix(windows): add utilhttp to developer projects 2024-04-04 19:21:02 +10:00
rc-swag
653cb3b4b3 fix(windows): ditch the Indy library use own URLDecode 2024-04-04 14:26:23 +10:00
rc-swag
636d21fe4a fix(windows): decode packge id at assignment encode uri creation
decode the package_id when assinged. encode it again when
the uri is formated.
2024-04-04 09:14:44 +10:00
rc-swag
a273cbfd58 fix(windows): decode uri for packageid filename
The uri for the downloaded filename need is decoded
to turn %20 back to spaces etc. For the download location
it encoding is maintained.
2024-04-03 10:27:46 +10:00
Darcy Wong
c8395c4598 chore(common): Merge beta to master Sprint b17s4 2024-03-28 09:54:49 +07:00
Darcy Wong
12a8e8affc chore(android,windows): Update crowdin strings for French 2024-03-24 16:55:20 +07:00
Darcy Wong
39b56b3e9a chore(common): Merge 'origin/master' into chore/beta-to-master-b17s3 2024-03-15 10:57:03 -05:00
rc-swag
a2f9a4431a fix(windows): fix keyboard lookup in getkeyboardlanguage
The look up for the kmcom keyboard now uses index of
to find the correct index into the Keyboard array.
2024-03-05 15:00:16 +10:00
Marc Durdin
f18d9aa6b8
Merge branch 'master' into chore/b17s2-merge-beta-to-master 2024-03-01 13:39:14 +07:00
rc-swag
a39f5cbca4
Merge pull request #10871 from keymanapp/feat/windows/10235/move-kmshell-dpr
feat(windows): move the code kmshell.dpr to unit so that only the includes are in dpr
2024-03-01 13:50:52 +10:00
Darcy Wong
177175a7a9 chore(common): Merge beta-17-0-270 into chore/beta-b17s1 2024-02-29 09:40:50 +07:00
rc-swag
e7776b74a7 feat(windows): oops checkin in new system-main-pas 2024-02-29 09:05:47 +10:00
rc-swag
4211820c05 feat(windows): Move code form dpr to unit
The IDE would put strange indents into the main loop code
in the dpr project file. This code has now been removed to
the a new unit Keyman.Configuration.System.Main
2024-02-28 15:20:55 +10:00
rc-swag
e8b7c3a752
Merge pull request #10783 from keymanapp/docs/windows/10717/whats-new-windows-17
docs(windows): add whats new Keyman for Windows  17.0
2024-02-27 09:31:12 +10:00
Marc Durdin
b60243075d chore(common): upgrade sentry to 7.102.0 for Windows + Developer
Updates to version 7.102.0 of Sentry, in order to get working sourcemap
matching.
2024-02-22 12:51:01 +07:00
rc-swag
8e7a12f8cb docs(windows): add whats new k4w 17.0 2024-02-20 17:50:32 +10:00
Marc Durdin
7c8f109c33 chore: update doc versions to 18.0 2024-02-15 09:51:36 +07:00
Darcy Wong
3f84d19502 chore(windows): Update rest of PT strings 2024-02-14 10:39:21 +07:00
FranciscoMatos1
2f5b8fa2c8
Update strings.xml 2024-02-13 08:22:35 +00:00
rc-swag
043090f8a4
Merge pull request #10184 from keymanapp/feat/update-windows-engine-tests
feat(windows): update windows engine unit tests to match removal of engine cached context
2024-02-13 09:45:29 +10:00
rc-swag
477197ae23 chore(windows): missed registryw.cpp deffinition update
Checkin the kmtip registryw.cpp LPCWSTR argument update.
2024-02-12 15:19:43 +10:00
rc-swag
89f6770a78 chore(windows): add const to argument definition
Updated the call stack to keep a const string for the value parameter
being written to registry.

SaveKeyboardOptionCoretoRegistry calls
IntSaveKeyboardOptionCoretoRegistry which calls
RegistryFullAccess::WriteString which calls
RegSetValueExW, which takes a const data parameter.
2024-02-09 11:11:27 +10:00
rc-swag
a798303871 feat: remove uneeded tests after core refactor 2024-02-07 15:31:56 +10:00
Marc Durdin
4624247231
Merge pull request #10661 from keymanapp/chore/windows/rename-action-variable
chore(windows): rename actionItem to outputString for clarity
2024-02-07 16:02:17 +11:00
Marc Durdin
65125196e5
Merge pull request #10660 from keymanapp/fix/windows/wstrtostr-use-WideCharToMultiByte
fix(windows): `wstrtostr` should use `WideCharToMultiByte`
2024-02-07 16:02:11 +11:00
Marc Durdin
73b4ee5d21
Merge pull request #10650 from keymanapp/fix/windows/10604-unicode-logging
fix(windows): support unicode strings properly in logs
2024-02-07 16:01:45 +11:00
rc-swag
ec03e47b85 chore: Merge branch 'master' into feat/update-windows-engine-tests 2024-02-07 14:16:50 +10:00
rc-swag
c781808d8d chore(windows): rename actionOption to output string
renamed a variable for clarity added a description to make clear
that a null terminated string is the expected input.
2024-02-07 14:11:44 +10:00
Marc Durdin
f9bb4ba818 fix(windows): wstrtostr should use WideCharToMultiByte
Relates to #10604: "Note also wstrtostr crashes if you pass it surrogate
pairs because they won't convert ... ouch."
2024-02-07 10:39:07 +07:00
Marc Durdin
07c7a0659f
Merge branch 'master' into fix/core/10582-km_core_state_get_actions-idempotency 2024-02-07 12:32:41 +11:00
Marc Durdin
2c2602ba18
Merge pull request #10569 from keymanapp/chore/core/10520-hide-old-action-apis
chore(core): move action apis into keyman_core_api_actions.h
2024-02-07 12:30:22 +11:00
Marc Durdin
a90e9f45f3 fix(windows): etl2log support unicode
Minimal patch to etl2log to support emitting Unicode characters, in
UTF-8.
2024-02-06 15:07:08 +07:00
rc-swag
eed14b3c5b feat: keyman-engine-tests include icu and appcontext
The keyman-engine and keyman-engine-tests have the icu
dependncy added. Also the appcontext.h and appcontext.cpp
refactor has been update in the project.
2024-02-06 17:28:36 +10:00
Marc Durdin
810ed35a8a fix(windows): support unicode strings properly in logs
Fixes #10604.

Note: does not address limitations in etl2log yet, but allows us to emit
unicode strings to the logs.
2024-02-06 14:12:41 +07:00
rc-swag
6d4b287d7d feat(windows): variable name change 2024-02-06 08:47:22 +10:00
rc-swag
eecc6cd7bd
fix(windows): address review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-02-06 08:25:08 +10:00
rc-swag
dbc3338d41 chore: Merge branch 'master' into feat/update-windows-engine-tests 2024-02-05 15:19:03 +10:00
Marc Durdin
e69bfe7e71 chore(windows): remove old code relating to actions lifecycle
After the changes to core in previous commit, Windows no longer needs to
dispose the actions struct. Also refactored the lifecycle of
core_actions to make ownership clearer.
2024-02-05 09:59:47 +07:00
Marc Durdin
aa80992fb8
Merge branch 'feat/windows/use-km-core-actions-struct' into chore/core/10520-hide-old-action-apis 2024-02-05 13:44:36 +11:00
rc-swag
7ad81f9440 feat(windows): revert kmshell.res 2024-02-05 11:03:31 +10:00
rc-swag
50b5d197b3 feat(windows): remove extra debug messages 2024-02-05 11:00:27 +10:00
Marc Durdin
f34976e8c0
Merge branch 'feat/windows/use-km-core-actions-struct' into chore/core/10520-hide-old-action-apis 2024-02-03 09:40:53 +11:00
rc-swag
8f2e0a76eb feat(windows): code comment 2024-02-02 16:55:28 +10:00