Edward Z. Yang
|
b5ff592157
|
Add CSSLength support, and roll out to all applicable styles.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@237 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 23:08:38 +00:00 |
|
Edward Z. Yang
|
ff7fdaca38
|
Commit AttrDef number, currently used by no styles right now, but percentage and length will piggy-back off it.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@236 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 22:35:55 +00:00 |
|
Edward Z. Yang
|
71c4a3c50c
|
Commit dud AttrDef integer.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@235 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 21:59:52 +00:00 |
|
Edward Z. Yang
|
61d977d09f
|
Add slight documentation to CompositeTest.php
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@232 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 21:35:06 +00:00 |
|
Edward Z. Yang
|
4ffb2da238
|
Implement the color AttrDef.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@230 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 21:23:57 +00:00 |
|
Edward Z. Yang
|
415b7d3913
|
Add more information to progress document, fix an invalid definition in CSSDefinition.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@229 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 19:08:14 +00:00 |
|
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
|
441a0cbe94
|
Minor formatting fixes.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@227 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 17:05:30 +00:00 |
|
Edward Z. Yang
|
1e2f853f4f
|
Implemented CSS properties whose valid values were enumerated. Accept inherit for all properties. Some composite unit tests.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@226 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 16:52:31 +00:00 |
|
Edward Z. Yang
|
d721066d27
|
Make CSS validator drop duplicate declarations.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@225 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-13 04:52:40 +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
|
4193fd018a
|
Commit a very lenient mailto checker. We'll tighten it later.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@219 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 19:11:21 +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
|
6c3d364213
|
Augment URISchemeRegistry with the ability to overload/register your own schemes.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@215 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 17:06:14 +00:00 |
|
Edward Z. Yang
|
10ea44932a
|
Revamp URITest to use the harness.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@214 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 16:32:57 +00:00 |
|
Edward Z. Yang
|
ebe01a0a24
|
Fix a few errors that came with API change. I really should run the unit tests before committing.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@213 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 16:12:16 +00:00 |
|
Edward Z. Yang
|
a2880bdff2
|
Generalize IDAccumulator into AttrContext. Modify tests and classes accordingly. Also, this allows us to make the validate() parameters uniform among all AttrDef subclasses.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@212 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 16:04:40 +00:00 |
|
Edward Z. Yang
|
77f2833f36
|
Fix PHP 4 problems with references.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@211 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 04:07:06 +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
|
4ab6cab15c
|
Finish bare-bones implementation of URI. This will suffice for now.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@209 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-12 03:35:05 +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
|
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
|
d429989f86
|
Implement MultiLength.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@173 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-06 01:41:18 +00:00 |
|
Edward Z. Yang
|
2d8e4f3993
|
Bugfix: Fix include typo.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@172 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-06 01:38:47 +00:00 |
|
Edward Z. Yang
|
cffcd7c661
|
Bugfix: Rewire a require_once.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@171 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-06 01:31:33 +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
|
a4ce51cca2
|
Add case sensitivity test.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@167 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-05 19:52:30 +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
|
1945ddca5c
|
Refactor unit tests so that abstract test cases are now called Harnesses and AttrDef tests use their harness's assertDef() function, which enforces type much better. Also fixed a few bugs.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@161 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-05 00:30:31 +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
|
784b756b3f
|
Add configuration as a parameter to all AttrDef objects. If we get another construction like accumulator, however, we'll have to create an AttrContext object.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@156 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-04 01:52:54 +00:00 |
|
Edward Z. Yang
|
7d2bf08d2f
|
Implement simple attribute transformations and roll them out.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@152 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-04 00:11:54 +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
|
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 |
|