/[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.276 - (show annotations) (download)
Sun Dec 23 08:18:59 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.275: +11 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	23 Dec 2007 08:18:42 -0000
2007-12-23  Wakaba  <wakaba@suika.fam.cx>

	* CSSRule.pm (type, css_text): Typo fixed.
	(____new): s/_selector/_selectors/g;
	(CSSStyleRule.css_text, selectors_text): Ad hoc implementation.

	* CSSStyleDeclaration.pm (css_text): Ad hoc implementation.

	* CSSStyleSheet.pm (new): s/new/____new/.
	(css_text): New attribute.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24