/[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.218 - (show annotations) (download)
Fri Jun 15 16:12:28 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.217: +4 -0 lines
++ manakai/t/ChangeLog	15 Jun 2007 16:12:22 -0000
2007-06-16  Wakaba  <wakaba@suika.fam.cx>

	* DOM-Node.t: Test data added.

++ manakai/lib/Message/DOM/ChangeLog	15 Jun 2007 16:11:56 -0000
2007-06-16  Wakaba  <wakaba@suika.fam.cx>

	* Node.pm: First alpha version of implementation of attributes.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24