]> granicus.if.org Git - php/log
php
13 years agoFixed test for decoupled <?= as of r311260
Philip Olson [Mon, 23 May 2011 23:51:28 +0000 (23:51 +0000)]
Fixed test for decoupled <?= as of r311260

13 years agoFix Bug #54727, a re-incarnation of #26862
Michael Wallner [Mon, 23 May 2011 10:42:00 +0000 (10:42 +0000)]
Fix Bug #54727, a re-incarnation of #26862

13 years agoArithmetic speedup. Inlined most probable code-paths for arithmetic operations direct...
Dmitry Stogov [Mon, 23 May 2011 08:05:44 +0000 (08:05 +0000)]
Arithmetic speedup. Inlined most probable code-paths for arithmetic operations directly into executor.

13 years agofix some failing tests
Stanislav Malyshev [Mon, 23 May 2011 07:06:04 +0000 (07:06 +0000)]
fix some failing tests

13 years ago- Fixed bug #54529 (SAPI crashes on apache_config.c:197)
Felipe Pena [Mon, 23 May 2011 01:47:06 +0000 (01:47 +0000)]
- Fixed bug #54529 (SAPI crashes on apache_config.c:197)
  patch by: hebergement at riastudio dot fr

13 years ago- Fixed bug #54269 (Short exception message buffer causes crash)
Felipe Pena [Sun, 22 May 2011 19:06:21 +0000 (19:06 +0000)]
- Fixed bug #54269 (Short exception message buffer causes crash)

13 years agoIncrease the overly conservative pcre backtrack limit from 100000 to 1000000
Rasmus Lerdorf [Sat, 21 May 2011 19:48:37 +0000 (19:48 +0000)]
Increase the overly conservative pcre backtrack limit from 100000 to 1000000

13 years ago- Fixed bug #54895 (Fix compiling with older gcc version without need for membar_prod...
Felipe Pena [Fri, 20 May 2011 21:24:51 +0000 (21:24 +0000)]
- Fixed bug #54895 (Fix compiling with older gcc version without need for membar_producer macro)
  patch by: mhei at heimpold dot de

13 years agoAllow management of your own padding in openssl_encrypt/decrypt.
Scott MacVicar [Fri, 20 May 2011 18:56:13 +0000 (18:56 +0000)]
Allow management of your own padding in openssl_encrypt/decrypt.

For using mcrypt / openssl interchangeabley managing your own padding is the only solution.

13 years ago- Fixed bug #54804 (__halt_compiler and imported namespaces) (Pierrick)
Felipe Pena [Thu, 19 May 2011 23:20:47 +0000 (23:20 +0000)]
- Fixed bug #54804 (__halt_compiler and imported namespaces) (Pierrick)

13 years agoFix CS
Rasmus Lerdorf [Thu, 19 May 2011 23:18:55 +0000 (23:18 +0000)]
Fix CS

13 years agoFix bug 54866
Rasmus Lerdorf [Thu, 19 May 2011 23:09:58 +0000 (23:09 +0000)]
Fix bug 54866

13 years agoTidy up ldap paging code and rename the API as discussed in #42060
Scott MacVicar [Thu, 19 May 2011 17:41:21 +0000 (17:41 +0000)]
Tidy up ldap paging code and rename the API as discussed in #42060

13 years agoDecouple <?= from the short_tags setting and make it always enabled
Rasmus Lerdorf [Thu, 19 May 2011 16:26:29 +0000 (16:26 +0000)]
Decouple <?= from the short_tags setting and make it always enabled

13 years ago- initial import, will add all libs later
Pierre Joye [Thu, 19 May 2011 13:36:29 +0000 (13:36 +0000)]
- initial import, will add all libs later

13 years agoRevert part of the fix for #53339
Scott MacVicar [Thu, 19 May 2011 05:43:48 +0000 (05:43 +0000)]
Revert part of the fix for #53339
On OSX we need ssl AND crypto

The patch that was applied didn't even match what was in the bug

13 years agoFixed failing test (mismatch of tzoffset)
Jeraimee Hughes [Wed, 18 May 2011 20:52:30 +0000 (20:52 +0000)]
Fixed failing test (mismatch of tzoffset)

13 years agoFixed failing test.
Jeraimee Hughes [Wed, 18 May 2011 20:07:11 +0000 (20:07 +0000)]
Fixed failing test.

13 years ago- handle out of memory
Johannes Schlüter [Wed, 18 May 2011 11:49:49 +0000 (11:49 +0000)]
- handle out of memory

13 years ago- Keep the old arginfo for now
Johannes Schlüter [Wed, 18 May 2011 10:21:28 +0000 (10:21 +0000)]
- Keep the old arginfo for now
# This change we would E_RECOVERABLE instead of E_WARNING
# and needs some more review, as well fixing ~80 tests

13 years agoZEND_THREAD_SAFE and ZEND_DEBUG_BUILD are not meant to be case insensitive
Scott MacVicar [Tue, 17 May 2011 22:24:44 +0000 (22:24 +0000)]
ZEND_THREAD_SAFE and ZEND_DEBUG_BUILD are not meant to be case insensitive

13 years agoFixes for broken tests.
Jeraimee Hughes [Tue, 17 May 2011 15:08:15 +0000 (15:08 +0000)]
Fixes for broken tests.

13 years agoFix for failing test.
Jeraimee Hughes [Tue, 17 May 2011 15:06:48 +0000 (15:06 +0000)]
Fix for failing test.

13 years agoUse iterator when necessary to get the full properties hash - consistent with count...
Andrew Curioso [Tue, 17 May 2011 13:50:48 +0000 (13:50 +0000)]
Use iterator when necessary to get the full properties hash - consistent with count (see test: ext/simplexml/tests/034.phpt)

13 years agoFixed crash on recursive error handler invocation
Dmitry Stogov [Tue, 17 May 2011 12:27:21 +0000 (12:27 +0000)]
Fixed crash on recursive error handler invocation

13 years ago- WS
Pierre Joye [Tue, 17 May 2011 10:39:18 +0000 (10:39 +0000)]
- WS

13 years agoexchange a "trap" with an error
Andrey Hristov [Tue, 17 May 2011 09:44:11 +0000 (09:44 +0000)]
exchange a "trap" with an error

13 years ago- Move the field access behind the check
Johannes Schlüter [Tue, 17 May 2011 00:16:57 +0000 (00:16 +0000)]
- Move the field access behind the check
# Only called from one place where the connection is checked, but
# playing safe, again (parfait)

13 years agoadding an XFAIL, as we have an open bug for this test
Ferenc Kovacs [Mon, 16 May 2011 23:43:12 +0000 (23:43 +0000)]
adding an XFAIL, as we have an open bug for this test

13 years agoadding an XFAIL, as we have an open bug for this test
Ferenc Kovacs [Mon, 16 May 2011 23:39:16 +0000 (23:39 +0000)]
adding an XFAIL, as we have an open bug for this test

13 years agoset the timezone to UTC as suggested by Alexey Shein, and adding an SKIPIF as this...
Ferenc Kovacs [Mon, 16 May 2011 23:35:23 +0000 (23:35 +0000)]
set the timezone to UTC as suggested by Alexey Shein, and adding an SKIPIF as this test was originaly intended to be windows only

13 years agofix the test with the removal of the unnecessary newline
Ferenc Kovacs [Mon, 16 May 2011 23:33:05 +0000 (23:33 +0000)]
fix the test with the removal of the unnecessary newline

13 years agoadding the serialize_precision=100 for the tests, credits to Mats Lindh for reporting it
Ferenc Kovacs [Mon, 16 May 2011 23:31:14 +0000 (23:31 +0000)]
adding the serialize_precision=100 for the tests, credits to Mats Lindh for reporting it

13 years agoremoving XFAIL as #39863 has already been fixed
Ferenc Kovacs [Mon, 16 May 2011 23:28:46 +0000 (23:28 +0000)]
removing XFAIL as #39863 has already been fixed

13 years ago- Handle error if tempfile can't be opened, found by parfait
Johannes Schlüter [Mon, 16 May 2011 22:24:41 +0000 (22:24 +0000)]
- Handle error if tempfile can't be opened, found by parfait

13 years ago- Fix a few more memleaks found by parfait
Johannes Schlüter [Mon, 16 May 2011 21:29:45 +0000 (21:29 +0000)]
- Fix a few more memleaks found by parfait

13 years ago- Fix possible memory leak
Johannes Schlüter [Mon, 16 May 2011 19:46:32 +0000 (19:46 +0000)]
- Fix possible memory leak
# Found by parfait - http://labs.oracle.com/projects/parfait/

13 years agooops, can't use that macro here
Rasmus Lerdorf [Mon, 16 May 2011 17:26:10 +0000 (17:26 +0000)]
oops, can't use that macro here

13 years agoSuppress a dozen unused return value warnings in places where the return
Rasmus Lerdorf [Mon, 16 May 2011 17:22:41 +0000 (17:22 +0000)]
Suppress a dozen unused return value warnings in places where the return
value is really not useful to us.

13 years agoAdd php_ignore_value() macro to suppress unused return value warnings
Rasmus Lerdorf [Mon, 16 May 2011 16:58:02 +0000 (16:58 +0000)]
Add php_ignore_value() macro to suppress unused return value warnings
from gcc. There are times when we really don't care about the return
value and this will cleanly tell gcc.

13 years agoFix a couple of warnings. Use %zu to printf a time_t and get_request_time
Rasmus Lerdorf [Mon, 16 May 2011 15:52:31 +0000 (15:52 +0000)]
Fix a couple of warnings. Use %zu to printf a time_t and get_request_time
actually returns a double, not a time_t.

13 years ago- Fix Bug #53782 (foreach throws irrelevant exception)
Johannes Schlüter [Mon, 16 May 2011 15:37:39 +0000 (15:37 +0000)]
- Fix Bug #53782 (foreach throws irrelevant exception)

13 years ago- Move the access behind the check.
Johannes Schlüter [Mon, 16 May 2011 10:15:28 +0000 (10:15 +0000)]
- Move the access behind the check.
# I can't find an unsafe call, but let's play safe

13 years agoGet rid of autoconf warnings
Rasmus Lerdorf [Mon, 16 May 2011 00:14:47 +0000 (00:14 +0000)]
Get rid of autoconf warnings

13 years agoDrop support for autoconf < 2.60 in trunk and the
Rasmus Lerdorf [Sun, 15 May 2011 06:09:21 +0000 (06:09 +0000)]
Drop support for autoconf < 2.60 in trunk and the
new PHP_5_4 branch. autoconf >= 2.60 should finally
be working now.

13 years agoCache the pdo include path
Rasmus Lerdorf [Sun, 15 May 2011 05:03:29 +0000 (05:03 +0000)]
Cache the pdo include path

13 years agoWe can't really predict what will happen on an unknown host lookup
Rasmus Lerdorf [Sun, 15 May 2011 01:52:07 +0000 (01:52 +0000)]
We can't really predict what will happen on an unknown host lookup
since bogus ISPs like Comcast and many others try to "help" by resolving
everything to their own search page.

13 years agoforgot tokenizer...
Stanislav Malyshev [Sun, 15 May 2011 00:48:05 +0000 (00:48 +0000)]
forgot tokenizer...

13 years agoremoving scalar types in trunk
Stanislav Malyshev [Sun, 15 May 2011 00:36:13 +0000 (00:36 +0000)]
removing scalar types in trunk

13 years agoMFB: Fixed two failing tests that were caused by arbitrarily chosen
Martin Jansen [Sat, 14 May 2011 20:38:47 +0000 (20:38 +0000)]
MFB: Fixed two failing tests that were caused by arbitrarily chosen
but apparently bogus upper resp. lower limits for mt_rand().

13 years ago- Fix svn command
Johannes Schlüter [Sat, 14 May 2011 18:02:59 +0000 (18:02 +0000)]
- Fix svn command

13 years agoen_US locale preferred output has AM/PM and also the timezone
Rasmus Lerdorf [Sat, 14 May 2011 17:51:38 +0000 (17:51 +0000)]
en_US locale preferred output has AM/PM and also the timezone

13 years ago- cvs2svn changes for the RELEASE_PROCESS
Johannes Schlüter [Sat, 14 May 2011 17:48:36 +0000 (17:48 +0000)]
- cvs2svn changes for the RELEASE_PROCESS

13 years agoFix the require in these tests
Rasmus Lerdorf [Sat, 14 May 2011 17:34:18 +0000 (17:34 +0000)]
Fix the require in these tests

13 years ago- Fix test
Felipe Pena [Sat, 14 May 2011 01:00:59 +0000 (01:00 +0000)]
- Fix test

13 years agoMake sure 'E' is included in the variables_order, otherwise
Rasmus Lerdorf [Fri, 13 May 2011 21:54:25 +0000 (21:54 +0000)]
Make sure 'E' is included in the variables_order, otherwise
this test won't work.

13 years agoFixed a inconsitent condition for aliasing traits.
Stefan Marr [Fri, 13 May 2011 20:28:34 +0000 (20:28 +0000)]
Fixed a inconsitent condition for aliasing traits.

- missed a failing Traits test, but is now fixed, and the bug covered by a dedicated test
# Should always comment conditions that go over more than two lines :-/

13 years agoFix Windows build, this really should be in a patch file / README.
Scott MacVicar [Fri, 13 May 2011 13:51:07 +0000 (13:51 +0000)]
Fix Windows build, this really should be in a patch file / README.

I'll fix this up later.

13 years agoUpdate bundled PCRE to 8.12
Scott MacVicar [Fri, 13 May 2011 07:00:45 +0000 (07:00 +0000)]
Update bundled PCRE to 8.12

13 years agoUpdate bundled SQLite to 3.7.6.2
Scott MacVicar [Fri, 13 May 2011 06:11:06 +0000 (06:11 +0000)]
Update bundled SQLite to 3.7.6.2

13 years agoFix use after free() in XMLReader::xml()
Scott MacVicar [Fri, 13 May 2011 05:54:34 +0000 (05:54 +0000)]
Fix use after free() in XMLReader::xml()

13 years ago Fixed bug #54723 - getimagesize() doesn't check the full ico signature and misreport...
Scott MacVicar [Fri, 13 May 2011 05:06:48 +0000 (05:06 +0000)]
 Fixed bug #54723 - getimagesize() doesn't check the full ico signature and misreports mpg files

13 years agoCheck headers first and let the CHECK_LIBRARY macro
Rasmus Lerdorf [Thu, 12 May 2011 08:19:37 +0000 (08:19 +0000)]
Check headers first and let the CHECK_LIBRARY macro
handle checking for the library. This makes it
correctly handle non-standard system paths as long
as gcc knows about them. Should fix the build on
Ubuntu natty.

13 years agoAdded missing date_default_timezone_set('UTC'); to the appropriate tests. A few now...
Philip Olson [Thu, 12 May 2011 06:51:46 +0000 (06:51 +0000)]
Added missing date_default_timezone_set('UTC'); to the appropriate tests. A few now pass by not showing the timezone warning.

13 years agofixed typos in tests
Boris Lytochkin [Tue, 10 May 2011 20:04:26 +0000 (20:04 +0000)]
fixed typos in tests
ucd-snmp epoch is over, drop legacy memory allocation (non e*)
tune 'buggy snmp_snprint_value' detection on some systems

13 years agoTurns out that more than 1% of users clocks are more than a year out of date, this...
Scott MacVicar [Tue, 10 May 2011 19:09:24 +0000 (19:09 +0000)]
Turns out that more than 1% of users clocks are more than a year out of date, this causes cookies to never get deleted since the date is in the future.

I can only guess its due to batteries on the motherboard being dead.

13 years agomethod renaming:
Boris Lytochkin [Tue, 10 May 2011 11:48:10 +0000 (11:48 +0000)]
method renaming:
SNMP::get_errno() -> SNMP::getErrno()
SNMP::get_error() -> SNMP::getError()

13 years agoFix bug #54692 (SQLite3::open() Return Value) by correcting the SQLite3::open()
Adam Harvey [Tue, 10 May 2011 08:14:55 +0000 (08:14 +0000)]
Fix bug #54692 (SQLite3::open() Return Value) by correcting the SQLite3::open()
prototype.

13 years agoFix range
Andrey Hristov [Tue, 10 May 2011 07:15:22 +0000 (07:15 +0000)]
Fix range
(thanks again nihen)

13 years agoremove method open, __construct is enough
Boris Lytochkin [Mon, 9 May 2011 19:34:07 +0000 (19:34 +0000)]
remove method open, __construct is enough

13 years agoFix for bug 54674..typo in the check of SJIS
Andrey Hristov [Mon, 9 May 2011 16:20:35 +0000 (16:20 +0000)]
Fix for bug 54674..typo in the check of SJIS

13 years ago- Fix bug #54644 (wrong pathes in php_pdo_mysql_int.h)
Johannes Schlüter [Mon, 9 May 2011 11:34:17 +0000 (11:34 +0000)]
- Fix bug #54644 (wrong pathes in php_pdo_mysql_int.h)

13 years ago* new option for SNMP::get: force keys of return array be as in request array
Boris Lytochkin [Sun, 8 May 2011 13:58:37 +0000 (13:58 +0000)]
* new option for SNMP::get: force keys of return array be as in request array
* new option for SNMP::walk: use suffix of OID for keys in return array, not full OID

13 years agofix error reporting on OID not increasing
Boris Lytochkin [Sun, 8 May 2011 09:20:58 +0000 (09:20 +0000)]
fix error reporting on OID not increasing
calling arguments markup

13 years ago- Fixed bug #54681 (addGlob() crashes on invalid flags)
Felipe Pena [Sat, 7 May 2011 01:58:26 +0000 (01:58 +0000)]
- Fixed bug #54681 (addGlob() crashes on invalid flags)

13 years ago# Fix phpt
Pierrick Charron [Thu, 5 May 2011 18:30:14 +0000 (18:30 +0000)]
# Fix phpt

13 years agoFixed direct threaded executor (php zend_vm_gen.php --with-vm-kind=GOTO)
Dmitry Stogov [Thu, 5 May 2011 16:02:11 +0000 (16:02 +0000)]
Fixed direct threaded executor (php zend_vm_gen.php --with-vm-kind=GOTO)

13 years agoadd the BLOCK_LEAVE macro for non-gcc and non-win
Andrey Hristov [Wed, 4 May 2011 19:09:12 +0000 (19:09 +0000)]
add the BLOCK_LEAVE macro for non-gcc and non-win

13 years agoreorganize the DBG_ macros, add DBG_BLOCK_XXX
Andrey Hristov [Wed, 4 May 2011 19:05:19 +0000 (19:05 +0000)]
reorganize the DBG_ macros, add DBG_BLOCK_XXX

13 years agofix valgrind warning
Andrey Hristov [Wed, 4 May 2011 10:35:04 +0000 (10:35 +0000)]
fix valgrind warning

13 years agofix tests
Antony Dovgal [Wed, 4 May 2011 08:44:14 +0000 (08:44 +0000)]
fix tests

13 years agofix test
Antony Dovgal [Wed, 4 May 2011 08:28:31 +0000 (08:28 +0000)]
fix test

13 years agofix CLI tests failing because of new OB API
Antony Dovgal [Wed, 4 May 2011 08:24:16 +0000 (08:24 +0000)]
fix CLI tests failing because of new OB API

13 years agoFixed crash when passing invalid timestamp (negative integer on win32)
Dmitry Stogov [Wed, 4 May 2011 07:53:22 +0000 (07:53 +0000)]
Fixed crash when passing invalid timestamp (negative integer on win32)

13 years agofix tests
Antony Dovgal [Tue, 3 May 2011 11:15:30 +0000 (11:15 +0000)]
fix tests

13 years ago- Fixed ZTS build
Felipe Pena [Sun, 1 May 2011 19:22:24 +0000 (19:22 +0000)]
- Fixed ZTS build

13 years ago- Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
Gustavo André dos Santos Lopes [Sun, 1 May 2011 18:37:20 +0000 (18:37 +0000)]
- Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
  directive is set in activation time). This commit fixes this by adding a per
  request parsing of the browscap file that's when get_browser is called the
  first time and the directive is set on activation time.w

13 years ago- Fixed accidental change.
Gustavo André dos Santos Lopes [Sun, 1 May 2011 04:16:28 +0000 (04:16 +0000)]
- Fixed accidental change.

13 years ago- Fixed bug #54623 (Segfault when when writing to a persistent socket after
Gustavo André dos Santos Lopes [Sun, 1 May 2011 03:57:01 +0000 (03:57 +0000)]
- Fixed bug #54623 (Segfault when when writing to a persistent socket after
  closing a copy of the socket).

13 years ago- Updated to version 2011.7 (2011g)
Derick Rethans [Sat, 30 Apr 2011 20:18:51 +0000 (20:18 +0000)]
- Updated to version 2011.7 (2011g)

13 years ago- Fixed build on Solaris.
Gustavo André dos Santos Lopes [Sat, 30 Apr 2011 15:56:07 +0000 (15:56 +0000)]
- Fixed build on Solaris.

13 years ago- Fixed SKIPIF section missing a semicolon.
Gustavo André dos Santos Lopes [Sat, 30 Apr 2011 15:54:44 +0000 (15:54 +0000)]
- Fixed SKIPIF section missing a semicolon.

13 years agofix method name in JsonSerializable exception message
Peter Cowburn [Sat, 30 Apr 2011 12:57:23 +0000 (12:57 +0000)]
fix method name in JsonSerializable exception message

13 years ago#doc
Ilia Alshanetsky [Thu, 28 Apr 2011 12:32:47 +0000 (12:32 +0000)]
#doc
Added 3rd parameter to filter_var_array() and filter_input_array()
functions that allows disabling addition of empty elements

13 years agoFix test by pointing this at a smaller file that is less likely to break the test
Rasmus Lerdorf [Wed, 27 Apr 2011 21:27:31 +0000 (21:27 +0000)]
Fix test by pointing this at a smaller file that is less likely to break the test

13 years agoFix broken test
Rasmus Lerdorf [Wed, 27 Apr 2011 15:08:44 +0000 (15:08 +0000)]
Fix broken test

13 years agoRegenerate from the doc sources
Hannes Magnusson [Wed, 27 Apr 2011 09:29:10 +0000 (09:29 +0000)]
Regenerate from the doc sources

13 years agoThe project calls itself OpenSSL and not openSSL, so let's keep it
Martin Jansen [Mon, 25 Apr 2011 16:50:30 +0000 (16:50 +0000)]
The project calls itself OpenSSL and not openSSL, so let's keep it
that way in our code as well.

13 years ago- keep node creation check
Pierre Joye [Mon, 25 Apr 2011 09:31:00 +0000 (09:31 +0000)]
- keep node creation check

13 years ago- keep inode creation check
Pierre Joye [Mon, 25 Apr 2011 09:28:08 +0000 (09:28 +0000)]
- keep inode creation check