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

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.287

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24