/[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.250 - (show annotations) (download)
Sun Jul 15 12:54:06 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.249: +5 -0 lines
++ manakai/t/ChangeLog	15 Jul 2007 07:03:38 -0000
	* DOM-Atom-AtomElement.t: New test script.

	* DOM-DOMImplementation.t, DOM-Node.t: New test
	data for |get_feature|.

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

++ manakai/lib/Message/Markup/ChangeLog	15 Jul 2007 07:53:30 -0000
2007-07-15  Wakaba  <wakaba@suika.fam.cx>

	* H2H.dis: A typo in entity name is fixed.

++ manakai/lib/Message/DOM/Atom/ChangeLog	15 Jul 2007 07:55:46 -0000
	* AtomElement.pm: Wrong module was loaded.
	(AUTOLOAD): No warnings!  Some argument index were incorrect.
	Some variables were not referenced correctly.
	(AtomDateConstruct): Package name was incorrect.

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

++ manakai/lib/Message/DOM/ChangeLog	15 Jul 2007 12:53:16 -0000
	* XMLParserTemp.pm: Use |Whatpm::Charset::DecodeHandle|
	instead of |Message::Charset::Encode|.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24