about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-1549/+0
2022-08-29Update asrawfd.js.Dan Gohman-3/+3
2022-05-11Rollup merge of #96887 - notriddle:notriddle/as-raw-fd, r=jshaYuki Okushi-0/+14
rustdoc: correct path to type alias methods Fixes #83991
2022-05-10Ignore orderMichael Howell-1/+1
This isn't an ordering test really, anyway...
2022-05-09rustdoc: correct path to type alias methodsMichael Howell-0/+14
2022-05-09Add test case for `hashset::insert` rankingMichael Howell-0/+12
2022-04-26Update rustdoc search test to check `!`Guillaume Gomez-1/+135
2022-04-18Correctly handle single `:`Guillaume Gomez-0/+10
2022-04-18Add test to ensure that keywords in path are workingGuillaume Gomez-1/+16
2022-04-18Add an extra check over filter typeGuillaume Gomez-0/+60
2022-04-18Fix some corner casesGuillaume Gomez-1/+26
2022-04-18Add more tests for quote errorsGuillaume Gomez-3/+61
2022-04-18Add tests for pathsGuillaume Gomez-0/+20
2022-04-18Handle separators in their own functions and fix missing handling of tabsGuillaume Gomez-0/+216
2022-04-18Improve the BNF description a bit and fix some issuesGuillaume Gomez-22/+157
2022-04-18Forbid rustdoc search query to end with ->Guillaume Gomez-0/+10
2022-04-18Add isIdentCharacter function to ensure that unexpected characters are ↵Guillaume Gomez-4/+14
handled correctly
2022-04-18Apply suggestions:Guillaume Gomez-30/+47
* Forbid generics without a path (so "<p>" is forbidden). * Change `handleSingleArg` so that it takes `results_others`, `results_in_args` and `results_returned` as arguments instead of using the "global" variables. * Change `createQueryElement` so that it returns the newly created element instead of taking `elems` as argument. * Improve documentation
2022-04-18Improve documentation and add some explanations in the codeGuillaume Gomez-1/+2
2022-04-18Simplify parser syntaxGuillaume Gomez-163/+10
2022-04-18Make query parser more strict and improve display of errorsGuillaume Gomez-86/+175
2022-04-18* Greatly improve the rustdoc search parser source codeGuillaume Gomez-83/+33
* Move all functions outside parseQuery
2022-04-18* If type filter is in quotes, throw an error.Guillaume Gomez-53/+32
* If there are generics, don't allow to have quotes.
2022-04-18Improve naming of "val" fieldGuillaume Gomez-25/+25
2022-04-18Add parser testsGuillaume Gomez-0/+639
2022-04-18Update testsGuillaume Gomez-5/+16
2022-02-14Update `macro:print` typed-query rustdoc test to include `pin!` resultsDaniel Henry-Mantilla-0/+2
2022-02-10Remove support for multi-query searchGuillaume Gomez-10/+0
2021-09-12Fix linkcheck issuesJoshua Nelson-3/+4
Most of these are because alloc uses `#[lang_item]` to define methods, but core documents primitives before those methods are available. - Fix rustdoc-js-std test For some reason this change made CStr not show up in the results for `str,u8`. Since it still shows up for str, and since it wasn't a great match for that query anyway, I think this is ok to let slide. - Add test that all primitives can be linked to - Enable `doc(primitive)` in `core` as well - Add linkcheck exception specifically for Windows Ideally this would be done automatically by the linkchecker by replacing `\\` with forward slashes, but this PR is already a ton of work ... - Don't forcibly fail linkchecking if there's a broken intra-doc link on Windows Previously, it would exit with a hard error if a missing file had `::` in it. This changes it to report a missing file instead, which allows adding an exception.
2021-07-01fix(rustdoc): generics searchMichael Howell-0/+7
This commit adds a test case for generics, re-adds generics data to the search index, and tweaks function indexing to use less space in JSON. This reverts commit 14ca89446c076bcf484d3d05bd991a4b7985a409.
2021-06-30Add test to ensure that the typed queries are not including other typesGuillaume Gomez-0/+12
2021-01-27Add search index test for primitive typesGuillaume Gomez-0/+75
2020-05-14Make current crate aliases go firstGuillaume Gomez-4/+2
2020-05-07Merge aliases and search-indexGuillaume Gomez-5/+5
2020-05-07Update std testsGuillaume Gomez-3/+5
2020-03-16Add tests for new of variablesGuillaume Gomez-0/+10
2020-03-16Update JS results testerGuillaume Gomez-2/+5
2020-03-16Support type search for arguments and returned typesGuillaume Gomez-0/+7
2019-09-04Improve searching in rustdoc and add testsShiqing-0/+1
2019-02-25Rename rustdoc js test suitesGuillaume Gomez-0/+189