/[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.247 - (hide annotations) (download)
Sat Jul 14 16:32:28 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.246: +27 -0 lines
++ manakai/t/ChangeLog	14 Jul 2007 16:32:13 -0000
2007-07-15  Wakaba  <wakaba@suika.fam.cx>

	* DOM-TreeWalker.t, DOM-SerialWalker.t: New test scripts.

	* DOM-DOMImplementation.t: Tests for |Traversal| feature
	are added.

	* DOM-Node.t: Tests for |Traversal| feature are added.

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

	* TreeWalker.pm, SerialWalker.pm: New Perl modules.

	* Text.pm (whole_text): Parameter index number has
	been changed to support new |NodeFilter| Perl binding
	definition.

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

	* AttributeDefinition.pm, DOMElement.pm, DocumentType.pm,
	ElementTypeDefinition.pm, Entity.pm, EntityReference.pm,
	Notation.pm, ProcessingInstruction.pm (AUTOLOAD): Don't croak even if an attempt is made to modify a read-only attribute.

	* DOMConfiguration.pm (can_set_parameter,
	set_parameter): Don't allow to set the value
	to a string other than <http://www.w3.org/TR/REC-xml> (XML 1.0 DTD).

	* DOMDocument.pm (Message::IF::DocumentTraversal): New interface.
	(create_tree_walker, manakai_create_serial_walker): References
	and prototypes are added.

	* DOMException.pm (NULLPO_ERR): New error type:-).

	* DOMImplementation.pm ($HasFeature): Feature |Traversal|,
	version |2.0|, is added.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24