/[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.239 - (hide annotations) (download)
Sun Jul 8 11:28:45 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.238: +9 -0 lines
++ manakai/t/ChangeLog	8 Jul 2007 11:28:41 -0000
	* DOM-CharacterData.t, DOM-Text.t: New test scripts.

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

++ manakai/lib/Message/DOM/ChangeLog	8 Jul 2007 11:28:19 -0000
	* DOMCharacterData.pm (AUTOLOAD): Removed.
	(data): Reimplemented.
	(delete_data, insert_data, replace_data, substring_data): There were
	a number of bugs.

	* Text.pm (AUTOLOAD): Removed.  Unused.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24