summaryrefslogtreecommitdiff
path: root/main/streams
Commit message (Collapse)AuthorAgeFilesLines
...
* | | - Fixed bug 55124, recursive mkdir fails with current (dot) directory in pathPierre Joye2011-07-261-14/+7
| | |
* | | - Fixed bug #52935 (call exit in user_error_handler cause stream relate core).Gustavo André dos Santos Lopes2011-07-051-0/+10
| | |
* | | Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning).Ilia Alshanetsky2011-06-051-1/+1
| | |
* | | Fixed bug #54946 (stream_get_contents infinite loop)Hannes Magnusson2011-05-291-0/+3
| | |
* | | implement streams metadata API per RFCStanislav Malyshev2011-05-252-83/+281
|/ /
* | - Fixed accidental change.Gustavo André dos Santos Lopes2011-05-011-1/+1
| |
* | - Fixed bug #54623 (Segfault when when writing to a persistent socket afterGustavo André dos Santos Lopes2011-05-011-3/+26
| | | | | | | | | | closing a copy of the socket).
* | Fix common typos in the source code (Reported in Bug #54065)Pierrick Charron2011-04-032-2/+2
| | | | | | | | | | | | | | # External libraries were excluded # Thanks eitan at eitanadler dot com for the first patch :)
* | - Make fclose() actually close stream, even when the resource refcount is > 1.Gustavo André dos Santos Lopes2011-03-211-4/+9
| | | | | | | | | | | | | | | | | | | | | | This reverts the fix for bug #24557. - Make php_stream_free delete the stream from the resources list, not merely decrease its refcount, as a single call to zend_list_delete does. #Not worth the risk merging to 5.3. While change #2 may prevent some segfaults, #a quick and dirty survey to the codebase only showed calls to php_stream_close #or php_stream_free on streams allocated in the same function, which would have #refcount == 1. May be reconsidered.
* | - PHP_STREAM_OPTION_WRITE_BUFFER no longer disables the read buffer of a plainGustavo André dos Santos Lopes2011-02-192-7/+0
| | | | | | | | | | | | | | | | | | | | stream when 0 is given as the value. - PHP_STREAM_OPTION_WRITE_BUFFER no longer changes the chunk size in socket streams. - Added stream_set_chunk_size() function. - Some signedness fixes. - Test for commit r308474, now that it's possible to actually test it.
* | - Changed return value in userspace stream set_option to "not implemented",Gustavo André dos Santos Lopes2011-02-181-12/+12
| | | | | | | | | | | | | | | | | | | | instead of failure. #Currently, there's no way to test this, because the only operations that have #a default implementation, set_chunk_size and set_read_buffer are either not #exposed or, in the 2nd case, completely delegated to the user implementation, #which can only return true/false, not "not implemented" (and not implementing #the set_option method in the userspace stream results in error).
* | - Classes that implement stream wrappers can define a method calledGustavo André dos Santos Lopes2011-02-171-0/+52
| | | | | | | | | | | | stream_truncate that will respond to truncation, e.g. through ftruncate. Closes feature request #53888.
* | Fix bug #53913 (Streams functions assume HAVE_GLOB is defined). Patch by ChrisAdam Harvey2011-02-041-0/+2
| | | | | | | | | | Jones.
* | - Fixed bug #53903 (userspace stream stat callback does not separate theGustavo André dos Santos Lopes2011-02-011-0/+1
| | | | | | | | | | elements of the returned array before converting them).
* | - Fixed several comparisons that always result in true of falseGustavo André dos Santos Lopes2011-02-012-11/+15
| | | | | | | | | | | | | | due to signedness of one of the operands, either by removing dead code or fixing it. - Thrown some comments around in php_stream_get_record. - See http://www.mail-archive.com/internals@lists.php.net/msg49525.html
* | - don't continue if no valid option valuePierre Joye2011-01-201-0/+2
| |
* | - no need of assert herePierre Joye2011-01-201-2/+3
| |
* | Fixed variable re-declarationIlia Alshanetsky2011-01-131-2/+2
| |
* | - Year++Felipe Pena2011-01-0118-18/+18
| |
* | - Reverted unintended change.Gustavo André dos Santos Lopes2010-11-191-1/+1
| |
* | - Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking theGustavo André dos Santos Lopes2010-11-151-0/+5
| | | | | | | | stream).
* | - Added leak_variable() function.Gustavo André dos Santos Lopes2010-11-152-15/+82
| | | | | | | | | | | | | | - Added mechanism to force outer streams to be closed before their inner ones. - Fixed temp:// streams only handling correctly (through an ad hoc mechanism) reverse closing order when the inner stream is of type memory.
* | - Renamed php_stream_rep_nonstand_mode to Gustavo André dos Santos Lopes2010-11-053-4/+11
| | | | | | | | | | | | 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 failsGustavo André dos Santos Lopes2010-11-052-2/+52
| | | | | | | | with streams opened with, inter alia, the 'xb' mode).
* | - Fixed forward stream seeking emulation in streams that don't support seekingGustavo André dos Santos Lopes2010-10-131-9/+7
| | | | | | | | | | | | | | | | | | in situations where the read operation gives back less data than requested and when there was data in the buffer before the emulation started. Also made more consistent its behavior -- should return failure every time less data than was requested was skipped. - Small performance improvement by correcting off-by-one error that generate an invalid call to the seek handler or read handler. in _php_stream_seek.
* | - use TSRMLS_D/C with php_stream_context_allocPierre Joye2010-09-161-1/+1
| |
* | - use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert, missing headerPierre Joye2010-09-161-1/+1
| |
* | - use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insertPierre Joye2010-09-162-3/+3
| |
* | - Fixed bug #49215 (make fails on glob_wrapper)Felipe Pena2010-09-101-0/+2
| |
* | - WSPierre Joye2010-09-011-2/+2
| |
* | - add lstat support for WindowsPierre Joye2010-09-012-2/+9
| |
* | Fixed compiler warnings in main/Kalle Sommer Nielsen2010-08-171-1/+1
| |
* | - #51854, fix logic (patch by Tjerk)Pierre Joye2010-05-181-1/+1
| |
* | Removed safe_modeKalle Sommer Nielsen2010-04-263-77/+4
| | | | | | | | | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
* | - WSPierre Joye2010-04-081-26/+26
|/
* add backlock socket context option for stream_socket_server(),Michael Wallner2010-03-112-2/+15
| | | | | which had a hardcoded backlog of 5 at two occurrances
* - get the right error on windowsPierre Joye2010-02-211-0/+4
|
* - prevent unexpectable behaviors (for the user) with invalid pathPierre Joye2010-02-071-21/+19
|
* - removed debug breakpoint and improve inline commentPierre Joye2010-01-271-2/+2
|
* - prevent bad things to happen when invalid path are passed to MoveFileExPierre Joye2010-01-271-1/+27
|
* - [DOC] #45986, bad file descriptor warning when rename is used with invalid ↵Pierre Joye2010-01-261-3/+10
| | | | path, add php_win32_docref2_from_error to display system error for non posix api
* - Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie ↵Jani Taskinen2010-01-191-9/+9
| | | | emulation)
* - WS + CS fixesJani Taskinen2010-01-191-41/+53
|
* Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams).Ilia Alshanetsky2010-01-181-0/+4
|
* Fixed bug #50657 (copy() with an empty (zero-byte) HTTP source succeeds but ↵Ilia Alshanetsky2010-01-061-1/+1
| | | | returns false).
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-0318-18/+18
|
* remove automatic file unlocking on shutdown and/or stream closeAntony Dovgal2009-12-251-3/+0
| | | | | | (make it win32-specific for 5_2, as discussed with Ilia)
* fix bug #50196Stanislav Malyshev2009-12-191-0/+4
|
* MFT: VC10 build supportKalle Sommer Nielsen2009-12-031-1/+4
|
* - Switching to TSRMLS_FETCH versionFelipe Pena2009-11-163-3/+4
|