| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-07-31 | `cargo clippy --fix` | Lukas Wirth | -4/+4 | |
| 2025-07-30 | Abtract away json protocol for proc-macro-srv | Lukas Wirth | -1/+1 | |
| 2025-07-03 | Add `fn load_workspace_into_db` variant for `ra_ap_load_cargo`'s `fn ↵ | Vincent Esche | -8/+25 | |
| load_workspace` | ||||
| 2025-07-03 | fix: Do not warn about proc-macro srv when sysroot is missing | Lukas Wirth | -14/+26 | |
| 2025-07-03 | Restructure proc-macro loading erros, differentiate hard error property on kind | Lukas Wirth | -22/+18 | |
| 2025-06-16 | feat: Show what cargo metadata is doing in status | Lukas Wirth | -1/+1 | |
| 2025-06-12 | Fix comparison of proc macros | Chayim Refael Friedman | -1/+5 | |
| Comparing the TypeId is not enough, they also contain data. | ||||
| 2025-05-05 | refactor: Remove unnecessary `AsAny` trait | Lukas Wirth | -4/+0 | |
| 2025-05-01 | remove a couple of clones | Matthias Krüger | -1/+1 | |
| 2025-04-19 | allow using `null` to unset an environment variable | jyn | -1/+1 | |
| this makes three changes: - all callsites of `toolchain::command` are changed to use `command(path, extra_env)`, instead of manually adding the env after the fact. - all `map<str, str>` are changed to `map<str, option<str>>`. - `command` checks for None and calls `env_remove` if so. this caught several places where environment variables weren't being propagated: - when running `rustc --print=target-libdir` - when running `cargo rustc -- --print=target-spec-json` - when running the custom DiscoverLinkedProjects config. I *think* this is for use with non-cargo build systems, so I didn't change it. | ||||
| 2025-04-04 | prefer default over new | BenjaminBrienen | -1/+1 | |
| 2025-03-29 | fix: Fix, clarify and require a value for `proc_macro_cwd` of `CrateData` | Lukas Wirth | -1/+1 | |
| 2025-03-23 | chore: Remove unused dependencies | Lukas Wirth | -1/+0 | |
| 2025-03-15 | cargo fmt | BenjaminBrienen | -8/+9 | |
| 2025-03-12 | Salsify the crate graph | Chayim Refael Friedman | -19/+12 | |
| I.e. make it not one giant input but multiple, for incrementality and decreased memory usage for Salsa 3 reasons. | ||||
| 2025-03-10 | internal: port rust-analyzer to new Salsa | David Barsky | -1/+1 | |
| 2025-03-07 | Log build script error output in `load_cargo::load_workspace_at` | Arthur Baars | -0/+8 | |
| 2025-02-17 | Use correct working directory for non-workspace proc-macro execution | Mehul Arora | -1/+0 | |
| 2025-02-05 | Do not include excluded files even when the client opens them | Chayim Refael Friedman | -1/+3 | |
| This require a pretty big modification, because this is a new kind of file: exists - but ignore it. | ||||
| 2025-01-24 | Explicitly add buildfiles when constructing ProjectFolders | David Richey | -0/+18 | |
| 2025-01-16 | Partially back out "fix: Fix sourceroot construction for virtual manifests" | Lukas Wirth | -4/+1 | |
| 2025-01-02 | Store token trees in contiguous `Vec` instead of as a tree | Chayim Refael Friedman | -5/+5 | |
| I expected this to be faster (due to less allocations and better cache locality), but benchmarked it is not (neither it is slower). Memory usage, however, drops by ~50mb (of `analysis-stats .`). I guess tt construction is just not hot. This also simplifies using even less memory for token trees by compressing equal span, which I plan to do right after. Some workflows are more easily expressed with a flat tt, while some are better expressed with a tree. With the right helpers, though (which was mostly a matter of trial and error), even the worst workflows become very easy indeed. | ||||
| 2024-12-30 | Move proc-macro protocol into legacy module | Lukas Wirth | -1/+1 | |
| 2024-12-30 | Decouple proc-macro server protocol from the server implementation | Lukas Wirth | -6/+6 | |
| 2024-12-18 | Remove salsa from proc-macro server dep tree | Lukas Wirth | -1/+1 | |
| 2024-12-12 | fix: Fix sourceroot construction for virtual manifests | Lukas Wirth | -41/+5 | |
| 2024-12-09 | Fix config guard lock for ratoml tests | Lukas Wirth | -2/+2 | |
| 2024-12-07 | Watch for user config ratoml | Ali Bektas | -2/+22 | |
| 2024-09-30 | Gate `#[test]` expansion under `cfg(test)`. | Chayim Refael Friedman | -4/+1 | |
| This will mean users opting to not activate `cfg(test)` will lose IDE experience on them, which is quite unfortunate, but this is unavoidable if we want to avoid false positives on e.g. diagnostics. The real fix is to provide IDE experience even for cfg'ed out code, but this is out of scope for this PR. | ||||
| 2024-09-30 | Provide an config option to not set `cfg(test)` | Chayim Refael Friedman | -0/+3 | |
| 2024-09-26 | Include buildfiles in vfs | David Richey | -0/+5 | |
| 2024-09-11 | Properly set the working directory for proc-macro execution | Lukas Wirth | -1/+10 | |
| 2024-09-11 | Lift out workspace related data into a separate query to preserve crategraph ↵ | Lukas Wirth | -6/+10 | |
| deduplication | ||||
| 2024-08-12 | Auto merge of #17864 - Veykril:lsif, r=Veykril | bors | -0/+10 | |
| fix: Build and run build scripts in lsif command | ||||
| 2024-08-12 | Build and run build scripts in lsif command | Lukas Wirth | -0/+10 | |
| 2024-08-09 | Use Sender instead of boxed closure in vfs | mo8it | -2/+1 | |
| 2024-08-06 | Replace `[package.repository] = "…"` of published crates with ↵ | Vincent Esche | -1/+1 | |
| `[package.repository.workspace] = true` | ||||
| 2024-08-06 | Unify package descriptions by adding references to "rust-analyzer" | Vincent Esche | -1/+1 | |
| With the lack of a README on the individually published library crates and the somewhat cryptic `ra_ap_` prefix it is hard to figure out where those crates belong to, so mentioning "rust-analyzer" feels like auseful hint there. | ||||
| 2024-08-06 | Add repository URL for published crates' missing `[package.repository]` fields | Vincent Esche | -0/+1 | |
| 2024-08-06 | Replace `"TBD"` with more helpful desciptions in published crates' ↵ | Vincent Esche | -1/+1 | |
| `[package.description]` fields | ||||
| 2024-08-05 | Auto merge of #17771 - Veykril:parallel-vfs-config, r=Veykril | bors | -3/+7 | |
| internal: Load VFS config changes in parallel Simple attempt to make some progress f or https://github.com/rust-lang/rust-analyzer/issues/17373 No clue if those atomic orderings are right, though I don't think they are really too relevant either. A more complete fix would probably need to replace our `ProjectFolders` handling a bit. | ||||
| 2024-08-05 | feat: Load sysroot library via cargo metadata | Lukas Wirth | -2/+2 | |
| 2024-08-02 | internal: Load VFS config changes in parallel | Lukas Wirth | -3/+7 | |
| 2024-07-26 | Internal: Cleanup proc-macro error handling | Lukas Wirth | -8/+10 | |
| 2024-07-23 | minor changes | Ali Bektas | -6/+8 | |
| 2024-07-22 | Read rust-analyzer.toml files on startup | Ali Bektas | -8/+27 | |
| 2024-07-19 | Auto merge of #17639 - Veykril:salsa-perf, r=Veykril | bors | -1/+1 | |
| Some more small salsa memory improvements This does limit our lru limits to 2^16 but if you want to set them higher than that you might as well not set them at all. Also makes `LRU` opt-in per query now, allowing us to drop all the unnecessary LRU stuff for most queries | ||||
| 2024-07-19 | Reduce maximum LRU size to 2^16 entries, reducing memory footprint of LRU ↵ | Lukas Wirth | -1/+1 | |
| entries | ||||
| 2024-07-18 | feature: move `linked_projects` discovery to the rust-analyzer server | David Barsky | -2/+0 | |
| 2024-07-16 | Remove Name::to_smol_str | Lukas Wirth | -3/+9 | |
