Age | Commit message (Collapse) | Author |
|
This commit removes implementation of "native plugins" and replaces
it with FFI API.
Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
|
|
|
|
|
|
This reverts commit 7dd4090c2a3dc0222fd6ff611eeb2bd69cd28224.
|
|
|
|
This commit removes implementation of native plugins
alongside the unstable "Deno.openPlugin()" API.
|
|
This commits moves implementation of net related APIs available on "Deno"
namespace to "deno_net" extension.
Following APIs were moved:
- Deno.listen()
- Deno.connect()
- Deno.listenTls()
- Deno.serveHttp()
- Deno.shutdown()
- Deno.resolveDns()
- Deno.listenDatagram()
- Deno.startTls()
- Deno.Conn
- Deno.Listener
- Deno.DatagramConn
|
|
|
|
This refactor makes it so there's one less crate to publish on each release.
|
|
Now available at https://github.com/denoland/serde_v8
|
|
Co-Authored-By: Ben Noordhuis <info@bnoordhuis.nl>
Fixes: #10354
|
|
|
|
|
|
* Revert "tooling(bench_util): benching and profiling utilities (#10223)"
This reverts commit 733a00030582375c43fa156e978f25df6ecc9e9a.
* Upgrade notify
|
|
|
|
Move timers out of runtime/ and into a standalone op crate.
|
|
|
|
|
|
This reverts commit a87da4b19a6da67dde15d1d0ceefaad2bdad1637.
|
|
Unfortunately this increases the release build size by 8M
```
| | incremental build | full build | binary size |
|--------|-------------------|------------|-------------|
| main | 4m 21s | 6m 24s | 72M |
| #10039 | 1m 45s | 5m 28s | 80M |
```
|
|
|
|
|
|
This commit starts splitting out the deno_web op crate into multiple
smaller crates. This commit splits out WebIDL and URL API, but in the
future I want to split out each spec into its own crate. That means we
will have (in rough order of loading): `webidl`, `dom`, `streams`,
`console`, `encoding`, `url`, `file`, `fetch`, `websocket`, and
`webgpu` crates.
|
|
|
|
|
|
This commit moves Deno JS runtime, ops, permissions and
inspector implementation to new "deno_runtime" crate located
in "runtime/" directory.
Details in "runtime/README.md".
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
|
|
This commit factors out "deno_crypto" op crate.
"rand" crate dependency was consequently moved to
"deno_crypto" crate and reexported.
|
|
|
|
|
|
All benchmarks are done in Rust and can be invoked with
`cargo bench`.
Currently this has it's own "harness" that behaves like
`./tools/benchmark.py` did.
Because of this tests inside `cli/bench` are currently not run.
This should be switched to the language provided harness
once the `#[bench]` attribute has been stabilized.
|
|
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Fixes cargo publish on deno_typescript, deno_cli_snapshots, and
deno_cli.
- Combines cli_snapshots and js into one directory.
- Extracts TS version at compile time rather than runtime
- Bumps version awkwardly - it was necessary to test end-to-end
publishing. Sorry.
- Adds git submodule deno_typescript/typescript
|
|
Instead of using core/snapshot_creator.rs, instead two crates are
introduced which allow building the snapshot during build.rs.
Rollup is removed and replaced with our own bundler. This removes
the Node build dependency. Modules in //js now use Deno-style imports
with file extensions, rather than Node style extensionless imports.
This improves incremental build time when changes are made to //js files
by about 40 seconds.
|
|
So that "cargo build" will build it when the gn frontend is eventually
removed.
|
|
Fixes some sed errors introduced in c43cfe.
Unfortunately moving libdeno required splitting build.rs into two parts,
one for cli and one for core.
I've also removed the arm64 build - it's complicating things at this
re-org and we're not even testing it. I need to swing back to it and get
tools/test.py running for it.
|
|
|
|
|
|
|
|
To better distinguish the deno_core crate from the executable deno,
which will now be called "the cli" internally.
|
|
|
|
|
|
src/js_errors.rs takes care of source maps and color while
core/js_errors.rs is just the basic struct.
|
|
|