/[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.254 - (hide annotations) (download)
Sun Jul 29 06:46:25 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.253: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	29 Jul 2007 06:46:22 -0000
	* DOMDocument.pm (inner_html): Setter in HTML document
	is implemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24