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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24