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

12864 commits

Author SHA1 Message Date
Ryan Dahl
8693d0e0a7 Split up tools/sync_third_party
This is just encoding my actual workflow; not suggesting that this
workflow is ideal. Previously I would edit sync_third_party.py each time
I ran it.
2019-06-12 10:57:58 -04:00
Kurt Mackey
7bdeee8997 makes global request type an interface (#2503) 2019-06-11 21:32:49 -04:00
Bert Belder
878d092df9
Revert "Work around Windows-only V8 concurrent initialization crash"
This fix is no longer necessary as the underlying V8 bug has been
fixed upstream.

This reverts commit 48bcfce09e.
2019-06-11 23:17:41 +02:00
Gurwinder S
7fc3d5ed8b Removed unused method and update docs (#2499) 2019-06-11 16:09:31 -04:00
Ryan Dahl
912e4f7177
feat: default output filename for deno bundle (#2484)
And improve bundle docs
2019-06-11 14:38:19 -04:00
Ryan Dahl
de8c85f8f2
Move Modules to ThreadSafeState (#2498) 2019-06-11 14:35:03 -04:00
Ryan Dahl
508e9849ff
Move TestFmt to end of tests (#2491) 2019-06-11 11:11:12 -04:00
Matt Harrison
d82c1991cf Add --seed for setting RNG seed (#2483) 2019-06-11 10:34:39 -04:00
justjavac
cb58162052 set setTimeout callback's this to window object 2019-06-11 10:09:33 -04:00
迷渡
0efb7c2ab7 fix bug in URL (#2495) 2019-06-10 23:55:38 -04:00
Ryan Dahl
523ab6a929
Upgrade V8 to 7.7.37 (#2492) 2019-06-10 18:49:30 -04:00
Ryan Dahl
e043697521
Expose dynamic import in core (#2472) 2019-06-10 15:27:34 -04:00
Yoshiya Hinosawa
88b0c8756e website: use pre-wrap (#2486) 2019-06-10 11:03:51 -04:00
Kitson Kelly
0ed3046a9a Add bundle loader (denoland/deno_std#480)
Original: fe7f6e117f
2019-06-10 10:34:43 -04:00
Neil Richter
163d60bf16 typo (#2489) 2019-06-10 09:20:19 -04:00
迷渡
5871d22d9b check URLSearchParams.constructor's params (#2488) 2019-06-10 07:20:59 -04:00
Ryan Dahl
87d3b9b5cc upgrade: deno to v0.8.0 (denoland/deno_std#487)
Original: 86b7499e65
2019-06-09 21:42:06 -04:00
Bartek Iwańczuk
a115340288 feat: Import maps (#2360) 2019-06-09 09:08:20 -04:00
Ryan Dahl
8ec5276d30
Add asserts checking that async ops return null (#2463) 2019-06-08 18:11:47 -04:00
Ryan Dahl
d60bdb6350 v0.8.0 2019-06-08 15:16:34 -04:00
Kitson Kelly
307e092753 Add 'bundle' subcommand. (#2467) 2019-06-08 14:42:28 -04:00
gurv-s
35f879ad32 Remove tokio_util::block_on dep in compile_async and other cleanup 2019-06-08 10:59:20 -04:00
gurv-s
95eac608a6 Make print_file_info async 2019-06-08 10:59:20 -04:00
gurv-s
564222bc10 make op_create_worker async internally 2019-06-08 10:59:20 -04:00
gurv-s
c0b28dc224 Use static dispatch 2019-06-08 10:59:20 -04:00
Andy Hayden
5960e398ec make tests quieter (#2468)
Don't mix every http request in with the tests output.
Don't print that the file servers are starting unless
-vv flag is passed.

Capture the output of run with run_output which returns
stdout, stderr and exit_code. Test against this rather
than relying on sys.exit.
2019-06-08 07:46:57 -04:00
Kurt Mackey
4ea2df6759 http benchmarks with unique ports (#2471) 2019-06-07 15:36:26 -04:00
Kurt Mackey
9a6cfd653d add tcp proxy benchmarks + split out website section for proxy req/s (#2464) 2019-06-06 22:46:18 -04:00
Michał Sabiniarz
9bea576f3e Deno.core.evalContext & Deno.core.print fix (#2465) 2019-06-06 21:51:04 -04:00
Kitson Kelly
e3b2205eba Cleanup compiler API (#2466) 2019-06-06 20:37:26 -04:00
Ryan Dahl
cbcb78f188
libdeno: expose dynamic import (#2461) 2019-06-06 19:07:47 -04:00
Xin Du (Clark)
2e0ab295a3 use unknown instead of any (denoland/deno_std#486)
Original: c64734cbd9
2019-06-06 12:56:33 -04:00
Kurt Mackey
341150266e add http proxy benchmark (#2462) 2019-06-06 12:44:35 -04:00
Kitson Kelly
8e8f936e40 Remove console.error from asserts. (denoland/deno_std#483)
Original: 2292fbe6b1
2019-06-06 10:27:55 -04:00
Ryan Dahl
e152dae006
RecursiveLoad shouldn't own the Isolate (#2453)
This patch makes it so that RecursiveLoad doesn't own the Isolate, so
Worker::execute_mod_async does not consume itself.

Previously Worker implemented Loader, but now ThreadSafeState does.

This is necessary preparation work for dynamic import (#1789) and import
maps (#1921)
2019-06-05 16:35:38 -04:00
Xin Du (Clark)
33b6055f5f datetime: use assertThrows in test (denoland/deno_std#473)
Original: 3041edb152
2019-06-05 14:35:35 -04:00
Bartek Iwańczuk
6fa4d2e759 feat: bring back deno <script> (#2451) 2019-06-05 13:44:46 -04:00
Vincent LE GOFF
0b50c698ad Add special hit cfix #1898 (#2455) 2019-06-05 09:21:08 -04:00
Kitson Kelly
a71305b4fe Handle compiler diagnostics in Rust (#2445) 2019-06-04 09:03:56 -04:00
Ryan Dahl
60d4522641
Compiler exit before emit if preEmitDiagnostics found (#2441) 2019-06-03 12:58:49 -04:00
Bartek Iwańczuk
43c6c1a9f5 Refactor test infrastructure (#2432)
* use subclass of unittest.TestCase for all test cases

* allow to run single test file (eg. python tools/integration_tests.py)

* test filtering (via --pattern/-p CLI flag)

* use common CLI parser for all tests:
  usage: test.py [-h] [--failfast] [--verbose] [--executable EXECUTABLE]
               [--release] [--pattern PATTERN] [--build-dir BUILD_DIR]

  optional arguments:
  -h, --help            show this help message and exit
  --failfast, -f        Stop on first failure
  --verbose, -v         Verbose output
  --executable EXECUTABLE
                        Use external executable of Deno
  --release             Test against release executable
  --pattern PATTERN, -p PATTERN
                        Run tests that match provided pattern
  --build-dir BUILD_DIR
                        Deno build directory

* respect NO_COLOR variable
2019-06-03 12:35:55 -04:00
Yoshiya Hinosawa
21684c679b Check file changes during test (denoland/deno_std#476)
Original: 7daa887b09
2019-06-02 21:42:27 -04:00
Gurwinder S
bbc8de0c7a Fix typo (#2443) 2019-06-02 14:23:36 -04:00
Kitson Kelly
d438a6d259 Upgrade TypeScript to 3.5.1 (#2437) 2019-06-01 11:13:36 -04:00
Yoshiya Hinosawa
79f770b178 fmt: add --stdout option (#2439) 2019-06-01 08:54:32 -04:00
Bartek Iwańczuk
e729d442fb chore: make CI config DRY (denoland/deno_std#470)
Original: 8a9993be14
2019-05-31 17:28:54 -04:00
Kurt Mackey
652be19041 use body when Request instance is passed to fetch (fixes #2433) (#2435) 2019-05-31 17:00:37 -04:00
Xin Du (Clark)
35cb4d0d13 fix typos (denoland/deno_std#469)
Original: 2acaf5adb9
2019-05-31 08:39:05 -04:00
Bert Belder
94816457e4 io: make port BufReader.readByte() return number | EOF
Original: 679b203053
2019-05-30 18:35:00 -07:00
Andy Hayden
8fb44eba5b chore: refactor python tests to use unittest (#2414)
Move every test to a method on DenoTestCase.
test.py is a single TestSuite of every TestCase.

Add a Spawn context manager for http_server,
this is explicitly used where it's needed.
Each python test file can now be run independently
without needing to manually run http_server.

Add --help and consistent flags using argparse for
each python test, including --failfast.

Use ColorTextTestRunner so that '... ok' is green.
2019-05-30 16:40:40 -04:00