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

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.140

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24