Commit graph

5162 commits

Author SHA1 Message Date
Eddie Antonio Santos
b0c2ad0f8b
Build worker, then build main. 2018-11-16 11:48:03 -07:00
Eddie Antonio Santos
1cf1e444d6
Only export class as worker's export. 2018-11-16 10:56:13 -07:00
Eddie Antonio Santos
ede432e225
Revert tsconfig.json; addresses @jahorton's comment. 2018-11-16 10:55:49 -07:00
Eddie Antonio Santos
e52221de2b
Export for both browser; resolve typing issue. 2018-11-16 10:53:49 -07:00
Eddie Antonio Santos
6583ce26dc
Use an object instead of a new class instance. 2018-11-16 10:25:28 -07:00
Eddie Antonio Santos
9cf495b58a
Merge Node + browser compatible way to export a module. 2018-11-16 10:21:59 -07:00
Marc Durdin
27f09bbb50 [Common] Refactor and cleanup 2018-11-16 19:05:17 +11:00
Marc Durdin
4c1fc5edee [Common] Cleanup kmx integration code 2018-11-16 18:47:01 +11:00
Marc Durdin
566796eaef [Common] all but one test now passes. Refactoring to come, then cleanup 2018-11-16 13:39:35 +11:00
Joshua A. Horton
e1e22e7bcf Node + browser-friendly index.ts. 2018-11-16 09:38:53 +07:00
Marc Durdin
646c322b4c [Common] First kmx test case (currently fails, as it should) and KMX integration started 2018-11-16 11:12:56 +11:00
Eddie Antonio Santos
2c92245ff1
Refactor sandboxed Web Worker test. 2018-11-15 15:20:14 -07:00
Eddie Antonio Santos
5200b665a1
Hacky way to test LMLayerWorker as if it's inside a Worker. 2018-11-15 15:12:14 -07:00
Eddie Antonio Santos
538393930d
Comment existing methods. 2018-11-15 14:48:24 -07:00
Eddie Antonio Santos
a33be397d0
Implement postMessage() mocking. 2018-11-15 14:40:19 -07:00
Eddie Antonio Santos
9b6c8666bb
Test LMLayerWorker can mock postMessage. 2018-11-15 14:30:23 -07:00
Eddie Antonio Santos
35af8a3f27
Scaffolding for the LMLayerWorker. 2018-11-15 14:20:00 -07:00
Eddie Antonio Santos
fdaf5bc5b0
Test whether the LMLayerWorker can be instantiated. 2018-11-15 14:15:58 -07:00
Eddie Antonio Santos
043bef5df1
Use chai's assert instead of Node's. 2018-11-15 14:11:40 -07:00
Eddie Antonio Santos
f87bbb4b07
Make TDD script executable. 2018-11-15 13:22:42 -07:00
Eddie Antonio Santos
6148e4811d
Get headless TDD working for ./worker. 2018-11-15 13:18:41 -07:00
Eddie Antonio Santos
ab4fe96f43
Setup headless TDD environment 2018-11-15 13:04:48 -07:00
Eddie Antonio Santos
e8a65581c8
Remove prototype's "inside Worker" code. 2018-11-15 12:20:58 -07:00
Eddie Antonio Santos
80ca77dd9c
Clarify section on predict message sequencing. Addresses @jahorton comment. 2018-11-15 09:08:42 -07:00
Eddie Antonio Santos
24255fa38a
Change documentation to use a spec rather than an implementation. Addresses @jahorton comment. 2018-11-15 09:03:41 -07:00
Eddie Antonio Santos
5a8342bccc
Removing old Travis-CI link in README (addressing @jahorton comment). 2018-11-15 09:01:36 -07:00
Joshua A. Horton
402a9d9f1d Fixes up the LMLayer testing index.html page. 2018-11-15 10:54:49 +07:00
Joshua A. Horton
538b30a635 Addresses Darcy's PR concerns. 2018-11-15 10:50:09 +07:00
Joshua A. Horton
c0f2e5f71e Prototype two-stage WebWorker embedding example ready. 2018-11-15 10:30:18 +07:00
Joshua A. Horton
ba11ccbd23 Prototype of a directly-embedded WebWorker. 2018-11-15 09:37:19 +07:00
Joshua A. Horton
421f3e02ee Clarified a test script comment. 2018-11-15 07:59:29 +07:00
Joshua A. Horton
83d8a244cc PR review polishing 2018-11-14 08:15:36 +07:00
Marc Durdin
ac4448f350 [Common] Refactor KPAPI to support multiple processors (kmx, mock, ldml?) 2018-11-14 11:58:44 +11:00
Marc Durdin
1c46973429 Merge branch 'master' into windows-refactor-kmprocess-for-kpapi 2018-11-14 11:02:23 +11:00
Marc Durdin
01694b178c [Common] Move kmxtest files out of KPAPI root 2018-11-14 11:02:13 +11:00
Marc Durdin
db83f50549 [Common] Cleanup 2018-11-14 10:47:43 +11:00
Marc Durdin
e9b468a77a [Common] Tab to space and some renames 2018-11-14 10:34:34 +11:00
Marc Durdin
89bf29d41f [Common] Rename common types to KMX_... 2018-11-14 10:14:28 +11:00
Marc Durdin
5ac9e1c9c5 [common] portable test.sh 2018-11-14 09:51:36 +11:00
Marc Durdin
0e1dd29cfc [Common] more portable int types 2018-11-14 09:49:34 +11:00
Marc Durdin
75e387e058 [Common] Fixup 64-bit file load 2018-11-14 09:36:48 +11:00
Marc Durdin
ff983923fd [Common] (somewhat) portable 64-bit tests 2018-11-14 09:34:57 +11:00
Marc Durdin
d54f79e987 [Common] strtowstr 2018-11-14 06:35:04 +11:00
Marc Durdin
134674003f [Common] debug functions 2018-11-14 06:31:54 +11:00
Marc Durdin
815d7443e1 [Common] debug functions thread safety removal for cross-platform 2018-11-14 06:29:59 +11:00
Marc Durdin
2f23a5909e [Common] Lowercase ext 2018-11-14 06:28:26 +11:00
Marc Durdin
79ce1b0b03 [Common] Don't use __max 2018-11-14 06:26:43 +11:00
Marc Durdin
1b593cc740 [Common] _strcmpi posix alternatives 2018-11-14 06:18:15 +11:00
Marc Durdin
d4f158cfde [Common] Use share.h only with MSVC for now 2018-11-14 06:12:28 +11:00
Marc Durdin
a2d45ce35c [Common] g++ support for write_console, remove some Windows-specific headers 2018-11-14 06:11:12 +11:00