1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 11:27:57 -05:00
Commit graph

6035 commits

Author SHA1 Message Date
Vincent LE GOFF
99cedf40e7 Added read file str (denoland/deno_std#276)
Original: b462ad2530
2019-04-13 15:26:09 -04:00
Vincent LE GOFF
0c877a1283 EOL add mixed detection (denoland/deno_std#325)
Original: bb92c44c64
2019-04-13 15:24:36 -04:00
Kevin (Kun) "Kassimo" Qian
236cedc7cb Enforce HTTP/1.1 pipeline response order (denoland/deno_std#331)
Original: 144ef0e08d
2019-04-13 15:23:56 -04:00
Yoshiya Hinosawa
635ad2a18e fix absolute path resolution from remote (#2109) 2019-04-13 13:27:27 -04:00
Bartek Iwańczuk
591b5e4a7d Add deno eval subcommand (#2102) 2019-04-13 13:24:15 -04:00
andy finch
d3bd5879c3 better wait for removed_from_resource_table_on_close test (#2104) 2019-04-12 18:39:31 -04:00
Yoshiya Hinosawa
e0edcc9c1b fix: re-expose DomFile (#2100) 2019-04-12 14:54:13 -04:00
迷渡
ea1b0519f5 Update deno -h output in manual (#2099) 2019-04-12 14:50:08 -04:00
Ryan Dahl
8584d80cfd v0.3.7 2019-04-11 15:35:21 -04:00
andy finch
960ee5257a Improve op dispatch (#2088) 2019-04-11 10:58:31 -04:00
Bartek Iwańczuk
1034d9723d fix --v8-options (#2093) 2019-04-11 10:20:07 -04:00
Bert Belder
4ffe1612ff Silence clippy warnings and format source code 2019-04-09 20:05:47 +02:00
Bert Belder
fe2f3ba889 Use correct type for source_bytes when buiding in check-only mode 2019-04-09 20:05:47 +02:00
Yoshiya Hinosawa
5a3f3a7445 upgrade deno_std & add workaround prettier issue (#2087) 2019-04-09 13:32:48 -04:00
Ryan Dahl
d2579f4564
core: Rename Behavior to Dispatch (#2082)
And rename IsolateState to ThreadSafeState.

Also make ThreadSafeState directly implement Dispatch. This is simpler.
2019-04-09 13:11:25 -04:00
Bartek Iwańczuk
733fbfd555 Fix denoland/denodenoland/deno_std#2064 (denoland/deno_std#328)
Original: 2c119627dc
2019-04-09 04:33:22 -04:00
Bert Belder
e43da28b28
core: poll ops round robin
Also use a VecDeque to store pending ops to avoid exponential time complexity
when removing completed ops from the list.
2019-04-08 23:10:21 +02:00
Ryan Dahl
2debbdacb9
Merge Worker and Isolate types (#2078)
Reduces generics.
2019-04-08 17:10:00 -04:00
Vincent LE GOFF
734cf781c6 Allow high precision performance.now() (#1977) 2019-04-08 16:22:40 -04:00
Ryan Dahl
f7fdb90fd5
core: snapshot improvements (#2052)
* Moves how snapshots are supplied to the Isolate. Previously they were
  given by Behavior::startup_data() but it was only called once at
  startup. It makes more sense (and simplifies Behavior) to pass it to the
  constructor of Isolate.
* Adds new libdeno type deno_snapshot instead of overloading
  deno_buf.
* Adds new libdeno method to delete snapshot deno_snapshot_delete().
* Renames deno_get_snapshot() to deno_snapshot_new().
* Makes StartupData hold references to snapshots. This was implicit when
  it previously held a deno_buf but is made explicit now. Note that
  include_bytes!() returns a &'static [u8] and we want to avoid
  copying that.
2019-04-08 10:12:43 -04:00
Axetroy
b99f8375b2 feat: add entry point file for fs modules (denoland/deno_std#272)
Original: 290cbcb9da
2019-04-08 09:29:44 -04:00
迷渡
cdb72afd8d fix console instanceof Console (#2073) 2019-04-08 09:25:01 -04:00
Kevin (Kun) "Kassimo" Qian
1746a3ac69 Add link/linkSync fs call for hardlinks (#2074) 2019-04-08 09:11:32 -04:00
Ryan Dahl
4232c89c9e
Use -O3 instead of -O (#2070)
As recommended in
https://www.reddit.com/r/rust/comments/balb45/why_is_hypers_max_latency_so_high_in_deno/ekck1ww/
2019-04-07 22:28:28 -04:00
Jonathon Orsi
3452a10840 use flatbuffer create functions to add fields (#2046) 2019-04-07 20:51:43 -04:00
Yoshiya Hinosawa
985386228b refactor: update for flag change in the next version (denoland/deno_std#327)
Original: b6c7291181
2019-04-07 20:30:45 -04:00
Bartek Iwańczuk
86aee7f137 Flags clean up: DenoFlags::from (#2068) 2019-04-07 14:58:16 -04:00
Ryan Dahl
3995473925
Fix unit_tests.py (#2065)
They were silently broken in 780e72 due to flag reordering. This commit
also includes a new assert that would avoid that kind of failure in the
future.
2019-04-07 20:58:26 +03:00
Gxyz
3324afbd40 Fix typo in manual.md (#2066) 2019-04-07 06:55:44 +03:00
Vincent LE GOFF
955a9bc13e Added EOL detect / format (denoland/deno_std#289)
Original: 1d53fb4d79
2019-04-07 04:06:07 +03:00
Axetroy
d6f808958f fix: ensure exists file/dir must be the same type or it will throw error (denoland/deno_std#294)
Original: 24f41f67bd
2019-04-07 04:01:23 +03:00
Kevin (Kun) "Kassimo" Qian
9d1e24b67b Remove await from respond in http_bench.ts (denoland/deno_std#324)
Original: 1ea76ca797
2019-04-07 03:58:01 +03:00
Bartek Iwańczuk
780e72ab6a Refactor CLI flag parsing (#2025) 2019-04-07 01:13:06 +03:00
Ryan Dahl
d9d77803e5 Bump CI to v0.3.6 (denoland/deno_std#323)
Original: 2b6222be9a
2019-04-06 17:59:13 +03:00
Ryan Dahl
cb11bbd839
Test TCP_NODELAY in hyper_hello (#2060) 2019-04-06 16:56:30 +03:00
Ryan Dahl
9e890c260b Fix tools/docs.py (#2055) 2019-04-06 15:54:54 +02:00
andy finch
7a3df0a184 Add worker benchmarks (#2059) 2019-04-05 22:57:59 +03:00
迷渡
06ec68d6f4 fix usage code syntax error (denoland/deno_std#318)
Original: 7f4dae109e
2019-04-05 14:19:13 +03:00
Vincent LE GOFF
ae9148752c toml: add Stringify feature (denoland/deno_std#319)
Original: 1e589b9553
2019-04-05 00:23:05 -04:00
wangtxxl
031411b449 fix v0.3.6 date error (#2051) 2019-04-05 00:16:24 -04:00
andy finch
07f0d077c7 add compile_async (#2053) 2019-04-05 00:04:06 -04:00
Ryan Dahl
744e56cb58 v0.3.6 2019-04-04 09:59:41 -04:00
Ryan Dahl
0a26230a87
Improve docs in core (#2049) 2019-04-04 09:35:52 -04:00
Vincent LE GOFF
f8f5611350 TOML: Full support of inline table (denoland/deno_std#320)
Original: d16072a334
2019-04-04 06:00:24 -04:00
Vincent LE GOFF
0ff0ba2b32 Fixing jsdoc example padding (denoland/deno_std#322)
Original: a0ff487a12
2019-04-04 05:58:16 -04:00
迷渡
4520e5812e fix code bug in jsdocs (#2048) 2019-04-04 05:34:00 -04:00
andy finch
0e7311e171 Non-fatal compile_sync failures (#2039)
And model worker resources as Stream
2019-04-04 05:33:32 -04:00
迷渡
8c85766198 fix JSDoc (#2043) 2019-04-03 08:53:54 -04:00
迷渡
bb617d2478 fix toString for some web objects (#2040) 2019-04-03 08:41:05 -04:00
迷渡
5f97c041d9 fix console.log when error has been caught (#2041) 2019-04-03 08:38:50 -04:00