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

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.171

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24