Commit graph

138 commits

Author SHA1 Message Date
Wei Zhang
94249be768 ⬇️ rollback the term grid to 0.1
we should consider find another alternative

Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-26 00:28:42 +08:00
Wei Zhang
16181df25b 🎉 release v1.1.1
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-23 15:11:34 +08:00
Wei Zhang
7ad1be8cda ⬆️ set msrv to 1.74
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-22 23:59:12 +08:00
Wei Zhang
62a4c54733 add xdg dir back
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2024-03-22 23:59:12 +08:00
Ofer Sadan
94538d01e0 Support multiple file paths for config and theme 2024-03-22 23:59:12 +08:00
Fabio Valentini
0d2e36ac99 update various dependencies
- update dirs from v4 to v5 (no code changes)
- update term_grid from v0.1 to v0.2 (small code changes)
- update terminal_size from v0.1 to v0.3 (no code changes)
- update lscolors from v0.15 to v0.16 (no code changes)
- update serde_yaml from v0.8 to v0.9 (no code changes)

The term_grid update required small changes to the use of
`term_grid::Cell` because with v0.2, it is possible to specify the
alignment within the cell. Adding `Alignment::Left` should preserve
the current behaviour.

This commit also includes the changes generated by "cargo update",
which seems not to have been run in a long time, causing very old
versions to be pulled in.
2024-02-16 11:30:41 +08:00
Fabio Valentini
dee06211ab
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.

- deps: update chrono-humanize to v0.2

We have this patched for almost two years in Fedora and it has not
caused issues.

- deps: update assert_cmd to v2

Same here, this patch has been in the Fedora package for a while.

- deps: update sys-locale to v0.3

This dependency seems to have been added recently, not sure why an old
version was chosen.

- deps: update vsort to v0.2

Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.

- deps: update git2 to v0.18

Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.

- deps: migrate from users to uzers

The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.

- deps: update serial_test to v2

The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.

- deps: update predicates to v3

Same here, predicates v1 is **reaally** old.

- deps: allow newer versions of url, wild, and xdg crates

Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 11:44:20 +08:00
Wei Zhang
64f9dab351
⬆️ bump lscolors to v0.15.0 and msrv to 1.69.0 (#944)
<!--- PR Description --->

predicates v3 msrv is 1.69 in https://github.com/lsd-rs/lsd/pull/938
2023-11-01 13:08:05 +08:00
Wei Zhang
1714d89d8e ⬇️ change dirs to 4
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-09-29 01:29:46 +08:00
Alexander Kjäll
a325255bcb upgrade lscolors to 0.14.0 2023-09-27 00:53:56 +08:00
Alexander Kjäll
08ffd13b34 upgrade dirs to version 5 2023-09-27 00:53:12 +08:00
Alexander Kjäll
23d7348afc upgrade xattr to version 1 2023-09-27 00:50:40 +08:00
Bjoern Hiller
7a9506da89 Parse hex colors in themes (#647)
Just delegate to the default deserializer of crossterm which learned
dealing with hex color in version 0.27.0.
2023-08-30 12:21:18 +08:00
Wei Zhang
9b8ed0ef73 🎉 📝 update docs, release v1.0.0
Signed-off-by: Wei Zhang <kweizh@gmail.com>
2023-08-26 00:44:13 +08:00
juansc
4514713e9b
fix version sort for matching GNU ls (#843) 2023-07-06 14:02:57 +08:00
Pascal H
2fe3fcdd35
Git integration (#822) 2023-05-01 00:26:15 +08:00
Marcin Puc
c267a040c6 Switch arg parsing to clap v4 with derive 2023-03-17 00:12:32 +08:00
scarf
7b9290c92c
Localization support (#820)
find locale set with [sys-locale](https://crates.io/crates/sys-locale),
then format with locales.
2023-03-13 10:44:54 +08:00
Icxolu
c1c8958fd0 move winapi to windows 2022-11-13 22:10:58 +05:30
zwPapEr
9de3090c12 🔥 icon: drop custom icon file option
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2022-10-10 11:16:56 +05:30
Abin Simon
84fedc6f44
Release 0.23.1 2022-09-13 08:55:33 +05:30
Abin Simon
80a2bb26c8
Release 0.23.0 2022-09-05 14:53:06 +05:30
Saber Haj Rabiee
06ce88dd46 perf: reduces the binary size and improves the performance
correctes the `CHANGELOG.md`

correctes the CHANGELOG.md
2022-08-23 22:39:14 +05:30
James
0f42e725f9 Update clap to v3 2022-08-23 22:16:54 +05:30
Abin Simon
5431651631 Bump crossterm to 0.24.0 2022-07-05 13:07:00 +05:30
Abin Simon
cc859b6fe8 Don't pin bitflags
This was initially pinned because of clap-rs/clap/issues/2691, but we
use a newer version as MSRV as of now in CI.
2022-07-05 13:07:00 +05:30
Abin Simon
dadd350d2e
Release 0.22.0 2022-06-12 14:23:48 +05:30
khai96_
52c04df660 Add --hyperlink flag 2022-04-14 00:38:32 +08:00
Martin Matous
3b6b343944 add access control indicators
fixes #347
fixes #515

Signed-off-by: Martin Matous <m@matous.dev>
2022-03-31 09:41:57 +05:30
Abin Simon
5972f6c99a Bump lscolors to 0.9.0 2022-02-18 10:28:12 +05:30
Ari Archer
5f8a24e2b8 Revert cargo file change
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-02-17 11:29:35 +08:00
Ari Archer
6c4cf26b2a Change icon from 0xE5FC to 0xE615
Signed-off-by: Ari Archer <truncateddinosour@gmail.com>
2022-02-17 11:29:35 +08:00
Abin Simon
af7ce9a03e
Release 0.21.0 2022-01-16 13:00:42 +05:30
zwPapEr
81c1a79c85 build: ⬆️ update dependency to deserialize color
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
83986e72fb 🔥 get rid of ansi term in all code
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
zwPapEr
b553d07faa color: add parse theme file
Signed-off-by: zwPapEr <zw.paper@gmail.com>
2021-09-26 00:11:42 -04:00
Abin Simon
958ab5491d
Release 0.20.1 2021-03-07 12:34:57 +05:30
Abin Simon
2930769d82
Release 0.20.0 2021-03-07 11:53:16 +05:30
Sophie Tauchert
ac91205932 Use serial test for environment variable tests 2021-01-14 22:24:26 +05:30
Sophie Tauchert
14a17f459f Use chrono crate instead of time, fix date time formatting 2021-01-14 22:24:26 +05:30
Abin Simon
43cd35dceb
Release 0.19.0 2020-12-13 11:24:41 +05:30
zwPapEr
e4d8d85678 config file: 🔨 uniq file and serde yaml parsing 2020-12-13 10:43:03 +05:30
zwPapEr
ae92912099 dep: ⬆️ 🐛 fix group name in gid
fix https://github.com/Peltoche/lsd/issues/398
2020-10-17 09:35:11 +05:30
Kai Moschcau
55a96a114d Add ability to configure default options with file
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	README.md
#	src/app.rs
#	src/core.rs
#	src/display.rs
#	src/flags.rs
#	src/meta/mod.rs
#	src/sort.rs
#	tests/integration.rs
2020-10-02 10:08:37 +05:30
zwPapEr
16f1b1ce7c sort: add version sort
fix https://github.com/Peltoche/lsd/issues/394
2020-09-19 15:37:47 +05:30
Abin Simon
2603261a4a Release 0.18.0 2020-08-29 19:13:13 +05:30
Robert-André Mauchin
3b0518f36a Bump users to 0.10.* 2020-08-14 12:04:43 +02:00
Igor Raits
88e4133e16 chore: Update assert_fs/assert_cmd to 1
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-04-17 18:58:41 +05:30
Igor Raits
4921297e0b chore: Update lscolors to 0.7
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
2020-04-17 18:58:41 +05:30
Pierre Peltier
10d1bd941c
(cargo-release) start next development iteration 0.17.1-pre 2020-04-09 11:07:24 +02:00