summaryrefslogtreecommitdiff
path: root/ext/tidy/php_tidy.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace zend_bool uses with boolNikita Popov2021-01-151-1/+1
| | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
* Generate function entries from stubs for a couple of extensionsMáté Kocsis2020-04-141-10/+0
| | | | | Migrates ext/standard, ext/tidy, ext/tokenizer, ext/xml, ext/xml_reader, and ext/xml_writer. Closes GH-5381.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove local variablesPeter Kokot2019-02-031-9/+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
|
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-031-1/+1
| | | | Also re bug #71575.
* 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
| |
* | switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-6/+3
| |
* | cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-0/+3
| |
* | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-1/+1
| | | | | | | | which also comply with the current semantics for such macros
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | moved tidy to use static tsrmls pointerAnatol Belski2014-10-161-1/+4
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* * implement new output API, fixing some bugs and implementing some feature Michael Wallner2010-05-311-0/+1
| | | | | | | | | | | requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
* - Reverted r296062 and r296065Jani Taskinen2010-03-121-1/+0
|
* MFH: Improved / fixed output buffering (Michael Wallner)Jani Taskinen2010-03-111-0/+1
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Set the tidyNode constructor privatePierrick Charron2009-12-281-0/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH revert over constfyingMarcus Boerger2008-01-271-1/+1
|
* more const kewywordingNuno Lopes2008-01-251-1/+1
| | | | | remove spl_functions_none var (wast used anywhere
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* remove more old code and macros. also remove the module global 'inst' (not ↵Nuno Lopes2006-09-151-8/+0
| | | | needed anymore)
* move static declaration to *.c filesNuno Lopes2006-08-141-52/+0
| | | | | mroe static/const keywording
* more static keywordingNuno Lopes2006-08-141-49/+49
| | | | | also remove the libtidy patch, as it is too old. users should use a newer libtify anyway
* fix #37418 (tidy module crashes CLI version of PHP)Antony Dovgal2006-05-241-0/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Adding new function tidy_get_opt_doc() to return option documentation at ↵John Coggeshall2005-04-251-0/+3
| | | | runtime. Thanks to nlopess for the patch
* Don't need MSHUTDOWN either hereRasmus Lerdorf2005-02-081-1/+0
|
* Get rid of more useless RINIT/RSHUTDOWN callsRasmus Lerdorf2005-02-071-1/+0
|
* - Removed things related to attribute classes / consts which noJohn Coggeshall2004-04-121-0/+1
| | | | | | | | | longer exist in Tidy - Changed protos in comment blocks to studlyCaps - Fixed problem where Tidy would throw exceptions if called from a procedural context. Tidy will now cause E_ERRORs if called from procedural form.
* - Moved internally used includes/macros/structs/etc. into tidy.c to preventfoobar2004-02-231-181/+1
| | | | | | | any conflicts with any other library/header/extension. # Never EVER put this stuff in extension's php_*.h file if possible!
* - Update with new destructor codeZeev Suraski2004-02-041-1/+1
|
* Moving the OO syntax to studlyCaps.John Coggeshall2004-01-211-12/+12
| | | | | I am *not* changing this back :)
* Apparently MSVC is not C99 compatible making variable marco argumentsJohn Coggeshall2004-01-141-0/+7
| | | | | | in the TIDY_THROW() marco broken in (at least) Win32. This provides a suitable workaround for non-C99 compatible compilers.
* With the approval of Andi, changing the Tidy API to reduce the possibleJohn Coggeshall2004-01-141-36/+22
| | | | | | | | amount of confusion when setting Tidy configuration options. All configuration must now be done pre-parsing of the document. Removed references to the tidy_attr class, as it is no longer used (since tidy 2.0) and made tidy throw exceptions for all truly non-fatal errors.
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Fix ZTS buildFrank M. Kromann2004-01-081-2/+2
|
* Added an optional array parameter to tidy_parse_file/string toJohn Coggeshall2004-01-061-0/+2
| | | | | | fix a bug. Apparently some libtidy config options must be set prior to parsing in order to work properly.