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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.66 - (show annotations) (download)
Mon Jul 16 07:03:08 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.65: +6 -0 lines
++ whatpm/t/ChangeLog	16 Jul 2007 07:03:04 -0000
	* HTML-tokenizer.t: It now requires newer version
	of JSON.pm due to the broken handling for utf8 string
	of older version.  Test data files |test3.test|
	and |test4.test| are added.  Convert surrogate
	pair |\u| escapes in JSON file before it is input
	into JSON.pm parser since it does not decode
	them correctly.  U+000D convertion was incorrect.

	* HTML-tree.t: Support for new format for fragment
	parsing tests.

	* Makefile (tokenizer-files): New test
	data files |test3.test| and |test4.test| are added.

	* tokenizer-test-1.test: Test data for bare |hcro| and
	entity references in attribute values are added.

	* tokenizer-test-2.dat: Test data for U+000D are added.

2007-07-16  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	16 Jul 2007 06:56:42 -0000
	* HTML.pm.src: The character immediately following
	a bare |hcro| was discarded.  Fix handling of
	entity references in attribute values.

2007-07-16  Wakaba  <wakaba@suika.fam.cx>

1 2007-07-16 Wakaba <wakaba@suika.fam.cx>
2
3 * HTML.pm.src: The character immediately following
4 a bare |hcro| was discarded. Fix handling of
5 entity references in attribute values.
6
7 2007-07-16 Wakaba <wakaba@suika.fam.cx>
8
9 * HTML.pm.src (main and trailin end phases): Token
10 types |DOCTYPE|, |comment|, |end-of-file|, and |<html>| are
11 factored out. Error types |in html:#DOCTYPE|
12 and |after html:#DOCTYPE| are merged
13 into |DOCTYPE in the middle|. |</frameset>|
14 in fragment parsing mode changed the
15 insertion mode.
16
17 2007-07-16 Wakaba <wakaba@suika.fam.cx>
18
19 * HTML.pm.src: |$phase| has been removed; The |trailing end|
20 phase is now an insertion mode. Treatments for white
21 space character tokens were incorrect for some
22 insertion modes. An old |meta| case was not removed.
23
24 2007-07-16 Wakaba <wakaba@suika.fam.cx>
25
26 * HTML.pm.src: |meta| charset declaration extraction
27 implemented (but changing the encoding is not yet:-).
28
29 2007-07-15 Wakaba <wakaba@suika.fam.cx>
30
31 * Charset/: New directory.
32
33 2007-07-15 Wakaba <wakaba@suika.fam.cx>
34
35 * H2H.pm: New Perl module (created from
36 manakai's H2H.dis).
37
38 2007-07-15 Wakaba <wakaba@suika.fam.cx>
39
40 * XMLSerializer.pm: New Perl module (created from
41 manakai's SimpleLS.dis).
42
43 2007-07-07 Wakaba <wakaba@suika.fam.cx>
44
45 * HTML.pm.src: |<!---x-->| was not processed correctly.
46
47 2007-07-01 Wakaba <wakaba@suika.fam.cx>
48
49 * HTML.pm.src: Report correct error message
50 for |<body></div></body>|.
51
52 2007-07-01 Wakaba <wakaba@suika.fam.cx>
53
54 * HTMLTable.pm: An error description was incorrect.
55
56 2007-06-30 Wakaba <wakaba@suika.fam.cx>
57
58 * ContentChecker.pm: Return |{term}| list.
59
60 2007-06-30 Wakaba <wakaba@suika.fam.cx>
61
62 * HTML.pm.src: HTML5 revisions 961-966 (</p>, </br>,
63 nested <nobr>, implied </tbody>, </tfoot>, and </thead>,
64 and <title> outside of head).
65
66 2007-06-30 Wakaba <wakaba@suika.fam.cx>
67
68 * IMTChecker.pm: Report warning for unregistered
69 and private types/subtypes.
70
71 * ContentChecker.pm, HTML.pm.src, IMTChecker.pm,
72 URIChecker.pm, HTMLTable.pm: Error messages are now
73 consistent; they are all listed in
74 <http://suika.fam.cx/gate/2005/sw/Whatpm%20Error%20Types>.
75
76 2007-06-25 Wakaba <wakaba@suika.fam.cx>
77
78 * ContentChecker.pm: |<img ismap>| not in |<a></a>|
79 is now erred. |<datalist>| is implemented.
80 Attribute checker for |<command>| and |<menu>| are
81 added. Support for |contextmenu| global attribute
82 is added.
83
84 2007-06-25 Wakaba <wakaba@suika.fam.cx>
85
86 * HTML.pm.src (_reset_insertion_mode): Interpretation
87 of Step 3 has been changed.
88
89 2007-06-25 Wakaba <wakaba@suika.fam.cx>
90
91 * HTML.pm.src: Late |<html>| parse error is implemented.
92
93 2007-06-24 Wakaba <wakaba@suika.fam.cx>
94
95 * URIChecker.pm (check_iri_reference): A |decode| method name was
96 incorrect.
97
98 * ContentChecker.pm: Support for the |footer| element.
99 Check URI syntax for space-separated URI attributes.
100 Support for the |tabindex| attribute. Support
101 for |datetime| attribute.
102
103 2007-06-24 Wakaba <wakaba@suika.fam.cx>
104
105 * HTML.pm.src: HTML5 revision 1.144 (&#x0D;) and 1.145 (invalid
106 character references). HTML5 revision 1.146 (white space
107 characters before root start tag). HTML5 revision
108 1.148 (named character references in attribute values).
109 HTML5 revision 1.152 (<plaintext>.innerHTML get).
110
111 2007-06-24 Wakaba <wakaba@suika.fam.cx>
112
113 * HTML.pm.src: HTML5 revisions 1.142 and 1.143 (<noscript>
114 in <head>).
115
116 2007-06-24 Wakaba <wakaba@suika.fam.cx>
117
118 * HTML.pm.src: HTML5 revision 935 (<base>, <link>, <meta>
119 in body).
120
121 * ContentChecker.pm: HTML5 revision 938 (scoped="").
122
123 2007-06-24 Wakaba <wakaba@suika.fam.cx>
124
125 * HTML.pm.src: HTML5 revision 923 (matching end tag in CDATA
126 or RCDATA in fragment parsing mode). HTML5 revision
127 924 (<!--> and <!--->). HTML5 revision 926 (hn in hn).
128
129 2007-06-23 Wakaba <wakaba@suika.fam.cx>
130
131 * HTML.pm.src (get_inner_html): HTML5 revision 922 (inner_html
132 for <pre> and <textarea>).
133
134 2007-06-23 Wakaba <wakaba@suika.fam.cx>
135
136 * HTML.pm.src: HTML5 revision 920 (<isindex>).
137
138 2007-06-23 Wakaba <wakaba@suika.fam.cx>
139
140 * HTML.pm.src: HTML5 revision 918 (</head>, </body>, </html>).
141
142 2007-06-23 Wakaba <wakaba@suika.fam.cx>
143
144 * HTML.pm.src: HTML5 revision 916 (</body>).
145 HTML5 revision 917 (conforming bare &).
146
147 2007-06-23 Wakaba <wakaba@suika.fam.cx>
148
149 * NanoDOM.pm (manakai_is_html): Setting to false did not work.
150
151 * HTML.pm.src: HTML5 revision 914 (</ in CDATA, RCDATA).
152 HTML5 revision 915 (<nobr>).
153
154 2007-06-23 Wakaba <wakaba@suika.fam.cx>
155
156 * HTML.pm.src: HTML5 revisions 908, 909, 912, and 913 (quirks mode).
157
158 * NanoDOM.pm (manakai_is_html, manakai_compat_mode, compat_mode):
159 New attributes.
160
161 2007-06-23 Wakaba <wakaba@suika.fam.cx>
162
163 * HTML.pm.src: HTML5 revisions 900, 901, 902, and 911 (<
164 in tags).
165
166 2007-06-23 Wakaba <wakaba@suika.fam.cx>
167
168 * .cvsignore: |Entities.html| is added.
169
170 * HTML.pm.src: |$entity_char| is removed and
171 requires |Whatpm::_NamedEntityList| instead.
172 HTML5 revision 898 (refc), except that lack of refc
173 is parse error.
174
175 * mkentitylist.pl: New script.
176
177 * Makefile (all): |_NamedEntityList.pm| is added.
178 (_NamedEntityList.pm, Entities.html): New rules.
179
180 2007-06-23 Wakaba <wakaba@suika.fam.cx>
181
182 * HTML.pm.src: Parse errors immediately after U+000D
183 were ignored and U+000D immediately following another
184 U+000D was not converted to U+000A.
185
186 2007-06-23 Wakaba <wakaba@suika.fam.cx>
187
188 * HTML.pm.src (set_inner_html): HTML5 revision 892 (adopt
189 nodes before appended). Parser was not ready for NULL
190 parse error and escape flag.
191
192 * NanoDOM.pm (adopt_node): New.
193
194 2007-06-23 Wakaba <wakaba@suika.fam.cx>
195
196 * HTML.pm.src: HTML5 revision 886 (insane comment in
197 CDATA and RCDATA). Note that current implementation
198 is simply repeating what the spec says and it is maybe not
199 a best way to do it.
200
201 2007-06-23 Wakaba <wakaba@suika.fam.cx>
202
203 * HTML.pm.src: HTML5 revision 884 (</form> don't close
204 the form element if a descendant element without implied end tag has
205 still been open).
206
207 2007-06-23 Wakaba <wakaba@suika.fam.cx>
208
209 * ContentChecker.pm: HTML5 revision 881 (Make |id| attribute with
210 space characters non-conforming).
211
212 2007-06-23 Wakaba <wakaba@suika.fam.cx>
213
214 * HTML.pm.src: An error message was incorrect.
215 HTML5 revision 869 (C1 character references).
216
217 2007-06-23 Wakaba <wakaba@suika.fam.cx>
218
219 * HTML.pm.src: HTML5 revision 867 (a LF at the beginning of
220 a |textarea| is removed).
221
222 2007-06-05 Wakaba <wakaba@suika.fam.cx>
223
224 * NanoDOM.pm (get_attribute_node_ns): New method.
225
226 * ContentChecker.pm: |script| |async| and |defer|
227 no longer require |src|. |async| MUST NOT be
228 specified if |defer|. (HTML5 revision 858).
229
230 2007-05-30 Wakaba <wakaba@suika.fam.cx>
231
232 * HTML.pm.src: |<form><form>| went to inifinite loop.
233
234 2007-05-27 Wakaba <wakaba@suika.fam.cx>
235
236 * ContentChecker.pm (html): Set |is_root| (allowed
237 as a document element) flag on.
238 (new): Removed.
239 (check_document): New method.
240
241 2007-05-27 Wakaba <wakaba@suika.fam.cx>
242
243 * ContentChecker.pm (thead, tfoot): Checker specifications
244 were incorrect.
245
246 2007-05-27 Wakaba <wakaba@suika.fam.cx>
247
248 * ContentChecker.pm ($HTMLURIAttrChecker): Include
249 error position in the |type| option of the error.
250
251 * HTMLTable.pm (form_table): The |$onerror| parameter
252 is now optional. Some bugs are fixed.
253
254 2007-05-27 Wakaba <wakaba@suika.fam.cx>
255
256 * HTMLTable.pm: New module.
257
258 * ContentChecker.pm (table): Invoke table model error checker.
259
260 * NanoDOM.pm (first_child, get_attribute_ns): New.
261
262 2007-05-26 Wakaba <wakaba@suika.fam.cx>
263
264 * ContentChecker.pm ($HTMLLinkTypesAttrChecker): New checker.
265 (link/@rel, a/@rel, area/@rel): Use new checker.
266
267 * Makefile (_LinkTypeList.pm, RelExtensions.html): New rules.
268
269 * _LinkTypeList.pm: New file.
270
271 * mklinktypelist.pl: New file.
272
273 * .cvsignore: |RelExtensions.html| added.
274
275 * NanoDOM.pm (child_nodes): Returns an empty array
276 for non-child-containing node types.
277 (text_content): New attribute.
278
279 2007-05-26 Wakaba <wakaba@suika.fam.cx>
280
281 * IMTChecker.pm: New module.
282
283 * ContentChecker.pm ($HTMLIMTAttrChecker): Call IMTChecker
284 to test parameter value validity.
285
286 * HTML.pm.src ($style_start_tag): Attributes were
287 discarded.
288
289 2007-05-25 Wakaba <wakaba@suika.fam.cx>
290
291 * ContentChecker.pm ($HTMLURIAttrChecker): Implemented.
292
293 2007-05-25 Wakaba <wakaba@suika.fam.cx>
294
295 * URIChecker.pm: All recommendations from RFC 3986
296 and RFC 3987 are listed (not all testable items are checked yet).
297
298 2007-05-25 Wakaba <wakaba@suika.fam.cx>
299
300 * URIChecker.pm: New module.
301
302 2007-05-20 Wakaba <wakaba@suika.fam.cx>
303
304 * ContentChecker.pm: Now most attributes are implemented
305 or associated to some placeholder.
306 ($ElementDefault): Warn unknown attributes
307 for unknown elements as "attribute not supported".
308 ($HTMLLanguageTagAttrChecker, $HTMLMQAttrChecker): New placeholders.
309 ($HTMLUsemapAttrChecker, $HTMLTargetAttrChecker): New checkers.
310 (|a| attribute checker): Reimplemented.
311
312 2007-05-20 Wakaba <wakaba@suika.fam.cx>
313
314 * ContentChecker.pm ($HTMLEventHandlerAttrChecker): New placeholder.
315 ($HTMLAttrChecker): Event handler content attributes
316 are added.
317 (link, embed): Required attribute is now checked.
318 (embed): Unknown local attributes are no longer warned.
319
320 2007-05-20 Wakaba <wakaba@suika.fam.cx>
321
322 * ContentChecker.pm ($HTMLSpaceURIsAttrChecker): New placeholder.
323 ($HTMLIMTAttrChecker): New checker.
324 (link@rel, link@href, link@type, style@type,
325 a@href, a@ping, a@ping, a@type, embed@src, embed@type,
326 object@data, object@type, source@src, source@type, area@alt,
327 area@shape, area@coords, area@href,
328 area@ping, area@rel, area@type, script@src,
329 script@defer, script@async, script@type): Checkers added.
330
331 2007-05-20 Wakaba <wakaba@suika.fam.cx>
332
333 * ContentChecker.pm: Descendant checking was incorrect.
334
335 2007-05-19 Wakaba <wakaba@suika.fam.cx>
336
337 * ContentChecker.pm: Support |xml:*| and |xmlns:*|
338 attributes. Report an error if |Element.prefix|
339 is |xmlns|.
340
341 * NanoDOM.pm (prefix): New attribute.
342
343 2007-05-19 Wakaba <wakaba@suika.fam.cx>
344
345 * HTML.pm.src: In |main| phase, |in body| insertion
346 mode, action for |<iframe>| was missing.
347
348 2007-05-19 Wakaba <wakaba@suika.fam.cx>
349
350 * ContentChecker.pm: Support for many of HTML5 elements.
351 ($GetHTMLNonNegativeIntegerAttrChecker): New.
352
353 2007-05-19 Wakaba <wakaba@suika.fam.cx>
354
355 * ContentChecker.pm: Support for most elements up to |progress|.
356 ($HTMLURIAttrChecker): Placeholder.
357 ($HTMLIntegerAttrChecker, $GetHTMLFloatingPointNumberAttrChecker):
358 New.
359
360 2007-05-19 Wakaba <wakaba@suika.fam.cx>
361
362 * ContentChecker.pm: Attribute checkers
363 for global attributes, |html|, |base|, |style|, and |meta|.
364
365 * NanoDOM.pm (insert_before): Weaken reference
366 to the parent node.
367 (Attr::new): Set |owner_element| attribute.
368 (namespace_uri, manakai_local_name): New attribute implementations.
369 (owner_element): New attribute.
370
371 2007-05-19 Wakaba <wakaba@suika.fam.cx>
372
373 * ContentChecker.pm ($AttrChecker, $HTMLAttrChecker,
374 $AnyChecker->{attr_checker}, $HTMLAttrsChecker,
375 $Element->{$HTML_NS}->{''}): New.
376 (check_element): Invoke attrs_checker for each element.
377
378 2007-05-13 Wakaba <wakaba@suika.fam.cx>
379
380 * ContentChecker.pm: Don't use |manakai_element_type_match|.
381
382 2007-05-13 Wakaba <wakaba@suika.fam.cx>
383
384 * ContentChecker.pm: Use hashs rather than lists for
385 element type testings.
386
387 2007-05-13 Wakaba <wakaba@suika.fam.cx>
388
389 * ContentChecker.pm: Don't generate duplicate
390 error when an element type is put in the "minus" list
391 and the element type is not allowed explicitly in the particular
392 element content model.
393 (html:a checker): New checker.
394 (html:details, html:datagrid): New checkers.
395 (html:legend): New checker.
396
397 2007-05-13 Wakaba <wakaba@suika.fam.cx>
398
399 * ContentChecker.pm (html:li checker): Implemented.
400
401 2007-05-13 Wakaba <wakaba@suika.fam.cx>
402
403 * ContentChecker.pm ($HTMLInlineOrStriclyInlineChecker): New
404 checker.
405 (html:dd checker): New checker.
406 (html:q, html:em, html:strong, html:small,
407 html:m, html:dfn, html:code, html:samp, html:span): New checkers.
408
409 2007-05-13 Wakaba <wakaba@suika.fam.cx>
410
411 * ContentChecker.pm ($AnyChecker): Renamed
412 from |$ElementDefault->{checker}|.
413 ($ElementDefault->{checker}): Throw an error that
414 the element type is not supported by the checker.
415 ($HTMLMetadataElement): |html:base| was missing.
416 ($HTMLEmptyChecker): Don't throw an error
417 for inter-element whitespace nodes.
418 (html:html checker): Errors were not
419 thrown even if |html:head| and/or |html:body|
420 children were missing.
421 (html:head checker): An error was not
422 thrown if <meta charset> appered after other
423 elements.
424
425 2007-05-05 Wakaba <wakaba@suika.fam.cx>
426
427 * ContentChecker.pm: |footer|, |video|, |audio|, |script|,
428 and |noscript| elements are implemented.
429 (new): New method.
430
431 2007-05-04 Wakaba <wakaba@suika.fam.cx>
432
433 * ContentChecker.pm: New module.
434
435 2007-05-04 Wakaba <wakaba@suika.fam.cx>
436
437 * NanoDOM.pm (manakai_parent_element,
438 document_element, manakai_local_name,
439 manakai_element_type_match): New method.
440
441 2007-05-03 Wakaba <wakaba@suika.fam.cx>
442
443 * HTML.pm.src: Replace decimal and hexadecimal numeric
444 entities in C1 range using Windows-1252 mapping. Bare LF
445 did not count as new line for error reporting.
446
447 2007-05-02 Wakaba <wakaba@suika.fam.cx>
448
449 * NanoDOM.pm (DOMImplementation): New class.
450 (append_child): Weaken the |parent_node| reference.
451 (create_element_ns, Element new): Set the |owner_document|
452 reference.
453 (implementation): New attribute.
454 (owner_document, local_name, namespace_uri): New attributes.
455
456 * HTML.pm.src (parse_string): Line and column numbers
457 are now provided to error handler.
458 (!!!parse-error): Short descriptions are added.
459 (_construct_tree): Split into three methods; support
460 for innerHTML mode.
461 (set_inner_html): New method.
462
463 2007-05-01 Wakaba <wakaba@suika.fam.cx>
464
465 * NanoDOM.html: Documentation is added.
466
467 * HTML.pod, ContentType.html: Documentation is revised.
468
469 * .cvsignore: Pod2html temporary files are added.
470
471 * Makefile: Make |NanoDOM.html|.
472
473 2007-05-01 Wakaba <wakaba@suika.fam.cx>
474
475 * HTML.pm.src (parse_string): New method.
476 (get_inner_html): Renamed from |inner_html|.
477
478 * Makefile: A rule for |HTML.html| is added.
479
480 * HTML.pod: New documentation.
481
482 2007-05-01 Wakaba <wakaba@suika.fam.cx>
483
484 * NanoDOM.pm (last_child, previous_sibling): New attributes.
485 (clone_node): Attribute nodes were not completely copied.
486
487 * HTML.pm.src: Many bugs are fixed.
488
489 2007-04-30 Wakaba <wakaba@suika.fam.cx>
490
491 * HTML.pm.src: Some typos are fixed.
492
493 2007-04-30 Wakaba <wakaba@suika.fam.cx>
494
495 * mkhtmlparser.pl, Makefile: References to the |HTML-consume-entity.src|
496 are removed.
497
498 * HTML.pm.src: Tokenizer's handling on named entities are rewritten.
499
500 * HTML-consume-entity.src: Removed.
501
502 2007-04-30 Wakaba <wakaba@suika.fam.cx>
503
504 * HTML.pm.src: Tokenizer's handling on hexadecimal
505 numeric entities are rewritten.
506
507 2007-04-30 Wakaba <wakaba@suika.fam.cx>
508
509 * HTML.pm.src: Some tokenizer bugs are fixed.
510
511 2007-04-30 Wakaba <wakaba@suika.fam.cx>
512
513 * HTML.pm.src: The tree construction stage is implemented.
514
515 * mkhtmlparser.pl: New macros are added.
516
517 2007-04-28 Wakaba <wakaba@suika.fam.cx>
518
519 * ContentType.pm: A note on bug in the specification
520 is removed since it's been now fixed.
521
522 * .cvsignore: New file.
523
524 2007-04-28 Wakaba <wakaba@suika.fam.cx>
525
526 * HTML.pm.src, HTML-consume-entity.src: New files.
527
528 * Makefile (HTML.pm): New rule.
529
530 * mkhtmlparser.pl: New script.
531
532 2007-04-25 Wakaba <wakaba@suika.fam.cx>
533
534 * Makefile: New file.
535
536 2007-04-24 Wakaba <wakaba@suika.fam.cx>
537
538 * ContentType.pm: An error in pod is fixed.
539
540 2007-04-24 Wakaba <wakaba@suika.fam.cx>
541
542 * ContentType.pm: Documentation is added.
543
544 2007-04-24 Wakaba <wakaba@suika.fam.cx>
545
546 * ContentType.pm: New Perl module.
547
548 * ChangeLog: New file.
549
550

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24