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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.64 - (show annotations) (download)
Mon Jul 16 03:21:04 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.63: +7 -0 lines
++ whatpm/t/ChangeLog	16 Jul 2007 03:18:55 -0000
2007-07-16  Wakaba  <wakaba@suika.fam.cx>

	* tree-test-1.dat: New tests for trailing end phase
	and white space in some insertion modes are added.

++ whatpm/Whatpm/ChangeLog	16 Jul 2007 03:18:16 -0000
	* HTML.pm.src: |$phase| has been removed; The |trailing end|
	phase is now an insertion mode.  Treatments for white
	space character tokens were incorrect for some
	insertion modes.  An old |meta| case was not removed.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24