Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-23 | re-fix permissions for dial and listen (#2400) | Bartek Iwańczuk | |
Closes #2397 | |||
2019-05-23 | Rename --allow-high-precision to --allow-hrtime (#2398) | Ryan Dahl | |
2019-05-22 | Revert "Fix permissions for dial and listen (#2373)" | Bert Belder | |
This reverts commit 7219787894f13b1920b3b6b49203cdcb8f672c00. | |||
2019-05-17 | Fix permissions for dial and listen (#2373) | Bartek Iwańczuk | |
2019-05-17 | Add crypto.getRandomValues() (#2327) | chiefbiiko | |
2019-05-15 | Remove FileInfo.path | Ryan Dahl | |
2019-05-11 | Add progress bar (#2309) | Ryan Dahl | |
2019-05-09 | core: Privatize ModuleNameMap SymbolicModule deno_buf (#2324) | Bartek Iwańczuk | |
2019-05-09 | fix: support relative path for whitelisting (#2317) | Kevin (Kun) "Kassimo" Qian | |
Using `std::fs::canonicalize` to expand path to full existing path, such that later attempt to loop-pop and compare path segment would work. | |||
2019-05-08 | First pass at permissions whitelist (#2129) | andy finch | |
2019-05-07 | Add Deno.chown (#2292) | Yingbo (Max) Wang | |
2019-05-03 | feat(cli cmd): deno xeval (#2260) | Kevin (Kun) "Kassimo" Qian | |
2019-05-03 | add --no-fetch CLI flag to prevent remote downloads (#2213) | Bartek Iwańczuk | |
2019-05-03 | Optimize read and write ops (#2259) | Ryan Dahl | |
2019-05-03 | core,cli: fix clippy warnings | Bert Belder | |
2019-05-01 | core: express op as enum (#2255) | Ryan Dahl | |
2019-05-01 | Refactor zero-copy buffers for performance and to prevent memory leaks | Bert Belder | |
* In order to prevent ArrayBuffers from getting garbage collected by V8, we used to store a v8::Persistent<ArrayBuffer> in a map. This patch introduces a custom ArrayBuffer allocator which doesn't use Persistent handles, but instead stores a pointer to the actual ArrayBuffer data alongside with a reference count. Since creating Persistent handles has quite a bit of overhead, this change significantly increases performance. Various HTTP server benchmarks report about 5-10% more requests per second than before. * Previously the Persistent handle that prevented garbage collection had to be released manually, and this wasn't always done, which was causing memory leaks. This has been resolved by introducing a new `PinnedBuf` type in both Rust and C++ that automatically re-enables garbage collection when it goes out of scope. * Zero-copy buffers are now correctly wrapped in an Option if there is a possibility that they're not present. This clears up a correctness issue where we were creating zero-length slices from a null pointer, which is against the rules. | |||
2019-05-01 | fs: add Deno.utime/Deno.utimeSync (#2241) | Kevin (Kun) "Kassimo" Qian | |
2019-04-29 | Add support for custom tsconfig.json (#2089) | Kitson Kelly | |
Use `--config` | |||
2019-04-21 | Add Deno.kill(pid, signo) and process.kill(signo) (Unix only) (#2177) | Kevin (Kun) "Kassimo" Qian | |
2019-04-21 | Refactor CLI entry point (#2157) | Bartek Iwańczuk | |
Changes "deno --types" to "deno types" and "deno --prefetch" to "deno prefetch" | |||
2019-04-17 | Fix clippy warnings | Bert Belder | |
2019-04-16 | Implement async module loading in CLI (#2084) | Ryan Dahl | |
2019-04-11 | Improve op dispatch (#2088) | andy finch | |
2019-04-09 | Silence clippy warnings and format source code | Bert Belder | |
2019-04-09 | core: Rename Behavior to Dispatch (#2082) | Ryan Dahl | |
And rename IsolateState to ThreadSafeState. Also make ThreadSafeState directly implement Dispatch. This is simpler. | |||
2019-04-08 | Merge Worker and Isolate types (#2078) | Ryan Dahl | |
Reduces generics. | |||
2019-04-08 | Allow high precision performance.now() (#1977) | Vincent LE GOFF | |
2019-04-08 | core: snapshot improvements (#2052) | Ryan Dahl | |
* Moves how snapshots are supplied to the Isolate. Previously they were given by Behavior::startup_data() but it was only called once at startup. It makes more sense (and simplifies Behavior) to pass it to the constructor of Isolate. * Adds new libdeno type deno_snapshot instead of overloading deno_buf. * Adds new libdeno method to delete snapshot deno_snapshot_delete(). * Renames deno_get_snapshot() to deno_snapshot_new(). * Makes StartupData hold references to snapshots. This was implicit when it previously held a deno_buf but is made explicit now. Note that include_bytes!() returns a &'static [u8] and we want to avoid copying that. | |||
2019-04-08 | Add link/linkSync fs call for hardlinks (#2074) | Kevin (Kun) "Kassimo" Qian | |
2019-04-02 | Clippy fixes | Bert Belder | |
2019-04-01 | Add web worker JS API (#1993) | andy finch | |
* Refactored the way worker polling is scheduled and errors are handled. * Share the worker future as a Shared | |||
2019-03-30 | Rename crate deno_core to deno (#2022) | Ryan Dahl | |
2019-03-28 | Merge the --recompile and --reload flags (#2003) | Ryan Dahl | |
2019-03-27 | Rewrite readFile and writeFile (#2000) | Bartek Iwańczuk | |
Using open/read/write | |||
2019-03-26 | namespace reorg: libdeno and DenoCore to Deno.core (#1998) | Kitson Kelly | |
2019-03-21 | Remove dead code (#1983) | andy finch | |
2019-03-20 | Fix clippy errors and upgrade Rust to 1.33.0 in CI (#1945) | Ryan Dahl | |
2019-03-20 | Add more async module loading function (#1974) | Ryan Dahl | |
* get_source_code_async * fetch_module_meta_data_async * fetch_module_meta_data_and_maybe_compile_async | |||
2019-03-19 | Separate behavior for the compiler isolate (#1973) | andy finch | |
2019-03-19 | Remove old Buf definition in cli.rs (#1971) | andy finch | |
2019-03-19 | Rename //src/ to //cli/ (#1962) | Ryan Dahl | |
To better distinguish the deno_core crate from the executable deno, which will now be called "the cli" internally. |