Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CONST LOOPS ARE HERE | Aleksey Kladov | 2020-08-27 | 7 | -28/+37 |
| | |||||
* | Minor | Aleksey Kladov | 2020-08-27 | 1 | -1/+2 |
| | |||||
* | Merge #5895 | bors[bot] | 2020-08-26 | 8 | -336/+296 |
|\ | | | | | | | | | | | | | | | | | | | 5895: Tease apart orthogonal concerns in markdown link rewriting r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Tease apart orthogonal concerns in markdown link rewriting | Aleksey Kladov | 2020-08-26 | 8 | -336/+296 |
| | | | | | | | | | | | | | | | | | | | | | | | | `hir` should know nothing about URLs, markdown and html. It should only be able to: * resolve stringy path from documentation * generate canonical stringy path for a def In contrast, link rewriting should not care about semantics of paths and names resolution, and should be concern only with text mangling bits. | ||||
* | | Merge #5893 | bors[bot] | 2020-08-26 | 2 | -2/+9 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | 5893: Allow running a test as a binary r=matklad a=jonas-schievink If a test uses `harness = false`, it just contains an `fn main` that is executed via `cargo test`. This adds support for that. Note though that Cargo doesn't actually tell us whether `harness = false`, so this hint will always show up when you put an `fn main` into an integration test. Normally people shouldn't be doing that if they do use the harness though. Co-authored-by: Jonas Schievink <[email protected]> | ||||
| * | Allow running a test as a binary | Jonas Schievink | 2020-08-26 | 2 | -2/+9 |
| | | |||||
* | | Cleanup hover links tests | Aleksey Kladov | 2020-08-26 | 1 | -88/+74 |
|/ | |||||
* | Improve support for code block attributes | León Orell Valerian Liehr | 2020-08-26 | 2 | -19/+170 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-08-26 | 1 | -17/+4 |
| | |||||
* | Merge #5889 | bors[bot] | 2020-08-26 | 4 | -326/+256 |
|\ | | | | | | | | | | | | | | | | | 5889: Allow logging to file r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Simplify | Aleksey Kladov | 2020-08-26 | 1 | -106/+69 |
| | | |||||
| * | Simplify help | Aleksey Kladov | 2020-08-26 | 3 | -224/+99 |
| | | |||||
| * | Allow redirecting logs to a specific file | Aleksey Kladov | 2020-08-26 | 3 | -10/+102 |
| | | | | | | | | | | There's a surprising lack of crates which are like env_logger, but also allow writing to a file. Let's write our own then! | ||||
* | | **Inline Variable** works with field shorthand | Aleksey Kladov | 2020-08-26 | 1 | -2/+29 |
|/ | |||||
* | Add sysroot shortcut to rust-project.json | Aleksey Kladov | 2020-08-25 | 2 | -19/+57 |
| | |||||
* | Cleanup heavy tests | Aleksey Kladov | 2020-08-25 | 2 | -37/+42 |
| | |||||
* | Don't expose indexing details | Aleksey Kladov | 2020-08-25 | 2 | -24/+20 |
| | |||||
* | Minor | Aleksey Kladov | 2020-08-25 | 1 | -2/+1 |
| | |||||
* | Provide better stack trace for overlapping edits | Aleksey Kladov | 2020-08-25 | 1 | -3/+9 |
| | | | | | | | Overlapping indels are a bug. Checking this *always* is tricky (needs a sorted data structure to not suffer O(N^2) perf). But opportunistically checking small indels should give provide 80% of the benefits. | ||||
* | Prepare to share sysroot lowering code between Cargo & ProjectJSON | Aleksey Kladov | 2020-08-25 | 2 | -105/+73 |
| | |||||
* | Complete `pub` in fields | Aleksey Kladov | 2020-08-25 | 7 | -8/+76 |
| | |||||
* | Prep work for overriding sysroot | Aleksey Kladov | 2020-08-25 | 2 | -54/+61 |
| | | | | | The idea here is to make auto-discovery optional, and to allow to set the path to sysroot directly. This is handy for JSON projects. | ||||
* | Remove monomorphisation from doclinks resolving code | Aleksey Kladov | 2020-08-25 | 2 | -34/+43 |
| | |||||
* | Remove AttrDef | Aleksey Kladov | 2020-08-25 | 4 | -66/+52 |
| | |||||
* | Simplify | Aleksey Kladov | 2020-08-25 | 1 | -6/+6 |
| | |||||
* | Move attrs from code_module to a separate module | Aleksey Kladov | 2020-08-25 | 3 | -126/+140 |
| | |||||
* | Minor | Aleksey Kladov | 2020-08-25 | 1 | -9/+6 |
| | |||||
* | Use the same abstraction for attrs and docs | Aleksey Kladov | 2020-08-25 | 5 | -12/+7 |
| | | | | | Doc comments *are* attributes, so there's no reason to have two crates here. | ||||
* | Merge #5866 | bors[bot] | 2020-08-25 | 4 | -14/+30 |
|\ | | | | | | | | | | | | | | | | | | | 5866: Improve logging r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | ||||
| * | Improve logging | Aleksey Kladov | 2020-08-25 | 4 | -14/+30 |
| | | |||||
* | | Merge #4873 | bors[bot] | 2020-08-25 | 10 | -61/+969 |
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4873: Resolve links in hover documentation r=matklad a=zacps This PR resolves links in hover documentation. Both the upcoming intra-doc-links style and the old "path-based" style. ## Todo * [x] More tests * [ ] Benchmark (Is there an easy way to benchmark this?) * [x] ~~Resolve issues with the markdown parser/get rid of it~~ Migrate to `pulldown_cmark_to_cmark` * [x] Reorganise code (Tips appreciated) --- Fixes #503 Co-authored-by: Zac Pullar-Strecker <[email protected]> | ||||
| * | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-08-25 | 40 | -244/+844 |
| |\ | |||||
| * | | Changes from review | Zac Pullar-Strecker | 2020-08-25 | 2 | -18/+23 |
| | | | |||||
| * | | Renames, comments, and dead code removal | Zac Pullar-Strecker | 2020-08-24 | 4 | -23/+8 |
| | | | |||||
| * | | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-08-24 | 1587 | -126973/+129005 |
| |\ \ | |||||
| * | | | Add a test to document unimplemented case | Zac Pullar-Strecker | 2020-08-24 | 1 | -0/+62 |
| | | | | |||||
| * | | | Reorganise code | Zac Pullar-Strecker | 2020-08-24 | 8 | -255/+345 |
| | | | | |||||
| * | | | update & configure cmark to render three backticks | Zac Pullar-Strecker | 2020-08-02 | 4 | -171/+173 |
| | | | | |||||
| * | | | remove debug eprintln! | Zac Pullar-Strecker | 2020-08-01 | 1 | -5/+1 |
| | | | | |||||
| * | | | pulldown_cmark no-default-features | Zac Pullar-Strecker | 2020-08-01 | 1 | -1/+1 |
| | | | | |||||
| * | | | move into separate module | Zac Pullar-Strecker | 2020-08-01 | 3 | -298/+307 |
| | | | | |||||
| * | | | Improve namespace parsing comment | Zac Pullar-Strecker | 2020-08-01 | 1 | -1/+7 |
| | | | | |||||
| * | | | use static data for namespace recognition | Zac Pullar-Strecker | 2020-08-01 | 2 | -55/+48 |
| | | | | |||||
| * | | | remove some crates.io deps | Zac Pullar-Strecker | 2020-08-01 | 2 | -18/+30 |
| | | | | |||||
| * | | | Update expect tests | Zac Pullar-Strecker | 2020-07-31 | 2 | -167/+417 |
| | | | | |||||
| * | | | Update test calls to 'expect' | Zac Pullar-Strecker | 2020-07-31 | 1 | -22/+36 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'upstream/master' into 503-hover-doc-links | Zac Pullar-Strecker | 2020-07-31 | 613 | -32781/+31173 |
| |\ \ \ | | | | | | | | | | | | | | | | Hasn't fixed tests yet. | ||||
| * | | | | Use From instead of Into in resolver method | Zac Pullar-Strecker | 2020-07-11 | 1 | -8/+8 |
| | | | | | |||||
| * | | | | Remove unintentional changes | Zac Pullar-Strecker | 2020-06-30 | 5 | -15/+13 |
| | | | | | |||||
| * | | | | Format | Zac Pullar-Strecker | 2020-06-30 | 2 | -8/+10 |
| | | | | |