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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24