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

Legend:
Removed from v.1.196  
changed lines
  Added in v.1.369

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24