/[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.286 - (show annotations) (download)
Sun Jan 13 06:37:44 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.285: +8 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	13 Jan 2008 06:35:37 -0000
2008-01-13  Wakaba  <wakaba@suika.fam.cx>

	* Window.pm: New Perl module.

	* Document.pm (default_view): Implemented.

	* Element.pm (current_style): Implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24