/[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.290 - (hide annotations) (download)
Mon Jan 14 11:18:49 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.289: +6 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	14 Jan 2008 11:18:35 -0000
	* CSSStyleDeclaration.pm: The classes now explicitly implement
	the |CSS2Properties| interface.
	(@{}, TIEARRAY, FETCH, FETCHSIZE, EXISTS, item, length): Implemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24