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> |
239 |
|
|
240 |
|
* HTMLTable.pm: Zs is not what we want; we want White_Space! (HTML5 |
241 |
|
revision 2094). |
242 |
|
|
243 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
244 |
|
|
245 |
|
* ContentType.pm: Support for image/svg+xml (HTML5 revision 2096). |
246 |
|
|
247 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
248 |
|
|
249 |
|
* HTML.pm.src: '"' and "'" at the end of attribute |
250 |
|
name (after another attribute) now raise parse error (HTML5 |
251 |
|
revision 2123). Empty unquoted attribute values are no |
252 |
|
longer allowed (HTML5 revision 2122). |
253 |
|
|
254 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
255 |
|
|
256 |
|
* mkhtmlparser.pl: Support for MathML |definitionURL| attribute (HTML5 |
257 |
|
revision 2130). |
258 |
|
|
259 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
260 |
|
|
261 |
|
* ContentChecker.pm: |xml:lang| attribute value must be same |
262 |
|
as |lang| attribute value for HTML elements (HTML5 revision 2062 |
263 |
|
and so on). |
264 |
|
|
265 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
266 |
|
|
267 |
|
* ContentChecker.pm: Error level definition for |xml_id_error| |
268 |
|
was missing. |
269 |
|
|
270 |
|
* URIChecker.pm: The end of the URL should be marked as the |
271 |
|
error location for an empty path error. The position |
272 |
|
between the userinfo and the port components should be |
273 |
|
marked as the error location for an empty host error. |
274 |
|
|
275 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
276 |
|
|
277 |
|
* URIChecker.pm: Set parameters representing where in the |
278 |
|
value the error occurs for errors. Report unknown |
279 |
|
address format error in warning level, since address |
280 |
|
formats are rarely added. Path segments starting with "/.." |
281 |
|
were misinterpreted as a dot-segment. |
282 |
|
|
283 |
|
2008-08-30 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
285 |
|
* URIChecker.pm (check_iri_reference): Requires |
286 |
|
|Message::DOM::DOMImplementation|. |
287 |
|
|
288 |
|
2008-08-29 Wakaba <wakaba@suika.fam.cx> |
289 |
|
|
290 |
|
* IMTChecker.pm: Updated for the new error reporting architecture. |
291 |
|
|
292 |
|
* ContentChecker.pm: Error levels for IMTs are added. |
293 |
|
|
294 |
|
2008-08-17 Wakaba <wakaba@suika.fam.cx> |
295 |
|
|
296 |
|
* H2H.pm (_shift_token): Support for unquoted HTML attribute |
297 |
|
values. |
298 |
|
|
299 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
300 |
|
|
301 |
|
* CacheManifest.pm: Support for new style of error |
302 |
|
reports. |
303 |
|
|
304 |
|
* HTML.pm.src: Set line=1, column=1 to the document node. |
305 |
|
|
306 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
307 |
|
|
308 |
|
* ContentChecker.pm, RDFXML.pm: Pass {level} object to language tag |
309 |
|
and URL checkers. Support for more error levels for bogus |
310 |
|
langauge tag and URL "standards". |
311 |
|
|
312 |
|
* LangTag.pm, URIChecker.pm: Support for new style error |
313 |
|
level reporting. |
314 |
|
|
315 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
316 |
|
|
317 |
|
* ContentChecker.pm: Support for RDF/XML error levels. |
318 |
|
|
319 |
|
* HTMLTable.pm, RDFXML.pm: Support for new style of error level |
320 |
|
specifying. Error types are revised. |
321 |
|
|
322 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
323 |
|
|
324 |
|
* ContentChecker.pm: All error reporting method calls are |
325 |
|
renewed. |
326 |
|
|
327 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
328 |
|
|
329 |
|
* HTML.pm.src: All error type names and "text" parameters |
330 |
|
are revised. Use new style for "level" specification. |
331 |
|
|
332 |
|
* mkhtmlparser.pl: Use new style for "level" specification. |
333 |
|
|
334 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
335 |
|
|
336 |
|
* WebIDL.pm (parse_char_string): Simplified error |
337 |
|
reporting process for broken ignored valuetype definition. |
338 |
|
(Valuetype idl_text): Support for special "DOMString" name. |
339 |
|
|
340 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
341 |
|
|
342 |
|
* WebIDL.pm ($get_scoped_name): Append "::::" if the last |
343 |
|
terminal of the ScopedName is "DOMString", such that whether |
344 |
|
the last part of the scoped name is "DOMString" or "_DOMString" |
345 |
|
later. It is necessary to determine whether a |typedef| |
346 |
|
definition should be ignored or not. |
347 |
|
(parse_char_string): Unescape the identifier of |
348 |
|
exception members. |
349 |
|
($resolve): Return undef for builtin types and sequence<T> |
350 |
|
types (we might not have to do this, however...). |
351 |
|
(check): Support checking for Exceptions, Valuetypes, |
352 |
|
and Typedefs. |
353 |
|
($serialize_type): Support for "DOMString::::" syntax. |
354 |
|
(Typedef idl_text): Output Type as "DOMString" if it |
355 |
|
is really "DOMString" (i.e. its internal representation |
356 |
|
is "::DOMString::"). |
357 |
|
|
358 |
|
2008-08-03 Wakaba <wakaba@suika.fam.cx> |
359 |
|
|
360 |
|
* WebIDL.pm ($resolve): New code, based on resolve code |
361 |
|
for constant types in the |check| method. |
362 |
|
(check): Support for checking of attributes, operations, and |
363 |
|
arguments. |
364 |
|
(Attribute/Operation idl_text): Exception names in getraises, |
365 |
|
setraises, and raises clauses is serizlied by |$serialize_type| |
366 |
|
code. |
367 |
|
|
368 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
369 |
|
|
370 |
|
* WebIDL.pm ($integer): Order of selections are changed to match |
371 |
|
hexadecimal numbers (the original pattern, taken from the spec, |
372 |
|
was not work for hexadecimal numbers, because the "0" prefix |
373 |
|
matches to the [0-7]* part (as an empty string) and therefore |
374 |
|
it does not match with remaining "x..." part of a "0x..." integer |
375 |
|
literal. |
376 |
|
($get_type): It now returns a string, not an array reference, |
377 |
|
for regular types and |sequence| types (i.e. it in any case |
378 |
|
returns a string). |
379 |
|
($get_next_token): The second item in the array that represents |
380 |
|
a integer or float token is now a Perl number value, not the |
381 |
|
original string representation of the number. |
382 |
|
(check): Support for const value consistency checking. |
383 |
|
No extended attribute is defined for constants. |
384 |
|
(Node subclasses): Use simple strings rather than array references |
385 |
|
for default data type values. |
386 |
|
($serialize_type): Type values are now simple strings. |
387 |
|
(value): If the new attribute value is a false value, then |
388 |
|
a FALSE value is set to the attribute. |
389 |
|
|
390 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
391 |
|
|
392 |
|
* WebIDL.pm ($get_scoped_name): Now scoped names are stored |
393 |
|
in its stringified format ("scoped name" as defined in the |
394 |
|
spec). Note that future version of this module should not use |
395 |
|
array references for type values and the |type_text| attribute |
396 |
|
should be made obsolete. |
397 |
|
(parse_char_string): Unescape attribute names. |
398 |
|
(check): Support for checking of whether inherited interfaces |
399 |
|
are actually defined or not. Support for checking of whether |
400 |
|
interface member identifiers are duplicated or not. |
401 |
|
($serialize_type): Scoped names are returned as is. A future |
402 |
|
version of this code should escape identifiers other than "DOMString", |
403 |
|
otherwise the idl_text would be non-conforming. |
404 |
|
|
405 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
406 |
|
|
407 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
408 |
|
to generated nodes. Unescape identifiers. Extended attributes |
409 |
|
for Definition's were ignored. |
410 |
|
(append_child): Set |parent_node| attribute. |
411 |
|
(parent_node): New attribute. |
412 |
|
(check): Support interface/exception members. Support |
413 |
|
extended attributes. Support definition identifier uniqueness |
414 |
|
constraint. |
415 |
|
(qualified_name): New attribute. |
416 |
|
(Interface/Exception idl_text): Extended attributes were |
417 |
|
not prepended to the returned text. |
418 |
|
|
419 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
420 |
|
|
421 |
|
* WebIDL.pm (parse_char_string): Set line/column numbers |
422 |
|
to interface object experimentally. s/shift/pop/g, shift |
423 |
|
would make things wrong. Support for interface forward |
424 |
|
declarations was missing. Broken interface declarations |
425 |
|
with no block were not ignored entirely. |
426 |
|
(Whatpm::WebIDL::Node): New abstract class. This class |
427 |
|
makes things easier. |
428 |
|
(child_nodes): New attribute. Unlike DOM's attribute with |
429 |
|
same name, this attribute returns a dead list of nodes for |
430 |
|
simplicity. |
431 |
|
(get_user_data, set_user_data): New methods. |
432 |
|
(Module idl_text): A SPACE character should be inserted |
433 |
|
before the |{| character. |
434 |
|
(Interface idl_text): Support for interface forward declarations. |
435 |
|
(is_forward_declaration): New attribute. |
436 |
|
|
437 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
438 |
|
|
439 |
|
* WebIDL.pm (type_text): Better serializer. |
440 |
|
|
441 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
442 |
|
|
443 |
|
* WebIDL.pm: Revise forward-compatible parsing so that |
444 |
|
it now can handle broken extended attributes and as such. |
445 |
|
|
446 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
447 |
|
|
448 |
|
* WebIDL.pm: Real support for extended attributes. |
449 |
|
Support for extended attributes with arguments. |
450 |
|
|
451 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
452 |
|
|
453 |
|
* WebIDL.pm: Support for |exception| syntax. |
454 |
|
(Interface->idl_text): Tentative support for inheritances. |
455 |
|
|
456 |
|
2008-07-19 Wakaba <wakaba@suika.fam.cx> |
457 |
|
|
458 |
|
* WebIDL.pm: Hierarchical scoped name support was broken. |
459 |
|
Support for raises, setraises, and getraises syntaxes. |
460 |
|
|
461 |
|
2008-07-18 Wakaba <wakaba@suika.fam.cx> |
462 |
|
|
463 |
|
* WebIDL.pm: Support for |idl_text| attribute, version 1 (no |
464 |
|
proper support for types, extended attributes, and exceptions yet). |
465 |
|
WebIDL parser, version 1 (no support for exceptions yet, |
466 |
|
no proper support for extended attributes yet). |
467 |
|
|
468 |
|
2008-07-09 Wakaba <wakaba@suika.fam.cx> |
469 |
|
|
470 |
|
* WebIDL.pm (parse_char_string): Support for basic attribute syntax. |
471 |
|
|
472 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
473 |
|
|
474 |
|
* WebIDL.pm: Support for valuetype and const. |
475 |
|
|
476 |
|
2008-06-29 Wakaba <wakaba@suika.fam.cx> |
477 |
|
|
478 |
|
* WebIDL.pm: New module. |
479 |
|
|
480 |
|
2008-06-15 Wakaba <wakaba@suika.fam.cx> |
481 |
|
|
482 |
|
* Makefile (Entities.html): URI changed. |
483 |
|
|
484 |
|
2008-06-08 Wakaba <wakaba@suika.fam.cx> |
485 |
|
|
486 |
|
* HTML.pm.src: Support for ruby parsing (HTML5 revision 1704). |
487 |
|
|
488 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
489 |
|
|
490 |
|
* HTML.pm.src (_get_next_token): A parse error was missing. |
491 |
|
|
492 |
|
2008-06-01 Wakaba <wakaba@suika.fam.cx> |
493 |
|
|
494 |
|
* mklinktypelist.pl: rel=contact is no longer part of the HTML5 |
495 |
|
spec (commented out). (HTML5 revision 1711). |
496 |
|
|
497 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
498 |
|
|
499 |
|
* ContentType.pm: Drop support for UTF-32 (HTML5 revision 1701). |
500 |
|
|
501 |
|
* HTML.pm.src: UTF-16BE and UTF-16LE should be considered |
502 |
|
as UTF-16 (HTML5 revision 1701). |
503 |
|
|
504 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
505 |
|
|
506 |
|
* HTML.pm.src: Support for <noframes> in <head> (HTML5 revision |
507 |
|
1692). |
508 |
|
|
509 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
510 |
|
|
511 |
|
* HTML.pm.src: The secondary insertion mode used when switching |
512 |
|
to foreign content is the "in body" insertion mode (HTML5 revision |
513 |
|
1696). |
514 |
|
|
515 |
|
2008-05-25 Wakaba <wakaba@suika.fam.cx> |
516 |
|
|
517 |
|
* HTML.pm.src: Don't raise parse error for <isindex/> (HTML5 |
518 |
|
revision 1697). |
519 |
|
|
520 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
521 |
|
|
522 |
|
* HTML.pm.src: Support for end-of-file token in foreign content |
523 |
|
insertion mode (HTML5 revision 1693). Update SVG camelCase |
524 |
|
attribute list (HTML5 revision 1700). <textarea> closes |
525 |
|
</select> (HTML5 revision 1699). More start tags close in |
526 |
|
foreign content insertion mode (HTML5 revision 1698). |
527 |
|
|
528 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
529 |
|
|
530 |
|
* HTML.pm.src: ";" is not part of charset name (HTML5 revision 1665). |
531 |
|
|
532 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
533 |
|
|
534 |
|
* HTML.pm.src: More robust charset parameter detection (HTML5 |
535 |
|
revision 1674). |
536 |
|
|
537 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
538 |
|
|
539 |
|
* ContentType.pm: Support for image/vnd.microsoft.icon (HTML5 |
540 |
|
revision 1676). |
541 |
|
|
542 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
543 |
|
|
544 |
|
* HTML.pm.src: Ignore language part of public identifiers for |
545 |
|
quriks mode detection (HTML5 revision 1679). |
546 |
|
|
547 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
548 |
|
|
549 |
|
* HTML.pm.src: Reduce the number of errors in truncated doctypes (HTML5 |
550 |
|
revision 1685). |
551 |
|
|
552 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
553 |
|
|
554 |
|
* HTML.pm.src: Support for EOF in new states for tags (HTML5 |
555 |
|
revision 1684). |
556 |
|
|
557 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
558 |
|
|
559 |
|
* HTML.pm.src (_reset_insertion_mode): Make <td>.innerHTML |
560 |
|
work (HTML5 revision 1690). |
561 |
|
|
562 |
|
2008-05-24 Wakaba <wakaba@suika.fam.cx> |
563 |
|
|
564 |
|
* HTML.pm.src (_tree_construction_main): Change handling of |
565 |
|
end tags in head insertion modes (HTML5 revision 1686). |
566 |
|
(parse_char_string): Bug fix for non-utf8 character string handlings. |
567 |
|
(parse_char_stream): |ungetc| does not work well for this context. |
568 |
|
|
569 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
570 |
|
|
571 |
|
* HTML.pm.src (parse_byte_string): Redefined to invoke |
572 |
|
|parse_byte_stream|. |
573 |
|
(parse_byte_stream): New method. |
574 |
|
|
575 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
576 |
|
|
577 |
|
* HTML.pm.src (parse_byte_string): Fix the column number reported |
578 |
|
by encoding layer error reporter. |
579 |
|
|
580 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
581 |
|
|
582 |
|
* HTML.pm.src (parse_byte_string): Use streaming decoder |
583 |
|
rather than converting the whole byte string and then parsing. |
584 |
|
Propagate errors in character encoding layer. |
585 |
|
(get_next_token): Precise error reporting for |bare stago| error. |
586 |
|
|
587 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
588 |
|
|
589 |
|
* HTML.pm.src (parse_char_stream): New method. |
590 |
|
(parse_char_string): This method is now defined as an invocation |
591 |
|
of the |parse_char_stream| method. |
592 |
|
|
593 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
594 |
|
|
595 |
|
* HTML.pm.src (parse_byte_string): Report various status |
596 |
|
of the sniffing as info-level errors. Support for new |
597 |
|
decoding framework in parser resestting. |
598 |
|
(new): Various default error levels were not set. |
599 |
|
|
600 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
601 |
|
|
602 |
|
* HTML.pm.src (parse_byte_string): HTML5 encoding siniffing |
603 |
|
algorithm, except for the actual sniffing, is implemented |
604 |
|
with new framework with Message::Charset::Info. |
605 |
|
|
606 |
|
2008-05-16 Wakaba <wakaba@suika.fam.cx> |
607 |
|
|
608 |
|
* CacheManifest.pm (_parse): Drop fragment identifiers from |
609 |
|
URIs in fallback section (HTML5 revision 1596). |
610 |
|
|
611 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
612 |
|
|
613 |
|
* Makefile (Entities.html): URI has changed. |
614 |
|
|
615 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
616 |
|
|
617 |
|
* CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision |
618 |
|
1553). |
619 |
|
|
620 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
621 |
|
|
622 |
|
* ContentChecker.pm: Noted that those returned in |table| are |
623 |
|
no longer table elements, but table objects returned |
624 |
|
by Whatpm::HTMLTable. |
625 |
|
|
626 |
|
* HTMLTable.pm (form_table): Return table element node |
627 |
|
as |$table->{element}|. |
628 |
|
(assign_header): Support for the |headers=""| attribute. |
629 |
|
|
630 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
631 |
|
|
632 |
|
* HTMLTable.pm (assign_header): New function; first version |
633 |
|
with no support for headers="". |
634 |
|
(form_table): Include table width and height to the returned |
635 |
|
table object for covenience. Indexing in column assignement was wrong. |
636 |
|
Set whether a data cell is empty or not for convenience. |
637 |
|
|
638 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
639 |
|
|
640 |
|
* HTMLTable.pm: Robuster caption support (HTML5 revision 1393). |
641 |
|
|
642 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
643 |
|
|
644 |
|
* HTMLTable.pm: How table model errors are detected is |
645 |
|
changed (HTML5 revision 1387). |
646 |
|
|
647 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
648 |
|
|
649 |
|
* HTMLTable.pm: The algorithm now moves |tfoot| elements |
650 |
|
to the end of the table (HTML5 revision 1380). |
651 |
|
|
652 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
653 |
|
|
654 |
|
* HTMLTable.pm: The algorithm is now 0-based indexing, instead |
655 |
|
of 1-based (HTML5 revision 1376). |
656 |
|
|
657 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
658 |
|
|
659 |
|
* ContentType.pm: "Content-Type: text/plain; charset=UTF-8" |
660 |
|
and "Content-Encoding" no longer prevent sniffing (HTML5 |
661 |
|
revision 1288). |
662 |
|
|
663 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
664 |
|
|
665 |
|
* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision |
666 |
|
1282). |
667 |
|
|
668 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
669 |
|
|
670 |
|
* ContentChecker.pm: Support for global attributes. |
671 |
|
Status of XML specs are added. |
672 |
|
|
673 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
674 |
|
|
675 |
|
* ContentChecker.pm (check_element): Support for |template=""| |
676 |
|
and |ref=""| attribute (referent element type checking). |
677 |
|
|
678 |
|
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
679 |
|
|
680 |
|
* CacheManifest.pm (_parse): New same origin definition (HTML5 revision |
681 |
|
1500) is implemented (except for IDNA part and URI-scheme-specific |
682 |
|
knowledge). Line number counting was wrong for LF-only |
683 |
|
documents. |
684 |
|
|
685 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
686 |
|
|
687 |
|
* HTML.pm.src: Raise an parse error for any disallowed |
688 |
|
character (HTML5 revision 1263). |
689 |
|
|
690 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
691 |
|
|
692 |
|
* mkentitylist.pl: Support for new HTML5 entity table format (the |
693 |
|
definition for |AElig;| was missing). |
694 |
|
|
695 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
696 |
|
|
697 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
698 |
|
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
699 |
|
|
700 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
701 |
|
|
702 |
|
* HTML.pm.src: List of element names that close foreign content |
703 |
|
insertion mode is added (HTML5 revisions 1412 and 1418). |
704 |
|
|
705 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
706 |
|
|
707 |
|
* HTML.pm.src: Support for |mglyph| and |malignmark| |
708 |
|
elements (HTML5 revision 1410). |
709 |
|
|
710 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
711 |
|
|
712 |
|
* HTML.pm.src: Support for new long MathML entities (HTML5 |
713 |
|
revision 1406). |
714 |
|
|
715 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
716 |
|
|
717 |
|
* HTML.pm.src: CDATA section support for MathML and SVG |
718 |
|
elements (HTML5 revision 1404 and 1420). |
719 |
|
|
720 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
721 |
|
|
722 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
723 |
|
elements (HTML5 revision 1404). Unused !!!macro definitions |
724 |
|
are removed. |
725 |
|
|
726 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
727 |
|
|
728 |
|
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
729 |
|
are raised is changed (HTML5 revision 1404). |
730 |
|
|
731 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
732 |
|
|
733 |
|
* HTML.pm.src: Category sets that are no longer used are removed. |
734 |
|
|
735 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
736 |
|
|
737 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
738 |
|
replaced by constants representing element category. |
739 |
|
|
740 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
741 |
|
|
742 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
743 |
|
for error reporting. (This is a preparation for using constant |
744 |
|
value for ->[1].) |
745 |
|
|
746 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
747 |
|
|
748 |
|
* RDFXML.pm: Typo fixed. |
749 |
|
|
750 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
751 |
|
|
752 |
|
* ContentChecker.pm: |fact_level| is now treated |
753 |
|
as same as |must_level|, i.e. level = |m|. |
754 |
|
(check_element): Make list of URIs in the DOM. |
755 |
|
|
756 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
757 |
|
|
758 |
|
* RDFXML.pm: Language accessor implemented. |
759 |
|
Local (null-namespace) attribute support. |
760 |
|
|
761 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
762 |
|
|
763 |
|
* RDFXML.pm: Factored out ID checking code. |
764 |
|
|
765 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
766 |
|
|
767 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
768 |
|
and URI attributes is implemented. Warn if unknown |
769 |
|
value is used in rdf:parseType="" attribute. |
770 |
|
|
771 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
772 |
|
|
773 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
774 |
|
|
775 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
776 |
|
are now resolved. |
777 |
|
|
778 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
779 |
|
|
780 |
|
* ContentChecker.pm: RDF reification implemented. |
781 |
|
|
782 |
|
* RDFXML.pm: undef vs false bug fixed. |
783 |
|
Reification implemented. |
784 |
|
|
785 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
786 |
|
|
787 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
788 |
|
The |node| arguments are added for |ontriple| calls. |
789 |
|
Too many "attribute not allowed" errors were raised. |
790 |
|
|
791 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
792 |
|
element. |
793 |
|
|
794 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
795 |
|
|
796 |
|
* RDFXML.pm: New module. |
797 |
|
|
798 |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
799 |
|
|
800 |
* HTML.pm.src (set_inner_html): Line/column number |
* HTML.pm.src (set_inner_html): Line/column number |