/[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.289 - (hide annotations) (download)
Mon Jan 14 10:04:40 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.288: +6 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	14 Jan 2008 10:04:24 -0000
	* CSSStyleDeclaration.pm (attributes reflecting CSS properties):
	Return an empty string if no value is assigned to the property.  Insert
	a SPACE before '!' for compatibility with Firefox.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24