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

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.139

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24