/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Diff of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.116 by wakaba, Wed Feb 8 09:49:58 2006 UTC revision 1.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>  2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1623    
1624          * XMLParser.dis (shiftChar): Line and column number counting          * XMLParser.dis (shiftChar): Line and column number counting

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24