Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-30 | chore: upgrade Rust to 1.54.0 (#11554) | Yusuke Tanaka | |
2021-07-25 | fix(lsp): handle importmaps properly (#11496) | Kitson Kelly | |
Fixes: #11146 Fixes: #11456 Fixes: #10439 | |||
2021-07-08 | feat(core): return v8::Value from JsRuntime::execute_script (#11129) | Bartek Iwańczuk | |
This commit changes return type of JsRuntime::execute_script to include v8::Value returned from evaluation. When embedding deno_core it is sometimes useful to be able to inspect script evaluation value without the hoops of adding ops to store the value on the OpState. v8::Global<v8::Value> is used so consumers don't have to pass scope themselves. | |||
2021-06-25 | feat(lsp): dependency hover information (#11090) | Kitson Kelly | |
2021-06-22 | refactor: unify JavaScript script execution method (#11043) | Bartek Iwańczuk | |
This commit renames "JsRuntime::execute" to "JsRuntime::execute_script". Additionally same renames were applied to methods on "deno_runtime::Worker" and "deno_runtime::WebWorker". A new macro was added to "deno_core" called "located_script_name" which returns the name of Rust file alongside line no and col no of that call site. This macro is useful in combination with "JsRuntime::execute_script" and allows to provide accurate place where "one-off" JavaScript scripts are executed for internal runtime functions. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2021-06-22 | feat(cli): support "types" when type checking (#10999) | Kitson Kelly | |
Fixes #10677 | |||
2021-06-19 | fix(lsp): do not rename in strings and comments (#11041) | David Sherret | |
2021-06-15 | Remove various unnecessary allow(clippy) declarations (#10971) | Ryan Dahl | |
2021-06-05 | fix(lsp): refactor, fix issues and add benchmark for code lens (#10841) | Kitson Kelly | |
2021-06-02 | fix(#10815): lsp only responds to formatting for md, json, jsonc (#10816) | Kitson Kelly | |
Fixes #10815 | |||
2021-05-29 | fix(#10765): lsp import fixes include extensions (#10778) | Kitson Kelly | |
Fixes #10765 | |||
2021-05-28 | feat(cli): upgrade to TypeScript 4.3 (#9960) | Kitson Kelly | |
2021-05-11 | feat(lsp): add internal debugging logging (#10438) | Kitson Kelly | |
Ref: #10368 | |||
2021-05-10 | refactor(cli): replace loading file for --config flag with generic structure ↵ | Bartek Iwańczuk | |
(#10481) Currently file passed to --config file is parsed using TsConfig structure that does multiple things when loading the file. Instead of relying on that structure I've introduced ConfigFile structure that can be updated to sniff out more fields from the config file in the future. | |||
2021-05-06 | refactor(ops): replace `ZeroCopyBuf` arg by 2nd generic deserializable arg ↵ | Aaron O'Mullan | |
(#10448) | |||
2021-05-02 | clean(cli): prefix all op functions with op_ (#10463) | Aaron O'Mullan | |
Makes the codebase more searchable and helps distinguish op functions from helper functions Besides tests/examples/benches this pattern appears to be used everywhere else in the codebase | |||
2021-05-01 | fix(console): Remove `console.timeStamp` from types (#10455) | Liam Murphy | |
Fixes #10444 | |||
2021-04-25 | refactor(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-20 | feat(lsp): Implement textDocument/documentSymbol (#9981) | Jean Pierre | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-04-20 | feat(lsp): Implement textDocument/semanticTokens/full (#10233) | Jean Pierre | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-04-19 | feat(lsp): implement textDocument/prepareCallHierarchy (#10061) | Jean Pierre | |
2021-04-12 | refactor(deno): remove concept of bin & json ops (#10145) | Aaron O'Mullan | |
2021-04-06 | fix(lsp): folding range adjustment panic (#10030) | Kitson Kelly | |
Fixes #10029 | |||
2021-04-02 | feat(lsp): implement textDocument/foldingRange (#9900) | Jean Pierre | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-04-01 | fix(lsp): ensure insert_text is passed back on completions (#9951) | Kitson Kelly | |
Fixes #9920 | |||
2021-03-31 | refactor: new optimized op-layer using serde_v8 (#9843) | Aaron O'Mullan | |
- Improves op performance. - Handle op-metadata (errors, promise IDs) explicitly in the op-layer vs per op-encoding (aka: out-of-payload). - Remove shared queue & custom "asyncHandlers", all async values are returned in batches via js_recv_cb. - The op-layer should be thought of as simple function calls with little indirection or translation besides the conceptually straightforward serde_v8 bijections. - Preserve concepts of json/bin/min as semantic groups of their inputs/outputs instead of their op-encoding strategy, preserving these groups will also facilitate partial transitions over to v8 Fast API for the "min" and "bin" groups | |||
2021-03-26 | remove macro_use (#9884) | Ryan Dahl | |
2021-03-26 | refactor(lsp): remove unused code (#9897) | Yusuke Tanaka | |
2021-03-25 | upgrade: Rust 1.51.0 (#9895) | Yusuke Tanaka | |
2021-03-25 | feat(lsp): add import completions (#9821) | Kitson Kelly | |
2021-03-24 | feat(lsp): implement textDocument/selectionRange (#9845) | Jean Pierre | |
Ref: #8643 | |||
2021-03-16 | refactor(lsp): refactor completions and add tests (#9789) | Kitson Kelly | |
2021-03-10 | fix(lsp): allow on disk files to change (#9746) | Kitson Kelly | |
Fixes #9348 | |||
2021-03-01 | fix(lsp): improve exception handling on tsc snapshots (#9628) | Kitson Kelly | |
Refs #9348 | |||
2021-02-25 | reafactor(lsp): use generics with JSON values (#9587) | Kitson Kelly | |
2021-02-18 | fix(lsp): handle data URLs properly (#9522) | Kitson Kelly | |
Fixes #9514 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2021-02-18 | fix(lsp): document spans use original range (#9525) | Kitson Kelly | |
Fixes: #9444 Co-authored-by: Ryan Dahl <ry@tinyclouds.org> | |||
2021-02-17 | Make ModuleSpecifier a type alias, not wrapper struct (#9531) | Ryan Dahl | |
2021-02-16 | feat(lsp): Implement `textDocument/signatureHelp` (#9330) | Yuki Tanaka | |
Co-authored-by: Kitson Kelly <me@kitsonkelly.com> | |||
2021-02-15 | fix(lsp): handle cached type dependencies properly (#9500) | Kitson Kelly | |
2021-02-12 | fix(lsp): properly handle static assets (#9476) | Kitson Kelly | |
2021-02-12 | chore: Update to Rust 1.50.0 (#9479) | Kitson Kelly | |
2021-02-12 | feat(lsp): add deno cache code actions (#9471) | Kitson Kelly | |
2021-02-10 | fix(lsp): handle type deps properly (#9436) | Kitson Kelly | |
Fixes #9425 | |||
2021-02-08 | feat(lsp): add implementations code lens (#9441) | Kitson Kelly | |
2021-02-08 | fix(lsp): remove Sources mutex | Ben Noordhuis | |
The mutex was used to hide the fact that the Sources object mutates itself when it's queried. Be honest about that and mark everything that directly or indirectly mutates it as `mut`. This is a follow-up to commit 2828690fc7bb510c3248dda7b1cda8793e789ca6 from last month ("fix(lsp): fix deadlocks, use one big mutex (#9271)") | |||
2021-02-05 | feat(lsp): add TS quick fix code actions (#9396) | Kitson Kelly | |
2021-02-01 | feat(lsp): add references code lens (#9316) | Kitson Kelly | |
2021-01-29 | Update lspower dependency (#9179) | hvithrafn | |
2021-01-26 | fix(lsp): fix deadlocks, use one big mutex (#9271) | Ben Noordhuis | |
The LSP code had numerous places where competing threads could take out out locks in different orders, making it very prone to deadlocks. This commit sidesteps the entire issue by switching to a single lock. The above is a little white lie: the Sources struct still uses a mutex internally to avoid having to boil the ocean (because being honest about what it does involves changing all its methods to `&mut self` but that ripples out extensively...) I'll save that one for another day. |