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

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.230

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24