/[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.263 - (show annotations) (download)
Sun Sep 23 13:32:40 2007 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.262: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	23 Sep 2007 13:31:54 -0000
	* SelectorsAPI.pm: Namespaced type/universal selectors
	are supported.

2007-09-23  Wakaba  <wakaba@suika.fam.cx>

++ manakai/t/ChangeLog	23 Sep 2007 13:31:20 -0000
	* selectors-test-1.dat: Namespaced type and universal
	selector tests are added.

2007-09-23  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24