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

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.235

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24