1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 22:34:46 -05:00
Commit graph

12842 commits

Author SHA1 Message Date
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
Dmitry Sharshakov
9470f2b0c8 editorconfig: Don't insert final newline in .out files (#1686) 2019-02-07 11:31:49 -05:00
Ryan Dahl
79b95341d9
Upgrade V8 to 7.4.98 (kKeep fix) (#1640)
* Upgrade V8 to 7.4.98 (kKeep fix)

https://github.com/denoland/deno/issues/814
https://bugs.chromium.org/p/v8/issues/detail?id=8761

* fix tests
2019-02-06 23:43:31 -05:00
jingweicai
37b05740fa fix: do not load cache files when recompile flag is set (#1695) 2019-02-06 23:42:34 -05:00
Kaley Main
39429a261d Add log-scale to execution graph (#1694) 2019-02-06 18:08:26 -05:00
Ryan Dahl
2782d03b29 Remove excessive anchor links. (#1664) 2019-02-06 11:05:38 -08:00
JaePil Jung
ffe8f73d34 Add missing run permission in test function (#1697) 2019-02-06 09:21:26 -05:00
JaePil Jung
ed6aec9bf0 Fixed test code (#1688) 2019-02-05 11:20:17 -05:00
Dmitry Sharshakov
7b282e4dbc Fix indentation for .py files in .editorconfig (#1672) 2019-02-05 09:47:26 -05:00
Kitson Kelly
48fedee34e Add WebAssembly to runtime library (#1677)
This also modifies the `ts_library_builder` to support inlining assets.

Includes integration tests from @sh7dm
2019-02-05 08:12:58 -05:00
Jimmy Moon
748b0f9c9d Remove duplicated links in website (#1668) 2019-02-04 12:45:05 -05:00
Masashi Hirano
e2d76278bf Replace macros to check nullptr (#1674)
This replaces CHECK_EQ/CHECK_NE with CHECK_NULL/CHECK_NOT_NULL to check nullptr.
These macros are implemented in V8.
Refs: https://github.com/denoland/deno_third_party/blob/master/v8/src/base/logging.h#L312
2019-02-04 11:53:40 -05:00
JaePil Jung
66cea39067 Fixed chart width to responsive (#1670) 2019-02-04 08:40:39 -05:00