/[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.235 - (hide annotations) (download)
Sat Jul 7 15:05:01 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.234: +7 -0 lines
++ manakai/t/ChangeLog	7 Jul 2007 15:04:52 -0000
	* DOM-Node.t: Tests for |set_user_data| and |get_user_data|
	are added.  Tests for |get_feature| and |is_supported| are added.

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

++ manakai/lib/Message/DOM/ChangeLog	7 Jul 2007 15:04:43 -0000
	* Node.pm (==, is_equal_node): Implemented.
	(is_same_node): Implemented.
	(get_feature, get_user_data, set_user_data): Implemented.
	(is_supported): Implemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24