summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-09-07Update @typescript-eslint/* to v2.1.0 (#2878)Yoshiya Hinosawa
2019-09-06build: on windows, don't pass -glldb to clang (#2874)Bert Belder
2019-09-06Remove tools/build.py (#2865)Ryan Dahl
Testing regression: ASAN build removed.
2019-09-04v0.17.0Ryan Dahl
2019-09-04perf: less aggresive dyn import polling (#2858)Bartek Iwańczuk
2019-09-02Refactor snapshot build (#2825)Ryan Dahl
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.
2019-08-31Add window.queueMicrotask (#2844)Kevin (Kun) "Kassimo" Qian
2019-08-29third_party: downgrade 'url' crate to version 1.7.2Bert Belder
2019-08-26Clean up various flatbuffer references (#2819)Ryan Dahl
2019-08-26fix: shared queue requires aligned buffer (#2816)Bartek Iwańczuk
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.