90 Commits

Author SHA1 Message Date
João Marcos
11344a6ffd
Fix tar extraction count when --quiet (#824) 2025-05-17 13:02:38 -03:00
tommady
da9b32a366
Fix 7z BadSignature error when compressing and then listing (#819) 2025-05-17 13:00:25 -03:00
João Marcos
c3b89b038d
improve misleading error message (#818)
Follow up to #817
2025-05-06 00:27:43 -03:00
João Marcos
c8f97197c3
Give good error messages when archive extensions are invalid (#817)
+ simplify unit tests, don't require them to start the logger

+ unrelated TODOs
2025-05-06 00:08:38 -03:00
Amyspark
07967927dd
feat: Make bzip3 optout (#814)
Co-authored-by: João Marcos <marcospb19@hotmail.com>
2025-05-03 20:43:59 -03:00
tommady
1ff1932e3d
Merge folders in decompression (#798)
Signed-off-by: tommady <tommady@users.noreply.github.com>
2025-05-01 04:20:33 -03:00
Talison Fabio
c97bb6a2d6
feat: Add flag '--no-smart-unpack' to disable smart unpack (#809) 2025-04-28 11:03:50 -03:00
João Marcos
2b9da1e441 Bump version to 0.6.1 2025-04-20 23:05:08 -03:00
João Marcos
0b122fa05c
Fix .zip crash when file mode isn't present (#804) 2025-04-20 13:09:48 -03:00
João Marcos
739dfa9507 Bump version to 0.6.0 2025-04-18 17:56:57 -03:00
Talison Fabio
4961a2c478 tweak: Align file sizes at left to make output clearer (#792) 2025-04-18 13:00:18 -03:00
Talison Fabio
267ce7672e
feat: ignore .git/ when -g/--gitignore is set (#795) 2025-04-17 13:56:02 -03:00
tommady
08416c7a22
change crate from sevenz-rust to sevenz-rust2 (#796) 2025-04-17 13:42:35 -03:00
tommady
b9b1e11303
Store symlinks by default and add --follow-symlinks to toggle it (#789) 2025-04-16 17:43:46 -03:00
MisileLab
21e7fdf3d6
Fix typo in CHANGELOG.md (#790) 2025-04-13 17:23:42 -03:00
Talison Fabio
c584170a24
tweak: replace '.tmp-ouch-' prefix with 'tmp-ouch-' for smart unpack (#788) 2025-04-08 11:53:31 -03:00
Talison Fabio
8c8d00cab8 update CHANGELOG.md 2025-04-04 18:30:50 -03:00
Talison Fabio
82c551ddef update CHANGELOG.md 2025-04-04 11:57:46 -03:00
Pascal Hertleif
ecc05cdd60 feat: Add support for Brotli
Using https://crates.io/crates/brotli/7.0.0

#203
2025-02-12 13:59:18 -03:00
Pascal Hertleif
aeefa694bf fix: Use BufWriter for list output
Also replaces one `print` call with `write`.

Fixes #702
2025-02-12 10:10:37 -03:00
ttyS3
195483a182 docs: update changelog with new features 2024-12-14 19:22:56 -03:00
João Marcos P. Bezerra
1d70a810e5 update changelog 2024-11-17 17:07:36 -03:00
João Marcos P. Bezerra
e7d6c5e0f5 update CHANGELOG.md 2024-11-17 14:50:02 -03:00
valoq
7e30545e96 add changelog 2024-10-22 00:00:19 -03:00
João Marcos P. Bezerra
09899389ec update CHANGELOG 2024-09-07 00:24:50 -03:00
Ryan Roden-Corrent
77c1a4e9db Support decompressing stdin.
Fixes #687.

If "-" is passed as a filename, decompress data from stdin.

Currently `--format` must be passed as well, but as a next step,
we could try to infer the format from magic numbers.

As stdin is not connected to the terminal, we cannot prompt for Y/N
when warning about decompression in memory, for e.g. zip. Just default
to No, and require passing "-y" in these cases.

For zip, we have to buffer the whole stream in memory to seek into it,
just as we do with a chained decoder like `.zip.bz`.

The rar format requires an actual file (not an `impl Read`), so
we write a temp file that it can decode.

When decoding a single-file archive (e.g. file.bz), the output filename
is just `-`, since we don't know the original filename. I had to add
a bit of a hack to the tests to work around this. Another option
would be to interpret "-d" as a destination filename in this case.

When decoding a multi-file archive, I decided to unpack directly into
the destination directory, as this seemed like a better experience than
adding a top-level "-" folder inside the destination.
2024-08-26 03:40:52 -03:00
Nicky Labrie
01b919043c Update CHANGELOG.md
fixed pull number
2024-07-27 01:07:23 -03:00
nalabrie
0ec7d4489d Added multithreading by default to zstd compression. Bumped zstd package version. Added num_cpus package to get core count. 2024-07-27 01:07:23 -03:00
João Marcos P. Bezerra
88e9d9afc7 update CHANGELOG.md 2024-04-01 10:58:35 -03:00
cyqsimon
b68186282d Write changelog 2023-12-13 19:32:55 -03:00
João Marcos P. Bezerra
a7394cddab Bump version to 0.5.1 2023-12-05 13:22:30 -03:00
cyqsimon
e09d82ee42 Write changelog 2023-12-04 21:31:32 -03:00
João Marcos P. Bezerra
0dbbd3b882 CHANGELOG: Fix mistake in changelog link 2023-12-01 16:22:10 -03:00
João Marcos P. Bezerra
6aec0372ec Update CHANGELOG.md 2023-12-01 16:14:42 -03:00
Flat
633d1dedd0 chore: update CHANGELOG.md 2023-11-25 21:33:22 -03:00
MisileLaboratory
77c968fb2d [ci skip] add pr to changelog 2023-11-25 21:33:22 -03:00
Łukasz Krawiec
dade163243 added support for listing and decompressing .rar archives 2023-11-15 08:59:00 -03:00
João M. Bezerra
7c6989de0e completions: hint generator to expand to file paths 2023-09-12 13:20:24 -03:00
João M. Bezerra
0c3f3bbaab update changelog 2023-09-07 16:16:51 -03:00
figsoda
64d152ff83 fix broken/outdated links in readme and changelog 2023-08-06 17:51:54 -04:00
figsoda
e5fc870bbf add changelog entries 2023-08-06 17:46:13 -04:00
figsoda
a9f36784ee bump version to 0.4.2 2023-08-06 17:26:27 -04:00
figsoda
83271f038e add changelog entry 2023-03-19 15:07:44 -04:00
Orhun Parmaksız
c88d121ecc
Add ls as an alternative alias for listing 2023-02-05 00:17:36 +03:00
figsoda
634978fea5
Merge branch 'main' into large 2023-01-31 18:08:24 -05:00
João Marcos
bc78e64739
Merge pull request #355 from figsoda/ext
fix handling of unknown extensions
2023-01-31 19:57:05 -03:00
figsoda
fe464213b3 fix typos 2023-01-31 14:21:19 -05:00
figsoda
bc79cad9c6 add changelog entry 2023-01-31 11:13:40 -05:00
figsoda
d721d0512d add changelog entry 2023-01-31 11:00:28 -05:00
figsoda
ce7246acab add changelog entry 2023-01-30 21:02:32 -05:00