]> granicus.if.org Git - php/log
php
18 years ago- Add test
Marcus Boerger [Sat, 18 Mar 2006 23:13:43 +0000 (23:13 +0000)]
- Add test

18 years ago- Add PDO::setDEfaultFetchMode() (Pierre)
Marcus Boerger [Sat, 18 Mar 2006 23:10:40 +0000 (23:10 +0000)]
- Add PDO::setDEfaultFetchMode() (Pierre)

18 years ago- Simplify
Marcus Boerger [Sat, 18 Mar 2006 23:09:47 +0000 (23:09 +0000)]
- Simplify

18 years agocheck stream for NULL before writing to it
Antony Dovgal [Sat, 18 Mar 2006 22:25:29 +0000 (22:25 +0000)]
check stream for NULL before writing to it
remove unnecessary semicolons

18 years agoMFB: Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes...
Antony Dovgal [Sat, 18 Mar 2006 22:06:45 +0000 (22:06 +0000)]
MFB: Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes bug #36764)

18 years ago- Fix seek/eof issue in temp streams
Marcus Boerger [Sat, 18 Mar 2006 19:56:35 +0000 (19:56 +0000)]
- Fix seek/eof issue in temp streams

18 years ago- Fix issue in _php_stream_get_line(): Allow maxchars == 0 as macro
Marcus Boerger [Sat, 18 Mar 2006 19:44:51 +0000 (19:44 +0000)]
- Fix issue in _php_stream_get_line(): Allow maxchars == 0 as macro
  php_stream_get_line() does

18 years agoMFB51: Fixed bug #36756 (DOMDocument::removeChild corrupts node)
Rob Richards [Sat, 18 Mar 2006 11:46:13 +0000 (11:46 +0000)]
MFB51: Fixed bug #36756 (DOMDocument::removeChild corrupts node)
add test

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

18 years agoFix PECL bug #7147 - rework comma insertion whilst encoding.
Omar Kilani [Sat, 18 Mar 2006 04:15:16 +0000 (04:15 +0000)]
Fix PECL bug #7147 - rework comma insertion whilst encoding.
Add tests to package.xml.

18 years ago- Fix TSRM
Marcus Boerger [Fri, 17 Mar 2006 23:14:55 +0000 (23:14 +0000)]
- Fix TSRM

18 years agoMake is_string() return TRUE for both Unicode and binary strings.
Andrei Zmievski [Fri, 17 Mar 2006 23:00:20 +0000 (23:00 +0000)]
Make is_string() return TRUE for both Unicode and binary strings.

18 years agoFix compiler errors by using NULL_ZSTR where zstr is expected.
Andrei Zmievski [Fri, 17 Mar 2006 22:52:55 +0000 (22:52 +0000)]
Fix compiler errors by using NULL_ZSTR where zstr is expected.

# I guess we need to use NULL_ZSTR instead of NULL when passing NULL to
# functions that expect zstr parameter.

18 years agoCalculate the size of the tmp[] buffer directly at compile time.
Andrei Zmievski [Fri, 17 Mar 2006 22:51:20 +0000 (22:51 +0000)]
Calculate the size of the tmp[] buffer directly at compile time.

18 years agoMFB: fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined)
Antony Dovgal [Fri, 17 Mar 2006 22:17:15 +0000 (22:17 +0000)]
MFB: fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined)

18 years agoFixed register_argc_argv
Dmitry Stogov [Fri, 17 Mar 2006 15:04:23 +0000 (15:04 +0000)]
Fixed register_argc_argv

18 years ago- Actually make this is_binary() too.
Derick Rethans [Fri, 17 Mar 2006 14:53:57 +0000 (14:53 +0000)]
- Actually make this is_binary() too.

18 years ago- Fixed bug in ucfirst() implementation. If the tmp_len = 0 then it will not
Derick Rethans [Fri, 17 Mar 2006 14:29:05 +0000 (14:29 +0000)]
- Fixed bug in ucfirst() implementation. If the tmp_len = 0 then it will not
  write the uppercased character to the buffer, but only returns the length of
  the uppercased letter as per
  http://icu.sourceforge.net/apiref/icu4c/ustring_8h.html#a50.
- Updated is_string():
  If Unicode semantics is turned on, return "true" for Unicode strings only.
  If Unicode semantics is turned off, return "true" for native strings only.
- Added is_binary() function that returns "true" for native strings only.
- Added first implementation of upgraded strtr function. It works except if
  combining sequences or surrogates are used in the non-array method of calling
  this function.

18 years agoUnicode support for dl() patch.
Dmitry Stogov [Fri, 17 Mar 2006 13:45:43 +0000 (13:45 +0000)]
Unicode support for dl() patch.

18 years agoEliminated unnecessary getcwd() syscall
Dmitry Stogov [Fri, 17 Mar 2006 10:46:02 +0000 (10:46 +0000)]
Eliminated unnecessary getcwd() syscall

18 years agoMFB: fix #36743 (In a class extending XMLReader array properties are not writable)
Antony Dovgal [Fri, 17 Mar 2006 10:17:36 +0000 (10:17 +0000)]
MFB: fix #36743 (In a class extending XMLReader array properties are not writable)

18 years agoOptimized FastCGI SAPI check. Check for ini options only once.
Dmitry Stogov [Fri, 17 Mar 2006 09:32:47 +0000 (09:32 +0000)]
Optimized FastCGI SAPI check. Check for ini options only once.

18 years agoAllowed 'auto_globals_jit' work together with 'register_argc_argv'
Dmitry Stogov [Fri, 17 Mar 2006 08:59:02 +0000 (08:59 +0000)]
Allowed 'auto_globals_jit' work together with 'register_argc_argv'

18 years agoFIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGS
Dmitry Stogov [Fri, 17 Mar 2006 08:47:54 +0000 (08:47 +0000)]
FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGS
EGV related code is commented.

18 years agoOptimization of module unloading (temporary modules can be only in the end)
Dmitry Stogov [Fri, 17 Mar 2006 08:34:34 +0000 (08:34 +0000)]
Optimization of module unloading (temporary modules can be only in the end)

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

18 years agoMFB51:
Ilia Alshanetsky [Fri, 17 Mar 2006 00:15:28 +0000 (00:15 +0000)]
MFB51:
Allow PDO_MYSQL_ATTR_DIRECT_QUERY to be set via constructor
Allow getAttribute() to fetch MySQL specific attributes.
Eliminate unnecessary auto-commit call on connect.

18 years agoDisabled dl(). Now it is enabled only when a SAPI layer registers it explicitly....
Dmitry Stogov [Thu, 16 Mar 2006 16:53:10 +0000 (16:53 +0000)]
Disabled dl(). Now it is enabled only when a SAPI layer registers it explicitly. Only CLI, CGI and EMBED do this.

18 years agotypo
Dmitry Stogov [Thu, 16 Mar 2006 15:42:54 +0000 (15:42 +0000)]
typo

18 years agows
Dmitry Stogov [Thu, 16 Mar 2006 15:38:29 +0000 (15:38 +0000)]
ws

18 years agoReturn "new" by reference now throws an E_STRICT error
Dmitry Stogov [Thu, 16 Mar 2006 15:35:26 +0000 (15:35 +0000)]
Return "new" by reference now throws an E_STRICT error

18 years agoadded option parameter mb_list_encodings( ).
Seiji Masugata [Thu, 16 Mar 2006 15:21:12 +0000 (15:21 +0000)]
added option parameter mb_list_encodings( ).

18 years agoAdded pg_field_table() as per req: #36750
Edin Kadribasic [Thu, 16 Mar 2006 14:58:56 +0000 (14:58 +0000)]
Added pg_field_table() as per req: #36750

18 years agoAdded E_STRICT to E_ALL
Dmitry Stogov [Thu, 16 Mar 2006 12:12:31 +0000 (12:12 +0000)]
Added E_STRICT to E_ALL

18 years agorephrase
Antony Dovgal [Thu, 16 Mar 2006 11:35:30 +0000 (11:35 +0000)]
rephrase

18 years agoDropped allow_call_time_pass_reference, the error is maden E_STRICT.
Dmitry Stogov [Thu, 16 Mar 2006 11:32:00 +0000 (11:32 +0000)]
Dropped allow_call_time_pass_reference, the error is maden E_STRICT.

18 years agoDropped zend.ze1_compatibility_mode
Dmitry Stogov [Thu, 16 Mar 2006 10:33:23 +0000 (10:33 +0000)]
Dropped zend.ze1_compatibility_mode

18 years agoDropped register_long_arrays, added E_CORE for all dropped setting
Dmitry Stogov [Thu, 16 Mar 2006 09:44:42 +0000 (09:44 +0000)]
Dropped register_long_arrays, added E_CORE for all dropped setting

18 years agoprepare to the 1.2 release
Antony Dovgal [Thu, 16 Mar 2006 07:31:01 +0000 (07:31 +0000)]
prepare to the 1.2 release

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

18 years ago- Fix warning
Marcus Boerger [Thu, 16 Mar 2006 00:53:58 +0000 (00:53 +0000)]
- Fix warning

18 years ago- Fix test
Marcus Boerger [Thu, 16 Mar 2006 00:40:11 +0000 (00:40 +0000)]
- Fix test

18 years agoFix improper byte count on partial reads
Sara Golemon [Wed, 15 Mar 2006 21:18:36 +0000 (21:18 +0000)]
Fix improper byte count on partial reads

18 years agoFixed Bug #36614 (Segfault when using Soap)
Dmitry Stogov [Wed, 15 Mar 2006 16:14:40 +0000 (16:14 +0000)]
Fixed Bug #36614 (Segfault when using Soap)

18 years agoMFB51: Fixed memory leak on unused bind var.
Ilia Alshanetsky [Wed, 15 Mar 2006 15:27:08 +0000 (15:27 +0000)]
MFB51: Fixed memory leak on unused bind var.

18 years agoFixed zend_u_strtod() that returned uninitialized value in case of empty string
Dmitry Stogov [Wed, 15 Mar 2006 13:12:32 +0000 (13:12 +0000)]
Fixed zend_u_strtod() that returned uninitialized value in case of empty string

18 years ago- Fixed two memory issues:
Derick Rethans [Wed, 15 Mar 2006 12:20:49 +0000 (12:20 +0000)]
- Fixed two memory issues:
  - In the first one we were calculating the tmp_len wrong which made the
u_strFromUTF32() function try to convert too many code points.
  - The second issue was a bit more subtle as the "what" string wasn't
duplicated but still modified. This string is passed as data to the
function and this kind of data the engine tries to free when the function
ends. Because we were re-allocating the data the original memory location
was already freed resulting in a double free error when the engine tries to
free the argument as it was passed to the function.

18 years agoAdded E_STRICT warning in case of calling non-static method from incompatible context...
Dmitry Stogov [Wed, 15 Mar 2006 11:15:20 +0000 (11:15 +0000)]
Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4)

18 years ago- Reduce space in serialization. The first 128 bytes will now use just the
Derick Rethans [Wed, 15 Mar 2006 09:50:47 +0000 (09:50 +0000)]
- Reduce space in serialization. The first 128 bytes will now use just the
  character and everything above will use \uXXXX. It seems that unserialize
  doesn't work at all yet on the U: element so that I added to my to-do list.

18 years agoEliminated run-time constant fetching for TRUE, FALSE and NULL
Dmitry Stogov [Wed, 15 Mar 2006 09:04:48 +0000 (09:04 +0000)]
Eliminated run-time constant fetching for TRUE, FALSE and NULL

18 years agoFixed "zend_vm_gen.php --without-specializer"
Dmitry Stogov [Wed, 15 Mar 2006 08:06:51 +0000 (08:06 +0000)]
Fixed "zend_vm_gen.php --without-specializer"

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

18 years agoSwitch (zstr) casts to use ZSTR() macro.
Sara Golemon [Wed, 15 Mar 2006 00:28:57 +0000 (00:28 +0000)]
Switch (zstr) casts to use ZSTR() macro.

18 years agoMark as stable.
Omar Kilani [Wed, 15 Mar 2006 00:15:05 +0000 (00:15 +0000)]
Mark as stable.

18 years agoMore stream updates.
Sara Golemon [Tue, 14 Mar 2006 21:15:05 +0000 (21:15 +0000)]
More stream updates.
fgets() will work now as will anything which calls one of the
_php_stream_get_line() family of functions.
The one exception here is when the legacy defines are used on a unicode
stream.  At the moment they'll simply return NULL, I'll update these
to do sloppy conversion in a bit.

'make (u)test' still doesn't work, but it's a different doesn't work.

18 years ago- initial commit, feel free to change/adapt
Pierre Joye [Tue, 14 Mar 2006 16:28:35 +0000 (16:28 +0000)]
- initial commit, feel free to change/adapt

18 years agoFixed bug #35988 (Unknown persistent list entry type in module shutdown)
Dmitry Stogov [Tue, 14 Mar 2006 15:16:27 +0000 (15:16 +0000)]
Fixed bug #35988 (Unknown persistent list entry type in module shutdown)

18 years agoadd brackets and clarity
Antony Dovgal [Tue, 14 Mar 2006 15:14:59 +0000 (15:14 +0000)]
add brackets and clarity

18 years agoMFB51: Fixed offset/length parameter validation in substr_compare() function.
Ilia Alshanetsky [Tue, 14 Mar 2006 14:55:27 +0000 (14:55 +0000)]
MFB51: Fixed offset/length parameter validation in substr_compare() function.

18 years agoFixed bug #36568 (memory_limit setting on win32 has no effect)
Dmitry Stogov [Tue, 14 Mar 2006 14:19:19 +0000 (14:19 +0000)]
Fixed bug #36568 (memory_limit setting on win32 has no effect)

18 years agozend_hash_apply() doesn't use ZEND_HASH_APPLY_... macros
Dmitry Stogov [Tue, 14 Mar 2006 11:24:30 +0000 (11:24 +0000)]
zend_hash_apply() doesn't use ZEND_HASH_APPLY_... macros

18 years ago"jump" -> "goto"
Dmitry Stogov [Tue, 14 Mar 2006 11:20:19 +0000 (11:20 +0000)]
"jump" -> "goto"

18 years agoMFB: Fixed build
Edin Kadribasic [Tue, 14 Mar 2006 11:14:05 +0000 (11:14 +0000)]
MFB: Fixed build

18 years agoMFB: more verbose phpinfo() output
Edin Kadribasic [Tue, 14 Mar 2006 11:04:13 +0000 (11:04 +0000)]
MFB: more verbose phpinfo() output

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

18 years ago- MFB: #36697, truecolor image lost im->transparent
Pierre Joye [Tue, 14 Mar 2006 03:46:59 +0000 (03:46 +0000)]
- MFB: #36697, truecolor image lost im->transparent

18 years ago- Fix tests
Marcus Boerger [Mon, 13 Mar 2006 22:59:36 +0000 (22:59 +0000)]
- Fix tests

18 years ago- Cleanup
Marcus Boerger [Mon, 13 Mar 2006 22:54:05 +0000 (22:54 +0000)]
- Cleanup

18 years agoMake php_stream_write_buffer() return characters written, not bytes
Sara Golemon [Mon, 13 Mar 2006 20:54:06 +0000 (20:54 +0000)]
Make php_stream_write_buffer() return characters written, not bytes

18 years agofixed compiler warning.
Seiji Masugata [Mon, 13 Mar 2006 15:04:03 +0000 (15:04 +0000)]
fixed compiler warning.

18 years agoThis makes file_put_contents() work for:
Derick Rethans [Mon, 13 Mar 2006 15:01:44 +0000 (15:01 +0000)]
This makes file_put_contents() work for:

<?php
    declare(encoding="latin1");
    $a = "1234å67890";
    file_put_contents( "/tmp/testuc.1", $a);
    file_put_contents( "/tmp/testuc.2", (string) $a);

    $context = stream_context_create();
    stream_context_set_params($context, array( "output_encoding" => "latin1" ) );
    file_put_contents( "/tmp/testuc.3", $a, FILE_TEXT, $context);
    file_put_contents( "/tmp/testuc.4", (string) $a, FILE_TEXT, $context);
?>

But it still throws a warning on ".3". It's a small design issue that I
didn't want to touch right now.

18 years agoMFB51: Added overflow checks to wordwrap() function.
Ilia Alshanetsky [Mon, 13 Mar 2006 14:37:32 +0000 (14:37 +0000)]
MFB51: Added overflow checks to wordwrap() function.

18 years agoOptimized cleanup loops on request shutdown
Dmitry Stogov [Mon, 13 Mar 2006 11:13:55 +0000 (11:13 +0000)]
Optimized cleanup loops on request shutdown

18 years agoFixed realpath() cache for main script with FastCGI SAPI
Dmitry Stogov [Mon, 13 Mar 2006 09:36:05 +0000 (09:36 +0000)]
Fixed realpath() cache for main script with FastCGI SAPI

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

18 years agoRefactor streams layer for PHP6.
Sara Golemon [Mon, 13 Mar 2006 04:40:11 +0000 (04:40 +0000)]
Refactor streams layer for PHP6.

Don't be frightened by the size of this commit.
A significant portion of it is restoring the read buffer semantics back
to what PHP4/5 use.  (Or a close aproximation thereof).

See main/streams/streams.c and ext/standard/file.c for a set of
UTODO comments covering work yet to be done.

18 years agoMFB51: As per agreement during PDM, remove the E_STRICT deprecation notice
Ilia Alshanetsky [Sun, 12 Mar 2006 16:53:41 +0000 (16:53 +0000)]
MFB51: As per agreement during PDM, remove the E_STRICT deprecation notice
from "var".

18 years ago- Fix ReflectionParameter
Marcus Boerger [Sun, 12 Mar 2006 15:34:46 +0000 (15:34 +0000)]
- Fix ReflectionParameter
  . Reintroduce getClass()
  . Change getDeclaringClass() to return what it suggests
  . Add getDeclaringFunction()
  . Add getPosition()
# This also fixes Bug #36687 ReflectionParameter::getDeclaringClass returns
# wrong result

18 years ago- Prefix test names
Marcus Boerger [Sun, 12 Mar 2006 12:11:22 +0000 (12:11 +0000)]
- Prefix test names
- Add missing skipif

18 years agofixed a possible null injection caused by missuse of mbstring.substitute_character.
Rui Hirokawa [Sun, 12 Mar 2006 07:54:03 +0000 (07:54 +0000)]
fixed a possible null injection caused by missuse of mbstring.substitute_character.

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

18 years ago- Fix writing faillog with redirected tests
Marcus Boerger [Sat, 11 Mar 2006 18:13:13 +0000 (18:13 +0000)]
- Fix writing faillog with redirected tests

18 years ago- Fix test results with redirected tests
Marcus Boerger [Sat, 11 Mar 2006 17:57:40 +0000 (17:57 +0000)]
- Fix test results with redirected tests

18 years ago- Load list of extensions to test from php that is being tested rather than
Marcus Boerger [Sat, 11 Mar 2006 16:54:11 +0000 (16:54 +0000)]
- Load list of extensions to test from php that is being tested rather than
  from php running the tests
- When executing both unicode and native modes then show the type of test
  in the reult list (PASS:U, PASS:N, etc)

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

19 years ago- Drop supoerflous skipif
Marcus Boerger [Sat, 11 Mar 2006 00:25:07 +0000 (00:25 +0000)]
- Drop supoerflous skipif

19 years ago- Add test
Marcus Boerger [Sat, 11 Mar 2006 00:23:10 +0000 (00:23 +0000)]
- Add test

19 years ago- Set clone handler even though right now some spl code snippet is missing
Marcus Boerger [Fri, 10 Mar 2006 23:53:41 +0000 (23:53 +0000)]
- Set clone handler even though right now some spl code snippet is missing

19 years ago- Fix issue with parser error in included phar:// entries
Marcus Boerger [Fri, 10 Mar 2006 23:52:57 +0000 (23:52 +0000)]
- Fix issue with parser error in included phar:// entries

19 years ago- Works better with correct syntax
Marcus Boerger [Fri, 10 Mar 2006 23:02:18 +0000 (23:02 +0000)]
- Works better with correct syntax

19 years ago- Add new test
Marcus Boerger [Fri, 10 Mar 2006 22:55:09 +0000 (22:55 +0000)]
- Add new test

19 years ago- Add neccessary skipif
Marcus Boerger [Fri, 10 Mar 2006 22:53:58 +0000 (22:53 +0000)]
- Add neccessary skipif

19 years ago for the primary file only lookup the real file path and
Brian France [Fri, 10 Mar 2006 18:16:24 +0000 (18:16 +0000)]
for the primary file only lookup the real file path and
        add it to the included_files list if already opened
otherwise it will get opened and added to the included_files list in zend_execute_scripts

19 years ago- MFB: #36686, do not be quiet with the extern GD
Pierre Joye [Fri, 10 Mar 2006 18:15:21 +0000 (18:15 +0000)]
- MFB: #36686, do not be quiet with the extern GD

19 years agofixed different value was returned in mb_get_info.
Seiji Masugata [Fri, 10 Mar 2006 16:36:52 +0000 (16:36 +0000)]
fixed different value was returned in mb_get_info.

19 years agoFixed compilation error (Rob)
Dmitry Stogov [Fri, 10 Mar 2006 16:35:57 +0000 (16:35 +0000)]
Fixed compilation error (Rob)

19 years agoAdded RETVAL_EMPTRY_TEXT() and RETURN_EMPTY_TEXT() macroses
Dmitry Stogov [Fri, 10 Mar 2006 16:35:21 +0000 (16:35 +0000)]
Added RETVAL_EMPTRY_TEXT() and RETURN_EMPTY_TEXT() macroses

19 years agoFixed bug #36629 (SoapServer::handle() exits on SOAP faults)
Dmitry Stogov [Fri, 10 Mar 2006 11:47:06 +0000 (11:47 +0000)]
Fixed bug #36629 (SoapServer::handle() exits on SOAP faults)

19 years agoFixed debug_zval_dump() to support private and protected members
Dmitry Stogov [Fri, 10 Mar 2006 08:43:14 +0000 (08:43 +0000)]
Fixed debug_zval_dump() to support private and protected members

19 years agoImplemented "jump label" operator (limited "goto")
Dmitry Stogov [Fri, 10 Mar 2006 08:29:43 +0000 (08:29 +0000)]
Implemented "jump label" operator (limited "goto")