/[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.248 - (hide annotations) (download)
Sun Jul 15 05:18:46 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.247: +18 -0 lines
++ manakai/lib/Message/DOM/Atom/ChangeLog	15 Jul 2007 05:16:12 -0000
	* AtomElement.pm: New module.

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

++ manakai/lib/Message/DOM/ChangeLog	15 Jul 2007 05:18:34 -0000
	* DOMConfiguration.pm: Configuration parameter |create-child-element|
	implemented.

	* DOMElement.pm (create_element_ns): Support for Atom
	subclasses.

	* DOMImplementation.pm (DOMImplementation): Now
	implements the |AtomDOMImplementation| interface.
	($HasFeature): Features |atom| and |atomthreading| are added.

	* NodeList.pm (StaticNodeList): Implemented.

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

	* Atom/: New directory.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24