/[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.277 - (show annotations) (download)
Sun Dec 23 11:20:08 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.276: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	23 Dec 2007 11:19:58 -0000
	* CSSRule.pm (@charset.css_text): Implemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24