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