/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Diff of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.80 by wakaba, Sat Oct 15 15:28:05 2005 UTC revision 1.196 by wakaba, Sat Nov 4 12:25:10 2006 UTC
# Line 1  Line 1 
1    2006-11-04  Wakaba  <wakaba@suika.fam.cx>
2    
3            * DOMCore.dis (ManakaiDOMImplementation): No longer
4            explicitly inherits |urigen:ManakaiURIImplementation| (and
5            the |f:ManakaiMinimumImplementation| class inherited
6            by it).  The |f:Minimum| feature is ever implemented
7            for compatibility (but is expected to be removed).
8            Internal methods such as |___report_error| are copied from
9            obsolete |f:MinimumImplementation| class.  DOM3
10            methods |hasFeature| and |getFeature| are also
11            moved from that class, but they now support no
12            foreign classes.
13    
14            * DOMFeature.dis (ManakaiImplementationSource): It
15            now |p:require|s |Message::Util::AutoLoad::Registry|.
16            The class no longer support classes
17            other than |ManakaiDOMImplementation|.  Note
18            that the |ImplementationRegistry| object does continue
19            to support foreign classes via foreign classes
20            implementing |ImplementationSource|
21            or |DOMImplementationSource| interface.
22            (MinimumImplementation): Removed.
23    
24            * DOMLS.dis (ManakaiDOMImplementationLS): It no
25            longer inherit the |ManakaiDOMImplementation|; it
26            is now expected to be implemented by |DOMImplementation|
27            objects.
28    
29            * DOMMain.dis (null): Removed.
30    
31            * Document.dis (___create_node_ref): It no
32            longer support foreign classes other
33            than |Message::DOM::Document::ManakaiDOMDocument|.
34            Note that document format specific DOM
35            interfaces, if supported, should be
36            all instances of the |Document| interface
37            in the implementation, as defined
38            in the Web Applications 1.0 specification (where
39            the |HTMLDocument| interface must be implemented
40            by all |Document| objects, even if the |Document|
41            contains no HTML element).
42    
43            * GenericLS.dis (GLSImplementation): It no
44            longer inherit the |MinimumImplementation|; it
45            is now expected to be implemented by |DOMImplementation|
46            objects.
47            (createGLSParser, createGLSSerializer): Load
48            module implementing parser or serializer
49            if necessary.
50    
51            * Traversal.dis (ManakaiDOMDocumentTraversal): It no
52            longer inherits the |ManakaiDOMDocument|; it
53            is now expected to be implemented by |Document|
54            objects.
55    
56            * XDP.dis (XDPDocument): It no longer
57            inherits the |Document|; it is now expected
58            to be implemented by all |Document| objects.
59    
60            * XDoctype.dis (ManakaiDOMDocumentXDoctype): It no
61            longer inherits the |ManakaiDOMDocument|; it
62            is now expected to be implemented by |Document|
63            objects.
64    
65    2006-11-04  Wakaba  <wakaba@suika.fam.cx>
66    
67            * DOMCore.dis (ManakaiDOMImplementation): No longer
68            explicitly inherits |tc:ManakaiDOMImplementationTC|.
69            (ManakaiDOMImplementation.AUTOLOAD): New method definition.
70    
71            * TreeCore.dis (ManakaiDOMImplementationTC): Extends
72            the |ManakaiDOMImplementation| class.
73    
74    2006-11-03  Wakaba  <wakaba@suika.fam.cx>
75    
76            * DOMFeature.dis: Definitions for various concepts
77            are added.
78    
79            * GenericLS.dis (GLSImplementation): It no
80            longer inherits the |MinimumImplementation|; rather,
81            any |ManakaiMinimumImplementation| object also
82            implements |GLSImplementation| methods.
83    
84            * TreeStore.dis (DOMImplementationTreeStore): It no
85            longer inherits the |DOMImplementation|; rather,
86            any |ManakaiDOMImplementation| object also
87            implements |DOMImplementationTreeStore| methods.
88    
89    2006-08-15  Wakaba  <wakaba@suika.fam.cx>
90    
91            * TreeStore.pm: Added to the CVS repository
92            to enable for the dis database to contain XML
93            fragments.
94    
95            * Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added.
96    
97            * TreeStore.dis (Namespace): Namespace URI was incorrect.
98    
99    2006-06-18  Wakaba  <wakaba@suika.fam.cx>
100    
101            * Traversal.dis (expandEntityReferences): Syntax was incorrect.
102    
103            * TreeCore.dis (manakaiReadOnly): Test assertion was incorrect.
104    
105            * XDP.dis (dtdText): Test assertion was incorrect.
106    
107    2006-05-21  Wakaba  <wakaba@suika.fam.cx>
108    
109            * XDP.dis (XDPEntityValue.stringify): Don't escape
110            any |%|s in |xdp:attr-definition| children.
111    
112    2006-05-20  Wakaba  <wakaba@suika.fam.cx>
113    
114            * XDP.dis (createXDPRNIKeyword): The Perl method
115            name property is added.
116    
117    2006-05-20  Wakaba  <wakaba@suika.fam.cx>
118    
119            * XDP.dis (createXDPIf): New method.
120            (XDPIfElement): New interface.
121    
122    2006-05-15  Wakaba  <wakaba@suika.fam.cx>
123    
124            * XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition):
125            New methods.
126    
127    2006-05-15  Wakaba  <wakaba@suika.fam.cx>
128    
129            * XDP.dis (XDPDocument): A number of constructor methods
130            are added.
131            (XDPTextDecl.dtdText): The |xml| target was missing.
132    
133    2006-05-14  Wakaba  <wakaba@suika.fam.cx>
134    
135            * Traversal.dis (SerialWalker): New interface.
136            (manakaiCreateSerialWalker): New method.
137    
138    2006-05-13  Wakaba  <wakaba@suika.fam.cx>
139    
140            * Traversal.dis (testNode): Calls |acceptNode| method
141            rather than |&{}| dereferencing.
142            (acceptNode): Implemented.
143    
144    2006-05-13  Wakaba  <wakaba@suika.fam.cx>
145    
146            * XDP.dis: New module.
147    
148            * Makefile: |XDP.dis| is added.
149    
150            * Traversal.dis (NodeFilter): |InputProcessor|
151            and |OutputProcessor| are added.
152    
153    2006-05-13  Wakaba  <wakaba@suika.fam.cx>
154    
155            * Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value.
156            (TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support
157            is added.  The |FILTER_REJECT| value is treated
158            as |FILTER_ACCEPT| if the |currentNode| is in the
159            rejected subtree as specified in the spec.
160    
161    2006-05-05  Wakaba  <wakaba@suika.fam.cx>
162    
163            * SimpleLS.dis: An |xmlns:| prefix was missing.
164    
165    2006-05-04  Wakaba  <wakaba@suika.fam.cx>
166    
167            * SimpleLS.dis: Namespace bugs are fixed.
168    
169    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
170    
171            * .cvsignore: Updated.
172    
173            * Traversal.dis: Unused declarations are removed.
174    
175    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
176    
177            * CharacterData.dis (Require): A reference to
178            the |MDOM:Traversal| module is added.
179            (wholeText): Implemented.
180    
181    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
182    
183            * Makefile: |Traversal.dis| is added.
184    
185            * Traversal.dis: New module.
186    
187            * TreeCore.dis (___report_error): Return value was
188            not propagated.
189    
190    2006-04-29  Wakaba  <wakaba@suika.fam.cx>
191    
192            * Element.dis (removeAttributeNS): A runtime error
193            was occurred if there was no specified attribute node.
194    
195            * TreeCore.dis (manakaiLanguage): New attribute.
196    
197    2006-04-28  Wakaba  <wakaba@suika.fam.cx>
198    
199            * TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly):
200            New attributes.
201    
202            (StaticNodeList): New interface.
203    
204    2006-04-24  Wakaba  <wakaba@suika.fam.cx>
205    
206            * DOMCore.dis (c:SET_TO_NULL_ERR): New error code.
207    
208    2006-04-22  Wakaba  <wakaba@suika.fam.cx>
209    
210            * SimpleLS.dis: Reimplemented.
211    
212    2006-04-22  Wakaba  <wakaba@suika.fam.cx>
213    
214            * DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now
215            a qualified name.
216            (tc:EXTERNAL_NODE_COMPARISON_ERR): New error type.
217    
218            * TreeCore.dis (compareDocumentPosition): Implemented.
219            (normalize): Implemented.
220            (STORESIZE, CLEAR): Were not implemented for |EmptyNodeList|
221            class.
222    
223    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
224    
225            * DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.
226    
227    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
228    
229            * CharacterData.dis (length, insertData, substringData,
230            appendData, deleteData, replaceData, splitText): Reimplemented.
231    
232            * DOMCore.dis (NEGATIVE_LENGTH_ERR): New error.
233            (c:index): The definition was missing.
234            (c:length): New property.
235    
236    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
237    
238            * XMLParser.dis (close): Invoke |close| method
239            rather than |close| function.
240    
241    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
242    
243            * CharacterData.dis: New module split from |TreeCore.dis|.
244    
245            * CharacterData.pm: Added to the CVS repository.
246    
247            * TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
248            interfaces are removed.
249            (Require): A reference to the |MDOM:CharacterData| module
250            is added.
251    
252            * DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.
253    
254            * DOMCore.dis (StringOutOfBoundsException): New error.
255    
256            * Makefile: |CharacterData.pm| is added.
257    
258    2006-04-09  Wakaba  <wakaba@suika.fam.cx>
259    
260            * XMLParser.dis (Require): Requires the |MCharset:Encode|
261            module.
262            (parse): Set the |inputEncoding| attribute of the generated document
263            object.
264            (resolveLSInput default implementation): The |byteStream|
265            and |encoding| attributes of the |LSInput| interface
266            are now supported.
267            (resolveLSInput): Parameters |impl| and |parser| are added.
268            (InputFile.inputEncoding): New attribute.
269    
270    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
271    
272            * Document.dis (adoptNode test): Documents were
273            made by different documents.
274    
275    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
276    
277            * XMLParser.dis: The |cfg:dtd-default-attributes| configuration
278            parameter is changed to |cfg:dtd-default-attribute|.
279    
280    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
281    
282            * TreeCore.dis: The |DOMMain:raiseException| elements
283            are replaced by |disPerl:EXCEPTION|s.
284    
285    2006-04-03  Wakaba  <wakaba@suika.fam.cx>
286    
287            * DOMMain.dis (GetPropNode, CheckReadOnly): Removed.
288    
289            * Node.dis (cfg:dtd-default-attribute): The configuration
290            parameter |cfg:dtd-default-attributes| is renamed
291            as |cfg:dtd-default-attribute|.
292            (Roles): Definitions are changed so that classes
293            that implement those classes MUST implement the |Node|
294            and its subinterfaces.
295            (cfg:dtd-attribute-type): New configuration parameter.
296    
297            * Document.dis (adoptNode): Don't throw exception
298            if |strictErrorChecking| is |false|.
299    
300            * Element.dis (setAttribute, setAttributeNS): Don't
301            set [attribute type] if the |cfg:dtd-attribute-type|
302            configuration parameter is set to |false|.
303            (removeAttribute, removeAttributeNS, removeAttributeNode): Don't
304            regenerate default attribute nodes if the |cfg:dtd-default-attribute|
305            configuration parameter is set to |false|.
306    
307    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
308    
309            * TreeStore.dis: New module.
310    
311            * Makefile: |TreeStore.dis| is added.
312    
313    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
314    
315            * XMLParser.dis: Updated so that it can be used
316            with |TreeCore.pm|, |Document.pm|, |Element.pm|,
317            and |XML.pm|.  Set the read-only flag to
318            the |DocumentType|, |Entity|, and |EntityReference| noes.
319    
320            * Node.dis (textContent): It did not handle descendant
321            element and entity reference nodes.
322    
323            * Element.dis, XML.dis (manakaiBaseURI.get): Its
324            definition has been changed to return only explicit
325            base URI specification.
326    
327            * DOMLS.dis (LSInput, LSOutput): They no longer
328            inherits the |ManakaiDOM:ManakaiDOMObject| class.
329    
330            * Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.
331    
332            * Tree.pm, DOMXML.pm: Removed.
333    
334            * TreeCore.pm, Document.pm, Element.pm: Added
335            to the CVS repository since they are necessary to
336            build the dis library.
337    
338            * Makefile: Sync'ed to new modules disposition.
339    
340    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
341    
342            * Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
343            removed.  For |Element.pm| and |Document.pm| are added.
344    
345            * Document.dis, Element.dis: New module split from |TreeCore.dis|.
346    
347            * TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.
348    
349    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
350    
351            * DOMFeature.dis (getImplementation, getImplementationList): Support
352            for new class information variables.
353            (DOMLS:Generic): This old feature name is removed.
354    
355            * GenericLS.dis (createGLSParser, createGLSSerializer): Support
356            for new class information variables.
357    
358            * TreeCore.dis (manakaiExpandedURI): New attribute.
359            (Document, Element.___create_node_ref): New method
360            implementations.
361    
362    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
363    
364            * TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
365            Reimplemented.
366            (isId): Setter is added.
367            (Element.normalize): Definition copied from the |MDOM:Tree|
368            module.
369    
370    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
371    
372            * Makefile (clean-db): New rule.
373    
374            * TreeCore.dis (setUserData): Schedule to invoke
375            the user data handler when the node is removed
376            from the memory.
377            (setAttribute, setAttributeNS): Set the [attribute type]
378            if DTD attribute definition is available.
379            (CharacterData members): Definitions copied from
380            the |MDOM:Tree| module.
381    
382    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
383    
384            * DOMCore.dis (DOMStringList.==): New overloaded operator.
385    
386            * DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
387            class did not implement the |GetFeature| interface.
388            (hasFeature): The |+| prefix was not taken into account.
389    
390            * TreeCore.dis (Node): The class now inherits
391            the |ManakaiHasFeatureByGetFeature| class.  It now
392            implements the |f:GetFeature| and |ecore:MUErrorTarget|
393            interfaces.
394            (CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
395            is supported.
396            (lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
397            (manakaiParentElement): New attribute.
398    
399            * XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
400            is removed.
401            (lookupPrefix): Old method implementation is removed.
402    
403            * XML.dis (CDATASection): The |mg:NodeRefRole| was
404            missing because of the |DISCore:stopISARecursive| property.
405    
406            * TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
407            They now pass all tests included in those modules!
408    
409    2006-03-30  Wakaba  <wakaba@suika.fam.cx>
410    
411            * DOMCore.dis (Require): A reference to the |MURI:Generic|
412            module is added.
413            (ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
414            (ManakaiDOMImplementation): It now inherits
415            the |urigen:ManakaiURIImplementation| class and
416            implements the |ecore:MUErrorTarget| interface.  It no
417            longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
418            (ManakaiDOMImplementation.___report_error): New method.
419    
420            * DOMFeature.dis (Require): It now references the |Util:Grove|
421            module instead of |Util:ManakaiNode| module.
422            (DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
423            (f:ManakaiMinimumImplementationCompatible): New role.
424            (ManakaiMinimumImplementation): Now it is built
425            on the new |Util:Grove| module rather than the |Util:ManakaiNode|
426            module.
427            (f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
428            (c:implementation): Removed.
429            (f:implementation, f:revImplementation): New properties.
430    
431            * DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.
432    
433            * Tree.dis (cfg:clone-entity-reference-subtree,
434            cfg:dtd-default-attributes, cfg:xml-id,
435            cfg:strict-document-children): Removed (moved
436            to the |MDOM:TreeCore| module).
437    
438            * TreeCore.dis (Require): The reference to the |MURI:Generic|
439            module is removed.
440            (ManakaiDOMImplementationTC): Some members are removed
441            since they are incorporated to the |c:ManakaiDOMImplementation|
442            or the |f:ManakaiMinimumImplementation|.
443            (tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
444            (replaceChildImpl1): A typo on the removing the parent node
445            of the old child node is fixed.
446            (f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
447            module).
448            (tc:implementation, tc:revImplementation): Removed (moved
449            to the |MDOM:DOMFeature| module).
450            (Document.appendChild, insertBefore, replaceChild): Sets
451            the |ownerDocument| attribute of the |tx:DocumentType| nodes.
452            (Attr.prefix, Element.prefix): Don't raise "uninitialized"
453            when the new value is |null|.
454            (Attr.___create_node_ref): Attribute name and
455            owner element type specific classes are supported (it
456            was partially implemented but was incorrect).
457            (ManakaiDOMGetElementsNodeList.item): Don't return
458            a node if the |index| is negative.
459            (setNamedItem): Various typos are fixed.
460            (removeNamedItem): The node was not removed orz
461            (cfg:clone-entity-reference-subtree,
462            cfg:dtd-default-attributes, cfg:xml-id,
463            cfg:strict-document-children): Definitions are moved
464            from the |MDOM:Tree| module.  Note that the tests for default
465            attributes still fail.
466            (ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
467            (Attr): Role name was incorrect.
468    
469            * XDoctype.dis (setDefinitionNode): Return value was
470            not set.
471            (AttributeDefinition): Role name was incorrect.
472    
473            * XML.dis (Require): A reference to the |DISlib:DISMarkup|
474            module is added.
475            (Notation.appendChild, insertBefore, replaceChild): New method
476            implementations.
477            (Entity.appendChild, insertBefore, replaceChild): New method
478            implementations.
479            (EntityReference.appendChild, insertBefore, replaceChild): Now
480            they are defined as copies of ones in the |Entity| class.
481            (XMLBaseAttribute, XMLIdAttribute): Now they are
482            namespace unaware attributes.
483            (XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
484            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
485            to namespace aware attributes are added.
486    
487    2006-03-29  Wakaba  <wakaba@suika.fam.cx>
488    
489            * DOMCore.dis: Namespace prefixes are changed to new ones.
490    
491            * TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
492            untested).
493            (___report_error): Reimplemented (untested).
494            (manakaiSetReadOnly): New method.
495            (Attr.___create_node_ref): New method (untested).
496            (Document.getFeature): |require|s the |MDOM:XML| Perl module.
497            (createEntityReference, cloneNode): Support for
498            the |cfg:entity-reference-read-only| configuration
499            parameter is removed; newly created entity references
500            are always read-only and use the |manakaiSetReadOnly| method
501            if desired.
502            (Element.manakaiBaseURI): Reimplemented (untested).
503    
504            * XDoctype.dis (createGeneralEntity, createNotation): |require|s
505            the |MDOM:XML| Perl module.
506            (DocumentTypeDefinition.___create_node_stem): Sets
507            the |tc:implementation| internal property if its value
508            is provided.  The |infoset:content| internal property name
509            was incorrect.
510            (DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
511            read-only |NodeList| and |DOMStringList| are added
512            for clarification.
513    
514    2006-03-26  Wakaba  <wakaba@suika.fam.cx>
515    
516            * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
517            module is added.
518            (DOMStringList): Reimplemented for new |d:AttributeDefinition|
519            implementation (untested).
520    
521            * TreeCore.dis (baseURI): Reimplemented (untested).
522            (Roles): Definitions added.
523    
524            * XDoctype.dis (Require): References to the |MDOM:TreeCore|
525            and |MDOM:XML| modules are added.  Reference to the |MDOM:Tree|
526            module is removed.
527            (DocumentXDoctype): Reimplemented (untested).
528            (DocumentTypeDefinition, DocumentTypeDeclaration):
529            Reimlemented (untested).
530            (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
531    
532            * XML.dis (FeatureDef): New features (definitions copied
533            from the |MDOM:DOMXML| module).
534            (DocumentType): New interface (definition copied from
535            the |MDOM:DOMXML| module).
536            (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
537            Reimplemented (untested).
538            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
539    
540    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
541    
542            * TreeCore.dis (Document): Most methods are reimplemented (untested).
543    
544    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
545    
546            * TreeCore.dis (Document): Attributes are reimplemented (untested).
547            (Text, DocumentFragment, Comment): Most members are
548            reimplemented (untested).
549    
550    2006-03-24  Wakaba  <wakaba@suika.fam.cx>
551    
552            * DOMMain.dis (checkXMLNamesQName): Some checks are
553            removed to sync with DOM Level 3 Core specification.
554    
555            * TreeCore.dis (Element): Most methods are reimplemented (untested).
556            (GetElementsNodeList): Reimplemented (untested).
557    
558    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
559    
560            * Tree.dis (cfg:strict-document-children): The configuration
561            parameter must also affect on |manakaiAppendText|
562            and |textContent| on |Document| nodes.
563    
564            * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
565            parameter changes the class to |bless|.
566            (Node): Most methods are reimplemented.  (Untested)
567            (CharacterData, Attr): Most methods and attributes are
568            reimplemented.  (Untested)
569    
570            * XML.dis, XDoctype.dis: Most |Node| methods are
571            reimplemented (untested).
572    
573    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
574    
575            * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
576            (untested).
577    
578    2006-03-22  Wakaba  <wakaba@suika.fam.cx>
579    
580            * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
581            a qualified name.
582    
583            * DOMMain.dis (ensureNamespacePrefix): Undefines
584            the prefix if it is an empty string.  (Note that
585            it is defined as implementation dependent in
586            DOM Level 3 Core specification).
587    
588            * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
589            module.
590            (Node): Attributes are reimplemented (untested).
591    
592            * XML.dis (Require): It now references the |MDOMX:XDoctype|
593            module.
594            (Node): Attributes are reimplemented (untested).
595            (Entity, Notation): New interfaces.
596    
597            * XDoctype.dis (Node): Attributes are reimplemented (untested).
598    
599    2006-03-19  Wakaba  <wakaba@suika.fam.cx>
600    
601            * TreeCore.dis (childNodes, firstChild, lastChild,
602            nextSibling, previousSibling, appendChild, insertBefore,
603            replaceChild, removeChild, createDocumentFragment,
604            createEntityReference, createProcessingInstruction,
605            domConfig, documentElement, implementation, manakaiAppendText): New.
606            (NodeList, DocumentFragment): New interfaces.
607    
608            * XML.dis (EntityReference, ProcessingInstruction): New interface.
609    
610    2006-03-18  Wakaba  <wakaba@suika.fam.cx>
611    
612            * TreeCore.dis (Require): The |MDOM:XML| module is added.
613            (createAttributeNS, createTextNode, createComment,
614            createCDATASection): New methods.
615            (Attr, Text, Comment, CharacterData): New interfaces.
616    
617            * Makefile: |XML.dis| is added.
618    
619            * XML.dis: New module.
620    
621    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
622    
623            * TreeCore.dis (manakaiReadOnly): New attribute.
624            
625    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
626    
627            * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
628            prefix, isSameNode, ownerDocument, parentNode): New.
629            (Element): New interface.
630            (createElementNS): New method.
631            (strictErrorChecking): New.
632    
633    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
634    
635            * Makefile: |TreeCore.dis| is added.
636    
637            * TreeCore.dis: New module.
638    
639    2006-03-16  Wakaba  <wakaba@suika.fam.cx>
640    
641            * XMLParser.dis (cfg:entity-replacement-tree): New configuration
642            parameter.
643    
644            * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
645    
646            * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
647            data types added to configuration parameters.
648    
649    2006-03-15  Wakaba  <wakaba@suika.fam.cx>
650    
651            * DOMCore.dis (c:DOMConfigurationParameter): Now it is
652            a |DISSource:ResourceProperty|.
653            (c:anyDOMConfigurationParameter): New property.
654            (CParam, boolCParam): Now they are all |dis:subsetOf|
655            the |c:anyDOMConfigurationParameter| property.
656            (ForDocument, ForParser, ForSerializer): Removed.
657    
658            * DOMLS.dis, XMLParser.dis: Likewise.
659    
660    2006-03-12  Wakaba  <wakaba@suika.fam.cx>
661    
662            * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
663            are removed.
664    
665            * GenericLS.pm: Added to the CVS repository since
666            it is necessary to create the |Message::Util::DIS::DPG| module.
667    
668    2006-03-10  Wakaba  <wakaba@suika.fam.cx>
669    
670            * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
671            method.
672    
673            * XMLParser.dis: Don't create adjacent text nodes.
674    
675    2006-03-09  Wakaba  <wakaba@suika.fam.cx>
676    
677            * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
678    
679            * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
680            implementations are added.
681    
682            * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
683            implementations are added.
684    
685            * Tree.dis (appendChild, insertBefore, replaceChild): Method
686            implementations are added.
687            (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
688            resources unless for |ManakaiDOM:ManakaiDOMLatest|.
689            (cfg:strict-document-children): New configuration parameter.
690    
691    2006-03-08  Wakaba  <wakaba@suika.fam.cx>
692    
693            * XDoctype.dis (replaceChild): Method implementations are added.
694    
695            * Tree.dis (replaceChild): Method implementations are added.
696    
697            * DOMXML.dis (replaceChild): Method implementations are added.
698    
699    2006-03-07  Wakaba  <wakaba@suika.fam.cx>
700    
701            * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
702            definitions.
703    
704            * XDoctype.dis (insertBefore): New method implementation.
705    
706    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
707    
708            * DOMXML.dis (insertBefore): Method implementations
709            for |ProcessingInstruction| and |Notation| nodes are added.
710    
711            * Tree.dis (insertBefore): Method implementation
712            for |CharacterData| nodes is added.
713    
714            * XDoctype.dis (insertBefore): Method implementation
715            for |ElementTypeDefinition| nodes is added.
716    
717    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
718    
719            * XDoctype.dis (appendChild): New method implementation.
720    
721    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
722    
723            * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
724            (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
725            (REMOVE_DOCUMENT_TYPE_ERR): New error.
726    
727            * DOMXML.dis (ManakaiDOMDocumentType): Removed.
728            (ProcessingInstruction.appendChild, CDATASection.appendChild,
729            Notation.appendChild): New method implementation.
730    
731            * Tree.dis (CharacterData.appendChild): New method implementation.
732    
733            * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
734    
735    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
736    
737            * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
738    
739            * Tree.dis (createAttribute, createAttributeNS,
740            setAttribute, setAttributeNS): They now supports
741            the |cfg:xml-id| configuration parameter.
742            (cfg:xml-id): New configuration parameter.
743    
744            * XDoctype.dis (createAttributeDefinition): It now
745            supports the |cfg:xml-id| configuration parameter.
746    
747            * XMLParser.dis (parse): It now supports
748            the |cfg:xml-id| configuration parameter.
749    
750    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
751    
752            * XMLParser.dis (parse): Sets |Document.documentURI|
753            and |Document.manakaiEntityBaseURI| attributes of the
754            document created.
755            (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
756            property of the created node.
757            (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
758            of the created node.
759            (ls-input-to-input-file.default): Sets the resolved
760            system identifier to the |documentURI| attribute if available.
761            Sets the |baseURI| attribute if available.
762    
763    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
764    
765            * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
766            (Node.baseURI): New attribute implementations.
767            (declarationBaseURI): Setter is added.
768            (manakaiDeclarationBaseURI): New attribute.
769    
770            * Tree.dis (Require): A reference to the |MURI:Generic|
771            module is added.
772            (Node.baseURI): The implementation is revised.
773            (getNodeReference): Attribute node classes specialized
774            to attribute names are supported.
775            (contentBaseURI, htmlBaseURI): Removed.
776            (manakaiEntityBaseURI): New attribute.
777            (ManakaiDOMImplementationDocument): It now inherits
778            the |urigen:URIImplementation| class.
779    
780            * DOMMain.dis (isRelativeDOMURI): The definition
781            of the URI scheme is synced with |Message::URI::Generic|'s
782            one.
783    
784            * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
785            module is added.
786            (DocumentType.implementation): New attribute.
787            (Node.baseURI): Implementations are added.
788            (manakaiDeclarationBaseURI): New attributes.
789            (manakaiEntityBaseURI): New attributes.
790            (manakaiEntityURI): New attribute.
791            (manakaiExternal): New attribute.
792            (manakaiBaseURI): New attribute.
793            (ManakaiDOMXMLBaseAttr): New class.
794    
795    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
796    
797            * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
798            module was missing.
799    
800            * ManakaiDOMLS2003.dis: Some property names was incorrect.
801    
802            * Makefile (distclean): New rule.
803    
804    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
805    
806            * DOMLS.dis: Removed from the CVS repository, since
807            it has been no longer required to make the |daf| system
808            itself.
809    
810    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
811    
812            * Makefile: Revised for new |daf| database format.
813    
814    2006-02-25  Wakaba  <wakaba@suika.fam.cx>
815    
816            * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
817            module is added.
818    
819    2006-02-22  Wakaba  <wakaba@suika.fam.cx>
820    
821            * DOMLS.dis: Constants were typed as |dx:ErrorCode|
822            by mistake.
823    
824    2006-02-18  Wakaba  <wakaba@suika.fam.cx>
825    
826            * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
827            feature.
828    
829            * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
830    
831            * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
832            (DOMImplementationLS.createLSParser): Implemented.
833            (DOMImplementationLS.createLSInput): Revised.
834            (LSInput): Note on relationship with |GenericLS| is added.
835    
836            * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
837    
838    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
839    
840            * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
841            is introduced.
842            (async, busy): Implemented.
843            (parseString): Removed.
844            (parse, parseURI): Implemented.
845            (xp:ls-input-to-input-file): New configuration parameter.
846            (shiftChar): Gets character from current file handle
847            rather than replacement text.  Don't normalize
848            line break characters for internal entities.  Don't
849            throw |xp:wf-legal-literal-character| error
850            for |RestrictedChar| appearing in internal entities.
851            (DISPerl:dpgDef): Call |close| for each entity filehandler.
852            (_EntityDeclaration): Copy document URI and base URI
853            to the entity's |$decl| object.
854            (ParseError): New code fragment.
855            (getCopyOfEntityState): Creates filehandle from replacement
856            text.
857            (xp-error-lines): Don't appends text if no replacement
858            text is available.
859            (error-handler): New configuration parameter application resource.
860            (ManakaiDOMLSInputToInputFile): New class.
861            (ManakaiDOMInputFile): New class.
862    
863            * Tree.dis (getNodeReference): A dereferencing was missing.
864    
865            * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
866    
867    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
868    
869            * XMLParser.dis: Default attribute are now namespace aware.
870            (parseString): Don't output |Document| warnings
871            during tree construction to standard error output.
872    
873    2006-02-16  Wakaba  <wakaba@suika.fam.cx>
874    
875            * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
876            XML Namespace 1.1 is implemented.  Namespace well-formedness
877            error detection is implemented.  Generates |Notation| nodes
878            from notation declarations.
879            (checkNCName, checkQName): New code fragments.
880    
881            * XDoctype.dis (DocumentXDoctype): Factory methods
882            don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
883            is |false|.
884    
885            * DOMCore.dis (wf-invalid-character-in-node-name,
886            wf-invalid-character): Removed (moved to |MDOM:Tree| module).
887    
888            * Tree.dis '(wf-invalid-character-in-node-name,
889            wf-invalid-character): New errors (from |MDOM:DOMCore| module).
890            (Attr.specified): Setter added.
891            (cfg:dtd-default-attributes): New configuration parameter.
892            (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
893            if |Document.strictErrorChecking| is |false|.
894    
895    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
896    
897            * XMLParser.dis: Set |allDeclarationsProcessed|
898            attribute of the |Document| node.  Don't process entity
899            and attribute definition list declarations after
900            unread parameter entity reference.  Warns if an attribute definition is
901            ignored (|xp:warning-attribute-definition-ignored|).  Set
902            flags whether predefined entities are declared or not.
903            WFC error |xp:wf-pes-in-internal-subset| is implemented.
904    
905    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
906    
907            * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
908            if a predefined entity declaration references an external entity.
909            Issues |xp:error-malformed-predefined-entity| error if
910            a predefined entity declaration defines different thing than
911            one as in XML specification.  
912            Issies |xp:warning-entity-declaration-ignored| warning if
913            more than one entity declarations for an entity is found.
914            (WFErrDef): Now all well-formedness errors are marked
915            as |SEVERITY_FATAL_ERROR|.
916    
917            * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
918            predefined entity declarations.
919            (DocumentXDoctype.createNotation): New method.
920            (DocumentTypeDefinition.notations): New attribute.
921            (DocumentTypeDefinition.getNotationNode): New method.
922            (DocumentTypeDefinition.setNotationNode): New method.
923            (newNotationForTest): New code fragment.
924    
925            * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
926            (c:ManakaiDOMNotationMap): New class.
927            (c:ManakaiDOMNotationMapArray): New class.
928            (Document.allDeclarationsProcessed): New attribute.
929    
930            * DOMXML.dis (DocumentType.notations): Implemented.
931            (Notation): Revised.
932            (Notation.ownerDocumentTypeDefinition): New attribute.
933    
934    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
935    
936            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
937            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
938            if a parameter entity declaration contains |NDATA| keyword.
939            (setEmptyEntityState): Set |name| attribute.
940    
941            * Tree.dis (createEntityReference): Don't enter into inifinite
942            loop even if entity replacement tree contains recursive
943            reference directly or indirectly.
944    
945    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
946    
947            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
948            WFC error is implemented.
949    
950    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
951    
952            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
953            configuration parameter |true| during tree construction
954            to ensure default attribute value is cloned as is
955            including entity reference subtree.
956    
957            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
958            parameter.
959            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
960            configuration parameter support is added.
961    
962    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
963    
964            * XMLParser.dis (parseString): General |Entity| replacement
965            tree is not constructed because of a typo.  Clears |EntityReference|
966            content before constructing |Entity| replacement tree.
967            The |xp:wf-entity-declared| well-formedness constraint
968            for entity references in attribute value literal is implemented.
969    
970    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
971    
972            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
973            constaraint for entity references that appear in
974            content of elements is implemented.   Set |EntityReference.isExpanded|
975            attribute.
976            (getEmptyEntityState): New code.
977    
978            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
979            definition is removed.
980    
981            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
982            (EntityReference.isExpanded): Setter is added.
983    
984    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
985    
986            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
987            and |xp:wf-no-external-entity-references| well-formedness
988            constraints are implemented.
989    
990    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
991    
992            * XMLParser.dis ($self->{has_error}): Removed.
993            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
994            errors (including well-formedness constraint errors) are
995            traped by the error handler.
996            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
997            attribute of the node.  Reports an error if |publidLiteral|
998            contains a non-|pubidChar|.
999    
1000            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
1001            version |3.0|).
1002            (ManakaiDOMDocumentTypeDefinition): The class no longer
1003            inherits |x:ManakaiDOMDocumentType| class.  Instead,
1004            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
1005            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
1006            interface (except unimplemented |notations| and |internalSubset|
1007            attributes).
1008            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
1009            for compatibility with |x:DocumentType| interface.
1010            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
1011            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
1012            (ManakaiDOMDocumentTypeDefinition.nodeType,
1013            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
1014            (DocumentTypeDeclaration): New interface.
1015    
1016            * Tree.dis (Node/@f:implements): Typos fixed.
1017            (Node.MUErrorHandler): Missing |last A| statement is added.
1018            (createDocumentType): Throws an exception if |qualifiedName|
1019            is illegal.  Calls |DocumentTypeDefinition.newObject|
1020            instead of obsolete |DocumentType.newObject|.
1021    
1022            * DOMXML.dis (DocumentType.name, DocumentType.entities,
1023            DocumentType.publicId, DocumentType.systemId,
1024            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
1025            as clones of similar attributes or methods
1026            in |MDOM:XDoctype| module.
1027            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
1028            instead).
1029            (DocumentType.childNodes): Removed (|Node.childNodes| definition
1030            is used).
1031    
1032    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
1033    
1034            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
1035            fatal error.
1036    
1037    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
1038    
1039            * XMLParser.dis (CommentDeclaration): |STRING| is now
1040            defined as a |?default-token|.
1041            (XMLTests): Tests for |Char - RestrictedChar| matchness,
1042            comment declarations, cdata sections, and |MSE| in |content|
1043            added.
1044            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
1045            (get-location-from-token): |$token->{location_d}|
1046            for |?default-token| column counting support added.
1047    
1048            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
1049    
1050    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1051    
1052            * Tree.dis (createProcessingInstruction): Don't
1053            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
1054            is |false|.
1055    
1056            * XMLParser.dis (parseString): Initializes |$self->{location}|.
1057            It enables improved error position report.
1058            (XDO): It now includes |S+| following target name |xml| as
1059            part of the token.  (PI with target starting with |xml|
1060            was unable to be placed at the beginning of the document entity.)
1061            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
1062            a processing instruction node with |#INVALID| node name
1063            if target name is not given and recovered from the error.
1064            (S): Variable |$s| added.
1065            (XMLTests): Tests for XML declarations and processing
1066            instructions are added.  Prints error type name if unexpected
1067            error with severity of error or fatal error has been reported.
1068            Catch unexpected exceptions thrown in parser (different
1069            from |LSException|), prints its message, and invoke |$test->not_ok|
1070            for the ease of testing.
1071            (xp:get-location-from-token): Location values now take |$self->{char}|
1072            stack into acount.
1073            
1074    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1075    
1076            * XMLParser.dis (shiftChar): Line and column number counting
1077            is fixed.  Although the DOM Level 3 Core specification
1078            is unclear about whether the first number is zero or one,
1079            in most programs the first line is "one" and
1080            the first column is "one", manakai follows the practice.
1081            (_XMLDeclaration): Don't set |xmlStandalone| value
1082            if |standalone| pseudo-attribute value is |no|.  XML declaration
1083            tests (successful cases) added.
1084            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
1085            properties.
1086    
1087    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1088    
1089            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
1090    
1091    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
1092    
1093            * DOMCore.dis (c:erred): New property.
1094            (c:DOMErrorType): It should have been a subset
1095            of |ecore:AnyErrorCode|.
1096    
1097            * XMLParser.dis (XMLTests): Empty input tests added.
1098    
1099    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
1100    
1101            * XDoctype.dis (d:Feature): New canonical feature
1102            name |fe:XDoctype| is added.
1103    
1104            * XMLParser.dis: Predefined general entity references
1105            are implemented.  Creates |Entity| nodes from general entities
1106            declared in internal subset.  |Entity| nodes created from internal
1107            general parsed entities now have replacement tree.
1108            Sets |cfg:entity-reference-read-only| flag off during
1109            the tree generation.  Some parsing rules use |$self->{doc}|
1110            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
1111            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
1112            introduced.  General entity references in attribute value literal
1113            are supported.
1114    
1115    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
1116    
1117            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
1118            parameter name changed to |cfg:entity-reference-read-only|.
1119            (createEntityReference): Set |c:read-only| flag of
1120            the created entity reference, too.
1121    
1122            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
1123    
1124            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
1125            from |DOMFeature| module instead.  Use |idl:Object|
1126            instead of |DOMMain:DOMObject| as well.
1127            (Generic): New canonical feature name |fe:GenericLS| added.
1128            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
1129            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
1130            respectively.
1131    
1132            * DOMXML.dis (entities, notations): Perl code removed.
1133            It will be reimplemented using |DocumentTypeDefinition|
1134            class from |XDoctype| module.
1135    
1136            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
1137            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
1138            SimpleLS.dis: Cleaned up unused definitions.
1139    
1140            * DOMCore.dis, DOMLS.dis (CParam): Definitions
1141            for LS module moved from |DOMCore| module to |DOMLS| module.
1142            This change makes |DOMCore| to |DOMLS| dependency removed.
1143    
1144            * .cvsignore (.html.pm, .ls.pm): Removed.
1145    
1146            * Makefile (.html.pm, .ls.pm): Removed.
1147            (feature.dae): Include |GenericLS| module.
1148            (core.dae): Don't include |DOMLS| and |GenericLS| module.
1149            (ls.dae): Include |DOMLS| module.
1150    
1151    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
1152    
1153            * XMLParser.dis: Tests on default attributes and their |specified|
1154            attribute are added.
1155    
1156            * XDoctype.dis (createGeneralEntity): New method.
1157            (generalEntities): New attribute.
1158            (getGeneralEntityNode, setGeneralEntityNode): New methods.
1159    
1160            * Tree.dis (ManakaiDOMEntities): Removed.
1161            (ManakaiDOMEntityMap): New class.
1162            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
1163            (createEntityReference): If there is a corresponding |Entity|
1164            node in the document type definition, then copies its
1165            subtree.
1166    
1167            * DOMXML.dis (Entity): Documentation updated.
1168            (publicId, systemId, notationName, xmlEncoding,
1169            xmlVersion): These attributes are now settable
1170            if |ManakaiDOM:ManakaiDOMLatest| mode.
1171            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
1172            mode.
1173            (ownerDocumentTypeDefinition): New attribute
1174            for |ManakaiDOM:ManakaiDOMLatest| mode.
1175            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
1176    
1177    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
1178    
1179            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
1180    
1181            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
1182    
1183            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
1184            (ManakaiDOMAttributes): Removed.
1185            (ManakaiDOMAttrMap): New class.
1186            (ManakaiDOMAttrMapArray): New class.
1187            (namespaceURI): Bug to return a string representation
1188            of a reference to the namespace URI string is fixed.
1189            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
1190            (removeAttribute, removeAttributeNS): DTD default attributes
1191            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
1192            if there is no attribute node.
1193            (createElement, createElementNS): DTD default attributes are supported.
1194            (setAttributeNode): Reimplemented.
1195    
1196    2006-01-27  Wakaba  <wakaba@suika.fam.cx>
1197    
1198            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
1199    
1200            * Tree.dis (STORESIZE): Index bound bug fixed.
1201            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
1202            (schemaTypeInfo): Implemented for XML DTD.
1203            (isId): Returns |true| if [attribute type] is |ID|.
1204            (setAttribute, setAttributeNS): Sets [attribute type]
1205            of the newly created |Attr| node (if any) when attribute
1206            definition is available.
1207            (doctype, documentElement): Reimplemented with tests.
1208    
1209            * XMLParser.dis: Sets [attribute type] information
1210            to created |Attr| nodes.  Normalize namespace URIs
1211            when such information are available (unlikely but legal).
1212            (_HexadecimalCharacterReference): Number to character
1213            convertion bug fixed.
1214            (_DocumentTypeDeclaration): Sets |schema-type|
1215            configuration parameter to XML DTD URI.
1216    
1217    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
1218    
1219            * XMLParser.dis (_AttlistDeclaration): Now it can generate
1220            attribute definition nodes.
1221    
1222            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
1223            and another |UNKNOWN_ATTR| constant is introduced
1224            for consistency with XML Infoset.
1225    
1226            * DOMCore.dis (TypeInfo): Documentation updated.
1227    
1228    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
1229    
1230            * XDoctype.dis: A bug in test code fixed.
1231    
1232            * Tree.dis (NamedNodeMap): Element type or attribute
1233            definition named node maps now can be dereferenced
1234            as if they are array or hash references.
1235            (removeNamedItem, item, ___report_error): Implemented for element type
1236            or attribute definitions.
1237            (length): Tests added.
1238            (NamedNodeMapArray): New classes.
1239    
1240    2006-01-25  Wakaba  <wakaba@suika.fam.cx>
1241    
1242            * XDoctype.dis (setElementTypeDefinitionNode,
1243            setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
1244            if the new node is already used for another definition.
1245            (DocumentTypeDefinition, ElementTypeDefinition): Node
1246            property name was incorrect.
1247            (elementTypes, attributeDefinitions): Checks to
1248            ensure the collection is empty added.
1249    
1250            * Tree.dis: Property name typos fixed.
1251            (setNamedItem, setAttributeNode): Don't return any node
1252            if it replace itself.
1253            (c:userDeterminedId): Missing definition added.
1254    
1255            * DOMXML.dis (Notation): Missing property specification
1256            of|c:ownerDocument| as |mn:xrefnode0| is added.
1257    
1258    2006-01-23  Wakaba  <wakaba@suika.fam.cx>
1259    
1260            * DOMCore.dis (Test): Missing argument added.
1261            (setNamedItem): If |DocumentType| with no |ownerDocument|,
1262            addition always fails with |WRONG_DOCUMENT_ERR|.  Some
1263            error conditions were incorrect.
1264    
1265            * .cvsignore: Dummy files added.
1266    
1267    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
1268    
1269            * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
1270            INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
1271    
1272            * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
1273            to avoid uninitialized value warning.
1274    
1275            * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
1276            classes (work in progress).
1277    
1278            * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
1279    
1280    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
1281    
1282            * Tree.dis (getAttribute): Returns |null| if there
1283            is no attribute in |ManakaiDOM:DOMLatest| for compatibility
1284            with Web browser implementations.
1285            (getAttributeNS): It returned |null| if there
1286            is no attribute in any |For| unintentionally.  It now
1287            returns an empty string in DOM levels less than or equals
1288            to three.
1289    
1290            * XMLParser.dis (shiftChar): Fixed not to be warned as
1291            uninitialized value or substring out of range.
1292    
1293    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
1294    
1295            * DOMXML.dis (DocumentType.childNodes): Removed
1296            from |ManakaiDOM:ManakaiDOMLatest| variant.
1297    
1298            * XMLParser.dis: Parsing of general internal entities implemented.
1299            (_DocumentTypeDeclaration): Appends a document type definition
1300            node to the document.
1301            (_ProcessingInstructionDTD): Appends a processing
1302            instruction node to the document type definition.
1303            (Element_): Document element could not be an |EmptyElemTag|.
1304    
1305    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
1306    
1307            * DOMFeature.dis (featuresParamToFeaturesHash): New block
1308            code (seprated from |InputProcessor|).  Now
1309            a |features| parameter's version can be specified by
1310            an array reference that contains a set of version
1311            numbers.  A test added.
1312    
1313            * XMLParser.dis: A test added.
1314    
1315    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
1316    
1317            * DOMCore.dis (Test): Don't invoke |DESTROY| method
1318            because it does not work with dummy object used in the test code.
1319    
1320    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
1321    
1322            * DOMMain.dis (checkXMLNamesQName): Checks whether
1323            namespace URI is defined for not being warned.
1324    
1325            * XDoctype.dis: New module.
1326    
1327            * DOMCore.dis (DOMStringList): Test added.
1328    
1329            * Makefile: |XDoctype.pm| added.
1330    
1331            * Tree.dis (Require): Requires |XDoctype.dis|.
1332            (ManakaiDOMNodeObjectNode.eq): Added.
1333            (Test): |DOMError.location| must return a |DOMLocator|
1334            object (it was incorrectly tested to return |null|).
1335            (EmptyNodeList.DESTROY): Removed.
1336    
1337    2006-01-04  Wakaba  <wakaba@suika.fam.cx>
1338    
1339            * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
1340            |ATTRIBUTE_DEFINITION_NODE| node types added.
1341            (appendChild, insertBefore, replaceChild): New
1342            two node types added and processing instruction nodes
1343            as document type definition node child is allowed
1344            in |ManakaiDOM:ManakaiDOMLatest| mode.
1345            (getNodeReference): New |interface| parameter
1346            to filter classes by interface is added.
1347            (ElementTypeDefinitionRole): New role.
1348            (AttributeDefinitionRole): New role.
1349    
1350    2006-01-02  Wakaba  <wakaba@suika.fam.cx>
1351    
1352            * DOMCore.dis (DOMStringList): Reimplemented as tied array.
1353    
1354    2005-12-31  Wakaba  <wakaba@suika.fam.cx>
1355    
1356            * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
1357            if it is not provided.
1358    
1359            * XMLParser.dis: Parsing methods to skip document
1360            type declaration is added.
1361    
1362    2005-12-29  Wakaba  <wakaba@suika.fam.cx>
1363    
1364            * XMLParser.dis (shiftChar): Checks characters are legal
1365            or not.  Normalize end-of-lines.
1366            (rule _XMLDeclaration_): Implemented.
1367            (WFErrDef): Well-formedness error |wf-syntax-error|,
1368            |wf-pi-target-is-xml|, |wf-no-end-tag|,
1369            |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
1370            |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
1371            |wf-element-type-match|, |wf-unique-att-spec|,
1372            |wf-legal-character| added.
1373            (%character-code-point): New formatter rule.
1374    
1375            * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
1376    
1377            * DOMCore.dis (DOMError.stringify): Added.
1378            (error-handler.default): Returns |false| (don't continue)
1379            when the error severity is |SEVERITY_FATAL_ERROR|.
1380    
1381    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
1382    
1383            * XMLParser.dis (DocumentEntity): Typos fixed.
1384            (|lexmode|s): New |?default-token| statements are used
1385            so that tokenizer description has been simplified
1386            and CDATA sections now can be parsed.
1387    
1388    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
1389    
1390            * XMLParser.dis: Some modifications made.
1391    
1392    2005-12-27  Wakaba  <wakaba@suika.fam.cx>
1393    
1394            * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
1395            global named resource.
1396    
1397            * Makefile: Rules to make |XMLParser.pm| is added.
1398    
1399            * XMLParser.dis: New file.
1400    
1401    2005-12-24  Wakaba  <wakaba@suika.fam.cx>
1402    
1403            * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
1404            message formatter can now vary by error types.
1405            (DOMLocator.utf32Offset): New (manakai extended) attribute.
1406    
1407    2005-12-23  Wakaba  <wakaba@suika.fam.cx>
1408    
1409            * DOMCore.dis (DOMLocator): Implemented.
1410    
1411    2005-12-21  Wakaba  <wakaba@suika.fam.cx>
1412    
1413            * DOMCore.dis (DOMConfigurationParameterApplication,
1414            domConfigurationParameter): New resources.
1415    
1416    2005-11-25  Wakaba  <wakaba@suika.fam.cx>
1417    
1418            * Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error):
1419            New methods.
1420    
1421    2005-11-24  Wakaba  <wakaba@suika.fam.cx>
1422    
1423            * DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__|
1424            blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks.
1425    
1426            * DOMMain.dis (___report_error): Throws the error unkess
1427            it is a |DOMCore:DOMError| object.
1428            
1429    2005-11-24  Wakaba  <wakaba@suika.fam.cx>
1430    
1431            * DOMCore.dis (severity, type): Getters return value from
1432            the definition of the current error (i.e. |-def| hash).
1433            (___error_def): New method.
1434            (errorType): |dis:dataType| changed to |DISCore:TFQNames|
1435            to ease natural reference to constant value.
1436            (error-handler.default): Prints the error message by |warn|.
1437    
1438            * Tree.dis (nodeValue.set): Reimplemented so that it
1439            warns as setting has no effect.
1440            (___report_error): New method.  (It had been only implemented
1441            in superclass.)
1442            (setting-node-value-no-effect): New error type.
1443    
1444    2005-11-23  Wakaba  <wakaba@suika.fam.cx>
1445    
1446            * DOMCore.dis: Error codes added.
1447    
1448            * Tree.dis (destroyNodeStem): New method implementation.
1449    
1450    2005-11-22  Wakaba  <wakaba@suika.fam.cx>
1451    
1452            * Tree.dis (cloneNode): User data handlers implemented.
1453            (adoptNode): User data handlers implemented.
1454            
1455    2005-11-21  Wakaba  <wakaba@suika.fam.cx>
1456    
1457            * DOMCore.dis (UserDataHandler): A constraint for Perl binding
1458            added.
1459    
1460            * Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
1461            (getUserData, setUserData): Implemented.
1462    
1463    2005-11-20  Wakaba  <wakaba@suika.fam.cx>
1464    
1465            * DOMCore.dis (UserDataHandler): Implemented.
1466            (DOMErrorHandler): Blessed package name bug fixed.
1467    
1468            * ManakaiDOMLS2003.dis: Reference to |Node| subclasses
1469            changed to |Tree.dis|.
1470            
1471    2005-11-20  Wakaba  <wakaba@suika.fam.cx>
1472    
1473            * DOMMain.dis: Unused declarations and definitions removed.
1474    
1475            * DOMCore.dis: DOM document tree related interfaces removed.
1476    
1477            * Tree.dis: New module separated from |DOMCore.dis|.
1478    
1479            * DOMXML.dis: Some referent changed to |Tree.dis|.
1480    
1481            * Makefile: |Tree.dis| added.
1482    
1483    2005-11-16  Wakaba  <wakaba@suika.fam.cx>
1484    
1485            * .cvsignore: Revised.
1486            
1487    2005-11-16  Wakaba  <wakaba@suika.fam.cx>
1488    
1489            * ManakaiDOMLS2003.dis: Tests added.
1490            (domConfig): Method name in the code fixed to |flag|.
1491    
1492            * DOMMain.dis (findOffset32): Missing |^| in regular expressions
1493            added.
1494    
1495            * DOMCore.dis (hasChildNodes): Returns |false| if the node type
1496            is defined not to have any children.
1497            (CharacterData): Typos in element type names and function names fixed.
1498    
1499    2005-11-15  Wakaba  <wakaba@suika.fam.cx>
1500    
1501            * DOMFeature.dis (MinimumImplementation.eq): Added.
1502    
1503            * DOMMain.dis: |DISPerl:ISA| reference fixed.
1504    
1505            * Generic.dis: Implements new |DOMLS:Generic| feature.
1506    
1507    2005-11-15  Wakaba  <wakaba@suika.fam.cx>
1508    
1509            * DOMFeature.dis (stringifyFeatures): Don't double |SPACE|
1510            characters between feature names and versions.
1511    
1512    2005-11-13  Wakaba  <wakaba@suika.fam.cx>
1513    
1514            * DOMFeature.dis (stringifyFeatures): A test code added.
1515    
1516    2005-10-26  Wakaba  <wakaba@suika.fam.cx>
1517    
1518            * SimpleLS.dis (writeToString): Don't stop serializing
1519            when an |false| value appears in |@src|.
1520    
1521    2005-10-16  Wakaba  <wakaba@suika.fam.cx>
1522    
1523            * DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented.
1524            (ErrDef): Redefined.
1525    
1526            * DOMLS.dis (ErrDef): Redefined.
1527    
1528    2005-10-16  Wakaba  <wakaba@suika.fam.cx>
1529    
1530            * DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject".
1531    
1532  2005-10-15  Wakaba  <wakaba@suika.fam.cx>  2005-10-15  Wakaba  <wakaba@suika.fam.cx>
1533    
1534          * DOMCore.dis (Require): References "DOMLS.dis" module.          * DOMCore.dis (Require): References "DOMLS.dis" module.

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.196

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24