/[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.255 - (show annotations) (download)
Sun Jul 29 08:04:40 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.254: +5 -0 lines
++ ChangeLog	29 Jul 2007 08:02:27 -0000
2007-07-29  Wakaba  <wakaba@suika.fam.cx>

	* Makefile.PL: Updated.

++ manakai/lib/ChangeLog	29 Jul 2007 08:03:11 -0000
	* Makefile: No longer recurse into |manakai| and the
	AutoLoad module.

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

++ manakai/lib/Message/ChangeLog	29 Jul 2007 08:03:25 -0000
2007-07-29  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (all): Special rule for |Util| is removed.

	* Charset/: Removed.

++ manakai/lib/Message/DOM/ChangeLog	29 Jul 2007 07:51:50 -0000
	* Text.pm: |Message::DOM::Traversal, an obsolete module,
	was referenced.

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

++ manakai/lib/Message/Util/ChangeLog	29 Jul 2007 08:03:51 -0000
	* Makefile: Rules for DIS are removed.

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

++ manakai/t/ChangeLog	29 Jul 2007 08:04:33 -0000
2007-07-29  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Rules for DIS tests are removed.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24