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

Legend:
Removed from v.1.294  
changed lines
  Added in v.1.367

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24