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

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.285

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24