Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify | Aleksey Kladov | 2020-07-20 | 1 | -10/+10 |
| | |||||
* | Remove raw item query | Jonas Schievink | 2020-06-24 | 1 | -1/+0 |
| | |||||
* | New VFS | Aleksey Kladov | 2020-06-23 | 1 | -0/+1 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-06-18 | 1 | -7/+0 |
| | |||||
* | Anchor file-system operations to the file, and not to the source root. | Aleksey Kladov | 2020-06-16 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | Anchoring to the SourceRoot wont' work if the path is absolute: #[path = "/tmp/foo.rs"] mod foo; Anchoring to a file will. However, we *should* anchor, instead of just producing an abs path. I can imagine a situation where, for example, rust-analyzer processes crates from different machines (or, for example, from in-memory git branch), where the same absolute path in different crates might refer to different files in the end! | ||||
* | Nice string formatting | Aleksey Kladov | 2020-03-28 | 1 | -2/+3 |
| | |||||
* | Simplify Arena to use a generic index | Aleksey Kladov | 2020-03-19 | 1 | -2/+2 |
| | |||||
* | Use `dyn Trait` for working with databse | Aleksey Kladov | 2020-03-16 | 1 | -12/+13 |
| | | | | | | | It improves compile time in `--release` mode quite a bit, it doesn't really slow things down and, conceptually, it seems closer to what we want the physical architecture to look like (we don't want to monomorphise EVERYTHING in a single leaf crate). | ||||
* | Use Display instead of a custom method | Kirill Bulatov | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | Fix crate display name dashes | Kirill Bulatov | 2020-03-16 | 1 | -2/+7 |
| | |||||
* | Print crate name in profil | Aleksey Kladov | 2020-03-09 | 1 | -1/+2 |
| | |||||
* | Use `Index` for CrateGraph | Aleksey Kladov | 2020-03-09 | 1 | -1/+1 |
| | |||||
* | Less abstract CrateData api | Kirill Bulatov | 2020-03-09 | 1 | -2/+1 |
| | |||||
* | Normalize waiting queries names | Aleksey Kladov | 2020-03-06 | 1 | -7/+2 |
| | |||||
* | Less confusing profile names | Aleksey Kladov | 2020-03-06 | 1 | -1/+1 |
| | |||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 1 | -1/+1 |
| | |||||
* | Publicize debug printing of CrateDefMap | Aleksey Kladov | 2020-01-28 | 1 | -0/+40 |
| | |||||
* | Remove dead code | Aleksey Kladov | 2020-01-16 | 1 | -34/+2 |
| | |||||
* | Don't parse child modules when doing diagnostics | Aleksey Kladov | 2020-01-15 | 1 | -0/+7 |
| | |||||
* | Add `_query` suffix to `compute_crate_def_map` for consistency | Michal Terepeta | 2020-01-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Michal Terepeta <[email protected]> | ||||
* | Split `crate_def_map` into two methods | Michal Terepeta | 2020-01-03 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change: - introduces `compute_crate_def_map` query and renames `CrateDefMap::crate_def_map_query` for consistency, - annotates `crate_def_map` as `salsa::transparent` and adds a top-level `crate_def_map` wrapper function around that starts the profiler and immediately calls into `compute_crate_def_map` query. This allows us to better understand where we spent the time, in particular, how much is spent in the recomputaiton and how much in salsa. Example output (where we don't actually re-compute anything, but the query still takes a non-trivial amount of time): ``` 211ms - handle_inlay_hints 150ms - get_inlay_hints 150ms - SourceAnalyzer::new 65ms - def_with_body_from_child_node 65ms - analyze_container 65ms - analyze_container 65ms - Module::from_definition 65ms - Module::from_file 65ms - crate_def_map 1ms - parse_macro_query (6 calls) 0ms - raw_items_query (1 calls) 64ms - ??? ``` Signed-off-by: Michal Terepeta <[email protected]> | ||||
* | Move impls to ItemScope | Aleksey Kladov | 2019-12-20 | 1 | -3/+1 |
| | |||||
* | Rename ModuleScope -> ItemScope | Aleksey Kladov | 2019-12-20 | 1 | -2/+2 |
| | |||||
* | Move ModuleScope to a new module | Aleksey Kladov | 2019-12-20 | 1 | -105/+3 |
| | |||||
* | Remove code that never was alive? | Aleksey Kladov | 2019-12-20 | 1 | -9/+2 |
| | |||||
* | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 1 | -2/+2 |
| | |||||
* | Publicize `file_id` to make `test_db` compile | ice1000 | 2019-12-05 | 1 | -1/+1 |
| | |||||
* | Use placeholder instead of `Option` | ice1000 | 2019-12-05 | 1 | -13/+9 |
| | |||||
* | One pub function less is good! | ice1000 | 2019-12-05 | 1 | -5/+0 |
| | |||||
* | Reduce visibility, use struct instead of tuples | ice1000 | 2019-12-05 | 1 | -20/+23 |
| | |||||
* | No block at the moment | ice1000 | 2019-12-04 | 1 | -6/+1 |
| | |||||
* | Remove almost unused `ModuleSource::new` | ice1000 | 2019-12-04 | 1 | -19/+1 |
| | |||||
* | Confluent `ModuleSource` usage | ice1000 | 2019-12-04 | 1 | -13/+5 |
| | |||||
* | Add `ModuleSource::Block` | ice1000 | 2019-12-04 | 1 | -2/+66 |
| | |||||
* | Fix test compilation | ice1000 | 2019-12-04 | 1 | -1/+1 |
| | |||||
* | Three-state enum for module origin | ice1000 | 2019-12-04 | 1 | -16/+75 |
| | |||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 1 | -4/+4 |
| | |||||
* | Fix comment | Edwin Cheng | 2019-12-01 | 1 | -2/+1 |
| | |||||
* | Add BuiltinShadowMode | Edwin Cheng | 2019-11-30 | 1 | -3/+27 |
| | |||||
* | Use InFile for AstId | Aleksey Kladov | 2019-11-28 | 1 | -3/+3 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -7/+7 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Cleanup nameres | Aleksey Kladov | 2019-11-24 | 1 | -26/+6 |
| | |||||
* | Cleanup | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Push poison_macros down | Aleksey Kladov | 2019-11-24 | 1 | -14/+1 |
| | |||||
* | Reduce visbility | Aleksey Kladov | 2019-11-24 | 1 | -10/+10 |
| | |||||
* | Privatise nameres | Aleksey Kladov | 2019-11-23 | 1 | -3/+3 |
| | |||||
* | Rename CrateModuleId | Aleksey Kladov | 2019-11-23 | 1 | -16/+16 |
| | |||||
* | Move ImportId | Aleksey Kladov | 2019-11-23 | 1 | -5/+3 |
| | |||||
* | Get rid of DefDatabase2 | Aleksey Kladov | 2019-11-23 | 1 | -8/+8 |
| |