1368 Commits

Author SHA1 Message Date
João Marcos P. Bezerra
269058089f CI: tweak: make workflows reusable 2024-11-17 20:45:49 -03:00
João Marcos P. Bezerra
534d39c069 CI: chore: rename jobs and workflow files 2024-11-17 20:45:49 -03:00
João Marcos P. Bezerra
48f83e75f7 CI: tweak: separate clippy and rustfmt jobs 2024-11-17 20:45:49 -03:00
João Marcos P. Bezerra
256fedbcc2 CI: tweak: don't run CI for all features 2024-11-17 20:45:49 -03:00
João Marcos P. Bezerra
40f1234ad0 CI: enha: don't run if only .md was modified 2024-11-17 20:45:49 -03:00
João Marcos P. Bezerra
1c6fb9a0b3 CI: refac: reorganizing + renaming 2024-11-17 20:45:49 -03:00
João Marcos P. Bezerra
1d70a810e5 update changelog 2024-11-17 17:07:36 -03:00
João Marcos P. Bezerra
ca31742394 run clippy for tests too 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
João Marcos P. Bezerra
b65ee9c3f4 bump bzip3 version to 0.9.0 2024-11-17 14:50:02 -03:00
João M. Bezerra
730ccbcf2a Update snapshot tests 2024-11-17 14:50:02 -03:00
João Marcos P. Bezerra
28060ded3a Add LGPL legal notices for bzip3[-rs] 2024-11-17 14:50:02 -03:00
João Marcos P. Bezerra
011a29f208 Bump bzip3 version to 0.8.3 2024-11-17 14:50:02 -03:00
João M. Bezerra
179b055545 CI: install libclang on Linux 2024-11-17 14:50:02 -03:00
João M. Bezerra
ae9f4e0151 Add bundled feature to bzip3 2024-11-17 14:50:02 -03:00
João M. Bezerra
8edd8d2e1c Replace .unwrap()s by ? 2024-11-17 14:50:02 -03:00
Jonas Frei
32b50e9c7a Added test code, handled BlockSize error, block size = 16MiB
Signed-off-by: Jonas Frei <freijon@pm.me>
2024-11-17 14:50:02 -03:00
Jonas Frei
ba9f9c00f3 Add support for bzip3
Closes #398
Signed-off-by: Jonas Frei <freijon@pm.me>
2024-11-17 14:50:02 -03:00
João Marcos P. Bezerra
362418364f remove dependabot 2024-10-29 23:55:38 -03:00
dependabot[bot]
896562d76d build(deps): bump once_cell from 1.19.0 to 1.20.2
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.19.0 to 1.20.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 21:03:42 -03:00
dependabot[bot]
d098fec5cf build(deps): bump tar from 0.4.41 to 0.4.42
Bumps [tar](https://github.com/alexcrichton/tar-rs) from 0.4.41 to 0.4.42.
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.41...0.4.42)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 21:03:24 -03:00
dependabot[bot]
d7427b25ab build(deps): bump clap_mangen from 0.2.23 to 0.2.24
Bumps [clap_mangen](https://github.com/clap-rs/clap) from 0.2.23 to 0.2.24.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.23...clap_mangen-v0.2.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 21:03:02 -03:00
João Marcos
49c8a079a6
Update dependabot.yml 2024-10-28 20:41:34 -03:00
dependabot[bot]
3f6368dbe1 build(deps): bump clap from 4.5.16 to 4.5.20
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.16 to 4.5.20.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.16...clap_complete-v4.5.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-27 19:48:34 -03:00
dependabot[bot]
1876f5eef1 build(deps): bump insta from 1.39.0 to 1.40.0
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/1.39.0...1.40.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 17:04:29 -03:00
dependabot[bot]
be40b4439c build(deps): bump clap_complete from 4.5.24 to 4.5.28
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.5.24 to 4.5.28.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.24...clap_complete-v4.5.28)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 17:04:12 -03:00
dependabot[bot]
f3af70915d build(deps): bump ignore from 0.4.22 to 0.4.23
Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.22 to 0.4.23.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 17:03:46 -03:00
valoq
7e30545e96 add changelog 2024-10-22 00:00:19 -03:00
valoq
e2151c93d5 fix format to appease linter 2024-10-22 00:00:19 -03:00
valoq
83f28cf64a change temporary path to a more unique name 2024-10-22 00:00:19 -03:00
João Marcos P. Bezerra
3d717ec3bc update snapshots 2024-09-07 00:24:50 -03:00
João Marcos P. Bezerra
09899389ec update CHANGELOG 2024-09-07 00:24:50 -03:00
João M. Bezerra
5dac8431f2 Fix --format parsing extensions with dots
Also improve error reporting for `--format` with malformed or
unsupported extensions

This commit is very messy, as it also does an refac in the project,
which should ideally be in a separated commit
2024-09-07 00:24:50 -03:00
João M. Bezerra
1a80b919e3 Add tests to the extension module 2024-09-07 00:24:50 -03:00
ttyS3
a3d4f6ac6b fix: simplify error handling for invalid password 2024-09-06 21:47:03 -03:00
ttyS3
c3e37e22d1 refactor(rar): simplify list_archive logic and remove UnrarError
Simplify the list_archive function by combining archive creation and listing steps.
Remove the UnrarError variant from the Error enum as it's no longer used.
2024-09-06 21:47:03 -03:00
ttyS3
f8f1439ec5 style: cargo fmt 2024-09-06 21:47:03 -03:00
ttyS3
84f1ec4daf refactor(zip): remove redundant password byte conversion
Simplify password handling by removing platform-specific code and utilizing ByteSlice for all conversions.
2024-09-06 21:47:03 -03:00
ttyS3
56f69e19a3 fix(archive): return result in list_archive functions 2024-09-06 21:47:03 -03:00
ttyS3
39cef75dfe fix(error): return result in list_archive
Refactor list_archive functions to return results directly for better error handling.
2024-09-06 21:47:03 -03:00
ttyS3
9e1c30bb86 fix(archive): handle mangled zip file names properly
Replace enclosed_name with mangled_name fallback for robustness.
2024-09-06 21:47:03 -03:00
ttyS3
9c69fbd911 fix: replace UnsupportedFormat error with UnrarError
Update error handling for unrar-specific issues to use the new UnrarError type.
2024-09-06 21:47:03 -03:00
ttyS3
7e830d9f53 fix(archive): handle errors for unsupported formats
Handle errors for unsupported formats in RAR and 7z archives by returning appropriate error messages.
2024-09-06 21:47:03 -03:00
ttyS3
bafbd83bd7 fix(archive): handle file open error in list_archive method 2024-09-06 21:47:03 -03:00
ttyS3
08ab63837e fix(archive): handle invalid UTF-8 passwords in 7z decompression 2024-09-06 21:47:03 -03:00
ttyS3
67ca183a25 fix: fix windows build 2024-09-06 21:47:03 -03:00
ttyS3
61868dfb56 fix: remove unnecessary clones in zip decryption 2024-09-06 21:47:03 -03:00
ttyS3
309d165606 fix(archive): replace unwrap with error handling in zip.rs 2024-09-06 21:47:03 -03:00
ttyS3
2dad11d0ba fix(password): update password handling for archives
Refactor password handling in archive functions to use &[u8] instead of impl AsRef<[u8]>. Include better error reporting for invalid UTF-8 passwords in 7z archives.
2024-09-06 21:47:03 -03:00
ttyS3
d4e252a732 chore: remove comment from Cross configuration 2024-09-06 21:47:03 -03:00