/[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.44 by wakaba, Fri Jan 7 13:07:14 2005 UTC revision 1.131 by wakaba, Sat Feb 18 07:39:03 2006 UTC
# Line 1  Line 1 
1    2006-02-18  Wakaba  <wakaba@suika.fam.cx>
2    
3            * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
4            feature.
5    
6            * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
7    
8            * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
9            (DOMImplementationLS.createLSParser): Implemented.
10            (DOMImplementationLS.createLSInput): Revised.
11            (LSInput): Note on relationship with |GenericLS| is added.
12    
13            * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
14    
15    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
16    
17            * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
18            is introduced.
19            (async, busy): Implemented.
20            (parseString): Removed.
21            (parse, parseURI): Implemented.
22            (xp:ls-input-to-input-file): New configuration parameter.
23            (shiftChar): Gets character from current file handle
24            rather than replacement text.  Don't normalize
25            line break characters for internal entities.  Don't
26            throw |xp:wf-legal-literal-character| error
27            for |RestrictedChar| appearing in internal entities.
28            (DISPerl:dpgDef): Call |close| for each entity filehandler.
29            (_EntityDeclaration): Copy document URI and base URI
30            to the entity's |$decl| object.
31            (ParseError): New code fragment.
32            (getCopyOfEntityState): Creates filehandle from replacement
33            text.
34            (xp-error-lines): Don't appends text if no replacement
35            text is available.
36            (error-handler): New configuration parameter application resource.
37            (ManakaiDOMLSInputToInputFile): New class.
38            (ManakaiDOMInputFile): New class.
39    
40            * Tree.dis (getNodeReference): A dereferencing was missing.
41    
42            * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
43    
44    2006-02-17  Wakaba  <wakaba@suika.fam.cx>
45    
46            * XMLParser.dis: Default attribute are now namespace aware.
47            (parseString): Don't output |Document| warnings
48            during tree construction to standard error output.
49    
50    2006-02-16  Wakaba  <wakaba@suika.fam.cx>
51    
52            * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
53            XML Namespace 1.1 is implemented.  Namespace well-formedness
54            error detection is implemented.  Generates |Notation| nodes
55            from notation declarations.
56            (checkNCName, checkQName): New code fragments.
57    
58            * XDoctype.dis (DocumentXDoctype): Factory methods
59            don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
60            is |false|.
61    
62            * DOMCore.dis (wf-invalid-character-in-node-name,
63            wf-invalid-character): Removed (moved to |MDOM:Tree| module).
64    
65            * Tree.dis '(wf-invalid-character-in-node-name,
66            wf-invalid-character): New errors (from |MDOM:DOMCore| module).
67            (Attr.specified): Setter added.
68            (cfg:dtd-default-attributes): New configuration parameter.
69            (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
70            if |Document.strictErrorChecking| is |false|.
71    
72    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
73    
74            * XMLParser.dis: Set |allDeclarationsProcessed|
75            attribute of the |Document| node.  Don't process entity
76            and attribute definition list declarations after
77            unread parameter entity reference.  Warns if an attribute definition is
78            ignored (|xp:warning-attribute-definition-ignored|).  Set
79            flags whether predefined entities are declared or not.
80            WFC error |xp:wf-pes-in-internal-subset| is implemented.
81    
82    2006-02-15  Wakaba  <wakaba@suika.fam.cx>
83    
84            * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
85            if a predefined entity declaration references an external entity.
86            Issues |xp:error-malformed-predefined-entity| error if
87            a predefined entity declaration defines different thing than
88            one as in XML specification.  
89            Issies |xp:warning-entity-declaration-ignored| warning if
90            more than one entity declarations for an entity is found.
91            (WFErrDef): Now all well-formedness errors are marked
92            as |SEVERITY_FATAL_ERROR|.
93    
94            * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
95            predefined entity declarations.
96            (DocumentXDoctype.createNotation): New method.
97            (DocumentTypeDefinition.notations): New attribute.
98            (DocumentTypeDefinition.getNotationNode): New method.
99            (DocumentTypeDefinition.setNotationNode): New method.
100            (newNotationForTest): New code fragment.
101    
102            * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
103            (c:ManakaiDOMNotationMap): New class.
104            (c:ManakaiDOMNotationMapArray): New class.
105            (Document.allDeclarationsProcessed): New attribute.
106    
107            * DOMXML.dis (DocumentType.notations): Implemented.
108            (Notation): Revised.
109            (Notation.ownerDocumentTypeDefinition): New attribute.
110    
111    2006-02-14  Wakaba  <wakaba@suika.fam.cx>
112    
113            * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
114            WFC errors are implemented.  Reports a |xp:wf-syntax-error|
115            if a parameter entity declaration contains |NDATA| keyword.
116            (setEmptyEntityState): Set |name| attribute.
117    
118            * Tree.dis (createEntityReference): Don't enter into inifinite
119            loop even if entity replacement tree contains recursive
120            reference directly or indirectly.
121    
122    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
123    
124            * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
125            WFC error is implemented.
126    
127    2006-02-13  Wakaba  <wakaba@suika.fam.cx>
128    
129            * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
130            configuration parameter |true| during tree construction
131            to ensure default attribute value is cloned as is
132            including entity reference subtree.
133    
134            * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
135            parameter.
136            (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
137            configuration parameter support is added.
138    
139    2006-02-12  Wakaba  <wakaba@suika.fam.cx>
140    
141            * XMLParser.dis (parseString): General |Entity| replacement
142            tree is not constructed because of a typo.  Clears |EntityReference|
143            content before constructing |Entity| replacement tree.
144            The |xp:wf-entity-declared| well-formedness constraint
145            for entity references in attribute value literal is implemented.
146    
147    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
148    
149            * XMLParser.dis: |xp:wf-entity-declared| well-formedness
150            constaraint for entity references that appear in
151            content of elements is implemented.   Set |EntityReference.isExpanded|
152            attribute.
153            (getEmptyEntityState): New code.
154    
155            * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
156            definition is removed.
157    
158            * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
159            (EntityReference.isExpanded): Setter is added.
160    
161    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
162    
163            * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
164            and |xp:wf-no-external-entity-references| well-formedness
165            constraints are implemented.
166    
167    2006-02-11  Wakaba  <wakaba@suika.fam.cx>
168    
169            * XMLParser.dis ($self->{has_error}): Removed.
170            (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
171            errors (including well-formedness constraint errors) are
172            traped by the error handler.
173            (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
174            attribute of the node.  Reports an error if |publidLiteral|
175            contains a non-|pubidChar|.
176    
177            * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
178            version |3.0|).
179            (ManakaiDOMDocumentTypeDefinition): The class no longer
180            inherits |x:ManakaiDOMDocumentType| class.  Instead,
181            it inherits |d:ManakaiDOMDocumentTypeDeclaration|
182            and |t:ManakaiDOMNOde| classes.  It still implements |x:DocumentType|
183            interface (except unimplemented |notations| and |internalSubset|
184            attributes).
185            (ManakaiDOMDocumentTypeDefinition.entities): New attribute
186            for compatibility with |x:DocumentType| interface.
187            (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
188            (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
189            (ManakaiDOMDocumentTypeDefinition.nodeType,
190            ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
191            (DocumentTypeDeclaration): New interface.
192    
193            * Tree.dis (Node/@f:implements): Typos fixed.
194            (Node.MUErrorHandler): Missing |last A| statement is added.
195            (createDocumentType): Throws an exception if |qualifiedName|
196            is illegal.  Calls |DocumentTypeDefinition.newObject|
197            instead of obsolete |DocumentType.newObject|.
198    
199            * DOMXML.dis (DocumentType.name, DocumentType.entities,
200            DocumentType.publicId, DocumentType.systemId,
201            DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
202            as clones of similar attributes or methods
203            in |MDOM:XDoctype| module.
204            (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
205            instead).
206            (DocumentType.childNodes): Removed (|Node.childNodes| definition
207            is used).
208    
209    2006-02-10  Wakaba  <wakaba@suika.fam.cx>
210    
211            * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
212            fatal error.
213    
214    2006-02-09  Wakaba  <wakaba@suika.fam.cx>
215    
216            * XMLParser.dis (CommentDeclaration): |STRING| is now
217            defined as a |?default-token|.
218            (XMLTests): Tests for |Char - RestrictedChar| matchness,
219            comment declarations, cdata sections, and |MSE| in |content|
220            added.
221            (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
222            (get-location-from-token): |$token->{location_d}|
223            for |?default-token| column counting support added.
224    
225            * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
226    
227    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
228    
229            * Tree.dis (createProcessingInstruction): Don't
230            throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
231            is |false|.
232    
233            * XMLParser.dis (parseString): Initializes |$self->{location}|.
234            It enables improved error position report.
235            (XDO): It now includes |S+| following target name |xml| as
236            part of the token.  (PI with target starting with |xml|
237            was unable to be placed at the beginning of the document entity.)
238            (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
239            a processing instruction node with |#INVALID| node name
240            if target name is not given and recovered from the error.
241            (S): Variable |$s| added.
242            (XMLTests): Tests for XML declarations and processing
243            instructions are added.  Prints error type name if unexpected
244            error with severity of error or fatal error has been reported.
245            Catch unexpected exceptions thrown in parser (different
246            from |LSException|), prints its message, and invoke |$test->not_ok|
247            for the ease of testing.
248            (xp:get-location-from-token): Location values now take |$self->{char}|
249            stack into acount.
250            
251    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
252    
253            * XMLParser.dis (shiftChar): Line and column number counting
254            is fixed.  Although the DOM Level 3 Core specification
255            is unclear about whether the first number is zero or one,
256            in most programs the first line is "one" and
257            the first column is "one", manakai follows the practice.
258            (_XMLDeclaration): Don't set |xmlStandalone| value
259            if |standalone| pseudo-attribute value is |no|.  XML declaration
260            tests (successful cases) added.
261            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
262            properties.
263    
264    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
265    
266            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
267    
268    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
269    
270            * DOMCore.dis (c:erred): New property.
271            (c:DOMErrorType): It should have been a subset
272            of |ecore:AnyErrorCode|.
273    
274            * XMLParser.dis (XMLTests): Empty input tests added.
275    
276    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
277    
278            * XDoctype.dis (d:Feature): New canonical feature
279            name |fe:XDoctype| is added.
280    
281            * XMLParser.dis: Predefined general entity references
282            are implemented.  Creates |Entity| nodes from general entities
283            declared in internal subset.  |Entity| nodes created from internal
284            general parsed entities now have replacement tree.
285            Sets |cfg:entity-reference-read-only| flag off during
286            the tree generation.  Some parsing rules use |$self->{doc}|
287            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
288            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
289            introduced.  General entity references in attribute value literal
290            are supported.
291    
292    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
293    
294            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
295            parameter name changed to |cfg:entity-reference-read-only|.
296            (createEntityReference): Set |c:read-only| flag of
297            the created entity reference, too.
298    
299            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
300    
301            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
302            from |DOMFeature| module instead.  Use |idl:Object|
303            instead of |DOMMain:DOMObject| as well.
304            (Generic): New canonical feature name |fe:GenericLS| added.
305            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
306            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
307            respectively.
308    
309            * DOMXML.dis (entities, notations): Perl code removed.
310            It will be reimplemented using |DocumentTypeDefinition|
311            class from |XDoctype| module.
312    
313            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
314            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
315            SimpleLS.dis: Cleaned up unused definitions.
316    
317            * DOMCore.dis, DOMLS.dis (CParam): Definitions
318            for LS module moved from |DOMCore| module to |DOMLS| module.
319            This change makes |DOMCore| to |DOMLS| dependency removed.
320    
321            * .cvsignore (.html.pm, .ls.pm): Removed.
322    
323            * Makefile (.html.pm, .ls.pm): Removed.
324            (feature.dae): Include |GenericLS| module.
325            (core.dae): Don't include |DOMLS| and |GenericLS| module.
326            (ls.dae): Include |DOMLS| module.
327    
328    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
329    
330            * XMLParser.dis: Tests on default attributes and their |specified|
331            attribute are added.
332    
333            * XDoctype.dis (createGeneralEntity): New method.
334            (generalEntities): New attribute.
335            (getGeneralEntityNode, setGeneralEntityNode): New methods.
336    
337            * Tree.dis (ManakaiDOMEntities): Removed.
338            (ManakaiDOMEntityMap): New class.
339            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
340            (createEntityReference): If there is a corresponding |Entity|
341            node in the document type definition, then copies its
342            subtree.
343    
344            * DOMXML.dis (Entity): Documentation updated.
345            (publicId, systemId, notationName, xmlEncoding,
346            xmlVersion): These attributes are now settable
347            if |ManakaiDOM:ManakaiDOMLatest| mode.
348            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
349            mode.
350            (ownerDocumentTypeDefinition): New attribute
351            for |ManakaiDOM:ManakaiDOMLatest| mode.
352            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
353    
354    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
355    
356            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
357    
358            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
359    
360            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
361            (ManakaiDOMAttributes): Removed.
362            (ManakaiDOMAttrMap): New class.
363            (ManakaiDOMAttrMapArray): New class.
364            (namespaceURI): Bug to return a string representation
365            of a reference to the namespace URI string is fixed.
366            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
367            (removeAttribute, removeAttributeNS): DTD default attributes
368            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
369            if there is no attribute node.
370            (createElement, createElementNS): DTD default attributes are supported.
371            (setAttributeNode): Reimplemented.
372    
373    2006-01-27  Wakaba  <wakaba@suika.fam.cx>
374    
375            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
376    
377            * Tree.dis (STORESIZE): Index bound bug fixed.
378            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
379            (schemaTypeInfo): Implemented for XML DTD.
380            (isId): Returns |true| if [attribute type] is |ID|.
381            (setAttribute, setAttributeNS): Sets [attribute type]
382            of the newly created |Attr| node (if any) when attribute
383            definition is available.
384            (doctype, documentElement): Reimplemented with tests.
385    
386            * XMLParser.dis: Sets [attribute type] information
387            to created |Attr| nodes.  Normalize namespace URIs
388            when such information are available (unlikely but legal).
389            (_HexadecimalCharacterReference): Number to character
390            convertion bug fixed.
391            (_DocumentTypeDeclaration): Sets |schema-type|
392            configuration parameter to XML DTD URI.
393    
394    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
395    
396            * XMLParser.dis (_AttlistDeclaration): Now it can generate
397            attribute definition nodes.
398    
399            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
400            and another |UNKNOWN_ATTR| constant is introduced
401            for consistency with XML Infoset.
402    
403            * DOMCore.dis (TypeInfo): Documentation updated.
404    
405    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
406    
407            * XDoctype.dis: A bug in test code fixed.
408    
409            * Tree.dis (NamedNodeMap): Element type or attribute
410            definition named node maps now can be dereferenced
411            as if they are array or hash references.
412            (removeNamedItem, item, ___report_error): Implemented for element type
413            or attribute definitions.
414            (length): Tests added.
415            (NamedNodeMapArray): New classes.
416    
417    2006-01-25  Wakaba  <wakaba@suika.fam.cx>
418    
419            * XDoctype.dis (setElementTypeDefinitionNode,
420            setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
421            if the new node is already used for another definition.
422            (DocumentTypeDefinition, ElementTypeDefinition): Node
423            property name was incorrect.
424            (elementTypes, attributeDefinitions): Checks to
425            ensure the collection is empty added.
426    
427            * Tree.dis: Property name typos fixed.
428            (setNamedItem, setAttributeNode): Don't return any node
429            if it replace itself.
430            (c:userDeterminedId): Missing definition added.
431    
432            * DOMXML.dis (Notation): Missing property specification
433            of|c:ownerDocument| as |mn:xrefnode0| is added.
434    
435    2006-01-23  Wakaba  <wakaba@suika.fam.cx>
436    
437            * DOMCore.dis (Test): Missing argument added.
438            (setNamedItem): If |DocumentType| with no |ownerDocument|,
439            addition always fails with |WRONG_DOCUMENT_ERR|.  Some
440            error conditions were incorrect.
441    
442            * .cvsignore: Dummy files added.
443    
444    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
445    
446            * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
447            INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
448    
449            * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
450            to avoid uninitialized value warning.
451    
452            * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
453            classes (work in progress).
454    
455            * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
456    
457    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
458    
459            * Tree.dis (getAttribute): Returns |null| if there
460            is no attribute in |ManakaiDOM:DOMLatest| for compatibility
461            with Web browser implementations.
462            (getAttributeNS): It returned |null| if there
463            is no attribute in any |For| unintentionally.  It now
464            returns an empty string in DOM levels less than or equals
465            to three.
466    
467            * XMLParser.dis (shiftChar): Fixed not to be warned as
468            uninitialized value or substring out of range.
469    
470    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
471    
472            * DOMXML.dis (DocumentType.childNodes): Removed
473            from |ManakaiDOM:ManakaiDOMLatest| variant.
474    
475            * XMLParser.dis: Parsing of general internal entities implemented.
476            (_DocumentTypeDeclaration): Appends a document type definition
477            node to the document.
478            (_ProcessingInstructionDTD): Appends a processing
479            instruction node to the document type definition.
480            (Element_): Document element could not be an |EmptyElemTag|.
481    
482    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
483    
484            * DOMFeature.dis (featuresParamToFeaturesHash): New block
485            code (seprated from |InputProcessor|).  Now
486            a |features| parameter's version can be specified by
487            an array reference that contains a set of version
488            numbers.  A test added.
489    
490            * XMLParser.dis: A test added.
491    
492    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
493    
494            * DOMCore.dis (Test): Don't invoke |DESTROY| method
495            because it does not work with dummy object used in the test code.
496    
497    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
498    
499            * DOMMain.dis (checkXMLNamesQName): Checks whether
500            namespace URI is defined for not being warned.
501    
502            * XDoctype.dis: New module.
503    
504            * DOMCore.dis (DOMStringList): Test added.
505    
506            * Makefile: |XDoctype.pm| added.
507    
508            * Tree.dis (Require): Requires |XDoctype.dis|.
509            (ManakaiDOMNodeObjectNode.eq): Added.
510            (Test): |DOMError.location| must return a |DOMLocator|
511            object (it was incorrectly tested to return |null|).
512            (EmptyNodeList.DESTROY): Removed.
513    
514    2006-01-04  Wakaba  <wakaba@suika.fam.cx>
515    
516            * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
517            |ATTRIBUTE_DEFINITION_NODE| node types added.
518            (appendChild, insertBefore, replaceChild): New
519            two node types added and processing instruction nodes
520            as document type definition node child is allowed
521            in |ManakaiDOM:ManakaiDOMLatest| mode.
522            (getNodeReference): New |interface| parameter
523            to filter classes by interface is added.
524            (ElementTypeDefinitionRole): New role.
525            (AttributeDefinitionRole): New role.
526    
527    2006-01-02  Wakaba  <wakaba@suika.fam.cx>
528    
529            * DOMCore.dis (DOMStringList): Reimplemented as tied array.
530    
531    2005-12-31  Wakaba  <wakaba@suika.fam.cx>
532    
533            * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
534            if it is not provided.
535    
536            * XMLParser.dis: Parsing methods to skip document
537            type declaration is added.
538    
539    2005-12-29  Wakaba  <wakaba@suika.fam.cx>
540    
541            * XMLParser.dis (shiftChar): Checks characters are legal
542            or not.  Normalize end-of-lines.
543            (rule _XMLDeclaration_): Implemented.
544            (WFErrDef): Well-formedness error |wf-syntax-error|,
545            |wf-pi-target-is-xml|, |wf-no-end-tag|,
546            |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
547            |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
548            |wf-element-type-match|, |wf-unique-att-spec|,
549            |wf-legal-character| added.
550            (%character-code-point): New formatter rule.
551    
552            * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
553    
554            * DOMCore.dis (DOMError.stringify): Added.
555            (error-handler.default): Returns |false| (don't continue)
556            when the error severity is |SEVERITY_FATAL_ERROR|.
557    
558    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
559    
560            * XMLParser.dis (DocumentEntity): Typos fixed.
561            (|lexmode|s): New |?default-token| statements are used
562            so that tokenizer description has been simplified
563            and CDATA sections now can be parsed.
564    
565    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
566    
567            * XMLParser.dis: Some modifications made.
568    
569    2005-12-27  Wakaba  <wakaba@suika.fam.cx>
570    
571            * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
572            global named resource.
573    
574            * Makefile: Rules to make |XMLParser.pm| is added.
575    
576            * XMLParser.dis: New file.
577    
578    2005-12-24  Wakaba  <wakaba@suika.fam.cx>
579    
580            * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
581            message formatter can now vary by error types.
582            (DOMLocator.utf32Offset): New (manakai extended) attribute.
583    
584    2005-12-23  Wakaba  <wakaba@suika.fam.cx>
585    
586            * DOMCore.dis (DOMLocator): Implemented.
587    
588    2005-12-21  Wakaba  <wakaba@suika.fam.cx>
589    
590            * DOMCore.dis (DOMConfigurationParameterApplication,
591            domConfigurationParameter): New resources.
592    
593    2005-11-25  Wakaba  <wakaba@suika.fam.cx>
594    
595            * Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error):
596            New methods.
597    
598    2005-11-24  Wakaba  <wakaba@suika.fam.cx>
599    
600            * DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__|
601            blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks.
602    
603            * DOMMain.dis (___report_error): Throws the error unkess
604            it is a |DOMCore:DOMError| object.
605            
606    2005-11-24  Wakaba  <wakaba@suika.fam.cx>
607    
608            * DOMCore.dis (severity, type): Getters return value from
609            the definition of the current error (i.e. |-def| hash).
610            (___error_def): New method.
611            (errorType): |dis:dataType| changed to |DISCore:TFQNames|
612            to ease natural reference to constant value.
613            (error-handler.default): Prints the error message by |warn|.
614    
615            * Tree.dis (nodeValue.set): Reimplemented so that it
616            warns as setting has no effect.
617            (___report_error): New method.  (It had been only implemented
618            in superclass.)
619            (setting-node-value-no-effect): New error type.
620    
621    2005-11-23  Wakaba  <wakaba@suika.fam.cx>
622    
623            * DOMCore.dis: Error codes added.
624    
625            * Tree.dis (destroyNodeStem): New method implementation.
626    
627    2005-11-22  Wakaba  <wakaba@suika.fam.cx>
628    
629            * Tree.dis (cloneNode): User data handlers implemented.
630            (adoptNode): User data handlers implemented.
631            
632    2005-11-21  Wakaba  <wakaba@suika.fam.cx>
633    
634            * DOMCore.dis (UserDataHandler): A constraint for Perl binding
635            added.
636    
637            * Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
638            (getUserData, setUserData): Implemented.
639    
640    2005-11-20  Wakaba  <wakaba@suika.fam.cx>
641    
642            * DOMCore.dis (UserDataHandler): Implemented.
643            (DOMErrorHandler): Blessed package name bug fixed.
644    
645            * ManakaiDOMLS2003.dis: Reference to |Node| subclasses
646            changed to |Tree.dis|.
647            
648    2005-11-20  Wakaba  <wakaba@suika.fam.cx>
649    
650            * DOMMain.dis: Unused declarations and definitions removed.
651    
652            * DOMCore.dis: DOM document tree related interfaces removed.
653    
654            * Tree.dis: New module separated from |DOMCore.dis|.
655    
656            * DOMXML.dis: Some referent changed to |Tree.dis|.
657    
658            * Makefile: |Tree.dis| added.
659    
660    2005-11-16  Wakaba  <wakaba@suika.fam.cx>
661    
662            * .cvsignore: Revised.
663            
664    2005-11-16  Wakaba  <wakaba@suika.fam.cx>
665    
666            * ManakaiDOMLS2003.dis: Tests added.
667            (domConfig): Method name in the code fixed to |flag|.
668    
669            * DOMMain.dis (findOffset32): Missing |^| in regular expressions
670            added.
671    
672            * DOMCore.dis (hasChildNodes): Returns |false| if the node type
673            is defined not to have any children.
674            (CharacterData): Typos in element type names and function names fixed.
675    
676    2005-11-15  Wakaba  <wakaba@suika.fam.cx>
677    
678            * DOMFeature.dis (MinimumImplementation.eq): Added.
679    
680            * DOMMain.dis: |DISPerl:ISA| reference fixed.
681    
682            * Generic.dis: Implements new |DOMLS:Generic| feature.
683    
684    2005-11-15  Wakaba  <wakaba@suika.fam.cx>
685    
686            * DOMFeature.dis (stringifyFeatures): Don't double |SPACE|
687            characters between feature names and versions.
688    
689    2005-11-13  Wakaba  <wakaba@suika.fam.cx>
690    
691            * DOMFeature.dis (stringifyFeatures): A test code added.
692    
693    2005-10-26  Wakaba  <wakaba@suika.fam.cx>
694    
695            * SimpleLS.dis (writeToString): Don't stop serializing
696            when an |false| value appears in |@src|.
697    
698    2005-10-16  Wakaba  <wakaba@suika.fam.cx>
699    
700            * DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented.
701            (ErrDef): Redefined.
702    
703            * DOMLS.dis (ErrDef): Redefined.
704    
705    2005-10-16  Wakaba  <wakaba@suika.fam.cx>
706    
707            * DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject".
708    
709    2005-10-15  Wakaba  <wakaba@suika.fam.cx>
710    
711            * DOMCore.dis (Require): References "DOMLS.dis" module.
712            (CParam): Definitions for LS module added.
713    
714            * DOMLS.dis (ManakaiDOMLSInput): The input processor
715            is also an output processor now.
716            (ManakaiDOMLSResourceResolver): Implemented.
717            (CParam): Definitions updated.
718    
719    2005-10-14  Wakaba  <wakaba@suika.fam.cx>
720    
721            * DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR,
722            NOT_SUPPORTED_CONFIG_VALUE_ERR,
723            INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes.
724            (DOMConfiguration): Implemented.
725            (CParam): Definitions updated.
726    
727            * DOMMain.dis (DOMURIs): New data type.
728            
729    2005-10-13  Wakaba  <wakaba@suika.fam.cx>
730    
731            * DOMCore.dis (setAttrValueNS): New code.
732    
733    2005-10-12  Wakaba  <wakaba@suika.fam.cx>
734    
735            * DOMCore.dis: Don't set "infoset:prefix" internal
736            property unless it has non-null value.
737            (newObject): "refNode" parameter introduced.
738            (ManakaiDOMNode.newObject): Calls "NodeStem.newNode"
739            method if "refNode" parameter is specified.
740            (cloneNode): Don't set "read-only" flag.
741            (getNodeReference): Caches the result.
742            (selectAttributeNodeForRemove): Don't removes any other
743            non-namespace-aware attribute nodes.
744    
745    2005-10-11  Wakaba  <wakaba@suika.fam.cx>
746    
747            * DOMCore.dis (appendChild, createElementNS, createAttributeNS,
748            setAttribute, setAttributeNS): "strictErrorChecking" attribute supported.
749            (doStrictErrorChecking): New code.
750    
751            * DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute
752            supported.
753    
754            * Makefile: Rule to make "DOMFeature.pm" restored.
755    
756    2005-10-10  Wakaba  <wakaba@suika.fam.cx>
757    
758            * DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
759            (adoptNode): Implemented.
760    
761    2005-10-09  Wakaba  <wakaba@suika.fam.cx>
762    
763            * DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed.
764    
765            * DOMFeature.dis (DOMCore:implementation): Short name added.
766    
767            * DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
768            (DOMCore:node): New error parameter.
769            (DOMCore:ownerDocument): Changed from "mn:irefnode0"
770            to "mn:xrefnode0".  For this reason, all assignments
771            to this property have been rewritten to references
772            to code "mn:setXRefNode".
773            (cloneNode): Implemented.
774            (setAttributeNode): A missing "importTree" method call added.
775            (setAttributeNodeNS): Perl code removed and changed
776            to a reference to "setAttributeNode" method code.
777    
778            * DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0"
779            property to "mn:xrefnode0" property.
780    
781    2005-10-08  Wakaba  <wakaba@suika.fam.cx>
782    
783            * DOMCore.dis, DOMLS.dis: Now constant values are defined only
784            in interfaces.
785    
786    2005-10-06  Wakaba  <wakaba@suika.fam.cx>
787    
788            * DOMCore.dis (ManakaiDOMEmptyNodeList): New class.
789            (ManakaiDOMCharacterData): Methods reimplemented.
790            (splitText): Reimplemented.
791            (childNodes): Returns a "ManakaiDOMEmptyNodeList"
792            for non-parent node types.
793    
794            * DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList"
795                    for non-parent node types.
796    
797    2005-10-05  Wakaba  <wakaba@suika.fam.cx>
798    
799            * ManakaiDOMLS2003.dis: Revised to new format.
800    
801            * GenericLS.dis (DOMLS:ParseString): New feature.
802    
803    2005-10-05  Wakaba  <wakaba@suika.fam.cx>
804    
805            * DOMFeature.dis: Description added and revised.  (Still more
806            work required.)
807    
808    2005-10-04  Wakaba  <wakaba@suika.fam.cx>
809    
810            * DOMMain.dis (DOMString): The "idl:perl" attribute
811            value has been changed from "DISPerl:String"
812            to "DISPerl:CharacterString" to clarify its semantics.
813    
814    2005-10-03  Wakaba  <wakaba@suika.fam.cx>
815    
816            * DOMFeature.dis (MIString): Java, ECMAScript, and Perl bound
817            type properties added.
818    
819            * DOMMain.dis (DataType): Java, ECMAScript, and Perl bound
820            type properties added.
821    
822    2005-10-02  Wakaba  <wakaba@suika.fam.cx>
823    
824            * DOMFeature.dis (Module): "idl:prefix" and "idl:moduleName"
825            properties added.
826    
827    2005-10-01  Wakaba  <wakaba@suika.fam.cx>
828    
829            * DOMFeature.dis: Documentation added (still work in progress).
830            (MIString): New type.
831    
832            * DOMCore.dis (namespaceURI): Fixed to return the namespace
833            URI value, not a reference to it.
834    
835    2005-09-30  Wakaba  <wakaba@suika.fam.cx>
836    
837            * DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local
838            names where possible.
839    
840            * DOMFeature.dis: Documentation for DOM Minimum Implementation
841            added (still work in progress).
842    
843            * Makefile (feature.dae, feature-spec.dae): New rules.
844    
845    2005-09-27  Wakaba  <wakaba@suika.fam.cx>
846    
847            * DOMCore.dis (DOMCore:nodeProp): New property.
848    
849            * DOMCore.dis, DOMXML.dis: Codes to set properties "TreeCore:*"
850            is removed.
851    
852    2005-09-26  Wakaba  <wakaba@suika.fam.cx>
853    
854            * DOMCore.dis, DOMXML.dis: New mn:* properties added.
855    
856    2005-09-25  Wakaba  <wakaba@suika.fam.cx>
857    
858            * Makefile (DAC_SUFFIX): Changed to ".dae".
859            (DAEM_SUFFIX): New.
860    
861    2005-09-24  Wakaba  <wakaba@suika.fam.cx>
862    
863            * DOMMain.dis (MDOM:): Reintroduced for "ManakaiDOM:ManakaiDOM1"
864            and "ManakaiDOM:ManakaiDOM2".
865    
866            * DOMFeature.dis, DOMMain.dis, DOMCore.dis, DOMXML.dis,
867            DOMLS.dis, SimpleLS.dis, GenericLS.dis: Use disPerl:H
868            instead of disPerl:Q for internal property hash keys.
869    
870            * DOMFeature.dis, DOMCore.dis, DOMXML.dis: Missing property
871            definitions added.
872    
873            * DOMCore.dis (DOMCore:TextNode, DOMCore:DocumentFragmentNode):
874            New resources.
875            
876            * DOMXML.dis (DOMXML:EntityNode, DOMXML:EntityReferenceNode): New
877            resources.
878    
879    2005-09-23  Wakaba  <wakaba@suika.fam.cx>
880    
881            * GenericLS.dis, SimpleLS.dis: New modules separated
882            from DOMLS.dis.
883    
884            * DOMFeature.dis, DOMMain.dis: "MDOM:" and "for" definitions
885            moved from DOMMain to DOMFeature.  Now DOMFeature
886            has no dependency on DOMMain.
887    
888            * DOMFeature.dis (DEBUG): New variable.
889    
890    2005-09-22  Wakaba  <wakaba@suika.fam.cx>
891    
892            * Makefile: DAC_SUFFIX changed to ".dad".
893    
894    2005-09-21  Wakaba  <wakaba@suika.fam.cx>
895    
896            * DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion"
897            features if it is "for" ManakaiDOM:DOMXMLFeature.
898    
899            * DOMMain.pm (StringExtend): Code portions of raising
900            StringOutOfBoundsException is temporary disabled since
901            it is not a DOM-style exception supported by
902            current implementation of ManakaiNode - it will be
903            recovered in later revision.
904    
905    2005-09-20  Wakaba  <wakaba@suika.fam.cx>
906    
907            * DOMFeature.pm: Debug output code copied
908            from Attic/DOMMetaImpl.pm (Should these code incorporated
909            to source dis file?).
910    
911    2005-09-19  Wakaba  <wakaba@suika.fam.cx>
912    
913            * DOMMain.dis (ManakaiDOM:DOMMethod, ManakaiDOM:DOMMethodReturn,
914            ManakaiDOM:DOMAttribute, ManakaiDOM:DOMAttrGet,
915            ManakaiDOM:DOMAttrSet, ManakaiDOM:DOMMethodParam): Removed.
916            (ManakaiDOMTimeStamp): Removed.
917    
918            * DOMBoot.dis, DOMMetaImpl.dis, DOMMetaImpl.pm: Removed (they are no
919            longer in use).
920    
921    2005-09-18  Wakaba  <wakaba@suika.fam.cx>
922    
923            * DOMMain.dis (StringOutOfBoundsException): New exception.
924    
925    2005-09-15  Wakaba  <wakaba@suika.fam.cx>
926    
927            * DOMFeature.dis: dis:dataType and dis:multipleProperties
928            properties added to properties.
929    
930    2005-09-08  Wakaba  <wakaba@suika.fam.cx>
931    
932            * Makefile: Rules renewaled.
933    
934    2005-09-07  Wakaba  <wakaba@suika.fam.cx>
935    
936            * DOMCore.dis, DOMXML.dis, DOMLS.dis: Inheritance information fixed.
937    
938    2005-09-05  Wakaba  <wakaba@suika.fam.cx>
939    
940            * DOMMain.dis (DOMImplementationRegistry,
941            DOMImplementationRegistryVar): New.
942    
943            * DOMFeature.dis (DOMImplementationRegistry,
944            DOMImplementationRegistryVar): Removed.
945            (ImplementationRegistry): New class.
946    
947    2005-09-04  Wakaba  <wakaba@suika.fam.cx>
948    
949            * DOMFeature.dis: New module.
950    
951            * DOMMetaImpl.dis (ManakaiDOM:ManakaiDOMObject): Removed.
952    
953            * DOMMain.dis (ManakaiDOM:ManakaiDOMObject): New.
954            (DOMString, DOMTimeStamp): Now they are not interfaces
955            but datatypes.
956            (DOMUserData, DOMObject, DOMUserData): Now they
957            are subtypes rather than aliases of their "real" type in IDL.
958            
959            * DOMCore.dis (DOMImplementationList, DOMImplementationSource):
960            New interfaces and classes.    
961    
962    2005-09-01  Wakaba  <wakaba@suika.fam.cx>
963    
964            * DOMCore.dis (setTextNodeContent): Sets the infoset:parent
965            property of the new Text node.
966    
967    2005-08-29  Wakaba  <wakaba@suika.fam.cx>
968    
969            * Makefile: Loads "NaturalLanguage.dis".
970    
971    2005-08-26  Wakaba  <wakaba@suika.fam.cx>
972    
973            * DOMCore.dis (createDocument): Set "ownerDocument" attribute
974            to the root element created by the method.  (It was forgotten!!)
975    
976    2005-08-15  Wakaba  <wakaba@suika.fam.cx>
977    
978            * DOMCore.dis (appendChild, insertBefore, replaceChild): Typo
979            in the code of removing the newChild from the previous
980            parent of that node is fixed.
981    
982    2005-05-29  Wakaba  <wakaba@suika.fam.cx>
983    
984            * DOMLS.dis (SimpleSerializer): End tag was sometimes missing.  Use
985            namespace prefix of element type if it is not declared
986            but not used else.  A shift is replaced by pop:).
987    
988            * DOMCore.dis (getFeature): The getFeature method
989            for Node-derived classes implemented.
990            * DOMXML.dis (getFeature): Ditto.
991    
992    2005-05-21  Wakaba  <wakaba@suika.fam.cx>
993    
994            * DOMCore.dis (getNodeReference): Use HTMLDocument class
995            if a document node has no document element node but
996            has support for the "HTML" feature.
997    
998    2005-03-03  Wakaba  <wakaba@suika.fam.cx>
999    
1000            * DOMMetaImpl.dis (features input normalizer): Variable name
1001            typo fixed.
1002            (ManakaiDOMImplementationSource.getDOMImplementation): Fixed bug
1003            so that version specification for "+"'ed feature name does work now.
1004    
1005    2005-03-02  Wakaba  <wakaba@suika.fam.cx>
1006    
1007            * DOMBoot.dis (ResourceDef): Definitions for DOMFeature are
1008            removed (now defined in DOMMetaImpl).
1009    
1010    2005-02-21  Wakaba  <wakaba@suika.fam.cx>
1011    
1012            * DOMMetaImpl.dis (IFClsDef[ManakaiDOMMinimumImplementation]): New.
1013    
1014            * Makefile: Rules for DOMMetaImpl module added.
1015    
1016    2005-02-20  Wakaba  <wakaba@suika.fam.cx>
1017    
1018            * DOMMetaImpl.dis: New module (split from DOMCore and DOMMain).
1019    
1020    2005-02-18  Wakaba  <wakaba@suika.fam.cx>
1021    
1022            * DOMCore.dis (getFeature): ManakaiDOM:ManakaiDOMNodeObject.newReference
1023            is an instance method, not a class method.
1024    
1025            * DOMMain.dis (ResourceTypeDef[ManakaiDOM:Const,
1026            ManakaiDOM:ConstGroup]): Removed (moved to "lib/manakai/DISLang.dis").
1027            (Exception-related definitions): Removed (moved to
1028            "lib/Message/Util/Error/DOMException.dis").
1029            (ForDef[ManakaiDOM:ForIF, ManakaiDOM:ForClass]): Removed (moved
1030            to DISLang).
1031    
1032    2005-02-17  Wakaba  <wakaba@suika.fam.cx>
1033    
1034            * DOMMain.dis: Definitions for "ManakaiDOM:ManakaiDOMNodeObject" and
1035            "ManakaiDOM:ManakaiDOMNodeReference" are removed (moved to
1036            "lib/Message/Util/ManakaiNode.dis").
1037            (ResourceDef[ManakaiDOM:DataType]): Removed (moved to
1038            "lib/manakai/DISCore.dis").
1039            (ResourceTypeDef[ManakaiDOM:IF, ManakaiDOM:Class,
1040            ManakaiDOM:PrimitiveTypeClass]): Removed (moved to
1041            "lib/manakai/DISLang.dis").
1042    
1043    2005-02-16  Wakaba  <wakaba@suika.fam.cx>
1044    
1045            * DOMMain.dis (ForDef[ManakaiDOM:Perl]): Removed (moved to
1046            DISPerl module).
1047    
1048  2005-01-07  Wakaba  <wakaba@suika.fam.cx>  2005-01-07  Wakaba  <wakaba@suika.fam.cx>
1049    
1050          * DOMCore.dis: Each "delete array-item" replaced to a "splice".          * DOMCore.dis: Each "delete array-item" replaced to a "splice".

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.131

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24