History log of /php-src/main/php_streams.h (Results 176 – 200 of 238)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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.

# ad4afdf8 23-Sep-2002 Wez Furlong

fix some warnings.

# 9e84b3d5 23-Sep-2002 Wez Furlong

Revise buffer/seek code a little.
Tidy up user streams even more.
Make test case quite aggressive.

# 4d8a07d5 23-Sep-2002 Wez Furlong

Implement read buffering in streams.
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle

Implement read buffering in streams.
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle them appropriately.
The default behaviour is unix (and dos) line endings.
An ini option to control this behaviour will follow.
# Don't forget to make clean!
# I've done some testing but would appreciate feedback from
# people with scripts/extensions that seek around a lot.

show more ...

Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3
# 3df412cf 07-Sep-2002 Wez Furlong

Fix a couple of bad pointer indirections (oops).
Lets stick to a single category of "http" for the "user_agent"
context override.

Revision tags: php-4.2.3
# 8b8f1e05 05-Sep-2002 Anantha Kesari H Y

NetWare related additions/modifications

Revision tags: php-4.2.3RC2
# c7be7b55 25-Aug-2002 Wez Furlong

Add a "closing" parameter for filters to determine if a flush is the last
flush before the stream is closed. This allows filters to finish a chunk
and write footers etc.

# 27adb755 25-Aug-2002 Wez Furlong

Remove php_stream_error as discussed with Rasmus.
Unify error messages for ext/ftp. (which was using php_stream_error).

Revision tags: php-4.2.3RC1
# 9d348ea8 20-Aug-2002 Wez Furlong

Implement filter API for streams.

Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.

Implement "string.rot13" filter

Allows the foll

Implement filter API for streams.

Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.

Implement "string.rot13" filter

Allows the following script:

$fp = fopen("file.txt", "r");
stream_filter_prepend($fp, "string.rot13");

// File contents will be subject to a rot13 transformation before
// being output.
fpassthru($fp);
fclose($fp);

show more ...

12345678910