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

Legend:
Removed from v.1.117  
changed lines
  Added in v.1.157

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24