Commit graph

11173 commits

Author SHA1 Message Date
Ryan Dahl ef00cf3e38 Use babel-polyfill to fix error 2018-05-27 01:33:37 -04:00
Ryan Dahl 65a2c4b421 Add onerror handler for uncaught exceptions 2018-05-27 00:16:09 -04:00
Ryan Dahl fe6e4febdb Add TestErrors 2018-05-26 21:55:42 -04:00
Ryan Dahl 8d2d66256e Remove out-of-date comment 2018-05-26 15:24:25 -04:00
Ryan Dahl 7609df9d4f Support async/await by including ES2017
This required adjusting the module loading system.
2018-05-26 15:21:17 -04:00
Ryan Dahl cbfb7d8720 Simplify naming of CodeFetch, CodeCache 2018-05-25 17:21:12 -04:00
Ryan Dahl a1c0862047 Add basic stats 2018-05-25 17:14:56 -04:00
Ryan Dahl 59534fb9e3 Add tests for urls 2018-05-25 17:01:18 -04:00
Ryan Dahl 0fe6ab91df Finish de-oneof-ing 2018-05-25 16:16:28 -04:00
Ryan Dahl 5b858632ac Use proto3 again. 2018-05-25 15:30:09 -04:00
Ryan Dahl d765300de5 Move away from oneof in msg.proto
This is due to the size added to msg.pb.js for every new message. See
comment in msg.proto.
2018-05-25 15:24:29 -04:00
Ryan Dahl 8eeededd90 Try to fix travis 2018-05-25 13:27:03 -04:00
Ryan Dahl 08e005d45f Improve debug logging in golang 2018-05-25 12:25:55 -04:00
Ryan Dahl 5353e9e90f Rename --root flag to --cachedir 2018-05-25 12:16:02 -04:00
Ryan Dahl 016684a586 Try to fix travis 2018-05-24 14:00:54 -04:00
Ryan Dahl 8b4809d680 Fix travis file 2018-05-24 12:03:44 -04:00
Ryan Dahl 3bc2342303 Add -root flag so tests can write artifacts to tmp 2018-05-24 10:34:05 -04:00
Ryan Dahl 19ba0321b0 Rename CompileDir to CacheDir 2018-05-24 10:25:38 -04:00
Ryan Dahl b98f9f1efe Replace Node test runner with golang one. 2018-05-24 10:25:25 -04:00
Ryan Dahl 8d1497a408 Move pubMsg to dispatch 2018-05-23 17:23:50 -04:00
Parsa Ghadimi cb222ceb22 Adds setInterval, clearInterval, clearTimeout. 2018-05-23 17:07:20 -04:00
Ryan Dahl 3171ba4c3f Add special deno module to public api 2018-05-23 16:45:01 -04:00
Ryan Dahl b2ca48a621 Use protobuf 3.1 in travis. 2018-05-23 14:29:14 -04:00
Ryan Dahl e4a0acb429 Adjust travis's ccache 2018-05-23 13:46:12 -04:00
Ryan Dahl 105438c94f Add prettier to deps 2018-05-23 13:37:04 -04:00
Ryan Dahl 644e7fa065 Add debug logging to golang side 2018-05-23 13:23:29 -04:00
Ryan Dahl be4883722f Rename sendMsgFromObject to sendMsg 2018-05-23 11:31:53 -04:00
Ryan Dahl 602ee0d5a1 Better exception output 2018-05-23 11:27:56 -04:00
Ryan Dahl 08b327bf3a Move ResolveModule to os.go 2018-05-23 11:09:38 -04:00
Ryan Dahl 10c198fffd Try to fix travis 2018-05-22 15:25:16 -04:00
Ryan Dahl d0a8bacab6 Use proto2 instead of proto3
Travis doesn't support proto3.
2018-05-22 14:10:15 -04:00
Ryan Dahl 9ea397861f Fix LoadOutputCodeCache 2018-05-22 13:12:05 -04:00
Parsa Ghadimi cd9c361ee1 Improve travis build 2018-05-22 11:54:08 -04:00
Ryan Dahl 6a1d7d2fe6 Add go profiling CLI flag 2018-05-22 11:42:56 -04:00
Ryan Dahl 51692a5825 Organize modules: timers, os 2018-05-21 23:00:36 -04:00
Ryan Dahl 08307fb841 Add dispatch pub/sub 2018-05-21 22:07:40 -04:00
Ryan Dahl 9a66216599 Add globals.ts 2018-05-21 18:53:53 -04:00
Ryan Dahl 8e2e17cdbe Support source maps for internal code. 2018-05-21 17:33:33 -04:00
Ryan Dahl af6076f3c6 Source maps work for testdata/007_stack_trace.ts. 2018-05-21 16:09:24 -04:00
Ryan Dahl 2c65292119 Source map support. Partially working. 2018-05-19 07:06:23 -04:00
Ryan Dahl ca8eb1d421 privatize some methods 2018-05-19 05:56:02 -04:00
Ryan Dahl 258aa56532 Split up go code into multiple files 2018-05-19 05:53:29 -04:00
Ryan Dahl 83f436e175 Command line flags 2018-05-19 05:39:27 -04:00
Ryan Dahl aeb85efdad Remote module caching 2018-05-19 04:47:40 -04:00
Ryan Dahl 487bf4e1ac Fix travis. 2018-05-18 21:55:51 -04:00
Ryan Dahl 8886e1b55f Initial support for remote imports 2018-05-18 21:25:37 -04:00
Ryan Dahl 39da69f051 Fix travis.yml 2018-05-18 12:32:37 -04:00
Ryan Dahl d1f71db455 Add README 2018-05-18 12:25:59 -04:00
Ryan Dahl ee9cfb5a60 Add testdata/005_more_imports.ts 2018-05-18 12:20:59 -04:00
Ryan Dahl 8f0e242f4b Display diagnostics on TS error. 2018-05-18 12:20:59 -04:00