summaryrefslogtreecommitdiff
path: root/ext/mbstring
Commit message (Collapse)AuthorAgeFilesLines
* s/PHP 5/PHP 7/Johannes Schlüter2014-09-198-8/+8
|
* simplify conditionAnatol Belski2014-09-191-1/+1
|
* fix empty string checkAnatol Belski2014-09-191-1/+1
|
* remove useless conditionAnatol Belski2014-09-191-1/+1
|
* redo the fix casting to size_t where applicableAnatol Belski2014-09-162-2/+2
|
* fix signed/unsigned mismatch warningsAnatol Belski2014-09-161-2/+2
|
* fixed signed/unsigned mismatch warningAnatol Belski2014-09-161-1/+1
|
* Fix yy_limit computation after encoding switchNikita Popov2014-09-112-6/+0
| | | | | | | | | | The three assignments above this line are still broken - they assume that byte offsets in one encoding directly map to byte offsets in another encoding. I'm fixing the length here because it is the one causing out-of-bounds reads and is easy to fix. For the others we'd have to actually compute new offsets.
* Remove self-contradictory zend multibyte assertionNikita Popov2014-09-112-2/+3
| | | | | Code that explicitly exists to handle an incompatible internal encoding should not assert that the internal encoding is compatible.
* Revert "Removing ext/ereg and dependencies"Dmitry Stogov2014-09-116-7/+41
| | | | This reverts commit 86de7963fe69638431c0aa8f413d25e01bf99d68.
* Removing ext/ereg and dependenciesTjerk Meesters2014-09-116-41/+7
| | | | | | | | | | | | Affected extensions: - opcache (use pcre) - mbstring (removed ereg functions overloading) - pgsql (use pcre) - reflection (test cases using 'ereg') SAPI: - apache (header only) - apache_hooks (header only)
* Refactored INI subsystem to use zend_string* instead of char*Dmitry Stogov2014-09-011-21/+19
|
* 's' works with size_t round 3Anatol Belski2014-08-272-26/+28
|
* 's' works with size_t round 2Anatol Belski2014-08-271-2/+2
|
* first show to make 's' work with size_tAnatol Belski2014-08-272-28/+29
|
* Fix mbstring overloads in ztsNikita Popov2014-08-271-3/+6
|
* Unused varialeXinchen Hui2014-08-261-1/+0
|
* master renames phase 7PRE_AST_MERGEAnatol Belski2014-08-252-9/+9
|
* master renames phase 3Anatol Belski2014-08-251-1/+1
|
* master renames phase 1Anatol Belski2014-08-253-86/+86
|
* fixes to %pd format usageAnatol Belski2014-08-241-1/+1
|
* fixed incompatible types usageAnatol Belski2014-08-201-1/+1
|
* ported ext/mbstringAnatol Belski2014-08-192-22/+22
|
* basic macro replacements, all at onceAnatol Belski2014-08-192-64/+64
|
* Merge branch 'PHP-5.6'Lior Kaplan2014-08-171-1/+1
|\ | | | | | | | | | | | | | | | | * PHP-5.6: Correct typo in comments: 'initialized' Conflicts: ext/dom/php_dom.c ext/spl/php_spl.c
| * Merge branch 'PHP-5.5' into PHP-5.6Lior Kaplan2014-08-171-1/+1
| |\ | | | | | | | | | | | | * PHP-5.5: Correct typo in comments: 'initialized'
| | * Merge branch 'PHP-5.4' into PHP-5.5Lior Kaplan2014-08-171-1/+1
| | |\ | | | | | | | | | | | | | | | | * PHP-5.4: Correct typo in comments: 'initialized'
| | | * Correct typo in comments: 'initialized'Lior Kaplan2014-08-171-1/+1
| | | |
| | | * tests still failing, so xfail for now until fixedStanislav Malyshev2014-01-292-2/+4
| | | |
| | * | put this test back to XFAIL, as it was before, since it is still leaking memoryFerenc Kovacs2014-04-291-0/+2
| | | |
| | * | tests still failing, so xfail for now until fixedStanislav Malyshev2014-01-292-2/+4
| | | |
* | | | typofixesVeres Lajos2014-08-171-2/+2
| | | |
* | | | Implemented builtin instruction for strlen()Dmitry Stogov2014-07-111-0/+2
| | | |
* | | | Removed EG(active_symbol_table) and use corresponding value from ↵Dmitry Stogov2014-07-041-4/+3
| | | | | | | | | | | | | | | | EG(current_execute_data)
* | | | Merge branch 'master' into phpngDmitry Stogov2014-06-121-14/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (77 commits) NEWS entry for Fix potential segfault in dns_get_record() NEWS entry for "Fix potential segfault in dns_get_record()" NEWS entry for Fix potential segfault in dns_get_record( Fix potential segfault in dns_get_record() Revert "Add optional second arg to unserialize()" 5.5.15 now update NEWS Fix bug #66127 (Segmentation fault with ArrayObject unset) 5.4.31 next Add NEWS. This doesn't need UPGRADING (or an RFC), IMO. Fix broken test. Add a mime type map generation script and update the header. Move the mime type map out of php_cli_server.c for easier generation. Replace the CLI server's linear search for extensions with a hash table. fix test Remove unused included file NEWS NEWS NEWS Fixed Bug #67413 fileinfo: cdf_read_property_info insufficient boundary chec ... Conflicts: Zend/zend_closures.c Zend/zend_execute.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/spl/spl_array.c ext/standard/basic_functions.c ext/standard/dns.c ext/standard/var.c
| * | | Removed another cvsclean fileSobak2014-06-081-14/+0
| | | |
* | | | Use reference counting instead of zval duplicationDmitry Stogov2014-06-052-4/+4
| | | |
* | | | Use new zend_hash APIDmitry Stogov2014-05-281-25/+6
| | | |
* | | | Merge branch 'master' into phpngDmitry Stogov2014-05-132-3/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | Fixed test for commit 997be125eb0228c5b1b6dd278f617791e71192c6Yasuo Ohgaki2014-05-121-1/+2
| | | |
| * | | Fixed bug #67199 mb_regex_encoding mishmashYasuo Ohgaki2014-05-121-2/+2
| | | |
| * | | XFAIL the leaking multibyte tests, we should really get to the bottom of thisFerenc Kovacs2014-05-013-0/+9
| | | |
* | | | Make they are in the same style of Z_ISREFXinchen Hui2014-05-032-6/+6
| | | |
* | | | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-2619-513/+343
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | multibytes tests still fail, put them in XFAILStanislav Malyshev2014-04-055-9/+4
| | | | | | | | | | | | | | | | clean up XFAIL from tests no longer failing
| * | | Remove unneeded string copy.Yasuo Ohgaki2014-03-271-4/+32
| | | | | | | | | | | | | | | | | | | | Allow to set ''(empty string values) internal/input/output_encoding for better compatibility. i.e. Runtime INI value changes. More compliance to the RFC. Improve/add encoding handling tests. i.e. Rather than set encoding automagic way, detect it.
| * | | Merge branch 'pull-request/622' into PHP-5.6Yasuo Ohgaki2014-03-1910-6/+26
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/622: Fixed typo Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encoding
| | * | | Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encodingYasuo Ohgaki2014-03-1210-6/+26
| | | | |
| * | | | updated to oniguruma to 5.9.5Anatol Belski2014-03-158-448/+178
| |/ / /
| * | | a few typofixesVeres Lajos2014-02-141-1/+1
| | | |