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