/[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.283 - (show annotations) (download)
Tue Jan 1 09:09:16 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.282: +7 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	1 Jan 2008 09:09:11 -0000
	* CSSStyleDeclaration.pm (css_text): Output |undef| property
	information for debugging.

	* CSSStyleSheet.pm (manakai_base_uri): New attribute.

2008-01-01  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24