/[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.251 - (hide annotations) (download)
Mon Jul 16 11:58:00 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.250: +7 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	16 Jul 2007 11:37:33 -0000
2007-07-16  Wakaba  <wakaba@suika.fam.cx>

	* DOMElement.pm: Incorrect module was referenced.

	* DOMImplementation.pm: References to
	the |Message::Charset::Encode| module has been removed.

++ manakai/lib/Message/URI/ChangeLog	16 Jul 2007 11:57:14 -0000
2007-07-16  Wakaba  <wakaba@suika.fam.cx>

	* URIReference.pm: Don't throw exception if read-only
	attribute is tried to set.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24