Commit graph

3486 commits

Author SHA1 Message Date
Marc Durdin
33ede3e8b0 chore(developer): config kmcomp build paths 2019-11-17 09:08:33 +11:00
Marc Durdin
e3c107d3a7 chore(developer): config build paths 2019-11-17 08:52:30 +11:00
Marc Durdin
6e171f8f47
Merge pull request #2334 from keymanapp/fix/developer/2199-kmcomp-merge-platform-support
fix(developer): keyboard_info merge mobile wrong
2019-11-15 13:47:22 +11:00
Marc Durdin
8cdd68d88c chore(developer): history.md 2019-11-15 11:17:17 +11:00
Marc Durdin
5513385edf chore(windows): history.md 2019-11-15 11:16:37 +11:00
Marc Durdin
0bb8f68e10
Merge pull request #2330 from keymanapp/fix/windows/2270-on-screen-keyboard-position-wrong
fix(windows): OSK restores to wrong monitor
2019-11-15 11:11:02 +11:00
Marc Durdin
773ed6224b fix(developer): keyboard_info merge mobile wrong
The .keyboard_info merge of `platformSupport` would not always give the
right result, for .js keyboards. We have a certain lack of information
in the .js which makes it a little tricky to determine precisely what
the set of supported platforms are. Thus, if we find a .js within a
.kmp, we'll assume it supports mobile; if we find a .js by itself,
we'll assume it supports web. (Thus, a keyboard that builds a .js
is assumed to always support web -- but not necessarily mobile now).

Some keyboards that have incorrectly added a .js into a package, e.g.
sil_cipher_music, will be marked as supporting mobile even though they
don't. The correct fix here is to remove the .js from the package for
that keyboard.
2019-11-13 13:23:55 +11:00
Marc Durdin
13567d2a76 fix(windows): focus is incorrect for CEF
The focus code paths for Chromium frames (CEF4Delphi) were incorrect.
The return value for preventing focus on navigation events was
inverted, and then other code was attempting to work around this
inversion, wrongly. Fixed the root issue of the inverted test (it would
help if the parameter cefSetFocus was known as `Handled` rather than
`Result`!) and then the remaining code pathways became far simpler.

Fixes #2314.
2019-11-13 10:44:23 +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
fa3f9bb279
Merge pull request #2316 from keymanapp/fix/windows/1680-keyman-not-working-with-skype
fix(windows): Keyman was not working with Skype
2019-11-11 16:37:28 +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
eeb797bf12
Merge pull request #2294 from keymanapp/fix/developer/2256-touch-editor-platform-crash
fix(developer): crash when deleting selected platform in code view
2019-11-06 18:44: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
a36b6d3557 fix(developer): nul in context caused incorrect deletion for 10.0 2019-11-06 07:00:03 +11:00
Marc Durdin
062ec7cdca fix(developer): crash when deleting selected platform in code view 2019-11-06 06:37:17 +11:00
Marc Durdin
26124da476 fix(developer): title of Online Update dialog was wrong 2019-11-05 06:31:33 +11:00
Marc Durdin
08f9a168ee refactor(developer): rename references post-refactor 2019-11-04 20:40:04 +11:00
Marc Durdin
e6d377d417 refactor(developer): move developer-only units out of global 2019-11-04 20:37:10 +11:00
Marc Durdin
44ffa23700 feat(windows): Command line app to test issue around #1680 2019-11-01 05:39:23 +11:00
Marc Durdin
19c210e6d4 chore(developer): Test controlled scroll of grid on 10.3 2019-10-29 15:05:24 +11:00
Marc Durdin
fff86bc1cf fix(windows): RSP-19902 was fixed in Delphi 10.3 so unwind workaround 2019-10-28 09:28:20 +11:00
Marc Durdin
195faf5603 docs(windows): Tweak Delphi version references 2019-10-25 21:14:32 +07:00
Marc Durdin
f3155a488e fix(windows): Fix path for Delphi 10.3 IDE in devtools 2019-10-25 21:14:06 +07:00
Marc Durdin
efa2c166d4 [Windows] Update README 2019-10-25 06:06:19 +07:00
Marc Durdin
83288a056a [Windows] Support either Delphi 10.2 or 10.3 via defines 2019-10-25 06:01:17 +07:00
Marc Durdin
9c5e30d82a [Windows] Update build scripts, compiler conditionals, and address hints arising with move to Delphi 10.3.2 2019-10-24 20:43:17 +07:00
Marc Durdin
63fbe8e5cf [Windows] Address review comments 2019-10-24 07:22:21 +07:00
Marc Durdin
4f22d497ff [Windows] fix comment 2019-10-24 07:02:12 +07:00
Marc Durdin
17f870b096 [Windows] Address review comments 2019-10-24 06:32:20 +07:00
Marc Durdin
b01da5cb16 [Windows] Add version.rc and manifest.xml to def-clean target 2019-10-24 06:30:17 +07:00
Marc Durdin
36f9e470a6 [Windows] Address .MD to .md and case consistency 2019-10-24 06:28:06 +07: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
cdcb199c77 [Developer] Re-add cef; not sure if this is moving soon? 2019-10-21 07:26:42 +07:00
Marc Durdin
bd8ff20992 [Windows] Fix build of version.rc 2019-10-21 07:17:13 +07:00
Marc Durdin
9a57ff7328 [Windows] Cleanup TODO 2019-10-21 07:07:59 +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
d5e0f138b2 [Developer] Remove dependency on component mode of TBrowse4Folder 2019-10-20 19:50:58 +07:00
Marc Durdin
b061c7ca71 Addd browse4folder to tike 2019-10-20 19:44:59 +07:00
Marc Durdin
ae8a8bb376 Add browse4folder.pas to project 2019-10-20 19:43:42 +07:00
Marc Durdin
435793ec6e Merge branch 'master' into windows-use-chromium 2019-10-20 19:43:09 +07:00
Marc Durdin
e2d2aeb871 Address review comments 2019-10-20 05:48:32 +07:00