summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-08-22v0.16.0Ryan Dahl
2019-08-22third_party: upgrade rust cratesBert Belder
2019-08-21fix: dynamic import panic (#2792)Bartek Iwańczuk
2019-08-16Upgrade to rust 1.37.0 (#2786)Ryan Dahl
2019-08-13v0.15.0Ryan Dahl
2019-08-13Dynamic import should respect permissions (#2764)Ryan Dahl
2019-08-09Fix dynamic import base path problem for REPL and eval (#2757)Kevin (Kun) "Kassimo" Qian
2019-08-09v0.14.0Bert Belder
2019-08-09Dynamic import (#2516)Bert Belder
2019-08-07Add op_id throughout op API (#2734)Ryan Dahl
Removes the magic number hack to switch between flatbuffers and the minimal dispatcher. Adds machinery to pass the op_id through the shared_queue.
2019-08-06Fix incremental 'cargo build' (#2740)Ryan Dahl
Tip: RUSTC_WRAPPER should be unset for incremental builds to work.
2019-08-05Remove dispatch optimization (#2732)Ryan Dahl
Deno.core.dispatch() used to push the "control" buf onto the shared array buffer before calling into V8, with the idea that it was one less argument to parse. Turns out there is no more overhead passing the control ArrayBuffer directly over. Furthermore this optimization was making the refactors outlined in #2730 more complex. Therefore it is being removed.
2019-08-05Provide option to delete Deno namespace in worker (#2717)Kevin (Kun) "Kassimo" Qian
2019-08-02third_party: upgrade rust cratesBert Belder
2019-07-31Use system rustfmt instead of fixed binary (#2701)Ryan Dahl
2019-07-31v0.13.0Ryan Dahl
2019-07-30feat: add debug info to ModuleResolutionError (#2697)Bartek Iwańczuk
2019-07-24Add error handling for dynamic imports to libdeno (#2678)Bert Belder
2019-07-18only use Locker when calling into js (#2665)andy finch
2019-07-18remove v8::Locker from deno_respond (#2664)andy finch
2019-07-18Fix expected dyn before AnyError trait (#2663)andy finch
2019-07-16v0.12.0Ryan Dahl
2019-07-11Refactor error to use dynamic dispatch and traitsBert Belder
This is in preperation for dynamic import (#1789), which is more easily implemented when errors are dynamic.
2019-07-09Upgrade v8 to 7.7.200 (#2624)Ryan Dahl
2019-07-08Rewrite snapshot_creator in RustBartek Iwańczuk
2019-07-08core: replace ModuleSpecifier::to_url() by as_url()Bert Belder
2019-07-08cli: refactor deno_dir to use Url instead of StringBartek Iwańczuk
2019-07-08core: clearly define when module lookup is path-based vs URL-basedBert Belder
The rules are now as follows: * In `import` statements, as mandated by the WHATWG specification, the import specifier is always treated as a URL. If it is a relative URL, it must start with either / or ./ or ../ * A script name passed to deno as a command line argument may be either an absolute URL or a local path. - If the name starts with a valid URI scheme followed by a colon, e.g. 'http:', 'https:', 'file:', 'foo+bar:', it always interpreted as a URL (even if Deno doesn't support the indicated protocol). - Otherwise, the script name is interpreted as a local path. The local path may be relative, and operating system semantics determine how it is resolved. Prefixing a relative path with ./ is not required.
2019-07-07v0.11.0Ryan Dahl
2019-06-30core: return useful error when import path has no prefix like ./Bert Belder
2019-06-25v0.10.0Ryan Dahl
2019-06-23Minor tweaks (#2569)Gurwinder Singh
1. Separate Snapshot and Script StartupData functions based on cfg "no-snapshot-init" 2. Replace deprecated Once::ONCE_INIT with Once::new (https://github.com/rust-lang/rust/pull/61757) 3. Elide lifetime 4. Fix typos
2019-06-20Fix silent failure of WebAssembly.instantiate() (#2548)Ryan Dahl
By making WASM compilation synchronous. We'll have to do more work to make it properly async.
2019-06-19Combine CLI Errors (#2487)Kitson Kelly
2019-06-18Add dyn to be rust nightly compatible (#2538)Kitson Kelly
2019-06-17refactor dispatch take 2 (#2533)andy finch
2019-06-15v0.9.0Ryan Dahl
2019-06-15third_party: upgrade rust cratesBert Belder
2019-06-14Revert "Refactor dispatch handling (#2452)"Ryan Dahl
Due to performance regression: https://github.com/denoland/deno/commit/dc60fe9f300043f191286ef804a365e16e455f87#commitcomment-33943711 This reverts commit dc60fe9f300043f191286ef804a365e16e455f87.
2019-06-13Refactor dispatch handling (#2452)andy finch
Promise id is now created in core and passed back to JS.
2019-06-12Move ModuleSpecifier to //core (#2509)Bartek Iwańczuk
2019-06-12Remove Config struct from core (#2502)Ryan Dahl
It's unnecessary indirection and is preventing the ability to easily pass isolate references into the dispatch and dyn_import closures. Note: this changes how StartupData::Script is executed. It's no longer done during Isolate::new() but rather lazily on first poll or execution.
2019-06-11Revert "Work around Windows-only V8 concurrent initialization crash"Bert Belder
This fix is no longer necessary as the underlying V8 bug has been fixed upstream. This reverts commit 48bcfce09e11901244447617be2eb7789427eab0.
2019-06-10Upgrade V8 to 7.7.37 (#2492)Ryan Dahl
2019-06-10Expose dynamic import in core (#2472)Ryan Dahl
2019-06-09feat: Import maps (#2360)Bartek Iwańczuk
2019-06-08v0.8.0Ryan Dahl
2019-06-06Deno.core.evalContext & Deno.core.print fix (#2465)Michał Sabiniarz
2019-06-06libdeno: expose dynamic import (#2461)Ryan Dahl
2019-06-05RecursiveLoad shouldn't own the Isolate (#2453)Ryan Dahl
This patch makes it so that RecursiveLoad doesn't own the Isolate, so Worker::execute_mod_async does not consume itself. Previously Worker implemented Loader, but now ThreadSafeState does. This is necessary preparation work for dynamic import (#1789) and import maps (#1921)