Marcus Boerger
d94136fc30
- Remove unused blocks
2004-05-19 08:45:46 +00:00
Ilia Alshanetsky
69b712410b
Reset opt_name to NULL to ensure it's not re-used if numeric keys can be
...
found inside the options array.
2004-05-11 15:59:07 +00:00
John Coggeshall
399022f3c5
Renamed tidy_node to tidyNode, removed the tidy_exception class and updated
...
the tests.
2004-05-09 14:00:14 +00:00
Ilia Alshanetsky
be901ebeaf
Fixed test.
2004-04-25 16:50:47 +00:00
John Coggeshall
8e1391ce49
No need for exception function, and renamed the 'error_buf' prop to
...
errorBuffer to conform with the rest of the ext.
2004-04-20 18:28:09 +00:00
Ilia Alshanetsky
39f820b8b8
Fixed compiler warnings.
2004-04-20 00:26:48 +00:00
John Coggeshall
544cdffd90
Fixing a tidy_getopt() bug, and converting all exceptions to E_WARNING
2004-04-18 07:58:19 +00:00
John Coggeshall
ba43e31e24
Fixed construct bug and Windows build.
2004-04-16 21:51:59 +00:00
Derick Rethans
2ed9c955b8
- Fix initializations
2004-04-16 18:55:19 +00:00
John Coggeshall
1fb0de4a6d
Modified error handling:
...
- Trivial errors have been reduced to E_NOTICEs if possible
- Bad, but not script-stopping errors (i.e. file not file) are E_WARNING
- Truly bad things that make the extension unusable are not E_ERROR
Exceptions are thrown only in a OO context for E_WARNINGs.
2004-04-16 15:46:41 +00:00
Frank M. Kromann
6ba2e4bc51
Declare variables before calling functions. This makes tidy compile on Win32.
2004-04-14 19:01:45 +00:00
John Coggeshall
9b21e0d0a9
- Removed things related to attribute classes / consts which no
...
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.
2004-04-12 03:14:19 +00:00
Wez Furlong
719d336b4f
export libtidy symbols
2004-03-22 23:07:55 +00:00
foobar
c9d3f3250c
Fix typo
2004-02-26 13:22:11 +00:00
foobar
9b13b215fb
- Moved internally used includes/macros/structs/etc. into tidy.c to prevent
...
any conflicts with any other library/header/extension.
# Never EVER put this stuff in extension's php_*.h file if possible!
2004-02-23 00:59:29 +00:00
Jan Lehnardt
905f4e98a2
- silence warning
2004-02-14 17:31:00 +00:00
Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
2004-02-12 10:43:27 +00:00
John Coggeshall
fac5939f42
Updating tests that got left behind when we changed to studlyCaps
...
and fixed another test
2004-02-05 01:38:59 +00:00
Zeev Suraski
8424be849f
- Update with new destructor code
2004-02-04 11:14:47 +00:00
Pierre Joye
0dd6bd1d9f
- Update examples to studlyCaps syntax
2004-01-22 15:45:50 +00:00
John Coggeshall
1bad08a80f
Moving the OO syntax to studlyCaps.
...
I am *not* changing this back :)
2004-01-21 10:19:56 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
Pierre Joye
5ecbbf0a8d
- Fix the php dependency
...
(wide copy/paste is not that good no? ;) )
2004-01-15 19:33:10 +00:00
Wez Furlong
c69945961f
fix crash when throwing an exception
2004-01-14 12:19:17 +00:00
Pierre Joye
bbc746c29c
- Fix package.xml file
2004-01-14 10:24:26 +00:00
John Coggeshall
f3932751d8
Apparently MSVC is not C99 compatible making variable marco arguments
...
in the TIDY_THROW() marco broken in (at least) Win32. This provides a suitable
workaround for non-C99 compatible compilers.
2004-01-14 08:15:57 +00:00
John Coggeshall
0878fa901f
Doh.. snuck by me!
2004-01-14 06:57:51 +00:00
John Coggeshall
a06377c32d
Forgot to add these tests
2004-01-14 06:57:23 +00:00
John Coggeshall
6048907029
With the approval of Andi, changing the Tidy API to reduce the possible
...
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.
2004-01-14 02:43:33 +00:00
John Coggeshall
9116f27504
This was way out of date.
2004-01-12 10:02:04 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
John Coggeshall
962edd2d2e
tidy_repair_string/file() don't get called from an existing tidy resource.
2004-01-08 09:21:05 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Frank M. Kromann
64e404229b
Fix ZTS build
2004-01-08 00:03:54 +00:00
foobar
03c09f200c
no need for double #include of same header file
2004-01-06 22:23:36 +00:00
John Coggeshall
d900d73763
Added an optional array parameter to tidy_parse_file/string to
...
fix a bug. Apparently some libtidy config options must be set
prior to parsing in order to work properly.
2004-01-06 18:24:17 +00:00
John Coggeshall
4ddb3d194d
Added examples for tidy v2.0 (in PHP5) and a few more tests..
2004-01-03 05:23:24 +00:00
Wez Furlong
cb6e4c5e13
Fix segfault in ZTS mode
2003-12-23 20:12:55 +00:00
Wez Furlong
51c342efae
Make these build with new win32 build system.
2003-12-19 17:00:14 +00:00
Ilia Alshanetsky
90a5af75f6
Fixed memory leak in tidy_getopt() when fetching string values.
...
Removed unnecessary check in tidy_diagnose().
2003-12-19 14:24:59 +00:00
Ilia Alshanetsky
9f50065edd
Fixed tidy tests.
2003-12-19 14:24:04 +00:00
foobar
48200cbee6
ws & cs
2003-12-18 19:59:58 +00:00
Wez Furlong
48a2b2a3d3
ZTS build and speling fix
2003-12-18 11:20:19 +00:00
Ilia Alshanetsky
664268b037
Always user Zend memory allocation wrappers.
2003-12-17 16:34:10 +00:00
Ilia Alshanetsky
b6a3f48d86
Always set panic call handler, allows us to address critical libtidy errors
...
from inside PHP.
When memory_limit is enabled use e* memory allocation macros to control
memory usage.
2003-12-15 21:56:55 +00:00
John Coggeshall
39e56b5ff6
Applying some minor fixes / CS changes by ilia
2003-12-15 01:43:45 +00:00
John Coggeshall
95cb88e5d0
Modified package.xml to reflect 2.0's beta status
2003-12-14 06:04:51 +00:00
John Coggeshall
3ab2935250
Tons of changes for Tidy 2.0 -- output buffering, multiple documents,
...
dual nature ($a->parse_file() and $a = tidy_parse_file()), etc.
2003-12-14 06:02:33 +00:00
Ilia Alshanetsky
089aa3639d
Remove debug code.
2003-12-01 22:10:46 +00:00
John Coggeshall
365f0638fc
Releasing 1.0....
2003-11-13 17:50:39 +00:00