]> granicus.if.org Git - php/log
php
14 years agoIt is possible that change user tries an user who has old password.
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.

14 years ago- Improve test
Felipe Pena [Tue, 20 Apr 2010 16:45:46 +0000 (16:45 +0000)]
- Improve test

14 years ago- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML)
Felipe Pena [Tue, 20 Apr 2010 16:24:21 +0000 (16:24 +0000)]
- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML)

14 years ago- Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
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

14 years agoFixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled)
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)

14 years agoWS
Johannes Schlüter [Tue, 20 Apr 2010 15:29:03 +0000 (15:29 +0000)]
WS

14 years ago- Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter)
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)

14 years ago- Fix copyrights
Felipe Pena [Tue, 20 Apr 2010 13:50:34 +0000 (13:50 +0000)]
- Fix copyrights

14 years agofix ZTS build
Antony Dovgal [Tue, 20 Apr 2010 12:53:43 +0000 (12:53 +0000)]
fix ZTS build

14 years agofix build
Antony Dovgal [Tue, 20 Apr 2010 12:50:02 +0000 (12:50 +0000)]
fix build

14 years agoFixed bug #48781 (Cyclical garbage collector memory leak)
Dmitry Stogov [Tue, 20 Apr 2010 12:30:35 +0000 (12:30 +0000)]
Fixed bug #48781 (Cyclical garbage collector memory leak)

14 years ago- Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
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

14 years agoUpdated version numbers
Dmitry Stogov [Tue, 20 Apr 2010 11:17:25 +0000 (11:17 +0000)]
Updated version numbers

14 years agoAdded a number of small performance tweaks and optimizations
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

14 years agoregenerated files
Dmitry Stogov [Tue, 20 Apr 2010 11:14:07 +0000 (11:14 +0000)]
regenerated files

14 years agoAdded concept of interned strings. All strings constants known at compile time are...
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.

14 years agoAdded concept of interned strings. All strings constants known at compile time are...
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.

14 years agoChanged the structure of op_array.opcodes. The constant values are moved from opcode...
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

14 years agoAdded an optimization which saves memory and emalloc/efree calls for empty HashTables
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

14 years agoAdded a micro benchmark which measures the performance of some primitive operations...
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.

14 years agofix infinite loop in the test
Antony Dovgal [Tue, 20 Apr 2010 10:04:26 +0000 (10:04 +0000)]
fix infinite loop in the test

14 years agoAdded explanatory comments to filter_input and filter_input_array to document
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).

14 years agofix 64-bit integer overflow in mhash_keygen_s2k
Stanislav Malyshev [Tue, 20 Apr 2010 00:45:07 +0000 (00:45 +0000)]
fix 64-bit integer overflow in mhash_keygen_s2k

14 years agotrue/false was not a valid value for boolean directives
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

14 years agorestore $this support for closures to its former glory
Stanislav Malyshev [Mon, 19 Apr 2010 19:45:03 +0000 (19:45 +0000)]
restore $this support for closures to its former glory

14 years agocorrect path in the man page
Jérôme Loyet [Mon, 19 Apr 2010 18:02:36 +0000 (18:02 +0000)]
correct path in the man page

14 years ago- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)
Felipe Pena [Sun, 18 Apr 2010 18:07:27 +0000 (18:07 +0000)]
- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined)

14 years agofix non-ts build
Stanislav Malyshev [Fri, 16 Apr 2010 23:36:53 +0000 (23:36 +0000)]
fix non-ts build

14 years agoFixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name)
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)

14 years agoAdded traits test cases. No engine changes for now. [TRAITS]
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.

14 years agoFix php.ini comment typo
Christopher Jones [Thu, 15 Apr 2010 19:22:01 +0000 (19:22 +0000)]
Fix php.ini comment typo

14 years agoRemoved register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session)
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)

14 years agoLast batch of int/uint comparison fixes
Andrey Hristov [Thu, 15 Apr 2010 15:58:26 +0000 (15:58 +0000)]
Last batch of int/uint comparison fixes

14 years agoMore int/uint comparison warning fixes
Andrey Hristov [Thu, 15 Apr 2010 15:53:58 +0000 (15:53 +0000)]
More int/uint comparison warning fixes

14 years agoFix some int/uint comparison warnings
Andrey Hristov [Thu, 15 Apr 2010 15:28:00 +0000 (15:28 +0000)]
Fix some int/uint comparison warnings

14 years agoRemove unused file
Andrey Hristov [Thu, 15 Apr 2010 15:22:56 +0000 (15:22 +0000)]
Remove unused file

14 years agomore WS
Andrey Hristov [Thu, 15 Apr 2010 15:16:29 +0000 (15:16 +0000)]
more WS

14 years agoCS + WS changes
Andrey Hristov [Thu, 15 Apr 2010 12:55:04 +0000 (12:55 +0000)]
CS + WS changes

14 years agofinal fix for long opts in getopt()
Antony Dovgal [Thu, 15 Apr 2010 11:50:43 +0000 (11:50 +0000)]
final fix for long opts in getopt()

14 years agoBump PHP_API_VERSION
Kalle Sommer Nielsen [Thu, 15 Apr 2010 11:18:28 +0000 (11:18 +0000)]
Bump PHP_API_VERSION

14 years agoFix for bug#49234 method not found ssl_set
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)

14 years agodiscard first TWO symbols of a long argument
Antony Dovgal [Wed, 14 Apr 2010 15:49:38 +0000 (15:49 +0000)]
discard first TWO symbols of a long argument

14 years ago- #35638, add udate to imap_fetch_overview
Pierre Joye [Wed, 14 Apr 2010 09:45:37 +0000 (09:45 +0000)]
- #35638, add udate to imap_fetch_overview

14 years agosimplify configure check for nanosleep()
Antony Dovgal [Tue, 13 Apr 2010 12:41:46 +0000 (12:41 +0000)]
simplify configure check for nanosleep()

14 years agouse new type + const static
Antony Dovgal [Tue, 13 Apr 2010 12:16:26 +0000 (12:16 +0000)]
use new type + const static

14 years agore-add updated FPM
Antony Dovgal [Tue, 13 Apr 2010 12:13:46 +0000 (12:13 +0000)]
re-add updated FPM

14 years agoprepare to re-add newer FPM version
Antony Dovgal [Tue, 13 Apr 2010 12:13:24 +0000 (12:13 +0000)]
prepare to re-add newer FPM version

14 years ago* Pass TSRMLS_C around pageinfo.c
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

14 years agoPHP_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:14:04 +0000 (11:14 +0000)]
PHP_OS is now always WINNT on Windows, since we don't support anything prior to XP SP2

14 years agoRemove a couple TSRMLS_FETCH() calls around ext/main/sapi
Kalle Sommer Nielsen [Tue, 13 Apr 2010 11:02:15 +0000 (11:02 +0000)]
Remove a couple TSRMLS_FETCH() calls around ext/main/sapi

14 years agoMFB: Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default)
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)

14 years agoadd FPM sapi to trunk
Antony Dovgal [Mon, 12 Apr 2010 11:22:24 +0000 (11:22 +0000)]
add FPM sapi to trunk

14 years ago- fix inline doc
Pierre Joye [Mon, 12 Apr 2010 08:40:59 +0000 (08:40 +0000)]
- fix inline doc

14 years ago- [doc] add stream_set_read_buffer, equivalent of stream_set_write_buffer for read...
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.

14 years agoRemoved y2k_compliance ini option, making it "always" enabled internally
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

14 years agoNEWS entry for the define_syslog_variables commit
Kalle Sommer Nielsen [Mon, 12 Apr 2010 07:01:46 +0000 (07:01 +0000)]
NEWS entry for the define_syslog_variables commit

14 years ago* Changed the way removed ini directives are shown so its easier to add new ones
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

14 years ago- Expose date-extension object creation externally.
Derick Rethans [Sat, 10 Apr 2010 20:33:41 +0000 (20:33 +0000)]
- Expose date-extension object creation externally.
- Expose DateTime object initialisation externally.

14 years agofix bug #50828 (DOMNotation is not subclass of DOMNode)
Rob Richards [Fri, 9 Apr 2010 11:34:34 +0000 (11:34 +0000)]
fix bug #50828 (DOMNotation is not subclass of DOMNode)

14 years agomake sure the actual length of the argument passed matches the
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`

14 years agoFixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
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

14 years agoFixing the second test
Andrey Hristov [Thu, 8 Apr 2010 13:18:52 +0000 (13:18 +0000)]
Fixing the second test

14 years agoone more fix and both work with libmysql and mysqlnd
Andrey Hristov [Thu, 8 Apr 2010 10:53:38 +0000 (10:53 +0000)]
one more fix and both work with libmysql and mysqlnd

14 years agoFix for bug #51026 ssl not working
Andrey Hristov [Thu, 8 Apr 2010 09:01:21 +0000 (09:01 +0000)]
Fix for bug #51026 ssl not working

14 years ago- WS
Pierre Joye [Thu, 8 Apr 2010 07:55:35 +0000 (07:55 +0000)]
- WS

14 years ago- WS
Pierre Joye [Thu, 8 Apr 2010 07:50:05 +0000 (07:50 +0000)]
- WS

14 years agoAnother fix for the 16 chars user limitation of MySQL
Andrey Hristov [Wed, 7 Apr 2010 18:28:46 +0000 (18:28 +0000)]
Another fix for the 16 chars user limitation of MySQL

14 years agoFix test. The usernames in the server are 16 chars long
Andrey Hristov [Wed, 7 Apr 2010 18:05:42 +0000 (18:05 +0000)]
Fix test. The usernames in the server are 16 chars long

14 years agoFix the Windows build (void* arithmetic) as well as --disable-zlib
Andrey Hristov [Tue, 6 Apr 2010 18:14:23 +0000 (18:14 +0000)]
Fix the Windows build (void* arithmetic) as well as --disable-zlib
build.

14 years agoStricly C
Andrey Hristov [Tue, 6 Apr 2010 14:33:55 +0000 (14:33 +0000)]
Stricly C

14 years agofix typo
Antony Dovgal [Tue, 6 Apr 2010 13:42:21 +0000 (13:42 +0000)]
fix typo

14 years agoRecommit with an Windows build fix:
Andrey Hristov [Tue, 6 Apr 2010 13:28:23 +0000 (13:28 +0000)]
Recommit with an Windows build fix:
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
  by it.
- add a mode to track memory usage (malloc/free)

14 years agochange namespaced ctors - only __construct would work
Stanislav Malyshev [Sun, 4 Apr 2010 23:28:20 +0000 (23:28 +0000)]
change namespaced ctors - only __construct would work

14 years ago- Fix tests
Felipe Pena [Sun, 4 Apr 2010 17:21:27 +0000 (17:21 +0000)]
- Fix tests

14 years ago- Fix test
Felipe Pena [Sun, 4 Apr 2010 16:59:20 +0000 (16:59 +0000)]
- Fix test

14 years ago- Fixed tests
Felipe Pena [Sat, 3 Apr 2010 15:42:42 +0000 (15:42 +0000)]
- Fixed tests

14 years ago- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)
Felipe Pena [Fri, 2 Apr 2010 21:44:09 +0000 (21:44 +0000)]
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)

14 years agofix bug #48983 (DomDocument : saveHTMLFile wrong charset)
Rob Richards [Fri, 2 Apr 2010 20:08:15 +0000 (20:08 +0000)]
fix bug #48983 (DomDocument : saveHTMLFile wrong charset)

14 years agoFix tests
Rasmus Lerdorf [Fri, 2 Apr 2010 18:27:48 +0000 (18:27 +0000)]
Fix tests

14 years agoUpdate the FILTER_VALIDATE_EMAIL filter to fix bug #49576
Rasmus Lerdorf [Fri, 2 Apr 2010 17:56:37 +0000 (17:56 +0000)]
Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576

14 years agore-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
Rob Richards [Fri, 2 Apr 2010 16:15:06 +0000 (16:15 +0000)]
re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
add test
BFN

14 years agofix #49192 - crash in GC when get_properties handler returns null
Stanislav Malyshev [Thu, 1 Apr 2010 22:54:03 +0000 (22:54 +0000)]
fix #49192 - crash in GC when get_properties handler returns null

14 years agofix #51394 - try harder to find script lineno when exception happens
Stanislav Malyshev [Thu, 1 Apr 2010 19:36:56 +0000 (19:36 +0000)]
fix #51394 - try harder to find script lineno when exception happens

14 years agoAdd new full_special_chars filter to tests
Rasmus Lerdorf [Thu, 1 Apr 2010 18:04:57 +0000 (18:04 +0000)]
Add new full_special_chars filter to tests

14 years agoFix inconsistencies
Andrey Hristov [Thu, 1 Apr 2010 13:26:41 +0000 (13:26 +0000)]
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
  by it.
- add a mode to track memory usage (malloc/free)

14 years agoBetter fix for bug #51347 mysqli_close / connection memory leak
Andrey Hristov [Thu, 1 Apr 2010 12:46:21 +0000 (12:46 +0000)]
Better fix for bug #51347 mysqli_close / connection memory leak

14 years agoOn beginTransaction() reset error state
Ilia Alshanetsky [Thu, 1 Apr 2010 12:08:55 +0000 (12:08 +0000)]
On beginTransaction() reset error state

14 years agoFixed bug #51347 mysqli_close / connection memory leak
Andrey Hristov [Thu, 1 Apr 2010 11:50:24 +0000 (11:50 +0000)]
Fixed bug #51347 mysqli_close / connection memory leak
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().

14 years ago- fix build
Pierre Joye [Thu, 1 Apr 2010 10:34:05 +0000 (10:34 +0000)]
- fix build

14 years agoFix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'
Rasmus Lerdorf [Wed, 31 Mar 2010 23:56:30 +0000 (23:56 +0000)]
Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'

14 years agoMoved to 5.3
Rasmus Lerdorf [Wed, 31 Mar 2010 23:01:38 +0000 (23:01 +0000)]
Moved to 5.3

14 years agoAdded the full htmlspecialchars() functionality which includes utf-8
Rasmus Lerdorf [Wed, 31 Mar 2010 21:50:36 +0000 (21:50 +0000)]
Added the full htmlspecialchars() functionality which includes utf-8
validation as a default filter.

14 years agoSet session.entropy_file to /dev/urandom or /dev/arandom by
Rasmus Lerdorf [Wed, 31 Mar 2010 18:03:17 +0000 (18:03 +0000)]
Set session.entropy_file to /dev/urandom or /dev/arandom by
default if present at compile-time.  Addresses part of bug #51436

14 years agoAdd some const declarations, makes C++ extension writers happy
Johannes Schlüter [Tue, 30 Mar 2010 23:14:19 +0000 (23:14 +0000)]
Add some const declarations, makes C++ extension writers happy

14 years agoRemove main/php3_compat.h, for that a few references to `function_entry` have
Johannes Schlüter [Tue, 30 Mar 2010 23:03:02 +0000 (23:03 +0000)]
Remove main/php3_compat.h, for that a few references to `function_entry` have
to be replaced by `zend_function_entry`.

14 years agoFix protos
Johannes Schlüter [Tue, 30 Mar 2010 22:36:17 +0000 (22:36 +0000)]
Fix protos

14 years agoAdd ReflectionZendExtension class and --rz option to CLI
Johannes Schlüter [Tue, 30 Mar 2010 22:35:23 +0000 (22:35 +0000)]
Add ReflectionZendExtension class and --rz option to CLI

14 years agoIt's 2010 already
Johannes Schlüter [Tue, 30 Mar 2010 21:09:07 +0000 (21:09 +0000)]
It's 2010 already

14 years agoFix folding
Johannes Schlüter [Tue, 30 Mar 2010 21:04:28 +0000 (21:04 +0000)]
Fix folding

14 years agoUse php_error_docref instead of zend_error
Johannes Schlüter [Tue, 30 Mar 2010 21:02:32 +0000 (21:02 +0000)]
Use php_error_docref instead of zend_error