/[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.203 - (hide annotations) (download)
Fri Dec 29 14:45:40 2006 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.202: +10 -0 lines
++ manakai/t/ChangeLog	29 Dec 2006 13:56:36 -0000
2006-12-29  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: New auto-generated Perl test files
	are added.

++ manakai/lib/Message/Util/ChangeLog	29 Dec 2006 13:53:51 -0000
2006-12-29  Wakaba  <wakaba@suika.fam.cx>

	* PerlCode.dis (createPCFile): Removed.
	(createPCDocument): New method.

++ manakai/lib/Message/Util/DIS/ChangeLog	29 Dec 2006 13:54:30 -0000
2006-12-29  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plGeneratePerlModuleFile): Removed.
	(plGeneratePerlModuleDocument): New method.

++ manakai/lib/Message/DOM/ChangeLog	29 Dec 2006 13:53:21 -0000
2006-12-29  Wakaba  <wakaba@suika.fam.cx>

	* TreeCore.dis, DOMCore.dis, Document.dis,
	Element.dis, CharacterData.dis, XML.dis,
	XDoctype.dis, DOMString.dis, TreeStore.dis,
	XMLParser.dis: Use Perl native
	hashs and |Scalar::Util|'s weak references in favor of |Grove.dis|
	for DOM nodes.  See
	also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>.

++ manakai/lib/manakai/ChangeLog	29 Dec 2006 13:56:06 -0000
2006-12-29  Wakaba  <wakaba@suika.fam.cx>

	* daf-perl-pm.pl: Use |pl_generate_perl_module_document|
	instead of |pl_generate_perl_module_file|.

	* daf-perl-t.pl: Use |create_pc_document|
	instead of |create_pc_file|.
	(daf_generate_perl_test_file|: Removed.
	(daf_generate_perl_test_document|: New function.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24