Talison Fabio
4f9a786e57
feat: add flag to check when use specify --dir
2025-04-04 18:30:50 -03:00
ttyS3
e1d7f1424a
refactor: improve code formatting in mod.rs
and logger.rs
2024-12-14 19:52:32 -03:00
ttyS3
77b01d170f
refactor(cli): move thread pool setup to command execution, use thread::spawn instead of rayon::spawn in the logger thread
2024-12-14 19:52:32 -03:00
ttyS3
5941afe66e
chore: remove decompress file params info to make ui_test_ok_decompress test case pass
2024-12-14 19:22:56 -03:00
ttyS3
62f3d78f44
refactor(decompress): refactor function to use DecompressOptions struct to make linter happy (too_many_arguments)
2024-12-14 19:22:56 -03:00
ttyS3
55aa05b631
feat(cli): add option to remove source file after decompression
2024-12-14 19:22:56 -03:00
João Marcos P. Bezerra
df6d2cea98
tweak: don't add period to end of each log
2024-11-18 00:32:17 -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
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
67ca183a25
fix: fix windows build
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
512d2445b2
feat: add password support for decompress and list
2024-09-06 21:47:03 -03:00
Ryan Roden-Corrent
a7fe78fc68
Write decompressed stdin to stdin-output.
2024-08-26 03:40:52 -03:00
João Marcos P. Bezerra
a3e5bac438
fix STDIN syncrhonization problems
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
c56978d1e7
handle logger thread in main function
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
25d7d3d870
logger: refactor usage of sync primitives
...
use `std::sync::Barrier` instead of the barebones `Condvar` + `Mutex`
combo
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
792db000bb
move spawn_logger_thread
to logger module
...
and create another module inside of the logger module to reorganize
things
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
0b760aadf7
fix logger thread shutdown system
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
39395c797a
move code to function run_cmd
2024-04-01 10:58:35 -03:00
João Marcos P. Bezerra
d0280f0579
move code to function spawn_logger_thread
2024-04-01 10:58:35 -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
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
MisileLaboratory
f2b984bc7a
feat: cleanup codes and more error handling
2023-11-25 21:33:22 -03:00
MisileLaboratory
ceed0156a0
fix: now recursivly compress 7z
2023-11-25 21:33:22 -03:00
Łukasz Krawiec
a3dca85cdd
fixed check_mime_type usage
2023-11-15 08:59:00 -03:00
figsoda
8d77478b73
increase compression level of --fast
from 0 to 1
2023-03-19 15:33:10 -04:00
figsoda
499e2ea5fd
extract level
to a variable
2023-03-19 15:32:54 -04:00
figsoda
f21883170b
implement --fast
and --slow
2023-03-19 15:04:27 -04:00
xgdgsc
ffa16c7d6e
✅ add test, move
2023-03-17 17:59:53 +08:00
xgdgsc
df5f846581
🔥 name
2023-03-15 21:41:59 +08:00
xgdgsc
2c917dfa29
✨ add raw level arg
2023-03-14 20:07:16 +08:00
João M. Bezerra
8102260da4
simplify check_mime_type
2023-02-06 20:56:46 -03:00
figsoda
045ed5d72e
make mime sniffing consistent for list and decompress
2023-02-06 12:59:16 -05:00
João M. Bezerra
1f4eba2bcb
separate function check_invalid_compression_with_non_archive_format
2023-02-03 02:24:07 -03:00
João M. Bezerra
93daa7b929
separate function check_first_format_when_compressing
2023-02-03 02:24:07 -03:00
João M. Bezerra
f33c9c0f39
separate function check_missing_formats_when_decompressing
2023-02-03 02:24:07 -03:00
João M. Bezerra
fc8bc82296
separate function check_archive_formats_position
2023-02-03 02:24:07 -03:00
João M. Bezerra
6710987b38
move check_for_non_archive_formats
to check.rs
2023-02-03 02:24:07 -03:00
João M. Bezerra
b938dc014c
move build_archive_file_suggestion
to extension.rs
2023-02-03 02:24:06 -03:00
João M. Bezerra
aad55e6102
move check_mime_type
to check.rs
2023-02-03 01:19:32 -03:00