Commit Graph

19258 Commits

Author SHA1 Message Date
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
Ilia Alshanetsky
6c3b4288bb MFB: Added missing configuration checks 2006-10-08 22:39:48 +00:00
Hannes Magnusson
6d5c5bce5a Fix test 2006-10-08 20:06:04 +00:00
Sara Golemon
3a40f32c6e Fix win32 (again), just temporarily convert the classname to ascii on this platform... 2006-10-08 18:00:44 +00:00
Pierre Joye
7ecbbfc206 - MFB: #39082, image* segfaults when used with only one argument
(introduced in 5.2+, no news entry)
2006-10-08 17:42:55 +00:00
Hannes Magnusson
527af42bd4 Fix "wrong param count" error message 2006-10-08 15:27:28 +00:00
Hannes Magnusson
881ddd435b Error message cleanup (patch by Matt W (php_lists -AT- realpain.com)) 2006-10-08 13:49:57 +00:00
Hannes Magnusson
cf59f0063f fix test 2006-10-08 13:43:20 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Hannes Magnusson
32d1b3ad55 Remove duplicate 'wrong param count' warning 2006-10-08 10:50:19 +00:00
Hannes Magnusson
fbbccfd9cf MFB (move static keywording from .h to .c) 2006-10-08 00:05:17 +00:00
Hannes Magnusson
1b6606eb1a fix tests 2006-10-07 23:50:54 +00:00
Hannes Magnusson
dc9a30be4c Update test 2006-10-07 23:42:43 +00:00
Hannes Magnusson
e531458f89 Remove double "wrong param count" warnings 2006-10-07 22:55:18 +00:00
Hannes Magnusson
523180a5a7 Add "wrong param count"/"expecting parameter .. to be.." warning to strtotime() 2006-10-07 22:31:52 +00:00
Hannes Magnusson
2156a8b05e fix build 2006-10-07 21:12:09 +00:00
Ilia Alshanetsky
36883fc891 MFB: Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:59:29 +00:00
Pierre Joye
f242191738 - update tests 2006-10-07 19:57:15 +00:00
Ilia Alshanetsky
4ad5333dd5 MFB: Added missing safety checks (Problem identified by Coverity scan) 2006-10-07 19:41:10 +00:00
Ilia Alshanetsky
f50a50ebc8 Initial Unicode support 2006-10-07 18:45:44 +00:00
Ilia Alshanetsky
ae21a1ab79 Another build fix 2006-10-07 18:24:51 +00:00
Ilia Alshanetsky
bf92fa9569 Fixed build 2006-10-07 18:12:04 +00:00
Sara Golemon
9432c96dc6 Update SQLITE2 (non-PDO parts at least) for PHP6/Unicode
Change default build of bundled libsqlite to utf8 mode
iso-8859 mode is still available using --disable-sqlite-utf8
2006-10-07 17:49:30 +00:00
Sara Golemon
489565732d More PHP6 Updates 2006-10-07 17:41:14 +00:00
Sara Golemon
39a12a8824 Minor refactoring using zpp API
A few meaningful Unicode updates.
A handful of leak plugs,
and a crash fix in a pear tree.
2006-10-07 16:38:23 +00:00
Hannes Magnusson
f76d8e55bc Avoid portability problems 2006-10-07 15:14:57 +00:00
Sara Golemon
62f01f5e6c Win32 build gets confused by expansion of U_STRING_DECL macro with constants 2006-10-07 04:45:42 +00:00
Andrei Zmievski
562e88a30f Default to ZEND_STR_TYPE. 2006-10-07 00:41:14 +00:00
Ilia Alshanetsky
0e6a629702 MFB: Make quote() in PostgreSQL use PQescapeByteaConn() whenever possible
for binary strings.
2006-10-06 22:34:29 +00:00
Ilia Alshanetsky
8b596a4f84 MFB: Make pg_escape_bytea() use PQescapeByteaConn() whenever possible. 2006-10-06 21:45:35 +00:00
Ilia Alshanetsky
8786640da8 MFB: Expose session storage module locater and serialization function via
PHPAPI
2006-10-06 21:11:57 +00:00
Andrei Zmievski
92886ccdec Unicode support in is_callable(). 2006-10-06 20:11:25 +00:00
Andrei Zmievski
73ea9b8be5 Unicode support in uniqid(). 2006-10-06 20:00:37 +00:00
Andrei Zmievski
d019da8692 Mark memory funcs with U. 2006-10-06 18:03:41 +00:00
Antony Dovgal
5d4259ff85 more improvements 2006-10-06 18:02:50 +00:00
Andrei Zmievski
c25a48dcb3 Mark with U. 2006-10-06 18:02:04 +00:00
Andrei Zmievski
54174862f0 Mark pageinfo.c funcs with U. 2006-10-06 18:01:20 +00:00
Andrei Zmievski
5064851c9d Mark rand.c functions with U. 2006-10-06 18:00:13 +00:00
Sara Golemon
17cdda770d Forgot to mark these u-safe 2006-10-06 17:41:30 +00:00
Antony Dovgal
c65d3234cd fix #39067 (getDeclaringClass() and private properties) 2006-10-06 17:34:56 +00:00
Andrei Zmievski
4e0c1190b7 Fix protos. 2006-10-06 17:14:14 +00:00
Antony Dovgal
d3bae72721 fix PECL bug #8816 (issue in php_oci_statement_fetch with more than one piecewise column)
patch by jeff at badtz-maru dot com
2006-10-06 12:46:08 +00:00
Edin Kadribasic
5d1aefa771 MFB: Fix for #38985 (Wez) 2006-10-06 12:24:11 +00:00
Antony Dovgal
0de658d31d new test 2006-10-06 09:57:29 +00:00
Sebastian Bergmann
b7dc089fc2 MFB: Fix ZTS build. 2006-10-06 03:49:04 +00:00
Andrei Zmievski
0ba9147d9b TODO 2006-10-05 22:44:31 +00:00
Andrei Zmievski
0decd2d4e7 Unicode support for str_replace() and str_ireplace().
# This was not trivial.
2006-10-05 22:40:38 +00:00
Sara Golemon
32c3bf91e3 Updated for PHP6 2006-10-05 21:28:19 +00:00
Pierre Joye
cbfd1c474b - env/server support is not yet fixed 2006-10-05 20:15:02 +00:00
Antony Dovgal
373098b296 add test 2006-10-05 19:49:20 +00:00
Hannes Magnusson
34fb6fc12e MFB:
- nuke unused variable
- "prefer" two arguments
- only print "wrong parameter count" once
2006-10-05 16:08:12 +00:00
Antony Dovgal
9adc8c3931 decrement ch->uses (or destroy handle) when destroying multi handle 2006-10-05 15:06:11 +00:00
Antony Dovgal
e93802dc51 MFB: fix build with new c-client 2006-10-05 14:28:33 +00:00
Rob Richards
19523f9a39 mark functions unicode compliant
add test
2006-10-05 11:59:43 +00:00
Edin Kadribasic
5cdef2aaf7 MFB: Added PQescapeStringConn support to windows too 2006-10-05 11:14:17 +00:00
Ilia Alshanetsky
af3fade033 MFB: Fixed bug #39039 (SSL: fatal protocol error when fetching HTTPS from
servers running Google web server).
2006-10-05 00:38:19 +00:00
Ilia Alshanetsky
e448be3c28 MFB: Added support for character sets in PDO quote() method for PostgreSQL
8.1.4 and higher.
2006-10-04 23:53:54 +00:00
Ilia Alshanetsky
dbc2dc9dcf MFB: Added support for character sets in pg_escape_string() for PostgreSQL
8.1.4 and higher.
2006-10-04 23:27:17 +00:00
Ilia Alshanetsky
4492d8f089 MFB: Fixed missing open_basedir check inside chdir() function. 2006-10-04 23:20:54 +00:00
Andrei Zmievski
f630127685 - Mark stristr() with U.
- zpp support for ucwords()
2006-10-04 17:38:09 +00:00
Andrei Zmievski
4b3a597d29 Unicode support in substr_compare(). 2006-10-04 17:25:12 +00:00
Pierre Joye
5bfefaf37e - ENV/SERVER entry 2006-10-04 13:39:09 +00:00
Antony Dovgal
c51cc262da add missing ifdef 2006-10-04 13:30:41 +00:00
Antony Dovgal
6924d8b2dc add missing ifdef 2006-10-04 13:02:18 +00:00