/[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.243 - (hide annotations) (download)
Sat Jul 14 06:12:56 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.242: +25 -0 lines
++ manakai/t/ChangeLog	14 Jul 2007 06:12:48 -0000
2007-07-14  Wakaba  <wakaba@suika.fam.cx>

	* DOM-TypeInfo.t: New test script.

	* DOM-Node.t: Test data for new attributes are added.

++ manakai/lib/Message/DOM/ChangeLog	14 Jul 2007 06:11:45 -0000
2007-07-14  Wakaba  <wakaba@suika.fam.cx>

	* TypeInfo.pm: New Perl module.

	* Attr.pm: Use |manakai_local_name| rather than |local_name|
	to avoid HTML5 case normalization.
	(is_id): Implemented.
	(manakai_name): New attribute.
	(schema_type_info): Implemented.
	(create_attribute_ns): Empty string as namespace URI
	was not supported.

	* DOMElement.pm (clone_node): Removed since now it is
	defined in |Node.pm|.
	(schema_type_info): Implemented.
	(manakai_tag_name): New attribute.
	(get_attribute, get_attribute_node, get_attribute_ns,
	get_attribute_node_ns, has_attribute, has_attribute_ns,
	remove_attribute, remove_attribute_ns,
	remove_attribute_node, set_attribute, set_attribute_ns,
	set_id_attribute, set_id_attribute_node,
	set_id_attribute_ns): Implemented.
	(create_element_ns): Empty string as namespace URI
	was not supported.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24