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

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.296

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24