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

Legend:
Removed from v.1.116  
changed lines
  Added in v.1.301

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24