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

13 years ago- [doc] add ini option to set the default cainfo file, in case none was set at compil...
Pierre Joye [Fri, 1 Apr 2011 17:10:52 +0000 (17:10 +0000)]
- [doc] add ini option to set the default cainfo file, in case none was set at compile time

13 years ago- Updated to version 2011.5 (2011e)
Derick Rethans [Fri, 1 Apr 2011 11:24:49 +0000 (11:24 +0000)]
- Updated to version 2011.5 (2011e)

13 years ago- fix bug #54423, fix build in trunk, introduce by previous related commit
Pierre Joye [Thu, 31 Mar 2011 23:58:06 +0000 (23:58 +0000)]
- fix bug #54423, fix build in trunk, introduce by previous related commit

13 years agofix bug #54423 (classes from dl()'ed extensions are not destroyed)
Antony Dovgal [Thu, 31 Mar 2011 11:59:34 +0000 (11:59 +0000)]
fix bug #54423 (classes from dl()'ed extensions are not destroyed)

13 years ago- not used on win
Pierre Joye [Wed, 30 Mar 2011 09:46:56 +0000 (09:46 +0000)]
- not used on win

13 years ago- fix build, should fix that code too on non win (wondering if that part was working...
Pierre Joye [Wed, 30 Mar 2011 09:46:20 +0000 (09:46 +0000)]
- fix build, should fix that code too on non win (wondering if that part was working at all)

13 years ago- attempt to fix build, 1st error
Pierre Joye [Wed, 30 Mar 2011 09:42:21 +0000 (09:42 +0000)]
- attempt to fix build, 1st error

13 years ago- fix build
Pierre Joye [Wed, 30 Mar 2011 09:25:09 +0000 (09:25 +0000)]
- fix build

13 years agoRefactor OCI8 config.m4: improve messages and merge similar conditionals
Christopher Jones [Tue, 29 Mar 2011 21:37:45 +0000 (21:37 +0000)]
Refactor OCI8 config.m4: improve messages and merge similar conditionals

13 years ago- Fixed bug #44989 (64bit Oracle RPMs still not supported by pdo-oci)
Felipe Pena [Tue, 29 Mar 2011 18:40:20 +0000 (18:40 +0000)]
- Fixed bug #44989 (64bit Oracle RPMs still not supported by pdo-oci)
  patch by: jbnance at tresgeek dot net

13 years ago- Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent, windows fix
Pierre Joye [Mon, 28 Mar 2011 16:43:49 +0000 (16:43 +0000)]
-  Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent, windows fix

13 years ago- re enable static analyzer, crash fixed with snapshot builds
Pierre Joye [Mon, 28 Mar 2011 10:55:34 +0000 (10:55 +0000)]
- re enable static analyzer, crash fixed with snapshot builds

13 years agoMFB (r309775): fix last commit
Nuno Lopes [Mon, 28 Mar 2011 09:11:28 +0000 (09:11 +0000)]
MFB (r309775): fix last commit

13 years ago- Improved upon r309729.
Gustavo André dos Santos Lopes [Sun, 27 Mar 2011 22:44:34 +0000 (22:44 +0000)]
- Improved upon r309729.
- Extented strategy to remaining the classes on spl_directory.c, even those that don't crash.
- UPGRADING.
- Better bug54384.phpt, with all the classes covered.

13 years agoUPGRADING
Arnaud Le Blanc [Sun, 27 Mar 2011 20:24:40 +0000 (20:24 +0000)]
UPGRADING

13 years agoAdded CallbackFilterIterator and RecursiveCallbackFilterIterator classes
Arnaud Le Blanc [Sun, 27 Mar 2011 20:13:27 +0000 (20:13 +0000)]
Added CallbackFilterIterator and RecursiveCallbackFilterIterator classes

[DOC] This is a concrete FilterIterator which takes a callback as
constructor parameter, and uses this callback for filtering. This allows
to use FilterIterator without extending it.

CallbackFilterIterator Example:

$it = new ArrayIterator(range(1,100));
$it = new CallbackFilterIterator($it, function($value) {
return $value % 2;
});
foreach($it as $value) // ...

RecursiveCallbackFilterIterator Example:

$it = new RecursiveDirectoryIterator("/");
$it = new RecursiveCallbackFilterIterator($it, function($file, $k, $it) {
return $it->hasChildren() || $file->getSize() > 1024;
});
foreach(new RecursiveIteratorIterator($it) as $file) // ...

The callback takes the current value, the current key and the inner
iterator as parameters.

13 years ago- Fixed compiler warnings
Felipe Pena [Sun, 27 Mar 2011 18:14:58 +0000 (18:14 +0000)]
- Fixed compiler warnings

13 years agoadded info about changes in SNMP extension
Boris Lytochkin [Sun, 27 Mar 2011 09:44:38 +0000 (09:44 +0000)]
added info about changes in SNMP extension

13 years ago- Fixed bug #54384: Several SPL classes crash when parent constructor is
Gustavo André dos Santos Lopes [Sun, 27 Mar 2011 04:21:06 +0000 (04:21 +0000)]
- Fixed bug #54384: Several SPL classes crash when parent constructor is
  not called.
#Merge to 5.3 pending (slight BC break on AppendIterator, as it's no
#longer possible to defer the call to the parent constructor until
#after the constructor is performed).
#Bugs fixed in an atypical way for SPL. The parent constructor call
#check is performed at construction time by using a wrapper constructor
#instead of a check on the beginning of each instance method.
#Perhaps this should be uniformized in trunk; this method was mainly
#applied only to the ones crashing, except a few iterators (at least
#AppendIterator and RecursiveIteratorIterator).

13 years ago- Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters)
Felipe Pena [Sat, 26 Mar 2011 17:02:34 +0000 (17:02 +0000)]
- Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters)

13 years agoUpdate of mysqlnd version. This has been forgotten when introducing set_autocommit...
Ulf Wendel [Fri, 25 Mar 2011 10:45:28 +0000 (10:45 +0000)]
Update of mysqlnd version. This has been forgotten when introducing set_autocommit, tx_commit, tx_rollback calls (http://svn.php.net/viewvc?view=revision&revision=308669).

13 years agofix buffer overflow - overwriting with 0x0, due to
Andrey Hristov [Thu, 24 Mar 2011 16:12:18 +0000 (16:12 +0000)]
fix buffer overflow - overwriting with 0x0, due to
unchecked buffer size. This can be easily workarouned on
existing unpatched systems by increasing
mysqlnd.net_cmd_buffer_size ini variable to more than 8k

13 years agoLimit test with 65k params, should crash mysqlnd
Ulf Wendel [Thu, 24 Mar 2011 13:40:06 +0000 (13:40 +0000)]
Limit test with 65k params, should crash mysqlnd

13 years agoFixed a crash inside dtor for error handling.
Ilia Alshanetsky [Thu, 24 Mar 2011 12:57:38 +0000 (12:57 +0000)]
Fixed a crash inside dtor for error handling.

13 years ago- Fixed bug #54292 (Wrong parameter causes crash in SplFileObject::__construct())
Felipe Pena [Wed, 23 Mar 2011 22:46:04 +0000 (22:46 +0000)]
- Fixed bug #54292 (Wrong parameter causes crash in SplFileObject::__construct())

13 years agoFixed bug #54084 (Fix apxs Apache version test to work with Oracle HTTP Server) ...
Christopher Jones [Wed, 23 Mar 2011 18:56:47 +0000 (18:56 +0000)]
Fixed bug #54084 (Fix apxs Apache version test to work with Oracle HTTP Server) (Chris Jones)

13 years agoFix compressed build, make it easier
Andrey Hristov [Wed, 23 Mar 2011 17:14:28 +0000 (17:14 +0000)]
Fix compressed build, make it easier

13 years agoImplement request #54355 (Test for de_DE doesn't use UTF-8 locales). Patch by
Adam Harvey [Wed, 23 Mar 2011 08:59:11 +0000 (08:59 +0000)]
Implement request #54355 (Test for de_DE doesn't use UTF-8 locales). Patch by
Ondřej Surý.

13 years agoCoverage for a 'silent server protocol change' from the past for which both mysqlnd...
Ulf Wendel [Wed, 23 Mar 2011 08:57:52 +0000 (08:57 +0000)]
Coverage for a 'silent server protocol change' from the past for which both mysqlnd and libmysql have workarounds.

13 years agoBah, these should have been in the last commit too. Update expected output for
Adam Harvey [Wed, 23 Mar 2011 08:48:32 +0000 (08:48 +0000)]
Bah, these should have been in the last commit too. Update expected output for
further tests that now generate warnings after r306931.

13 years agoUpdate test that now generates a warning after r306931, which increased the
Adam Harvey [Wed, 23 Mar 2011 08:43:36 +0000 (08:43 +0000)]
Update test that now generates a warning after r306931, which increased the
error you get when silently casting an empty variable to an object to an
E_WARNING from E_STRICT.

13 years ago- Fixed bug #54283 (new DatePeriod(NULL) causes crash)
Felipe Pena [Wed, 23 Mar 2011 01:22:18 +0000 (01:22 +0000)]
- Fixed bug #54283 (new DatePeriod(NULL) causes crash)

13 years ago- Updating UPGRADING for r309516 and modest merge to 5.3.
Gustavo André dos Santos Lopes [Wed, 23 Mar 2011 00:51:22 +0000 (00:51 +0000)]
- Updating UPGRADING for r309516 and modest merge to 5.3.

13 years ago- Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator)
Felipe Pena [Tue, 22 Mar 2011 22:41:16 +0000 (22:41 +0000)]
- Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator)

13 years agopalloc is long dead, use more appropriate name
Andrey Hristov [Tue, 22 Mar 2011 14:39:58 +0000 (14:39 +0000)]
palloc is long dead, use more appropriate name

13 years agoFix message
Andrey Hristov [Tue, 22 Mar 2011 14:39:36 +0000 (14:39 +0000)]
Fix message

13 years agoremove more unneeded includes
Andrey Hristov [Tue, 22 Mar 2011 12:54:02 +0000 (12:54 +0000)]
remove more unneeded includes