on 7c41bd7 help sign in
history ofsrc/assets.rs
all commits
7c41bd7assets: add Debian ucf backups to ignored suffixesVille Skyttä 19c3e82Replace deprecated 'error-chain' with 'thiserror' (#1820)Martin Nordholts f1c0fd7Don't take a HighlightingAssets detour to build assets (#1802)Martin Nordholts ed09f90Fix all lints that are new with Rust 1.54Martin Nordholts 25fa577Make 'build-assets' an optional capability for applicationMartin Nordholts deddc81src/assets.rs: Use ThemeSet::new() instead of BTreeMap::new()Martin Nordholts d8b813cWhen returning a SyntaxReference, also return the SyntaxSet that contains it (#1776)Martin Nordholts 47d955aAdd code for analyzing dependencies between syntaxesMartin Nordholts 0331d28cargo fmtMartin Nordholts 3b020fdMerge pull request #1771 from sharkdp/warn_when_missing_contextsKeith Hall 50e1c60Warn when building assets from files if some referenced contexts are missingKeith Hall a610987assets::tests: Add get_syntax_name() helperMartin Nordholts ffdf349HighlightingAssets: Encapsulate theme_set behind a getterMartin Nordholts 6acec2cReduce startup time in loop-through mode with 80%-90%Martin Nordholts 1bac375HighlightingAssets: Move out fn get_integrated_*set() to module scopeMartin Nordholts a810096HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failableMartin Nordholts c0e0966HighlightingAssets::get_extension_syntax(): Split up into smaller methodsMartin Nordholts ccf4563Make loading of cached assets closer in performance to integrated assetsMartin Nordholts f6fc826HighlightingAssets: Introduce private fn new() helperMartin Nordholts 375d55aHighlightingAssets: Encapsulate syntax_set behind a getterMartin Nordholts 6ef2bb3De-duplicate some themes.bin and syntaxes.bin related codeMartin Nordholts 33c11d6Run cargo fmtDavid Peter 21338edAbort ignored filename suffix stripping early on unworkable filenamesDavid Peter dc8ab0bSimplify ignored filename suffix strippingDavid Peter 355e62eFind syntax ignoring known backup/template filename suffixesVille Skyttä 304ee14Use `!theme.is_empty()`Mohamed Abdelnour d89fa3eAdd SystemVerilog supportSean McLoughlin 35347c2Improve readabilityAleksey Kladov 694b319Change circle detection to use new more conservative method and run in main loop instead of before the loopNiklas Mohrin 573f34dUpdate dependencies; replace unmaintained (#1522)Caden Haustein 05e9da3bat cache --build: Print syntect error message for themes if anyMartin Nordholts 47bb4a9Introduce bat_warning! helper macroMartin Nordholts 3099f51Add ansi theme to replace ansi-light and ansi-darkMitchell Kember c477e23Handle file extension conflicts in --list-languagesKienyew fc121f0Defaults *.fs to F#Caio Alonso 9cc8e52Fix compiler warning for 'windows' tests (dead_code)Roy Ivy III 0319149[breaking] Remove special handling for theme previewsEthan P 9cb43efUpdate testssharkdp bd17fd5Switch from path-absolutize to path_abssharkdp 943b1f8Fix syntax detection for symlinkssharkdp c4031adFix syntax detection for files called 'rails'sharkdp 5aa20c0Refactor HighlightingAssets::get_syntax to return Result typeEthan P cc52f79Add helper fn for checking if opened input is theme preview fileEthan P 59140b4Consolidate syntax detection behavior for all InputKind typesEthan P 157b8ddRename test for checking if inputkinds are consistentEthan P 1fb669aTest that OrdinaryFile consistent with CustomReaderEthan P 7d07aa3Change assets.rs tests to use InputKind::CustomReaderEthan P f39487fMake syntax detection more consistent for Reader and File inputsEthan P e37e9c1Fix some clippy lintsLzu Tao 261a7eaAdd *_with_name methodssharkdp