Commit graph

24978 commits

Author SHA1 Message Date
Joshua A. Horton
7943dcdcd0 Initial type implementations for kmwcallback.ts. Not 100% done, but mostly done. 2017-12-21 14:24:06 +07:00
Joshua A. Horton
72f93ccea4 Refactored the base KMW object; performed work to support minification. 2017-12-21 13:20:11 +07:00
Joshua A. Horton
e1cc8a6416 Significant work performed for potential minification. 2017-12-19 18:07:27 +07:00
Marc Durdin
309f3045f8
Merge pull request #493 from keymanapp/developer-validate-keyboard-info-language-tags
Validate BCP-47 tags in the .keyboard_info files and ensure canonical
2017-12-19 11:08:56 +07:00
Joshua A. Horton
2f96d996db Bugfixes - forgot alternate function names. 2017-12-19 10:58:33 +07:00
Joshua A. Horton
9d15891916 Figured out a way around Closure's issues with the new class-based Util object. 2017-12-19 10:34:21 +07:00
Joshua A. Horton
06817beb2f Refactored the util object, but Closure's not happy. 2017-12-19 10:09:48 +07:00
Joshua A. Horton
c1340f88fd Fixed up the debug-embedded build product path for build.bat. 2017-12-18 12:45:42 +07:00
Gabriel Wong
b5f57b2cb6 Use debug KMW for debug iOS builds 2017-12-18 12:31:46 +07:00
Joshua A. Horton
14f770158f Initial package.json for NPM dependency management. Handles TypeScript and Google Closure, includes edits to fix new warnings from updated Closure. 2017-12-18 12:22:47 +07:00
Gabriel Wong
6b0f41a078
Merge pull request #495 from keymanapp/ios-special-osk-font
Properly set OSK font for subkeys
2017-12-18 10:06:12 +07:00
Gabriel Wong
60ccfa2896 Merge branch 'master' into ios-special-osk-font 2017-12-18 09:52:37 +07:00
Gabriel Wong
ddb29b2096
Merge pull request #494 from keymanapp/ios-custom-flag
Correctly mark custom keyboards
2017-12-18 09:49:54 +07:00
Gabriel Wong
6075f161a0
Merge pull request #489 from keymanapp/ios-fix-help-tooltip
Fix help popup positioning
2017-12-18 09:13:38 +07:00
Gabriel Wong
eb7401a125
Merge pull request #485 from keymanapp/ios-userdata-migration
Create InstallableKeyboard from v2 dictionaries
2017-12-18 09:10:20 +07:00
Gabriel Wong
c95eac1dc7 Move adding of default keyboard to Manager init 2017-12-18 09:08:50 +07:00
Gabriel Wong
047716f0fb Migrate v2 keyboard dictionaries to structs 2017-12-18 09:08:50 +07:00
Marc Durdin
9384346233 Fixes #296 - icon gets overwritten when it has multiple sizes and loses larger sizes 2017-12-16 01:47:43 +07:00
Darcy Wong
a0556faf82
Merge pull request #497 from keymanapp/android-sample-default-font
Add commented code for default font
2017-12-15 16:05:47 +07:00
Marc Durdin
d23182efa8 Refactor KMXFileLanguages into LanguageCodeUtils to avoid excessive dependencies 2017-12-15 15:41:29 +07:00
Joshua A. Horton
c38e11a289 build.bat is mostly converted now, though for some reason I'm having trouble importing the TS sourcemaps into Closure. 2017-12-15 15:38:43 +07:00
darcywong00
fa772a057d Add commented code for default font
help.keyman.com [in-app guide](http://help.keyman.com.local/developer/engine/android/guides/in-app/)  refers to setting default keyboard font
2017-12-15 13:42:06 +07:00
Joshua A. Horton
7c1af56708 Tweaked build infrastructure, made build.sh compatible with TypeScript products. 2017-12-15 12:48:18 +07:00
Darcy Wong
ea11d0b863
Merge pull request #490 from keymanapp/android-refactor-kb-download
Refactor keyboard download code
2017-12-15 11:54:20 +07:00
darcywong00
867c8cc3ab Ensure downloaded keyboard is added before attempting to set it 2017-12-15 11:39:26 +07:00
Gabriel Wong
a844127675
Merge pull request #484 from keymanapp/ios-directory-migration
Migrate app data for KMP
2017-12-15 10:52:46 +07:00
Gabriel Wong
8415be4fd3 Merge branch 'master' into ios-directory-migration 2017-12-15 10:33:16 +07:00
Gabriel Wong
8cb4d18cb8
Merge pull request #483 from keymanapp/ios-keyboard-id
Create FullKeyboardID to identify user keyboards
2017-12-15 10:28:41 +07:00
Joshua A. Horton
e309935700 Basic embedded path conversion. 2017-12-15 10:27:17 +07:00
darcywong00
82f78f005c Document why removeKeyboardDownloadEventListeners are removed
Calls to `removeKEyboardDownloadEventListener()` are removed to ensure `onKeyboardDownloadFinished()` gets called
2017-12-15 10:24:40 +07:00
Joshua A. Horton
3a3c91515f Refactors TS compile defs, converts the UI element sources. 2017-12-15 10:19:53 +07:00
Joshua A. Horton
6856adb1c1 Fixes base TS compilation errors. 2017-12-15 09:46:37 +07:00
Joshua A. Horton
d8759e41fe Base conversion for kmwbase.ts. 2017-12-15 09:05:29 +07:00
Joshua A. Horton
c6b1217346 Base conversion for keymanweb.js. 2017-12-15 08:56:37 +07:00
Joshua A. Horton
2f4d3210bc Converts kmwosk.js -> kmwosk.ts; adds HTML element extension class. 2017-12-15 08:36:13 +07:00
Joshua A. Horton
abff656b2d Tweaked string-extension referencing to TS 'reference' style. 2017-12-15 08:23:21 +07:00
darcywong00
9cf5e5114c Enable regex for font and oskFont filepaths. 2017-12-14 15:26:47 +07:00
Marc Durdin
a289bef164 Merge branch 'master' into developer-validate-keyboard-info-language-tags 2017-12-14 15:04:05 +07:00
Gabriel Wong
09a20f8484 Add font name to FontManager logging 2017-12-14 13:58:35 +07:00
Gabriel Wong
c9428a2e89 Rename Resources.kmwFilename to be consistent 2017-12-14 13:58:26 +07:00
Gabriel Wong
60c070524c Properly set OSK font for subkeys 2017-12-14 13:58:26 +07:00
darcywong00
27629a578b Tweaks for keyboard update
Include language name and keyboard name when updating keyboard version. Dismiss the updateProgress dialog when keyboard has finished downloading.

Also fixed a typo in comment
2017-12-14 13:38:15 +07:00
Joshua A. Horton
1d9e17a881 Converts kmwstring.js. 2017-12-14 11:08:34 +07:00
Joshua A. Horton
8177b47163 Converted kmwnative.js. 2017-12-14 10:40:19 +07:00
Gabriel Wong
9a47fb3eac Correctly mark custom keyboards 2017-12-14 10:35:50 +07:00
Joshua A. Horton
c2f9e1bbb0 Converted kmwcallback.js. 2017-12-14 10:35:43 +07:00
Joshua A. Horton
fb0e4a24e9 Another simple file. 2017-12-14 10:17:12 +07:00
Joshua A. Horton
b901714988 Initial TypeScript setup work. No complete build for TS is possible yet. 2017-12-14 10:14:52 +07:00
darcywong00
a81387f043 More more keys from KMManager to KMKeyboardDownloaderActivity 2017-12-14 08:19:03 +07:00
darcywong00
4f5bd09cdb Tweak event handlers and fix processing custom JSON
For now, disable calls to `KMKeyboardDownloaderActivity.removeKEyboardDownloadEventListener()`. The parent activities will always pause when KMKeyboardDownloaderActivity runs, and we want the event handlers to trigger when the keyboards finish downloading.

Also fixed processing custom JSON to handle the JSONArray `languages`.
2017-12-13 12:47:36 +07:00