/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Contents of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.256 - (hide annotations) (download)
Sun Jul 29 08:18:34 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.255: +11 -0 lines
++ ChangeLog	29 Jul 2007 08:07:03 -0000
	* .htaccess: New file.

2007-07-29  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	29 Jul 2007 08:18:17 -0000
	* DOMString.dis, DOMString.pm, Document.dis, Document.pm,
	Element.dis, Element.pm, CharacterData.dis, CharacterData.pm,
	TreeCore.dis, TreeCore.pm, DOMCore.dis, DOMCore.pm,
	DOMFeature.dis, DOMFeature.pm, XML.dis, XML.pm,
	DOMMain.dis, DOMMain.pm, DOMLS.dis,
	GenericLS.dis, GenericLS.pm, SimpleLS.dis: Removed.

	* Makefile: Rules for DIS are removed.

2007-07-29  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.253 2007-07-29 Wakaba <wakaba@suika.fam.cx>
2    
3 wakaba 1.256 * DOMString.dis, DOMString.pm, Document.dis, Document.pm,
4     Element.dis, Element.pm, CharacterData.dis, CharacterData.pm,
5     TreeCore.dis, TreeCore.pm, DOMCore.dis, DOMCore.pm,
6     DOMFeature.dis, DOMFeature.pm, XML.dis, XML.pm,
7     DOMMain.dis, DOMMain.pm, DOMLS.dis,
8     GenericLS.dis, GenericLS.pm, SimpleLS.dis: Removed.
9    
10     * Makefile: Rules for DIS are removed.
11    
12     2007-07-29 Wakaba <wakaba@suika.fam.cx>
13    
14 wakaba 1.255 * Text.pm: |Message::DOM::Traversal, an obsolete module,
15     was referenced.
16    
17     2007-07-29 Wakaba <wakaba@suika.fam.cx>
18    
19 wakaba 1.254 * DOMDocument.pm (inner_html): Setter in HTML document
20     is implemented.
21    
22     2007-07-29 Wakaba <wakaba@suika.fam.cx>
23    
24 wakaba 1.253 * DOMDocument.pm (inner_html): Setter in XML document
25     is implemented.
26    
27 wakaba 1.252 2007-07-19 Wakaba <wakaba@suika.fam.cx>
28    
29     * Attr.pm (DeclaredValueType): Added.
30    
31     * ProcessingInstruction.pm (data): Accept |undef|
32     as a valid input, for |text_content| (maybe) allows it.
33    
34     * TypeInfo.pm (type_namespace): The implementation was wrong.
35    
36 wakaba 1.251 2007-07-16 Wakaba <wakaba@suika.fam.cx>
37    
38     * DOMElement.pm: Incorrect module was referenced.
39    
40     * DOMImplementation.pm: References to
41     the |Message::Charset::Encode| module has been removed.
42    
43 wakaba 1.247 2007-07-15 Wakaba <wakaba@suika.fam.cx>
44    
45 wakaba 1.250 * XMLParserTemp.pm: Use |Whatpm::Charset::DecodeHandle|
46     instead of |Message::Charset::Encode|.
47    
48     2007-07-15 Wakaba <wakaba@suika.fam.cx>
49    
50 wakaba 1.249 * DOMDocument.pm (inner_html): New attribute (beta).
51    
52     * DOMElement.pm (inner_html): New attribute (beta).
53    
54     2007-07-15 Wakaba <wakaba@suika.fam.cx>
55    
56 wakaba 1.248 * DOMConfiguration.pm: Configuration parameter |create-child-element|
57     implemented.
58    
59     * DOMElement.pm (create_element_ns): Support for Atom
60     subclasses.
61    
62     * DOMImplementation.pm (DOMImplementation): Now
63     implements the |AtomDOMImplementation| interface.
64     ($HasFeature): Features |atom| and |atomthreading| are added.
65    
66     * NodeList.pm (StaticNodeList): Implemented.
67    
68     2007-07-15 Wakaba <wakaba@suika.fam.cx>
69    
70     * Atom/: New directory.
71    
72     2007-07-15 Wakaba <wakaba@suika.fam.cx>
73    
74 wakaba 1.247 * TreeWalker.pm, SerialWalker.pm: New Perl modules.
75    
76     * Text.pm (whole_text): Parameter index number has
77     been changed to support new |NodeFilter| Perl binding
78     definition.
79    
80     2007-07-14 Wakaba <wakaba@suika.fam.cx>
81    
82     * AttributeDefinition.pm, DOMElement.pm, DocumentType.pm,
83     ElementTypeDefinition.pm, Entity.pm, EntityReference.pm,
84     Notation.pm, ProcessingInstruction.pm (AUTOLOAD): Don't croak even if an attempt is made to modify a read-only attribute.
85    
86     * DOMConfiguration.pm (can_set_parameter,
87     set_parameter): Don't allow to set the value
88     to a string other than <http://www.w3.org/TR/REC-xml> (XML 1.0 DTD).
89    
90     * DOMDocument.pm (Message::IF::DocumentTraversal): New interface.
91     (create_tree_walker, manakai_create_serial_walker): References
92     and prototypes are added.
93    
94     * DOMException.pm (NULLPO_ERR): New error type:-).
95    
96     * DOMImplementation.pm ($HasFeature): Feature |Traversal|,
97     version |2.0|, is added.
98    
99 wakaba 1.243 2007-07-14 Wakaba <wakaba@suika.fam.cx>
100    
101 wakaba 1.246 * CDATASection.pm: Removed (merged with |Text.pm|).
102    
103     * Text.pm (Message::DOM::Text::CDATASection): New.
104    
105     * Comment.pm: Removed (merged with |DOMCharacterData.pm|).
106    
107     * DOMCharacterData.pm (Message::DOM::CharacterData::Comment): New.
108    
109     2007-07-14 Wakaba <wakaba@suika.fam.cx>
110    
111 wakaba 1.245 * DOMConfiguration.pm: Support for |schema-type|
112     and |http://suika.fam.cx/www/2006/dom-config/xml-id|.
113    
114     * NamedNodeMap (TIEHASH): Were missing.
115    
116     2007-07-14 Wakaba <wakaba@suika.fam.cx>
117    
118 wakaba 1.244 * AttributeDefinition.pm (node_value): Implemented.
119     (create_attribute_definition): Implemented.
120    
121     * DOMConfiguration.pm (%{}, TIEHASH,
122     get_parameter, set_parameter, can_set_parameter,
123     EXISTS, DELETE, parameter_names, FETCH, STORE,
124     FIRSTKEY, LASTKEY): Implemented.
125    
126     * DOMDocument.pm (____new): Set |error-handler| default.
127     (get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented.
128    
129     * DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns):
130     Implemented.
131    
132     * DOMException.pm: Error types for |DOMConfiguration|
133     are added.
134    
135     * DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New
136     class.
137    
138     * DocumentType.pm (get_element_type_definition_node,
139     get_general_entity_node, get_notation_node,
140     set_element_type_definition_node, set_general_entity_node,
141     set_notation_node, create_document_type_definition): Implemented.
142    
143     * ElementTypeDefinition.pm (get_attribute_definition_node,
144     set_attribute_definition_node, create_element_type_definition):
145     Implemented.
146    
147     * Entity.pm (create_general_entity): Implemented.
148    
149     * Node.pm: Constants in |OperationType| definition
150     group are added.
151     (manakai_language): Implemented.
152    
153     * NodeList.pm (Message::DOM::NodeList::GetElementsList): New
154     class.
155    
156     * Notation.pm (create_notation): Implemented.
157    
158     2007-07-14 Wakaba <wakaba@suika.fam.cx>
159    
160 wakaba 1.243 * TypeInfo.pm: New Perl module.
161    
162     * Attr.pm: Use |manakai_local_name| rather than |local_name|
163     to avoid HTML5 case normalization.
164     (is_id): Implemented.
165     (manakai_name): New attribute.
166     (schema_type_info): Implemented.
167     (create_attribute_ns): Empty string as namespace URI
168     was not supported.
169    
170     * DOMElement.pm (clone_node): Removed since now it is
171     defined in |Node.pm|.
172     (schema_type_info): Implemented.
173     (manakai_tag_name): New attribute.
174     (get_attribute, get_attribute_node, get_attribute_ns,
175     get_attribute_node_ns, has_attribute, has_attribute_ns,
176     remove_attribute, remove_attribute_ns,
177     remove_attribute_node, set_attribute, set_attribute_ns,
178     set_id_attribute, set_id_attribute_node,
179     set_id_attribute_ns): Implemented.
180     (create_element_ns): Empty string as namespace URI
181     was not supported.
182    
183 wakaba 1.242 2007-07-12 Wakaba <wakaba@suika.fam.cx>
184    
185     * AttributeDefinition.pm (owner_element_type_definition): Implemented.
186    
187     * DocumentType.pm (create_document_type_definition): Initialize
188     |public_id|, |system_id|, and |internal_subset| attributes
189     by empty strings for compatibility with Web browsers.
190     (create_document_type): Initialize |internal_subset|
191     attribute by an empty string for compatibility with
192     Web browsers.
193    
194     * ElementTypeDefinition.pm, Entity.pm,
195     Notation.pm (owner_document_type_definition): Implemented.
196    
197 wakaba 1.236 2007-07-08 Wakaba <wakaba@suika.fam.cx>
198    
199 wakaba 1.241 * DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration|
200     feature is added for compatibility with |XMLParserTemp.pm|.
201    
202     2007-07-08 Wakaba <wakaba@suika.fam.cx>
203    
204 wakaba 1.240 * Attr.pm (value, node_value): Now it is defined
205     as |text_content| itself.
206    
207     * AttributeDefinition.pm, ElementTypeDefinition.pm,
208     Node.pm (AUTOLOAD): Unused block is removed.
209    
210     * CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed. Unused.
211    
212     * DocumentType.pm (internal_subset): Implemented.
213    
214     * Entity.pm (is_externally_declared, input_encoding,
215     xml_version): Implemented.
216    
217     * ProcessingInstruction.pm (target, data): Implemented.
218    
219     2007-07-08 Wakaba <wakaba@suika.fam.cx>
220    
221 wakaba 1.239 * DOMCharacterData.pm (AUTOLOAD): Removed.
222     (data): Reimplemented.
223     (delete_data, insert_data, replace_data, substring_data): There were
224     a number of bugs.
225    
226     * Text.pm (AUTOLOAD): Removed. Unused.
227    
228     2007-07-08 Wakaba <wakaba@suika.fam.cx>
229    
230 wakaba 1.238 * StringExtended.pm: New Perl module.
231    
232     * DOMCharacterData.pm (length, append_data, delete_data,
233     insert_data, replace_data, substring_data): Implemented.
234    
235     * DOMException.pm (INDEX_SIZE_ERR): Implemented.
236    
237     * Text.pm (is_element_content_whitespace, whole_text,
238     split_text): Implemented.
239    
240     2007-07-08 Wakaba <wakaba@suika.fam.cx>
241    
242 wakaba 1.237 * DOMElement.pm (attributes): Implemented.
243    
244     * DOMException.pm (INUSE_DEFINITION_ERR): New error type.
245    
246     * DocumentType.pm (entities, general_entities,
247     notations, element_types): Implemented.
248    
249     * ElementTypeDefinition.pm (attribute_definitions): Implemented.
250    
251     * NamedNodeMap.pm: New Perl module.
252    
253     2007-07-08 Wakaba <wakaba@suika.fam.cx>
254    
255 wakaba 1.236 * Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm,
256     DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm,
257     Node.pm, Notation.pm, ProcessingInstruction.pm (append_child,
258     insert_before, replace_child): Implemented.
259    
260     * DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented.
261    
262     * Node.pm (remove_child): Implemented.
263    
264 wakaba 1.229 2007-07-07 Wakaba <wakaba@suika.fam.cx>
265    
266 wakaba 1.235 * Node.pm (==, is_equal_node): Implemented.
267     (is_same_node): Implemented.
268     (get_feature, get_user_data, set_user_data): Implemented.
269     (is_supported): Implemented.
270    
271     2007-07-07 Wakaba <wakaba@suika.fam.cx>
272    
273 wakaba 1.234 * DOMDocument.pm (get_element_by_id): Implemented.
274     (create_document): Implemented.
275    
276     * DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New
277     errors.
278     (QNAME_NULLNS_ERR): New errors.
279    
280     * DocumenType.pm (create_document_type): Implemented.
281    
282     2007-07-07 Wakaba <wakaba@suika.fam.cx>
283    
284 wakaba 1.233 * CDATASection.pm (is_element_content_whitespace): New.
285    
286     * DOMElement.pm (has_attribute): Alpha version.
287     (create_element, create_element_ns): Implemented.
288    
289     * DocumentType.pm (get_general_entity_node): Alpha version.
290    
291     * EntityReference.pm (create_entity_reference): Implemented.
292    
293     * ProcessingInstruction.pm (create_processing_instruction): Implemented.
294    
295     2007-07-07 Wakaba <wakaba@suika.fam.cx>
296    
297 wakaba 1.232 * Attr.pm (create_attribute, create_attribute_ns): Implemented.
298    
299     * DOMDocument.pm: Load character classes from |Char::Class::XML|.
300     (compat_mode): Check |defined| not to be warned as "uninitialized"
301     when |{manakai_compat_mode}| is |undef|.
302    
303     * DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added.
304    
305     * DOMImplementationRegistry.pm, DOMImplementationSource.pm:
306     Statements to set |$Error::Depth| are removed since they
307     are result in "uninitialized" warnings unless
308     the |Message::DOM::DOMException| module is loaded earlier.
309     Usually methods invoked in these methods does not
310     raise any exception so that it makes no difference.
311    
312     2007-07-07 Wakaba <wakaba@suika.fam.cx>
313    
314 wakaba 1.231 * DOMDocument.pm (adopt_node): Implemented.
315     (doctype): Implemented.
316    
317     * DOMElement.pm (remove_attribute_node): Alpha version.
318    
319     * DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New
320     error type.
321    
322     * Node.pm (set_user_data): Implemented.
323    
324     2007-07-07 Wakaba <wakaba@suika.fam.cx>
325    
326 wakaba 1.230 * DOMImplementation.pm (new): New method name for |____new|.
327     It will be defined in the DOM Perl Binding specification
328     as part of |DOMImplementation| interface.
329     ($HasFeature): Defined for features support.
330     (has_feature, get_feature): Implemented.
331    
332     * DOMStringList.pm: Don't load the |Message::DOM::DOMException|
333     module unless necessary.
334     (___report_error): Removed since it is not used in fact.
335    
336     * DOMImplementationList.pm, DOMImplementationSource.pm,
337     DOMImplementationRegistry.pm: New modules.
338    
339     2007-07-07 Wakaba <wakaba@suika.fam.cx>
340    
341 wakaba 1.229 * AttributeDefinition.pm (allowed_tokens): Implemented.
342    
343     * DOMStringList.pm: New Perl module.
344    
345 wakaba 1.228 2007-06-26 Wakaba <wakaba@suika.fam.cx>
346    
347     * DOMElement.pm (clone_node): Alpha version. It did not work
348     at all.
349    
350     2007-06-24 Wakaba <wakaba@suika.fam.cx>
351    
352     * ProcessingInstruction.pm (data): Now it is a read-write attribute.
353    
354 wakaba 1.227 2007-06-23 Wakaba <wakaba@suika.fam.cx>
355    
356     * DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented.
357     (manakai_is_html): Revised.
358     (Document): Now it implements the |HTMLDocument| interface.
359     (adopt_node): Alpha version.
360    
361     * AttributeDefinition.pm (allowed_tokens): |allowed_tokens|,
362     not |allowed_token|!
363    
364     * ElementTypeDefinition.pm (attribute_definitions): Don't
365     return an |undef| even if its |attribute_definitions|
366     list is not created.
367    
368 wakaba 1.225 2007-06-21 Wakaba <wakaba@suika.fam.cx>
369    
370 wakaba 1.226 * Comment.pm (node_type): Node type was incorrect!
371    
372     * DOMConfiguration.pm (get_parameter): Alpha.
373    
374     * DOMImplementation.pm (create_mc_decode_handler,
375     create_charset_name_from_uri, create_uri_from_charset_name):
376     New autoload configuration. Note that the Message::Charset::Encode
377     module is subject to change.
378    
379     * XMLParserTemp.pm: Now it can be used with new version
380     of DOM implementation. Current plan is to replace it by
381     an XML5 parser someday.
382    
383     2007-06-21 Wakaba <wakaba@suika.fam.cx>
384    
385 wakaba 1.225 * DOMLocator.pm: New module.
386    
387     * DOMError.pm: New module.
388    
389 wakaba 1.224 2007-06-20 Wakaba <wakaba@suika.fam.cx>
390    
391     * Node.pm (manakai_expanded_uri, manakai_parent_element,
392     clone_node, compare_document_position, has_attributes,
393     has_child_nodes, is_default_namespace, lookup_namespace_uri,
394     lookup_prefix, normalize): Implemented.
395    
396     * DOMElement.pm (remove_attribute, set_attribute): Alpha version.
397    
398     * DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error.
399    
400 wakaba 1.222 2007-06-17 Wakaba <wakaba@suika.fam.cx>
401    
402 wakaba 1.223 * AttributeDefinition.pm (____new): Set an empty list
403     to the |allowed_tokens| attribute.
404     (allowed_token): Alpha version.
405    
406     * DocumentType.pm (get_element_type_definition_node,
407     get_notation_node): ALpha version.
408    
409     * ElementTypeDefinition.pm (attribute_definitions): Alpha 2
410     version.
411    
412     * Entity.pm (notation_name): Implemented.
413    
414     2007-06-17 Wakaba <wakaba@suika.fam.cx>
415    
416 wakaba 1.222 * Attr.pm (____new): Initialize |specified| as 1.
417     (base_uri, manakai_attribute_type, specified): Implemented.
418     (prefix): Don't check read-only flag unless |strict_error_checking|.
419     (value): Call |text_content| for now.
420    
421     * AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added.
422     (declared_type, default_type): Implemented.
423    
424     * CharacterData.pm (____new): Allow a scalar reference
425     as an input for the |data| attribute.
426     (base_uri, manakai_append_text): Implemented.
427    
428     * DOMConfiguration.pm (set_parameter): Resetting implemented.
429    
430     * DOMDocument.pm (____new): Set default values to
431     configuration parameter whose default is true.
432     (document_uri, input_encoding): Implemented.
433     (all_declarations_processed, manakai_is_html): Implemented.
434     (base_uri, manakai_append_text,
435     manakai_entity_base_uri, strict_error_checking,
436     xml_encoding, xml_version, xml_standalone): Implemented.
437    
438     * DOMElement.pm (manakai_base_uri, base_uri): Implemented.
439     (get_attribute, get_attribute_node): Alpha version.
440     (set_attribute_node, set_attribute_node_ns): Implemented.
441     (set_attribute_ns): Accept non-ARRAY qualified name.
442    
443     * DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|,
444     |NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added.
445    
446     * DocumentType.pm (public_id, system_id): Implemented.
447     (base_uri, declaration_base_uri, manakai_declaration_base_uri,
448     manakai_append_text): Implemented.
449     (element_types, general_entities, notations,
450     set_element_type_definition_node, set_general_entity_node,
451     set_notation_node): Alpha version.
452    
453     * ElementTypeDefinition.pm (manakai_append_text): Implemented.
454     (attribute_definitions, set_attribute_definition_node): Alpha version.
455    
456     * Entity.pm (has_replacement_tree, public_id, system_id,
457     manakai_declaration_base_uri, manakai_entity_base_uri,
458     manakai_entity_uri): Implemented.
459    
460     * EntityReference.pm (manakai_expanded, manakai_external): Implemented.
461     (base_uri, manakai_entity_base_uri): Implemented.
462    
463     * Node.pm (base_uri): Implemented.
464     (text_content): Don't check read-only or not
465     unless |strict_error_checking|.
466     (manakai_append_text): Implemented.
467     (get_feature): Alpha.
468     (manakai_set_read_only): Implemented.
469    
470     * Notation.pm (public_id, system_id, manakai_append_text,
471     manakai_declaration_base_uri): Implemented.
472    
473     * ProcessingInstruction.pm (manakai_base_uri,
474     base_uri, manakai_append_text): Implemented.
475    
476 wakaba 1.218 2007-06-16 Wakaba <wakaba@suika.fam.cx>
477    
478 wakaba 1.221 * DOMConfiguration.pm: New module.
479    
480     * Attr.pm (trivial accessor for read-write attributes): Throw
481     an exception if the node is read-only. Delete the property
482     if undef is specified.
483     (prefix): Implemented.
484    
485     * DOMElement.pm (trivial accessor for read-write attributes): Throw
486     an exception if the node is read-only. Delete the property
487     if undef is specified.
488     (prefix): Implemented.
489     (text_content, manakai_append_text): Old implementations are removed.
490    
491     * DOMCharacterData.pm (text_content): Implemented.
492    
493     * DOMDocument.pm (____new): Initialize the strict-document-children
494     parameter by true.
495     (text_content): Reimplemented.
496     (dom_config): New.
497    
498     * DOMException.pm (READ_ONLY_NODE_ERR): New subtype.
499    
500     * DocumentType.pm (text_content): Implemented.
501    
502     * ElementTypeDefinition.pm (text_content): Implemented.
503    
504     * Node.pm (___report_error): New method.
505     (text_content): Implemented.
506     (manakai_append_text): Copied from |DOMElement.pm|.
507    
508     * Notation.pm (text_content): Implemented.
509    
510     * ProcessingInstruction.pm (text_content): Implemented.
511    
512     * Text.pm (is_element_content_whitespace): Alpha version.
513    
514     2007-06-16 Wakaba <wakaba@suika.fam.cx>
515    
516 wakaba 1.220 * DOMException.pm (Message::IF::DOMException): Extends
517     the |Message::Util::Error| class.
518    
519     * NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class.
520     (CLEAR): Not all items were removed.
521    
522     2007-06-16 Wakaba <wakaba@suika.fam.cx>
523    
524 wakaba 1.219 * Attr.pm, AttributeDefinition.pm, DocumentFragment.pm,
525     DocumentType.pm, Entity.pm,
526     EntityReference.pm (____new): Initialize |child_nodes| by an empty list.
527    
528     * Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm,
529     Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned.
530    
531     * DOMDocument.pm (AUTOLOAD): Typo fixed.
532    
533     * Node.pm (==, !=): Implemented.
534     (manakai_read_only): Implemented.
535     (is_same_node): Implemented.
536     (is_equal_node): Alpha version.
537     (manakai_set_read_only): Alpha version.
538     (child_nodes, first_child, last_child, previous_sibling): Duplicate
539     definitions are removed.
540    
541     2007-06-16 Wakaba <wakaba@suika.fam.cx>
542    
543 wakaba 1.218 * Node.pm: First alpha version of implementation of attributes.
544    
545 wakaba 1.217 2007-06-15 Wakaba <wakaba@suika.fam.cx>
546    
547     * ProcessingInstruction.pm, EntityReference.pm,
548     CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm,
549     ElementTypeDefinition.pm, AttributeDefinition.pm,
550     DocumentType.pm, DOMElement.pm, Attr.pm,
551     CharacterData.pm, Text.pm, Comment.pm (node_name,
552     node_value, node_type): Implemented.
553    
554 wakaba 1.216 2007-06-14 Wakaba <wakaba@suika.fam.cx>
555    
556     * Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm,
557     CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm,
558     AttributeDefinition.pm: New modules.
559    
560     * DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added.
561     (create_attribute_definition, create_element_type_definition,
562     create_document_type_definition, create_cdata_section,
563     create_processing_instruction, create_entity_reference,
564     create_general_entity, create_notation): Prototypes added.
565    
566     * DOMImplementation.pm (create_document_type): Prototype added.
567    
568     * DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition'
569     and 'Message::IF::DocumentTypeDeclaration' added.
570     (create_document_type, create_document_type_definition):
571     New methods.
572    
573 wakaba 1.215 2007-06-13 Wakaba <wakaba@suika.fam.cx>
574    
575     * DOMImplementation.pm, Node.pm, DOMDocument.pm,
576     DOMElement.pm, Attr.pm, DocumentType.pm,
577     DOMCharacterData.pm, Text.pm, Comment.pm: Copied
578     from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>.
579    
580     2007-06-10 Wakaba <wakaba@suika.fam.cx>
581    
582     * XMLParser.dis: Default to "1.0" if <?xml version=""?>
583     specifies unknown value and trys to recover from the error.
584    
585 wakaba 1.214 2007-05-13 Wakaba <wakaba@suika.fam.cx>
586    
587     * TreeCore.dis (manakaiLocalName): New attribute.
588    
589 wakaba 1.213 2007-01-02 Wakaba <wakaba@suika.fam.cx>
590    
591     * GenericLS.dis (GLSException): New interface.
592    
593 wakaba 1.211 2006-12-31 Wakaba <wakaba@suika.fam.cx>
594    
595 wakaba 1.212 * |InputProcessor|s and |OutputProcessor|s are
596     named so that |report| statements in Perl
597     module outputs can be identified by name. |dis:dataType|s
598     of |DISCore:TFQNames| are all replaced
599     by |DISCore:QName|.
600    
601     2006-12-31 Wakaba <wakaba@suika.fam.cx>
602    
603 wakaba 1.211 * Element.dis (createElementNS): If an array reference
604     is specified as the |qualifiedName| parameter,
605     don't set the first item as the local name
606     even if the second item is not specified (or
607     specified as |undef|).
608     (createElementNS, setAttribute, setAttributeNS,
609     removeAttribute, removeAttributeNS,
610     setAttributeNode, setAttributeNodeNS,
611     removeAttributeNode, removeAttributeNodeNS): Sets
612     or removes the |tc:contentAttributeList| value.
613    
614     * TreeCore.dis (AttrMap.item): Caches the result
615     of sorting of content attribute names.
616     (getAttrMap, getElementTypeDefNodeMap,
617     getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed.
618     (tc:contentAttributeList): New property.
619    
620 wakaba 1.204 2006-12-30 Wakaba <wakaba@suika.fam.cx>
621    
622 wakaba 1.210 * DOMFeature.dis (ForDef): Removed.
623     (f:provides, f:through): Removed.
624     (Version): Removed.
625     (implementFeature): Removed.
626    
627     2006-12-30 Wakaba <wakaba@suika.fam.cx>
628    
629 wakaba 1.207 * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
630 wakaba 1.208 GenericLS.dis, TreeCore.dis, DOMString.dis,
631     XML.dis, Element.dis, Document.dis, TreeStore,dis,
632     Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
633 wakaba 1.209 SimpleLS.dis, DOMMain.dis, XDP.dis: |For| specifications
634     are removed.
635    
636     2006-12-30 Wakaba <wakaba@suika.fam.cx>
637    
638     * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
639     GenericLS.dis, TreeCore.dis, DOMString.dis,
640     XML.dis, Element.dis, Document.dis, TreeStore,dis,
641     Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
642 wakaba 1.208 SimpleLS.dis, DOMMain.dis, XDP.dis: |WithFor| specifications
643     and |DefaultFor|s are removed.
644    
645     2006-12-30 Wakaba <wakaba@suika.fam.cx>
646    
647     * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
648 wakaba 1.207 GenericLS.dis, TreeCore.dis, DOMString.dis,
649     XML.dis, Element.dis, Document.dis, TreeStore,dis,
650     Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
651     SimpleLS.dis, DOMMain.dis: References
652     to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|,
653     |ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3|
654     modes are removed.
655    
656     2006-12-30 Wakaba <wakaba@suika.fam.cx>
657    
658 wakaba 1.206 * CharacterData.dis, TreeCore.dis (Require): References
659     to the |Grove.dis| module are removed.
660    
661     2006-12-30 Wakaba <wakaba@suika.fam.cx>
662    
663 wakaba 1.205 * DOMFeature.dis (f:implementation, f:revImplementation): Removed.
664     (Require): Reference to the |Grove.dis| module is removed.
665    
666     2006-12-30 Wakaba <wakaba@suika.fam.cx>
667    
668 wakaba 1.204 * DOMCore.dis (ManakaiDOMImplementation): The
669     class is no longer plays the role of
670     a |mg:NodeRefRole|. Redundant |f:provides|
671     properties are removed.
672    
673 wakaba 1.203 2006-12-29 Wakaba <wakaba@suika.fam.cx>
674    
675     * TreeCore.dis, DOMCore.dis, Document.dis,
676     Element.dis, CharacterData.dis, XML.dis,
677     XDoctype.dis, DOMString.dis, TreeStore.dis,
678     XMLParser.dis: Use Perl native
679     hashs and |Scalar::Util|'s weak references in favor of |Grove.dis|
680     for DOM nodes. See
681     also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>.
682    
683 wakaba 1.202 2006-12-03 Wakaba <wakaba@suika.fam.cx>
684    
685     * DOMFeature.dis, TreeCore.dis: Unused |role|s are removed.
686    
687 wakaba 1.201 2006-12-02 Wakaba <wakaba@suika.fam.cx>
688    
689     * DOMString.dis: New module.
690    
691     * DOMString.pm: New file.
692    
693     * DOMCore.dis (min): Moved from |DOMFeature.dis|.
694     (ImplementationRegistryVariable): Moved from |DOMFeature.dis|.
695     Now it references the |DOMImplementationRegistry| object.
696     (DOMImplementationRegistryVariable): Moved from |DOMMain.dis|.
697     (DOMImplementationRegistry): New interface and
698     class, reformed from |ImplementationRegistry| in |DOMFeature.dis|
699     and |DOMImplementationRegistry| in |DOMMain.dis|. Note
700     that the class no longer support |get_implementation|
701     and |get_implementation_list| methods from
702     the |ImplementationRegistry| interface.
703     (DOMImplementationList): Class implemented; no
704     longer inherits from |ImplementationList|.
705     (DOMImplementationSource): Class implemented; no
706     longer inherits from |ImplementationSource|. Note that
707     the class no longer support |get_implementation|
708     and |get_implementation_list| methods from
709     the |ImplementationSource| interface.
710     (DOMStringList): Removed.
711    
712     * DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature,
713     ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature,
714     ManakaiDOM:DOMXMLFeatureXML11, most part of
715     documentation for obsolete DOM Level 3 Minimum Implementation
716     module, obsolete property name aliases,
717     ImplemenationRegistryVar, ImplementationRegistry,
718     DEBUG, MIString, ImplementationList, ImplementationSource,
719     ManakaiDOM:implID): Removed.
720    
721     * DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed.
722     (DOMString): Removed.
723     (DOMImplementationRegistryVar, DOMImplementationRegistry): Removed.
724    
725     * Makefile: |DOMString.pm| is added.
726    
727     * TreeCore.dis (is_default_namespace): |null| was
728     returned where a false is expected (|null| is
729     a false in Perl, but real |false| is appropriate here).
730    
731 wakaba 1.197 2006-11-05 Wakaba <wakaba@suika.fam.cx>
732    
733 wakaba 1.200 * DOMCore.dis (TypeInfo, UserDataHandler): Removed.
734    
735     * Element.dis (TypeInfo): Moved from |DOMCore.dis|.
736    
737     * TreeCore.dis (UserDataHandler): Moved from |DOMCore.dis|.
738    
739     2006-11-05 Wakaba <wakaba@suika.fam.cx>
740    
741 wakaba 1.199 * DOMFeature.dis (ImplementationList, ImplementationSource,
742     ImplementationRegistry): Parameters |features|
743     now allow |null| (equivalent to an empty string).
744    
745     2006-11-05 Wakaba <wakaba@suika.fam.cx>
746    
747 wakaba 1.198 * CharacterData.dis (ManakaiDOMDocumentCharacterData): New
748     class. Factory methods |createTextNode| and |createComment|
749     are moved from |ManakaiDOMDocument|.
750    
751     * DOMCore.dis: References to |ManakaiDOMObject|
752     are removed.
753     (tc:createImplForTest): Moved from |TreeCore.dis|.
754     (DOMImplementation.___create_node_ref): Support
755     for the |mg:nodeRefClass| option is removed.
756     (ManakaiDOMConfiguration.___report_error): Moved
757     from |ManakaiDOMObject| class.
758    
759     * DOMFeature.dis (domidl:extends): New property.
760     (f:getFeatureImpl): Support for |+| classes is removed.
761    
762     * DOMMain.dis (DOMMain:docSupportsXMLFeature): Removed.
763     (ManakaiDOM:ManakaiDOMObject): Removed.
764     (DOMDataType): Removed.
765    
766     * Document.dis (ManakaiDOMImplementationDocument):
767     The |createDocument| method is moved from
768     the |ManakaiDOMImplementationTC| in |TreeCore.dis|.
769     (ManakaiDOMDocument.___create_node_ref): Removed.
770     (createElement, createElementNS, createAttribute,
771     createAttributeNS, createTextNode, createComment,
772     createCDATASection, createEntityReference,
773     createProcessingInstruction): Class implementations
774     are moved to each module.
775    
776     * Element.dis (ManakaiDOMImplementationElement): Factory
777     methods are moved from |Document.dis|.
778     (ManakaiDOMElement.___create_node_ref): Support
779     for old class registry is removed.
780     (ManakaiDOMAttr.___create_node_ref): Removed.
781     (Attr.baseURI): Implementation
782     for |xml:base| attribute is merged.
783     (Attr.nodeValue, Attr.value): Implementation
784     for |xml:id| attribute is merged.
785    
786     * TreeCore.dis (ManakaiDOMImplementationTC): Removed.
787    
788     * XDoctype.dis (ManakaiDOMImplementationXDoctype): The
789     definition for |createDocumentType| method
790     is moved from |TreeCore.dis|.
791    
792     * XML.dis (ManakaiDOMXMLDocument): Factory
793     methods are moved from |Document.dis|.
794     (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Removed (merged
795     into |ManakaiDOMAttr| in |Element.dis|).
796    
797     2006-11-05 Wakaba <wakaba@suika.fam.cx>
798    
799 wakaba 1.197 * Element.dis (___get_node_ref): |eval|ed |require|
800     statement was broken.
801    
802     * DOMFeature.dis (getImplementationList): Argument
803     is not passed to the |getImplementation| method.
804    
805     * TreeStore.dis (DOMImplementationTreeStore): It
806     did not |f:implements| the |TSFeature30| feature.
807    
808     * XMLParser.dis: Use |create_uri_reference|
809     method instead of internal |_new| method
810     to create a URI reference object.
811    
812 wakaba 1.195 2006-11-04 Wakaba <wakaba@suika.fam.cx>
813    
814     * DOMCore.dis (ManakaiDOMImplementation): No longer
815 wakaba 1.196 explicitly inherits |urigen:ManakaiURIImplementation| (and
816     the |f:ManakaiMinimumImplementation| class inherited
817     by it). The |f:Minimum| feature is ever implemented
818     for compatibility (but is expected to be removed).
819     Internal methods such as |___report_error| are copied from
820     obsolete |f:MinimumImplementation| class. DOM3
821     methods |hasFeature| and |getFeature| are also
822     moved from that class, but they now support no
823     foreign classes.
824    
825     * DOMFeature.dis (ManakaiImplementationSource): It
826     now |p:require|s |Message::Util::AutoLoad::Registry|.
827     The class no longer support classes
828     other than |ManakaiDOMImplementation|. Note
829     that the |ImplementationRegistry| object does continue
830     to support foreign classes via foreign classes
831     implementing |ImplementationSource|
832     or |DOMImplementationSource| interface.
833     (MinimumImplementation): Removed.
834    
835     * DOMLS.dis (ManakaiDOMImplementationLS): It no
836     longer inherit the |ManakaiDOMImplementation|; it
837     is now expected to be implemented by |DOMImplementation|
838     objects.
839    
840     * DOMMain.dis (null): Removed.
841    
842     * Document.dis (___create_node_ref): It no
843     longer support foreign classes other
844     than |Message::DOM::Document::ManakaiDOMDocument|.
845     Note that document format specific DOM
846     interfaces, if supported, should be
847     all instances of the |Document| interface
848     in the implementation, as defined
849     in the Web Applications 1.0 specification (where
850     the |HTMLDocument| interface must be implemented
851     by all |Document| objects, even if the |Document|
852     contains no HTML element).
853    
854     * GenericLS.dis (GLSImplementation): It no
855     longer inherit the |MinimumImplementation|; it
856     is now expected to be implemented by |DOMImplementation|
857     objects.
858     (createGLSParser, createGLSSerializer): Load
859     module implementing parser or serializer
860     if necessary.
861    
862     * Traversal.dis (ManakaiDOMDocumentTraversal): It no
863     longer inherits the |ManakaiDOMDocument|; it
864     is now expected to be implemented by |Document|
865     objects.
866    
867     * XDP.dis (XDPDocument): It no longer
868     inherits the |Document|; it is now expected
869     to be implemented by all |Document| objects.
870    
871     * XDoctype.dis (ManakaiDOMDocumentXDoctype): It no
872     longer inherits the |ManakaiDOMDocument|; it
873     is now expected to be implemented by |Document|
874     objects.
875    
876     2006-11-04 Wakaba <wakaba@suika.fam.cx>
877    
878     * DOMCore.dis (ManakaiDOMImplementation): No longer
879 wakaba 1.195 explicitly inherits |tc:ManakaiDOMImplementationTC|.
880     (ManakaiDOMImplementation.AUTOLOAD): New method definition.
881    
882     * TreeCore.dis (ManakaiDOMImplementationTC): Extends
883     the |ManakaiDOMImplementation| class.
884    
885     2006-11-03 Wakaba <wakaba@suika.fam.cx>
886    
887     * DOMFeature.dis: Definitions for various concepts
888     are added.
889    
890     * GenericLS.dis (GLSImplementation): It no
891     longer inherits the |MinimumImplementation|; rather,
892     any |ManakaiMinimumImplementation| object also
893     implements |GLSImplementation| methods.
894    
895     * TreeStore.dis (DOMImplementationTreeStore): It no
896     longer inherits the |DOMImplementation|; rather,
897     any |ManakaiDOMImplementation| object also
898     implements |DOMImplementationTreeStore| methods.
899    
900 wakaba 1.194 2006-08-15 Wakaba <wakaba@suika.fam.cx>
901    
902     * TreeStore.pm: Added to the CVS repository
903     to enable for the dis database to contain XML
904     fragments.
905    
906     * Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added.
907    
908     * TreeStore.dis (Namespace): Namespace URI was incorrect.
909    
910 wakaba 1.193 2006-06-18 Wakaba <wakaba@suika.fam.cx>
911    
912     * Traversal.dis (expandEntityReferences): Syntax was incorrect.
913    
914     * TreeCore.dis (manakaiReadOnly): Test assertion was incorrect.
915    
916     * XDP.dis (dtdText): Test assertion was incorrect.
917    
918 wakaba 1.192 2006-05-21 Wakaba <wakaba@suika.fam.cx>
919    
920     * XDP.dis (XDPEntityValue.stringify): Don't escape
921     any |%|s in |xdp:attr-definition| children.
922    
923 wakaba 1.190 2006-05-20 Wakaba <wakaba@suika.fam.cx>
924    
925 wakaba 1.191 * XDP.dis (createXDPRNIKeyword): The Perl method
926     name property is added.
927    
928     2006-05-20 Wakaba <wakaba@suika.fam.cx>
929    
930 wakaba 1.190 * XDP.dis (createXDPIf): New method.
931     (XDPIfElement): New interface.
932    
933 wakaba 1.188 2006-05-15 Wakaba <wakaba@suika.fam.cx>
934    
935 wakaba 1.189 * XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition):
936     New methods.
937    
938     2006-05-15 Wakaba <wakaba@suika.fam.cx>
939    
940 wakaba 1.188 * XDP.dis (XDPDocument): A number of constructor methods
941     are added.
942     (XDPTextDecl.dtdText): The |xml| target was missing.
943    
944 wakaba 1.187 2006-05-14 Wakaba <wakaba@suika.fam.cx>
945    
946     * Traversal.dis (SerialWalker): New interface.
947     (manakaiCreateSerialWalker): New method.
948    
949 wakaba 1.184 2006-05-13 Wakaba <wakaba@suika.fam.cx>
950    
951 wakaba 1.186 * Traversal.dis (testNode): Calls |acceptNode| method
952     rather than |&{}| dereferencing.
953     (acceptNode): Implemented.
954    
955     2006-05-13 Wakaba <wakaba@suika.fam.cx>
956    
957 wakaba 1.185 * XDP.dis: New module.
958    
959     * Makefile: |XDP.dis| is added.
960    
961     * Traversal.dis (NodeFilter): |InputProcessor|
962     and |OutputProcessor| are added.
963    
964     2006-05-13 Wakaba <wakaba@suika.fam.cx>
965    
966 wakaba 1.184 * Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value.
967     (TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support
968     is added. The |FILTER_REJECT| value is treated
969     as |FILTER_ACCEPT| if the |currentNode| is in the
970     rejected subtree as specified in the spec.
971    
972 wakaba 1.183 2006-05-05 Wakaba <wakaba@suika.fam.cx>
973    
974     * SimpleLS.dis: An |xmlns:| prefix was missing.
975    
976 wakaba 1.182 2006-05-04 Wakaba <wakaba@suika.fam.cx>
977    
978     * SimpleLS.dis: Namespace bugs are fixed.
979    
980 wakaba 1.179 2006-04-30 Wakaba <wakaba@suika.fam.cx>
981    
982 wakaba 1.181 * .cvsignore: Updated.
983    
984     * Traversal.dis: Unused declarations are removed.
985    
986     2006-04-30 Wakaba <wakaba@suika.fam.cx>
987    
988 wakaba 1.180 * CharacterData.dis (Require): A reference to
989     the |MDOM:Traversal| module is added.
990     (wholeText): Implemented.
991    
992     2006-04-30 Wakaba <wakaba@suika.fam.cx>
993    
994 wakaba 1.179 * Makefile: |Traversal.dis| is added.
995    
996     * Traversal.dis: New module.
997    
998     * TreeCore.dis (___report_error): Return value was
999     not propagated.
1000    
1001 wakaba 1.178 2006-04-29 Wakaba <wakaba@suika.fam.cx>
1002    
1003     * Element.dis (removeAttributeNS): A runtime error
1004     was occurred if there was no specified attribute node.
1005    
1006     * TreeCore.dis (manakaiLanguage): New attribute.
1007    
1008     2006-04-28 Wakaba <wakaba@suika.fam.cx>
1009    
1010     * TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly):
1011     New attributes.
1012    
1013     (StaticNodeList): New interface.
1014    
1015     2006-04-24 Wakaba <wakaba@suika.fam.cx>
1016    
1017     * DOMCore.dis (c:SET_TO_NULL_ERR): New error code.
1018    
1019 wakaba 1.176 2006-04-22 Wakaba <wakaba@suika.fam.cx>
1020    
1021 wakaba 1.177 * SimpleLS.dis: Reimplemented.
1022    
1023     2006-04-22 Wakaba <wakaba@suika.fam.cx>
1024    
1025 wakaba 1.176 * DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now
1026     a qualified name.
1027     (tc:EXTERNAL_NODE_COMPARISON_ERR): New error type.
1028    
1029     * TreeCore.dis (compareDocumentPosition): Implemented.
1030     (normalize): Implemented.
1031     (STORESIZE, CLEAR): Were not implemented for |EmptyNodeList|
1032     class.
1033    
1034 wakaba 1.172 2006-04-16 Wakaba <wakaba@suika.fam.cx>
1035    
1036 wakaba 1.175 * DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.
1037    
1038     2006-04-16 Wakaba <wakaba@suika.fam.cx>
1039    
1040 wakaba 1.174 * CharacterData.dis (length, insertData, substringData,
1041     appendData, deleteData, replaceData, splitText): Reimplemented.
1042    
1043     * DOMCore.dis (NEGATIVE_LENGTH_ERR): New error.
1044     (c:index): The definition was missing.
1045     (c:length): New property.
1046    
1047     2006-04-16 Wakaba <wakaba@suika.fam.cx>
1048    
1049 wakaba 1.173 * XMLParser.dis (close): Invoke |close| method
1050     rather than |close| function.
1051    
1052     2006-04-16 Wakaba <wakaba@suika.fam.cx>
1053    
1054 wakaba 1.172 * CharacterData.dis: New module split from |TreeCore.dis|.
1055    
1056     * CharacterData.pm: Added to the CVS repository.
1057    
1058     * TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
1059     interfaces are removed.
1060     (Require): A reference to the |MDOM:CharacterData| module
1061     is added.
1062    
1063     * DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.
1064    
1065     * DOMCore.dis (StringOutOfBoundsException): New error.
1066    
1067     * Makefile: |CharacterData.pm| is added.
1068    
1069 wakaba 1.171 2006-04-09 Wakaba <wakaba@suika.fam.cx>
1070    
1071     * XMLParser.dis (Require): Requires the |MCharset:Encode|
1072     module.
1073     (parse): Set the |inputEncoding| attribute of the generated document
1074     object.
1075     (resolveLSInput default implementation): The |byteStream|
1076     and |encoding| attributes of the |LSInput| interface
1077     are now supported.
1078     (resolveLSInput): Parameters |impl| and |parser| are added.
1079     (InputFile.inputEncoding): New attribute.
1080    
1081 wakaba 1.168 2006-04-04 Wakaba <wakaba@suika.fam.cx>
1082    
1083 wakaba 1.170 * Document.dis (adoptNode test): Documents were
1084     made by different documents.
1085    
1086     2006-04-04 Wakaba <wakaba@suika.fam.cx>
1087    
1088 wakaba 1.169 * XMLParser.dis: The |cfg:dtd-default-attributes| configuration
1089     parameter is changed to |cfg:dtd-default-attribute|.
1090    
1091     2006-04-04 Wakaba <wakaba@suika.fam.cx>
1092    
1093 wakaba 1.168 * TreeCore.dis: The |DOMMain:raiseException| elements
1094     are replaced by |disPerl:EXCEPTION|s.
1095    
1096 wakaba 1.167 2006-04-03 Wakaba <wakaba@suika.fam.cx>
1097    
1098     * DOMMain.dis (GetPropNode, CheckReadOnly): Removed.
1099    
1100     * Node.dis (cfg:dtd-default-attribute): The configuration
1101     parameter |cfg:dtd-default-attributes| is renamed
1102     as |cfg:dtd-default-attribute|.
1103     (Roles): Definitions are changed so that classes
1104     that implement those classes MUST implement the |Node|
1105     and its subinterfaces.
1106     (cfg:dtd-attribute-type): New configuration parameter.
1107    
1108     * Document.dis (adoptNode): Don't throw exception
1109     if |strictErrorChecking| is |false|.
1110    
1111     * Element.dis (setAttribute, setAttributeNS): Don't
1112     set [attribute type] if the |cfg:dtd-attribute-type|
1113     configuration parameter is set to |false|.
1114     (removeAttribute, removeAttributeNS, removeAttributeNode): Don't
1115     regenerate default attribute nodes if the |cfg:dtd-default-attribute|
1116     configuration parameter is set to |false|.
1117    
1118 wakaba 1.164 2006-04-02 Wakaba <wakaba@suika.fam.cx>
1119    
1120 wakaba 1.166 * TreeStore.dis: New module.
1121    
1122     * Makefile: |TreeStore.dis| is added.
1123    
1124     2006-04-02 Wakaba <wakaba@suika.fam.cx>
1125    
1126 wakaba 1.165 * XMLParser.dis: Updated so that it can be used
1127     with |TreeCore.pm|, |Document.pm|, |Element.pm|,
1128     and |XML.pm|. Set the read-only flag to
1129     the |DocumentType|, |Entity|, and |EntityReference| noes.
1130    
1131     * Node.dis (textContent): It did not handle descendant
1132     element and entity reference nodes.
1133    
1134     * Element.dis, XML.dis (manakaiBaseURI.get): Its
1135     definition has been changed to return only explicit
1136     base URI specification.
1137    
1138     * DOMLS.dis (LSInput, LSOutput): They no longer
1139     inherits the |ManakaiDOM:ManakaiDOMObject| class.
1140    
1141     * Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.
1142    
1143     * Tree.pm, DOMXML.pm: Removed.
1144    
1145     * TreeCore.pm, Document.pm, Element.pm: Added
1146     to the CVS repository since they are necessary to
1147     build the dis library.
1148    
1149     * Makefile: Sync'ed to new modules disposition.
1150    
1151     2006-04-02 Wakaba <wakaba@suika.fam.cx>
1152    
1153 wakaba 1.164 * Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
1154     removed. For |Element.pm| and |Document.pm| are added.
1155    
1156     * Document.dis, Element.dis: New module split from |TreeCore.dis|.
1157    
1158     * TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.
1159    
1160 wakaba 1.162 2006-04-01 Wakaba <wakaba@suika.fam.cx>
1161    
1162 wakaba 1.163 * DOMFeature.dis (getImplementation, getImplementationList): Support
1163     for new class information variables.
1164     (DOMLS:Generic): This old feature name is removed.
1165    
1166     * GenericLS.dis (createGLSParser, createGLSSerializer): Support
1167     for new class information variables.
1168    
1169     * TreeCore.dis (manakaiExpandedURI): New attribute.
1170     (Document, Element.___create_node_ref): New method
1171     implementations.
1172    
1173     2006-04-01 Wakaba <wakaba@suika.fam.cx>
1174    
1175 wakaba 1.162 * TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
1176     Reimplemented.
1177     (isId): Setter is added.
1178     (Element.normalize): Definition copied from the |MDOM:Tree|
1179     module.
1180    
1181     2006-03-31 Wakaba <wakaba@suika.fam.cx>
1182    
1183     * Makefile (clean-db): New rule.
1184    
1185     * TreeCore.dis (setUserData): Schedule to invoke
1186     the user data handler when the node is removed
1187     from the memory.
1188     (setAttribute, setAttributeNS): Set the [attribute type]
1189     if DTD attribute definition is available.
1190     (CharacterData members): Definitions copied from
1191     the |MDOM:Tree| module.
1192    
1193 wakaba 1.161 2006-03-31 Wakaba <wakaba@suika.fam.cx>
1194    
1195     * DOMCore.dis (DOMStringList.==): New overloaded operator.
1196    
1197     * DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
1198     class did not implement the |GetFeature| interface.
1199     (hasFeature): The |+| prefix was not taken into account.
1200    
1201     * TreeCore.dis (Node): The class now inherits
1202     the |ManakaiHasFeatureByGetFeature| class. It now
1203     implements the |f:GetFeature| and |ecore:MUErrorTarget|
1204     interfaces.
1205     (CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
1206     is supported.
1207     (lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
1208     (manakaiParentElement): New attribute.
1209    
1210     * XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
1211     is removed.
1212     (lookupPrefix): Old method implementation is removed.
1213    
1214     * XML.dis (CDATASection): The |mg:NodeRefRole| was
1215     missing because of the |DISCore:stopISARecursive| property.
1216    
1217     * TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
1218     They now pass all tests included in those modules!
1219    
1220 wakaba 1.160 2006-03-30 Wakaba <wakaba@suika.fam.cx>
1221    
1222     * DOMCore.dis (Require): A reference to the |MURI:Generic|
1223     module is added.
1224     (ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
1225     (ManakaiDOMImplementation): It now inherits
1226     the |urigen:ManakaiURIImplementation| class and
1227     implements the |ecore:MUErrorTarget| interface. It no
1228     longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
1229     (ManakaiDOMImplementation.___report_error): New method.
1230    
1231     * DOMFeature.dis (Require): It now references the |Util:Grove|
1232     module instead of |Util:ManakaiNode| module.
1233     (DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
1234     (f:ManakaiMinimumImplementationCompatible): New role.
1235     (ManakaiMinimumImplementation): Now it is built
1236     on the new |Util:Grove| module rather than the |Util:ManakaiNode|
1237     module.
1238     (f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
1239     (c:implementation): Removed.
1240     (f:implementation, f:revImplementation): New properties.
1241    
1242     * DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.
1243    
1244     * Tree.dis (cfg:clone-entity-reference-subtree,
1245     cfg:dtd-default-attributes, cfg:xml-id,
1246     cfg:strict-document-children): Removed (moved
1247     to the |MDOM:TreeCore| module).
1248    
1249     * TreeCore.dis (Require): The reference to the |MURI:Generic|
1250     module is removed.
1251     (ManakaiDOMImplementationTC): Some members are removed
1252     since they are incorporated to the |c:ManakaiDOMImplementation|
1253     or the |f:ManakaiMinimumImplementation|.
1254     (tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
1255     (replaceChildImpl1): A typo on the removing the parent node
1256     of the old child node is fixed.
1257     (f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
1258     module).
1259     (tc:implementation, tc:revImplementation): Removed (moved
1260     to the |MDOM:DOMFeature| module).
1261     (Document.appendChild, insertBefore, replaceChild): Sets
1262     the |ownerDocument| attribute of the |tx:DocumentType| nodes.
1263     (Attr.prefix, Element.prefix): Don't raise "uninitialized"
1264     when the new value is |null|.
1265     (Attr.___create_node_ref): Attribute name and
1266     owner element type specific classes are supported (it
1267     was partially implemented but was incorrect).
1268     (ManakaiDOMGetElementsNodeList.item): Don't return
1269     a node if the |index| is negative.
1270     (setNamedItem): Various typos are fixed.
1271     (removeNamedItem): The node was not removed orz
1272     (cfg:clone-entity-reference-subtree,
1273     cfg:dtd-default-attributes, cfg:xml-id,
1274     cfg:strict-document-children): Definitions are moved
1275     from the |MDOM:Tree| module. Note that the tests for default
1276     attributes still fail.
1277     (ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
1278     (Attr): Role name was incorrect.
1279    
1280     * XDoctype.dis (setDefinitionNode): Return value was
1281     not set.
1282     (AttributeDefinition): Role name was incorrect.
1283    
1284     * XML.dis (Require): A reference to the |DISlib:DISMarkup|
1285     module is added.
1286     (Notation.appendChild, insertBefore, replaceChild): New method
1287     implementations.
1288     (Entity.appendChild, insertBefore, replaceChild): New method
1289     implementations.
1290     (EntityReference.appendChild, insertBefore, replaceChild): Now
1291     they are defined as copies of ones in the |Entity| class.
1292     (XMLBaseAttribute, XMLIdAttribute): Now they are
1293     namespace unaware attributes.
1294     (XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
1295     (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
1296     to namespace aware attributes are added.
1297    
1298 wakaba 1.159 2006-03-29 Wakaba <wakaba@suika.fam.cx>
1299    
1300     * DOMCore.dis: Namespace prefixes are changed to new ones.
1301    
1302     * TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
1303     untested).
1304     (___report_error): Reimplemented (untested).
1305     (manakaiSetReadOnly): New method.
1306     (Attr.___create_node_ref): New method (untested).
1307     (Document.getFeature): |require|s the |MDOM:XML| Perl module.
1308     (createEntityReference, cloneNode): Support for
1309     the |cfg:entity-reference-read-only| configuration
1310     parameter is removed; newly created entity references
1311     are always read-only and use the |manakaiSetReadOnly| method
1312     if desired.
1313     (Element.manakaiBaseURI): Reimplemented (untested).
1314    
1315     * XDoctype.dis (createGeneralEntity, createNotation): |require|s
1316     the |MDOM:XML| Perl module.
1317     (DocumentTypeDefinition.___create_node_stem): Sets
1318     the |tc:implementation| internal property if its value
1319     is provided. The |infoset:content| internal property name
1320     was incorrect.
1321     (DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
1322     read-only |NodeList| and |DOMStringList| are added
1323     for clarification.
1324    
1325 wakaba 1.158 2006-03-26 Wakaba <wakaba@suika.fam.cx>
1326    
1327     * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
1328     module is added.
1329     (DOMStringList): Reimplemented for new |d:AttributeDefinition|
1330     implementation (untested).
1331    
1332     * TreeCore.dis (baseURI): Reimplemented (untested).
1333     (Roles): Definitions added.
1334    
1335     * XDoctype.dis (Require): References to the |MDOM:TreeCore|
1336     and |MDOM:XML| modules are added. Reference to the |MDOM:Tree|
1337     module is removed.
1338     (DocumentXDoctype): Reimplemented (untested).
1339     (DocumentTypeDefinition, DocumentTypeDeclaration):
1340     Reimlemented (untested).
1341     (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
1342    
1343     * XML.dis (FeatureDef): New features (definitions copied
1344     from the |MDOM:DOMXML| module).
1345     (DocumentType): New interface (definition copied from
1346     the |MDOM:DOMXML| module).
1347     (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
1348     Reimplemented (untested).
1349     (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
1350    
1351 wakaba 1.156 2006-03-25 Wakaba <wakaba@suika.fam.cx>
1352    
1353 wakaba 1.157 * TreeCore.dis (Document): Most methods are reimplemented (untested).
1354    
1355     2006-03-25 Wakaba <wakaba@suika.fam.cx>
1356    
1357 wakaba 1.156 * TreeCore.dis (Document): Attributes are reimplemented (untested).
1358     (Text, DocumentFragment, Comment): Most members are
1359     reimplemented (untested).
1360    
1361 wakaba 1.155 2006-03-24 Wakaba <wakaba@suika.fam.cx>
1362    
1363     * DOMMain.dis (checkXMLNamesQName): Some checks are
1364     removed to sync with DOM Level 3 Core specification.
1365    
1366     * TreeCore.dis (Element): Most methods are reimplemented (untested).
1367     (GetElementsNodeList): Reimplemented (untested).
1368    
1369 wakaba 1.153 2006-03-23 Wakaba <wakaba@suika.fam.cx>
1370    
1371 wakaba 1.154 * Tree.dis (cfg:strict-document-children): The configuration
1372     parameter must also affect on |manakaiAppendText|
1373     and |textContent| on |Document| nodes.
1374    
1375     * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
1376     parameter changes the class to |bless|.
1377     (Node): Most methods are reimplemented. (Untested)
1378     (CharacterData, Attr): Most methods and attributes are
1379     reimplemented. (Untested)
1380    
1381     * XML.dis, XDoctype.dis: Most |Node| methods are
1382     reimplemented (untested).
1383    
1384     2006-03-23 Wakaba <wakaba@suika.fam.cx>
1385    
1386 wakaba 1.153 * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
1387     (untested).
1388    
1389     2006-03-22 Wakaba <wakaba@suika.fam.cx>
1390    
1391     * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
1392     a qualified name.
1393    
1394     * DOMMain.dis (ensureNamespacePrefix): Undefines
1395     the prefix if it is an empty string. (Note that
1396     it is defined as implementation dependent in
1397     DOM Level 3 Core specification).
1398    
1399     * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
1400     module.
1401     (Node): Attributes are reimplemented (untested).
1402    
1403     * XML.dis (Require): It now references the |MDOMX:XDoctype|
1404     module.
1405     (Node): Attributes are reimplemented (untested).
1406     (Entity, Notation): New interfaces.
1407    
1408     * XDoctype.dis (Node): Attributes are reimplemented (untested).
1409    
1410 wakaba 1.152 2006-03-19 Wakaba <wakaba@suika.fam.cx>
1411    
1412     * TreeCore.dis (childNodes, firstChild, lastChild,
1413     nextSibling, previousSibling, appendChild, insertBefore,
1414     replaceChild, removeChild, createDocumentFragment,
1415     createEntityReference, createProcessingInstruction,
1416     domConfig, documentElement, implementation, manakaiAppendText): New.
1417     (NodeList, DocumentFragment): New interfaces.
1418    
1419     * XML.dis (EntityReference, ProcessingInstruction): New interface.
1420    
1421 wakaba 1.151 2006-03-18 Wakaba <wakaba@suika.fam.cx>
1422    
1423     * TreeCore.dis (Require): The |MDOM:XML| module is added.
1424     (createAttributeNS, createTextNode, createComment,
1425     createCDATASection): New methods.
1426     (Attr, Text, Comment, CharacterData): New interfaces.
1427    
1428     * Makefile: |XML.dis| is added.
1429    
1430     * XML.dis: New module.
1431    
1432     2006-03-17 Wakaba <wakaba@suika.fam.cx>
1433    
1434     * TreeCore.dis (manakaiReadOnly): New attribute.
1435    
1436 wakaba 1.149 2006-03-17 Wakaba <wakaba@suika.fam.cx>
1437    
1438 wakaba 1.150 * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
1439     prefix, isSameNode, ownerDocument, parentNode): New.
1440     (Element): New interface.
1441     (createElementNS): New method.
1442     (strictErrorChecking): New.
1443    
1444     2006-03-17 Wakaba <wakaba@suika.fam.cx>
1445    
1446 wakaba 1.149 * Makefile: |TreeCore.dis| is added.
1447    
1448     * TreeCore.dis: New module.
1449    
1450 wakaba 1.148 2006-03-16 Wakaba <wakaba@suika.fam.cx>
1451    
1452     * XMLParser.dis (cfg:entity-replacement-tree): New configuration
1453     parameter.
1454    
1455     * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
1456    
1457     * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
1458     data types added to configuration parameters.
1459    
1460 wakaba 1.147 2006-03-15 Wakaba <wakaba@suika.fam.cx>
1461    
1462     * DOMCore.dis (c:DOMConfigurationParameter): Now it is
1463     a |DISSource:ResourceProperty|.
1464     (c:anyDOMConfigurationParameter): New property.
1465     (CParam, boolCParam): Now they are all |dis:subsetOf|
1466     the |c:anyDOMConfigurationParameter| property.
1467     (ForDocument, ForParser, ForSerializer): Removed.
1468    
1469     * DOMLS.dis, XMLParser.dis: Likewise.
1470    
1471 wakaba 1.146 2006-03-12 Wakaba <wakaba@suika.fam.cx>
1472    
1473     * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
1474     are removed.
1475    
1476     * GenericLS.pm: Added to the CVS repository since
1477     it is necessary to create the |Message::Util::DIS::DPG| module.
1478    
1479 wakaba 1.145 2006-03-10 Wakaba <wakaba@suika.fam.cx>
1480    
1481     * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
1482     method.
1483    
1484     * XMLParser.dis: Don't create adjacent text nodes.
1485    
1486 wakaba 1.144 2006-03-09 Wakaba <wakaba@suika.fam.cx>
1487    
1488     * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
1489    
1490     * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
1491     implementations are added.
1492    
1493     * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
1494     implementations are added.
1495    
1496     * Tree.dis (appendChild, insertBefore, replaceChild): Method
1497     implementations are added.
1498     (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
1499     resources unless for |ManakaiDOM:ManakaiDOMLatest|.
1500     (cfg:strict-document-children): New configuration parameter.
1501    
1502 wakaba 1.143 2006-03-08 Wakaba <wakaba@suika.fam.cx>
1503    
1504     * XDoctype.dis (replaceChild): Method implementations are added.
1505    
1506     * Tree.dis (replaceChild): Method implementations are added.
1507    
1508     * DOMXML.dis (replaceChild): Method implementations are added.
1509    
1510 wakaba 1.142 2006-03-07 Wakaba <wakaba@suika.fam.cx>
1511    
1512     * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
1513     definitions.
1514    
1515     * XDoctype.dis (insertBefore): New method implementation.
1516    
1517 wakaba 1.138 2006-03-06 Wakaba <wakaba@suika.fam.cx>
1518    
1519 wakaba 1.141 * DOMXML.dis (insertBefore): Method implementations
1520     for |ProcessingInstruction| and |Notation| nodes are added.
1521    
1522     * Tree.dis (insertBefore): Method implementation
1523     for |CharacterData| nodes is added.
1524    
1525     * XDoctype.dis (insertBefore): Method implementation
1526     for |ElementTypeDefinition| nodes is added.
1527    
1528     2006-03-06 Wakaba <wakaba@suika.fam.cx>
1529    
1530 wakaba 1.140 * XDoctype.dis (appendChild): New method implementation.
1531    
1532     2006-03-06 Wakaba <wakaba@suika.fam.cx>
1533    
1534 wakaba 1.139 * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
1535     (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
1536     (REMOVE_DOCUMENT_TYPE_ERR): New error.
1537    
1538     * DOMXML.dis (ManakaiDOMDocumentType): Removed.
1539     (ProcessingInstruction.appendChild, CDATASection.appendChild,
1540     Notation.appendChild): New method implementation.
1541    
1542     * Tree.dis (CharacterData.appendChild): New method implementation.
1543    
1544     * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
1545    
1546     2006-03-06 Wakaba <wakaba@suika.fam.cx>
1547    
1548 wakaba 1.138 * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
1549    
1550     * Tree.dis (createAttribute, createAttributeNS,
1551     setAttribute, setAttributeNS): They now supports
1552     the |cfg:xml-id| configuration parameter.
1553     (cfg:xml-id): New configuration parameter.
1554    
1555     * XDoctype.dis (createAttributeDefinition): It now
1556     supports the |cfg:xml-id| configuration parameter.
1557    
1558     * XMLParser.dis (parse): It now supports
1559     the |cfg:xml-id| configuration parameter.
1560    
1561 wakaba 1.136 2006-03-05 Wakaba <wakaba@suika.fam.cx>
1562    
1563 wakaba 1.137 * XMLParser.dis (parse): Sets |Document.documentURI|
1564     and |Document.manakaiEntityBaseURI| attributes of the
1565     document created.
1566     (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
1567     property of the created node.
1568     (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
1569     of the created node.
1570     (ls-input-to-input-file.default): Sets the resolved
1571     system identifier to the |documentURI| attribute if available.
1572     Sets the |baseURI| attribute if available.
1573    
1574     2006-03-05 Wakaba <wakaba@suika.fam.cx>
1575    
1576 wakaba 1.136 * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
1577     (Node.baseURI): New attribute implementations.
1578     (declarationBaseURI): Setter is added.
1579     (manakaiDeclarationBaseURI): New attribute.
1580    
1581     * Tree.dis (Require): A reference to the |MURI:Generic|
1582     module is added.
1583     (Node.baseURI): The implementation is revised.
1584     (getNodeReference): Attribute node classes specialized
1585     to attribute names are supported.
1586     (contentBaseURI, htmlBaseURI): Removed.
1587     (manakaiEntityBaseURI): New attribute.
1588     (ManakaiDOMImplementationDocument): It now inherits
1589     the |urigen:URIImplementation| class.
1590    
1591     * DOMMain.dis (isRelativeDOMURI): The definition
1592     of the URI scheme is synced with |Message::URI::Generic|'s
1593     one.
1594    
1595     * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
1596     module is added.
1597     (DocumentType.implementation): New attribute.
1598     (Node.baseURI): Implementations are added.
1599     (manakaiDeclarationBaseURI): New attributes.
1600     (manakaiEntityBaseURI): New attributes.
1601     (manakaiEntityURI): New attribute.
1602     (manakaiExternal): New attribute.
1603     (manakaiBaseURI): New attribute.
1604     (ManakaiDOMXMLBaseAttr): New class.
1605    
1606 wakaba 1.134 2006-02-26 Wakaba <wakaba@suika.fam.cx>
1607    
1608 wakaba 1.135 * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
1609     module was missing.
1610    
1611     * ManakaiDOMLS2003.dis: Some property names was incorrect.
1612    
1613     * Makefile (distclean): New rule.
1614    
1615     2006-02-26 Wakaba <wakaba@suika.fam.cx>
1616    
1617     * DOMLS.dis: Removed from the CVS repository, since
1618     it has been no longer required to make the |daf| system
1619     itself.
1620    
1621     2006-02-26 Wakaba <wakaba@suika.fam.cx>
1622    
1623 wakaba 1.134 * Makefile: Revised for new |daf| database format.
1624    
1625 wakaba 1.133 2006-02-25 Wakaba <wakaba@suika.fam.cx>
1626    
1627     * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
1628     module is added.
1629    
1630 wakaba 1.132 2006-02-22 Wakaba <wakaba@suika.fam.cx>
1631    
1632     * DOMLS.dis: Constants were typed as |dx:ErrorCode|
1633     by mistake.
1634    
1635 wakaba 1.131 2006-02-18 Wakaba <wakaba@suika.fam.cx>
1636    
1637     * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
1638     feature.
1639    
1640     * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
1641    
1642     * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
1643     (DOMImplementationLS.createLSParser): Implemented.
1644     (DOMImplementationLS.createLSInput): Revised.
1645     (LSInput): Note on relationship with |GenericLS| is added.
1646    
1647     * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
1648    
1649 wakaba 1.129 2006-02-17 Wakaba <wakaba@suika.fam.cx>
1650    
1651 wakaba 1.130 * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
1652     is introduced.
1653     (async, busy): Implemented.
1654     (parseString): Removed.
1655     (parse, parseURI): Implemented.
1656     (xp:ls-input-to-input-file): New configuration parameter.
1657     (shiftChar): Gets character from current file handle
1658     rather than replacement text. Don't normalize
1659     line break characters for internal entities. Don't
1660     throw |xp:wf-legal-literal-character| error
1661     for |RestrictedChar| appearing in internal entities.
1662     (DISPerl:dpgDef): Call |close| for each entity filehandler.
1663     (_EntityDeclaration): Copy document URI and base URI
1664     to the entity's |$decl| object.
1665     (ParseError): New code fragment.
1666     (getCopyOfEntityState): Creates filehandle from replacement
1667     text.
1668     (xp-error-lines): Don't appends text if no replacement
1669     text is available.
1670     (error-handler): New configuration parameter application resource.
1671     (ManakaiDOMLSInputToInputFile): New class.
1672     (ManakaiDOMInputFile): New class.
1673    
1674     * Tree.dis (getNodeReference): A dereferencing was missing.
1675    
1676     * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
1677    
1678     2006-02-17 Wakaba <wakaba@suika.fam.cx>
1679    
1680 wakaba 1.129 * XMLParser.dis: Default attribute are now namespace aware.
1681     (parseString): Don't output |Document| warnings
1682     during tree construction to standard error output.
1683    
1684     2006-02-16 Wakaba <wakaba@suika.fam.cx>
1685    
1686     * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
1687     XML Namespace 1.1 is implemented. Namespace well-formedness
1688     error detection is implemented. Generates |Notation| nodes
1689     from notation declarations.
1690     (checkNCName, checkQName): New code fragments.
1691    
1692     * XDoctype.dis (DocumentXDoctype): Factory methods
1693     don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
1694     is |false|.
1695    
1696     * DOMCore.dis (wf-invalid-character-in-node-name,
1697     wf-invalid-character): Removed (moved to |MDOM:Tree| module).
1698    
1699     * Tree.dis '(wf-invalid-character-in-node-name,
1700     wf-invalid-character): New errors (from |MDOM:DOMCore| module).
1701     (Attr.specified): Setter added.
1702     (cfg:dtd-default-attributes): New configuration parameter.
1703     (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
1704     if |Document.strictErrorChecking| is |false|.
1705    
1706 wakaba 1.127 2006-02-15 Wakaba <wakaba@suika.fam.cx>
1707    
1708 wakaba 1.128 * XMLParser.dis: Set |allDeclarationsProcessed|
1709     attribute of the |Document| node. Don't process entity
1710     and attribute definition list declarations after
1711     unread parameter entity reference. Warns if an attribute definition is
1712     ignored (|xp:warning-attribute-definition-ignored|). Set
1713     flags whether predefined entities are declared or not.
1714     WFC error |xp:wf-pes-in-internal-subset| is implemented.
1715    
1716     2006-02-15 Wakaba <wakaba@suika.fam.cx>
1717    
1718 wakaba 1.127 * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
1719     if a predefined entity declaration references an external entity.
1720     Issues |xp:error-malformed-predefined-entity| error if
1721     a predefined entity declaration defines different thing than
1722     one as in XML specification.
1723     Issies |xp:warning-entity-declaration-ignored| warning if
1724     more than one entity declarations for an entity is found.
1725     (WFErrDef): Now all well-formedness errors are marked
1726     as |SEVERITY_FATAL_ERROR|.
1727    
1728     * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
1729     predefined entity declarations.
1730     (DocumentXDoctype.createNotation): New method.
1731     (DocumentTypeDefinition.notations): New attribute.
1732     (DocumentTypeDefinition.getNotationNode): New method.
1733     (DocumentTypeDefinition.setNotationNode): New method.
1734     (newNotationForTest): New code fragment.
1735    
1736     * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
1737     (c:ManakaiDOMNotationMap): New class.
1738     (c:ManakaiDOMNotationMapArray): New class.
1739     (Document.allDeclarationsProcessed): New attribute.
1740    
1741     * DOMXML.dis (DocumentType.notations): Implemented.
1742     (Notation): Revised.
1743     (Notation.ownerDocumentTypeDefinition): New attribute.
1744    
1745 wakaba 1.126 2006-02-14 Wakaba <wakaba@suika.fam.cx>
1746    
1747     * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
1748     WFC errors are implemented. Reports a |xp:wf-syntax-error|
1749     if a parameter entity declaration contains |NDATA| keyword.
1750     (setEmptyEntityState): Set |name| attribute.
1751    
1752     * Tree.dis (createEntityReference): Don't enter into inifinite
1753     loop even if entity replacement tree contains recursive
1754     reference directly or indirectly.
1755    
1756 wakaba 1.124 2006-02-13 Wakaba <wakaba@suika.fam.cx>
1757    
1758 wakaba 1.125 * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
1759     WFC error is implemented.
1760    
1761     2006-02-13 Wakaba <wakaba@suika.fam.cx>
1762    
1763 wakaba 1.124 * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
1764     configuration parameter |true| during tree construction
1765     to ensure default attribute value is cloned as is
1766     including entity reference subtree.
1767    
1768     * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
1769     parameter.
1770     (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
1771     configuration parameter support is added.
1772    
1773 wakaba 1.123 2006-02-12 Wakaba <wakaba@suika.fam.cx>
1774    
1775     * XMLParser.dis (parseString): General |Entity| replacement
1776     tree is not constructed because of a typo. Clears |EntityReference|
1777     content before constructing |Entity| replacement tree.
1778     The |xp:wf-entity-declared| well-formedness constraint
1779     for entity references in attribute value literal is implemented.
1780    
1781 wakaba 1.120 2006-02-11 Wakaba <wakaba@suika.fam.cx>
1782    
1783 wakaba 1.122 * XMLParser.dis: |xp:wf-entity-declared| well-formedness
1784     constaraint for entity references that appear in
1785     content of elements is implemented. Set |EntityReference.isExpanded|
1786     attribute.
1787     (getEmptyEntityState): New code.
1788    
1789     * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
1790     definition is removed.
1791    
1792     * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
1793     (EntityReference.isExpanded): Setter is added.
1794    
1795     2006-02-11 Wakaba <wakaba@suika.fam.cx>
1796    
1797 wakaba 1.121 * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
1798     and |xp:wf-no-external-entity-references| well-formedness
1799     constraints are implemented.
1800    
1801     2006-02-11 Wakaba <wakaba@suika.fam.cx>
1802    
1803 wakaba 1.120 * XMLParser.dis ($self->{has_error}): Removed.
1804     (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
1805     errors (including well-formedness constraint errors) are
1806     traped by the error handler.
1807     (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
1808     attribute of the node. Reports an error if |publidLiteral|
1809     contains a non-|pubidChar|.
1810    
1811     * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
1812     version |3.0|).
1813     (ManakaiDOMDocumentTypeDefinition): The class no longer
1814     inherits |x:ManakaiDOMDocumentType| class. Instead,
1815     it inherits |d:ManakaiDOMDocumentTypeDeclaration|
1816     and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType|
1817     interface (except unimplemented |notations| and |internalSubset|
1818     attributes).
1819     (ManakaiDOMDocumentTypeDefinition.entities): New attribute
1820     for compatibility with |x:DocumentType| interface.
1821     (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
1822     (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
1823     (ManakaiDOMDocumentTypeDefinition.nodeType,
1824     ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
1825     (DocumentTypeDeclaration): New interface.
1826    
1827     * Tree.dis (Node/@f:implements): Typos fixed.
1828     (Node.MUErrorHandler): Missing |last A| statement is added.
1829     (createDocumentType): Throws an exception if |qualifiedName|
1830     is illegal. Calls |DocumentTypeDefinition.newObject|
1831     instead of obsolete |DocumentType.newObject|.
1832    
1833     * DOMXML.dis (DocumentType.name, DocumentType.entities,
1834     DocumentType.publicId, DocumentType.systemId,
1835     DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
1836     as clones of similar attributes or methods
1837     in |MDOM:XDoctype| module.
1838     (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
1839     instead).
1840     (DocumentType.childNodes): Removed (|Node.childNodes| definition
1841     is used).
1842    
1843 wakaba 1.119 2006-02-10 Wakaba <wakaba@suika.fam.cx>
1844    
1845     * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
1846     fatal error.
1847    
1848 wakaba 1.118 2006-02-09 Wakaba <wakaba@suika.fam.cx>
1849    
1850     * XMLParser.dis (CommentDeclaration): |STRING| is now
1851     defined as a |?default-token|.
1852     (XMLTests): Tests for |Char - RestrictedChar| matchness,
1853     comment declarations, cdata sections, and |MSE| in |content|
1854     added.
1855     (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
1856     (get-location-from-token): |$token->{location_d}|
1857     for |?default-token| column counting support added.
1858    
1859     * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
1860    
1861 wakaba 1.115 2006-02-08 Wakaba <wakaba@suika.fam.cx>
1862    
1863 wakaba 1.117 * Tree.dis (createProcessingInstruction): Don't
1864     throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
1865     is |false|.
1866    
1867     * XMLParser.dis (parseString): Initializes |$self->{location}|.
1868     It enables improved error position report.
1869     (XDO): It now includes |S+| following target name |xml| as
1870     part of the token. (PI with target starting with |xml|
1871     was unable to be placed at the beginning of the document entity.)
1872     (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
1873     a processing instruction node with |#INVALID| node name
1874     if target name is not given and recovered from the error.
1875     (S): Variable |$s| added.
1876     (XMLTests): Tests for XML declarations and processing
1877     instructions are added. Prints error type name if unexpected
1878     error with severity of error or fatal error has been reported.
1879     Catch unexpected exceptions thrown in parser (different
1880     from |LSException|), prints its message, and invoke |$test->not_ok|
1881     for the ease of testing.
1882     (xp:get-location-from-token): Location values now take |$self->{char}|
1883     stack into acount.
1884    
1885     2006-02-08 Wakaba <wakaba@suika.fam.cx>
1886    
1887 wakaba 1.116 * XMLParser.dis (shiftChar): Line and column number counting
1888     is fixed. Although the DOM Level 3 Core specification
1889     is unclear about whether the first number is zero or one,
1890     in most programs the first line is "one" and
1891     the first column is "one", manakai follows the practice.
1892     (_XMLDeclaration): Don't set |xmlStandalone| value
1893     if |standalone| pseudo-attribute value is |no|. XML declaration
1894     tests (successful cases) added.
1895     (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
1896     properties.
1897    
1898     2006-02-08 Wakaba <wakaba@suika.fam.cx>
1899    
1900 wakaba 1.115 * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
1901    
1902     2006-02-06 Wakaba <wakaba@suika.fam.cx>
1903    
1904     * DOMCore.dis (c:erred): New property.
1905     (c:DOMErrorType): It should have been a subset
1906     of |ecore:AnyErrorCode|.
1907    
1908     * XMLParser.dis (XMLTests): Empty input tests added.
1909    
1910 wakaba 1.114 2006-01-30 Wakaba <wakaba@suika.fam.cx>
1911    
1912     * XDoctype.dis (d:Feature): New canonical feature
1913     name |fe:XDoctype| is added.
1914    
1915     * XMLParser.dis: Predefined general entity references
1916     are implemented. Creates |Entity| nodes from general entities
1917     declared in internal subset. |Entity| nodes created from internal
1918     general parsed entities now have replacement tree.
1919     Sets |cfg:entity-reference-read-only| flag off during
1920     the tree generation. Some parsing rules use |$self->{doc}|
1921     rather than |$doc| parameter. Similarly, |$self->{docx}| (document
1922     node with |fe:XDoctype| feature) and |$self->{dtdef}| are
1923     introduced. General entity references in attribute value literal
1924     are supported.
1925    
1926 wakaba 1.112 2006-01-29 Wakaba <wakaba@suika.fam.cx>
1927    
1928 wakaba 1.113 * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
1929     parameter name changed to |cfg:entity-reference-read-only|.
1930     (createEntityReference): Set |c:read-only| flag of
1931     the created entity reference, too.
1932    
1933     * DOMLS.dis (min): New canonical feature name |fe:Min| added.
1934    
1935     * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
1936     from |DOMFeature| module instead. Use |idl:Object|
1937     instead of |DOMMain:DOMObject| as well.
1938     (Generic): New canonical feature name |fe:GenericLS| added.
1939     (DOMLS:ParserRole, DOMLS:SerializerRole): Their
1940     canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
1941     respectively.
1942    
1943     * DOMXML.dis (entities, notations): Perl code removed.
1944     It will be reimplemented using |DocumentTypeDefinition|
1945     class from |XDoctype| module.
1946    
1947     * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
1948     Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
1949     SimpleLS.dis: Cleaned up unused definitions.
1950    
1951     * DOMCore.dis, DOMLS.dis (CParam): Definitions
1952     for LS module moved from |DOMCore| module to |DOMLS| module.
1953     This change makes |DOMCore| to |DOMLS| dependency removed.
1954    
1955     * .cvsignore (.html.pm, .ls.pm): Removed.
1956    
1957     * Makefile (.html.pm, .ls.pm): Removed.
1958     (feature.dae): Include |GenericLS| module.
1959     (core.dae): Don't include |DOMLS| and |GenericLS| module.
1960     (ls.dae): Include |DOMLS| module.
1961    
1962     2006-01-29 Wakaba <wakaba@suika.fam.cx>
1963    
1964 wakaba 1.112 * XMLParser.dis: Tests on default attributes and their |specified|
1965     attribute are added.
1966    
1967     * XDoctype.dis (createGeneralEntity): New method.
1968     (generalEntities): New attribute.
1969     (getGeneralEntityNode, setGeneralEntityNode): New methods.
1970    
1971     * Tree.dis (ManakaiDOMEntities): Removed.
1972     (ManakaiDOMEntityMap): New class.
1973     (ManakaiDOM:entity-reference-read-only): New configuration parameter.
1974     (createEntityReference): If there is a corresponding |Entity|
1975     node in the document type definition, then copies its
1976     subtree.
1977    
1978     * DOMXML.dis (Entity): Documentation updated.
1979     (publicId, systemId, notationName, xmlEncoding,
1980     xmlVersion): These attributes are now settable
1981     if |ManakaiDOM:ManakaiDOMLatest| mode.
1982     (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
1983     mode.
1984     (ownerDocumentTypeDefinition): New attribute
1985     for |ManakaiDOM:ManakaiDOMLatest| mode.
1986     (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
1987    
1988 wakaba 1.111 2006-01-28 Wakaba <wakaba@suika.fam.cx>
1989    
1990     * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
1991    
1992     * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
1993    
1994     * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
1995     (ManakaiDOMAttributes): Removed.
1996     (ManakaiDOMAttrMap): New class.
1997     (ManakaiDOMAttrMapArray): New class.
1998     (namespaceURI): Bug to return a string representation
1999     of a reference to the namespace URI string is fixed.
2000     (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
2001     (removeAttribute, removeAttributeNS): DTD default attributes
2002     are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR|
2003     if there is no attribute node.
2004     (createElement, createElementNS): DTD default attributes are supported.
2005     (setAttributeNode): Reimplemented.
2006    
2007 wakaba 1.110 2006-01-27 Wakaba <wakaba@suika.fam.cx>
2008    
2009     * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
2010    
2011     * Tree.dis (STORESIZE): Index bound bug fixed.
2012     (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
2013     (schemaTypeInfo): Implemented for XML DTD.
2014     (isId): Returns |true| if [attribute type] is |ID|.
2015     (setAttribute, setAttributeNS): Sets [attribute type]
2016     of the newly created |Attr| node (if any) when attribute
2017     definition is available.
2018     (doctype, documentElement): Reimplemented with tests.
2019    
2020     * XMLParser.dis: Sets [attribute type] information
2021     to created |Attr| nodes. Normalize namespace URIs
2022     when such information are available (unlikely but legal).
2023     (_HexadecimalCharacterReference): Number to character
2024     convertion bug fixed.
2025     (_DocumentTypeDeclaration): Sets |schema-type|
2026     configuration parameter to XML DTD URI.
2027    
2028 wakaba 1.108 2006-01-26 Wakaba <wakaba@suika.fam.cx>
2029    
2030 wakaba 1.109 * XMLParser.dis (_AttlistDeclaration): Now it can generate
2031     attribute definition nodes.
2032    
2033     * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
2034     and another |UNKNOWN_ATTR| constant is introduced
2035     for consistency with XML Infoset.
2036    
2037     * DOMCore.dis (TypeInfo): Documentation updated.
2038    
2039     2006-01-26 Wakaba <wakaba@suika.fam.cx>
2040    
2041 wakaba 1.108 * XDoctype.dis: A bug in test code fixed.
2042    
2043     * Tree.dis (NamedNodeMap): Element type or attribute
2044     definition named node maps now can be dereferenced
2045     as if they are array or hash references.
2046     (removeNamedItem, item, ___report_error): Implemented for element type
2047     or attribute definitions.
2048     (length): Tests added.
2049     (NamedNodeMapArray): New classes.
2050    
2051 wakaba 1.107 2006-01-25 Wakaba <wakaba@suika.fam.cx>
2052    
2053     * XDoctype.dis (setElementTypeDefinitionNode,
2054     setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
2055     if the new node is already used for another definition.
2056     (DocumentTypeDefinition, ElementTypeDefinition): Node
2057     property name was incorrect.
2058     (elementTypes, attributeDefinitions): Checks to
2059     ensure the collection is empty added.
2060    
2061     * Tree.dis: Property name typos fixed.
2062     (setNamedItem, setAttributeNode): Don't return any node
2063     if it replace itself.
2064     (c:userDeterminedId): Missing definition added.
2065    
2066     * DOMXML.dis (Notation): Missing property specification
2067     of|c:ownerDocument| as |mn:xrefnode0| is added.
2068    
2069 wakaba 1.106 2006-01-23 Wakaba <wakaba@suika.fam.cx>
2070    
2071     * DOMCore.dis (Test): Missing argument added.
2072     (setNamedItem): If |DocumentType| with no |ownerDocument|,
2073     addition always fails with |WRONG_DOCUMENT_ERR|. Some
2074     error conditions were incorrect.
2075    
2076     * .cvsignore: Dummy files added.
2077    
2078 wakaba 1.104 2006-01-22 Wakaba <wakaba@suika.fam.cx>
2079    
2080 wakaba 1.105 * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
2081     INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
2082    
2083     * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
2084     to avoid uninitialized value warning.
2085    
2086     * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
2087     classes (work in progress).
2088    
2089     * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
2090    
2091     2006-01-22 Wakaba <wakaba@suika.fam.cx>
2092    
2093 wakaba 1.104 * Tree.dis (getAttribute): Returns |null| if there
2094     is no attribute in |ManakaiDOM:DOMLatest| for compatibility
2095     with Web browser implementations.
2096     (getAttributeNS): It returned |null| if there
2097     is no attribute in any |For| unintentionally. It now
2098     returns an empty string in DOM levels less than or equals
2099     to three.
2100    
2101     * XMLParser.dis (shiftChar): Fixed not to be warned as
2102     uninitialized value or substring out of range.
2103    
2104 wakaba 1.102 2006-01-21 Wakaba <wakaba@suika.fam.cx>
2105    
2106 wakaba 1.103 * DOMXML.dis (DocumentType.childNodes): Removed
2107     from |ManakaiDOM:ManakaiDOMLatest| variant.
2108    
2109     * XMLParser.dis: Parsing of general internal entities implemented.
2110     (_DocumentTypeDeclaration): Appends a document type definition
2111     node to the document.
2112     (_ProcessingInstructionDTD): Appends a processing
2113     instruction node to the document type definition.
2114     (Element_): Document element could not be an |EmptyElemTag|.
2115    
2116     2006-01-21 Wakaba <wakaba@suika.fam.cx>
2117    
2118 wakaba 1.102 * DOMFeature.dis (featuresParamToFeaturesHash): New block
2119     code (seprated from |InputProcessor|). Now
2120     a |features| parameter's version can be specified by
2121     an array reference that contains a set of version
2122     numbers. A test added.
2123    
2124     * XMLParser.dis: A test added.
2125    
2126 wakaba 1.100 2006-01-07 Wakaba <wakaba@suika.fam.cx>
2127    
2128 wakaba 1.101 * DOMCore.dis (Test): Don't invoke |DESTROY| method
2129     because it does not work with dummy object used in the test code.
2130    
2131     2006-01-07 Wakaba <wakaba@suika.fam.cx>
2132    
2133 wakaba 1.100 * DOMMain.dis (checkXMLNamesQName): Checks whether
2134     namespace URI is defined for not being warned.
2135    
2136     * XDoctype.dis: New module.
2137    
2138     * DOMCore.dis (DOMStringList): Test added.
2139    
2140     * Makefile: |XDoctype.pm| added.
2141    
2142     * Tree.dis (Require): Requires |XDoctype.dis|.
2143     (ManakaiDOMNodeObjectNode.eq): Added.
2144     (Test): |DOMError.location| must return a |DOMLocator|
2145     object (it was incorrectly tested to return |null|).
2146     (EmptyNodeList.DESTROY): Removed.
2147    
2148     2006-01-04 Wakaba <wakaba@suika.fam.cx>
2149    
2150     * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
2151     |ATTRIBUTE_DEFINITION_NODE| node types added.
2152     (appendChild, insertBefore, replaceChild): New
2153     two node types added and processing instruction nodes
2154     as document type definition node child is allowed
2155     in |ManakaiDOM:ManakaiDOMLatest| mode.
2156     (getNodeReference): New |interface| parameter
2157     to filter classes by interface is added.
2158     (ElementTypeDefinitionRole): New role.
2159     (AttributeDefinitionRole): New role.
2160    
2161     2006-01-02 Wakaba <wakaba@suika.fam.cx>
2162    
2163     * DOMCore.dis (DOMStringList): Reimplemented as tied array.
2164    
2165 wakaba 1.99 2005-12-31 Wakaba <wakaba@suika.fam.cx>
2166    
2167     * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
2168     if it is not provided.
2169    
2170     * XMLParser.dis: Parsing methods to skip document
2171     type declaration is added.
2172    
2173 wakaba 1.98 2005-12-29 Wakaba <wakaba@suika.fam.cx>
2174    
2175     * XMLParser.dis (shiftChar): Checks characters are legal
2176     or not. Normalize end-of-lines.
2177     (rule _XMLDeclaration_): Implemented.
2178     (WFErrDef): Well-formedness error |wf-syntax-error|,
2179     |wf-pi-target-is-xml|, |wf-no-end-tag|,
2180     |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
2181     |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
2182     |wf-element-type-match|, |wf-unique-att-spec|,
2183     |wf-legal-character| added.
2184     (%character-code-point): New formatter rule.
2185    
2186     * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
2187    
2188     * DOMCore.dis (DOMError.stringify): Added.
2189     (error-handler.default): Returns |false| (don't continue)
2190     when the error severity is |SEVERITY_FATAL_ERROR|.
2191    
2192 wakaba 1.96 2005-12-28 Wakaba <wakaba@suika.fam.cx>
2193    
2194 wakaba 1.97 * XMLParser.dis (DocumentEntity): Typos fixed.
2195     (|lexmode|s): New |?default-token| statements are used
2196     so that tokenizer description has been simplified
2197     and CDATA sections now can be parsed.
2198    
2199     2005-12-28 Wakaba <wakaba@suika.fam.cx>
2200    
2201 wakaba 1.96 * XMLParser.dis: Some modifications made.
2202    
2203     2005-12-27 Wakaba <wakaba@suika.fam.cx>
2204    
2205     * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
2206     global named resource.
2207    
2208     * Makefile: Rules to make |XMLParser.pm| is added.
2209    
2210     * XMLParser.dis: New file.
2211    
2212     2005-12-24 Wakaba <wakaba@suika.fam.cx>
2213    
2214     * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
2215     message formatter can now vary by error types.
2216     (DOMLocator.utf32Offset): New (manakai extended) attribute.
2217    
2218 wakaba 1.95 2005-12-23 Wakaba <wakaba@suika.fam.cx>
2219    
2220     * DOMCore.dis (DOMLocator): Implemented.
2221    
2222 wakaba 1.94 2005-12-21 Wakaba <wakaba@suika.fam.cx>
2223    
2224     * DOMCore.dis (DOMConfigurationParameterApplication,
2225     domConfigurationParameter): New resources.
2226    
2227 wakaba 1.93 2005-11-25 Wakaba <wakaba@suika.fam.cx>
2228    
2229     * Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error):
2230     New methods.
2231    
2232 wakaba 1.91 2005-11-24 Wakaba <wakaba@suika.fam.cx>
2233    
2234 wakaba 1.92 * DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__|
2235     blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks.
2236    
2237     * DOMMain.dis (___report_error): Throws the error unkess
2238     it is a |DOMCore:DOMError| object.
2239    
2240     2005-11-24 Wakaba <wakaba@suika.fam.cx>
2241    
2242 wakaba 1.91 * DOMCore.dis (severity, type): Getters return value from
2243     the definition of the current error (i.e. |-def| hash).
2244     (___error_def): New method.
2245     (errorType): |dis:dataType| changed to |DISCore:TFQNames|
2246     to ease natural reference to constant value.
2247     (error-handler.default): Prints the error message by |warn|.
2248    
2249     * Tree.dis (nodeValue.set): Reimplemented so that it
2250     warns as setting has no effect.
2251     (___report_error): New method. (It had been only implemented
2252     in superclass.)
2253     (setting-node-value-no-effect): New error type.
2254    
2255 wakaba 1.90 2005-11-23 Wakaba <wakaba@suika.fam.cx>
2256    
2257     * DOMCore.dis: Error codes added.
2258    
2259     * Tree.dis (destroyNodeStem): New method implementation.
2260    
2261     2005-11-22 Wakaba <wakaba@suika.fam.cx>
2262    
2263     * Tree.dis (cloneNode): User data handlers implemented.
2264     (adoptNode): User data handlers implemented.
2265    
2266     2005-11-21 Wakaba <wakaba@suika.fam.cx>
2267    
2268     * DOMCore.dis (UserDataHandler): A constraint for Perl binding
2269     added.
2270    
2271     * Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
2272     (getUserData, setUserData): Implemented.
2273    
2274 wakaba 1.88 2005-11-20 Wakaba <wakaba@suika.fam.cx>
2275    
2276 wakaba 1.89 * DOMCore.dis (UserDataHandler): Implemented.
2277     (DOMErrorHandler): Blessed package name bug fixed.
2278    
2279     * ManakaiDOMLS2003.dis: Reference to |Node| subclasses
2280     changed to |Tree.dis|.
2281    
2282     2005-11-20 Wakaba <wakaba@suika.fam.cx>
2283    
2284 wakaba 1.88 * DOMMain.dis: Unused declarations and definitions removed.
2285    
2286     * DOMCore.dis: DOM document tree related interfaces removed.
2287    
2288     * Tree.dis: New module separated from |DOMCore.dis|.
2289    
2290     * DOMXML.dis: Some referent changed to |Tree.dis|.
2291    
2292     * Makefile: |Tree.dis| added.
2293    
2294 wakaba 1.86 2005-11-16 Wakaba <wakaba@suika.fam.cx>
2295    
2296 wakaba 1.87 * .cvsignore: Revised.
2297    
2298     2005-11-16 Wakaba <wakaba@suika.fam.cx>
2299    
2300 wakaba 1.86 * ManakaiDOMLS2003.dis: Tests added.
2301     (domConfig): Method name in the code fixed to |flag|.
2302    
2303     * DOMMain.dis (findOffset32): Missing |^| in regular expressions
2304     added.
2305    
2306     * DOMCore.dis (hasChildNodes): Returns |false| if the node type
2307     is defined not to have any children.
2308     (CharacterData): Typos in element type names and function names fixed.
2309    
2310 wakaba 1.84 2005-11-15 Wakaba <wakaba@suika.fam.cx>
2311    
2312 wakaba 1.85 * DOMFeature.dis (MinimumImplementation.eq): Added.
2313    
2314     * DOMMain.dis: |DISPerl:ISA| reference fixed.
2315    
2316     * Generic.dis: Implements new |DOMLS:Generic| feature.
2317    
2318     2005-11-15 Wakaba <wakaba@suika.fam.cx>
2319    
2320 wakaba 1.84 * DOMFeature.dis (stringifyFeatures): Don't double |SPACE|
2321     characters between feature names and versions.
2322    
2323     2005-11-13 Wakaba <wakaba@suika.fam.cx>
2324    
2325     * DOMFeature.dis (stringifyFeatures): A test code added.
2326    
2327 wakaba 1.83 2005-10-26 Wakaba <wakaba@suika.fam.cx>
2328    
2329     * SimpleLS.dis (writeToString): Don't stop serializing
2330     when an |false| value appears in |@src|.
2331    
2332 wakaba 1.81 2005-10-16 Wakaba <wakaba@suika.fam.cx>
2333    
2334 wakaba 1.82 * DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented.
2335     (ErrDef): Redefined.
2336    
2337     * DOMLS.dis (ErrDef): Redefined.
2338    
2339     2005-10-16 Wakaba <wakaba@suika.fam.cx>
2340    
2341 wakaba 1.81 * DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject".
2342    
2343 wakaba 1.80 2005-10-15 Wakaba <wakaba@suika.fam.cx>
2344    
2345     * DOMCore.dis (Require): References "DOMLS.dis" module.
2346     (CParam): Definitions for LS module added.
2347    
2348     * DOMLS.dis (ManakaiDOMLSInput): The input processor
2349     is also an output processor now.
2350     (ManakaiDOMLSResourceResolver): Implemented.
2351     (CParam): Definitions updated.
2352    
2353     2005-10-14 Wakaba <wakaba@suika.fam.cx>
2354    
2355     * DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR,
2356     NOT_SUPPORTED_CONFIG_VALUE_ERR,
2357     INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes.
2358     (DOMConfiguration): Implemented.
2359     (CParam): Definitions updated.
2360    
2361     * DOMMain.dis (DOMURIs): New data type.
2362    
2363 wakaba 1.79 2005-10-13 Wakaba <wakaba@suika.fam.cx>
2364    
2365     * DOMCore.dis (setAttrValueNS): New code.
2366    
2367 wakaba 1.78 2005-10-12 Wakaba <wakaba@suika.fam.cx>
2368    
2369     * DOMCore.dis: Don't set "infoset:prefix" internal
2370     property unless it has non-null value.
2371     (newObject): "refNode" parameter introduced.
2372     (ManakaiDOMNode.newObject): Calls "NodeStem.newNode"
2373     method if "refNode" parameter is specified.
2374     (cloneNode): Don't set "read-only" flag.
2375     (getNodeReference): Caches the result.
2376     (selectAttributeNodeForRemove): Don't removes any other
2377     non-namespace-aware attribute nodes.
2378    
2379 wakaba 1.77 2005-10-11 Wakaba <wakaba@suika.fam.cx>
2380    
2381     * DOMCore.dis (appendChild, createElementNS, createAttributeNS,
2382     setAttribute, setAttributeNS): "strictErrorChecking" attribute supported.
2383     (doStrictErrorChecking): New code.
2384    
2385     * DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute
2386     supported.
2387    
2388     * Makefile: Rule to make "DOMFeature.pm" restored.
2389    
2390     2005-10-10 Wakaba <wakaba@suika.fam.cx>
2391    
2392     * DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
2393     (adoptNode): Implemented.
2394    
2395 wakaba 1.76 2005-10-09 Wakaba <wakaba@suika.fam.cx>
2396    
2397     * DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed.
2398    
2399     * DOMFeature.dis (DOMCore:implementation): Short name added.
2400    
2401     * DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
2402     (DOMCore:node): New error parameter.
2403     (DOMCore:ownerDocument): Changed from "mn:irefnode0"
2404     to "mn:xrefnode0". For this reason, all assignments
2405     to this property have been rewritten to references
2406     to code "mn:setXRefNode".
2407     (cloneNode): Implemented.
2408     (setAttributeNode): A missing "importTree" method call added.
2409     (setAttributeNodeNS): Perl code removed and changed
2410     to a reference to "setAttributeNode" method code.
2411    
2412     * DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0"
2413     property to "mn:xrefnode0" property.
2414    
2415 wakaba 1.75 2005-10-08 Wakaba <wakaba@suika.fam.cx>
2416    
2417     * DOMCore.dis, DOMLS.dis: Now constant values are defined only
2418     in interfaces.
2419    
2420 wakaba 1.74 2005-10-06 Wakaba <wakaba@suika.fam.cx>
2421    
2422     * DOMCore.dis (ManakaiDOMEmptyNodeList): New class.
2423     (ManakaiDOMCharacterData): Methods reimplemented.
2424     (splitText): Reimplemented.
2425     (childNodes): Returns a "ManakaiDOMEmptyNodeList"
2426     for non-parent node types.
2427    
2428     * DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList"
2429     for non-parent node types.
2430    
2431     2005-10-05 Wakaba <wakaba@suika.fam.cx>
2432    
2433     * ManakaiDOMLS2003.dis: Revised to new format.
2434    
2435     * GenericLS.dis (DOMLS:ParseString): New feature.
2436    
2437 wakaba 1.73 2005-10-05 Wakaba <wakaba@suika.fam.cx>
2438    
2439     * DOMFeature.dis: Description added and revised. (Still more
2440     work required.)
2441    
2442     2005-10-04 Wakaba <wakaba@suika.fam.cx>
2443    
2444     * DOMMain.dis (DOMString): The "idl:perl" attribute
2445     value has been changed from "DISPerl:String"
2446     to "DISPerl:CharacterString" to clarify its semantics.
2447    
2448 wakaba 1.72 2005-10-03 Wakaba <wakaba@suika.fam.cx>
2449    
2450     * DOMFeature.dis (MIString): Java, ECMAScript, and Perl bound
2451     type properties added.
2452    
2453     * DOMMain.dis (DataType): Java, ECMAScript, and Perl bound
2454     type properties added.
2455    
2456 wakaba 1.71 2005-10-02 Wakaba <wakaba@suika.fam.cx>
2457    
2458     * DOMFeature.dis (Module): "idl:prefix" and "idl:moduleName"
2459     properties added.
2460    
2461 wakaba 1.70 2005-10-01 Wakaba <wakaba@suika.fam.cx>
2462    
2463     * DOMFeature.dis: Documentation added (still work in progress).
2464     (MIString): New type.
2465    
2466     * DOMCore.dis (namespaceURI): Fixed to return the namespace
2467     URI value, not a reference to it.
2468    
2469 wakaba 1.69 2005-09-30 Wakaba <wakaba@suika.fam.cx>
2470    
2471     * DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local
2472     names where possible.
2473    
2474     * DOMFeature.dis: Documentation for DOM Minimum Implementation
2475     added (still work in progress).
2476    
2477     * Makefile (feature.dae, feature-spec.dae): New rules.
2478    
2479 wakaba 1.67 2005-09-27 Wakaba <wakaba@suika.fam.cx>
2480    
2481     * DOMCore.dis (DOMCore:nodeProp): New property.
2482    
2483 wakaba 1.68 * DOMCore.dis, DOMXML.dis: Codes to set properties "TreeCore:*"
2484     is removed.
2485    
2486 wakaba 1.66 2005-09-26 Wakaba <wakaba@suika.fam.cx>
2487    
2488     * DOMCore.dis, DOMXML.dis: New mn:* properties added.
2489    
2490 wakaba 1.65 2005-09-25 Wakaba <wakaba@suika.fam.cx>
2491    
2492     * Makefile (DAC_SUFFIX): Changed to ".dae".
2493     (DAEM_SUFFIX): New.
2494    
2495 wakaba 1.64 2005-09-24 Wakaba <wakaba@suika.fam.cx>
2496    
2497     * DOMMain.dis (MDOM:): Reintroduced for "ManakaiDOM:ManakaiDOM1"
2498     and "ManakaiDOM:ManakaiDOM2".
2499    
2500     * DOMFeature.dis, DOMMain.dis, DOMCore.dis, DOMXML.dis,
2501     DOMLS.dis, SimpleLS.dis, GenericLS.dis: Use disPerl:H
2502     instead of disPerl:Q for internal property hash keys.
2503    
2504     * DOMFeature.dis, DOMCore.dis, DOMXML.dis: Missing property
2505     definitions added.
2506    
2507     * DOMCore.dis (DOMCore:TextNode, DOMCore:DocumentFragmentNode):
2508     New resources.
2509    
2510     * DOMXML.dis (DOMXML:EntityNode, DOMXML:EntityReferenceNode): New
2511     resources.
2512    
2513 wakaba 1.63 2005-09-23 Wakaba <wakaba@suika.fam.cx>
2514    
2515     * GenericLS.dis, SimpleLS.dis: New modules separated
2516     from DOMLS.dis.
2517    
2518     * DOMFeature.dis, DOMMain.dis: "MDOM:" and "for" definitions
2519     moved from DOMMain to DOMFeature. Now DOMFeature
2520     has no dependency on DOMMain.
2521    
2522     * DOMFeature.dis (DEBUG): New variable.
2523    
2524 wakaba 1.62 2005-09-22 Wakaba <wakaba@suika.fam.cx>
2525    
2526     * Makefile: DAC_SUFFIX changed to ".dad".
2527    
2528 wakaba 1.61 2005-09-21 Wakaba <wakaba@suika.fam.cx>
2529    
2530     * DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion"
2531     features if it is "for" ManakaiDOM:DOMXMLFeature.
2532    
2533 wakaba 1.74 * DOMMain.pm (StringExtend): Code portions of raising
2534 wakaba 1.61 StringOutOfBoundsException is temporary disabled since
2535     it is not a DOM-style exception supported by
2536     current implementation of ManakaiNode - it will be
2537     recovered in later revision.
2538    
2539 wakaba 1.60 2005-09-20 Wakaba <wakaba@suika.fam.cx>
2540    
2541     * DOMFeature.pm: Debug output code copied
2542     from Attic/DOMMetaImpl.pm (Should these code incorporated
2543     to source dis file?).
2544    
2545 wakaba 1.59 2005-09-19 Wakaba <wakaba@suika.fam.cx>
2546    
2547     * DOMMain.dis (ManakaiDOM:DOMMethod, ManakaiDOM:DOMMethodReturn,
2548     ManakaiDOM:DOMAttribute, ManakaiDOM:DOMAttrGet,
2549     ManakaiDOM:DOMAttrSet, ManakaiDOM:DOMMethodParam): Removed.
2550     (ManakaiDOMTimeStamp): Removed.
2551    
2552     * DOMBoot.dis, DOMMetaImpl.dis, DOMMetaImpl.pm: Removed (they are no
2553     longer in use).
2554    
2555     2005-09-18 Wakaba <wakaba@suika.fam.cx>
2556    
2557     * DOMMain.dis (StringOutOfBoundsException): New exception.
2558    
2559 wakaba 1.58 2005-09-15 Wakaba <wakaba@suika.fam.cx>
2560    
2561     * DOMFeature.dis: dis:dataType and dis:multipleProperties
2562     properties added to properties.
2563    
2564 wakaba 1.57 2005-09-08 Wakaba <wakaba@suika.fam.cx>
2565    
2566     * Makefile: Rules renewaled.
2567    
2568     2005-09-07 Wakaba <wakaba@suika.fam.cx>
2569    
2570     * DOMCore.dis, DOMXML.dis, DOMLS.dis: Inheritance information fixed.
2571    
2572     2005-09-05 Wakaba <wakaba@suika.fam.cx>
2573    
2574     * DOMMain.dis (DOMImplementationRegistry,
2575     DOMImplementationRegistryVar): New.
2576    
2577     * DOMFeature.dis (DOMImplementationRegistry,
2578     DOMImplementationRegistryVar): Removed.
2579     (ImplementationRegistry): New class.
2580    
2581 wakaba 1.56 2005-09-04 Wakaba <wakaba@suika.fam.cx>
2582    
2583     * DOMFeature.dis: New module.
2584    
2585     * DOMMetaImpl.dis (ManakaiDOM:ManakaiDOMObject): Removed.
2586    
2587     * DOMMain.dis (ManakaiDOM:ManakaiDOMObject): New.
2588     (DOMString, DOMTimeStamp): Now they are not interfaces
2589     but datatypes.
2590     (DOMUserData, DOMObject, DOMUserData): Now they
2591     are subtypes rather than aliases of their "real" type in IDL.
2592    
2593     * DOMCore.dis (DOMImplementationList, DOMImplementationSource):
2594     New interfaces and classes.
2595    
2596 wakaba 1.55 2005-09-01 Wakaba <wakaba@suika.fam.cx>
2597    
2598     * DOMCore.dis (setTextNodeContent): Sets the infoset:parent
2599     property of the new Text node.
2600    
2601 wakaba 1.54 2005-08-29 Wakaba <wakaba@suika.fam.cx>
2602    
2603     * Makefile: Loads "NaturalLanguage.dis".
2604    
2605     2005-08-26 Wakaba <wakaba@suika.fam.cx>
2606    
2607     * DOMCore.dis (createDocument): Set "ownerDocument" attribute
2608     to the root element created by the method. (It was forgotten!!)
2609    
2610 wakaba 1.53 2005-08-15 Wakaba <wakaba@suika.fam.cx>
2611    
2612     * DOMCore.dis (appendChild, insertBefore, replaceChild): Typo
2613     in the code of removing the newChild from the previous
2614     parent of that node is fixed.
2615    
2616 wakaba 1.52 2005-05-29 Wakaba <wakaba@suika.fam.cx>
2617    
2618     * DOMLS.dis (SimpleSerializer): End tag was sometimes missing. Use
2619     namespace prefix of element type if it is not declared
2620     but not used else. A shift is replaced by pop:).
2621    
2622     * DOMCore.dis (getFeature): The getFeature method
2623     for Node-derived classes implemented.
2624     * DOMXML.dis (getFeature): Ditto.
2625    
2626 wakaba 1.51 2005-05-21 Wakaba <wakaba@suika.fam.cx>
2627    
2628     * DOMCore.dis (getNodeReference): Use HTMLDocument class
2629     if a document node has no document element node but
2630     has support for the "HTML" feature.
2631    
2632 wakaba 1.50 2005-03-03 Wakaba <wakaba@suika.fam.cx>
2633    
2634     * DOMMetaImpl.dis (features input normalizer): Variable name
2635     typo fixed.
2636     (ManakaiDOMImplementationSource.getDOMImplementation): Fixed bug
2637     so that version specification for "+"'ed feature name does work now.
2638    
2639 wakaba 1.49 2005-03-02 Wakaba <wakaba@suika.fam.cx>
2640    
2641     * DOMBoot.dis (ResourceDef): Definitions for DOMFeature are
2642     removed (now defined in DOMMetaImpl).
2643    
2644 wakaba 1.48 2005-02-21 Wakaba <wakaba@suika.fam.cx>
2645    
2646     * DOMMetaImpl.dis (IFClsDef[ManakaiDOMMinimumImplementation]): New.
2647    
2648     * Makefile: Rules for DOMMetaImpl module added.
2649    
2650 wakaba 1.47 2005-02-20 Wakaba <wakaba@suika.fam.cx>
2651    
2652     * DOMMetaImpl.dis: New module (split from DOMCore and DOMMain).
2653    
2654 wakaba 1.45 2005-02-18 Wakaba <wakaba@suika.fam.cx>
2655    
2656 wakaba 1.46 * DOMCore.dis (getFeature): ManakaiDOM:ManakaiDOMNodeObject.newReference
2657     is an instance method, not a class method.
2658    
2659 wakaba 1.45 * DOMMain.dis (ResourceTypeDef[ManakaiDOM:Const,
2660     ManakaiDOM:ConstGroup]): Removed (moved to "lib/manakai/DISLang.dis").
2661     (Exception-related definitions): Removed (moved to
2662     "lib/Message/Util/Error/DOMException.dis").
2663     (ForDef[ManakaiDOM:ForIF, ManakaiDOM:ForClass]): Removed (moved
2664     to DISLang).
2665    
2666     2005-02-17 Wakaba <wakaba@suika.fam.cx>
2667    
2668     * DOMMain.dis: Definitions for "ManakaiDOM:ManakaiDOMNodeObject" and
2669     "ManakaiDOM:ManakaiDOMNodeReference" are removed (moved to
2670     "lib/Message/Util/ManakaiNode.dis").
2671     (ResourceDef[ManakaiDOM:DataType]): Removed (moved to
2672     "lib/manakai/DISCore.dis").
2673     (ResourceTypeDef[ManakaiDOM:IF, ManakaiDOM:Class,
2674     ManakaiDOM:PrimitiveTypeClass]): Removed (moved to
2675     "lib/manakai/DISLang.dis").
2676    
2677     2005-02-16 Wakaba <wakaba@suika.fam.cx>
2678    
2679     * DOMMain.dis (ForDef[ManakaiDOM:Perl]): Removed (moved to
2680     DISPerl module).
2681    
2682 wakaba 1.44 2005-01-07 Wakaba <wakaba@suika.fam.cx>
2683    
2684     * DOMCore.dis: Each "delete array-item" replaced to a "splice".
2685    
2686 wakaba 1.43 2005-01-06 Wakaba <wakaba@suika.fam.cx>
2687    
2688     * DOMMain.dis (ensureXMLName): Test as if XML 1.0 if it is not an
2689     XML document.
2690    
2691 wakaba 1.42 2005-01-05 Wakaba <wakaba@suika.fam.cx>
2692    
2693     * DOMMain.dis (ManakaiDOMExceptionOrWarning.stringify): New method.
2694     (IntMethod[isExternallyReferred]): Rewritten.
2695     (IntMethod[isExternallyReferredDownward]): Removed.
2696     (Checking XML name legallity): Fix true or false mistakes.
2697     (destroy, importTree, orphanate): Rewritten.
2698     (destroyDownward, changeTreeIDDownward): Removed.
2699     (TreeCore:urefnode property): Removed since not used.
2700    
2701     * DOMCore.dis: Tying array for NodeList implemented.
2702    
2703     2005-01-02 Wakaba <wakaba@suika.fam.cx>
2704    
2705     * DOMHTML.dis (HTMLDOMImplementation): New interface.
2706    
2707     * DOMViews.dis: Documentation for properties are added.
2708    
2709 wakaba 1.40 2004-12-29 Wakaba <wakaba@suika.fam.cx>
2710    
2711 wakaba 1.41 * Makefile: DOMXML, DOMEvents, DOMLS and ManakaiDOMLS2003 added.
2712    
2713 wakaba 1.40 * ManakaiDOMCore.dis: Removed (merged with DOMCore.dis).
2714    
2715 wakaba 1.39 2004-12-28 Wakaba <wakaba@suika.fam.cx>
2716    
2717     * ManakaiDOMXML.dis: Removed (merged with DOMXML.dis).
2718    
2719 wakaba 1.38 2004-12-01 Wakaba <wakaba@suika.fam.cx>
2720    
2721     * ManakaiDOMMain.dis: Removed (merged with DOMMain.dis).
2722    
2723 wakaba 1.37 2004-11-03 Wakaba <wakaba@suika.fam.cx>
2724    
2725     * .cvsignore: Ignore pod files.
2726    
2727 wakaba 1.36 2004-10-31 Wakaba <wakaba@suika.fam.cx>
2728    
2729     * DOMXML.dis (ProcessingInstruction.data): Property name error fixed.
2730    
2731     * DOMMain.dis: Don't call DOMString->__INT{length}__ - it should
2732     be DOMString->length.
2733    
2734     * DOMCore.dis (Element.getElementsByTagName,
2735     Node.getElementsByTagName, Element.getElementsByTagNameNS,
2736     Node.getElementsByTagNameNS): Implemented.
2737     (Element.getAttributeNode, Element.getAttributeNodeNS):
2738     Check whether defined.
2739    
2740 wakaba 1.35 2004-10-18 Wakaba <wakaba@suika.fam.cx>
2741    
2742     * DOMWebForms.dis: New module.
2743    
2744 wakaba 1.33 2004-10-17 Wakaba <wakaba@suika.fam.cx>
2745    
2746 wakaba 1.34 * DOMBasicEvents.dis, DOMHTMLEvents.dis, DOMViews.dis,
2747     DOMHTML.dis: New modules.
2748 wakaba 1.33
2749 wakaba 1.32 2004-10-16 Wakaba <wakaba@suika.fam.cx>
2750    
2751     * DOMMouseEvents.dis, DOMTextEvents.dis: New module.
2752    
2753 wakaba 1.30 2004-10-11 Wakaba <wakaba@suika.fam.cx>
2754    
2755     * ManakaiDOMMain.dis: 'TreeCore:anydata2' property type added.
2756 wakaba 1.31 (DataType[ManakaiDOMKeyIdentifier, ManakaiDOMKeyIdentifiers]): added.
2757 wakaba 1.30
2758 wakaba 1.28 2004-10-10 Wakaba <wakaba@suika.fam.cx>
2759 wakaba 1.30
2760     * DOMEvents.dis: New module.
2761 wakaba 1.28
2762 wakaba 1.29 * ManakaiDOMCore.dis (ManakaiDOMAttributes.item): Return
2763     node reference.
2764    
2765     * ManakaiDOMLS2003.dis (error_handler): '$caller' changed
2766     to '$self' for correct error reporting and not to leak memory.
2767    
2768 wakaba 1.28 * Makefile (DIS2PM_PL): Path to dis2pm.pl changed.
2769     * dis2pm.pl, idl2dis.pl: Removed (moved to ../../bin/).
2770    
2771 wakaba 1.26 2004-10-09 Wakaba <wakaba@suika.fam.cx>
2772    
2773 wakaba 1.28 * DOMCore.dis (ConfigParam): Moved from ManakaiDOMCore.
2774     * ManakaiDOMCore.dis (ConfigParam): Removed.
2775    
2776 wakaba 1.27 * dis2pm.pl: Functions to create perl/pod structures
2777     are moved to ../../bin/genlib.pl.
2778 wakaba 1.28 (disdoc2pod, disdoc2text): Allow LESS-THAN SIGN as the first
2779     character of a paragraph.
2780 wakaba 1.27
2781 wakaba 1.26 * ManakaiDOMLS2003.dis (ManakaiXMLParser2003/parse:#comment):
2782     Set ownerDocument as parent if parent.ownerDocument is null.
2783    
2784     * dis2pm.pl (dis2perl): Report if DIS code has value.
2785    
2786     2004-10-06 Wakaba <wakaba@suika.fam.cx>
2787    
2788     * ManakaiDOMCore.dis (IFs): Inherit non-conditional version
2789     of ManakaiDOMMain interfaces.
2790    
2791     * DOMCore.dis (Node.childNodes): Typo fixed.
2792    
2793     * ManakaiDOMLS2003.dis (parse): Check whether the namespace
2794     prefix is null.
2795    
2796     * dis2pm.pl (perl_builtin_code): Allow hash reference as 'features'.
2797     (Condition): Don't generate condition inheritance for DOM1, DOM2
2798     and DOM3.
2799    
2800 wakaba 1.25 2004-09-30 Wakaba <wakaba@suika.fam.cx>
2801    
2802     * dis2pm.pl (disdoc_inline2pod, disdoc_inline2text): New
2803     element type 'FILE' added.
2804    
2805     * ManakaiDOMMain.dis (ManakaiDOMExceptionOrWarning,
2806     ManakaiDOMException, ManakaiDOMWarning): New classes.
2807     (ManakaiDOMObject/___report_error): Implemented.
2808    
2809     * dis2pm.pl (perl_builtin_code:ParseFeature): Recognize leading '+'.
2810    
2811 wakaba 1.24 2004-09-29 Wakaba <wakaba@suika.fam.cx>
2812    
2813     * dis2pm.pl (get_redef_description, attr2perl, method2perl, if2perl):
2814     New attribute 'IsAbstract', 'IsFinal' and 'ImplByApp' added.
2815    
2816     2004-09-27 Wakaba <wakaba@suika.fam.cx>
2817    
2818     * .cvsignore: New file.
2819    
2820 wakaba 1.22 2004-09-27 Wakaba <wakaba@suika.fam.cx>
2821    
2822 wakaba 1.23 * DOMLS.dis, ManakaiDOMLS2003: New file.
2823    
2824 wakaba 1.22 * dis2pm.pl (MAIN): Output "AUTHOR" pod section; support Perl+MPL
2825     license.
2826 wakaba 1.23 (disdoc2pod, disdoc2text): New 'DFN', 'SA', 'SE', 'HA', 'HE',
2827     'XA', 'XE', 'Prefix', 'ERR', 'EV' and 'CP' element types supported.
2828     (perl_name): Die if uninitialized value.
2829     (constgroup2perl): Support constant group without machine-name.
2830     (pod_item): Die if uninitialized value.
2831     (qname_label): Don't output default prefix.
2832 wakaba 1.22
2833     * idl2dis.pl: Output module name and prefix as 'BindingName'
2834     and 'FileName'.
2835    
2836 wakaba 1.20 2004-09-26 Wakaba <wakaba@suika.fam.cx>
2837    
2838 wakaba 1.21 * dis2pm.pl (constgroup2perl): Capitalize name.
2839    
2840     * idl2dis.pl (type, raise): Prepend namespace prefix if
2841     type is 'DOMString' or 'DOMException' and it is not defined.
2842     (MAIN): Make empty 'Return' element even if return
2843     value is void.
2844     (supply_incase): New.
2845     (const): Use 'FullName' in favor of 'Description' if the name of
2846     the const group is not a machine-friendly name.
2847    
2848     2004-09-26 Wakaba <wakaba@suika.fam.cx>
2849    
2850 wakaba 1.20 * dis2pm.pl (get_incase_label): Error if label is undef.
2851    
2852 wakaba 1.19 2004-09-25 Wakaba <wakaba@suika.fam.cx>
2853    
2854     * dis2pm.pl: Generate TODO list.
2855     (method2perl): Use "dis".
2856     (disdoc2pod, disdoc2text): 'HTML', 'InfosetP' element types added.
2857     (perl_builtin_code): New code 'isRelativeDOMURI' added.
2858    
2859     * ManakaiDOMMain.dis (MDOM_REPLACE_BY_ITSELF_NO_EFFECT): New
2860     warning code.
2861    
2862     * dis2pm.pl (attr2perl, method2perl): Output 'undef;' if the
2863     method or attribute(set) does not return a value.
2864     (perl_code): New macro 'WHEN' added. Macro 'INT{}' now allow
2865     parameter.
2866    
2867 wakaba 1.18 2004-09-24 Wakaba <wakaba@suika.fam.cx>
2868    
2869     * dis2pm.pl (perl_exception): New 'subtype' parameter added.
2870     (param2poditem): New.
2871     (MAIN): Write 'NAMESPACE BINDINGS' pod section if necessary.
2872     (perl_builtin_code): More developer-friendly error report.
2873     (perl_code): New 'REQUIRE' statement added.
2874     (disdoc2text, disdoc2pod): New 'QUOTE' element type added.
2875     (get_value_literal): Default for unknown type is now 'undef'.
2876    
2877     2004-09-22 Wakaba <wakaba@suika.fam.cx>
2878    
2879     * dis2pm.pl (perl_builtin_code): New 'CheckName' and
2880     'XMLVersion' added.
2881    
2882 wakaba 1.16 2004-09-20 Wakaba <wakaba@suika.fam.cx>
2883    
2884 wakaba 1.17 * dis2pm.pl (get_redef_description): See 'RedefinedBy' elements
2885     even if it is 'ReMethod' and 'ReAttr' element.
2886    
2887     2004-09-20 Wakaba <wakaba@suika.fam.cx>
2888    
2889 wakaba 1.16 * dis2pm.pl (type_label): New option 'is_pod' implemented.
2890     (get_redef_description): New function.
2891     (get_isa_description): New function.
2892     (disdoc2pod, disdoc2text): New.
2893     (get_description): DISDOC support.
2894     (valid_err, valid_err): New option 'node' implemented.
2895    
2896     * ManakaiDOMCore.dis (IF[ManakaiDOMNodeObjectNode]): New.
2897    
2898 wakaba 1.13 2004-09-19 Wakaba <wakaba@suika.fam.cx>
2899    
2900 wakaba 1.15 * dis2pm.pl (condition_match): Report error if the condition
2901     not defined.
2902    
2903     * ManakaiDOMMain.dis (MDOM_IMPL_BY_APP): New exception code.
2904    
2905 wakaba 1.14 * dis2pm.pl (datatype2perl, datatypealias2perl): "FullName" attribute
2906     introduced.
2907 wakaba 1.15 (constgroup2perl): Define is-a relationship between group
2908     Name and its Type.
2909     (constgroup2perl): "IsBitMask" attribute introduced.
2910 wakaba 1.14
2911     * ManakaiDOMMain.dis: Renamed from "ManakaiDOM.dis".
2912    
2913 wakaba 1.13 * dis2pm.pl (type_label): Type label for unsigned-long and
2914     unsigned-short added.
2915     (perl_code): Die if uninitialized value is given.
2916     (is_all_implemented): New function.
2917    
2918     * ManakaiDOMXML.dis: New module.
2919    
2920     * ManakaiDOMCore.dis: New module.
2921    
2922     * dis2pm.pl (dis2perl): 'Overridden' added.
2923    
2924 wakaba 1.12 2004-09-18 Wakaba <wakaba@suika.fam.cx>
2925    
2926     * ManakaiDOM.dis (MDOM_NEWCHILD_IS_REFCHILD): New warning.
2927     (ManakaiDOMNodeObject->orphanate): New internal method.
2928     (Interface[ManakaiDOMNodeObject, ManakaiDOMNodeReference]): All calls
2929     of internal methods are now qualified by the package name.
2930    
2931 wakaba 1.11 2004-09-17 Wakaba <wakaba@suika.fam.cx>
2932    
2933     * DOMMain.dis: 'SpecLevel' attribute added.
2934    
2935     * idl2dis.pl (level): Set 'SpecLevel' attribute as well as 'Level'.
2936    
2937     * dis2pm.pl (get_level_description): Attribute name to see is
2938     changed from 'Level' to 'SpecLevel'
2939     (const2perl): Don't hardlink constant not to be warned
2940     by perl -w.
2941     (ops2perl): Declare subroutine 'DESTROY' not to be warned by
2942     perl -w.
2943 wakaba 1.12 (get_internal_code): Support of lang:dis.
2944 wakaba 1.11
2945     * ManakaiDOM.dis (newReference): New parameter 'class' introduced.
2946    
2947     * dis2pm.pl (perl_builtin_code:<ManakaiDOM:ManakaiDOMNamespaceURI>):
2948     Separeted from "DOMString".
2949     (if2perl, attr2perl): Don't cast to DOMString.
2950    
2951 wakaba 1.10 2004-09-15 Wakaba <wakaba@suika.fam.cx>
2952    
2953     * dis2pm.pl (perl_builtin_code): __CODE{CheckNCName}__ implemented.
2954     (perl_if): Don't indent if preprocessing direction found.
2955     (perl_code_source): Add \n before the #line directive.
2956    
2957     2004-09-14 Wakaba <wakaba@suika.fam.cx>
2958    
2959     * dis2pm.pl (get_internal_code): __INT{{name}}__ syntax now support
2960     attribute.
2961     (perl_code): __SUPER{name}__ syntax implemented.
2962    
2963 wakaba 1.9 2004-09-13 Wakaba <wakaba@suika.fam.cx>
2964    
2965     * dis2pm.pl (dis2perl): New.
2966    
2967     2004-09-12 Wakaba <wakaba@suika.fam.cx>
2968    
2969     * dis2pm.pl (get_warning_perl_code): New.
2970    
2971 wakaba 1.8 2004-09-10 Wakaba <wakaba@suika.fam.cx>
2972    
2973     * ManakaiDOM.dis (MDOM_NS_EMPTY_URI): New Exception type.
2974     (ManakaiDOMNamespaceURI): New DataType.
2975    
2976     * DOMCore.dis: Most part of DOMImplementation interface is
2977     implemented.
2978    
2979     * dis2pm.pl (method2perl): Description for returned value
2980     is changed to be grouped.
2981     (get_value_literal): Don't quote "null" even if it is a DOMString.
2982     (perl_exception): Don't output terminating semicolon.
2983     (perl_builtin_code): ManakaiDOM:ManakaiDOMNamespaceURI is
2984     supported.
2985    
2986 wakaba 1.7 2004-09-09 Wakaba <wakaba@suika.fam.cx>
2987 wakaba 1.8
2988     * dis2pm.pl (method2perl, attr2perl): '(Return | Get | Set)/Exception'
2989     implemented.
2990 wakaba 1.7
2991     * idl2dis.pl (type): Don't output Require element for
2992     DOMMain module (now it is implicitly required by default).
2993    
2994 wakaba 1.6 2004-09-01 Wakaba <wakaba@suika.fam.cx>
2995    
2996     * idl2dis.pl (level): Use 'Level' instead of 'ModifiedLevel'.
2997    
2998 wakaba 1.5 2004-08-31 Wakaba <wakaba@suika.fam.cx>
2999    
3000     * dis2pm.pl (const2perl, constgroup2perl): New.
3001    
3002     * idl2dis.pl (idlna): New.
3003    
3004 wakaba 1.4 2004-08-30 Wakaba <wakaba@suika.fam.cx>
3005    
3006     * dis2pm.pl: Versioned implementation of "IF" supported (see
3007     also Manakai Development Memo : 2004-08-29
3008     <http://suika.fam.cx/~wakaba/-temp/wiki/wiki?manakai%2F%2F%A5%E1%A5%E2%2F%2F2004-08-29>).
3009    
3010     * idl2dis.pl (register_required_module): ISA is now
3011     converted to elements, not a list attribute.
3012    
3013 wakaba 1.2 2004-08-22 Wakaba <wakaba@suika.fam.cx>
3014    
3015 wakaba 1.3 * idl2dis.pl (register_required_module): Top-level element type
3016     name "Type" and "TypeAlias" changed to "DataType" and
3017     "DataTypeAlias".
3018    
3019 wakaba 1.2 * dis2pm.pl (perl_code_source): New function.
3020    
3021 wakaba 1.1 2004-08-21 Wakaba <wakaba@suika.fam.cx>
3022    
3023     * ChangeLog: New file.
3024    
3025     * Makefile, DOMMain.dis, DOMCore.dis, DOMXML.dis, dis2pm.pl, idl2dis.pl:
3026     New files (Moved from ../Markup/XML/DOM/).
3027    
3028    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24