/[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.267 - (hide annotations) (download)
Sat Sep 29 08:29:41 2007 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
CVS Tags: manakai-release-0-4-0
Changes since 1.266: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	29 Sep 2007 08:28:04 -0000
	* SelectorsAPI.pm (ElementSelector): Implemented.

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

++ manakai/t/ChangeLog	29 Sep 2007 08:28:54 -0000
	* DOM-SelectorsAPI-1.t: Suport for testing of |ElementSelector|
	methods.

	* selectors-test-1.dat: New test data for |ElementSelector|
	methods are added.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24