/[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.298 - (show annotations) (download)
Fri Feb 8 15:08:04 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.297: +8 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	8 Feb 2008 15:08:01 -0000
2008-02-08  Wakaba  <wakaba@suika.fam.cx>

	* CSSRule.pm (@media, @import ____new): Bless media object
	with the appropriate class.
	(@media css_text): Getter implemented.

	* MediaList.pm (media_text): Getter implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24