Commit Graph

67 Commits

Author SHA1 Message Date
Xinchen Hui
fc33f52d8c bump year 2015-01-15 23:27:30 +08:00
Stanislav Malyshev
b7a7b1a624 trailing whitespace removal 2015-01-10 15:07:38 -08:00
Johannes Schlüter
d0cb715373 s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
Anatol Belski
42fca62326 improve empty string check 2014-09-17 09:16:59 +02:00
Remi Collet
f06f4c9254 zip extension version 1.12.4 2014-01-29 14:00:50 +01:00
Xinchen Hui
c081ce628f Bump year 2014-01-03 11:08:10 +08:00
Remi Collet
33ef788abd missing file from libzip 0.11.2 2013-12-30 10:00:02 +01:00
Remi Collet
0a950a0500 Sync with pecl/zip 1.12.4dev
- update bunled libzip to 0.11.2
- expose zip_file_set_external_attributes + zip_file_get_external_attributes
  with new methods:
	ZipArchive::setExternalAttributesName
	ZipArchive::setExternalAttributesIndex
	ZipArchive::getExternalAttributesName
	ZipArchive::getExternalAttributesIndex
2013-12-30 07:35:30 +01:00
Remi Collet
6997b8793d missing 'config.h' in 5dc37b3 2013-11-10 07:10:36 +01:00
Remi Collet
5dc37b3510 Sync ext/zip with pecl/zip version 1.3.2
- update libzip to version 1.11.1. We don't use any private symbol anymore
- new method ZipArchive::setPassword($password)
- add --with-libzip option to build with system libzip
2013-11-04 13:23:36 +01:00
Rasmus Lerdorf
ec2e6951b8 Merge branch 'PHP-5.5'
* PHP-5.5:
  When src->src is null this doesn't get initialized but it is still used, so the passed in *ze will point to unitialized memory. Hopefully src->src is never null, but just in case this initialization doesn't hurt.
2013-10-20 22:18:33 -07:00
Rasmus Lerdorf
2186e1583d When src->src is null this doesn't get initialized
but it is still used, so the passed in *ze will point
to unitialized memory. Hopefully src->src is never
null, but just in case this initialization doesn't hurt.
2013-10-20 22:15:35 -07:00
Michael Wallner
14caf174ff unify stdint type usage
if you need C99 stdint types, just include "php_stdint.h"
2013-08-06 22:49:56 +02:00
Stanislav Malyshev
02e4d7a290 Merge branch 'pull-request/341'
* pull-request/341: (23 commits)
  typofixes
2013-06-10 14:30:59 -07:00
Stanislav Malyshev
ac40c0b562 Merge branch 'pull-request/341'
* pull-request/341: (23 commits)
  typofixes
2013-06-10 14:20:18 -07:00
Anatol Belski
638c4b89b7 Reworked the changes for bug #64452 2013-03-23 20:57:59 +01:00
Anatol Belski
bb935ff8dc Fixed bug #64452 Zip PHPTs crash intermittently 2013-03-20 09:10:10 +01:00
Anatoliy Belsky
d3780f1f90 Reverted the BC fix regarding to #57905, test adopted
New 0.10.1 has a stronger archive integrity check. Restoring
the old behaviour of libzip < 0.10.1 makes no sense at this
place.
2012-06-17 16:04:36 +02:00
Anatoliy Belsky
bde0e8c2a1 zip windows fixes 2012-06-07 21:01:32 +02:00
Anatoliy Belsky
8ca457f64d fixed bc break related to #57905 2012-06-07 21:01:32 +02:00
Anatoliy Belsky
e883892664 fixed a bit overlooked from the last libzip port 2012-06-07 21:01:32 +02:00
Anatoliy Belsky
b8cdc731b8 brought the fix for #47667 back 2012-06-07 21:01:32 +02:00
Anatoliy Belsky
f4a44f18b8 rechecked the merged libzip, took also the indents from the original to
avoid confusion next time
2012-06-07 21:01:31 +02:00
Anatoliy Belsky
a39bcfc5ee fixed a double freeing crash 2012-06-07 21:01:31 +02:00
Anatoliy Belsky
9a2365412e fixed header include 2012-06-07 21:01:31 +02:00
Anatoliy Belsky
335a11b14b initial libzip upgrade patch to 0.10.1 2012-06-07 21:01:31 +02:00
Stanislav Malyshev
4a2b458835 fix bug 53885 (ZipArchive segfault with FL_UNCHANGED on empty archive) 2011-01-30 22:28:57 +00:00
Gustavo André dos Santos Lopes
2070f153f9 - Fixed bug #53568 (swapped memset arguments in struct initialization). 2010-12-17 23:05:26 +00:00
Pierre Joye
a6c3ac1016 - missing patch (update to 0.9.3) 2010-02-01 21:20:07 +00:00
Pierre Joye
3ef47217d7 - update to 0.9.3 2010-02-01 20:56:03 +00:00
Pierre Joye
a28a91cc0c - fix leak 2010-02-01 18:58:42 +00:00
Pierre Joye
33a93474df - fixed bug #49072, feof never returns true for damaged file in zip 2009-08-11 15:12:00 +00:00
Pierre Joye
38bb4c1099 - MFB: Fix #48763, create corrupt archive 2009-07-19 15:32:09 +00:00
Pierre Joye
f031901b1b - WS 2009-07-19 15:20:48 +00:00
Mikko Koppanen
5645de756d Closes bug #47667 2009-03-16 10:19:43 +00:00
Pierre Joye
206a7cef30 - year++ 2009-01-02 00:39:14 +00:00
Pierre Joye
d00fb8b360 - MFB: restore overwrite feature (regression introduced in 5.2.8) 2009-01-02 00:07:57 +00:00
Pierre Joye
14f2f4148c - MFB: restore fix for binary mode on win (regression introduced in 5.2.8) 2009-01-02 00:04:33 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
a94cd6d54f - MFH: Fixed a macro redefinition on BSD for different purpose 2008-11-12 23:38:02 +00:00
Pierre Joye
490a342205 - MFH: update to 0.9 (torrentzip support, files open only when necessary), windows fixes 2008-08-07 23:24:11 +00:00
Jani Taskinen
b17dc14f18 MFH: nuketh C++ comments 2008-08-03 12:15:55 +00:00
Pierre Joye
b734bf4b97 - sync with PECL HEAD 2008-05-21 09:27:41 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Greg Beaver
a0624708c7 MFH: fix windows build for all cases, and always export symbols (Steph Fox) 2008-01-14 03:16:08 +00:00
Greg Beaver
42ef796add MFH: add missing define for statically-built zip ext 2008-01-13 23:37:41 +00:00
Greg Beaver
ccc0d6e32b a few fixes: overwrite all my careful work in zipint_alias.h with zipint.h, so had to restore that.
PHP_RAW_NAMED_FE() won't work, have to use ZEND_RAW_FENTRY
2008-01-13 06:22:27 +00:00
Greg Beaver
c896933b7c MFH: alias all zip identifiers to avoid potential name conflicts with other apache libs that may export zip symbols 2008-01-13 06:02:30 +00:00
Greg Beaver
f76eac59c0 MFH: export symbols for use by other extensions like phar 2008-01-12 03:48:39 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00