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