/[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.116 by wakaba, Wed Feb 8 09:49:58 2006 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>  2006-02-08  Wakaba  <wakaba@suika.fam.cx>
1075    
1076          * XMLParser.dis (shiftChar): Line and column number counting          * XMLParser.dis (shiftChar): Line and column number counting

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24