/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Contents of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.139 - (hide annotations) (download)
Mon Mar 6 10:19:33 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.138: +14 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	6 Mar 2006 10:18:27 -0000
	* DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
	(REMOVE_DOCUMENT_ELEMENT_ERR): New error.
	(REMOVE_DOCUMENT_TYPE_ERR): New error.

	* DOMXML.dis (ManakaiDOMDocumentType): Removed.
	(ProcessingInstruction.appendChild, CDATASection.appendChild,
	Notation.appendChild): New method implementation.

	* Tree.dis (CharacterData.appendChild): New method implementation.

	* XDoctype.dis: Tests moved from |MDOM:DOMXML| module.

2006-03-06  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.138 2006-03-06 Wakaba <wakaba@suika.fam.cx>
2    
3 wakaba 1.139 * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
4     (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
5     (REMOVE_DOCUMENT_TYPE_ERR): New error.
6    
7     * DOMXML.dis (ManakaiDOMDocumentType): Removed.
8     (ProcessingInstruction.appendChild, CDATASection.appendChild,
9     Notation.appendChild): New method implementation.
10    
11     * Tree.dis (CharacterData.appendChild): New method implementation.
12    
13     * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
14    
15     2006-03-06 Wakaba <wakaba@suika.fam.cx>
16    
17 wakaba 1.138 * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
18    
19     * Tree.dis (createAttribute, createAttributeNS,
20     setAttribute, setAttributeNS): They now supports
21     the |cfg:xml-id| configuration parameter.
22     (cfg:xml-id): New configuration parameter.
23    
24     * XDoctype.dis (createAttributeDefinition): It now
25     supports the |cfg:xml-id| configuration parameter.
26    
27     * XMLParser.dis (parse): It now supports
28     the |cfg:xml-id| configuration parameter.
29    
30 wakaba 1.136 2006-03-05 Wakaba <wakaba@suika.fam.cx>
31    
32 wakaba 1.137 * XMLParser.dis (parse): Sets |Document.documentURI|
33     and |Document.manakaiEntityBaseURI| attributes of the
34     document created.
35     (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
36     property of the created node.
37     (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
38     of the created node.
39     (ls-input-to-input-file.default): Sets the resolved
40     system identifier to the |documentURI| attribute if available.
41     Sets the |baseURI| attribute if available.
42    
43     2006-03-05 Wakaba <wakaba@suika.fam.cx>
44    
45 wakaba 1.136 * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
46     (Node.baseURI): New attribute implementations.
47     (declarationBaseURI): Setter is added.
48     (manakaiDeclarationBaseURI): New attribute.
49    
50     * Tree.dis (Require): A reference to the |MURI:Generic|
51     module is added.
52     (Node.baseURI): The implementation is revised.
53     (getNodeReference): Attribute node classes specialized
54     to attribute names are supported.
55     (contentBaseURI, htmlBaseURI): Removed.
56     (manakaiEntityBaseURI): New attribute.
57     (ManakaiDOMImplementationDocument): It now inherits
58     the |urigen:URIImplementation| class.
59    
60     * DOMMain.dis (isRelativeDOMURI): The definition
61     of the URI scheme is synced with |Message::URI::Generic|'s
62     one.
63    
64     * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
65     module is added.
66     (DocumentType.implementation): New attribute.
67     (Node.baseURI): Implementations are added.
68     (manakaiDeclarationBaseURI): New attributes.
69     (manakaiEntityBaseURI): New attributes.
70     (manakaiEntityURI): New attribute.
71     (manakaiExternal): New attribute.
72     (manakaiBaseURI): New attribute.
73     (ManakaiDOMXMLBaseAttr): New class.
74    
75 wakaba 1.134 2006-02-26 Wakaba <wakaba@suika.fam.cx>
76    
77 wakaba 1.135 * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
78     module was missing.
79    
80     * ManakaiDOMLS2003.dis: Some property names was incorrect.
81    
82     * Makefile (distclean): New rule.
83    
84     2006-02-26 Wakaba <wakaba@suika.fam.cx>
85    
86     * DOMLS.dis: Removed from the CVS repository, since
87     it has been no longer required to make the |daf| system
88     itself.
89    
90     2006-02-26 Wakaba <wakaba@suika.fam.cx>
91    
92 wakaba 1.134 * Makefile: Revised for new |daf| database format.
93    
94 wakaba 1.133 2006-02-25 Wakaba <wakaba@suika.fam.cx>
95    
96     * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
97     module is added.
98    
99 wakaba 1.132 2006-02-22 Wakaba <wakaba@suika.fam.cx>
100    
101     * DOMLS.dis: Constants were typed as |dx:ErrorCode|
102     by mistake.
103    
104 wakaba 1.131 2006-02-18 Wakaba <wakaba@suika.fam.cx>
105    
106     * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
107     feature.
108    
109     * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
110    
111     * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
112     (DOMImplementationLS.createLSParser): Implemented.
113     (DOMImplementationLS.createLSInput): Revised.
114     (LSInput): Note on relationship with |GenericLS| is added.
115    
116     * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
117    
118 wakaba 1.129 2006-02-17 Wakaba <wakaba@suika.fam.cx>
119    
120 wakaba 1.130 * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
121     is introduced.
122     (async, busy): Implemented.
123     (parseString): Removed.
124     (parse, parseURI): Implemented.
125     (xp:ls-input-to-input-file): New configuration parameter.
126     (shiftChar): Gets character from current file handle
127     rather than replacement text. Don't normalize
128     line break characters for internal entities. Don't
129     throw |xp:wf-legal-literal-character| error
130     for |RestrictedChar| appearing in internal entities.
131     (DISPerl:dpgDef): Call |close| for each entity filehandler.
132     (_EntityDeclaration): Copy document URI and base URI
133     to the entity's |$decl| object.
134     (ParseError): New code fragment.
135     (getCopyOfEntityState): Creates filehandle from replacement
136     text.
137     (xp-error-lines): Don't appends text if no replacement
138     text is available.
139     (error-handler): New configuration parameter application resource.
140     (ManakaiDOMLSInputToInputFile): New class.
141     (ManakaiDOMInputFile): New class.
142    
143     * Tree.dis (getNodeReference): A dereferencing was missing.
144    
145     * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
146    
147     2006-02-17 Wakaba <wakaba@suika.fam.cx>
148    
149 wakaba 1.129 * XMLParser.dis: Default attribute are now namespace aware.
150     (parseString): Don't output |Document| warnings
151     during tree construction to standard error output.
152    
153     2006-02-16 Wakaba <wakaba@suika.fam.cx>
154    
155     * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
156     XML Namespace 1.1 is implemented. Namespace well-formedness
157     error detection is implemented. Generates |Notation| nodes
158     from notation declarations.
159     (checkNCName, checkQName): New code fragments.
160    
161     * XDoctype.dis (DocumentXDoctype): Factory methods
162     don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
163     is |false|.
164    
165     * DOMCore.dis (wf-invalid-character-in-node-name,
166     wf-invalid-character): Removed (moved to |MDOM:Tree| module).
167    
168     * Tree.dis '(wf-invalid-character-in-node-name,
169     wf-invalid-character): New errors (from |MDOM:DOMCore| module).
170     (Attr.specified): Setter added.
171     (cfg:dtd-default-attributes): New configuration parameter.
172     (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
173     if |Document.strictErrorChecking| is |false|.
174    
175 wakaba 1.127 2006-02-15 Wakaba <wakaba@suika.fam.cx>
176    
177 wakaba 1.128 * XMLParser.dis: Set |allDeclarationsProcessed|
178     attribute of the |Document| node. Don't process entity
179     and attribute definition list declarations after
180     unread parameter entity reference. Warns if an attribute definition is
181     ignored (|xp:warning-attribute-definition-ignored|). Set
182     flags whether predefined entities are declared or not.
183     WFC error |xp:wf-pes-in-internal-subset| is implemented.
184    
185     2006-02-15 Wakaba <wakaba@suika.fam.cx>
186    
187 wakaba 1.127 * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
188     if a predefined entity declaration references an external entity.
189     Issues |xp:error-malformed-predefined-entity| error if
190     a predefined entity declaration defines different thing than
191     one as in XML specification.
192     Issies |xp:warning-entity-declaration-ignored| warning if
193     more than one entity declarations for an entity is found.
194     (WFErrDef): Now all well-formedness errors are marked
195     as |SEVERITY_FATAL_ERROR|.
196    
197     * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
198     predefined entity declarations.
199     (DocumentXDoctype.createNotation): New method.
200     (DocumentTypeDefinition.notations): New attribute.
201     (DocumentTypeDefinition.getNotationNode): New method.
202     (DocumentTypeDefinition.setNotationNode): New method.
203     (newNotationForTest): New code fragment.
204    
205     * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
206     (c:ManakaiDOMNotationMap): New class.
207     (c:ManakaiDOMNotationMapArray): New class.
208     (Document.allDeclarationsProcessed): New attribute.
209    
210     * DOMXML.dis (DocumentType.notations): Implemented.
211     (Notation): Revised.
212     (Notation.ownerDocumentTypeDefinition): New attribute.
213    
214 wakaba 1.126 2006-02-14 Wakaba <wakaba@suika.fam.cx>
215    
216     * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
217     WFC errors are implemented. Reports a |xp:wf-syntax-error|
218     if a parameter entity declaration contains |NDATA| keyword.
219     (setEmptyEntityState): Set |name| attribute.
220    
221     * Tree.dis (createEntityReference): Don't enter into inifinite
222     loop even if entity replacement tree contains recursive
223     reference directly or indirectly.
224    
225 wakaba 1.124 2006-02-13 Wakaba <wakaba@suika.fam.cx>
226    
227 wakaba 1.125 * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
228     WFC error is implemented.
229    
230     2006-02-13 Wakaba <wakaba@suika.fam.cx>
231    
232 wakaba 1.124 * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
233     configuration parameter |true| during tree construction
234     to ensure default attribute value is cloned as is
235     including entity reference subtree.
236    
237     * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
238     parameter.
239     (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
240     configuration parameter support is added.
241    
242 wakaba 1.123 2006-02-12 Wakaba <wakaba@suika.fam.cx>
243    
244     * XMLParser.dis (parseString): General |Entity| replacement
245     tree is not constructed because of a typo. Clears |EntityReference|
246     content before constructing |Entity| replacement tree.
247     The |xp:wf-entity-declared| well-formedness constraint
248     for entity references in attribute value literal is implemented.
249    
250 wakaba 1.120 2006-02-11 Wakaba <wakaba@suika.fam.cx>
251    
252 wakaba 1.122 * XMLParser.dis: |xp:wf-entity-declared| well-formedness
253     constaraint for entity references that appear in
254     content of elements is implemented. Set |EntityReference.isExpanded|
255     attribute.
256     (getEmptyEntityState): New code.
257    
258     * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
259     definition is removed.
260    
261     * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
262     (EntityReference.isExpanded): Setter is added.
263    
264     2006-02-11 Wakaba <wakaba@suika.fam.cx>
265    
266 wakaba 1.121 * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
267     and |xp:wf-no-external-entity-references| well-formedness
268     constraints are implemented.
269    
270     2006-02-11 Wakaba <wakaba@suika.fam.cx>
271    
272 wakaba 1.120 * XMLParser.dis ($self->{has_error}): Removed.
273     (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
274     errors (including well-formedness constraint errors) are
275     traped by the error handler.
276     (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
277     attribute of the node. Reports an error if |publidLiteral|
278     contains a non-|pubidChar|.
279    
280     * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
281     version |3.0|).
282     (ManakaiDOMDocumentTypeDefinition): The class no longer
283     inherits |x:ManakaiDOMDocumentType| class. Instead,
284     it inherits |d:ManakaiDOMDocumentTypeDeclaration|
285     and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType|
286     interface (except unimplemented |notations| and |internalSubset|
287     attributes).
288     (ManakaiDOMDocumentTypeDefinition.entities): New attribute
289     for compatibility with |x:DocumentType| interface.
290     (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
291     (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
292     (ManakaiDOMDocumentTypeDefinition.nodeType,
293     ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
294     (DocumentTypeDeclaration): New interface.
295    
296     * Tree.dis (Node/@f:implements): Typos fixed.
297     (Node.MUErrorHandler): Missing |last A| statement is added.
298     (createDocumentType): Throws an exception if |qualifiedName|
299     is illegal. Calls |DocumentTypeDefinition.newObject|
300     instead of obsolete |DocumentType.newObject|.
301    
302     * DOMXML.dis (DocumentType.name, DocumentType.entities,
303     DocumentType.publicId, DocumentType.systemId,
304     DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
305     as clones of similar attributes or methods
306     in |MDOM:XDoctype| module.
307     (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
308     instead).
309     (DocumentType.childNodes): Removed (|Node.childNodes| definition
310     is used).
311    
312 wakaba 1.119 2006-02-10 Wakaba <wakaba@suika.fam.cx>
313    
314     * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
315     fatal error.
316    
317 wakaba 1.118 2006-02-09 Wakaba <wakaba@suika.fam.cx>
318    
319     * XMLParser.dis (CommentDeclaration): |STRING| is now
320     defined as a |?default-token|.
321     (XMLTests): Tests for |Char - RestrictedChar| matchness,
322     comment declarations, cdata sections, and |MSE| in |content|
323     added.
324     (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
325     (get-location-from-token): |$token->{location_d}|
326     for |?default-token| column counting support added.
327    
328     * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
329    
330 wakaba 1.115 2006-02-08 Wakaba <wakaba@suika.fam.cx>
331    
332 wakaba 1.117 * Tree.dis (createProcessingInstruction): Don't
333     throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
334     is |false|.
335    
336     * XMLParser.dis (parseString): Initializes |$self->{location}|.
337     It enables improved error position report.
338     (XDO): It now includes |S+| following target name |xml| as
339     part of the token. (PI with target starting with |xml|
340     was unable to be placed at the beginning of the document entity.)
341     (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
342     a processing instruction node with |#INVALID| node name
343     if target name is not given and recovered from the error.
344     (S): Variable |$s| added.
345     (XMLTests): Tests for XML declarations and processing
346     instructions are added. Prints error type name if unexpected
347     error with severity of error or fatal error has been reported.
348     Catch unexpected exceptions thrown in parser (different
349     from |LSException|), prints its message, and invoke |$test->not_ok|
350     for the ease of testing.
351     (xp:get-location-from-token): Location values now take |$self->{char}|
352     stack into acount.
353    
354     2006-02-08 Wakaba <wakaba@suika.fam.cx>
355    
356 wakaba 1.116 * XMLParser.dis (shiftChar): Line and column number counting
357     is fixed. Although the DOM Level 3 Core specification
358     is unclear about whether the first number is zero or one,
359     in most programs the first line is "one" and
360     the first column is "one", manakai follows the practice.
361     (_XMLDeclaration): Don't set |xmlStandalone| value
362     if |standalone| pseudo-attribute value is |no|. XML declaration
363     tests (successful cases) added.
364     (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
365     properties.
366    
367     2006-02-08 Wakaba <wakaba@suika.fam.cx>
368    
369 wakaba 1.115 * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
370    
371     2006-02-06 Wakaba <wakaba@suika.fam.cx>
372    
373     * DOMCore.dis (c:erred): New property.
374     (c:DOMErrorType): It should have been a subset
375     of |ecore:AnyErrorCode|.
376    
377     * XMLParser.dis (XMLTests): Empty input tests added.
378    
379 wakaba 1.114 2006-01-30 Wakaba <wakaba@suika.fam.cx>
380    
381     * XDoctype.dis (d:Feature): New canonical feature
382     name |fe:XDoctype| is added.
383    
384     * XMLParser.dis: Predefined general entity references
385     are implemented. Creates |Entity| nodes from general entities
386     declared in internal subset. |Entity| nodes created from internal
387     general parsed entities now have replacement tree.
388     Sets |cfg:entity-reference-read-only| flag off during
389     the tree generation. Some parsing rules use |$self->{doc}|
390     rather than |$doc| parameter. Similarly, |$self->{docx}| (document
391     node with |fe:XDoctype| feature) and |$self->{dtdef}| are
392     introduced. General entity references in attribute value literal
393     are supported.
394    
395 wakaba 1.112 2006-01-29 Wakaba <wakaba@suika.fam.cx>
396    
397 wakaba 1.113 * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
398     parameter name changed to |cfg:entity-reference-read-only|.
399     (createEntityReference): Set |c:read-only| flag of
400     the created entity reference, too.
401    
402     * DOMLS.dis (min): New canonical feature name |fe:Min| added.
403    
404     * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
405     from |DOMFeature| module instead. Use |idl:Object|
406     instead of |DOMMain:DOMObject| as well.
407     (Generic): New canonical feature name |fe:GenericLS| added.
408     (DOMLS:ParserRole, DOMLS:SerializerRole): Their
409     canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
410     respectively.
411    
412     * DOMXML.dis (entities, notations): Perl code removed.
413     It will be reimplemented using |DocumentTypeDefinition|
414     class from |XDoctype| module.
415    
416     * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
417     Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
418     SimpleLS.dis: Cleaned up unused definitions.
419    
420     * DOMCore.dis, DOMLS.dis (CParam): Definitions
421     for LS module moved from |DOMCore| module to |DOMLS| module.
422     This change makes |DOMCore| to |DOMLS| dependency removed.
423    
424     * .cvsignore (.html.pm, .ls.pm): Removed.
425    
426     * Makefile (.html.pm, .ls.pm): Removed.
427     (feature.dae): Include |GenericLS| module.
428     (core.dae): Don't include |DOMLS| and |GenericLS| module.
429     (ls.dae): Include |DOMLS| module.
430    
431     2006-01-29 Wakaba <wakaba@suika.fam.cx>
432    
433 wakaba 1.112 * XMLParser.dis: Tests on default attributes and their |specified|
434     attribute are added.
435    
436     * XDoctype.dis (createGeneralEntity): New method.
437     (generalEntities): New attribute.
438     (getGeneralEntityNode, setGeneralEntityNode): New methods.
439    
440     * Tree.dis (ManakaiDOMEntities): Removed.
441     (ManakaiDOMEntityMap): New class.
442     (ManakaiDOM:entity-reference-read-only): New configuration parameter.
443     (createEntityReference): If there is a corresponding |Entity|
444     node in the document type definition, then copies its
445     subtree.
446    
447     * DOMXML.dis (Entity): Documentation updated.
448     (publicId, systemId, notationName, xmlEncoding,
449     xmlVersion): These attributes are now settable
450     if |ManakaiDOM:ManakaiDOMLatest| mode.
451     (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
452     mode.
453     (ownerDocumentTypeDefinition): New attribute
454     for |ManakaiDOM:ManakaiDOMLatest| mode.
455     (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
456    
457 wakaba 1.111 2006-01-28 Wakaba <wakaba@suika.fam.cx>
458    
459     * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
460    
461     * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
462    
463     * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
464     (ManakaiDOMAttributes): Removed.
465     (ManakaiDOMAttrMap): New class.
466     (ManakaiDOMAttrMapArray): New class.
467     (namespaceURI): Bug to return a string representation
468     of a reference to the namespace URI string is fixed.
469     (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
470     (removeAttribute, removeAttributeNS): DTD default attributes
471     are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR|
472     if there is no attribute node.
473     (createElement, createElementNS): DTD default attributes are supported.
474     (setAttributeNode): Reimplemented.
475    
476 wakaba 1.110 2006-01-27 Wakaba <wakaba@suika.fam.cx>
477    
478     * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
479    
480     * Tree.dis (STORESIZE): Index bound bug fixed.
481     (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
482     (schemaTypeInfo): Implemented for XML DTD.
483     (isId): Returns |true| if [attribute type] is |ID|.
484     (setAttribute, setAttributeNS): Sets [attribute type]
485     of the newly created |Attr| node (if any) when attribute
486     definition is available.
487     (doctype, documentElement): Reimplemented with tests.
488    
489     * XMLParser.dis: Sets [attribute type] information
490     to created |Attr| nodes. Normalize namespace URIs
491     when such information are available (unlikely but legal).
492     (_HexadecimalCharacterReference): Number to character
493     convertion bug fixed.
494     (_DocumentTypeDeclaration): Sets |schema-type|
495     configuration parameter to XML DTD URI.
496    
497 wakaba 1.108 2006-01-26 Wakaba <wakaba@suika.fam.cx>
498    
499 wakaba 1.109 * XMLParser.dis (_AttlistDeclaration): Now it can generate
500     attribute definition nodes.
501    
502     * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
503     and another |UNKNOWN_ATTR| constant is introduced
504     for consistency with XML Infoset.
505    
506     * DOMCore.dis (TypeInfo): Documentation updated.
507    
508     2006-01-26 Wakaba <wakaba@suika.fam.cx>
509    
510 wakaba 1.108 * XDoctype.dis: A bug in test code fixed.
511    
512     * Tree.dis (NamedNodeMap): Element type or attribute
513     definition named node maps now can be dereferenced
514     as if they are array or hash references.
515     (removeNamedItem, item, ___report_error): Implemented for element type
516     or attribute definitions.
517     (length): Tests added.
518     (NamedNodeMapArray): New classes.
519    
520 wakaba 1.107 2006-01-25 Wakaba <wakaba@suika.fam.cx>
521    
522     * XDoctype.dis (setElementTypeDefinitionNode,
523     setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
524     if the new node is already used for another definition.
525     (DocumentTypeDefinition, ElementTypeDefinition): Node
526     property name was incorrect.
527     (elementTypes, attributeDefinitions): Checks to
528     ensure the collection is empty added.
529    
530     * Tree.dis: Property name typos fixed.
531     (setNamedItem, setAttributeNode): Don't return any node
532     if it replace itself.
533     (c:userDeterminedId): Missing definition added.
534    
535     * DOMXML.dis (Notation): Missing property specification
536     of|c:ownerDocument| as |mn:xrefnode0| is added.
537    
538 wakaba 1.106 2006-01-23 Wakaba <wakaba@suika.fam.cx>
539    
540     * DOMCore.dis (Test): Missing argument added.
541     (setNamedItem): If |DocumentType| with no |ownerDocument|,
542     addition always fails with |WRONG_DOCUMENT_ERR|. Some
543     error conditions were incorrect.
544    
545     * .cvsignore: Dummy files added.
546    
547 wakaba 1.104 2006-01-22 Wakaba <wakaba@suika.fam.cx>
548    
549 wakaba 1.105 * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
550     INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
551    
552     * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
553     to avoid uninitialized value warning.
554    
555     * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
556     classes (work in progress).
557    
558     * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
559    
560     2006-01-22 Wakaba <wakaba@suika.fam.cx>
561    
562 wakaba 1.104 * Tree.dis (getAttribute): Returns |null| if there
563     is no attribute in |ManakaiDOM:DOMLatest| for compatibility
564     with Web browser implementations.
565     (getAttributeNS): It returned |null| if there
566     is no attribute in any |For| unintentionally. It now
567     returns an empty string in DOM levels less than or equals
568     to three.
569    
570     * XMLParser.dis (shiftChar): Fixed not to be warned as
571     uninitialized value or substring out of range.
572    
573 wakaba 1.102 2006-01-21 Wakaba <wakaba@suika.fam.cx>
574    
575 wakaba 1.103 * DOMXML.dis (DocumentType.childNodes): Removed
576     from |ManakaiDOM:ManakaiDOMLatest| variant.
577    
578     * XMLParser.dis: Parsing of general internal entities implemented.
579     (_DocumentTypeDeclaration): Appends a document type definition
580     node to the document.
581     (_ProcessingInstructionDTD): Appends a processing
582     instruction node to the document type definition.
583     (Element_): Document element could not be an |EmptyElemTag|.
584    
585     2006-01-21 Wakaba <wakaba@suika.fam.cx>
586    
587 wakaba 1.102 * DOMFeature.dis (featuresParamToFeaturesHash): New block
588     code (seprated from |InputProcessor|). Now
589     a |features| parameter's version can be specified by
590     an array reference that contains a set of version
591     numbers. A test added.
592    
593     * XMLParser.dis: A test added.
594    
595 wakaba 1.100 2006-01-07 Wakaba <wakaba@suika.fam.cx>
596    
597 wakaba 1.101 * DOMCore.dis (Test): Don't invoke |DESTROY| method
598     because it does not work with dummy object used in the test code.
599    
600     2006-01-07 Wakaba <wakaba@suika.fam.cx>
601    
602 wakaba 1.100 * DOMMain.dis (checkXMLNamesQName): Checks whether
603     namespace URI is defined for not being warned.
604    
605     * XDoctype.dis: New module.
606    
607     * DOMCore.dis (DOMStringList): Test added.
608    
609     * Makefile: |XDoctype.pm| added.
610    
611     * Tree.dis (Require): Requires |XDoctype.dis|.
612     (ManakaiDOMNodeObjectNode.eq): Added.
613     (Test): |DOMError.location| must return a |DOMLocator|
614     object (it was incorrectly tested to return |null|).
615     (EmptyNodeList.DESTROY): Removed.
616    
617     2006-01-04 Wakaba <wakaba@suika.fam.cx>
618    
619     * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
620     |ATTRIBUTE_DEFINITION_NODE| node types added.
621     (appendChild, insertBefore, replaceChild): New
622     two node types added and processing instruction nodes
623     as document type definition node child is allowed
624     in |ManakaiDOM:ManakaiDOMLatest| mode.
625     (getNodeReference): New |interface| parameter
626     to filter classes by interface is added.
627     (ElementTypeDefinitionRole): New role.
628     (AttributeDefinitionRole): New role.
629    
630     2006-01-02 Wakaba <wakaba@suika.fam.cx>
631    
632     * DOMCore.dis (DOMStringList): Reimplemented as tied array.
633    
634 wakaba 1.99 2005-12-31 Wakaba <wakaba@suika.fam.cx>
635    
636     * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
637     if it is not provided.
638    
639     * XMLParser.dis: Parsing methods to skip document
640     type declaration is added.
641    
642 wakaba 1.98 2005-12-29 Wakaba <wakaba@suika.fam.cx>
643    
644     * XMLParser.dis (shiftChar): Checks characters are legal
645     or not. Normalize end-of-lines.
646     (rule _XMLDeclaration_): Implemented.
647     (WFErrDef): Well-formedness error |wf-syntax-error|,
648     |wf-pi-target-is-xml|, |wf-no-end-tag|,
649     |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
650     |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
651     |wf-element-type-match|, |wf-unique-att-spec|,
652     |wf-legal-character| added.
653     (%character-code-point): New formatter rule.
654    
655     * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
656    
657     * DOMCore.dis (DOMError.stringify): Added.
658     (error-handler.default): Returns |false| (don't continue)
659     when the error severity is |SEVERITY_FATAL_ERROR|.
660    
661 wakaba 1.96 2005-12-28 Wakaba <wakaba@suika.fam.cx>
662    
663 wakaba 1.97 * XMLParser.dis (DocumentEntity): Typos fixed.
664     (|lexmode|s): New |?default-token| statements are used
665     so that tokenizer description has been simplified
666     and CDATA sections now can be parsed.
667    
668     2005-12-28 Wakaba <wakaba@suika.fam.cx>
669    
670 wakaba 1.96 * XMLParser.dis: Some modifications made.
671    
672     2005-12-27 Wakaba <wakaba@suika.fam.cx>
673    
674     * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
675     global named resource.
676    
677     * Makefile: Rules to make |XMLParser.pm| is added.
678    
679     * XMLParser.dis: New file.
680    
681     2005-12-24 Wakaba <wakaba@suika.fam.cx>
682    
683     * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
684     message formatter can now vary by error types.
685     (DOMLocator.utf32Offset): New (manakai extended) attribute.
686    
687 wakaba 1.95 2005-12-23 Wakaba <wakaba@suika.fam.cx>
688    
689     * DOMCore.dis (DOMLocator): Implemented.
690    
691 wakaba 1.94 2005-12-21 Wakaba <wakaba@suika.fam.cx>
692    
693     * DOMCore.dis (DOMConfigurationParameterApplication,
694     domConfigurationParameter): New resources.
695    
696 wakaba 1.93 2005-11-25 Wakaba <wakaba@suika.fam.cx>
697    
698     * Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error):
699     New methods.
700    
701 wakaba 1.91 2005-11-24 Wakaba <wakaba@suika.fam.cx>
702    
703 wakaba 1.92 * DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__|
704     blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks.
705    
706     * DOMMain.dis (___report_error): Throws the error unkess
707     it is a |DOMCore:DOMError| object.
708    
709     2005-11-24 Wakaba <wakaba@suika.fam.cx>
710    
711 wakaba 1.91 * DOMCore.dis (severity, type): Getters return value from
712     the definition of the current error (i.e. |-def| hash).
713     (___error_def): New method.
714     (errorType): |dis:dataType| changed to |DISCore:TFQNames|
715     to ease natural reference to constant value.
716     (error-handler.default): Prints the error message by |warn|.
717    
718     * Tree.dis (nodeValue.set): Reimplemented so that it
719     warns as setting has no effect.
720     (___report_error): New method. (It had been only implemented
721     in superclass.)
722     (setting-node-value-no-effect): New error type.
723    
724 wakaba 1.90 2005-11-23 Wakaba <wakaba@suika.fam.cx>
725    
726     * DOMCore.dis: Error codes added.
727    
728     * Tree.dis (destroyNodeStem): New method implementation.
729    
730     2005-11-22 Wakaba <wakaba@suika.fam.cx>
731    
732     * Tree.dis (cloneNode): User data handlers implemented.
733     (adoptNode): User data handlers implemented.
734    
735     2005-11-21 Wakaba <wakaba@suika.fam.cx>
736    
737     * DOMCore.dis (UserDataHandler): A constraint for Perl binding
738     added.
739    
740     * Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
741     (getUserData, setUserData): Implemented.
742    
743 wakaba 1.88 2005-11-20 Wakaba <wakaba@suika.fam.cx>
744    
745 wakaba 1.89 * DOMCore.dis (UserDataHandler): Implemented.
746     (DOMErrorHandler): Blessed package name bug fixed.
747    
748     * ManakaiDOMLS2003.dis: Reference to |Node| subclasses
749     changed to |Tree.dis|.
750    
751     2005-11-20 Wakaba <wakaba@suika.fam.cx>
752    
753 wakaba 1.88 * DOMMain.dis: Unused declarations and definitions removed.
754    
755     * DOMCore.dis: DOM document tree related interfaces removed.
756    
757     * Tree.dis: New module separated from |DOMCore.dis|.
758    
759     * DOMXML.dis: Some referent changed to |Tree.dis|.
760    
761     * Makefile: |Tree.dis| added.
762    
763 wakaba 1.86 2005-11-16 Wakaba <wakaba@suika.fam.cx>
764    
765 wakaba 1.87 * .cvsignore: Revised.
766    
767     2005-11-16 Wakaba <wakaba@suika.fam.cx>
768    
769 wakaba 1.86 * ManakaiDOMLS2003.dis: Tests added.
770     (domConfig): Method name in the code fixed to |flag|.
771    
772     * DOMMain.dis (findOffset32): Missing |^| in regular expressions
773     added.
774    
775     * DOMCore.dis (hasChildNodes): Returns |false| if the node type
776     is defined not to have any children.
777     (CharacterData): Typos in element type names and function names fixed.
778    
779 wakaba 1.84 2005-11-15 Wakaba <wakaba@suika.fam.cx>
780    
781 wakaba 1.85 * DOMFeature.dis (MinimumImplementation.eq): Added.
782    
783     * DOMMain.dis: |DISPerl:ISA| reference fixed.
784    
785     * Generic.dis: Implements new |DOMLS:Generic| feature.
786    
787     2005-11-15 Wakaba <wakaba@suika.fam.cx>
788    
789 wakaba 1.84 * DOMFeature.dis (stringifyFeatures): Don't double |SPACE|
790     characters between feature names and versions.
791    
792     2005-11-13 Wakaba <wakaba@suika.fam.cx>
793    
794     * DOMFeature.dis (stringifyFeatures): A test code added.
795    
796 wakaba 1.83 2005-10-26 Wakaba <wakaba@suika.fam.cx>
797    
798     * SimpleLS.dis (writeToString): Don't stop serializing
799     when an |false| value appears in |@src|.
800    
801 wakaba 1.81 2005-10-16 Wakaba <wakaba@suika.fam.cx>
802    
803 wakaba 1.82 * DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented.
804     (ErrDef): Redefined.
805    
806     * DOMLS.dis (ErrDef): Redefined.
807    
808     2005-10-16 Wakaba <wakaba@suika.fam.cx>
809    
810 wakaba 1.81 * DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject".
811    
812 wakaba 1.80 2005-10-15 Wakaba <wakaba@suika.fam.cx>
813    
814     * DOMCore.dis (Require): References "DOMLS.dis" module.
815     (CParam): Definitions for LS module added.
816    
817     * DOMLS.dis (ManakaiDOMLSInput): The input processor
818     is also an output processor now.
819     (ManakaiDOMLSResourceResolver): Implemented.
820     (CParam): Definitions updated.
821    
822     2005-10-14 Wakaba <wakaba@suika.fam.cx>
823    
824     * DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR,
825     NOT_SUPPORTED_CONFIG_VALUE_ERR,
826     INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes.
827     (DOMConfiguration): Implemented.
828     (CParam): Definitions updated.
829    
830     * DOMMain.dis (DOMURIs): New data type.
831    
832 wakaba 1.79 2005-10-13 Wakaba <wakaba@suika.fam.cx>
833    
834     * DOMCore.dis (setAttrValueNS): New code.
835    
836 wakaba 1.78 2005-10-12 Wakaba <wakaba@suika.fam.cx>
837    
838     * DOMCore.dis: Don't set "infoset:prefix" internal
839     property unless it has non-null value.
840     (newObject): "refNode" parameter introduced.
841     (ManakaiDOMNode.newObject): Calls "NodeStem.newNode"
842     method if "refNode" parameter is specified.
843     (cloneNode): Don't set "read-only" flag.
844     (getNodeReference): Caches the result.
845     (selectAttributeNodeForRemove): Don't removes any other
846     non-namespace-aware attribute nodes.
847    
848 wakaba 1.77 2005-10-11 Wakaba <wakaba@suika.fam.cx>
849    
850     * DOMCore.dis (appendChild, createElementNS, createAttributeNS,
851     setAttribute, setAttributeNS): "strictErrorChecking" attribute supported.
852     (doStrictErrorChecking): New code.
853    
854     * DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute
855     supported.
856    
857     * Makefile: Rule to make "DOMFeature.pm" restored.
858    
859     2005-10-10 Wakaba <wakaba@suika.fam.cx>
860    
861     * DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
862     (adoptNode): Implemented.
863    
864 wakaba 1.76 2005-10-09 Wakaba <wakaba@suika.fam.cx>
865    
866     * DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed.
867    
868     * DOMFeature.dis (DOMCore:implementation): Short name added.
869    
870     * DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
871     (DOMCore:node): New error parameter.
872     (DOMCore:ownerDocument): Changed from "mn:irefnode0"
873     to "mn:xrefnode0". For this reason, all assignments
874     to this property have been rewritten to references
875     to code "mn:setXRefNode".
876     (cloneNode): Implemented.
877     (setAttributeNode): A missing "importTree" method call added.
878     (setAttributeNodeNS): Perl code removed and changed
879     to a reference to "setAttributeNode" method code.
880    
881     * DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0"
882     property to "mn:xrefnode0" property.
883    
884 wakaba 1.75 2005-10-08 Wakaba <wakaba@suika.fam.cx>
885    
886     * DOMCore.dis, DOMLS.dis: Now constant values are defined only
887     in interfaces.
888    
889 wakaba 1.74 2005-10-06 Wakaba <wakaba@suika.fam.cx>
890    
891     * DOMCore.dis (ManakaiDOMEmptyNodeList): New class.
892     (ManakaiDOMCharacterData): Methods reimplemented.
893     (splitText): Reimplemented.
894     (childNodes): Returns a "ManakaiDOMEmptyNodeList"
895     for non-parent node types.
896    
897     * DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList"
898     for non-parent node types.
899    
900     2005-10-05 Wakaba <wakaba@suika.fam.cx>
901    
902     * ManakaiDOMLS2003.dis: Revised to new format.
903    
904     * GenericLS.dis (DOMLS:ParseString): New feature.
905    
906 wakaba 1.73 2005-10-05 Wakaba <wakaba@suika.fam.cx>
907    
908     * DOMFeature.dis: Description added and revised. (Still more
909     work required.)
910    
911     2005-10-04 Wakaba <wakaba@suika.fam.cx>
912    
913     * DOMMain.dis (DOMString): The "idl:perl" attribute
914     value has been changed from "DISPerl:String"
915     to "DISPerl:CharacterString" to clarify its semantics.
916    
917 wakaba 1.72 2005-10-03 Wakaba <wakaba@suika.fam.cx>
918    
919     * DOMFeature.dis (MIString): Java, ECMAScript, and Perl bound
920     type properties added.
921    
922     * DOMMain.dis (DataType): Java, ECMAScript, and Perl bound
923     type properties added.
924    
925 wakaba 1.71 2005-10-02 Wakaba <wakaba@suika.fam.cx>
926    
927     * DOMFeature.dis (Module): "idl:prefix" and "idl:moduleName"
928     properties added.
929    
930 wakaba 1.70 2005-10-01 Wakaba <wakaba@suika.fam.cx>
931    
932     * DOMFeature.dis: Documentation added (still work in progress).
933     (MIString): New type.
934    
935     * DOMCore.dis (namespaceURI): Fixed to return the namespace
936     URI value, not a reference to it.
937    
938 wakaba 1.69 2005-09-30 Wakaba <wakaba@suika.fam.cx>
939    
940     * DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local
941     names where possible.
942    
943     * DOMFeature.dis: Documentation for DOM Minimum Implementation
944     added (still work in progress).
945    
946     * Makefile (feature.dae, feature-spec.dae): New rules.
947    
948 wakaba 1.67 2005-09-27 Wakaba <wakaba@suika.fam.cx>
949    
950     * DOMCore.dis (DOMCore:nodeProp): New property.
951    
952 wakaba 1.68 * DOMCore.dis, DOMXML.dis: Codes to set properties "TreeCore:*"
953     is removed.
954    
955 wakaba 1.66 2005-09-26 Wakaba <wakaba@suika.fam.cx>
956    
957     * DOMCore.dis, DOMXML.dis: New mn:* properties added.
958    
959 wakaba 1.65 2005-09-25 Wakaba <wakaba@suika.fam.cx>
960    
961     * Makefile (DAC_SUFFIX): Changed to ".dae".
962     (DAEM_SUFFIX): New.
963    
964 wakaba 1.64 2005-09-24 Wakaba <wakaba@suika.fam.cx>
965    
966     * DOMMain.dis (MDOM:): Reintroduced for "ManakaiDOM:ManakaiDOM1"
967     and "ManakaiDOM:ManakaiDOM2".
968    
969     * DOMFeature.dis, DOMMain.dis, DOMCore.dis, DOMXML.dis,
970     DOMLS.dis, SimpleLS.dis, GenericLS.dis: Use disPerl:H
971     instead of disPerl:Q for internal property hash keys.
972    
973     * DOMFeature.dis, DOMCore.dis, DOMXML.dis: Missing property
974     definitions added.
975    
976     * DOMCore.dis (DOMCore:TextNode, DOMCore:DocumentFragmentNode):
977     New resources.
978    
979     * DOMXML.dis (DOMXML:EntityNode, DOMXML:EntityReferenceNode): New
980     resources.
981    
982 wakaba 1.63 2005-09-23 Wakaba <wakaba@suika.fam.cx>
983    
984     * GenericLS.dis, SimpleLS.dis: New modules separated
985     from DOMLS.dis.
986    
987     * DOMFeature.dis, DOMMain.dis: "MDOM:" and "for" definitions
988     moved from DOMMain to DOMFeature. Now DOMFeature
989     has no dependency on DOMMain.
990    
991     * DOMFeature.dis (DEBUG): New variable.
992    
993 wakaba 1.62 2005-09-22 Wakaba <wakaba@suika.fam.cx>
994    
995     * Makefile: DAC_SUFFIX changed to ".dad".
996    
997 wakaba 1.61 2005-09-21 Wakaba <wakaba@suika.fam.cx>
998    
999     * DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion"
1000     features if it is "for" ManakaiDOM:DOMXMLFeature.
1001    
1002 wakaba 1.74 * DOMMain.pm (StringExtend): Code portions of raising
1003 wakaba 1.61 StringOutOfBoundsException is temporary disabled since
1004     it is not a DOM-style exception supported by
1005     current implementation of ManakaiNode - it will be
1006     recovered in later revision.
1007    
1008 wakaba 1.60 2005-09-20 Wakaba <wakaba@suika.fam.cx>
1009    
1010     * DOMFeature.pm: Debug output code copied
1011     from Attic/DOMMetaImpl.pm (Should these code incorporated
1012     to source dis file?).
1013    
1014 wakaba 1.59 2005-09-19 Wakaba <wakaba@suika.fam.cx>
1015    
1016     * DOMMain.dis (ManakaiDOM:DOMMethod, ManakaiDOM:DOMMethodReturn,
1017     ManakaiDOM:DOMAttribute, ManakaiDOM:DOMAttrGet,
1018     ManakaiDOM:DOMAttrSet, ManakaiDOM:DOMMethodParam): Removed.
1019     (ManakaiDOMTimeStamp): Removed.
1020    
1021     * DOMBoot.dis, DOMMetaImpl.dis, DOMMetaImpl.pm: Removed (they are no
1022     longer in use).
1023    
1024     2005-09-18 Wakaba <wakaba@suika.fam.cx>
1025    
1026     * DOMMain.dis (StringOutOfBoundsException): New exception.
1027    
1028 wakaba 1.58 2005-09-15 Wakaba <wakaba@suika.fam.cx>
1029    
1030     * DOMFeature.dis: dis:dataType and dis:multipleProperties
1031     properties added to properties.
1032    
1033 wakaba 1.57 2005-09-08 Wakaba <wakaba@suika.fam.cx>
1034    
1035     * Makefile: Rules renewaled.
1036    
1037     2005-09-07 Wakaba <wakaba@suika.fam.cx>
1038    
1039     * DOMCore.dis, DOMXML.dis, DOMLS.dis: Inheritance information fixed.
1040    
1041     2005-09-05 Wakaba <wakaba@suika.fam.cx>
1042    
1043     * DOMMain.dis (DOMImplementationRegistry,
1044     DOMImplementationRegistryVar): New.
1045    
1046     * DOMFeature.dis (DOMImplementationRegistry,
1047     DOMImplementationRegistryVar): Removed.
1048     (ImplementationRegistry): New class.
1049    
1050 wakaba 1.56 2005-09-04 Wakaba <wakaba@suika.fam.cx>
1051    
1052     * DOMFeature.dis: New module.
1053    
1054     * DOMMetaImpl.dis (ManakaiDOM:ManakaiDOMObject): Removed.
1055    
1056     * DOMMain.dis (ManakaiDOM:ManakaiDOMObject): New.
1057     (DOMString, DOMTimeStamp): Now they are not interfaces
1058     but datatypes.
1059     (DOMUserData, DOMObject, DOMUserData): Now they
1060     are subtypes rather than aliases of their "real" type in IDL.
1061    
1062     * DOMCore.dis (DOMImplementationList, DOMImplementationSource):
1063     New interfaces and classes.
1064    
1065 wakaba 1.55 2005-09-01 Wakaba <wakaba@suika.fam.cx>
1066    
1067     * DOMCore.dis (setTextNodeContent): Sets the infoset:parent
1068     property of the new Text node.
1069    
1070 wakaba 1.54 2005-08-29 Wakaba <wakaba@suika.fam.cx>
1071    
1072     * Makefile: Loads "NaturalLanguage.dis".
1073    
1074     2005-08-26 Wakaba <wakaba@suika.fam.cx>
1075    
1076     * DOMCore.dis (createDocument): Set "ownerDocument" attribute
1077     to the root element created by the method. (It was forgotten!!)
1078    
1079 wakaba 1.53 2005-08-15 Wakaba <wakaba@suika.fam.cx>
1080    
1081     * DOMCore.dis (appendChild, insertBefore, replaceChild): Typo
1082     in the code of removing the newChild from the previous
1083     parent of that node is fixed.
1084    
1085 wakaba 1.52 2005-05-29 Wakaba <wakaba@suika.fam.cx>
1086    
1087     * DOMLS.dis (SimpleSerializer): End tag was sometimes missing. Use
1088     namespace prefix of element type if it is not declared
1089     but not used else. A shift is replaced by pop:).
1090    
1091     * DOMCore.dis (getFeature): The getFeature method
1092     for Node-derived classes implemented.
1093     * DOMXML.dis (getFeature): Ditto.
1094    
1095 wakaba 1.51 2005-05-21 Wakaba <wakaba@suika.fam.cx>
1096    
1097     * DOMCore.dis (getNodeReference): Use HTMLDocument class
1098     if a document node has no document element node but
1099     has support for the "HTML" feature.
1100    
1101 wakaba 1.50 2005-03-03 Wakaba <wakaba@suika.fam.cx>
1102    
1103     * DOMMetaImpl.dis (features input normalizer): Variable name
1104     typo fixed.
1105     (ManakaiDOMImplementationSource.getDOMImplementation): Fixed bug
1106     so that version specification for "+"'ed feature name does work now.
1107    
1108 wakaba 1.49 2005-03-02 Wakaba <wakaba@suika.fam.cx>
1109    
1110     * DOMBoot.dis (ResourceDef): Definitions for DOMFeature are
1111     removed (now defined in DOMMetaImpl).
1112    
1113 wakaba 1.48 2005-02-21 Wakaba <wakaba@suika.fam.cx>
1114    
1115     * DOMMetaImpl.dis (IFClsDef[ManakaiDOMMinimumImplementation]): New.
1116    
1117     * Makefile: Rules for DOMMetaImpl module added.
1118    
1119 wakaba 1.47 2005-02-20 Wakaba <wakaba@suika.fam.cx>
1120    
1121     * DOMMetaImpl.dis: New module (split from DOMCore and DOMMain).
1122    
1123 wakaba 1.45 2005-02-18 Wakaba <wakaba@suika.fam.cx>
1124    
1125 wakaba 1.46 * DOMCore.dis (getFeature): ManakaiDOM:ManakaiDOMNodeObject.newReference
1126     is an instance method, not a class method.
1127    
1128 wakaba 1.45 * DOMMain.dis (ResourceTypeDef[ManakaiDOM:Const,
1129     ManakaiDOM:ConstGroup]): Removed (moved to "lib/manakai/DISLang.dis").
1130     (Exception-related definitions): Removed (moved to
1131     "lib/Message/Util/Error/DOMException.dis").
1132     (ForDef[ManakaiDOM:ForIF, ManakaiDOM:ForClass]): Removed (moved
1133     to DISLang).
1134    
1135     2005-02-17 Wakaba <wakaba@suika.fam.cx>
1136    
1137     * DOMMain.dis: Definitions for "ManakaiDOM:ManakaiDOMNodeObject" and
1138     "ManakaiDOM:ManakaiDOMNodeReference" are removed (moved to
1139     "lib/Message/Util/ManakaiNode.dis").
1140     (ResourceDef[ManakaiDOM:DataType]): Removed (moved to
1141     "lib/manakai/DISCore.dis").
1142     (ResourceTypeDef[ManakaiDOM:IF, ManakaiDOM:Class,
1143     ManakaiDOM:PrimitiveTypeClass]): Removed (moved to
1144     "lib/manakai/DISLang.dis").
1145    
1146     2005-02-16 Wakaba <wakaba@suika.fam.cx>
1147    
1148     * DOMMain.dis (ForDef[ManakaiDOM:Perl]): Removed (moved to
1149     DISPerl module).
1150    
1151 wakaba 1.44 2005-01-07 Wakaba <wakaba@suika.fam.cx>
1152    
1153     * DOMCore.dis: Each "delete array-item" replaced to a "splice".
1154    
1155 wakaba 1.43 2005-01-06 Wakaba <wakaba@suika.fam.cx>
1156    
1157     * DOMMain.dis (ensureXMLName): Test as if XML 1.0 if it is not an
1158     XML document.
1159    
1160 wakaba 1.42 2005-01-05 Wakaba <wakaba@suika.fam.cx>
1161    
1162     * DOMMain.dis (ManakaiDOMExceptionOrWarning.stringify): New method.
1163     (IntMethod[isExternallyReferred]): Rewritten.
1164     (IntMethod[isExternallyReferredDownward]): Removed.
1165     (Checking XML name legallity): Fix true or false mistakes.
1166     (destroy, importTree, orphanate): Rewritten.
1167     (destroyDownward, changeTreeIDDownward): Removed.
1168     (TreeCore:urefnode property): Removed since not used.
1169    
1170     * DOMCore.dis: Tying array for NodeList implemented.
1171    
1172     2005-01-02 Wakaba <wakaba@suika.fam.cx>
1173    
1174     * DOMHTML.dis (HTMLDOMImplementation): New interface.
1175    
1176     * DOMViews.dis: Documentation for properties are added.
1177    
1178 wakaba 1.40 2004-12-29 Wakaba <wakaba@suika.fam.cx>
1179    
1180 wakaba 1.41 * Makefile: DOMXML, DOMEvents, DOMLS and ManakaiDOMLS2003 added.
1181    
1182 wakaba 1.40 * ManakaiDOMCore.dis: Removed (merged with DOMCore.dis).
1183    
1184 wakaba 1.39 2004-12-28 Wakaba <wakaba@suika.fam.cx>
1185    
1186     * ManakaiDOMXML.dis: Removed (merged with DOMXML.dis).
1187    
1188 wakaba 1.38 2004-12-01 Wakaba <wakaba@suika.fam.cx>
1189    
1190     * ManakaiDOMMain.dis: Removed (merged with DOMMain.dis).
1191    
1192 wakaba 1.37 2004-11-03 Wakaba <wakaba@suika.fam.cx>
1193    
1194     * .cvsignore: Ignore pod files.
1195    
1196 wakaba 1.36 2004-10-31 Wakaba <wakaba@suika.fam.cx>
1197    
1198     * DOMXML.dis (ProcessingInstruction.data): Property name error fixed.
1199    
1200     * DOMMain.dis: Don't call DOMString->__INT{length}__ - it should
1201     be DOMString->length.
1202    
1203     * DOMCore.dis (Element.getElementsByTagName,
1204     Node.getElementsByTagName, Element.getElementsByTagNameNS,
1205     Node.getElementsByTagNameNS): Implemented.
1206     (Element.getAttributeNode, Element.getAttributeNodeNS):
1207     Check whether defined.
1208    
1209 wakaba 1.35 2004-10-18 Wakaba <wakaba@suika.fam.cx>
1210    
1211     * DOMWebForms.dis: New module.
1212    
1213 wakaba 1.33 2004-10-17 Wakaba <wakaba@suika.fam.cx>
1214    
1215 wakaba 1.34 * DOMBasicEvents.dis, DOMHTMLEvents.dis, DOMViews.dis,
1216     DOMHTML.dis: New modules.
1217 wakaba 1.33
1218 wakaba 1.32 2004-10-16 Wakaba <wakaba@suika.fam.cx>
1219    
1220     * DOMMouseEvents.dis, DOMTextEvents.dis: New module.
1221    
1222 wakaba 1.30 2004-10-11 Wakaba <wakaba@suika.fam.cx>
1223    
1224     * ManakaiDOMMain.dis: 'TreeCore:anydata2' property type added.
1225 wakaba 1.31 (DataType[ManakaiDOMKeyIdentifier, ManakaiDOMKeyIdentifiers]): added.
1226 wakaba 1.30
1227 wakaba 1.28 2004-10-10 Wakaba <wakaba@suika.fam.cx>
1228 wakaba 1.30
1229     * DOMEvents.dis: New module.
1230 wakaba 1.28
1231 wakaba 1.29 * ManakaiDOMCore.dis (ManakaiDOMAttributes.item): Return
1232     node reference.
1233    
1234     * ManakaiDOMLS2003.dis (error_handler): '$caller' changed
1235     to '$self' for correct error reporting and not to leak memory.
1236    
1237 wakaba 1.28 * Makefile (DIS2PM_PL): Path to dis2pm.pl changed.
1238     * dis2pm.pl, idl2dis.pl: Removed (moved to ../../bin/).
1239    
1240 wakaba 1.26 2004-10-09 Wakaba <wakaba@suika.fam.cx>
1241    
1242 wakaba 1.28 * DOMCore.dis (ConfigParam): Moved from ManakaiDOMCore.
1243     * ManakaiDOMCore.dis (ConfigParam): Removed.
1244    
1245 wakaba 1.27 * dis2pm.pl: Functions to create perl/pod structures
1246     are moved to ../../bin/genlib.pl.
1247 wakaba 1.28 (disdoc2pod, disdoc2text): Allow LESS-THAN SIGN as the first
1248     character of a paragraph.
1249 wakaba 1.27
1250 wakaba 1.26 * ManakaiDOMLS2003.dis (ManakaiXMLParser2003/parse:#comment):
1251     Set ownerDocument as parent if parent.ownerDocument is null.
1252    
1253     * dis2pm.pl (dis2perl): Report if DIS code has value.
1254    
1255     2004-10-06 Wakaba <wakaba@suika.fam.cx>
1256    
1257     * ManakaiDOMCore.dis (IFs): Inherit non-conditional version
1258     of ManakaiDOMMain interfaces.
1259    
1260     * DOMCore.dis (Node.childNodes): Typo fixed.
1261    
1262     * ManakaiDOMLS2003.dis (parse): Check whether the namespace
1263     prefix is null.
1264    
1265     * dis2pm.pl (perl_builtin_code): Allow hash reference as 'features'.
1266     (Condition): Don't generate condition inheritance for DOM1, DOM2
1267     and DOM3.
1268    
1269 wakaba 1.25 2004-09-30 Wakaba <wakaba@suika.fam.cx>
1270    
1271     * dis2pm.pl (disdoc_inline2pod, disdoc_inline2text): New
1272     element type 'FILE' added.
1273    
1274     * ManakaiDOMMain.dis (ManakaiDOMExceptionOrWarning,
1275     ManakaiDOMException, ManakaiDOMWarning): New classes.
1276     (ManakaiDOMObject/___report_error): Implemented.
1277    
1278     * dis2pm.pl (perl_builtin_code:ParseFeature): Recognize leading '+'.
1279    
1280 wakaba 1.24 2004-09-29 Wakaba <wakaba@suika.fam.cx>
1281    
1282     * dis2pm.pl (get_redef_description, attr2perl, method2perl, if2perl):
1283     New attribute 'IsAbstract', 'IsFinal' and 'ImplByApp' added.
1284    
1285     2004-09-27 Wakaba <wakaba@suika.fam.cx>
1286    
1287     * .cvsignore: New file.
1288    
1289 wakaba 1.22 2004-09-27 Wakaba <wakaba@suika.fam.cx>
1290    
1291 wakaba 1.23 * DOMLS.dis, ManakaiDOMLS2003: New file.
1292    
1293 wakaba 1.22 * dis2pm.pl (MAIN): Output "AUTHOR" pod section; support Perl+MPL
1294     license.
1295 wakaba 1.23 (disdoc2pod, disdoc2text): New 'DFN', 'SA', 'SE', 'HA', 'HE',
1296     'XA', 'XE', 'Prefix', 'ERR', 'EV' and 'CP' element types supported.
1297     (perl_name): Die if uninitialized value.
1298     (constgroup2perl): Support constant group without machine-name.
1299     (pod_item): Die if uninitialized value.
1300     (qname_label): Don't output default prefix.
1301 wakaba 1.22
1302     * idl2dis.pl: Output module name and prefix as 'BindingName'
1303     and 'FileName'.
1304    
1305 wakaba 1.20 2004-09-26 Wakaba <wakaba@suika.fam.cx>
1306    
1307 wakaba 1.21 * dis2pm.pl (constgroup2perl): Capitalize name.
1308    
1309     * idl2dis.pl (type, raise): Prepend namespace prefix if
1310     type is 'DOMString' or 'DOMException' and it is not defined.
1311     (MAIN): Make empty 'Return' element even if return
1312     value is void.
1313     (supply_incase): New.
1314     (const): Use 'FullName' in favor of 'Description' if the name of
1315     the const group is not a machine-friendly name.
1316    
1317     2004-09-26 Wakaba <wakaba@suika.fam.cx>
1318    
1319 wakaba 1.20 * dis2pm.pl (get_incase_label): Error if label is undef.
1320    
1321 wakaba 1.19 2004-09-25 Wakaba <wakaba@suika.fam.cx>
1322    
1323     * dis2pm.pl: Generate TODO list.
1324     (method2perl): Use "dis".
1325     (disdoc2pod, disdoc2text): 'HTML', 'InfosetP' element types added.
1326     (perl_builtin_code): New code 'isRelativeDOMURI' added.
1327    
1328     * ManakaiDOMMain.dis (MDOM_REPLACE_BY_ITSELF_NO_EFFECT): New
1329     warning code.
1330    
1331     * dis2pm.pl (attr2perl, method2perl): Output 'undef;' if the
1332     method or attribute(set) does not return a value.
1333     (perl_code): New macro 'WHEN' added. Macro 'INT{}' now allow
1334     parameter.
1335    
1336 wakaba 1.18 2004-09-24 Wakaba <wakaba@suika.fam.cx>
1337    
1338     * dis2pm.pl (perl_exception): New 'subtype' parameter added.
1339     (param2poditem): New.
1340     (MAIN): Write 'NAMESPACE BINDINGS' pod section if necessary.
1341     (perl_builtin_code): More developer-friendly error report.
1342     (perl_code): New 'REQUIRE' statement added.
1343     (disdoc2text, disdoc2pod): New 'QUOTE' element type added.
1344     (get_value_literal): Default for unknown type is now 'undef'.
1345    
1346     2004-09-22 Wakaba <wakaba@suika.fam.cx>
1347    
1348     * dis2pm.pl (perl_builtin_code): New 'CheckName' and
1349     'XMLVersion' added.
1350    
1351 wakaba 1.16 2004-09-20 Wakaba <wakaba@suika.fam.cx>
1352    
1353 wakaba 1.17 * dis2pm.pl (get_redef_description): See 'RedefinedBy' elements
1354     even if it is 'ReMethod' and 'ReAttr' element.
1355    
1356     2004-09-20 Wakaba <wakaba@suika.fam.cx>
1357    
1358 wakaba 1.16 * dis2pm.pl (type_label): New option 'is_pod' implemented.
1359     (get_redef_description): New function.
1360     (get_isa_description): New function.
1361     (disdoc2pod, disdoc2text): New.
1362     (get_description): DISDOC support.
1363     (valid_err, valid_err): New option 'node' implemented.
1364    
1365     * ManakaiDOMCore.dis (IF[ManakaiDOMNodeObjectNode]): New.
1366    
1367 wakaba 1.13 2004-09-19 Wakaba <wakaba@suika.fam.cx>
1368    
1369 wakaba 1.15 * dis2pm.pl (condition_match): Report error if the condition
1370     not defined.
1371    
1372     * ManakaiDOMMain.dis (MDOM_IMPL_BY_APP): New exception code.
1373    
1374 wakaba 1.14 * dis2pm.pl (datatype2perl, datatypealias2perl): "FullName" attribute
1375     introduced.
1376 wakaba 1.15 (constgroup2perl): Define is-a relationship between group
1377     Name and its Type.
1378     (constgroup2perl): "IsBitMask" attribute introduced.
1379 wakaba 1.14
1380     * ManakaiDOMMain.dis: Renamed from "ManakaiDOM.dis".
1381    
1382 wakaba 1.13 * dis2pm.pl (type_label): Type label for unsigned-long and
1383     unsigned-short added.
1384     (perl_code): Die if uninitialized value is given.
1385     (is_all_implemented): New function.
1386    
1387     * ManakaiDOMXML.dis: New module.
1388    
1389     * ManakaiDOMCore.dis: New module.
1390    
1391     * dis2pm.pl (dis2perl): 'Overridden' added.
1392    
1393 wakaba 1.12 2004-09-18 Wakaba <wakaba@suika.fam.cx>
1394    
1395     * ManakaiDOM.dis (MDOM_NEWCHILD_IS_REFCHILD): New warning.
1396     (ManakaiDOMNodeObject->orphanate): New internal method.
1397     (Interface[ManakaiDOMNodeObject, ManakaiDOMNodeReference]): All calls
1398     of internal methods are now qualified by the package name.
1399    
1400 wakaba 1.11 2004-09-17 Wakaba <wakaba@suika.fam.cx>
1401    
1402     * DOMMain.dis: 'SpecLevel' attribute added.
1403    
1404     * idl2dis.pl (level): Set 'SpecLevel' attribute as well as 'Level'.
1405    
1406     * dis2pm.pl (get_level_description): Attribute name to see is
1407     changed from 'Level' to 'SpecLevel'
1408     (const2perl): Don't hardlink constant not to be warned
1409     by perl -w.
1410     (ops2perl): Declare subroutine 'DESTROY' not to be warned by
1411     perl -w.
1412 wakaba 1.12 (get_internal_code): Support of lang:dis.
1413 wakaba 1.11
1414     * ManakaiDOM.dis (newReference): New parameter 'class' introduced.
1415    
1416     * dis2pm.pl (perl_builtin_code:<ManakaiDOM:ManakaiDOMNamespaceURI>):
1417     Separeted from "DOMString".
1418     (if2perl, attr2perl): Don't cast to DOMString.
1419    
1420 wakaba 1.10 2004-09-15 Wakaba <wakaba@suika.fam.cx>
1421    
1422     * dis2pm.pl (perl_builtin_code): __CODE{CheckNCName}__ implemented.
1423     (perl_if): Don't indent if preprocessing direction found.
1424     (perl_code_source): Add \n before the #line directive.
1425    
1426     2004-09-14 Wakaba <wakaba@suika.fam.cx>
1427    
1428     * dis2pm.pl (get_internal_code): __INT{{name}}__ syntax now support
1429     attribute.
1430     (perl_code): __SUPER{name}__ syntax implemented.
1431    
1432 wakaba 1.9 2004-09-13 Wakaba <wakaba@suika.fam.cx>
1433    
1434     * dis2pm.pl (dis2perl): New.
1435    
1436     2004-09-12 Wakaba <wakaba@suika.fam.cx>
1437    
1438     * dis2pm.pl (get_warning_perl_code): New.
1439    
1440 wakaba 1.8 2004-09-10 Wakaba <wakaba@suika.fam.cx>
1441    
1442     * ManakaiDOM.dis (MDOM_NS_EMPTY_URI): New Exception type.
1443     (ManakaiDOMNamespaceURI): New DataType.
1444    
1445     * DOMCore.dis: Most part of DOMImplementation interface is
1446     implemented.
1447    
1448     * dis2pm.pl (method2perl): Description for returned value
1449     is changed to be grouped.
1450     (get_value_literal): Don't quote "null" even if it is a DOMString.
1451     (perl_exception): Don't output terminating semicolon.
1452     (perl_builtin_code): ManakaiDOM:ManakaiDOMNamespaceURI is
1453     supported.
1454    
1455 wakaba 1.7 2004-09-09 Wakaba <wakaba@suika.fam.cx>
1456 wakaba 1.8
1457     * dis2pm.pl (method2perl, attr2perl): '(Return | Get | Set)/Exception'
1458     implemented.
1459 wakaba 1.7
1460     * idl2dis.pl (type): Don't output Require element for
1461     DOMMain module (now it is implicitly required by default).
1462    
1463 wakaba 1.6 2004-09-01 Wakaba <wakaba@suika.fam.cx>
1464    
1465     * idl2dis.pl (level): Use 'Level' instead of 'ModifiedLevel'.
1466    
1467 wakaba 1.5 2004-08-31 Wakaba <wakaba@suika.fam.cx>
1468    
1469     * dis2pm.pl (const2perl, constgroup2perl): New.
1470    
1471     * idl2dis.pl (idlna): New.
1472    
1473 wakaba 1.4 2004-08-30 Wakaba <wakaba@suika.fam.cx>
1474    
1475     * dis2pm.pl: Versioned implementation of "IF" supported (see
1476     also Manakai Development Memo : 2004-08-29
1477     <http://suika.fam.cx/~wakaba/-temp/wiki/wiki?manakai%2F%2F%A5%E1%A5%E2%2F%2F2004-08-29>).
1478    
1479     * idl2dis.pl (register_required_module): ISA is now
1480     converted to elements, not a list attribute.
1481    
1482 wakaba 1.2 2004-08-22 Wakaba <wakaba@suika.fam.cx>
1483    
1484 wakaba 1.3 * idl2dis.pl (register_required_module): Top-level element type
1485     name "Type" and "TypeAlias" changed to "DataType" and
1486     "DataTypeAlias".
1487    
1488 wakaba 1.2 * dis2pm.pl (perl_code_source): New function.
1489    
1490 wakaba 1.1 2004-08-21 Wakaba <wakaba@suika.fam.cx>
1491    
1492     * ChangeLog: New file.
1493    
1494     * Makefile, DOMMain.dis, DOMCore.dis, DOMXML.dis, dis2pm.pl, idl2dis.pl:
1495     New files (Moved from ../Markup/XML/DOM/).
1496    
1497    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24