about summary refs log tree commit diff
path: root/src/librustdoc/html/highlight.rs
AgeCommit message (Expand)AuthorLines
2022-02-03rustdoc: clippy::complexity fixesMatthias Krüger-2/+1
2021-12-28remove in_band_lifetimes from librustdocMichael Goulet-3/+3
2021-11-23Fix RustDocEsteban Kuber-1/+1
2021-11-04Sort scraped call locations before serializingWill Crichton-1/+7
2021-10-27Rollup merge of #90278 - notriddle:notriddle/highlight-ptr, r=jyn541,Guillaum...Matthias Krüger-6/+21
2021-10-25rustdoc: use better highlighting for *const, *mut, and &mutMichael Howell-6/+21
2021-10-25Fix clippy lints in librustdocGuillaume Gomez-2/+2
2021-10-23Rollup merge of #85833 - willcrichton:example-analyzer, r=jyn514Matthias Krüger-11/+64
2021-10-08Move more scrape-examples logic from JS to rustWill Crichton-1/+1
2021-10-06Change serialized format to use DefPathHash instead of custom StringWill Crichton-5/+1
2021-10-06Incorporate jyn's feedbackWill Crichton-1/+5
2021-10-06Move highlighting logic from JS to RustWill Crichton-11/+64
2021-10-04Make rustdoc not highlight `->` and `=>` as operatorsMichael Howell-2/+21
2021-09-29Rollup merge of #87428 - GuillaumeGomez:union-highlighting, r=notriddleEric Huss-5/+65
2021-09-13Add support for primitives in "jump to definition" featureGuillaume Gomez-0/+8
2021-08-19[rustdoc] Wrap code blocks in <code> tagJakub Beránek-3/+4
2021-08-06Fix highlighting for union keywordGuillaume Gomez-5/+65
2021-08-05Remove LightSpan and use Span directlyGuillaume Gomez-28/+21
2021-08-05* Rename LightSpan::empty into LightSpan::dummyGuillaume Gomez-22/+18
2021-08-05Add missing root_path when generating links using hrefGuillaume Gomez-1/+8
2021-08-05Fix invalid generation of HTML in highlightGuillaume Gomez-41/+42
2021-08-05formattingGuillaume Gomez-16/+12
2021-08-05Use rustdoc Span in LinkFromSrc directlyGuillaume Gomez-2/+1
2021-08-05Move extra arguments for highlight URL generation into a new ContextInfo stru...Guillaume Gomez-31/+39
2021-08-05Wrap the span_map tuple index into a type called "LightSpan"Guillaume Gomez-27/+10
2021-08-05Improve code readabilityGuillaume Gomez-55/+42
2021-08-05* Rename Span::from_rustc_span to Span::newGuillaume Gomez-1/+1
2021-08-05* Rename 'move_span' into 'local_span_to_global_span'Guillaume Gomez-10/+60
2021-08-05Generate links for methods as wellGuillaume Gomez-3/+3
2021-08-05Add links on source types to go to definitionGuillaume Gomez-34/+152
2021-06-26Rename 'bad prefix' to 'unknown prefix'.Mara Bos-1/+1
2021-06-26Reserve prefixed identifiers and string literals (RFC 3101)lrh2000-1/+1
2021-05-10Fix line number not being clickable on source pagesGuillaume Gomez-3/+12
2021-05-05Remove unneeded call to with_default_session_globals in rustdoc highlightGuillaume Gomez-20/+17
2021-05-03Change librustdoc write(.. \n) to writeln(..); fix comment in grammarmautamu-2/+2
2021-04-08Merge idents if they are part of a pathGuillaume Gomez-18/+107
2021-04-02rustdoc: highlight macros more efficientlyMichael Howell-2/+6
2021-01-30rustdoc tweakingbors-24/+22
2020-12-24rustdoc: Highlight edition-specific keywords correctly in code blocks, accoun...ThePuzzlemaker-7/+15
2020-12-23Update HTML DOM attribute "edition" to "data-edition"Guillaume Gomez-1/+1
2020-12-05Move tooltips messages to CSS instead of inside HTMLGuillaume Gomez-5/+10
2020-11-17Rollup merge of #79069 - jyn514:class-none, r=GuillaumeGomezMara Bos-17/+16
2020-11-17Rollup merge of #77939 - GuillaumeGomez:fix-source-code-dos-backline, r=jyn514Mara Bos-1/+3
2020-11-15Add test to ensure that no DOS backline (\r\n) doesn't create extra backline ...Guillaume Gomez-3/+3
2020-11-15Make all rustdoc functions and structs crate-privateJoshua Nelson-1/+1
2020-11-15Ensure that the source code display is working with DOS backlineGuillaume Gomez-0/+2
2020-11-15Get rid of `Class::None`Joshua Nelson-17/+16
2020-08-31Fix strings indentGuillaume Gomez-1/+1
2020-08-27Remove dependency on StringReader from rustdoc highlighterAleksey Kladov-330/+224
2020-07-14rustdoc: glue tokens before highlightingAndy Russell-14/+37