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
|
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
|
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 |
|