/[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.278 - (show annotations) (download)
Sun Dec 23 15:45:49 2007 UTC (16 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.277: +8 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	23 Dec 2007 15:45:43 -0000
2007-12-24  Wakaba  <wakaba@suika.fam.cx>

	* CSSRule.pm (selector_text): Ad hoc support for namespace prefixes.
	(CSSNamespaceRule.css_text): Getter implemented.

	* CSSStyleSheet.pm (manakai_is_default_namespace,
	manakai_lookup_namespace_prefix): New methods.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24