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

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.153

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24