Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-19 | Rename //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-02-18 | build: fix deps for deno_runtime_declaration | Ryan Dahl | |
2019-02-18 | Add window.location | Ryan Dahl | |
2019-02-18 | Rationalise compiler ops (#1740) | Kitson Kelly | |
2019-02-13 | Use proper directory for cache files (#1763) | Philipp A | |
Operating systems have defined directories for cache files. That allows them to do smart things such as leaving them out when doing a backup, or deleting them when disk space gets low. Also a %home%\.deno folder on windows made no sense whatsoever. Fixes #481 | |||
2019-02-12 | Include deno version in source_code_hash (#1751) | Ryan Dahl | |
Fixes #472 | |||
2019-02-08 | Add deps to --info output. (#1720) | Ryan Dahl | |
Move module stuff into its own file. | |||
2019-02-06 | fix: do not load cache files when recompile flag is set (#1695) | jingweicai | |
2019-02-02 | Add --info flag to display file info (compiled code/source map) (#1647) | Kevin (Kun) "Kassimo" Qian | |
2019-01-30 | Refactor libdeno ES module interface. (#1624) | Ryan Dahl | |
Allows for future asynchronous module loading. Add support for import.meta.url Fixes #1496 | |||
2019-01-17 | mkdir should not be recursive by default (#1530) | Ryan Dahl | |
It should return an error if a file with the given path exists and recursive isn't specified. Because mode is not used on windows and rarely used in unix, it is made to the last parameter. In collaboration with Stefan Dombrowski <sdo451@gmail.com> | |||
2019-01-15 | Clippy fixes (also fixes build with nightly) (#1527) | Bert Belder | |
2019-01-14 | Update to rust 2018 edition | Andy Hayden | |
2019-01-09 | Native ES modules (#1460) | Ryan Dahl | |
* Native ES modules This is a major refactor of internal compiler. Before: JS and TS both were sent through the typescript compiler where their imports were parsed and handled. Both compiled to AMD JS and finally sent to V8 Now: JS is sent directly into V8. TS is sent through the typescript compiler, but tsc generates ES modules now instead of AMD. This generated JS is then dumped into V8. This should much faster for pure JS code. It may improve TS compilation speed. In the future this allows us to separate TS out of the runtime heap and into its own dedicated snapshot. This will result in a smaller runtime heap, and thus should be faster. Some tests were unfortunately disabled to ease landing this patch: 1. compiler_tests.ts which I intend to bring back in later commits. 2. Some text_encoding_test.ts tests which made the file invalid utf8. See PR for a discussion. Also worth noting that this is necessary to support WASM | |||
2019-01-03 | Revert "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. | |||
2019-01-03 | resolve_module: handle "." and ".." referrers (#1454) | Ryan Dahl | |
2019-01-03 | Add rust binding and test for deno_execute_mod() | Ryan Dahl | |
2019-01-02 | Happy new year! | Ryan Dahl | |
2018-12-27 | Lazily create .mime files only with mismatch/no extension (#1417) | Kevin (Kun) "Kassimo" Qian | |
2018-12-23 | Remove support for extensionless import (#1396) | Ryan Dahl | |
2018-12-12 | use byte array instead of string for code fetch (#1307) | F001 | |
2018-12-12 | Simplify src fetch logic and auto append suffix in cache search (#1322) | Kevin (Kun) "Kassimo" Qian | |
2018-12-11 | Remove dead code: ASSET_PREFIX | Ryan Dahl | |
2018-12-11 | deno_dir: move tests into submodule | Ryan Dahl | |
2018-12-11 | Minor rename for CodeFetch parameters | Ryan Dahl | |
This bring it inline with terminology used in V8 See ResolveCallback in v8.h | |||
2018-12-10 | Use stderr for exceptions (#1303) | Ryan Dahl | |
2018-12-07 | Don't crash when .mime file not exist in cache (#1291) | Kevin (Kun) "Kassimo" Qian | |
2018-12-06 | Process 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-30 | clippy fixes (#1250) | Andy Hayden | |
2018-11-29 | Replace mutex by atomics (#1238) | F001 | |
2018-11-16 | Support shebang | Ryan Dahl | |
2018-11-16 | Simplify NotFound code. | Ryan Dahl | |
2018-11-08 | Local filenames starting with 'http' shouldn't be remote. (#1167) | Ryan Dahl | |
2018-11-06 | Fix many of the clippy::pedantic warnings | Andy Hayden | |
2018-11-04 | Fix clippy warnings (#1149) | Andy Hayden | |
Run with: cargo clippy https://github.com/rust-lang-nursery/rust-clippy | |||
2018-10-29 | Separate source map from output code. | Kitson Kelly | |
2018-10-28 | Add application/x-typescript mime type support | Kevin (Kun) "Kassimo" Qian | |
2018-10-26 | Add separate http/https cache dirs to DENO_DIR (#971) | Kevin (Kun) "Kassimo" Qian | |
Also change remote relative import logic. | |||
2018-10-23 | Enforce media types | Kitson Kelly | |
2018-10-10 | src/http.rs -> src/http_util.rs | Ryan Dahl | |
So as not to conflict with http crate. | |||
2018-10-02 | Guess extensions on extension not provided (#859) | Kevin (Kun) "Kassimo" Qian | |
Fixes #857 | |||
2018-09-25 | Use lazy_static for HttpsConnector | Ryan Dahl | |
And rename net.rs to http.rs Share HTTP connection. | |||
2018-09-16 | Use `dirs::home_dir` to replace deprecated `std::env::home_dir` | Kevin (Kun) "Kassimo" Qian | |
2018-09-14 | [fs] Enable mode for `mkdir` on unix (#746) | Kevin (Kun) "Kassimo" Qian | |
2018-09-11 | Move writeFileSync to write_file.ts, add writeFile and tests (#728) | Kevin (Kun) "Kassimo" Qian | |
2018-09-09 | Better NotFound error handling in CodeFetch | Ryan Dahl | |
throwResolutionError was swallowing unrelated errors. | |||
2018-09-05 | Improve module resolution. | Ryan Dahl | |
Windows can't handle ":" in path names, so we use a special directory format .deno/deps/localhost_PORT4545/ to represent hosts with non-default ports. Fixes #645. | |||
2018-08-30 | Support https imports. | Ryan Dahl | |
Adds hyper-rustls to the build. Use ring for sha1 instead of "ssh1" crate. Fixes #528. | |||
2018-08-26 | Replaced read_file_sync{_string} with std::fs::read{_to_string} | Aaron Power | |
2018-08-23 | Normalize windows paths. | Ryan Dahl | |
Add resolve_module test |