João M. Bezerra
54ee52610a
fix rustdoc warnings
2023-02-03 02:24:07 -03:00
figsoda
e06b2c8635
apply clippy suggestions
2023-01-05 14:23:37 -05:00
Vinícius R. Miguel
2caeb1004c
refac: add support for Windows in EscapedPathDisplay
2023-01-05 13:39:06 -03:00
Vinícius R. Miguel
0deb18289a
refac: use BStr to display possibly non-UTF8 byte sequences
2023-01-05 12:46:29 -03:00
João M. Bezerra
c737956a4e
check for EOF when asking questions
...
when invoking Ouch from shell scripts, it is likely that questions will
be left unanswered with EOF, this commit fixes Ouch interpreting EOF as
Yes in Y/N questions
2022-11-23 00:43:53 -03:00
João M. Bezerra
e8d0914a01
improve error message when compressing folder with single-file formats
2022-10-17 00:03:44 -03:00
figsoda
13fab6d241
remove progress feature
2022-10-15 23:03:20 -04:00
João M. Bezerra
9f7cba79e1
use remove_file_or_dir to remove dir check
2022-10-15 22:31:47 -03:00
João M. Bezerra
2da497c1ca
fix fatal error if read fails when compressing
2022-10-15 22:01:30 -03:00
João M. Bezerra
4d2ccf4873
create remove_file_or_dir util
2022-10-15 21:51:52 -03:00
João M. Bezerra
cdd1b530be
fix not overwriting a folder when compressing
2022-10-15 21:36:24 -03:00
figsoda
d4766c4bf3
Merge branch 'main' into rewrite-progress
2022-10-13 11:37:09 -04:00
figsoda
51855948f1
add OutputLine trait for performance improvements
2022-10-13 11:31:43 -04:00
figsoda
2f4404e658
use humansize instead of Bytes
2022-10-12 22:33:41 -04:00
João M. Bezerra
a2c91c4248
minor tweaks
2022-10-11 22:09:39 -03:00
figsoda
5dc8d3efed
fix: apply clippy lints
2022-10-03 20:56:48 -04:00
figsoda
996e597c1f
fix: apply clippy lint
2022-08-14 12:32:54 +08:00
João M. Bezerra
86234084ab
refac: use Lazy cell to optimize env::current_dir call
2022-08-12 13:03:48 -03:00
João M. Bezerra
2e165e57cb
fix rustdoc lint warnings
2022-06-05 12:52:20 -03:00
João M. Bezerra
801189ec02
create is_running_in_accessible_mode helper
...
also renamed some variables
2022-06-04 21:38:16 -03:00
João M. Bezerra
278bc980c1
small changes and rewrite zip warning message
2022-06-04 14:36:57 -03:00
João M. Bezerra
97c4387fcf
minor simplifications and renamings
2022-06-04 14:04:31 -03:00
João M. Bezerra
14025c6816
remove use_small_heuristics = "Max"
from rustfmt
...
and update edition to 2021
2022-06-04 13:06:52 -03:00
João M. Bezerra
eac0a0687a
fix clippy warnings
2022-06-04 10:59:51 -03:00
Vinícius Miguel
8b1cd18fb5
feat: don't allocate when possible in to_utf
, nice_directory_display
( #249 )
2022-02-05 12:31:20 -03:00
Vinícius Miguel
336fc97831
feat: allow ignoring hidden files and files matched by .gitignore files ( #245 )
2022-01-16 23:30:26 -03:00
João Marcos Bezerra
35a158ec63
Merge pull request #229 from sigmaSd/ux
...
Actually use relative paths when extracting
2021-12-13 22:43:14 -03:00
Crypto-Spartan
add6a595bd
Merge pull request #227 from Crypto-Spartan/question-continue
...
remove redundant user_wants_to_continue function
2021-12-09 18:21:32 -03:00
Nbiba Bedis
42bcc024d4
Actually use relative paths when extracting
2021-12-09 17:59:25 +01:00
João Marcos Bezerra
9c3446924c
Merge pull request #224 from sigmaSd/sym
...
Ignore broken symlinks when compressing
2021-12-09 01:06:34 -03:00
Nbiba Bedis
734ffd4331
Compile on stable
2021-12-08 11:58:02 +01:00
João Marcos Bezerra
fddc79628a
Merge pull request #215 from figsoda/snappy
...
support snappy format
2021-12-08 00:17:59 -03:00
João M. Bezerra
250d2e231c
Reformat code
2021-12-07 23:25:21 -03:00
Crypto-Spartan
17d9f17277
Ask user to continue after .zip warning is shown
2021-12-07 21:40:03 +00:00
figsoda
52a8acf2e1
support snappy format
2021-12-07 13:59:56 -05:00
Nbiba Bedis
0976970e8c
Add progress bar for compressing/decompressing
2021-11-25 11:57:47 +01:00
João M. Bezerra
4e0dbeb85b
Merge branch 'accessibility'
2021-11-24 23:39:00 -03:00
Anton Hermann
1030eb0de9
Improve accessibility code and comment decisions why some info is (in)accessible
2021-11-23 11:53:20 +01:00
João Marcos Bezerra
fe4b265d9f
Merge branch 'master' into infer2
2021-11-14 02:11:28 -03:00
Vinícius Rodrigues Miguel
afc8367230
Simplify (optimize?) several file inferring functions
2021-11-14 01:53:59 -03:00
Nbiba Bedis
08b2314d8f
display xz when inferring lzma
2021-11-13 17:13:51 +01:00
Nbiba Bedis
0660c2fe59
Remove Lzip because its incorrect, and improve extention comparison
2021-11-13 09:46:08 +01:00
Anton Hermann
40cee89bab
Implement accessibility mode which reduces visual noise
2021-11-13 01:47:08 +01:00
Anton Hermann
c1add95e70
Fix warnings in doc comments
...
Escape square brackets comments containing "[INFO]", "[WARNING]", "[ERROR]"
Suppress automatic link markup warning
2021-11-13 00:07:17 +01:00
Spyros Roum
c33d896743
Change clear_path
to return Result<bool>
...
So `Ok(true)` means the path is clear while `Ok(false)` means the user doesn't want to overwrite
2021-11-11 15:58:51 +02:00
Spyros Roum
eb9a99fff3
Create util for clearing a path
2021-11-11 11:36:26 +02:00
João M. Bezerra
05d83a3726
Utf8 checks, using references and avoid allocating
...
And add docs
2021-11-10 19:59:36 -03:00
João M. Bezerra
f1c0c82323
Move utf8 utils from zip.rs to utils module
2021-11-10 19:47:36 -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