Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | rename ra_ide_api -> ra_ide | Aleksey Kladov | 2019-11-27 | 1 | -1/+1 | |
| | ||||||
* | Move Ty | Aleksey Kladov | 2019-11-27 | 1 | -0/+1 | |
| | ||||||
* | hir_def is fully doc'ed! | Aleksey Kladov | 2019-11-24 | 1 | -1/+0 | |
| | ||||||
* | Remove npm.cmd | Aleksey Kladov | 2019-11-20 | 1 | -3/+3 | |
| | | | | I *think* this is more correct | |||||
* | Cleanup imports | Aleksey Kladov | 2019-11-20 | 2 | -4/+6 | |
| | ||||||
* | Don't create a separate bin for format hook | Aleksey Kladov | 2019-11-18 | 4 | -47/+35 | |
| | ||||||
* | Revert #2230 | Aleksey Kladov | 2019-11-14 | 2 | -12/+25 | |
| | | | | | Looks like autocfg tries to do slightly more than we need (see #2231), so let's stick with minimal home-grown solution. | |||||
* | Use anyhow::Result in xtask, add contexts | Pascal Hertleif | 2019-11-13 | 6 | -29/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This builds on #2231 but was actually done before that. You see, the cause for #2231 was that I got this error message: Error: Error { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } Just switching to `anyhow::Result` got me stack traces (when setting `RUST_LIB_BACKTRACE=1`) that at least showed stack backtrace: 0: std::backtrace::Backtrace::create 1: std::backtrace::Backtrace::capture 2: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from 3: xtask::install_server 4: xtask::install 5: xtask::main 6: std::rt::lang_start::{{closure}} 7: std::panicking::try::do_call 8: __rust_maybe_catch_panic 9: std::rt::lang_start_internal 10: std::rt::lang_start 11: main With the added contexts (not at all exhaustive), the error became Error: install server Caused by: 0: build AutoCfg with target directory 1: No such file or directory (os error 2) Since anyhow is such a small thing (no new transitive dependencies!), and in general gives you `Result<T, Box<dyn Error>>` on steroids, I think this a nice small change. The only slightly annoying thing was to replace all the `Err(format!(…))?` calls (haven't even looked at whether we can make it support wrapping strings though), but the `bail!` macro is shorter anyway :) | |||||
* | Allow usage of CARGO_TARGET_DIR env var | Pascal Hertleif | 2019-11-13 | 1 | -1/+2 | |
| | ||||||
* | Use autocfg to determine rust version | kjeremy | 2019-11-13 | 2 | -25/+11 | |
| | ||||||
* | Minor cleanup | Aleksey Kladov | 2019-11-13 | 1 | -1/+1 | |
| | ||||||
* | Disallow regressing crate docs | Aleksey Kladov | 2019-11-12 | 1 | -6/+43 | |
| | ||||||
* | Add '--scripts-prepend-node-pat' to npm run package | mkucijan | 2019-11-11 | 1 | -1/+1 | |
| | ||||||
* | Ignore line-endings when checking generated files for freshness | Aleksey Kladov | 2019-11-06 | 1 | -2/+6 | |
| | | | | closes #2184 | |||||
* | Add small module-level docs | Aleksey Kladov | 2019-11-03 | 1 | -6/+9 | |
| | ||||||
* | Use run-time project path in xtask | Laurențiu Nicola | 2019-11-01 | 1 | -1/+8 | |
| | ||||||
* | Fix typo in xtask/src/main.rs. | krk | 2019-10-30 | 1 | -1/+1 | |
| | ||||||
* | Merge #2132 | bors[bot] | 2019-10-30 | 1 | -0/+1 | |
|\ | | | | | | | | | | | | | | | 2132: echo cargo version during install r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | echo cargo version during install | Aleksey Kladov | 2019-10-30 | 1 | -0/+1 | |
| | | ||||||
* | | Some clippy fixes | kjeremy | 2019-10-30 | 4 | -8/+6 | |
|/ | ||||||
* | use unicode bar for drawing the cursor | Aleksey Kladov | 2019-10-26 | 1 | -2/+6 | |
| | ||||||
* | check style for assist docs | Aleksey Kladov | 2019-10-26 | 1 | -0/+6 | |
| | ||||||
* | Merge #2075 | bors[bot] | 2019-10-26 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | 2075: document a couple of assists r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | add blank lines for readability | Aleksey Kladov | 2019-10-26 | 1 | -1/+1 | |
| | | ||||||
* | | Merge #2074 | bors[bot] | 2019-10-26 | 1 | -2/+9 | |
|\| | | | | | | | | | | | | | | | 2074: document tasks module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | document tasks module | Aleksey Kladov | 2019-10-26 | 1 | -2/+9 | |
| | | ||||||
* | | Merge #2073 | bors[bot] | 2019-10-26 | 1 | -0/+11 | |
|\ \ | |/ |/| | | | | | | | | | | | 2073: warn if npm is not found r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | warn if npm is not found | Aleksey Kladov | 2019-10-26 | 1 | -0/+11 | |
| | | ||||||
* | | generate more assists docs | Aleksey Kladov | 2019-10-25 | 2 | -3/+20 | |
|/ | ||||||
* | auto-generate assists docs and tests | Aleksey Kladov | 2019-10-25 | 6 | -27/+169 | |
| | ||||||
* | refactor comment extraction from tasks | Aleksey Kladov | 2019-10-24 | 2 | -39/+44 | |
| | ||||||
* | simplify | Aleksey Kladov | 2019-10-24 | 1 | -14/+13 | |
| | ||||||
* | xtask: don't depend on itertools | Aleksey Kladov | 2019-10-23 | 2 | -18/+22 | |
| | | | | xtask should be fast to compiler, as it's a gateway to rust-analyzer | |||||
* | xtask: fold gen-tests and gen-ast into codegen | Aleksey Kladov | 2019-10-23 | 3 | -10/+3 | |
| | ||||||
* | xtask: move codegen to a module | Aleksey Kladov | 2019-10-23 | 8 | -531/+567 | |
| | ||||||
* | try to warn about old rust | Aleksey Kladov | 2019-10-21 | 1 | -2/+40 | |
| | ||||||
* | rename tools -> xtask | Aleksey Kladov | 2019-10-17 | 5 | -6/+6 | |
| | ||||||
* | WIP: move to xtasks | Aleksey Kladov | 2019-10-17 | 9 | -0/+1101 | |