summaryrefslogtreecommitdiff
path: root/ext/xml/compat.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove local variablesPeter Kokot2019-02-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* Remove yearly range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* Merge branch 'PHP-7.3'Christoph M. Becker2018-10-271-1/+4
|\ | | | | | | | | * PHP-7.3: Fix #71592: External entity processing never fails
| * Fix #71592: External entity processing never failsChristoph M. Becker2018-10-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | If the callback set via `xml_set_external_entity_ref_handler()` returns a falsy value, parsing is supposed to stop and the error number set to `XML_ERROR_EXTERNAL_ENTITY_HANDLING`. This is already correctly done by the libexpat binding, but the libxml2 binding ignores the return value. We fix this by calling `xmlStopParser()` which is available as of libxml 2.1.0[1] (PHP-7.1 requires at least libxml 2.6.11 anyway), and setting the desired `errNo` ourselves. [1] <http://xmlsoft.org/news.html>
* | Bump minimum libxml version to 2.7.6Nikita Popov2018-09-231-31/+0
|/ | | | Released Oct 2009, part of RHEL 6.
* year++Xinchen Hui2018-01-021-1/+1
|
* Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Merge branch 'master' of git.php.net:/php-srcJoe Watkins2016-11-131-7/+0
|\
| * Fix buildNikita Popov2016-11-121-4/+5
| |
* | news entry for #1787Joe Watkins2016-11-131-0/+7
|\ \ | |/ |/|
| * fixed bug generated by fixes bug #73135Edgar R. Sandi2016-11-121-1/+3
| |
| * fixes bug #73135Edgar R. Sandi2016-11-121-4/+4
| |
* | fixed bug generated by fixes bug #73135Edgar R. Sandi2016-11-121-1/+3
|/
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | fix exportsAnatol Belski2015-03-231-24/+24
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-25/+25
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | Fix ext/xml warningsNikita Popov2014-09-061-13/+4
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* TabifyChristopher Jones2013-08-201-15/+15
|
* Merge branch 'PHP-5.4' into PHP-5.5Christopher Jones2013-08-201-103/+103
|\ | | | | | | | | | | * PHP-5.4: Eliminate compiler warnings: "warning: pointer targets in initialization differ in signedness" Eliminate compiler warnings "warning: pointer targets in initialization differ in signedness"
| * Eliminate compiler warnings "warning: pointer targets in initialization ↵Christopher Jones2013-08-201-103/+103
| | | | | | | | differ in signedness"
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
* | code related typo fixesVeres Lajos2013-08-181-5/+5
| |
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
|/
* - Year++Felipe Pena2011-01-011-1/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Fix build, missing commaScott MacVicar2009-01-121-1/+1
|
* The previous error was masked by a missing entry, sync them back up.Scott MacVicar2009-01-121-0/+1
|
* This entry doesn't exist upstream any more, it also caused all error ↵Scott MacVicar2009-01-121-1/+0
| | | | messages to be one off.
* MFH: fix bug #45996 (libxml2 2.7 causes breakage with character data in ↵Rob Richards2009-01-111-0/+4
| | | | xml_parse())
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: fix bug #46699: (xml_parse crash when parser is namespace aware)Rob Richards2008-12-121-3/+74
| | | | | | fix a couple warnings add test
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* MFH: Fixed bug #35447 (xml_parse_into_struct() chokes on the UTF-8 BOM)Rob Richards2005-12-191-5/+2
| | | | | add test
* MFH: use spprintf where appropriateRob Richards2005-10-121-17/+18
|
* MFH: Fixed Bug #27908 (xml default_handlers not being called)Rob Richards2005-10-121-23/+44
| | | | | | Fix memleak when entitydecls are parsed remove old ifdefs
* - Bumber up yearfoobar2005-08-031-1/+1
|
* SystemID and publicID params reversed in declaration handlersRob Richards2005-07-311-2/+2
|
* - Made it possible to build ext/xmlrpc with libxml2foobar2005-03-261-1/+1
|
* Fixed bug #32001 (xml_parse_into_struct() exceeds maximum execution time)Rob Richards2005-03-021-0/+31
|