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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.268 - (show annotations) (download)
Sun Aug 3 05:43:11 2008 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.267: +10 -0 lines
++ whatpm/t/webidl/ChangeLog	3 Aug 2008 05:42:49 -0000
2008-08-03  Wakaba  <wakaba@suika.fam.cx>

	* webidl-defs.dat: Test result updated.

	* webidl-interface.dat: New test data for attributes
	and operations are added.

++ whatpm/Whatpm/ChangeLog	3 Aug 2008 05:42:21 -0000
2008-08-03  Wakaba  <wakaba@suika.fam.cx>

	* WebIDL.pm ($resolve): New code, based on resolve code
	for constant types in the |check| method.
	(check): Support for checking of attributes, operations, and
	arguments.
	(Attribute/Operation idl_text): Exception names in getraises,
	setraises, and raises clauses is serizlied by |$serialize_type|
	code.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24