/[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.288 - (hide annotations) (download)
Mon Jan 14 05:53:45 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.287: +8 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	14 Jan 2008 05:53:34 -0000
	* CSSRule.pm (css_text): Trailing newline character is removed
	to avoid double empty lines in CSSStyleSheet->css_text.
	(selector_text): Namespace support is fixed.

	* CSSStyleSheet.pm (___new): Now it accepts |_nsmap| option.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24