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

3541 commits

Author SHA1 Message Date
Michał Sabiniarz
75ec9426f3 feat: --reload flag to take arg for partial reload (#3109)
Example: To reload only std modules --reload=https://deno.land/std/
2019-10-17 10:29:06 -04:00
Nayeem Rahman
f51dcc12d7 std: Move fs/path to the top-level (#3100) 2019-10-16 14:39:33 -04:00
Ryan Dahl
99d8ac70db Fix tools/docs.py (#3135) 2019-10-16 11:31:37 -07:00
Yusuke Sakurai
c1b302d769 fix: remote jsx/tsx files were compiled as js/ts (#3125) 2019-10-16 13:35:04 -04:00
迷渡
5983507255 std/flags: Add test for multiple boolean flags (#3103) 2019-10-16 11:34:36 -04:00
Jon Heslop
b1685ce010 Use max-width over max-device-width (#3132)
Using max-width because this applies the mobile styles to narrow windows
on larger devices as well as full with windows on narrow devices.
2019-10-15 17:31:26 -04:00
Bartek Iwańczuk
54db12c4d9 perf: fairer ops scheduling (#3128) 2019-10-15 14:12:27 -07:00
Ryan Dahl
ddbfe9b5aa Add debug build to github actions
This disabled the tty_tests which seem to be very flaky with the debug
build.
2019-10-15 11:50:01 -04:00
Ryan Dahl
8114ea525c Upgrade V8 to 7.9.304 2019-10-15 11:50:01 -04:00
Bartek Iwańczuk
4221b90c3f perf: eager poll async ops in Isolate (#3046) 2019-10-14 17:46:27 -04:00
Yusuke Sakurai
6056595357 fix: [tls] op_dial_tls is not registerd and broken (#3121) 2019-10-13 10:37:37 -04:00
Bartek Iwańczuk
b3331e81d9 support --allow-net=:4500 (#3115) 2019-10-12 14:13:52 -07:00
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