]> granicus.if.org Git - php/log
php
18 years agoinitialize variables and make Coverity happy
Antony Dovgal [Thu, 7 Dec 2006 20:45:21 +0000 (20:45 +0000)]
initialize variables and make Coverity happy

18 years agoApply Matt W's patch to only allow ASCII digits and not use u_digit().
Andrei Zmievski [Thu, 7 Dec 2006 18:56:25 +0000 (18:56 +0000)]
Apply Matt W's patch  to only allow ASCII digits and not use u_digit().

18 years agoGuard against ambiguous 'else' clauses.
Andrei Zmievski [Thu, 7 Dec 2006 18:19:21 +0000 (18:19 +0000)]
Guard against ambiguous 'else' clauses.

18 years agoUnicode support in parse_url().
Andrei Zmievski [Thu, 7 Dec 2006 18:18:49 +0000 (18:18 +0000)]
Unicode support in parse_url().

18 years agofix #39763 (magic quotes are applied twice by ext/filter)
Antony Dovgal [Thu, 7 Dec 2006 10:59:35 +0000 (10:59 +0000)]
fix #39763 (magic quotes are applied twice by ext/filter)
no need to add slashes manually, they are added by php_register_variable_ex()

18 years agoChange fgets() behavior back to BC version
Sara Golemon [Thu, 7 Dec 2006 09:51:36 +0000 (09:51 +0000)]
Change fgets() behavior back to BC version

18 years agoMFB: Fixed bug #39754 (Some POSIX extension functions not thread safe).
Ilia Alshanetsky [Thu, 7 Dec 2006 01:41:29 +0000 (01:41 +0000)]
MFB: Fixed bug #39754 (Some POSIX extension functions not thread safe).

18 years agoChangeLog update
<changelog@php.net> [Thu, 7 Dec 2006 01:31:16 +0000 (01:31 +0000)]
ChangeLog update

18 years agoAllow submission of unicode data in utf8 form
Ilia Alshanetsky [Thu, 7 Dec 2006 01:06:54 +0000 (01:06 +0000)]
Allow submission of unicode data in utf8 form

18 years agoUse proper zstr for str_getcsv() and add documentation for Andrei's peace of mind
Sara Golemon [Wed, 6 Dec 2006 23:14:15 +0000 (23:14 +0000)]
Use proper zstr for str_getcsv() and add documentation for Andrei's peace of mind

18 years agotest. please ignore
Antony Dovgal [Wed, 6 Dec 2006 20:21:27 +0000 (20:21 +0000)]
test. please ignore

18 years agoFinal set of unicode changes
Ilia Alshanetsky [Wed, 6 Dec 2006 18:40:55 +0000 (18:40 +0000)]
Final set of unicode changes

18 years agoFirst part of unicode upgrade
Ilia Alshanetsky [Wed, 6 Dec 2006 17:52:11 +0000 (17:52 +0000)]
First part of unicode upgrade

18 years agofix import_request_variables()
Antony Dovgal [Wed, 6 Dec 2006 17:42:47 +0000 (17:42 +0000)]
fix import_request_variables()

18 years agoadd Unicode support to oci_statement_type()
Antony Dovgal [Wed, 6 Dec 2006 16:42:27 +0000 (16:42 +0000)]
add Unicode support to oci_statement_type()

18 years agomark most of the OCI8 functions as unicode aware
Antony Dovgal [Wed, 6 Dec 2006 16:36:27 +0000 (16:36 +0000)]
mark most of the OCI8 functions as unicode aware

18 years agomove handling of 'F' to the top
Antony Dovgal [Wed, 6 Dec 2006 16:28:27 +0000 (16:28 +0000)]
move handling of 'F' to the top

18 years agoMake functions as being unicode safe
Ilia Alshanetsky [Wed, 6 Dec 2006 16:25:17 +0000 (16:25 +0000)]
Make functions as being unicode safe

18 years agoadd missing 'F' modified (noticed by Matt)
Antony Dovgal [Wed, 6 Dec 2006 14:47:19 +0000 (14:47 +0000)]
add missing 'F' modified (noticed by Matt)

18 years agofix tests
Antony Dovgal [Wed, 6 Dec 2006 13:21:48 +0000 (13:21 +0000)]
fix tests

18 years agoMFB: Fix win32 build
Rob Richards [Wed, 6 Dec 2006 13:20:17 +0000 (13:20 +0000)]
MFB: Fix win32 build

18 years agofix tests
Antony Dovgal [Wed, 6 Dec 2006 13:11:02 +0000 (13:11 +0000)]
fix tests

18 years agoadd zend_u_strtod() implementation by Matt Wilmas
Antony Dovgal [Wed, 6 Dec 2006 12:25:29 +0000 (12:25 +0000)]
add zend_u_strtod() implementation by Matt Wilmas
major speedup when using floats in Unicode mode
also fixes several problems with the current code

18 years agodestroy freelist before destroying the mutexes
Antony Dovgal [Wed, 6 Dec 2006 10:49:19 +0000 (10:49 +0000)]
destroy freelist before destroying the mutexes

18 years agouse BSD licensed implementation of double-to-string utilities instead of LGPL one
Antony Dovgal [Wed, 6 Dec 2006 09:50:28 +0000 (09:50 +0000)]
use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()

18 years agoChangeLog update
<changelog@php.net> [Wed, 6 Dec 2006 01:31:05 +0000 (01:31 +0000)]
ChangeLog update

18 years agolet PHP_ADD_EXTENSION_DEP() to take care of this
Antony Dovgal [Tue, 5 Dec 2006 23:51:18 +0000 (23:51 +0000)]
let PHP_ADD_EXTENSION_DEP() to take care of this

18 years agoMFB: Fixed bug #39724 (Broken build due to spl/filter usage of pcre
Ilia Alshanetsky [Tue, 5 Dec 2006 23:38:10 +0000 (23:38 +0000)]
MFB: Fixed bug #39724 (Broken build due to spl/filter usage of pcre
extension).

18 years agoextract() should convert keys using runtime encoding.
Andrei Zmievski [Tue, 5 Dec 2006 23:17:06 +0000 (23:17 +0000)]
extract() should convert keys using runtime encoding.

18 years agocosmetic improvements
Antony Dovgal [Tue, 5 Dec 2006 23:03:42 +0000 (23:03 +0000)]
cosmetic improvements

18 years agoRemove PHP4.x stuff
Frank M. Kromann [Tue, 5 Dec 2006 21:46:33 +0000 (21:46 +0000)]
Remove PHP4.x stuff

18 years ago#39429 Update API
Frank M. Kromann [Tue, 5 Dec 2006 21:02:29 +0000 (21:02 +0000)]
#39429 Update API

18 years agoFixed bug #39721 (Runtime inheritance causes data corruption)
Dmitry Stogov [Tue, 5 Dec 2006 19:04:51 +0000 (19:04 +0000)]
Fixed bug #39721 (Runtime inheritance causes data corruption)

18 years agonuke redundant zval_ptr_dtor() call and fix memory corruption/segfault
Antony Dovgal [Tue, 5 Dec 2006 18:42:22 +0000 (18:42 +0000)]
nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault

18 years agoUnicode support in http_build_query().
Andrei Zmievski [Tue, 5 Dec 2006 18:41:23 +0000 (18:41 +0000)]
Unicode support in http_build_query().

18 years agoMFB: Fixed bug #36798 (Error parsing named parameters with queries
Ilia Alshanetsky [Tue, 5 Dec 2006 18:05:56 +0000 (18:05 +0000)]
MFB: Fixed bug #36798 (Error parsing named parameters with queries
containing high-ascii chars).

18 years agoMFB: fix test
Hannes Magnusson [Tue, 5 Dec 2006 15:59:09 +0000 (15:59 +0000)]
MFB: fix test

18 years agodon't pass negative maxchars to php_stream_get_line_ex()
Antony Dovgal [Tue, 5 Dec 2006 13:45:49 +0000 (13:45 +0000)]
don't pass negative maxchars to php_stream_get_line_ex()

18 years agoremove duplicating line
Antony Dovgal [Tue, 5 Dec 2006 12:55:38 +0000 (12:55 +0000)]
remove duplicating line

18 years agoMFB: fix bug #39625 (Apache crashes on importStylesheet call)
Rob Richards [Tue, 5 Dec 2006 12:05:03 +0000 (12:05 +0000)]
MFB: fix bug #39625 (Apache crashes on importStylesheet call)

18 years agoFixed FastCGI impersonation for persistent connections on Windows
Dmitry Stogov [Tue, 5 Dec 2006 08:55:34 +0000 (08:55 +0000)]
Fixed FastCGI impersonation for persistent connections on Windows

18 years agoRemoved unused zend_mm.*
Dmitry Stogov [Tue, 5 Dec 2006 08:08:33 +0000 (08:08 +0000)]
Removed unused zend_mm.*

18 years agoAdd str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation
Sara Golemon [Tue, 5 Dec 2006 04:52:44 +0000 (04:52 +0000)]
Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation

18 years agoUnicode upgrade for fgetcsv()
Sara Golemon [Tue, 5 Dec 2006 04:13:47 +0000 (04:13 +0000)]
Unicode upgrade for fgetcsv()

18 years agoMerge from 5.2:
Stanislav Malyshev [Tue, 5 Dec 2006 02:55:27 +0000 (02:55 +0000)]
Merge from 5.2:
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.

18 years agoMFB: Fixed bug #39571 (timeout ssl:// connections).
Ilia Alshanetsky [Tue, 5 Dec 2006 01:39:21 +0000 (01:39 +0000)]
MFB: Fixed bug #39571 (timeout ssl:// connections).

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

18 years ago- invalid filter id should not return unsafe values
Pierre Joye [Tue, 5 Dec 2006 01:23:42 +0000 (01:23 +0000)]
- invalid filter id should not return unsafe values

18 years ago- WS
Pierre Joye [Mon, 4 Dec 2006 21:34:48 +0000 (21:34 +0000)]
- WS

18 years ago- MFB: use %s
Pierre Joye [Mon, 4 Dec 2006 21:23:02 +0000 (21:23 +0000)]
- MFB: use %s

18 years ago- WS
Pierre Joye [Mon, 4 Dec 2006 21:16:46 +0000 (21:16 +0000)]
- WS

18 years agoMake headers-related functions accept Unicode strings, but only if their
Andrei Zmievski [Mon, 4 Dec 2006 20:43:42 +0000 (20:43 +0000)]
Make headers-related functions accept Unicode strings, but only if their
contents can be converted to ASCII.

18 years agoUnicode support in var_export().
Andrei Zmievski [Mon, 4 Dec 2006 18:55:40 +0000 (18:55 +0000)]
Unicode support in var_export().

18 years agoMFB: Fixed tests
Ilia Alshanetsky [Mon, 4 Dec 2006 18:30:05 +0000 (18:30 +0000)]
MFB: Fixed tests

18 years agofix build with Sun compiler, which doesn't support -O0
Antony Dovgal [Mon, 4 Dec 2006 18:28:34 +0000 (18:28 +0000)]
fix build with Sun compiler, which doesn't support -O0

18 years agopartly fix #39724
Antony Dovgal [Mon, 4 Dec 2006 18:01:24 +0000 (18:01 +0000)]
partly fix #39724
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)

18 years agoMFB: Fixed test (user is a reserved keyword in pgsql)
Ilia Alshanetsky [Mon, 4 Dec 2006 17:55:56 +0000 (17:55 +0000)]
MFB: Fixed test (user is a reserved keyword in pgsql)

18 years agofix tests, use -n to prevent any problems with existing php.ini
Antony Dovgal [Mon, 4 Dec 2006 17:48:27 +0000 (17:48 +0000)]
fix tests, use -n to prevent any problems with existing php.ini

18 years agoFixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using fastcgi)
Dmitry Stogov [Mon, 4 Dec 2006 16:30:59 +0000 (16:30 +0000)]
Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using fastcgi)

18 years agofix retval type
Antony Dovgal [Mon, 4 Dec 2006 15:58:35 +0000 (15:58 +0000)]
fix retval type
it should be int, not zend_bool

18 years agodummy change
Andrey Hristov [Mon, 4 Dec 2006 15:27:18 +0000 (15:27 +0000)]
dummy change

18 years agolook for tests in sapi/cli
Antony Dovgal [Mon, 4 Dec 2006 13:07:00 +0000 (13:07 +0000)]
look for tests in sapi/cli

18 years agoMFB: Fixed bug #38319 (Remove bogus warnings from persistent PDO connections).
Ilia Alshanetsky [Mon, 4 Dec 2006 03:08:52 +0000 (03:08 +0000)]
MFB: Fixed bug #38319 (Remove bogus warnings from persistent PDO connections).

18 years agoMFB: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch
Ilia Alshanetsky [Mon, 4 Dec 2006 02:40:20 +0000 (02:40 +0000)]
MFB: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch
mode).

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

18 years agoMFB: Added test for previous bug
Ilia Alshanetsky [Mon, 4 Dec 2006 00:41:07 +0000 (00:41 +0000)]
MFB: Added test for previous bug

18 years agoMFB: Fixed bug #39483 (Problem with handling of \ char in prepared
Ilia Alshanetsky [Mon, 4 Dec 2006 00:39:47 +0000 (00:39 +0000)]
MFB: Fixed bug #39483 (Problem with handling of \ char in prepared
statements).

18 years agoMFB:
Ilia Alshanetsky [Sun, 3 Dec 2006 23:30:24 +0000 (23:30 +0000)]
MFB:
Default to buffered queries (much faster)
Default to prepared statement emulation to avoid hitting MySQL bugs

18 years agoMFB: Added missing check for mismatching number of tokens & bound params in
Ilia Alshanetsky [Sun, 3 Dec 2006 23:28:00 +0000 (23:28 +0000)]
MFB: Added missing check for mismatching number of tokens & bound params in
prepared statement emulation.

18 years agoMFB: Added "default" option that allows a default value to be set for an
Ilia Alshanetsky [Sun, 3 Dec 2006 21:27:51 +0000 (21:27 +0000)]
MFB: Added "default" option that allows a default value to be set for an
invalid or missing value.

18 years agoMFB: Fixed bug #39718 (possible crash if assert.callback is set in ini).
Ilia Alshanetsky [Sun, 3 Dec 2006 17:13:27 +0000 (17:13 +0000)]
MFB: Fixed bug #39718 (possible crash if assert.callback is set in ini).

18 years agoMFB: Fixed php_readdir_r() usage in scandir emulation
Ilia Alshanetsky [Sun, 3 Dec 2006 15:52:37 +0000 (15:52 +0000)]
MFB: Fixed php_readdir_r() usage in scandir emulation

18 years agofix Solaris build
Antony Dovgal [Sun, 3 Dec 2006 14:38:05 +0000 (14:38 +0000)]
fix Solaris build

18 years agofix leaks
Antony Dovgal [Sun, 3 Dec 2006 13:58:54 +0000 (13:58 +0000)]
fix leaks

18 years agofix AIX build
Antony Dovgal [Sun, 3 Dec 2006 13:46:09 +0000 (13:46 +0000)]
fix AIX build

18 years agoadd UEXPECT sections
Nuno Lopes [Sun, 3 Dec 2006 11:20:32 +0000 (11:20 +0000)]
add UEXPECT sections

18 years agoMFB: fix test on fbsd
Hannes Magnusson [Sun, 3 Dec 2006 08:08:18 +0000 (08:08 +0000)]
MFB: fix test on fbsd

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

18 years agoMFH (not tested. so some tests may fail in unicode mode)
Nuno Lopes [Sat, 2 Dec 2006 21:42:30 +0000 (21:42 +0000)]
MFH (not tested. so some tests may fail in unicode mode)

18 years agoMFB: Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,
Ilia Alshanetsky [Sat, 2 Dec 2006 17:55:05 +0000 (17:55 +0000)]
MFB: Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,
prepared statements are used in pdo_mysql).

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

18 years agoMFB: Fix win32 build
Frank M. Kromann [Fri, 1 Dec 2006 20:22:11 +0000 (20:22 +0000)]
MFB: Fix win32 build

18 years agoBug #39438 (Fatal error: Out of memory)
Dmitry Stogov [Fri, 1 Dec 2006 20:02:00 +0000 (20:02 +0000)]
Bug #39438 (Fatal error: Out of memory)

18 years agotypo
Dmitry Stogov [Fri, 1 Dec 2006 19:42:19 +0000 (19:42 +0000)]
typo

18 years agoFinalize Unicode support in serialize() and unserialize().
Andrei Zmievski [Fri, 1 Dec 2006 19:25:11 +0000 (19:25 +0000)]
Finalize Unicode support in serialize() and unserialize().

18 years agoMFB: Fixed a possible memory corruption in dbase_open() with invalid open
Ilia Alshanetsky [Fri, 1 Dec 2006 19:10:59 +0000 (19:10 +0000)]
MFB: Fixed a possible memory corruption in dbase_open() with invalid open
mode

18 years agoFix group macro access.
Andrei Zmievski [Fri, 1 Dec 2006 18:42:24 +0000 (18:42 +0000)]
Fix group macro access.

18 years agoMFB: fix #39458
Nuno Lopes [Fri, 1 Dec 2006 16:42:48 +0000 (16:42 +0000)]
MFB: fix #39458

18 years agoFixed bug #39702 (php crashes in the allocator on linux-m68k)
Dmitry Stogov [Fri, 1 Dec 2006 15:33:20 +0000 (15:33 +0000)]
Fixed bug #39702 (php crashes in the allocator on linux-m68k)

18 years agoFixed buffer overflow. (Rob)
Dmitry Stogov [Fri, 1 Dec 2006 14:57:44 +0000 (14:57 +0000)]
Fixed buffer overflow. (Rob)

18 years agoFixed bug #39640 (Segfault with "Allowed memory size exhausted")
Dmitry Stogov [Fri, 1 Dec 2006 13:54:49 +0000 (13:54 +0000)]
Fixed bug #39640 (Segfault with "Allowed memory size exhausted")

18 years agoFixed bug #39652 (Wrong negative results from memeory_get_usage())
Dmitry Stogov [Fri, 1 Dec 2006 11:40:23 +0000 (11:40 +0000)]
Fixed bug #39652 (Wrong negative results from memeory_get_usage())

18 years ago- Fix handling of recursive inner iterators
Marcus Boerger [Fri, 1 Dec 2006 09:28:38 +0000 (09:28 +0000)]
- Fix handling of recursive inner iterators

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

18 years agoMFB: Disallow \0 chars inside session.save_path
Ilia Alshanetsky [Fri, 1 Dec 2006 00:27:33 +0000 (00:27 +0000)]
MFB: Disallow \0 chars inside session.save_path

18 years agoget_headers() will keep headers as binary strings.
Andrei Zmievski [Thu, 30 Nov 2006 22:26:27 +0000 (22:26 +0000)]
get_headers() will keep headers as binary strings.

18 years agoMark setlocale() as Unicode-safe. It shouldn't be used in
Andrei Zmievski [Thu, 30 Nov 2006 21:46:54 +0000 (21:46 +0000)]
Mark setlocale() as Unicode-safe. It shouldn't be used in
unicode.semantics=on mode anyway.

18 years agoForgot to mark import_request_variables() as Unicode-safe.
Andrei Zmievski [Thu, 30 Nov 2006 21:23:07 +0000 (21:23 +0000)]
Forgot to mark import_request_variables() as Unicode-safe.

18 years agoMark strtr() as Unicode-safe.
Andrei Zmievski [Thu, 30 Nov 2006 21:20:56 +0000 (21:20 +0000)]
Mark strtr() as Unicode-safe.

# Right, Derick?

18 years agoMark pack()/unpack() as Unicode-safe. They will accept Unicode strings
Andrei Zmievski [Thu, 30 Nov 2006 21:18:22 +0000 (21:18 +0000)]
Mark pack()/unpack() as Unicode-safe. They will accept Unicode strings
but convert them to binary. We can revisit supporting something like 'U'
format in the future, if it's needed.