Commit graph

898 commits

Author SHA1 Message Date
Masaki Kagaya
bdb7a59a4b fix memory leak 2015-03-08 02:03:46 +09:00
Masaki Kagaya
2a3c08b834 fix php_mb_ord for better handling the value of MBSTRG(current_filter_illegal_substchar) 2015-03-08 02:03:45 +09:00
Masaki Kagaya
1033bad01e add php_mb_check_unicode_encoding 2015-03-08 02:03:45 +09:00
Masaki Kagaya
325faea56f rename php_mb_check_forbidden_encoding to php_mb_check_unsupported_encoding 2015-03-08 02:03:45 +09:00
Masaki Kagaya
2e97d7be3b changed the position of calling php_mb_check_forbidden_encoding 2015-03-08 02:03:44 +09:00
Masaki Kagaya
08443b2bab use php_mb_convert_encoding instead of php_mb_check_encoding 2015-03-08 02:03:44 +09:00
Masaki Kagaya
ae838e6e4c added various encoding support other than unicode 2015-03-08 02:03:44 +09:00
Masaki Kagaya
09b5bfc71a added check by php_mb_check_forbidden_encoding 2015-03-08 02:03:44 +09:00
Masaki Kagaya
32383114d5 added mb_chr 2015-03-08 02:03:44 +09:00
Masaki Kagaya
421f7fcfa8 added php_mb_check_forbidden_encoding 2015-03-08 02:03:43 +09:00
Masaki Kagaya
1c1c64a591 added support for various encodings other than unicode 2015-03-08 02:03:43 +09:00
Masaki Kagaya
590e6f0cda added utf16 and ucs2 for supported encodings 2015-03-08 02:03:43 +09:00
Masaki Kagaya
c55dea018f added check for forbidden encodings 2015-03-08 02:03:43 +09:00
Masaki Kagaya
f008db6f4c added utf32 and ucs4 for available encodings 2015-03-08 02:03:42 +09:00
Masaki Kagaya
f6be936e10 added mb_ord 2015-03-08 02:03:42 +09:00
Masaki Kagaya
5f41bff45b added php_mb_check_encoding 2015-03-08 02:03:42 +09:00
Adam Harvey
fea9a6fc77 Merge remote-tracking branch 'datibbaw/kill-ereg'
Conflicts:
	ext/ereg/config.w32
	ext/ereg/config0.m4
	ext/ereg/ereg.c
	ext/ereg/php_ereg.h
	ext/ereg/php_regex.h
	ext/ereg/regex/engine.c
	ext/ereg/regex/main.c
	ext/ereg/regex/regcomp.c
	ext/ereg/regex/regerror.c
	ext/ereg/tests/split_error_002.phpt
	ext/ereg/tests/split_variation_003.phpt
	ext/ereg/tests/spliti_error_002.phpt
	ext/ereg/tests/spliti_variation_003.phpt
	ext/pgsql/pgsql.c
	sapi/apache/php_apache_http.h
	sapi/apache_hooks/php_apache_http.h
2015-03-05 00:21:38 +00:00
Masaki Kagaya
a22d27df4c replace emalloc with safe_emalloc 2015-03-01 16:07:18 +09:00
Masaki Kagaya
45a8a9c685 update the functions for checking the names of encodings 2015-02-27 19:31:34 +09:00
Masaki Kagaya
32de1cf57a delete unnecessary functions 2015-02-22 19:55:13 +09:00
Masaki Kagaya
6be0f8dc9a fix return type 2015-02-22 16:58:22 +09:00
Masaki Kagaya
99d90f1358 fix memory leak 2015-02-22 16:13:32 +09:00
Masaki Kagaya
aa7eceb3a5 added php_mb_check_code_point for mb_substitute_character 2015-02-19 22:49:13 +09:00
Masaki Kagaya
f303f59813 changed the position of calling php_mb_check_forbidden_encoding 2015-02-19 19:16:14 +09:00
Masaki Kagaya
89e9746f74 use php_mb_convert_encoding instead of php_mb_check_encoding 2015-02-19 19:08:50 +09:00
Masaki Kagaya
f10a182674 added various encoding support other than unicode 2015-02-19 18:59:13 +09:00
Masaki Kagaya
a8ef8a25e5 added check by php_mb_check_forbidden_encoding 2015-02-19 18:43:55 +09:00
Masaki Kagaya
c6e94bfb4c added mb_chr 2015-02-19 16:01:47 +09:00
Masaki Kagaya
a0890c7c59 added php_mb_check_forbidden_encoding 2015-02-19 15:13:17 +09:00
Masaki Kagaya
b9b47c84a0 added support for various encodings other than unicode 2015-02-19 15:03:35 +09:00
Masaki Kagaya
674b67ce0c added utf16 and ucs2 for supported encodings 2015-02-19 14:45:33 +09:00
Masaki Kagaya
ec4f74b296 added check for forbidden encodings 2015-02-19 14:37:12 +09:00
Masaki Kagaya
b065956754 added utf32 and ucs4 for available encodings 2015-02-19 14:32:54 +09:00
Masaki Kagaya
c948e44807 added mb_ord 2015-02-19 13:18:39 +09:00
Masaki Kagaya
cb02838147 added php_mb_check_encoding 2015-02-19 12:42:19 +09:00
Anatol Belski
af3ca74501 made ZEND_TSRMLS_CACHE_* macros look like function calls
which also comply with the current semantics for such macros
2015-02-16 17:19:32 +01:00
Joshua Rogers
6621840951 Fix uninitalized variables reads. See CWE-457 for more info. 2015-01-21 06:52:19 +11:00
Xinchen Hui
fc33f52d8c bump year 2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d bump year 2015-01-15 23:26:37 +08:00
Stanislav Malyshev
b7a7b1a624 trailing whitespace removal 2015-01-10 15:07:38 -08:00
Stanislav Malyshev
599d7a3968 Fix bug #68706 - uninitalized pointer in mbstring 2015-01-03 21:55:29 -08:00
Dmitry Stogov
6ec5ab77df Improved trim/ltrim/rtrim functions.
Now php_trim() operates on zend_string and returns zend_string (it may return the same zend_string).
2014-12-23 04:29:41 +03:00
Anatol Belski
bdeb220f48 first shot remove TSRMLS_* things 2014-12-13 23:06:14 +01:00
Anatol Belski
0490a32249 more exts converted for static tsrm ls pointer
mbstring, pcre, reflection
2014-10-15 19:19:23 +02:00
Johannes Schlüter
d0cb715373 s/PHP 5/PHP 7/ 2014-09-19 18:33:14 +02:00
Anatol Belski
bae92295fd remove useless condition 2014-09-19 10:09:37 +02:00
Anatol Belski
49a6b485a0 redo the fix casting to size_t where applicable 2014-09-16 21:17:19 +02:00
Anatol Belski
8240255e37 fixed signed/unsigned mismatch warning 2014-09-16 21:17:15 +02:00
Tjerk Meesters
18fa07e68f Revert "Revert "Removing ext/ereg and dependencies""
This reverts commit 1981dd9c73.
2014-09-11 19:25:42 +08:00
Dmitry Stogov
1981dd9c73 Revert "Removing ext/ereg and dependencies"
This reverts commit 86de7963fe.
2014-09-11 11:06:57 +04:00