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

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.295

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24