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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.284 - (show annotations) (download)
Sat Aug 30 14:37:46 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.283: +9 -0 lines
++ whatpm/t/ChangeLog	30 Aug 2008 14:25:03 -0000
	* content-model-4.dat: Some test data for <time> are added (c.f.
	HTML5 revision 2094).

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

	* ContentType.t: Support for image/svg+xml (HTML revision 2096).

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

++ whatpm/Whatpm/ChangeLog	30 Aug 2008 14:23:04 -0000
	* HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5
	revision 2094).

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

	* ContentType.pm: Support for image/svg+xml (HTML5 revision 2096).

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

++ whatpm/Whatpm/ContentChecker/ChangeLog	30 Aug 2008 14:35:43 -0000
	* HTML.pm: Use White_Space instead of Zs for date or time
	string in content (HTML5 revision 2094).  Make "YYYY-MM-DDHH:MM" (that
	misses a white space or "T" literal between day and hour)
	not raise two errors.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24