Commit Graph

26 Commits

Author SHA1 Message Date
Pierre Joye
b72e3ea622 - file will exist only on error (thx tony for the headup) 2008-08-30 23:54:46 +00:00
Pierre Joye
f5d909c30c - MFB: fix test (clean on exit) 2008-08-30 16:26:11 +00:00
Felipe Pena
77080b64d9 - Removed UEXPECT(F) 2008-05-27 02:55:52 +00:00
Antony Dovgal
f5ae1787b2 fix test broken by Sara's commit 2007-11-19 11:12:21 +00:00
Antony Dovgal
d43c8ad4eb make sure the temp file is closed before removing it 2007-08-13 12:46:34 +00:00
Hannes Magnusson
330797ea73 - Fix isset/empty($ZipArchive->property)
- Add test
2007-08-06 21:59:11 +00:00
Antony Dovgal
8464268a3f fix test 2007-07-18 13:54:30 +00:00
Pierre Joye
c4bff4d756 - MFB: PECL #11216, addEmptyDir crashes if the directory already exists 2007-06-03 21:30:12 +00:00
Antony Dovgal
8d9be0338b fix test names 2007-05-07 16:50:40 +00:00
Pierre Joye
1a78358460 - MFB: #40228, ZipArchive::extractTo does create empty directories
recursively
2007-01-29 16:01:55 +00:00
Pierre Joye
2378a0f4d0 - add simple test for addEmptyDir() 2006-11-01 19:56:53 +00:00
Pierre Joye
9fecf3eea5 - fix possible leak in addFile when an unicode filename is given
- Mark getStream as Unicode ready, the tests was wrong
  $unistring .= fread($fpbinary); $unistring remains as unicode.
2006-10-31 19:03:57 +00:00
Pierre Joye
945f4cdfc4 - initial unicode support
. entry names will be converted to ascii. zip works with cp437
   when 7zip support will be added, unicode string will be supported
 . path and filenames are now encoded using php_stream_path_param_encode
   if the filename/path is used as entry name, it is converted to ascii
 . the stream (getStream and zip://) needs some tweak. I'm not sure if it
   should return unicode or binary, neither how to change the default. For
   now it returns unicode (seems to be the default :)
comments/suggestions welcome
2006-10-31 14:27:09 +00:00
Pierre Joye
7003c17f48 - add comment 2006-10-31 01:47:30 +00:00
Pierre Joye
2134c4880c - missing test archive 2006-10-31 00:57:22 +00:00
Pierre Joye
646396c935 - add tests for extractTo, set/getComment and stream and zip_entry_close 2006-10-30 17:43:21 +00:00
Antony Dovgal
6c15a9cbc4 fix tests 2006-10-02 14:31:32 +00:00
Hannes Magnusson
86ac8a4b14 Rename utils.php to utils.inc 2006-10-02 14:17:42 +00:00
Pierre Joye
c5108cf86d - fix test, php6 displays the class
- mv 38943.phpt to bug38943.phpt
2006-09-25 09:17:56 +00:00
Antony Dovgal
0fcfad3e5d add test 2006-09-25 08:44:58 +00:00
Pierre Joye
0a853d04f3 - #38943, properties in extended class cannot be set
- use zend_object_std_init instead of a manual initialisation
2006-09-24 22:27:20 +00:00
Pierre Joye
a072c66184 - PECL Bug #8700, zipArchive::getFromIndex() fails 2006-09-15 12:10:50 +00:00
Pierre Joye
65c16fdbeb - locateName should not change the state/error, can be used to test
an entry
2006-08-13 23:39:57 +00:00
Pierre Joye
719447d3b6 - reimport (cannot symlink without replacing 4.4 and 5.0 versions) 2006-07-24 16:58:58 +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