Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | Fixed a bug in parameter passing/conversion API which caused tons of memleak ↵ | Dmitry Stogov | 2009-09-23 | 1 | -28/+8 |
| | | | | and was the reason of ~1500 test failurs | ||||
* | fix segfault when running run-tests.php, and general potential for corruption | Greg Beaver | 2009-07-31 | 1 | -0/+1 |
| | | | | | by calling php_stream_path_encode for unicode strings, php_stream_path_param_encode decrements the refcount, but never restores it, which can cause freeing of zvals before they are done being used. | ||||
* | un-duplicated code (merged unicode/string variants of stream_copy_to_stream | Arnaud Le Blanc | 2009-05-17 | 1 | -0/+6 |
| | | | | | and let the compiler optimize specializations) | ||||
* | Better fix for #47997 | Arnaud Le Blanc | 2009-04-19 | 1 | -7/+5 |
| | |||||
* | MFB5.3: Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams) | Arnaud Le Blanc | 2009-04-19 | 1 | -0/+11 |
| | |||||
* | - This is PHP 6 - if this ... ever gets out | Marcus Boerger | 2009-03-10 | 1 | -1/+1 |
| | |||||
* | Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | MFB: Remove trailing whitespaces | Lars Strojny | 2008-12-13 | 1 | -17/+17 |
| | |||||
* | invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE | Antony Dovgal | 2008-07-23 | 1 | -1/+1 |
| | |||||
* | - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) | Felipe Pena | 2008-07-22 | 1 | -0/+2 |
| | |||||
* | closeder/readdir/rewinddir must work only with directories | Dmitry Stogov | 2008-06-11 | 1 | -0/+2 |
| | |||||
* | Added ability to use stream wrappers in include_path | Dmitry Stogov | 2008-03-27 | 1 | -0/+3 |
| | |||||
* | Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | Added macros for managing zval refcounts and is_ref statuses | Yiduo (David) Wang | 2007-10-07 | 1 | -6/+6 |
| | |||||
* | - Fix compile warnings | Jani Taskinen | 2007-07-21 | 1 | -1/+1 |
| | |||||
* | wrong comments | Dmitry Stogov | 2007-07-09 | 1 | -1/+1 |
| | |||||
* | Added ability to create local or remote (URL) user streams | Dmitry Stogov | 2007-07-03 | 1 | -1/+6 |
| | | | | | | | | | | | | | Local user streams must not be able to open(), URLs if allow_url_include is off Implemented new function stream_is_local() [ - stream_wrapper_register() extended with additional optional argument "flags" of type long. This time only one flag is implemented - STREAM_IS_URL, that means that userstream wrapper is remote (URL). By default stream is local. - stream_is_local() is a new function that accepts stream and tell if this stream is local or remote (URL) ] | ||||
* | - One more tab to go | Marcus Boerger | 2007-03-03 | 1 | -1/+1 |
| | |||||
* | - Change to hex to help read-/maintainability | Marcus Boerger | 2007-03-03 | 1 | -14/+15 |
| | |||||
* | - Add glob stream wrapper | Marcus Boerger | 2007-03-03 | 1 | -0/+4 |
| | |||||
* | implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks in plain wrapper | Antony Dovgal | 2007-02-21 | 1 | -0/+2 |
| | |||||
* | Expand allow_url_fopen/allow_url_include functionality | Sara Golemon | 2007-01-24 | 1 | -1/+9 |
| | |||||
* | - Add more unicode stuff | Marcus Boerger | 2007-01-16 | 1 | -0/+2 |
| | |||||
* | - Help streams debugging | Marcus Boerger | 2007-01-15 | 1 | -0/+5 |
| | |||||
* | Add convenience function for openeing files with unicode names | Sara Golemon | 2007-01-10 | 1 | -0/+6 |
| | |||||
* | Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | fix php_stream_u_get_line() macro | Antony Dovgal | 2006-12-27 | 1 | -1/+1 |
| | |||||
* | eliminate a couple of compile warnings | Antony Dovgal | 2006-11-09 | 1 | -4/+4 |
| | |||||
* | int -> size_t | Antony Dovgal | 2006-10-03 | 1 | -1/+1 |
| | |||||
* | Try out simplified API for encoding paths/filenames | Sara Golemon | 2006-10-02 | 1 | -0/+55 |
| | |||||
* | PHP6 Updates for popen() and related functionality | Sara Golemon | 2006-09-24 | 1 | -0/+1 |
| | |||||
* | Update stream_copy_to_stream() for PHP6 | Sara Golemon | 2006-09-22 | 1 | -2/+5 |
| | |||||
* | Remove ZSTR() from stream macros. Calling function must apply this macro | Frank M. Kromann | 2006-04-28 | 1 | -4/+4 |
| | |||||
* | Fix copy/paste typo in php_stream_path_decode() proto | Sara Golemon | 2006-04-18 | 1 | -1/+1 |
| | |||||
* | Add API hooks and unicode.filesystem_encoding for handling unicode | Sara Golemon | 2006-03-31 | 1 | -0/+18 |
| | | | | | | | | | | conversions of filename entries. Normal path conversions will simply use this converter, Certain other protocols (such as http) which specify a required character set (utf8), may override the conversion by defining a path_encode() and/or path_decode() wrapper ops method. | ||||
* | Make php_stream_copy_to_mem() unicode aware and | Sara Golemon | 2006-03-30 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | update userspace function file_get_contents(). Note: fgc()'s second parameter (use_include_path) has been changed to be a bitmask "flags" parameter instead. For the most commonly used values (TRUE, 1) this will continue functioning as expected since the value of FILE_USE_INCLUDE_PATH is (coincidentally) 1. The impact to other values should be noted in the migration6 guide. This change makes it possible to allow fgc() to return binary file contents (default) or unicode transcoded contents (using FILE_TEXT flag). | ||||
* | Another (and hopefully last) major streams commit. | Sara Golemon | 2006-03-29 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This moves unicode conversion to the filter layer (rather than at the lower streams layer) unicode_filter.c has been moved from ext/unicode to main/streams as it's an integral part of the streams unicode conversion process. There are now three ways to set encoding on a stream: (1) By context $ctx = stream_context_create(NULL,array('encoding'=>'latin1')); $fp = fopen('somefile', 'r+t', false, $ctx); (2) By stream_encoding() $fp = fopen('somefile', 'r+'); stream_encoding($fp, 'latin1'); (3) By filter $fp = fopen('somefile', 'r+'); stream_filter_append($fp, 'unicode.from.latin1', STREAM_FILTER_READ); stream_filter_append($fp, 'unicode.to.latin1', STREAM_FILTER_WRITE); Note: Methods 1 and 2 are convenience wrappers around method 3. | ||||
* | Add php_stream_get_record_unicde() API call. | Sara Golemon | 2006-03-24 | 1 | -0/+2 |
| | | | | | Update stream_get_line() userspace function to handle unicode streams. | ||||
* | More stream updates. | Sara Golemon | 2006-03-14 | 1 | -3/+7 |
| | | | | | | | | | | | fgets() will work now as will anything which calls one of the _php_stream_get_line() family of functions. The one exception here is when the legacy defines are used on a unicode stream. At the moment they'll simply return NULL, I'll update these to do sloppy conversion in a bit. 'make (u)test' still doesn't work, but it's a different doesn't work. | ||||
* | Refactor streams layer for PHP6. | Sara Golemon | 2006-03-13 | 1 | -22/+27 |
| | | | | | | | | | | Don't be frightened by the size of this commit. A significant portion of it is restoring the read buffer semantics back to what PHP4/5 use. (Or a close aproximation thereof). See main/streams/streams.c and ext/standard/file.c for a set of UTODO comments covering work yet to be done. | ||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | Unicode support. | Andrei Zmievski | 2005-08-11 | 1 | -5/+25 |
| | |||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | fix bugs #32742 (segmentation fault when the stream with a wrapper is not ↵ | Antony Dovgal | 2005-05-16 | 1 | -0/+1 |
| | | | | | | | closed), #32171 (Userspace stream wrapper crashes PHP) | ||||
* | Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so). | Ilia Alshanetsky | 2005-02-22 | 1 | -4/+4 |
| | |||||
* | Avoid bug where stream_copy_to_stream() call for precisely 2000000 bytes would | Wez Furlong | 2005-02-06 | 1 | -4/+2 |
| | | | | | | result in entire resource being copied. The mmap brake is already present inside mmap_range() and is set to 1MB. | ||||
* | Fixed bug #29801 (Set limit on the size of mmapable data). | Ilia Alshanetsky | 2004-11-15 | 1 | -2/+5 |
| | |||||
* | NETWARE has a proper stat structure Now no need of CLIB_STAT_PATCH checks | Anantha Kesari H Y | 2004-09-29 | 1 | -4/+0 |
| | |||||
* | Added stream_filter_remove() to cancel a stream filter. | Sara Golemon | 2004-09-14 | 1 | -0/+1 |
| | | | | | | | | | | 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() |