]> granicus.if.org Git - php/log
php
18 years agoMFH: detect empty mode string and avoid off-by-one
Antony Dovgal [Mon, 26 Jun 2006 21:13:46 +0000 (21:13 +0000)]
MFH: detect empty mode string and avoid off-by-one

18 years agoUpdated protos & vim folding
Hannes Magnusson [Mon, 26 Jun 2006 18:48:56 +0000 (18:48 +0000)]
Updated protos & vim folding

18 years agoMFH: argument info for php_user_filter
Hannes Magnusson [Mon, 26 Jun 2006 17:23:39 +0000 (17:23 +0000)]
MFH: argument info for php_user_filter
Add tests

18 years agoMFH: use the ZEND_ACC_DEPRECATED flag rather than custom warnings
Hannes Magnusson [Mon, 26 Jun 2006 16:33:39 +0000 (16:33 +0000)]
MFH: use the ZEND_ACC_DEPRECATED flag rather than custom warnings

18 years agoMFH: Removed obsolete arginfo include
Hannes Magnusson [Mon, 26 Jun 2006 14:11:17 +0000 (14:11 +0000)]
MFH: Removed obsolete arginfo include

18 years agoAdded SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML()
Hannes Magnusson [Mon, 26 Jun 2006 13:41:52 +0000 (13:41 +0000)]
Added SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML()

18 years agoFixed bug #37862 (Integer pointer comparison to numeric value)
Dmitry Stogov [Mon, 26 Jun 2006 13:23:46 +0000 (13:23 +0000)]
Fixed bug #37862 (Integer pointer comparison to numeric value)

18 years agoMFH: fix sapi_getenv() leak
Rasmus Lerdorf [Mon, 26 Jun 2006 13:15:20 +0000 (13:15 +0000)]
MFH: fix sapi_getenv() leak

18 years agoMFH http_build_query() & parse_url() news
Hannes Magnusson [Sun, 25 Jun 2006 23:22:40 +0000 (23:22 +0000)]
MFH http_build_query() & parse_url() news
# Patch by helgi thormar

18 years agoimprove test file
Antony Dovgal [Sun, 25 Jun 2006 21:21:59 +0000 (21:21 +0000)]
improve test file
don't forget to test invalid parameters etc.

18 years agoAdded image_type_to_extension()
Hannes Magnusson [Sun, 25 Jun 2006 21:12:49 +0000 (21:12 +0000)]
Added image_type_to_extension()
# Was suppost to be in 5.0beta#3... :)

18 years agoWS fix
Hannes Magnusson [Sun, 25 Jun 2006 21:08:28 +0000 (21:08 +0000)]
WS fix

18 years agoMFH: image_type_to_mime_type()
Hannes Magnusson [Sun, 25 Jun 2006 21:06:39 +0000 (21:06 +0000)]
MFH: image_type_to_mime_type()

18 years ago- MFH Fix ReflectionObject::getProperties() + dyn properties
Marcus Boerger [Sat, 24 Jun 2006 18:55:15 +0000 (18:55 +0000)]
- MFH Fix ReflectionObject::getProperties() + dyn properties

18 years agoplug leak
Antony Dovgal [Fri, 23 Jun 2006 13:53:43 +0000 (13:53 +0000)]
plug leak

18 years agoChange E_ERROR to E_RECOVERABLE_ERROR
Ilia Alshanetsky [Fri, 23 Jun 2006 11:37:53 +0000 (11:37 +0000)]
Change E_ERROR to E_RECOVERABLE_ERROR

18 years agoMFH: fix typo and bug #37886
Antony Dovgal [Fri, 23 Jun 2006 08:26:15 +0000 (08:26 +0000)]
MFH: fix typo and bug #37886

18 years ago- use %zu to format size_t
Michael Wallner [Fri, 23 Jun 2006 07:30:26 +0000 (07:30 +0000)]
- use %zu to format size_t

18 years agofix typo
Antony Dovgal [Thu, 22 Jun 2006 21:24:23 +0000 (21:24 +0000)]
fix typo

18 years agoMFH: add wrappers for timelib_day_of_week_ex()
Antony Dovgal [Thu, 22 Jun 2006 21:04:32 +0000 (21:04 +0000)]
MFH: add wrappers for timelib_day_of_week_ex()

18 years agoMFH:
Antony Dovgal [Thu, 22 Jun 2006 18:44:31 +0000 (18:44 +0000)]
MFH:
don't try to parse empty string, return false immediately
(fixes off-by-one)

18 years agoFixed compiler warnings.
Ilia Alshanetsky [Wed, 21 Jun 2006 15:19:23 +0000 (15:19 +0000)]
Fixed compiler warnings.

18 years agoMFH: improve check for stream mode, add tests
Antony Dovgal [Wed, 21 Jun 2006 14:38:28 +0000 (14:38 +0000)]
MFH: improve check for stream mode, add tests

18 years agoMFH: don't try to read or write from/to a stream if it was open in different mode...
Antony Dovgal [Wed, 21 Jun 2006 13:12:37 +0000 (13:12 +0000)]
MFH: don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2)

18 years agoMFH: fix invalid read with bzopen("","") and prevent filename from being empty (which...
Antony Dovgal [Wed, 21 Jun 2006 12:43:27 +0000 (12:43 +0000)]
MFH: fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2)

18 years agoRemoved pointless callbacks.
Ilia Alshanetsky [Tue, 20 Jun 2006 22:39:15 +0000 (22:39 +0000)]
Removed pointless callbacks.

18 years agomake sure the test outputs what we want
Nuno Lopes [Tue, 20 Jun 2006 21:49:16 +0000 (21:49 +0000)]
make sure the test outputs what we want

18 years agoBug fix news...
Hannes Magnusson [Tue, 20 Jun 2006 19:35:52 +0000 (19:35 +0000)]
Bug fix news...

18 years agoRenamed to bug37864.phpt
Hannes Magnusson [Tue, 20 Jun 2006 19:33:31 +0000 (19:33 +0000)]
Renamed to bug37864.phpt

18 years agoMFH
Hannes Magnusson [Tue, 20 Jun 2006 19:32:59 +0000 (19:32 +0000)]
MFH

18 years agodon't leave garbage in tmp dir
Antony Dovgal [Tue, 20 Jun 2006 18:55:46 +0000 (18:55 +0000)]
don't leave garbage in tmp dir

18 years agoMFH: test for file_get_contents leaking on empty file
Hannes Magnusson [Tue, 20 Jun 2006 18:48:56 +0000 (18:48 +0000)]
MFH: test for file_get_contents leaking on empty file

18 years agoMFH: plug memleak
Hannes Magnusson [Tue, 20 Jun 2006 18:09:50 +0000 (18:09 +0000)]
MFH: plug memleak

18 years agoMFH: Missing header include
Hannes Magnusson [Tue, 20 Jun 2006 18:04:25 +0000 (18:04 +0000)]
MFH: Missing header include

18 years agoMFH: init variables
Antony Dovgal [Tue, 20 Jun 2006 13:28:11 +0000 (13:28 +0000)]
MFH: init variables

18 years agoinit vatiables
Antony Dovgal [Tue, 20 Jun 2006 13:26:01 +0000 (13:26 +0000)]
init vatiables

18 years agoMFH: nuke unused variables and init variables when needed
Antony Dovgal [Tue, 20 Jun 2006 13:21:16 +0000 (13:21 +0000)]
MFH: nuke unused variables and init variables when needed

18 years agofix test
Antony Dovgal [Tue, 20 Jun 2006 13:14:29 +0000 (13:14 +0000)]
fix test

18 years agofix test
Antony Dovgal [Tue, 20 Jun 2006 13:06:50 +0000 (13:06 +0000)]
fix test

18 years agoMFH: initialize pointers
Antony Dovgal [Tue, 20 Jun 2006 12:55:26 +0000 (12:55 +0000)]
MFH: initialize pointers

18 years agoAdded missing ifdef block.
Ilia Alshanetsky [Mon, 19 Jun 2006 23:52:39 +0000 (23:52 +0000)]
Added missing ifdef block.

# Thanks Mike

18 years agoMFH: display oci8 version in phpinfo()
Antony Dovgal [Mon, 19 Jun 2006 18:21:28 +0000 (18:21 +0000)]
MFH: display oci8 version in phpinfo()

18 years agoMFH: plug leak in CGI SAPI when running scripts with query string in console
Antony Dovgal [Mon, 19 Jun 2006 17:49:26 +0000 (17:49 +0000)]
MFH: plug leak in CGI SAPI when running scripts with query string in console

18 years agofix tests
Antony Dovgal [Mon, 19 Jun 2006 17:33:44 +0000 (17:33 +0000)]
fix tests

18 years agoBFN
Antony Dovgal [Mon, 19 Jun 2006 16:59:05 +0000 (16:59 +0000)]
BFN

18 years agofix #37848 (ext/odbc compile failure)
Antony Dovgal [Mon, 19 Jun 2006 16:13:15 +0000 (16:13 +0000)]
fix #37848 (ext/odbc compile failure)

18 years ago- Fix Bug #37780 memory leak trying to execute a non existing file (CLI)
Michael Wallner [Mon, 19 Jun 2006 14:52:34 +0000 (14:52 +0000)]
- Fix Bug #37780 memory leak trying to execute a non existing file (CLI)

18 years agoMFH: fix #37807 (segmentation fault during SOAP schema import)
Antony Dovgal [Mon, 19 Jun 2006 11:43:45 +0000 (11:43 +0000)]
MFH: fix #37807 (segmentation fault during SOAP schema import)

18 years agoMFH: add missing ifdef and avoid "unused variable" warning
Antony Dovgal [Mon, 19 Jun 2006 11:39:02 +0000 (11:39 +0000)]
MFH: add missing ifdef and avoid "unused variable" warning

18 years agoAdded posix_initgroups() function.
Ilia Alshanetsky [Mon, 19 Jun 2006 02:19:13 +0000 (02:19 +0000)]
Added posix_initgroups() function.

18 years agoMFH: arg ifno
Hannes Magnusson [Sat, 17 Jun 2006 13:06:06 +0000 (13:06 +0000)]
MFH: arg ifno

18 years agoFix test
Hannes Magnusson [Sat, 17 Jun 2006 12:51:02 +0000 (12:51 +0000)]
Fix test

18 years agoplug memory leak in sapi_putenv, by using setenv(), that doesnt need any malloc
Nuno Lopes [Sat, 17 Jun 2006 11:08:05 +0000 (11:08 +0000)]
plug memory leak in sapi_putenv, by using setenv(), that doesnt need any malloc

18 years agochange the timezone used (per Derick request)
Nuno Lopes [Sat, 17 Jun 2006 10:30:23 +0000 (10:30 +0000)]
change the timezone used (per Derick request)
add one string I missed yesterday. Now every strotime() rule is covered

18 years agonew tests. the .re file coverage increases to 96%. really good :)
Nuno Lopes [Fri, 16 Jun 2006 22:46:57 +0000 (22:46 +0000)]
new tests. the .re file coverage increases to 96%. really good :)

18 years agochanged GINIT definition.
Seiji Masugata [Fri, 16 Jun 2006 16:45:46 +0000 (16:45 +0000)]
changed GINIT definition.

18 years agoMFH: Backported allow_url_include from HEAD. This directive allows
Rasmus Lerdorf [Fri, 16 Jun 2006 14:09:01 +0000 (14:09 +0000)]
MFH: Backported allow_url_include from HEAD.  This directive allows
separate control of URL handling in includes/requires allowing sites to
enable allow_url_fopen without enabling remote includes.

18 years agoMFH: Only care about wrong flex version, when needed.
Stefan Esser [Fri, 16 Jun 2006 08:01:03 +0000 (08:01 +0000)]
MFH: Only care about wrong flex version, when needed.

18 years agoNew crypt() implementation for win32 which is about 10 times faster and has more...
Dmitry Stogov [Fri, 16 Jun 2006 05:57:18 +0000 (05:57 +0000)]
New crypt() implementation for win32 which is about 10 times faster and has  more friendly license.

18 years agoFix build. (gmp_nextprime() was added in PHP 6!)
foobar [Fri, 16 Jun 2006 00:14:35 +0000 (00:14 +0000)]
Fix build. (gmp_nextprime() was added in PHP 6!)

18 years agoMFH: Optimize the other string conversion functions here to just create
Rasmus Lerdorf [Thu, 15 Jun 2006 22:45:30 +0000 (22:45 +0000)]
MFH: Optimize the other string conversion functions here to just create
raw text nodes.

18 years agoMFH:
Rasmus Lerdorf [Thu, 15 Jun 2006 20:49:05 +0000 (20:49 +0000)]
MFH:
I don't think the call to xmlNodeSetContentLen() is needed here and
it is causing performance problems because it tries to parse the blob
and create a subtree.  Because we are escaping the string anyway, we
are never going to get a subtree, but the entity parsing that is done
by xmlNodeSetContentLen() is killing performance on large blobs of
text.  On one recent example it took a couple of minutes to parse
whereas if we just create a text node like this and set the contents
to the raw string it is down to milliseconds.

18 years agoAdded automatic module globals management
Dmitry Stogov [Thu, 15 Jun 2006 18:33:09 +0000 (18:33 +0000)]
Added automatic module globals management

18 years agofix bug #37800: preg_replace() limit parameter odd behaviour
Nuno Lopes [Thu, 15 Jun 2006 15:33:25 +0000 (15:33 +0000)]
fix bug #37800: preg_replace() limit parameter odd behaviour
#this is a regression in PHP_5_2 and HEAD branches only

18 years agoMFH: Revert array type hinting
Hannes Magnusson [Thu, 15 Jun 2006 15:31:54 +0000 (15:31 +0000)]
MFH: Revert array type hinting

18 years agoAdded automatic module globals management
Dmitry Stogov [Thu, 15 Jun 2006 14:06:35 +0000 (14:06 +0000)]
Added automatic module globals management

18 years agoMFH: Added automatic module globals management.
Dmitry Stogov [Thu, 15 Jun 2006 14:03:21 +0000 (14:03 +0000)]
MFH: Added automatic module globals management.

18 years agofix news. gaps left intentionally..
foobar [Thu, 15 Jun 2006 13:07:37 +0000 (13:07 +0000)]
fix news. gaps left intentionally..

18 years agoMFH: argument info..
Hannes Magnusson [Wed, 14 Jun 2006 21:36:10 +0000 (21:36 +0000)]
MFH: argument info..

18 years agofix memory leak uncovered by the pcre_extra.phpt test
Nuno Lopes [Wed, 14 Jun 2006 17:52:56 +0000 (17:52 +0000)]
fix memory leak uncovered by the pcre_extra.phpt test

18 years agomore tests (and fix 2 from yesterday)
Nuno Lopes [Wed, 14 Jun 2006 17:37:53 +0000 (17:37 +0000)]
more tests (and fix 2 from yesterday)

18 years agoremove the pcre_dfa_exec.c file, as it is needed (we dont expose that API)
Nuno Lopes [Wed, 14 Jun 2006 16:26:22 +0000 (16:26 +0000)]
remove the pcre_dfa_exec.c file, as it is needed (we dont expose that API)

18 years agomissing newline
Nuno Lopes [Wed, 14 Jun 2006 16:16:02 +0000 (16:16 +0000)]
missing newline

18 years agoE_ERROR -> E_RECOVERABLE_ERROR
Ilia Alshanetsky [Wed, 14 Jun 2006 16:04:13 +0000 (16:04 +0000)]
E_ERROR -> E_RECOVERABLE_ERROR

18 years agoMFH
Christian Stocker [Wed, 14 Jun 2006 09:42:35 +0000 (09:42 +0000)]
MFH
Fix a segfault, when an unknown type was given and support all known xpath object types

18 years agoalso ignore lcov generated files
Nuno Lopes [Tue, 13 Jun 2006 22:02:57 +0000 (22:02 +0000)]
also ignore lcov generated files

18 years agoadd new tests, increasing coverage by about 10%
Nuno Lopes [Tue, 13 Jun 2006 21:55:38 +0000 (21:55 +0000)]
add new tests, increasing coverage by about 10%

18 years ago- MFH Arginfo fix (Hannes)
Marcus Boerger [Tue, 13 Jun 2006 20:57:35 +0000 (20:57 +0000)]
- MFH Arginfo fix (Hannes)

18 years agoRemoved unused variables.
Ilia Alshanetsky [Tue, 13 Jun 2006 20:19:37 +0000 (20:19 +0000)]
Removed unused variables.

18 years agoRemoved warnings
Dmitry Stogov [Tue, 13 Jun 2006 14:22:46 +0000 (14:22 +0000)]
Removed warnings

18 years agoRemoved warning
Dmitry Stogov [Tue, 13 Jun 2006 13:55:12 +0000 (13:55 +0000)]
Removed warning

18 years agoMFH: Added hook for compile_string()
Stefan Esser [Tue, 13 Jun 2006 12:57:48 +0000 (12:57 +0000)]
MFH: Added hook for compile_string()

18 years agoFixed compiler warning
Ilia Alshanetsky [Mon, 12 Jun 2006 23:28:32 +0000 (23:28 +0000)]
Fixed compiler warning

18 years agoImproved performance of the implode() function on associated arrays by
Ilia Alshanetsky [Sun, 11 Jun 2006 21:55:49 +0000 (21:55 +0000)]
Improved performance of the implode() function on associated arrays by
200-300%.

18 years agoFixed ZTS build
Ilia Alshanetsky [Sun, 11 Jun 2006 20:47:34 +0000 (20:47 +0000)]
Fixed ZTS build

18 years agoMFH: fix typo
Hannes Magnusson [Sun, 11 Jun 2006 20:12:17 +0000 (20:12 +0000)]
MFH: fix typo

18 years agoMFH: argument infos
Hannes Magnusson [Sun, 11 Jun 2006 20:03:05 +0000 (20:03 +0000)]
MFH: argument infos

18 years agoMake zend_print_zval_r_ex() use the write callback function.
Ilia Alshanetsky [Sun, 11 Jun 2006 16:28:24 +0000 (16:28 +0000)]
Make zend_print_zval_r_ex() use the write callback function.

18 years agoFully print array() in phpinfo().
Ilia Alshanetsky [Sun, 11 Jun 2006 16:27:16 +0000 (16:27 +0000)]
Fully print array() in phpinfo().

18 years agoMFH: arginfo, protos, vim folding
Hannes Magnusson [Sun, 11 Jun 2006 01:42:17 +0000 (01:42 +0000)]
MFH: arginfo, protos, vim folding

18 years agoMFH: fix test
Hannes Magnusson [Sun, 11 Jun 2006 00:18:30 +0000 (00:18 +0000)]
MFH: fix test

18 years agoImproved performance of str_replace() when doing 1 char to 1 char or 1 char
Ilia Alshanetsky [Sat, 10 Jun 2006 15:29:06 +0000 (15:29 +0000)]
Improved performance of str_replace() when doing 1 char to 1 char or 1 char
to many chars replacement by 30-40%.

18 years agoMFH
Hannes Magnusson [Sat, 10 Jun 2006 00:40:57 +0000 (00:40 +0000)]
MFH
- Created new abstract class, ReflectionFunctionAbstract implementing Reflector
- Moved all methods from ReflectionFunction (except export, invoke & invokeArgs)
- ReflectionFunction now inherits everything from ReflectionFunctionAbstract
    and implements its own export, invoke & invokeArgs methods
- ReflectionMethod now extends ReflectionFunctionAbstract and implements
    its own export, invoke & invokeArgs methods.
- Removed stdClass typehint from ReflectionClass::isInstance
- Removed stdClass typehint from ReflectionClass::set/getValue

18 years agoMFH: Patch from Nuno
Rasmus Lerdorf [Fri, 9 Jun 2006 23:47:10 +0000 (23:47 +0000)]
MFH: Patch from Nuno

18 years ago- sync with apache2handler
Michael Wallner [Fri, 9 Jun 2006 16:29:35 +0000 (16:29 +0000)]
- sync with apache2handler

18 years agoBFN: - Fixed bug #37720 (merge_php_config scrambles values). (Mike,
Michael Wallner [Fri, 9 Jun 2006 15:17:39 +0000 (15:17 +0000)]
BFN: - Fixed bug #37720 (merge_php_config scrambles values). (Mike,
       pumuckel at metropolis dot de)

18 years agoMFH: fix bug #37720 (merge_php_config scrambles values)
Michael Wallner [Fri, 9 Jun 2006 15:13:39 +0000 (15:13 +0000)]
MFH: fix bug #37720 (merge_php_config scrambles values)

18 years agoUpdate credits
Ilia Alshanetsky [Thu, 8 Jun 2006 22:04:52 +0000 (22:04 +0000)]
Update credits

18 years ago- Fixed bug #37747 (strtotime segfaults when given "nextyear").
Derick Rethans [Thu, 8 Jun 2006 16:27:05 +0000 (16:27 +0000)]
- Fixed bug #37747 (strtotime segfaults when given "nextyear").

18 years agoProper fix for bug #37707 ("clone $x" must call __clone() enven if result value is...
Dmitry Stogov [Thu, 8 Jun 2006 08:56:27 +0000 (08:56 +0000)]
Proper fix for bug #37707 ("clone $x" must call __clone() enven if result value is not used)