/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Diff of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.282

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24