793 Commits

Author SHA1 Message Date
Cœur acc61be581 bumping minizip to 4.0.10.f890d80 2025-10-31 05:29:12 +01:00
Cœur 2d0cc5ea8c bumping minizip to 4.0.10.1867916bec205bb16299b7abe7145539eef6fb8a (#760) 2025-10-30 08:31:11 +01:00
Cœur fb3cdc0351 Updating GitHub actions for macos-26 (#759)
* Updating GitHub actions for macos-26

* Harcoding the OS version for xrsimulator
2025-10-30 07:36:04 +01:00
andalman 302562adfd In writeData, set the uncompressed size based on the length of the data (#758)
This provides the necessary information to mz_zip_entry_needs_zip64() so that it can correctly determine whether to use zip64.

https://github.com/ZipArchive/ZipArchive/issues/757
2025-10-30 07:15:54 +01:00
Cœur 7a3d196c7a revert "do not assume entries made on dos systems have utf-8 filename (#443)" (#752) 2025-05-03 18:08:35 +02:00
Cœur d8ea3dabd3 Fix setting directory file modification date (#753) 2025-05-03 17:05:52 +02:00
Cœur c9cbbb0aec spelling (#751) 2025-05-01 19:36:21 +02:00
Cœur 318046dc56 link to ZipArchive alternatives (#728)
* link to ZipArchive alternatives
2025-05-01 15:12:23 +02:00
Cœur 9e696335bb Updating to minizip-ng 4.0.9 (#749)
* Updating to minizip-ng 4.0.9

* Fixing unzipFileAtPath support of '\\'.
Fixing isPasswordValidForArchiveAtPath support of __MACOSX.
2025-05-01 14:45:49 +02:00
Cœur ba37698a9f Updating minimum GitHub action target (#750) 2025-04-30 04:01:25 +02:00
Cœur a182ace035 improving test comment and get20MbNSData 2025-04-15 14:27:15 +02:00
Cœur 168f9e2f19 fix: unzipping with incorrect number of entries (#730) 2024-11-19 06:43:10 +01:00
Cœur 1fe1af8b34 updating minizip to latest (#729) 2024-11-19 06:08:23 +01:00
Cœur a5701d9ac9 test dateWithMSDOSFormat (#727)
* test dateWithMSDOSFormat
2024-11-11 13:25:18 +01:00
Cœur a0e8e08240 fix zip64 logic based on missing uncompressed_size (#726)
* fix zip64 logic based on missing uncompressed_size
2024-11-10 14:46:07 +01:00
Cœur 17ec0aec70 removing tmu_date (#725) 2024-10-30 00:08:23 +01:00
Cœur 4ce93ff4ff Updating to minizip-ng 4.0.7 (#724)
* Updating to minizip-ng 4.0.7

* Adding HAVE_ICONV
2024-10-28 18:08:25 +01:00
Cœur df35718ea1 Adding fixture for #633 2.6.0 2024-09-29 23:21:42 +02:00
Cœur 4b4cccf569 Merge pull request #462 from 5b5/master
isPasswordValidForArchiveAtPath returning wrong result if first file is directory
2024-09-29 23:14:41 +02:00
Cœur 60c1ccfc0f adding a test for "Skip directories in isPasswordValidForArchiveAtPath" 2024-09-29 23:03:47 +02:00
Cœur 6bafd5820b Fix memory leak in filename 2024-09-29 22:19:18 +02:00
Torsten Rosenstiel aa3c500926 Fix declaration of filename in incorrect position 2024-09-29 22:10:40 +02:00
Torsten Rosenstiel bfaa3fd447 Skip directories in isPasswordValidForArchiveAtPath 2024-09-29 22:09:59 +02:00
Cœur 003f0844d0 Fix autolayout warning in sample project. (#721)
* Fix autolayout warning in sample project.

"Certain autolayout constraint combinations may result in an appropriate layout in the current development language but will pose issues in other languages and regions."
2024-09-29 20:15:12 +02:00
Cœur 985d8f35a8 Fix GitHub actions (#720) 2024-09-28 00:55:43 +02:00
Cœur 2c7efe4382 withContentsOfDirectory: should return error when parameter isn't a directory (#718)
`withFilesAtPaths:` should not write a file when parameter is a directory
2024-09-22 21:29:09 +02:00
Cœur 79bd17278a fix zip creation for file permissions and unicode symlinks (#716) 2024-09-22 21:28:43 +02:00
Cœur 738a6b8bcb Modernizing iOS/tvOS/visionOS/watchOS schemes (#715) 2024-09-16 00:47:21 +02:00
Cœur f2f0b8b9e7 fix warning: Secure coding is automatically enabled for restorable state! (#714) 2024-09-16 00:33:00 +02:00
Cœur b7283bcb7b Add HAVE_ARC4RANDOM_BUF to silence unused rand() warning (#712) 2024-09-16 00:06:10 +02:00
Cœur 7dd4907de1 Moving github actions from macOS 11 to 12 (#713) 2024-09-15 23:54:19 +02:00
Joshua Hudson be6ac340cb Merge pull request #703 from ZipArchive/coeur/visionOS
Adding visionOS
2024-05-05 18:32:04 -07:00
Cœur 7079bd4c54 +Carthage support for visionOS 2024-05-04 05:53:40 +08:00
Cœur b84735b740 Adding visionOS 2024-05-04 05:30:13 +08:00
Cœur 4729af8498 re-fix minizip warnings 2024-05-04 05:06:43 +08:00
Joshua Hudson 65c183b3ca Merge pull request #702 from ZipArchive/coeur/minizip
Upgrade minizip to 3.0.10
2024-05-03 07:43:55 -07:00
Cœur 32c07aa71a Upgrade minizip to 3.0.10 2024-05-03 13:12:16 +08:00
Cœur 47532bf3de updating example Podfile.lock 2023-12-15 20:31:47 +01:00
Joshua Hudson 79d4dc9729 podspec version bump 2.5.5 2023-10-03 12:59:24 -07:00
Joshua Hudson d5e0ed0733 Merge pull request #688 from lakshmankreditbee/privacy_manifest
add privacy manifest as per apple's new guidelines
2023-10-03 11:21:11 -07:00
Sree Lakshman 4369d41467 Add manifest in package.swift and .podspec file 2023-10-03 21:58:24 +05:30
Sree Lakshman 9b6ac75f76 add privacy manifest as per apple's new guidelines 2023-10-01 00:03:04 +05:30
Joshua Hudson 1d2c7b604c Merge pull request #681 from ZipArchive/minizip-3.0.9
Upgrade minizip to 3.0.9
2023-07-24 17:36:48 -07:00
Cœur c1d7f9b4a7 Upgrade minizip to 3.0.9 2023-07-22 21:34:41 +02:00
Cœur 49a22a5474 Fix path traversal for "/.." (#680) 2023-07-22 16:28:25 +02:00
Joshua Hudson b56f8c605a Version bump 2.5.4 2023-02-22 15:09:37 -08:00
Joshua Hudson 81db879ac9 Merge pull request #667 from imihaly/fix/CVE-2022-36943
Ensure that symlinks created during unzip does not escape the target directory. 

Resolves issue: #662 by ensuring that all unpacked symlinks stay within the top-level target directory.
2023-02-22 14:33:24 -08:00
Imre Mihaly 2e97b4d0c1 Ensure that symlinks are not escaping the unpack directory unless the user states it explicitly. 2023-02-20 09:05:36 +01:00
Joshua Hudson 599f998fd5 Update README.md 2022-12-17 09:08:48 -08:00
Joshua Hudson 3016df0730 Upgrade minizip to 3.0.7 2.5.3 2022-12-17 09:03:10 -08:00