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

Legend:
Removed from v.1.116  
changed lines
  Added in v.1.228

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24