/[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.293 - (hide annotations) (download)
Thu Jan 24 11:25:19 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.292: +7 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	24 Jan 2008 11:22:46 -0000
2008-01-24  Wakaba  <wakaba@suika.fam.cx>

	* Window.pm (manakai_get_computed_style): Renamed
	from |get_computed_style|.

	* Element.pm (manakai_computed_style): Renamed from |current_style|.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24