/[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.237 - (hide annotations) (download)
Sun Jul 8 07:59:02 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.236: +13 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	8 Jul 2007 07:58:55 -0000
	* DOMElement.pm (attributes): Implemented.

	* DOMException.pm (INUSE_DEFINITION_ERR): New error type.

	* DocumentType.pm (entities, general_entities,
	notations, element_types): Implemented.

	* ElementTypeDefinition.pm (attribute_definitions): Implemented.

	* NamedNodeMap.pm: New Perl module.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24