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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24