/[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.270 - (show annotations) (download)
Mon Oct 8 07:17:18 2007 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.269: +15 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	8 Oct 2007 07:16:56 -0000
2007-10-08  Wakaba  <wakaba@suika.fam.cx>

	* Event.pm, EventTarget.pm, EventTargetNode.pm,
	EventException.pm: Implemented (but not tested!).

	* DOMException.pm (MALFORMED_EVENT_TYPE_ERR,
	EVENT_INTERFACE_NOT_SUPPORTED_ERR, EXTERNAL_EVENT_ERR): New
	error subtypes.

	* DOMImplementation.pm ($HasFeature): The |Event| feature,
	version |3.0|, is added.

	* Document.pm, Node.pm: Event attributes and
	methods are implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24