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

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.269

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24