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 © 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
Andrei Zmievski
8474838a9a
+1 for keys
2006-07-24 18:18:33 +00:00
Marcus Boerger
d0f2f6cd04
- MFH zend_unmangle_property_name(), drop zend_unmangle_property_name_ex()
2006-07-24 18:03:45 +00:00
Pierre Joye
53d297a7ea
- this one was not in
2006-07-24 17:26:24 +00:00
SVN Migration
664d102aa6
This commit was manufactured by cvs2svn to create branch 'PHP_5_2'.
2006-07-24 16:58:59 +00:00
Ilia Alshanetsky
60b2f49762
Fixed compiler warning.
2006-07-24 03:58:41 +00:00
foobar
1a8d655fec
fix build and typo after another lazy ass who does not test before commit: Dmitry
2006-07-24 00:01:02 +00:00
foobar
25f06142c2
MFH: cleanup after lazy people
2006-07-23 23:55:46 +00:00
foobar
93c0ddb2f3
MFH: fix compile failure and remove unnecessary TSRMLS_FETCH calls
2006-07-23 23:50:43 +00:00
Pierre Joye
261beb0326
- #38179 , imagecopy, palette to truecolor must use alpha channel too
2006-07-23 21:41:12 +00:00
Andrei Zmievski
bb430b3737
Gah.
2006-07-22 16:58:39 +00:00
Andrei Zmievski
d827c76379
Matt should be happy now.
2006-07-22 16:58:06 +00:00
Rob Richards
40e08311e5
MFH: enable by default
2006-07-22 15:33:02 +00:00
Nuno Lopes
ff591e2cf0
more const keywording
2006-07-22 15:22:56 +00:00
Nuno Lopes
5e7efb5ec9
dont create images in the php source root. output them instead
2006-07-22 15:15:53 +00:00
Pierre Joye
4219fe6c66
- hopla, before I got more conflicts ;)
...
(fix compiler warnings with latest const char changes)
2006-07-22 12:59:15 +00:00
Nuno Lopes
083b13335e
use const keyword where possible
2006-07-22 12:49:36 +00:00
Pierre Joye
3ce212ccae
- silent compiler warnings (char/unsigned char)
2006-07-22 09:39:24 +00:00
Pierre Joye
0714c1a3d5
- api shake #1 , parse_pararameter has to be changed too
2006-07-22 09:09:06 +00:00
Pierre Joye
697f4e1f08
- API Shake up #1 , use input type as first argument in input_get_args
...
(INPUT_GET/POST)
2006-07-22 08:58:03 +00:00
Andrei Zmievski
1223119155
MFH
2006-07-21 23:54:19 +00:00
Marcus Boerger
a6f8252f9b
- MFH Update docu
2006-07-21 21:55:43 +00:00
Marcus Boerger
6a738f6b5b
- MFH Match code with docu
2006-07-21 21:26:11 +00:00
Marcus Boerger
85963e6300
- MFH Update RegexIterator, Docu & Tests
2006-07-21 20:14:31 +00:00
Marcus Boerger
45d09c71ba
- Synch RegexIterator with HEAD
2006-07-20 22:54:21 +00:00
Marcus Boerger
6fb763c4f9
- MFH Clean up (after consulting Andrei)
...
. Change the handlers SPL uses to php_pcre_*_impl(pcre_cache_entry*,....)
. All refactored funcs (match, split, replace, grep) use the above
. Change (zend|php)_error() to php_error_docref()
. Move from old to new param parsing api
. Fix memleaks in unicode mode
2006-07-20 22:53:07 +00:00
Seiji Masugata
3e1c05170e
Initial commit. Updated bundled oniguruma library (used for multibyte regular expression) to 4.2.0.
2006-07-20 15:56:29 +00:00
Derick Rethans
150d058008
- MFH: Rename date classes to DateTime and DateTimeZone
2006-07-20 15:49:02 +00:00
Seiji Masugata
e95f9a0eeb
Updated bundled oniguruma library (used for multibyte regular expression) to 4.2.0.
2006-07-20 15:45:07 +00:00
Pierre Joye
d6c2c283ed
- make boolean logical filter works like int/float and php itself
...
- add more tests for boolean input
2006-07-20 12:58:13 +00:00
Antony Dovgal
f59a139f61
rephrase
2006-07-20 10:47:37 +00:00
foobar
68ae270793
MFH: simplify
2006-07-20 10:11:15 +00:00
foobar
34ae4eafd0
update
2006-07-20 10:09:09 +00:00
foobar
479055a85b
MFH
2006-07-20 10:07:29 +00:00
Antony Dovgal
3003cd2473
MFH: use E_WARNING on recursion and add null to the result to keep it valid
2006-07-20 09:33:28 +00:00
Antony Dovgal
60720d285f
MFH: ZTS fix
2006-07-20 09:19:02 +00:00
Antony Dovgal
3e308d3a6b
MFH: add recursion protection to json_encode() and new tests
2006-07-20 08:56:57 +00:00
Antony Dovgal
0b97d2bd60
fix segfault, add test
2006-07-20 08:24:31 +00:00
Antony Dovgal
074feedc2b
MFH
2006-07-20 07:40:49 +00:00
Antony Dovgal
efe0314db6
break; break; -> break;
2006-07-20 07:20:23 +00:00
Pierre Joye
92b6f24241
- fix tests for PI with libxml 2.6.24+, a new line is now added
2006-07-19 18:50:51 +00:00
Ilia Alshanetsky
cdfe00b801
Fixed compiler warnings and enable Json by default.
2006-07-19 16:17:15 +00:00
Michael Wallner
46f21b8a32
MFH: added error_get_last() function
2006-07-19 12:25:46 +00:00
Antony Dovgal
e8241e59ac
no need to fetch name and free it immediately after that
2006-07-19 08:35:55 +00:00
Antony Dovgal
28c9afe35d
fix tests
2006-07-19 08:26:50 +00:00
Antony Dovgal
4e8a4a4235
MFH: increase refcount when adding zval to the result array
2006-07-19 07:18:34 +00:00
Antony Dovgal
f61572e645
fix compile warnings
2006-07-19 06:57:21 +00:00
Ilia Alshanetsky
480104a456
Fixed memory leak
2006-07-18 22:42:28 +00:00
Antony Dovgal
9e905c3de7
MFH: add gmp_nextprime()
...
patch by ants dot aasma at gmail dot com
2006-07-18 14:54:32 +00:00
Derick Rethans
9ccbb28696
- Enable all new date functions and classes
2006-07-18 12:38:05 +00:00
Antony Dovgal
b45268a07a
fix test
2006-07-18 09:22:32 +00:00
Dmitry Stogov
29ed52ffa4
New memory manager
2006-07-18 09:06:33 +00:00
Ilia Alshanetsky
fea4eeb845
Added possible failure note.
2006-07-18 00:09:01 +00:00
Marcus Boerger
34cfec2536
- MFH Fix #38125 undefined reference to spl_dual_it_free_storage
2006-07-17 21:11:33 +00:00
Michael Wallner
c0fcaa7acb
- fix bug #37945 pathinfo() cannot handle argument with special characters
...
like german "Umlaute"
2006-07-17 20:36:47 +00:00
Pierre Joye
2a06ce8518
- #38112 , add test and use MAX_LWZ_BITS instead of the value
2006-07-17 14:30:21 +00:00
Pierre Joye
cb41a19f28
- sync tests with HEAD
2006-07-17 12:54:09 +00:00
Nuno Lopes
7a38509835
new test
2006-07-17 11:39:13 +00:00
Antony Dovgal
f3f44275f4
MFH
2006-07-17 06:45:08 +00:00
Seiji Masugata
1d6182a907
added option parameter mb_strrpos( ).
2006-07-17 04:48:17 +00:00
Marcus Boerger
109c89c848
- MFH Typo
2006-07-16 23:48:34 +00:00
Marcus Boerger
f2623f0b50
- MFH Update docu
2006-07-16 23:46:12 +00:00
Marcus Boerger
55f0596fab
- MFH:
...
. Upgrade RegexIterator capabilities, see docu
. Update docu
. Add test (which fails right now: iterator_049.phpt)
. Add tests for new functionality
2006-07-16 21:12:32 +00:00
Marcus Boerger
bf4c9ef686
- MFH: Little bit refactoring: Two new PHPAPI functions:
...
. php_pcre_match
. php_pcre_split
2006-07-16 21:09:30 +00:00
Nuno Lopes
717ca4ef55
new tests. almost 90% of code coverage
2006-07-16 19:35:09 +00:00
Marcus Boerger
bd760162e6
- MFH Correct test name
2006-07-16 17:34:37 +00:00
Christian Stocker
2dbcfcb8cb
improved code (after suggestion by helly)
2006-07-16 16:04:09 +00:00
Antony Dovgal
e79591b081
fix test
2006-07-16 15:59:08 +00:00
Christian Stocker
dc8ba6f475
Added DOMNode::getNodePath() for getting an XPath for a node.
2006-07-16 15:03:53 +00:00
Pierre Joye
17f6ae66ce
- #38112 , corrupt GIF segfaults, test will follow
2006-07-16 11:07:31 +00:00
Marcus Boerger
dc571fa9e2
- MFH Fixed Bug #29538 number_format and problem with 0
2006-07-16 10:50:58 +00:00
Marcus Boerger
f03f2c5eae
- MFH Pathinfo allows to get filename (Toby S, Christian S)
2006-07-16 10:37:24 +00:00
Marcus Boerger
9c30e20bd6
- MFH Implement todo: SplFileObject: ability to set the CSV separator per object
2006-07-15 15:08:41 +00:00
Marcus Boerger
bb3c702162
- MFH Fix issue with SplFileObject and directories
2006-07-15 13:01:59 +00:00
Marcus Boerger
31a8d6a6b3
- MFH array_fill_keys, better unicode support, use new param parsing API
2006-07-15 12:14:07 +00:00
Marcus Boerger
87c64280b0
- MFH Added array_fill_keys(). (Marcus, Mathew W)
2006-07-15 10:21:10 +00:00
Antony Dovgal
54dba635a3
rephrase the error message ( fixes #38106 )
2006-07-14 20:44:04 +00:00
Nuno Lopes
3876158e8f
fix test with some aspell versions
2006-07-14 16:14:05 +00:00
Ilia Alshanetsky
ab6d4d411a
Fixed test for systems where set_charset() method is unavailable.
2006-07-13 15:42:43 +00:00
Antony Dovgal
4902fc6c25
MFH: fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length)
...
add tests
2006-07-13 12:00:17 +00:00
Ilia Alshanetsky
1784db8087
Fixed compiler warnings.
2006-07-13 00:13:19 +00:00
Michael Wallner
33dbaff1ed
MFH: add note why replace is 0, so that I don't wonder again in 2 months
...
why session_regenerate_id() sends the session cookie twice
2006-07-12 15:28:44 +00:00
Antony Dovgal
f9070e626a
bailout on error and don't try to create fields of unknown type
...
add test
2006-07-12 13:08:38 +00:00
Antony Dovgal
69d6fe45c8
it's usually good idea to initialize variables
...
especially if you rely on their values
2006-07-12 12:38:49 +00:00
Antony Dovgal
3cce465528
fix invalid read - no need to compare strings if haystack is "" or shorter than needle
...
add test
2006-07-12 12:33:48 +00:00
Antony Dovgal
8a35e9d014
fix #38072 (boolean arg for mysqli_autocommit() is always true on Solaris)
2006-07-12 09:51:47 +00:00
Antony Dovgal
1f09c0b9d5
fix TSRM build
2006-07-12 09:33:37 +00:00
Dmitry Stogov
c48a2e38f4
Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding option)
2006-07-12 08:59:40 +00:00
Hartmut Holzgraefe
3fe315c652
MFH new test cases
2006-07-12 08:01:44 +00:00
Dmitry Stogov
b6d2c54059
Destructors call order is changed (Fixed bug #36759 - Objects destructors are invoked in wrong order when script is finished)
2006-07-12 07:55:17 +00:00
Hartmut Holzgraefe
e796974f6f
fixed C&P errors in groups handling, activated groups feature
2006-07-12 07:01:04 +00:00
Hartmut Holzgraefe
aca6460346
MFH
2006-07-11 23:45:28 +00:00
Hartmut Holzgraefe
ae749049f5
MFH make sure that embedded database is correctly initialized
2006-07-11 23:43:55 +00:00
Hartmut Holzgraefe
61e9783154
debug output was breaking all tests
2006-07-11 23:42:58 +00:00
Hartmut Holzgraefe
3e099a5983
MFH test for ping and kill methods
2006-07-11 23:35:38 +00:00
Ilia Alshanetsky
d21628f993
Fixed test
2006-07-11 22:13:53 +00:00
Antony Dovgal
7ff8061d0a
add new tests by Ligaya Turmelle
2006-07-11 21:28:38 +00:00
Antony Dovgal
40b87ec99f
MFH: /tmp is often a symlink, use /bin instead
2006-07-11 21:20:20 +00:00
Antony Dovgal
24d3381b10
fix typo, add new test
2006-07-11 16:33:25 +00:00
Dmitry Stogov
a602a3eef5
Nuke signed/unsigned compiler warnings
2006-07-11 14:35:50 +00:00
Dmitry Stogov
ee1dc90d1e
Nuke signed/unsigned compiler warnings
2006-07-11 14:24:18 +00:00
Antony Dovgal
b491930ef6
fix segfault in jdmonthname(), add test
2006-07-11 14:16:26 +00:00
Antony Dovgal
5e93a7df9a
eliminate compile warnings
2006-07-11 12:37:00 +00:00
Antony Dovgal
3aaf62d159
there is no Unicode in 5_2
2006-07-11 12:15:11 +00:00
Hartmut Holzgraefe
c1b67d83cc
(MFH) "transaction" tests should test commit, too, not only rollback
2006-07-10 16:29:50 +00:00
Dmitry Stogov
fbd3ef09ed
Fixed memory leaks in ext/spl/tests/fileobject_003.phpt
2006-07-10 15:47:58 +00:00
Hartmut Holzgraefe
836e74ebee
MFH
2006-07-10 14:06:13 +00:00
Dmitry Stogov
83ac79600e
Fixed bug #37947 (zend_ptr_stack reallocation problem)
2006-07-10 14:02:40 +00:00
Antony Dovgal
d9d23050d1
MFH: fix mysqli_*_free_storage() funcs to conform with their prototypes
2006-07-10 13:02:43 +00:00
Dmitry Stogov
26c7981ccf
Another fix for #38019
2006-07-10 12:46:28 +00:00
Antony Dovgal
3113fa9440
MFH: initialize vars
2006-07-10 11:26:22 +00:00
Dmitry Stogov
26499be68f
Fixed bug #38055 (Wrong interpretation of boolean parameters)
2006-07-10 10:33:43 +00:00
Dmitry Stogov
690e86fdb2
Fixed bug #38019 (segfault extending mysqli class)
2006-07-10 10:05:20 +00:00
Dmitry Stogov
795a482a48
Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules)
2006-07-10 07:41:33 +00:00
Hartmut Holzgraefe
098d3d2b02
MFH
2006-07-10 07:39:35 +00:00
Dmitry Stogov
1cfb8af265
Fixed test
2006-07-10 07:26:17 +00:00
Dmitry Stogov
c389a653f7
Fixed bug #38004 Parameters in SoapServer are decoded twice
2006-07-10 07:21:41 +00:00
Marcus Boerger
71efa5b435
- MFH Fixed bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute)
2006-07-10 00:18:53 +00:00
Marcus Boerger
c5ff44688a
- MFH Fix logic
2006-07-09 23:30:19 +00:00
Ilia Alshanetsky
ff08705591
Removed pointless declarations
2006-07-09 23:28:28 +00:00
Marcus Boerger
d26b539c61
- MFH DualIterator
2006-07-09 10:24:32 +00:00
Marcus Boerger
5fee10735f
- MFH Add spl_object_hash()
2006-07-09 10:22:27 +00:00
Marcus Boerger
0fd2b96204
- MFH Add test
2006-07-08 12:25:57 +00:00
Nuno Lopes
c26991a9eb
MFH
2006-07-08 00:13:17 +00:00
Hannes Magnusson
147840dd93
MFH: ReflectionFunction::isDisabled()
2006-07-07 11:55:23 +00:00
Ilia Alshanetsky
89635eb158
E_ERROR > E_RECOVERABLE_ERROR
2006-07-06 23:13:18 +00:00
Ilia Alshanetsky
278dc574f2
E_ERROR > E_RECOVERABLE_ERROR
2006-07-05 17:38:14 +00:00
Antony Dovgal
d90263437c
add test for bug #38003
2006-07-05 13:31:17 +00:00
Antony Dovgal
0f8f945418
MFH: fix bug #38003(in classes inherited from mysqli it's possible to call private constructors from invalid context)
2006-07-05 11:48:30 +00:00
SVN Migration
1b0a789ab9
This commit was manufactured by cvs2svn to create branch 'PHP_5_2'.
2006-07-05 10:12:43 +00:00
Ilia Alshanetsky
f0178f71ee
Eliminate some compiler warnings
2006-07-04 20:12:38 +00:00
Derick Rethans
d060a6e8a2
- MFH: Updated timezonedb to version 2006.7.
...
- MFH: Fixed test cases because of new constant values for the formats.
2006-07-04 18:13:58 +00:00
Hannes Magnusson
612e75442f
mfh
2006-07-04 15:37:34 +00:00
Hannes Magnusson
1d6e7e3d93
MFH: Fix protos&arginfo
2006-07-04 15:33:57 +00:00
Dmitry Stogov
d550c270ce
Fixed memory leak
2006-07-04 07:26:53 +00:00
Hannes Magnusson
a32fb32781
Make everyone happy
2006-07-03 22:42:03 +00:00
Ilia Alshanetsky
4a0d670f43
Fixed test
2006-07-03 21:58:46 +00:00
Hannes Magnusson
87bc74ea7a
fix tests
2006-07-03 16:03:51 +00:00
Nuno Lopes
919d737505
more testing
2006-07-03 14:46:44 +00:00
Nuno Lopes
9990b3f431
new tests and fix the locales test where the pt local isnt available.
2006-07-03 13:04:45 +00:00
Ilia Alshanetsky
1b2cc459c6
Fixed bug #37987 (invalid return of file_exists() in safe mode).
2006-07-02 13:51:40 +00:00
Hannes Magnusson
7af33194e5
MFH: arginfo fixes
2006-07-02 00:11:06 +00:00
Nuno Lopes
b7311e9173
fixed segfaults and such things within the new assert02.phpt test
2006-07-01 12:21:07 +00:00
Hannes Magnusson
6910275d51
MFH reference fixes
2006-06-30 18:17:38 +00:00
Antony Dovgal
a518b450fd
MFH: add error messages to disk_free_space() & disk_total_space() (feature request #37971 )
2006-06-30 10:53:11 +00:00
Ilia Alshanetsky
9048ae292c
Fixed test for situations where pspell_clear_session() is unavailable.
2006-06-29 22:54:31 +00:00
Antony Dovgal
6c37c9fa0a
fix test on AIX and Solaris
2006-06-29 22:45:19 +00:00
Ilia Alshanetsky
70f2bcf763
Fixed test
2006-06-29 22:42:25 +00:00
Hannes Magnusson
1c530aa7cb
Fix test on linux
2006-06-29 22:10:47 +00:00
Hannes Magnusson
3fd28953c6
mfh
2006-06-29 15:01:31 +00:00
Hannes Magnusson
77b307021d
fix test
2006-06-29 14:53:50 +00:00
Hannes Magnusson
7a6fe06e4b
url->URL
2006-06-29 14:40:49 +00:00
Hannes Magnusson
bcd06ef1b6
Bug #37961 (url should be URL)
2006-06-29 14:31:56 +00:00
Antony Dovgal
b8f97db580
MFH: make sure we won't get into endless loop
2006-06-29 09:03:27 +00:00
Antony Dovgal
6a43f6805c
add new tests
2006-06-29 09:00:33 +00:00
Ilia Alshanetsky
24ac7931cd
Improved safe_mode check for the error_log() function.
2006-06-28 22:08:42 +00:00
Antony Dovgal
0212ec6c71
MFH: fix #37931 (possible crash after database restart when using persistent connections)
2006-06-28 15:03:33 +00:00
Nuno Lopes
e8a3530d50
new tests (001.phpt is just a rename from the older one)
...
increases coverage from 20% to 70%
2006-06-28 14:36:23 +00:00
Ilia Alshanetsky
58c82af64d
Improved the error reporting in SOAP extension on request failure.
2006-06-27 23:32:56 +00:00
Nuno Lopes
38e47dd0bb
add new tests. bump code coverage to more than 80%
2006-06-27 22:43:26 +00:00
Hannes Magnusson
297a3d8e4c
arginof fixes
2006-06-27 22:14:18 +00:00
Hannes Magnusson
52fd069ff4
Fix arg info (php6 features)
2006-06-27 21:42:16 +00:00
Nuno Lopes
29b0798cc8
revert per Derick request
2006-06-27 21:00:03 +00:00
Nuno Lopes
5c97837ca2
add a couple of static and const keywords, to let the compiler optimize better
...
will MFB in a hour, or so
2006-06-27 19:48:01 +00:00
Antony Dovgal
7dec2a7354
more tests
2006-06-27 15:55:06 +00:00
Antony Dovgal
5f024dcc16
more date() tests
2006-06-27 15:08:16 +00:00
Hannes Magnusson
aaa1d62614
MFH: fix/add SKIPIF
2006-06-27 00:09:43 +00:00
Hannes Magnusson
000957818e
MFH: fix test
2006-06-26 23:42:59 +00:00
Antony Dovgal
8058f9fd11
add new tests
2006-06-26 23:35:22 +00:00
Antony Dovgal
e24fe395a2
MFH: zero-terminate strings produced with FORCE_DEFLATE
2006-06-26 23:22:58 +00:00
Antony Dovgal
3d97f45bc4
don't try to inflate empty strings (and stop segfaulting!)
2006-06-26 22:53:10 +00:00
Hannes Magnusson
fd1679e7f0
nuke obsolete arginfo
2006-06-26 22:47:31 +00:00
Hannes Magnusson
e06665c961
MFH: argument info
2006-06-26 22:41:22 +00:00
Hannes Magnusson
c9c2c0e1f8
MFH: test for bug #37244
2006-06-26 22:20:27 +00:00
Antony Dovgal
3d63ca3edc
add new tests, improve the old ones
2006-06-26 22:17:18 +00:00
Antony Dovgal
5d2d2fd5a3
MFH: detect empty mode string and avoid off-by-one
2006-06-26 21:13:46 +00:00
Hannes Magnusson
ec420c3df8
Updated protos & vim folding
2006-06-26 18:48:56 +00:00
Hannes Magnusson
5326a8b2bc
MFH: argument info for php_user_filter
...
Add tests
2006-06-26 17:23:39 +00:00
Hannes Magnusson
223d122cae
MFH: use the ZEND_ACC_DEPRECATED flag rather than custom warnings
2006-06-26 16:33:39 +00:00
Hannes Magnusson
d258bcd951
MFH: Removed obsolete arginfo include
2006-06-26 14:11:17 +00:00
Hannes Magnusson
ae1ec65637
Added SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML()
2006-06-26 13:41:52 +00:00
Dmitry Stogov
de85c9cd70
Fixed bug #37862 (Integer pointer comparison to numeric value)
2006-06-26 13:23:46 +00:00
Rasmus Lerdorf
862c4d2345
MFH: fix sapi_getenv() leak
2006-06-26 13:15:20 +00:00
Antony Dovgal
0b073cd34c
improve test file
...
don't forget to test invalid parameters etc.
2006-06-25 21:21:59 +00:00
Hannes Magnusson
d836ff68c8
WS fix
2006-06-25 21:08:28 +00:00
Hannes Magnusson
7b6bf33b03
MFH: image_type_to_mime_type()
2006-06-25 21:06:39 +00:00
Marcus Boerger
97062cade9
- MFH Fix ReflectionObject::getProperties() + dyn properties
2006-06-24 18:55:15 +00:00
Antony Dovgal
87dd729187
plug leak
2006-06-23 13:53:43 +00:00
Ilia Alshanetsky
f1d09682fb
Change E_ERROR to E_RECOVERABLE_ERROR
2006-06-23 11:37:53 +00:00
Antony Dovgal
1fdd8d7b2a
MFH: fix typo and bug #37886
2006-06-23 08:26:15 +00:00
Michael Wallner
68421695ac
- use %zu to format size_t
2006-06-23 07:30:26 +00:00
Antony Dovgal
6ccc1d1fb5
MFH: add wrappers for timelib_day_of_week_ex()
2006-06-22 21:04:32 +00:00
Antony Dovgal
47b41a5d6c
MFH:
...
don't try to parse empty string, return false immediately
(fixes off-by-one)
2006-06-22 18:44:31 +00:00
Ilia Alshanetsky
0d708dc358
Fixed compiler warnings.
2006-06-21 15:19:23 +00:00
Antony Dovgal
4b674fb7b0
MFH: improve check for stream mode, add tests
2006-06-21 14:38:28 +00:00
Antony Dovgal
8c30a7f8a6
MFH: don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2)
2006-06-21 13:12:37 +00:00
Antony Dovgal
e7439fa200
MFH: fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2)
2006-06-21 12:43:27 +00:00
Ilia Alshanetsky
f496f5014a
Removed pointless callbacks.
2006-06-20 22:39:15 +00:00
Nuno Lopes
b7bca610dd
make sure the test outputs what we want
2006-06-20 21:49:16 +00:00
Hannes Magnusson
748b589925
Renamed to bug37864.phpt
2006-06-20 19:33:31 +00:00
Hannes Magnusson
1332a14cfc
MFH
2006-06-20 19:32:59 +00:00
Antony Dovgal
959af2a28d
don't leave garbage in tmp dir
2006-06-20 18:55:46 +00:00
Hannes Magnusson
3674994be5
MFH: test for file_get_contents leaking on empty file
2006-06-20 18:48:56 +00:00
Hannes Magnusson
c14ba0f124
MFH: Missing header include
2006-06-20 18:04:25 +00:00
Antony Dovgal
3ff986ecf7
init vatiables
2006-06-20 13:26:01 +00:00
Antony Dovgal
eaf4ea2e74
MFH: nuke unused variables and init variables when needed
2006-06-20 13:21:16 +00:00
Antony Dovgal
44005b7986
fix test
2006-06-20 13:14:29 +00:00
Antony Dovgal
8df36aaf32
fix test
2006-06-20 13:06:50 +00:00
Ilia Alshanetsky
0406556da4
Added missing ifdef block.
...
# Thanks Mike
2006-06-19 23:52:39 +00:00
Antony Dovgal
ba8f17e483
MFH: display oci8 version in phpinfo()
2006-06-19 18:21:28 +00:00
Antony Dovgal
3ce8ccb6f2
fix #37848 (ext/odbc compile failure)
2006-06-19 16:13:15 +00:00
Antony Dovgal
20ee84dea6
MFH: fix #37807 (segmentation fault during SOAP schema import)
2006-06-19 11:43:45 +00:00
Ilia Alshanetsky
3b7be889d8
Added posix_initgroups() function.
2006-06-19 02:19:13 +00:00
Hannes Magnusson
aae5df3ffd
MFH: arg ifno
2006-06-17 13:06:06 +00:00
Hannes Magnusson
c6080567e2
Fix test
2006-06-17 12:51:02 +00:00
Nuno Lopes
aa48814378
change the timezone used (per Derick request)
...
add one string I missed yesterday. Now every strotime() rule is covered
2006-06-17 10:30:23 +00:00
Nuno Lopes
ca6e1bbcda
new tests. the .re file coverage increases to 96%. really good :)
2006-06-16 22:46:57 +00:00
Seiji Masugata
ee23aba678
changed GINIT definition.
2006-06-16 16:45:46 +00:00
foobar
4793980a8f
Fix build. (gmp_nextprime() was added in PHP 6!)
2006-06-16 00:14:35 +00:00
Rasmus Lerdorf
8ab6f3fd39
MFH: Optimize the other string conversion functions here to just create
...
raw text nodes.
2006-06-15 22:45:30 +00:00
Rasmus Lerdorf
12022014fa
MFH:
...
I don't think the call to xmlNodeSetContentLen() is needed here and
it is causing performance problems because it tries to parse the blob
and create a subtree. Because we are escaping the string anyway, we
are never going to get a subtree, but the entity parsing that is done
by xmlNodeSetContentLen() is killing performance on large blobs of
text. On one recent example it took a couple of minutes to parse
whereas if we just create a text node like this and set the contents
to the raw string it is down to milliseconds.
2006-06-15 20:49:05 +00:00
Dmitry Stogov
1dbaae2795
Added automatic module globals management
2006-06-15 18:33:09 +00:00
Nuno Lopes
c3ed91477a
fix bug #37800 : preg_replace() limit parameter odd behaviour
...
#this is a regression in PHP_5_2 and HEAD branches only
2006-06-15 15:33:25 +00:00
Hannes Magnusson
954acfe261
MFH: Revert array type hinting
2006-06-15 15:31:54 +00:00
Hannes Magnusson
f0d98ad3de
MFH: argument info..
2006-06-14 21:36:10 +00:00
Nuno Lopes
a943d234f5
fix memory leak uncovered by the pcre_extra.phpt test
2006-06-14 17:52:56 +00:00
Nuno Lopes
a7bc286638
more tests (and fix 2 from yesterday)
2006-06-14 17:37:53 +00:00
Nuno Lopes
7406f3771a
remove the pcre_dfa_exec.c file, as it is needed (we dont expose that API)
2006-06-14 16:26:22 +00:00
Ilia Alshanetsky
18870e3afc
E_ERROR -> E_RECOVERABLE_ERROR
2006-06-14 16:04:13 +00:00
Christian Stocker
d7fd19b7ff
MFH
...
Fix a segfault, when an unknown type was given and support all known xpath object types
2006-06-14 09:42:35 +00:00
Nuno Lopes
c93dc5d873
add new tests, increasing coverage by about 10%
2006-06-13 21:55:38 +00:00
Ilia Alshanetsky
b8bee35259
Removed unused variables.
2006-06-13 20:19:37 +00:00
Ilia Alshanetsky
3ff5fb0631
Fixed compiler warning
2006-06-12 23:28:32 +00:00
Ilia Alshanetsky
d74f9ff550
Improved performance of the implode() function on associated arrays by
...
200-300%.
2006-06-11 21:55:49 +00:00
Ilia Alshanetsky
66141bd5d1
Fixed ZTS build
2006-06-11 20:47:34 +00:00
Hannes Magnusson
dd2c03ca48
MFH: fix typo
2006-06-11 20:12:17 +00:00
Hannes Magnusson
21b0f60332
MFH: argument infos
2006-06-11 20:03:05 +00:00
Ilia Alshanetsky
f876b800a2
Fully print array() in phpinfo().
2006-06-11 16:27:16 +00:00
Hannes Magnusson
3104233019
MFH: arginfo, protos, vim folding
2006-06-11 01:42:17 +00:00
Hannes Magnusson
50de3fd1ce
MFH: fix test
2006-06-11 00:18:30 +00:00
Ilia Alshanetsky
37d88ca5a0
Improved performance of str_replace() when doing 1 char to 1 char or 1 char
...
to many chars replacement by 30-40%.
2006-06-10 15:29:06 +00:00
Hannes Magnusson
13fe33c2df
MFH
...
- Created new abstract class, ReflectionFunctionAbstract implementing Reflector
- Moved all methods from ReflectionFunction (except export, invoke & invokeArgs)
- ReflectionFunction now inherits everything from ReflectionFunctionAbstract
and implements its own export, invoke & invokeArgs methods
- ReflectionMethod now extends ReflectionFunctionAbstract and implements
its own export, invoke & invokeArgs methods.
- Removed stdClass typehint from ReflectionClass::isInstance
- Removed stdClass typehint from ReflectionClass::set/getValue
2006-06-10 00:40:57 +00:00
Derick Rethans
ddd8fd3e3d
- Fixed bug #37747 (strtotime segfaults when given "nextyear").
2006-06-08 16:27:05 +00:00
Marcus Boerger
44ba014c5f
- MFH Add arginfo (hannes)
2006-06-07 22:39:22 +00:00
Rasmus Lerdorf
76bff5194c
Put the TODO back
2006-06-07 21:14:04 +00:00
Rasmus Lerdorf
658762a0b5
Get rid of useless function calls
2006-06-07 21:09:52 +00:00
Antony Dovgal
9123bee257
MFH:
...
fix Unicode LOB problems using callbacks to read LOBs
using chunk_size*X buffer should speed up LOB reading a bit
many thanks to Massimo Squillace <msquillace at sogei dot it> for the patch.
2006-06-07 13:36:51 +00:00
Marcus Boerger
e0844e09bd
- MFH iterator_apply()
2006-06-07 09:44:42 +00:00
Marcus Boerger
1f93575c88
- MFH Add ReflectionClass::getInterfaceNames()
2006-06-07 09:26:11 +00:00
Ilia Alshanetsky
a9c6e4be1e
Fixed bug #37709 (Possible crash in PDO::errorCode()).
2006-06-07 03:33:16 +00:00
Antony Dovgal
e5c8f8c59b
yet another dummy clone_obj handler to fix problems created by ze1 compat mode
2006-06-06 22:05:56 +00:00
Antony Dovgal
a07500042d
implement a dummy clone_obj handler for ze1 compat mode
...
(fixes segfault on every XMLReader instantiation)
2006-06-06 21:44:34 +00:00
Michael Wallner
d6212d96f4
- only try to fetch stream context options if context is set
2006-06-06 21:38:03 +00:00
Antony Dovgal
928c20942b
plug a leak in ext/spl/tests/iterator_047.phpt
2006-06-06 20:11:35 +00:00
Rob Richards
704ed9625c
nuke unused call
2006-06-06 12:08:11 +00:00
Rob Richards
d6a526d66b
restore missing ze1 compat code
2006-06-06 12:05:30 +00:00
Ilia Alshanetsky
6ab23efb3a
Fixed bug #37705 (Semaphore constants not available).
2006-06-05 22:52:11 +00:00
Antony Dovgal
1b602e85d1
fix leak appearing on phpinfo() when there are no PDO modules available
2006-06-05 22:08:16 +00:00
Zeev Suraski
66b90c7052
Final ze1_compat restoration - it was mostly done by hand, so if anybody
...
spots any (new) problems, let me know. Test wise, the same tests that
failed before are failing now.
2006-06-05 16:53:21 +00:00
Antony Dovgal
a588f2dc60
MFH: fix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot com)
...
prevent username, password and new password from being empty
2006-06-05 07:35:32 +00:00
Ilia Alshanetsky
63a658ee7a
Fixed bug #37671 (MySQLi extension fails to recognize BIT column).
2006-06-04 14:56:34 +00:00
Marcus Boerger
ac2a29913c
- Add missing classes
2006-06-04 10:47:22 +00:00
Marcus Boerger
37f5474ce9
- MFH Use engine call to register interfaces (steph)
2006-06-04 10:34:22 +00:00
Marcus Boerger
dfd2295849
- Use engine call to register interfaces (steph)
2006-06-04 10:26:55 +00:00
Andrei Zmievski
5735927d86
I swear it wasn't me.
2006-06-03 18:56:44 +00:00
Rob Richards
a86232d9bb
MFH: add setIdAttribute, setIdAttributeNS and setIdAttributeNode functionality
2006-06-02 16:17:25 +00:00
Ilia Alshanetsky
5b5e7a4de9
Fixed compiler warning
2006-06-01 22:42:22 +00:00
Michael Wallner
6e2ff39e3e
- Fix bug #37630 : MySQL extensions should link against thread safe client libs if built with ZTS
2006-06-01 19:14:48 +00:00
Michael Wallner
c0505439c3
- Fixed bug #37363 (PDO_MYSQL does not build if no other mysql extension is
...
enabled)
2006-06-01 15:14:45 +00:00
Antony Dovgal
17ad6e2ebf
apply correct fix
2006-06-01 14:31:22 +00:00
Antony Dovgal
112f263591
MFH: suppress_errors is used only on Win32, no need to look for it on other systems
2006-06-01 14:03:49 +00:00
Antony Dovgal
0675e5eabb
MFH: nuke unused variable
2006-06-01 13:45:26 +00:00
Antony Dovgal
48098f0774
fix tests
2006-06-01 13:17:36 +00:00
Antony Dovgal
210335909a
MFH: no need to fetch trsm_ls when it's already available
2006-06-01 12:25:38 +00:00
Antony Dovgal
d5be48711a
MFH: add expected warning to the test
2006-05-31 20:40:11 +00:00
Derick Rethans
c116ecf207
- There was nothing wrong here, bug report #37595 is bogus.
...
- Added a new test case to demonstrate a longer plain text.
2006-05-31 20:09:07 +00:00
Antony Dovgal
47edd8a303
MFH: fix #37595 (mcrypt_generic calculates data length in wrong way)
2006-05-31 12:06:36 +00:00
Antony Dovgal
9246ba2a82
more test fixes, this time support Oracle 10
2006-05-30 22:34:16 +00:00
Antony Dovgal
c1272d8972
fix tests
2006-05-30 22:27:32 +00:00
Antony Dovgal
2817ddccf5
fix test
2006-05-30 21:54:42 +00:00
Antony Dovgal
bc5b8eabea
MFH
2006-05-30 21:38:12 +00:00
Sara Golemon
79b21ec4cf
MFH: Minor fixes (bjori)
2006-05-30 19:06:22 +00:00
Michael Wallner
258351c30a
- fix bug #37635 (parameter of pcntl signal handler is trashed)
2006-05-30 17:40:52 +00:00
Seiji Masugata
c314888c29
added mb_stristr( ), mb_strrichr( ).
2006-05-30 15:47:53 +00:00
Seiji Masugata
731584c076
added mb_strstr( ), mb_strrchr( ).
2006-05-30 15:45:35 +00:00
Seiji Masugata
42aadabfcb
added mb_stripos( ), mb_strripos( ).
2006-05-30 15:43:09 +00:00
Seiji Masugata
7314771a35
added mb_list_encodings_alias_names( ), mb_list_mime_names( ).
2006-05-30 15:40:39 +00:00
Seiji Masugata
91dd8376bd
added option parameter mb_list_encodings( ).
2006-05-30 15:38:22 +00:00
Hannes Magnusson
91d4ef33ef
MFH: Play nice, use 4digit years in DATE_RSS
2006-05-30 15:14:22 +00:00
Ilia Alshanetsky
5186ee9c59
Added memory_get_peak_usage() function for retrieving peak memory usage of
...
a PHP script.
2006-05-30 14:51:20 +00:00
Hannes Magnusson
61fc424321
MFH: Fixed DATE_COOKIE, DATE_RSS & tests
2006-05-30 14:46:46 +00:00
Antony Dovgal
bb4c7ff0e9
MFH: don't require libociei, this allows us to build ext/oci8 against basiclite OIC package
2006-05-30 13:16:48 +00:00
Derick Rethans
9a9cd86f38
- Now as text and not HTML.
2006-05-30 13:14:51 +00:00
Derick Rethans
fb92e33b5d
- MFH: Fixed bug #37616 : DATE_RFC822 does not product RFC 822 dates. (Patch by
...
Hannes Magnusson)
2006-05-30 13:12:21 +00:00
Antony Dovgal
e4a3732c91
no need to call zend_is_callable() if callable is known to be invalid
...
free fname on failure and plug possible leak
2006-05-30 09:46:59 +00:00
Ilia Alshanetsky
a400d8908d
Convert E_ERROR to E_RECOVERABLE_ERROR
2006-05-30 02:40:33 +00:00
Antony Dovgal
43b660b6ea
MFH: no need to check it for not-NULL
2006-05-29 21:31:49 +00:00
Antony Dovgal
70c643f5f0
fix tests
2006-05-29 21:08:02 +00:00
Antony Dovgal
fb696afd10
add test
2006-05-29 20:31:48 +00:00
Antony Dovgal
8ca3826a28
MFH: return NULL in case of error
2006-05-29 20:26:32 +00:00
Antony Dovgal
9e1b944989
MFH: improve sed expressions
2006-05-29 18:12:55 +00:00
Michael Wallner
3b407d143b
- Fixed bug #36949 (invalid internal mysqli objects dtor)
2006-05-29 16:53:56 +00:00
Antony Dovgal
be0fc2b801
MFH: fix #37531 (oci8 persistent connection corruption)
2006-05-29 10:59:30 +00:00
Antony Dovgal
ec68882101
add test
2006-05-29 10:42:54 +00:00
Antony Dovgal
be0b8c71bc
initialize srcstream
2006-05-29 10:39:59 +00:00
Antony Dovgal
1a63feffd1
MFH: prevent resource leaking when passing invalid stream resource as second argument
2006-05-29 10:24:49 +00:00
Georg Richter
10ed7a1e0a
Fix for bug #37620
2006-05-29 05:38:50 +00:00
Ilia Alshanetsky
1ad21d9b12
Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for recurssion
...
limit support).
2006-05-28 15:33:56 +00:00
Rob Richards
a7aa62ded1
MFH: add C14N() and C14NFile() methods to perform XML canonicalization
...
add test
2006-05-26 18:23:50 +00:00
Dmitry Stogov
10371b034a
Fixed bug #37523 (namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24)
2006-05-26 09:02:35 +00:00
Pierre Joye
59ddb74938
- fix leaks in openssl context options
2006-05-26 00:32:07 +00:00
Ilia Alshanetsky
b882f9f37e
Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters)
2006-05-25 22:54:16 +00:00
Michael Wallner
3dcef1b9be
- implement standard http stream wrapper options, fixes bug #34180
...
- skip empty headers in on_header_available()
2006-05-25 12:41:35 +00:00
Antony Dovgal
99e13c50f9
MFH: remove debug output and fix bug #37589
2006-05-25 11:46:38 +00:00
Marcus Boerger
7110650668
- Update test
2006-05-25 10:46:53 +00:00
Marcus Boerger
ec79dd793d
- MFH Bugfix 37587
2006-05-25 09:59:25 +00:00
Dmitry Stogov
93851ebf11
Fixed bug #37278 (SOAP not respecting uri in __soapCall)
2006-05-25 08:14:28 +00:00
Ilia Alshanetsky
53988d8cf5
Fixed bug #37563 (array_key_exists performance is poor for &$array).
2006-05-24 23:14:08 +00:00
Antony Dovgal
755caecfc9
fix test
2006-05-24 23:04:58 +00:00
Antony Dovgal
4cb3d18276
fix #37418 (tidy module crashes CLI version of PHP)
2006-05-24 21:22:13 +00:00
Antony Dovgal
fb32c077a2
fix #37499 (CLI segmentation faults during cleanup (only with sybase-ct extension enabled))
2006-05-24 20:21:02 +00:00
Marcus Boerger
1448086b22
- MFH Add more tests from Ligaya Turmelle
2006-05-23 23:47:44 +00:00
Marcus Boerger
59d2ce8258
- MFH Fix feof()
2006-05-23 22:31:25 +00:00
Marcus Boerger
200c627aeb
- MFH Sync with head (namespace prefix handling)
2006-05-23 22:24:44 +00:00
Marcus Boerger
64701cf42b
- MFH Bugfix #37565
2006-05-23 21:58:44 +00:00
Rob Richards
c384b34ae9
MFH: add registerNodeClass() method
...
- update attribute isID functionality
- add test
2006-05-22 17:12:26 +00:00
Rob Richards
3997d6663b
MFH: move document property struct from xml_common.h
2006-05-22 17:09:05 +00:00
Ilia Alshanetsky
e2c6d3edae
E_ERROR > E_RECOVERABLE_ERROR
2006-05-22 14:22:26 +00:00
Antony Dovgal
095162c3d4
re-enable OCILobRead2() support
2006-05-22 04:17:42 +00:00
Marcus Boerger
e3f89f116a
- MFH
...
. Make code exception safe
. Make RecursiveRegexIterator::getChildren pass regex to inner ctor
. Fix CachingIterator::__toString() in TOSTRING_USE_KEY mode
. Add CachingIterator::getCache()
. Add tests
2006-05-21 18:13:37 +00:00
Ilia Alshanetsky
24f3d55f3c
Added control character checks for cURL extension's open_basedir/safe_mode
...
checks.
2006-05-21 16:31:57 +00:00
Marcus Boerger
e145343b57
- MFH Handle corrupt base64 data in data: url
2006-05-21 13:37:19 +00:00
Marcus Boerger
96916c95e8
- MFH Sync with head fixes part of an issue with iterator_(to_array|count)
2006-05-20 21:01:42 +00:00
Antony Dovgal
25eca319fa
MFH: attempt to fix OCILobRead2() related problems
2006-05-20 13:46:59 +00:00
Derick Rethans
ab8329ec31
- Fixed bug #37514 (strtotime doesn't assume year correctly).
2006-05-19 14:52:30 +00:00
Michael Wallner
bea595aef9
- nuke compiler warnings
2006-05-19 14:19:27 +00:00
Antony Dovgal
c13ba99551
add new tests by Ligaya Turmelle
2006-05-19 07:44:24 +00:00
Dmitry Stogov
14f6b9149d
Optimized zend_try/zend_catch macroses (eliminated memcpy())
2006-05-19 06:09:15 +00:00
Ilia Alshanetsky
95875d9966
Fixed bug #37505 (touch() truncates large files).
2006-05-19 02:51:00 +00:00
Marcus Boerger
55041d6f3d
- MFH Add new test
2006-05-18 22:52:04 +00:00
Marcus Boerger
69079a7537
- MFH Add new test
2006-05-18 22:42:05 +00:00
Marcus Boerger
aa0172a4da
- MFH Fix bug #37510 session_regenerate_id changes session_id() even on failure
2006-05-18 22:12:26 +00:00
Marcus Boerger
5e5327a7e0
- MFH Add new test
2006-05-18 21:59:05 +00:00
Edin Kadribasic
51ed0ebad8
Use heap insted of stack for recursion in hope of avoid stack overflow crashes
2006-05-18 21:50:51 +00:00
Marcus Boerger
e33afedd96
- You shall not use %v in 5.*
...
# Even though it is there it is only meant for pecl dev to ease their pain
2006-05-18 21:48:33 +00:00
Marcus Boerger
7d79686f45
- MFH Fixed CachingIterator issues with string conversion/__toString()
...
Partly by adding new mode TOSTRING_USE_INNER
2006-05-18 21:42:58 +00:00
Antony Dovgal
749f4ac2ab
MFH: fix #37487 (oci_fetch_array() array-type should always default to OCI_BOTH)
2006-05-18 13:21:08 +00:00
Rob Richards
6f95fa95cc
add tests
2006-05-17 16:36:21 +00:00
Rob Richards
aebc5833a9
Synch from HEAD
...
- Fix bug #37456 (DOMElement->setAttribute() loops forever)
- update iterators for engine change merged from HEAD
2006-05-17 16:35:50 +00:00
Antony Dovgal
e2afb33e87
fix skip reason
2006-05-17 10:12:36 +00:00
Marcus Boerger
09b741ff47
- MFH Proto fix/add
2006-05-17 00:07:28 +00:00
Ilia Alshanetsky
ccad354535
Make filters without a resource throw E_RECOVERABLE_ERROR rather then
...
E_ERROR
2006-05-16 14:11:52 +00:00
Antony Dovgal
1feef82dc4
new mkdir tests
2006-05-16 13:06:06 +00:00
Marcus Boerger
26a67b8925
- MFH Fixed Bug #37457 (Crash when an exception is thrown in accept() method of FilterIterator)
2006-05-16 08:21:08 +00:00
Derick Rethans
7975b4eb0e
- MFH: Fixed windows compile error.
2006-05-15 08:54:16 +00:00
Antony Dovgal
bb82fb0530
MFH: disable OCILobRead2() support on Win32
2006-05-15 08:34:40 +00:00
Marcus Boerger
3577115118
- MFH Add strict compliant RFC2397 support (no //)
2006-05-14 18:40:12 +00:00
Derick Rethans
74dfa9f0ba
MFH:
...
- Implemented Dmitry's const patch.
- Added support for "weekday" as relative item.
- Fixed bug #37368 (Incorrect timestamp returned for strtotime()).
2006-05-14 17:36:05 +00:00
Ilia Alshanetsky
4ab6eb3d19
MFH: Fixed bug #36630 (umask not reset at the end of the request).
2006-05-14 16:06:48 +00:00
Marcus Boerger
5b44266a5f
- MFH RFC2397 decoding
2006-05-14 01:42:03 +00:00
Marcus Boerger
0c09d4cb63
- MFH RFC 2397 meta data handling
2006-05-14 01:06:09 +00:00
Marcus Boerger
2100a86198
- MFH Initial support for RFC2397
2006-05-13 17:58:58 +00:00
Rob Richards
8d1427dd98
MFH: add doXInclude property to allow processor to perform XIncludes
2006-05-12 18:53:40 +00:00
Antony Dovgal
046b34955c
MFH: fix #37416 (iterator_to_array() hides exceptions thrown in rewind() method)
2006-05-12 09:42:56 +00:00
Marcus Boerger
7bbab02633
- MFH
...
. Fix iterator based access
. Add new attribute ATTR_DEFAULT_FETCH_MODE: $bdh->setAttribute()
. Add new fetch mode: FETCH_PROPS_LATE, this fills object member
variables after calling the constructor (fixes #36428 ).
2006-05-11 22:43:44 +00:00
Antony Dovgal
ca923a2cae
fix test
2006-05-11 22:17:53 +00:00
Marcus Boerger
bf9f762b4d
- MFH: add new test
2006-05-11 22:17:42 +00:00
Edin Kadribasic
bbf97549b8
Remove pecl includes (Steph), except pdo_odbc which will remain broke
2006-05-11 21:43:59 +00:00
Marcus Boerger
05273a73d8
- Fix test
2006-05-11 21:01:04 +00:00
Antony Dovgal
8ee1c45a3b
fix test
2006-05-11 15:43:28 +00:00
Seiji Masugata
9b05e15e8a
fixed all mbstring setting information doesn't return in mb_get_info( ).
2006-05-11 14:42:12 +00:00
Marcus Boerger
ac3c882bb6
- Use of E_RECOVERABLE_ERROR
2006-05-11 08:06:22 +00:00
Rasmus Lerdorf
ed7ed1189b
This spelling mistake finally annoyed me enough to fix it.
2006-05-11 03:47:55 +00:00
Marcus Boerger
0dacd6d5c0
- ze1 cleanup (bjori) /thx
2006-05-10 19:41:34 +00:00
Rob Richards
1048c9cd52
Synch with HEAD
2006-05-10 19:38:35 +00:00
Frank M. Kromann
815d3169ba
Fix win32 build
2006-05-10 18:32:50 +00:00
Andrei Zmievski
9e0e89c5cf
Rename RegExIterator -> RegexIterator.
...
Also rename recursive one.
2006-05-10 16:50:57 +00:00
Rob Richards
f064d19f40
- Update after api changes
2006-05-10 14:39:10 +00:00
Ilia Alshanetsky
91bd50d1b0
Fixed bug #37394 (substr_compare() returns an error when offset equals
...
string length).
2006-05-10 13:07:15 +00:00
Rob Richards
aa38b5572e
Synch with HEAD
...
add readInnerXML, readOuterXML, readString, and setSchema functionality
allow parser options to be passed when loading reader
optimization: use xmlTextReader const functions for string properties
add test
2006-05-10 12:04:46 +00:00
Andrey Hristov
ac97b77ed9
Don't allocate 2 chunks of memory when one can fit. Reduces memory
...
fragmentation. There is one more place that fragments memory but it will
complicate the ongoing Unicode upgrade of mysqli so leaving it away for now.
2006-05-10 11:53:13 +00:00
Antony Dovgal
0881dbd101
MFH: fix #37392 (Unnecessary call to OCITransRollback() at the end of request)
2006-05-10 10:07:28 +00:00
Marcus Boerger
3a3e310e2e
- MFH: SplFileObject improvements
...
. FILE_OBJECT_READ_AHEAD: allow to read ahead
. FILE_OBJECT_SKIP_EMPTY: allow to skip empty lines (includes read ahead)
. FILE_OBJECT_READ_CSV: allow to read as csv
2006-05-10 00:31:04 +00:00
Marcus Boerger
982822be93
- Fix iterators part and add tests
2006-05-10 00:29:42 +00:00
Marcus Boerger
9afb3e041b
- Update after api changes
...
- MFH
. ArrayIterator/ArrayObject: function lookup caches and array functions
. Added RegExIterator, RecursiveRegExIterator
. Added (full) caching support for CachingIterator
2006-05-10 00:03:38 +00:00
Marcus Boerger
77c1b56cd7
- Update after api changes
2006-05-10 00:00:13 +00:00
Marcus Boerger
11f26c2c2a
- Tweak version check
2006-05-09 23:54:48 +00:00
Marcus Boerger
0de69fe97d
- MFH pcre_get_compiled_regex_cache() support
2006-05-09 23:53:40 +00:00
Andrei Zmievski
f9de2cc142
MFH
2006-05-09 18:29:26 +00:00
Georg Richter
d2dd99ded5
removed unused macro parameter
2006-05-09 11:26:09 +00:00
Georg Richter
d94467f7e8
moved zend_class_entry variables to mysqli.c
2006-05-08 16:19:43 +00:00
Brian France
39441f79e6
MFH: Add implementation of curl_multi_info_read
2006-05-08 15:29:28 +00:00
Andrey Hristov
818d2b7aee
tweaks and optimizations
...
#tested on 32b and 64b
2006-05-08 15:06:51 +00:00
Ilia Alshanetsky
79ebfe382b
Fixed memory leaks when working with cursors in PDO PostgreSQL driver.
2006-05-08 14:33:00 +00:00
Pierre Joye
3bad805e35
- more CS
2006-05-08 12:06:59 +00:00
Pierre Joye
4428076eae
- MFH: #37360 , bad gif size
2006-05-08 11:50:47 +00:00
Pierre Joye
570511c9b2
- CS (spaces > tabs)
2006-05-08 11:12:49 +00:00
Rasmus Lerdorf
65de977ea0
INSTALL_HEADERS takes absolute filenames there in the second arg.
...
This makes pecl/mailparse build again
2006-05-07 16:56:07 +00:00
Pierre Joye
52619b8427
- #37346 , invalid colormap format
2006-05-07 16:37:40 +00:00
Edin Kadribasic
18eb480dd2
MFH: Added pg_field_table() as per req: #36750
2006-05-07 00:28:32 +00:00
Ilia Alshanetsky
7e8409de8c
Fixed bug #37244 (Added strict flag to base64_decode() that enforces
...
RFC3548 compliance).
2006-05-06 22:47:14 +00:00
SVN Migration
608baa409a
This commit was manufactured by cvs2svn to create branch 'PHP_5_2'.
2006-05-05 15:49:42 +00:00
Antony Dovgal
25de341259
plug a leak
2006-05-04 22:48:29 +00:00
Antony Dovgal
ef0d7e3f58
MFH: several minor fixes: nuke compile warnings etc.
2006-05-04 19:00:11 +00:00
Sara Golemon
7e6beb9f28
Note addition of new class constants
2006-05-04 00:21:51 +00:00
Sara Golemon
91999f1175
mfh(r-1.129) Expose PARAM_EVT_* constants
2006-05-03 21:58:38 +00:00
Ilia Alshanetsky
fd2726641b
Revert previous optimization if preparation for 5.1.4
2006-05-03 13:32:10 +00:00
Pierre Joye
dbf2a5c65c
- document the --with-pdo-sqlite[=dir]
2006-05-03 11:12:54 +00:00
Rob Richards
f57c75112d
Fix bug #37277 (cloning Dom Documents or Nodes does not work)
...
Proper fix for bug #36859
add test
2006-05-03 08:43:04 +00:00
Dmitry Stogov
a34755e9cf
MFH
2006-05-03 06:36:02 +00:00
Ilia Alshanetsky
e95addcbfa
Attempt to increase smart_str performance through the use of larger
...
default buffers. Biased micro benchmarks show it makes sense :P
2006-05-02 13:52:24 +00:00
Wez Furlong
30f98ae77b
set min pdo dep to 1.0.3, which will be the new pecl release
2006-05-02 02:43:11 +00:00
Wez Furlong
7614368f8a
prep for pecl release
2006-05-02 02:32:40 +00:00
Wez Furlong
c1555236c9
tweak for better compatibility when building as SCE.
...
(library order is important)
2006-05-02 00:59:22 +00:00
Marcus Boerger
6f1a0f67ff
- Make SplTempFileObject work in 5.1
2006-05-01 16:02:07 +00:00
Wez Furlong
8f87235107
Add two new context options for ssl:
...
"capture_peer_cert" and "capture_peer_cert_chain"
If true, the peer certificate and peer certificate chain respectively will be
captured and made available in the ssl context variables "peer_certificate" and
"peer_certificate_chain" respectively. The certificates are exposed as x509
certificate resources and can be inspected using the existing openssl extension
functions.
This allows applications to perform extended validation.
2006-04-30 23:43:46 +00:00
Wez Furlong
ea2037a2d3
fix PECL #6544
2006-04-30 01:42:53 +00:00
Wez Furlong
07e11dcc4d
Fix #36632
2006-04-30 01:27:33 +00:00
Wez Furlong
aa5dbc8c92
Fix #35552
2006-04-30 00:52:28 +00:00
Moriyoshi Koizumi
522ce80071
- MFH: fix bug #37176 (iconv_strpos() fails to find a string)
2006-04-27 00:50:54 +00:00
Antony Dovgal
d18cd00657
fix tests
2006-04-25 22:09:46 +00:00
Antony Dovgal
0a38d6bd8c
remove nonexistent tag
2006-04-25 12:49:59 +00:00
Antony Dovgal
896a5216d7
fix possible substr_compare() crash
...
add new tests
2006-04-25 12:48:42 +00:00
Antony Dovgal
90b3dadc4e
fix #37191 (chmod takes off sticky bit when safe_mode is On)
2006-04-25 08:41:02 +00:00
Michael Wallner
1c02dff74a
- Fixed bug #37192 (cc fails on hash_adler.c:32)
2006-04-25 08:34:25 +00:00
Ilia Alshanetsky
a1bbdf831c
Fixed bug #37162 (wddx does not build as a shared extension).
...
#Patch By: jdolecek at NetBSD dot org
2006-04-23 16:02:05 +00:00
Antony Dovgal
b81e20f8e8
bah.. no UEXPECT in this branch..
2006-04-22 23:47:25 +00:00
Antony Dovgal
658b22ad6e
add test for #37158
2006-04-22 23:46:42 +00:00
Antony Dovgal
ea53739d30
MFB: don't segfault if an exception has been thrown from the fetch handler
2006-04-22 19:10:53 +00:00
Wez Furlong
64de59d9a7
avoid unterminated loop when closing the statement.
2006-04-22 16:35:18 +00:00
Michael Wallner
f7a6327728
- Fix reading stream filters never notified about EOF
2006-04-20 17:43:18 +00:00
Ilia Alshanetsky
09dec62672
Fixed tokenizer tests
2006-04-20 01:06:58 +00:00
Nuno Lopes
227ca46fb7
fix build with newer libtidy versions on windows
...
# first commit on php-src. whatch out :)
2006-04-19 21:47:20 +00:00
John Coggeshall
974dc0f5b4
Fixing static builds on windoze machines for our current lib version
2006-04-19 20:57:30 +00:00
Dmitry Stogov
68906dbe62
Cleaned up Andrei's patch for caching WSDL in process memory, added TTL and LIMIT for memory cache.
...
Memory cache is disblead by fefault because it is experemental and isn't tested enough. It can be enabled whit configuartion directive "soap.wsdl_cache = WSDL_CACHE_MEMORY" or "soap.wsdl_cache = WSDL_CACHE_BOTH" or derectly in SoapClent/SoapServer constructor: $ws = new SoapClient($wsdl, array("cache_wsdl"=>WSDL_CACHE_BOTH))
Disk and memory caches use the same TTL value - "soap.wsdl_cache_ttl".
Configuration directive "soap.wsdl_cache_limit" restricts the number of cached wsdl files in memory. Adding new files into full memory cache will delete oldest files from it.
Note that, each PHP process or thread uses it's own memory cache.
2006-04-19 10:48:54 +00:00
Antony Dovgal
9ea8d8dbf6
MFH: fix typo
2006-04-19 08:43:29 +00:00
Ilia Alshanetsky
1c0d8a536a
Fixed bug #29476 (sqlite_fetch_column_types() locks the database forever).
2006-04-18 14:30:16 +00:00
Dmitry Stogov
349bcd7443
Fixed bug #37083 (Frequent crashs in SOAP extension with new WSDL caching code in multithread WS). (Andrei, Dmitry)
2006-04-18 13:07:59 +00:00
Ilia Alshanetsky
101d925baa
Commit the actual fix
2006-04-18 00:31:45 +00:00
foobar
92da3229d4
MFH: Fixed bug #37103 (libmbfl headers not installed)
2006-04-17 22:13:56 +00:00
Sara Golemon
3ef88178e8
MFH(r-1.55) Fix 'soft line break' handling in convert.quoted-printable-decode
2006-04-17 19:26:04 +00:00
Andrei Zmievski
cfaf6406d7
Some encodings were assumed to be default and, thus, were not made
...
persistent.
2006-04-17 16:08:08 +00:00
Dmitry Stogov
7330c32329
Fixed several bugs in new "caching WSDL in memory" code
...
Re-enabled disk cache
2006-04-17 13:16:02 +00:00
Ilia Alshanetsky
74672b86b4
Fixed a typo in the previous patch.
...
# Thanks Tony
2006-04-16 17:40:33 +00:00
Ilia Alshanetsky
79d8f014da
Fixed bug #37045 (Fixed check for special chars for http redirects).
2006-04-16 16:54:49 +00:00
Antony Dovgal
522a5e128f
ok, let's make this test to work on all systems
...
currently it fails at least on Linux PPC and Solaris, probably because of different strncmp/strncasecmp implementations.
2006-04-14 20:30:11 +00:00
Marcus Boerger
011266f7e1
- MFH Fix properties access to children() result
2006-04-14 15:19:45 +00:00
Antony Dovgal
7c42ddb8e0
fix #37077 (stream_socket_server() leaks when the port is not allowed)
2006-04-14 10:00:55 +00:00
Dmitry Stogov
874a22101f
Fixed calling header functions through __call()
2006-04-14 09:11:29 +00:00
Antony Dovgal
af429910ef
AIX #define's accept as naccept
...
add a workaround
2006-04-13 13:21:43 +00:00
Antony Dovgal
65fcbcbdc0
fix bug #37061 (curl_exec() doesn't zero-terminate binary strings) - we get the data length from cURL, so it's binary safe.
...
fix leak appearing when re-using curl handle
2006-04-13 11:26:10 +00:00
Dmitry Stogov
f897cff480
Fixed bug #37054 (SoapClient Error Fetching http headers)
2006-04-13 08:18:36 +00:00
Antony Dovgal
46e0ede425
fix test title
2006-04-12 22:20:52 +00:00
Johannes Schlüter
9047558fe3
- MFH: Fix bug #37060 (Type of retval of Countable::count() is not checked)
2006-04-12 19:30:52 +00:00
Antony Dovgal
5751903b1b
fix #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW fields)
...
add tests
2006-04-12 19:21:35 +00:00
Antony Dovgal
2d2f1cf0c6
oops.. I didn't want to commit this..
2006-04-12 18:01:35 +00:00
Antony Dovgal
2e461783d0
correct fix for bug #37055
2006-04-12 17:59:32 +00:00
Antony Dovgal
a6e4f11cb1
add test
2006-04-12 15:18:38 +00:00
Antony Dovgal
195271dd23
fix #37057 (xmlrpc_decode() may produce arrays with numeric strings which are unaccessible)
2006-04-12 15:13:57 +00:00
Antony Dovgal
bac1fda336
fix #37055 (incorrect reference counting for persistent OCI8 connections)
2006-04-12 13:37:51 +00:00
Andrei Zmievski
6a4faee367
MFH
2006-04-11 21:33:46 +00:00
Antony Dovgal
47cb31b7df
add default timezone to the tests
2006-04-11 19:34:14 +00:00
Derick Rethans
4043f77e36
- MFH: Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones
...
identifiers). (Derick)
- MFH: Fixed bug #36988 (mktime freezes on long numbers). (Derick)
- MFH: Implemented better error and warning handling that is also used for the
date_parse() function.
- MFH: Fixed problems with "T" in front of a time string was seen as a time
zone string.
- MFH: Fixed a problem were 5 and 6 character timezone abbreviations where not
correctly parsed.
Experimental support (All MFH):
- Added the date_parse() function that returns a parsed date/time string
including warnings and errors.
- Added the timezone_name_from_abbr() function that exposes the guessing
mechanism that tries to find a timezone identifier from a timezone
abbreviation and GMT offset.
2006-04-11 18:03:52 +00:00
Ilia Alshanetsky
4bab5226b2
Fixed test
2006-04-10 23:48:10 +00:00
Marcus Boerger
45b64e7a99
- Coverity issue 59
2006-04-10 23:23:09 +00:00
Marcus Boerger
8bbf3a00dc
- MFH Fix potenbtioal SEGV
2006-04-10 19:51:55 +00:00
Marcus Boerger
3438469b84
- MFH Fix condition
2006-04-10 18:23:24 +00:00
Dmitry Stogov
07d7750487
Fixed bug #36908 (wsdl default value overrides value in soap request).
2006-04-10 13:29:48 +00:00
Dmitry Stogov
fabd954200
Fixed test
2006-04-10 12:50:02 +00:00
foobar
22a8c3113b
MFH: - Fixed bug #36909 (ld: Undefined symbols: _lchown)
2006-04-10 11:56:18 +00:00
Dmitry Stogov
c261351a97
ZTS fix
2006-04-10 10:11:06 +00:00
foobar
3110d15a00
update credits
2006-04-10 09:49:18 +00:00
Andrei Zmievski
06ef71fe3d
Speed up SoapClient/SoapServer constructors by caching WSDL structures
...
in memory. All WSDL files will be cached, unless turned off via an
option to the constructor.
2006-04-09 23:35:51 +00:00
Edin Kadribasic
1e33c4cc85
Fixed bug #36935
2006-04-09 23:14:47 +00:00
Ilia Alshanetsky
8afc859b55
*** empty log message ***
2006-04-09 17:57:27 +00:00
Wez Furlong
f83cfb77bf
be aware of PDO_ATTR_EMULATE_PREPARES
2006-04-09 08:17:50 +00:00
Wez Furlong
b9f85f37cc
Fixed Bug #36602 : persistent connections don't work with MySQL 5.0.3+.
...
Fixed PECL Bug #6262 ; correctly fallback to emulated statements
when the server version is too old.
Also include code to default to using emulated prepared statements, as these
can take advantage of the query cache. Since it's a bit late in the release
process to spring this on the masses, the default has not been changed. The
code is included so that it doesn't get lost.
2006-04-09 08:11:31 +00:00
Wez Furlong
687e6ffc58
Add "ATTR_EMULATE_PREPARES" general attribute to replace the custom
...
attributes employed by mysql and postgres drivers.
No functional change.
2006-04-09 08:05:01 +00:00
Wez Furlong
bb5f3aa012
This completes the fix for PECL #5827 ; we need to gobble up result sets in the
...
stmt dtor too.
2006-04-09 06:49:07 +00:00
Wez Furlong
0f4137fbd9
fix for PECL Bug #5827 .
...
We're responsible for gobbling up supplemental result sets in closeCursor()
(which is what PDO does for us if we didn't implement our own closer routine).
2006-04-09 06:41:42 +00:00
Antony Dovgal
e8270edf9d
fix memory corruptions and leaks when cloning ArrayObjects and ArrayIterators
2006-04-07 22:53:23 +00:00
Pierre Joye
3511649498
- revert last commit, something else went wrong
2006-04-07 14:04:36 +00:00
Pierre Joye
670ed5d93f
- fix leak when an error occured in socket_read, free tmpbuf
2006-04-07 13:33:55 +00:00
Ilia Alshanetsky
8625b42162
Adjusted credits file so that it appears properly on phpinfo()
2006-04-07 03:41:06 +00:00
Andrei Zmievski
4033bfbda0
I guess we only need this on HEAD.
2006-04-06 21:35:27 +00:00
Andrei Zmievski
d288f66c7c
Fix a bug that would not fill in the fifth argument to preg_replace()
...
properly, if the variable was not declared previously.
2006-04-06 21:10:45 +00:00
Antony Dovgal
ad7768ee63
fix #36981 (SplFileObject->fgets() ignores max_length)
2006-04-06 19:01:56 +00:00
Ilia Alshanetsky
8f7319a49f
Fixed safe_mode check for source argument of the copy() function.
2006-04-06 02:39:55 +00:00
Antony Dovgal
52296072e0
add new tests
2006-04-05 14:09:01 +00:00
Antony Dovgal
7522fb7272
add missing defines to .w32
2006-04-05 14:07:40 +00:00
Antony Dovgal
569ce842f1
fix #36934 (OCILob->read() doesn't move internal pointer when reading 0's)
2006-04-05 14:06:00 +00:00
Antony Dovgal
c0592d17e9
add test
2006-04-05 12:29:21 +00:00
Georg Richter
0944a47107
fixed bigint conversion on windows platforms
2006-04-05 12:17:08 +00:00
Ilia Alshanetsky
f0cf877a81
Fixed bug #36957 (serialize() does not handle recursion).
2006-04-05 02:28:06 +00:00
Marcus Boerger
c58e1fa5be
- MFH
...
. Fixed bug #36941 (ArrayIterator does not clone itself)
. Fixed SEGV when ArrayObject/Iterator use reference to self
. Added tests
2006-04-04 19:53:21 +00:00
Frank M. Kromann
5ccfa591b7
Fix #33694 invalid sql or timeouts makes it impossible to reuse persistent connections
2006-04-04 18:49:12 +00:00
Antony Dovgal
0f510a6a95
#ifdef new functions and use their bodies to make PECL extensions compile with PHP < 5.1.3
...
(as was agreed with Ilia)
2006-04-03 14:59:30 +00:00
Ilia Alshanetsky
3edb5a8b6d
Fixed an unlikely, but possible memory leak.
2006-04-03 13:46:11 +00:00
Antony Dovgal
bace0def1e
fix spelling in error messages:
...
greater/less thEn -> greater/less thAn
2006-04-03 09:14:33 +00:00
Georg Richter
b97b088800
fixed stmt property container and required status for error properties
2006-04-03 05:48:50 +00:00
Georg Richter
f8e6ffee30
Added additional information for compiled header files.
2006-04-02 09:40:19 +00:00
Antony Dovgal
9a59df13cc
fix segfault when assigning value by ref and add test
...
(I consider it's wrong that we can't do it, but we shouldn't segfault anyway)
2006-04-01 19:13:04 +00:00
Antony Dovgal
8ccdceb4db
fix compile failure with old GCC (see bug #36931 )
2006-03-31 11:11:12 +00:00
Marcus Boerger
ea9487249b
- Make readable
2006-03-30 21:57:28 +00:00
Marcus Boerger
193ae05edd
- MFH Add tests
2006-03-30 21:47:21 +00:00
Antony Dovgal
7fbb54f55c
nuke compile warning
2006-03-30 21:10:23 +00:00
Antony Dovgal
b6c9363f73
fix tests
2006-03-30 20:43:39 +00:00
Antony Dovgal
14aef92b2f
fix build: there is no TSRMLS_CC in this function
2006-03-30 19:58:18 +00:00
Ilia Alshanetsky
4aece8077c
Fixed XSS inside phpinfo() with long inputs.
2006-03-30 19:16:12 +00:00
Marcus Boerger
867f89e575
- MFH Return NULL instead of '' if node does not exist
2006-03-30 17:37:50 +00:00
Antony Dovgal
62ce6717ad
fix #36922 (missing MYSQLI_REPORT_STRICT constant in userspace)
2006-03-30 11:21:51 +00:00
Antony Dovgal
ad746130ad
fix typo
2006-03-29 16:29:53 +00:00
Antony Dovgal
59b8592c8c
fix bug #36898 (__set() leaks in classes extending internal ones)
...
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
to initialize and destroy zend_object structs
2006-03-29 14:28:43 +00:00
Dmitry Stogov
697c652001
Support for zend-myltibyte
2006-03-29 10:39:20 +00:00
Antony Dovgal
eab2f690fd
fix skip condition
2006-03-28 23:15:40 +00:00
Antony Dovgal
08e6fded56
prevent possible NULL dereference
2006-03-28 20:19:44 +00:00
Wez Furlong
6387d83a05
add a test case for bug 35671
2006-03-28 16:47:35 +00:00
Ilia Alshanetsky
77acc692fd
Fixed bug #36886 (User filters can leak buckets in some situations).
2006-03-28 16:01:04 +00:00
Antony Dovgal
ea22696fb9
fix tests
2006-03-28 09:12:45 +00:00
Antony Dovgal
6dc42ef117
fix #36851 (Documentation and code discrepancies for NULL data)
2006-03-28 09:12:18 +00:00
Yasuo Ohgaki
cdbe8b4fd8
reenable pg_execute E_WARNING
2006-03-28 00:28:02 +00:00
Ilia Alshanetsky
4ca3df56d3
Check 2nd parameter of tempnam() against path components.
2006-03-27 23:40:41 +00:00
Wez Furlong
c5df14364b
Fix for #36342 ; ODBC won't let you bind variables by buffer after "long"
...
columns.
We simply add a flag that indicates if we've seen any long columns and will
continue to bind the columns the slow way.
While we're at it, increase the maximum length of the column names that we can
handle.
2006-03-27 21:04:12 +00:00
Wez Furlong
fb7d5bd780
The fix for #35332 caused #35671 (and thus PECL #6504 ).
...
Partially back out that fix and introduce an extra optional step for drivers to
canonicalize the "name" that is used for registering parameters.
2006-03-27 20:51:01 +00:00
Yasuo Ohgaki
82376269fd
remove pg_execute() E_WARNING error when query plan is not defined
2006-03-27 02:59:55 +00:00
Andrey Hristov
0b02327267
kill the left unused variable
2006-03-26 21:10:13 +00:00
Andrey Hristov
dfd5b4fbf4
remove unnecessary memcpy, cast directly
2006-03-26 21:08:41 +00:00
Ilia Alshanetsky
a33d64e7b6
Fixed bug #36857 (Added support for partial content fetching to the HTTP
...
streams wrapper).
2006-03-26 17:12:05 +00:00
Marcus Boerger
a824bcf41d
- MFH: Make IteratorIterator base of most SPL iterators
2006-03-26 02:25:03 +00:00
Marcus Boerger
7b70ca475f
- Fix docu
2006-03-26 02:24:33 +00:00
Seiji Masugata
bf4ae10c36
fixed compiler warning.
2006-03-26 02:19:50 +00:00
Antony Dovgal
d085b37f66
fix #36859 (DOMElement crashes when calling __construct when clone'ing)
2006-03-26 00:23:25 +00:00
Georg Richter
65d704cb7c
fix and testcase for bug #36745
2006-03-24 12:10:39 +00:00
Antony Dovgal
bf3a7e12e1
add new tests
2006-03-24 12:08:53 +00:00
Georg Richter
f8183e2e97
fixed minor problems (thx to tony)
2006-03-24 10:58:52 +00:00
Georg Richter
b3a437fcc4
Fix for bug #36802 (server crashes with invalid/not opened connections)
...
Added status to mysqli_resource:
MYSQLI_STATUS_UNKNOWN
MYSQLI_STATUS_CLEARED (for future use)
MYSQLI_STATUS_INITIALIZED (after mysqli_init and mysqli_stmt_init)
MYSQLI_STATUS_VALID (for valid objects)
removed valid flag
changed MYSQLI_FETCH_RESOURCE
added last parameter __check which specifies the status
2006-03-24 09:32:24 +00:00
Dmitry Stogov
9e26f6c213
Fixed SoapFault::getMessage()
2006-03-24 08:45:54 +00:00
Marcus Boerger
ed43fd9b3b
- My eyes don't hurt anymore
2006-03-23 21:28:06 +00:00
Marcus Boerger
fe1c2cfc0f
- MFH
...
. spl_autoload_register() return bool to denote success/failure
. spl_autoload_unregister() acept any callable
2006-03-23 19:55:16 +00:00
Antony Dovgal
1ad4dd8795
return FALSE if driver doesn't support quoting (this is what docu says)
...
also fixed PECL bug #6365
2006-03-23 19:01:46 +00:00
Ilia Alshanetsky
3b1cb0e500
Added myself to PDO and PDO_MySQL credits
...
Added Wez to PDO_MySQL credits
Added Tony to Q&A team credits
Regenerated the credits file
2006-03-23 18:36:47 +00:00
Antony Dovgal
5f80bcaf26
add missing skipif sections
2006-03-23 15:03:27 +00:00
Antony Dovgal
e40df39518
fix typos
2006-03-23 14:56:12 +00:00
Marcus Boerger
1440bb5c7b
- MFH Add new test
2006-03-23 12:21:40 +00:00
Marcus Boerger
4b4d61952f
- MFH: Add new test
2006-03-23 11:57:34 +00:00
Marcus Boerger
660956b514
- Add missing bug title and synch with other tests
2006-03-23 11:48:59 +00:00
Dmitry Stogov
87ae2460d1
Fixed possible memory corruption
2006-03-23 11:42:32 +00:00
Marcus Boerger
dbe881d9c2
- Fix build
2006-03-23 10:44:39 +00:00
Pierre Joye
c4db88563f
- Fixed fetching of string value bigger than 128bytes when no options
...
are used
2006-03-23 01:24:36 +00:00
Antony Dovgal
1ce8546cd1
fix leak
2006-03-22 23:12:03 +00:00
Antony Dovgal
09fcf3162c
add test
2006-03-22 23:10:59 +00:00
Antony Dovgal
f7ce1d6260
prevent segfault when exception is thrown from Countable::count()
2006-03-22 22:05:51 +00:00
Antony Dovgal
32f611097f
fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
...
fix similar issue in offsetExists()
remove redundant semicolons
2006-03-22 21:56:40 +00:00
Antony Dovgal
8a58105f42
MFH: use set_time_limit(), this test takes forever on AIX
2006-03-22 19:27:47 +00:00
Antony Dovgal
6c101d6400
fix #36820 (Privileged connection with an Oracle password file fails)
2006-03-22 09:45:39 +00:00
Antony Dovgal
f9835c3786
change oci_field_type() to return VARCHAR2 instead of VARCHAR
...
(fixes feature request #36800 )
2006-03-21 15:47:31 +00:00
Ilia Alshanetsky
d76e149f0e
Fixed bug #36802 (mysqli_set_charset() crash with a non-open connection).
2006-03-21 15:35:28 +00:00
Antony Dovgal
7019b978a0
reimplement php_oci_lob_read() and fix PECL bug #5995
...
now the function dosn't try to read data by blocks, as this is nearly impossible
to do with Unicode and regular LOBs in the same time
2006-03-21 15:06:50 +00:00
Dmitry Stogov
1122f647d2
Fixed compatibility with auto_globals_jit
2006-03-21 12:26:57 +00:00
Dmitry Stogov
bafba669ad
Fixed bug #36721 (The SoapServer is not able to send a header that it didn't receive)
2006-03-21 12:04:55 +00:00
Rui Hirokawa
e8d320dd77
MFH
2006-03-21 07:56:28 +00:00
Rui Hirokawa
85019bf450
MFH.
2006-03-21 02:20:15 +00:00
Rui Hirokawa
fa3173bec3
*** empty log message ***
2006-03-21 02:10:55 +00:00
Rui Hirokawa
6912dab9eb
@added possible encoding attack detection by mb_get_info('illegalchars').
2006-03-21 01:58:27 +00:00
Ilia Alshanetsky
79e7432c97
Fixed bug #36689 (Removed arbitrary limit on the length of syslog messages).
2006-03-21 00:59:08 +00:00