1 |
wakaba |
1.33 |
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
|
3 |
wakaba |
1.40 |
* .cvsignore: |Entities.html| is added. |
4 |
|
|
|
5 |
|
|
* HTML.pm.src: |$entity_char| is removed and |
6 |
|
|
requires |Whatpm::_NamedEntityList| instead. |
7 |
|
|
HTML5 revision 898 (refc), except that lack of refc |
8 |
|
|
is parse error. |
9 |
|
|
|
10 |
|
|
* mkentitylist.pl: New script. |
11 |
|
|
|
12 |
|
|
* Makefile (all): |_NamedEntityList.pm| is added. |
13 |
|
|
(_NamedEntityList.pm, Entities.html): New rules. |
14 |
|
|
|
15 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
|
17 |
wakaba |
1.39 |
* HTML.pm.src: Parse errors immediately after U+000D |
18 |
|
|
were ignored and U+000D immediately following another |
19 |
|
|
U+000D was not converted to U+000A. |
20 |
|
|
|
21 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
|
23 |
wakaba |
1.38 |
* HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt |
24 |
|
|
nodes before appended). Parser was not ready for NULL |
25 |
|
|
parse error and escape flag. |
26 |
|
|
|
27 |
|
|
* NanoDOM.pm (adopt_node): New. |
28 |
|
|
|
29 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
|
31 |
wakaba |
1.37 |
* HTML.pm.src: HTML5 revision 886 (insane comment in |
32 |
|
|
CDATA and RCDATA). Note that current implementation |
33 |
|
|
is simply repeating what the spec says and it is maybe not |
34 |
|
|
a best way to do it. |
35 |
|
|
|
36 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
37 |
|
|
|
38 |
wakaba |
1.36 |
* HTML.pm.src: HTML5 revision 884 (</form> don't close |
39 |
|
|
the form element if a descendant element without implied end tag has |
40 |
|
|
still been open). |
41 |
|
|
|
42 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
|
44 |
wakaba |
1.35 |
* ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with |
45 |
|
|
space characters non-conforming). |
46 |
|
|
|
47 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
|
49 |
wakaba |
1.34 |
* HTML.pm.src: An error message was incorrect. |
50 |
|
|
HTML5 revision 869 (C1 character references). |
51 |
|
|
|
52 |
|
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
53 |
|
|
|
54 |
wakaba |
1.33 |
* HTML.pm.src: HTML5 revision 867 (a LF at the beginning of |
55 |
|
|
a |textarea| is removed). |
56 |
|
|
|
57 |
wakaba |
1.32 |
2007-06-05 Wakaba <wakaba@suika.fam.cx> |
58 |
|
|
|
59 |
|
|
* NanoDOM.pm (get_attribute_node_ns): New method. |
60 |
|
|
|
61 |
|
|
* ContentChecker.pm: |script| |async| and |defer| |
62 |
|
|
no longer require |src|. |async| MUST NOT be |
63 |
|
|
specified if |defer|. (HTML5 revision 858). |
64 |
|
|
|
65 |
wakaba |
1.31 |
2007-05-30 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
|
67 |
|
|
* HTML.pm.src: |<form><form>| went to inifinite loop. |
68 |
|
|
|
69 |
wakaba |
1.27 |
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
|
71 |
wakaba |
1.30 |
* ContentChecker.pm (html): Set |is_root| (allowed |
72 |
|
|
as a document element) flag on. |
73 |
|
|
(new): Removed. |
74 |
|
|
(check_document): New method. |
75 |
|
|
|
76 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
|
78 |
wakaba |
1.29 |
* ContentChecker.pm (thead, tfoot): Checker specifications |
79 |
|
|
were incorrect. |
80 |
|
|
|
81 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
82 |
|
|
|
83 |
wakaba |
1.28 |
* ContentChecker.pm ($HTMLURIAttrChecker): Include |
84 |
|
|
error position in the |type| option of the error. |
85 |
|
|
|
86 |
|
|
* HTMLTable.pm (form_table): The |$onerror| parameter |
87 |
|
|
is now optional. Some bugs are fixed. |
88 |
|
|
|
89 |
|
|
2007-05-27 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
|
91 |
wakaba |
1.27 |
* HTMLTable.pm: New module. |
92 |
|
|
|
93 |
|
|
* ContentChecker.pm (table): Invoke table model error checker. |
94 |
|
|
|
95 |
|
|
* NanoDOM.pm (first_child, get_attribute_ns): New. |
96 |
|
|
|
97 |
wakaba |
1.25 |
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
|
99 |
wakaba |
1.26 |
* ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker. |
100 |
|
|
(link/@rel, a/@rel, area/@rel): Use new checker. |
101 |
|
|
|
102 |
|
|
* Makefile (_LinkTypeList.pm, RelExtensions.html): New rules. |
103 |
|
|
|
104 |
|
|
* _LinkTypeList.pm: New file. |
105 |
|
|
|
106 |
|
|
* mklinktypelist.pl: New file. |
107 |
|
|
|
108 |
|
|
* .cvsignore: |RelExtensions.html| added. |
109 |
|
|
|
110 |
|
|
* NanoDOM.pm (child_nodes): Returns an empty array |
111 |
|
|
for non-child-containing node types. |
112 |
|
|
(text_content): New attribute. |
113 |
|
|
|
114 |
|
|
2007-05-26 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
|
116 |
wakaba |
1.25 |
* IMTChecker.pm: New module. |
117 |
|
|
|
118 |
|
|
* ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker |
119 |
|
|
to test parameter value validity. |
120 |
|
|
|
121 |
|
|
* HTML.pm.src ($style_start_tag): Attributes were |
122 |
|
|
discarded. |
123 |
|
|
|
124 |
wakaba |
1.22 |
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
125 |
|
|
|
126 |
wakaba |
1.24 |
* ContentChecker.pm ($HTMLURIAttrChecker): Implemented. |
127 |
|
|
|
128 |
|
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
|
130 |
wakaba |
1.23 |
* URIChecker.pm: All recommendations from RFC 3986 |
131 |
|
|
and RFC 3987 are listed (not all testable items are checked yet). |
132 |
|
|
|
133 |
|
|
2007-05-25 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
|
135 |
wakaba |
1.22 |
* URIChecker.pm: New module. |
136 |
|
|
|
137 |
wakaba |
1.18 |
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
|
139 |
wakaba |
1.21 |
* ContentChecker.pm: Now most attributes are implemented |
140 |
|
|
or associated to some placeholder. |
141 |
|
|
($ElementDefault): Warn unknown attributes |
142 |
|
|
for unknown elements as "attribute not supported". |
143 |
|
|
($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders. |
144 |
|
|
($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers. |
145 |
|
|
(|a| attribute checker): Reimplemented. |
146 |
|
|
|
147 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
|
149 |
wakaba |
1.20 |
* ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder. |
150 |
|
|
($HTMLAttrChecker): Event handler content attributes |
151 |
|
|
are added. |
152 |
|
|
(link, embed): Required attribute is now checked. |
153 |
|
|
(embed): Unknown local attributes are no longer warned. |
154 |
|
|
|
155 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
|
157 |
wakaba |
1.19 |
* ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder. |
158 |
|
|
($HTMLIMTAttrChecker): New checker. |
159 |
|
|
(link@rel, link@href, link@type, style@type, |
160 |
|
|
a@href, a@ping, a@ping, a@type, embed@src, embed@type, |
161 |
|
|
object@data, object@type, source@src, source@type, area@alt, |
162 |
|
|
area@shape, area@coords, area@href, |
163 |
|
|
area@ping, area@rel, area@type, script@src, |
164 |
|
|
script@defer, script@async, script@type): Checkers added. |
165 |
|
|
|
166 |
|
|
2007-05-20 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
|
168 |
wakaba |
1.18 |
* ContentChecker.pm: Descendant checking was incorrect. |
169 |
|
|
|
170 |
wakaba |
1.12 |
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
|
172 |
wakaba |
1.17 |
* ContentChecker.pm: Support |xml:*| and |xmlns:*| |
173 |
|
|
attributes. Report an error if |Element.prefix| |
174 |
|
|
is |xmlns|. |
175 |
|
|
|
176 |
|
|
* NanoDOM.pm (prefix): New attribute. |
177 |
|
|
|
178 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
179 |
|
|
|
180 |
wakaba |
1.16 |
* HTML.pm.src: In |main| phase, |in body| insertion |
181 |
|
|
mode, action for |<iframe>| was missing. |
182 |
|
|
|
183 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
184 |
|
|
|
185 |
wakaba |
1.15 |
* ContentChecker.pm: Support for many of HTML5 elements. |
186 |
|
|
($GetHTMLNonNegativeIntegerAttrChecker): New. |
187 |
|
|
|
188 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
|
190 |
wakaba |
1.14 |
* ContentChecker.pm: Support for most elements up to |progress|. |
191 |
|
|
($HTMLURIAttrChecker): Placeholder. |
192 |
|
|
($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker): |
193 |
|
|
New. |
194 |
|
|
|
195 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
|
197 |
wakaba |
1.13 |
* ContentChecker.pm: Attribute checkers |
198 |
|
|
for global attributes, |html|, |base|, |style|, and |meta|. |
199 |
|
|
|
200 |
|
|
* NanoDOM.pm (insert_before): Weaken reference |
201 |
|
|
to the parent node. |
202 |
|
|
(Attr::new): Set |owner_element| attribute. |
203 |
|
|
(namespace_uri, manakai_local_name): New attribute implementations. |
204 |
|
|
(owner_element): New attribute. |
205 |
|
|
|
206 |
|
|
2007-05-19 Wakaba <wakaba@suika.fam.cx> |
207 |
|
|
|
208 |
wakaba |
1.12 |
* ContentChecker.pm ($AttrChecker, $HTMLAttrChecker, |
209 |
|
|
$AnyChecker->{attr_checker}, $HTMLAttrsChecker, |
210 |
|
|
$Element->{$HTML_NS}->{''}): New. |
211 |
|
|
(check_element): Invoke attrs_checker for each element. |
212 |
|
|
|
213 |
wakaba |
1.6 |
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
214 |
|
|
|
215 |
wakaba |
1.11 |
* ContentChecker.pm: Don't use |manakai_element_type_match|. |
216 |
|
|
|
217 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
218 |
|
|
|
219 |
wakaba |
1.10 |
* ContentChecker.pm: Use hashs rather than lists for |
220 |
|
|
element type testings. |
221 |
|
|
|
222 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
223 |
|
|
|
224 |
wakaba |
1.9 |
* ContentChecker.pm: Don't generate duplicate |
225 |
|
|
error when an element type is put in the "minus" list |
226 |
|
|
and the element type is not allowed explicitly in the particular |
227 |
|
|
element content model. |
228 |
|
|
(html:a checker): New checker. |
229 |
|
|
(html:details, html:datagrid): New checkers. |
230 |
|
|
(html:legend): New checker. |
231 |
|
|
|
232 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
233 |
|
|
|
234 |
wakaba |
1.8 |
* ContentChecker.pm (html:li checker): Implemented. |
235 |
|
|
|
236 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
237 |
|
|
|
238 |
wakaba |
1.7 |
* ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New |
239 |
|
|
checker. |
240 |
|
|
(html:dd checker): New checker. |
241 |
|
|
(html:q, html:em, html:strong, html:small, |
242 |
|
|
html:m, html:dfn, html:code, html:samp, html:span): New checkers. |
243 |
|
|
|
244 |
|
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
245 |
|
|
|
246 |
wakaba |
1.6 |
* ContentChecker.pm ($AnyChecker): Renamed |
247 |
|
|
from |$ElementDefault->{checker}|. |
248 |
|
|
($ElementDefault->{checker}): Throw an error that |
249 |
|
|
the element type is not supported by the checker. |
250 |
|
|
($HTMLMetadataElement): |html:base| was missing. |
251 |
|
|
($HTMLEmptyChecker): Don't throw an error |
252 |
|
|
for inter-element whitespace nodes. |
253 |
|
|
(html:html checker): Errors were not |
254 |
|
|
thrown even if |html:head| and/or |html:body| |
255 |
|
|
children were missing. |
256 |
|
|
(html:head checker): An error was not |
257 |
|
|
thrown if <meta charset> appered after other |
258 |
|
|
elements. |
259 |
|
|
|
260 |
wakaba |
1.5 |
2007-05-05 Wakaba <wakaba@suika.fam.cx> |
261 |
|
|
|
262 |
|
|
* ContentChecker.pm: |footer|, |video|, |audio|, |script|, |
263 |
|
|
and |noscript| elements are implemented. |
264 |
|
|
(new): New method. |
265 |
|
|
|
266 |
wakaba |
1.3 |
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
|
268 |
wakaba |
1.4 |
* ContentChecker.pm: New module. |
269 |
|
|
|
270 |
|
|
2007-05-04 Wakaba <wakaba@suika.fam.cx> |
271 |
|
|
|
272 |
wakaba |
1.3 |
* NanoDOM.pm (manakai_parent_element, |
273 |
|
|
document_element, manakai_local_name, |
274 |
|
|
manakai_element_type_match): New method. |
275 |
|
|
|
276 |
|
|
2007-05-03 Wakaba <wakaba@suika.fam.cx> |
277 |
|
|
|
278 |
|
|
* HTML.pm.src: Replace decimal and hexadecimal numeric |
279 |
|
|
entities in C1 range using Windows-1252 mapping. Bare LF |
280 |
|
|
did not count as new line for error reporting. |
281 |
|
|
|
282 |
wakaba |
1.2 |
2007-05-02 Wakaba <wakaba@suika.fam.cx> |
283 |
|
|
|
284 |
|
|
* NanoDOM.pm (DOMImplementation): New class. |
285 |
|
|
(append_child): Weaken the |parent_node| reference. |
286 |
|
|
(create_element_ns, Element new): Set the |owner_document| |
287 |
|
|
reference. |
288 |
|
|
(implementation): New attribute. |
289 |
|
|
(owner_document, local_name, namespace_uri): New attributes. |
290 |
|
|
|
291 |
|
|
* HTML.pm.src (parse_string): Line and column numbers |
292 |
|
|
are now provided to error handler. |
293 |
|
|
(!!!parse-error): Short descriptions are added. |
294 |
|
|
(_construct_tree): Split into three methods; support |
295 |
|
|
for innerHTML mode. |
296 |
|
|
(set_inner_html): New method. |
297 |
|
|
|
298 |
wakaba |
1.1 |
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
299 |
|
|
|
300 |
|
|
* NanoDOM.html: Documentation is added. |
301 |
|
|
|
302 |
|
|
* HTML.pod, ContentType.html: Documentation is revised. |
303 |
|
|
|
304 |
|
|
* .cvsignore: Pod2html temporary files are added. |
305 |
|
|
|
306 |
|
|
* Makefile: Make |NanoDOM.html|. |
307 |
|
|
|
308 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
309 |
|
|
|
310 |
|
|
* HTML.pm.src (parse_string): New method. |
311 |
|
|
(get_inner_html): Renamed from |inner_html|. |
312 |
|
|
|
313 |
|
|
* Makefile: A rule for |HTML.html| is added. |
314 |
|
|
|
315 |
|
|
* HTML.pod: New documentation. |
316 |
|
|
|
317 |
|
|
2007-05-01 Wakaba <wakaba@suika.fam.cx> |
318 |
|
|
|
319 |
|
|
* NanoDOM.pm (last_child, previous_sibling): New attributes. |
320 |
|
|
(clone_node): Attribute nodes were not completely copied. |
321 |
|
|
|
322 |
|
|
* HTML.pm.src: Many bugs are fixed. |
323 |
|
|
|
324 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
325 |
|
|
|
326 |
|
|
* HTML.pm.src: Some typos are fixed. |
327 |
|
|
|
328 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
|
330 |
|
|
* mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src| |
331 |
|
|
are removed. |
332 |
|
|
|
333 |
|
|
* HTML.pm.src: Tokenizer's handling on named entities are rewritten. |
334 |
|
|
|
335 |
|
|
* HTML-consume-entity.src: Removed. |
336 |
|
|
|
337 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
338 |
|
|
|
339 |
|
|
* HTML.pm.src: Tokenizer's handling on hexadecimal |
340 |
|
|
numeric entities are rewritten. |
341 |
|
|
|
342 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
343 |
|
|
|
344 |
|
|
* HTML.pm.src: Some tokenizer bugs are fixed. |
345 |
|
|
|
346 |
|
|
2007-04-30 Wakaba <wakaba@suika.fam.cx> |
347 |
|
|
|
348 |
|
|
* HTML.pm.src: The tree construction stage is implemented. |
349 |
|
|
|
350 |
|
|
* mkhtmlparser.pl: New macros are added. |
351 |
|
|
|
352 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
353 |
|
|
|
354 |
|
|
* ContentType.pm: A note on bug in the specification |
355 |
|
|
is removed since it's been now fixed. |
356 |
|
|
|
357 |
|
|
* .cvsignore: New file. |
358 |
|
|
|
359 |
|
|
2007-04-28 Wakaba <wakaba@suika.fam.cx> |
360 |
|
|
|
361 |
|
|
* HTML.pm.src, HTML-consume-entity.src: New files. |
362 |
|
|
|
363 |
|
|
* Makefile (HTML.pm): New rule. |
364 |
|
|
|
365 |
|
|
* mkhtmlparser.pl: New script. |
366 |
|
|
|
367 |
|
|
2007-04-25 Wakaba <wakaba@suika.fam.cx> |
368 |
|
|
|
369 |
|
|
* Makefile: New file. |
370 |
|
|
|
371 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
372 |
|
|
|
373 |
|
|
* ContentType.pm: An error in pod is fixed. |
374 |
|
|
|
375 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
376 |
|
|
|
377 |
|
|
* ContentType.pm: Documentation is added. |
378 |
|
|
|
379 |
|
|
2007-04-24 Wakaba <wakaba@suika.fam.cx> |
380 |
|
|
|
381 |
|
|
* ContentType.pm: New Perl module. |
382 |
|
|
|
383 |
|
|
* ChangeLog: New file. |
384 |
|
|
|
385 |
|
|
|