/[suikacvs]/markup/html/whatpm/Whatpm/ChangeLog
Suika

Contents of /markup/html/whatpm/Whatpm/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.55 - (show annotations) (download)
Sat Jun 30 13:12:32 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.54: +10 -0 lines
++ whatpm/t/ChangeLog	30 Jun 2007 12:28:52 -0000
2007-06-30  Wakaba  <wakaba@suika.fam.cx>

	* URIChecker.t: Error level names in test results has
	been changed.

	* tokenizer-test-1.test: A test for bogus SYSTEM identifier
	is added.

	* content-model-1.dat, content-model-2.dat, content-model-3.dat,
	content-model-4.dat: Error messages has been changed.

	* ContentChecker.t: Appends error level to the error
	message if any.

++ whatpm/Whatpm/ChangeLog	30 Jun 2007 13:03:50 -0000
2007-06-30  Wakaba  <wakaba@suika.fam.cx>

	* IMTChecker.pm: Report warning for unregistered
	and private types/subtypes.

	* ContentChecker.pm, HTML.pm.src, IMTChecker.pm,
	URIChecker.pm, HTMLTable.pm: Error messages are now
	consistent; they are all listed in
	<http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>.

1 2007-06-30 Wakaba <wakaba@suika.fam.cx>
2
3 * IMTChecker.pm: Report warning for unregistered
4 and private types/subtypes.
5
6 * ContentChecker.pm, HTML.pm.src, IMTChecker.pm,
7 URIChecker.pm, HTMLTable.pm: Error messages are now
8 consistent; they are all listed in
9 <http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>.
10
11 2007-06-25 Wakaba <wakaba@suika.fam.cx>
12
13 * ContentChecker.pm: |<img ismap>| not in |<a></a>|
14 is now erred. |<datalist>| is implemented.
15 Attribute checker for |<command>| and |<menu>| are
16 added. Support for |contextmenu| global attribute
17 is added.
18
19 2007-06-25 Wakaba <wakaba@suika.fam.cx>
20
21 * HTML.pm.src (_reset_insertion_mode): Interpretation
22 of Step 3 has been changed.
23
24 2007-06-25 Wakaba <wakaba@suika.fam.cx>
25
26 * HTML.pm.src: Late |<html>| parse error is implemented.
27
28 2007-06-24 Wakaba <wakaba@suika.fam.cx>
29
30 * URIChecker.pm (check_iri_reference): A |decode| method name was
31 incorrect.
32
33 * ContentChecker.pm: Support for the |footer| element.
34 Check URI syntax for space-separated URI attributes.
35 Support for the |tabindex| attribute. Support
36 for |datetime| attribute.
37
38 2007-06-24 Wakaba <wakaba@suika.fam.cx>
39
40 * HTML.pm.src: HTML5 revision 1.144 (&#x0D;) and 1.145 (invalid
41 character references). HTML5 revision 1.146 (white space
42 characters before root start tag). HTML5 revision
43 1.148 (named character references in attribute values).
44 HTML5 revision 1.152 (<plaintext>.innerHTML get).
45
46 2007-06-24 Wakaba <wakaba@suika.fam.cx>
47
48 * HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript>
49 in <head>).
50
51 2007-06-24 Wakaba <wakaba@suika.fam.cx>
52
53 * HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta>
54 in body).
55
56 * ContentChecker.pm: HTML5 revision 938 (scoped="").
57
58 2007-06-24 Wakaba <wakaba@suika.fam.cx>
59
60 * HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA
61 or RCDATA in fragment parsing mode). HTML5 revision
62 924 (<!--> and <!--->). HTML5 revision 926 (hn in hn).
63
64 2007-06-23 Wakaba <wakaba@suika.fam.cx>
65
66 * HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html
67 for <pre> and <textarea>).
68
69 2007-06-23 Wakaba <wakaba@suika.fam.cx>
70
71 * HTML.pm.src: HTML5 revision 920 (<isindex>).
72
73 2007-06-23 Wakaba <wakaba@suika.fam.cx>
74
75 * HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>).
76
77 2007-06-23 Wakaba <wakaba@suika.fam.cx>
78
79 * HTML.pm.src: HTML5 revision 916 (</body>).
80 HTML5 revision 917 (conforming bare &).
81
82 2007-06-23 Wakaba <wakaba@suika.fam.cx>
83
84 * NanoDOM.pm (manakai_is_html): Setting to false did not work.
85
86 * HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA).
87 HTML5 revision 915 (<nobr>).
88
89 2007-06-23 Wakaba <wakaba@suika.fam.cx>
90
91 * HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode).
92
93 * NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode):
94 New attributes.
95
96 2007-06-23 Wakaba <wakaba@suika.fam.cx>
97
98 * HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (<
99 in tags).
100
101 2007-06-23 Wakaba <wakaba@suika.fam.cx>
102
103 * .cvsignore: |Entities.html| is added.
104
105 * HTML.pm.src: |$entity_char| is removed and
106 requires |Whatpm::_NamedEntityList| instead.
107 HTML5 revision 898 (refc), except that lack of refc
108 is parse error.
109
110 * mkentitylist.pl: New script.
111
112 * Makefile (all): |_NamedEntityList.pm| is added.
113 (_NamedEntityList.pm, Entities.html): New rules.
114
115 2007-06-23 Wakaba <wakaba@suika.fam.cx>
116
117 * HTML.pm.src: Parse errors immediately after U+000D
118 were ignored and U+000D immediately following another
119 U+000D was not converted to U+000A.
120
121 2007-06-23 Wakaba <wakaba@suika.fam.cx>
122
123 * HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt
124 nodes before appended). Parser was not ready for NULL
125 parse error and escape flag.
126
127 * NanoDOM.pm (adopt_node): New.
128
129 2007-06-23 Wakaba <wakaba@suika.fam.cx>
130
131 * HTML.pm.src: HTML5 revision 886 (insane comment in
132 CDATA and RCDATA). Note that current implementation
133 is simply repeating what the spec says and it is maybe not
134 a best way to do it.
135
136 2007-06-23 Wakaba <wakaba@suika.fam.cx>
137
138 * HTML.pm.src: HTML5 revision 884 (</form> don't close
139 the form element if a descendant element without implied end tag has
140 still been open).
141
142 2007-06-23 Wakaba <wakaba@suika.fam.cx>
143
144 * ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with
145 space characters non-conforming).
146
147 2007-06-23 Wakaba <wakaba@suika.fam.cx>
148
149 * HTML.pm.src: An error message was incorrect.
150 HTML5 revision 869 (C1 character references).
151
152 2007-06-23 Wakaba <wakaba@suika.fam.cx>
153
154 * HTML.pm.src: HTML5 revision 867 (a LF at the beginning of
155 a |textarea| is removed).
156
157 2007-06-05 Wakaba <wakaba@suika.fam.cx>
158
159 * NanoDOM.pm (get_attribute_node_ns): New method.
160
161 * ContentChecker.pm: |script| |async| and |defer|
162 no longer require |src|. |async| MUST NOT be
163 specified if |defer|. (HTML5 revision 858).
164
165 2007-05-30 Wakaba <wakaba@suika.fam.cx>
166
167 * HTML.pm.src: |<form><form>| went to inifinite loop.
168
169 2007-05-27 Wakaba <wakaba@suika.fam.cx>
170
171 * ContentChecker.pm (html): Set |is_root| (allowed
172 as a document element) flag on.
173 (new): Removed.
174 (check_document): New method.
175
176 2007-05-27 Wakaba <wakaba@suika.fam.cx>
177
178 * ContentChecker.pm (thead, tfoot): Checker specifications
179 were incorrect.
180
181 2007-05-27 Wakaba <wakaba@suika.fam.cx>
182
183 * ContentChecker.pm ($HTMLURIAttrChecker): Include
184 error position in the |type| option of the error.
185
186 * HTMLTable.pm (form_table): The |$onerror| parameter
187 is now optional. Some bugs are fixed.
188
189 2007-05-27 Wakaba <wakaba@suika.fam.cx>
190
191 * HTMLTable.pm: New module.
192
193 * ContentChecker.pm (table): Invoke table model error checker.
194
195 * NanoDOM.pm (first_child, get_attribute_ns): New.
196
197 2007-05-26 Wakaba <wakaba@suika.fam.cx>
198
199 * ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker.
200 (link/@rel, a/@rel, area/@rel): Use new checker.
201
202 * Makefile (_LinkTypeList.pm, RelExtensions.html): New rules.
203
204 * _LinkTypeList.pm: New file.
205
206 * mklinktypelist.pl: New file.
207
208 * .cvsignore: |RelExtensions.html| added.
209
210 * NanoDOM.pm (child_nodes): Returns an empty array
211 for non-child-containing node types.
212 (text_content): New attribute.
213
214 2007-05-26 Wakaba <wakaba@suika.fam.cx>
215
216 * IMTChecker.pm: New module.
217
218 * ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker
219 to test parameter value validity.
220
221 * HTML.pm.src ($style_start_tag): Attributes were
222 discarded.
223
224 2007-05-25 Wakaba <wakaba@suika.fam.cx>
225
226 * ContentChecker.pm ($HTMLURIAttrChecker): Implemented.
227
228 2007-05-25 Wakaba <wakaba@suika.fam.cx>
229
230 * URIChecker.pm: All recommendations from RFC 3986
231 and RFC 3987 are listed (not all testable items are checked yet).
232
233 2007-05-25 Wakaba <wakaba@suika.fam.cx>
234
235 * URIChecker.pm: New module.
236
237 2007-05-20 Wakaba <wakaba@suika.fam.cx>
238
239 * ContentChecker.pm: Now most attributes are implemented
240 or associated to some placeholder.
241 ($ElementDefault): Warn unknown attributes
242 for unknown elements as "attribute not supported".
243 ($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders.
244 ($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers.
245 (|a| attribute checker): Reimplemented.
246
247 2007-05-20 Wakaba <wakaba@suika.fam.cx>
248
249 * ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder.
250 ($HTMLAttrChecker): Event handler content attributes
251 are added.
252 (link, embed): Required attribute is now checked.
253 (embed): Unknown local attributes are no longer warned.
254
255 2007-05-20 Wakaba <wakaba@suika.fam.cx>
256
257 * ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder.
258 ($HTMLIMTAttrChecker): New checker.
259 (link@rel, link@href, link@type, style@type,
260 a@href, a@ping, a@ping, a@type, embed@src, embed@type,
261 object@data, object@type, source@src, source@type, area@alt,
262 area@shape, area@coords, area@href,
263 area@ping, area@rel, area@type, script@src,
264 script@defer, script@async, script@type): Checkers added.
265
266 2007-05-20 Wakaba <wakaba@suika.fam.cx>
267
268 * ContentChecker.pm: Descendant checking was incorrect.
269
270 2007-05-19 Wakaba <wakaba@suika.fam.cx>
271
272 * ContentChecker.pm: Support |xml:*| and |xmlns:*|
273 attributes. Report an error if |Element.prefix|
274 is |xmlns|.
275
276 * NanoDOM.pm (prefix): New attribute.
277
278 2007-05-19 Wakaba <wakaba@suika.fam.cx>
279
280 * HTML.pm.src: In |main| phase, |in body| insertion
281 mode, action for |<iframe>| was missing.
282
283 2007-05-19 Wakaba <wakaba@suika.fam.cx>
284
285 * ContentChecker.pm: Support for many of HTML5 elements.
286 ($GetHTMLNonNegativeIntegerAttrChecker): New.
287
288 2007-05-19 Wakaba <wakaba@suika.fam.cx>
289
290 * ContentChecker.pm: Support for most elements up to |progress|.
291 ($HTMLURIAttrChecker): Placeholder.
292 ($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker):
293 New.
294
295 2007-05-19 Wakaba <wakaba@suika.fam.cx>
296
297 * ContentChecker.pm: Attribute checkers
298 for global attributes, |html|, |base|, |style|, and |meta|.
299
300 * NanoDOM.pm (insert_before): Weaken reference
301 to the parent node.
302 (Attr::new): Set |owner_element| attribute.
303 (namespace_uri, manakai_local_name): New attribute implementations.
304 (owner_element): New attribute.
305
306 2007-05-19 Wakaba <wakaba@suika.fam.cx>
307
308 * ContentChecker.pm ($AttrChecker, $HTMLAttrChecker,
309 $AnyChecker->{attr_checker}, $HTMLAttrsChecker,
310 $Element->{$HTML_NS}->{''}): New.
311 (check_element): Invoke attrs_checker for each element.
312
313 2007-05-13 Wakaba <wakaba@suika.fam.cx>
314
315 * ContentChecker.pm: Don't use |manakai_element_type_match|.
316
317 2007-05-13 Wakaba <wakaba@suika.fam.cx>
318
319 * ContentChecker.pm: Use hashs rather than lists for
320 element type testings.
321
322 2007-05-13 Wakaba <wakaba@suika.fam.cx>
323
324 * ContentChecker.pm: Don't generate duplicate
325 error when an element type is put in the "minus" list
326 and the element type is not allowed explicitly in the particular
327 element content model.
328 (html:a checker): New checker.
329 (html:details, html:datagrid): New checkers.
330 (html:legend): New checker.
331
332 2007-05-13 Wakaba <wakaba@suika.fam.cx>
333
334 * ContentChecker.pm (html:li checker): Implemented.
335
336 2007-05-13 Wakaba <wakaba@suika.fam.cx>
337
338 * ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New
339 checker.
340 (html:dd checker): New checker.
341 (html:q, html:em, html:strong, html:small,
342 html:m, html:dfn, html:code, html:samp, html:span): New checkers.
343
344 2007-05-13 Wakaba <wakaba@suika.fam.cx>
345
346 * ContentChecker.pm ($AnyChecker): Renamed
347 from |$ElementDefault->{checker}|.
348 ($ElementDefault->{checker}): Throw an error that
349 the element type is not supported by the checker.
350 ($HTMLMetadataElement): |html:base| was missing.
351 ($HTMLEmptyChecker): Don't throw an error
352 for inter-element whitespace nodes.
353 (html:html checker): Errors were not
354 thrown even if |html:head| and/or |html:body|
355 children were missing.
356 (html:head checker): An error was not
357 thrown if <meta charset> appered after other
358 elements.
359
360 2007-05-05 Wakaba <wakaba@suika.fam.cx>
361
362 * ContentChecker.pm: |footer|, |video|, |audio|, |script|,
363 and |noscript| elements are implemented.
364 (new): New method.
365
366 2007-05-04 Wakaba <wakaba@suika.fam.cx>
367
368 * ContentChecker.pm: New module.
369
370 2007-05-04 Wakaba <wakaba@suika.fam.cx>
371
372 * NanoDOM.pm (manakai_parent_element,
373 document_element, manakai_local_name,
374 manakai_element_type_match): New method.
375
376 2007-05-03 Wakaba <wakaba@suika.fam.cx>
377
378 * HTML.pm.src: Replace decimal and hexadecimal numeric
379 entities in C1 range using Windows-1252 mapping. Bare LF
380 did not count as new line for error reporting.
381
382 2007-05-02 Wakaba <wakaba@suika.fam.cx>
383
384 * NanoDOM.pm (DOMImplementation): New class.
385 (append_child): Weaken the |parent_node| reference.
386 (create_element_ns, Element new): Set the |owner_document|
387 reference.
388 (implementation): New attribute.
389 (owner_document, local_name, namespace_uri): New attributes.
390
391 * HTML.pm.src (parse_string): Line and column numbers
392 are now provided to error handler.
393 (!!!parse-error): Short descriptions are added.
394 (_construct_tree): Split into three methods; support
395 for innerHTML mode.
396 (set_inner_html): New method.
397
398 2007-05-01 Wakaba <wakaba@suika.fam.cx>
399
400 * NanoDOM.html: Documentation is added.
401
402 * HTML.pod, ContentType.html: Documentation is revised.
403
404 * .cvsignore: Pod2html temporary files are added.
405
406 * Makefile: Make |NanoDOM.html|.
407
408 2007-05-01 Wakaba <wakaba@suika.fam.cx>
409
410 * HTML.pm.src (parse_string): New method.
411 (get_inner_html): Renamed from |inner_html|.
412
413 * Makefile: A rule for |HTML.html| is added.
414
415 * HTML.pod: New documentation.
416
417 2007-05-01 Wakaba <wakaba@suika.fam.cx>
418
419 * NanoDOM.pm (last_child, previous_sibling): New attributes.
420 (clone_node): Attribute nodes were not completely copied.
421
422 * HTML.pm.src: Many bugs are fixed.
423
424 2007-04-30 Wakaba <wakaba@suika.fam.cx>
425
426 * HTML.pm.src: Some typos are fixed.
427
428 2007-04-30 Wakaba <wakaba@suika.fam.cx>
429
430 * mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src|
431 are removed.
432
433 * HTML.pm.src: Tokenizer's handling on named entities are rewritten.
434
435 * HTML-consume-entity.src: Removed.
436
437 2007-04-30 Wakaba <wakaba@suika.fam.cx>
438
439 * HTML.pm.src: Tokenizer's handling on hexadecimal
440 numeric entities are rewritten.
441
442 2007-04-30 Wakaba <wakaba@suika.fam.cx>
443
444 * HTML.pm.src: Some tokenizer bugs are fixed.
445
446 2007-04-30 Wakaba <wakaba@suika.fam.cx>
447
448 * HTML.pm.src: The tree construction stage is implemented.
449
450 * mkhtmlparser.pl: New macros are added.
451
452 2007-04-28 Wakaba <wakaba@suika.fam.cx>
453
454 * ContentType.pm: A note on bug in the specification
455 is removed since it's been now fixed.
456
457 * .cvsignore: New file.
458
459 2007-04-28 Wakaba <wakaba@suika.fam.cx>
460
461 * HTML.pm.src, HTML-consume-entity.src: New files.
462
463 * Makefile (HTML.pm): New rule.
464
465 * mkhtmlparser.pl: New script.
466
467 2007-04-25 Wakaba <wakaba@suika.fam.cx>
468
469 * Makefile: New file.
470
471 2007-04-24 Wakaba <wakaba@suika.fam.cx>
472
473 * ContentType.pm: An error in pod is fixed.
474
475 2007-04-24 Wakaba <wakaba@suika.fam.cx>
476
477 * ContentType.pm: Documentation is added.
478
479 2007-04-24 Wakaba <wakaba@suika.fam.cx>
480
481 * ContentType.pm: New Perl module.
482
483 * ChangeLog: New file.
484
485

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24