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

Legend:
Removed from v.1.187  
changed lines
  Added in v.1.352

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24