/[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.225 - (show annotations) (download)
Thu Jun 21 11:59:34 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.224: +6 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	21 Jun 2007 11:56:16 -0000
2007-06-21  Wakaba  <wakaba@suika.fam.cx>

	* DOMLocator.pm: New module.

	* DOMError.pm: New module.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24