/[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.282 by wakaba, Sat Aug 30 12:57:05 2008 UTC revision 1.309 by wakaba, Sun Sep 14 14:35:43 2008 UTC
# Line 1  Line 1 
1    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
2    
3            * HTML.pm.src: Regexp typo fixed.  |{prev_char}|
4            and |{next_char}| initializations are moved to initialization
5            method.  |{read_until}| now supports buffering.  Sync |set_inner_html|
6            with |parse_char_stream|.
7    
8    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
9    
10            * HTML.pm.src (parse_char_stream): Make |set_next_char|
11            invoke |manakai_read_until|, not only |read|, where
12            possible, to decrease the number of |read| method calls.
13    
14            * mkhtmlparser.pl: Related changes to the aforementioned
15            modification.
16    
17    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
18    
19            * HTML.pm.src: Use |read| instead of |getc|.  |set_inner_html|
20            would report character error from now.
21    
22    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
23    
24            * HTML.pm.src: White-space-leaded non-white-space character
25            tokens in "before head insertion mode" was not
26            correctly handled.
27            (set_inner_html): Reimplemented using CharString decodehandle
28            class.  Support for $get_wrapper argument.  Support
29            for |{read_until}| feature.
30    
31    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
32    
33            * HTML.pm.src: Make a "bare ero" error for unknown
34            entities point the "&" character.
35    
36    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
37    
38            * HTML.pm.src: It turns out that U+FFFD don't have to
39            be added to the list of excluded characters.
40    
41    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
42    
43            * HTML.pm.src ($char_onerror): Have character decoder's |line|
44            and |column| a higher priority than the one set by the
45            tokenizer's input handler.
46            ($self->{read_until}): Exclude U+FFFD (but this might
47            not be necessary, since now we do line/column fixup in
48            the character decode handle).
49    
50    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
51    
52            * HTML.pm.src: Use |{read_until}| where possible.
53    
54    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
55    
56            * HTML.pm.src: Change |{getc_until}| to |{read_until}|
57            and |manakai_getc_until| to |manakai_read_until| to
58            reduce the number of string copies.
59    
60    2008-09-14  Wakaba  <wakaba@suika.fam.cx>
61    
62            * HTML.pm.src (parse_char_string): Use newly created
63            |Whatpm::Charset::DecodeHandle::CharString| instead of Perl's
64            standard feature to |open| a string as a filehandle,
65            since Perl's string filehandle seems not supporting |ungetc|
66            method correctly.
67            (parse_char_stream): Define |{getc_until}| method.
68            (DATA_STATE): Experimental support for |getc_until| feature.
69    
70    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
71    
72            * HTML.pm.src: Check points added to newly added branches.
73    
74    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
75    
76            * HTML.pm.src: Remove |{char}|, which is no longer used.
77            Remove |{entity_in_attr}| and |{last_attribute_value_state}|
78            and replaced by |{prev_state}|.
79    
80            * mkhtmlparser.pl: Remove |{char}| feature.
81            Remove |!!!back-next-input-character;| macro.
82    
83    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
84    
85            * HTML.pm.src: Finally we get rid of all the inner loops.  Remove
86            entity related tokenizer states in favor of new states
87            implementing the consume character reference algorithm.
88    
89    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
90    
91            * HTML.pm.src: "Consume a character reference" algorithm is
92            now implemented as a tokenizer's state, rather than
93            a method, with minimum changes (more changes will
94            be made, in due course).  "Bogus comment state"'s inner
95            loop gets removed.
96    
97    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
98    
99            * HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing
100            into their own tokenizer states.
101    
102    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
103    
104            * HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE|
105            is split into three states.
106    
107    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
108    
109            * HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into
110            itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that
111            no longer does the tokenizer have to push back next input
112            characters in those states.
113    
114    2008-09-13  Wakaba  <wakaba@suika.fam.cx>
115    
116            * HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken
117            into four states so that no longer does the tokenizer have to push
118            back next input characters in that state.
119    
120    2008-09-11  Wakaba  <wakaba@suika.fam.cx>
121    
122            * HTML.pm.src: Methods now accept additional parameter, $get_wrapper,
123            which can be used to insert some wrapper between the character
124            stream handle and the tokenizer.  (It is currently not supported
125            for |set_inner_html| for |Element|s).
126    
127    2008-09-10  Wakaba  <wakaba@suika.fam.cx>
128    
129            * HTML.pm.src: Ignore punctuations in charset names.
130    
131    2008-09-10  Wakaba  <wakaba@suika.fam.cx>
132    
133            * ContentChecker.pm: Support for charset-layer error levels.
134    
135            * HTML.pm.src: Don't specify |text| argument for the
136            |chardecode:fallback| error, since it is not the encoding
137            being used alternatively.
138    
139    2008-09-06  Wakaba  <wakaba@suika.fam.cx>
140    
141            * HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141).
142    
143    2008-08-31  Wakaba  <wakaba@suika.fam.cx>
144    
145            * CacheManifest.pm: Support for extensibility (HTML5 revision 2051).
146    
147    2008-08-31  Wakaba  <wakaba@suika.fam.cx>
148    
149            * HTML.pm.src: Bug fix and sync with the spec with regard
150            to after after frameset insertion mode processing (HTML5
151            revision 1909).  Note that the implementation was wrong
152            per the old spec before the r1909 changes.
153    
154    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
155    
156            * HTMLTable.pm: scope=auto algorithm fix synced with the
157            spec (HTML5 revision 2093).
158            ($process_row): Algorithm step numbers synced with the
159            spec (HTML5 revision 2092).
160    
161    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
162    
163            * HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5
164            revision 2094).
165    
166    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
167    
168            * ContentType.pm: Support for image/svg+xml (HTML5 revision 2096).
169    
170    2008-08-30  Wakaba  <wakaba@suika.fam.cx>
171    
172            * HTML.pm.src: '"' and "'" at the end of attribute
173            name (after another attribute) now raise parse error (HTML5
174            revision 2123).  Empty unquoted attribute values are no
175            longer allowed (HTML5 revision 2122).
176    
177  2008-08-30  Wakaba  <wakaba@suika.fam.cx>  2008-08-30  Wakaba  <wakaba@suika.fam.cx>
178    
179          * mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5          * mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5

Legend:
Removed from v.1.282  
changed lines
  Added in v.1.309

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24