summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-21Organize dispatch a bit (#2796)Ryan Dahl
Just some clean up reorganization around flatbuffer/minimal dispatch code. This is prep for adding a JSON dispatcher.
2019-08-21fix: dynamic import panic (#2792)Bartek Iwańczuk
2019-08-21bump test runner revision (#2800)Bartek Iwańczuk
2019-08-19Support custom inspection of objects (#2791)Kitson Kelly
2019-08-17fix: handle tsconfig.json with comments (#2773)Bartek Iwańczuk
2019-08-17Implement console.trace() (#2780)Kevin (Kun) "Kassimo" Qian
groupCollapsed alias to group, remove noTrailingNewline, move newline out of stringifyArgs, fix console.dir, add tests, and fix a repl log quirk. For repl logging quirks, I believe we should not indent repl logging. If we really want such indentation, we probably also want to indent "> " prompts.
2019-08-16Upgrade to rust 1.37.0 (#2786)Ryan Dahl
2019-08-16chore: bump test runner version (#2784)Bartek Iwańczuk
2019-08-16fix: set response.url (#2782)Yoshiya Hinosawa
2019-08-16Revert "Remove dead code: legacy read/write ops"Ryan Dahl
This is causing a segfault for unknown reasons - see #2787. This reverts commit 498f6ad431478f655b136782093e19e29248b24d.
2019-08-15Fix import map panics, use import map's location as its base URL (#2770)Nayeem Rahman
2019-08-15add deno test subcommand (#2783)Bartek Iwańczuk
2019-08-14Remove dead code: legacy read/write ops (#2776)Ryan Dahl
readSync and writeSync use dispatch_minimal now.
2019-08-14split up ops.rs (#2753)Bartek Iwańczuk
Note cli/dispatch_minimal.rs ops are not yet included in cli/ops. This is part of work towards #2730
2019-08-13v0.15.0Ryan Dahl
2019-08-13Dynamic import should respect permissions (#2764)Ryan Dahl
2019-08-13Fix permission requirements for Deno.rename() and Deno.link() (#2737)Nayeem Rahman
2019-08-13Propagate Url::to_file_path() errors instead of panicking (#2771)Bert Belder
* Propagate Url::to_file_path() errors instead of panicking
2019-08-11feat: print cache location when no arg in deno info (#2752)Bartek Iwańczuk
2019-08-12fix: cache paths on Windows are broken (#2760)Bartek Iwańczuk
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-08Resolve worker specifiers relative to main module of host. (#2751)andy finch
2019-08-08Fix repl crash when deno dir doesn't exist (#2727)Daniel Buckmaster
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-07manual: Edit note about V8 profiling (#2742)Bartek Iwańczuk
2019-08-06Fix incremental 'cargo build' (#2740)Ryan Dahl
Tip: RUSTC_WRAPPER should be unset for incremental builds to work.
2019-08-06Fix small execPath issues (#2744)Kevin (Kun) "Kassimo" Qian
2019-08-06Make Deno.execPath a function (#2743)Kevin (Kun) "Kassimo" Qian
And throws without allow-env
2019-08-06Implement Blob url support for worker (#2729)Kevin (Kun) "Kassimo" Qian
2019-08-06Enforce permissions on kill(), homeDir() and execPath (#2723)Nayeem Rahman
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-05Remove Deno.build.args feature (#2728)Ryan Dahl
This is a minor feature which complicates the build signifigantly. Removing to ease refactoring the build system: https://github.com/denoland/deno/issues/2608
2019-08-05Provide option to delete Deno namespace in worker (#2717)Kevin (Kun) "Kassimo" Qian
2019-08-04use BTreeMap for ResourceTable (#2721)Bartek Iwańczuk
2019-08-03Enforce env permission on homeDir() and execPath (#2714)Kevin (Kun) "Kassimo" Qian
2019-08-02third_party: upgrade rust cratesBert Belder
2019-08-02build: support crate imports using an alias nameBert Belder
A crate can assign an alternative name, different from the crate name, when importing another crate. On the command line this looks like: rustc ... --extern foo_crate=path/to/bar_crate.rlib We need to support this so we can eventually upgrade to rand-0.7.x.
2019-08-01Implement function convertLineEndingsToNative in blob.ts (#2695)Tomohito Nakayama
based on https://w3c.github.io/FileAPI/#convert-line-endings-to-native
2019-07-31Use system rustfmt instead of fixed binary (#2701)Ryan Dahl
2019-07-31v0.13.0Ryan Dahl
2019-07-31refactor: cleanup compiler pipeline (#2686)Bartek Iwańczuk
* remove fetch_source_file_and_maybe_compile_async and replace it with State.fetch_compiled_module * remove SourceFile.js_source() * introduce CompiledModule which is basically the same as deno::SourceInfo and represents arbitrary file that has been compiled to JS module * introduce //cli/compilers module containing all compilers * introduce JsCompiler which is a no-op compiler - output is the same as input, no compilation takes place - it is used for MediaType::JavaScript and MediaType::Unknown * introduce JsonCompiler that wraps JSON in default export * support JS-to-JS compilation using checkJs
2019-07-31Add --current-thread flag (#2702)Bartek Iwańczuk
2019-07-31factor out FileFetcher to separate module (#2683)Bartek Iwańczuk
* merge SourceFileFetcher trait and FileFetcher struct * move logic related to source file fetching to //cli/file_fetcher.rs * use Result when creating new ThreadSafeState
2019-07-31Makes shebang Linux compatible (#2694)Nayeem Rahman
2019-07-30feat: add debug info to ModuleResolutionError (#2697)Bartek Iwańczuk
2019-07-29Remap stack traces of unthrown errors. (#2693)Kitson Kelly
2019-07-28benchmarks: make latency benchmark less noisy (#2689)Bartek Iwańczuk
2019-07-28benchmarks: add bundle size (#2690)Bartek Iwańczuk