summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/search.js
AgeCommit message (Expand)AuthorLines
2023-01-14rustdoc: simplify JS search routine by not messing with lev distanceMichael Howell-50/+64
2022-12-22rustdoc: use a more evocative name for CSS/JS `#titles`Michael Howell-8/+8
2022-11-28Add sentence when rustdoc search is runningGuillaume Gomez-4/+6
2022-11-14rustdoc: fix corner case in search keyboard commandsMichael Howell-0/+1
2022-11-04rustdoc: get rid of CSS/DOM `div.desc span`, which isn't really neededMichael Howell-3/+1
2022-11-04rustdoc: simplify search results CSS and DOMMichael Howell-4/+2
2022-08-10Improve crate selection on rustdoc search results pageFrank Steffahn-22/+9
2022-06-27Add comments, fixes for `0` sentinelMichael Howell-4/+3
2022-06-27Put back, fix ()-output optimizationMichael Howell-1/+1
2022-06-27Add documentationMichael Howell-1/+34
2022-06-24rustdoc: reference function signature types from the `p` arrayMichael Howell-35/+96
2022-06-20Improve loading of crates.js and sidebar-items.jsJacob Hoffman-Andrews-2/+3
2022-06-18Remove weird JS conditionGuillaume Gomez-4/+1
2022-05-27Add "eqeqeq" eslint ruleGuillaume Gomez-4/+4
2022-05-18Rollup merge of #97113 - GuillaumeGomez:search-ui-fixes, r=notriddleYuki Okushi-1/+1
2022-05-17rustdoc: make search.js a moduleJacob Hoffman-Andrews-46/+66
2022-05-17Fix duplicated "in" in the search result textGuillaume Gomez-1/+1
2022-05-15Add new eslint rule about brace styleGuillaume Gomez-28/+45
2022-05-12rustdoc: fix GUI crash when searching for magic JS property valuesMichael Howell-2/+2
2022-05-11Rollup merge of #96879 - notriddle:notriddle/search-ranking, r=GuillaumeGomezYuki Okushi-1/+1
2022-05-09rustdoc: search result ranking fixMichael Howell-1/+1
2022-05-08Remove unused param from search.js::checkPathMichael Howell-2/+2
2022-05-07Enforce quote rule for JS source codeGuillaume Gomez-13/+14
2022-05-07Change eslint rules from configuration comments to configuration filesFolyd-4/+0
2022-05-06Rollup merge of #96748 - GuillaumeGomez:reexports-in-search, r=notriddleGuillaume Gomez-0/+3
2022-05-06Rollup merge of #96590 - notriddle:notriddle/tab-bar-fn-search, r=GuillaumeGo...Guillaume Gomez-25/+44
2022-05-06Fix reexports missing from the search indexGuillaume Gomez-0/+3
2022-05-05rustdoc: fix JS error when rendering parse errorMichael Howell-0/+4
2022-05-05rustdoc: fix keyboard shortcuts and console log on search pageMichael Howell-12/+24
2022-05-05rustdoc: change the "In Function Signatures" to context-sensitiveMichael Howell-1/+5
2022-05-05rustdoc: when running a function-signature search, tweak the tab barMichael Howell-13/+12
2022-05-05Use "strict" mode in JS scriptsGuillaume Gomez-1/+3
2022-05-04Move callback to the () => {} syntax.Folyd-23/+23
2022-04-30Move settings into full JSGuillaume Gomez-8/+8
2022-04-29Rollup merge of #96390 - GuillaumeGomez:es6-part2, r=notriddleDylan DPC-5/+4
2022-04-26Small JS code improvementsGuillaume Gomez-5/+4
2022-04-26Update rustdoc search parser to handle `!` correctlyGuillaume Gomez-2/+13
2022-04-24Update search.js to ES6Guillaume Gomez-218/+207
2022-04-20Extend `handleSingleArg` documentationGuillaume Gomez-0/+4
2022-04-18Correctly handle single `:`Guillaume Gomez-10/+6
2022-04-18Add an extra check over filter typeGuillaume Gomez-3/+30
2022-04-18Fix some corner casesGuillaume Gomez-5/+3
2022-04-18Parse idents the same way in both quote string elements and "normal" elementsGuillaume Gomez-32/+44
2022-04-18Remove unnecessary `elem.name.length === 0` since the rustdoc search eBNF doe...Guillaume Gomez-1/+1
2022-04-18Update the eBNF to allow generics bracket to not be closed if it's EOFGuillaume Gomez-1/+1
2022-04-18Handle separators in their own functions and fix missing handling of tabsGuillaume Gomez-3/+18
2022-04-18Improve the BNF description a bit and fix some issuesGuillaume Gomez-18/+44
2022-04-18Forbid rustdoc search query to end with ->Guillaume Gomez-0/+3
2022-04-18Add isIdentCharacter function to ensure that unexpected characters are handle...Guillaume Gomez-10/+29
2022-04-18Replace unneeded use of regex with a simple ifGuillaume Gomez-1/+4