summaryrefslogtreecommitdiff
path: root/ext/tidy/php_tidy.h
Commit message (Collapse)AuthorAgeFilesLines
* - 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.
* ws & csfoobar2003-12-181-23/+22
|
* ZTS build and speling fixWez Furlong2003-12-181-4/+4
|
* Applying some minor fixes / CS changes by iliaJohn Coggeshall2003-12-151-5/+32
|
* Tons of changes for Tidy 2.0 -- output buffering, multiple documents,John Coggeshall2003-12-141-105/+138
| | | | | dual nature ($a->parse_file() and $a = tidy_parse_file()), etc.
* Updated test cases and examples and cleaned up the new OO code so it willJohn Coggeshall2003-09-221-0/+27
| | | | | be easier to maintain.
* Completely re-wrote the ZE2 OO stuff to do it the proper way. It is notJohn Coggeshall2003-09-221-9/+26
| | | | | | considerably more stable, cleaner, and looks as if it works well :) This probably is going to break any scripts which used it before, but oh well.
* Complete refactoring of the OO support in tidy. Although currentlyJohn Coggeshall2003-09-221-47/+46
| | | | | incomplete, it is a good start.
* Added tidy_repair_string() & tidy_repair_file() that allow for quick repairIlia Alshanetsky2003-09-211-0/+2
| | | | | | | | of files & strings. Modified tidy_parse_file() to accept include_path parameter. Fixed a few bugs that may have allowed configurations directives loaded via a file to carry over across requests.
* Tidy Hijacked! Read all about it ;)Ilia Alshanetsky2003-09-201-14/+13
| | | | | | | | | | | | | | | | | | * No more tidy resources, it's now persistent and internal. This helps speed quite a bit, since the tidy resource only needs to be initialized once. * Replace common code with macros. * Added necessary safe_mode & open_basedir checks when working with files. * Added ini option to allow loading of config file on startup. * Show current configuration in phpinfo(); * Coding Style Cleanup * Added tidy_get_config(), returns an associated array with all configuration values. * Added tidy_reset_config(), it restores tidy configuration to default values. * Fixed a possible crash inside tidy_setopt(). * Added myself to the credits. More changes to follow.
* Moved things around and added some #ifdefs so that the extension can be usedJohn Coggeshall2003-09-141-0/+4
| | | | | in PHP 4 (without the ZE2 tree parsing).
* Fix memory leaksJohn Coggeshall2003-08-061-34/+31
|
* Fixed a number of memleaks and cleaned up the code a bit.John Coggeshall2003-08-011-38/+31
|
* Adding the tidy extension to PECLJohn Coggeshall2003-08-011-0/+200