Commit graph

522 commits

Author SHA1 Message Date
Marc Durdin
01430bba88 Merge pull request #295 from keymanapp/windows-set-up
Windows set up
2017-09-13 15:23:29 +07:00
Marc Durdin
617a817ebf Validate JSON .keyboard_info files 2017-09-12 19:57:39 +07:00
darcywong00
aaa1fc6788 Revert "Temporarily have 2 text fields in Keyman app"
This reverts commit a18bb2a2fd.
2017-09-12 09:49:26 +07:00
darcywong00
7cfbc78008 Remove checks for KeyboardShouldIgnoreTextChange
The checks were preventing resetContext() from being called
2017-09-12 09:48:18 +07:00
Joshua Horton
18e08d2f87 Adds persistent tracking for state key activation, checks for any changes to the modfier state by simple integer comparison and updates OSK accordingly.
Removes `mousemove` based polling due to its potential performance overhead.
2017-09-12 09:46:37 +07:00
Joshua Horton
c6c982ce60 Merge branch 'master' into web-9-modifier-chirality 2017-09-12 08:35:15 +07:00
Joshua Horton
3d60004118 Patches up a Firefox bug with European layout AltGr presses and KMW OSK management. 2017-09-12 08:32:38 +07:00
Joshua Horton
b87dfe545e AltGr simulation is nearly ready, but has some issues with working properly on... actual European keyboards when the AltGr key is pressed. *sigh* 2017-09-12 08:32:38 +07:00
Joshua Horton
75f21e399c Fixes the handler-removal function name. 2017-09-12 08:32:38 +07:00
Joshua Horton
765ef90af6 Added code facilitating CAPS_LOCK OSK state management when KMW handling is out of focus.
Includes some commented-out prelim work on AltGr simulation... it's proving very tricky.
2017-09-12 08:32:38 +07:00
Joshua Horton
11bed888bc Incorporates most of the requested changes from @mcdurdin's recent PR review.
There's still a bit of work to do on supporting proper CAPS_LOCK state upon element refocusing, as with switching tabs.
2017-09-12 08:32:38 +07:00
Joshua Horton
5d86d1a3e9 Initial implementation of state key handling is now in place. The OSK version of state keys acts just like the OSK version of modifiers. Chiral keyboard now auto-caps all keys when CAPS LOCK is active. 2017-09-12 08:32:38 +07:00
Joshua Horton
c6e206e0fe Changed relevant nextlayer properties in kmwLayout to use kebab-case - AltGr was broken for mobile due to chirality changes. 2017-09-12 08:32:38 +07:00
Joshua Horton
b4cab07e22 Behold! Actual chiral output! Supported both by physical keystrokes and osk interaction.
Yet to do:  state keys, embedded integration.
2017-09-12 08:32:38 +07:00
Joshua Horton
79e8212e0e Enhanced documentation on osk.updateLayer. 2017-09-12 08:32:37 +07:00
Joshua Horton
71fe50048a Implements proper detection of the modifier state both from the OSK and the physical keyboard and also ensures that osk.clickKey operates as expected for existing keyboards. 2017-09-12 08:32:37 +07:00
Joshua Horton
8297ab36f5 Conversation with @mcdurdin - it's enough of an edge case that we'd rather save on file size. 2017-09-12 08:32:37 +07:00
Joshua Horton
d29c531da7 Undoes the chirality constraints due to its effect on visual feedback. 2017-09-12 08:32:37 +07:00
Joshua Horton
afd43a4345 Fixes the potential layer generator to follow our planned chirality constraints. 2017-09-12 08:32:37 +07:00
Joshua Horton
c59ed4f511 Fixed up the bitflag constants and added a 'is chiral?' testing bitmask. 2017-09-12 08:32:37 +07:00
Joshua Horton
418ac7cf5f Tabs -> spaces. 2017-09-12 08:32:37 +07:00
Joshua Horton
2014b68437 Developed an initial testing framework for the chirality changes, corrected default behavior of buildDefaultLayout when KLS lacks specifications for default layers. 2017-09-12 08:32:37 +07:00
Joshua Horton
621bdf0ce9 Further refactoring, documentation, and cleaning of osk.buildDefaultLayout. 2017-09-12 08:32:37 +07:00
Joshua Horton
684421f20a Refactors out the key-102 handling into one of the new helper functions, aiding the readability of osk.buildDefaultLayout. 2017-09-12 08:32:37 +07:00
Joshua Horton
0d124581aa Heavily refactors osk.buildDefaultLayout in prep for implementation of modifier chirality. Also defines a lot of nice modifier + state-key constants. 2017-09-12 08:32:37 +07:00
Joshua Horton
31d9929257 Patches up a Firefox bug with European layout AltGr presses and KMW OSK management. 2017-09-11 16:42:22 +07:00
Joshua Horton
2d7bdd96f0 AltGr simulation is nearly ready, but has some issues with working properly on... actual European keyboards when the AltGr key is pressed. *sigh* 2017-09-11 15:59:50 +07:00
Gabriel Wong
136e08b2f1 Fix unwrapping nil 2017-09-11 15:36:11 +07:00
Gabriel Wong
a49c6a269e Remove unnecessary import Foundation 2017-09-11 13:49:52 +07:00
Gabriel Wong
c31f16b0cd Use Swift literals for UIImage and checking OS version 2017-09-11 13:41:34 +07:00
Joshua Horton
afb7b6237c Fixes the handler-removal function name. 2017-09-11 13:30:16 +07:00
Joshua Horton
270eac96c6 Added code facilitating CAPS_LOCK OSK state management when KMW handling is out of focus.
Includes some commented-out prelim work on AltGr simulation... it's proving very tricky.
2017-09-11 13:20:25 +07:00
Gabriel Wong
4fc96eb17d Migrate MainViewController to Swift 2017-09-11 13:07:06 +07:00
darcywong00
00396767cf Address review comments
* Fix formatting
* Remove unnecessary `osk.layerIndex = 0;` line
2017-09-11 12:52:44 +07:00
Joshua Horton
cbb849cc2a Incorporates most of the requested changes from @mcdurdin's recent PR review.
There's still a bit of work to do on supporting proper CAPS_LOCK state upon element refocusing, as with switching tabs.
2017-09-11 09:43:11 +07:00
Darcy Wong
9c7dba5cd0 Merge pull request #299 from keymanapp/android-engine-documentation
Add reference to keyman engine binary
2017-09-08 16:34:11 +07:00
darcywong00
a18bb2a2fd Temporarily have 2 text fields in Keyman app
for testing that in-app keyboard resets when changing text area.

Do **not** merge this commit
2017-09-08 11:58:52 +07:00
darcywong00
8e8a9c1b26 Update history.md 2017-09-08 11:57:58 +07:00
darcywong00
4b7c4cce20 Add resetContext to in-app keyboard 2017-09-08 11:18:52 +07:00
darcywong00
57deb5c235 Address initial review comments
* Change keyboard.html reference to resetContext()
* Fix javascript typo
* Change system keyboard check from `!SystemKeyboardShouldIgnoreSelectionChange` to `!SystemKeyboardShouldIgnoreTextChange`
* Remove unnecessary code in resetContext()
2017-09-08 10:18:10 +07:00
Gabriel Wong
0534c7f3a3 Add back signing instructions to Mac README 2017-09-08 09:38:12 +07:00
Tom Bogle
3a48213cc7 Changed test option to a) work and b) only be applicable to KeymanEngine4Mac. (Can't get it to work for the other two projects, and it probably isn't necessary.) 2017-09-07 14:00:58 -04:00
darcywong00
774802615b remove temporary console.logs 2017-09-07 20:17:43 +07:00
darcywong00
ff080231dd Add resetContext to SystemKeyboard 2017-09-07 20:12:14 +07:00
Gabriel Wong
d1d460cd36 Migrate AppDelegate to Swift 2017-09-07 15:12:15 +07:00
darcywong00
f373695a0b Update resetContext
move to keymanweb.js

Also clean up formatting
2017-09-07 15:06:11 +07:00
Gabriel Wong
d5b18f424d Migrate UIImage+Helpers to Swift 2017-09-07 13:53:50 +07:00
Gabriel Wong
360f8a7277 Migrate KMDropDownList to Swift 2017-09-07 13:33:42 +07:00
Gabriel Wong
56dddf6826 Migrate KMDropDownView to Swift 2017-09-07 12:24:35 +07:00
Joshua Horton
baf4fb3555 Initial implementation of state key handling is now in place. The OSK version of state keys acts just like the OSK version of modifiers. Chiral keyboard now auto-caps all keys when CAPS LOCK is active. 2017-09-07 12:15:34 +07:00