/[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.252 - (hide annotations) (download)
Sun Jul 29 03:48:59 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.251: +9 -0 lines
++ manakai/t/ChangeLog	19 Jul 2007 15:16:15 -0000
2007-07-19  Wakaba  <wakaba@suika.fam.cx>

	* DOM-Attr.t: New tests for |DeclaredValueType|, |specified|,
	|schemaTypeInfo|, and |isId| are added.

	* DOM-Element.t: New tests for |schemaTypeInfo| are added.

	* DOM-Entity.t: New tests for |xmlVersion| are added.

	* DOM-ProcessingInstruction.t: New tests for |node_value|,
	|data|, and |text_content| are added.

++ manakai/lib/Message/DOM/ChangeLog	19 Jul 2007 15:14:20 -0000
2007-07-19  Wakaba  <wakaba@suika.fam.cx>

	* Attr.pm (DeclaredValueType): Added.

	* ProcessingInstruction.pm (data): Accept |undef|
	as a valid input, for |text_content| (maybe) allows it.

	* TypeInfo.pm (type_namespace): The implementation was wrong.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24