summaryrefslogtreecommitdiff
path: root/ext/spl
Commit message (Collapse)AuthorAgeFilesLines
* second shot on removing TSRMLS_*Anatol Belski2014-12-141-2/+2
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-1317-1287/+1287
|
* Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-12-063-6/+50
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (35 commits) Fixed bug #68398 msooxml matches too many archives Fix zpp call in apache_getenv() Drop unnecessary zval containers fixed test C89 compat add include for missing localeconv_r proto updated NEWS Fixed bug #65230 setting locale randomly broken Fix compilation error (ref #68424) Removed useless handlers Move checks for references into slow paths of operator functions. Remove duplicate opcode handlers. Revert unintentional docblock change Restored zip/oci8 PHP 4 code, add PHP 7 checks Note macro removal in UPGRADING.INTERNALS Removed ZEND_ENGINE_2 checks (and ZE1 code, it's been a decade!) Zend Engine 3 Updated NEWS Updated NEWS Updated NEWS Start adding new attribute to control multi statements ...
| * Merge branch 'PHP-5.6'Julien Pauli2014-12-053-6/+50
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Updated NEWS Updated NEWS Fixed #68479 - Added escape parameter to SplFileObject::fputcsv Conflicts: ext/spl/spl_directory.c
| | * Merge branch 'PHP-5.5' into PHP-5.6Julien Pauli2014-12-053-6/+50
| | |\ | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Updated NEWS Fixed #68479 - Added escape parameter to SplFileObject::fputcsv
| | | * Fixed #68479 - Added escape parameter to SplFileObject::fputcsvPeter Cowburn2014-12-053-6/+50
| | | |
* | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-12-054-26/+94
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (111 commits) Fix zend_fcall_info_arg*() to use ZVAL_COPY Fixed #65213 - cannot cast SplFileInfo to boolean add initial install switch to C travis project instead of PHP use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/) fix TS build add config option to target codegen architectures updated NEWS updated NEWS Fixed bug #55541 errors spawn MessageBox, which blocks test automation Get rid of duplicate handlers (ZEND_ADD_SPEC_TMP_TMP and ZEND_ADD_SPEC_VAR_VAR are absolutely the same). Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*. Fixed __debugInfo() support Update UPGRADING for the new variadic functions, and re-sort. Improved POST INC/DEC make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path Missed closed folder mark Revert "Unecessary assignment" Fixed improper memory release Unecessary assignment ...
| * | | Merge branch 'PHP-5.6'Tjerk Meesters2014-12-041-0/+13
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fixed #65213 - cannot cast SplFileInfo to boolean Conflicts: ext/spl/spl_directory.c
| | * | Merge branch 'PHP-5.5' into PHP-5.6Tjerk Meesters2014-12-042-0/+16
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-5.5: Fixed #65213 - cannot cast SplFileInfo to boolean
| | | * Fixed #65213 - cannot cast SplFileInfo to booleanTjerk Meesters2014-12-042-0/+16
| | | |
| * | | Merge branch 'PHP-5.6'Anatol Belski2014-12-011-3/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.6: one more refix to the test
| | * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-12-011-3/+3
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-5.5: one more refix to the test
| | | * one more refix to the testAnatol Belski2014-12-011-3/+3
| | | |
| * | | cleanup uneeded castRemi Collet2014-12-011-2/+2
| | | |
| * | | Merge branch 'PHP-5.6'Anatol Belski2014-12-011-3/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-5.6: fix dir separator in test
| | * | Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2014-12-011-3/+3
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-5.5: fix dir separator in test
| | | * fix dir separator in testAnatol Belski2014-12-011-3/+3
| | | |
| * | | Fix type of string lengths.Remi Collet2014-12-011-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those values are used in various call (including zpp) where a size_t is expected. This fix 82 failed test on ppc64 (bigendian is perfect to detect stack issue)
| * | | Merge branch 'PHP-5.6'Julien Pauli2014-11-292-20/+75
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: Updated NEWS Updated NEWS SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME Conflicts: ext/spl/spl_directory.c
| | * | Merge branch 'PHP-5.5' into PHP-5.6Julien Pauli2014-11-292-22/+77
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | * PHP-5.5: Updated NEWS SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME
| | | * SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAMEPaul Garvin2014-11-292-22/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently when you use RecursiveDirectoryIterator with the CURRENT_AS_PATHNAME flag PHP will throw an UnexpectedValueException with message 'Objects returned by RecursiveIterator::getChildren() must implement RecursiveIterator'.This happend because getChildren() will return the current directory name instead of an Iterator (or subclass of) as required by the RecursiveIterator interface. This commit changes getChildren() to return annother RecursiveDirectoryIterator but current() still returns the path name when CURRENT_AS_PATHNAME is used. A PHPT test case (bug66405.phpt) that reproduces the bug is included. This fix was originally against the PHP-5.4 branch, but it was not merged before 5.4 reached EOL. I am hoping to get it applied to 5.5, 5.6, and master.
| | * | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-234-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ext/ftp/ftp.h ext/pcre/pcrelib/pcre_printint.c ext/pcre/pcrelib/sljit/sljitLir.c ext/pcre/pcrelib/sljit/sljitLir.h ext/pcre/pcrelib/sljit/sljitNativeARM_32.c ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c ext/pgsql/pgsql.c ext/phar/func_interceptors.c ext/soap/soap.c ext/standard/image.c
* | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-11-264-4/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (102 commits) fix dir separator in test fix TS build fix TS build Better fix for bug #68446 Revert "Merge remote-tracking branch 'origin/PHP-5.6'" Revert NEWS and set test to XFAIL Revert "Fix bug #68446 (bug with constant defaults and type hints)" Improved zend_hash_clean() and added new optimized zend_symtable_clean() Use inline version of zval_ptr_dtor() Added new optimized zend_array_destroy() function Moved i_zval_ptr_dtor() from zend_execute.h to zend_variables.h fix REGISTER_NS_*_CONSTANT macros Removed useless assert. EG(uninitialized_zval) can't be refcounted. Use specialized destructors when types of zvals are known. move tests into proper place Improved assignment to object property Reuse zend_assign_to_variable() in zend_std_write_property() cleanup comments from svn/cvs era fix dir separator in test fork test for windows ...
| * | | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-234-4/+4
| | | |
* | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-11-188-35/+40
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (398 commits) NEWS add test for bug #68381 Fixed bug #68381 Set FPM log level earlier during init proper dllexport move to size_t where zend_string is used internally fix some datatype mismatches return after the warning, to fix uninitialized salt usage fix datatype mismatches add missing type specifier fix datatype mismatches fix unsigned check "extern" shouldn't be used for definitions joined identical conditional blocks simplify fpm tests SEND_VAR_NO_REF optimization Add test for bug #68442 Add various tests for FPM - covering recent bugs (68420, 68421, 68423, 68428) - for UDS - for ping and status URI - for multi pool and multi mode Include small MIT FastCGI client library from https://github.com/adoy/PHP-FastCGI-Client Get rid of zend_free_op structure (use zval* instead). Get rid of useless TSRMLS arguments. Add new FPM test for IPv4/IPv6 ... Conflicts: win32/build/config.w32
| * | | fix datatype mismatchAnatol Belski2014-10-291-1/+1
| | | |
| * | | fix datatype mismatchesAnatol Belski2014-10-292-7/+10
| | | | | | | | | | | | | | | | | | | | especially spl_dual_it_object current.pos should have the same datatype as limit.offset, also this doesn't increase the struct size.
| * | | fix the comparison return valueAnatol Belski2014-10-291-3/+3
| | | |
| * | | fix datatype mismatchAnatol Belski2014-10-291-6/+6
| | | |
| * | | fix datatype mismatchesAnatol Belski2014-10-291-3/+3
| | | |
| * | | fix datatype mismatch warningAnatol Belski2014-10-291-1/+1
| | | |
| * | | fix datatype mismatchesAnatol Belski2014-10-291-13/+15
| | | |
| * | | fix datatype mismatch warningsAnatol Belski2014-10-291-4/+4
| | | |
* | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-10-241-1/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (214 commits) fix datatype mismatch warnings fix datatype mismatches fix datatype mismatches fix datatype mismatches fix datatype mismatch warnings fix datatype mismatch warnings fix datatype mismatch warnings fix datatype mismatch warning fix datatype mismatches fix datatype mismatch warnings Re-add phpdbg to travis Added some NEWS Make xml valid (missing space between attrs) Fix info classes file name in xml Add note about <eval> tag for errors in xml.md Name the tag <eval> if the error id during ev cmd Do not print out xml as PHP print... Fix output to wrong function Fixed parameter order on %.*s Too much copypaste... ...
| * | | Embed FETCH_CLASS <string> into the following NEWDmitry Stogov2014-10-231-1/+3
| | | |
* | | | made ext/date and ext/spl use static tsrm ls cacheAnatol Belski2014-10-153-3/+3
|/ / /
* | | Merge branch 'PHP-5.6'Tjerk Meesters2014-10-148-285/+161
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * PHP-5.6: Fixed bug #68128 Conflicts: ext/spl/spl_iterators.c
| * | Merge branch 'PHP-5.5' into PHP-5.6Tjerk Meesters2014-10-148-283/+182
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: Fixed bug #68128
| | * Fixed bug #68128Tjerk Meesters2014-10-148-283/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Three issues are addressed: - RecursiveRegexIterator::accept() should accept non-empty arrays without applying any regular expression and RegexIterator::accept() should not accept an array. - RegexIterator::accept() should not accept an atom that fails to match anything, even when PREG_PATTERN_ORDER is used (which would return an array of empty arrays). - RecursiveRegexIterator::getChildren() should pass all constructor arguments to its child iterator instead of just the regular expression.
* | | Remove retval member in spl_dllistNikita Popov2014-10-121-6/+2
| | | | | | | | | | | | Seems pretty useless, unless I'm missing something?
* | | Remove zend_get_class_entry functionNikita Popov2014-10-091-1/+1
| | |
* | | Review a few more SEPARATE_ZVAL_IF_NOT_REF usagesNikita Popov2014-10-091-1/+1
| | |
* | | Replaced EG(This) and EX(object) with EX(This).Dmitry Stogov2014-10-032-5/+6
| | | | | | | | | | | | Internal functions now recieves zend_execute_data as the first argument.
* | | Move smart_str implementation into Zend/Nikita Popov2014-09-214-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | So we can use it there as well... For now I've retained the zend_smart_str_public.h header, though it would probably be better to just move that one struct into zend_types.h.
* | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-1922-22/+22
| | |
* | | Avoid double IS_INTERNED() checkDmitry Stogov2014-09-192-3/+2
| | |
* | | Fixed useless or duplicated IS_INTERNED() checksDmitry Stogov2014-09-191-1/+1
| | |
* | | reduce the struct size by 8 byte on 64 bitAnatol Belski2014-09-171-1/+1
| | |
* | | fix signed/unsigned mismatchAnatol Belski2014-09-161-1/+6
| | |
* | | reduce struct size by 8 byte on 64 bitAnatol Belski2014-09-141-4/+4
| | |