Commit Graph

  • 864fc1a29b decompression: panic if there are no arguments João M. Bezerra 2021-05-15 01:12:03 -03:00
  • db81fd4ed9 lister: Return the filename and file size when listing an archive Vinícius Rodrigues Miguel 2021-04-27 03:25:53 -03:00
  • 6bf9259256 Delete file listers/to_memory.rs Vinícius Miguel 2021-04-12 18:46:54 -03:00
  • 625ed601ec Add error message for Error::UnlistableFormat Vinícius Miguel 2021-04-12 18:44:55 -03:00
  • ce5172f7be Code cleanup + cargo fmt Vinícius Miguel 2021-04-12 18:40:09 -03:00
  • a7c5e0eb7c lister: better error treatment Vinícius Miguel 2021-04-12 18:35:33 -03:00
  • 31ede3f03a lister: WIP returning of files Vinícius Miguel 2021-04-12 18:12:52 -03:00
  • 88f7de9b16 Marginal development of listing logic Vinícius Miguel 2021-04-12 18:02:14 -03:00
  • 8548f73870
    Update README.md Vinícius Miguel 2021-04-10 12:01:04 -03:00
  • 132630ce43 extension: make Extension and CompressionFormat copiable Vinícius Miguel 2021-04-09 15:49:14 -03:00
  • aa5726c657 lister: early progress, listing .zip and .tar Vinícius Miguel 2021-04-09 13:16:36 -03:00
  • b50f82a65b
    Merge pull request #22 from vrmiguel/dev Vinícius Miguel 2021-04-09 12:58:26 -03:00
  • 2ba91644e8 commands: remove two unnecessary clones Vinícius Miguel 2021-04-09 12:05:49 -03:00
  • 3cb0bfa1e5 cli: refactor path canonicalizing logic Vinícius Miguel 2021-04-09 02:05:31 -03:00
  • 38e7009a27 cli: add an alias for the compress subcommand Vinícius Miguel 2021-04-08 22:46:47 -03:00
  • b614533fd5 utils: fix usage of the -n, --no flag Vinícius Miguel 2021-04-08 22:31:10 -03:00
  • dedf7c0eca
    Merge pull request #21 from vrmiguel/dev Vinícius Miguel 2021-04-08 12:50:22 -03:00
  • c94b49f013 cli: Only suggest the typo correction and exit Vinícius Miguel 2021-04-08 12:48:52 -03:00
  • 5ca99c101e oof: remove unnecessary closures (((and undo last commit))) Vinícius Miguel 2021-04-08 03:03:07 -03:00
  • e7eb55a4cf test: make_dummy_files: return an error instead of panicking Vinícius Miguel 2021-04-08 02:55:34 -03:00
  • 908f8e4e93 oof: Add variant UnknownLongFlag and remove missing panics Vinícius Miguel 2021-04-08 00:38:24 -03:00
  • 2f6ac5e54c error: Save std::io::Error as a crate::Error variant Vinícius Miguel 2021-04-08 00:26:02 -03:00
  • 613074dff1 oof: add error variant DuplicatedFlag Vinícius Miguel 2021-04-07 23:36:58 -03:00
  • faae7c088f oof: add error variant MissingValueToFlag Vinícius Miguel 2021-04-07 23:28:37 -03:00
  • 5cca3c42e4 oof: impl fmt::Display for Flag Vinícius Miguel 2021-04-07 23:12:30 -03:00
  • c08eb91632 oof: add some error variants to replace panics Vinícius Miguel 2021-04-07 21:59:23 -03:00
  • d9b39706e2 Drop dependency on Termion Vinícius Miguel 2021-04-07 02:23:50 -03:00
  • 0026e4d4de Drop dependency on Colored Vinícius Miguel 2021-04-07 02:02:50 -03:00
  • 8a4ac5d6d1 cli: Check for typos on ouch compress Vinícius Miguel 2021-04-07 00:26:53 -03:00
  • e1c72a6a6b Removing unused cli::CommandInfo João M. Bezerra 2021-04-06 23:36:44 -03:00
  • 95ab1e763b
    Merge pull request #20 from vrmiguel/dev 0.1.5-rc João Marcos Bezerra 2021-04-06 23:25:11 -03:00
  • 3ac28b8d5c Fixing Windows build warnings João M. Bezerra 2021-04-06 23:16:39 -03:00
  • bb004dc78c Fixing Windows build: no termion support João M. Bezerra 2021-04-06 23:06:53 -03:00
  • df1bc879cb New --help message João M. Bezerra 2021-04-06 22:41:21 -03:00
  • 973af5fe1c Change evaluator.rs to commands.rs João M. Bezerra 2021-04-06 21:18:56 -03:00
  • 3869c2502e Moving bytes.rs implementation to utils.rs João M. Bezerra 2021-04-06 21:16:33 -03:00
  • 20bcf1ecde evaluator: Fix an error message Vinícius Miguel 2021-04-06 20:36:47 -03:00
  • aa03d2723e Separate lib from binary João M. Bezerra 2021-04-06 20:22:03 -03:00
  • 78d5f435ee Minor style changes João M. Bezerra 2021-04-06 20:14:33 -03:00
  • 575abeb454 Testing bytes formatting João M. Bezerra 2021-04-06 19:24:50 -03:00
  • 784217143a Better error message for MissingArgumentsForDecompression Vinícius Miguel 2021-04-06 19:05:36 -03:00
  • 8c88d5cb0f evaluator: Accept the other compression formats as 'first compressors' Vinícius Miguel 2021-04-06 19:01:44 -03:00
  • d25bc4f0e3
    Merge pull request #19 from vrmiguel/ci-armv7 Vinícius Miguel 2021-04-06 16:54:09 -03:00
  • 621a0c8fc3 CI: build and test for Linux ARMv7 Vinícius Miguel 2021-04-06 16:32:12 -03:00
  • efcbdeb060
    Merge pull request #18 from vrmiguel/nightly Vinícius Miguel 2021-04-06 13:24:23 -03:00
  • 249e9959fc Fix failing test Vinícius Miguel 2021-04-06 12:51:53 -03:00
  • 5b70940596 Fix cargo test Vinícius Miguel 2021-04-06 04:44:08 -03:00
  • f9272b5ce5 evaluator: Verify if input files are decompressible Vinícius Miguel 2021-04-06 04:30:36 -03:00
  • 9b8dcb40fa cli: Canonicalize input files when decompressing Vinícius Miguel 2021-04-06 04:12:00 -03:00
  • 095ade6621 Code cleanup Vinícius Miguel 2021-04-06 03:37:49 -03:00
  • e080de860a
    Merge pull request #17 from vrmiguel/byte-formatting Vinícius Miguel 2021-04-06 03:13:22 -03:00
  • 42b139f1a5 Add tests for byte pretty-printing Vinícius R. Miguel 2021-04-06 03:08:44 -03:00
  • 1b9faab96a refactor: pretty-print bytes Vinícius R. Miguel 2021-04-06 02:49:03 -03:00
  • 368a776b70 Add Bytes and impl Display for Bytes Vinícius R. Miguel 2021-04-06 02:34:27 -03:00
  • d3de94dfca
    Merge pull request #16 from vrmiguel/nightly Vinícius Miguel 2021-04-06 00:39:23 -03:00
  • 0e011edd99
    Update README.md Vinícius Miguel 2021-04-05 21:55:26 -03:00
  • 8e680402a9
    CI: use MUSL when compiling for Linux Vinícius Miguel 2021-04-05 21:46:27 -03:00
  • 8837c71457 Drop Python test file Vinícius Rodrigues Miguel 2021-04-05 21:12:00 -03:00
  • 7b0864e8c4 oof: fix an error when building for Windows Vinícius Rodrigues Miguel 2021-04-05 21:05:41 -03:00
  • a7a604de9b test script: make sure to return 0 upon success Vinícius Rodrigues Miguel 2021-04-05 21:03:15 -03:00
  • 1c5005f5a9 Adapt the Python test script to the new Ouch interface Vinícius Rodrigues Miguel 2021-04-05 20:57:18 -03:00
  • 94ecc63886
    Merge pull request #15 from vrmiguel/oof-argparsing-shoft-arg-flags-fix Vinícius Miguel 2021-04-05 19:23:47 -03:00
  • 78ac7b3bf1 Fixing short flags not receiving values João M. Bezerra 2021-04-05 17:20:46 -03:00
  • 011626f09b (WIP) Minor misc. changes Vinícius Rodrigues Miguel 2021-04-05 02:57:46 -03:00
  • d2af261f67 Fix cargo test tests Vinícius Rodrigues Miguel 2021-04-05 01:14:27 -03:00
  • 9796bd3b6d
    Merge pull request #12 from vrmiguel/oof-argparsing Vinícius Miguel 2021-04-04 23:45:50 -03:00
  • 28901ec44e Binary size decreased by 35% (-400KB) João M. Bezerra 2021-04-04 23:23:51 -03:00
  • b45f38f5fa Add utils::to_utf João M. Bezerra 2021-04-04 23:18:25 -03:00
  • 0c9131c307 Start replacing clap with oof João M. Bezerra 2021-04-04 03:17:55 -03:00
  • 535d4fcc93 Added oof::matches_any_arg, can detect --help etc. João M. Bezerra 2021-04-04 02:20:39 -03:00
  • b2d064bbb3 Moving oof flags to dedicated flags.rs João M. Bezerra 2021-04-04 02:08:57 -03:00
  • 5b37a117f1 Clippy lints João M. Bezerra 2021-04-04 01:58:22 -03:00
  • c83b38a874 Add oof complete base implementation. João M. Bezerra 2021-04-04 01:01:32 -03:00
  • 9fb48fd348 Create subproject oof, a thin argparsing lib João M. Bezerra 2021-04-04 00:19:00 -03:00
  • 3f97d7a699
    Merge pull request #11 from vrmiguel/marcospb19-new_readme Vinícius Miguel 2021-03-30 23:51:26 -03:00
  • ca6dfd3f94
    readme: Add missing Rust link Vinícius Miguel 2021-03-30 23:50:29 -03:00
  • 9a34c0501b
    Update README.md Vinícius Miguel 2021-03-30 23:39:44 -03:00
  • e0222c6abc
    Update README.md Vinícius Miguel 2021-03-30 23:23:13 -03:00
  • 7cfc81117e
    Update README.md Vinícius Miguel 2021-03-30 22:59:33 -03:00
  • 3f47d2f6d6
    Update README.md João Marcos Bezerra 2021-03-30 22:34:21 -03:00
  • f50e9ff223 lol I forgot that mut, go again CLI João M. Bezerra 2021-03-30 14:08:28 -03:00
  • edd27cfc9b Snapshot of refactoring argparsing, windows code João M. Bezerra 2021-03-30 14:03:20 -03:00
  • 0f453e9dfc
    Merge pull request #10 from vrmiguel/better-error-messages Vinícius Miguel 2021-03-30 12:23:01 -03:00
  • b002de78d9 Show better error messages Vinícius Rodrigues Miguel 2021-03-30 00:11:46 -03:00
  • 2dc828c0ff (WIP) Showing better error messages Vinícius Rodrigues Miguel 2021-03-29 23:11:22 -03:00
  • 7997c07ed0
    Merge pull request #9 from vrmiguel/bump-to-0.1.4 0.1.4 0.1.4 Vinícius Miguel 2021-03-29 03:00:07 -03:00
  • a96d26eba6 Bump to version 0.1.4 Vinícius R. Miguel 2021-03-29 02:58:16 -03:00
  • 70d8e37cea
    Merge pull request #8 from vrmiguel/yes-and-no Vinícius Miguel 2021-03-29 02:54:12 -03:00
  • cb10a45661 Use the -y and -n flags when decompressing single-file compression formats Vinícius R. Miguel 2021-03-29 02:44:29 -03:00
  • 1c0e883d99 dialogs: Remove duplicated to_ascii_lowercase Vinícius Rodrigues Miguel 2021-03-29 02:00:47 -03:00
  • 5ac3540145 Use the -y and -n flags when compressing to a file that already exists Vinícius Rodrigues Miguel 2021-03-29 01:52:52 -03:00
  • 0f0b086943 Use the the -y and -n flags when decompressing .tar and .zip Vinícius Rodrigues Miguel 2021-03-29 01:37:01 -03:00
  • c7cf1112b6 Add -y, --yes and -n, --no flags (currently unused) Vinícius R. Miguel 2021-03-28 23:50:28 -03:00
  • 7e85798381
    Merge pull request #2 from vrmiguel/user-confirmation Vinícius Miguel 2021-03-28 18:03:03 -03:00
  • 40fb926d80 evaluator: Add confirmation dialog for file overwriting Vinícius Rodrigues Miguel 2021-03-28 14:52:09 -03:00
  • 03d6fc1e60 decompressors/tar: Add confirmation dialog for file overwriting Vinícius Rodrigues Miguel 2021-03-28 14:28:07 -03:00
  • 7954eb07fd decompressors/zip: Add confirmation dialog for file overwriting Vinícius Rodrigues Miguel 2021-03-28 13:56:00 -03:00
  • 91f411439a rustfmt Vinícius Rodrigues Miguel 2021-03-27 01:34:43 -03:00
  • 234e0406a1 Don't allow ouch to compress the root folder Vinícius Rodrigues Miguel 2021-03-27 00:37:47 -03:00
  • 49e4c4afcd compressors/zip: replace a couple of unwraps to the question mark op. Vinícius Rodrigues Miguel 2021-03-26 23:47:42 -03:00