Commit graph

580 commits

Author SHA1 Message Date
Marc Durdin
b75e506782 feat(windows): sentry c++ wrappers 2020-03-25 07:38:29 +11:00
Marc Durdin
1e755385a6 feat(windows): new error notification dialog 2020-03-23 16:50:24 +11:00
Marc Durdin
b61949ca41 fix(windows): remove makejcldbg references 2020-03-18 20:26:55 +11:00
Marc Durdin
eade8c34f3 refactor(windows): Use 14.0-style versioning
Moves all version construction to use VERSION.md and
TIER.md and reduces intermediate file usage, so we can
present sensible versions across the project.
2020-03-18 17:25:39 +11:00
Marc Durdin
2121f5ea94 feat(windows): consume new sentry api in delphi projects
Updates Delphi projects to use Sentry API instead of legacy
reporting mechanisms, and strips out existing text-based
reports. Not yet complete: reporting from kmcomapi and
hosted web controls, release number. These are flagged
as build hints.
2020-03-18 17:25:38 +11:00
Marc Durdin
9bf1efa6e2 feat(windows): add sentry.dll and build 2020-03-18 17:25:38 +11:00
Marc Durdin
c75aab5886 feat(windows): add paths to syms 2020-03-13 12:38:23 +11:00
Marc Durdin
edfbb4c339 feat(windows): add sentry file prep to build 2020-03-10 21:37:30 +11:00
Marc Durdin
fd502e6f9c chore(developer): restore CEF in installer 2020-03-01 08:17:42 +07:00
Marc Durdin
7638b32bc8 feat(windows): asynchronous hint window 2020-02-29 20:08:51 +07:00
Marc Durdin
d2387863e9 fix(windows): cef refs still not 100% 2020-02-24 13:16:10 +07:00
Marc Durdin
21e5fc19e3 fix(windows): engine install not building 2020-02-24 12:00:42 +07:00
Marc Durdin
b71858520a feat(windows): reimplement font helper
Reimplements the font helper in pure Delphi controls.
This avoids the issue we had in the past with embedding
a web browser into the OSK component. As a bonus, the
OSK now opens *substantially* faster, making Keyman feel
a whole lot nicer.
2020-02-24 11:39:20 +07:00
Marc Durdin
fc21a38afd fix(windows): inst makefiles mssing candle target 2020-02-24 11:08:51 +07:00
Marc Durdin
2cae0353b5 chore(windows): move cef to desktop
Moves the CEF components to Desktop instead of Engine.
2020-02-24 10:44:33 +07:00
Marc Durdin
7c9b154119 feat(windows): remove all web from keyman
We no longer have any web components in keyman.exe.
Note that font helper is incomplete at this point.
2020-02-23 18:57:00 +07:00
Marc Durdin
55daa5b422 refactor(windows): start move of help and hint
Moves help window and hint window out of keyman
and into kmshell, part 1 of making sure we have
no chromium dependencies in keyman.
2020-02-23 17:49:33 +07:00
Marc Durdin
7a827d6417 chore(windows): fixup chromium build 2020-02-22 13:25:02 +11:00
Marc Durdin
f15634a9ed chore: Merge branch 'master' into windows-use-chromium 2020-02-22 11:52:23 +11:00
Marc Durdin
666fbc9072 fix(developer): touch layout editor character map integration
Fixes #2577.

The touch layout editor was not accepting characters inserted from
character map by double-clicking or using the menu, only by drag+drop.
2020-02-11 09:04:22 +11:00
Marc Durdin
1ebe2f5fa1 fix(windows): Windows touch keyboard would cancel on each keystroke
Fixes #2450. When Keyman serialized input, it would cause the touch keyboard to cancel
because the touch keyboard thought the received event meant the user was touching the
physical keyboard. This resolves that problem, using a watch timer to check the visibility
of the touch input panel.
2020-02-04 16:18:18 +11:00
Marc Durdin
fa3e4ae5a5 fix(windows): smp characters could break context
Fixes #2398.
2019-12-01 05:09:29 +00:00
Marc Durdin
9209adb45d refactor(windows): cleaned up hotkey change code
Just refactoring minor bits and pieces on this PR. Esp: removed the
unnecessary interrogation of TSF (yay!) and cached the debug flag so it
isn't checked on every single keystroke.
2019-11-20 06:47:44 +11:00
Marc Durdin
7321bc4300 chore: restore keyman.dproj; changes not required 2019-11-19 19:51:43 +11:00
Marc Durdin
89e54f5cb4 refactor(windows): Keyman::ProcessHotkeyChange
Remove duplicated code in ProcessProfileChange
2019-11-19 19:47:49 +11:00
Marc Durdin
ecd44063e7 feat(windows): left-only hotkeys
Fixes #364.

Hotkeys in Windows are currently implemented using RegisterHotkey.
However RegisterHotkey does not distinguish between left and right
modifier keys, which means that they override some keyboards' RAlt
combinations.

This feature reimplements hotkey support in the low level keyboard hook,
and adds a feature flag / debug flag Flag_UseRegisterHotkey to return
to the RegisterHotkey model if that is so needed.

I have made minimal refactoring changes to this code, although there
are certainly functions here which could be improved.

I have flagged a couple of potential improvements with TODO.
2019-11-19 17:30:28 +11:00
Marc Durdin
3ebddd9f25 fix(windows): OSK restores to wrong monitor
If the On Screen Keyboard was closed when on a monitor other than the
primary monitor, it would restore to the primary monitor in the top-
left corner instead of the previous location.

This fix allows the OSK to be restored to another monitor, but still
avoids positioning the window off screen if the monitor has been
disconnected.

Fixes #2270.
2019-11-13 08:28:14 +11:00
Marc Durdin
41e87e227f
Merge pull request #2297 from keymanapp/fix/windows/2147-exception-closing-keyman
fix(windows): Keyman was crashing sporadically
2019-11-12 16:38:32 +11:00
Marc Durdin
9073fcdecd fix(windows): Keyman was not working with Skype
Fixes #1680. This issue arose only on some systems where
permissions for Keyman registry keys were not being
set correctly.
2019-11-11 15:27:03 +11:00
Marc Durdin
b7d4e83270 chore(windows): unreferenced param in release build 2019-11-08 09:40:40 +11:00
Marc Durdin
be1b8f6457 chore(developer): tidy up from review comments 2019-11-07 17:31:03 +11:00
Marc Durdin
fc330e621a fix(windows): tweak preprocessor conditional 2019-11-07 17:24:56 +11:00
Marc Durdin
ccc6498739 fix(windows): Keyman was crashing sporadically
Fixes #2147.

This potentially addresses the issues reported in #2147 where Keyman
would crash due to a race condition as a critical section was not
deleted before attempting to recreate it.

Some logging has been added for debugging these issues.

Also fixes memory leaks and another race on startup relating to loading
the taskbar icon.

There are still some known memory leaks because DLL_THREAD_DETACH is
not called for all threads before keyman32.dll is unloaded, so those
threads don't get the opportunity to clean themsselves up. However, the
key danger with the csGlobals critical section has been addressed.
2019-11-06 17:44:32 +11:00
Marc Durdin
8fb9d179c3 [Windows] Fix additional makefiles 2019-10-23 18:23:49 +07:00
Marc Durdin
950605e1fc [Windows] More manifest renames 2019-10-23 15:28:25 +07:00
Marc Durdin
6ddad89f33 [Windows] Fixup manifest.xml validity checks 2019-10-21 07:29:23 +07:00
Marc Durdin
d158648f1d [Windows] Remove further hardcoded version numbers 2019-10-21 07:01:11 +07:00
Marc Durdin
3a90f258da [Windows] Fix version.in file encoding back to Windows-1252 2019-10-21 06:43:13 +07:00
Marc Durdin
82e3a8528f [Windows] Cleanup version.txt 2019-10-21 06:05:16 +07:00
Marc Durdin
3f5de32e35 [Windows] Refactor version.txt to use constant templates and avoid needing to update with major version changes 2019-10-21 05:54:15 +07:00
Marc Durdin
0455a945db Merge master 2019-10-04 16:54:09 +10:00
Marc Durdin
6b6d5676cb [Windows] Enable logging of exceptions within keymanapi 2019-10-02 07:27:22 +10:00
Marc Durdin
16d8970feb [Windows] Change destruction order for Keyman to avoid error reloading. Fixes #6060 2019-10-02 06:44:09 +10:00
Marc Durdin
3589b90d2f [Windows] Add extra logging to help diagnose #2143. 2019-10-01 19:41:40 +10:00
Marc Durdin
d1f9389825 [Windows] Close down serial key event server after unhooking hooks, as low level keyboard hook relies on it. 2019-10-01 19:41:15 +10:00
Marc Durdin
bd9d6c5e4e [Windows] Elevate Keyman start if debugging is enabled. Partial fix for #2152. 2019-10-01 19:40:30 +10:00
Marc Durdin
31df712707 [Windows] If Keyman Desktop 11 and Keyman Developer 12 are installed together, Keyman Desktop will crash on startup. Fixes #2146. 2019-09-30 21:08:44 +10:00
Marc Durdin
da511a57ba More unnecessary file changes 2019-08-12 16:53:35 +10:00
Marc Durdin
eb236d7dfe Unnecessary file changes 2019-08-12 16:48:50 +10:00
Marc Durdin
692c64f659 Unnecessary file changes (version numbers) 2019-08-12 16:48:08 +10:00