Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | introduce hir debugging infra | Aleksey Kladov | 2019-09-09 | 1 | -2/+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 abstract | Aleksey Kladov | 2019-09-06 | 1 | -2/+2 |
| | |||||
* | implement durability | Aleksey Kladov | 2019-08-15 | 1 | -14/+39 |
| | |||||
* | Some renamings for clarity | Florian Diebold | 2019-07-14 | 1 | -1/+1 |
| | |||||
* | make Parse fields private | Aleksey Kladov | 2019-07-12 | 1 | -2/+2 |
| | | | | this is in preparation for the new rowan API | ||||
* | account for dependencies when showing memory usage | Aleksey Kladov | 2019-07-12 | 1 | -0/+7 |
| | |||||
* | Unify `normalize` and `implements` to simplify code | Florian Diebold | 2019-07-08 | 1 | -2/+1 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 1 | -9/+6 |
| | | | | | | 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 | ||||
* | put source maps first for better stats | Aleksey Kladov | 2019-06-30 | 1 | -2/+2 |
| | |||||
* | print memory usage for queries | Aleksey Kladov | 2019-06-30 | 1 | -1/+62 |
| | |||||
* | Add SourceRoot::is_library, in preparation for salsa's durability | Aleksey Kladov | 2019-06-24 | 1 | -1/+2 |
| | |||||
* | don' collect macros | Aleksey Kladov | 2019-06-20 | 1 | -3/+6 |
| | |||||
* | use salsa's LRU for syntax trees | Aleksey Kladov | 2019-06-12 | 1 | -1/+0 |
| | |||||
* | don't cache parses twice | Aleksey Kladov | 2019-06-02 | 1 | -1/+1 |
| | | | | | | | | | Before this commit, `Parse`s for original file ended up two times in salsa's db: first, when we parse original file, and second, when we parse macro or a file. Given that parse trees are the worst ofenders in terms of memory, it makes sense to make sure we store them only once. | ||||
* | collect macro queries | Aleksey Kladov | 2019-06-02 | 1 | -0/+3 |
| | |||||
* | collect types and bodies | Aleksey Kladov | 2019-06-01 | 1 | -0/+4 |
| | |||||
* | collect impl source maps | Aleksey Kladov | 2019-06-01 | 1 | -0/+1 |
| | |||||
* | don't cache ast_id_to_node | Aleksey Kladov | 2019-06-01 | 1 | -1/+0 |
| | |||||
* | fix typos in mbe tests | Aleksey Kladov | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | specifically profile cancellation | Aleksey Kladov | 2019-05-27 | 1 | -0/+4 |
| | |||||
* | expand to syntax node | Aleksey Kladov | 2019-05-14 | 1 | -1/+1 |
| | |||||
* | revert eagarly clean astd maps | Aleksey Kladov | 2019-05-04 | 1 | -6/+1 |
| | | | | This causes massive slowdown :-( | ||||
* | eagarly clean astd maps | Aleksey Kladov | 2019-05-04 | 1 | -0/+6 |
| | |||||
* | add a couple of profiling points | Aleksey Kladov | 2019-04-14 | 1 | -0/+2 |
| | |||||
* | rename | Aleksey Kladov | 2019-03-26 | 1 | -2/+2 |
| | |||||
* | remove lower module | Aleksey Kladov | 2019-03-17 | 1 | -1/+1 |
| | |||||
* | align lower module query names | Aleksey Kladov | 2019-03-02 | 1 | -2/+1 |
| | |||||
* | dont store body inside source map | Aleksey Kladov | 2019-03-02 | 1 | -1/+1 |
| | |||||
* | rename syntax-mapping -> source-map | Aleksey Kladov | 2019-03-02 | 1 | -1/+1 |
| | |||||
* | reformat the world | Aleksey Kladov | 2019-02-08 | 1 | -32/+7 |
| | |||||
* | move changes to a separate file | Aleksey Kladov | 2019-02-08 | 1 | -0/+255 |