211 Commits

Author SHA1 Message Date
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
João M. Bezerra
78ac7b3bf1 Fixing short flags not receiving values 2021-04-05 17:20:46 -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
Vinícius Miguel
9796bd3b6d
Merge pull request #12 from vrmiguel/oof-argparsing
Change argparsing lib
2021-04-04 23:45:50 -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
535d4fcc93 Added oof::matches_any_arg, can detect --help etc. 2021-04-04 02:20:39 -03:00
João M. Bezerra
b2d064bbb3 Moving oof flags to dedicated flags.rs 2021-04-04 02:08:57 -03:00
João M. Bezerra
5b37a117f1 Clippy lints 2021-04-04 01:58:22 -03:00
João M. Bezerra
c83b38a874 Add oof complete base implementation. 2021-04-04 01:01:32 -03:00
João M. Bezerra
9fb48fd348 Create subproject oof, a thin argparsing lib
And added it to the same workspace
2021-04-04 00:20:01 -03:00
Vinícius Miguel
3f97d7a699
Merge pull request #11 from vrmiguel/marcospb19-new_readme
Update README.md
2021-03-30 23:51:26 -03:00
Vinícius Miguel
ca6dfd3f94
readme: Add missing Rust link 2021-03-30 23:50:29 -03:00
Vinícius Miguel
9a34c0501b
Update README.md 2021-03-30 23:39:44 -03:00
Vinícius Miguel
e0222c6abc
Update README.md 2021-03-30 23:23:13 -03:00
Vinícius Miguel
7cfc81117e
Update README.md 2021-03-30 22:59:33 -03:00
João Marcos Bezerra
3f47d2f6d6
Update README.md 2021-03-30 22:34:21 -03:00
Vinícius Miguel
0f453e9dfc
Merge pull request #10 from vrmiguel/better-error-messages
Better error messages
2021-03-30 12:23:01 -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 Miguel
7997c07ed0
Merge pull request #9 from vrmiguel/bump-to-0.1.4
Bump to version 0.1.4
0.1.4
2021-03-29 03:00:07 -03:00
Vinícius R. Miguel
a96d26eba6 Bump to version 0.1.4 2021-03-29 02:58:16 -03:00
Vinícius Miguel
70d8e37cea
Merge pull request #8 from vrmiguel/yes-and-no
Add `-y, --yes` and `-n, --no` flags
2021-03-29 02:54:12 -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 Miguel
7e85798381
Merge pull request #2 from vrmiguel/user-confirmation
Add confirmation dialogs for file overwriting
2021-03-28 18:03:03 -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