]> granicus.if.org Git - php/log
php
15 years agoC-comments should be used
Andrey Hristov [Tue, 16 Jun 2009 17:59:19 +0000 (17:59 +0000)]
C-comments should be used

15 years ago- MF53: fix readlink in TS SAPI
Pierre Joye [Tue, 16 Jun 2009 16:53:56 +0000 (16:53 +0000)]
- MF53: fix readlink in TS SAPI

15 years agoTweak to make this compile with gcc2
Rasmus Lerdorf [Tue, 16 Jun 2009 16:11:05 +0000 (16:11 +0000)]
Tweak to make this compile with gcc2

15 years ago- Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom...
Felipe Pena [Tue, 16 Jun 2009 14:29:18 +0000 (14:29 +0000)]
- Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp>

15 years agoMemory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the
Andrey Hristov [Tue, 16 Jun 2009 13:06:45 +0000 (13:06 +0000)]
Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the
Zend allocator, which means that is easier to hit memory_limit if you
have big stored (buffered) result sets. Before with libmysql you won't
hit memory_limit because libmysql uses libc's allocator and nothing is
checked. Now, with mysqlnd the situation is stricter and it is easier to
hit memory_limit. We try to optimize for big result sets. If a result set
is larger than 10 rows we will start freeing some data to keep memory usage
after 10 rows constant. This will help in the cases where a buffered result
set is scrolled forward only and just only once, or mysqlnd will need to
decode data from the network buffers again - yes, it is a trade-off between
CPU time and memory size. The best for big result sets is of course using
unbuffered queries - for comparison : 3 Million rows with buffered take
at least 180MB, with buffered you will stay at 3MB, and unbuffered will be
just 7-8% slower.

15 years agoFix typo in test
andy wharmby [Tue, 16 Jun 2009 11:37:11 +0000 (11:37 +0000)]
Fix typo in test

15 years agoHardwire function call instead of using callbacks. We don't actually need
Andrey Hristov [Tue, 16 Jun 2009 09:15:09 +0000 (09:15 +0000)]
Hardwire function call instead of using callbacks. We don't actually need
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had its price of 8 bytes overheat per
allocation, which is just too much. Also making the app member 32b instead
of 64b, which should save additional 4 byte, to the total of 12 byte per
allocation of a row buffer.

15 years agoNew class related tests. Tested on Windows, Linux and Linux 64. Tests written by...
andy wharmby [Tue, 16 Jun 2009 08:59:56 +0000 (08:59 +0000)]
New class related tests. Tested on Windows, Linux and Linux 64. Tests written by  Iain Lewis

15 years agoUse Zend's allocator instead of libc's and also don't try to work on
Andrey Hristov [Tue, 16 Jun 2009 07:53:03 +0000 (07:53 +0000)]
Use Zend's allocator instead of libc's and also don't try to work on
zvals that are NULLs.

15 years ago- Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_v...
Felipe Pena [Tue, 16 Jun 2009 02:53:50 +0000 (02:53 +0000)]
- Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars())

15 years agoChangeLog update
<changelog@php.net> [Tue, 16 Jun 2009 01:33:20 +0000 (01:33 +0000)]
ChangeLog update

15 years ago- Drop unused code
Felipe Pena [Mon, 15 Jun 2009 17:57:05 +0000 (17:57 +0000)]
- Drop unused code

15 years agoNew test for bitwise operators. Tested on Linux 64 bit
andy wharmby [Mon, 15 Jun 2009 17:38:50 +0000 (17:38 +0000)]
New test for bitwise operators. Tested on Linux 64 bit

15 years ago- Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers...
Felipe Pena [Mon, 15 Jun 2009 17:25:28 +0000 (17:25 +0000)]
- Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) patch by David Zülke <david.zuelke at bitextender.com>

15 years agoFixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those optio...
Patrick Allaert [Mon, 15 Jun 2009 15:18:12 +0000 (15:18 +0000)]
Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent)

15 years ago- add TODO about int definition cleanup
Pierre Joye [Mon, 15 Jun 2009 15:08:41 +0000 (15:08 +0000)]
- add TODO about int definition cleanup

15 years agoRefactoring that will help fixing #48441
Patrick Allaert [Mon, 15 Jun 2009 15:03:31 +0000 (15:03 +0000)]
Refactoring that will help fixing #48441

15 years ago- simplify, use correct type and silent warnings
Pierre Joye [Mon, 15 Jun 2009 14:39:37 +0000 (14:39 +0000)]
- simplify, use correct type and silent warnings

15 years ago- silent compilation warnings (no MFH yet)
Pierre Joye [Mon, 15 Jun 2009 14:06:30 +0000 (14:06 +0000)]
- silent compilation warnings (no MFH yet)

15 years agosync SQLite 3.6.15
Scott MacVicar [Mon, 15 Jun 2009 13:14:46 +0000 (13:14 +0000)]
sync SQLite 3.6.15

15 years agoMFB: 48518
Ilia Alshanetsky [Mon, 15 Jun 2009 12:38:57 +0000 (12:38 +0000)]
MFB: 48518

15 years agoNew POSIX extension tests from Berlin UG TestFest 2009.
andy wharmby [Mon, 15 Jun 2009 12:14:58 +0000 (12:14 +0000)]
New POSIX extension tests from Berlin UG TestFest 2009.

15 years ago- silent warning
Pierre Joye [Mon, 15 Jun 2009 08:32:18 +0000 (08:32 +0000)]
- silent warning

15 years agoChangeLog update
<changelog@php.net> [Mon, 15 Jun 2009 01:33:03 +0000 (01:33 +0000)]
ChangeLog update

15 years agoNew foreach tests. Tested on Windows, Linux and Linux 64 bit.
andy wharmby [Sun, 14 Jun 2009 14:17:46 +0000 (14:17 +0000)]
New foreach tests. Tested on Windows, Linux and Linux 64 bit.

15 years agoBasic tests for function_exists() and get_defined_functions(). Tested on Windows...
andy wharmby [Sun, 14 Jun 2009 13:49:18 +0000 (13:49 +0000)]
Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit.

15 years agoNew json extension tests. Tested on Windows, Linux and Linux 64 bit.
andy wharmby [Sun, 14 Jun 2009 12:08:33 +0000 (12:08 +0000)]
New json extension tests. Tested on Windows, Linux and Linux 64 bit.

15 years ago- MF53: fix build (void alarm)
Pierre Joye [Sun, 14 Jun 2009 10:24:42 +0000 (10:24 +0000)]
- MF53: fix build (void alarm)

15 years agoChangeLog update
<changelog@php.net> [Sun, 14 Jun 2009 01:32:57 +0000 (01:32 +0000)]
ChangeLog update

15 years agofix Bug #48541: spl_autoload_register only registers first closure, then leaks the...
Greg Beaver [Sat, 13 Jun 2009 17:28:35 +0000 (17:28 +0000)]
fix Bug #48541: spl_autoload_register only registers first closure, then leaks the others

15 years agoNew iconv extension tests. Tested on Windows, Linux and Linux 64 bit.
andy wharmby [Sat, 13 Jun 2009 12:17:47 +0000 (12:17 +0000)]
New iconv extension tests. Tested on Windows, Linux and Linux 64 bit.

15 years agoChangeLog update
<changelog@php.net> [Sat, 13 Jun 2009 01:33:03 +0000 (01:33 +0000)]
ChangeLog update

15 years ago- Constified method_name arg. in zend_get_user_call_function() and zend_get_user_call...
Felipe Pena [Fri, 12 Jun 2009 21:43:22 +0000 (21:43 +0000)]
- Constified method_name arg. in zend_get_user_call_function() and zend_get_user_callstatic_function()

15 years ago- Refix the fix :| (missing skipif)
Felipe Pena [Fri, 12 Jun 2009 20:46:30 +0000 (20:46 +0000)]
- Refix the fix :| (missing skipif)

15 years ago- Fix test
Felipe Pena [Fri, 12 Jun 2009 20:44:50 +0000 (20:44 +0000)]
- Fix test

15 years ago- Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs)
Felipe Pena [Fri, 12 Jun 2009 20:43:29 +0000 (20:43 +0000)]
- Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs)

15 years agoNew iconv extension tests. Tested on Windows, Linux and Linux 64 bit.
andy wharmby [Fri, 12 Jun 2009 18:57:10 +0000 (18:57 +0000)]
New iconv extension tests. Tested on Windows, Linux and Linux 64 bit.

15 years agoNew iconv extension tests. Tested on Windows, Linux and Linux 64 bit
andy wharmby [Fri, 12 Jun 2009 17:16:06 +0000 (17:16 +0000)]
New iconv extension tests. Tested on Windows, Linux and Linux 64 bit

15 years ago- Sync with 5_3
Felipe Pena [Fri, 12 Jun 2009 14:00:10 +0000 (14:00 +0000)]
- Sync with 5_3

15 years ago- Dropped unused var (HEAD only)
Felipe Pena [Fri, 12 Jun 2009 13:27:39 +0000 (13:27 +0000)]
- Dropped unused var (HEAD only)

15 years agoFix crash when tracing is enabled. Position after buffer was used also
Andrey Hristov [Fri, 12 Jun 2009 13:24:37 +0000 (13:24 +0000)]
Fix crash when tracing is enabled. Position after buffer was used also
direct usage of MYSQLND_STRING pointer instead of the "s" property of the
structure.

15 years agoChangeLog update
<changelog@php.net> [Fri, 12 Jun 2009 01:33:04 +0000 (01:33 +0000)]
ChangeLog update

15 years ago- Fixed bug #48533 (__callStatic is not invoked for private/protected methods)
Felipe Pena [Fri, 12 Jun 2009 01:00:30 +0000 (01:00 +0000)]
- Fixed bug #48533 (__callStatic is not invoked for private/protected methods)

15 years agoFixed static build of mbstring on Windows (makes static build of exif possible too)
Kalle Sommer Nielsen [Thu, 11 Jun 2009 23:37:51 +0000 (23:37 +0000)]
Fixed static build of mbstring on Windows (makes static build of exif possible too)

15 years agoDelete duplicate test
andy wharmby [Thu, 11 Jun 2009 23:04:36 +0000 (23:04 +0000)]
Delete duplicate test

15 years agoNew intval() tests. Tested on Windows, Linux and linux 64
andy wharmby [Thu, 11 Jun 2009 22:26:54 +0000 (22:26 +0000)]
New intval() tests. Tested on Windows, Linux and linux 64

15 years agoNew 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored...
andy wharmby [Thu, 11 Jun 2009 21:17:05 +0000 (21:17 +0000)]
New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey

15 years agoAdd/Fix SKIPIF sections of cURL tests
andy wharmby [Thu, 11 Jun 2009 21:11:22 +0000 (21:11 +0000)]
Add/Fix SKIPIF sections of cURL tests

15 years agoRevert by adding an ifdef
Andrey Hristov [Thu, 11 Jun 2009 17:53:13 +0000 (17:53 +0000)]
Revert by adding an ifdef

15 years ago- nuke unused var
Pierre Joye [Thu, 11 Jun 2009 17:16:35 +0000 (17:16 +0000)]
- nuke unused var

15 years ago- MF53: silent warning and make it less ambiguous
Pierre Joye [Thu, 11 Jun 2009 17:14:34 +0000 (17:14 +0000)]
- MF53: silent warning and make it less ambiguous

15 years agoMFB: add phar.phar generation to windows
Greg Beaver [Thu, 11 Jun 2009 14:43:03 +0000 (14:43 +0000)]
MFB: add phar.phar generation to windows

15 years agoNew POISX tests. Tested on Windows (all test SKIP), Linux and Linux 64
andy wharmby [Thu, 11 Jun 2009 12:30:59 +0000 (12:30 +0000)]
New POISX tests. Tested on Windows (all test SKIP), Linux and Linux 64

15 years agoUse a better extension version
Johannes Schlüter [Thu, 11 Jun 2009 10:08:09 +0000 (10:08 +0000)]
Use a better extension version

15 years agofix bug #48518 (curl crashes when writing into invalid file handle)
Antony Dovgal [Thu, 11 Jun 2009 09:46:27 +0000 (09:46 +0000)]
fix bug #48518 (curl crashes when writing into invalid file handle)

15 years agoProtect the code when variable is NULL, which should never happen, but
Andrey Hristov [Thu, 11 Jun 2009 08:51:20 +0000 (08:51 +0000)]
Protect the code when variable is NULL, which should never happen, but
anyway, you know about "never happens"

15 years agoCheck the pointer before calling a function on it, or we will crash.
Andrey Hristov [Thu, 11 Jun 2009 08:32:34 +0000 (08:32 +0000)]
Check the pointer before calling a function on it, or we will crash.
This is a very rare situation where the server is totally broken.

15 years agoMFB: Reference decrement in own function. Make a function which is not
Andrey Hristov [Thu, 11 Jun 2009 08:31:10 +0000 (08:31 +0000)]
MFB: Reference decrement in own function. Make a function which is not
called externally static, from PHPAPI.

15 years agoChangeLog update
<changelog@php.net> [Thu, 11 Jun 2009 01:33:17 +0000 (01:33 +0000)]
ChangeLog update

15 years ago- Fix the fix (Bug #46973 - IPv6 address filter rejects valid address)
Felipe Pena [Wed, 10 Jun 2009 19:00:54 +0000 (19:00 +0000)]
- Fix the fix (Bug #46973 - IPv6 address filter rejects valid address)

15 years agoHannes said this shall not be run for RCs
Johannes Schlüter [Wed, 10 Jun 2009 18:15:12 +0000 (18:15 +0000)]
Hannes said this shall not be run for RCs

15 years ago- look for static lib too
Pierre Joye [Wed, 10 Jun 2009 16:05:55 +0000 (16:05 +0000)]
- look for static lib too

15 years agoFix extension loading order
Hannes Magnusson [Wed, 10 Jun 2009 14:28:06 +0000 (14:28 +0000)]
Fix extension loading order

15 years agoFix exception message
Hannes Magnusson [Wed, 10 Jun 2009 13:43:43 +0000 (13:43 +0000)]
Fix exception message

15 years agoFixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE and
Ilia Alshanetsky [Wed, 10 Jun 2009 12:25:41 +0000 (12:25 +0000)]
Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE and
E_WARN if no DTD)

# Will MFH to 5.3 after RC

15 years agofix arginfo for curl_multi_info_read()
Antony Dovgal [Wed, 10 Jun 2009 11:09:48 +0000 (11:09 +0000)]
fix arginfo for curl_multi_info_read()

15 years ago- MFB: put mpir headers in their own directory
Pierre Joye [Wed, 10 Jun 2009 10:19:11 +0000 (10:19 +0000)]
- MFB: put mpir headers in their own directory

15 years agoChangeLog update
<changelog@php.net> [Wed, 10 Jun 2009 01:32:52 +0000 (01:32 +0000)]
ChangeLog update

15 years agoFix test - remove bogus variation
andy wharmby [Tue, 9 Jun 2009 20:18:29 +0000 (20:18 +0000)]
Fix test - remove bogus variation

15 years ago- MFB: #41874, separate STDOUT and STDERR in exec functions
Pierre Joye [Tue, 9 Jun 2009 14:07:06 +0000 (14:07 +0000)]
- MFB: #41874, separate STDOUT and STDERR in exec functions

15 years ago- #41874, separate STDOUT and STDERR in exec functions
Pierre Joye [Tue, 9 Jun 2009 14:05:44 +0000 (14:05 +0000)]
-   #41874, separate STDOUT and STDERR in exec functions

15 years agoFix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache).
David Soria Parra [Tue, 9 Jun 2009 13:32:12 +0000 (13:32 +0000)]
Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME for non apache).
The fix was provided by Sriram Natarajan.

15 years ago- fix build (test before commit maybe?)
Pierre Joye [Tue, 9 Jun 2009 10:23:10 +0000 (10:23 +0000)]
- fix build (test before commit maybe?)

15 years ago- fix TS build
Pierre Joye [Tue, 9 Jun 2009 10:03:42 +0000 (10:03 +0000)]
- fix TS build

15 years ago- ws
Pierre Joye [Tue, 9 Jun 2009 09:51:56 +0000 (09:51 +0000)]
- ws

15 years agoFix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
Scott MacVicar [Tue, 9 Jun 2009 01:57:57 +0000 (01:57 +0000)]
Fix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
Need to point the second elements previous item to head so we can traverse upwards.

15 years agoChangeLog update
<changelog@php.net> [Tue, 9 Jun 2009 01:32:50 +0000 (01:32 +0000)]
ChangeLog update

15 years ago- Updated to version 2009.9 (2009i)
Derick Rethans [Mon, 8 Jun 2009 13:53:24 +0000 (13:53 +0000)]
- Updated to version 2009.9 (2009i)

15 years agoNew tests for operators. These tests were auto generated to verify correctness for...
Robert Nicholson [Mon, 8 Jun 2009 11:53:55 +0000 (11:53 +0000)]
New tests for operators. These tests were auto generated to verify correctness for a number of significant values.  The work was done by Dave Kelsey.

15 years agorevert yet another wrongly MFBed fix
Antony Dovgal [Mon, 8 Jun 2009 11:42:56 +0000 (11:42 +0000)]
revert yet another wrongly MFBed fix

15 years agoMerge with the branch, someone made changes in PHP5_3 and did not merge.
Andrey Hristov [Mon, 8 Jun 2009 10:19:29 +0000 (10:19 +0000)]
Merge with the branch, someone made changes in PHP5_3 and did not merge.
Also switch off the zval cache for now.

15 years ago- MFB: sync with 1.0.2, improve perf x86-64 (patch by Solar Designer)
Pierre Joye [Mon, 8 Jun 2009 08:45:36 +0000 (08:45 +0000)]
- MFB: sync with 1.0.2, improve perf x86-64 (patch by Solar Designer)

15 years agoChange more things to the UTF-16 API and make SQLite3::enableExceptions() return...
Scott MacVicar [Mon, 8 Jun 2009 02:15:42 +0000 (02:15 +0000)]
Change more things to the UTF-16 API and make SQLite3::enableExceptions() return the previous value.

15 years agoChangeLog update
<changelog@php.net> [Mon, 8 Jun 2009 01:33:06 +0000 (01:33 +0000)]
ChangeLog update

15 years agoMFB: Fixed bug #44827 (define() is missing error checks for class constants)
Ilia Alshanetsky [Mon, 8 Jun 2009 01:27:11 +0000 (01:27 +0000)]
MFB: Fixed bug #44827 (define() is missing error checks for class constants)

15 years agoRemoved credit
Patrick Allaert [Sun, 7 Jun 2009 21:26:45 +0000 (21:26 +0000)]
Removed credit

15 years agoNew tests for foreach loops. These were written by another member of the Projectzero...
Robert Nicholson [Sun, 7 Jun 2009 21:01:51 +0000 (21:01 +0000)]
New tests for foreach loops. These were written by another member of the Projectzero team.

15 years agoFixed ldap_(first|next)_attribute() function producing 2 warning messages in case...
Patrick Allaert [Sun, 7 Jun 2009 20:00:32 +0000 (20:00 +0000)]
Fixed ldap_(first|next)_attribute() function producing 2 warning messages in case wrong parameters given

15 years agoFixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX...
Matt Wilmas [Sun, 7 Jun 2009 19:28:02 +0000 (19:28 +0000)]
Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test

15 years agoChanged error messages to use "cannot" instead of "can not" (meaning "also can")
Matt Wilmas [Sun, 7 Jun 2009 15:45:46 +0000 (15:45 +0000)]
Changed error messages to use "cannot" instead of "can not" (meaning "also can")

15 years agoFixed bug #48469 (ldap_get_entries() memory leaks on empty search results)
Patrick Allaert [Sun, 7 Jun 2009 13:06:03 +0000 (13:06 +0000)]
Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results)

15 years agoChangeLog update
<changelog@php.net> [Sun, 7 Jun 2009 01:33:05 +0000 (01:33 +0000)]
ChangeLog update

15 years agoFixed error message grammar:
Matt Wilmas [Sat, 6 Jun 2009 02:40:14 +0000 (02:40 +0000)]
Fixed error message grammar:
 - "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots

15 years agoChangeLog update
<changelog@php.net> [Sat, 6 Jun 2009 01:33:00 +0000 (01:33 +0000)]
ChangeLog update

15 years agoMake pass_two visible to extensions with ZEND_API (required for optimizer).
Brian Shire [Fri, 5 Jun 2009 23:20:58 +0000 (23:20 +0000)]
Make pass_two visible to extensions with ZEND_API (required for optimizer).

15 years agoNo always_inline attribute in gcc2
Rasmus Lerdorf [Fri, 5 Jun 2009 22:19:59 +0000 (22:19 +0000)]
No always_inline attribute in gcc2

15 years agoAdded zend_eval_stringl and made create_function(), etc. binary-safe
Matt Wilmas [Fri, 5 Jun 2009 18:50:10 +0000 (18:50 +0000)]
Added zend_eval_stringl and made create_function(), etc. binary-safe

15 years agoFixed tests again after double->long conversion change (to match 5.2)
Matt Wilmas [Fri, 5 Jun 2009 17:15:18 +0000 (17:15 +0000)]
Fixed tests again after double->long conversion change (to match 5.2)

15 years agobetter fix for #48409 , #48428 , #48228
Arnaud Le Blanc [Fri, 5 Jun 2009 11:21:16 +0000 (11:21 +0000)]
better fix for #48409 , #48428 , #48228
# (again, sorry)

15 years agofixed isset() on sub-directories (isset('blah') if file 'blah/foo.php' exists)
Greg Beaver [Fri, 5 Jun 2009 04:44:55 +0000 (04:44 +0000)]
fixed isset() on sub-directories (isset('blah') if file 'blah/foo.php' exists)