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

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.290

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24