/[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.106 by wakaba, Mon Jan 23 13:55:46 2006 UTC revision 1.180 by wakaba, Sun Apr 30 09:48:44 2006 UTC
# Line 1  Line 1 
1    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
2    
3            * CharacterData.dis (Require): A reference to
4            the |MDOM:Traversal| module is added.
5            (wholeText): Implemented.
6    
7    2006-04-30  Wakaba  <wakaba@suika.fam.cx>
8    
9            * Makefile: |Traversal.dis| is added.
10    
11            * Traversal.dis: New module.
12    
13            * TreeCore.dis (___report_error): Return value was
14            not propagated.
15    
16    2006-04-29  Wakaba  <wakaba@suika.fam.cx>
17    
18            * Element.dis (removeAttributeNS): A runtime error
19            was occurred if there was no specified attribute node.
20    
21            * TreeCore.dis (manakaiLanguage): New attribute.
22    
23    2006-04-28  Wakaba  <wakaba@suika.fam.cx>
24    
25            * TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly):
26            New attributes.
27    
28            (StaticNodeList): New interface.
29    
30    2006-04-24  Wakaba  <wakaba@suika.fam.cx>
31    
32            * DOMCore.dis (c:SET_TO_NULL_ERR): New error code.
33    
34    2006-04-22  Wakaba  <wakaba@suika.fam.cx>
35    
36            * SimpleLS.dis: Reimplemented.
37    
38    2006-04-22  Wakaba  <wakaba@suika.fam.cx>
39    
40            * DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now
41            a qualified name.
42            (tc:EXTERNAL_NODE_COMPARISON_ERR): New error type.
43    
44            * TreeCore.dis (compareDocumentPosition): Implemented.
45            (normalize): Implemented.
46            (STORESIZE, CLEAR): Were not implemented for |EmptyNodeList|
47            class.
48    
49    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
50    
51            * DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.
52    
53    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
54    
55            * CharacterData.dis (length, insertData, substringData,
56            appendData, deleteData, replaceData, splitText): Reimplemented.
57    
58            * DOMCore.dis (NEGATIVE_LENGTH_ERR): New error.
59            (c:index): The definition was missing.
60            (c:length): New property.
61    
62    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
63    
64            * XMLParser.dis (close): Invoke |close| method
65            rather than |close| function.
66    
67    2006-04-16  Wakaba  <wakaba@suika.fam.cx>
68    
69            * CharacterData.dis: New module split from |TreeCore.dis|.
70    
71            * CharacterData.pm: Added to the CVS repository.
72    
73            * TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
74            interfaces are removed.
75            (Require): A reference to the |MDOM:CharacterData| module
76            is added.
77    
78            * DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.
79    
80            * DOMCore.dis (StringOutOfBoundsException): New error.
81    
82            * Makefile: |CharacterData.pm| is added.
83    
84    2006-04-09  Wakaba  <wakaba@suika.fam.cx>
85    
86            * XMLParser.dis (Require): Requires the |MCharset:Encode|
87            module.
88            (parse): Set the |inputEncoding| attribute of the generated document
89            object.
90            (resolveLSInput default implementation): The |byteStream|
91            and |encoding| attributes of the |LSInput| interface
92            are now supported.
93            (resolveLSInput): Parameters |impl| and |parser| are added.
94            (InputFile.inputEncoding): New attribute.
95    
96    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
97    
98            * Document.dis (adoptNode test): Documents were
99            made by different documents.
100    
101    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
102    
103            * XMLParser.dis: The |cfg:dtd-default-attributes| configuration
104            parameter is changed to |cfg:dtd-default-attribute|.
105    
106    2006-04-04  Wakaba  <wakaba@suika.fam.cx>
107    
108            * TreeCore.dis: The |DOMMain:raiseException| elements
109            are replaced by |disPerl:EXCEPTION|s.
110    
111    2006-04-03  Wakaba  <wakaba@suika.fam.cx>
112    
113            * DOMMain.dis (GetPropNode, CheckReadOnly): Removed.
114    
115            * Node.dis (cfg:dtd-default-attribute): The configuration
116            parameter |cfg:dtd-default-attributes| is renamed
117            as |cfg:dtd-default-attribute|.
118            (Roles): Definitions are changed so that classes
119            that implement those classes MUST implement the |Node|
120            and its subinterfaces.
121            (cfg:dtd-attribute-type): New configuration parameter.
122    
123            * Document.dis (adoptNode): Don't throw exception
124            if |strictErrorChecking| is |false|.
125    
126            * Element.dis (setAttribute, setAttributeNS): Don't
127            set [attribute type] if the |cfg:dtd-attribute-type|
128            configuration parameter is set to |false|.
129            (removeAttribute, removeAttributeNS, removeAttributeNode): Don't
130            regenerate default attribute nodes if the |cfg:dtd-default-attribute|
131            configuration parameter is set to |false|.
132    
133    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
134    
135            * TreeStore.dis: New module.
136    
137            * Makefile: |TreeStore.dis| is added.
138    
139    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
140    
141            * XMLParser.dis: Updated so that it can be used
142            with |TreeCore.pm|, |Document.pm|, |Element.pm|,
143            and |XML.pm|.  Set the read-only flag to
144            the |DocumentType|, |Entity|, and |EntityReference| noes.
145    
146            * Node.dis (textContent): It did not handle descendant
147            element and entity reference nodes.
148    
149            * Element.dis, XML.dis (manakaiBaseURI.get): Its
150            definition has been changed to return only explicit
151            base URI specification.
152    
153            * DOMLS.dis (LSInput, LSOutput): They no longer
154            inherits the |ManakaiDOM:ManakaiDOMObject| class.
155    
156            * Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.
157    
158            * Tree.pm, DOMXML.pm: Removed.
159    
160            * TreeCore.pm, Document.pm, Element.pm: Added
161            to the CVS repository since they are necessary to
162            build the dis library.
163    
164            * Makefile: Sync'ed to new modules disposition.
165    
166    2006-04-02  Wakaba  <wakaba@suika.fam.cx>
167    
168            * Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
169            removed.  For |Element.pm| and |Document.pm| are added.
170    
171            * Document.dis, Element.dis: New module split from |TreeCore.dis|.
172    
173            * TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.
174    
175    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
176    
177            * DOMFeature.dis (getImplementation, getImplementationList): Support
178            for new class information variables.
179            (DOMLS:Generic): This old feature name is removed.
180    
181            * GenericLS.dis (createGLSParser, createGLSSerializer): Support
182            for new class information variables.
183    
184            * TreeCore.dis (manakaiExpandedURI): New attribute.
185            (Document, Element.___create_node_ref): New method
186            implementations.
187    
188    2006-04-01  Wakaba  <wakaba@suika.fam.cx>
189    
190            * TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
191            Reimplemented.
192            (isId): Setter is added.
193            (Element.normalize): Definition copied from the |MDOM:Tree|
194            module.
195    
196    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
197    
198            * Makefile (clean-db): New rule.
199    
200            * TreeCore.dis (setUserData): Schedule to invoke
201            the user data handler when the node is removed
202            from the memory.
203            (setAttribute, setAttributeNS): Set the [attribute type]
204            if DTD attribute definition is available.
205            (CharacterData members): Definitions copied from
206            the |MDOM:Tree| module.
207    
208    2006-03-31  Wakaba  <wakaba@suika.fam.cx>
209    
210            * DOMCore.dis (DOMStringList.==): New overloaded operator.
211    
212            * DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
213            class did not implement the |GetFeature| interface.
214            (hasFeature): The |+| prefix was not taken into account.
215    
216            * TreeCore.dis (Node): The class now inherits
217            the |ManakaiHasFeatureByGetFeature| class.  It now
218            implements the |f:GetFeature| and |ecore:MUErrorTarget|
219            interfaces.
220            (CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
221            is supported.
222            (lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
223            (manakaiParentElement): New attribute.
224    
225            * XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
226            is removed.
227            (lookupPrefix): Old method implementation is removed.
228    
229            * XML.dis (CDATASection): The |mg:NodeRefRole| was
230            missing because of the |DISCore:stopISARecursive| property.
231    
232            * TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
233            They now pass all tests included in those modules!
234    
235    2006-03-30  Wakaba  <wakaba@suika.fam.cx>
236    
237            * DOMCore.dis (Require): A reference to the |MURI:Generic|
238            module is added.
239            (ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
240            (ManakaiDOMImplementation): It now inherits
241            the |urigen:ManakaiURIImplementation| class and
242            implements the |ecore:MUErrorTarget| interface.  It no
243            longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
244            (ManakaiDOMImplementation.___report_error): New method.
245    
246            * DOMFeature.dis (Require): It now references the |Util:Grove|
247            module instead of |Util:ManakaiNode| module.
248            (DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
249            (f:ManakaiMinimumImplementationCompatible): New role.
250            (ManakaiMinimumImplementation): Now it is built
251            on the new |Util:Grove| module rather than the |Util:ManakaiNode|
252            module.
253            (f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
254            (c:implementation): Removed.
255            (f:implementation, f:revImplementation): New properties.
256    
257            * DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.
258    
259            * Tree.dis (cfg:clone-entity-reference-subtree,
260            cfg:dtd-default-attributes, cfg:xml-id,
261            cfg:strict-document-children): Removed (moved
262            to the |MDOM:TreeCore| module).
263    
264            * TreeCore.dis (Require): The reference to the |MURI:Generic|
265            module is removed.
266            (ManakaiDOMImplementationTC): Some members are removed
267            since they are incorporated to the |c:ManakaiDOMImplementation|
268            or the |f:ManakaiMinimumImplementation|.
269            (tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
270            (replaceChildImpl1): A typo on the removing the parent node
271            of the old child node is fixed.
272            (f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
273            module).
274            (tc:implementation, tc:revImplementation): Removed (moved
275            to the |MDOM:DOMFeature| module).
276            (Document.appendChild, insertBefore, replaceChild): Sets
277            the |ownerDocument| attribute of the |tx:DocumentType| nodes.
278            (Attr.prefix, Element.prefix): Don't raise "uninitialized"
279            when the new value is |null|.
280            (Attr.___create_node_ref): Attribute name and
281            owner element type specific classes are supported (it
282            was partially implemented but was incorrect).
283            (ManakaiDOMGetElementsNodeList.item): Don't return
284            a node if the |index| is negative.
285            (setNamedItem): Various typos are fixed.
286            (removeNamedItem): The node was not removed orz
287            (cfg:clone-entity-reference-subtree,
288            cfg:dtd-default-attributes, cfg:xml-id,
289            cfg:strict-document-children): Definitions are moved
290            from the |MDOM:Tree| module.  Note that the tests for default
291            attributes still fail.
292            (ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
293            (Attr): Role name was incorrect.
294    
295            * XDoctype.dis (setDefinitionNode): Return value was
296            not set.
297            (AttributeDefinition): Role name was incorrect.
298    
299            * XML.dis (Require): A reference to the |DISlib:DISMarkup|
300            module is added.
301            (Notation.appendChild, insertBefore, replaceChild): New method
302            implementations.
303            (Entity.appendChild, insertBefore, replaceChild): New method
304            implementations.
305            (EntityReference.appendChild, insertBefore, replaceChild): Now
306            they are defined as copies of ones in the |Entity| class.
307            (XMLBaseAttribute, XMLIdAttribute): Now they are
308            namespace unaware attributes.
309            (XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
310            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
311            to namespace aware attributes are added.
312    
313    2006-03-29  Wakaba  <wakaba@suika.fam.cx>
314    
315            * DOMCore.dis: Namespace prefixes are changed to new ones.
316    
317            * TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
318            untested).
319            (___report_error): Reimplemented (untested).
320            (manakaiSetReadOnly): New method.
321            (Attr.___create_node_ref): New method (untested).
322            (Document.getFeature): |require|s the |MDOM:XML| Perl module.
323            (createEntityReference, cloneNode): Support for
324            the |cfg:entity-reference-read-only| configuration
325            parameter is removed; newly created entity references
326            are always read-only and use the |manakaiSetReadOnly| method
327            if desired.
328            (Element.manakaiBaseURI): Reimplemented (untested).
329    
330            * XDoctype.dis (createGeneralEntity, createNotation): |require|s
331            the |MDOM:XML| Perl module.
332            (DocumentTypeDefinition.___create_node_stem): Sets
333            the |tc:implementation| internal property if its value
334            is provided.  The |infoset:content| internal property name
335            was incorrect.
336            (DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
337            read-only |NodeList| and |DOMStringList| are added
338            for clarification.
339    
340    2006-03-26  Wakaba  <wakaba@suika.fam.cx>
341    
342            * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
343            module is added.
344            (DOMStringList): Reimplemented for new |d:AttributeDefinition|
345            implementation (untested).
346    
347            * TreeCore.dis (baseURI): Reimplemented (untested).
348            (Roles): Definitions added.
349    
350            * XDoctype.dis (Require): References to the |MDOM:TreeCore|
351            and |MDOM:XML| modules are added.  Reference to the |MDOM:Tree|
352            module is removed.
353            (DocumentXDoctype): Reimplemented (untested).
354            (DocumentTypeDefinition, DocumentTypeDeclaration):
355            Reimlemented (untested).
356            (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
357    
358            * XML.dis (FeatureDef): New features (definitions copied
359            from the |MDOM:DOMXML| module).
360            (DocumentType): New interface (definition copied from
361            the |MDOM:DOMXML| module).
362            (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
363            Reimplemented (untested).
364            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
365    
366    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
367    
368            * TreeCore.dis (Document): Most methods are reimplemented (untested).
369    
370    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
371    
372            * TreeCore.dis (Document): Attributes are reimplemented (untested).
373            (Text, DocumentFragment, Comment): Most members are
374            reimplemented (untested).
375    
376    2006-03-24  Wakaba  <wakaba@suika.fam.cx>
377    
378            * DOMMain.dis (checkXMLNamesQName): Some checks are
379            removed to sync with DOM Level 3 Core specification.
380    
381            * TreeCore.dis (Element): Most methods are reimplemented (untested).
382            (GetElementsNodeList): Reimplemented (untested).
383    
384    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
385    
386            * Tree.dis (cfg:strict-document-children): The configuration
387            parameter must also affect on |manakaiAppendText|
388            and |textContent| on |Document| nodes.
389    
390            * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
391            parameter changes the class to |bless|.
392            (Node): Most methods are reimplemented.  (Untested)
393            (CharacterData, Attr): Most methods and attributes are
394            reimplemented.  (Untested)
395    
396            * XML.dis, XDoctype.dis: Most |Node| methods are
397            reimplemented (untested).
398    
399    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
400    
401            * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
402            (untested).
403    
404    2006-03-22  Wakaba  <wakaba@suika.fam.cx>
405    
406            * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
407            a qualified name.
408    
409            * DOMMain.dis (ensureNamespacePrefix): Undefines
410            the prefix if it is an empty string.  (Note that
411            it is defined as implementation dependent in
412            DOM Level 3 Core specification).
413    
414            * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
415            module.
416            (Node): Attributes are reimplemented (untested).
417    
418            * XML.dis (Require): It now references the |MDOMX:XDoctype|
419            module.
420            (Node): Attributes are reimplemented (untested).
421            (Entity, Notation): New interfaces.
422    
423            * XDoctype.dis (Node): Attributes are reimplemented (untested).
424    
425    2006-03-19  Wakaba  <wakaba@suika.fam.cx>
426    
427            * TreeCore.dis (childNodes, firstChild, lastChild,
428            nextSibling, previousSibling, appendChild, insertBefore,
429            replaceChild, removeChild, createDocumentFragment,
430            createEntityReference, createProcessingInstruction,
431            domConfig, documentElement, implementation, manakaiAppendText): New.
432            (NodeList, DocumentFragment): New interfaces.
433    
434            * XML.dis (EntityReference, ProcessingInstruction): New interface.
435    
436    2006-03-18  Wakaba  <wakaba@suika.fam.cx>
437    
438            * TreeCore.dis (Require): The |MDOM:XML| module is added.
439            (createAttributeNS, createTextNode, createComment,
440            createCDATASection): New methods.
441            (Attr, Text, Comment, CharacterData): New interfaces.
442    
443            * Makefile: |XML.dis| is added.
444    
445            * XML.dis: New module.
446    
447    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
448    
449            * TreeCore.dis (manakaiReadOnly): New attribute.
450            
451    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
452    
453            * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
454            prefix, isSameNode, ownerDocument, parentNode): New.
455            (Element): New interface.
456            (createElementNS): New method.
457            (strictErrorChecking): New.
458    
459    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
460    
461            * Makefile: |TreeCore.dis| is added.
462    
463            * TreeCore.dis: New module.
464    
465    2006-03-16  Wakaba  <wakaba@suika.fam.cx>
466    
467            * XMLParser.dis (cfg:entity-replacement-tree): New configuration
468            parameter.
469    
470            * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
471    
472            * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
473            data types added to configuration parameters.
474    
475    2006-03-15  Wakaba  <wakaba@suika.fam.cx>
476    
477            * DOMCore.dis (c:DOMConfigurationParameter): Now it is
478            a |DISSource:ResourceProperty|.
479            (c:anyDOMConfigurationParameter): New property.
480            (CParam, boolCParam): Now they are all |dis:subsetOf|
481            the |c:anyDOMConfigurationParameter| property.
482            (ForDocument, ForParser, ForSerializer): Removed.
483    
484            * DOMLS.dis, XMLParser.dis: Likewise.
485    
486    2006-03-12  Wakaba  <wakaba@suika.fam.cx>
487    
488            * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
489            are removed.
490    
491            * GenericLS.pm: Added to the CVS repository since
492            it is necessary to create the |Message::Util::DIS::DPG| module.
493    
494    2006-03-10  Wakaba  <wakaba@suika.fam.cx>
495    
496            * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
497            method.
498    
499            * XMLParser.dis: Don't create adjacent text nodes.
500    
501    2006-03-09  Wakaba  <wakaba@suika.fam.cx>
502    
503            * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
504    
505            * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
506            implementations are added.
507    
508            * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
509            implementations are added.
510    
511            * Tree.dis (appendChild, insertBefore, replaceChild): Method
512            implementations are added.
513            (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
514            resources unless for |ManakaiDOM:ManakaiDOMLatest|.
515            (cfg:strict-document-children): New configuration parameter.
516    
517    2006-03-08  Wakaba  <wakaba@suika.fam.cx>
518    
519            * XDoctype.dis (replaceChild): Method implementations are added.
520    
521            * Tree.dis (replaceChild): Method implementations are added.
522    
523            * DOMXML.dis (replaceChild): Method implementations are added.
524    
525    2006-03-07  Wakaba  <wakaba@suika.fam.cx>
526    
527            * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
528            definitions.
529    
530            * XDoctype.dis (insertBefore): New method implementation.
531    
532    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
533    
534            * DOMXML.dis (insertBefore): Method implementations
535            for |ProcessingInstruction| and |Notation| nodes are added.
536    
537            * Tree.dis (insertBefore): Method implementation
538            for |CharacterData| nodes is added.
539    
540            * XDoctype.dis (insertBefore): Method implementation
541            for |ElementTypeDefinition| nodes is added.
542    
543    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
544    
545            * XDoctype.dis (appendChild): New method implementation.
546    
547    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
548    
549            * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
550            (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
551            (REMOVE_DOCUMENT_TYPE_ERR): New error.
552    
553            * DOMXML.dis (ManakaiDOMDocumentType): Removed.
554            (ProcessingInstruction.appendChild, CDATASection.appendChild,
555            Notation.appendChild): New method implementation.
556    
557            * Tree.dis (CharacterData.appendChild): New method implementation.
558    
559            * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
560    
561    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
562    
563            * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
564    
565            * Tree.dis (createAttribute, createAttributeNS,
566            setAttribute, setAttributeNS): They now supports
567            the |cfg:xml-id| configuration parameter.
568            (cfg:xml-id): New configuration parameter.
569    
570            * XDoctype.dis (createAttributeDefinition): It now
571            supports the |cfg:xml-id| configuration parameter.
572    
573            * XMLParser.dis (parse): It now supports
574            the |cfg:xml-id| configuration parameter.
575    
576    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
577    
578            * XMLParser.dis (parse): Sets |Document.documentURI|
579            and |Document.manakaiEntityBaseURI| attributes of the
580            document created.
581            (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
582            property of the created node.
583            (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
584            of the created node.
585            (ls-input-to-input-file.default): Sets the resolved
586            system identifier to the |documentURI| attribute if available.
587            Sets the |baseURI| attribute if available.
588    
589    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
590    
591            * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
592            (Node.baseURI): New attribute implementations.
593            (declarationBaseURI): Setter is added.
594            (manakaiDeclarationBaseURI): New attribute.
595    
596            * Tree.dis (Require): A reference to the |MURI:Generic|
597            module is added.
598            (Node.baseURI): The implementation is revised.
599            (getNodeReference): Attribute node classes specialized
600            to attribute names are supported.
601            (contentBaseURI, htmlBaseURI): Removed.
602            (manakaiEntityBaseURI): New attribute.
603            (ManakaiDOMImplementationDocument): It now inherits
604            the |urigen:URIImplementation| class.
605    
606            * DOMMain.dis (isRelativeDOMURI): The definition
607            of the URI scheme is synced with |Message::URI::Generic|'s
608            one.
609    
610            * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
611            module is added.
612            (DocumentType.implementation): New attribute.
613            (Node.baseURI): Implementations are added.
614            (manakaiDeclarationBaseURI): New attributes.
615            (manakaiEntityBaseURI): New attributes.
616            (manakaiEntityURI): New attribute.
617            (manakaiExternal): New attribute.
618            (manakaiBaseURI): New attribute.
619            (ManakaiDOMXMLBaseAttr): New class.
620    
621    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
622    
623            * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
624            module was missing.
625    
626            * ManakaiDOMLS2003.dis: Some property names was incorrect.
627    
628            * Makefile (distclean): New rule.
629    
630    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
631    
632            * DOMLS.dis: Removed from the CVS repository, since
633            it has been no longer required to make the |daf| system
634            itself.
635    
636    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
637    
638            * Makefile: Revised for new |daf| database format.
639    
640    2006-02-25  Wakaba  <wakaba@suika.fam.cx>
641    
642            * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
643            module is added.
644    
645    2006-02-22  Wakaba  <wakaba@suika.fam.cx>
646    
647            * DOMLS.dis: Constants were typed as |dx:ErrorCode|
648            by mistake.
649    
650    2006-02-18  Wakaba  <wakaba@suika.fam.cx>
651    
652            * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
653            feature.
654    
655            * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
656    
657            * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
658            (DOMImplementationLS.createLSParser): Implemented.
659            (DOMImplementationLS.createLSInput): Revised.
660            (LSInput): Note on relationship with |GenericLS| is added.
661    
662            * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
663    
664    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
665    
666            * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
667            is introduced.
668            (async, busy): Implemented.
669            (parseString): Removed.
670            (parse, parseURI): Implemented.
671            (xp:ls-input-to-input-file): New configuration parameter.
672            (shiftChar): Gets character from current file handle
673            rather than replacement text.  Don't normalize
674            line break characters for internal entities.  Don't
675            throw |xp:wf-legal-literal-character| error
676            for |RestrictedChar| appearing in internal entities.
677            (DISPerl:dpgDef): Call |close| for each entity filehandler.
678            (_EntityDeclaration): Copy document URI and base URI
679            to the entity's |$decl| object.
680            (ParseError): New code fragment.
681            (getCopyOfEntityState): Creates filehandle from replacement
682            text.
683            (xp-error-lines): Don't appends text if no replacement
684            text is available.
685            (error-handler): New configuration parameter application resource.
686            (ManakaiDOMLSInputToInputFile): New class.
687            (ManakaiDOMInputFile): New class.
688    
689            * Tree.dis (getNodeReference): A dereferencing was missing.
690    
691            * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
692    
693    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
694    
695            * XMLParser.dis: Default attribute are now namespace aware.
696            (parseString): Don't output |Document| warnings
697            during tree construction to standard error output.
698    
699    2006-02-16  Wakaba  <wakaba@suika.fam.cx>
700    
701            * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
702            XML Namespace 1.1 is implemented.  Namespace well-formedness
703            error detection is implemented.  Generates |Notation| nodes
704            from notation declarations.
705            (checkNCName, checkQName): New code fragments.
706    
707            * XDoctype.dis (DocumentXDoctype): Factory methods
708            don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
709            is |false|.
710    
711            * DOMCore.dis (wf-invalid-character-in-node-name,
712            wf-invalid-character): Removed (moved to |MDOM:Tree| module).
713    
714            * Tree.dis '(wf-invalid-character-in-node-name,
715            wf-invalid-character): New errors (from |MDOM:DOMCore| module).
716            (Attr.specified): Setter added.
717            (cfg:dtd-default-attributes): New configuration parameter.
718            (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
719            if |Document.strictErrorChecking| is |false|.
720    
721    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
722    
723            * XMLParser.dis: Set |allDeclarationsProcessed|
724            attribute of the |Document| node.  Don't process entity
725            and attribute definition list declarations after
726            unread parameter entity reference.  Warns if an attribute definition is
727            ignored (|xp:warning-attribute-definition-ignored|).  Set
728            flags whether predefined entities are declared or not.
729            WFC error |xp:wf-pes-in-internal-subset| is implemented.
730    
731    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
732    
733            * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
734            if a predefined entity declaration references an external entity.
735            Issues |xp:error-malformed-predefined-entity| error if
736            a predefined entity declaration defines different thing than
737            one as in XML specification.  
738            Issies |xp:warning-entity-declaration-ignored| warning if
739            more than one entity declarations for an entity is found.
740            (WFErrDef): Now all well-formedness errors are marked
741            as |SEVERITY_FATAL_ERROR|.
742    
743            * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
744            predefined entity declarations.
745            (DocumentXDoctype.createNotation): New method.
746            (DocumentTypeDefinition.notations): New attribute.
747            (DocumentTypeDefinition.getNotationNode): New method.
748            (DocumentTypeDefinition.setNotationNode): New method.
749            (newNotationForTest): New code fragment.
750    
751            * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
752            (c:ManakaiDOMNotationMap): New class.
753            (c:ManakaiDOMNotationMapArray): New class.
754            (Document.allDeclarationsProcessed): New attribute.
755    
756            * DOMXML.dis (DocumentType.notations): Implemented.
757            (Notation): Revised.
758            (Notation.ownerDocumentTypeDefinition): New attribute.
759    
760    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
761    
762            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
763            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
764            if a parameter entity declaration contains |NDATA| keyword.
765            (setEmptyEntityState): Set |name| attribute.
766    
767            * Tree.dis (createEntityReference): Don't enter into inifinite
768            loop even if entity replacement tree contains recursive
769            reference directly or indirectly.
770    
771    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
772    
773            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
774            WFC error is implemented.
775    
776    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
777    
778            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
779            configuration parameter |true| during tree construction
780            to ensure default attribute value is cloned as is
781            including entity reference subtree.
782    
783            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
784            parameter.
785            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
786            configuration parameter support is added.
787    
788    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
789    
790            * XMLParser.dis (parseString): General |Entity| replacement
791            tree is not constructed because of a typo.  Clears |EntityReference|
792            content before constructing |Entity| replacement tree.
793            The |xp:wf-entity-declared| well-formedness constraint
794            for entity references in attribute value literal is implemented.
795    
796    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
797    
798            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
799            constaraint for entity references that appear in
800            content of elements is implemented.   Set |EntityReference.isExpanded|
801            attribute.
802            (getEmptyEntityState): New code.
803    
804            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
805            definition is removed.
806    
807            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
808            (EntityReference.isExpanded): Setter is added.
809    
810    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
811    
812            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
813            and |xp:wf-no-external-entity-references| well-formedness
814            constraints are implemented.
815    
816    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
817    
818            * XMLParser.dis ($self->{has_error}): Removed.
819            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
820            errors (including well-formedness constraint errors) are
821            traped by the error handler.
822            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
823            attribute of the node.  Reports an error if |publidLiteral|
824            contains a non-|pubidChar|.
825    
826            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
827            version |3.0|).
828            (ManakaiDOMDocumentTypeDefinition): The class no longer
829            inherits |x:ManakaiDOMDocumentType| class.  Instead,
830            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
831            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
832            interface (except unimplemented |notations| and |internalSubset|
833            attributes).
834            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
835            for compatibility with |x:DocumentType| interface.
836            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
837            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
838            (ManakaiDOMDocumentTypeDefinition.nodeType,
839            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
840            (DocumentTypeDeclaration): New interface.
841    
842            * Tree.dis (Node/@f:implements): Typos fixed.
843            (Node.MUErrorHandler): Missing |last A| statement is added.
844            (createDocumentType): Throws an exception if |qualifiedName|
845            is illegal.  Calls |DocumentTypeDefinition.newObject|
846            instead of obsolete |DocumentType.newObject|.
847    
848            * DOMXML.dis (DocumentType.name, DocumentType.entities,
849            DocumentType.publicId, DocumentType.systemId,
850            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
851            as clones of similar attributes or methods
852            in |MDOM:XDoctype| module.
853            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
854            instead).
855            (DocumentType.childNodes): Removed (|Node.childNodes| definition
856            is used).
857    
858    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
859    
860            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
861            fatal error.
862    
863    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
864    
865            * XMLParser.dis (CommentDeclaration): |STRING| is now
866            defined as a |?default-token|.
867            (XMLTests): Tests for |Char - RestrictedChar| matchness,
868            comment declarations, cdata sections, and |MSE| in |content|
869            added.
870            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
871            (get-location-from-token): |$token->{location_d}|
872            for |?default-token| column counting support added.
873    
874            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
875    
876    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
877    
878            * Tree.dis (createProcessingInstruction): Don't
879            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
880            is |false|.
881    
882            * XMLParser.dis (parseString): Initializes |$self->{location}|.
883            It enables improved error position report.
884            (XDO): It now includes |S+| following target name |xml| as
885            part of the token.  (PI with target starting with |xml|
886            was unable to be placed at the beginning of the document entity.)
887            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
888            a processing instruction node with |#INVALID| node name
889            if target name is not given and recovered from the error.
890            (S): Variable |$s| added.
891            (XMLTests): Tests for XML declarations and processing
892            instructions are added.  Prints error type name if unexpected
893            error with severity of error or fatal error has been reported.
894            Catch unexpected exceptions thrown in parser (different
895            from |LSException|), prints its message, and invoke |$test->not_ok|
896            for the ease of testing.
897            (xp:get-location-from-token): Location values now take |$self->{char}|
898            stack into acount.
899            
900    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
901    
902            * XMLParser.dis (shiftChar): Line and column number counting
903            is fixed.  Although the DOM Level 3 Core specification
904            is unclear about whether the first number is zero or one,
905            in most programs the first line is "one" and
906            the first column is "one", manakai follows the practice.
907            (_XMLDeclaration): Don't set |xmlStandalone| value
908            if |standalone| pseudo-attribute value is |no|.  XML declaration
909            tests (successful cases) added.
910            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
911            properties.
912    
913    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
914    
915            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
916    
917    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
918    
919            * DOMCore.dis (c:erred): New property.
920            (c:DOMErrorType): It should have been a subset
921            of |ecore:AnyErrorCode|.
922    
923            * XMLParser.dis (XMLTests): Empty input tests added.
924    
925    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
926    
927            * XDoctype.dis (d:Feature): New canonical feature
928            name |fe:XDoctype| is added.
929    
930            * XMLParser.dis: Predefined general entity references
931            are implemented.  Creates |Entity| nodes from general entities
932            declared in internal subset.  |Entity| nodes created from internal
933            general parsed entities now have replacement tree.
934            Sets |cfg:entity-reference-read-only| flag off during
935            the tree generation.  Some parsing rules use |$self->{doc}|
936            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
937            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
938            introduced.  General entity references in attribute value literal
939            are supported.
940    
941    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
942    
943            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
944            parameter name changed to |cfg:entity-reference-read-only|.
945            (createEntityReference): Set |c:read-only| flag of
946            the created entity reference, too.
947    
948            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
949    
950            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
951            from |DOMFeature| module instead.  Use |idl:Object|
952            instead of |DOMMain:DOMObject| as well.
953            (Generic): New canonical feature name |fe:GenericLS| added.
954            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
955            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
956            respectively.
957    
958            * DOMXML.dis (entities, notations): Perl code removed.
959            It will be reimplemented using |DocumentTypeDefinition|
960            class from |XDoctype| module.
961    
962            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
963            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
964            SimpleLS.dis: Cleaned up unused definitions.
965    
966            * DOMCore.dis, DOMLS.dis (CParam): Definitions
967            for LS module moved from |DOMCore| module to |DOMLS| module.
968            This change makes |DOMCore| to |DOMLS| dependency removed.
969    
970            * .cvsignore (.html.pm, .ls.pm): Removed.
971    
972            * Makefile (.html.pm, .ls.pm): Removed.
973            (feature.dae): Include |GenericLS| module.
974            (core.dae): Don't include |DOMLS| and |GenericLS| module.
975            (ls.dae): Include |DOMLS| module.
976    
977    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
978    
979            * XMLParser.dis: Tests on default attributes and their |specified|
980            attribute are added.
981    
982            * XDoctype.dis (createGeneralEntity): New method.
983            (generalEntities): New attribute.
984            (getGeneralEntityNode, setGeneralEntityNode): New methods.
985    
986            * Tree.dis (ManakaiDOMEntities): Removed.
987            (ManakaiDOMEntityMap): New class.
988            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
989            (createEntityReference): If there is a corresponding |Entity|
990            node in the document type definition, then copies its
991            subtree.
992    
993            * DOMXML.dis (Entity): Documentation updated.
994            (publicId, systemId, notationName, xmlEncoding,
995            xmlVersion): These attributes are now settable
996            if |ManakaiDOM:ManakaiDOMLatest| mode.
997            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
998            mode.
999            (ownerDocumentTypeDefinition): New attribute
1000            for |ManakaiDOM:ManakaiDOMLatest| mode.
1001            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
1002    
1003    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
1004    
1005            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
1006    
1007            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
1008    
1009            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
1010            (ManakaiDOMAttributes): Removed.
1011            (ManakaiDOMAttrMap): New class.
1012            (ManakaiDOMAttrMapArray): New class.
1013            (namespaceURI): Bug to return a string representation
1014            of a reference to the namespace URI string is fixed.
1015            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
1016            (removeAttribute, removeAttributeNS): DTD default attributes
1017            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
1018            if there is no attribute node.
1019            (createElement, createElementNS): DTD default attributes are supported.
1020            (setAttributeNode): Reimplemented.
1021    
1022    2006-01-27  Wakaba  <wakaba@suika.fam.cx>
1023    
1024            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
1025    
1026            * Tree.dis (STORESIZE): Index bound bug fixed.
1027            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
1028            (schemaTypeInfo): Implemented for XML DTD.
1029            (isId): Returns |true| if [attribute type] is |ID|.
1030            (setAttribute, setAttributeNS): Sets [attribute type]
1031            of the newly created |Attr| node (if any) when attribute
1032            definition is available.
1033            (doctype, documentElement): Reimplemented with tests.
1034    
1035            * XMLParser.dis: Sets [attribute type] information
1036            to created |Attr| nodes.  Normalize namespace URIs
1037            when such information are available (unlikely but legal).
1038            (_HexadecimalCharacterReference): Number to character
1039            convertion bug fixed.
1040            (_DocumentTypeDeclaration): Sets |schema-type|
1041            configuration parameter to XML DTD URI.
1042    
1043    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
1044    
1045            * XMLParser.dis (_AttlistDeclaration): Now it can generate
1046            attribute definition nodes.
1047    
1048            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
1049            and another |UNKNOWN_ATTR| constant is introduced
1050            for consistency with XML Infoset.
1051    
1052            * DOMCore.dis (TypeInfo): Documentation updated.
1053    
1054    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
1055    
1056            * XDoctype.dis: A bug in test code fixed.
1057    
1058            * Tree.dis (NamedNodeMap): Element type or attribute
1059            definition named node maps now can be dereferenced
1060            as if they are array or hash references.
1061            (removeNamedItem, item, ___report_error): Implemented for element type
1062            or attribute definitions.
1063            (length): Tests added.
1064            (NamedNodeMapArray): New classes.
1065    
1066    2006-01-25  Wakaba  <wakaba@suika.fam.cx>
1067    
1068            * XDoctype.dis (setElementTypeDefinitionNode,
1069            setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
1070            if the new node is already used for another definition.
1071            (DocumentTypeDefinition, ElementTypeDefinition): Node
1072            property name was incorrect.
1073            (elementTypes, attributeDefinitions): Checks to
1074            ensure the collection is empty added.
1075    
1076            * Tree.dis: Property name typos fixed.
1077            (setNamedItem, setAttributeNode): Don't return any node
1078            if it replace itself.
1079            (c:userDeterminedId): Missing definition added.
1080    
1081            * DOMXML.dis (Notation): Missing property specification
1082            of|c:ownerDocument| as |mn:xrefnode0| is added.
1083    
1084  2006-01-23  Wakaba  <wakaba@suika.fam.cx>  2006-01-23  Wakaba  <wakaba@suika.fam.cx>
1085    
1086          * DOMCore.dis (Test): Missing argument added.          * DOMCore.dis (Test): Missing argument added.

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.180

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24