/[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.280 - (show annotations) (download)
Mon Dec 31 10:46:49 2007 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.279: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	31 Dec 2007 10:46:37 -0000
	* SelectorsAPI.pm: Make simple-selector-sequence-matching
	an independent function.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24