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

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.151

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24