/[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.261 - (hide annotations) (download)
Sat Aug 25 08:41:00 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.260: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	25 Aug 2007 08:40:23 -0000
	* Node.pm (manakai_language): Return the |manakai_language|
	of the |owner_document|, if any, as defined in the spec.

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

++ manakai/t/ChangeLog	25 Aug 2007 07:45:25 -0000
2007-08-25  Wakaba  <wakaba@suika.fam.cx>

	* DOM-Node.t: New tests for |manakai_language| are
	added.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24