php-src/ext
Michael Orlitzky a552ac5bd5 ext/tidy: add support for the new tidy-html5 library.
Our existing libtidy support is based on the legacy "HTML tidy"
project. That project now has a successor called tidy-html5, where all
new features and bugfixes happen. Of particular note are the fixes for
two security vulnerabilities, CVE-2015-5522 and CVE-2015-5523.

The API is largely unchanged in the new project (which is truly the
successor of the original -- not a fork), and so it is almost a
drop-in replacement as far as PHP is concerned. However, one file has
changed in the new project: "buffio.h" has been moved to
"tidybuffio.h".

This commit detects the presence of tidybuffio.h at build time, and
then adjusts the import statement in tidy.c accordingly. The result is
a build that works against either the legacy project or the new
tidy-html5 project, although the test suite for the tidy extension now
fails. Those failures are not critical and will be fixed.

Gentoo-Bug: 561452
Gentoo-Bug: 585474
PHP-Bug: 72379
2016-07-11 14:05:43 +02:00
..
bcmath Merge branch 'PHP-5.6' into PHP-7.0 2016-04-27 13:19:29 +02:00
bz2 Merge branch 'PHP-7.0' 2016-06-22 11:45:30 +02:00
calendar Added ZEND_ATTRIBUTE_FORMAT to some middind functions. 2016-06-21 16:00:37 +03:00
com_dotnet Fixed bug #72498 variant_date_from_timestamp null dereference 2016-07-01 18:41:50 +02:00
ctype
curl Backported bug #71144 (Segmentation fault when using cURL with ZTS) 2016-07-08 14:58:56 +02:00
date Merge branch 'PHP-7.0' 2016-07-11 11:32:22 +01:00
dba Fixed tests 2016-07-05 11:30:55 +03:00
dom Merge branch 'throw-error-in-extensions' 2016-07-05 02:08:39 -05:00
enchant Remove version checks 2016-01-30 15:35:28 +01:00
exif Fixed compilation warnings 2016-06-22 00:40:50 +03:00
fileinfo Fixed compilation warnings 2016-06-22 00:40:50 +03:00
filter Merge branch 'PHP-7.0' 2016-07-08 16:32:42 +02:00
ftp Fixed compilation warnings 2016-06-22 00:40:50 +03:00
gd Merge branch 'pull-request/1945' 2016-07-03 12:33:27 +02:00
gettext
gmp Added ZEND_ATTRIBUTE_FORMAT to some middind functions. 2016-06-21 16:00:37 +03:00
hash Fixed compilation warnings 2016-06-22 00:40:50 +03:00
iconv Add negative offset support to iconv_strpos() 2016-03-09 14:41:38 +01:00
imap Merge branch 'throw-error-in-extensions' 2016-07-05 02:08:39 -05:00
interbase Added ZEND_ATTRIBUTE_FORMAT to some middind functions. 2016-06-21 16:00:37 +03:00
intl fix error text 2016-07-05 15:58:55 +02:00
json Add return code from json API functions 2016-06-28 20:49:38 +01:00
ldap Merge branch 'pull-request/1955' 2016-07-07 05:11:56 +02:00
libxml Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
mbstring Implement RFC "Deprecate mb_ereg_replace eval option" 2016-07-11 11:20:01 +02:00
mcrypt Deprecate mcrypt and mdecrypt stream filters 2016-07-11 13:17:44 +02:00
mysqli Merge branch 'throw-error-in-extensions' 2016-07-05 02:08:39 -05:00
mysqlnd Fixed compilation warnings 2016-06-23 12:47:06 +03:00
oci8 Merge branch 'PHP-7.0' 2016-07-07 11:53:08 +10:00
odbc Increase ODBCVER to 3.5 by default 2016-07-04 16:48:59 +02:00
opcache Add opcodes to zend_wrong_string_offset() 2016-07-10 15:15:34 +02:00
openssl Remove openssl test 029 as it is incomplete 2016-06-29 20:49:14 +01:00
pcntl oops, name test right 2016-07-06 13:57:37 -05:00
pcre Merge branch 'PHP-7.0' 2016-07-06 07:10:10 +02:00
pdo Fixed compilation warnings 2016-06-22 00:40:50 +03:00
pdo_dblib Merge branch 'PHP-7.0' 2016-07-08 15:55:22 +02:00
pdo_firebird fix test portability 2016-06-17 17:09:42 +02:00
pdo_mysql Fixed compilation warnings 2016-06-22 00:40:50 +03:00
pdo_oci Ensure an ORDER BY gets the expected row order 2016-05-02 16:08:48 +10:00
pdo_odbc Merge branch 'master' into throw-error-in-extensions 2016-06-10 22:02:23 -05:00
pdo_pgsql Merge branch 'PHP-7.0' 2016-07-10 14:38:17 +02:00
pdo_sqlite Fixed compilation warnings 2016-06-22 00:40:50 +03:00
pgsql Fixed compilation warnings 2016-06-23 12:47:06 +03:00
phar Fixed compilation warnings 2016-06-23 12:47:06 +03:00
posix Fix posix build 2016-05-01 13:07:01 +02:00
pspell Added ZEND_ATTRIBUTE_FORMAT to some middind functions. 2016-06-21 16:00:37 +03:00
readline Merge branch 'PHP-7.0' 2016-07-03 23:57:02 +08:00
recode
reflection Merge branch 'throw-error-in-extensions' 2016-07-05 02:08:39 -05:00
session Merge branch 'throw-error-in-extensions' 2016-07-05 02:08:39 -05:00
shmop Fixed compilation warnings 2016-06-23 12:47:06 +03:00
simplexml Merge branch 'throw-error-in-extensions' 2016-07-05 02:08:39 -05:00
skeleton Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE 2016-03-03 16:50:01 +01:00
snmp Fixed compilation warnings 2016-06-23 12:47:06 +03:00
soap Fixed compilation warnings 2016-06-23 12:47:06 +03:00
sockets Fixed compilation warnings 2016-06-23 12:47:06 +03:00
spl Merge branch 'PHP-7.0' 2016-07-05 16:56:39 +02:00
sqlite3 Merge branch 'PHP-7.0' 2016-07-11 11:51:34 +08:00
standard Pass error severity to SAPI modules and raise corresponding error level in Apache 2016-07-11 09:34:48 +02:00
sysvmsg Added ZEND_ATTRIBUTE_FORMAT to some middind functions. 2016-06-21 16:00:37 +03:00
sysvsem Added ZEND_ATTRIBUTE_FORMAT to some middind functions. 2016-06-21 16:00:37 +03:00
sysvshm Fixed compilation warnings 2016-06-23 12:47:06 +03:00
tidy ext/tidy: add support for the new tidy-html5 library. 2016-07-11 14:05:43 +02:00
tokenizer
wddx Merge branch 'PHP-7.0' 2016-07-08 10:48:15 +02:00
xml Fix bug #72099: xml_parse_into_struct segmentation fault 2016-06-28 01:23:24 -07:00
xmlreader Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
xmlrpc Merge branch 'throw-error-in-extensions' 2016-07-05 02:08:39 -05:00
xmlwriter Fixed compilation warnings 2016-06-22 00:40:50 +03:00
xsl Fixed compilation warnings 2016-06-22 00:40:50 +03:00
zip Merge branch 'throw-error-in-extensions' 2016-07-05 02:08:39 -05:00
zlib Merge branch 'PHP-7.0' 2016-07-04 03:20:01 +02:00
ext_skel
ext_skel_win32.php