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

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.190

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24