73 Commits

Author SHA1 Message Date
MisileLaboratory
2ebdaf6ecf feat: RefCell remove 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
76a459e02e feat: good error handling 2023-11-25 21:33:22 -03:00
MisileLaboratory
d825feaeff feat: good error output 2023-11-25 21:33:22 -03:00
MisileLaboratory
862181ae0a feat: decompress with count 2023-11-25 21:33:22 -03:00
MisileLaboratory
ceed0156a0 fix: now recursivly compress 7z 2023-11-25 21:33:22 -03:00
MisileLaboratory
9e6a9cf40b [ci skip] not ready 2023-11-25 21:33:22 -03:00
MisileLaboratory
d4581090d8 style: cargo fmt 2023-11-25 21:33:22 -03:00
MisileLaboratory
3cb2367793 feat: simple impl 7zip and lot of todo 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
Łukasz Krawiec
a3dca85cdd fixed check_mime_type usage 2023-11-15 08:59:00 -03:00
Pascal Seitz
c117517bbe switch to lz4_flex
The release of lz4_flex 0.11 fixes two issue that caused problems
before:
- The new `auto-finish` flushes on drop
- FrameEncoder writes now empty frames. Previously nothing was written,
  which caused issues with double compressed empty data.
2023-06-20 21:30:10 +08: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
abc3bfe3a4 clippy fix 2023-03-19 09:41:39 +08:00
xgdgsc
994a9b384d
Update src/commands/compress.rs
Co-authored-by: figsoda <figsoda@pm.me>
2023-03-19 09:17:42 +08:00
xgdgsc
e92b9ff723 option level tests 2023-03-18 12:23:59 +08:00
xgdgsc
b8b9c5042f 🐛 fix 2023-03-18 08:54:15 +08:00
xgdgsc
653ff976f5 clamp , merge test 2023-03-17 22:09:20 +08:00
xgdgsc
d9ffd42c8f 🐛 fix 2023-03-17 21:36:31 +08: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
João M. Bezerra
5b99f434c3 rename Opts to CliArgs 2023-02-03 01:17:33 -03:00
figsoda
fe464213b3 fix typos 2023-01-31 14:21:19 -05:00
figsoda
2d5dc06a4f multi-threaded snap compression using gzp 2023-01-30 19:36:20 -05:00
figsoda
5abdd5fc96 multi-threaded gzip compression using gzp 2023-01-30 19:36:20 -05:00
figsoda
5a3bac67c9 add --format option 2023-01-07 14:57:39 -05:00
Vinícius R. Miguel
23e33412a4 Decompress files in parallel 2023-01-05 21:22:38 -03:00
figsoda
c7165fb52c avoid directly indexing when possible 2023-01-05 15:10:22 -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
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
Vinícius Miguel
9854285c38
listing: slight refactor when ensuring archive-only inputs (#331) 2023-01-05 02:37:18 -03:00
figsoda
a9f2e614ed improve extension parsing logic 2023-01-02 22:15:00 -05: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
a-moreira
3e43f9d7e5 allow ouch to decompress archive into existing folder 2022-12-10 19:36:28 -03:00
figsoda
0ada885ced simplify logic 2022-10-17 09:20:13 -04:00