0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-03-13 18:17:03 +00:00

Commit Graph

  • c06727190e Update NEWS accordingly. Edward Z. Yang 2008-05-21 01:58:48 +00:00
  • 1a95852007 [3.1.1] Implement more robust imagecrash protection for CSS width/height. - Change API for HTMLPurifier_AttrDef_CSS_Length - Implement HTMLPurifier_AttrDef_Switch class - Implement HTMLPurifier_Length->compareTo, and make make() accept object instances Edward Z. Yang 2008-05-21 01:56:48 +00:00
  • c3fab7200e Add support for pixel as a pseudo-English unit. Edward Z. Yang 2008-05-21 00:42:55 +00:00
  • 6d7a17e9b6 Implement without-bcmath compatible UnitConverter. We might want to factor our floating point fudges. These calculations are only accurate for small precisions, and are architecture-dependent. (Unit tests seem to work on 32bit, though). Edward Z. Yang 2008-05-21 00:29:31 +00:00
  • 64b5581bf2 [3.1.1] Have CSS/Length.php use the new Length class. Also, put onus of non-negative to callee, which would compare $n. Edward Z. Yang 2008-05-20 23:15:20 +00:00
  • d8da5ff406 Finally stabilize the unit converter. Edward Z. Yang 2008-05-20 21:23:38 +00:00
  • fda310f1e7 Update UnitConverter to deal more correctly with X.XX... decimals. Not complete. Edward Z. Yang 2008-05-20 17:48:15 +00:00
  • fc7dbdbd33 Disable Tidy test completely. Edward Z. Yang 2008-05-20 17:14:08 +00:00
  • 02ac821503 Update TODO and run flush. Edward Z. Yang 2008-05-20 01:31:51 +00:00
  • 16fa73afa0 [3.1.1] Added HTMLPurifier_UnitConverter and HTMLPurifier_Length for convenient handling of CSS-style lengths. - Fixed another de-underscoring in the SimpleTest library Edward Z. Yang 2008-05-20 01:19:00 +00:00
  • 32a6afa27c Update news. Edward Z. Yang 2008-05-18 20:12:25 +00:00
  • 864cb9e136 - Fix tagging script to work off of php4 - Fix svn.php to not clobber svn extension - Update NEWS Edward Z. Yang 2008-05-18 20:12:17 +00:00
  • 5b46727358 Tag 2.1.4 release. v2.1.4 Edward Z. Yang 2008-05-18 18:57:41 +00:00
  • 487fcd55ea Release 2.1.4 Edward Z. Yang 2008-05-18 18:56:27 +00:00
  • 587d642826 Release 3.1.0. v3.1.0 Edward Z. Yang 2008-05-18 05:46:06 +00:00
  • 0bef016271 [3.1.0] Get testing working again for all versions - Standalone testing setup properly with autoload - Bootstrap autoloader deals more robustly with classes that don't exist, preventing class_exists($class, true) from barfing. - Cleanup $_reporter to $reporter Edward Z. Yang 2008-05-16 01:49:33 +00:00
  • ec6b6821cf [2.1.4] Add information about PHP 5.0.5 or earlier. - Fix segfault in 5.0.x with IDAccumulator test. Edward Z. Yang 2008-05-16 01:25:22 +00:00
  • ef6a1c9274 Allow for users to load Language class files themselves. Messages are still HTML Purifier dependent; we need to figure out a way around that. Edward Z. Yang 2008-05-15 23:22:34 +00:00
  • f26eb7551a [2.1.4] [MFH] Fixed bug with fallback languages in LanguageFactory Edward Z. Yang 2008-05-15 23:20:21 +00:00
  • 86b1da9b6f [3.1.0] Fixed bug with fallback languages in LanguageFactory - Also, reverted bogus Generator changes Edward Z. Yang 2008-05-15 23:04:46 +00:00
  • 00ea2062d4 [3.1.0] Fix buggy LanguageFactory. This revision is incomplete. - Some bogus commits to Generator were made, and will be reverted next revision. Edward Z. Yang 2008-05-15 17:47:47 +00:00
  • a2aca4819d [2.1.4] [MFH] Revamp URI handling of percent encoding and validation from r1709 Edward Z. Yang 2008-05-15 05:30:20 +00:00
  • a75e4c6b7c [2.1.4] [MFH] getInstance -> instance from r1689 Edward Z. Yang 2008-05-15 05:24:34 +00:00
  • e7fa8cbdd5 [2.1.4] [MFH] Add protection against imagecrash attack with CSS height/width from r1684 Edward Z. Yang 2008-05-15 05:21:37 +00:00
  • 5fa575f8ac [2.1.4] [MFH] Encoder optimization and shut-up operator bugfix from r1680 Edward Z. Yang 2008-05-15 05:16:36 +00:00
  • 9f23bc005b [2.1.4] [MFH] addAttribute() can be called multiple times, from r1634 Edward Z. Yang 2008-05-15 05:13:11 +00:00
  • 957a840f54 [2.1.4] [MFH] Fix bug with rgb(0, 1, 2) color syntax with spaces inside shorthand syntax from r1612 - Also, repair botched comment patch Edward Z. Yang 2008-05-15 05:04:39 +00:00
  • a7762c5137 [2.1.4] [MFH] Fix bug in comment parsing with DirectLex from r1570 Edward Z. Yang 2008-05-15 04:43:52 +00:00
  • aca9d725ed [2.1.4] [MFH] Fix bug with trusted script handling in libxml versions later than 2.6.28 from r1553. Edward Z. Yang 2008-05-15 04:40:13 +00:00
  • 4ce3deba26 [2.1.4] [MFH] Recursive auto-close with <span><span><div> from r1492 Edward Z. Yang 2008-05-15 04:32:05 +00:00
  • d4da02ba95 [2.1.4] [MFH] Case-insensitive CSS from r1461 Edward Z. Yang 2008-05-15 04:26:30 +00:00
  • 97d3c8509c [2.1.4] [MFH] register() for DefinitionCacheFactory from r1464 Edward Z. Yang 2008-05-15 04:21:23 +00:00
  • 21c6803401 [2.1.4] [MFH] Color and CSS bugfixes from r1473 Edward Z. Yang 2008-05-15 04:01:45 +00:00
  • cb5d5d0648 [3.1.0] Revamp URI handling of percent encoding and validation. Edward Z. Yang 2008-05-14 02:19:00 +00:00
  • 77ce3e8b4a [3.1.0] Extend scanner to catch $this->config; chmod new directories from Serializer. I'm not exactly sure what the implications of the bugfix are, but hopefully it won't blow up. Edward Z. Yang 2008-05-13 03:17:38 +00:00
  • e0c0d8eab6 [3.1.0] Allow arbitrary whitespace in %HTML.Allowed Edward Z. Yang 2008-05-13 02:02:27 +00:00
  • ce46fb618c [3.1.0] Add missing tests and errors for forbidden attributes Edward Z. Yang 2008-05-13 01:41:25 +00:00
  • 9f37764614 Update TODO with items from Denis. Edward Z. Yang 2008-05-06 03:08:09 +00:00
  • aaf6ba421c Sync with SimpleTest codebase Edward Z. Yang 2008-04-28 19:52:13 +00:00
  • 4b862f64e6 [3.1.0] Fix ScriptRequired bug with trusted installs - Generator now takes $config and $context during instantiation - Double quotes outside of attributes are not escaped Edward Z. Yang 2008-04-28 01:35:07 +00:00
  • be2cfb7918 Fix latest batch of SimpleTest changes. Also, commit forgotten NEWS. Edward Z. Yang 2008-04-26 19:50:27 +00:00
  • 2f29c27a59 [3.1.0] Fix broken PH5P in latest versions of DOM with bandaid; punt to DirectLex. Edward Z. Yang 2008-04-26 19:47:22 +00:00
  • 144bd6f07a [3.1.0] Fix bug with 3.1.0-dev version number (the dash caused problems, so we switched to commas) - Refactored out null definition cache during HTMLDefinition tests Edward Z. Yang 2008-04-26 19:28:14 +00:00
  • a95f600e76 Fix another fatal error from SimpleTest refactoring. Edward Z. Yang 2008-04-26 03:18:07 +00:00
  • 84aa2ca390 [3.1.0] Implement tag@attr for Allowed and Forbidden - Fix (or null) bug in configdoc Edward Z. Yang 2008-04-26 03:14:01 +00:00
  • 1f8619cda5 [3.1.0] Fix and revamp configForm.php smoketest - Fix bool/null ConfigForm field Edward Z. Yang 2008-04-26 01:13:58 +00:00
  • 04b1ec33cb [3.1.0] version -> VERSION Edward Z. Yang 2008-04-25 05:47:36 +00:00
  • 6d9643a92e [3.1.0] Add const version to HTMLPurifier, also bump version to 3.1.0-dev; this apparently is a good idea! Edward Z. Yang 2008-04-25 05:26:10 +00:00
  • 438d973073 Renumber as 3.1.0, however, NOT releasing (WHATSNEW isn't updated) Edward Z. Yang 2008-04-25 03:54:38 +00:00
  • f295465ad4 [3.1.0] Allow index to be false for config from for creation - Static-ify Printer_ConfigForm's get* functions Edward Z. Yang 2008-04-25 02:43:31 +00:00
  • eaabccdd9b [3.1.0] More PHP4->PHP5 conversions, notably reference removal of most methods that return objects - Removed HTMLPurifier_Error - Documentation updates - Removed more copy() methods in favor of clone - HTMLPurifier::getInstance() to HTMLPurifier::instance() - Fix InterchangeBuilder to use HTMLPURIFIER_PREFIX Edward Z. Yang 2008-04-23 02:40:17 +00:00
  • 893cdd0301 All 3.1.0 TODOs are done! Edward Z. Yang 2008-04-23 00:17:52 +00:00
  • 1ba77fedd4 [3.1.0] Implement DenyElementDecorator for imagecrash-protection against CSS width/height - Misc doc changes - Add missing inheritance for AttrDef_CSS decorators Edward Z. Yang 2008-04-22 22:28:54 +00:00
  • fae720115a Update TODO Edward Z. Yang 2008-04-22 20:57:11 +00:00
  • c0f2e69c9f [3.1.0] Update French documentation. Edward Z. Yang 2008-04-22 20:43:47 +00:00
  • ca6b20ff2b [phorum-3.0.0.1] Improve installation documentation. Edward Z. Yang 2008-04-22 18:30:01 +00:00
  • c4aa3ee40c [3.1.0] Encoder optimization, as suggested by Diego Edward Z. Yang 2008-04-22 18:14:40 +00:00
  • e9c7873057 [3.1.0] Fix validation error with missing li. Edward Z. Yang 2008-04-22 17:35:39 +00:00
  • d45f42e6a8 Update docs. Edward Z. Yang 2008-04-22 17:32:42 +00:00
  • f46aef698e Post rc skirmishes. - Update docs - Update source code comments in generated files - release1-update.php now flushes after it finishes - Make InterchangeBuilder alphabetize Edward Z. Yang 2008-04-22 16:20:45 +00:00
  • 8fdf8c2e44 Release 3.1.0rc1 v3.1.0rc1 Edward Z. Yang 2008-04-22 07:24:47 +00:00
  • 4fe475c57f [3.1.0] Implement %HTML.Forbidden* Edward Z. Yang 2008-04-22 07:16:49 +00:00
  • d3710518ce Minor documentation updates; we're going to bite the bullet and tell PEAR users to change their installs. Edward Z. Yang 2008-04-22 06:47:45 +00:00
  • e1876c18ad [3.1.0] Deprecate addFilter; set up Filter namespace - Added EXTERNAL dependency config-schema value - Fix safe bug in Printer_HTMLDefinition - Fixed broken smoketests Edward Z. Yang 2008-04-22 06:40:04 +00:00
  • e616f07739 [3.1.0] Implement file sniffing of $config, for TRUE feature parity! Also add some really silly multi-column code in the XSLT. Edward Z. Yang 2008-04-22 05:38:03 +00:00
  • 8708c0617a Minor whitespace and div fixes for XSLT Edward Z. Yang 2008-04-22 02:24:11 +00:00
  • 39be09ee14 [3.1.0] Add support for deprecated and version in configdoc - Hide deprecated elements from ToC - %HTML.Doctype takes null instead of empty string; this shouldn't affect anyone Edward Z. Yang 2008-04-22 02:19:40 +00:00
  • 949f605857 [3.1.0] Feature parity with configdoc rewrite - Abolish most classes in ConfigDoc except for HTMLXSLTProcessor - Implement Builder_Xml using XmlWriter - Add some convenience functions Edward Z. Yang 2008-04-22 01:58:06 +00:00
  • 50aa0ea714 [3.1.0] Move $safe from ElementDef to HTMLModule - Make $info in AttrTypes protected, to force cloning - Remove copy() functions in favor of clone Edward Z. Yang 2008-04-21 23:28:52 +00:00
  • 59605d592b Classname() constructors to __construct() constructors, as per SimpleTest. Also normalized ppp declarations; no public declaration for test methods, public/protected for the rest Edward Z. Yang 2008-04-21 15:24:18 +00:00
  • 5dbd455afb Add nice error message Edward Z. Yang 2008-04-15 03:59:36 +00:00
  • 64d2da72f8 Make flush work with non-standard PHP binaries Edward Z. Yang 2008-04-15 03:51:21 +00:00
  • 5489537b4b Make flush use its input executable Edward Z. Yang 2008-04-15 03:35:59 +00:00
  • a4181a80d7 Various fixes: - Resync standalone with includes - Fix error queue code - Fix heisenbug with flush and certain definition error messages - Fix premature $end in ini files - Make $php config variable actually do something Edward Z. Yang 2008-04-15 03:33:09 +00:00
  • a1ea149105 Fix reporter's custom CSS Edward Z. Yang 2008-04-14 19:19:48 +00:00
  • 3b5effcb72 - Removed tally(), swallowErrors(), assertNoErrors() - Removed unnecessary ampersands Edward Z. Yang 2008-04-14 03:06:36 +00:00
  • d1ace6af17 More documentation updates. Edward Z. Yang 2008-04-10 02:56:46 +00:00
  • a391dfe1de Update docs for SimpleTest and PHPT, also update TODO. Edward Z. Yang 2008-04-09 02:00:42 +00:00
  • 119c70fc05 Remove some vestigial SimpleTest code, fix some tests, also reload the includes. Edward Z. Yang 2008-04-09 01:56:19 +00:00
  • b997076dfa Automatically disable PHPT if version of PHP isn't supported. Edward Z. Yang 2008-04-08 19:25:56 +00:00
  • 04a6b1d3f2 Update broken test, also update SimpleTest loading code to trunk. Edward Z. Yang 2008-04-08 04:52:22 +00:00
  • 27ba8f2192 [3.1.0] Document Config Schema, also, fix bug with null defaults Edward Z. Yang 2008-04-05 18:37:08 +00:00
  • 9f1e678b48 [3.1.0] Fixed fatal error in PH5P lexer with invalid tag names Edward Z. Yang 2008-04-05 04:28:37 +00:00
  • c216968087 Miscellaneous documentation updates. Edward Z. Yang 2008-04-04 22:15:14 +00:00
  • d467af6c4b [3.1.0] Feature-parity achieved for validator! Implement alias checking. Edward Z. Yang 2008-04-04 22:04:10 +00:00
  • 0ee090bc7b [3.1.0] Continue building up validation functions - Remove incorrect parsing of value aliases - Implement most allowed and value alias checks - Add assertIsBool, assertIsArray and assertIsLookup to ValidatorAtom - Publish string types in VarParser Edward Z. Yang 2008-04-04 21:33:37 +00:00
  • 6b21a841c4 Fix bug with safe-includes generation Edward Z. Yang 2008-04-04 17:47:52 +00:00
  • 08bdeb2ac2 [3.1.0] Add HTMLPurifier.safe-includes.php loader stub. Edward Z. Yang 2008-04-04 17:44:42 +00:00
  • 9676e8580e [3.1.0] Improve maintenance script documentation Edward Z. Yang 2008-04-03 22:39:50 +00:00
  • dac98cdb06 [3.1.0] Emit notice if setting configuration alias, and fix up our test code not to use aliases Edward Z. Yang 2008-04-03 21:53:06 +00:00
  • 870a4029ec Minor doc updates Edward Z. Yang 2008-04-03 21:40:37 +00:00
  • e78df4dc9f [3.1.0] When flush fails, fail SimpleTest Edward Z. Yang 2008-04-03 21:24:16 +00:00
  • 1d25be875d [3.1.0] Maintenance scripts emit and honor proper exit codes Edward Z. Yang 2008-04-03 20:52:08 +00:00
  • 0e51e42197 Update sample test-settings file to be more user-friendly. Edward Z. Yang 2008-04-01 17:35:01 +00:00
  • 51cbb72649 [3.1.0] Landed modified patch by Braden Anderson for %CSS.AllowedProperties - Fix broken ConfigSchema build, as well as broken aliases - Remove another advisory property from runtime ConfigSchema classes - Reorder flush script to more accurately reflect dependencies - Remove some aliases from unit tests Edward Z. Yang 2008-03-30 21:44:16 +00:00
  • 9f2f6c3166 [3.1.0] Fix bug with addAttribute when called multiple times on the same element Edward Z. Yang 2008-03-26 04:31:04 +00:00
  • 48311b3b02 Update TODO with a few bugs that need to be squished. Edward Z. Yang 2008-03-26 04:11:38 +00:00
  • 880a5b9dae Remove incorrect script path. Edward Z. Yang 2008-03-24 19:38:56 +00:00
  • 043099549c Tick off a few TODO items. Edward Z. Yang 2008-03-23 02:55:00 +00:00
  • 0c051df108 Fix broken --only-phpt tests Edward Z. Yang 2008-03-23 02:51:50 +00:00