1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
Commit graph

2379 commits

Author SHA1 Message Date
Yusuke Sakurai
5f5583cf19 fix: [prettier] deno fmt should format jsx/tsx files (#3118) 2019-10-12 12:55:05 -07:00
Ryan Dahl
4b7204babe Update various links to deno_std (#3096) 2019-10-12 12:23:58 -07:00
Ryan Dahl
97d8498d46
Add init methods for each op module (#3087) 2019-10-11 11:41:54 -07:00
Nayeem Rahman
04ed8d0531 Ensure DENO_DIR when saving the REPL history (#3106) 2019-10-11 10:12:39 -07:00
罗文
ab63e59817 update prettier type definition (#3101) 2019-10-11 06:38:04 -07:00
Ryan Dahl
e7562eed8c
Merge deno_std in main repo (#3091)
The history of deno_std is persevered but rewritten to update links to issues and PRs

Fixes denoland/deno_std#603
2019-10-10 05:31:23 -04:00
Ryan Dahl
93f7f00c95
Run deno_std tests in github actions 2019-10-09 17:22:22 -04:00
Ryan Dahl
28293acd9c
Merge branch 'std_modified' into merge_std3 2019-10-09 17:18:08 -04:00
Ryan Dahl
5c6835efd8
remove std submodule 2019-10-09 17:17:26 -04:00
Ryan Dahl
151ce0266e
Move everything into std subdir 2019-10-09 17:10:09 -04:00
Bert Belder
a355f7c807 ci: bump deno to v0.20.0 (denoland/deno_std#627)
Original: 98784c305c
2019-10-08 22:42:24 +02:00
Ryan Dahl
3882c9d19a
Fix some examples in the manual (#3084) 2019-10-07 18:57:44 -04:00
Bartek Iwańczuk
910afdb668 fix: Update echo_server to new listen API (denoland/deno_std#625)
Original: 287fbb5dec
2019-10-07 18:05:25 -04:00
Ryan Dahl
a4b27db21a v0.20.0 2019-10-07 12:57:29 -04:00
Bartek Iwańczuk
41ed4cd34e use single thread runime in tokio_util::block_on (#3080) 2019-10-07 04:31:56 -04:00
Bartek Iwańczuk
e1d49fe0fe remove more calls to tokio_util::block_on (#3059)
towards #2960
2019-10-06 15:03:30 -04:00
Christian Moritz
3e02d7ddbc refactor benchmark results posting (#3076) 2019-10-06 11:18:15 -04:00
Ryan Dahl
bed7034fc4
Upgrade V8 to 7.9.218 (#3067) 2019-10-06 10:08:16 -04:00
Christian Moritz
33e3ff5de8 remove appveyor specific code paths (#3071) 2019-10-05 21:19:00 -04:00
Yoshiya Hinosawa
96fe2d10a4 Update eslint and @typescript-eslint (denoland/deno_std#621)
Original: c3fe858f98
2019-10-05 12:02:34 -04:00
Christian Moritz
351d40e51c CI: don't build while linting and publish in forks (#3070) 2019-10-05 10:45:35 -04:00
Ryan Riginding
2a02107bba merge build.yml and lint.yml (#3066)
Fixes #3063
2019-10-05 03:17:18 -04:00
Ryan Dahl
b81e5db17a
Merge deno_cli_snapshots into deno_cli (#3064) 2019-10-04 20:28:51 -04:00
Bartek Iwańczuk
9049213867 add timeout to CI (#3061) 2019-10-04 14:50:29 -04:00
Ryan Dahl
ddcad56ee9
Move deno_std to a more convenient location. (#3057)
js/deps/https/deno.land/std -> js/std
2019-10-04 14:49:32 -04:00
Nayeem Rahman
eecb4fea26 Use xeval from deno_std (#3058) 2019-10-04 09:02:36 -04:00
Kitson Kelly
403bdfc3ec Fix iterators on UrlSearchParams (#3044) 2019-10-03 18:20:12 -04:00
Ryan Dahl
d9acc5b17e
Remove travis and appveyor. Release with github actions (#3052)
Fixes #2979
2019-10-03 13:20:59 -04:00
Ryan Dahl
aa34c1df6a Use github action badges (#3056) 2019-10-03 18:26:48 +02:00
Andy Hayden
f7bbd71e21 Update rust to 1.38.0 (#3030) 2019-10-03 09:16:06 -04:00
Ryan Dahl
e6e7977199 Upgrade sccache binaries to 0.2.11 (#3051) 2019-10-03 14:11:14 +02:00
Kitson Kelly
d9ff4eccb5 Async compiler processing (#3043)
Basically this does pre-processing of TypeScript files and gathers all the
dependencies asynchronously. Only then after all the dependencies are gathered,
does it do a compile, which at that point all the dependencies are cached in
memory in the compiler, so with the exception of the hard coded assets, there
are no ops during the compilation.

Because op_fetch_source_files is now handled asynchronously in the runtime, we
can eliminate the tokio_util::block_on() which was causing the increase in
threads. Benchmarking on my machine has shown about a 5% improvement in speed
when dealing with compiling TypeScript. Still a long way to go, but an
improvement.

In theory the module name resolution and the fetching of the source files could
be broken out as two different ops. This would prevent situations of sending the
full source file all the time when actually the module is the same module
referenced by multiple modules, but that could be done subsequently to this.
2019-10-03 07:23:29 -04:00
JaePil Jung
c878a14365 Fix deno_typescript repository url in Cargo.toml (#3053) 2019-10-03 01:32:22 -04:00
Tyr Chen
37bbd928e0 fix typo in deno_typescript readme (#3048) 2019-10-02 20:56:09 -04:00
Ryan Dahl
8727d1c4f6
Run benchmarks from GH actions instead of Travis (#3049) 2019-10-02 19:00:46 -04:00
Nayeem Rahman
2f90225c89 Implement expandGlob() and expandGlobSync() (denoland/deno_std#617)
fs/glob.ts:
- Improve prototypes for expandGlob() and expandGlobSync() from denoland/deno_std#604.
- Rename glob() to globToRegExp().
- Add normalizeGlob() and joinGlobs().
- Extract GlobToRegExpOptions from GlobOptions, remove the strict
  and filepath options.

fs/globrex.ts:
- Add GlobrexOptions.

fs/path/constants.ts:
- Add SEP_PATTERN.

fs/walk.ts:
- Add WalkOptions::includeFiles
- Default WalkOptions::includeDirs to true.
- Don't traverse directories matching a skip pattern.
- Remove walkSync()'s default root value.

prettier:
- Refactor to use expandGlob().

testing:
- Make findTestModules() an async generator.
Original: 8c90bd9d0b
2019-10-02 13:59:27 -04:00
Bartek Iwańczuk
a569be861a remove legacy Isolate.set_dispatch API (#3041)
* migrate deno_typescript crate to Isolate.register_op API
* remove dual-dispatch mechanism
* update Isolate tests to new dispatch mechanism
2019-10-02 13:05:48 -04:00
Jed Fox
99eec73b4b feat: Add support for passing a key to Deno.env() (#2952)
This adds a new op to get a single env var.
2019-10-02 11:55:28 -04:00
Bartek Iwańczuk
c920c5f62a feat: window.onunload (#3023) 2019-10-02 11:32:51 -04:00
Yusuke Sakurai
d32f39f2ec feat: JSX Support (#3038) 2019-10-02 10:46:36 -04:00
Tomohito Nakayama
a646c2a885 Implement ignoreBOM option of UTF8Decoder in text_encoding (#3040) 2019-10-01 20:08:51 -04:00
Bartek Iwańczuk
75eeac03f3 use Isolate::register_op in deno_cli (#3039) 2019-10-01 18:51:05 -04:00
Bartek Iwańczuk
ffbf0c20cc feat: op registration in core (#3002) 2019-09-30 14:59:44 -04:00
Ryan Dahl
ae26a9c7a2
Support top-level-await in TypeScript (#3024) 2019-09-30 12:38:23 -04:00
Ryan Dahl
5f7ab4884c
Use 0.0.0.0 for servers in benchmarks and tests (#3010) 2019-09-30 12:35:48 -04:00
timonson
aca2253305 added type number to 'size' parameter (denoland/deno_std#618)
Original: f3bdf1a77b
2019-09-29 10:11:18 -04:00
Bartek Iwańczuk
c8a5d9c585 bump deps version on homepage (#3036) 2019-09-29 10:09:36 -04:00
Bartek Iwańczuk
3a982a014b bump deno_std deps (#3034) 2019-09-28 15:14:49 -04:00
Yusuke Sakurai
04e4f10087 fix(ws) mask must not be set by default for server (denoland/deno_std#616)
Original: de99fcbaf9
2019-09-28 12:47:38 -04:00
Yusuke Sakurai
3cba0a4f4a feat: wss support with dialTLS (denoland/deno_std#615)
Original: cac2d5ee68
2019-09-28 12:46:21 -04:00