Commit graph

827 commits

Author SHA1 Message Date
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
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
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
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
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
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
Marc Durdin
55d54dc474 Ensure that Developer respects the Keyman version that the user has set for the keyboard 2017-11-23 15:12:44 +07:00
Darcy Wong
ac915f7569
Merge pull request #441 from keymanapp/android-370-dont-install-0b-keyboard
Ignore zero-byte JS keyboard files
2017-11-23 13:15:55 +07:00
darcywong00
667e82e9d4 Ignore zero-byte JS keyboard files
For the 3rd part of #370, ignore 0-byte JS files in `KMManager.getLatestKeyboardFileVersion)`

If a keyboard doesn't have a valid version, attempting to load it will revert to the default (EuroLatin2) keyboard.

Also added a check so null version keyboard doesn't get added to OldKeyboardsList
2017-11-23 12:47:53 +07:00
Marc Durdin
573d1b730a
Merge pull request #439 from keymanapp/developer-keymanweb-object-rename
Rename references to tavultesoft.keymanweb in KeymanWeb compiler and debugger
2017-11-23 10:16:33 +07:00
Darcy Wong
9ae9067dbe
Merge pull request #437 from keymanapp/android-370-follow-redirects
Update HttpURLConnections to follow HTTPS redirects
2017-11-23 10:06:43 +07:00
Darcy Wong
b98225dd9f
Merge pull request #440 from keymanapp/android-370-check-file-size
Check valid file size when downloading keyboard
2017-11-23 10:05:44 +07:00
darcywong00
365f4d09de Refactor to use util.Connection
New class will manage the HttpUrlConnection
2017-11-23 09:08:44 +07:00
darcywong00
44deae4937 Check valid file size when downloading keyboard
Addresses the second part of #370
2017-11-23 04:45:04 +07:00
Marc Durdin
ebac5631b5 Rename references to tavultesoft.keymanweb in KeymanWeb compiler and debugger 2017-11-22 12:01:24 +07:00
darcywong00
40a68c167b Update HttpURLConnections to follow HTTPS redirects
For the first portion of resolving issues/370

Fix KMManager and JSONParser HttpURLConnection calls so HTTP:// to HTTPS:// redirects are properly followed.
2017-11-22 11:51:54 +07:00
Marc Durdin
3dccc94272
Merge pull request #429 from keymanapp/mac-version-10-keyboards
Add version 10.0 keyboard support for Mac
2017-11-22 10:58:43 +07:00
Marc Durdin
6485951db9
Merge pull request #427 from keymanapp/windows-version-10-keyboards
Add version 10.0 support for Delphi kmx libraries
2017-11-22 10:57:55 +07:00
Joshua Horton
c4b549905a Reformats osk.showSubKeys and fixes #161. 2017-11-22 08:49:37 +07:00
Joshua Horton
2eb43591db
Merge pull request #421 from keymanapp/web-311-keystroke-control-paths
[Web] Keystroke control path rework
2017-11-22 08:17:56 +07:00
Joshua Horton
2674faeeda
Merge pull request #425 from keymanapp/web-307-309-deprecation-fix
[Web] Deprecation fixes.
2017-11-22 08:16:42 +07:00
Tom Bogle
6c0882607d
Merge pull request #372 from keymanapp/mac-compatibility-with-legacy-apps
Mac compatibility with legacy apps
2017-11-21 12:44:11 -05:00
Tom Bogle
2a54e75c35 Added/enhanced comments related to showPreferences workaround. 2017-11-21 11:35:21 -05:00
Tom Bogle
ecd7008246 Merge remote-tracking branch 'origin/master' into mac-compatibility-with-legacy-apps 2017-11-21 11:21:03 -05:00
Tom Bogle
8369e9d6e1 Added comment to explain the use of the regex to find a base character to use as the start of the string inserted using the insertText method. 2017-11-21 11:14:37 -05:00
Marc Durdin
f28a7d60c8
Merge pull request #431 from keymanapp/mac-1.2-history-for-alpha
Update history.md for macOS on alpha to match beta
2017-11-21 13:45:20 +07:00
Marc Durdin
dcbc3a42bd Version number 2017-11-21 13:20:26 +07:00
Marc Durdin
b231e4d45b Update history for mac 1.2 beta 2017-11-21 13:14:15 +07:00
Marc Durdin
98b4afb95f
Merge pull request #426 from keymanapp/mac-high-sierra-config-workaround-gw
Mac high sierra config workaround
2017-11-21 13:05:03 +07:00
Gabriel Wong
0e688c3324 Clean up log statements 2017-11-21 10:55:49 +07:00
Marc Durdin
766384820e Add version 10.0 keyboard support for Mac 2017-11-21 10:51:05 +07:00
Joshua Horton
b5a6eeb101 Removes the old _FindCaret workaround for ancient versions of FF. 2017-11-21 10:46:48 +07:00
Joshua Horton
0dd68c2a3e Forgot to remove part of the unwanted changes! 2017-11-21 10:09:06 +07:00
Joshua Horton
5b7bfb5d5d Removed KeyboardEvent.code implementation, fixed Closure error. 2017-11-21 10:08:04 +07:00
Gabriel Wong
78198aaf30 Delete SWKeyboard shared scheme 2017-11-21 09:49:35 +07:00
Gabriel Wong
069e09f0dc Only build active architecture for debug 2017-11-21 09:44:15 +07:00
Gabriel Wong
a05a20319e Update iOS Xcode schemes 2017-11-21 09:39:48 +07:00
Marc Durdin
62a26e9ce5 Add version 10.0 support to Delphi kmx libraries 2017-11-21 08:43:50 +07:00
Joshua Horton
71a50a929a Initial deprecation fixes. 2017-11-20 15:02:32 +07:00
Gabriel Wong
b0ff277b8a Use new way of showing config window in about 2017-11-20 14:36:47 +07:00