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

Legend:
Removed from v.1.295  
changed lines
  Added in v.1.385

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24