/[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.253 - (hide annotations) (download)
Sun Jul 29 06:35:16 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.252: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	29 Jul 2007 06:34:56 -0000
2007-07-29  Wakaba  <wakaba@suika.fam.cx>

	* DOMDocument.pm (inner_html): Setter in XML document
	is implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24