/[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.260 - (hide annotations) (download)
Sat Aug 25 07:02:10 2007 UTC (17 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.259: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	25 Aug 2007 07:01:41 -0000
2007-08-25  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Relative path was wrong.

++ manakai/lib/Message/URI/ChangeLog	25 Aug 2007 07:02:03 -0000
	* Makefile: Relative path was wrong.

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

++ manakai/lib/Message/Util/ChangeLog	25 Aug 2007 07:01:25 -0000
2007-08-25  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (POD2HTML): Relative path was wrong.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24