Edward Z. Yang
|
89376a11e3
|
Remove a huge swath of duplicated function calls by factoring them into a normalize() function. Also made DirectLex's variable names consistent with the rest of the classes.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@340 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-29 20:05:26 +00:00 |
|
Edward Z. Yang
|
1de3088276
|
Refactor encoding and entity specific processing to HTMLPurifier_Encoder. We also need to refactor the escaping to this class too.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@339 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-29 19:36:40 +00:00 |
|
Edward Z. Yang
|
55503744ee
|
Slight adjustments to demo: reset to default time limit and send out a header indicating character encoding.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@338 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-29 19:06:43 +00:00 |
|
Edward Z. Yang
|
670d298a87
|
Implement list-style shorthand. Also, updated devnetwork.html with more recent threads.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@337 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-29 02:01:58 +00:00 |
|
Edward Z. Yang
|
784e7356d1
|
Fix missing inheritance declaration.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@336 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-28 20:29:36 +00:00 |
|
Edward Z. Yang
|
fbb0c486ec
|
Doxygen needs to ignore test-settings.php.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@335 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-28 20:28:19 +00:00 |
|
Edward Z. Yang
|
a1b60ad70f
|
- Update Doxyfile to ignore PHPDoc files.
- More progress color twiddling, add new type feature
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@334 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-28 20:24:25 +00:00 |
|
Edward Z. Yang
|
3e8b1d1148
|
Update progress, add target milestones.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@333 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-28 20:18:56 +00:00 |
|
Edward Z. Yang
|
dd1b911183
|
Implement limited CSS property background, can only do colors (though this is desired behavior).
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@332 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-28 20:10:01 +00:00 |
|
Edward Z. Yang
|
4e08389427
|
Modify TODO: we'll support lossy character encoding transformations (good for websites that are not i18n) but not much else.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@331 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-28 19:21:46 +00:00 |
|
Edward Z. Yang
|
dc19ac9a2a
|
Update TODO, organize items according to version numbers.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@330 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-28 02:47:03 +00:00 |
|
Edward Z. Yang
|
15988980db
|
- Switch to HTMLPurifier.php, a more logical "must include" for the tester
- Disable encoding options, we're going to defer implementation of them for a later release.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@329 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-28 02:25:19 +00:00 |
|
Edward Z. Yang
|
7588068b7b
|
Hacky full docuement parse thingy removed from DOMLex, fixes barfing on full HTML documents.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@328 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-27 22:06:58 +00:00 |
|
Edward Z. Yang
|
24cde9c891
|
Revamp configuration files so that more rules can be added, internal organization is more logical, and descriptions are captured.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@327 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-27 18:49:16 +00:00 |
|
Edward Z. Yang
|
0d4ee2ba37
|
Fix call-time pass by reference typos.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@326 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-27 02:08:50 +00:00 |
|
Edward Z. Yang
|
78414abafd
|
Implement all useful table properties.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@325 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-27 01:45:23 +00:00 |
|
Edward Z. Yang
|
692a9abc0f
|
Implement shorthand CSS property border.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@324 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-27 00:49:34 +00:00 |
|
Edward Z. Yang
|
ffe39d7f30
|
Basic color keywords translated into hexadecimal values.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@323 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-27 00:35:57 +00:00 |
|
Edward Z. Yang
|
5169fc7a3b
|
Twiddle colors a little to remove all that red.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@322 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-27 00:16:36 +00:00 |
|
Edward Z. Yang
|
80e79d906a
|
Implement CSS property Font.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@321 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-27 00:11:13 +00:00 |
|
Edward Z. Yang
|
a43a2730bc
|
Add filter levels document, detailing how to extend Definition.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@320 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-26 18:44:50 +00:00 |
|
Edward Z. Yang
|
ca1453401f
|
Update documentation.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@319 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-25 03:01:16 +00:00 |
|
Edward Z. Yang
|
dcec92e7b3
|
Fix bug: number spans should not allow zero as a value. This required augmenting HTMLPurifier/AttrDef/Integer.php to have a richer negative/zero/positive specification interface that can be extrapolated to Number and friends.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@318 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-25 02:48:49 +00:00 |
|
Edward Z. Yang
|
fb0003a608
|
Update ignore lists.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@317 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-23 20:12:21 +00:00 |
|
Edward Z. Yang
|
1b8f4fa5bc
|
Update todo, added Microsoft Word cleaning and expanded some of the existing items.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@316 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-23 20:09:55 +00:00 |
|
Edward Z. Yang
|
f46b15cb82
|
Document fact that inherit only works when its alone.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@315 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-23 02:11:04 +00:00 |
|
Edward Z. Yang
|
6af60425b8
|
Modify demo so that outputted source in text area is SGML valid.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@314 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-21 00:48:43 +00:00 |
|
Edward Z. Yang
|
f8839d56a0
|
Add missing extends.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@313 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-21 00:36:36 +00:00 |
|
Edward Z. Yang
|
fb08b9c89b
|
Document URISchemes, this completes internal API documentation.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@311 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-20 22:06:11 +00:00 |
|
Edward Z. Yang
|
f7760c8cb6
|
Document Strategies.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@310 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-20 21:59:41 +00:00 |
|
Edward Z. Yang
|
7813e79bda
|
Document all AttrTransforms.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@309 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-20 21:55:28 +00:00 |
|
Edward Z. Yang
|
314a48373c
|
Document all AttrDefs, also remove duplicant NumberSpan in favor of Integer.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@308 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-20 21:47:15 +00:00 |
|
Edward Z. Yang
|
ca0914789c
|
Fix syntax error.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@307 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-20 21:39:22 +00:00 |
|
Edward Z. Yang
|
2605257723
|
Finish documentation for all base classes.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@306 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-20 20:59:13 +00:00 |
|
Edward Z. Yang
|
679302b161
|
Detail structural changes involving Config and *Definition
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@305 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-19 23:08:58 +00:00 |
|
Edward Z. Yang
|
37cbdc25b1
|
Document core classes up to EntityLookup.php
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@304 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-19 23:06:59 +00:00 |
|
Edward Z. Yang
|
973cc43b64
|
Malformed UTF-8 and non-SGML character detection and cleaning implemented
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@303 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-19 17:53:59 +00:00 |
|
Edward Z. Yang
|
53808ee34a
|
Attempt to fix inconsistent DOM behavior regarding insertion of P tags.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@302 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-19 16:24:17 +00:00 |
|
Edward Z. Yang
|
2eef708557
|
Fix syntax error.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@301 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-19 00:26:33 +00:00 |
|
Edward Z. Yang
|
42ba96e2de
|
Put in cleanUTF8 function, currently unused but will be adapted for our needs.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@300 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-18 20:06:40 +00:00 |
|
Edward Z. Yang
|
a33cd12f1a
|
Fixed broken multibyte numeric entity conversion in Lexer::substituteNonSpecialEntities()
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@299 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-18 17:49:33 +00:00 |
|
Edward Z. Yang
|
c393ef8a81
|
+ DevNetwork thread "Non-SGML characters"
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@298 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-18 15:13:18 +00:00 |
|
Edward Z. Yang
|
ad83ab430d
|
Make unit tests UTF-8, add phpdoc.ini config file.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@297 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-18 04:24:19 +00:00 |
|
Edward Z. Yang
|
4c52e42189
|
Fix typo: $attributes to $attr.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@296 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-18 01:27:14 +00:00 |
|
Edward Z. Yang
|
50d5179dbd
|
Add next release to NEWS.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@295 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-18 00:04:05 +00:00 |
|
Edward Z. Yang
|
af0de616ae
|
Add a variableWidthAttack smoketest, and add analysis to some smoketests.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@294 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-17 23:36:35 +00:00 |
|
Edward Z. Yang
|
66ddc4cc5a
|
Add lots of documentation.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@293 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-17 20:29:34 +00:00 |
|
Edward Z. Yang
|
252c5afae0
|
Update NEWS and TODO after IPv6 was fixed.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@287 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-17 01:49:38 +00:00 |
|
Edward Z. Yang
|
04c0953af0
|
Link back to home page.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@286 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-17 01:41:32 +00:00 |
|
Edward Z. Yang
|
1cadb08fbb
|
Commit IPv6 fix, with majoring factoring out. Thank you Feyd!
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@284 48356398-32a2-884e-a903-53898d9a118a
|
2006-08-17 01:05:35 +00:00 |
|