Commit Graph

73 Commits

Author SHA1 Message Date
Nuno Lopes
d6802e1022 statification of local functions and variables.
also remove a few uneeded global variables
interesting new warnings:
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:391: warning: 'xmlwriter_objects_clone' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1281: warning: 'zif_xmlwriter_start_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1325: warning: 'zif_xmlwriter_end_dtd_entity' defined but not used
/cvs/php5/ext/xmlwriter/php_xmlwriter.c:1333: warning: 'zif_xmlwriter_write_dtd_entity' defined but not used
2006-11-09 16:04:34 +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
Pierre Joye
07b62da9f4 - #38944, freshly created archive has no comment or cdir 2006-09-25 09:00:16 +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
bb2d53e768 - PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH,
it now uses expand_filepath
2006-09-12 12:02:49 +00:00
Pierre Joye
3f0f73beba - bump version, 5.2.0 will have zip-2.0.0-stable 2006-09-06 17:38:36 +00:00
Pierre Joye
e85a378770 - wrong cast, strlen is int 2006-09-06 17:24:41 +00:00
Nuno Lopes
eee95ef3f0 MFH zend_parse_parameters() fixes 2006-09-06 15:19:41 +00:00
Pierre Joye
ad58ad265b - MFH: zip_open takes only one parameter (Thx Nuno L.) 2006-09-06 13:03:55 +00:00
Pierre Joye
46ce362ff3 - don't rely/use VCWD_REALPATH, use expand_filepath instead
NB: that'd to be true for all this VCWD mess
2006-08-26 12:23:43 +00:00
Pierre Joye
8e54de1d77 - bundled matches pecl 1.7.1 2006-08-25 16:03:00 +00:00
Pierre Joye
5c8533aa76 - solve the relative path issues in TS environment 2006-08-24 16:37:14 +00:00
Pierre Joye
4b7358e4e5 - nuke unused parameter (not present in old versions) 2006-08-14 15:07:52 +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
Pierre Joye
8d07735332 - MFP:
- add overwrite mode to ZipArchive::open, always starts a new archive
 - Fix safe mode checks on extract
 - Fix possible leaks when a safe mode error has been raised
2006-08-13 21:09:59 +00:00
Pierre Joye
0587fb32ba - remove package.xml, not needed in php-src but only in pecl 2006-08-13 20:27:07 +00:00
Pierre Joye
a5b359096c - MFH: remove dl() usage 2006-08-13 19:34:40 +00:00
Pierre Joye
32f20cc217 - MFH: remove dl() usage 2006-08-13 19:24:17 +00:00
Pierre Joye
9d26a88c3d - temp fix for a segfault happening when one adds two entries with
the same name
2006-08-13 00:52:59 +00:00
Pierre Joye
d1ad062be8 - MFH: NL 2006-08-12 17:05:08 +00:00
Pierre Joye
f6b6f0a2f9 - should not have been commited 2006-08-07 20:28:03 +00:00
Ilia Alshanetsky
3a78dce032 Cleanup phpinfo() output 2006-07-28 13:59:06 +00:00
Ilia Alshanetsky
b0ea656129 Fixed compiler warnings. 2006-07-27 00:36:55 +00:00
Pierre Joye
53d297a7ea - this one was not in 2006-07-24 17:26:24 +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
David Hill
5c90216d2c 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
Ilia Alshanetsky
b566ad5d1b Changed php_error to php_error_docref. 2003-01-18 19:20:02 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Wez Furlong
58210f9232 Centralize fopencookie test 2002-12-09 18:29:07 +00:00
foobar
258177fafa Fix the phpize build 2002-10-17 05:06:53 +00:00
foobar
fcfa4ea62f Part 1 of fixing the shared build 2002-10-17 04:42:22 +00:00
Markus Fischer
601cf3690c - Add safe_mode/uid and open_basedir check to zip_open() (closes #16927). 2002-05-20 18:33:08 +00:00
Edin Kadribasic
cfd594e0ee Made ZIP extension available on Windows.
@- Made ZIP extension available on Windows. (Edin)
2002-05-11 02:12:44 +00:00
Derick Rethans
069d83c68a - Fix null-termination problem 2002-04-14 08:49:57 +00:00
Derick Rethans
d449021900 - Fix zzip_entry_read 2002-04-06 17:28:58 +00:00
Sascha Schumann
5cba3a99c2 extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed 2002-03-12 16:44:00 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Derick Rethans
b498ec567c - Fix for bug 14554 - segfault upon zip_entry_open. (patch by
phpbug@robin.pfft.net)
2001-12-23 01:59:10 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Hartmut Holzgraefe
e3fdc42dfa proto fixes 2001-12-04 22:46:06 +00:00
foobar
f1397d5339 Unified the configure messages. 2001-11-30 19:00:13 +00:00
foobar
7e88a009d2 Fixed bug: #13652 2001-10-13 15:06:14 +00:00
Sterling Hughes
cdc5600880 revert removal of zend_parse_parameters and properly use
zend_parse_parameters (ie zval * instead of zval **).
2001-10-12 19:16:39 +00:00
Sterling Hughes
ce6dde342b fix segv's, zend_parse_parameters seems not to be able to handle
resources.

# emacs is cool
2001-10-12 15:07:05 +00:00