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

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.177

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24