/[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.297 - (hide annotations) (download)
Sun Feb 3 06:01:20 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.296: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	3 Feb 2008 06:01:14 -0000
2008-02-03  Wakaba  <wakaba@suika.fam.cx>

	* CSSStyleDeclaration.pm ($serialize_value): Support
	for new value types.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24