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

Legend:
Removed from v.1.97  
changed lines
  Added in v.1.236

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24