aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_db/src
Commit message (Collapse)AuthorAgeFilesLines
...
* introduce hir debugging infraAleksey Kladov2019-09-091-3/+13
| | | | | | | | | | | | This is to make debugging rust-analyzer easier. The idea is that `dbg!(krate.debug(db))` will print the actual, fuzzy crate name, instead of precise ID. Debug printing infra is a separate thing, to make sure that the actual hir doesn't have access to global information. Do not use `.debug` for `log::` logging: debugging executes queries, and might introduce unneded dependencies to the crate graph
* make source_root API more abstractAleksey Kladov2019-09-062-5/+16
|
* make Parse genericAleksey Kladov2019-07-181-3/+3
|
* Clippy changesJeremy Kolb2019-07-051-1/+2
|
* Some clippy fixes for 1.36Jeremy Kolb2019-07-041-2/+2
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-042-7/+5
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* Add SourceRoot::is_library, in preparation for salsa's durabilityAleksey Kladov2019-06-241-0/+14
|
* make LRU_CAP configurable for batch dbAleksey Kladov2019-06-121-0/+2
|
* fix syntax errors in testsAleksey Kladov2019-05-281-3/+3
|
* add profile calls to parsing/expansion routinesAleksey Kladov2019-05-221-1/+4
|
* Assert that DB is unwind-safe, instead of provingAleksey Kladov2019-05-181-3/+4
| | | | | | | | | | | | | Unfortunately, that `: RefUnwindSafe` bound gives rustc a hard time, so let's remove it for know. See * https://github.com/rust-analyzer/rust-analyzer/issues/1283 * https://github.com/rust-lang/rust/pull/60444 * https://github.com/rust-lang/rust/issues/58291 closes #1283
* drop old interning infraAleksey Kladov2019-04-092-108/+1
|
* replace todo with fixmeAleksey Kladov2019-03-231-1/+1
|
* Fixed typo in `Interner`’s name (`Intener`)Vincent Esche2019-03-202-6/+6
|
* add skeleton for macro-aware name resolutionsAleksey Kladov2019-03-171-0/+4
|
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-131-0/+9
| | | | crate_graph macro
* Resolve 2015 style importsFlorian Diebold2019-02-131-0/+4
|
* Keep track of crate editionFlorian Diebold2019-02-132-13/+20
|
* Fix some typosPascal Hertleif2019-02-121-1/+1
|
* Add an ra_cli command that analyses all crates in the current workspaceFlorian Diebold2019-02-101-0/+1
| | | | ... and prints various stats about how many expressions have a type etc.
* Move crate graph generation to ra_project_modelFlorian Diebold2019-02-091-0/+19
|
* reformat the worldAleksey Kladov2019-02-083-35/+11
|
* move assists to a separate crateAleksey Kladov2019-02-061-1/+1
|
* make HirDatabase object-safeAleksey Kladov2019-02-031-11/+16
|
* remove dead codeAleksey Kladov2019-01-272-31/+0
|
* rename source_file -> parseAleksey Kladov2019-01-261-2/+2
|
* rename FilesDatabase -> SourceDatabaseAleksey Kladov2019-01-261-4/+6
|
* move ide queries to ide dbAleksey Kladov2019-01-261-8/+0
|
* fold syntax database into files databaseAleksey Kladov2019-01-261-8/+5
|
* :arrow_up: salsaAleksey Kladov2019-01-251-2/+2
|
* :arrow_up salsaAleksey Kladov2019-01-252-56/+54
|
* Change ids strategyAleksey Kladov2019-01-242-1/+13
| | | | | | | this is a part of larghish hir refactoring which aims to * replace per-source-root module trees with per crate trees * switch from a monotyped DedId to type-specific ids
* move SyntaxPtr to ra_syntaxAleksey Kladov2019-01-232-54/+0
|
* :arrow_up: salsaAleksey Kladov2019-01-172-46/+29
|
* remove Canceled from API implAleksey Kladov2019-01-152-3/+1
|
* check_canceled does not return ResultAleksey Kladov2019-01-151-2/+14
|
* update salsaAleksey Kladov2019-01-151-2/+3
|
* gracefully handle cycles in crate graphAleksey Kladov2019-01-131-34/+48
| | | | | rust-lang/rust has absolutely weird setup with rustc-workspace-shim, which leads to real cycles.
* rename TreePtr -> TreeArcAleksey Kladov2019-01-112-5/+5
| | | | This is much clearer about the semantics
* explain why we use resume_unwindAleksey Kladov2019-01-101-0/+2
|
* implement RefUnwindSafeAleksey Kladov2019-01-102-4/+12
|
* use unwinding for cancelationAleksey Kladov2019-01-102-4/+9
|
* unwind on cancelAleksey Kladov2019-01-091-6/+16
|
* Fix typos in ARCHITECTURE.md and a number of cratesMarcus Klaas de Vries2019-01-094-19/+19
| | | | specifically: gen_lsp_server, ra_arena, ra_cli, ra_db, ra_hir
* fix the docsAleksey Kladov2019-01-081-1/+1
|
* ra_db is independent from editorAleksey Kladov2019-01-081-10/+0
|
* switch interner to use arenaAleksey Kladov2019-01-082-36/+14
|
* migrate ra_db to new rowanAleksey Kladov2019-01-082-10/+10
|
* Add HIR Expr machineryFlorian Diebold2019-01-051-1/+1
|
* add kind to LocalSyntaxPtrAleksey Kladov2019-01-031-0/+4
|