summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-05-11Change plugin interface to prevent segfaults when unloading plugin (#5210)Bert Belder
Fixes: #3473 Closes: #5193
2020-05-10Allow starting isolate from snapshot bytes on the heap (#5187)Marcus Weiner
2020-05-091.0.0-rc2Bartek Iwańczuk
2020-05-06Upgrade to rusty_v8 0.4.2 / V8 8.4.300 (#5113)Bert Belder
2020-05-06Upgrade crates (#5104)Ryan Dahl
2020-05-04v1.0.0-rc1Ryan Dahl
2020-05-01fix misaligned error reporting on tab char (#5032)Fenzland
2020-04-30refactor(core): add "prepare_load" hook to ModuleLoader trait (#4866)Bartek Iwańczuk
This PR adds prepare_load hook method to ModuleLoader trait. It allows implementors to perform preparation work before starting actual module loading into isolate. It's meant to be used in CLI; where "transpilation" step will be explicitly performed during prepare_load instead of doing it adhoc for each module if needed.
2020-04-30adding missing test cases for <unknown> base (#4988)Thiago Veronezi
2020-04-29v0.42.0Bartek Iwańczuk
2020-04-27fix(core): fix top-level-await error handling (#4911)Bartek Iwańczuk
2020-04-26core: add id field to RecursiveModuleLoad (#4905)Bartek Iwańczuk
This commit unifies handling of ids for main module/dynamic import loads in EsIsolate.
2020-04-23Rename deno_core::Isolate to deno_core::CoreIsolate (#4851)Ryan Dahl
2020-04-23Upgrade to rusty_v8 v0.4.0 (#4856)Bert Belder
2020-04-21Move resource_table from deno::State to deno_core::Isolate (#4834)Ryan Dahl
2020-04-20refactor(cli/fmt_errors): Improve source line formatting (#4832)Nayeem Rahman
2020-04-20Remove core/plugin.rs (#4824)Ryan Dahl
This simplifies the plugin interface in order to deliver op crates with a similar API
2020-04-19Modify op dispatcher to include &mut Isolate argument (#4821)Ryan Dahl
- Removes unnecessary RwLock and Rc around the op registry table - Preparation to move resource_table to deno_core::Isolate. - Towards #3453, #4222
2020-04-19fix(core/js_errors): Get error's name and message from JS fields (#4808)Nayeem Rahman
2020-04-18Fix Op definitions (#4814)Ryan Dahl
2020-04-18feat: startTLS (#4773)EnokMan
2020-04-16v0.41.0Bartek Iwańczuk
2020-04-16Properly propagate error when deno_core::Isolate gets syntax error (#4770)Ryan Dahl
Co-authored-by: Filipe Schenkel de Souza <filipe.schenkel@azion.com> Co-authored-by: Douglas Caetano dos Santos <douglas.santos@azion.com> Co-authored-by: João Avelino Bellomo Filho <joao.avelino@azion.com>
2020-04-15Make writeSync, readSync, seekSync, openSync, isatty proper synchronous ↵Ryan Dahl
syscalls (#4762)
2020-04-14upgrade: rust crates (#4742)Ryan Dahl
2020-04-13refactor(core/js_error): Align JSStackFrame with CallSite (#4715)Nayeem Rahman
Renames and adds missing fields to JSStackFrame from CallSite. Fixes #4705. Cleans up base changes for line and column numbers.
2020-04-11refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706)Nayeem Rahman
2020-04-10fix(core/js_error): Get frame data from prepareStackTrace() (#4690)Nayeem Rahman
Fixes: #2703 Fixes: #2710 Closes: #4153 Closes: #4232 Co-authored-by: Kevin (Kun) Kassimo Qian <kevinkassimo@gmail.com>
2020-04-08v0.40.0Ryan Dahl
2020-04-08upgrade: rust crates (#4679)Ryan Dahl
2020-04-03clippy (#4618)Kitson Kelly
2020-04-03v0.39.0Ryan Dahl
2020-04-03remove `Send` trait requirement from the `Resource` trait (#4585)Andy Finch
2020-04-02upgrade: rusty_v8 v0.3.10 (#4576)Ryan Dahl
2020-03-30console: print promise details (#4524)Michał Sabiniarz
2020-03-28v0.38.0Ryan Dahl
2020-03-28Update to Prettier 2 and use ES Private Fields (#4498)Kitson Kelly
2020-03-28upgrade: rusty_v8 to v0.3.9 (#4505)Ryan Dahl
2020-03-27feat: Support Inspector / Chrome Devtools (#4484)Ryan Dahl
This is a first pass implementation which is still missing several important features: - support for --inspect-brk (#4503) - support for source maps (#4501) - support for piping console.log to devtools console (#4502) Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Matt Harrison <mt.harrison86@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-03-23v0.37.1Ryan Dahl
2020-03-23v0.37.0Ryan Dahl
2020-03-20Remove DENO_BUILD_MODE and DENO_BUILD_PATH (#4431)Ryan Dahl
* Remove DENO_BUILD_MODE and DENO_BUILD_PATH Also remove outdated docs related to ninja/gn. * fix * remove parameter to build_mode() * remove arg parsing from benchmark.py
2020-03-20Add require-await lint rule (#4401)Samrith Shankar
2020-03-19perf: Optimize TextEncoder and TextDecoder (#4430)Bartek Iwańczuk
* add tests for "Deno.core.encode" and "Deno.core.decode" for empty inputs * use "Deno.core.encode" in "TextEncoder" * use "Deno.core.decode" in "TextDecoder" * remove "core_decode" and "core_encode" benchmarks
2020-03-19Simplify timer with macrotask callback (#4385)Kevin (Kun) "Kassimo" Qian
2020-03-19fix: stack traces for modules imported via std/node's require (#4035)Nikolai Vavilov
2020-03-17Upgrade rust crates (#4412)Bert Belder
2020-03-16refactor: add no-return-await lint rule (#4384)Bartek Iwańczuk
2020-03-15feat: Deno.core.{encode,decode}; standalone UTF-8 encoding/decoding (#4349)Bartek Iwańczuk
This commits add two new methods to "Deno.core" namespace: "encode" and "decode". Those methods are bound in Rust to provide a) fast b) generally available of encoding and decoding UTF-8 strings. Both methods are now used in "cli/js/dispatch_json.ts".
2020-03-14Upgrade to rusty_v8 0.3.5 / v8 8.2.308 (#4364)Bert Belder