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

Diff of /markup/html/whatpm/Whatpm/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.302 by wakaba, Sun Sep 14 03:59:08 2008 UTC revision 1.402 by wakaba, Sun Sep 6 13:02:20 2009 UTC
# Line 1  Line 1 
1    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
2    
3            * HTML.pm.src: Fixed typos on |frameset-ok| implementation.
4    
5    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
6    
7            * HTML.pm.src: The first cut to implement the |frameset-ok| flag
8            concept (HTML5 revision 2703).
9    
10    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
11    
12            * HTML.pm.src: |<hr/>| was incorrectly marked as an error.
13    
14    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
15    
16            * HTML.pm.src: Changed the handling of </html> end tag of "in
17            body" insertion mode according to the latest spec definition.
18    
19    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
20    
21            * HTML.pm.src: Rewrote end tag handling in |head| area (cf. HTML5
22            revision 2730, but it was entirely broken, maybe I missed some
23            spec changes before rev.2730).
24    
25    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
26    
27            * HTML.pm.src: Added the |hgroup| element (HTML5 revision 3039 and
28            HTML5 revision 3040).
29    
30    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
31    
32            * HTML.pm.src: Added |xmp| to the list of Special elements (HTML5
33            revision 3689).  It should make no difference since the |xmp|
34            element has the PCDATA content and cannot be the non-bottommost
35            element in the stack of open elements.
36    
37    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
38    
39            * HTML.pm.src: Set the |confidence| flag to |irrlevant| when the
40            fragment parsing algorithm is invoked (HTML5 revision 2699).
41    
42    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
43    
44            * HTML.pm.src: Simplified foster parenting (HTML5 revision 2732).
45    
46    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
47    
48            * HTML.pm.src: No longer does foster parenting |style|, |script|,
49            and |input type=hidden| elements (HTML5 revision 2988).
50    
51    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
52    
53            * HTML.pm.src: Dropped the |eventsource| element (HTML5 revision
54            2870).
55    
56    2009-09-06  Wakaba  <wakaba@suika.fam.cx>
57    
58            * HTML.pm.src (_tree_construction_main): Treate |keygen| as a void
59            element (HTML5 revision 2960).
60    
61    2009-09-05  Wakaba  <wakaba@suika.fam.cx>
62    
63            * HTML.pm.src: Moved the "in table text" insertion mode code up
64            such that it does also work as specced in HTML5 in the remaining
65            cases (HTML5 revision 3382).
66    
67    2009-09-05  Wakaba  <wakaba@suika.fam.cx>
68    
69            * HTML.pm.src: Implementing the "in table text" insertion mode,
70            first half (HTML5 revision 3382).
71    
72    2009-08-30  Wakaba  <wakaba@suika.fam.cx>
73    
74            * ContentChecker.pm: Allow |xml:lang| in HTML document if the
75            owner element is not an HTML element (HTML5 revision 3697).
76    
77    2009-08-23  Wakaba  <wakaba@suika.fam.cx>
78    
79            * ContentChecker.pm: Allow <input type=hidden> in context where
80            interactive content is disallowed (HTML5 revision 2392).
81    
82    2009-08-16  Wakaba  <wakaba@suika.fam.cx>
83    
84            * HTML.pm.src: Dropped support for "XSLT-compat" and added
85            "about:legacy-compat" (HTML5 revision 2725).
86    
87    2009-08-16  Wakaba  <wakaba@suika.fam.cx>
88    
89            * HTML.pm.src: "<!DOCTYPE>" is now explicitly supported in the
90            spec (HTML5 revision 2700).
91    
92    2009-08-16  Wakaba  <wakaba@suika.fam.cx>
93    
94            * HTML.pm.src: Added support for <script> element in the "in
95            select" and "in select in table" insertion modes (HTML5 revision
96            2500).
97    
98    2009-08-16  Wakaba  <wakaba@suika.fam.cx>
99    
100            * HTML.pm.src: An <hn> start tag in an <hn> element should close
101            the earlier element (HTML5 revision 2501).
102    
103    2009-08-16  Wakaba  <wakaba@suika.fam.cx>
104    
105            * HTML.pm.src: The </br> end tags before the <body> start tag
106            should equally survive as the first br element child of the body
107            element (HTML5 revision 2586).
108    
109    2009-08-16  Wakaba  <wakaba@suika.fam.cx>
110    
111            * HTML.pm.src: <font> in SVG land is handled as an SVG element as
112            long as it did not have HTML attributes (HTML5 revision 2590).
113    
114    2009-08-16  Wakaba  <wakaba@suika.fam.cx>
115    
116            * HTML.pm.src (_tree_construction_main): Improved error reporting
117            on "select" start tag in "in select" and "in select in table"
118            parsing modes (c.f. HTML5 revision 3604).
119    
120    2009-07-26  Wakaba  <wakaba@suika.fam.cx>
121    
122            * mkhtmlclass.pl: Made xmlns:xlink with wrong namespace URL
123            invalid (HTML5 revision 2701).
124    
125    2009-07-26  Wakaba  <wakaba@suika.fam.cx>
126    
127            * HTML.pm.src: </rt>, </rp>, </option>, </optgroup> become
128            optional before </body> (HTML5 revision 2806).
129    
130    2009-07-25  Wakaba  <wakaba@suika.fam.cx>
131    
132            * HTML.pm.src: Marked where SVG |script| execution should be
133            implemented (HTML5 revision 2904).
134    
135    2009-07-25  Wakaba  <wakaba@suika.fam.cx>
136    
137            * HTML.pm.src (set_inner_html): The fragment parsing algorithm
138            inherits the document quirksness flag of the main document (HTML5
139            revision 2935).
140    
141    2009-07-05  Wakaba  <wakaba@suika.fam.cx>
142    
143            * HTML.pm.src (_tree_construction_main): Put |table| in |p| in
144            quirks mode (The Hixie Quirk, HTML5 revision 3132).
145    
146    2009-07-03  Wakaba  <wakaba@suika.fam.cx>
147    
148            * HTML.pm.src: <kegten> breaks out of <select> (HTML5 revision
149            3163).
150    
151    2009-07-03  Wakaba  <wakaba@suika.fam.cx>
152    
153            * HTML.pm.src: Don't change encoding to UTF-8 if the input
154            encoding is UTF-16 (HTML5 revision 3204).
155    
156    2009-07-03  Wakaba  <wakaba@suika.fam.cx>
157    
158            * HTML.pm.src (parse_byte_stream): Don't change to another
159            encoding if the input is UTF-16 (HTML5 revision 3205).
160    
161    2009-06-28  Wakaba  <wakaba@suika.fam.cx>
162    
163            * HTML.pm.src: |isindex| should no longer generate |p| element
164            node (HTML5 revision 3236).
165    
166    2008-12-12  Wakaba  <wakaba@suika.fam.cx>
167    
168            * ContentChecker.pm: Introduced new flag |has_autofocus|.  Added
169            support for new |id_type| value of |any|, which means any kind of
170            element is allowed as a referenced element.
171    
172    2008-12-12  Wakaba  <wakaba@suika.fam.cx>
173    
174            * ContentChecker.pm: Introduced |check_attrs2| method for the ease
175            of defining codes for checking required attribute and as such.
176    
177    2008-12-12  Wakaba  <wakaba@suika.fam.cx>
178    
179            * IMTChecker.pm: Added more definitions for subtypes.
180    
181    2008-12-11  Wakaba  <wakaba@suika.fam.cx>
182    
183            * URIChecker.pm: Some of |pos_end| values were wrong.
184    
185    2008-12-06  Wakaba  <wakaba@suika.fam.cx>
186    
187            * ContentChecker.pm (check_element): Added support for "no
188            referenced datalist" error.
189    
190    2008-12-06  Wakaba  <wakaba@suika.fam.cx>
191    
192            * URIChecker.pm: Bug fix: It did not work unless
193            Message::DOM::DOMImplementation has been |require|d.
194    
195    2008-12-06  Wakaba  <wakaba@suika.fam.cx>
196    
197            * NanoDOM.pm (document_uri): New attribute.
198    
199            * ContentChecker.pm: Don't use methods not implemented by NanoDOM.
200    
201    2008-11-07  Wakaba  <wakaba@suika.fam.cx>
202    
203            * NanoDOM.pm (text_content): Don't create a Text node if the new
204            value is empty.
205    
206    2008-11-06  Wakaba  <wakaba@suika.fam.cx>
207    
208            * SWML/: New directory.
209    
210    2008-10-20  Wakaba  <wakaba@suika.fam.cx>
211    
212            * NanoDOM.pm (specified, all_declarations_processed,
213            manakai_attribute_type): New attributes.
214    
215    2008-10-19  Wakaba  <wakaba@suika.fam.cx>
216    
217            * NanoDOM.pm (Entity->new): Initialize ->child_nodes as an empty
218            array.
219    
220    2008-10-19  Wakaba  <wakaba@suika.fam.cx>
221    
222            * NanoDOM.pm (notation_name): New attribute.
223    
224    2008-10-18  Wakaba  <wakaba@suika.fam.cx>
225    
226            * NanoDOM.pm (public_id, system_id): New attributes.a
227    
228    2008-10-18  Wakaba  <wakaba@suika.fam.cx>
229    
230            * NanoDOM.pm (text_content): Moved to Node from Element.  Setter
231            implemented.
232            (allowed_tokens, default_type, declared_type): Implemented.
233    
234    2008-10-17  Wakaba  <wakaba@suika.fam.cx>
235    
236            * NanoDOM.pm (node_name): New attribute.
237            (ELEMENT_TYPE_DEFINITION_NODE, ATTRIBUTE_DEFINITION_NODE): New
238            constants.
239            (create_element_type_definition_node, create_attribute_definition,
240            create_notation, create_general_entity,
241            get_element_type_definition_node,
242            set_element_type_definition_node, get_general_entity_node,
243            set_general_entity_node, get_notation_node, set_notation_node,
244            get_attribute_definition_node, set_attribute_definition_node): New
245            methods.
246            (element_types, entities, notations, attribute_definitions): New
247            attributes.
248            (DocumentType): Support for child nodes, entities, notations, and
249            element types.
250            (Entity, Notation, ElementTypeDefinition, AttributeDefinition):
251            New classes.
252    
253            * Dumper.pm: Support for general entities, notations, element type
254            definitions, and attribute definitions.
255    
256    2008-10-15  Wakaba  <wakaba@suika.fam.cx>
257    
258            * NanoDOM.pm (create_processing_instruction): New method.
259            (xml_version, xml_encoding, xml_standalone): New attributes.
260            (ProcessingInstruction): New class.
261    
262    2008-10-14  Wakaba  <wakaba@suika.fam.cx>
263    
264            * HTML.pm.src: Handling of end tags in the foreign content
265            insertion mode was partially wrong, because of wrong bit
266            operations.
267    
268    2008-10-14  Wakaba  <wakaba@suika.fam.cx>
269    
270            * NanoDOM.pm (dom_config): New attribute (do nothing), for
271            Whatpm::XML::Parser support.
272    
273    2008-10-14  Wakaba  <wakaba@suika.fam.cx>
274    
275            * Makefile: New rule to make HTML/Tokenizer.pm is added.
276    
277            * HTML.pm.src: Tokenizer part moved to another file.
278    
279    2008-10-13  Wakaba  <wakaba@suika.fam.cx>
280    
281            * HTML.pm.src: Merge |DT_EL| and |DD_EL| as |DTDD_EL|.
282    
283    2008-10-13  Wakaba  <wakaba@suika.fam.cx>
284    
285            * HTML.pm.src: Element category constants redefined.
286            
287    2008-10-13  Wakaba  <wakaba@suika.fam.cx>
288    
289            * HTML.pm.src: Steps for CDATA/RCDATA elements in tree
290            construction stage synced with the spec (HTML5 revisions 2139 and
291            2302).
292    
293    2008-10-07  Wakaba  <wakaba@suika.fam.cx>
294    
295            * ContentChecker.pm: New error level "html5_fact" added, which
296            should be tentatively used until all of requirements are properly
297            specced as RFC 2119 "MUST" in HTML5.
298    
299    2008-10-05  Wakaba  <wakaba@suika.fam.cx>
300    
301            * ContentChecker.pod: Note on internal flags is added.
302    
303    2008-10-05  Wakaba  <wakaba@suika.fam.cx>
304    
305            * HTML.pm.src: An AAA bug fixed.
306    
307    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
308    
309            * HTML.pm.src: If another node is inserted by the parser, don't
310            reuse existing Text node to append a character (HTML5 revision
311            2124).
312    
313    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
314    
315            * HTML.pm.src: Support for <option> and <optgroup> in body (HTML5
316            revisions 1731 and 2128).
317    
318    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
319    
320            * HTML.pm.src: Make <foreignObject> scoping (HTML5 revision 1837).
321            Support for end tags of camelCase SVG elements were broken.  A
322            wrong error type text fixed.
323    
324    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
325    
326            * HTML.pm.src: Drop redundant code (HTML5 revision 1731).
327    
328    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
329    
330            * HTML.pm.src: Support for new definition of |param| and |source|
331            start tag parsing (HTML5 revision 1731).
332    
333    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
334    
335            * HTML.pm.src: <p> steps reimplemented (HTML5 revision 1731).
336    
337    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
338    
339            * HTML.pm.src: <li>, <dt>, and <dd> steps reimplemented (HTML5
340            revisions 1731 and 1831).
341    
342    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
343    
344            * HTML.pm.src: Support for new flow (but not phrasing) elements (HTML5
345            revisions 1731 and 1778).  Support for the </sarcasm> end tag (HTML5
346            revision 1731).
347    
348    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
349    
350            * HTML.pm.src: Support for |command| and |eventsource| elements (HTML5
351            revision 1731).  End tags of |option| and |optgroup| elements are
352            now optional (HTML5 revision 1731).
353    
354    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
355    
356            * HTML.pm.src: New "special" elements added to the list (HTML5
357            revision 1778).  "strile" -> "strike".
358    
359    2008-10-02  Wakaba  <wakaba@suika.fam.cx>
360    
361            * ContentType.pm (get_sniffed_type): Support for the "better"
362            content sniffing (HTML5 revision 1927).  In a case the official
363            type was not returned when the method is invoked in the list
364            context.
365    
366    2008-09-22  Wakaba  <wakaba@suika.fam.cx>
367    
368            * HTML.pm.src: Character references for non-space C0 characters,
369            including U+000B VT, DEL character, noncharacter code points, are
370            now converted to the U+FFFD character (cf. HTML5 revision 2138).
371    
372    2008-09-21  Wakaba  <wakaba@suika.fam.cx>
373    
374            * ContentChecker.pm: |form=""| check support added.
375    
376    2008-09-21  Wakaba  <wakaba@suika.fam.cx>
377    
378            * ContentChecker.pm: |contextmenu| validness is now checked using
379            |id| and |id_type| properties, and |menu| property is removed.
380    
381    2008-09-21  Wakaba  <wakaba@suika.fam.cx>
382    
383            * ContentChecker.pm: Prepare for |form| |name| attribute's
384            duplication checking.
385    
386    2008-09-21  Wakaba  <wakaba@suika.fam.cx>
387    
388            * HTML.pm.src (parse_byte_stream): Support (or non-support) for
389            unsupported charset="" parameter value (HTML5 revision 2131).
390    
391    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
392    
393            * HTML.pm.src: Reminding places where U+000B is allowed as a space
394            character is fixed (cf. HTML5 revision 1738).
395    
396            * ContentChecker.pm, HTMLTable.pm: U+000B is no longer part of
397            space characters (HTML5 revision 1738).
398    
399    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
400    
401            * HTML.pm.src: The "anything else" case for the "after after body"
402            insertion mode was not updated to swtich to the "in body"
403            insertion mode.  U+000B is no longer a space character for the
404            purpose of tree construction phase (HTML5 revision 1738).
405    
406    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
407    
408            * HTML.pm.src: U+000B is no longer a space character (HTML5
409            revision 1738).
410    
411    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
412    
413            * ContentType.pm: 0x0B is no longer a space character (HTML5
414            revision 1738).
415    
416            * HTML.pm.src: U+000B is no longer a space character for the
417            algorithm for extracting an encoding from a Content-Type (HTML5
418            revision 1738).
419    
420    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
421    
422            * ContentChecker.pm ($IsInHTMLInteractiveContent): New.
423    
424    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
425    
426            * LangTag.pm: Add checks for remaining requirements from RFC 4646.
427    
428            * mklangreg.pl: Sort 'Prefix' values by their length, to ease
429            matching.
430    
431    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
432    
433            * LangTag.pm: Warn for private use language subtags.  Error level
434            typos fixed.  Support for Suppress-Script field.
435    
436            * mklangreg.pl: Support for dumping of nested structure.
437    
438    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
439    
440            * LangTag.pm (check_rfc4646_langtag): Check if a tag is in the
441            recommended case as per RFC 4646.
442    
443    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
444    
445            * LangTag.pm (check_rfc4646_langtag): New method.
446    
447    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
448    
449            * mklangreg.pl: New script.
450    
451            * Makefile: Updated for creation of the module for language subtag
452            registry.
453            
454    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
455    
456            * Makefile: WebIDL.html added.
457    
458            * WebIDL.pod: New documentation.
459    
460    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
461    
462            * WebIDL.pm: Checker's error types are redefined.
463    
464    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
465    
466            * WebIDL.pm: Parser's error types are redefined.  Some forward
467            compatible parsing bugs are fixed.  Some unreachable codes are
468            commented out.
469    
470    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
471    
472            * WebIDL.pm: Support for the reminding extended attributes are
473            added.  It does not satisfy the definition that a forward
474            interface declaration has an extended attribute.  It seems that
475            unless explicitly allowed multiple extended attributes with the
476            same name is not allowed, though it is not explicitly mentioned in
477            the spec.
478    
479    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
480    
481            * WebIDL.pm: Unescapes extended attribute names and extended
482            attribute identifiers.  Preserve whether an extended attribute has
483            an argument list of not.  Support for extended attributes:
484            Constructor, ExceptionConsts, IndexGetter, IndexSetter,
485            NameGetter, NameSetter, and Null.
486            (has_argument_list): New attribute.
487            (idl_text): Stringifies argument lists, if any, even if it is
488            empty.
489    
490    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
491    
492            * HTML.pm.src: New state |PCDATA_STATE|.  Use an empty string for
493            |{s_kwd}| in DATA_STATE as default.
494    
495    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
496    
497            * HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}|
498            by |{s_kwd}| in DATA_STATE.
499    
500    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
501    
502            * HTML.pm.src: Shorten keys.
503    
504    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
505    
506            * HTML.pm.src: Remove checking for control character, surrogate
507            pair, or noncharacter code points and non-Unicode code
508            points (they should be handled by Whatpm::Charset::UnicodeChecker).
509            (parse_char_stream): Support for the |$get_wrapper| argument and
510            character stream error handlers.
511    
512    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
513    
514            * ContentChecker.pm: Don't call |loda_ns_module|
515            for null-namespace elements/attributes.
516    
517            * HTML.pm.src: Fact out $disallowed_control_chars
518            as a hash.
519    
520    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
521    
522            * HTML.pm.src: Regexp typo fixed.  |{prev_char}|
523            and |{next_char}| initializations are moved to initialization
524            method.  |{read_until}| now supports buffering.  Sync |set_inner_html|
525            with |parse_char_stream|.
526    
527    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
528    
529            * HTML.pm.src (parse_char_stream): Make |set_next_char|
530            invoke |manakai_read_until|, not only |read|, where
531            possible, to decrease the number of |read| method calls.
532    
533            * mkhtmlparser.pl: Related changes to the aforementioned
534            modification.
535    
536    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
537    
538            * HTML.pm.src: Use |read| instead of |getc|.  |set_inner_html|
539            would report character error from now.
540    
541    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
542    
543            * HTML.pm.src: White-space-leaded non-white-space character
544            tokens in "before head insertion mode" was not
545            correctly handled.
546            (set_inner_html): Reimplemented using CharString decodehandle
547            class.  Support for $get_wrapper argument.  Support
548            for |{read_until}| feature.
549    
550    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
551    
552            * HTML.pm.src: Make a "bare ero" error for unknown
553            entities point the "&" character.
554    
555    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
556    
557            * HTML.pm.src: It turns out that U+FFFD don't have to
558            be added to the list of excluded characters.
559    
560    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
561    
562            * HTML.pm.src ($char_onerror): Have character decoder's |line|
563            and |column| a higher priority than the one set by the
564            tokenizer's input handler.
565            ($self->{read_until}): Exclude U+FFFD (but this might
566            not be necessary, since now we do line/column fixup in
567            the character decode handle).
568    
569  2008-09-14  Wakaba  <wakaba@suika.fam.cx>  2008-09-14  Wakaba  <wakaba@suika.fam.cx>
570    
571          * HTML.pm.src: Use |{read_until}| where possible.          * HTML.pm.src: Use |{read_until}| where possible.

Legend:
Removed from v.1.302  
changed lines
  Added in v.1.402

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24