/[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.130 - (hide annotations) (download)
Fri Feb 17 15:06:33 2006 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.129: +29 -0 lines
++ ChangeLog	17 Feb 2006 14:56:57 -0000
2006-02-17  Wakaba  <wakaba@suika.fam.cx>

	* Makefile.PL (PREREQ_PM): The |IO::String| module is added.

++ manakai/lib/Message/DOM/ChangeLog	17 Feb 2006 15:06:17 -0000
	* XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
	is introduced.
	(async, busy): Implemented.
	(parseString): Removed.
	(parse, parseURI): Implemented.
	(xp:ls-input-to-input-file): New configuration parameter.
	(shiftChar): Gets character from current file handle
	rather than replacement text.  Don't normalize
	line break characters for internal entities.  Don't
	throw |xp:wf-legal-literal-character| error
	for |RestrictedChar| appearing in internal entities.
	(DISPerl:dpgDef): Call |close| for each entity filehandler.
	(_EntityDeclaration): Copy document URI and base URI
	to the entity's |$decl| object.
	(ParseError): New code fragment.
	(getCopyOfEntityState): Creates filehandle from replacement
	text.
	(xp-error-lines): Don't appends text if no replacement
	text is available.
	(error-handler): New configuration parameter application resource.
	(ManakaiDOMLSInputToInputFile): New class.
	(ManakaiDOMInputFile): New class.

	* Tree.dis (getNodeReference): A dereferencing was missing.

	* DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.

2006-02-17  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24