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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.114 by wakaba, Mon Jan 30 15:17:58 2006 UTC revision 1.232 by wakaba, Sat Jul 7 09:11:05 2007 UTC
# Line 1  Line 1 
1    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
2    
3            * Attr.pm (create_attribute, create_attribute_ns): Implemented.
4    
5            * DOMDocument.pm: Load character classes from |Char::Class::XML|.
6            (compat_mode): Check |defined| not to be warned as "uninitialized"
7            when |{manakai_compat_mode}| is |undef|.
8    
9            * DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added.
10    
11            * DOMImplementationRegistry.pm, DOMImplementationSource.pm:
12            Statements to set |$Error::Depth| are removed since they
13            are result in "uninitialized" warnings unless
14            the |Message::DOM::DOMException| module is loaded earlier.
15            Usually methods invoked in these methods does not
16            raise any exception so that it makes no difference.
17    
18    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
19    
20            * DOMDocument.pm (adopt_node): Implemented.
21            (doctype): Implemented.
22    
23            * DOMElement.pm (remove_attribute_node): Alpha version.
24    
25            * DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New
26            error type.
27    
28            * Node.pm (set_user_data): Implemented.
29    
30    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
31    
32            * DOMImplementation.pm (new): New method name for |____new|.
33            It will be defined in the DOM Perl Binding specification
34            as part of |DOMImplementation| interface.
35            ($HasFeature): Defined for features support.
36            (has_feature, get_feature): Implemented.
37    
38            * DOMStringList.pm: Don't load the |Message::DOM::DOMException|
39            module unless necessary.
40            (___report_error): Removed since it is not used in fact.
41    
42            * DOMImplementationList.pm, DOMImplementationSource.pm,
43            DOMImplementationRegistry.pm: New modules.
44    
45    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
46    
47            * AttributeDefinition.pm (allowed_tokens): Implemented.
48    
49            * DOMStringList.pm: New Perl module.
50    
51    2007-06-26  Wakaba  <wakaba@suika.fam.cx>
52    
53            * DOMElement.pm (clone_node): Alpha version.  It did not work
54            at all.
55    
56    2007-06-24  Wakaba  <wakaba@suika.fam.cx>
57    
58            * ProcessingInstruction.pm (data): Now it is a read-write attribute.
59    
60    2007-06-23  Wakaba  <wakaba@suika.fam.cx>
61    
62            * DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented.
63            (manakai_is_html): Revised.
64            (Document): Now it implements the |HTMLDocument| interface.
65            (adopt_node): Alpha version.
66    
67            * AttributeDefinition.pm (allowed_tokens): |allowed_tokens|,
68            not |allowed_token|!
69    
70            * ElementTypeDefinition.pm (attribute_definitions): Don't
71            return an |undef| even if its |attribute_definitions|
72            list is not created.
73    
74    2007-06-21  Wakaba  <wakaba@suika.fam.cx>
75    
76            * Comment.pm (node_type): Node type was incorrect!
77    
78            * DOMConfiguration.pm (get_parameter): Alpha.
79    
80            * DOMImplementation.pm (create_mc_decode_handler,
81            create_charset_name_from_uri, create_uri_from_charset_name):
82            New autoload configuration.  Note that the Message::Charset::Encode
83            module is subject to change.
84    
85            * XMLParserTemp.pm: Now it can be used with new version
86            of DOM implementation.  Current plan is to replace it by
87            an XML5 parser someday.
88    
89    2007-06-21  Wakaba  <wakaba@suika.fam.cx>
90    
91            * DOMLocator.pm: New module.
92    
93            * DOMError.pm: New module.
94    
95    2007-06-20  Wakaba  <wakaba@suika.fam.cx>
96    
97            * Node.pm (manakai_expanded_uri, manakai_parent_element,
98            clone_node, compare_document_position, has_attributes,
99            has_child_nodes, is_default_namespace, lookup_namespace_uri,
100            lookup_prefix, normalize): Implemented.
101    
102            * DOMElement.pm (remove_attribute, set_attribute): Alpha version.
103    
104            * DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error.
105    
106    2007-06-17  Wakaba  <wakaba@suika.fam.cx>
107    
108            * AttributeDefinition.pm (____new): Set an empty list
109            to the |allowed_tokens| attribute.
110            (allowed_token): Alpha version.
111    
112            * DocumentType.pm (get_element_type_definition_node,
113            get_notation_node): ALpha version.
114    
115            * ElementTypeDefinition.pm (attribute_definitions): Alpha 2
116            version.
117    
118            * Entity.pm (notation_name): Implemented.
119    
120    2007-06-17  Wakaba  <wakaba@suika.fam.cx>
121    
122            * Attr.pm (____new): Initialize |specified| as 1.
123            (base_uri, manakai_attribute_type, specified): Implemented.
124            (prefix): Don't check read-only flag unless |strict_error_checking|.
125            (value): Call |text_content| for now.
126    
127            * AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added.
128            (declared_type, default_type): Implemented.
129    
130            * CharacterData.pm (____new): Allow a scalar reference
131            as an input for the |data| attribute.
132            (base_uri, manakai_append_text): Implemented.
133    
134            * DOMConfiguration.pm (set_parameter): Resetting implemented.
135    
136            * DOMDocument.pm (____new): Set default values to
137            configuration parameter whose default is true.
138            (document_uri, input_encoding): Implemented.
139            (all_declarations_processed, manakai_is_html): Implemented.
140            (base_uri, manakai_append_text,
141            manakai_entity_base_uri, strict_error_checking,
142            xml_encoding, xml_version, xml_standalone): Implemented.
143    
144            * DOMElement.pm (manakai_base_uri, base_uri): Implemented.
145            (get_attribute, get_attribute_node): Alpha version.
146            (set_attribute_node, set_attribute_node_ns): Implemented.
147            (set_attribute_ns): Accept non-ARRAY qualified name.
148    
149            * DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|,
150            |NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added.
151    
152            * DocumentType.pm (public_id, system_id): Implemented.
153            (base_uri, declaration_base_uri, manakai_declaration_base_uri,
154            manakai_append_text): Implemented.
155            (element_types, general_entities, notations,
156            set_element_type_definition_node, set_general_entity_node,
157            set_notation_node): Alpha version.
158    
159            * ElementTypeDefinition.pm (manakai_append_text): Implemented.
160            (attribute_definitions, set_attribute_definition_node): Alpha version.
161    
162            * Entity.pm (has_replacement_tree, public_id, system_id,
163            manakai_declaration_base_uri, manakai_entity_base_uri,
164            manakai_entity_uri): Implemented.
165    
166            * EntityReference.pm (manakai_expanded, manakai_external): Implemented.
167            (base_uri, manakai_entity_base_uri): Implemented.
168    
169            * Node.pm (base_uri): Implemented.
170            (text_content): Don't check read-only or not
171            unless |strict_error_checking|.
172            (manakai_append_text): Implemented.
173            (get_feature): Alpha.
174            (manakai_set_read_only): Implemented.
175    
176            * Notation.pm (public_id, system_id, manakai_append_text,
177            manakai_declaration_base_uri): Implemented.
178    
179            * ProcessingInstruction.pm (manakai_base_uri,
180            base_uri, manakai_append_text): Implemented.
181    
182    2007-06-16  Wakaba  <wakaba@suika.fam.cx>
183    
184            * DOMConfiguration.pm: New module.
185    
186            * Attr.pm (trivial accessor for read-write attributes): Throw
187            an exception if the node is read-only.  Delete the property
188            if undef is specified.
189            (prefix): Implemented.
190    
191            * DOMElement.pm (trivial accessor for read-write attributes): Throw
192            an exception if the node is read-only.  Delete the property
193            if undef is specified.
194            (prefix): Implemented.
195            (text_content, manakai_append_text): Old implementations are removed.
196    
197            * DOMCharacterData.pm (text_content): Implemented.
198    
199            * DOMDocument.pm (____new): Initialize the strict-document-children
200            parameter by true.
201            (text_content): Reimplemented.
202            (dom_config): New.
203    
204            * DOMException.pm (READ_ONLY_NODE_ERR): New subtype.
205    
206            * DocumentType.pm (text_content): Implemented.
207    
208            * ElementTypeDefinition.pm (text_content): Implemented.
209    
210            * Node.pm (___report_error): New method.
211            (text_content): Implemented.
212            (manakai_append_text): Copied from |DOMElement.pm|.
213    
214            * Notation.pm (text_content): Implemented.
215    
216            * ProcessingInstruction.pm (text_content): Implemented.
217    
218            * Text.pm (is_element_content_whitespace): Alpha version.
219    
220    2007-06-16  Wakaba  <wakaba@suika.fam.cx>
221    
222            * DOMException.pm (Message::IF::DOMException): Extends
223            the |Message::Util::Error| class.
224    
225            * NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class.
226            (CLEAR): Not all items were removed.
227    
228    2007-06-16  Wakaba  <wakaba@suika.fam.cx>
229    
230            * Attr.pm, AttributeDefinition.pm, DocumentFragment.pm,
231            DocumentType.pm, Entity.pm,
232            EntityReference.pm (____new): Initialize |child_nodes| by an empty list.
233    
234            * Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm,
235            Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned.
236    
237            * DOMDocument.pm (AUTOLOAD): Typo fixed.
238    
239            * Node.pm (==, !=): Implemented.
240            (manakai_read_only): Implemented.
241            (is_same_node): Implemented.
242            (is_equal_node): Alpha version.
243            (manakai_set_read_only): Alpha version.
244            (child_nodes, first_child, last_child, previous_sibling): Duplicate
245            definitions are removed.
246    
247    2007-06-16  Wakaba  <wakaba@suika.fam.cx>
248    
249            * Node.pm: First alpha version of implementation of attributes.
250    
251    2007-06-15  Wakaba  <wakaba@suika.fam.cx>
252    
253            * ProcessingInstruction.pm, EntityReference.pm,
254            CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm,
255            ElementTypeDefinition.pm, AttributeDefinition.pm,
256            DocumentType.pm, DOMElement.pm, Attr.pm,
257            CharacterData.pm, Text.pm, Comment.pm (node_name,
258            node_value, node_type): Implemented.
259    
260    2007-06-14  Wakaba  <wakaba@suika.fam.cx>
261    
262            * Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm,
263            CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm,
264            AttributeDefinition.pm: New modules.
265    
266            * DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added.
267            (create_attribute_definition, create_element_type_definition,
268            create_document_type_definition, create_cdata_section,
269            create_processing_instruction, create_entity_reference,
270            create_general_entity, create_notation): Prototypes added.
271    
272            * DOMImplementation.pm (create_document_type): Prototype added.
273    
274            * DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition'
275            and 'Message::IF::DocumentTypeDeclaration' added.
276            (create_document_type, create_document_type_definition):
277            New methods.
278    
279    2007-06-13  Wakaba  <wakaba@suika.fam.cx>
280    
281            * DOMImplementation.pm, Node.pm, DOMDocument.pm,
282            DOMElement.pm, Attr.pm, DocumentType.pm,
283            DOMCharacterData.pm, Text.pm, Comment.pm: Copied
284            from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>.
285    
286    2007-06-10  Wakaba  <wakaba@suika.fam.cx>
287    
288            * XMLParser.dis: Default to "1.0" if <?xml version=""?>
289            specifies unknown value and trys to recover from the error.
290    
291    2007-05-13  Wakaba  <wakaba@suika.fam.cx>
292    
293            * TreeCore.dis (manakaiLocalName): New attribute.
294    
295    2007-01-02  Wakaba  <wakaba@suika.fam.cx>
296    
297            * GenericLS.dis (GLSException): New interface.
298    
299    2006-12-31  Wakaba  <wakaba@suika.fam.cx>
300    
301            * |InputProcessor|s and |OutputProcessor|s are
302            named so that |report| statements in Perl
303            module outputs can be identified by name. |dis:dataType|s
304            of |DISCore:TFQNames| are all replaced
305            by |DISCore:QName|.
306    
307    2006-12-31  Wakaba  <wakaba@suika.fam.cx>
308    
309            * Element.dis (createElementNS): If an array reference
310            is specified as the |qualifiedName| parameter,
311            don't set the first item as the local name
312            even if the second item is not specified (or
313            specified as |undef|).
314            (createElementNS, setAttribute, setAttributeNS,
315            removeAttribute, removeAttributeNS,
316            setAttributeNode, setAttributeNodeNS,
317            removeAttributeNode, removeAttributeNodeNS): Sets
318            or removes the |tc:contentAttributeList| value.
319    
320            * TreeCore.dis (AttrMap.item): Caches the result
321            of sorting of content attribute names.
322            (getAttrMap, getElementTypeDefNodeMap,
323            getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed.
324            (tc:contentAttributeList): New property.
325    
326    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
327    
328            * DOMFeature.dis (ForDef): Removed.
329            (f:provides, f:through): Removed.
330            (Version): Removed.
331            (implementFeature): Removed.
332    
333    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
334    
335            * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
336            GenericLS.dis, TreeCore.dis, DOMString.dis,
337            XML.dis, Element.dis, Document.dis, TreeStore,dis,
338            Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
339            SimpleLS.dis, DOMMain.dis, XDP.dis: |For| specifications
340            are removed.
341    
342    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
343    
344            * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
345            GenericLS.dis, TreeCore.dis, DOMString.dis,
346            XML.dis, Element.dis, Document.dis, TreeStore,dis,
347            Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
348            SimpleLS.dis, DOMMain.dis, XDP.dis: |WithFor| specifications
349            and |DefaultFor|s are removed.
350    
351    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
352    
353            * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
354            GenericLS.dis, TreeCore.dis, DOMString.dis,
355            XML.dis, Element.dis, Document.dis, TreeStore,dis,
356            Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
357            SimpleLS.dis, DOMMain.dis: References
358            to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|,
359            |ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3|
360            modes are removed.
361    
362    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
363    
364            * CharacterData.dis, TreeCore.dis (Require): References
365            to the |Grove.dis| module are removed.
366    
367    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
368    
369            * DOMFeature.dis (f:implementation, f:revImplementation): Removed.
370            (Require): Reference to the |Grove.dis| module is removed.
371    
372    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
373    
374            * DOMCore.dis (ManakaiDOMImplementation): The
375            class is no longer plays the role of
376            a |mg:NodeRefRole|.  Redundant |f:provides|
377            properties are removed.
378    
379    2006-12-29  Wakaba  <wakaba@suika.fam.cx>
380    
381            * TreeCore.dis, DOMCore.dis, Document.dis,
382            Element.dis, CharacterData.dis, XML.dis,
383            XDoctype.dis, DOMString.dis, TreeStore.dis,
384            XMLParser.dis: Use Perl native
385            hashs and |Scalar::Util|'s weak references in favor of |Grove.dis|
386            for DOM nodes.  See
387            also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>.
388    
389    2006-12-03  Wakaba  <wakaba@suika.fam.cx>
390    
391            * DOMFeature.dis, TreeCore.dis: Unused |role|s are removed.
392    
393    2006-12-02  Wakaba  <wakaba@suika.fam.cx>
394    
395            * DOMString.dis: New module.
396    
397            * DOMString.pm: New file.
398    
399            * DOMCore.dis (min): Moved from |DOMFeature.dis|.
400            (ImplementationRegistryVariable): Moved from |DOMFeature.dis|.
401            Now it references the |DOMImplementationRegistry| object.
402            (DOMImplementationRegistryVariable): Moved from |DOMMain.dis|.
403            (DOMImplementationRegistry): New interface and
404            class, reformed from |ImplementationRegistry| in |DOMFeature.dis|
405            and |DOMImplementationRegistry| in |DOMMain.dis|.  Note
406            that the class no longer support |get_implementation|
407            and |get_implementation_list| methods from
408            the |ImplementationRegistry| interface.
409            (DOMImplementationList): Class implemented; no
410            longer inherits from |ImplementationList|.
411            (DOMImplementationSource): Class implemented; no
412            longer inherits from |ImplementationSource|.  Note that
413            the class no longer support |get_implementation|
414            and |get_implementation_list| methods from
415            the |ImplementationSource| interface.
416            (DOMStringList): Removed.
417    
418            * DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature,
419            ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature,
420            ManakaiDOM:DOMXMLFeatureXML11, most part of
421            documentation for obsolete DOM Level 3 Minimum Implementation
422            module, obsolete property name aliases,
423            ImplemenationRegistryVar, ImplementationRegistry,
424            DEBUG, MIString, ImplementationList, ImplementationSource,
425            ManakaiDOM:implID): Removed.
426    
427            * DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed.
428            (DOMString): Removed.
429            (DOMImplementationRegistryVar, DOMImplementationRegistry): Removed.
430    
431            * Makefile: |DOMString.pm| is added.
432    
433            * TreeCore.dis (is_default_namespace): |null| was
434            returned where a false is expected (|null| is
435            a false in Perl, but real |false| is appropriate here).
436    
437    2006-11-05  Wakaba  <wakaba@suika.fam.cx>
438    
439            * DOMCore.dis (TypeInfo, UserDataHandler): Removed.
440    
441            * Element.dis (TypeInfo): Moved from |DOMCore.dis|.
442    
443            * TreeCore.dis (UserDataHandler): Moved from |DOMCore.dis|.
444    
445    2006-11-05  Wakaba  <wakaba@suika.fam.cx>
446    
447            * DOMFeature.dis (ImplementationList, ImplementationSource,
448            ImplementationRegistry): Parameters |features|
449            now allow |null| (equivalent to an empty string).
450    
451    2006-11-05  Wakaba  <wakaba@suika.fam.cx>
452    
453            * CharacterData.dis (ManakaiDOMDocumentCharacterData): New
454            class.  Factory methods |createTextNode| and |createComment|
455            are moved from |ManakaiDOMDocument|.
456    
457            * DOMCore.dis: References to |ManakaiDOMObject|
458            are removed.
459            (tc:createImplForTest): Moved from |TreeCore.dis|.
460            (DOMImplementation.___create_node_ref): Support
461            for the |mg:nodeRefClass| option is removed.
462            (ManakaiDOMConfiguration.___report_error): Moved
463            from |ManakaiDOMObject| class.
464    
465            * DOMFeature.dis (domidl:extends): New property.
466            (f:getFeatureImpl): Support for |+| classes is removed.
467    
468            * DOMMain.dis (DOMMain:docSupportsXMLFeature): Removed.
469            (ManakaiDOM:ManakaiDOMObject): Removed.
470            (DOMDataType): Removed.
471    
472            * Document.dis (ManakaiDOMImplementationDocument):
473            The |createDocument| method is moved from
474            the |ManakaiDOMImplementationTC| in |TreeCore.dis|.
475            (ManakaiDOMDocument.___create_node_ref): Removed.
476            (createElement, createElementNS, createAttribute,
477            createAttributeNS, createTextNode, createComment,
478            createCDATASection, createEntityReference,
479            createProcessingInstruction): Class implementations
480            are moved to each module.
481    
482            * Element.dis (ManakaiDOMImplementationElement): Factory
483            methods are moved from |Document.dis|.
484            (ManakaiDOMElement.___create_node_ref): Support
485            for old class registry is removed.
486            (ManakaiDOMAttr.___create_node_ref): Removed.
487            (Attr.baseURI): Implementation
488            for |xml:base| attribute is merged.
489            (Attr.nodeValue, Attr.value): Implementation
490            for |xml:id| attribute is merged.
491    
492            * TreeCore.dis (ManakaiDOMImplementationTC): Removed.
493    
494            * XDoctype.dis (ManakaiDOMImplementationXDoctype): The
495            definition for |createDocumentType| method
496            is moved from |TreeCore.dis|.
497    
498            * XML.dis (ManakaiDOMXMLDocument): Factory
499            methods are moved from |Document.dis|.
500            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Removed (merged
501            into |ManakaiDOMAttr| in |Element.dis|).
502    
503    2006-11-05  Wakaba  <wakaba@suika.fam.cx>
504    
505            * Element.dis (___get_node_ref): |eval|ed |require|
506            statement was broken.
507    
508            * DOMFeature.dis (getImplementationList): Argument
509            is not passed to the |getImplementation| method.
510    
511            * TreeStore.dis (DOMImplementationTreeStore): It
512            did not |f:implements| the |TSFeature30| feature.
513    
514            * XMLParser.dis: Use |create_uri_reference|
515            method instead of internal |_new| method
516            to create a URI reference object.
517    
518    2006-11-04  Wakaba  <wakaba@suika.fam.cx>
519    
520            * DOMCore.dis (ManakaiDOMImplementation): No longer
521            explicitly inherits |urigen:ManakaiURIImplementation| (and
522            the |f:ManakaiMinimumImplementation| class inherited
523            by it).  The |f:Minimum| feature is ever implemented
524            for compatibility (but is expected to be removed).
525            Internal methods such as |___report_error| are copied from
526            obsolete |f:MinimumImplementation| class.  DOM3
527            methods |hasFeature| and |getFeature| are also
528            moved from that class, but they now support no
529            foreign classes.
530    
531            * DOMFeature.dis (ManakaiImplementationSource): It
532            now |p:require|s |Message::Util::AutoLoad::Registry|.
533            The class no longer support classes
534            other than |ManakaiDOMImplementation|.  Note
535            that the |ImplementationRegistry| object does continue
536            to support foreign classes via foreign classes
537            implementing |ImplementationSource|
538            or |DOMImplementationSource| interface.
539            (MinimumImplementation): Removed.
540    
541            * DOMLS.dis (ManakaiDOMImplementationLS): It no
542            longer inherit the |ManakaiDOMImplementation|; it
543            is now expected to be implemented by |DOMImplementation|
544            objects.
545    
546            * DOMMain.dis (null): Removed.
547    
548            * Document.dis (___create_node_ref): It no
549            longer support foreign classes other
550            than |Message::DOM::Document::ManakaiDOMDocument|.
551            Note that document format specific DOM
552            interfaces, if supported, should be
553            all instances of the |Document| interface
554            in the implementation, as defined
555            in the Web Applications 1.0 specification (where
556            the |HTMLDocument| interface must be implemented
557            by all |Document| objects, even if the |Document|
558            contains no HTML element).
559    
560            * GenericLS.dis (GLSImplementation): It no
561            longer inherit the |MinimumImplementation|; it
562            is now expected to be implemented by |DOMImplementation|
563            objects.
564            (createGLSParser, createGLSSerializer): Load
565            module implementing parser or serializer
566            if necessary.
567    
568            * Traversal.dis (ManakaiDOMDocumentTraversal): It no
569            longer inherits the |ManakaiDOMDocument|; it
570            is now expected to be implemented by |Document|
571            objects.
572    
573            * XDP.dis (XDPDocument): It no longer
574            inherits the |Document|; it is now expected
575            to be implemented by all |Document| objects.
576    
577            * XDoctype.dis (ManakaiDOMDocumentXDoctype): It no
578            longer inherits the |ManakaiDOMDocument|; it
579            is now expected to be implemented by |Document|
580            objects.
581    
582    2006-11-04  Wakaba  <wakaba@suika.fam.cx>
583    
584            * DOMCore.dis (ManakaiDOMImplementation): No longer
585            explicitly inherits |tc:ManakaiDOMImplementationTC|.
586            (ManakaiDOMImplementation.AUTOLOAD): New method definition.
587    
588            * TreeCore.dis (ManakaiDOMImplementationTC): Extends
589            the |ManakaiDOMImplementation| class.
590    
591    2006-11-03  Wakaba  <wakaba@suika.fam.cx>
592    
593            * DOMFeature.dis: Definitions for various concepts
594            are added.
595    
596            * GenericLS.dis (GLSImplementation): It no
597            longer inherits the |MinimumImplementation|; rather,
598            any |ManakaiMinimumImplementation| object also
599            implements |GLSImplementation| methods.
600    
601            * TreeStore.dis (DOMImplementationTreeStore): It no
602            longer inherits the |DOMImplementation|; rather,
603            any |ManakaiDOMImplementation| object also
604            implements |DOMImplementationTreeStore| methods.
605    
606    2006-08-15  Wakaba  <wakaba@suika.fam.cx>
607    
608            * TreeStore.pm: Added to the CVS repository
609            to enable for the dis database to contain XML
610            fragments.
611    
612            * Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added.
613    
614            * TreeStore.dis (Namespace): Namespace URI was incorrect.
615    
616    2006-06-18  Wakaba  <wakaba@suika.fam.cx>
617    
618            * Traversal.dis (expandEntityReferences): Syntax was incorrect.
619    
620            * TreeCore.dis (manakaiReadOnly): Test assertion was incorrect.
621    
622            * XDP.dis (dtdText): Test assertion was incorrect.
623    
624    2006-05-21  Wakaba  <wakaba@suika.fam.cx>
625    
626            * XDP.dis (XDPEntityValue.stringify): Don't escape
627            any |%|s in |xdp:attr-definition| children.
628    
629    2006-05-20  Wakaba  <wakaba@suika.fam.cx>
630    
631            * XDP.dis (createXDPRNIKeyword): The Perl method
632            name property is added.
633    
634    2006-05-20  Wakaba  <wakaba@suika.fam.cx>
635    
636            * XDP.dis (createXDPIf): New method.
637            (XDPIfElement): New interface.
638    
639    2006-05-15  Wakaba  <wakaba@suika.fam.cx>
640    
641            * XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition):
642            New methods.
643    
644    2006-05-15  Wakaba  <wakaba@suika.fam.cx>
645    
646            * XDP.dis (XDPDocument): A number of constructor methods
647            are added.
648            (XDPTextDecl.dtdText): The |xml| target was missing.
649    
650    2006-05-14  Wakaba  <wakaba@suika.fam.cx>
651    
652            * Traversal.dis (SerialWalker): New interface.
653            (manakaiCreateSerialWalker): New method.
654    
655    2006-05-13  Wakaba  <wakaba@suika.fam.cx>
656    
657            * Traversal.dis (testNode): Calls |acceptNode| method
658            rather than |&{}| dereferencing.
659            (acceptNode): Implemented.
660    
661    2006-05-13  Wakaba  <wakaba@suika.fam.cx>
662    
663            * XDP.dis: New module.
664    
665            * Makefile: |XDP.dis| is added.
666    
667            * Traversal.dis (NodeFilter): |InputProcessor|
668            and |OutputProcessor| are added.
669    
670    2006-05-13  Wakaba  <wakaba@suika.fam.cx>
671    
672            * Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value.
673            (TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support
674            is added.  The |FILTER_REJECT| value is treated
675            as |FILTER_ACCEPT| if the |currentNode| is in the
676            rejected subtree as specified in the spec.
677    
678    2006-05-05  Wakaba  <wakaba@suika.fam.cx>
679    
680            * SimpleLS.dis: An |xmlns:| prefix was missing.
681    
682    2006-05-04  Wakaba  <wakaba@suika.fam.cx>
683    
684            * SimpleLS.dis: Namespace bugs are fixed.
685    
686    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
687    
688            * .cvsignore: Updated.
689    
690            * Traversal.dis: Unused declarations are removed.
691    
692    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
693    
694            * CharacterData.dis (Require): A reference to
695            the |MDOM:Traversal| module is added.
696            (wholeText): Implemented.
697    
698    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
699    
700            * Makefile: |Traversal.dis| is added.
701    
702            * Traversal.dis: New module.
703    
704            * TreeCore.dis (___report_error): Return value was
705            not propagated.
706    
707    2006-04-29  Wakaba  <wakaba@suika.fam.cx>
708    
709            * Element.dis (removeAttributeNS): A runtime error
710            was occurred if there was no specified attribute node.
711    
712            * TreeCore.dis (manakaiLanguage): New attribute.
713    
714    2006-04-28  Wakaba  <wakaba@suika.fam.cx>
715    
716            * TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly):
717            New attributes.
718    
719            (StaticNodeList): New interface.
720    
721    2006-04-24  Wakaba  <wakaba@suika.fam.cx>
722    
723            * DOMCore.dis (c:SET_TO_NULL_ERR): New error code.
724    
725    2006-04-22  Wakaba  <wakaba@suika.fam.cx>
726    
727            * SimpleLS.dis: Reimplemented.
728    
729    2006-04-22  Wakaba  <wakaba@suika.fam.cx>
730    
731            * DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now
732            a qualified name.
733            (tc:EXTERNAL_NODE_COMPARISON_ERR): New error type.
734    
735            * TreeCore.dis (compareDocumentPosition): Implemented.
736            (normalize): Implemented.
737            (STORESIZE, CLEAR): Were not implemented for |EmptyNodeList|
738            class.
739    
740    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
741    
742            * DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.
743    
744    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
745    
746            * CharacterData.dis (length, insertData, substringData,
747            appendData, deleteData, replaceData, splitText): Reimplemented.
748    
749            * DOMCore.dis (NEGATIVE_LENGTH_ERR): New error.
750            (c:index): The definition was missing.
751            (c:length): New property.
752    
753    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
754    
755            * XMLParser.dis (close): Invoke |close| method
756            rather than |close| function.
757    
758    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
759    
760            * CharacterData.dis: New module split from |TreeCore.dis|.
761    
762            * CharacterData.pm: Added to the CVS repository.
763    
764            * TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
765            interfaces are removed.
766            (Require): A reference to the |MDOM:CharacterData| module
767            is added.
768    
769            * DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.
770    
771            * DOMCore.dis (StringOutOfBoundsException): New error.
772    
773            * Makefile: |CharacterData.pm| is added.
774    
775    2006-04-09  Wakaba  <wakaba@suika.fam.cx>
776    
777            * XMLParser.dis (Require): Requires the |MCharset:Encode|
778            module.
779            (parse): Set the |inputEncoding| attribute of the generated document
780            object.
781            (resolveLSInput default implementation): The |byteStream|
782            and |encoding| attributes of the |LSInput| interface
783            are now supported.
784            (resolveLSInput): Parameters |impl| and |parser| are added.
785            (InputFile.inputEncoding): New attribute.
786    
787    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
788    
789            * Document.dis (adoptNode test): Documents were
790            made by different documents.
791    
792    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
793    
794            * XMLParser.dis: The |cfg:dtd-default-attributes| configuration
795            parameter is changed to |cfg:dtd-default-attribute|.
796    
797    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
798    
799            * TreeCore.dis: The |DOMMain:raiseException| elements
800            are replaced by |disPerl:EXCEPTION|s.
801    
802    2006-04-03  Wakaba  <wakaba@suika.fam.cx>
803    
804            * DOMMain.dis (GetPropNode, CheckReadOnly): Removed.
805    
806            * Node.dis (cfg:dtd-default-attribute): The configuration
807            parameter |cfg:dtd-default-attributes| is renamed
808            as |cfg:dtd-default-attribute|.
809            (Roles): Definitions are changed so that classes
810            that implement those classes MUST implement the |Node|
811            and its subinterfaces.
812            (cfg:dtd-attribute-type): New configuration parameter.
813    
814            * Document.dis (adoptNode): Don't throw exception
815            if |strictErrorChecking| is |false|.
816    
817            * Element.dis (setAttribute, setAttributeNS): Don't
818            set [attribute type] if the |cfg:dtd-attribute-type|
819            configuration parameter is set to |false|.
820            (removeAttribute, removeAttributeNS, removeAttributeNode): Don't
821            regenerate default attribute nodes if the |cfg:dtd-default-attribute|
822            configuration parameter is set to |false|.
823    
824    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
825    
826            * TreeStore.dis: New module.
827    
828            * Makefile: |TreeStore.dis| is added.
829    
830    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
831    
832            * XMLParser.dis: Updated so that it can be used
833            with |TreeCore.pm|, |Document.pm|, |Element.pm|,
834            and |XML.pm|.  Set the read-only flag to
835            the |DocumentType|, |Entity|, and |EntityReference| noes.
836    
837            * Node.dis (textContent): It did not handle descendant
838            element and entity reference nodes.
839    
840            * Element.dis, XML.dis (manakaiBaseURI.get): Its
841            definition has been changed to return only explicit
842            base URI specification.
843    
844            * DOMLS.dis (LSInput, LSOutput): They no longer
845            inherits the |ManakaiDOM:ManakaiDOMObject| class.
846    
847            * Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.
848    
849            * Tree.pm, DOMXML.pm: Removed.
850    
851            * TreeCore.pm, Document.pm, Element.pm: Added
852            to the CVS repository since they are necessary to
853            build the dis library.
854    
855            * Makefile: Sync'ed to new modules disposition.
856    
857    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
858    
859            * Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
860            removed.  For |Element.pm| and |Document.pm| are added.
861    
862            * Document.dis, Element.dis: New module split from |TreeCore.dis|.
863    
864            * TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.
865    
866    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
867    
868            * DOMFeature.dis (getImplementation, getImplementationList): Support
869            for new class information variables.
870            (DOMLS:Generic): This old feature name is removed.
871    
872            * GenericLS.dis (createGLSParser, createGLSSerializer): Support
873            for new class information variables.
874    
875            * TreeCore.dis (manakaiExpandedURI): New attribute.
876            (Document, Element.___create_node_ref): New method
877            implementations.
878    
879    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
880    
881            * TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
882            Reimplemented.
883            (isId): Setter is added.
884            (Element.normalize): Definition copied from the |MDOM:Tree|
885            module.
886    
887    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
888    
889            * Makefile (clean-db): New rule.
890    
891            * TreeCore.dis (setUserData): Schedule to invoke
892            the user data handler when the node is removed
893            from the memory.
894            (setAttribute, setAttributeNS): Set the [attribute type]
895            if DTD attribute definition is available.
896            (CharacterData members): Definitions copied from
897            the |MDOM:Tree| module.
898    
899    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
900    
901            * DOMCore.dis (DOMStringList.==): New overloaded operator.
902    
903            * DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
904            class did not implement the |GetFeature| interface.
905            (hasFeature): The |+| prefix was not taken into account.
906    
907            * TreeCore.dis (Node): The class now inherits
908            the |ManakaiHasFeatureByGetFeature| class.  It now
909            implements the |f:GetFeature| and |ecore:MUErrorTarget|
910            interfaces.
911            (CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
912            is supported.
913            (lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
914            (manakaiParentElement): New attribute.
915    
916            * XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
917            is removed.
918            (lookupPrefix): Old method implementation is removed.
919    
920            * XML.dis (CDATASection): The |mg:NodeRefRole| was
921            missing because of the |DISCore:stopISARecursive| property.
922    
923            * TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
924            They now pass all tests included in those modules!
925    
926    2006-03-30  Wakaba  <wakaba@suika.fam.cx>
927    
928            * DOMCore.dis (Require): A reference to the |MURI:Generic|
929            module is added.
930            (ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
931            (ManakaiDOMImplementation): It now inherits
932            the |urigen:ManakaiURIImplementation| class and
933            implements the |ecore:MUErrorTarget| interface.  It no
934            longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
935            (ManakaiDOMImplementation.___report_error): New method.
936    
937            * DOMFeature.dis (Require): It now references the |Util:Grove|
938            module instead of |Util:ManakaiNode| module.
939            (DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
940            (f:ManakaiMinimumImplementationCompatible): New role.
941            (ManakaiMinimumImplementation): Now it is built
942            on the new |Util:Grove| module rather than the |Util:ManakaiNode|
943            module.
944            (f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
945            (c:implementation): Removed.
946            (f:implementation, f:revImplementation): New properties.
947    
948            * DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.
949    
950            * Tree.dis (cfg:clone-entity-reference-subtree,
951            cfg:dtd-default-attributes, cfg:xml-id,
952            cfg:strict-document-children): Removed (moved
953            to the |MDOM:TreeCore| module).
954    
955            * TreeCore.dis (Require): The reference to the |MURI:Generic|
956            module is removed.
957            (ManakaiDOMImplementationTC): Some members are removed
958            since they are incorporated to the |c:ManakaiDOMImplementation|
959            or the |f:ManakaiMinimumImplementation|.
960            (tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
961            (replaceChildImpl1): A typo on the removing the parent node
962            of the old child node is fixed.
963            (f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
964            module).
965            (tc:implementation, tc:revImplementation): Removed (moved
966            to the |MDOM:DOMFeature| module).
967            (Document.appendChild, insertBefore, replaceChild): Sets
968            the |ownerDocument| attribute of the |tx:DocumentType| nodes.
969            (Attr.prefix, Element.prefix): Don't raise "uninitialized"
970            when the new value is |null|.
971            (Attr.___create_node_ref): Attribute name and
972            owner element type specific classes are supported (it
973            was partially implemented but was incorrect).
974            (ManakaiDOMGetElementsNodeList.item): Don't return
975            a node if the |index| is negative.
976            (setNamedItem): Various typos are fixed.
977            (removeNamedItem): The node was not removed orz
978            (cfg:clone-entity-reference-subtree,
979            cfg:dtd-default-attributes, cfg:xml-id,
980            cfg:strict-document-children): Definitions are moved
981            from the |MDOM:Tree| module.  Note that the tests for default
982            attributes still fail.
983            (ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
984            (Attr): Role name was incorrect.
985    
986            * XDoctype.dis (setDefinitionNode): Return value was
987            not set.
988            (AttributeDefinition): Role name was incorrect.
989    
990            * XML.dis (Require): A reference to the |DISlib:DISMarkup|
991            module is added.
992            (Notation.appendChild, insertBefore, replaceChild): New method
993            implementations.
994            (Entity.appendChild, insertBefore, replaceChild): New method
995            implementations.
996            (EntityReference.appendChild, insertBefore, replaceChild): Now
997            they are defined as copies of ones in the |Entity| class.
998            (XMLBaseAttribute, XMLIdAttribute): Now they are
999            namespace unaware attributes.
1000            (XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
1001            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
1002            to namespace aware attributes are added.
1003    
1004    2006-03-29  Wakaba  <wakaba@suika.fam.cx>
1005    
1006            * DOMCore.dis: Namespace prefixes are changed to new ones.
1007    
1008            * TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
1009            untested).
1010            (___report_error): Reimplemented (untested).
1011            (manakaiSetReadOnly): New method.
1012            (Attr.___create_node_ref): New method (untested).
1013            (Document.getFeature): |require|s the |MDOM:XML| Perl module.
1014            (createEntityReference, cloneNode): Support for
1015            the |cfg:entity-reference-read-only| configuration
1016            parameter is removed; newly created entity references
1017            are always read-only and use the |manakaiSetReadOnly| method
1018            if desired.
1019            (Element.manakaiBaseURI): Reimplemented (untested).
1020    
1021            * XDoctype.dis (createGeneralEntity, createNotation): |require|s
1022            the |MDOM:XML| Perl module.
1023            (DocumentTypeDefinition.___create_node_stem): Sets
1024            the |tc:implementation| internal property if its value
1025            is provided.  The |infoset:content| internal property name
1026            was incorrect.
1027            (DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
1028            read-only |NodeList| and |DOMStringList| are added
1029            for clarification.
1030    
1031    2006-03-26  Wakaba  <wakaba@suika.fam.cx>
1032    
1033            * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
1034            module is added.
1035            (DOMStringList): Reimplemented for new |d:AttributeDefinition|
1036            implementation (untested).
1037    
1038            * TreeCore.dis (baseURI): Reimplemented (untested).
1039            (Roles): Definitions added.
1040    
1041            * XDoctype.dis (Require): References to the |MDOM:TreeCore|
1042            and |MDOM:XML| modules are added.  Reference to the |MDOM:Tree|
1043            module is removed.
1044            (DocumentXDoctype): Reimplemented (untested).
1045            (DocumentTypeDefinition, DocumentTypeDeclaration):
1046            Reimlemented (untested).
1047            (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
1048    
1049            * XML.dis (FeatureDef): New features (definitions copied
1050            from the |MDOM:DOMXML| module).
1051            (DocumentType): New interface (definition copied from
1052            the |MDOM:DOMXML| module).
1053            (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
1054            Reimplemented (untested).
1055            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
1056    
1057    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
1058    
1059            * TreeCore.dis (Document): Most methods are reimplemented (untested).
1060    
1061    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
1062    
1063            * TreeCore.dis (Document): Attributes are reimplemented (untested).
1064            (Text, DocumentFragment, Comment): Most members are
1065            reimplemented (untested).
1066    
1067    2006-03-24  Wakaba  <wakaba@suika.fam.cx>
1068    
1069            * DOMMain.dis (checkXMLNamesQName): Some checks are
1070            removed to sync with DOM Level 3 Core specification.
1071    
1072            * TreeCore.dis (Element): Most methods are reimplemented (untested).
1073            (GetElementsNodeList): Reimplemented (untested).
1074    
1075    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
1076    
1077            * Tree.dis (cfg:strict-document-children): The configuration
1078            parameter must also affect on |manakaiAppendText|
1079            and |textContent| on |Document| nodes.
1080    
1081            * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
1082            parameter changes the class to |bless|.
1083            (Node): Most methods are reimplemented.  (Untested)
1084            (CharacterData, Attr): Most methods and attributes are
1085            reimplemented.  (Untested)
1086    
1087            * XML.dis, XDoctype.dis: Most |Node| methods are
1088            reimplemented (untested).
1089    
1090    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
1091    
1092            * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
1093            (untested).
1094    
1095    2006-03-22  Wakaba  <wakaba@suika.fam.cx>
1096    
1097            * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
1098            a qualified name.
1099    
1100            * DOMMain.dis (ensureNamespacePrefix): Undefines
1101            the prefix if it is an empty string.  (Note that
1102            it is defined as implementation dependent in
1103            DOM Level 3 Core specification).
1104    
1105            * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
1106            module.
1107            (Node): Attributes are reimplemented (untested).
1108    
1109            * XML.dis (Require): It now references the |MDOMX:XDoctype|
1110            module.
1111            (Node): Attributes are reimplemented (untested).
1112            (Entity, Notation): New interfaces.
1113    
1114            * XDoctype.dis (Node): Attributes are reimplemented (untested).
1115    
1116    2006-03-19  Wakaba  <wakaba@suika.fam.cx>
1117    
1118            * TreeCore.dis (childNodes, firstChild, lastChild,
1119            nextSibling, previousSibling, appendChild, insertBefore,
1120            replaceChild, removeChild, createDocumentFragment,
1121            createEntityReference, createProcessingInstruction,
1122            domConfig, documentElement, implementation, manakaiAppendText): New.
1123            (NodeList, DocumentFragment): New interfaces.
1124    
1125            * XML.dis (EntityReference, ProcessingInstruction): New interface.
1126    
1127    2006-03-18  Wakaba  <wakaba@suika.fam.cx>
1128    
1129            * TreeCore.dis (Require): The |MDOM:XML| module is added.
1130            (createAttributeNS, createTextNode, createComment,
1131            createCDATASection): New methods.
1132            (Attr, Text, Comment, CharacterData): New interfaces.
1133    
1134            * Makefile: |XML.dis| is added.
1135    
1136            * XML.dis: New module.
1137    
1138    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
1139    
1140            * TreeCore.dis (manakaiReadOnly): New attribute.
1141            
1142    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
1143    
1144            * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
1145            prefix, isSameNode, ownerDocument, parentNode): New.
1146            (Element): New interface.
1147            (createElementNS): New method.
1148            (strictErrorChecking): New.
1149    
1150    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
1151    
1152            * Makefile: |TreeCore.dis| is added.
1153    
1154            * TreeCore.dis: New module.
1155    
1156    2006-03-16  Wakaba  <wakaba@suika.fam.cx>
1157    
1158            * XMLParser.dis (cfg:entity-replacement-tree): New configuration
1159            parameter.
1160    
1161            * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
1162    
1163            * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
1164            data types added to configuration parameters.
1165    
1166    2006-03-15  Wakaba  <wakaba@suika.fam.cx>
1167    
1168            * DOMCore.dis (c:DOMConfigurationParameter): Now it is
1169            a |DISSource:ResourceProperty|.
1170            (c:anyDOMConfigurationParameter): New property.
1171            (CParam, boolCParam): Now they are all |dis:subsetOf|
1172            the |c:anyDOMConfigurationParameter| property.
1173            (ForDocument, ForParser, ForSerializer): Removed.
1174    
1175            * DOMLS.dis, XMLParser.dis: Likewise.
1176    
1177    2006-03-12  Wakaba  <wakaba@suika.fam.cx>
1178    
1179            * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
1180            are removed.
1181    
1182            * GenericLS.pm: Added to the CVS repository since
1183            it is necessary to create the |Message::Util::DIS::DPG| module.
1184    
1185    2006-03-10  Wakaba  <wakaba@suika.fam.cx>
1186    
1187            * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
1188            method.
1189    
1190            * XMLParser.dis: Don't create adjacent text nodes.
1191    
1192    2006-03-09  Wakaba  <wakaba@suika.fam.cx>
1193    
1194            * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
1195    
1196            * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
1197            implementations are added.
1198    
1199            * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
1200            implementations are added.
1201    
1202            * Tree.dis (appendChild, insertBefore, replaceChild): Method
1203            implementations are added.
1204            (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
1205            resources unless for |ManakaiDOM:ManakaiDOMLatest|.
1206            (cfg:strict-document-children): New configuration parameter.
1207    
1208    2006-03-08  Wakaba  <wakaba@suika.fam.cx>
1209    
1210            * XDoctype.dis (replaceChild): Method implementations are added.
1211    
1212            * Tree.dis (replaceChild): Method implementations are added.
1213    
1214            * DOMXML.dis (replaceChild): Method implementations are added.
1215    
1216    2006-03-07  Wakaba  <wakaba@suika.fam.cx>
1217    
1218            * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
1219            definitions.
1220    
1221            * XDoctype.dis (insertBefore): New method implementation.
1222    
1223    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
1224    
1225            * DOMXML.dis (insertBefore): Method implementations
1226            for |ProcessingInstruction| and |Notation| nodes are added.
1227    
1228            * Tree.dis (insertBefore): Method implementation
1229            for |CharacterData| nodes is added.
1230    
1231            * XDoctype.dis (insertBefore): Method implementation
1232            for |ElementTypeDefinition| nodes is added.
1233    
1234    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
1235    
1236            * XDoctype.dis (appendChild): New method implementation.
1237    
1238    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
1239    
1240            * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
1241            (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
1242            (REMOVE_DOCUMENT_TYPE_ERR): New error.
1243    
1244            * DOMXML.dis (ManakaiDOMDocumentType): Removed.
1245            (ProcessingInstruction.appendChild, CDATASection.appendChild,
1246            Notation.appendChild): New method implementation.
1247    
1248            * Tree.dis (CharacterData.appendChild): New method implementation.
1249    
1250            * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
1251    
1252    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
1253    
1254            * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
1255    
1256            * Tree.dis (createAttribute, createAttributeNS,
1257            setAttribute, setAttributeNS): They now supports
1258            the |cfg:xml-id| configuration parameter.
1259            (cfg:xml-id): New configuration parameter.
1260    
1261            * XDoctype.dis (createAttributeDefinition): It now
1262            supports the |cfg:xml-id| configuration parameter.
1263    
1264            * XMLParser.dis (parse): It now supports
1265            the |cfg:xml-id| configuration parameter.
1266    
1267    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
1268    
1269            * XMLParser.dis (parse): Sets |Document.documentURI|
1270            and |Document.manakaiEntityBaseURI| attributes of the
1271            document created.
1272            (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
1273            property of the created node.
1274            (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
1275            of the created node.
1276            (ls-input-to-input-file.default): Sets the resolved
1277            system identifier to the |documentURI| attribute if available.
1278            Sets the |baseURI| attribute if available.
1279    
1280    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
1281    
1282            * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
1283            (Node.baseURI): New attribute implementations.
1284            (declarationBaseURI): Setter is added.
1285            (manakaiDeclarationBaseURI): New attribute.
1286    
1287            * Tree.dis (Require): A reference to the |MURI:Generic|
1288            module is added.
1289            (Node.baseURI): The implementation is revised.
1290            (getNodeReference): Attribute node classes specialized
1291            to attribute names are supported.
1292            (contentBaseURI, htmlBaseURI): Removed.
1293            (manakaiEntityBaseURI): New attribute.
1294            (ManakaiDOMImplementationDocument): It now inherits
1295            the |urigen:URIImplementation| class.
1296    
1297            * DOMMain.dis (isRelativeDOMURI): The definition
1298            of the URI scheme is synced with |Message::URI::Generic|'s
1299            one.
1300    
1301            * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
1302            module is added.
1303            (DocumentType.implementation): New attribute.
1304            (Node.baseURI): Implementations are added.
1305            (manakaiDeclarationBaseURI): New attributes.
1306            (manakaiEntityBaseURI): New attributes.
1307            (manakaiEntityURI): New attribute.
1308            (manakaiExternal): New attribute.
1309            (manakaiBaseURI): New attribute.
1310            (ManakaiDOMXMLBaseAttr): New class.
1311    
1312    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
1313    
1314            * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
1315            module was missing.
1316    
1317            * ManakaiDOMLS2003.dis: Some property names was incorrect.
1318    
1319            * Makefile (distclean): New rule.
1320    
1321    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
1322    
1323            * DOMLS.dis: Removed from the CVS repository, since
1324            it has been no longer required to make the |daf| system
1325            itself.
1326    
1327    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
1328    
1329            * Makefile: Revised for new |daf| database format.
1330    
1331    2006-02-25  Wakaba  <wakaba@suika.fam.cx>
1332    
1333            * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
1334            module is added.
1335    
1336    2006-02-22  Wakaba  <wakaba@suika.fam.cx>
1337    
1338            * DOMLS.dis: Constants were typed as |dx:ErrorCode|
1339            by mistake.
1340    
1341    2006-02-18  Wakaba  <wakaba@suika.fam.cx>
1342    
1343            * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
1344            feature.
1345    
1346            * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
1347    
1348            * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
1349            (DOMImplementationLS.createLSParser): Implemented.
1350            (DOMImplementationLS.createLSInput): Revised.
1351            (LSInput): Note on relationship with |GenericLS| is added.
1352    
1353            * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
1354    
1355    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
1356    
1357            * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
1358            is introduced.
1359            (async, busy): Implemented.
1360            (parseString): Removed.
1361            (parse, parseURI): Implemented.
1362            (xp:ls-input-to-input-file): New configuration parameter.
1363            (shiftChar): Gets character from current file handle
1364            rather than replacement text.  Don't normalize
1365            line break characters for internal entities.  Don't
1366            throw |xp:wf-legal-literal-character| error
1367            for |RestrictedChar| appearing in internal entities.
1368            (DISPerl:dpgDef): Call |close| for each entity filehandler.
1369            (_EntityDeclaration): Copy document URI and base URI
1370            to the entity's |$decl| object.
1371            (ParseError): New code fragment.
1372            (getCopyOfEntityState): Creates filehandle from replacement
1373            text.
1374            (xp-error-lines): Don't appends text if no replacement
1375            text is available.
1376            (error-handler): New configuration parameter application resource.
1377            (ManakaiDOMLSInputToInputFile): New class.
1378            (ManakaiDOMInputFile): New class.
1379    
1380            * Tree.dis (getNodeReference): A dereferencing was missing.
1381    
1382            * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
1383    
1384    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
1385    
1386            * XMLParser.dis: Default attribute are now namespace aware.
1387            (parseString): Don't output |Document| warnings
1388            during tree construction to standard error output.
1389    
1390    2006-02-16  Wakaba  <wakaba@suika.fam.cx>
1391    
1392            * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
1393            XML Namespace 1.1 is implemented.  Namespace well-formedness
1394            error detection is implemented.  Generates |Notation| nodes
1395            from notation declarations.
1396            (checkNCName, checkQName): New code fragments.
1397    
1398            * XDoctype.dis (DocumentXDoctype): Factory methods
1399            don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
1400            is |false|.
1401    
1402            * DOMCore.dis (wf-invalid-character-in-node-name,
1403            wf-invalid-character): Removed (moved to |MDOM:Tree| module).
1404    
1405            * Tree.dis '(wf-invalid-character-in-node-name,
1406            wf-invalid-character): New errors (from |MDOM:DOMCore| module).
1407            (Attr.specified): Setter added.
1408            (cfg:dtd-default-attributes): New configuration parameter.
1409            (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
1410            if |Document.strictErrorChecking| is |false|.
1411    
1412    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
1413    
1414            * XMLParser.dis: Set |allDeclarationsProcessed|
1415            attribute of the |Document| node.  Don't process entity
1416            and attribute definition list declarations after
1417            unread parameter entity reference.  Warns if an attribute definition is
1418            ignored (|xp:warning-attribute-definition-ignored|).  Set
1419            flags whether predefined entities are declared or not.
1420            WFC error |xp:wf-pes-in-internal-subset| is implemented.
1421    
1422    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
1423    
1424            * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
1425            if a predefined entity declaration references an external entity.
1426            Issues |xp:error-malformed-predefined-entity| error if
1427            a predefined entity declaration defines different thing than
1428            one as in XML specification.  
1429            Issies |xp:warning-entity-declaration-ignored| warning if
1430            more than one entity declarations for an entity is found.
1431            (WFErrDef): Now all well-formedness errors are marked
1432            as |SEVERITY_FATAL_ERROR|.
1433    
1434            * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
1435            predefined entity declarations.
1436            (DocumentXDoctype.createNotation): New method.
1437            (DocumentTypeDefinition.notations): New attribute.
1438            (DocumentTypeDefinition.getNotationNode): New method.
1439            (DocumentTypeDefinition.setNotationNode): New method.
1440            (newNotationForTest): New code fragment.
1441    
1442            * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
1443            (c:ManakaiDOMNotationMap): New class.
1444            (c:ManakaiDOMNotationMapArray): New class.
1445            (Document.allDeclarationsProcessed): New attribute.
1446    
1447            * DOMXML.dis (DocumentType.notations): Implemented.
1448            (Notation): Revised.
1449            (Notation.ownerDocumentTypeDefinition): New attribute.
1450    
1451    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
1452    
1453            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
1454            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
1455            if a parameter entity declaration contains |NDATA| keyword.
1456            (setEmptyEntityState): Set |name| attribute.
1457    
1458            * Tree.dis (createEntityReference): Don't enter into inifinite
1459            loop even if entity replacement tree contains recursive
1460            reference directly or indirectly.
1461    
1462    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
1463    
1464            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
1465            WFC error is implemented.
1466    
1467    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
1468    
1469            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
1470            configuration parameter |true| during tree construction
1471            to ensure default attribute value is cloned as is
1472            including entity reference subtree.
1473    
1474            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
1475            parameter.
1476            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
1477            configuration parameter support is added.
1478    
1479    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
1480    
1481            * XMLParser.dis (parseString): General |Entity| replacement
1482            tree is not constructed because of a typo.  Clears |EntityReference|
1483            content before constructing |Entity| replacement tree.
1484            The |xp:wf-entity-declared| well-formedness constraint
1485            for entity references in attribute value literal is implemented.
1486    
1487    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
1488    
1489            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
1490            constaraint for entity references that appear in
1491            content of elements is implemented.   Set |EntityReference.isExpanded|
1492            attribute.
1493            (getEmptyEntityState): New code.
1494    
1495            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
1496            definition is removed.
1497    
1498            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
1499            (EntityReference.isExpanded): Setter is added.
1500    
1501    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
1502    
1503            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
1504            and |xp:wf-no-external-entity-references| well-formedness
1505            constraints are implemented.
1506    
1507    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
1508    
1509            * XMLParser.dis ($self->{has_error}): Removed.
1510            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
1511            errors (including well-formedness constraint errors) are
1512            traped by the error handler.
1513            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
1514            attribute of the node.  Reports an error if |publidLiteral|
1515            contains a non-|pubidChar|.
1516    
1517            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
1518            version |3.0|).
1519            (ManakaiDOMDocumentTypeDefinition): The class no longer
1520            inherits |x:ManakaiDOMDocumentType| class.  Instead,
1521            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
1522            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
1523            interface (except unimplemented |notations| and |internalSubset|
1524            attributes).
1525            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
1526            for compatibility with |x:DocumentType| interface.
1527            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
1528            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
1529            (ManakaiDOMDocumentTypeDefinition.nodeType,
1530            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
1531            (DocumentTypeDeclaration): New interface.
1532    
1533            * Tree.dis (Node/@f:implements): Typos fixed.
1534            (Node.MUErrorHandler): Missing |last A| statement is added.
1535            (createDocumentType): Throws an exception if |qualifiedName|
1536            is illegal.  Calls |DocumentTypeDefinition.newObject|
1537            instead of obsolete |DocumentType.newObject|.
1538    
1539            * DOMXML.dis (DocumentType.name, DocumentType.entities,
1540            DocumentType.publicId, DocumentType.systemId,
1541            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
1542            as clones of similar attributes or methods
1543            in |MDOM:XDoctype| module.
1544            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
1545            instead).
1546            (DocumentType.childNodes): Removed (|Node.childNodes| definition
1547            is used).
1548    
1549    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
1550    
1551            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
1552            fatal error.
1553    
1554    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
1555    
1556            * XMLParser.dis (CommentDeclaration): |STRING| is now
1557            defined as a |?default-token|.
1558            (XMLTests): Tests for |Char - RestrictedChar| matchness,
1559            comment declarations, cdata sections, and |MSE| in |content|
1560            added.
1561            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
1562            (get-location-from-token): |$token->{location_d}|
1563            for |?default-token| column counting support added.
1564    
1565            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
1566    
1567    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1568    
1569            * Tree.dis (createProcessingInstruction): Don't
1570            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
1571            is |false|.
1572    
1573            * XMLParser.dis (parseString): Initializes |$self->{location}|.
1574            It enables improved error position report.
1575            (XDO): It now includes |S+| following target name |xml| as
1576            part of the token.  (PI with target starting with |xml|
1577            was unable to be placed at the beginning of the document entity.)
1578            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
1579            a processing instruction node with |#INVALID| node name
1580            if target name is not given and recovered from the error.
1581            (S): Variable |$s| added.
1582            (XMLTests): Tests for XML declarations and processing
1583            instructions are added.  Prints error type name if unexpected
1584            error with severity of error or fatal error has been reported.
1585            Catch unexpected exceptions thrown in parser (different
1586            from |LSException|), prints its message, and invoke |$test->not_ok|
1587            for the ease of testing.
1588            (xp:get-location-from-token): Location values now take |$self->{char}|
1589            stack into acount.
1590            
1591    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1592    
1593            * XMLParser.dis (shiftChar): Line and column number counting
1594            is fixed.  Although the DOM Level 3 Core specification
1595            is unclear about whether the first number is zero or one,
1596            in most programs the first line is "one" and
1597            the first column is "one", manakai follows the practice.
1598            (_XMLDeclaration): Don't set |xmlStandalone| value
1599            if |standalone| pseudo-attribute value is |no|.  XML declaration
1600            tests (successful cases) added.
1601            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
1602            properties.
1603    
1604    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1605    
1606            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
1607    
1608    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
1609    
1610            * DOMCore.dis (c:erred): New property.
1611            (c:DOMErrorType): It should have been a subset
1612            of |ecore:AnyErrorCode|.
1613    
1614            * XMLParser.dis (XMLTests): Empty input tests added.
1615    
1616  2006-01-30  Wakaba  <wakaba@suika.fam.cx>  2006-01-30  Wakaba  <wakaba@suika.fam.cx>
1617    
1618          * XDoctype.dis (d:Feature): New canonical feature          * XDoctype.dis (d:Feature): New canonical feature

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.232

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24