/[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.257 - (hide annotations) (download)
Sun Jul 29 08:31:14 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.256: +10 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	29 Jul 2007 08:26:38 -0000
	* XDoctype.dis, XDoctype.pm: Removed.

	* CharacterData.pm: Renamed from DOMCharacterData.pm.

	* Document.pm: Renaemd from DOMDocument.pm.

	* Element.pm: Renamed from DOMElement.pm

2007-07-29  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24