Commit Graph

36240 Commits

Author SHA1 Message Date
Nuno Lopes
de57a1f871 cleaning some warnings (char* -> zstr) 2006-10-31 22:13:09 +00:00
Marcus Boerger
d675326a22 - Consistency of apply funcs, #39320 2006-10-31 22:05:56 +00:00
Pierre Joye
ee741531aa - update ext/zip 2006-10-31 19:49:06 +00:00
Pierre Joye
e03046e2fb - mark extractTo as U-ready, path and filenames are now encoded correctly 2006-10-31 19:34:41 +00:00
Marcus Boerger
f7600a7b67 - Fix issue with name mangling 2006-10-31 19:21:03 +00:00
Marcus Boerger
fc84aad474 - Drop some uncompletley synched code, makes it work at least 2006-10-31 19:13:41 +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
Georg Richter
1763eaec25 Fixed function headers (added missing U)
fixed socket parameter (was removed by mistake in a previous commit)
2006-10-31 15:23:16 +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
c48eda9fb3 - update release date 2006-10-31 13:23:44 +00:00
Pierre Joye
7003c17f48 - add comment 2006-10-31 01:47:30 +00:00
b124d3c4b3 ChangeLog update 2006-10-31 01:31:15 +00:00
Pierre Joye
2134c4880c - missing test archive 2006-10-31 00:57:22 +00:00
Pierre Joye
c7e9224471 - nuke flags local variable, it is constant 2006-10-30 23:00:54 +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
Pierre Joye
602f95053a - fix leak in statName and statIndex
- use zip_locate_name instead of zip_stat in setCommentName (faster and
  work around for a possible bug)
2006-10-30 17:28:29 +00:00
Dmitry Stogov
1bf9c4a45d Fixed bug #39304 (Segmentation fault with list unpacking of string offset) 2006-10-30 11:04:47 +00:00
34d0ffd03d ChangeLog update 2006-10-29 01:31:12 +00:00
Antony Dovgal
2ea0fcc651 fix build 2006-10-28 10:42:04 +00:00
Michael Wallner
1025c7f2fa - convert unicode messages to strings
- mark functions unicode safe
- fix test
2006-10-28 09:07:50 +00:00
Michael Wallner
4ca555c0b9 - upgrade to current parameter parsing API
- mark functions unicode safe
2006-10-28 08:48:00 +00:00
26bdf07fbf ChangeLog update 2006-10-28 01:31:08 +00:00
Andrei Zmievski
75c272440e Turn doc comments into zstr strings with corresponding adjustments. 2006-10-27 21:22:05 +00:00
Michael Wallner
60de9952d7 - upgrade ext/sysvshm to current parameter parsing API
- mark functions unicode safe
- add shm_has_var()
2006-10-27 21:18:56 +00:00
Andrei Zmievski
28e7df42db convert_cyr_string() should operate only on binary strings. 2006-10-27 18:14:19 +00:00
Pierre Joye
e8744ca86f - default filter is not string (only comment fix for dave :) 2006-10-27 12:13:28 +00:00
Uwe Schindler
d32cc4e0e4 update readme 2006-10-27 07:29:15 +00:00
Uwe Schindler
fbe7a4f545 Fix build in Sun Webserver 7 2006-10-27 07:22:46 +00:00
fabdfc0550 ChangeLog update 2006-10-27 01:31:13 +00:00
Ilia Alshanetsky
d0923ec834 no more magic quotes 2006-10-27 01:08:16 +00:00
Andrei Zmievski
01ac3f00f8 Unicode support for link functions. 2006-10-26 20:25:45 +00:00
Andrei Zmievski
8f54e61aa5 Oops. 2006-10-26 17:59:53 +00:00
Andrei Zmievski
7b553531af Make url encoding/decoding functions use binary strings only. 2006-10-26 17:33:33 +00:00
Andrei Zmievski
d93ef8d37a Mark syslog functions with U. No upgrading is necessary -- we'll just
use runtime encoding to convert strings.
2006-10-26 17:12:00 +00:00
Antony Dovgal
53d94a9821 fix wrong function prototype (see bug #39260) 2006-10-26 09:28:44 +00:00
5543e6232f ChangeLog update 2006-10-26 01:31:01 +00:00
Andrei Zmievski
30f624003d *** empty log message *** 2006-10-25 20:30:51 +00:00
Andrei Zmievski
66c5317278 Unicode support for get(server|proto)by(name|number) family of funcs. 2006-10-25 20:09:21 +00:00
Andrei Zmievski
205bade673 Unicode support for is_uploaded_file()/move_uploaded_file(). 2006-10-25 18:03:45 +00:00
Andrei Zmievski
bee52acb7d Unicode support for fnmatch(). 2006-10-25 17:28:20 +00:00
Pierre Joye
79904b9b08 - add test for callback with non modified var
- update changelog
2006-10-25 17:23:45 +00:00
Ilia Alshanetsky
cca8f2ded2 Fixed build 2006-10-25 14:04:48 +00:00
Hannes Magnusson
641df597fa Add oneliner descriptions 2006-10-25 12:35:16 +00:00
Hannes Magnusson
f5f54be5c1 Missing RETURN_TRUE inside the PHP_ZIP_SET_FILE_COMMENT macro 2006-10-25 12:32:10 +00:00
Hannes Magnusson
71f4d1fa01 Fix protos 2006-10-25 12:31:12 +00:00
aca45de82a ChangeLog update 2006-10-25 01:31:04 +00:00
Andrei Zmievski
723eb5274e Mark reflection methods as Unicode-compliant (except for FIXME parts). 2006-10-24 17:37:17 +00:00
Andrei Zmievski
fbc37c81af Fix key length calculation. 2006-10-24 15:35:16 +00:00
Ilia Alshanetsky
cba6bfb514 Fixed a bug when callback function returns a non-modified value 2006-10-24 15:06:01 +00:00
Antony Dovgal
d5fbdc689a fix add_u_assoc_null() macro 2006-10-24 12:46:33 +00:00