Commit graph

873 commits

Author SHA1 Message Date
Gabriel Wong
06571cbdad Remove language update notifications in favor of repository delegate 2017-12-04 14:52:45 +07:00
Gabriel Wong
389ca52ed7 Only update user keyboards after new keyboard downloaded 2017-12-04 13:17:29 +07:00
Gabriel Wong
a1a4a7de58 Create KeyboardRepository protocol 2017-12-04 12:52:25 +07:00
Darcy Wong
777aa68abd
Merge pull request #456 from keymanapp/android-migrate-folders
Android migrate folders
2017-12-01 15:52:31 +07:00
Gabriel Wong
001d8ad3ad
Merge pull request #464 from keymanapp/ios-dn-negative
Fix text insert when dn < 0
2017-12-01 12:03:34 +07:00
Gabriel Wong
c6b8bcdfd3 Fix text insert when dn < 0 2017-12-01 10:56:28 +07:00
Gabriel Wong
c5ef61c034
Merge pull request #463 from keymanapp/ios-fix-spacebar-subkey
Display blank subkey if no text is given
2017-12-01 10:34:55 +07:00
Gabriel Wong
2592fa7bcd Display blank subkey if no text is given 2017-12-01 10:27:30 +07:00
darcywong00
f6a710a383 Fix directory structure in MainActivity.onActivityResult
I suspect this portion of the code is obsolete, but fixed the old `/languages` and `/fonts` structure in this method.
2017-11-30 13:14:50 +07:00
darcywong00
73f0463982 More cleanup of directories and packageID
Add header to `FileDownloader.download` to clarify that it will create destination directories if they don't exist.
Also fix 1 more place for storing packageID when downloading ad-hoc keyboard
2017-11-30 13:01:39 +07:00
Gabriel Wong
c1a282b4ea
Merge pull request #432 from keymanapp/ios-lift-constants
Lift some constants out of Manager
2017-11-30 10:03:39 +07:00
darcywong00
80c3bc40ed Fix packageID for displaying keyboard version
KMKEyboardPickerAdapter.onClick needs a defined packageID to display the keyboard version
2017-11-30 09:13:34 +07:00
Gabriel Wong
9ca0e16d86 Merge remote-tracking branch 'origin/master' into ios-lift-constants 2017-11-30 09:03:34 +07:00
Joshua Horton
e77d0fadd9
Merge pull request #446 from keymanapp/web-control-focus-refactor
More refactoring + formatting cleanup
2017-11-30 09:00:49 +07:00
Gabriel Wong
acd7cf9bad Namespace constants separately 2017-11-30 09:00:13 +07:00
Joshua Horton
86f38a833d ';' 2017-11-30 08:55:14 +07:00
darcywong00
a85cb25302 and save packageID
For undefined packageIDs, update keyboardsList and save.
2017-11-29 16:49:47 +07:00
darcywong00
bfb17498f4 More work on default packageID
Use `KMManager.KMDefault_PackageID` if the `keyboardID` is `KMManager.KMDefault_KeyboardID`
2017-11-29 16:31:46 +07:00
darcywong00
4dd4379a64 "Add new keyboard" downloads to packages/cloud
At the moment, the keboard API isn't publishing the packageID, so using "cloud" as an in-term packageID.

As a result, keyboards get downloaded to /packages/cloud/
2017-11-29 14:49:21 +07:00
darcywong00
1db048f1b9 packageID fixes
Quote packageID for JS call. And assign undefined packageID to `cloud`
2017-11-29 11:18:55 +07:00
darcywong00
7d6aa35486 Change renameOldKeyboardFiles to migrateOldKeyboardFiles 2017-11-29 11:13:23 +07:00
Joshua Horton
b3b3922fb6 Added new error message for KMW for the embedded path. 2017-11-29 10:28:46 +07:00
Joshua Horton
7a4a81856e Fixes up KMW a bit; things aren't perfect yet, though. 2017-11-29 10:11:05 +07:00
Joshua Horton
687a325128 Merge 'master' into web-control-focus-refactor; iOS component was temporarily broken before 2017-11-29 10:07:28 +07:00
darcywong00
e46f6a9cc0 Start moving to new asset structure
By design, kmp keyboards will unzip into /packages/packageID folders. 

1. Moving default eurolatin2 keyboard assets
2. Move old keyboards to new packages structure
2017-11-28 14:48:56 +07:00
Joshua Horton
f874c0455c
Merge pull request #438 from keymanapp/web-436-keystroke-processing-refactor
Keystroke processing engine refactoring
2017-11-28 11:12:32 +07:00
Joshua Horton
4fcb5c054c Merge branch 'master' into web-control-focus-refactor 2017-11-28 11:10:08 +07:00
Joshua Horton
04193c9159 Messed up a copy-paste. 2017-11-28 11:10:02 +07:00
Gabriel Wong
0485e99b4e
Merge pull request #453 from keymanapp/ios-fix-build
Use the correct delegate variable name
2017-11-28 10:58:25 +07:00
Gabriel Wong
d5f0d04e57 Use the correct delegate variable name 2017-11-28 10:37:56 +07:00
Joshua Horton
adccc87f37 Added comment on the TSS_ constants. 2017-11-28 10:29:27 +07:00
Gabriel Wong
4cea3ef744
Merge pull request #406 from keymanapp/ios-kmw-abstraction
Move KMW WebView interaction into view controller
2017-11-28 10:26:58 +07:00
Jacob Bullock
eb4b3c9ee5
Merge pull request #434 from keymanapp/ios-bugfix-blank-system-wide-keyboard
re-parent and update delegates if they are lost during keyboard initi…
2017-11-27 20:18:22 -07:00
Gabriel Wong
e174495f65 Merge remote-tracking branch 'origin/master' into ios-kmw-abstraction 2017-11-28 10:16:47 +07:00
Gabriel Wong
da146dc025
Merge pull request #415 from keymanapp/ios-remove-subkeys-notifications
Remove unused subkey notifications
2017-11-28 10:09:06 +07:00
Joshua Horton
c018c290c2 Adjustments in response to PR review. 2017-11-28 09:33:40 +07:00
Gabriel Wong
9f850fd7e5 Split out delegate methods in TextField/View 2017-11-28 09:15:23 +07:00
Joshua Horton
769ead7637 Found an event-object related pattern to refactor. 2017-11-27 08:35:15 +07:00
Joshua Horton
4325679a6c Removed redundant variables. 2017-11-27 08:12:45 +07:00
Jacob Bullock
ac76fbfb64 fix lint warnings, and update to preferred code styles 2017-11-24 11:49:37 -07:00
Joshua Horton
edb95e9447
Merge pull request #435 from keymanapp/web-161-longpress-default-layer
[Web] Fix for subkey '(layer-default)' behavior.
2017-11-24 14:18:40 +07:00
Joshua Horton
924a97cec0 web - history.md. 2017-11-24 14:05:07 +07:00
Joshua Horton
1e7f37e21c Reformatted the touch-oriented 'setFocus' function. 2017-11-24 13:46:52 +07:00
Joshua Horton
986851cfda Created the _CommonFocusHelper to reduce copied code, refactored caret snapping for touch. 2017-11-24 13:44:29 +07:00
Joshua Horton
f8d4952d70 Creates helper functions for managing control keyboard preferences. 2017-11-24 13:17:14 +07:00
Joshua Horton
e97d8615bd A bit more deadkey refactoring, + removing one redundant line. 2017-11-24 12:08:57 +07:00
Gabriel Wong
bdf409d71d
Merge pull request #443 from keymanapp/ios-download-path
Do not use remote filename to set local filename
2017-11-24 09:55:40 +07:00
Gabriel Wong
2f5b3248c4 Do not use remote filename to set local filename 2017-11-24 09:02:13 +07:00
Marc Durdin
a8feb24079
Merge pull request #442 from keymanapp/developer-keyboard-versioning
Ensure that Developer respects the Keyman version that the user has set for the keyboard
2017-11-24 08:43:36 +07:00
Gabriel Wong
13bf2ca24d
Merge pull request #428 from keymanapp/ios-xcode-schemes
Update Xcode project files
2017-11-24 08:42:27 +07:00