Ryan Dahl
2338e7679c
Remove --current-thread flag ( #3830 )
...
This flag was added to evaluate performance relative to tokio's threaded
runtime. Although it's faster in the HTTP benchmark, it's clear the runtime
is not the only perf problem.
Removing this flag will simplify further refactors, in particular
adopting the #[tokio::main] macro. This will be done in a follow up.
Ultimately we expect to move to the current thread runtime with Isolates
pinned to specific threads, but that will be a much larger refactor. The
--current-thread just complicates that effort.
2020-01-30 10:49:33 -05:00
Bartek Iwańczuk
73a3cc21d0
feat: dprint formatter ( #3820 )
...
* rewrite fmt_test in Rust, remove tools/fmt_test.py
* remove //std/prettier
2020-01-29 21:16:48 -05:00
Kitson Kelly
f604becaba
Improve support of type definitions ( #3755 )
2020-01-26 13:59:41 -05:00
Ryan Dahl
3059558d41
fix cargo-publish-on-tag ( #3781 )
...
Also rename the "test" CI worker to "test_release"
2020-01-24 14:24:27 -05:00
Takashi Idobe
108294deeb
change copyrights from 2019 to 2020 ( #3733 )
2020-01-21 10:01:55 -05:00
Ry Dahl
e83658138b
Fix bug in strace parser ( #3720 )
...
Co-authored-by: @kt3k
2020-01-20 09:49:18 -05:00
Bartek Iwańczuk
34b99fec8e
rename dial to connect and dialTLS to connectTLS ( #3710 )
2020-01-18 18:35:12 +01:00
Ry Dahl
020898762f
Debug strace issue ( #3706 )
2020-01-18 10:20:10 +01:00
Ry Dahl
d720309203
Auto cargo-publish on tags ( #3704 )
...
fix tools/cargo_publish.py
2020-01-17 17:53:13 -05:00
Bartek Iwańczuk
cad7b3e4fe
add "deno fetch" benchmarks ( #3688 )
2020-01-16 15:32:25 -05:00
Ry Dahl
a4dde552de
Revert "feat(flags): script arguments come after '--'" ( #3681 )
...
Due to complaints about ergonomics and because it breaks shebang on
linux.
This reverts commit 2d5457df15
.
BREAKING CHANGE
2020-01-15 19:21:35 -05:00
Bartek Iwańczuk
702ff4283f
extend bencharks to 20s
2020-01-13 07:12:30 -07:00
EnokMan
1ea06f9c84
Add gzip, brotli and ETag support for file fetcher ( #3597 )
2020-01-11 11:11:05 +01:00
Ry Dahl
d492c5abe3
feat: Deno.args now does not include script ( #3628 )
...
Previously Deno.args was ["script.js", "arg1", "arg2"]
Now it is just ["arg1", "arg2"]
BREAKING CHANGE
2020-01-09 11:37:01 -07:00
Ry Dahl
2d5457df15
feat(flags): script arguments come after '--' ( #3621 )
2020-01-08 14:59:53 -05:00
Ry Dahl
8466460311
update pylintrc ( #3618 )
2020-01-08 01:51:11 +01:00
Bert Belder
52a0f3a5ef
Upgrade rust crates and modernize hyper_hello ( #3606 )
2020-01-05 23:12:35 +01:00
Ry Dahl
5f1df038fb
Replace libdeno with rusty_v8 ( #3556 )
2020-01-05 09:19:29 -05:00
Luca Casonato
0a900949c8
Added textencoder benchmark ( #3589 )
2020-01-04 05:21:06 -05:00
Waldir Pimenta
2a36879e30
Add missing year ranges to copyright notices ( #3582 )
2020-01-02 18:41:59 -05:00
Ry Dahl
bfab4ed0df
Happy new year! ( #3578 )
2020-01-02 15:13:47 -05:00
Kevin (Kun) "Kassimo" Qian
d146d45861
benchmark: align deno_http and node_http response ( #3484 )
2019-12-12 13:02:23 +08:00
Christian Moritz
214b3eb29a
fix depot_tools on macOS Catalina by upgrading it to 23247b9 ( #3441 )
...
Fixes: #3440
Fixes: #3153
2019-12-04 18:16:39 -05:00
Bartek Iwańczuk
2ac107f548
fix: use AF_INET6 in ./tools/http_server.py ( #3374 )
2019-11-19 12:56:37 -05:00
Kevin (Kun) "Kassimo" Qian
e73a82dc42
feat(std/node) add CommonJS require ( #3380 )
2019-11-19 01:54:20 -05:00
Kevin (Kun) "Kassimo" Qian
4189cc1ab5
Loader: support .wasm imports ( #3328 )
...
* loader: support .wasm imports
* http_server: true
* Support named exports
* Clippy
2019-11-14 08:31:39 -05:00
Kitson Kelly
9837d324a7
Update to TypeScript 3.7 ( #3275 )
...
and update to prettier 1.19
Also, update `assert()` and remove not null assertions where possibly
in `cli`.
Closes #3273
2019-11-13 13:42:34 -05:00
Kitson Kelly
8d03397293
Make bundles fully standalone ( #3325 )
...
- Bundles are fully standalone. They now include the shared loader with
`deno_typescript`.
- Refactor of the loader in `deno_typescript` to perform module
instantiation in a more
- Change of behaviour when an output file is not specified on the CLI.
Previously a default name was determined and the bundle written to that
file, now the bundle will be sent to `stdout`.
- Refactors in the TypeScript compiler to be able to support the concept
of a request type. This provides a cleaner abstraction and makes it
easier to support things like single module transpiles to the userland.
- Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`,
and define `pid` and `noColor` in a better way.
- Don't bind early to `console` in `repl.ts`.
- Add an integration test for generating a bundle.
2019-11-13 10:35:56 -05:00
Bert Belder
adab69bccc
Upgrade rust crates ( #3292 )
2019-11-07 16:21:51 -08:00
Ryan Dahl
508d728b5e
upgrade: V8 8.0.192
2019-11-07 17:58:05 -05:00
Ry Dahl
af61dbed87
Upgrade node_modules, change tagline, clean up root directory ( #3247 )
...
* Upgrade node_modules
* Simplify tagline
* Move gclient_config.py out of root
* Move package.json to tools
* Remove yarn.lock
* Remove CONTRIBUTING.md
2019-10-31 19:33:27 -07:00
Ry Dahl
8f571ef166
Remove TTY tests - dead code ( #3229 )
2019-10-29 17:52:57 -04:00
Andy Hayden
49e04fb240
fix race condition in test http server ( #3237 )
2019-10-29 16:06:14 -04:00
Ry Dahl
38f01f73a4
Move prebuilt binaries to third_party ( #3227 )
2019-10-28 22:04:24 -04:00
Andy Hayden
f484776384
Use top-level for-await in various places ( #3217 )
2019-10-28 15:58:35 -04:00
Andy Hayden
aec5a646c9
feat: top-level-for-await ( #3212 )
2019-10-27 09:04:42 -04:00
Ry Dahl
1d8f3cc896
Remove old website ( #3194 )
...
Move manual.md and style_guide.md into //std so they can be accessed
from https://deno.land/std/manual.md
Code for new website is https://github.com/denoland/deno_website2
Co-authored-by: Christian Moritz <chrmoritz@gmail.com>
2019-10-24 16:14:05 -04:00
JaePil Jung
4bebbda8db
Small cleanups in perrmission_prompt_test.ts ( #3188 )
2019-10-23 00:31:46 -07:00
Ry Dahl
dc80dd2ace
Add TextDecoder benchmark ( #3180 )
2019-10-22 18:50:56 -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
Nayeem Rahman
04ed8d0531
Ensure DENO_DIR when saving the REPL history ( #3106 )
2019-10-11 10:12:39 -07:00
Ryan Dahl
93f7f00c95
Run deno_std tests in github actions
2019-10-09 17:22:22 -04:00
Christian Moritz
3e02d7ddbc
refactor benchmark results posting ( #3076 )
2019-10-06 11:18:15 -04:00
Christian Moritz
33e3ff5de8
remove appveyor specific code paths ( #3071 )
2019-10-05 21:19:00 -04:00
Ryan Dahl
b81e5db17a
Merge deno_cli_snapshots into deno_cli ( #3064 )
2019-10-04 20:28:51 -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
Ryan Dahl
5f7ab4884c
Use 0.0.0.0 for servers in benchmarks and tests ( #3010 )
2019-09-30 12:35:48 -04:00
Christian Moritz
726f08694b
tools: fix cc_wrapper in setup.py ( #3017 )
2019-09-24 15:19:23 -04:00
Ryan Dahl
97bb2bdb79
dial/listen API change ( #3000 )
...
Previously: dial("tcp", "deno.land:80")
Now: dial({ hostname: "deno.land", port: 80, transport: "tcp" })
Similarly with listen().
2019-09-20 18:32:18 -04:00