/[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.229 - (show annotations) (download)
Sat Jul 7 04:47:29 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.228: +6 -0 lines
++ manakai/t/ChangeLog	7 Jul 2007 04:46:19 -0000
2007-07-07  Wakaba  <wakaba@suika.fam.cx>

	* DOM-AttributeDefinition.t: Tests for |allowed_tokens|
	are added.

	* DOM-DOMStringList.t: New test script.

++ manakai/lib/Message/DOM/ChangeLog	7 Jul 2007 04:47:13 -0000
2007-07-07  Wakaba  <wakaba@suika.fam.cx>

	* AttributeDefinition.pm (allowed_tokens): Implemented.

	* DOMStringList.pm: New Perl module.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24