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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.266 - (show annotations) (download)
Sat Aug 2 12:51:52 2008 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.265: +15 -0 lines
++ whatpm/t/ChangeLog	2 Aug 2008 12:51:15 -0000
	* WebIDL.t: Check whether |text| argument of the error
	is correct or not.

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

++ whatpm/t/webidl/ChangeLog	2 Aug 2008 12:51:46 -0000
	* webidl-interface.dat: More test data for interface inheritances
	and interface member identifier duplications.

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

++ whatpm/Whatpm/ChangeLog	2 Aug 2008 12:50:36 -0000
	* WebIDL.pm ($get_scoped_name): Now scoped names are stored
	in its stringified format ("scoped name" as defined in the
	spec).  Note that future version of this module should not use
	array references for type values and the |type_text| attribute
	should be made obsolete.
	(parse_char_string): Unescape attribute names.
	(check): Support for checking of whether inherited interfaces
	are actually defined or not.  Support for checking of whether
	interface member identifiers are duplicated or not.
	($serialize_type): Scoped names are returned as is.  A future
	version of this code should escape identifiers other than "DOMString",
	otherwise the idl_text would be non-conforming.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24