/[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.301 - (show annotations) (download)
Sun Feb 17 06:36:01 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.300: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	17 Feb 2008 06:35:58 -0000
2008-02-17  Wakaba  <wakaba@suika.fam.cx>

	* Document.pm (manakai_html, manakai_head): New methods.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24