Commit graph

181 commits

Author SHA1 Message Date
Christina Sørensen 4a52715283
chore: release 0.11.1
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-11 10:33:10 +02:00
ariasuni d1c9e9ddec feat: use chrono crate to handle datetime-related features
- Improve compatibility with other OSes, timezone are handled for us
- Reduce significantly the code to render date and time
2023-09-10 01:10:18 +02:00
Christina Sørensen df7d7eb8b1
Merge branch 'main' into fix-file-escaping-and-hyperlink 2023-09-09 06:00:42 +02:00
Mélanie Chauvel 7a04b30d5a fix: filename escaping (last character lost sometimes, no hyperlink) 2023-09-08 23:00:11 +02:00
Christina Sørensen fe1ac47dd7
Merge branch 'main' into mount_point 2023-09-08 16:07:16 +02:00
PThorpe92 1ab2f06c50 deps: change ansi_term to ansiterm from rustadopt 2023-09-06 17:59:42 -04:00
Steven Davies 3436171e9f feat: Add highlighting of mounted directories (Linux only)
Closes #167
2023-09-06 20:55:36 +01:00
Christina Sørensen c23cd693ff
chore: release 0.11.0
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-09-04 04:12:16 +02:00
Robert Minsk bf5d602dc6 refactor: Use phf macros instead of codegen to create icon and filetype tables 2023-09-02 13:28:20 -07:00
Robert Minsk c8c2b1c7d0 feat: Use perfect hash tables for file types and icons 2023-09-02 13:28:20 -07:00
dependabot[bot] 6e82e5afe6
chore(deps): bump timeago from 0.3.1 to 0.4.1
Bumps [timeago](https://github.com/vi/timeago) from 0.3.1 to 0.4.1.
- [Release notes](https://github.com/vi/timeago/releases)
- [Commits](https://github.com/vi/timeago/compare/v0.3.1...v0.4.1)

---
updated-dependencies:
- dependency-name: timeago
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 06:26:13 +00:00
dependabot[bot] 8854b13fb0
chore(deps): bump terminal_size from 0.1.16 to 0.2.6
Bumps [terminal_size](https://github.com/eminence/terminal-size) from 0.1.16 to 0.2.6.
- [Release notes](https://github.com/eminence/terminal-size/releases)
- [Commits](https://github.com/eminence/terminal-size/compare/v0.1.16...v0.2.6)

---
updated-dependencies:
- dependency-name: terminal_size
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 05:49:46 +00:00
dependabot[bot] 1c8c77c467
chore(deps): bump glob from 0.3.0 to 0.3.1
Bumps [glob](https://github.com/rust-lang/glob) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/rust-lang/glob/releases)
- [Commits](https://github.com/rust-lang/glob/compare/0.3.0...0.3.1)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 05:20:55 +00:00
dependabot[bot] c1e737d3b8
chore(deps): bump uzers from 0.11.1 to 0.11.2
Bumps [uzers](https://github.com/rustadopt/uzers-rs) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/rustadopt/uzers-rs/releases)
- [Changelog](https://github.com/rustadopt/uzers-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustadopt/uzers-rs/compare/v0.11.1...v0.11.2)

---
updated-dependencies:
- dependency-name: uzers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-01 05:14:42 +00:00
dependabot[bot] 90ee3b0b99
chore(deps): bump git2 from 0.17.2 to 0.18.0
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.17.2 to 0.18.0.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.17.2...git2-0.18.0)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-28 22:19:34 +00:00
Christina Sørensen 8e6a4807b0
chore: release 0.10.9
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-28 10:48:52 +02:00
Christina Sørensen 6e5920597d
Merge branch 'main' into move-to-uzers 2023-08-22 16:07:11 +02:00
Sandro-Alessio Gierens aec1c95831 deps: change users depedency to uzers
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
2023-08-22 11:41:07 +02:00
Christina Sørensen 2b674bcd99
chore: release 0.10.8
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-22 10:56:09 +02:00
Christina Sørensen a030c580dd
Merge branch 'main' into dependabot/cargo/num_cpus-1.16.0 2023-08-16 07:34:14 +02:00
Christina Sørensen c268f9264d
Merge branch 'main' into dependabot/cargo/git2-0.17.2 2023-08-15 16:47:00 +02:00
Christina Sørensen cb5802bc6a
Merge pull request #123 from eza-community/dependabot/cargo/libc-0.2.147
chore(deps): bump libc from 0.2.93 to 0.2.147
2023-08-15 16:15:09 +02:00
dependabot[bot] a8ddc4eb4a
chore(deps): bump unicode-width from 0.1.8 to 0.1.10
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.8 to 0.1.10.
- [Commits](https://github.com/unicode-rs/unicode-width/compare/v0.1.8...v0.1.10)

---
updated-dependencies:
- dependency-name: unicode-width
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 22:49:53 +00:00
dependabot[bot] 7bdf48ee2e
chore(deps): bump git2 from 0.16.1 to 0.17.2
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.16.1 to 0.17.2.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.16.1...0.17.2)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-13 05:31:56 +00:00
dependabot[bot] e9f7f80954
chore(deps): bump num_cpus from 1.13.0 to 1.16.0
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.13.0 to 1.16.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases)
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.16.0)

---
updated-dependencies:
- dependency-name: num_cpus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-13 05:31:53 +00:00
dependabot[bot] 8383d3e930
chore(deps): bump libc from 0.2.93 to 0.2.147
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.93 to 0.2.147.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.93...0.2.147)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-13 05:31:51 +00:00
Christina Sørensen 305b3e2141
chore: release 0.10.7
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-13 07:23:35 +02:00
dependabot[bot] 489f51e7cf
chore(deps): bump log from 0.4.14 to 0.4.20
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.20.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.14...0.4.20)

---
updated-dependencies:
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-12 14:58:56 +00:00
Christina Sørensen 6f345bd3b2
chore: release 0.10.6
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-07 20:05:34 +02:00
Christina Sørensen ad746f1d0a
chore: release 0.10.5
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-03 10:14:47 +02:00
Christina Sørensen 1a5a60007c
chore: release 0.10.4
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-08-02 08:36:14 +02:00
Christina Sørensen 8df8e8f192
chore: update cargo lock
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-07-31 08:45:08 +02:00
Christina Sørensen b9295d8066
chore: bump to v0.10.2
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-07-30 19:32:44 +02:00
Christina Sørensen 24655dfea5
Merge branch 'main' into pr-1061
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-07-30 06:01:15 +02:00
Christina Sørensen 064282843c
fix(grid): fixed grid bug
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-07-29 17:40:41 +02:00
dependabot[bot] 511ee7ad36
Bump git2 from 0.13.20 to 0.16.1
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.20 to 0.16.1.
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.20...0.16.1)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-29 12:44:51 +00:00
Christina Sørensen c92602d55a
fix: change man pages to reffer to new binary name
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2023-07-29 14:19:05 +02:00
dependabot[bot] ccf2110bad
Bump openssl-src from 111.15.0+1.1.1k to 111.26.0+1.1.1u
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.15.0+1.1.1k to 111.26.0+1.1.1u.
- [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases)
- [Commits](https://github.com/alexcrichton/openssl-src-rs/commits)

---
updated-dependencies:
- dependency-name: openssl-src
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-29 11:49:51 +00:00
Denis Cornehl 1d950086bc Resolves #270: add support for --time-style=relative 2023-03-07 17:34:35 +01:00
Bastien Orivel af208285e8 Update term_grid to 0.2 2021-12-10 13:21:13 +01:00
James Tai c46329efb2 Update git2 package 2021-08-01 15:49:19 -07:00
ariasuni a85c72e2a0 Replace unmaintained crate term_size by terminal_size 2021-04-27 00:16:25 +02:00
Haren S 90b97753ad
Update lockfile (#854)
Update lockfile (exa now requires Rust 1.45.2 or higher)

Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
2021-04-26 23:37:32 +02:00
Benjamin Sago c0df1fb6c2 cargo update 2021-04-12 22:27:59 +01:00
Benjamin Sago 505808fd9f The road ahead 2021-04-04 23:03:53 +01:00
Benjamin Sago 03cd3a81ff v0.10.0 2021-04-03 17:42:56 +01:00
Benjamin Sago 004589d079 Upgrade datetime to remove some dependencies 2021-04-01 16:58:01 +01:00
Benjamin Sago 61c5df7c11 Use Specsheet for the extended tests
This commit changes the way the extended test suite is run.

Previously, there was a folder full of outputs, and a script that ran exa repeatedly to check the outputs match. This script was hacked-together, with many problems:

• It stops at the first failure, so if one test fails, you have no idea how many actually failed.
• It also didn't actually show you the diff if one was different, it just checked it.
• It combined stdout and stderr, and didn't test the exit status of exa.
• All the output file names were just whatever I felt like calling the file at the time.
• There is no way to only run a few of the tests — you have to run the whole thing each time.
• There's no feel-good overall view where you see how many tests are passing.

I started writing Specsheet to solve this problem (amongst other problems), and now, three and a half years later, it's finally ready for prime time.

The tests are now defined as data rather than as a script. The outputs have a consistent naming convention (directory_flags.ansitxt), and they check stdout, stderr, and exit status separately. Specsheet also lets simple outputs (empty, non-empty, or one-line error messages) can be written inline rather than needing to be in files.

So even though this pretty much runs the same tests as the run.sh script did, the tests are now more organised, making it easy to see where tests are missing and functionality is not being tested.
2020-10-17 21:12:18 +01:00
Benjamin Sago 8046980806 Mass version upgrade
This upgrades the versions of everything, including upgrading almost all outdated dependencies.

• number_prefix had some backwards-incompatible changes. It now feels more Rustful, and spells "Mebi" correctly.
• term_grid stopped working when I upgraded it, worryingly, so I reverted it back.
2020-10-10 02:14:35 +01:00
Benjamin Sago 04e2d4c692 Just straight-up roll our own logger
This commit removes the env_logger dependency, replacing it with a simple implementation. Doing so removes like ten other transitive dependencies that no longer need to be included in the build.

It also gains the ability to enable trace-level logging. The users crate, which contains such logging statements as of the version I published a few days ago, has been upgraded to celebrate.

Also, change the log imports to globs. I'm only interested that a file doing logging, not what level it's logging at.
2020-10-10 02:01:12 +01:00