Skip to content

Releases: ngirard/lolcate-rs

0.10.0

03 Dec 23:51
Compare
Choose a tag to compare

Fixed

  • Fix panic on broken pipe (#26).

0.9.2

23 Nov 10:31
Compare
Choose a tag to compare

Fixed

  • Fix GitHub Actions

0.9.0

23 Nov 10:10
Compare
Choose a tag to compare

Added

0.8.0

19 May 21:56
Compare
Choose a tag to compare

Changed

  • lookup_database: use bstr's for_byte_line(), leading to a ~25% performance improvement with queries on my system (e0ab2fc). Thanks to u/Freeky on Reddit for the suggestion.

0.7.0

19 May 09:39
Compare
Choose a tag to compare

Performance improvements.

Changed

  • Tweak the lz4 encoder parameters, resulting in a small performance improvement when updating & querying (3cddfcb).
  • Use multiple threads when updating databases, leading to performance improvement (9ec023f)

0.6.1

18 May 16:50
Compare
Choose a tag to compare

Fixed

  • Honor config.ignore_symlinks when walking the directory trees (thanks to BartMassey)

0.6.0

16 May 17:33
Compare
Choose a tag to compare

Added

  • The new gitignore option, when set to true in config.toml, enables Lolcate to take into account .gitignore files and skip the paths that match one of the .gitignore patterns.

Changed

  • Use regex for basename matching instead of splitting the path, leading to a 10% performance improvement
    (ec5140f, thanks to @icewind1991).
  • Added adoc (Asciidoc) to the doc predefined path type.

Fixed

  • Fix error when no skip directive in config.toml (#7).
  • Create db path if necessary (#8).

0.6.0pre6

13 Apr 18:43
8e98a94
Compare
Choose a tag to compare
0.6.0pre6 Pre-release
Pre-release

Pre-release with LTO.

0.6.0pre4

05 Mar 22:44
b56ae57
Compare
Choose a tag to compare
0.6.0pre4 Pre-release
Pre-release

This is a pre-release to test GitHub Actions.

0.5.0

03 Sep 14:58
Compare
Choose a tag to compare
  • Performance improvements.

  • A number of path types come predefined:

      img = ".*\\.(jp.?g|png|gif|JP.?G)$"
      video = ".*\\.(flv|mp4|mp.?g|avi|wmv|mkv|3gp|m4v|asf|webm)$"
      doc = ".*\\.(pdf|chm|epub|djvu?|mobi|azw3|odf|ods|md|tex|txt)$"
      audio = ".*\\.(mp3|m4a|flac|ogg)$"
    

    (to be used with e.g. lolcate --type doc <pattern>).

  • Configuration and data files are now split in separate directories (#5).

    This requires migrating your existing files. On Linux, you can use the following script:

      migrate_lolcate_data(){
          lolcate_data_dir=${XDG_DATA_HOME:-$HOME/.local/share}/lolcate
          lolcate_conf_dir=${XDG_CONFIG_HOME:-$HOME/.config}/lolcate
          mkdir ${lolcate_conf_dir}
          mv ${lolcate_data_dir}/config.toml ${lolcate_conf_dir}
          ls -d $lolcate_data_dir/*/ | while read db_dir; do
              db_name=$(basename $db_dir)
              db_config_dir=${lolcate_conf_dir}/${db_name}
              mkdir ${db_config_dir}
              mv ${db_dir}/{config.toml,ignores} ${db_config_dir}
          done
      }
      migrate_lolcate_data