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

Legend:
Removed from v.1.306  
changed lines
  Added in v.1.399

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24