/[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.232 - (hide annotations) (download)
Sat Jul 7 09:11:05 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.231: +17 -0 lines
++ manakai/t/ChangeLog	7 Jul 2007 09:10:55 -0000
	* DOM-Document.t: New test for ARRAY qualified name
	is added.  Set |strict_error_checking| to false
	for a test not to be raised by |create_attribute_ns|.

2007-07-07  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	7 Jul 2007 09:09:46 -0000
	* Attr.pm (create_attribute, create_attribute_ns): Implemented.

	* DOMDocument.pm: Load character classes from |Char::Class::XML|.
	(compat_mode): Check |defined| not to be warned as "uninitialized"
	when |{manakai_compat_mode}| is |undef|.

	* DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added.

	* DOMImplementationRegistry.pm, DOMImplementationSource.pm:
	Statements to set |$Error::Depth| are removed since they
	are result in "uninitialized" warnings unless
	the |Message::DOM::DOMException| module is loaded earlier.
	Usually methods invoked in these methods does not
	raise any exception so that it makes no difference.

2007-07-07  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24