summaryrefslogtreecommitdiff
path: root/ext/standard/streamsfuncs.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | fixes to %pd format usageAnatol Belski2014-08-241-2/+2
| | | |
* | | | yet more fixes to zppAnatol Belski2014-08-201-38/+38
| | | |
* | | | further fixes on coreAnatol Belski2014-08-161-1/+1
| | | |
* | | | fix macros in the 5 basic extensionsAnatol Belski2014-08-161-23/+23
| | | |
* | | | cleanup (use zend_string* instead of char*)Dmitry Stogov2014-08-131-39/+20
| | | |
* | | | Make stream->context indirect trough zend_resource (stream->ctx->ptr).Dmitry Stogov2014-08-071-3/+4
| | | | | | | | | | | | | | | | Fixed ext/standard/tests/streams/bug61115.phpt
* | | | Merge branch 'master' into testDmitry Stogov2014-07-071-0/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (48 commits) change locale - looks like not everybody has sl_SI Fix bug #66921 - Wrong argument type hint for function intltz_from_date_time_zone fix format Fix bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting) Make sure the generator script also creates a newline at the end of file Add newline at end of file to prevent compilation warning Fix handling of session user module custom handlers. Reference bug report instead of github issue in NEWS file add more exts for Travis Update NEWS Fix phpdbg.1 man page installation when build != src directory BFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir) reorder restore API compatibility finish refactor php_stream_temp_create{,_ex} and use it for the php://input stream refactor _php_stream_fopen_{temporary_,tmp}file() fix length overflow of HTTP_RAW_POST_DATA Update NEWS Fixed bug #67215 (php-cgi work with opcache, may be segmentation fault happen) ... Conflicts: ext/opcache/zend_accelerator_util_funcs.c ext/session/mod_user.c ext/spl/spl_array.c ext/spl/spl_dllist.c ext/standard/file.c ext/standard/streamsfuncs.c ext/standard/string.c main/streams/memory.c
| * | | Merge branch 'PHP-5.5' into PHP-5.6Michael Wallner2014-07-021-1/+5
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.5: fix integer overflow in {stream,file}_{get,put}_contents()
| | * | Merge branch 'PHP-5.4' into PHP-5.5Michael Wallner2014-07-021-1/+5
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-5.4: fix integer overflow in {stream,file}_{get,put}_contents()
| | | * fix integer overflow in {stream,file}_{get,put}_contents()Michael Wallner2014-07-021-1/+5
| | | |
| | | * Bump yearXinchen Hui2014-01-031-1/+1
| | | |
| | | * Merge branch 'pull-request/341'Stanislav Malyshev2013-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | * pull-request/341: (23 commits) typofixes
| | * | Bump yearXinchen Hui2014-01-031-1/+1
| | | |
* | | | Use reference counting instead of zval duplicationDmitry Stogov2014-06-051-7/+5
| | | |
* | | | Merge branch 'master' into phpngDmitry Stogov2014-05-131-6/+16
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (41 commits) fix test - output can be chunked fix test fix test Fixed test for commit 997be125eb0228c5b1b6dd278f617791e71192c6 Add bug fix to NEWS Update UPGRADING according to bug fix fix test improve CURL tests to allow testing without separate server improve CURL tests to allow testing without separate server Fixed bug #67199 mb_regex_encoding mishmash Fix bug #67248 (imageaffinematrixget missing check of parameters) Fix bug #67247 spl_fixedarray_resize integer overflow fix news add tests stuff to README Updated NEWS Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245) Linux apparently does not like memcpy in overlapping regions... - Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org) - Move checking - Fixed missing NULL check in SimpleXMLElement::xpath() - Fixed missing NULL check ... Conflicts: ext/bz2/bz2.c ext/gd/gd.c ext/mbstring/php_mbregex.c ext/session/tests/031.phpt ext/simplexml/simplexml.c ext/spl/spl_fixedarray.c
| * | | Bug #67224: stream_socket_enable_crypto()Daniel Lowrey2014-05-071-6/+16
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Allow crypto_method context value in stream_socket_enable_crypto() - As of 5.6.x stream crypto type may be specified in the SSL context, making the $crypto_type parameter to stream_socket_enable_crypto() optional. This commit checks for a crypto type in the context prior to erroring out. - Update NEWS/UPGRADING
| | * | | Allow crypto_method context value in stream_socket_enable_crypto()Chris Wright2014-02-271-6/+16
| | | | |
* | | | | Make they are in the same style of Z_ISREFXinchen Hui2014-05-031-1/+1
| | | | |
* | | | | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-22/+9
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * | | | remove obsolete commentAnatol Belski2014-03-191-3/+0
| | | | |
| * | | | Fixes to various stream cast on win64Anatol Belski2014-03-191-12/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | This fixes further issues on win64 with casts from the streams. Sockets/descriptors handling was unitized. This has an impact only on win64, php_socket_t otherwise can be feed back to int datatype.
* | | | Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of ↵Dmitry Stogov2014-04-181-58/+24
| | | | | | | | | | | | | | | | zend_hash_move_forward() and family.
* | | | Cleanup (2-nd round)Dmitry Stogov2014-04-151-7/+11
| | | |
* | | | Cleanup (1-st round)Dmitry Stogov2014-04-151-5/+5
| | | |
* | | | Fixed GCDmitry Stogov2014-04-091-0/+1
| | | |
* | | | Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and ↵Dmitry Stogov2014-04-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | family require second argument to be real pointer. &(ht)->nInternalPointer should be passed instead of NULL. zend_hash_update_current_key() may work only with internal pointer.
* | | | Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), ↵Dmitry Stogov2014-04-031-1/+1
| | | | | | | | | | | | | | | | candidate for GC, etc)
* | | | Changed data layout to allow more efficient operationsDmitry Stogov2014-04-021-2/+2
| | | |
* | | | Avoid unnecessry reallocationsDmitry Stogov2014-04-011-4/+2
| | | |
* | | | Fixed stream_filter_remove()Dmitry Stogov2014-03-181-1/+1
| | | |
* | | | Fixed stream notifierDmitry Stogov2014-03-181-10/+9
| | | |
* | | | Fixed refcountingDmitry Stogov2014-03-141-2/+2
| | | |
* | | | Fixed bug codes in stream_resolve_include_path....Xinchen Hui2014-03-071-0/+1
| | | |
* | | | Fixed memory leak (ext/standard/tests/file/stream_002.phpt)Xinchen Hui2014-03-051-0/+3
| | | |
* | | | Fixed segfaultXinchen Hui2014-03-051-3/+5
| | | |
* | | | Refactor stream_get_record to return zend_stringXinchen Hui2014-03-051-5/+3
| | | |
* | | | Fixed stream_castXinchen Hui2014-03-051-3/+1
| | | |
* | | | Fixed stream_select (incompeleted)Xinchen Hui2014-03-041-0/+4
| | | |
* | | | Wrong type checkXinchen Hui2014-03-031-1/+1
| | | |
* | | | Fixed user stream filtersDmitry Stogov2014-02-281-0/+1
| | | |
* | | | Fixed memory leakXinchen Hui2014-02-261-1/+2
| | | |
* | | | Refactoring php_stream_copy_to_mem to return zend_stringXinchen Hui2014-02-241-9/+3
| | | |
* | | | Refactor php_addslashes using zend_stringXinchen Hui2014-02-241-3/+3
| | | |
* | | | Use better data structures (incomplete)Dmitry Stogov2014-02-141-141/+129
|/ / /
* | | Bump yearXinchen Hui2014-01-031-1/+1
|/ /
* | HASH_KEY_NON_EXISTANT fixVeres Lajos2013-07-211-2/+2
| |
* | Merge branch 'pull-request/341'Stanislav Malyshev2013-06-101-1/+1
|/ | | | | * pull-request/341: (23 commits) typofixes
* better fix for bug #64770Anatol Belski2013-05-041-4/+17
|
* Merge branch 'PHP-5.3' into PHP-5.4Anatol Belski2013-05-031-2/+2
|\ | | | | | | | | * PHP-5.3: Fixed bug #64770 stream_select() fails with pipes
| * Fixed bug #64770 stream_select() fails with pipesAnatol Belski2013-05-031-2/+2
| | | | | | | | returned by proc_open() on Windows x64