]>
granicus.if.org Git - php/log
Andrey Hristov [Tue, 16 Jun 2009 17:59:19 +0000 (17:59 +0000)]
C-comments should be used
Pierre Joye [Tue, 16 Jun 2009 16:53:56 +0000 (16:53 +0000)]
- MF53: fix readlink in TS SAPI
Rasmus Lerdorf [Tue, 16 Jun 2009 16:11:05 +0000 (16:11 +0000)]
Tweak to make this compile with gcc2
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>
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.
andy wharmby [Tue, 16 Jun 2009 11:37:11 +0000 (11:37 +0000)]
Fix typo in test
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.
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
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.
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())
<changelog@php.net> [Tue, 16 Jun 2009 01:33:20 +0000 (01:33 +0000)]
ChangeLog update
Felipe Pena [Mon, 15 Jun 2009 17:57:05 +0000 (17:57 +0000)]
- Drop unused code
andy wharmby [Mon, 15 Jun 2009 17:38:50 +0000 (17:38 +0000)]
New test for bitwise operators. Tested on Linux 64 bit
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>
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)
Pierre Joye [Mon, 15 Jun 2009 15:08:41 +0000 (15:08 +0000)]
- add TODO about int definition cleanup
Patrick Allaert [Mon, 15 Jun 2009 15:03:31 +0000 (15:03 +0000)]
Refactoring that will help fixing #48441
Pierre Joye [Mon, 15 Jun 2009 14:39:37 +0000 (14:39 +0000)]
- simplify, use correct type and silent warnings
Pierre Joye [Mon, 15 Jun 2009 14:06:30 +0000 (14:06 +0000)]
- silent compilation warnings (no MFH yet)
Scott MacVicar [Mon, 15 Jun 2009 13:14:46 +0000 (13:14 +0000)]
sync SQLite 3.6.15
Ilia Alshanetsky [Mon, 15 Jun 2009 12:38:57 +0000 (12:38 +0000)]
MFB: 48518
andy wharmby [Mon, 15 Jun 2009 12:14:58 +0000 (12:14 +0000)]
New POSIX extension tests from Berlin UG TestFest 2009.
Pierre Joye [Mon, 15 Jun 2009 08:32:18 +0000 (08:32 +0000)]
- silent warning
<changelog@php.net> [Mon, 15 Jun 2009 01:33:03 +0000 (01:33 +0000)]
ChangeLog update
andy wharmby [Sun, 14 Jun 2009 14:17:46 +0000 (14:17 +0000)]
New foreach tests. Tested on Windows, Linux and Linux 64 bit.
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.
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.
Pierre Joye [Sun, 14 Jun 2009 10:24:42 +0000 (10:24 +0000)]
- MF53: fix build (void alarm)
<changelog@php.net> [Sun, 14 Jun 2009 01:32:57 +0000 (01:32 +0000)]
ChangeLog update
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
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.
<changelog@php.net> [Sat, 13 Jun 2009 01:33:03 +0000 (01:33 +0000)]
ChangeLog update
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()
Felipe Pena [Fri, 12 Jun 2009 20:46:30 +0000 (20:46 +0000)]
- Refix the fix :| (missing skipif)
Felipe Pena [Fri, 12 Jun 2009 20:44:50 +0000 (20:44 +0000)]
- Fix test
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)
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.
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
Felipe Pena [Fri, 12 Jun 2009 14:00:10 +0000 (14:00 +0000)]
- Sync with 5_3
Felipe Pena [Fri, 12 Jun 2009 13:27:39 +0000 (13:27 +0000)]
- Dropped unused var (HEAD only)
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.
<changelog@php.net> [Fri, 12 Jun 2009 01:33:04 +0000 (01:33 +0000)]
ChangeLog update
Felipe Pena [Fri, 12 Jun 2009 01:00:30 +0000 (01:00 +0000)]
- Fixed bug #48533 (__callStatic is not invoked for private/protected methods)
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)
andy wharmby [Thu, 11 Jun 2009 23:04:36 +0000 (23:04 +0000)]
Delete duplicate test
andy wharmby [Thu, 11 Jun 2009 22:26:54 +0000 (22:26 +0000)]
New intval() tests. Tested on Windows, Linux and linux 64
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
andy wharmby [Thu, 11 Jun 2009 21:11:22 +0000 (21:11 +0000)]
Add/Fix SKIPIF sections of cURL tests
Andrey Hristov [Thu, 11 Jun 2009 17:53:13 +0000 (17:53 +0000)]
Revert by adding an ifdef
Pierre Joye [Thu, 11 Jun 2009 17:16:35 +0000 (17:16 +0000)]
- nuke unused var
Pierre Joye [Thu, 11 Jun 2009 17:14:34 +0000 (17:14 +0000)]
- MF53: silent warning and make it less ambiguous
Greg Beaver [Thu, 11 Jun 2009 14:43:03 +0000 (14:43 +0000)]
MFB: add phar.phar generation to windows
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
Johannes Schlüter [Thu, 11 Jun 2009 10:08:09 +0000 (10:08 +0000)]
Use a better extension version
Antony Dovgal [Thu, 11 Jun 2009 09:46:27 +0000 (09:46 +0000)]
fix bug #48518 (curl crashes when writing into invalid file handle)
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"
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.
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.
<changelog@php.net> [Thu, 11 Jun 2009 01:33:17 +0000 (01:33 +0000)]
ChangeLog update
Felipe Pena [Wed, 10 Jun 2009 19:00:54 +0000 (19:00 +0000)]
- Fix the fix (Bug #46973 - IPv6 address filter rejects valid address)
Johannes Schlüter [Wed, 10 Jun 2009 18:15:12 +0000 (18:15 +0000)]
Hannes said this shall not be run for RCs
Pierre Joye [Wed, 10 Jun 2009 16:05:55 +0000 (16:05 +0000)]
- look for static lib too
Hannes Magnusson [Wed, 10 Jun 2009 14:28:06 +0000 (14:28 +0000)]
Fix extension loading order
Hannes Magnusson [Wed, 10 Jun 2009 13:43:43 +0000 (13:43 +0000)]
Fix exception message
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
Antony Dovgal [Wed, 10 Jun 2009 11:09:48 +0000 (11:09 +0000)]
fix arginfo for curl_multi_info_read()
Pierre Joye [Wed, 10 Jun 2009 10:19:11 +0000 (10:19 +0000)]
- MFB: put mpir headers in their own directory
<changelog@php.net> [Wed, 10 Jun 2009 01:32:52 +0000 (01:32 +0000)]
ChangeLog update
andy wharmby [Tue, 9 Jun 2009 20:18:29 +0000 (20:18 +0000)]
Fix test - remove bogus variation
Pierre Joye [Tue, 9 Jun 2009 14:07:06 +0000 (14:07 +0000)]
- MFB: #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
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.
Pierre Joye [Tue, 9 Jun 2009 10:23:10 +0000 (10:23 +0000)]
- fix build (test before commit maybe?)
Pierre Joye [Tue, 9 Jun 2009 10:03:42 +0000 (10:03 +0000)]
- fix TS build
Pierre Joye [Tue, 9 Jun 2009 09:51:56 +0000 (09:51 +0000)]
- ws
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.
<changelog@php.net> [Tue, 9 Jun 2009 01:32:50 +0000 (01:32 +0000)]
ChangeLog update
Derick Rethans [Mon, 8 Jun 2009 13:53:24 +0000 (13:53 +0000)]
- Updated to version 2009.9 (2009i)
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.
Antony Dovgal [Mon, 8 Jun 2009 11:42:56 +0000 (11:42 +0000)]
revert yet another wrongly MFBed fix
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.
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)
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.
<changelog@php.net> [Mon, 8 Jun 2009 01:33:06 +0000 (01:33 +0000)]
ChangeLog update
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)
Patrick Allaert [Sun, 7 Jun 2009 21:26:45 +0000 (21:26 +0000)]
Removed credit
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.
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
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
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")
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)
<changelog@php.net> [Sun, 7 Jun 2009 01:33:05 +0000 (01:33 +0000)]
ChangeLog update
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
<changelog@php.net> [Sat, 6 Jun 2009 01:33:00 +0000 (01:33 +0000)]
ChangeLog update
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).
Rasmus Lerdorf [Fri, 5 Jun 2009 22:19:59 +0000 (22:19 +0000)]
No always_inline attribute in gcc2
Matt Wilmas [Fri, 5 Jun 2009 18:50:10 +0000 (18:50 +0000)]
Added zend_eval_stringl and made create_function(), etc. binary-safe
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)
Arnaud Le Blanc [Fri, 5 Jun 2009 11:21:16 +0000 (11:21 +0000)]
better fix for #48409 , #48428 , #48228
# (again, sorry)
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)