Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Fixed bug #61253: Wrappers opened with errors concurrency problem | Gustavo André dos Santos Lopes | 2012-03-08 | 1 | -2/+2 |
| | | | | | | | | | | #NOTE: There is a very small possibility that this will further break #extensions that access wrapper->{err_stack, err_count}. On PECL SVN, rar is the #only one and it may leak memory after this. I say "further break" because #extensions that do that are already broken (will segfault) under ZTS, which is #why this patch is necessary. #There was what I deem as tacit acceptance from 5.3/5.4 RMs on this. | ||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | Fixed bug #53541 (format string bug in ext/phar). | Ilia Alshanetsky | 2010-12-14 | 1 | -3/+11 |
| | |||||
* | - Renamed php_stream_rep_nonstand_mode to | Gustavo André dos Santos Lopes | 2010-11-05 | 1 | -6/+0 |
| | | | | | | php_stream_mode_sanitize_fdopen_fopencookie, made it not exported and movied it from php_streams.h to php_streams_int.h. | ||||
* | - Fixed bug #53241 (stream casting that relies on fdopen/fopencookie fails | Gustavo André dos Santos Lopes | 2010-11-05 | 1 | -0/+6 |
| | | | | with streams opened with, inter alia, the 'xb' mode). | ||||
* | Fix bug #52802 (Out-of-date comment for | Adam Harvey | 2010-09-10 | 1 | -4/+4 |
| | | | | | file_get_contents/php_stream_copy_to_mem) by updating the relevant comments. | ||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | MFH: Better fix for #47997 | Arnaud Le Blanc | 2009-04-19 | 1 | -4/+2 |
| | |||||
* | Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams) | Arnaud Le Blanc | 2009-04-19 | 1 | -0/+5 |
| | |||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | Cleanup: remove trailing whitespaces | Lars Strojny | 2008-12-13 | 1 | -18/+18 |
| | |||||
* | MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE | Antony Dovgal | 2008-07-23 | 1 | -1/+1 |
| | |||||
* | - MFH: 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 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | MFH streams stuff | Marcus Boerger | 2007-11-06 | 1 | -15/+24 |
| | |||||
* | MFH: Fixed compile warnings | Jani Taskinen | 2007-07-21 | 1 | -1/+1 |
| | |||||
* | Added ability to create local or remote (URL) user streams | Dmitry Stogov | 2007-07-09 | 1 | -0/+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) ] | ||||
* | MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks | Antony Dovgal | 2007-02-21 | 1 | -0/+2 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | - 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() | ||||
* | Add stream_wrapper_unregister() | Sara Golemon | 2004-09-10 | 1 | -0/+2 |
| | | | | | | | | | Disables a wrapper (user-defined or built-in) for the life of the request. Add stream_wrapper_restore() Restores the wrapper originally defined at the time the request started to the protocol name mentioned. | ||||
* | BugFix#28868 (Part Two): This fixes thread unsafety in the userspace | Sara Golemon | 2004-06-21 | 1 | -1/+3 |
| | | | | | filters which relates to the fix just applied for userspace wrappers. | ||||
* | BugFix#28868: Wrapper hash not thread-safe. | Sara Golemon | 2004-06-21 | 1 | -1/+3 |
| | | | | | | | | Userdefined wrappers were being registered into a global wrapper hash which can cross threads. Termination of once instance then has the potential to leave an active stream in another instance with no wrapper leading to segfault. | ||||
* | wrap all PHPAPI prototypes into BEGIN_EXTERN_C/END_EXTERN_C blocks | Hartmut Holzgraefe | 2004-02-20 | 1 | -0/+17 |
| | | | | | (else they won't be usable from C++ extensions) | ||||
* | 'Bug Fix': scandir, being a new function in PHP5 should have always been ↵ | Sara Golemon | 2004-01-28 | 1 | -0/+7 |
| | | | | wrapper aware. | ||||
* | - Happy new year and PHP 5 for rest of the files too.. | foobar | 2004-01-08 | 1 | -2/+2 |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? | ||||
* | Fix Win32 Build. mkdir/rmdir are macros | Sara Golemon | 2003-12-13 | 1 | -2/+2 |
| | |||||
* | Route mkdir()/rmdir() via wrapper ops. | Sara Golemon | 2003-12-13 | 1 | -0/+17 |
| | | | | | | Move current rmdir()/rmdir() code to plain_wrappers.c Implement mkdir()/rmdir() in ftp:// wrapper | ||||
* | Route rename() via wrapper ops. | Sara Golemon | 2003-12-12 | 1 | -0/+3 |
| | | | | | | | Move current rename() code to main/streams/plain_wrapper.c Implement ftp/rename() Implement userstreams/rename() | ||||
* | Move safemode/basedir checks for url_stat to plain_wrapper. | Sara Golemon | 2003-12-01 | 1 | -0/+1 |
| | |||||
* | Route php_stat() via streams/url_stat API (php_stream_stat_path). | Sara Golemon | 2003-11-28 | 1 | -3/+7 |
| | | | | | This enables fopen-wrappers support on stat() and related family calls. | ||||
* | port "liveness" checks and a couple of other things from the 4.3 branch. | Wez Furlong | 2003-11-27 | 1 | -0/+4 |
| | | | | | | Liveness checks are used to validate persistent socket connects when they are re-used. | ||||
* | - Always store the URI path in the streams structure, and expose it with | Derick Rethans | 2003-11-03 | 1 | -1/+1 |
| | | | | | stream_get_meta_data(). | ||||
* | Finalize the closing process of persistent streams. The current | Ilia Alshanetsky | 2003-07-29 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | behavior/API is as follows: 1) To close a persistent use php_stream_pclose(), it will close the stream and remove it from the persistent list. 2) Inside PHP code only explicit fclose() will close persistent streams, all other actions such as unset() or assigning a value to stream handle will not. 3) Regular streams can still be closed by either fclose(), unset() or an assignment of a value to the stream handler. | ||||
* | Merge selectable descriptor casting from PHP_4_3 branch. | Wez Furlong | 2003-06-28 | 1 | -0/+2 |
| | |||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -3/+3 |
| | |||||
* | Fold 'options' parameter into wops->unlink method | Sara Golemon | 2003-05-14 | 1 | -1/+1 |
| | |||||
* | Setup unlink() method in wrapper_ops structure, implement unlink in ↵ | Sara Golemon | 2003-05-14 | 1 | -0/+3 |
| | | | | plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops | ||||
* | Macro: php_stream_get_from_zval(php_stream *stream, zval **zstream, char ↵ | Sara Golemon | 2003-04-17 | 1 | -0/+6 |
| | | | | *mode, int options, char **opened_path, php_stream_context *context) Z_TYPE_PP(zstream) can be either IS_RESOURCE (An already opened stream) or IS_STRING (a path to a stream to be opened) | ||||
* | Implement persistent plain file streams. | Wez Furlong | 2003-03-18 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | Usage: php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL, STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS); the filename and mode are combined to form the hash key for the persistent list; they must be identical for this same stream to be returned again in the next request. Calling php_stream_close() on a persistent stream *will* close it, as is usual with all persistent resources in PHP/ZE. This is deliberately *not* exposed to user-space PHP at this time. |