1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-17 17:03:48 -05:00
Commit graph

4677 commits

Author SHA1 Message Date
andy finch
b0a23beb8f Add web worker JS API (#1993)
* Refactored the way worker polling is scheduled and errors are handled.
* Share the worker future as a Shared
2019-04-01 15:09:59 -04:00
迷渡
659acadf77 Improve new TextDecoder().toString() (#2032) 2019-04-01 13:05:19 -04:00
Kitson Kelly
ada5ffa610 Upgrade to TypeScript 3.4.1 (#2027) 2019-04-01 12:47:25 -04:00
迷渡
c855d0edd2 Update deno -h output in manual (#2030) 2019-04-01 11:01:58 -04:00
Bert Belder
ff1c80d6d8
third_party: add rust crate 'clap' 2019-03-31 17:55:03 -04:00
Bert Belder
97265895ba
Publish rust crate on crates.io (#2024) 2019-03-31 17:22:02 -04:00
Ryan Dahl
3ba4c3c2b0
Remove deno_core_http_bench from core/Cargo.toml (#2023)
So we don't have to have an optional tokio dependency. We build
deno_core_http_bench using GN anyway.
2019-03-31 11:11:36 -04:00
Ryan Dahl
e9910d8ae5
Rename crate deno_core to deno (#2022) 2019-03-30 19:30:40 -04:00
Ryan Dahl
6744bb8d75
Call ninja directly from build.rs (#2020) 2019-03-30 19:27:00 -04:00
Arash Arbabi
fd170692dd fix: benchmarks not returning on deno 0.3.4+ (denoland/deno_std#317)
Original: a1ceaa6ef7
2019-03-30 15:52:33 -04:00
Ryan Dahl
d87c37f089 Bump CI to v0.3.5 (denoland/deno_std#312)
Disable bench_test.ts because it hangs.

Original: eb5b1d9f53
2019-03-30 15:03:43 -04:00
Ryan Dahl
c9614d86c1
Move //libdeno to //core/libdeno (#2015)
Fixes some sed errors introduced in c43cfe.

Unfortunately moving libdeno required splitting build.rs into two parts,
one for cli and one for core.

I've also removed the arm64 build - it's complicating things at this
re-org and we're not even testing it. I need to swing back to it and get
tools/test.py running for it.
2019-03-30 14:45:36 -04:00
迷渡
ad3cbc50fb check EventTarget params (#2018) 2019-03-30 13:40:03 -04:00
迷渡
51c6f33f64 Avoid search prototype chain (#2019) 2019-03-30 08:18:19 -04:00
Bert Belder
3d6c033369
third_party: upgrade rust crates 2019-03-29 14:50:07 -04:00
Vincent LE GOFF
5518b008b8 toml: fix parsing comments (denoland/deno_std#311)
Original: a48fdd6a29
2019-03-29 10:51:23 -04:00
Ryan Dahl
b965c7ab36 v0.3.5 2019-03-28 16:58:17 -04:00
Bartek Iwańczuk
bdc455dd25 Add Process.stderrOutput() (#1828) 2019-03-28 16:09:46 -04:00
Ryan Dahl
c25e262b04
Merge the --recompile and --reload flags (#2003) 2019-03-28 16:05:41 -04:00
Ryan Dahl
51abcd6147 Make sharedQueue overflow warning quieter (#2008) 2019-03-28 14:13:34 -04:00
Vincent LE GOFF
13aeee460a Add TOML module (denoland/deno_std#300)
Original: fa1664e6cc
2019-03-28 12:31:15 -04:00
Vincent LE GOFF
8f0407efad Fix parallel testing (denoland/deno_std#309)
Fixes denoland/deno_std#308

Co-authored by @chiefbiiko
Original: cac060f388
2019-03-28 12:29:27 -04:00
Bert Belder
da1b98b690 Clippy fixes (#2009) 2019-03-28 08:09:19 -04:00
迷渡
1fec34b463 Check CustomEvent constructor params (#2011) 2019-03-28 08:08:32 -04:00
ztplz
8ac36d8db4 Fix typo (#2010) 2019-03-27 23:50:40 -04:00
Bartek Iwańczuk
597ee38ef2 Rewrite readFile and writeFile (#2000)
Using open/read/write
2019-03-27 23:29:36 -04:00
Ryan Dahl
d0b6152f11
Fix error when JS is executed with --recompile (#2007)
test case from @afinch7
2019-03-27 16:10:31 -04:00
迷渡
8c770c5a90 remove isTrusted's setter (#2006) 2019-03-27 08:38:49 -04:00
ztplz
989e86c8de Fix some typos (#2005) 2019-03-27 02:26:03 -04:00
Kevin (Kun) "Kassimo" Qian
5c4189a3b8 Do not close file on invalid seek mode (#2004) 2019-03-26 22:47:17 -04:00
0xflotus
d78b4112c6 fixed typo (#2001) 2019-03-26 15:13:11 -04:00
Vincent LE GOFF
b7022848f6 testing: turn off exitOnFail by default (denoland/deno_std#307)
Original: d9e8953110
2019-03-26 11:29:12 -04:00
Kitson Kelly
c43cfedeba namespace reorg: libdeno and DenoCore to Deno.core (#1998) 2019-03-26 08:22:07 -04:00
Vincent LE GOFF
630d0f213d Fix assertEquals for RegExp & Date (denoland/deno_std#305)
Original: e17364b91f
2019-03-26 08:15:16 -04:00
迷渡
ed2977d3c0 Check Event constructor params (#1997) 2019-03-26 07:42:26 -04:00
Ryan Dahl
d8714281b4
Resolve callback moved from Behavior to mod_instantiate() (#1999)
This simplifies the Behavior trait and makes it more explicit where the
resolve callback is being made.

Also s/StartupScript/Script
2019-03-25 17:43:31 -04:00
Bartek Iwańczuk
5ae78eb1de Update ts_library_builder (#1920) 2019-03-25 00:23:24 -04:00
Bernard Lin
3cc90d9bcf Add benchmark for max latency (#1975) 2019-03-24 23:36:27 -04:00
Bartek Iwańczuk
4347148d50 Fix prettier check in empty files (denoland/deno_std#302)
Original: e5a493e9e8
2019-03-24 11:26:47 -04:00
Bartek Iwańczuk
129eae0265 Handle overflown shared queue (#1992)
Fixes #1988
2019-03-24 11:07:10 -04:00
迷渡
efe9c18b45 remove console constructor (#1985) 2019-03-22 11:35:49 -04:00
Ryan Dahl
12753e492f
Website updates (#1984) 2019-03-22 11:34:47 -04:00
andy finch
1499d57490 Remove dead code (#1983) 2019-03-21 15:52:30 -04:00
Simon Menke
93793dc455 core: Allow terminating an Isolate from another thread (#1982) 2019-03-21 09:48:19 -04:00
Ryan Dahl
94405bb617
Fix clippy errors and upgrade Rust to 1.33.0 in CI (#1945) 2019-03-20 18:55:52 -04:00
Ryan Dahl
223a2adbb4 v0.3.4 2019-03-20 18:54:47 -04:00
Ryan Dahl
9831a440ca Disable arm test again
getting this failure on travis:
https://travis-ci.com/denoland/deno/jobs/186518015

  $ $CARGO_TARGET_DIR/aarch64-unknown-linux-gnu/release/deno tests/002_hello.ts
  qemu: Unsupported syscall: 278
  qemu: Unsupported syscall: 278
  Compiling file:///home/travis/build/denoland/deno/tests/002_hello.ts
2019-03-20 18:54:47 -04:00
Ryan Dahl
9444bd71a0
Website and manual improvements (#1967) 2019-03-20 12:39:47 -04:00
Ryan Dahl
842627d6b9 pretty-print long strings 2019-03-20 12:38:59 -04:00
Ryan Dahl
8f334ae568 Improve pretty printing of objects
If an object has more than 5 elements, it is printed in abbeviated form
displaying only the keys. This is useful in the REPL when inspecting
large objects like the Deno namespace:

  > Deno
  { args, noColor, pid, env, exit, isTTY, execPath, chdir, cwd, File,
  open, stdin, stdout, stderr, read, write, seek, close, copy,
  toAsyncIterator, SeekMode, Buffer, readAll, mkdirSync, mkdir,
  makeTempDirSync, makeTempDir, chmodSync, chmod, removeSync, remove,
  renameSync, rename, readFileSync, readFile, readDirSync, readDir,
  copyFileSync, copyFile, readlinkSync, readlink, statSync, lstatSync,
  stat, lstat, symlinkSync, symlink, writeFileSync, writeFile, ErrorKind,
  DenoError, libdeno, permissions, revokePermission, truncateSync,
  truncate, connect, dial, listen, metrics, resources, run, Process,
  inspect, build, platform, version, Console, stringifyArgs,
  DomIterableMixin }
2019-03-20 12:38:59 -04:00