/[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.241 - (hide annotations) (download)
Sun Jul 8 13:42:42 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.240: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	8 Jul 2007 13:42:28 -0000
	* DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration|
	feature is added for compatibility with |XMLParserTemp.pm|.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24