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

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.305

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24