]> granicus.if.org Git - php/log
php
18 years agofix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement)
Antony Dovgal [Sun, 6 Aug 2006 17:41:39 +0000 (17:41 +0000)]
fix #38347 (Segmentation fault when using foreach with an unknown/empty SimpleXMLElement)

18 years agolong -> int
Antony Dovgal [Sun, 6 Aug 2006 14:09:46 +0000 (14:09 +0000)]
long -> int

18 years ago- Fix cvs access through SplFileObject
Marcus Boerger [Sun, 6 Aug 2006 13:47:21 +0000 (13:47 +0000)]
- Fix cvs access through SplFileObject

18 years agoavoid extra strlen() call, we have the length of the data
Antony Dovgal [Sun, 6 Aug 2006 13:27:38 +0000 (13:27 +0000)]
avoid extra strlen() call, we have the length of the data

18 years ago- Fix test
Marcus Boerger [Sun, 6 Aug 2006 12:49:43 +0000 (12:49 +0000)]
- Fix test

18 years agoChangeLog update
<changelog@php.net> [Sun, 6 Aug 2006 01:30:57 +0000 (01:30 +0000)]
ChangeLog update

18 years agofix PECL bug #7827
Antony Dovgal [Sat, 5 Aug 2006 20:56:12 +0000 (20:56 +0000)]
fix PECL bug #7827
add small optimization - no need to do anything if hash lookup failed, just move along

18 years agoyet another appempt to fix Windows bug
Antony Dovgal [Sat, 5 Aug 2006 13:17:32 +0000 (13:17 +0000)]
yet another appempt to fix Windows bug
thanks Rob for the patch

18 years agoupdate tests
Rob Richards [Sat, 5 Aug 2006 12:35:35 +0000 (12:35 +0000)]
update tests
use binary strings for loadXML() method

18 years agounicode changes
Rob Richards [Sat, 5 Aug 2006 12:33:34 +0000 (12:33 +0000)]
unicode changes

18 years agoupdate tests
Rob Richards [Sat, 5 Aug 2006 12:32:54 +0000 (12:32 +0000)]
update tests
use binary strings for XML() method

18 years agoChangeLog update
<changelog@php.net> [Sat, 5 Aug 2006 01:31:02 +0000 (01:31 +0000)]
ChangeLog update

18 years agoSimplify strrchr().
Andrei Zmievski [Fri, 4 Aug 2006 23:20:04 +0000 (23:20 +0000)]
Simplify strrchr().

18 years agoMFB: Improved fix for bug #37671
Ilia Alshanetsky [Fri, 4 Aug 2006 22:14:10 +0000 (22:14 +0000)]
MFB: Improved fix for bug #37671

18 years agoUpgrade pathinfo() to Unicode support.
Andrei Zmievski [Fri, 4 Aug 2006 21:06:11 +0000 (21:06 +0000)]
Upgrade pathinfo() to Unicode support.

18 years agoAdd add_assoc_zstr_ex() and related.
Andrei Zmievski [Fri, 4 Aug 2006 21:05:59 +0000 (21:05 +0000)]
Add add_assoc_zstr_ex() and related.

18 years agoI believe Rob indicated that XML() should take strictly a binary string.
Andrei Zmievski [Fri, 4 Aug 2006 20:59:36 +0000 (20:59 +0000)]
I believe Rob indicated that XML() should take strictly a binary string.

18 years agorevert previous patch, it's wrong
Antony Dovgal [Fri, 4 Aug 2006 20:54:44 +0000 (20:54 +0000)]
revert previous patch, it's wrong

18 years agoMFB: Fixed bug #37265 (Added missing safe_mode & open_basedir checks to
Ilia Alshanetsky [Fri, 4 Aug 2006 20:34:37 +0000 (20:34 +0000)]
MFB: Fixed bug #37265 (Added missing safe_mode & open_basedir checks to
imap_body()).

18 years agoadd unicode support
Rob Richards [Fri, 4 Aug 2006 18:11:27 +0000 (18:11 +0000)]
add unicode support
update test

18 years agoupdated to use new modifier to specify converter
Rob Richards [Fri, 4 Aug 2006 18:10:02 +0000 (18:10 +0000)]
updated to use new modifier to specify converter

18 years agoUpgrade dirname() to support IS_UNICODE.
Andrei Zmievski [Fri, 4 Aug 2006 18:09:46 +0000 (18:09 +0000)]
Upgrade dirname() to support IS_UNICODE.

18 years agoAdd macros to be able to initialize/return values based on zstr.
Andrei Zmievski [Fri, 4 Aug 2006 18:08:31 +0000 (18:08 +0000)]
Add macros to be able to initialize/return values based on zstr.

18 years agoOne fewer walks needed.
Andrei Zmievski [Fri, 4 Aug 2006 18:02:20 +0000 (18:02 +0000)]
One fewer walks needed.

18 years agoAdd Unicode constants for default slash and directory separator.
Andrei Zmievski [Fri, 4 Aug 2006 17:29:15 +0000 (17:29 +0000)]
Add Unicode constants for default slash and directory separator.

18 years agoScan through all the modifiers at once, setting flags.
Andrei Zmievski [Fri, 4 Aug 2006 17:02:17 +0000 (17:02 +0000)]
Scan through all the modifiers at once, setting flags.

18 years agoFix '&' handling. (patch by Rob R)
Andrei Zmievski [Fri, 4 Aug 2006 16:58:29 +0000 (16:58 +0000)]
Fix '&' handling. (patch by Rob R)

18 years agoadd new test
Antony Dovgal [Fri, 4 Aug 2006 15:01:29 +0000 (15:01 +0000)]
add new test

18 years agofix compile
Rob Richards [Fri, 4 Aug 2006 13:40:12 +0000 (13:40 +0000)]
fix compile

18 years agofix #38322 (reading past array in sscanf() leads to arbitary code execution)
Antony Dovgal [Fri, 4 Aug 2006 11:49:18 +0000 (11:49 +0000)]
fix #38322 (reading past array in sscanf() leads to arbitary code execution)

18 years agocomparing libxml documents and nodes is not yet possible and we can't fix it
Antony Dovgal [Fri, 4 Aug 2006 08:11:39 +0000 (08:11 +0000)]
comparing libxml documents and nodes is not yet possible and we can't fix it
fix test instead

18 years agoUnicode support
Dmitry Stogov [Fri, 4 Aug 2006 07:38:21 +0000 (07:38 +0000)]
Unicode support

18 years ago- MFB: Bison 2.3 is working as well.
Derick Rethans [Fri, 4 Aug 2006 06:49:28 +0000 (06:49 +0000)]
- MFB: Bison 2.3 is working as well.

18 years agoChangeLog update
<changelog@php.net> [Fri, 4 Aug 2006 01:30:52 +0000 (01:30 +0000)]
ChangeLog update

18 years agoAdd IS_U_SLASH_* macros to test for path separator chars.
Andrei Zmievski [Thu, 3 Aug 2006 23:56:46 +0000 (23:56 +0000)]
Add IS_U_SLASH_* macros to test for path separator chars.

18 years agoUpgraded basename() to work on IS_UNICODE strings as well.
Andrei Zmievski [Thu, 3 Aug 2006 23:45:27 +0000 (23:45 +0000)]
Upgraded basename() to work on IS_UNICODE strings as well.

18 years ago- Adjusted php_u_strtoupper/php_u_strtolower/php_u_strtotitle API to be
Andrei Zmievski [Thu, 3 Aug 2006 23:09:29 +0000 (23:09 +0000)]
- Adjusted php_u_strtoupper/php_u_strtolower/php_u_strtotitle API to be
  more sane.
- Upgrade strtoupper(), strtolower(), strtotitle() to use params API.

18 years agoUpdate similar_text() to use params API.
Andrei Zmievski [Thu, 3 Aug 2006 21:46:16 +0000 (21:46 +0000)]
Update similar_text() to use params API.

18 years agofix leak in php_sapi_filter()
Antony Dovgal [Thu, 3 Aug 2006 19:35:14 +0000 (19:35 +0000)]
fix leak in php_sapi_filter()

18 years agoUnicode support.
Dmitry Stogov [Thu, 3 Aug 2006 16:13:06 +0000 (16:13 +0000)]
Unicode support.

18 years agoMFB: Fixed bug #38303 (spl_autoload_register() supress all errors
Ilia Alshanetsky [Thu, 3 Aug 2006 14:53:51 +0000 (14:53 +0000)]
MFB:  Fixed bug #38303 (spl_autoload_register() supress all errors
silently).

18 years agofix #38276 (file_exists() works incorrectly with long filenames on Windows)
Antony Dovgal [Thu, 3 Aug 2006 14:16:56 +0000 (14:16 +0000)]
fix #38276 (file_exists() works incorrectly with long filenames on Windows)
aka "Ilia forgot to MFB fix for #31347"

18 years agoAdded version specific registry keys to allow different configurations for different...
Dmitry Stogov [Thu, 3 Aug 2006 13:54:20 +0000 (13:54 +0000)]
Added version specific registry keys to allow different configurations for different php version.

18 years agoIn addtion to path to php.ini, PHPRC now may specify full file name
Dmitry Stogov [Thu, 3 Aug 2006 11:05:09 +0000 (11:05 +0000)]
In addtion to path to php.ini, PHPRC now may specify full file name

18 years agomake it consistent
Antony Dovgal [Thu, 3 Aug 2006 10:57:13 +0000 (10:57 +0000)]
make it consistent

18 years agoimprove error message
Antony Dovgal [Thu, 3 Aug 2006 10:52:15 +0000 (10:52 +0000)]
improve error message

18 years agoAdded "PHPINIDir" Apache directive to apache and apache_hooks SAPIs
Dmitry Stogov [Thu, 3 Aug 2006 09:57:05 +0000 (09:57 +0000)]
Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs

18 years agoChangeLog update
<changelog@php.net> [Thu, 3 Aug 2006 01:30:51 +0000 (01:30 +0000)]
ChangeLog update

18 years agofix test
Antony Dovgal [Wed, 2 Aug 2006 23:29:09 +0000 (23:29 +0000)]
fix test

18 years agofix build
Antony Dovgal [Wed, 2 Aug 2006 22:02:12 +0000 (22:02 +0000)]
fix build

18 years agoA few fixes noted during analysis.
Andrei Zmievski [Wed, 2 Aug 2006 21:53:43 +0000 (21:53 +0000)]
A few fixes noted during analysis.

18 years agoNotes after analyzing remainder of string.c.
Andrei Zmievski [Wed, 2 Aug 2006 21:51:43 +0000 (21:51 +0000)]
Notes after analyzing remainder of string.c.

18 years agobin2hex() should accept only binary strings.
Andrei Zmievski [Wed, 2 Aug 2006 20:38:39 +0000 (20:38 +0000)]
bin2hex() should accept only binary strings.

18 years ago*** empty log message ***
Andrei Zmievski [Wed, 2 Aug 2006 20:31:51 +0000 (20:31 +0000)]
*** empty log message ***

18 years agoMake string comparison functions conver to unicode or printable strings
Andrei Zmievski [Wed, 2 Aug 2006 20:31:40 +0000 (20:31 +0000)]
Make string comparison functions conver to unicode or printable strings
depending on unicode.semantics and do the right thing.

18 years agoSome updates.
Andrei Zmievski [Wed, 2 Aug 2006 19:54:48 +0000 (19:54 +0000)]
Some updates.

18 years ago*** empty log message ***
Andrei Zmievski [Wed, 2 Aug 2006 19:49:32 +0000 (19:49 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Andrei Zmievski [Wed, 2 Aug 2006 17:36:40 +0000 (17:36 +0000)]
*** empty log message ***

18 years agoAdd '&' modifier (for 's' type) that will apply the specified converter
Andrei Zmievski [Wed, 2 Aug 2006 17:36:28 +0000 (17:36 +0000)]
Add '&' modifier (for 's' type) that will apply the specified converter
during conversion of Unicode strings.

18 years agoMFB: Fixed bug #38213, #37611, #37571 (wddx encoding fails to handle certain
Ilia Alshanetsky [Wed, 2 Aug 2006 15:45:29 +0000 (15:45 +0000)]
MFB: Fixed bug #38213, #37611, #37571 (wddx encoding fails to handle certain
characters).

18 years agoMFB: Expose the xml_utf8_encode function.
Ilia Alshanetsky [Wed, 2 Aug 2006 15:22:56 +0000 (15:22 +0000)]
MFB: Expose the xml_utf8_encode function.

18 years agoinit variable, eliminate compile warning
Antony Dovgal [Wed, 2 Aug 2006 10:04:02 +0000 (10:04 +0000)]
init variable, eliminate compile warning

18 years agofix #38289 (segfault in session_decode() when _SESSION is NULL)
Antony Dovgal [Wed, 2 Aug 2006 09:15:13 +0000 (09:15 +0000)]
fix #38289 (segfault in session_decode() when _SESSION is NULL)

18 years agozts fix
Dmitry Stogov [Wed, 2 Aug 2006 07:54:41 +0000 (07:54 +0000)]
zts fix

18 years agoFix leaks.
Andrei Zmievski [Wed, 2 Aug 2006 02:11:56 +0000 (02:11 +0000)]
Fix leaks.

18 years agoChangeLog update
<changelog@php.net> [Wed, 2 Aug 2006 01:30:59 +0000 (01:30 +0000)]
ChangeLog update

18 years agoimplement my own FR #36995
Antony Dovgal [Tue, 1 Aug 2006 22:41:33 +0000 (22:41 +0000)]
implement my own FR #36995
nuke unused variable

18 years agoAdd SORT_LOCALE_STRING support to array_multisort() and mark it with U.
Andrei Zmievski [Tue, 1 Aug 2006 22:28:26 +0000 (22:28 +0000)]
Add SORT_LOCALE_STRING support to array_multisort() and mark it with U.

18 years agoWhew. Fix up extract to params API, Unicode support, and simplify it as
Andrei Zmievski [Tue, 1 Aug 2006 21:50:44 +0000 (21:50 +0000)]
Whew. Fix up extract to params API, Unicode support, and simplify it as
well.

18 years agoFix off-by-one error in zend_case_fold_string().
Andrei Zmievski [Tue, 1 Aug 2006 21:49:57 +0000 (21:49 +0000)]
Fix off-by-one error in zend_case_fold_string().

18 years agoRewrite IS_LONG, IS_DOUBLE, and IS_RESOURCE to IS_UNICODE conversion to
Andrei Zmievski [Tue, 1 Aug 2006 17:47:24 +0000 (17:47 +0000)]
Rewrite IS_LONG, IS_DOUBLE, and IS_RESOURCE to IS_UNICODE conversion to
use custom functions instead of u_sprintf() which is terribly slow at
the moment (for numbers). Now long-to-unicode is only 8% slower than
long-to-binary and double-to-unicode is actually 6% faster.

18 years ago- update test
Michael Wallner [Tue, 1 Aug 2006 16:49:08 +0000 (16:49 +0000)]
- update test

18 years ago- use library error message on time string parse failure
Michael Wallner [Tue, 1 Aug 2006 16:45:24 +0000 (16:45 +0000)]
- use library error message on time string parse failure

18 years agoFixed build (added missing functions)
Ilia Alshanetsky [Tue, 1 Aug 2006 16:37:11 +0000 (16:37 +0000)]
Fixed build (added missing functions)

18 years agoMFB: Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters).
Ilia Alshanetsky [Tue, 1 Aug 2006 16:32:30 +0000 (16:32 +0000)]
MFB: Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters).

18 years agoUnicode support
Dmitry Stogov [Tue, 1 Aug 2006 16:10:25 +0000 (16:10 +0000)]
Unicode support

18 years ago- fix leaks on multiple calls to DateTime::__construct()
Michael Wallner [Tue, 1 Aug 2006 15:54:45 +0000 (15:54 +0000)]
- fix leaks on multiple calls to DateTime::__construct()
- throw exception on unparseable time strings in DateTime::__construct()
# I guess I'm done now

18 years agoMFB: Fixed memory leak on unused bound name parameters.
Ilia Alshanetsky [Tue, 1 Aug 2006 15:06:12 +0000 (15:06 +0000)]
MFB: Fixed memory leak on unused bound name parameters.

18 years ago- OO fixes:
Michael Wallner [Tue, 1 Aug 2006 13:27:41 +0000 (13:27 +0000)]
- 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

18 years agofix #38269 (fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled)
Antony Dovgal [Tue, 1 Aug 2006 13:26:56 +0000 (13:26 +0000)]
fix #38269 (fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled)

18 years agoimprove error message on Win32
Antony Dovgal [Tue, 1 Aug 2006 12:08:10 +0000 (12:08 +0000)]
improve error message on Win32

18 years agofix #38278 (session_cache_expire()'s value does not match phpinfo's session.cache_expire)
Antony Dovgal [Tue, 1 Aug 2006 08:31:37 +0000 (08:31 +0000)]
fix #38278 (session_cache_expire()'s value does not match phpinfo's session.cache_expire)

18 years agoChangeLog update
<changelog@php.net> [Tue, 1 Aug 2006 01:30:53 +0000 (01:30 +0000)]
ChangeLog update

18 years agoMFB: Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature
Ilia Alshanetsky [Mon, 31 Jul 2006 20:19:18 +0000 (20:19 +0000)]
MFB: Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature
object destruction).

18 years agoReimplemented SoapServer and SoapClient classes using ZE2 object API.
Dmitry Stogov [Mon, 31 Jul 2006 16:02:04 +0000 (16:02 +0000)]
Reimplemented SoapServer and SoapClient classes using ZE2 object API.
All internal properties are hidden now.

18 years agoreturn false instead of null, if it's an invalid document
Christian Stocker [Mon, 31 Jul 2006 13:07:44 +0000 (13:07 +0000)]
return false instead of null, if it's an invalid document
(MFB)

18 years agoreturn true, if xsl import did work
Christian Stocker [Mon, 31 Jul 2006 12:51:08 +0000 (12:51 +0000)]
return true, if xsl import did work

18 years agofix #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC)
Antony Dovgal [Mon, 31 Jul 2006 10:28:46 +0000 (10:28 +0000)]
fix #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC)

18 years agoMFB: Fixed compiler warning.
Ilia Alshanetsky [Mon, 31 Jul 2006 03:41:43 +0000 (03:41 +0000)]
MFB: Fixed compiler warning.

18 years agoChangeLog update
<changelog@php.net> [Mon, 31 Jul 2006 01:31:01 +0000 (01:31 +0000)]
ChangeLog update

18 years ago- MFB: #36732, add req_extensions support to openssl_csr_new and _sign
Pierre Joye [Mon, 31 Jul 2006 00:36:10 +0000 (00:36 +0000)]
- MFB: #36732, add req_extensions support to openssl_csr_new and _sign
   (ben at psc dot edu)
- MFB: fix leaks in openssl_csr_new and sig

18 years agoupdate changelog
Antony Dovgal [Sun, 30 Jul 2006 20:53:10 +0000 (20:53 +0000)]
update changelog

18 years agofix #38173 (Freeing nested cursors causes OCI8 to segfault)
Antony Dovgal [Sun, 30 Jul 2006 20:50:53 +0000 (20:50 +0000)]
fix #38173 (Freeing nested cursors causes OCI8 to segfault)

18 years ago- #28382, add support for x509 extensions
Pierre Joye [Sun, 30 Jul 2006 17:02:28 +0000 (17:02 +0000)]
- #28382, add support for x509 extensions

18 years ago- MFB: #38261, openssl_x509_parse leaks with invalid certs
Pierre Joye [Sun, 30 Jul 2006 16:27:03 +0000 (16:27 +0000)]
- MFB: #38261, openssl_x509_parse leaks with invalid certs

18 years agoimprove checks and fix #38251
Antony Dovgal [Sun, 30 Jul 2006 11:54:11 +0000 (11:54 +0000)]
improve checks and fix #38251

18 years agofix compile warnings (#38257)
Antony Dovgal [Sun, 30 Jul 2006 11:33:49 +0000 (11:33 +0000)]
fix compile warnings (#38257)

18 years agoMFB: bug #38253 (PDO produces segfault with default fetch mode)
Antony Dovgal [Sun, 30 Jul 2006 11:20:41 +0000 (11:20 +0000)]
MFB: bug #38253 (PDO produces segfault with default fetch mode)
add test

18 years ago- MFB: silent compiler warnins (signess)
Pierre Joye [Sun, 30 Jul 2006 09:18:24 +0000 (09:18 +0000)]
- MFB: silent compiler warnins (signess)

18 years ago- MFB: vi happiness
Pierre Joye [Sun, 30 Jul 2006 08:28:49 +0000 (08:28 +0000)]
- MFB: vi happiness