/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Contents of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.292 - (hide annotations) (download)
Mon Jan 14 13:56:35 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.291: +9 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	14 Jan 2008 13:56:26 -0000
	* CSSStyleDeclaration.pm (AUTOLOAD): DOM attributes reflecting
	shorthand properties did croak (fixed but still they does not
	return correct result - they need to be fixed later).

	* Element.pm (query_selector, query_selector_all): Prototypes
	were missing.

2008-01-14  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.287 2008-01-14 Wakaba <wakaba@suika.fam.cx>
2    
3 wakaba 1.292 * CSSStyleDeclaration.pm (AUTOLOAD): DOM attributes reflecting
4     shorthand properties did croak (fixed but still they does not
5     return correct result - they need to be fixed later).
6    
7     * Element.pm (query_selector, query_selector_all): Prototypes
8     were missing.
9    
10     2008-01-14 Wakaba <wakaba@suika.fam.cx>
11    
12 wakaba 1.291 * Window.pm (___reset_css): Typo fixed.
13    
14     2008-01-14 Wakaba <wakaba@suika.fam.cx>
15    
16 wakaba 1.290 * CSSStyleDeclaration.pm: The classes now explicitly implement
17     the |CSS2Properties| interface.
18     (@{}, TIEARRAY, FETCH, FETCHSIZE, EXISTS, item, length): Implemented.
19    
20     2008-01-14 Wakaba <wakaba@suika.fam.cx>
21    
22 wakaba 1.289 * CSSStyleDeclaration.pm (attributes reflecting CSS properties):
23     Return an empty string if no value is assigned to the property. Insert
24     a SPACE before '!' for compatibility with Firefox.
25    
26     2008-01-14 Wakaba <wakaba@suika.fam.cx>
27    
28 wakaba 1.288 * CSSRule.pm (css_text): Trailing newline character is removed
29     to avoid double empty lines in CSSStyleSheet->css_text.
30     (selector_text): Namespace support is fixed.
31    
32     * CSSStyleSheet.pm (___new): Now it accepts |_nsmap| option.
33    
34     2008-01-14 Wakaba <wakaba@suika.fam.cx>
35    
36 wakaba 1.287 * CSSRule.pm (selector_text): Use |serialize_selector_text|
37     to get better result.
38    
39 wakaba 1.286 2008-01-13 Wakaba <wakaba@suika.fam.cx>
40    
41     * Window.pm: New Perl module.
42    
43     * Document.pm (default_view): Implemented.
44    
45     * Element.pm (current_style): Implemented.
46    
47 wakaba 1.285 2008-01-06 Wakaba <wakaba@suika.fam.cx>
48    
49     * CSSStyleDeclaration.pm (css_text): Allow to shorten a complete
50     set of longhand properties.
51     (get_property_priority): Implemented.
52     (CSSComputedStyleDeclaration AUTOLOAD): Implemented for reflecting
53     attributes.
54    
55 wakaba 1.284 2008-01-04 Wakaba <wakaba@suika.fam.cx>
56    
57     * CSSStyleDeclaration.pm (css_text): Allow |{compute_multiple}|
58     as well as |{compute}| as a way to filter out longhand
59     properties. Sort properties by names for readability.
60    
61 wakaba 1.282 2008-01-01 Wakaba <wakaba@suika.fam.cx>
62    
63 wakaba 1.283 * CSSStyleDeclaration.pm (css_text): Output |undef| property
64     information for debugging.
65    
66     * CSSStyleSheet.pm (manakai_base_uri): New attribute.
67    
68     2008-01-01 Wakaba <wakaba@suika.fam.cx>
69    
70 wakaba 1.282 * CSSStyleDeclaration.pm (CSSComputedStyleDeclaration): New class.
71    
72 wakaba 1.279 2007-12-31 Wakaba <wakaba@suika.fam.cx>
73    
74 wakaba 1.281 * SelectorsAPI.pm, Document.pm (___query_selector_all): New internal
75     method.
76    
77     2007-12-31 Wakaba <wakaba@suika.fam.cx>
78    
79 wakaba 1.280 * SelectorsAPI.pm: Make simple-selector-sequence-matching
80     an independent function.
81    
82     2007-12-31 Wakaba <wakaba@suika.fam.cx>
83    
84 wakaba 1.279 * CSSStyleDeclaration.pm (AUTOLOAD): Getter for attributes
85     reflecting CSS property is implemented.
86     (css_text): Getter is implemented.
87    
88 wakaba 1.278 2007-12-24 Wakaba <wakaba@suika.fam.cx>
89    
90     * CSSRule.pm (selector_text): Ad hoc support for namespace prefixes.
91     (CSSNamespaceRule.css_text): Getter implemented.
92    
93     * CSSStyleSheet.pm (manakai_is_default_namespace,
94     manakai_lookup_namespace_prefix): New methods.
95    
96 wakaba 1.276 2007-12-23 Wakaba <wakaba@suika.fam.cx>
97    
98 wakaba 1.277 * CSSRule.pm (@charset.css_text): Implemented.
99    
100     2007-12-23 Wakaba <wakaba@suika.fam.cx>
101    
102 wakaba 1.276 * CSSRule.pm (type, css_text): Typo fixed.
103     (____new): s/_selector/_selectors/g;
104     (CSSStyleRule.css_text, selectors_text): Ad hoc implementation.
105    
106     * CSSStyleDeclaration.pm (css_text): Ad hoc implementation.
107    
108     * CSSStyleSheet.pm (new): s/new/____new/.
109     (css_text): New attribute.
110    
111 wakaba 1.274 2007-12-22 Wakaba <wakaba@suika.fam.cx>
112    
113 wakaba 1.275 * MediaList.pm: New placeholder for a CSSOM interface.
114    
115     * CSSRule.pm, CSSStyleSheet.pm: Implementing the initial
116     setting of owner* and parent* attributes; support
117     for the |delete_rule| method.
118    
119     2007-12-22 Wakaba <wakaba@suika.fam.cx>
120    
121 wakaba 1.274 * CSSStyleSheet.pm, CSSRule.pm, CSSRuleList.pm, CSSStyleDeclaration.pm:
122     First version of CSSOM implementation.
123    
124 wakaba 1.273 2007-11-18 Wakaba <wakaba@suika.fam.cx>
125    
126     * Document.pm, Entity.pm (manakai_has_bom,
127     manakai_charset): New attributes.
128    
129 wakaba 1.272 2007-11-11 Wakaba <wakaba@suika.fam.cx>
130    
131     * Document.pm, Element.pm (inner_html): Use |Whatpm::HTML::Serializer|
132     for getter.
133    
134 wakaba 1.271 2007-10-27 Wakaba <wakaba@suika.fam.cx>
135    
136     * Event.pm (init_event, init_event_ns, init_custom_event_ns):
137     The |namespaceURI| attribute was not set correctly.
138    
139     * DOMEvents.dis: Removed.
140    
141 wakaba 1.270 2007-10-08 Wakaba <wakaba@suika.fam.cx>
142    
143     * Event.pm, EventTarget.pm, EventTargetNode.pm,
144     EventException.pm: Implemented (but not tested!).
145    
146     * DOMException.pm (MALFORMED_EVENT_TYPE_ERR,
147     EVENT_INTERFACE_NOT_SUPPORTED_ERR, EXTERNAL_EVENT_ERR): New
148     error subtypes.
149    
150     * DOMImplementation.pm ($HasFeature): The |Event| feature,
151     version |3.0|, is added.
152    
153     * Document.pm, Node.pm: Event attributes and
154     methods are implemented.
155    
156 wakaba 1.269 2007-10-07 Wakaba <wakaba@suika.fam.cx>
157    
158     * SelectorsAPI.pm ($get_elements_by_selectors): Receive
159     an additional argument for "current element".
160     Support for |-manakai-current| and |-manakai-current(/s/)|
161     pseudo-classes.
162    
163 wakaba 1.265 2007-09-29 Wakaba <wakaba@suika.fam.cx>
164    
165 wakaba 1.268 * SelectorsAPI.pm: Attribute selectors are implemented.
166    
167     2007-09-29 Wakaba <wakaba@suika.fam.cx>
168    
169 wakaba 1.267 * SelectorsAPI.pm (ElementSelector): Implemented.
170    
171     2007-09-29 Wakaba <wakaba@suika.fam.cx>
172    
173 wakaba 1.266 * SelectorsAPI.pm (query_selector): Implemented.
174    
175     2007-09-29 Wakaba <wakaba@suika.fam.cx>
176    
177 wakaba 1.265 * SelectorsAPI.pm ($get_elements_by_selectors): Created
178     from most part of |query_selector_all|.
179    
180 wakaba 1.264 2007-09-24 Wakaba <wakaba@suika.fam.cx>
181    
182     * DOMException.pm (SYNTAX_ERR): New subtype is defined.
183     (UNDECLARED_PREFIX_ERR): New subtype is defined.
184    
185     * Document.pm (Document): Implements the |DocumentSelector|
186     interface.
187    
188     * Element.pm (Element): Implements the |ElementSelector|
189     interface.
190    
191     * Node.pm (Node): Implements the |NSResolver| interface.
192    
193     * SelectorsAPI.pm: Now (hopefully) conform to the Selectors
194     API Editor's Draft (only |query_selector_all| on |Document|,
195     with limited selectors syntax support, though).
196    
197 wakaba 1.262 2007-09-23 Wakaba <wakaba@suika.fam.cx>
198    
199 wakaba 1.263 * SelectorsAPI.pm: Namespaced type/universal selectors
200     are supported.
201    
202     2007-09-23 Wakaba <wakaba@suika.fam.cx>
203    
204 wakaba 1.262 * SelectorsAPI.pm: New Perl module.
205    
206 wakaba 1.260 2007-08-25 Wakaba <wakaba@suika.fam.cx>
207    
208 wakaba 1.261 * Node.pm (manakai_language): Return the |manakai_language|
209     of the |owner_document|, if any, as defined in the spec.
210    
211     2007-08-25 Wakaba <wakaba@suika.fam.cx>
212    
213 wakaba 1.260 * Makefile: Relative path was wrong.
214    
215 wakaba 1.253 2007-07-29 Wakaba <wakaba@suika.fam.cx>
216    
217 wakaba 1.259 * HTML/: New directory.
218    
219     * Element.pm (create_element_ns): Return object implementing
220     the |HTMLElement| interface for HTML elements.
221    
222     2007-07-29 Wakaba <wakaba@suika.fam.cx>
223    
224 wakaba 1.258 * DOMImplementation.pod: New documentation.
225    
226     * Makefile: Make HTML document.
227    
228     2007-07-29 Wakaba <wakaba@suika.fam.cx>
229    
230 wakaba 1.257 * XDoctype.dis, XDoctype.pm: Removed.
231    
232     * CharacterData.pm: Renamed from DOMCharacterData.pm.
233    
234 wakaba 1.258 * Document.pm: Renamed from DOMDocument.pm.
235 wakaba 1.257
236     * Element.pm: Renamed from DOMElement.pm
237    
238     2007-07-29 Wakaba <wakaba@suika.fam.cx>
239    
240 wakaba 1.256 * DOMString.dis, DOMString.pm, Document.dis, Document.pm,
241     Element.dis, Element.pm, CharacterData.dis, CharacterData.pm,
242     TreeCore.dis, TreeCore.pm, DOMCore.dis, DOMCore.pm,
243     DOMFeature.dis, DOMFeature.pm, XML.dis, XML.pm,
244     DOMMain.dis, DOMMain.pm, DOMLS.dis,
245     GenericLS.dis, GenericLS.pm, SimpleLS.dis: Removed.
246    
247     * Makefile: Rules for DIS are removed.
248    
249     2007-07-29 Wakaba <wakaba@suika.fam.cx>
250    
251 wakaba 1.255 * Text.pm: |Message::DOM::Traversal, an obsolete module,
252     was referenced.
253    
254     2007-07-29 Wakaba <wakaba@suika.fam.cx>
255    
256 wakaba 1.254 * DOMDocument.pm (inner_html): Setter in HTML document
257     is implemented.
258    
259     2007-07-29 Wakaba <wakaba@suika.fam.cx>
260    
261 wakaba 1.253 * DOMDocument.pm (inner_html): Setter in XML document
262     is implemented.
263    
264 wakaba 1.252 2007-07-19 Wakaba <wakaba@suika.fam.cx>
265    
266     * Attr.pm (DeclaredValueType): Added.
267    
268     * ProcessingInstruction.pm (data): Accept |undef|
269     as a valid input, for |text_content| (maybe) allows it.
270    
271     * TypeInfo.pm (type_namespace): The implementation was wrong.
272    
273 wakaba 1.251 2007-07-16 Wakaba <wakaba@suika.fam.cx>
274    
275     * DOMElement.pm: Incorrect module was referenced.
276    
277     * DOMImplementation.pm: References to
278     the |Message::Charset::Encode| module has been removed.
279    
280 wakaba 1.247 2007-07-15 Wakaba <wakaba@suika.fam.cx>
281    
282 wakaba 1.250 * XMLParserTemp.pm: Use |Whatpm::Charset::DecodeHandle|
283     instead of |Message::Charset::Encode|.
284    
285     2007-07-15 Wakaba <wakaba@suika.fam.cx>
286    
287 wakaba 1.249 * DOMDocument.pm (inner_html): New attribute (beta).
288    
289     * DOMElement.pm (inner_html): New attribute (beta).
290    
291     2007-07-15 Wakaba <wakaba@suika.fam.cx>
292    
293 wakaba 1.248 * DOMConfiguration.pm: Configuration parameter |create-child-element|
294     implemented.
295    
296     * DOMElement.pm (create_element_ns): Support for Atom
297     subclasses.
298    
299     * DOMImplementation.pm (DOMImplementation): Now
300     implements the |AtomDOMImplementation| interface.
301     ($HasFeature): Features |atom| and |atomthreading| are added.
302    
303     * NodeList.pm (StaticNodeList): Implemented.
304    
305     2007-07-15 Wakaba <wakaba@suika.fam.cx>
306    
307     * Atom/: New directory.
308    
309     2007-07-15 Wakaba <wakaba@suika.fam.cx>
310    
311 wakaba 1.247 * TreeWalker.pm, SerialWalker.pm: New Perl modules.
312    
313     * Text.pm (whole_text): Parameter index number has
314     been changed to support new |NodeFilter| Perl binding
315     definition.
316    
317     2007-07-14 Wakaba <wakaba@suika.fam.cx>
318    
319     * AttributeDefinition.pm, DOMElement.pm, DocumentType.pm,
320     ElementTypeDefinition.pm, Entity.pm, EntityReference.pm,
321     Notation.pm, ProcessingInstruction.pm (AUTOLOAD): Don't croak even if an attempt is made to modify a read-only attribute.
322    
323     * DOMConfiguration.pm (can_set_parameter,
324     set_parameter): Don't allow to set the value
325     to a string other than <http://www.w3.org/TR/REC-xml> (XML 1.0 DTD).
326    
327     * DOMDocument.pm (Message::IF::DocumentTraversal): New interface.
328     (create_tree_walker, manakai_create_serial_walker): References
329     and prototypes are added.
330    
331     * DOMException.pm (NULLPO_ERR): New error type:-).
332    
333     * DOMImplementation.pm ($HasFeature): Feature |Traversal|,
334     version |2.0|, is added.
335    
336 wakaba 1.243 2007-07-14 Wakaba <wakaba@suika.fam.cx>
337    
338 wakaba 1.246 * CDATASection.pm: Removed (merged with |Text.pm|).
339    
340     * Text.pm (Message::DOM::Text::CDATASection): New.
341    
342     * Comment.pm: Removed (merged with |DOMCharacterData.pm|).
343    
344     * DOMCharacterData.pm (Message::DOM::CharacterData::Comment): New.
345    
346     2007-07-14 Wakaba <wakaba@suika.fam.cx>
347    
348 wakaba 1.245 * DOMConfiguration.pm: Support for |schema-type|
349     and |http://suika.fam.cx/www/2006/dom-config/xml-id|.
350    
351     * NamedNodeMap (TIEHASH): Were missing.
352    
353     2007-07-14 Wakaba <wakaba@suika.fam.cx>
354    
355 wakaba 1.244 * AttributeDefinition.pm (node_value): Implemented.
356     (create_attribute_definition): Implemented.
357    
358     * DOMConfiguration.pm (%{}, TIEHASH,
359     get_parameter, set_parameter, can_set_parameter,
360     EXISTS, DELETE, parameter_names, FETCH, STORE,
361     FIRSTKEY, LASTKEY): Implemented.
362    
363     * DOMDocument.pm (____new): Set |error-handler| default.
364     (get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented.
365    
366     * DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns):
367     Implemented.
368    
369     * DOMException.pm: Error types for |DOMConfiguration|
370     are added.
371    
372     * DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New
373     class.
374    
375     * DocumentType.pm (get_element_type_definition_node,
376     get_general_entity_node, get_notation_node,
377     set_element_type_definition_node, set_general_entity_node,
378     set_notation_node, create_document_type_definition): Implemented.
379    
380     * ElementTypeDefinition.pm (get_attribute_definition_node,
381     set_attribute_definition_node, create_element_type_definition):
382     Implemented.
383    
384     * Entity.pm (create_general_entity): Implemented.
385    
386     * Node.pm: Constants in |OperationType| definition
387     group are added.
388     (manakai_language): Implemented.
389    
390     * NodeList.pm (Message::DOM::NodeList::GetElementsList): New
391     class.
392    
393     * Notation.pm (create_notation): Implemented.
394    
395     2007-07-14 Wakaba <wakaba@suika.fam.cx>
396    
397 wakaba 1.243 * TypeInfo.pm: New Perl module.
398    
399     * Attr.pm: Use |manakai_local_name| rather than |local_name|
400     to avoid HTML5 case normalization.
401     (is_id): Implemented.
402     (manakai_name): New attribute.
403     (schema_type_info): Implemented.
404     (create_attribute_ns): Empty string as namespace URI
405     was not supported.
406    
407     * DOMElement.pm (clone_node): Removed since now it is
408     defined in |Node.pm|.
409     (schema_type_info): Implemented.
410     (manakai_tag_name): New attribute.
411     (get_attribute, get_attribute_node, get_attribute_ns,
412     get_attribute_node_ns, has_attribute, has_attribute_ns,
413     remove_attribute, remove_attribute_ns,
414     remove_attribute_node, set_attribute, set_attribute_ns,
415     set_id_attribute, set_id_attribute_node,
416     set_id_attribute_ns): Implemented.
417     (create_element_ns): Empty string as namespace URI
418     was not supported.
419    
420 wakaba 1.242 2007-07-12 Wakaba <wakaba@suika.fam.cx>
421    
422     * AttributeDefinition.pm (owner_element_type_definition): Implemented.
423    
424     * DocumentType.pm (create_document_type_definition): Initialize
425     |public_id|, |system_id|, and |internal_subset| attributes
426     by empty strings for compatibility with Web browsers.
427     (create_document_type): Initialize |internal_subset|
428     attribute by an empty string for compatibility with
429     Web browsers.
430    
431     * ElementTypeDefinition.pm, Entity.pm,
432     Notation.pm (owner_document_type_definition): Implemented.
433    
434 wakaba 1.236 2007-07-08 Wakaba <wakaba@suika.fam.cx>
435    
436 wakaba 1.241 * DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration|
437     feature is added for compatibility with |XMLParserTemp.pm|.
438    
439     2007-07-08 Wakaba <wakaba@suika.fam.cx>
440    
441 wakaba 1.240 * Attr.pm (value, node_value): Now it is defined
442     as |text_content| itself.
443    
444     * AttributeDefinition.pm, ElementTypeDefinition.pm,
445     Node.pm (AUTOLOAD): Unused block is removed.
446    
447     * CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed. Unused.
448    
449     * DocumentType.pm (internal_subset): Implemented.
450    
451     * Entity.pm (is_externally_declared, input_encoding,
452     xml_version): Implemented.
453    
454     * ProcessingInstruction.pm (target, data): Implemented.
455    
456     2007-07-08 Wakaba <wakaba@suika.fam.cx>
457    
458 wakaba 1.239 * DOMCharacterData.pm (AUTOLOAD): Removed.
459     (data): Reimplemented.
460     (delete_data, insert_data, replace_data, substring_data): There were
461     a number of bugs.
462    
463     * Text.pm (AUTOLOAD): Removed. Unused.
464    
465     2007-07-08 Wakaba <wakaba@suika.fam.cx>
466    
467 wakaba 1.238 * StringExtended.pm: New Perl module.
468    
469     * DOMCharacterData.pm (length, append_data, delete_data,
470     insert_data, replace_data, substring_data): Implemented.
471    
472     * DOMException.pm (INDEX_SIZE_ERR): Implemented.
473    
474     * Text.pm (is_element_content_whitespace, whole_text,
475     split_text): Implemented.
476    
477     2007-07-08 Wakaba <wakaba@suika.fam.cx>
478    
479 wakaba 1.237 * DOMElement.pm (attributes): Implemented.
480    
481     * DOMException.pm (INUSE_DEFINITION_ERR): New error type.
482    
483     * DocumentType.pm (entities, general_entities,
484     notations, element_types): Implemented.
485    
486     * ElementTypeDefinition.pm (attribute_definitions): Implemented.
487    
488     * NamedNodeMap.pm: New Perl module.
489    
490     2007-07-08 Wakaba <wakaba@suika.fam.cx>
491    
492 wakaba 1.236 * Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm,
493     DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm,
494     Node.pm, Notation.pm, ProcessingInstruction.pm (append_child,
495     insert_before, replace_child): Implemented.
496    
497     * DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented.
498    
499     * Node.pm (remove_child): Implemented.
500    
501 wakaba 1.229 2007-07-07 Wakaba <wakaba@suika.fam.cx>
502    
503 wakaba 1.235 * Node.pm (==, is_equal_node): Implemented.
504     (is_same_node): Implemented.
505     (get_feature, get_user_data, set_user_data): Implemented.
506     (is_supported): Implemented.
507    
508     2007-07-07 Wakaba <wakaba@suika.fam.cx>
509    
510 wakaba 1.234 * DOMDocument.pm (get_element_by_id): Implemented.
511     (create_document): Implemented.
512    
513     * DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New
514     errors.
515     (QNAME_NULLNS_ERR): New errors.
516    
517     * DocumenType.pm (create_document_type): Implemented.
518    
519     2007-07-07 Wakaba <wakaba@suika.fam.cx>
520    
521 wakaba 1.233 * CDATASection.pm (is_element_content_whitespace): New.
522    
523     * DOMElement.pm (has_attribute): Alpha version.
524     (create_element, create_element_ns): Implemented.
525    
526     * DocumentType.pm (get_general_entity_node): Alpha version.
527    
528     * EntityReference.pm (create_entity_reference): Implemented.
529    
530     * ProcessingInstruction.pm (create_processing_instruction): Implemented.
531    
532     2007-07-07 Wakaba <wakaba@suika.fam.cx>
533    
534 wakaba 1.232 * Attr.pm (create_attribute, create_attribute_ns): Implemented.
535    
536     * DOMDocument.pm: Load character classes from |Char::Class::XML|.
537     (compat_mode): Check |defined| not to be warned as "uninitialized"
538     when |{manakai_compat_mode}| is |undef|.
539    
540     * DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added.
541    
542     * DOMImplementationRegistry.pm, DOMImplementationSource.pm:
543     Statements to set |$Error::Depth| are removed since they
544     are result in "uninitialized" warnings unless
545     the |Message::DOM::DOMException| module is loaded earlier.
546     Usually methods invoked in these methods does not
547     raise any exception so that it makes no difference.
548    
549     2007-07-07 Wakaba <wakaba@suika.fam.cx>
550    
551 wakaba 1.231 * DOMDocument.pm (adopt_node): Implemented.
552     (doctype): Implemented.
553    
554     * DOMElement.pm (remove_attribute_node): Alpha version.
555    
556     * DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New
557     error type.
558    
559     * Node.pm (set_user_data): Implemented.
560    
561     2007-07-07 Wakaba <wakaba@suika.fam.cx>
562    
563 wakaba 1.230 * DOMImplementation.pm (new): New method name for |____new|.
564     It will be defined in the DOM Perl Binding specification
565     as part of |DOMImplementation| interface.
566     ($HasFeature): Defined for features support.
567     (has_feature, get_feature): Implemented.
568    
569     * DOMStringList.pm: Don't load the |Message::DOM::DOMException|
570     module unless necessary.
571     (___report_error): Removed since it is not used in fact.
572    
573     * DOMImplementationList.pm, DOMImplementationSource.pm,
574     DOMImplementationRegistry.pm: New modules.
575    
576     2007-07-07 Wakaba <wakaba@suika.fam.cx>
577    
578 wakaba 1.229 * AttributeDefinition.pm (allowed_tokens): Implemented.
579    
580     * DOMStringList.pm: New Perl module.
581    
582 wakaba 1.228 2007-06-26 Wakaba <wakaba@suika.fam.cx>
583    
584     * DOMElement.pm (clone_node): Alpha version. It did not work
585     at all.
586    
587     2007-06-24 Wakaba <wakaba@suika.fam.cx>
588    
589     * ProcessingInstruction.pm (data): Now it is a read-write attribute.
590    
591 wakaba 1.227 2007-06-23 Wakaba <wakaba@suika.fam.cx>
592    
593     * DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented.
594     (manakai_is_html): Revised.
595     (Document): Now it implements the |HTMLDocument| interface.
596     (adopt_node): Alpha version.
597    
598     * AttributeDefinition.pm (allowed_tokens): |allowed_tokens|,
599     not |allowed_token|!
600    
601     * ElementTypeDefinition.pm (attribute_definitions): Don't
602     return an |undef| even if its |attribute_definitions|
603     list is not created.
604    
605 wakaba 1.225 2007-06-21 Wakaba <wakaba@suika.fam.cx>
606    
607 wakaba 1.226 * Comment.pm (node_type): Node type was incorrect!
608    
609     * DOMConfiguration.pm (get_parameter): Alpha.
610    
611     * DOMImplementation.pm (create_mc_decode_handler,
612     create_charset_name_from_uri, create_uri_from_charset_name):
613     New autoload configuration. Note that the Message::Charset::Encode
614     module is subject to change.
615    
616     * XMLParserTemp.pm: Now it can be used with new version
617     of DOM implementation. Current plan is to replace it by
618     an XML5 parser someday.
619    
620     2007-06-21 Wakaba <wakaba@suika.fam.cx>
621    
622 wakaba 1.225 * DOMLocator.pm: New module.
623    
624     * DOMError.pm: New module.
625    
626 wakaba 1.224 2007-06-20 Wakaba <wakaba@suika.fam.cx>
627    
628     * Node.pm (manakai_expanded_uri, manakai_parent_element,
629     clone_node, compare_document_position, has_attributes,
630     has_child_nodes, is_default_namespace, lookup_namespace_uri,
631     lookup_prefix, normalize): Implemented.
632    
633     * DOMElement.pm (remove_attribute, set_attribute): Alpha version.
634    
635     * DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error.
636    
637 wakaba 1.222 2007-06-17 Wakaba <wakaba@suika.fam.cx>
638    
639 wakaba 1.223 * AttributeDefinition.pm (____new): Set an empty list
640     to the |allowed_tokens| attribute.
641     (allowed_token): Alpha version.
642    
643     * DocumentType.pm (get_element_type_definition_node,
644     get_notation_node): ALpha version.
645    
646     * ElementTypeDefinition.pm (attribute_definitions): Alpha 2
647     version.
648    
649     * Entity.pm (notation_name): Implemented.
650    
651     2007-06-17 Wakaba <wakaba@suika.fam.cx>
652    
653 wakaba 1.222 * Attr.pm (____new): Initialize |specified| as 1.
654     (base_uri, manakai_attribute_type, specified): Implemented.
655     (prefix): Don't check read-only flag unless |strict_error_checking|.
656     (value): Call |text_content| for now.
657    
658     * AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added.
659     (declared_type, default_type): Implemented.
660    
661     * CharacterData.pm (____new): Allow a scalar reference
662     as an input for the |data| attribute.
663     (base_uri, manakai_append_text): Implemented.
664    
665     * DOMConfiguration.pm (set_parameter): Resetting implemented.
666    
667     * DOMDocument.pm (____new): Set default values to
668     configuration parameter whose default is true.
669     (document_uri, input_encoding): Implemented.
670     (all_declarations_processed, manakai_is_html): Implemented.
671     (base_uri, manakai_append_text,
672     manakai_entity_base_uri, strict_error_checking,
673     xml_encoding, xml_version, xml_standalone): Implemented.
674    
675     * DOMElement.pm (manakai_base_uri, base_uri): Implemented.
676     (get_attribute, get_attribute_node): Alpha version.
677     (set_attribute_node, set_attribute_node_ns): Implemented.
678     (set_attribute_ns): Accept non-ARRAY qualified name.
679    
680     * DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|,
681     |NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added.
682    
683     * DocumentType.pm (public_id, system_id): Implemented.
684     (base_uri, declaration_base_uri, manakai_declaration_base_uri,
685     manakai_append_text): Implemented.
686     (element_types, general_entities, notations,
687     set_element_type_definition_node, set_general_entity_node,
688     set_notation_node): Alpha version.
689    
690     * ElementTypeDefinition.pm (manakai_append_text): Implemented.
691     (attribute_definitions, set_attribute_definition_node): Alpha version.
692    
693     * Entity.pm (has_replacement_tree, public_id, system_id,
694     manakai_declaration_base_uri, manakai_entity_base_uri,
695     manakai_entity_uri): Implemented.
696    
697     * EntityReference.pm (manakai_expanded, manakai_external): Implemented.
698     (base_uri, manakai_entity_base_uri): Implemented.
699    
700     * Node.pm (base_uri): Implemented.
701     (text_content): Don't check read-only or not
702     unless |strict_error_checking|.
703     (manakai_append_text): Implemented.
704     (get_feature): Alpha.
705     (manakai_set_read_only): Implemented.
706    
707     * Notation.pm (public_id, system_id, manakai_append_text,
708     manakai_declaration_base_uri): Implemented.
709    
710     * ProcessingInstruction.pm (manakai_base_uri,
711     base_uri, manakai_append_text): Implemented.
712    
713 wakaba 1.218 2007-06-16 Wakaba <wakaba@suika.fam.cx>
714    
715 wakaba 1.221 * DOMConfiguration.pm: New module.
716    
717     * Attr.pm (trivial accessor for read-write attributes): Throw
718     an exception if the node is read-only. Delete the property
719     if undef is specified.
720     (prefix): Implemented.
721    
722     * DOMElement.pm (trivial accessor for read-write attributes): Throw
723     an exception if the node is read-only. Delete the property
724     if undef is specified.
725     (prefix): Implemented.
726     (text_content, manakai_append_text): Old implementations are removed.
727    
728     * DOMCharacterData.pm (text_content): Implemented.
729    
730     * DOMDocument.pm (____new): Initialize the strict-document-children
731     parameter by true.
732     (text_content): Reimplemented.
733     (dom_config): New.
734    
735     * DOMException.pm (READ_ONLY_NODE_ERR): New subtype.
736    
737     * DocumentType.pm (text_content): Implemented.
738    
739     * ElementTypeDefinition.pm (text_content): Implemented.
740    
741     * Node.pm (___report_error): New method.
742     (text_content): Implemented.
743     (manakai_append_text): Copied from |DOMElement.pm|.
744    
745     * Notation.pm (text_content): Implemented.
746    
747     * ProcessingInstruction.pm (text_content): Implemented.
748    
749     * Text.pm (is_element_content_whitespace): Alpha version.
750    
751     2007-06-16 Wakaba <wakaba@suika.fam.cx>
752    
753 wakaba 1.220 * DOMException.pm (Message::IF::DOMException): Extends
754     the |Message::Util::Error| class.
755    
756     * NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class.
757     (CLEAR): Not all items were removed.
758    
759     2007-06-16 Wakaba <wakaba@suika.fam.cx>
760    
761 wakaba 1.219 * Attr.pm, AttributeDefinition.pm, DocumentFragment.pm,
762     DocumentType.pm, Entity.pm,
763     EntityReference.pm (____new): Initialize |child_nodes| by an empty list.
764    
765     * Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm,
766     Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned.
767    
768     * DOMDocument.pm (AUTOLOAD): Typo fixed.
769    
770     * Node.pm (==, !=): Implemented.
771     (manakai_read_only): Implemented.
772     (is_same_node): Implemented.
773     (is_equal_node): Alpha version.
774     (manakai_set_read_only): Alpha version.
775     (child_nodes, first_child, last_child, previous_sibling): Duplicate
776     definitions are removed.
777    
778     2007-06-16 Wakaba <wakaba@suika.fam.cx>
779    
780 wakaba 1.218 * Node.pm: First alpha version of implementation of attributes.
781    
782 wakaba 1.217 2007-06-15 Wakaba <wakaba@suika.fam.cx>
783    
784     * ProcessingInstruction.pm, EntityReference.pm,
785     CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm,
786     ElementTypeDefinition.pm, AttributeDefinition.pm,
787     DocumentType.pm, DOMElement.pm, Attr.pm,
788     CharacterData.pm, Text.pm, Comment.pm (node_name,
789     node_value, node_type): Implemented.
790    
791 wakaba 1.216 2007-06-14 Wakaba <wakaba@suika.fam.cx>
792    
793     * Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm,
794     CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm,
795     AttributeDefinition.pm: New modules.
796    
797     * DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added.
798     (create_attribute_definition, create_element_type_definition,
799     create_document_type_definition, create_cdata_section,
800     create_processing_instruction, create_entity_reference,
801     create_general_entity, create_notation): Prototypes added.
802    
803     * DOMImplementation.pm (create_document_type): Prototype added.
804    
805     * DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition'
806     and 'Message::IF::DocumentTypeDeclaration' added.
807     (create_document_type, create_document_type_definition):
808     New methods.
809    
810 wakaba 1.215 2007-06-13 Wakaba <wakaba@suika.fam.cx>
811    
812     * DOMImplementation.pm, Node.pm, DOMDocument.pm,
813     DOMElement.pm, Attr.pm, DocumentType.pm,
814     DOMCharacterData.pm, Text.pm, Comment.pm: Copied
815     from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>.
816    
817     2007-06-10 Wakaba <wakaba@suika.fam.cx>
818    
819     * XMLParser.dis: Default to "1.0" if <?xml version=""?>
820     specifies unknown value and trys to recover from the error.
821    
822 wakaba 1.214 2007-05-13 Wakaba <wakaba@suika.fam.cx>
823    
824     * TreeCore.dis (manakaiLocalName): New attribute.
825    
826 wakaba 1.213 2007-01-02 Wakaba <wakaba@suika.fam.cx>
827    
828     * GenericLS.dis (GLSException): New interface.
829    
830 wakaba 1.211 2006-12-31 Wakaba <wakaba@suika.fam.cx>
831    
832 wakaba 1.212 * |InputProcessor|s and |OutputProcessor|s are
833     named so that |report| statements in Perl
834     module outputs can be identified by name. |dis:dataType|s
835     of |DISCore:TFQNames| are all replaced
836     by |DISCore:QName|.
837    
838     2006-12-31 Wakaba <wakaba@suika.fam.cx>
839    
840 wakaba 1.211 * Element.dis (createElementNS): If an array reference
841     is specified as the |qualifiedName| parameter,
842     don't set the first item as the local name
843     even if the second item is not specified (or
844     specified as |undef|).
845     (createElementNS, setAttribute, setAttributeNS,
846     removeAttribute, removeAttributeNS,
847     setAttributeNode, setAttributeNodeNS,
848     removeAttributeNode, removeAttributeNodeNS): Sets
849     or removes the |tc:contentAttributeList| value.
850    
851     * TreeCore.dis (AttrMap.item): Caches the result
852     of sorting of content attribute names.
853     (getAttrMap, getElementTypeDefNodeMap,
854     getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed.
855     (tc:contentAttributeList): New property.
856    
857 wakaba 1.204 2006-12-30 Wakaba <wakaba@suika.fam.cx>
858    
859 wakaba 1.210 * DOMFeature.dis (ForDef): Removed.
860     (f:provides, f:through): Removed.
861     (Version): Removed.
862     (implementFeature): Removed.
863    
864     2006-12-30 Wakaba <wakaba@suika.fam.cx>
865    
866 wakaba 1.207 * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
867 wakaba 1.208 GenericLS.dis, TreeCore.dis, DOMString.dis,
868     XML.dis, Element.dis, Document.dis, TreeStore,dis,
869     Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
870 wakaba 1.209 SimpleLS.dis, DOMMain.dis, XDP.dis: |For| specifications
871     are removed.
872    
873     2006-12-30 Wakaba <wakaba@suika.fam.cx>
874    
875     * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
876     GenericLS.dis, TreeCore.dis, DOMString.dis,
877     XML.dis, Element.dis, Document.dis, TreeStore,dis,
878     Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
879 wakaba 1.208 SimpleLS.dis, DOMMain.dis, XDP.dis: |WithFor| specifications
880     and |DefaultFor|s are removed.
881    
882     2006-12-30 Wakaba <wakaba@suika.fam.cx>
883    
884     * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
885 wakaba 1.207 GenericLS.dis, TreeCore.dis, DOMString.dis,
886     XML.dis, Element.dis, Document.dis, TreeStore,dis,
887     Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
888     SimpleLS.dis, DOMMain.dis: References
889     to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|,
890     |ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3|
891     modes are removed.
892    
893     2006-12-30 Wakaba <wakaba@suika.fam.cx>
894    
895 wakaba 1.206 * CharacterData.dis, TreeCore.dis (Require): References
896     to the |Grove.dis| module are removed.
897    
898     2006-12-30 Wakaba <wakaba@suika.fam.cx>
899    
900 wakaba 1.205 * DOMFeature.dis (f:implementation, f:revImplementation): Removed.
901     (Require): Reference to the |Grove.dis| module is removed.
902    
903     2006-12-30 Wakaba <wakaba@suika.fam.cx>
904    
905 wakaba 1.204 * DOMCore.dis (ManakaiDOMImplementation): The
906     class is no longer plays the role of
907     a |mg:NodeRefRole|. Redundant |f:provides|
908     properties are removed.
909    
910 wakaba 1.203 2006-12-29 Wakaba <wakaba@suika.fam.cx>
911    
912     * TreeCore.dis, DOMCore.dis, Document.dis,
913     Element.dis, CharacterData.dis, XML.dis,
914     XDoctype.dis, DOMString.dis, TreeStore.dis,
915     XMLParser.dis: Use Perl native
916     hashs and |Scalar::Util|'s weak references in favor of |Grove.dis|
917     for DOM nodes. See
918     also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>.
919    
920 wakaba 1.202 2006-12-03 Wakaba <wakaba@suika.fam.cx>
921    
922     * DOMFeature.dis, TreeCore.dis: Unused |role|s are removed.
923    
924 wakaba 1.201 2006-12-02 Wakaba <wakaba@suika.fam.cx>
925    
926     * DOMString.dis: New module.
927    
928     * DOMString.pm: New file.
929    
930     * DOMCore.dis (min): Moved from |DOMFeature.dis|.
931     (ImplementationRegistryVariable): Moved from |DOMFeature.dis|.
932     Now it references the |DOMImplementationRegistry| object.
933     (DOMImplementationRegistryVariable): Moved from |DOMMain.dis|.
934     (DOMImplementationRegistry): New interface and
935     class, reformed from |ImplementationRegistry| in |DOMFeature.dis|
936     and |DOMImplementationRegistry| in |DOMMain.dis|. Note
937     that the class no longer support |get_implementation|
938     and |get_implementation_list| methods from
939     the |ImplementationRegistry| interface.
940     (DOMImplementationList): Class implemented; no
941     longer inherits from |ImplementationList|.
942     (DOMImplementationSource): Class implemented; no
943     longer inherits from |ImplementationSource|. Note that
944     the class no longer support |get_implementation|
945     and |get_implementation_list| methods from
946     the |ImplementationSource| interface.
947     (DOMStringList): Removed.
948    
949     * DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature,
950     ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature,
951     ManakaiDOM:DOMXMLFeatureXML11, most part of
952     documentation for obsolete DOM Level 3 Minimum Implementation
953     module, obsolete property name aliases,
954     ImplemenationRegistryVar, ImplementationRegistry,
955     DEBUG, MIString, ImplementationList, ImplementationSource,
956     ManakaiDOM:implID): Removed.
957    
958     * DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed.
959     (DOMString): Removed.
960     (DOMImplementationRegistryVar, DOMImplementationRegistry): Removed.
961    
962     * Makefile: |DOMString.pm| is added.
963    
964     * TreeCore.dis (is_default_namespace): |null| was
965     returned where a false is expected (|null| is
966     a false in Perl, but real |false| is appropriate here).
967    
968 wakaba 1.197 2006-11-05 Wakaba <wakaba@suika.fam.cx>
969    
970 wakaba 1.200 * DOMCore.dis (TypeInfo, UserDataHandler): Removed.
971    
972     * Element.dis (TypeInfo): Moved from |DOMCore.dis|.
973    
974     * TreeCore.dis (UserDataHandler): Moved from |DOMCore.dis|.
975    
976     2006-11-05 Wakaba <wakaba@suika.fam.cx>
977    
978 wakaba 1.199 * DOMFeature.dis (ImplementationList, ImplementationSource,
979     ImplementationRegistry): Parameters |features|
980     now allow |null| (equivalent to an empty string).
981    
982     2006-11-05 Wakaba <wakaba@suika.fam.cx>
983    
984 wakaba 1.198 * CharacterData.dis (ManakaiDOMDocumentCharacterData): New
985     class. Factory methods |createTextNode| and |createComment|
986     are moved from |ManakaiDOMDocument|.
987    
988     * DOMCore.dis: References to |ManakaiDOMObject|
989     are removed.
990     (tc:createImplForTest): Moved from |TreeCore.dis|.
991     (DOMImplementation.___create_node_ref): Support
992     for the |mg:nodeRefClass| option is removed.
993     (ManakaiDOMConfiguration.___report_error): Moved
994     from |ManakaiDOMObject| class.
995    
996     * DOMFeature.dis (domidl:extends): New property.
997     (f:getFeatureImpl): Support for |+| classes is removed.
998    
999     * DOMMain.dis (DOMMain:docSupportsXMLFeature): Removed.
1000     (ManakaiDOM:ManakaiDOMObject): Removed.
1001     (DOMDataType): Removed.
1002    
1003     * Document.dis (ManakaiDOMImplementationDocument):
1004     The |createDocument| method is moved from
1005     the |ManakaiDOMImplementationTC| in |TreeCore.dis|.
1006     (ManakaiDOMDocument.___create_node_ref): Removed.
1007     (createElement, createElementNS, createAttribute,
1008     createAttributeNS, createTextNode, createComment,
1009     createCDATASection, createEntityReference,
1010     createProcessingInstruction): Class implementations
1011     are moved to each module.
1012    
1013     * Element.dis (ManakaiDOMImplementationElement): Factory
1014     methods are moved from |Document.dis|.
1015     (ManakaiDOMElement.___create_node_ref): Support
1016     for old class registry is removed.
1017     (ManakaiDOMAttr.___create_node_ref): Removed.
1018     (Attr.baseURI): Implementation
1019     for |xml:base| attribute is merged.
1020     (Attr.nodeValue, Attr.value): Implementation
1021     for |xml:id| attribute is merged.
1022    
1023     * TreeCore.dis (ManakaiDOMImplementationTC): Removed.
1024    
1025     * XDoctype.dis (ManakaiDOMImplementationXDoctype): The
1026     definition for |createDocumentType| method
1027     is moved from |TreeCore.dis|.
1028    
1029     * XML.dis (ManakaiDOMXMLDocument): Factory
1030     methods are moved from |Document.dis|.
1031     (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Removed (merged
1032     into |ManakaiDOMAttr| in |Element.dis|).
1033    
1034     2006-11-05 Wakaba <wakaba@suika.fam.cx>
1035    
1036 wakaba 1.197 * Element.dis (___get_node_ref): |eval|ed |require|
1037     statement was broken.
1038    
1039     * DOMFeature.dis (getImplementationList): Argument
1040     is not passed to the |getImplementation| method.
1041    
1042     * TreeStore.dis (DOMImplementationTreeStore): It
1043     did not |f:implements| the |TSFeature30| feature.
1044    
1045     * XMLParser.dis: Use |create_uri_reference|
1046     method instead of internal |_new| method
1047     to create a URI reference object.
1048    
1049 wakaba 1.195 2006-11-04 Wakaba <wakaba@suika.fam.cx>
1050    
1051     * DOMCore.dis (ManakaiDOMImplementation): No longer
1052 wakaba 1.196 explicitly inherits |urigen:ManakaiURIImplementation| (and
1053     the |f:ManakaiMinimumImplementation| class inherited
1054     by it). The |f:Minimum| feature is ever implemented
1055     for compatibility (but is expected to be removed).
1056     Internal methods such as |___report_error| are copied from
1057     obsolete |f:MinimumImplementation| class. DOM3
1058     methods |hasFeature| and |getFeature| are also
1059     moved from that class, but they now support no
1060     foreign classes.
1061    
1062     * DOMFeature.dis (ManakaiImplementationSource): It
1063     now |p:require|s |Message::Util::AutoLoad::Registry|.
1064     The class no longer support classes
1065     other than |ManakaiDOMImplementation|. Note
1066     that the |ImplementationRegistry| object does continue
1067     to support foreign classes via foreign classes
1068     implementing |ImplementationSource|
1069     or |DOMImplementationSource| interface.
1070     (MinimumImplementation): Removed.
1071    
1072     * DOMLS.dis (ManakaiDOMImplementationLS): It no
1073     longer inherit the |ManakaiDOMImplementation|; it
1074     is now expected to be implemented by |DOMImplementation|
1075     objects.
1076    
1077     * DOMMain.dis (null): Removed.
1078    
1079     * Document.dis (___create_node_ref): It no
1080     longer support foreign classes other
1081     than |Message::DOM::Document::ManakaiDOMDocument|.
1082     Note that document format specific DOM
1083     interfaces, if supported, should be
1084     all instances of the |Document| interface
1085     in the implementation, as defined
1086     in the Web Applications 1.0 specification (where
1087     the |HTMLDocument| interface must be implemented
1088     by all |Document| objects, even if the |Document|
1089     contains no HTML element).
1090    
1091     * GenericLS.dis (GLSImplementation): It no
1092     longer inherit the |MinimumImplementation|; it
1093     is now expected to be implemented by |DOMImplementation|
1094     objects.
1095     (createGLSParser, createGLSSerializer): Load
1096     module implementing parser or serializer
1097     if necessary.
1098    
1099     * Traversal.dis (ManakaiDOMDocumentTraversal): It no
1100     longer inherits the |ManakaiDOMDocument|; it
1101     is now expected to be implemented by |Document|
1102     objects.
1103    
1104     * XDP.dis (XDPDocument): It no longer
1105     inherits the |Document|; it is now expected
1106     to be implemented by all |Document| objects.
1107    
1108     * XDoctype.dis (ManakaiDOMDocumentXDoctype): It no
1109     longer inherits the |ManakaiDOMDocument|; it
1110     is now expected to be implemented by |Document|
1111     objects.
1112    
1113     2006-11-04 Wakaba <wakaba@suika.fam.cx>
1114    
1115     * DOMCore.dis (ManakaiDOMImplementation): No longer
1116 wakaba 1.195 explicitly inherits |tc:ManakaiDOMImplementationTC|.
1117     (ManakaiDOMImplementation.AUTOLOAD): New method definition.
1118    
1119     * TreeCore.dis (ManakaiDOMImplementationTC): Extends
1120     the |ManakaiDOMImplementation| class.
1121    
1122     2006-11-03 Wakaba <wakaba@suika.fam.cx>
1123    
1124     * DOMFeature.dis: Definitions for various concepts
1125     are added.
1126    
1127     * GenericLS.dis (GLSImplementation): It no
1128     longer inherits the |MinimumImplementation|; rather,
1129     any |ManakaiMinimumImplementation| object also
1130     implements |GLSImplementation| methods.
1131    
1132     * TreeStore.dis (DOMImplementationTreeStore): It no
1133     longer inherits the |DOMImplementation|; rather,
1134     any |ManakaiDOMImplementation| object also
1135     implements |DOMImplementationTreeStore| methods.
1136    
1137 wakaba 1.194 2006-08-15 Wakaba <wakaba@suika.fam.cx>
1138    
1139     * TreeStore.pm: Added to the CVS repository
1140     to enable for the dis database to contain XML
1141     fragments.
1142    
1143     * Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added.
1144    
1145     * TreeStore.dis (Namespace): Namespace URI was incorrect.
1146    
1147 wakaba 1.193 2006-06-18 Wakaba <wakaba@suika.fam.cx>
1148    
1149     * Traversal.dis (expandEntityReferences): Syntax was incorrect.
1150    
1151     * TreeCore.dis (manakaiReadOnly): Test assertion was incorrect.
1152    
1153     * XDP.dis (dtdText): Test assertion was incorrect.
1154    
1155 wakaba 1.192 2006-05-21 Wakaba <wakaba@suika.fam.cx>
1156    
1157     * XDP.dis (XDPEntityValue.stringify): Don't escape
1158     any |%|s in |xdp:attr-definition| children.
1159    
1160 wakaba 1.190 2006-05-20 Wakaba <wakaba@suika.fam.cx>
1161    
1162 wakaba 1.191 * XDP.dis (createXDPRNIKeyword): The Perl method
1163     name property is added.
1164    
1165     2006-05-20 Wakaba <wakaba@suika.fam.cx>
1166    
1167 wakaba 1.190 * XDP.dis (createXDPIf): New method.
1168     (XDPIfElement): New interface.
1169    
1170 wakaba 1.188 2006-05-15 Wakaba <wakaba@suika.fam.cx>
1171    
1172 wakaba 1.189 * XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition):
1173     New methods.
1174    
1175     2006-05-15 Wakaba <wakaba@suika.fam.cx>
1176    
1177 wakaba 1.188 * XDP.dis (XDPDocument): A number of constructor methods
1178     are added.
1179     (XDPTextDecl.dtdText): The |xml| target was missing.
1180    
1181 wakaba 1.187 2006-05-14 Wakaba <wakaba@suika.fam.cx>
1182    
1183     * Traversal.dis (SerialWalker): New interface.
1184     (manakaiCreateSerialWalker): New method.
1185    
1186 wakaba 1.184 2006-05-13 Wakaba <wakaba@suika.fam.cx>
1187    
1188 wakaba 1.186 * Traversal.dis (testNode): Calls |acceptNode| method
1189     rather than |&{}| dereferencing.
1190     (acceptNode): Implemented.
1191    
1192     2006-05-13 Wakaba <wakaba@suika.fam.cx>
1193    
1194 wakaba 1.185 * XDP.dis: New module.
1195    
1196     * Makefile: |XDP.dis| is added.
1197    
1198     * Traversal.dis (NodeFilter): |InputProcessor|
1199     and |OutputProcessor| are added.
1200    
1201     2006-05-13 Wakaba <wakaba@suika.fam.cx>
1202    
1203 wakaba 1.184 * Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value.
1204     (TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support
1205     is added. The |FILTER_REJECT| value is treated
1206     as |FILTER_ACCEPT| if the |currentNode| is in the
1207     rejected subtree as specified in the spec.
1208    
1209 wakaba 1.183 2006-05-05 Wakaba <wakaba@suika.fam.cx>
1210    
1211     * SimpleLS.dis: An |xmlns:| prefix was missing.
1212    
1213 wakaba 1.182 2006-05-04 Wakaba <wakaba@suika.fam.cx>
1214    
1215     * SimpleLS.dis: Namespace bugs are fixed.
1216    
1217 wakaba 1.179 2006-04-30 Wakaba <wakaba@suika.fam.cx>
1218    
1219 wakaba 1.181 * .cvsignore: Updated.
1220    
1221     * Traversal.dis: Unused declarations are removed.
1222    
1223     2006-04-30 Wakaba <wakaba@suika.fam.cx>
1224    
1225 wakaba 1.180 * CharacterData.dis (Require): A reference to
1226     the |MDOM:Traversal| module is added.
1227     (wholeText): Implemented.
1228    
1229     2006-04-30 Wakaba <wakaba@suika.fam.cx>
1230    
1231 wakaba 1.179 * Makefile: |Traversal.dis| is added.
1232    
1233     * Traversal.dis: New module.
1234    
1235     * TreeCore.dis (___report_error): Return value was
1236     not propagated.
1237    
1238 wakaba 1.178 2006-04-29 Wakaba <wakaba@suika.fam.cx>
1239    
1240     * Element.dis (removeAttributeNS): A runtime error
1241     was occurred if there was no specified attribute node.
1242    
1243     * TreeCore.dis (manakaiLanguage): New attribute.
1244    
1245     2006-04-28 Wakaba <wakaba@suika.fam.cx>
1246    
1247     * TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly):
1248     New attributes.
1249    
1250     (StaticNodeList): New interface.
1251    
1252     2006-04-24 Wakaba <wakaba@suika.fam.cx>
1253    
1254     * DOMCore.dis (c:SET_TO_NULL_ERR): New error code.
1255    
1256 wakaba 1.176 2006-04-22 Wakaba <wakaba@suika.fam.cx>
1257    
1258 wakaba 1.177 * SimpleLS.dis: Reimplemented.
1259    
1260     2006-04-22 Wakaba <wakaba@suika.fam.cx>
1261    
1262 wakaba 1.176 * DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now
1263     a qualified name.
1264     (tc:EXTERNAL_NODE_COMPARISON_ERR): New error type.
1265    
1266     * TreeCore.dis (compareDocumentPosition): Implemented.
1267     (normalize): Implemented.
1268     (STORESIZE, CLEAR): Were not implemented for |EmptyNodeList|
1269     class.
1270    
1271 wakaba 1.172 2006-04-16 Wakaba <wakaba@suika.fam.cx>
1272    
1273 wakaba 1.175 * DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.
1274    
1275     2006-04-16 Wakaba <wakaba@suika.fam.cx>
1276    
1277 wakaba 1.174 * CharacterData.dis (length, insertData, substringData,
1278     appendData, deleteData, replaceData, splitText): Reimplemented.
1279    
1280     * DOMCore.dis (NEGATIVE_LENGTH_ERR): New error.
1281     (c:index): The definition was missing.
1282     (c:length): New property.
1283    
1284     2006-04-16 Wakaba <wakaba@suika.fam.cx>
1285    
1286 wakaba 1.173 * XMLParser.dis (close): Invoke |close| method
1287     rather than |close| function.
1288    
1289     2006-04-16 Wakaba <wakaba@suika.fam.cx>
1290    
1291 wakaba 1.172 * CharacterData.dis: New module split from |TreeCore.dis|.
1292    
1293     * CharacterData.pm: Added to the CVS repository.
1294    
1295     * TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
1296     interfaces are removed.
1297     (Require): A reference to the |MDOM:CharacterData| module
1298     is added.
1299    
1300     * DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.
1301    
1302     * DOMCore.dis (StringOutOfBoundsException): New error.
1303    
1304     * Makefile: |CharacterData.pm| is added.
1305    
1306 wakaba 1.171 2006-04-09 Wakaba <wakaba@suika.fam.cx>
1307    
1308     * XMLParser.dis (Require): Requires the |MCharset:Encode|
1309     module.
1310     (parse): Set the |inputEncoding| attribute of the generated document
1311     object.
1312     (resolveLSInput default implementation): The |byteStream|
1313     and |encoding| attributes of the |LSInput| interface
1314     are now supported.
1315     (resolveLSInput): Parameters |impl| and |parser| are added.
1316     (InputFile.inputEncoding): New attribute.
1317    
1318 wakaba 1.168 2006-04-04 Wakaba <wakaba@suika.fam.cx>
1319    
1320 wakaba 1.170 * Document.dis (adoptNode test): Documents were
1321     made by different documents.
1322    
1323     2006-04-04 Wakaba <wakaba@suika.fam.cx>
1324    
1325 wakaba 1.169 * XMLParser.dis: The |cfg:dtd-default-attributes| configuration
1326     parameter is changed to |cfg:dtd-default-attribute|.
1327    
1328     2006-04-04 Wakaba <wakaba@suika.fam.cx>
1329    
1330 wakaba 1.168 * TreeCore.dis: The |DOMMain:raiseException| elements
1331     are replaced by |disPerl:EXCEPTION|s.
1332    
1333 wakaba 1.167 2006-04-03 Wakaba <wakaba@suika.fam.cx>
1334    
1335     * DOMMain.dis (GetPropNode, CheckReadOnly): Removed.
1336    
1337     * Node.dis (cfg:dtd-default-attribute): The configuration
1338     parameter |cfg:dtd-default-attributes| is renamed
1339     as |cfg:dtd-default-attribute|.
1340     (Roles): Definitions are changed so that classes
1341     that implement those classes MUST implement the |Node|
1342     and its subinterfaces.
1343     (cfg:dtd-attribute-type): New configuration parameter.
1344    
1345     * Document.dis (adoptNode): Don't throw exception
1346     if |strictErrorChecking| is |false|.
1347    
1348     * Element.dis (setAttribute, setAttributeNS): Don't
1349     set [attribute type] if the |cfg:dtd-attribute-type|
1350     configuration parameter is set to |false|.
1351     (removeAttribute, removeAttributeNS, removeAttributeNode): Don't
1352     regenerate default attribute nodes if the |cfg:dtd-default-attribute|
1353     configuration parameter is set to |false|.
1354    
1355 wakaba 1.164 2006-04-02 Wakaba <wakaba@suika.fam.cx>
1356    
1357 wakaba 1.166 * TreeStore.dis: New module.
1358    
1359     * Makefile: |TreeStore.dis| is added.
1360    
1361     2006-04-02 Wakaba <wakaba@suika.fam.cx>
1362    
1363 wakaba 1.165 * XMLParser.dis: Updated so that it can be used
1364     with |TreeCore.pm|, |Document.pm|, |Element.pm|,
1365     and |XML.pm|. Set the read-only flag to
1366     the |DocumentType|, |Entity|, and |EntityReference| noes.
1367    
1368     * Node.dis (textContent): It did not handle descendant
1369     element and entity reference nodes.
1370    
1371     * Element.dis, XML.dis (manakaiBaseURI.get): Its
1372     definition has been changed to return only explicit
1373     base URI specification.
1374    
1375     * DOMLS.dis (LSInput, LSOutput): They no longer
1376     inherits the |ManakaiDOM:ManakaiDOMObject| class.
1377    
1378     * Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.
1379    
1380     * Tree.pm, DOMXML.pm: Removed.
1381    
1382     * TreeCore.pm, Document.pm, Element.pm: Added
1383     to the CVS repository since they are necessary to
1384     build the dis library.
1385    
1386     * Makefile: Sync'ed to new modules disposition.
1387    
1388     2006-04-02 Wakaba <wakaba@suika.fam.cx>
1389    
1390 wakaba 1.164 * Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
1391     removed. For |Element.pm| and |Document.pm| are added.
1392    
1393     * Document.dis, Element.dis: New module split from |TreeCore.dis|.
1394    
1395     * TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.
1396    
1397 wakaba 1.162 2006-04-01 Wakaba <wakaba@suika.fam.cx>
1398    
1399 wakaba 1.163 * DOMFeature.dis (getImplementation, getImplementationList): Support
1400     for new class information variables.
1401     (DOMLS:Generic): This old feature name is removed.
1402    
1403     * GenericLS.dis (createGLSParser, createGLSSerializer): Support
1404     for new class information variables.
1405    
1406     * TreeCore.dis (manakaiExpandedURI): New attribute.
1407     (Document, Element.___create_node_ref): New method
1408     implementations.
1409    
1410     2006-04-01 Wakaba <wakaba@suika.fam.cx>
1411    
1412 wakaba 1.162 * TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
1413     Reimplemented.
1414     (isId): Setter is added.
1415     (Element.normalize): Definition copied from the |MDOM:Tree|
1416     module.
1417    
1418     2006-03-31 Wakaba <wakaba@suika.fam.cx>
1419    
1420     * Makefile (clean-db): New rule.
1421    
1422     * TreeCore.dis (setUserData): Schedule to invoke
1423     the user data handler when the node is removed
1424     from the memory.
1425     (setAttribute, setAttributeNS): Set the [attribute type]
1426     if DTD attribute definition is available.
1427     (CharacterData members): Definitions copied from
1428     the |MDOM:Tree| module.
1429    
1430 wakaba 1.161 2006-03-31 Wakaba <wakaba@suika.fam.cx>
1431    
1432     * DOMCore.dis (DOMStringList.==): New overloaded operator.
1433    
1434     * DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
1435     class did not implement the |GetFeature| interface.
1436     (hasFeature): The |+| prefix was not taken into account.
1437    
1438     * TreeCore.dis (Node): The class now inherits
1439     the |ManakaiHasFeatureByGetFeature| class. It now
1440     implements the |f:GetFeature| and |ecore:MUErrorTarget|
1441     interfaces.
1442     (CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
1443     is supported.
1444     (lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
1445     (manakaiParentElement): New attribute.
1446    
1447     * XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
1448     is removed.
1449     (lookupPrefix): Old method implementation is removed.
1450    
1451     * XML.dis (CDATASection): The |mg:NodeRefRole| was
1452     missing because of the |DISCore:stopISARecursive| property.
1453    
1454     * TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
1455     They now pass all tests included in those modules!
1456    
1457 wakaba 1.160 2006-03-30 Wakaba <wakaba@suika.fam.cx>
1458    
1459     * DOMCore.dis (Require): A reference to the |MURI:Generic|
1460     module is added.
1461     (ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
1462     (ManakaiDOMImplementation): It now inherits
1463     the |urigen:ManakaiURIImplementation| class and
1464     implements the |ecore:MUErrorTarget| interface. It no
1465     longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
1466     (ManakaiDOMImplementation.___report_error): New method.
1467    
1468     * DOMFeature.dis (Require): It now references the |Util:Grove|
1469     module instead of |Util:ManakaiNode| module.
1470     (DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
1471     (f:ManakaiMinimumImplementationCompatible): New role.
1472     (ManakaiMinimumImplementation): Now it is built
1473     on the new |Util:Grove| module rather than the |Util:ManakaiNode|
1474     module.
1475     (f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
1476     (c:implementation): Removed.
1477     (f:implementation, f:revImplementation): New properties.
1478    
1479     * DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.
1480    
1481     * Tree.dis (cfg:clone-entity-reference-subtree,
1482     cfg:dtd-default-attributes, cfg:xml-id,
1483     cfg:strict-document-children): Removed (moved
1484     to the |MDOM:TreeCore| module).
1485    
1486     * TreeCore.dis (Require): The reference to the |MURI:Generic|
1487     module is removed.
1488     (ManakaiDOMImplementationTC): Some members are removed
1489     since they are incorporated to the |c:ManakaiDOMImplementation|
1490     or the |f:ManakaiMinimumImplementation|.
1491     (tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
1492     (replaceChildImpl1): A typo on the removing the parent node
1493     of the old child node is fixed.
1494     (f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
1495     module).
1496     (tc:implementation, tc:revImplementation): Removed (moved
1497     to the |MDOM:DOMFeature| module).
1498     (Document.appendChild, insertBefore, replaceChild): Sets
1499     the |ownerDocument| attribute of the |tx:DocumentType| nodes.
1500     (Attr.prefix, Element.prefix): Don't raise "uninitialized"
1501     when the new value is |null|.
1502     (Attr.___create_node_ref): Attribute name and
1503     owner element type specific classes are supported (it
1504     was partially implemented but was incorrect).
1505     (ManakaiDOMGetElementsNodeList.item): Don't return
1506     a node if the |index| is negative.
1507     (setNamedItem): Various typos are fixed.
1508     (removeNamedItem): The node was not removed orz
1509     (cfg:clone-entity-reference-subtree,
1510     cfg:dtd-default-attributes, cfg:xml-id,
1511     cfg:strict-document-children): Definitions are moved
1512     from the |MDOM:Tree| module. Note that the tests for default
1513     attributes still fail.
1514     (ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
1515     (Attr): Role name was incorrect.
1516    
1517     * XDoctype.dis (setDefinitionNode): Return value was
1518     not set.
1519     (AttributeDefinition): Role name was incorrect.
1520    
1521     * XML.dis (Require): A reference to the |DISlib:DISMarkup|
1522     module is added.
1523     (Notation.appendChild, insertBefore, replaceChild): New method
1524     implementations.
1525     (Entity.appendChild, insertBefore, replaceChild): New method
1526     implementations.
1527     (EntityReference.appendChild, insertBefore, replaceChild): Now
1528     they are defined as copies of ones in the |Entity| class.
1529     (XMLBaseAttribute, XMLIdAttribute): Now they are
1530     namespace unaware attributes.
1531     (XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
1532     (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
1533     to namespace aware attributes are added.
1534    
1535 wakaba 1.159 2006-03-29 Wakaba <wakaba@suika.fam.cx>
1536    
1537     * DOMCore.dis: Namespace prefixes are changed to new ones.
1538    
1539     * TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
1540     untested).
1541     (___report_error): Reimplemented (untested).
1542     (manakaiSetReadOnly): New method.
1543     (Attr.___create_node_ref): New method (untested).
1544     (Document.getFeature): |require|s the |MDOM:XML| Perl module.
1545     (createEntityReference, cloneNode): Support for
1546     the |cfg:entity-reference-read-only| configuration
1547     parameter is removed; newly created entity references
1548     are always read-only and use the |manakaiSetReadOnly| method
1549     if desired.
1550     (Element.manakaiBaseURI): Reimplemented (untested).
1551    
1552     * XDoctype.dis (createGeneralEntity, createNotation): |require|s
1553     the |MDOM:XML| Perl module.
1554     (DocumentTypeDefinition.___create_node_stem): Sets
1555     the |tc:implementation| internal property if its value
1556     is provided. The |infoset:content| internal property name
1557     was incorrect.
1558     (DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
1559     read-only |NodeList| and |DOMStringList| are added
1560     for clarification.
1561    
1562 wakaba 1.158 2006-03-26 Wakaba <wakaba@suika.fam.cx>
1563    
1564     * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
1565     module is added.
1566     (DOMStringList): Reimplemented for new |d:AttributeDefinition|
1567     implementation (untested).
1568    
1569     * TreeCore.dis (baseURI): Reimplemented (untested).
1570     (Roles): Definitions added.
1571    
1572     * XDoctype.dis (Require): References to the |MDOM:TreeCore|
1573     and |MDOM:XML| modules are added. Reference to the |MDOM:Tree|
1574     module is removed.
1575     (DocumentXDoctype): Reimplemented (untested).
1576     (DocumentTypeDefinition, DocumentTypeDeclaration):
1577     Reimlemented (untested).
1578     (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
1579    
1580     * XML.dis (FeatureDef): New features (definitions copied
1581     from the |MDOM:DOMXML| module).
1582     (DocumentType): New interface (definition copied from
1583     the |MDOM:DOMXML| module).
1584     (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
1585     Reimplemented (untested).
1586     (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
1587    
1588 wakaba 1.156 2006-03-25 Wakaba <wakaba@suika.fam.cx>
1589    
1590 wakaba 1.157 * TreeCore.dis (Document): Most methods are reimplemented (untested).
1591    
1592     2006-03-25 Wakaba <wakaba@suika.fam.cx>
1593    
1594 wakaba 1.156 * TreeCore.dis (Document): Attributes are reimplemented (untested).
1595     (Text, DocumentFragment, Comment): Most members are
1596     reimplemented (untested).
1597    
1598 wakaba 1.155 2006-03-24 Wakaba <wakaba@suika.fam.cx>
1599    
1600     * DOMMain.dis (checkXMLNamesQName): Some checks are
1601     removed to sync with DOM Level 3 Core specification.
1602    
1603     * TreeCore.dis (Element): Most methods are reimplemented (untested).
1604     (GetElementsNodeList): Reimplemented (untested).
1605    
1606 wakaba 1.153 2006-03-23 Wakaba <wakaba@suika.fam.cx>
1607    
1608 wakaba 1.154 * Tree.dis (cfg:strict-document-children): The configuration
1609     parameter must also affect on |manakaiAppendText|
1610     and |textContent| on |Document| nodes.
1611    
1612     * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
1613     parameter changes the class to |bless|.
1614     (Node): Most methods are reimplemented. (Untested)
1615     (CharacterData, Attr): Most methods and attributes are
1616     reimplemented. (Untested)
1617    
1618     * XML.dis, XDoctype.dis: Most |Node| methods are
1619     reimplemented (untested).
1620    
1621     2006-03-23 Wakaba <wakaba@suika.fam.cx>
1622    
1623 wakaba 1.153 * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
1624     (untested).
1625    
1626     2006-03-22 Wakaba <wakaba@suika.fam.cx>
1627    
1628     * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
1629     a qualified name.
1630    
1631     * DOMMain.dis (ensureNamespacePrefix): Undefines
1632     the prefix if it is an empty string. (Note that
1633     it is defined as implementation dependent in
1634     DOM Level 3 Core specification).
1635    
1636     * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
1637     module.
1638     (Node): Attributes are reimplemented (untested).
1639    
1640     * XML.dis (Require): It now references the |MDOMX:XDoctype|
1641     module.
1642     (Node): Attributes are reimplemented (untested).
1643     (Entity, Notation): New interfaces.
1644    
1645     * XDoctype.dis (Node): Attributes are reimplemented (untested).
1646    
1647 wakaba 1.152 2006-03-19 Wakaba <wakaba@suika.fam.cx>
1648    
1649     * TreeCore.dis (childNodes, firstChild, lastChild,
1650     nextSibling, previousSibling, appendChild, insertBefore,
1651     replaceChild, removeChild, createDocumentFragment,
1652     createEntityReference, createProcessingInstruction,
1653     domConfig, documentElement, implementation, manakaiAppendText): New.
1654     (NodeList, DocumentFragment): New interfaces.
1655    
1656     * XML.dis (EntityReference, ProcessingInstruction): New interface.
1657    
1658 wakaba 1.151 2006-03-18 Wakaba <wakaba@suika.fam.cx>
1659    
1660     * TreeCore.dis (Require): The |MDOM:XML| module is added.
1661     (createAttributeNS, createTextNode, createComment,
1662     createCDATASection): New methods.
1663     (Attr, Text, Comment, CharacterData): New interfaces.
1664    
1665     * Makefile: |XML.dis| is added.
1666    
1667     * XML.dis: New module.
1668    
1669     2006-03-17 Wakaba <wakaba@suika.fam.cx>
1670    
1671     * TreeCore.dis (manakaiReadOnly): New attribute.
1672    
1673 wakaba 1.149 2006-03-17 Wakaba <wakaba@suika.fam.cx>
1674    
1675 wakaba 1.150 * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
1676     prefix, isSameNode, ownerDocument, parentNode): New.
1677     (Element): New interface.
1678     (createElementNS): New method.
1679     (strictErrorChecking): New.
1680    
1681     2006-03-17 Wakaba <wakaba@suika.fam.cx>
1682    
1683 wakaba 1.149 * Makefile: |TreeCore.dis| is added.
1684    
1685     * TreeCore.dis: New module.
1686    
1687 wakaba 1.148 2006-03-16 Wakaba <wakaba@suika.fam.cx>
1688    
1689     * XMLParser.dis (cfg:entity-replacement-tree): New configuration
1690     parameter.
1691    
1692     * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
1693    
1694     * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
1695     data types added to configuration parameters.
1696    
1697 wakaba 1.147 2006-03-15 Wakaba <wakaba@suika.fam.cx>
1698    
1699     * DOMCore.dis (c:DOMConfigurationParameter): Now it is
1700     a |DISSource:ResourceProperty|.
1701     (c:anyDOMConfigurationParameter): New property.
1702     (CParam, boolCParam): Now they are all |dis:subsetOf|
1703     the |c:anyDOMConfigurationParameter| property.
1704     (ForDocument, ForParser, ForSerializer): Removed.
1705    
1706     * DOMLS.dis, XMLParser.dis: Likewise.
1707    
1708 wakaba 1.146 2006-03-12 Wakaba <wakaba@suika.fam.cx>
1709    
1710     * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
1711     are removed.
1712    
1713     * GenericLS.pm: Added to the CVS repository since
1714     it is necessary to create the |Message::Util::DIS::DPG| module.
1715    
1716 wakaba 1.145 2006-03-10 Wakaba <wakaba@suika.fam.cx>
1717    
1718     * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
1719     method.
1720    
1721     * XMLParser.dis: Don't create adjacent text nodes.
1722    
1723 wakaba 1.144 2006-03-09 Wakaba <wakaba@suika.fam.cx>
1724    
1725     * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
1726    
1727     * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
1728     implementations are added.
1729    
1730     * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
1731     implementations are added.
1732    
1733     * Tree.dis (appendChild, insertBefore, replaceChild): Method
1734     implementations are added.
1735     (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
1736     resources unless for |ManakaiDOM:ManakaiDOMLatest|.
1737     (cfg:strict-document-children): New configuration parameter.
1738    
1739 wakaba 1.143 2006-03-08 Wakaba <wakaba@suika.fam.cx>
1740    
1741     * XDoctype.dis (replaceChild): Method implementations are added.
1742    
1743     * Tree.dis (replaceChild): Method implementations are added.
1744    
1745     * DOMXML.dis (replaceChild): Method implementations are added.
1746    
1747 wakaba 1.142 2006-03-07 Wakaba <wakaba@suika.fam.cx>
1748    
1749     * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
1750     definitions.
1751    
1752     * XDoctype.dis (insertBefore): New method implementation.
1753    
1754 wakaba 1.138 2006-03-06 Wakaba <wakaba@suika.fam.cx>
1755    
1756 wakaba 1.141 * DOMXML.dis (insertBefore): Method implementations
1757     for |ProcessingInstruction| and |Notation| nodes are added.
1758    
1759     * Tree.dis (insertBefore): Method implementation
1760     for |CharacterData| nodes is added.
1761    
1762     * XDoctype.dis (insertBefore): Method implementation
1763     for |ElementTypeDefinition| nodes is added.
1764    
1765     2006-03-06 Wakaba <wakaba@suika.fam.cx>
1766    
1767 wakaba 1.140 * XDoctype.dis (appendChild): New method implementation.
1768    
1769     2006-03-06 Wakaba <wakaba@suika.fam.cx>
1770    
1771 wakaba 1.139 * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
1772     (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
1773     (REMOVE_DOCUMENT_TYPE_ERR): New error.
1774    
1775     * DOMXML.dis (ManakaiDOMDocumentType): Removed.
1776     (ProcessingInstruction.appendChild, CDATASection.appendChild,
1777     Notation.appendChild): New method implementation.
1778    
1779     * Tree.dis (CharacterData.appendChild): New method implementation.
1780    
1781     * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
1782    
1783     2006-03-06 Wakaba <wakaba@suika.fam.cx>
1784    
1785 wakaba 1.138 * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
1786    
1787     * Tree.dis (createAttribute, createAttributeNS,
1788     setAttribute, setAttributeNS): They now supports
1789     the |cfg:xml-id| configuration parameter.
1790     (cfg:xml-id): New configuration parameter.
1791    
1792     * XDoctype.dis (createAttributeDefinition): It now
1793     supports the |cfg:xml-id| configuration parameter.
1794    
1795     * XMLParser.dis (parse): It now supports
1796     the |cfg:xml-id| configuration parameter.
1797    
1798 wakaba 1.136 2006-03-05 Wakaba <wakaba@suika.fam.cx>
1799    
1800 wakaba 1.137 * XMLParser.dis (parse): Sets |Document.documentURI|
1801     and |Document.manakaiEntityBaseURI| attributes of the
1802     document created.
1803     (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
1804     property of the created node.
1805     (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
1806     of the created node.
1807     (ls-input-to-input-file.default): Sets the resolved
1808     system identifier to the |documentURI| attribute if available.
1809     Sets the |baseURI| attribute if available.
1810    
1811     2006-03-05 Wakaba <wakaba@suika.fam.cx>
1812    
1813 wakaba 1.136 * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
1814     (Node.baseURI): New attribute implementations.
1815     (declarationBaseURI): Setter is added.
1816     (manakaiDeclarationBaseURI): New attribute.
1817    
1818     * Tree.dis (Require): A reference to the |MURI:Generic|
1819     module is added.
1820     (Node.baseURI): The implementation is revised.
1821     (getNodeReference): Attribute node classes specialized
1822     to attribute names are supported.
1823     (contentBaseURI, htmlBaseURI): Removed.
1824     (manakaiEntityBaseURI): New attribute.
1825     (ManakaiDOMImplementationDocument): It now inherits
1826     the |urigen:URIImplementation| class.
1827    
1828     * DOMMain.dis (isRelativeDOMURI): The definition
1829     of the URI scheme is synced with |Message::URI::Generic|'s
1830     one.
1831    
1832     * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
1833     module is added.
1834     (DocumentType.implementation): New attribute.
1835     (Node.baseURI): Implementations are added.
1836     (manakaiDeclarationBaseURI): New attributes.
1837     (manakaiEntityBaseURI): New attributes.
1838     (manakaiEntityURI): New attribute.
1839     (manakaiExternal): New attribute.
1840     (manakaiBaseURI): New attribute.
1841     (ManakaiDOMXMLBaseAttr): New class.
1842    
1843 wakaba 1.134 2006-02-26 Wakaba <wakaba@suika.fam.cx>
1844    
1845 wakaba 1.135 * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
1846     module was missing.
1847    
1848     * ManakaiDOMLS2003.dis: Some property names was incorrect.
1849    
1850     * Makefile (distclean): New rule.
1851    
1852     2006-02-26 Wakaba <wakaba@suika.fam.cx>
1853    
1854     * DOMLS.dis: Removed from the CVS repository, since
1855     it has been no longer required to make the |daf| system
1856     itself.
1857    
1858     2006-02-26 Wakaba <wakaba@suika.fam.cx>
1859    
1860 wakaba 1.134 * Makefile: Revised for new |daf| database format.
1861    
1862 wakaba 1.133 2006-02-25 Wakaba <wakaba@suika.fam.cx>
1863    
1864     * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
1865     module is added.
1866    
1867 wakaba 1.132 2006-02-22 Wakaba <wakaba@suika.fam.cx>
1868    
1869     * DOMLS.dis: Constants were typed as |dx:ErrorCode|
1870     by mistake.
1871    
1872 wakaba 1.131 2006-02-18 Wakaba <wakaba@suika.fam.cx>
1873    
1874     * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
1875     feature.
1876    
1877     * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
1878    
1879     * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
1880     (DOMImplementationLS.createLSParser): Implemented.
1881     (DOMImplementationLS.createLSInput): Revised.
1882     (LSInput): Note on relationship with |GenericLS| is added.
1883    
1884     * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
1885    
1886 wakaba 1.129 2006-02-17 Wakaba <wakaba@suika.fam.cx>
1887    
1888 wakaba 1.130 * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
1889     is introduced.
1890     (async, busy): Implemented.
1891     (parseString): Removed.
1892     (parse, parseURI): Implemented.
1893     (xp:ls-input-to-input-file): New configuration parameter.
1894     (shiftChar): Gets character from current file handle
1895     rather than replacement text. Don't normalize
1896     line break characters for internal entities. Don't
1897     throw |xp:wf-legal-literal-character| error
1898     for |RestrictedChar| appearing in internal entities.
1899     (DISPerl:dpgDef): Call |close| for each entity filehandler.
1900     (_EntityDeclaration): Copy document URI and base URI
1901     to the entity's |$decl| object.
1902     (ParseError): New code fragment.
1903     (getCopyOfEntityState): Creates filehandle from replacement
1904     text.
1905     (xp-error-lines): Don't appends text if no replacement
1906     text is available.
1907     (error-handler): New configuration parameter application resource.
1908     (ManakaiDOMLSInputToInputFile): New class.
1909     (ManakaiDOMInputFile): New class.
1910    
1911     * Tree.dis (getNodeReference): A dereferencing was missing.
1912    
1913     * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
1914    
1915     2006-02-17 Wakaba <wakaba@suika.fam.cx>
1916    
1917 wakaba 1.129 * XMLParser.dis: Default attribute are now namespace aware.
1918     (parseString): Don't output |Document| warnings
1919     during tree construction to standard error output.
1920    
1921     2006-02-16 Wakaba <wakaba@suika.fam.cx>
1922    
1923     * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
1924     XML Namespace 1.1 is implemented. Namespace well-formedness
1925     error detection is implemented. Generates |Notation| nodes
1926     from notation declarations.
1927     (checkNCName, checkQName): New code fragments.
1928    
1929     * XDoctype.dis (DocumentXDoctype): Factory methods
1930     don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
1931     is |false|.
1932    
1933     * DOMCore.dis (wf-invalid-character-in-node-name,
1934     wf-invalid-character): Removed (moved to |MDOM:Tree| module).
1935    
1936     * Tree.dis '(wf-invalid-character-in-node-name,
1937     wf-invalid-character): New errors (from |MDOM:DOMCore| module).
1938     (Attr.specified): Setter added.
1939     (cfg:dtd-default-attributes): New configuration parameter.
1940     (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
1941     if |Document.strictErrorChecking| is |false|.
1942    
1943 wakaba 1.127 2006-02-15 Wakaba <wakaba@suika.fam.cx>
1944    
1945 wakaba 1.128 * XMLParser.dis: Set |allDeclarationsProcessed|
1946     attribute of the |Document| node. Don't process entity
1947     and attribute definition list declarations after
1948     unread parameter entity reference. Warns if an attribute definition is
1949     ignored (|xp:warning-attribute-definition-ignored|). Set
1950     flags whether predefined entities are declared or not.
1951     WFC error |xp:wf-pes-in-internal-subset| is implemented.
1952    
1953     2006-02-15 Wakaba <wakaba@suika.fam.cx>
1954    
1955 wakaba 1.127 * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
1956     if a predefined entity declaration references an external entity.
1957     Issues |xp:error-malformed-predefined-entity| error if
1958     a predefined entity declaration defines different thing than
1959     one as in XML specification.
1960     Issies |xp:warning-entity-declaration-ignored| warning if
1961     more than one entity declarations for an entity is found.
1962     (WFErrDef): Now all well-formedness errors are marked
1963     as |SEVERITY_FATAL_ERROR|.
1964    
1965     * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
1966     predefined entity declarations.
1967     (DocumentXDoctype.createNotation): New method.
1968     (DocumentTypeDefinition.notations): New attribute.
1969     (DocumentTypeDefinition.getNotationNode): New method.
1970     (DocumentTypeDefinition.setNotationNode): New method.
1971     (newNotationForTest): New code fragment.
1972    
1973     * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
1974     (c:ManakaiDOMNotationMap): New class.
1975     (c:ManakaiDOMNotationMapArray): New class.
1976     (Document.allDeclarationsProcessed): New attribute.
1977    
1978     * DOMXML.dis (DocumentType.notations): Implemented.
1979     (Notation): Revised.
1980     (Notation.ownerDocumentTypeDefinition): New attribute.
1981    
1982 wakaba 1.126 2006-02-14 Wakaba <wakaba@suika.fam.cx>
1983    
1984     * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
1985     WFC errors are implemented. Reports a |xp:wf-syntax-error|
1986     if a parameter entity declaration contains |NDATA| keyword.
1987     (setEmptyEntityState): Set |name| attribute.
1988    
1989     * Tree.dis (createEntityReference): Don't enter into inifinite
1990     loop even if entity replacement tree contains recursive
1991     reference directly or indirectly.
1992    
1993 wakaba 1.124 2006-02-13 Wakaba <wakaba@suika.fam.cx>
1994    
1995 wakaba 1.125 * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
1996     WFC error is implemented.
1997    
1998     2006-02-13 Wakaba <wakaba@suika.fam.cx>
1999    
2000 wakaba 1.124 * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
2001     configuration parameter |true| during tree construction
2002     to ensure default attribute value is cloned as is
2003     including entity reference subtree.
2004    
2005     * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
2006     parameter.
2007     (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
2008     configuration parameter support is added.
2009    
2010 wakaba 1.123 2006-02-12 Wakaba <wakaba@suika.fam.cx>
2011    
2012     * XMLParser.dis (parseString): General |Entity| replacement
2013     tree is not constructed because of a typo. Clears |EntityReference|
2014     content before constructing |Entity| replacement tree.
2015     The |xp:wf-entity-declared| well-formedness constraint
2016     for entity references in attribute value literal is implemented.
2017    
2018 wakaba 1.120 2006-02-11 Wakaba <wakaba@suika.fam.cx>
2019    
2020 wakaba 1.122 * XMLParser.dis: |xp:wf-entity-declared| well-formedness
2021     constaraint for entity references that appear in
2022     content of elements is implemented. Set |EntityReference.isExpanded|
2023     attribute.
2024     (getEmptyEntityState): New code.
2025    
2026     * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
2027     definition is removed.
2028    
2029     * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
2030     (EntityReference.isExpanded): Setter is added.
2031    
2032     2006-02-11 Wakaba <wakaba@suika.fam.cx>
2033    
2034 wakaba 1.121 * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
2035     and |xp:wf-no-external-entity-references| well-formedness
2036     constraints are implemented.
2037    
2038     2006-02-11 Wakaba <wakaba@suika.fam.cx>
2039    
2040 wakaba 1.120 * XMLParser.dis ($self->{has_error}): Removed.
2041     (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
2042     errors (including well-formedness constraint errors) are
2043     traped by the error handler.
2044     (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
2045     attribute of the node. Reports an error if |publidLiteral|
2046     contains a non-|pubidChar|.
2047    
2048     * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
2049     version |3.0|).
2050     (ManakaiDOMDocumentTypeDefinition): The class no longer
2051     inherits |x:ManakaiDOMDocumentType| class. Instead,
2052     it inherits |d:ManakaiDOMDocumentTypeDeclaration|
2053     and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType|
2054     interface (except unimplemented |notations| and |internalSubset|
2055     attributes).
2056     (ManakaiDOMDocumentTypeDefinition.entities): New attribute
2057     for compatibility with |x:DocumentType| interface.
2058     (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
2059     (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
2060     (ManakaiDOMDocumentTypeDefinition.nodeType,
2061     ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
2062     (DocumentTypeDeclaration): New interface.
2063    
2064     * Tree.dis (Node/@f:implements): Typos fixed.
2065     (Node.MUErrorHandler): Missing |last A| statement is added.
2066     (createDocumentType): Throws an exception if |qualifiedName|
2067     is illegal. Calls |DocumentTypeDefinition.newObject|
2068     instead of obsolete |DocumentType.newObject|.
2069    
2070     * DOMXML.dis (DocumentType.name, DocumentType.entities,
2071     DocumentType.publicId, DocumentType.systemId,
2072     DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
2073     as clones of similar attributes or methods
2074     in |MDOM:XDoctype| module.
2075     (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
2076     instead).
2077     (DocumentType.childNodes): Removed (|Node.childNodes| definition
2078     is used).
2079    
2080 wakaba 1.119 2006-02-10 Wakaba <wakaba@suika.fam.cx>
2081    
2082     * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
2083     fatal error.
2084    
2085 wakaba 1.118 2006-02-09 Wakaba <wakaba@suika.fam.cx>
2086    
2087     * XMLParser.dis (CommentDeclaration): |STRING| is now
2088     defined as a |?default-token|.
2089     (XMLTests): Tests for |Char - RestrictedChar| matchness,
2090     comment declarations, cdata sections, and |MSE| in |content|
2091     added.
2092     (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
2093     (get-location-from-token): |$token->{location_d}|
2094     for |?default-token| column counting support added.
2095    
2096     * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
2097    
2098 wakaba 1.115 2006-02-08 Wakaba <wakaba@suika.fam.cx>
2099    
2100 wakaba 1.117 * Tree.dis (createProcessingInstruction): Don't
2101     throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
2102     is |false|.
2103    
2104     * XMLParser.dis (parseString): Initializes |$self->{location}|.
2105     It enables improved error position report.
2106     (XDO): It now includes |S+| following target name |xml| as
2107     part of the token. (PI with target starting with |xml|
2108     was unable to be placed at the beginning of the document entity.)
2109     (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
2110     a processing instruction node with |#INVALID| node name
2111     if target name is not given and recovered from the error.
2112     (S): Variable |$s| added.
2113     (XMLTests): Tests for XML declarations and processing
2114     instructions are added. Prints error type name if unexpected
2115     error with severity of error or fatal error has been reported.
2116     Catch unexpected exceptions thrown in parser (different
2117     from |LSException|), prints its message, and invoke |$test->not_ok|
2118     for the ease of testing.
2119     (xp:get-location-from-token): Location values now take |$self->{char}|
2120     stack into acount.
2121    
2122     2006-02-08 Wakaba <wakaba@suika.fam.cx>
2123    
2124 wakaba 1.116 * XMLParser.dis (shiftChar): Line and column number counting
2125     is fixed. Although the DOM Level 3 Core specification
2126     is unclear about whether the first number is zero or one,
2127     in most programs the first line is "one" and
2128     the first column is "one", manakai follows the practice.
2129     (_XMLDeclaration): Don't set |xmlStandalone| value
2130     if |standalone| pseudo-attribute value is |no|. XML declaration
2131     tests (successful cases) added.
2132     (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
2133     properties.
2134    
2135     2006-02-08 Wakaba <wakaba@suika.fam.cx>
2136    
2137 wakaba 1.115 * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
2138    
2139     2006-02-06 Wakaba <wakaba@suika.fam.cx>
2140    
2141     * DOMCore.dis (c:erred): New property.
2142     (c:DOMErrorType): It should have been a subset
2143     of |ecore:AnyErrorCode|.
2144    
2145     * XMLParser.dis (XMLTests): Empty input tests added.
2146    
2147 wakaba 1.114 2006-01-30 Wakaba <wakaba@suika.fam.cx>
2148    
2149     * XDoctype.dis (d:Feature): New canonical feature
2150     name |fe:XDoctype| is added.
2151    
2152     * XMLParser.dis: Predefined general entity references
2153     are implemented. Creates |Entity| nodes from general entities
2154     declared in internal subset. |Entity| nodes created from internal
2155     general parsed entities now have replacement tree.
2156     Sets |cfg:entity-reference-read-only| flag off during
2157     the tree generation. Some parsing rules use |$self->{doc}|
2158     rather than |$doc| parameter. Similarly, |$self->{docx}| (document
2159     node with |fe:XDoctype| feature) and |$self->{dtdef}| are
2160     introduced. General entity references in attribute value literal
2161     are supported.
2162    
2163 wakaba 1.112 2006-01-29 Wakaba <wakaba@suika.fam.cx>
2164    
2165 wakaba 1.113 * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
2166     parameter name changed to |cfg:entity-reference-read-only|.
2167     (createEntityReference): Set |c:read-only| flag of
2168     the created entity reference, too.
2169    
2170     * DOMLS.dis (min): New canonical feature name |fe:Min| added.
2171    
2172     * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
2173     from |DOMFeature| module instead. Use |idl:Object|
2174     instead of |DOMMain:DOMObject| as well.
2175     (Generic): New canonical feature name |fe:GenericLS| added.
2176     (DOMLS:ParserRole, DOMLS:SerializerRole): Their
2177     canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
2178     respectively.
2179    
2180     * DOMXML.dis (entities, notations): Perl code removed.
2181     It will be reimplemented using |DocumentTypeDefinition|
2182     class from |XDoctype| module.
2183    
2184     * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
2185     Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
2186     SimpleLS.dis: Cleaned up unused definitions.
2187    
2188     * DOMCore.dis, DOMLS.dis (CParam): Definitions
2189     for LS module moved from |DOMCore| module to |DOMLS| module.
2190     This change makes |DOMCore| to |DOMLS| dependency removed.
2191    
2192     * .cvsignore (.html.pm, .ls.pm): Removed.
2193    
2194     * Makefile (.html.pm, .ls.pm): Removed.
2195     (feature.dae): Include |GenericLS| module.
2196     (core.dae): Don't include |DOMLS| and |GenericLS| module.
2197     (ls.dae): Include |DOMLS| module.
2198    
2199     2006-01-29 Wakaba <wakaba@suika.fam.cx>
2200    
2201 wakaba 1.112 * XMLParser.dis: Tests on default attributes and their |specified|
2202     attribute are added.
2203    
2204     * XDoctype.dis (createGeneralEntity): New method.
2205     (generalEntities): New attribute.
2206     (getGeneralEntityNode, setGeneralEntityNode): New methods.
2207    
2208     * Tree.dis (ManakaiDOMEntities): Removed.
2209     (ManakaiDOMEntityMap): New class.
2210     (ManakaiDOM:entity-reference-read-only): New configuration parameter.
2211     (createEntityReference): If there is a corresponding |Entity|
2212     node in the document type definition, then copies its
2213     subtree.
2214    
2215     * DOMXML.dis (Entity): Documentation updated.
2216     (publicId, systemId, notationName, xmlEncoding,
2217     xmlVersion): These attributes are now settable
2218     if |ManakaiDOM:ManakaiDOMLatest| mode.
2219     (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
2220     mode.
2221     (ownerDocumentTypeDefinition): New attribute
2222     for |ManakaiDOM:ManakaiDOMLatest| mode.
2223     (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
2224    
2225 wakaba 1.111 2006-01-28 Wakaba <wakaba@suika.fam.cx>
2226    
2227     * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
2228    
2229     * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
2230    
2231     * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
2232     (ManakaiDOMAttributes): Removed.
2233     (ManakaiDOMAttrMap): New class.
2234     (ManakaiDOMAttrMapArray): New class.
2235     (namespaceURI): Bug to return a string representation
2236     of a reference to the namespace URI string is fixed.
2237     (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
2238     (removeAttribute, removeAttributeNS): DTD default attributes
2239     are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR|
2240     if there is no attribute node.
2241     (createElement, createElementNS): DTD default attributes are supported.
2242     (setAttributeNode): Reimplemented.
2243    
2244 wakaba 1.110 2006-01-27 Wakaba <wakaba@suika.fam.cx>
2245    
2246     * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
2247    
2248     * Tree.dis (STORESIZE): Index bound bug fixed.
2249     (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
2250     (schemaTypeInfo): Implemented for XML DTD.
2251     (isId): Returns |true| if [attribute type] is |ID|.
2252     (setAttribute, setAttributeNS): Sets [attribute type]
2253     of the newly created |Attr| node (if any) when attribute
2254     definition is available.
2255     (doctype, documentElement): Reimplemented with tests.
2256    
2257     * XMLParser.dis: Sets [attribute type] information
2258     to created |Attr| nodes. Normalize namespace URIs
2259     when such information are available (unlikely but legal).
2260     (_HexadecimalCharacterReference): Number to character
2261     convertion bug fixed.
2262     (_DocumentTypeDeclaration): Sets |schema-type|
2263     configuration parameter to XML DTD URI.
2264    
2265 wakaba 1.108 2006-01-26 Wakaba <wakaba@suika.fam.cx>
2266    
2267 wakaba 1.109 * XMLParser.dis (_AttlistDeclaration): Now it can generate
2268     attribute definition nodes.
2269    
2270     * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
2271     and another |UNKNOWN_ATTR| constant is introduced
2272     for consistency with XML Infoset.
2273    
2274     * DOMCore.dis (TypeInfo): Documentation updated.
2275    
2276     2006-01-26 Wakaba <wakaba@suika.fam.cx>
2277    
2278 wakaba 1.108 * XDoctype.dis: A bug in test code fixed.
2279    
2280     * Tree.dis (NamedNodeMap): Element type or attribute
2281     definition named node maps now can be dereferenced
2282     as if they are array or hash references.
2283     (removeNamedItem, item, ___report_error): Implemented for element type
2284     or attribute definitions.
2285     (length): Tests added.
2286     (NamedNodeMapArray): New classes.
2287    
2288 wakaba 1.107 2006-01-25 Wakaba <wakaba@suika.fam.cx>
2289    
2290     * XDoctype.dis (setElementTypeDefinitionNode,
2291     setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
2292     if the new node is already used for another definition.
2293     (DocumentTypeDefinition, ElementTypeDefinition): Node
2294     property name was incorrect.
2295     (elementTypes, attributeDefinitions): Checks to
2296     ensure the collection is empty added.
2297    
2298     * Tree.dis: Property name typos fixed.
2299     (setNamedItem, setAttributeNode): Don't return any node
2300     if it replace itself.
2301     (c:userDeterminedId): Missing definition added.
2302    
2303     * DOMXML.dis (Notation): Missing property specification
2304     of|c:ownerDocument| as |mn:xrefnode0| is added.
2305    
2306 wakaba 1.106 2006-01-23 Wakaba <wakaba@suika.fam.cx>
2307    
2308     * DOMCore.dis (Test): Missing argument added.
2309     (setNamedItem): If |DocumentType| with no |ownerDocument|,
2310     addition always fails with |WRONG_DOCUMENT_ERR|. Some
2311     error conditions were incorrect.
2312    
2313     * .cvsignore: Dummy files added.
2314    
2315 wakaba 1.104 2006-01-22 Wakaba <wakaba@suika.fam.cx>
2316    
2317 wakaba 1.105 * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
2318     INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
2319    
2320     * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
2321     to avoid uninitialized value warning.
2322    
2323     * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
2324     classes (work in progress).
2325    
2326     * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
2327    
2328     2006-01-22 Wakaba <wakaba@suika.fam.cx>
2329    
2330 wakaba 1.104 * Tree.dis (getAttribute): Returns |null| if there
2331     is no attribute in |ManakaiDOM:DOMLatest| for compatibility
2332     with Web browser implementations.
2333     (getAttributeNS): It returned |null| if there
2334     is no attribute in any |For| unintentionally. It now
2335     returns an empty string in DOM levels less than or equals
2336     to three.
2337    
2338     * XMLParser.dis (shiftChar): Fixed not to be warned as
2339     uninitialized value or substring out of range.
2340    
2341 wakaba 1.102 2006-01-21 Wakaba <wakaba@suika.fam.cx>
2342    
2343 wakaba 1.103 * DOMXML.dis (DocumentType.childNodes): Removed
2344     from |ManakaiDOM:ManakaiDOMLatest| variant.
2345    
2346     * XMLParser.dis: Parsing of general internal entities implemented.
2347     (_DocumentTypeDeclaration): Appends a document type definition
2348     node to the document.
2349     (_ProcessingInstructionDTD): Appends a processing
2350     instruction node to the document type definition.
2351     (Element_): Document element could not be an |EmptyElemTag|.
2352    
2353     2006-01-21 Wakaba <wakaba@suika.fam.cx>
2354    
2355 wakaba 1.102 * DOMFeature.dis (featuresParamToFeaturesHash): New block
2356     code (seprated from |InputProcessor|). Now
2357     a |features| parameter's version can be specified by
2358     an array reference that contains a set of version
2359     numbers. A test added.
2360    
2361     * XMLParser.dis: A test added.
2362    
2363 wakaba 1.100 2006-01-07 Wakaba <wakaba@suika.fam.cx>
2364    
2365 wakaba 1.101 * DOMCore.dis (Test): Don't invoke |DESTROY| method
2366     because it does not work with dummy object used in the test code.
2367    
2368     2006-01-07 Wakaba <wakaba@suika.fam.cx>
2369    
2370 wakaba 1.100 * DOMMain.dis (checkXMLNamesQName): Checks whether
2371     namespace URI is defined for not being warned.
2372    
2373     * XDoctype.dis: New module.
2374    
2375     * DOMCore.dis (DOMStringList): Test added.
2376    
2377     * Makefile: |XDoctype.pm| added.
2378    
2379     * Tree.dis (Require): Requires |XDoctype.dis|.
2380     (ManakaiDOMNodeObjectNode.eq): Added.
2381     (Test): |DOMError.location| must return a |DOMLocator|
2382     object (it was incorrectly tested to return |null|).
2383     (EmptyNodeList.DESTROY): Removed.
2384    
2385     2006-01-04 Wakaba <wakaba@suika.fam.cx>
2386    
2387     * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
2388     |ATTRIBUTE_DEFINITION_NODE| node types added.
2389     (appendChild, insertBefore, replaceChild): New
2390     two node types added and processing instruction nodes
2391     as document type definition node child is allowed
2392     in |ManakaiDOM:ManakaiDOMLatest| mode.
2393     (getNodeReference): New |interface| parameter
2394     to filter classes by interface is added.
2395     (ElementTypeDefinitionRole): New role.
2396     (AttributeDefinitionRole): New role.
2397    
2398     2006-01-02 Wakaba <wakaba@suika.fam.cx>
2399    
2400     * DOMCore.dis (DOMStringList): Reimplemented as tied array.
2401    
2402 wakaba 1.99 2005-12-31 Wakaba <wakaba@suika.fam.cx>
2403    
2404     * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
2405     if it is not provided.
2406    
2407     * XMLParser.dis: Parsing methods to skip document
2408     type declaration is added.
2409    
2410 wakaba 1.98 2005-12-29 Wakaba <wakaba@suika.fam.cx>
2411    
2412     * XMLParser.dis (shiftChar): Checks characters are legal
2413     or not. Normalize end-of-lines.
2414     (rule _XMLDeclaration_): Implemented.
2415     (WFErrDef): Well-formedness error |wf-syntax-error|,
2416     |wf-pi-target-is-xml|, |wf-no-end-tag|,
2417     |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
2418     |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
2419     |wf-element-type-match|, |wf-unique-att-spec|,
2420     |wf-legal-character| added.
2421     (%character-code-point): New formatter rule.
2422    
2423     * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
2424    
2425     * DOMCore.dis (DOMError.stringify): Added.
2426     (error-handler.default): Returns |false| (don't continue)
2427     when the error severity is |SEVERITY_FATAL_ERROR|.
2428    
2429 wakaba 1.96 2005-12-28 Wakaba <wakaba@suika.fam.cx>
2430    
2431 wakaba 1.97 * XMLParser.dis (DocumentEntity): Typos fixed.
2432     (|lexmode|s): New |?default-token| statements are used
2433     so that tokenizer description has been simplified
2434     and CDATA sections now can be parsed.
2435    
2436     2005-12-28 Wakaba <wakaba@suika.fam.cx>
2437    
2438 wakaba 1.96 * XMLParser.dis: Some modifications made.
2439    
2440     2005-12-27 Wakaba <wakaba@suika.fam.cx>
2441    
2442     * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
2443     global named resource.
2444    
2445     * Makefile: Rules to make |XMLParser.pm| is added.
2446    
2447     * XMLParser.dis: New file.
2448    
2449     2005-12-24 Wakaba <wakaba@suika.fam.cx>
2450    
2451     * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
2452     message formatter can now vary by error types.
2453     (DOMLocator.utf32Offset): New (manakai extended) attribute.
2454    
2455 wakaba 1.95 2005-12-23 Wakaba <wakaba@suika.fam.cx>
2456    
2457     * DOMCore.dis (DOMLocator): Implemented.
2458    
2459 wakaba 1.94 2005-12-21 Wakaba <wakaba@suika.fam.cx>
2460    
2461     * DOMCore.dis (DOMConfigurationParameterApplication,
2462     domConfigurationParameter): New resources.
2463    
2464 wakaba 1.93 2005-11-25 Wakaba <wakaba@suika.fam.cx>
2465    
2466     * Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error):
2467     New methods.
2468    
2469 wakaba 1.91 2005-11-24 Wakaba <wakaba@suika.fam.cx>
2470    
2471 wakaba 1.92 * DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__|
2472     blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks.
2473    
2474     * DOMMain.dis (___report_error): Throws the error unkess
2475     it is a |DOMCore:DOMError| object.
2476    
2477     2005-11-24 Wakaba <wakaba@suika.fam.cx>
2478    
2479 wakaba 1.91 * DOMCore.dis (severity, type): Getters return value from
2480     the definition of the current error (i.e. |-def| hash).
2481     (___error_def): New method.
2482     (errorType): |dis:dataType| changed to |DISCore:TFQNames|
2483     to ease natural reference to constant value.
2484     (error-handler.default): Prints the error message by |warn|.
2485    
2486     * Tree.dis (nodeValue.set): Reimplemented so that it
2487     warns as setting has no effect.
2488     (___report_error): New method. (It had been only implemented
2489     in superclass.)
2490     (setting-node-value-no-effect): New error type.
2491    
2492 wakaba 1.90 2005-11-23 Wakaba <wakaba@suika.fam.cx>
2493    
2494     * DOMCore.dis: Error codes added.
2495    
2496     * Tree.dis (destroyNodeStem): New method implementation.
2497    
2498     2005-11-22 Wakaba <wakaba@suika.fam.cx>
2499    
2500     * Tree.dis (cloneNode): User data handlers implemented.
2501     (adoptNode): User data handlers implemented.
2502    
2503     2005-11-21 Wakaba <wakaba@suika.fam.cx>
2504    
2505     * DOMCore.dis (UserDataHandler): A constraint for Perl binding
2506     added.
2507    
2508     * Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
2509     (getUserData, setUserData): Implemented.
2510    
2511 wakaba 1.88 2005-11-20 Wakaba <wakaba@suika.fam.cx>
2512    
2513 wakaba 1.89 * DOMCore.dis (UserDataHandler): Implemented.
2514     (DOMErrorHandler): Blessed package name bug fixed.
2515    
2516     * ManakaiDOMLS2003.dis: Reference to |Node| subclasses
2517     changed to |Tree.dis|.
2518    
2519     2005-11-20 Wakaba <wakaba@suika.fam.cx>
2520    
2521 wakaba 1.88 * DOMMain.dis: Unused declarations and definitions removed.
2522    
2523     * DOMCore.dis: DOM document tree related interfaces removed.
2524    
2525     * Tree.dis: New module separated from |DOMCore.dis|.
2526    
2527     * DOMXML.dis: Some referent changed to |Tree.dis|.
2528    
2529     * Makefile: |Tree.dis| added.
2530    
2531 wakaba 1.86 2005-11-16 Wakaba <wakaba@suika.fam.cx>
2532    
2533 wakaba 1.87 * .cvsignore: Revised.
2534    
2535     2005-11-16 Wakaba <wakaba@suika.fam.cx>
2536    
2537 wakaba 1.86 * ManakaiDOMLS2003.dis: Tests added.
2538     (domConfig): Method name in the code fixed to |flag|.
2539    
2540     * DOMMain.dis (findOffset32): Missing |^| in regular expressions
2541     added.
2542    
2543     * DOMCore.dis (hasChildNodes): Returns |false| if the node type
2544     is defined not to have any children.
2545     (CharacterData): Typos in element type names and function names fixed.
2546    
2547 wakaba 1.84 2005-11-15 Wakaba <wakaba@suika.fam.cx>
2548    
2549 wakaba 1.85 * DOMFeature.dis (MinimumImplementation.eq): Added.
2550    
2551     * DOMMain.dis: |DISPerl:ISA| reference fixed.
2552    
2553     * Generic.dis: Implements new |DOMLS:Generic| feature.
2554    
2555     2005-11-15 Wakaba <wakaba@suika.fam.cx>
2556    
2557 wakaba 1.84 * DOMFeature.dis (stringifyFeatures): Don't double |SPACE|
2558     characters between feature names and versions.
2559    
2560     2005-11-13 Wakaba <wakaba@suika.fam.cx>
2561    
2562     * DOMFeature.dis (stringifyFeatures): A test code added.
2563    
2564 wakaba 1.83 2005-10-26 Wakaba <wakaba@suika.fam.cx>
2565    
2566     * SimpleLS.dis (writeToString): Don't stop serializing
2567     when an |false| value appears in |@src|.
2568    
2569 wakaba 1.81 2005-10-16 Wakaba <wakaba@suika.fam.cx>
2570    
2571 wakaba 1.82 * DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented.
2572     (ErrDef): Redefined.
2573    
2574     * DOMLS.dis (ErrDef): Redefined.
2575    
2576     2005-10-16 Wakaba <wakaba@suika.fam.cx>
2577    
2578 wakaba 1.81 * DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject".
2579    
2580 wakaba 1.80 2005-10-15 Wakaba <wakaba@suika.fam.cx>
2581    
2582     * DOMCore.dis (Require): References "DOMLS.dis" module.
2583     (CParam): Definitions for LS module added.
2584    
2585     * DOMLS.dis (ManakaiDOMLSInput): The input processor
2586     is also an output processor now.
2587     (ManakaiDOMLSResourceResolver): Implemented.
2588     (CParam): Definitions updated.
2589    
2590     2005-10-14 Wakaba <wakaba@suika.fam.cx>
2591    
2592     * DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR,
2593     NOT_SUPPORTED_CONFIG_VALUE_ERR,
2594     INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes.
2595     (DOMConfiguration): Implemented.
2596     (CParam): Definitions updated.
2597    
2598     * DOMMain.dis (DOMURIs): New data type.
2599    
2600 wakaba 1.79 2005-10-13 Wakaba <wakaba@suika.fam.cx>
2601    
2602     * DOMCore.dis (setAttrValueNS): New code.
2603    
2604 wakaba 1.78 2005-10-12 Wakaba <wakaba@suika.fam.cx>
2605    
2606     * DOMCore.dis: Don't set "infoset:prefix" internal
2607     property unless it has non-null value.
2608     (newObject): "refNode" parameter introduced.
2609     (ManakaiDOMNode.newObject): Calls "NodeStem.newNode"
2610     method if "refNode" parameter is specified.
2611     (cloneNode): Don't set "read-only" flag.
2612     (getNodeReference): Caches the result.
2613     (selectAttributeNodeForRemove): Don't removes any other
2614     non-namespace-aware attribute nodes.
2615    
2616 wakaba 1.77 2005-10-11 Wakaba <wakaba@suika.fam.cx>
2617    
2618     * DOMCore.dis (appendChild, createElementNS, createAttributeNS,
2619     setAttribute, setAttributeNS): "strictErrorChecking" attribute supported.
2620     (doStrictErrorChecking): New code.
2621    
2622     * DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute
2623     supported.
2624    
2625     * Makefile: Rule to make "DOMFeature.pm" restored.
2626    
2627     2005-10-10 Wakaba <wakaba@suika.fam.cx>
2628    
2629     * DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
2630     (adoptNode): Implemented.
2631    
2632 wakaba 1.76 2005-10-09 Wakaba <wakaba@suika.fam.cx>
2633    
2634     * DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed.
2635    
2636     * DOMFeature.dis (DOMCore:implementation): Short name added.
2637    
2638     * DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
2639     (DOMCore:node): New error parameter.
2640     (DOMCore:ownerDocument): Changed from "mn:irefnode0"
2641     to "mn:xrefnode0". For this reason, all assignments
2642     to this property have been rewritten to references
2643     to code "mn:setXRefNode".
2644     (cloneNode): Implemented.
2645     (setAttributeNode): A missing "importTree" method call added.
2646     (setAttributeNodeNS): Perl code removed and changed
2647     to a reference to "setAttributeNode" method code.
2648    
2649     * DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0"
2650     property to "mn:xrefnode0" property.
2651    
2652 wakaba 1.75 2005-10-08 Wakaba <wakaba@suika.fam.cx>
2653    
2654     * DOMCore.dis, DOMLS.dis: Now constant values are defined only
2655     in interfaces.
2656    
2657 wakaba 1.74 2005-10-06 Wakaba <wakaba@suika.fam.cx>
2658    
2659     * DOMCore.dis (ManakaiDOMEmptyNodeList): New class.
2660     (ManakaiDOMCharacterData): Methods reimplemented.
2661     (splitText): Reimplemented.
2662     (childNodes): Returns a "ManakaiDOMEmptyNodeList"
2663     for non-parent node types.
2664    
2665     * DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList"
2666     for non-parent node types.
2667    
2668     2005-10-05 Wakaba <wakaba@suika.fam.cx>
2669    
2670     * ManakaiDOMLS2003.dis: Revised to new format.
2671    
2672     * GenericLS.dis (DOMLS:ParseString): New feature.
2673    
2674 wakaba 1.73 2005-10-05 Wakaba <wakaba@suika.fam.cx>
2675    
2676     * DOMFeature.dis: Description added and revised. (Still more
2677     work required.)
2678    
2679     2005-10-04 Wakaba <wakaba@suika.fam.cx>
2680    
2681     * DOMMain.dis (DOMString): The "idl:perl" attribute
2682     value has been changed from "DISPerl:String"
2683     to "DISPerl:CharacterString" to clarify its semantics.
2684    
2685 wakaba 1.72 2005-10-03 Wakaba <wakaba@suika.fam.cx>
2686    
2687     * DOMFeature.dis (MIString): Java, ECMAScript, and Perl bound
2688     type properties added.
2689    
2690     * DOMMain.dis (DataType): Java, ECMAScript, and Perl bound
2691     type properties added.
2692    
2693 wakaba 1.71 2005-10-02 Wakaba <wakaba@suika.fam.cx>
2694    
2695     * DOMFeature.dis (Module): "idl:prefix" and "idl:moduleName"
2696     properties added.
2697    
2698 wakaba 1.70 2005-10-01 Wakaba <wakaba@suika.fam.cx>
2699    
2700     * DOMFeature.dis: Documentation added (still work in progress).
2701     (MIString): New type.
2702    
2703     * DOMCore.dis (namespaceURI): Fixed to return the namespace
2704     URI value, not a reference to it.
2705    
2706 wakaba 1.69 2005-09-30 Wakaba <wakaba@suika.fam.cx>
2707    
2708     * DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local
2709     names where possible.
2710    
2711     * DOMFeature.dis: Documentation for DOM Minimum Implementation
2712     added (still work in progress).
2713    
2714     * Makefile (feature.dae, feature-spec.dae): New rules.
2715    
2716 wakaba 1.67 2005-09-27 Wakaba <wakaba@suika.fam.cx>
2717    
2718     * DOMCore.dis (DOMCore:nodeProp): New property.
2719    
2720 wakaba 1.68 * DOMCore.dis, DOMXML.dis: Codes to set properties "TreeCore:*"
2721     is removed.
2722    
2723 wakaba 1.66 2005-09-26 Wakaba <wakaba@suika.fam.cx>
2724    
2725     * DOMCore.dis, DOMXML.dis: New mn:* properties added.
2726    
2727 wakaba 1.65 2005-09-25 Wakaba <wakaba@suika.fam.cx>
2728    
2729     * Makefile (DAC_SUFFIX): Changed to ".dae".
2730     (DAEM_SUFFIX): New.
2731    
2732 wakaba 1.64 2005-09-24 Wakaba <wakaba@suika.fam.cx>
2733    
2734     * DOMMain.dis (MDOM:): Reintroduced for "ManakaiDOM:ManakaiDOM1"
2735     and "ManakaiDOM:ManakaiDOM2".
2736    
2737     * DOMFeature.dis, DOMMain.dis, DOMCore.dis, DOMXML.dis,
2738     DOMLS.dis, SimpleLS.dis, GenericLS.dis: Use disPerl:H
2739     instead of disPerl:Q for internal property hash keys.
2740    
2741     * DOMFeature.dis, DOMCore.dis, DOMXML.dis: Missing property
2742     definitions added.
2743    
2744     * DOMCore.dis (DOMCore:TextNode, DOMCore:DocumentFragmentNode):
2745     New resources.
2746    
2747     * DOMXML.dis (DOMXML:EntityNode, DOMXML:EntityReferenceNode): New
2748     resources.
2749    
2750 wakaba 1.63 2005-09-23 Wakaba <wakaba@suika.fam.cx>
2751    
2752     * GenericLS.dis, SimpleLS.dis: New modules separated
2753     from DOMLS.dis.
2754    
2755     * DOMFeature.dis, DOMMain.dis: "MDOM:" and "for" definitions
2756     moved from DOMMain to DOMFeature. Now DOMFeature
2757     has no dependency on DOMMain.
2758    
2759     * DOMFeature.dis (DEBUG): New variable.
2760    
2761 wakaba 1.62 2005-09-22 Wakaba <wakaba@suika.fam.cx>
2762    
2763     * Makefile: DAC_SUFFIX changed to ".dad".
2764    
2765 wakaba 1.61 2005-09-21 Wakaba <wakaba@suika.fam.cx>
2766    
2767     * DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion"
2768     features if it is "for" ManakaiDOM:DOMXMLFeature.
2769    
2770 wakaba 1.74 * DOMMain.pm (StringExtend): Code portions of raising
2771 wakaba 1.61 StringOutOfBoundsException is temporary disabled since
2772     it is not a DOM-style exception supported by
2773     current implementation of ManakaiNode - it will be
2774     recovered in later revision.
2775    
2776 wakaba 1.60 2005-09-20 Wakaba <wakaba@suika.fam.cx>
2777    
2778     * DOMFeature.pm: Debug output code copied
2779     from Attic/DOMMetaImpl.pm (Should these code incorporated
2780     to source dis file?).
2781    
2782 wakaba 1.59 2005-09-19 Wakaba <wakaba@suika.fam.cx>
2783    
2784     * DOMMain.dis (ManakaiDOM:DOMMethod, ManakaiDOM:DOMMethodReturn,
2785     ManakaiDOM:DOMAttribute, ManakaiDOM:DOMAttrGet,
2786     ManakaiDOM:DOMAttrSet, ManakaiDOM:DOMMethodParam): Removed.
2787     (ManakaiDOMTimeStamp): Removed.
2788    
2789     * DOMBoot.dis, DOMMetaImpl.dis, DOMMetaImpl.pm: Removed (they are no
2790     longer in use).
2791    
2792     2005-09-18 Wakaba <wakaba@suika.fam.cx>
2793    
2794     * DOMMain.dis (StringOutOfBoundsException): New exception.
2795    
2796 wakaba 1.58 2005-09-15 Wakaba <wakaba@suika.fam.cx>
2797    
2798     * DOMFeature.dis: dis:dataType and dis:multipleProperties
2799     properties added to properties.
2800    
2801 wakaba 1.57 2005-09-08 Wakaba <wakaba@suika.fam.cx>
2802    
2803     * Makefile: Rules renewaled.
2804    
2805     2005-09-07 Wakaba <wakaba@suika.fam.cx>
2806    
2807     * DOMCore.dis, DOMXML.dis, DOMLS.dis: Inheritance information fixed.
2808    
2809     2005-09-05 Wakaba <wakaba@suika.fam.cx>
2810    
2811     * DOMMain.dis (DOMImplementationRegistry,
2812     DOMImplementationRegistryVar): New.
2813    
2814     * DOMFeature.dis (DOMImplementationRegistry,
2815     DOMImplementationRegistryVar): Removed.
2816     (ImplementationRegistry): New class.
2817    
2818 wakaba 1.56 2005-09-04 Wakaba <wakaba@suika.fam.cx>
2819    
2820     * DOMFeature.dis: New module.
2821    
2822     * DOMMetaImpl.dis (ManakaiDOM:ManakaiDOMObject): Removed.
2823    
2824     * DOMMain.dis (ManakaiDOM:ManakaiDOMObject): New.
2825     (DOMString, DOMTimeStamp): Now they are not interfaces
2826     but datatypes.
2827     (DOMUserData, DOMObject, DOMUserData): Now they
2828     are subtypes rather than aliases of their "real" type in IDL.
2829    
2830     * DOMCore.dis (DOMImplementationList, DOMImplementationSource):
2831     New interfaces and classes.
2832    
2833 wakaba 1.55 2005-09-01 Wakaba <wakaba@suika.fam.cx>
2834    
2835     * DOMCore.dis (setTextNodeContent): Sets the infoset:parent
2836     property of the new Text node.
2837    
2838 wakaba 1.54 2005-08-29 Wakaba <wakaba@suika.fam.cx>
2839    
2840     * Makefile: Loads "NaturalLanguage.dis".
2841    
2842     2005-08-26 Wakaba <wakaba@suika.fam.cx>
2843    
2844     * DOMCore.dis (createDocument): Set "ownerDocument" attribute
2845     to the root element created by the method. (It was forgotten!!)
2846    
2847 wakaba 1.53 2005-08-15 Wakaba <wakaba@suika.fam.cx>
2848    
2849     * DOMCore.dis (appendChild, insertBefore, replaceChild): Typo
2850     in the code of removing the newChild from the previous
2851     parent of that node is fixed.
2852    
2853 wakaba 1.52 2005-05-29 Wakaba <wakaba@suika.fam.cx>
2854    
2855     * DOMLS.dis (SimpleSerializer): End tag was sometimes missing. Use
2856     namespace prefix of element type if it is not declared
2857     but not used else. A shift is replaced by pop:).
2858    
2859     * DOMCore.dis (getFeature): The getFeature method
2860     for Node-derived classes implemented.
2861     * DOMXML.dis (getFeature): Ditto.
2862    
2863 wakaba 1.51 2005-05-21 Wakaba <wakaba@suika.fam.cx>
2864    
2865     * DOMCore.dis (getNodeReference): Use HTMLDocument class
2866     if a document node has no document element node but
2867     has support for the "HTML" feature.
2868    
2869 wakaba 1.50 2005-03-03 Wakaba <wakaba@suika.fam.cx>
2870    
2871     * DOMMetaImpl.dis (features input normalizer): Variable name
2872     typo fixed.
2873     (ManakaiDOMImplementationSource.getDOMImplementation): Fixed bug
2874     so that version specification for "+"'ed feature name does work now.
2875    
2876 wakaba 1.49 2005-03-02 Wakaba <wakaba@suika.fam.cx>
2877    
2878     * DOMBoot.dis (ResourceDef): Definitions for DOMFeature are
2879     removed (now defined in DOMMetaImpl).
2880    
2881 wakaba 1.48 2005-02-21 Wakaba <wakaba@suika.fam.cx>
2882    
2883     * DOMMetaImpl.dis (IFClsDef[ManakaiDOMMinimumImplementation]): New.
2884    
2885     * Makefile: Rules for DOMMetaImpl module added.
2886    
2887 wakaba 1.47 2005-02-20 Wakaba <wakaba@suika.fam.cx>
2888    
2889     * DOMMetaImpl.dis: New module (split from DOMCore and DOMMain).
2890    
2891 wakaba 1.45 2005-02-18 Wakaba <wakaba@suika.fam.cx>
2892    
2893 wakaba 1.46 * DOMCore.dis (getFeature): ManakaiDOM:ManakaiDOMNodeObject.newReference
2894     is an instance method, not a class method.
2895    
2896 wakaba 1.45 * DOMMain.dis (ResourceTypeDef[ManakaiDOM:Const,
2897     ManakaiDOM:ConstGroup]): Removed (moved to "lib/manakai/DISLang.dis").
2898     (Exception-related definitions): Removed (moved to
2899     "lib/Message/Util/Error/DOMException.dis").
2900     (ForDef[ManakaiDOM:ForIF, ManakaiDOM:ForClass]): Removed (moved
2901     to DISLang).
2902    
2903     2005-02-17 Wakaba <wakaba@suika.fam.cx>
2904    
2905     * DOMMain.dis: Definitions for "ManakaiDOM:ManakaiDOMNodeObject" and
2906     "ManakaiDOM:ManakaiDOMNodeReference" are removed (moved to
2907     "lib/Message/Util/ManakaiNode.dis").
2908     (ResourceDef[ManakaiDOM:DataType]): Removed (moved to
2909     "lib/manakai/DISCore.dis").
2910     (ResourceTypeDef[ManakaiDOM:IF, ManakaiDOM:Class,
2911     ManakaiDOM:PrimitiveTypeClass]): Removed (moved to
2912     "lib/manakai/DISLang.dis").
2913    
2914     2005-02-16 Wakaba <wakaba@suika.fam.cx>
2915    
2916     * DOMMain.dis (ForDef[ManakaiDOM:Perl]): Removed (moved to
2917     DISPerl module).
2918    
2919 wakaba 1.44 2005-01-07 Wakaba <wakaba@suika.fam.cx>
2920    
2921     * DOMCore.dis: Each "delete array-item" replaced to a "splice".
2922    
2923 wakaba 1.43 2005-01-06 Wakaba <wakaba@suika.fam.cx>
2924    
2925     * DOMMain.dis (ensureXMLName): Test as if XML 1.0 if it is not an
2926     XML document.
2927    
2928 wakaba 1.42 2005-01-05 Wakaba <wakaba@suika.fam.cx>
2929    
2930     * DOMMain.dis (ManakaiDOMExceptionOrWarning.stringify): New method.
2931     (IntMethod[isExternallyReferred]): Rewritten.
2932     (IntMethod[isExternallyReferredDownward]): Removed.
2933     (Checking XML name legallity): Fix true or false mistakes.
2934     (destroy, importTree, orphanate): Rewritten.
2935     (destroyDownward, changeTreeIDDownward): Removed.
2936     (TreeCore:urefnode property): Removed since not used.
2937    
2938     * DOMCore.dis: Tying array for NodeList implemented.
2939    
2940     2005-01-02 Wakaba <wakaba@suika.fam.cx>
2941    
2942     * DOMHTML.dis (HTMLDOMImplementation): New interface.
2943    
2944     * DOMViews.dis: Documentation for properties are added.
2945    
2946 wakaba 1.40 2004-12-29 Wakaba <wakaba@suika.fam.cx>
2947    
2948 wakaba 1.41 * Makefile: DOMXML, DOMEvents, DOMLS and ManakaiDOMLS2003 added.
2949    
2950 wakaba 1.40 * ManakaiDOMCore.dis: Removed (merged with DOMCore.dis).
2951    
2952 wakaba 1.39 2004-12-28 Wakaba <wakaba@suika.fam.cx>
2953    
2954     * ManakaiDOMXML.dis: Removed (merged with DOMXML.dis).
2955    
2956 wakaba 1.38 2004-12-01 Wakaba <wakaba@suika.fam.cx>
2957    
2958     * ManakaiDOMMain.dis: Removed (merged with DOMMain.dis).
2959    
2960 wakaba 1.37 2004-11-03 Wakaba <wakaba@suika.fam.cx>
2961    
2962     * .cvsignore: Ignore pod files.
2963    
2964 wakaba 1.36 2004-10-31 Wakaba <wakaba@suika.fam.cx>
2965    
2966     * DOMXML.dis (ProcessingInstruction.data): Property name error fixed.
2967    
2968     * DOMMain.dis: Don't call DOMString->__INT{length}__ - it should
2969     be DOMString->length.
2970    
2971     * DOMCore.dis (Element.getElementsByTagName,
2972     Node.getElementsByTagName, Element.getElementsByTagNameNS,
2973     Node.getElementsByTagNameNS): Implemented.
2974     (Element.getAttributeNode, Element.getAttributeNodeNS):
2975     Check whether defined.
2976    
2977 wakaba 1.35 2004-10-18 Wakaba <wakaba@suika.fam.cx>
2978    
2979     * DOMWebForms.dis: New module.
2980    
2981 wakaba 1.33 2004-10-17 Wakaba <wakaba@suika.fam.cx>
2982    
2983 wakaba 1.34 * DOMBasicEvents.dis, DOMHTMLEvents.dis, DOMViews.dis,
2984     DOMHTML.dis: New modules.
2985 wakaba 1.33
2986 wakaba 1.32 2004-10-16 Wakaba <wakaba@suika.fam.cx>
2987    
2988     * DOMMouseEvents.dis, DOMTextEvents.dis: New module.
2989    
2990 wakaba 1.30 2004-10-11 Wakaba <wakaba@suika.fam.cx>
2991    
2992     * ManakaiDOMMain.dis: 'TreeCore:anydata2' property type added.
2993 wakaba 1.31 (DataType[ManakaiDOMKeyIdentifier, ManakaiDOMKeyIdentifiers]): added.
2994 wakaba 1.30
2995 wakaba 1.28 2004-10-10 Wakaba <wakaba@suika.fam.cx>
2996 wakaba 1.30
2997     * DOMEvents.dis: New module.
2998 wakaba 1.28
2999 wakaba 1.29 * ManakaiDOMCore.dis (ManakaiDOMAttributes.item): Return
3000     node reference.
3001    
3002     * ManakaiDOMLS2003.dis (error_handler): '$caller' changed
3003     to '$self' for correct error reporting and not to leak memory.
3004    
3005 wakaba 1.28 * Makefile (DIS2PM_PL): Path to dis2pm.pl changed.
3006     * dis2pm.pl, idl2dis.pl: Removed (moved to ../../bin/).
3007    
3008 wakaba 1.26 2004-10-09 Wakaba <wakaba@suika.fam.cx>
3009    
3010 wakaba 1.28 * DOMCore.dis (ConfigParam): Moved from ManakaiDOMCore.
3011     * ManakaiDOMCore.dis (ConfigParam): Removed.
3012    
3013 wakaba 1.27 * dis2pm.pl: Functions to create perl/pod structures
3014     are moved to ../../bin/genlib.pl.
3015 wakaba 1.28 (disdoc2pod, disdoc2text): Allow LESS-THAN SIGN as the first
3016     character of a paragraph.
3017 wakaba 1.27
3018 wakaba 1.26 * ManakaiDOMLS2003.dis (ManakaiXMLParser2003/parse:#comment):
3019     Set ownerDocument as parent if parent.ownerDocument is null.
3020    
3021     * dis2pm.pl (dis2perl): Report if DIS code has value.
3022    
3023     2004-10-06 Wakaba <wakaba@suika.fam.cx>
3024    
3025     * ManakaiDOMCore.dis (IFs): Inherit non-conditional version
3026     of ManakaiDOMMain interfaces.
3027    
3028     * DOMCore.dis (Node.childNodes): Typo fixed.
3029    
3030     * ManakaiDOMLS2003.dis (parse): Check whether the namespace
3031     prefix is null.
3032    
3033     * dis2pm.pl (perl_builtin_code): Allow hash reference as 'features'.
3034     (Condition): Don't generate condition inheritance for DOM1, DOM2
3035     and DOM3.
3036    
3037 wakaba 1.25 2004-09-30 Wakaba <wakaba@suika.fam.cx>
3038    
3039     * dis2pm.pl (disdoc_inline2pod, disdoc_inline2text): New
3040     element type 'FILE' added.
3041    
3042     * ManakaiDOMMain.dis (ManakaiDOMExceptionOrWarning,
3043     ManakaiDOMException, ManakaiDOMWarning): New classes.
3044     (ManakaiDOMObject/___report_error): Implemented.
3045    
3046     * dis2pm.pl (perl_builtin_code:ParseFeature): Recognize leading '+'.
3047    
3048 wakaba 1.24 2004-09-29 Wakaba <wakaba@suika.fam.cx>
3049    
3050     * dis2pm.pl (get_redef_description, attr2perl, method2perl, if2perl):
3051     New attribute 'IsAbstract', 'IsFinal' and 'ImplByApp' added.
3052    
3053     2004-09-27 Wakaba <wakaba@suika.fam.cx>
3054    
3055     * .cvsignore: New file.
3056    
3057 wakaba 1.22 2004-09-27 Wakaba <wakaba@suika.fam.cx>
3058    
3059 wakaba 1.23 * DOMLS.dis, ManakaiDOMLS2003: New file.
3060    
3061 wakaba 1.22 * dis2pm.pl (MAIN): Output "AUTHOR" pod section; support Perl+MPL
3062     license.
3063 wakaba 1.23 (disdoc2pod, disdoc2text): New 'DFN', 'SA', 'SE', 'HA', 'HE',
3064     'XA', 'XE', 'Prefix', 'ERR', 'EV' and 'CP' element types supported.
3065     (perl_name): Die if uninitialized value.
3066     (constgroup2perl): Support constant group without machine-name.
3067     (pod_item): Die if uninitialized value.
3068     (qname_label): Don't output default prefix.
3069 wakaba 1.22
3070     * idl2dis.pl: Output module name and prefix as 'BindingName'
3071     and 'FileName'.
3072    
3073 wakaba 1.20 2004-09-26 Wakaba <wakaba@suika.fam.cx>
3074    
3075 wakaba 1.21 * dis2pm.pl (constgroup2perl): Capitalize name.
3076    
3077     * idl2dis.pl (type, raise): Prepend namespace prefix if
3078     type is 'DOMString' or 'DOMException' and it is not defined.
3079     (MAIN): Make empty 'Return' element even if return
3080     value is void.
3081     (supply_incase): New.
3082     (const): Use 'FullName' in favor of 'Description' if the name of
3083     the const group is not a machine-friendly name.
3084    
3085     2004-09-26 Wakaba <wakaba@suika.fam.cx>
3086    
3087 wakaba 1.20 * dis2pm.pl (get_incase_label): Error if label is undef.
3088    
3089 wakaba 1.19 2004-09-25 Wakaba <wakaba@suika.fam.cx>
3090    
3091     * dis2pm.pl: Generate TODO list.
3092     (method2perl): Use "dis".
3093     (disdoc2pod, disdoc2text): 'HTML', 'InfosetP' element types added.
3094     (perl_builtin_code): New code 'isRelativeDOMURI' added.
3095    
3096     * ManakaiDOMMain.dis (MDOM_REPLACE_BY_ITSELF_NO_EFFECT): New
3097     warning code.
3098    
3099     * dis2pm.pl (attr2perl, method2perl): Output 'undef;' if the
3100     method or attribute(set) does not return a value.
3101     (perl_code): New macro 'WHEN' added. Macro 'INT{}' now allow
3102     parameter.
3103    
3104 wakaba 1.18 2004-09-24 Wakaba <wakaba@suika.fam.cx>
3105    
3106     * dis2pm.pl (perl_exception): New 'subtype' parameter added.
3107     (param2poditem): New.
3108     (MAIN): Write 'NAMESPACE BINDINGS' pod section if necessary.
3109     (perl_builtin_code): More developer-friendly error report.
3110     (perl_code): New 'REQUIRE' statement added.
3111     (disdoc2text, disdoc2pod): New 'QUOTE' element type added.
3112     (get_value_literal): Default for unknown type is now 'undef'.
3113    
3114     2004-09-22 Wakaba <wakaba@suika.fam.cx>
3115    
3116     * dis2pm.pl (perl_builtin_code): New 'CheckName' and
3117     'XMLVersion' added.
3118    
3119 wakaba 1.16 2004-09-20 Wakaba <wakaba@suika.fam.cx>
3120    
3121 wakaba 1.17 * dis2pm.pl (get_redef_description): See 'RedefinedBy' elements
3122     even if it is 'ReMethod' and 'ReAttr' element.
3123    
3124     2004-09-20 Wakaba <wakaba@suika.fam.cx>
3125    
3126 wakaba 1.16 * dis2pm.pl (type_label): New option 'is_pod' implemented.
3127     (get_redef_description): New function.
3128     (get_isa_description): New function.
3129     (disdoc2pod, disdoc2text): New.
3130     (get_description): DISDOC support.
3131     (valid_err, valid_err): New option 'node' implemented.
3132    
3133     * ManakaiDOMCore.dis (IF[ManakaiDOMNodeObjectNode]): New.
3134    
3135 wakaba 1.13 2004-09-19 Wakaba <wakaba@suika.fam.cx>
3136    
3137 wakaba 1.15 * dis2pm.pl (condition_match): Report error if the condition
3138     not defined.
3139    
3140     * ManakaiDOMMain.dis (MDOM_IMPL_BY_APP): New exception code.
3141    
3142 wakaba 1.14 * dis2pm.pl (datatype2perl, datatypealias2perl): "FullName" attribute
3143     introduced.
3144 wakaba 1.15 (constgroup2perl): Define is-a relationship between group
3145     Name and its Type.
3146     (constgroup2perl): "IsBitMask" attribute introduced.
3147 wakaba 1.14
3148     * ManakaiDOMMain.dis: Renamed from "ManakaiDOM.dis".
3149    
3150 wakaba 1.13 * dis2pm.pl (type_label): Type label for unsigned-long and
3151     unsigned-short added.
3152     (perl_code): Die if uninitialized value is given.
3153     (is_all_implemented): New function.
3154    
3155     * ManakaiDOMXML.dis: New module.
3156    
3157     * ManakaiDOMCore.dis: New module.
3158    
3159     * dis2pm.pl (dis2perl): 'Overridden' added.
3160    
3161 wakaba 1.12 2004-09-18 Wakaba <wakaba@suika.fam.cx>
3162    
3163     * ManakaiDOM.dis (MDOM_NEWCHILD_IS_REFCHILD): New warning.
3164     (ManakaiDOMNodeObject->orphanate): New internal method.
3165     (Interface[ManakaiDOMNodeObject, ManakaiDOMNodeReference]): All calls
3166     of internal methods are now qualified by the package name.
3167    
3168 wakaba 1.11 2004-09-17 Wakaba <wakaba@suika.fam.cx>
3169    
3170     * DOMMain.dis: 'SpecLevel' attribute added.
3171    
3172     * idl2dis.pl (level): Set 'SpecLevel' attribute as well as 'Level'.
3173    
3174     * dis2pm.pl (get_level_description): Attribute name to see is
3175     changed from 'Level' to 'SpecLevel'
3176     (const2perl): Don't hardlink constant not to be warned
3177     by perl -w.
3178     (ops2perl): Declare subroutine 'DESTROY' not to be warned by
3179     perl -w.
3180 wakaba 1.12 (get_internal_code): Support of lang:dis.
3181 wakaba 1.11
3182     * ManakaiDOM.dis (newReference): New parameter 'class' introduced.
3183    
3184     * dis2pm.pl (perl_builtin_code:<ManakaiDOM:ManakaiDOMNamespaceURI>):
3185     Separeted from "DOMString".
3186     (if2perl, attr2perl): Don't cast to DOMString.
3187    
3188 wakaba 1.10 2004-09-15 Wakaba <wakaba@suika.fam.cx>
3189    
3190     * dis2pm.pl (perl_builtin_code): __CODE{CheckNCName}__ implemented.
3191     (perl_if): Don't indent if preprocessing direction found.
3192     (perl_code_source): Add \n before the #line directive.
3193    
3194     2004-09-14 Wakaba <wakaba@suika.fam.cx>
3195    
3196     * dis2pm.pl (get_internal_code): __INT{{name}}__ syntax now support
3197     attribute.
3198     (perl_code): __SUPER{name}__ syntax implemented.
3199    
3200 wakaba 1.9 2004-09-13 Wakaba <wakaba@suika.fam.cx>
3201    
3202     * dis2pm.pl (dis2perl): New.
3203    
3204     2004-09-12 Wakaba <wakaba@suika.fam.cx>
3205    
3206     * dis2pm.pl (get_warning_perl_code): New.
3207    
3208 wakaba 1.8 2004-09-10 Wakaba <wakaba@suika.fam.cx>
3209    
3210     * ManakaiDOM.dis (MDOM_NS_EMPTY_URI): New Exception type.
3211     (ManakaiDOMNamespaceURI): New DataType.
3212    
3213     * DOMCore.dis: Most part of DOMImplementation interface is
3214     implemented.
3215    
3216     * dis2pm.pl (method2perl): Description for returned value
3217     is changed to be grouped.
3218     (get_value_literal): Don't quote "null" even if it is a DOMString.
3219     (perl_exception): Don't output terminating semicolon.
3220     (perl_builtin_code): ManakaiDOM:ManakaiDOMNamespaceURI is
3221     supported.
3222    
3223 wakaba 1.7 2004-09-09 Wakaba <wakaba@suika.fam.cx>
3224 wakaba 1.8
3225     * dis2pm.pl (method2perl, attr2perl): '(Return | Get | Set)/Exception'
3226     implemented.
3227 wakaba 1.7
3228     * idl2dis.pl (type): Don't output Require element for
3229     DOMMain module (now it is implicitly required by default).
3230    
3231 wakaba 1.6 2004-09-01 Wakaba <wakaba@suika.fam.cx>
3232    
3233     * idl2dis.pl (level): Use 'Level' instead of 'ModifiedLevel'.
3234    
3235 wakaba 1.5 2004-08-31 Wakaba <wakaba@suika.fam.cx>
3236    
3237     * dis2pm.pl (const2perl, constgroup2perl): New.
3238    
3239     * idl2dis.pl (idlna): New.
3240    
3241 wakaba 1.4 2004-08-30 Wakaba <wakaba@suika.fam.cx>
3242    
3243     * dis2pm.pl: Versioned implementation of "IF" supported (see
3244     also Manakai Development Memo : 2004-08-29
3245     <http://suika.fam.cx/~wakaba/-temp/wiki/wiki?manakai%2F%2F%A5%E1%A5%E2%2F%2F2004-08-29>).
3246    
3247     * idl2dis.pl (register_required_module): ISA is now
3248     converted to elements, not a list attribute.
3249    
3250 wakaba 1.2 2004-08-22 Wakaba <wakaba@suika.fam.cx>
3251    
3252 wakaba 1.3 * idl2dis.pl (register_required_module): Top-level element type
3253     name "Type" and "TypeAlias" changed to "DataType" and
3254     "DataTypeAlias".
3255    
3256 wakaba 1.2 * dis2pm.pl (perl_code_source): New function.
3257    
3258 wakaba 1.1 2004-08-21 Wakaba <wakaba@suika.fam.cx>
3259    
3260     * ChangeLog: New file.
3261    
3262     * Makefile, DOMMain.dis, DOMCore.dis, DOMXML.dis, dis2pm.pl, idl2dis.pl:
3263     New files (Moved from ../Markup/XML/DOM/).
3264    
3265    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24