/[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.275 - (show annotations) (download)
Sat Dec 22 06:57:46 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.274: +8 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	22 Dec 2007 06:57:35 -0000
	* MediaList.pm: New placeholder for a CSSOM interface.

	* CSSRule.pm, CSSStyleSheet.pm: Implementing the initial
	setting of owner* and parent* attributes; support
	for the |delete_rule| method.

2007-12-22  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24