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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.229 - (show annotations) (download)
Tue May 6 08:59:09 2008 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.228: +10 -0 lines
++ whatpm/t/ChangeLog	6 May 2008 08:59:04 -0000
2008-05-06  Wakaba  <wakaba@suika.fam.cx>

	* content-model-2.dat: Test data for td/@headers are added.

++ whatpm/Whatpm/ChangeLog	6 May 2008 08:57:07 -0000
	* ContentChecker.pm: Noted that those returned in |table| are
	no longer table elements, but table objects returned
	by Whatpm::HTMLTable.

	* HTMLTable.pm (form_table): Return table element node
	as |$table->{element}|.
	(assign_header): Support for the |headers=""| attribute.

2008-05-06  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ContentChecker/ChangeLog	6 May 2008 08:58:42 -0000
2008-05-06  Wakaba  <wakaba@suika.fam.cx>

	* HTML.pm: Invoke |Whatpm::HTMLTable->assign_header| for each
	table object.  Return the table object, not table element.
	The |headers=""| checker for |td| elements are now noop.
	Set the status of |headers=""| attribute as HTML5's one.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24