/[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.216 - (show annotations) (download)
Thu Jun 14 13:10:06 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.215: +19 -0 lines
++ manakai/t/ChangeLog	14 Jun 2007 13:09:37 -0000
2007-06-14  Wakaba  <wakaba@suika.fam.cx>

	* DOM-DOMImplementation.t: Tests for |create_document|
	and |create_document_type| are added.

++ manakai/lib/Message/DOM/ChangeLog	14 Jun 2007 13:09:13 -0000
2007-06-14  Wakaba  <wakaba@suika.fam.cx>

	* Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm,
	CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm,
	AttributeDefinition.pm: New modules.

	* DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added.
	(create_attribute_definition, create_element_type_definition,
	create_document_type_definition, create_cdata_section,
	create_processing_instruction, create_entity_reference,
	create_general_entity, create_notation): Prototypes added.

	* DOMImplementation.pm (create_document_type): Prototype added.

	* DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition'
	and 'Message::IF::DocumentTypeDeclaration' added.
	(create_document_type, create_document_type_definition):
	New methods.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24