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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.221 - (hide annotations) (download)
Sat Jun 16 15:27:45 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.220: +38 -0 lines
++ manakai/t/ChangeLog	16 Jun 2007 15:27:38 -0000
	* DOM-Node.t: Tests for |prefix| and |text_content| are added.

2007-06-16  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	16 Jun 2007 15:27:12 -0000
	* DOMConfiguration.pm: New module.

	* Attr.pm (trivial accessor for read-write attributes): Throw
	an exception if the node is read-only.  Delete the property
	if undef is specified.
	(prefix): Implemented.

	* DOMElement.pm (trivial accessor for read-write attributes): Throw
        an exception if the node is read-only.  Delete the property
        if undef is specified.
        (prefix): Implemented.
	(text_content, manakai_append_text): Old implementations are removed.

	* DOMCharacterData.pm (text_content): Implemented.

	* DOMDocument.pm (____new): Initialize the strict-document-children
	parameter by true.
	(text_content): Reimplemented.
	(dom_config): New.

	* DOMException.pm (READ_ONLY_NODE_ERR): New subtype.

	* DocumentType.pm (text_content): Implemented.

	* ElementTypeDefinition.pm (text_content): Implemented.

	* Node.pm (___report_error): New method.
	(text_content): Implemented.
	(manakai_append_text): Copied from |DOMElement.pm|.

	* Notation.pm (text_content): Implemented.

	* ProcessingInstruction.pm (text_content): Implemented.

	* Text.pm (is_element_content_whitespace): Alpha version.

2007-06-16  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24