Commit graph

3370 commits

Author SHA1 Message Date
Marc Durdin
0175f906c8
Merge pull request #11921 from keymanapp/refactor/windows/cleanup-engine-logging
refactor(windows): clean up logging
2024-07-27 11:31:37 +10:00
Marc Durdin
36d00c0424 chore(windows): rename log statements 2024-07-25 10:37:04 +07:00
Marc Durdin
400751b510 fix(windows): align engine.sln platforms and configurations
Fixes: #12001
2024-07-25 09:38:02 +07:00
rc-swag
915f710b44 chore(windows): remove posting keydown up events to IM
The code has already been commented out so this was more a clean up
of deadcode. WM_KEYDOWN events are not expected by the IM window anyway.
2024-07-24 17:05:40 +10:00
Marc Durdin
72625fa741
Apply suggestions from code review 2024-07-23 17:40:37 +10:00
Marc Durdin
1d0f5cacd0
Apply suggestions from code review
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2024-07-23 17:31:14 +10:00
Marc Durdin
05edc8a7ce
Merge branch 'master' into refactor/windows/cleanup-engine-logging 2024-07-23 17:29:55 +10:00
Marc Durdin
489778f455
chore: Update windows/src/engine/keyman32/k32_dbg.cpp
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2024-07-23 15:15:53 +10:00
Marc Durdin
7875950e00
chore: Update windows/src/engine/keyman32/k32_dbg.cpp
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2024-07-23 15:14:57 +10:00
rc-swag
4e25bbe2e0
Merge pull request #11884 from keymanapp/fix/windows/7870/add-is-text-selected-flag
fix(windows): add text selected bool emit backspace key when text selected in TSF
2024-07-23 11:19:41 +10:00
Darcy Wong
75164e3099 chore(common): Update Crowdin strings for Portuguese 2024-07-17 17:10:57 -05:00
rc-swag
eb17115058 fix(windows): add comments for clarity 2024-07-10 10:43:08 +10:00
rc-swag
3998c8b75c fix(windows): make KeymanIsTextSelected Private
Only call GetSelection once, pace the parameters through to the
GetLeftSelection in order to get the results needed for
KeymanIsTextSelected
2024-07-09 22:39:01 +10:00
Marc Durdin
c537bcd8fa
Merge pull request #11929 from keymanapp/chore/windows/11906-comments
chore(windows): add comments for _WIN64 tests
2024-07-09 08:45:34 +10:00
Marc Durdin
6ea53dd1be chore(windows): correct output file for 64-bit build of keyman32 in build.sh 2024-07-05 14:28:55 +10:00
Marc Durdin
12fdb2b31e chore(windows): add comments for _WIN64 tests 2024-07-05 08:06:46 +10:00
Marc Durdin
6fe81cb256
Merge branch 'master' into refactor/windows/cleanup-engine-logging 2024-07-04 10:23:00 +10:00
Marc Durdin
f13f13b960
Merge pull request #11920 from keymanapp/refactor/windows/11917-remove-wm_keyman_key
refactor(windows): remove wm_keyman_keydown and wm_keyman_keyup
2024-07-04 06:58:30 +10:00
Marc Durdin
35e4d10e9d
chore(windows): remove incorrect architecture description from build.sh
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-07-04 06:58:08 +10:00
Marc Durdin
1be73a9c2e refactor(windows): clean up logging
* Remove unused parameters from SendDebugMessage functions
* Add SendDebugEntry and SendDebugExit functions for tracking
  function entry/exit
* Add indenting and function names to log entries
* Remove unused debug functions
* Eliminate now-unused hwnd parameter in initialization functions
* Replace Log,LogEntry,LogExit functions with SendDebug equivalents in
  kmtip

Many functions now have SendDebugEntry/SendDebugExit (or
return_SendDebugExit) pairs. It is important to SendDebugExit on all
returns from a function to keep the log indent depth consistent. In some
cases I chose not to add these logging calls, e.g. on frequently called
functions such as the message hooks.
2024-07-03 21:28:37 +10:00
Marc Durdin
aace36963e refactor(windows): remove wm_keyman_keydown and wm_keyman_keyup
Also cleanup the use of state.msg as that had no relevant data in it.

Fixes: #11917
2024-07-03 09:34:44 +10:00
Marc Durdin
4138ec4796 chore(windows): core dep 2024-07-02 19:01:30 +10:00
Marc Durdin
98a261d4ae chore(windows): correct deps for keyman32 x64 2024-07-02 17:50:34 +10:00
Marc Durdin
643ebca530 refactor(windows): merge keyman64 build into keyman32
Merges the build settings for keyman64.dll vc++ project into the
keyman32.dll project, so they are both built from the same project, in
preparation for ARM support, to minimize repetition in the source tree.

There should be no material differences to the built libraries.

Also cleans up some noise in keyman32.vcxproj which made it easier to
verify the changes.

Fixes: #11904
2024-07-02 17:00:38 +10:00
rc-swag
442903c4f3 fix(windows): add text selected bool emit key when true
Add a bool to the KeymanGetContext call, allowing the windows engine
to make the decistion to emit backspace key stroke when text is
selecting allowing the application to make the correct decision on
how to handle it. Usually deleting the selected text.
2024-06-27 10:58:51 +10:00
rc-swag
f7391e3a46 chore(windows): add debug log msgs for modifier key press
add debug log messages in the code that processes modifier
key presses. Will be usefull debuging issues with the
seralized event server and modifer keys.
2024-06-03 21:40:24 +10:00
Marc Durdin
1df620b577
Merge pull request #11524 from keymanapp/fix/windows/oem-build-sh
fix(windows): add FirstVoices Keyboards build to Windows release build
2024-05-24 12:22:11 +07:00
Marc Durdin
3d43959cd7 fix(windows): add FV build to Windows release build
Relates to #11461.

The FV build is now a part of the Windows publish build. At the same
time, addresses a number of typos in the build script, which had not
been tested because it was not linked to the Windows build.
2024-05-24 09:16:02 +07:00
rc-swag
080f265f84 chore(windows): remove cleanup-alpha-tasks
Remove the CleanupAlphaTasks that was specific to task
schedules created it for 15.0 alpha. Scheduled tasks naming
was changed to include a user name in the task. The clean up
function was to make sure the previous named tasks were removed.
Now there should be no 15.0 alpha users it can be removed.
2024-05-24 09:55:01 +10:00
Eberhard Beilharz
315c60afdd
Merge pull request #11003 from keymanapp/chore/standards-data
chore(common): Update standards data
2024-05-23 09:45:29 +02:00
Marc Durdin
02595229b2
Merge pull request #11461 from keymanapp/chore/windows/11316-build.sh
chore(windows): move from Makefile to build.sh
2024-05-23 14:23:05 +07:00
Marc Durdin
1e66b6ed0e
Merge pull request #11421 from keymanapp/chore/developer/11317-build.sh
chore(developer): build.sh for developer
2024-05-23 14:22:54 +07:00
Marc Durdin
c67369e143 fix(windows): correct filename and path for keymanengine.msm 2024-05-23 09:47:56 +07:00
Eberhard Beilharz
4e27f64e1b
chore(windows): Split tests to easier see which ones fail 2024-05-22 14:55:05 +02:00
Darcy Wong
27a2865c4a chore(windows): Update crowdin strings for DE 2024-05-22 13:54:24 +07:00
Marc Durdin
c06dd480df chore(windows): add new build scripts for Windows builds 2024-05-20 08:27:31 +07:00
Marc Durdin
f9a321fa1a chore(windows): add compiled resources to .gitignore 2024-05-20 08:19:56 +07:00
Marc Durdin
d06f4b13d0 chore(windows): move insthelper up to engine folder 2024-05-20 08:19:27 +07:00
Marc Durdin
9f7eff122e chore(windows): remove legacy build Makefiles 2024-05-20 08:16:52 +07:00
Marc Durdin
b3da2164ec chore(developer): address review comments 2024-05-20 06:35:06 +07:00
Marc Durdin
fa57d5c674 chore(developer): final work on build.sh for developer
Now builds from a clean repo:

  developer/src/build.sh configure build test publish

* Splits kmbrowserhost into kmdbrowserhost for Developer; this means
  that Developer Browser Host now inherits the Developer settings rather
  than the Keyman for Windows settings, and simplifies distribution and
  management. The only difference between the two is in the startup code
  so this seems like a good split.

* Cleanup of various build scripts and dependencies.
2024-05-20 06:34:53 +07:00
Darcy Wong
15c1fddae8 chore(common): Clear whatsnew help files
Clear whatsnew.md files for beginning of 18.0 alpha development
2024-05-17 09:32:27 +07:00
Marc Durdin
cd6361810b chore: Merge branch 'master' into chore/merge-beta-into-master-a18s2 2024-05-13 15:55:05 +07:00
rc-swag
e515ba0e1e
Merge pull request #11401 from keymanapp/feat/windows/remove-desktop-shortcut-install
feat(windows): Don't install desktop shortcut for Keyman for windows on installation
2024-05-13 15:39:59 +10:00
Darcy Wong
a7902536eb chore(windows): Update crowdin string for Khmer 2024-05-09 11:35:49 +07:00
rc-swag
b87d2a07b5 feat(windows): don't install desktop shortcut 2024-05-09 11:45:21 +10:00
Steven R. Loomis
1c7366d48a
Merge branch 'master' into chore/core/11033-points-not-units 2024-05-08 09:08:35 -05:00
rc-swag
e1cc3d5c42 fix: Keyboard should be lower case in UI string
OS font helper UI string had a capital for K it should have been
lower case k.
2024-05-08 11:18:26 +10:00
Steven R. Loomis
1fe76bcd26
Merge branch 'master' into chore/core/11033-points-not-units 2024-05-07 09:26:07 -05:00
Steven R. Loomis
6706ae0957 chore(core): km_core_cp -> km_core_cu
- km_core_cp represents a 16 bit code unit, not a code point.

Fixes: #11033
2024-05-02 17:39:15 -05:00