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

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.148

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24