aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add db to resolve_pathAleksey Kladov2018-11-272-2/+2
|
* Make resolve_path cancelableAleksey Kladov2018-11-272-2/+10
|
* don't use volatile queriesAleksey Kladov2018-11-272-4/+4
| | | | | | "volatile" means "changes every time". That is, all transitive rev-deps of volatile queries will be executed every time. We actually need "dependencies".
* Merge #245bors[bot]2018-11-277-87/+175
|\ | | | | | | | | | | | | | | 245: File items r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Make nameresolution resilient to reparsingAleksey Kladov2018-11-276-84/+139
| | | | | | | | | | We now store item id's instead of local syntax ptrs, and item ids don't change if you type inside a single function.
| * implement file_itemsAleksey Kladov2018-11-271-2/+8
| |
| * add file items queryAleksey Kladov2018-11-273-14/+41
|/
* Merge #244bors[bot]2018-11-275-49/+27
|\ | | | | | | | | | | | | | | 244: Switch to id-arena r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Switch to id-arenaAleksey Kladov2018-11-275-49/+27
| |
* | fix npm problemsAleksey Kladov2018-11-272-39/+24
| |
* | hack around nested librariesAleksey Kladov2018-11-264-3/+44
|/
* Merge #242bors[bot]2018-11-256-78/+145
|\ | | | | | | | | | | | | | | 242: Codify Arena pattern r=matklad a=matklad bors r+ Co-authored-by: Aleksey Kladov <[email protected]>
| * Codify Arena patternAleksey Kladov2018-11-256-78/+145
|/
* Merge #241bors[bot]2018-11-243-4/+6
|\ | | | | | | | | | | | | | | 241: switch back to the latest beta r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * switch back to the latest betaAleksey Kladov2018-11-243-4/+6
|/
* Merge #239bors[bot]2018-11-212-1/+104
|\ | | | | | | | | | | | | | | 239: add test loggin API to db r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * add test loggin API to dbAleksey Kladov2018-11-212-1/+104
|/
* Merge #238bors[bot]2018-11-212-2/+24
|\ | | | | | | | | | | | | | | | | | | | | | | | | 238: Use `:` as a trigger character for completion r=matklad a=matklad Note that VSCode asks for completion after *first* `:` as well: use crate: we use hacks to protect against that, and to give completions only after the second `:`. Co-authored-by: Aleksey Kladov <[email protected]>
| * Use `:` as a trigger character for completionAleksey Kladov2018-11-212-2/+24
| | | | | | | | | | | | | | | | | | Note that VSCode asks for completion after *first* `:` as well: use crate: we use hacks to protect against that, and to give completions only after the second `:`.
* | Merge #237bors[bot]2018-11-219-166/+262
|\| | | | | | | | | | | | | | | 237: This moves parts of completion from ad-hockery to descriptors-based resolve r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * Complete paths after ::Aleksey Kladov2018-11-215-9/+5
| |
| * Move path completion to descriptorsAleksey Kladov2018-11-213-18/+36
| |
| * name res uses pathsAleksey Kladov2018-11-214-47/+74
| |
| * move PathAleksey Kladov2018-11-213-92/+117
| |
| * docsAleksey Kladov2018-11-211-1/+16
| |
| * move path to descriptorsAleksey Kladov2018-11-212-15/+16
| |
| * Introduce Import structAleksey Kladov2018-11-211-25/+44
| |
| * Remove import_resolutionsAleksey Kladov2018-11-211-5/+0
|/ | | | It's cheaper to re-query this info anyway
* Merge #236bors[bot]2018-11-2113-179/+556
|\ | | | | | | | | | | | | | | 236: WIP: Module name resolution r=matklad a=matklad work towards #231 Co-authored-by: Aleksey Kladov <[email protected]>
| * Pin to older betaAleksey Kladov2018-11-212-2/+2
| | | | | | | | https://github.com/rust-lang/rust/issues/56128
| * switch completion to new scopeAleksey Kladov2018-11-219-198/+69
| |
| * Move to topAleksey Kladov2018-11-211-13/+13
| |
| * Measure timeAleksey Kladov2018-11-211-1/+7
| |
| * simple test for item mapAleksey Kladov2018-11-214-17/+118
| |
| * add item map queryAleksey Kladov2018-11-204-8/+23
| |
| * populate resolve from unresolved importsAleksey Kladov2018-11-202-16/+97
| |
| * move to methodAleksey Kladov2018-11-201-33/+30
| |
| * populate modulesAleksey Kladov2018-11-203-12/+80
| |
| * remember spans with pathsAleksey Kladov2018-11-201-3/+4
| |
| * add DefIdAleksey Kladov2018-11-202-1/+32
| |
| * implement path conversionAleksey Kladov2018-11-201-1/+44
| |
| * Some import resolution boilerplateAleksey Kladov2018-11-203-0/+163
| |
| * make mod privateAleksey Kladov2018-11-201-1/+1
|/
* Merge #234bors[bot]2018-11-209-203/+233
|\ | | | | | | | | | | | | | | 234: Global module r=matklad a=matklad This series of commits re-introdces `ModuleDescriptor` as one stop shop for all information about a module. Co-authored-by: Aleksey Kladov <[email protected]>
| * fix typoAleksey Kladov2018-11-201-2/+2
| |
| * Remove ModIdAleksey Kladov2018-11-202-9/+1
| |
| * Make more stuff privateAleksey Kladov2018-11-201-3/+3
| |
| * Make most of modules impl privateAleksey Kladov2018-11-204-20/+19
| |
| * Use OO module API in completionAleksey Kladov2018-11-203-68/+31
| |
| * Use OO API instead of resolve_moduleAleksey Kladov2018-11-202-52/+19
| |