/[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.242 - (show annotations) (download)
Thu Jul 12 13:54:46 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.241: +14 -0 lines
++ manakai/t/ChangeLog	12 Jul 2007 13:53:24 -0000
2007-07-12  Wakaba  <wakaba@suika.fam.cx>

	* DOM-Node.t: New attributes are added and
	some test results has been changed to sync with new implementation.

++ manakai/lib/Message/DOM/ChangeLog	12 Jul 2007 13:52:28 -0000
2007-07-12  Wakaba  <wakaba@suika.fam.cx>

	* AttributeDefinition.pm (owner_element_type_definition): Implemented.

	* DocumentType.pm (create_document_type_definition): Initialize
	|public_id|, |system_id|, and |internal_subset| attributes
	by empty strings for compatibility with Web browsers.
	(create_document_type): Initialize |internal_subset|
	attribute by an empty string for compatibility with
	Web browsers.

	* ElementTypeDefinition.pm, Entity.pm,
	Notation.pm (owner_document_type_definition): Implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24