/[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.268 - (show annotations) (download)
Sat Sep 29 14:03:04 2007 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.267: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	29 Sep 2007 14:02:51 -0000
	* SelectorsAPI.pm: Attribute selectors are implemented.

2007-09-29  Wakaba  <wakaba@suika.fam.cx>

++ manakai/t/ChangeLog	29 Sep 2007 14:02:30 -0000
	* selectors-test-1.dat: New tests for attribute selectors
	are added.

2007-09-29  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24