summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2019-04-01Upgrade to TypeScript 3.4.1 (#2027)Kitson Kelly
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-30check `EventTarget` params (#2018)迷渡
2019-03-30Avoid search prototype chain (#2019)迷渡
2019-03-28Add Process.stderrOutput() (#1828)Bartek Iwańczuk
2019-03-28Check `CustomEvent` constructor params (#2011)迷渡
2019-03-27Rewrite readFile and writeFile (#2000)Bartek Iwańczuk
Using open/read/write
2019-03-27remove `isTrusted`'s setter (#2006)迷渡
2019-03-26Do not close file on invalid seek mode (#2004)Kevin (Kun) "Kassimo" Qian
2019-03-26namespace reorg: libdeno and DenoCore to Deno.core (#1998)Kitson Kelly
2019-03-26Check `Event` constructor params (#1997)迷渡
2019-03-25Update ts_library_builder (#1920)Bartek Iwańczuk
2019-03-22remove `console` constructor (#1985)迷渡
2019-03-20Website and manual improvements (#1967)Ryan Dahl
2019-03-20pretty-print long stringsRyan Dahl
2019-03-20Improve pretty printing of objectsRyan Dahl
If an object has more than 5 elements, it is printed in abbeviated form displaying only the keys. This is useful in the REPL when inspecting large objects like the Deno namespace: > Deno { args, noColor, pid, env, exit, isTTY, execPath, chdir, cwd, File, open, stdin, stdout, stderr, read, write, seek, close, copy, toAsyncIterator, SeekMode, Buffer, readAll, mkdirSync, mkdir, makeTempDirSync, makeTempDir, chmodSync, chmod, removeSync, remove, renameSync, rename, readFileSync, readFile, readDirSync, readDir, copyFileSync, copyFile, readlinkSync, readlink, statSync, lstatSync, stat, lstat, symlinkSync, symlink, writeFileSync, writeFile, ErrorKind, DenoError, libdeno, permissions, revokePermission, truncateSync, truncate, connect, dial, listen, metrics, resources, run, Process, inspect, build, platform, version, Console, stringifyArgs, DomIterableMixin }
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