Commit graph

24978 commits

Author SHA1 Message Date
Tom Bogle
c3a6b1415f Set debugMode back to NO. 2018-01-18 14:09:50 -05:00
darcywong00
2af337de62 Break out package processing to separate activity
This is a placeholder for kmp
2018-01-18 17:03:42 +07:00
Joshua A. Horton
8c223a10ed Basic KMP integration success - it still has some glitches, though. 2018-01-18 17:00:59 +07:00
Marc Durdin
2a05611954 Remove versioning from compiled js keyboards, remove legacy id_load.js and id-version.json files from build 2018-01-18 15:00:29 +07:00
darcywong00
ed9c6e09a6 Load keyboards that don't contain version string in the filename
Keyboard paths that get passed to KMW will depend on the `packageID`

1. Keyboards distributed ad-hoc via kmp (stored in `/packages/packageID/` won't have version strings in their filename.
2. Legacy keyboards in the `/cloud/` directory will still contain version strings
2018-01-18 13:23:58 +07:00
Joshua A. Horton
fb121e1016 Adds direct installation tests, fixes a bug, adds the ability to force a downgrade, and allows lookup of contained keyboard versions. 2018-01-18 11:20:39 +07:00
darcywong00
534597051f Move keyboard assets for Samples and Test projects 2018-01-17 16:36:30 +07:00
darcywong00
3a0134a758 Handle undefined packageID as "cloud"
Per design discussions, use "cloud" as the package ID when it's undefined. Those keyboards get stored physically at `/cloud/`.

Later on, keyboards installed via kmp will be installed at `/packages/packageID/`

Also update version checker depending on package ID:
1. cloud:  use the version string within the filename
2. all others: parse kmp.json for the keyboard version
2018-01-17 16:08:46 +07:00
Marc Durdin
336b4bb39a
Merge pull request #527 from keymanapp/developer-ignore-layout-files-in-kmp-check
Match a .js keyboard filename more reliably in package keyboard enumeration to avoid -layout.js files
2018-01-17 15:30:09 +07:00
Marc Durdin
f683df24a2 Match a .js keyboard filename more reliably in package keyboard enumeration to avoid -layout.js files 2018-01-17 13:15:23 +07:00
darcywong00
4787245808 Round 1 of adding feature for ad-hoc keyboard distribution via kmp 2018-01-17 10:58:25 +07:00
Marc Durdin
c57975880a
Merge pull request #513 from keymanapp/windows-x64-comapi
x64 support in Keyman API for Windows
2018-01-16 13:54:36 +07:00
Marc Durdin
7d905acbb2
Merge pull request #521 from keymanapp/developer-package-follow-keyboard-version
Add support for follow-keyboard-version to package compiler and package editor
2018-01-14 06:15:30 +11:00
Marc Durdin
c64b0663c7 Tweak error message 2018-01-13 06:53:44 +11:00
Tom Bogle
e42626d229 Permanently removed Chrome-specific behavior. 2018-01-12 14:34:20 -05:00
Tom Bogle
0d7a519220 Commented out Chrome-specific code (possibly temporary) 2018-01-12 11:52:44 -05:00
Tom Bogle
78be3af7d3 Fixed Chrome bug: MS Word sometimes treated like Google Docs 2018-01-12 09:30:09 -05:00
Joshua A. Horton
111321ff72 Bits of tidying up. 2018-01-12 14:46:07 +07:00
Joshua A. Horton
5b4c1b2666 Shifted some APIs, partially refactored 'init()' and the MutationObservers. 2018-01-12 14:31:38 +07:00
Joshua A. Horton
6b42827963 Refactored physical keyboard event handling functions to the DOM event objects. 2018-01-12 13:22:09 +07:00
Joshua A. Horton
64f237867a Restructured the DOM event objects, refactored the focus events and frame setup functions. 2018-01-12 11:33:16 +07:00
Marc Durdin
f7642cbd16 Add ini file load 2018-01-12 06:52:08 +11:00
Tom Bogle
595b866038 Fixed Chrome bug from previous refactoring step
Check for special "insert characters individually" logic was backwards.
2018-01-11 13:21:52 -05:00
Tom Bogle
72cef42d25 Broke up long methods
Major refactoring to break long methods up by factoring out into meaningful sub-methods. Also removed small amount of unused code left over from previous refactoring step.
2018-01-11 12:58:52 -05:00
Joshua A. Horton
a4e671d8a6 Relocates some API wrapper definitions from keymanweb.ts to kmwbase.ts. 2018-01-11 12:24:51 +07:00
Joshua A. Horton
0c087941c7 Merge branch 'web-typescript-base-objects' into web-typescript-keyboard-management 2018-01-11 12:01:12 +07:00
Joshua A. Horton
9fe0167083 Merge branch 'web-typescript-keyboard-management' into web-typescript-dom-module 2018-01-11 11:59:30 +07:00
Joshua A. Horton
d846fb4214 Merge branch 'web-typescript-conversion' into web-typescript-keyboard-management 2018-01-11 11:57:16 +07:00
Joshua A. Horton
8ef4e16e01 Reworks the 'this' binding technique for events to use the .bind function. Much simpler. 2018-01-11 11:44:32 +07:00
Joshua A. Horton
fbf863ca16 Refactored the DOM events into their own separate source file. Further refactoring will be needed down the line. 2018-01-11 11:12:19 +07:00
Joshua A. Horton
95068cec55 Moved core attachment functions into the new DOMManager object. 2018-01-11 11:05:06 +07:00
Joshua A. Horton
ecedc6825f Created kmwdom.ts to facilitate refactor testing, refactored control enable/disable functions. 2018-01-11 10:44:02 +07:00
Joshua A. Horton
f45f2b97b2 Fixing up a few loose ends in the documentation. 2018-01-11 09:11:35 +07:00
Joshua A. Horton
4b85d8f1b6 Fixed cloud bugs, reworked the object into its own class. 2018-01-11 09:00:01 +07:00
Joshua A. Horton
065b4cb426 Merged in build script changes from #496. 2018-01-11 08:40:18 +07:00
Joshua A. Horton
c8eec9bb4a Removed OS check from Android script since build.bat is no more. 2018-01-11 08:36:03 +07:00
Joshua A. Horton
4d3c4d98c7 Removes web's build.bat; we will now rely fully on build.sh. 2018-01-11 08:32:29 +07:00
Joshua A. Horton
90bd4c0a42 Minor tweaks, moved addEventListener API func. 2018-01-11 08:31:46 +07:00
Marc Durdin
db231bbd18 Address PR comments 2018-01-11 07:21:34 +11:00
Marc Durdin
5e7eda9699 Add support in Developer and Compiler for making package version track keyboard version 2018-01-11 07:11:26 +11:00
Joshua A. Horton
84f76889da A few tweaks to prior work. 2018-01-10 12:32:39 +07:00
Joshua A. Horton
1f4103f689 Merging recent base branch changes. 2018-01-10 12:01:36 +07:00
Joshua A. Horton
9d01064fa9 Merge branch 'web-typescript-base-objects' into web-typescript-keyboard-management 2018-01-10 10:13:12 +07:00
Joshua A. Horton
acc227dc53 Adjustment to util.addStyleSheet, merge of suggested changes from @mcdurdin 2018-01-10 10:10:50 +07:00
Joshua A. Horton
5f827e382c PR comment revisions, round 1. 2018-01-10 10:06:00 +07:00
Joshua A. Horton
7cd5bb9109 Enhanced build.sh for better CI error reporting. 2018-01-10 09:04:53 +07:00
Tom Bogle
50cd075d03 Split browser-specific code into separate subclasses
Safari and Chrome get their own subclasses, but I need to compare performance.
2018-01-09 15:52:14 -05:00
Marc Durdin
652318f4a9 Don't build DelphiProjectManager for Delphi Starter. It's just a helper tool anyway. 2018-01-10 06:30:35 +11:00
Joshua A. Horton
99fe0cc835 Patched up the firstTouch property. 2018-01-09 11:25:50 +07:00
Joshua A. Horton
81742b9ece Moved remaining touch-alias functionality into new touch handling object. 2018-01-09 11:25:50 +07:00