/[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.214 - (hide annotations) (download)
Tue May 22 10:22:58 2007 UTC (17 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.213: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	22 May 2007 10:22:50 -0000
2007-05-13  Wakaba  <wakaba@suika.fam.cx>

	* TreeCore.dis (manakaiLocalName): New attribute.

++ manakai/lib/Message/URI/ChangeLog	22 May 2007 10:21:34 -0000
2007-05-22  Wakaba  <wakaba@suika.fam.cx>

	* URIReference.pm: New module (copy of |Generic.pm|).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24