/[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.66 by wakaba, Mon Sep 26 14:37:34 2005 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>
477    
478            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
479    
480            * Tree.dis (STORESIZE): Index bound bug fixed.
481            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
482            (schemaTypeInfo): Implemented for XML DTD.
483            (isId): Returns |true| if [attribute type] is |ID|.
484            (setAttribute, setAttributeNS): Sets [attribute type]
485            of the newly created |Attr| node (if any) when attribute
486            definition is available.
487            (doctype, documentElement): Reimplemented with tests.
488    
489            * XMLParser.dis: Sets [attribute type] information
490            to created |Attr| nodes.  Normalize namespace URIs
491            when such information are available (unlikely but legal).
492            (_HexadecimalCharacterReference): Number to character
493            convertion bug fixed.
494            (_DocumentTypeDeclaration): Sets |schema-type|
495            configuration parameter to XML DTD URI.
496    
497    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
498    
499            * XMLParser.dis (_AttlistDeclaration): Now it can generate
500            attribute definition nodes.
501    
502            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
503            and another |UNKNOWN_ATTR| constant is introduced
504            for consistency with XML Infoset.
505    
506            * DOMCore.dis (TypeInfo): Documentation updated.
507    
508    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
509    
510            * XDoctype.dis: A bug in test code fixed.
511    
512            * Tree.dis (NamedNodeMap): Element type or attribute
513            definition named node maps now can be dereferenced
514            as if they are array or hash references.
515            (removeNamedItem, item, ___report_error): Implemented for element type
516            or attribute definitions.
517            (length): Tests added.
518            (NamedNodeMapArray): New classes.
519    
520    2006-01-25  Wakaba  <wakaba@suika.fam.cx>
521    
522            * XDoctype.dis (setElementTypeDefinitionNode,
523            setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
524            if the new node is already used for another definition.
525            (DocumentTypeDefinition, ElementTypeDefinition): Node
526            property name was incorrect.
527            (elementTypes, attributeDefinitions): Checks to
528            ensure the collection is empty added.
529    
530            * Tree.dis: Property name typos fixed.
531            (setNamedItem, setAttributeNode): Don't return any node
532            if it replace itself.
533            (c:userDeterminedId): Missing definition added.
534    
535            * DOMXML.dis (Notation): Missing property specification
536            of|c:ownerDocument| as |mn:xrefnode0| is added.
537    
538    2006-01-23  Wakaba  <wakaba@suika.fam.cx>
539    
540            * DOMCore.dis (Test): Missing argument added.
541            (setNamedItem): If |DocumentType| with no |ownerDocument|,
542            addition always fails with |WRONG_DOCUMENT_ERR|.  Some
543            error conditions were incorrect.
544    
545            * .cvsignore: Dummy files added.
546    
547    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
548    
549            * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
550            INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
551    
552            * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
553            to avoid uninitialized value warning.
554    
555            * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
556            classes (work in progress).
557    
558            * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
559    
560    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
561    
562            * Tree.dis (getAttribute): Returns |null| if there
563            is no attribute in |ManakaiDOM:DOMLatest| for compatibility
564            with Web browser implementations.
565            (getAttributeNS): It returned |null| if there
566            is no attribute in any |For| unintentionally.  It now
567            returns an empty string in DOM levels less than or equals
568            to three.
569    
570            * XMLParser.dis (shiftChar): Fixed not to be warned as
571            uninitialized value or substring out of range.
572    
573    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
574    
575            * DOMXML.dis (DocumentType.childNodes): Removed
576            from |ManakaiDOM:ManakaiDOMLatest| variant.
577    
578            * XMLParser.dis: Parsing of general internal entities implemented.
579            (_DocumentTypeDeclaration): Appends a document type definition
580            node to the document.
581            (_ProcessingInstructionDTD): Appends a processing
582            instruction node to the document type definition.
583            (Element_): Document element could not be an |EmptyElemTag|.
584    
585    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
586    
587            * DOMFeature.dis (featuresParamToFeaturesHash): New block
588            code (seprated from |InputProcessor|).  Now
589            a |features| parameter's version can be specified by
590            an array reference that contains a set of version
591            numbers.  A test added.
592    
593            * XMLParser.dis: A test added.
594    
595    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
596    
597            * DOMCore.dis (Test): Don't invoke |DESTROY| method
598            because it does not work with dummy object used in the test code.
599    
600    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
601    
602            * DOMMain.dis (checkXMLNamesQName): Checks whether
603            namespace URI is defined for not being warned.
604    
605            * XDoctype.dis: New module.
606    
607            * DOMCore.dis (DOMStringList): Test added.
608    
609            * Makefile: |XDoctype.pm| added.
610    
611            * Tree.dis (Require): Requires |XDoctype.dis|.
612            (ManakaiDOMNodeObjectNode.eq): Added.
613            (Test): |DOMError.location| must return a |DOMLocator|
614            object (it was incorrectly tested to return |null|).
615            (EmptyNodeList.DESTROY): Removed.
616    
617    2006-01-04  Wakaba  <wakaba@suika.fam.cx>
618    
619            * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
620            |ATTRIBUTE_DEFINITION_NODE| node types added.
621            (appendChild, insertBefore, replaceChild): New
622            two node types added and processing instruction nodes
623            as document type definition node child is allowed
624            in |ManakaiDOM:ManakaiDOMLatest| mode.
625            (getNodeReference): New |interface| parameter
626            to filter classes by interface is added.
627            (ElementTypeDefinitionRole): New role.
628            (AttributeDefinitionRole): New role.
629    
630    2006-01-02  Wakaba  <wakaba@suika.fam.cx>
631    
632            * DOMCore.dis (DOMStringList): Reimplemented as tied array.
633    
634    2005-12-31  Wakaba  <wakaba@suika.fam.cx>
635    
636            * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
637            if it is not provided.
638    
639            * XMLParser.dis: Parsing methods to skip document
640            type declaration is added.
641    
642    2005-12-29  Wakaba  <wakaba@suika.fam.cx>
643    
644            * XMLParser.dis (shiftChar): Checks characters are legal
645            or not.  Normalize end-of-lines.
646            (rule _XMLDeclaration_): Implemented.
647            (WFErrDef): Well-formedness error |wf-syntax-error|,
648            |wf-pi-target-is-xml|, |wf-no-end-tag|,
649            |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
650            |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
651            |wf-element-type-match|, |wf-unique-att-spec|,
652            |wf-legal-character| added.
653            (%character-code-point): New formatter rule.
654    
655            * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
656    
657            * DOMCore.dis (DOMError.stringify): Added.
658            (error-handler.default): Returns |false| (don't continue)
659            when the error severity is |SEVERITY_FATAL_ERROR|.
660    
661    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
662    
663            * XMLParser.dis (DocumentEntity): Typos fixed.
664            (|lexmode|s): New |?default-token| statements are used
665            so that tokenizer description has been simplified
666            and CDATA sections now can be parsed.
667    
668    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
669    
670            * XMLParser.dis: Some modifications made.
671    
672    2005-12-27  Wakaba  <wakaba@suika.fam.cx>
673    
674            * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
675            global named resource.
676    
677            * Makefile: Rules to make |XMLParser.pm| is added.
678    
679            * XMLParser.dis: New file.
680    
681    2005-12-24  Wakaba  <wakaba@suika.fam.cx>
682    
683            * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
684            message formatter can now vary by error types.
685            (DOMLocator.utf32Offset): New (manakai extended) attribute.
686    
687    2005-12-23  Wakaba  <wakaba@suika.fam.cx>
688    
689            * DOMCore.dis (DOMLocator): Implemented.
690    
691    2005-12-21  Wakaba  <wakaba@suika.fam.cx>
692    
693            * DOMCore.dis (DOMConfigurationParameterApplication,
694            domConfigurationParameter): New resources.
695    
696    2005-11-25  Wakaba  <wakaba@suika.fam.cx>
697    
698            * Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error):
699            New methods.
700    
701    2005-11-24  Wakaba  <wakaba@suika.fam.cx>
702    
703            * DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__|
704            blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks.
705    
706            * DOMMain.dis (___report_error): Throws the error unkess
707            it is a |DOMCore:DOMError| object.
708            
709    2005-11-24  Wakaba  <wakaba@suika.fam.cx>
710    
711            * DOMCore.dis (severity, type): Getters return value from
712            the definition of the current error (i.e. |-def| hash).
713            (___error_def): New method.
714            (errorType): |dis:dataType| changed to |DISCore:TFQNames|
715            to ease natural reference to constant value.
716            (error-handler.default): Prints the error message by |warn|.
717    
718            * Tree.dis (nodeValue.set): Reimplemented so that it
719            warns as setting has no effect.
720            (___report_error): New method.  (It had been only implemented
721            in superclass.)
722            (setting-node-value-no-effect): New error type.
723    
724    2005-11-23  Wakaba  <wakaba@suika.fam.cx>
725    
726            * DOMCore.dis: Error codes added.
727    
728            * Tree.dis (destroyNodeStem): New method implementation.
729    
730    2005-11-22  Wakaba  <wakaba@suika.fam.cx>
731    
732            * Tree.dis (cloneNode): User data handlers implemented.
733            (adoptNode): User data handlers implemented.
734            
735    2005-11-21  Wakaba  <wakaba@suika.fam.cx>
736    
737            * DOMCore.dis (UserDataHandler): A constraint for Perl binding
738            added.
739    
740            * Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
741            (getUserData, setUserData): Implemented.
742    
743    2005-11-20  Wakaba  <wakaba@suika.fam.cx>
744    
745            * DOMCore.dis (UserDataHandler): Implemented.
746            (DOMErrorHandler): Blessed package name bug fixed.
747    
748            * ManakaiDOMLS2003.dis: Reference to |Node| subclasses
749            changed to |Tree.dis|.
750            
751    2005-11-20  Wakaba  <wakaba@suika.fam.cx>
752    
753            * DOMMain.dis: Unused declarations and definitions removed.
754    
755            * DOMCore.dis: DOM document tree related interfaces removed.
756    
757            * Tree.dis: New module separated from |DOMCore.dis|.
758    
759            * DOMXML.dis: Some referent changed to |Tree.dis|.
760    
761            * Makefile: |Tree.dis| added.
762    
763    2005-11-16  Wakaba  <wakaba@suika.fam.cx>
764    
765            * .cvsignore: Revised.
766            
767    2005-11-16  Wakaba  <wakaba@suika.fam.cx>
768    
769            * ManakaiDOMLS2003.dis: Tests added.
770            (domConfig): Method name in the code fixed to |flag|.
771    
772            * DOMMain.dis (findOffset32): Missing |^| in regular expressions
773            added.
774    
775            * DOMCore.dis (hasChildNodes): Returns |false| if the node type
776            is defined not to have any children.
777            (CharacterData): Typos in element type names and function names fixed.
778    
779    2005-11-15  Wakaba  <wakaba@suika.fam.cx>
780    
781            * DOMFeature.dis (MinimumImplementation.eq): Added.
782    
783            * DOMMain.dis: |DISPerl:ISA| reference fixed.
784    
785            * Generic.dis: Implements new |DOMLS:Generic| feature.
786    
787    2005-11-15  Wakaba  <wakaba@suika.fam.cx>
788    
789            * DOMFeature.dis (stringifyFeatures): Don't double |SPACE|
790            characters between feature names and versions.
791    
792    2005-11-13  Wakaba  <wakaba@suika.fam.cx>
793    
794            * DOMFeature.dis (stringifyFeatures): A test code added.
795    
796    2005-10-26  Wakaba  <wakaba@suika.fam.cx>
797    
798            * SimpleLS.dis (writeToString): Don't stop serializing
799            when an |false| value appears in |@src|.
800    
801    2005-10-16  Wakaba  <wakaba@suika.fam.cx>
802    
803            * DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented.
804            (ErrDef): Redefined.
805    
806            * DOMLS.dis (ErrDef): Redefined.
807    
808    2005-10-16  Wakaba  <wakaba@suika.fam.cx>
809    
810            * DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject".
811    
812    2005-10-15  Wakaba  <wakaba@suika.fam.cx>
813    
814            * DOMCore.dis (Require): References "DOMLS.dis" module.
815            (CParam): Definitions for LS module added.
816    
817            * DOMLS.dis (ManakaiDOMLSInput): The input processor
818            is also an output processor now.
819            (ManakaiDOMLSResourceResolver): Implemented.
820            (CParam): Definitions updated.
821    
822    2005-10-14  Wakaba  <wakaba@suika.fam.cx>
823    
824            * DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR,
825            NOT_SUPPORTED_CONFIG_VALUE_ERR,
826            INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes.
827            (DOMConfiguration): Implemented.
828            (CParam): Definitions updated.
829    
830            * DOMMain.dis (DOMURIs): New data type.
831            
832    2005-10-13  Wakaba  <wakaba@suika.fam.cx>
833    
834            * DOMCore.dis (setAttrValueNS): New code.
835    
836    2005-10-12  Wakaba  <wakaba@suika.fam.cx>
837    
838            * DOMCore.dis: Don't set "infoset:prefix" internal
839            property unless it has non-null value.
840            (newObject): "refNode" parameter introduced.
841            (ManakaiDOMNode.newObject): Calls "NodeStem.newNode"
842            method if "refNode" parameter is specified.
843            (cloneNode): Don't set "read-only" flag.
844            (getNodeReference): Caches the result.
845            (selectAttributeNodeForRemove): Don't removes any other
846            non-namespace-aware attribute nodes.
847    
848    2005-10-11  Wakaba  <wakaba@suika.fam.cx>
849    
850            * DOMCore.dis (appendChild, createElementNS, createAttributeNS,
851            setAttribute, setAttributeNS): "strictErrorChecking" attribute supported.
852            (doStrictErrorChecking): New code.
853    
854            * DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute
855            supported.
856    
857            * Makefile: Rule to make "DOMFeature.pm" restored.
858    
859    2005-10-10  Wakaba  <wakaba@suika.fam.cx>
860    
861            * DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
862            (adoptNode): Implemented.
863    
864    2005-10-09  Wakaba  <wakaba@suika.fam.cx>
865    
866            * DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed.
867    
868            * DOMFeature.dis (DOMCore:implementation): Short name added.
869    
870            * DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
871            (DOMCore:node): New error parameter.
872            (DOMCore:ownerDocument): Changed from "mn:irefnode0"
873            to "mn:xrefnode0".  For this reason, all assignments
874            to this property have been rewritten to references
875            to code "mn:setXRefNode".
876            (cloneNode): Implemented.
877            (setAttributeNode): A missing "importTree" method call added.
878            (setAttributeNodeNS): Perl code removed and changed
879            to a reference to "setAttributeNode" method code.
880    
881            * DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0"
882            property to "mn:xrefnode0" property.
883    
884    2005-10-08  Wakaba  <wakaba@suika.fam.cx>
885    
886            * DOMCore.dis, DOMLS.dis: Now constant values are defined only
887            in interfaces.
888    
889    2005-10-06  Wakaba  <wakaba@suika.fam.cx>
890    
891            * DOMCore.dis (ManakaiDOMEmptyNodeList): New class.
892            (ManakaiDOMCharacterData): Methods reimplemented.
893            (splitText): Reimplemented.
894            (childNodes): Returns a "ManakaiDOMEmptyNodeList"
895            for non-parent node types.
896    
897            * DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList"
898                    for non-parent node types.
899    
900    2005-10-05  Wakaba  <wakaba@suika.fam.cx>
901    
902            * ManakaiDOMLS2003.dis: Revised to new format.
903    
904            * GenericLS.dis (DOMLS:ParseString): New feature.
905    
906    2005-10-05  Wakaba  <wakaba@suika.fam.cx>
907    
908            * DOMFeature.dis: Description added and revised.  (Still more
909            work required.)
910    
911    2005-10-04  Wakaba  <wakaba@suika.fam.cx>
912    
913            * DOMMain.dis (DOMString): The "idl:perl" attribute
914            value has been changed from "DISPerl:String"
915            to "DISPerl:CharacterString" to clarify its semantics.
916    
917    2005-10-03  Wakaba  <wakaba@suika.fam.cx>
918    
919            * DOMFeature.dis (MIString): Java, ECMAScript, and Perl bound
920            type properties added.
921    
922            * DOMMain.dis (DataType): Java, ECMAScript, and Perl bound
923            type properties added.
924    
925    2005-10-02  Wakaba  <wakaba@suika.fam.cx>
926    
927            * DOMFeature.dis (Module): "idl:prefix" and "idl:moduleName"
928            properties added.
929    
930    2005-10-01  Wakaba  <wakaba@suika.fam.cx>
931    
932            * DOMFeature.dis: Documentation added (still work in progress).
933            (MIString): New type.
934    
935            * DOMCore.dis (namespaceURI): Fixed to return the namespace
936            URI value, not a reference to it.
937    
938    2005-09-30  Wakaba  <wakaba@suika.fam.cx>
939    
940            * DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local
941            names where possible.
942    
943            * DOMFeature.dis: Documentation for DOM Minimum Implementation
944            added (still work in progress).
945    
946            * Makefile (feature.dae, feature-spec.dae): New rules.
947    
948    2005-09-27  Wakaba  <wakaba@suika.fam.cx>
949    
950            * DOMCore.dis (DOMCore:nodeProp): New property.
951    
952            * DOMCore.dis, DOMXML.dis: Codes to set properties "TreeCore:*"
953            is removed.
954    
955  2005-09-26  Wakaba  <wakaba@suika.fam.cx>  2005-09-26  Wakaba  <wakaba@suika.fam.cx>
956    
957          * DOMCore.dis, DOMXML.dis: New mn:* properties added.          * DOMCore.dis, DOMXML.dis: New mn:* properties added.
# Line 45  Line 999 
999          * DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion"          * DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion"
1000          features if it is "for" ManakaiDOM:DOMXMLFeature.          features if it is "for" ManakaiDOM:DOMXMLFeature.
1001    
1002          * DOMMain.pm (StringExtended): Code portions of raising          * DOMMain.pm (StringExtend): Code portions of raising
1003          StringOutOfBoundsException is temporary disabled since          StringOutOfBoundsException is temporary disabled since
1004          it is not a DOM-style exception supported by          it is not a DOM-style exception supported by
1005          current implementation of ManakaiNode - it will be          current implementation of ManakaiNode - it will be

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24