summaryrefslogtreecommitdiff
path: root/libdeno
AgeCommit message (Collapse)Author
2019-03-30Move //libdeno to //core/libdeno (#2015)Ryan Dahl
Fixes some sed errors introduced in c43cfe. Unfortunately moving libdeno required splitting build.rs into two parts, one for cli and one for core. I've also removed the arm64 build - it's complicating things at this re-org and we're not even testing it. I need to swing back to it and get tools/test.py running for it.
2019-03-26namespace reorg: libdeno and DenoCore to Deno.core (#1998)Kitson Kelly
2019-03-21core: Allow terminating an Isolate from another thread (#1982)Simon Menke
2019-03-07Remove 'deno' builtin module (#1895)Kitson Kelly
2019-03-04`use-snapshots` build option for cross compile support. (#1852)andy finch
2019-03-03libdeno: fix libdeno.print() unicode output on WindowsBert Belder
Note that emoji are still not supported, due limitations of the Windows console.
2019-03-03libdeno: remove `prints_newline` parameter from libdeno.print()Bert Belder
2019-02-26deno_core (#1827)Ryan Dahl
A new low-level crate with focus on speed. This doesn't yet hook into the existing code base.
2019-02-26Add import.meta.main (#1835)Bartek Iwańczuk
2019-02-18build: fix deps for deno_runtime_declarationRyan Dahl
2019-02-13Upgrade V8 to 7.4.158 (#1767)Ryan Dahl
This is to have access to this fix: https://bugs.chromium.org/p/v8/issues/detail?id=8838 necessary for v8_postmortem_support.
2019-02-09Support scoped variables, unblock REPL async op, and REPL error colors (#1721)Kevin (Kun) "Kassimo" Qian
2019-02-08Shared buffer fixes (#1644)Bert Belder
* makes `libdeno.shared` a `SharedArrayBuffer` instead of a regular `ArrayBuffer`. * fixes `libdeno.shared` becoming undefined after accessing it once.
2019-02-06Upgrade V8 to 7.4.98 (kKeep fix) (#1640)Ryan Dahl
* Upgrade V8 to 7.4.98 (kKeep fix) https://github.com/denoland/deno/issues/814 https://bugs.chromium.org/p/v8/issues/detail?id=8761 * fix tests
2019-02-04Replace macros to check nullptr (#1674)Masashi Hirano
This replaces CHECK_EQ/CHECK_NE with CHECK_NULL/CHECK_NOT_NULL to check nullptr. These macros are implemented in V8. Refs: https://github.com/denoland/deno_third_party/blob/master/v8/src/base/logging.h#L312
2019-02-02Fix v8_str internalize bugRyan Dahl
2019-02-02Clean up return value of deno_executeRyan Dahl
and deno_respond
2019-01-30Refactor libdeno ES module interface. (#1624)Ryan Dahl
Allows for future asynchronous module loading. Add support for import.meta.url Fixes #1496
2019-01-30Fix cpplintRyan Dahl
2019-01-30libdeno: improve exception handlingRyan Dahl
2019-01-29Minor code cleanups (#1613)JaePil Jung
2019-01-28Split out compiler snapshot (#1566)Kitson Kelly
Speeds up startup time, reduces runtime heap size.
2019-01-24Minor code cleanups (#1570)JaePil Jung
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2019-01-18Avoid crashes on ES module resolution when module not found (#1546)Kevin (Kun) "Kassimo" Qian
2019-01-15 Add --prefetch flag for deps prefetch without running (#1475)Kevin (Kun) "Kassimo" Qian
2019-01-11libdeno: pipe more exception information thruRyan Dahl
2019-01-09Prevent segfault when eval throws an error (#1411)Kevin (Kun) "Kassimo" Qian
2019-01-07Use multimap with Persistent module handle to avoid IdentityHash collision ↵Kevin (Kun) "Kassimo" Qian
(#1466)
2019-01-06Implement console.groupCollapsed (#1452)Yoshiya Hinosawa
This implementation of groupCollapsed is intentionally different from the spec defined by whatwg. See the conversation in #1355 and #1363.
2019-01-06Add libdeno.builtinModules (#1463)Ryan Dahl
This is needed to support builtin modules like import { open } from "deno"
2019-01-03Add ESM support to libdenoRyan Dahl
Introduces deno_execute_mod() for executing ES modules.
2019-01-03Properly internalize V8 strings.Ryan Dahl
2019-01-02Add -glldb to clang flags for libdeno (#1446)Kevin (Kun) "Kassimo" Qian
2018-12-30print string with NULL '\0' (#1428)迷渡
2018-12-23Upgrade V8 to 7.2.502.16 (#1403)Ryan Dahl
2018-12-23libdeno: Remove unused members of DenoIsolateRyan Dahl
2018-12-20build: fix mac linking problemBert Belder
2018-12-20build: fold config("win_crt_agnostic") into config("deno_config")Bert Belder
2018-12-19build: make `cargo build` workBert Belder
2018-12-18Remove prebuilt v8 supportBert Belder
2018-12-17Remove from test_cc SnapshotterInitializesCorrectly (#1361)Ryan Dahl
Unfortunately V8 has a debug-only assert that checks that a SnapshotCreator actually created a snapshot: https://github.com/denoland/deno_third_party/blob/7d8c9aa769778140e1619f545e706bf34545509e/v8/src/api.cc#L571 This was not being triggered in Linux & Mac debug builds because we were using the prebuilt release V8 build. It was being triggered in Windows debug build because there is a prebuilt v8_debug.lib. However the Windows error went unnoticed because we only run release builds in CI.
2018-12-13Merge deno_new_snapshotter behavior into deno_new (#1318)Ryan Dahl
2018-12-11build: snapshot doesn't need source_mapRyan Dahl
Continuation of the work done in c113df.
2018-12-06Process source maps in Rust instead of JS (#1280)Ryan Dahl
- Improves speed and binary size significantly. - Makes deno_last_exception() output a JSON structure. - Isolate::execute and Isolate::event_loop now return structured, mapped JSError objects on errors. - Removes libdeno functions: libdeno.setGlobalErrorHandler() libdeno.setPromiseRejectHandler() libdeno.setPromiseErrorExaminer() In collaboration with Ryan Dahl.
2018-12-04Add deno_config struct for isolate creation. (#1277)Ryan Dahl
In preperation for adding other callbacks to libdeno.
2018-12-03Remove leaks from snapshot_creatorRyan Dahl
2018-12-03Fix test_cc memory leaks.Ryan Dahl
These were discovered using the LSAN. http://dev.chromium.org/developers/testing/leaksanitizer
2018-12-03gn snapshot template's target_name should be targetRyan Dahl
2018-11-29Add prebuilt/win/v8_debug.lib (#1249)Ryan Dahl
The windows debug build was broken due to libc link errors.