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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.265 - (show annotations) (download)
Sat Aug 2 11:49:57 2008 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.264: +14 -0 lines
++ whatpm/t/webidl/ChangeLog	2 Aug 2008 11:49:09 -0000
	* webidl-defs.dat: More test data.

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

++ whatpm/Whatpm/ChangeLog	2 Aug 2008 11:48:45 -0000
	to generated nodes.  Unescape identifiers.  Extended attributes
	for Definition's were ignored.
	(append_child): Set |parent_node| attribute.
	(parent_node): New attribute.
	(check): Support interface/exception members.  Support
	extended attributes.  Support definition identifier uniqueness
	constraint.
	(qualified_name): New attribute.
	(Interface/Exception idl_text): Extended attributes were
	not prepended to the returned text.

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

	* WebIDL.pm (parse_char_string): Set line/column numbers

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24