]> granicus.if.org Git - php/log
php
18 years ago*** empty log message ***
Andrei Zmievski [Mon, 27 Mar 2006 19:18:40 +0000 (19:18 +0000)]
*** empty log message ***

18 years agoAdd UTODO.
Andrei Zmievski [Mon, 27 Mar 2006 19:15:58 +0000 (19:15 +0000)]
Add UTODO.

18 years agoMark with UTODO instead of FIXME.
Andrei Zmievski [Mon, 27 Mar 2006 17:34:06 +0000 (17:34 +0000)]
Mark with UTODO instead of FIXME.

18 years agofix possible NULL dereference
Antony Dovgal [Mon, 27 Mar 2006 16:43:02 +0000 (16:43 +0000)]
fix possible NULL dereference

18 years agoadded mb_list_mime_names( ).
Seiji Masugata [Mon, 27 Mar 2006 15:20:02 +0000 (15:20 +0000)]
added mb_list_mime_names( ).

18 years agoTest for strtr() with non-ascii encoding
Dmitry Stogov [Mon, 27 Mar 2006 14:37:14 +0000 (14:37 +0000)]
Test for strtr() with non-ascii encoding

18 years agoUnicode support
Dmitry Stogov [Mon, 27 Mar 2006 14:19:18 +0000 (14:19 +0000)]
Unicode support

18 years agoFixed test
Dmitry Stogov [Mon, 27 Mar 2006 14:08:10 +0000 (14:08 +0000)]
Fixed test

18 years agoFixed test
Dmitry Stogov [Mon, 27 Mar 2006 13:53:19 +0000 (13:53 +0000)]
Fixed test

18 years agoFixed test
Dmitry Stogov [Mon, 27 Mar 2006 13:42:04 +0000 (13:42 +0000)]
Fixed test

18 years agoUnicode support
Dmitry Stogov [Mon, 27 Mar 2006 13:37:47 +0000 (13:37 +0000)]
Unicode support

18 years agoUnicode support
Dmitry Stogov [Mon, 27 Mar 2006 10:25:35 +0000 (10:25 +0000)]
Unicode support

18 years agoFixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed...
Dmitry Stogov [Mon, 27 Mar 2006 10:15:02 +0000 (10:15 +0000)]
Fixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed testFixed test

18 years agoFixed bug during function/class declaration in unicode mode
Dmitry Stogov [Mon, 27 Mar 2006 09:44:03 +0000 (09:44 +0000)]
Fixed bug during function/class declaration in unicode mode

18 years agoFixed test file (test still fail)
Dmitry Stogov [Mon, 27 Mar 2006 09:42:15 +0000 (09:42 +0000)]
Fixed test file (test still fail)

18 years agoFixed test
Dmitry Stogov [Mon, 27 Mar 2006 09:39:27 +0000 (09:39 +0000)]
Fixed test

18 years agoMF51: fix #36869 (memory leak in output buffering when using chunked output)
Antony Dovgal [Mon, 27 Mar 2006 08:26:20 +0000 (08:26 +0000)]
MF51: fix #36869 (memory leak in output buffering when using chunked output)

18 years agoFixed meory leak in case of unknown pragma
Dmitry Stogov [Mon, 27 Mar 2006 08:09:08 +0000 (08:09 +0000)]
Fixed meory leak in case of unknown pragma

18 years agoBetter but incomplete fix for bug #36840
Dmitry Stogov [Mon, 27 Mar 2006 07:35:05 +0000 (07:35 +0000)]
Better but incomplete fix for bug #36840

18 years agoChangeLog update
<changelog@php.net> [Mon, 27 Mar 2006 06:31:51 +0000 (06:31 +0000)]
ChangeLog update

18 years agoFixed ZTS build
Dmitry Stogov [Mon, 27 Mar 2006 06:02:42 +0000 (06:02 +0000)]
Fixed ZTS build

18 years agoMFB
Andrei Zmievski [Mon, 27 Mar 2006 05:01:48 +0000 (05:01 +0000)]
MFB

18 years agoFix a case where we could have an encoding conversion exception thrown
Andrei Zmievski [Mon, 27 Mar 2006 03:47:50 +0000 (03:47 +0000)]
Fix a case where we could have an encoding conversion exception thrown
while building exception trace args!

18 years agoUse (unsigned char) to make sure that only the control chars are
Andrei Zmievski [Mon, 27 Mar 2006 03:41:39 +0000 (03:41 +0000)]
Use (unsigned char) to make sure that only the control chars are
replaced with '?';

18 years agoRewrite unicode_encode() and unicode_decode() functions. Apply the new
Andrei Zmievski [Mon, 27 Mar 2006 03:19:30 +0000 (03:19 +0000)]
Rewrite unicode_encode() and unicode_decode() functions. Apply the new
conversion error semantics.

18 years agoSkip BOM for UTF-16/32 converters when setting subst char.
Andrei Zmievski [Mon, 27 Mar 2006 03:17:49 +0000 (03:17 +0000)]
Skip BOM for UTF-16/32 converters when setting subst char.

18 years agoremove pg_execute() E_WARNING error when query plan is not defined
Yasuo Ohgaki [Mon, 27 Mar 2006 02:59:41 +0000 (02:59 +0000)]
remove pg_execute() E_WARNING error when query plan is not defined

18 years agoSome functions may want to accept only Unicode or binary strings,
Andrei Zmievski [Mon, 27 Mar 2006 02:52:06 +0000 (02:52 +0000)]
Some functions may want to accept only Unicode or binary strings,
without having auto-conversion from the other string type. Add 'U' and
'S' specifiers for this. Also, remove traces of 'native' strings.

18 years ago*** empty log message ***
Andrei Zmievski [Sun, 26 Mar 2006 21:46:01 +0000 (21:46 +0000)]
*** empty log message ***

18 years agoAdd unicode_get_error_mode() and unicode_get_subst_char().
Andrei Zmievski [Sun, 26 Mar 2006 21:22:59 +0000 (21:22 +0000)]
Add unicode_get_error_mode() and unicode_get_subst_char().

18 years agoMFB51: Fixed bug #36857 (Added support for partial content fetching to the
Ilia Alshanetsky [Sun, 26 Mar 2006 17:12:26 +0000 (17:12 +0000)]
MFB51: Fixed bug #36857 (Added support for partial content fetching to the
HTTP streams wrapper).

18 years ago- Implemented basic collation support. For some reason "new Collator" gives segfaults...
Derick Rethans [Sun, 26 Mar 2006 11:06:24 +0000 (11:06 +0000)]
- Implemented basic collation support. For some reason "new Collator" gives segfaults when the object's collation resource is used.
- The following example shows what is implemented:

<?php
$orig = $strings = array(
    'côte',
    'cote',
    'côté',
    'coté',
    'fluÃ\9fe',
    'flüÃ\9fe',
);

echo "German phonebook:\n";
$c = collator_create( "de@collation=phonebook" );
foreach($c->sort($strings) as $string) {
    echo $string, "\n";
}
echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON
    ? "With" : "Without", " french accent sorting order\n";

echo "\nFrench with options:\n";
$c = collator_create( "fr" );
$c->setAttribute(Collator::CASE_FIRST, Collator::UPPER_FIRST);
$c->setAttribute(Collator::CASE_LEVEL, Collator::ON);
$c->setStrength(Collator::SECONDARY);
foreach($c->sort($strings) as $string) {
    echo $string, "\n";
}
echo $c->getAttribute(Collator::FRENCH_COLLATION) == Collator::ON
    ? "With" : "Without", " french accent sorting order\n";
?>

18 years agoChangeLog update
<changelog@php.net> [Sun, 26 Mar 2006 06:31:42 +0000 (06:31 +0000)]
ChangeLog update

18 years agoImplement to-Unicode conversion error behavior. Note the adjusted APIs.
Andrei Zmievski [Sun, 26 Mar 2006 06:19:24 +0000 (06:19 +0000)]
Implement to-Unicode conversion error behavior. Note the adjusted APIs.

18 years agoExpand stream_context_create() to allow specifying params
Sara Golemon [Sun, 26 Mar 2006 04:40:11 +0000 (04:40 +0000)]
Expand stream_context_create() to allow specifying params
as well as options.  Ignore the internal name change of the first arg.
The first arg is still for options, the second arg is for actual params.

18 years agoAdd protos.
Andrei Zmievski [Sun, 26 Mar 2006 03:33:10 +0000 (03:33 +0000)]
Add protos.

18 years agofixed compiler warning.
Seiji Masugata [Sun, 26 Mar 2006 02:23:25 +0000 (02:23 +0000)]
fixed compiler warning.

18 years ago- Commit intermediate work so that I can hack on it on some plane.
Derick Rethans [Sun, 26 Mar 2006 02:15:47 +0000 (02:15 +0000)]
- Commit intermediate work so that I can hack on it on some plane.

18 years ago* Remove unicode.from_error_mode and unicode.from_subst_char from INI
Andrei Zmievski [Sun, 26 Mar 2006 01:48:33 +0000 (01:48 +0000)]
* Remove unicode.from_error_mode and unicode.from_subst_char from INI
settings.
* Add unicode_set_error_mode() and unicode_set_subst_char() functions to
  manipulate these global settings.

18 years ago*** empty log message ***
Andrei Zmievski [Sun, 26 Mar 2006 00:56:23 +0000 (00:56 +0000)]
*** empty log message ***

18 years agoMF51: fix #36859 (DOMElement crashes when calling __construct when clone'ing)
Antony Dovgal [Sun, 26 Mar 2006 00:23:37 +0000 (00:23 +0000)]
MF51: fix #36859 (DOMElement crashes when calling __construct when clone'ing)

18 years ago- Make IteratorIterator base class of most SPL iterators
Marcus Boerger [Sun, 26 Mar 2006 00:22:45 +0000 (00:22 +0000)]
- Make IteratorIterator base class of most SPL iterators

18 years ago- Fix docu
Marcus Boerger [Sun, 26 Mar 2006 00:22:03 +0000 (00:22 +0000)]
- Fix docu

18 years agoChangeLog update
<changelog@php.net> [Sat, 25 Mar 2006 06:31:49 +0000 (06:31 +0000)]
ChangeLog update

18 years agoHandle converter instantiation errors properly
Sara Golemon [Sat, 25 Mar 2006 04:37:44 +0000 (04:37 +0000)]
Handle converter instantiation errors properly

18 years agoAllow bidirectional encoding option via single context param
Sara Golemon [Fri, 24 Mar 2006 22:27:13 +0000 (22:27 +0000)]
Allow bidirectional encoding option via single context param

18 years agoFix stream_get_line():
Sara Golemon [Fri, 24 Mar 2006 21:37:42 +0000 (21:37 +0000)]
Fix stream_get_line():
Checking type isn't nearly as important as checking nullness...

18 years agoUpdate fgetss() for unicode
Sara Golemon [Fri, 24 Mar 2006 21:32:39 +0000 (21:32 +0000)]
Update fgetss() for unicode

18 years agoThis is probably not a test..
Andrei Zmievski [Fri, 24 Mar 2006 21:25:44 +0000 (21:25 +0000)]
This is probably not a test..

18 years agoUse intern->type for break iterator.
Andrei Zmievski [Fri, 24 Mar 2006 21:06:36 +0000 (21:06 +0000)]
Use intern->type for break iterator.

18 years agoHook into new unicode conversion error handling API
Sara Golemon [Fri, 24 Mar 2006 20:21:48 +0000 (20:21 +0000)]
Hook into new unicode conversion error handling API

18 years agoAdd php_stream_get_record_unicde() API call.
Sara Golemon [Fri, 24 Mar 2006 19:22:24 +0000 (19:22 +0000)]
Add php_stream_get_record_unicde() API call.
Update stream_get_line() userspace function to handle unicode streams.

18 years agoHey! Don't remove vim modeline completely! :)
Andrei Zmievski [Fri, 24 Mar 2006 16:45:18 +0000 (16:45 +0000)]
Hey! Don't remove vim modeline completely! :)

18 years agoadd new tests
Antony Dovgal [Fri, 24 Mar 2006 12:08:19 +0000 (12:08 +0000)]
add new tests

18 years agowhitespaces -> tabs
Antony Dovgal [Fri, 24 Mar 2006 10:25:50 +0000 (10:25 +0000)]
whitespaces -> tabs
no other changes done

18 years agofirst check for NULL, then use the pointer
Antony Dovgal [Fri, 24 Mar 2006 10:21:56 +0000 (10:21 +0000)]
first check for NULL, then use the pointer

18 years agoFixed bug #36840 (Memory leak if cast operator throws an exception that is caught)
Dmitry Stogov [Fri, 24 Mar 2006 10:11:49 +0000 (10:11 +0000)]
Fixed bug #36840 (Memory leak if cast operator throws an exception that is caught)

18 years agoFixed SoapFault::getMessage()
Dmitry Stogov [Fri, 24 Mar 2006 08:46:14 +0000 (08:46 +0000)]
Fixed SoapFault::getMessage()

18 years agoSupport warning/exceptions flag for conversion errors.
Andrei Zmievski [Fri, 24 Mar 2006 07:38:07 +0000 (07:38 +0000)]
Support warning/exceptions flag for conversion errors.

18 years agoChangeLog update
<changelog@php.net> [Fri, 24 Mar 2006 06:31:51 +0000 (06:31 +0000)]
ChangeLog update

18 years agoUTODO note
Andrei Zmievski [Fri, 24 Mar 2006 00:25:49 +0000 (00:25 +0000)]
UTODO note

18 years agoAdd some error checking when stream converters are instantiated.
Sara Golemon [Fri, 24 Mar 2006 00:19:39 +0000 (00:19 +0000)]
Add some error checking when stream converters are instantiated.

Use the global conversion error handlers for output conversion (for now)
We may want to make this customizable on a per-stream basis
via context param later on...

18 years ago- Fix arginfo for (Recursive)RegExIterator
Marcus Boerger [Thu, 23 Mar 2006 22:25:46 +0000 (22:25 +0000)]
- Fix arginfo for (Recursive)RegExIterator

18 years agoUpdate conversion error behavior and add some new modes.
Andrei Zmievski [Thu, 23 Mar 2006 22:00:42 +0000 (22:00 +0000)]
Update conversion error behavior and add some new modes.

# The various escape modes are what ICU calls them. We may want to come
# up with different names for UNICODE/ICU/JAVA ones..

18 years agoAdd (binary) cast operator.
Andrei Zmievski [Thu, 23 Mar 2006 21:54:00 +0000 (21:54 +0000)]
Add (binary) cast operator.

18 years agoAllow conversion between binary/Unicode strings (based on
Andrei Zmievski [Thu, 23 Mar 2006 21:52:49 +0000 (21:52 +0000)]
Allow conversion between binary/Unicode strings (based on
runtime_encoding setting).

18 years ago- My eyes hurt
Marcus Boerger [Thu, 23 Mar 2006 21:26:50 +0000 (21:26 +0000)]
- My eyes hurt

18 years agoadded mb_list_encodings_alias_names( ).
Seiji Masugata [Thu, 23 Mar 2006 20:14:41 +0000 (20:14 +0000)]
added mb_list_encodings_alias_names( ).

18 years ago- Make spl_autoload_register() return bool
Marcus Boerger [Thu, 23 Mar 2006 19:34:20 +0000 (19:34 +0000)]
- Make spl_autoload_register() return bool

18 years agoreturn FALSE if driver doesn't support quoting and returns 0
Antony Dovgal [Thu, 23 Mar 2006 19:03:30 +0000 (19:03 +0000)]
return FALSE if driver doesn't support quoting and returns 0
also fixes PECL bug #6365

18 years agoMFB51:
Ilia Alshanetsky [Thu, 23 Mar 2006 18:39:12 +0000 (18:39 +0000)]
MFB51:
Added myself to PDO and PDO_MySQL credits
Added Wez to PDO_MySQL credits
Added Tony to Q&A team credits
Regenerated the credits file

18 years agoadd missing skipif sections
Antony Dovgal [Thu, 23 Mar 2006 15:05:02 +0000 (15:05 +0000)]
add missing skipif sections

18 years agofix typos
Antony Dovgal [Thu, 23 Mar 2006 14:55:48 +0000 (14:55 +0000)]
fix typos

18 years agoUnder threat of being slept with by Marcus, adding new getParent() method
John Coggeshall [Thu, 23 Mar 2006 14:22:40 +0000 (14:22 +0000)]
Under threat of being slept with by Marcus, adding new getParent() method
for node traversals

18 years ago- Initialize callable_name if requested
Marcus Boerger [Thu, 23 Mar 2006 13:09:28 +0000 (13:09 +0000)]
- Initialize callable_name if requested

18 years ago- Make spl_autoload_unregister() accept any callable like spl_autoload_register()
Marcus Boerger [Thu, 23 Mar 2006 12:55:58 +0000 (12:55 +0000)]
- Make spl_autoload_unregister() accept any callable like spl_autoload_register()

18 years ago- Add new test
Marcus Boerger [Thu, 23 Mar 2006 12:20:35 +0000 (12:20 +0000)]
- Add new test

18 years ago- Add new test
Marcus Boerger [Thu, 23 Mar 2006 11:57:15 +0000 (11:57 +0000)]
- Add new test

18 years ago- MF51 Add missing bug title and synch with other tests
Marcus Boerger [Thu, 23 Mar 2006 11:49:53 +0000 (11:49 +0000)]
- MF51 Add missing bug title and synch with other tests

18 years agoFixed possible memory corruption
Dmitry Stogov [Thu, 23 Mar 2006 11:42:41 +0000 (11:42 +0000)]
Fixed possible memory corruption

18 years agoMTH: Allowed '-b' with UNIX sockets
Dmitry Stogov [Thu, 23 Mar 2006 10:20:14 +0000 (10:20 +0000)]
MTH: Allowed '-b' with UNIX sockets

18 years agoimplement correct fix for segfault on 64bit platform
Antony Dovgal [Thu, 23 Mar 2006 09:44:30 +0000 (09:44 +0000)]
implement correct fix for segfault on 64bit platform

18 years agoChangeLog update
<changelog@php.net> [Thu, 23 Mar 2006 06:31:57 +0000 (06:31 +0000)]
ChangeLog update

18 years ago. MFB: Fixed fetching of string value bigger than 128bytes when no options
Pierre Joye [Thu, 23 Mar 2006 01:37:38 +0000 (01:37 +0000)]
. MFB: Fixed fetching of string value bigger than 128bytes when no options
  are used

18 years agofix leak, add test
Antony Dovgal [Wed, 22 Mar 2006 23:12:38 +0000 (23:12 +0000)]
fix leak, add test

18 years agoMF51: prevent segfault when exception is thrown from Countable::count()
Antony Dovgal [Wed, 22 Mar 2006 22:06:08 +0000 (22:06 +0000)]
MF51: prevent segfault when exception is thrown from Countable::count()

18 years agoMFH: fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
Antony Dovgal [Wed, 22 Mar 2006 21:57:10 +0000 (21:57 +0000)]
MFH: fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
fix similar issue in offsetExists()
remove redundant semicolons

18 years agono magic_quotes anymore
Antony Dovgal [Wed, 22 Mar 2006 19:41:42 +0000 (19:41 +0000)]
no magic_quotes anymore

18 years agodon't segfault on 64bit platforms
Antony Dovgal [Wed, 22 Mar 2006 19:36:10 +0000 (19:36 +0000)]
don't segfault on 64bit platforms

18 years agouse set_time_limit(), this test takes forever on AIX
Antony Dovgal [Wed, 22 Mar 2006 19:27:28 +0000 (19:27 +0000)]
use set_time_limit(), this test takes forever on AIX

18 years agoSimplify and optimize code.
Ilia Alshanetsky [Wed, 22 Mar 2006 17:32:21 +0000 (17:32 +0000)]
Simplify and optimize code.

18 years ago- Moved strtotitle to ext/standard and implemented the fallback case to
Derick Rethans [Wed, 22 Mar 2006 10:20:20 +0000 (10:20 +0000)]
- Moved strtotitle to ext/standard and implemented the fallback case to
  non-unicode with ucwords. There is also an implementation for unicode ucwords
  but that returns different results then strtotitle as it uppercases the
  first character of every word, and doesn't *titlecase* a word. The test case
  shows that.

18 years agoMF51: fix #36820 (Privileged connection with an Oracle password file fails)
Antony Dovgal [Wed, 22 Mar 2006 09:46:13 +0000 (09:46 +0000)]
MF51: fix #36820 (Privileged connection with an Oracle password file fails)

18 years agoFix the bullshit register_globals emulation
Stefan Esser [Wed, 22 Mar 2006 08:21:01 +0000 (08:21 +0000)]
Fix the bullshit register_globals emulation

1) S is not _SESSION but _SERVER
2) EXTR_OVERWRITE is evil

18 years agoChangeLog update
<changelog@php.net> [Wed, 22 Mar 2006 06:31:42 +0000 (06:31 +0000)]
ChangeLog update

18 years ago- add tests files
Pierre Joye [Tue, 21 Mar 2006 19:02:00 +0000 (19:02 +0000)]
- add tests files

18 years ago- update, wrong file added
Pierre Joye [Tue, 21 Mar 2006 18:57:04 +0000 (18:57 +0000)]
- update, wrong file added

18 years ago- first serie of tests
Pierre Joye [Tue, 21 Mar 2006 18:49:45 +0000 (18:49 +0000)]
- first serie of tests

18 years ago- typo
Pierre Joye [Tue, 21 Mar 2006 18:45:31 +0000 (18:45 +0000)]
- typo
- bump api version

18 years agoAllow grow_mode && !bufstart (original assertion logic)
Sara Golemon [Tue, 21 Mar 2006 18:28:42 +0000 (18:28 +0000)]
Allow grow_mode && !bufstart (original assertion logic)