/[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.258 - (show annotations) (download)
Sun Jul 29 09:44:24 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.257: +7 -1 lines
++ manakai/lib/Message/DOM/ChangeLog	29 Jul 2007 09:44:05 -0000
	* DOMImplementation.pod: New documentation.

	* Makefile: Make HTML document.

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

	* Document.pm: Renamed from DOMDocument.pm.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24