/[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.227 - (show annotations) (download)
Sat Jun 23 12:47:12 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.226: +14 -0 lines
++ manakai/t/ChangeLog	23 Jun 2007 12:47:01 -0000
2007-06-23  Wakaba  <wakaba@suika.fam.cx>

	* DOM-Document.t: Tests for |manakai_is_html|, |manakai_compat_mode|,
	and |compat_mode| are added.

++ manakai/lib/Message/DOM/ChangeLog	23 Jun 2007 12:46:16 -0000
2007-06-23  Wakaba  <wakaba@suika.fam.cx>

	* DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented.
	(manakai_is_html): Revised.
	(Document): Now it implements the |HTMLDocument| interface.
	(adopt_node): Alpha version.

	* AttributeDefinition.pm (allowed_tokens): |allowed_tokens|,
	not |allowed_token|!

	* ElementTypeDefinition.pm (attribute_definitions): Don't
	return an |undef| even if its |attribute_definitions|
	list is not created.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24