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