]>
granicus.if.org Git - php/log
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.
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
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
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
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)
Ilia Alshanetsky [Wed, 12 Jan 2011 13:21:27 +0000 (13:21 +0000)]
Fixed variable re-declaration
Felipe Pena [Wed, 12 Jan 2011 00:29:59 +0000 (00:29 +0000)]
- Fixed compiler warnings
Andrey Hristov [Tue, 11 Jan 2011 13:02:57 +0000 (13:02 +0000)]
Use common code to handle initial authentication and
COM_CHANGE_USER
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
Pierre Joye [Mon, 10 Jan 2011 21:04:50 +0000 (21:04 +0000)]
- do not enable analyzer for snapshot
Ilia Alshanetsky [Mon, 10 Jan 2011 18:19:02 +0000 (18:19 +0000)]
Fixed bug #53630 (Fixed parameter handling inside readline() function).
Andrey Hristov [Mon, 10 Jan 2011 15:28:52 +0000 (15:28 +0000)]
plug a leak
Andrey Hristov [Mon, 10 Jan 2011 15:14:56 +0000 (15:14 +0000)]
new flag
Pierre Joye [Mon, 10 Jan 2011 08:28:47 +0000 (08:28 +0000)]
- remove local redeclaration
Pierre Joye [Mon, 10 Jan 2011 08:07:38 +0000 (08:07 +0000)]
- possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 01:04:36 +0000 (01:04 +0000)]
- local redeclaration
Pierre Joye [Mon, 10 Jan 2011 00:59:19 +0000 (00:59 +0000)]
- WS
Pierre Joye [Mon, 10 Jan 2011 00:43:08 +0000 (00:43 +0000)]
- some more possible NULL deref
Pierre Joye [Mon, 10 Jan 2011 00:30:07 +0000 (00:30 +0000)]
- fix possible NULL deref
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)
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
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>
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.
Pierre Joye [Fri, 7 Jan 2011 20:50:33 +0000 (20:50 +0000)]
- enable ASLR and NXCOMPAT by default
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)
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()
Pierre Joye [Fri, 7 Jan 2011 15:51:36 +0000 (15:51 +0000)]
- define the php*.lib/dll names
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)
Pierre Joye [Fri, 7 Jan 2011 14:57:51 +0000 (14:57 +0000)]
- missing add header
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
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.
Adam Harvey [Fri, 7 Jan 2011 03:43:20 +0000 (03:43 +0000)]
Implement request #53684 (Deprecated HTML in sample php.ini).
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.
Rasmus Lerdorf [Thu, 6 Jan 2011 22:48:20 +0000 (22:48 +0000)]
Fix bug #53682
Adam Harvey [Thu, 6 Jan 2011 02:32:02 +0000 (02:32 +0000)]
Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
by Joshua Thijssen.
Adam Harvey [Thu, 6 Jan 2011 02:24:49 +0000 (02:24 +0000)]
Remove empty files left when r306542 was reverted in r306552.
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).
Etienne Kneuss [Wed, 5 Jan 2011 15:01:18 +0000 (15:01 +0000)]
Implement SplObjectStorage::removeAllExcept (Patch by Matthey Turland)
Ilia Alshanetsky [Wed, 5 Jan 2011 14:41:50 +0000 (14:41 +0000)]
Added test
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
Pierre Joye [Wed, 5 Jan 2011 00:59:31 +0000 (00:59 +0000)]
- revert rev. 307044
Scott MacVicar [Tue, 4 Jan 2011 23:36:56 +0000 (23:36 +0000)]
Add test for bug #53632
Scott MacVicar [Tue, 4 Jan 2011 22:36:23 +0000 (22:36 +0000)]
Fix bug #53632 with x87 fpu
Felipe Pena [Tue, 4 Jan 2011 22:01:09 +0000 (22:01 +0000)]
- Fixed tests
Stanislav Malyshev [Tue, 4 Jan 2011 03:24:38 +0000 (03:24 +0000)]
fix unit tests for intl in accordance with new ICU releases
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
Pierre Joye [Mon, 3 Jan 2011 20:38:21 +0000 (20:38 +0000)]
- useless commented code
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.
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.
Pierre Joye [Mon, 3 Jan 2011 15:36:39 +0000 (15:36 +0000)]
- slightly cleaner
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)
Ilia Alshanetsky [Mon, 3 Jan 2011 14:39:48 +0000 (14:39 +0000)]
Fixed Bug #53629 (memory leak inside highlight_string()).
Pierre Joye [Mon, 3 Jan 2011 09:33:27 +0000 (09:33 +0000)]
- kill c++ comment
Pierre Joye [Mon, 3 Jan 2011 09:22:58 +0000 (09:22 +0000)]
- stream output support for image outputs functions
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
Pierre Joye [Mon, 3 Jan 2011 01:22:00 +0000 (01:22 +0000)]
- missing file
Pierre Joye [Mon, 3 Jan 2011 01:08:21 +0000 (01:08 +0000)]
- we need the core config.w32 only once
Pierre Joye [Mon, 3 Jan 2011 01:07:28 +0000 (01:07 +0000)]
- silent copy
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
Pierre Joye [Sun, 2 Jan 2011 18:13:20 +0000 (18:13 +0000)]
- typo
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
Pierre Joye [Sat, 1 Jan 2011 20:00:10 +0000 (20:00 +0000)]
- missing file
Felipe Pena [Sat, 1 Jan 2011 02:51:18 +0000 (02:51 +0000)]
- Year++
Felipe Pena [Sat, 1 Jan 2011 02:46:03 +0000 (02:46 +0000)]
- Year++
Felipe Pena [Sat, 1 Jan 2011 02:17:06 +0000 (02:17 +0000)]
- Year++
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);
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
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.
Hannes Magnusson [Thu, 30 Dec 2010 17:41:36 +0000 (17:41 +0000)]
New test for stream_meta_data($zipstream)
Eyal Teutsch [Thu, 30 Dec 2010 14:36:01 +0000 (14:36 +0000)]
removed extra ?> from the FILE section
Pierre Joye [Tue, 28 Dec 2010 17:20:10 +0000 (17:20 +0000)]
- WS
Andrey Hristov [Tue, 28 Dec 2010 16:41:39 +0000 (16:41 +0000)]
C89 fix
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.
Antony Dovgal [Mon, 27 Dec 2010 21:47:52 +0000 (21:47 +0000)]
fix segfault when node is NULL
Antony Dovgal [Mon, 27 Dec 2010 20:25:34 +0000 (20:25 +0000)]
initialize script_encoding_list (reported by Gustavo Lopes)
Rob Richards [Mon, 27 Dec 2010 19:00:13 +0000 (19:00 +0000)]
typo
Rob Richards [Mon, 27 Dec 2010 18:57:49 +0000 (18:57 +0000)]
fix crash with entity declarations
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).
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
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
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
Felipe Pena [Sat, 25 Dec 2010 01:42:45 +0000 (01:42 +0000)]
- Fixed INI test section
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.
Gustavo André dos Santos Lopes [Fri, 24 Dec 2010 19:01:25 +0000 (19:01 +0000)]
- Fix PCRE build on Windows; closes bug #53606.
Ilia Alshanetsky [Fri, 24 Dec 2010 15:03:29 +0000 (15:03 +0000)]
Upgraded\ bundled\ PCRE\ to\ version\ 8.11.
Moriyoshi Koizumi [Fri, 24 Dec 2010 08:42:21 +0000 (08:42 +0000)]
- Fix startup warnings.
Peter Cowburn [Fri, 24 Dec 2010 07:28:59 +0000 (07:28 +0000)]
NEWS for FR #48767 (SplFileInfo::getExtension())
Peter Cowburn [Thu, 23 Dec 2010 22:32:52 +0000 (22:32 +0000)]
Implemented FR #48767 (SplFileInfo::getExtension())
Ilia Alshanetsky [Thu, 23 Dec 2010 14:38:15 +0000 (14:38 +0000)]
Fixed compiler warning
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.
Ilia Alshanetsky [Wed, 22 Dec 2010 16:18:59 +0000 (16:18 +0000)]
Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)).
Moriyoshi Koizumi [Wed, 22 Dec 2010 10:25:33 +0000 (10:25 +0000)]
- Fix build.
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.
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).
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.
Ilia Alshanetsky [Mon, 20 Dec 2010 23:00:11 +0000 (23:00 +0000)]
Fixed compiler warnings
Rui Hirokawa [Mon, 20 Dec 2010 14:38:08 +0000 (14:38 +0000)]
fixed compile error with VS2008.
Felipe Pena [Mon, 20 Dec 2010 12:41:35 +0000 (12:41 +0000)]
- Fix build
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
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.