#
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 ...
|
#
5f9a5a7c |
| 19-Aug-2002 |
Wez Furlong |
Remove php_stream_sock_set_blocking and replace with php_stream_set_option which can be used in a similar way as ioctl() to set options for streams. Current options include buffering
Remove php_stream_sock_set_blocking and replace with php_stream_set_option which can be used in a similar way as ioctl() to set options for streams. Current options include buffering and blocking support. o Buffer control is support for stdio based streams. o Blocking/non-blocking is supported for stdio and socket based streams.
show more ...
|
#
c2cbae6d |
| 16-Aug-2002 |
Wez Furlong |
Enhance Ilia's recent patch to query the wrapper subsystem to determine if a filename is a URL and thus if safe-mode checks should be skipped.
|
#
bcef712a |
| 11-Aug-2002 |
Wez Furlong |
Properly implement TSRM parameters to the new log_error function... (Thanks Marcus!) Add a convenience macro for importing a stream from a zval.
|
#
5a21ab42 |
| 11-Aug-2002 |
Wez Furlong |
Introduce an error stack for wrappers, to help prevent multiple errors and warnings (some of which are bogus) when there are problems opening streams. Implement sanity check on the mode u
Introduce an error stack for wrappers, to help prevent multiple errors and warnings (some of which are bogus) when there are problems opening streams. Implement sanity check on the mode used to open ftp and http connections. This fixes Bug 12004.
show more ...
|
Revision tags: dev, php-4.2.2, INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2, php-4.3.0dev, php5_5_0 |
|
#
c39a3bc8 |
| 11-Jun-2002 |
Hartmut Holzgraefe |
macro definition fixed, guess it was the usual kind of cut&past bug?
|
#
0cd40c28 |
| 08-Jun-2002 |
Markus Fischer |
- Since streams are always enabled, instead of just printing 'enabled' we tell what streams are currently registered.
|
Revision tags: RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1, php-4.2.1RC2, php-4.2.1RC1 |
|
#
37411dd6 |
| 30-Apr-2002 |
Wez Furlong |
Implement context option setting API. Add/amend debugging code for sockets. Add a flag that will help the http wrapper optimize itself when it is not being used for include/require.
|
Revision tags: php-4.2.0 |
|
#
b10b24d5 |
| 16-Apr-2002 |
Wez Furlong |
Always initialize wrappers, regardless of PG(allow_url_fopen). Add is_url field to wrapper structure; the stream wrapper openers will disallow opening is is_url && !PG(allow_url_fopen). A
Always initialize wrappers, regardless of PG(allow_url_fopen). Add is_url field to wrapper structure; the stream wrapper openers will disallow opening is is_url && !PG(allow_url_fopen). Add infrastructure for stat($url) and opendir($url). Tidy up/centralize code that locates and instantiates wrappers for the various operations. Implement opendir for plain files. Make the PHP opendir and dir functions use the streams implementations. Add modelines for syntax highlighting the pear scripts in vim
show more ...
|
#
643fb6dc |
| 15-Apr-2002 |
Frank M. Kromann |
Adding PHPAPI needed for exif on Win32
|
Revision tags: php-4.2.0RC4, php-4.2.0RC3 |
|
#
e2f00a13 |
| 12-Apr-2002 |
Wez Furlong |
fix segfault
|
#
e1d0a147 |
| 10-Apr-2002 |
Wez Furlong |
Implement stream context and status notification system. Bump the BC for zlib notice to a warning # See my RFC to php-dev a few days ago
|
Revision tags: php-4.2.0RC2 |
|
#
2539cbc7 |
| 28-Mar-2002 |
Wez Furlong |
Phase 3 of OO wrapper cleanup # What was phase 2?
|
#
5ee65bd8 |
| 24-Mar-2002 |
Wez Furlong |
Phase 1 of wrapper OO cleanup. # Collecting underpants
|
#
a662f012 |
| 21-Mar-2002 |
Wez Furlong |
Convert the gzfile related functions into aliases for their equivalents in ext/standard/file.c, so a gzopen()ed file pointer can be used in fread, fseek etc. Improved behaviour of zlib st
Convert the gzfile related functions into aliases for their equivalents in ext/standard/file.c, so a gzopen()ed file pointer can be used in fread, fseek etc. Improved behaviour of zlib stream. Moved passthru code into streams.c # I'm not happy about BG(mmap_file) Nuked gzgetss_state as no longer needed.
show more ...
|
Revision tags: php-4.2.0RC1 |
|
#
3dbde958 |
| 20-Mar-2002 |
Wez Furlong |
Make state parameter of php_strip_tags passed by reference. Move state tracking to stream structure.
|
#
659a071e |
| 20-Mar-2002 |
Wez Furlong |
Streams are all tracked as resources now. Add some logic that will help track down leaks when debug is enabled.
|
#
7990d742 |
| 19-Mar-2002 |
Wez Furlong |
Improve behaviour of the stream casting operation. Improve interaction with fopencookie.
|