1 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* TypeInfo.pm: New Perl module. |
4 |
|
|
5 |
|
* Attr.pm: Use |manakai_local_name| rather than |local_name| |
6 |
|
to avoid HTML5 case normalization. |
7 |
|
(is_id): Implemented. |
8 |
|
(manakai_name): New attribute. |
9 |
|
(schema_type_info): Implemented. |
10 |
|
(create_attribute_ns): Empty string as namespace URI |
11 |
|
was not supported. |
12 |
|
|
13 |
|
* DOMElement.pm (clone_node): Removed since now it is |
14 |
|
defined in |Node.pm|. |
15 |
|
(schema_type_info): Implemented. |
16 |
|
(manakai_tag_name): New attribute. |
17 |
|
(get_attribute, get_attribute_node, get_attribute_ns, |
18 |
|
get_attribute_node_ns, has_attribute, has_attribute_ns, |
19 |
|
remove_attribute, remove_attribute_ns, |
20 |
|
remove_attribute_node, set_attribute, set_attribute_ns, |
21 |
|
set_id_attribute, set_id_attribute_node, |
22 |
|
set_id_attribute_ns): Implemented. |
23 |
|
(create_element_ns): Empty string as namespace URI |
24 |
|
was not supported. |
25 |
|
|
26 |
|
2007-07-12 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* AttributeDefinition.pm (owner_element_type_definition): Implemented. |
29 |
|
|
30 |
|
* DocumentType.pm (create_document_type_definition): Initialize |
31 |
|
|public_id|, |system_id|, and |internal_subset| attributes |
32 |
|
by empty strings for compatibility with Web browsers. |
33 |
|
(create_document_type): Initialize |internal_subset| |
34 |
|
attribute by an empty string for compatibility with |
35 |
|
Web browsers. |
36 |
|
|
37 |
|
* ElementTypeDefinition.pm, Entity.pm, |
38 |
|
Notation.pm (owner_document_type_definition): Implemented. |
39 |
|
|
40 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration| |
43 |
|
feature is added for compatibility with |XMLParserTemp.pm|. |
44 |
|
|
45 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* Attr.pm (value, node_value): Now it is defined |
48 |
|
as |text_content| itself. |
49 |
|
|
50 |
|
* AttributeDefinition.pm, ElementTypeDefinition.pm, |
51 |
|
Node.pm (AUTOLOAD): Unused block is removed. |
52 |
|
|
53 |
|
* CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed. Unused. |
54 |
|
|
55 |
|
* DocumentType.pm (internal_subset): Implemented. |
56 |
|
|
57 |
|
* Entity.pm (is_externally_declared, input_encoding, |
58 |
|
xml_version): Implemented. |
59 |
|
|
60 |
|
* ProcessingInstruction.pm (target, data): Implemented. |
61 |
|
|
62 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* DOMCharacterData.pm (AUTOLOAD): Removed. |
65 |
|
(data): Reimplemented. |
66 |
|
(delete_data, insert_data, replace_data, substring_data): There were |
67 |
|
a number of bugs. |
68 |
|
|
69 |
|
* Text.pm (AUTOLOAD): Removed. Unused. |
70 |
|
|
71 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
73 |
|
* StringExtended.pm: New Perl module. |
74 |
|
|
75 |
|
* DOMCharacterData.pm (length, append_data, delete_data, |
76 |
|
insert_data, replace_data, substring_data): Implemented. |
77 |
|
|
78 |
|
* DOMException.pm (INDEX_SIZE_ERR): Implemented. |
79 |
|
|
80 |
|
* Text.pm (is_element_content_whitespace, whole_text, |
81 |
|
split_text): Implemented. |
82 |
|
|
83 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* DOMElement.pm (attributes): Implemented. |
86 |
|
|
87 |
|
* DOMException.pm (INUSE_DEFINITION_ERR): New error type. |
88 |
|
|
89 |
|
* DocumentType.pm (entities, general_entities, |
90 |
|
notations, element_types): Implemented. |
91 |
|
|
92 |
|
* ElementTypeDefinition.pm (attribute_definitions): Implemented. |
93 |
|
|
94 |
|
* NamedNodeMap.pm: New Perl module. |
95 |
|
|
96 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm, |
99 |
|
DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm, |
100 |
|
Node.pm, Notation.pm, ProcessingInstruction.pm (append_child, |
101 |
|
insert_before, replace_child): Implemented. |
102 |
|
|
103 |
|
* DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented. |
104 |
|
|
105 |
|
* Node.pm (remove_child): Implemented. |
106 |
|
|
107 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
108 |
|
|
109 |
|
* Node.pm (==, is_equal_node): Implemented. |
110 |
|
(is_same_node): Implemented. |
111 |
|
(get_feature, get_user_data, set_user_data): Implemented. |
112 |
|
(is_supported): Implemented. |
113 |
|
|
114 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* DOMDocument.pm (get_element_by_id): Implemented. |
117 |
|
(create_document): Implemented. |
118 |
|
|
119 |
|
* DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New |
120 |
|
errors. |
121 |
|
(QNAME_NULLNS_ERR): New errors. |
122 |
|
|
123 |
|
* DocumenType.pm (create_document_type): Implemented. |
124 |
|
|
125 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
126 |
|
|
127 |
|
* CDATASection.pm (is_element_content_whitespace): New. |
128 |
|
|
129 |
|
* DOMElement.pm (has_attribute): Alpha version. |
130 |
|
(create_element, create_element_ns): Implemented. |
131 |
|
|
132 |
|
* DocumentType.pm (get_general_entity_node): Alpha version. |
133 |
|
|
134 |
|
* EntityReference.pm (create_entity_reference): Implemented. |
135 |
|
|
136 |
|
* ProcessingInstruction.pm (create_processing_instruction): Implemented. |
137 |
|
|
138 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
139 |
|
|
140 |
|
* Attr.pm (create_attribute, create_attribute_ns): Implemented. |
141 |
|
|
142 |
|
* DOMDocument.pm: Load character classes from |Char::Class::XML|. |
143 |
|
(compat_mode): Check |defined| not to be warned as "uninitialized" |
144 |
|
when |{manakai_compat_mode}| is |undef|. |
145 |
|
|
146 |
|
* DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added. |
147 |
|
|
148 |
|
* DOMImplementationRegistry.pm, DOMImplementationSource.pm: |
149 |
|
Statements to set |$Error::Depth| are removed since they |
150 |
|
are result in "uninitialized" warnings unless |
151 |
|
the |Message::DOM::DOMException| module is loaded earlier. |
152 |
|
Usually methods invoked in these methods does not |
153 |
|
raise any exception so that it makes no difference. |
154 |
|
|
155 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
157 |
|
* DOMDocument.pm (adopt_node): Implemented. |
158 |
|
(doctype): Implemented. |
159 |
|
|
160 |
|
* DOMElement.pm (remove_attribute_node): Alpha version. |
161 |
|
|
162 |
|
* DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New |
163 |
|
error type. |
164 |
|
|
165 |
|
* Node.pm (set_user_data): Implemented. |
166 |
|
|
167 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
169 |
|
* DOMImplementation.pm (new): New method name for |____new|. |
170 |
|
It will be defined in the DOM Perl Binding specification |
171 |
|
as part of |DOMImplementation| interface. |
172 |
|
($HasFeature): Defined for features support. |
173 |
|
(has_feature, get_feature): Implemented. |
174 |
|
|
175 |
|
* DOMStringList.pm: Don't load the |Message::DOM::DOMException| |
176 |
|
module unless necessary. |
177 |
|
(___report_error): Removed since it is not used in fact. |
178 |
|
|
179 |
|
* DOMImplementationList.pm, DOMImplementationSource.pm, |
180 |
|
DOMImplementationRegistry.pm: New modules. |
181 |
|
|
182 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* AttributeDefinition.pm (allowed_tokens): Implemented. |
185 |
|
|
186 |
|
* DOMStringList.pm: New Perl module. |
187 |
|
|
188 |
|
2007-06-26 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
190 |
|
* DOMElement.pm (clone_node): Alpha version. It did not work |
191 |
|
at all. |
192 |
|
|
193 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
194 |
|
|
195 |
|
* ProcessingInstruction.pm (data): Now it is a read-write attribute. |
196 |
|
|
197 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented. |
200 |
|
(manakai_is_html): Revised. |
201 |
|
(Document): Now it implements the |HTMLDocument| interface. |
202 |
|
(adopt_node): Alpha version. |
203 |
|
|
204 |
|
* AttributeDefinition.pm (allowed_tokens): |allowed_tokens|, |
205 |
|
not |allowed_token|! |
206 |
|
|
207 |
|
* ElementTypeDefinition.pm (attribute_definitions): Don't |
208 |
|
return an |undef| even if its |attribute_definitions| |
209 |
|
list is not created. |
210 |
|
|
211 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* Comment.pm (node_type): Node type was incorrect! |
214 |
|
|
215 |
|
* DOMConfiguration.pm (get_parameter): Alpha. |
216 |
|
|
217 |
|
* DOMImplementation.pm (create_mc_decode_handler, |
218 |
|
create_charset_name_from_uri, create_uri_from_charset_name): |
219 |
|
New autoload configuration. Note that the Message::Charset::Encode |
220 |
|
module is subject to change. |
221 |
|
|
222 |
|
* XMLParserTemp.pm: Now it can be used with new version |
223 |
|
of DOM implementation. Current plan is to replace it by |
224 |
|
an XML5 parser someday. |
225 |
|
|
226 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* DOMLocator.pm: New module. |
229 |
|
|
230 |
|
* DOMError.pm: New module. |
231 |
|
|
232 |
|
2007-06-20 Wakaba <wakaba@suika.fam.cx> |
233 |
|
|
234 |
|
* Node.pm (manakai_expanded_uri, manakai_parent_element, |
235 |
|
clone_node, compare_document_position, has_attributes, |
236 |
|
has_child_nodes, is_default_namespace, lookup_namespace_uri, |
237 |
|
lookup_prefix, normalize): Implemented. |
238 |
|
|
239 |
|
* DOMElement.pm (remove_attribute, set_attribute): Alpha version. |
240 |
|
|
241 |
|
* DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error. |
242 |
|
|
243 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
244 |
|
|
245 |
|
* AttributeDefinition.pm (____new): Set an empty list |
246 |
|
to the |allowed_tokens| attribute. |
247 |
|
(allowed_token): Alpha version. |
248 |
|
|
249 |
|
* DocumentType.pm (get_element_type_definition_node, |
250 |
|
get_notation_node): ALpha version. |
251 |
|
|
252 |
|
* ElementTypeDefinition.pm (attribute_definitions): Alpha 2 |
253 |
|
version. |
254 |
|
|
255 |
|
* Entity.pm (notation_name): Implemented. |
256 |
|
|
257 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
258 |
|
|
259 |
|
* Attr.pm (____new): Initialize |specified| as 1. |
260 |
|
(base_uri, manakai_attribute_type, specified): Implemented. |
261 |
|
(prefix): Don't check read-only flag unless |strict_error_checking|. |
262 |
|
(value): Call |text_content| for now. |
263 |
|
|
264 |
|
* AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added. |
265 |
|
(declared_type, default_type): Implemented. |
266 |
|
|
267 |
|
* CharacterData.pm (____new): Allow a scalar reference |
268 |
|
as an input for the |data| attribute. |
269 |
|
(base_uri, manakai_append_text): Implemented. |
270 |
|
|
271 |
|
* DOMConfiguration.pm (set_parameter): Resetting implemented. |
272 |
|
|
273 |
|
* DOMDocument.pm (____new): Set default values to |
274 |
|
configuration parameter whose default is true. |
275 |
|
(document_uri, input_encoding): Implemented. |
276 |
|
(all_declarations_processed, manakai_is_html): Implemented. |
277 |
|
(base_uri, manakai_append_text, |
278 |
|
manakai_entity_base_uri, strict_error_checking, |
279 |
|
xml_encoding, xml_version, xml_standalone): Implemented. |
280 |
|
|
281 |
|
* DOMElement.pm (manakai_base_uri, base_uri): Implemented. |
282 |
|
(get_attribute, get_attribute_node): Alpha version. |
283 |
|
(set_attribute_node, set_attribute_node_ns): Implemented. |
284 |
|
(set_attribute_ns): Accept non-ARRAY qualified name. |
285 |
|
|
286 |
|
* DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|, |
287 |
|
|NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added. |
288 |
|
|
289 |
|
* DocumentType.pm (public_id, system_id): Implemented. |
290 |
|
(base_uri, declaration_base_uri, manakai_declaration_base_uri, |
291 |
|
manakai_append_text): Implemented. |
292 |
|
(element_types, general_entities, notations, |
293 |
|
set_element_type_definition_node, set_general_entity_node, |
294 |
|
set_notation_node): Alpha version. |
295 |
|
|
296 |
|
* ElementTypeDefinition.pm (manakai_append_text): Implemented. |
297 |
|
(attribute_definitions, set_attribute_definition_node): Alpha version. |
298 |
|
|
299 |
|
* Entity.pm (has_replacement_tree, public_id, system_id, |
300 |
|
manakai_declaration_base_uri, manakai_entity_base_uri, |
301 |
|
manakai_entity_uri): Implemented. |
302 |
|
|
303 |
|
* EntityReference.pm (manakai_expanded, manakai_external): Implemented. |
304 |
|
(base_uri, manakai_entity_base_uri): Implemented. |
305 |
|
|
306 |
|
* Node.pm (base_uri): Implemented. |
307 |
|
(text_content): Don't check read-only or not |
308 |
|
unless |strict_error_checking|. |
309 |
|
(manakai_append_text): Implemented. |
310 |
|
(get_feature): Alpha. |
311 |
|
(manakai_set_read_only): Implemented. |
312 |
|
|
313 |
|
* Notation.pm (public_id, system_id, manakai_append_text, |
314 |
|
manakai_declaration_base_uri): Implemented. |
315 |
|
|
316 |
|
* ProcessingInstruction.pm (manakai_base_uri, |
317 |
|
base_uri, manakai_append_text): Implemented. |
318 |
|
|
319 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
320 |
|
|
321 |
|
* DOMConfiguration.pm: New module. |
322 |
|
|
323 |
|
* Attr.pm (trivial accessor for read-write attributes): Throw |
324 |
|
an exception if the node is read-only. Delete the property |
325 |
|
if undef is specified. |
326 |
|
(prefix): Implemented. |
327 |
|
|
328 |
|
* DOMElement.pm (trivial accessor for read-write attributes): Throw |
329 |
|
an exception if the node is read-only. Delete the property |
330 |
|
if undef is specified. |
331 |
|
(prefix): Implemented. |
332 |
|
(text_content, manakai_append_text): Old implementations are removed. |
333 |
|
|
334 |
|
* DOMCharacterData.pm (text_content): Implemented. |
335 |
|
|
336 |
|
* DOMDocument.pm (____new): Initialize the strict-document-children |
337 |
|
parameter by true. |
338 |
|
(text_content): Reimplemented. |
339 |
|
(dom_config): New. |
340 |
|
|
341 |
|
* DOMException.pm (READ_ONLY_NODE_ERR): New subtype. |
342 |
|
|
343 |
|
* DocumentType.pm (text_content): Implemented. |
344 |
|
|
345 |
|
* ElementTypeDefinition.pm (text_content): Implemented. |
346 |
|
|
347 |
|
* Node.pm (___report_error): New method. |
348 |
|
(text_content): Implemented. |
349 |
|
(manakai_append_text): Copied from |DOMElement.pm|. |
350 |
|
|
351 |
|
* Notation.pm (text_content): Implemented. |
352 |
|
|
353 |
|
* ProcessingInstruction.pm (text_content): Implemented. |
354 |
|
|
355 |
|
* Text.pm (is_element_content_whitespace): Alpha version. |
356 |
|
|
357 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
358 |
|
|
359 |
|
* DOMException.pm (Message::IF::DOMException): Extends |
360 |
|
the |Message::Util::Error| class. |
361 |
|
|
362 |
|
* NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class. |
363 |
|
(CLEAR): Not all items were removed. |
364 |
|
|
365 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
366 |
|
|
367 |
|
* Attr.pm, AttributeDefinition.pm, DocumentFragment.pm, |
368 |
|
DocumentType.pm, Entity.pm, |
369 |
|
EntityReference.pm (____new): Initialize |child_nodes| by an empty list. |
370 |
|
|
371 |
|
* Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm, |
372 |
|
Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned. |
373 |
|
|
374 |
|
* DOMDocument.pm (AUTOLOAD): Typo fixed. |
375 |
|
|
376 |
|
* Node.pm (==, !=): Implemented. |
377 |
|
(manakai_read_only): Implemented. |
378 |
|
(is_same_node): Implemented. |
379 |
|
(is_equal_node): Alpha version. |
380 |
|
(manakai_set_read_only): Alpha version. |
381 |
|
(child_nodes, first_child, last_child, previous_sibling): Duplicate |
382 |
|
definitions are removed. |
383 |
|
|
384 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
385 |
|
|
386 |
|
* Node.pm: First alpha version of implementation of attributes. |
387 |
|
|
388 |
|
2007-06-15 Wakaba <wakaba@suika.fam.cx> |
389 |
|
|
390 |
|
* ProcessingInstruction.pm, EntityReference.pm, |
391 |
|
CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm, |
392 |
|
ElementTypeDefinition.pm, AttributeDefinition.pm, |
393 |
|
DocumentType.pm, DOMElement.pm, Attr.pm, |
394 |
|
CharacterData.pm, Text.pm, Comment.pm (node_name, |
395 |
|
node_value, node_type): Implemented. |
396 |
|
|
397 |
2007-06-14 Wakaba <wakaba@suika.fam.cx> |
2007-06-14 Wakaba <wakaba@suika.fam.cx> |
398 |
|
|
399 |
* Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm, |
* Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm, |