1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
Commit graph

553 commits

Author SHA1 Message Date
Kitson Kelly
60a2b5a8d0 Update to TypeScript 3.6.3 (#2969) 2019-09-17 12:24:44 -04:00
Nayeem Rahman
e55e4a2838 Remove some non-standard web API constructors (#2970)
This removes the EventListener, EventInit and CustomEventInit constructors from the userland globals. The type exports stay.

I removed the internal classes as well. EventListener's implementation seemed to be doing some bookkeeping on handled events but that's not being used anywhere so I assume it's old debug stuff. The other two are completely redundant.
2019-09-17 12:17:12 -04:00
Ryan Dahl
9cfdc60a23
Move integration tests to //cli/tests/ (#2964)
This ensures the deno executable is properly created before running the integration tests.

Also allows deno_cli to be used as a lib. Docs are now properly generated: https://docs.rs/deno_cli/0.18.4/deno_cli/

Towards #2933
Prep for #2955
2019-09-16 21:05:14 -04:00
Ryan Dahl
c9ef182886
Make deno_cli installable via crates.io (#2946)
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and
  deno_cli.
- Combines cli_snapshots and js into one directory.
- Extracts TS version at compile time rather than runtime
- Bumps version awkwardly - it was necessary to test end-to-end
  publishing. Sorry.
- Adds git submodule deno_typescript/typescript
2019-09-15 18:36:27 -04:00
Christian Moritz
9c282d6a0e
Move GN root into //core/libdeno (#2943) 2019-09-15 22:12:12 +02:00
Kitson Kelly
8ab48e7ef7 Fix debug logging in runtime/compiler (#2953) 2019-09-15 11:04:05 -04:00
Kitson Kelly
c30decab77 Fix type directive parsing (#2954) 2019-09-15 08:58:06 -04:00
Bartek Iwańczuk
686b86edb1 feat: parallelize downloads from TS compiler (#2949) 2019-09-14 12:05:00 -04:00
Kitson Kelly
d231df17b0 deno_typescript cleanup/improvements (#2901) 2019-09-12 17:30:04 -04:00
Bartek Iwańczuk
945dc7b84b fix: panic during fetch (#2925) 2019-09-11 17:34:22 -04:00
Nayeem Rahman
ad11f2ad6a Default base URL path to '/' (#2921) 2019-09-11 16:20:54 -04:00
Nayeem Rahman
a1976236d9 Default 'this' to window in EventTarget (#2918) 2019-09-11 12:53:01 -04:00
Bartek Iwańczuk
85c51404ae feat: Set user agent for http client (#2916) 2019-09-11 07:31:00 -04:00
Bartek Iwańczuk
a4e1d7d2e7 fix: type directives import (#2910) 2019-09-11 06:47:34 -04:00
Nayeem Rahman
0b757f3737 Expose the DOM Body interface globally (#2903) 2019-09-10 10:57:17 -04:00
Yoshiya Hinosawa
46cbc6e0e9 refactor: remove Deno.platform (#2895) 2019-09-09 23:39:42 -04:00
Yoshiya Hinosawa
f12acdb50b Update @typescript-eslint/* to v2.1.0 (#2878) 2019-09-07 12:27:18 -04:00
Yoshiya Hinosawa
a205e8a3c2 fetch: implement bodyUsed (#2877) 2019-09-07 12:20:30 -04:00
Yoshiya Hinosawa
595b4daa77 Remove replacements hack in deno_typescript (#2864) 2019-09-06 12:57:15 -04:00
Nayeem Rahman
ca00039285 Fix basing in URL constructor (#2867) 2019-09-05 20:01:27 -04:00
Kevin (Kun) "Kassimo" Qian
49ea932af8 Fix xeval chunk incorrect matching behavior (#2857) 2019-09-04 18:31:14 -04:00
Yoshiya Hinosawa
249db0f7d9 Handle typescript version in rust (#2855) 2019-09-03 22:12:21 -04:00
迷渡
e9908453df do not export isConsoleInstance (#2850) 2019-09-03 03:10:51 -04:00
Ryan Dahl
d43b43ca78
Refactor snapshot build (#2825)
Instead of using core/snapshot_creator.rs, instead two crates are
introduced which allow building the snapshot during build.rs.

Rollup is removed and replaced with our own bundler. This removes
the Node build dependency. Modules in //js now use Deno-style imports
with file extensions, rather than Node style extensionless imports.

This improves incremental build time when changes are made to //js files
by about 40 seconds.
2019-09-02 17:07:11 -04:00
Yoshiya Hinosawa
56508f113d ops/fetch: add statusText (#2851) 2019-09-02 12:30:14 -04:00
Nayeem Rahman
df2f54b2a6 Fix REPL '_' assignment, support '_error' (#2845) 2019-08-31 15:17:56 -04:00
Kevin (Kun) "Kassimo" Qian
fdd4252d49 Add window.queueMicrotask (#2844) 2019-08-31 15:16:30 -04:00
Kevin (Kun) "Kassimo" Qian
07c3c76d0d Save last execution result in for REPL (#2843) 2019-08-31 02:45:35 -04:00
Bartek Iwańczuk
723284fd20
Use 'reqwest' to implement HTTP client (#2822)
Closes #2720
2019-08-30 14:49:03 -07:00
迷渡
65fa2b810b clearTimeout's params should not be bigint (#2838) 2019-08-30 11:51:53 -04:00
Ryan Dahl
c370f749b2
Remove ts_library_builder, maintain lib.deno_runtime.d.ts by hand (#2827) 2019-08-30 11:11:33 -04:00
迷渡
590463bd4a setTimeout's params should not be bigint (#2834) 2019-08-29 10:57:09 -04:00
Bartek Iwańczuk
b5a5e97384 add console.dirxml (#2835) 2019-08-29 10:56:26 -04:00
Ryan Dahl
8f919465b0 Remove @stardazed/streams
This is a regression on several some features in the fetch API. To bring
these back @stardazed/streams simply needs to be ported to TS and
included in the //js directory.

Towards #2608
2019-08-28 18:25:15 -04:00
Ryan Dahl
2b79552dd1 Internalize base64-js, convert to TypeScript 2019-08-28 18:25:15 -04:00
Bartek Iwańczuk
20739a8111 feat: implement Addr interface (#2821) 2019-08-27 11:35:32 -04:00
Nayeem Rahman
b6a4ec7d16 Improve error stacks for async ops (#2820) 2019-08-27 11:33:39 -04:00
Ryan Dahl
725eb98105
Clean up various flatbuffer references (#2819) 2019-08-26 22:29:51 -04:00
Ryan Dahl
f94900406d
Remove flatbuffers (#2818) 2019-08-26 17:02:34 -04:00
Ryan Dahl
d8ada4d3fc Port readSync/writeSync ops to minimal
This removes dispatch_flatbuffers as it is now unused. There are still a
few places where msg_generated is used: ErrorKind and MediaType. These
will be dealt with later.
2019-08-26 14:56:42 -04:00
Bartek Iwańczuk
a6f6209f52 port fs ops to JSON (#2812) 2019-08-26 10:18:42 -04:00
Bartek Iwańczuk
520f9631e0 bring back json ops (#2815) 2019-08-26 08:50:21 -04:00
Ryan Dahl
2235dd795d
Revert json ops (#2814)
* Revert "port more ops to JSON (#2809)"

This reverts commit 137f33733d.

* Revert "port ops to JSON: compiler, errors, fetch, files (#2804)"

This reverts commit 79f82cf10e.

* Revert "Port rest of os ops to JSON (#2802)"

This reverts commit 5b2baa5c99.
2019-08-24 13:20:48 -07:00
Bartek Iwańczuk
137f33733d port more ops to JSON (#2809) 2019-08-24 08:31:14 -07:00
Bartek Iwańczuk
79f82cf10e port ops to JSON: compiler, errors, fetch, files (#2804) 2019-08-24 06:02:42 -07:00
Ryan Dahl
5b2baa5c99
Port rest of os ops to JSON (#2802) 2019-08-24 05:13:50 -07:00
Ryan Dahl
bc467b265f
introduce JSON serialization for ops (#2799)
Converts env(), exit(), execPath(), utime() and utimeSync() to use JSON
instead of flatbuffers.
2019-08-22 22:30:14 -07:00
Kitson Kelly
6c7d337960 Support .d.ts files (#2746)
Fixes #1432
2019-08-22 12:05:01 -04:00
Ryan Dahl
bdc97b3976
Organize dispatch a bit (#2796)
Just some clean up reorganization around flatbuffer/minimal dispatch
code. This is prep for adding a JSON dispatcher.
2019-08-21 20:42:48 -04:00
Kitson Kelly
f0a235563e Support custom inspection of objects (#2791) 2019-08-19 11:35:43 -04:00