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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.263 - (show annotations) (download)
Sat Jul 19 13:50:03 2008 UTC (16 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.262: +4 -0 lines
++ whatpm/Whatpm/ChangeLog	19 Jul 2008 13:49:53 -0000
	* WebIDL.pm (type_text): Better serializer.

2008-07-19  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ContentChecker/ChangeLog	19 Jul 2008 13:38:24 -0000
2008-07-19  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm: Support for class=idl WebIDL checking.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24