1 |
|
2009-07-05 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src (_tree_construction_main): Put |table| in |p| in |
4 |
|
quirks mode (The Hixie Quirk, HTML5 revision 3132). |
5 |
|
|
6 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: <kegten> breaks out of <select> (HTML5 revision |
9 |
|
3163). |
10 |
|
|
11 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src: Don't change encoding to UTF-8 if the input |
14 |
|
encoding is UTF-16 (HTML5 revision 3204). |
15 |
|
|
16 |
|
2009-07-03 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* HTML.pm.src (parse_byte_stream): Don't change to another |
19 |
|
encoding if the input is UTF-16 (HTML5 revision 3205). |
20 |
|
|
21 |
|
2009-06-28 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* HTML.pm.src: |isindex| should no longer generate |p| element |
24 |
|
node (HTML5 revision 3236). |
25 |
|
|
26 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* ContentChecker.pm: Introduced new flag |has_autofocus|. Added |
29 |
|
support for new |id_type| value of |any|, which means any kind of |
30 |
|
element is allowed as a referenced element. |
31 |
|
|
32 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* ContentChecker.pm: Introduced |check_attrs2| method for the ease |
35 |
|
of defining codes for checking required attribute and as such. |
36 |
|
|
37 |
|
2008-12-12 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* IMTChecker.pm: Added more definitions for subtypes. |
40 |
|
|
41 |
|
2008-12-11 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
43 |
|
* URIChecker.pm: Some of |pos_end| values were wrong. |
44 |
|
|
45 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* ContentChecker.pm (check_element): Added support for "no |
48 |
|
referenced datalist" error. |
49 |
|
|
50 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* URIChecker.pm: Bug fix: It did not work unless |
53 |
|
Message::DOM::DOMImplementation has been |require|d. |
54 |
|
|
55 |
|
2008-12-06 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
|
* NanoDOM.pm (document_uri): New attribute. |
58 |
|
|
59 |
|
* ContentChecker.pm: Don't use methods not implemented by NanoDOM. |
60 |
|
|
61 |
|
2008-11-07 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* NanoDOM.pm (text_content): Don't create a Text node if the new |
64 |
|
value is empty. |
65 |
|
|
66 |
|
2008-11-06 Wakaba <wakaba@suika.fam.cx> |
67 |
|
|
68 |
|
* SWML/: New directory. |
69 |
|
|
70 |
|
2008-10-20 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* NanoDOM.pm (specified, all_declarations_processed, |
73 |
|
manakai_attribute_type): New attributes. |
74 |
|
|
75 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* NanoDOM.pm (Entity->new): Initialize ->child_nodes as an empty |
78 |
|
array. |
79 |
|
|
80 |
|
2008-10-19 Wakaba <wakaba@suika.fam.cx> |
81 |
|
|
82 |
|
* NanoDOM.pm (notation_name): New attribute. |
83 |
|
|
84 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* NanoDOM.pm (public_id, system_id): New attributes.a |
87 |
|
|
88 |
|
2008-10-18 Wakaba <wakaba@suika.fam.cx> |
89 |
|
|
90 |
|
* NanoDOM.pm (text_content): Moved to Node from Element. Setter |
91 |
|
implemented. |
92 |
|
(allowed_tokens, default_type, declared_type): Implemented. |
93 |
|
|
94 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* NanoDOM.pm (node_name): New attribute. |
97 |
|
(ELEMENT_TYPE_DEFINITION_NODE, ATTRIBUTE_DEFINITION_NODE): New |
98 |
|
constants. |
99 |
|
(create_element_type_definition_node, create_attribute_definition, |
100 |
|
create_notation, create_general_entity, |
101 |
|
get_element_type_definition_node, |
102 |
|
set_element_type_definition_node, get_general_entity_node, |
103 |
|
set_general_entity_node, get_notation_node, set_notation_node, |
104 |
|
get_attribute_definition_node, set_attribute_definition_node): New |
105 |
|
methods. |
106 |
|
(element_types, entities, notations, attribute_definitions): New |
107 |
|
attributes. |
108 |
|
(DocumentType): Support for child nodes, entities, notations, and |
109 |
|
element types. |
110 |
|
(Entity, Notation, ElementTypeDefinition, AttributeDefinition): |
111 |
|
New classes. |
112 |
|
|
113 |
|
* Dumper.pm: Support for general entities, notations, element type |
114 |
|
definitions, and attribute definitions. |
115 |
|
|
116 |
|
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* NanoDOM.pm (create_processing_instruction): New method. |
119 |
|
(xml_version, xml_encoding, xml_standalone): New attributes. |
120 |
|
(ProcessingInstruction): New class. |
121 |
|
|
122 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
|
* HTML.pm.src: Handling of end tags in the foreign content |
125 |
|
insertion mode was partially wrong, because of wrong bit |
126 |
|
operations. |
127 |
|
|
128 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* NanoDOM.pm (dom_config): New attribute (do nothing), for |
131 |
|
Whatpm::XML::Parser support. |
132 |
|
|
133 |
|
2008-10-14 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
135 |
|
* Makefile: New rule to make HTML/Tokenizer.pm is added. |
136 |
|
|
137 |
|
* HTML.pm.src: Tokenizer part moved to another file. |
138 |
|
|
139 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
140 |
|
|
141 |
|
* HTML.pm.src: Merge |DT_EL| and |DD_EL| as |DTDD_EL|. |
142 |
|
|
143 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
144 |
|
|
145 |
|
* HTML.pm.src: Element category constants redefined. |
146 |
|
|
147 |
|
2008-10-13 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* HTML.pm.src: Steps for CDATA/RCDATA elements in tree |
150 |
|
construction stage synced with the spec (HTML5 revisions 2139 and |
151 |
|
2302). |
152 |
|
|
153 |
|
2008-10-07 Wakaba <wakaba@suika.fam.cx> |
154 |
|
|
155 |
|
* ContentChecker.pm: New error level "html5_fact" added, which |
156 |
|
should be tentatively used until all of requirements are properly |
157 |
|
specced as RFC 2119 "MUST" in HTML5. |
158 |
|
|
159 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
160 |
|
|
161 |
|
* ContentChecker.pod: Note on internal flags is added. |
162 |
|
|
163 |
|
2008-10-05 Wakaba <wakaba@suika.fam.cx> |
164 |
|
|
165 |
|
* HTML.pm.src: An AAA bug fixed. |
166 |
|
|
167 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
169 |
|
* HTML.pm.src: If another node is inserted by the parser, don't |
170 |
|
reuse existing Text node to append a character (HTML5 revision |
171 |
|
2124). |
172 |
|
|
173 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
174 |
|
|
175 |
|
* HTML.pm.src: Support for <option> and <optgroup> in body (HTML5 |
176 |
|
revisions 1731 and 2128). |
177 |
|
|
178 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
179 |
|
|
180 |
|
* HTML.pm.src: Make <foreignObject> scoping (HTML5 revision 1837). |
181 |
|
Support for end tags of camelCase SVG elements were broken. A |
182 |
|
wrong error type text fixed. |
183 |
|
|
184 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
185 |
|
|
186 |
|
* HTML.pm.src: Drop redundant code (HTML5 revision 1731). |
187 |
|
|
188 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
190 |
|
* HTML.pm.src: Support for new definition of |param| and |source| |
191 |
|
start tag parsing (HTML5 revision 1731). |
192 |
|
|
193 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
194 |
|
|
195 |
|
* HTML.pm.src: <p> steps reimplemented (HTML5 revision 1731). |
196 |
|
|
197 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* HTML.pm.src: <li>, <dt>, and <dd> steps reimplemented (HTML5 |
200 |
|
revisions 1731 and 1831). |
201 |
|
|
202 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
203 |
|
|
204 |
|
* HTML.pm.src: Support for new flow (but not phrasing) elements (HTML5 |
205 |
|
revisions 1731 and 1778). Support for the </sarcasm> end tag (HTML5 |
206 |
|
revision 1731). |
207 |
|
|
208 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* HTML.pm.src: Support for |command| and |eventsource| elements (HTML5 |
211 |
|
revision 1731). End tags of |option| and |optgroup| elements are |
212 |
|
now optional (HTML5 revision 1731). |
213 |
|
|
214 |
|
2008-10-04 Wakaba <wakaba@suika.fam.cx> |
215 |
|
|
216 |
|
* HTML.pm.src: New "special" elements added to the list (HTML5 |
217 |
|
revision 1778). "strile" -> "strike". |
218 |
|
|
219 |
|
2008-10-02 Wakaba <wakaba@suika.fam.cx> |
220 |
|
|
221 |
|
* ContentType.pm (get_sniffed_type): Support for the "better" |
222 |
|
content sniffing (HTML5 revision 1927). In a case the official |
223 |
|
type was not returned when the method is invoked in the list |
224 |
|
context. |
225 |
|
|
226 |
|
2008-09-22 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* HTML.pm.src: Character references for non-space C0 characters, |
229 |
|
including U+000B VT, DEL character, noncharacter code points, are |
230 |
|
now converted to the U+FFFD character (cf. HTML5 revision 2138). |
231 |
|
|
232 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
233 |
|
|
234 |
|
* ContentChecker.pm: |form=""| check support added. |
235 |
|
|
236 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
237 |
|
|
238 |
|
* ContentChecker.pm: |contextmenu| validness is now checked using |
239 |
|
|id| and |id_type| properties, and |menu| property is removed. |
240 |
|
|
241 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
242 |
|
|
243 |
|
* ContentChecker.pm: Prepare for |form| |name| attribute's |
244 |
|
duplication checking. |
245 |
|
|
246 |
|
2008-09-21 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* HTML.pm.src (parse_byte_stream): Support (or non-support) for |
249 |
|
unsupported charset="" parameter value (HTML5 revision 2131). |
250 |
|
|
251 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
252 |
|
|
253 |
|
* HTML.pm.src: Reminding places where U+000B is allowed as a space |
254 |
|
character is fixed (cf. HTML5 revision 1738). |
255 |
|
|
256 |
|
* ContentChecker.pm, HTMLTable.pm: U+000B is no longer part of |
257 |
|
space characters (HTML5 revision 1738). |
258 |
|
|
259 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
260 |
|
|
261 |
|
* HTML.pm.src: The "anything else" case for the "after after body" |
262 |
|
insertion mode was not updated to swtich to the "in body" |
263 |
|
insertion mode. U+000B is no longer a space character for the |
264 |
|
purpose of tree construction phase (HTML5 revision 1738). |
265 |
|
|
266 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
268 |
|
* HTML.pm.src: U+000B is no longer a space character (HTML5 |
269 |
|
revision 1738). |
270 |
|
|
271 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* ContentType.pm: 0x0B is no longer a space character (HTML5 |
274 |
|
revision 1738). |
275 |
|
|
276 |
|
* HTML.pm.src: U+000B is no longer a space character for the |
277 |
|
algorithm for extracting an encoding from a Content-Type (HTML5 |
278 |
|
revision 1738). |
279 |
|
|
280 |
|
2008-09-20 Wakaba <wakaba@suika.fam.cx> |
281 |
|
|
282 |
|
* ContentChecker.pm ($IsInHTMLInteractiveContent): New. |
283 |
|
|
284 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
285 |
|
|
286 |
|
* LangTag.pm: Add checks for remaining requirements from RFC 4646. |
287 |
|
|
288 |
|
* mklangreg.pl: Sort 'Prefix' values by their length, to ease |
289 |
|
matching. |
290 |
|
|
291 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
292 |
|
|
293 |
|
* LangTag.pm: Warn for private use language subtags. Error level |
294 |
|
typos fixed. Support for Suppress-Script field. |
295 |
|
|
296 |
|
* mklangreg.pl: Support for dumping of nested structure. |
297 |
|
|
298 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
299 |
|
|
300 |
|
* LangTag.pm (check_rfc4646_langtag): Check if a tag is in the |
301 |
|
recommended case as per RFC 4646. |
302 |
|
|
303 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
304 |
|
|
305 |
|
* LangTag.pm (check_rfc4646_langtag): New method. |
306 |
|
|
307 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
308 |
|
|
309 |
|
* mklangreg.pl: New script. |
310 |
|
|
311 |
|
* Makefile: Updated for creation of the module for language subtag |
312 |
|
registry. |
313 |
|
|
314 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
315 |
|
|
316 |
|
* Makefile: WebIDL.html added. |
317 |
|
|
318 |
|
* WebIDL.pod: New documentation. |
319 |
|
|
320 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
321 |
|
|
322 |
|
* WebIDL.pm: Checker's error types are redefined. |
323 |
|
|
324 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
325 |
|
|
326 |
|
* WebIDL.pm: Parser's error types are redefined. Some forward |
327 |
|
compatible parsing bugs are fixed. Some unreachable codes are |
328 |
|
commented out. |
329 |
|
|
330 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
331 |
|
|
332 |
|
* WebIDL.pm: Support for the reminding extended attributes are |
333 |
|
added. It does not satisfy the definition that a forward |
334 |
|
interface declaration has an extended attribute. It seems that |
335 |
|
unless explicitly allowed multiple extended attributes with the |
336 |
|
same name is not allowed, though it is not explicitly mentioned in |
337 |
|
the spec. |
338 |
|
|
339 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
340 |
|
|
341 |
|
* WebIDL.pm: Unescapes extended attribute names and extended |
342 |
|
attribute identifiers. Preserve whether an extended attribute has |
343 |
|
an argument list of not. Support for extended attributes: |
344 |
|
Constructor, ExceptionConsts, IndexGetter, IndexSetter, |
345 |
|
NameGetter, NameSetter, and Null. |
346 |
|
(has_argument_list): New attribute. |
347 |
|
(idl_text): Stringifies argument lists, if any, even if it is |
348 |
|
empty. |
349 |
|
|
350 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
351 |
|
|
352 |
|
* HTML.pm.src: New state |PCDATA_STATE|. Use an empty string for |
353 |
|
|{s_kwd}| in DATA_STATE as default. |
354 |
|
|
355 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
356 |
|
|
357 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
358 |
|
by |{s_kwd}| in DATA_STATE. |
359 |
|
|
360 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
361 |
|
|
362 |
|
* HTML.pm.src: Shorten keys. |
363 |
|
|
364 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
365 |
|
|
366 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
367 |
|
pair, or noncharacter code points and non-Unicode code |
368 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
369 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
370 |
|
character stream error handlers. |
371 |
|
|
372 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
373 |
|
|
374 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
375 |
|
for null-namespace elements/attributes. |
376 |
|
|
377 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
378 |
|
as a hash. |
379 |
|
|
380 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
381 |
|
|
382 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
383 |
|
and |{next_char}| initializations are moved to initialization |
384 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
385 |
|
with |parse_char_stream|. |
386 |
|
|
387 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
388 |
|
|
389 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
390 |
|
invoke |manakai_read_until|, not only |read|, where |
391 |
|
possible, to decrease the number of |read| method calls. |
392 |
|
|
393 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
394 |
|
modification. |
395 |
|
|
396 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
397 |
|
|
398 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
399 |
|
would report character error from now. |
400 |
|
|
401 |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
402 |
|
|
403 |
* HTML.pm.src: White-space-leaded non-white-space character |
* HTML.pm.src: White-space-leaded non-white-space character |