1 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* LangTag.pm (check_rfc4646_langtag): New method. |
4 |
|
|
5 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* mklangreg.pl: New script. |
8 |
|
|
9 |
|
* Makefile: Updated for creation of the module for language subtag |
10 |
|
registry. |
11 |
|
|
12 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* Makefile: WebIDL.html added. |
15 |
|
|
16 |
|
* WebIDL.pod: New documentation. |
17 |
|
|
18 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* WebIDL.pm: Checker's error types are redefined. |
21 |
|
|
22 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* WebIDL.pm: Parser's error types are redefined. Some forward |
25 |
|
compatible parsing bugs are fixed. Some unreachable codes are |
26 |
|
commented out. |
27 |
|
|
28 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
30 |
|
* WebIDL.pm: Support for the reminding extended attributes are |
31 |
|
added. It does not satisfy the definition that a forward |
32 |
|
interface declaration has an extended attribute. It seems that |
33 |
|
unless explicitly allowed multiple extended attributes with the |
34 |
|
same name is not allowed, though it is not explicitly mentioned in |
35 |
|
the spec. |
36 |
|
|
37 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* WebIDL.pm: Unescapes extended attribute names and extended |
40 |
|
attribute identifiers. Preserve whether an extended attribute has |
41 |
|
an argument list of not. Support for extended attributes: |
42 |
|
Constructor, ExceptionConsts, IndexGetter, IndexSetter, |
43 |
|
NameGetter, NameSetter, and Null. |
44 |
|
(has_argument_list): New attribute. |
45 |
|
(idl_text): Stringifies argument lists, if any, even if it is |
46 |
|
empty. |
47 |
|
|
48 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
50 |
|
* HTML.pm.src: New state |PCDATA_STATE|. Use an empty string for |
51 |
|
|{s_kwd}| in DATA_STATE as default. |
52 |
|
|
53 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
56 |
|
by |{s_kwd}| in DATA_STATE. |
57 |
|
|
58 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
59 |
|
|
60 |
|
* HTML.pm.src: Shorten keys. |
61 |
|
|
62 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
65 |
|
pair, or noncharacter code points and non-Unicode code |
66 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
67 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
68 |
|
character stream error handlers. |
69 |
|
|
70 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
73 |
|
for null-namespace elements/attributes. |
74 |
|
|
75 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
76 |
|
as a hash. |
77 |
|
|
78 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
81 |
|
and |{next_char}| initializations are moved to initialization |
82 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
83 |
|
with |parse_char_stream|. |
84 |
|
|
85 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
86 |
|
|
87 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
88 |
|
invoke |manakai_read_until|, not only |read|, where |
89 |
|
possible, to decrease the number of |read| method calls. |
90 |
|
|
91 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
92 |
|
modification. |
93 |
|
|
94 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
97 |
|
would report character error from now. |
98 |
|
|
99 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* HTML.pm.src: White-space-leaded non-white-space character |
102 |
|
tokens in "before head insertion mode" was not |
103 |
|
correctly handled. |
104 |
|
(set_inner_html): Reimplemented using CharString decodehandle |
105 |
|
class. Support for $get_wrapper argument. Support |
106 |
|
for |{read_until}| feature. |
107 |
|
|
108 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* HTML.pm.src: Make a "bare ero" error for unknown |
111 |
|
entities point the "&" character. |
112 |
|
|
113 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
114 |
|
|
115 |
|
* HTML.pm.src: It turns out that U+FFFD don't have to |
116 |
|
be added to the list of excluded characters. |
117 |
|
|
118 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
|
* HTML.pm.src ($char_onerror): Have character decoder's |line| |
121 |
|
and |column| a higher priority than the one set by the |
122 |
|
tokenizer's input handler. |
123 |
|
($self->{read_until}): Exclude U+FFFD (but this might |
124 |
|
not be necessary, since now we do line/column fixup in |
125 |
|
the character decode handle). |
126 |
|
|
127 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
130 |
|
|
131 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
132 |
|
|
133 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
134 |
|
and |manakai_getc_until| to |manakai_read_until| to |
135 |
|
reduce the number of string copies. |
136 |
|
|
137 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* HTML.pm.src (parse_char_string): Use newly created |
140 |
|
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
141 |
|
standard feature to |open| a string as a filehandle, |
142 |
|
since Perl's string filehandle seems not supporting |ungetc| |
143 |
|
method correctly. |
144 |
|
(parse_char_stream): Define |{getc_until}| method. |
145 |
|
(DATA_STATE): Experimental support for |getc_until| feature. |
146 |
|
|
147 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* HTML.pm.src: Check points added to newly added branches. |
150 |
|
|
151 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
152 |
|
|
153 |
|
* HTML.pm.src: Remove |{char}|, which is no longer used. |
154 |
|
Remove |{entity_in_attr}| and |{last_attribute_value_state}| |
155 |
|
and replaced by |{prev_state}|. |
156 |
|
|
157 |
|
* mkhtmlparser.pl: Remove |{char}| feature. |
158 |
|
Remove |!!!back-next-input-character;| macro. |
159 |
|
|
160 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
161 |
|
|
162 |
|
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
163 |
|
entity related tokenizer states in favor of new states |
164 |
|
implementing the consume character reference algorithm. |
165 |
|
|
166 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* HTML.pm.src: "Consume a character reference" algorithm is |
169 |
|
now implemented as a tokenizer's state, rather than |
170 |
|
a method, with minimum changes (more changes will |
171 |
|
be made, in due course). "Bogus comment state"'s inner |
172 |
|
loop gets removed. |
173 |
|
|
174 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
175 |
|
|
176 |
|
* HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
177 |
|
into their own tokenizer states. |
178 |
|
|
179 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
180 |
|
|
181 |
|
* HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE| |
182 |
|
is split into three states. |
183 |
|
|
184 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
185 |
|
|
186 |
|
* HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into |
187 |
|
itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that |
188 |
|
no longer does the tokenizer have to push back next input |
189 |
|
characters in those states. |
190 |
|
|
191 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
193 |
|
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |
194 |
|
into four states so that no longer does the tokenizer have to push |
195 |
|
back next input characters in that state. |
196 |
|
|
197 |
|
2008-09-11 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* HTML.pm.src: Methods now accept additional parameter, $get_wrapper, |
200 |
|
which can be used to insert some wrapper between the character |
201 |
|
stream handle and the tokenizer. (It is currently not supported |
202 |
|
for |set_inner_html| for |Element|s). |
203 |
|
|
204 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
205 |
|
|
206 |
|
* HTML.pm.src: Ignore punctuations in charset names. |
207 |
|
|
208 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* ContentChecker.pm: Support for charset-layer error levels. |
211 |
|
|
212 |
|
* HTML.pm.src: Don't specify |text| argument for the |
213 |
|
|chardecode:fallback| error, since it is not the encoding |
214 |
|
being used alternatively. |
215 |
|
|
216 |
|
2008-09-06 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141). |
219 |
|
|
220 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
222 |
|
* CacheManifest.pm: Support for extensibility (HTML5 revision 2051). |
223 |
|
|
224 |
|
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
225 |
|
|
226 |
|
* HTML.pm.src: Bug fix and sync with the spec with regard |
227 |
|
to after after frameset insertion mode processing (HTML5 |
228 |
|
revision 1909). Note that the implementation was wrong |
229 |
|
per the old spec before the r1909 changes. |
230 |
|
|
231 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
232 |
|
|
233 |
|
* HTMLTable.pm: scope=auto algorithm fix synced with the |
234 |
|
spec (HTML5 revision 2093). |
235 |
|
($process_row): Algorithm step numbers synced with the |
236 |
|
spec (HTML5 revision 2092). |
237 |
|
|
238 |
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
239 |
|
|
240 |
* HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5 |
* HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5 |