summaryrefslogtreecommitdiff
path: root/cli/tsc/99_main_compiler.js
AgeCommit message (Collapse)Author
2021-04-25refactor(core): move op cache sync responsibility to rust space (#10340)Aaron O'Mullan
Even if bootstrapping the JS runtime is low level, it's an abstraction leak of core to require users to call `Deno.core.ops()` in JS space. So instead we're introducing a `JsRuntime::sync_ops_cache()` method, once we have runtime extensions a new runtime will ensure the ops cache is setup (for the provided extensions) and then loading/unloading plugins should be the only operations that require op cache syncs
2021-04-21refactor(core): simplify error handling (#10297)Aaron O'Mullan
- register builtin v8 errors in core.js so consumers don't have to - remove complexity of error args handling (consumers must provide a constructor with custom args, core simply provides msg arg)
2021-04-20feat(lsp): Implement textDocument/semanticTokens/full (#10233)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-19feat(lsp): implement textDocument/prepareCallHierarchy (#10061)Jean Pierre
2021-04-12refactor(deno): remove concept of bin & json ops (#10145)Aaron O'Mullan
2021-04-02feat(lsp): implement textDocument/foldingRange (#9900)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-03-24feat(lsp): implement textDocument/selectionRange (#9845)Jean Pierre
Ref: #8643
2021-03-16refactor(lsp): refactor completions and add tests (#9789)Kitson Kelly
2021-02-16feat(lsp): Implement `textDocument/signatureHelp` (#9330)Yuki Tanaka
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-02-05feat(lsp): add TS quick fix code actions (#9396)Kitson Kelly
2021-02-01fix(cli): fix handling of non-normalized specifier (#9357)Yoshiya Hinosawa
2021-02-01feat(lsp): add references code lens (#9316)Kitson Kelly
2021-01-22fix(lsp): handle mbc documents properly (#9151)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-01-13feat(lsp): Add textDocument/implementation (#9071)Hirochika Matsumoto
Ref #8643
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-05refactor(core): simplify Deno.core initialisation, remove stale TODO (#8847)Bartek Iwańczuk
This commit rewrites initialisation of the "shared queue" and in effect prevents from double execution of "core/core.js" and "core/error.js". Previously both of these files were executed every time a "JsRuntime" was created. That lead to a situation where one copy of each script was included in the snapshot and then another copy would be executed after loading the snapshot. Effectively "JsRuntime::shared_init" was removed; instead execution of those scripts and actual initialisation of shared queue was split into two helper functions: "JsRuntime::js_init" and "JsRuntime::share_queue_init". Additionally stale TODO comments were removed.
2020-12-30fix(lsp): handle ts debug errors better (#8914)Kitson Kelly
Fixes #8864
2020-12-30feat(lsp): Implement textDocument/rename (#8910)hrsh7th
2020-12-24fix(lsp): provide diagnostics for unresolved modules (#8872)Kitson Kelly
2020-12-21refactor: rewrite lsp to be async (#8727)Luca Casonato
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2020-12-16refactor(lsp): optimise static assets (#8771)Kitson Kelly
Fixes #8158
2020-12-08feat(lsp): basic support for textDocument/completion (#8651)Luca Casonato
2020-12-07feat: add mvp language server (#8515)Kitson Kelly
Resolves #8400
2020-11-23fix(cli/tsc): allow non-standard extensions on imports (#8464)Nayeem Rahman
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-11-03refactor(cli): cleanup compiler snapshot and tsc/module_graph (#8220)Kitson Kelly
2020-11-02refactor(cli): migrate runtime compile/bundle to new infrastructure (#8192)Kitson Kelly
Fixes #8060
2020-10-28fix(cli): restore tripleslash lib refs support (#8157)Kitson Kelly
Fixes #8147
2020-10-27fix(cli): do not throw on empty typescript files (#8143)Kitson Kelly
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com> Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-26refactor(cli): rewrite Deno.transpileOnly() to use SWC (#8090)Bartek Iwańczuk
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-10-23refactor(cli): move bundle check to new infrastructure (#8071)Kitson Kelly
2020-10-23refactor(cli): migrate run and cache to new infrastructure (#7996)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2020-10-21feat(cli): add types for WeakRef/FinalizationRegistry (#8056)Kitson Kelly
Fixes #8051
2020-10-14refactor(cli): add tsc2 (#7942)Kitson Kelly
Ref #7225
2020-10-01refactor: add concept of 'legacy' compiler to enable non-breaking ↵Kitson Kelly
refactoring (#7762)
2020-09-26refactor: use JsRuntime to implement TSC (#7691)Bartek Iwańczuk
This commits removes "CompilerWorker" in favor of using "JsRuntime". "cli/ops/compiler.rs" has been removed in favor of inline registration of ops in "cli/tsc.rs"
2020-09-26refactor: prune unneeded JS code (#7689)Bartek Iwańczuk
2020-09-25refactor: remove tsc/40_error_stack.js (#7673)Bartek Iwańczuk
This commit removes cli/tsc/40_error_stack.js as it is not needed in TSC host. All errors originating in TSC are terminal and don't require source mapping hence we can rely on default stack traces provided by deno_core. Additionally tsc/06_util.js was removed and its code moved to tsc/99_main_compiler.js
2020-09-23fix: ignore fileExists in tsc host (#7635)Kitson Kelly
Fixes #7630
2020-09-18refactor: deno_fetch op crate (#7524)Bartek Iwańczuk
2020-09-16refactor: remove dispatch_json.js from cli/rt and cli/tsc (#7521)Bartek Iwańczuk
Instead use Deno.core.jsonOpSync and Deno.core.jsonOpAsync
2020-09-14refactor: use ParsedModule and improve MediaTypes enum (#7456)Kitson Kelly
2020-09-12refactor: improve tsc diagnostics (#7420)Kitson Kelly
2020-09-09fix(tsc): config resolution using relative paths (#7392)Bartek Iwańczuk
2020-09-08feat(unstable): enable isolatedModules by default (#7327)Luca Casonato
2020-09-04fix: don't expose globalThis.__bootstrap (#7344)Kitson Kelly
2020-08-31feat(unstable): add Deno.futime and Deno.futimeSync (#7266)Casper Beyer
2020-08-31refactor: Compiler config in Rust (#7228)Bartek Iwańczuk
* port tsc_config.rs * cleanup options * bring back allowNonTsExtension * try * fix test * fix test2 * move config for bundling * remove Transpile compile request * remove dead code * remove more dead code * remove checkJs regex * fix * handle config str for runtime APIs * lint * runtimeCompile config in Rust * runtimeCompile and runtimeTranspile config in Rust * fix * remove lint supression * upgrade: jsonc-parser 0.13.0 * remove unneeded to_string() * upgrade: jsonc-parser 0.14.0 * remove AsRef<str>
2020-08-31refactor: remove dead code in tsc (#7277)Bartek Iwańczuk
2020-08-10fix(unstable): add missing globals to diagnostics (#6988)Luca Casonato