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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.269 - (show annotations) (download)
Sun Aug 3 07:13:59 2008 UTC (16 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.268: +18 -0 lines
++ whatpm/t/ChangeLog	3 Aug 2008 07:13:09 -0000
2008-08-03  Wakaba  <wakaba@suika.fam.cx>

	* WebIDL.t: Test data files for exceptions, typedefs,
	and valuetypes are added to the list.

++ whatpm/t/webidl/ChangeLog	3 Aug 2008 07:13:55 -0000
	* webidl-exception.dat, webidl-typedef.dat,
	webidl-valuetype.dat: New test data files.

	* webidl-defs.dat, webidl-interface.dat: Test result updated.

	* webidl-interface.dat: More test data added.

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

++ whatpm/Whatpm/ChangeLog	3 Aug 2008 07:12:35 -0000
	* WebIDL.pm ($get_scoped_name): Append "::::" if the last
	terminal of the ScopedName is "DOMString", such that whether
	the last part of the scoped name is "DOMString" or "_DOMString"
	later.  It is necessary to determine whether a |typedef|
	definition should be ignored or not.
	(parse_char_string): Unescape the identifier of
	exception members.
	($resolve): Return undef for builtin types and sequence<T>
	types (we might not have to do this, however...).
	(check): Support checking for Exceptions, Valuetypes,
	and Typedefs.
	($serialize_type): Support for "DOMString::::" syntax.
	(Typedef idl_text): Output Type as "DOMString" if it
	is really "DOMString" (i.e. its internal representation
	is "::DOMString::").

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24