summaryrefslogtreecommitdiff
path: root/ext/tidy/tidy.c
Commit message (Collapse)AuthorAgeFilesLines
...
* fix crash when throwing an exceptionWez Furlong2004-01-141-0/+1
|
* Apparently MSVC is not C99 compatible making variable marco argumentsJohn Coggeshall2004-01-141-0/+20
| | | | | | 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-562/+213
| | | | | | | | 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.
* tidy_repair_string/file() don't get called from an existing tidy resource.John Coggeshall2004-01-081-22/+33
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-1/+1
|
* Fix ZTS buildFrank M. Kromann2004-01-081-6/+10
|
* no need for double #include of same header filefoobar2004-01-061-2/+1
|
* Added an optional array parameter to tidy_parse_file/string toJohn Coggeshall2004-01-061-50/+88
| | | | | | fix a bug. Apparently some libtidy config options must be set prior to parsing in order to work properly.
* Fix segfault in ZTS modeWez Furlong2003-12-231-2/+2
|
* Fixed memory leak in tidy_getopt() when fetching string values.Ilia Alshanetsky2003-12-191-3/+1
| | | | | Removed unnecessary check in tidy_diagnose().
* ws & csfoobar2003-12-181-312/+323
|
* ZTS build and speling fixWez Furlong2003-12-181-19/+17
|
* Always user Zend memory allocation wrappers.Ilia Alshanetsky2003-12-171-4/+1
|
* Always set panic call handler, allows us to address critical libtidy errorsIlia Alshanetsky2003-12-151-5/+5
| | | | | | | from inside PHP. When memory_limit is enabled use e* memory allocation macros to control memory usage.
* Applying some minor fixes / CS changes by iliaJohn Coggeshall2003-12-151-753/+307
|
* Tons of changes for Tidy 2.0 -- output buffering, multiple documents,John Coggeshall2003-12-141-723/+1317
| | | | | dual nature ($a->parse_file() and $a = tidy_parse_file()), etc.
* Remove debug code.Ilia Alshanetsky2003-12-011-2/+3
|
* Releasing 1.0....John Coggeshall2003-11-131-1/+1
|
* Should've added a few more cases to that bugfix switch.John Coggeshall2003-11-031-0/+3
|
* Fixed a bug -- Nodes of certain types don't actually have ID values and PHPJohn Coggeshall2003-11-031-1/+8
| | | | | would segv trying to read one.
* Fixed a --enable-maintainer-zts glitch where TSRMLS_DC was being usedJohn Coggeshall2003-09-251-3/+3
| | | | | unnecessarily.
* Updated test cases and examples and cleaned up the new OO code so it willJohn Coggeshall2003-09-221-74/+32
| | | | | be easier to maintain.
* Completely re-wrote the ZE2 OO stuff to do it the proper way. It is notJohn Coggeshall2003-09-221-54/+416
| | | | | | 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-613/+183
| | | | | incomplete, it is a good start.
* Fix ZTS build.Ilia Alshanetsky2003-09-211-4/+4
|
* Added tidy_repair_string() & tidy_repair_file() that allow for quick repairIlia Alshanetsky2003-09-211-19/+104
| | | | | | | | 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-852/+540
| | | | | | | | | | | | | | | | | | * 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-53/+74
| | | | | in PHP 4 (without the ZE2 tree parsing).
* Whitespace fixes.John Coggeshall2003-08-071-75/+130
|
* Keeping up with ZE changes to the function struct, fixed testsJohn Coggeshall2003-08-061-1/+1
|
* ZTS fixes.John Coggeshall2003-08-061-10/+11
|
* Fix memory leaksJohn Coggeshall2003-08-061-647/+666
|
* Segfault fix.John Coggeshall2003-08-011-6/+12
|
* Fixed a number of memleaks and cleaned up the code a bit.John Coggeshall2003-08-011-139/+179
|
* Adding the tidy extension to PECLJohn Coggeshall2003-08-011-0/+1874