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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.65 - (show annotations) (download)
Mon Jul 16 04:51:21 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.64: +10 -0 lines
++ whatpm/t/ChangeLog	16 Jul 2007 04:51:17 -0000
	* tree-test-1.dat: Tests for |<html>| in trailing
	end phase and |</frameset>| in after frameset mode
	are added.

	* tree-test-2.dat: Tests for |</frameset>|
	in |frameset| fragment parsing are added.

2007-07-16  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	16 Jul 2007 04:49:33 -0000
	* HTML.pm.src (main and trailin end phases): Token
	types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are
	factored out.  Error types |in html:#DOCTYPE|
	and |after html:#DOCTYPE| are merged
	into |DOCTYPE in the middle|.  |</frameset>|
	in fragment parsing mode changed the
	insertion mode.

2007-07-16  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24