Commit Graph

19113 Commits

Author SHA1 Message Date
Ilia Alshanetsky
9f21967f83 MFB: Fixed bug #38941 (imap extension does not compile against new version
of the imap library).
2006-09-24 18:06:53 +00:00
Sara Golemon
a515fde08a PHP6 Updates w/ minor refactoring 2006-09-24 17:59:40 +00:00
Sara Golemon
1f8bbc65a6 PHP6 Updates 2006-09-24 17:09:46 +00:00
Sara Golemon
1a13bdc516 PHP6 Updates 2006-09-24 17:03:58 +00:00
Antony Dovgal
b6f2e80f03 add missing parameter to opendir() and fix segfault 2006-09-23 12:32:32 +00:00
Antony Dovgal
cad50f1dd2 one more try to fix ZTS build 2006-09-23 12:22:07 +00:00
Antony Dovgal
e02e25dca2 fix ZTS build 2006-09-23 12:17:43 +00:00
Antony Dovgal
b202bcda65 fix possible segfault in #38891 2006-09-23 11:58:49 +00:00
Sara Golemon
7b0305b311 PHP6 Updates 2006-09-22 23:57:38 +00:00
Sara Golemon
6dffc7bf14 Fix copy() from last commit and add a few more PHP6 updates 2006-09-22 21:48:33 +00:00
Sara Golemon
6905daca8e Update copy() for PHP6 2006-09-22 20:02:26 +00:00
Sara Golemon
3191ed0e85 Update stream_copy_to_stream() for PHP6 2006-09-22 19:54:30 +00:00
Andrei Zmievski
bc871831e2 Fix protos. 2006-09-22 19:50:02 +00:00
Andrei Zmievski
ca83e9b7a7 Unicode upgrade for quotemeta(). Yes, I know it's ugly. You try making
it pretty.
2006-09-22 19:35:05 +00:00
Sara Golemon
96f9c9c59c Update stream_get_contents() for PHP6 2006-09-22 18:42:33 +00:00
Andrei Zmievski
cd58faa031 Bring localeconv(), money_format(), and nl_langinfo() to standards. Add
E_STRICT notices about them being deprecated in Unicode mode.
2006-09-22 18:24:12 +00:00
Sara Golemon
29ccb96d9e Tweak file_get_contents()'s return value a little 2006-09-22 18:23:33 +00:00
Andrei Zmievski
50fe3da0af Unicode support in count_chars(). Note that due to the size of the
Unicode character set only mode=1 is supported.
2006-09-22 17:47:09 +00:00
Dmitry Stogov
d365bd66c2 Prevent access to dead zval 2006-09-22 13:39:17 +00:00
Rob Richards
b2a44a9cc6 mark functionality unicode safe
add test
2006-09-22 10:13:27 +00:00
Sara Golemon
a9404e9283 PHP6 Updates 2006-09-22 01:55:47 +00:00
Sara Golemon
b087b2ff62 PHP6 Updates 2006-09-21 23:36:13 +00:00
Ilia Alshanetsky
464c1ae4fe MFB: fix test 2006-09-21 23:07:10 +00:00
Sara Golemon
1aa537ebd4 Update (most of) the functions in streamsfuncs.c
This commit also includes a change to tests/file/stream_rfc2397_002.phpt
which doesn't entirely pass in unicode mode yet, however that's a unicode
issue in the data:// wrapper that needs fixing, not a problem with the
streams layer itself.
2006-09-21 19:53:10 +00:00
Andrei Zmievski
2fb8461016 Fix protos. 2006-09-21 19:30:33 +00:00
Sara Golemon
1d8677bbd4 Add double-width ripemd tests to package2.xml as well 2006-09-21 18:39:30 +00:00
Andrei Zmievski
f09b8eb846 Fix protos. 2006-09-21 18:26:31 +00:00
Sara Golemon
76315cf4c4 Add double-width ripemd tests to package.xml 2006-09-21 18:22:04 +00:00
Rob Richards
1acc8abe56 fix domcomment property handler so it inherits from domcharacterdata
mark tested functions as unicode safe
add tests
2006-09-21 11:53:58 +00:00
Rob Richards
d421131d98 finish unicode updates
update test
2006-09-21 10:31:36 +00:00
Dmitry Stogov
c0894d9d6e ZTS fix 2006-09-21 06:46:00 +00:00
Sara Golemon
67af7e225c Backfill protos for ext/unicode functions 2006-09-20 23:44:23 +00:00
Andrei Zmievski
7ff8b9b090 Bug fixes for substr_replace(). 2006-09-20 20:30:19 +00:00
Andrei Zmievski
9124610982 Install SPL headers. 2006-09-20 20:29:24 +00:00
Dmitry Stogov
90ff4f8f52 Added ability to make SOAP call userspace PHP<->XML converters 2006-09-20 13:43:04 +00:00
Sara Golemon
6781debeb8 Add ripemd256 and ripemd320 algos 2006-09-20 01:48:06 +00:00
Sara Golemon
5cb3858aa3 PHP6 Updates 2006-09-20 00:32:54 +00:00
Ilia Alshanetsky
07f22a8d4c MFB: make input_get_args() not modify the original values. 2006-09-19 23:58:47 +00:00
Ilia Alshanetsky
c1891a9bdf MFB: array_key_exists() should not work by by-ref 2006-09-19 23:45:12 +00:00
Sara Golemon
c8f96d157d Strip unused implementations of md5(), md5_file(), sha1(), and sha1_file()
from this extension.

It was decided a few months ago that those implementations would simply
stay in ext/standard and never leave.
2006-09-19 23:42:49 +00:00
Sara Golemon
17f279b2ca Refactor parameter parsing into the 21st century and flag Unicode readiness 2006-09-19 23:27:03 +00:00
Andrei Zmievski
1fd91e40f8 Unicode support in preg_grep(). 2006-09-19 20:41:56 +00:00
Sara Golemon
3f56da6eba Add INI controlled default stream encoding (unicode.stream_encoding).
Add convenience function stream_defualt_encoding() for setting it.
2006-09-19 20:36:48 +00:00
Andrei Zmievski
723baf6608 Upgrade preg_quote() to support Unicode. 2006-09-19 20:01:10 +00:00
Andrei Zmievski
5066424135 Fix offset calculation in add_offset_pair(). 2006-09-19 17:37:48 +00:00
Ilia Alshanetsky
8690a5a2d9 MFB:
Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
	Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
	Fixed test for bug #38253 not to use faulty SQL that generates
	errors in PostgreSQL
2006-09-19 15:46:25 +00:00
Antony Dovgal
19ac74fd23 fix tests 2006-09-19 12:06:49 +00:00
Antony Dovgal
074615035f fix spl tests 2006-09-19 12:01:18 +00:00
Antony Dovgal
ad1d0e6d65 fix tests 2006-09-19 11:49:21 +00:00
Antony Dovgal
5d42e808a3 fix leak in preg_split() 2006-09-19 11:48:59 +00:00
Antony Dovgal
8bc414ee8e fix test 2006-09-19 11:29:50 +00:00
Antony Dovgal
3914ce4c1a fix tests 2006-09-19 11:25:07 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Antony Dovgal
591477b143 support objects in array_walk*()
add new tests, fix old ones
2006-09-19 09:33:02 +00:00
Antony Dovgal
cb7a7995b6 fix #34066 (recursive array_walk causes segfault)
add tests
2006-09-19 09:02:39 +00:00
Dmitry Stogov
d5ecb40eeb Fixed PCRE related compilation errors 2006-09-19 07:39:07 +00:00
Andrei Zmievski
30d7168bbd Upgrade preg_split() to support Unicode strings. 2006-09-18 20:16:36 +00:00
Andrei Zmievski
81b83f327b More work on Unicode support in PCRE. When UG(unicode) is on, all
strings passed to PCRE have to be IS_UNICODE or IS_STRING in UTF-8
encoding. Failure to do so will result in unpredictable results.
2006-09-18 17:59:10 +00:00
Ilia Alshanetsky
b8b3ade128 MFB: Fixed bug #38574 (missing curl constants and improper constant
detection).
2006-09-18 16:13:00 +00:00
Antony Dovgal
f3fa436ba3 fix test 2006-09-18 12:35:59 +00:00
Johannes Schlüter
f1ed29ffd8 - Unicode fix 2006-09-17 09:39:04 +00:00
Ilia Alshanetsky
1d611c862c MFB: One last expand_filepath() check 2006-09-16 19:08:59 +00:00
Nuno Lopes
f2da2decd4 MFB: fix compiler warnings introduced in my previous commit 2006-09-16 19:08:21 +00:00
Ilia Alshanetsky
9d48f6fb61 MFB: Additional expand_filepath() checks 2006-09-16 18:31:07 +00:00
Ilia Alshanetsky
1ed7d584c6 MFB: Added missing validation checks around expand_filepath() 2006-09-16 18:23:05 +00:00
Nuno Lopes
121a317695 MFB 2006-09-16 18:21:53 +00:00
Nuno Lopes
37a08a329c MFB 2006-09-16 17:42:44 +00:00
Nuno Lopes
c88dc5752d fix lcov report 2006-09-16 14:21:07 +00:00
Rob Richards
49d8ec82fe MFB: implement workaround for bug #38823 (DOMComment->appendData does nothing)
fix bug #38850 (lookupNamespaceURI doesn't return default namespace)
add test
2006-09-16 13:56:25 +00:00
Nuno Lopes
61b043bfd7 MFB 2006-09-16 12:05:43 +00:00
Ilia Alshanetsky
71eac85de0 MFB: Added a check for PQftable() function 2006-09-15 19:48:55 +00:00
Nuno Lopes
678b162fef MFB 2006-09-15 16:14:57 +00:00
Antony Dovgal
4d4166fcbc missing part of the fix for #38844 2006-09-15 15:42:39 +00:00
Antony Dovgal
b8e416139d MFB: still output an error, even if there is no curl_easy_strerror() 2006-09-15 15:33:30 +00:00
Nuno Lopes
22088632e2 MFB 2006-09-15 15:14:04 +00:00
Antony Dovgal
da064ca404 fix segfault in curl_multi_info_read() 2006-09-15 15:04:03 +00:00
Nuno Lopes
0289bacc94 MFB 2006-09-15 14:59:04 +00:00
Nuno Lopes
7af2495f81 MFB 2006-09-15 14:43:08 +00:00
Antony Dovgal
b6596bebc7 fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0) 2006-09-15 13:43:55 +00:00
Pierre Joye
a072c66184 - PECL Bug #8700, zipArchive::getFromIndex() fails 2006-09-15 12:10:50 +00:00
Antony Dovgal
c912fa4a90 fix leak when call to shutdown function fails 2006-09-15 09:11:31 +00:00
Antony Dovgal
4bbeaa70fa free node pointer using correct function
fixes leak in ext/dom/tests/dom_create_element.phpt
2006-09-15 07:43:59 +00:00
Antony Dovgal
e264e460a4 fix double free(), add test 2006-09-15 07:26:19 +00:00
Dmitry Stogov
251bb2d7e1 Fixed memory leak 2006-09-15 07:11:09 +00:00
Ilia Alshanetsky
0fff2d8d45 MFB: Make float filter handle things like 02.324 properly 2006-09-14 17:48:11 +00:00
Antony Dovgal
367d65eced MFB 2006-09-14 15:30:37 +00:00
Antony Dovgal
ba01adbd0e fix test 2006-09-14 15:00:52 +00:00
Rob Richards
ed55b21a1b MFB: fix bug #38813 (DOMEntityReference->__construct crashes when called explicitly) 2006-09-14 13:35:49 +00:00
Dmitry Stogov
e8f1640adb Write valid run-time value for Zend Memory Manager 2006-09-14 08:56:11 +00:00
Ilia Alshanetsky
b663e04049 MFB: Fixed test for systems without INFILE/OUTFILE support 2006-09-13 15:53:12 +00:00
Dmitry Stogov
d7c13d414c Fixed memory leaks 2006-09-13 13:26:10 +00:00
Antony Dovgal
22491f9399 change test to work with Oracle 10 2006-09-13 10:44:04 +00:00
Antony Dovgal
ad67978a49 new tests 2006-09-12 20:32:06 +00:00
Antony Dovgal
40fe5baf8c uhm.. declare oci_lob_seek() along with OCI-Lob->seek() method 2006-09-12 20:26:59 +00:00
Antony Dovgal
276d063355 improve spelling (fixes #38780) 2006-09-12 17:26:24 +00:00
Pierre Joye
8b87c6ba8e - MFB:PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH,
it now uses expand_filepath
2006-09-12 12:04:03 +00:00
Antony Dovgal
0a5cb31537 fix leak when binding a variable to the same placeholder several times 2006-09-12 11:42:25 +00:00
Antony Dovgal
a98f411f80 remove a leftover 2006-09-12 10:53:51 +00:00
Antony Dovgal
5e17a28218 fix test 2006-09-12 10:44:18 +00:00
Johannes Schlüter
c1f302279f - Print the type of the original value 2006-09-11 21:21:27 +00:00
Johannes Schlüter
90db332cff - Fix #37923 (Display constant value in reflection::export) 2006-09-11 17:06:59 +00:00
Ilia Alshanetsky
675bda66b6 MFB: Fixed bug #38096 (large timeout values ignored on 32bit machines in
stream_socket_accept() and stream_socket_client()).
2006-09-11 14:53:33 +00:00
Antony Dovgal
78a0871781 new tests 2006-09-10 22:11:10 +00:00
Antony Dovgal
9d29a1b26d add new test 2006-09-10 19:42:04 +00:00
Hannes Magnusson
9dceb42867 Add protos 2006-09-10 17:01:10 +00:00
Hannes Magnusson
f2ad985262 - date_timezone_set() needs both arguments
- Throw exception in DateTimeZone::__construct if no arguments are passed
2006-09-10 16:32:30 +00:00
Hannes Magnusson
fac517522b MFB: abstracting ReflectionFunctionAbstract & fix couple of typos 2006-09-10 13:35:32 +00:00
Hannes Magnusson
8b427acfd0 Be overly picky: CURL->cURL 2006-09-09 20:03:55 +00:00
Derick Rethans
319a3dcb80 - The .c file is generated... so updating the .re file and cleaning up WS. 2006-09-09 12:25:54 +00:00
Michael Wallner
83eac101c3 - fix crash when unicode.sematics are enabled and unicode.output_encoding doesn't match iconv.internal_encoding 2006-09-09 12:10:28 +00:00
Antony Dovgal
41a6d22dd7 fix #38759 (PDO sqlite2 empty query causes segfault) 2006-09-09 10:58:39 +00:00
Antony Dovgal
cb04bb6a4f fix #38721 (date_parse() invalid read) 2006-09-08 20:22:23 +00:00
Antony Dovgal
49f7759c27 implement feature request #38731 (openssl_pkey_new does not support DSA key generation)
patch by marci at balabit dot hu
2006-09-08 20:09:08 +00:00
Hannes Magnusson
e22b06c957 MFB bug#35589 2006-09-08 16:51:32 +00:00
Rob Richards
b855c33590 fix prototypes 2006-09-08 13:04:29 +00:00
Dmitry Stogov
78a47c08a0 Prevent opening of empty filename "" 2006-09-08 05:52:15 +00:00
Rob Richards
db883a8b9d add unicode support
registered_phpfunctions hashtable still needs to be handled
update tests
2006-09-07 21:57:26 +00:00
Michael Wallner
aee8e73316 - add note why we can't have a chunk-sized output handler 2006-09-07 14:54:28 +00:00
Michael Wallner
f8ff78deab -fix warnings 2006-09-07 14:21:02 +00:00
Michael Wallner
60274e3944 - use ucnv_compareNames
- check output_context->op for PHP_OUTPUT_HANDLER_CLEAN instead of php_output_get_status()
2006-09-07 14:20:16 +00:00
Ilia Alshanetsky
cb1ba9379d MFB: Fixed memory leaks in openssl test #004 2006-09-07 14:16:54 +00:00
Dmitry Stogov
4cd00c73fc Fixed unicode support 2006-09-07 13:25:46 +00:00
Antony Dovgal
ffe419fefc add new tests, increase code coverage 2006-09-07 11:47:57 +00:00
Rob Richards
f79418bbd1 fix def file for 2.6.26 (xmlXPathCompiledEvalToBoolean required in .27) 2006-09-07 11:24:22 +00:00
Rob Richards
cd347ea2e5 update def file 2006-09-06 23:48:02 +00:00
Edin Kadribasic
cf933ed410 MFB: Fixed bug #38190 (threading issues on windows 2003) 2006-09-06 21:48:57 +00:00
Michael Wallner
07f81e7fe4 - upgrade ob_iconv_handler 2006-09-06 20:49:03 +00:00
Hannes Magnusson
8f85e67b33 fix build 2006-09-06 19:50:22 +00:00
Michael Wallner
83429c1620 - upgrade ob_tidyhandler 2006-09-06 17:55:09 +00:00
Pierre Joye
d21df00da5 - bump zip version, 2.0.0 2006-09-06 17:39:33 +00:00
Ilia Alshanetsky
803b3f4d77 MFB: Fixed bug #38464 (array_count_values() mishandles numeric strings). 2006-09-06 17:31:47 +00:00
Nuno Lopes
408a584d6e MFB: fix memleak of pcre study data 2006-09-06 16:31:28 +00:00
Nuno Lopes
984a56c9ab MFB 2006-09-06 15:32:19 +00:00
Nuno Lopes
da0feb9dcd fix a few more zend_parse_parameters() issues 2006-09-06 15:13:16 +00:00
Antony Dovgal
b08f8ed0c1 fix leak in pg_copy_to() when invalid resource was passed 2006-09-06 12:40:47 +00:00
Antony Dovgal
bb89a868c4 do not search for empty strings with strpos() and strrpos() 2006-09-06 12:07:27 +00:00
Antony Dovgal
38dcee0beb fix leaks & uninitialized vars
add test
2006-09-06 11:34:15 +00:00
Dmitry Stogov
ba833d2bc0 Fixed support for endpoint's URL without <path> part (Rob) 2006-09-06 11:03:59 +00:00
Derick Rethans
058b359800 - Added support for the full ISO week number format. (2006-W52-7) 2006-09-06 07:33:59 +00:00
Nuno Lopes
cb07c93c04 sync code and tests with PHP_5_2 2006-09-05 15:25:44 +00:00
Ilia Alshanetsky
f8c35ca367 Added missing defines needed for win32 build 2006-09-05 14:48:06 +00:00
Antony Dovgal
6c977ee076 add new test for multiple leaks in openssl_csr_new() 2006-09-05 14:04:36 +00:00
Antony Dovgal
4c6db31984 init variables 2006-09-05 13:59:08 +00:00
Antony Dovgal
ac978370c9 fix test 2006-09-05 13:58:47 +00:00
Nuno Lopes
573f153e06 MFB: int->zend_bool where possible 2006-09-05 12:42:25 +00:00
Nuno Lopes
07b26e4e5f MFB (int->long) 2006-09-05 12:32:13 +00:00
Antony Dovgal
6bf4579f82 fix it in an other way 2006-09-05 11:24:23 +00:00
Antony Dovgal
fcea7b3273 fix leak in imap_utf8(), avoid extra strlen() call
add test
2006-09-05 11:16:06 +00:00
Antony Dovgal
13427fc603 fix segfaulting typo in dcngettext() =)
add new test
2006-09-05 10:35:53 +00:00
Nuno Lopes
e09ffb06f1 MFB: fix gcc warning 2006-09-04 19:16:21 +00:00