Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove one more dependency on source roots | Aleksey Kladov | 2019-10-14 | 1 | -8/+2 |
| | |||||
* | use slightly more idiomatic api for cfg | Aleksey Kladov | 2019-10-08 | 1 | -2/+6 |
| | |||||
* | Read default cfgs from rustc | uHOOCCOOHu | 2019-10-02 | 1 | -6/+12 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | don't break parser error recovery in presence of macros | Aleksey Kladov | 2019-09-12 | 1 | -0/+4 |
| | | | | | | | Parser has the invariant that `{}` are balanced. Previous code tried (unsucesfuly) maintain the same invariant for `$()` as well, but it was done in a rather ad-hoc manner: it's not at all obvious that it is possible to maintain both invariants! | ||||
* | document module | Aleksey Kladov | 2019-09-09 | 1 | -1/+1 |
| | |||||
* | add option to disable notify | Aleksey Kladov | 2019-09-06 | 2 | -2/+3 |
| | |||||
* | :arrow_up: vfs | Aleksey Kladov | 2019-08-25 | 2 | -4/+9 |
| | |||||
* | implement feature flags | Aleksey Kladov | 2019-08-22 | 1 | -2/+2 |
| | |||||
* | introduce ra_vfs_glob crate | Aleksey Kladov | 2019-08-06 | 3 | -59/+16 |
| | | | | It manages exclusion rules for the vfs crate | ||||
* | rename | Aleksey Kladov | 2019-08-06 | 2 | -12/+12 |
| | |||||
* | Remove unused dependencies | Shotaro Yamada | 2019-07-08 | 1 | -4/+0 |
| | |||||
* | allow rustfmt to reorder imports | Aleksey Kladov | 2019-07-04 | 2 | -9/+7 |
| | | | | | | 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 | ||||
* | move ra_prof dep where it belongs | Aleksey Kladov | 2019-06-26 | 1 | -4/+0 |
| | |||||
* | add cpuprofile to ra_prof | Aleksey Kladov | 2019-06-26 | 1 | -0/+4 |
| | | | | | | | | | Now, one can use `let _p = ra_prof::cpu_profiler()` to capture profile of a block of code. This is not an out of the box experience, as that relies on gperfools See the docs on https://github.com/AtheMathmo/cpuprofiler for more! | ||||
* | add analysis-bench to benchmark incremental analysis | Aleksey Kladov | 2019-06-16 | 2 | -71/+79 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Can be used like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --complete ../chalk/chalk-engine/src/logic.rs:94:0 loading: 225.970093ms from scratch: 8.492373325s no change: 445.265µs trivial change: 95.631242ms ``` Or like this: ``` $ cargo run --release -p ra_cli -- \ analysis-bench ../chalk/ \ --highlight ../chalk/chalk-engine/src/logic.rs loading: 209.873484ms from scratch: 9.504916942s no change: 7.731119ms trivial change: 124.984039ms ``` "from scratch" includes initial analysis of the relevant bits of the project "no change" just asks the same question for the second time. It measures overhead on assembling the answer outside of salsa. "trivial change" doesn't do an actual salsa change, it just advances the revision. This test how fast is salsa at validating things. | ||||
* | reuse AnalysisHost in batch analysis | Aleksey Kladov | 2019-06-15 | 2 | -94/+71 |
| | |||||
* | cargo format | Muhammad Mominul Huque | 2019-06-15 | 1 | -1/+0 |
| | |||||
* | Get rid of failure: ra_batch ra_cli | Muhammad Mominul Huque | 2019-06-15 | 2 | -6/+3 |
| | |||||
* | make LRU_CAP configurable for batch db | Aleksey Kladov | 2019-06-12 | 1 | -2/+6 |
| | |||||
* | use salsa's LRU for syntax trees | Aleksey Kladov | 2019-06-12 | 1 | -1/+3 |
| | |||||
* | Fix clippy::identity_conversion | Alan Du | 2019-06-04 | 1 | -2/+2 |
| | |||||
* | add AstDatabase | Aleksey Kladov | 2019-06-02 | 1 | -1/+6 |
| | |||||
* | migrate to salsas interning | Aleksey Kladov | 2019-04-09 | 1 | -10/+2 |
| | |||||
* | Make robust about target directory | pcpthm | 2019-04-04 | 1 | -4/+1 |
| | |||||
* | rename persistent hir database -> def database | Aleksey Kladov | 2019-03-23 | 1 | -5/+1 |
| | |||||
* | Move actual include logic to ProjectRoot | Ville Penttinen | 2019-03-21 | 1 | -25/+20 |
| | | | | | This way the two IncludeRustFiles implementations can simply call the ProjectRoots' methods, so that the include logic is in one place. | ||||
* | Improve filtering of file roots | Ville Penttinen | 2019-03-20 | 2 | -29/+66 |
| | | | | | | | | | `ProjectWorkspace::to_roots` now returns a new `ProjectRoot` which contains information regarding whether or not the given path is part of the current workspace or an external dependency. This information can then be used in `ra_batch` and `ra_lsp_server` to implement more advanced filtering. This allows us to filter some unnecessary folders from external dependencies such as tests, examples and benches. | ||||
* | Upgrade ra_vfs to use new Filtering | Ville Penttinen | 2019-03-18 | 2 | -3/+28 |
| | | | | | Currently this matches the previous filtering, meaning all roots are filtered using the same rules. | ||||
* | Rename and change `add_roots` to return a `Vec`. | David Wood | 2019-03-07 | 1 | -1/+1 |
| | |||||
* | Initial implementation of project-lock.json. | David Wood | 2019-03-07 | 1 | -6/+1 |
| | | | | | This commit adds a initial implementation of project-lock.json, a build system agnostic method of specifying the crate graph and roots. | ||||
* | switch to crates.io vfs | Aleksey Kladov | 2019-02-18 | 1 | -1/+1 |
| | |||||
* | fix-tests | Aleksey Kladov | 2019-02-17 | 1 | -4/+4 |
| | |||||
* | automatically wait for worker threads | Aleksey Kladov | 2019-02-14 | 1 | -1/+0 |
| | | | | closes #817 | ||||
* | Remove call to canonicalize in BatchDatabase::load_cargo | Ville Penttinen | 2019-02-14 | 1 | -1/+1 |
| | | | | | | | | Instead of using canonicalize, we now join the given path to `std::env::current_dir()`, which either replaces the path, if the given path is absolute, or joins the paths. This fixes #821. | ||||
* | Fix typo in Cargo.toml authors | Ville Penttinen | 2019-02-11 | 1 | -1/+1 |
| | | | | Fixes typo introduced in #782 | ||||
* | Update authors field in Cargo.tomls to "rust-analyzer developers" | Ville Penttinen | 2019-02-11 | 1 | -1/+1 |
| | | | | This closes #777 | ||||
* | Clean up a bit | Florian Diebold | 2019-02-10 | 1 | -2/+1 |
| | |||||
* | Add a smoke test for ra_batch | Florian Diebold | 2019-02-10 | 1 | -0/+24 |
| | |||||
* | Add an ra_cli command that analyses all crates in the current workspace | Florian Diebold | 2019-02-10 | 1 | -2/+7 |
| | | | | ... and prints various stats about how many expressions have a type etc. | ||||
* | Implement BatchDatabase construction | Florian Diebold | 2019-02-10 | 2 | -11/+100 |
| | |||||
* | Add new crate | Florian Diebold | 2019-02-10 | 2 | -0/+54 |