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
Vinícius R. Miguel
4754a6d4e3
Bump to 0.4.1
2023-01-05 19:15:43 -03:00
Vinícius R. Miguel
83df461991
Update CHANGELOG.md
2023-01-05 19:14:16 -03:00
figsoda
300f2cc254
add changelog entry
2023-01-02 22:15:08 -05:00
figsoda
88dfe6fbcf
add changelog entry
2022-12-24 11:26:49 -05:00
João M. Bezerra
7c0881b782
add changelog entry
2022-12-24 03:12:25 -03:00
João M. Bezerra
3f300c1877
add changelog entry
2022-12-16 21:36:03 -03:00
João Marcos Bezerra
fee117f080
Merge pull request #314 from ouch-org/bump-version-to-0.4.0
...
bump version to 0.4.0 and update dependencies
2022-11-23 18:05:30 -03:00
João M. Bezerra
0bc2076fe0
bump version to 0.4.0 and update dependencies
2022-11-23 18:04:52 -03:00
João M. Bezerra
e80a7ea8c5
add changelog entry
2022-11-23 02:47:45 -03:00
João M. Bezerra
b3646d3255
add changelog entry
2022-11-23 00:44:02 -03:00
João M. Bezerra
a19731166a
add changelog entry
2022-10-17 00:08:27 -03:00
figsoda
ad50bcc212
add changelog entry
2022-10-16 14:53:35 -04:00
João M. Bezerra
effe0b30b8
add changelog entry
2022-10-15 21:38:57 -03:00
João Marcos Bezerra
7fdedac8da
Merge pull request #289 from figsoda/reactivate-targets
...
reactivate ci targets for arm linux and windows mingw
2022-10-15 20:45:15 -03:00
figsoda
57e7c8c49e
add changelog entry [skip ci]
2022-10-14 14:38:41 -04:00
figsoda
2489d132dd
add changelog entry
2022-10-13 21:05:15 -04:00
João M. Bezerra
2cb75a9edd
add changelog entry
2022-10-13 18:53:37 -03:00
figsoda
d4766c4bf3
Merge branch 'main' into rewrite-progress
2022-10-13 11:37:09 -04:00
figsoda
a28291407b
add changelog entry
2022-10-12 22:56:33 -04:00
figsoda
759f322722
add changelog entry
2022-10-12 20:53:34 -04:00
figsoda
7444568259
add changelog entry
2022-10-11 22:06:07 -04:00
João M. Bezerra
acb756671a
update changelog
2022-10-11 22:10:34 -03:00
João Marcos Bezerra
e12c25e833
Merge pull request #277 from ouch-org/wann-file-extension-passed-as-file-name
...
Warn user if file extension is passed as file name
2022-10-11 21:19:02 -03:00
João M. Bezerra
4f0839f0a9
update changelog
2022-10-11 20:58:44 -03:00
figsoda
cc6b2c37b6
add changelog entry
2022-10-11 16:30:07 -04:00