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

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.189

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24