History log of /PHP-5.5/main/php_streams.h (Results 51 – 75 of 151)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: RELEASE_0_3, php-5.0.4, php-4.3.11, php-5.0.4RC2, php-4.3.11RC2, php-5.0.4RC1, php-4.3.11RC1
# c7b931d8 22-Feb-2005 Ilia Alshanetsky

Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so).


Revision tags: RELEASE_0_2_4, RELEASE_0_2_3, RELEASE_0_2_2, RELEASE_0_2_1, RELEASE_0_2
# 05690789 06-Feb-2005 Wez Furlong

Avoid bug where stream_copy_to_stream() call for precisely 2000000 bytes would
result in entire resource being copied.
The mmap brake is already present inside mmap_range() and is set to 1MB.


Revision tags: php-5.0.3, php-4.3.10, SQLITE_4_3_20041227, php-5.0.3RC2, php-4.3.10RC2, php-5.0.3RC1, php-4.3.10RC1
# d98a44d4 15-Nov-2004 Ilia Alshanetsky

Fixed bug #29801 (Set limit on the size of mmapable data).


Revision tags: PRE_NEW_VM_GEN_PATCH
# a93f75ce 29-Sep-2004 Anantha Kesari H Y

NETWARE has a proper stat structure Now no need of CLIB_STAT_PATCH checks


Revision tags: php-5.0.2, php-4.3.9, php-5.0.2RC1, php-4.3.9RC3
# 34550382 14-Sep-2004 Sara Golemon

Added stream_filter_remove() to cancel a stream filter.

Register filters as resources when
instantiated by stream_filter_(ap|pre)pend().

Export php_stream_filter_flush() interna

Added stream_filter_remove() to cancel a stream filter.

Register filters as resources when
instantiated by stream_filter_(ap|pre)pend().

Export php_stream_filter_flush() internal function to wind buffered data
out of a particular filter until consumed by a later filter or sent to
stream->readbuffer or stream->ops->write()

show more ...


# 955b43ba 10-Sep-2004 Sara Golemon

Add stream_wrapper_unregister()
Disables a wrapper (user-defined or built-in) for the life of the request.

Add stream_wrapper_restore()
Restores the wrapper originally defined at the

Add stream_wrapper_unregister()
Disables a wrapper (user-defined or built-in) for the life of the request.

Add stream_wrapper_restore()
Restores the wrapper originally defined at the time the request started
to the protocol name mentioned.

show more ...


Revision tags: PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1, RELEASE_0_1, php-5.0.0RC4, php-5.0.0, php-4.3.8
# a2c24ae9 21-Jun-2004 Sara Golemon

BugFix#28868 (Part Two): This fixes thread unsafety in the userspace
filters which relates to the fix just applied for userspace wrappers.


# 7fcfa886 21-Jun-2004 Sara Golemon

BugFix#28868: Wrapper hash not thread-safe.

Userdefined wrappers were being registered into a global wrapper hash
which can cross threads. Termination of once instance then has the

BugFix#28868: Wrapper hash not thread-safe.

Userdefined wrappers were being registered into a global wrapper hash
which can cross threads. Termination of once instance then has the
potential to leave an active stream in another instance with no wrapper
leading to segfault.

show more ...


Revision tags: php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1, RELEASE_0_1_1, php-5.0.0RC2, php-5.0.0RC2RC2, php-4.3.6, php-5.0.0RC2RC1, php-4.3.6RC3, php-4.3.6RC2, php-4.3.6RC1, php-4.3.5, php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1, RELEASE_0_2_0
# b8f7d9f9 20-Feb-2004 Hartmut Holzgraefe

wrap all PHPAPI prototypes into BEGIN_EXTERN_C/END_EXTERN_C blocks
(else they won't be usable from C++ extensions)


Revision tags: php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1, php-4.3.5RC2
# 6d10371e 28-Jan-2004 Sara Golemon

'Bug Fix': scandir, being a new function in PHP5 should have always been wrapper aware.


Revision tags: RELEASE_1_3b6, php_ibase_before_split, php-4.3.5RC1
# ccfc46b0 08-Jan-2004 foobar

- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?


Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1
# a67bf6ec 13-Dec-2003 Sara Golemon

Fix Win32 Build. mkdir/rmdir are macros


# c5664783 13-Dec-2003 Sara Golemon

Route mkdir()/rmdir() via wrapper ops.
Move current rmdir()/rmdir() code to plain_wrappers.c
Implement mkdir()/rmdir() in ftp:// wrapper


# b1f8236b 12-Dec-2003 Sara Golemon

Route rename() via wrapper ops.
Move current rename() code to main/streams/plain_wrapper.c
Implement ftp/rename()
Implement userstreams/rename()


# 681d18ef 01-Dec-2003 Sara Golemon

Move safemode/basedir checks for url_stat to plain_wrapper.


# 026d4c9e 28-Nov-2003 Sara Golemon

Route php_stat() via streams/url_stat API (php_stream_stat_path).
This enables fopen-wrappers support on stat() and related family calls.


# 3ee72aa5 27-Nov-2003 Wez Furlong

port "liveness" checks and a couple of other things from the 4.3 branch.
Liveness checks are used to validate persistent socket connects when they
are re-used.


# 3ab8d263 03-Nov-2003 Derick Rethans

- Always store the URI path in the streams structure, and expose it with
stream_get_meta_data().


Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2
# 4d98e9ec 29-Jul-2003 Ilia Alshanetsky

Finalize the closing process of persistent streams. The current
behavior/API is as follows:

1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it f

Finalize the closing process of persistent streams. The current
behavior/API is as follows:

1) To close a persistent use php_stream_pclose(), it will close the stream
and remove it from the persistent list.

2) Inside PHP code only explicit fclose() will close persistent streams,
all other actions such as unset() or assigning a value to stream handle
will not.

3) Regular streams can still be closed by either fclose(), unset() or an
assignment of a value to the stream handler.

show more ...


Revision tags: php-5.0.0b1
# 5ecc91c2 28-Jun-2003 Wez Furlong

Merge selectable descriptor casting from PHP_4_3 branch.


Revision tags: php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3
# 65d359d7 14-May-2003 Sara Golemon

Fold 'options' parameter into wops->unlink method


Revision tags: RELEASE_0_9b
# 5126fbe5 14-May-2003 Sara Golemon

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapp

Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops

show more ...


Revision tags: SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# 0c366c24 17-Apr-2003 Sara Golemon

Macro: php_stream_get_from_zval(php_stream *stream, zval **zstream, char *mode, int options, char **opened_path, php_stream_context *context) Z_TYPE_PP(zstream) can be either IS_RESOURCE (An already

Macro: php_stream_get_from_zval(php_stream *stream, zval **zstream, char *mode, int options, char **opened_path, php_stream_context *context) Z_TYPE_PP(zstream) can be either IS_RESOURCE (An already opened stream) or IS_STRING (a path to a stream to be opened)

show more ...


# 86fb577d 18-Mar-2003 Wez Furlong

Implement persistent plain file streams.

Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_E

Implement persistent plain file streams.

Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);

the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.

Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.

This is deliberately *not* exposed to user-space PHP at this time.

show more ...


1234567