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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.267 - (show annotations) (download)
Sat Aug 2 15:14:23 2008 UTC (17 years ago) by wakaba
Branch: MAIN
Changes since 1.266: +22 -0 lines
++ whatpm/t/ChangeLog	2 Aug 2008 15:13:47 -0000
	* WebIDL.t ($onerror): |value| argument value should be
	checked as well as other argument values.

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

++ whatpm/t/webidl/ChangeLog	2 Aug 2008 15:14:12 -0000
	* webidl-defs.dat: Test result updated.

	* webidl-interface.dat: New test data for constants are added.

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

++ whatpm/Whatpm/ChangeLog	2 Aug 2008 15:12:09 -0000
	* WebIDL.pm ($integer): Order of selections are changed to match
	hexadecimal numbers (the original pattern, taken from the spec,
	was not work for hexadecimal numbers, because the "0" prefix
	matches to the [0-7]* part (as an empty string) and therefore
	it does not match with remaining "x..." part of a "0x..." integer
	literal.
	($get_type): It now returns a string, not an array reference,
	for regular types and |sequence| types (i.e. it in any case
	returns a string).
	($get_next_token): The second item in the array that represents
	a integer or float token is now a Perl number value, not the
	original string representation of the number.
	(check): Support for const value consistency checking.
	No extended attribute is defined for constants.
	(Node subclasses): Use simple strings rather than array references
	for default data type values.
	($serialize_type): Type values are now simple strings.
	(value): If the new attribute value is a false value, then
	a FALSE value is set to the attribute.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24