55 Commits

Author SHA1 Message Date
João Marcos P. Bezerra
62d70225ab remove macros.rs module 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
d07c65508a Removing redundant 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
João M. Bezerra
c7d48297fc add tests for CLI usage 2023-09-15 18:24:06 -03:00
João M. Bezerra
d2db26a59d create check.rs 2023-02-03 01:17:35 -03:00
João M. Bezerra
5b99f434c3 rename Opts to CliArgs 2023-02-03 01:17:33 -03:00
figsoda
e06b2c8635 apply clippy suggestions 2023-01-05 14:23:37 -05:00
figsoda
13fab6d241 remove progress feature 2022-10-15 23:03:20 -04:00
João M. Bezerra
86234084ab refac: use Lazy cell to optimize env::current_dir call 2022-08-12 13:03:48 -03:00
João M. Bezerra
801189ec02 create is_running_in_accessible_mode helper
also renamed some variables
2022-06-04 21:38:16 -03:00
João M. Bezerra
c65959d648 break down commands.rs into multiple files 2022-06-04 11:46:23 -03:00
Vinícius Miguel
336fc97831
feat: allow ignoring hidden files and files matched by .gitignore files (#245) 2022-01-16 23:30:26 -03:00
Crypto-Spartan
56f11424dc
remove lib.rs and move contents to main.rs (#241) 2022-01-13 15:13:12 -03:00
Crypto-Spartan
cd0a58d27e simple eprintln! fixes 2021-12-08 18:25:41 +00:00
figsoda
7efac2e55d generate completions 2021-10-20 22:18:39 -04:00
Spyros Roum
e24c9ce931 Replace oof with clap 2021-10-19 14:42:07 +03:00
João M. Bezerra
33382d06c3 Adding more checks before compression 2021-08-04 12:05:41 -03:00
João M. Bezerra
973af5fe1c Change evaluator.rs to commands.rs 2021-04-06 21:18:56 -03:00
João M. Bezerra
aa03d2723e Separate lib from binary
Makes integration testing easier
2021-04-06 20:22:56 -03:00
João M. Bezerra
78d5f435ee Minor style changes 2021-04-06 20:14:33 -03:00
Vinícius Miguel
f9272b5ce5 evaluator: Verify if input files are decompressible 2021-04-06 04:30:36 -03:00
Vinícius Miguel
095ade6621 Code cleanup 2021-04-06 03:37:49 -03:00
Vinícius R. Miguel
368a776b70 Add Bytes and impl Display for Bytes 2021-04-06 02:34:27 -03:00
Vinícius Rodrigues Miguel
011626f09b (WIP) Minor misc. changes 2021-04-05 02:57:46 -03:00
João M. Bezerra
28901ec44e Binary size decreased by 35% (-400KB)
Huge refactor, removed totally `clap` to use our argparsing instead.
500+ modified.
2021-04-04 23:26:57 -03:00
João M. Bezerra
0c9131c307 Start replacing clap with oof 2021-04-04 23:13:03 -03:00
Vinícius Rodrigues Miguel
2dc828c0ff (WIP) Showing better error messages 2021-03-29 23:11:22 -03:00
Vinícius Rodrigues Miguel
0f0b086943 Use the the -y and -n flags when decompressing .tar and .zip 2021-03-29 01:37:01 -03:00
Vinícius R. Miguel
c7cf1112b6 Add -y, --yes and -n, --no flags (currently unused) 2021-03-28 23:50:28 -03:00
Vinícius Rodrigues Miguel
7954eb07fd decompressors/zip: Add confirmation dialog for file overwriting 2021-03-28 13:56:00 -03:00
João M. Bezerra
41a81b75a6 Simplyfying tests 2021-03-26 14:24:24 -03:00
João M. Bezerra
ce26246fd4 Changing the error imports 2021-03-26 14:03:06 -03:00
Vinícius Rodrigues Miguel
ceb507fd14 main: Make ouch return 1 upon failure 2021-03-25 21:43:45 -03:00
João M. Bezerra
755cc2a40d Refactoring and Clippy warnings 2021-03-25 20:50:42 -03:00
Vinícius Rodrigues Miguel
965041310c Make ouch support paths with dot-dot (..) for input files/directories 2021-03-25 03:20:20 -03:00
Vinícius Rodrigues Miguel
433f8b05b0 Simplify Lzma decompression logic 2021-03-24 12:56:12 -03:00
Vinícius Rodrigues Miguel
729dda819e Add support for Lzma decompression 2021-03-24 01:40:16 -03:00
Vinícius Rodrigues Miguel
22e131fb46 Add support for zip (and... .zip.zip) compression 2021-03-23 21:28:22 -03:00
Vinícius Rodrigues Miguel
d72ca9eeae Tar compression seemingly working 2021-03-23 03:10:25 -03:00
Vinícius Rodrigues Miguel
2c0f2b380c Add Tar compression for in-memory buffers 2021-03-23 02:15:06 -03:00
Vinícius Rodrigues Miguel
fa2fb675de WIP Tar compression 2021-03-23 01:06:57 -03:00
Vinícius Rodrigues Miguel
9429fd8d67 Fix CLI parsing of decompression commands & early Compressor work 2021-03-22 23:39:08 -03:00
Vinícius Rodrigues Miguel
e08703850c Add support for decompressing .tar.{bz, xz, lz} and .zip.{bz, xz, lz} 2021-03-22 04:46:54 -03:00
Vinícius Rodrigues Miguel
77d7613967 WIP refactor 2021-03-22 03:44:56 -03:00
Vinícius Rodrigues Miguel
e705024c61 decompressors.zip: now working 2021-03-21 19:11:27 -03:00
Vinícius Rodrigues Miguel
0a81384dd8 (Small) Zip decompressor progress 2021-03-21 15:41:05 -03:00
Vinícius Rodrigues Miguel
d351a8ef7b decompressors.tar: now working! 2021-03-21 04:23:00 -03:00
Vinícius Rodrigues Miguel
b6d4e50cca Early progress in supporting .tar files 2021-03-21 04:09:28 -03:00