Commit Graph

19621 Commits

Author SHA1 Message Date
Antony Dovgal
b198d2d028 fix test on Solaris 2006-11-20 16:28:14 +00:00
Antony Dovgal
7032c7dddf efree() if not NULL 2006-11-20 11:12:35 +00:00
Nuno Lopes
d12df980e5 MFB 2006-11-19 18:38:11 +00:00
Ilia Alshanetsky
75f45d8458 MFB: pack()/unpack() tests 2006-11-19 18:31:22 +00:00
Ilia Alshanetsky
316e7a5b2d MFB: Fixed bug #38770 (unpack() broken with longs on 64 bit machines). 2006-11-19 18:21:50 +00:00
Georg Richter
cdd3e8be92 added testcases for ext/mysql (written by Ulf Wendel) 2006-11-19 12:14:44 +00:00
Georg Richter
317564fc1a added unicode support for ext/mysql 2006-11-19 12:10:19 +00:00
Andrei Zmievski
97270f4e75 Use u_memcpy() instead of memcpy(). 2006-11-17 16:45:28 +00:00
Andrei Zmievski
b1d83fec6b Fix memory leaks and segfault. 2006-11-17 16:44:23 +00:00
Michael Wallner
63f4d8e08b - return domain in FS encoding
- use ZSTR_DUPLICATE
2006-11-17 13:37:02 +00:00
Dmitry Stogov
a563332ee4 COM initialization/deinitialization are done only if necessary 2006-11-17 11:41:13 +00:00
Dmitry Stogov
57d22421db Unicode support.
Now the real UG(unicode) value is available during MINIT calls.
2006-11-17 10:48:53 +00:00
Derick Rethans
7e56771f94 - Add the strtr implementation for unicode for the case where there are
characters with a code point value >= 256.
2006-11-16 20:33:44 +00:00
Ilia Alshanetsky
56742f85a5 MFB: fixed compiler warnings 2006-11-16 17:34:42 +00:00
Antony Dovgal
c41f14297c fix tests (add missing SKIPIF sections and a fix for FreeBSD) 2006-11-16 13:49:01 +00:00
Michael Wallner
d10aa39ce4 - fix protos 2006-11-16 13:36:03 +00:00
Antony Dovgal
107229611b more new tests, yikes! 2006-11-16 13:00:03 +00:00
Michael Wallner
c535fc7a32 - unicode upgrade
- fix typo: ENIGNA->ENIGMA
- add and fix tests
2006-11-15 22:51:45 +00:00
Antony Dovgal
0ca02684c1 fix array_key_exists() with NULL key in Unicode mode 2006-11-15 22:43:19 +00:00
Antony Dovgal
1063fa6a90 add new tests 2006-11-15 22:42:28 +00:00
Antony Dovgal
37754b437f fix memory leak and typo in zend_parse_parameters(), which caused segfault
add test
2006-11-15 22:09:25 +00:00
Ilia Alshanetsky
0252643b32 MFB: Fixed bug #37773 (iconv_substr() gives "Unknown error" when string
length = 1").
2006-11-15 18:35:18 +00:00
Antony Dovgal
7c08c95070 fix leak appearing when converting object to NULL
add test
2006-11-15 17:28:56 +00:00
Antony Dovgal
bbc854a4bd add new tests 2006-11-15 17:26:54 +00:00
Michael Wallner
e4ddb2421a - unicode upgrade
- use current parameter parsing API
- added keygen constants
- Added keygen functions: mhash_keygen_count, mhash_get_keygen_name,
  mhash_keygen_uses_hash, mhash_keygen_uses_salt, mhash_get_keygen_salt_size,
  mhash_keygen
2006-11-15 17:16:04 +00:00
Michael Wallner
ea6a9ff145 - unicode upgrade
# as setlocale() throws an E_STRICT deprecated warning, I guess we'll
  see ICU message catalogue support?
2006-11-15 17:14:50 +00:00
Rob Richards
a4cc7057f8 mark more functions unicode compatible 2006-11-15 12:27:32 +00:00
Antony Dovgal
a92ccf9ab1 fix test on AIX 2006-11-15 12:11:07 +00:00
Rob Richards
19da4e2df9 add unicode support so Andrei finally stops asking me about it
update tests
2006-11-15 12:08:12 +00:00
Antony Dovgal
f9847c0d0e fix test 2006-11-15 11:27:10 +00:00
Antony Dovgal
af43feda28 fix test 2006-11-15 10:48:30 +00:00
Antony Dovgal
f9d4063fed one more test 2006-11-14 22:23:23 +00:00
Antony Dovgal
41bb09b30d add new tests 2006-11-14 21:59:02 +00:00
Edin Kadribasic
05a3c2a14b MFB: Tell linker that we're using stati libcurl 2006-11-14 19:57:35 +00:00
Derick Rethans
3a659a6a05 - No idea if we actually support 16 bit systems, but this just looked wrong 2006-11-14 14:41:09 +00:00
Ilia Alshanetsky
cae55a69eb MFB: Fixed bug #36812 (pg_execute() modifies input array). 2006-11-13 22:11:02 +00:00
Rob Richards
2888ebde73 Fixed bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag,
not enity). (Hannes Magnusson)
add test
2006-11-13 20:47:52 +00:00
Antony Dovgal
c7fd59af0f don't forget to close the stream when/if flock() fails 2006-11-13 20:31:15 +00:00
Antony Dovgal
49a2ae60d0 fix leaks in get_meta_tags() when used with b0rked HTML
add test
2006-11-13 20:17:05 +00:00
Antony Dovgal
6a7f43cfa0 improve the fix and the test 2006-11-13 19:32:43 +00:00
Ilia Alshanetsky
a65efab679 MFB: php_splice() optimization 2006-11-13 15:34:49 +00:00
Ilia Alshanetsky
79a3667ef3 MFB: Fixed bug #36644 (possible crash in variant_date_from_timestamp()). 2006-11-13 15:33:40 +00:00
Antony Dovgal
2bbda84c5f actually copy input to return_value
input is a local var, you can't use it this way
2006-11-13 14:59:47 +00:00
Antony Dovgal
93bb912107 new test 2006-11-13 14:50:55 +00:00
Antony Dovgal
d3c4b8ca80 add a note that libxml2 2.6.2x is required 2006-11-13 12:53:50 +00:00
Antony Dovgal
17abea2ede fix compile warning 2006-11-13 12:49:18 +00:00
Hannes Magnusson
14c48cb50b MFB: add missing headers 2006-11-12 19:01:33 +00:00
Ilia Alshanetsky
b1a4e9c49a MFB: updated generated file 2006-11-12 17:56:50 +00:00
Marcus Boerger
61b3ee59fd - Optimize SPL directory stuff by making iterator part of object 2006-11-12 17:56:14 +00:00
Marcus Boerger
28af3ea8a7 - Update test after SPL change 2006-11-12 17:55:39 +00:00
Ilia Alshanetsky
aa3222a342 MFB: Fixed a memory leak when named & positional params are being used in
the same query.
2006-11-12 17:49:52 +00:00
Marcus Boerger
a289a0d435 - Fix memleaks 2006-11-12 17:37:51 +00:00
Hannes Magnusson
b1b8dcfd42 SplFileObject no longer overwrites getFilename() 2006-11-12 17:34:28 +00:00
Hannes Magnusson
d98dfdb119 SplFileObject::getFilename() should not overwrite SplFileInfo::getFilename()
(Fixes bug where SplFileObject::getFilename() returns relative/path/to/file)
2006-11-12 17:08:45 +00:00
Marcus Boerger
74420e6be6 - Correct comments 2006-11-12 15:58:05 +00:00
Hannes Magnusson
6d22129d9b Fixed bug#36975 (natcasesort() causes array_pop() to misbehave) 2006-11-12 01:11:58 +00:00
Nuno Lopes
bcdfb60c51 MFB: fix leak in oo_stream.phpt 2006-11-12 00:41:41 +00:00
Nuno Lopes
d21a598f61 MFB: fix leak in the object destrucotr when zip_close() fails (fixes oo_delete.phpt) 2006-11-12 00:31:37 +00:00
Nuno Lopes
cff4fd1eae MFB: fix leaks within zip entries in several tests 2006-11-11 23:43:40 +00:00
Nuno Lopes
d34fc386ba MFB :fix leak in oo_setArchiveComment.phpt 2006-11-11 23:36:52 +00:00
Nuno Lopes
a72df3dc05 MFB 2006-11-10 23:27:31 +00:00
Antony Dovgal
b616c7ffee fix type mess (thanks again, Chris) 2006-11-10 23:03:23 +00:00
Antony Dovgal
86a8604a81 fix build with old client versions 2006-11-10 21:57:04 +00:00
Antony Dovgal
869aa78e1e MFB 2006-11-10 21:55:05 +00:00
Nuno Lopes
80507d62ea MFB 2006-11-10 18:05:58 +00:00
Nuno Lopes
3cc8329e12 MFB 2006-11-10 17:32:42 +00:00
Antony Dovgal
d99f05f1a2 add _not yet 100% complete_ Unicode support
collections, statements and BLOBs seem to be working ok
though there are still some things to be done in order to make oci_bind_array_by_name() work with U-strings

Notes:
- in Unicode mode OCI8 always speaks to Oracle server using UTF-16, so all the conversions are done by the client lib.
This is why character set parameter of oci_connect() and NLS_LANG are ignored in U-mode.

- BLOBs and CLOBs behave quite differently in U-mode.
Reading data from a CLOB would result in Unicode string, while BLOBs would return binary string.
Also, all LOB utilities work with _bytes_ when BLOB is used and _characters_ when it's CLOB.
It's not that obvious, but it does make a lot of sense to me.
2006-11-10 16:56:19 +00:00
Antony Dovgal
974b0ad2cd fix segfault in ZTS mode when statements containing sub-statements are destroyed in wrong order 2006-11-10 16:33:28 +00:00
Dmitry Stogov
ea40c01459 Fixed bug #39454 (Returning a SOAP array segfaults PHP) 2006-11-10 15:05:38 +00:00
Dmitry Stogov
7479d1d67e Intialization code is moved from request startup to module startup 2006-11-10 12:02:22 +00:00
Andrei Zmievski
2d40fd328d Allow mixing Unicode/binary string types. 2006-11-10 12:01:50 +00:00
Dmitry Stogov
768185e58f Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:40 +00:00
Dmitry Stogov
afe251ab8d Faster and better licensed implementation 2006-11-10 10:11:05 +00:00
Dmitry Stogov
dc34d34230 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:37 +00:00
Ilia Alshanetsky
d675fcb888 MFB: Fixed pecl bug #9179 (phpversion("filter") shows wrong version). 2006-11-10 01:08:52 +00:00
Hannes Magnusson
3cd6518f39 Enable xmlwriter_start_dtd_entity(), xmlwriter_end_dtd_entity() & xmlwriter_write_dtd_entity() 2006-11-09 20:02:23 +00:00
Ilia Alshanetsky
26fb0b51b5 MFB: Added missing PHPAPI declaration 2006-11-09 20:02:08 +00:00
Nuno Lopes
9b04c0d407 MFB: fix test 2006-11-09 16:38:55 +00:00
Nuno Lopes
667f469349 MFB: fix possible segfault 2006-11-09 16:34:00 +00:00
Nuno Lopes
3717adbbd9 MFB: static'fication 2006-11-09 16:18:28 +00:00
Frank M. Kromann
d774a429d6 MFB 5_2:
Revert patch for warnings about missing headers. These are fixed in the latest version of libming.
Sync code for SWFMovie::streamMP3. This function will now return the number of frames in the file.
2006-11-09 09:24:18 +00:00
Dmitry Stogov
edad4f460c Fixed tests 2006-11-09 08:29:37 +00:00
Antony Dovgal
3fb2cb298b fix more tests 2006-11-09 01:16:48 +00:00
Antony Dovgal
a6132def32 fix test 2006-11-09 01:07:31 +00:00
Antony Dovgal
8c5c0ce29c fix test and prevent endless loop 2006-11-09 00:33:54 +00:00
Dmitry Stogov
6cb3fad99b Fixed bug #38536 (SOAP returns an array of values instead of an object) 2006-11-08 10:05:33 +00:00
Ilia Alshanetsky
1d1c68b728 1.0.4 2006-11-07 21:45:20 +00:00
Ilia Alshanetsky
d3ed72e0ce Improved mime magic file detection
# Patch from BSD ports
2006-11-07 21:28:23 +00:00
Ilia Alshanetsky
0b785996cf Fixed pecl bug #6284 2006-11-07 21:18:51 +00:00
Ilia Alshanetsky
7ebb315ea9 MFB: fixed tests 2006-11-07 20:26:35 +00:00
Ilia Alshanetsky
b38a50bb4f MFB: Fixed bug #39398 (Booleans are not automatically translated to
integers).
2006-11-07 17:57:37 +00:00
Johannes Schlüter
70eac43346 - No C++ comments (fix #39414) 2006-11-07 15:17:42 +00:00
Hannes Magnusson
d634bee086 Fix arginfo 2006-11-06 23:19:46 +00:00
Andrei Zmievski
dc5f913920 Unicode support in entities/special chars funcs. See the NOTE at the
top.
2006-11-06 21:45:49 +00:00
Dmitry Stogov
ae2fc4c4ab Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client) 2006-11-06 16:36:54 +00:00
Hannes Magnusson
859449b3a0 Enable the new 5th parameter 2006-11-06 16:33:31 +00:00
Hannes Magnusson
62003ce506 Throw exception on invalid parameters in DateTime::__construct()
#makes sure the object doesnt get initialized with bogus parameters
2006-11-06 16:10:33 +00:00
Hannes Magnusson
d8895dd81d Fix segfault on $splinfo->openFile()->getPath()
Improve test
2006-11-06 15:20:23 +00:00
Dmitry Stogov
a5e8f02f0e Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN(). 2006-11-06 14:55:14 +00:00
Rasmus Lerdorf
4ee758a8e0 data: and php:stdin/input allow_url_include checks 2006-11-05 20:44:52 +00:00
Ilia Alshanetsky
421e5687e3 MFB: Fixed bug #39362 (Added an option to imap_open/imap_reopen to control
the number of connection retries).
2006-11-05 18:32:41 +00:00
Pierre Joye
4f2e67121d - MFH: Merge from gd-cvs, initialize the signature not the infile ctx 2006-11-05 15:06:50 +00:00
Marcus Boerger
733ba50788 - Make parameter parsing api check happy 2006-11-04 20:46:21 +00:00
Marcus Boerger
50514b8202 - Store length of autoload file exts 2006-11-04 20:22:29 +00:00
Marcus Boerger
b605d4eb3d - Mark some funcs as unicode ready 2006-11-04 20:12:26 +00:00
Frank M. Kromann
af741730f4 Fix win32 build 2006-11-04 17:25:37 +00:00
Pierre Joye
20f1d35048 - Fixed filter argument for imagepng in gdImagePngEx 2006-11-04 14:34:04 +00:00
Pierre Joye
75f4f96203 - MFB: vim folding 2006-11-04 14:32:23 +00:00
Pierre Joye
c25d7f249a - MFB: silent compiler warnings 2006-11-04 14:29:00 +00:00
Pierre Joye
5334153117 - ws 2006-11-04 14:22:23 +00:00
Pierre Joye
3475bd62e0 - #39366, imagerotate does not use alpha with angles>45 2006-11-04 03:12:36 +00:00
Pierre Joye
799e6c0e98 - MFB: #39273, imagecopyresized and alpha channel 2006-11-04 02:23:45 +00:00
Ilia Alshanetsky
54bd0e5067 Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to
php_filter.h)
2006-11-03 20:08:54 +00:00
Ilia Alshanetsky
fab0dd3b66 MFB: Fixed bug #39361 (Removed warning on empty haystack inside mb_strstr()). 2006-11-03 19:56:07 +00:00
Marcus Boerger
b24dd998e6 - Include new headers only if present 2006-11-03 18:57:37 +00:00
Pierre Joye
6b0966c2a7 - _zip_error_clear declaration
- WS
2006-11-03 16:34:44 +00:00
Pierre Joye
d57e692624 - fix protos 2006-11-03 16:23:12 +00:00
Ilia Alshanetsky
0311ffef1f MFB: Fixed bug #39354 (Allow building of curl extension against libcurl
7.16.0)
2006-11-03 14:53:27 +00:00
Hannes Magnusson
5e9c0be4f8 Remove SKIPIF 2006-11-03 14:17:17 +00:00
Hannes Magnusson
7fb679aae2 CS fix 2006-11-03 14:08:11 +00:00
Hannes Magnusson
def4975380 Add missing includes 2006-11-03 14:06:34 +00:00
Ilia Alshanetsky
ec83b46bf9 MFB: Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr). 2006-11-03 13:34:39 +00:00
Ilia Alshanetsky
b0f8e77d17 Fixed bug #39265 (Fixed path handling inside mod_files.sh)
# Patch by michal dot taborsky at gmail dot com
2006-11-03 13:18:19 +00:00
Pierre Joye
2378a0f4d0 - add simple test for addEmptyDir() 2006-11-01 19:56:53 +00:00
Nuno Lopes
15731bf29a convert a few more functions 2006-11-01 18:55:02 +00:00
Nuno Lopes
1fbbf4b050 start converting the tidy and tidyNode objects to be Unicode aware
I added a converter pointer per node, so that the text can be converted to unicode when requested
this commit also breaks a few tests in unicode mode, but it isnt scary at this time :P
2006-11-01 18:28:37 +00:00
Ilia Alshanetsky
3482d76823 MFB: Added missing boundary checks. 2006-11-01 01:56:21 +00:00
Pierre Joye
b4f45ea446 - fix stat when used with freshly added entries
- add zip_clear_error, zip_file_clear_error and  zip_stat_init in libzip
- add addEmptyDir(name) method, creates an empty directory
2006-11-01 00:53:32 +00:00
Marcus Boerger
ce37a5bb2c - Fixed Bug #38698 for some keys cdbmake creates corrupted db and cdb can't read valid db 2006-11-01 00:11:49 +00:00
Hannes Magnusson
d9c61f95c6 Fix segfault on invalid regex 2006-10-31 23:57:29 +00:00
Marcus Boerger
4cc8c959cd - Fixed Bug #39090 DirectoryFilterDots doxygen docs and example is wrong 2006-10-31 23:28:30 +00:00
Pierre Joye
0ff3b772d0 - use zip_name_locate in getCommentName 2006-10-31 23:25:41 +00:00
Marcus Boerger
f35c2a34c4 - Fixed Bug #39151 Parse error in recursiveiteratoriterator.php 2006-10-31 23:22:56 +00:00
Marcus Boerger
6a73cbe914 - Fixed Bug #39313 spl_autoload triggers Fatal error 2006-10-31 23:18:00 +00:00
Pierre Joye
1791f44e6e - bug first 2006-10-31 22:30:42 +00:00
Nuno Lopes
de57a1f871 cleaning some warnings (char* -> zstr) 2006-10-31 22:13:09 +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
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
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
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
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
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
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
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
Andrei Zmievski
723eb5274e Mark reflection methods as Unicode-compliant (except for FIXME parts). 2006-10-24 17:37:17 +00:00
Ilia Alshanetsky
cba6bfb514 Fixed a bug when callback function returns a non-modified value 2006-10-24 15:06:01 +00:00
Andrei Zmievski
78f8685b45 Fix remaining Unicode issues. 2006-10-23 20:00:40 +00:00
Dmitry Stogov
a0407cf588 Fixed decoding list of arrays (related to bug #39121) 2006-10-23 06:49:49 +00:00
Ilia Alshanetsky
80ca3357c2 Removed unused var 2006-10-22 22:24:33 +00:00
Pierre Joye
7694aa3222 - remove remaining "mode" arguments in the old api 2006-10-22 00:43:23 +00:00
Pierre Joye
95b56a6eda - add signature_algo to the function signature 2006-10-21 00:43:00 +00:00
Pierre Joye
c808d70bb3 - #39217, use openssl i2s_ASN1_INTEGER to get a string representation of
the integer (large or not). It also keeps BC by using only decimal fmt
- add test
2006-10-21 00:28:56 +00:00
Antony Dovgal
50eac21f67 fix #39217 (serialNumber is might be -1 when the value is too big) 2006-10-20 23:21:07 +00:00
Pierre Joye
6de9489bf6 - fix windows build with php < 6
- fix runtime error on other OS
2006-10-20 19:11:58 +00:00
Hannes Magnusson
9967c1c306 Fix tests 2006-10-20 15:03:22 +00:00
Sara Golemon
5f19062164 Update test to reflect fix in spl_array.c r-1.114 2006-10-19 22:30:55 +00:00
Sara Golemon
631b9b016e Fix working with ArrayObjects which contain arrays. 2006-10-19 22:20:44 +00:00
Andrei Zmievski
dbda777b0b getrusage.c was easy(). But don't ever use zend_parse_parameters() like
that.
2006-10-19 22:14:04 +00:00
Andrei Zmievski
9c83ae0549 Unicode support in microtime() and gettimeofday(). 2006-10-19 22:11:04 +00:00
Andrei Zmievski
af2c117d29 Pick some low-hanging fruit. 2006-10-19 20:55:08 +00:00
Andrei Zmievski
c2d9e83820 Clarify why the result of json_encode() is a binary string. 2006-10-19 20:24:25 +00:00
Antony Dovgal
93cd342f48 fix tests 2006-10-19 20:17:17 +00:00
Andrei Zmievski
9daff2a92b Unicode support for remaining image.c functions. 2006-10-19 18:20:13 +00:00
Andrei Zmievski
73b75cf052 Unicode support for headers_sent(). 2006-10-19 17:55:33 +00:00
Antony Dovgal
7bf64871c9 add new test by Pierre 2006-10-19 12:06:57 +00:00
Antony Dovgal
8fba8ef219 fix folding tags, nuke json globals 2006-10-19 10:12:19 +00:00
Antony Dovgal
05da0efe36 fix coverity issue #262 (uninitialized variable) 2006-10-19 10:01:54 +00:00
Ilia Alshanetsky
a0a56eb609 MFB: Fixed bug #38400 (Use of com.typelib_file may cause a crash). 2006-10-18 23:47:46 +00:00
Antony Dovgal
7afbb7c3e2 fix bug #38882 (ldap_connect causes segfault with newer versions of OpenLDAP) 2006-10-18 20:57:06 +00:00
Johannes Schlüter
0e58baae93 - Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:34:25 +00:00
Hannes Magnusson
1b8cf37abd Fix arginfo for imagepng() and imagejpeg() 2006-10-18 16:04:25 +00:00
Antony Dovgal
4579e4cc9e fix PECL bug #9061 (oci8 might reuse wrong persistent connection) 2006-10-18 14:22:04 +00:00
Dmitry Stogov
a1130e84bf ZTS fix 2006-10-18 07:41:33 +00:00
Antony Dovgal
399421323b fix test 2006-10-17 22:05:43 +00:00
Andrei Zmievski
d33a905a16 Unicode support in JSON functions. 2006-10-17 17:56:54 +00:00
Derick Rethans
96c237275a - MF52: Updated timezone database. 2006-10-17 17:08:52 +00:00
Ilia Alshanetsky
dc4f9d0baa MFB: Unify handling of return values on validation failure and var not found 2006-10-17 15:26:42 +00:00
Dmitry Stogov
5e60e48f8a Unicode support. (Two more places must be fixed. Look for FIXME comments.) 2006-10-17 11:11:45 +00:00
Antony Dovgal
8390d4f94f initialize optional variables 2006-10-16 19:27:00 +00:00
Andrei Zmievski
867d4a97d1 Patch to support primitive types. (Ilia) 2006-10-16 17:04:51 +00:00
Ilia Alshanetsky
c1af91befc MFB: Fixed compiler warnings 2006-10-16 15:42:23 +00:00
Antony Dovgal
8799fe1b60 fix compile warning 2006-10-15 21:10:10 +00:00
Hannes Magnusson
9116acf89f Fix test 2006-10-15 13:44:41 +00:00
Hannes Magnusson
4970ccfa04 MFB: Remove bogus INI entry 2006-10-14 15:07:36 +00:00
Andrei Zmievski
83e0dbb3d2 - Add an extra parameter to the cast_object handler that can be used by
various types as needed.
- Use that parameter to pass a specific converter for
  IS_UNICODE/IS_STRING types.
2006-10-13 14:52:19 +00:00
Antony Dovgal
03301dee3f fix win32 build 2006-10-13 14:26:14 +00:00
Hannes Magnusson
851a7c6157 MFB: missing API declaration 2006-10-13 09:55:48 +00:00
Ilia Alshanetsky
f3eee9d980 MFB: Fixed bug #38934 (move_uploaded_file() cannot read uploaded file
outside of open_basedir).
2006-10-13 01:44:42 +00:00
Michael Wallner
4aa7a28e5a - missing part of zend_fcall_info API patch 2006-10-12 12:40:26 +00:00
Antony Dovgal
77c5edbb3e use connection character set when reading LOB data 2006-10-12 10:02:34 +00:00
Ilia Alshanetsky
59639f3de7 MFB: Fixed potential use of un-initialized var 2006-10-12 01:05:25 +00:00
Antony Dovgal
6636616ae9 fix test 2006-10-11 23:46:35 +00:00
Sara Golemon
cc51b47859 Bugfix#38649 Optional param not initialized 2006-10-11 23:20:54 +00:00
Antony Dovgal
a92a070353 fix #39125 (Memleak when reflecting non-existing class/method) 2006-10-11 15:51:17 +00:00
Antony Dovgal
7154dd7b87 add test 2006-10-11 14:57:38 +00:00
Ilia Alshanetsky
84b68c40e6 MFB: s/false/null/ 2006-10-11 14:56:16 +00:00
Derick Rethans
db25a23ed8 - Change validating filters to return "null" on failure so that they can be
distinguised from the value "false" which might be valid as well.
2006-10-11 14:48:33 +00:00
Antony Dovgal
4a8aaa1e4d check filter and class names for empty strings 2006-10-11 14:46:31 +00:00
Ilia Alshanetsky
2fa1fb9db3 MFB: Catch empty strings right away. 2006-10-11 14:30:50 +00:00
Antony Dovgal
721ade4f41 fix test on 64bit 2006-10-11 13:18:18 +00:00
Antony Dovgal
527cc7bd37 avoid reading str[-1], add warning when invalid format specified
add test
2006-10-11 13:14:08 +00:00
Antony Dovgal
729ed6eafc fix crash when parsing invalid hostnames/IPs 2006-10-11 12:53:38 +00:00
Antony Dovgal
08d9facf51 more fixed problems 2006-10-11 11:52:41 +00:00
Antony Dovgal
77bfbfc880 fix segfault/leak, add test 2006-10-11 11:09:15 +00:00
Edin Kadribasic
ed0e78fb78 MFB: Sync with Unix build 2006-10-11 11:00:37 +00:00
Pierre Joye
2e1b7b03f8 - don't check signature if the file is empty (valgrind reports with test
001), thx Tony for the head up
2006-10-11 00:21:33 +00:00
Ilia Alshanetsky
1032b2eaa3 MFB: Fixed bug #39034 (curl_exec() with return transfer returns TRUE on
empty files).
2006-10-10 23:13:13 +00:00
Antony Dovgal
ff62076796 access mode for dbase_open() cannot be < 0 2006-10-10 23:00:48 +00:00
Antony Dovgal
81c149153e add new test 2006-10-10 22:38:00 +00:00
Antony Dovgal
93734dd1ca fix leak and typos in error messages 2006-10-10 22:21:36 +00:00
Ilia Alshanetsky
6d3e8ce4f8 MFB: Fixed bug #38198 (possible crash when COM reports an exception). 2006-10-10 17:33:02 +00:00
Antony Dovgal
3049d59cba fix #39112 (typo in error message) 2006-10-10 12:43:34 +00:00
Derick Rethans
8b2b5efc88 - Make fileinfo compile with PHP 5.2 as well. 2006-10-10 09:52:06 +00:00
Sara Golemon
71a765c651 PHP6 Updates 2006-10-09 20:42:35 +00:00
Andrei Zmievski
0a73c305d8 Typos! 2006-10-09 20:17:36 +00:00
Andrei Zmievski
76eb73a4b7 print_r(), error_log() and sys_getloadavg() are Unicode-safe. 2006-10-09 20:17:12 +00:00
Andrei Zmievski
a567622740 Initialize optional vars. 2006-10-09 19:54:38 +00:00
Ilia Alshanetsky
3e4c2ee869 MFB: Improve parameter parsing 2006-10-09 19:48:35 +00:00
Andrei Zmievski
cc0323b95d Unicode support for call_user_* functions. 2006-10-09 19:48:32 +00:00
Ilia Alshanetsky
e8ccee4873 MFB: Fixed bug #37262 (var_export() does not escape \0 character). 2006-10-09 18:09:42 +00:00
Hannes Magnusson
31212f9c0b MFB5.2
Constants:
 - OPENSSL_VERSION_TEXT
 - OPENSSL_VERSION_NUMBER
 - OPENSSL_KEYTYPE_EC
 Functions:
 - openssl_pkey_get_details()
 - openssl_csr_get_subject()
 - openssl_csr_get_public_key
2006-10-09 14:43:53 +00:00
Hannes Magnusson
9b3dde791d Fix tests 2006-10-09 14:42:48 +00:00
Antony Dovgal
b2ade975ab MFB 2006-10-09 13:21:02 +00:00
Georg Richter
dd5f975cc9 Fix for bug #39085:
PHP6 requires mysqli_set_character_set function which was introduced in
MySQL 4.1.13 and 5.0.7
2006-10-09 04:46:03 +00:00
Sara Golemon
9b4bc8d489 Oi 2006-10-09 02:55:38 +00:00
Sara Golemon
25af62e3f4 Fix realpath() in unicode mode 2006-10-09 02:52:27 +00:00
Sara Golemon
1caed2fa18 Add stream_resolve_include_path() 2006-10-09 02:48:06 +00:00
Pierre Joye
b16d1861a6 - MFB: fix possible segfault (see test 004) always exists and returns NULL
on error (thx Bjori for the head up)
2006-10-09 00:06:41 +00:00