0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-01-03 05:11:52 +00:00

Commit Graph

  • 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. Edward Z. Yang 2006-08-12 20:22:09 +0000
  • df52406a88 Commit optimization document. Edward Z. Yang 2006-08-12 19:59:49 +0000
  • 50e9784677 Commit code-quality tracking documentation. Edward Z. Yang 2006-08-12 19:56:37 +0000
  • 4fe9d943e8 Hook in URI to Definition. Update progress documents. Edward Z. Yang 2006-08-12 19:22:57 +0000
  • 4193fd018a Commit a very lenient mailto checker. We'll tighten it later. Edward Z. Yang 2006-08-12 19:11:21 +0000
  • d28bad648a Implement URIScheme and subclasses except for mailto. Remove fragment from components, as it is scheme independent. Edward Z. Yang 2006-08-12 18:58:54 +0000
  • e56c3fcd20 Update TODO with things we aren't going to fix right now. Edward Z. Yang 2006-08-12 17:13:40 +0000
  • 8167fca493 Add a directive that lets you disallow pure-registry overloading. Edward Z. Yang 2006-08-12 17:12:27 +0000
  • 6c3d364213 Augment URISchemeRegistry with the ability to overload/register your own schemes. Edward Z. Yang 2006-08-12 17:06:14 +0000
  • 10ea44932a Revamp URITest to use the harness. Edward Z. Yang 2006-08-12 16:32:57 +0000
  • ebe01a0a24 Fix a few errors that came with API change. I really should run the unit tests before committing. Edward Z. Yang 2006-08-12 16:12:16 +0000
  • a2880bdff2 Generalize IDAccumulator into AttrContext. Modify tests and classes accordingly. Also, this allows us to make the validate() parameters uniform among all AttrDef subclasses. Edward Z. Yang 2006-08-12 16:04:40 +0000
  • 77f2833f36 Fix PHP 4 problems with references. Edward Z. Yang 2006-08-12 04:07:06 +0000
  • c2ec56b872 Initial implementation of URISchemeRegistry (fixed overload bug in process). Also, add extra notes to some of the unit tests. Edward Z. Yang 2006-08-12 03:56:27 +0000
  • 4ab6cab15c Finish bare-bones implementation of URI. This will suffice for now. Edward Z. Yang 2006-08-12 03:35:05 +0000
  • 5b14310284 Refactor a little, but I think I'm going to end up rewriting the whole thing. Edward Z. Yang 2006-08-12 02:48:17 +0000
  • c3c833cc80 Commit configuration ideas document. Edward Z. Yang 2006-08-12 01:46:17 +0000
  • 4b097ef493 Commit initial URI unit tests and implementation. They're not complete yet though. Edward Z. Yang 2006-08-12 01:12:35 +0000
  • c86df12ed7 Add a DevNetwork thanks document. Edward Z. Yang 2006-08-11 20:42:42 +0000
  • 2090d94091 E_STRICT fix: put $config in parameter list even if it isn't used. Edward Z. Yang 2006-08-11 20:26:25 +0000
  • 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. Edward Z. Yang 2006-08-11 20:23:41 +0000
  • 30a8266fc1 Add more possibilities for alternate Def, but we're sticking with Def for now. Edward Z. Yang 2006-08-10 19:59:43 +0000
  • 3c2c0c1a1b Make PEAR tests configurable. Edward Z. Yang 2006-08-10 12:41:39 +0000
  • 4d224c5013 Use configuration in test runner. Edward Z. Yang 2006-08-10 12:22:55 +0000
  • 5135ff7afd Mention profiling in the TODO document. Edward Z. Yang 2006-08-10 00:54:59 +0000
  • 96e1db19c0 Add CSS1 info to progress. Edward Z. Yang 2006-08-07 20:28:35 +0000
  • 9cec089f97 Profusely comment FixNesting. Edward Z. Yang 2006-08-07 20:28:12 +0000
  • 7e2693fdea Update comments. Edward Z. Yang 2006-08-07 19:22:26 +0000
  • c239662ead Update progress. Edward Z. Yang 2006-08-07 00:04:01 +0000
  • 27a245313a Convert progess.html so it can be viewed by all browsers, add TODO item. Edward Z. Yang 2006-08-06 22:53:07 +0000
  • 8adb14e6f5 Reformat charts, add information for transforms. Edward Z. Yang 2006-08-06 21:52:33 +0000
  • 88ccca7d4e Add CSS tables. Edward Z. Yang 2006-08-06 21:24:59 +0000
  • c57ceb0f76 Add some more theoretical configuration values to Config.php Edward Z. Yang 2006-08-06 20:41:50 +0000
  • 76f2e4d371 Commit naming conventions document. Edward Z. Yang 2006-08-06 17:45:36 +0000
  • 9f93706b82 Commit progress tracker. Edward Z. Yang 2006-08-06 04:31:14 +0000
  • 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. Edward Z. Yang 2006-08-06 03:58:48 +0000
  • d429989f86 Implement MultiLength. Edward Z. Yang 2006-08-06 01:41:18 +0000
  • 2d8e4f3993 Bugfix: Fix include typo. Edward Z. Yang 2006-08-06 01:38:47 +0000
  • cffcd7c661 Bugfix: Rewire a require_once. Edward Z. Yang 2006-08-06 01:31:33 +0000
  • fb18fe31e1 AttrDef_Length implemented. Reuses a bit of stuff from Pixel. Edward Z. Yang 2006-08-06 01:30:54 +0000
  • a520b5469e Implement Pixels attribute definition. Edward Z. Yang 2006-08-06 01:03:48 +0000
  • fdc838c75e Reuse attribute definitions to define a few more attributes. Edward Z. Yang 2006-08-05 22:14:19 +0000
  • a4ce51cca2 Add case sensitivity test. Edward Z. Yang 2006-08-05 19:52:30 +0000
  • 2deb2fc285 Implement TextAlign and all hooks necessary, but it's kind of useless since CSS validation hasn't been built yet. Edward Z. Yang 2006-08-05 02:56:57 +0000
  • 60f769d088 Augment test suite, allowing only single files to be tested. Edward Z. Yang 2006-08-05 02:28:35 +0000
  • 8890449398 Eliminate duplication in TagTransform.php by using copy() Edward Z. Yang 2006-08-05 02:19:08 +0000
  • 9d390fca56 Refactor AttrTransform_Lang slightly by changing input output from token to attribute. Edward Z. Yang 2006-08-05 02:16:28 +0000
  • 8a23710405 Implement lang and xml:lang. Fixed a bunch of bugs too. Edward Z. Yang 2006-08-05 01:50:13 +0000
  • 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. Edward Z. Yang 2006-08-05 00:30:31 +0000
  • 6232221c08 Define AttrDef_Text and parseCDATA(). Edward Z. Yang 2006-08-04 03:13:04 +0000
  • 50b3d5320e Correct slight hole involving AttrDefs that don't have a return value. Edward Z. Yang 2006-08-04 03:01:45 +0000
  • b267b0c202 Add an attribute entity parse test to Lexer and change PEARSax3 to a proof of concept. Edward Z. Yang 2006-08-04 02:59:15 +0000
  • a2fc5da060 Implement AttrDef_Class. Edward Z. Yang 2006-08-04 02:48:20 +0000
  • 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. Edward Z. Yang 2006-08-04 01:52:54 +0000
  • a0ee772423 Set up configuration class, implement attr_id_blacklist Edward Z. Yang 2006-08-04 01:47:48 +0000
  • 66f6cdcf3f Remove DefinitionBuilder, it's just a bad idea. Edward Z. Yang 2006-08-04 00:43:25 +0000
  • 99d3b566d5 Bulk of this code belongs in the definition builder, do the branch and then we'll trim. Edward Z. Yang 2006-08-04 00:27:52 +0000
  • 7d2bf08d2f Implement simple attribute transformations and roll them out. Edward Z. Yang 2006-08-04 00:11:54 +0000
  • f0deae1fc0 Update documentation. Edward Z. Yang 2006-08-03 01:37:28 +0000
  • 26733183b7 Add support for hard exclusions that affect all child nodes. Edward Z. Yang 2006-08-03 01:18:57 +0000
  • aa249be067 Fix chameleon behavior with ins and del. Edward Z. Yang 2006-08-03 01:03:23 +0000
  • 19081ffdf2 Update spec. Edward Z. Yang 2006-08-03 00:21:27 +0000
  • 064fd603d3 Commit TagTransform_Font and associated test-cases. Edward Z. Yang 2006-08-03 00:14:10 +0000
  • 80281dda55 Fix case-sensitivity issues for attributes. Added TokenTest. Updated TODO. Removed TagTransform::normalizeAttributes Edward Z. Yang 2006-08-02 02:43:52 +0000
  • 145a51da5a Move out Stage 2 docs to correct class. Edward Z. Yang 2006-08-02 02:26:01 +0000
  • 626cfc1172 Implement center, menu and dir tag transformations. Font transform pending. Edward Z. Yang 2006-08-02 02:24:03 +0000
  • d243545142 Compat changes with earlier versions of PHP. Edward Z. Yang 2006-08-01 01:57:22 +0000
  • f63e870300 Quality control, improve a little documentation and fix UTF-8 unfriendliness in the Generator. Edward Z. Yang 2006-08-01 00:29:38 +0000
  • 79e5cd4543 Augment test file so we can run from cli. Edward Z. Yang 2006-08-01 00:18:22 +0000
  • 9d411bd5cc - Implement double-checking in Strategy/FixNesting.php, fixes the table bugs. - Move around child definitions so they make a little more sense (rename to Custom) and also add $allow_empty property to help FixNesting.php determine whether or not to double-check. Edward Z. Yang 2006-07-31 03:04:57 +0000
  • 9c6ae16764 Massively refactored Definition, moved MakeWellFormed HTML specific code out. Edward Z. Yang 2006-07-31 00:15:01 +0000
  • 2b5589c884 Factor some stuff into the Definition, add more docs. Edward Z. Yang 2006-07-30 22:57:54 +0000
  • 558c49a92d Make the definition format much more logical. Begin migrating specification docs to their respective classes. Edward Z. Yang 2006-07-30 19:11:18 +0000
  • 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. Edward Z. Yang 2006-07-30 18:37:42 +0000
  • bb0435bdd4 Add AttrDef_Id, as well as amend the accumulator by adding a load. Edward Z. Yang 2006-07-30 16:35:05 +0000
  • bba0d0b77a Remove Singleton functionality, the accumulator will just have to be passed around. Edward Z. Yang 2006-07-30 16:01:24 +0000
  • 4ab930dab4 Add IDAccumulator. Edward Z. Yang 2006-07-30 15:52:25 +0000
  • 647ff26379 Minor tweaks to documentation and Enum (case-sensitivity is now boolean). Edward Z. Yang 2006-07-30 15:29:22 +0000
  • f8eaedb500 Factor out definitions to a ['child'] so that we could assign the ['attr'] definitions separately. Edward Z. Yang 2006-07-30 00:54:38 +0000
  • 4c737ab430 Commit updated spec files in preparation for attributes. Edward Z. Yang 2006-07-30 00:29:26 +0000
  • f881061d5f Attribute unichr(). Edward Z. Yang 2006-07-29 17:42:11 +0000
  • 9b7ad89ab5 - Added Composite and Core strategies. - Added generate_mock() function for testing - Factored out inputs/output tests to StrategyAbstractTest Edward Z. Yang 2006-07-29 17:38:28 +0000
  • 39836fe278 Add one final "Powered" logo. Edward Z. Yang 2006-07-29 02:49:30 +0000
  • 591e14d877 Add art (fairly light-weight, only 32kb) for HTML Purifier. Edward Z. Yang 2006-07-29 02:05:07 +0000
  • 7a9d39ddcc Better enforcement of Singleton-ness, by requiring a setup() call after instantiation. Edward Z. Yang 2006-07-24 11:35:46 +0000
  • a55906225a Update docs. Edward Z. Yang 2006-07-24 02:51:19 +0000
  • 619d5d9bc1 Migrate strategies to separate classes complete. Edward Z. Yang 2006-07-24 02:49:37 +0000
  • f75e8dab8c Extract FixNestingTest from DefinitionTest. Edward Z. Yang 2006-07-24 02:43:53 +0000
  • 63396bb076 Extract MakeWellFormedTest from DefinitionTest. Edward Z. Yang 2006-07-24 02:41:06 +0000
  • 4c200f6bcb Extract RemoveForeignElementsTest from Definition. Edward Z. Yang 2006-07-24 02:33:07 +0000
  • e768f845f4 Extract common functionality to StrategyAbstractTest. Edward Z. Yang 2006-07-24 02:28:40 +0000
  • 219bd277e2 Add test Strategy folder to start migrating unit tests. Edward Z. Yang 2006-07-24 02:21:53 +0000
  • d98f1742ec Extract FixNesting strategy from Definition object. Edward Z. Yang 2006-07-24 01:54:25 +0000
  • 2e6a5c10b3 Add in a missing include. I'm seeing duplication... Edward Z. Yang 2006-07-24 01:50:41 +0000
  • 4b8a206417 Extract RemoveForeignElements strategy from Definition object. Edward Z. Yang 2006-07-24 01:50:02 +0000
  • 8e91e841f5 Update todo. Edward Z. Yang 2006-07-24 01:23:10 +0000
  • dfb3d48397 Migrate DefinitionTest to use DirectLex for easier to read test-cases. Edward Z. Yang 2006-07-24 01:22:51 +0000
  • b251c4ed86 Extract MakeWellFormed strategy from Definition object. Edward Z. Yang 2006-07-23 23:29:12 +0000
  • 9aa2da8f9f Commit Strategy, which will soon be splitting up the Definition file. Edward Z. Yang 2006-07-23 23:23:14 +0000
  • 609977f9f5 Add CDATA support to the Lexers, as well as give PEARSax3 entity replacement. Edward Z. Yang 2006-07-23 23:04:34 +0000