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