/[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.294 - (show annotations) (download)
Fri Jan 25 16:06:13 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.293: +8 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	25 Jan 2008 16:06:00 -0000
2008-01-26  Wakaba  <wakaba@suika.fam.cx>

	* CSSStyleDeclaration.pm: Use |serialize_shorthand|
	and |serialize_multiple| to serialize shorthand properties
	in reflecting attributes.  Return value of
	the |serialzie_multiple| function has been changed.
	(non-computed css_text): Sort by property names.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24