/[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.223 - (show annotations) (download)
Sun Jun 17 14:15:38 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.222: +14 -0 lines
++ manakai/t/ChangeLog	17 Jun 2007 14:14:51 -0000
	* DOM-Node.t: |notation_name| test added.

	* DOM-Entity.t: |notation_name| test added.

2007-06-17  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	17 Jun 2007 14:13:48 -0000
	* AttributeDefinition.pm (____new): Set an empty list
	to the |allowed_tokens| attribute.
	(allowed_token): Alpha version.

	* DocumentType.pm (get_element_type_definition_node,
	get_notation_node): ALpha version.

	* ElementTypeDefinition.pm (attribute_definitions): Alpha 2
	version.

	* Entity.pm (notation_name): Implemented.

2007-06-17  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24