summaryrefslogtreecommitdiff
path: root/js/os.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-02-18Rationalise compiler ops (#1740)Kitson Kelly
2019-02-15Add execPath function (#1743)Dmitry Sharshakov
2019-02-13Cleanup Deno namespace (#1765)Kitson Kelly
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-10Rationalise startup for compiler/main (#1737)Kitson Kelly
2019-02-08Adds deno.noColor (#1716)Ryan Dahl
2019-02-02Add isTTY function (#1622)Dmitry Sharshakov
2019-02-02Compiler cleanups and minor improvements (#1656)Kitson Kelly
2019-01-28Split out compiler snapshot (#1566)Kitson Kelly
Speeds up startup time, reduces runtime heap size.
2019-01-23fix: set env,key for string and value for string (#1567)jingweicai
2019-01-21chore: update license lines (#1557)Yoshiya Hinosawa
2019-01-06Add deno.pid (#1464)Ryan Dahl
2019-01-03Revert "use byte array instead of string for code fetch (#1307)" (#1455)Ryan Dahl
This reverts commit e976b3e0414dc768624b77e431ee7f55b03b76a4. There is nothing technically wrong with this commit, but it's adding complexity to a big refactor (native ES modules #975). Since it's not necessary and simply a philosophical preference, I will revert for now and try to bring it back later.
2018-12-12use byte array instead of string for code fetch (#1307)F001
2018-12-11Minor rename for CodeFetch parametersRyan Dahl
This bring it inline with terminology used in V8 See ResolveCallback in v8.h
2018-11-02Rename EnvPair to KeyValue.Ryan Dahl
2018-10-29Separate source map from output code.Kitson Kelly
2018-10-23Enforce media typesKitson Kelly
2018-10-17Optimization: Reuse ArrayBuffer during serialization.Ryan Dahl
2018-10-14Align JSDoc to style guide.Kitson Kelly
2018-10-07Updates to js to clean up default libraryKitson Kelly
2018-10-04Rename fbs to msg.Ryan Dahl
2018-10-04Rename flatbuffer base.msg to base.innerRyan Dahl
This better disambiguates with the msg_generated.ts module, which in JS we call "fbs", but would be better called "msg".
2018-09-12feat: add deno.makeTempDirYoshiya Hinosawa
2018-09-12Implement deno.rename() (#731)Mani Maghsoudlou
2018-09-11Implement deno.stat() and deno.lstat()Sajjad Hashemian
2018-09-11Move writeFileSync to write_file.ts, add writeFile and tests (#728)Kevin (Kun) "Kassimo" Qian
2018-09-10Implement deno.mkdir()Sajjad Hashemian
2018-09-10Implement deno.readFile()Ryan Dahl
As an example of how to implement ops that have both sync and async versions.
2018-09-10fbs_util.ts -> dispatch.tsRyan Dahl
And send() -> sendSync()
2018-09-09Remove namespace from src/msg.fbsRyan Dahl
2018-09-09Add better assert message for CodeFetchResRyan Dahl
2018-09-07Add and edit commentsJ2P
2018-09-04lStat -> lstatRyan Dahl
2018-09-04Implement renameSyncMani Maghsoudlou
2018-09-03Implement mkdirSyncSajjad Hashemian
2018-09-01Minor code refactoringShinDarth
2018-09-01Bundle most types into globals.d.ts (#642)Kitson Kelly
2018-08-31Document lStatSync & statSync and correct FileInfo.Aaron Power
2018-08-31Implemented deno.env and refactored flags.rsAaron Power
2018-08-31Refactor libdeno.send() code to reduce boilerplate.Ryan Dahl
Also removes assignCmdId as it's currently unused.
2018-08-30formatRyan Dahl
2018-08-30Implemented statSync and lStatSyncAaron Power
2018-08-29Implement makeTempDirSync()Bert Belder
2018-08-25Prevent circular imports in ts code (#576)Francesco Borzì
2018-08-22Implement writeFileSyncRyan Dahl
In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch>
2018-08-21Better error handling in src/handlers.rsRyan Dahl
Introduces error codes that are shared between JS/RS Fixes #526.