/[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.259 - (hide annotations) (download)
Sun Jul 29 11:38:56 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.258: +7 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	29 Jul 2007 11:38:40 -0000
	* HTML/: New directory.

	* Element.pm (create_element_ns): Return object implementing
	the |HTMLElement| interface for HTML elements.

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

++ manakai/lib/Message/DOM/HTML/ChangeLog	29 Jul 2007 11:37:55 -0000
2007-07-29  Wakaba  <wakaba@suika.fam.cx>

	* ChangeLog: New file.

	* HTMLElement.pm: New module.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24