Commit graph

1650 commits

Author SHA1 Message Date
Chris Hennick
819f86537c
refactor: Remove unnecessary #[cfg] attributes 2024-05-15 15:31:17 -07:00
Chris Hennick
23068ad7c2
chore: Fix error-type conversion on Windows 2024-05-15 15:22:49 -07:00
Chris Hennick
492c96c18f
chore: Fix conditionally-unused import 2024-05-15 15:12:18 -07:00
Chris Hennick
8435561093
chore: Fix continued issues, and factor out the Vec<u8>-to-OsString conversion (cc: #125) 2024-05-15 15:08:41 -07:00
Chris Hennick
c52ec50306
chore: Fix CI failure involving conversion to OsString for symlinks (see my comments on #125) 2024-05-15 14:47:52 -07:00
Chris Hennick
f275acf1d2
chore: Move path join into platform-independent code 2024-05-14 13:25:15 -07:00
Chris Hennick
0ec043d6be
style: Remove an unused import on Windows 2024-05-14 13:11:57 -07:00
Chris Hennick
d96ba59197
doc: Document symlink extraction behavior 2024-05-13 20:56:03 -07:00
Chris Hennick
8715d936cb
fix: Extract symlinks into symlinks on Unix and Windows, and fix a bug that affected making directories writable on MacOS 2024-05-13 20:50:40 -07:00
Chris Hennick
be8cb432f6
style: cargo fmt --all 2024-05-13 20:22:11 -07:00
Chris Hennick
3bf0301e39
feat: Add is_symlink method 2024-05-13 19:52:14 -07:00
Chris Hennick
5f44a2c3ed
Revert "ci: Clean up old release PR before creating a new one"
This reverts commit ea2907fb9b.
2024-05-12 11:25:15 -07:00
Chris Hennick
c17b824408
Revert "ci: Close-old-PR step needs GitHub token"
This reverts commit 8d18f1a7bd.
2024-05-12 11:25:14 -07:00
Chris Hennick
f2b6be8fd3
Revert "ci: Bug fix: empty check was missing $"
This reverts commit 9fa26892fd.
2024-05-12 11:25:13 -07:00
Chris Hennick
629623594d
doc: Add "compression" as a keyword 2024-05-11 15:39:55 -07:00
Chris Hennick
3f114a53ca
ci: Disable auto-merge for my own PRs 2024-05-11 09:29:10 -07:00
Chris Hennick
adb40b83d2
Merge pull request #118 from zip-rs/release-plz-2024-05-10T23-54-42Z
chore: release v1.2.3
2024-05-11 03:26:41 +00:00
Chris Hennick
3d7852a337
chore: release 2024-05-10 16:54:43 -07:00
Chris Hennick
a385aaf854
doc: Important correction: consuming package has to *target* Unix, e.g. this lib doesn't protect you when running on Wine or Mono 2024-05-10 16:40:41 -07:00
Chris Hennick
4a5d28ed30
doc: Important correction: contents might not have been extracted at all 2024-05-10 16:39:12 -07:00
Chris Hennick
ba4c6936d5
doc: Important clarification: "any user" -> "any non-root user" 2024-05-10 16:37:02 -07:00
Chris Hennick
c28614a0b2
doc: Document the guarantee provided by 137672cb29 2024-05-10 16:35:35 -07:00
Chris Hennick
137672cb29
fix: Remove a window when an extracted directory might be unexpectedly listable and/or cdable by non-owners 2024-05-10 16:26:47 -07:00
Chris Hennick
c0691ec1e5
Improve copyright warning
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-10 15:51:21 -07:00
Chris Hennick
123fb7b807
doc: Improve copyright warning
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-10 15:50:14 -07:00
Chris Hennick
2198653882
Add issue templates 2024-05-10 15:42:14 -07:00
Chris Hennick
46c022ea03
chore: More conditionally-unused imports 2024-05-10 15:14:08 -07:00
Chris Hennick
be5836e14d
test: Fix unused imports by moving them inside the cfg-gated test 2024-05-10 15:01:11 -07:00
Chris Hennick
07caf646a0
test: Fix cfg - new test is only needed on Unix and can only run with deflate 2024-05-10 14:30:52 -07:00
Chris Hennick
2ea4e5059f
fix: Extract directory contents on Unix even if the directory doesn't have write permission (https://github.com/zip-rs/zip-old/issues/423) 2024-05-10 14:27:25 -07:00
Chris Hennick
e5690877aa
ci(fuzz): Minimize read seed corpus 2024-05-10 09:28:50 -07:00
Chris Hennick
99f6b6dd86
ci(fuzz): Update write seed corpus based on a from-scratch corpus 2024-05-10 09:25:57 -07:00
Chris Hennick
8eb5a75a87
style: Merge patches from code into non_utf8.zip 2024-05-10 09:01:17 -07:00
Chris Hennick
9fa26892fd
ci: Bug fix: empty check was missing $ 2024-05-10 08:44:38 -07:00
Chris Hennick
8d18f1a7bd
ci: Close-old-PR step needs GitHub token 2024-05-10 08:42:16 -07:00
Chris Hennick
ea2907fb9b
ci: Clean up old release PR before creating a new one 2024-05-10 08:40:05 -07:00
Chris Hennick
c8a68fa727
doc: More concise re trust
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-10 08:31:06 -07:00
Chris Hennick
95018175fd
Merge pull request #107 from zip-rs/Pr0methean-patch-2
doc: Rewrite pull_request_template.md
2024-05-10 09:15:25 +00:00
Chris Hennick
1579f7a148
Merge pull request #106 from hidez8891/dev/ziped
fix: UTF-8 flag could be set for non-UTF8 filenames
2024-05-10 05:11:14 +00:00
Chris Hennick
6b0c934e09
doc: nit: punctuation
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 20:17:10 -07:00
Chris Hennick
73e44dbedb
Rephrase (we->I; relation to Amazon LPs)
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 20:15:53 -07:00
Chris Hennick
aea27a7642
Rephrase "trust" sentence and mention Amazon LP
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 20:06:54 -07:00
Chris Hennick
8a734f9dac
Rephrase
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 20:01:40 -07:00
Chris Hennick
431b4cdf2b
Clarify purpose and checks
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 19:59:51 -07:00
Chris Hennick
a29d125ee7
Update pull_request_template.md
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 19:50:38 -07:00
Chris Hennick
3168c1cf91
Make CONTRIBUTING.md link to pull_request_template.md
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 19:41:26 -07:00
Chris Hennick
72e2d95321
Update pull_request_template.md
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 19:39:52 -07:00
Chris Hennick
8fa0d590d9
Create pull_request_template.md
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
2024-05-09 19:34:24 -07:00
Chris Hennick
186c89deea
chore: String has into_bytes but not into_boxed_bytes 2024-05-09 19:11:16 -07:00
Chris Hennick
f7ea2764a2
chore: &str doesn't have into_boxed_bytes, so call to_string first 2024-05-09 19:08:55 -07:00