From c2d3d5b85951e885f442cbc8852d86685bf9319f Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 21 Jan 2007 17:45:33 +0000 Subject: [PATCH] Release 1.4.0. git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/branches/strict@682 48356398-32a2-884e-a903-53898d9a118a --- Doxyfile | 2 +- NEWS | 6 ++---- TODO | 13 ++++++------- art/1000passes.png | Bin 0 -> 3522 bytes library/HTMLPurifier.php | 4 ++-- .../HTMLPurifier/AttrDef/BackgroundPosition.php | 4 ++-- 6 files changed, 13 insertions(+), 16 deletions(-) create mode 100644 art/1000passes.png diff --git a/Doxyfile b/Doxyfile index 3fed194f..6d86e5c6 100644 --- a/Doxyfile +++ b/Doxyfile @@ -4,7 +4,7 @@ # Project related configuration options #--------------------------------------------------------------------------- PROJECT_NAME = HTML Purifier -PROJECT_NUMBER = 1.3.2 +PROJECT_NUMBER = 1.4.0 OUTPUT_DIRECTORY = "C:/Documents and Settings/Edward/My Documents/My Webs/htmlpurifier/docs/doxygen" CREATE_SUBDIRS = NO OUTPUT_LANGUAGE = English diff --git a/NEWS b/NEWS index 2bd97555..1eb74717 100644 --- a/NEWS +++ b/NEWS @@ -9,7 +9,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier . Internal change ========================== -1.4.0, unknown release date +1.4.0, released 2007-01-21 ! Implemented list-style-image, URIs now allowed in list-style ! Implemented background-image, background-repeat, background-attachment and background-position CSS properties. Shorthand property background @@ -22,15 +22,13 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier ! YouTube preservation code added to the core, with two lines of code you can add it as a filter to your code. See smoketests/preserveYouTube.php for sample code. +! Moved SLOW to docs/enduser-slow.html and added code examples - Replaced version check with functionality check for DOM (thanks Stephen Khoo) . Added smoketest 'all.php', which loads all other smoketests via frames . Implemented AttrDef_CSSURI for url(http://google.com) style declarations . Added convenient single test selector form on test runner -1.3.3, unknown release date, likely to be dropped -! Moved SLOW to docs/enduser-slow.html and added code examples - 1.3.2, released 2006-12-25 ! HTMLPurifier object now accepts configuration arrays, no need to manually instantiate a configuration object diff --git a/TODO b/TODO index aa625d3a..df7b9184 100644 --- a/TODO +++ b/TODO @@ -8,7 +8,7 @@ TODO List ========================== 1.5 release - # Implement all non-essential attribute transforms + # Implement all non-essential attribute transforms, configurable # URI validation routines tighter (see docs/dev-code-quality.html) (COMPLEX) # Advanced URI filtering schemes (see docs/proposal-new-directives.txt) # Error logging for filtering/cleanup procedures @@ -62,6 +62,11 @@ TODO List - Allow tags to be "armored", an internal flag that protects them from validation and passes them out unharmed - XHTML 1.1 support + - Fixes for Firefox's inability to handle COL alignment props (Bug 915) + - Automatically add non-breaking spaces to empty table cells when + empty-cells:show is applied to have compatibility with Internet Explorer + - Convert RTL/LTR override characters to tags, or vice versa on demand. + Also, enable disabling of directionality Ongoing - Lots of profiling, make it faster! @@ -72,11 +77,6 @@ Ongoing Unknown release (on a scratch-an-itch basis) - Upgrade SimpleTest testing code to newest versions - - Fixes for Firefox's inability to handle COL alignment props (Bug 915) - - Automatically add non-breaking spaces to empty table cells when - empty-cells:show is applied to have compatibility with Internet Explorer - - Convert RTL/LTR override characters to tags, or vice versa on demand. - Also, enable disabling of directionality - Have 'lang' attribute be checked against official lists ? Semi-lossy dumb alternate character encoding transformations, achieved by encoding all characters that have string entity equivalents @@ -84,7 +84,6 @@ Unknown release (on a scratch-an-itch basis) Requested ? Native content compression, whitespace stripping (don't rely on Tidy, make sure we don't remove from
 or related tags)
- ? Win32 Phalanger C# binaries
 
 Wontfix
  - Non-lossy smart alternate character encoding transformations (unless
diff --git a/art/1000passes.png b/art/1000passes.png
new file mode 100644
index 0000000000000000000000000000000000000000..3351c92ab2ac885ec2191425b6b97d71afdbf280
GIT binary patch
literal 3522
zcmcgvXH*l|wvKHC1RN0o#Q;J;DN;2^XOt>kNoXcWks>7+N{FFYC=(b414h9JC?ZJB
z&;&vNrAm;AfIvb>7`g}nNe~Dj@$uezcddK>+;#6-_q`wIoc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m?TA>w0_xSTnx|lY@%NJG#4QJsz)y$*0Lm;yi5h)8MF_p-QrTyd#!=Pxjycc{wuuf@nijY3kgYBeqxJ<9j5@Y2+(cNgXNIFZ3jE
z{2Q6773uQV$QDJz0djF?PPP>UQ;Q>g-DO0!9CFR@ujAZDa(}r50jZ1x`V80iB%U|D
z?Y|G>)YA)!Q)+1Ed%q;7G+mJ)sQOeaPjp)dK2i=vn!cTnAvlq0Oj%@b$c*t2+;Wik7Tmx6c<4)5&5mu#kelb4S-I`-**YL*`
ziovHuSM*%U**H1g#upNdV=4sMZ4Q{PlTjd<(ixvV61ERJb*RM7Hci$FBGH
zY$%Rox@bd_YqZZk&6sat;8{BCRdw`7Y`b*Wd=Hs-9O@Q+`H~Q8RRqtY;o;1x1AZ=?
z(ouSN#eoX5!ho~GEKWC0$yXtae&piYlDhXX-zi}>eoU)xe)qd=RN?8e`fz^Z6*n)X
zf_gG%cCBx(J)MLGJdUp~=@9a1Ya#^xLUb$hu8XRgz3~Etkj4sg3Aa%NgJI*qpL^6&
z3VQv29jv6JF2V9ykGd~)Ypi}l!iy|xHCqex81-Fjlength->validate($bit, $config, &$context);
+            $r = $this->length->validate($bit, $config, $context);
             if ($r !== false) {
                 $measures[] = $r;
                 $i++;
             }
             
             // test for percentage
-            $r = $this->percentage->validate($bit, $config, &$context);
+            $r = $this->percentage->validate($bit, $config, $context);
             if ($r !== false) {
                 $measures[] = $r;
                 $i++;