glasseyes
f06b25ef3f
initialising zeroed utf8
2018-12-17 09:46:57 +07:00
glasseyes
14639133d9
change marker from bool to char
2018-12-17 09:46:57 +07:00
glasseyes
34f2c78855
add options kmx test keyboards to kmp.json
2018-12-17 09:46:57 +07:00
glasseyes
e19c8c2c33
clear context in non-surroundingtext reset
2018-12-17 09:46:57 +07:00
glasseyes
76f2345a1d
use XkbBell for ALERT for now
2018-12-17 09:46:57 +07:00
glasseyes
528bb80121
check if context has changed before setting it
...
use a buffer for multiple CHAR events
2018-12-17 09:46:57 +07:00
glasseyes
eeabae4b58
keep track of marker state
...
BACK clears marker state instead of deleting char if has it
2018-12-17 09:46:57 +07:00
Marc Durdin
5dd0737185
[Windows] Use RegisterHotkey to (a) simplify hotkeys and (b) avoid serialization issues with modifiers
2018-12-17 13:45:19 +11:00
Daniel Glassey
9d8c53c43a
Merge pull request #1429 from keymanapp/linux-ibus-keyman-removeX11dep
...
[linux] remove X11 dependency from ibus-keyman
2018-12-17 09:36:24 +07:00
Joshua A. Horton
7784611168
Successful keyboard render chaining!
2018-12-17 09:31:05 +07:00
Marc Durdin
81e343c988
Merge pull request #1435 from keymanapp/developer-tweak-focus-management-for-chromium
...
[Developer] Improve handling around overly enthusiastic focus changes with CEF
2018-12-17 13:19:04 +11:00
Joshua A. Horton
9561537101
setActiveKeyboard is now Promise-compatible!
2018-12-17 09:09:53 +07:00
glasseyes
19db11bc6a
put underlying base "us" keyboard into LDML
...
for any unshifted or shifted key that isn't specified in the kvk
2018-12-17 09:05:42 +07:00
Darcy Wong
f55a9477e3
Address review comments
...
Cleanup and fixes null pointer exception
2018-12-17 09:00:00 +07:00
Marc Durdin
c8351ec603
Merge pull request #1433 from keymanapp/developer-improve-web-server-performance
...
[Developer] Use keepalive to improve web server performance
2018-12-17 11:00:59 +11:00
Marc Durdin
ad8d4d7706
[Developer] Use keepalive to improve web server performance
2018-12-17 10:22:04 +11:00
Marc Durdin
00b97955b6
[Developer] Alternative focus management
2018-12-17 10:21:46 +11:00
Marc Durdin
b87dbc0fbc
[Developer] Improve handling around overly enthusiastic focus changes with CEF
2018-12-17 10:21:46 +11:00
Tim Eves
18ce72e7c8
Refactor keyboard processor initialisation code.
...
Turn the keyboard class backing the km_kbp_keyboard and km_kbp_keyboard_attr objects into just keyboard_attributes.
Move the abstract_processor and sublcasses as the objects that back km_kbp_keyboard and make keyboard_attrs a member of the asbtract_processor.
Move kmx_processor and mock_processor declarations into their own headers.
Make all vector<km_kbp_option_item> into vector<option> to handle memory management, moving and copying correctly.
Update test cases accordingly
2018-12-17 06:02:22 +07:00
Tim Eves
e79c524d90
Fix option value type's copy ctor and move ctor & assignment
...
Also add an copy assignment operator and allow initialisation from
char16_t pointers as well as u16string objects.
2018-12-17 05:55:23 +07:00
Tim Eves
2067547640
Add support for char16_t * compatible << operator to json class
2018-12-17 05:42:10 +07:00
Marc Durdin
351ebeaada
Merge pull request #1428 from keymanapp/windows-osk-renderer-tool
...
[Windows] Add oskbulkrenderer tool to generate sample On Screen Keyboards
2018-12-17 08:56:40 +11:00
Tim Eves
56f85d1a82
Fix wrong overload of std::string:;append
2018-12-17 02:40:35 +07:00
Darcy Wong
7ceb1f175f
Add Script/Region back
2018-12-15 22:12:12 +07:00
Darcy Wong
846c05693b
Tweak Free
2018-12-15 22:09:07 +07:00
Darcy Wong
03ac003f47
Fix check for scriptName / regionName
2018-12-15 21:01:37 +07:00
glasseyes
f5b14c4dd8
detect modifier key releases
2018-12-15 08:59:17 +07:00
Marc Durdin
585eab8ce0
[Windows] Tweak vertical scaling for characters that may overflow OSK key boxes (e.g. Tai Dam)
2018-12-15 12:06:55 +11:00
Darcy Wong
abb1b9f7bd
Try to fix NPE
2018-12-14 23:33:52 +07:00
rfaramir
aacdd4ee38
Merge pull request #1424 from keymanapp/mac-fix-1410-crash-in-10-7
...
[mac] Fix crash #1412 in 10.7 displaying OSK
2018-12-14 09:26:58 -06:00
Darcy Wong
56cf43f210
clean up unused var
2018-12-14 16:30:37 +07:00
Darcy Wong
c31c180610
Start writing subtag names
2018-12-14 16:17:28 +07:00
Joshua A. Horton
723c24130f
Sets the promise-polyfill library as a true dependency.
2018-12-14 15:30:59 +07:00
Joshua A. Horton
c95ba33739
Establishes proper Promise fulfillment for one full keyboard.
2018-12-14 15:16:33 +07:00
Joshua A. Horton
e8cc2a7c7b
Prototyping's going well; even IE renders here. One kbd, one layer.
2018-12-14 14:14:02 +07:00
glasseyes
b63575b465
[linux] remove X11 dependency from ibus-keyman
...
use gdk_display_beep instead of X11 beep
alternative strategy for detecting right mod keys
forward keycode instead of keysym
2018-12-14 14:09:23 +07:00
Darcy Wong
430ff3ecf4
Revert ValidateKeyboardInfo
2018-12-14 12:52:12 +07:00
Darcy Wong
a9e1c59274
Move migration code to MergeKeyboardInfo
2018-12-14 12:49:36 +07:00
Marc Durdin
d0b471db56
[Windows] Performance update for OSK export -- reduce repeated painting of keys 8-fold
2018-12-14 15:38:23 +11:00
Marc Durdin
ddf14d77f6
[Windows] Add modifier details to report
2018-12-14 15:23:53 +11:00
Joshua A. Horton
e955c16777
Start of development on a 'bulk rendering' engine for KMW validation.
2018-12-14 10:02:50 +07:00
Tim Eves
a3aca838fb
Fix ambiguity during type deduction in normalise on Windows.
2018-12-14 09:38:04 +07:00
Tim Eves
5e01266bb7
Revert "Fix ambiguity during type deduction in normalise on Windows."
...
This reverts commit f3bf0d1c6a .
Checked in to the wrong branch.
2018-12-14 09:36:02 +07:00
Marc Durdin
09f179d23b
[Windows] Fixup makefile for signcode/backup (# causes entire section to be ignored... but rem is okay)
2018-12-14 12:07:16 +11:00
Marc Durdin
b450882741
[Windows] Add oskbulkrenderer tool to generate sample On Screen Keyboards
2018-12-14 10:02:36 +11:00
Tim Eves
f3bf0d1c6a
Fix ambiguity during type deduction in normalise on Windows.
2018-12-14 02:03:18 +07:00
Tim Eves
ca150e099f
Add add path::native() to get system native character type
...
Also normalise path separators from '/' to '\\' on windows and correct
path separator.
2018-12-14 01:59:51 +07:00
Tim Eves
7c304f678c
Turn all kbp::path types into km::kbp::path to keep MSVC happy.
2018-12-14 01:22:04 +07:00
Tim Eves
c7e641b93b
Remove last vestiges of std::filesystem use to enable MacOS X build
2018-12-14 01:07:52 +07:00
Tim Eves
4694a7a70b
#include <alogrithm> for std::min on Windows
...
Add json << operator for path objects
2018-12-14 01:02:34 +07:00