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