/[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.281 - (show annotations) (download)
Mon Dec 31 13:46:24 2007 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.280: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	31 Dec 2007 13:44:41 -0000
	* SelectorsAPI.pm, Document.pm (___query_selector_all): New internal
	method.

2007-12-31  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24