/[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.222 - (show annotations) (download)
Sun Jun 17 13:37:40 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.221: +62 -0 lines
++ manakai/t/ChangeLog	17 Jun 2007 13:37:22 -0000
2007-06-17  Wakaba  <wakaba@suika.fam.cx>

	* DOM-Attr.t, DOM-AttributeDefinition.t, DOM-DocumentType.t,
	DOM-Element.t, DOM-Entity.t, DOM-EntityReference.t,
	DOM-Notation.t, DOM-ProcessingInstruction.t: New.

	* DOM-Document.t, DOM-Node.t: Tests for newly-implemented attributes
	and methods are added.

	* Makefile (test-module-dom-old): Renamed from |test-module-dom|.
	(test-module-dom): New.

++ manakai/lib/Message/DOM/ChangeLog	17 Jun 2007 13:34:54 -0000
2007-06-17  Wakaba  <wakaba@suika.fam.cx>

	* Attr.pm (____new): Initialize |specified| as 1.
	(base_uri, manakai_attribute_type, specified): Implemented.
	(prefix): Don't check read-only flag unless |strict_error_checking|.
	(value): Call |text_content| for now.

	* AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added.
	(declared_type, default_type): Implemented.

	* CharacterData.pm (____new): Allow a scalar reference
	as an input for the |data| attribute.
	(base_uri, manakai_append_text): Implemented.

	* DOMConfiguration.pm (set_parameter): Resetting implemented.

	* DOMDocument.pm (____new): Set default values to
	configuration parameter whose default is true.
	(document_uri, input_encoding): Implemented.
	(all_declarations_processed, manakai_is_html): Implemented.
	(base_uri, manakai_append_text,
	manakai_entity_base_uri, strict_error_checking,
	xml_encoding, xml_version, xml_standalone): Implemented.

	* DOMElement.pm (manakai_base_uri, base_uri): Implemented.
	(get_attribute, get_attribute_node): Alpha version.
	(set_attribute_node, set_attribute_node_ns): Implemented.
	(set_attribute_ns): Accept non-ARRAY qualified name.

	* DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|,
	|NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added.

	* DocumentType.pm (public_id, system_id): Implemented.
	(base_uri, declaration_base_uri, manakai_declaration_base_uri,
	manakai_append_text): Implemented.
	(element_types, general_entities, notations,
	set_element_type_definition_node, set_general_entity_node,
	set_notation_node): Alpha version.

	* ElementTypeDefinition.pm (manakai_append_text): Implemented.
	(attribute_definitions, set_attribute_definition_node): Alpha version.

	* Entity.pm (has_replacement_tree, public_id, system_id,
	manakai_declaration_base_uri, manakai_entity_base_uri,
	manakai_entity_uri): Implemented.

	* EntityReference.pm (manakai_expanded, manakai_external): Implemented.
	(base_uri, manakai_entity_base_uri): Implemented.

	* Node.pm (base_uri): Implemented.
	(text_content): Don't check read-only or not
	unless |strict_error_checking|.
	(manakai_append_text): Implemented.
	(get_feature): Alpha.
	(manakai_set_read_only): Implemented.

	* Notation.pm (public_id, system_id, manakai_append_text,
	manakai_declaration_base_uri): Implemented.

	* ProcessingInstruction.pm (manakai_base_uri,
	base_uri, manakai_append_text): Implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24