Commit graph

111 commits

Author SHA1 Message Date
Ryan Dahl 0a26230a87
Improve docs in core (#2049) 2019-04-04 09:35:52 -04:00
Vincent LE GOFF e44084c90d add scoop in the install (#2035) 2019-04-01 20:38:03 -04:00
迷渡 c855d0edd2 Update deno -h output in manual (#2030) 2019-04-01 11:01:58 -04:00
Bartek Iwańczuk bdc455dd25 Add Process.stderrOutput() (#1828) 2019-03-28 16:09:46 -04:00
Ryan Dahl c25e262b04
Merge the --recompile and --reload flags (#2003) 2019-03-28 16:05:41 -04:00
ztplz 8ac36d8db4 Fix typo (#2010) 2019-03-27 23:50:40 -04:00
ztplz 989e86c8de Fix some typos (#2005) 2019-03-27 02:26:03 -04:00
Bernard Lin 3cc90d9bcf Add benchmark for max latency (#1975) 2019-03-24 23:36:27 -04:00
Ryan Dahl 12753e492f
Website updates (#1984) 2019-03-22 11:34:47 -04:00
Ryan Dahl 9444bd71a0
Website and manual improvements (#1967) 2019-03-20 12:39:47 -04:00
Ryan Dahl 8f3d0ca664 Deprecate DENO_BUILD_MODE=release
Instead use: tools/build.py --release
2019-03-19 03:50:47 -04:00
Nikola Ristic 22f791c26c Typo fix in styleguide (#1946) 2019-03-17 12:54:06 -04:00
joemclo 785b48a423 Fix a missing import in manual.md example for testing (#1935) 2019-03-16 17:57:09 -04:00
Vincent LE GOFF 23108b06b9 Add test style guide (#1918) 2019-03-15 18:51:47 -04:00
Vincent LE GOFF b2f15cf21a jsdoc style guide update (#1932) 2019-03-15 11:53:21 -04:00
Yoshiya Hinosawa 4dbc33c6e3 docs: fix example (#1936) 2019-03-15 11:52:45 -04:00
Jack Rowlingson bf9e5334a8 Fix command in manual.md (#1931) 2019-03-14 10:18:35 -04:00
Jed Fox ad21be8370 manual: Improve formatting (#1842) 2019-03-11 23:39:46 -04:00
Yoshiya Hinosawa aed3e590ba docs: package.ts -> deps.ts (#1903) 2019-03-08 13:10:14 -05:00
Ryan Dahl c42a9d7370
Upgrade deno_std (#1892)
A major API change was that asserts are imported from testing/asserts.ts
now rather than testing/mod.ts and assertEqual as renamed to
assertEquals to conform to what is most common in JavaScript.
2019-03-06 20:48:46 -05:00
Andy Hayden 91364cabae Replace deno.land/x/std with deno.land/std (#1890) 2019-03-06 10:23:47 -05:00
Grant Timmerman 4f623e37c5 Fix website manual link (#1889) 2019-03-05 21:57:57 -05:00
Bert Belder 860be9f0de
tools: remove fix_symlinks() function
This fixes an issue on Windows that causes build to fails when
fix_symlinks() is called concurrently with another build step.

It is also no longer necessary, since recent versions of git know how to
properly create symbolic links on checkout.
2019-03-04 21:01:52 -08:00
Ryan Dahl e23d0b3452 Improve tagline in README (#1881) 2019-03-04 21:01:32 -08:00
Simon Menke 77d7ad61f3 Allow inspection and revocation of permissions (#1875) 2019-03-04 11:04:19 -05:00
JaePil Jung 1a695dd58b Fix deno imports in manual (#1867) 2019-03-02 16:24:33 -05:00
Bartek Iwańczuk 39ed975911 manual - import.meta.main (#1868) 2019-03-02 15:02:47 -05:00
Ryan Dahl bf95acf3eb
Fix example in manual (#1863) 2019-03-02 14:58:50 -05:00
Jon Jee 1cc02a5d9d Add favicon.ico generated by deno_logo_3.svg and add link tag in every page (#1861) 2019-03-01 02:59:26 -05:00
Ryan Dahl 33a6409db9
Add NO_COLOR to CLI usage (#1843) 2019-02-27 00:14:10 -05:00
Ryan Dahl e7e4cb037d
Use the SVG logo everywhere. Add logo links to manual. (#1841) 2019-02-27 00:13:49 -05:00
Kevin (Kun) "Kassimo" Qian 8dee6ea454 Add "Dino in the Rain" to manual page (#1840) 2019-02-26 11:53:34 -05:00
Ryan Dahl e109941bd2 Improve readme (#1822) 2019-02-21 20:22:44 -08:00
Bartek Iwańczuk 9d025facaa manual: add Deno.run example (#1811) 2019-02-21 15:52:35 -05:00
EnokMan 8c6d6b2832 Add section explaining resources and metrics to the manual (#1819) 2019-02-20 03:29:25 -05:00
Dmitry Teplov 36eecad148 fix: revert http server example on the homepage (#1814) 2019-02-19 22:53:03 -05:00
Ryan Dahl 42408febe8 Add window.location 2019-02-18 23:04:59 -05:00
Bartek Iwańczuk 57dee15844 Add example of starting subprocess to docs (#1791) 2019-02-18 18:52:46 -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
EnokMan 96afb62dfb Add code block language decoration to StyleGuide doc (#1799) 2019-02-17 00:15:19 -05:00
Luke a8ebb8f05a Added website icon link (#1792) 2019-02-16 09:02:14 -05:00
满远荣 1d7c74e9b5 Syntax highlighting on the website paegs (#1780) 2019-02-15 11:15:44 -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
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
Ryan Dahl 473d7317ea
More web design work (#1759) 2019-02-12 23:54:08 -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
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
Ryan Dahl a4dec944bc
web design (#1728) 2019-02-11 17:41:13 -05:00