/[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.226 - (show annotations) (download)
Thu Jun 21 14:57:52 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.225: +15 -0 lines
++ manakai/t/ChangeLog	21 Jun 2007 14:57:40 -0000
2007-06-21  Wakaba  <wakaba@suika.fam.cx>

	* DOM-Node.t: Tests for |node_type| are added.

++ manakai/lib/Message/DOM/ChangeLog	21 Jun 2007 14:57:15 -0000
	* Comment.pm (node_type): Node type was incorrect!

	* DOMConfiguration.pm (get_parameter): Alpha.

	* DOMImplementation.pm (create_mc_decode_handler,
	create_charset_name_from_uri, create_uri_from_charset_name):
	New autoload configuration.  Note that the Message::Charset::Encode
	module is subject to change.

	* XMLParserTemp.pm: Now it can be used with new version
	of DOM implementation.  Current plan is to replace it by
	an XML5 parser someday.

2007-06-21  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24