/[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.291 - (show annotations) (download)
Mon Jan 14 11:33:47 2008 UTC (17 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.290: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	14 Jan 2008 11:33:43 -0000
	* Window.pm (___reset_css): Typo fixed.

2008-01-14  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24