586 Commits

Author SHA1 Message Date
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
4b2d634ebd
license: now in 2022 2022-01-15 16:19:52 -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
Vinícius Miguel
eec1127ee9
license: add other contributors 2022-01-13 18:02:07 -03:00
Crypto-Spartan
56f11424dc
remove lib.rs and move contents to main.rs (#241) 2022-01-13 15:13:12 -03:00
LovecraftianHorror
ec6c3b92a5
Cleanup integration tests (#238)
* Actually fill dummy files with random data

* Switch rem logic to more obvious random range

* Test all available formats

* Enable accessibility mode in tests to drastically reduce runtime
2022-01-13 14:40:03 -03:00
João Marcos Bezerra
a777940a57
Merge pull request #236 from LovecraftianHorror/make-some-flags-global
Make yes, no, and accessible flags global
2022-01-12 22:49:52 -03:00
Crypto-Spartan
ced77dee44 fix typos on new contributors 2022-01-07 22:51:07 +00:00
Crypto-Spartan
3ca9582dcf add new contributors & a few missing PRs 2022-01-07 22:48:15 +00:00
Crypto-Spartan
973984cea4 create CHANGELOG.md 2022-01-07 22:13:43 +00:00
Crypto-Spartan
8ae774ceff add 'about' info (Cargo.toml descripion value) to help message 2022-01-05 21:55:26 +00:00
Crypto-Spartan
a3bb1def61 update clap to v3.0.4, replace clap_generate with clap_complete 2022-01-05 21:53:05 +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
João Marcos Bezerra
7a358ef821
Merge pull request #230 from sigmaSd/zipid
Mark directories when compressing to zip regardless of their contents
2021-12-19 21:29:23 -03:00
João Marcos Bezerra
793a229469
Fix README.md typo 2021-12-17 01:12:35 -03: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
Crypto-Spartan
cd0a58d27e simple eprintln! fixes 2021-12-08 18:25:41 +00:00
Nbiba Bedis
734ffd4331 Compile on stable 2021-12-08 11:58:02 +01:00
Nbiba Bedis
34c09d5d69 Ignore broken symlinks when compressing 2021-12-08 11:46:30 +01:00
João Marcos Bezerra
b50987840e
Merge pull request #221 from ouch-org/flags-no-yes-redundancy-check
Add redundant check for --yes and --no flags conflict
2021-12-08 00:28:08 -03:00
João M. Bezerra
775e92c52e Add redundant check for --yes and --no flags conflict
Should be covered by clap, but we're double checking it now
2021-12-08 00:26:05 -03: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 Marcos Bezerra
9e435b7026
Merge pull request #219 from Crypto-Spartan/fix-hint-suggestion
Fix the hint suggestion for compressing multiple files
2021-12-07 23:55:11 -03:00
João Marcos Bezerra
ce844d0bd4
Merge pull request #217 from Crypto-Spartan/zip-mem-warnings
Fix zip memory warnings
2021-12-07 23:35:19 -03:00
João M. Bezerra
250d2e231c Reformat code 2021-12-07 23:25:21 -03:00
Crypto-Spartan
7703d12af2 Fix the hint suggestion for compressing multiple files 2021-12-07 23:20:53 +00:00
Crypto-Spartan
17d9f17277 Ask user to continue after .zip warning is shown 2021-12-07 21:40:03 +00:00
Crypto-Spartan
f8acb61777 Fix inconsistent zip compression and decompression memory usage warnings 2021-12-07 21:01:43 +00:00