History log of /PHP-7.1/main/php_streams.h (Results 126 – 150 of 196)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 32165a55 18-Feb-2003 Wez Furlong

Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separat

Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separated into one chain for read and one chain
for write.

The user-space stream_filter_append() type functions currently only operate
on the read chain. They need extending to work with the write chain too.

show more ...


# 6e296c5c 17-Feb-2003 Wez Furlong

Move some of the streams header into supplementary files

# Just when you thought you had learned your way around the streams code;
# I like to keep you all on your toes!


Revision tags: php-4.3.1
# 35878992 13-Feb-2003 Wez Furlong

Moving away from ANSI stdio for plain files.


# f98ea4c4 09-Feb-2003 Ilia Alshanetsky

Added feature request #9173 (added stream_get_line(), this function will
read either the specified number of bytes or until the ending string is
found).


# a592f3cc 07-Feb-2003 Ilia Alshanetsky

Added missing definitions.


Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 52a3c29e 06-Jan-2003 Wez Furlong

Fix for bug #21406; infinite loop during filter flushing.


# 42e912da 06-Jan-2003 Sara Golemon

Expose stream_filters_hash so that it can be searched by stream_get_filters()


# da9eb594 02-Jan-2003 Derick Rethans

- Fix warnings on UnixWare


# 2c5d4b8c 31-Dec-2002 Sebastian Bergmann

Bump year.


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2
# ca58966a 18-Nov-2002 Wez Furlong

Merge streams changes from branch.


Revision tags: BEFORE_RENAMING, php-4.3.0RC1
# a73e74c2 06-Nov-2002 Marcus Boerger

Make the macro use the function and not the other macro as discussed
with Wez.


# 1f0b2001 06-Nov-2002 Marcus Boerger

php_stream replacement for fprintf
#Agreed by Wez - I will use this mysel soon.


# 8f6120fe 05-Nov-2002 Marcus Boerger

correct define: silences compiler warning in http_fopen_wrapper.c


# 728eacbf 28-Oct-2002 Ilia Alshanetsky

A better fix for bug #20110.


Revision tags: php-4.3.0pre2
# dabf1053 21-Oct-2002 Wez Furlong

Refine stream_select() to work with streams that have data in their read
buffers.
When selecting for read, the streams are examined; if any of them have
pending read data, no actual selec

Refine stream_select() to work with streams that have data in their read
buffers.
When selecting for read, the streams are examined; if any of them have
pending read data, no actual select(2) call is performed; instead the
streams with buffered data are returned; just like a regular select
call.
Prevent erroneous warning in stream_select when obtaining the fd.

show more ...


# 829f1855 19-Oct-2002 Wez Furlong

made fgets() binary safe.
php_stream_gets is now a macro which calls php_stream_get_line. The latter
has an option argument to return the number of bytes in the line.
Functions like fgetc

made fgets() binary safe.
php_stream_gets is now a macro which calls php_stream_get_line. The latter
has an option argument to return the number of bytes in the line.
Functions like fgetcsv(), fgetss() can be made binary safe by calling
php_stream_get_line directly.

# HEADS UP: You will need to make clean after updating your CVS, as the
# binary signature has changed.

show more ...


# 4b83b189 18-Oct-2002 Ilia Alshanetsky

Fixed bug #19971 (optimized the file() function).
The file() function is now also binary safe.


Revision tags: RELEASE_1_0b1, php-4.3.0pre1
# 077fe52d 05-Oct-2002 Wez Furlong

This seems to resolve the issues with fgets.
I've moved EOF detection into the streams layer; a stream reader
implementation should set stream->eof when it detects EOF.
Fixed test for use

This seems to resolve the issues with fgets.
I've moved EOF detection into the streams layer; a stream reader
implementation should set stream->eof when it detects EOF.
Fixed test for user streams - it still fails but that is due to an output
buffering bug.

show more ...


# 9c5883bd 04-Oct-2002 Wez Furlong

replace dont_block with a flag.


# 4f7e6dad 04-Oct-2002 Sascha Schumann

Improve the general behaviour of stream_gets and fix its semantics
with regard to sockets. The behaviour should be aligned with PHP 4.2 now.
This has been verified to some degree.

If

Improve the general behaviour of stream_gets and fix its semantics
with regard to sockets. The behaviour should be aligned with PHP 4.2 now.
This has been verified to some degree.

If the underlying stream operations block when no new data is readable,
we need to take extra precautions.

If there is buffered data available, we check for a EOL. If it exists,
we pass the data immediately back to the caller. This saves a call
to the read implementation and will not block where blocking
is not necessary at all.

If the stream buffer contains more data than the caller requested,
we can also avoid that costly step and simply return that data.

show more ...


Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# 393d57d5 28-Sep-2002 Wez Furlong

Differentiate between write buffer and streams read buffer sizes.
Add options for timeout and chunk size; previously these were only
set-able for socket streams.


# 84e0df3d 28-Sep-2002 Wez Furlong

Allow user streams/wrappers to implement fstat(), opendir() and stat().


# 3a67c677 26-Sep-2002 Wez Furlong

Rename file_get_wrapper_data -> file_get_meta_data.
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias

Rename file_get_wrapper_data -> file_get_meta_data.
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias for file_get_meta_data.

Fix Location header following which was broken in this commit:
http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h

show more ...


# 696e0a23 25-Sep-2002 Wez Furlong

Implement persistent streams. (for pfsockopen).
Juggle some includes/definitions.
Tidy up streams use in ext/standard/file.c


# 031f0193 23-Sep-2002 Wez Furlong

Enable include("http://....") under win32 by downloading to a temporary
stream so that flex will get on nicely with the content.
# untested; theoretically it should work just fine.


12345678