Aaron O'Mullan
84e1df3ce2
perf(serde_v8): drop need for EscapableHandleScope ( #9990 )
...
This is another improvement to serde_v8's serialization code,
it drops the need for creating a v8::EscapableHandleScope or "subscope".
2021-04-04 02:03:57 +02:00
Aaron O'Mullan
19d0e6b671
perf(serde_v8): introduce Serializable boxable object ( #9983 )
2021-04-04 01:17:02 +02:00
Aaron O'Mullan
878599ca7c
perf(serde_v8): drop need for RC in serializer ( #9987 )
...
Which substantially improves the performance of to_v8()
by removing Rc's overhead (extra allocs, drops, checks, etc...)
2021-04-04 00:42:16 +02:00
Aaron O'Mullan
824bd2f5c3
refactor: Switch op_now to be a json-op ( #9974 )
2021-04-03 20:35:28 +02:00
Ryan Dahl
d2fbbfbbf3
refactor: don't call Context::Global in async_op_response ( #9971 )
2021-04-03 14:33:01 +02:00
Aaron O'Mullan
105c0ee3b4
perf(serde_v8/de): implement SeqAccess size_hint ( #9975 )
2021-04-02 20:12:10 -04:00
upendra1997
8257f51d7e
fix(permissions): don't panic when no input is given ( #9894 )
...
Fixes #9633
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-03 07:49:51 +11:00
Aaron O'Mullan
22cef71c4e
core/op_baseline: drop BufVec and minor cleanup ( #9969 )
2021-04-02 17:36:01 +02:00
Aaron O'Mullan
ee3aa612aa
perf: bench async op baseline ( #9954 )
2021-04-02 16:06:30 +02:00
Aaron O'Mullan
058579da56
refactor(ops): remove variadic buffers ( #9944 )
2021-04-02 09:47:57 -04:00
Kitson Kelly
adf5761090
v1.8.3
2021-04-02 22:22:08 +11:00
Kitson Kelly
df1d36a759
chore: bump dependent crates for cli ( #9964 )
2021-04-02 22:22:08 +11:00
Jean Pierre
035f7b0ca0
feat(lsp): implement textDocument/foldingRange ( #9900 )
...
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-02 17:21:07 +11:00
Kitson Kelly
f50385b2a5
Revert "fix(cli): align type definitions to spec ( #9782 )" ( #9961 )
...
This reverts commit f8aff8edcd
.
2021-04-02 12:12:07 +11:00
David Sherret
6048ce5a34
chore(cli): add "Deno" to the windows file description ( #9959 )
2021-04-02 10:10:00 +11:00
Luca Casonato
0e72129da2
fix(websocket): ignore resource close error ( #9755 )
...
It is possible that the WebSocket is already closed when we try to
close it with `WebSocket#close` or in the `error` or `close` events.
Currently this leads to an uncatchable promise rejection. This changes
this so that closing an already closed WebSocket is a noop.
2021-04-02 00:55:22 +02:00
defectivepixel
2d7fdb0a19
chore(cli): fix futime and futimeSync code examples ( #9953 )
2021-04-02 08:53:31 +11:00
Aaron O'Mullan
6eace4de5c
perf(core): js errors as unions vs tuples to reduce allocs ( #9947 )
2021-04-01 07:24:30 -04:00
Casper Beyer
f8aff8edcd
fix(cli): align type definitions to spec ( #9782 )
...
Fixes #5666
2021-04-01 20:23:16 +11:00
Peter Shank
5107aac542
docs: copyedit introduction for clarity ( #9805 )
...
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-01 20:20:43 +11:00
John Spurlock
f9ced5cc14
Fix typo in faqs.md ( #9948 )
...
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-01 20:19:45 +11:00
Kitson Kelly
ec6317e894
fix(lsp): ensure insert_text is passed back on completions ( #9951 )
...
Fixes #9920
2021-04-01 20:18:51 +11:00
Attila Gulyas
47ac654ea2
docs: add the Nix pkg manager to Installation options ( #9921 )
2021-04-01 18:51:23 +11:00
Chandan Kumar
9e937122c2
docs: fix typo ( #9946 )
2021-04-01 18:45:47 +11:00
Aaron O'Mullan
fec1b2a5a4
refactor: new optimized op-layer using serde_v8 ( #9843 )
...
- Improves op performance.
- Handle op-metadata (errors, promise IDs) explicitly in the op-layer vs
per op-encoding (aka: out-of-payload).
- Remove shared queue & custom "asyncHandlers", all async values are
returned in batches via js_recv_cb.
- The op-layer should be thought of as simple function calls with little
indirection or translation besides the conceptually straightforward
serde_v8 bijections.
- Preserve concepts of json/bin/min as semantic groups of their
inputs/outputs instead of their op-encoding strategy, preserving these
groups will also facilitate partial transitions over to v8 Fast API for the
"min" and "bin" groups
2021-03-31 10:37:38 -04:00
Aaron O'Mullan
6dc3549a81
serde_v8: restore ser/de benches ( #9939 )
2021-03-30 22:24:49 -04:00
Aaron O'Mullan
7efea6cc20
perf: add op_baseline bench ( #9924 )
2021-03-30 16:20:45 +02:00
crowlKats
e85595ae50
docs: clarify jetbrains setup ( #9930 )
...
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-03-30 12:47:44 +11:00
Aaron O'Mullan
269ea88e0e
bench: track Date.now() as upper bound reference ( #9922 )
2021-03-29 01:12:19 +02:00
Divy Srivastava
00468bceff
chore: fix clippy warning in serde_v8. ( #9917 )
2021-03-28 17:09:46 +02:00
Aaron O'Mullan
7c7a62a7f8
feat(bench/deno_common): show ns/op ( #9915 )
...
It's simply the inverse of the rate (ops/s), but it's often useful to look at time per op
2021-03-27 23:17:06 -04:00
crowlKats
b11249647f
fix: update wpt + align AbortController ( #9907 )
2021-03-27 15:49:57 +01:00
Aaron O'Mullan
940b3a26bd
chore: Add missing copyright headers ( #9910 )
2021-03-27 01:33:06 +01:00
Aaron O'Mullan
fa67aeb026
chore: add Deno copyright headers to all rust files ( #9909 )
2021-03-27 01:26:27 +01:00
Aaron O'Mullan
699eeebc12
refactor(core): decode JsStackFrames using serde_v8 ( #9902 )
2021-03-27 01:25:48 +01:00
Ryan Dahl
f46e39c5c5
remove macro_use ( #9884 )
2021-03-26 12:34:25 -04:00
Aaron O'Mullan
6c6f3e87c1
Add bench suite of common Deno functions ( #9878 )
2021-03-26 09:13:53 -04:00
Aaron O'Mullan
505db5da2c
refactor(core): simplify heapStats() by using serde_v8 ( #9901 )
2021-03-26 09:09:22 -04:00
Yasser A.Idrissi
200170b64d
docs: Add help community section ( #9882 )
2021-03-26 08:04:18 -04:00
Ryan Dahl
9f9db6accd
chore: publish serde_v8, bump version ( #9898 )
2021-03-26 08:51:38 +01:00
Inteon
f774cae931
docs(profiling): Actualization & add flamegraph info ( #9594 )
2021-03-26 08:47:45 +01:00
Luca Casonato
d5e0e8c0c2
fix: include deno.crypto in "deno types" ( #9863 )
2021-03-26 08:43:58 +01:00
Yusuke Tanaka
385b14463c
refactor(lsp): remove unused code ( #9897 )
2021-03-26 15:46:55 +11:00
Aaron O'Mullan
3d2e05dc7b
Introduce serde_v8 ( #9722 )
2021-03-25 22:36:46 -04:00
Yusuke Tanaka
e7954413e1
upgrade: Rust 1.51.0 ( #9895 )
2021-03-25 19:17:37 +01:00
Kitson Kelly
881e1e8164
fix(cli): re-add dom.asynciterable lib ( #9888 )
...
Fixes: #9881
2021-03-25 22:09:03 +11:00
Kitson Kelly
5ebb401703
feat(lsp): add import completions ( #9821 )
2021-03-25 11:13:37 +11:00
Ryan Dahl
d6d5ced1ab
build: Remove other unrelated CI build things ( #9875 )
2021-03-24 14:48:17 +01:00
Jean Pierre
77cfadf532
feat(lsp): implement textDocument/selectionRange ( #9845 )
...
Ref: #8643
2021-03-24 10:33:25 +11:00
IWANABETHATGUY
b233985fea
Update setup_your_environment.md ( #9876 )
...
unlike other system config file, in windows `$profile` file is a
common config file of powershell , just use `>` will override
the user config file , which is terrible. This change use append
instead of override which is more reasonable
2021-03-23 17:04:51 -04:00