summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2019-03-19Rename //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.
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-15Fix TextDecoder for SharedArrayBuffer backed TypedArray (#1940)Ryan Dahl
2019-03-12Make timers act like normal opsRyan Dahl
This is in preperation for core integration.
2019-03-11Make some renames in js/build.ts (#1912)Ryan Dahl
* Replace Deno.OSType enum with Deno.OperatingSystem type alias * Add arm64 to supported CPU architectures * add type alias for cpu arch Deno.Arch
2019-03-11Rename Deno.build.gnArgs to Deno.build.argsRyan Dahl
2019-03-11Add OSType enum (#1909)Vincent LE GOFF
2019-03-09Migrate from tslint to eslint for linting (#1905)Kitson Kelly
2019-03-07Remove 'deno' builtin module (#1895)Kitson Kelly
2019-03-07Upgrade deno_std to 395392 (#1902)Ryan Dahl
2019-03-07Cleanup node_modules, update packages (#1894)Kitson Kelly
And fix new lint issues.
2019-03-06Upgrade deno_std (#1892)Ryan Dahl
A major API change was that asserts are imported from testing/asserts.ts now rather than testing/mod.ts and assertEqual as renamed to assertEquals to conform to what is most common in JavaScript.
2019-03-06Reorganize version and platform into Deno.build and Deno.version (#1879)Kevin (Kun) "Kassimo" Qian
2019-03-06Replace deno.land/x/std with deno.land/std (#1890)Andy Hayden
2019-03-04Allow inspection and revocation of permissions (#1875)Simon Menke
2019-03-03libdeno: remove `prints_newline` parameter from libdeno.print()Bert Belder
2019-03-01Add Deno.version.gnArgs (#1845)Yoshiya Hinosawa
To display specific build args passed to GN.
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-25Fix console.table display of Map and move tests to unit test (#1839)Kevin (Kun) "Kassimo" Qian
2019-02-25Upgrade deno_std (#1833)Ryan Dahl
2019-02-25Fix copyright header (#1832)Ryan Dahl
2019-02-21manual: add Deno.run example (#1811)Bartek Iwańczuk
2019-02-19remove global_eval.ts (#1813)Yoshiya Hinosawa
2019-02-18Add window.locationRyan Dahl
2019-02-18Add back typescript version number and add Deno.version object. (#1788)Yoshiya Hinosawa
2019-02-18Add `seek` and implement `Seeker` on `File` (#1797)Kevin (Kun) "Kassimo" Qian
This patch contains a special hack that circumvents the current tokio seek problem. tokio `seek` is implemented to take ownership of the original File and emit a new one in its future, which conflicts with the design of ResourceTable. To avoid the problem, the current hack makes the FsFile resource an Option which we could `take` the value ownership out of it. We then convert the tokio File into a Rust std File, perform the seek, and then put it back into the resource. This might be able to drop this hack after https://github.com/tokio-rs/tokio/pull/785 lands.
2019-02-18Rationalise compiler ops (#1740)Kitson Kelly
2019-02-18refactor: replace any in console (#1804)Yoshiya Hinosawa
2019-02-16remove dead code (#1796)Yoshiya Hinosawa
2019-02-15Add execPath function (#1743)Dmitry Sharshakov
2019-02-15Fix behavior for extensionless files with .mime file (#1779)Kevin (Kun) "Kassimo" Qian
2019-02-15feat: env option in run api (#1773)Yoshiya Hinosawa
2019-02-13Cleanup Deno namespace (#1765)Kitson Kelly
2019-02-12Revert "Rewrite tools/format.py in deno (#1528)" (#1752)Ryan Dahl
tools/format.ts is making CI flaky and it's difficult to run right now. Reverting to tools/format.py This reverts commit f19622e7681b7753788137706e535f72c3ebb38e.
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-11Fix REPL formatting (#1744)Kevin (Kun) "Kassimo" Qian
2019-02-11REPL multiline support with recoverable errors (#1731)Kevin (Kun) "Kassimo" Qian
2019-02-11fix: improve formatting (#1732)Yoshiya Hinosawa
2019-02-10Rationalise startup for compiler/main (#1737)Kitson Kelly
2019-02-10Respect NO_COLOR in TypeScript output (#1736)Bartek Iwańczuk
2019-02-10Set globals on compiler startup (#1735)Bartek Iwańczuk
2019-02-09Support scoped variables, unblock REPL async op, and REPL error colors (#1721)Kevin (Kun) "Kassimo" Qian
2019-02-08Adds deno.noColor (#1716)Ryan Dahl
2019-02-08Add --allow-read (#1689)Dmitry Sharshakov
Co-authored-by: Greg Altman <g.s.altman@gmail.com>
2019-02-06Add missing run permission in test function (#1697)JaePil Jung
2019-02-05Fixed test code (#1688)JaePil Jung
2019-02-05Add WebAssembly to runtime library (#1677)Kitson Kelly
This also modifies the `ts_library_builder` to support inlining assets. Includes integration tests from @sh7dm
2019-02-02Add isTTY function (#1622)Dmitry Sharshakov
2019-02-02Compiler cleanups and minor improvements (#1656)Kitson Kelly