]>
granicus.if.org Git - php/log
Antony Dovgal [Thu, 22 Apr 2010 15:59:44 +0000 (15:59 +0000)]
revert most of the Andrey's patch that causes segfaults
(as agreed with Pierre)
Dmitry Stogov [Thu, 22 Apr 2010 15:51:03 +0000 (15:51 +0000)]
Removed unused function
Andrey Hristov [Thu, 22 Apr 2010 15:14:45 +0000 (15:14 +0000)]
adding what last commit was missing
Andrey Hristov [Thu, 22 Apr 2010 15:07:40 +0000 (15:07 +0000)]
Remove dead code and add possibility to fine tune the size of
a mempool (used for result sets).
Dmitry Stogov [Thu, 22 Apr 2010 15:03:17 +0000 (15:03 +0000)]
Optimized access to global constants using values with pre-calculated hash_values from litersls table
Felipe Pena [Thu, 22 Apr 2010 13:28:53 +0000 (13:28 +0000)]
- Removed unused variables
Andrey Hristov [Thu, 22 Apr 2010 13:03:44 +0000 (13:03 +0000)]
Add the posibility to switch off the compilation of statistics
collection, for those who want to optimize the last percent of their
binaries.
Dmitry Stogov [Thu, 22 Apr 2010 11:56:45 +0000 (11:56 +0000)]
ZEND_RETURN is splitted into two new instructions ZEND_RETURN and ZEND_RETURN_BY_REF
Antony Dovgal [Thu, 22 Apr 2010 11:56:08 +0000 (11:56 +0000)]
initialize variable. this code still segfaults in OpenSSL, no idea why
Pierre Joye [Thu, 22 Apr 2010 11:49:10 +0000 (11:49 +0000)]
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
Pierre Joye [Thu, 22 Apr 2010 08:58:07 +0000 (08:58 +0000)]
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
Jérôme Loyet [Thu, 22 Apr 2010 07:14:06 +0000 (07:14 +0000)]
correct wrong comparison (thx to felipe)
Adam Harvey [Thu, 22 Apr 2010 02:22:49 +0000 (02:22 +0000)]
Fix for bug #51604 (newline in end of header is shown in start of message).
Patch by Daniel Egeberg.
Kalle Sommer Nielsen [Thu, 22 Apr 2010 01:07:48 +0000 (01:07 +0000)]
Removed the session 4.2 bug compatibility mode
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:36:49 +0000 (23:36 +0000)]
Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions
Felipe Pena [Wed, 21 Apr 2010 23:22:20 +0000 (23:22 +0000)]
- Fix ZTS build
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:19:39 +0000 (23:19 +0000)]
Updated copyright year
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:16:56 +0000 (23:16 +0000)]
Drop php_register_var(), Thanks Felipe
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:07:54 +0000 (23:07 +0000)]
Updated copyright year
Kalle Sommer Nielsen [Wed, 21 Apr 2010 23:03:16 +0000 (23:03 +0000)]
Removed session_is_registered(), session_register() and session_unregister().
-- They are no longer needed without register_globals
Jérôme Loyet [Wed, 21 Apr 2010 22:56:33 +0000 (22:56 +0000)]
switch the configuration syntax from xml to ini
It's been describe in the RFC: http://wiki.php.net/rfc/fpm/ini_syntax
Kalle Sommer Nielsen [Wed, 21 Apr 2010 22:23:55 +0000 (22:23 +0000)]
Removed import_request_variables(), this is not needed anymore without register_globals
Felipe Pena [Wed, 21 Apr 2010 22:22:31 +0000 (22:22 +0000)]
- Fixed bug #51627 (script path not correctly evaluated)
Patch by: russell dot tempero at rightnow dot com
Felipe Pena [Wed, 21 Apr 2010 22:06:18 +0000 (22:06 +0000)]
- Dropped unused HL_BG_COLOR (Kalle)
Kalle Sommer Nielsen [Wed, 21 Apr 2010 22:04:19 +0000 (22:04 +0000)]
Added missing zend_parse_parameters_none() call to sys_getloadavg()
Kalle Sommer Nielsen [Wed, 21 Apr 2010 21:56:24 +0000 (21:56 +0000)]
Remove highlight.bg, it was removed in the old trunk and its not referenced in zend_highlight.c, meaning its not even implemented correctly in 5.3.
Pierrick Charron [Wed, 21 Apr 2010 16:00:46 +0000 (16:00 +0000)]
Remove unused variable
Felipe Pena [Wed, 21 Apr 2010 15:08:10 +0000 (15:08 +0000)]
- Fix ZTS build
Dmitry Stogov [Wed, 21 Apr 2010 14:58:33 +0000 (14:58 +0000)]
Eliminated unnecessary compile-time hash_value recalculation for interned strings
Felipe Pena [Wed, 21 Apr 2010 14:19:27 +0000 (14:19 +0000)]
- Fixed bug #51562 (query timeout in mssql can not be changed per query)
Patch by: ejsmont dot artur at gmail dot com
Felipe Pena [Wed, 21 Apr 2010 12:52:24 +0000 (12:52 +0000)]
- Fix mem. leak
Kalle Sommer Nielsen [Wed, 21 Apr 2010 01:27:22 +0000 (01:27 +0000)]
Removed register_globals
Jérôme Loyet [Tue, 20 Apr 2010 23:31:13 +0000 (23:31 +0000)]
typo
Jérôme Loyet [Tue, 20 Apr 2010 23:28:20 +0000 (23:28 +0000)]
Add a check request_method. If fcgi protocol is not followed, a segfault can occur.
Jérôme Loyet [Tue, 20 Apr 2010 21:13:40 +0000 (21:13 +0000)]
Change php_defines in configuration file to php_value,php_admin_value,php_flag,php_admin_flag (as in the apache sapi).
php_admin* sets values as ZEND_INI_SYSTEM mode while php_* sets values as ZEND_INI_USER
Andrey Hristov [Tue, 20 Apr 2010 20:02:32 +0000 (20:02 +0000)]
Hardening the reads of mysqlnd.
All packets but the row data packet are read into preallocated buffer,
either on the stack or on the heap (cmd_buffer). The size of the buffer
is always checked to skip buffer overruns. Only up to the size of the
buffer is stored into the buffer but packet->header.size has the size of
all data sent. In this case network layer bails.
This patch hardenes the reads, so if packets are malformed and shorter
than they should be there will be no further reads in the buffer.
In short, detection of malformed packets.
Stanislav Malyshev [Tue, 20 Apr 2010 19:46:30 +0000 (19:46 +0000)]
add test for self:: and static::
Andrey Hristov [Tue, 20 Apr 2010 19:09:56 +0000 (19:09 +0000)]
put the trigger in the right place
Andrey Hristov [Tue, 20 Apr 2010 18:04:24 +0000 (18:04 +0000)]
It is possible that change user tries an user who has old password.
Instead of error message that doesn't say much there is more information now.
Felipe Pena [Tue, 20 Apr 2010 16:45:46 +0000 (16:45 +0000)]
- Improve test
Felipe Pena [Tue, 20 Apr 2010 16:24:21 +0000 (16:24 +0000)]
- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML)
Felipe Pena [Tue, 20 Apr 2010 15:59:01 +0000 (15:59 +0000)]
- Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
Patch by: cbandy at jbandy dot com
Dmitry Stogov [Tue, 20 Apr 2010 15:41:35 +0000 (15:41 +0000)]
Fixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled)
Johannes Schlüter [Tue, 20 Apr 2010 15:29:03 +0000 (15:29 +0000)]
WS
Felipe Pena [Tue, 20 Apr 2010 14:11:53 +0000 (14:11 +0000)]
- Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter)
Felipe Pena [Tue, 20 Apr 2010 13:50:34 +0000 (13:50 +0000)]
- Fix copyrights
Antony Dovgal [Tue, 20 Apr 2010 12:53:43 +0000 (12:53 +0000)]
fix ZTS build
Antony Dovgal [Tue, 20 Apr 2010 12:50:02 +0000 (12:50 +0000)]
fix build
Dmitry Stogov [Tue, 20 Apr 2010 12:30:35 +0000 (12:30 +0000)]
Fixed bug #48781 (Cyclical garbage collector memory leak)
Felipe Pena [Tue, 20 Apr 2010 11:49:23 +0000 (11:49 +0000)]
- Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Patch by: cbandy at jbandy dot com
Dmitry Stogov [Tue, 20 Apr 2010 11:17:25 +0000 (11:17 +0000)]
Updated version numbers
Dmitry Stogov [Tue, 20 Apr 2010 11:16:39 +0000 (11:16 +0000)]
Added a number of small performance tweaks and optimizations
. ZEND_RECV now always has IS_CV as its result
. ZEND_CATCH now has to be used only with constant class names
. ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
Dmitry Stogov [Tue, 20 Apr 2010 11:14:07 +0000 (11:14 +0000)]
regenerated files
Dmitry Stogov [Tue, 20 Apr 2010 11:07:05 +0000 (11:07 +0000)]
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
Dmitry Stogov [Tue, 20 Apr 2010 11:05:54 +0000 (11:05 +0000)]
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
Dmitry Stogov [Tue, 20 Apr 2010 10:57:45 +0000 (10:57 +0000)]
Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table
Dmitry Stogov [Tue, 20 Apr 2010 10:49:22 +0000 (10:49 +0000)]
Added an optimization which saves memory and emalloc/efree calls for empty HashTables
Dmitry Stogov [Tue, 20 Apr 2010 10:44:19 +0000 (10:44 +0000)]
Added a micro benchmark which measures the performance of some primitive operations. It's usefult to detect performance evaluation caused by new patches.
Antony Dovgal [Tue, 20 Apr 2010 10:04:26 +0000 (10:04 +0000)]
fix infinite loop in the test
Adam Harvey [Tue, 20 Apr 2010 04:31:11 +0000 (04:31 +0000)]
Added explanatory comments to filter_input and filter_input_array to document
why some code that looks intuitively wrong is actually correct. Related to
bug #51344 (FILTER_NULL_ON_FAILURE flag automatically set in filter_input()
functions).
Stanislav Malyshev [Tue, 20 Apr 2010 00:45:07 +0000 (00:45 +0000)]
fix 64-bit integer overflow in mhash_keygen_s2k
Jérôme Loyet [Mon, 19 Apr 2010 20:45:03 +0000 (20:45 +0000)]
true/false was not a valid value for boolean directives
Stanislav Malyshev [Mon, 19 Apr 2010 19:45:03 +0000 (19:45 +0000)]
restore $this support for closures to its former glory
Jérôme Loyet [Mon, 19 Apr 2010 18:02:36 +0000 (18:02 +0000)]
correct path in the man page
Felipe Pena [Sun, 18 Apr 2010 18:07:27 +0000 (18:07 +0000)]
- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)
Stanislav Malyshev [Fri, 16 Apr 2010 23:36:53 +0000 (23:36 +0000)]
fix non-ts build
Christopher Jones [Fri, 16 Apr 2010 20:36:40 +0000 (20:36 +0000)]
Fixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name)
Stefan Marr [Thu, 15 Apr 2010 21:39:20 +0000 (21:39 +0000)]
Added traits test cases. No engine changes for now. [TRAITS]
#Getting accustomed to the infrastructure.
#Any comments are welcome, especially with regard to syntax and keywords.
Christopher Jones [Thu, 15 Apr 2010 19:22:01 +0000 (19:22 +0000)]
Fix php.ini comment typo
Kalle Sommer Nielsen [Thu, 15 Apr 2010 16:36:08 +0000 (16:36 +0000)]
Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session)
Andrey Hristov [Thu, 15 Apr 2010 15:58:26 +0000 (15:58 +0000)]
Last batch of int/uint comparison fixes
Andrey Hristov [Thu, 15 Apr 2010 15:53:58 +0000 (15:53 +0000)]
More int/uint comparison warning fixes
Andrey Hristov [Thu, 15 Apr 2010 15:28:00 +0000 (15:28 +0000)]
Fix some int/uint comparison warnings
Andrey Hristov [Thu, 15 Apr 2010 15:22:56 +0000 (15:22 +0000)]
Remove unused file
Andrey Hristov [Thu, 15 Apr 2010 15:16:29 +0000 (15:16 +0000)]
more WS
Andrey Hristov [Thu, 15 Apr 2010 12:55:04 +0000 (12:55 +0000)]
CS + WS changes
Antony Dovgal [Thu, 15 Apr 2010 11:50:43 +0000 (11:50 +0000)]
final fix for long opts in getopt()
Kalle Sommer Nielsen [Thu, 15 Apr 2010 11:18:28 +0000 (11:18 +0000)]
Bump PHP_API_VERSION
Andrey Hristov [Thu, 15 Apr 2010 11:01:30 +0000 (11:01 +0000)]
Fix for bug#49234 method not found ssl_set
Patch was tested and compiles on Windows. (Thanks Kalle)
Antony Dovgal [Wed, 14 Apr 2010 15:49:38 +0000 (15:49 +0000)]
discard first TWO symbols of a long argument
Pierre Joye [Wed, 14 Apr 2010 09:45:37 +0000 (09:45 +0000)]
- #35638, add udate to imap_fetch_overview
Antony Dovgal [Tue, 13 Apr 2010 12:41:46 +0000 (12:41 +0000)]
simplify configure check for nanosleep()
Antony Dovgal [Tue, 13 Apr 2010 12:16:26 +0000 (12:16 +0000)]
use new type + const static
Antony Dovgal [Tue, 13 Apr 2010 12:13:46 +0000 (12:13 +0000)]
re-add updated FPM
Antony Dovgal [Tue, 13 Apr 2010 12:13:24 +0000 (12:13 +0000)]
prepare to re-add newer FPM version
Kalle Sommer Nielsen [Tue, 13 Apr 2010 11:41:40 +0000 (11:41 +0000)]
* Pass TSRMLS_C around pageinfo.c
* Use zend_parse_parameters_none() in pageinfo.c
Kalle Sommer Nielsen [Tue, 13 Apr 2010 11:14:04 +0000 (11:14 +0000)]
PHP_OS is now always WINNT on Windows, since we don't support anything prior to XP SP2
Kalle Sommer Nielsen [Tue, 13 Apr 2010 11:02:15 +0000 (11:02 +0000)]
Remove a couple TSRMLS_FETCH() calls around ext/main/sapi
Ilia Alshanetsky [Mon, 12 Apr 2010 14:05:00 +0000 (14:05 +0000)]
MFB: Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default)
Antony Dovgal [Mon, 12 Apr 2010 11:22:24 +0000 (11:22 +0000)]
add FPM sapi to trunk
Pierre Joye [Mon, 12 Apr 2010 08:40:59 +0000 (08:40 +0000)]
- fix inline doc
Pierre Joye [Mon, 12 Apr 2010 08:25:50 +0000 (08:25 +0000)]
- [doc] add stream_set_read_buffer, equivalent of stream_set_write_buffer for read operations. Fixing possible bad effects while reading devices. full context support is under work.
Kalle Sommer Nielsen [Mon, 12 Apr 2010 07:34:30 +0000 (07:34 +0000)]
Removed y2k_compliance ini option, making it "always" enabled internally
- The only reference to y2k_compliance was in php_std_date(). Browsers thats not compatable have a marketshare of 0.01% if they even are in use today
Kalle Sommer Nielsen [Mon, 12 Apr 2010 07:01:46 +0000 (07:01 +0000)]
NEWS entry for the define_syslog_variables commit
Kalle Sommer Nielsen [Mon, 12 Apr 2010 01:52:55 +0000 (01:52 +0000)]
* Changed the way removed ini directives are shown so its easier to add new ones
* Removed define_syslog_variables and its associated functions
Derick Rethans [Sat, 10 Apr 2010 20:33:41 +0000 (20:33 +0000)]
- Expose date-extension object creation externally.
- Expose DateTime object initialisation externally.
Rob Richards [Fri, 9 Apr 2010 11:34:34 +0000 (11:34 +0000)]
fix bug #50828 (DOMNotation is not subclass of DOMNode)
Antony Dovgal [Thu, 8 Apr 2010 15:27:21 +0000 (15:27 +0000)]
make sure the actual length of the argument passed matches the
length of the argument declared
this fixes things like `php --zend-exten=1` or `php-fpm --fpm-con=conf`
Andrey Hristov [Thu, 8 Apr 2010 13:20:37 +0000 (13:20 +0000)]
Fixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
because on 32bit SIZEOF_LONG is 4 and INT64 from MySQL is 8 everything
was converted to string, even if it was able to put it in a long.
This closes Request #50651 Native type cast returns wrong result
Andrey Hristov [Thu, 8 Apr 2010 13:18:52 +0000 (13:18 +0000)]
Fixing the second test