1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
Commit graph

12900 commits

Author SHA1 Message Date
Kevin (Kun) "Kassimo" Qian
f9b167deb0 Avoid crashes on ES module resolution when module not found (#1546) 2019-01-18 15:15:09 -05:00
Ryan Dahl
315e4abd7e
mkdir should not be recursive by default (#1530)
It should return an error if a file with the given path exists and
recursive isn't specified.

Because mode is not used on windows and rarely used in unix, it is made
to the last parameter.

In collaboration with Stefan Dombrowski <sdo451@gmail.com>
2019-01-17 23:39:06 -05:00
Kevin (Kun) "Kassimo" Qian
d06c95637a Unflake test netConcurrentAccept (#1544) 2019-01-17 18:10:34 -05:00
Ryan Dahl
d787713908 Revert "fix: fix fetch tests (#1535)"
This reverts commit dd08165528.

These tests are still flaky:
https://travis-ci.com/denoland/deno/jobs/171240240
https://travis-ci.com/denoland/deno/jobs/170775382
2019-01-17 17:33:50 -05:00
Yoshiya Hinosawa
f19622e768 Rewrite tools/format.py in deno (#1528)
Note: findFiles and findFilesWalk are borrowed from the previous
attempt of @pseudo-su (#1434)
2019-01-17 15:09:44 -05:00
J2P
befc6b2e76 Fixed copyright of types output 2019-01-17 14:44:31 -05:00
Ryan Dahl
15f372c549 Remove mkdirp - deno.mkdir is already recursive (denoland/deno_std#118)
Original: 4283c26b89
2019-01-17 13:14:48 -05:00
Ryan Dahl
5e9e16e156 Revert "Remove symbol_level=1 override (#1532)"
This doubled the size of the Linux release binary.

This reverts commit 0afc698d25.
2019-01-17 13:11:33 -05:00
Andy Hayden
b2e54bad61 Remove race-condition in file_server tests (denoland/deno_std#125)
Original: e28c9a4079
2019-01-17 13:08:59 -05:00
Bert Belder
bf63f97eee
ci: work around appveyor cache bug
It keeps restoring an old cache. This renames the affected directory
in an attempt to work around that.
2019-01-17 01:38:27 +01:00
Bert Belder
c3f4b0e671
doc: change minimum rust version to 1.31.1 2019-01-17 01:37:16 +01:00
Kitson Kelly
00b655add1 Add globalThis definition to runtime (#1534) 2019-01-16 17:57:15 -05:00
Ryan Dahl
eb6f7f901b
Remove resolve_addr::tests::resolve_addr_err (#1531)
On some nameservers bad domain names still resolve.
2019-01-16 11:25:26 -05:00
wangcong
bc22dca2aa use upper case name for static variable c_rid (#1537) 2019-01-16 10:27:17 -05:00
James Garbutt
811128864c datetime: correct hh:mm formats and add test cases (denoland/deno_std#121)
Original: cc40d3e984
2019-01-16 10:25:52 -05:00
Ryan Dahl
0afc698d25
Remove symbol_level=1 override (#1532) 2019-01-16 09:39:28 -05:00
Yoshiya Hinosawa
dd08165528 fix: fix fetch tests (#1535) 2019-01-16 01:18:01 -05:00
Kitson Kelly
7cb7b24537 Improve assert (denoland/deno_std#124)
Original: 9a3eb207dc
2019-01-15 21:57:40 -05:00
Kevin (Kun) "Kassimo" Qian
431e455642 Kill all pending accepts when TCP listener is closed (#1517) 2019-01-15 20:36:51 -05:00
James Garbutt
8dd76af9ab colors: add test cases (denoland/deno_std#120)
Original: 388bc47ea7
2019-01-15 16:16:52 -05:00
Ryan Dahl
80d30f0bdc Improve readme (denoland/deno_std#117)
Original: 6a41189a98
2019-01-15 12:28:09 -05:00
Kevin (Kun) "Kassimo" Qian
c870cf4082 Add --prefetch flag for deps prefetch without running (#1475) 2019-01-15 12:19:58 -05:00
Ryan Dahl
ac6ac5037f Update sccache.exe (fixes #1526) (#1529)
* Update sccache.exe (fixes #1526)

* fix
2019-01-15 18:18:02 +01:00
Kwang-in (Dennis) Jung
0c74c8ebc4 Improve http/README (denoland/deno_std#114)
Original: 6c5bdc58ba
2019-01-15 11:09:55 -05:00
Bert Belder
d8adeb41de Clippy fixes (also fixes build with nightly) (#1527) 2019-01-15 07:06:25 -05:00
Kitson Kelly
f1ac2b9540 Fix media_types running under Deno with ESM (denoland/deno_std#113)
And bump CI to v0.2.7
Original: 77b3391a21
2019-01-15 07:01:58 -05:00
Yungoo Kong
48ca06e420 website: fix link to http_bench.ts (#1522) 2019-01-15 07:43:02 +01:00
Bert Belder
6ffdb937a3
build: write a gcc-style depfile when using clang-cl (#1525)
This ensures deno gets rebuild properly when .c/.cc source files are
modified.

Fixes: #1424
2019-01-15 04:48:46 +01:00
Kevin (Kun) "Kassimo" Qian
f9c7c921af trim_left_matches (deprecated) => trim_start_matches (#1524) 2019-01-14 21:21:36 -05:00
Ryan Dahl
eb4a19ef6e v0.2.7 2019-01-14 20:25:57 -05:00
Andy Hayden
526fdac053
Update to rust 2018 edition 2019-01-14 22:30:04 +01:00
Yungoo Kong
61b401c63a Fix wrong links (denoland/deno_std#106)
Original: 39cfdb48a8
2019-01-14 01:45:59 -05:00
迷渡
096e0b36e6 fix wrong links for flags (denoland/deno_std#112)
Original: 1d64eba63d
2019-01-14 00:34:46 -05:00
Kitson Kelly
7d08db2191 Fix JSON Modules (#1514) 2019-01-14 00:18:42 -05:00
Kitson Kelly
de9c67a702 Cleanup compiler and re-enable tests (#1512) 2019-01-13 23:44:11 -05:00
Bert Belder
8039e2a55a
third_party: upgrade rust crates, now with --edition 2018 support 2019-01-14 05:03:14 +01:00
Bert Belder
eab457ef95
ci: upgrade rust to version 1.31.1 2019-01-14 05:03:04 +01:00
Ryan Dahl
3c1a0ad19e
Properly parse network addresses. (#1515) 2019-01-13 22:14:59 -05:00
Bert Belder
9e9550ceea
third_party: upgrade rust crates 2019-01-14 02:18:19 +01:00
Bert Belder
74e623b537
third_party: clean up .gitignore 2019-01-14 02:18:19 +01:00
Bert Belder
56824411fa
ci: cargo build --locked 2019-01-14 02:18:18 +01:00
Bert Belder
0cdcefdcc7
build: bring rustc --cfg flag support back 2019-01-14 02:18:18 +01:00
Bert Belder
4f63aa4634
build: winapi is a windows-only dep 2019-01-14 02:18:18 +01:00
Bert Belder
69c370c5cc
src: remove dependency on the 'kernel32' crate 2019-01-14 02:18:18 +01:00
Kitson Kelly
4a79450988 Improve re-exports in http (denoland/deno_std#111)
Original: b99d7d3e0f
2019-01-13 19:55:23 -05:00
Joshua Flancer
fda604ff05 Added rid to Conn interface (#1513) 2019-01-13 19:54:30 -05:00
Ryan Dahl
b1c59d7231
Fix links on website (#1511) 2019-01-13 15:52:42 -05:00
hkdnet
429fcbf77a Remove an unnecessary code block (denoland/deno_std#107)
Original: 9f1de43cc4
2019-01-13 12:40:57 -05:00
Ryan Dahl
8ae178e9ce
Fix permission_prompt_test (#1509) 2019-01-13 12:09:45 -05:00
Yoshiya Hinosawa
3b59323e42 chore: re-enable test of website (#1508) 2019-01-13 10:42:08 -05:00