]> granicus.if.org Git - php/log
php
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

13 years agoFixed bug #54585 (track_errors causes segfault)
Dmitry Stogov [Mon, 25 Apr 2011 07:50:07 +0000 (07:50 +0000)]
Fixed bug #54585 (track_errors causes segfault)

13 years agoSSLV2 patch cleanup
Rasmus Lerdorf [Sun, 24 Apr 2011 23:27:48 +0000 (23:27 +0000)]
SSLV2 patch cleanup

13 years ago- fix use of unitiliazed var
Pierre Joye [Sun, 24 Apr 2011 22:08:11 +0000 (22:08 +0000)]
- fix use of unitiliazed var

13 years agoSupport for openssl without SSLv2 supprot compiled in. Distros are starting to
Rasmus Lerdorf [Sun, 24 Apr 2011 20:47:22 +0000 (20:47 +0000)]
Support for openssl without SSLv2 supprot compiled in. Distros are starting to
remove support now and this wasn't compiling anymore on my Debian dev box.

13 years ago2011
Hannes Magnusson [Sat, 23 Apr 2011 21:14:10 +0000 (21:14 +0000)]
2011

13 years agoits force-quit, not -exit (yawk)
Hannes Magnusson [Sat, 23 Apr 2011 21:12:25 +0000 (21:12 +0000)]
its force-quit, not -exit (yawk)

13 years agoFixed bug #54367 (Use of closure causes problem in ArrayAccess).
Dmitry Stogov [Wed, 20 Apr 2011 12:59:18 +0000 (12:59 +0000)]
Fixed bug #54367 (Use of closure causes problem in ArrayAccess).

13 years ago- not desired yt
Pierre Joye [Tue, 19 Apr 2011 21:57:01 +0000 (21:57 +0000)]
- not desired yt

13 years ago- fix build >(btw, has novell man pages too?)
Pierre Joye [Tue, 19 Apr 2011 21:43:22 +0000 (21:43 +0000)]
- fix build >(btw, has novell man pages too?)

13 years agoAdd an --man-dir to php-config too
Hannes Magnusson [Mon, 18 Apr 2011 11:13:37 +0000 (11:13 +0000)]
Add an --man-dir to php-config too

13 years agoExpose PHP_MANDIR
Hannes Magnusson [Mon, 18 Apr 2011 09:50:32 +0000 (09:50 +0000)]
Expose PHP_MANDIR
Useful for apps (like the pear installer, phd, .. etc) to install their manpages into the same dir as php did :]

13 years ago- Fixed ZTS build
Felipe Pena [Sun, 17 Apr 2011 22:06:27 +0000 (22:06 +0000)]
- Fixed ZTS build

13 years agoimplement FR #54540 - Allow loading of arbitrary resource bundles when fallback is...
Stanislav Malyshev [Sun, 17 Apr 2011 21:56:26 +0000 (21:56 +0000)]
implement FR #54540 - Allow loading of arbitrary resource bundles when fallback is disabled

13 years agoImplement FR #48587 (MySQL PDO driver doesn't support SSL connections)
Rob Richards [Fri, 15 Apr 2011 14:24:40 +0000 (14:24 +0000)]
Implement FR #48587 (MySQL PDO driver doesn't support SSL connections)

13 years agoFixed bug #54268 (Double free when destroy_zend_class fails)
Dmitry Stogov [Fri, 15 Apr 2011 12:43:20 +0000 (12:43 +0000)]
Fixed bug #54268 (Double free when destroy_zend_class fails)

13 years agoChanged initialization order to workaround against crashes after memory overflow
Dmitry Stogov [Fri, 15 Apr 2011 09:59:42 +0000 (09:59 +0000)]
Changed initialization order to workaround against crashes after memory overflow

13 years agoImproved GC to avaid reconstruction of HashTables for object properties
Dmitry Stogov [Fri, 15 Apr 2011 09:57:43 +0000 (09:57 +0000)]
Improved GC to avaid reconstruction of HashTables for object properties

13 years ago- Remove undesired line (reported by Gökhan Özbulak)
Felipe Pena [Wed, 13 Apr 2011 13:38:52 +0000 (13:38 +0000)]
- Remove undesired line (reported by Gökhan Özbulak)

13 years agofix bug #54238 (use-after-free in substr_replace())
Stanislav Malyshev [Wed, 13 Apr 2011 06:32:41 +0000 (06:32 +0000)]
fix bug #54238 (use-after-free in substr_replace())

13 years agoFixed bug #54121 (error message format string typo).
Ilia Alshanetsky [Tue, 12 Apr 2011 18:33:08 +0000 (18:33 +0000)]
Fixed bug #54121 (error message format string typo).

13 years agofix typo
Boris Lytochkin [Tue, 12 Apr 2011 08:00:14 +0000 (08:00 +0000)]
fix typo

13 years ago- Fixed bug #54440: libxml extension ignores default context.
Gustavo André dos Santos Lopes [Sat, 9 Apr 2011 18:32:55 +0000 (18:32 +0000)]
- Fixed bug #54440: libxml extension ignores default context.

13 years ago- Fixed bug #54494: mb_substr() mishandles UTF-32LE and UCS-2LE.
Gustavo André dos Santos Lopes [Sat, 9 Apr 2011 16:59:36 +0000 (16:59 +0000)]
- Fixed bug #54494: mb_substr() mishandles UTF-32LE and UCS-2LE.

13 years agoAdd optional argument to debug_backtrace() and debug_print_backtrace() to limit the...
Sebastian Bergmann [Sat, 9 Apr 2011 09:52:24 +0000 (09:52 +0000)]
Add optional argument to debug_backtrace() and debug_print_backtrace() to limit the amount of stack frames returned.

13 years ago- Fixed bug #54358 (Closure, use and reference)
Dmitry Stogov [Fri, 8 Apr 2011 10:02:07 +0000 (10:02 +0000)]
- Fixed bug #54358 (Closure, use and reference)
- Fixed bug #54039 (use() of static variables in lambda functions can break staticness)

13 years agoFixed bug #54323 (Accessing unset()'ed ArrayObject's property causes crash)
Dmitry Stogov [Thu, 7 Apr 2011 14:52:30 +0000 (14:52 +0000)]
Fixed bug #54323 (Accessing unset()'ed ArrayObject's property causes crash)

13 years agoMissed tests
Dmitry Stogov [Thu, 7 Apr 2011 14:34:07 +0000 (14:34 +0000)]
Missed tests

13 years agoFixed bug #54372 (Crash accessing global object itself returned from its __get()...
Dmitry Stogov [Thu, 7 Apr 2011 13:35:27 +0000 (13:35 +0000)]
Fixed bug #54372 (Crash accessing global object itself returned from its __get() handle)

13 years agoImplement FR #54459 (Range function accuracy) by changing the way range()
Adam Harvey [Wed, 6 Apr 2011 10:23:06 +0000 (10:23 +0000)]
Implement FR #54459 (Range function accuracy) by changing the way range()
calculates values when used with floating point bounds/step.

13 years ago- Updated UPGRADING now that multicast support was decided
Gustavo André dos Santos Lopes [Wed, 6 Apr 2011 10:17:52 +0000 (10:17 +0000)]
- Updated UPGRADING now that multicast support was decided
  trunk only.

13 years ago* Net-SNMP version detection and proper processing
Boris Lytochkin [Wed, 6 Apr 2011 06:58:25 +0000 (06:58 +0000)]
* Net-SNMP version detection and proper processing
* more UCD-SNMP-related code removal

13 years ago* added detection and walkaround for net-snmp library bug (net-snmp BUGid 2027834)
Boris Lytochkin [Tue, 5 Apr 2011 12:20:35 +0000 (12:20 +0000)]
* added detection and walkaround for net-snmp library bug (net-snmp BUGid 2027834)
* drop UCD-SNMP support, R.I.P.

13 years agoFix common typos in the source code (Reported in Bug #54065)
Pierrick Charron [Sun, 3 Apr 2011 21:46:52 +0000 (21:46 +0000)]
Fix common typos in the source code (Reported in Bug #54065)
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)

13 years ago- Removed unused variable (Pierrick)
Felipe Pena [Sun, 3 Apr 2011 17:20:34 +0000 (17:20 +0000)]
- Removed unused variable (Pierrick)

13 years agoFixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented).
Ilia Alshanetsky [Sun, 3 Apr 2011 16:30:31 +0000 (16:30 +0000)]
Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented).

13 years agoFixed bug #54454 (substr_compare incorrectly reports equality in some cases)
Pierrick Charron [Sun, 3 Apr 2011 07:18:27 +0000 (07:18 +0000)]
Fixed bug #54454 (substr_compare incorrectly reports equality in some cases)

13 years ago- Improved message and version checking
Felipe Pena [Sat, 2 Apr 2011 01:24:53 +0000 (01:24 +0000)]
- Improved message and version checking

13 years ago- add CURLINFO_REDIRECT_URL
Pierre Joye [Fri, 1 Apr 2011 17:19:08 +0000 (17:19 +0000)]
- add CURLINFO_REDIRECT_URL