/[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.285 - (hide annotations) (download)
Sun Jan 6 04:32:57 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.284: +8 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	6 Jan 2008 04:32:40 -0000
2008-01-06  Wakaba  <wakaba@suika.fam.cx>

	* CSSStyleDeclaration.pm (css_text): Allow to shorten a complete
	set of longhand properties.
	(get_property_priority): Implemented.
	(CSSComputedStyleDeclaration AUTOLOAD): Implemented for reflecting
	attributes.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24