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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24