/[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.271 - (show annotations) (download)
Sat Oct 27 13:07:27 2007 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.270: +7 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	27 Oct 2007 13:06:39 -0000
2007-10-27  Wakaba  <wakaba@suika.fam.cx>

	* Event.pm (init_event, init_event_ns, init_custom_event_ns):
	The |namespaceURI| attribute was not set correctly.

	* DOMEvents.dis: Removed.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24