/[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.219 - (hide annotations) (download)
Sat Jun 16 08:05:48 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.218: +19 -0 lines
++ manakai/t/ChangeLog	16 Jun 2007 08:01:18 -0000
	* DOM-NodeList.t: New test.

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

++ manakai/lib/Message/DOM/ChangeLog	16 Jun 2007 08:05:30 -0000
	* Attr.pm, AttributeDefinition.pm, DocumentFragment.pm,
	DocumentType.pm, Entity.pm,
	EntityReference.pm (____new): Initialize |child_nodes| by an empty list.

	* Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm,
	Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned.

	* DOMDocument.pm (AUTOLOAD): Typo fixed.

	* Node.pm (==, !=): Implemented.
	(manakai_read_only): Implemented.
	(is_same_node): Implemented.
	(is_equal_node): Alpha version.
	(manakai_set_read_only): Alpha version.
	(child_nodes, first_child, last_child, previous_sibling): Duplicate
	definitions are removed.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24