/[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.234 - (hide annotations) (download)
Sat Jul 7 12:26:03 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.233: +11 -0 lines
++ manakai/t/ChangeLog	7 Jul 2007 12:17:46 -0000
	* DOM-Node.t: Test data for |manakai_read_only|
	attribute are added.

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

++ manakai/lib/Message/DOM/ChangeLog	7 Jul 2007 12:17:24 -0000
	* DOMDocument.pm (get_element_by_id): Implemented.
	(create_document): Implemented.

	* DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New
	errors.
	(QNAME_NULLNS_ERR): New errors.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24