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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24