Ryan Dahl
ae26a9c7a2
Support top-level-await in TypeScript ( #3024 )
2019-09-30 12:38:23 -04:00
Ryan Dahl
5f7ab4884c
Use 0.0.0.0 for servers in benchmarks and tests ( #3010 )
2019-09-30 12:35:48 -04:00
Bartek Iwańczuk
3a982a014b
bump deno_std deps ( #3034 )
2019-09-28 15:14:49 -04:00
Kevin (Kun) "Kassimo" Qian
6efca6d1a1
Add Deno.hostname() ( #3032 )
2019-09-27 19:09:42 -04:00
Ryan Dahl
3892cf5901
v0.19.0
2019-09-25 10:58:35 -04:00
Kitson Kelly
3d2d0ee771
Handle uncaught worker errors without panicking ( #3019 )
2019-09-25 10:46:58 -04:00
Bartek Iwańczuk
112ce0df1f
test: add HTTP_PROXY tests ( #2977 )
2019-09-24 18:52:01 -04:00
Ryan Dahl
a497f87b59
Upgrade V8 for top-level-await ( #3015 )
2019-09-24 18:37:04 -04:00
Bartek Iwańczuk
2201414a7a
fix: run missing integration tests ( #2997 )
2019-09-24 10:46:57 -04:00
Jonathon Orsi
045e74bb39
feat: Add Deno.dialTLS()
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-23 15:12:42 -04:00
Ryan Dahl
97bb2bdb79
dial/listen API change ( #3000 )
...
Previously: dial("tcp", "deno.land:80")
Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" })
Similarly with listen().
2019-09-20 18:32:18 -04:00
Bert Belder
93b7acf99d
js: reschedule global timer if it fires earlier than expected ( #2989 )
...
When the global timer fires earlier than expected, which apparently
happens sometimes on server editions of Windows, we didn't call any
setTimeout callbacks, but we *also* didn't reschedule the global timer
to fire again later.
When this situation occurred it would make deno exit abruptly if there
were no other asynchronous ops running on the event loop. It could also
lead to application hangs if the upcoming setTimeout callback was
critical for the application to make progress.
2019-09-20 19:00:12 +02:00
Yoshiya Hinosawa
560edc536c
Fix handling of config file ( #2996 )
2019-09-20 10:19:51 -04:00
Ryan Dahl
56ac638d93
Remove test.py, use cargo test as test frontend ( #2967 )
...
Fixes #2933
2019-09-19 14:48:05 -04:00
迷渡
1b1ae65a4a
Make window
compatible with ts 3.6 ( #2984 )
2019-09-19 11:40:52 -04:00
Kitson Kelly
693a45c3fd
Utilise internal names for snapshot bundles ( #2973 )
2019-09-18 19:56:13 -04:00
Kitson Kelly
60a2b5a8d0
Update to TypeScript 3.6.3 ( #2969 )
2019-09-17 12:24:44 -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
Tomohito Nakayama
a93b29007f
Rename ansi.rs to colors.rs ( #2956 )
2019-09-15 14:48:25 -04:00
Bartek Iwańczuk
686b86edb1
feat: parallelize downloads from TS compiler ( #2949 )
2019-09-14 12:05:00 -04:00
Ryan Dahl
7e3296dad9
v0.18.0
2019-09-13 16:40:08 -04:00
Ryan Dahl
f5afadc000
Remove old comment about gn build ( #2944 )
2019-09-13 21:45:46 +02:00
Bert Belder
ac68f628d2
Upgrade rust crates
2019-09-13 00:38:02 +02:00
Bert Belder
111b19b0a3
Remove 'integer-atomics' crate
2019-09-13 00:38:02 +02:00
Ryan Dahl
93d6faacf5
Keep all deno_std URLs in sync ( #2930 )
2019-09-12 12:56:53 -04:00
Bartek Iwańczuk
a8f44213ec
bump prettier revision ( #2928 )
2019-09-12 06:32:24 -04:00
Bartek Iwańczuk
61231912e2
fix: panicking when can't create runtime for block_on ( #2905 )
2019-09-11 20:10:14 -04:00
Bartek Iwańczuk
945dc7b84b
fix: panic during fetch ( #2925 )
2019-09-11 17:34:22 -04:00
Bartek Iwańczuk
85c51404ae
feat: Set user agent for http client ( #2916 )
2019-09-11 07:31:00 -04:00
Nayeem Rahman
749ada608e
Don't test resolve_from_cwd_absolute() on Windows ( #2911 )
2019-09-10 20:16:30 -07:00
Bartek Iwańczuk
acee1944b9
feat: Make integration tests rust unit tests ( #2884 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-10 11:09:54 -04:00
Bartek Iwańczuk
2a83327a21
fix: replace bad rid panics with errors ( #2870 )
2019-09-10 00:59:40 -04:00
Ryan Dahl
35e3c06aed
Revert "feat: use trust-dns-resolver in HTTP client"
...
It caused the final executable to grow by 1.5 mb, and is not having any
other benefit.
This reverts commit 2b40fa065c
.
2019-09-09 20:35:48 -04:00
Nayeem Rahman
718c8c4360
Fix path normalization in resolve_from_cwd() ( #2875 )
2019-09-07 14:13:09 -04:00
Bartek Iwańczuk
2b40fa065c
feat: use trust-dns-resolver in HTTP client ( #2847 )
2019-09-07 13:16:36 -04:00
Nayeem Rahman
8e3c879d13
Add default-run (+ clean up old references) ( #2876 )
2019-09-06 22:31:56 -04:00
Ryan Dahl
acaff6d056
Remove tools/build.py ( #2865 )
...
Testing regression: ASAN build removed.
2019-09-06 20:32:58 -04:00
Yoshiya Hinosawa
595b4daa77
Remove replacements hack in deno_typescript ( #2864 )
2019-09-06 12:57:15 -04:00
Ryan Dahl
9d62d77cfa
Run tests after "cargo build" on travis ( #2854 )
2019-09-04 17:16:46 -04:00
Ryan Dahl
82588ec09c
v0.17.0
2019-09-04 17:15:32 -04:00
Yoshiya Hinosawa
249db0f7d9
Handle typescript version in rust ( #2855 )
2019-09-03 22:12:21 -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
0ce15f08c7
Remove DenoSubcommand::Install ( #2846 )
2019-09-01 14:20:23 -04:00
Bartek Iwańczuk
723284fd20
Use 'reqwest' to implement HTTP client ( #2822 )
...
Closes #2720
2019-08-30 14:49:03 -07:00
Bert Belder
840c4aa2b2
third_party: add 'reqwest' crate and dependencies
2019-08-30 14:47:48 -07: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
Bert Belder
e939ec0f21
third_party: upgrade 'rustls' and related crates
2019-08-29 10:45:09 -07:00
Bert Belder
177727d730
third_party: downgrade 'url' crate to version 1.7.2
2019-08-29 10:45:09 -07:00