/[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.244 - (hide annotations) (download)
Sat Jul 14 09:19:11 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.243: +42 -0 lines
++ manakai/t/ChangeLog	14 Jul 2007 09:19:01 -0000
	* DOM-Node.t: Test data for new constants and attributes
	are added.

	* DOM-TypeInfo.t: Tests for constants are added.

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

++ manakai/lib/Message/DOM/ChangeLog	14 Jul 2007 09:17:51 -0000
	* AttributeDefinition.pm (node_value): Implemented.
	(create_attribute_definition): Implemented.

	* DOMConfiguration.pm (%{}, TIEHASH,
	get_parameter, set_parameter, can_set_parameter,
	EXISTS, DELETE, parameter_names, FETCH, STORE,
	FIRSTKEY, LASTKEY): Implemented.

	* DOMDocument.pm (____new): Set |error-handler| default.
	(get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented.

	* DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns):
	Implemented.

	* DOMException.pm: Error types for |DOMConfiguration|
	are added.

	* DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New
	class.

	* DocumentType.pm (get_element_type_definition_node,
	get_general_entity_node, get_notation_node,
	set_element_type_definition_node, set_general_entity_node,
	set_notation_node, create_document_type_definition): Implemented.

	* ElementTypeDefinition.pm (get_attribute_definition_node,
	set_attribute_definition_node, create_element_type_definition):
	Implemented.

	* Entity.pm (create_general_entity): Implemented.

	* Node.pm: Constants in |OperationType| definition
	group are added.
	(manakai_language): Implemented.

	* NodeList.pm (Message::DOM::NodeList::GetElementsList): New
	class.

	* Notation.pm (create_notation): Implemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24