1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
Commit graph

2830 commits

Author SHA1 Message Date
Ryan Dahl
49499d378b ci: bump to version v0.16.0 (denoland/deno_std#573)
Original: 59bdbe3272
2019-08-26 22:31:29 -04:00
Ryan Dahl
725eb98105
Clean up various flatbuffer references (#2819) 2019-08-26 22:29:51 -04:00
Ryan Dahl
f94900406d
Remove flatbuffers (#2818) 2019-08-26 17:02:34 -04:00
Ryan Dahl
d8ada4d3fc Port readSync/writeSync ops to minimal
This removes dispatch_flatbuffers as it is now unused. There are still a
few places where msg_generated is used: ErrorKind and MediaType. These
will be dealt with later.
2019-08-26 14:56:42 -04:00
Ryan Dahl
7ff67017f2 Move TestFmt to the end of tests, because slow 2019-08-26 14:56:42 -04:00
Bartek Iwańczuk
a6f6209f52 port fs ops to JSON (#2812) 2019-08-26 10:18:42 -04:00
Bartek Iwańczuk
520f9631e0 bring back json ops (#2815) 2019-08-26 08:50:21 -04:00
Bartek Iwańczuk
017f88ee99 fix: shared queue requires aligned buffer (#2816) 2019-08-26 07:48:40 -04:00
Ryan Dahl
2235dd795d
Revert json ops (#2814)
* Revert "port more ops to JSON (#2809)"

This reverts commit 137f33733d.

* Revert "port ops to JSON: compiler, errors, fetch, files (#2804)"

This reverts commit 79f82cf10e.

* Revert "Port rest of os ops to JSON (#2802)"

This reverts commit 5b2baa5c99.
2019-08-24 13:20:48 -07:00
Ryan Dahl
4d997d4e22 Move colors to fmt (denoland/deno_std#571)
Original: 28e77389ff
2019-08-24 10:38:18 -07:00
Trivikram Kamat
bdc0a13261 doc: add CONTRIBUTING.md (#2813)
Similar to React's CONTRIBUTING.md
https://github.com/facebook/react/blob/master/CONTRIBUTING.md
2019-08-24 08:42:29 -07:00
Bartek Iwańczuk
137f33733d port more ops to JSON (#2809) 2019-08-24 08:31:14 -07:00
Bartek Iwańczuk
79f82cf10e port ops to JSON: compiler, errors, fetch, files (#2804) 2019-08-24 06:02:42 -07:00
Ryan Dahl
5b2baa5c99
Port rest of os ops to JSON (#2802) 2019-08-24 05:13:50 -07:00
Ryan Dahl
bc467b265f
introduce JSON serialization for ops (#2799)
Converts env(), exit(), execPath(), utime() and utimeSync() to use JSON
instead of flatbuffers.
2019-08-22 22:30:14 -07:00
Bert Belder
47c216317f
build: enable 'derive' feature of 'serde' crate 2019-08-22 17:27:51 -07:00
Ryan Dahl
0809b06a39 v0.16.0 2019-08-22 15:11:22 -07:00
Bert Belder
7f9c6decc8
third_party: upgrade rust crates 2019-08-22 14:22:25 -07:00
Bert Belder
7a902fed04
build: add 'cap_lints' flag for rust crates
Using a specialized flag rather than the generic 'args' option makes
build_extra/rust/BUILD.gn shorter and more readable.
2019-08-22 14:13:01 -07:00
Bert Belder
e0c1ed96e2
build: remove per-crate 'treat_warnings_as_errors' gn flag 2019-08-22 14:13:01 -07:00
Bert Belder
31aa7c1a5d
build: support rust crates that generate sources in their build script 2019-08-22 14:12:49 -07:00
Kitson Kelly
6c7d337960 Support .d.ts files (#2746)
Fixes #1432
2019-08-22 12:05:01 -04:00
Eugen Cazacu
e933a8a0e1 print out the failed tests after the summary (denoland/deno_std#554)
Original: ed1b9e0563
2019-08-22 03:13:12 -04:00
Bartek Iwańczuk
77a20ec119 use relative paths in test imports (denoland/deno_std#572)
Original: d7a837d599
2019-08-22 03:01:25 -04:00
Eugen Cazacu
f88a597958 test all text functions in colors module (denoland/deno_std#553)
Original: f1c4c1a162
2019-08-22 02:20:47 -04:00
Ryan Dahl
bdc97b3976
Organize dispatch a bit (#2796)
Just some clean up reorganization around flatbuffer/minimal dispatch
code. This is prep for adding a JSON dispatcher.
2019-08-21 20:42:48 -04:00
Bartek Iwańczuk
b764d1b8ff fix: dynamic import panic (#2792) 2019-08-21 17:18:39 -04:00
Bartek Iwańczuk
389763c04e bump test runner revision (#2800) 2019-08-21 13:49:48 -04:00
Bartek Iwańczuk
a1a024a9f0 fix: add global test registry (denoland/deno_std#568)
After adding deno test command a new problem appeared.

If you try running deno test inside this repo test runner will find 
80 test files but won't run any tests! This is caused by fact that 
deno test uses tagged version of standard library which causes 
test function available inside to repo to be different function that 
test available in standard lib used by deno test.
Original: 4531fa8159
2019-08-21 12:34:34 -04:00
Kitson Kelly
f0a235563e Support custom inspection of objects (#2791) 2019-08-19 11:35:43 -04:00
Bartek Iwańczuk
4faab6a74b fix: handle tsconfig.json with comments (#2773) 2019-08-17 12:53:34 -04:00
Kevin (Kun) "Kassimo" Qian
9acb17742f Implement console.trace() (#2780)
groupCollapsed alias to group, remove noTrailingNewline, move newline 
out of stringifyArgs, fix console.dir, add tests, and fix a repl log quirk.
For repl logging quirks, I believe we should not indent repl logging. If
we really want such indentation, we probably also want to indent "> "
prompts.
2019-08-17 12:51:51 -04:00
Xuhao
122226a587 Fix typo in examples/README.md (denoland/deno_std#567)
Original: b5ded6ccbf
2019-08-17 00:43:34 -04:00
Ryan Dahl
de713e42c8
Upgrade to rust 1.37.0 (#2786) 2019-08-16 20:49:00 -04:00
Bartek Iwańczuk
1978358328 chore: bump test runner version (#2784) 2019-08-16 18:20:36 -04:00
Yoshiya Hinosawa
9aa9aafbab fix: set response.url (#2782) 2019-08-16 18:20:04 -04:00
Ryan Dahl
81f809f2a6 Revert "Remove dead code: legacy read/write ops"
This is causing a segfault for unknown reasons - see #2787.

This reverts commit 498f6ad431.
2019-08-16 14:41:08 -04:00
Nayeem Rahman
52a66c2796 Fix import map panics, use import map's location as its base URL (#2770) 2019-08-15 13:58:04 -04:00
Nayeem Rahman
47adc62387 Accept absolute root directories in the file server (denoland/deno_std#558)
Original: 262d9572ab
2019-08-15 11:59:43 -04:00
a2800276
16e134d8a8 Add fmt modules (printf implementation) (denoland/deno_std#566)
Original: f7b511611c
2019-08-15 11:57:24 -04:00
Bartek Iwańczuk
917b202354 add file:// prefix for imports in test runner (denoland/deno_std#564)
Original: 15afc61356
2019-08-15 10:17:08 -04:00
Bartek Iwańczuk
d2d3afaf2d add deno test subcommand (#2783) 2019-08-15 10:11:52 -04:00
Bartek Iwańczuk
4ce2a321c8 feat: test runner (denoland/deno_std#516)
Original: c44e5367bf
2019-08-14 20:04:56 -04:00
Ryan Dahl
498f6ad431
Remove dead code: legacy read/write ops (#2776)
readSync and writeSync use dispatch_minimal now.
2019-08-14 19:54:35 -04:00
Bartek Iwańczuk
d928c0ca31 feat: add overloaded form of unit test declaration (denoland/deno_std#563)
Original: bd146e0188
2019-08-14 16:12:35 -04:00
Bartek Iwańczuk
e6c349af9f split up ops.rs (#2753)
Note cli/dispatch_minimal.rs ops are not yet included in cli/ops.

This is part of work towards #2730
2019-08-14 11:03:02 -04:00
Bartek Iwańczuk
eab0647bd1 refactor 'assertEquals' (denoland/deno_std#560)
* merge 'testing/pretty.ts' into 'testing/asserts.ts'
* throw AssertionError in assertEquals
* update misc tests use AssertionError
Original: ff2d7f24db
2019-08-14 10:22:31 -04:00
Bartek Iwańczuk
63bbe2a2e0 ci: bump to v0.15.0 (denoland/deno_std#556)
Original: f3ddb4f26b
2019-08-13 20:03:29 -04:00
Ryan Dahl
58f0e9b9b1 v0.15.0 2019-08-13 18:35:04 -04:00
Ryan Dahl
1f8b1a587c
Dynamic import should respect permissions (#2764) 2019-08-13 14:51:15 -04:00