/[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.213 - (hide annotations) (download)
Wed Mar 21 11:28:18 2007 UTC (17 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.212: +4 -0 lines
++ manakai/lib/Message/Util/DIS/ChangeLog	21 Mar 2007 11:27:50 -0000
2007-03-21  Wakaba  <wakaba@suika.fam.cx>

	* Value.dis (constructors): Support for |DISLang:QName|
	type is added.

	* DIT.dis: More codes... (but still work in progress...)

++ manakai/lib/Message/DOM/ChangeLog	21 Mar 2007 11:26:52 -0000
2007-01-02  Wakaba  <wakaba@suika.fam.cx>

	* GenericLS.dis (GLSException): New interface.

++ manakai/lib/manakai/ChangeLog	21 Mar 2007 11:28:13 -0000
2007-03-21  Wakaba  <wakaba@suika.fam.cx>

	* DISLang.dis (DISLang:Number, DISLang:QName): New types.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24