Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-14 | Fix JSON Modules (#1514) | Kitson Kelly | |
2019-01-13 | Cleanup compiler and re-enable tests (#1512) | Kitson Kelly | |
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-06 | Revert "Split Runner from Compiler" (#1462) | Ryan Dahl | |
This reverts commit 3d03f5b0cb3c513e449f3aaa5d35c493b72f47b4. | |||
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 | Remove assertion for empty modules (#1450) | Satya Rohith | |
2019-01-02 | Happy new year! | Ryan Dahl | |
2018-12-12 | use byte array instead of string for code fetch (#1307) | F001 | |
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 | Upgrade Prettier to support BigInt syntax in TS | Ryan Dahl | |
2018-11-20 | Split Runner from Compiler | Kitson Kelly | |
2018-11-09 | Ensure global type instances are available. | Kitson Kelly | |
2018-11-06 | Improve preparing stack traces | Kitson Kelly | |
2018-11-05 | Decode main.js.map during snapshotting. | Ryan Dahl | |
Pro: time ./out/debug/deno tests/error_001.ts 3.0s -> 0.4s Con: time ./tool/build.py snapshot 33s -> 1m52s out/debug/gen/snapshot_deno.bin 39M -> 121M | |||
2018-11-01 | Fix performance regression with JSON Modules | Kitson Kelly | |
2018-10-30 | Add ability to load JSON as modules (#1065) | Kitson Kelly | |
2018-10-29 | Separate source map from output code. | Kitson Kelly | |
2018-10-24 | Support CheckJS | Kitson Kelly | |
2018-10-23 | Revert "Support CheckJS" | Ryan Dahl | |
Broken in master. This reverts commit dd230d520b5599c0e51cf30245a567f07b3cfb28. | |||
2018-10-23 | Support CheckJS | Kitson Kelly | |
2018-10-23 | Enforce media types | Kitson Kelly | |
2018-10-14 | Align JSDoc to style guide. | Kitson Kelly | |
2018-10-11 | Replace globals.d.ts with lib.deno_runtime.d.ts | Kitson Kelly | |
2018-10-05 | Hide compiler module (#909) | Kitson Kelly | |
Fixes #876 | |||
2018-10-04 | Use underscores in filenames. | Ryan Dahl | |
2018-09-27 | Print 'Compiling' when compiling TS. | Ryan Dahl | |
2018-09-25 | format | Ryan Dahl | |
2018-09-24 | Add flag --recompile (#801) | Bartek Iwańczuk | |
2018-09-09 | Better NotFound error handling in CodeFetch | Ryan Dahl | |
throwResolutionError was swallowing unrelated errors. | |||
2018-09-09 | Add type aliases for sourceCode and outputCode | Daniel Ramos | |
2018-09-06 | Cleanup public API of DenoCompiler | Kitson Kelly | |
2018-09-06 | Integrate format diagnostic host in DenoCompiler | Kitson Kelly | |
2018-09-06 | Fix TypeScript exports in bundle | Kitson Kelly | |
2018-09-06 | Implementing --deps flag | Mirko Jotic | |
- Adding a ModuleId type alias to specify original url or local file of dependency - Modifying ModuleMetaData class to contain ModuleId - Adding a --deps flag | |||
2018-09-05 | Mark APIs at internal and include JSDoc in types | Kitson Kelly | |
2018-09-03 | Format. | Ryan Dahl | |
2018-09-02 | Fix circular dependencies | Kitson Kelly | |
2018-09-01 | Minor code refactoring | ShinDarth | |
2018-09-01 | Remove lib.globals.d.ts | Kitson Kelly | |
2018-09-01 | Bundle most types into globals.d.ts (#642) | Kitson Kelly | |
2018-08-28 | Updates to compiler.ts comments and logging. | Kitson Kelly | |
2018-08-28 | Two-pass module evaluation. | Kitson Kelly | |
Plus changes to tests to accomodate. | |||
2018-08-25 | Prevent circular imports in ts code (#576) | Francesco Borzì | |
2018-08-24 | Integrate ScriptSnapshot into ModuleMetaData | Kitson Kelly | |
2018-08-23 | Improve DenoCompiler.makeDefine and localRequire | Kitson Kelly | |
2018-08-22 | runtime.ts refactor into compiler.ts (#564) | Ryan Dahl | |
Adds compiler_test.ts |