1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-08-29 09:50:40 +02:00
Commit Graph

67 Commits

Author SHA1 Message Date
Ne-Lexa
79e77a8c88 fix close container in ZipFile::close() 2020-01-22 16:07:22 +03:00
Ne-Lexa
8dcde47072 Added a new option for extracting unix symlinks.
Added new parameter to get the list of extracted files.
2020-01-22 12:53:16 +03:00
Ne-Lexa
943cf3e777 Fixed problem with cloning a zip container. 2020-01-22 12:48:15 +03:00
Ne-Lexa
5ec656fde4 Implemented the ability to override the instance of ZipContainer.
ZipContainer will be cloned before writing the zip file.
Tested custom ZipWriter, ZipReader, ZipContainer and ZipFile.
2020-01-21 14:13:47 +03:00
Ne-Lexa
8487dac9df zip extra tests, php 32-bit compat 2020-01-14 16:31:22 +03:00
Ne-Lexa
fd1fbf3ad6 fix deprecation use 2020-01-09 17:33:02 +03:00
wapplay
a16b0e7c15 minor fixes, ZipEntry tests 2020-01-06 11:53:17 +03:00
wapplay
70bb598fa6 php5.5 compat 2020-01-04 00:46:07 +03:00
wapplay
75578fd181 fix php 5.5 compat 2020-01-04 00:13:54 +03:00
wapplay
8efbfd67f4 fix php 5.5 compat, fix append stream filter 2020-01-03 23:52:52 +03:00
Ne-Lexa
f377b889b5 solving problems with lack of memory, the new ZipReader and ZipWriter class, adds .phpstorm.meta.php
#13
#16
#27
#31
#41
2019-12-30 18:47:37 +03:00
Ne-Lexa
7cbf992492 fix #42 2019-12-11 15:21:28 +03:00
Ne-Lexa
50015f25f3 fix unknown software version 2019-12-09 12:13:56 +03:00
wapplay
725959d98f fix encryption 2019-12-07 20:16:40 +03:00
wapplay
f82a57e662 fix duplicates 2019-12-07 19:40:36 +03:00
wapplay
a20e9e054d use random_compat 2019-12-06 23:23:44 +03:00
Ne-Lexa
95e3312e60 refactoring zip64, add property softwareVersion, internal attrs, extracted os 2019-12-06 17:36:22 +03:00
Ne-Lexa
e2c058840c fixed for php 32-bit 2019-12-06 12:09:37 +03:00
wapplay
e03c963dc1 refactoring 2019-12-06 08:32:33 +03:00
Ne-Lexa
3bafe01ff0 php cs fix 2019-12-05 19:36:11 +03:00
wapplay
a84d2f9eff fix issue #39 2019-07-25 23:03:28 +03:00
Sébastien Vanvelthem
e903642893 Re-enable support for remote streams, fix #25 2018-11-02 11:53:35 +01:00
wapplay
c9f597308e cs fix 2018-10-21 19:30:45 +03:00
wapplay
837454ba7e Added additional check for correct decompression 2018-10-21 19:25:13 +03:00
wapplay
e4e3a7504e Test streamWrapper extract (issue #24) 2018-10-21 01:54:30 +03:00
wapplay
d8bb1be43b Fix #24 Change fread for variable size reads 2018-10-21 01:32:01 +03:00
Ne-Lexa
7e84f97473 resolve merge conflict 2018-10-11 10:49:53 +03:00
Ne-Lexa
a13f4cc32f Merge branch 'master' into develop
# Conflicts:
#	src/PhpZip/ZipFile.php
#	tests/PhpZip/ZipFileTest.php
2018-10-11 10:39:05 +03:00
Ne-Lexa
c863c18869 Fix #22 Adding links to files, not open handles 2018-10-10 16:53:17 +03:00
wapplay
ad3bac6f96 cp866 to utf8 converter 2018-10-10 10:34:06 +03:00
wapplay
e1866215a6 cs-fix 2018-10-09 10:17:54 +03:00
wapplay
f9e6a73587 PHP-doc updated (@throws added everywhere) and minor refactoring done. 2018-10-09 10:06:04 +03:00
wapplay
9417d7dc95 Merge branch 'patch-1' of https://github.com/litlife/php-zip into litlife-patch-1 2018-10-09 09:55:13 +03:00
MohannadNaj
aa8846b944 Rewording some exceptions messages 2018-05-08 03:40:39 +03:00
Ne-Lexa
6058c289a4 Merge tag '3.1.5' into develop
version 3.1.5
2018-04-25 12:44:40 +03:00
Frederik Buus Sauer
91f08b9f55 Updated composer.json regarding unit tests, and corrected PSR implementation 2018-04-12 11:10:45 +02:00
litlife
8de3a70571 Файлы при записывании в кеш не могут считаться
Привет! Спасибо за такой прекрасный модуль для работы с архивами!
Нашел такой глюк. При превышении размера 524288 файлы записывается в php://temp. При запросе данных из кеша stream_get_contents ничего не выводит. В fopen mode поменял на r+b, что включился режим записи. При запросе данных из stream нужно установить указатель в начало файла, поэтому перед ним вставил функцию rewind($this->entryContent);
2018-04-09 18:09:19 +03:00
Ne-Lexa
e58cf0f337 Merge tag '3.1.3' into develop
Tagging version 3.1.3 3.1.3
2017-12-06 15:43:25 +03:00
Ne-Lexa
aa09b24d02 added an additional test of the encrypted archive 2017-12-06 15:28:17 +03:00
Ne-Lexa
c34f90ac18 fix bug issues #9 2017-12-06 15:09:50 +03:00
Ne-Lexa
fb1a9ced88 Merge tag '3.1.2' into develop
Tagging version 3.1.2 3.1.2
2017-11-17 11:13:15 +03:00
Ne-Lexa
4979829fad Fixed the call array_fill() with the number of elements 0 for PHP 5.5 2017-11-17 11:08:20 +03:00
Ne-Lexa
a3083b821c Changed the algorithm for adding paddings to zipalign.
Now we will use the special field ExtraField c ID 0xD935,
which was implemented by Google in the apksigner library.
Now this field corresponds to the ZIP standard for storing
ExtraField records, and not just filling with zero bytes,
as in the zipalign console utility.
2017-11-17 10:54:22 +03:00
Ne-Lexa
a1da1f0069 Added an event that runs before the archive is saved or output. 2017-11-15 16:24:14 +03:00
Ne-Lexa
ba2e314ca2 Fix resave aligned archive 2017-11-15 10:48:29 +03:00
Ne-Lexa
d32b000855 Rename methods removePassword*() to disableEncryption*() 2017-11-14 14:47:46 +03:00
Ne-Lexa
e62e51efb5 issue #8 - Support inline Content-Disposition and empty output filename. 2017-11-14 14:03:44 +03:00
Ne-Lexa
0d4b101510 Skipped some tests for php 32-bit platform. 2017-11-14 11:28:02 +03:00
wapplay-home-linux
129e69c293 fixed some errors tests for php-32 bit platform 2017-11-14 08:47:25 +03:00
wapplay-home-linux
452c5920dd Add ZipModel for all changes. 2017-11-13 15:33:37 +03:00