Edward Z. Yang
|
8b45c7601a
|
Implement Composite attribute definition.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@228 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 18:16:30 +00:00 |
|
Edward Z. Yang
|
7c86e3cc0f
|
Commit initial implementation of AttrDef_CSS, with text-align being the only defined property. Further development will be going on in AttrDef and CSSDefinition.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@223 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 20:22:09 +00:00 |
|
Edward Z. Yang
|
d28bad648a
|
Implement URIScheme and subclasses except for mailto. Remove fragment from components, as it is scheme independent.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@218 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 18:58:54 +00:00 |
|
Edward Z. Yang
|
c2ec56b872
|
Initial implementation of URISchemeRegistry (fixed overload bug in process). Also, add extra notes to some of the unit tests.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@210 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 03:56:27 +00:00 |
|
Edward Z. Yang
|
4b097ef493
|
Commit initial URI unit tests and implementation. They're not complete yet though.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@206 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 01:12:35 +00:00 |
|
Edward Z. Yang
|
0db1cbb7ac
|
Revamp Configuration classes, breaking backwards configuration compatibility (not that there was much to broken to begin with). Fix bug involving PHP 4 object typecasting.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@203 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-11 20:23:41 +00:00 |
|
Edward Z. Yang
|
3c2c0c1a1b
|
Make PEAR tests configurable.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@201 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-10 12:41:39 +00:00 |
|
Edward Z. Yang
|
4d224c5013
|
Use configuration in test runner.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@200 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-10 12:22:55 +00:00 |
|
Edward Z. Yang
|
d5e75f2616
|
Add NumberSpan definition (non-DTD, but applies to enough to be useful). All widely used non-deprecated attributes have been implemented (except for rel/rev, but that's tricky). Add note about quirky COL handling and possible implementation of a workaround.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@174 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-06 03:58:48 +00:00 |
|
Edward Z. Yang
|
fb18fe31e1
|
AttrDef_Length implemented. Reuses a bit of stuff from Pixel.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@170 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-06 01:30:54 +00:00 |
|
Edward Z. Yang
|
a520b5469e
|
Implement Pixels attribute definition.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@169 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-06 01:03:48 +00:00 |
|
Edward Z. Yang
|
2deb2fc285
|
Implement TextAlign and all hooks necessary, but it's kind of useless since CSS validation hasn't been built yet.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@166 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-05 02:56:57 +00:00 |
|
Edward Z. Yang
|
60f769d088
|
Augment test suite, allowing only single files to be tested.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@165 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-05 02:28:35 +00:00 |
|
Edward Z. Yang
|
8a23710405
|
Implement lang and xml:lang. Fixed a bunch of bugs too.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@162 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-05 01:50:13 +00:00 |
|
Edward Z. Yang
|
6232221c08
|
Define AttrDef_Text and parseCDATA().
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@160 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-04 03:13:04 +00:00 |
|
Edward Z. Yang
|
a2fc5da060
|
Implement AttrDef_Class.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@157 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-04 02:48:20 +00:00 |
|
Edward Z. Yang
|
626cfc1172
|
Implement center, menu and dir tag transformations. Font transform pending.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@140 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-02 02:24:03 +00:00 |
|
Edward Z. Yang
|
79e5cd4543
|
Augment test file so we can run from cli.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@137 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-01 00:18:22 +00:00 |
|
Edward Z. Yang
|
70bd80e66a
|
Added ValidateAttributes strategy and associated unit tests. Amended Generator with some sanity checks. Made Definition include all necessary definitions. Note the two elements (bdo and br) that only use coreattrs.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@132 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-30 18:37:42 +00:00 |
|
Edward Z. Yang
|
bb0435bdd4
|
Add AttrDef_Id, as well as amend the accumulator by adding a load.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@131 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-30 16:35:05 +00:00 |
|
Edward Z. Yang
|
4ab930dab4
|
Add IDAccumulator.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@129 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-30 15:52:25 +00:00 |
|
Edward Z. Yang
|
f8eaedb500
|
Factor out definitions to a ['child'] so that we could assign the ['attr'] definitions separately.
Also, added AttrDef/EnumTest.php
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@127 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-30 00:54:38 +00:00 |
|
Edward Z. Yang
|
9b7ad89ab5
|
- Added Composite and Core strategies.
- Added generate_mock() function for testing
- Factored out inputs/output tests to StrategyAbstractTest
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@124 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-29 17:38:28 +00:00 |
|
Edward Z. Yang
|
619d5d9bc1
|
Migrate strategies to separate classes complete.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@119 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-24 02:49:37 +00:00 |
|
Edward Z. Yang
|
5ce0ae7056
|
Implement EntityLookup and put in the Lexer. Some behavior was migrated, since it looks like it will have to be used in all Lexers, not just DirectLex (which is the only one that uses it).
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@105 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-23 21:07:30 +00:00 |
|
Edward Z. Yang
|
14f481bcf6
|
svn:eol-style = native
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@97 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-23 00:11:03 +00:00 |
|
Edward Z. Yang
|
042eda0463
|
Hook new test file in and delete duplicated tests.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@95 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-23 00:03:11 +00:00 |
|
Edward Z. Yang
|
de5ab5e6a0
|
Kick the auto-prepend habit.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@91 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-22 19:01:59 +00:00 |
|
Edward Z. Yang
|
eac83995e1
|
Remove dud test file.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@89 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-22 16:04:22 +00:00 |
|
Edward Z. Yang
|
1ab3ae160a
|
Move classes into Zend style setup.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@88 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-22 15:38:41 +00:00 |
|
Edward Z. Yang
|
3e982c7f2c
|
Rename Lexer, separate files. Also augmented benchmarks and benchmarker,
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@79 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-22 12:53:04 +00:00 |
|
Edward Z. Yang
|
cafa24482d
|
Setup include web. Unit tests should now be able to be run independently.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@75 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-22 00:13:08 +00:00 |
|
Edward Z. Yang
|
025b648c99
|
Split out code in Definition.php .
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@73 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-22 00:02:48 +00:00 |
|
Edward Z. Yang
|
404ca68c87
|
Rename PureHTMLDefinition -> HTMLPurifier_Definition, and internal classes too.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@69 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-21 23:38:44 +00:00 |
|
Edward Z. Yang
|
436873e227
|
Move tester, complete HTML_Purifier -> HTMLPurifier move.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@68 48356398-32a2-884e-a903-53898d9a118a
|
2006-07-21 23:27:00 +00:00 |
|