Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2018-08-23 | First pass at HTTP imports | Ryan Dahl | |
Implement --reload Integrate hyper errors into DenoError In collaboration with Tommy Savaria <tommy.savaria@protonmail.ch> | |||
2018-08-21 | Better error handling in src/handlers.rs | Ryan Dahl | |
Introduces error codes that are shared between JS/RS Fixes #526. | |||
2018-08-09 | Add fs::read_file_sync_string | Ryan Dahl | |
2018-08-08 | Organize libdeno functions. | Ryan Dahl | |
2018-08-08 | Hacky error handling for Url::from_file_path. | Ryan Dahl | |
2018-08-02 | Update repo links to denoland. | Ryan Dahl | |
2018-07-29 | Implement CodeCache | Ryan Dahl | |