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