/[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.274 - (show annotations) (download)
Sat Dec 22 06:29:32 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.273: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	22 Dec 2007 06:29:10 -0000
2007-12-22  Wakaba  <wakaba@suika.fam.cx>

	* CSSStyleSheet.pm, CSSRule.pm, CSSRuleList.pm, CSSStyleDeclaration.pm:
	First version of CSSOM implementation.

++ manakai/lib/Message/Charset/ChangeLog	23 Nov 2007 04:23:29 -0000
2007-11-23  Wakaba  <wakaba@suika.fam.cx>

	* Info.pm (is_syntactically_valid_iana_charset_name): Function
	name was misspelled.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24