/[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.272 - (show annotations) (download)
Sun Nov 11 04:23:32 2007 UTC (17 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.271: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	11 Nov 2007 04:23:26 -0000
2007-11-11  Wakaba  <wakaba@suika.fam.cx>

	* Document.pm, Element.pm (inner_html): Use |Whatpm::HTML::Serializer|
	for getter.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24