Vinícius Miguel
|
2ba91644e8
|
commands: remove two unnecessary clones
|
2021-04-09 12:05:49 -03:00 |
|
Vinícius Miguel
|
3cb0bfa1e5
|
cli: refactor path canonicalizing logic
|
2021-04-09 02:05:31 -03:00 |
|
Vinícius Miguel
|
38e7009a27
|
cli: add an alias for the compress subcommand
|
2021-04-08 22:46:47 -03:00 |
|
Vinícius Miguel
|
b614533fd5
|
utils: fix usage of the -n, --no flag
|
2021-04-08 22:31:10 -03:00 |
|
Vinícius Miguel
|
dedf7c0eca
|
Merge pull request #21 from vrmiguel/dev
Add checking for typos on the compression subcommand and switch panics to errors
|
2021-04-08 12:50:22 -03:00 |
|
Vinícius Miguel
|
c94b49f013
|
cli: Only suggest the typo correction and exit
|
2021-04-08 12:48:52 -03:00 |
|
Vinícius Miguel
|
5ca99c101e
|
oof: remove unnecessary closures (((and undo last commit)))
|
2021-04-08 03:03:07 -03:00 |
|
Vinícius Miguel
|
e7eb55a4cf
|
test: make_dummy_files: return an error instead of panicking
|
2021-04-08 02:55:34 -03:00 |
|
Vinícius Miguel
|
908f8e4e93
|
oof: Add variant UnknownLongFlag and remove missing panics
|
2021-04-08 00:38:24 -03:00 |
|
Vinícius Miguel
|
2f6ac5e54c
|
error: Save std::io::Error as a crate::Error variant
|
2021-04-08 00:26:02 -03:00 |
|
Vinícius Miguel
|
613074dff1
|
oof: add error variant DuplicatedFlag
|
2021-04-07 23:36:58 -03:00 |
|
Vinícius Miguel
|
faae7c088f
|
oof: add error variant MissingValueToFlag
|
2021-04-07 23:28:37 -03:00 |
|
Vinícius Miguel
|
5cca3c42e4
|
oof: impl fmt::Display for Flag
|
2021-04-07 23:12:30 -03:00 |
|
Vinícius Miguel
|
c08eb91632
|
oof: add some error variants to replace panics
|
2021-04-07 21:59:23 -03:00 |
|
Vinícius Miguel
|
d9b39706e2
|
Drop dependency on Termion
|
2021-04-07 02:23:50 -03:00 |
|
Vinícius Miguel
|
0026e4d4de
|
Drop dependency on Colored
|
2021-04-07 02:02:50 -03:00 |
|
Vinícius Miguel
|
8a4ac5d6d1
|
cli: Check for typos on ouch compress
|
2021-04-07 00:26:53 -03:00 |
|
João M. Bezerra
|
e1c72a6a6b
|
Removing unused cli::CommandInfo
|
2021-04-06 23:36:44 -03:00 |
|
João Marcos Bezerra
|
95ab1e763b
|
Merge pull request #20 from vrmiguel/dev
Update master from dev branch
0.1.5-rc
|
2021-04-06 23:25:11 -03:00 |
|
João M. Bezerra
|
3ac28b8d5c
|
Fixing Windows build warnings
|
2021-04-06 23:16:39 -03:00 |
|
João M. Bezerra
|
bb004dc78c
|
Fixing Windows build: no termion support
|
2021-04-06 23:12:40 -03:00 |
|
João M. Bezerra
|
df1bc879cb
|
New --help message
|
2021-04-06 22:52: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
|
3869c2502e
|
Moving bytes.rs implementation to utils.rs
|
2021-04-06 21:16:33 -03:00 |
|
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
|
d25bc4f0e3
|
Merge pull request #19 from vrmiguel/ci-armv7
CI: build and test for Linux ARMv7
|
2021-04-06 16:54:09 -03:00 |
|
Vinícius Miguel
|
621a0c8fc3
|
CI: build and test for Linux ARMv7
|
2021-04-06 16:32:12 -03:00 |
|
Vinícius Miguel
|
efcbdeb060
|
Merge pull request #18 from vrmiguel/nightly
Verify inputs when decompressing (canonicalize + checking if they're decompressible)
|
2021-04-06 13:24:23 -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 Miguel
|
e080de860a
|
Merge pull request #17 from vrmiguel/byte-formatting
Add pretty-printing for bytes
|
2021-04-06 03:13:22 -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 Miguel
|
d3de94dfca
|
Merge pull request #16 from vrmiguel/nightly
Update master from nightly
|
2021-04-06 00:39:23 -03:00 |
|
Vinícius Miguel
|
0e011edd99
|
Update README.md
|
2021-04-05 21:55:26 -03:00 |
|
Vinícius Miguel
|
8e680402a9
|
CI: use MUSL when compiling for Linux
|
2021-04-05 21:46:27 -03:00 |
|
Vinícius Rodrigues Miguel
|
8837c71457
|
Drop Python test file
|
2021-04-05 21:12:00 -03:00 |
|
Vinícius Rodrigues Miguel
|
7b0864e8c4
|
oof: fix an error when building for Windows
|
2021-04-05 21:05:41 -03:00 |
|
Vinícius Rodrigues Miguel
|
a7a604de9b
|
test script: make sure to return 0 upon success
|
2021-04-05 21:03:15 -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 Miguel
|
94ecc63886
|
Merge pull request #15 from vrmiguel/oof-argparsing-shoft-arg-flags-fix
Fixing short flags not receiving values
|
2021-04-05 19:23:47 -03:00 |
|