1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
Commit graph

8384 commits

Author SHA1 Message Date
Yoshiya Hinosawa
c4e3728575 remove global_eval.ts (#1813) 2019-02-19 21:42:19 -05:00
Ryan Dahl
d63a2e0224 Revert "Redesign of http server module (denoland/deno_std#188)"
We need to consider the API changes here more carefully.

This reverts commit da188a7d30.
and commit 8569f15207.

Original: 57c9176b19
2019-02-19 13:18:41 -05:00
Dmitry Sharshakov
a5a48ce84d Bump CI to v0.3 (denoland/deno_std#204)
Original: 37a6bca8d0
2019-02-19 09:58:40 -05:00
Ryan Dahl
a5720d9e28 v0.3.0 2019-02-18 23:22:41 -05:00
Ryan Dahl
c0b8756797 build: fix deps for deno_runtime_declaration 2019-02-18 23:04:59 -05:00
Ryan Dahl
42408febe8 Add window.location 2019-02-18 23:04:59 -05:00
Bartek Iwańczuk
27afbd1351 Match TypeScript & JavaScript error colors (#1793) 2019-02-18 19:20:07 -05:00
Bartek Iwańczuk
57dee15844 Add example of starting subprocess to docs (#1791) 2019-02-18 18:52:46 -05:00
Yoshiya Hinosawa
55edc06218 Add back typescript version number and add Deno.version object. (#1788) 2019-02-18 18:43:02 -05:00
Bartek Iwańczuk
673bdd0352 Reenable cat.ts test (denoland/deno_std#197)
Original: 271f7cc76d
2019-02-18 18:32:56 -05:00
Yusuke Sakurai
bdeb6c43af fix: url match logic of http server (denoland/deno_std#199)
Original: da188a7d30
2019-02-18 18:32:31 -05:00
Kevin (Kun) "Kassimo" Qian
077af20ceb Add seek and implement Seeker on File (#1797)
This patch contains a special hack that circumvents the current tokio
seek problem.

tokio `seek` is implemented to take ownership of the original File and
emit a new one in its future, which conflicts with the design of
ResourceTable.

To avoid the problem, the current hack makes the FsFile resource
an Option which we could `take` the value ownership out of it. We then
convert the tokio File into a Rust std File, perform the seek, and then
put it back into the resource.

This might be able to drop this hack after
https://github.com/tokio-rs/tokio/pull/785 lands.
2019-02-18 18:26:41 -05:00
Saad Quadri
97e29e3dd0 Fix http server example in homepage (#1801)
This fixes http server example by updating the import path as well as
using respond() correctly.
2019-02-18 18:20:58 -05:00
Mark Tiedemann
a1de28dbef Update installation documentation (Fixes #1786) (#1802) 2019-02-18 18:19:43 -05:00
Maxim Mazurok
55b2f0195f Rename welcome.js to welcome.ts (#1803) 2019-02-18 18:18:00 -05:00
Kitson Kelly
54094c7510 Rationalise compiler ops (#1740) 2019-02-18 10:42:15 -05:00
Yoshiya Hinosawa
9e942f30b9 refactor: replace any in console (#1804) 2019-02-18 10:31:35 -05:00
EnokMan
96afb62dfb Add code block language decoration to StyleGuide doc (#1799) 2019-02-17 00:15:19 -05:00
Yoshiya Hinosawa
9fb9048c73 remove dead code (#1796) 2019-02-16 20:07:44 -05:00
Luke
a8ebb8f05a Added website icon link (#1792) 2019-02-16 09:02:14 -05:00
Dmitry Sharshakov
4dc4329e27 Add execPath function (#1743) 2019-02-15 11:22:02 -05:00
Andy Hayden
954fe83f62 Add fs.walk (denoland/deno_std#192)
Original: 3be908facd
2019-02-15 11:20:59 -05:00
满远荣
1d7c74e9b5 Syntax highlighting on the website paegs (#1780) 2019-02-15 11:15:44 -05:00
bokuweb
0eed9b3029 feat: Add pretty assert (denoland/deno_std#187)
Original: ddafcc6572
2019-02-15 11:11:55 -05:00
Greg Altman
061a9353ba Module dep pretty printing in --info 2019-02-15 11:06:49 -05:00
Ryan Dahl
0412ab2308 Remove unnecessary tests/021_info_flag_setup.test 2019-02-15 11:06:49 -05:00
Yoshiya Hinosawa
142aedd329 remove unnecessary build opt (#1783) 2019-02-15 11:06:26 -05:00
Kevin (Kun) "Kassimo" Qian
fe0ceae543 Fix behavior for extensionless files with .mime file (#1779) 2019-02-15 11:05:29 -05:00
Yusuke Sakurai
57f4e6a864 Redesign of http server module (denoland/deno_std#188)
Original: 8569f15207
2019-02-15 11:03:57 -05:00
Yoshiya Hinosawa
2241049c34 feat: env option in run api (#1773) 2019-02-15 10:37:04 -05:00
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