1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-04 08:54:20 -05:00
Commit graph

7617 commits

Author SHA1 Message Date
Ryan Dahl
528eb2adb3 Add examples to website. 2018-12-18 19:05:48 -05:00
Ryan Dahl
ee72e869f7 Remove Makefile
Original: 2ae63d35d0
2018-12-18 18:57:58 -05:00
Ryan Dahl
e249378fdf Add format script.
Original: 85ff88b0cc
2018-12-18 18:56:59 -05:00
Ryan Dahl
968d508425 Rename project to deno_std
Move typescript files to net/

Original: 99e276eb89
2018-12-18 18:27:05 -05:00
Ryan Dahl
7a0d9370e8 Load sccache from S3 on CI 2018-12-18 15:15:08 -05:00
Bert Belder
b40326875c Remove prebuilt v8 support 2018-12-18 15:15:08 -05:00
Ryan Dahl
0481d6c2c0
Enable jumbo build in release. (#1362) 2018-12-18 09:16:49 -05:00
Kevin (Kun) "Kassimo" Qian
6e077e71fa Implement append() to join 2 Uint8Array (denoland/deno_std#25)
Original: 6f2811c275
2018-12-17 23:14:22 -05:00
Kevin (Kun) "Kassimo" Qian
81933b0f04 Add BufReader.readFull (denoland/deno_std#24)
Original: abeb19890e
2018-12-17 22:57:45 -05:00
Ryan Dahl
6afc9dca3d Remove buffer.ts and use the one built in to deno.
Original: 5abec6efc5
2018-12-17 22:40:42 -05:00
Kitson Kelly
91a41ca124 Add URL implementation (#1359) 2018-12-17 20:07:47 -05:00
Ryan Dahl
1e54f1d473
Remove from test_cc SnapshotterInitializesCorrectly (#1361)
Unfortunately V8 has a debug-only assert that checks
that a SnapshotCreator actually created a snapshot:
7d8c9aa769/v8/src/api.cc (L571)

This was not being triggered in Linux & Mac debug builds
because we were using the prebuilt release V8 build.
It was being triggered in Windows debug build because there is
a prebuilt v8_debug.lib. However the Windows error went unnoticed
because we only run release builds in CI.
2018-12-17 20:05:18 -05:00
迷渡
04076465cf Add console.count and console.time (#1358) 2018-12-17 11:54:33 -05:00
Bartek Iwańczuk
f6dae45cd2 First pass at streaming http response (denoland/deno_std#16)
Original: 269665873a
2018-12-17 11:49:10 -05:00
zhmushan
579b92de59 ci: update deno version to v0.2.3
Original: 20714fe47a
2018-12-14 19:11:31 -05:00
Ryan Dahl
c69d2f554d v0.2.3
- console.assert should not throw error (#1335)
- Support more modes in deno.open (#1282, #1336)
- Simplify code fetch logic (#1322)
- readDir entry mode (#1326)
- Use stderr for exceptions (#1303)
- console.log formatting improvements (#1327, #1299)
- Expose TooLarge error code for buffers (#1298)
2018-12-14 15:11:44 -05:00
迷渡
769994bd4e console.assert should not throw error (#1335) 2018-12-14 14:36:08 -05:00
F001
0bb43ebbfc remove repeative permission checks (#1350) 2018-12-14 03:29:17 -05:00
迷渡
a60da64626 Fix typo in tests (#1342) 2018-12-14 00:46:33 -05:00
Ryan Dahl
eff66a3c83
Improve text on benchmark site. (#1323) 2018-12-13 16:28:49 -05:00
Ryan Dahl
9cfb533c83
Check that IsolateState is thread safe. (#1321) 2018-12-13 16:26:46 -05:00
Ryan Dahl
f986eb25c5
Merge deno_new_snapshotter behavior into deno_new (#1318) 2018-12-13 16:25:42 -05:00
Kevin (Kun) "Kassimo" Qian
2cb52cc4d1 Fix deno.open permission check (#1336) 2018-12-13 16:20:37 -05:00
Goffert van Gool
40d6daf824 Read version from Cargo.toml (#1267) 2018-12-13 16:16:58 -05:00
Tim Wang
07369a6270 Fix typo in errors.ts JSDoc 2018-12-13 15:36:15 -05:00
Ryan Dahl
79b4140a77 travis: remove use_sysroot 2018-12-13 14:36:37 -05:00
Allen Hai
b8202d2a02 fix typo on website 2018-12-12 18:26:51 -05:00
Bartek Iwańczuk
10daa2982a Fix file server crash (denoland/deno_std#20)
Fix denoland/deno_std#19
Original: d9ab8eb003
2018-12-12 12:47:58 -05:00
Ryan Dahl
c4e20b746f Fix travis badge
Original: dbff42070b
2018-12-12 12:46:02 -05:00
Bartek Iwańczuk
c2b91a3ef6 Flesh out open() modes (#1282) 2018-12-12 12:05:58 -05:00
Tnarita0000
e31866a60d Change default to false Base.bool 2018-12-12 11:44:56 -05:00
ggtmtmgg
6b8daf9f3f js_errors: rename source_url to script_name (#1329) 2018-12-12 11:44:13 -05:00
F001
e976b3e041 use byte array instead of string for code fetch (#1307) 2018-12-12 04:43:42 -05:00
Bartek Iwańczuk
0212401974 File server logging (denoland/deno_std#17)
Original: 108127178b
2018-12-12 04:38:46 -05:00
Kevin (Kun) "Kassimo" Qian
65dd0d516d Simplify src fetch logic and auto append suffix in cache search (#1322) 2018-12-12 02:34:12 -05:00
Kevin (Kun) "Kassimo" Qian
8502cb0ccb Avoid Uint8Array.prototype throwing type error in console.log (#1327) 2018-12-12 02:32:24 -05:00
Kevin (Kun) "Kassimo" Qian
585de35b1d readDir entry mode (#1326) 2018-12-12 02:31:18 -05:00
Kevin (Kun) "Kassimo" Qian
b945303329 Serve directory for file server & Fix bufio flush bug (denoland/deno_std#15)
Original: b78f4e9fbd
2018-12-11 17:56:32 -05:00
Ryan Dahl
a8c3b44804 Remove custom panic handler.
This was introduced because Tokio would swallow panics. This is still
the case, but this panic handler causes more problems than it solves.
It requires people to know how to use debuggers to inspect stacktraces.

TODO:
- Fix Tokio to not swallow errors.
- Be vigilant in the intrim to not introduce broken tests due to this
  unfortunate "feature" of tokio.
2018-12-11 15:22:54 -05:00
Ryan Dahl
81c8926ee9 Use default filename for Isolate::execute. 2018-12-11 15:07:55 -05:00
Ryan Dahl
bba1a0d44a tools: remove_and_symlink can be skipped on unix
This is more optimial and this fixes a problem where occasionally
remove_and_symlink will error with:

    gen/compiler_bundle/main.js --sourcemapFile /Users/rld/src/deno --silent
    Traceback (most recent call last):
      File "../../tools/run_node.py", line 18, in <module>
        util.remove_and_symlink(target_rel, "node_modules", True)
      File "/Users/rld/src/deno/tools/util.py", line 103, in remove_and_symlink
        symlink(target, name, target_is_dir)
      File "/Users/rld/src/deno/tools/util.py", line 141, in symlink
        os.symlink(target, name)
    OSError: [Errno 17] File exists
2018-12-11 15:07:38 -05:00
Ryan Dahl
8d3e8b1c64 Remove dead code: ASSET_PREFIX 2018-12-11 15:06:56 -05:00
Ryan Dahl
acd9fa2298 deno_dir: move tests into submodule 2018-12-11 15:06:56 -05:00
Ryan Dahl
52079b26db Minor rename for CodeFetch parameters
This bring it inline with terminology used in V8
See ResolveCallback in v8.h
2018-12-11 15:06:56 -05:00
Ryan Dahl
f230734623 build: snapshot doesn't need source_map
Continuation of the work done in c113df.
2018-12-11 15:06:21 -05:00
Ryan Dahl
a691d9257b Add file server to README
Original: f1f1f39cd3
2018-12-11 13:34:10 -05:00
F001
c1de50b0ca Replace blocking! macro by generic function (#1305) 2018-12-11 08:36:34 -05:00
Ryan Dahl
9a960b9f58
Use stderr for exceptions (#1303) 2018-12-10 17:50:41 -05:00
Kevin (Kun) "Kassimo" Qian
1548792fb3 Add more console types formatting support (#1299) 2018-12-10 12:01:02 -05:00
木杉
626cef41b6 supply the directory to serve as CLI argument (denoland/deno_std#13)
Original: 7cd4d9f4ea
2018-12-09 20:17:55 -05:00