]> granicus.if.org Git - php/log
php
19 years agoFix collator instantiation.
Andrei Zmievski [Tue, 28 Mar 2006 04:33:29 +0000 (04:33 +0000)]
Fix collator instantiation.

19 years agoFix typos.
Andrei Zmievski [Tue, 28 Mar 2006 03:28:08 +0000 (03:28 +0000)]
Fix typos.

19 years agoMFB51: Check 2nd parameter of tempnam() against path components.
Ilia Alshanetsky [Mon, 27 Mar 2006 23:41:05 +0000 (23:41 +0000)]
MFB51: Check 2nd parameter of tempnam() against path components.

19 years agoFix UErrorCode check.
Andrei Zmievski [Mon, 27 Mar 2006 23:05:38 +0000 (23:05 +0000)]
Fix UErrorCode check.

19 years agoTypo.
Andrei Zmievski [Mon, 27 Mar 2006 22:16:53 +0000 (22:16 +0000)]
Typo.

19 years agoMF51: fix #36878 (error messages are printed even though an exception has been thrown)
Antony Dovgal [Mon, 27 Mar 2006 22:07:50 +0000 (22:07 +0000)]
MF51: fix #36878 (error messages are printed even though an exception has been thrown)

19 years agoMake a UTODO note.
Andrei Zmievski [Mon, 27 Mar 2006 21:19:12 +0000 (21:19 +0000)]
Make a UTODO note.

19 years agoProto updates.
Andrei Zmievski [Mon, 27 Mar 2006 19:24:18 +0000 (19:24 +0000)]
Proto updates.

19 years ago*** empty log message ***
Andrei Zmievski [Mon, 27 Mar 2006 19:18:40 +0000 (19:18 +0000)]
*** empty log message ***

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

19 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.

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

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

19 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

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

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

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

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

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

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

19 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

19 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

19 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)

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

19 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)

19 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

19 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

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

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

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

19 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!

19 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 '?';

19 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.

19 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.

19 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

19 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.

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

19 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().

19 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).

19 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";
?>

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

19 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.

19 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.

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

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

19 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.

19 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.

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

19 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)

19 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

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

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

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

19 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

19 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...

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

19 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..

19 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.

19 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

19 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.

19 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! :)

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

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

19 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

19 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)

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

19 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.

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

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

19 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...

19 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

19 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..

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

19 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).

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

19 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( ).

19 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

19 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

19 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

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

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

19 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

19 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

19 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()

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

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

19 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

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

19 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

19 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

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

19 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

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

19 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()

19 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

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

19 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

19 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

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

19 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.