]>
granicus.if.org Git - php/log
Ulf Wendel [Mon, 30 Aug 2010 16:59:10 +0000 (16:59 +0000)]
Adding MYSQLI_OPT_SSL_VERIFY_SERVER_CERT for use with mysqli_options().
Pierre Joye [Mon, 30 Aug 2010 16:52:48 +0000 (16:52 +0000)]
- WS
Derick Rethans [Mon, 30 Aug 2010 16:50:10 +0000 (16:50 +0000)]
- Keep 5.3 and trunk in sync.
Derick Rethans [Mon, 30 Aug 2010 16:48:21 +0000 (16:48 +0000)]
- Tests for bug #52342 (DateTime setIsoDate results in wrong timestamp).
Derick Rethans [Mon, 30 Aug 2010 16:40:29 +0000 (16:40 +0000)]
- Fixed bug #52430 (date_parse parse 24:xx:xx as valid time). (Derick)
Derick Rethans [Mon, 30 Aug 2010 16:25:52 +0000 (16:25 +0000)]
- Fixed bug #52454 (Relative dates and getTimestamp increments by one day)
Derick Rethans [Mon, 30 Aug 2010 15:40:36 +0000 (15:40 +0000)]
- Test for (non-)bug #52577.
Derick Rethans [Mon, 30 Aug 2010 15:35:41 +0000 (15:35 +0000)]
- Added test for bug #46874 (same as #52668).
Derick Rethans [Mon, 30 Aug 2010 15:32:09 +0000 (15:32 +0000)]
- Fixed bug #52668 (Iterating over a dateperiod twice is broken).
Jérôme Loyet [Mon, 30 Aug 2010 15:21:31 +0000 (15:21 +0000)]
- only one process (for all pools) could be killed by the 'dynamic' process manager. Now it's one process per pool which can be killed by the 'dynamic' process manager.
- rename nonsense variable (i)
Pierre Joye [Mon, 30 Aug 2010 10:27:03 +0000 (10:27 +0000)]
- remove internals stuff, moved to the INTERNALS guide
Pierre Joye [Mon, 30 Aug 2010 10:26:31 +0000 (10:26 +0000)]
- initial import, internals upgrade guide
Pierre Joye [Mon, 30 Aug 2010 09:38:47 +0000 (09:38 +0000)]
- use TSRMLS_CC instead of TSRMLS_FETCH in virtual_file_ex
Ulf Wendel [Mon, 30 Aug 2010 09:20:48 +0000 (09:20 +0000)]
If you add functions to the PDO core, take care not to break other PDO drivers tests, document the function and provide a function test for the PDO core to check your default/fallback implementation.
Ilia Alshanetsky [Fri, 27 Aug 2010 19:43:08 +0000 (19:43 +0000)]
Fixed a compiler warning
Pierre Joye [Fri, 27 Aug 2010 10:09:52 +0000 (10:09 +0000)]
- WS
Dmitry Stogov [Fri, 27 Aug 2010 08:50:32 +0000 (08:50 +0000)]
Don't check FCGI_WEB_SERVER_ADDRS for UNIX sockets
Dmitry Stogov [Fri, 27 Aug 2010 08:34:44 +0000 (08:34 +0000)]
Added apache compatible functions (apache_child_terminate, getallheaders, apache_request_headers, apache_response_headers) to FastCGI SAPI
Dmitry Stogov [Fri, 27 Aug 2010 06:12:37 +0000 (06:12 +0000)]
In some SAPI (e.g. FastCGI) we don't need to setup and reset libxml callbacks on each request, we con do it only once. Probably the list of such SAPI may be extended.
Dmitry Stogov [Fri, 27 Aug 2010 06:09:18 +0000 (06:09 +0000)]
Preallocate zend_hash instead of allocation/deallocation it on each request
Adam Harvey [Fri, 27 Aug 2010 03:54:10 +0000 (03:54 +0000)]
Implemented request #34857 (Change array_combine behaviour when called with
empty arrays). Patch by Joel Perras <joel.perras@gmail.com>.
Pierre Joye [Thu, 26 Aug 2010 14:23:48 +0000 (14:23 +0000)]
- WS
Pierre Joye [Thu, 26 Aug 2010 14:23:17 +0000 (14:23 +0000)]
- Symlink resolution fails when target is a DFS path
Ulf Wendel [Thu, 26 Aug 2010 13:35:20 +0000 (13:35 +0000)]
Test for http://bugs.mysql.com/bug.php?id=49406, Binding params doesn't work when selecting a date inside a CASE-WHEN
Dmitry Stogov [Thu, 26 Aug 2010 12:21:06 +0000 (12:21 +0000)]
Removed useless copying
Dmitry Stogov [Thu, 26 Aug 2010 12:20:35 +0000 (12:20 +0000)]
Use stack instead of heap
Felipe Pena [Wed, 25 Aug 2010 22:03:03 +0000 (22:03 +0000)]
- Fixed bug #52699 (PDO bindValue writes long int 32bit enum)
Andrey Hristov [Wed, 25 Aug 2010 15:02:02 +0000 (15:02 +0000)]
fix the build. two mysqli functions were missing after
recent commit - set_charset and get_charset
Dmitry Stogov [Wed, 25 Aug 2010 13:48:16 +0000 (13:48 +0000)]
Don't try to read the rest of malformed FCGI requests, close immediately. It saves one recv() call for proper FCGI request.
Dmitry Stogov [Wed, 25 Aug 2010 11:44:15 +0000 (11:44 +0000)]
ws
Dmitry Stogov [Wed, 25 Aug 2010 09:14:36 +0000 (09:14 +0000)]
Fixed bug #52614 (Memory leak when writing on uninitialized variable returned from method call)
Adam Harvey [Wed, 25 Aug 2010 06:07:22 +0000 (06:07 +0000)]
Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header).
Jérôme Loyet [Mon, 23 Aug 2010 23:22:36 +0000 (23:22 +0000)]
- Changed listen.backlog in the FPM configuration file to default to 128
instead of -1. This is the same value as the one used in the cgi sapi.
Jérôme Loyet [Mon, 23 Aug 2010 20:40:44 +0000 (20:40 +0000)]
- Fixed bug #52674 (FPM Status page returns inconsistent Content-Type headers).
Pierre Joye [Mon, 23 Aug 2010 18:05:05 +0000 (18:05 +0000)]
-fix logic (and BC break)
Pierre Joye [Mon, 23 Aug 2010 17:01:44 +0000 (17:01 +0000)]
- revert fix for #52655, rev. 302614
Pierre Joye [Mon, 23 Aug 2010 16:54:57 +0000 (16:54 +0000)]
- add follow_location support for http stream, enabled by default to keep BC. Allows one to ignore the location header, w/o having to ignore errors or other tricks, the location data is however still available (meta)
Ilia Alshanetsky [Sun, 22 Aug 2010 18:17:19 +0000 (18:17 +0000)]
Fixed bogus char
Scott MacVicar [Sun, 22 Aug 2010 08:01:34 +0000 (08:01 +0000)]
Fix a bug where two doubles are equal but the maths operation makes it appear false.
Best example with INF where equals and identical produce different results.
<?php
var_dump(INF==INF);
var_dump(INF===INF);
Kalle Sommer Nielsen [Sat, 21 Aug 2010 16:22:46 +0000 (16:22 +0000)]
Fixed bug #52655 (SimpleXMLIterator supports ArrayAccess without implementing the interface)
Felipe Pena [Sat, 21 Aug 2010 16:09:18 +0000 (16:09 +0000)]
- Added missing void parameter checks
Jérôme Loyet [Sat, 21 Aug 2010 06:46:18 +0000 (06:46 +0000)]
- Fix #52407 (use __sync_bool_compare_and_swap in fpm_atomic.h if gcc >= 4.1 is used - credit to geissert)
Jérôme Loyet [Fri, 20 Aug 2010 17:00:57 +0000 (17:00 +0000)]
- typo (thx to sixd)
Pierre Joye [Fri, 20 Aug 2010 16:37:33 +0000 (16:37 +0000)]
- fix string validation, MOPS-2010-24
Andrey Hristov [Fri, 20 Aug 2010 12:25:17 +0000 (12:25 +0000)]
Fix for bug #52654 mysqli doesn't install headers with structures it uses
Jérôme Loyet [Fri, 20 Aug 2010 08:33:57 +0000 (08:33 +0000)]
Fix #52609 (INI scanner did not use ZEND_INI_SCANNER_NORMAL)
Ilia Alshanetsky [Thu, 19 Aug 2010 12:27:13 +0000 (12:27 +0000)]
Fixed bug #52599 (iconv output handler outputs incorrect content type when flags are used).
Felipe Pena [Wed, 18 Aug 2010 22:08:36 +0000 (22:08 +0000)]
- Reverted unintended modification
Kalle Sommer Nielsen [Wed, 18 Aug 2010 20:16:05 +0000 (20:16 +0000)]
Fixed possible crash in php_mssql_get_column_content_without_type()
# Also fix NEWS entry in PHP_5_2 for previous commit
Kalle Sommer Nielsen [Wed, 18 Aug 2010 20:00:18 +0000 (20:00 +0000)]
Fixed bug #52636 (php_mysql_fetch_hash writes long value into int)
# Tested by rein at basefarm dot no
Kalle Sommer Nielsen [Wed, 18 Aug 2010 18:00:33 +0000 (18:00 +0000)]
Nuke compiler warning, wrong fix that shouldn't have been in the previously commit
Dmitry Stogov [Wed, 18 Aug 2010 13:58:13 +0000 (13:58 +0000)]
improved performance of @ (silence) operator
Kalle Sommer Nielsen [Wed, 18 Aug 2010 13:34:40 +0000 (13:34 +0000)]
Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some TSRMLS_FETCH() calls in a few of our SAPI's
Kalle Sommer Nielsen [Wed, 18 Aug 2010 12:59:52 +0000 (12:59 +0000)]
Use the TSRMLS_DC/TSRMLS_CC macros instead of TSRMLS_FETCH()
Dmitry Stogov [Wed, 18 Aug 2010 11:59:30 +0000 (11:59 +0000)]
Fixed ZTS build
Dmitry Stogov [Wed, 18 Aug 2010 09:45:52 +0000 (09:45 +0000)]
Revert unintended modification
Dmitry Stogov [Wed, 18 Aug 2010 08:22:41 +0000 (08:22 +0000)]
improved performance of FastCGI request parsing
Felipe Pena [Wed, 18 Aug 2010 01:59:37 +0000 (01:59 +0000)]
- Improved fix for bug #52573
Andrey Hristov [Tue, 17 Aug 2010 18:08:25 +0000 (18:08 +0000)]
Fix for Bug #52613 crash in mysqlnd
Andrey Hristov [Tue, 17 Aug 2010 17:40:31 +0000 (17:40 +0000)]
Use PHP_DEP_FE - good for reflection
Andrey Hristov [Tue, 17 Aug 2010 15:39:26 +0000 (15:39 +0000)]
here comes the news
Andrey Hristov [Tue, 17 Aug 2010 15:37:44 +0000 (15:37 +0000)]
Deprecate mysql_list_dbs, as mysql_list_tables is already deprecated.
As well as mysql_list
Kalle Sommer Nielsen [Tue, 17 Aug 2010 12:57:04 +0000 (12:57 +0000)]
Fixed compiler warning
Kalle Sommer Nielsen [Tue, 17 Aug 2010 12:49:19 +0000 (12:49 +0000)]
Fixed compiler warnings in main/
Kalle Sommer Nielsen [Tue, 17 Aug 2010 12:17:28 +0000 (12:17 +0000)]
Fixed the $context parameter on copy() to have an effect (approved for 5.3 by Johannes)
# To not change a PHPAPI in a point release, a new function have been added to support contexts:
# php_copy_file_ctx(), php_copy_file_ex() now simply wraps to that
Sascha Schumann [Tue, 17 Aug 2010 12:14:52 +0000 (12:14 +0000)]
align declaration with definition
(patch by kalle)
Kalle Sommer Nielsen [Mon, 16 Aug 2010 21:56:35 +0000 (21:56 +0000)]
Fixed the context parameter on copy() to actually have an effect
# After looking at the logs, Jani did a bad merge into 5.3, so that
# the context parameter sent to copy() actually isn't used at all. This
# relatively simple patch fixes that for trunk.
#
# See FR #42965
# internals:
# This changes the php_copy_*() decls to contain an additional parameter for stream contexts
Kalle Sommer Nielsen [Mon, 16 Aug 2010 20:56:00 +0000 (20:56 +0000)]
Fixed bug #50836 (run_tests.php alerts syntax errors while testing session)
Andrey Hristov [Mon, 16 Aug 2010 17:44:50 +0000 (17:44 +0000)]
Added utf16 and utf32 support, as in MySQL 5.5, in mysqlnd.
Fixed tests, so they don't try to use SET NAMES utf16|utf32,
as character_set_client can't be set to those (the lexer can't
read ucs2, utf16 and utf32).
Added support for 4-byte utf8, as found in MySQL 5.5
Andrey Hristov [Mon, 16 Aug 2010 16:15:15 +0000 (16:15 +0000)]
Fix test, so it doesn't fail with MySQL 5.5, where InnoDB
is the default engine
Andrey Hristov [Mon, 16 Aug 2010 16:13:55 +0000 (16:13 +0000)]
detect easily which charset doesn't work
Derick Rethans [Mon, 16 Aug 2010 12:48:53 +0000 (12:48 +0000)]
- Updated to version 2010.12 (2010l)
Pierre Joye [Mon, 16 Aug 2010 10:29:01 +0000 (10:29 +0000)]
- WS
Derick Rethans [Mon, 16 Aug 2010 09:32:51 +0000 (09:32 +0000)]
- Updated to version 2010.11 (2010k)
Dmitry Stogov [Mon, 16 Aug 2010 09:20:46 +0000 (09:20 +0000)]
Bug #52361 (Throwing an exception in a destructor causes invalid catching)
Dmitry Stogov [Mon, 16 Aug 2010 08:11:08 +0000 (08:11 +0000)]
Fixed memory leaks (related to bug #52361)
Kalle Sommer Nielsen [Mon, 16 Aug 2010 00:26:39 +0000 (00:26 +0000)]
Fixed bug #52593 (exif is placed before mbstring in php.ini)
Pierre Joye [Sun, 15 Aug 2010 13:54:03 +0000 (13:54 +0000)]
- #52607, fix ENV conflit with win SDK 7.1
Ilia Alshanetsky [Sat, 14 Aug 2010 14:44:39 +0000 (14:44 +0000)]
Upgraded bundled Sqlite3 to version 3.7.0.1
Felipe Pena [Sat, 14 Aug 2010 01:12:43 +0000 (01:12 +0000)]
- Missing traits data initialization for internal classes (causing Reflection to crash)
Kalle Sommer Nielsen [Fri, 13 Aug 2010 10:43:15 +0000 (10:43 +0000)]
Changed mysqli_report() to be per-request specific rather than per-process specific (Fixes #52390)
Andrey Hristov [Fri, 13 Aug 2010 09:57:04 +0000 (09:57 +0000)]
Fix for bug #52413 MySQLi build failure on OS X
Andrey Hristov [Fri, 13 Aug 2010 09:18:06 +0000 (09:18 +0000)]
Fix for bug #52433 Call to undefined method mysqli::poll()
Andrey Hristov [Thu, 12 Aug 2010 14:17:31 +0000 (14:17 +0000)]
Make this function static, as it is used only in this file.
Add additional comment about how it works.
Andrey Hristov [Thu, 12 Aug 2010 13:23:16 +0000 (13:23 +0000)]
Allocate memory in a burst mode, and later use it. Increases
locality of the data.
Also use MYSQLND_INC_CONN_STATISTIC in one place, instead of
two, thus removing code duplication from macro expansion - less
code to fit in the instruction cache.
Andrey Hristov [Thu, 12 Aug 2010 12:02:02 +0000 (12:02 +0000)]
Switch from using PHP_MAJOR_VERSION to separate define for
unicode. Unicode is no more, but these are "bookmarks" where
to change mysqlnd, if Unicode becomes trendy again.
Andrey Hristov [Thu, 12 Aug 2010 11:38:08 +0000 (11:38 +0000)]
ws + cs
Kalle Sommer Nielsen [Wed, 11 Aug 2010 22:38:15 +0000 (22:38 +0000)]
Fixed bug #50804 (Document configure.js --enable-crt-debug)
Kalle Sommer Nielsen [Wed, 11 Aug 2010 21:47:49 +0000 (21:47 +0000)]
Ignore the x64 directory for Windows x64 builds
Kalle Sommer Nielsen [Wed, 11 Aug 2010 21:41:30 +0000 (21:41 +0000)]
MFB53: Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
Dmitry Stogov [Wed, 11 Aug 2010 15:34:06 +0000 (15:34 +0000)]
Optimization of ASSIGN instruction
Dmitry Stogov [Wed, 11 Aug 2010 09:38:41 +0000 (09:38 +0000)]
In ZTS mode default properties and constants of internal classes can't be modified in place and have to be separated
Dmitry Stogov [Wed, 11 Aug 2010 08:34:54 +0000 (08:34 +0000)]
Fixed support for static properties of internal classes
Felipe Pena [Tue, 10 Aug 2010 22:37:24 +0000 (22:37 +0000)]
- Fixed bug #52573 (SplFileObject::fscanf Segmentation fault)
Dmitry Stogov [Tue, 10 Aug 2010 15:24:19 +0000 (15:24 +0000)]
Optimization (IS_TMP_VARs don't need reference counting)
Dmitry Stogov [Tue, 10 Aug 2010 14:44:50 +0000 (14:44 +0000)]
Prevent generation of long strings
Dmitry Stogov [Tue, 10 Aug 2010 14:43:17 +0000 (14:43 +0000)]
Optimization
Ilia Alshanetsky [Tue, 10 Aug 2010 00:19:51 +0000 (00:19 +0000)]
Make http_response_code() return FALSE where data is not available (Ex. cli sapi)
Andrey Hristov [Mon, 9 Aug 2010 17:29:30 +0000 (17:29 +0000)]
Fix Request #52302 mysqli_fetch_all does not work with MYSQLI_USE_RESULT
Andrey Hristov [Mon, 9 Aug 2010 17:01:57 +0000 (17:01 +0000)]
Lay foundations for named pipe support in mysqlnd