aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db
Commit message (Collapse)AuthorAgeFilesLines
* Rename ra_db -> base_dbAleksey Kladov2020-08-135-917/+0
|
* Rename ra_cfg -> cfgAleksey Kladov2020-08-133-3/+3
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-123-3/+3
|
* Rename ra_tt -> ttAleksey Kladov2020-08-122-3/+3
|
* Rename ra_prof -> profileAleksey Kladov2020-08-122-3/+2
|
* Use salsa's purge to account for all memoryAleksey Kladov2020-08-051-1/+1
|
* More Rustic API for EnvAleksey Kladov2020-07-212-14/+5
|
* Add a license field to all the cratesYuki Okushi2020-07-141-0/+1
|
* Remove relative_path dependencyAleksey Kladov2020-07-082-2/+0
|
* Remove unwanted dependencyAleksey Kladov2020-07-081-1/+1
|
* Document failed refactorAleksey Kladov2020-07-081-3/+3
|
* Upstream salsaAleksey Kladov2020-07-071-1/+1
|
* Switch to fully dynamically dispatched salsaAleksey Kladov2020-07-072-6/+3
| | | | This improves compile times quite a bit
* Add a transitive deps iterator to `CrateGraph`Jonas Schievink2020-07-011-0/+17
|
* Use Strings for display namesAleksey Kladov2020-07-012-6/+8
|
* Use CrateName for semantic namesAleksey Kladov2020-07-011-4/+14
|
* Rewrite goto definition testsAleksey Kladov2020-06-301-1/+1
|
* Record HirFileId's in profilerJonas Schievink2020-06-241-1/+1
|
* SimplifyAleksey Kladov2020-06-241-23/+17
|
* Use only one code-path for parsing fixturesAleksey Kladov2020-06-231-48/+3
| | | | | This removes leading newlines everywhere, shifting all ranges in tests by one
* Centralize fixture parsing for assistsAleksey Kladov2020-06-231-5/+15
|
* Minor, renameAleksey Kladov2020-06-231-1/+1
|
* ComplicateAleksey Kladov2020-06-231-3/+48
| | | | | Fixing test fallout unfortunately requires more work, we need to do it, but let's merge something at least!
* Cut problematic dependencyAleksey Kladov2020-06-231-1/+5
|
* Nicer APIAleksey Kladov2020-06-231-5/+5
|
* SimplifyAleksey Kladov2020-06-231-57/+13
|
* SimplifyAleksey Kladov2020-06-231-5/+7
|
* SimplifyAleksey Kladov2020-06-231-16/+14
|
* Drop rarely used fixture functionalityAleksey Kladov2020-06-231-16/+2
|
* New VFSAleksey Kladov2020-06-234-110/+31
|
* Remove RelativePathBuf from fixtureAleksey Kladov2020-06-221-5/+5
| | | | | The paths in fixture are not really relative (the default one is `/main.rs`), so it doesn't make sense to use `RelativePathBuf` here.
* Don't panic on crates depending on themselvesFlorian Diebold2020-06-191-5/+30
| | | | Fixes #3883.
* Make relevant_crates return a SetAleksey Kladov2020-06-112-12/+16
|
* SimplifyAleksey Kladov2020-06-092-9/+5
|
* Merge #4760bors[bot]2020-06-051-29/+24
|\ | | | | | | | | | | | | | | | | | | | | 4760: Minimize FileLoader interface r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
| * Minimize FileLoader interfaceAleksey Kladov2020-06-051-29/+24
| |
| |
| \
*-. \ Merge #4729 #4748bors[bot]2020-06-051-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4729: Hover actions r=matklad a=vsrs This PR adds a `hoverActions` LSP extension and a `Go to Implementations` action as an example: ![hover_actions_impl](https://user-images.githubusercontent.com/62505555/83335732-6d9de280-a2b7-11ea-8cc3-75253d062fe0.gif) 4748: Add an `ImportMap` and use it to resolve item paths in `find_path` r=matklad a=jonas-schievink Removes the "go faster" queries I added in https://github.com/rust-analyzer/rust-analyzer/pull/4501 and https://github.com/rust-analyzer/rust-analyzer/pull/4506. I've checked this PR on the rustc code base and the assists are still fast. This should fix https://github.com/rust-analyzer/rust-analyzer/issues/4515. Note that this does introduce a change in behavior: We now always refer to items defined in external crates using paths through the external crate. Previously we could also use a local path (if for example the extern crate was reexported locally), as seen in the changed test. If that is undesired I can fix that, but the test didn't say why the previous behavior would be preferable. Co-authored-by: vsrs <[email protected]> Co-authored-by: Jonas Schievink <[email protected]> Co-authored-by: Jonas Schievink <[email protected]>
| | * Add an ImportMapJonas Schievink2020-06-041-2/+2
| |/
* | More direct signature for resolve_pathAleksey Kladov2020-06-051-8/+13
| |
* | Rename resolve_relative_path -> resolve_pathAleksey Kladov2020-06-051-7/+2
|/ | | | For things like `concant!(env!("OUT_DIR"))`, we need to support abs paths
* Fix some clippy perf warningsJeremy Kolb2020-05-251-2/+2
|
* Merge pull request #4495 from vsrs/fixture_metaAleksey Kladov2020-05-242-49/+36
|\ | | | | Test fixtures parsing improvements
| * Propogate fixture meta to AnalysisHostvsrs2020-05-162-8/+17
| | | | | | | | Except crate name.
| * Remove temporary FixtureEntry parsed_meta field.vsrs2020-05-161-2/+2
| |
| * Reimplement ra_db::fixture::ParsedMetavsrs2020-05-161-48/+26
| | | | | | | | in terms of test_utils::FixtureMeta
* | Expand fixture documentation a littleTimo Freiberg2020-05-101-3/+17
|/
* Add fixture doc commentTimo Freiberg2020-05-061-1/+45
|
* Convert code to text-sizeAleksey Kladov2020-04-251-2/+2
|
* Some clippy fixesJeremy Kolb2020-04-192-2/+2
|
* Merge #3727bors[bot]2020-03-264-1/+38
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 3727: Introduce ra_proc_macro r=matklad a=edwin0cheng This PR implemented: 1. Reading dylib path of proc-macro crate from cargo check , similar to how `OUTDIR` is obtained. 2. Added a new crate `ra_proc_macro` and implement the foot-work for reading result from external proc-macro expander. 3. Added a struct `ProcMacroClient` , which will be responsible to the client side communication to the External process. Co-authored-by: Edwin Cheng <[email protected]>