summaryrefslogtreecommitdiff
path: root/js/libdeno.ts
AgeCommit message (Collapse)Author
2019-03-26namespace reorg: libdeno and DenoCore to Deno.core (#1998)Kitson Kelly
2019-03-18Integrate //core into existing code baseRyan Dahl
This disables a few tests which are broken still: - tests/error_004_missing_module.test - tests/error_005_missing_dynamic_import.test - tests/error_006_import_ext_failure.test - repl_test test_set_timeout - repl_test test_async_op - repl_test test_set_timeout_interlaced - all of permission_prompt_test
2019-03-09Migrate from tslint to eslint for linting (#1905)Kitson Kelly
2019-03-07Remove 'deno' builtin module (#1895)Kitson Kelly
2019-02-19remove global_eval.ts (#1813)Yoshiya Hinosawa
2019-02-12Add Deno global namespace (#1748)Kitson Kelly
Resolves #1705 This PR adds the Deno APIs as a global namespace named `Deno`. For backwards compatibility, the ability to `import * from "deno"` is preserved. I have tried to convert every test and internal code the references the module to use the namespace instead, but because I didn't break compatibility I am not sure. On the REPL, `deno` no longer exists, replaced only with `Deno` to align with the regular runtime. The runtime type library includes both the namespace and module. This means it duplicates the whole type information. When we remove the functionality from the runtime, it will be a one line change to the library generator to remove the module definition from the type library. I marked a `TODO` in a couple places where to remove the `"deno"` module, but there are additional places I know I didn't mark.
2019-02-09Support scoped variables, unblock REPL async op, and REPL error colors (#1721)Kevin (Kun) "Kassimo" Qian
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2019-01-06Add libdeno.builtinModules (#1463)Ryan Dahl
This is needed to support builtin modules like import { open } from "deno"
2018-12-23Remove support for extensionless import (#1396)Ryan Dahl
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-11-09Cleanups for runtime lib declarations.Kitson Kelly
2018-10-24Add libdeno.shared global shared ArrayBuffer.Ryan Dahl
2018-10-19Add missing copyrights (#1024)ztplz
2018-10-12Fix promise reject issue (#936)Kevin (Kun) "Kassimo" Qian
2018-10-04Use underscores in filenames.Ryan Dahl
2018-09-27Support zero-copy data in libdeno.send(). (#838)Ryan Dahl
This is a large API refactor of deno.h which replaces deno_send() and deno_set_response() with deno_respond(). It also adds a req_id parameter to the deno_recv_cb. Make writeFile/writeFileSync use it.
2018-09-25console.warn goes to stderr (#810)Kevin (Kun) "Kassimo" Qian
2018-08-26refactor: add and use libdeno.setGlobalErrorHandler instead of window.onerrorYoshiya Hinosawa
2018-08-25Prevent circular imports in ts code (#576)Francesco Borzì