1 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* TreeWalker.pm, SerialWalker.pm: New Perl modules. |
4 |
|
|
5 |
|
* Text.pm (whole_text): Parameter index number has |
6 |
|
been changed to support new |NodeFilter| Perl binding |
7 |
|
definition. |
8 |
|
|
9 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
10 |
|
|
11 |
|
* AttributeDefinition.pm, DOMElement.pm, DocumentType.pm, |
12 |
|
ElementTypeDefinition.pm, Entity.pm, EntityReference.pm, |
13 |
|
Notation.pm, ProcessingInstruction.pm (AUTOLOAD): Don't croak even if an attempt is made to modify a read-only attribute. |
14 |
|
|
15 |
|
* DOMConfiguration.pm (can_set_parameter, |
16 |
|
set_parameter): Don't allow to set the value |
17 |
|
to a string other than <http://www.w3.org/TR/REC-xml> (XML 1.0 DTD). |
18 |
|
|
19 |
|
* DOMDocument.pm (Message::IF::DocumentTraversal): New interface. |
20 |
|
(create_tree_walker, manakai_create_serial_walker): References |
21 |
|
and prototypes are added. |
22 |
|
|
23 |
|
* DOMException.pm (NULLPO_ERR): New error type:-). |
24 |
|
|
25 |
|
* DOMImplementation.pm ($HasFeature): Feature |Traversal|, |
26 |
|
version |2.0|, is added. |
27 |
|
|
28 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
29 |
|
|
30 |
|
* CDATASection.pm: Removed (merged with |Text.pm|). |
31 |
|
|
32 |
|
* Text.pm (Message::DOM::Text::CDATASection): New. |
33 |
|
|
34 |
|
* Comment.pm: Removed (merged with |DOMCharacterData.pm|). |
35 |
|
|
36 |
|
* DOMCharacterData.pm (Message::DOM::CharacterData::Comment): New. |
37 |
|
|
38 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* DOMConfiguration.pm: Support for |schema-type| |
41 |
|
and |http://suika.fam.cx/www/2006/dom-config/xml-id|. |
42 |
|
|
43 |
|
* NamedNodeMap (TIEHASH): Were missing. |
44 |
|
|
45 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* AttributeDefinition.pm (node_value): Implemented. |
48 |
|
(create_attribute_definition): Implemented. |
49 |
|
|
50 |
|
* DOMConfiguration.pm (%{}, TIEHASH, |
51 |
|
get_parameter, set_parameter, can_set_parameter, |
52 |
|
EXISTS, DELETE, parameter_names, FETCH, STORE, |
53 |
|
FIRSTKEY, LASTKEY): Implemented. |
54 |
|
|
55 |
|
* DOMDocument.pm (____new): Set |error-handler| default. |
56 |
|
(get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented. |
57 |
|
|
58 |
|
* DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns): |
59 |
|
Implemented. |
60 |
|
|
61 |
|
* DOMException.pm: Error types for |DOMConfiguration| |
62 |
|
are added. |
63 |
|
|
64 |
|
* DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New |
65 |
|
class. |
66 |
|
|
67 |
|
* DocumentType.pm (get_element_type_definition_node, |
68 |
|
get_general_entity_node, get_notation_node, |
69 |
|
set_element_type_definition_node, set_general_entity_node, |
70 |
|
set_notation_node, create_document_type_definition): Implemented. |
71 |
|
|
72 |
|
* ElementTypeDefinition.pm (get_attribute_definition_node, |
73 |
|
set_attribute_definition_node, create_element_type_definition): |
74 |
|
Implemented. |
75 |
|
|
76 |
|
* Entity.pm (create_general_entity): Implemented. |
77 |
|
|
78 |
|
* Node.pm: Constants in |OperationType| definition |
79 |
|
group are added. |
80 |
|
(manakai_language): Implemented. |
81 |
|
|
82 |
|
* NodeList.pm (Message::DOM::NodeList::GetElementsList): New |
83 |
|
class. |
84 |
|
|
85 |
|
* Notation.pm (create_notation): Implemented. |
86 |
|
|
87 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* TypeInfo.pm: New Perl module. |
90 |
|
|
91 |
|
* Attr.pm: Use |manakai_local_name| rather than |local_name| |
92 |
|
to avoid HTML5 case normalization. |
93 |
|
(is_id): Implemented. |
94 |
|
(manakai_name): New attribute. |
95 |
|
(schema_type_info): Implemented. |
96 |
|
(create_attribute_ns): Empty string as namespace URI |
97 |
|
was not supported. |
98 |
|
|
99 |
|
* DOMElement.pm (clone_node): Removed since now it is |
100 |
|
defined in |Node.pm|. |
101 |
|
(schema_type_info): Implemented. |
102 |
|
(manakai_tag_name): New attribute. |
103 |
|
(get_attribute, get_attribute_node, get_attribute_ns, |
104 |
|
get_attribute_node_ns, has_attribute, has_attribute_ns, |
105 |
|
remove_attribute, remove_attribute_ns, |
106 |
|
remove_attribute_node, set_attribute, set_attribute_ns, |
107 |
|
set_id_attribute, set_id_attribute_node, |
108 |
|
set_id_attribute_ns): Implemented. |
109 |
|
(create_element_ns): Empty string as namespace URI |
110 |
|
was not supported. |
111 |
|
|
112 |
|
2007-07-12 Wakaba <wakaba@suika.fam.cx> |
113 |
|
|
114 |
|
* AttributeDefinition.pm (owner_element_type_definition): Implemented. |
115 |
|
|
116 |
|
* DocumentType.pm (create_document_type_definition): Initialize |
117 |
|
|public_id|, |system_id|, and |internal_subset| attributes |
118 |
|
by empty strings for compatibility with Web browsers. |
119 |
|
(create_document_type): Initialize |internal_subset| |
120 |
|
attribute by an empty string for compatibility with |
121 |
|
Web browsers. |
122 |
|
|
123 |
|
* ElementTypeDefinition.pm, Entity.pm, |
124 |
|
Notation.pm (owner_document_type_definition): Implemented. |
125 |
|
|
126 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
127 |
|
|
128 |
|
* DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration| |
129 |
|
feature is added for compatibility with |XMLParserTemp.pm|. |
130 |
|
|
131 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
132 |
|
|
133 |
|
* Attr.pm (value, node_value): Now it is defined |
134 |
|
as |text_content| itself. |
135 |
|
|
136 |
|
* AttributeDefinition.pm, ElementTypeDefinition.pm, |
137 |
|
Node.pm (AUTOLOAD): Unused block is removed. |
138 |
|
|
139 |
|
* CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed. Unused. |
140 |
|
|
141 |
|
* DocumentType.pm (internal_subset): Implemented. |
142 |
|
|
143 |
|
* Entity.pm (is_externally_declared, input_encoding, |
144 |
|
xml_version): Implemented. |
145 |
|
|
146 |
|
* ProcessingInstruction.pm (target, data): Implemented. |
147 |
|
|
148 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
149 |
|
|
150 |
|
* DOMCharacterData.pm (AUTOLOAD): Removed. |
151 |
|
(data): Reimplemented. |
152 |
|
(delete_data, insert_data, replace_data, substring_data): There were |
153 |
|
a number of bugs. |
154 |
|
|
155 |
|
* Text.pm (AUTOLOAD): Removed. Unused. |
156 |
|
|
157 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* StringExtended.pm: New Perl module. |
160 |
|
|
161 |
|
* DOMCharacterData.pm (length, append_data, delete_data, |
162 |
|
insert_data, replace_data, substring_data): Implemented. |
163 |
|
|
164 |
|
* DOMException.pm (INDEX_SIZE_ERR): Implemented. |
165 |
|
|
166 |
|
* Text.pm (is_element_content_whitespace, whole_text, |
167 |
|
split_text): Implemented. |
168 |
|
|
169 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
|
* DOMElement.pm (attributes): Implemented. |
172 |
|
|
173 |
|
* DOMException.pm (INUSE_DEFINITION_ERR): New error type. |
174 |
|
|
175 |
|
* DocumentType.pm (entities, general_entities, |
176 |
|
notations, element_types): Implemented. |
177 |
|
|
178 |
|
* ElementTypeDefinition.pm (attribute_definitions): Implemented. |
179 |
|
|
180 |
|
* NamedNodeMap.pm: New Perl module. |
181 |
|
|
182 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm, |
185 |
|
DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm, |
186 |
|
Node.pm, Notation.pm, ProcessingInstruction.pm (append_child, |
187 |
|
insert_before, replace_child): Implemented. |
188 |
|
|
189 |
|
* DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented. |
190 |
|
|
191 |
|
* Node.pm (remove_child): Implemented. |
192 |
|
|
193 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
194 |
|
|
195 |
|
* Node.pm (==, is_equal_node): Implemented. |
196 |
|
(is_same_node): Implemented. |
197 |
|
(get_feature, get_user_data, set_user_data): Implemented. |
198 |
|
(is_supported): Implemented. |
199 |
|
|
200 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
201 |
|
|
202 |
|
* DOMDocument.pm (get_element_by_id): Implemented. |
203 |
|
(create_document): Implemented. |
204 |
|
|
205 |
|
* DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New |
206 |
|
errors. |
207 |
|
(QNAME_NULLNS_ERR): New errors. |
208 |
|
|
209 |
|
* DocumenType.pm (create_document_type): Implemented. |
210 |
|
|
211 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
212 |
|
|
213 |
|
* CDATASection.pm (is_element_content_whitespace): New. |
214 |
|
|
215 |
|
* DOMElement.pm (has_attribute): Alpha version. |
216 |
|
(create_element, create_element_ns): Implemented. |
217 |
|
|
218 |
|
* DocumentType.pm (get_general_entity_node): Alpha version. |
219 |
|
|
220 |
|
* EntityReference.pm (create_entity_reference): Implemented. |
221 |
|
|
222 |
|
* ProcessingInstruction.pm (create_processing_instruction): Implemented. |
223 |
|
|
224 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
225 |
|
|
226 |
|
* Attr.pm (create_attribute, create_attribute_ns): Implemented. |
227 |
|
|
228 |
|
* DOMDocument.pm: Load character classes from |Char::Class::XML|. |
229 |
|
(compat_mode): Check |defined| not to be warned as "uninitialized" |
230 |
|
when |{manakai_compat_mode}| is |undef|. |
231 |
|
|
232 |
|
* DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added. |
233 |
|
|
234 |
|
* DOMImplementationRegistry.pm, DOMImplementationSource.pm: |
235 |
|
Statements to set |$Error::Depth| are removed since they |
236 |
|
are result in "uninitialized" warnings unless |
237 |
|
the |Message::DOM::DOMException| module is loaded earlier. |
238 |
|
Usually methods invoked in these methods does not |
239 |
|
raise any exception so that it makes no difference. |
240 |
|
|
241 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
242 |
|
|
243 |
|
* DOMDocument.pm (adopt_node): Implemented. |
244 |
|
(doctype): Implemented. |
245 |
|
|
246 |
|
* DOMElement.pm (remove_attribute_node): Alpha version. |
247 |
|
|
248 |
|
* DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New |
249 |
|
error type. |
250 |
|
|
251 |
|
* Node.pm (set_user_data): Implemented. |
252 |
|
|
253 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
254 |
|
|
255 |
|
* DOMImplementation.pm (new): New method name for |____new|. |
256 |
|
It will be defined in the DOM Perl Binding specification |
257 |
|
as part of |DOMImplementation| interface. |
258 |
|
($HasFeature): Defined for features support. |
259 |
|
(has_feature, get_feature): Implemented. |
260 |
|
|
261 |
|
* DOMStringList.pm: Don't load the |Message::DOM::DOMException| |
262 |
|
module unless necessary. |
263 |
|
(___report_error): Removed since it is not used in fact. |
264 |
|
|
265 |
|
* DOMImplementationList.pm, DOMImplementationSource.pm, |
266 |
|
DOMImplementationRegistry.pm: New modules. |
267 |
|
|
268 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
269 |
|
|
270 |
|
* AttributeDefinition.pm (allowed_tokens): Implemented. |
271 |
|
|
272 |
|
* DOMStringList.pm: New Perl module. |
273 |
|
|
274 |
|
2007-06-26 Wakaba <wakaba@suika.fam.cx> |
275 |
|
|
276 |
|
* DOMElement.pm (clone_node): Alpha version. It did not work |
277 |
|
at all. |
278 |
|
|
279 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
280 |
|
|
281 |
|
* ProcessingInstruction.pm (data): Now it is a read-write attribute. |
282 |
|
|
283 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
284 |
|
|
285 |
|
* DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented. |
286 |
|
(manakai_is_html): Revised. |
287 |
|
(Document): Now it implements the |HTMLDocument| interface. |
288 |
|
(adopt_node): Alpha version. |
289 |
|
|
290 |
|
* AttributeDefinition.pm (allowed_tokens): |allowed_tokens|, |
291 |
|
not |allowed_token|! |
292 |
|
|
293 |
|
* ElementTypeDefinition.pm (attribute_definitions): Don't |
294 |
|
return an |undef| even if its |attribute_definitions| |
295 |
|
list is not created. |
296 |
|
|
297 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
298 |
|
|
299 |
|
* Comment.pm (node_type): Node type was incorrect! |
300 |
|
|
301 |
|
* DOMConfiguration.pm (get_parameter): Alpha. |
302 |
|
|
303 |
|
* DOMImplementation.pm (create_mc_decode_handler, |
304 |
|
create_charset_name_from_uri, create_uri_from_charset_name): |
305 |
|
New autoload configuration. Note that the Message::Charset::Encode |
306 |
|
module is subject to change. |
307 |
|
|
308 |
|
* XMLParserTemp.pm: Now it can be used with new version |
309 |
|
of DOM implementation. Current plan is to replace it by |
310 |
|
an XML5 parser someday. |
311 |
|
|
312 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
313 |
|
|
314 |
|
* DOMLocator.pm: New module. |
315 |
|
|
316 |
|
* DOMError.pm: New module. |
317 |
|
|
318 |
|
2007-06-20 Wakaba <wakaba@suika.fam.cx> |
319 |
|
|
320 |
|
* Node.pm (manakai_expanded_uri, manakai_parent_element, |
321 |
|
clone_node, compare_document_position, has_attributes, |
322 |
|
has_child_nodes, is_default_namespace, lookup_namespace_uri, |
323 |
|
lookup_prefix, normalize): Implemented. |
324 |
|
|
325 |
|
* DOMElement.pm (remove_attribute, set_attribute): Alpha version. |
326 |
|
|
327 |
|
* DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error. |
328 |
|
|
329 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
330 |
|
|
331 |
|
* AttributeDefinition.pm (____new): Set an empty list |
332 |
|
to the |allowed_tokens| attribute. |
333 |
|
(allowed_token): Alpha version. |
334 |
|
|
335 |
|
* DocumentType.pm (get_element_type_definition_node, |
336 |
|
get_notation_node): ALpha version. |
337 |
|
|
338 |
|
* ElementTypeDefinition.pm (attribute_definitions): Alpha 2 |
339 |
|
version. |
340 |
|
|
341 |
|
* Entity.pm (notation_name): Implemented. |
342 |
|
|
343 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
344 |
|
|
345 |
|
* Attr.pm (____new): Initialize |specified| as 1. |
346 |
|
(base_uri, manakai_attribute_type, specified): Implemented. |
347 |
|
(prefix): Don't check read-only flag unless |strict_error_checking|. |
348 |
|
(value): Call |text_content| for now. |
349 |
|
|
350 |
|
* AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added. |
351 |
|
(declared_type, default_type): Implemented. |
352 |
|
|
353 |
|
* CharacterData.pm (____new): Allow a scalar reference |
354 |
|
as an input for the |data| attribute. |
355 |
|
(base_uri, manakai_append_text): Implemented. |
356 |
|
|
357 |
|
* DOMConfiguration.pm (set_parameter): Resetting implemented. |
358 |
|
|
359 |
|
* DOMDocument.pm (____new): Set default values to |
360 |
|
configuration parameter whose default is true. |
361 |
|
(document_uri, input_encoding): Implemented. |
362 |
|
(all_declarations_processed, manakai_is_html): Implemented. |
363 |
|
(base_uri, manakai_append_text, |
364 |
|
manakai_entity_base_uri, strict_error_checking, |
365 |
|
xml_encoding, xml_version, xml_standalone): Implemented. |
366 |
|
|
367 |
|
* DOMElement.pm (manakai_base_uri, base_uri): Implemented. |
368 |
|
(get_attribute, get_attribute_node): Alpha version. |
369 |
|
(set_attribute_node, set_attribute_node_ns): Implemented. |
370 |
|
(set_attribute_ns): Accept non-ARRAY qualified name. |
371 |
|
|
372 |
|
* DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|, |
373 |
|
|NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added. |
374 |
|
|
375 |
|
* DocumentType.pm (public_id, system_id): Implemented. |
376 |
|
(base_uri, declaration_base_uri, manakai_declaration_base_uri, |
377 |
|
manakai_append_text): Implemented. |
378 |
|
(element_types, general_entities, notations, |
379 |
|
set_element_type_definition_node, set_general_entity_node, |
380 |
|
set_notation_node): Alpha version. |
381 |
|
|
382 |
|
* ElementTypeDefinition.pm (manakai_append_text): Implemented. |
383 |
|
(attribute_definitions, set_attribute_definition_node): Alpha version. |
384 |
|
|
385 |
|
* Entity.pm (has_replacement_tree, public_id, system_id, |
386 |
|
manakai_declaration_base_uri, manakai_entity_base_uri, |
387 |
|
manakai_entity_uri): Implemented. |
388 |
|
|
389 |
|
* EntityReference.pm (manakai_expanded, manakai_external): Implemented. |
390 |
|
(base_uri, manakai_entity_base_uri): Implemented. |
391 |
|
|
392 |
|
* Node.pm (base_uri): Implemented. |
393 |
|
(text_content): Don't check read-only or not |
394 |
|
unless |strict_error_checking|. |
395 |
|
(manakai_append_text): Implemented. |
396 |
|
(get_feature): Alpha. |
397 |
|
(manakai_set_read_only): Implemented. |
398 |
|
|
399 |
|
* Notation.pm (public_id, system_id, manakai_append_text, |
400 |
|
manakai_declaration_base_uri): Implemented. |
401 |
|
|
402 |
|
* ProcessingInstruction.pm (manakai_base_uri, |
403 |
|
base_uri, manakai_append_text): Implemented. |
404 |
|
|
405 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
406 |
|
|
407 |
|
* DOMConfiguration.pm: New module. |
408 |
|
|
409 |
|
* Attr.pm (trivial accessor for read-write attributes): Throw |
410 |
|
an exception if the node is read-only. Delete the property |
411 |
|
if undef is specified. |
412 |
|
(prefix): Implemented. |
413 |
|
|
414 |
|
* DOMElement.pm (trivial accessor for read-write attributes): Throw |
415 |
|
an exception if the node is read-only. Delete the property |
416 |
|
if undef is specified. |
417 |
|
(prefix): Implemented. |
418 |
|
(text_content, manakai_append_text): Old implementations are removed. |
419 |
|
|
420 |
|
* DOMCharacterData.pm (text_content): Implemented. |
421 |
|
|
422 |
|
* DOMDocument.pm (____new): Initialize the strict-document-children |
423 |
|
parameter by true. |
424 |
|
(text_content): Reimplemented. |
425 |
|
(dom_config): New. |
426 |
|
|
427 |
|
* DOMException.pm (READ_ONLY_NODE_ERR): New subtype. |
428 |
|
|
429 |
|
* DocumentType.pm (text_content): Implemented. |
430 |
|
|
431 |
|
* ElementTypeDefinition.pm (text_content): Implemented. |
432 |
|
|
433 |
|
* Node.pm (___report_error): New method. |
434 |
|
(text_content): Implemented. |
435 |
|
(manakai_append_text): Copied from |DOMElement.pm|. |
436 |
|
|
437 |
|
* Notation.pm (text_content): Implemented. |
438 |
|
|
439 |
|
* ProcessingInstruction.pm (text_content): Implemented. |
440 |
|
|
441 |
|
* Text.pm (is_element_content_whitespace): Alpha version. |
442 |
|
|
443 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
444 |
|
|
445 |
|
* DOMException.pm (Message::IF::DOMException): Extends |
446 |
|
the |Message::Util::Error| class. |
447 |
|
|
448 |
|
* NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class. |
449 |
|
(CLEAR): Not all items were removed. |
450 |
|
|
451 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
452 |
|
|
453 |
|
* Attr.pm, AttributeDefinition.pm, DocumentFragment.pm, |
454 |
|
DocumentType.pm, Entity.pm, |
455 |
|
EntityReference.pm (____new): Initialize |child_nodes| by an empty list. |
456 |
|
|
457 |
|
* Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm, |
458 |
|
Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned. |
459 |
|
|
460 |
|
* DOMDocument.pm (AUTOLOAD): Typo fixed. |
461 |
|
|
462 |
|
* Node.pm (==, !=): Implemented. |
463 |
|
(manakai_read_only): Implemented. |
464 |
|
(is_same_node): Implemented. |
465 |
|
(is_equal_node): Alpha version. |
466 |
|
(manakai_set_read_only): Alpha version. |
467 |
|
(child_nodes, first_child, last_child, previous_sibling): Duplicate |
468 |
|
definitions are removed. |
469 |
|
|
470 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
471 |
|
|
472 |
|
* Node.pm: First alpha version of implementation of attributes. |
473 |
|
|
474 |
|
2007-06-15 Wakaba <wakaba@suika.fam.cx> |
475 |
|
|
476 |
|
* ProcessingInstruction.pm, EntityReference.pm, |
477 |
|
CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm, |
478 |
|
ElementTypeDefinition.pm, AttributeDefinition.pm, |
479 |
|
DocumentType.pm, DOMElement.pm, Attr.pm, |
480 |
|
CharacterData.pm, Text.pm, Comment.pm (node_name, |
481 |
|
node_value, node_type): Implemented. |
482 |
|
|
483 |
|
2007-06-14 Wakaba <wakaba@suika.fam.cx> |
484 |
|
|
485 |
|
* Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm, |
486 |
|
CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm, |
487 |
|
AttributeDefinition.pm: New modules. |
488 |
|
|
489 |
|
* DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added. |
490 |
|
(create_attribute_definition, create_element_type_definition, |
491 |
|
create_document_type_definition, create_cdata_section, |
492 |
|
create_processing_instruction, create_entity_reference, |
493 |
|
create_general_entity, create_notation): Prototypes added. |
494 |
|
|
495 |
|
* DOMImplementation.pm (create_document_type): Prototype added. |
496 |
|
|
497 |
|
* DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition' |
498 |
|
and 'Message::IF::DocumentTypeDeclaration' added. |
499 |
|
(create_document_type, create_document_type_definition): |
500 |
|
New methods. |
501 |
|
|
502 |
|
2007-06-13 Wakaba <wakaba@suika.fam.cx> |
503 |
|
|
504 |
|
* DOMImplementation.pm, Node.pm, DOMDocument.pm, |
505 |
|
DOMElement.pm, Attr.pm, DocumentType.pm, |
506 |
|
DOMCharacterData.pm, Text.pm, Comment.pm: Copied |
507 |
|
from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>. |
508 |
|
|
509 |
|
2007-06-10 Wakaba <wakaba@suika.fam.cx> |
510 |
|
|
511 |
|
* XMLParser.dis: Default to "1.0" if <?xml version=""?> |
512 |
|
specifies unknown value and trys to recover from the error. |
513 |
|
|
514 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
515 |
|
|
516 |
|
* TreeCore.dis (manakaiLocalName): New attribute. |
517 |
|
|
518 |
|
2007-01-02 Wakaba <wakaba@suika.fam.cx> |
519 |
|
|
520 |
|
* GenericLS.dis (GLSException): New interface. |
521 |
|
|
522 |
|
2006-12-31 Wakaba <wakaba@suika.fam.cx> |
523 |
|
|
524 |
|
* |InputProcessor|s and |OutputProcessor|s are |
525 |
|
named so that |report| statements in Perl |
526 |
|
module outputs can be identified by name. |dis:dataType|s |
527 |
|
of |DISCore:TFQNames| are all replaced |
528 |
|
by |DISCore:QName|. |
529 |
|
|
530 |
|
2006-12-31 Wakaba <wakaba@suika.fam.cx> |
531 |
|
|
532 |
|
* Element.dis (createElementNS): If an array reference |
533 |
|
is specified as the |qualifiedName| parameter, |
534 |
|
don't set the first item as the local name |
535 |
|
even if the second item is not specified (or |
536 |
|
specified as |undef|). |
537 |
|
(createElementNS, setAttribute, setAttributeNS, |
538 |
|
removeAttribute, removeAttributeNS, |
539 |
|
setAttributeNode, setAttributeNodeNS, |
540 |
|
removeAttributeNode, removeAttributeNodeNS): Sets |
541 |
|
or removes the |tc:contentAttributeList| value. |
542 |
|
|
543 |
|
* TreeCore.dis (AttrMap.item): Caches the result |
544 |
|
of sorting of content attribute names. |
545 |
|
(getAttrMap, getElementTypeDefNodeMap, |
546 |
|
getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed. |
547 |
|
(tc:contentAttributeList): New property. |
548 |
|
|
549 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
550 |
|
|
551 |
|
* DOMFeature.dis (ForDef): Removed. |
552 |
|
(f:provides, f:through): Removed. |
553 |
|
(Version): Removed. |
554 |
|
(implementFeature): Removed. |
555 |
|
|
556 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
557 |
|
|
558 |
|
* CharacterData.dis, DOMCore.dis, DOMFeature.dis, |
559 |
|
GenericLS.dis, TreeCore.dis, DOMString.dis, |
560 |
|
XML.dis, Element.dis, Document.dis, TreeStore,dis, |
561 |
|
Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis, |
562 |
|
SimpleLS.dis, DOMMain.dis, XDP.dis: |For| specifications |
563 |
|
are removed. |
564 |
|
|
565 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
566 |
|
|
567 |
|
* CharacterData.dis, DOMCore.dis, DOMFeature.dis, |
568 |
|
GenericLS.dis, TreeCore.dis, DOMString.dis, |
569 |
|
XML.dis, Element.dis, Document.dis, TreeStore,dis, |
570 |
|
Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis, |
571 |
|
SimpleLS.dis, DOMMain.dis, XDP.dis: |WithFor| specifications |
572 |
|
and |DefaultFor|s are removed. |
573 |
|
|
574 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
575 |
|
|
576 |
|
* CharacterData.dis, DOMCore.dis, DOMFeature.dis, |
577 |
|
GenericLS.dis, TreeCore.dis, DOMString.dis, |
578 |
|
XML.dis, Element.dis, Document.dis, TreeStore,dis, |
579 |
|
Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis, |
580 |
|
SimpleLS.dis, DOMMain.dis: References |
581 |
|
to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|, |
582 |
|
|ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3| |
583 |
|
modes are removed. |
584 |
|
|
585 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
586 |
|
|
587 |
|
* CharacterData.dis, TreeCore.dis (Require): References |
588 |
|
to the |Grove.dis| module are removed. |
589 |
|
|
590 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
591 |
|
|
592 |
|
* DOMFeature.dis (f:implementation, f:revImplementation): Removed. |
593 |
|
(Require): Reference to the |Grove.dis| module is removed. |
594 |
|
|
595 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
596 |
|
|
597 |
|
* DOMCore.dis (ManakaiDOMImplementation): The |
598 |
|
class is no longer plays the role of |
599 |
|
a |mg:NodeRefRole|. Redundant |f:provides| |
600 |
|
properties are removed. |
601 |
|
|
602 |
|
2006-12-29 Wakaba <wakaba@suika.fam.cx> |
603 |
|
|
604 |
|
* TreeCore.dis, DOMCore.dis, Document.dis, |
605 |
|
Element.dis, CharacterData.dis, XML.dis, |
606 |
|
XDoctype.dis, DOMString.dis, TreeStore.dis, |
607 |
|
XMLParser.dis: Use Perl native |
608 |
|
hashs and |Scalar::Util|'s weak references in favor of |Grove.dis| |
609 |
|
for DOM nodes. See |
610 |
|
also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>. |
611 |
|
|
612 |
|
2006-12-03 Wakaba <wakaba@suika.fam.cx> |
613 |
|
|
614 |
|
* DOMFeature.dis, TreeCore.dis: Unused |role|s are removed. |
615 |
|
|
616 |
|
2006-12-02 Wakaba <wakaba@suika.fam.cx> |
617 |
|
|
618 |
|
* DOMString.dis: New module. |
619 |
|
|
620 |
|
* DOMString.pm: New file. |
621 |
|
|
622 |
|
* DOMCore.dis (min): Moved from |DOMFeature.dis|. |
623 |
|
(ImplementationRegistryVariable): Moved from |DOMFeature.dis|. |
624 |
|
Now it references the |DOMImplementationRegistry| object. |
625 |
|
(DOMImplementationRegistryVariable): Moved from |DOMMain.dis|. |
626 |
|
(DOMImplementationRegistry): New interface and |
627 |
|
class, reformed from |ImplementationRegistry| in |DOMFeature.dis| |
628 |
|
and |DOMImplementationRegistry| in |DOMMain.dis|. Note |
629 |
|
that the class no longer support |get_implementation| |
630 |
|
and |get_implementation_list| methods from |
631 |
|
the |ImplementationRegistry| interface. |
632 |
|
(DOMImplementationList): Class implemented; no |
633 |
|
longer inherits from |ImplementationList|. |
634 |
|
(DOMImplementationSource): Class implemented; no |
635 |
|
longer inherits from |ImplementationSource|. Note that |
636 |
|
the class no longer support |get_implementation| |
637 |
|
and |get_implementation_list| methods from |
638 |
|
the |ImplementationSource| interface. |
639 |
|
(DOMStringList): Removed. |
640 |
|
|
641 |
|
* DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature, |
642 |
|
ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature, |
643 |
|
ManakaiDOM:DOMXMLFeatureXML11, most part of |
644 |
|
documentation for obsolete DOM Level 3 Minimum Implementation |
645 |
|
module, obsolete property name aliases, |
646 |
|
ImplemenationRegistryVar, ImplementationRegistry, |
647 |
|
DEBUG, MIString, ImplementationList, ImplementationSource, |
648 |
|
ManakaiDOM:implID): Removed. |
649 |
|
|
650 |
|
* DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed. |
651 |
|
(DOMString): Removed. |
652 |
|
(DOMImplementationRegistryVar, DOMImplementationRegistry): Removed. |
653 |
|
|
654 |
|
* Makefile: |DOMString.pm| is added. |
655 |
|
|
656 |
|
* TreeCore.dis (is_default_namespace): |null| was |
657 |
|
returned where a false is expected (|null| is |
658 |
|
a false in Perl, but real |false| is appropriate here). |
659 |
|
|
660 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
661 |
|
|
662 |
|
* DOMCore.dis (TypeInfo, UserDataHandler): Removed. |
663 |
|
|
664 |
|
* Element.dis (TypeInfo): Moved from |DOMCore.dis|. |
665 |
|
|
666 |
|
* TreeCore.dis (UserDataHandler): Moved from |DOMCore.dis|. |
667 |
|
|
668 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
669 |
|
|
670 |
|
* DOMFeature.dis (ImplementationList, ImplementationSource, |
671 |
|
ImplementationRegistry): Parameters |features| |
672 |
|
now allow |null| (equivalent to an empty string). |
673 |
|
|
674 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
675 |
|
|
676 |
|
* CharacterData.dis (ManakaiDOMDocumentCharacterData): New |
677 |
|
class. Factory methods |createTextNode| and |createComment| |
678 |
|
are moved from |ManakaiDOMDocument|. |
679 |
|
|
680 |
|
* DOMCore.dis: References to |ManakaiDOMObject| |
681 |
|
are removed. |
682 |
|
(tc:createImplForTest): Moved from |TreeCore.dis|. |
683 |
|
(DOMImplementation.___create_node_ref): Support |
684 |
|
for the |mg:nodeRefClass| option is removed. |
685 |
|
(ManakaiDOMConfiguration.___report_error): Moved |
686 |
|
from |ManakaiDOMObject| class. |
687 |
|
|
688 |
|
* DOMFeature.dis (domidl:extends): New property. |
689 |
|
(f:getFeatureImpl): Support for |+| classes is removed. |
690 |
|
|
691 |
|
* DOMMain.dis (DOMMain:docSupportsXMLFeature): Removed. |
692 |
|
(ManakaiDOM:ManakaiDOMObject): Removed. |
693 |
|
(DOMDataType): Removed. |
694 |
|
|
695 |
|
* Document.dis (ManakaiDOMImplementationDocument): |
696 |
|
The |createDocument| method is moved from |
697 |
|
the |ManakaiDOMImplementationTC| in |TreeCore.dis|. |
698 |
|
(ManakaiDOMDocument.___create_node_ref): Removed. |
699 |
|
(createElement, createElementNS, createAttribute, |
700 |
|
createAttributeNS, createTextNode, createComment, |
701 |
|
createCDATASection, createEntityReference, |
702 |
|
createProcessingInstruction): Class implementations |
703 |
|
are moved to each module. |
704 |
|
|
705 |
|
* Element.dis (ManakaiDOMImplementationElement): Factory |
706 |
|
methods are moved from |Document.dis|. |
707 |
|
(ManakaiDOMElement.___create_node_ref): Support |
708 |
|
for old class registry is removed. |
709 |
|
(ManakaiDOMAttr.___create_node_ref): Removed. |
710 |
|
(Attr.baseURI): Implementation |
711 |
|
for |xml:base| attribute is merged. |
712 |
|
(Attr.nodeValue, Attr.value): Implementation |
713 |
|
for |xml:id| attribute is merged. |
714 |
|
|
715 |
|
* TreeCore.dis (ManakaiDOMImplementationTC): Removed. |
716 |
|
|
717 |
|
* XDoctype.dis (ManakaiDOMImplementationXDoctype): The |
718 |
|
definition for |createDocumentType| method |
719 |
|
is moved from |TreeCore.dis|. |
720 |
|
|
721 |
|
* XML.dis (ManakaiDOMXMLDocument): Factory |
722 |
|
methods are moved from |Document.dis|. |
723 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Removed (merged |
724 |
|
into |ManakaiDOMAttr| in |Element.dis|). |
725 |
|
|
726 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
727 |
|
|
728 |
|
* Element.dis (___get_node_ref): |eval|ed |require| |
729 |
|
statement was broken. |
730 |
|
|
731 |
|
* DOMFeature.dis (getImplementationList): Argument |
732 |
|
is not passed to the |getImplementation| method. |
733 |
|
|
734 |
|
* TreeStore.dis (DOMImplementationTreeStore): It |
735 |
|
did not |f:implements| the |TSFeature30| feature. |
736 |
|
|
737 |
|
* XMLParser.dis: Use |create_uri_reference| |
738 |
|
method instead of internal |_new| method |
739 |
|
to create a URI reference object. |
740 |
|
|
741 |
|
2006-11-04 Wakaba <wakaba@suika.fam.cx> |
742 |
|
|
743 |
|
* DOMCore.dis (ManakaiDOMImplementation): No longer |
744 |
|
explicitly inherits |urigen:ManakaiURIImplementation| (and |
745 |
|
the |f:ManakaiMinimumImplementation| class inherited |
746 |
|
by it). The |f:Minimum| feature is ever implemented |
747 |
|
for compatibility (but is expected to be removed). |
748 |
|
Internal methods such as |___report_error| are copied from |
749 |
|
obsolete |f:MinimumImplementation| class. DOM3 |
750 |
|
methods |hasFeature| and |getFeature| are also |
751 |
|
moved from that class, but they now support no |
752 |
|
foreign classes. |
753 |
|
|
754 |
|
* DOMFeature.dis (ManakaiImplementationSource): It |
755 |
|
now |p:require|s |Message::Util::AutoLoad::Registry|. |
756 |
|
The class no longer support classes |
757 |
|
other than |ManakaiDOMImplementation|. Note |
758 |
|
that the |ImplementationRegistry| object does continue |
759 |
|
to support foreign classes via foreign classes |
760 |
|
implementing |ImplementationSource| |
761 |
|
or |DOMImplementationSource| interface. |
762 |
|
(MinimumImplementation): Removed. |
763 |
|
|
764 |
|
* DOMLS.dis (ManakaiDOMImplementationLS): It no |
765 |
|
longer inherit the |ManakaiDOMImplementation|; it |
766 |
|
is now expected to be implemented by |DOMImplementation| |
767 |
|
objects. |
768 |
|
|
769 |
|
* DOMMain.dis (null): Removed. |
770 |
|
|
771 |
|
* Document.dis (___create_node_ref): It no |
772 |
|
longer support foreign classes other |
773 |
|
than |Message::DOM::Document::ManakaiDOMDocument|. |
774 |
|
Note that document format specific DOM |
775 |
|
interfaces, if supported, should be |
776 |
|
all instances of the |Document| interface |
777 |
|
in the implementation, as defined |
778 |
|
in the Web Applications 1.0 specification (where |
779 |
|
the |HTMLDocument| interface must be implemented |
780 |
|
by all |Document| objects, even if the |Document| |
781 |
|
contains no HTML element). |
782 |
|
|
783 |
|
* GenericLS.dis (GLSImplementation): It no |
784 |
|
longer inherit the |MinimumImplementation|; it |
785 |
|
is now expected to be implemented by |DOMImplementation| |
786 |
|
objects. |
787 |
|
(createGLSParser, createGLSSerializer): Load |
788 |
|
module implementing parser or serializer |
789 |
|
if necessary. |
790 |
|
|
791 |
|
* Traversal.dis (ManakaiDOMDocumentTraversal): It no |
792 |
|
longer inherits the |ManakaiDOMDocument|; it |
793 |
|
is now expected to be implemented by |Document| |
794 |
|
objects. |
795 |
|
|
796 |
|
* XDP.dis (XDPDocument): It no longer |
797 |
|
inherits the |Document|; it is now expected |
798 |
|
to be implemented by all |Document| objects. |
799 |
|
|
800 |
|
* XDoctype.dis (ManakaiDOMDocumentXDoctype): It no |
801 |
|
longer inherits the |ManakaiDOMDocument|; it |
802 |
|
is now expected to be implemented by |Document| |
803 |
|
objects. |
804 |
|
|
805 |
|
2006-11-04 Wakaba <wakaba@suika.fam.cx> |
806 |
|
|
807 |
|
* DOMCore.dis (ManakaiDOMImplementation): No longer |
808 |
|
explicitly inherits |tc:ManakaiDOMImplementationTC|. |
809 |
|
(ManakaiDOMImplementation.AUTOLOAD): New method definition. |
810 |
|
|
811 |
|
* TreeCore.dis (ManakaiDOMImplementationTC): Extends |
812 |
|
the |ManakaiDOMImplementation| class. |
813 |
|
|
814 |
|
2006-11-03 Wakaba <wakaba@suika.fam.cx> |
815 |
|
|
816 |
|
* DOMFeature.dis: Definitions for various concepts |
817 |
|
are added. |
818 |
|
|
819 |
|
* GenericLS.dis (GLSImplementation): It no |
820 |
|
longer inherits the |MinimumImplementation|; rather, |
821 |
|
any |ManakaiMinimumImplementation| object also |
822 |
|
implements |GLSImplementation| methods. |
823 |
|
|
824 |
|
* TreeStore.dis (DOMImplementationTreeStore): It no |
825 |
|
longer inherits the |DOMImplementation|; rather, |
826 |
|
any |ManakaiDOMImplementation| object also |
827 |
|
implements |DOMImplementationTreeStore| methods. |
828 |
|
|
829 |
|
2006-08-15 Wakaba <wakaba@suika.fam.cx> |
830 |
|
|
831 |
|
* TreeStore.pm: Added to the CVS repository |
832 |
|
to enable for the dis database to contain XML |
833 |
|
fragments. |
834 |
|
|
835 |
|
* Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added. |
836 |
|
|
837 |
|
* TreeStore.dis (Namespace): Namespace URI was incorrect. |
838 |
|
|
839 |
|
2006-06-18 Wakaba <wakaba@suika.fam.cx> |
840 |
|
|
841 |
|
* Traversal.dis (expandEntityReferences): Syntax was incorrect. |
842 |
|
|
843 |
|
* TreeCore.dis (manakaiReadOnly): Test assertion was incorrect. |
844 |
|
|
845 |
|
* XDP.dis (dtdText): Test assertion was incorrect. |
846 |
|
|
847 |
|
2006-05-21 Wakaba <wakaba@suika.fam.cx> |
848 |
|
|
849 |
|
* XDP.dis (XDPEntityValue.stringify): Don't escape |
850 |
|
any |%|s in |xdp:attr-definition| children. |
851 |
|
|
852 |
|
2006-05-20 Wakaba <wakaba@suika.fam.cx> |
853 |
|
|
854 |
|
* XDP.dis (createXDPRNIKeyword): The Perl method |
855 |
|
name property is added. |
856 |
|
|
857 |
|
2006-05-20 Wakaba <wakaba@suika.fam.cx> |
858 |
|
|
859 |
|
* XDP.dis (createXDPIf): New method. |
860 |
|
(XDPIfElement): New interface. |
861 |
|
|
862 |
2006-05-15 Wakaba <wakaba@suika.fam.cx> |
2006-05-15 Wakaba <wakaba@suika.fam.cx> |
863 |
|
|
864 |
* XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition): |
* XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition): |