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

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.195

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24