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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.287 - (show annotations) (download)
Sun Aug 31 13:27:33 2008 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.286: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	31 Aug 2008 13:23:51 -0000
	* CacheManifest.pm: Support for extensibility (HTML5 revision 2051).

2008-08-31  Wakaba  <wakaba@suika.fam.cx>

1 2008-08-31 Wakaba <wakaba@suika.fam.cx>
2
3 * CacheManifest.pm: Support for extensibility (HTML5 revision 2051).
4
5 2008-08-31 Wakaba <wakaba@suika.fam.cx>
6
7 * HTML.pm.src: Bug fix and sync with the spec with regard
8 to after after frameset insertion mode processing (HTML5
9 revision 1909). Note that the implementation was wrong
10 per the old spec before the r1909 changes.
11
12 2008-08-30 Wakaba <wakaba@suika.fam.cx>
13
14 * HTMLTable.pm: scope=auto algorithm fix synced with the
15 spec (HTML5 revision 2093).
16 ($process_row): Algorithm step numbers synced with the
17 spec (HTML5 revision 2092).
18
19 2008-08-30 Wakaba <wakaba@suika.fam.cx>
20
21 * HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5
22 revision 2094).
23
24 2008-08-30 Wakaba <wakaba@suika.fam.cx>
25
26 * ContentType.pm: Support for image/svg+xml (HTML5 revision 2096).
27
28 2008-08-30 Wakaba <wakaba@suika.fam.cx>
29
30 * HTML.pm.src: '"' and "'" at the end of attribute
31 name (after another attribute) now raise parse error (HTML5
32 revision 2123). Empty unquoted attribute values are no
33 longer allowed (HTML5 revision 2122).
34
35 2008-08-30 Wakaba <wakaba@suika.fam.cx>
36
37 * mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5
38 revision 2130).
39
40 2008-08-30 Wakaba <wakaba@suika.fam.cx>
41
42 * ContentChecker.pm: |xml:lang| attribute value must be same
43 as |lang| attribute value for HTML elements (HTML5 revision 2062
44 and so on).
45
46 2008-08-30 Wakaba <wakaba@suika.fam.cx>
47
48 * ContentChecker.pm: Error level definition for |xml_id_error|
49 was missing.
50
51 * URIChecker.pm: The end of the URL should be marked as the
52 error location for an empty path error. The position
53 between the userinfo and the port components should be
54 marked as the error location for an empty host error.
55
56 2008-08-30 Wakaba <wakaba@suika.fam.cx>
57
58 * URIChecker.pm: Set parameters representing where in the
59 value the error occurs for errors. Report unknown
60 address format error in warning level, since address
61 formats are rarely added. Path segments starting with "/.."
62 were misinterpreted as a dot-segment.
63
64 2008-08-30 Wakaba <wakaba@suika.fam.cx>
65
66 * URIChecker.pm (check_iri_reference): Requires
67 |Message::DOM::DOMImplementation|.
68
69 2008-08-29 Wakaba <wakaba@suika.fam.cx>
70
71 * IMTChecker.pm: Updated for the new error reporting architecture.
72
73 * ContentChecker.pm: Error levels for IMTs are added.
74
75 2008-08-17 Wakaba <wakaba@suika.fam.cx>
76
77 * H2H.pm (_shift_token): Support for unquoted HTML attribute
78 values.
79
80 2008-08-16 Wakaba <wakaba@suika.fam.cx>
81
82 * CacheManifest.pm: Support for new style of error
83 reports.
84
85 * HTML.pm.src: Set line=1, column=1 to the document node.
86
87 2008-08-16 Wakaba <wakaba@suika.fam.cx>
88
89 * ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag
90 and URL checkers. Support for more error levels for bogus
91 langauge tag and URL "standards".
92
93 * LangTag.pm, URIChecker.pm: Support for new style error
94 level reporting.
95
96 2008-08-15 Wakaba <wakaba@suika.fam.cx>
97
98 * ContentChecker.pm: Support for RDF/XML error levels.
99
100 * HTMLTable.pm, RDFXML.pm: Support for new style of error level
101 specifying. Error types are revised.
102
103 2008-08-15 Wakaba <wakaba@suika.fam.cx>
104
105 * ContentChecker.pm: All error reporting method calls are
106 renewed.
107
108 2008-08-15 Wakaba <wakaba@suika.fam.cx>
109
110 * HTML.pm.src: All error type names and "text" parameters
111 are revised. Use new style for "level" specification.
112
113 * mkhtmlparser.pl: Use new style for "level" specification.
114
115 2008-08-03 Wakaba <wakaba@suika.fam.cx>
116
117 * WebIDL.pm (parse_char_string): Simplified error
118 reporting process for broken ignored valuetype definition.
119 (Valuetype idl_text): Support for special "DOMString" name.
120
121 2008-08-03 Wakaba <wakaba@suika.fam.cx>
122
123 * WebIDL.pm ($get_scoped_name): Append "::::" if the last
124 terminal of the ScopedName is "DOMString", such that whether
125 the last part of the scoped name is "DOMString" or "_DOMString"
126 later. It is necessary to determine whether a |typedef|
127 definition should be ignored or not.
128 (parse_char_string): Unescape the identifier of
129 exception members.
130 ($resolve): Return undef for builtin types and sequence<T>
131 types (we might not have to do this, however...).
132 (check): Support checking for Exceptions, Valuetypes,
133 and Typedefs.
134 ($serialize_type): Support for "DOMString::::" syntax.
135 (Typedef idl_text): Output Type as "DOMString" if it
136 is really "DOMString" (i.e. its internal representation
137 is "::DOMString::").
138
139 2008-08-03 Wakaba <wakaba@suika.fam.cx>
140
141 * WebIDL.pm ($resolve): New code, based on resolve code
142 for constant types in the |check| method.
143 (check): Support for checking of attributes, operations, and
144 arguments.
145 (Attribute/Operation idl_text): Exception names in getraises,
146 setraises, and raises clauses is serizlied by |$serialize_type|
147 code.
148
149 2008-08-02 Wakaba <wakaba@suika.fam.cx>
150
151 * WebIDL.pm ($integer): Order of selections are changed to match
152 hexadecimal numbers (the original pattern, taken from the spec,
153 was not work for hexadecimal numbers, because the "0" prefix
154 matches to the [0-7]* part (as an empty string) and therefore
155 it does not match with remaining "x..." part of a "0x..." integer
156 literal.
157 ($get_type): It now returns a string, not an array reference,
158 for regular types and |sequence| types (i.e. it in any case
159 returns a string).
160 ($get_next_token): The second item in the array that represents
161 a integer or float token is now a Perl number value, not the
162 original string representation of the number.
163 (check): Support for const value consistency checking.
164 No extended attribute is defined for constants.
165 (Node subclasses): Use simple strings rather than array references
166 for default data type values.
167 ($serialize_type): Type values are now simple strings.
168 (value): If the new attribute value is a false value, then
169 a FALSE value is set to the attribute.
170
171 2008-08-02 Wakaba <wakaba@suika.fam.cx>
172
173 * WebIDL.pm ($get_scoped_name): Now scoped names are stored
174 in its stringified format ("scoped name" as defined in the
175 spec). Note that future version of this module should not use
176 array references for type values and the |type_text| attribute
177 should be made obsolete.
178 (parse_char_string): Unescape attribute names.
179 (check): Support for checking of whether inherited interfaces
180 are actually defined or not. Support for checking of whether
181 interface member identifiers are duplicated or not.
182 ($serialize_type): Scoped names are returned as is. A future
183 version of this code should escape identifiers other than "DOMString",
184 otherwise the idl_text would be non-conforming.
185
186 2008-08-02 Wakaba <wakaba@suika.fam.cx>
187
188 * WebIDL.pm (parse_char_string): Set line/column numbers
189 to generated nodes. Unescape identifiers. Extended attributes
190 for Definition's were ignored.
191 (append_child): Set |parent_node| attribute.
192 (parent_node): New attribute.
193 (check): Support interface/exception members. Support
194 extended attributes. Support definition identifier uniqueness
195 constraint.
196 (qualified_name): New attribute.
197 (Interface/Exception idl_text): Extended attributes were
198 not prepended to the returned text.
199
200 2008-08-02 Wakaba <wakaba@suika.fam.cx>
201
202 * WebIDL.pm (parse_char_string): Set line/column numbers
203 to interface object experimentally. s/shift/pop/g, shift
204 would make things wrong. Support for interface forward
205 declarations was missing. Broken interface declarations
206 with no block were not ignored entirely.
207 (Whatpm::WebIDL::Node): New abstract class. This class
208 makes things easier.
209 (child_nodes): New attribute. Unlike DOM's attribute with
210 same name, this attribute returns a dead list of nodes for
211 simplicity.
212 (get_user_data, set_user_data): New methods.
213 (Module idl_text): A SPACE character should be inserted
214 before the |{| character.
215 (Interface idl_text): Support for interface forward declarations.
216 (is_forward_declaration): New attribute.
217
218 2008-07-19 Wakaba <wakaba@suika.fam.cx>
219
220 * WebIDL.pm (type_text): Better serializer.
221
222 2008-07-19 Wakaba <wakaba@suika.fam.cx>
223
224 * WebIDL.pm: Revise forward-compatible parsing so that
225 it now can handle broken extended attributes and as such.
226
227 2008-07-19 Wakaba <wakaba@suika.fam.cx>
228
229 * WebIDL.pm: Real support for extended attributes.
230 Support for extended attributes with arguments.
231
232 2008-07-19 Wakaba <wakaba@suika.fam.cx>
233
234 * WebIDL.pm: Support for |exception| syntax.
235 (Interface->idl_text): Tentative support for inheritances.
236
237 2008-07-19 Wakaba <wakaba@suika.fam.cx>
238
239 * WebIDL.pm: Hierarchical scoped name support was broken.
240 Support for raises, setraises, and getraises syntaxes.
241
242 2008-07-18 Wakaba <wakaba@suika.fam.cx>
243
244 * WebIDL.pm: Support for |idl_text| attribute, version 1 (no
245 proper support for types, extended attributes, and exceptions yet).
246 WebIDL parser, version 1 (no support for exceptions yet,
247 no proper support for extended attributes yet).
248
249 2008-07-09 Wakaba <wakaba@suika.fam.cx>
250
251 * WebIDL.pm (parse_char_string): Support for basic attribute syntax.
252
253 2008-06-29 Wakaba <wakaba@suika.fam.cx>
254
255 * WebIDL.pm: Support for valuetype and const.
256
257 2008-06-29 Wakaba <wakaba@suika.fam.cx>
258
259 * WebIDL.pm: New module.
260
261 2008-06-15 Wakaba <wakaba@suika.fam.cx>
262
263 * Makefile (Entities.html): URI changed.
264
265 2008-06-08 Wakaba <wakaba@suika.fam.cx>
266
267 * HTML.pm.src: Support for ruby parsing (HTML5 revision 1704).
268
269 2008-06-01 Wakaba <wakaba@suika.fam.cx>
270
271 * HTML.pm.src (_get_next_token): A parse error was missing.
272
273 2008-06-01 Wakaba <wakaba@suika.fam.cx>
274
275 * mklinktypelist.pl: rel=contact is no longer part of the HTML5
276 spec (commented out). (HTML5 revision 1711).
277
278 2008-05-25 Wakaba <wakaba@suika.fam.cx>
279
280 * ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701).
281
282 * HTML.pm.src: UTF-16BE and UTF-16LE should be considered
283 as UTF-16 (HTML5 revision 1701).
284
285 2008-05-25 Wakaba <wakaba@suika.fam.cx>
286
287 * HTML.pm.src: Support for <noframes> in <head> (HTML5 revision
288 1692).
289
290 2008-05-25 Wakaba <wakaba@suika.fam.cx>
291
292 * HTML.pm.src: The secondary insertion mode used when switching
293 to foreign content is the "in body" insertion mode (HTML5 revision
294 1696).
295
296 2008-05-25 Wakaba <wakaba@suika.fam.cx>
297
298 * HTML.pm.src: Don't raise parse error for <isindex/> (HTML5
299 revision 1697).
300
301 2008-05-24 Wakaba <wakaba@suika.fam.cx>
302
303 * HTML.pm.src: Support for end-of-file token in foreign content
304 insertion mode (HTML5 revision 1693). Update SVG camelCase
305 attribute list (HTML5 revision 1700). <textarea> closes
306 </select> (HTML5 revision 1699). More start tags close in
307 foreign content insertion mode (HTML5 revision 1698).
308
309 2008-05-24 Wakaba <wakaba@suika.fam.cx>
310
311 * HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665).
312
313 2008-05-24 Wakaba <wakaba@suika.fam.cx>
314
315 * HTML.pm.src: More robust charset parameter detection (HTML5
316 revision 1674).
317
318 2008-05-24 Wakaba <wakaba@suika.fam.cx>
319
320 * ContentType.pm: Support for image/vnd.microsoft.icon (HTML5
321 revision 1676).
322
323 2008-05-24 Wakaba <wakaba@suika.fam.cx>
324
325 * HTML.pm.src: Ignore language part of public identifiers for
326 quriks mode detection (HTML5 revision 1679).
327
328 2008-05-24 Wakaba <wakaba@suika.fam.cx>
329
330 * HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5
331 revision 1685).
332
333 2008-05-24 Wakaba <wakaba@suika.fam.cx>
334
335 * HTML.pm.src: Support for EOF in new states for tags (HTML5
336 revision 1684).
337
338 2008-05-24 Wakaba <wakaba@suika.fam.cx>
339
340 * HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML
341 work (HTML5 revision 1690).
342
343 2008-05-24 Wakaba <wakaba@suika.fam.cx>
344
345 * HTML.pm.src (_tree_construction_main): Change handling of
346 end tags in head insertion modes (HTML5 revision 1686).
347 (parse_char_string): Bug fix for non-utf8 character string handlings.
348 (parse_char_stream): |ungetc| does not work well for this context.
349
350 2008-05-18 Wakaba <wakaba@suika.fam.cx>
351
352 * HTML.pm.src (parse_byte_string): Redefined to invoke
353 |parse_byte_stream|.
354 (parse_byte_stream): New method.
355
356 2008-05-18 Wakaba <wakaba@suika.fam.cx>
357
358 * HTML.pm.src (parse_byte_string): Fix the column number reported
359 by encoding layer error reporter.
360
361 2008-05-17 Wakaba <wakaba@suika.fam.cx>
362
363 * HTML.pm.src (parse_byte_string): Use streaming decoder
364 rather than converting the whole byte string and then parsing.
365 Propagate errors in character encoding layer.
366 (get_next_token): Precise error reporting for |bare stago| error.
367
368 2008-05-17 Wakaba <wakaba@suika.fam.cx>
369
370 * HTML.pm.src (parse_char_stream): New method.
371 (parse_char_string): This method is now defined as an invocation
372 of the |parse_char_stream| method.
373
374 2008-05-17 Wakaba <wakaba@suika.fam.cx>
375
376 * HTML.pm.src (parse_byte_string): Report various status
377 of the sniffing as info-level errors. Support for new
378 decoding framework in parser resestting.
379 (new): Various default error levels were not set.
380
381 2008-05-17 Wakaba <wakaba@suika.fam.cx>
382
383 * HTML.pm.src (parse_byte_string): HTML5 encoding siniffing
384 algorithm, except for the actual sniffing, is implemented
385 with new framework with Message::Charset::Info.
386
387 2008-05-16 Wakaba <wakaba@suika.fam.cx>
388
389 * CacheManifest.pm (_parse): Drop fragment identifiers from
390 URIs in fallback section (HTML5 revision 1596).
391
392 2008-05-10 Wakaba <wakaba@suika.fam.cx>
393
394 * Makefile (Entities.html): URI has changed.
395
396 2008-05-10 Wakaba <wakaba@suika.fam.cx>
397
398 * CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision
399 1553).
400
401 2008-05-06 Wakaba <wakaba@suika.fam.cx>
402
403 * ContentChecker.pm: Noted that those returned in |table| are
404 no longer table elements, but table objects returned
405 by Whatpm::HTMLTable.
406
407 * HTMLTable.pm (form_table): Return table element node
408 as |$table->{element}|.
409 (assign_header): Support for the |headers=""| attribute.
410
411 2008-05-06 Wakaba <wakaba@suika.fam.cx>
412
413 * HTMLTable.pm (assign_header): New function; first version
414 with no support for headers="".
415 (form_table): Include table width and height to the returned
416 table object for covenience. Indexing in column assignement was wrong.
417 Set whether a data cell is empty or not for convenience.
418
419 2008-05-05 Wakaba <wakaba@suika.fam.cx>
420
421 * HTMLTable.pm: Robuster caption support (HTML5 revision 1393).
422
423 2008-05-05 Wakaba <wakaba@suika.fam.cx>
424
425 * HTMLTable.pm: How table model errors are detected is
426 changed (HTML5 revision 1387).
427
428 2008-05-05 Wakaba <wakaba@suika.fam.cx>
429
430 * HTMLTable.pm: The algorithm now moves |tfoot| elements
431 to the end of the table (HTML5 revision 1380).
432
433 2008-05-05 Wakaba <wakaba@suika.fam.cx>
434
435 * HTMLTable.pm: The algorithm is now 0-based indexing, instead
436 of 1-based (HTML5 revision 1376).
437
438 2008-05-05 Wakaba <wakaba@suika.fam.cx>
439
440 * ContentType.pm: "Content-Type: text/plain; charset=UTF-8"
441 and "Content-Encoding" no longer prevent sniffing (HTML5
442 revision 1288).
443
444 2008-05-05 Wakaba <wakaba@suika.fam.cx>
445
446 * ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision
447 1282).
448
449 2008-05-03 Wakaba <wakaba@suika.fam.cx>
450
451 * ContentChecker.pm: Support for global attributes.
452 Status of XML specs are added.
453
454 2008-05-03 Wakaba <wakaba@suika.fam.cx>
455
456 * ContentChecker.pm (check_element): Support for |template=""|
457 and |ref=""| attribute (referent element type checking).
458
459 2008-04-29 Wakaba <wakaba@suika.fam.cx>
460
461 * CacheManifest.pm (_parse): New same origin definition (HTML5 revision
462 1500) is implemented (except for IDNA part and URI-scheme-specific
463 knowledge). Line number counting was wrong for LF-only
464 documents.
465
466 2008-04-13 Wakaba <wakaba@suika.fam.cx>
467
468 * HTML.pm.src: Raise an parse error for any disallowed
469 character (HTML5 revision 1263).
470
471 2008-04-13 Wakaba <wakaba@suika.fam.cx>
472
473 * mkentitylist.pl: Support for new HTML5 entity table format (the
474 definition for |AElig;| was missing).
475
476 2008-04-13 Wakaba <wakaba@suika.fam.cx>
477
478 * HTML.pm.src, mkhtmlparser.pl: Support for element/attribute
479 name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417).
480
481 2008-04-13 Wakaba <wakaba@suika.fam.cx>
482
483 * HTML.pm.src: List of element names that close foreign content
484 insertion mode is added (HTML5 revisions 1412 and 1418).
485
486 2008-04-13 Wakaba <wakaba@suika.fam.cx>
487
488 * HTML.pm.src: Support for |mglyph| and |malignmark|
489 elements (HTML5 revision 1410).
490
491 2008-04-13 Wakaba <wakaba@suika.fam.cx>
492
493 * HTML.pm.src: Support for new long MathML entities (HTML5
494 revision 1406).
495
496 2008-04-13 Wakaba <wakaba@suika.fam.cx>
497
498 * HTML.pm.src: CDATA section support for MathML and SVG
499 elements (HTML5 revision 1404 and 1420).
500
501 2008-04-12 Wakaba <wakaba@suika.fam.cx>
502
503 * HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG
504 elements (HTML5 revision 1404). Unused !!!macro definitions
505 are removed.
506
507 2008-04-12 Wakaba <wakaba@suika.fam.cx>
508
509 * HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors
510 are raised is changed (HTML5 revision 1404).
511
512 2008-04-06 Wakaba <wakaba@suika.fam.cx>
513
514 * HTML.pm.src: Category sets that are no longer used are removed.
515
516 2008-04-06 Wakaba <wakaba@suika.fam.cx>
517
518 * HTML.pm.src: The ->[1] property of stack entries are now
519 replaced by constants representing element category.
520
521 2008-04-06 Wakaba <wakaba@suika.fam.cx>
522
523 * HTML.pm.src: Don't use local name stored in stack (i.e. ->[1])
524 for error reporting. (This is a preparation for using constant
525 value for ->[1].)
526
527 2008-03-22 Wakaba <wakaba@suika.fam.cx>
528
529 * RDFXML.pm: Typo fixed.
530
531 2008-03-22 Wakaba <wakaba@suika.fam.cx>
532
533 * ContentChecker.pm: |fact_level| is now treated
534 as same as |must_level|, i.e. level = |m|.
535 (check_element): Make list of URIs in the DOM.
536
537 2008-03-21 Wakaba <wakaba@suika.fam.cx>
538
539 * RDFXML.pm: Language accessor implemented.
540 Local (null-namespace) attribute support.
541
542 2008-03-21 Wakaba <wakaba@suika.fam.cx>
543
544 * RDFXML.pm: Factored out ID checking code.
545
546 2008-03-21 Wakaba <wakaba@suika.fam.cx>
547
548 * RDFXML.pm: TODO items noted. Validation of ID
549 and URI attributes is implemented. Warn if unknown
550 value is used in rdf:parseType="" attribute.
551
552 * URIChecker.pm (check_rdf_uri_reference): New function.
553
554 2008-03-21 Wakaba <wakaba@suika.fam.cx>
555
556 * RDFXML.pm: bnodeid implemented. Relative references
557 are now resolved.
558
559 2008-03-21 Wakaba <wakaba@suika.fam.cx>
560
561 * ContentChecker.pm: RDF reification implemented.
562
563 * RDFXML.pm: undef vs false bug fixed.
564 Reification implemented.
565
566 2008-03-21 Wakaba <wakaba@suika.fam.cx>
567
568 * RDFXML.pm: s/id/ID/ for attribute name.
569 The |node| arguments are added for |ontriple| calls.
570 Too many "attribute not allowed" errors were raised.
571
572 * ContentChecker.pm: Initial experimental support for rdf:RDF
573 element.
574
575 2008-03-21 Wakaba <wakaba@suika.fam.cx>
576
577 * RDFXML.pm: New module.
578
579 2008-03-20 Wakaba <wakaba@suika.fam.cx>
580
581 * HTML.pm.src (set_inner_html): Line/column number
582 code was old one yet.
583
584 2008-03-20 Wakaba <wakaba@suika.fam.cx>
585
586 * HTML.pm.src: Better line/column reporting for "duplicate attribute"
587 errors. Line/column markings for DOCTYPE, comment, and
588 character tokens are reintroduced; otherwise,
589 error location for "not HTML5" error and errors
590 for implied elements are not attached.
591
592 2008-03-20 Wakaba <wakaba@suika.fam.cx>
593
594 * HTML.pm.src: Set line/column numbers to attributes.
595
596 * NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added.
597 (value): Setter implemented.
598
599 * mkhtmlparser.pl: Set line/column numbers to Attr nodes.
600
601 2008-03-20 Wakaba <wakaba@suika.fam.cx>
602
603 * HTML.pm.src: Unused line/column markings are removed.
604
605 2008-03-20 Wakaba <wakaba@suika.fam.cx>
606
607 * HTML.pm.src (_get_next_token): Remove |first_start_tag|
608 flag, which is no longer used.
609
610 2008-03-17 Wakaba <wakaba@suika.fam.cx>
611
612 * HTML.pm.src: Set line/column information to element nodes.
613
614 * mkhtmlparser.pl (!!!create-element, !!!insert-element,
615 and !!!insert-element-t): Set line/column information to
616 element nodes.
617
618 2008-03-17 Wakaba <wakaba@suika.fam.cx>
619
620 * HTML.pm.src (_get_next_token): The first "<" character
621 in "<?", "<>", or "</>" should be the error point.
622
623 2008-03-16 Wakaba <wakaba@suika.fam.cx>
624
625 * HTML.pm.src: Some more fixes on error position reporting.
626
627 2008-03-16 Wakaba <wakaba@suika.fam.cx>
628
629 * HTML.pm.src: Token-level precious error reporting.
630
631 2008-03-16 Wakaba <wakaba@suika.fam.cx>
632
633 * HTML.pm.src: Preparation for more precious error point
634 reporting.
635
636 2008-03-11 Wakaba <wakaba@suika.fam.cx>
637
638 * HTML.pm.src: Error type revised.
639
640 2008-03-11 Wakaba <wakaba@suika.fam.cx>
641
642 * HTML.pm.src: Similar codes are merged together, again.
643
644 2008-03-11 Wakaba <wakaba@suika.fam.cx>
645
646 * HTML.pm.src: Similar codes are merged together.
647
648 2008-03-10 Wakaba <wakaba@suika.fam.cx>
649
650 * mkhtmlparser.pl: Set "level" parameter to parse errors.
651
652 * HTML.pm.src: Code refined.
653
654 2008-03-09 Wakaba <wakaba@suika.fam.cx>
655
656 * HTML.pm.src: |</body>| treatement has been changed (HTML5
657 revision 1348). Note that I really don't know this makes
658 any difference in the black-box behavior of the parser.
659
660 2008-03-09 Wakaba <wakaba@suika.fam.cx>
661
662 * HTML.pm.src: New end-of-file token implementation (HTML5
663 revision 1348).
664
665 2008-03-09 Wakaba <wakaba@suika.fam.cx>
666
667 * HTML.pm.src: |applet| support (HTML5 revision 1347).
668
669 2008-03-09 Wakaba <wakaba@suika.fam.cx>
670
671 * HTML.pm.src: Foster parenting in AAA (HTML5 revision 1343).
672
673 2008-03-09 Wakaba <wakaba@suika.fam.cx>
674
675 * HTML.pm.src: Support for |<input>| in the "in select" insertion
676 mode and support for the "in select in table" insertion mode (HTML5
677 revision 1342).
678
679 2008-03-09 Wakaba <wakaba@suika.fam.cx>
680
681 * HTML.pm.src: No foster parenting for <script> and <script>
682 in non-tainted <table>s (HTML5 revision 1336).
683
684 2008-03-09 Wakaba <wakaba@suika.fam.cx>
685
686 * HTML.pm.src: Ignore white space characters between <html>
687 and <head> (HTML5 revision 1332).
688
689 2008-03-09 Wakaba <wakaba@suika.fam.cx>
690
691 * HTML.pm.src: Treat <input type=hidden> as if it were a
692 white space (HTML5 revision 1331).
693
694 2008-03-08 Wakaba <wakaba@suika.fam.cx>
695
696 * HTML.pm.src: Ignore U+000A at the beginning of a |listing|
697 element (HTML5 revision 1330).
698
699 2008-03-08 Wakaba <wakaba@suika.fam.cx>
700
701 * HTML.pm.src: <title> is always appended to the current
702 element (HTML5 revision 1328).
703
704 2008-03-08 Wakaba <wakaba@suika.fam.cx>
705
706 * HTML.pm.src: White space in tainted tables are moved
707 into foster parents (HTML5 revision 1326).
708
709 2008-03-08 Wakaba <wakaba@suika.fam.cx>
710
711 * HTML.pm.src: Reduce errors from foster parenting cases (HTML5
712 revision 1321).
713
714 2008-03-08 Wakaba <wakaba@suika.fam.cx>
715
716 * HTML.pm.src: |</h/n/>| case code rearranged to align with
717 the spec (HTML5 revision 1320). Note that we finally complete
718 all of HTML5 revision 1320 changes.
719
720 2008-03-08 Wakaba <wakaba@suika.fam.cx>
721
722 * HTML.pm.src: |</form>| now works similar to |</div>| for unclosed
723 tags (HTML5 revision 1320).
724
725 2008-03-08 Wakaba <wakaba@suika.fam.cx>
726
727 * HTML.pm.src: |</p>| case rearranged with no actual change in fact.
728
729 2008-03-08 Wakaba <wakaba@suika.fam.cx>
730
731 * HTML.pm.src: A "generate implied end tags" code (t409.1)
732 could not be reached so that it is now removed (HTML5 revision
733 1320).
734
735 2008-03-08 Wakaba <wakaba@suika.fam.cx>
736
737 * HTML.pm.src: Code for the case of |</div>| and so on are revised
738 to align with new spec text (HTML5 revision 1320).
739
740 2008-03-08 Wakaba <wakaba@suika.fam.cx>
741
742 * HTML.pm.src: Remove strange |if| condition; however, it should
743 have had no harm in theory.
744
745 2008-03-08 Wakaba <wakaba@suika.fam.cx>
746
747 * HTML.pm.src (_tree_construction_main): '</p>' in body
748 case is split from other end tags for the preparation
749 of implementing HTML revision 1320.
750
751 2008-03-07 Wakaba <wakaba@suika.fam.cx>
752
753 * HTML.pm.src: Simplified "generate implied end tag" (HTML5
754 revision 1320).
755
756 2008-03-07 Wakaba <wakaba@suika.fam.cx>
757
758 * HTML.pm.src (_tree_construction_main): Merge rules for "h1"
759 and "div" (HTML5 revision 1318). Add comments to where
760 |form| pointer association codes should be inserted (HTML5 revision
761 1319).
762
763 2008-03-06 Wakaba <wakaba@suika.fam.cx>
764
765 * HTML.pm.src: <html> treatement refined (HTML5 revision 1314).
766
767 2008-03-05 Wakaba <wakaba@suika.fam.cx>
768
769 * HTML.pm.src: Since the case t268 should never be reached (no
770 other token type, there are), it is replaced by a |die| statement.
771
772 2008-03-05 Wakaba <wakaba@suika.fam.cx>
773
774 * HTML.pm.src: Typo fixed.
775
776 2008-03-04 Wakaba <wakaba@suika.fam.cx>
777
778 * HTML.pm.src (_tree_construction_initial): Some limited quirks
779 doctypes were not uppercased for comparison.
780
781 2008-03-03 Wakaba <wakaba@suika.fam.cx>
782
783 * HTML.pm.src (tree construction and set_inner_html): Checkpoints
784 are added.
785
786 2008-03-03 Wakaba <wakaba@suika.fam.cx>
787
788 * HTML.pm.src (_tokenize_attempt_to_consume_an_entity): Checkpoints
789 are set. Cases that are unlikely reached are noted as so.
790
791 2008-03-03 Wakaba <wakaba@suika.fam.cx>
792
793 * HTML.pm.src: Checkpoints for debugging are added.
794
795 * mkhtmlparser.pl: Support for |!!!cp| syntax.
796
797 2008-03-03 Wakaba <wakaba@suika.fam.cx>
798
799 * HTML.pm.src, mkhtmlparser.pl: s/_input_character/_char/g
800 for simplicity.
801
802 2008-03-03 Wakaba <wakaba@suika.fam.cx>
803
804 * HTML.pm.src: Flag name changed: s/correct/force-quirks/g (HTML5
805 revision 1307).
806
807 2008-03-03 Wakaba <wakaba@suika.fam.cx>
808
809 * HTML.pm.src (_get_next_token): Where the /incorrect/ flag
810 is set are changed (HTML5 revision 1305).
811
812 2008-03-02 Wakaba <wakaba@suika.fam.cx>
813
814 * HTML.pm.src: Raise a parse error for |<span ===>| (HTML5 revision
815 1292). Entities are not parsed in comment-like part in RCDATA
816 elements (HTML5 revision 1294). Allow bare & at the end
817 of attribute value literals (HTML5 revision 1296). More
818 quirks mode doctypes (HTML5 revision 1302). Requires spaces
819 between attributes and ban attribute names or unquoted
820 attribute values containing single or double quotes (HTML5
821 revision 1303).
822
823 2008-03-02 Wakaba <wakaba@suika.fam.cx>
824
825 * ContentChecker.pm: Typo fixed. Don't raise "character encoding"
826 and related errors unless it is an HTML document (though the spec
827 is unclear on whether it is applied to XHTML document).
828
829 * HTML.pm (%HTMLAttrStatus): WF2 repetition model attributes
830 are added.
831
832 2008-03-02 Wakaba <wakaba@suika.fam.cx>
833
834 * HTML.pm.src: s/local_name/manakai_local_name/g.
835
836 2008-03-01 Wakaba <wakaba@suika.fam.cx>
837
838 * _NamedEntityList.pm: Updated (HTML5 revision 1286).
839
840 * HTML.pm.src: |charset| in |content| attribute is
841 case-insensitive (HTML5 revision 1270).
842
843 2008-02-26 Wakaba <wakaba@suika.fam.cx>
844
845 * ContentChecker.pm: New status constants are added.
846 ($ElementDefault): |status| added.
847 (check_element): Err for non-standard or deprecated elements.
848 (_attr_status_info): For non-standard or deprecated attributes.
849
850 2008-02-24 Wakaba <wakaba@suika.fam.cx>
851
852 * ContentChecker.pm (_attr_status_info): New internal method.
853
854 2008-02-24 Wakaba <wakaba@suika.fam.cx>
855
856 * ContentChecker.pm (check_element): Element standardized
857 status information is now dispatched.
858
859 2008-02-24 Wakaba <wakaba@suika.fam.cx>
860
861 * ContentChecker.pm (check_element): Fix |del|-and-significant
862 problem by adding some more arguments.
863
864 2008-02-24 Wakaba <wakaba@suika.fam.cx>
865
866 * ContentChecker.pm (check_element): Use context of
867 container-for-the-purpose-of-content-model element (not transparent
868 element) for |check_child_element| calling and significant
869 text flag marking. This reintroduces |<del>|-and-significant
870 problem again.
871
872 2008-02-24 Wakaba <wakaba@suika.fam.cx>
873
874 * ContentChecker.pm (check_element): Make semi-transparent
875 elements ignored for the purpose of phase changes in
876 content model checking.
877
878 2008-02-23 Wakaba <wakaba@suika.fam.cx>
879
880 * ContentChecker.pm (check_element): In-element state
881 was not properly managed for transparent cases.
882
883 2008-02-23 Wakaba <wakaba@suika.fam.cx>
884
885 * ContentChecker.pm (check_element): Support for |video|
886 and |audio| as semi-transparent elements.
887
888 2008-02-23 Wakaba <wakaba@suika.fam.cx>
889
890 * ContentChecker.pm ($HTMLSemiTransparentElements): New.
891 (check_element): s/minuses/minus_elements/, s/pluses/plus_elements/.
892 Support for |html:object| as a semi-transparent element.
893
894 2008-02-23 Wakaba <wakaba@suika.fam.cx>
895
896 * ContentChecker.pm (check_element): The way to traverse
897 the tree is entirely revised to make it easier to track
898 the state of ancestors/descendants. As a result of this
899 revision (which rewrites almost all of Whatpm::ContentChecker::HTML),
900 support for content model checking for HTML elements |figure|,
901 |object|, |video|, and |audio| and checking for XML elements (and
902 some XMLNS checkings) are dropped for now. They will be
903 reimplemented in due cource.
904
905 2008-02-17 Wakaba <wakaba@suika.fam.cx>
906
907 * HTML.pm.src: |>| in public or system literal closes the DOCTYPE
908 token (HTML5 revision 1225).
909
910 2008-02-17 Wakaba <wakaba@suika.fam.cx>
911
912 * ContentChecker.pm ({unsupported_level}): New value.
913
914 * HTML.pm.src: Save whether |meta| |content| attribute
915 contains character references or not.
916
917 2008-02-17 Wakaba <wakaba@suika.fam.cx>
918
919 * ContentChecker.pm (_get_children): (Incompleted) attempt to
920 imlement significant content checking for contents
921 with |del| elements.
922
923 2008-02-17 Wakaba <wakaba@suika.fam.cx>
924
925 * ContenteChecker.pm ($HTMLTransparentElements): More
926 elements are added.
927 (_get_children): HTML |object| elements are now semi-transparent.
928
929 * NanoDOM.pm (manakai_html, manakai_head): New methods.
930
931 2008-02-16 Wakaba <wakaba@suika.fam.cx>
932
933 * CacheManifest.pm: HTML5 revision 1211 implemented.
934
935 * CacheManifest.pod: Updated.
936
937 2008-02-10 Wakaba <wakaba@suika.fam.cx>
938
939 * ContentChecker.pm (check_document, check_element): Support
940 for second argument ($onsubdoc).
941 (_get_css_parser): Removed (now it is part of WDCC).
942
943 2008-02-09 Wakaba <wakaba@suika.fam.cx>
944
945 * ContentChecker.pm (_get_css_parser): New.
946
947 2007-11-25 Wakaba <wakaba@suika.fam.cx>
948
949 * ContentChecker.pm ($AnyChecker): Old way to add child elements
950 for checking had been used.
951
952 2007-11-25 Wakaba <wakaba@suika.fam.cx>
953
954 * ContentChecker.pm (check_element): New todo item type |descendant|.
955
956 2007-11-23 Wakaba <wakaba@suika.fam.cx>
957
958 * IMTChecker.pm: Revised to raise errors and warnings as (poorly)
959 specced in RFC 2046 and RFC 4288.
960 (application/atom+xml): Definition added.
961
962 2007-11-23 Wakaba <wakaba@suika.fam.cx>
963
964 * URIChecker.pm: Make RFC 3986 should-level errors
965 warnings (rather than SHOULD-level errors).
966
967 2007-11-23 Wakaba <wakaba@suika.fam.cx>
968
969 * NanoDOM.pm (get_user_data, set_user_data): New methods.
970
971 * HTML.pm.src: A flag for character references in attribute
972 values are added. Set |manakai_has_reference| user data
973 to |charset| attribute.
974
975 2007-11-23 Wakaba <wakaba@suika.fam.cx>
976
977 * NanoDOM.pm (input_encoding, manakai_charset, manakai_has_bom): New
978 attributes.
979
980 * ContentChecker.pm (check_document): Warn if charset requirements
981 cannot be tested.
982
983 2007-11-19 Wakaba <wakaba@suika.fam.cx>
984
985 * HTML.pm.src (parse_byte_string): Detect charset
986 by universalchardet if charset parameter is not specified.
987
988 * Makefile (Charset-all, Charset-clean): New rules.
989
990 2007-11-18 Wakaba <wakaba@suika.fam.cx>
991
992 * ContentChecker.pm (check_document): Check the existence
993 of character encoding declaration and selection of encoding
994 for HTML document.
995
996 2007-11-18 Wakaba <wakaba@suika.fam.cx>
997
998 * ContentType.pm (get_sniffed_type): Return also the official
999 type in list context.
1000
1001 2007-11-18 Wakaba <wakaba@suika.fam.cx>
1002
1003 * ContentType.pm: Sniffing with leading white space
1004 ignoring (HTML5 revisions 1013 and 1016).
1005
1006 2007-11-18 Wakaba <wakaba@suika.fam.cx>
1007
1008 * ContentType.pm: HTML5 revision 1013 changes, except for leading
1009 white spaces, are implemented.
1010
1011 2007-11-11 Wakaba <wakaba@suika.fam.cx>
1012
1013 * HTML.pm.src (parse_char_string): Set |inner_encoding|
1014 attribute if possible.
1015
1016 2007-11-11 Wakaba <wakaba@suika.fam.cx>
1017
1018 * HTML.pm.src (parse_byte_string): New method.
1019 (parse_char_string): New alias for |parse_string|.
1020 (main phase): Invoking "change the encoding" algorithm if desired.
1021
1022 * HTML.pod: Updated.
1023
1024 2007-11-11 Wakaba <wakaba@suika.fam.cx>
1025
1026 * HTML.pod (get_inner_html): Removed.
1027
1028 * Makefile (HTML-all, HTML-clean): New.
1029
1030 2007-11-11 Wakaba <wakaba@suika.fam.cx>
1031
1032 * HTML.pm.src (get_inner_html): Removed (moved to HTML/Serializer.pm).
1033
1034 2007-11-08 Wakaba <wakaba@suika.fam.cx>
1035
1036 * mklinktypelist.pl: s/noreferer/noreferrer/ (HTML5 revision 1132).
1037
1038 2007-11-04 Wakaba <wakaba@suika.fam.cx>
1039
1040 * Makefile: |CacheManifest.html| is added.
1041
1042 * CacheManifest.pod: New file.
1043
1044 2007-11-04 Wakaba <wakaba@suika.fam.cx>
1045
1046 * CacheManifest.pm: New module.
1047
1048 2007-11-04 Wakaba <wakaba@suika.fam.cx>
1049
1050 * HTML.pm.src: Support for application cache selection algorithm
1051 callback.
1052
1053 2007-11-04 Wakaba <wakaba@suika.fam.cx>
1054
1055 * mklinktypelist.pl: Support for rel=noreferer (HTML5 revision 1118).
1056
1057 2007-10-17 Wakaba <wakaba@suika.fam.cx>
1058
1059 * Makefile (clean): New rule.
1060
1061 * NanoDOM.pm (public_id, system_id): New attributes.
1062
1063 2007-10-17 Wakaba <wakaba@suika.fam.cx>
1064
1065 * Makefile (CSS-all, CSS-clean, clean): New rules.
1066
1067 2007-10-14 Wakaba <wakaba@suika.fam.cx>
1068
1069 * ContentChecker.pm (check_document): Support for
1070 new |is_xml_root| flag.
1071 (check_element): Support for new |pluses| state.
1072 (_add_pluses): New method.
1073 (_remove_minuses): Support for new |minus| item.
1074
1075 2007-09-24 Wakaba <wakaba@suika.fam.cx>
1076
1077 * ContentChecker.pm: Raise specific error for invalid
1078 root element.
1079
1080 2007-09-24 Wakaba <wakaba@suika.fam.cx>
1081
1082 * ContentChecker.pm: Set level values for later uses.
1083
1084 2007-09-09 Wakaba <wakaba@suika.fam.cx>
1085
1086 * ContentChecker.pm: Support for language tag validation.
1087
1088 2007-09-09 Wakaba <wakaba@suika.fam.cx>
1089
1090 * LangTag.pm (check_rfc3066_language_tag): New method.
1091
1092 2007-09-09 Wakaba <wakaba@suika.fam.cx>
1093
1094 * LangTag.pm: New module.
1095
1096 2007-09-04 Wakaba <wakaba@suika.fam.cx>
1097
1098 * HTML.pm.src: Some error types were wrong.
1099
1100 2007-08-17 Wakaba <wakaba@suika.fam.cx>
1101
1102 * CSS/: New directory.
1103
1104 2007-08-17 Wakaba <wakaba@suika.fam.cx>
1105
1106 * ContentChecker.pm (_check_get_children): Support
1107 for |noscript| in |head|.
1108
1109 2007-08-12 Wakaba <wakaba@suika.fam.cx>
1110
1111 * URI/: New directory.
1112
1113 2007-08-11 Wakaba <wakaba@suika.fam.cx>
1114
1115 * HTML.pm.src: Tokenizer's states are now represented in
1116 number.
1117
1118 2007-08-11 Wakaba <wakaba@suika.fam.cx>
1119
1120 * HTML.pm.src: |or|s for insertion modes are replaced
1121 by |&|s.
1122
1123 2007-08-11 Wakaba <wakaba@suika.fam.cx>
1124
1125 * HTML.pm.src: Token types are now represented in number.
1126
1127 2007-08-11 Wakaba <wakaba@suika.fam.cx>
1128
1129 * ContentType.pm (SEE ALSO): Updated.
1130
1131 * HTML.pm.src: Insertion modes are now represented in number.
1132
1133 2007-08-11 Wakaba <wakaba@suika.fam.cx>
1134
1135 * ContentType.pm: Sniffing for bitmap images (HTML5 revision
1136 999) is implemented.
1137
1138 2007-08-08 Wakaba <wakaba@suika.fam.cx>
1139
1140 * ContentType.pm: Sniffing for |<script| (HTML5 revision
1141 983) is implemented.
1142
1143 2007-08-06 Wakaba <wakaba@suika.fam.cx>
1144
1145 * ContentChecker.pod: New documentation.
1146
1147 * Makefile: A rule for |ContentChecker.html| is added.
1148
1149 * ContentChecker.pm: A pod "LICENSE" section is added.
1150
1151 * NanoDOM.pm ($VERSION): New variable.
1152
1153 2007-08-05 Wakaba <wakaba@suika.fam.cx>
1154
1155 * H2H.pm: |b|, |i|, and |sub| are added to the
1156 list of allowed HTML elements.
1157
1158 2007-08-05 Wakaba <wakaba@suika.fam.cx>
1159
1160 * H2H.pm: |samp| is added to the list of allowed
1161 HTML elements.
1162
1163 * URIChecker.pm (check_iri): New.
1164 (check_iri_reference): Error type for IRI reference
1165 syntax error is changed.
1166
1167 2007-08-04 Wakaba <wakaba@suika.fam.cx>
1168
1169 * ContentChecker.pm: Reference to the |Whatpm::ContentChecker::Atom|
1170 is added.
1171 (check_document): Load appropriate module before validation.
1172
1173 2007-08-04 Wakaba <wakaba@suika.fam.cx>
1174
1175 * ContentChecker/: New directory.
1176
1177 2007-08-04 Wakaba <wakaba@suika.fam.cx>
1178
1179 * ContentChecker.pm: HTML |time| element is implemented.
1180
1181 * HTMLTable.pm: Comments are updated as HTML5 is revised.
1182
1183 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1184
1185 * ContentChecker.pm (check_document): Return value
1186 even if no document element is found.
1187
1188 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1189
1190 * HTML.pm.src: |$in_body| is no longer a function.
1191
1192 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1193
1194 * HTML.pm.src: The |$in_body| code has been moved down.
1195
1196 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1197
1198 * HTML.pm.src: The "trailing end" insertion mode
1199 is split into "after html body" and "after html frameset"
1200 insertion modes. Their codes are merged with "after body"
1201 and "after frameset" codes. |$previous_insertion_mode|
1202 has been removed. "after frameset" code is
1203 merged with "in frameset" code.
1204
1205 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1206
1207 * HTML.pm.src: The "before head" insertion mode is
1208 merged with the "in head" insertion mode.
1209
1210 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1211
1212 * HTML.pm.src: Cases in "in head" insertion mode are
1213 reorganized.
1214
1215 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1216
1217 * HTML.pm.src: Some cases in "in table" insertion mode
1218 are merged.
1219
1220 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1221
1222 * HTML.pm.src: The "in row" insertion mode is merged
1223 with "in table" insertion mode.
1224
1225 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1226
1227 * HTML.pm.src: The "in table" and "in table body" insertion
1228 modes are merged.
1229
1230 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1231
1232 * HTML.pm.src: There is no "in table head" or "in table foot"
1233 insertion mode!
1234
1235 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1236
1237 * HTML.pm.src: |<noframes>| "in frameset" and "in noframes"
1238 now directly invoke the handler.
1239
1240 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1241
1242 * HTML.pm.src: Codes for "in cell" insertion mode
1243 is merged to the "in body" insertion mode code.
1244
1245 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1246
1247 * HTML.pm.src: Codes for "in body" and "in caption"
1248 insertion modes are merged.
1249
1250 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1251
1252 * HTML.pm.src: Two |!!!next-token|s were missing.
1253
1254 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1255
1256 * HTML.pm.src: Use numeric constant for |{content_mode}|
1257 instead of string constant for |{content_model_flag}|.
1258
1259 2007-07-21 Wakaba <wakaba@suika.fam.cx>
1260
1261 * HTML.pm.src: Add the name of the attribute
1262 to the "duplicate attribute" error.
1263
1264 2007-07-17 Wakaba <wakaba@suika.fam.cx>
1265
1266 * ContentChecker.pm: Return the |class| node list.
1267
1268 2007-07-17 Wakaba <wakaba@suika.fam.cx>
1269
1270 * ContentChecker.pm: Return the |id| node list.
1271
1272 * HTML.pm.src: A typo is fixed.
1273
1274 2007-07-16 Wakaba <wakaba@suika.fam.cx>
1275
1276 * ContentChecker.pm: Drop wrong |level => 'error'| specification
1277 from "in HTML:xml:lang" error. Character position
1278 is now the last part of the error type in the URI error
1279 description. Report "unsupported" status for language
1280 tags, media queries, script codes, and style sheets.
1281
1282 2007-07-16 Wakaba <wakaba@suika.fam.cx>
1283
1284 * ContentChecker.pm: Report error if |xml:lang|
1285 in HTML, |lang| in XML, |xmlns| in XML, and |meta| |charset|
1286 in XML.
1287
1288 * NanoDOM.pm (Attr.owner_document): New attribute.
1289
1290 2007-07-16 Wakaba <wakaba@suika.fam.cx>
1291
1292 * HTML.pm.src: The character immediately following
1293 a bare |hcro| was discarded. Fix handling of
1294 entity references in attribute values.
1295
1296 2007-07-16 Wakaba <wakaba@suika.fam.cx>
1297
1298 * HTML.pm.src (main and trailin end phases): Token
1299 types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are
1300 factored out. Error types |in html:#DOCTYPE|
1301 and |after html:#DOCTYPE| are merged
1302 into |DOCTYPE in the middle|. |</frameset>|
1303 in fragment parsing mode changed the
1304 insertion mode.
1305
1306 2007-07-16 Wakaba <wakaba@suika.fam.cx>
1307
1308 * HTML.pm.src: |$phase| has been removed; The |trailing end|
1309 phase is now an insertion mode. Treatments for white
1310 space character tokens were incorrect for some
1311 insertion modes. An old |meta| case was not removed.
1312
1313 2007-07-16 Wakaba <wakaba@suika.fam.cx>
1314
1315 * HTML.pm.src: |meta| charset declaration extraction
1316 implemented (but changing the encoding is not yet:-).
1317
1318 2007-07-15 Wakaba <wakaba@suika.fam.cx>
1319
1320 * Charset/: New directory.
1321
1322 2007-07-15 Wakaba <wakaba@suika.fam.cx>
1323
1324 * H2H.pm: New Perl module (created from
1325 manakai's H2H.dis).
1326
1327 2007-07-15 Wakaba <wakaba@suika.fam.cx>
1328
1329 * XMLSerializer.pm: New Perl module (created from
1330 manakai's SimpleLS.dis).
1331
1332 2007-07-07 Wakaba <wakaba@suika.fam.cx>
1333
1334 * HTML.pm.src: |<!---x-->| was not processed correctly.
1335
1336 2007-07-01 Wakaba <wakaba@suika.fam.cx>
1337
1338 * HTML.pm.src: Report correct error message
1339 for |<body></div></body>|.
1340
1341 2007-07-01 Wakaba <wakaba@suika.fam.cx>
1342
1343 * HTMLTable.pm: An error description was incorrect.
1344
1345 2007-06-30 Wakaba <wakaba@suika.fam.cx>
1346
1347 * ContentChecker.pm: Return |{term}| list.
1348
1349 2007-06-30 Wakaba <wakaba@suika.fam.cx>
1350
1351 * HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>,
1352 nested <nobr>, implied </tbody>, </tfoot>, and </thead>,
1353 and <title> outside of head).
1354
1355 2007-06-30 Wakaba <wakaba@suika.fam.cx>
1356
1357 * IMTChecker.pm: Report warning for unregistered
1358 and private types/subtypes.
1359
1360 * ContentChecker.pm, HTML.pm.src, IMTChecker.pm,
1361 URIChecker.pm, HTMLTable.pm: Error messages are now
1362 consistent; they are all listed in
1363 <http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>.
1364
1365 2007-06-25 Wakaba <wakaba@suika.fam.cx>
1366
1367 * ContentChecker.pm: |<img ismap>| not in |<a></a>|
1368 is now erred. |<datalist>| is implemented.
1369 Attribute checker for |<command>| and |<menu>| are
1370 added. Support for |contextmenu| global attribute
1371 is added.
1372
1373 2007-06-25 Wakaba <wakaba@suika.fam.cx>
1374
1375 * HTML.pm.src (_reset_insertion_mode): Interpretation
1376 of Step 3 has been changed.
1377
1378 2007-06-25 Wakaba <wakaba@suika.fam.cx>
1379
1380 * HTML.pm.src: Late |<html>| parse error is implemented.
1381
1382 2007-06-24 Wakaba <wakaba@suika.fam.cx>
1383
1384 * URIChecker.pm (check_iri_reference): A |decode| method name was
1385 incorrect.
1386
1387 * ContentChecker.pm: Support for the |footer| element.
1388 Check URI syntax for space-separated URI attributes.
1389 Support for the |tabindex| attribute. Support
1390 for |datetime| attribute.
1391
1392 2007-06-24 Wakaba <wakaba@suika.fam.cx>
1393
1394 * HTML.pm.src: HTML5 revision 1.144 (&#x0D;) and 1.145 (invalid
1395 character references). HTML5 revision 1.146 (white space
1396 characters before root start tag). HTML5 revision
1397 1.148 (named character references in attribute values).
1398 HTML5 revision 1.152 (<plaintext>.innerHTML get).
1399
1400 2007-06-24 Wakaba <wakaba@suika.fam.cx>
1401
1402 * HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript>
1403 in <head>).
1404
1405 2007-06-24 Wakaba <wakaba@suika.fam.cx>
1406
1407 * HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta>
1408 in body).
1409
1410 * ContentChecker.pm: HTML5 revision 938 (scoped="").
1411
1412 2007-06-24 Wakaba <wakaba@suika.fam.cx>
1413
1414 * HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA
1415 or RCDATA in fragment parsing mode). HTML5 revision
1416 924 (<!--> and <!--->). HTML5 revision 926 (hn in hn).
1417
1418 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1419
1420 * HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html
1421 for <pre> and <textarea>).
1422
1423 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1424
1425 * HTML.pm.src: HTML5 revision 920 (<isindex>).
1426
1427 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1428
1429 * HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>).
1430
1431 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1432
1433 * HTML.pm.src: HTML5 revision 916 (</body>).
1434 HTML5 revision 917 (conforming bare &).
1435
1436 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1437
1438 * NanoDOM.pm (manakai_is_html): Setting to false did not work.
1439
1440 * HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA).
1441 HTML5 revision 915 (<nobr>).
1442
1443 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1444
1445 * HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode).
1446
1447 * NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode):
1448 New attributes.
1449
1450 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1451
1452 * HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (<
1453 in tags).
1454
1455 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1456
1457 * .cvsignore: |Entities.html| is added.
1458
1459 * HTML.pm.src: |$entity_char| is removed and
1460 requires |Whatpm::_NamedEntityList| instead.
1461 HTML5 revision 898 (refc), except that lack of refc
1462 is parse error.
1463
1464 * mkentitylist.pl: New script.
1465
1466 * Makefile (all): |_NamedEntityList.pm| is added.
1467 (_NamedEntityList.pm, Entities.html): New rules.
1468
1469 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1470
1471 * HTML.pm.src: Parse errors immediately after U+000D
1472 were ignored and U+000D immediately following another
1473 U+000D was not converted to U+000A.
1474
1475 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1476
1477 * HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt
1478 nodes before appended). Parser was not ready for NULL
1479 parse error and escape flag.
1480
1481 * NanoDOM.pm (adopt_node): New.
1482
1483 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1484
1485 * HTML.pm.src: HTML5 revision 886 (insane comment in
1486 CDATA and RCDATA). Note that current implementation
1487 is simply repeating what the spec says and it is maybe not
1488 a best way to do it.
1489
1490 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1491
1492 * HTML.pm.src: HTML5 revision 884 (</form> don't close
1493 the form element if a descendant element without implied end tag has
1494 still been open).
1495
1496 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1497
1498 * ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with
1499 space characters non-conforming).
1500
1501 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1502
1503 * HTML.pm.src: An error message was incorrect.
1504 HTML5 revision 869 (C1 character references).
1505
1506 2007-06-23 Wakaba <wakaba@suika.fam.cx>
1507
1508 * HTML.pm.src: HTML5 revision 867 (a LF at the beginning of
1509 a |textarea| is removed).
1510
1511 2007-06-05 Wakaba <wakaba@suika.fam.cx>
1512
1513 * NanoDOM.pm (get_attribute_node_ns): New method.
1514
1515 * ContentChecker.pm: |script| |async| and |defer|
1516 no longer require |src|. |async| MUST NOT be
1517 specified if |defer|. (HTML5 revision 858).
1518
1519 2007-05-30 Wakaba <wakaba@suika.fam.cx>
1520
1521 * HTML.pm.src: |<form><form>| went to inifinite loop.
1522
1523 2007-05-27 Wakaba <wakaba@suika.fam.cx>
1524
1525 * ContentChecker.pm (html): Set |is_root| (allowed
1526 as a document element) flag on.
1527 (new): Removed.
1528 (check_document): New method.
1529
1530 2007-05-27 Wakaba <wakaba@suika.fam.cx>
1531
1532 * ContentChecker.pm (thead, tfoot): Checker specifications
1533 were incorrect.
1534
1535 2007-05-27 Wakaba <wakaba@suika.fam.cx>
1536
1537 * ContentChecker.pm ($HTMLURIAttrChecker): Include
1538 error position in the |type| option of the error.
1539
1540 * HTMLTable.pm (form_table): The |$onerror| parameter
1541 is now optional. Some bugs are fixed.
1542
1543 2007-05-27 Wakaba <wakaba@suika.fam.cx>
1544
1545 * HTMLTable.pm: New module.
1546
1547 * ContentChecker.pm (table): Invoke table model error checker.
1548
1549 * NanoDOM.pm (first_child, get_attribute_ns): New.
1550
1551 2007-05-26 Wakaba <wakaba@suika.fam.cx>
1552
1553 * ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker.
1554 (link/@rel, a/@rel, area/@rel): Use new checker.
1555
1556 * Makefile (_LinkTypeList.pm, RelExtensions.html): New rules.
1557
1558 * _LinkTypeList.pm: New file.
1559
1560 * mklinktypelist.pl: New file.
1561
1562 * .cvsignore: |RelExtensions.html| added.
1563
1564 * NanoDOM.pm (child_nodes): Returns an empty array
1565 for non-child-containing node types.
1566 (text_content): New attribute.
1567
1568 2007-05-26 Wakaba <wakaba@suika.fam.cx>
1569
1570 * IMTChecker.pm: New module.
1571
1572 * ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker
1573 to test parameter value validity.
1574
1575 * HTML.pm.src ($style_start_tag): Attributes were
1576 discarded.
1577
1578 2007-05-25 Wakaba <wakaba@suika.fam.cx>
1579
1580 * ContentChecker.pm ($HTMLURIAttrChecker): Implemented.
1581
1582 2007-05-25 Wakaba <wakaba@suika.fam.cx>
1583
1584 * URIChecker.pm: All recommendations from RFC 3986
1585 and RFC 3987 are listed (not all testable items are checked yet).
1586
1587 2007-05-25 Wakaba <wakaba@suika.fam.cx>
1588
1589 * URIChecker.pm: New module.
1590
1591 2007-05-20 Wakaba <wakaba@suika.fam.cx>
1592
1593 * ContentChecker.pm: Now most attributes are implemented
1594 or associated to some placeholder.
1595 ($ElementDefault): Warn unknown attributes
1596 for unknown elements as "attribute not supported".
1597 ($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders.
1598 ($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers.
1599 (|a| attribute checker): Reimplemented.
1600
1601 2007-05-20 Wakaba <wakaba@suika.fam.cx>
1602
1603 * ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder.
1604 ($HTMLAttrChecker): Event handler content attributes
1605 are added.
1606 (link, embed): Required attribute is now checked.
1607 (embed): Unknown local attributes are no longer warned.
1608
1609 2007-05-20 Wakaba <wakaba@suika.fam.cx>
1610
1611 * ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder.
1612 ($HTMLIMTAttrChecker): New checker.
1613 (link@rel, link@href, link@type, style@type,
1614 a@href, a@ping, a@ping, a@type, embed@src, embed@type,
1615 object@data, object@type, source@src, source@type, area@alt,
1616 area@shape, area@coords, area@href,
1617 area@ping, area@rel, area@type, script@src,
1618 script@defer, script@async, script@type): Checkers added.
1619
1620 2007-05-20 Wakaba <wakaba@suika.fam.cx>
1621
1622 * ContentChecker.pm: Descendant checking was incorrect.
1623
1624 2007-05-19 Wakaba <wakaba@suika.fam.cx>
1625
1626 * ContentChecker.pm: Support |xml:*| and |xmlns:*|
1627 attributes. Report an error if |Element.prefix|
1628 is |xmlns|.
1629
1630 * NanoDOM.pm (prefix): New attribute.
1631
1632 2007-05-19 Wakaba <wakaba@suika.fam.cx>
1633
1634 * HTML.pm.src: In |main| phase, |in body| insertion
1635 mode, action for |<iframe>| was missing.
1636
1637 2007-05-19 Wakaba <wakaba@suika.fam.cx>
1638
1639 * ContentChecker.pm: Support for many of HTML5 elements.
1640 ($GetHTMLNonNegativeIntegerAttrChecker): New.
1641
1642 2007-05-19 Wakaba <wakaba@suika.fam.cx>
1643
1644 * ContentChecker.pm: Support for most elements up to |progress|.
1645 ($HTMLURIAttrChecker): Placeholder.
1646 ($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker):
1647 New.
1648
1649 2007-05-19 Wakaba <wakaba@suika.fam.cx>
1650
1651 * ContentChecker.pm: Attribute checkers
1652 for global attributes, |html|, |base|, |style|, and |meta|.
1653
1654 * NanoDOM.pm (insert_before): Weaken reference
1655 to the parent node.
1656 (Attr::new): Set |owner_element| attribute.
1657 (namespace_uri, manakai_local_name): New attribute implementations.
1658 (owner_element): New attribute.
1659
1660 2007-05-19 Wakaba <wakaba@suika.fam.cx>
1661
1662 * ContentChecker.pm ($AttrChecker, $HTMLAttrChecker,
1663 $AnyChecker->{attr_checker}, $HTMLAttrsChecker,
1664 $Element->{$HTML_NS}->{''}): New.
1665 (check_element): Invoke attrs_checker for each element.
1666
1667 2007-05-13 Wakaba <wakaba@suika.fam.cx>
1668
1669 * ContentChecker.pm: Don't use |manakai_element_type_match|.
1670
1671 2007-05-13 Wakaba <wakaba@suika.fam.cx>
1672
1673 * ContentChecker.pm: Use hashs rather than lists for
1674 element type testings.
1675
1676 2007-05-13 Wakaba <wakaba@suika.fam.cx>
1677
1678 * ContentChecker.pm: Don't generate duplicate
1679 error when an element type is put in the "minus" list
1680 and the element type is not allowed explicitly in the particular
1681 element content model.
1682 (html:a checker): New checker.
1683 (html:details, html:datagrid): New checkers.
1684 (html:legend): New checker.
1685
1686 2007-05-13 Wakaba <wakaba@suika.fam.cx>
1687
1688 * ContentChecker.pm (html:li checker): Implemented.
1689
1690 2007-05-13 Wakaba <wakaba@suika.fam.cx>
1691
1692 * ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New
1693 checker.
1694 (html:dd checker): New checker.
1695 (html:q, html:em, html:strong, html:small,
1696 html:m, html:dfn, html:code, html:samp, html:span): New checkers.
1697
1698 2007-05-13 Wakaba <wakaba@suika.fam.cx>
1699
1700 * ContentChecker.pm ($AnyChecker): Renamed
1701 from |$ElementDefault->{checker}|.
1702 ($ElementDefault->{checker}): Throw an error that
1703 the element type is not supported by the checker.
1704 ($HTMLMetadataElement): |html:base| was missing.
1705 ($HTMLEmptyChecker): Don't throw an error
1706 for inter-element whitespace nodes.
1707 (html:html checker): Errors were not
1708 thrown even if |html:head| and/or |html:body|
1709 children were missing.
1710 (html:head checker): An error was not
1711 thrown if <meta charset> appered after other
1712 elements.
1713
1714 2007-05-05 Wakaba <wakaba@suika.fam.cx>
1715
1716 * ContentChecker.pm: |footer|, |video|, |audio|, |script|,
1717 and |noscript| elements are implemented.
1718 (new): New method.
1719
1720 2007-05-04 Wakaba <wakaba@suika.fam.cx>
1721
1722 * ContentChecker.pm: New module.
1723
1724 2007-05-04 Wakaba <wakaba@suika.fam.cx>
1725
1726 * NanoDOM.pm (manakai_parent_element,
1727 document_element, manakai_local_name,
1728 manakai_element_type_match): New method.
1729
1730 2007-05-03 Wakaba <wakaba@suika.fam.cx>
1731
1732 * HTML.pm.src: Replace decimal and hexadecimal numeric
1733 entities in C1 range using Windows-1252 mapping. Bare LF
1734 did not count as new line for error reporting.
1735
1736 2007-05-02 Wakaba <wakaba@suika.fam.cx>
1737
1738 * NanoDOM.pm (DOMImplementation): New class.
1739 (append_child): Weaken the |parent_node| reference.
1740 (create_element_ns, Element new): Set the |owner_document|
1741 reference.
1742 (implementation): New attribute.
1743 (owner_document, local_name, namespace_uri): New attributes.
1744
1745 * HTML.pm.src (parse_string): Line and column numbers
1746 are now provided to error handler.
1747 (!!!parse-error): Short descriptions are added.
1748 (_construct_tree): Split into three methods; support
1749 for innerHTML mode.
1750 (set_inner_html): New method.
1751
1752 2007-05-01 Wakaba <wakaba@suika.fam.cx>
1753
1754 * NanoDOM.html: Documentation is added.
1755
1756 * HTML.pod, ContentType.html: Documentation is revised.
1757
1758 * .cvsignore: Pod2html temporary files are added.
1759
1760 * Makefile: Make |NanoDOM.html|.
1761
1762 2007-05-01 Wakaba <wakaba@suika.fam.cx>
1763
1764 * HTML.pm.src (parse_string): New method.
1765 (get_inner_html): Renamed from |inner_html|.
1766
1767 * Makefile: A rule for |HTML.html| is added.
1768
1769 * HTML.pod: New documentation.
1770
1771 2007-05-01 Wakaba <wakaba@suika.fam.cx>
1772
1773 * NanoDOM.pm (last_child, previous_sibling): New attributes.
1774 (clone_node): Attribute nodes were not completely copied.
1775
1776 * HTML.pm.src: Many bugs are fixed.
1777
1778 2007-04-30 Wakaba <wakaba@suika.fam.cx>
1779
1780 * HTML.pm.src: Some typos are fixed.
1781
1782 2007-04-30 Wakaba <wakaba@suika.fam.cx>
1783
1784 * mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src|
1785 are removed.
1786
1787 * HTML.pm.src: Tokenizer's handling on named entities are rewritten.
1788
1789 * HTML-consume-entity.src: Removed.
1790
1791 2007-04-30 Wakaba <wakaba@suika.fam.cx>
1792
1793 * HTML.pm.src: Tokenizer's handling on hexadecimal
1794 numeric entities are rewritten.
1795
1796 2007-04-30 Wakaba <wakaba@suika.fam.cx>
1797
1798 * HTML.pm.src: Some tokenizer bugs are fixed.
1799
1800 2007-04-30 Wakaba <wakaba@suika.fam.cx>
1801
1802 * HTML.pm.src: The tree construction stage is implemented.
1803
1804 * mkhtmlparser.pl: New macros are added.
1805
1806 2007-04-28 Wakaba <wakaba@suika.fam.cx>
1807
1808 * ContentType.pm: A note on bug in the specification
1809 is removed since it's been now fixed.
1810
1811 * .cvsignore: New file.
1812
1813 2007-04-28 Wakaba <wakaba@suika.fam.cx>
1814
1815 * HTML.pm.src, HTML-consume-entity.src: New files.
1816
1817 * Makefile (HTML.pm): New rule.
1818
1819 * mkhtmlparser.pl: New script.
1820
1821 2007-04-25 Wakaba <wakaba@suika.fam.cx>
1822
1823 * Makefile: New file.
1824
1825 2007-04-24 Wakaba <wakaba@suika.fam.cx>
1826
1827 * ContentType.pm: An error in pod is fixed.
1828
1829 2007-04-24 Wakaba <wakaba@suika.fam.cx>
1830
1831 * ContentType.pm: Documentation is added.
1832
1833 2007-04-24 Wakaba <wakaba@suika.fam.cx>
1834
1835 * ContentType.pm: New Perl module.
1836
1837 * ChangeLog: New file.
1838
1839

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24