]> granicus.if.org Git - php/log
php
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)

18 years agoWrap "wrong" unreachable code with "#if 0"
Dmitry Stogov [Thu, 8 Jun 2006 08:37:51 +0000 (08:37 +0000)]
Wrap "wrong" unreachable code with "#if 0"

18 years ago- MFH Add arginfo (hannes)
Marcus Boerger [Wed, 7 Jun 2006 22:39:22 +0000 (22:39 +0000)]
- MFH Add arginfo (hannes)

18 years agoPut the TODO back
Rasmus Lerdorf [Wed, 7 Jun 2006 21:14:04 +0000 (21:14 +0000)]
Put the TODO back

18 years agoGet rid of useless function calls
Rasmus Lerdorf [Wed, 7 Jun 2006 21:09:52 +0000 (21:09 +0000)]
Get rid of useless function calls

18 years agoBug fixing news
Ilia Alshanetsky [Wed, 7 Jun 2006 13:44:08 +0000 (13:44 +0000)]
Bug fixing news

18 years agoFixed bug #37707 clone without assigning leaks memory
Ilia Alshanetsky [Wed, 7 Jun 2006 13:41:49 +0000 (13:41 +0000)]
Fixed bug #37707 clone without assigning leaks memory

# Based on a patch by Nuno

18 years agoMFH:
Antony Dovgal [Wed, 7 Jun 2006 13:36:51 +0000 (13:36 +0000)]
MFH:
fix Unicode LOB problems using callbacks to read LOBs
using chunk_size*X buffer should speed up LOB reading a bit

many thanks to Massimo Squillace <msquillace at sogei dot it> for the patch.

18 years ago- MFH iterator_apply()
Marcus Boerger [Wed, 7 Jun 2006 09:44:42 +0000 (09:44 +0000)]
- MFH iterator_apply()

18 years ago- MFH zend_fcall_info_*() and parameter parsing option 'f'
Marcus Boerger [Wed, 7 Jun 2006 09:43:54 +0000 (09:43 +0000)]
- MFH zend_fcall_info_*() and parameter parsing option 'f'
# Right now i see this as the best option but we might shuffle code around
# later if someone comes up with a better solution.

18 years ago- MFH Add ReflectionClass::getInterfaceNames()
Marcus Boerger [Wed, 7 Jun 2006 09:26:11 +0000 (09:26 +0000)]
- MFH Add ReflectionClass::getInterfaceNames()

18 years ago- Regenerated after zend_vm_def.h change
Marcus Boerger [Wed, 7 Jun 2006 09:22:08 +0000 (09:22 +0000)]
- Regenerated after zend_vm_def.h change

18 years ago- MFH Fix issue with interfaces being inherited multiple times
Marcus Boerger [Wed, 7 Jun 2006 09:21:06 +0000 (09:21 +0000)]
- MFH Fix issue with interfaces being inherited multiple times

18 years agoFixed bug #37709 (Possible crash in PDO::errorCode()).
Ilia Alshanetsky [Wed, 7 Jun 2006 03:33:16 +0000 (03:33 +0000)]
Fixed bug #37709 (Possible crash in PDO::errorCode()).

18 years agoyet another dummy clone_obj handler to fix problems created by ze1 compat mode
Antony Dovgal [Tue, 6 Jun 2006 22:05:56 +0000 (22:05 +0000)]
yet another dummy clone_obj handler to fix problems created by ze1 compat mode

18 years agoimplement a dummy clone_obj handler for ze1 compat mode
Antony Dovgal [Tue, 6 Jun 2006 21:44:34 +0000 (21:44 +0000)]
implement a dummy clone_obj handler for ze1 compat mode
(fixes segfault on every XMLReader instantiation)

18 years ago- only try to fetch stream context options if context is set
Michael Wallner [Tue, 6 Jun 2006 21:38:03 +0000 (21:38 +0000)]
- only try to fetch stream context options if context is set

18 years agoplug a leak in ext/spl/tests/iterator_047.phpt
Antony Dovgal [Tue, 6 Jun 2006 20:11:35 +0000 (20:11 +0000)]
plug a leak in ext/spl/tests/iterator_047.phpt

18 years agorevert by Andi's request
Antony Dovgal [Tue, 6 Jun 2006 14:17:21 +0000 (14:17 +0000)]
revert by Andi's request

18 years agoMFH: don't leak when decoding failed
Antony Dovgal [Tue, 6 Jun 2006 14:09:12 +0000 (14:09 +0000)]
MFH: don't leak when decoding failed

18 years agonuke unused call
Rob Richards [Tue, 6 Jun 2006 12:08:11 +0000 (12:08 +0000)]
nuke unused call

18 years agorestore missing ze1 compat code
Rob Richards [Tue, 6 Jun 2006 12:05:30 +0000 (12:05 +0000)]
restore missing ze1 compat code

18 years agofix test
Antony Dovgal [Tue, 6 Jun 2006 11:33:59 +0000 (11:33 +0000)]
fix test

18 years agoMFH: do not allow to implement the same interface twice
Antony Dovgal [Tue, 6 Jun 2006 10:03:01 +0000 (10:03 +0000)]
MFH: do not allow to implement the same interface twice
add tests