/[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.303 - (show annotations) (download)
Fri Oct 17 07:15:22 2008 UTC (16 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.302: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	17 Oct 2008 07:15:12 -0000
2008-10-17  Wakaba  <wakaba@suika.fam.cx>

	* ElementTypeDefinition.pm (content_model_text): New attribute.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24