]> granicus.if.org Git - php/log
php
14 years ago- useless commented code
Pierre Joye [Mon, 3 Jan 2011 20:38:21 +0000 (20:38 +0000)]
- useless commented code

14 years agoChange DEBUG() to TIMELIB_DEBUG(), there are potential conflicts with other libraries...
Scott MacVicar [Mon, 3 Jan 2011 19:24:04 +0000 (19:24 +0000)]
Change DEBUG() to TIMELIB_DEBUG(), there are potential conflicts with other libraries that also use this.

14 years agoFix error with initialisation flag being set too early. If encryption is enabled...
Scott MacVicar [Mon, 3 Jan 2011 19:15:36 +0000 (19:15 +0000)]
Fix error with initialisation flag being set too early. If encryption is enabled and fails to decrypt a crash can occur.

Also fix a WS error.

14 years ago- slightly cleaner
Pierre Joye [Mon, 3 Jan 2011 15:36:39 +0000 (15:36 +0000)]
- slightly cleaner

14 years ago- fix crash when argc > 1 and to_zval is NULL (thx tony for the headup)
Pierre Joye [Mon, 3 Jan 2011 15:35:01 +0000 (15:35 +0000)]
- fix crash when argc > 1 and to_zval is NULL (thx tony for the headup)

14 years agoFixed Bug #53629 (memory leak inside highlight_string()).
Ilia Alshanetsky [Mon, 3 Jan 2011 14:39:48 +0000 (14:39 +0000)]
Fixed Bug #53629 (memory leak inside highlight_string()).

14 years ago- kill c++ comment
Pierre Joye [Mon, 3 Jan 2011 09:33:27 +0000 (09:33 +0000)]
- kill c++ comment

14 years ago- stream output support for image outputs functions
Pierre Joye [Mon, 3 Jan 2011 09:22:58 +0000 (09:22 +0000)]
- stream output support for image outputs functions

14 years agoImlement clone for formatters that support it
Stanislav Malyshev [Mon, 3 Jan 2011 03:58:57 +0000 (03:58 +0000)]
Imlement clone for formatters that support it
# also some test fixes, more to follow

14 years ago- missing file
Pierre Joye [Mon, 3 Jan 2011 01:22:00 +0000 (01:22 +0000)]
- missing file

14 years ago- we need the core config.w32 only once
Pierre Joye [Mon, 3 Jan 2011 01:08:21 +0000 (01:08 +0000)]
- we need the core config.w32 only once

14 years ago- silent copy
Pierre Joye [Mon, 3 Jan 2011 01:07:28 +0000 (01:07 +0000)]
- silent copy

14 years ago- use the ext deps list for phpize's ADD_EXTENSION_DEP function
Pierre Joye [Sun, 2 Jan 2011 18:29:56 +0000 (18:29 +0000)]
- use the ext deps list for phpize's ADD_EXTENSION_DEP function

14 years ago- typo
Pierre Joye [Sun, 2 Jan 2011 18:13:20 +0000 (18:13 +0000)]
- typo

14 years ago- generate a list of ext and how they are built, should be updated by phpize'd make...
Pierre Joye [Sun, 2 Jan 2011 18:03:00 +0000 (18:03 +0000)]
- generate a list of ext and how they are built, should be updated by phpize'd make (un)install as well, later

14 years ago- missing file
Pierre Joye [Sat, 1 Jan 2011 20:00:10 +0000 (20:00 +0000)]
- missing file

14 years ago- Year++
Felipe Pena [Sat, 1 Jan 2011 02:51:18 +0000 (02:51 +0000)]
- Year++

14 years ago- Year++
Felipe Pena [Sat, 1 Jan 2011 02:46:03 +0000 (02:46 +0000)]
- Year++

14 years ago- Year++
Felipe Pena [Sat, 1 Jan 2011 02:17:06 +0000 (02:17 +0000)]
- Year++

14 years agoSilently casting an empty string, null or false into an object by adding a property
Scott MacVicar [Fri, 31 Dec 2010 16:57:45 +0000 (16:57 +0000)]
Silently casting an empty string, null or false into an object by adding a property
is pretty non-intuitive. If the same value was 1 or true you get a warning and it halts.

Since we can't break BC completely (yet) lets bump this from E_STRICT.

Also added a new section to UPGRADING for engine changes.

<?php
$x = '';
// $x = null;
// $x = false;
$x->baz = 1;
var_dump($x);

$y = 1;
$y->baz = 1;
var_dump($y);

14 years agoAdd SQLite3_Stmt::readOnly for checking if a statement is read only
Scott MacVicar [Fri, 31 Dec 2010 16:37:12 +0000 (16:37 +0000)]
Add SQLite3_Stmt::readOnly for checking if a statement is read only

14 years ago- Do not violate php_stream abstraction and use php_stream_tell instead of accessing...
Gustavo André dos Santos Lopes [Thu, 30 Dec 2010 19:00:19 +0000 (19:00 +0000)]
- Do not violate php_stream abstraction and use php_stream_tell instead of accessing the field .position.
#Should have no behavior changes.

14 years agoNew test for stream_meta_data($zipstream)
Hannes Magnusson [Thu, 30 Dec 2010 17:41:36 +0000 (17:41 +0000)]
New test for stream_meta_data($zipstream)

14 years agoremoved extra ?> from the FILE section
Eyal Teutsch [Thu, 30 Dec 2010 14:36:01 +0000 (14:36 +0000)]
removed extra ?> from the FILE section

14 years ago- WS
Pierre Joye [Tue, 28 Dec 2010 17:20:10 +0000 (17:20 +0000)]
- WS

14 years agoC89 fix
Andrey Hristov [Tue, 28 Dec 2010 16:41:39 +0000 (16:41 +0000)]
C89 fix

14 years agoextending the API interface - plugins can register
Andrey Hristov [Tue, 28 Dec 2010 15:16:21 +0000 (15:16 +0000)]
extending the API interface - plugins can register
themselves with a structure and can be searched.
Every plugin can have statistics and they are shown
under the statistics of mysqlnd in MINFO.

14 years agofix segfault when node is NULL
Antony Dovgal [Mon, 27 Dec 2010 21:47:52 +0000 (21:47 +0000)]
fix segfault when node is NULL

14 years agoinitialize script_encoding_list (reported by Gustavo Lopes)
Antony Dovgal [Mon, 27 Dec 2010 20:25:34 +0000 (20:25 +0000)]
initialize script_encoding_list (reported by Gustavo Lopes)

14 years agotypo
Rob Richards [Mon, 27 Dec 2010 19:00:13 +0000 (19:00 +0000)]
typo

14 years agofix crash with entity declarations
Rob Richards [Mon, 27 Dec 2010 18:57:49 +0000 (18:57 +0000)]
fix crash with entity declarations

14 years ago- Fixed bug #53612 (Segmentation fault when using several cloned intl
Gustavo André dos Santos Lopes [Mon, 27 Dec 2010 01:10:08 +0000 (01:10 +0000)]
- Fixed bug #53612 (Segmentation fault when using several cloned intl
  objects).

14 years agoSplFileObject_fgetcsv files: SplFileObject__fgetcsv.csv used instead of SplFileObject...
Eyal Teutsch [Sun, 26 Dec 2010 13:29:29 +0000 (13:29 +0000)]
SplFileObject_fgetcsv files: SplFileObject__fgetcsv.csv used instead of SplFileObject::fgetcsv.csv, as to make this naming convetion windows legitimate

14 years agofixed 6 tests to pass on non-linux os, by removing the generic linux error string...
Eyal Teutsch [Sun, 26 Dec 2010 13:10:23 +0000 (13:10 +0000)]
fixed 6 tests to pass on non-linux os, by removing the generic linux error string from the exp result. on socket_strerror on the other hand, added to the SKIPIF a condition to run on linux only, as the test checks specifically various error strings

14 years agousing PWD which is supported by run-tests.php, rather than $cwd
Eyal Teutsch [Sun, 26 Dec 2010 09:47:50 +0000 (09:47 +0000)]
using PWD which is supported by run-tests.php, rather than $cwd

14 years ago- Fixed INI test section
Felipe Pena [Sat, 25 Dec 2010 01:42:45 +0000 (01:42 +0000)]
- Fixed INI test section

14 years ago- Fixed bug #53603 (ZipArchive should quiet stat errors).
Gustavo André dos Santos Lopes [Fri, 24 Dec 2010 22:38:36 +0000 (22:38 +0000)]
- Fixed bug #53603 (ZipArchive should quiet stat errors).
#It is unclear if url_stat handlers should emit a warning in case
#PHP_STREAM_URL_STAT_QUIET is not specified and the resource does
#not exist. Most url_stat handlers never emit messages; the plain
#one does only so in the extraordinary event of an open_basedir
#restriction.
#But in case, php_stat uses PHP_STREAM_URL_STAT_QUIET for the
#FS_EXISTS, which suggests that mere checks on file existence are
#supposed to use this flag (arguably).
#The downside is that important diagnostic messages might be
#omitted.

14 years ago- Fix PCRE build on Windows; closes bug #53606.
Gustavo André dos Santos Lopes [Fri, 24 Dec 2010 19:01:25 +0000 (19:01 +0000)]
- Fix PCRE build on Windows; closes bug #53606.

14 years agoUpgraded\ bundled\ PCRE\ to\ version\ 8.11.
Ilia Alshanetsky [Fri, 24 Dec 2010 15:03:29 +0000 (15:03 +0000)]
Upgraded\ bundled\ PCRE\ to\ version\ 8.11.

14 years ago- Fix startup warnings.
Moriyoshi Koizumi [Fri, 24 Dec 2010 08:42:21 +0000 (08:42 +0000)]
- Fix startup warnings.

14 years agoNEWS for FR #48767 (SplFileInfo::getExtension())
Peter Cowburn [Fri, 24 Dec 2010 07:28:59 +0000 (07:28 +0000)]
NEWS for FR #48767 (SplFileInfo::getExtension())

14 years agoImplemented FR #48767 (SplFileInfo::getExtension())
Peter Cowburn [Thu, 23 Dec 2010 22:32:52 +0000 (22:32 +0000)]
Implemented FR #48767 (SplFileInfo::getExtension())

14 years agoFixed compiler warning
Ilia Alshanetsky [Thu, 23 Dec 2010 14:38:15 +0000 (14:38 +0000)]
Fixed compiler warning

14 years ago- Fixed bug #53592 (stream_socket_enable_crypto() busy-waits in client mode).
Gustavo André dos Santos Lopes [Thu, 23 Dec 2010 01:44:54 +0000 (01:44 +0000)]
- Fixed bug #53592 (stream_socket_enable_crypto() busy-waits in client mode).
- Fixed stream_socket_enable_crypto() not honoring the socket timeout in
  server mode.

14 years agoFixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)).
Ilia Alshanetsky [Wed, 22 Dec 2010 16:18:59 +0000 (16:18 +0000)]
Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)).

14 years ago- Fix build.
Moriyoshi Koizumi [Wed, 22 Dec 2010 10:25:33 +0000 (10:25 +0000)]
- Fix build.

14 years ago- Revert of revision 306542, turns out the semantics of compare() are
Gustavo André dos Santos Lopes [Tue, 21 Dec 2010 19:52:17 +0000 (19:52 +0000)]
- Revert of revision 306542, turns out the semantics of compare() are
  different in SplMinHeap and SplMaxHeap.

14 years ago- Fixed bug #53588 (SplMinHeap bad sorting with custom compare
Gustavo André dos Santos Lopes [Tue, 21 Dec 2010 17:29:14 +0000 (17:29 +0000)]
- Fixed bug #53588 (SplMinHeap bad sorting with custom compare
  function).

14 years ago- Update ini descriptions. It is still possible that zend.multibyte will be removed...
Moriyoshi Koizumi [Tue, 21 Dec 2010 06:57:46 +0000 (06:57 +0000)]
- Update ini descriptions.  It is still possible that zend.multibyte will be removed in the near future as it is confirmed to not impose any significant overhead with the standard configuration even when it is enabled.

14 years agoFixed compiler warnings
Ilia Alshanetsky [Mon, 20 Dec 2010 23:00:11 +0000 (23:00 +0000)]
Fixed compiler warnings

14 years agofixed compile error with VS2008.
Rui Hirokawa [Mon, 20 Dec 2010 14:38:08 +0000 (14:38 +0000)]
fixed compile error with VS2008.

14 years ago- Fix build
Felipe Pena [Mon, 20 Dec 2010 12:41:35 +0000 (12:41 +0000)]
- Fix build

14 years agoFixed bug#53579 (stream_get_contents() segfaults on ziparchive streams)
Hannes Magnusson [Mon, 20 Dec 2010 11:00:27 +0000 (11:00 +0000)]
Fixed bug#53579 (stream_get_contents() segfaults on ziparchive streams)
Also added the filename being access to the stream_get_meta_data() array

14 years agoRemoved dead code.
Stefan Marr [Mon, 20 Dec 2010 08:49:59 +0000 (08:49 +0000)]
Removed dead code.
# should not have been commited in the first place.

14 years ago- Avoid allocating extra buffers. This makes parsing with zend.multibyte enabled...
Moriyoshi Koizumi [Mon, 20 Dec 2010 03:16:09 +0000 (03:16 +0000)]
- Avoid allocating extra buffers. This makes parsing with zend.multibyte enabled as fast as with it disabled.

14 years ago- Fix a bug that the script gets wrongly converted into UTF-8 when the script encodin...
Moriyoshi Koizumi [Mon, 20 Dec 2010 03:11:41 +0000 (03:11 +0000)]
- Fix a bug that the script gets wrongly converted into UTF-8 when the script encoding is not GL-safe.

14 years ago- Fix build
Felipe Pena [Mon, 20 Dec 2010 01:42:25 +0000 (01:42 +0000)]
- Fix build

14 years agoAdded strict handling of properties in traits.
Stefan Marr [Mon, 20 Dec 2010 00:52:40 +0000 (00:52 +0000)]
Added strict handling of properties in traits.
# This is the first attempt to implement the properties as discussed on the mailinglist.
# RFC is not updated to reflect this changes, yet.

14 years ago- Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to
Gustavo André dos Santos Lopes [Sun, 19 Dec 2010 23:47:00 +0000 (23:47 +0000)]
- Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to
  segfault).

14 years agoFixed naming of parameters, was inconsistent with implementation.
Stefan Marr [Sun, 19 Dec 2010 22:13:41 +0000 (22:13 +0000)]
Fixed naming of parameters, was inconsistent with implementation.

14 years agoWS
Moriyoshi Koizumi [Sun, 19 Dec 2010 17:29:21 +0000 (17:29 +0000)]
WS

14 years agoWS
Moriyoshi Koizumi [Sun, 19 Dec 2010 17:28:57 +0000 (17:28 +0000)]
WS

14 years ago* Refactor zend_multibyte facility.
Moriyoshi Koizumi [Sun, 19 Dec 2010 16:36:37 +0000 (16:36 +0000)]
* Refactor zend_multibyte facility.
  Now mbstring.script_encoding is superseded by zend.script_encoding.

14 years agoFix bad args to grapheme_extract(), reported by Maksymilian Arciemowicz
Stanislav Malyshev [Sun, 19 Dec 2010 05:07:31 +0000 (05:07 +0000)]
Fix bad args to grapheme_extract(), reported by Maksymilian Arciemowicz

14 years ago- Fixed bug #53527 (php-fpm --test doesn't set a valuable return value).
Jérôme Loyet [Sat, 18 Dec 2010 11:22:11 +0000 (11:22 +0000)]
- Fixed bug #53527 (php-fpm --test doesn't set a valuable return value).

14 years ago- Fixed bug #53568 (swapped memset arguments in struct initialization).
Gustavo André dos Santos Lopes [Fri, 17 Dec 2010 23:05:26 +0000 (23:05 +0000)]
- Fixed bug #53568 (swapped memset arguments in struct initialization).

14 years ago- Update credits
Jani Taskinen [Fri, 17 Dec 2010 10:48:47 +0000 (10:48 +0000)]
- Update credits

14 years ago- Revert
Jani Taskinen [Fri, 17 Dec 2010 10:43:52 +0000 (10:43 +0000)]
- Revert

14 years agoThrow some credit around
Hannes Magnusson [Fri, 17 Dec 2010 10:15:21 +0000 (10:15 +0000)]
Throw some credit around

14 years agofix a small bug about affected_rows in the text protocol
Andrey Hristov [Thu, 16 Dec 2010 12:56:19 +0000 (12:56 +0000)]
fix a small bug about affected_rows in the text protocol

14 years ago- Typos, WS, CS
Jani Taskinen [Thu, 16 Dec 2010 12:25:27 +0000 (12:25 +0000)]
- Typos, WS, CS

14 years agoFix sprintf modifier to be right, wrong data reported in the log
Andrey Hristov [Thu, 16 Dec 2010 12:18:54 +0000 (12:18 +0000)]
Fix sprintf modifier to be right, wrong data reported in the log

14 years ago- Adding enable_post_data_reading to php.ini-*
Gustavo André dos Santos Lopes [Thu, 16 Dec 2010 11:27:17 +0000 (11:27 +0000)]
- Adding enable_post_data_reading to php.ini-*

14 years ago- Fixed a bug in DateTime->modify() where absolute date/time statements had no
Derick Rethans [Wed, 15 Dec 2010 21:45:25 +0000 (21:45 +0000)]
- Fixed a bug in DateTime->modify() where absolute date/time statements had no
  effect.

14 years agocount preciser in case of error
Andrey Hristov [Wed, 15 Dec 2010 14:14:58 +0000 (14:14 +0000)]
count preciser in case of error

14 years ago- we don't bundled fbclient, system version is used
Pierre Joye [Wed, 15 Dec 2010 02:01:21 +0000 (02:01 +0000)]
- we don't bundled fbclient, system version is used

14 years ago- sync with 5.3
Pierre Joye [Tue, 14 Dec 2010 23:21:53 +0000 (23:21 +0000)]
- sync with 5.3

14 years agoFixed compiler warning
Ilia Alshanetsky [Tue, 14 Dec 2010 17:01:54 +0000 (17:01 +0000)]
Fixed compiler warning

14 years agoFixed bug #53541 (format string bug in ext/phar).
Ilia Alshanetsky [Tue, 14 Dec 2010 17:00:36 +0000 (17:00 +0000)]
Fixed bug #53541 (format string bug in ext/phar).

14 years ago- $_REQUEST is also JIT global now
Jani Taskinen [Tue, 14 Dec 2010 15:42:22 +0000 (15:42 +0000)]
- $_REQUEST is also JIT global now

14 years ago- fix header install
Pierre Joye [Tue, 14 Dec 2010 13:10:25 +0000 (13:10 +0000)]
- fix header install

14 years ago- add nmake install-sdk (create the devel package) and related sub rules
Pierre Joye [Tue, 14 Dec 2010 02:55:26 +0000 (02:55 +0000)]
- add nmake install-sdk (create the devel package) and related sub rules

14 years ago -add a link to snmp install doc about the MIBS data, remove static or removed exts
Pierre Joye [Mon, 13 Dec 2010 21:07:13 +0000 (21:07 +0000)]
 -add a link to snmp install doc about the MIBS data, remove static or removed exts

14 years ago- no need to diplay that
Pierre Joye [Mon, 13 Dec 2010 20:56:44 +0000 (20:56 +0000)]
- no need to diplay that

14 years ago- phpize support merge from 5.3
Pierre Joye [Mon, 13 Dec 2010 20:55:13 +0000 (20:55 +0000)]
- phpize support merge from 5.3

14 years ago* Don't print the shared headers table after enabling each extension (cleaner configu...
Kalle Sommer Nielsen [Mon, 13 Dec 2010 20:46:57 +0000 (20:46 +0000)]
* Don't print the shared headers table after enabling each extension (cleaner configure output)
* Fix double slashes for directory targets in PHP_INSTALL_HEADERS()

14 years agoFixed bug #48607 (fwrite() doesn't check reply from ftp server before exiting)
Ilia Alshanetsky [Mon, 13 Dec 2010 16:53:26 +0000 (16:53 +0000)]
Fixed bug #48607 (fwrite() doesn't check reply from ftp server before exiting)

14 years agoRevert fix for bug #53493 to be compliant with the XML specification
Kalle Sommer Nielsen [Mon, 13 Dec 2010 14:29:42 +0000 (14:29 +0000)]
Revert fix for bug #53493 to be compliant with the XML specification

14 years agoFixed bug #53493 (xmlrpc_decode should not be sensitive to leading whitespace)
Kalle Sommer Nielsen [Mon, 13 Dec 2010 09:52:05 +0000 (09:52 +0000)]
Fixed bug #53493 (xmlrpc_decode should not be sensitive to leading whitespace)

14 years agoadd & fix tests for lenient parsing
Stanislav Malyshev [Sun, 12 Dec 2010 22:38:05 +0000 (22:38 +0000)]
add & fix tests for lenient parsing

14 years ago- Fixed bug #53530 (php_crypt tests gcc version incorrectly due to
Gustavo André dos Santos Lopes [Sun, 12 Dec 2010 22:27:02 +0000 (22:27 +0000)]
- Fixed bug #53530 (php_crypt tests gcc version incorrectly due to
  typo) (vapier at gmail dot com)

14 years agoFixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6).
Ilia Alshanetsky [Sun, 12 Dec 2010 19:54:21 +0000 (19:54 +0000)]
Fixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6).

14 years agoFixed bug 48484 (array_product() always returns 0 for an empty array).
Ilia Alshanetsky [Sun, 12 Dec 2010 19:27:04 +0000 (19:27 +0000)]
Fixed bug 48484 (array_product() always returns 0 for an empty array).

14 years agoFixed bug #53150 (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges)
Ilia Alshanetsky [Sun, 12 Dec 2010 18:36:21 +0000 (18:36 +0000)]
Fixed bug #53150 (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges)

14 years agosqlite3 lib news
Ilia Alshanetsky [Sun, 12 Dec 2010 18:01:46 +0000 (18:01 +0000)]
sqlite3 lib news

14 years agoFixed bug #53425 (mysqli_real_connect() ignores client flags when built to call libmysql)
Kalle Sommer Nielsen [Sun, 12 Dec 2010 18:00:25 +0000 (18:00 +0000)]
Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to call libmysql)

# Based on patch by tre-php-net at crushedhat dot com

14 years ago- Added the + modifier to parseFromFormat to allow trailing text in the
Derick Rethans [Sun, 12 Dec 2010 17:17:16 +0000 (17:17 +0000)]
- Added the + modifier to parseFromFormat to allow trailing text in the
  string to parse without throwing an error.
#- Patch by Stas, test case by me.

14 years agoChanged E_ERROR to E_COMPILE_ERROR for Trait compilation errors.
Stefan Marr [Sun, 12 Dec 2010 17:12:29 +0000 (17:12 +0000)]
Changed E_ERROR to E_COMPILE_ERROR for Trait compilation errors.
#Thanks for catching this Kalle.

14 years ago- Keep extension order alphabetically
Derick Rethans [Sun, 12 Dec 2010 17:07:40 +0000 (17:07 +0000)]
- Keep extension order alphabetically
#- I guess that's what was intended?

14 years agoChanged collision warning for Traits to fatal error.
Stefan Marr [Sun, 12 Dec 2010 16:48:02 +0000 (16:48 +0000)]
Changed collision warning for Traits to fatal error.
#This change is made to have all possible cases of collisions consistently handled as fatal errors.
#The reason to have it fatal is that most likely something changed unexpectedly and needs urgent attention by the developer, since it will fail eventually anyway for instance because the expected method is missing in the class.
#Discussed in this thread: http://marc.info/?l=php-internals&m=129155790226876