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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.274 - (show annotations) (download)
Fri Aug 15 16:02:02 2008 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.273: +9 -0 lines
++ whatpm/Whatpm/ChangeLog	15 Aug 2008 16:01:09 -0000
2008-08-16  Wakaba  <wakaba@suika.fam.cx>

	* ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag
	and URL checkers.  Support for more error levels for bogus
	langauge tag and URL "standards".

	* LangTag.pm, URIChecker.pm: Support for new style error
	level reporting.

++ whatpm/Whatpm/ContentChecker/ChangeLog	15 Aug 2008 16:01:45 -0000
2008-08-16  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm, Atom.pm: Pass {level} object to language tag
	and URL checkers.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24