/[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.266 - (hide annotations) (download)
Sat Sep 29 05:30:07 2007 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.265: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	29 Sep 2007 05:30:03 -0000
	* SelectorsAPI.pm (query_selector): Implemented.

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

++ manakai/t/ChangeLog	29 Sep 2007 05:29:47 -0000
2007-09-29  Wakaba  <wakaba@suika.fam.cx>

	* DOM-SelectorsAPI-1.t: Test |query_selector| on |Document|
	as well.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24