Anatoliy Belsky
92153dcfe3
Added test for bug #51353 . It'll be skipped by default and must be
...
activated manually.
2012-08-21 13:22:00 +02: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
Hannes Magnusson
a6c07ae0d3
Fix cleanup routines
2011-09-07 12:05:19 +00:00
Shein Alexey
920fa567bd
Removed old (< 5.3) version of test and cleaned up the actual version.
2011-09-02 17:41:39 +00:00
Pierre Joye
5b521b71a2
- Fixed bug #53893 (Wrong return value for ZipArchive::extractTo())
2011-02-07 16:20:16 +00:00
Stanislav Malyshev
4a2b458835
fix bug 53885 (ZipArchive segfault with FL_UNCHANGED on empty archive)
2011-01-30 22:28:57 +00:00
Felipe Pena
b45066df97
- Fixed bug #53867 (Test failure)
...
patch by: rquadling at php.net
2011-01-28 20:41:54 +00:00
Adam Harvey
d56de24ce7
Fixed bug #53854 (Missing constants for compression type). Patch by Richard
...
Quadling.
2011-01-28 04:19:40 +00:00
Adam Harvey
7ac71b4f7f
Fix zip test.
2011-01-28 03:55:34 +00:00
Hannes Magnusson
ac216eb88c
New test for stream_meta_data($zipstream)
2010-12-30 17:41:36 +00:00
Gustavo André dos Santos Lopes
e7d5c4a8fd
- Fixed bug #53603 (ZipArchive should quiet stat errors).
...
#It is unclear if url_stat handlers should emit a warning in case
#PHP_STREAM_URL_STAT_QUIET is not specified and the resource does
#not exist. Most url_stat handlers never emit messages; the plain
#one does only so in the extraordinary event of an open_basedir
#restriction.
#But in case, php_stat uses PHP_STREAM_URL_STAT_QUIET for the
#FS_EXISTS, which suggests that mere checks on file existence are
#supposed to use this flag (arguably).
#The downside is that important diagnostic messages might be
#omitted.
2010-12-24 22:38:36 +00:00
Hannes Magnusson
3ce18aa852
Fixed bug#53579 (stream_get_contents() segfaults on ziparchive streams)
...
Also added the filename being access to the stream_get_meta_data() array
2010-12-20 11:00:27 +00:00
Pierre Joye
fa197ab9cc
- fix test
2010-02-01 19:30:32 +00:00
Zoe Slattery
4cc35aeaaf
The last of the 2009 testfest tests
2009-08-30 18:18:50 +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
Mikko Koppanen
5645de756d
Closes bug #47667
2009-03-16 10:19:43 +00:00
Antony Dovgal
7478ceada3
fix tests
2009-01-08 22:03:32 +00:00
Felipe Pena
cd0a8efe41
- Fix test
2008-11-12 17:16:51 +00:00
Pierre Joye
b9853c4ff0
- MFH:
...
- #14962 , makes extractTo 2nd argument really optional
- replace ZEND_ENGINE_2_1 by PHP_ZIP_USE_OO
2008-11-12 11:41:21 +00:00
Pierre Joye
7102449f76
- sync tests with pecl
2008-11-04 13:24:39 +00:00
Pierre Joye
10d0029dce
- MFH: file will exist only on error (thx tony for the headup)
2008-08-30 23:55:04 +00:00
Pierre Joye
820c2002e4
- fix tests (clean on exit)
2008-08-30 16:24:33 +00:00
Pierre Joye
b734bf4b97
- sync with PECL HEAD
2008-05-21 09:27:41 +00:00
Antony Dovgal
bb2e67aa75
fix test
2007-11-19 11:12:30 +00:00
Antony Dovgal
984842e321
fix test
2007-11-08 10:03:52 +00:00
Antony Dovgal
afed25d648
MFH
2007-08-13 12:46:40 +00:00
Hannes Magnusson
d937ffa999
Fix test
2007-08-06 23:35:46 +00:00
Hannes Magnusson
42e003cd6c
MFH: - Fix isset/empty($ZipArchive->property)
...
MFH: - Add test
2007-08-06 22:02:32 +00:00
Pierre Joye
d5d2d6e30e
- pecl bug #11216 , better fix, leak removed and improved test
...
- typo in news, better late than never (-d)
2007-06-03 21:21:57 +00:00
Pierre Joye
fd2e66bd05
- PECL #11216 test
2007-06-03 19:50:36 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
Pierre Joye
4f5303ab92
- add more cases for getComment
2007-03-14 11:02:29 +00:00
Pierre Joye
601a77b3a3
- #40228 , ZipArchive::extractTo does create empty directories
...
recursively
2007-01-29 15:25:06 +00:00
Hannes Magnusson
cf64728899
renamed to oo_getcomment.phpt
2006-11-16 08:52:15 +00:00
Pierre Joye
426dce9ce3
- mv oo_get_comment.phpt oo_getcomment.phpt
2006-11-15 23:53:46 +00:00
Pierre Joye
8ad0c6d543
- MFH:
...
- fix possible leak in statName and statIndex
- add addEmptyDir() method
- add zip_stat_init,zip_clear_error and zip_file_clear_error
- add tests
- Fix protos (Hannes)
- setComment return value on success (Hannes)
2006-11-03 16:46:19 +00:00
Hannes Magnusson
e94670d4d6
MFH tests
2006-10-09 16:02:34 +00:00
Antony Dovgal
9d0f642689
fix tests
2006-10-02 14:31:04 +00:00
Hannes Magnusson
8acdfd223f
Rename utils.php to utils.inc
2006-10-02 14:17:47 +00:00
Antony Dovgal
cd7f3a786d
add test
2006-09-25 08:45:08 +00:00
Pierre Joye
85985ad895
- #38943 , properties in extended class cannot be set
...
- use zend_object_std_init instead of a manual initialisation
2006-09-24 22:27:57 +00:00
Pierre Joye
a0aabccac6
- MFH: PECL Bug #8700 , zipArchive::getFromIndex() fails
2006-09-15 12:12:25 +00:00
Pierre Joye
284ce40c4a
- MFH: locateName should not change the state/error, can be used to test
...
an entry
2006-08-13 23:43:11 +00:00
SVN Migration
664d102aa6
This commit was manufactured by cvs2svn to create branch 'PHP_5_2'.
2006-07-24 16:58:59 +00:00
Sterling Hughes
2d64d3aff5
pecl
2003-05-17 14:37:28 +00:00
Sterling Hughes
ea0f4078b5
@ Renamed the ZZiplib extension to the Zip extension, function
...
@ names have also changed accordingly, functionality, has stayed
@ constant. (Sterling)
2001-05-27 02:49:46 +00:00