| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-10-30 | rustdoc-search: pass original names through AST | Michael Howell | -106/+53 | |
| 2024-09-05 | rustdoc-search: allow trailing `Foo ->` arg search | Michael Howell | -9/+0 | |
| 2024-06-07 | Update tests | Sunshine | -7/+16 | |
| 2024-03-11 | rustdoc-search: add search query syntax `Fn(T) -> U` | Michael Howell | -3/+12 | |
| This is implemented, in addition to the ML-style one, because Rust does it. If we don't, we'll never hear the end of it. This commit also refactors some duplicate parts of the parser into a dedicated function. | ||||
| 2024-03-11 | rustdoc-search: parse and search with ML-style HOF | Michael Howell | -2/+2 | |
| Option::map, for example, looks like this: option<t>, (t -> u) -> option<u> This syntax searches all of the HOFs in Rust: traits Fn, FnOnce, and FnMut, and bare fn primitives. | ||||
| 2023-12-26 | rustdoc: search for tuples and unit by type with `()` | Michael Howell | -13/+4 | |
| 2023-11-29 | rustdoc-search: replace TAB/NL/LF with SP first | Michael Howell | -0/+9 | |
| This way, most of the parsing code doesn't need to be designed to handle it, since they should always be treated exactly the same anyhow. | ||||
| 2023-11-29 | rustdoc-search: removed dead parser code | Michael Howell | -0/+9 | |
| This is already covered by the normal unexpected char path. | ||||
| 2023-11-29 | rustdoc-search: allow `:: ` and ` ::` | Michael Howell | -18/+9 | |
| This restriction made sense back when spaces separated function parameters, but now that they separate path components, there's no real ambiguity any more. Additionally, the Rust language allows it. | ||||
| 2023-11-19 | rustdoc-search: add support for associated types | Michael Howell | -1/+1 | |
| 2023-06-14 | Fix eBNF and handling of whitespace characters when not in a path | Guillaume Gomez | -1/+105 | |
| 2023-06-14 | Update rustdoc-js-std tests | Guillaume Gomez | -21/+75 | |
| 2023-06-12 | rustdoc-search: search never type with `!` | Michael Howell | -0/+9 | |
| This feature extends rustdoc to support the syntax that most users will naturally attempt to use to search for diverging functions. Part of #60485 It's already possible to do this search with `primitive:never`, but that's not what the Rust language itself uses, so nobody will try it if they aren't told or helped along. | ||||
| 2023-06-09 | Update rustdoc-js* format | Guillaume Gomez | -45/+42 | |
| 2023-03-20 | rustdoc: add support for type filters in arguments and generics | Michael Howell | -45/+13 | |
| This makes sense, since the search index has the information in it, and it's more useful for function signature searches since a function signature search's item type is, by definition, some type of function (there's more than one, but not very many). | ||||
| 2023-03-03 | Add test for unclosed generic | Guillaume Gomez | -0/+10 | |
| 2023-03-02 | Add GUI test for rustdoc search errors background | Guillaume Gomez | -2/+2 | |
| 2023-02-16 | rustdoc: search by macro when query ends with `!` | Michael Howell | -0/+20 | |
| Related to #96399 | ||||
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+385 | |
