870 Commits

Author SHA1 Message Date
João Marcos Bezerra
fe6913118d
Merge pull request #179 from ouch-org/organizing-utils
Organizing utils
2021-11-10 10:12:28 -03:00
João M. Bezerra
b7c6589864 Small docs update 2021-11-10 10:09:54 -03:00
João M. Bezerra
f09f1cecba Merging dialogs.rs with question.rs 2021-11-10 09:57:51 -03:00
João M. Bezerra
a531d44e2b Move colors module to it's own file 2021-11-10 09:55:44 -03:00
João M. Bezerra
63cfeb26ef Add accidentally removed link in docs 2021-11-10 09:52:20 -03:00
João M. Bezerra
d27e259b26 Reorganizing src/utils, by renaming submodules
And moving formatting stuff out of fs.rs
2021-11-10 09:51:26 -03:00
João Marcos Bezerra
7a4dcb2074
Merge pull request #176 from ouch-org/fix-typo
Fix typo
2021-11-10 09:06:19 -03:00
João Marcos Bezerra
1579a482e8
Fix typo
DeMorgan's laws apply to disjunctions, not implications.
2021-11-10 09:06:09 -03:00
João M. Bezerra
271a3cc536 Update dependencies sections (and other small changes) 2021-11-10 08:58:27 -03:00
João M. Bezerra
c4599fa1e6 readme: Remove MRSV incorrect advice 2021-11-10 07:22:11 -03:00
João Marcos Bezerra
1026fa19fd
Merge pull request #154 from sigmaSd/infer
Infer file extension when decompressing
2021-11-10 06:40:54 -03:00
João M. Bezerra
cbc87866fa Fix zip magic numbers detection
And reworked detection for other formats as well
2021-11-10 06:34:05 -03:00
João M. Bezerra
16acb98b6e Early return when can't detect extension from magic numbers 2021-11-10 06:04:31 -03:00
João M. Bezerra
552096acf0 Minor import and module exporting changes 2021-11-10 06:03:46 -03:00
João M. Bezerra
2d2a018cbe Update LICENSE
Adding copyright notice from "infer" crate
2021-11-10 05:46:56 -03:00
Nbiba Bedis
266cf6e27a Infer file extension when decompressing 2021-11-10 05:41:44 -03:00
João Marcos Bezerra
85a44c0835
Merge pull request #173 from figsoda/lzzzz
switch from lz4_flex to lzzzz, enable lz4 tests
2021-11-09 23:35:53 -03:00
figsoda
dedd254ace switch from lz4_flex to lzzzz, enable lz4 tests 2021-11-09 21:26:04 -05:00
João Marcos Bezerra
3a5f43a76e
Merge pull request #163 from figsoda/tests
Rewrite tests
2021-11-09 21:22:53 -03:00
figsoda
c4a71d85ed add information about tests to CONTRIBUTING.md 2021-11-07 12:18:56 -05:00
João Marcos Bezerra
abf1d4e3e4
Readme update (#161)
* Updating badges

* Reformatted support table to be monospaced

* Add first benchmark to the readme

And fixed a typo

* Some readme rewording

* Removing readme redundant compression example

* Change badges to have squared corners

* readme: increase headers size by one

* Slight modifications to the README

* Specify dependencies and tweak some other stuff

* Add MSRV

Co-authored-by: Vinícius Miguel <36349314+vrmiguel@users.noreply.github.com>
2021-11-06 01:29:56 -04:00
Vinícius Miguel
43fb274956
Optimize strip_cur_dir (#167) 2021-11-05 23:49:35 -04:00
figsoda
2b9023e180 misc comments and wording changes 2021-11-05 23:27:20 -04:00
figsoda
253cedcf60 crate dir-diff -> fn assert_same_directory 2021-11-05 23:27:20 -04:00
figsoda
35df50857d rewrite tests 2021-11-05 23:27:20 -04:00
Vinícius Miguel
739a52f00e
Refactor utils into a module (#166) 2021-11-05 22:04:00 -04:00
João Marcos Bezerra
5a53e5725e
Merge pull request #162 from ouch-org/comments-cleanup
Remove import comments
2021-11-04 02:40:40 -03:00
João Marcos Bezerra
d1988b4ba2
Remove import comments 2021-11-04 01:08:09 -03:00
João Marcos Bezerra
e1378b3ac6
Merge pull request #156 from ouch-org/cur-dir-cow
Avoid allocating in `nice_directory_display` when possible, make `Extension` non-exhaustive
2021-11-03 18:40:23 -03:00
Vinícius Rodrigues Miguel
e81fafc3d3 Make Extension non-exhaustive 2021-11-03 18:08:39 -03:00
Vinícius Rodrigues Miguel
75ece05dbf Avoid allocating in nice_directory_display when possible 2021-11-03 18:08:22 -03:00
João Marcos Bezerra
2af0464ed3
Merge pull request #153 from figsoda/typo
Fix zsh shell completions
2021-11-03 13:15:40 -03:00
João Marcos Bezerra
54b57879ce
Merge pull request #155 from ouch-org/extension-heap-alloc
extension: Use hardcoded slices instead of `Vecs` when creating an `Extension`
2021-11-03 12:47:12 -03:00
Vinícius Rodrigues Miguel
a798d20106 extension: Use hardcoded slices instead of Vecs when creating an Extension 2021-11-03 12:35:29 -03:00
figsoda
cd84161b28 fix typo 2021-11-02 18:51:33 -04:00
João Marcos Bezerra
a1c4f0373f
Merge pull request #150 from figsoda/lz4
Add support for lz4
2021-11-02 18:45:53 -03:00
figsoda
27d8e64192 minor improvements 2021-11-02 17:37:24 -04:00
figsoda
296826b4d3 add support for lz4 format 2021-11-02 17:37:24 -04:00
João Marcos Bezerra
8b1927f890
Merge pull request #149 from ouch-org/fix-decompress-short-dir-flag
Fix short flag for the --dir flag
2021-11-02 18:30:17 -03:00
João M. Bezerra
75142f14b9 Fix short flag for the --dir flag 2021-11-02 18:27:46 -03:00
João Marcos Bezerra
04c8438ca2
Merge pull request #147 from ouch-org/fix-error-treatment-calling-todo
Perform exhaustive matching on error variants
2021-11-02 18:05:31 -03:00
João M. Bezerra
5059f9c875 Perform exhaustive matching on error variants
Fixes #29
2021-11-02 17:44:13 -03:00
João M. Bezerra
036afe668b Bumping version to 0.3.1 2021-11-02 17:27:02 -03:00
João Marcos Bezerra
486e0da82a
Merge pull request #146 from ouch-org/release-helper
Add release-helper.sh to make github releases easier
2021-11-02 17:19:06 -03:00
João M. Bezerra
a0f6aa490f Add release-helper.sh to make github releases easier 2021-11-02 17:17:11 -03:00
João Marcos Bezerra
41a9734d3a
Merge pull request #144 from ouch-org/updating-rustfmt
Updating rustfmt configurations
2021-11-02 16:30:11 -03:00
João M. Bezerra
27b6970eda Updating rustfmt 2021-11-02 16:15:36 -03:00
João M. Bezerra
9a9488fcd2 Merge branch 'command_list' 2021-11-02 15:31:01 -03:00
João Marcos Bezerra
cd77b987ac
readme: refer to list command for the next release 2021-11-02 11:26:16 -03:00
João M. Bezerra
000ce62eb3 Updating Cargo.lock 2021-11-02 10:53:06 -03:00