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

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.136

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24