1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
Commit graph

7004 commits

Author SHA1 Message Date
Ryan Dahl
748e456cdb
Use prebuilt hyperfine (#1755) 2019-02-14 18:18:24 -05:00
Ryan Dahl
9a6d89fc40
Turn on v8_postmortem_support (#1758) 2019-02-13 21:54:01 -05:00
Kitson Kelly
8686f49ee4 Update contribution guidelines (#1771)
To make it clearer how people should indicate that are contributing to Deno.
2019-02-13 20:12:11 -05:00
Ryan Dahl
8d1567fafb
Upgrade V8 to 7.4.158 (#1767)
This is to have access to this fix:
https://bugs.chromium.org/p/v8/issues/detail?id=8838
necessary for v8_postmortem_support.
2019-02-13 14:23:17 -05:00
Philipp A
e782ba1a6f Use proper directory for cache files (#1763)
Operating systems have defined directories for cache files.
That allows them to do smart things such as leaving them out when doing a backup,
or deleting them when disk space gets low.

Also a %home%\.deno folder on windows made no sense whatsoever.

Fixes #481
2019-02-13 08:57:00 -05:00
Kitson Kelly
c468be64ed Cleanup Deno namespace (#1765) 2019-02-13 08:50:15 -05:00
Ryan Dahl
473d7317ea
More web design work (#1759) 2019-02-12 23:54:08 -05:00
Kevin (Kun) "Kassimo" Qian
163c334521 Drop assert!() from untrack_task() (#1757) 2019-02-12 21:51:45 -05:00
Ryan Dahl
34ece9f2ed Pretty print exceptions (denoland/deno_std#190)
Explained here:
https://github.com/denoland/deno/issues/1559#issuecomment-462811554
Original: 34ca60376b
2019-02-12 18:24:29 -05:00
Ryan Dahl
0435b78e8b Style guide has moved. (denoland/deno_std#191)
Original: 19cccd2ebc
2019-02-12 18:23:49 -05:00
Ryan Dahl
f29c40a433
Decouple ts_library_builder from std/testing (#1749) 2019-02-12 15:22:43 -05:00
Ryan Dahl
677a48781d
Include deno version in source_code_hash (#1751)
Fixes #472
2019-02-12 15:20:54 -05:00
Ryan Dahl
0b0d962eb9
Revert "Rewrite tools/format.py in deno (#1528)" (#1752)
tools/format.ts is making CI flaky and it's difficult to run right now.
Reverting to tools/format.py

This reverts commit f19622e768.
2019-02-12 15:20:32 -05:00
Bert Belder
9240f9b57f
third_party: upgrade rust crates 2019-02-12 09:30:36 -08:00
chiefbiiko
967389b5df Add benching (denoland/deno_std#185)
Original: 0a160c3925
2019-02-12 10:55:01 -05:00
Kitson Kelly
a21a5ad2fa Add Deno global namespace (#1748)
Resolves #1705

This PR adds the Deno APIs as a global namespace named `Deno`. For backwards
compatibility, the ability to `import * from "deno"` is preserved. I have tried
to convert every test and internal code the references the module to use the
namespace instead, but because I didn't break compatibility I am not sure.

On the REPL, `deno` no longer exists, replaced only with `Deno` to align with
the regular runtime.

The runtime type library includes both the namespace and module. This means it
duplicates the whole type information. When we remove the functionality from the
runtime, it will be a one line change to the library generator to remove the
module definition from the type library.

I marked a `TODO` in a couple places where to remove the `"deno"` module, but
there are additional places I know I didn't mark.
2019-02-12 10:08:56 -05:00
Kevin (Kun) "Kassimo" Qian
1e5e091cb0 Fix REPL formatting (#1744) 2019-02-11 18:06:22 -05:00
Ryan Dahl
a4dec944bc
web design (#1728) 2019-02-11 17:41:13 -05:00
Kevin (Kun) "Kassimo" Qian
489c69f8e1 REPL multiline support with recoverable errors (#1731) 2019-02-11 14:01:28 -05:00
Yoshiya Hinosawa
d26655371b fix: improve formatting (#1732) 2019-02-11 12:57:26 -05:00
Dmitry Sharshakov
53784dce7c Add colors to log module (denoland/deno_std#175)
Original: d895c60a51
2019-02-10 21:28:52 -05:00
Kitson Kelly
90c7af27d7 Rationalise startup for compiler/main (#1737) 2019-02-10 20:07:02 -05:00
Yusuke Sakurai
33f62789cd feat: multipart, etc.. (denoland/deno_std#180)
Original: fda9c98d05
2019-02-10 18:49:48 -05:00
Yusuke Sakurai
ed20bda6ec refactor: make acceptWebSocket independent from ServerRequest (denoland/deno_std#178)
Original: 88ddd5677d
2019-02-10 18:45:24 -05:00
Bartek Iwańczuk
1e837f3281 Respect NO_COLOR in TypeScript output (#1736) 2019-02-10 18:19:31 -05:00
Bartek Iwańczuk
fe8c5d358b Set globals on compiler startup (#1735) 2019-02-10 18:18:36 -05:00
Bartek Iwańczuk
52e047138a support NO_COLOR in colors module (denoland/deno_std#182)
Original: a81d2ae1f9
2019-02-09 19:13:44 -05:00
Kevin (Kun) "Kassimo" Qian
1d36eb47eb Support scoped variables, unblock REPL async op, and REPL error colors (#1721) 2019-02-09 16:55:40 -05:00
Ryan Dahl
fa3f8cf67b Bump CI to v0.2.11 (denoland/deno_std#183)
Original: 1abdc2efc0
2019-02-09 15:41:05 -05:00
Yoshiya Hinosawa
1502051453 Add read permission for format.ts (#1726) 2019-02-09 10:55:18 -05:00
J2P
65cafd2edf Add --allow-read test code 2019-02-09 05:57:41 -05:00
J2P
636e234e4c Fix read permission message 2019-02-09 05:57:41 -05:00
Ryan Dahl
b2fb8261e7 v0.2.11
- Add deps to --info output (#1720)
- Add --allow-read (#1689)
- Add deno.isTTY() (#1622)
- Add emojis to permission prompts (#1684)
- Add basic WebAssembly support (#1677)
- Add `NO_COLOR` support https://no-color.org/ (#1716)
- Add color exceptions (#1698)
- Fix: do not load cache files when recompile flag is set (#1695)
- Upgrade V8 to 7.4.98 (#1640)
2019-02-08 23:34:05 -05:00
Bert Belder
bbe2004f5d
Shared buffer fixes (#1644)
* makes `libdeno.shared` a `SharedArrayBuffer` instead of a regular `ArrayBuffer`.
* fixes `libdeno.shared` becoming undefined after accessing it once.
2019-02-08 20:32:17 -08:00
Bert Belder
7380b19459
Make rustfmt format macro bodies also
This makes it possible to use cfg_if! conveniently.
2019-02-08 20:06:21 -08:00
Bert Belder
394b81de15
Move .rustfmt.toml to the repository root
This allows rustfmt to automatically pick it up.
It's right there with similar files such as .prettierrc.
2019-02-08 20:06:21 -08:00
Ryan Dahl
526497bc29
Adds deno.noColor (#1716) 2019-02-08 22:13:04 -05:00
Yoshiya Hinosawa
4c869dc885 Use std/prettier in deno //tools/format.ts (#1708) 2019-02-08 21:38:59 -05:00
Ryan Dahl
99ce807a12
Add deps to --info output. (#1720)
Move module stuff into its own file.
2019-02-08 21:36:10 -05:00
Dmitry Sharshakov
9ab03389f0 Add --allow-read (#1689)
Co-authored-by: Greg Altman <g.s.altman@gmail.com>
2019-02-08 15:59:38 -05:00
Dmitry Sharshakov
a6e164441c Clean up tests (denoland/deno_std#176)
Original: f2d23f8fcd
2019-02-08 12:23:51 -05:00
bokuweb
3abaf9edb6 fix format command in contribution guide (#1712) 2019-02-08 11:32:26 -05:00
bokuweb
ca397f6793 fix clippy warnings (#1711) 2019-02-08 11:14:33 -05:00
Ryan Dahl
46804e50ed
Color exceptions (#1698) 2019-02-07 20:07:20 -05:00
Bert Belder
f22e0d72c5
third_party: add the 'regex' crate 2019-02-07 14:46:52 -08:00
Ryan Dahl
c26cf4f812
travis: cache buildtools dir (#1703) 2019-02-07 16:46:19 -05:00
Ryan Dahl
f527e86bb5
Add statement about browser compatibility to docs. (#1623) 2019-02-07 16:26:19 -05:00
Dmitry Sharshakov
5c50d2819b Add emojis to permission prompts (#1684) 2019-02-07 16:19:50 -05:00
Dmitry Sharshakov
aea7884d11 Make integration tests standalone (#1671)
Co-authored-by: Sergey Golovin <golovim@gmail.com>
2019-02-07 15:11:03 -05:00
Dmitry Sharshakov
f113312ef2 Add missiong copyright headers (denoland/deno_std#177)
Original: 5440377495
2019-02-07 11:45:47 -05:00