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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.278 - (show annotations) (download)
Sat Aug 30 04:31:57 2008 UTC (16 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.277: +5 -0 lines
++ whatpm/t/ChangeLog	30 Aug 2008 04:31:55 -0000
2008-08-30  Wakaba  <wakaba@suika.fam.cx>

	* URIChecker.t: Test results updated to new error type names.

++ whatpm/Whatpm/ChangeLog	30 Aug 2008 04:31:29 -0000
2008-08-30  Wakaba  <wakaba@suika.fam.cx>

	* URIChecker.pm (check_iri_reference): Requires
	|Message::DOM::DOMImplementation|.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24