figsoda
0519b5663e
fix: respect file permissions when compressing zip files
2022-09-01 16:17:29 -04:00
Vinícius Miguel
99ec7d2cf2
Fix wrong filename suggestions when compressing folders into non-archives ( #269 )
2022-08-22 23:37:04 -03:00
figsoda
996e597c1f
fix: apply clippy lint
2022-08-14 12:32:54 +08:00
figsoda
a1c943923c
refac: simplify smart_unpack to remove redundant code and make clippy happy
2022-08-14 12:24:41 +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
Dan Martinez
39ea378cc5
Fix the decompress
-d
argument description
2022-08-11 14:29:23 -07:00
João M. Bezerra
7ed3a16f21
chore: update rustfmt config
...
remove 'force_multiline_blocks' config
2022-07-04 11:06:16 -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
f5fcf7f2a3
replace flat_map by flatten_compression_formats
2022-06-04 13:01:24 -03:00
João M. Bezerra
19769223c8
create helper function split_first_extension
2022-06-04 12:55:51 -03:00
João M. Bezerra
4d518b7056
small refactor and renamings
2022-06-04 12:47:17 -03:00
João M. Bezerra
8bd78f49cd
fix accessible warning if
reversed
2022-06-04 11:46:59 -03:00
João M. Bezerra
c65959d648
break down commands.rs into multiple files
2022-06-04 11:46:23 -03:00
João M. Bezerra
eac0a0687a
fix clippy warnings
2022-06-04 10:59:51 -03:00
Artturin
2b53db9bdd
fix clippy warning
...
https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
2022-06-01 17:40:57 +03:00
João Marcos Bezerra
45a456f127
Merge branch 'master' into fix-zip-warning
2022-03-02 20:32:45 -03:00
Jan Christian Grünhage
abca371dcc
fix: remove single quotes from clap doc comments
...
Apparently, clap_complete doesn't properly escape single quotes in doc
comments, leading to broken shell completions for zsh. To circumvent
this, I've removed the single quote in the one place where it shouldn't
have been in the first place ("it's" vs "its", contraction vs possessive
pronoun), and replaced "it's" with "it is" in the other place.
Reference to upstream issue: https://github.com/clap-rs/clap/issues/1596
2022-02-13 10:36:06 +01:00
Vinícius R. Miguel
7dd016aa54
feat: recover last modified time when unpacking zip archives
2022-02-05 23:08:21 -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
João M. Bezerra
26138e0f06
Reuse zip warning message
2022-02-03 18:00:02 -03:00
João Marcos Bezerra
1a1449a569
Merge branch 'master' into fix-zip-warning
2022-02-03 16:12:14 -03:00
João M. Bezerra
923a0601eb
Update compress_files docs
2022-02-03 16:02:48 -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
7a7c6b64fb
Merge pull request #240 from Crypto-Spartan/update-clap-3.0.4
...
Update clap to v3.0.4
2022-01-16 22:44:20 -03:00
Vinícius Miguel
bf9e6b7b98
feat: use Cow<'static, str>
in FinalError
( #246 )
2022-01-16 18:35:53 -03:00
Vinícius Miguel
6fc6d23872
fix: missing #[must_use]
attribute on a method returning Self
( #243 )
2022-01-15 16:14:23 -03:00
Crypto-Spartan
56f11424dc
remove lib.rs and move contents to main.rs ( #241 )
2022-01-13 15:13:12 -03:00
Crypto-Spartan
8ae774ceff
add 'about' info (Cargo.toml descripion value) to help message
2022-01-05 21:55:26 +00:00
Crypto-Spartan
e816ec1f8f
use rustfmt
2022-01-04 23:01:32 +00:00
Crypto-Spartan
fa2af20814
fix warning for zip with additional formats
2022-01-04 22:45:24 +00:00
Lovecraftian Horror
0b688fa70c
Make yes, no, and accessible flags global
2021-12-29 14:15:30 -06:00
João Marcos Bezerra
308b8f7e90
Merge pull request #225 from sigmaSd/list
...
List command: print file immediatly after it is processed
2021-12-20 13:11:15 -03:00
Nbiba Bedis
3ce9927e2b
Show progress when using list --tree
2021-12-20 11:22:52 +01:00
Nbiba Bedis
40bb56bf79
Mark files as directories when compressing to zip regardless if they're empty or not
2021-12-14 09:18:16 +01: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
sigmaSd
a3d3e5d1d9
Truncate long messages in the progress bar ( #214 )
...
* Truncate long messages in the progress bar
2021-12-13 22:40:52 -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
João Marcos Bezerra
f40f40cda0
Merge pull request #226 from Crypto-Spartan/eprint-fix
...
simple eprintln fixes
2021-12-09 17:53:13 -03:00
Nbiba Bedis
42bcc024d4
Actually use relative paths when extracting
2021-12-09 17:59:25 +01:00
Nbiba Bedis
19081caa70
Rebase
2021-12-09 09:37:23 +01:00
Nbiba Bedis
47462ba40d
Rebase
2021-12-09 09:34:07 +01:00
Nbiba Bedis
569f39c6c9
Use a new thread for listing
2021-12-09 09:28:44 +01:00
Nbiba Bedis
b1667bd474
Remove comment
2021-12-09 08:24:49 +01:00
Nbiba Bedis
a07bc72faf
Show info for list --tree
2021-12-09 08:24:49 +01:00
Nbiba Bedis
2adcfb364f
List command: print file immediatly after it iss processed
2021-12-09 08:24:49 +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