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
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
9b092fef71
style: cargo fmt
2024-09-06 21:47:03 -03:00
ttyS3
3392730d66
style: lint the code
2024-09-06 21:47:03 -03:00
ttyS3
d21db763f1
feat: support decompress and list zip file
2024-09-06 21:47:03 -03:00
ttyS3
75e16510df
feat(list): support list and decompress 7z files with password
2024-09-06 21:47:03 -03:00
ttyS3
512d2445b2
feat: add password support for decompress and list
2024-09-06 21:47:03 -03:00
João Marcos P. Bezerra
28daa9e8c4
make logger channel static
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
bed8ea0276
create Logger::info_accessible
2024-04-01 10:58:35 -03:00
Antonios Barotsis
1e56bb8f1f
Improve logging interface
2024-04-01 10:58:35 -03:00
Antonios Barotsis
b04122a6de
fix some errors + warnings
2024-04-01 10:58:35 -03:00
Antonios Barotsis
380893b6df
Add levels and fix output
2024-04-01 10:58:35 -03:00
Antonios Barotsis
93752d5fb5
fmt
2024-04-01 10:58:35 -03:00
Antonios Barotsis
e2ac5c4c9b
Make all info logs use the new system
2024-04-01 10:58:35 -03:00
Antonios Barotsis
e989db7a3a
Added buffering
2024-04-01 10:58:35 -03:00
Antonios Barotsis
c2873f77d3
wip
2024-04-01 10:58:35 -03:00
cyqsimon
fa2d214fee
Feature-gate RAR support
2023-12-14 23:32:17 -03:00
João Marcos P. Bezerra
a7a65d2510
Report errors for non-UTF-8 entries in Zip and 7z
2023-11-25 21:33:22 -03:00
João Marcos P. Bezerra
8483739184
Minor refactor to archive handling code
2023-11-25 21:33:22 -03:00
Flat
69b1db4a35
chore: cargo fmt
2023-11-25 21:33:22 -03:00
Flat
97b4356aa8
feat: implement 7zip support for compression and decompression
...
This also fixes symlink canonicalization for Windows and fixes UI tests on Windows.
2023-11-25 21:33:22 -03:00
MisileLab
9a6d73bf57
idk i just merged and patch some
...
Signed-off-by: MisileLab <misileminecord@gmail.com>
2023-11-25 21:33:22 -03:00
misilelab
db0bc8a7d9
impl except test
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
cbd327aad7
replace usage of ubyte
by our own Bytes
formatter
2023-09-04 21:15:57 -03:00
João M. Bezerra
20f38390c6
fix: handle Zip when modified times are missing
2023-06-04 17:19:23 -03:00
João M. Bezerra
d926e0f00a
minor, use Try
2023-04-16 22:58:03 -03:00
figsoda
40b0b7b364
fix deprecation warning
2023-03-11 16:33:42 -05:00
figsoda
58da7dbf34
always use zip64
2023-01-31 18:42:32 -05:00
figsoda
50573f9d91
zip: fix compression of files larger than 4GB
2023-01-31 10:48:48 -05:00
figsoda
e06b2c8635
apply clippy suggestions
2023-01-05 14:23:37 -05:00
Vinícius R. Miguel
3bb0e57ed4
Stop keeping track of the names of unpacked files
2023-01-05 15:52:21 -03:00
Vinícius R. Miguel
d99266e1ce
Use ubyte
instead of humansize
2023-01-05 14:49:46 -03:00
Vinícius R. Miguel
2caeb1004c
refac: add support for Windows in EscapedPathDisplay
2023-01-05 13:39:06 -03:00
Vinícius R. Miguel
0deb18289a
refac: use BStr to display possibly non-UTF8 byte sequences
2023-01-05 12:46:29 -03:00
a-moreira
0ceb84d5cf
better args order, fmt
2022-12-18 22:56:13 -03:00
a-moreira
e26323bd99
add cli option to (de)compress quietly
2022-12-18 22:49:37 -03:00
figsoda
13fab6d241
remove progress feature
2022-10-15 23:03:20 -04:00