1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-17 17:03:48 -05:00
Commit graph

5966 commits

Author SHA1 Message Date
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
Nayeem Rahman
a472b6732d Test runner v2 (denoland/deno_std#604)
Original: 17a214bbd5
2019-09-28 09:33:17 -04:00
Kevin (Kun) "Kassimo" Qian
6efca6d1a1 Add Deno.hostname() (#3032) 2019-09-27 19:09:42 -04:00
Ryan Dahl
af18093498 Bump v0.19.0 (denoland/deno_std#613)
Original: 5d0dd5878e
2019-09-26 21:06:59 -04:00
Yusuke Sakurai
d36391ad20 fix: listenDefaults/dialDefaults may be overriden in some cases (#3027) 2019-09-26 09:14:13 -04:00
Ryan Dahl
3892cf5901 v0.19.0 2019-09-25 10:58:35 -04:00
Kitson Kelly
3d2d0ee771 Handle uncaught worker errors without panicking (#3019) 2019-09-25 10:46:58 -04:00
Bartek Iwańczuk
112ce0df1f test: add HTTP_PROXY tests (#2977) 2019-09-24 18:52:01 -04:00
Ryan Dahl
a497f87b59
Upgrade V8 for top-level-await (#3015) 2019-09-24 18:37:04 -04:00
Christian Moritz
726f08694b tools: fix cc_wrapper in setup.py (#3017) 2019-09-24 15:19:23 -04:00
Bartek Iwańczuk
2201414a7a fix: run missing integration tests (#2997) 2019-09-24 10:46:57 -04:00
Jonathon Orsi
045e74bb39 feat: Add Deno.dialTLS()
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2019-09-23 15:12:42 -04:00
Yusuke Sakurai
aa21e7bc81 fix TOML's key encoding (denoland/deno_std#612)
Original: 54a5b95fef
2019-09-23 11:08:57 -04:00
Tomohito Nakayama
4ff04ad96f Rename class name DenoFile to DomFileImpl (#3006) 2019-09-23 11:07:13 -04:00