/[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.204 - (hide annotations) (download)
Sat Dec 30 01:45:50 2006 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.203: +7 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	30 Dec 2006 01:45:31 -0000
2006-12-30  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (ManakaiDOMImplementation): The
	class is no longer plays the role of
	a |mg:NodeRefRole|.  Redundant |f:provides|
	properties are removed.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24