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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.148 - (show annotations) (download)
Sat Mar 1 00:42:52 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.147: +7 -0 lines
++ whatpm/t/ChangeLog	1 Mar 2008 00:26:59 -0000
2008-03-01  Wakaba  <wakaba@suika.fam.cx>

	* tokenizer-test-1.test: Updated (HTML5 recision 1286).

	* content-model-2.dat: Updated (HTML5 revision 1275).

++ whatpm/Whatpm/ChangeLog	1 Mar 2008 00:19:36 -0000
2008-03-01  Wakaba  <wakaba@suika.fam.cx>

	* _NamedEntityList.pm: Updated (HTML5 revision 1286).

	* HTML.pm.src: |charset| in |content| attribute is
	case-insensitive (HTML5 revision 1270).

++ whatpm/Whatpm/HTML/ChangeLog	1 Mar 2008 00:07:44 -0000
2008-03-01  Wakaba  <wakaba@suika.fam.cx>

	* Serializer.pm (get_inner_html): Escape NBSP (HTML5 revision
	1277).

++ whatpm/Whatpm/ContentChecker/ChangeLog	29 Feb 2008 23:29:54 -0000
2008-03-01  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm: Sectioning root category added.  |blockquote|
	is no longer a sectioning content.

1 2008-03-01 Wakaba <wakaba@suika.fam.cx>
2
3 * _NamedEntityList.pm: Updated (HTML5 revision 1286).
4
5 * HTML.pm.src: |charset| in |content| attribute is
6 case-insensitive (HTML5 revision 1270).
7
8 2008-02-26 Wakaba <wakaba@suika.fam.cx>
9
10 * ContentChecker.pm: New status constants are added.
11 ($ElementDefault): |status| added.
12 (check_element): Err for non-standard or deprecated elements.
13 (_attr_status_info): For non-standard or deprecated attributes.
14
15 2008-02-24 Wakaba <wakaba@suika.fam.cx>
16
17 * ContentChecker.pm (_attr_status_info): New internal method.
18
19 2008-02-24 Wakaba <wakaba@suika.fam.cx>
20
21 * ContentChecker.pm (check_element): Element standardized
22 status information is now dispatched.
23
24 2008-02-24 Wakaba <wakaba@suika.fam.cx>
25
26 * ContentChecker.pm (check_element): Fix |del|-and-significant
27 problem by adding some more arguments.
28
29 2008-02-24 Wakaba <wakaba@suika.fam.cx>
30
31 * ContentChecker.pm (check_element): Use context of
32 container-for-the-purpose-of-content-model element (not transparent
33 element) for |check_child_element| calling and significant
34 text flag marking. This reintroduces |<del>|-and-significant
35 problem again.
36
37 2008-02-24 Wakaba <wakaba@suika.fam.cx>
38
39 * ContentChecker.pm (check_element): Make semi-transparent
40 elements ignored for the purpose of phase changes in
41 content model checking.
42
43 2008-02-23 Wakaba <wakaba@suika.fam.cx>
44
45 * ContentChecker.pm (check_element): In-element state
46 was not properly managed for transparent cases.
47
48 2008-02-23 Wakaba <wakaba@suika.fam.cx>
49
50 * ContentChecker.pm (check_element): Support for |video|
51 and |audio| as semi-transparent elements.
52
53 2008-02-23 Wakaba <wakaba@suika.fam.cx>
54
55 * ContentChecker.pm ($HTMLSemiTransparentElements): New.
56 (check_element): s/minuses/minus_elements/, s/pluses/plus_elements/.
57 Support for |html:object| as a semi-transparent element.
58
59 2008-02-23 Wakaba <wakaba@suika.fam.cx>
60
61 * ContentChecker.pm (check_element): The way to traverse
62 the tree is entirely revised to make it easier to track
63 the state of ancestors/descendants. As a result of this
64 revision (which rewrites almost all of Whatpm::ContentChecker::HTML),
65 support for content model checking for HTML elements |figure|,
66 |object|, |video|, and |audio| and checking for XML elements (and
67 some XMLNS checkings) are dropped for now. They will be
68 reimplemented in due cource.
69
70 2008-02-17 Wakaba <wakaba@suika.fam.cx>
71
72 * HTML.pm.src: |>| in public or system literal closes the DOCTYPE
73 token (HTML5 revision 1225).
74
75 2008-02-17 Wakaba <wakaba@suika.fam.cx>
76
77 * ContentChecker.pm ({unsupported_level}): New value.
78
79 * HTML.pm.src: Save whether |meta| |content| attribute
80 contains character references or not.
81
82 2008-02-17 Wakaba <wakaba@suika.fam.cx>
83
84 * ContentChecker.pm (_get_children): (Incompleted) attempt to
85 imlement significant content checking for contents
86 with |del| elements.
87
88 2008-02-17 Wakaba <wakaba@suika.fam.cx>
89
90 * ContenteChecker.pm ($HTMLTransparentElements): More
91 elements are added.
92 (_get_children): HTML |object| elements are now semi-transparent.
93
94 * NanoDOM.pm (manakai_html, manakai_head): New methods.
95
96 2008-02-16 Wakaba <wakaba@suika.fam.cx>
97
98 * CacheManifest.pm: HTML5 revision 1211 implemented.
99
100 * CacheManifest.pod: Updated.
101
102 2008-02-10 Wakaba <wakaba@suika.fam.cx>
103
104 * ContentChecker.pm (check_document, check_element): Support
105 for second argument ($onsubdoc).
106 (_get_css_parser): Removed (now it is part of WDCC).
107
108 2008-02-09 Wakaba <wakaba@suika.fam.cx>
109
110 * ContentChecker.pm (_get_css_parser): New.
111
112 2007-11-25 Wakaba <wakaba@suika.fam.cx>
113
114 * ContentChecker.pm ($AnyChecker): Old way to add child elements
115 for checking had been used.
116
117 2007-11-25 Wakaba <wakaba@suika.fam.cx>
118
119 * ContentChecker.pm (check_element): New todo item type |descendant|.
120
121 2007-11-23 Wakaba <wakaba@suika.fam.cx>
122
123 * IMTChecker.pm: Revised to raise errors and warnings as (poorly)
124 specced in RFC 2046 and RFC 4288.
125 (application/atom+xml): Definition added.
126
127 2007-11-23 Wakaba <wakaba@suika.fam.cx>
128
129 * URIChecker.pm: Make RFC 3986 should-level errors
130 warnings (rather than SHOULD-level errors).
131
132 2007-11-23 Wakaba <wakaba@suika.fam.cx>
133
134 * NanoDOM.pm (get_user_data, set_user_data): New methods.
135
136 * HTML.pm.src: A flag for character references in attribute
137 values are added. Set |manakai_has_reference| user data
138 to |charset| attribute.
139
140 2007-11-23 Wakaba <wakaba@suika.fam.cx>
141
142 * NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New
143 attributes.
144
145 * ContentChecker.pm (check_document): Warn if charset requirements
146 cannot be tested.
147
148 2007-11-19 Wakaba <wakaba@suika.fam.cx>
149
150 * HTML.pm.src (parse_byte_string): Detect charset
151 by universalchardet if charset parameter is not specified.
152
153 * Makefile (Charset-all, Charset-clean): New rules.
154
155 2007-11-18 Wakaba <wakaba@suika.fam.cx>
156
157 * ContentChecker.pm (check_document): Check the existence
158 of character encoding declaration and selection of encoding
159 for HTML document.
160
161 2007-11-18 Wakaba <wakaba@suika.fam.cx>
162
163 * ContentType.pm (get_sniffed_type): Return also the official
164 type in list context.
165
166 2007-11-18 Wakaba <wakaba@suika.fam.cx>
167
168 * ContentType.pm: Sniffing with leading white space
169 ignoring (HTML5 revisions 1013 and 1016).
170
171 2007-11-18 Wakaba <wakaba@suika.fam.cx>
172
173 * ContentType.pm: HTML5 revision 1013 changes, except for leading
174 white spaces, are implemented.
175
176 2007-11-11 Wakaba <wakaba@suika.fam.cx>
177
178 * HTML.pm.src (parse_char_string): Set |inner_encoding|
179 attribute if possible.
180
181 2007-11-11 Wakaba <wakaba@suika.fam.cx>
182
183 * HTML.pm.src (parse_byte_string): New method.
184 (parse_char_string): New alias for |parse_string|.
185 (main phase): Invoking "change the encoding" algorithm if desired.
186
187 * HTML.pod: Updated.
188
189 2007-11-11 Wakaba <wakaba@suika.fam.cx>
190
191 * HTML.pod (get_inner_html): Removed.
192
193 * Makefile (HTML-all, HTML-clean): New.
194
195 2007-11-11 Wakaba <wakaba@suika.fam.cx>
196
197 * HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm).
198
199 2007-11-08 Wakaba <wakaba@suika.fam.cx>
200
201 * mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132).
202
203 2007-11-04 Wakaba <wakaba@suika.fam.cx>
204
205 * Makefile: |CacheManifest.html| is added.
206
207 * CacheManifest.pod: New file.
208
209 2007-11-04 Wakaba <wakaba@suika.fam.cx>
210
211 * CacheManifest.pm: New module.
212
213 2007-11-04 Wakaba <wakaba@suika.fam.cx>
214
215 * HTML.pm.src: Support for application cache selection algorithm
216 callback.
217
218 2007-11-04 Wakaba <wakaba@suika.fam.cx>
219
220 * mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118).
221
222 2007-10-17 Wakaba <wakaba@suika.fam.cx>
223
224 * Makefile (clean): New rule.
225
226 * NanoDOM.pm (public_id, system_id): New attributes.
227
228 2007-10-17 Wakaba <wakaba@suika.fam.cx>
229
230 * Makefile (CSS-all, CSS-clean, clean): New rules.
231
232 2007-10-14 Wakaba <wakaba@suika.fam.cx>
233
234 * ContentChecker.pm (check_document): Support for
235 new |is_xml_root| flag.
236 (check_element): Support for new |pluses| state.
237 (_add_pluses): New method.
238 (_remove_minuses): Support for new |minus| item.
239
240 2007-09-24 Wakaba <wakaba@suika.fam.cx>
241
242 * ContentChecker.pm: Raise specific error for invalid
243 root element.
244
245 2007-09-24 Wakaba <wakaba@suika.fam.cx>
246
247 * ContentChecker.pm: Set level values for later uses.
248
249 2007-09-09 Wakaba <wakaba@suika.fam.cx>
250
251 * ContentChecker.pm: Support for language tag validation.
252
253 2007-09-09 Wakaba <wakaba@suika.fam.cx>
254
255 * LangTag.pm (check_rfc3066_language_tag): New method.
256
257 2007-09-09 Wakaba <wakaba@suika.fam.cx>
258
259 * LangTag.pm: New module.
260
261 2007-09-04 Wakaba <wakaba@suika.fam.cx>
262
263 * HTML.pm.src: Some error types were wrong.
264
265 2007-08-17 Wakaba <wakaba@suika.fam.cx>
266
267 * CSS/: New directory.
268
269 2007-08-17 Wakaba <wakaba@suika.fam.cx>
270
271 * ContentChecker.pm (_check_get_children): Support
272 for |noscript| in |head|.
273
274 2007-08-12 Wakaba <wakaba@suika.fam.cx>
275
276 * URI/: New directory.
277
278 2007-08-11 Wakaba <wakaba@suika.fam.cx>
279
280 * HTML.pm.src: Tokenizer's states are now represented in
281 number.
282
283 2007-08-11 Wakaba <wakaba@suika.fam.cx>
284
285 * HTML.pm.src: |or|s for insertion modes are replaced
286 by |&|s.
287
288 2007-08-11 Wakaba <wakaba@suika.fam.cx>
289
290 * HTML.pm.src: Token types are now represented in number.
291
292 2007-08-11 Wakaba <wakaba@suika.fam.cx>
293
294 * ContentType.pm (SEE ALSO): Updated.
295
296 * HTML.pm.src: Insertion modes are now represented in number.
297
298 2007-08-11 Wakaba <wakaba@suika.fam.cx>
299
300 * ContentType.pm: Sniffing for bitmap images (HTML5 revision
301 999) is implemented.
302
303 2007-08-08 Wakaba <wakaba@suika.fam.cx>
304
305 * ContentType.pm: Sniffing for |<script| (HTML5 revision
306 983) is implemented.
307
308 2007-08-06 Wakaba <wakaba@suika.fam.cx>
309
310 * ContentChecker.pod: New documentation.
311
312 * Makefile: A rule for |ContentChecker.html| is added.
313
314 * ContentChecker.pm: A pod "LICENSE" section is added.
315
316 * NanoDOM.pm ($VERSION): New variable.
317
318 2007-08-05 Wakaba <wakaba@suika.fam.cx>
319
320 * H2H.pm: |b|, |i|, and |sub| are added to the
321 list of allowed HTML elements.
322
323 2007-08-05 Wakaba <wakaba@suika.fam.cx>
324
325 * H2H.pm: |samp| is added to the list of allowed
326 HTML elements.
327
328 * URIChecker.pm (check_iri): New.
329 (check_iri_reference): Error type for IRI reference
330 syntax error is changed.
331
332 2007-08-04 Wakaba <wakaba@suika.fam.cx>
333
334 * ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom|
335 is added.
336 (check_document): Load appropriate module before validation.
337
338 2007-08-04 Wakaba <wakaba@suika.fam.cx>
339
340 * ContentChecker/: New directory.
341
342 2007-08-04 Wakaba <wakaba@suika.fam.cx>
343
344 * ContentChecker.pm: HTML |time| element is implemented.
345
346 * HTMLTable.pm: Comments are updated as HTML5 is revised.
347
348 2007-07-21 Wakaba <wakaba@suika.fam.cx>
349
350 * ContentChecker.pm (check_document): Return value
351 even if no document element is found.
352
353 2007-07-21 Wakaba <wakaba@suika.fam.cx>
354
355 * HTML.pm.src: |$in_body| is no longer a function.
356
357 2007-07-21 Wakaba <wakaba@suika.fam.cx>
358
359 * HTML.pm.src: The |$in_body| code has been moved down.
360
361 2007-07-21 Wakaba <wakaba@suika.fam.cx>
362
363 * HTML.pm.src: The "trailing end" insertion mode
364 is split into "after html body" and "after html frameset"
365 insertion modes. Their codes are merged with "after body"
366 and "after frameset" codes. |$previous_insertion_mode|
367 has been removed. "after frameset" code is
368 merged with "in frameset" code.
369
370 2007-07-21 Wakaba <wakaba@suika.fam.cx>
371
372 * HTML.pm.src: The "before head" insertion mode is
373 merged with the "in head" insertion mode.
374
375 2007-07-21 Wakaba <wakaba@suika.fam.cx>
376
377 * HTML.pm.src: Cases in "in head" insertion mode are
378 reorganized.
379
380 2007-07-21 Wakaba <wakaba@suika.fam.cx>
381
382 * HTML.pm.src: Some cases in "in table" insertion mode
383 are merged.
384
385 2007-07-21 Wakaba <wakaba@suika.fam.cx>
386
387 * HTML.pm.src: The "in row" insertion mode is merged
388 with "in table" insertion mode.
389
390 2007-07-21 Wakaba <wakaba@suika.fam.cx>
391
392 * HTML.pm.src: The "in table" and "in table body" insertion
393 modes are merged.
394
395 2007-07-21 Wakaba <wakaba@suika.fam.cx>
396
397 * HTML.pm.src: There is no "in table head" or "in table foot"
398 insertion mode!
399
400 2007-07-21 Wakaba <wakaba@suika.fam.cx>
401
402 * HTML.pm.src: |<noframes>| "in frameset" and "in noframes"
403 now directly invoke the handler.
404
405 2007-07-21 Wakaba <wakaba@suika.fam.cx>
406
407 * HTML.pm.src: Codes for "in cell" insertion mode
408 is merged to the "in body" insertion mode code.
409
410 2007-07-21 Wakaba <wakaba@suika.fam.cx>
411
412 * HTML.pm.src: Codes for "in body" and "in caption"
413 insertion modes are merged.
414
415 2007-07-21 Wakaba <wakaba@suika.fam.cx>
416
417 * HTML.pm.src: Two |!!!next-token|s were missing.
418
419 2007-07-21 Wakaba <wakaba@suika.fam.cx>
420
421 * HTML.pm.src: Use numeric constant for |{content_mode}|
422 instead of string constant for |{content_model_flag}|.
423
424 2007-07-21 Wakaba <wakaba@suika.fam.cx>
425
426 * HTML.pm.src: Add the name of the attribute
427 to the "duplicate attribute" error.
428
429 2007-07-17 Wakaba <wakaba@suika.fam.cx>
430
431 * ContentChecker.pm: Return the |class| node list.
432
433 2007-07-17 Wakaba <wakaba@suika.fam.cx>
434
435 * ContentChecker.pm: Return the |id| node list.
436
437 * HTML.pm.src: A typo is fixed.
438
439 2007-07-16 Wakaba <wakaba@suika.fam.cx>
440
441 * ContentChecker.pm: Drop wrong |level => 'error'| specification
442 from "in HTML:xml:lang" error. Character position
443 is now the last part of the error type in the URI error
444 description. Report "unsupported" status for language
445 tags, media queries, script codes, and style sheets.
446
447 2007-07-16 Wakaba <wakaba@suika.fam.cx>
448
449 * ContentChecker.pm: Report error if |xml:lang|
450 in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset|
451 in XML.
452
453 * NanoDOM.pm (Attr.owner_document): New attribute.
454
455 2007-07-16 Wakaba <wakaba@suika.fam.cx>
456
457 * HTML.pm.src: The character immediately following
458 a bare |hcro| was discarded. Fix handling of
459 entity references in attribute values.
460
461 2007-07-16 Wakaba <wakaba@suika.fam.cx>
462
463 * HTML.pm.src (main and trailin end phases): Token
464 types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are
465 factored out. Error types |in html:#DOCTYPE|
466 and |after html:#DOCTYPE| are merged
467 into |DOCTYPE in the middle|. |</frameset>|
468 in fragment parsing mode changed the
469 insertion mode.
470
471 2007-07-16 Wakaba <wakaba@suika.fam.cx>
472
473 * HTML.pm.src: |$phase| has been removed; The |trailing end|
474 phase is now an insertion mode. Treatments for white
475 space character tokens were incorrect for some
476 insertion modes. An old |meta| case was not removed.
477
478 2007-07-16 Wakaba <wakaba@suika.fam.cx>
479
480 * HTML.pm.src: |meta| charset declaration extraction
481 implemented (but changing the encoding is not yet:-).
482
483 2007-07-15 Wakaba <wakaba@suika.fam.cx>
484
485 * Charset/: New directory.
486
487 2007-07-15 Wakaba <wakaba@suika.fam.cx>
488
489 * H2H.pm: New Perl module (created from
490 manakai's H2H.dis).
491
492 2007-07-15 Wakaba <wakaba@suika.fam.cx>
493
494 * XMLSerializer.pm: New Perl module (created from
495 manakai's SimpleLS.dis).
496
497 2007-07-07 Wakaba <wakaba@suika.fam.cx>
498
499 * HTML.pm.src: |<!---x-->| was not processed correctly.
500
501 2007-07-01 Wakaba <wakaba@suika.fam.cx>
502
503 * HTML.pm.src: Report correct error message
504 for |<body></div></body>|.
505
506 2007-07-01 Wakaba <wakaba@suika.fam.cx>
507
508 * HTMLTable.pm: An error description was incorrect.
509
510 2007-06-30 Wakaba <wakaba@suika.fam.cx>
511
512 * ContentChecker.pm: Return |{term}| list.
513
514 2007-06-30 Wakaba <wakaba@suika.fam.cx>
515
516 * HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>,
517 nested <nobr>, implied </tbody>, </tfoot>, and </thead>,
518 and <title> outside of head).
519
520 2007-06-30 Wakaba <wakaba@suika.fam.cx>
521
522 * IMTChecker.pm: Report warning for unregistered
523 and private types/subtypes.
524
525 * ContentChecker.pm, HTML.pm.src, IMTChecker.pm,
526 URIChecker.pm, HTMLTable.pm: Error messages are now
527 consistent; they are all listed in
528 <http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>.
529
530 2007-06-25 Wakaba <wakaba@suika.fam.cx>
531
532 * ContentChecker.pm: |<img ismap>| not in |<a></a>|
533 is now erred. |<datalist>| is implemented.
534 Attribute checker for |<command>| and |<menu>| are
535 added. Support for |contextmenu| global attribute
536 is added.
537
538 2007-06-25 Wakaba <wakaba@suika.fam.cx>
539
540 * HTML.pm.src (_reset_insertion_mode): Interpretation
541 of Step 3 has been changed.
542
543 2007-06-25 Wakaba <wakaba@suika.fam.cx>
544
545 * HTML.pm.src: Late |<html>| parse error is implemented.
546
547 2007-06-24 Wakaba <wakaba@suika.fam.cx>
548
549 * URIChecker.pm (check_iri_reference): A |decode| method name was
550 incorrect.
551
552 * ContentChecker.pm: Support for the |footer| element.
553 Check URI syntax for space-separated URI attributes.
554 Support for the |tabindex| attribute. Support
555 for |datetime| attribute.
556
557 2007-06-24 Wakaba <wakaba@suika.fam.cx>
558
559 * HTML.pm.src: HTML5 revision 1.144 (&#x0D;) and 1.145 (invalid
560 character references). HTML5 revision 1.146 (white space
561 characters before root start tag). HTML5 revision
562 1.148 (named character references in attribute values).
563 HTML5 revision 1.152 (<plaintext>.innerHTML get).
564
565 2007-06-24 Wakaba <wakaba@suika.fam.cx>
566
567 * HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript>
568 in <head>).
569
570 2007-06-24 Wakaba <wakaba@suika.fam.cx>
571
572 * HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta>
573 in body).
574
575 * ContentChecker.pm: HTML5 revision 938 (scoped="").
576
577 2007-06-24 Wakaba <wakaba@suika.fam.cx>
578
579 * HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA
580 or RCDATA in fragment parsing mode). HTML5 revision
581 924 (<!--> and <!--->). HTML5 revision 926 (hn in hn).
582
583 2007-06-23 Wakaba <wakaba@suika.fam.cx>
584
585 * HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html
586 for <pre> and <textarea>).
587
588 2007-06-23 Wakaba <wakaba@suika.fam.cx>
589
590 * HTML.pm.src: HTML5 revision 920 (<isindex>).
591
592 2007-06-23 Wakaba <wakaba@suika.fam.cx>
593
594 * HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>).
595
596 2007-06-23 Wakaba <wakaba@suika.fam.cx>
597
598 * HTML.pm.src: HTML5 revision 916 (</body>).
599 HTML5 revision 917 (conforming bare &).
600
601 2007-06-23 Wakaba <wakaba@suika.fam.cx>
602
603 * NanoDOM.pm (manakai_is_html): Setting to false did not work.
604
605 * HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA).
606 HTML5 revision 915 (<nobr>).
607
608 2007-06-23 Wakaba <wakaba@suika.fam.cx>
609
610 * HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode).
611
612 * NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode):
613 New attributes.
614
615 2007-06-23 Wakaba <wakaba@suika.fam.cx>
616
617 * HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (<
618 in tags).
619
620 2007-06-23 Wakaba <wakaba@suika.fam.cx>
621
622 * .cvsignore: |Entities.html| is added.
623
624 * HTML.pm.src: |$entity_char| is removed and
625 requires |Whatpm::_NamedEntityList| instead.
626 HTML5 revision 898 (refc), except that lack of refc
627 is parse error.
628
629 * mkentitylist.pl: New script.
630
631 * Makefile (all): |_NamedEntityList.pm| is added.
632 (_NamedEntityList.pm, Entities.html): New rules.
633
634 2007-06-23 Wakaba <wakaba@suika.fam.cx>
635
636 * HTML.pm.src: Parse errors immediately after U+000D
637 were ignored and U+000D immediately following another
638 U+000D was not converted to U+000A.
639
640 2007-06-23 Wakaba <wakaba@suika.fam.cx>
641
642 * HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt
643 nodes before appended). Parser was not ready for NULL
644 parse error and escape flag.
645
646 * NanoDOM.pm (adopt_node): New.
647
648 2007-06-23 Wakaba <wakaba@suika.fam.cx>
649
650 * HTML.pm.src: HTML5 revision 886 (insane comment in
651 CDATA and RCDATA). Note that current implementation
652 is simply repeating what the spec says and it is maybe not
653 a best way to do it.
654
655 2007-06-23 Wakaba <wakaba@suika.fam.cx>
656
657 * HTML.pm.src: HTML5 revision 884 (</form> don't close
658 the form element if a descendant element without implied end tag has
659 still been open).
660
661 2007-06-23 Wakaba <wakaba@suika.fam.cx>
662
663 * ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with
664 space characters non-conforming).
665
666 2007-06-23 Wakaba <wakaba@suika.fam.cx>
667
668 * HTML.pm.src: An error message was incorrect.
669 HTML5 revision 869 (C1 character references).
670
671 2007-06-23 Wakaba <wakaba@suika.fam.cx>
672
673 * HTML.pm.src: HTML5 revision 867 (a LF at the beginning of
674 a |textarea| is removed).
675
676 2007-06-05 Wakaba <wakaba@suika.fam.cx>
677
678 * NanoDOM.pm (get_attribute_node_ns): New method.
679
680 * ContentChecker.pm: |script| |async| and |defer|
681 no longer require |src|. |async| MUST NOT be
682 specified if |defer|. (HTML5 revision 858).
683
684 2007-05-30 Wakaba <wakaba@suika.fam.cx>
685
686 * HTML.pm.src: |<form><form>| went to inifinite loop.
687
688 2007-05-27 Wakaba <wakaba@suika.fam.cx>
689
690 * ContentChecker.pm (html): Set |is_root| (allowed
691 as a document element) flag on.
692 (new): Removed.
693 (check_document): New method.
694
695 2007-05-27 Wakaba <wakaba@suika.fam.cx>
696
697 * ContentChecker.pm (thead, tfoot): Checker specifications
698 were incorrect.
699
700 2007-05-27 Wakaba <wakaba@suika.fam.cx>
701
702 * ContentChecker.pm ($HTMLURIAttrChecker): Include
703 error position in the |type| option of the error.
704
705 * HTMLTable.pm (form_table): The |$onerror| parameter
706 is now optional. Some bugs are fixed.
707
708 2007-05-27 Wakaba <wakaba@suika.fam.cx>
709
710 * HTMLTable.pm: New module.
711
712 * ContentChecker.pm (table): Invoke table model error checker.
713
714 * NanoDOM.pm (first_child, get_attribute_ns): New.
715
716 2007-05-26 Wakaba <wakaba@suika.fam.cx>
717
718 * ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker.
719 (link/@rel, a/@rel, area/@rel): Use new checker.
720
721 * Makefile (_LinkTypeList.pm, RelExtensions.html): New rules.
722
723 * _LinkTypeList.pm: New file.
724
725 * mklinktypelist.pl: New file.
726
727 * .cvsignore: |RelExtensions.html| added.
728
729 * NanoDOM.pm (child_nodes): Returns an empty array
730 for non-child-containing node types.
731 (text_content): New attribute.
732
733 2007-05-26 Wakaba <wakaba@suika.fam.cx>
734
735 * IMTChecker.pm: New module.
736
737 * ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker
738 to test parameter value validity.
739
740 * HTML.pm.src ($style_start_tag): Attributes were
741 discarded.
742
743 2007-05-25 Wakaba <wakaba@suika.fam.cx>
744
745 * ContentChecker.pm ($HTMLURIAttrChecker): Implemented.
746
747 2007-05-25 Wakaba <wakaba@suika.fam.cx>
748
749 * URIChecker.pm: All recommendations from RFC 3986
750 and RFC 3987 are listed (not all testable items are checked yet).
751
752 2007-05-25 Wakaba <wakaba@suika.fam.cx>
753
754 * URIChecker.pm: New module.
755
756 2007-05-20 Wakaba <wakaba@suika.fam.cx>
757
758 * ContentChecker.pm: Now most attributes are implemented
759 or associated to some placeholder.
760 ($ElementDefault): Warn unknown attributes
761 for unknown elements as "attribute not supported".
762 ($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders.
763 ($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers.
764 (|a| attribute checker): Reimplemented.
765
766 2007-05-20 Wakaba <wakaba@suika.fam.cx>
767
768 * ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder.
769 ($HTMLAttrChecker): Event handler content attributes
770 are added.
771 (link, embed): Required attribute is now checked.
772 (embed): Unknown local attributes are no longer warned.
773
774 2007-05-20 Wakaba <wakaba@suika.fam.cx>
775
776 * ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder.
777 ($HTMLIMTAttrChecker): New checker.
778 (link@rel, link@href, link@type, style@type,
779 a@href, a@ping, a@ping, a@type, embed@src, embed@type,
780 object@data, object@type, source@src, source@type, area@alt,
781 area@shape, area@coords, area@href,
782 area@ping, area@rel, area@type, script@src,
783 script@defer, script@async, script@type): Checkers added.
784
785 2007-05-20 Wakaba <wakaba@suika.fam.cx>
786
787 * ContentChecker.pm: Descendant checking was incorrect.
788
789 2007-05-19 Wakaba <wakaba@suika.fam.cx>
790
791 * ContentChecker.pm: Support |xml:*| and |xmlns:*|
792 attributes. Report an error if |Element.prefix|
793 is |xmlns|.
794
795 * NanoDOM.pm (prefix): New attribute.
796
797 2007-05-19 Wakaba <wakaba@suika.fam.cx>
798
799 * HTML.pm.src: In |main| phase, |in body| insertion
800 mode, action for |<iframe>| was missing.
801
802 2007-05-19 Wakaba <wakaba@suika.fam.cx>
803
804 * ContentChecker.pm: Support for many of HTML5 elements.
805 ($GetHTMLNonNegativeIntegerAttrChecker): New.
806
807 2007-05-19 Wakaba <wakaba@suika.fam.cx>
808
809 * ContentChecker.pm: Support for most elements up to |progress|.
810 ($HTMLURIAttrChecker): Placeholder.
811 ($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker):
812 New.
813
814 2007-05-19 Wakaba <wakaba@suika.fam.cx>
815
816 * ContentChecker.pm: Attribute checkers
817 for global attributes, |html|, |base|, |style|, and |meta|.
818
819 * NanoDOM.pm (insert_before): Weaken reference
820 to the parent node.
821 (Attr::new): Set |owner_element| attribute.
822 (namespace_uri, manakai_local_name): New attribute implementations.
823 (owner_element): New attribute.
824
825 2007-05-19 Wakaba <wakaba@suika.fam.cx>
826
827 * ContentChecker.pm ($AttrChecker, $HTMLAttrChecker,
828 $AnyChecker->{attr_checker}, $HTMLAttrsChecker,
829 $Element->{$HTML_NS}->{''}): New.
830 (check_element): Invoke attrs_checker for each element.
831
832 2007-05-13 Wakaba <wakaba@suika.fam.cx>
833
834 * ContentChecker.pm: Don't use |manakai_element_type_match|.
835
836 2007-05-13 Wakaba <wakaba@suika.fam.cx>
837
838 * ContentChecker.pm: Use hashs rather than lists for
839 element type testings.
840
841 2007-05-13 Wakaba <wakaba@suika.fam.cx>
842
843 * ContentChecker.pm: Don't generate duplicate
844 error when an element type is put in the "minus" list
845 and the element type is not allowed explicitly in the particular
846 element content model.
847 (html:a checker): New checker.
848 (html:details, html:datagrid): New checkers.
849 (html:legend): New checker.
850
851 2007-05-13 Wakaba <wakaba@suika.fam.cx>
852
853 * ContentChecker.pm (html:li checker): Implemented.
854
855 2007-05-13 Wakaba <wakaba@suika.fam.cx>
856
857 * ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New
858 checker.
859 (html:dd checker): New checker.
860 (html:q, html:em, html:strong, html:small,
861 html:m, html:dfn, html:code, html:samp, html:span): New checkers.
862
863 2007-05-13 Wakaba <wakaba@suika.fam.cx>
864
865 * ContentChecker.pm ($AnyChecker): Renamed
866 from |$ElementDefault->{checker}|.
867 ($ElementDefault->{checker}): Throw an error that
868 the element type is not supported by the checker.
869 ($HTMLMetadataElement): |html:base| was missing.
870 ($HTMLEmptyChecker): Don't throw an error
871 for inter-element whitespace nodes.
872 (html:html checker): Errors were not
873 thrown even if |html:head| and/or |html:body|
874 children were missing.
875 (html:head checker): An error was not
876 thrown if <meta charset> appered after other
877 elements.
878
879 2007-05-05 Wakaba <wakaba@suika.fam.cx>
880
881 * ContentChecker.pm: |footer|, |video|, |audio|, |script|,
882 and |noscript| elements are implemented.
883 (new): New method.
884
885 2007-05-04 Wakaba <wakaba@suika.fam.cx>
886
887 * ContentChecker.pm: New module.
888
889 2007-05-04 Wakaba <wakaba@suika.fam.cx>
890
891 * NanoDOM.pm (manakai_parent_element,
892 document_element, manakai_local_name,
893 manakai_element_type_match): New method.
894
895 2007-05-03 Wakaba <wakaba@suika.fam.cx>
896
897 * HTML.pm.src: Replace decimal and hexadecimal numeric
898 entities in C1 range using Windows-1252 mapping. Bare LF
899 did not count as new line for error reporting.
900
901 2007-05-02 Wakaba <wakaba@suika.fam.cx>
902
903 * NanoDOM.pm (DOMImplementation): New class.
904 (append_child): Weaken the |parent_node| reference.
905 (create_element_ns, Element new): Set the |owner_document|
906 reference.
907 (implementation): New attribute.
908 (owner_document, local_name, namespace_uri): New attributes.
909
910 * HTML.pm.src (parse_string): Line and column numbers
911 are now provided to error handler.
912 (!!!parse-error): Short descriptions are added.
913 (_construct_tree): Split into three methods; support
914 for innerHTML mode.
915 (set_inner_html): New method.
916
917 2007-05-01 Wakaba <wakaba@suika.fam.cx>
918
919 * NanoDOM.html: Documentation is added.
920
921 * HTML.pod, ContentType.html: Documentation is revised.
922
923 * .cvsignore: Pod2html temporary files are added.
924
925 * Makefile: Make |NanoDOM.html|.
926
927 2007-05-01 Wakaba <wakaba@suika.fam.cx>
928
929 * HTML.pm.src (parse_string): New method.
930 (get_inner_html): Renamed from |inner_html|.
931
932 * Makefile: A rule for |HTML.html| is added.
933
934 * HTML.pod: New documentation.
935
936 2007-05-01 Wakaba <wakaba@suika.fam.cx>
937
938 * NanoDOM.pm (last_child, previous_sibling): New attributes.
939 (clone_node): Attribute nodes were not completely copied.
940
941 * HTML.pm.src: Many bugs are fixed.
942
943 2007-04-30 Wakaba <wakaba@suika.fam.cx>
944
945 * HTML.pm.src: Some typos are fixed.
946
947 2007-04-30 Wakaba <wakaba@suika.fam.cx>
948
949 * mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src|
950 are removed.
951
952 * HTML.pm.src: Tokenizer's handling on named entities are rewritten.
953
954 * HTML-consume-entity.src: Removed.
955
956 2007-04-30 Wakaba <wakaba@suika.fam.cx>
957
958 * HTML.pm.src: Tokenizer's handling on hexadecimal
959 numeric entities are rewritten.
960
961 2007-04-30 Wakaba <wakaba@suika.fam.cx>
962
963 * HTML.pm.src: Some tokenizer bugs are fixed.
964
965 2007-04-30 Wakaba <wakaba@suika.fam.cx>
966
967 * HTML.pm.src: The tree construction stage is implemented.
968
969 * mkhtmlparser.pl: New macros are added.
970
971 2007-04-28 Wakaba <wakaba@suika.fam.cx>
972
973 * ContentType.pm: A note on bug in the specification
974 is removed since it's been now fixed.
975
976 * .cvsignore: New file.
977
978 2007-04-28 Wakaba <wakaba@suika.fam.cx>
979
980 * HTML.pm.src, HTML-consume-entity.src: New files.
981
982 * Makefile (HTML.pm): New rule.
983
984 * mkhtmlparser.pl: New script.
985
986 2007-04-25 Wakaba <wakaba@suika.fam.cx>
987
988 * Makefile: New file.
989
990 2007-04-24 Wakaba <wakaba@suika.fam.cx>
991
992 * ContentType.pm: An error in pod is fixed.
993
994 2007-04-24 Wakaba <wakaba@suika.fam.cx>
995
996 * ContentType.pm: Documentation is added.
997
998 2007-04-24 Wakaba <wakaba@suika.fam.cx>
999
1000 * ContentType.pm: New Perl module.
1001
1002 * ChangeLog: New file.
1003
1004

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24