1 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
2 |
|
3 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
4 |
|
5 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
6 |
|
7 |
* URIChecker.pm: All recommendations from RFC 3986 |
8 |
and RFC 3987 are listed (not all testable items are checked yet). |
9 |
|
10 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
11 |
|
12 |
* URIChecker.pm: New module. |
13 |
|
14 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
15 |
|
16 |
* ContentChecker.pm: Now most attributes are implemented |
17 |
or associated to some placeholder. |
18 |
($ElementDefault): Warn unknown attributes |
19 |
for unknown elements as "attribute not supported". |
20 |
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
21 |
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
22 |
(|a| attribute checker): Reimplemented. |
23 |
|
24 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
25 |
|
26 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
27 |
($HTMLAttrChecker): Event handler content attributes |
28 |
are added. |
29 |
(link, embed): Required attribute is now checked. |
30 |
(embed): Unknown local attributes are no longer warned. |
31 |
|
32 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
33 |
|
34 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
35 |
($HTMLIMTAttrChecker): New checker. |
36 |
(link@rel, link@href, link@type, style@type, |
37 |
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
38 |
object@data, object@type, source@src, source@type, area@alt, |
39 |
area@shape, area@coords, area@href, |
40 |
area@ping, area@rel, area@type, script@src, |
41 |
script@defer, script@async, script@type): Checkers added. |
42 |
|
43 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
44 |
|
45 |
* ContentChecker.pm: Descendant checking was incorrect. |
46 |
|
47 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
48 |
|
49 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
50 |
attributes. Report an error if |Element.prefix| |
51 |
is |xmlns|. |
52 |
|
53 |
* NanoDOM.pm (prefix): New attribute. |
54 |
|
55 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
56 |
|
57 |
* HTML.pm.src: In |main| phase, |in body| insertion |
58 |
mode, action for |<iframe>| was missing. |
59 |
|
60 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
61 |
|
62 |
* ContentChecker.pm: Support for many of HTML5 elements. |
63 |
($GetHTMLNonNegativeIntegerAttrChecker): New. |
64 |
|
65 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
66 |
|
67 |
* ContentChecker.pm: Support for most elements up to |progress|. |
68 |
($HTMLURIAttrChecker): Placeholder. |
69 |
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
70 |
New. |
71 |
|
72 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
73 |
|
74 |
* ContentChecker.pm: Attribute checkers |
75 |
for global attributes, |html|, |base|, |style|, and |meta|. |
76 |
|
77 |
* NanoDOM.pm (insert_before): Weaken reference |
78 |
to the parent node. |
79 |
(Attr::new): Set |owner_element| attribute. |
80 |
(namespace_uri, manakai_local_name): New attribute implementations. |
81 |
(owner_element): New attribute. |
82 |
|
83 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
84 |
|
85 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
86 |
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
87 |
$Element->{$HTML_NS}->{''}): New. |
88 |
(check_element): Invoke attrs_checker for each element. |
89 |
|
90 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
91 |
|
92 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
93 |
|
94 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
95 |
|
96 |
* ContentChecker.pm: Use hashs rather than lists for |
97 |
element type testings. |
98 |
|
99 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
100 |
|
101 |
* ContentChecker.pm: Don't generate duplicate |
102 |
error when an element type is put in the "minus" list |
103 |
and the element type is not allowed explicitly in the particular |
104 |
element content model. |
105 |
(html:a checker): New checker. |
106 |
(html:details, html:datagrid): New checkers. |
107 |
(html:legend): New checker. |
108 |
|
109 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
110 |
|
111 |
* ContentChecker.pm (html:li checker): Implemented. |
112 |
|
113 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
114 |
|
115 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
116 |
checker. |
117 |
(html:dd checker): New checker. |
118 |
(html:q, html:em, html:strong, html:small, |
119 |
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
120 |
|
121 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
122 |
|
123 |
* ContentChecker.pm ($AnyChecker): Renamed |
124 |
from |$ElementDefault->{checker}|. |
125 |
($ElementDefault->{checker}): Throw an error that |
126 |
the element type is not supported by the checker. |
127 |
($HTMLMetadataElement): |html:base| was missing. |
128 |
($HTMLEmptyChecker): Don't throw an error |
129 |
for inter-element whitespace nodes. |
130 |
(html:html checker): Errors were not |
131 |
thrown even if |html:head| and/or |html:body| |
132 |
children were missing. |
133 |
(html:head checker): An error was not |
134 |
thrown if <meta charset> appered after other |
135 |
elements. |
136 |
|
137 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
138 |
|
139 |
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
140 |
and |noscript| elements are implemented. |
141 |
(new): New method. |
142 |
|
143 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
144 |
|
145 |
* ContentChecker.pm: New module. |
146 |
|
147 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
148 |
|
149 |
* NanoDOM.pm (manakai_parent_element, |
150 |
document_element, manakai_local_name, |
151 |
manakai_element_type_match): New method. |
152 |
|
153 |
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
154 |
|
155 |
* HTML.pm.src: Replace decimal and hexadecimal numeric |
156 |
entities in C1 range using Windows-1252 mapping. Bare LF |
157 |
did not count as new line for error reporting. |
158 |
|
159 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
160 |
|
161 |
* NanoDOM.pm (DOMImplementation): New class. |
162 |
(append_child): Weaken the |parent_node| reference. |
163 |
(create_element_ns, Element new): Set the |owner_document| |
164 |
reference. |
165 |
(implementation): New attribute. |
166 |
(owner_document, local_name, namespace_uri): New attributes. |
167 |
|
168 |
* HTML.pm.src (parse_string): Line and column numbers |
169 |
are now provided to error handler. |
170 |
(!!!parse-error): Short descriptions are added. |
171 |
(_construct_tree): Split into three methods; support |
172 |
for innerHTML mode. |
173 |
(set_inner_html): New method. |
174 |
|
175 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
176 |
|
177 |
* NanoDOM.html: Documentation is added. |
178 |
|
179 |
* HTML.pod, ContentType.html: Documentation is revised. |
180 |
|
181 |
* .cvsignore: Pod2html temporary files are added. |
182 |
|
183 |
* Makefile: Make |NanoDOM.html|. |
184 |
|
185 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
186 |
|
187 |
* HTML.pm.src (parse_string): New method. |
188 |
(get_inner_html): Renamed from |inner_html|. |
189 |
|
190 |
* Makefile: A rule for |HTML.html| is added. |
191 |
|
192 |
* HTML.pod: New documentation. |
193 |
|
194 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
195 |
|
196 |
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
197 |
(clone_node): Attribute nodes were not completely copied. |
198 |
|
199 |
* HTML.pm.src: Many bugs are fixed. |
200 |
|
201 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
202 |
|
203 |
* HTML.pm.src: Some typos are fixed. |
204 |
|
205 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
206 |
|
207 |
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
208 |
are removed. |
209 |
|
210 |
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
211 |
|
212 |
* HTML-consume-entity.src: Removed. |
213 |
|
214 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
215 |
|
216 |
* HTML.pm.src: Tokenizer's handling on hexadecimal |
217 |
numeric entities are rewritten. |
218 |
|
219 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
220 |
|
221 |
* HTML.pm.src: Some tokenizer bugs are fixed. |
222 |
|
223 |
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
224 |
|
225 |
* HTML.pm.src: The tree construction stage is implemented. |
226 |
|
227 |
* mkhtmlparser.pl: New macros are added. |
228 |
|
229 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
230 |
|
231 |
* ContentType.pm: A note on bug in the specification |
232 |
is removed since it's been now fixed. |
233 |
|
234 |
* .cvsignore: New file. |
235 |
|
236 |
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
237 |
|
238 |
* HTML.pm.src, HTML-consume-entity.src: New files. |
239 |
|
240 |
* Makefile (HTML.pm): New rule. |
241 |
|
242 |
* mkhtmlparser.pl: New script. |
243 |
|
244 |
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
245 |
|
246 |
* Makefile: New file. |
247 |
|
248 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
249 |
|
250 |
* ContentType.pm: An error in pod is fixed. |
251 |
|
252 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
253 |
|
254 |
* ContentType.pm: Documentation is added. |
255 |
|
256 |
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
257 |
|
258 |
* ContentType.pm: New Perl module. |
259 |
|
260 |
* ChangeLog: New file. |
261 |
|
262 |
|