/[suikacvs]/markup/html/whatpm/readme.en.html
Suika

Contents of /markup/html/whatpm/readme.en.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (hide annotations) (download) (as text)
Sun Oct 7 05:06:56 2007 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.11: +4 -0 lines
File MIME type: text/html
++ ChangeLog	7 Oct 2007 04:57:00 -0000
2007-10-07  Wakaba  <wakaba@suika.fam.cx>

	* readme.en.html: Link to the spec for manakai's extension Selectors
	pseudo-classes is added.

++ whatpm/Whatpm/ChangeLog	7 Oct 2007 04:57:50 -0000
++ whatpm/Whatpm/CSS/ChangeLog	7 Oct 2007 05:06:49 -0000
2007-10-07  Wakaba  <wakaba@suika.fam.cx>

	* SelectorsParser.pm (BEFORE_CONTAINS_STRING_STATE): New state.
	(parse_string): Support for |-manakai-current|
	and |-manakai-contains| pseudo-classes.

	* SelectorsSerializer.pm: Support for |-manakai-current|
	and |-manakai-contains| pseudo-classes.


2007-09-24  Wakaba  <wakaba@suika.fam.cx>

	* SelectorsParser.pm: Pass an empty string as a prefix
	for lookup namespace prefix callback, for loose compatibility
	with the |NSResolver| interface.

1 wakaba 1.1 <!DOCTYPE html>
2     <html lang="en">
3     <head>
4     <title>Whatpm &mdash; Perl Modules for Web Hypertext Application
5 wakaba 1.2 Technologies (beta)</title>
6 wakaba 1.1 <link rel="stylesheet" href="http://suika.fam.cx/www/style/html/xhtml">
7     <link rel="license" href="#license">
8     <link rel="author" href="#author">
9     </head>
10     <body>
11 wakaba 1.2 <h1>Whatpm (<em>beta</em>)</h1>
12 wakaba 1.1
13     <div class="section" id="introduction">
14     <h2>Introduction</h2>
15    
16 wakaba 1.8 <p><dfn>Whatpm</dfn> is a <em>work-in-progress</em> set of Perl modules for
17     Web hypertext application technologies. It is part
18     of the <a href="http://suika.fam.cx/www/2006/manakai/" rel=up>manakai</a>
19     project.</p>
20 wakaba 1.1
21     <dl>
22 wakaba 1.8 <dt>Modules</dt>
23     <dd><dl>
24 wakaba 1.4 <dt><a href="Whatpm/ContentChecker.html"><code>Whatpm::ContentChecker</code></a></dt>
25     <dd>A DOM5 HTML (in-memory representation of a document) conformance
26 wakaba 1.11 checker with a partial support for Atom 1.0. (See also
27     <a href="#demo-html-parser">demo</a>.)</dd>
28 wakaba 1.1 <dt><a href="Whatpm/ContentType.html"><code>Whatpm::ContentType</code></a></dt>
29     <dd>An implementation of HTML5 Content Type sniffing algorithm.</dd>
30 wakaba 1.10 <dt><a href="Whatpm/CSS/SelectorsParser.html"><code>Whatpm::CSS::SelectorsParser</code></a></dt>
31     <dd>A <a href="http://www.w3.org/TR/css3-selectors/#grouping">group of
32 wakaba 1.11 selectors</a> parser. (See also <a href="#demo-css-parser">demo</a>.)</dd>
33 wakaba 1.10 <dt><a href="Whatpm/CSS/SelectorsSerializer.html"><code>Whatpm::CSS::SelectorsSerializer</code></a></dt>
34     <dd>A <a href="http://www.w3.org/TR/css3-selectors/#grouping">group of
35 wakaba 1.11 selectors</a> serializer. (See also <a href="#spec-ssft">specification</a>
36     and <a href="#demo-css-parser">demo</a>.)</dd>
37 wakaba 1.9 <dt><a href="Whatpm/CSS/Tokenizer.html"><code>Whatpm::CSS::Tokenizer</code></a></dt>
38 wakaba 1.11 <dd>A CSS tokenizer. (See also <a href="#demo-css-parser">demo</a>.)</dd>
39 wakaba 1.1 <dt><a href="Whatpm/HTML.html"><code>Whatpm::HTML</code></a></dt>
40 wakaba 1.8 <dd>An implementation of HTML5 parsing algorithm, fragment
41     parsing, and fragment serialization algorithms. It can be used
42 wakaba 1.11 to convert a string into DOM, or <i lang="">vice versa</i>.
43     (See also <a href="#demo-html-parser">demo</a>.)</dd>
44 wakaba 1.4 <dt><a href="Whatpm/HTMLTable.html"><code>Whatpm::HTMLTable</code></a></dt>
45 wakaba 1.8 <dd>An implementation of the HTML5 table algorithm. It can be
46     used to extract a table structure from a DOM <code>table</code>
47 wakaba 1.11 element node. (See also <a href="#demo-html-table">demo</a>.)</dd>
48 wakaba 1.4 <dt><a href="Whatpm/IMTChecker.html"><code>Whatpm::IMTChecker</code></a></dt>
49 wakaba 1.5 <dd>An Internet Media Type (<abbr>aka</abbr> MIME type) label
50 wakaba 1.4 conformance checker.</dd>
51     <dt><a href="Whatpm/URIChecker.html"><code>Whatpm::URIChecker</code></a></dt>
52     <dd>An IRI reference conformance checker.</dd>
53 wakaba 1.5 <dt><a href="Whatpm/XMLSerializer.html"><code>Whatpm::XMLSerializer</code></a></dt>
54     <dd>A simple XML serializer.</dd>
55 wakaba 1.8 </dl>
56    
57     <p>Note that all of these modules are <em>work in progress</em>
58     and have <a href="#todo">a number of unresolved problems</a>.</p>
59    
60     <p>Note also that some modules have no documentation for now.</p>
61     </dd>
62 wakaba 1.11 <dt id=spec>Specification</dt>
63 wakaba 1.10 <dd><dl>
64 wakaba 1.11 <dt id=spec-ssft><a href="http://suika.fam.cx/www/markup/selectors/ssft/ssft"><abbr title="Selectors Serialization Format for Testing">SSFT</abbr>
65 wakaba 1.10 Specification</a></dt>
66     <dd>The specification for the serialization format used for
67     testing Selectors-related modules.</dd>
68 wakaba 1.12 <dt id=spec-manakai-selectors"><a href="http://suika.fam.cx/gate/2005/sw/manakai/Selectors%20Extensions">manakai's
69     Selectors Extensions</a></dt>
70     <dd>The specification for <code>:-manakai-<var>*</var></code>
71     pseudo-classes implemented by Selectors-related modules.</dd>
72 wakaba 1.10 </dl></dd>
73 wakaba 1.8 <dt>Documentation</dt>
74     <dd><dl>
75 wakaba 1.5 <dt><a href="http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types">List of error types</a></dt>
76 wakaba 1.8 <dd>Description of errors to be notified to callback functions by Whatpm
77     modules.</dd>
78     </dd></dl></dd>
79 wakaba 1.1 </dl>
80     </div>
81    
82     <div class="section" id="demo">
83     <h2>Demo</h2>
84    
85 wakaba 1.4 <ul>
86 wakaba 1.11 <li id=demo-html-parser-nanodom><a href="http://suika.fam.cx/gate/2007/html/parser-interface">HTML5 parser
87     and checker demo</a>
88     (<a href="http://suika.fam.cx/gate/cvs/*checkout*/webroot/gate/2007/html/parser.cgi">source</a>,
89     with <a href="Whatpm/NanoDOM.html">a lightweight non-conforming
90     DOM implementation</a>)</li>
91     <li id=demo-html-parser-manakai><a href="http://suika.fam.cx/gate/2007/html/parser-manakai-interface">HTML5
92     parser and checker demo, with manakai's DOM implementation</a>
93     (<a href="http://suika.fam.cx/gate/cvs/*checkout*/webroot/gate/2007/html/parser-manakai.cgi">source</a>)</li>
94     <li id=demo-html-table><a href="http://suika.fam.cx/gate/2007/html/table-interface">HTML5 table
95     structure visualization demo</a>
96     (<a href="http://suika.fam.cx/gate/cvs/*checkout*/webroot/gate/2007/html/table.cgi">source</a>)</li>
97     <li id=demo-css-parser><a href="http://suika.fam.cx/gate/2007/css/parser-interface">CSS tokenizer
98     demo</a>
99     (<a href="http://suika.fam.cx/gate/cvs/*checkout*/webroot/gate/2007/css/parser.cgi">source</a>)</li>
100 wakaba 1.4 </ul>
101 wakaba 1.6 </div>
102    
103     <div class="section" id="dependency">
104     <h2>Dependency</h2>
105    
106     <dl>
107     <dt>Perl 5.8 or later</dt>
108     <dd>It is recommended to use newer release of Perl 5.8 or later.</dd>
109     <dt><code>Message::IMT::InternetMediaType</code></dt>
110     <dd><code>Whatpm::IMTChecker</code> depends on
111     <code>Message::IMT::InternetMediaType</code>, which is part of
112     <a href="http://suika.fam.cx/www/2006/manakai/">manakai</a>.</dd>
113     <dt><code>Message::URI::URIReference</code></dt>
114     <dd><code>Whatpm::URIChecker</code> depends on
115     <code>Message::URI::URIReference</code>, which is part of
116     <a href="http://suika.fam.cx/www/2006/manakai/">manakai</a>.</dd>
117     <dt><a href="http://suika.fam.cx/www/manakai-charlib/readme">manakai
118     charlib</a></dt>
119     <dd><code>Whatpm::Charset::DeocdeHandle</code> depends on
120     modules in <a href="http://suika.fam.cx/www/manakai-charlib/readme">manakai
121     charlib</a> for <em>decoding Japanese character encodings</em>.
122     See the documentation for
123     <a href="http://suika.fam.cx/www/manakai-charlib/readme">manakai
124     charlib</a> for more information.</dd>
125     <dt><code>Message::DOM::DOMImplementation</code> and related modules</dt>
126     <dd><em>Testing</em> for <code>Whatpm::ContentChecker</code>
127     depends on <code>Message::DOM::DOMImplementation</code> and related modules
128     in <a href="http://suika.fam.cx/www/2006/manakai/">manakai</a>.
129     They are not required in practice.</dd>
130     <dt><a href="http://search.cpan.org/~makamaka/JSON-1.14/"><code>JSON</code></a></dt>
131 wakaba 1.11 <dd><em>Testing</em> for <code>Whatpm::HTML</code> and
132     <code>Whatpm::CSS::Tokenizer</code>
133 wakaba 1.6 depends on <a href="http://search.cpan.org/~makamaka/JSON-1.14/"><code>JSON</code> and related modules</a>.
134     They are not required in practice.</dd>
135     </dl>
136 wakaba 1.1 </div>
137    
138     <div class="section" id="download">
139     <h2>Distribution</h2>
140    
141     <p>The development version of Whatpm may be found in the
142     <a href="http://suika.fam.cx/gate/cvs/markup/html/whatpm/">CVS
143     repository</a>.</p>
144    
145 wakaba 1.2 </div>
146    
147     <div class="section" id="todo">
148     <h2>TO DO</h2>
149    
150     <ul>
151     <li>Bug fix (Test results:
152 wakaba 1.3 <a href="t/content-type-result"><code>Whatpm::ContentType</code></a>,
153 wakaba 1.2 <a href="t/tokenizer-result">HTML tokenization</a>,
154 wakaba 1.3 <a href="t/tree-construction-result">HTML tree construction</a>,
155     <a href="t/content-checker-result"><code>Whatpm::ContentChecker</code></a>).</li>
156     <li>Charset detection.</li>
157 wakaba 1.4 <li>Validation for <code>meta</code>.</li>
158     <li>Validation for media queries, IRIs (against URI schemes), language tags,
159 wakaba 1.3 and so on.</li>
160 wakaba 1.4 <li>Documentations are missing for some features.</li>
161 wakaba 1.2 <li><q>Whatpm</q> is a code name in fact. Please let me know
162     if you have a better name.</li>
163 wakaba 1.3 <li>In addition, each module has its own TO DO items.
164     (Search for <q>## TODO</q> and <q>## ISSUE</q> in each module.)</li>
165 wakaba 1.2 </ul>
166 wakaba 1.7 </div>
167    
168     <div class=section id=acknowledgments>
169     <h2>Acknowledgments</h2>
170    
171     <p>Thanks to the <a href="http://code.google.com/p/html5lib/">html5lib</a>
172     team for <a href="http://html5lib.googlecode.com/svn/trunk/testdata/">HTML5
173     parser test data</a>.</p>
174 wakaba 1.1 </div>
175    
176     <div class="section" id="author">
177     <h2>Author</h2>
178    
179 wakaba 1.4 <p><a href="http://suika.fam.cx/~wakaba/who?" rel="author">Wakaba</a>.</p>
180 wakaba 1.1 </div>
181    
182     <div class="section" id="license">
183     <h2>License</h2>
184    
185 wakaba 1.4 <p>Copyright 2007 Wakaba
186     <code class="mail">&lt;<a href="mailto:w@suika.fam.cx"
187     rel="author">w@suika.fam.cx</a>></code>.</p>
188 wakaba 1.1
189     <p>This library is free software; you can redistribute it and/or modify
190     it under the same terms as Perl itself.</p>
191     </div>
192    
193     </body>
194     </html>

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24