]> granicus.if.org Git - php/log
php
14 years agointl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and...
Scott MacVicar [Thu, 13 Jan 2011 07:46:59 +0000 (07:46 +0000)]
intl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and tidy syntax.

14 years agoAdd Spoofchecker to intl extension.
Scott MacVicar [Thu, 13 Jan 2011 06:53:09 +0000 (06:53 +0000)]
Add Spoofchecker to intl extension.

Implements part of Unicode TR36 and TR39

14 years ago- Fixed bug #53717 (checking the number of arguments is wrong in zend_parse_method_pa...
Felipe Pena [Wed, 12 Jan 2011 22:17:10 +0000 (22:17 +0000)]
- Fixed bug #53717 (checking the number of arguments is wrong in zend_parse_method_parameters_ex())
  patch by: klaus at triendl dot eu

14 years agogrok the MySQL 5.5 extended handshake.
Andrey Hristov [Wed, 12 Jan 2011 21:40:05 +0000 (21:40 +0000)]
grok the MySQL 5.5 extended handshake.
Move the authentication routines, the native ones, to
separate file and encapsulate them in a plugin.
Depending on the server version and what the server
requests (or doesn't in old versions) load the authentication
plugin to handle it.
Currently only the 4.1+ authentication is supported. More to come

14 years ago- Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
Derick Rethans [Wed, 12 Jan 2011 19:50:09 +0000 (19:50 +0000)]
- Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
  big-endian systems). (Patch by rein@basefarm.no)

14 years agoFixed variable re-declaration
Ilia Alshanetsky [Wed, 12 Jan 2011 13:21:27 +0000 (13:21 +0000)]
Fixed variable re-declaration

14 years ago- Fixed compiler warnings
Felipe Pena [Wed, 12 Jan 2011 00:29:59 +0000 (00:29 +0000)]
- Fixed compiler warnings

14 years agoUse common code to handle initial authentication and
Andrey Hristov [Tue, 11 Jan 2011 13:02:57 +0000 (13:02 +0000)]
Use common code to handle initial authentication and
COM_CHANGE_USER

14 years agoAdded missing success check around chmod() for windows during temp file creation
Ilia Alshanetsky [Tue, 11 Jan 2011 12:57:19 +0000 (12:57 +0000)]
Added missing success check around chmod() for windows during temp file creation

14 years ago- do not enable analyzer for snapshot
Pierre Joye [Mon, 10 Jan 2011 21:04:50 +0000 (21:04 +0000)]
- do not enable analyzer for snapshot

14 years agoFixed bug #53630 (Fixed parameter handling inside readline() function).
Ilia Alshanetsky [Mon, 10 Jan 2011 18:19:02 +0000 (18:19 +0000)]
Fixed bug #53630 (Fixed parameter handling inside readline() function).

14 years agoplug a leak
Andrey Hristov [Mon, 10 Jan 2011 15:28:52 +0000 (15:28 +0000)]
plug a leak

14 years agonew flag
Andrey Hristov [Mon, 10 Jan 2011 15:14:56 +0000 (15:14 +0000)]
new flag

14 years ago- remove local redeclaration
Pierre Joye [Mon, 10 Jan 2011 08:28:47 +0000 (08:28 +0000)]
- remove local redeclaration

14 years ago- possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 08:07:38 +0000 (08:07 +0000)]
- possible NULL deref

14 years ago- local redeclaration
Pierre Joye [Mon, 10 Jan 2011 01:04:36 +0000 (01:04 +0000)]
- local redeclaration

14 years ago- WS
Pierre Joye [Mon, 10 Jan 2011 00:59:19 +0000 (00:59 +0000)]
- WS

14 years ago- some more possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 00:43:08 +0000 (00:43 +0000)]
- some more possible NULL deref

14 years ago- fix possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 00:30:07 +0000 (00:30 +0000)]
- fix possible NULL deref

14 years ago- add configure option to enable the builtin static analyzer (will be enabled for...
Pierre Joye [Sun, 9 Jan 2011 21:38:46 +0000 (21:38 +0000)]
- add configure option to enable the builtin static analyzer (will be enabled for snaps' log)

14 years agoAdded trait_exists() [TRAITS] [DOC]
Stefan Marr [Sun, 9 Jan 2011 19:57:41 +0000 (19:57 +0000)]
Added trait_exists() [TRAITS] [DOC]

- also changed class_exists() to return false for traits
- added related tests, and get_declared_traits() tests in ext/s/t/co

14 years ago- let try to fix pecl header install so we can do the same than unix, install them...
Pierre Joye [Sun, 9 Jan 2011 14:01:21 +0000 (14:01 +0000)]
- let try to fix pecl header install so we can do the same than unix, install them in ext/<extname> instead of pecl<extname>

14 years agoadded an option to http_build_query for RFC-3986
Rui Hirokawa [Sat, 8 Jan 2011 02:21:44 +0000 (02:21 +0000)]
added an option to http_build_query for RFC-3986
based url-encoding.

14 years ago- enable ASLR and NXCOMPAT by default
Pierre Joye [Fri, 7 Jan 2011 20:50:33 +0000 (20:50 +0000)]
- enable ASLR and NXCOMPAT by default

14 years agoImplemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db)
Kalle Sommer Nielsen [Fri, 7 Jan 2011 18:25:55 +0000 (18:25 +0000)]
Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db)

14 years agoAdded test case for #47802 and fixed macro name after the move to mysql_options()
Kalle Sommer Nielsen [Fri, 7 Jan 2011 17:18:30 +0000 (17:18 +0000)]
Added test case for #47802 and fixed macro name after the move to mysql_options()

14 years ago- define the php*.lib/dll names
Pierre Joye [Fri, 7 Jan 2011 15:51:36 +0000 (15:51 +0000)]
- define the php*.lib/dll names

14 years agoUpdate to use mysql_options() instead of mysql_set_character_set() (As suggested...
Kalle Sommer Nielsen [Fri, 7 Jan 2011 14:58:23 +0000 (14:58 +0000)]
Update to use mysql_options() instead of mysql_set_character_set() (As suggested by Andrey)

14 years ago- missing add header
Pierre Joye [Fri, 7 Jan 2011 14:57:51 +0000 (14:57 +0000)]
- missing add header

14 years agoImplemented FR #47802, support for character sets in DSN strings for PDO_MYSQL
Kalle Sommer Nielsen [Fri, 7 Jan 2011 14:39:56 +0000 (14:39 +0000)]
Implemented FR #47802, support for character sets in DSN strings for PDO_MYSQL

14 years agoProper fix for
Andrey Hristov [Fri, 7 Jan 2011 14:22:30 +0000 (14:22 +0000)]
Proper fix for
Bug #53503      mysqli::query returns false after successful LOAD DATA query
which fixes als #56349, same behavior but in ext/mysql. Both due to a bug
in mysqlnd. Never was a problem with libmysql.
Also fixed the 53503's test case as it always reported PASS, even when there
should have been a failure.

14 years agoImplement request #53684 (Deprecated HTML in sample php.ini).
Adam Harvey [Fri, 7 Jan 2011 03:43:20 +0000 (03:43 +0000)]
Implement request #53684 (Deprecated HTML in sample php.ini).

14 years ago- Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference.
Felipe Pena [Fri, 7 Jan 2011 01:11:16 +0000 (01:11 +0000)]
- Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference.

14 years agoFix bug #53682
Rasmus Lerdorf [Thu, 6 Jan 2011 22:48:20 +0000 (22:48 +0000)]
Fix bug #53682

14 years agoImplement request #53659 (Implementing RegexIterator::getRegex() method). Patch
Adam Harvey [Thu, 6 Jan 2011 02:32:02 +0000 (02:32 +0000)]
Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
by Joshua Thijssen.

14 years agoRemove empty files left when r306542 was reverted in r306552.
Adam Harvey [Thu, 6 Jan 2011 02:24:49 +0000 (02:24 +0000)]
Remove empty files left when r306542 was reverted in r306552.

14 years agoImplemented FR #53466 (SQLite3Result::columnType() should return false after all...
Scott MacVicar [Thu, 6 Jan 2011 00:08:59 +0000 (00:08 +0000)]
Implemented FR #53466 (SQLite3Result::columnType() should return false after all of the rows have been fetched).

14 years agoImplement SplObjectStorage::removeAllExcept (Patch by Matthey Turland)
Etienne Kneuss [Wed, 5 Jan 2011 15:01:18 +0000 (15:01 +0000)]
Implement SplObjectStorage::removeAllExcept (Patch by Matthey Turland)

14 years agoAdded test
Ilia Alshanetsky [Wed, 5 Jan 2011 14:41:50 +0000 (14:41 +0000)]
Added test

14 years agoOptimize unix timestamp to date-string conversion for very high year values
Ilia Alshanetsky [Wed, 5 Jan 2011 04:13:23 +0000 (04:13 +0000)]
Optimize unix timestamp to date-string conversion for very high year values

14 years ago- revert rev. 307044
Pierre Joye [Wed, 5 Jan 2011 00:59:31 +0000 (00:59 +0000)]
- revert rev. 307044

14 years agoAdd test for bug #53632
Scott MacVicar [Tue, 4 Jan 2011 23:36:56 +0000 (23:36 +0000)]
Add test for bug #53632

14 years agoFix bug #53632 with x87 fpu
Scott MacVicar [Tue, 4 Jan 2011 22:36:23 +0000 (22:36 +0000)]
Fix bug #53632 with x87 fpu

14 years ago- Fixed tests
Felipe Pena [Tue, 4 Jan 2011 22:01:09 +0000 (22:01 +0000)]
- Fixed tests

14 years agofix unit tests for intl in accordance with new ICU releases
Stanislav Malyshev [Tue, 4 Jan 2011 03:24:38 +0000 (03:24 +0000)]
fix unit tests for intl in accordance with new ICU releases

14 years agoFixed linking of extensions that would use a static .lib file (libname_a.lib rather...
Kalle Sommer Nielsen [Mon, 3 Jan 2011 23:08:47 +0000 (23:08 +0000)]
Fixed linking of extensions that would use a static .lib file (libname_a.lib rather than libname.lib)

# This fixes `configure --with-mcrypt=shared' to properly find and
# link against libmcrypt.lib rather than libmcrypt_a.lib

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.