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

1685 commits

Author SHA1 Message Date
Ryan Dahl
00597ffde1
Refactor libdeno ES module interface. (#1624)
Allows for future asynchronous module loading.

Add support for import.meta.url

Fixes #1496
2019-01-30 17:21:31 -05:00
Ryan Dahl
7d278a0383
appveyor: Remove dead code (#1621) 2019-01-30 17:20:56 -05:00
Ryan Dahl
06c0e29118 Fix cpplint 2019-01-30 15:53:23 -05:00
Ryan Dahl
13582ff3f2 libdeno: improve exception handling 2019-01-30 15:53:23 -05:00
Ryan Dahl
b9e368cb4c
Add snapshot_compiler.bin to binary size benchmark (#1611) 2019-01-30 14:01:13 -05:00
Ryan Dahl
514b7d3359
Remove Travis benchmark (#1617)
- We don't look at this benchmark because it jumps around. It isn't
  stable so doesn't feel trustable.
- It requires an extra request for every homepage visit. This is
  excessive.
- I would gladly reintroduce it if we could store the results of the API
  call into a JSON file like we do with other benchmarks.
2019-01-30 13:28:55 -05:00
Masashi Hirano
02b9046a0e Fix example code of writeFile (#1626)
According to spec, `TextEncoder()` takes no parameters. However `TextEncoder("utf-8")` is written in example codes.

Spec of TextEncoder: https://www.w3.org/TR/encoding/#interface-textencoder
MDN: https://developer.mozilla.org/ja/docs/Web/API/TextEncoder/TextEncoder#Parameters
2019-01-30 10:44:40 -05:00
Ryan Dahl
1681bda14d v0.2.9 2019-01-29 22:57:11 -05:00
Sergey Golovin
240ca25617 Add repl functions "help" and "exit" (#1563) 2019-01-29 14:41:12 -05:00
bdistin
457e65bc2f docs/typo: readerIterator -> toAsyncIterator as exported (#1620) 2019-01-29 13:24:40 -05:00
JaePil Jung
dc09c3a65d Minor code cleanups (#1613) 2019-01-29 10:37:27 -05:00
Kitson Kelly
ee9c627cc5 Split out compiler snapshot (#1566)
Speeds up startup time, reduces runtime heap size.
2019-01-28 20:41:28 -05:00
Jan Lo
f7c0f49443 Combine deno.removeAll into deno.remove (#1596) 2019-01-28 17:54:52 -05:00
Sergey Golovin
f05fd7a1f3 Add console.table (#1608) 2019-01-28 16:41:29 -05:00
Dmitry Sharshakov
7c4265159a Change subtitle to 'A new way to JavaScript' (#1603) 2019-01-28 11:54:09 -05:00
Dmitry Sharshakov
2a69abdefd Readme: Use shell installer (#1598) 2019-01-27 10:16:47 -05:00
bokuweb
aaaa35548e timers: use int instead of double for timeout type (#1469) 2019-01-26 22:10:38 +01:00
Dmitry Sharshakov
19b2d4a62a Create .editorconfig file (#1592) 2019-01-26 13:18:49 -05:00
Dmitry Sharshakov
2f000303f2 Add PWA manifest to website (#1585) 2019-01-26 12:19:47 -05:00
Bert Belder
c03ff8556b
third_party: add the 'integer-atomics' crate 2019-01-26 16:32:03 +01:00
Bert Belder
d3e5a13201
third_party: force all crates to use the latest version of rand_core 2019-01-26 16:32:03 +01:00
Bert Belder
6ad2e001b4
third_party: upgrade rust crates 2019-01-26 16:32:02 +01:00
Dmitry Sharshakov
50613c2df5 Add PowerShell install guide to the website (#1590) 2019-01-26 10:26:54 -05:00
Dmitry Sharshakov
ec4858bcbd Make links and badges look better (#1588) 2019-01-26 10:24:02 -05:00
Ryan Dahl
75f349929b
Revert "Upgrade tslint and friends (#1571)" (#1573)
This commit was cauing a still problem described here:
https://github.com/denoland/deno/issues/1259

This reverts commit d0dc4deaad.
2019-01-26 03:04:03 -05:00
Ryan Dahl
aace768474
Upgrade sccache binaries to 0.2.8 (#1576)
Binaries are directly from
https://github.com/mozilla/sccache/releases/tag/0.2.8
2019-01-26 02:49:14 -05:00
Dmitry Sharshakov
34dbd31593 Use shell installer in docs (#1574) 2019-01-25 13:40:56 -05:00
Ryan Dahl
d0dc4deaad
Upgrade tslint and friends (#1571) 2019-01-24 14:27:59 -05:00
binaryta
4a0a47dcde Add console.clear() (#1562) 2019-01-24 13:24:39 -05:00
迷渡
6904628aaa console output with format (#1565) 2019-01-24 12:07:08 -05:00
JaePil Jung
7f88b5fff3 Minor code cleanups (#1570) 2019-01-24 10:54:43 -05:00
jingweicai
2547f0296f fix: set env,key for string and value for string (#1567) 2019-01-23 20:29:18 -05:00
thefliik
41cf82870b Minor optimization to repl.ts (#1561) 2019-01-23 20:23:25 -05:00
Adam Conrad
e470f31d32 Web API: CustomEvent (#1505) 2019-01-23 06:20:53 -06:00
Yoshiya Hinosawa
77114fbda4 chore: update license lines (#1557) 2019-01-21 13:03:30 -06:00
Ryan Dahl
7eb74ba0d6 Revert "Use the same parse processing at contractor of URL with setters (#1549)"
Right now every instance of URL which has a basePath passed will share
the same instance of parts, so a change to one of them will change them
all.

https://github.com/denoland/deno/pull/1549#issuecomment-455896081

This reverts commit 9e1f5ccb8b.
2019-01-21 08:28:13 -06:00
jingweicai
106fe1f762 fix: build deno under node_modules folder (#1555) 2019-01-20 20:25:01 -06:00
Daijiro Wachi
9e1f5ccb8b Use the same parse processing at contractor of URL with setters (#1549) 2019-01-20 09:24:29 -06:00
Yoshiya Hinosawa
7800d9f007 docs(Releases.md): correct go prototype dates 2019-01-20 09:23:08 -06:00
Ryan Dahl
a47d545e4d v0.2.8 2019-01-19 11:54:45 -05:00
Kevin (Kun) "Kassimo" Qian
f9b167deb0 Avoid crashes on ES module resolution when module not found (#1546) 2019-01-18 15:15:09 -05:00
Ryan Dahl
315e4abd7e
mkdir should not be recursive by default (#1530)
It should return an error if a file with the given path exists and
recursive isn't specified.

Because mode is not used on windows and rarely used in unix, it is made
to the last parameter.

In collaboration with Stefan Dombrowski <sdo451@gmail.com>
2019-01-17 23:39:06 -05:00
Kevin (Kun) "Kassimo" Qian
d06c95637a Unflake test netConcurrentAccept (#1544) 2019-01-17 18:10:34 -05:00
Ryan Dahl
d787713908 Revert "fix: fix fetch tests (#1535)"
This reverts commit dd08165528.

These tests are still flaky:
https://travis-ci.com/denoland/deno/jobs/171240240
https://travis-ci.com/denoland/deno/jobs/170775382
2019-01-17 17:33:50 -05:00
Yoshiya Hinosawa
f19622e768 Rewrite tools/format.py in deno (#1528)
Note: findFiles and findFilesWalk are borrowed from the previous
attempt of @pseudo-su (#1434)
2019-01-17 15:09:44 -05:00
J2P
befc6b2e76 Fixed copyright of types output 2019-01-17 14:44:31 -05:00
Ryan Dahl
5e9e16e156 Revert "Remove symbol_level=1 override (#1532)"
This doubled the size of the Linux release binary.

This reverts commit 0afc698d25.
2019-01-17 13:11:33 -05:00
Bert Belder
bf63f97eee
ci: work around appveyor cache bug
It keeps restoring an old cache. This renames the affected directory
in an attempt to work around that.
2019-01-17 01:38:27 +01:00
Bert Belder
c3f4b0e671
doc: change minimum rust version to 1.31.1 2019-01-17 01:37:16 +01:00
Kitson Kelly
00b655add1 Add globalThis definition to runtime (#1534) 2019-01-16 17:57:15 -05:00