on a70efae help sign in
history ofsrc/assets.rs
all commits
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 53a973eAdd syntaxes and themes methodsharkdp 702cb19Rename error modulesharkdp 26c951fFix warnings, sort imports, input from stringsharkdp 590960fCompletely refactor 'input' modulesharkdp f3b90ddAdd InputDescriptionsharkdp f8d0956Rename InputFile => Inputsharkdp 1dc328aSeparate inputs from configsharkdp 057e4ecLarge refactoring towards a better builder structuresharkdp 2e9cf63Fix compilation of librarysharkdp 72618dbAdd metadata information to cached assetssharkdp 34619a2Small refactoring, handle invalid UTF-8 filenamessharkdp 83d408bExtract common syntax functionality to helper fnsKyle Criddle 1b8ce60Pass stdin as a generic BufRead, fix stdin testssharkdp 90e7d2fRename field name, new constructorssharkdp 04fa84aMoved user_provided_filename to be contained within OrdinaryFile structKyle Criddle a3f8140Use --file-name to detect syntax highlightingKyle Criddle eb2f3ddRename test methodssharkdp dfd3ef0Add more default mappings, reverse traversalsharkdp 57aed07Use absolute path for lookup in databasesharkdp bd8a13dInitial implementation of glob-based syntax mappingsharkdp 3234661Move syntaxes, fixes #874sharkdp dfe5eb3Add an even simple examplesharkdp 8c500a7Hide get_syntax, move tests to modulesharkdp acf51bdRename methods and parameterssharkdp 83dc13aAdd fallback theme, remove BAT_THEME_DEFAULTsharkdp 094c526Hide some methods from HighlightingAssetssharkdp 62f2d0cDo not export syntax_set and theme_setsharkdp 7e01156Move error module to separate filesharkdp 06b7be7Major restructuring of theme/syntax handlingsharkdp 2253d07Derive fmt::Debug whenever possibleFahmi Akbar Wildana c9d7e36Enforce the creation of the full cache dir pathFernando Mendes 82f1412Applied linter fixesDaniele Esposti a21ae61Migrated to Rust 2018Daniele Esposti 54143d1Add --cache-dir optionsharkdp