/[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.249 - (show annotations) (download)
Sun Jul 15 06:16:07 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.248: +6 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	15 Jul 2007 06:15:54 -0000
	* DOMDocument.pm (inner_html): New attribute (beta).

	* DOMElement.pm (inner_html): New attribute (beta).

2007-07-15  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24