]> granicus.if.org Git - php/log
php
13 years agoAdded fabled hex2bin() function
Scott MacVicar [Fri, 3 Jun 2011 00:12:22 +0000 (00:12 +0000)]
Added fabled hex2bin() function

13 years ago- Fix ZTS build
Felipe Pena [Thu, 2 Jun 2011 22:54:14 +0000 (22:54 +0000)]
- Fix ZTS build

13 years agoMissing ifdef related to the previous patch
Ilia Alshanetsky [Thu, 2 Jun 2011 21:38:54 +0000 (21:38 +0000)]
Missing ifdef related to the previous patch

13 years agoZend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals)
Ilia Alshanetsky [Thu, 2 Jun 2011 21:16:50 +0000 (21:16 +0000)]
Zend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals)
This needs to go into 5.4 as well, but will wait for Pierre to review win32 situation

# Patch by Lucas Nealan, Arnaud Le Blanc, Brian Shire & Ilia Alshanetsky

13 years ago- Fixed double registering of browscap ini directive. See bug #54896.
Gustavo André dos Santos Lopes [Thu, 2 Jun 2011 08:46:40 +0000 (08:46 +0000)]
- Fixed double registering of browscap ini directive. See bug #54896.

13 years ago- Fixed bug #54970 (SplFixedArray::setSize() isn't resizing)
Felipe Pena [Thu, 2 Jun 2011 00:40:27 +0000 (00:40 +0000)]
- Fixed bug #54970 (SplFixedArray::setSize() isn't resizing)

13 years agoMore tests
Ilia Alshanetsky [Wed, 1 Jun 2011 16:59:23 +0000 (16:59 +0000)]
More tests

13 years agoImplemented FR #54561 (Expose ICU Version & ICU Data Version info).
Ilia Alshanetsky [Wed, 1 Jun 2011 16:26:21 +0000 (16:26 +0000)]
Implemented FR #54561 (Expose ICU Version & ICU Data Version info).

13 years agoFixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE settings).
Ilia Alshanetsky [Wed, 1 Jun 2011 13:23:25 +0000 (13:23 +0000)]
Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE settings).

13 years agoFixed bug #54484 (Empty string in json_decode doesn't reset json_last_error()).
Ilia Alshanetsky [Wed, 1 Jun 2011 09:44:38 +0000 (09:44 +0000)]
Fixed bug #54484 (Empty string in json_decode doesn't reset json_last_error()).

13 years agoAdding testcases to validate imageloadfont input parameter validation, tests were...
Rafael Machado Dohms [Tue, 31 May 2011 21:10:01 +0000 (21:10 +0000)]
Adding testcases to validate imageloadfont input parameter validation, tests were developed at #tek11 testfest

13 years agoreuse code
Andrey Hristov [Tue, 31 May 2011 20:42:44 +0000 (20:42 +0000)]
reuse code

13 years agoFixed notice breaking the test.
Shein Alexey [Tue, 31 May 2011 12:57:40 +0000 (12:57 +0000)]
Fixed notice breaking the test.

13 years agoRemoved test since there's no more safe_mode in PHP >= 5.4.
Shein Alexey [Tue, 31 May 2011 12:45:00 +0000 (12:45 +0000)]
Removed test since there's no more safe_mode in PHP >= 5.4.

13 years agofix macros
Andrey Hristov [Tue, 31 May 2011 10:35:07 +0000 (10:35 +0000)]
fix macros

13 years agoFixed bug #54910 (Crash when calling call_user_func with unknown function name)
Dmitry Stogov [Tue, 31 May 2011 09:20:51 +0000 (09:20 +0000)]
Fixed bug #54910 (Crash when calling call_user_func with unknown function name)

13 years agoRemoved unnecessary rinit/rshutdown
Ilia Alshanetsky [Tue, 31 May 2011 08:59:32 +0000 (08:59 +0000)]
Removed unnecessary rinit/rshutdown

13 years agoFixed bug #54957 (Memleak in alloc_globals_ctor)
Dmitry Stogov [Tue, 31 May 2011 08:26:53 +0000 (08:26 +0000)]
Fixed bug #54957 (Memleak in alloc_globals_ctor)

13 years agoUpdated qa-release.php notes as per the new qa-release.php syntax
Philip Olson [Mon, 30 May 2011 23:26:33 +0000 (23:26 +0000)]
Updated qa-release.php notes as per the new qa-release.php syntax

13 years agoFixed bug #52496 (Zero exit code on option parsing failure).
Ilia Alshanetsky [Mon, 30 May 2011 15:57:50 +0000 (15:57 +0000)]
Fixed bug #52496 (Zero exit code on option parsing failure).

13 years agoFixed bug #54946 (stream_get_contents infinite loop)
Hannes Magnusson [Sun, 29 May 2011 12:29:19 +0000 (12:29 +0000)]
Fixed bug #54946 (stream_get_contents infinite loop)

13 years agoFixed bug #54601 (Removing the doctype node segfaults)
Hannes Magnusson [Sun, 29 May 2011 11:39:49 +0000 (11:39 +0000)]
Fixed bug #54601 (Removing the doctype node segfaults)

13 years agoFixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields).
Ilia Alshanetsky [Sun, 29 May 2011 10:23:06 +0000 (10:23 +0000)]
Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields).

13 years agoFixed bug #54137 (file_get_contents POST request sends additional line break).
Ilia Alshanetsky [Sun, 29 May 2011 09:23:08 +0000 (09:23 +0000)]
Fixed bug #54137 (file_get_contents POST request sends additional line break).

13 years ago- Fixed bug #54934 (Unresolved symbol strtoull in HP-UX 11.11)
Felipe Pena [Fri, 27 May 2011 23:31:30 +0000 (23:31 +0000)]
- Fixed bug #54934 (Unresolved symbol strtoull in HP-UX 11.11)

13 years agoFixed bug #54924 (assert.* is not being reset upon request shutdown).
Ilia Alshanetsky [Thu, 26 May 2011 18:17:43 +0000 (18:17 +0000)]
Fixed bug #54924 (assert.* is not being reset upon request shutdown).

13 years ago -fix bug 54935, php_win_err can lead to crash
Pierre Joye [Thu, 26 May 2011 14:37:13 +0000 (14:37 +0000)]
 -fix bug 54935, php_win_err can lead to crash

13 years ago- Fixed ZTS build and removed unused vars
Felipe Pena [Wed, 25 May 2011 22:23:48 +0000 (22:23 +0000)]
- Fixed ZTS build and removed unused vars

13 years agoimplement streams metadata API per RFC
Stanislav Malyshev [Wed, 25 May 2011 21:03:55 +0000 (21:03 +0000)]
implement streams metadata API per RFC

13 years agoFixed test, as per r311323
Philip Olson [Wed, 25 May 2011 00:02:05 +0000 (00:02 +0000)]
Fixed test, as per r311323

13 years ago- Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
Felipe Pena [Tue, 24 May 2011 23:49:26 +0000 (23:49 +0000)]
- Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
  Patch by: slusarz at curecanti dot org

13 years agoFixed test
Philip Olson [Tue, 24 May 2011 23:49:04 +0000 (23:49 +0000)]
Fixed test

13 years agoUpdated test. touch() emits E_WARNING for bogus values. Updated 5.3 test to look...
Philip Olson [Tue, 24 May 2011 23:27:49 +0000 (23:27 +0000)]
Updated test. touch() emits E_WARNING for bogus values. Updated 5.3 test to look the same.

13 years ago- Fix logic, it must check for both flags (as says the comment in the code) (bug...
Felipe Pena [Tue, 24 May 2011 22:34:07 +0000 (22:34 +0000)]
- Fix logic, it must check for both flags (as says the comment in the code) (bug #54912)

13 years ago- Fixed bug #54912 (filter/logical_filters.c:685:32: warning: use of logical || with...
Felipe Pena [Tue, 24 May 2011 22:24:06 +0000 (22:24 +0000)]
- Fixed bug #54912 (filter/logical_filters.c:685:32: warning: use of logical || with constant op)
  Initial patch by: crrodriguez at opensuse dot org

13 years ago- Fix #54721, different Hashes on Windows, BSD and Linux on wrong Salt size
Pierre Joye [Tue, 24 May 2011 13:48:04 +0000 (13:48 +0000)]
- Fix #54721, different Hashes on Windows, BSD and Linux on wrong Salt size

13 years ago- fix tests, keep EOL as unix style as the str len is used in expect
Pierre Joye [Tue, 24 May 2011 10:47:35 +0000 (10:47 +0000)]
- fix tests, keep EOL as unix style as the str len is used in expect

13 years agoFixed comilation on x86_64
Dmitry Stogov [Tue, 24 May 2011 08:27:36 +0000 (08:27 +0000)]
Fixed comilation on x86_64

13 years ago- Fix the fix
Felipe Pena [Tue, 24 May 2011 00:10:00 +0000 (00:10 +0000)]
- Fix the fix
# Arghh, copy and paste error :(

13 years ago- Fixed stack buffer overflow in socket_connect().
Felipe Pena [Tue, 24 May 2011 00:05:50 +0000 (00:05 +0000)]
- Fixed stack buffer overflow in socket_connect().
  Found by: Mateusz Kocielski, Marek Kroemeke and Filip Palian

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