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

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

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

19 years ago- Revert left-over
Marcus Boerger [Thu, 9 Mar 2006 23:07:48 +0000 (23:07 +0000)]
- Revert left-over

19 years ago- Add new test
Marcus Boerger [Thu, 9 Mar 2006 23:03:27 +0000 (23:03 +0000)]
- Add new test

19 years ago- Add read ahead ability
Marcus Boerger [Thu, 9 Mar 2006 23:03:08 +0000 (23:03 +0000)]
- Add read ahead ability
- Add skipping empty lines
- Add ability to read lines as csv

19 years ago- More testing via fgetcsv
Marcus Boerger [Thu, 9 Mar 2006 21:00:38 +0000 (21:00 +0000)]
- More testing via fgetcsv

19 years agoMove temporary local storage of primary file's realpath up one block to ensure it...
Sara Golemon [Thu, 9 Mar 2006 20:31:58 +0000 (20:31 +0000)]
Move temporary local storage of primary file's realpath up one block to ensure it stays on the stack.

19 years ago- Add new test
Marcus Boerger [Thu, 9 Mar 2006 20:00:47 +0000 (20:00 +0000)]
- Add new test

19 years agoMake spl_register_std_class() and spl_register_sub_class() available outside of SPL...
Sebastian Bergmann [Thu, 9 Mar 2006 11:44:05 +0000 (11:44 +0000)]
Make spl_register_std_class() and spl_register_sub_class() available outside of SPL, for instance in SPL_Types.

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

19 years ago- Fix a bunch of issues, now the classname and the properties of objects
Marcus Boerger [Wed, 8 Mar 2006 23:37:41 +0000 (23:37 +0000)]
- Fix a bunch of issues, now the classname and the properties of objects
  are shown correctly (though standard object handlers are assumed and
  tested for)

19 years ago- Automatic tsrm key fetching
Marcus Boerger [Wed, 8 Mar 2006 22:38:32 +0000 (22:38 +0000)]
- Automatic tsrm key fetching

19 years ago- Automatic TSRM/ZTS detection
Marcus Boerger [Wed, 8 Mar 2006 22:15:52 +0000 (22:15 +0000)]
- Automatic TSRM/ZTS detection

19 years agoMFB: Fix bug #36656 (http_build_query generates invalid URIs due to use of square...
Michael Wallner [Wed, 8 Mar 2006 22:04:48 +0000 (22:04 +0000)]
MFB: Fix bug #36656 (http_build_query generates invalid URIs due to use of square brackets)

19 years ago- safe_mode is nuked in head
Marcus Boerger [Wed, 8 Mar 2006 20:31:23 +0000 (20:31 +0000)]
- safe_mode is nuked in head
- spl_filesystem_object now allows controlling of clone too

19 years ago- Cloning might need special treatment as well
Marcus Boerger [Wed, 8 Mar 2006 20:30:12 +0000 (20:30 +0000)]
- Cloning might need special treatment as well

19 years ago- Initial refcounting
Marcus Boerger [Wed, 8 Mar 2006 20:07:25 +0000 (20:07 +0000)]
- Initial refcounting

19 years ago- Something that uses void* oth might want to deinitialize it in the dtor
Marcus Boerger [Wed, 8 Mar 2006 20:06:16 +0000 (20:06 +0000)]
- Something that uses void* oth might want to deinitialize it in the dtor

19 years agosafe_mode news
Ilia Alshanetsky [Wed, 8 Mar 2006 14:42:10 +0000 (14:42 +0000)]
safe_mode news

19 years agoSo long safe_mode mode.
Ilia Alshanetsky [Wed, 8 Mar 2006 14:41:45 +0000 (14:41 +0000)]
So long safe_mode mode.
Also removed the magic_quotes configure option, no longer relevant since
the magic is gone :-).

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

19 years ago- WS/CS
Marcus Boerger [Wed, 8 Mar 2006 00:56:31 +0000 (00:56 +0000)]
- WS/CS

19 years ago- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
Pierre Joye [Wed, 8 Mar 2006 00:43:32 +0000 (00:43 +0000)]
- remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
 (calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR

19 years agoFix for RISC OS
Alex Waugh [Tue, 7 Mar 2006 22:37:18 +0000 (22:37 +0000)]
Fix for RISC OS

19 years agoImprove DOCUMENT_ROOT setting
Alex Waugh [Tue, 7 Mar 2006 22:34:37 +0000 (22:34 +0000)]
Improve DOCUMENT_ROOT setting

19 years ago- WS
Marcus Boerger [Tue, 7 Mar 2006 20:22:12 +0000 (20:22 +0000)]
- WS

19 years ago- Update tests
Marcus Boerger [Tue, 7 Mar 2006 20:08:41 +0000 (20:08 +0000)]
- Update tests

19 years agochange these in HEAD too
Colin Viebrock [Tue, 7 Mar 2006 16:47:19 +0000 (16:47 +0000)]
change these in HEAD too

19 years agoNuke safe_mode from sapi/*
Ilia Alshanetsky [Tue, 7 Mar 2006 14:43:16 +0000 (14:43 +0000)]
Nuke safe_mode from sapi/*

# only main/ remains at this point, this is the next step

19 years agoprepare to the next release
Antony Dovgal [Tue, 7 Mar 2006 10:22:54 +0000 (10:22 +0000)]
prepare to the next release

19 years agoReverted "break label"
Dmitry Stogov [Tue, 7 Mar 2006 08:43:21 +0000 (08:43 +0000)]
Reverted "break label"

19 years ago*** empty log message ***
Andrei Zmievski [Tue, 7 Mar 2006 08:33:46 +0000 (08:33 +0000)]
*** empty log message ***

19 years ago- Make this compile again
Derick Rethans [Tue, 7 Mar 2006 07:58:56 +0000 (07:58 +0000)]
- Make this compile again

19 years agoadd workaround for Oracle server crash, use OCIServerVersion() instead of OCIPing()
Antony Dovgal [Tue, 7 Mar 2006 07:45:59 +0000 (07:45 +0000)]
add workaround for Oracle server crash, use OCIServerVersion() instead of OCIPing()
fix #36250 (PHP Causes ORA-07445 Core dump in Oracle server 9.2.x)

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

19 years agoMark some functions as Unicode-safe and adjust UTODO notices for others.
Andrei Zmievski [Tue, 7 Mar 2006 04:30:15 +0000 (04:30 +0000)]
Mark some functions as Unicode-safe and adjust UTODO notices for others.

19 years ago- gd1 and ft1 entry
Pierre Joye [Tue, 7 Mar 2006 00:55:23 +0000 (00:55 +0000)]
- gd1 and ft1 entry

19 years agoRemove register_globals regression test for Pierre
Sara Golemon [Tue, 7 Mar 2006 00:26:27 +0000 (00:26 +0000)]
Remove register_globals regression test for Pierre

19 years ago- remove register_globals support (aka "Kill the f***ing thing" :)
Pierre Joye [Tue, 7 Mar 2006 00:20:54 +0000 (00:20 +0000)]
- remove register_globals support (aka "Kill the f***ing thing" :)

19 years agostray text
Rasmus Lerdorf [Mon, 6 Mar 2006 23:27:26 +0000 (23:27 +0000)]
stray text

19 years agoMFB: Fix build and sync parameters with config0.m4.
Sebastian Bergmann [Mon, 6 Mar 2006 22:50:43 +0000 (22:50 +0000)]
MFB: Fix build and sync parameters with config0.m4.

19 years ago- Missed 'proto'
Marcus Boerger [Mon, 6 Mar 2006 22:22:07 +0000 (22:22 +0000)]
- Missed 'proto'

19 years ago- Make test not depend on my filesystem layout
Marcus Boerger [Mon, 6 Mar 2006 22:19:21 +0000 (22:19 +0000)]
- Make test not depend on my filesystem layout

19 years agoFix protos to use 'string' for parameters that can be either binary or
Andrei Zmievski [Mon, 6 Mar 2006 21:49:21 +0000 (21:49 +0000)]
Fix protos to use 'string' for parameters that can be either binary or
unicode.

19 years ago- Fixed bug #36638 (strtotime unconditional false return on now <= 0)
Derick Rethans [Mon, 6 Mar 2006 21:43:35 +0000 (21:43 +0000)]
- Fixed bug #36638 (strtotime unconditional false return on now <= 0)

19 years agoImport PCRE 6.6 and make adjustments.
Andrei Zmievski [Mon, 6 Mar 2006 21:34:07 +0000 (21:34 +0000)]
Import PCRE 6.6 and make adjustments.

19 years ago- Fixed #36625 pg_trace() does not work
Marcus Boerger [Mon, 6 Mar 2006 20:16:34 +0000 (20:16 +0000)]
- Fixed #36625 pg_trace() does not work

19 years agoimplement addChild() and addAttribute() methods
Rob Richards [Mon, 6 Mar 2006 20:16:03 +0000 (20:16 +0000)]
implement addChild() and addAttribute() methods
add test

19 years agoFixed bug #36630 (umask not reset at the end of the request).
Ilia Alshanetsky [Mon, 6 Mar 2006 14:27:45 +0000 (14:27 +0000)]
Fixed bug #36630 (umask not reset at the end of the request).

# This needs to be MFHed, but since it requires an API break it has to wait
# until the next minor release.

19 years ago- Proto fixes
Marcus Boerger [Mon, 6 Mar 2006 10:06:03 +0000 (10:06 +0000)]
- Proto fixes

19 years ago- Proto fixes
Marcus Boerger [Mon, 6 Mar 2006 10:03:25 +0000 (10:03 +0000)]
- Proto fixes

19 years agofixed compatibility with ext/hash
Dmitry Stogov [Mon, 6 Mar 2006 09:58:27 +0000 (09:58 +0000)]
fixed compatibility with ext/hash

19 years ago- Proto fixes
Marcus Boerger [Mon, 6 Mar 2006 09:47:03 +0000 (09:47 +0000)]
- Proto fixes