/[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.245 - (hide annotations) (download)
Sat Jul 14 10:00:32 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.244: +7 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	14 Jul 2007 10:00:12 -0000
	* DOMConfiguration.pm: Support for |schema-type|
	and |http://suika.fam.cx/www/2006/dom-config/xml-id|.

	* NamedNodeMap (TIEHASH): Were missing.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24