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

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.181

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24