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