Commit Graph

18169 Commits

Author SHA1 Message Date
Michael Wallner
eca5331a81 - attempt to fix #38696 2006-09-03 09:09:56 +00:00
Johannes Schlüter
eb958c080e - MFH: Add HAVE_REFLECTION define for win32 (by Steph) 2006-09-02 19:13:23 +00:00
Hannes Magnusson
948d84fd67 fix test 2006-09-02 15:42:00 +00:00
Nuno Lopes
5737b1e925 and add a test 2006-09-01 23:31:52 +00:00
Nuno Lopes
0f6f089698 omg. take #2 to fix the bug. sorry.. 2006-09-01 23:25:29 +00:00
Nuno Lopes
c8b2f761f6 fix possible crash 2006-09-01 23:13:20 +00:00
Pierre Joye
d63e411e9a - MFH 2006-08-31 22:52:54 +00:00
Pierre Joye
23919d9115 - MFH 2006-08-31 22:34:32 +00:00
Antony Dovgal
78c0279bb6 add test 2006-08-31 22:19:35 +00:00
Pierre Joye
2259578afa - MFH: test for mulitple filter calls 2006-08-31 22:17:44 +00:00
Antony Dovgal
5d81cd24c9 MFH 2006-08-31 22:12:10 +00:00
Pierre Joye
5c7e3ba791 - skip these tests for RC3
- CGI does not read commandline options when it sees REQUES_METHOD
 - errors are shown two times now, to be checked post RC3
2006-08-31 20:17:03 +00:00
Pierre Joye
72820abd7b - MFH: pecl bug #8316,
empty strings are not int or float, return false (due to popular demand)
2006-08-31 18:29:29 +00:00
Antony Dovgal
75b8cd741b last portion of z/Z fixes 2006-08-31 16:15:24 +00:00
Pierre Joye
50e9994b2c - clean the auto trim (behaves like php_trim now)
- simplifies bool
- fix octal parsing
- boost int/hex/octal validate_int
2006-08-31 15:50:56 +00:00
Antony Dovgal
5bc435c4e8 fix typo in errmsg 2006-08-31 15:42:18 +00:00
Antony Dovgal
94b3210c38 ext/filter z/Z fixes 2006-08-31 15:17:23 +00:00
Antony Dovgal
c2a38c607b more z/Z fixes 2006-08-31 14:41:24 +00:00
Antony Dovgal
0c482b5c64 more z/Z fixes 2006-08-31 14:21:21 +00:00
Antony Dovgal
de23f39d18 MFH: z/Z problem fixes 2006-08-31 13:58:31 +00:00
Antony Dovgal
821674720a fix test 2006-08-31 13:50:11 +00:00
Antony Dovgal
fb21b5d059 MFH: fix problem with mixed arguments accepted as zval* causing leaks/segfaults when converting to other types 2006-08-31 13:48:17 +00:00
Antony Dovgal
c4e9ee2586 minor changes in iconv_substr() to avoid zval converting 2006-08-31 11:17:47 +00:00
Antony Dovgal
f74fbc1a06 fix warnings about nonextistent functions 2006-08-31 11:10:23 +00:00
Antony Dovgal
de3d3ced29 no such function 2006-08-30 22:53:51 +00:00
Antony Dovgal
434d5e9be4 MFH: fix leak, add test 2006-08-30 22:34:48 +00:00
Antony Dovgal
1dd6ee3f6d fix segfault/leak, add test 2006-08-30 21:51:08 +00:00
Antony Dovgal
1f138e7e01 MFH: fix segfault in openssl_seal(), add test 2006-08-30 20:50:04 +00:00
Ilia Alshanetsky
45debc52ef Upgrade PCRE lib to 6.7 2006-08-30 20:00:23 +00:00
Ilia Alshanetsky
307b3bcbb4 Fixed bug #33770 (https:// or ftps:// do not work when --with-curlwrappers
is used and ssl certificate is not verifiable).
2006-08-30 17:49:10 +00:00
Antony Dovgal
f231b76ba6 fix leak, add test 2006-08-30 16:46:59 +00:00
Antony Dovgal
644a796525 MFH: fix leak in iptcembed() 2006-08-30 16:30:14 +00:00
Antony Dovgal
b6ced95187 change ini handlers to produce E_ERROR if they are called during startup 2006-08-30 16:24:40 +00:00
Antony Dovgal
a8a3701ba6 fix leak 2006-08-30 16:12:43 +00:00
Antony Dovgal
f8fd45a735 MFH: change E_ERROR to E_WARNING when invalid argument has been passed
make sure ini_set() doesn't reset PS(mod) and PS(serializer) to invalid values
2006-08-30 15:43:10 +00:00
Antony Dovgal
86bf55a3d8 MFH: fix #38653 (memory leak in ReflectionClass::getConstant()) 2006-08-30 10:42:49 +00:00
Hannes Magnusson
d6ec9d21ec fix test 2006-08-30 09:44:53 +00:00
Derick Rethans
8388180466 - Upgrade timezone db to 2006k. 2006-08-29 20:20:05 +00:00
Ilia Alshanetsky
1b9e18d471 Corrected problems introduced by previous commit.
# Issue found by Stefan
2006-08-29 19:50:04 +00:00
Ilia Alshanetsky
5ea3080546 Fixed bug #38637 (curl_copy_handle() fails to fully copy the cURL handle). 2006-08-29 17:10:40 +00:00
Ilia Alshanetsky
7c618c40bc Finalize implode() patch 2006-08-29 14:32:16 +00:00
Antony Dovgal
ffc3d4a076 fix win32 build
EG(precision) can be changed in runtime, even in php_implode() (hint: __toString()), so please think twice before optimizing
2006-08-29 12:20:18 +00:00
Rob Richards
c6b9662372 fix #38474 (getAttribute select attribute by order, even when prefixed)
add test
2006-08-28 23:36:23 +00:00
Ilia Alshanetsky
914d362176 Adjust code to avoid TSRMLS_FETCH 2006-08-28 23:33:37 +00:00
Antony Dovgal
7384c12b11 MFH: make sure ext/standard is down before ext/session (fixes #38534) 2006-08-28 19:57:57 +00:00
Antony Dovgal
ecfa880820 MFH: set BG(locale_string) to NULL on shutdown (partly fixes #38534) 2006-08-28 18:58:47 +00:00
Antony Dovgal
615f2d7295 fix ZTS build 2006-08-28 09:56:28 +00:00
Hannes Magnusson
2d3056e94f MFH:
- Fixed bug #33895 (missing math constants).
 - Remove M_PI from math.c (its defined in php_math.h)
2006-08-27 19:14:43 +00:00
Ilia Alshanetsky
78d7b0bf0e Optimize the operation of implode() on non-string parameters 2006-08-27 19:06:09 +00:00
Hannes Magnusson
a180abdbfd fix tests on freebsd 2006-08-27 15:06:53 +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
Seiji Masugata
100742f7a2 added configure option --disable-mbregex-backtrack. 2006-08-25 16:26:50 +00:00
Pierre Joye
8e54de1d77 - bundled matches pecl 1.7.1 2006-08-25 16:03:00 +00:00
Edin Kadribasic
21ac19eb94 Fixed #37602 by olek at neurosoft dot pl 2006-08-25 12:01:57 +00:00
Seiji Masugata
99211d0444 Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. 2006-08-24 17:20:58 +00:00
Seiji Masugata
74685a184f Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. 2006-08-24 17:11:29 +00:00
Seiji Masugata
3ea2152839 Updated bundled oniguruma library (used for multibyte regular expression) to 4.3.1. 2006-08-24 17:03:47 +00:00
Seiji Masugata
560208b1c6 added returned value in mb_get_info( ). 2006-08-24 16:52:36 +00:00
Pierre Joye
5c8533aa76 - solve the relative path issues in TS environment 2006-08-24 16:37:14 +00:00
Antony Dovgal
a5bb290f28 it's not a PEAR only issue 2006-08-24 16:00:43 +00:00
Antony Dovgal
d8870f562f sys/msg.h does not exist on MacOS X 2006-08-24 13:18:24 +00:00
Antony Dovgal
d221f46ab6 update version in phpinfo() 2006-08-24 13:03:04 +00:00
Antony Dovgal
f6bbb02da6 bump version number 2006-08-24 12:46:54 +00:00
Antony Dovgal
567cf55085 compat fixes 2006-08-24 12:05:19 +00:00
Antony Dovgal
f1b1c65413 release 1.2.2 from 5_2 branch, as HEAD doesn't have safe_mode anymore 2006-08-24 11:59:15 +00:00
Antony Dovgal
fd9c8d85a6 the error message is different on different OSes and zlib versions 2006-08-24 11:30:35 +00:00
Antony Dovgal
806d9fe71b tm_yday may be 0 2006-08-24 11:27:20 +00:00
Antony Dovgal
0584dc011c MFH: fix segfault in strptime() on 64bit Linuxes, caused by the missing declaration 2006-08-24 11:06:02 +00:00
Dmitry Stogov
92f1b46fbb Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method). 2006-08-24 06:18:30 +00:00
Pierre Joye
75e9e12093 - MFH: add support for entities in hexadecimal format, like © can
be passed as &#169 or © (sync with gd)
2006-08-23 20:22:31 +00:00
Antony Dovgal
b7f2d8f17e MFH: fix possible crash in free_statement() 2006-08-23 19:15:57 +00:00
Pierre Joye
aecbddef42 - MFH: please don't use base64 to test image files, it does not work
fix tests on 64bit platfrom
2006-08-23 12:00:54 +00:00
Antony Dovgal
6a70b05660 MFH: build ext/spl and ext/reflection as static (fixes #38556) 2006-08-23 09:47:21 +00:00
Hannes Magnusson
de3393e63f Fix arginfo for SplObjectStorage 2006-08-23 09:32:24 +00:00
Antony Dovgal
a3b62c8eed add test for real 2006-08-22 20:10:50 +00:00
Antony Dovgal
d5c9b41db1 fix implode() function (see http://news.php.net/php.qa/26876)
add test
2006-08-22 19:55:56 +00:00
Ilia Alshanetsky
d4ff427c55 Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown
order to ensure it is shutdown before the extensions it may depend on).
2006-08-22 16:47:23 +00:00
Antony Dovgal
08a9ab02ba minor improvements 2006-08-22 11:09:12 +00:00
Antony Dovgal
36dffb8e3b typo 2006-08-21 17:12:02 +00:00
Ilia Alshanetsky
8d770ee2ef Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval
inside a failed query executed via query() method).
2006-08-21 16:53:50 +00:00
Antony Dovgal
70e59e2999 MFH: fix PECL bug #8112 (OCI8 persistent connections misbehave when Apache process times out) 2006-08-21 16:41:13 +00:00
Ilia Alshanetsky
2a41a50216 Fixed bug #38524 (strptime() does not initialize the internal date storage
structure).
2006-08-20 18:20:07 +00:00
Antony Dovgal
efbb2a4838 fix #38486 (openssl extension does not build correctly) 2006-08-18 13:02:38 +00:00
Antony Dovgal
a33913d960 MFH: add a notice to fgetcsv() when delimiter or enclosure is longer than 1 char
(feature request #38496)
2006-08-18 12:50:57 +00:00
Antony Dovgal
92963d12a6 fix #38485 (bz2 extension does not compile with GCC 4.1) 2006-08-17 20:46:51 +00:00
Antony Dovgal
1f3b6ebc89 initialize static buffer with 0's 2006-08-17 14:32:35 +00:00
Ilia Alshanetsky
3d87be2674 Added skip condition for sqlite2 driver, that uses more forgiving emulated
prepared statements.
2006-08-16 14:09:56 +00:00
Rob Richards
adf10989b0 fix bug #38454 (warning upon disabling handler via xml_set_element_handler)
fix bug #38427 (unicode causes xml_parser to misbehave)
add test
2006-08-15 22:47:11 +00:00
Pierre Joye
8dc61360c6 - add openssl_csr_get_subject() and openssl_csr_get_public_key() 2006-08-15 20:27:22 +00:00
Antony Dovgal
f3c1722b0c MFH: don't try to use "auto", "none" and "pass" charsets returned from mbstring 2006-08-15 15:09:38 +00:00
Antony Dovgal
3a0f857173 minor CS/WS fixes 2006-08-15 13:08:34 +00:00
Antony Dovgal
88e752c007 MFH: error message might be NULL 2006-08-15 12:27:24 +00:00
Antony Dovgal
8c170d480a MFH: OCIBreak() is not supported on Windows 2006-08-15 12:19:46 +00:00
Antony Dovgal
c3209b53d2 new tests 2006-08-15 08:54:15 +00:00
Michael Wallner
f5ea2dfac4 MFH:
- fix leak when cloning DateTimeZone, detected by Antony
 - don't fetch objects multiple times when cloning
2006-08-15 06:53:21 +00:00
Pierre Joye
9a79a2f37c - add OPENSSL_KEYTYPE_EC constant
- openssl_pkey_get_details(), returns the key details
2006-08-15 00:38:05 +00:00
Antony Dovgal
d677ad6789 fix #38451 (PDO_MYSQL doesn't compile on Solaris) 2006-08-14 20:11:31 +00:00
Nuno Lopes
ddb4d1fdcc move static declaration to *.c files
mroe static/const keywording
2006-08-14 20:08:18 +00:00
Michael Wallner
8657927354 MFH: add cloning support to DateTime classes 2006-08-14 20:03:11 +00:00
Frank M. Kromann
8eaa9eae52 MFH: Cleanup before reusing failed persistant connection. Better formating of timestamp and decimal values 2006-08-14 18:40:08 +00:00
Ilia Alshanetsky
b4da7e6672 Added missing file entry 2006-08-14 16:34:24 +00:00
Ilia Alshanetsky
e8f30d4502 Upgraded bunbled SQLite lib to 3.3.7 2006-08-14 16:15:29 +00:00
Nuno Lopes
0091c7e1b3 more static keywording
also remove the libtidy patch, as it is too old. users should use a newer libtify anyway
2006-08-14 15:09:08 +00:00
Pierre Joye
4b7358e4e5 - nuke unused parameter (not present in old versions) 2006-08-14 15:07:52 +00:00
Nuno Lopes
615a15d5fa a few more static keywording 2006-08-14 14:53:23 +00:00
Rob Richards
a0c941aad1 fix bug #38424 (Different attribute assignment if new or existing)
add test
2006-08-14 11:57:50 +00:00
Rob Richards
3048cd7558 fix underlying issue for bug #38438 2006-08-14 11:29:15 +00:00
Antony Dovgal
cb9686b0e5 fix segfault and leak in ext/xmlrpc
add tests
2006-08-14 08:18:01 +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
Ilia Alshanetsky
baff4e0ab5 Fixed bug #38438 (DOMNodeList->item(0) segfault on empty NodeList) 2006-08-13 15:02:41 +00:00
Marcus Boerger
7d0b17fc67 - MFH Add link 2006-08-13 10:37:57 +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
Antony Dovgal
2eef59dc59 MFH: fix #38431 (xmlrpc_get_type() crashes PHP on objects) 2006-08-11 17:43:04 +00:00
Nuno Lopes
c45c9748dc fix #38402: wrong proto for Array*::offsetGet() 2006-08-11 17:05:23 +00:00
Ilia Alshanetsky
5b4ecd6028 MFB: Extend safe_mode/open_basedir checks to imap_reopen() as well. 2006-08-11 15:07:29 +00:00
Antony Dovgal
a6088ffc5a fix test 2006-08-11 10:35:22 +00:00
Ilia Alshanetsky
7dfae526c7 Fixed proto 2006-08-10 21:10:03 +00:00
Ilia Alshanetsky
2ce982b433 Fixed condition 2006-08-10 15:02:41 +00:00
Ilia Alshanetsky
a4d2f04307 Fixed overflow on 64bit systems in str_repeat() and wordwrap().
Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are
enabled.

# Patches by Stefan E.
2006-08-10 14:40:13 +00:00
Ilia Alshanetsky
e5fe441cbd Added support for httpOnly flag for session extension and cookie setting
functions.

# Original patch by Scott MacVicar
2006-08-10 13:50:56 +00:00
Antony Dovgal
1ec10ac8c7 typos in comments and other minor improvements 2006-08-10 13:43:18 +00:00
Antony Dovgal
ae61bb7bb8 improve connection character set detection:
* output a warning if invalid character set was passed to the function
* use NLS_LANG by default
2006-08-10 12:15:58 +00:00
Antony Dovgal
c9c05bece9 add support for NCLOBs
fix #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
2006-08-09 15:24:27 +00:00
Ilia Alshanetsky
43fca8a3f8 Fixed bug #38394 (PDO fails to recover from failed prepared statement
execution).
2006-08-09 14:45:00 +00:00
Antony Dovgal
946594bb6b MFH: fix #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable) 2006-08-09 12:15:43 +00:00
Antony Dovgal
e3cfc40cac fix leak on failure 2006-08-09 11:49:06 +00:00
Antony Dovgal
4c5691bd02 MFH: fix #8112 (Persistent connections misbehave when Apache process times out) 2006-08-09 10:16:50 +00:00
Michael Wallner
98d58a80c9 MFH: implement #38357 (dbase_open can't open DBase 3 dbf file) 2006-08-08 15:55:27 +00:00
Ilia Alshanetsky
d58b3869a7 Fixed bug #38377 (session_destroy() gives warning after
session_regenerate_id()).
2006-08-08 14:54:49 +00:00
Antony Dovgal
03ee807824 zend_hash_get_current_key_ex() returns string_len + 1, so we need to subtract 1 to get the real length 2006-08-08 13:12:00 +00:00
Pierre Joye
6dbb90af21 - fix compiler warnings 2006-08-08 11:56:36 +00:00
Pierre Joye
1f69ad5aa1 - compiler warnings 2006-08-08 10:36:58 +00:00
Antony Dovgal
1a4b715ef2 use memrchr/zend_memrchr instead of strrchr 2006-08-08 10:22:25 +00:00
Antony Dovgal
9596bda7fc add new test 2006-08-08 09:51:06 +00:00
Marcus Boerger
efc6ff0c39 - Test name must not be more than a single line 2006-08-07 23:28:05 +00:00
Pierre Joye
f6b6f0a2f9 - should not have been commited 2006-08-07 20:28:03 +00:00
Antony Dovgal
8a3002d933 fix types of the variables 2006-08-07 20:23:35 +00:00
Ilia Alshanetsky
194b309d2d Fixed memory leak with persistent connections 2006-08-07 17:32:13 +00:00
Ilia Alshanetsky
23a7a275ed Removed extra byte 2006-08-07 16:53:12 +00:00
Rob Richards
ee82fb781a should be RETURN_ not RETVAL_ 2006-08-07 10:15:12 +00:00
Rob Richards
65ae8773b5 asXML() needs to return bool when serializing doc and filename is passed in
do not copy the content of the outputbuffer twice in asXML()
fix compiler warnings
2006-08-07 10:09:52 +00:00
Antony Dovgal
4b77e7f2f7 nuke unused variable 2006-08-07 09:49:53 +00:00
Marcus Boerger
e038500be3 - Fix bug #38290 2006-08-07 07:57:12 +00:00
Antony Dovgal
b9b1984646 fix test 2006-08-06 20:17:51 +00:00
Antony Dovgal
1a58ec5156 add test 2006-08-06 20:10:19 +00:00
Christian Stocker
42982ac3a1 Fix #38354 (Unwanted reformatting of XML when using AsXML) 2006-08-06 19:38:45 +00:00
Antony Dovgal
07b5c8fe2a MFH: fix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement) 2006-08-06 17:41:51 +00:00
Antony Dovgal
861c55b417 long -> int 2006-08-06 14:09:58 +00:00
Marcus Boerger
444f1f2da3 - MFH Fix cvs access through SplFileObject 2006-08-06 13:47:51 +00:00
Antony Dovgal
218aa04f79 avoid extra strlen() call 2006-08-06 13:27:46 +00:00
Antony Dovgal
a1a42253d9 fix PECL bug #7827
add small optimization
2006-08-05 20:56:43 +00:00
Ilia Alshanetsky
305f597696 Improved fix for bug #37671 2006-08-04 22:13:59 +00:00
Ilia Alshanetsky
b20b73cdb1 Fixed bug #37265 (Added missing safe_mode & open_basedir checks to
imap_body()).
2006-08-04 20:31:19 +00:00
Antony Dovgal
d17c2ec46d add new test 2006-08-04 15:01:37 +00:00
Antony Dovgal
afcbbe2b86 MFH: fix #38322 (reading past array in sscanf() leads to arbitary code execution) 2006-08-04 11:50:15 +00:00
Antony Dovgal
00bc797b68 fix test 2006-08-04 08:11:47 +00:00
Antony Dovgal
60ea962aa3 fix leak in php_sapi_filter() 2006-08-03 19:35:23 +00:00
Ilia Alshanetsky
499ca00476 Fixed bug #38303 (spl_autoload_register() supress all errors silently). 2006-08-03 14:49:11 +00:00
Antony Dovgal
6112a1266a fix test 2006-08-02 23:29:17 +00:00
Antony Dovgal
5f6145b0fd fix ZTS build 2006-08-02 22:03:47 +00:00
Ilia Alshanetsky
4eecfca79c Fixed bug #38213, #37611, #37571 (wddx encoding fails to handle certain
characters).
2006-08-02 15:44:33 +00:00
Ilia Alshanetsky
e79e9fade6 Expose the xml_utf8_encode function. 2006-08-02 15:21:54 +00:00
Antony Dovgal
e5635a81af init variable, eliminate compile warning 2006-08-02 10:04:11 +00:00
Antony Dovgal
0c4ef446e2 MFH: fix #38289 (segfault in session_decode() when _SESSION is NULL) 2006-08-02 09:16:52 +00:00
Antony Dovgal
e17320651c MFH: implement my own FR #36995
add missing ifdefs
2006-08-01 22:42:11 +00:00
Michael Wallner
a5ddba6f80 - update test 2006-08-01 16:49:17 +00:00
Michael Wallner
efa04c8a22 MFH: use library error message on time string parse failure 2006-08-01 16:45:40 +00:00
Ilia Alshanetsky
7f52671781 Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). 2006-08-01 16:31:29 +00:00
Michael Wallner
68613beb3e MFH:
- fix leaks on multiple calls to DateTime::__construct()
 - throw exception on unparseable time strings in DateTime::__construct()
2006-08-01 15:55:03 +00:00
Ilia Alshanetsky
2b5a53d6b6 Fixed memory leak on unused bound name parameters. 2006-08-01 15:06:01 +00:00
Michael Wallner
5f7750c6e6 MFH:
- OO fixes:
  . no is_ref for objects in PHP5+
  . initialize objects when created with the `new` operator
  . check for proper initialization in child classes
 - fix typo: transistion -> transition
 - add test
2006-08-01 13:28:28 +00:00
Antony Dovgal
ad3ad9bb79 MFH: fix #38269 (fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled) 2006-08-01 13:28:03 +00:00
Antony Dovgal
1bf915ca2d improve error message on Win32 2006-08-01 12:08:25 +00:00
Antony Dovgal
52e6ede06e MFH: fix #38278 (session_cache_expire()'s value does not match phpinfo's session.cache_expire) 2006-08-01 08:32:07 +00:00
Ilia Alshanetsky
c6ace95236 Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature object
destruction).
2006-07-31 20:18:11 +00:00
Ilia Alshanetsky
624e5f83c8 Fixed tests from being always skipped. 2006-07-31 20:14:40 +00:00
Dmitry Stogov
1354aa9ef4 Prevented possible double call in case of fault 2006-07-31 15:31:01 +00:00
Dmitry Stogov
53025ca377 Fixed crash in SoapClient::__setSoapHeaders() 2006-07-31 13:41:34 +00:00
Christian Stocker
88dfe8cfd9 return false instead of null, if it's an invalid document 2006-07-31 13:05:35 +00:00
Christian Stocker
e53c538151 return true, if xsl import did work 2006-07-31 12:50:42 +00:00
Antony Dovgal
f5b5d34a27 MFH: fix #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC) 2006-07-31 10:30:23 +00:00
Ilia Alshanetsky
610b633096 Fixed compiler warning. 2006-07-31 03:41:20 +00:00
Pierre Joye
3786f956e6 - #36732, add req_extensions support to openssl_csr_new and _sign
(ben at psc dot edu)
- fix leaks in openssl_csr_new and sign
2006-07-31 00:33:42 +00:00
Antony Dovgal
aa1ced04cb MFH: fix #38173 (Freeing nested cursors causes OCI8 to segfault) 2006-07-30 20:51:24 +00:00
Pierre Joye
769174c2dc - #28382, add support for x509 extensions 2006-07-30 17:03:13 +00:00
Pierre Joye
5def392ce1 - 38261: openssl_x509_parse leaks with invalid certs 2006-07-30 16:26:20 +00:00
Antony Dovgal
71df07ac9a improve checks and fix #38251 2006-07-30 11:54:17 +00:00
Antony Dovgal
d056376bba MFH: fix compile warnings (#38257) 2006-07-30 11:34:02 +00:00
Antony Dovgal
168f53b72b fix bug #38253 (PDO produces segfault with default fetch mode)
add test
2006-07-30 11:19:56 +00:00
Georg Richter
0ba0abbd40 Added testcase for bug #37090 2006-07-30 11:03:30 +00:00
Pierre Joye
509761f96d - silent compiler warnings (signess) 2006-07-30 09:18:07 +00:00
Andrei Zmievski
3d7a1c3972 Make array_merge(_recursive) handle binary keys safely. (Patch by Matt W) 2006-07-30 03:31:18 +00:00
Pierre Joye
3a75600dbb - MFH: make the test more obvious and add an explanation 2006-07-29 23:03:56 +00:00
Pierre Joye
3fe91ed83f - vi happiness++ 2006-07-29 22:52:49 +00:00
Antony Dovgal
9d3233651d improve test 2006-07-29 22:41:20 +00:00
Pierre Joye
47db124cda - #38255, fails on array as well 2006-07-29 22:39:34 +00:00
Pierre Joye
06bd78d720 - forgot the tests 2006-07-29 22:27:55 +00:00
Pierre Joye
46b3f37810 - fix leak when the key is not a valid key (like false or an array) 2006-07-29 22:10:50 +00:00
Seiji Masugata
603846c985 fix tests. 2006-07-29 17:11:09 +00:00
Pierre Joye
5317b7050b - #8315, flaot is affected too 2006-07-29 12:43:21 +00:00
Pierre Joye
ab5c3f184b - #8315, NULL character stops the validation 2006-07-29 01:26:55 +00:00
Hannes Magnusson
3ca96c8043 Fix DateTime::RSS
Update tests
2006-07-28 16:32:31 +00:00
Ilia Alshanetsky
0de5728c82 cleanup of the phpinfo() output. 2006-07-28 14:27:03 +00:00
Ilia Alshanetsky
726dee9ee3 ext/standard/info.c ext/standard/info.h 2006-07-28 14:23:35 +00:00
Ilia Alshanetsky
3a78dce032 Cleanup phpinfo() output 2006-07-28 13:59:06 +00:00
Antony Dovgal
a76b852989 fix test 2006-07-28 13:47:56 +00:00
Antony Dovgal
a28a95c11a MFH: patch for #37846 (wordwrap() wraps incorrectly)
by Dmitry Kononov <ddk at krasn dot ru>
2006-07-28 12:23:18 +00:00
Ilia Alshanetsky
4c2d752fb1 Fixed a bug in the filter extension that prevented magic_quotes_gpc from
being applied when RAW filter is used.
2006-07-27 18:14:55 +00:00
Ilia Alshanetsky
96324fb67f An improved fix for bug #38224 2006-07-27 15:33:16 +00:00
Ilia Alshanetsky
bcc8854eaa make C++ compilers happy 2006-07-27 14:13:30 +00:00
Ilia Alshanetsky
dcb4b314bf removed debug code 2006-07-27 14:05:03 +00:00
Ilia Alshanetsky
e5a1182304 Fixed bug #38224 (session extension can't handle broken cookies). 2006-07-27 14:00:13 +00:00
Ilia Alshanetsky
af48ecfc87 Fixed bug #38229 (strtotime() does not parse YYYY-MM format). 2006-07-27 13:00:00 +00:00
Antony Dovgal
92f4cc359f MFH: fix leak in php_local_infile_init() handler 2006-07-27 10:53:15 +00:00
Antony Dovgal
ddb577b9b8 fix test on 64bit machines 2006-07-27 08:11:47 +00:00
Antony Dovgal
97ef557b97 initialize var 2006-07-27 08:00:54 +00:00
Antony Dovgal
bbf2ab4d45 fix build with Intel C Compiler 2006-07-27 07:39:30 +00:00
foobar
f58da213ff MFH: - Fixed bug #37164 (snmp_set_oid_numeric_print() misbehaves)
MFH:   . Renamed the function to snmp_set_oid_output_format() which describes
MFH:     it's behaviour better. Old one was left as an alias for it.
MFH:   . Added 2 new constants: SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC
MFH: - Fixed some memleaks
2006-07-27 05:17:34 +00:00
foobar
60562a6312 update credits 2006-07-27 01:21:27 +00:00
foobar
0bf6b23cb8 MFH: fix phpize build 2006-07-27 01:18:55 +00:00
Ilia Alshanetsky
b0ea656129 Fixed compiler warnings. 2006-07-27 00:36:55 +00:00
foobar
67a82e5106 MFH: - Fixed bug #37564 (AES privacy encryption not possible due to net-snmp 5.2 compatibility issue) 2006-07-26 23:57:43 +00:00
Pierre Joye
a7768dd36f - readability 2006-07-26 23:23:55 +00:00
Pierre Joye
e321c90522 - fix test 2006-07-26 23:22:53 +00:00
Ilia Alshanetsky
7b409b2276 Improved fix for bug #38132 2006-07-26 23:18:41 +00:00
Pierre Joye
bc11170217 - #38214, gif interlace never works 2006-07-26 10:03:09 +00:00
Pierre Joye
40c059b8fc - MFH: mv 38179.phpt to bug38179.phpt 2006-07-26 08:59:55 +00:00
Antony Dovgal
a0371df33f MFH: fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there 2006-07-26 08:57:44 +00:00
Pierre Joye
206ec1a06b - MFH #38212, Segfault on invalid imagecreatefromgd2part() parameters 2006-07-26 08:53:30 +00:00
Antony Dovgal
65626296da MFH: fix bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory) 2006-07-26 08:03:48 +00:00
Antony Dovgal
7987bba743 improve connection timeout check (implements FR #38210) 2006-07-26 06:59:40 +00:00
Hannes Magnusson
d5ec319367 MFH: Update protos & arginfo for memory_get_usage() & memory_get_peak_usage() 2006-07-25 16:41:04 +00:00
Michael Wallner
799ec9975b - ws 2006-07-25 14:44:53 +00:00
Ilia Alshanetsky
e11e2a137c Fixed bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key
names).
2006-07-25 14:06:52 +00:00
Dmitry Stogov
356facf4af Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system. 2006-07-25 13:40:05 +00:00
Antony Dovgal
ddf19dc81c move ext/hwapi to PECL 2006-07-25 13:24:19 +00:00
Antony Dovgal
a5aae5c45b ext/filepro moved to PECL 2006-07-25 12:52:18 +00:00
Ilia Alshanetsky
bd581ab476 Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the
class itself).
2006-07-25 12:34:38 +00:00
Antony Dovgal
e5f71c36af MFH: check g_hash for NULL before resetting it 2006-07-25 10:36:19 +00:00
Uwe Schindler
d6337819ba MFH: Fix compilation with TSRM (now correct) 2006-07-25 09:20:32 +00:00
Uwe Schindler
c1da9dbc8b revert shitty whitespace patch (forgot to reconfigure my editor after reinstallation) 2006-07-25 09:19:38 +00:00
Antony Dovgal
cff6e2b446 initialize variable 2006-07-25 09:06:55 +00:00
Uwe Schindler
c1ddf2c2ed Fix compilation with TSRM 2006-07-25 08:42:54 +00:00
Marcus Boerger
195417eb4d - MFH Update tests 2006-07-24 23:41:09 +00:00
Marcus Boerger
5da6415bfe - MFH Correctly handle binary proeprty names which are not mangled 2006-07-24 23:40:57 +00:00