Joshua A. Horton
bddbf36652
Forgot the Developer Makefile changes!
2018-01-30 10:56:42 +07:00
darcywong00
fffe187b23
Use same regex for single-quoting keyboardName and languageName
2018-01-30 10:48:05 +07:00
Joshua A. Horton
ce05c8aa68
Polishes up the build script, adds a basic -clean option.
2018-01-30 10:46:44 +07:00
Joshua A. Horton
f39cdc9cca
Creates a /release/unminified build output folder.
2018-01-30 10:31:47 +07:00
Tom Bogle
5f83ddeed6
[WIP] Added changes to use OCMocks to make unit test meaningful
...
This commit breaks compilation because it does not include the code to pull and build the OCMocks framework.
2018-01-29 22:24:43 -05:00
Tom Bogle
0cf3cee56b
Removed call to [sender length] and debug call to [sender markedRange]
...
Turns out that length is not really a supported method/property on IMKTextInput, and it returns unreliable information. (It appears that perhaps this was actually causing Word to work incorrectly.) The diagnostic call to markedRange was pointless since Keyman keyboards to not compose text in this way.
2018-01-29 22:21:04 -05:00
darcywong00
c306560a18
Add helper functions to get common keyboard paths
2018-01-30 10:17:15 +07:00
darcywong00
a30375c060
Use FileUtils.copy()
...
Change `copyFile()` to `FileUtils.copy()`
2018-01-30 10:15:31 +07:00
Tom Bogle
6d111ae966
Upgraded settings and cleaned up warning in h file
2018-01-29 14:29:32 -05:00
Tom Bogle
8b0687d177
Added guards around all headers to prevent duplicate imports
2018-01-29 14:01:33 -05:00
Tom Bogle
c2d7d3a8d0
Removed duplicate import that was causing linker failure.
2018-01-29 10:44:27 -05:00
darcywong00
3c74321906
Create test kmp files of different versions
...
- Modify kmp.json to have package versions 1.4 and 1.5.
- also made exception string more descriptive when JSON object doesn't contain a valid "options" object
2018-01-29 22:25:39 +07:00
Tom Bogle
6b136ce9b0
Went back to separate variable for test action
...
Because there are no tests for Keyman4Mac, inlcuding the test target caused it to fail.
2018-01-29 10:21:16 -05:00
Marc Durdin
af5dd10a8d
Fix out-by-one error after adding kmp.json so missing files in kps still passed build, and minor UI issues with missing keyboards in kps
2018-01-29 20:12:45 +07:00
Marc Durdin
4e4b911836
Fixes #543 -- BCP 47 tags now validate in the Add BCP 47 Language dialog
2018-01-29 19:17:20 +07:00
Marc Durdin
1f33625f04
Add -source-path to kmcomp for merging .keyboard_info
2018-01-29 18:44:11 +07:00
darcywong00
09e0f4aa98
Merge branch 'android-peer-distribution'
...
Conflicts:
android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/MainActivity.java
2018-01-29 18:18:17 +07:00
darcywong00
61bf0410a8
Deprecate non-direct links for ad-hoc keyboards
2018-01-29 16:25:10 +07:00
Joshua A. Horton
386cc3cf49
Creates separate browser testing configs for win, mac, and linux.
2018-01-29 16:00:24 +07:00
Joshua A. Horton
adb38ff13b
Implements testing over a more robust set of browsers.
2018-02-06 12:37:42 +07:00
Joshua A. Horton
b154dbc566
A basic, initial set of tests with the infrastructure necessary to link nicely with our TeamCity CI.
2018-02-05 15:15:10 +07:00
Joshua A. Horton
c298281456
Initial BrowserStack support! Problem - browser-specific testing...
2018-02-05 14:33:07 +07:00
Joshua A. Horton
6a32d91941
Further infrastructure setup; the new pattern allows deliberate reloading of KMW.
2018-02-05 12:52:05 +07:00
Joshua A. Horton
f4c3014aee
Initial KMW tests are now functional! Turns out there were a few bugs to fix getting basic tests up and running.
2018-02-02 16:18:31 +07:00
Joshua A. Horton
16f365a5c2
Merge branch 'master' into web-350-mocha-testing
2018-02-02 15:02:07 +07:00
Joshua A. Horton
2c24e7d187
Established a more long-term file structure for the tests.
2018-02-02 15:00:11 +07:00
Joshua A. Horton
bbd04e8963
Got a basic HTML 'fixture' working with the Karma system. We'll need to manually create an equivalent to the 'html2js' preprocessor for non-Karma testing to match it, though.
2018-01-30 09:08:19 +07:00
Joshua A. Horton
b32b255e5b
Added Edge to the Karma/Mocha testing path.
2018-01-29 13:08:19 +07:00
Joshua A. Horton
b42e8d8e49
Merge branch 'master' into ios-debug-kmw
2018-01-29 12:58:37 +07:00
Joshua A. Horton
1cfcca6735
Initial web testing infrastructure. No real tests yet.
2018-01-29 12:46:16 +07:00
Tom Bogle
760bdb349f
Made Keyman4Mac schem shared to avoid error on TeamCity
2018-01-28 21:58:01 -05:00
darcywong00
9bc7b43493
Handle kmp files passed from Android DownloadManager
...
Intents from the DownloadManager use paths like `/document/number/` so additional code needed to determine the kmp filename.
protocols also separated in switch statement for maintainability.
2018-01-28 23:04:14 +07:00
darcywong00
e4c88ed09b
Try to refine intent filters for file:// and content://
2018-01-28 23:01:40 +07:00
darcywong00
a7fa26e472
Add Toast notification when File access to KMP denied
2018-01-28 23:01:12 +07:00
darcywong00
0afd5796ba
Improve UI and check kmp for touch keyboards
...
- Changed PackageProcessor to skip processing keyboard ID's if JS not found
- Fix a PackageProcessorTest to use the correct package ID
- Added a dialog for when Packge install fails
-
2018-01-27 20:20:00 +07:00
Tom Bogle
eb7cab176f
Added plumbing for unit testing IM.
...
This also slightly simplifies the logic in build.sh and even opens the possiblity of unit tests for the test app if that were ever to be desirable.
2018-01-26 12:31:38 -05:00
Marc Durdin
317a05868d
Merge pull request #548 from keymanapp/developer-add-fields-for-kmw-cloud-api-to-keyboard-info
...
Add fileSize, rtl data to keyboard-info and remove support for raw kmx in repo for merging keyboard-info
2018-01-26 17:08:08 +07:00
darcywong00
0621354a44
Add clearer toast notification when reverting default keyboard
2018-01-26 16:30:23 +07:00
darcywong00
0e220c6797
Begin addressing review issues
...
- clean up stray code from earlier development
- give some clear notifications to user when package install fails
2018-01-26 16:07:53 +07:00
Joshua A. Horton
7448a41282
Huh. It seems that the old _kmw_block codepath is no more at this stage in the refactor.
2018-01-26 13:38:23 +07:00
Joshua A. Horton
c6358e473d
More legacy cruft removal.
2018-01-26 13:27:51 +07:00
Joshua A. Horton
ffe033db91
A minor patch for the merge - it missed a couple of 'instanceof's.
2018-01-26 12:50:40 +07:00
Joshua A. Horton
2fafb08067
Forgot to save the documentation part.
2018-01-26 12:47:46 +07:00
Joshua A. Horton
a051f876a7
Merge branch 'web-544-iframe-instanceof' into web-typescript-legacy-refactor
2018-01-26 12:46:02 +07:00
Joshua A. Horton
a7f65dc2fb
Tweaks documentation and provides a quick spot-check for Event instanceof checks.
2018-01-26 10:59:22 +07:00
Joshua A. Horton
3dbef51e9a
Fixes #544 .
2018-01-26 10:50:17 +07:00
Marc Durdin
06a814a65b
Add fileSize, rtl data to keyboard-info and remove support for raw kmx in repo for merging keyboard-info
2018-01-26 10:12:39 +07:00
Joshua A. Horton
beadfc30ef
Deals (partly?) with IE's .parentWindow property.
2018-01-26 08:32:41 +07:00
tom_bogle@sil.org
2142e97705
Fixed syntax of line to run to build.
2018-01-25 10:56:49 -05:00
Tom Bogle
635c0b9f5a
Merge pull request #545 from keymanapp/mac-implement-chirality
...
[Mac] implement chirality
2018-01-25 09:51:58 -05:00