/[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.284 - (show annotations) (download)
Fri Jan 4 14:45:29 2008 UTC (17 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.283: +6 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	4 Jan 2008 14:45:22 -0000
2008-01-04  Wakaba  <wakaba@suika.fam.cx>

	* CSSStyleDeclaration.pm (css_text): Allow |{compute_multiple}|
	as well as |{compute}| as a way to filter out longhand
	properties.  Sort properties by names for readability.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24