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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.273 - (show annotations) (download)
Fri Aug 15 14:13:42 2008 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.272: +7 -0 lines
++ whatpm/Whatpm/ChangeLog	15 Aug 2008 14:12:36 -0000
	* ContentChecker.pm: Support for RDF/XML error levels.

	* HTMLTable.pm, RDFXML.pm: Support for new style of error level
	specifying.  Error types are revised.

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

++ whatpm/Whatpm/ContentChecker/ChangeLog	15 Aug 2008 14:13:40 -0000
	* HTML.pm: Mark HTML4's "fact"-level errors as such.  Typo fixed.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24