/[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.197 - (hide annotations) (download)
Sat Nov 4 17:25:05 2006 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.196: +15 -0 lines
++ manakai/lib/Message/Util/DIS/ChangeLog	4 Nov 2006 17:22:49 -0000
2006-11-05  Wakaba  <wakaba@suika.fam.cx>

	* DNLite.dis (DISImplementationDNLite): Inheritance
	was incorrect.

	* Test.dis (DTImplementation): Inheritance was incorrect.

++ manakai/lib/Message/DOM/ChangeLog	4 Nov 2006 17:21:44 -0000
2006-11-05  Wakaba  <wakaba@suika.fam.cx>

	* Element.dis (___get_node_ref): |eval|ed |require|
	statement was broken.

	* DOMFeature.dis (getImplementationList): Argument
	is not passed to the |getImplementation| method.

	* TreeStore.dis (DOMImplementationTreeStore): It
	did not |f:implements| the |TSFeature30| feature.

	* XMLParser.dis: Use |create_uri_reference|
	method instead of internal |_new| method
	to create a URI reference object.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24