Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | pack enum variants into arena | Aleksey Kladov | 2019-01-25 | 7 | -74/+55 | |
| | ||||||
* | switch to positional enum variants | Aleksey Kladov | 2019-01-25 | 3 | -38/+44 | |
| | ||||||
* | Merge #634 | bors[bot] | 2019-01-25 | 9 | -205/+186 | |
|\ | | | | | | | | | | | | | | | 634: rename def_id -> def r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | drop obsolete fixme | Aleksey Kladov | 2019-01-25 | 1 | -1/+0 | |
| | | ||||||
| * | deglobify | Aleksey Kladov | 2019-01-25 | 1 | -2/+1 | |
| | | ||||||
| * | simplify | Aleksey Kladov | 2019-01-25 | 5 | -14/+20 | |
| | | ||||||
| * | remove useless wrapper | Aleksey Kladov | 2019-01-25 | 2 | -6/+1 | |
| | | ||||||
| * | fix comment | Aleksey Kladov | 2019-01-25 | 1 | -3/+2 | |
| | | ||||||
| * | rename def_id -> def | Aleksey Kladov | 2019-01-25 | 3 | -31/+17 | |
| | | ||||||
| * | write path resolution code only once | Aleksey Kladov | 2019-01-25 | 3 | -65/+15 | |
| | | ||||||
| * | refactor import resolution | Aleksey Kladov | 2019-01-25 | 4 | -99/+146 | |
| | | | | | | | | | | extract path resolution use enums instead of bools | |||||
* | | Merge #630 | bors[bot] | 2019-01-25 | 5 | -59/+179 | |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | 630: Fill in DocumentSymbol::detail r=matklad a=hban Closes: #516 I just pulled type text from the syntax node and "formatted" is bit. VS Code can't really handle multi-line symbol detail (it's will crop it when rendering), so that formatting will just collapse all white-space to singe space. It isn't pretty, but maybe there's a better way. Issue also mentions "need to be done for `NavigationTarget` to `SymbolInformation`", but `SymbolInformation` doesn't have detail field on it? Co-authored-by: Hrvoje Ban <[email protected]> | |||||
| * | Fill in DocumentSymbol::detail | Hrvoje Ban | 2019-01-24 | 5 | -59/+179 | |
| | | ||||||
* | | Merge #633 | bors[bot] | 2019-01-24 | 4 | -8/+523 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 633: use ToOwned trait instead of inherent method r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | use ToOwned trait instead of inherent method | Aleksey Kladov | 2019-01-24 | 4 | -8/+523 | |
| | | | ||||||
* | | | Merge #623 | bors[bot] | 2019-01-24 | 36 | -977/+939 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 623: WIP: module id is not def id r=matklad a=matklad This achieves two things: * makes module_tree & item_map per crate, not per source_root * begins the refactoring to remove universal `DefId` in favor of having separate ids for each kind of `Def`. Currently, only modules get a differnt ID though. Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | move adt to adt | Aleksey Kladov | 2019-01-24 | 3 | -24/+23 | |
| | | | ||||||
| * | | Kill DefId | Aleksey Kladov | 2019-01-24 | 2 | -31/+11 | |
| | | | ||||||
| * | | kill DefKindc | Aleksey Kladov | 2019-01-24 | 3 | -55/+15 | |
| | | | ||||||
| * | | ModuleDef is Def-free | Aleksey Kladov | 2019-01-24 | 4 | -12/+2 | |
| | | | ||||||
| * | | Migrate trait & type to new ids | Aleksey Kladov | 2019-01-24 | 13 | -186/+104 | |
| | | | ||||||
| * | | generalize | Aleksey Kladov | 2019-01-24 | 1 | -4/+17 | |
| | | | ||||||
| * | | move consts&statics to new id | Aleksey Kladov | 2019-01-24 | 8 | -47/+86 | |
| | | | ||||||
| * | | remove boilerplate | Aleksey Kladov | 2019-01-24 | 6 | -92/+72 | |
| | | | ||||||
| * | | generalize boilerplate | Aleksey Kladov | 2019-01-24 | 3 | -39/+51 | |
| | | | ||||||
| * | | remove dead code | Aleksey Kladov | 2019-01-24 | 1 | -11/+1 | |
| | | | ||||||
| * | | removed untyped typabledef | Aleksey Kladov | 2019-01-24 | 1 | -26/+3 | |
| | | | ||||||
| * | | adapt ide_api to the new API | Aleksey Kladov | 2019-01-24 | 4 | -6/+12 | |
| | | | ||||||
| * | | move enum variant to the new API | Aleksey Kladov | 2019-01-24 | 6 | -142/+97 | |
| | | | ||||||
| * | | remove useless aliases | Aleksey Kladov | 2019-01-24 | 3 | -38/+14 | |
| | | | ||||||
| * | | macro-generate froms | Aleksey Kladov | 2019-01-24 | 4 | -78/+17 | |
| | | | ||||||
| * | | adapt ide_api to the new API | Aleksey Kladov | 2019-01-24 | 4 | -46/+45 | |
| | | | ||||||
| * | | kill unused defs | Aleksey Kladov | 2019-01-24 | 2 | -7/+0 | |
| | | | ||||||
| * | | migrate enums to new id | Aleksey Kladov | 2019-01-24 | 9 | -143/+191 | |
| | | | ||||||
| * | | introduce EnumId | Aleksey Kladov | 2019-01-24 | 1 | -0/+19 | |
| | | | ||||||
| * | | new struct id | Aleksey Kladov | 2019-01-24 | 12 | -106/+200 | |
| | | | ||||||
| * | | add StructId | Aleksey Kladov | 2019-01-24 | 1 | -0/+19 | |
| | | | ||||||
| * | | update ide_api to new hir | Aleksey Kladov | 2019-01-24 | 5 | -10/+14 | |
| | | | ||||||
| * | | remove DefKind::Function | Aleksey Kladov | 2019-01-24 | 2 | -6/+4 | |
| | | | ||||||
| * | | Functions use new id scheme | Aleksey Kladov | 2019-01-24 | 13 | -201/+297 | |
| | | | ||||||
| * | | add FunctionId | Aleksey Kladov | 2019-01-24 | 1 | -0/+23 | |
| | | | ||||||
| * | | Change ids strategy | Aleksey Kladov | 2019-01-24 | 26 | -431/+366 | |
| | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | | | Reformat | DJMcNab | 2019-01-24 | 1 | -15/+16 | |
| | | | ||||||
* | | | Apply suggestions from code review | Daniel McNab | 2019-01-24 | 1 | -2/+1 | |
| | | | | | | | | | Co-Authored-By: DJMcNab <[email protected]> | |||||
* | | | Dedupe PATH_FIRST in ATOM_EXPR_FIRST | DJMcNab | 2019-01-24 | 1 | -7/+2 | |
| | | | ||||||
* | | | Support universal function call syntax in function calls | DJMcNab | 2019-01-24 | 6 | -6/+226 | |
| |/ |/| | ||||||
* | | Merge #627 | bors[bot] | 2019-01-24 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 627: Use stable toolchain r=matklad a=kjeremy Fixes #622 Co-authored-by: Jeremy Kolb <[email protected]> | |||||
| * | | Use stable toolchain | Jeremy Kolb | 2019-01-24 | 1 | -1/+1 | |
| | | | ||||||
* | | | Display type when completing tuples | Jeremy Kolb | 2019-01-24 | 2 | -1/+55 | |
|/ / | ||||||
* / | minor rename | Aleksey Kladov | 2019-01-24 | 1 | -4/+4 | |
|/ |