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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24