Remove incorrect script path.
[htmlpurifier.git] / TODO
blobbe08fe2bb78eb7b1271a926c002ec611550a3fda
2 TODO List
4 = KEY ====================
5     # Flagship
6     - Regular
7     ? Maybe I'll Do It
8 ==========================
10 If no interest is expressed for a feature that may required a considerable
11 amount of effort to implement, it may get endlessly delayed. Do not be
12 afraid to cast your vote for the next feature to be implemented!
15 UPCOMING RELEASE
16 ----------------
18 IMPORTANT
19  - Release candidate, because of the major changes
21 DOCUMENTATION
22  - Document new ConfigSchema setup and format; dev-includes.txt is a base
23    but we need it in HTML
24  - Update French translation of README
25  - Document which scripts need to be called when a change is made
27 IMPORTANT FEATURES
28  - Get everything into configuration objects (filters, I'm looking at you)
29  - Factor out command line parser into its own class, and unit test it
31 CONFIGDOC
32  - Properly integrate new ConfigSchema system into configdoc. DESCRIPTIONS
33    ARE CURRENTLY BROKEN AND NEED TO BE FIXED!!! (Configdoc
34    should directly read the configuration files, or at the very least should
35    not use static functions)
36  - Have configdoc use version and deprecated information (hide deprecated
37    info, for example)
38  - Implement source code sniffing for configdoc, so we can easily figure out
39    which files use what configuration (we'll rely on the $config convention)
41 NICE FEATURES
42  - Factor demo.php into a set of Printer classes, and then create a stub
43    file for users here (inside the actual HTML Purifier library)
44  - Support exporting configuration, so users can easily tweak settings
45    in the demo, and then copy-paste into their own setup
48 FUTURE VERSIONS
49 ---------------
51 3.2 release [Error'ed]
52  # Error logging for filtering/cleanup procedures
53  - XSS-attempt detection
55 3.3 release [Do What I Mean, Not What I Say]
56  # Additional support for poorly written HTML
57     - Microsoft Word HTML cleaning (i.e. MsoNormal, but research essential!)
58     - Friendly strict handling of <address> (block -> <br>)
59  - Remove redundant tags, ex. <u><u>Underlined</u></u>. Implementation notes:
60     1. Analyzing which tags to remove duplicants
61     2. Ensure attributes are merged into the parent tag
62     3. Extend the tag exclusion system to specify whether or not the
63     contents should be dropped or not (currently, there's code that could do
64     something like this if it didn't drop the inner text too.)
65  - Remove <span> tags that don't do anything (no attributes)
66  - Remove empty inline tags<i></i>
67  - Append something to duplicate IDs so they're still usable (impl. note: the
68    dupe detector would also need to detect the suffix as well)
69  - Externalize inline CSS to promote clean HTML
71 3.4 release [It's All About Trust] (floating)
72  # Implement untrusted, dangerous elements/attributes
73  # Implement IDREF support (harder than it seems, since you cannot have
74    IDREFs to non-existent IDs)
75  # Frameset XHTML 1.0 and HTML 4.01 doctypes
77 4.0 release [Beyond HTML]
78  # Legit token based CSS parsing (will require revamping almost every
79    AttrDef class). Probably will use CSSTidy class
80  # More control over allowed CSS properties (maybe modularize it in the
81    same fashion!)
82  # HTML 5 support
83  - Standardize token armor for all areas of processing
84  - Convert RTL/LTR override characters to <bdo> tags, or vice versa on demand.
85    Also, enable disabling of directionality
86  - Table of Contents generation (XHTML Compiler might be reusable)
88 5.0 release [To XML and Beyond]
89  - Extended HTML capabilities based on namespacing and tag transforms (COMPLEX)
90     - Hooks for adding custom processors to custom namespaced tags and
91       attributes, offer default implementation
92     - Lots of documentation and samples
94 Ongoing
95  - More refactoring to take advantage of PHP5's facilities 
96  - Lots of profiling, make it faster!
97  - Plugins for major CMSes (COMPLEX)
98     - phpBB
99     - more! (look for ones that use WYSIWYGs)
100  - Complete basic smoketests
102 AutoFormat
103  - Smileys
104  - Syntax highlighting with <pre> and possibly <?php
105  - Look at http://drupal.org/project/Modules/category/63 for ideas
107 Unknown release (on a scratch-an-itch basis)
108  # CHMOD install script for PEAR installs
109  ? Have 'lang' attribute be checked against official lists, achieved by
110    encoding all characters that have string entity equivalents
111  - Abstract ChildDef_BlockQuote to work with all elements that only
112    allow blocks in them, required or optional
113  - Reorganize Unit Tests
114  - Advanced URI filtering schemes (see docs/proposal-new-directives.txt)
115  - Implement lenient <ruby> child validation
116  - Explain how to use HTML Purifier in non-PHP languages / create
117    a simple command line stub (or complicated?)
118  - Fixes for Firefox's inability to handle COL alignment props (Bug 915)
119  - Automatically add non-breaking spaces to empty table cells when
120    empty-cells:show is applied to have compatibility with Internet Explorer
121  - Distinguish between default settings and explicitly set settings, so
122    configurations can be merged
123  - Nested configuration namespaces
124  - Allow scoped="scoped" attribute in <style> tags; may be troublesome
125    because regular CSS has no way of uniquely identifying nodes, so we'd
126    have to generate IDs
127  - Time PHPT tests
129 Requested
131 Wontfix
132  - Non-lossy smart alternate character encoding transformations (unless
133    patch provided)
134  - Pretty-printing HTML: users can use Tidy on the output on entire page
135  - Native content compression, whitespace stripping (don't rely on Tidy, make
136    sure we don't remove from <pre> or related tags): use gzip if this is
137    really important