]> granicus.if.org Git - php/log
php
18 years agoI don't think the call to xmlNodeSetContentLen() is needed here and
Rasmus Lerdorf [Thu, 15 Jun 2006 18:03:30 +0000 (18:03 +0000)]
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.  As far as I can tell
all the tests pass with this patch.

18 years agoRename to str_transliterate().
Andrei Zmievski [Thu, 15 Jun 2006 17:37:48 +0000 (17:37 +0000)]
Rename to str_transliterate().

18 years agoAdd array type hinting
Hannes Magnusson [Thu, 15 Jun 2006 16:25:12 +0000 (16:25 +0000)]
Add array type hinting
Remove unnecessary array checkes

18 years agochanged GINIT definition.
Seiji Masugata [Thu, 15 Jun 2006 15:44:05 +0000 (15:44 +0000)]
changed GINIT definition.

18 years agoMFB: fix bug #37800
Nuno Lopes [Thu, 15 Jun 2006 15:35:50 +0000 (15:35 +0000)]
MFB: fix bug #37800

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

18 years agoFixed ZTS build
Dmitry Stogov [Thu, 15 Jun 2006 10:03:52 +0000 (10:03 +0000)]
Fixed ZTS build

18 years agoAdded arg info
Hannes Magnusson [Wed, 14 Jun 2006 21:29:22 +0000 (21:29 +0000)]
Added arg info
Fixed protos

18 years agoFixed test
Hannes Magnusson [Wed, 14 Jun 2006 19:47:30 +0000 (19:47 +0000)]
Fixed test

18 years agoMFB
Nuno Lopes [Wed, 14 Jun 2006 18:07:45 +0000 (18:07 +0000)]
MFB

18 years agoMFB: fix mem leak
Nuno Lopes [Wed, 14 Jun 2006 18:04:01 +0000 (18:04 +0000)]
MFB: fix mem leak

18 years agoMFB: remove pcre_dfa_exec.c
Nuno Lopes [Wed, 14 Jun 2006 16:28:16 +0000 (16:28 +0000)]
MFB: remove pcre_dfa_exec.c

18 years agoMFB
Nuno Lopes [Wed, 14 Jun 2006 16:16:42 +0000 (16:16 +0000)]
MFB

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

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

18 years agoFixed compilation (automatic module globals management).
Dmitry Stogov [Wed, 14 Jun 2006 05:51:16 +0000 (05:51 +0000)]
Fixed compilation (automatic module globals management).

18 years agotransliterate()
Andrei Zmievski [Tue, 13 Jun 2006 23:46:04 +0000 (23:46 +0000)]
transliterate()

18 years agoMFB
Nuno Lopes [Tue, 13 Jun 2006 22:05:26 +0000 (22:05 +0000)]
MFB

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

18 years agoMFB: Removed unused variables.
Ilia Alshanetsky [Tue, 13 Jun 2006 20:20:03 +0000 (20:20 +0000)]
MFB: Removed unused variables.

18 years agoMove GINIT definition above re-definition of iconv. Gah.
Andrei Zmievski [Tue, 13 Jun 2006 15:57:46 +0000 (15:57 +0000)]
Move GINIT definition above re-definition of iconv. Gah.

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

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

18 years agoAdded automatic module globals management
Dmitry Stogov [Tue, 13 Jun 2006 13:12:20 +0000 (13:12 +0000)]
Added automatic module globals management

18 years agoAdded automatic module globals management.
Dmitry Stogov [Tue, 13 Jun 2006 13:11:42 +0000 (13:11 +0000)]
Added automatic module globals management.

18 years agoAdded hook for compile_string()
Stefan Esser [Tue, 13 Jun 2006 12:56:20 +0000 (12:56 +0000)]
Added hook for compile_string()

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

18 years ago- Fix memleaks (by nuno)
Marcus Boerger [Mon, 12 Jun 2006 22:48:46 +0000 (22:48 +0000)]
- Fix memleaks (by nuno)

18 years ago- don't use anonymous union
Michael Wallner [Mon, 12 Jun 2006 18:18:39 +0000 (18:18 +0000)]
- don't use anonymous union

18 years agoBe more explicit.
Andrei Zmievski [Mon, 12 Jun 2006 17:06:39 +0000 (17:06 +0000)]
Be more explicit.

18 years agoOnly display visibility for methods
Hannes Magnusson [Sun, 11 Jun 2006 23:46:53 +0000 (23:46 +0000)]
Only display visibility for methods

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

18 years agoNuke unused var
Hannes Magnusson [Sun, 11 Jun 2006 20:33:29 +0000 (20:33 +0000)]
Nuke unused var

18 years agoFix typo
Hannes Magnusson [Sun, 11 Jun 2006 20:11:52 +0000 (20:11 +0000)]
Fix typo

18 years agoAdded argument info
Hannes Magnusson [Sun, 11 Jun 2006 19:59:53 +0000 (19:59 +0000)]
Added argument info
Fixed protos & vim folding

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

18 years agoFixed tests in unicode mode
Hannes Magnusson [Sun, 11 Jun 2006 00:16:04 +0000 (00:16 +0000)]
Fixed tests in unicode mode

18 years agoFix test
Hannes Magnusson [Sat, 10 Jun 2006 23:53:14 +0000 (23:53 +0000)]
Fix test

18 years agoAdded argument info
Hannes Magnusson [Sat, 10 Jun 2006 22:59:40 +0000 (22:59 +0000)]
Added argument info
Fixed protos
Fixed vim folding

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

18 years agoFixed bug #37764
Hannes Magnusson [Sat, 10 Jun 2006 00:28:28 +0000 (00:28 +0000)]
Fixed bug #37764
- 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 agoPatch from Nuno
Rasmus Lerdorf [Fri, 9 Jun 2006 23:46:43 +0000 (23:46 +0000)]
Patch from Nuno

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

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

18 years ago- MF52: Fixed bug #37747 (strtotime segfaults when given "nextyear").
Derick Rethans [Thu, 8 Jun 2006 16:30:37 +0000 (16:30 +0000)]
- MF52: 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:47 +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:38:11 +0000 (08:38 +0000)]
Wrap "wrong" unreachable code with "#if 0"

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

18 years agoRemove useless RINIT/RSHUTDOWN calls
Rasmus Lerdorf [Wed, 7 Jun 2006 21:13:33 +0000 (21:13 +0000)]
Remove useless RINIT/RSHUTDOWN calls

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

18 years agohappy birthday commit, yay =)
Antony Dovgal [Wed, 7 Jun 2006 13:36:19 +0000 (13:36 +0000)]
happy birthday commit, yay =)
this patch should fix Unicode LOB problems using callbacks to read LOBs
the patch also includes an optimization: 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- Regenerated after zend_vm_def.h change
Marcus Boerger [Wed, 7 Jun 2006 09:25:04 +0000 (09:25 +0000)]
- Regenerated after zend_vm_def.h change

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

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

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

18 years agoChangeLog update
<changelog@php.net> [Wed, 7 Jun 2006 05:32:04 +0000 (05:32 +0000)]
ChangeLog update

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

18 years ago- fix SEGV in php_output_handler_started()
Michael Wallner [Tue, 6 Jun 2006 22:13:23 +0000 (22:13 +0000)]
- fix SEGV in php_output_handler_started()

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

18 years agoMFB: plug a leak
Antony Dovgal [Tue, 6 Jun 2006 20:12:46 +0000 (20:12 +0000)]
MFB: plug a leak

18 years agothis function also exists in 5.2, no need for this news entry in HEAD
Antony Dovgal [Tue, 6 Jun 2006 20:08:58 +0000 (20:08 +0000)]
this function also exists in 5.2, no need for this news entry in HEAD

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

18 years agodon't leak when decoding failed
Antony Dovgal [Tue, 6 Jun 2006 14:08:47 +0000 (14:08 +0000)]
don't leak when decoding failed

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

18 years ago- fix regression with bug #22690 (ob_start() with create_function() output handler)
Michael Wallner [Tue, 6 Jun 2006 11:08:45 +0000 (11:08 +0000)]
- fix regression with bug #22690 (ob_start() with create_function() output handler)

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

18 years agoChangeLog update
<changelog@php.net> [Tue, 6 Jun 2006 05:31:56 +0000 (05:31 +0000)]
ChangeLog update

18 years agoMFB: Fixed bug #37705 (Semaphore constants not available).
Ilia Alshanetsky [Mon, 5 Jun 2006 22:52:27 +0000 (22:52 +0000)]
MFB: Fixed bug #37705 (Semaphore constants not available).

18 years agono need to check if non-existing include_path complies with open_basedir setting
Antony Dovgal [Mon, 5 Jun 2006 22:39:10 +0000 (22:39 +0000)]
no need to check if non-existing include_path complies with open_basedir setting
the only result we can get is segfault

18 years agoMFB
Edin Kadribasic [Mon, 5 Jun 2006 22:23:39 +0000 (22:23 +0000)]
MFB

18 years ago- Make this compatible with 5.0/1 again
Marcus Boerger [Mon, 5 Jun 2006 12:20:08 +0000 (12:20 +0000)]
- Make this compatible with 5.0/1 again

18 years agoadd new changelog entries
Antony Dovgal [Mon, 5 Jun 2006 10:02:45 +0000 (10:02 +0000)]
add new changelog entries

18 years agofix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot...
Antony Dovgal [Mon, 5 Jun 2006 07:34:00 +0000 (07:34 +0000)]
fix OCIPasswordChange() parameters (patch by pholdaway at technocom-wireless dot com)
prevent username. password and new password from being empty

18 years agoChangeLog update
<changelog@php.net> [Mon, 5 Jun 2006 05:31:56 +0000 (05:31 +0000)]
ChangeLog update

18 years agoMFB: Fixed bug #37671 (MySQLi extension fails to recognize BIT column).
Ilia Alshanetsky [Sun, 4 Jun 2006 14:57:06 +0000 (14:57 +0000)]
MFB: Fixed bug #37671 (MySQLi extension fails to recognize BIT column).

18 years ago- Use engine call to register interfaces (steph)
Marcus Boerger [Sun, 4 Jun 2006 10:31:58 +0000 (10:31 +0000)]
- Use engine call to register interfaces (steph)

18 years ago- Fix function flag check
Marcus Boerger [Sun, 4 Jun 2006 10:23:25 +0000 (10:23 +0000)]
- Fix function flag check

18 years ago- Use engine call to register interfaces (steph)
Marcus Boerger [Sun, 4 Jun 2006 10:11:48 +0000 (10:11 +0000)]
- Use engine call to register interfaces (steph)

18 years ago- fix output handler seeing buffered data when it gets discarded
Michael Wallner [Sun, 4 Jun 2006 10:01:58 +0000 (10:01 +0000)]
- fix output handler seeing buffered data when it gets discarded
- add test

18 years agoChangeLog update
<changelog@php.net> [Sun, 4 Jun 2006 05:31:56 +0000 (05:31 +0000)]
ChangeLog update

18 years ago- Removed useless -g command line option from CGI and CLI
Johannes Schlüter [Sat, 3 Jun 2006 22:00:30 +0000 (22:00 +0000)]
- Removed useless -g command line option from CGI and CLI
- Fixed conflicting behaviour if -B and -a are set with CLI
- Fixed handling of auto_prepend and exceptions in readline-a-mode

18 years agoMFB
Andrei Zmievski [Sat, 3 Jun 2006 18:58:40 +0000 (18:58 +0000)]
MFB

18 years ago- remove obsolete cruft
Michael Wallner [Sat, 3 Jun 2006 11:51:35 +0000 (11:51 +0000)]
- remove obsolete cruft

18 years ago- Revert - Needs further discussing
Marcus Boerger [Sat, 3 Jun 2006 11:41:29 +0000 (11:41 +0000)]
- Revert - Needs further discussing

18 years ago- update TS macro usage
Michael Wallner [Sat, 3 Jun 2006 11:22:59 +0000 (11:22 +0000)]
- update TS macro usage

18 years ago- explicit usage of TS macros
Michael Wallner [Sat, 3 Jun 2006 11:19:44 +0000 (11:19 +0000)]
- explicit usage of TS macros
# this could have been raised a lot earlier

18 years ago- Printable is supposed to return nativ/unicode depending on ini setting
Marcus Boerger [Sat, 3 Jun 2006 11:01:40 +0000 (11:01 +0000)]
- Printable is supposed to return nativ/unicode depending on ini setting

18 years agoChangeLog update
<changelog@php.net> [Sat, 3 Jun 2006 05:31:59 +0000 (05:31 +0000)]
ChangeLog update

18 years ago- add simple unicode test
Michael Wallner [Fri, 2 Jun 2006 23:45:53 +0000 (23:45 +0000)]
- add simple unicode test

18 years agofix tests in unicode mode
Antony Dovgal [Fri, 2 Jun 2006 22:22:43 +0000 (22:22 +0000)]
fix tests in unicode mode

18 years agofix error messages in Unicode mode
Antony Dovgal [Fri, 2 Jun 2006 21:55:26 +0000 (21:55 +0000)]
fix error messages in Unicode mode

18 years ago- fix encoding
Michael Wallner [Fri, 2 Jun 2006 20:09:22 +0000 (20:09 +0000)]
- fix encoding

18 years ago- new output control code
Michael Wallner [Fri, 2 Jun 2006 19:51:43 +0000 (19:51 +0000)]
- new output control code

# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests

18 years agoidness not valid for attribute declarations
Rob Richards [Fri, 2 Jun 2006 16:15:58 +0000 (16:15 +0000)]
idness not valid for attribute declarations

18 years agoSAPI globals are destroied at this point and reporting errors about memory leaks
Dmitry Stogov [Fri, 2 Jun 2006 13:31:38 +0000 (13:31 +0000)]
SAPI globals are destroied at this point and reporting errors about memory leaks
 can cause crash.

18 years agoChangeLog update
<changelog@php.net> [Fri, 2 Jun 2006 05:31:58 +0000 (05:31 +0000)]
ChangeLog update

18 years agoMFB: fixed compiler warning
Ilia Alshanetsky [Thu, 1 Jun 2006 22:42:53 +0000 (22:42 +0000)]
MFB: fixed compiler warning

18 years agoMFB: #37630 MySQL extensions should link against thread safe client libs if built...
Michael Wallner [Thu, 1 Jun 2006 19:15:31 +0000 (19:15 +0000)]
MFB: #37630 MySQL extensions should link against thread safe client libs if built with ZTS

18 years agoignore my previous fix, it was wrong =)
Antony Dovgal [Thu, 1 Jun 2006 14:31:02 +0000 (14:31 +0000)]
ignore my previous fix, it was wrong =)

18 years agosuppress_errors is used only on Win32, no need to look for it on other systems
Antony Dovgal [Thu, 1 Jun 2006 14:03:38 +0000 (14:03 +0000)]
suppress_errors is used only on Win32, no need to look for it on other systems