Commit graph

3486 commits

Author SHA1 Message Date
Marc Durdin
87e40bd6f4 fix(developer): insert from charmap into touch editor
Double-click to insert a character from char map into the touch layout
editor would not work reliably after focus changes.

Fixes #2702.
2020-02-26 16:50:23 +07:00
Marc Durdin
2abdbc0ce9 chore: address review comments 2020-02-26 13:13:44 +07:00
Marc Durdin
cb91009369 feat(developer): always save options
Allow user to automatically save changes before
compiling and similar options. Fixes #2727.
2020-02-25 23:51:07 +07:00
Marc Durdin
b6696e47a7 fix(developer): crash when switching layout templates
Keyman Developer could crash if a specific sequence was invoked
importing a keyboard into a touch layout and then changing the
template. Fixes #2712.
2020-02-25 20:20:18 +07:00
Marc Durdin
217e60b063 fix(windows): and again wxs 2020-02-24 21:45:21 +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
dfd124198c fix(windows): Keyboard welcome obscured OK button 2020-02-22 14:00:43 +08:00
Marc Durdin
4ca6a1262e fix(windows): Download Keyboard open internally 2020-02-22 13:58:55 +08:00
Marc Durdin
8f68badb86 fix(windows): keep-in-touch open internally 2020-02-22 13:56:30 +08:00
Marc Durdin
ddcdf486ce fix(windows): chromium focus
Focus was over-eager -- couldn't lose focus.
Also makes cef functions virtual to allow for
override.
2020-02-22 13:41:34 +08:00
Marc Durdin
50559d32a5 fix(windows): keyboard options window
Fixes focus issues and options not saving with
new chromium host
2020-02-22 13:40:44 +08: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
6f5a55cd65
Merge branch 'master' into chore/beta-to-master-p9s2-final 2020-02-19 14:35:29 +11:00
Marc Durdin
148400f756 chore(windows): cleanup documentation
* Add QR Code help
* Remove unused images and ancient conent
2020-02-19 10:11:28 +11:00
Marc Durdin
cf43e45c0e chore(windows): improve build script tests
Make sure that our prerequisites are in place *before* starting a
release build. Note: doesn't currently check that certificates are
valid so that's a future test we could include.

One day it'd be nice to remove dependency on 7-zip: perhaps we won't
need it once we have better crash reporting.
2020-02-19 07:46:22 +11:00
Marc Durdin
cee5cb9c79
Merge pull request #2672 from keymanapp/fix/developer/2667-upgrade-removes-preferences-beta
fix(developer): upgrade removes preferences 🍒
2020-02-18 16:03:03 +11:00
Marc Durdin
c533834ac4 chore(developer): history
Fixes a compile hint as a rider
2020-02-18 14:03:26 +11:00
Marc Durdin
bdeb2b1baa fix(developer): upgrade removes preferences
The uninstall is supposed to remove HKCU settings for developer. However
a side-effect is that an upgrade (which msi treats as uninstall/
install internally) also removes HKCU settings. This is sad and it is
probably better overall to leave a dangling HKCU key after uninstall.

Fixes #2667.
2020-02-18 14:02:59 +11:00
Marc Durdin
d1e35e5bb6 fix(developer): upgrade removes preferences
The uninstall is supposed to remove HKCU settings for developer. However
a side-effect is that an upgrade (which msi treats as uninstall/
install internally) also removes HKCU settings. This is sad and it is
probably better overall to leave a dangling HKCU key after uninstall.

Fixes #2667.
2020-02-18 11:04:09 +11:00
Marc Durdin
38761ca249
Merge pull request #2663 from keymanapp/fix/developer/crash-importing-blank-osk-in-touch-editor
fix(developer): crash importing blank OSK
2020-02-17 18:01:45 +11:00
Marc Durdin
0c328a305a fix(developer): crash importing blank OSK
Fixes sillsdev/keyman-issues#6231.
Fixes sillsdev/keyman-issues#6125.
Fixes sillsdev/keyman-issues#5914.
Fixes sillsdev/keyman-issues#5902.
Relates to #2656.

If you attempt to import a blank OSK into the touch layout editor,
nothing happens, but behind the scenes the state was corrupted, meaning
when you attempt to continue work at some point the app will crash.
2020-02-17 17:07:34 +11:00
Marc Durdin
616fe39cfc fix(developer): crash in context help
Fixes sillsdev/keyman-issues#6207.
Fixes sillsdev/keyman-issues#5801.
Fixes sillsdev/keyman-issues#5742.
Fixes sillsdev/keyman-issues#6186.
Fixes sillsdev/keyman-issues#6124.
Fixes sillsdev/keyman-issues#5647.
Fixes sillsdev/keyman-issues#5726.
Fixes sillsdev/keyman-issues#6149.
Fixes sillsdev/keyman-issues#6228.
Fixes sillsdev/keyman-issues#6001.
Fixes sillsdev/keyman-issues#6148.
Fixes sillsdev/keyman-issues#6159.
Fixes sillsdev/keyman-issues#6171.

This fixes a crash when context help is unable to determine the
current context.
2020-02-17 15:48:06 +11:00
Marc Durdin
255e4f4b7a chore: Merge branch 'master' into chore/beta-to-master-p9s2-1 2020-02-17 10:11:15 +11:00
Marc Durdin
02a8f23e28
Merge branch 'beta' into fix/developer/ide/2632-model-editor-wordlist-tab-modified-state 2020-02-13 05:35:07 +11:00
Marc Durdin
a5f0a164c4 chore(developer): history 2020-02-12 08:58:22 +11:00
Marc Durdin
d5dc0934a3 chore(developer): history 2020-02-12 08:54:56 +11:00
Marc Durdin
58456a2822 fix(developer/ide): various model editor
Fixes #2437.

* add context help
* add Ctrl+PgUp/Ctrl+PgDn hotkeys for switching pages
* add Alt+Left/Alt+Right hotkeys for switching views
* remove old TODO items
* saving file from source view now gets latest changes correctly
2020-02-12 08:46:01 +11:00
Marc Durdin
a1ff4bc3c5 fix(developer/ide): model editor wordlist tab modified state
Fixes #2632.

The model editor was not being notified of changes in wordlist tabs,
which meant that it would never be set into modified state for changes
exclusively in a wordlist.
2020-02-11 20:17:40 +11:00
Marc Durdin
a0001a7caa fix(developer/ide): model debugger mime type mismatch
Fixes #2630.

The MIME type for .js was being read from the registry, which on some
systems has been corrupted to text/plain, which causes Chrome to abort
loading the script. The fix is to avoid loading the system registered
MIME types, which we don't need anyway, because all the MIME types we
are using are in the default hard-coded list.
2020-02-11 20:10:22 +11:00
Marc Durdin
f9b893726d
Merge branch 'beta' into fix/developer/compiler/2498-merge-reports-touch-incorrectly-from-kmx 2020-02-11 17:06:52 +11:00
Marc Durdin
6828247f13
Merge pull request #2620 from keymanapp/fix/developer/compiler/2555-mismatching-version-package-compiler-error
fix(developer/compiler): package: version mismatch
2020-02-11 17:06:33 +11:00
Marc Durdin
cf91cb581c chore(developer): history 2020-02-11 11:06:28 +11:00
Marc Durdin
f2f269545a fix(developer/compiler): merge reports touch badly
Fixes #2498.

The .keyboard_info merge was incorrectly assuming the presence of a .js
in the .kmp file if the source .kmn file asserted support for touch
platforms, when testing the .kmx files. Now, platform support for
Android and iOS will only be added if the package actually includes the
.js file that makes that possible.
2020-02-11 11:01:56 +11:00
Marc Durdin
739258a9a2 chore(developer/compiler): history 2020-02-11 09:25:21 +11:00
Marc Durdin
5b096c53f0 fix(developer/compiler): package: version mismatch
Fixes #2555.

The package compiler would give a misleading error when it was verifying
keyboard version numbers if one of the files could not be found; it
would say the keyboard file versions (between .kmx and .js) mismatched
instead of complaining about the missing file.

This reduces this error to a warning, allowing the verification to
continue, and the resulting log shows that the file is missing and
fails the build more logically.
2020-02-11 09:20:10 +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
6902f7bf1c
Merge branch 'master' into chore/beta-alpha-p9s1 2020-02-07 16:25:39 +11:00
Marc Durdin
5da8282348 chore(windows): history 2020-02-04 20:14:59 +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
ef02b1bdda chore: address review comments 2020-01-31 20:01:46 +11:00
Marc Durdin
58d4fb72e8 chore(windows): use new version infrastructure 2020-01-29 09:59:50 +11:00
Marc Durdin
3087b09e97 chore: version numbers in history 2020-01-28 15:16:26 +11:00
Marc Durdin
b7f9a83c63 chore: version numbers 2020-01-28 14:30:04 +11:00