/[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.231 - (show annotations) (download)
Sat Jul 7 07:36:58 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.230: +12 -0 lines
++ manakai/t/ChangeLog	7 Jul 2007 07:36:50 -0000
	* DOM-Document.t: Tests for |adopt_node| are added.

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

++ manakai/lib/Message/DOM/ChangeLog	7 Jul 2007 07:36:28 -0000
	* DOMDocument.pm (adopt_node): Implemented.
	(doctype): Implemented.

	* DOMElement.pm (remove_attribute_node): Alpha version.

	* DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New
	error type.

	* Node.pm (set_user_data): Implemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24