Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move streams files around a bit, to ease maintenance. | Wez Furlong | 2003-02-16 | 1 | -863/+0 |
| | | | | | I will update the win32 .dsp in a moment. | ||||
* | A new file added and some old files modified for NetWare. | Anantha Kesari H Y | 2003-01-03 | 1 | -0/+6 |
| | |||||
* | Bump year. | Sebastian Bergmann | 2002-12-31 | 1 | -1/+1 |
| | |||||
* | Fixed possible memory leaks. | Ilia Alshanetsky | 2002-10-15 | 1 | -0/+8 |
| | |||||
* | Fix leak, and avoid initialization problems where retval is re-used | Wez Furlong | 2002-10-15 | 1 | -4/+13 |
| | | | | | within a function. | ||||
* | Fix stream_eof result interpretation (and thus the user-streams test). | Wez Furlong | 2002-10-14 | 1 | -5/+6 |
| | |||||
* | This seems to resolve the issues with fgets. | Wez Furlong | 2002-10-05 | 1 | -46/+42 |
| | | | | | | | | 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. | ||||
* | Rename streams functions to fit with naming conventions, adding aliases | Wez Furlong | 2002-09-28 | 1 | -2/+2 |
| | | | | | | for old functions where required. Make use of recent changes to chunk size and timeout setting code. | ||||
* | Allow user streams/wrappers to implement fstat(), opendir() and stat(). | Wez Furlong | 2002-09-28 | 1 | -14/+347 |
| | |||||
* | Fix segfault in wrapper error log mechanism when errors are logged on | Wez Furlong | 2002-09-26 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | second and subsequent events. Implement very simple recursion protection for user streams written like this: class urlEncodeStream { var $fp = NULL; function stream_open($path, $mode, $options, &$opened_path) { $this->fp = fopen($path, $mode); // <-- this recurses infinitely return is_resource($this->fp); } } file_register_wrapper('urlencode', 'urlEncodeStream'); $fp = fopen('urlencode:///tmp/outputfile.txt', 'w'); Noticed by: Yasuo. | ||||
* | Remove allow_url_fopen checks from the user streams code. | Wez Furlong | 2002-09-23 | 1 | -6/+0 |
| | | | | | | | | Rationale: user streams might not be implementing network access, and the administrator can disable the file_register_wrapper function and other network access functions if s/he does not want to allow this functionality. | ||||
* | Revise buffer/seek code a little. | Wez Furlong | 2002-09-23 | 1 | -28/+68 |
| | | | | | | Tidy up user streams even more. Make test case quite aggressive. | ||||
* | Implement read buffering in streams. | Wez Furlong | 2002-09-23 | 1 | -92/+35 |
| | | | | | | | | | | | | 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. | ||||
* | Tidy up some user stream code. | Wez Furlong | 2002-09-18 | 1 | -10/+17 |
| | | | | | Add a small test case (not yet complete). | ||||
* | Tag user streams as being URLs, so that safe mode restrictions | Wez Furlong | 2002-09-07 | 1 | -0/+1 |
| | | | | | will come into play. | ||||
* | use php_error_docref() | Marcus Boerger | 2002-08-25 | 1 | -5/+5 |
| | |||||
* | these are case sensitive | Sascha Schumann | 2002-05-04 | 1 | -1/+1 |
| | |||||
* | touch. | James Cox | 2002-05-04 | 1 | -1/+1 |
| | |||||
* | add $id:$ line | James Cox | 2002-05-04 | 1 | -0/+2 |
| | |||||
* | call_result is set but never used | Sascha Schumann | 2002-05-04 | 1 | -4/+2 |
| | |||||
* | Fix declarations (Thanks Sebastian) | Wez Furlong | 2002-04-11 | 1 | -2/+2 |
| | |||||
* | Implement stream context and status notification system. | Wez Furlong | 2002-04-10 | 1 | -2/+2 |
| | | | | | | Bump the BC for zlib notice to a warning # See my RFC to php-dev a few days ago | ||||
* | Fix ZE2 build. | Yasuo Ohgaki | 2002-03-29 | 1 | -1/+1 |
| | |||||
* | Phase 3 of OO wrapper cleanup | Wez Furlong | 2002-03-28 | 1 | -1/+4 |
| | | | | | # What was phase 2? | ||||
* | Phase 1 of wrapper OO cleanup. | Wez Furlong | 2002-03-24 | 1 | -6/+12 |
| | | | | | # Collecting underpants | ||||
* | Streams are all tracked as resources now. | Wez Furlong | 2002-03-20 | 1 | -1/+1 |
| | | | | | | Add some logic that will help track down leaks when debug is enabled. | ||||
* | make buffer length warnings more verbose | Wez Furlong | 2002-03-19 | 1 | -4/+5 |
| | |||||
* | register some constants for user streams | Wez Furlong | 2002-03-19 | 1 | -2/+12 |
| | |||||
* | correct copy/paste typo | Wez Furlong | 2002-03-19 | 1 | -1/+1 |
| | |||||
* | avoid possible buffer overruns when write returns a value larger than the buffer | Wez Furlong | 2002-03-19 | 1 | -0/+7 |
| | |||||
* | Make file_get_wrapper_data return the underlying PHP object for | Wez Furlong | 2002-03-19 | 1 | -0/+4 |
| | | | | | user-space streams. | ||||
* | Implement user-space streams. | Wez Furlong | 2002-03-19 | 1 | -0/+484 |
There's probably room for improvement, docs will following some time this week. |