/[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.233 - (show annotations) (download)
Sat Jul 7 11:11:34 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.232: +13 -0 lines
++ manakai/t/ChangeLog	7 Jul 2007 11:11:27 -0000
	* DOM-Element.t: New tests for |create_element|
	and |create_element_ns| are added.

	* DOM-EntityReference.t: New tests for |create_entity_reference|
	are added.

	* DOM-Node.t: Test data for |is_element_content_whitespace|
	are added.

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

++ manakai/lib/Message/DOM/ChangeLog	7 Jul 2007 11:10:33 -0000
	* CDATASection.pm (is_element_content_whitespace): New.

	* DOMElement.pm (has_attribute): Alpha version.
	(create_element, create_element_ns): Implemented.

	* DocumentType.pm (get_general_entity_node): Alpha version.

	* EntityReference.pm (create_entity_reference): Implemented.

	* ProcessingInstruction.pm (create_processing_instruction): Implemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24