/[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.180 by wakaba, Sun Mar 9 07:57:25 2008 UTC revision 1.368 by wakaba, Fri Dec 12 05:05:20 2008 UTC
# Line 1  Line 1 
1    2008-12-12  Wakaba  <wakaba@suika.fam.cx>
2    
3            * IMTChecker.pm: Added more definitions for subtypes.
4    
5    2008-12-11  Wakaba  <wakaba@suika.fam.cx>
6    
7            * URIChecker.pm: Some of |pos_end| values were wrong.
8    
9    2008-12-06  Wakaba  <wakaba@suika.fam.cx>
10    
11            * ContentChecker.pm (check_element): Added support for "no
12            referenced datalist" error.
13    
14    2008-12-06  Wakaba  <wakaba@suika.fam.cx>
15    
16            * URIChecker.pm: Bug fix: It did not work unless
17            Message::DOM::DOMImplementation has been |require|d.
18    
19    2008-12-06  Wakaba  <wakaba@suika.fam.cx>
20    
21            * NanoDOM.pm (document_uri): New attribute.
22    
23            * ContentChecker.pm: Don't use methods not implemented by NanoDOM.
24    
25    2008-11-07  Wakaba  <wakaba@suika.fam.cx>
26    
27            * NanoDOM.pm (text_content): Don't create a Text node if the new
28            value is empty.
29    
30    2008-11-06  Wakaba  <wakaba@suika.fam.cx>
31    
32            * SWML/: New directory.
33    
34    2008-10-20  Wakaba  <wakaba@suika.fam.cx>
35    
36            * NanoDOM.pm (specified, all_declarations_processed,
37            manakai_attribute_type): New attributes.
38    
39    2008-10-19  Wakaba  <wakaba@suika.fam.cx>
40    
41            * NanoDOM.pm (Entity->new): Initialize ->child_nodes as an empty
42            array.
43    
44    2008-10-19  Wakaba  <wakaba@suika.fam.cx>
45    
46            * NanoDOM.pm (notation_name): New attribute.
47    
48    2008-10-18  Wakaba  <wakaba@suika.fam.cx>
49    
50            * NanoDOM.pm (public_id, system_id): New attributes.a
51    
52    2008-10-18  Wakaba  <wakaba@suika.fam.cx>
53    
54            * NanoDOM.pm (text_content): Moved to Node from Element.  Setter
55            implemented.
56            (allowed_tokens, default_type, declared_type): Implemented.
57    
58    2008-10-17  Wakaba  <wakaba@suika.fam.cx>
59    
60            * NanoDOM.pm (node_name): New attribute.
61            (ELEMENT_TYPE_DEFINITION_NODE, ATTRIBUTE_DEFINITION_NODE): New
62            constants.
63            (create_element_type_definition_node, create_attribute_definition,
64            create_notation, create_general_entity,
65            get_element_type_definition_node,
66            set_element_type_definition_node, get_general_entity_node,
67            set_general_entity_node, get_notation_node, set_notation_node,
68            get_attribute_definition_node, set_attribute_definition_node): New
69            methods.
70            (element_types, entities, notations, attribute_definitions): New
71            attributes.
72            (DocumentType): Support for child nodes, entities, notations, and
73            element types.
74            (Entity, Notation, ElementTypeDefinition, AttributeDefinition):
75            New classes.
76    
77            * Dumper.pm: Support for general entities, notations, element type
78            definitions, and attribute definitions.
79    
80    2008-10-15  Wakaba  <wakaba@suika.fam.cx>
81    
82            * NanoDOM.pm (create_processing_instruction): New method.
83            (xml_version, xml_encoding, xml_standalone): New attributes.
84            (ProcessingInstruction): New class.
85    
86    2008-10-14  Wakaba  <wakaba@suika.fam.cx>
87    
88            * HTML.pm.src: Handling of end tags in the foreign content
89            insertion mode was partially wrong, because of wrong bit
90            operations.
91    
92    2008-10-14  Wakaba  <wakaba@suika.fam.cx>
93    
94            * NanoDOM.pm (dom_config): New attribute (do nothing), for
95            Whatpm::XML::Parser support.
96    
97    2008-10-14  Wakaba  <wakaba@suika.fam.cx>
98    
99            * Makefile: New rule to make HTML/Tokenizer.pm is added.
100    
101            * HTML.pm.src: Tokenizer part moved to another file.
102    
103    2008-10-13  Wakaba  <wakaba@suika.fam.cx>
104    
105            * HTML.pm.src: Merge |DT_EL| and |DD_EL| as |DTDD_EL|.
106    
107    2008-10-13  Wakaba  <wakaba@suika.fam.cx>
108    
109            * HTML.pm.src: Element category constants redefined.
110            
111    2008-10-13  Wakaba  <wakaba@suika.fam.cx>
112    
113            * HTML.pm.src: Steps for CDATA/RCDATA elements in tree
114            construction stage synced with the spec (HTML5 revisions 2139 and
115            2302).
116    
117    2008-10-07  Wakaba  <wakaba@suika.fam.cx>
118    
119            * ContentChecker.pm: New error level "html5_fact" added, which
120            should be tentatively used until all of requirements are properly
121            specced as RFC 2119 "MUST" in HTML5.
122    
123    2008-10-05  Wakaba  <wakaba@suika.fam.cx>
124    
125            * ContentChecker.pod: Note on internal flags is added.
126    
127    2008-10-05  Wakaba  <wakaba@suika.fam.cx>
128    
129            * HTML.pm.src: An AAA bug fixed.
130    
131    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
132    
133            * HTML.pm.src: If another node is inserted by the parser, don't
134            reuse existing Text node to append a character (HTML5 revision
135            2124).
136    
137    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
138    
139            * HTML.pm.src: Support for <option> and <optgroup> in body (HTML5
140            revisions 1731 and 2128).
141    
142    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
143    
144            * HTML.pm.src: Make <foreignObject> scoping (HTML5 revision 1837).
145            Support for end tags of camelCase SVG elements were broken.  A
146            wrong error type text fixed.
147    
148    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
149    
150            * HTML.pm.src: Drop redundant code (HTML5 revision 1731).
151    
152    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
153    
154            * HTML.pm.src: Support for new definition of |param| and |source|
155            start tag parsing (HTML5 revision 1731).
156    
157    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
158    
159            * HTML.pm.src: <p> steps reimplemented (HTML5 revision 1731).
160    
161    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
162    
163            * HTML.pm.src: <li>, <dt>, and <dd> steps reimplemented (HTML5
164            revisions 1731 and 1831).
165    
166    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
167    
168            * HTML.pm.src: Support for new flow (but not phrasing) elements (HTML5
169            revisions 1731 and 1778).  Support for the </sarcasm> end tag (HTML5
170            revision 1731).
171    
172    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
173    
174            * HTML.pm.src: Support for |command| and |eventsource| elements (HTML5
175            revision 1731).  End tags of |option| and |optgroup| elements are
176            now optional (HTML5 revision 1731).
177    
178    2008-10-04  Wakaba  <wakaba@suika.fam.cx>
179    
180            * HTML.pm.src: New "special" elements added to the list (HTML5
181            revision 1778).  "strile" -> "strike".
182    
183    2008-10-02  Wakaba  <wakaba@suika.fam.cx>
184    
185            * ContentType.pm (get_sniffed_type): Support for the "better"
186            content sniffing (HTML5 revision 1927).  In a case the official
187            type was not returned when the method is invoked in the list
188            context.
189    
190    2008-09-22  Wakaba  <wakaba@suika.fam.cx>
191    
192            * HTML.pm.src: Character references for non-space C0 characters,
193            including U+000B VT, DEL character, noncharacter code points, are
194            now converted to the U+FFFD character (cf. HTML5 revision 2138).
195    
196    2008-09-21  Wakaba  <wakaba@suika.fam.cx>
197    
198            * ContentChecker.pm: |form=""| check support added.
199    
200    2008-09-21  Wakaba  <wakaba@suika.fam.cx>
201    
202            * ContentChecker.pm: |contextmenu| validness is now checked using
203            |id| and |id_type| properties, and |menu| property is removed.
204    
205    2008-09-21  Wakaba  <wakaba@suika.fam.cx>
206    
207            * ContentChecker.pm: Prepare for |form| |name| attribute's
208            duplication checking.
209    
210    2008-09-21  Wakaba  <wakaba@suika.fam.cx>
211    
212            * HTML.pm.src (parse_byte_stream): Support (or non-support) for
213            unsupported charset="" parameter value (HTML5 revision 2131).
214    
215    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
216    
217            * HTML.pm.src: Reminding places where U+000B is allowed as a space
218            character is fixed (cf. HTML5 revision 1738).
219    
220            * ContentChecker.pm, HTMLTable.pm: U+000B is no longer part of
221            space characters (HTML5 revision 1738).
222    
223    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
224    
225            * HTML.pm.src: The "anything else" case for the "after after body"
226            insertion mode was not updated to swtich to the "in body"
227            insertion mode.  U+000B is no longer a space character for the
228            purpose of tree construction phase (HTML5 revision 1738).
229    
230    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
231    
232            * HTML.pm.src: U+000B is no longer a space character (HTML5
233            revision 1738).
234    
235    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
236    
237            * ContentType.pm: 0x0B is no longer a space character (HTML5
238            revision 1738).
239    
240            * HTML.pm.src: U+000B is no longer a space character for the
241            algorithm for extracting an encoding from a Content-Type (HTML5
242            revision 1738).
243    
244    2008-09-20  Wakaba  <wakaba@suika.fam.cx>
245    
246            * ContentChecker.pm ($IsInHTMLInteractiveContent): New.
247    
248    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
249    
250            * LangTag.pm: Add checks for remaining requirements from RFC 4646.
251    
252            * mklangreg.pl: Sort 'Prefix' values by their length, to ease
253            matching.
254    
255    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
256    
257            * LangTag.pm: Warn for private use language subtags.  Error level
258            typos fixed.  Support for Suppress-Script field.
259    
260            * mklangreg.pl: Support for dumping of nested structure.
261    
262    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
263    
264            * LangTag.pm (check_rfc4646_langtag): Check if a tag is in the
265            recommended case as per RFC 4646.
266    
267    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
268    
269            * LangTag.pm (check_rfc4646_langtag): New method.
270    
271    2008-09-18  Wakaba  <wakaba@suika.fam.cx>
272    
273            * mklangreg.pl: New script.
274    
275            * Makefile: Updated for creation of the module for language subtag
276            registry.
277            
278    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
279    
280            * Makefile: WebIDL.html added.
281    
282            * WebIDL.pod: New documentation.
283    
284    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
285    
286            * WebIDL.pm: Checker's error types are redefined.
287    
288    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
289    
290            * WebIDL.pm: Parser's error types are redefined.  Some forward
291            compatible parsing bugs are fixed.  Some unreachable codes are
292            commented out.
293    
294    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
295    
296            * WebIDL.pm: Support for the reminding extended attributes are
297            added.  It does not satisfy the definition that a forward
298            interface declaration has an extended attribute.  It seems that
299            unless explicitly allowed multiple extended attributes with the
300            same name is not allowed, though it is not explicitly mentioned in
301            the spec.
302    
303    2008-09-16  Wakaba  <wakaba@suika.fam.cx>
304    
305            * WebIDL.pm: Unescapes extended attribute names and extended
306            attribute identifiers.  Preserve whether an extended attribute has
307            an argument list of not.  Support for extended attributes:
308            Constructor, ExceptionConsts, IndexGetter, IndexSetter,
309            NameGetter, NameSetter, and Null.
310            (has_argument_list): New attribute.
311            (idl_text): Stringifies argument lists, if any, even if it is
312            empty.
313    
314    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
315    
316            * HTML.pm.src: New state |PCDATA_STATE|.  Use an empty string for
317            |{s_kwd}| in DATA_STATE as default.
318    
319    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
320    
321            * HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}|
322            by |{s_kwd}| in DATA_STATE.
323    
324    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
325    
326            * HTML.pm.src: Shorten keys.
327    
328    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
329    
330            * HTML.pm.src: Remove checking for control character, surrogate
331            pair, or noncharacter code points and non-Unicode code
332            points (they should be handled by Whatpm::Charset::UnicodeChecker).
333            (parse_char_stream): Support for the |$get_wrapper| argument and
334            character stream error handlers.
335    
336    2008-09-15  Wakaba  <wakaba@suika.fam.cx>
337    
338            * ContentChecker.pm: Don't call |loda_ns_module|
339            for null-namespace elements/attributes.
340    
341            * HTML.pm.src: Fact out $disallowed_control_chars
342            as a hash.
343    
344    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
345    
346            * HTML.pm.src: Regexp typo fixed.  |{prev_char}|
347            and |{next_char}| initializations are moved to initialization
348            method.  |{read_until}| now supports buffering.  Sync |set_inner_html|
349            with |parse_char_stream|.
350    
351    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
352    
353            * HTML.pm.src (parse_char_stream): Make |set_next_char|
354            invoke |manakai_read_until|, not only |read|, where
355            possible, to decrease the number of |read| method calls.
356    
357            * mkhtmlparser.pl: Related changes to the aforementioned
358            modification.
359    
360    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
361    
362            * HTML.pm.src: Use |read| instead of |getc|.  |set_inner_html|
363            would report character error from now.
364    
365    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
366    
367            * HTML.pm.src: White-space-leaded non-white-space character
368            tokens in "before head insertion mode" was not
369            correctly handled.
370            (set_inner_html): Reimplemented using CharString decodehandle
371            class.  Support for $get_wrapper argument.  Support
372            for |{read_until}| feature.
373    
374    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
375    
376            * HTML.pm.src: Make a "bare ero" error for unknown
377            entities point the "&" character.
378    
379    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
380    
381            * HTML.pm.src: It turns out that U+FFFD don't have to
382            be added to the list of excluded characters.
383    
384    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
385    
386            * HTML.pm.src ($char_onerror): Have character decoder's |line|
387            and |column| a higher priority than the one set by the
388            tokenizer's input handler.
389            ($self->{read_until}): Exclude U+FFFD (but this might
390            not be necessary, since now we do line/column fixup in
391            the character decode handle).
392    
393    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
394    
395            * HTML.pm.src: Use |{read_until}| where possible.
396    
397    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
398    
399            * HTML.pm.src: Change |{getc_until}| to |{read_until}|
400            and |manakai_getc_until| to |manakai_read_until| to
401            reduce the number of string copies.
402    
403    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
404    
405            * HTML.pm.src (parse_char_string): Use newly created
406            |Whatpm::Charset::DecodeHandle::CharString| instead of Perl's
407            standard feature to |open| a string as a filehandle,
408            since Perl's string filehandle seems not supporting |ungetc|
409            method correctly.
410            (parse_char_stream): Define |{getc_until}| method.
411            (DATA_STATE): Experimental support for |getc_until| feature.
412    
413    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
414    
415            * HTML.pm.src: Check points added to newly added branches.
416    
417    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
418    
419            * HTML.pm.src: Remove |{char}|, which is no longer used.
420            Remove |{entity_in_attr}| and |{last_attribute_value_state}|
421            and replaced by |{prev_state}|.
422    
423            * mkhtmlparser.pl: Remove |{char}| feature.
424            Remove |!!!back-next-input-character;| macro.
425    
426    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
427    
428            * HTML.pm.src: Finally we get rid of all the inner loops.  Remove
429            entity related tokenizer states in favor of new states
430            implementing the consume character reference algorithm.
431    
432    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
433    
434            * HTML.pm.src: "Consume a character reference" algorithm is
435            now implemented as a tokenizer's state, rather than
436            a method, with minimum changes (more changes will
437            be made, in due course).  "Bogus comment state"'s inner
438            loop gets removed.
439    
440    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
441    
442            * HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing
443            into their own tokenizer states.
444    
445    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
446    
447            * HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE|
448            is split into three states.
449    
450    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
451    
452            * HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into
453            itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that
454            no longer does the tokenizer have to push back next input
455            characters in those states.
456    
457    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
458    
459            * HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken
460            into four states so that no longer does the tokenizer have to push
461            back next input characters in that state.
462    
463    2008-09-11  Wakaba  <wakaba@suika.fam.cx>
464    
465            * HTML.pm.src: Methods now accept additional parameter, $get_wrapper,
466            which can be used to insert some wrapper between the character
467            stream handle and the tokenizer.  (It is currently not supported
468            for |set_inner_html| for |Element|s).
469    
470    2008-09-10  Wakaba  <wakaba@suika.fam.cx>
471    
472            * HTML.pm.src: Ignore punctuations in charset names.
473    
474    2008-09-10  Wakaba  <wakaba@suika.fam.cx>
475    
476            * ContentChecker.pm: Support for charset-layer error levels.
477    
478            * HTML.pm.src: Don't specify |text| argument for the
479            |chardecode:fallback| error, since it is not the encoding
480            being used alternatively.
481    
482    2008-09-06  Wakaba  <wakaba@suika.fam.cx>
483    
484            * HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141).
485    
486    2008-08-31  Wakaba  <wakaba@suika.fam.cx>
487    
488            * CacheManifest.pm: Support for extensibility (HTML5 revision 2051).
489    
490    2008-08-31  Wakaba  <wakaba@suika.fam.cx>
491    
492            * HTML.pm.src: Bug fix and sync with the spec with regard
493            to after after frameset insertion mode processing (HTML5
494            revision 1909).  Note that the implementation was wrong
495            per the old spec before the r1909 changes.
496    
497    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
498    
499            * HTMLTable.pm: scope=auto algorithm fix synced with the
500            spec (HTML5 revision 2093).
501            ($process_row): Algorithm step numbers synced with the
502            spec (HTML5 revision 2092).
503    
504    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
505    
506            * HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5
507            revision 2094).
508    
509    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
510    
511            * ContentType.pm: Support for image/svg+xml (HTML5 revision 2096).
512    
513    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
514    
515            * HTML.pm.src: '"' and "'" at the end of attribute
516            name (after another attribute) now raise parse error (HTML5
517            revision 2123).  Empty unquoted attribute values are no
518            longer allowed (HTML5 revision 2122).
519    
520    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
521    
522            * mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5
523            revision 2130).
524    
525    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
526    
527            * ContentChecker.pm: |xml:lang| attribute value must be same
528            as |lang| attribute value for HTML elements (HTML5 revision 2062
529            and so on).
530    
531    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
532    
533            * ContentChecker.pm: Error level definition for |xml_id_error|
534            was missing.
535    
536            * URIChecker.pm: The end of the URL should be marked as the
537            error location for an empty path error.  The position
538            between the userinfo and the port components should be
539            marked as the error location for an empty host error.
540    
541    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
542    
543            * URIChecker.pm: Set parameters representing where in the
544            value the error occurs for errors.  Report unknown
545            address format error in warning level, since address
546            formats are rarely added.  Path segments starting with "/.."
547            were misinterpreted as a dot-segment.
548    
549    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
550    
551            * URIChecker.pm (check_iri_reference): Requires
552            |Message::DOM::DOMImplementation|.
553    
554    2008-08-29  Wakaba  <wakaba@suika.fam.cx>
555    
556            * IMTChecker.pm: Updated for the new error reporting architecture.
557    
558            * ContentChecker.pm: Error levels for IMTs are added.
559    
560    2008-08-17  Wakaba  <wakaba@suika.fam.cx>
561    
562            * H2H.pm (_shift_token): Support for unquoted HTML attribute
563            values.
564    
565    2008-08-16  Wakaba  <wakaba@suika.fam.cx>
566    
567            * CacheManifest.pm: Support for new style of error
568            reports.
569    
570            * HTML.pm.src: Set line=1, column=1 to the document node.
571    
572    2008-08-16  Wakaba  <wakaba@suika.fam.cx>
573    
574            * ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag
575            and URL checkers.  Support for more error levels for bogus
576            langauge tag and URL "standards".
577    
578            * LangTag.pm, URIChecker.pm: Support for new style error
579            level reporting.
580    
581    2008-08-15  Wakaba  <wakaba@suika.fam.cx>
582    
583            * ContentChecker.pm: Support for RDF/XML error levels.
584    
585            * HTMLTable.pm, RDFXML.pm: Support for new style of error level
586            specifying.  Error types are revised.
587    
588    2008-08-15  Wakaba  <wakaba@suika.fam.cx>
589    
590            * ContentChecker.pm: All error reporting method calls are
591            renewed.
592    
593    2008-08-15  Wakaba  <wakaba@suika.fam.cx>
594    
595            * HTML.pm.src: All error type names and "text" parameters
596            are revised.  Use new style for "level" specification.
597    
598            * mkhtmlparser.pl: Use new style for "level" specification.
599    
600    2008-08-03  Wakaba  <wakaba@suika.fam.cx>
601    
602            * WebIDL.pm (parse_char_string): Simplified error
603            reporting process for broken ignored valuetype definition.
604            (Valuetype idl_text): Support for special "DOMString" name.
605    
606    2008-08-03  Wakaba  <wakaba@suika.fam.cx>
607    
608            * WebIDL.pm ($get_scoped_name): Append "::::" if the last
609            terminal of the ScopedName is "DOMString", such that whether
610            the last part of the scoped name is "DOMString" or "_DOMString"
611            later.  It is necessary to determine whether a |typedef|
612            definition should be ignored or not.
613            (parse_char_string): Unescape the identifier of
614            exception members.
615            ($resolve): Return undef for builtin types and sequence<T>
616            types (we might not have to do this, however...).
617            (check): Support checking for Exceptions, Valuetypes,
618            and Typedefs.
619            ($serialize_type): Support for "DOMString::::" syntax.
620            (Typedef idl_text): Output Type as "DOMString" if it
621            is really "DOMString" (i.e. its internal representation
622            is "::DOMString::").
623    
624    2008-08-03  Wakaba  <wakaba@suika.fam.cx>
625    
626            * WebIDL.pm ($resolve): New code, based on resolve code
627            for constant types in the |check| method.
628            (check): Support for checking of attributes, operations, and
629            arguments.
630            (Attribute/Operation idl_text): Exception names in getraises,
631            setraises, and raises clauses is serizlied by |$serialize_type|
632            code.
633    
634    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
635    
636            * WebIDL.pm ($integer): Order of selections are changed to match
637            hexadecimal numbers (the original pattern, taken from the spec,
638            was not work for hexadecimal numbers, because the "0" prefix
639            matches to the [0-7]* part (as an empty string) and therefore
640            it does not match with remaining "x..." part of a "0x..." integer
641            literal.
642            ($get_type): It now returns a string, not an array reference,
643            for regular types and |sequence| types (i.e. it in any case
644            returns a string).
645            ($get_next_token): The second item in the array that represents
646            a integer or float token is now a Perl number value, not the
647            original string representation of the number.
648            (check): Support for const value consistency checking.
649            No extended attribute is defined for constants.
650            (Node subclasses): Use simple strings rather than array references
651            for default data type values.
652            ($serialize_type): Type values are now simple strings.
653            (value): If the new attribute value is a false value, then
654            a FALSE value is set to the attribute.
655    
656    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
657    
658            * WebIDL.pm ($get_scoped_name): Now scoped names are stored
659            in its stringified format ("scoped name" as defined in the
660            spec).  Note that future version of this module should not use
661            array references for type values and the |type_text| attribute
662            should be made obsolete.
663            (parse_char_string): Unescape attribute names.
664            (check): Support for checking of whether inherited interfaces
665            are actually defined or not.  Support for checking of whether
666            interface member identifiers are duplicated or not.
667            ($serialize_type): Scoped names are returned as is.  A future
668            version of this code should escape identifiers other than "DOMString",
669            otherwise the idl_text would be non-conforming.
670    
671    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
672    
673            * WebIDL.pm (parse_char_string): Set line/column numbers
674            to generated nodes.  Unescape identifiers.  Extended attributes
675            for Definition's were ignored.
676            (append_child): Set |parent_node| attribute.
677            (parent_node): New attribute.
678            (check): Support interface/exception members.  Support
679            extended attributes.  Support definition identifier uniqueness
680            constraint.
681            (qualified_name): New attribute.
682            (Interface/Exception idl_text): Extended attributes were
683            not prepended to the returned text.
684    
685    2008-08-02  Wakaba  <wakaba@suika.fam.cx>
686    
687            * WebIDL.pm (parse_char_string): Set line/column numbers
688            to interface object experimentally.  s/shift/pop/g, shift
689            would make things wrong.  Support for interface forward
690            declarations was missing.  Broken interface declarations
691            with no block were not ignored entirely.
692            (Whatpm::WebIDL::Node): New abstract class.  This class
693            makes things easier.
694            (child_nodes): New attribute.  Unlike DOM's attribute with
695            same name, this attribute returns a dead list of nodes for
696            simplicity.
697            (get_user_data, set_user_data): New methods.
698            (Module idl_text): A SPACE character should be inserted
699            before the |{| character.
700            (Interface idl_text): Support for interface forward declarations.
701            (is_forward_declaration): New attribute.
702    
703    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
704    
705            * WebIDL.pm (type_text): Better serializer.
706    
707    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
708    
709            * WebIDL.pm: Revise forward-compatible parsing so that
710            it now can handle broken extended attributes and as such.
711    
712    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
713    
714            * WebIDL.pm: Real support for extended attributes.
715            Support for extended attributes with arguments.
716    
717    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
718    
719            * WebIDL.pm: Support for |exception| syntax.
720            (Interface->idl_text): Tentative support for inheritances.
721    
722    2008-07-19  Wakaba  <wakaba@suika.fam.cx>
723    
724            * WebIDL.pm: Hierarchical scoped name support was broken.
725            Support for raises, setraises, and getraises syntaxes.
726    
727    2008-07-18  Wakaba  <wakaba@suika.fam.cx>
728    
729            * WebIDL.pm: Support for |idl_text| attribute, version 1 (no
730            proper support for types, extended attributes, and exceptions yet).
731            WebIDL parser, version 1 (no support for exceptions yet,
732            no proper support for extended attributes yet).
733    
734    2008-07-09  Wakaba  <wakaba@suika.fam.cx>
735    
736            * WebIDL.pm (parse_char_string): Support for basic attribute syntax.
737    
738    2008-06-29  Wakaba  <wakaba@suika.fam.cx>
739    
740            * WebIDL.pm: Support for valuetype and const.
741    
742    2008-06-29  Wakaba  <wakaba@suika.fam.cx>
743            
744            * WebIDL.pm: New module.
745    
746    2008-06-15  Wakaba  <wakaba@suika.fam.cx>
747    
748            * Makefile (Entities.html): URI changed.
749    
750    2008-06-08  Wakaba  <wakaba@suika.fam.cx>
751    
752            * HTML.pm.src: Support for ruby parsing (HTML5 revision 1704).
753    
754    2008-06-01  Wakaba  <wakaba@suika.fam.cx>
755    
756            * HTML.pm.src (_get_next_token): A parse error was missing.
757    
758    2008-06-01  Wakaba  <wakaba@suika.fam.cx>
759    
760            * mklinktypelist.pl: rel=contact is no longer part of the HTML5
761            spec (commented out). (HTML5 revision 1711).
762    
763    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
764    
765            * ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701).
766    
767            * HTML.pm.src: UTF-16BE and UTF-16LE should be considered
768            as UTF-16 (HTML5 revision 1701).
769    
770    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
771    
772            * HTML.pm.src: Support for <noframes> in <head> (HTML5 revision
773            1692).
774    
775    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
776    
777            * HTML.pm.src: The secondary insertion mode used when switching
778            to foreign content is the "in body" insertion mode (HTML5 revision
779            1696).
780    
781    2008-05-25  Wakaba  <wakaba@suika.fam.cx>
782    
783            * HTML.pm.src: Don't raise parse error for <isindex/> (HTML5
784            revision 1697).
785    
786    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
787    
788            * HTML.pm.src: Support for end-of-file token in foreign content
789            insertion mode (HTML5 revision 1693).  Update SVG camelCase
790            attribute list (HTML5 revision 1700).  <textarea> closes
791            </select> (HTML5 revision 1699).  More start tags close in
792            foreign content insertion mode (HTML5 revision 1698).
793    
794    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
795    
796            * HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665).
797    
798    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
799    
800            * HTML.pm.src: More robust charset parameter detection (HTML5
801            revision 1674).
802    
803    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
804    
805            * ContentType.pm: Support for image/vnd.microsoft.icon (HTML5
806            revision 1676).
807    
808    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
809    
810            * HTML.pm.src: Ignore language part of public identifiers for
811            quriks mode detection (HTML5 revision 1679).
812    
813    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
814    
815            * HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5
816            revision 1685).
817    
818    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
819    
820            * HTML.pm.src: Support for EOF in new states for tags (HTML5
821            revision 1684).
822    
823    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
824    
825            * HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML
826            work (HTML5 revision 1690).
827    
828    2008-05-24  Wakaba  <wakaba@suika.fam.cx>
829    
830            * HTML.pm.src (_tree_construction_main): Change handling of
831            end tags in head insertion modes (HTML5 revision 1686).
832            (parse_char_string): Bug fix for non-utf8 character string handlings.
833            (parse_char_stream): |ungetc| does not work well for this context.
834    
835    2008-05-18  Wakaba  <wakaba@suika.fam.cx>
836    
837            * HTML.pm.src (parse_byte_string): Redefined to invoke
838            |parse_byte_stream|.
839            (parse_byte_stream): New method.
840    
841    2008-05-18  Wakaba  <wakaba@suika.fam.cx>
842    
843            * HTML.pm.src (parse_byte_string): Fix the column number reported
844            by encoding layer error reporter.
845    
846    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
847    
848            * HTML.pm.src (parse_byte_string): Use streaming decoder
849            rather than converting the whole byte string and then parsing.
850            Propagate errors in character encoding layer.
851            (get_next_token): Precise error reporting for |bare stago| error.
852    
853    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
854    
855            * HTML.pm.src (parse_char_stream): New method.
856            (parse_char_string): This method is now defined as an invocation
857            of the |parse_char_stream| method.
858    
859    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
860    
861            * HTML.pm.src (parse_byte_string): Report various status
862            of the sniffing as info-level errors.  Support for new
863            decoding framework in parser resestting.
864            (new): Various default error levels were not set.
865    
866    2008-05-17  Wakaba  <wakaba@suika.fam.cx>
867    
868            * HTML.pm.src (parse_byte_string): HTML5 encoding siniffing
869            algorithm, except for the actual sniffing, is implemented
870            with new framework with Message::Charset::Info.
871    
872    2008-05-16  Wakaba  <wakaba@suika.fam.cx>
873    
874            * CacheManifest.pm (_parse): Drop fragment identifiers from
875            URIs in fallback section (HTML5 revision 1596).
876    
877    2008-05-10  Wakaba  <wakaba@suika.fam.cx>
878    
879            * Makefile (Entities.html): URI has changed.
880    
881    2008-05-10  Wakaba  <wakaba@suika.fam.cx>
882    
883            * CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision
884            1553).
885    
886    2008-05-06  Wakaba  <wakaba@suika.fam.cx>
887    
888            * ContentChecker.pm: Noted that those returned in |table| are
889            no longer table elements, but table objects returned
890            by Whatpm::HTMLTable.
891    
892            * HTMLTable.pm (form_table): Return table element node
893            as |$table->{element}|.
894            (assign_header): Support for the |headers=""| attribute.
895    
896    2008-05-06  Wakaba  <wakaba@suika.fam.cx>
897    
898            * HTMLTable.pm (assign_header): New function; first version
899            with no support for headers="".
900            (form_table): Include table width and height to the returned
901            table object for covenience.  Indexing in column assignement was wrong.
902            Set whether a data cell is empty or not for convenience.
903    
904    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
905    
906            * HTMLTable.pm: Robuster caption support (HTML5 revision 1393).
907    
908    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
909    
910            * HTMLTable.pm: How table model errors are detected is
911            changed (HTML5 revision 1387).
912    
913    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
914    
915            * HTMLTable.pm: The algorithm now moves |tfoot| elements
916            to the end of the table (HTML5 revision 1380).
917    
918    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
919    
920            * HTMLTable.pm: The algorithm is now 0-based indexing, instead
921            of 1-based (HTML5 revision 1376).
922    
923    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
924    
925            * ContentType.pm: "Content-Type: text/plain; charset=UTF-8"
926            and "Content-Encoding" no longer prevent sniffing (HTML5
927            revision 1288).
928    
929    2008-05-05  Wakaba  <wakaba@suika.fam.cx>
930    
931            * ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision
932            1282).
933    
934    2008-05-03  Wakaba  <wakaba@suika.fam.cx>
935    
936            * ContentChecker.pm: Support for global attributes.
937            Status of XML specs are added.
938    
939    2008-05-03  Wakaba  <wakaba@suika.fam.cx>
940    
941            * ContentChecker.pm (check_element): Support for |template=""|
942            and |ref=""| attribute (referent element type checking).
943    
944    2008-04-29  Wakaba  <wakaba@suika.fam.cx>
945    
946            * CacheManifest.pm (_parse): New same origin definition (HTML5 revision
947            1500) is implemented (except for IDNA part and URI-scheme-specific
948            knowledge).  Line number counting was wrong for LF-only
949            documents.
950    
951    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
952    
953            * HTML.pm.src: Raise an parse error for any disallowed
954            character (HTML5 revision 1263).
955    
956    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
957    
958            * mkentitylist.pl: Support for new HTML5 entity table format (the
959            definition for |AElig;| was missing).
960    
961    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
962    
963            * HTML.pm.src, mkhtmlparser.pl: Support for element/attribute
964            name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417).
965    
966    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
967    
968            * HTML.pm.src: List of element names that close foreign content
969            insertion mode is added (HTML5 revisions 1412 and 1418).
970    
971    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
972    
973            * HTML.pm.src: Support for |mglyph| and |malignmark|
974            elements (HTML5 revision 1410).
975    
976    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
977    
978            * HTML.pm.src: Support for new long MathML entities (HTML5
979            revision 1406).
980    
981    2008-04-13  Wakaba  <wakaba@suika.fam.cx>
982    
983            * HTML.pm.src: CDATA section support for MathML and SVG
984            elements (HTML5 revision 1404 and 1420).
985    
986    2008-04-12  Wakaba  <wakaba@suika.fam.cx>
987    
988            * HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG
989            elements (HTML5 revision 1404).  Unused !!!macro definitions
990            are removed.
991    
992    2008-04-12  Wakaba  <wakaba@suika.fam.cx>
993    
994            * HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors
995            are raised is changed (HTML5 revision 1404).
996    
997    2008-04-06  Wakaba  <wakaba@suika.fam.cx>
998    
999            * HTML.pm.src: Category sets that are no longer used are removed.
1000    
1001    2008-04-06  Wakaba  <wakaba@suika.fam.cx>
1002    
1003            * HTML.pm.src: The ->[1] property of stack entries are now
1004            replaced by constants representing element category.
1005    
1006    2008-04-06  Wakaba  <wakaba@suika.fam.cx>
1007    
1008            * HTML.pm.src: Don't use local name stored in stack (i.e. ->[1])
1009            for error reporting.  (This is a preparation for using constant
1010            value for ->[1].)
1011    
1012    2008-03-22  Wakaba  <wakaba@suika.fam.cx>
1013    
1014            * RDFXML.pm: Typo fixed.
1015    
1016    2008-03-22  Wakaba  <wakaba@suika.fam.cx>
1017    
1018            * ContentChecker.pm: |fact_level| is now treated
1019            as same as |must_level|, i.e. level = |m|.
1020            (check_element): Make list of URIs in the DOM.
1021    
1022    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
1023    
1024            * RDFXML.pm: Language accessor implemented.
1025            Local (null-namespace) attribute support.
1026    
1027    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
1028    
1029            * RDFXML.pm: Factored out ID checking code.
1030    
1031    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
1032    
1033            * RDFXML.pm: TODO items noted.  Validation of ID
1034            and URI attributes is implemented.  Warn if unknown
1035            value is used in rdf:parseType="" attribute.
1036    
1037            * URIChecker.pm (check_rdf_uri_reference): New function.
1038    
1039    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
1040    
1041            * RDFXML.pm: bnodeid implemented.  Relative references
1042            are now resolved.
1043    
1044    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
1045    
1046            * ContentChecker.pm: RDF reification implemented.
1047    
1048            * RDFXML.pm: undef vs false bug fixed.
1049            Reification implemented.
1050    
1051    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
1052    
1053            * RDFXML.pm: s/id/ID/ for attribute name.
1054            The |node| arguments are added for |ontriple| calls.
1055            Too many "attribute not allowed" errors were raised.
1056    
1057            * ContentChecker.pm: Initial experimental support for rdf:RDF
1058            element.
1059    
1060    2008-03-21  Wakaba  <wakaba@suika.fam.cx>
1061    
1062            * RDFXML.pm: New module.
1063    
1064    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
1065    
1066            * HTML.pm.src (set_inner_html): Line/column number
1067            code was old one yet.
1068    
1069    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
1070    
1071            * HTML.pm.src: Better line/column reporting for "duplicate attribute"
1072            errors.  Line/column markings for DOCTYPE, comment, and
1073            character tokens are reintroduced; otherwise,
1074            error location for "not HTML5" error and errors
1075            for implied elements are not attached.
1076    
1077    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
1078    
1079            * HTML.pm.src: Set line/column numbers to attributes.
1080    
1081            * NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added.
1082            (value): Setter implemented.
1083    
1084            * mkhtmlparser.pl: Set line/column numbers to Attr nodes.
1085    
1086    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
1087    
1088            * HTML.pm.src: Unused line/column markings are removed.
1089    
1090    2008-03-20  Wakaba  <wakaba@suika.fam.cx>
1091    
1092            * HTML.pm.src (_get_next_token): Remove |first_start_tag|
1093            flag, which is no longer used.
1094    
1095    2008-03-17  Wakaba  <wakaba@suika.fam.cx>
1096    
1097            * HTML.pm.src: Set line/column information to element nodes.
1098    
1099            * mkhtmlparser.pl (!!!create-element, !!!insert-element,
1100            and !!!insert-element-t): Set line/column information to
1101            element nodes.
1102    
1103    2008-03-17  Wakaba  <wakaba@suika.fam.cx>
1104    
1105            * HTML.pm.src (_get_next_token): The first "<" character
1106            in "<?", "<>", or "</>" should be the error point.
1107    
1108    2008-03-16  Wakaba  <wakaba@suika.fam.cx>
1109    
1110            * HTML.pm.src: Some more fixes on error position reporting.
1111    
1112    2008-03-16  Wakaba  <wakaba@suika.fam.cx>
1113    
1114            * HTML.pm.src: Token-level precious error reporting.
1115    
1116    2008-03-16  Wakaba  <wakaba@suika.fam.cx>
1117    
1118            * HTML.pm.src: Preparation for more precious error point
1119            reporting.
1120    
1121    2008-03-11  Wakaba  <wakaba@suika.fam.cx>
1122    
1123            * HTML.pm.src: Error type revised.
1124    
1125    2008-03-11  Wakaba  <wakaba@suika.fam.cx>
1126    
1127            * HTML.pm.src: Similar codes are merged together, again.
1128    
1129    2008-03-11  Wakaba  <wakaba@suika.fam.cx>
1130    
1131            * HTML.pm.src: Similar codes are merged together.
1132    
1133    2008-03-10  Wakaba  <wakaba@suika.fam.cx>
1134    
1135            * mkhtmlparser.pl: Set "level" parameter to parse errors.
1136    
1137            * HTML.pm.src: Code refined.
1138    
1139    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
1140    
1141            * HTML.pm.src: |</body>| treatement has been changed (HTML5
1142            revision 1348).  Note that I really don't know this makes
1143            any difference in the black-box behavior of the parser.
1144    
1145    2008-03-09  Wakaba  <wakaba@suika.fam.cx>
1146    
1147            * HTML.pm.src: New end-of-file token implementation (HTML5
1148            revision 1348).
1149    
1150  2008-03-09  Wakaba  <wakaba@suika.fam.cx>  2008-03-09  Wakaba  <wakaba@suika.fam.cx>
1151    
1152          * HTML.pm.src: |applet| support (HTML5 revision 1347).          * HTML.pm.src: |applet| support (HTML5 revision 1347).

Legend:
Removed from v.1.180  
changed lines
  Added in v.1.368

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24