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

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.184

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24