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

Legend:
Removed from v.1.114  
changed lines
  Added in v.1.174

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24