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

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.188

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24