/[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.118 by wakaba, Thu Feb 9 10:23:19 2006 UTC revision 1.158 by wakaba, Tue Mar 28 00:59:50 2006 UTC
# Line 1  Line 1 
1    2006-03-26  Wakaba  <wakaba@suika.fam.cx>
2    
3            * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
4            module is added.
5            (DOMStringList): Reimplemented for new |d:AttributeDefinition|
6            implementation (untested).
7    
8            * TreeCore.dis (baseURI): Reimplemented (untested).
9            (Roles): Definitions added.
10    
11            * XDoctype.dis (Require): References to the |MDOM:TreeCore|
12            and |MDOM:XML| modules are added.  Reference to the |MDOM:Tree|
13            module is removed.
14            (DocumentXDoctype): Reimplemented (untested).
15            (DocumentTypeDefinition, DocumentTypeDeclaration):
16            Reimlemented (untested).
17            (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
18    
19            * XML.dis (FeatureDef): New features (definitions copied
20            from the |MDOM:DOMXML| module).
21            (DocumentType): New interface (definition copied from
22            the |MDOM:DOMXML| module).
23            (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
24            Reimplemented (untested).
25            (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
26    
27    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
28    
29            * TreeCore.dis (Document): Most methods are reimplemented (untested).
30    
31    2006-03-25  Wakaba  <wakaba@suika.fam.cx>
32    
33            * TreeCore.dis (Document): Attributes are reimplemented (untested).
34            (Text, DocumentFragment, Comment): Most members are
35            reimplemented (untested).
36    
37    2006-03-24  Wakaba  <wakaba@suika.fam.cx>
38    
39            * DOMMain.dis (checkXMLNamesQName): Some checks are
40            removed to sync with DOM Level 3 Core specification.
41    
42            * TreeCore.dis (Element): Most methods are reimplemented (untested).
43            (GetElementsNodeList): Reimplemented (untested).
44    
45    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
46    
47            * Tree.dis (cfg:strict-document-children): The configuration
48            parameter must also affect on |manakaiAppendText|
49            and |textContent| on |Document| nodes.
50    
51            * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
52            parameter changes the class to |bless|.
53            (Node): Most methods are reimplemented.  (Untested)
54            (CharacterData, Attr): Most methods and attributes are
55            reimplemented.  (Untested)
56    
57            * XML.dis, XDoctype.dis: Most |Node| methods are
58            reimplemented (untested).
59    
60    2006-03-23  Wakaba  <wakaba@suika.fam.cx>
61    
62            * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
63            (untested).
64    
65    2006-03-22  Wakaba  <wakaba@suika.fam.cx>
66    
67            * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
68            a qualified name.
69    
70            * DOMMain.dis (ensureNamespacePrefix): Undefines
71            the prefix if it is an empty string.  (Note that
72            it is defined as implementation dependent in
73            DOM Level 3 Core specification).
74    
75            * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
76            module.
77            (Node): Attributes are reimplemented (untested).
78    
79            * XML.dis (Require): It now references the |MDOMX:XDoctype|
80            module.
81            (Node): Attributes are reimplemented (untested).
82            (Entity, Notation): New interfaces.
83    
84            * XDoctype.dis (Node): Attributes are reimplemented (untested).
85    
86    2006-03-19  Wakaba  <wakaba@suika.fam.cx>
87    
88            * TreeCore.dis (childNodes, firstChild, lastChild,
89            nextSibling, previousSibling, appendChild, insertBefore,
90            replaceChild, removeChild, createDocumentFragment,
91            createEntityReference, createProcessingInstruction,
92            domConfig, documentElement, implementation, manakaiAppendText): New.
93            (NodeList, DocumentFragment): New interfaces.
94    
95            * XML.dis (EntityReference, ProcessingInstruction): New interface.
96    
97    2006-03-18  Wakaba  <wakaba@suika.fam.cx>
98    
99            * TreeCore.dis (Require): The |MDOM:XML| module is added.
100            (createAttributeNS, createTextNode, createComment,
101            createCDATASection): New methods.
102            (Attr, Text, Comment, CharacterData): New interfaces.
103    
104            * Makefile: |XML.dis| is added.
105    
106            * XML.dis: New module.
107    
108    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
109    
110            * TreeCore.dis (manakaiReadOnly): New attribute.
111            
112    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
113    
114            * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
115            prefix, isSameNode, ownerDocument, parentNode): New.
116            (Element): New interface.
117            (createElementNS): New method.
118            (strictErrorChecking): New.
119    
120    2006-03-17  Wakaba  <wakaba@suika.fam.cx>
121    
122            * Makefile: |TreeCore.dis| is added.
123    
124            * TreeCore.dis: New module.
125    
126    2006-03-16  Wakaba  <wakaba@suika.fam.cx>
127    
128            * XMLParser.dis (cfg:entity-replacement-tree): New configuration
129            parameter.
130    
131            * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
132    
133            * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
134            data types added to configuration parameters.
135    
136    2006-03-15  Wakaba  <wakaba@suika.fam.cx>
137    
138            * DOMCore.dis (c:DOMConfigurationParameter): Now it is
139            a |DISSource:ResourceProperty|.
140            (c:anyDOMConfigurationParameter): New property.
141            (CParam, boolCParam): Now they are all |dis:subsetOf|
142            the |c:anyDOMConfigurationParameter| property.
143            (ForDocument, ForParser, ForSerializer): Removed.
144    
145            * DOMLS.dis, XMLParser.dis: Likewise.
146    
147    2006-03-12  Wakaba  <wakaba@suika.fam.cx>
148    
149            * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
150            are removed.
151    
152            * GenericLS.pm: Added to the CVS repository since
153            it is necessary to create the |Message::Util::DIS::DPG| module.
154    
155    2006-03-10  Wakaba  <wakaba@suika.fam.cx>
156    
157            * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
158            method.
159    
160            * XMLParser.dis: Don't create adjacent text nodes.
161    
162    2006-03-09  Wakaba  <wakaba@suika.fam.cx>
163    
164            * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
165    
166            * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
167            implementations are added.
168    
169            * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
170            implementations are added.
171    
172            * Tree.dis (appendChild, insertBefore, replaceChild): Method
173            implementations are added.
174            (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
175            resources unless for |ManakaiDOM:ManakaiDOMLatest|.
176            (cfg:strict-document-children): New configuration parameter.
177    
178    2006-03-08  Wakaba  <wakaba@suika.fam.cx>
179    
180            * XDoctype.dis (replaceChild): Method implementations are added.
181    
182            * Tree.dis (replaceChild): Method implementations are added.
183    
184            * DOMXML.dis (replaceChild): Method implementations are added.
185    
186    2006-03-07  Wakaba  <wakaba@suika.fam.cx>
187    
188            * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
189            definitions.
190    
191            * XDoctype.dis (insertBefore): New method implementation.
192    
193    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
194    
195            * DOMXML.dis (insertBefore): Method implementations
196            for |ProcessingInstruction| and |Notation| nodes are added.
197    
198            * Tree.dis (insertBefore): Method implementation
199            for |CharacterData| nodes is added.
200    
201            * XDoctype.dis (insertBefore): Method implementation
202            for |ElementTypeDefinition| nodes is added.
203    
204    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
205    
206            * XDoctype.dis (appendChild): New method implementation.
207    
208    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
209    
210            * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
211            (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
212            (REMOVE_DOCUMENT_TYPE_ERR): New error.
213    
214            * DOMXML.dis (ManakaiDOMDocumentType): Removed.
215            (ProcessingInstruction.appendChild, CDATASection.appendChild,
216            Notation.appendChild): New method implementation.
217    
218            * Tree.dis (CharacterData.appendChild): New method implementation.
219    
220            * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
221    
222    2006-03-06  Wakaba  <wakaba@suika.fam.cx>
223    
224            * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
225    
226            * Tree.dis (createAttribute, createAttributeNS,
227            setAttribute, setAttributeNS): They now supports
228            the |cfg:xml-id| configuration parameter.
229            (cfg:xml-id): New configuration parameter.
230    
231            * XDoctype.dis (createAttributeDefinition): It now
232            supports the |cfg:xml-id| configuration parameter.
233    
234            * XMLParser.dis (parse): It now supports
235            the |cfg:xml-id| configuration parameter.
236    
237    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
238    
239            * XMLParser.dis (parse): Sets |Document.documentURI|
240            and |Document.manakaiEntityBaseURI| attributes of the
241            document created.
242            (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
243            property of the created node.
244            (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
245            of the created node.
246            (ls-input-to-input-file.default): Sets the resolved
247            system identifier to the |documentURI| attribute if available.
248            Sets the |baseURI| attribute if available.
249    
250    2006-03-05  Wakaba  <wakaba@suika.fam.cx>
251    
252            * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
253            (Node.baseURI): New attribute implementations.
254            (declarationBaseURI): Setter is added.
255            (manakaiDeclarationBaseURI): New attribute.
256    
257            * Tree.dis (Require): A reference to the |MURI:Generic|
258            module is added.
259            (Node.baseURI): The implementation is revised.
260            (getNodeReference): Attribute node classes specialized
261            to attribute names are supported.
262            (contentBaseURI, htmlBaseURI): Removed.
263            (manakaiEntityBaseURI): New attribute.
264            (ManakaiDOMImplementationDocument): It now inherits
265            the |urigen:URIImplementation| class.
266    
267            * DOMMain.dis (isRelativeDOMURI): The definition
268            of the URI scheme is synced with |Message::URI::Generic|'s
269            one.
270    
271            * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
272            module is added.
273            (DocumentType.implementation): New attribute.
274            (Node.baseURI): Implementations are added.
275            (manakaiDeclarationBaseURI): New attributes.
276            (manakaiEntityBaseURI): New attributes.
277            (manakaiEntityURI): New attribute.
278            (manakaiExternal): New attribute.
279            (manakaiBaseURI): New attribute.
280            (ManakaiDOMXMLBaseAttr): New class.
281    
282    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
283    
284            * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
285            module was missing.
286    
287            * ManakaiDOMLS2003.dis: Some property names was incorrect.
288    
289            * Makefile (distclean): New rule.
290    
291    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
292    
293            * DOMLS.dis: Removed from the CVS repository, since
294            it has been no longer required to make the |daf| system
295            itself.
296    
297    2006-02-26  Wakaba  <wakaba@suika.fam.cx>
298    
299            * Makefile: Revised for new |daf| database format.
300    
301    2006-02-25  Wakaba  <wakaba@suika.fam.cx>
302    
303            * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
304            module is added.
305    
306    2006-02-22  Wakaba  <wakaba@suika.fam.cx>
307    
308            * DOMLS.dis: Constants were typed as |dx:ErrorCode|
309            by mistake.
310    
311    2006-02-18  Wakaba  <wakaba@suika.fam.cx>
312    
313            * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
314            feature.
315    
316            * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
317    
318            * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
319            (DOMImplementationLS.createLSParser): Implemented.
320            (DOMImplementationLS.createLSInput): Revised.
321            (LSInput): Note on relationship with |GenericLS| is added.
322    
323            * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
324    
325    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
326    
327            * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
328            is introduced.
329            (async, busy): Implemented.
330            (parseString): Removed.
331            (parse, parseURI): Implemented.
332            (xp:ls-input-to-input-file): New configuration parameter.
333            (shiftChar): Gets character from current file handle
334            rather than replacement text.  Don't normalize
335            line break characters for internal entities.  Don't
336            throw |xp:wf-legal-literal-character| error
337            for |RestrictedChar| appearing in internal entities.
338            (DISPerl:dpgDef): Call |close| for each entity filehandler.
339            (_EntityDeclaration): Copy document URI and base URI
340            to the entity's |$decl| object.
341            (ParseError): New code fragment.
342            (getCopyOfEntityState): Creates filehandle from replacement
343            text.
344            (xp-error-lines): Don't appends text if no replacement
345            text is available.
346            (error-handler): New configuration parameter application resource.
347            (ManakaiDOMLSInputToInputFile): New class.
348            (ManakaiDOMInputFile): New class.
349    
350            * Tree.dis (getNodeReference): A dereferencing was missing.
351    
352            * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
353    
354    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
355    
356            * XMLParser.dis: Default attribute are now namespace aware.
357            (parseString): Don't output |Document| warnings
358            during tree construction to standard error output.
359    
360    2006-02-16  Wakaba  <wakaba@suika.fam.cx>
361    
362            * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
363            XML Namespace 1.1 is implemented.  Namespace well-formedness
364            error detection is implemented.  Generates |Notation| nodes
365            from notation declarations.
366            (checkNCName, checkQName): New code fragments.
367    
368            * XDoctype.dis (DocumentXDoctype): Factory methods
369            don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
370            is |false|.
371    
372            * DOMCore.dis (wf-invalid-character-in-node-name,
373            wf-invalid-character): Removed (moved to |MDOM:Tree| module).
374    
375            * Tree.dis '(wf-invalid-character-in-node-name,
376            wf-invalid-character): New errors (from |MDOM:DOMCore| module).
377            (Attr.specified): Setter added.
378            (cfg:dtd-default-attributes): New configuration parameter.
379            (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
380            if |Document.strictErrorChecking| is |false|.
381    
382    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
383    
384            * XMLParser.dis: Set |allDeclarationsProcessed|
385            attribute of the |Document| node.  Don't process entity
386            and attribute definition list declarations after
387            unread parameter entity reference.  Warns if an attribute definition is
388            ignored (|xp:warning-attribute-definition-ignored|).  Set
389            flags whether predefined entities are declared or not.
390            WFC error |xp:wf-pes-in-internal-subset| is implemented.
391    
392    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
393    
394            * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
395            if a predefined entity declaration references an external entity.
396            Issues |xp:error-malformed-predefined-entity| error if
397            a predefined entity declaration defines different thing than
398            one as in XML specification.  
399            Issies |xp:warning-entity-declaration-ignored| warning if
400            more than one entity declarations for an entity is found.
401            (WFErrDef): Now all well-formedness errors are marked
402            as |SEVERITY_FATAL_ERROR|.
403    
404            * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
405            predefined entity declarations.
406            (DocumentXDoctype.createNotation): New method.
407            (DocumentTypeDefinition.notations): New attribute.
408            (DocumentTypeDefinition.getNotationNode): New method.
409            (DocumentTypeDefinition.setNotationNode): New method.
410            (newNotationForTest): New code fragment.
411    
412            * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
413            (c:ManakaiDOMNotationMap): New class.
414            (c:ManakaiDOMNotationMapArray): New class.
415            (Document.allDeclarationsProcessed): New attribute.
416    
417            * DOMXML.dis (DocumentType.notations): Implemented.
418            (Notation): Revised.
419            (Notation.ownerDocumentTypeDefinition): New attribute.
420    
421    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
422    
423            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
424            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
425            if a parameter entity declaration contains |NDATA| keyword.
426            (setEmptyEntityState): Set |name| attribute.
427    
428            * Tree.dis (createEntityReference): Don't enter into inifinite
429            loop even if entity replacement tree contains recursive
430            reference directly or indirectly.
431    
432    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
433    
434            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
435            WFC error is implemented.
436    
437    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
438    
439            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
440            configuration parameter |true| during tree construction
441            to ensure default attribute value is cloned as is
442            including entity reference subtree.
443    
444            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
445            parameter.
446            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
447            configuration parameter support is added.
448    
449    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
450    
451            * XMLParser.dis (parseString): General |Entity| replacement
452            tree is not constructed because of a typo.  Clears |EntityReference|
453            content before constructing |Entity| replacement tree.
454            The |xp:wf-entity-declared| well-formedness constraint
455            for entity references in attribute value literal is implemented.
456    
457    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
458    
459            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
460            constaraint for entity references that appear in
461            content of elements is implemented.   Set |EntityReference.isExpanded|
462            attribute.
463            (getEmptyEntityState): New code.
464    
465            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
466            definition is removed.
467    
468            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
469            (EntityReference.isExpanded): Setter is added.
470    
471    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
472    
473            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
474            and |xp:wf-no-external-entity-references| well-formedness
475            constraints are implemented.
476    
477    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
478    
479            * XMLParser.dis ($self->{has_error}): Removed.
480            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
481            errors (including well-formedness constraint errors) are
482            traped by the error handler.
483            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
484            attribute of the node.  Reports an error if |publidLiteral|
485            contains a non-|pubidChar|.
486    
487            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
488            version |3.0|).
489            (ManakaiDOMDocumentTypeDefinition): The class no longer
490            inherits |x:ManakaiDOMDocumentType| class.  Instead,
491            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
492            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
493            interface (except unimplemented |notations| and |internalSubset|
494            attributes).
495            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
496            for compatibility with |x:DocumentType| interface.
497            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
498            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
499            (ManakaiDOMDocumentTypeDefinition.nodeType,
500            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
501            (DocumentTypeDeclaration): New interface.
502    
503            * Tree.dis (Node/@f:implements): Typos fixed.
504            (Node.MUErrorHandler): Missing |last A| statement is added.
505            (createDocumentType): Throws an exception if |qualifiedName|
506            is illegal.  Calls |DocumentTypeDefinition.newObject|
507            instead of obsolete |DocumentType.newObject|.
508    
509            * DOMXML.dis (DocumentType.name, DocumentType.entities,
510            DocumentType.publicId, DocumentType.systemId,
511            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
512            as clones of similar attributes or methods
513            in |MDOM:XDoctype| module.
514            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
515            instead).
516            (DocumentType.childNodes): Removed (|Node.childNodes| definition
517            is used).
518    
519    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
520    
521            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
522            fatal error.
523    
524  2006-02-09  Wakaba  <wakaba@suika.fam.cx>  2006-02-09  Wakaba  <wakaba@suika.fam.cx>
525    
526          * XMLParser.dis (CommentDeclaration): |STRING| is now          * XMLParser.dis (CommentDeclaration): |STRING| is now

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.158

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24