]>
granicus.if.org Git - php/log
Xinchen Hui [Sat, 24 Mar 2012 07:13:10 +0000 (15:13 +0800)]
Implemented FR #60738 (Allow 'set_error_handler' to handle NULL)
Xinchen Hui [Sat, 24 Mar 2012 06:33:00 +0000 (14:33 +0800)]
Merge from PHP-5.4
Improve set_exception_handler
Xinchen Hui [Sat, 24 Mar 2012 06:22:04 +0000 (14:22 +0800)]
Fix ZTS build
Gustavo André dos Santos Lopes [Fri, 23 Mar 2012 22:14:24 +0000 (22:14 +0000)]
Merge branch 'dom_debug_handler' into 5.3
Gustavo André dos Santos Lopes [Fri, 23 Mar 2012 22:13:26 +0000 (22:13 +0000)]
Updated NEWS (DOM object debug info handler).
Gustavo André dos Santos Lopes [Fri, 23 Mar 2012 22:08:33 +0000 (22:08 +0000)]
Fixed tests that var_dump/print_r DOM objects.
Gustavo André dos Santos Lopes [Thu, 22 Mar 2012 21:49:04 +0000 (21:49 +0000)]
Improved on DOM object debug info handler. Added test.
Joey Smith [Tue, 20 Mar 2012 03:22:53 +0000 (21:22 -0600)]
Added DOM Debug handler
Gustavo André dos Santos Lopes [Fri, 23 Mar 2012 09:42:05 +0000 (09:42 +0000)]
Fixed bug #61482, caused by the fix to bug #61418.
Turns out I'd forgotten to also update the destructor for the iterator
returned by DirectoryIterator.
The iterator for DirectoryIterator maintains the same ->current pointer
throughout its existence (the DirectoryIterator itself) and returns it
(the same object) everytime a value is requested from the iterator.
Moving forward the iterator only changes the object. Previous code
added two references to the object in get_iterator on the account of
1) the iterator memory living in its DirectoryIterator object and
2) the object being stored in iterator->current. This seems to be
unnecessary. Iterators are not responsible for incrementing the refcount
of the values they yield, that's up to the caller (the engine). What
matters for the iterator is that the object exists as long as the
iterator exists and this can be guaranteed by incremented the refcount
only once. Consequently, I only add one reference in get_iterator
(and reclaim it in the iterator destructor).
Gustavo André dos Santos Lopes [Fri, 23 Mar 2012 09:40:27 +0000 (09:40 +0000)]
Revert "Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482"
This reverts commit
a89c4a34ee55686ab1430a5060e1460335fc5203 .
Gustavo André dos Santos Lopes [Fri, 23 Mar 2012 09:40:20 +0000 (09:40 +0000)]
Revert "revert from NEWS too"
This reverts commit
4990250f2d5bd3dad82e9d98d4b18c3091bf8843 .
Stanislav Malyshev [Fri, 23 Mar 2012 05:34:32 +0000 (22:34 -0700)]
revert from NEWS too
Stanislav Malyshev [Fri, 23 Mar 2012 05:29:50 +0000 (22:29 -0700)]
Revert "- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or" - causes bug #61482
This reverts commit
714f1ff4b37c5101b3c61ea108a3d415f41e50df .
Christopher Jones [Wed, 21 Mar 2012 23:12:28 +0000 (16:12 -0700)]
Add initialization tests for SQLT_INT binds
Added tests for SQLT_INT binds particularly to check for uninitialized
variables.
Johannes Schlüter [Thu, 22 Mar 2012 15:40:13 +0000 (16:40 +0100)]
Fix NEWS
Ilia Alshanetsky [Thu, 22 Mar 2012 13:13:45 +0000 (09:13 -0400)]
Fixed bug #61423 (gzip compression fails).
Dmitry Stogov [Thu, 22 Mar 2012 11:51:58 +0000 (15:51 +0400)]
Revert "Fixed reference counting"
This reverts commit
14af1fe6923c65a91cd77eab5a8d4326f854391d .
Dmitry Stogov [Thu, 22 Mar 2012 10:38:38 +0000 (14:38 +0400)]
Fixed reference counting
Xinchen Hui [Thu, 22 Mar 2012 09:30:16 +0000 (17:30 +0800)]
Fix test, and merge the modification from trunk
Xinchen Hui [Thu, 22 Mar 2012 09:22:17 +0000 (17:22 +0800)]
Ignore the tempoary files
Xinchen Hui [Thu, 22 Mar 2012 09:10:03 +0000 (17:10 +0800)]
Fix test, which was broken by the fix for #61173
Gustavo André dos Santos Lopes [Wed, 21 Mar 2012 21:13:35 +0000 (21:13 +0000)]
Merge branch 'PHP-5.3' of git.php.net:/php-src into 5.3
Gustavo André dos Santos Lopes [Wed, 21 Mar 2012 21:06:00 +0000 (21:06 +0000)]
Fixed bug #61043: Regression in magic_quotes_gpc fix (CVE-2012-0831)
Merge commit 'refs/pull/12/head' of git://github.com/php/php-src into 5.3
Signed-off-by: Gustavo André dos Santos Lopes <cataphract@php.net>
David Soria Parra [Wed, 21 Mar 2012 17:07:30 +0000 (18:07 +0100)]
Use the NEWS merge driver if available
As described in https://wiki.php.net/vcs/gitworkflow#the_news_file it
is possible to setup a custom merge driver for NEWS so git doesnt try
to merge it. This commit sets the default merge driver for the NEWS
file to the merge driver called NEWS.
Dmitry Stogov [Wed, 21 Mar 2012 12:32:49 +0000 (16:32 +0400)]
Fixed bug #49853 (Soap Client stream context header option ignored)
David Soria Parra [Wed, 21 Mar 2012 11:38:43 +0000 (12:38 +0100)]
Always keep the NEWS file from the branch when merging
We usually don't want to touch the NEWS files when we merge and have the
news items not merged by git. Therefore we tell git to use the 'ours' strategy
for the NEWS file.
Ondřej Surý [Tue, 20 Mar 2012 09:21:07 +0000 (10:21 +0100)]
Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831)
Pierre Joye [Wed, 21 Mar 2012 06:06:07 +0000 (07:06 +0100)]
- update NEWS
Pierre Joye [Wed, 21 Mar 2012 06:00:22 +0000 (07:00 +0100)]
- add test for bug #55000 and #54374
Pierre Joye [Wed, 21 Mar 2012 05:58:55 +0000 (06:58 +0100)]
- merge fix bug #54374, bug #55500 - filter file names better, no dangling [s, svn revision 321664
Stanislav Malyshev [Tue, 20 Mar 2012 05:28:16 +0000 (22:28 -0700)]
adapt makedist to git
David Soria Parra [Tue, 20 Mar 2012 16:53:47 +0000 (17:53 +0100)]
Replace $Revision$ with $Id$ in keyword expansion enable files
David Soria Parra [Tue, 20 Mar 2012 16:49:42 +0000 (17:49 +0100)]
Enable $Id$ expansion for files with the $Revision$ keyword
Git supports a limited $Id$ keyword expansion. This $Id$ tag is similar to
$Revision$ in SVN. We enable the $Id$ expansion only for files that use
$Revision$.
Matt Nowack [Mon, 19 Mar 2012 22:29:55 +0000 (15:29 -0700)]
Adding Braces in json.c to conform with coding standards
Xinchen Hui [Tue, 20 Mar 2012 07:59:17 +0000 (15:59 +0800)]
Ignore the temporay files in sapi/*/tests/
Christopher Jones [Mon, 19 Mar 2012 22:16:33 +0000 (15:16 -0700)]
Minor text changes (to try new git repo)
Ilia Alshanetsky [Mon, 19 Mar 2012 17:10:23 +0000 (13:10 -0400)]
Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
Sebastian Bergmann [Mon, 19 Mar 2012 17:25:37 +0000 (18:25 +0100)]
Add missing files.
David Soria Parra [Mon, 19 Mar 2012 14:58:34 +0000 (15:58 +0100)]
Add .gitignore
The gitignore file was created using git svn show-ignore and the overlapping
patterns were removed.
David Soria Parra [Mon, 19 Mar 2012 13:11:40 +0000 (06:11 -0700)]
Merge branch 'PHP-5.2' into PHP-5.3
This merge is a "fake". It was done with the merge strategy
"ours" to ensure Git thinks both branches are in sync after
the migration from SVN.
Gustavo André dos Santos Lopes [Sun, 18 Mar 2012 18:23:27 +0000 (18:23 +0000)]
- Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
when get_properties returns a hash table with (inaccessible) dynamic
numeric properties).
Gustavo André dos Santos Lopes [Sun, 18 Mar 2012 15:07:20 +0000 (15:07 +0000)]
- Fixed bug #61418 (Segmentation fault when DirectoryIterator's or
FilesystemIterator's iterators are requested more than once without
having had its dtor callback called in between).
Gustavo André dos Santos Lopes [Sat, 17 Mar 2012 19:37:30 +0000 (19:37 +0000)]
- Fixed bug #61371 (resource leak). This bug had two parts, a long standing leak
already fixed in trunk/5.3 and now merged onto 5.4 and a leak introduced in
fixing bug #61115. This better fix for #61115 fixes the leak (the inhibition
for deleting the context was too broad) and so prevents segfaults in new
circumstances (where the inhibition was not broad enough).
Michael Wallner [Sat, 17 Mar 2012 09:35:25 +0000 (09:35 +0000)]
add --PUT-- section support based on POST_RAW
Ilia Alshanetsky [Thu, 15 Mar 2012 19:59:26 +0000 (19:59 +0000)]
Fixed bug #60947 (Segmentation fault while executing ibase_db_info)
Ilia Alshanetsky [Wed, 14 Mar 2012 20:20:33 +0000 (20:20 +0000)]
Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO).
Ulf Wendel [Wed, 14 Mar 2012 14:55:09 +0000 (14:55 +0000)]
Test for MySQL version.Variable is deprecated in MySQL 5.6.
Christopher Jones [Mon, 12 Mar 2012 18:08:34 +0000 (18:08 +0000)]
Test portability and coverage changes
Ilia Alshanetsky [Mon, 12 Mar 2012 16:53:07 +0000 (16:53 +0000)]
Fixed bug #60222 (time_nanosleep() does validate input params).
Xinchen Hui [Mon, 12 Mar 2012 14:52:02 +0000 (14:52 +0000)]
reduce memory usage
Ilia Alshanetsky [Sun, 11 Mar 2012 18:15:13 +0000 (18:15 +0000)]
Fixed bug #60569 (Nullbyte truncates Exception $message).
Felipe Pena [Sun, 11 Mar 2012 15:42:57 +0000 (15:42 +0000)]
- Fixed memory leak when calling SplFileInfo's constructor twice
Xinchen Hui [Sun, 11 Mar 2012 15:31:19 +0000 (15:31 +0000)]
Typo when merging from trunk
Xinchen Hui [Sun, 11 Mar 2012 15:28:31 +0000 (15:28 +0000)]
Fixed bug #61273 (call_user_func_array with more than 16333 arguments leaks / crashes)
Xinchen Hui [Sun, 11 Mar 2012 15:12:28 +0000 (15:12 +0000)]
Fix wrong type in the marco of fetching thread globals
Xinchen Hui [Sun, 11 Mar 2012 09:19:38 +0000 (09:19 +0000)]
Fixed bug #61088 (Memory leak in readline_callback_handler_install).
Xinchen Hui [Sun, 11 Mar 2012 09:06:12 +0000 (09:06 +0000)]
Sorry for wrong order again.
Xinchen Hui [Sun, 11 Mar 2012 09:02:00 +0000 (09:02 +0000)]
Re-order them according to README.SVN-RULES
Xinchen Hui [Sun, 11 Mar 2012 08:34:06 +0000 (08:34 +0000)]
Oops, sorry for my poor english
Xinchen Hui [Sun, 11 Mar 2012 08:30:30 +0000 (08:30 +0000)]
Fix test
Xinchen Hui [Sun, 11 Mar 2012 08:27:55 +0000 (08:27 +0000)]
Fixed bug #61347 (inconsist isset behavior of Arrayobject)
Gustavo André dos Santos Lopes [Sat, 10 Mar 2012 17:19:39 +0000 (17:19 +0000)]
- Fixed bug #61326 (ArrayObject comparison).
Michael Wallner [Fri, 9 Mar 2012 19:51:09 +0000 (19:51 +0000)]
merge 322758 (detect a php-cgi which is a sibling of php cli)
Ilia Alshanetsky [Thu, 8 Mar 2012 20:14:26 +0000 (20:14 +0000)]
Fixed bug #60842, #51775 (Chunked response parsing error when chunksize length line is > 10 bytes).
Johannes Schlüter [Thu, 8 Mar 2012 12:52:12 +0000 (12:52 +0000)]
Use correct property ctor, should fix threading issue in bug #55334
# The code was refactored in 5_4/trunk, no need to merge
Gustavo André dos Santos Lopes [Thu, 8 Mar 2012 12:39:48 +0000 (12:39 +0000)]
- Oops committed old version of the patch in r324020. Fixed. See bug #61253.
Gustavo André dos Santos Lopes [Thu, 8 Mar 2012 12:30:59 +0000 (12:30 +0000)]
- Fixed bug #61253: Wrappers opened with errors concurrency problem
#NOTE: There is a very small possibility that this will further break
#extensions that access wrapper->{err_stack, err_count}. On PECL SVN, rar is the
#only one and it may leak memory after this. I say "further break" because
#extensions that do that are already broken (will segfault) under ZTS, which is
#why this patch is necessary.
#There was what I deem as tacit acceptance from 5.3/5.4 RMs on this.
Gustavo André dos Santos Lopes [Thu, 8 Mar 2012 08:52:28 +0000 (08:52 +0000)]
- Fixed bug #61267: pdo_pgsql's PDO::exec() returns the number of SELECTed
rows on postgresql >= 9
Ilia Alshanetsky [Thu, 8 Mar 2012 03:31:46 +0000 (03:31 +0000)]
Fixed bug #60634 (Segmentation fault when trying to die() in SessionHandler::write())
Derick Rethans [Tue, 6 Mar 2012 18:34:10 +0000 (18:34 +0000)]
Fixed version numbers.
Derick Rethans [Tue, 6 Mar 2012 18:25:55 +0000 (18:25 +0000)]
Add the ZEND_DONT_UNLOAD_MODULES environment variable for debugging to 5.3 as
well.
Johannes Schlüter [Tue, 6 Mar 2012 01:43:49 +0000 (01:43 +0000)]
Apply test fix for bug #61288 pdo_mysql___construct_options_libmysql.phpt test fails
Johannes Schlüter [Tue, 6 Mar 2012 00:15:40 +0000 (00:15 +0000)]
Fix bug #61003 mysql_stat() require a valid connection
Johannes Schlüter [Mon, 5 Mar 2012 23:57:24 +0000 (23:57 +0000)]
Fix bug #61194 PDO should export compression flag with myslqnd
Johannes Schlüter [Mon, 5 Mar 2012 23:38:15 +0000 (23:38 +0000)]
Fix Bug #61207 PDO::nextRowset() after a multi-statement query doesn't always work
Pierre Joye [Mon, 5 Mar 2012 20:53:40 +0000 (20:53 +0000)]
- fix bug #61290, fix build
Dmitry Stogov [Mon, 5 Mar 2012 12:59:01 +0000 (12:59 +0000)]
Fixed bug #60887 (SoapClient ignores user_agent option and sends no User-Agent header)
Dmitry Stogov [Mon, 5 Mar 2012 12:47:25 +0000 (12:47 +0000)]
Fixed module numbering
Pierre Joye [Sun, 4 Mar 2012 22:15:12 +0000 (22:15 +0000)]
- fix bug #54407, Incorrectly defined NTDDI_VERSION macro
Gustavo André dos Santos Lopes [Sun, 4 Mar 2012 19:30:01 +0000 (19:30 +0000)]
- size_t may be shorter than long and definitely is not signed. Note that the
z modifier was only added in C99, so we can't use it.
Pierre Joye [Sun, 4 Mar 2012 15:23:24 +0000 (15:23 +0000)]
- fix bug #54407, Incorrectly defined NTDDI_VERSION macro
Nikita Popov [Sun, 4 Mar 2012 13:52:48 +0000 (13:52 +0000)]
Fix bug #60596: Code Cleanup Removing Superfluous If Statement
Cleanup only, no function change. Patch by ircmaxell.
Ilia Alshanetsky [Sat, 3 Mar 2012 20:36:14 +0000 (20:36 +0000)]
Fixed bug #60106 (stream_socket_server silently truncates long unix socket paths)
Nikita Popov [Sat, 3 Mar 2012 12:46:17 +0000 (12:46 +0000)]
Fix bug #61264: xmlrpc_parse_method_descriptions leaks temporary variable
Nikita Popov [Fri, 2 Mar 2012 18:05:38 +0000 (18:05 +0000)]
Fix bug #52719: array_walk_recursive crashes if third param of the function is by reference
Rasmus Lerdorf [Fri, 2 Mar 2012 17:08:00 +0000 (17:08 +0000)]
Missed 5.3 for the Armenia DST drop
Derick Rethans [Fri, 2 Mar 2012 17:00:33 +0000 (17:00 +0000)]
- Updated to version 2012.2 (2012b)
Adam Harvey [Fri, 2 Mar 2012 03:39:04 +0000 (03:39 +0000)]
MFH: Fix bug #60801 (strpbrk() mishandles NUL byte). (Trunk commit: r322934).
Christopher Jones [Fri, 2 Mar 2012 00:07:41 +0000 (00:07 +0000)]
Fixed bug #61172 (Add Apache 2.4 support)
Christopher Jones [Thu, 1 Mar 2012 20:05:18 +0000 (20:05 +0000)]
Change PHP 6 refs to PHP 5.4 and sync some spelling with PHP_5_4 branch files
Derick Rethans [Thu, 1 Mar 2012 15:09:49 +0000 (15:09 +0000)]
- Updated to version 2012.1 (2012a)
Christopher Jones [Wed, 29 Feb 2012 20:48:17 +0000 (20:48 +0000)]
Add the CVE numbers that were mentioned in the related php.net announcements
Christopher Jones [Wed, 29 Feb 2012 18:46:17 +0000 (18:46 +0000)]
Remove "backported" from 5.4 comments since 5.3 is the base version these bugs are fixed. Reorder.
Rasmus Lerdorf [Mon, 27 Feb 2012 12:16:39 +0000 (12:16 +0000)]
Fix bug 61193
Xinchen Hui [Sun, 26 Feb 2012 14:56:26 +0000 (14:56 +0000)]
Improve fix for #61165, the previous one cause #43450 test failed
Xinchen Hui [Sat, 25 Feb 2012 14:15:11 +0000 (14:15 +0000)]
Fixed bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode)
Olivier DOUCET [Sat, 25 Feb 2012 13:27:57 +0000 (13:27 +0000)]
test for bug #61124
Nikita Popov [Sat, 25 Feb 2012 13:04:43 +0000 (13:04 +0000)]
NEWS for r323330
So cjones doesn't have nightmares :P
Olivier DOUCET [Sat, 25 Feb 2012 12:44:46 +0000 (12:44 +0000)]
fix phpt : fopen(data://) requires allow_url_fopen=1
Olivier DOUCET [Sat, 25 Feb 2012 12:10:41 +0000 (12:10 +0000)]
more verbose skip reason in test files with not so obvious extension requirements