/[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.300 - (show annotations) (download)
Mon Feb 11 00:32:53 2008 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.299: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	11 Feb 2008 00:32:39 -0000
2008-02-11  Wakaba  <wakaba@suika.fam.cx>

	* CSSRule.pm (@import css_text): Implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24