Vinícius Miguel
|
20bcf1ecde
|
evaluator: Fix an error message
|
2021-04-06 20:36:47 -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 |
|
João M. Bezerra
|
575abeb454
|
Testing bytes formatting
|
2021-04-06 20:12:51 -03:00 |
|
Vinícius Miguel
|
784217143a
|
Better error message for MissingArgumentsForDecompression
|
2021-04-06 19:05:36 -03:00 |
|
Vinícius Miguel
|
8c88d5cb0f
|
evaluator: Accept the other compression formats as 'first compressors'
|
2021-04-06 19:01:44 -03:00 |
|
Vinícius Miguel
|
249e9959fc
|
Fix failing test
|
2021-04-06 12:51:53 -03:00 |
|
Vinícius Miguel
|
5b70940596
|
Fix cargo test
|
2021-04-06 04:44:08 -03:00 |
|
Vinícius Miguel
|
f9272b5ce5
|
evaluator: Verify if input files are decompressible
|
2021-04-06 04:30:36 -03:00 |
|
Vinícius Miguel
|
9b8dcb40fa
|
cli: Canonicalize input files when decompressing
|
2021-04-06 04:12:00 -03:00 |
|
Vinícius Miguel
|
095ade6621
|
Code cleanup
|
2021-04-06 03:37:49 -03:00 |
|
Vinícius R. Miguel
|
42b139f1a5
|
Add tests for byte pretty-printing
|
2021-04-06 03:08:44 -03:00 |
|
Vinícius R. Miguel
|
1b9faab96a
|
refactor: pretty-print bytes
|
2021-04-06 02:49:03 -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
|
1c5005f5a9
|
Adapt the Python test script to the new Ouch interface
|
2021-04-05 20:57:18 -03:00 |
|
Vinícius Rodrigues Miguel
|
011626f09b
|
(WIP) Minor misc. changes
|
2021-04-05 02:57:46 -03:00 |
|
Vinícius Rodrigues Miguel
|
d2af261f67
|
Fix cargo test tests
|
2021-04-05 01:14:27 -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
|
b45f38f5fa
|
Add utils::to_utf
|
2021-04-04 23:18:25 -03:00 |
|
João M. Bezerra
|
0c9131c307
|
Start replacing clap with oof
|
2021-04-04 23:13:03 -03:00 |
|
João M. Bezerra
|
5b37a117f1
|
Clippy lints
|
2021-04-04 01:58:22 -03:00 |
|
Vinícius Rodrigues Miguel
|
b002de78d9
|
Show better error messages
|
2021-03-30 00:11:46 -03:00 |
|
Vinícius Rodrigues Miguel
|
2dc828c0ff
|
(WIP) Showing better error messages
|
2021-03-29 23:11:22 -03:00 |
|
Vinícius R. Miguel
|
a96d26eba6
|
Bump to version 0.1.4
|
2021-03-29 02:58:16 -03:00 |
|
Vinícius R. Miguel
|
cb10a45661
|
Use the -y and -n flags when decompressing single-file compression formats
|
2021-03-29 02:44:29 -03:00 |
|
Vinícius Rodrigues Miguel
|
1c0e883d99
|
dialogs: Remove duplicated to_ascii_lowercase
|
2021-03-29 02:00:47 -03:00 |
|
Vinícius Rodrigues Miguel
|
5ac3540145
|
Use the -y and -n flags when compressing to a file that already exists
|
2021-03-29 01:52:52 -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
|
40fb926d80
|
evaluator: Add confirmation dialog for file overwriting
|
2021-03-28 14:52:09 -03:00 |
|
Vinícius Rodrigues Miguel
|
03d6fc1e60
|
decompressors/tar: Add confirmation dialog for file overwriting
|
2021-03-28 14:28:07 -03:00 |
|
Vinícius Rodrigues Miguel
|
7954eb07fd
|
decompressors/zip: Add confirmation dialog for file overwriting
|
2021-03-28 13:56:00 -03:00 |
|
Vinícius Rodrigues Miguel
|
91f411439a
|
rustfmt
|
2021-03-27 01:34:43 -03:00 |
|
Vinícius Rodrigues Miguel
|
234e0406a1
|
Don't allow ouch to compress the root folder
|
2021-03-27 00:37:47 -03:00 |
|
Vinícius Rodrigues Miguel
|
49e4c4afcd
|
compressors/zip: replace a couple of unwraps to the question mark op.
|
2021-03-26 23:47:42 -03:00 |
|
Vinícius Rodrigues Miguel
|
8e37078043
|
zip: ensure usage of relational paths during compression
|
2021-03-26 22:56:57 -03:00 |
|
Vinícius Rodrigues Miguel
|
19f12ff791
|
Ensure correct permissions for decompressed files from .zip on Unix
|
2021-03-26 22:39:23 -03:00 |
|
Vinícius Rodrigues Miguel
|
96a4e8bb78
|
Bump version to 0.1.3
|
2021-03-26 21:32:54 -03:00 |
|
João M. Bezerra
|
41a81b75a6
|
Simplyfying tests
|
2021-03-26 14:24:24 -03:00 |
|
Vinícius Rodrigues Miguel
|
36db7d721d
|
Fix tests
|
2021-03-26 14:11:13 -03:00 |
|
João M. Bezerra
|
dd9b6dd65f
|
Renaming tomemory.rs to to_memory.rs
|
2021-03-26 14:03:36 -03:00 |
|
João M. Bezerra
|
ce26246fd4
|
Changing the error imports
|
2021-03-26 14:03:06 -03:00 |
|
Vinícius Rodrigues Miguel
|
71be492cd4
|
Fix CLI tests
|
2021-03-25 23:33:27 -03:00 |
|
Vinícius Rodrigues Miguel
|
d99d8e71d3
|
Add a sad Python script for Ouch testing
|
2021-03-25 22:47:34 -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
|
9ea18659e5
|
Update README, slightly reduce code repetition
|
2021-03-24 18:35:01 -03:00 |
|
Vinícius Rodrigues Miguel
|
6eee06a51a
|
Bump app version
|
2021-03-24 17:51:59 -03:00 |
|
Vinícius Rodrigues Miguel
|
0b346eee3d
|
Fixes Gzip and Lzma compression
|
2021-03-24 17:40:38 -03:00 |
|
Vinícius Rodrigues Miguel
|
f3dd4d9804
|
Progress in Lzma compression
|
2021-03-24 17:21:00 -03:00 |
|
Vinícius Rodrigues Miguel
|
3fa939ac90
|
Add support for Gzip compression (includes .tar.gz)
|
2021-03-24 17:03:49 -03:00 |
|
Vinícius Rodrigues Miguel
|
bdc16fdb17
|
Add support for Bzip compression (includes .tar.bz2 and .zip.bz2 and etc)
|
2021-03-24 14:33:43 -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
|
f8ca0e3c56
|
Turns out LZMA decompression is not working
|
2021-03-23 23:17:48 -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
|
52afe3afd8
|
Update README & minor code cleanup
|
2021-03-22 15:12:11 -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
|
90ad9d8f8a
|
WIP decompression support for .xz, .bz, .lzma
|
2021-03-22 02:18:35 -03:00 |
|
Vinícius Rodrigues Miguel
|
6c7d24084f
|
decompressors.tar: Add info messages
|
2021-03-21 21:42:13 -03:00 |
|
Vinícius Rodrigues Miguel
|
23c8f567fc
|
Minor changes in decompressors/zip.rs
|
2021-03-21 19:18:32 -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
|
837a6a6a57
|
Get Decompressors as Trait Objects, start working on Zip decompressor
|
2021-03-21 15:23:00 -03:00 |
|
Vinícius Rodrigues Miguel
|
8d36120690
|
refactor decompressors/tar.rs
|
2021-03-21 14:03:15 -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 |
|
Vinícius Rodrigues Miguel
|
155fca4526
|
refactor: New File struct and switch to use Extension
|
2021-03-21 00:53:54 -03:00 |
|
Vinícius Rodrigues Miguel
|
7fd6020d99
|
Add struct Extension
|
2021-03-20 18:58:26 -03:00 |
|
Vinícius Rodrigues Miguel
|
73398c2d50
|
tests: Add tests for extension extraction
|
2021-03-19 15:18:32 -03:00 |
|
Vinícius Rodrigues Miguel
|
e04aba8d53
|
cli: More tests
|
2021-03-19 13:20:22 -03:00 |
|
Vinícius Rodrigues Miguel
|
65bc13e8fa
|
tests: Start adding test for the command-line interface
|
2021-03-19 12:40:49 -03:00 |
|
Vinícius Rodrigues Miguel
|
39abfdffde
|
typo: Compressable -> Compressible
|
2021-03-19 11:41:38 -03:00 |
|
Vinícius Rodrigues Miguel
|
a47f41a257
|
typo: Decompressable -> Decompressible
|
2021-03-19 11:40:17 -03:00 |
|
Vinícius Rodrigues Miguel
|
08489b028c
|
First commit
|
2021-03-19 04:40:19 -03:00 |
|