121 Commits

Author SHA1 Message Date
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
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