Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 #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 | ||||
* | | Merge #631 | bors[bot] | 2019-01-24 | 6 | -26/+241 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 631: Support universal function call syntax in function calls r=matklad a=DJMcNab Fix #596 Co-authored-by: DJMcNab <[email protected]> Co-authored-by: Daniel McNab <[email protected]> | ||||
| * | | 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 | 2 | -2/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 627: Use stable toolchain r=matklad a=kjeremy Fixes #622 Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | | Update stable for travis | Jeremy Kolb | 2019-01-24 | 1 | -1/+1 |
| | | | |||||
| * | | Use stable toolchain | Jeremy Kolb | 2019-01-24 | 1 | -1/+1 |
| | | | |||||
* | | | Merge #628 | bors[bot] | 2019-01-24 | 2 | -1/+55 |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | 628: Display type when completing tuples r=matklad a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | | Display type when completing tuples | Jeremy Kolb | 2019-01-24 | 2 | -1/+55 |
|/ / | |||||
* | | Merge #625 | bors[bot] | 2019-01-24 | 1 | -4/+4 |
|\ \ | |/ |/| | | | | | | | | | | | 625: minor rename r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | minor rename | Aleksey Kladov | 2019-01-24 | 1 | -4/+4 |
|/ | |||||
* | Merge #624 | bors[bot] | 2019-01-24 | 7 | -74/+45 |
|\ | | | | | | | | | | | | | | | 624: encapsulate hir locations r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | encapsulate hir locations | Aleksey Kladov | 2019-01-24 | 7 | -74/+45 |
|/ | |||||
* | Merge #621 | bors[bot] | 2019-01-24 | 9 | -43/+138 |
|\ | | | | | | | | | | | | | | | | | 621: Completion docs for code model r=kjeremy a=kjeremy Adds a way to access documentation through the code model and exposes it to completions. Also allows us to document enum variants. Co-authored-by: Jeremy A. Kolb <[email protected]> Co-authored-by: Jeremy Kolb <[email protected]> | ||||
| * | Add a comment | Jeremy Kolb | 2019-01-24 | 1 | -0/+1 |
| | | |||||
| * | Fix snap | Jeremy A. Kolb | 2019-01-23 | 2 | -6/+12 |
| | | |||||
| * | Add a bunch of new documentation to completions | Jeremy A. Kolb | 2019-01-23 | 3 | -20/+54 |
| | | |||||
| * | Add way of getting docs from the code model and use for completion | Jeremy A. Kolb | 2019-01-23 | 5 | -20/+72 |
| | |