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

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.182

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24