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