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

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.149

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24